:root {
  --forest: #13221a;
  --forest-2: #1c3226;
  --moss: #2d4a37;
  --cream: #f5f0e6;
  --paper: #fbf8f2;
  --sand: #e7ddcb;
  --ink: #1a1d1b;
  --muted: #474c46;
  --navy: #1f3348;
  --gold: #c9a45c;
  --line: rgba(26, 29, 27, .12);
  --glass: rgba(251, 248, 242, .6);
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Manrope', system-ui, sans-serif;
  --r: 18px;
  --max: 1240px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--sans); color: var(--ink); background: var(--paper);
  font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -.01em; line-height: 1.08; margin: 0; }
h2 { font-size: clamp(2rem, 4.2vw, 3.3rem); }
em { font-style: italic; font-weight: 400; }
svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.eyebrow { font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 600; margin: 0 0 1rem; color: rgba(255,255,255,.75); }
.eyebrow.dark { color: var(--moss); }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 560px; margin: 1.1rem auto 0; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 3rem; }
.section-head.light .lead { color: rgba(255,255,255,.72); }

.btn { display: inline-flex; align-items: center; gap: .55rem; padding: .95rem 1.6rem; border-radius: 999px; border: 1px solid transparent; font-weight: 600; font-size: .95rem; text-decoration: none; transition: transform .3s var(--ease), background .3s, color .3s; }
.btn:hover { transform: translateY(-2px); }
.btn-light { background: var(--cream); color: var(--forest); }
.btn-ghost { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.35); backdrop-filter: blur(6px); }
.btn-ghost svg { width: 18px; height: 18px; }
.btn-dark { background: var(--forest); color: var(--cream); }
.btn-accent { background: var(--accent, var(--forest)); color: #fff; }
.btn.full { width: 100%; justify-content: center; }

/* ---------- Navegación ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem clamp(1.2rem, 4vw, 3rem); color: #fff; transition: background .4s, padding .4s, color .4s;
}
.nav::before { content: ''; position: absolute; inset: 0; z-index: -2; background: rgba(251, 248, 242, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); opacity: 0; transition: opacity .4s; }
.nav.solid { color: var(--ink); padding-block: .7rem; }
.nav.solid::before { opacity: 1; }
.brand { display: block; width: 118px; aspect-ratio: 800 / 280; background: currentColor; -webkit-mask: url('../img/logo-clanmawen.png') center / contain no-repeat; mask: url('../img/logo-clanmawen.png') center / contain no-repeat; }
.brand.big { width: 190px; }
.menu { display: flex; gap: 2rem; }
.menu a { text-decoration: none; font-size: .92rem; font-weight: 500; opacity: .88; position: relative; }
.menu a::after { content: ''; position: absolute; left: 0; bottom: -4px; width: 0; height: 1px; background: currentColor; transition: width .3s var(--ease); }
.menu a:hover::after { width: 100%; }
.nav-tools { display: flex; align-items: center; gap: 1rem; }
.lang { display: inline-flex; border: 1px solid currentColor; border-radius: 999px; overflow: hidden; opacity: .9; }
.lang button { background: none; border: 0; color: inherit; font-size: .72rem; font-weight: 700; padding: .32rem .62rem; letter-spacing: .05em; }
.lang button.active { background: currentColor; }
.lang button.active { color: var(--forest); background: var(--cream); }
.nav.solid .lang button.active { background: var(--forest); color: var(--cream); }
.lang button:disabled { opacity: .45; cursor: not-allowed; }
.cart-btn { position: relative; background: none; border: 0; color: inherit; padding: .3rem; }
.cart-count { position: absolute; top: -4px; right: -6px; background: var(--gold); color: var(--forest); font-size: .68rem; font-weight: 800; border-radius: 999px; min-width: 18px; height: 18px; display: grid; place-items: center; }
.burger { display: none; background: none; border: 0; width: 34px; height: 34px; position: relative; color: inherit; }
.burger span { position: absolute; left: 6px; right: 6px; height: 1.6px; background: currentColor; transition: transform .3s; }
.burger span:first-child { top: 13px; } .burger span:last-child { top: 20px; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* ---------- Portada ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.bg-video { position: fixed; inset: 0; z-index: -1; background: var(--forest); overflow: hidden; }
.bg-video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); filter: blur(var(--blur, 0px)); transition: opacity .6s; will-change: filter; }
.bg-video video.fade { opacity: 0; }
.forest { position: absolute; inset: 0; pointer-events: none; opacity: var(--trees, 0); }
.forest img { position: absolute; bottom: -2px; height: 72vh; width: auto; max-width: none; transition: transform .2s linear; }
.forest-l { left: 0; transform: translateX(var(--fx, 0)); }
.forest img { transition: none; }
.forest-r { right: 0; transform: translateX(calc(var(--fx, 0) * -1)); }
.footer-treeline { height: 90px; margin-top: -1px; background: url('../img/araucarias-banda.svg') center bottom / auto 100% repeat-x; }
.bg-shade { position: absolute; inset: 0; background: rgba(12, 26, 18, var(--shade, .28)); }
.hero { position: relative; height: 100svh; min-height: 560px; color: #fff; display: grid; place-items: center; text-align: center; }
.hero::after { content: ''; position: absolute; inset: auto 0 0 0; height: 40%; background: linear-gradient(0deg, rgba(12,26,18,.45), transparent); pointer-events: none; }
.hero-content { position: relative; z-index: 2; padding: 0 1.5rem; max-width: 1100px; display: flex; flex-direction: column; align-items: center; will-change: opacity, transform; }
.hero-animal { font-size: .78rem; letter-spacing: .32em; text-transform: uppercase; font-weight: 600; margin: 0 0 1.1rem; color: var(--gold); min-height: 1.2em; }
.hero-phrase { font-family: var(--serif); font-weight: 400; font-size: clamp(2.3rem, 6.2vw, 5.4rem); line-height: 1.05; margin: 0; text-shadow: 0 2px 30px rgba(0,0,0,.35); min-height: 2.1em; display: flex; align-items: center; justify-content: center; }
.hero-animal, .hero-phrase { transition: opacity .55s var(--ease), transform .55s var(--ease), filter .55s; }
.hero-content.swap .hero-animal, .hero-content.swap .hero-phrase { opacity: 0; transform: translateY(14px); filter: blur(6px); }
.hero-slogan { font-size: 1.05rem; letter-spacing: .04em; color: rgba(255,255,255,.85); margin: 1.6rem 0 2rem; }
@keyframes rise { to { opacity: 1; transform: none; } }
.scroll-cue { position: absolute; z-index: 2; bottom: 2rem; left: 50%; translate: -50% 0; width: 24px; height: 38px; border: 1.5px solid rgba(255,255,255,.6); border-radius: 14px; }
.scroll-cue span { position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; background: #fff; border-radius: 2px; animation: cue 1.8s infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* ---------- Colección ---------- */
.collection { padding: clamp(5rem, 10vw, 8rem) clamp(1.2rem, 4vw, 3rem) 5rem; max-width: var(--max); margin: 0 auto;  box-shadow: 0 0 0 100vmax var(--glass); clip-path: inset(0 -100vmax); background: var(--glass); }
.collection-head { text-align: center; margin-bottom: 3rem; }
.lineup { display: flex; justify-content: center; align-items: flex-end; gap: clamp(.2rem, 1.2vw, 1.1rem); padding: 1rem 0 2.2rem; position: relative; }
.lineup::after { content: ''; position: absolute; left: 6%; right: 6%; bottom: 1.6rem; height: 26px; background: radial-gradient(ellipse at center, rgba(19,34,26,.28), transparent 70%); filter: blur(6px); z-index: 0; }
.lineup button { position: relative; z-index: 1; flex: 0 1 92px; border: 0; padding: 0; background: none; transition: transform .45s var(--ease); }
.lineup button:hover { transform: translateY(-14px); }
.lineup img { width: 100%; height: auto; filter: drop-shadow(0 10px 10px rgba(0,0,0,.18)); }
.collection-figure { margin: 0; position: relative; border-radius: var(--r); overflow: hidden; box-shadow: 0 30px 60px -30px rgba(19,34,26,.5); }

/* ---------- Líneas ---------- */
.lines-row { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem 2.4rem; margin: 2.4rem 0 0; font-family: var(--serif); font-size: 1.2rem; }
.lines-row span { border-bottom: 2px solid var(--c); padding-bottom: .15rem; }

/* ---------- Historia ---------- */
.story-media { margin: 0; border-radius: 4px; overflow: hidden; aspect-ratio: 4 / 5; }
.story-media img { width: 100%; height: 100%; object-fit: cover; }
.story { background: rgba(245, 240, 230, .6); padding: clamp(5rem, 10vw, 8rem) clamp(1.2rem, 4vw, 3rem); }
.story-grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.story-text h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); margin-bottom: 1.6rem; }
.story-text p { color: #3c413c; }

/* ---------- Frases ---------- */
.quote-band { background: rgba(12, 26, 18, .35); color: var(--cream); text-align: center; padding: clamp(6rem, 14vw, 11rem) 1.5rem; position: relative; overflow: hidden; }
.quote-band::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 120%, rgba(201,164,92,.18), transparent 60%); }
.quote-band p { position: relative; font-family: var(--serif); font-size: clamp(2.2rem, 5.5vw, 4.6rem); line-height: 1.1; margin: 0; }
.quote-band em { color: var(--gold); }
.quote-band { text-shadow: 0 2px 24px rgba(0,0,0,.35); }

