/* ============================================================
   EL BANCO SUPLEMENTOS — styles.css
   ============================================================ */

/* ── 1. CUSTOM PROPERTIES ─────────────────────────────────── */
:root {
  --bg:            #0B1724;
  --bg-card:       #101E2E;
  --bg-card-hover: #132233;
  --deep-blue:     #0E4C86;
  --brand-blue:    #075A9A;
  --brand-blue-lt: #1A6DB5;
  --electric-blue: #2D8FE8;
  --stone:         #C8C0B2;
  --stone-dim:     #8A8278;
  --off-white:     #F4F1EA;
  --white:         #FFFFFF;
  --overlay:       rgba(11, 23, 36, 0.93);
  --border:        rgba(14, 76, 134, 0.35);
  --border-hover:  rgba(7, 90, 154, 0.7);
  --border-glow:   rgba(45, 143, 232, 0.6);

  --badge-gold:    #C9A84C;
  --badge-blue:    #1A6DB5;
  --badge-red:     #B03030;
  --badge-green:   #1D7A4E;

  --wa-green:      #25D366;
  --wa-green-dark: #1DA851;
  --ig-grad-start: #833ab4;
  --ig-grad-end:   #fd1d1d;

  --header-h:      68px;
  --radius:        4px;
  --radius-lg:     8px;
  --radius-xl:     12px;
  --transition:    0.22s ease;
  --shadow-card:   0 4px 24px rgba(0, 0, 0, 0.4);
  --shadow-hover:  0 8px 40px rgba(7, 90, 154, 0.28);
  --shadow-glow:   0 0 30px rgba(45, 143, 232, 0.2);
}

/* ── 2. RESET & BASE ──────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  scrollbar-gutter: stable;
}

body {
  background-color: var(--bg);
  color: var(--off-white);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Mobile menu still uses simple overflow lock */
body.menu-open {
  overflow: hidden;
}

/* Modal scroll lock is handled via JS (position:fixed + top offset).
   Compensate scrollbar disappearance on fixed elements. */
body.modal-open .header {
  padding-right: var(--scrollbar-compensation, 0px);
}
body.modal-open .floating-wa {
  /* right-offset already viewport-anchored; compensate inner spacing */
  right: calc(28px + var(--scrollbar-compensation, 0px));
}
body.modal-open .toast-container {
  right: calc(24px + var(--scrollbar-compensation, 0px));
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

ul { list-style: none; }

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

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

/* ── 3. TYPOGRAPHY ────────────────────────────────────────── */
.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-blue);
  margin-bottom: 10px;
}

h1, h2, h3, h4 {
  font-family: 'Barlow Condensed', 'Inter', sans-serif;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0.01em;
}

/* ── 4. BUTTONS ───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform 0.15s ease, box-shadow var(--transition);
  white-space: nowrap;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
}

.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--brand-blue);
  color: var(--white);
  border-color: var(--brand-blue);
}
.btn-primary:hover {
  background: var(--brand-blue-lt);
  border-color: var(--brand-blue-lt);
  box-shadow: 0 0 20px rgba(7, 90, 154, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--off-white);
  border-color: var(--stone-dim);
}
.btn-secondary:hover {
  border-color: var(--stone);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--stone);
  border-color: var(--border-hover);
}
.btn-outline:hover {
  color: var(--off-white);
  border-color: var(--stone);
  background: rgba(200, 192, 178, 0.06);
}

.btn-whatsapp {
  background: var(--wa-green);
  color: var(--white);
  border-color: var(--wa-green);
}
.btn-whatsapp:hover {
  background: var(--wa-green-dark);
  border-color: var(--wa-green-dark);
}

/* WA shimmer */
.btn-whatsapp::after {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  transform: skewX(-20deg);
}

.btn-whatsapp:not(:disabled):hover::after {
  animation: btnShimmer 0.65s ease forwards;
}

@keyframes btnShimmer {
  to { left: 160%; }
}

.btn-instagram {
  background: linear-gradient(135deg, var(--ig-grad-start), var(--ig-grad-end));
  color: var(--white);
  border-color: transparent;
}
.btn-instagram:hover {
  opacity: 0.88;
}

.btn-product-page {
  background: var(--brand-blue);
  color: var(--white);
  border-color: var(--brand-blue);
}
.btn-product-page:hover {
  background: var(--brand-blue-lt);
  border-color: var(--brand-blue-lt);
  box-shadow: 0 0 20px rgba(7, 90, 154, 0.4);
}
.btn-product-page:focus-visible {
  outline: 2px solid var(--brand-blue-lt);
  outline-offset: 3px;
}

.btn-sm {
  padding: 8px 14px;
  font-size: 12px;
}

/* ── 5. HEADER ────────────────────────────────────────────── */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(11, 23, 36, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: background var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.header--scrolled {
  background: rgba(11, 23, 36, 0.97);
  border-bottom-color: var(--border);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
}

.header-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 32px;
}

/* Logo */
.logo-link { flex-shrink: 0; }

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

.logo-icon { flex-shrink: 0; }

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-text-main {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: var(--off-white);
}

.logo-text-sub {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--stone-dim);
  text-transform: uppercase;
}

/* Desktop nav */
.nav { flex: 1; }

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--stone);
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
}

.nav-link:hover { color: var(--off-white); background: rgba(255,255,255,0.05); }

.chevron {
  font-size: 9px;
  transition: transform var(--transition);
  color: var(--stone-dim);
}

/* Dropdown */
.has-dropdown { position: relative; }

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 170px;
  background: #0D1E30;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 6px 0;
  padding-top: 14px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity var(--transition), transform var(--transition);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
  z-index: 100;
}

.has-dropdown:hover .dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.has-dropdown:hover .chevron { transform: rotate(180deg); }

.dropdown li a {
  display: block;
  padding: 9px 18px;
  font-size: 13px;
  color: var(--stone);
  transition: color var(--transition), background var(--transition);
}

.dropdown li a:hover {
  color: var(--off-white);
  background: rgba(7, 90, 154, 0.15);
}

/* Header social buttons */
.header-socials {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

.social-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  color: var(--stone);
  transition: all var(--transition);
  white-space: nowrap;
}

