/* =========================================================
   STAR — Design System
   Paleta: gris jaspeado + café · Tipografía: Space Grotesk / Inter
   Firma visual: la estrella del theme-toggle se enciende
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@400;500;600;700;800&family=IBM+Plex+Mono:wght@500&display=swap');

:root{
  /* ---- Paleta base (modo claro) ---- */
  --star-fog:        #EFEDEA;   /* fondo principal */
  --star-fog-soft:    #F7F6F4;   /* fondo tarjetas */
  --star-heather:     #9C978F;   /* gris jaspeado — acento medio */
  --star-heather-dk:   #6B665F;   /* gris jaspeado oscuro */
  --star-coffee:      #3E2C22;   /* café profundo — texto / marca */
  --star-coffee-warm:  #7A5A44;   /* café cálido — CTA */
  --star-coffee-glow:  #C08B5C;   /* café claro — hover / glow */
  --star-ink:         #1C1916;   /* texto sobre claro */
  --star-line:        rgba(28,25,22,0.10);

  --bg:        var(--star-fog);
  --bg-soft:   var(--star-fog-soft);
  --surface:   #ffffff;
  --text:      var(--star-ink);
  --text-mute: #5b5650;
  --accent:    var(--star-coffee-warm);
  --accent-strong: var(--star-coffee);
  --line:      var(--star-line);
  --star-fill: transparent;

  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --shadow-soft: 0 8px 30px rgba(28,25,22,0.08);
  --shadow-lift: 0 16px 46px rgba(28,25,22,0.14);
  --ease: cubic-bezier(.22,.61,.36,1);
}

[data-theme="dark"]{
  --bg:        #15130F;
  --bg-soft:   #1E1B16;
  --surface:   #211E19;
  --text:      #EDEAE4;
  --text-mute: #ABA69E;
  --accent:    var(--star-coffee-glow);
  --accent-strong: #E4B183;
  --line:      rgba(237,234,228,0.10);
  --shadow-soft: 0 8px 30px rgba(0,0,0,0.35);
  --shadow-lift: 0 20px 50px rgba(0,0,0,0.5);
  --star-fill: var(--star-coffee-glow);
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *{ animation-duration:0.001ms !important; animation-iteration-count:1 !important; transition-duration:0.001ms !important; }
}

body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:var(--font-body);
  font-size:16px;
  line-height:1.6;
  transition:background .4s var(--ease), color .4s var(--ease);
  -webkit-font-smoothing:antialiased;
}

img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ list-style:none; margin:0; padding:0; }
button{ font-family:inherit; cursor:pointer; }
input,textarea,select{ font-family:inherit; }

h1,h2,h3,h4{
  font-family:var(--font-display);
  margin:0;
  letter-spacing:-0.02em;
  color:var(--text);
}
.eyebrow{
  font-family:var(--font-mono);
  font-size:0.72rem;
  letter-spacing:0.14em;
  text-transform:uppercase;
  color:var(--accent);
  display:inline-flex;
  align-items:center;
  gap:8px;
}
.eyebrow::before{
  content:"";
  width:6px; height:6px; border-radius:50%;
  background:var(--accent);
  display:inline-block;
}

.container{
  width:100%;
  max-width:1180px;
  margin-inline:auto;
  padding-inline:24px;
}

.visually-hidden{
  position:absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0;
}

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

