﻿/* ============================================================
   ALTOMEDIC v2 — Design System 2026
   Tokens → Reset → Typography → Components → Pages → Responsive
   ============================================================ */

/* 1. DESIGN TOKENS */
:root {
  /* === ALTOMEDIC BRAND PALETTE (confirmed from altomedicperu.com) === */
  --br:      #005A75;   /* primary dark teal — main brand color */
  --br-dark: #004A62;   /* hover/active darkening of --br */
  --bm:      var(--bm);   /* medium teal */
  --bright:  #2BB5B5;   /* bright teal — logo cross color, CTAs */
  --mint:    #A8D5BA;   /* brand mint — confirmed secondary */
  --sage:    #8A9E7C;   /* sage — logo swoosh color */
  --cream:   #F4F9FB;   /* warm off-white background */
  --surface: #FFFFFF;
  --border:  #D8EAF0;
  --text:    #0D1F2D;   /* near-black with teal tint */
  --muted:   #5A7A8A;
  --dark:    #05141C;   /* deepest navy */

  /* Legacy alias kept for compat */
  --sa:      #005A75;   /* was coral, now primary teal */
  --accent:  #A8D5BA;   /* was teal accent, now brand mint */

  --font-head: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;

  --r:    14px;
  --r-sm: 8px;
  --r-lg: 24px;
  --trans: .22s ease;

  --shadow-sm:   0 1px 4px rgba(0,90,117,.07);
  --shadow-md:   0 4px 20px rgba(0,90,117,.12);
  --shadow-lg:   0 12px 40px rgba(0,90,117,.18);
  --shadow-teal: 0 8px 24px rgba(0,90,117,.30);

  /* Utility colors */
  --white:       #FFFFFF;
  --br-darkest:  var(--br-darkest);
  --green:       #22C55E;
  --green-dark:  #1A9A4A;
  --gray:        var(--gray);
  --wa-green:    var(--wa-green);
  --wa-dark:     var(--wa-dark);


  --wa-darkest:  var(--wa-darkest);
  --wa-hover:    var(--wa-hover);
  --star-yellow: var(--star-yellow);
  --neutral:     var(--neutral);
  --google-text: var(--google-text);
  --google-border: var(--google-border);
  --google-hover-bg: var(--google-hover-bg);
  --google-hover-border: var(--google-hover-border)BBB;
  --success-text: var(--success-text);
  --success-green: var(--success-green);
  /* Category card gradients (decorative palette) */
  --bcat-1s: var(--br-darkest); --bcat-1e: #005A75;
  --bcat-2s: #004D40; --bcat-2e: #00897B;
  --bcat-3s: #0D47A1; --bcat-3e: #1976D2;
  --bcat-4s: #4A148C; --bcat-4e: #7B1FA2;
  --bcat-5s: #BF360C; --bcat-5e: #E64A19;
  --bcat-6s: #1A237E; --bcat-6e: #3949AB;
}

/* 2. RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  max-width: 100vw;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: var(--font-body); border: none; background: none; }
ul, ol { list-style: none; }

/* 3. TYPOGRAPHY */
h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.5px;
  color: var(--text);
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); letter-spacing: -1.5px; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.5rem); letter-spacing: -1px; }
h3 { font-size: clamp(1.05rem, 2.5vw, 1.4rem); }
p  { font-size: clamp(.9rem, 1.5vw, 1rem); line-height: 1.7; color: var(--muted); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 600;
  height: 68px;
  background: rgba(247,250,251,.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-logo img { height: 48px; width: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
}
.nav-links a {
  font-size: .875rem;
  font-weight: 500;
  color: var(--text);
  padding: 8px 12px;
  border-radius: var(--r-sm);
  transition: background var(--trans), color var(--trans);
  white-space: nowrap;
}
.nav-links a:hover { background: rgba(0,90,117,.08); color: var(--br); }

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dd-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: .875rem;
  font-weight: 500;
  color: var(--text);
  padding: 8px 12px;
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: background var(--trans), color var(--trans);
}
.nav-dd-toggle:hover { background: rgba(0,90,117,.08); color: var(--br); }
.nav-dd-arrow { transition: transform var(--trans); }
.nav-dropdown:hover .nav-dd-arrow { transform: rotate(180deg); }
.nav-dd-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 220px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity var(--trans), transform var(--trans);
}
.nav-dropdown:hover .nav-dd-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.nav-dd-menu a {
  display: block;
  font-size: .85rem;
  color: var(--muted);
  padding: 9px 14px;
  border-radius: var(--r-sm);
  transition: background var(--trans), color var(--trans);
}
.nav-dd-menu a:hover { background: var(--cream); color: var(--br); }

/* Nav actions */
.nav-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.btn-wa-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-head);
  font-size: .82rem;
  font-weight: 600;
  color: var(--green-dark);
  padding: 8px 14px;
  border-radius: var(--r-sm);
  border: 1.5px solid rgba(37,211,102,.35);
  transition: all var(--trans);
}
.btn-wa-nav:hover { background: rgba(37,211,102,.08); border-color: var(--wa-green); color: var(--green-dark); }
.icon-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-sm);
  color: var(--muted);
  transition: all var(--trans);
}
.icon-btn:hover { background: var(--border); color: var(--br); }

/* Auth dropdown */
.nav-user-wrap { position: relative; }
.nav-user-btn { width:40px;height:40px;border-radius:50%;background:var(--br);border:none;cursor:pointer;display:flex;align-items:center;justify-content:center;position:relative; }
.nav-user-ini { color:var(--white);font-size:.72rem;font-weight:800;font-family:var(--font-head); }
.nav-user-dot { position:absolute;bottom:1px;right:1px;width:10px;height:10px;background:var(--green);border:2px solid var(--white);border-radius:50%; }
.nav-user-drop { position:absolute;right:0;top:calc(100% + 8px);background:var(--surface);border:1px solid var(--border);border-radius:14px;padding:8px;width:200px;box-shadow:0 12px 32px rgba(0,0,0,.12);display:none;z-index:500; }
.nav-user-wrap.open .nav-user-drop { display:block; }
.nav-user-info { padding:8px 10px 10px;border-bottom:1px solid var(--border);margin-bottom:4px; }
.nav-user-info strong { display:block;font-size:.85rem;font-weight:700;color:var(--text); }
.nav-user-info small { color:var(--muted);font-size:.75rem; }
.nav-user-drop a,.nav-user-drop button { display:block;width:100%;text-align:left;padding:8px 10px;border-radius:8px;font-size:.85rem;color:var(--text);text-decoration:none;background:none;border:none;cursor:pointer;transition:background var(--trans); }
.nav-user-drop a:hover,.nav-user-drop button:hover { background:var(--cream); }

.cart-btn { position: relative; }
.cart-count {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 16px;
  height: 16px;
  background: var(--sa);
  color: var(--white);
  font-size: .6rem;
  font-weight: 800;
  font-family: var(--font-head);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  border-radius: var(--r-sm);
  cursor: pointer;
  padding: 9px;
  transition: background var(--trans);
}
.hamburger:hover { background: var(--border); }
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all .28s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
#mobile-menu {
  position: fixed;
  inset: 68px 0 0;
  background: var(--surface);
  z-index: 190;
  padding: 16px 24px 40px;
  display: none;
  overflow-y: auto;
  border-top: 1px solid var(--border);
}
#mobile-menu.open { display: block; }
.mobile-links { display: flex; flex-direction: column; }
.mobile-links a {
  font-size: 1rem;
  font-weight: 500;
  padding: 14px 4px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mobile-cat-label {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
  padding: 20px 4px 8px;
}
.mobile-cat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 8px;
}
.mobile-cat-grid a {
  font-size: .85rem;
  padding: 10px 14px;
  background: var(--cream);
  border-radius: var(--r-sm);
  border: none;
  color: var(--text);
  display: block;
}
.mobile-wa {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--wa-green);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  padding: 14px;
  border-radius: var(--r);
  margin-top: 20px;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background: linear-gradient(135deg, var(--br-darkest) 0%, var(--br) 55%, var(--bm) 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 95% 50%, rgba(43,181,181,.14), transparent 60%),
    radial-gradient(ellipse 50% 50% at 5% 90%, rgba(168,213,186,.10), transparent 60%);
}
.hero-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 32px 32px;
}
.hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 60px 24px 64px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: start;
  position: relative;
  z-index: 1;
  width: 100%;
}
/* Grid items must not overflow their column on mobile */
.hero-inner > * { min-width: 0; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.95);
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 22px;
  letter-spacing: .04em;
}
.hero-badge-dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}
.hero-title {
  font-family: var(--font-head);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.08;
}
.hero-title-accent { color: var(--mint); display: block; }
.hero-title em {
  font-style: normal;
  color: var(--sa);
  position: relative;
}
.hero-sub {
  color: rgba(255,255,255,.72);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 500px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 36px; }

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--sa);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .92rem;
  padding: 14px 28px;
  border-radius: var(--r);
  border: none;
  transition: all var(--trans);
  box-shadow: var(--shadow-teal);
}
.btn-primary:hover { background: var(--br-dark); transform: translateY(-2px); box-shadow: 0 14px 36px rgba(0,90,117,.40); }
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.1);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .92rem;
  padding: 14px 28px;
  border-radius: var(--r);
  border: 1.5px solid rgba(255,255,255,.28);
  transition: all var(--trans);
}
.btn-ghost:hover { background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.5); }

