:root{
  --cream:#f7f1e6;--paper:#fffaf2;--ink:#2a2118;--muted:#6f6253;
  --semola:#e9c46a;--crusco:#b5402a;--olive:#4f5d2f;--line:#e4d8c4;
  --radius:18px;--max:1180px;
}
*{box-sizing:border-box;margin:0;padding:0}
body{background:var(--cream);color:var(--ink);font-family:Inter,system-ui,sans-serif;font-size:16px;line-height:1.6;-webkit-font-smoothing:antialiased}
body.locked{overflow:hidden}
img{display:block;max-width:100%}
a{color:inherit}
button{font:inherit;color:inherit;cursor:pointer}
button:disabled{cursor:not-allowed;opacity:.5}
.wrap{max-width:var(--max);margin:0 auto;padding:0 24px}
h1,h2,h3{font-family:Fraunces,Georgia,serif;font-weight:600;line-height:1.15;letter-spacing:-.01em}
.eyebrow{font-size:.78rem;font-weight:600;letter-spacing:.16em;text-transform:uppercase;color:var(--crusco)}
.muted{color:var(--muted)}

.nav{position:sticky;top:0;z-index:40;background:rgba(247,241,230,.95);backdrop-filter:blur(10px);border-bottom:1px solid var(--line)}
.nav .wrap{display:flex;align-items:center;justify-content:space-between;height:70px}
.brand{font-family:Fraunces,serif;font-size:1.3rem;font-weight:600;text-decoration:none}
.brand small{display:block;font-family:Inter,sans-serif;font-size:.6rem;letter-spacing:.2em;text-transform:uppercase;font-weight:500;color:var(--muted);margin-top:-2px}
.links{display:flex;gap:28px;align-items:center}
.links a{text-decoration:none;font-weight:500;font-size:.95rem}
.cart-btn{display:inline-flex;align-items:center;gap:8px;background:var(--ink);color:var(--cream);border:0;border-radius:999px;padding:10px 18px;font-weight:600;font-size:.92rem}
.cart-btn svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8}
.cart-btn .count{background:var(--semola);color:var(--ink);border-radius:999px;font-size:.75rem;min-width:22px;height:22px;display:grid;place-items:center;padding:0 6px}
.cart-btn .count:empty{display:none}

.shop-hero{padding:64px 0 40px}
.shop-hero h1{font-size:clamp(2.1rem,5vw,3.6rem);margin:12px 0 16px;max-width:18ch}
.shop-hero h1 em{font-style:italic;font-weight:400;color:var(--crusco)}
.shop-hero>.wrap>p{color:var(--muted);max-width:58ch;font-size:1.05rem}
.ship{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:28px;max-width:760px}
.ship div{display:flex;gap:14px;align-items:center;background:var(--paper);border:1px solid var(--line);border-radius:14px;padding:16px 18px}
.ship svg{flex:0 0 28px;height:28px;fill:none;stroke:var(--olive);stroke-width:1.7}
.ship b{display:block;font-size:.95rem}
.ship p{font-size:.88rem;color:var(--muted);line-height:1.4}

.shop{padding-bottom:90px}
.toolbar{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:22px;flex-wrap:wrap}
.sort{display:flex;align-items:center;gap:10px;font-size:.9rem;color:var(--muted)}
.sort select{font:inherit;color:var(--ink);background:var(--paper);border:1px solid var(--line);border-radius:10px;padding:8px 12px}

