/* =====================================================
   ORTOPEDIA PAYSANDÚ — Distribuidor Oficial Mercur
   Home + PDP: réplica Shock Doctor · Tienda: réplica Incrediwear
   ===================================================== */

:root {
  /* Paleta */
  --negro: #0c0c0f;
  --carbon: #121212;
  --francia: #1e5ae8;
  --francia-hover: #1747be;
  --francia-suave: #e8efff;
  --marino: #002160;
  --blanco: #ffffff;
  --gris-fondo: #f6f6f7;
  --gris-borde: #e6e7ea;
  --texto: #0c0c0f;
  --texto-sec: #63666f;
  --exito: #1a9b57;

  /* Tipografía */
  --font-display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;

  --header-h: 64px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--texto);
  background: var(--blanco);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; background: none; border: none; color: inherit; }
ul { list-style: none; }

.container { width: min(1400px, 96%); margin: 0 auto; }

h1, h2, h3, .display {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: 800;
  line-height: .95;
  letter-spacing: .005em;
}

/* ---------- Botones píldora (estilo Shock Doctor) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  font-size: .75rem;
  padding: .95rem 1.9rem;
  border-radius: 30px;
  border: 1.5px solid transparent;
  transition: background .18s, color .18s, border-color .18s, transform .1s;
  user-select: none;
  white-space: nowrap;
}
.btn:active { transform: scale(.98); }
.btn-white { background: #fff; color: #000; }
.btn-white:hover { background: #e6e6e6; }
.btn-primary { background: var(--francia); color: #fff; }
.btn-primary:hover { background: var(--francia-hover); }
.btn-dark { background: var(--negro); color: #fff; }
.btn-dark:hover { background: #2a2a30; }
.btn-outline { background: transparent; color: var(--negro); border-color: var(--negro); }
.btn-outline:hover { background: var(--negro); color: #fff; }
.btn-block { width: 100%; }
.btn-xl { font-size: .82rem; padding: 1.1rem 2.4rem; }

/* Link subrayado estilo SD */
.link-underline {
  display: inline-block;
  font-size: .82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  border-bottom: 2px solid currentColor;
  padding-bottom: 2px;
}

/* ---------- Badges ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-body);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: .06em;
  font-size: .62rem;
  padding: .3rem .55rem;
  border-radius: 3px;
}
.badge-new { background: var(--francia); color: #fff; }
.badge-oficial { background: var(--marino); color: #fff; }

/* =====================================================
   ANNOUNCEMENT BAR + HEADER (réplica Shock Doctor desktop)
   ===================================================== */
.announcement {
  background: #000;
  color: #fff;
  text-align: center;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .05em;
  padding: .55rem 1rem;
  text-transform: uppercase;
  position: relative;
  z-index: 130;
}
.announcement a { text-decoration: underline; text-underline-offset: 3px; }

.header {
  position: sticky;
  top: 0;
  z-index: 120;
  background: #fff;
  transition: background .25s ease, box-shadow .25s ease;
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  height: var(--header-h);
  padding: 0 2rem;
}
.logo-link { display: flex; align-items: center; flex: 0 0 auto; }
.logo-link img { height: 40px; width: auto; }
.logo-link .logo-dark { display: block; }
.logo-link .logo-light { display: none; }

.nav {
  display: flex;
  gap: 1.7rem;
  margin: 0 auto;
}
.nav > .nav-item { position: relative; }
.nav a.nav-link {
  display: flex;
  align-items: center;
  height: var(--header-h);
  color: var(--texto);
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  border-bottom: 2px solid transparent;
  transition: color .15s;
}
.nav a.nav-link:hover, .nav a.nav-link.active { border-color: currentColor; }

.header-icons { display: flex; align-items: center; gap: .9rem; flex: 0 0 auto; }
.icon-btn {
  color: var(--texto);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: .45rem;
  position: relative;
}
.icon-btn svg { width: 22px; height: 22px; }
.icon-btn:hover { opacity: .7; }

.cart-count {
  position: absolute;
  top: 0;
  right: -3px;
  background: var(--francia);
  color: #fff;
  font-size: .6rem;
  font-weight: 700;
  min-width: 16px;
  height: 16px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

/* Header azul marino del logo (fichas de producto) */
.header.dark { background: var(--marino); }
.header.dark .nav a.nav-link,
.header.dark .icon-btn { color: #fff; }

/* Header transparente sobre el hero (solo home) */
.header.transparent {
  position: absolute;
  top: auto;
  left: 0; right: 0;
  background: transparent;
}
.header.transparent:not(.scrolled):not(:hover) { color: #fff; }
.header.transparent:not(.scrolled):not(:hover) .nav a.nav-link,
.header.transparent:not(.scrolled):not(:hover) .icon-btn { color: #fff; }
.header.transparent:not(.scrolled):not(:hover) .logo-dark { display: none; }
.header.transparent:not(.scrolled):not(:hover) .logo-light { display: block; }
.header.transparent.scrolled { position: fixed; top: 0; background: #fff; box-shadow: 0 1px 0 var(--gris-borde); }
.header.transparent:hover { background: #fff; box-shadow: 0 1px 0 var(--gris-borde); }

/* Mega menú (menú flotante) */
.mega {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: min(1200px, 94vw);
  background: #fff;
  color: var(--texto);
  box-shadow: 0 30px 60px rgba(10,12,20,.18);
  border-top: 1px solid var(--gris-borde);
  display: none;
  padding: 2.4rem 2.6rem;
  grid-template-columns: 1fr 1fr 1.2fr 1.2fr;
  gap: 2.4rem;
}
.nav-item:hover .mega, .nav-item:focus-within .mega { display: grid; }
.mega h4 {
  font-size: .95rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 1rem;
}
.mega li { margin-bottom: .65rem; }
.mega li a { font-size: .86rem; font-weight: 600; color: #24262c; }
.mega li a:hover { text-decoration: underline; text-underline-offset: 3px; }
.mega li a small { display: block; font-weight: 400; color: var(--texto-sec); font-size: .74rem; }
.mega .mega-all { margin-top: 1.2rem; }
.mega .mega-all a { font-weight: 800; font-size: .82rem; text-transform: uppercase; letter-spacing: .04em; }
.mega-card { position: relative; border-radius: 6px; overflow: hidden; aspect-ratio: 16 / 11; display: flex; align-items: flex-end; color: #fff; }
.mega-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mega-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.7) 100%); }
.mega-card div { position: relative; z-index: 2; padding: 1.1rem 1.2rem; }
.mega-card h3 { font-size: 1.25rem; }
.mega-card span { font-size: .72rem; font-weight: 600; color: #d9dde6; }

@media (max-width: 1020px) {
  .nav { display: none; }
  .header-inner { justify-content: space-between; }
  .menu-toggle-mobile { display: flex !important; }
}
.menu-toggle-mobile { display: none; }

/* Menú drawer móvil */
.menu-drawer {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: min(380px, 88%);
  background: #fff;
  z-index: 230;
  transform: translateX(-100%);
  transition: transform .3s ease;
  display: flex;
  flex-direction: column;
  padding: 1.4rem;
}
.menu-drawer.open { transform: none; }
.menu-drawer .menu-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.6rem; }
.menu-drawer .menu-head img { height: 36px; }
.menu-drawer nav a {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 1.9rem;
  padding: .5rem 0;
  border-bottom: 1px solid var(--gris-borde);
}
.menu-drawer nav a:hover { color: var(--francia); }
.menu-drawer .menu-foot { margin-top: auto; font-size: .78rem; color: var(--texto-sec); }
.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8,10,16,.55);
  z-index: 220;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s;
}
.menu-overlay.open { opacity: 1; pointer-events: auto; }

/* =====================================================
   HERO full-bleed (réplica SD)
   ===================================================== */
.hero {
  position: relative;
  min-height: 94vh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  background: var(--negro);
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 68% 25%; }
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.18) 55%, rgba(0,0,0,0) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 6rem clamp(1.4rem, 4vw, 4.2rem) 7rem;
  max-width: 760px;
}
.hero-kicker {
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: .7rem;
}
.hero h1 { font-size: clamp(2.9rem, 6.5vw, 5.4rem); text-shadow: 0 2px 24px rgba(0,0,0,.3); }
.hero-divider { width: 88px; height: 2px; background: rgba(255,255,255,.7); margin: 1.5rem 0; }
.hero-sub { font-weight: 700; margin-bottom: 1.6rem; font-size: 1rem; }

/* =====================================================
   TICKER (cinta naranja SD → Azul Francia)
   ===================================================== */
.ticker {
  background: var(--francia);
  color: #fff;
  overflow: hidden;
  white-space: nowrap;
  padding: .6rem 0;
  position: relative;
  z-index: 3;
}
.hero + .ticker { margin-top: -2.4rem; }
.ticker-track {
  display: inline-flex;
  align-items: center;
  animation: ticker 30s linear infinite;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.ticker-track span { margin: 0 1.4rem; }
.ticker-track svg { width: 16px; height: 16px; flex: 0 0 16px; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* =====================================================
   MOSAICO 2×2 (réplica SD)
   ===================================================== */
.mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem;
  padding: 1.6rem clamp(1rem, 2vw, 1.6rem);
}
.mosaic-item {
  position: relative;
  aspect-ratio: 16 / 10.5;
  overflow: hidden;
  border-radius: 4px;
  display: flex;
  align-items: flex-end;
  color: #fff;
  background: var(--carbon);
}
.mosaic-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.mosaic-item:hover img { transform: scale(1.05); }
.mosaic-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,.72) 100%);
}
.mosaic-content { position: relative; z-index: 2; padding: 2rem 2.1rem; }
.mosaic-content h3 { font-size: clamp(1.6rem, 2.6vw, 2.3rem); margin-bottom: .35rem; }
.mosaic-content p { font-size: .9rem; font-weight: 700; margin-bottom: 1rem; }
@media (max-width: 800px) { .mosaic { grid-template-columns: 1fr; } }

