:root{
  --bg:#ffffff;
  --panel:#ffffff;
  --text:#121212;
  --muted:rgba(18,18,18,.64);
  --beige:#f4ede3;
  --cafe:#4a2c1a;
  --gold:#c9a227;
  --gold2:#a8861a;
  --border:rgba(18,18,18,.12);
  --shadow:0 10px 26px rgba(18,18,18,.10);
  --radius:18px;

  /* Footer / redes */
  /* Fallback: casi negro */
  --footer-bg:var(--text);
  --footer-panel:rgba(255,255,255,.04);
  --footer-text:rgba(255,255,255,.86);
  --footer-muted:rgba(255,255,255,.62);
  --footer-border:rgba(255,255,255,.10);
  --gold-soft:rgba(201,162,39,.18);

  --wa:#25D366;
  --fb:#1877F2;
  --ig1:#f58529;
  --ig2:#dd2a7b;
  --ig3:#8134af;
}

/* Footer ligeramente hacia café (casi negro) usando tokens existentes */
@supports (color: color-mix(in srgb, black, white)) {
  :root{
    --footer-bg: color-mix(in srgb, var(--text) 82%, var(--cafe) 18%);
  }
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Arial,"Noto Sans","Liberation Sans",sans-serif;
  color:var(--text);
  background:var(--bg);
  min-height:100vh;
  display:flex;
  flex-direction:column;
  padding-top: var(--header-h, 72px);
}

a{color:inherit; text-decoration:none}

.muted{color:var(--muted)}
.small{font-size:13px}
.strong{font-weight:800}

.container{max-width:1120px; margin:0 auto; padding:0 18px}

.site-header{
  position:fixed;
  top:0;
  left:0;
  right:0;
  z-index:30;
  background:rgba(255,255,255,.92);
  border-bottom:1px solid var(--border);
  transform:translateY(0);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  will-change: transform;
}

.site-header[data-hidden="1"]{
  transform: translateY(calc(-1 * var(--header-h, 72px)));
  box-shadow:none;
}

.site-header[data-hidden="0"]{
  box-shadow: 0 10px 24px rgba(18,18,18,.06);
}

.header-row{display:flex; align-items:center; justify-content:space-between; gap:16px; padding:14px 0}

.brand{display:flex; align-items:center; gap:12px}
.brand-logo{width:44px; height:44px; border-radius:12px; background:var(--beige); border:1px solid var(--border); object-fit:cover}
.brand-name{font-weight:700; letter-spacing:.5px}
.brand-tag{font-size:12px; color:var(--muted)}

.nav{display:flex; align-items:center; gap:14px}
.nav-link{
  padding:10px 12px;
  border:1px solid transparent;
  border-radius:12px;
  color:var(--muted);
  transition:all .15s ease;
  background:transparent;
  font:inherit;
  cursor:pointer;
}
.nav-link:hover{border-color:var(--border); color:var(--text); background:rgba(244,237,227,.55)}

.pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:22px;
  height:22px;
  padding:0 8px;
  margin-left:6px;
  border-radius:999px;
  border:1px solid rgba(201,162,39,.45);
  color:var(--cafe);
  background:rgba(201,162,39,.12);
  font-size:12px;
}

.site-main{padding:28px 0 56px; flex:1}

.cart-flyout{
  position:fixed;
  z-index:50;
  top:calc(var(--header-h, 72px) + 8px);
  right:18px;
  width:min(420px, calc(100vw - 36px));
  transform-origin: top right;
  transform: translateY(-6px) scale(.98);
  opacity:0;
  pointer-events:none;
  transition: opacity .16s ease, transform .16s ease;
}

.nav-toggle{
  display:none;
  align-items:center;
  justify-content:center;
  width:42px;
  height:42px;
  border-radius:14px;
  border:1px solid var(--border);
  background:rgba(255,255,255,.70);
  cursor:pointer;
}

.nav-toggle:hover{background:rgba(244,237,227,.55)}

.nav-toggle-bars{
  position:relative;
  width:18px;
  height:12px;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  height:2px;
  border-radius:999px;
  background:rgba(18,18,18,.70);
  transition: transform .16s ease, top .16s ease, bottom .16s ease, opacity .16s ease;
}

.nav-toggle-bars::before{top:2px}
.nav-toggle-bars::after{bottom:2px}

/* Menú abierto: convertir hamburger a X */
.site-header[data-nav-open="1"] .nav-toggle-bars::before{
  top:5px;
  transform: rotate(45deg);
}

