:root {
    --ink:#171513;--paper:#faf8f5;--white:#fff;--orange:#fea806;--muted:#625b53;--line:#e6dfd7;
    --radius:14px;--dark:#111;--accent-text:#8c4100;
    color:var(--ink);background:var(--paper);font:16px/1.5 system-ui,-apple-system,"Segoe UI",sans-serif;
}
*,*::after,*::before{box-sizing:border-box} body{margin:0} [hidden]{display:none!important}
a{color:inherit;text-underline-offset:.2em} img{max-width:100%;height:auto}
h1,h2,h3{line-height:1.16;letter-spacing:-.035em;margin:0 0 .45em} h1{font-size:clamp(2rem,5vw,3rem)}
h2{font-size:1.35rem} p{margin:.4em 0 .8em;color:var(--muted)}
:focus-visible{outline:3px solid #087e88;outline-offset:4px}
.wrap{width:min(1160px,calc(100% - 40px));margin-inline:auto}
.skip{position:fixed;z-index:10;top:8px;left:8px;background:white;padding:12px;transform:translateY(-150%)}
.skip:focus{transform:none}
.masthead{background:#090909;color:white;border-bottom:3px solid var(--orange)}
.navline{display:flex;align-items:center;gap:.85rem;min-height:68px}
.store-header .navline{justify-content:space-between}
.brand{font-size:1.4rem;font-weight:900;letter-spacing:-.045em;text-decoration:none;white-space:nowrap}
.brand span{color:var(--orange)}
.admin-tag{color:#ddd;border:1px solid #575757;border-radius:100px;font-size:.75rem;padding:1px 9px;margin-left:auto}
.hero{display:grid;grid-template-columns:1.25fr minmax(260px, .85fr);gap:clamp(25px,5vw,64px);align-items:center;margin-top:32px;padding:clamp(28px,5vw,62px);border-radius:20px;background:radial-gradient(ellipse at 79% 14%,#493119 0,#221912 42%,#111 79%);color:white}
.hero h1{font-size:clamp(2.65rem,5.5vw,4.5rem);line-height:.99;letter-spacing:-.065em}
.hero h1 em{font-style:normal;color:var(--orange)}
.hero-copy>p:not(.eyebrow){color:#eee4db}
.hero-copy .delivery-note{margin-top:1.25rem;font-weight:700}
.eyebrow{font-size:.8rem;text-transform:uppercase;letter-spacing:.13em;font-weight:850;color:var(--accent-text)}
.hero .eyebrow{color:var(--orange);margin:0 0 1.1rem}
.card{border:1px solid var(--line);border-radius:var(--radius);background:#fff;color:var(--ink);padding:clamp(18px,3vw,29px)}
.gate form,.login form{display:grid;gap:.5rem;margin-top:1rem}
.gate form .button,.login form .button{margin-top:.4rem}
.site-footer{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;color:var(--muted);border-top:1px solid var(--line);margin-top:40px;padding-block:16px;font-size:.87rem}
.message-card,.shop{margin-top:32px}.message-card{max-width:630px}
.shop{min-height:60vh}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.section-heading h1,.section-heading h2{margin:0}
.showcase{margin-top:30px}
.showcase-track{display:flex;overflow-x:auto;gap:12px;padding:12px 2px;scroll-snap-type:x proximity}
.product-tile{min-width:0;border:1px solid var(--line);background:#fff;border-radius:var(--radius);padding:12px}
.showcase-track .product-tile{flex:0 0 180px;scroll-snap-align:start}
.product-tile img{display:block;aspect-ratio:10/7;width:100%;height:auto;object-fit:contain}
.product-tile h2,.product-tile h3{font-size:1rem;overflow-wrap:anywhere}
.product-tile p{font-weight:800;color:var(--ink);margin:0}
.product-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px;margin:20px 0}
label{display:block;font-weight:720;margin-bottom:.22rem}
input,select{display:block;width:100%;min-height:43px;border:1px solid #ada49a;border-radius:8px;padding:.55rem .7rem;font:inherit;color:var(--ink);background:#fff}
small,.optional{color:var(--muted);font-size:.85rem;font-weight:500}
small{display:block;margin-top:.3rem}
.button{border:1px solid transparent;border-radius:8px;background:var(--orange);color:#211503;min-height:43px;display:inline-flex;align-items:center;justify-content:center;text-decoration:none;padding:.55rem .95rem;font:inherit;font-weight:780;cursor:pointer}
.button:hover{background:#ffba35}.button.secondary{background:#fff;border-color:#bcb3a8;color:var(--ink)}
.button.secondary:hover{background:#f7f2ec}.button:disabled{cursor:not-allowed;opacity:.6}
.admin-main{padding-block:clamp(20px,4vw,46px) 48px}
.login{max-width:460px;margin:auto}.login form label:not(:first-of-type){margin-top:.4rem}
.dash-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:20px}
.dash-grid p{margin:0;font-size:1.15rem}
.menu-toggle{display:grid;place-items:center;width:44px;height:44px;border:1px solid #515151;border-radius:8px;background:#111;color:white;cursor:pointer;padding:9px}
.menu-toggle svg{width:23px;height:23px}.menu-toggle:hover{border-color:var(--orange)}
.drawer-open{overflow:hidden}
.drawer{position:fixed;inset:0 auto 0 0;margin:0;padding:0;max-width:none;max-height:none;width:min(320px,85vw);height:100%;height:100dvh;border:0;background:#111;color:white}
.drawer::backdrop{background:#08060580}
.drawer-inner{min-height:100%;display:flex;flex-direction:column}
.drawer-head{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;border-bottom:1px solid #373737}
.drawer-head .menu-toggle{font-size:1.8rem;line-height:1}
.drawer nav a,.drawer summary,.drawer-footer button{display:block;padding:14px 18px;width:100%;color:#fff;border:0;border-bottom:1px solid #363636;background:transparent;font:inherit;text-align:left;text-decoration:none;cursor:pointer}
.drawer summary{display:list-item;list-style:revert}
.drawer nav details a{padding-left:35px}
.drawer nav [aria-current=page]{background:var(--orange);color:#1d1200;font-weight:780}
.drawer nav a:hover:not([aria-current]),.drawer summary:hover,.drawer-footer button:hover{background:#252525}
.drawer-footer{margin-top:auto}
.table-wrap{overflow:auto;border:1px solid var(--line);border-radius:var(--radius);margin-top:18px;background:white}
table{width:100%;border-collapse:collapse;text-align:left;font-variant-numeric:tabular-nums}
td,th{padding:12px 14px;border-bottom:1px solid var(--line)} thead th{background:#f4eee7;white-space:nowrap;font-size:.9rem}
tbody tr:last-child>*{border-bottom:0}.number{text-align:right}
.empty{text-align:center;color:var(--muted);padding:24px}
.pager{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:16px;font-size:.9rem}
.pager a{font-weight:770}
.wizard,.error-summary{max-width:810px}.wizard{margin-top:16px}
.steps{padding:0;list-style:none;display:flex;flex-wrap:wrap;gap:6px 22px;margin:0 0 24px;color:var(--muted);border-bottom:1px solid var(--line)}
.steps li{padding-bottom:9px}
.steps [aria-current=step]{border-bottom:3px solid var(--orange);font-weight:800;color:var(--ink)}
fieldset{padding:0;margin:0;border:0;min-width:0} fieldset+fieldset{margin-top:24px}
fieldset[hidden]+fieldset{margin-top:0}
legend{font-size:1.3rem;font-weight:820;padding:0;margin-bottom:14px}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px 18px;align-items:start}
.form-grid .wide{grid-column:1/-1}
.form-actions{display:flex;justify-content:end;gap:10px;margin-top:22px}
.rule{margin-top:18px}.rule-fields{margin-top:15px}
.photo-preview{display:block;max-width:160px;max-height:120px;margin-top:10px;border-radius:8px}
.supplier-rows{display:grid;gap:12px;margin-bottom:14px}
.supplier-row{padding:14px;border:1px solid var(--line);border-radius:10px}
.text-button{margin-top:12px;color:#9f211b;text-decoration:underline;border:0;background:transparent;font:inherit;cursor:pointer;padding:4px}
.error-summary,.field-error,.success{padding:.62em .85em;border-radius:8px}
.error-summary,.field-error{background:#fff1ef;color:#8c1b13}.error-summary ul{margin:5px 0;padding-inline-start:1.4em}
.success{background:#e8f6e9;color:#175623}
@media(max-width:680px){
  .wrap{width:calc(100% - 26px)}.navline{min-height:58px}
  .hero{grid-template-columns:1fr;margin-top:16px;gap:20px;padding:22px 16px;border-radius:15px}
  .hero-copy{padding-inline:4px}.hero h1{font-size:clamp(2.5rem,10vw,3.3rem)}
  .card{padding:18px}.dash-grid,.form-grid{grid-template-columns:1fr}.form-grid .wide{grid-column:auto}
  td,th{padding:10px 8px}.table-wrap{font-size:.84rem}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important}}
