/* =============================================================
   1. TOKENS  — paleta morado + dorado
   ============================================================= */
:root {
  --bg: #faf8fe;
  --bg-2: #f0ebf9;
  --bg-3: #e4d9f5;
  --glass: rgba(255, 255, 255, 0.78);
  --glass-2: rgba(255, 255, 255, 0.52);
  --glass-border: rgba(255, 255, 255, 0.70);
  --ink: #1a0d2e;
  --ink-soft: #3d2660;
  --ink-mute: #8a6aaa;
  --accent: #6B3FA0;
  --accent-dark: #4A2B7A;
  --accent-light: #f0e6ff;
  --gold: #C8962E;
  --gold-light: #fff5d9;
  --sale: #d94f3d;
  --line: rgba(26, 13, 46, 0.10);
  --shadow-sm: 0 2px 8px rgba(26, 13, 46, 0.06);
  --shadow-md: 0 8px 32px rgba(26, 13, 46, 0.10);
  --shadow-lg: 0 20px 60px rgba(26, 13, 46, 0.14);
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --radius: 20px;
  --radius-sm: 12px;
  --radius-xs: 8px;
  --gutter: clamp(1.25rem, 5vw, 2.5rem);
  --max-w: 1240px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

[hidden] {
  display: none !important;
}

html {
  -webkit-text-size-adjust: 100%;
  tab-size: 2;
  scroll-behavior: smooth;
  overflow-x: clip;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}

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

img {
  height: auto;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
  border: 0;
  background: none;
}

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

p {
  text-wrap: pretty;
}

h1,
h2,
h3,
h4 {
  text-wrap: balance;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

ul {
  list-style: none;
  padding: 0;
}

::selection {
  background: var(--accent);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* =============================================================
   3. UTILITIES
   ============================================================= */
.skip-link {
  position: fixed;
  top: -100px;
  left: 1rem;
  padding: .6rem 1rem;
  background: var(--accent);
  color: #fff;
  z-index: 9999;
  border-radius: var(--radius-xs);
  font-weight: 600;
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

.reveal[data-split] {
  opacity: 1;
  transform: none;
}

/* =============================================================
   4. TYPOGRAPHY SCALE
   ============================================================= */
.hero-title {
  font-size: clamp(2.4rem, 5.5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.hero-title em {
  color: var(--accent);
  font-style: italic;
  font-weight: 700;
}

.section-kicker {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.9rem, 3.5vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
}

.section-title em {
  color: var(--accent);
  font-style: italic;
}

.section-title-sm {
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.section-title-sm em {
  color: var(--accent);
  font-style: italic;
}

.section-sub {
  font-size: 1.0625rem;
  color: var(--ink-mute);
  max-width: 52ch;
}

/* =============================================================
   5. BUTTONS
   ============================================================= */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.875rem 1.75rem;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: 100px;
  border: 2px solid var(--accent);
  transition: background 0.25s var(--ease-out), transform 0.25s var(--ease-bounce), box-shadow 0.25s var(--ease-out);
}

.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(107, 63, 160, 0.35);
}

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

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.875rem 1.75rem;
  background: transparent;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: 100px;
  border: 2px solid var(--line);
  transition: border-color 0.25s var(--ease-out), background 0.25s var(--ease-out), transform 0.25s var(--ease-bounce);
}

.btn-secondary:hover {
  border-color: var(--accent);
  background: var(--accent-light);
  transform: translateY(-2px);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.75rem 1.5rem;
  background: transparent;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 100px;
  border: 2px solid var(--accent);
  transition: background 0.25s var(--ease-out), color 0.25s var(--ease-out), transform 0.25s var(--ease-bounce);
}

.btn-outline:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-2px);
}

.btn-buy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.75rem 1.25rem;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: var(--radius-sm);
  border: 2px solid var(--accent);
  transition: background 0.2s var(--ease-out), transform 0.2s var(--ease-bounce), box-shadow 0.2s var(--ease-out);
  letter-spacing: 0.01em;
}

.btn-buy:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(107, 63, 160, 0.30);
}

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

.btn-nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1.2rem;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: 100px;
  transition: background 0.2s var(--ease-out), transform 0.2s var(--ease-bounce);
}

.btn-nav-cta:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

