/* ============================================
   Equis Mobile · Landing Outlet
   v3 — fiel al mockup PRINCIPAL
   ============================================ */

:root {
  /* Verde eléctrico — más vivo, tipo logo del mockup */
  --green:       #C4FF3D;
  --green-glow:  #C4FF3D;
  --green-deep:  #A6D63A;
  --green-dark:  #3FA02D;

  /* Fondos */
  --bg:        #f4f4f4;
  --bg-soft:   #fafafa;
  --bg-band:   #efeeec;
  --bg-card:   #ffffff;
  --bg-dark:   #0A0A0A;

  /* Tinta */
  --text:      #0A0A0A;
  --text-soft: #5b5d63;
  --text-mute: #9ca3af;
  --text-on-dark: #ffffff;

  --line:       #e7e7e7;
  --line-dark:  #1f2937;

  --shadow-sm: 0 1px 2px rgba(0,0,0,.05);
  --shadow-md: 0 6px 22px rgba(0,0,0,.08);
  --shadow-lg: 0 24px 48px rgba(0,0,0,.14);

  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-pill: 999px;

  --max: 1240px;
  --pad: 32px;

  --font-sans:   'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-script: 'Pacifico', cursive;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* ============================================
   HERO — full bleed, fondo negro, header dentro
   ============================================ */

.hero {
  position: relative;
  background: var(--bg-dark);
  color: var(--text-on-dark);
  overflow: hidden;
  isolation: isolate;
}

/* Glow verde radial detrás del iPhone */
.hero-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(65% 90% at 78% 58%, rgba(196,255,61,.25), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* iPhone posicionado a la derecha, grande, sin marco */
.hero-iphone {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 65%;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.hero-iphone img {
  position: absolute;
  bottom: 0;
  right: 14%;
  width: auto;
  height: 82%;
  max-height: none;
  object-fit: contain;
  filter: drop-shadow(0 30px 80px rgba(0,0,0,.5));
}

/* Header dentro del hero */
.hero-header {
  position: relative;
  z-index: 3;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  height: 200px;
}
.brand img { height: 100%; width: auto; }

.nav-links {
  display: flex;
  gap: 40px;
  font-size: 14.5px;
  font-weight: 500;
  color: rgba(255,255,255,.92);
}
.nav-links a:hover { color: var(--green); }

.nav-icons { display: flex; gap: 4px; }

.icon-btn {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: var(--r-pill);
  color: white;
  transition: background .15s ease;
  position: relative;
}
.icon-btn:hover { background: rgba(255,255,255,.1); }
.icon-btn svg { width: 20px; height: 20px; stroke-width: 1.7; }

.cart-badge {
  position: absolute;
  top: 4px; right: 4px;
  min-width: 17px; height: 17px;
  background: var(--green);
  color: #111;
  font-size: 10px; font-weight: 800;
  border-radius: 99px;
  display: grid; place-items: center;
  padding: 0 4px;
  line-height: 1;
}

/* Panel carrito — modal centrado */
.cart-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 200;
  display: grid; place-items: center;
  padding: 20px;
}
.cart-overlay[hidden] { display: none; }
.cart-panel {
  position: relative;
  width: min(520px, 100%);
  max-height: 80vh;
  background: #fff;
  border-radius: 24px;
  z-index: 201;
  display: flex; flex-direction: column;
  box-shadow: 0 24px 64px rgba(0,0,0,.25);
  overflow: hidden;
}
.cart-panel[hidden] { display: none; }
.cart-panel-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 24px 18px;
  border-bottom: 1px solid #f0f0f0;
  flex-shrink: 0;
}
.cart-panel-title { font-size: 20px; font-weight: 800; margin: 0; }
.cart-close-btn {
  width: 34px; height: 34px; border-radius: 50%;
  background: #f0f0f0; border: none;
  font-size: 14px; cursor: pointer;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.cart-close-btn:hover { background: #e0e0e0; }
.cart-items { flex: 1; overflow-y: auto; padding: 16px 20px; display: flex; flex-direction: column; gap: 12px; }
.cart-empty { padding: 48px 24px; text-align: center; color: #aaa; font-size: 14px; line-height: 1.7; }
.cart-item {
  display: flex; gap: 0; align-items: stretch;
  border-radius: 16px;
  background: #fafafa; border: 1px solid #efefef;
  position: relative;
  overflow: hidden;
  min-height: 140px;
}
.cart-item-img-wrap {
  width: 130px;
  align-self: stretch;
  flex-shrink: 0;
  overflow: hidden;
  background: #f0f0f0;
  display: flex; align-items: center; justify-content: center;
}
.cart-item-img {
  width: 100%; height: 100%;
  object-fit: contain;
  transform: scale(2.2);
  transform-origin: center center;
}
.cart-item-info { flex: 1; min-width: 0; padding: 14px 36px 14px 16px; display: flex; flex-direction: column; justify-content: center; }
.cart-item-name { font-size: 14px; font-weight: 700; margin: 0 0 3px; }
.cart-item-meta { font-size: 12px; color: #999; margin: 0 0 6px; }
.cart-item-price { font-size: 18px; font-weight: 800; color: #111; margin: 0 0 12px; }
.cart-item-buy {
  display: inline-flex; align-items: center; gap: 6px;
  background: #25D366; color: #fff;
  font-size: 13px; font-weight: 700;
  padding: 8px 16px; border-radius: 99px;
  text-decoration: none;
  transition: background .15s;
}
.cart-item-buy:hover { background: #1ebe5d; }
.cart-item-remove {
  position: absolute; top: 10px; right: 10px;
  width: 24px; height: 24px; border-radius: 50%;
  background: #eee; border: none; font-size: 11px;
  cursor: pointer; display: grid; place-items: center; color: #999;
}
.cart-item-remove:hover { background: #fecaca; color: #ef4444; }

.cart-footer {
  padding: 16px 20px;
  border-top: 1px solid #f0f0f0;
  flex-shrink: 0;
}
.cart-all-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%;
  background: #25D366; color: #fff;
  font-size: 15px; font-weight: 700;
  padding: 14px 20px; border-radius: 99px;
  text-decoration: none;
  transition: background .15s;
}
.cart-all-btn:hover { background: #1ebe5d; }

.cart-items.is-multi .cart-item-buy {
  font-size: 11px;
  padding: 6px 14px;
  align-self: flex-start;
}

/* Botón de carrito en tarjetas — activo */
.fav-btn.is-fav { color: var(--green); border-color: var(--green); background: rgba(196,255,61,.12); }

@media (max-width: 880px) { .nav-links { display: none; } }

/* Contenido del hero */
.hero-content {
  position: relative;
  z-index: 2;
  padding: 60px 0 90px;
  max-width: var(--max);
}

.hero-eyebrow {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .26em;
  color: var(--green);
  text-transform: uppercase;
  margin-bottom: 28px;
}

.hero-title {
  position: relative;
  display: flex;
  flex-direction: column;
  font-weight: 900;
  letter-spacing: -.05em;
  line-height: .9;
  max-width: 720px;
}

.hero-line-1 {
  font-size: clamp(72px, 10.5vw, 148px);
  font-weight: 900;
  letter-spacing: -.06em;
  color: white;
}

.hero-line-2 {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: -.42em;
  margin-left: 2.2em;
  z-index: 2;
}

.script-word {
  font-family: var(--font-script);
  font-weight: 400;
  color: var(--green);
  font-size: clamp(64px, 9vw, 128px);
  line-height: .9;
  letter-spacing: -.01em;
  display: inline-block;
  transform: rotate(-4deg) translateX(-2px);
  padding-right: .15em;
  text-shadow: 7px 8px 0 rgba(0, 0, 0, .8);
}

.price-tag {
  display: inline-flex;
  position: relative;
  width: clamp(54px, 6.6vw, 86px);
  height: clamp(78px, 9.6vw, 125px);
  margin-top: -.05em;
  margin-left: -10px;
  flex-shrink: 0;
}
.price-tag svg { width: 100%; height: 100%; overflow: visible; }

.hero-sub {
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 700;
  margin-top: 30px;
  color: white;
  letter-spacing: -.015em;
}
.hero-sub .accent { color: var(--green); }

.hero-desc {
  font-size: 14.5px;
  color: #b3b5b8;
  margin-top: 18px;
  line-height: 1.6;
  max-width: 460px;
}

.hero-actions {
  margin-top: 32px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-features {
  display: flex;
  gap: 36px;
  margin-top: 56px;
  flex-wrap: wrap;
}

.hero-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: #d1d3d6;
  line-height: 1.35;
  font-weight: 500;
}

.hf-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1.5px solid var(--green);
  color: var(--green);
  display: grid;
  place-items: center;
  background: rgba(196,255,61,.06);
}
.hf-icon svg { width: 17px; height: 17px; }

@media (max-width: 960px) {
  .hero-iphone { display: none; }
  .hero-content { padding: 30px var(--pad) 60px; }
  .hero-features { gap: 18px; }
}

@media (max-width: 640px) {
  .container { padding-left: 16px; padding-right: 16px; }
  .brand { height: 112px; }
  .hero-content { padding: 20px 20px calc(80px + 1vh); }
  .hero-line-2 { margin-left: 1em; }
  .hero-features { flex-direction: column; gap: 12px; margin-top: 28px; }
  .hero-sub { margin-top: 18px; }
  .hero-actions .btn { padding: 11px 20px; font-size: 13px; }
  .hero-actions .btn-ghost-dark { background: rgba(0,0,0,.20); backdrop-filter: blur(4px); }
  .footer-brand img { height: 32px !important; width: auto !important; }
  .site-footer { padding: 36px 0 20px; }
  .footer-grid {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px 12px;
  }
  .footer-brand {
    grid-column: 1 / -1;
    text-align: center;
    margin-bottom: 4px;
  }
  .footer-brand p { max-width: 100%; font-size: 12px; }
  .footer-grid h5 { font-size: 11px; margin-bottom: 10px; }
  .footer-grid a { font-size: 12px; }
  .footer-bottom { flex-direction: column; gap: 4px; font-size: 11px; }

  /* Hero iPhone en mobile: mitad superior visible, borde inferior = fin zona negra */
  .hero-iphone {
    display: block;
    width: 100%;
  }
  .hero-iphone img {
    position: absolute;
    top: auto;
    bottom: 0;
    right: -4%;
    left: auto;
    height: 48%;
    width: auto;
    max-height: none;
    object-fit: contain;
    object-position: top center;
    filter: drop-shadow(0 30px 80px rgba(0,0,0,.5));
  }

  /* Ocultar categoría (ej: "iPhone") en tarjetas mobile */
  .product-cat { display: none; }

  /* Color: solo primera palabra en mobile */
  .color-full { display: none; }
  .color-short { display: inline; }

  /* Catálogo mobile */
  .catalog-grid { gap: 12px; }
  .product-card { padding: 14px; border-radius: 18px; }
  .product-img { height: 160px; }
  .product-name { font-size: 15px; }
  .product-meta { font-size: 12px; margin: 2px 0 10px; }
  .product-price { font-size: 20px; }
  .condition-box { padding: 8px 10px; font-size: 12px; margin-bottom: 10px; }
  .product-detail-btn { padding: 10px 14px; font-size: 13px; margin-top: 10px; gap: 8px; }
  .product-detail-btn .arrow { width: 24px; height: 24px; }
  .product-detail-btn .arrow svg { width: 12px; height: 12px; }
  .badge { font-size: 9px; padding: 4px 9px; top: 12px; right: 12px; }
  .fav-btn { top: 10px; left: 10px; width: 30px; height: 30px; }
}

/* ============================================
   Botones
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 28px;
  border-radius: var(--r-pill);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -.005em;
  transition: transform .12s ease, background .15s ease, color .15s ease, box-shadow .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-arrow { font-weight: 600; opacity: .85; margin-left: 2px; font-size: 18px; line-height: 1; }

.btn-primary {
  background: var(--green);
  color: var(--bg-dark);
}
.btn-primary:hover { background: #d4ff5e; }

.btn-dark {
  background: var(--bg-dark);
  color: var(--text-on-dark);
}
.btn-dark:hover { background: #1f2937; }

.btn-ghost-dark {
  background: transparent;
  color: white;
  border: 1.5px solid rgba(255,255,255,.35);
}
.btn-ghost-dark:hover { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.6); }

.btn-link {
  background: white;
  color: var(--text);
  font-weight: 600;
  border: 1.5px solid var(--line);
}
.btn-link:hover { border-color: var(--text); }

/* ============================================
   Sección genérica
   ============================================ */

.section {
  padding: 90px 0 60px;
}

.catalog-section { padding: 60px 0; }

.section-eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .22em;
  color: var(--text-soft);
  text-transform: uppercase;
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.05;
}

.section-lead {
  font-size: 14.5px;
  color: var(--text-soft);
  margin-top: 14px;
  max-width: 380px;
}

/* ============================================
   ¿Qué significa Outlet?
   ============================================ */

.outlet-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.outlet-list {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.outlet-list li {
  display: flex;
  gap: 14px;
  align-items: center;
  font-size: 14.5px;
  color: var(--text);
  line-height: 1.4;
}

.ol-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: white;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--text);
}
.ol-icon svg { width: 18px; height: 18px; }

.outlet-card {
  background: white;
  border-radius: var(--r-xl);
  padding: 50px 44px;
  box-shadow: 0 8px 30px rgba(0,0,0,.06);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 26px;
  text-align: left;
}

.outlet-card-icon {
  width: 88px; height: 88px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(196,255,61,.18);
  border: 3px solid var(--green-deep);
  display: grid; place-items: center;
}
.outlet-card-icon svg { width: 38px; height: 38px; color: var(--green-dark); stroke-width: 3; }

.outlet-card h3 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.025em;
  margin-bottom: 6px;
}
.outlet-card p { font-size: 14px; color: var(--text-soft); line-height: 1.55; }

@media (max-width: 860px) {
  .outlet-grid { grid-template-columns: 1fr; gap: 32px; }
  .outlet-card { padding: 32px 28px; flex-direction: column; text-align: center; }
}

/* ============================================
   Catálogo
   ============================================ */

.catalog-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  margin-bottom: 40px;
  padding: 0 var(--pad);
}

.pill-eyebrow {
  display: inline-flex;
  align-items: center;
  background: var(--green);
  color: var(--bg-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .18em;
  padding: 6px 14px;
  border-radius: var(--r-pill);
}

.catalog-title {
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.05;
  margin-top: 4px;
}

.catalog-lead {
  font-size: 15px;
  color: var(--text-soft);
  line-height: 1.55;
  max-width: 620px;
}

/* Barra de filtros */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
}

.filter {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  padding: 0 18px 0 14px;
  height: 44px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  transition: border-color .15s ease;
}
.filter:hover { border-color: var(--text); }
.filter:focus-within { border-color: var(--green-deep); }

.filter .f-icon {
  display: grid; place-items: center;
  width: 18px; height: 18px;
  color: var(--text-soft);
}
.filter .f-icon svg { width: 100%; height: 100%; }

.filter select {
  appearance: none;
  border: none;
  background: transparent;
  font: inherit;
  color: inherit;
  outline: none;
  padding: 0 4px;
  cursor: pointer;
  min-width: 90px;
}

.filter .f-caret {
  font-size: 11px;
  color: var(--text-mute);
  pointer-events: none;
}

.filter-clear {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text-soft);
  font-size: 14px;
  font-weight: 500;
  padding: 0 8px;
  height: 44px;
  transition: color .15s ease;
}
.filter-clear:hover { color: var(--text); }
.filter-clear svg { width: 15px; height: 15px; }

/* ── Chips de filtro (familia y precio) ─────────────────────── */
.fchips {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.fchips-sub { margin-top: 2px; }
.fchip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  padding: 0 16px;
  height: 42px;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.fchip:hover { border-color: #0A0A0A; }
.fchip .count {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-mute);
  background: #f1f1f1;
  border-radius: 999px;
  padding: 2px 7px;
}
.fchip.active {
  background: #0A0A0A;
  border-color: #0A0A0A;
  color: #fff;
}
.fchip.active .count { background: #C4FF3D; color: #0A0A0A; }
.fchip-sm { height: 36px; font-size: 13px; font-weight: 500; padding: 0 14px; }

.filter-row {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
}


/* Filtro activo (con valor seleccionado) */
.filter.is-active {
  border-color: var(--green-deep);
  box-shadow: 0 0 0 3px rgba(166,214,58,.18);
}

/* Slider de rango de precios */
.price-range {
  width: 100%;
  max-width: 460px;
  margin: 18px auto 0;
}
.pr-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 13px;
  color: var(--text-soft);
  margin-bottom: 14px;
}
.pr-label { font-weight: 600; color: var(--text); }
.pr-values { font-weight: 500; }
.pr-sep { margin: 0 6px; color: var(--text-mute); }

.pr-track {
  position: relative;
  height: 6px;
  background: #e7e7e7;
  border-radius: var(--r-pill);
}
.pr-fill {
  position: absolute;
  height: 100%;
  background: var(--green);
  border-radius: var(--r-pill);
  pointer-events: none;
}

.pr-track input[type=range] {
  position: absolute;
  top: -8px;
  left: 0;
  width: 100%;
  height: 22px;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  pointer-events: none;
  margin: 0;
}
.pr-track input[type=range]::-webkit-slider-runnable-track {
  height: 22px;
  background: transparent;
}
.pr-track input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: white;
  border: 2px solid var(--bg-dark);
  cursor: pointer;
  pointer-events: auto;
  margin-top: 0;
  box-shadow: 0 2px 6px rgba(0,0,0,.15);
}
.pr-track input[type=range]::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: white;
  border: 2px solid var(--bg-dark);
  cursor: pointer;
  pointer-events: auto;
  box-shadow: 0 2px 6px rgba(0,0,0,.15);
}
.pr-track input[type=range]::-moz-range-track { background: transparent; }
.pr-track input[type=range]:focus { outline: none; }

.tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.tab {
  padding: 9px 18px;
  border-radius: var(--r-pill);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-soft);
  background: transparent;
  transition: all .15s ease;
}
.tab:hover { color: var(--text); }
.tab.active {
  background: var(--bg-dark);
  color: var(--text-on-dark);
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.product-card {
  background: white;
  border-radius: 22px;
  padding: 22px;
  position: relative;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  cursor: pointer;
  border: 1px solid #ececec;
  display: flex;
  flex-direction: column;
}
.product-card.is-in-cart {
  border-color: #C4FF3D;
  box-shadow: 0 0 0 2px #C4FF3D, 0 4px 20px rgba(196,255,61,0.2);
  background: linear-gradient(160deg, #fdfff5 0%, #fff 60%);
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 44px rgba(0,0,0,.08);
  border-color: #dcdcdc;
}

/* Badge esquina sup-der (DESTACADO / NUEVO) */
.product-card .badge {
  position: absolute;
  top: 18px;
  right: 18px;
  background: var(--green);
  color: var(--bg-dark);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
  padding: 6px 12px;
  border-radius: var(--r-pill);
  text-transform: uppercase;
  z-index: 2;
}

/* Botón corazón sup-izq */
.fav-btn {
  position: absolute;
  top: 16px;
  left: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: white;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--text-mute);
  transition: color .15s ease, border-color .15s ease;
  z-index: 2;
}
.fav-btn:hover { color: var(--text); border-color: var(--text); }
.fav-btn svg { width: 16px; height: 16px; stroke-width: 1.8; }

.product-img {
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 6px 0;
  background: transparent;
  padding: 0;
  overflow: hidden;
  position: relative;
}
.product-img img {
  width: 340%;
  height: 340%;
  max-width: none;
  max-height: none;
  object-fit: contain;
  object-position: center;
  display: block;
}

.product-cat {
  font-size: 13px;
  color: var(--text-mute);
  margin-bottom: 4px;
  font-weight: 500;
  text-align: center;
}

.product-name {
  font-size: 19px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.02em;
  margin: 0;
  text-align: center;
  color: var(--text);
}
.product-storage {
  color: var(--green-dark);
  font-weight: 700;
  font-size: .85em;
  white-space: nowrap;
}

.product-meta {
  font-size: 13.5px;
  color: var(--text-soft);
  margin: 4px 0 16px;
  font-weight: 500;
  text-align: center;
}
.color-short { display: none; }

/* Box condición */
.condition-box {
  background: #f5f5f4;
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 13px;
  line-height: 1.4;
  margin-bottom: 16px;
}
.condition-box .cb-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}
.condition-box .cb-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.condition-box .cb-dot.cb-excelente { background: #22c55e; }
.condition-box .cb-dot.cb-muy-buena { background: #84cc16; }
.condition-box .cb-dot.cb-buena     { background: #eab308; }
.condition-box .cb-dot.cb-regular   { background: #f97316; }
.condition-box .cb-detail {
  color: var(--text-soft);
  font-weight: 400;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.condition-box .cb-line {
  line-height: 1.35;
}

.info-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0;
  background: transparent;
  border-radius: 0;
  font-size: 12.5px;
  color: var(--text-soft);
  font-weight: 500;
  line-height: 1.3;
  margin: 0;
}
.info-tag::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
}
.info-tag svg { width: 14px; height: 14px; stroke-width: 1.5; flex-shrink: 0; color: var(--text-soft); }

/* Wrapper de la lista de detalles en la vista de detalle */
.detail-info .card-chips,
.detail-info .info-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
  padding: 14px 16px;
  background: var(--bg-band);
  border-radius: var(--r-md);
  margin: 4px 0;
}

.product-foot {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: auto;
}

.product-price {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -.025em;
  color: var(--text);
}

.product-price-old {
  font-size: 14px;
  color: var(--text-mute);
  text-decoration: line-through;
  font-weight: 500;
}

.product-detail-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px 18px;
  background: var(--bg-dark);
  color: white;
  border-radius: var(--r-pill);
  font-size: 14px;
  font-weight: 600;
  margin-top: 16px;
  transition: background .15s ease;
}
.product-detail-btn:hover { background: #1f2937; }

.product-detail-btn .arrow {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: white;
  color: var(--bg-dark);
  display: grid;
  place-items: center;
  transition: transform .15s ease;
}
.product-detail-btn:hover .arrow { transform: translateX(2px); }
.product-detail-btn .arrow svg { width: 14px; height: 14px; stroke-width: 2.2; }

.catalog-foot {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}

@media (max-width: 1024px) { .catalog-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px)  { .catalog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px)  { .catalog-grid { grid-template-columns: 1fr; } }

/* ============================================
   Beneficios
   ============================================ */

.benefits-band { padding: 24px 0 60px; }

.benefits {
  background: var(--bg-band);
  border-radius: var(--r-lg);
  padding: 32px 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px;
}

.benefit { display: flex; align-items: flex-start; gap: 14px; }

.benefit-icon {
  width: 38px; height: 38px;
  flex-shrink: 0;
  display: grid; place-items: center;
  color: var(--text);
}
.benefit-icon svg { width: 26px; height: 26px; }

.benefit h4 {
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: -.01em;
  margin-bottom: 4px;
}
.benefit p {
  font-size: 12.5px;
  color: var(--text-soft);
  line-height: 1.45;
}

.benefit-wa-btn {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 8px;
  background: #25d366; color: #fff;
  font-size: 12px; font-weight: 700;
  padding: 6px 12px; border-radius: 20px;
  text-decoration: none;
  transition: background .15s;
}
.benefit-wa-btn:hover { background: #1ebe5d; }
.benefit-wa-btn svg { width: 14px; height: 14px; flex-shrink: 0; }

.ver-mas-btn {
  background: none;
  border: none;
  padding: 0;
  margin-top: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  cursor: pointer;
  display: inline-block;
  letter-spacing: .01em;
}
.ver-mas-btn:hover { opacity: .7; }

/* ---- Modal garantía ---- */
.gmodal-overlay {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(0,0,0,0);
  display: none; place-items: center;
  padding: 20px;
  transition: background .25s;
}
.gmodal-overlay:not([hidden]) { display: grid; }
.gmodal-overlay.open { background: rgba(0,0,0,.55); }

.gmodal-card {
  background: #fff;
  border-radius: 20px;
  padding: 36px 32px 32px;
  max-width: 440px; width: 100%;
  position: relative;
  box-shadow: 0 24px 60px rgba(0,0,0,.18);
  transform: translateY(16px) scale(.97);
  opacity: 0;
  transition: transform .28s cubic-bezier(.34,1.4,.64,1), opacity .22s;
}
.gmodal-overlay.open .gmodal-card {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.gmodal-close {
  position: absolute; top: 16px; right: 18px;
  background: #f1f1f1; border: none;
  width: 30px; height: 30px; border-radius: 50%;
  font-size: 13px; cursor: pointer; color: #555;
  display: grid; place-items: center;
  transition: background .15s;
}
.gmodal-close:hover { background: #e0e0e0; }

.gmodal-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: #f0fce8;
  display: grid; place-items: center;
  margin-bottom: 18px;
}
.gmodal-icon svg { width: 26px; height: 26px; stroke: #4caf50; }

.gmodal-card h3 {
  font-size: 20px; font-weight: 800;
  letter-spacing: -.02em; margin-bottom: 4px;
}
.gmodal-sub {
  font-size: 13px; color: #4caf50;
  font-weight: 600; margin-bottom: 22px;
}

.gmodal-body { display: flex; flex-direction: column; gap: 14px; }
.gmodal-item { display: flex; gap: 12px; align-items: flex-start; }
.gmodal-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent); flex-shrink: 0; margin-top: 6px;
}
.gmodal-item p {
  font-size: 13.5px; color: #444; line-height: 1.6; margin: 0;
}

@media (max-width: 960px) { .benefits { grid-template-columns: repeat(2, 1fr); gap: 24px; } }
@media (max-width: 520px) { .benefits { grid-template-columns: 1fr; padding: 24px; } }

/* ============================================
   CTA Banner final
   ============================================ */

.cta-banner {
  background: var(--bg-dark);
  color: var(--text-on-dark);
  border-radius: var(--r-xl);
  padding: 50px 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
  margin: 30px 0 80px;
  position: relative;
  overflow: hidden;
}

.cta-banner h3 {
  font-size: clamp(34px, 4.4vw, 50px);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1;
}
.accent-green { color: var(--green); }

.cta-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 30px;
}
.cta-banner p {
  font-size: 14px;
  color: #b3b5b8;
  max-width: 280px;
  line-height: 1.5;
}

@media (max-width: 760px) {
  .cta-banner { grid-template-columns: 1fr; padding: 36px; }
  .cta-right { flex-direction: column; align-items: flex-start; gap: 18px; }
}

/* ============================================
   Footer
   ============================================ */

.site-footer {
  background: var(--bg-dark);
  color: #9ca3af;
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line-dark);
}
.footer-brand img { height: 80px; width: auto; margin-bottom: 16px; }
.footer-brand p { font-size: 13px; max-width: 300px; }
.footer-grid h5 {
  color: white;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.footer-grid ul { display: grid; gap: 8px; }
.footer-grid a { font-size: 14px; transition: color .15s ease; }
.footer-grid a:hover { color: white; }

.footer-bottom {
  padding-top: 22px;
  font-size: 12px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; gap: 20px 12px; }
  .footer-brand { grid-column: 1 / -1; display: flex; align-items: center; gap: 14px; text-align: left; margin-bottom: 4px; }
  .footer-brand img { margin-bottom: 0 !important; flex-shrink: 0; }
  .footer-brand p { max-width: 100%; font-size: 12px; }
}

/* ============================================
   Detalle de producto
   ============================================ */

.view { display: none; }
.view.active { display: block; }

.breadcrumb {
  padding: 24px 0 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.bc-back {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--bg-dark);
  border: none;
  border-radius: var(--r-pill);
  padding: 8px 16px 8px 12px;
  font-size: 13px; font-weight: 600; color: #fff;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: opacity .15s;
}
.bc-back svg { flex-shrink: 0; }
.bc-back:hover { opacity: .8; }

.fab-back {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 1000;
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--bg-dark);
  color: #fff;
  border: none;
  border-radius: var(--r-pill);
  padding: 12px 18px 12px 14px;
  font-size: 14px; font-weight: 600;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
  transition: opacity .15s, transform .15s;
}
.fab-back:hover { opacity: .9; transform: translateY(-1px); }
.fab-back svg { flex-shrink: 0; }
.fab-back.is-hidden {
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
}
@media (max-width: 540px) {
  .fab-back { left: 14px; bottom: 14px; padding: 11px 16px 11px 12px; font-size: 13px; }
}
.bc-product-label {
  font-size: 13px; font-weight: 500; color: var(--text-soft);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  max-width: 320px;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 40px;
  padding: 30px 0 60px;
  align-items: start;
}
.detail-left {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.gallery-main {
  background: white;
  border-radius: var(--r-lg);
  aspect-ratio: 1 / 1;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  cursor: zoom-in;
}
.gallery-main img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform .3s ease;
}
.gallery-main:hover img { transform: scale(1.03); }

