:root {
  --blue: #2258cc;
  --blue-dark: #043776;
  --blue-light: #e8eefb;
  --bg: #faf8f6;
  --bg-alt: #f2efec;
  --white: #ffffff;
  --text: #1a1a1a;
  --text-muted: #62636b;
  --border: #e6e3e0;
  --danger: #d81b3f;
  --radius: 10px;
  --shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  --shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
/* .section uses padding:56px 0 which overwrites horizontal padding when combined */
.container.section {
  padding-left: 24px;
  padding-right: 24px;
}

/* ---------- Top promo bar ---------- */
.promo-bar {
  background: var(--blue);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  padding: 10px 16px;
}

/* ---------- Header ---------- */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 26px;
  font-weight: 800;
  color: var(--blue-dark);
  letter-spacing: 0.01em;
}

.logo svg {
  flex-shrink: 0;
}

.logo img {
  height: 41px;
  width: auto;
  display: block;
}

.footer-brand .logo img {
  height: 36px;
}

.main-nav {
  display: flex;
  gap: 34px;
}

.main-nav a {
  font-size: 11.5px;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #3d4a63;
  padding-bottom: 5px;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--blue);
  border-bottom-color: var(--blue);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 22px;
}

.icon-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #3d4a63;
  position: relative;
  cursor: pointer;
}

.icon-btn:hover {
  color: var(--blue);
}

.cart-count {
  position: absolute;
  top: -8px;
  right: -10px;
  background: var(--blue);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  border-radius: 999px;
  min-width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

/* ---------- Orden desktop en header-actions ---------- */
.search-toggle-btn { order: 1; background: none; border: none; padding: 0; }
.profile-btn       { order: 2; }
.header-actions a.icon-btn { order: 3; }
.nav-toggle        { order: 4; }

/* ---------- Nav profile link (solo visible en menú móvil) ---------- */
.nav-mobile-profile { display: none; }

/* ---------- Desktop search overlay ---------- */
.header-search-desktop {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  height: 44px;
  width: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  background: var(--white);
  border: 1.5px solid var(--blue);
  border-radius: 8px;
  transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 20;
  pointer-events: none;
  opacity: 0;
}

.header-search-desktop.open {
  pointer-events: all;
  opacity: 1;
}

.header-search-desktop svg { color: var(--blue); flex-shrink: 0; }

.header-search-desktop .header-search-input {
  border: none;
  outline: none;
  font-size: 14px;
  font-family: inherit;
  width: 100%;
  background: transparent;
  color: var(--text);
  min-width: 0;
}

.header-search-close {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 14px;
  color: var(--text-muted);
  padding: 0 4px;
  flex-shrink: 0;
  line-height: 1;
}

/* Nav links fade when desktop search opens */
.main-nav { transition: opacity 0.2s ease; }
.main-nav.search-active { opacity: 0; pointer-events: none; }

/* Search toggle active state */
.search-toggle-btn.active svg { stroke: var(--blue); }

/* ---------- Mobile search bar ---------- */
.header-search-mobile {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
  display: none;
}

.header-search-mobile-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
}

.header-search-mobile-inner svg { color: var(--text-muted); flex-shrink: 0; }

.header-search-mobile .header-search-input {
  border: none;
  outline: none;
  font-size: 14px;
  font-family: inherit;
  width: 100%;
  background: transparent;
  color: var(--text);
}

.header-search-mobile.open { max-height: 72px; }

/* ---------- Search suggestions ---------- */
.search-suggestions {
  position: fixed;
  z-index: 9999;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  list-style: none;
  margin: 0;
  padding: 4px 0;
  display: none;
  min-width: 200px;
}
.search-suggestions.open { display: block; }
.search-suggestion-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 12px;
  font-size: 13px;
  cursor: pointer;
  color: var(--text);
  transition: background 0.12s;
  overflow: hidden;
}
.search-suggestion-item:hover { background: var(--light); }
.search-suggestion-item img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
  background: var(--light);
}
.search-suggestion-item span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.search-suggestion-item mark {
  background: none;
  color: var(--blue);
  font-weight: 700;
}

/* ---------- Hero carrusel ---------- */
.hero-carousel {
  position: relative;
  margin: 0;
  width: 100%;
  max-width: 100%;
  height: calc(100vh - 66px);
  border-radius: 0;
  overflow: hidden;
  background: var(--bg-alt);
}

/* ── Home: hero full-bleed con header flotante ── */
.hero-fullbleed .promo-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 51;
}

.hero-fullbleed .site-header {
  position: fixed;
  z-index: 50;
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease,
              left 0.35s ease, right 0.35s ease, border-radius 0.35s ease, top 0.35s ease;
}

/* Sobre el hero: pill flotante con blur */
.hero-fullbleed .site-header:not(.header-solid) {
  left: 14px;
  right: 14px;
  border-radius: 14px;
  background: rgba(12, 16, 28, 0.28);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.28);
}

.hero-fullbleed .site-header:not(.header-solid) .main-nav a {
  color: rgba(255, 255, 255, 0.88);
}
.hero-fullbleed .site-header:not(.header-solid) .main-nav a:hover,
.hero-fullbleed .site-header:not(.header-solid) .main-nav a.active {
  color: #fff;
  border-bottom: 3px solid rgba(255, 255, 255, 0.92);
}
.hero-fullbleed .site-header:not(.header-solid) .icon-btn {
  color: rgba(255, 255, 255, 0.88);
}
.hero-fullbleed .site-header:not(.header-solid) .icon-btn:hover {
  color: #fff;
}
/* Cart badge blanco sobre fondo oscuro */
.hero-fullbleed .site-header:not(.header-solid) .cart-count {
  background: #fff;
  color: #1a2540;
}
/* Hamburguesa blanca */
.hero-fullbleed .site-header:not(.header-solid) .nav-toggle {
  color: #fff;
}
.hero-fullbleed .site-header:not(.header-solid) .nav-toggle svg {
  stroke: #fff;
}
.hero-fullbleed .site-header:not(.header-solid) .logo {
  color: #fff;
}
.hero-fullbleed .site-header:not(.header-solid) .logo img {
  filter: brightness(0) invert(1);
}

