/* ==========================================================================
   ONLY POMOS! — Design System & Styles
   Inspirado en la dirección de arte Pop (GRRR! reference & Only Pomos mockups)
   ========================================================================== */

@import url('https://api.fontshare.com/v2/css?f[]=general-sans@400,500,600,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Hanken+Grotesk:wght@400;500;600;700&display=swap');

:root {
  /* Paleta Pop Oficial */
  --bg-page: #F6F6F6;
  --bg-hero: #FFD8E8;
  --bg-green: #B2D67A;
  --bg-lime: #D4FF8E;
  --bg-pink: #F69BBD;
  --bg-green-dark: #8fb556;
  --bg-green-light: #c9e69a;
  --text-dark: #1B1B1B;
  --text-muted: #6B6B6B;
  --border-dark: #1B1B1B;
  --border-light: rgba(0, 0, 0, 0.1);
  --card-bg: #FFFFFF;

  /* Tipografías */
  --font-main: 'General Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Instrument Serif', Georgia, serif;
  --font-mono: ui-monospace, 'Menlo', 'Consolas', monospace;

  /* Transiciones y sombras */
  --ease-spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);
  --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.06);
  --shadow-md: 0 8px 24px -6px rgba(0,0,0,0.12);
  --shadow-pomo: inset -14px -20px 32px rgba(0,0,0,.25), 0 30px 40px -16px rgba(0,0,0,.35);
  --shadow-pomo-sm: inset -4px -6px 10px rgba(0,0,0,.25), 0 8px 10px -4px rgba(0,0,0,.35);
}

/* Modo Editorial / Cálido (Opcional) */
[data-theme="editorial"] {
  --bg-page: #F1EBE1;
  --bg-hero: #B5532F;
  --bg-green: #E8DCCB;
  --bg-lime: #E8C27A;
  --bg-pink: #3F5A4C;
  --text-dark: #1F1A15;
  --text-muted: #6E655A;
  --border-dark: #1F1A15;
  --card-bg: #F8F4EE;
}

/* Reset Moderno */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--bg-page);
  color: var(--text-dark);
  font-family: var(--font-main);
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background: var(--bg-page);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

button {
  font-family: inherit;
  color: inherit;
  border: none;
  background: none;
  cursor: pointer;
  outline: none;
}

button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible {
  outline: 2px solid var(--text-dark);
  outline-offset: 3px;
}

input, select {
  font-family: inherit;
  color: inherit;
}

/* ==========================================================================
   BADGES & UI TOKENS
   ========================================================================== */

.badge-tag {
  display: inline-block;
  background: var(--text-dark);
  color: #FFF;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  line-height: 1.2;
}

.pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--border-dark);
  border-radius: 20px;
  padding: 5px 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3px;
  background: transparent;
  color: var(--text-dark);
  transition: all 0.2s var(--ease-smooth);
}

.pill-btn:hover {
  background: var(--text-dark);
  color: #FFF;
}

.pill-btn.active {
  background: var(--text-dark);
  color: #FFF;
}

.cta-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--text-dark);
  color: #FFF;
  padding: 13px 40px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  border: 1px solid var(--text-dark);
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, transform 0.15s ease;
}

.cta-btn-primary:hover {
  background: var(--bg-pink);
  color: var(--text-dark);
  transform: translateY(-2px);
}

.cta-btn-primary:active {
  transform: translateY(0);
}

.cta-btn-pink {
  background: var(--bg-pink);
  color: var(--text-dark);
  border: none;
  padding: 16px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
  width: 100%;
  text-align: center;
  transition: background 0.2s ease, color 0.2s ease;
}

.cta-btn-pink:hover {
  background: var(--text-dark);
  color: #FFF;
}

/* ==========================================================================
   HEADER / NAVBAR
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255, 216, 232, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(27, 27, 27, 0.08);
  padding: 16px 28px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  transition: background 0.3s ease;
}

.site-header.scrolled {
  background: rgba(246, 246, 246, 0.95);
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.brand-logo {
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.5px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.brand-logo-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--bg-lime);
  border: 1.5px solid var(--text-dark);
  display: inline-block;
  animation: pulse-dot 2.5s infinite;
}

@keyframes pulse-dot {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.3); background: var(--bg-pink); }
}

.nav-links {
  display: flex;
  gap: 8px;
  align-items: center;
}

.header-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  align-items: center;
}

.cart-pill {
  background: var(--text-dark);
  color: #FFF;
  border-color: var(--text-dark);
}

.cart-pill:hover {
  background: var(--bg-pink);
  color: var(--text-dark);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero-section {
  background: var(--bg-hero);
  padding: 30px 28px 0;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border-bottom: 2px solid var(--text-dark);
}

.hero-tagline-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  max-width: 540px;
  margin: 20px 0 10px;
}

.hero-title-sub {
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -0.5px;
}

.hero-desc {
  font-size: 15px;
  line-height: 1.45;
  color: rgba(27, 27, 27, 0.85);
  font-weight: 500;
}

/* Gigantic Typographic Word "P O M O S" */
.hero-letters {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: clamp(80px, 20vw, 290px);
  line-height: 0.8;
  letter-spacing: clamp(-4px, -1vw, -14px);
  padding-top: 24px;
  margin-bottom: 0;
  user-select: none;
  width: 100%;
}