/* Hero stats — shown BELOW CTA buttons as social proof */
.hero-stats { display: flex; gap: 0; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.12); }
.hero-stat {
  padding: 0 28px 0 0;
  margin-right: 28px;
  border-right: 1px solid rgba(255,255,255,.18);
}
.hero-stat:last-child { border-right: none; margin-right: 0; padding-right: 0; }
.hero-stat-n {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}
.hero-stat-l { font-size: .74rem; color: rgba(255,255,255,.60); margin-top: 5px; font-weight: 500; letter-spacing: .01em; }
/* legacy aliases */
.stat-num { font-family: var(--font-head); font-size: 1.9rem; font-weight: 800; color: var(--white); line-height: 1; }
.stat-num span { color: var(--sa); }
.stat-label { font-size: .78rem; color: rgba(255,255,255,.65); margin-top: 4px; }

/* Hero visual */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
/* Hero product cards container */
.hero-pcards {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: rgba(255,255,255,.07);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 22px;
  padding: 18px;
  width: 100%;
}
.hero-pcards-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}
.hero-pcards-title {
  font-family: var(--font-head);
  font-size: .7rem;
  font-weight: 700;
  color: rgba(255,255,255,.55);
  text-transform: uppercase;
  letter-spacing: .08em;
}
.hero-pcards-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 6px rgba(34,197,94,.6);
}
.hero-glass {
  background: rgba(255,255,255,.09);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 28px;
  padding: 20px;
  width: 100%;
  max-width: 400px;
}
.hero-glass-title {
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 700;
  color: rgba(255,255,255,.6);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 14px;
}
.hero-prod-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 12px;
}
.hero-pcard {
  background: rgba(255,255,255,.97);
  border-radius: 14px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
  box-shadow: 0 2px 16px rgba(0,0,0,.10);
  transition: transform .18s ease, box-shadow .18s ease;
}
.hero-pcard:hover { transform: translateX(5px); box-shadow: 0 4px 20px rgba(0,0,0,.14); }
.hero-pcards-footer {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 14px;
  background: rgba(255,255,255,.08);
  border-radius: 10px;
  margin-top: 4px;
  font-size: .72rem;
  color: rgba(255,255,255,.75);
  font-family: var(--font-head);
  font-weight: 500;
}
/* Hero trust line */
.hero-trust {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 0;
  margin-top: 20px;
}
.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .76rem;
  color: rgba(255,255,255,.65);
  font-family: var(--font-head);
  font-weight: 500;
  padding: 0 20px 0 0;
  white-space: nowrap;
}
.hero-trust-item:first-child { padding-left: 0; }
.hero-trust-sep {
  width: 1px;
  height: 16px;
  background: rgba(255,255,255,.18);
  margin-right: 20px;
  flex-shrink: 0;
}
.hero-pcard-img {
  width: 64px;
  height: 64px;
  border-radius: 11px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--cream);
}
.hero-pcard-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-pcard-info { flex: 1; min-width: 0; }
.hero-pcard-label {
  font-family: var(--font-head);
  font-size: .8rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hero-pcard-val {
  font-family: var(--font-head);
  font-size: .88rem;
  font-weight: 800;
  color: var(--br);
  margin-top: 3px;
}
.hero-pcard-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  margin: 0 auto 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-pcard-icon.teal   { background: rgba(0,90,117,.1); color: var(--br); }
.hero-pcard-icon.coral  { background: rgba(168,213,186,.2); color: var(--sa); }
.hero-pcard-icon.mint   { background: rgba(0,191,165,.1); color: var(--accent); }
.hero-pcard-icon.blue   { background: rgba(0,122,154,.1); color: var(--bm); }
.hero-pcard-badge {
  display: inline-block;
  background: var(--mint);
  color: var(--br);
  font-size: .6rem;
  font-weight: 700;
  font-family: var(--font-head);
  padding: 3px 9px;
  border-radius: 50px;
  margin-left: auto;
  white-space: nowrap;
  flex-shrink: 0;
}
.hero-pcard-name {
  font-family: var(--font-head);
  font-size: .75rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
  margin-bottom: 4px;
}
.hero-pcard-price {
  font-family: var(--font-head);
  font-size: .88rem;
  font-weight: 800;
  color: var(--sa);
}
.hero-glass-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,.08);
  border-radius: 12px;
  padding: 10px 14px;
}
.hgf-text {
  font-size: .78rem;
  color: rgba(255,255,255,.75);
  font-family: var(--font-head);
}
.hgf-text strong { color: var(--white); font-weight: 700; }
.hgf-btn {
  background: var(--sa);
  color: var(--white);
  font-family: var(--font-head);
  font-size: .75rem;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background var(--trans);
}
.hgf-btn:hover { background: var(--br-dark); }

/* ============================================================
   BENEFITS STRIP
   ============================================================ */
.benefits,
.benefits-strip {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.benefits-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
}
.benefit {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 14px;
  border-right: 1px solid var(--border);
  transition: background var(--trans);
}
.benefit:last-child { border-right: none; }
.benefit:hover { background: var(--cream); }
.benefit-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(0,90,117,.07);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--br);
}
.benefit-title {
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}
.benefit-sub { font-size: .7rem; color: var(--gray); margin-top: 1px; line-height: 1.4; }

/* ============================================================
   SECTIONS LAYOUT
   ============================================================ */
.section { padding: 80px 0; }
.section-inner { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.section-alt { background: var(--surface); }
.section-dark { background: var(--dark); }
/* Responsive 2-column layout (replaces inline grid styles) */
.resp-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
@media (max-width: 768px) { .resp-2col { grid-template-columns: 1fr; gap: 32px; } }
@media (max-width: 640px) { .resp-2col { gap: 20px; } }

.section-header { margin-bottom: 48px; }
.section-header.center { text-align: center; }
.section-badge {
  display: inline-block;
  background: rgba(0,90,117,.08);
  color: var(--br);
  font-family: var(--font-head);
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 14px;
}
.section-badge.coral { background: rgba(0,90,117,.06); color: var(--sa); }
.section-title { color: var(--text); margin-bottom: 12px; }
.section-sub { color: var(--muted); max-width: 560px; font-size: .98rem; }
.section-header.center .section-sub { margin: 0 auto; }
.section-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 40px;
}
.see-all-link {
  font-family: var(--font-head);
  font-size: .85rem;
  font-weight: 700;
  color: var(--br);
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  transition: gap var(--trans);
  flex-shrink: 0;
}
.see-all-link:hover { gap: 8px; }

/* ============================================================
   PRODUCT CARDS
   ============================================================ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 16px;
}
.pcard {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  transform-style: preserve-3d;
  transition: box-shadow var(--trans), transform var(--trans), border-color var(--trans);
  position: relative;
  cursor: pointer;
}
.pcard:hover {
  box-shadow: 0 16px 48px rgba(0,90,117,.16), 0 0 0 1.5px rgba(0,90,117,.20);
  transform: translateY(-6px);
  border-color: transparent;
}
.pcard-img {
  aspect-ratio: 1;
  overflow: hidden;
  position: relative;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
}
.pcard-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.pcard-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pcard:hover .pcard-img img { transform: scale(1.07); }
.pcard-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  font-family: var(--font-head);
  font-size: .65rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 50px;
  z-index: 1;
  letter-spacing: .03em;
}
.pcard-badge.mint  { background: var(--accent); color: var(--white); }
.pcard-badge.coral { background: var(--sa);     color: var(--white); }
.pcard-badge.teal  { background: var(--br);     color: var(--white); }
.pcard-wish {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,248,245,.92);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  border: none;
  transition: all var(--trans);
  z-index: 1;
}
.pcard-wish:hover { background: var(--white); color: var(--sa); transform: scale(1.1); }
.pcard-body { padding: 18px; }
.pcard-cat {
  font-size: .68rem;
  font-weight: 700;
  font-family: var(--font-head);
  color: var(--br);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 8px;
}
.pcard-name {
  font-family: var(--font-head);
  font-size: .92rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.4;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.6em;
}
.pcard-price, .pcard-prices {
  display: flex;
  align-items: baseline;
  gap: 7px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.price-sale {
  font-family: var(--font-head);
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--text);
}
.price-orig, .price-old {
  font-size: .8rem;
  color: var(--muted);
  text-decoration: line-through;
}
.price-disc {
  font-family: var(--font-head);
  font-size: .7rem;
  font-weight: 700;
  color: var(--sa);
  background: rgba(0,90,117,.07);
  padding: 2px 7px;
  border-radius: 50px;
}
.pcard-actions { display: flex; gap: 8px; padding-top: 4px; }
.btn-cart {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--sa);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .8rem;
  padding: 9px 10px;
  border-radius: 10px;
  border: none;
  transition: all var(--trans);
}
.btn-cart:hover { background: var(--br-dark); }
.btn-detail {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(0,90,117,.07);
  color: var(--br);
  border: none;
  transition: all var(--trans);
  flex-shrink: 0;
}
.btn-detail:hover { background: rgba(0,90,117,.14); }

/* See all products */
.products-footer { text-align: center; margin-top: 40px; }
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--br);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .92rem;
  padding: 13px 30px;
  border-radius: var(--r);
  border: 2px solid var(--br);
  transition: all var(--trans);
}
.btn-outline:hover { background: var(--br); color: var(--white); gap: 12px; }

