/* ===================================================
   CASA BENDITTA — Estilos do Visualizador de IA
   =================================================== */

/* ── HERO DO VISUALIZADOR ── */
.viz-hero {
  padding: 140px 24px 60px;
  background: linear-gradient(135deg, var(--green-dark) 0%, #1e332a 100%);
  color: var(--cream);
  text-align: center;
  position: relative;
}
.viz-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('images/hero.png') center/cover no-repeat;
  opacity: 0.15;
  mix-blend-mode: overlay;
}
.viz-hero-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.viz-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201, 169, 110, 0.15);
  border: 1px solid rgba(201, 169, 110, 0.3);
  color: #c9a96e;
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.viz-hero-title {
  font-family: var(--font-serif);
  font-size: 48px;
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 16px;
}
.viz-hero-title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: #c9a96e;
}
.viz-hero-desc {
  font-size: 16px;
  color: rgba(250, 247, 242, 0.8);
  max-width: 600px;
  margin: 0 auto;
}

/* ── PROGRESS BAR ── */
.viz-wizard {
  padding: 60px 0 100px;
  background: var(--cream);
  min-height: 600px;
}
.wizard-progress {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 700px;
  margin: 0 auto 60px;
  position: relative;
  padding: 0 20px;
}
.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 5;
  cursor: pointer;
}
.step-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--beige-mid);
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 16px;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.step-label {
  margin-top: 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-light);
  transition: var(--transition);
  white-space: nowrap;
}
.progress-line {
  flex-grow: 1;
  height: 2px;
  background: var(--beige-mid);
  margin: 0 16px;
  transform: translateY(-16px);
  position: relative;
}
.progress-fill {
  width: 0%;
  height: 100%;
  background: var(--terracotta);
  transition: width var(--transition);
}
.progress-step.active .step-circle {
  border-color: var(--terracotta);
  background: var(--terracotta);
  color: var(--white);
  box-shadow: 0 0 0 6px rgba(181, 112, 74, 0.15);
}
.progress-step.active .step-label {
  color: var(--text-dark);
  font-weight: 600;
}
.progress-step.completed .step-circle {
  border-color: var(--green-dark);
  background: var(--green-dark);
  color: var(--white);
}
.progress-step.completed .step-label {
  color: var(--green-dark);
}

/* ── STEP CONTAINERS ── */
.wizard-step {
  display: none;
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.wizard-step.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}
.step-header {
  text-align: center;
  margin-bottom: 40px;
}
.step-header h2 {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 400;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.step-header p {
  color: var(--text-mid);
  font-size: 15px;
}

/* ── STEP 1: PRODUCT GRID ── */
.viz-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}
.viz-prod-card {
  background: var(--white);
  border: 1px solid var(--beige);
  border-radius: var(--radius-md);
  padding: 16px;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.viz-prod-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--beige-mid);
}
.viz-prod-card.selected {
  border-color: var(--terracotta);
  background: rgba(181, 112, 74, 0.02);
  box-shadow: 0 0 0 2px var(--terracotta);
}
.viz-prod-img-wrap {
  width: 100%;
  aspect-ratio: 1;
  background: var(--off-white);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.viz-prod-img-wrap img {
  width: 90%;
  height: 90%;
  object-fit: contain;
  transition: transform var(--transition);
}
.viz-prod-card:hover .viz-prod-img-wrap img {
  transform: scale(1.05);
}
.viz-prod-name {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 500;
  color: var(--text-dark);
  text-align: center;
  margin-bottom: 6px;
}
.viz-prod-price {
  font-size: 14px;
  font-weight: 500;
  color: var(--terracotta);
}
.viz-prod-badge {
  position: absolute;
  top: 12px; right: 12px;
  background: var(--terracotta);
  color: var(--white);
  width: 24px; height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  opacity: 0;
  transform: scale(0.6);
  transition: var(--transition);
}
.viz-prod-card.selected .viz-prod-badge {
  opacity: 1;
  transform: scale(1);
}

/* ── STEP 2: UPLOAD LAYOUT ── */
.step2-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto 40px;
  align-items: start;
}
.selected-product-card {
  background: var(--white);
  border: 1px solid var(--beige);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 100px;
}
.sel-prod-img {
  width: 140px;
  height: 140px;
  background: var(--off-white);
  border-radius: var(--radius-sm);
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.sel-prod-img img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
}
.sel-prod-info {
  margin-bottom: 20px;
}
.sel-prod-label {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--text-light);
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 4px;
}
.sel-prod-info h4 {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 4px;
}
.sel-prod-info span {
  font-size: 15px;
  color: var(--terracotta);
  font-weight: 500;
}
.sel-prod-change {
  background: none;
  border: 1px solid var(--beige-mid);
  color: var(--text-mid);
  font-family: var(--font-sans);
  font-size: 13px;
  padding: 8px 16px;
  border-radius: 20px;
  cursor: pointer;
  transition: var(--transition-fast);
}
.sel-prod-change:hover {
  border-color: var(--terracotta);
  color: var(--terracotta);
  background: rgba(181, 112, 74, 0.02);
}