.site-header[data-nav-open="1"] .nav-toggle-bars::after{
  bottom:5px;
  transform: rotate(-45deg);
}

.cart-flyout[data-open="1"]{
  opacity:1;
  transform: translateY(0) scale(1);
  pointer-events:auto;
}

.cart-flyout-inner{
  border:1px solid var(--border);
  border-radius:18px;
  background:#ffffff;
  box-shadow:0 18px 40px rgba(18,18,18,.16);
  padding:14px;
}

.cart-flyout-title{font-weight:900; color:var(--cafe); letter-spacing:.2px}

.cart-flyout-list{margin-top:12px; display:flex; flex-direction:column; gap:10px}
.cart-flyout-item{display:flex; align-items:center; gap:10px}
.cart-flyout-thumb{width:44px; height:36px; border-radius:12px; border:1px solid var(--border); background:var(--beige)}
.cart-flyout-thumb{background-size:cover; background-position:center; background-repeat:no-repeat}
.cart-flyout-item-main{flex:1; min-width:0}
.cart-flyout-item-name{font-weight:800; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.cart-flyout-item-sub{margin-top:2px; font-size:12px}
.cart-flyout-item-price{font-weight:650; color:var(--muted); white-space:nowrap; font-size:13px}

.cart-flyout-total{display:flex; align-items:center; justify-content:space-between}
.cart-flyout-actions{display:flex; gap:10px; justify-content:flex-end; margin-top:12px; flex-wrap:wrap}

.fly-item{
  position:fixed;
  z-index:60;
  width:14px;
  height:14px;
  border-radius:999px;
  background:var(--beige);
  border:2px solid rgba(201,162,39,.75);
  box-shadow:0 10px 16px rgba(18,18,18,.14);
}

.fly-card{
  position:fixed;
  z-index:60;
  width:220px;
  height:56px;
  border-radius:16px;
  border:1px solid rgba(18,18,18,.14);
  background:#ffffff;
  box-shadow:0 18px 34px rgba(18,18,18,.16);
  display:flex;
  align-items:center;
  gap:10px;
  padding:10px 12px;
  pointer-events:none;
}

.fly-card-thumb{
  width:40px;
  height:34px;
  border-radius:12px;
  border:1px solid var(--border);
  background:var(--beige);
}

.fly-card-main{flex:1; min-width:0}
.fly-card-name{font-weight:900; color:var(--cafe); font-size:13px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.fly-card-sub{margin-top:2px; font-size:12px; color:rgba(18,18,18,.62)}

@media (max-width: 620px){
  .fly-card{width:190px}
}

@media (max-width: 620px){
  .cart-flyout{left:18px; right:18px; width:auto}
  .cart-flyout-actions{justify-content:stretch}
  .cart-flyout-actions .btn{flex:1}
}

.hero{
  position:relative;
  border:1px solid var(--border);
  border-radius:calc(var(--radius) + 6px);
  overflow:hidden;
  background:var(--beige);
  box-shadow:var(--shadow);
}

.hero-canvas{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  pointer-events:none;
}

.hero-inner{position:relative; z-index:1}

.hero-topline{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:14px;
}

.hero-badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid rgba(201,162,39,.45);
  background:rgba(255,255,255,.70);
  color:var(--cafe);
  font-size:12px;
  font-weight:750;
}

.hero-badge-dot{
  width:8px;
  height:8px;
  border-radius:999px;
  background:var(--gold);
}

.hero-note{
  color:var(--muted);
  font-size:13px;
}

.hero-side{padding:4px 2px}
.hero-side-title{font-weight:850; letter-spacing:.2px; color:var(--cafe)}

.hero-palette{display:flex; gap:10px; margin-top:12px}
.swatch{width:34px; height:34px; border-radius:999px; border:1px solid var(--border); box-shadow:0 8px 16px rgba(18,18,18,.10)}
.swatch-gold{background:var(--gold)}
.swatch-beige{background:var(--beige)}
.swatch-cafe{background:var(--cafe)}
.swatch-black{background:#121212}

.hero-side-sub{margin-top:10px}

.hero-points{display:flex; flex-direction:column; gap:10px}
.hero-point{display:flex; align-items:center; gap:10px; color:rgba(18,18,18,.78)}
.hero-point .dot{width:7px; height:7px; border-radius:999px; background:rgba(201,162,39,.9)}

@media (prefers-reduced-motion: no-preference) {
  .hero-badge-dot{animation: pulseDot 1.6s ease-in-out infinite}
  .hero-card{animation: floatCard 4.2s ease-in-out infinite}
  .hero h1{animation: riseIn .55s ease-out both}
  .hero p{animation: riseIn .7s ease-out both; animation-delay: .06s}
  .hero-cta{animation: riseIn .85s ease-out both; animation-delay: .12s}
}

@keyframes pulseDot{
  0%,100%{transform:scale(1); box-shadow:0 0 0 0 rgba(201,162,39,.28)}
  50%{transform:scale(1.12); box-shadow:0 0 0 8px rgba(201,162,39,0)}
}

@keyframes floatCard{
  0%,100%{transform:translateY(0)}
  50%{transform:translateY(-2px)}
}

@keyframes riseIn{
  from{opacity:0; transform:translateY(8px)}
  to{opacity:1; transform:translateY(0)}
}

.hero-inner{display:grid; grid-template-columns:1.2fr .8fr; gap:24px; padding:34px}

.hero h1{margin:0; font-size:42px; line-height:1.05; letter-spacing:.2px}
.hero p{margin:14px 0 0; color:var(--muted); font-size:16px; line-height:1.6; max-width:58ch}

.hero-cta{display:flex; gap:12px; margin-top:22px; flex-wrap:wrap}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:12px 14px;
  border-radius:14px;
  border:1px solid var(--border);
  font-weight:650;
  letter-spacing:.2px;
  transition:transform .12s ease, background .12s ease, border-color .12s ease;
}
.btn:hover{transform:translateY(-1px)}

.btn-sm{
  padding:9px 12px;
  border-radius:12px;
  font-size:13px;
  font-weight:600;
}

.btn-sm:hover{transform:none}

.btn-secondary.btn-sm{background:rgba(255,255,255,.40); color:var(--muted)}
.btn-secondary.btn-sm:hover{background:rgba(255,255,255,.70); color:var(--text)}

.btn-primary{
  position:relative;
  background:#121212;
  border-color:rgba(201,162,39,.55);
  color:#ffffff;
}

.btn-primary::after{
  content:"";
  position:absolute;
  left:12px;
  right:12px;
  bottom:8px;
  height:2px;
  border-radius:999px;
  background:rgba(201,162,39,.0);
  transition:background .14s ease, transform .14s ease;
  transform:scaleX(.85);
}

.btn-primary:hover{
  box-shadow:0 12px 24px rgba(18,18,18,.14), 0 0 0 3px rgba(201,162,39,.14);
}

.btn-primary:hover::after{
  background:rgba(201,162,39,.9);
  transform:scaleX(1);
}

.btn:focus-visible{
  outline:3px solid rgba(201,162,39,.30);
  outline-offset:2px;
}

.btn-secondary{background:rgba(255,255,255,.70); color:var(--text)}
.btn-secondary:hover{background:rgba(255,255,255,.95)}

.hero-card{
  border-radius:var(--radius);
  border:1px solid var(--border);
  background:rgba(255,255,255,.75);
  padding:18px;
}

.kpis{display:grid; grid-template-columns:1fr 1fr; gap:12px}
.kpi{padding:14px; border:1px solid var(--border); border-radius:16px; background:rgba(255,255,255,.03)}
.kpi .label{font-size:12px; color:var(--muted)}
.kpi{padding:14px; border:1px solid var(--border); border-radius:16px; background:rgba(255,255,255,.85)}
.kpi .value{font-size:18px; margin-top:6px; color:var(--cafe); font-weight:750}

.section{margin-top:26px}
.section-title{display:flex; align-items:flex-end; justify-content:space-between; gap:16px; margin:0 0 12px}
.section-title h2{margin:0; font-size:18px; letter-spacing:.3px}
.section-title .sub{color:var(--muted); font-size:13px}

.catalog-filter{display:flex; align-items:flex-end; gap:10px; flex-wrap:wrap; justify-content:flex-end}
.catalog-filter-label{font-size:12px; color:var(--muted); margin-bottom:2px}

.catalog-select{position:relative}
.catalog-select[data-open="1"]{z-index:70}
.catalog-select-trigger{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:8px 10px;
  border-radius:999px;
  border:1px solid var(--border);
  background:#ffffff;
  color:var(--text);
  font:inherit;
  cursor:pointer;
  transition:all .15s ease;
  min-width:min(260px, calc(100vw - 44px));
  justify-content:space-between;
}
.catalog-select-trigger:hover{border-color:rgba(201,162,39,.30); background:rgba(244,237,227,.55)}

.catalog-select-value{flex:1; text-align:left; font-size:12px; font-weight:650; color:var(--text); white-space:nowrap; overflow:hidden; text-overflow:ellipsis}

.catalog-dot{
  width:9px;
  height:9px;
  border-radius:999px;
  background:var(--gold);
  box-shadow:0 0 0 0 rgba(201,162,39,.0);
}

/* Animación navideña sutil: brillo/pulso dorado */
@keyframes goldPulse{
  0%{transform:scale(1); box-shadow:0 0 0 0 rgba(201,162,39,.0)}
  45%{transform:scale(1.06); box-shadow:0 0 0 6px rgba(201,162,39,.14)}
  100%{transform:scale(1); box-shadow:0 0 0 0 rgba(201,162,39,.0)}
}
.catalog-select-trigger .catalog-dot{animation:goldPulse 1.6s ease-in-out infinite}

.catalog-select-chevron{
  width:0;
  height:0;
  border-left:5px solid transparent;
  border-right:5px solid transparent;
  border-top:6px solid rgba(18,18,18,.55);
  margin-left:2px;
}

.catalog-select-menu{
  position:absolute;
  right:0;
  top:calc(100% + 10px);
  width:min(420px, calc(100vw - 36px));
  border:1px solid var(--border);
  border-radius:18px;
  background:#ffffff;
  box-shadow:0 18px 40px rgba(18,18,18,.16);
  padding:10px;
  display:none;
  max-height:min(360px, 60vh);
  overflow:auto;
  z-index:80;
}

.catalog-select[data-open="1"] .catalog-select-menu{display:block}
.catalog-select[data-open="1"] .catalog-select-chevron{transform:rotate(180deg)}
.catalog-select[data-open="1"] .catalog-select-menu{
  border-color:rgba(201,162,39,.28);
  box-shadow:
    0 18px 40px rgba(18,18,18,.16),
    0 0 0 2px rgba(201,162,39,.14),
    0 0 26px rgba(201,162,39,.16);
}

.catalog-select-option{
  display:flex;
  align-items:center;
  gap:10px;
  padding:10px 12px;
  border-radius:14px;
  color:var(--text);
  font-size:12px;
  font-weight:650;
  transition:all .15s ease;
}
.catalog-select-option:hover{background:rgba(244,237,227,.55)}
.catalog-select-option[aria-selected="true"]{background:rgba(201,162,39,.14)}
.catalog-select-option[aria-selected="true"] .catalog-dot{box-shadow:0 0 0 6px rgba(201,162,39,.14)}

.grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:14px;
}