.social-btn:hover { color: var(--off-white); border-color: var(--stone-dim); background: rgba(255,255,255,0.05); }
.social-btn--wa:hover  { color: var(--wa-green); border-color: var(--wa-green); }
.social-btn--ig:hover  { color: #fd1d1d; border-color: #fd1d1d; }

.social-btn-label { display: none; }

@media (min-width: 1100px) {
  .social-btn-label { display: inline; }
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  margin-left: auto;
  flex-shrink: 0;
}

.hamburger span {
  display: block;
  height: 2px;
  background: var(--off-white);
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.hamburger.is-active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.hamburger.is-active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.is-active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* ── 6. MOBILE MENU ───────────────────────────────────────── */
.mobile-menu {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  z-index: 999;
  background: #0A1520;
  border-bottom: 1px solid var(--border);
  max-height: calc(100vh - var(--header-h));
  max-height: calc(100dvh - var(--header-h));
  overflow-y: auto;
  transform: translateY(-105%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}

.mobile-menu--open {
  transform: translateY(0);
}

.mobile-nav {
  padding: 16px 24px 32px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mobile-nav-link {
  display: block;
  padding: 13px 0;
  font-size: 17px;
  font-weight: 600;
  color: var(--off-white);
  border-bottom: 1px solid var(--border);
}

.mobile-nav-link:last-of-type { border-bottom: none; }

.mobile-nav-group { border-bottom: 1px solid var(--border); }

.mobile-parent-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 0;
  font-size: 17px;
  font-weight: 600;
  color: var(--off-white);
  text-align: left;
}

.mobile-parent-btn .chevron { transition: transform 0.25s ease; }
.mobile-parent-btn.parent--open .chevron { transform: rotate(180deg); }

.mobile-submenu {
  display: none;
  padding: 0 0 12px 16px;
}

.mobile-submenu.submenu--open { display: block; }

.mobile-sub-link {
  display: block;
  padding: 9px 0;
  font-size: 15px;
  color: var(--stone);
}

.mobile-sub-link:hover { color: var(--off-white); }

.mobile-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.mobile-social-link {
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 500;
  color: var(--stone);
}

.mobile-social-link:hover {
  color: var(--off-white);
  border-color: var(--stone-dim);
}

/* ── 7. HERO ──────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--bg);
  overflow: hidden;
  padding-top: var(--header-h);
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(14, 76, 134, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 76, 134, 0.07) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 30%, transparent 80%);
}

.hero-bg-pattern::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 70% at 65% 50%, rgba(7, 90, 154, 0.15) 0%, transparent 65%);
}

/* Hero spotlight */
.hero-spotlight {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 55% 60% at 60% 50%, rgba(45, 143, 232, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1320px;
  margin: 0 auto;
  padding: 80px 24px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;
}

.hero-content { max-width: 560px; }

.hero-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--electric-blue);
  text-transform: uppercase;
  margin-bottom: 20px;
  padding: 5px 12px;
  border: 1px solid rgba(45, 143, 232, 0.4);
  border-radius: 2px;
}

.hero-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(48px, 6vw, 82px);
  font-weight: 900;
  color: var(--white);
  line-height: 0.95;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 16px;
  line-height: 1.7;
  color: var(--stone);
  margin-bottom: 40px;
  max-width: 440px;
}

.hero-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Hero decoration: real product cards */
.hero-decoration {
  position: relative;
  height: 420px;
}

.hero-card {
  position: absolute;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-card--1 {
  width: 180px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(-4deg);
  z-index: 1;
  animation: heroFloat1 6s ease-in-out infinite;
}

.hero-card--2 {
  width: 170px;
  left: 10%;
  top: 10%;
  transform: rotate(3deg);
  z-index: 2;
  border-color: var(--brand-blue);
  box-shadow: 0 4px 24px rgba(7, 90, 154, 0.25), 0 0 40px rgba(45, 143, 232, 0.1);
  animation: heroFloat2 7s ease-in-out infinite;
}

.hero-card--3 {
  width: 160px;
  right: 5%;
  bottom: 12%;
  transform: rotate(-2deg);
  z-index: 0;
  animation: heroFloat3 8s ease-in-out infinite;
}

@keyframes heroFloat1 {
  0%, 100% { transform: translate(-50%, -50%) rotate(-4deg) translateY(0px); }
  50%       { transform: translate(-50%, -50%) rotate(-4deg) translateY(-10px); }
}
@keyframes heroFloat2 {
  0%, 100% { transform: rotate(3deg) translateY(0px); }
  50%       { transform: rotate(3deg) translateY(-8px); }
}
@keyframes heroFloat3 {
  0%, 100% { transform: rotate(-2deg) translateY(0px); }
  50%       { transform: rotate(-2deg) translateY(-12px); }
}

.hero-card-img {
  height: 110px;
  background: linear-gradient(135deg, #0D1E30 0%, #0E4C86 60%, #075A9A 100%);
  overflow: hidden;
  position: relative;
}

.hero-card-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-card-body { padding: 14px; }

.hero-card-tag {
  width: 48px;
  height: 6px;
  background: var(--brand-blue);
  border-radius: 2px;
  margin-bottom: 10px;
  opacity: 0.7;
}

.hero-card-line {
  height: 5px;
  background: rgba(200, 192, 178, 0.15);
  border-radius: 2px;
  margin-bottom: 8px;
  width: 90%;
}

.hero-card-line--lg { width: 100%; height: 7px; background: rgba(200, 192, 178, 0.25); }
.hero-card-line--sm { width: 55%; margin-bottom: 0; }

.hero-card-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--off-white);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 4px;
  line-height: 1.2;
}

.hero-card-price {
  font-size: 12px;
  font-weight: 600;
  color: var(--electric-blue);
}

/* Hero category badges */
.hero-cat-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.hero-cat-badge {
  padding: 4px 10px;
  background: rgba(7, 90, 154, 0.2);
  border: 1px solid rgba(45, 143, 232, 0.3);
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--electric-blue);
  text-transform: uppercase;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-scroll-hint span {
  display: block;
  width: 1.5px;
  height: 48px;
  background: linear-gradient(to bottom, transparent, var(--brand-blue), transparent);
  animation: scrollPulse 2s ease infinite;
}

@keyframes scrollPulse {
  0%   { opacity: 0; transform: scaleY(0); transform-origin: top; }
  50%  { opacity: 1; }
  100% { opacity: 0; transform: scaleY(1); transform-origin: bottom; }
}

/* ── 8. TRUST STRIP ───────────────────────────────────────── */
.trust-strip {
  background: rgba(13, 30, 48, 0.8);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 24px;
  backdrop-filter: blur(8px);
}

.trust-inner {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 32px;
  flex-shrink: 0;
}

.trust-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(7, 90, 154, 0.15);
  border: 1px solid rgba(45, 143, 232, 0.25);
  border-radius: 8px;
  color: var(--electric-blue);
  flex-shrink: 0;
}

.trust-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.trust-text strong {
  font-size: 13px;
  font-weight: 600;
  color: var(--off-white);
  line-height: 1.2;
}

.trust-text span {
  font-size: 12px;
  color: var(--stone-dim);
}

.trust-divider {
  width: 1px;
  height: 32px;
  background: var(--border);
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .trust-inner { gap: 0; }
  .trust-item { padding: 8px 20px; }
  .trust-divider { display: none; }
  .trust-strip { padding: 16px 24px; }
}

@media (max-width: 480px) {
  .trust-inner { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; }
  .trust-inner::-webkit-scrollbar { display: none; }
  .trust-item { flex-shrink: 0; }
}

/* ── 9. FILTERS BAR ───────────────────────────────────────── */
.filters-bar {
  position: sticky;
  top: var(--header-h);
  z-index: 100;
  background: rgba(11, 23, 36, 0.97);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.filters-bar.visible {
  opacity: 1;
  transform: translateY(0);
}

.filters-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.search-wrapper {
  position: relative;
  flex-shrink: 0;
}

.search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--stone-dim);
  pointer-events: none;
}