/* Fuera del hero: blanco sólido, borde a borde */
.hero-fullbleed .site-header.header-solid {
  left: 0;
  right: 0;
  border-radius: 0;
  background: var(--white);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: none;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 8px rgba(0,0,0,0.06);
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.9s ease;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(95deg, rgba(22, 24, 28, 0.62) 0%, rgba(22, 24, 28, 0.34) 42%, rgba(22, 24, 28, 0.05) 72%);
}

.hero-caption {
  position: absolute;
  z-index: 2;
  left: clamp(24px, 6vw, 90px);
  top: 50%;
  transform: translateY(-50%);
  max-width: 560px;
  color: var(--white);
}

.hero-caption h1 {
  font-size: clamp(32px, 4.2vw, 54px);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0 0 18px;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.25);
}

.hero-caption p {
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.55;
  color: #f1f4fa;
  margin: 0 0 26px;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-white {
  background: var(--white);
  color: var(--text);
  border: 1px solid var(--white);
}

.btn-white:hover {
  filter: brightness(0.96);
}

.hero-nav {
  position: absolute;
  z-index: 3;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-arrow {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.88);
  color: #22293a;
  transition: background 0.15s ease, transform 0.1s ease;
}

.hero-arrow:hover {
  background: var(--white);
  transform: scale(1.05);
}

.hero-dots {
  display: flex;
  gap: 8px;
}

.hero-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  padding: 0;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.45);
  transition: background 0.2s ease, width 0.2s ease;
}

.hero-dot.active {
  background: var(--white);
  width: 24px;
  border-radius: 999px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 13px 22px;
  cursor: pointer;
  transition: filter 0.15s ease, transform 0.05s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
}

.btn-primary:hover {
  filter: brightness(1.12);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--white);
  color: var(--white);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
}

.btn-secondary {
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--text);
}

.btn-secondary:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.btn-block {
  width: 100%;
}

/* ---------- Trust badges ---------- */
.trust-badges {
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.trust-badges .container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  padding: 22px 24px;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.trust-badge svg {
  color: var(--blue);
  flex-shrink: 0;
}

/* ---------- Section headings ---------- */
.section {
  padding: 56px 0;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 28px;
  gap: 16px;
  flex-wrap: wrap;
}

.section-eyebrow {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue);
  margin: 0 0 8px;
}

.section-head h2 {
  font-size: 30px;
  margin: 0;
}

.section-link {
  font-size: 14px;
  font-weight: 700;
  color: var(--blue);
  white-space: nowrap;
}

/* ---------- Category cards ---------- */
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.category-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--bg-alt);
  box-shadow: var(--shadow);
}

.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.category-card:hover img {
  transform: scale(1.06);
}

.category-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(4, 20, 56, 0.75) 100%);
}

.category-card span {
  position: absolute;
  bottom: 18px;
  left: 18px;
  right: 18px;
  color: var(--white);
  font-size: 18px;
  font-weight: 700;
  z-index: 1;
}

/* ---------- Product cards ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.product-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

.product-media {
  display: block;
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--bg-alt);
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

img.badge {
  position: absolute;
  top: -6px;
  left: -6px;
  width: 74px;
  height: auto;
  z-index: 2;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.25));
  animation: badge-bounce-in 0.9s cubic-bezier(0.28, 1.4, 0.5, 1) both;
}

@keyframes badge-bounce-in {
  0% {
    transform: translateY(-40px) scale(0.4) rotate(-8deg);
    opacity: 0;
  }
  55% {
    transform: translateY(6px) scale(1.08) rotate(3deg);
    opacity: 1;
  }
  75% {
    transform: translateY(-4px) scale(0.97) rotate(-1deg);
  }
  100% {
    transform: translateY(0) scale(1) rotate(0deg);
  }
}

.product-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.product-category {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

.product-title {
  font-size: 15px;
  font-weight: 700;
  margin: 0;
  line-height: 1.3;
}

.product-title a {
  color: inherit;
}

.product-title a:hover {
  color: var(--blue);
}

.product-desc {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
  flex: 1;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 4px;
}

.price {
  font-size: 16px;
  font-weight: 800;
  color: #1375f2;
}

.price-original {
  font-size: 18px;
  color: var(--text-muted);
  text-decoration: line-through;
  order: -1;
}

.discount-pill {
  display: none;
}

/* ---------- Ribbon descuento ---------- */
.product-discount-ribbon {
  position: absolute;
  top: 18px;
  right: -28px;
  width: 110px;
  background: var(--danger);
  color: #fff;
  font-size: 10.5px;
  font-weight: 800;
  text-align: center;
  padding: 5px 0;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transform: rotate(45deg);
  z-index: 3;
  pointer-events: none;
}

.product-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 11px;
  color: var(--text-muted);
}