.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:22px;transition:opacity .2s}
.grid.dim{opacity:.55}
.tile{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;display:flex;flex-direction:column}
.tile .img{aspect-ratio:4/3;background:var(--cream);overflow:hidden}
.tile .img img{width:100%;height:100%;object-fit:cover;transition:transform .4s}
.tile:hover .img img{transform:scale(1.04)}
.tile .noimg{width:100%;height:100%;display:grid;place-items:center;color:var(--muted);font-family:Fraunces,serif}
.tile .body{padding:18px 20px 20px;display:flex;flex-direction:column;gap:6px;flex:1}
.tile h3{font-size:1.25rem}
.tile .meta{font-size:.84rem;color:var(--muted)}
.ribbon{align-self:flex-start;font-size:.72rem;font-weight:600;letter-spacing:.06em;text-transform:uppercase;background:var(--semola);border-radius:999px;padding:3px 10px}
.price{display:flex;align-items:baseline;gap:10px;margin-top:4px}
.price b{font-size:1.3rem;font-family:Fraunces,serif}
.price s{color:var(--muted);font-size:.9rem}
.price span{font-size:.85rem;color:var(--muted)}
.buy{display:flex;gap:10px;margin-top:auto;padding-top:12px}
.stepper{display:inline-flex;align-items:center;border:1px solid var(--line);border-radius:999px;background:var(--cream)}
.stepper button{background:none;border:0;width:34px;height:38px;font-size:1.1rem}
.stepper input{width:40px;text-align:center;border:0;background:none;font:inherit;font-weight:600;-moz-appearance:textfield}
.stepper input::-webkit-outer-spin-button,.stepper input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.add{flex:1;background:var(--crusco);color:#fff;border:0;border-radius:999px;font-weight:600;font-size:.92rem;padding:0 14px;height:40px}
.add:hover:not(:disabled){background:#9a3522}
.soldout{flex:1;text-align:center;font-size:.9rem;color:var(--muted);border:1px dashed var(--line);border-radius:999px;padding:9px}

.skeleton .img,.skeleton .bar{background:linear-gradient(90deg,#efe6d6,#f7f0e3,#efe6d6);background-size:200% 100%;animation:sh 1.4s infinite}
.skeleton .bar{height:14px;border-radius:6px;margin:6px 0}
@keyframes sh{to{background-position:-200% 0}}
.state{grid-column:1/-1;text-align:center;padding:60px 20px;background:var(--paper);border:1px dashed var(--line);border-radius:var(--radius)}
.state h3{margin-bottom:6px}
.btn-outline{background:none;border:1.5px solid var(--ink);border-radius:999px;padding:10px 22px;font-weight:600}
.more{text-align:center;margin-top:30px}

footer{background:#1d1711;color:rgba(247,241,230,.65);font-size:.88rem;padding:28px 0}
footer .wrap{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap}

.backdrop{position:fixed;inset:0;background:rgba(29,23,17,.45);z-index:60}
.drawer{position:fixed;top:0;right:0;bottom:0;width:min(440px,100%);background:var(--paper);z-index:70;display:flex;flex-direction:column;box-shadow:-20px 0 50px rgba(0,0,0,.15);outline:none}
.drawer[hidden],.backdrop[hidden]{display:none}
.drawer-head{display:flex;justify-content:space-between;align-items:center;padding:20px 22px;border-bottom:1px solid var(--line)}
.drawer-head h2{font-size:1.4rem}
.close{background:none;border:0;font-size:1.2rem;width:38px;height:38px;border-radius:50%}
.close:hover{background:var(--cream)}
.drawer-body{flex:1;overflow:auto;padding:8px 22px}
.line{display:grid;grid-template-columns:64px 1fr auto;gap:14px;padding:16px 0;border-bottom:1px solid var(--line);align-items:start}
.line img,.line .ph{width:64px;height:64px;border-radius:10px;object-fit:cover;background:var(--cream)}
.line h4{font-size:.98rem;font-weight:600}
.line .unit{font-size:.82rem;color:var(--muted)}
.line .warn{font-size:.82rem;color:var(--crusco)}
.line .ctl{display:flex;align-items:center;gap:10px;margin-top:8px}
.line .ctl .stepper button{height:30px;width:30px}
.line .ctl .stepper span{min-width:26px;text-align:center;font-weight:600;font-size:.9rem}
.rm{background:none;border:0;color:var(--muted);font-size:.82rem;text-decoration:underline}
.line .lp{font-weight:600;text-align:right}
.line .lp s{display:block;font-weight:400;color:var(--muted);font-size:.82rem}
.empty{padding:50px 0;text-align:center;color:var(--muted)}
.drawer-foot{border-top:1px solid var(--line);padding:18px 22px 22px;display:grid;gap:10px}
.drawer-foot:empty{display:none}
.row{display:flex;justify-content:space-between;font-size:.94rem}
.row.total{font-size:1.1rem;font-weight:600;font-family:Fraunces,serif}
.note{font-size:.84rem;color:var(--muted);background:var(--cream);border-radius:10px;padding:10px 12px;line-height:1.45}
.note b{color:var(--olive)}
.err{font-size:.86rem;color:var(--crusco)}
.checkout{background:var(--crusco);color:#fff;border:0;border-radius:999px;height:50px;font-weight:600;font-size:1rem;margin-top:4px}
.checkout:hover:not(:disabled){background:#9a3522}

@media (max-width:720px){
  .wrap{padding:0 16px}
  .hide-sm{display:none}
  .ship{grid-template-columns:1fr}
  .shop-hero{padding:40px 0 28px}
  .cart-btn span{display:none}
}
.brand-logo{display:inline-flex;align-items:center;text-decoration:none}
.brand-logo img{height:66px;width:auto;filter:brightness(0);opacity:.86}
.foot-logo{height:78px;width:auto;opacity:.9}
footer .wrap{align-items:center}
@media (max-width:760px){.brand-logo img{height:56px}}

.timing{display:flex;gap:14px;align-items:flex-start;margin-top:14px;max-width:760px;background:#fff4dc;border:1px solid #f0dca8;border-radius:14px;padding:16px 18px}
.timing svg{flex:0 0 26px;height:26px;fill:none;stroke:var(--crusco);stroke-width:1.8}
.timing b{display:block;font-size:.95rem;margin-bottom:2px}
.timing p{font-size:.9rem;color:var(--ink);line-height:1.5}

.timing{align-items:center}
.badge48{flex:0 0 64px;width:64px;height:64px;border-radius:50%;background:var(--crusco);color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;line-height:1;box-shadow:0 6px 16px rgba(181,64,42,.25)}
.badge48 b{font-family:Fraunces,serif;font-size:1.55rem;font-weight:600;display:block;margin:0;color:#fff}
.badge48{font-size:.68rem;letter-spacing:.12em;text-transform:uppercase;font-weight:600}

.rav-banner{display:flex;flex-wrap:wrap;gap:14px;align-items:center;justify-content:space-between;margin-top:40px;padding:22px 26px;border-radius:var(--radius);background:var(--ink);color:var(--cream);text-decoration:none}
.rav-banner b{display:block;font-family:Fraunces,serif;font-size:1.25rem;color:#fff;margin-bottom:2px}
.rav-banner span{max-width:60ch;font-size:.95rem;color:rgba(247,241,230,.8)}
.rav-banner .go{background:var(--semola);color:var(--ink);border-radius:999px;padding:10px 18px;font-weight:600;font-size:.92rem}
.rav-banner:hover .go{background:#f0d283}