.hero-animal {
  width: clamp(72px, 18vw, 250px);
  height: clamp(72px, 18vw, 250px);
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 clamp(2px, .6vw, 9px);
  transform: translateY(-4%);
  transition: transform .25s var(--ease-spring);
  border-radius: 24px;
}

.hero-animal img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 12px 10px rgba(27, 27, 27, .15));
}

.hero-animal:hover { transform: translateY(-7%) rotate(-5deg); }
.hero-animal:focus-visible { outline: 3px solid #3a48e0; outline-offset: 4px; }

/* ==========================================================================
   CAJONES INTERACTIVOS ("PASA EL RATÓN POR LOS CAJONES")
   ========================================================================== */

.drawers-section {
  background: var(--bg-green);
  padding: 44px 28px 40px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  border-bottom: 2px solid var(--text-dark);
}

.drawers-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.drawers-hint {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.drawers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  background: var(--bg-green-dark);
  padding: 12px;
  border: 2px solid var(--text-dark);
}

.drawer-slot {
  height: 120px;
  background: var(--bg-green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  box-shadow: inset 0 -6px 0 rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(27, 27, 27, 0.15);
  padding: 0 16px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: background 0.25s var(--ease-smooth), transform 0.15s ease, box-shadow 0.25s ease;
}

.drawer-slot:hover {
  background: var(--bg-hero);
  transform: translateY(-2px);
  box-shadow: inset 0 -4px 0 rgba(0,0,0,0.12), 0 8px 16px rgba(0,0,0,0.1);
}

.drawer-pomo-mini {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  box-shadow: var(--shadow-pomo-sm);
  transition: transform 0.3s var(--ease-spring);
}

.drawer-slot:hover .drawer-pomo-mini {
  transform: rotate(35deg) scale(1.15);
}

.drawer-info {
  display: flex;
  flex-direction: column;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
}

.drawer-price {
  font-weight: 700;
  color: var(--text-dark);
}

/* ==========================================================================
   STUDIO MANIFESTO ("GIRA LA CASA")
   ========================================================================== */

.studio-section {
  padding: 90px 28px 70px;
  display: grid;
  grid-template-columns: 240px 1fr 240px;
  align-items: start;
  gap: 30px;
  border-bottom: 2px solid var(--text-dark);
}

.studio-side-text {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.studio-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
}

.studio-headline {
  margin: 0;
  font-weight: 700;
  font-size: clamp(48px, 8vw, 104px);
  line-height: 0.9;
  letter-spacing: -3px;
  text-transform: uppercase;
}

.studio-body {
  font-size: 17px;
  line-height: 1.5;
  max-width: 560px;
  font-weight: 500;
  color: rgba(27, 27, 27, 0.9);
}

/* ==========================================================================
   NOVEDADES (PRODUCT GRID)
   ========================================================================== */

.novedades-section {
  padding: 70px 28px 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  border-bottom: 2px solid var(--text-dark);
}

.product-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}

.product-card {
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: var(--bg-page);
  border: 1px solid rgba(27, 27, 27, 0.1);
  padding: 16px 12px;
  position: relative;
  cursor: pointer;
  transition: all 0.25s var(--ease-smooth);
}

.product-card:hover {
  border-color: var(--text-dark);
  transform: translateY(-4px);
  box-shadow: 0 12px 24px -8px rgba(0,0,0,0.12);
}

.product-pomo-render {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 86px;
  height: 86px;
  position: relative;
}

.pomo-head {
  width: 100%;
  aspect-ratio: 1;
  box-shadow: inset -6px -10px 16px rgba(0,0,0,.22), 0 12px 18px -6px rgba(0,0,0,0.25);
  position: relative;
  z-index: 2;
  transition: transform 0.4s var(--ease-spring), border-radius 0.3s ease;
}

.product-card:hover .pomo-head {
  transform: rotate(20deg) scale(1.08);
}

.pomo-neck {
  width: 28%;
  height: 20px;
  margin-top: -6px;
  position: relative;
  z-index: 1;
}

.pomo-base {
  width: 58%;
  height: 8px;
  border-radius: 3px;
  position: relative;
  z-index: 1;
}

.product-card-meta {
  display: flex;
  justify-content: space-between;
  width: 88%;
  font-size: 11px;
  font-weight: 600;
}

.product-card-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  font-size: 9px;
  font-weight: 700;
  background: var(--text-dark);
  color: #FFF;
  padding: 2px 6px;
}