.gallery-main .badge {
  position: absolute;
  top: 18px; left: 18px;
  background: var(--green);
  color: var(--bg-dark);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  text-transform: uppercase;
}

.thumbs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-top: 12px;
}

.thumb {
  background: white;
  border-radius: var(--r-sm);
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 2px solid var(--line);
  transition: border .15s ease;
  cursor: pointer;
}
.thumb:hover { border-color: var(--text-mute); }
.thumb.active { border-color: var(--bg-dark); }
.thumb img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }

.detail-info {
  display: flex; flex-direction: column; gap: 18px;
  background: #fff;
  border-radius: 28px;
  border: 1px solid var(--line);
  box-shadow: 0 8px 32px rgba(0,0,0,.07);
  padding: 28px;
  position: sticky;
  top: 24px;
  overflow: hidden;
}

.detail-eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .2em;
  color: var(--text-soft);
  text-transform: uppercase;
}
.detail-title {
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.025em;
}

.dp-code {
  display: inline-block;
  font-family: 'SF Mono', 'Fira Mono', monospace;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .1em;
  color: #999;
  background: #efefef;
  border-radius: 6px;
  padding: 4px 10px;
  margin-top: 2px;
}

.rating {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--text-soft);
}
.stars { color: #FBBF24; display: flex; gap: 1px; }
.stars svg { width: 16px; height: 16px; fill: currentColor; }

.detail-price {
  display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap;
}
.detail-price .now { font-size: 38px; font-weight: 900; letter-spacing: -.03em; }
.detail-price .old { font-size: 18px; color: var(--text-mute); text-decoration: line-through; }

.save-badge {
  background: var(--green);
  color: var(--bg-dark);
  font-size: 12px;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: var(--r-pill);
}

.promo-chip {
  background: #FFE066;
  color: #4B3A00;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .5px;
  padding: 4px 9px;
  border-radius: var(--r-pill);
  text-transform: uppercase;
}
.promo-note {
  font-size: 11.5px;
  color: var(--text-mute);
  margin: 6px 0 0;
  line-height: 1.4;
}

.btn-addi-color .addi-price {
  margin-left: auto;
  font-weight: 800;
  font-size: 14px;
  color: var(--bg-dark);
}
.btn-addi-color .addi-price:empty { display: none; }
.btn-addi-color { justify-content: flex-start !important; gap: 10px; }
.btn-addi-color .addi-label { font-weight: 600; }
@media (max-width: 420px) {
  .btn-addi-color .addi-price { font-size: 13px; }
}

.detail-desc { font-size: 14px; color: var(--text-soft); line-height: 1.6; }
.detail-actions { display: grid; gap: 10px; margin-top: 4px; }
.detail-actions .btn { justify-content: center; padding: 16px 22px; font-size: 15px; }

.btn-addi-color {
  background: white;
  color: var(--text);
  border: 1.5px solid var(--line);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
}
.btn-addi-color:hover { border-color: var(--text); }
.btn-addi-color .addi-logo {
  background: var(--bg-dark);
  color: var(--green);
  font-weight: 800;
  font-size: 11px;
  padding: 4px 9px;
  border-radius: 6px;
  letter-spacing: .04em;
}

.detail-trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 8px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.trust-item {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; gap: 6px;
  font-size: 12px; color: var(--text-soft); line-height: 1.3;
}
.trust-item svg { width: 22px; height: 22px; color: var(--text); }

@media (max-width: 860px) {
  .detail-grid { grid-template-columns: 1fr; gap: 30px; }
}

.why-outlet {
  padding: 28px 0 0;
}
.why-list { display: grid; gap: 14px; margin-top: 24px; }
.why-list li {
  display: flex; gap: 12px; align-items: center;
  font-size: 14px; color: var(--text);
}
.check {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--green);
  display: grid; place-items: center;
}
.check svg { width: 12px; height: 12px; color: var(--bg-dark); }