.search-input {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 8px 12px 8px 36px;
  color: var(--off-white);
  font-family: inherit;
  font-size: 13px;
  width: 220px;
  transition: border-color var(--transition);
  outline: none;
}

.search-input::placeholder { color: var(--stone-dim); }
.search-input:focus { border-color: var(--brand-blue); }

.filter-pills {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.pill {
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid var(--border);
  border-radius: 20px;
  color: var(--stone-dim);
  background: transparent;
  cursor: pointer;
  transition: all var(--transition);
}

.pill:hover { color: var(--off-white); border-color: var(--stone-dim); }

.pill.active {
  background: var(--brand-blue);
  border-color: var(--brand-blue);
  color: var(--white);
}

.brand-select {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 8px 12px;
  color: var(--stone);
  font-family: inherit;
  font-size: 13px;
  cursor: pointer;
  outline: none;
  transition: border-color var(--transition);
  margin-left: auto;
}

.brand-select:focus { border-color: var(--brand-blue); }
.brand-select option { background: #0D1E30; }

/* ── 10. FEATURED CAROUSEL ────────────────────────────────── */
.featured-section {
  padding: 64px 0 40px;
  overflow: hidden;
}

.featured-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
}

.featured-header {
  margin-bottom: 32px;
}

.featured-carousel-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0;
}

.featured-carousel {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  scroll-behavior: smooth;
  padding: 8px 4px 16px;
}

.featured-carousel::-webkit-scrollbar { display: none; }

.featured-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--stone);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
  flex-shrink: 0;
}

.featured-nav-btn:hover {
  background: var(--brand-blue);
  border-color: var(--brand-blue);
  color: var(--white);
}

.featured-nav-btn:focus-visible {
  outline: 2px solid var(--brand-blue-lt);
  outline-offset: 3px;
}

.featured-prev { left: -52px; }
.featured-next { right: -52px; }

@media (max-width: 1440px) {
  .featured-prev { left: 0; }
  .featured-next { right: 0; }
  .featured-inner { padding: 0 56px; }
}

@media (max-width: 768px) {
  .featured-prev { left: 4px; }
  .featured-next { right: 4px; }
  .featured-inner { padding: 0 48px; }
}

.featured-card {
  scroll-snap-align: start;
  flex-shrink: 0;
  width: 240px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: border-color var(--transition), box-shadow var(--transition), transform 0.2s ease;
}

.featured-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.featured-card-img {
  height: 180px;
  background: linear-gradient(135deg, #0D1A28, #0E3A6A 60%, #075A9A);
  overflow: hidden;
  position: relative;
}

.featured-card-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.featured-card:hover .featured-card-img img {
  transform: scale(1.05);
}

.featured-card-body {
  padding: 14px 16px;
}

.featured-card-brand {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-blue);
  margin-bottom: 4px;
}

.featured-card-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 17px;
  font-weight: 800;
  color: var(--off-white);
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 8px;
}

.featured-card-price {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
}

/* ── 11. CATALOG & SECTIONS ───────────────────────────────── */
.catalog {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px 80px;
}

.product-section {
  padding: 80px 0 40px;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.product-section.visible {
  opacity: 1;
  transform: translateY(0);
}

.section-header {
  margin-bottom: 40px;
}

.section-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 900;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 10px;
}

.section-desc {
  font-size: 15px;
  color: var(--stone-dim);
  max-width: 480px;
}

/* ── 12. PRODUCT GRID ─────────────────────────────────────── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

/* Grid fade transition on filter change */
.product-grid.is-fading {
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.product-grid.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.28s ease, transform 0.28s ease;
}

/* ── 13. PRODUCT CARD ─────────────────────────────────────── */
.product-card {
  --mouse-x: 50%;
  --mouse-y: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: default;
  position: relative;
  transition: border-color var(--transition), box-shadow var(--transition), transform 0.25s ease;
  transform-style: preserve-3d;
}

/* Spotlight glow follows cursor via JS-updated CSS vars */
.product-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    380px circle at var(--mouse-x) var(--mouse-y),
    rgba(45, 143, 232, 0.12) 0%,
    transparent 70%
  );
  border-radius: inherit;
  opacity: 0;
  pointer-events: none;
  z-index: 6;
  transition: opacity 0.3s ease;
}

.product-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-hover);
}

.product-card:hover::after {
  opacity: 1;
}

/* Border glow on hover */
.product-card:hover {
  box-shadow: var(--shadow-hover), 0 0 0 1px rgba(45, 143, 232, 0.2);
}

/* Card image */
.card-image-wrap {
  position: relative;
  flex-shrink: 0;
}

.card-image {
  position: relative;
  height: 220px;
  background: linear-gradient(135deg, #0D1A28 0%, #0E3A6A 60%, #075A9A 100%);
  overflow: hidden;
}

.card-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
  transition: transform 0.4s ease;
}

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

/* Badge */
.card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 3;
  padding: 3px 9px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: transform 0.2s ease;
}

.product-card:hover .card-badge {
  transform: scale(1.05);
}

.badge--gold  { background: var(--badge-gold);  color: #1A1000; }
.badge--blue  { background: var(--badge-blue);  color: var(--white); }
.badge--red   { background: var(--badge-red);   color: var(--white); }
.badge--green { background: var(--badge-green); color: var(--white); }

/* ── 14. HOVER OVERLAY ────────────────────────────────────── */
.card-overlay {
  position: absolute;
  inset: 0;
  z-index: 4;
  background: var(--overlay);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.card-image-wrap:hover .card-overlay { opacity: 1; }

.overlay-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-blue);
  margin-bottom: 12px;
}

.overlay-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.overlay-table td {
  padding: 5px 0;
  border-bottom: 1px solid rgba(200, 192, 178, 0.08);
  vertical-align: top;
}

.overlay-table td:first-child {
  color: var(--stone-dim);
  width: 45%;
  padding-right: 8px;
}

.overlay-table td:last-child {
  color: var(--off-white);
  font-weight: 500;
}

.overlay-table tr:last-child td { border-bottom: none; }