/* ==========================================================================
   EXPLORA CATEGORÍAS GIGANTES
   ========================================================================== */

.explora-section {
  padding: 60px 28px 90px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-bottom: 2px solid var(--text-dark);
}

.explora-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.explora-content {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 36px;
  align-items: center;
}

.explora-preview-box {
  aspect-ratio: 3/4;
  background: var(--bg-green);
  border: 2px solid var(--text-dark);
  display: grid;
  place-items: center;
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.explora-pomo-display {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  box-shadow: var(--shadow-pomo);
  animation: float-slow 4s ease-in-out infinite;
}

@keyframes float-slow {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(8deg); }
}

.explora-links-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-weight: 700;
  font-size: clamp(38px, 6vw, 84px);
  line-height: 1.02;
  letter-spacing: -2px;
  text-transform: uppercase;
}

.explora-link-item {
  color: var(--text-dark);
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.explora-link-item:hover {
  color: var(--bg-pink);
  transform: translateX(16px);
}

.explora-link-item.alt-color {
  color: #72a31f;
  padding-left: clamp(20px, 8vw, 120px);
}

.explora-link-item.alt-color:hover {
  color: var(--bg-pink);
}

.explora-link-item.offset-2 {
  padding-left: clamp(40px, 18vw, 280px);
}

.explora-link-item.align-end {
  align-self: flex-end;
}

.explora-count {
  font-size: clamp(16px, 2vw, 24px);
  font-weight: 500;
  letter-spacing: 0;
  opacity: 0.7;
}

/* ==========================================================================
   LOOKBOOK ROOM INTERACTIVO
   ========================================================================== */

.lookbook-section {
  background: var(--bg-pink);
  padding: 28px;
  border-bottom: 2px solid var(--text-dark);
}

.lookbook-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.lookbook-stage {
  height: 520px;
  background: radial-gradient(circle at 50% 40%, #ffc2db 0%, #f69bbd 70%);
  border: 2px solid var(--text-dark);
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.lookbook-mockup-furniture {
  position: absolute;
  width: 70%;
  max-width: 680px;
  height: 280px;
  bottom: 60px;
  background: #fdf5f8;
  border: 3px solid var(--text-dark);
  box-shadow: 16px 16px 0 var(--text-dark);
  display: grid;
  grid-template-rows: 1fr 1fr;
  padding: 16px;
  gap: 12px;
}

.furniture-drawer {
  background: #ffe3ef;
  border: 2px solid var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 40px;
}

.furniture-pomo {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  box-shadow: var(--shadow-pomo-sm);
  cursor: pointer;
  transition: transform 0.25s var(--ease-spring);
}

.furniture-pomo:hover {
  transform: scale(1.3) rotate(30deg);
}

.lookbook-pin {
  position: absolute;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-green);
  border: 2px solid var(--text-dark);
  display: grid;
  place-items: center;
  font-size: 20px;
  font-weight: 700;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  transition: transform 0.25s var(--ease-spring), background 0.2s ease;
  animation: pin-pulse 2s infinite ease-in-out;
}

.lookbook-pin:hover {
  transform: scale(1.25);
  background: var(--bg-lime);
}

@keyframes pin-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(178, 214, 122, 0.7); }
  50% { box-shadow: 0 0 0 12px rgba(178, 214, 122, 0); }
}

.lookbook-card-floating {
  position: absolute;
  left: 36%;
  bottom: 24px;
  background: var(--bg-green);
  border: 2px solid var(--text-dark);
  border-radius: 30px;
  padding: 10px 18px 10px 22px;
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--text-dark);
  box-shadow: 4px 4px 0 var(--text-dark);
  z-index: 15;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.lookbook-card-floating:hover {
  transform: translateY(-2px);
  box-shadow: 6px 6px 0 var(--text-dark);
}

/* ==========================================================================
   PRODUCT DETAIL VIEW (PERSONALIZADOR INTERACTIVO)
   ========================================================================== */

.product-detail-view {
  display: none;
  width: 100%;
}

.product-detail-view.active {
  display: block;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  min-height: calc(100vh - 80px);
}

.detail-stage-box {
  background: var(--bg-lime);
  aspect-ratio: 1;
  min-height: 520px;
  position: relative;
  display: grid;
  place-items: center;
  border-right: 2px solid var(--text-dark);
  transition: background 0.4s var(--ease-smooth);
}

.stage-badge-top {
  position: absolute;
  top: 24px;
  left: 28px;
}