/* =====================================================
   SECCIONES + CARRUSELES DE PRODUCTO (réplica SD)
   ===================================================== */
.section { padding: 4.2rem 0; }
.section-head { margin-bottom: 2rem; }
.section-head h2 { font-size: clamp(2.1rem, 4.2vw, 3.2rem); }
.section-head .divider { width: 88px; height: 2px; background: #c9cbd1; margin-top: 1rem; }

.row-wrap { position: relative; }
.product-row {
  display: flex;
  gap: 1.1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: .4rem;
}
.product-row::-webkit-scrollbar { display: none; }
.product-row > * { scroll-snap-align: start; }
.product-row .product-card { flex: 0 0 calc((100% - 3.3rem) / 4); min-width: 250px; }
@media (max-width: 700px) { .product-row .product-card { flex-basis: 74%; } }

.row-arrow {
  position: absolute;
  top: 38%;
  right: -6px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 4px 18px rgba(10,12,20,.18);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  transition: transform .15s;
}
.row-arrow:hover { transform: scale(1.06); }
.row-arrow.prev { right: auto; left: -6px; }
.row-arrow svg { width: 20px; height: 20px; }

/* Card producto (réplica SD) */
.product-card { display: flex; flex-direction: column; }
.product-card-img {
  position: relative;
  background: var(--gris-fondo);
  border-radius: 6px;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.8rem;
  overflow: hidden;
}
.product-card-img img {
  max-height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform .35s ease;
}
.product-card:hover .product-card-img img { transform: scale(1.05); }
.product-card-img .badge { position: absolute; top: .8rem; left: .8rem; z-index: 2; }
.product-card-info { padding: .9rem .15rem 0; }
.color-dots { display: flex; align-items: center; gap: .35rem; margin-bottom: .5rem; }
.color-dots i { width: 11px; height: 11px; border-radius: 50%; background: #17181c; display: inline-block; }
.color-dots i.blue { background: var(--francia); }
.product-card-info .name-price {
  display: flex;
  align-items: baseline;
  gap: .6rem;
  font-size: .92rem;
  font-weight: 700;
}
.product-card-info .name-price .dash { color: #b6b8bf; font-weight: 400; }
.product-card-info .meta { font-size: .74rem; color: var(--texto-sec); margin-top: .2rem; }

/* =====================================================
   BANNER full-bleed centrado (réplica SD)
   ===================================================== */
.promo-banner {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
  background: var(--negro);
}
.promo-banner img.bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .72;
}
.promo-banner::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.32); }
.promo-banner-content { position: relative; z-index: 2; padding: 4rem 1.5rem; max-width: 1040px; }
.promo-banner-content h2 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); margin-bottom: .5rem; }
.promo-banner-content p { font-weight: 700; margin-bottom: 1.7rem; }

/* =====================================================
   TABS (réplica SD "Trending Now")
   ===================================================== */
.tabs-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.tabs-bar {
  display: flex;
  gap: 1.9rem;
  border-bottom: 1px solid var(--gris-borde);
  overflow-x: auto;
  scrollbar-width: none;
  flex: 1;
}
.tabs-bar::-webkit-scrollbar { display: none; }
.tab-btn {
  font-size: .88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .03em;
  color: #9b9ea6;
  padding: .5rem 0 .9rem;
  border-bottom: 3px solid transparent;
  white-space: nowrap;
  transition: color .15s, border-color .15s;
}
.tab-btn.active, .tab-btn:hover { color: var(--negro); border-color: var(--francia); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* =====================================================
   SHOP THE LOOK (UGC)
   ===================================================== */
.ugc-head { text-align: center; margin-bottom: 2rem; }
.ugc-head h2 { font-size: clamp(2rem, 4vw, 3rem); }
.ugc-head a { display: inline-block; font-size: .82rem; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; margin-top: .4rem; }
.ugc-row {
  display: flex;
  gap: 1.1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.ugc-row::-webkit-scrollbar { display: none; }
.ugc-item { flex: 0 0 calc((100% - 3.3rem) / 4); min-width: 240px; scroll-snap-align: start; position: relative; }
.ugc-item .ugc-img { display: block; border-radius: 8px; overflow: hidden; aspect-ratio: 3 / 4; }
.ugc-item .ugc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.ugc-item:hover .ugc-img img { transform: scale(1.04); }
/* Chip del producto flotando sobre la foto: siempre visible */
.ugc-chip {
  position: absolute;
  left: .7rem;
  right: .7rem;
  bottom: .7rem;
  display: flex;
  align-items: center;
  gap: .6rem;
  border-radius: 10px;
  padding: .5rem .6rem .5rem .8rem;
  background: #fff;
  box-shadow: 0 8px 24px rgba(10, 14, 30, .22);
}
.ugc-chip-main { display: flex; align-items: center; gap: .7rem; flex: 1; min-width: 0; }
.ugc-chip-main:hover .t { text-decoration: underline; text-underline-offset: 3px; }
.ugc-add {
  flex: 0 0 38px;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--francia);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s, transform .15s;
}
.ugc-add:hover { background: var(--marino); transform: scale(1.08); }
.ugc-add svg { width: 20px; height: 20px; }
/* Mini selector de talle al tocar el + */
.qa-pop {
  position: absolute;
  right: .4rem;
  bottom: calc(100% + .5rem);
  background: var(--negro);
  border-radius: 12px;
  padding: .5rem .6rem;
  display: flex;
  align-items: center;
  gap: .45rem;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .4);
  animation: rise .2s ease both;
  z-index: 5;
}
.qa-pop::after {
  content: "";
  position: absolute;
  right: 1.1rem;
  top: 100%;
  border: 7px solid transparent;
  border-top-color: var(--negro);
}
.qa-pop .ql { color: #b9bfcc; font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.qa-pop button {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: #24262e;
  color: #fff;
  font-weight: 700;
  font-size: .82rem;
  transition: background .12s;
}
.qa-pop button:hover { background: var(--francia); }
.ugc-chip img { width: 42px; height: 42px; object-fit: contain; background: var(--gris-fondo); border-radius: 6px; padding: 3px; mix-blend-mode: multiply; }
.ugc-chip .t { font-size: .78rem; font-weight: 600; line-height: 1.25; }
.ugc-chip .p { font-size: .74rem; color: var(--texto-sec); }

/* =====================================================
   GUÍAS DE PRODUCTO (réplica SD)
   ===================================================== */