.product-meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ---------- Ideal section ---------- */
.ideal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.ideal-card {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ideal-card svg {
  color: var(--blue);
  margin-bottom: 14px;
  flex-shrink: 0;
}

.ideal-card h3 {
  font-size: 16px;
  margin: 0 0 6px;
  min-height: 2.5em;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ideal-card p {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
}

/* ---------- Features bento ---------- */
.features-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.feat-card {
  border-radius: 16px;
  overflow: hidden;
  min-height: 260px;
}

.feat-card--text {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.feat-card--text h3 {
  font-size: 21px;
  font-weight: 800;
  margin: 0 0 10px;
}

.feat-card--text p {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
}

.feat-card--image {
  position: relative;
  background: var(--bg-alt);
}

.feat-card--image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.feat-card--accent {
  background: var(--blue);
  color: var(--white);
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.feat-card--accent h3 {
  font-size: 21px;
  font-weight: 800;
  margin: 0 0 8px;
}

.feat-card--accent p {
  font-size: 14px;
  opacity: 0.85;
  margin: 0;
  line-height: 1.6;
}

.feat-card--center {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.feat-card--center svg {
  color: var(--blue);
  margin-bottom: 18px;
}

.feat-card--center h3 {
  font-size: 20px;
  font-weight: 800;
  margin: 0 0 10px;
}

.feat-card--center p {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
  max-width: 220px;
}

.feat-card--wide {
  grid-column: span 2;
}

.feat-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px 40px;
  background: linear-gradient(0deg, rgba(4,20,56,0.78) 0%, rgba(4,20,56,0.18) 60%, transparent 100%);
  color: var(--white);
}

.feat-overlay h3 {
  font-size: 24px;
  font-weight: 800;
  margin: 0 0 8px;
}

.feat-overlay p {
  font-size: 14px;
  opacity: 0.88;
  margin: 0;
  max-width: 400px;
  line-height: 1.55;
}

/* ---------- Product grid 5 cols ---------- */
.product-grid--5 {
  grid-template-columns: repeat(5, 1fr);
}

/* ---------- Product grid 3 cols ---------- */
.product-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

/* ---------- Nuevos ingresos carousel ---------- */
.nuevos-carousel-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nuevos-carousel-wrap .product-grid {
  flex: 1;
  min-width: 0;
}
.nuevos-arrow {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
  box-shadow: 0 1px 4px rgba(0,0,0,0.07);
}
.nuevos-arrow:hover:not(:disabled) {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.14);
}
.nuevos-arrow:disabled {
  opacity: 0.3;
  cursor: default;
}
.nuevos-fade-out {
  opacity: 0;
  transition: opacity 0.18s ease;
}
.product-grid:not(.nuevos-fade-out) {
  transition: opacity 0.18s ease;
  opacity: 1;
}

/* ---------- Testimonials reel ---------- */
.testi-section .section-head { margin-bottom: 32px; }

.testi-viewport {
  overflow: hidden;
  position: relative;
  padding-bottom: 8px;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}
.testi-viewport.testi-dragging {
  cursor: grabbing;
}
/* Bloquea clics en hijos mientras se arrastra para evitar activaciones accidentales */
.testi-viewport.testi-dragging * {
  pointer-events: none;
}
.testi-viewport::before,
.testi-viewport::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}
.testi-viewport::before {
  left: 0;
  background: linear-gradient(to right, var(--white) 0%, transparent 100%);
}
.testi-viewport::after {
  right: 0;
  background: linear-gradient(to left, var(--white) 0%, transparent 100%);
}

@keyframes testi-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.testi-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: testi-scroll linear infinite;
}
/* Pausa automática solo cuando no se está arrastrando (el drag la gestiona por JS) */
.testi-viewport:not(.testi-dragging) .testi-track:hover {
  animation-play-state: paused;
}

.testi-reel-card {
  width: 280px;
  flex-shrink: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.testi-reel-photo {
  width: 100%;
  aspect-ratio: 25 / 36;
  overflow: hidden;
}
.testi-reel-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.testi-reel-card:hover .testi-reel-photo img {
  transform: scale(1.04);
}
.testi-reel-body {
  padding: 16px;
}
.testi-reel-stars {
  font-size: 14px;
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.testi-reel-stars .star-full  { color: #f5a623; }
.testi-reel-stars .star-half  { color: #f5a623; }
.testi-reel-stars .star-empty { color: #ddd; }
.testi-reel-comment {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0 0 10px;
}
.testi-reel-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}

/* Legacy selectors kept for admin/other pages */
.trc-avatar { display: none; }
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
}
.stars { color: var(--blue); font-size: 15px; letter-spacing: 2px; margin-bottom: 12px; }
.testimonial-card p { font-size: 14px; margin: 0; }

/* ---------- Hero video ---------- */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.revealed {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
}

.footer-top {
  padding-top: 56px;
  padding-bottom: 36px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
}

.footer-brand .logo {
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 14px;
  color: var(--text-muted);
  max-width: 280px;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
}

.site-footer h4 {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 16px;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.site-footer ul a {
  font-size: 14px;
  color: var(--text-muted);
}

.site-footer ul a:hover {
  color: var(--blue);
}

.store-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.store-link {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: var(--shadow);
}

.store-link svg {
  color: var(--blue);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 18px;
  padding-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-muted);
}

.footer-bottom-icons {
  display: flex;
  gap: 14px;
  color: var(--text-muted);
}

/* ---------- Page header (catalogo / faq / contacto) ---------- */
.page-hero {
  background: var(--bg-alt);
  padding: 48px 0;
  border-bottom: 1px solid var(--border);
}

.page-hero p.eyebrow {
  color: var(--blue);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 8px;
}

.page-hero h1 {
  font-size: 36px;
  margin: 0 0 12px;
}

.page-hero p.lead {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0;
}

.page-hero--center {
  text-align: center;
  padding: 64px 0;
  border-bottom: none;
}

.page-hero--center p.eyebrow {
  letter-spacing: 0.1em;
}

.page-hero--center h1 {
  font-size: 52px;
  font-weight: 600;
  color: var(--blue-dark);
}

.page-hero--center p.lead {
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Catalogo layout ---------- */
.catalog-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 28px;
  align-items: start;
}

.filters {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  position: sticky;
  top: 96px;
}

/* ── Filters toggle button ── */
.filters-toggle-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  background: none;
  border: none;
  font-size: 14px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  color: var(--text);
  text-align: left;
}
.filters-toggle-btn:hover { color: var(--blue); }
.filters-toggle-chevron {
  margin-left: auto;
  transition: transform 0.25s ease;
}
.filters-toggle-btn.open .filters-toggle-chevron { transform: rotate(180deg); }

/* ── Filters collapsible panel ── */
.filters-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 18px;
}
.filters-panel.open {
  max-height: 1200px;
  padding-bottom: 14px;
}

/* ── Accordion item ── */
.filter-accordion {
  border-top: 1px solid var(--border);
}
.filter-accordion-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  background: none;
  border: none;
  font-size: 12px;
  font-weight: 800;
  font-family: inherit;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--blue);
  cursor: pointer;
}
.filter-accordion-btn svg {
  flex-shrink: 0;
  transition: transform 0.22s ease;
}
.filter-accordion.open .filter-accordion-btn svg { transform: rotate(180deg); }
.filter-accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}
.filter-accordion.open .filter-accordion-body {
  max-height: 400px;
}