.stage-specs-bottom {
  position: absolute;
  bottom: 24px;
  left: 28px;
  right: 28px;
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.detail-pomo-large {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 260px;
  position: relative;
  user-select: none;
}

.detail-pomo-head {
  width: 100%;
  aspect-ratio: 1;
  box-shadow: inset -20px -28px 44px rgba(0,0,0,.22), 0 40px 50px -24px rgba(0,0,0,.35);
  position: relative;
  z-index: 2;
  cursor: grab;
  transition: border-radius 0.35s var(--ease-smooth), transform 0.4s var(--ease-spring);
}

.detail-pomo-head:active {
  cursor: grabbing;
}

.detail-pomo-neck {
  width: 28%;
  height: 60px;
  margin-top: -12px;
  position: relative;
  z-index: 1;
}

.detail-pomo-base {
  width: 58%;
  height: 20px;
  border-radius: 6px;
  position: relative;
  z-index: 1;
}

.detail-config-panel {
  padding: 40px 36px 60px 48px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  background: var(--bg-page);
}

.breadcrumb-trail {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--text-muted);
}

.detail-title-block h1 {
  margin: 0;
  font-weight: 700;
  font-size: clamp(48px, 7vw, 104px);
  line-height: 0.85;
  letter-spacing: -4px;
  text-transform: uppercase;
}

.detail-price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 14px;
}

.detail-subtitle {
  font-size: 17px;
  font-weight: 500;
  color: rgba(27, 27, 27, 0.85);
}

.detail-price-tag {
  font-size: 34px;
  font-weight: 700;
}

/* Selectores de Color */
.selector-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.selector-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.swatches-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.color-swatch-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  padding: 3px;
  background: transparent;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.color-swatch-btn:hover {
  transform: scale(1.1);
}

.color-swatch-btn.selected {
  border-color: var(--text-dark);
}

.swatch-fill {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  box-shadow: inset -2px -4px 6px rgba(0,0,0,0.2);
}

/* Selector de Formas */
.shapes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.shape-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 0;
  border: 1px solid var(--border-dark);
  border-radius: 30px;
  background: #FFF;
  color: var(--text-dark);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.shape-btn.selected {
  background: var(--text-dark);
  color: #FFF;
}

.shape-dot-indicator {
  width: 12px;
  height: 12px;
  background: currentColor;
  transition: border-radius 0.2s ease;
}

/* Controles de Compra */
.qty-add-row {
  display: flex;
  gap: 10px;
}

.qty-counter {
  display: flex;
  align-items: center;
  border: 1px solid var(--border-dark);
  background: #FFF;
}

.qty-btn {
  width: 48px;
  height: 52px;
  font-size: 20px;
  font-weight: 600;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.15s ease;
}

.qty-btn:hover {
  background: rgba(0, 0, 0, 0.05);
}

.qty-value {
  width: 32px;
  text-align: center;
  font-weight: 700;
  font-size: 16px;
}

.promo-notice-bar {
  background: var(--bg-lime);
  border: 1px solid var(--text-dark);
  padding: 12px 16px;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  letter-spacing: 0.3px;
}

.specs-table {
  border-top: 1px solid var(--border-dark);
  font-size: 13px;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.spec-name {
  font-weight: 700;
  text-transform: uppercase;
}

/* ==========================================================================
   CHECKOUT SCREEN
   ========================================================================== */

.checkout-view {
  display: none;
  width: 100%;
}

.checkout-view.active {
  display: block;
}

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) 480px;
  gap: 48px;
  padding: 40px 28px 80px;
  max-width: 1400px;
  margin: 0 auto;
}

.checkout-form-column {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.checkout-headline {
  margin: 0;
  font-weight: 700;
  font-size: clamp(48px, 8vw, 96px);
  line-height: 0.85;
  letter-spacing: -4px;
}

.form-group-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.input-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 18px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.field-input {
  background: transparent;
  border: none;
  border-bottom: 1.5px solid rgba(0, 0, 0, 0.2);
  padding: 10px 0;
  font-size: 14px;
  color: var(--text-dark);
  transition: border-color 0.2s ease;
}

.field-input:focus {
  border-bottom-color: var(--text-dark);
}

.field-input::placeholder {
  color: rgba(27, 27, 27, 0.4);
}

/* Métodos de Envío */
.shipping-options-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.radio-card {
  border: 1px solid var(--border-dark);
  padding: 14px;
  background: #FFF;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  transition: all 0.2s ease;
}

.radio-card:hover {
  background: var(--bg-hero);
}

.radio-card.active {
  border-width: 2px;
  background: var(--bg-hero);
}

.radio-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid var(--text-dark);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.radio-card.active .radio-dot::after {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text-dark);
}

/* Métodos de Pago */
.payment-selector-tabs {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.payment-tab-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--border-dark);
  background: #FFF;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease;
}

.payment-tab-btn.active {
  background: var(--bg-lime);
}