.grid-2col{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:14px;
}

.grid-2col--lg{gap:18px}

.grid-2{display:grid; grid-template-columns:1fr 1fr; gap:12px}

.card{
  border:1px solid var(--border);
  border-radius:var(--radius);
  overflow:hidden;
  background:#ffffff;
  box-shadow:0 10px 22px rgba(18,18,18,.08);
  transition:transform .12s ease, border-color .12s ease;
}
.card:hover{transform:translateY(-2px); border-color:rgba(201,162,39,.30)}

.card-media{
  height:auto;
  aspect-ratio: 1 / 1;
  background:var(--beige);
  position:relative;
  overflow:hidden;
  --card-img: none;
  border-bottom:1px solid var(--border);
}

/* Fondo adaptativo (cover) + imagen completa (contain)
   Esto hace que fotos verticales se vean “llenas” sin recortarse. */
.card-media::before{
  content:"";
  position:absolute;
  inset:0;
  background-image: var(--card-img);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: blur(18px);
  transform: scale(1.15);
  opacity: .28;
  z-index: 0;
}

.card-media::after{
  content:"";
  position:absolute;
  inset:0;
  background-image: var(--card-img);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
}

.badge{
  position:absolute;
  top:12px;
  left:12px;
  z-index: 2;
  font-size:12px;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(201,162,39,.35);
  background:rgba(201,162,39,.14);
  color:var(--cafe);
}

