:root {
  --cream: #F5ECE0;
  --paper: #FBF6EF;
  --sand: #E6D3BB;
  --sand-2: #D9C2A5;
  --brown: #5C3519;
  --ink: #2E1A0E;
  --terra: #B5562A;
  --terra-2: #D9763F;
  --ember: #E8A066;
  --leaf: #6F8A58;
  --leaf-2: #8FA875;
  --muted: #7A6150;
  --danger: #A33A2A;
  --wa: #2B9A55;
  --radius: 18px;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Work Sans", system-ui, sans-serif;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body { font-family: var(--sans); background: var(--cream); color: var(--ink); line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
body.is-loading { overflow: hidden; }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
main { overflow-x: clip; }
button, input, textarea, select { font: inherit; color: inherit; }
a { color: inherit; }
em { font-style: italic; color: var(--terra); }
::selection { background: var(--terra); color: var(--paper); }
:focus-visible { outline: 2.5px solid var(--terra); outline-offset: 3px; border-radius: 6px; }

/* Grain overlay */
.grain {
  position: fixed; inset: 0; pointer-events: none; z-index: 200; opacity: .07; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ===== Loader ===== */
.loader {
  position: fixed; inset: 0; z-index: 300; background: var(--ink); color: var(--ember);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px;
  transition: clip-path 1s var(--ease-in-out);
  clip-path: inset(0 0 0 0);
}
.loader.done { clip-path: inset(0 0 100% 0); }
.loader-svg { width: 90px; }
.loader-svg .draw { fill: none; stroke: var(--ember); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 300; stroke-dashoffset: 300; animation: draw 1.4s var(--ease-in-out) forwards; }
.loader-svg .draw:nth-child(2) { animation-delay: .15s; }
.loader-svg .draw:nth-child(3) { animation-delay: .3s; }
.loader-svg .draw:nth-child(4) { animation-delay: .5s; }
.loader-svg .draw:nth-child(5) { animation-delay: .65s; }
.loader-text { font-family: var(--serif); font-size: 1.1rem; letter-spacing: .2em; text-transform: uppercase; color: var(--sand); opacity: 0; animation: fadeIn .8s .6s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadeIn { to { opacity: 1; } }

/* ===== Header ===== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 18px clamp(16px, 4vw, 40px);
  transition: background .4s, padding .4s var(--ease-out), transform .5s var(--ease-out), box-shadow .4s;
}
.site-header.scrolled { background: rgba(245, 236, 224, .82); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); padding-block: 12px; box-shadow: 0 1px 0 rgba(92, 53, 25, .1); }
.site-header.hide { transform: translateY(-110%); }
.logo { justify-self: center; font-family: var(--serif); font-size: 1.4rem; font-weight: 600; text-decoration: none; letter-spacing: -.01em; }
.greet { justify-self: end; font-size: .9rem; color: var(--brown); font-weight: 500; opacity: 0; transform: translateY(-6px); transition: .5s var(--ease-out); }
.greet.show { opacity: 1; transform: none; }

.burger { justify-self: start; width: 46px; height: 46px; border: 0; background: transparent; cursor: pointer; display: grid; place-content: center; gap: 6px; border-radius: 50%; transition: background .3s; }
.burger:hover { background: rgba(92, 53, 25, .08); }
.burger span { display: block; width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .45s var(--ease-out), opacity .3s, width .35s var(--ease-out); transform-origin: center; }
.burger span:nth-child(2) { width: 16px; }
.burger:hover span:nth-child(2) { width: 24px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ===== Side menu ===== */
.overlay { position: fixed; inset: 0; z-index: 60; background: rgba(46, 26, 14, .5); backdrop-filter: blur(3px); opacity: 0; pointer-events: none; transition: opacity .5s; }
.overlay.open { opacity: 1; pointer-events: auto; }
.menu {
  position: fixed; top: 0; bottom: 0; left: 0; z-index: 70; width: min(380px, 90vw);
  background: var(--paper); padding: 28px; display: flex; flex-direction: column; gap: 26px; overflow-y: auto;
  transform: translateX(-102%); transition: transform .65s var(--ease-out);
  border-radius: 0 28px 28px 0;
}
.menu.open { transform: none; }
.close-menu { align-self: flex-end; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--sand); background: transparent; cursor: pointer; display: grid; place-content: center; transition: transform .4s var(--ease-spring), background .3s; }
.close-menu:hover { transform: rotate(90deg); background: var(--sand); }
.menu > * { opacity: 0; transform: translateX(-20px); transition: opacity .5s, transform .6s var(--ease-out); }
.menu.open > * { opacity: 1; transform: none; }
.menu.open > *:nth-child(2) { transition-delay: .12s; }
.menu.open > *:nth-child(3) { transition-delay: .2s; }
.menu.open > *:nth-child(4) { transition-delay: .28s; }
.menu-nav a { display: flex; align-items: baseline; gap: 14px; padding: 12px 0; text-decoration: none; font-family: var(--serif); font-size: 1.5rem; border-bottom: 1px solid var(--sand); transition: color .3s, padding-left .4s var(--ease-out); }
.menu-nav a span { font-family: var(--sans); font-size: .75rem; color: var(--muted); }
.menu-nav a:hover { color: var(--terra); padding-left: 8px; }
.menu-foot { margin-top: auto; font-size: .8rem; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }

.login-box { background: var(--cream); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.login-box h2 { font-family: var(--serif); font-size: 1.4rem; font-weight: 500; }
.login-box p { color: var(--muted); font-size: .92rem; }
.login-box form { display: flex; flex-direction: column; gap: 10px; }
.avatar { width: 52px; height: 52px; border-radius: 50%; background: var(--terra); color: var(--paper); display: grid; place-content: center; font-family: var(--serif); font-size: 1.4rem; animation: pop .6s var(--ease-spring); }
@keyframes pop { from { transform: scale(0); } }

/* ===== Forms ===== */
label { font-size: .88rem; font-weight: 500; }
input[type="text"], input:not([type]), input[type="number"], input[type="password"], textarea, select {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--sand); border-radius: 12px; background: var(--paper);
  transition: border-color .25s, box-shadow .25s;
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--terra); box-shadow: 0 0 0 4px rgba(181, 86, 42, .14); }
textarea { resize: vertical; }
.error { color: var(--danger); font-size: .86rem; min-height: 1.2em; display: block; }
.shake { animation: shake .45s; }
@keyframes shake { 20%, 60% { transform: translateX(-7px); } 40%, 80% { transform: translateX(7px); } }

/* ===== Buttons ===== */
.btn {
  --bg: var(--terra); --fg: var(--paper);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border: 0; border-radius: 999px; background: var(--bg); color: var(--fg);
  font-weight: 600; font-size: .98rem; text-decoration: none; cursor: pointer; overflow: hidden; isolation: isolate;
  transition: transform .4s var(--ease-out), box-shadow .4s;
  will-change: transform;
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink); border-radius: inherit; transform: translateY(101%); transition: transform .5s var(--ease-out); }
.btn:hover::before { transform: none; }
.btn:hover { box-shadow: 0 12px 28px -10px rgba(46, 26, 14, .45); }
.btn:active { transform: scale(.97); }
.btn svg { transition: transform .4s var(--ease-out); }
.btn:hover svg { transform: translateX(4px); }
.btn.ghost { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn.ghost:hover { color: var(--paper); }
.btn.small { padding: 9px 16px; font-size: .86rem; }
.btn.danger { --bg: var(--danger); }
.btn.wa { --bg: var(--wa); --fg: #fff; }
.btn[disabled], .btn.loading { pointer-events: none; opacity: .7; }
.btn.loading span::after { content: ""; display: inline-block; width: 12px; height: 12px; margin-left: 8px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; vertical-align: -1px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ===== Hero ===== */
.hero {
  position: relative; min-height: 100svh; max-width: 1240px; margin: 0 auto;
  display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: 40px;
  padding: 120px clamp(20px, 5vw, 48px) 80px;
}
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--terra); margin-bottom: 20px; }
.eyebrow::before { content: ""; width: 28px; height: 1.5px; background: currentColor; }
.eyebrow.light { color: var(--ember); }
.hero-title { font-family: var(--serif); font-weight: 400; font-size: clamp(2.8rem, 7vw, 5.6rem); line-height: .98; letter-spacing: -.035em; margin-bottom: 28px; font-variation-settings: "opsz" 144; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .08em; }
.hero-title .line > span { display: inline-block; transform: translateY(110%); transition: transform 1.2s var(--ease-out); }
.ready .hero-title .line > span { transform: none; }
.ready .hero-title .line:nth-child(2) > span { transition-delay: .1s; }
.ready .hero-title .line:nth-child(3) > span { transition-delay: .2s; }
.hero-title em { font-weight: 300; }
.hero-sub { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--muted); max-width: 44ch; margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-art { position: relative; height: min(78vh, 640px); display: flex; justify-content: center; }
.sun { position: absolute; bottom: 4%; left: 50%; width: min(420px, 82%); aspect-ratio: 1; transform: translateX(-50%) scale(.6); border-radius: 50%; background: radial-gradient(circle at 35% 35%, var(--sand) 0%, var(--sand-2) 70%); opacity: 0; transition: transform 1.6s var(--ease-out) .2s, opacity 1.2s .2s; }
.ready .sun { transform: translateX(-50%) scale(1); opacity: 1; }
.hanger { position: relative; height: 100%; overflow: visible; }
.hanger .swing { transform-origin: 120px 0; animation: swing 6s var(--ease-in-out) infinite alternate; }
@keyframes swing { from { transform: rotate(-3.2deg); } to { transform: rotate(3.2deg); } }
.iron { fill: none; stroke: var(--ink); stroke-width: 3.5; stroke-linecap: round; }
.draw-hero { stroke-dasharray: 400; stroke-dashoffset: 400; }
.ready .draw-hero { animation: draw 1.8s var(--ease-in-out) forwards; }
.ready .draw-hero:nth-child(2) { animation-delay: .2s; }
.ready .draw-hero:nth-child(3) { animation-delay: .35s; }
.ready .draw-hero:nth-child(4) { animation-delay: .6s; }
.ready .draw-hero:nth-child(5) { animation-delay: .7s; }
.pot { fill: var(--terra); transform-origin: 120px 256px; transform: scaleY(0); transition: transform 1s var(--ease-spring) 1s; }
.pot-band { stroke: var(--terra-2); stroke-width: 6; opacity: 0; transition: opacity .6s 1.6s; }
.ready .pot { transform: none; }
.ready .pot-band { opacity: 1; }
.leaf { fill: var(--leaf); transform-origin: 120px 250px; transform: scale(0); transition: transform 1.1s var(--ease-spring); }
.leaf.l2, .leaf.l4 { fill: var(--leaf-2); }
.ready .leaf { transform: scale(1); }
.ready .leaf.l1 { transition-delay: 1.3s; } .ready .leaf.l2 { transition-delay: 1.45s; } .ready .leaf.l3 { transition-delay: 1.6s; } .ready .leaf.l4 { transition-delay: 1.75s; }
.leaves { transform-origin: 120px 250px; animation: sway 4.5s var(--ease-in-out) infinite alternate 2.5s; }
@keyframes sway { from { transform: rotate(-2deg); } to { transform: rotate(2.5deg); } }
.vine { fill: none; stroke: var(--leaf); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 120; stroke-dashoffset: 120; }
.ready .vine { animation: draw 1.6s var(--ease-out) 1.9s forwards; }
.drop { fill: var(--leaf-2); opacity: 0; }
.ready .drop { animation: drip 3.5s 3.5s infinite; }
@keyframes drip { 0% { opacity: 0; transform: translateY(0); } 10% { opacity: 1; } 70% { opacity: 0; transform: translateY(26px); } 100% { opacity: 0; } }

.hero-badge { position: absolute; right: 2%; top: 14%; width: 118px; height: 118px; display: grid; place-content: center; border-radius: 50%; background: var(--ink); color: var(--ember); font-family: var(--serif); font-size: 1.5rem; opacity: 0; transform: scale(.4) rotate(-40deg); transition: transform 1s var(--ease-spring) 1.4s, opacity .6s 1.4s; }
.ready .hero-badge { opacity: 1; transform: none; }
.badge-ring { position: absolute; inset: 0; animation: rotate 18s linear infinite; }
.badge-ring text { fill: var(--sand); font-family: var(--sans); font-size: 10.5px; letter-spacing: 2.6px; font-weight: 500; }
@keyframes rotate { to { transform: rotate(360deg); } }

.scroll-hint { position: absolute; bottom: 28px; left: 50%; width: 26px; height: 42px; border: 1.5px solid var(--brown); border-radius: 20px; transform: translateX(-50%); opacity: .6; }
.scroll-hint span { position: absolute; top: 8px; left: 50%; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--brown); animation: scrollDot 1.8s var(--ease-in-out) infinite; }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* Hero entrance for other elements */
.hero .reveal-up { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); }
.ready .hero .reveal-up { opacity: 1; transform: none; }
.ready .hero .hero-sub { transition-delay: .45s; }
.ready .hero .hero-actions { transition-delay: .6s; }