.filter-group {
  padding-bottom: 6px;
  margin-bottom: 0;
}

.filter-group label.checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  margin-bottom: 10px;
  cursor: pointer;
}

.filter-group select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  background: var(--white);
}

.price-range {
  display: flex;
  gap: 10px;
}

.price-range .field {
  flex: 1;
  position: relative;
}

.price-range span {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 13px;
}

.price-range input {
  width: 100%;
  padding: 10px 10px 10px 22px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
}

.sort-row {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 20px;
}

.sort-row select {
  padding: 9px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  background: var(--white);
}

.empty-state {
  text-align: center;
  color: var(--text-muted);
  padding: 60px 0;
  font-size: 14px;
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-category {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 36px 0 10px;
}
.faq-category:first-child { margin-top: 0; }

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 20px 22px;
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  gap: 16px;
}

.faq-question .chev {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.faq-item.open .chev {
  transform: rotate(180deg);
  background: var(--blue-light);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}

.faq-answer p {
  padding: 0 22px 20px;
  margin: 0;
  font-size: 14px;
  color: var(--text-muted);
}

/* ---------- Contacto ---------- */
.contact-form {
  max-width: 720px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-field {
  margin-bottom: 20px;
}

.form-field label {
  display: block;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--blue);
  margin-bottom: 8px;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1.5px solid #a9c2ee;
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  background: var(--bg);
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-light);
}

.form-field textarea {
  min-height: 120px;
  resize: vertical;
}

.form-note {
  font-size: 13px;
  border-radius: 8px;
  padding: 12px 14px;
  margin-top: 16px;
  display: none;
}

.form-note.success {
  display: block;
  background: #e6f6ec;
  color: #1a7a3f;
}

.form-note.error {
  display: block;
  background: #fbe8ea;
  color: #a8203a;
}

/* ---------- Chat widget ---------- */
.chat-widget {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 60;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

/* Botón sticker flotante */
.chat-sticker-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  line-height: 0;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.22));
  transition: transform 0.2s;
  position: relative;
}
.chat-sticker-btn:hover { transform: scale(1.08); }
.chat-sticker-btn[hidden] { display: none; }


.chat-sticker-label {
  background: var(--white);
  border-radius: 999px;
  box-shadow: var(--shadow);
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  pointer-events: none;
  animation: stickerFloat 3.2s ease-in-out infinite;
}
.chat-sticker-label[hidden] { display: none; }

@keyframes stickerFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-5px); }
}

.chat-sticker-img {
  width: 119px;
  height: 119px;
  object-fit: contain;
  display: block;
  animation: stickerFloat 3.2s ease-in-out infinite;
}

@media (max-width: 768px) {
  .chat-sticker-img {
    width: 108px;
    height: 108px;
  }
}

/* ── Ventana de chat ── */
@keyframes chatSlideUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.chat-window {
  width: 340px;
  height: 460px;
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.18);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: chatSlideUp 0.2s ease;
}
.chat-window[hidden] { display: none; }

.chat-window__header {
  background: var(--blue);
  color: #fff;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

.chat-window__title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 14px;
}

.chat-header-avatar {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  flex-shrink: 0;
}

.chat-window__close {
  background: none;
  border: none;
  color: rgba(255,255,255,0.7);
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  padding: 2px 4px;
}
.chat-window__close:hover { color: #fff; }

.chat-window__messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  scroll-behavior: smooth;
}

.chat-msg {
  max-width: 82%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.45;
  word-wrap: break-word;
}
.chat-msg--user {
  align-self: flex-end;
  background: var(--blue);
  color: #fff;
  border-bottom-right-radius: 4px;
}
.chat-msg--bot {
  align-self: flex-start;
  background: #f1f3f6;
  color: var(--text);
  border-bottom-left-radius: 4px;
}
.chat-msg--typing {
  align-self: flex-start;
  background: #f1f3f6;
  padding: 12px 16px;
}
.chat-typing-dots {
  display: flex;
  gap: 4px;
}
.chat-typing-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #aaa;
  animation: typingBounce 1.2s infinite ease-in-out;
}
.chat-typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typingBounce {
  0%, 60%, 100% { transform: translateY(0); }
  30% { transform: translateY(-5px); }
}