.card-body{padding:14px}
.card-title{margin:0; font-size:16px; font-weight:750}
.card-meta{margin-top:6px; display:flex; justify-content:space-between; gap:10px; color:var(--muted); font-size:13px}

.price{color:var(--muted); font-weight:650}

.card-actions{margin-top:12px; display:flex; gap:10px}

.panel{
  border:1px solid var(--border);
  border-radius:var(--radius);
  background:#ffffff;
  box-shadow:var(--shadow);
}

.panel-inner{padding:18px}

.form-row{display:grid; grid-template-columns:1fr 1fr; gap:12px}

.label{display:block; font-size:12px; color:var(--muted); margin-bottom:6px}
.input, .select, textarea{
  width:100%;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid var(--border);
  background:#ffffff;
  color:var(--text);
  outline:none;
}
textarea{min-height:96px; resize:vertical}

.hr{height:1px; background:var(--border); margin:14px 0}

.sizes{display:flex; flex-wrap:wrap; gap:10px}
.size{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 12px;
  border-radius:14px;
  border:1px solid var(--border);
  background:#ffffff;
  color:var(--muted);
  cursor:pointer;
  user-select:none;
}
.size input{position:absolute; opacity:0; pointer-events:none}
.size[data-selected="1"]{border-color:rgba(201,162,39,.55); color:var(--text); background:rgba(201,162,39,.14)}