.video-card {
  background: var(--bg-dark);
  color: white;
  border-radius: 0 0 28px 28px;
  padding: 30px;
  position: relative;
  width: calc(100% + 56px);
  margin-left: -28px;
  margin-right: -28px;
  margin-bottom: -28px;
  aspect-ratio: 9/16;
  display: flex; flex-direction: column; justify-content: flex-end;
  overflow: hidden;
}
.video-card::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(60% 80% at 50% 30%, rgba(196,255,61,.12), transparent 70%);
}
.video-card > * { position: relative; }
.video-card h4 { font-size: 26px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }

.play-btn {
  position: absolute; inset: 0; margin: auto;
  width: 78px; height: 78px;
  border-radius: 50%;
  background: var(--green);
  color: var(--bg-dark);
  display: grid; place-items: center;
  cursor: pointer;
  z-index: 2;
  transition: transform .2s ease;
}
.play-btn:hover { transform: scale(1.08); }
.play-btn svg { width: 28px; height: 28px; fill: currentColor; margin-left: 4px; }

.real-video-embed {
  position: absolute; inset: 0;
  border-radius: 0 0 28px 28px;
  overflow: hidden;
}
.real-video-embed iframe {
  width: 100%;
  height: calc(100% + 160px);
  margin-top: -80px;
  border: none;
  pointer-events: none; /* refuerzo: el iframe nunca recibe clics (además del ::after) */
}
.real-video-embed::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
}