/* ---------- Botones ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:14px 28px;
  border-radius:999px;
  font-weight:600;
  font-size:0.95rem;
  border:1px solid transparent;
  transition:transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
  white-space:nowrap;
}
.btn-primary{
  background:var(--star-coffee);
  color:#fff;
  box-shadow:var(--shadow-soft);
}
[data-theme="dark"] .btn-primary{ background:var(--star-coffee-glow); color:#191510; }
.btn-primary:hover{ transform:translateY(-2px); box-shadow:var(--shadow-lift); }
.btn-secondary{
  background:transparent;
  color:var(--text);
  border-color:var(--line);
}
.btn-secondary:hover{ border-color:var(--accent); color:var(--accent); transform:translateY(-2px); }
.btn-ghost{
  background:transparent; color:var(--text-mute); padding:10px 16px;
}
.btn-ghost:hover{ color:var(--accent); }
.btn-block{ width:100%; }
.btn[disabled]{ opacity:.5; cursor:not-allowed; transform:none !important; }

/* ---------- Header / Nav ---------- */
.site-header{
  position:sticky; top:0; z-index:100;
  background:color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter:blur(14px);
  border-bottom:1px solid var(--line);
}
.nav{
  display:flex; align-items:center; justify-content:space-between;
  padding-block:14px;
}
.nav-brand{ display:flex; align-items:center; gap:10px; }
.nav-brand .logo-badge{
  width:34px; height:34px; border-radius:10px;
  background:var(--star-coffee);
  display:flex; align-items:center; justify-content:center;
  flex:none;
}
[data-theme="dark"] .nav-brand .logo-badge{ background:var(--star-coffee-glow); }
.nav-brand .logo-badge img{ height:18px; width:auto; }
.nav-brand .wordmark{
  font-family:var(--font-display); font-weight:700; font-size:1.15rem; letter-spacing:-0.01em;
}
.nav-links{
  display:flex; align-items:center; gap:30px;
  font-weight:500; font-size:0.94rem;
}
.nav-links a{ position:relative; padding:4px 0; color:var(--text-mute); transition:color .2s; }
.nav-links a::after{
  content:""; position:absolute; left:0; bottom:-4px; height:2px; width:0%;
  background:var(--accent); transition:width .25s var(--ease);
}
.nav-links a:hover, .nav-links a[aria-current="page"]{ color:var(--text); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after{ width:100%; }

.nav-actions{ display:flex; align-items:center; gap:14px; }

/* Theme toggle: la estrella que se enciende */
.theme-toggle{
  width:44px; height:44px;
  border-radius:50%;
  border:1px solid var(--line);
  background:var(--bg-soft);
  display:flex; align-items:center; justify-content:center;
  transition:border-color .3s, transform .3s var(--ease);
  position:relative;
}
.theme-toggle:hover{ transform:scale(1.06) rotate(-8deg); border-color:var(--accent); }
.theme-toggle svg{ width:20px; height:20px; overflow:visible; }
.theme-toggle .star-shape{
  fill:var(--star-fill);
  stroke:var(--accent);
  stroke-width:1.4;
  transition:fill .45s var(--ease), filter .45s var(--ease);
}
[data-theme="dark"] .theme-toggle .star-shape{
  filter:drop-shadow(0 0 6px var(--star-coffee-glow));
}

.icon-btn{
  width:44px; height:44px; border-radius:50%;
  border:1px solid var(--line); background:var(--bg-soft);
  display:flex; align-items:center; justify-content:center;
  position:relative; transition:border-color .2s, transform .2s;
}
.icon-btn:hover{ border-color:var(--accent); transform:translateY(-1px); }
.icon-btn svg{ width:19px; height:19px; stroke:var(--text); fill:none; }
.cart-count{
  position:absolute; top:-4px; right:-4px;
  background:var(--star-coffee-warm); color:#fff;
  font-size:0.65rem; font-weight:700;
  min-width:18px; height:18px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  padding:0 3px;
}
[data-theme="dark"] .cart-count{ background:var(--star-coffee-glow); color:#191510; }

.nav-toggle{
  display:none; width:44px; height:44px; border-radius:12px;
  border:1px solid var(--line); background:var(--bg-soft);
  align-items:center; justify-content:center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after{
  content:""; display:block; width:18px; height:2px; background:var(--text);
  position:relative; transition:.25s;
}
.nav-toggle span::before{ position:absolute; top:-6px; }
.nav-toggle span::after{ position:absolute; top:6px; }

@media (max-width:860px){
  .nav-links{
    position:fixed; inset:70px 16px auto 16px;
    flex-direction:column; align-items:flex-start;
    background:var(--surface); border:1px solid var(--line);
    border-radius:var(--radius-md); padding:20px;
    box-shadow:var(--shadow-lift);
    gap:16px;
    transform:translateY(-12px); opacity:0; pointer-events:none;
    transition:.3s var(--ease);
  }
  .nav-links.is-open{ transform:translateY(0); opacity:1; pointer-events:auto; }
  .nav-toggle{ display:flex; }
}

/* ---------- Hero ---------- */
.hero{
  position:relative; overflow:hidden;
  padding-top:64px; padding-bottom:90px;
}
.hero-grid{
  display:grid; grid-template-columns:1.1fr 1fr; gap:56px; align-items:center;
}
.hero-copy .eyebrow{ margin-bottom:18px; }
.hero-title{
  font-size:clamp(2.6rem, 6vw, 4.4rem);
  line-height:1.02;
  font-weight:700;
  margin-bottom:22px;
}
.hero-title .accent-word{ color:var(--accent); }
.hero-sub{
  font-size:1.08rem; color:var(--text-mute); max-width:46ch; margin-bottom:34px;
}
.hero-actions{ display:flex; gap:14px; flex-wrap:wrap; }
.hero-media{
    aspect-ratio:auto;
    height:auto;
}

.hero-media img{
    width:100%;
    height:auto;
    object-fit:unset;
    display:block;
}
.hero-media .stars-field{ position:absolute; inset:0; opacity:.5; }
[data-theme="light"] .hero-media .stars-field{ opacity:.18; }
.stars-field span{
  position:absolute; border-radius:50%; background:#fff;
  animation:twinkle 3.6s ease-in-out infinite;
}
@keyframes twinkle{
  0%,100%{ opacity:.25; transform:scale(1); }
  50%{ opacity:1; transform:scale(1.4); }
}

/* ---------- Placeholder de imagen ---------- */
.media-ph{
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;   /* o 16 / 10, según prefieras */
  min-height: 280px;
  overflow: hidden;

  background:
    repeating-linear-gradient(
      135deg,
      color-mix(in srgb, var(--star-heather) 30%, transparent) 0 2px,
      transparent 2px 14px
    ),
    linear-gradient(160deg, var(--bg-soft), var(--star-heather) 180%);

  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-mute);
}
.media-ph::before{
  content:attr(data-label);
  font-family:var(--font-mono);
  font-size:0.72rem;
  letter-spacing:.08em;
  text-transform:uppercase;
  border:1px dashed color-mix(in srgb, var(--text) 40%, transparent);
  padding:10px 16px;
  border-radius:999px;
  background:color-mix(in srgb, var(--bg) 55%, transparent);
  backdrop-filter:blur(4px);
}
.media-ph img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}.media-ph.has-img::before{ display:none; }

/* ---------- Secciones genéricas ---------- */
.section{ padding-block:96px; }
.section-tight{ padding-block:64px; }
.section-head{ max-width:640px; margin-bottom:48px; }
.section-head h2{ font-size:clamp(1.9rem,3.4vw,2.6rem); margin-top:14px; }
.section-head p{ color:var(--text-mute); margin-top:14px; font-size:1.02rem; }
.section-alt{ background:var(--bg-soft); }

.reveal{ opacity:0; transform:translateY(24px); transition:opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible{ opacity:1; transform:translateY(0); }

/* ---------- Sobre Star / manifiesto ---------- */
.manifesto{
  display:grid; grid-template-columns:repeat(3,1fr); gap:28px;
}
.manifesto-card{
  background:var(--surface); border:1px solid var(--line);
  border-radius:var(--radius-md); padding:32px;
  transition:transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.manifesto-card:hover{ transform:translateY(-6px); box-shadow:var(--shadow-soft); border-color:var(--accent); }
.manifesto-card .num{ font-family:var(--font-mono); color:var(--accent); font-size:.8rem; }
.manifesto-card h3{ font-size:1.25rem; margin:14px 0 10px; }
.manifesto-card p{ color:var(--text-mute); font-size:.96rem; margin:0; }

/* ---------- Comunidad ---------- */
.community{
  display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:center;
}
.community-media{ border-radius:var(--radius-lg); overflow:hidden; aspect-ratio:1/1; box-shadow:var(--shadow-soft); }
.community-list{ margin-top:26px; display:grid; gap:16px; }
.community-list li{ display:flex; gap:12px; align-items:flex-start; color:var(--text-mute); }
.community-list svg{ flex:none; width:20px; height:20px; stroke:var(--accent); margin-top:2px; }

/* ---------- Grid de productos ---------- */
.product-grid{
  display:grid; grid-template-columns:repeat(auto-fill,minmax(240px,1fr)); gap:26px;
}
.product-card{
  background:var(--surface); border:1px solid var(--line);
  border-radius:var(--radius-md); overflow:hidden;
  transition:transform .3s var(--ease), box-shadow .3s var(--ease);
  display:flex; flex-direction:column;
}
.product-card:hover{ transform:translateY(-6px); box-shadow:var(--shadow-lift); }
.product-media{ position:relative; aspect-ratio:4/5; overflow:hidden; }
.product-media img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; transition:opacity .4s var(--ease); }
.product-media .img-hover{ opacity:0; }
.product-card:hover .product-media .img-hover{ opacity:1; }
.product-card:hover .product-media .img-main{ opacity:0; }
.product-info{ padding:18px 20px 22px; display:flex; flex-direction:column; gap:8px; flex:1; }
.product-cat{ font-family:var(--font-mono); font-size:.68rem; letter-spacing:.08em; text-transform:uppercase; color:var(--text-mute); }
.product-name{ font-family:var(--font-display); font-size:1.05rem; font-weight:600; }
.product-price{ color:var(--accent); font-weight:700; margin-top:2px; }
.product-actions{ margin-top:auto; display:flex; gap:10px; padding-top:14px; }
.product-actions .btn{ padding:10px 16px; font-size:.85rem; flex:1; }

/* ---------- Buscador de tienda ---------- */
.shop-toolbar{
  display:flex; flex-wrap:wrap; gap:14px; align-items:center; justify-content:space-between;
  margin-bottom:36px;
}
.search-field{
  display:flex; align-items:center; gap:10px;
  border:1px solid var(--line); border-radius:999px;
  padding:12px 18px; background:var(--surface); min-width:260px; flex:1;
}
.search-field svg{ width:18px; height:18px; stroke:var(--text-mute); flex:none; }
.search-field input{ border:none; background:transparent; color:var(--text); width:100%; outline:none; }
.filter-chips{ display:flex; gap:10px; flex-wrap:wrap; }
.chip{
  padding:9px 16px; border-radius:999px; border:1px solid var(--line);
  font-size:.85rem; color:var(--text-mute); background:var(--surface);
  transition:.2s;
}
.chip.active, .chip:hover{ border-color:var(--accent); color:var(--accent); }

/* ---------- Galería ---------- */
.gallery-grid{
  display:grid; grid-template-columns:repeat(4,1fr); grid-auto-rows:160px; gap:14px;
}
.gallery-grid .media-ph{ border-radius:var(--radius-sm); }
.gallery-grid .g-tall{ grid-row:span 2; }
.gallery-grid .g-wide{ grid-column:span 2; }
@media (max-width:760px){
  .gallery-grid{ grid-template-columns:repeat(2,1fr); grid-auto-rows:130px; }
  .gallery-grid .g-wide{ grid-column:span 2; }
}

/* ---------- Testimonios ---------- */
.testimonials{ display:grid; grid-template-columns:repeat(3,1fr); gap:26px; }
.testimonial-card{
  background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-md);
  padding:28px; display:flex; flex-direction:column; gap:16px;
}
.testimonial-card .quote{ font-size:1.02rem; color:var(--text); }
.testimonial-who{ display:flex; align-items:center; gap:12px; }
.avatar-ph{
  width:42px; height:42px; border-radius:50%;
  background:linear-gradient(140deg,var(--star-heather),var(--star-coffee-warm));
  display:flex; align-items:center; justify-content:center;
  color:#fff; font-family:var(--font-display); font-weight:700; font-size:.9rem;
}
.who-name{ font-weight:600; font-size:.92rem; }
.who-role{ font-size:.78rem; color:var(--text-mute); }
.demo-tag{
  align-self:flex-start; font-family:var(--font-mono); font-size:.62rem;
  letter-spacing:.08em; text-transform:uppercase; color:var(--text-mute);
  border:1px dashed var(--line); border-radius:999px; padding:4px 10px;
}

/* ---------- FAQ ---------- */
.faq-list{ display:grid; gap:14px; max-width:820px; }
.faq-item{ border:1px solid var(--line); border-radius:var(--radius-md); background:var(--surface); overflow:hidden; }
.faq-q{
  width:100%; display:flex; align-items:center; justify-content:space-between;
  padding:20px 24px; background:none; border:none; color:var(--text);
  font-family:var(--font-display); font-size:1rem; font-weight:600; text-align:left;
}
.faq-q svg{ width:18px; height:18px; stroke:var(--accent); transition:transform .3s var(--ease); flex:none; }
.faq-item.open .faq-q svg{ transform:rotate(45deg); }
.faq-a{ max-height:0; overflow:hidden; transition:max-height .35s var(--ease); }
.faq-a p{ padding:0 24px 20px; color:var(--text-mute); margin:0; }
.faq-item.open .faq-a{ max-height:200px; }

/* ---------- Newsletter ---------- */
.newsletter{
  background:linear-gradient(135deg,var(--star-coffee),var(--star-heather-dk));
  border-radius:var(--radius-lg); padding:56px; color:#F7F5F2;
  display:flex; flex-wrap:wrap; gap:30px; align-items:center; justify-content:space-between;
}
.newsletter h3{ color:#fff; font-size:1.7rem; max-width:22ch; }
.newsletter p{ color:rgba(255,255,255,.75); margin-top:10px; max-width:40ch; }
.newsletter-form{ display:flex; gap:10px; flex-wrap:wrap; flex:1; min-width:280px; }
.newsletter-form input{
  flex:1; min-width:200px; padding:14px 18px; border-radius:999px; border:1px solid rgba(255,255,255,.25);
  background:rgba(255,255,255,.08); color:#fff; outline:none;
}
.newsletter-form input::placeholder{ color:rgba(255,255,255,.6); }
.newsletter-form .btn-primary{ background:#fff; color:var(--star-coffee); }

/* ---------- Footer ---------- */
.site-footer{ background:var(--bg-soft); border-top:1px solid var(--line); padding-block:64px 28px; margin-top:60px; }
.footer-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:40px; }
.footer-brand .nav-brand{ margin-bottom:14px; }
.footer-brand p{ color:var(--text-mute); font-size:.9rem; max-width:32ch; }
.footer-col h4{ font-size:.82rem; text-transform:uppercase; letter-spacing:.08em; color:var(--text-mute); margin-bottom:16px; }
.footer-col a{ display:block; color:var(--text); font-size:.92rem; padding:6px 0; opacity:.85; transition:opacity .2s; }
.footer-col a:hover{ opacity:1; color:var(--accent); }
.footer-social{ display:flex; gap:10px; margin-top:6px; }
.footer-bottom{
  margin-top:48px; padding-top:24px; border-top:1px solid var(--line);
  display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px;
  font-size:.82rem; color:var(--text-mute);
}

/* ---------- WhatsApp flotante ---------- */
.wa-float{
  position:fixed; right:22px; bottom:22px; z-index:200;
  width:58px; height:58px; border-radius:50%;
  background:#25D366; display:flex; align-items:center; justify-content:center;
  box-shadow:0 10px 26px rgba(0,0,0,.25);
  transition:transform .25s var(--ease);
}
.wa-float:hover{ transform:scale(1.08); }
.wa-float svg{ width:28px; height:28px; fill:#fff; }

/* ---------- Página interna genérica ---------- */
.page-hero{ padding-top:56px; padding-bottom:40px; }
.page-hero .eyebrow{ margin-bottom:14px; }
.page-hero h1{ font-size:clamp(2.2rem,4.4vw,3.2rem); }
.page-hero p{ color:var(--text-mute); max-width:60ch; margin-top:16px; }

/* ---------- Nosotros ---------- */
.story-block{ display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:center; }
.story-block .media-ph{
    aspect-ratio:auto;
    min-height:0;
    height:auto;
}

.story-block .media-ph img{
    position:static;
    width:100%;
    height:auto;
    object-fit:unset;
    display:block;
}

.story-block .media-ph::before{
    display:none;
}
.story-block.reverse{ direction:rtl; }
.story-block.reverse > *{ direction:ltr; }
.values-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; margin-top:20px; }
.value-pill{
  background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-md);
  padding:22px; text-align:center; transition:.3s var(--ease);
}
.value-pill:hover{ border-color:var(--accent); transform:translateY(-4px); }
.value-pill .num{ font-family:var(--font-mono); color:var(--accent); font-size:.75rem; }
.value-pill h4{ margin-top:8px; font-size:1rem; }

/* ---------- Producto individual ---------- */
.product-detail{ display:grid; grid-template-columns:1fr 1fr; gap:56px; }
.pd-gallery-main{ aspect-ratio:4/5; border-radius:var(--radius-lg); overflow:hidden; margin-bottom:14px; }
.pd-thumbs{ display:flex; gap:12px; }
.pd-thumbs .media-ph{ width:84px; height:100px; border-radius:12px; cursor:pointer; }
.pd-info .eyebrow{ margin-bottom:10px; }
.pd-title{ font-size:2rem; margin-bottom:8px; }
.pd-price{ font-size:1.5rem; color:var(--accent); font-weight:700; margin-bottom:20px; }
.pd-desc{ color:var(--text-mute); margin-bottom:26px; }
.qty-row{ display:flex; align-items:center; gap:16px; margin-bottom:22px; }
.qty-box{ display:flex; align-items:center; border:1px solid var(--line); border-radius:999px; overflow:hidden; }
.qty-box button{ width:40px; height:40px; background:none; border:none; color:var(--text); font-size:1.1rem; }
.qty-box span{ width:36px; text-align:center; font-weight:600; }
.pd-actions{ display:flex; gap:14px; flex-wrap:wrap; }
.size-note{ display:flex; gap:10px; align-items:center; margin:22px 0; color:var(--text-mute); font-size:.9rem; }

/* ---------- Carrito ---------- */
.cart-layout{ display:grid; grid-template-columns:1.6fr 1fr; gap:40px; align-items:start; }
.cart-item{
  display:grid; grid-template-columns:88px 1fr auto; gap:16px; align-items:center;
  padding:18px 0; border-bottom:1px solid var(--line);
}
.cart-item .media-ph img{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:contain;      /* o contain si preferís ver toda la remera */
    object-position:center;
}
.cart-item-name{ font-family:var(--font-display); font-weight:600; }
.cart-item-cat{ font-size:.78rem; color:var(--text-mute); margin-top:4px; }
.cart-item-qty{ display:flex; align-items:center; gap:10px; margin-top:10px; }
.cart-item-qty button{ width:28px; height:28px; border-radius:50%; border:1px solid var(--line); background:none; color:var(--text); }
.cart-item-remove{ color:var(--text-mute); font-size:.8rem; margin-top:8px; }
.cart-item-remove:hover{ color:var(--accent); }
.cart-item-price{ font-weight:700; text-align:right; }
.summary-card{
  background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-md); padding:28px;
  position:sticky; top:110px;
}
.summary-row{ display:flex; justify-content:space-between; padding:10px 0; color:var(--text-mute); }
.summary-row.total{ color:var(--text); font-weight:700; font-size:1.15rem; border-top:1px solid var(--line); margin-top:10px; padding-top:18px; }
.empty-state{
  text-align:center; padding:80px 20px; color:var(--text-mute);
}
.empty-state svg{ width:56px; height:56px; stroke:var(--text-mute); margin-bottom:20px; }