.chat-window__input-area {
  display: flex;
  padding: 10px 12px;
  gap: 8px;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
}

.chat-window__input {
  flex: 1;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  outline: none;
  font-family: inherit;
}
.chat-window__input:focus { border-color: var(--blue); }

.chat-window__send {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.chat-window__send:disabled { opacity: 0.5; cursor: not-allowed; }

@media (max-width: 400px) {
  .chat-window { width: calc(100vw - 32px); }
}

/* ---------- Producto (detalle) ---------- */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto 1fr;
  grid-template-areas:
    "gallery info"
    "extras  info";
  gap: 48px;
  align-items: start;
}
.pdp-gallery-col {
  grid-area: gallery;
}
.pdp-info-col    { grid-area: info; }
.pdp-extras-col  { grid-area: extras; }

/* Galería wrap — necesario para el counter absoluto */
.gallery-wrap {
  position: relative;
  margin-bottom: 10px;
}

.gallery-main {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-alt);
  cursor: pointer;
  position: relative;
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
  display: block;
}

/* Animaciones de slide */
@keyframes gallerySlideRight {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes gallerySlideLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to   { opacity: 1; transform: translateX(0); }
}
.gallery-main img.slide-right { animation: gallerySlideRight 0.22s ease; }
.gallery-main img.slide-left  { animation: gallerySlideLeft  0.22s ease; }

/* ─── Lightbox ─── */
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(0, 0, 0, 0.93);
  display: flex;
  flex-direction: column;
}
.gallery-lightbox[hidden] { display: none !important; }

.lb-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  flex-shrink: 0;
}
.lb-counter {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.04em;
}
.lb-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 26px;
  cursor: pointer;
  line-height: 1;
  padding: 4px 8px;
  opacity: 0.8;
  transition: opacity 0.15s;
}
.lb-close:hover { opacity: 1; }

.lb-body {
  flex: 1;
  display: flex;
  overflow: hidden;
  min-height: 0;
}

/* Tira de thumbnails izquierda (oculta en mobile) */
.lb-thumbs {
  width: 80px;
  flex-shrink: 0;
  overflow-y: auto;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  scrollbar-width: none;
}
.lb-thumbs::-webkit-scrollbar { display: none; }
.lb-thumb {
  width: 64px;
  height: 64px;
  border-radius: 6px;
  overflow: hidden;
  border: 2px solid transparent;
  background: rgba(255,255,255,0.08);
  cursor: pointer;
  flex-shrink: 0;
  padding: 0;
  transition: border-color 0.15s;
}
.lb-thumb.active { border-color: #fff; }
.lb-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Stage central */
.lb-stage {
  flex: 1;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  min-width: 0;
}

/* Flechas */
.lb-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  background: rgba(255,255,255,0.12);
  border: none;
  color: #fff;
  font-size: 32px;
  line-height: 1;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
  flex-shrink: 0;
}
.lb-arrow:hover { background: rgba(255,255,255,0.25); }
.lb-arrow.lb-prev { left: 12px; }
.lb-arrow.lb-next { right: 12px; }

/* Viewport de imagen */
.lb-viewport {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  height: 100%;
  cursor: zoom-in;
}
.lb-viewport.zoomed         { cursor: grab; }
.lb-viewport.zoomed.panning { cursor: grabbing; }

.lb-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
  transform-origin: 50% 50%;
  transition: transform 0.25s ease;
  display: block;
}
.lb-img.zoomed {
  transform: scale(2.5);
  transition: none;
}

/* Mobile: ocultar thumbs, ajustar flechas */
@media (max-width: 900px) {
  .lb-thumbs { display: none; }
  .lb-arrow { width: 38px; height: 38px; font-size: 24px; }
  .lb-arrow.lb-prev { left: 6px; }
  .lb-arrow.lb-next { right: 6px; }
}

/* Contador "1 / 7" — visible solo en mobile */
.gallery-counter {
  display: none;
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(235, 235, 235, 0.88);
  backdrop-filter: blur(4px);
  color: var(--text);
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  line-height: 1.4;
  z-index: 2;
  pointer-events: none;
}

/* Thumbs — fila horizontal con scroll izquierda-derecha */
.gallery-thumbs {
  display: flex;
  flex-direction: row;
  gap: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 6px;
}

.gallery-thumbs::-webkit-scrollbar {
  height: 3px;
}
.gallery-thumbs::-webkit-scrollbar-track {
  background: transparent;
}
.gallery-thumbs::-webkit-scrollbar-thumb {
  background: #2258cc;
  border-radius: 3px;
}

/* Dots — visibles solo en mobile */
.gallery-dots {
  display: none;
  gap: 7px;
  justify-content: center;
  padding: 10px 0 2px;
  flex-wrap: wrap;
}
.gallery-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  flex-shrink: 0;
}
.gallery-dot.active {
  background: var(--blue);
  transform: scale(1.35);
}

.gallery-thumb {
  width: 72px;
  height: 72px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid transparent;
  flex-shrink: 0;
  flex-grow: 0;
  background: var(--bg-alt);
  cursor: pointer;
  padding: 0;
}

.gallery-thumb.active {
  border-color: var(--blue);
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.perks-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  margin-top: 24px;
}

.perks-card h2 {
  font-size: 18px;
  color: var(--blue);
  margin: 0 0 20px;
}

.perks-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.perk-item {
  display: flex;
  gap: 12px;
}