.upload-zone {
  background: var(--white);
  border: 2px dashed var(--beige-mid);
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.upload-zone:hover, .upload-zone.dragover {
  border-color: var(--terracotta);
  background: rgba(181, 112, 74, 0.01);
}
.upload-zone-content {
  transition: var(--transition);
}
.upload-icon {
  color: var(--text-light);
  margin-bottom: 16px;
  transition: var(--transition);
}
.upload-zone:hover .upload-icon {
  color: var(--terracotta);
  transform: translateY(-4px);
}
.upload-zone h3 {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 400;
  color: var(--text-dark);
  margin-bottom: 6px;
}
.upload-zone p {
  color: var(--text-light);
  font-size: 14px;
  margin-bottom: 24px;
}
.upload-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-upload {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green-dark);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  padding: 12px 20px;
  border-radius: 30px;
  cursor: pointer;
  transition: var(--transition-fast);
}
.btn-upload:hover {
  background: var(--green-mid);
}
.btn-camera {
  background: var(--white);
  border: 1px solid var(--beige-mid);
  color: var(--text-dark);
}
.btn-camera:hover {
  background: var(--off-white);
}

.upload-preview {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
}
.upload-preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.preview-remove {
  position: absolute;
  top: 16px; right: 16px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(42, 31, 20, 0.8);
  border: none;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
  z-index: 10;
}
.preview-remove:hover {
  background: var(--terracotta);
  transform: scale(1.1);
}

.upload-tips {
  grid-column: 2;
  margin-top: 16px;
  padding: 20px;
  background: rgba(232, 223, 208, 0.25);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--terracotta);
}
.upload-tips h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.upload-tips ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.upload-tips li {
  font-size: 13px;
  color: var(--text-mid);
  display: flex;
  align-items: center;
  gap: 6px;
}
.upload-tips li::before {
  content: '🌿';
  font-size: 10px;
}