.confidence {
  background: white;
  border-radius: var(--r-lg);
  padding: 28px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 22px;
  align-items: center;
  border: 1px solid var(--line);
  margin: 24px 0;
}
.confidence-icon {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--green);
  display: grid; place-items: center;
}
.confidence-icon svg { width: 28px; height: 28px; color: var(--bg-dark); }
.confidence h4 { font-size: 17px; font-weight: 800; letter-spacing: -.015em; margin-bottom: 4px; }
.confidence p { font-size: 13px; color: var(--text-soft); line-height: 1.5; }

.related h3 {
  font-size: 26px; font-weight: 800; letter-spacing: -.025em; margin-bottom: 24px;
}
.related .catalog-grid { gap: 16px; }

/* ============================================
   Catálogo — chips de detalles en cards
   ============================================ */
.card-chips {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 10px 0 0;
  min-height: 38px;
}
.detail-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--text-soft);
  font-weight: 500;
  padding: 0;
  background: transparent;
  line-height: 1.3;
  margin: 0;
}
.detail-tag::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
}
.detail-tag svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  stroke-width: 1.5;
  color: var(--text-mute);
}
.detail-tag-more {
  font-size: 11.5px;
  color: var(--text-mute);
  font-weight: 500;
}
.detail-tag-more::before { display: none; }