/* Stock labels */
.stock--available { color: #3DB87A; font-weight: 600; }
.stock--out       { color: #B04040; font-weight: 600; }

/* Card body */
.card-body {
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-brand {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-blue);
  margin-bottom: 6px;
}

.card-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: var(--off-white);
  line-height: 1.15;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.card-price {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
  margin-top: auto;
  padding-top: 10px;
  transition: color var(--transition);
}

.product-card:hover .card-price {
  color: var(--electric-blue);
}

.card-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.card-actions .btn-sm {
  flex: 1;
  justify-content: center;
  min-width: 100px;
}

/* Ver Detalles button - slides up on hover */
.card-btn-details {
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.product-card:hover .card-btn-details {
  opacity: 1;
  transform: translateY(0);
}

/* ── 15. SKELETON LOADERS ─────────────────────────────────── */
@keyframes shimmer {
  0%   { background-position: -400px 0; }
  100% { background-position: 400px 0; }
}

.skeleton-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.skeleton-image {
  height: 220px;
  background: linear-gradient(90deg, #0F1E2F 25%, #152539 50%, #0F1E2F 75%);
  background-size: 800px 100%;
  animation: shimmer 1.8s infinite;
}

.skeleton-body {
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.skeleton-line {
  height: 12px;
  border-radius: 4px;
  background: linear-gradient(90deg, #0F1E2F 25%, #152539 50%, #0F1E2F 75%);
  background-size: 800px 100%;
  animation: shimmer 1.8s infinite;
}

.skeleton-line--short { width: 40%; }
.skeleton-line--med   { width: 75%; height: 18px; }
.skeleton-line--lg    { width: 100%; }
.skeleton-line--price { width: 55%; height: 20px; margin-top: 8px; }

/* ── 16. NO RESULTS ───────────────────────────────────────── */
.no-results {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 100px 24px;
  gap: 12px;
  color: var(--stone-dim);
  text-align: center;
}

.no-results svg { opacity: 0.3; }

.no-results p {
  font-size: 20px;
  font-weight: 600;
  color: var(--stone);
}

.no-results span { font-size: 14px; }

/* ── 17. TESTIMONIALS ─────────────────────────────────────── */
.testimonials-section {
  padding: 80px 24px;
  border-top: 1px solid var(--border);
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.testimonials-section.visible {
  opacity: 1;
  transform: translateY(0);
}

.testimonials-inner {
  max-width: 1320px;
  margin: 0 auto;
}

.testimonials-cta {
  max-width: 480px;
  margin: 40px auto 0;
  text-align: center;
  padding: 40px;
  background: rgba(14, 76, 134, 0.08);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
}

.testimonials-cta-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  background: rgba(7, 90, 154, 0.15);
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--electric-blue);
}

.testimonials-cta-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
  text-transform: uppercase;
  margin-bottom: 10px;
  line-height: 1.2;
}

.testimonials-cta-sub {
  font-size: 14px;
  color: var(--stone);
  margin-bottom: 24px;
  line-height: 1.6;
}

/* ── 18. CONTACT SECTION ──────────────────────────────────── */
.contact-section {
  background: linear-gradient(135deg, #0D1E30 0%, #0A1520 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 100px 24px;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.contact-section.visible {
  opacity: 1;
  transform: translateY(0);
}

.contact-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.contact-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 900;
  color: var(--white);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.contact-text {
  font-size: 16px;
  color: var(--stone);
  line-height: 1.7;
  margin-bottom: 40px;
}

.contact-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── 19. FOOTER ───────────────────────────────────────────── */
.footer {
  background: #080F18;
  border-top: 1px solid var(--border);
  padding: 64px 24px 0;
}

.footer-inner {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
}

.footer-tagline {
  font-size: 13px;
  color: var(--stone-dim);
  line-height: 1.7;
  margin-top: 16px;
}

.footer-heading {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stone-dim);
  margin-bottom: 18px;
}

.footer-list li {
  margin-bottom: 10px;
}

.footer-list a {
  font-size: 14px;
  color: var(--stone-dim);
  transition: color var(--transition);
}

.footer-list a:hover { color: var(--off-white); }

.footer-bottom {
  max-width: 1320px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-legal,
.footer-copy {
  font-size: 12px;
  color: var(--stone-dim);
  opacity: 0.7;
}

/* ── 20. PREMIUM PRODUCT MODAL ────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(5, 10, 18, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
  touch-action: none;
}

.modal-overlay.modal--active {
  opacity: 1;
  pointer-events: auto;
}

.modal {
  position: relative;
  background: #0D1E30;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  max-width: 940px;
  width: 100%;
  max-height: 92vh;
  max-height: 92dvh;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior-y: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(45, 143, 232, 0.1);
  transform: scale(0.96) translateY(10px);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.modal--active .modal {
  transform: scale(1) translateY(0);
}

.modal::-webkit-scrollbar { width: 5px; }
.modal::-webkit-scrollbar-track { background: transparent; }
.modal::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 20;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--stone);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(11, 23, 36, 0.8);
  transition: all var(--transition);
}

.modal-close:hover { color: var(--white); border-color: var(--stone-dim); background: rgba(11, 23, 36, 0.95); }
.modal-close:focus-visible { outline: 2px solid var(--brand-blue-lt); outline-offset: 2px; }

.modal-body {
  display: grid;
  grid-template-columns: 42% 1fr;
  min-height: 500px;
}

/* Modal image column */
.modal-image-col {
  padding: 24px;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}

.modal-image-container {
  position: relative;
  flex: 1;
  min-height: 280px;
}

.modal-image {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 280px;
  background: linear-gradient(135deg, #0D1A28 0%, #0E3A6A 55%, #075A9A 100%);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.modal-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform 0.4s ease;
  cursor: zoom-in;
}

.modal-image:hover img {
  transform: scale(1.05);
}

.modal-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 5;
  padding: 3px 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 2px;
}

.modal-stock-tag {
  position: absolute;
  bottom: 12px;
  left: 12px;
  z-index: 5;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
  border-radius: 4px;
  background: rgba(11, 23, 36, 0.8);
  backdrop-filter: blur(4px);
}

/* Lightbox for nutrition/product image */
.modal-lightbox {
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  cursor: zoom-out;
}

.modal-lightbox img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius-lg);
}

/* Modal info column */
.modal-info-col {
  padding: 28px 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow: hidden;
}

/* Stagger animation for modal content */
@keyframes modalItemIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.modal--opening .modal-info-head     { animation: modalItemIn 0.32s ease 0.08s both; }
.modal--opening .modal-chars-table   { animation: modalItemIn 0.32s ease 0.14s both; }
.modal--opening .modal-tabs-wrap     { animation: modalItemIn 0.32s ease 0.20s both; }
.modal--opening .modal-links         { animation: modalItemIn 0.32s ease 0.26s both; }
.modal--opening .modal-related       { animation: modalItemIn 0.32s ease 0.32s both; }
.modal--opening .modal-image-col     { animation: modalItemIn 0.32s ease 0.04s both; }

.modal-info-head {
  margin-bottom: 16px;
}

.modal-brand {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--electric-blue);
  margin-bottom: 6px;
}

.modal-product-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 900;
  color: var(--white);
  text-transform: uppercase;
  line-height: 1.05;
  margin-bottom: 10px;
}

.modal-price {
  font-size: 28px;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}

.modal-chars-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  margin-bottom: 20px;
}

.modal-chars-table th,
.modal-chars-table td {
  padding: 8px 0;
  border-bottom: 1px solid rgba(200, 192, 178, 0.07);
  vertical-align: top;
  text-align: left;
}

.modal-chars-table th {
  color: var(--stone-dim);
  font-weight: 500;
  width: 42%;
  padding-right: 12px;
}

.modal-chars-table td {
  color: var(--off-white);
  font-weight: 500;
}

.modal-chars-table tr:last-child th,
.modal-chars-table tr:last-child td { border-bottom: none; }