.payment-form-subpanel {
  padding: 16px;
  background: #FFF;
  border: 1px solid var(--border-dark);
  margin-top: -6px;
}

/* Columna Resumen de Cesta */
.checkout-summary-column {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.summary-card-box {
  background: #FFF;
  border: 2px solid var(--text-dark);
  padding: 24px 22px;
  box-shadow: 8px 8px 0 var(--text-dark);
}

.summary-header {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--text-dark);
}

.summary-items-list {
  display: flex;
  flex-direction: column;
  max-height: 380px;
  overflow-y: auto;
}

.summary-item-row {
  display: grid;
  grid-template-columns: 84px 1fr auto;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  align-items: center;
}

.summary-item-tile {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid var(--border-dark);
}

.summary-totals-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 14px;
  font-size: 13px;
  font-weight: 700;
}

.totals-row {
  display: flex;
  justify-content: space-between;
}

.totals-grand {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-top: 2px solid var(--text-dark);
  padding-top: 14px;
  margin-top: 4px;
  font-size: 28px;
  font-weight: 700;
}

/* Modal de éxito de pedido */
.order-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: none;
  place-items: center;
  padding: 20px;
}

.order-modal-backdrop.open {
  display: grid;
}

.order-modal-card {
  background: #FFF;
  border: 3px solid var(--text-dark);
  box-shadow: 12px 12px 0 var(--text-dark);
  max-width: 500px;
  width: 100%;
  padding: 36px 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  animation: modal-pop 0.35s var(--ease-spring);
}

@keyframes modal-pop {
  from { transform: scale(0.85); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.order-celebration-pomo {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  box-shadow: var(--shadow-pomo);
  animation: spin-celebration 3s linear infinite;
}

@keyframes spin-celebration {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ==========================================================================
   DRAWER CART FLYOUT (CESTA LATERAL DESLIZANTE)
   ========================================================================== */

.cart-flyout-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 500;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.cart-flyout-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.cart-flyout-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(440px, 100vw);
  background: #FFF;
  border-left: 2px solid var(--text-dark);
  z-index: 501;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s var(--ease-smooth);
}

.cart-flyout-drawer.open {
  transform: translateX(0);
}

.cart-flyout-header {
  padding: 20px 24px;
  border-bottom: 2px solid var(--text-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-flyout-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 24px;
}

.cart-flyout-footer {
  padding: 20px 24px;
  border-top: 2px solid var(--text-dark);
  background: var(--bg-page);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
  background: var(--text-dark);
  color: var(--bg-page);
  padding: 40px 28px 30px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: auto;
}

.footer-logo-giant {
  font-weight: 700;
  font-size: clamp(48px, 10vw, 120px);
  line-height: 0.8;
  letter-spacing: -5px;
  color: var(--bg-lime);
  cursor: pointer;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  text-align: right;
  letter-spacing: 0.5px;
}

.footer-nav a:hover {
  color: var(--bg-lime);
}

/* ==========================================================================
   NOTIFICACIÓN TOAST
   ========================================================================== */

.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}

.toast-msg {
  background: var(--text-dark);
  color: #FFF;
  padding: 12px 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  border: 1px solid var(--bg-lime);
  box-shadow: 4px 4px 0 var(--bg-lime);
  animation: toast-enter 0.3s var(--ease-spring);
  pointer-events: auto;
}

@keyframes toast-enter {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* ==========================================================================
   RESPONSIVE DESIGN (BREAKPOINTS)
   ========================================================================== */

@media (max-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .drawers-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .studio-section {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .studio-side-text {
    display: none;
  }
  .detail-layout, .checkout-layout {
    grid-template-columns: 1fr;
  }
  .explora-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 14px 16px;
  }
  .nav-links {
    display: none;
  }
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .drawers-grid {
    grid-template-columns: 1fr;
  }
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  .footer-nav {
    text-align: left;
  }
  .shapes-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .input-grid-2 {
    grid-template-columns: 1fr;
  }
}

/* Accesibilidad y Reducción de Movimiento */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .lookbook-pin, .brand-logo-dot, .explora-pomo-display {
    animation: none !important;
  }
}

/* ==========================================================================
   BANNER DE COOKIES Y SELLOS DE CONFIANZA
   ========================================================================== */

.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(150%);
  width: calc(100% - 40px);
  max-width: 820px;
  background: #FFFFFF;
  border: 3px solid var(--text-dark);
  border-radius: 16px;
  box-shadow: 6px 6px 0px var(--text-dark);
  padding: 16px 22px;
  z-index: 10000;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-banner.visible {
  transform: translateX(-50%) translateY(0);
}

.cookie-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.cookie-text {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  min-width: 280px;
}

.cookie-icon {
  font-size: 26px;
}

.cookie-text p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: #2D2D2D;
}

.cookie-text a {
  color: var(--text-dark);
  font-weight: 700;
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cookie-btn {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 800;
  padding: 8px 16px;
  border-radius: 999px;
  border: 2px solid var(--text-dark);
  cursor: pointer;
  transition: all 0.15s ease;
}

.cookie-reject {
  background: transparent;
  color: var(--text-dark);
}

.cookie-reject:hover {
  background: #F0F0F0;
}

.cookie-accept {
  background: var(--bg-green);
  color: var(--text-dark);
  box-shadow: 2px 2px 0px var(--text-dark);
}

.cookie-accept:hover {
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0px var(--text-dark);
}

.checkout-trust-badges {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  border-top: 1px dashed #DDD;
  padding-top: 14px;
}

.trust-badge-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  color: #555;
  gap: 4px;
}

.trust-badge-item span:first-child {
  font-size: 18px;
}

/* ==========================================================================
   FREE SHIPPING PROGRESS BAR (CRO)
   ========================================================================== */
.free-shipping-container {
  background: #FFF;
  padding: 12px 20px;
  border-bottom: 2px solid var(--text-dark);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.free-shipping-msg {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-dark);
}

.free-shipping-msg strong {
  font-weight: 800;
  color: #1B1B1B;
}

.free-shipping-msg.success {
  color: #2b6110;
}

.free-shipping-track {
  width: 100%;
  height: 9px;
  background: #EBEBEB;
  border-radius: 999px;
  overflow: hidden;
  border: 1.5px solid var(--text-dark);
  position: relative;
}

.free-shipping-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #F69BBD 0%, #B2D67A 100%);
  border-radius: 999px;
  transition: width 0.4s var(--ease-spring);
}