/* =============================================================
   6. NAV
   ============================================================= */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: rgba(250, 248, 254, 0.88);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid var(--line);
  transition: background 0.3s var(--ease-soft);
}

.nav.is-scrolled {
  background: rgba(250, 248, 254, 0.97);
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem var(--gutter);
  max-width: var(--max-w);
  margin-inline: auto;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.nav-logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: var(--accent);
  color: #fff;
  border-radius: 9px;
  font-weight: 800;
  font-size: 1rem;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-soft);
  position: relative;
  transition: color 0.2s var(--ease-out);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform 0.25s var(--ease-out);
}

.nav-links a:hover {
  color: var(--accent);
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

/* Cart button */
.nav-cart-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  color: var(--ink-soft);
  transition: background 0.2s, color 0.2s;
  flex-shrink: 0;
}

.nav-cart-btn:hover {
  background: var(--accent-light);
  color: var(--accent);
}

.cart-badge {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--gold);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 800;
  min-width: 17px;
  height: 17px;
  border-radius: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
  line-height: 1;
  transform: translate(4px, -4px);
  pointer-events: none;
  border: 2px solid var(--bg);
}

.cart-badge[hidden] {
  display: none;
}

/* Burger */
.nav-burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 6px;
  border-radius: 8px;
}

.nav-burger span {
  display: block;
  height: 2px;
  width: 22px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s var(--ease-out), opacity 0.3s;
}

.nav-burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu */
.mobile-menu {
  background: rgba(250, 248, 254, 0.97);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--line);
  padding: 1.5rem var(--gutter) 2rem;
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-links {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.mobile-links a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink-soft);
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line);
  transition: color 0.2s;
}

.mobile-links a:last-child {
  border-bottom: 0;
}

.mobile-links a:hover {
  color: var(--accent);
}

.btn-mobile-cta {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  padding: 0.875rem;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  border-radius: var(--radius-sm);
  transition: background 0.2s;
}

.btn-mobile-cta:hover {
  background: var(--accent-dark);
}

/* =============================================================
   7. HERO
   ============================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  padding-top: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--bg);
}

.hero-mesh {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse at 15% 30%, rgba(107, 63, 160, 0.22) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 20%, rgba(200, 150, 46, 0.16) 0%, transparent 50%),
    radial-gradient(ellipse at 60% 80%, rgba(107, 63, 160, 0.14) 0%, transparent 55%),
    radial-gradient(ellipse at 30% 70%, rgba(200, 150, 46, 0.10) 0%, transparent 45%);
  filter: blur(50px) saturate(130%);
  animation: meshDrift 25s ease-in-out infinite;
}

@keyframes meshDrift {

  0%,
  100% {
    transform: scale(1) translate(0, 0);
  }

  33% {
    transform: scale(1.08) translate(-2%, 1%);
  }

  66% {
    transform: scale(1.05) translate(2%, -1%);
  }
}

.hero-grain {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.028;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 700px;
  padding: 4rem var(--gutter) 2rem;
  text-align: center;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent-light);
  color: var(--accent-dark);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.4rem 0.9rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(107, 63, 160, 0.2);
}

.hero-sub {
  font-size: 1.0625rem;
  color: var(--ink-soft);
  line-height: 1.65;
  margin-top: 1.25rem;
  max-width: 50ch;
  margin-inline: auto;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--ink-soft);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  padding: 0.35rem 0.85rem;
  backdrop-filter: blur(8px);
}

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

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
}

.hero-products-strip {
  display: none;
}

.hero-strip-track img {
  height: clamp(80px, 9vw, 120px);
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 24px rgba(26, 13, 46, 0.12));
  transition: transform 0.4s var(--ease-bounce), filter 0.4s var(--ease-out);
}

.hero-strip-track img:hover {
  transform: translateY(-6px) scale(1.06);
  filter: drop-shadow(0 16px 32px rgba(107, 63, 160, 0.20));
}

/* =============================================================
   8. SECTION SHARED
   ============================================================= */
.section-products,
.section-testimonials,
.section-trust,
.section-brand,
.section-contact {
  padding-block: clamp(4rem, 9vw, 7rem);
}