/* ---------- Reseñas en columna izquierda del producto ---------- */
.pdp-reviews-col {
  margin-top: 28px;
  border-top: 1px solid var(--border);
  padding-top: 24px;
}
.pdp-reviews-title {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 18px;
}
.pdp-reviews-form-title {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 14px;
}
#review-form-section {
  background: var(--bg-alt);
  border-radius: 12px;
  padding: 20px;
  margin-top: 20px;
}

.perk-item svg {
  color: var(--blue);
  flex-shrink: 0;
  margin-top: 2px;
}

.perk-item h3 {
  font-size: 14px;
  color: var(--blue);
  margin: 0 0 4px;
}

.perk-item p {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
}

.pdp-title {
  font-size: 26px;
  margin: 0 0 10px;
}

.pdp-breadcrumb {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0 0 12px;
}

.pdp-breadcrumb a:hover {
  color: var(--blue);
}

.pdp-price-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.pdp-price {
  font-size: 32px;
  font-weight: 800;
  color: var(--blue);
}

.pdp-installments {
  font-size: 14px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 12px 0 20px;
}

.pdp-installments strong {
  color: var(--text);
}

.dot-live {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2ecc71;
  flex-shrink: 0;
}

.pdp-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 20px 0;
}

#model-selector-wrap {
  margin-bottom: 20px;
}

.pdp-label {
  position: relative;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.measure-guide-popover {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 8px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 10px 14px;
  font-size: 12px;
  font-weight: 600;
  text-transform: none;
  letter-spacing: normal;
  color: var(--text);
  white-space: nowrap;
  z-index: 5;
}

.pdp-label strong {
  color: var(--blue);
}

.measure-guide-link {
  float: right;
  font-size: 12px;
  font-weight: 700;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.size-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 24px;
}

.size-option {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px 16px;
  background: var(--white);
  cursor: pointer;
  text-align: left;
  position: relative;
  font-family: inherit;
}

.size-option:not(.size-option--unavailable) {
  border-color: #b8b6b3;
}

.size-option strong {
  display: block;
  font-size: 14px;
  margin-bottom: 4px;
}

.size-option span {
  font-size: 12px;
  color: var(--text-muted);
}

.size-option.active {
  border-color: var(--blue);
  box-shadow: 0 0 0 1px var(--blue);
}

.size-option .check {
  position: absolute;
  top: 12px;
  right: 12px;
  color: var(--blue);
  display: none;
}

.size-option.active .check {
  display: block;
}

.size-option--unavailable {
  opacity: 0.85;
  cursor: default;
  pointer-events: none;
}


.finish-row {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}

.finish-swatch {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid transparent;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  padding: 0;
  background-size: cover;
  background-position: center;
}

.finish-swatch.active {
  border-color: var(--blue);
  box-shadow: 0 0 0 2px var(--white), 0 0 0 4px var(--blue);
}

.finish-swatch--unavailable {
  opacity: 0.35;
  cursor: default;
  pointer-events: none;
  position: relative;
}

.finish-swatch--unavailable::after {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: linear-gradient(
    to bottom right,
    transparent calc(50% - 1px),
    #888 calc(50% - 1px),
    #888 calc(50% + 1px),
    transparent calc(50% + 1px)
  );
}

.stock-line {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #1a7a3f;
  margin-bottom: 20px;
}

.pdp-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  text-align: center;
  margin-bottom: 20px;
}

.trust-row-item svg {
  color: var(--blue);
  margin-bottom: 6px;
}

.trust-row-item strong {
  display: block;
  font-size: 13px;
}