/* ============================================================
   CATEGORIES BENTO
   ============================================================ */
.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  overflow: hidden;
}
.bcat {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  min-height: 200px;
  display: flex;
  align-items: flex-end;
  cursor: pointer;
  transition: transform var(--trans), box-shadow var(--trans);
}
.bcat:hover { transform: scale(1.018); box-shadow: var(--shadow-lg); }
.bcat:nth-child(1) { grid-column: span 2; min-height: 260px; }
.bcat.tall        { grid-row: span 2; min-height: 100%; }
.bcat-bg {
  position: absolute;
  inset: 0;
  transition: transform .4s ease;
}
.bcat:hover .bcat-bg { transform: scale(1.04); }
.bcat-bg img { width: 100%; height: 100%; object-fit: cover; }
.bcat-c1 { background: linear-gradient(135deg, var(--bcat-1s) 0%, var(--bcat-1e) 100%); }
.bcat-c2 { background: linear-gradient(135deg, var(--bcat-2s) 0%, var(--bcat-2e) 100%); }
.bcat-c3 { background: linear-gradient(135deg, var(--bcat-3s) 0%, var(--bcat-3e) 100%); }
.bcat-c4 { background: linear-gradient(135deg, var(--bcat-4s) 0%, var(--bcat-4e) 100%); }
.bcat-c5 { background: linear-gradient(135deg, var(--bcat-5s) 0%, var(--bcat-5e) 100%); }
.bcat-c6 { background: linear-gradient(135deg, var(--bcat-6s) 0%, var(--bcat-6e) 100%); }
.bcat::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5,14,22,.75) 0%, rgba(5,14,22,.2) 50%, transparent 100%);
}
.bcat-icon-bg {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(8px);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.9);
  z-index: 1;
}
.bcat-content {
  position: relative;
  z-index: 2;
  padding: 20px 22px;
  width: 100%;
}
.bcat-label {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--white);
  margin-bottom: 3px;
}
.bcat-count { font-size: .78rem; color: rgba(255,255,255,.65); margin-bottom: 12px; }
.bcat-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.14);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.22);
  color: var(--white);
  font-family: var(--font-head);
  font-size: .76rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 50px;
  transition: all var(--trans);
}
.bcat:hover .bcat-btn { background: var(--sa); border-color: var(--sa); }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.tcard {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px;
  position: relative;
  transition: box-shadow var(--trans), transform var(--trans);
}
.tcard:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.tcard-quote {
  position: absolute;
  top: 24px;
  right: 28px;
  color: var(--accent);
  opacity: .25;
  font-size: 4.5rem;
  font-family: Georgia, serif;
  line-height: 1;
}
.tcard-stars { display: flex; gap: 3px; margin-bottom: 18px; }
.star { color: var(--star-yellow); font-size: 1rem; }
.tcard-text {
  font-size: .96rem;
  line-height: 1.78;
  color: var(--text);
  margin-bottom: 24px;
  font-style: italic;
}
.tcard-author { display: flex; align-items: center; gap: 14px; }
.tcard-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--br), var(--bm));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1rem;
  flex-shrink: 0;
}
.tcard-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .9rem;
  color: var(--text);
}
.tcard-role { font-size: .8rem; color: var(--muted); margin-top: 2px; }
.tcard-verified {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: .7rem;
  font-weight: 600;
  color: var(--accent);
  font-family: var(--font-head);
  margin-top: 4px;
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-wrap { padding: 0 24px 80px; max-width: 1280px; margin: 0 auto; }
.cta-banner {
  background: linear-gradient(135deg, var(--br-darkest) 0%, var(--br) 60%, var(--bm) 100%);
  border-radius: 28px;
  padding: 60px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  right: -60px;
  top: -60px;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(0,90,117,.12) 0%, transparent 65%);
}
.cta-banner::after {
  content: '';
  position: absolute;
  left: 40%;
  bottom: -100px;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(0,191,165,.12) 0%, transparent 65%);
}
.cta-content { position: relative; z-index: 1; }
.cta-tag {
  display: inline-block;
  background: rgba(255,255,255,.12);
  color: rgba(255,255,255,.9);
  font-family: var(--font-head);
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  padding: 5px 14px;
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,.2);
  margin-bottom: 16px;
}
.cta-title {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 10px;
  line-height: 1.15;
}
.cta-sub { color: rgba(255,255,255,.65); font-size: .98rem; max-width: 440px; }
.cta-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--sa);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .95rem;
  padding: 16px 32px;
  border-radius: var(--r);
  border: none;
  transition: all var(--trans);
  box-shadow: var(--shadow-teal);
  white-space: nowrap;
}
.btn-cta:hover { background: var(--br-dark); transform: translateY(-2px); }
.btn-cta-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.1);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .9rem;
  padding: 15px 24px;
  border-radius: var(--r);
  border: 1.5px solid rgba(255,255,255,.25);
  transition: all var(--trans);
  white-space: nowrap;
}
.btn-cta-ghost:hover { background: rgba(255,255,255,.18); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,.65);
  padding-top: 64px;
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px 56px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}
.footer-logo {
  height: 42px;
  width: auto;
  margin-bottom: 18px;
  filter: brightness(0) invert(1);
  opacity: .9;
}
.footer-desc { font-size: .875rem; line-height: 1.75; margin-bottom: 24px; }
.footer-social { display: flex; gap: 8px; }
.social-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.6);
  transition: all var(--trans);
}
.social-btn:hover { background: var(--br); color: var(--white); border-color: var(--br); transform: translateY(-2px); }
.libro-rec-badge {
  display: inline-flex;
  margin-top: 16px;
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  transition: opacity .2s, transform .2s;
  box-shadow: 0 2px 8px rgba(0,0,0,.25);
}
.libro-rec-badge:hover { opacity: .88; transform: translateY(-2px); }
.footer-col-title {
  font-family: var(--font-head);
  font-size: .75rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: .09em;
  margin-bottom: 18px;
}
.footer-col a {
  display: block;
  font-size: .85rem;
  color: rgba(255,255,255,.55);
  padding: 5px 0;
  transition: color var(--trans);
}
.footer-col a:hover { color: var(--white); }
.footer-contact { display: flex; flex-direction: column; gap: 12px; }
.fcontact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .85rem;
  color: rgba(255,255,255,.55);
}
.fcontact-item svg { color: var(--accent); flex-shrink: 0; margin-top: 1px; }
.footer-bottom-wrap {
  border-top: 1px solid rgba(255,255,255,.08);
}
.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .8rem;
  color: rgba(255,255,255,.35);
  gap: 16px;
}
.footer-bottom a { color: rgba(255,255,255,.35); transition: color var(--trans); }
.footer-bottom a:hover { color: rgba(255,255,255,.7); }
.footer-bottom-links { display: flex; gap: 20px; }

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
.anim {
  animation: fadeUp .65s ease both;
  animation-timeline: view();
  animation-range: entry 0% entry 28%;
}
.anim-d1 { animation-delay: .05s; }
.anim-d2 { animation-delay: .12s; }
.anim-d3 { animation-delay: .18s; }
.anim-d4 { animation-delay: .24s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .benefits-inner { grid-template-columns: repeat(3, 1fr); }
  .benefit:nth-child(3) { border-right: none; }
  .benefit:nth-child(4),
  .benefit:nth-child(5),
  .benefit:nth-child(6) { border-top: 1px solid var(--border); }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-inner > div:last-child { display: none; }
}
@media (max-width: 900px) {
  .nav-links, .btn-wa-nav { display: none; }
  .hamburger { display: flex; }
  .hero-inner { grid-template-columns: 1fr; padding: 72px 24px 56px; }
  .hero-visual { display: none; }
  .hero { min-height: auto; }
  .bento { grid-template-columns: 1fr 1fr; }
  .bcat:nth-child(1) { grid-column: span 2; }
  .bcat.tall { grid-row: auto; min-height: 200px; }
  .cta-banner { flex-direction: column; padding: 40px 32px; }
  .cta-actions { flex-direction: column; width: 100%; }
  .btn-cta, .btn-cta-ghost { width: 100%; justify-content: center; }
}
@media (max-width: 640px) {
  .section { padding: 52px 0; }
  .hero-inner { padding: 48px 16px 40px; }
  /* Hero stats: 2×2 grid instead of overflow-prone flex row */
  .hero-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    padding-top: 20px;
  }
  .hero-stat {
    padding: 12px 10px;
    margin-right: 0;
    border-right: 1px solid rgba(255,255,255,.15);
    border-bottom: 1px solid rgba(255,255,255,.12);
  }
  .hero-stat:nth-child(2),
  .hero-stat:nth-child(4) { border-right: none; }
  .hero-stat:nth-child(3),
  .hero-stat:nth-child(4) { border-bottom: none; }
  .hero-stat-n { font-size: 1.5rem; }
  /* Hero trust: wrap and hide separators */
  .hero-trust { flex-wrap: wrap; gap: 8px; margin-top: 14px; }
  .hero-trust-sep { display: none; }
  .hero-trust-item { padding: 3px 10px; background: rgba(255,255,255,.09); border-radius: 50px; font-size: .78rem; }
  /* Page hero padding */
  .page-hero { padding: 36px 0 32px; }
  .page-hero-title { margin-bottom: 8px; }
  /* Benefits */
  .benefits-inner { grid-template-columns: 1fr 1fr; }
  .benefit:nth-child(2) { border-right: none; }
  .benefit:nth-child(3),
  .benefit:nth-child(4),
  .benefit:nth-child(5),
  .benefit:nth-child(6) { border-top: 1px solid var(--border); }
  .benefit:nth-child(4) { border-right: none; }
  .benefit:nth-child(6) { border-right: none; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .bento { grid-template-columns: 1fr; gap: 10px; }
  .bcat:nth-child(1) { grid-column: span 1; }
  .testimonials-grid { grid-template-columns: 1fr; gap: 14px; }
  .tcard { padding: 22px; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .footer-inner > div:last-child { display: block; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-bottom-links { justify-content: center; }
  .cta-wrap { padding: 0 16px 60px; }
  .cta-banner { padding: 36px 24px; border-radius: 20px; }
  .section-inner { padding: 0 16px; }
  .pcard-body { padding: 12px; }
  /* Section between tienda hero and store */
  .store-section { padding: 16px 0 60px; }
}

/* ============================================================
   MOBILE ≤480px — small phones (iPhone SE, Galaxy A series)
   ============================================================ */
@media (max-width: 480px) {
  /* Products — keep 2 columns but compact cards */
  .products-grid { gap: 6px; }
  .pcard-body { padding: 8px 10px; }
  .btn-cart { font-size: .78rem; padding: 8px 6px; gap: 4px; }
  .btn-detail { width: 34px; height: 34px; }
  /* Hero */
  .hero-inner { padding: 36px 16px 32px; }
  .hero-sub { font-size: .95rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn-primary,
  .hero-actions .btn-ghost { width: 100%; justify-content: center; }
  /* Bento */
  .bento { gap: 8px; }
  .bcat { min-height: 120px; }
  /* Testimonials */
  .tcard { padding: 18px; }
  /* Sidebar toggle full width */
  .sidebar-toggle { width: 100%; justify-content: center; }
  /* Section */
  .section { padding: 40px 0; }
}

/* ============================================================
   PAGE HERO BAND (shared for inner pages)
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, var(--br-darkest) 0%, var(--br) 60%, var(--bm) 100%);
  padding: 56px 0 52px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 90% 50%, rgba(43,181,181,.12), transparent);
}
.page-hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .8rem;
  color: rgba(255,255,255,.55);
  margin-bottom: 14px;
  font-family: var(--font-head);
}
.breadcrumb a { color: rgba(255,255,255,.55); transition: color var(--trans); }
.breadcrumb a:hover { color: rgba(255,255,255,.9); }
.breadcrumb svg { color: rgba(255,255,255,.35); }
.page-hero-title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -1px;
  margin-bottom: 10px;
}
.page-hero-sub { color: rgba(255,255,255,.7); font-size: 1rem; max-width: 520px; }

/* ============================================================
   FILTER PILLS
   ============================================================ */
.filter-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.filter-pill {
  padding: 8px 20px;
  border-radius: 50px;
  font-family: var(--font-head);
  font-size: .82rem;
  font-weight: 600;
  border: 1.5px solid var(--border);
  background: var(--surface);
  color: var(--muted);
  cursor: pointer;
  transition: all var(--trans);
}
.filter-pill:hover { border-color: var(--br); color: var(--br); }
.filter-pill.active { background: var(--br); color: var(--white); border-color: var(--br); }
.filter-count {
  font-size: .75rem;
  color: var(--muted);
  font-family: var(--font-head);
  margin-left: auto;
}
@media (max-width: 640px) {
  .filter-bar { gap: 6px; }
  .filter-pill { padding: 7px 14px; font-size: .78rem; }
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-channels {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 64px;
}
.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  text-align: center;
  transition: box-shadow var(--trans), transform var(--trans);
}
.contact-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.contact-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cc-teal   { background: rgba(0,90,117,.1); color: var(--br); }
.cc-green  { background: rgba(37,211,102,.1); color: var(--green-dark); }
.cc-coral  { background: rgba(168,213,186,.2); color: var(--sa); }
.cc-mint   { background: rgba(0,191,165,.1); color: var(--accent); }
.contact-card-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .95rem;
  color: var(--text);
  margin-bottom: 6px;
}
.contact-card-sub { font-size: .85rem; color: var(--muted); line-height: 1.5; margin-bottom: 16px; }
.contact-card a.cc-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-head);
  font-size: .82rem;
  font-weight: 700;
  color: var(--br);
  transition: gap var(--trans);
}
.contact-card a.cc-link:hover { gap: 9px; }
.contact-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: start;
}
.contact-form-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 36px;
}
.contact-form-title {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 24px;
}
.form-group { margin-bottom: 16px; }
.form-label {
  display: block;
  font-family: var(--font-head);
  font-size: .8rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  font-family: var(--font-body);
  font-size: .9rem;
  color: var(--text);
  background: var(--cream);
  transition: border-color var(--trans), box-shadow var(--trans);
  outline: none;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--br);
  box-shadow: 0 0 0 3px rgba(0,90,117,.1);
  background: var(--surface);
}
.form-textarea { resize: vertical; min-height: 110px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.btn-submit {
  width: 100%;
  padding: 13px;
  background: var(--sa);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .95rem;
  border: none;
  border-radius: var(--r);
  cursor: pointer;
  transition: all var(--trans);
  margin-top: 8px;
}
.btn-submit:hover { background: var(--br-dark); transform: translateY(-1px); }
.contact-info-wrap {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 20px;
}
.info-card-title {
  font-family: var(--font-head);
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--muted);
  margin-bottom: 12px;
}
.info-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .875rem;
  color: var(--muted);
  margin-bottom: 10px;
}
.info-item:last-child { margin-bottom: 0; }
.info-item svg { color: var(--br); flex-shrink: 0; margin-top: 1px; }
.info-item strong { color: var(--text); display: block; font-size: .82rem; font-family: var(--font-head); font-weight: 700; }