/* ── 21. MODAL TABS ───────────────────────────────────────── */
.modal-tabs-wrap {
  margin-bottom: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.modal-tabs {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  border-bottom: 1px solid var(--border);
  position: relative;
  flex-shrink: 0;
}

.modal-tabs::-webkit-scrollbar { display: none; }

.modal-tab {
  padding: 9px 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--stone-dim);
  background: none;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  transition: color var(--transition);
  flex-shrink: 0;
}

.modal-tab:hover { color: var(--off-white); }

.modal-tab.is-active { color: var(--electric-blue); }

.modal-tab:focus-visible {
  outline: 2px solid var(--brand-blue-lt);
  outline-offset: -2px;
  border-radius: 3px;
}

/* Sliding blue indicator */
.modal-tab-bar {
  position: relative;
  height: 2px;
  background: transparent;
  margin-top: -1px;
  flex-shrink: 0;
}

.modal-tab-indicator {
  position: absolute;
  height: 2px;
  background: var(--electric-blue);
  border-radius: 1px;
  bottom: 0;
  transition: left 0.22s ease, width 0.22s ease;
  box-shadow: 0 0 8px rgba(45, 143, 232, 0.6);
}

/* Tab panels */
.modal-tab-panels {
  flex: 1;
  overflow: hidden;
  min-height: 80px;
  margin-top: 14px;
}

.modal-tab-panel {
  display: none;
  font-size: 14px;
  color: var(--stone);
  line-height: 1.7;
  animation: tabFadeIn 0.2s ease;
}

.modal-tab-panel.is-active { display: block; }

@keyframes tabFadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: translateY(0); }
}

.modal-nutrition-panel {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.modal-nutrition-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  cursor: zoom-in;
  transition: opacity 0.2s ease;
}

/* ── 22. MODAL LINKS / CTA ────────────────────────────────── */
.modal-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
}

.btn-modal-primary {
  flex: 1;
  justify-content: center;
  min-width: 160px;
  padding: 12px 16px;
  font-size: 13px;
}

.btn-modal-secondary {
  flex: 0 0 auto;
  padding: 12px 16px;
  font-size: 12px;
}

/* ── 23. MODAL RELATED PRODUCTS ───────────────────────────── */
.modal-related {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
}

.modal-related-title {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stone-dim);
  margin-bottom: 12px;
}

.modal-related-list {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 4px;
}

.modal-related-list::-webkit-scrollbar { display: none; }

.modal-related-card {
  flex-shrink: 0;
  width: 120px;
  background: rgba(11, 23, 36, 0.6);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: border-color var(--transition), transform 0.2s ease;
}

.modal-related-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.modal-related-img {
  height: 72px;
  background: linear-gradient(135deg, #0D1A28, #0E3A6A);
  overflow: hidden;
  position: relative;
}

.modal-related-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-related-info {
  padding: 8px;
}

.modal-related-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: var(--off-white);
  text-transform: uppercase;
  line-height: 1.2;
  margin-bottom: 3px;
}

.modal-related-price {
  font-size: 11px;
  font-weight: 600;
  color: var(--electric-blue);
}

/* ── 24. FLOATING WHATSAPP ────────────────────────────────── */
.floating-wa {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--wa-green);
  border-radius: 40px;
  color: var(--white);
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease, width 0.3s ease, padding 0.3s ease;
  padding: 14px;
  width: 56px;
  height: 56px;
  justify-content: center;
  overflow: hidden;
}

.floating-wa::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--wa-green);
  opacity: 0;
  animation: waPulse 2.5s ease-out infinite;
}

.floating-wa--expanded {
  width: auto;
  height: auto;
  padding: 12px 20px;
  border-radius: 40px;
}

.floating-wa--expanded::before {
  display: none;
}

.floating-wa-text {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  display: none;
}

.floating-wa--expanded .floating-wa-text {
  display: block;
}

.floating-wa:hover {
  transform: scale(1.06);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.55);
}

@keyframes waPulse {
  0%   { opacity: 0.6; transform: scale(1); }
  100% { opacity: 0;   transform: scale(1.7); }
}

/* ── 25. STICKY MOBILE CTA ────────────────────────────────── */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 890;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #0D1E30;
  border-top: 1px solid var(--border);
  padding: 12px 20px;
  padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.5);
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.sticky-cta.is-visible {
  transform: translateY(0);
}

.sticky-cta-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.sticky-cta-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--stone-dim);
}

.sticky-cta-price {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.sticky-cta-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: var(--wa-green);
  color: var(--white);
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background var(--transition);
  flex-shrink: 0;
}

.sticky-cta-btn:hover {
  background: var(--wa-green-dark);
}

.sticky-cta-btn:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 2px;
}

@media (max-width: 768px) {
  .sticky-cta { display: flex; }
}