.trust-row-item span {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.pdp-accordion .faq-item {
  border-left: none;
  border-right: none;
  border-radius: 0;
  border-top: none;
}

.pdp-accordion .faq-item:first-child {
  border-top: 1px solid var(--border);
}

.pdp-accordion .faq-question {
  color: var(--blue);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 18px 4px;
}

.pdp-accordion .faq-answer p {
  padding: 0 4px 20px;
  white-space: pre-line;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
}

.spec-table tr {
  border-top: 1px solid var(--border);
}

.spec-table tr:first-child {
  border-top: none;
}

.spec-table td {
  padding: 10px 4px;
  font-size: 13px;
}

.spec-table td:first-child {
  color: var(--text-muted);
  width: 45%;
}

.spec-table td:last-child {
  font-weight: 600;
  text-align: right;
}

/* En desktop el panel abierto no necesita restricción de max-height */
@media (min-width: 961px) {
  .filters-panel.open {
    max-height: none;
    overflow: visible;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  /* Nav oculta por defecto, visible con clase */
  .main-nav { display: none; }
  .main-nav.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 12px 24px 20px;
    border-bottom: 1px solid var(--border);
    z-index: 49;
    gap: 2px;
  }

  /* Menú móvil con blur gaussiano en hero fullbleed */
  .hero-fullbleed .site-header:not(.header-solid) .main-nav.mobile-open {
    background: rgba(12, 16, 28, 0.55);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }
  .hero-fullbleed .site-header:not(.header-solid) .main-nav.mobile-open a {
    color: rgba(255, 255, 255, 0.88);
    border-bottom-color: transparent;
  }
  .hero-fullbleed .site-header:not(.header-solid) .main-nav.mobile-open a:hover,
  .hero-fullbleed .site-header:not(.header-solid) .main-nav.mobile-open a.active {
    color: #fff;
    border-bottom-color: rgba(255, 255, 255, 0.35);
  }
  .hero-fullbleed .site-header:not(.header-solid) .nav-mobile-profile {
    color: rgba(255, 255, 255, 0.75);
    border-top-color: rgba(255, 255, 255, 0.15);
  }
  .hero-fullbleed .site-header:not(.header-solid) .nav-mobile-profile svg {
    stroke: rgba(255, 255, 255, 0.75);
  }

  /* Perfil en menú hamburguesa */
  .nav-mobile-profile {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 0 0;
    margin-top: 8px;
    border-top: 1px solid var(--border);
    font-size: 11.5px;
    font-weight: 650;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #3d4a63;
    cursor: pointer;
  }

  .nav-toggle { display: block; }

  /* Ocultar perfil y texto CART */
  .profile-btn { display: none !important; }
  .cart-text   { display: none; }

  /* Orden en móvil: cart | search | hamburger */
  .header-actions a.icon-btn  { order: 1; }
  .search-toggle-btn          { order: 2; }
  .nav-toggle                 { order: 3; }

  /* Mostrar search bar móvil */
  .header-search-mobile { display: block; }
  /* Ocultar desktop search */
  .header-search-desktop { display: none !important; }

  /* Bento grid → 2 columnas en tablet:
     [text | image]  /  [accent | center]  /  [wide — full] */
  .features-bento {
    grid-template-columns: 1fr 1fr;
  }
  .feat-card--wide {
    grid-column: span 2;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .category-grid,
  .product-grid,
  .ideal-grid,
  .testimonial-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .catalog-layout {
    grid-template-columns: 1fr;
  }

  .filters {
    position: static;
  }

  .product-detail {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    grid-template-areas:
      "gallery"
      "info"
      "extras";
  }
  /* En mobile: dots y contador visibles, thumbs ocultos */
  .gallery-thumbs  { display: none; }
  .gallery-dots    { display: flex; }
  .gallery-counter { display: block; }
  .gallery-main { cursor: pointer; }
}

@media (max-width: 620px) {
  .hero h1 {
    font-size: 30px;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .category-grid,
  .product-grid,
  .ideal-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .size-grid,
  .perks-grid,
  .trust-row {
    grid-template-columns: 1fr;
  }

  /* Trust badges: uno por fila, centrado */
  .trust-badges .container {
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 18px 24px;
  }
  .trust-badge {
    justify-content: center;
    width: 100%;
  }

  /* Bento móvil: mismas 2 cols, alturas y padding reducidos */
  .feat-card {
    min-height: 180px;
  }
  .feat-card--text,
  .feat-card--accent,
  .feat-card--center {
    padding: 24px 20px;
  }
  .feat-card--text h3,
  .feat-card--accent h3,
  .feat-card--center h3 {
    font-size: 16px;
  }
  .feat-card--accent svg,
  .feat-card--center svg {
    width: 26px;
    height: 26px;
    margin-bottom: 12px;
  }
  .feat-overlay {
    padding: 20px 22px;
  }
  .feat-overlay h3 { font-size: 17px; }


  .hero-carousel {
    width: 100%;
    height: 420px;
  }

  .hero-nav {
    bottom: 14px;
    gap: 8px;
  }
}

/* ---------- Carrito (drawer lateral) ---------- */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 14, 24, 0.45);
  z-index: 90;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(420px, 100vw);
  background: var(--white);
  z-index: 91;
  display: flex;
  flex-direction: column;
  transform: translateX(105%);
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.3, 1);
  box-shadow: -12px 0 40px rgba(0, 0, 0, 0.18);
}

body.cart-open .cart-overlay {
  opacity: 1;
  pointer-events: auto;
}

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

.cart-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid var(--border);
}

.cart-drawer-head h3 {
  margin: 0;
  font-size: 15px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.cart-close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  padding: 6px;
}

.cart-close:hover {
  color: var(--text);
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 14px 22px;
}

.cart-empty {
  text-align: center;
  color: var(--text-muted);
  padding: 60px 10px;
  font-size: 14px;
}

.cart-item {
  display: grid;
  grid-template-columns: 74px 1fr auto;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  align-items: center;
}

.cart-item-link {
  display: block;
  flex-shrink: 0;
}
.cart-item-img {
  width: 74px;
  height: 74px;
  border-radius: 8px;
  background: var(--bg-alt);
  object-fit: contain;
  display: block;
}
.cart-item-link:hover .cart-item-img {
  opacity: 0.85;
}
.cart-item-title-link {
  display: block;
  text-decoration: none;
  color: inherit;
}
.cart-item-title-link:hover .cart-item-title {
  color: var(--blue);
}