/* FAQ accordion */
.faq-list { display: flex; flex-direction: column; gap: 8px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
}
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  cursor: pointer;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .92rem;
  color: var(--text);
  transition: background var(--trans);
  user-select: none;
}
.faq-q:hover { background: var(--cream); }
.faq-q.open { color: var(--br); }
.faq-icon { flex-shrink: 0; transition: transform var(--trans); }
.faq-q.open .faq-icon { transform: rotate(45deg); }
.faq-a {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.75;
}
.faq-a.open { max-height: 300px; padding: 0 20px 18px; }

@media (max-width: 900px) {
  .contact-channels { grid-template-columns: repeat(2, 1fr); }
  .contact-layout { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .contact-channels { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 24px; }
}

/* ============================================================
   NOSOTROS PAGE
   ============================================================ */
.nosotros-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border-radius: var(--r);
  overflow: hidden;
  margin: 48px 0;
}
.nos-stat {
  background: var(--surface);
  padding: 32px 20px;
  text-align: center;
}
.nos-stat-num {
  font-family: var(--font-head);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--br);
  line-height: 1;
  margin-bottom: 6px;
}
.nos-stat-label { font-size: .85rem; color: var(--muted); }
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.value-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 24px;
  transition: box-shadow var(--trans), transform var(--trans);
}
.value-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.value-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(0,90,117,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--br);
  margin-bottom: 14px;
}
.value-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .95rem;
  color: var(--text);
  margin-bottom: 6px;
}
.value-desc { font-size: .85rem; color: var(--muted); line-height: 1.65; }
.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 64px;
}
.mv-card {
  border-radius: var(--r-lg);
  padding: 36px;
  position: relative;
  overflow: hidden;
}
.mv-card.mision { background: linear-gradient(135deg, var(--br), var(--bm)); color: var(--white); }
.mv-card.vision { background: var(--surface); border: 1px solid var(--border); }
.mv-label {
  font-family: var(--font-head);
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 14px;
}
.mv-card.mision .mv-label { color: rgba(255,255,255,.65); }
.mv-card.vision .mv-label { color: var(--br); }
.mv-title {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 12px;
  line-height: 1.3;
}
.mv-card.mision .mv-title { color: var(--white); }
.mv-card.vision .mv-title { color: var(--text); }
.mv-text { font-size: .9rem; line-height: 1.75; }
.mv-card.mision .mv-text { color: rgba(255,255,255,.75); }
.mv-card.vision .mv-text { color: var(--muted); }
@media (max-width: 768px) {
  .nosotros-stats { grid-template-columns: repeat(2, 1fr); }
  .mv-grid, .values-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   LOGIN PAGE
   ============================================================ */
.login-page {
  min-height: 100vh;
  background: var(--cream);
  display: flex;
  flex-direction: column;
}
.login-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
}
.login-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 44px 40px;
  width: 100%;
  max-width: 420px;
  box-shadow: var(--shadow-md);
}
.login-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
}
.login-logo img { height: 56px; }
.login-title {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text);
  text-align: center;
  margin-bottom: 6px;
}
.login-sub { font-size: .88rem; color: var(--muted); text-align: center; margin-bottom: 28px; }
.login-divider {
  text-align: center;
  font-size: .8rem;
  color: var(--muted);
  margin: 18px 0;
  position: relative;
}
.login-divider::before, .login-divider::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 42%;
  height: 1px;
  background: var(--border);
}
.login-divider::before { left: 0; }
.login-divider::after { right: 0; }
.login-links {
  display: flex;
  justify-content: space-between;
  margin-top: 18px;
  font-size: .82rem;
}
.login-links a { color: var(--br); font-weight: 600; font-family: var(--font-head); }
.login-register {
  text-align: center;
  margin-top: 24px;
  font-size: .88rem;
  color: var(--muted);
}
.login-register a { color: var(--br); font-weight: 700; font-family: var(--font-head); }
.footer-minimal {
  padding: 16px 24px;
  text-align: center;
  font-size: .78rem;
  color: rgba(255,255,255,.4);
  background: var(--dark);
}
.footer-minimal a { color: rgba(255,255,255,.4); margin: 0 10px; }
.footer-minimal a:hover { color: rgba(255,255,255,.7); }
@media (max-width: 480px) {
  .login-card { padding: 32px 24px; }
}