.section-header {
  text-align: center;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-testimonials {
  background: var(--bg-2);
}

.section-trust {
  background: var(--bg);
}

.section-brand {
  background: var(--bg-2);
}

.section-contact {
  background: var(--bg);
}

/* =============================================================
   9. FILTER TABS
   ============================================================= */
.filter-tabs {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 0.5rem;
  margin-bottom: 2.5rem;
  justify-content: flex-start;
}

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

.filter-btn {
  flex-shrink: 0;
  padding: 0.55rem 1.1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-soft);
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: 100px;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: background 0.2s var(--ease-out), color 0.2s, border-color 0.2s, transform 0.2s var(--ease-bounce);
  white-space: nowrap;
}

.filter-btn:hover {
  background: var(--accent-light);
  border-color: rgba(107, 63, 160, 0.3);
  color: var(--accent-dark);
  transform: translateY(-1px);
}

.filter-btn.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  font-weight: 600;
}

/* =============================================================
   10. PRODUCT CARDS
   ============================================================= */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 1.25rem;
}

.product-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  overflow: hidden;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
  display: flex;
  flex-direction: column;
}

@supports not (backdrop-filter: blur(1px)) {
  .product-card {
    background: rgba(255, 255, 255, 0.95);
  }
}

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

.card-img-wrap {
  position: relative;
  background: linear-gradient(135deg, var(--bg-2), var(--bg-3));
  padding: 1.5rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 200px;
  overflow: hidden;
}

.card-img-wrap img {
  height: 140px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 6px 16px rgba(26, 13, 46, 0.10));
  transition: transform 0.4s var(--ease-bounce);
}

.product-card:hover .card-img-wrap img {
  transform: scale(1.06) translateY(-3px);
}

.card-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: 100px;
  line-height: 1;
}

.card-badge-prueba {
  background: var(--accent-light);
  color: var(--accent-dark);
  border: 1px solid rgba(107, 63, 160, 0.25);
}

.card-badge-ahorro {
  background: var(--gold-light);
  color: #7a5200;
  border: 1px solid rgba(200, 150, 46, 0.30);
}

.card-badge-maximo {
  background: #fde8e8;
  color: var(--sale);
  border: 1px solid rgba(217, 79, 61, 0.25);
}

.card-badge-valor {
  background: #f8e8ff;
  color: var(--accent-dark);
  border: 1px solid rgba(107, 63, 160, 0.25);
}

.card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0;
}

.card-subtitle {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.3rem;
}

.card-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
}

.card-desc {
  font-size: 0.875rem;
  color: var(--ink-mute);
  line-height: 1.55;
  flex: 1;
  margin-bottom: 1rem;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.card-price {
  display: flex;
  flex-direction: column;
}

.price-old {
  font-size: 0.8rem;
  color: var(--ink-mute);
  text-decoration: line-through;
  line-height: 1;
}

.price-now {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.price-saving {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--sale);
  margin-top: 0.2rem;
}

.product-card[hidden] {
  display: none;
}

/* Add-to-cart button */
.btn-add-cart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 100%;
  padding: 0.75rem 1.25rem;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 0.875rem;
  border-radius: var(--radius-sm);
  border: none;
  transition: background 0.2s var(--ease-out), transform 0.2s var(--ease-bounce), box-shadow 0.2s var(--ease-out);
  cursor: pointer;
}

.btn-add-cart:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(107, 63, 160, 0.30);
}

.btn-add-cart:active {
  transform: translateY(0);
}

.btn-add-cart.is-added {
  background: var(--gold);
}

/* =============================================================
   11. GLASS CARD
   ============================================================= */
.glass-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 1.75rem;
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  box-shadow: var(--shadow-md);
}

@supports not (backdrop-filter: blur(1px)) {
  .glass-card {
    background: rgba(255, 255, 255, 0.95);
  }
}

/* =============================================================
   12. TESTIMONIALS
   ============================================================= */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.testimonial-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.stars {
  color: var(--gold);
  font-size: 0.95rem;
  letter-spacing: 0.1em;
}

.testimonial-text {
  font-size: 0.9375rem;
  color: var(--ink-soft);
  line-height: 1.65;
  font-style: italic;
  flex: 1;
}

.testimonial-meta {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
}

.testimonial-meta strong {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink);
}

.testimonial-meta span {
  font-size: 0.78rem;
  color: var(--accent);
  font-weight: 500;
}

/* =============================================================
   13. TRUST SECTION
   ============================================================= */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.trust-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 1.75rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
}