/* ── 26. TOAST SYSTEM ─────────────────────────────────────── */
.toast-container {
  position: fixed;
  bottom: 80px;
  right: 24px;
  z-index: 3100;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

@media (max-width: 768px) {
  .toast-container {
    bottom: 90px;
    right: 16px;
    left: 16px;
  }
}

.toast {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  background: #1A2D42;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  font-size: 13px;
  font-weight: 500;
  color: var(--off-white);
  pointer-events: auto;
  max-width: 320px;
  animation: toastIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.toast.is-dismissing {
  animation: toastOut 0.25s ease both;
}

.toast-icon { flex-shrink: 0; color: var(--electric-blue); }
.toast--success .toast-icon { color: var(--wa-green); }
.toast--error   .toast-icon { color: #e85d5d; }

@keyframes toastIn {
  from { opacity: 0; transform: translateX(20px) scale(0.95); }
  to   { opacity: 1; transform: translateX(0) scale(1); }
}

@keyframes toastOut {
  from { opacity: 1; transform: translateX(0) scale(1); }
  to   { opacity: 0; transform: translateX(20px) scale(0.95); }
}

/* ── 27. THEME TOGGLE BUTTON ──────────────────────────────── */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--stone);
  flex-shrink: 0;
  transition: all var(--transition);
}

.theme-toggle:hover {
  color: var(--off-white);
  border-color: var(--stone-dim);
  background: rgba(255, 255, 255, 0.05);
}

.icon-moon { display: none; }

body.light-mode .icon-sun  { display: none; }
body.light-mode .icon-moon { display: block; }

body.light-mode .theme-toggle:hover {
  background: rgba(0, 0, 0, 0.05);
}

/* ── 28. LIGHT MODE ───────────────────────────────────────── */
body.light-mode {
  --bg:          #F0EDE6;
  --bg-card:     #FFFFFF;
  --bg-card-hover: #F7F5F1;
  --stone:       #4A453F;
  --stone-dim:   #7A7570;
  --off-white:   #1A1410;
  --overlay:     rgba(240, 237, 230, 0.93);
  --border:      rgba(14, 76, 134, 0.18);
  --border-hover: rgba(7, 90, 154, 0.45);
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 8px 40px rgba(7, 90, 154, 0.15);
}

body.light-mode .header {
  background: rgba(240, 237, 230, 0.85);
}

body.light-mode .header--scrolled {
  background: rgba(240, 237, 230, 0.97);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
}

body.light-mode .dropdown {
  background: #FFFFFF;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

body.light-mode .mobile-menu {
  background: #F0EDE6;
}

body.light-mode .filters-bar {
  background: rgba(240, 237, 230, 0.97);
}

body.light-mode .contact-section {
  background: linear-gradient(135deg, #E4E0D8 0%, #EDEBE4 100%);
}

body.light-mode .footer {
  background: #E4E0D8;
}

body.light-mode .modal {
  background: #FFFFFF;
}

body.light-mode .modal-image {
  background: linear-gradient(135deg, #D8E8F5 0%, #B8D4EC 55%, #9BBFE0 100%);
}

body.light-mode .modal-image-col {
  border-right-color: rgba(14, 76, 134, 0.18);
}

body.light-mode .card-image {
  background: linear-gradient(135deg, #D8E8F5 0%, #B0CDE6 60%, #8FBCDA 100%);
}

body.light-mode .hero-card {
  background: #FFFFFF;
}

body.light-mode .hero-card-img {
  background: linear-gradient(135deg, #D8E8F5 0%, #B8D4EC 60%, #9BBFE0 100%);
}

body.light-mode .modal-close {
  background: rgba(240, 237, 230, 0.8);
}

body.light-mode .brand-select option {
  background: #FFFFFF;
}

body.light-mode .hero-title,
body.light-mode .section-title,
body.light-mode .contact-title,
body.light-mode .modal-product-name,
body.light-mode .modal-price,
body.light-mode .card-price,
body.light-mode .card-name,
body.light-mode .mobile-nav-link,
body.light-mode .mobile-parent-btn,
body.light-mode .logo-text-main {
  color: #0B1724;
}

body.light-mode .trust-strip {
  background: rgba(240, 237, 230, 0.9);
}

body.light-mode .testimonials-cta {
  background: rgba(14, 76, 134, 0.05);
}

body.light-mode .featured-card {
  background: #FFFFFF;
}

body.light-mode .featured-card-img {
  background: linear-gradient(135deg, #D8E8F5, #B0CDE6);
}

body.light-mode .modal-tab-panel {
  color: #4A453F;
}

body.light-mode .sticky-cta {
  background: #FFFFFF;
  border-top-color: rgba(14, 76, 134, 0.18);
}

body.light-mode .sticky-cta-price { color: #0B1724; }

body.light-mode .toast {
  background: #FFFFFF;
  border-color: rgba(14, 76, 134, 0.18);
  color: #1A1410;
}

body.light-mode .skeleton-image,
body.light-mode .skeleton-line {
  background: linear-gradient(90deg, #E8E4DC 25%, #F0ECE4 50%, #E8E4DC 75%);
  background-size: 800px 100%;
}

body.light-mode .pp-image {
  background: linear-gradient(135deg, #D8E8F5 0%, #B8D4EC 60%, #9BBFE0 100%);
}

body.light-mode .pp-info h1,
body.light-mode .pp-price { color: #0B1724; }

body.light-mode .pp-extra-section > h2 { color: #0B1724; }

body.light-mode .product-card::after {
  background: radial-gradient(380px circle at var(--mouse-x) var(--mouse-y),
    rgba(7, 90, 154, 0.08) 0%, transparent 70%);
}

/* ── 29. RESPONSIVE — TABLET ──────────────────────────────── */
@media (max-width: 1024px) {
  .nav       { display: none; }
  .header-socials { display: none; }
  .hamburger { display: flex; }

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 60px 24px;
  }

  .hero-content { max-width: 100%; }
  .hero-subtitle { margin: 0 auto 40px; }
  .hero-buttons { justify-content: center; }
  .hero-cat-badges { justify-content: center; }
  .hero-decoration { display: none; }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .footer-brand { grid-column: 1 / -1; }

  .modal-body { grid-template-columns: 1fr; }
  .modal-image-col { border-right: none; border-bottom: 1px solid var(--border); }
  .modal-image { min-height: 240px; }
  .modal-image-container { min-height: 240px; }
}

/* ── 30. RESPONSIVE — MOBILE ──────────────────────────────── */
@media (max-width: 768px) {
  :root { --header-h: 60px; }

  .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
  }

  .filters-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .search-input { width: 100%; }
  .brand-select { width: 100%; margin-left: 0; }

  .filter-pills {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .filter-pills::-webkit-scrollbar { display: none; }

  .contact-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .contact-buttons .btn { justify-content: center; }

  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .footer-brand { grid-column: unset; }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 6px;
  }

  .modal-links {
    flex-direction: column;
  }

  .modal-links .btn { min-width: unset; width: 100%; justify-content: center; }

  .btn-modal-secondary { width: 100%; justify-content: center; }

  .floating-wa { bottom: 80px; right: 20px; }

  .modal-info-col { padding: 20px 20px 20px; }

  .modal-tab { padding: 8px 11px; font-size: 10px; }
}

/* ── 31. RESPONSIVE — SMALL MOBILE ───────────────────────── */
@media (max-width: 480px) {
  .product-grid { grid-template-columns: 1fr; }

  .hero-title { font-size: 48px; }

  .card-actions { flex-direction: column; }
  .card-actions .btn-sm { min-width: unset; }

  .floating-wa { bottom: 80px; right: 16px; width: 48px; height: 48px; }

  .modal-overlay { padding: 0; align-items: flex-end; }
  .modal { border-bottom-left-radius: 0; border-bottom-right-radius: 0; max-height: 95vh; }
}

/* ── 32. PRODUCT PAGES (pp-) ──────────────────────────────── */
.pp-wrap {
  max-width: 1100px;
  margin: 2.5rem auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
@media (max-width: 768px) { .pp-wrap { grid-template-columns: 1fr; gap: 1.5rem; } }

.pp-image {
  background: linear-gradient(135deg, #0D1A28 0%, #0E3A6A 60%, #075A9A 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pp-image img { width: 100%; height: auto; object-fit: contain; border-radius: var(--radius-lg); max-height: 480px; }

.pp-info { display: flex; flex-direction: column; gap: 0.75rem; }
.pp-info h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2.4rem;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.05;
  letter-spacing: 0.02em;
  color: var(--white);
  margin: 0;
}
.pp-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  margin: 0;
}
.pp-desc  { line-height: 1.65; color: var(--stone); font-size: 15px; }
.pp-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 0.5rem; }

.pp-breadcrumb {
  max-width: 1100px;
  margin: 1.5rem auto 0;
  padding: 0 1.5rem;
  font-size: 0.85rem;
  color: var(--stone-dim);
}
.pp-breadcrumb a { color: var(--stone-dim); text-decoration: none; }
.pp-breadcrumb a:hover { color: var(--electric-blue); }

.pp-extra-section { max-width: 1100px; margin: 3rem auto; padding: 0 1.5rem; }
.pp-extra-section > h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.8rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--white);
  margin: 0 0 1.5rem;
  border-left: 4px solid var(--electric-blue);
  padding-left: 1rem;
}
.pp-extra-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
@media (max-width: 768px) { .pp-extra-grid { grid-template-columns: 1fr; } }

.pp-nutrition-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
}
.pp-box-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--electric-blue);
  margin: 0 0 1rem;
}
.pp-nutrition-figure { margin: 0; }
.pp-nutrition-figure img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  object-fit: contain;
  border: 1px solid var(--border);
  cursor: zoom-in;
}
.pp-nutrition-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 180px;
  opacity: .4;
  text-align: center;
  padding: 1rem;
  color: var(--stone-dim);
}
.pp-nutrition-placeholder p { margin: 0; font-size: 0.875rem; }

.pp-info-cards { display: flex; flex-direction: column; gap: 1.5rem; }
.pp-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
}
.pp-info-card h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--electric-blue);
  margin: 0 0 0.75rem;
}
.pp-info-card p { line-height: 1.7; color: var(--stone); margin: 0; }