.free-shipping-fill.completed {
  background: #B2D67A;
  box-shadow: 0 0 10px rgba(178, 214, 122, 0.8);
}

/* ==========================================================================
   PRODUCT CARD QUICK ACTIONS (CRO)
   ========================================================================== */
.product-card {
  aspect-ratio: auto;
  min-height: 230px;
}

.product-card-quick-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 6px;
  margin-top: 4px;
  z-index: 10;
}

.card-quick-stepper {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--text-dark);
  border-radius: 999px;
  background: #FFF;
  padding: 1px 3px;
}

.card-stepper-btn {
  background: none;
  border: none;
  font-size: 11px;
  font-weight: 800;
  width: 18px;
  height: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--text-dark);
  transition: background 0.15s ease;
}

.card-stepper-btn:hover {
  background: var(--bg-hero);
}

.card-stepper-val {
  font-size: 11px;
  font-weight: 700;
  min-width: 14px;
  text-align: center;
}

.card-quick-add-btn {
  flex: 1;
  background: var(--text-dark);
  color: #FFF;
  border: 1.5px solid var(--text-dark);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  padding: 5px 8px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  box-shadow: 1px 1px 0px var(--text-dark);
}

.card-quick-add-btn:hover {
  background: var(--bg-pink);
  color: var(--text-dark);
  transform: translate(-1px, -1px);
  box-shadow: 2px 2px 0px var(--text-dark);
}

/* ==========================================================================
   IKEA COMPATIBILITY & SPECS CALLOUT
   ========================================================================== */
.ikea-compat-banner {
  background: #FFF;
  border: 2px solid var(--text-dark);
  box-shadow: 3px 3px 0px var(--text-dark);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
}

.ikea-compat-icon {
  font-size: 26px;
  line-height: 1;
}

.ikea-compat-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 12px;
  line-height: 1.35;
}

.ikea-compat-text strong {
  font-weight: 800;
  color: var(--text-dark);
}

.specs-grid-pills {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-top: 12px;
}

.spec-pill-item {
  background: #FFF;
  border: 1px solid var(--text-dark);
  border-radius: 8px;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.spec-pill-label {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-muted);
}

.spec-pill-val {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-dark);
}

/* ==========================================================================
   MODERN FORM VALIDATION (:user-valid / :user-invalid)
   ========================================================================== */
.field-input {
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.field-input:focus {
  border-color: var(--text-dark);
  box-shadow: 2px 2px 0px var(--text-dark);
}

.field-input:not(:placeholder-shown):user-valid {
  border-color: #4f7d14;
  background-color: #f7fff0;
}

.field-input:not(:placeholder-shown):user-invalid {
  border-color: #d93829;
  background-color: #fff6f5;
}

/* Descuento Pack en Resumen de Cesta */
.discount-row {
  color: #2b6110;
  font-weight: 700;
}

/* ==========================================================================
   FAQ SECTION (PREGUNTAS FRECUENTES)
   ========================================================================== */
.faq-section {
  padding: 60px 28px 80px;
  background: #FFF;
  border-top: 2px solid var(--text-dark);
  border-bottom: 2px solid var(--text-dark);
}

.faq-header {
  max-width: 800px;
  margin: 0 auto 36px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-page);
  border: 2px solid var(--text-dark);
  box-shadow: 3px 3px 0px var(--text-dark);
  transition: all 0.2s ease;
}