/* ===== Marquee ===== */
.marquee { background: var(--ink); color: var(--sand); padding: 22px 0; overflow: hidden; transform: rotate(-1.5deg) scale(1.03); margin: 20px 0 40px; }
.marquee-track { display: flex; gap: 36px; width: max-content; animation: marquee 32s linear infinite; font-family: var(--serif); font-size: clamp(1.4rem, 3vw, 2.2rem); font-style: italic; white-space: nowrap; align-items: center; }
.marquee-track i { color: var(--terra-2); font-style: normal; font-size: .7em; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ===== Sections ===== */
.section { max-width: 1240px; margin: 0 auto; padding: clamp(70px, 10vw, 120px) clamp(20px, 5vw, 48px); }
.section-head { margin-bottom: 52px; }
.section-head.split { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.section-title { font-family: var(--serif); font-weight: 400; font-size: clamp(2.2rem, 5vw, 3.8rem); line-height: 1.02; letter-spacing: -.03em; }
.section-title em { font-weight: 300; }
.section-title.light { color: var(--paper); }
.section-title.light em { color: var(--ember); }

/* Scroll reveal */
.reveal-up { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out); transition-delay: var(--d, 0s); }
.reveal-up.in { opacity: 1; transform: none; }
.reveal-scale { opacity: 0; transform: scale(.94); transition: opacity 1s var(--ease-out), transform 1.2s var(--ease-out); }
.reveal-scale.in { opacity: 1; transform: none; }

/* ===== Process ===== */
.steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.steps-line { position: absolute; top: 42px; left: 8%; right: 8%; width: 84%; height: 20px; overflow: visible; }
.steps-line path { fill: none; stroke: var(--sand-2); stroke-width: 2; stroke-dasharray: 6 8; vector-effect: non-scaling-stroke; }
.step { position: relative; background: var(--paper); border-radius: var(--radius); padding: 30px 28px 32px; transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out), opacity 1s var(--ease-out); }
.step:hover { transform: translateY(-8px); box-shadow: 0 24px 50px -24px rgba(92, 53, 25, .35); }
.step:nth-child(3) { --d: .12s; } .step:nth-child(4) { --d: .24s; }
.step-icon { position: relative; width: 64px; height: 64px; border-radius: 50%; background: var(--cream); display: grid; place-content: center; margin-bottom: 22px; transition: background .5s, transform .6s var(--ease-spring); }
.step-icon svg { width: 30px; height: 30px; fill: none; stroke: var(--terra); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: stroke .5s; }
.step:hover .step-icon { background: var(--terra); transform: rotate(-8deg) scale(1.06); }
.step:hover .step-icon svg { stroke: var(--paper); }
.step-num { position: absolute; top: 22px; right: 26px; font-family: var(--serif); font-size: 2.6rem; color: var(--sand); line-height: 1; }
.step h3 { font-family: var(--serif); font-weight: 500; font-size: 1.5rem; margin-bottom: 8px; }
.step p { color: var(--muted); }