.cart-line{display:flex; gap:14px; align-items:flex-start; padding:14px 0}
.cart-media{width:92px; height:76px; border-radius:16px; border:1px solid var(--border);
  background:var(--beige);
}
.cart-media{background-size:cover; background-position:center; background-repeat:no-repeat}
.cart-info{flex:1}
.cart-title{margin:0; font-weight:750}
.cart-sub{margin-top:4px; font-size:13px; color:var(--muted)}
.cart-right{text-align:right; min-width:140px}

.qty-controls{display:inline-flex; gap:8px; align-items:center; margin-top:10px}
.qty-btn{width:34px; height:34px; border-radius:12px; border:1px solid var(--border); background:rgba(255,255,255,.03); color:var(--text); cursor:pointer}
.qty{min-width:32px; text-align:center; color:var(--muted)}

.notice{
  border:1px solid rgba(201,162,39,.25);
  background:rgba(201,162,39,.12);
  color:var(--text);
  border-radius:16px;
  padding:12px 14px;
}

/* ─────────────────────────────────────────────────────────────
   FOOTER — Compacto, horizontal, iconos con glow
   ───────────────────────────────────────────────────────────── */
.site-footer{
  border-top:1px solid var(--footer-border);
  background: var(--footer-bg);
  color:var(--footer-text);
}

.footer-inner{padding:24px 0 16px}

/* Layout horizontal: 3 columnas */
.footer-row{
  display:grid;
  grid-template-columns: 1fr auto 1fr;
  align-items:center;
  column-gap:24px;
  row-gap:14px;
}

.footer-col-brand{justify-self:start}
.footer-col-links{justify-self:center}
.footer-col-social{justify-self:end}

/* Col izquierda: Brand + ubicación */
.footer-col-brand{
  display:flex;
  flex-direction:column;
  gap:4px;
}

.footer-brand{
  font-weight:900;
  letter-spacing:.8px;
  font-size:17px;
  color:#ffffff;
}

.footer-location{
  font-size:12px;
  color:var(--footer-muted);
  letter-spacing:.3px;
}

/* Col centro: Links */
.footer-col-links{
  display:flex;
  gap:6px;
  flex-wrap:wrap;
  justify-content:center;
}

.footer-col-links a{
  padding:6px 12px;
  border-radius:8px;
  color:var(--footer-text);
  font-size:13px;
  transition: color .16s ease, background .16s ease;
}

.footer-col-links a:hover{
  color:#ffffff;
  background: rgba(201,162,39,.12);
}

/* Col derecha: Redes sociales */
.footer-col-social{
  display:flex;
  gap:12px;
}

.social-icon{
  position:relative;
  width:44px;
  height:44px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(255,255,255,.04);
  border:1.5px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.65);
  transition: 
    transform .26s cubic-bezier(.34,1.56,.64,1),
    border-color .2s ease,
    color .2s ease,
    box-shadow .26s ease,
    background .2s ease;
}

.social-icon svg{
  width:20px;
  height:20px;
  fill:currentColor;
  transition: transform .26s cubic-bezier(.34,1.56,.64,1), filter .2s ease;
}