/* pp-sticky helpers */
.pp-sticky-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.pp-sticky-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--stone-dim);
}

/* Sticky mobile CTA on product pages */
.pp-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 500;
  background: #0D1E30;
  border-top: 1px solid var(--border);
  padding: 12px 20px;
  padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
  .pp-sticky-cta { display: flex; }
  .pp-extra-section { padding-bottom: 80px; }
}

.pp-sticky-price {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
}

.pp-sticky-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: var(--wa-green);
  color: var(--white);
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* ── 33. MOBILE UX — Comprehensive responsive fixes ──────── */

/* ── 33a. TABLET / MEDIUM (≤ 900px) ──────────────────────── */
@media (max-width: 900px) {
  .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
  }
}

/* ── 33b. MOBILE CORE (≤ 768px) ──────────────────────────── */
@media (max-width: 768px) {
  /* Background: fixed-attachment causes iOS scroll jank */
  body { background-attachment: scroll; }

  /* ── Hero ── */
  .hero { min-height: auto; }
  .hero-inner { padding: 40px 20px 48px; gap: 32px; }
  .hero-buttons { display: grid; grid-template-columns: 1fr; gap: 10px; }
  .hero-buttons .btn { justify-content: center; }

  /* ── Sections ── */
  .product-section { padding: 48px 0 24px; }
  .featured-section { padding: 40px 0 24px; }
  .section-header { margin-bottom: 28px; }
  .testimonials-section { padding: 56px 20px; }
  .contact-section { padding: 64px 20px; }
  .footer { padding-top: 48px; }

  /* ── Filter bar ── */
  .filters-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 0 16px;
  }
  .search-input { width: 100%; height: 44px; padding: 11px 12px 11px 38px; font-size: 15px; }
  .brand-select { width: 100%; margin-left: 0; }
  .filter-pills {
    flex-wrap: nowrap;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    padding-bottom: 4px;
    scrollbar-width: none;
  }
  .filter-pills::-webkit-scrollbar { display: none; }
  .pill {
    flex: 0 0 auto;
    scroll-snap-align: start;
    padding: 9px 18px;
    font-size: 13px;
    min-height: 40px;
  }

  /* ── Product grid ── */
  .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
    gap: 16px;
  }
  .catalog { padding-left: 16px; padding-right: 16px; }

  /* ── Product cards ── */
  .card-btn-details { opacity: 1; transform: translateY(0); }
  .card-actions { flex-direction: column; }
  .card-actions .btn-sm { min-width: unset; width: 100%; justify-content: center; min-height: 44px; }

  /* ── MODAL — bottom sheet on mobile ── */
  .modal-overlay {
    align-items: flex-end;
    padding: 0;
  }

  .modal {
    width: 100%;
    max-width: none;
    max-height: 96vh;
    max-height: 96dvh;
    border-radius: 22px 22px 0 0;
    padding-bottom: env(safe-area-inset-bottom, 0px);
    /* animation: slides up from bottom */
    transform: translateY(40px);
  }

  .modal-overlay.modal--active .modal {
    transform: translateY(0);
  }

  .modal-body {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }

  .modal-image-col {
    width: 100%;
    padding: 16px 16px 0;
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .modal-image {
    min-height: 0;
    aspect-ratio: 1 / 0.78;
    max-height: 42dvh;
  }

  .modal-image-container {
    min-height: 0;
  }

  .modal-info-col {
    width: 100%;
    padding: 18px 16px calc(80px + env(safe-area-inset-bottom, 0px));
  }

  .modal-links {
    position: sticky;
    bottom: 0;
    z-index: 10;
    background: #0D1E30;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid var(--border);
    margin: 0 -16px;
    flex-direction: column;
    gap: 8px;
  }

  .modal-links .btn { min-width: unset; width: 100%; justify-content: center; min-height: 46px; }

  .modal-close {
    position: sticky;
    top: 12px;
    z-index: 20;
    margin-left: auto;
    display: block;
  }

  /* Floating WA: move above sticky CTA on mobile */
  .floating-wa { bottom: 88px; }
}

/* ── 33c. SMALL MOBILE (≤ 560px) ─────────────────────────── */
@media (max-width: 560px) {
  .product-grid { grid-template-columns: 1fr; }
}

/* ── 33d. EXTRA SMALL (≤ 480px) ──────────────────────────── */
@media (max-width: 480px) {
  .hero-inner { padding: 32px 16px 48px; }
  .hero-title { font-size: clamp(42px, 13vw, 64px); }
  .filters-inner { padding: 0 12px; }
  .catalog { padding: 0 12px 80px; }
  .testimonials-section { padding: 48px 16px; }
  .contact-section { padding: 48px 16px; }
  .card-image { height: 195px; }
  .product-section { padding: 40px 0 20px; }
  .floating-wa { bottom: 88px; right: 16px; width: 48px; height: 48px; }

  /* Modal at tiny screens: full-height sheet */
  .modal {
    max-height: 100vh;
    max-height: 100dvh;
    border-radius: 18px 18px 0 0;
  }
}

/* ── 34. REDUCED MOTION ───────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero-card--1,
  .hero-card--2,
  .hero-card--3 { animation: none !important; }

  .hero-scroll-hint span { animation: none !important; }
  .floating-wa::before  { animation: none !important; }
  .btn-whatsapp::after  { display: none !important; }

  .product-card { transition: none !important; }
  .product-card::after { display: none; }

  .modal { transition: none !important; transform: none !important; }
  .modal-overlay { transition: opacity 0.01ms; }

  .toast { animation: none !important; opacity: 1; transform: none !important; }

  .hero-product-card { transition-duration: 0.01ms !important; }
  .hero-carousel-arrow,
  .hero-carousel-dot::before { transition: none !important; }
}

/* ── 35. HERO PRODUCT CAROUSEL ───────────────────────────── */

/* Restore 2-column hero layout at ≥ 901px.
   Overrides section-29 tablet rule (max-width:1024px → grid:1fr) that was
   only valid when the static hero-decoration was hidden at that breakpoint.
   Now we show the carousel on all screen sizes so we need 2-col until 900px. */