/* ============================================================
   PORTAL PAGE
   ============================================================ */
.portal-header {
  background: linear-gradient(135deg, var(--br-darkest), var(--br));
  padding: 48px 0;
}
.portal-header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.portal-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  border: 2px solid rgba(255,255,255,.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--white);
  flex-shrink: 0;
}
.portal-greeting { font-family: var(--font-head); font-size: 1.2rem; font-weight: 800; color: var(--white); }
.portal-email { font-size: .85rem; color: rgba(255,255,255,.6); margin-top: 2px; }
.portal-tabs-bar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 68px;
  z-index: 10;
}
.portal-tabs-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  gap: 0;
}
.ptab {
  padding: 14px 20px;
  font-family: var(--font-head);
  font-size: .88rem;
  font-weight: 600;
  color: var(--muted);
  border: none;
  background: none;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all var(--trans);
}
.ptab:hover { color: var(--br); }
.ptab.active { color: var(--br); border-bottom-color: var(--br); }
.portal-content { max-width: 1280px; margin: 0 auto; padding: 40px 24px; }
.portal-panel { display: none; }
.portal-panel.active { display: block; }
.orders-empty {
  text-align: center;
  padding: 80px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
}
.orders-empty svg { color: var(--border); margin: 0 auto 16px; }
.orders-empty h3 { margin-bottom: 8px; }
.profile-form { max-width: 600px; }

/* ============================================================
   CART PAGE
   ============================================================ */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 24px;
  align-items: start;
}
.cart-items-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.cart-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
}
.cart-item {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
}
.cart-item:last-child { border-bottom: none; }
.cart-item-img {
  width: 80px;
  height: 80px;
  border-radius: 10px;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cart-item-name {
  font-family: var(--font-head);
  font-size: .9rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}
.cart-item-cat { font-size: .78rem; color: var(--muted); }
.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}
.qty-btn {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--cream);
  color: var(--text);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--trans);
}
.qty-btn:hover { background: var(--br); color: var(--white); border-color: var(--br); }
.qty-num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .9rem;
  min-width: 24px;
  text-align: center;
}
.cart-item-price {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 800;
  color: var(--text);
  white-space: nowrap;
}
.cart-item-remove {
  display: block;
  font-size: .75rem;
  color: var(--muted);
  cursor: pointer;
  text-align: right;
  margin-top: 4px;
  font-family: var(--font-head);
  transition: color var(--trans);
}
.cart-item-remove:hover { color: var(--sa); }
.cart-empty {
  padding: 80px 40px;
  text-align: center;
  color: var(--muted);
}
.cart-empty svg { margin: 0 auto 16px; color: var(--border); }
.order-summary {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px;
  position: sticky;
  top: 88px;
}
.summary-title {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: .88rem;
  color: var(--muted);
  margin-bottom: 10px;
}
.summary-row.total {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text);
  padding-top: 14px;
  border-top: 1px solid var(--border);
  margin-top: 4px;
}
.summary-row.total span:last-child { color: var(--sa); }
.btn-checkout {
  width: 100%;
  padding: 14px;
  background: var(--sa);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  border: none;
  border-radius: var(--r);
  cursor: pointer;
  transition: all var(--trans);
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn-checkout:hover { background: var(--br-dark); transform: translateY(-1px); }
.summary-note { font-size: .78rem; color: var(--muted); text-align: center; margin-top: 12px; }
.wa-order-btn {
  width: 100%;
  padding: 12px;
  background: var(--wa-green);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .88rem;
  border: none;
  border-radius: var(--r);
  cursor: pointer;
  transition: all var(--trans);
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.wa-order-btn:hover { background: var(--green-dark); }
@media (max-width: 768px) {
  .cart-layout { grid-template-columns: 1fr; }
  .order-summary { position: static; }
}
@media (max-width: 480px) {
  .cart-item { grid-template-columns: 64px 1fr; }
  .cart-item-img { width: 64px; height: 64px; }
}

/* ============================================================
   RECLAMACIONES PAGE
   ============================================================ */
.reclamo-intro {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--br);
  border-radius: var(--r);
  padding: 20px 24px;
  margin-bottom: 32px;
}
.reclamo-intro p { color: var(--muted); font-size: .9rem; line-height: 1.75; }
.reclamo-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 36px;
  max-width: 760px;
  margin: 0 auto;
}
.reclamo-section {
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}
.reclamo-section:last-child { border-bottom: none; margin-bottom: 0; }
.reclamo-section-title {
  font-family: var(--font-head);
  font-size: .82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--muted);
  margin-bottom: 16px;
}

/* ============================================================
   LOGIN PAGE — ADDITIONAL
   ============================================================ */
.login-body { background: var(--cream); }
.login-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 16px;
}
.login-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 44px 40px;
  width: 100%;
  max-width: 420px;
  box-shadow: var(--shadow-md);
}
.login-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
}
.login-title {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text);
  text-align: center;
  margin-bottom: 6px;
}
.login-sub { font-size: .88rem; color: var(--muted); text-align: center; margin-bottom: 28px; }
.pw-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  padding: 4px;
  margin-top: 12px;
}
.login-forgot {
  font-size: .8rem;
  color: var(--br);
  font-family: var(--font-head);
  font-weight: 600;
}
.login-or {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0;
  color: var(--muted);
  font-size: .8rem;
}
.login-or::before, .login-or::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}
.btn-google-login {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--white);
  color: var(--google-text);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .9rem;
  padding: 13px;
  border-radius: var(--r);
  border: 1.5px solid var(--google-border);
  cursor: pointer;
  text-decoration: none;
  transition: all var(--trans);
  margin-bottom: 10px;
}
.btn-google-login:hover { background: var(--google-hover-bg); border-color: var(--google-hover-border); box-shadow: 0 2px 8px rgba(0,0,0,.1); }
.btn-wa-login {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--wa-green);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .9rem;
  padding: 13px;
  border-radius: var(--r);
  border: none;
  cursor: pointer;
  transition: all var(--trans);
}
.btn-wa-login:hover { background: var(--green-dark); color: var(--white); }
.login-register { text-align: center; margin-top: 20px; font-size: .88rem; color: var(--muted); }
.login-register a { color: var(--br); font-weight: 700; }
.form-error {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .82rem;
  color: var(--sa);
  margin-bottom: 8px;
}
.footer-minimal {
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: .78rem;
  color: rgba(255,255,255,.4);
  background: var(--dark);
  flex-wrap: wrap;
}
.footer-minimal img { filter: brightness(0) invert(1); opacity: .5; }
.footer-minimal a { color: rgba(255,255,255,.4); }
.footer-minimal a:hover { color: rgba(255,255,255,.7); }

/* ============================================================
   PORTAL PAGE — ADDITIONAL
   ============================================================ */