/* ===== Catalog ===== */
.filters { position: relative; display: flex; gap: 4px; padding: 5px; background: var(--paper); border-radius: 999px; flex-wrap: wrap; }
.filter { position: relative; z-index: 1; border: 0; background: transparent; padding: 9px 16px; border-radius: 999px; cursor: pointer; font-weight: 500; font-size: .9rem; color: var(--muted); transition: color .35s; }
.filter[aria-selected="true"] { color: var(--paper); }
.filter-pill { position: absolute; z-index: 0; top: 5px; left: 0; height: calc(100% - 10px); border-radius: 999px; background: var(--ink); transition: transform .55s var(--ease-out), width .55s var(--ease-out); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 28px; }
.card { position: relative; cursor: pointer; border-radius: var(--radius); background: var(--paper); overflow: hidden; display: flex; flex-direction: column; opacity: 0; transform: translateY(40px); transition: opacity .8s var(--ease-out), transform .9s var(--ease-out), box-shadow .5s; transition-delay: var(--d, 0s); transform-style: preserve-3d; }
.card.in { opacity: 1; transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
.card.in:hover { box-shadow: 0 30px 60px -28px rgba(92, 53, 25, .45); transition: opacity .8s, transform .2s, box-shadow .5s; }
.card-media { position: relative; aspect-ratio: 4/5; overflow: hidden; background: var(--sand); display: grid; place-items: center; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.card-media .ph { width: 58%; transition: transform 1.2s var(--ease-out); }
.card:hover .card-media img, .card:hover .card-media .ph { transform: scale(1.07); }
.card.out .card-media > img, .card.out .card-media > .ph { filter: grayscale(.85); opacity: .65; }
.card-tag { position: absolute; top: 14px; left: 14px; padding: 5px 12px; font-size: .75rem; font-weight: 600; border-radius: 999px; background: rgba(251, 246, 239, .9); backdrop-filter: blur(6px); color: var(--brown); }
.card-tag.out { left: auto; right: 14px; background: var(--ink); color: var(--paper); }
.card-cta { position: absolute; left: 14px; right: 14px; bottom: 14px; padding: 12px; text-align: center; border-radius: 999px; background: var(--ink); color: var(--paper); font-weight: 600; font-size: .9rem; transform: translateY(140%); transition: transform .5s var(--ease-out); }
.card:hover .card-cta, .card:focus-visible .card-cta { transform: none; }
.card-body { padding: 18px 20px 22px; display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.card h3 { font-family: var(--serif); font-weight: 500; font-size: 1.22rem; line-height: 1.2; }
.price { font-family: var(--serif); font-size: 1.2rem; font-weight: 600; color: var(--terra); white-space: nowrap; }
.card.hide { display: none; }

.skeleton { border-radius: var(--radius); overflow: hidden; background: var(--paper); }
.skeleton .sk-media { aspect-ratio: 4/5; }
.skeleton .sk-line { height: 16px; margin: 18px 20px; border-radius: 8px; width: 60%; }
.sk-media, .sk-line { background: linear-gradient(90deg, var(--sand) 25%, var(--cream) 50%, var(--sand) 75%); background-size: 200% 100%; animation: shimmer 1.4s infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.empty-state { grid-column: 1 / -1; text-align: center; padding: 60px 20px; color: var(--muted); }
.empty-state button { margin-top: 16px; }

/* ===== Contact ===== */
.contact { position: relative; overflow: hidden; background: var(--ink); color: var(--sand); border-radius: 36px; padding: clamp(50px, 8vw, 90px) clamp(24px, 6vw, 80px); text-align: center; }
.contact p { max-width: 46ch; margin: 18px auto 34px; opacity: .85; font-size: 1.08rem; }
.contact .eyebrow::before { display: none; }
.contact-deco { position: absolute; right: -40px; top: -30px; width: 260px; fill: none; stroke: rgba(232, 160, 102, .18); stroke-width: 2.4; transform-origin: 100px 0; animation: swing 7s var(--ease-in-out) infinite alternate; }

/* ===== Admin ===== */
.admin { border-top: 1.5px dashed var(--sand-2); }
.admin-login { max-width: 460px; display: flex; flex-direction: column; gap: 10px; }
.pass-row { display: flex; gap: 10px; }
.pass-row input { flex: 1; }
.admin-panel { animation: rise .7s var(--ease-out); }
@keyframes rise { from { opacity: 0; transform: translateY(20px); } }
.admin-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; padding: 16px 20px; background: var(--paper); border-radius: var(--radius); }
.admin-bar p { color: var(--muted); font-size: .92rem; }
.admin-bar-actions { display: flex; gap: 8px; }
.admin-list { display: flex; flex-direction: column; gap: 10px; }
.admin-item { display: grid; grid-template-columns: 64px 1fr auto auto; gap: 16px; align-items: center; padding: 12px 16px 12px 12px; background: var(--paper); border-radius: 16px; transition: transform .4s var(--ease-out), box-shadow .4s, opacity .4s; animation: rise .5s var(--ease-out) backwards; animation-delay: var(--d, 0s); }
.admin-item:hover { box-shadow: 0 10px 30px -18px rgba(92, 53, 25, .4); }
.admin-item.removing { opacity: 0; transform: translateX(40px); }
.admin-thumb { width: 64px; height: 64px; border-radius: 12px; overflow: hidden; background: var(--sand); display: grid; place-items: center; }
.admin-thumb img { width: 100%; height: 100%; object-fit: cover; }
.admin-thumb .ph { width: 70%; }
.admin-info strong { display: block; font-weight: 600; }
.admin-info small { color: var(--muted); }
.admin-actions { display: flex; gap: 6px; }
.icon-btn { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--sand); background: transparent; cursor: pointer; display: grid; place-content: center; transition: background .3s, border-color .3s, transform .3s var(--ease-spring); }
.icon-btn:hover { background: var(--sand); transform: scale(1.08); }
.icon-btn.del:hover { background: var(--danger); border-color: var(--danger); color: var(--paper); }

/* Switch */
.switch { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; user-select: none; font-weight: 500; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch .track { width: 46px; height: 26px; border-radius: 999px; background: var(--sand-2); position: relative; transition: background .35s; flex-shrink: 0; }
.switch .thumb { position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--paper); box-shadow: 0 2px 6px rgba(0, 0, 0, .2); transition: transform .45s var(--ease-spring); }
.switch input:checked + .track { background: var(--leaf); }
.switch input:checked + .track .thumb { transform: translateX(20px); }
.switch input:focus-visible + .track { outline: 2.5px solid var(--terra); outline-offset: 3px; }
.switch small { font-weight: 400; color: var(--muted); font-size: .82rem; }

/* ===== Modals ===== */
.modal { margin: auto; border: 0; padding: 0; border-radius: 26px; background: var(--paper); color: var(--ink); width: min(860px, calc(100vw - 28px)); max-height: calc(100dvh - 28px); overflow: auto; box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .5); }
.modal::backdrop { background: rgba(46, 26, 14, .55); backdrop-filter: blur(4px); }
.modal[open] { animation: modalIn .6s var(--ease-out); }
.modal[open]::backdrop { animation: fadeIn .4s forwards; opacity: 0; }
.modal.closing { animation: modalOut .3s var(--ease-in-out) forwards; }
@keyframes modalIn { from { opacity: 0; transform: translateY(30px) scale(.96); } }
@keyframes modalOut { to { opacity: 0; transform: translateY(20px) scale(.97); } }
.modal-close { position: absolute; top: 14px; right: 14px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(251, 246, 239, .9); cursor: pointer; display: grid; place-content: center; transition: transform .4s var(--ease-spring); }
.modal-close:hover { transform: rotate(90deg); }
#productModal[open] { display: grid; grid-template-columns: 1fr 1fr; }
.pm-media { background: var(--sand); min-height: 320px; display: grid; place-items: center; }
.pm-media img { width: 100%; height: 100%; object-fit: cover; }
.pm-media .ph { width: 55%; }
.pm-body { padding: 44px 36px 36px; display: flex; flex-direction: column; gap: 14px; }
.pm-cat { font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--terra); }
.pm-body h3 { font-family: var(--serif); font-weight: 400; font-size: 2.2rem; line-height: 1.05; letter-spacing: -.02em; }
.pm-body p { color: var(--muted); flex: 1; }
.pm-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 18px; border-top: 1px solid var(--sand); }
.pm-foot .price { font-size: 1.6rem; }