.cart-item-title {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  margin: 0 0 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cart-item-price {
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
}

.cart-item-color {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  margin: 0 0 4px;
}

.cart-qty {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 3px 6px;
  margin-top: 6px;
}

.cart-qty button {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
  color: var(--blue);
  width: 20px;
  height: 20px;
  line-height: 1;
}

.cart-qty span {
  font-size: 13px;
  font-weight: 700;
  min-width: 16px;
  text-align: center;
}

.cart-remove {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  padding: 4px;
  justify-self: end;
}

.cart-remove:hover {
  color: var(--danger);
}

.cart-drawer-foot {
  border-top: 1px solid var(--border);
  padding: 18px 22px 22px;
}

.cart-subtotal {
  display: flex;
  justify-content: space-between;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 14px;
}

.cart-drawer-foot .btn + .btn {
  margin-top: 10px;
}

/* ---------- Autenticacion (login / registro) ---------- */
.auth-wrap {
  min-height: calc(100vh - 220px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 20px;
}

.auth-card {
  background: var(--white);
  border-radius: 18px;
  box-shadow: 0 10px 44px rgba(15, 32, 68, 0.1);
  padding: 46px 42px 38px;
  width: 100%;
  max-width: 420px;
  text-align: center;
}

.auth-card .logo img {
  height: 52px;
  margin: 0 auto 26px;
}

.auth-card h1 {
  font-size: 26px;
  color: var(--blue);
  margin: 0 0 6px;
}

.auth-card .auth-sub {
  color: var(--text-muted);
  font-size: 14px;
  margin: 0 0 26px;
}

.auth-card .form-field {
  text-align: left;
  margin-bottom: 14px;
}

.auth-card input {
  width: 100%;
  padding: 13px 15px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.auth-card input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(6, 62, 170, 0.12);
}

.auth-card .btn {
  border-radius: 999px;
  padding: 14px 22px;
  margin-top: 8px;
}

.auth-alt {
  margin-top: 20px;
  font-size: 13.5px;
  color: var(--text-muted);
}

.auth-alt a {
  color: var(--blue);
  font-weight: 700;
}

.auth-error {
  background: #fdecef;
  color: var(--danger);
  font-size: 13px;
  border-radius: 8px;
  padding: 10px 12px;
  margin-bottom: 14px;
  display: none;
}

.auth-error.visible {
  display: block;
}

/* ---------- Paginas de informacion ---------- */
.info-page {
  max-width: 780px;
  margin: 0 auto;
}

.info-page p {
  font-size: 15.5px;
  line-height: 1.75;
  color: #333a46;
  margin: 0 0 18px;
}

.info-section-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin: 36px 0 10px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--border);
}

/* ═══════════════════════════════════════════════
   Tu habitación DOTICO — Shop The Look
═══════════════════════════════════════════════ */

.look-section {
  margin: 18px auto 0;
  width: calc(100% - 44px);
  max-width: 1780px;
}

.look-section-inner {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  background: var(--bg-alt);
}

/* ── Cabecera de la sección ── */
.look-header {
  padding: 24px 28px 14px;
}
.look-header h2 {
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 700;
  margin: 0;
  color: var(--text);
}

/* ── Badge "Consigue el look" ── */
.look-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 20px 0 0 28px;
  padding: 0;
  background: none;
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.look-badge svg { flex-shrink: 0; stroke: var(--blue); fill: none; }

/* ── Slider de looks ── */
.look-slider-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 2.4 / 1;
  overflow: hidden;
}

.look-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s ease;
}
.look-slide.active {
  opacity: 1;
  pointer-events: auto;
}
.look-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── Bullets ── */
.look-bullet-wrap {
  position: absolute;
  transform: translate(-50%, -50%);
  z-index: 4;
}
.look-bullet-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  border: 2px solid #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.28);
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.18s;
}
.look-bullet-dot::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.5);
  animation: look-pulse 2s infinite;
}
.look-bullet-dot::after {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  display: block;
}
.look-bullet-dot:hover { transform: scale(1.15); }
.look-bullet-dot.active { background: var(--accent); }
.look-bullet-dot.active::after { background: #fff; }

@keyframes look-pulse {
  0%, 100% { transform: scale(1); opacity: .7; }
  50%       { transform: scale(1.4); opacity: 0; }
}

/* ── Tarjeta popup del producto ── */
.look-bubble {
  position: absolute;     /* anclado a body; nunca recortado por overflow:hidden */
  width: 220px;
  background: var(--white);
  border-radius: 18px;
  padding: 16px 16px 14px;
  box-shadow: 0 8px 36px rgba(0,0,0,0.22);
  opacity: 0;
  pointer-events: none;
  transform: scale(0.94);
  transition: opacity 0.18s, transform 0.18s;
  z-index: 200;
  text-align: left;
}
.look-bubble.visible {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

.look-bubble-close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  font-size: 15px;
  line-height: 1;
  color: #aaa;
  cursor: pointer;
  padding: 2px 4px;
  border-radius: 4px;
}
.look-bubble-close:hover { color: var(--text); }

.look-bubble-cat {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 4px;
  padding-right: 18px;
}
.look-bubble-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 6px;
  line-height: 1.35;
}
.look-bubble-price {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 10px;
}
.look-bubble-btn {
  display: block;
  width: 100%;
  padding: 9px;
  background: var(--blue);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: transform 0.18s, box-shadow 0.18s;
}
.look-bubble-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 14px rgba(34, 88, 204, 0.35);
}
.look-bubble-btn:disabled, .look-bubble-btn[aria-disabled=true] {
  opacity: 0.4;
  cursor: default;
  pointer-events: none;
}

/* ── Controles (flechas + contador) ── */
.look-controls {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 28px 20px;
  justify-content: flex-end;
}
.look-arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}
.look-arrow:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.look-counter {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
  min-width: 36px;
  text-align: center;
}

/* ── Responsive ── */
@media (max-width: 600px) {
  .look-section { width: calc(100% - 20px); }
  .look-badge { margin: 14px 0 0 16px; font-size: 11px; }
  .look-header { padding: 10px 16px 8px; }
  .look-header h2 { font-size: 18px; }
  .look-controls { padding: 8px 16px 12px; }

  /* Burbuja compacta en móvil */
  .look-bubble { width: 170px; padding: 11px 12px 10px; border-radius: 14px; }
  .look-bubble-close { font-size: 13px; top: 8px; right: 8px; }
  .look-bubble-cat   { font-size: 9px;  margin-bottom: 3px; }
  .look-bubble-name  { font-size: 11px; margin-bottom: 4px; }
  .look-bubble-price { font-size: 13px; margin-bottom: 8px; }
  .look-bubble-btn   { font-size: 11px; padding: 7px; border-radius: 10px; }
}
