/* Biohof Zehrer – public site. Cream paper, brown ink, a little sage. */
@font-face { font-family: "Fraunces"; font-weight: 500; font-display: swap; src: url("../fonts/fraunces-500.woff2") format("woff2"); }
@font-face { font-family: "Fraunces"; font-weight: 500; font-style: italic; font-display: swap; src: url("../fonts/fraunces-500-italic.woff2") format("woff2"); }
@font-face { font-family: "Fraunces"; font-weight: 600; font-display: swap; src: url("../fonts/fraunces-600.woff2") format("woff2"); }
@font-face { font-family: "Fraunces"; font-weight: 700; font-display: swap; src: url("../fonts/fraunces-700.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 400 700; font-display: swap; src: url("../fonts/inter-var.woff2") format("woff2"); }

:root {
  --cream: #fbf6ec;
  --paper: #fffdf8;
  --sand: #f2e8d6;
  --line: #e6d9c3;
  --line-2: #d5c4a8;
  --brown: #62341a;
  --brown-2: #7c4625;
  --ink: #33200f;
  --muted: #7a6553;
  --green: #4f7a3a;
  --green-soft: #e7eedd;
  --ochre: #b8791f;
  --ochre-soft: #f6e6c8;
  --red: #a8382b;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(51,32,15,.06), 0 10px 30px rgba(51,32,15,.07);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 17px/1.65 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brown); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brown-2); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; color: var(--brown); margin: 0 0 .45em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--ochre); outline-offset: 2px; border-radius: 4px; }
.icon { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; }
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 820px; }
@media (max-width: 600px) { .container { padding: 0 16px; } }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.center { text-align: center; }
.skip { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--brown); color: #fff; padding: 10px 16px; }
.skip:focus { left: 10px; top: 10px; }

/* ---- buttons ---- */
.buttons { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.buttons.center { justify-content: center; }
.buttons.end { justify-content: flex-end; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px; border: 2px solid var(--brown);
  font: 600 1rem/1 var(--sans); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background .18s, color .18s, transform .18s, box-shadow .18s;
}
.btn-primary { background: var(--brown); color: #fff; }
.btn-primary:hover { background: var(--brown-2); border-color: var(--brown-2); color: #fff; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(98,52,26,.22); }
.btn-ghost { background: transparent; color: var(--brown); }
.btn-ghost:hover { background: var(--brown); color: #fff; }
.btn .icon { transition: transform .18s; }
.btn:hover .icon:last-child { transform: translateX(3px); }
.btn-sm { padding: 9px 16px; font-size: .9rem; }
.btn-block { width: 100%; }
.icon-btn { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 0; background: none; color: var(--muted); cursor: pointer; }
.icon-btn:hover { background: var(--sand); color: var(--red); }

/* ---- bars ---- */
.demo-bar { background: var(--ochre); color: #fff; text-align: center; font-size: .85rem; font-weight: 600; padding: 6px 12px; }
.announce { background: var(--green); color: #fff; text-align: center; font-size: .95rem; padding: 8px 16px; }
.announce a { color: #fff; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }

/* ---- header ---- */
.topbar { position: sticky; top: 0; z-index: 50; background: rgba(251,246,236,.92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.topbar.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(51,32,15,.06); }
.topbar-inner { display: flex; align-items: center; gap: 24px; height: 84px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand img { width: 64px; height: auto; }
.brand-name { font: italic 500 1.45rem/1 var(--serif); color: var(--brown); }
.mainnav { margin-left: auto; }
.mainnav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.mainnav a { display: block; padding: 10px 14px; border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 500; }
.mainnav a:hover { background: var(--sand); color: var(--brown); }
.mainnav a.active { color: var(--brown); background: var(--sand); }
.cartlink { position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; border: 2px solid var(--brown); color: var(--brown); text-decoration: none; font-weight: 600; }
.cartlink:hover { background: var(--brown); color: #fff; }
.cartlink .bubble { position: absolute; top: -8px; right: -8px; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 99px; background: var(--ochre); color: #fff; font-size: .8rem; line-height: 24px; text-align: center; border: 2px solid var(--cream); }
.navtoggle { display: none; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--sand); color: var(--brown); cursor: pointer; place-items: center; }
.navtoggle .icon { width: 22px; height: 22px; }
.navtoggle .i-close { display: none; }
@media (max-width: 920px) {
  .topbar-inner { height: 70px; gap: 12px; }
  .brand img { width: 50px; }
  .brand-name { font-size: 1.2rem; }
  .cartlink { margin-left: auto; padding: 9px 12px; }
  .cartlink-label { display: none; }
  .navtoggle { display: grid; }
  .mainnav { position: fixed; inset: 70px 0 auto 0; margin: 0; background: var(--cream); border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px rgba(51,32,15,.12); padding: 12px 16px 20px; display: none; }
  .mainnav ul { flex-direction: column; }
  .mainnav a { padding: 14px 16px; font-size: 1.1rem; border-radius: 12px; }
  body.nav-open .mainnav { display: block; }
  body.nav-open .navtoggle .i-open { display: none; }
  body.nav-open .navtoggle .i-close { display: block; }
}
@media (max-width: 380px) { .brand-name { display: none; } }

/* ---- flash ---- */
.flash { display: flex; gap: 10px; align-items: flex-start; margin: 18px 0 0; padding: 12px 16px; border-radius: 12px; background: var(--green-soft); color: #2f4d22; font-weight: 500; }
.flash .icon { margin-top: 3px; }
.flash-err { background: #f7e1dc; color: #7d2a20; }

/* ---- sections ---- */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section + .section { padding-top: 0; }
.section-head { max-width: 720px; margin-bottom: 36px; }
.section-head.align-center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker { font: 600 .8rem/1.2 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--green); margin: 0 0 12px; }
.lead { font-size: 1.15rem; color: var(--muted); }
.lead p:last-child { margin-bottom: 0; }

/* hero */
.hero { padding: clamp(28px, 5vw, 64px) 0 clamp(40px, 6vw, 72px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero h1 { margin-bottom: .35em; }
.hero .lead { font-size: 1.2rem; max-width: 34em; }
.hero-photo { margin: 0; position: relative; background: #fff; padding: 12px 12px 14px; border-radius: 6px; box-shadow: 0 2px 4px rgba(51,32,15,.08), 0 24px 60px rgba(51,32,15,.18); transform: rotate(1.4deg); }
.hero-photo img { border-radius: 2px; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.hero-photo::after { content: ""; position: absolute; top: -14px; left: 50%; width: 110px; height: 30px; transform: translateX(-50%) rotate(-3deg); background: rgba(242,232,214,.85); box-shadow: 0 1px 3px rgba(0,0,0,.08); }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-photo { order: -1; transform: rotate(.8deg); max-width: 640px; }
}

/* notice */
.notice-wrap { padding: 0 0 clamp(40px, 6vw, 72px); }
.notice { display: grid; grid-template-columns: auto 1fr auto; gap: 22px; align-items: center; padding: 26px 30px; border-radius: var(--radius); background: var(--brown); color: #f8efe2; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.notice::before { content: ""; position: absolute; inset: 6px; border: 1px dashed rgba(255,255,255,.25); border-radius: 12px; pointer-events: none; }
.notice h2 { color: #fff; font-size: 1.6rem; margin-bottom: .2em; }
.notice .prose p { margin: 0; }
.notice-icon { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: rgba(255,255,255,.12); }
.notice-icon .icon { width: 28px; height: 28px; }
.notice .buttons { margin: 0; }
.notice .btn-primary { background: #fff; color: var(--brown); border-color: #fff; }
.notice .btn-primary:hover { background: var(--ochre-soft); border-color: var(--ochre-soft); color: var(--brown); }
@media (max-width: 760px) { .notice { grid-template-columns: 1fr; padding: 24px; } .notice-icon { display: none; } }

/* steps */
.step-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: s; position: relative; }
.step { text-align: center; padding: 0 12px; position: relative; }
.step:not(:last-child)::after { content: ""; position: absolute; top: 44px; left: calc(50% + 60px); right: calc(-50% + 60px); border-top: 2px dashed var(--line-2); }
.step-icon { position: relative; display: inline-grid; place-items: center; width: 88px; height: 88px; border-radius: 50%; background: var(--paper); border: 2px solid var(--line); color: var(--brown); margin-bottom: 18px; box-shadow: var(--shadow); }
.step-icon .icon { width: 38px; height: 38px; stroke-width: 1.5; }
.step-no { position: absolute; top: -4px; right: -4px; width: 30px; height: 30px; border-radius: 50%; background: var(--green); color: #fff; font: 700 .9rem/30px var(--sans); }
.step h3 { margin-bottom: .3em; }
.step .prose { color: var(--muted); }
@media (max-width: 760px) {
  .step-list { grid-template-columns: 1fr; gap: 24px; }
  .step { display: grid; grid-template-columns: auto 1fr; text-align: left; gap: 0 18px; padding: 0; }
  .step-icon { grid-row: span 2; width: 70px; height: 70px; margin: 0; }
  .step-icon .icon { width: 30px; height: 30px; }
  .step:not(:last-child)::after { display: none; }
}

/* products */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 24px; }
.product { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .2s, box-shadow .2s; }
.product:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.product-img { position: relative; display: block; aspect-ratio: 4 / 3; background: var(--sand); overflow: hidden; }
/* the illustrations carry a painted paper border; zoom slightly so cards show the picture edge to edge */
.product-img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform .4s; }
.product:hover .product-img img { transform: scale(1.12); }
.tag { position: absolute; left: 12px; bottom: 12px; display: inline-flex; gap: 6px; align-items: center; padding: 5px 10px; border-radius: 99px; background: rgba(255,253,248,.94); color: var(--brown); font-size: .78rem; font-weight: 600; }
.product-body { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 20px; }
.product h3 { font-size: 1.2rem; margin-bottom: .3em; }
.product h3 a { color: inherit; text-decoration: none; }
.product h3 a::after { content: ""; position: absolute; inset: 0; }
.product { position: relative; }
.product-short { color: var(--muted); font-size: .95rem; margin-bottom: 14px; }
.product-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.price { font: 600 1.15rem var(--serif); color: var(--brown); }
.stock { font-size: .82rem; font-weight: 600; padding: 3px 10px; border-radius: 99px; }
.stock-ok { background: var(--green-soft); color: #36561f; }
.stock-low { background: var(--ochre-soft); color: #7a4f0f; }
.stock-out { background: #efe6e2; color: var(--muted); }
.product.is-out .product-img img { filter: grayscale(.6); opacity: .7; }

/* text + image */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.text-sec:not(.has-img) .split { grid-template-columns: minmax(0, 760px); }
.img-left .split-img { order: -1; }
.split-img { margin: 0; }
.paper { background: #fff; padding: 10px; border-radius: 8px; box-shadow: var(--shadow); }
.paper img { border-radius: 4px; }
.photo img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 3 / 4; object-fit: cover; max-height: 620px; width: 100%; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .img-left .split-img { order: 0; } .photo img { max-height: 460px; } }

/* cards */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 26px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.card { position: relative; }
.card > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transform: scale(1.08); }
.card-body { position: relative; background: var(--paper); }
.card-body { padding: 20px 22px 22px; }
.card-body .prose { color: var(--muted); }
.more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; }

/* events */
.event-list { display: grid; gap: 16px; }
.event { display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: start; padding: 22px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.event.compact .prose p { margin: 0; color: var(--muted); }
.ev-date { display: grid; place-items: center; width: 84px; padding: 12px 0 10px; border-radius: 12px; background: var(--brown); color: #fff; line-height: 1; }
.ev-date .d { font: 600 2.1rem/1 var(--serif); }
.ev-date .m { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-top: 6px; }
.ev-body h3 { margin-bottom: .25em; }
.ev-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; color: var(--muted); font-size: .92rem; margin-bottom: 10px; }
.ev-meta .sep { width: 4px; height: 4px; border-radius: 50%; background: var(--line-2); margin: 0 6px; }
.event-list.full .event { grid-template-columns: auto minmax(0, 320px) 1fr; }
.ev-img { border-radius: 12px; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
@media (max-width: 760px) {
  .event, .event-list.full .event { grid-template-columns: auto 1fr; gap: 16px; padding: 16px; }
  .ev-date { width: 64px; } .ev-date .d { font-size: 1.6rem; }
  .ev-img { grid-column: 1 / -1; order: -1; }
}

/* self service shop */
.selfshop { background: var(--sand); padding: clamp(56px, 8vw, 96px) 0 !important; }
.status-pill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 99px; background: var(--paper); color: #36561f; font-weight: 600; margin-bottom: 18px; }
.status-pill .dot { width: 10px; height: 10px; border-radius: 50%; background: #6aa84f; box-shadow: 0 0 0 4px rgba(106,168,79,.2); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(106,168,79,0); } }
.hours { margin: 20px 0 0; display: grid; gap: 6px; max-width: 360px; }
.hours div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--line-2); }
.hours dt { font-weight: 600; }
.hours dd { margin: 0; }

/* cta */
.cta-box { text-align: center; padding: clamp(36px, 6vw, 64px); border-radius: var(--radius); background: var(--green); color: #fff; }
.cta-box h2 { color: #fff; }
.cta-box .btn-primary { background: #fff; color: var(--green); border-color: #fff; }

/* prose */
.prose > :last-child { margin-bottom: 0; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin-bottom: .3em; }
.prose h2 { margin-top: 1.4em; font-size: 1.6rem; }
.prose h3 { margin-top: 1.2em; }
.prose blockquote { margin: 1.2em 0; padding: 4px 0 4px 18px; border-left: 3px solid var(--ochre); font-family: var(--serif); font-style: italic; font-size: 1.15rem; }
.prose hr { border: 0; border-top: 1px dashed var(--line-2); margin: 2em 0; }
.prose img { border-radius: 12px; }

/* ---- pages ---- */
.page-head { padding: clamp(36px, 6vw, 72px) 0 clamp(20px, 3vw, 32px); }
.page-head .lead { max-width: 640px; }
.page-img { margin: 0 auto 40px; max-width: 980px; }
.page-body { padding-bottom: 80px; }

/* ---- shop ---- */
.shop-head { padding-bottom: 8px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 22px; }
.chip { padding: 8px 18px; border-radius: 99px; border: 1.5px solid var(--line-2); text-decoration: none; color: var(--ink); font-weight: 500; background: var(--paper); }
.chip:hover { border-color: var(--brown); color: var(--brown); }
.chip.active { background: var(--brown); border-color: var(--brown); color: #fff; }
.shop-body { padding: 28px 24px 80px; }
.product-cat { font: 600 .72rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--green); margin: 0 0 8px; }
.fulfil { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; margin-top: 64px; }
.fulfil-item { display: flex; gap: 16px; padding: 22px; border-radius: var(--radius); background: var(--sand); }
.fulfil-item h3 { font-size: 1.1rem; margin-bottom: .3em; }
.fulfil-item p { margin: 0; color: var(--muted); }
.fi-icon { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--paper); color: var(--brown); }

/* product page */
.product-page { padding: 24px 0 80px; }
.crumbs { font-size: .9rem; color: var(--muted); margin-bottom: 22px; }
.crumbs a { color: var(--muted); }
.crumbs span { margin: 0 6px; }
.pp-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.pp-img { margin: 0; }
.pp-main h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.pp-price { margin: 18px 0 2px; color: var(--muted); }
.pp-price strong { font: 600 2rem var(--serif); color: var(--brown); }
.taxnote { font-size: .82rem; color: var(--muted); margin: 0 0 12px; }
.hint { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); margin: 14px 0 0; }
.hint .icon { margin-top: 4px; color: var(--green); }
.buy { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-top: 22px; }
.qty { display: inline-flex; align-items: center; border: 2px solid var(--line-2); border-radius: 999px; background: var(--paper); }
.qty button { display: grid; place-items: center; width: 42px; height: 46px; border: 0; background: none; color: var(--brown); cursor: pointer; border-radius: 999px; }
.qty button:hover { background: var(--sand); }
.qty input { width: 48px; border: 0; background: none; text-align: center; font: 600 1.05rem var(--sans); color: var(--ink); -moz-appearance: textfield; appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pp-details { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px; margin-top: 56px; }
.pp-info { background: var(--sand); border-radius: var(--radius); padding: 22px 24px; }
.pp-info h2 { font-size: 1.2rem; }
@media (max-width: 860px) { .pp-grid, .pp-details { grid-template-columns: 1fr; } }

/* single units (chickens) */
.units { margin-top: 56px; }
.unit-grid { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; }
.unit { display: flex; flex-direction: column; gap: 6px; padding: 18px; background: var(--paper); border: 1.5px solid var(--line); border-radius: var(--radius); transition: border-color .15s, transform .15s; }
.unit:hover { border-color: var(--line-2); transform: translateY(-2px); }
.unit-top { display: flex; justify-content: space-between; gap: 8px; font-size: .8rem; color: var(--muted); }
.unit-label { font-weight: 700; color: var(--brown); letter-spacing: .04em; }
.unit-weight { font: 600 1.9rem/1.1 var(--serif); color: var(--ink); }
.unit-bar { height: 6px; border-radius: 99px; background: var(--sand); overflow: hidden; }
.unit-bar span { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--ochre), var(--brown)); }
.unit-price { font: 600 1.1rem var(--serif); color: var(--brown); margin-bottom: 6px; }
.unit form, .unit .btn { margin-top: auto; }
.unit .btn { width: 100%; }
.unit.is-reserved { opacity: .55; border-style: dashed; }
.unit-state { margin-top: auto; font-size: .82rem; color: var(--muted); text-align: center; }
.unit.is-mine { border-color: var(--green); background: #f6f9f1; }

/* cart */
.cart-page, .checkout, .order-page { padding: 32px 0 80px; }
.empty { text-align: center; padding: 60px 20px; }
.empty-icon { display: inline-grid; place-items: center; width: 90px; height: 90px; border-radius: 50%; background: var(--sand); color: var(--brown); margin-bottom: 16px; }
.empty-icon .icon { width: 40px; height: 40px; }
.cart-lines { list-style: none; margin: 24px 0 0; padding: 0; border-top: 1px solid var(--line); }
.cart-line { display: grid; grid-template-columns: 96px 1fr auto 110px 44px; gap: 18px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cl-img img { width: 96px; height: 72px; object-fit: cover; border-radius: 10px; }
.cl-text { display: grid; }
.cl-sum { text-align: right; font: 600 1.1rem var(--serif); color: var(--brown); }
.cart-sum { margin-top: 22px; padding: 22px 24px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.cart-sum > div:first-child { display: flex; justify-content: space-between; align-items: baseline; font-size: 1.15rem; }
.cart-sum strong { font: 600 1.5rem var(--serif); color: var(--brown); }
@media (max-width: 640px) {
  .cart-line { grid-template-columns: 64px 1fr auto; gap: 8px 14px; }
  .cl-img img { width: 64px; height: 50px; }
  .cl-qty { grid-column: 2; }
  .cl-sum { grid-column: 3; grid-row: 1; }
  .cl-del { grid-column: 3; grid-row: 2; justify-self: end; }
}

/* checkout */
.co-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 36px; align-items: start; margin-top: 18px; }
fieldset { border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); padding: 20px 22px 22px; margin: 0 0 18px; }
legend { font: 600 1.15rem var(--serif); color: var(--brown); padding: 0 8px; margin-left: -8px; }
.co-form label { display: block; font-weight: 600; font-size: .92rem; margin-top: 12px; }
.co-form input, .co-form select, .co-form textarea { display: block; width: 100%; margin-top: 6px; padding: 12px 14px; border: 1.5px solid var(--line-2); border-radius: 10px; background: #fff; font: 400 1rem var(--sans); color: var(--ink); }
.co-form input:focus, .co-form select:focus, .co-form textarea:focus { outline: none; border-color: var(--brown); box-shadow: 0 0 0 3px rgba(98,52,26,.12); }
.co-form small { display: block; font-weight: 400; color: var(--muted); margin-top: 4px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.row2.zip { grid-template-columns: 120px 1fr; }
.choice { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 6px; }
.choice-item { margin: 0 !important; cursor: pointer; }
.choice-item input { position: absolute; opacity: 0; }
.choice-item > span { display: grid; gap: 2px; height: 100%; padding: 16px; border: 2px solid var(--line-2); border-radius: 12px; background: #fff; }
.choice-item .icon { width: 26px; height: 26px; color: var(--brown); margin-bottom: 6px; }
.choice-item small { color: var(--muted); font-weight: 400; }
.choice-item input:checked + span { border-color: var(--brown); background: #fbf3ea; box-shadow: 0 0 0 3px rgba(98,52,26,.1); }
.choice-item input:focus-visible + span { outline: 3px solid var(--ochre); outline-offset: 2px; }
.choice-item.is-disabled { opacity: .5; cursor: not-allowed; }
.when-pickup, .when-delivery { margin-top: 10px; }
.when-pickup .prose, .when-delivery .prose { margin-top: 12px; color: var(--muted); }
.co-form:has(input[value="delivery"]:checked) .when-pickup,
.co-form:has(input[value="pickup"]:checked) .when-delivery { display: none; }
.co-sum { position: sticky; top: 100px; padding: 24px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow); }
.co-sum h2 { font-size: 1.35rem; }
.sum-lines { list-style: none; margin: 0; padding: 0; }
.sum-lines li { display: flex; justify-content: space-between; gap: 14px; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.sum-lines li span:first-child { display: grid; }
.sum-lines small { color: var(--muted); font-size: .82rem; }
.sum-lines li span:last-child { white-space: nowrap; font-weight: 600; }
.sum-total { display: flex; justify-content: space-between; align-items: baseline; margin: 14px 0 4px; font-size: 1.1rem; }
.sum-total strong { font: 600 1.6rem var(--serif); color: var(--brown); }
.co-notice { background: var(--sand); border-radius: 10px; padding: 12px 14px; margin: 14px 0; color: var(--ink); }
.check { display: flex; gap: 10px; align-items: flex-start; margin: 16px 0; font-size: .92rem; cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--brown); flex: none; }
@media (max-width: 860px) { .co-grid { grid-template-columns: 1fr; } .co-sum { position: static; } }
@media (max-width: 520px) { .row2, .choice { grid-template-columns: 1fr; } .row2.zip { grid-template-columns: 100px 1fr; } }

/* order page */
.thanks { text-align: center; padding: 20px 0 30px; }
.thanks-icon { display: inline-grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: var(--green); color: #fff; margin-bottom: 18px; }
.thanks-icon .icon { width: 42px; height: 42px; stroke-width: 2.2; }
.thanks.pending .thanks-icon { background: var(--ochre); }
.thanks.failed .thanks-icon { background: var(--muted); }
.order-box { padding: 24px 26px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }
.order-box h2 { font-size: 1.35rem; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.badge { font: 600 .8rem var(--sans); padding: 4px 12px; border-radius: 99px; background: var(--sand); color: var(--brown); }
.badge-paid, .badge-done { background: var(--green-soft); color: #36561f; }
.order-how { margin-top: 22px; padding-top: 18px; border-top: 1px dashed var(--line-2); }
.order-how h3 { display: flex; gap: 8px; align-items: center; font-size: 1.1rem; }

/* events page */
.events-page { padding-bottom: 80px; }
.past-title { margin-top: 56px; font-size: 1.5rem; }
.past-list { list-style: none; padding: 0; margin: 0; color: var(--muted); }
.past-list li { padding: 8px 0; border-bottom: 1px dashed var(--line); }
.past-list span { display: inline-block; min-width: 130px; }

/* 404 */
.notfound { text-align: center; padding: 48px 0 80px; }
.notfound img { max-width: 360px; margin: 0 auto 24px; border-radius: 12px; }

/* ---- footer ---- */
.footer { margin-top: 0; background: #3b2213; color: #e9dcc8; padding: 64px 0 24px; }
.footer a { color: #f6ead6; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; }
.footer-brand img { width: 150px; margin-bottom: 16px; }
.footer-brand .prose { color: #cdbca4; max-width: 34ch; }
.footer-title { font-size: 1.1rem; color: #fff; margin-bottom: 14px; }
.contact, .footer-links, .socials { list-style: none; margin: 0; padding: 0; }
.contact li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 10px; }
.contact .icon { margin-top: 4px; color: #c9a679; }
.footer-links li { margin-bottom: 8px; }
.socials { display: flex; gap: 8px; margin-top: 16px; }
.socials a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.08); }
.socials a:hover { background: rgba(255,255,255,.18); }
.bio-code { display: flex; gap: 12px; align-items: center; margin-top: 22px; font-size: .88rem; line-height: 1.35; }
.eu-leaf { display: grid; place-items: center; width: 44px; height: 32px; border-radius: 4px; background: #6aa84f; color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 48px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); color: #b9a68c; }
.totop { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.08); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