/* ── STEP ACTIONS ── */
.step-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1000px;
  margin: 40px auto 0;
  border-top: 1px solid var(--beige);
  padding-top: 30px;
}
.btn-step-next, .btn-step-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  padding: 14px 28px;
  border-radius: 30px;
  cursor: pointer;
  border: none;
  transition: var(--transition-fast);
}
.btn-step-back {
  background: var(--white);
  border: 1px solid var(--beige-mid);
  color: var(--text-mid);
}
.btn-step-back:hover {
  background: var(--off-white);
  color: var(--text-dark);
}
.btn-step-next {
  background: var(--terracotta);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(181, 112, 74, 0.2);
}
.btn-step-next:hover:not(:disabled) {
  background: var(--terra-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(181, 112, 74, 0.3);
}
.btn-step-next:disabled {
  background: var(--beige-mid);
  color: rgba(255, 255, 255, 0.6);
  cursor: not-allowed;
  box-shadow: none;
}
.btn-generate {
  background: var(--green-dark);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(45, 74, 62, 0.2);
}
.btn-generate:hover:not(:disabled) {
  background: var(--green-mid);
  box-shadow: 0 6px 20px rgba(45, 74, 62, 0.3);
}

/* ── STEP 3: LOADING ── */
.viz-loading {
  max-width: 500px;
  margin: 80px auto;
  text-align: center;
}
.loading-animation {
  position: relative;
  width: 100px;
  height: 100px;
  margin: 0 auto 30px;
}
.loading-orb {
  width: 50px;
  height: 50px;
  background: var(--terracotta);
  border-radius: 50%;
  position: absolute;
  top: 25px; left: 25px;
  animation: pulseOrb 2s infinite ease-in-out;
  box-shadow: 0 0 24px var(--terracotta);
}
.loading-ring {
  width: 100px;
  height: 100px;
  border: 2px solid transparent;
  border-top-color: var(--green-light);
  border-bottom-color: var(--green-light);
  border-radius: 50%;
  position: absolute;
  top: 0; left: 0;
  animation: rotateRing 1.5s infinite linear;
}
@keyframes pulseOrb {
  0%, 100% { transform: scale(0.7); opacity: 0.6; }
  50% { transform: scale(1.1); opacity: 1; filter: brightness(1.2); }
}
@keyframes rotateRing {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
.viz-loading h3 {
  font-family: var(--font-serif);
  font-size: 24px;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.viz-loading p {
  color: var(--text-light);
  font-size: 14px;
  margin-bottom: 24px;
}
.loading-bar {
  height: 4px;
  background: var(--beige);
  border-radius: 2px;
  overflow: hidden;
  max-width: 300px;
  margin: 0 auto;
}
.loading-bar-fill {
  width: 0%;
  height: 100%;
  background: var(--terracotta);
  transition: width 0.3s ease;
}

/* ── STEP 3: WORKSPACE & INTERACTIVE EDITOR ── */
.viz-result {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* Editor Workspace Styling */
.viz-editor-workspace {
  background: var(--white);
  border: 1px solid var(--beige);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-md);
}
.editor-instructions {
  text-align: center;
  font-size: 14px;
  color: var(--text-mid);
  margin-bottom: 16px;
}
.editor-canvas-container {
  position: relative;
  width: 100%;
  max-height: 550px;
  aspect-ratio: 16/10;
  background: #111;
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  touch-action: none;
  box-shadow: inset 0 0 40px rgba(0,0,0,0.6);
}
.editor-bg-photo {
  max-width: 100%;
  max-height: 100%;
  width: 100%;
  height: 100%;
  object-fit: contain;
  user-select: none;
  pointer-events: none;
}
.editor-product-overlay {
  position: absolute;
  cursor: move;
  cursor: grab;
  user-select: none;
  touch-action: none;
  z-index: 10;
  display: inline-block;
  padding: 6px;
  border: 1px dashed transparent;
  transition: border-color 0.2s ease;
}
.editor-product-overlay:hover, .editor-product-overlay.dragging {
  border-color: rgba(255, 255, 255, 0.4);
}
.editor-product-overlay:active {
  cursor: grabbing;
}
.editor-product-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  user-select: none;
  pointer-events: none;
}

/* Handles for rotation/resize directly on overlay */
.overlay-handle {
  position: absolute;
  width: 20px;
  height: 20px;
  background: var(--white);
  border: 2px solid var(--terracotta);
  border-radius: 50%;
  z-index: 12;
  display: none;
  cursor: nesw-resize;
  box-shadow: var(--shadow-sm);
}
.overlay-handle-rotate {
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--green-dark);
  border: 2px solid var(--white);
  color: var(--white);
  display: none;
  align-items: center;
  justify-content: center;
  cursor: grab;
  font-size: 10px;
}
.editor-product-overlay.active-edit .overlay-handle,
.editor-product-overlay.active-edit .overlay-handle-rotate {
  display: flex;
}

/* Tool Panel / Control Panel */
.editor-controls-panel {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--off-white);
}
.controls-title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 16px;
  color: var(--text-dark);
  text-align: center;
}
.sliders-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 32px;
}
.control-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.control-group-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-mid);
}
.control-value {
  color: var(--terracotta);
  font-weight: 600;
}
.slider-input {
  -webkit-appearance: none;
  width: 100%;
  height: 5px;
  border-radius: 3px;
  background: var(--beige);
  outline: none;
  transition: background 0.15s ease;
}
.slider-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--terracotta);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform 0.1s ease;
}
.slider-input::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.editor-action-btn-wrap {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
}
.btn-editor-apply {
  background: var(--green-dark);
  color: var(--white);
  border: none;
  font-family: var(--font-sans);
  font-weight: 500;
  padding: 12px 32px;
  border-radius: 30px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
}
.btn-editor-apply:hover {
  background: var(--green-mid);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* ── BEFORE / AFTER SLIDER ── */
.compare-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
  background: var(--off-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  touch-action: none;
  user-select: none;
}
.compare-before, .compare-after {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  overflow: hidden;
  user-select: none;
}
.compare-before img, .compare-after-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.compare-after {
  width: 50%; /* Inicial em 50% */
  border-right: 1px solid rgba(255,255,255,0.2);
  z-index: 2;
  transition: width 0.05s ease-out;
}
/* Container do duplicate do background no 'depois' */
.compare-after-img-wrap {
  width: 100%;
  height: 100%;
  position: relative;
}
/* O produto posicionado no slider de resultado final */
.compare-product-placed {
  position: absolute;
  pointer-events: none;
  user-select: none;
}

.compare-label {
  position: absolute;
  bottom: 20px;
  padding: 6px 14px;
  background: rgba(42, 31, 20, 0.85);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: var(--white);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 4px;
  z-index: 5;
}
.compare-label-before { left: 20px; }
.compare-label-after { right: 20px; }

.compare-slider {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%; /* Alinhado ao center */
  width: 3px;
  background: var(--white);
  cursor: ew-resize;
  z-index: 10;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  transform: translateX(-50%);
  transition: left 0.05s ease-out;
}
.compare-handle {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 44px; height: 44px;
  background: var(--white);
  color: var(--text-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--beige);
  pointer-events: none;
}
.compare-handle svg {
  width: 16px;
  height: 16px;
  color: var(--terracotta);
}

.viz-disclaimer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-light);
  background: rgba(232, 223, 208, 0.15);
  padding: 12px;
  border-radius: var(--radius-sm);
  text-align: center;
}
.viz-disclaimer svg {
  color: var(--terracotta);
  flex-shrink: 0;
}