.form-modal { width: min(560px, calc(100vw - 28px)); }
.form-modal form { padding: 34px 30px 28px; display: flex; flex-direction: column; gap: 18px; }
.form-modal h3, .confirm-modal h3 { font-family: var(--serif); font-weight: 400; font-size: 1.8rem; }
.photo-drop { position: relative; display: grid; place-items: center; aspect-ratio: 16/9; border: 2px dashed var(--sand-2); border-radius: 18px; overflow: hidden; cursor: pointer; background: var(--cream); transition: border-color .3s, background .3s; }
.photo-drop:hover, .photo-drop.drag { border-color: var(--terra); background: #f1e2cf; }
.photo-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.photo-drop img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: fadeIn .5s; }
.photo-hint { display: flex; flex-direction: column; align-items: center; gap: 6px; color: var(--muted); font-size: .9rem; pointer-events: none; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.full { grid-column: 1 / -1; }
.form-actions { display: flex; justify-content: flex-end; gap: 10px; }
.confirm-modal { width: min(420px, calc(100vw - 28px)); padding: 30px; }
.confirm-modal p { color: var(--muted); margin: 10px 0 22px; }

/* ===== Footer ===== */
.footer { max-width: 1240px; margin: 0 auto; padding: 36px clamp(20px, 5vw, 48px) 44px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: var(--muted); font-size: .88rem; border-top: 1px solid var(--sand); }
.footer-logo { font-family: var(--serif); font-size: 1.2rem; color: var(--ink); }

/* ===== Toast ===== */
.toast { position: fixed; left: 50%; bottom: 26px; z-index: 250; padding: 13px 22px; border-radius: 999px; background: var(--ink); color: var(--paper); font-size: .92rem; font-weight: 500; transform: translate(-50%, 30px); opacity: 0; visibility: hidden; transition: transform .6s var(--ease-spring), opacity .3s, visibility .3s; pointer-events: none; max-width: calc(100vw - 32px); text-align: center; }
.toast.show { transform: translate(-50%, 0); opacity: 1; visibility: visible; }
.toast.error { background: var(--danger); }

/* ===== Floating WhatsApp ===== */
.fab {
  position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 58px; height: 58px; border-radius: 50%;
  background: var(--wa); color: #fff; display: grid; place-content: center; text-decoration: none;
  box-shadow: 0 14px 30px -10px rgba(43, 154, 85, .6);
  opacity: 0; transform: translateY(20px) scale(.6); pointer-events: none;
  transition: opacity .4s, transform .5s var(--ease-spring);
}
.fab.show { opacity: 1; transform: none; pointer-events: auto; }
.fab::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: ping 2.4s var(--ease-out) infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }
.fab:active { transform: scale(.92); }