.portal-user-info { flex: 1; }
.portal-user-name {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--white);
}
.portal-user-email { font-size: .85rem; color: rgba(255,255,255,.6); margin-top: 2px; }
.portal-logout {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.7);
  border: 1px solid rgba(255,255,255,.18);
  font-family: var(--font-head);
  font-size: .82rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 50px;
  cursor: pointer;
  transition: all var(--trans);
  margin-left: auto;
}
.portal-logout:hover { background: rgba(255,255,255,.18); color: var(--white); }
.ptab { display: flex; align-items: center; gap: 7px; }
.portal-panel-title {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 20px;
}
.orders-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 80px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
}
.orders-empty-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 6px;
}
.orders-empty-sub { font-size: .88rem; color: var(--muted); }
.orders-list {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.order-row {
  display: grid;
  grid-template-columns: 140px 1fr 120px 130px 100px 40px;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  font-size: .88rem;
  transition: background var(--trans);
}
.order-row:last-child { border-bottom: none; }
.order-row:hover { background: var(--cream); }
.order-row-num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .82rem;
  color: var(--br);
}
.order-row-product { color: var(--text); font-weight: 500; }
.order-row-date { color: var(--muted); font-size: .82rem; }
.order-row-total { font-family: var(--font-head); font-weight: 700; color: var(--text); }
.order-row-detail {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--cream);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  cursor: pointer;
  transition: all var(--trans);
}
.order-row-detail:hover { background: var(--br); color: var(--white); border-color: var(--br); }
.badge-status {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 50px;
  font-family: var(--font-head);
  font-size: .72rem;
  font-weight: 700;
}
.status-delivered { background: rgba(0,191,165,.1); color: var(--accent); }
.status-transit { background: rgba(0,122,154,.12); color: var(--bm); }
.status-pending { background: rgba(168,213,186,.2); color: var(--sa); }
.address-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.address-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 22px;
  position: relative;
}
.default-address { border-color: var(--br); }
.address-card-tag {
  font-family: var(--font-head);
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--br);
  margin-bottom: 10px;
}
.address-card-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .92rem;
  color: var(--text);
  margin-bottom: 6px;
}
.address-card-detail { font-size: .85rem; color: var(--muted); line-height: 1.65; }
.address-card-actions { margin-top: 16px; display: flex; gap: 8px; }
.addr-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: .8rem;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--br);
  background: rgba(0,90,117,.07);
  border: none;
  border-radius: 8px;
  padding: 6px 12px;
  cursor: pointer;
  transition: all var(--trans);
}
.addr-btn:hover { background: rgba(0,90,117,.14); }
.address-add-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 2px dashed var(--border);
  border-radius: var(--r);
  padding: 32px;
  cursor: pointer;
  background: none;
  color: var(--muted);
  font-family: var(--font-head);
  font-size: .88rem;
  font-weight: 600;
  transition: all var(--trans);
  min-height: 140px;
}
.address-add-btn:hover { border-color: var(--br); color: var(--br); }
@media (max-width: 768px) {
  .order-row { grid-template-columns: 1fr auto; gap: 8px; }
  .order-row-num, .order-row-date, .order-row-status { display: none; }
  .address-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   CART PAGE — ADDITIONAL
   ============================================================ */
.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
}
.cart-empty-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
  margin: 16px 0 6px;
}
.cart-empty-sub { font-size: .88rem; color: var(--muted); }
.cart-items-col {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.cart-items-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}
.cart-items-count {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .88rem;
  color: var(--text);
}
.cart-clear-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: .8rem;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--muted);
  background: none;
  border: none;
  cursor: pointer;
  transition: color var(--trans);
}
.cart-clear-btn:hover { color: var(--sa); }
.cart-item {
  display: grid;
  grid-template-columns: 68px 1fr auto auto auto;
  gap: 14px;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}
.cart-item:last-child { border-bottom: none; }
.cart-item-img {
  width: 68px;
  height: 68px;
  border-radius: 10px;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cart-item-info { min-width: 0; }
.cart-item-name {
  font-family: var(--font-head);
  font-size: .88rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cart-item-price { font-size: .82rem; color: var(--muted); }
.cart-item-qty { display: flex; align-items: center; gap: 8px; }
.qty-val {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .9rem;
  min-width: 22px;
  text-align: center;
}
.cart-item-subtotal {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: .95rem;
  color: var(--text);
  white-space: nowrap;
}
.cart-item-remove {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: none;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--trans);
  flex-shrink: 0;
}
.cart-item-remove:hover { background: rgba(168,213,186,.2); border-color: var(--sa); color: var(--sa); }
.order-summary-title {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.order-summary-line {
  display: flex;
  justify-content: space-between;
  font-size: .88rem;
  color: var(--muted);
  margin-bottom: 10px;
}
.order-summary-total {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text);
  padding-top: 12px;
  border-top: 1px solid var(--border);
  margin-top: 4px;
}
.order-summary-total span:last-child { color: var(--sa); }
.order-summary-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 12px 0;
  color: var(--muted);
  font-size: .8rem;
}
.order-summary-divider::before, .order-summary-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}
.coupon-row { display: flex; gap: 8px; margin: 14px 0; }
.coupon-btn {
  flex-shrink: 0;
  padding: 0 14px;
  background: var(--br);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .8rem;
  border: none;
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: background var(--trans);
}
.coupon-btn:hover { background: var(--bm); }
.order-trust { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  color: var(--muted);
}
@media (max-width: 768px) {
  .cart-layout { grid-template-columns: 1fr; }
  .order-summary { position: static; }
}
@media (max-width: 520px) {
  .cart-item { grid-template-columns: 56px 1fr; }
  .cart-item-qty, .cart-item-subtotal { display: none; }
}

/* ============================================================
   RECLAMACIONES PAGE — ADDITIONAL
   ============================================================ */
.reclamo-legal-notice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(0,90,117,.05);
  border: 1px solid rgba(0,90,117,.15);
  border-left: 4px solid var(--br);
  border-radius: var(--r);
  padding: 18px 22px;
  margin-bottom: 36px;
  font-size: .88rem;
  color: var(--muted);
  line-height: 1.7;
}
.reclamo-legal-notice svg { flex-shrink: 0; margin-top: 1px; }
.reclamo-section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 28px;
  margin-bottom: 20px;
}
.reclamo-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: .88rem;
  font-weight: 700;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-bottom: 20px;
}
.reclamo-section-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--br);
  color: var(--white);
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.reclamo-empresa-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.reclamo-empresa-item { display: flex; flex-direction: column; gap: 3px; }
.re-label { font-family: var(--font-head); font-size: .72rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.re-val { font-size: .88rem; color: var(--text); }
.reclamo-tipo-group { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.reclamo-tipo-option { cursor: pointer; }
.reclamo-tipo-option input[type="radio"] { display: none; }
.reclamo-tipo-card {
  border: 2px solid var(--border);
  border-radius: var(--r);
  padding: 20px;
  text-align: center;
  transition: all var(--trans);
  background: var(--surface);
}
.reclamo-tipo-option input[type="radio"]:checked + .reclamo-tipo-card {
  border-color: var(--br);
  background: rgba(0,90,117,.05);
}
.reclamo-tipo-card svg { margin: 0 auto 10px; }
.reclamo-tipo-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .9rem;
  color: var(--text);
  margin-bottom: 5px;
}
.reclamo-tipo-desc { font-size: .8rem; color: var(--muted); }
.reclamo-declaracion {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 20px;
  margin-bottom: 20px;
}
.reclamo-check-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: .88rem;
  color: var(--muted);
  line-height: 1.65;
}
.reclamo-check-label input[type="checkbox"] { flex-shrink: 0; margin-top: 2px; width: 16px; height: 16px; accent-color: var(--br); }
@media (max-width: 640px) {
  .reclamo-empresa-grid { grid-template-columns: 1fr; }
  .reclamo-tipo-group { grid-template-columns: 1fr; }
}

/* ============================================================
   NAV DROPDOWN (shared)
   ============================================================ */
.nav-dropdown { position: relative; }
.nav-dd-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  font-size: .9rem;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--text);
  padding: 6px 0;
  transition: color var(--trans);
}
.nav-dd-toggle:hover { color: var(--br); }
.nav-dd-arrow { transition: transform var(--trans); }
.nav-dropdown:hover .nav-dd-arrow { transform: rotate(180deg); }
.nav-dd-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  box-shadow: var(--shadow-lg);
  min-width: 220px;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s, transform .2s;
  transform-origin: top center;
  z-index: 1000;
}
.nav-dropdown:hover .nav-dd-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-dd-menu a {
  display: block;
  padding: 9px 18px;
  font-size: .88rem;
  color: var(--text);
  font-family: var(--font-head);
  font-weight: 500;
  transition: background var(--trans), color var(--trans);
}
.nav-dd-menu a:hover { background: var(--cream); color: var(--br); }

/* Mobile nav extras */
.mobile-cat-label {
  font-family: var(--font-head);
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(255,255,255,.4);
  padding: 12px 0 4px;
  border-top: 1px solid rgba(255,255,255,.1);
  margin-top: 4px;
}
.mobile-cat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}
.mobile-cat-grid a {
  font-size: .82rem !important;
  padding: 7px 10px;
  border-radius: 8px;
  background: rgba(255,255,255,.05);
}

/* Section alt bg */
.section-alt { background: var(--cream); }

/* cc-link for span (non-anchor) */
.cc-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-head);
  font-size: .82rem;
  font-weight: 700;
  color: var(--br);
  transition: gap var(--trans);
  cursor: default;
}


/* ============================================================
   MODERN EFFECTS — cursor glow · blobs · live badge · WA float
   ============================================================ */