/* ── RESULT ACTIONS ── */
.viz-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.btn-viz-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  padding: 14px 28px;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  transition: var(--transition-fast);
  text-align: center;
}
.btn-viz-action.btn-adjust {
  background: var(--white);
  border: 1px solid var(--beige-mid);
  color: var(--text-dark);
}
.btn-viz-action.btn-adjust:hover {
  background: var(--off-white);
  border-color: var(--text-light);
}
.btn-viz-action.btn-download {
  background: var(--white);
  border: 1px solid var(--beige-mid);
  color: var(--text-dark);
}
.btn-viz-action.btn-download:hover {
  background: var(--off-white);
  border-color: var(--text-light);
}
.btn-viz-action.btn-retry {
  background: var(--white);
  border: 1px solid var(--beige-mid);
  color: var(--text-dark);
}
.btn-viz-action.btn-retry:hover {
  background: var(--off-white);
  border-color: var(--text-light);
}
.btn-viz-action.btn-buy {
  background: var(--terracotta);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(181, 112, 74, 0.2);
}
.btn-viz-action.btn-buy:hover {
  background: var(--terra-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(181, 112, 74, 0.35);
}
.btn-viz-action.btn-share {
  background: #25d366;
  color: var(--white);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.2);
}
.btn-viz-action.btn-share:hover {
  background: #20ba59;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35);
}

/* Toast Notification for sharing */
.viz-toast {
  position: fixed;
  bottom: 24px; left: 50%;
  transform: translate(-50%, 40px);
  background: var(--green-dark);
  color: var(--white);
  padding: 12px 28px;
  border-radius: 40px;
  font-size: 14px;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  z-index: 2000;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}
.viz-toast.show {
  transform: translate(-50%, 0);
  opacity: 1;
}

/* ── RESPONSIVE DESIGN ── */
@media (max-width: 900px) {
  .step2-layout {
    grid-template-columns: 1fr;
  }
  .selected-product-card {
    position: static;
  }
  .upload-tips ul {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .viz-hero-title {
    font-size: 36px;
  }
  .wizard-progress {
    margin-bottom: 40px;
  }
  .step-label {
    font-size: 11px;
  }
  .step-circle {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }
  .progress-line {
    transform: translateY(-20px);
  }
  .viz-products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .sliders-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .viz-actions {
    flex-direction: column;
    gap: 10px;
  }
  .btn-viz-action {
    width: 100%;
  }
  .editor-canvas-container, .compare-container {
    aspect-ratio: 4/3;
  }
}

@media (max-width: 480px) {
  .viz-products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .viz-prod-name {
    font-size: 15px;
  }
  .viz-prod-card {
    padding: 12px;
  }
  .wizard-progress {
    padding: 0;
  }
  .step-label {
    display: none;
  }
  .progress-line {
    transform: translateY(-18px);
  }
}