/* Header extras */
.header-right { justify-self: end; display: flex; align-items: center; gap: 14px; }
.greet { display: inline-flex; align-items: center; gap: 8px; border: 0; background: none; cursor: pointer; padding: 0; }
.greet-avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--terra); color: var(--paper); display: grid; place-content: center; font-family: var(--serif); font-size: 1rem; font-weight: 600; }
.header-cta { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: var(--ink); color: var(--paper); font-size: .85rem; font-weight: 600; text-decoration: none; transition: background .3s, transform .3s var(--ease-out); }
.header-cta:hover { background: var(--terra); transform: translateY(-2px); }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 8px; padding-top: 84px; padding-bottom: 48px; min-height: auto; }
  .hero-art { height: 300px; order: -1; }
  .sun { width: 250px; bottom: 0; }
  .hero-badge { width: 80px; height: 80px; font-size: 1.05rem; right: 2%; top: 4%; }
  .badge-ring text { font-size: 10px; letter-spacing: 2.2px; }
  .scroll-hint { display: none; }
  .steps { grid-template-columns: 1fr; gap: 14px; }
  .steps-line { display: none; }
  .header-cta { display: none; }
}
@media (max-width: 640px) {
  html { scroll-padding-top: 64px; }
  .site-header { padding: 10px 14px; }
  .site-header.scrolled { padding-block: 8px; }
  .logo { font-size: 1.12rem; }
  .greet-text { display: none; }
  .burger { width: 42px; height: 42px; }

  .hero-title { font-size: clamp(2.5rem, 11.5vw, 3.2rem); margin-bottom: 18px; }
  .hero-sub { font-size: 1rem; margin-bottom: 26px; }
  .hero-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .hero-actions .btn { padding: 13px 12px; font-size: .92rem; }
  .eyebrow { font-size: .7rem; margin-bottom: 14px; letter-spacing: .14em; }

  .marquee { padding: 14px 0; margin: 4px 0 8px; }
  .marquee-track { font-size: 1.15rem; gap: 22px; }

  .section { padding: 56px 16px; }
  .section-head { margin-bottom: 26px; }
  .section-head.split { flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 18px; }
  .section-head.split > * { min-width: 0; }
  .section-title { font-size: clamp(2rem, 9vw, 2.5rem); }

  /* Steps as compact rows */
  .step { display: grid; grid-template-columns: 52px 1fr; column-gap: 16px; align-items: start; padding: 18px 18px 20px; }
  .step-icon { grid-row: span 2; width: 52px; height: 52px; margin: 0; }
  .step-icon svg { width: 24px; height: 24px; }
  .step-num { top: 16px; right: 18px; font-size: 1.6rem; }
  .step h3 { font-size: 1.2rem; margin: 4px 0 4px; }
  .step p { font-size: .92rem; }

  /* Filters: single scrollable line */
  .filters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; margin-inline: -16px; border-radius: 0; padding: 5px 16px; background: transparent; scroll-snap-type: x proximity; }
  .filters::-webkit-scrollbar { display: none; }
  .filter { flex-shrink: 0; background: var(--paper); scroll-snap-align: start; transition: color .35s, background .35s; }
  .filter[aria-selected="true"] { background: transparent; }
  .filter-pill { top: 5px; }

  /* Catalog: 2 per row */
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .card { border-radius: 14px; }
  .card-media { aspect-ratio: 1; }
  .card-media .ph { width: 62%; }
  .card-tag { top: 8px; left: 8px; padding: 3px 8px; font-size: .66rem; }
  .card-tag.out { right: 8px; }
  .card:not(.out) .card-tag:not(.out) { display: none; }
  .card-cta { display: none; }
  .card-body { flex-direction: column; gap: 4px; padding: 10px 12px 14px; }
  .card h3 { font-size: .98rem; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .price { font-size: 1rem; }
  .card-body::after { content: "Ver más →"; font-size: .76rem; font-weight: 600; color: var(--muted); margin-top: 2px; }
  .skeleton .sk-media { aspect-ratio: 1; }
  .skeleton .sk-line { margin: 12px; }

  .contact { border-radius: 24px; padding: 44px 20px; }
  .contact p { font-size: 1rem; margin: 14px auto 26px; }
  .contact .btn { width: 100%; }
  .contact-deco { width: 170px; right: -50px; }

  /* Modals become bottom sheets */
  .modal { width: 100%; max-width: 100%; margin: auto 0 0; border-radius: 24px 24px 0 0; max-height: 92dvh; }
  .modal[open] { animation: sheetIn .55s var(--ease-out); }
  .modal.closing { animation: sheetOut .3s var(--ease-in-out) forwards; }
  .modal::before { content: ""; display: block; width: 42px; height: 4px; border-radius: 4px; background: var(--sand-2); margin: 10px auto 0; }
  #productModal[open] { display: block; }
  #productModal::before { position: absolute; left: 50%; margin-left: -21px; z-index: 3; background: rgba(251, 246, 239, .8); }
  .pm-media { aspect-ratio: 4/3; min-height: 0; }
  .pm-body { padding: 22px 20px 28px; gap: 10px; }
  .pm-body h3 { font-size: 1.7rem; }
  .pm-foot .btn { flex: 1; }
  .form-modal form { padding: 18px 18px 24px; }
  .confirm-modal { padding: 22px 20px 28px; }
  .form-actions .btn { flex: 1; }

  .admin-item { grid-template-columns: 56px 1fr; gap: 10px 12px; }
  .admin-thumb { width: 56px; height: 56px; }
  .admin-item .switch { grid-column: 1 / 2; grid-row: 2; }
  .admin-item .switch small { display: none; }
  .admin-actions { grid-column: 2; grid-row: 2; justify-content: flex-end; }
  .admin-bar { padding: 14px; }
  .admin-bar-actions { width: 100%; }
  .admin-bar-actions .btn { flex: 1; }
  .form-grid { grid-template-columns: 1fr; }
  .pass-row { flex-direction: column; }

  .footer { flex-direction: column; align-items: center; text-align: center; padding-bottom: 90px; }
  .fab { width: 54px; height: 54px; right: 14px; bottom: 14px; }
  .toast { bottom: 82px; }
}
@media (max-width: 360px) {
  .grid { gap: 10px; }
  .card h3 { font-size: .9rem; }
  .hero-actions { grid-template-columns: 1fr; }
}
@keyframes sheetIn { from { transform: translateY(100%); } }
@keyframes sheetOut { to { transform: translateY(100%); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .draw-hero, .vine, .loader-svg .draw { stroke-dashoffset: 0; }
}