.trust-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.trust-icon-wrap {
  width: 60px;
  height: 60px;
  background: var(--accent-light);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  color: var(--accent);
  transition: background 0.3s, transform 0.3s var(--ease-bounce);
}

.trust-card:hover .trust-icon-wrap {
  background: var(--accent);
  color: #fff;
  transform: scale(1.08) rotate(-3deg);
}

.trust-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--ink);
}

.trust-card p {
  font-size: 0.875rem;
  color: var(--ink-mute);
  line-height: 1.6;
}

/* =============================================================
   14. BRAND SECTION
   ============================================================= */
.brand-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.brand-text p {
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.brand-text .btn-outline {
  margin-top: 0.5rem;
}

.brand-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.stat {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  padding: 1.5rem 1.25rem;
  text-align: center;
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease-bounce);
}

.stat:hover {
  transform: translateY(-3px);
}

.stat-num {
  display: block;
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat-label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--ink-mute);
}

/* =============================================================
   15. CONTACT SECTION
   ============================================================= */
.contact-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-text p {
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.contact-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: var(--ink);
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.contact-list svg {
  color: var(--accent);
  flex-shrink: 0;
}

.contact-list a {
  font-weight: 500;
  transition: color 0.2s;
}

.contact-list a:hover {
  color: var(--accent);
}

.contact-shipping {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--accent-dark);
  background: var(--accent-light);
  border-radius: var(--radius-xs);
  padding: 0.6rem 0.9rem;
  border: 1px solid rgba(107, 63, 160, 0.2);
}

.contact-shipping svg {
  color: var(--accent);
  flex-shrink: 0;
}

/* =============================================================
   16. FOOTER
   ============================================================= */
.footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.75);
  padding-block: clamp(3rem, 6vw, 5rem) 2rem;
}

.footer .nav-logo {
  color: #fff;
}

.footer .nav-logo-mark {
  background: var(--accent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.65;
  margin-top: 0.75rem;
  max-width: 32ch;
  color: rgba(255, 255, 255, 0.6);
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-nav h4 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 0.5rem;
}

.footer-nav a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s;
}

.footer-nav a:hover {
  color: #fff;
}

.footer-trust h4 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 0.75rem;
}

.payment-badges {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.payment-badge {
  display: inline-flex;
  padding: 0.3rem 0.7rem;
  font-size: 0.75rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-xs);
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.04em;
}

.footer-note {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.5;
  max-width: 26ch;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
}

.footer-disclaimer {
  font-style: italic;
}

/* =============================================================
   17. ANIMATIONS & EFFECTS
   ============================================================= */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.stat-num[data-count-to] {
  transition: none;
}

/* =============================================================
   18. RESPONSIVE — mobile first
   ============================================================= */
@media (min-width: 540px) {
  .filter-tabs {
    justify-content: flex-start;
  }
}

@media (min-width: 720px) {
  .nav-links {
    display: flex;
  }

  .nav-burger {
    display: none;
  }

  .btn-nav-cta {
    display: inline-flex;
  }

  .hero-inner {
    padding-block: 5rem 2rem;
  }

  .brand-split {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }

  .contact-inner {
    grid-template-columns: 1fr 1fr;
  }

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

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

@media (min-width: 960px) {
  .hero {
    flex-direction: row;
  }

  .hero-inner {
    text-align: left;
    padding: 6rem 44% 4rem var(--gutter);
    max-width: 100%;
  }

  .hero-kicker {
    margin-left: 0;
  }

  .hero-trust {
    justify-content: flex-start;
  }

  .hero-actions {
    justify-content: flex-start;
  }

  .hero-products-strip {
    display: flex;
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 40%;
    padding: 0;
    align-items: center;
    mask-image: linear-gradient(to left, transparent 0%, black 25%);
    -webkit-mask-image: linear-gradient(to left, transparent 0%, black 25%);
  }

  .hero-strip-track {
    flex-direction: column;
    gap: 1.25rem;
    padding: 2rem 1.5rem 2rem 0;
    width: 100%;
    align-items: flex-end;
  }

  .filter-tabs {
    justify-content: center;
  }
}

@media (min-width: 1280px) {
  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  }

  .trust-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* =============================================================
   19. REDUCED MOTION
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .hero-mesh {
    animation: none;
  }
}

/* =============================================================
   20. CART DRAWER
   ============================================================= */