/* ---------- Formularios / Cuenta ---------- */
.auth-shell{
  max-width:440px; margin-inline:auto; background:var(--surface);
  border:1px solid var(--line); border-radius:var(--radius-lg); padding:40px;
  box-shadow:var(--shadow-soft);
}
.auth-tabs{ display:flex; gap:6px; background:var(--bg-soft); border-radius:999px; padding:5px; margin-bottom:28px; }
.auth-tabs button{
  flex:1; padding:10px; border-radius:999px; border:none; background:none;
  color:var(--text-mute); font-weight:600; font-size:.88rem; transition:.2s;
}
.auth-tabs button.active{ background:var(--surface); color:var(--text); box-shadow:var(--shadow-soft); }
.field{ margin-bottom:18px; }
.field label{ display:block; font-size:.85rem; font-weight:600; margin-bottom:8px; }
.field input, .field textarea, .field select{
  width:100%; padding:13px 16px; border-radius:12px; border:1px solid var(--line);
  background:var(--bg-soft); color:var(--text); outline:none; transition:border-color .2s;
}
.field input:focus, .field textarea:focus, .field select:focus{ border-color:var(--accent); }
.field-hint{ font-size:.78rem; color:var(--text-mute); margin-top:6px; }
.form-msg{ font-size:.85rem; padding:12px 16px; border-radius:12px; margin-bottom:16px; display:none; }
.form-msg.show{ display:block; }
.form-msg.error{ background:rgba(190,60,45,.12); color:#b3402d; }
[data-theme="dark"] .form-msg.error{ color:#ff9d8a; }
.form-msg.success{ background:rgba(60,140,90,.12); color:#2e7d52; }
[data-theme="dark"] .form-msg.success{ color:#7fd9a4; }
.auth-panel{ display:none; }
.auth-panel.active{ display:block; }
.account-card{
  background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-lg);
  padding:36px; max-width:520px; margin-inline:auto; text-align:center;
}
.account-avatar{
  width:72px; height:72px; border-radius:50%; margin:0 auto 18px;
  background:linear-gradient(140deg,var(--star-heather),var(--star-coffee-warm));
  display:flex; align-items:center; justify-content:center; color:#fff;
  font-family:var(--font-display); font-size:1.6rem; font-weight:700;
}

/* ---------- Contacto ---------- */
.contact-grid{ display:grid; grid-template-columns:1fr 1fr; gap:50px; }
.contact-cta{
  background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-lg);
  padding:36px; text-align:center; display:flex; flex-direction:column; align-items:center; gap:16px;
}
.contact-cta .wa-big{
  width:64px; height:64px; border-radius:50%; background:#25D366;
  display:flex; align-items:center; justify-content:center;
}
.contact-cta .wa-big svg{ width:30px; height:30px; fill:#fff; }
.contact-links{ display:flex; flex-direction:column; gap:14px; margin-top:20px; }
.contact-link-row{
  display:flex; align-items:center; gap:14px; padding:16px 18px;
  background:var(--surface); border:1px solid var(--line); border-radius:16px;
  transition:.2s;
}
.contact-link-row:hover{ border-color:var(--accent); }
.contact-link-row svg{ width:20px; height:20px; stroke:var(--accent); flex:none; }

/* ---------- 404 ---------- */
.error-page{
  min-height:70vh; display:flex; flex-direction:column; align-items:center; justify-content:center;
  text-align:center; padding:60px 24px;
}
.error-star{ width:120px; height:120px; margin-bottom:24px; }
.error-page h1{ font-size:clamp(2.2rem,7vw,4rem); }
.error-page p{ color:var(--text-mute); max-width:44ch; margin:14px 0 30px; }

/* ---------- Admin ---------- */
.admin-shell{ display:grid; grid-template-columns:240px 1fr; min-height:100vh; }
.admin-side{
  background:var(--bg-soft); border-right:1px solid var(--line); padding:26px 18px;
  display:flex; flex-direction:column; gap:6px;
}
.admin-side .nav-brand{ padding:10px 10px 26px; }
.admin-link{
  display:flex; align-items:center; gap:12px; padding:11px 14px; border-radius:12px;
  color:var(--text-mute); font-weight:500; font-size:.92rem; transition:.2s;
}
.admin-link svg{ width:18px; height:18px; stroke:currentColor; flex:none; }
.admin-link:hover{ background:var(--surface); color:var(--text); }
.admin-link.active{ background:var(--surface); color:var(--accent); box-shadow:var(--shadow-soft); }
.admin-main{ padding:34px 40px; }
.admin-topbar{ display:flex; justify-content:space-between; align-items:center; margin-bottom:30px; flex-wrap:wrap; gap:16px; }
.stat-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:20px; margin-bottom:36px; }
.stat-card{ background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-md); padding:22px; }
.stat-card .label{ font-size:.8rem; color:var(--text-mute); }
.stat-card .value{ font-family:var(--font-display); font-size:1.8rem; margin-top:8px; }
.stat-card .delta{ font-size:.78rem; color:#2e7d52; margin-top:6px; }
.admin-panel{ background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-md); padding:26px; margin-bottom:26px; }
.admin-panel-head{ display:flex; justify-content:space-between; align-items:center; margin-bottom:20px; flex-wrap:wrap; gap:12px; }
.admin-table{ width:100%; border-collapse:collapse; font-size:.9rem; }
.admin-table th{ text-align:left; color:var(--text-mute); font-weight:600; font-size:.78rem; text-transform:uppercase; letter-spacing:.04em; padding:10px 12px; border-bottom:1px solid var(--line); }
.admin-table td{ padding:12px; border-bottom:1px solid var(--line); }
.admin-table tr:last-child td{ border-bottom:none; }
.badge{ padding:4px 10px; border-radius:999px; font-size:.72rem; font-weight:600; }
.badge.ok{ background:rgba(60,140,90,.14); color:#2e7d52; }
.badge.pending{ background:rgba(200,140,40,.14); color:#b3782d; }
[data-theme="dark"] .badge.ok{ color:#7fd9a4; }
[data-theme="dark"] .badge.pending{ color:#e6b877; }
.row-actions{ display:flex; gap:8px; }
.row-actions button{ background:none; border:1px solid var(--line); border-radius:8px; width:32px; height:32px; display:flex; align-items:center; justify-content:center; }
.row-actions button:hover{ border-color:var(--accent); }
.row-actions svg{ width:15px; height:15px; stroke:var(--text); }
.admin-empty-note{
  font-size:.85rem; color:var(--text-mute); border:1px dashed var(--line); border-radius:12px;
  padding:16px; margin-bottom:20px;
}
.dropzone{
  border:1.5px dashed var(--line); border-radius:16px; padding:30px; text-align:center;
  color:var(--text-mute); font-size:.9rem;
}

/* ---------- Utilidades responsive ---------- */
@media (max-width:960px){
  .hero-grid, .community, .story-block, .contact-grid, .cart-layout, .product-detail{
    grid-template-columns:1fr;
  }
  .manifesto{ grid-template-columns:1fr; }
  .testimonials{ grid-template-columns:1fr; }
  .values-grid{ grid-template-columns:1fr 1fr; }
  .footer-grid{ grid-template-columns:1fr 1fr; }
  .stat-grid{ grid-template-columns:1fr 1fr; }
  .admin-shell{ grid-template-columns:1fr; }
  .admin-side{ display:none; }
  .story-block.reverse{ direction:ltr; }
}
@media (max-width:560px){
  .footer-grid{ grid-template-columns:1fr; }
  .values-grid{ grid-template-columns:1fr; }
  .stat-grid{ grid-template-columns:1fr 1fr; }
  .gallery-grid{ grid-template-columns:1fr 1fr; }
  .section{ padding-block:64px; }
}
/* ---------- Ajuste carrito (solo PC) ---------- */
@media (min-width: 961px){
  .cart-item{
    grid-template-columns:110px 1fr auto;
    gap:20px;
  }

  .cart-item .media-ph{
    width:110px;
    height:100px;
  }
}