/* ---------- Productos ---------- */
.products { padding: clamp(5rem, 10vw, 8rem) clamp(1.2rem, 4vw, 3rem); max-width: 1320px; margin: 0 auto;  box-shadow: 0 0 0 100vmax var(--glass); clip-path: inset(0 -100vmax); background: var(--glass); }
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-bottom: 2.6rem; }
.chip { background: none; border: 1px solid var(--line); padding: .5rem 1.1rem; border-radius: 999px; font-size: .88rem; font-weight: 600; color: var(--muted); transition: all .25s; }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.active { background: var(--forest); color: var(--cream); border-color: var(--forest); }
.product-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.2rem; }
.card {
  --accent: #333; position: relative; border: 0; padding: 0; text-align: left; background: var(--paper); border-radius: var(--r);
  overflow: hidden; display: flex; flex-direction: column; transition: transform .45s var(--ease), box-shadow .45s;
  box-shadow: 0 1px 0 var(--line), 0 0 0 1px var(--line);
}
.card:hover { transform: translateY(-6px); box-shadow: 0 24px 40px -24px color-mix(in srgb, var(--accent) 70%, transparent); }
.card-media { aspect-ratio: 3 / 4; background: radial-gradient(circle at 50% 35%, color-mix(in srgb, var(--accent) 55%, #fff) 0%, var(--accent) 75%); display: grid; place-items: center; overflow: hidden; position: relative; }
.card-media img { position: absolute; top: 6%; left: 50%; translate: -50% 0; height: 90%; width: auto; max-width: none; object-fit: contain; filter: drop-shadow(0 16px 18px rgba(0,0,0,.35)); transition: transform .7s var(--ease); }
.card:hover .card-media img { transform: scale(1.05) rotate(-2deg); }
.card-media.art img { top: 50%; translate: -50% -50%; height: auto; width: 82%; border-radius: 10px; filter: none; box-shadow: 0 14px 30px -10px rgba(0,0,0,.45); }
.card.soon .card-media img { filter: grayscale(.55) brightness(.9) drop-shadow(0 16px 18px rgba(0,0,0,.35)); }
.badge { position: absolute; top: .8rem; left: .8rem; z-index: 2; font-size: .66rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: .3rem .6rem; border-radius: 999px; background: #fff; color: var(--accent); }
.card.soon .badge { background: rgba(19,34,26,.82); color: #fff; }
.card-body { padding: 1rem 1.1rem 1.2rem; }
.card-body .line { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--accent); }
.card-body h3 { font-size: 1.28rem; margin: .25rem 0 .15rem; }
.card-body .flavor { font-size: .9rem; color: var(--muted); margin: 0; }
.card-body .more { display: inline-flex; align-items: center; gap: .3rem; font-size: .82rem; font-weight: 700; margin-top: .7rem; color: var(--ink); }
.card-body .more::after { content: '→'; transition: transform .3s; }
.card:hover .more::after { transform: translateX(4px); }
.card[hidden] { display: none; }

/* ---------- Compromiso ---------- */
.commit { background: rgba(22, 40, 30, .84); color: var(--cream); padding: clamp(5rem, 10vw, 8rem) clamp(1.2rem, 4vw, 3rem); }
.commit-inner { max-width: var(--max); margin: 0 auto; }

.foundations { border-top: 1px solid rgba(255,255,255,.16); }
.foundation { display: grid; grid-template-columns: 1.1fr 1.5fr 190px 110px; gap: 2rem; align-items: baseline; padding: 1.6rem 0; border-bottom: 1px solid rgba(255,255,255,.16); text-decoration: none; transition: padding .35s var(--ease); }
a.foundation[href]:hover { padding-left: .8rem; }
.foundation h3 { font-size: 1.45rem; }
.foundation p { margin: 0; text-align: left; color: rgba(255,255,255,.7); font-size: .95rem; }
.foundation .for { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; display: flex; align-items: center; gap: .5rem; color: var(--gold); font-weight: 700; white-space: nowrap; }
.foundation .for i { width: 10px; height: 10px; border-radius: 50%; background: var(--c); display: inline-block; }
.foundation .visit { font-size: .85rem; font-weight: 700; white-space: nowrap; text-align: right; }
.foundation .visit:empty { display: none; }

/* ---------- Tienda ---------- */
.shop { padding: clamp(5rem, 10vw, 8rem) clamp(1.2rem, 4vw, 3rem); max-width: var(--max); margin: 0 auto;  box-shadow: 0 0 0 100vmax var(--glass); clip-path: inset(0 -100vmax); background: var(--glass); }
.shop-tabs { display: flex; justify-content: center; gap: .4rem; margin-bottom: 2.4rem; }
.tab { background: none; border: 0; border-bottom: 2px solid transparent; padding: .5rem 1.1rem; font-weight: 700; color: var(--muted); }
.tab.active { color: var(--ink); border-color: var(--gold); }
.shop-info { text-align: center; margin: 3rem 0 0; color: var(--muted); font-size: .95rem; }
.shop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.4rem; }
.item { background: #fff; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; }
.item-img { background: var(--sand); aspect-ratio: 4 / 3; overflow: hidden; position: relative; }
.item-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.item:hover .item-img img { transform: scale(1.05); }
.item-img .placeholder { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; color: var(--muted); font-size: .85rem; padding: 1rem; background: repeating-linear-gradient(45deg, #ede4d3, #ede4d3 12px, #e7ddcb 12px, #e7ddcb 24px); }
.item-body { padding: 1.1rem 1.2rem 1.3rem; display: flex; flex-direction: column; gap: .7rem; flex: 1; }
.item-body h3 { font-size: 1.15rem; }
.item-meta { font-size: .82rem; color: var(--muted); margin-top: -.4rem; }
.item-row { display: flex; align-items: center; justify-content: space-between; gap: .6rem; margin-top: auto; }
.price { font-weight: 800; font-size: 1.05rem; }
.sizes { display: flex; gap: .3rem; }
.sizes button { border: 1px solid var(--line); background: none; border-radius: 8px; min-width: 34px; height: 30px; font-size: .78rem; font-weight: 700; }
.sizes button.sel { background: var(--forest); color: #fff; border-color: var(--forest); }
.add { border: 0; background: var(--forest); color: var(--cream); border-radius: 999px; padding: .6rem 1rem; font-weight: 700; font-size: .85rem; }
.add:disabled { background: #b9b6ae; cursor: not-allowed; }

/* ---------- Pie ---------- */
.footer { background: #0e1a13; color: rgba(255,255,255,.78); padding: 5rem clamp(1.2rem, 4vw, 3rem) 2rem; }
.footer-top { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; }
.footer .brand { color: var(--cream); }
.tagline { font-family: var(--serif); font-style: italic; margin: .9rem 0 1.4rem; }
.certs { display: flex; gap: .6rem; flex-wrap: wrap; }
.cert { display: inline-flex; align-items: center; gap: .4rem; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; padding: .35rem .8rem; font-size: .78rem; }
.cert svg { width: 16px; height: 16px; color: var(--gold); }
.footer-col { display: flex; flex-direction: column; gap: .55rem; font-size: .92rem; }
.footer-col h4 { color: var(--cream); font-family: var(--serif); font-weight: 600; font-size: 1.05rem; margin: 0 0 .4rem; }
.footer-col a { text-decoration: none; } .footer-col a:hover { color: var(--gold); }
.pending { color: var(--gold); font-style: italic; }
.socials { display: flex; gap: .6rem; }
.socials a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); display: grid; place-items: center; }
.socials a:hover { background: var(--cream); color: var(--forest); }
.socials svg { width: 18px; height: 18px; }
.footer-lang { color: var(--cream); margin-top: .9rem; align-self: flex-start; }
.edelandes { max-width: var(--max); margin: 3.5rem auto 0; padding: 1.8rem 0; border-top: 1px solid rgba(255,255,255,.12); border-bottom: 1px solid rgba(255,255,255,.12); display: flex; align-items: center; justify-content: center; gap: 1rem; font-size: .9rem; }
.edelandes-logo { display: inline-flex; flex-direction: column; align-items: center; text-decoration: none; color: var(--cream); line-height: 1.1; }
.edelandes-logo img { width: 170px; height: auto; transition: opacity .3s; }
.edelandes-logo:hover img { opacity: .85; }
.edelandes-logo .logo-slot { font-family: var(--serif); letter-spacing: .28em; font-weight: 600; font-size: 1.15rem; }
.edelandes-logo small { font-size: .62rem; letter-spacing: .3em; text-transform: uppercase; opacity: .7; }
.credit { display: inline-flex; align-items: center; gap: .6rem; }
.credit img { height: 30px; width: auto; opacity: .85; transition: opacity .3s; }
.credit a:hover img { opacity: 1; }
.footer-bottom { max-width: var(--max); margin: 1.6rem auto 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: .8rem; opacity: .7; }

/* ---------- Ficha ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 1rem; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(12, 22, 16, .7); backdrop-filter: blur(4px); animation: fade .3s; }
.sheet { --accent: #333; position: relative; width: min(920px, 100%); max-height: 92vh; overflow: auto; background: var(--paper); border-radius: 24px; animation: pop .45s var(--ease); }
@keyframes fade { from { opacity: 0; } } @keyframes pop { from { opacity: 0; transform: translateY(24px) scale(.98); } }
.close { position: absolute; top: 1rem; right: 1rem; z-index: 3; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255,255,255,.9); font-size: 1.5rem; line-height: 1; color: var(--ink); }
.sheet-head { background: radial-gradient(circle at 25% 40%, color-mix(in srgb, var(--accent) 50%, #fff), var(--accent) 70%); color: #fff; display: grid; grid-template-columns: 240px 1fr; gap: 2rem; align-items: center; padding: 2.2rem 2.6rem; }
.sheet-art { display: flex; justify-content: center; align-items: center; height: 280px; }
.sheet-art img { height: 100%; width: auto; max-width: 100%; object-fit: contain; border-radius: 10px; filter: drop-shadow(0 20px 22px rgba(0,0,0,.4)); animation: spin-in .9s var(--ease); }
.sheet-art.art img { width: 100%; height: auto; max-height: 100%; border-radius: 12px; filter: none; }
@keyframes spin-in { from { transform: perspective(600px) rotateY(-70deg); opacity: 0; } }
.sheet-title .eyebrow { color: rgba(255,255,255,.8); margin-bottom: .6rem; }
.sheet-title h3 { font-size: clamp(2.2rem, 4vw, 3.2rem); }
.sci { font-family: var(--serif); font-style: italic; font-size: 1.15rem; margin: .5rem 0 1rem; opacity: .9; }
.status { display: inline-flex; align-items: center; gap: .5rem; background: rgba(255,255,255,.95); color: var(--ink); font-size: .8rem; font-weight: 700; border-radius: 999px; padding: .35rem .8rem; }
.status b { background: var(--accent); color: #fff; border-radius: 6px; padding: .05rem .35rem; font-size: .72rem; }
.sheet-body { padding: 2.2rem 2.6rem 2.4rem; display: grid; gap: 1.6rem; }
.sheet-body h4 { margin: 0 0 .45rem; font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); }
.sheet-body p { margin: 0; color: #3b403b; }
.story-copy p + p { margin-top: .9rem !important; }
.sheet-body .two { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; padding: 1.4rem 0; border-block: 1px solid var(--line); }
.source { font-size: .78rem; color: var(--muted) !important; margin-top: .3rem !important; }
.drink { background: color-mix(in srgb, var(--accent) 9%, var(--paper)); border-radius: 16px; padding: 1.4rem 1.6rem; }
.drink-name { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; color: var(--ink) !important; margin-bottom: .3rem !important; }
.sheet-foot { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.sheet-foot span { font-weight: 700; font-size: .9rem; }

/* ---------- Carrito ---------- */
.cart { position: fixed; inset: 0; z-index: 110; }
.cart[hidden] { display: none; }
.cart-backdrop { position: absolute; inset: 0; background: rgba(12,22,16,.55); animation: fade .3s; }
.cart-panel { position: absolute; right: 0; top: 0; bottom: 0; width: min(420px, 100%); background: var(--paper); display: flex; flex-direction: column; animation: slide .4s var(--ease); }
@keyframes slide { from { transform: translateX(100%); } }
.cart-head { padding: 1.5rem 1.6rem; border-bottom: 1px solid var(--line); position: relative; }
.cart-head h3 { font-size: 1.5rem; }
.cart-head .close { top: 1.1rem; background: var(--sand); }
.cart-items { list-style: none; margin: 0; padding: 1rem 1.6rem; flex: 1; overflow: auto; display: grid; gap: 1rem; align-content: start; }
.cart-items li { display: grid; grid-template-columns: 64px 1fr auto; gap: .9rem; align-items: center; }
.cart-items img { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; }
.cart-items small { display: block; color: var(--muted); }
.cart-items .rm { background: none; border: 0; color: var(--muted); font-size: .8rem; text-decoration: underline; }
.cart-empty { color: var(--muted); text-align: center; padding: 3rem 0; }
.cart-foot { padding: 1.4rem 1.6rem 1.8rem; border-top: 1px solid var(--line); }
.cart-total { display: flex; justify-content: space-between; margin-bottom: 1rem; font-size: 1.1rem; }
.demo-note { font-size: .78rem; color: var(--muted); text-align: center; margin: .8rem 0 0; }

.toast { position: fixed; left: 50%; bottom: 1.6rem; translate: -50% 120px; background: var(--forest); color: var(--cream); padding: .8rem 1.3rem; border-radius: 999px; font-size: .9rem; font-weight: 600; z-index: 120; transition: translate .4s var(--ease), opacity .3s; opacity: 0; pointer-events: none; }
.toast.show { translate: -50% 0; opacity: 1; }

/* ---------- Animaciones de entrada ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .foundation { grid-template-columns: 1fr 1.4fr; gap: .4rem 2rem; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .menu { position: fixed; inset: 0; height: 100dvh; background: var(--forest); color: var(--cream); flex-direction: column; justify-content: center; align-items: center; gap: 1.6rem; transform: translateY(-100%); visibility: hidden; transition: transform .5s var(--ease), visibility 0s .5s; z-index: -1; }
  .menu a { font-family: var(--serif); font-size: 2rem; }
  .menu.open { transform: none; visibility: visible; transition: transform .5s var(--ease), visibility 0s; }
  .nav.menu-open { color: var(--cream); }
  .nav.menu-open::before { opacity: 0; }
  .burger { display: block; }
  .nav-tools .lang { display: none; }
  .story-grid { grid-template-columns: 1fr; }
  .sheet-head { grid-template-columns: 1fr; text-align: center; padding: 2rem 1.4rem 1.6rem; gap: 1rem; }
  .sheet-art { height: 220px; }
  .sheet-body { padding: 1.6rem 1.4rem 2rem; }
  .story-copy p + p { margin-top: .9rem !important; }
.sheet-body .two { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: .8rem; }
  .card-body { padding: .8rem .85rem 1rem; }
  .card-body h3 { font-size: 1.08rem; }
  .foundation { grid-template-columns: 1fr; }
  .lineup { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.2rem .6rem; }
  .lineup::after { display: none; }
  .story-media { aspect-ratio: 4 / 3; }
  .footer-top { grid-template-columns: 1fr; }
  .hero { place-items: end center; }
  .forest img { height: 44vh; }
  .forest-l { left: -10vw; } .forest-r { right: -10vw; }
  .footer-treeline { height: 64px; }
  .hero-content { padding-bottom: 6.5rem; }
  .hero-phrase { min-height: 3.2em; }
  .edelandes { flex-direction: column; gap: .5rem; }
}