.faq-item[open] {
  background: #FFF;
  box-shadow: 5px 5px 0px var(--text-dark);
}

.faq-question {
  padding: 16px 20px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  list-style: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-icon {
  font-size: 18px;
  font-weight: 900;
  transition: transform 0.2s ease;
}

.faq-item[open] .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 20px 20px;
  font-size: 13px;
  line-height: 1.6;
  color: #444;
  border-top: 1px dashed rgba(27, 27, 27, 0.2);
  margin-top: 8px;
  padding-top: 14px;
}

/* Botón Flotante de Ayuda / Soporte */
.support-floating-pill {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--text-dark);
  color: #FFF;
  border: 2px solid var(--text-dark);
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 4px 4px 0px var(--bg-pink);
  z-index: 99;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.support-floating-pill:hover {
  background: var(--bg-pink);
  color: var(--text-dark);
  transform: translateY(-2px);
  box-shadow: 6px 6px 0px var(--text-dark);
}





/* ==============================================================================
   ESTILOS CRO, CAPTACIÓN Y TRANSFORMACIONES REALES (BLOQUE 1)
   ============================================================================== */

/* 1. Botón Flotante de WhatsApp */
.whatsapp-pill {
  background: #25D366 !important;
  color: #111B21 !important;
  border: 2.5px solid #111B21 !important;
  box-shadow: 4px 4px 0px #111B21 !important;
  gap: 10px !important;
  padding: 11px 20px !important;
  font-size: 13px !important;
}
.whatsapp-pill:hover {
  background: #20BA5A !important;
  color: #000 !important;
  transform: translateY(-2px) !important;
  box-shadow: 6px 6px 0px #111B21 !important;
}

/* 2. Sección Transformaciones Reales / IKEA Hacks */
.transformaciones-section {
  padding: 60px 24px;
  max-width: 1320px;
  margin: 0 auto;
  border-top: 3px solid var(--text-dark);
}
.transformaciones-header {
  margin-bottom: 36px;
}
.transformaciones-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}
.trans-card {
  border: 3px solid var(--text-dark);
  border-radius: 12px;
  background: #FFF;
  box-shadow: 6px 6px 0px var(--text-dark);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.trans-card:hover {
  transform: translateY(-4px);
  box-shadow: 8px 8px 0px var(--text-dark);
}
.trans-visual-stage {
  background: #F9F9F9;
  border-bottom: 2px solid var(--text-dark);
  padding: 20px 16px;
  position: relative;
}
.trans-pill-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.5px;
  background: var(--text-dark);
  color: #FFF;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.trans-compare-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.trans-side {
  flex: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.trans-side-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #888;
}
.trans-side-label.pop-glow {
  color: #1b1b1b;
  background: #B2D67A;
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid #1b1b1b;
}
.furniture-mock-mini {
  width: 100%;
  max-width: 120px;
  height: 80px;
  background: #EFEFEF;
  border: 2px solid #555;
  border-radius: 6px;
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  justify-content: center;
}
.furniture-mock-mini.pop-mueble {
  background: #FFF;
  border: 2px solid #1b1b1b;
  box-shadow: 2px 2px 0px #1b1b1b;
}
.drawer-mini {
  height: 28px;
  background: #FFF;
  border: 1px solid #CCC;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 8px;
}
.pop-mueble .drawer-mini {
  border: 1.5px solid #1b1b1b;
}
.knob-mini {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 1px 3px rgba(0,0,0,0.25);
  flex-shrink: 0;
}
.knob-boring {
  background: #333;
}
.trans-divider {
  font-size: 20px;
  font-weight: 800;
  color: #e2301f;
}
.trans-caption {
  font-size: 11px;
  color: #666;
  line-height: 1.2;
}
.trans-info {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.trans-stars {
  color: #F5A623;
  font-size: 14px;
  letter-spacing: 2px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.trans-verified {
  font-size: 11px;
  color: #1b1b1b;
  background: #D4FF8E;
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid #1b1b1b;
  font-weight: 700;
  letter-spacing: 0;
}
.trans-quote {
  font-size: 13px;
  font-style: italic;
  line-height: 1.5;
  color: #222;
  margin: 0;
  flex: 1;
}
.trans-author {
  font-size: 12px;
  color: #666;
}
.trans-author strong {
  color: #1b1b1b;
}
.trans-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border-top: 1px dashed #DDD;
  padding-top: 12px;
}
.trans-spec {
  font-size: 11px;
  font-weight: 700;
  color: #555;
}
.mini-btn {
  padding: 6px 12px;
  font-size: 11px;
}

/* 3. Modal de Captación de Leads (-10% Cupón) */
.lead-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.3s ease;
}
.lead-modal-card {
  background: #FFF;
  border: 3.5px solid var(--text-dark);
  border-radius: 16px;
  box-shadow: 10px 10px 0px var(--text-dark);
  padding: 34px 28px;
  max-width: 460px;
  width: 100%;
  position: relative;
  text-align: center;
  animation: scaleUp 0.3s ease;
}
.lead-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: transparent;
  border: 2px solid var(--text-dark);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}