/* === WhatsApp GLOW === */
.social-icon.wa:hover{
  color:#25D366;
  border-color:#25D366;
  background: rgba(37,211,102,.10);
  transform: scale(1.15) translateY(-3px);
  box-shadow:
    0 0 0 4px rgba(37,211,102,.10),
    0 0 20px rgba(37,211,102,.35),
    0 8px 24px rgba(37,211,102,.20);
}
.social-icon.wa:hover svg{
  filter: drop-shadow(0 0 6px rgba(37,211,102,.55));
}

/* === Instagram GLOW === */
.social-icon.ig:hover{
  color:#ffffff;
  border-color:#E1306C;
  background: linear-gradient(135deg, rgba(252,175,69,.12), rgba(225,48,108,.16), rgba(131,58,180,.12));
  transform: scale(1.15) translateY(-3px);
  box-shadow:
    0 0 0 4px rgba(225,48,108,.10),
    0 0 20px rgba(225,48,108,.35),
    0 8px 24px rgba(225,48,108,.20);
}
.social-icon.ig:hover svg{
  filter: drop-shadow(0 0 6px rgba(225,48,108,.55));
}

/* === Facebook GLOW === */
.social-icon.fb:hover{
  color:#1877F2;
  border-color:#1877F2;
  background: rgba(24,119,242,.10);
  transform: scale(1.15) translateY(-3px);
  box-shadow:
    0 0 0 4px rgba(24,119,242,.10),
    0 0 20px rgba(24,119,242,.35),
    0 8px 24px rgba(24,119,242,.20);
}
.social-icon.fb:hover svg{
  filter: drop-shadow(0 0 6px rgba(24,119,242,.55));
}

.social-icon:active{
  transform: scale(1.05) translateY(-1px);
  transition-duration: .06s;
}

/* Bottom line */
.footer-bottom{
  text-align:center;
  margin-top:18px;
  padding-top:14px;
  border-top:1px solid rgba(255,255,255,.06);
  color:rgba(255,255,255,.40);
  font-size:11px;
}

@media (prefers-reduced-motion: reduce){
  .social-icon{transition:none}
  .social-icon:hover{transform:none}
}

@media (max-width: 980px){
  .hero-inner{grid-template-columns:1fr; padding:24px}
  .grid{grid-template-columns:repeat(2, 1fr)}
}

@media (max-width: 820px){
  .grid-2col{grid-template-columns:1fr}
}

@media (max-width: 720px){
  .header-row{flex-wrap:wrap}
  .nav{flex-wrap:wrap; justify-content:flex-end}

  .footer-row{
    display:flex;
    flex-direction:column;
    text-align:center;
    gap:18px;
  }
  .footer-col-brand{align-items:center}
  .footer-col-links{justify-content:center}
  .footer-col-social{justify-content:center}
}

@media (max-width: 620px){
  .container{padding:0 14px}
  .site-main{padding:20px 0 46px}

  .header-row{position:relative; align-items:center; gap:10px; padding:12px 0}
  .brand{width:100%; justify-content:flex-start; padding-left:10px; padding-right:54px}
  .brand-logo{width:40px; height:40px}
  .brand-tag{display:none}

  /* En móvil: logo a la izquierda, texto centrado */
  .brand{position:relative}
  .brand-text{
    position:absolute;
    left:50%;
    transform:translateX(-50%);
    text-align:center;
    max-width:calc(100% - 120px);
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
    pointer-events:none;
  }

  .nav-toggle{
    display:inline-flex;
    position:absolute;
    right:10px;
    top:50%;
    transform:translateY(-50%);
  }

  .nav{
    display:none;
    position:absolute;
    top:calc(100% + 10px);
    left:0;
    right:0;
    flex-direction:column;
    align-items:stretch;
    gap:8px;
    padding:12px;
    border-radius:18px;
    border:1px solid var(--border);
    background:#ffffff;
    box-shadow:0 18px 40px rgba(18,18,18,.16);
  }

  .site-header[data-nav-open="1"] .nav{display:flex}

  .nav-link{padding:10px 12px; border-radius:14px; font-size:13px; text-align:left}
  .nav-link:hover{background:rgba(244,237,227,.55)}

  .section-title{flex-direction:column; align-items:flex-start}
  .catalog-filter{justify-content:flex-start}

  .grid{grid-template-columns:1fr}
  .form-row{grid-template-columns:1fr}
  .grid-2{grid-template-columns:1fr}
  .hero h1{font-size:34px}

  .cart-line{flex-direction:column}
  .cart-right{text-align:left; min-width:0}
  .qty-controls{flex-wrap:wrap}
}