/* ── CURSOR AMBIENT GLOW ─────────────────────────────────────── */
#cursor-glow {
  position: fixed;
  top: 0; left: 0;
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(43,181,181,.052) 0%, transparent 68%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9990;
  will-change: transform;
  mix-blend-mode: screen;
  transition: background .3s ease;
}
#cursor-glow.glow-active {
  background: radial-gradient(circle, rgba(43,181,181,.09) 0%, transparent 65%);
}

/* ── HERO DOT GRID OVERLAY ───────────────────────────────────── */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.052) 1px, transparent 1px);
  background-size: 34px 34px;
  pointer-events: none;
  z-index: 0;
}

/* ── ANIMATED BLOBS ──────────────────────────────────────────── */
.hero-blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  will-change: transform;
  filter: blur(70px);
  z-index: 0;
}
.hero-blob-1 {
  width: 540px; height: 540px;
  background: rgba(43,181,181,.09);
  top: -140px; right: -80px;
  animation: blob1 10s ease-in-out infinite;
}
.hero-blob-2 {
  width: 400px; height: 400px;
  background: rgba(0,74,98,.15);
  bottom: -100px; left: 22%;
  animation: blob2 13s ease-in-out infinite;
}
@keyframes blob1 {
  0%,100% { transform: translate(0,0) scale(1); }
  40%     { transform: translate(-48px,28px) scale(1.07); }
  70%     { transform: translate(24px,-28px) scale(0.93); }
}
@keyframes blob2 {
  0%,100% { transform: translate(0,0) scale(1); }
  35%     { transform: translate(32px,-28px) scale(1.06); }
  68%     { transform: translate(-22px,16px) scale(0.95); }
}

/* ── LIVE AVAILABILITY BADGE ─────────────────────────────────── */
.hero-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 50px;
  padding: 5px 14px 5px 10px;
  font-size: .73rem;
  color: rgba(255,255,255,.86);
  font-weight: 600;
  letter-spacing: .03em;
  margin-bottom: 14px;
  width: fit-content;
}
.live-dot {
  width: 8px; height: 8px;
  background: var(--success-green);
  border-radius: 50%;
  flex-shrink: 0;
  animation: live-pulse 2.4s ease-in-out infinite;
}
@keyframes live-pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(74,222,128,.55); }
  55%     { box-shadow: 0 0 0 7px rgba(74,222,128,0); }
}

/* ── FLOATING WHATSAPP BUTTON ────────────────────────────────── */
#wa-float {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 58px; height: 58px;
  background: var(--wa-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.42);
  z-index: 8000;
  text-decoration: none;
  opacity: 0;
  transform: scale(0.6) translateY(20px);
  transition: opacity .4s ease, transform .4s cubic-bezier(.23,1,.32,1), box-shadow .25s ease;
}
#wa-float.wa-visible {
  opacity: 1;
  transform: scale(1) translateY(0);
}
#wa-float:hover {
  transform: scale(1.1) translateY(0) !important;
  box-shadow: 0 8px 32px rgba(37,211,102,.55);
}
.wa-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(37,211,102,.6);
  animation: wa-ring 2.8s ease-out infinite;
}
.wa-ring-2 { animation-delay: 1.4s; }
@keyframes wa-ring {
  0%   { transform: scale(1);    opacity: 1; }
  100% { transform: scale(1.88); opacity: 0; }
}

/* ── STAGGER REVEAL (children of grid/strip) ─────────────────── */
.reveal-child {
  animation: fadeUp .55s ease both;
}

/* ── SPIN keyframe for loading state ─────────────────────────── */
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ============================================================
   CATEGORY BANNER
   ============================================================ */
.cat-banner {
  background: linear-gradient(135deg, var(--br) 0%, var(--bm) 100%);
  color: var(--white);
  padding: 28px 0;
  border-bottom: 3px solid var(--bright);
  animation: fadeUp .35s ease;
}
.cat-banner-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 22px;
}
.cat-banner-icon {
  width: 62px;
  height: 62px;
  background: rgba(255,255,255,.15);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  backdrop-filter: blur(6px);
}
.cat-banner-text { flex: 1; }
.cat-banner-title {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 4px;
  letter-spacing: -.3px;
}
.cat-banner-sub {
  font-size: .88rem;
  opacity: .82;
  line-height: 1.5;
}
.cat-banner-count {
  background: rgba(255,255,255,.18);
  border-radius: 50px;
  padding: 6px 16px;
  font-family: var(--font-head);
  font-size: .82rem;
  font-weight: 700;
  white-space: nowrap;
  backdrop-filter: blur(6px);
}
@media(max-width:640px) {
  .cat-banner-inner { gap: 14px; }
  .cat-banner-icon { width: 48px; height: 48px; border-radius: 14px; }
  .cat-banner-title { font-size: 1.1rem; }
  .cat-banner-count { display: none; }
}

/* ============================================================
   FREE SHIPPING BANNER
   ============================================================ */
.free-shipping-bar {
  background: linear-gradient(90deg, rgba(0,90,117,.07) 0%, rgba(43,181,181,.09) 100%);
  border: 1px solid rgba(43,181,181,.3);
  border-radius: var(--r);
  padding: 10px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .84rem;
  font-family: var(--font-head);
  color: var(--br);
  font-weight: 600;
  margin-bottom: 20px;
}
.free-shipping-bar svg { flex-shrink: 0; }

/* ============================================================
   SHIPPING CALCULATOR (carrito)
   ============================================================ */
.shipping-section {
  margin: 14px 0 10px;
  padding: 14px 16px;
  background: var(--cream);
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
}
.shipping-section-title {
  font-family: var(--font-head);
  font-size: .8rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 10px;
}
.shipping-region-row {
  display: flex;
  gap: 8px;
  align-items: center;
}
.shipping-select {
  flex: 1;
  padding: 8px 12px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  font-family: var(--font-body);
  font-size: .84rem;
  color: var(--text);
  background: var(--surface);
  cursor: pointer;
  transition: border-color var(--trans);
}
.shipping-select:focus { outline: none; border-color: var(--br); }
.shipping-result {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .88rem;
  color: var(--br);
  white-space: nowrap;
}
.shipping-result.free-ship {
  color: var(--success-text);
  display: flex;
  align-items: center;
  gap: 5px;
}
.shipping-note {
  font-size: .76rem;
  color: var(--muted);
  margin-top: 8px;
  line-height: 1.4;
}
.shipping-free-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(22,163,74,.1);
  color: var(--success-text);
  border-radius: 20px;
  padding: 4px 12px;
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 700;
  border: 1px solid rgba(22,163,74,.25);
}

/* ── STORE SECTION (tienda) ──────────────────────────────────── */
.store-section { padding: 28px 0 80px; }

/* Layout: sidebar + main */
.store-layout {
  display: grid;
  grid-template-columns: 262px 1fr;
  gap: 28px;
  align-items: start;
}
.store-layout > * { min-width: 0; }

/* ── SIDEBAR ─────────────────────────────────────────────────── */
.store-sidebar {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  position: sticky;
  top: 84px;
  max-height: calc(100vh - 104px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}
.sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px 14px;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .9rem;
  color: var(--text);
}
.sidebar-close {
  display: none;
  padding: 4px;
  color: var(--muted);
  transition: color var(--trans);
}
.sidebar-close:hover { color: var(--br); }
.sidebar-section {
  padding: 18px 18px 16px;
  border-bottom: 1px solid var(--border);
}
.sidebar-section:last-child { border-bottom: none; }
.sidebar-title {
  font-family: var(--font-head);
  font-size: .68rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .9px;
  margin-bottom: 12px;
}
.sidebar-cats { display: flex; flex-direction: column; gap: 1px; }
.sidebar-cat-item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 10px;
  border-radius: var(--r-sm);
  cursor: pointer;
  font-size: .875rem;
  color: var(--text);
  transition: background var(--trans), color var(--trans);
  user-select: none;
}
.sidebar-cat-item svg { flex-shrink: 0; color: var(--muted); transition: color var(--trans); }
.sidebar-cat-item:hover { background: var(--cream); }
.sidebar-cat-item:hover svg { color: var(--br); }
.sidebar-cat-item.active {
  background: rgba(0,90,117,.09);
  color: var(--br);
  font-weight: 600;
}
.sidebar-cat-item.active svg { color: var(--br); }
.sidebar-cat-item.active .scat-count {
  background: var(--br);
  color: var(--white);
}
.scat-name { flex: 1; }
.scat-count {
  font-size: .7rem;
  font-family: var(--font-head);
  font-weight: 700;
  background: var(--cream);
  color: var(--muted);
  border-radius: 50px;
  padding: 2px 8px;
  min-width: 26px;
  text-align: center;
  transition: background var(--trans), color var(--trans);
}