.cart-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(26, 13, 46, 0.45);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  cursor: pointer;
}

.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  justify-content: flex-end;
}

.cart-drawer[hidden] {
  display: none;
}

.cart-panel {
  position: relative;
  z-index: 1;
  background: var(--bg);
  width: min(100%, 420px);
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: -4px 0 48px rgba(26, 13, 46, 0.20);
  overflow: hidden;
}

.cart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
}

.cart-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.cart-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  color: var(--ink-mute);
  transition: background 0.2s, color 0.2s;
}

.cart-close:hover {
  background: var(--bg-2);
  color: var(--ink);
}

.cart-body {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.5rem;
  display: flex;
  flex-direction: column;
}

.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  height: 100%;
  color: var(--ink-mute);
  text-align: center;
  padding: 2rem 0;
}

.cart-empty svg {
  opacity: 0.35;
  color: var(--ink-mute);
}

.cart-empty p {
  font-size: 1rem;
  font-weight: 500;
}

.cart-items {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cart-item {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 0.75rem;
  align-items: start;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.cart-item img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: var(--radius-xs);
  background: var(--bg-2);
  padding: 0.25rem;
}

.cart-item-info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.cart-item-name {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
}

.cart-item-sub {
  font-size: 0.72rem;
  color: var(--ink-mute);
}

.cart-item-price {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}

.cart-item-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.4rem;
}

.qty-ctrl {
  display: flex;
  align-items: center;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.qty-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink-soft);
  transition: background 0.15s, color 0.15s;
}

.qty-btn:hover {
  background: var(--accent-light);
  color: var(--accent);
}

.qty-num {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--ink);
  padding: 0 0.2rem;
}

.cart-remove {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 6px;
  color: var(--ink-mute);
  transition: background 0.15s, color 0.15s;
}

.cart-remove:hover {
  background: #fde8e8;
  color: var(--sale);
}

/* Cart footer */
.cart-foot {
  border-top: 1px solid var(--line);
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex-shrink: 0;
  background: var(--bg);
}

/* Shipping destination selector */
.shipping-selector {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.shipping-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--ink-mute);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.shipping-options {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.ship-opt {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  padding: 0.4rem 0.8rem;
  border: 1.5px solid var(--line);
  border-radius: 100px;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
  user-select: none;
}

.ship-opt:has(input:checked),
.ship-opt.is-selected {
  border-color: var(--accent);
  background: var(--accent-light);
  color: var(--accent-dark);
  font-weight: 600;
}

.ship-opt input {
  display: none;
}

/* Totals */
.cart-totals {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.cart-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  color: var(--ink-soft);
}

.cart-row-total {
  font-size: 1rem;
  font-weight: 800;
  color: var(--ink);
  border-top: 1px solid var(--line);
  padding-top: 0.5rem;
  margin-top: 0.2rem;
}

.shipping-free {
  color: var(--accent) !important;
  font-weight: 700;
}

.shipping-note {
  font-size: 0.78rem;
  color: var(--accent-dark);
  background: var(--accent-light);
  border-radius: var(--radius-xs);
  padding: 0.45rem 0.75rem;
  font-weight: 500;
  line-height: 1.4;
}

.shipping-note[hidden] {
  display: none;
}

/* Checkout area */
.cart-checkout {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.cart-checkout-info {
  font-size: 0.72rem;
  color: var(--ink-mute);
  text-align: center;
  line-height: 1.4;
}

.cart-checkout-btns {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* Order reference */
.order-ref-row {
  font-size: 0.78rem;
  color: var(--ink-mute);
  text-align: center;
  padding: 0.4rem 0;
}

.order-ref-row strong {
  color: var(--ink-soft);
  font-size: 0.82rem;
  letter-spacing: 0.03em;
}

/* Bizum block */
.pay-bizum-block {
  background: #f9f4ff;
  border: 1.5px solid rgba(107, 63, 160, 0.2);
  border-radius: var(--radius-sm);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.pay-bizum-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--accent-dark);
}

.pay-bizum-header svg {
  color: var(--accent);
  flex-shrink: 0;
}

.pay-bizum-details {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  background: var(--bg);
  border-radius: 8px;
  padding: 0.75rem;
  border: 1px solid var(--line);
}

.bizum-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  gap: 0.5rem;
}

.bizum-row span {
  color: var(--ink-mute);
}

.bizum-row strong {
  color: var(--ink);
  text-align: right;
}

.bizum-amount {
  color: var(--accent) !important;
  font-size: 1rem !important;
}

.bizum-note {
  font-size: 0.75rem;
  color: var(--ink-mute);
  line-height: 1.55;
  padding-top: 0.25rem;
}

/* WhatsApp button */
.pay-whatsapp-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1rem;
  background: #25D366;
  color: #fff;
  font-weight: 700;
  font-size: 0.875rem;
  border-radius: var(--radius-sm);
  text-align: center;
  transition: background 0.2s var(--ease-out), transform 0.2s var(--ease-bounce);
  text-decoration: none;
}