.guides-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.guide-card {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 4 / 3.1;
  display: flex;
  align-items: flex-end;
  color: #fff;
  background: var(--carbon);
}
.guide-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.guide-card:hover img { transform: scale(1.04); }
.guide-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.02) 35%, rgba(0,0,0,.75) 100%); }
.guide-card-content { position: relative; z-index: 2; padding: 1.7rem; }
.guide-card-content .k { font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #d6dae2; display: block; margin-bottom: .35rem; }
.guide-card-content h3 { font-size: clamp(1.4rem, 2vw, 1.9rem); margin-bottom: 1rem; }
@media (max-width: 900px) { .guides-grid { grid-template-columns: 1fr; } .guide-card { aspect-ratio: 16 / 9; } }

/* =====================================================
   RESEÑAS
   ===================================================== */
.reviews-head { text-align: center; margin-bottom: 2.2rem; }
.reviews-head h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
.reviews-head p { color: var(--texto-sec); font-weight: 600; margin-top: .5rem; }
.stars { color: #f5a623; letter-spacing: 2px; font-size: 1rem; }
.reviews-row {
  display: flex;
  gap: 1.1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: .4rem;
}
.reviews-row::-webkit-scrollbar { display: none; }
.review-card {
  flex: 0 0 calc((100% - 3.3rem) / 4);
  min-width: 255px;
  scroll-snap-align: start;
  background: var(--gris-fondo);
  border-radius: 10px;
  padding: 1.5rem 1.4rem;
}
.review-card h4 { font-weight: 700; font-size: .95rem; margin: .5rem 0 .4rem; }
.review-card p { font-size: .84rem; color: #3d4048; }
.review-card .who { margin-top: .9rem; font-size: .76rem; color: var(--texto-sec); }
.review-card .who strong { display: block; color: var(--texto); font-size: .8rem; }

/* =====================================================
   TRUST BAR
   ===================================================== */
.trustbar { background: var(--gris-fondo); border-top: 1px solid var(--gris-borde); padding: 2.8rem 0; }
.trustbar-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; text-align: center; }
.trust-item svg { width: 30px; height: 30px; margin: 0 auto .6rem; display: block; color: var(--francia); }
.trust-item h3 { font-family: var(--font-body); font-size: .88rem; font-weight: 700; text-transform: none; letter-spacing: 0; }
.trust-item p { font-size: .76rem; color: var(--texto-sec); margin-top: .2rem; }
@media (max-width: 800px) { .trustbar-grid { grid-template-columns: repeat(2, 1fr); } }

/* =====================================================
   FOOTER (réplica SD: negro, títulos condensados, logo marca de agua)
   ===================================================== */
.footer { background: #000; color: #d9dce2; overflow: hidden; }
.footer-main {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.4rem;
  padding: 4rem 0 2rem;
}
.footer h3 {
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 1.2rem;
}
.footer li { margin-bottom: .7rem; }
.footer li a, .footer li span { font-size: .88rem; font-weight: 600; color: #e8eaef; }
.footer li a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-watermark {
  display: flex;
  justify-content: center;
  padding: 2rem 0 3rem;
}
.footer-watermark img {
  height: clamp(120px, 22vw, 230px);
  width: auto;
  opacity: .22;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 1.2rem 0;
  font-size: .74rem;
  color: #9aa0ab;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
@media (max-width: 900px) { .footer-main { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-main { grid-template-columns: 1fr; } }

/* =====================================================
   TIENDA (réplica Incrediwear)
   ===================================================== */
.shop-header { padding: 3rem 0 1.4rem; }
.shop-header h1 {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  color: var(--negro);
  line-height: 1;
}
.shop-header .divider { width: 88px; height: 2px; background: #c9cbd1; margin-top: .9rem; }
.shop-toolbar {
  border-top: 1px solid var(--gris-borde);
  padding: .85rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.shop-count {
  font-size: .74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--texto-sec);
}
.shop-toolbar-right { display: flex; align-items: center; gap: 1.6rem; }
.filter-toggle {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-size: .76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .09em;
  color: var(--negro);
}
.filter-toggle svg { width: 17px; height: 17px; }
.filter-toggle:hover { text-decoration: underline; text-underline-offset: 4px; }
.grid-toggles { display: flex; gap: .8rem; }
.grid-toggles button { color: #c2c4c9; display: flex; }
.grid-toggles button.active, .grid-toggles button:hover { color: var(--negro); }
.grid-toggles svg { width: 20px; height: 20px; }

.shop-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}
.shop-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .shop-grid { grid-template-columns: repeat(2, 1fr); } }

/* Card réplica Incrediwear: foto full-bleed, caption sobre la imagen,
   botón visible solo en hover */
.shop-card { position: relative; background: var(--gris-fondo); overflow: hidden; }
.shop-card-img {
  display: block;
  position: relative;
  aspect-ratio: 3 / 3.8;
  overflow: hidden;
}
.shop-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.shop-card:hover .shop-card-img img { transform: scale(1.045); }
.shop-card-img .badge { position: absolute; top: 1rem; left: 1rem; z-index: 2; }
.shop-card-img::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 38%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .28) 55%, rgba(0, 0, 0, .55) 100%);
  z-index: 1;
  pointer-events: none;
}
.shop-card-caption {
  position: absolute;
  right: 1.2rem;
  bottom: 1.1rem;
  text-align: right;
  z-index: 2;
  transition: opacity .25s ease;
}
.shop-card-caption .n {
  display: block;
  font-size: .95rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.3;
  text-shadow: 0 1px 6px rgba(0, 0, 0, .35);
}
.shop-card-caption .p { font-size: .84rem; color: rgba(255, 255, 255, .82); text-shadow: 0 1px 6px rgba(0, 0, 0, .35); }
.shop-card:hover .shop-card-caption { opacity: 0; }
.shop-card-action {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  display: flex;
  justify-content: center;
  padding: 1.1rem;
  z-index: 3;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .25s ease, transform .25s ease;
  pointer-events: none;
}
.shop-card:hover .shop-card-action, .shop-card:focus-within .shop-card-action {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.shop-card-action .btn { box-shadow: 0 8px 24px rgba(10, 14, 30, .18); background: #fff; color: #000; border-color: #fff; }
.shop-card-action .btn:hover { background: var(--negro); color: #fff; border-color: var(--negro); }
/* Táctil: sin hover no hay botón flotante — la card entera es el link,
   igual que en escritorio antes del hover. */
@media (hover: none) {
  .shop-card .shop-card-action { display: none; }
  .shop-card .shop-card-caption { opacity: 1; }
}

/* Panel de filtros (réplica Incrediwear: lateral derecho, secciones desplegables) */
.filter-drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(420px, 92%);
  background: #fff;
  z-index: 230;
  transform: translateX(100%);
  transition: transform .3s ease;
  display: flex;
  flex-direction: column;
}
.filter-drawer.open { transform: none; }
.filter-drawer-head {
  display: grid;
  grid-template-columns: 40px 1fr 40px;
  align-items: center;
  padding: 1rem 1.3rem;
  border-bottom: 1px solid var(--gris-borde);
}
.filter-drawer-head h2 {
  font-family: var(--font-body);
  font-weight: 500;
  text-transform: none;
  font-size: 1.05rem;
  text-align: center;
}
.filter-drawer-head .modal-close { position: static; }
.filter-drawer-body { flex: 1; overflow: auto; padding: .4rem 1.5rem; }
.filter-group { border-bottom: 1px solid var(--gris-borde); }
.filter-group-head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.15rem 0;
  font-size: .95rem;
  font-weight: 500;
  color: var(--texto);
  text-align: left;
}
.filter-group-head svg { width: 16px; height: 16px; color: #6a6e77; transition: transform .2s; }
.filter-group.open .filter-group-head svg { transform: rotate(180deg); }
.filter-group-body { display: none; padding: 0 0 1.1rem; }
.filter-group.open .filter-group-body { display: block; }
.filter-group-body .hint { font-size: .78rem; color: var(--texto-sec); margin-bottom: .5rem; }
.filter-option { display: flex; align-items: center; gap: .7rem; font-size: .92rem; padding: .35rem 0; cursor: pointer; }
.filter-option input { width: 17px; height: 17px; accent-color: var(--negro); cursor: pointer; }
.filter-drawer-foot {
  border-top: 1px solid var(--gris-borde);
  padding: 1.2rem 1.5rem;
  display: flex;
  gap: .8rem;
}
.filter-drawer-foot .btn { flex: 1; }

/* =====================================================
   FICHA DE PRODUCTO (réplica Shock Doctor)
   ===================================================== */
.pdp { padding: 2rem 0 4rem; }
.breadcrumbs { font-size: .78rem; color: var(--texto-sec); margin-bottom: 1.4rem; }
.breadcrumbs a:hover { color: var(--texto); text-decoration: underline; }

.pdp-top {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3.2rem;
  align-items: start;
}
@media (max-width: 900px) { .pdp-top { grid-template-columns: 1fr; gap: 2rem; } }

/* Galería */
.gallery { position: sticky; top: calc(var(--header-h) + 1rem); }
@media (max-width: 900px) { .gallery { position: static; } }
.gallery-main {
  background: var(--gris-fondo);
  border-radius: 8px;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  cursor: zoom-in;
}
.gallery-main img { max-width: 86%; max-height: 86%; object-fit: contain; mix-blend-mode: multiply; transition: transform .25s ease; }
.gallery-main.is-lifestyle img { max-width: 100%; max-height: 100%; width: 100%; height: 100%; object-fit: cover; mix-blend-mode: normal; }
.gallery-main:hover img { transform: scale(1.55); }
.gallery-main.is-lifestyle:hover img { transform: scale(1.12); }
.gallery-main .badge { position: absolute; top: 1rem; left: 1rem; z-index: 2; }
.gallery-thumbs { display: flex; gap: .7rem; margin-top: .8rem; }
.gallery-thumb {
  width: 78px; height: 78px;
  border: 2px solid transparent;
  border-radius: 8px;
  background: var(--gris-fondo);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  overflow: hidden;
  transition: border-color .15s;
}
.gallery-thumb img { max-width: 100%; max-height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.gallery-thumb.is-lifestyle img { width: 100%; height: 100%; object-fit: cover; border-radius: 4px; mix-blend-mode: normal; }
.gallery-thumb.active, .gallery-thumb:hover { border-color: var(--negro); }

/* Panel de compra */
.buy-panel h1 { font-size: clamp(2.1rem, 4vw, 3rem); }
.pdp-rating { display: flex; align-items: center; gap: .5rem; margin: .5rem 0 .8rem; font-size: .8rem; color: var(--texto-sec); }
.pdp-price { font-size: 1.45rem; font-weight: 700; }
.pdp-promo {
  background: var(--francia-suave);
  border: 1px solid #c9daff;
  border-radius: 8px;
  padding: .85rem 1.1rem;
  font-size: .8rem;
  margin: 1.1rem 0;
}
.pdp-promo strong { display: block; text-transform: uppercase; letter-spacing: .06em; font-size: .72rem; margin-bottom: .2rem; color: var(--marino); }
.stock-note { display: flex; align-items: center; gap: .45rem; font-size: .8rem; font-weight: 600; color: var(--exito); margin-bottom: 1.2rem; }
.stock-note::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--exito); }

.opt-label {
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: .6rem;
}
.opt-label .val { color: var(--texto-sec); font-weight: 500; letter-spacing: 0; text-transform: none; }
.size-guide-link {
  color: var(--francia);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .06em;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.size-guide-link svg { width: 15px; height: 15px; }

.color-block { margin-bottom: 1.3rem; }
.color-swatch {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: #17181c;
  border: 2px solid #fff;
  outline: 2px solid var(--negro);
  display: inline-block;
}

.size-block { margin-bottom: 1.3rem; }
.size-options { display: flex; gap: .6rem; flex-wrap: wrap; }
.size-btn {
  min-width: 64px;
  height: 46px;
  border: 1.5px solid var(--gris-borde);
  border-radius: 30px;
  background: #fff;
  font-weight: 600;
  font-size: .85rem;
  color: var(--texto);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1.05;
  padding: 0 1rem;
  transition: border-color .15s, background .15s, color .15s;
}
.size-btn small { font-size: .58rem; color: var(--texto-sec); font-weight: 500; }
.size-btn:hover { border-color: var(--negro); }
.size-btn.selected { border-color: var(--negro); background: var(--negro); color: #fff; }
.size-btn.selected small { color: #c9ccd4; }
.size-error { color: #d0342c; font-size: .8rem; margin-top: .5rem; display: none; }
.size-error.show { display: block; }

.qty-block { margin-bottom: 1.4rem; }
.qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--gris-borde);
  border-radius: 30px;
  overflow: hidden;
}
.qty-stepper button { width: 44px; height: 44px; font-size: 1.1rem; font-weight: 600; }
.qty-stepper button:hover { background: var(--gris-fondo); }
.qty-stepper span { min-width: 40px; text-align: center; font-weight: 600; font-size: .95rem; }

.pdp-sku { font-size: .74rem; color: var(--texto-sec); margin-top: .9rem; }
.pdp-desc { font-size: .9rem; color: #33363d; margin-top: 1.4rem; }

.bestfor { margin-top: 1.6rem; }
.bestfor h2 { font-size: 1.15rem; letter-spacing: .06em; margin-bottom: .4rem; }
.bestfor p { font-size: .9rem; color: #33363d; }

.level-indicator {
  margin-top: 1.4rem;
  background: var(--gris-fondo);
  border-radius: 10px;
  padding: 1.2rem 1.3rem;
}
.level-indicator h3 { font-size: 1rem; letter-spacing: .05em; margin-bottom: .8rem; }
.level-scale { display: flex; gap: 5px; }
.level-step { flex: 1; text-align: center; }
.level-step .seg { height: 10px; border-radius: 5px; background: #dcdee3; margin-bottom: .4rem; }
.level-step.on .seg { background: var(--francia); }
.level-step.half .seg { background: linear-gradient(90deg, var(--francia) 50%, #dcdee3 50%); }
.level-step .lbl {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: .74rem;
  letter-spacing: .05em;
  color: #9ba0aa;
}
.level-step.on .lbl, .level-step.half .lbl { color: var(--francia); }

.pdp-perks { display: flex; flex-direction: column; gap: .55rem; margin-top: 1.5rem; }
.pdp-perks span { display: flex; align-items: center; gap: .6rem; font-size: .82rem; font-weight: 600; }
.pdp-perks svg { width: 17px; height: 17px; color: var(--francia); flex: 0 0 17px; }

/* Acordeones (estilo SD) */
.accordions { margin-top: 1.8rem; border-top: 1px solid var(--gris-borde); }
.accordion { border-bottom: 1px solid var(--gris-borde); }
.accordion-head {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.05rem 0;
  font-weight: 700;
  font-size: .9rem;
  text-align: left;
}
.accordion-head svg { width: 16px; height: 16px; transition: transform .2s; flex: 0 0 16px; }
.accordion.open .accordion-head svg { transform: rotate(180deg); }
.accordion-body { display: none; padding: 0 0 1.2rem; font-size: .86rem; color: #33363d; }
.accordion.open .accordion-body { display: block; }
.fb-item { margin-bottom: .9rem; }
.fb-item h4 { font-family: var(--font-display); text-transform: uppercase; font-weight: 800; font-size: 1rem; letter-spacing: .03em; }
.fb-item p { font-size: .84rem; }

/* Relacionados */
.related { padding: 3.6rem 0 4.6rem; }

/* =====================================================
   MODAL GUÍA DE TALLES
   ===================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8, 10, 16, .6);
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.2rem;
}
.modal-overlay.open { display: flex; }
.modal {
  background: #fff;
  border-radius: 12px;
  max-width: 520px;
  width: 100%;
  max-height: 88vh;
  overflow: auto;
  padding: 2rem;
  position: relative;
  animation: modalIn .22s ease;
}
@keyframes modalIn { from { transform: translateY(14px); opacity: 0; } to { transform: none; opacity: 1; } }
.modal-close {
  position: absolute;
  top: .9rem; right: .9rem;
  background: var(--gris-fondo);
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-close svg { width: 17px; height: 17px; }
.modal h2 { font-size: 1.7rem; margin-bottom: .2rem; }
.modal .modal-sub { color: var(--texto-sec); font-size: .84rem; margin-bottom: 1.3rem; }
.size-table { width: 100%; border-collapse: collapse; margin-bottom: 1.3rem; }
.size-table th {
  background: var(--negro);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: .7rem .9rem;
  text-align: left;
}
.size-table td { padding: .65rem .9rem; border-bottom: 1px solid var(--gris-borde); font-size: .9rem; }
.size-table tr td:first-child { font-weight: 700; }
.measure-tip {
  display: flex;
  gap: .9rem;
  background: var(--francia-suave);
  border-left: 4px solid var(--francia);
  border-radius: 6px;
  padding: 1rem 1.1rem;
  font-size: .86rem;
}
.measure-tip svg { flex: 0 0 22px; width: 22px; height: 22px; color: var(--francia); margin-top: 2px; }
.measure-tip strong { display: block; margin-bottom: .15rem; }

/* =====================================================
   CARRITO (drawer derecha)
   ===================================================== */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8, 10, 16, .55);
  z-index: 240;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s;
}
.cart-overlay.open { opacity: 1; pointer-events: auto; }
.cart-drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(420px, 100%);
  background: #fff;
  z-index: 250;
  transform: translateX(100%);
  transition: transform .28s ease;
  display: flex;
  flex-direction: column;
}
.cart-drawer.open { transform: none; }
.cart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 1.4rem;
  border-bottom: 1px solid var(--gris-borde);
}
.cart-head h2 { font-size: 1.5rem; }
.cart-items { flex: 1; overflow: auto; padding: 1rem 1.4rem; }
.cart-empty { text-align: center; color: var(--texto-sec); padding: 3rem 1rem; font-size: .92rem; }
.cart-item {
  display: grid;
  grid-template-columns: 74px 1fr auto;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--gris-borde);
  align-items: center;
}
.cart-item img {
  width: 74px; height: 74px;
  object-fit: contain;
  background: var(--gris-fondo);
  border-radius: 8px;
  padding: 6px;
  mix-blend-mode: multiply;
}
.cart-item h4 { font-size: .88rem; font-weight: 600; line-height: 1.3; }
.cart-item .ci-meta { font-size: .74rem; color: var(--texto-sec); margin-top: .15rem; }
.ci-qty { display: inline-flex; align-items: center; gap: .5rem; margin-top: .45rem; }
.ci-qty button {
  width: 25px; height: 25px;
  border: 1px solid var(--gris-borde);
  border-radius: 50%;
  font-weight: 700;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ci-qty span { font-size: .85rem; min-width: 18px; text-align: center; }
.ci-price { font-weight: 700; font-size: .92rem; text-align: right; }
.ci-remove { color: var(--texto-sec); font-size: .72rem; text-decoration: underline; margin-top: .4rem; }
.cart-foot { border-top: 1px solid var(--gris-borde); padding: 1.2rem 1.4rem; }
.cart-subtotal { display: flex; justify-content: space-between; font-weight: 700; font-size: 1rem; margin-bottom: .35rem; }
.cart-foot .note { font-size: .74rem; color: var(--texto-sec); margin-bottom: 1rem; }

/* Toast */
.toast {
  position: fixed;
  bottom: 1.6rem;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--negro);
  color: #fff;
  padding: .8rem 1.5rem;
  border-radius: 30px;
  font-size: .85rem;
  font-weight: 600;
  z-index: 400;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s, transform .25s;
  box-shadow: 0 10px 30px rgba(0,0,0,.3);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* =====================================================
   PDP v2 — réplica completa Shock Doctor
   ===================================================== */
.gallery-stack { display: flex; flex-direction: column; gap: 1.1rem; }
.g-item {
  position: relative;
  background: var(--gris-fondo);
  border-radius: 6px;
  aspect-ratio: 1 / 1.05;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.g-item img { max-width: 80%; max-height: 80%; object-fit: contain; mix-blend-mode: multiply; }
.g-item.lifestyle img { width: 100%; height: 100%; max-width: 100%; max-height: 100%; object-fit: cover; mix-blend-mode: normal; }
.g-item .badge { position: absolute; top: 1rem; left: 1rem; z-index: 2; }

.buy-panel .breadcrumbs { margin-bottom: 1.1rem; }
.pdp-price-lg { font-size: 1.35rem; font-weight: 700; margin: .7rem 0 .3rem; }

.promo-lines { margin: 1.3rem 0 1.1rem; }
.promo-lines .ph {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 1.1rem;
  letter-spacing: .02em;
  margin-bottom: .5rem;
}
.promo-lines p { font-size: .92rem; font-weight: 700; line-height: 1.75; }

.color-swatch { position: relative; }
.color-swatch::after {
  content: "\2713";
  color: #fff;
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .95rem;
  font-weight: 700;
}

.qty-select {
  appearance: none;
  -webkit-appearance: none;
  border: 1.5px solid #b9bcc3;
  border-radius: 30px;
  padding: .65rem 2.6rem .65rem 1.3rem;
  font-family: inherit;
  font-size: .92rem;
  font-weight: 600;
  color: var(--texto);
  background: #fff url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230c0c0f' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 1rem center / 14px;
  cursor: pointer;
}

.u-head {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .95rem;
  text-transform: uppercase;
  letter-spacing: .03em;
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-thickness: 2px;
  margin: 1.8rem 0 .5rem;
}
.u-block p { font-size: .92rem; color: #33363d; }
.u-block .level-scale { margin-top: .9rem; }

.perks3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin: 2rem 0 .4rem;
}
.perks3 .pk { font-size: .88rem; font-weight: 700; line-height: 1.45; }
.perks3 .pk svg { width: 24px; height: 24px; margin-bottom: .45rem; display: block; color: var(--texto); }

/* FAQ (2 columnas, réplica SD) */
.faq-section { padding: 4.5rem 0 3rem; }
.faq-head { text-align: center; margin-bottom: 2.4rem; position: relative; }
.faq-head h2 { font-size: clamp(2rem, 4vw, 2.9rem); }
.faq-head .divider { width: 88px; height: 2px; background: #c9cbd1; margin-top: 1rem; }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; align-items: start; }
.faq-item { background: var(--gris-fondo); border-radius: 8px; border-bottom: none; }
.faq-item .accordion-head { padding: 1.1rem 1.3rem; }
.faq-item .accordion-body { padding: 0 1.3rem 1.1rem; }
@media (max-width: 800px) { .faq-grid { grid-template-columns: 1fr; } }

/* Tabs centrados (You may also like) */
.tabs-center {
  display: flex;
  justify-content: center;
  gap: 2.2rem;
  margin-bottom: 2.2rem;
}
.tabs-center .tab-btn { font-size: .95rem; }

/* ---------------- Reseñas (réplica SD) ---------------- */
.reviews-block { padding: 2.5rem 0 4.5rem; }
.reviews-block h2.rv-title {
  font-family: var(--font-body);
  text-transform: none;
  letter-spacing: 0;
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 1.8rem;
}
.rv-top {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  gap: 2.8rem;
  margin-bottom: 2rem;
}
.rv-top h3 {
  font-family: var(--font-body);
  text-transform: none;
  letter-spacing: 0;
  font-size: .98rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.rv-top .hint { font-size: .8rem; color: var(--texto-sec); margin: -0.6rem 0 .9rem; }
.rv-bar-row { display: flex; align-items: center; gap: .7rem; margin-bottom: .5rem; font-size: .85rem; }
.rv-bar-row .lbl { width: 72px; font-weight: 600; white-space: nowrap; }
.rv-bar-row .bar { flex: 1; height: 9px; border-radius: 5px; background: #e8e9ec; overflow: hidden; }
.rv-bar-row .bar i { display: block; height: 100%; background: var(--francia); border-radius: 5px; }
.rv-bar-row .cnt { width: 34px; text-align: right; color: var(--texto-sec); }
.rv-overall .num { font-size: 3.2rem; font-weight: 700; line-height: 1; display: flex; align-items: center; gap: .9rem; }
.rv-overall .num .stars { font-size: 1.15rem; }
.rv-overall .cnt2 { font-size: .9rem; margin-top: .2rem; }
.rv-overall .sub { font-size: .85rem; color: #33363d; margin-top: 1rem; }
.rv-write .stars-empty { color: #b9bcc3; font-size: 1.7rem; letter-spacing: 8px; }
.rv-write p { font-size: .82rem; color: var(--texto-sec); margin-top: .8rem; }
@media (max-width: 900px) { .rv-top { grid-template-columns: 1fr; gap: 1.8rem; } }

.rv-avg {
  background: var(--gris-fondo);
  padding: 1.5rem 1.4rem;
  text-align: center;
  margin-bottom: 2.2rem;
}
.rv-avg h3 {
  font-family: var(--font-body);
  text-transform: none;
  letter-spacing: 0;
  font-size: .95rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.rv-avg-bars { display: flex; justify-content: center; gap: 3.5rem; flex-wrap: wrap; }
.rv-mini { display: flex; align-items: center; gap: .8rem; font-size: .88rem; font-weight: 700; }
.rv-mini .bar { width: 150px; height: 10px; border-radius: 5px; background: #dfe1e5; overflow: hidden; }
.rv-mini .bar i { display: block; height: 100%; background: var(--francia); }

.rv-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-bottom: 1rem;
  font-size: .88rem;
  font-weight: 600;
  flex-wrap: wrap;
}
.rv-toolbar .qty-select { padding: .5rem 2.4rem .5rem 1.1rem; font-size: .84rem; }

.rv-list { border-top: 1px solid var(--texto); }
.rv-item {
  display: grid;
  grid-template-columns: 210px 1fr 250px;
  gap: 2.2rem;
  padding: 1.9rem 0;
  border-bottom: 1px solid var(--gris-borde);
}
.rv-meta { font-size: .84rem; }
.rv-meta .who { font-weight: 700; font-size: .95rem; margin-bottom: .8rem; }
.rv-meta p { margin-bottom: .5rem; color: var(--texto-sec); }
.rv-meta p strong { color: var(--texto); display: block; font-weight: 600; }
.rv-body h4 { font-family: var(--font-body); text-transform: none; letter-spacing: 0; font-size: 1.2rem; font-weight: 700; margin: .15rem 0; }
.rv-body .when { font-size: .8rem; color: var(--texto-sec); margin-bottom: .7rem; }
.rv-body p.txt { font-size: .92rem; color: #26282e; }
.rv-body .rec { display: flex; align-items: center; gap: .5rem; margin-top: .9rem; font-weight: 600; font-size: .86rem; }
.rv-body .rec svg { width: 17px; height: 17px; color: var(--exito); }
.rv-scores { background: var(--gris-fondo); border-radius: 8px; padding: 1.2rem 1.3rem; align-self: start; }
.rv-scores .row { margin-bottom: 1rem; font-size: .84rem; font-weight: 700; }
.rv-scores .row:last-child { margin-bottom: 0; }
.rv-scores .bar { width: 100%; height: 9px; border-radius: 5px; background: #dfe1e5; overflow: hidden; margin-top: .35rem; display: flex; align-items: center; }
.rv-scores .bar i { display: block; height: 100%; background: var(--francia); }
.rv-scores .val { float: right; }
@media (max-width: 900px) { .rv-item { grid-template-columns: 1fr; gap: 1.2rem; } }

/* ============ Checkout (modal) + talles agotados ============ */
.size-btn:disabled, .size-btn.soldout {
  opacity: .45;
  cursor: not-allowed;
  text-decoration: line-through;
}
.ck-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; margin-bottom: 1.1rem; }
.ck-field { display: flex; flex-direction: column; gap: .3rem; font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--texto-sec); }
.ck-field input {
  padding: .7rem .9rem; border: 1.5px solid var(--gris-borde); border-radius: 10px;
  font-family: inherit; font-size: .95rem; color: var(--texto);
}
.ck-field input:focus { outline: none; border-color: var(--francia); }
.ck-wide { grid-column: 1 / -1; }
.ck-paylabel { font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--texto-sec); margin-bottom: .5rem; }
.ck-pay {
  display: flex; align-items: center; gap: .8rem; border: 1.5px solid var(--gris-borde);
  border-radius: 12px; padding: .8rem 1rem; margin-bottom: .6rem; cursor: pointer; transition: border-color .15s;
}
.ck-pay:hover { border-color: var(--negro); }
.ck-pay:has(input:checked) { border-color: var(--francia); background: var(--francia-suave); }
.ck-pay input { width: 17px; height: 17px; accent-color: var(--francia); }
.ck-pay span b { display: block; font-size: .92rem; }
.ck-pay span small { color: var(--texto-sec); font-size: .78rem; }
#ckForm .btn { margin-top: .8rem; }
@media (max-width: 560px) { .ck-grid { grid-template-columns: 1fr; } }


/* =====================================================
   HERO cinematográfico (portada estilo sport-film)
   ===================================================== */
.hero-cine {
  min-height: 100svh;
  display: block;
  position: relative;
  background: #020b1f;
}
.hero-cine .hero-bg img {
  object-position: 62% 22%;
  filter: saturate(1.08) contrast(1.06) brightness(.92);
  animation: heroZoom 12s ease-out both;
}
@keyframes heroZoom { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero-cine .hero-bg::after { display: none; }
.hero-grade {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(65% 55% at 50% 8%, rgba(30, 90, 232, .48), transparent 62%),
    radial-gradient(120% 70% at 50% 115%, rgba(0, 12, 40, .92), transparent 60%),
    linear-gradient(180deg, rgba(1, 12, 38, .62) 0%, rgba(2, 10, 30, .28) 40%, rgba(1, 8, 26, .78) 100%);
}
.hero-grade::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(90% 90% at 50% 50%, transparent 55%, rgba(0, 4, 14, .55) 100%);
}

/* Tipografía gigante centrada */
.hero-center {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 0 1rem; color: #fff;
}
.hero-cine .hero-kicker {
  font-size: clamp(.7rem, 1.1vw, .85rem);
  letter-spacing: .34em; margin-bottom: 1.2rem; color: #cdd9f2;
}
.anim-k { animation: rise .8s ease both .9s; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.hero-huge {
  font-size: clamp(4.2rem, 14.5vw, 13rem);
  line-height: .97;
  letter-spacing: .01em;
  text-shadow: 0 6px 60px rgba(0, 10, 40, .55);
}
.hero-huge .hl { display: block; }
.hero-huge .hl i {
  display: inline-block; font-style: normal;
  background: linear-gradient(var(--francia), var(--francia)) no-repeat 0 72%;
  background-size: 0% .3em;
  animation: hlUp .9s cubic-bezier(.16, .8, .26, 1) both,
             ulSweep .65s cubic-bezier(.6, 0, .2, 1) .9s both;
}
.hero-huge .hl:nth-child(2) i { animation-delay: .18s, 1.15s; }
@keyframes ulSweep { from { background-size: 0% .3em; } to { background-size: 100% .3em; } }
@keyframes hlUp { from { transform: translateY(46px); opacity: 0; } to { transform: none; opacity: 1; } }

/* Esquinas estilo PACE+ */
.hero-corner {
  position: absolute; bottom: clamp(3.4rem, 7vh, 4.6rem); z-index: 3; color: #fff;
  display: flex; align-items: center; gap: .9rem;
  animation: rise .8s ease both 1.15s;
}
.hc-left { left: clamp(1.4rem, 4vw, 4rem); }
.hc-right { right: clamp(1.4rem, 4vw, 4rem); flex-direction: column; align-items: flex-end; text-align: right; max-width: 300px; }
.hero-play {
  width: 58px; height: 58px; border-radius: 50%; flex: 0 0 58px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform .2s, background .2s;
  position: relative;
}
.hero-play::before {
  content: ""; position: absolute; inset: -7px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .18);
  animation: playPulse 2.4s ease-out infinite;
}
@keyframes playPulse { 0% { transform: scale(.9); opacity: 1; } 100% { transform: scale(1.35); opacity: 0; } }
.hero-play:hover { transform: scale(1.07); background: rgba(255, 255, 255, .22); }
.hero-play svg { width: 20px; height: 20px; margin-left: 3px; }
.hero-play-txt {
  font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; line-height: 1.5;
}
.hero-play-txt small { font-weight: 500; text-transform: none; letter-spacing: .02em; color: #b9c6e2; }
.hc-right p { font-size: .82rem; color: #cdd7ec; line-height: 1.65; margin-bottom: 1rem; }
.btn-glass {
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .4);
  color: #fff;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.btn-glass:hover { background: #fff; color: #06122e; }
.btn-glass .arr { font-size: 1rem; }

/* Indicador de scroll */
.hero-scroll {
  position: absolute; left: 50%; bottom: 1.1rem; transform: translateX(-50%);
  width: 24px; height: 38px; border: 1.5px solid rgba(255, 255, 255, .4); border-radius: 14px;
  z-index: 3; animation: rise .8s ease both 1.4s;
}
.hero-scroll span {
  position: absolute; left: 50%; top: 7px; width: 3px; height: 8px; margin-left: -1.5px;
  background: #fff; border-radius: 2px; animation: scrollHint 1.8s ease-in-out infinite;
}
@keyframes scrollHint { 0%, 100% { transform: translateY(0); opacity: 1; } 60% { transform: translateY(12px); opacity: .2; } }

@media (max-width: 760px) {
  .hero-huge { font-size: clamp(3.4rem, 19vw, 6rem); }
  .hc-right { display: none; }
  .hero-corner { bottom: 4.4rem; }
}

/* fix: que los acentos no se recorten con el reveal */


/* Hero: cierre centrado limpio */
.hero-sub2 {
  font-size: clamp(.82rem, 1.3vw, .98rem);
  font-weight: 600;
  color: #ccd7ee;
  letter-spacing: .02em;
  margin: 1.6rem 0 1.9rem;
  animation: rise .8s ease both 1.05s;
}
.hero-cta { animation: rise .8s ease both 1.2s; }
.hero-cta:hover { transform: translateY(-2px); }

/* Announcement: logo Mercur inline */
.announcement img.mercur-logo {
  height: 13px;
  width: auto;
  display: inline-block;
  vertical-align: baseline; /* la base del logo apoya en la misma línea que el texto */
  margin-left: .05rem;
}

/* Hero: palabra destacada en azul + hover azul del CTA */
.hero-cta:hover {
  background: var(--francia);
  color: #fff;
  box-shadow: 0 10px 30px rgba(30, 90, 232, .45);
}

/* Hover azul Francia unificado para todos los botones */
.btn-white:hover,
.btn-outline:hover,
.btn-dark:hover,
.btn-glass:hover {
  background: var(--francia);
  color: #fff;
  border-color: var(--francia);
  box-shadow: 0 10px 28px rgba(30, 90, 232, .4);
}

/* Banner: subrayado marcador azul (media altura) que entra con barrido */
.promo-banner-content mark.hl-blue {
  background: linear-gradient(var(--francia), var(--francia)) no-repeat 0 74%;
  background-size: 0% .34em;
  color: #fff;
  padding: 0 .07em;
  transition: background-size .7s cubic-bezier(.6, 0, .2, 1);
}
.promo-banner-content.inview mark.hl-blue { background-size: 100% .34em; }
.promo-banner-content.inview mark.hl-blue:nth-of-type(2) { transition-delay: .3s; }
.promo-banner-content mark.hl-blue + br { line-height: 1.3; }
.promo-banner-content h2 { line-height: 1.04; }


/* =====================================================
   Página de contacto y políticas
   ===================================================== */
.contact-page { padding-bottom: 4rem; }
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}
.contact-card {
  background: #fff;
  border: 1px solid var(--line, #e8e8ec);
  border-radius: 18px;
  padding: 2.2rem;
}
.contact-card h2 { font-size: 2rem; margin-bottom: 1.4rem; }
.contact-list { list-style: none; padding: 0; margin: 0 0 1.8rem; display: grid; gap: 1.1rem; }
.contact-list li { display: flex; gap: .9rem; align-items: flex-start; }
.contact-list svg { width: 22px; height: 22px; flex: none; margin-top: .15rem; color: var(--francia); }
.contact-list b { text-transform: uppercase; font-size: .78rem; letter-spacing: .06em; color: #666; }
.contact-list a { color: var(--francia); font-weight: 600; }
.contact-map { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.contact-map img { width: 100%; height: 100%; min-height: 280px; object-fit: cover; flex: 1; }
.contact-map .note { padding: 1.1rem 1.4rem; margin: 0; }
.policy-section { max-width: 760px; margin: 0 auto 2.8rem; scroll-margin-top: 120px; }
.policy-section h2 { font-size: 1.9rem; margin-bottom: .8rem; }
.policy-section p { color: #444; line-height: 1.65; margin-bottom: .8rem; }
@media (max-width: 820px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-card { padding: 1.6rem; }
}

/* =====================================================
   Buscador (overlay)
   ===================================================== */
.search-overlay {
  position: fixed; inset: 0; z-index: 240;
  background: rgba(8, 10, 18, .55); backdrop-filter: blur(4px);
  display: none; align-items: flex-start; justify-content: center;
  padding: 9vh 1rem 0;
}
.search-overlay.open { display: flex; animation: fadeIn .18s ease; }
.search-box {
  width: min(640px, 100%);
  background: #fff; border-radius: 16px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .35);
  overflow: hidden;
  animation: rise .22s ease;
}
.search-head { display: flex; align-items: center; gap: .7rem; padding: .4rem 1.1rem; border-bottom: 1px solid #ececf1; }
.search-head svg { width: 20px; height: 20px; color: #999; flex: none; }
.search-head input {
  flex: 1; border: 0; outline: 0; padding: 1rem 0;
  font: 600 1.05rem/1 Inter, sans-serif; background: none;
}
.search-head .modal-close { position: static; }
.search-results { max-height: 55vh; overflow-y: auto; }
.search-item {
  display: flex; align-items: center; gap: 1rem;
  padding: .7rem 1.1rem; text-decoration: none; color: inherit;
}
.search-item:hover { background: #f5f6fa; }
.search-item img { width: 54px; height: 54px; object-fit: cover; border-radius: 10px; background: #f1f1f4; }
.search-item .si-name { font-weight: 700; font-size: .95rem; }
.search-item .si-meta { font-size: .8rem; color: #888; }
.search-item .si-price { margin-left: auto; font-weight: 800; color: var(--marino); }
.search-empty { padding: 1.6rem 1.1rem; color: #888; font-size: .95rem; }
.search-all { display: block; text-align: center; padding: .9rem; font-weight: 700; font-size: .85rem; letter-spacing: .05em; text-transform: uppercase; color: var(--francia); border-top: 1px solid #ececf1; text-decoration: none; }
.search-all:hover { background: #f5f6fa; }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes rise { from { transform: translateY(14px); opacity: 0; } }

/* Tienda en pantallas táctiles: sin hover, refuerzo de legibilidad del caption */
@media (hover: none) {
  /* El degradé lo pinta el ::after de la foto (ancho completo): el caption solo lleva texto */
  .shop-card-img::after { height: 52%; background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.38) 55%, rgba(0,0,0,.7) 100%); }
  .shop-card-caption .n,
  .shop-card-caption .p { text-shadow: 0 1px 6px rgba(0, 0, 0, .6); }
}


/* =====================================================
   Animaciones de entrada al scrollear (premium sport)
   ===================================================== */
@media (prefers-reduced-motion: no-preference) {
  .rv {
    opacity: 0;
    transform: translateY(34px);
    transition: opacity .8s ease, transform .8s cubic-bezier(.16, .8, .26, 1);
    transition-delay: var(--rvd, 0s);
  }
  .rv.in { opacity: 1; transform: none; }
}


/* =====================================================
   Scrollbar personalizada (identidad marino/francia)
   ===================================================== */
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: #eef0f4; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--marino), var(--francia));
  border-radius: 10px;
  border: 3px solid #eef0f4;
}
::-webkit-scrollbar-thumb:hover { background: var(--francia); }
/* Drawers y listas internas: versión finita */
.cart-items::-webkit-scrollbar,
.filter-drawer-body::-webkit-scrollbar,
.search-results::-webkit-scrollbar { width: 8px; }
/* Firefox (no soporta ::-webkit-scrollbar) */
@supports not selector(::-webkit-scrollbar) {
  html { scrollbar-color: var(--marino) #eef0f4; scrollbar-width: thin; }
}


/* =====================================================
   Página de checkout
   ===================================================== */
.checkout-page {
  display: grid;
  grid-template-columns: 1.35fr .95fr;
  gap: 1.6rem;
  align-items: start;
  padding-bottom: 4rem;
}
.ck-panel {
  background: #fff;
  border: 1px solid #e8e8ec;
  border-radius: 18px;
  padding: 2.2rem;
}
.ck-panel h2 { font-size: 1.7rem; margin: 1.8rem 0 1rem; }
.ck-panel h2:first-child { margin-top: 0; }
.ck-field select {
  width: 100%;
  border: 1px solid #d9d9e0;
  border-radius: 12px;
  padding: .85rem 1rem;
  font: 500 .95rem/1.2 Inter, sans-serif;
  background: #fff;
  color: inherit;
}
.ck-field select:focus { outline: 2px solid var(--francia); border-color: transparent; }
.ck-field small { font-weight: 500; color: #999; text-transform: none; letter-spacing: 0; }
.ck-secure { text-align: center; margin-top: .9rem; }
.checkout-page .size-error { margin: .6rem 0; }

.ck-summary {
  background: #fff;
  border: 1px solid #e8e8ec;
  border-radius: 18px;
  padding: 1.8rem;
  position: sticky;
  top: 110px;
}
.ck-summary h2 { font-size: 1.7rem; margin-bottom: 1.1rem; }
.co-item {
  display: flex;
  align-items: center;
  gap: .9rem;
  padding: .65rem 0;
  border-bottom: 1px solid #f0f0f4;
}
.co-item img { width: 56px; height: 56px; object-fit: cover; border-radius: 10px; background: #f4f4f6; }
.co-item div { flex: 1; display: flex; flex-direction: column; }
.co-item b { font-size: .92rem; }
.co-item small { color: #888; font-size: .8rem; }
.co-item > span { font-weight: 700; }
.co-line { display: flex; justify-content: space-between; padding: .55rem 0; font-size: .92rem; color: #555; }
.co-free { color: #0a9550; font-weight: 600; }
.co-total {
  display: flex; justify-content: space-between;
  font-weight: 800; font-size: 1.25rem;
  border-top: 2px solid var(--marino);
  padding-top: .8rem; margin-top: .4rem;
}
.co-edit { display: inline-block; margin-top: 1rem; font-size: .85rem; }

/* Confirmación de transferencia */
.co-confirm {
  grid-column: 1 / -1;
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  background: #fff;
  border: 1px solid #e8e8ec;
  border-radius: 18px;
  padding: 3rem 2.4rem;
}
.co-check {
  width: 74px; height: 74px; margin: 0 auto 1.2rem;
  border-radius: 50%;
  background: var(--francia); color: #fff;
  font-size: 2.3rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.co-confirm h2 { font-size: 2rem; margin-bottom: .8rem; }
.co-confirm p { color: #555; line-height: 1.6; margin-bottom: 1rem; }
.co-bank {
  background: #f2f5ff;
  border: 1px dashed var(--francia);
  border-radius: 12px;
  padding: 1.1rem 1.3rem;
  font-weight: 700;
  margin: 0 0 1.2rem;
}
.co-confirm .btn { margin-bottom: 1rem; }

@media (max-width: 900px) {
  .checkout-page { grid-template-columns: 1fr; }
  .ck-summary { position: static; order: -1; }
  .ck-panel { padding: 1.5rem; }
}


/* =====================================================
   MÓVIL: carrusel centrado, títulos al medio y tienda estilo PC
   ===================================================== */
@media (max-width: 700px) {

  /* --- Carruseles: una card entera al centro y las vecinas asomando --- */
  .row-wrap { margin-inline: calc(50% - 50vw); }
  .product-row,
  .ugc-row {
    gap: .7rem;
    padding-inline: 13vw;
    scroll-padding-inline: 13vw;
  }
  .product-row > *,
  .ugc-row > * { scroll-snap-align: center; }
  .product-row .product-card,
  .ugc-item { flex: 0 0 74vw; min-width: 0; }
  .row-arrow { display: none; }           /* en el celu se pasa con el dedo */
  .product-card-info { padding-inline: .2rem; }
  .product-card-info .name-price { display: block; }
  .product-card-info .name-price .dash { display: none; }
  .product-card-info .name-price .p { display: block; margin-top: .2rem; font-weight: 800; }

  /* --- Títulos centrados --- */
  .section-head,
  .shop-header,
  .faq-head,
  .tabs-head { text-align: center; }
  .section-head .divider,
  .shop-header .divider,
  .faq-head .divider { margin-inline: auto; }
  .section-head { display: flex; flex-direction: column; align-items: center; }

  /* Barra de tabs: pestañas centradas y el botón abajo, sin desbordes */
  .tabs-head { flex-direction: column; align-items: stretch; gap: 1rem; }
  /* min-width:auto (por defecto en flex) dejaba que las pestañas estiraran la barra
     y generaran scroll horizontal en toda la página */
  .tabs-bar { justify-content: flex-start; padding-inline: .2rem; min-width: 0; width: 100%; }
  .tabs-head > .btn { align-self: center; }

  /* --- Tienda: card limpia como en escritorio (sin botón encima) --- */
  .shop-card-action { display: none; }
  .shop-card-caption { opacity: 1 !important; right: .7rem; bottom: .7rem; left: .7rem; }
  .shop-card-caption .n { font-size: .8rem; line-height: 1.25; }
  .shop-card-caption .p { font-size: .78rem; }
  .shop-card-img .badge { top: .6rem; left: .6rem; font-size: .58rem; padding: .25rem .5rem; }
  .shop-grid { gap: 1px; }

  /* Toolbar de la tienda: entra todo sin cortarse */
  .shop-toolbar { gap: .6rem; }
  .shop-toolbar-right { gap: .9rem; }
  .shop-count { font-size: .66rem; letter-spacing: .06em; }
  .filter-toggle { font-size: .66rem; letter-spacing: .05em; gap: .35rem; }
  .filter-toggle svg { width: 15px; height: 15px; }
  .grid-toggles { gap: .5rem; }
  .grid-toggles svg { width: 17px; height: 17px; }
}


/* =====================================================
   MÓVIL: ficha de producto (panel centrado + galería carrusel)
   ===================================================== */
.gallery-dots { display: none; }   /* solo se muestran en el carrusel del celular */
@media (max-width: 700px) {

  /* --- Panel de compra centrado --- */
  .buy-panel { text-align: center; }
  .buy-panel .breadcrumbs,
  .buy-panel .pdp-rating,
  .buy-panel .stock-note,
  .buy-panel .promo-lines { justify-content: center; }
  .buy-panel .color-block,
  .buy-panel .size-block { display: flex; flex-direction: column; align-items: center; }
  .buy-panel .opt-label { justify-content: center; gap: .9rem; width: 100%; }
  .buy-panel .size-options { justify-content: center; flex-wrap: wrap; }
  .buy-panel .stock-note { display: flex; align-items: center; }
  /* Los textos largos se leen mejor alineados a la izquierda */
  .buy-panel .pdp-desc,
  .buy-panel .accordions,
  .buy-panel .perks3,
  .buy-panel .u-head { text-align: left; }

  /* --- Galería: carrusel de ancho completo en vez de 3 fotos apiladas --- */
  .gallery-stack {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    scroll-behavior: smooth;
  }
  .gallery-stack::-webkit-scrollbar { display: none; }
  .gallery-stack .g-item {
    flex: 0 0 100%;
    scroll-snap-align: center;
    margin: 0;
    aspect-ratio: 3 / 3.4;
  }
  .gallery-stack .g-item img { width: 100%; height: 100%; object-fit: cover; }
  .gallery-dots {
    display: flex;
    justify-content: center;
    gap: .45rem;
    margin: .8rem 0 .2rem;
  }
  .gallery-dots button {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: #cfd1d8;
    border: 0;
    padding: 0;
    transition: background .25s, width .25s;
  }
  .gallery-dots button.active { background: var(--marino); width: 20px; border-radius: 4px; }
}

/* =====================================================
   Animación de entrada (logo sobre el azul de la marca)
   ===================================================== */
.page-curtain {
  position: fixed;
  inset: 0;
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, #002160 0%, #001642 58%, #000c24 100%);
  transform: translateY(0);
  transition: transform .72s cubic-bezier(.76, 0, .24, 1);
  will-change: transform;
  animation: pcFailsafe .01s linear 3.5s forwards; /* red de seguridad si el JS no carga */
}
.js-ok .page-curtain { animation: none; }
@keyframes pcFailsafe { to { transform: translateY(-100%); visibility: hidden; } }
.page-curtain.gone { transform: translateY(-100%); }
.page-curtain.hidden { display: none; }
/* Al navegar la cortina se saca sin animación: la entrada es una sola vez */
.page-curtain.instant { transition: none; }

.pc-inner { display: flex; align-items: center; justify-content: center; }
.pc-logo {
  width: min(210px, 56vw);
  opacity: 0;
  animation: pcReveal .8s cubic-bezier(.16, .8, .26, 1) .06s forwards;
}
/* El logo se descubre de izquierda a derecha, como un trazo */
@keyframes pcReveal {
  0%   { opacity: 0; clip-path: inset(0 100% 0 0); transform: translateY(7px) scale(1.03); }
  55%  { opacity: 1; }
  100% { opacity: 1; clip-path: inset(0 0 0 0); transform: none; }
}
/* Antes de abrir, el logo se despide hacia arriba */
.page-curtain.logo-out .pc-logo { animation: pcLogoOut .3s cubic-bezier(.5, 0, .75, 0) forwards; }
@keyframes pcLogoOut { to { opacity: 0; transform: translateY(-14px); } }

@media (prefers-reduced-motion: reduce) {
  .page-curtain { display: none; }
}