.lead-modal-close:hover {
  background: #e2301f;
  color: #FFF;
  transform: rotate(90deg);
}
.lead-badge {
  display: inline-block;
  background: #FFD8E8;
  border: 1.5px solid var(--text-dark);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
}
.lead-title {
  font-size: clamp(24px, 3.5vw, 32px);
  letter-spacing: -1px;
  margin: 0 0 10px;
  color: var(--text-dark);
}
.lead-subtitle {
  font-size: 14px;
  color: #555;
  line-height: 1.5;
  margin: 0 0 20px;
}
.lead-code-highlight {
  background: #FFE9A8;
  padding: 2px 6px;
  border: 1px solid var(--text-dark);
  border-radius: 4px;
}
.lead-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.lead-input-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.lead-input-wrap input {
  padding: 14px 16px;
  border: 2px solid var(--text-dark);
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  outline: none;
  box-shadow: 2px 2px 0px rgba(0,0,0,0.1);
  text-align: center;
}
.lead-input-wrap input:focus {
  border-color: #f06aa8;
  box-shadow: 3px 3px 0px var(--text-dark);
}
.lead-submit-btn {
  background: #f06aa8;
  color: #FFF;
  border: 2px solid var(--text-dark);
  border-radius: 8px;
  padding: 14px 20px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.5px;
  cursor: pointer;
  box-shadow: 4px 4px 0px var(--text-dark);
  transition: all 0.2s ease;
}
.lead-submit-btn:hover {
  background: #e04b90;
  transform: translateY(-2px);
  box-shadow: 6px 6px 0px var(--text-dark);
}
.lead-trust-row {
  display: flex;
  justify-content: center;
  gap: 14px;
  font-size: 11px;
  color: #666;
  font-weight: 600;
  flex-wrap: wrap;
  margin-top: 4px;
}
.lead-coupon-display {
  background: #F9F9F9;
  border: 2px dashed var(--text-dark);
  border-radius: 12px;
  padding: 20px;
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}
.coupon-code-pill {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 3px;
  color: var(--text-dark);
  background: #B2D67A;
  padding: 6px 20px;
  border: 2px solid var(--text-dark);
  border-radius: 8px;
  box-shadow: 3px 3px 0px var(--text-dark);
}

/* 4. Cross-sell y Cupones en Carrito y Checkout */
.cart-cross-sell {
  background: #FFF;
  border: 2px solid var(--text-dark);
  border-radius: 8px;
  padding: 10px 12px;
  box-shadow: 2px 2px 0px var(--text-dark);
  margin-bottom: 12px;
}
.cross-sell-content {
  display: flex;
  align-items: center;
  gap: 10px;
}
.cross-sell-icon {
  font-size: 20px;
  flex-shrink: 0;
}
.cross-sell-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  font-size: 11px;
  line-height: 1.3;
}
.cross-sell-text strong {
  color: var(--text-dark);
  font-size: 12px;
}
.cross-sell-text span {
  color: #666;
}
.btn-cross-sell-add {
  background: #B2D67A;
  color: var(--text-dark);
  border: 1.5px solid var(--text-dark);
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 2px 2px 0px var(--text-dark);
  transition: all 0.15s ease;
  white-space: nowrap;
}
.btn-cross-sell-add:hover {
  background: #9bc55a;
  transform: translateY(-1px);
}
.btn-cross-sell-added {
  background: #E0E0E0 !important;
  color: #777 !important;
  cursor: default !important;
  box-shadow: none !important;
}
.cart-coupon-box {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
}
.cart-coupon-box input {
  flex: 1;
  padding: 8px 12px;
  border: 2px solid var(--text-dark);
  border-radius: 6px;
  font-size: 12px;
  font-family: inherit;
  font-weight: 700;
  text-transform: uppercase;
  outline: none;
}
.cart-coupon-box button {
  background: var(--text-dark);
  color: #FFF;
  border: 2px solid var(--text-dark);
  border-radius: 6px;
  padding: 8px 14px;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.15s ease;
}
.cart-coupon-box button:hover {
  background: #f06aa8;
  border-color: #f06aa8;
}
.remove-coupon-btn {
  background: #e2301f;
  color: #FFF;
  border: none;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  cursor: pointer;
  margin-left: 6px;
  vertical-align: middle;
}