.catalog-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: #777;
  font-size: 16px;
}

/* Items de detalle en la vista de producto */
.why-list .why-item-detalle {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 14px 0;
  border-bottom: 1px solid #eee;
  list-style: none;
}
.why-list .why-item-detalle:last-child { border-bottom: none; }
.why-list .why-item-detalle strong {
  font-size: 15px;
  font-weight: 700;
  color: #111;
}
.why-list .why-item-detalle p {
  font-size: 14px;
  color: #555;
  line-height: 1.5;
  margin: 0;
}

/* ---- FAQ ---- */
#faq .section-title { margin-bottom: 28px; }
.faq-list { display: flex; flex-direction: column; gap: 0; margin-bottom: 48px; border: 1px solid #e8e8e8; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 4px 24px rgba(0,0,0,0.07); }

.faq-item { padding: 14px 18px; border-bottom: 1px solid #f0f0f0; }
.faq-item:last-child { border-bottom: none; }
.faq-q { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 7px; }
.faq-icon {
  width: 18px; height: 18px; border-radius: 50%;
  background: #efefef; color: #999;
  font-size: 10px; font-weight: 900;
  display: grid; place-items: center; flex-shrink: 0; margin-top: 2px;
}
.faq-question { font-size: 13px; font-weight: 600; margin: 1px 0 2px; line-height: 1.4; color: #111; }
.faq-meta { font-size: 10.5px; color: #c0c0c0; display: block; margin-bottom: 1px; }
.faq-a {
  font-size: 12.5px; color: #555; line-height: 1.6;
  padding-left: 28px;
}
.faq-a a.faq-link { color: var(--accent); font-weight: 600; text-decoration: none; }
.faq-a a.faq-link:hover { text-decoration: underline; }

.faq-item:has(.faq-a:empty) .faq-a { display: none; }

.faq-form-wrap {
  max-width: 560px;
  background: #f7f7f7;
  border-radius: 20px;
  padding: 32px;
}
.faq-form-title { font-size: 20px; font-weight: 800; margin-bottom: 6px; }
.faq-form-sub { font-size: 13px; color: #777; margin-bottom: 20px; }
.faq-form { display: flex; flex-direction: column; gap: 12px; }
.faq-form input, .faq-form textarea {
  width: 100%; padding: 12px 16px;
  border: 1.5px solid #e0e0e0; border-radius: 12px;
  font-size: 14px; font-family: inherit;
  outline: none; resize: vertical;
  box-sizing: border-box;
  transition: border-color .15s;
}
.faq-form input:focus, .faq-form textarea:focus { border-color: var(--accent); }
.faq-sent { font-size: 14px; color: #4caf50; font-weight: 600; margin-top: 12px; }

.faq-avatar {
  width: 36px !important; height: 36px !important;
  min-width: 36px; min-height: 36px;
  max-width: 36px; max-height: 36px;
  border-radius: 50%;
  object-fit: cover; flex-shrink: 0;
  display: block;
}
.faq-q { align-items: flex-start; }
.faq-answer {
  margin-top: 10px;
  padding-left: 28px;
  border-top: 1px solid #f0f0f0;
  padding-top: 10px;
  background: linear-gradient(to right, #e8e8e8 0%, rgba(232,232,232,0) 60%, #fff 100%);
  border-right: none;
  margin-left: -18px;
  margin-right: -18px;
  margin-bottom: -14px;
  padding-right: 18px;
  padding-bottom: 14px;
  padding-left: 46px;
  border-radius: 0;
}
.faq-answer-inner { display: flex; gap: 10px; align-items: flex-start; }
.faq-answer-name { font-size: 11px; font-weight: 700; color: #333; display: block; margin-bottom: 3px; }
.faq-loading { font-size: 13px; color: #bbb; padding: 16px 18px; }

.faq-actions {
  display: flex; gap: 12px; flex-wrap: wrap;
  margin-bottom: 24px;
}
.faq-more-btn {
  padding: 10px 20px; border-radius: 999px;
  background: #f0f0f0; color: #333;
  font-size: 13px; font-weight: 600;
  border: none; cursor: pointer;
  transition: background .15s;
}
.faq-more-btn:hover { background: #e0e0e0; }
.faq-ask-btn {
  padding: 10px 20px; border-radius: 999px;
  background: var(--accent); color: #111;
  font-size: 13px; font-weight: 700;
  border: none; cursor: pointer;
  transition: background .15s;
}
.faq-ask-btn:hover { opacity: .85; }

/* ── Lightbox ── */
#xm-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  align-items: center;
  justify-content: center;
}
#xm-lightbox.open { display: flex; }
.lb-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.92);
}
.lb-img {
  position: relative;
  max-width: 92vw;
  max-height: 92vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 0 60px rgba(0,0,0,.6);
}
.lb-close {
  position: absolute;
  top: 18px; right: 18px;
  background: rgba(255,255,255,.12);
  border: none;
  color: #fff;
  width: 42px; height: 42px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  display: grid;
  place-items: center;
  z-index: 1;
  transition: background .15s;
}
.lb-close:hover { background: rgba(255,255,255,.25); }
.lb-prev, .lb-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,.12);
  border: none;
  color: #fff;
  width: 48px; height: 48px;
  border-radius: 50%;
  font-size: 26px;
  cursor: pointer;
  display: grid;
  place-items: center;
  z-index: 1;
  transition: background .15s;
}
.lb-prev:hover, .lb-next:hover { background: rgba(255,255,255,.25); }
.lb-prev { left: 16px; }
.lb-next { right: 16px; }
.lb-counter {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.6);
  font-size: 13px;
  z-index: 1;
}