.pay-whatsapp-btn:hover {
  background: #1ebc58;
  transform: translateY(-1px);
}

.pay-pending {
  font-size: 0.78rem;
  color: var(--ink-mute);
  text-align: center;
  padding: 0.75rem;
  border: 1px dashed var(--line);
  border-radius: var(--radius-xs);
  line-height: 1.5;
}

/* Shipping info callout (in products section) */
.shipping-callout {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: var(--gold-light);
  border: 1px solid rgba(200, 150, 46, 0.3);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  margin-bottom: 2rem;
}

.shipping-callout svg {
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 1px;
}

.shipping-callout p {
  font-size: 0.875rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

.shipping-callout strong {
  color: var(--ink);
}

/* Logo text */
.nav-logo-text {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--ink);
  letter-spacing: 0.01em;
  line-height: 1;
}

.nav-logo-text em {
  font-style: italic;
  color: var(--accent);
}

.footer .nav-logo-text {
  color: #fff;
}

.footer .nav-logo-text em {
  color: var(--gold);
}

/* Logo image */
.nav-logo-img {
  height: 48px;
  width: 48px;
  object-fit: contain;
  border-radius: 10%;
  display: block;
}

.nav-logo-img--footer {
  height: 56px;
  width: 56px;
}

/* =============================================================
   21. PAYMENT UI — Stripe + Bizum
   ============================================================= */

/* Stripe primary button section */
.pay-section {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.pay-section-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-mute);
  text-align: center;
}

.pay-section-note {
  font-size: 0.72rem;
  color: var(--ink-mute);
  text-align: center;
  line-height: 1.4;
}

.pay-stripe-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.9rem 1.25rem;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 0.9375rem;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: background 0.2s var(--ease-out), transform 0.2s var(--ease-bounce), box-shadow 0.2s;
}

.pay-stripe-btn:hover:not(:disabled) {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(107, 63, 160, 0.32);
}

.pay-stripe-btn:active:not(:disabled) {
  transform: translateY(0);
}

.pay-stripe-btn:disabled {
  opacity: 0.7;
  cursor: wait;
}

/* Loading spinner inside Stripe button */
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.btn-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2.5px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  flex-shrink: 0;
}

/* Stripe error message */
.stripe-error {
  font-size: 0.78rem;
  color: var(--sale);
  background: #fff0ee;
  border: 1px solid rgba(217, 79, 61, 0.25);
  border-radius: var(--radius-xs);
  padding: 0.5rem 0.75rem;
  text-align: center;
  line-height: 1.4;
}

.stripe-error[hidden] {
  display: none;
}

/* Divider between Stripe and alternative methods */
.pay-divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ink-mute);
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.pay-divider::before,
.pay-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--line);
}

/* Collapsible Bizum details */
.pay-bizum-wrapper {
  border: 1.5px solid rgba(107, 63, 160, 0.2);
  border-radius: var(--radius-sm);
  background: #f9f4ff;
  overflow: hidden;
}

.pay-bizum-summary {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--accent-dark);
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: background 0.15s;
}

.pay-bizum-summary::-webkit-details-marker {
  display: none;
}

.pay-bizum-summary::after {
  content: '▾';
  margin-left: auto;
  font-size: 0.75rem;
  color: var(--accent);
  transition: transform 0.2s;
}

.pay-bizum-wrapper[open] .pay-bizum-summary::after {
  transform: rotate(-180deg);
}

.pay-bizum-wrapper[open] .pay-bizum-summary {
  background: rgba(107, 63, 160, 0.06);
}

.pay-bizum-body {
  padding: 0 1rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}