/* Price range */
.price-inputs { display: flex; gap: 8px; margin-bottom: 10px; }
.price-input {
  flex: 1;
  min-width: 0;
  padding: 8px 10px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  font-size: .84rem;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--surface);
  transition: border-color var(--trans);
}
.price-input:focus { outline: none; border-color: var(--br); }
.price-input::placeholder { color: var(--muted); font-size: .8rem; }
.price-presets { display: flex; flex-direction: column; gap: 5px; margin-top: 8px; }
.price-preset {
  width: 100%;
  padding: 7px 10px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 600;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  text-align: left;
  transition: all var(--trans);
}
.price-preset:hover { border-color: var(--br); color: var(--br); background: rgba(0,90,117,.05); }
.price-preset.active { border-color: var(--br); color: var(--br); background: rgba(0,90,117,.09); font-weight: 700; }

/* Availability */
.sidebar-check {
  display: flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
  padding: 7px 4px;
  font-size: .875rem;
  color: var(--text);
}
.sidebar-check + .sidebar-check { margin-top: 2px; }
.sidebar-check input[type="checkbox"] { accent-color: var(--br); width: 16px; height: 16px; flex-shrink: 0; }

/* Reset button */
.sidebar-reset-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 9px 12px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  font-family: var(--font-head);
  font-size: .8rem;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: all var(--trans);
}
.sidebar-reset-btn:hover { border-color: var(--br); color: var(--br); }

/* ── STORE MAIN ──────────────────────────────────────────────── */
.store-main { min-width: 0; }
.store-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.store-search {
  flex: 1;
  min-width: 160px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--r);
  padding: 9px 14px;
  transition: border-color var(--trans), box-shadow var(--trans);
}
.store-search:focus-within {
  border-color: var(--br);
  box-shadow: 0 0 0 3px rgba(0,90,117,.08);
}
.store-search input {
  flex: 1;
  border: none;
  outline: none;
  background: none;
  font-size: .9rem;
  font-family: var(--font-body);
  color: var(--text);
  min-width: 0;
}
.store-search input::placeholder { color: var(--muted); }
.store-toolbar-right { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.store-count { font-size: .82rem; color: var(--muted); white-space: nowrap; }
.store-sort {
  padding: 8px 12px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  font-family: var(--font-body);
  font-size: .84rem;
  color: var(--text);
  background: var(--surface);
  cursor: pointer;
  transition: border-color var(--trans);
  appearance: auto;
}
.store-sort:focus { outline: none; border-color: var(--br); }

/* Mobile sidebar toggle */
.sidebar-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--r);
  font-family: var(--font-head);
  font-size: .86rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 14px;
  transition: border-color var(--trans);
}
.sidebar-toggle:hover { border-color: var(--br); color: var(--br); }
.sidebar-toggle { position: relative; }
.filter-active-dot {
  width: 8px; height: 8px;
  background: var(--bright);
  border-radius: 50%;
  position: absolute;
  top: 7px; right: 10px;
  pointer-events: none;
}
.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 68px 0 0;
  background: rgba(5,20,28,.45);
  z-index: 499;
  opacity: 0;
  transition: opacity .3s ease;
}
.sidebar-overlay.show { opacity: 1; }

/* ── PRODUCT CARD (tienda-specific overrides) ────────────────── */
.pcard-cat {
  font-size: .7rem;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .6px;
  margin-bottom: 4px;
}
.pcard-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 10px;
  transition: transform .38s ease;
}
.pcard:hover .pcard-img img { transform: scale(1.07); }

/* Perks badges */
.pcard-perks { display: flex; gap: 5px; flex-wrap: wrap; margin-bottom: 10px; }
.perk-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(22,163,74,.1);
  color: var(--success-text);
  border-radius: 50px;
  padding: 3px 9px;
  font-size: .7rem;
  font-family: var(--font-head);
  font-weight: 700;
}
.perk-tag svg { flex-shrink: 0; }

/* Loading spinner */
.products-loading {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 72px 0;
  color: var(--muted);
  gap: 14px;
  font-size: .9rem;
}
@keyframes spin { to { transform: rotate(360deg); } }
.loading-spinner {
  width: 36px; height: 36px;
  border: 3px solid var(--border);
  border-top-color: var(--br);
  border-radius: 50%;
  animation: spin .75s linear infinite;
}

/* No results */
.no-results {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 64px 0;
  color: var(--muted);
  gap: 10px;
  font-size: .92rem;
  text-align: center;
}

/* ── FREE SHIPPING BAR (tienda) ──────────────────────────────── */
.free-shipping-bar {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 16px;
  background: rgba(0,90,117,.07);
  border: 1px solid rgba(0,90,117,.15);
  border-radius: var(--r);
  font-size: .88rem;
  color: var(--br);
  margin-bottom: 20px;
}
.free-shipping-bar svg { flex-shrink: 0; }
.free-shipping-bar strong { color: var(--br-dark); }

/* ── RELATED PRODUCTS ────────────────────────────────────────── */
.related-section { margin-top: 52px; padding-top: 36px; border-top: 1px solid var(--border); }
.related-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}
.related-title {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
}
.related-see-all {
  font-family: var(--font-head);
  font-size: .8rem;
  font-weight: 600;
  color: var(--br);
  padding: 5px 14px;
  border: 1.5px solid var(--br);
  border-radius: 50px;
  cursor: pointer;
  transition: all var(--trans);
  white-space: nowrap;
}
.related-see-all:hover { background: var(--br); color: var(--white); }
.related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 1100px) { .related-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px)  { .related-grid { grid-template-columns: repeat(2, 1fr); } }

/* ── RESPONSIVE: SIDEBAR MOBILE ──────────────────────────────── */
@media (max-width: 900px) {
  .store-layout { grid-template-columns: 1fr; }
  .sidebar-toggle { display: flex; }
  .sidebar-overlay { display: block; }
  .store-sidebar {
    position: fixed;
    top: 68px; left: 0; bottom: 0;
    width: min(285px, 82vw);
    z-index: 500;
    transform: translateX(-100%);
    transition: transform .3s cubic-bezier(.23,1,.32,1);
    border-radius: 0 12px 0 0;
    overflow-y: auto;
  }
  .store-sidebar.open { transform: translateX(0); }
  .sidebar-close { display: flex; }
}
@media (max-width: 640px) {
  .store-toolbar { flex-direction: column; align-items: stretch; }
  .store-toolbar-right { justify-content: space-between; }
  .store-search { min-width: 0; }
}

/* ============================================================
   WHATSAPP FLOATING WIDGET (replicates Joinchat behavior)
   ============================================================ */
#wa-float {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

/* ── Floating button ────────────────────────────────────────── */
.wa-float-btn {
  position: relative;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--wa-green);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: 0 4px 20px rgba(37,211,102,.45);
  transition: transform .22s ease, box-shadow .22s ease;
}
.wa-float-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(37,211,102,.6);
}
.wa-float-btn:active { transform: scale(.96); }

.wa-float-badge {
  position: absolute;
  top: -4px; right: -4px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--bright);
  color: var(--white);
  font-size: .65rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--cream);
  animation: wa-pulse 2s infinite;
}
@keyframes wa-pulse {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.2); }
}

/* ── Chat bubble card ───────────────────────────────────────── */
.wa-bubble {
  background: var(--surface);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  width: 290px;
  overflow: hidden;
  opacity: 0;
  transform: translateY(12px) scale(.95);
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}
.wa-bubble.wa-bubble--open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.wa-bubble-close {
  position: absolute;
  top: 10px; right: 12px;
  background: rgba(255,255,255,.25);
  border: none;
  color: var(--white);
  cursor: pointer;
  width: 24px; height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: background .18s ease;
}
.wa-bubble-close:hover { background: rgba(255,255,255,.4); }

.wa-bubble-head {
  background: var(--wa-darkest);
  padding: 16px 40px 16px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
}
.wa-bubble-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--wa-green);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  flex-shrink: 0;
}
.wa-bubble-name { color: var(--white); font-weight: 700; font-size: .93rem; }
.wa-bubble-status {
  color: rgba(255,255,255,.8);
  font-size: .72rem;
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 2px;
}
.wa-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--wa-green);
  display: inline-block;
}

.wa-bubble-msg {
  background: var(--neutral);
  margin: 16px 14px 4px 14px;
  padding: 10px 14px;
  border-radius: 0 12px 12px 12px;
  font-size: .85rem;
  line-height: 1.5;
  color: var(--text);
  position: relative;
}
.wa-bubble-msg::before {
  content: '';
  position: absolute;
  top: 0; left: -6px;
  border-width: 0 0 8px 8px;
  border-style: solid;
  border-color: transparent transparent var(--neutral) transparent;
}

.wa-bubble-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--wa-green);
  color: var(--white);
  margin: 14px 14px 14px 14px;
  padding: 11px 20px;
  border-radius: var(--r-sm);
  font-size: .88rem;
  font-weight: 600;
  text-decoration: none;
  transition: background .18s ease, transform .15s ease;
}
.wa-bubble-cta:hover { background: var(--wa-hover); transform: translateY(-1px); }
.wa-bubble-cta:active { transform: translateY(0); }

@media (max-width: 480px) {
  #wa-float { bottom: 16px; right: 14px; }
  .wa-bubble { width: calc(100vw - 28px); max-width: 290px; }
  .wa-float-btn { width: 52px; height: 52px; }
}