@media (min-width: 901px) {
  .hero-inner {
    grid-template-columns: 1fr 1.1fr;
    text-align: left;
  }
  .hero-content { max-width: 560px; text-align: left; }
  .hero-subtitle { margin: 0 0 40px; }
  .hero-buttons { justify-content: flex-start; }
  .hero-cat-badges { justify-content: flex-start; }
}

/* ── Container ── */
.hero-product-carousel {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

/* ── Stage (perspective context) ── */
.hero-carousel-stage {
  position: relative;
  width: 100%;
  height: 420px;
  perspective: 1200px;
  transform-style: preserve-3d;
}

/* ── Cards (all absolutely positioned in stage) ── */
.hero-product-card {
  position: absolute;
  left: 50%;
  top: 50%;
  width: clamp(220px, 25vw, 300px);
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(var(--hero-card-accent-rgb, 22, 119, 255), 0.55);
  background: #09182b;
  cursor: pointer;
  transform-origin: center center;
  transition:
    transform 650ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 450ms ease,
    box-shadow 450ms ease;
  will-change: transform, opacity;
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.38),
    0 0 30px rgba(var(--hero-card-accent-rgb, 22, 119, 255), 0.08);
  --hero-card-accent:     #1677ff;
  --hero-card-accent-rgb: 22, 119, 255;
}

.hero-product-card:focus-visible {
  outline: 2px solid rgba(var(--hero-card-accent-rgb, 22, 119, 255), 0.9);
  outline-offset: 3px;
}

.hero-product-card.is-active {
  z-index: 4;
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) translateX(0) scale(1) rotateZ(-1.5deg) rotateY(0deg);
  box-shadow:
    0 36px 90px rgba(0, 0, 0, 0.48),
    0 0 56px rgba(var(--hero-card-accent-rgb, 22, 119, 255), 0.20);
}

.hero-product-card.is-previous {
  z-index: 2;
  opacity: 0.76;
  pointer-events: auto;
  transform:
    translate(-50%, -50%)
    translateX(-55%) translateY(-8%)
    scale(0.82)
    rotateZ(-7deg) rotateY(12deg);
}

.hero-product-card.is-next {
  z-index: 3;
  opacity: 0.82;
  pointer-events: auto;
  transform:
    translate(-50%, -50%)
    translateX(55%) translateY(8%)
    scale(0.86)
    rotateZ(6deg) rotateY(-12deg);
}

.hero-product-card.is-hidden {
  z-index: 0;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.68);
}

/* ── Card image region (white canvas) ── */
.hero-product-card__image {
  position: relative;
  aspect-ratio: 1.1 / 1;
  overflow: hidden;
  background: #ffffff;
}

.hero-product-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: #ffffff;
}

/* ── Badge positioned over the image ── */
.hero-product-card__badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(var(--hero-card-accent-rgb, 22, 119, 255), 0.15);
  color: var(--hero-card-accent, #1677ff);
  border: 1px solid rgba(var(--hero-card-accent-rgb, 22, 119, 255), 0.40);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* ── Card text content ── */
.hero-product-card__content {
  padding: 14px 16px 16px;
  background: linear-gradient(
    160deg,
    rgba(var(--hero-card-accent-rgb, 22, 119, 255), 0.07) 0%,
    #081628 55%
  );
}

.hero-product-card__brand {
  display: block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--hero-card-accent, #1677ff);
  margin-bottom: 4px;
  opacity: 0.9;
}

.hero-product-card__name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--off-white, #e8f0fc);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.15;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hero-product-card__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.hero-product-card__price {
  font-size: 15px;
  font-weight: 700;
  color: var(--hero-card-accent, #1677ff);
}

.hero-product-card__open {
  font-size: 10px;
  color: var(--stone-dim, #6e7e96);
  display: flex;
  align-items: center;
  gap: 3px;
  white-space: nowrap;
}

.hero-product-card__open::after { content: '→'; }

/* ── Arrow controls ── */
.hero-carousel-controls {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 4px 0;
  position: relative;
  z-index: 10;
}

.hero-carousel-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(22, 119, 255, 0.30);
  background: rgba(22, 119, 255, 0.07);
  color: var(--off-white, #e8f0fc);
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.hero-carousel-arrow:hover {
  background: rgba(22, 119, 255, 0.18);
  border-color: rgba(22, 119, 255, 0.65);
  transform: scale(1.08);
}

.hero-carousel-arrow:focus-visible {
  outline: 2px solid rgba(22, 119, 255, 0.85);
  outline-offset: 3px;
}

/* ── Pagination dots ── */
.hero-carousel-dots {
  display: flex;
  gap: 2px;
  align-items: center;
}

.hero-carousel-dot {
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-carousel-dot::before {
  content: '';
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  transition: background 0.25s ease, width 0.25s ease, border-radius 0.25s ease;
}

.hero-carousel-dot:hover::before {
  background: rgba(255, 255, 255, 0.45);
}

.hero-carousel-dot.is-active::before {
  width: 22px;
  border-radius: 4px;
  background: var(--hero-active-dot-color, #1677ff);
}

.hero-carousel-dot.is-active:hover::before {
  opacity: 0.88;
}

.hero-carousel-dot:focus-visible {
  outline: 2px solid rgba(22, 119, 255, 0.8);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ── Mobile stacked layout (≤ 900px) ── */
@media (max-width: 900px) {
  .hero-inner { gap: 28px; text-align: center; }
  .hero-content { max-width: 100%; }
  .hero-subtitle { margin: 0 auto 32px; }
  .hero-buttons { justify-content: center; }

  .hero-product-carousel {
    width: 100%;
    max-width: 480px;
    margin-inline: auto;
  }

  .hero-carousel-stage { height: 350px; }

  .hero-product-card { width: min(72vw, 260px); }

  .hero-product-card.is-active {
    transform: translate(-50%, -50%) scale(1) rotateZ(0deg);
    box-shadow:
      0 28px 70px rgba(0, 0, 0, 0.44),
      0 0 44px rgba(var(--hero-card-accent-rgb, 22, 119, 255), 0.20);
  }

  .hero-product-card.is-previous {
    opacity: 0.42;
    transform:
      translate(-50%, -50%)
      translateX(-50%) scale(0.75) rotateZ(-4deg);
  }

  .hero-product-card.is-next {
    opacity: 0.46;
    transform:
      translate(-50%, -50%)
      translateX(50%) scale(0.75) rotateZ(4deg);
  }
}

/* ── Extra small mobile (≤ 480px) ── */
@media (max-width: 480px) {
  .hero-product-carousel { max-width: 100%; }
  .hero-carousel-stage { height: 300px; }
  .hero-product-card { width: min(76vw, 238px); }
  .hero-product-card__name { font-size: 14px; }
  .hero-product-card.is-previous {
    opacity: 0.30;
    transform:
      translate(-50%, -50%)
      translateX(-50%) scale(0.70) rotateZ(-3deg);
  }
  .hero-product-card.is-next {
    opacity: 0.34;
    transform:
      translate(-50%, -50%)
      translateX(50%) scale(0.70) rotateZ(3deg);
  }
}
