:root {
  --ink: #1a1a1a;
  --ink-2: #3a3a3a;
  --muted: #6f6f6a;
  --line: #e6e0d2;
  --bg: #ffffff;
  --soft: #faf8f3;
  --card: #ffffff;
  --gold: #f8b226;
  --gold-d: #9a7410;
  --gold-l: #fff6dc;
  --green: #015c30;
  --green-l: #e4f1e8;
  --stamp: #8a3324;
  --red: #c0392b;
  --red-l: #fdecea;
  --shadow: 0 6px 20px rgba(20, 20, 10, .08);
  --radius: 10px;
  --t-veg: #edf5ee;
  --t-flo: #fff1e6;
  --t-egg: #fff7e0;
  --t-chk: #f5ede4;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 500 15px/1.5 "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-tap-highlight-color: transparent;
}
h1, h2, h3 { font-weight: 800; line-height: 1.1; margin: 0; letter-spacing: -.01em; }
a { color: var(--ink); }
button, select { font: inherit; cursor: pointer; }
[hidden] { display: none !important; }

/* ---------- header ---------- */
.top {
  position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 18px;
  padding: 10px clamp(16px, 4vw, 48px); background: #fff; box-shadow: 0 2px 12px rgba(0, 0, 0, .07);
}
.brand img { height: 50px; width: auto; display: block; }
.nav { margin-left: auto; display: flex; gap: 26px; }
.nav button { border: 0; background: none; padding: 6px 0; font-weight: 600; font-size: 15.5px; color: var(--ink); border-bottom: 2px solid transparent; }
.nav button:hover, .nav button.on { border-bottom-color: var(--gold); }
.pill-btn {
  text-decoration: none; font-weight: 700; font-size: 14px; color: var(--ink); background: #fff;
  border: 2px solid var(--ink); padding: 7px 14px; border-radius: 6px; white-space: nowrap;
}
.pill-btn:hover { background: var(--ink); color: var(--gold); }
@media (max-width: 860px) {
  .nav { display: none; }
  .pill-btn { margin-left: auto; }
  .brand img { height: 42px; }
}

main { max-width: 1280px; margin: 0 auto; padding: 22px clamp(16px, 4vw, 48px) 120px; }
.view { display: none; }
.view.on { display: block; }

/* ---------- shop heading + filters ---------- */
.shop-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; }
.shop-head h1 { font-size: clamp(34px, 6.4vw, 76px); font-weight: 900; letter-spacing: -.02em; }
.cats { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; max-width: 100%; padding-bottom: 2px; }
.cats::-webkit-scrollbar { display: none; }
.cat {
  flex: none; border: 2px solid var(--line); background: #fff; color: var(--ink); border-radius: 4px;
  padding: 12px 20px; font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase;
}
.cat:hover { border-color: var(--ink); }
.cat.on { background: var(--ink); border-color: var(--ink); color: var(--gold); }
@media (max-width: 600px) { .cat { padding: 9px 14px; font-size: 12.5px; } }

.infobar { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 14px 0 6px; color: var(--muted); font-size: 14px; }
.infobar .sep { color: var(--line); }
.live { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; color: var(--green); }
.dot { width: 9px; height: 9px; border-radius: 50%; background: #1fae5b; box-shadow: 0 0 0 0 rgba(31, 174, 91, .6); animation: pulse 1.8s infinite; }
.live.off { color: var(--red); }
.live.off .dot { background: var(--red); animation: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(31, 174, 91, 0); } 100% { box-shadow: 0 0 0 0 rgba(31, 174, 91, 0); } }

.note { margin-top: 12px; padding: 12px 16px; border-radius: 6px; background: var(--gold-l); color: #6b4a00; font-weight: 600; font-size: 14px; }
.note.err { background: var(--red-l); color: var(--red); }

/* chicken pre-book strip */
.chick {
  margin-top: 14px; display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 6px;
  background: var(--ink); color: #fff;
}
.chick .em { font-size: 30px; }
.chick b { display: block; font-size: 16px; font-weight: 800; }
.chick span { color: #cfcabd; font-size: 13.5px; }
.chick .btn { margin-left: auto; flex: none; }

/* ---------- product grid ---------- */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 20px; }
@media (min-width: 760px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; } }
@media (min-width: 1100px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; } }
.loading, .empty { grid-column: 1 / -1; text-align: center; color: var(--muted); padding: 40px 10px; }

.item { position: relative; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; }
.ph { position: relative; aspect-ratio: 4 / 3; display: grid; place-items: center; font-size: 64px; overflow: hidden; }
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ph .em { line-height: 1; }
.ph.Veggies { background: var(--t-veg); }
.ph.Flowers { background: var(--t-flo); }
.ph.Eggs { background: var(--t-egg); }
.ph.Country-Chicken { background: var(--t-chk); }
.badge {
  position: absolute; left: 14px; top: 14px; z-index: 1; background: var(--gold); color: var(--ink);
  font-weight: 800; font-size: 12.5px; letter-spacing: .04em; text-transform: uppercase; padding: 6px 11px; border-radius: 3px;
}
.stamp {
  position: absolute; z-index: 2; left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(-14deg);
  border: 3px solid var(--stamp); color: var(--stamp); background: rgba(255, 255, 255, .88); border-radius: 12px;
  padding: 6px 14px; font-weight: 900; font-size: clamp(16px, 2.6vw, 27px); letter-spacing: .03em; text-transform: uppercase; white-space: nowrap;
}
.item.sold .ph img, .item.sold .ph .em { filter: grayscale(.7) opacity(.75); }

.info { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.kicker { color: var(--gold-d); font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.name { font-weight: 800; font-size: 19px; line-height: 1.25; margin-top: 6px; }
.sub { color: var(--muted); font-size: 15px; margin-top: 3px; }
.sub.low { color: #a26a00; font-weight: 700; }
.sub.out { color: var(--stamp); font-weight: 700; }
.lbl { color: var(--muted); font-weight: 700; font-size: 14px; margin: 14px 0 6px; }
.pack {
  width: 100%; appearance: none; -webkit-appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231a1a1a' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 14px center;
  border: 2px solid var(--line); border-radius: 4px; padding: 11px 38px 11px 14px; font-size: 17px; font-weight: 600; color: var(--ink);
}
.pack:focus { outline: none; border-color: var(--ink); }
.pack:disabled { color: var(--muted); background-color: var(--soft); }
.price { margin-top: 14px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 8px; }
.price b { font-size: 26px; font-weight: 800; }
.price span { color: var(--muted); font-size: 15px; }
.per { color: var(--muted); font-size: 12.5px; margin-top: 1px; }
.acts { display: flex; gap: 10px; margin-top: auto; padding-top: 14px; }
.acts .btn { flex: 1; }
.count {
  flex: 1; display: flex; align-items: center; justify-content: space-between; border: 2px solid var(--ink); border-radius: 4px; background: #fff; min-height: 50px;
}
.count button { border: 0; background: none; width: 44px; align-self: stretch; font-size: 22px; font-weight: 800; color: var(--ink); }
.count span { font-weight: 800; font-size: 18px; }
.acts .btn.gold { min-height: 50px; font-size: 16px; letter-spacing: .06em; }
.in-basket { border: 0; background: none; padding: 0; text-align: left; font-size: 13px; color: var(--green); font-weight: 700; margin-top: 10px; }

@media (max-width: 600px) {
  .info { padding: 12px 12px 14px; }
  .name { font-size: 16px; }
  .sub { font-size: 13px; }
  .kicker { font-size: 10.5px; letter-spacing: .1em; }
  .lbl { margin: 10px 0 5px; font-size: 12.5px; }
  .pack { font-size: 15px; padding: 9px 30px 9px 10px; background-position: right 10px center; }
  .price b { font-size: 21px; }
  .price span { font-size: 13px; }
  .badge { left: 8px; top: 8px; font-size: 10.5px; padding: 4px 8px; }
  .ph { font-size: 46px; }
  .acts { flex-direction: column; gap: 8px; }
}

/* ---------- buttons ---------- */
.btn {
  border: 2px solid transparent; border-radius: 4px; padding: 12px 18px; font-weight: 800; font-size: 14.5px; letter-spacing: .04em;
  background: var(--soft); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; gap: 6px; text-decoration: none; text-align: center;
}
.btn.gold { background: var(--gold); color: var(--ink); text-transform: uppercase; }
.btn.gold:hover { filter: brightness(.96); }
.btn.dark, .btn.green { background: var(--ink); color: var(--gold); }
.btn.ghost { background: #fff; border-color: var(--ink); color: var(--ink); }
.btn.wa { background: #1fa855; color: #fff; }
.btn.danger { background: #fff; border-color: #efc4bd; color: var(--red); }
.btn.out { background: #ede7da; color: #9b9586; text-transform: uppercase; cursor: default; }
.btn.wide { width: 100%; }
.btn.big { padding: 15px 18px; font-size: 16px; }
.btn:disabled { opacity: .55; cursor: default; }

.stepper { display: flex; align-items: center; border: 2px solid var(--line); border-radius: 4px; overflow: hidden; background: #fff; }
.stepper button { border: 0; background: transparent; color: var(--ink); width: 38px; height: 40px; font-size: 20px; font-weight: 800; flex: none; }
.stepper input {
  flex: 1; min-width: 0; width: 100%; border: 0; background: transparent; color: var(--ink); text-align: center;
  font: 700 15px "Montserrat", sans-serif; padding: 0; -moz-appearance: textfield;
}
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper .u { color: var(--muted); font-size: 12px; font-weight: 700; padding-right: 2px; }

/* ---------- basket bar ---------- */
.basket-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); }
.basket-bar button {
  width: 100%; max-width: 560px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center;
  background: var(--ink); color: #fff; border: 0; border-radius: 6px; padding: 16px 20px; font-weight: 800; font-size: 16px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .28);
}
.bb-go { color: var(--gold); text-transform: uppercase; letter-spacing: .04em; font-size: 14px; }

/* ---------- bottom sheet ---------- */
.sheet-wrap { position: fixed; inset: 0; z-index: 50; background: rgba(15, 15, 10, .5); display: flex; align-items: flex-end; justify-content: center; }
.sheet {
  width: 100%; max-width: 560px; max-height: 92vh; overflow: auto; background: var(--soft); border-radius: 14px 14px 0 0;
  padding: 20px 16px calc(22px + env(safe-area-inset-bottom)); animation: up .22s ease-out;
}
@keyframes up { from { transform: translateY(30px); opacity: .4; } }
.sheet-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.sheet-head h2 { font-size: 24px; }
.x { border: 0; background: #fff; width: 38px; height: 38px; border-radius: 50%; font-size: 20px; box-shadow: var(--shadow); }

.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px; margin-bottom: 14px; }
.card h3 { font-size: 17px; }
.line { display: flex; align-items: center; gap: 10px; padding: 11px 0; border-top: 1px solid var(--line); }
.line:first-child { border-top: 0; padding-top: 2px; }
.line .grow { flex: 1; min-width: 0; }
.line .name { font-size: 15.5px; margin: 0; }
.line .price { margin: 2px 0 0; color: var(--muted); font-size: 13.5px; display: block; }
.line .stepper { width: 132px; flex: none; margin: 0; }
.line .amt { width: 66px; text-align: right; font-weight: 800; flex: none; }
.total { display: flex; justify-content: space-between; font-size: 21px; font-weight: 900; padding-top: 12px; border-top: 2px dashed var(--line); margin-top: 6px; }
.payinfo { display: flex; gap: 10px; align-items: center; background: var(--gold-l); border-radius: 6px; padding: 12px 14px; font-size: 14px; font-weight: 600; color: #6b4a00; margin-bottom: 14px; }

label { display: block; font-size: 13.5px; font-weight: 700; color: var(--muted); margin: 0 0 6px 1px; }
input, textarea {
  width: 100%; font: 500 16px "Montserrat", sans-serif; padding: 12px 13px; border: 2px solid var(--line); border-radius: 4px; background: #fff; color: var(--ink);
}
input:focus, textarea:focus { outline: none; border-color: var(--ink); }
.field { margin-bottom: 12px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.inline { display: flex; gap: 8px; }
.inline input { flex: 1; min-width: 0; }
.hint { font-size: 13px; color: var(--muted); margin: 5px 1px 0; }
.hint.ok { color: var(--green); font-weight: 700; }
.toggle { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 12px; }
.toggle button { border: 2px solid var(--line); background: #fff; border-radius: 4px; padding: 12px 6px; font-weight: 700; color: var(--ink); }
.toggle button.on { border-color: var(--ink); background: var(--ink); color: var(--gold); }

/* ---------- order placed + my orders ---------- */
.back { display: inline-block; font-weight: 700; text-decoration: none; margin: 4px 0 12px; }
#view-orders h2, #view-done h2 { font-size: clamp(28px, 5vw, 44px); font-weight: 900; margin-bottom: 14px; }
#view-orders, #view-done { max-width: 640px; margin: 0 auto; }
.done-top { text-align: center; padding: 18px 10px 8px; }
.tick { width: 74px; height: 74px; margin: 0 auto 12px; border-radius: 50%; background: var(--gold); color: var(--ink); display: grid; place-items: center; font-size: 38px; font-weight: 900; animation: pop .35s ease-out; }
@keyframes pop { from { transform: scale(.4); } }
.oid { font-weight: 700; color: var(--muted); font-size: 14px; }
.actions { display: grid; gap: 10px; }
.actions .row2 { gap: 10px; }

.track { display: flex; align-items: center; margin: 12px 0 6px; }
.track .st { flex: 1; text-align: center; font-size: 12px; font-weight: 700; color: #b5b1a6; position: relative; }
.track .st::before { content: ""; display: block; width: 14px; height: 14px; margin: 0 auto 6px; border-radius: 50%; background: #e3ddcf; position: relative; z-index: 1; }
.track .st::after { content: ""; position: absolute; top: 6px; left: -50%; width: 100%; height: 3px; background: #e3ddcf; }
.track .st:first-child::after { display: none; }
.track .st.on { color: var(--green); }
.track .st.on::before, .track .st.on::after { background: var(--green); }
.track .st.now::before { box-shadow: 0 0 0 5px var(--green-l); }
.chip { display: inline-block; font-size: 11.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; padding: 4px 9px; border-radius: 3px; background: var(--green-l); color: var(--green); }
.chip.pending { background: var(--gold-l); color: var(--gold-d); }
.chip.cancel { background: var(--red-l); color: var(--red); }
.ord-head { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.ord-items { color: var(--muted); font-size: 14px; margin-top: 4px; }

.toast {
  position: fixed; left: 16px; right: 16px; bottom: 90px; z-index: 60; max-width: 520px; margin: 0 auto; background: var(--ink); color: #fff;
  padding: 13px 16px; border-radius: 6px; font-weight: 600; font-size: 15px; opacity: 0; transform: translateY(10px); transition: .2s; pointer-events: none;
}
.toast.show { opacity: 1; transform: none; }
.toast.err { background: var(--red); }

@media (max-width: 380px) {
  .line .stepper { width: 116px; }
}

/* ---------- banner slideshow ---------- */
.promo { position: relative; border-radius: 14px; overflow: hidden; background: #10241a; margin-bottom: 18px; }
.promo-track { position: relative; min-height: 300px; }
.slide {
  position: absolute; inset: 0; display: flex; align-items: center; gap: 28px; color: #fff; background: #10241a;
  padding: 30px clamp(20px, 4vw, 52px) 44px; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility .6s;
}
.slide.on { position: relative; opacity: 1; visibility: visible; min-height: 300px; }
.slide.has-ph::before { content: ""; position: absolute; inset: -10px; background: var(--bg) center / cover no-repeat; filter: blur(3px); opacity: .4; }
.slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12, 28, 17, .96) 0%, rgba(12, 28, 17, .8) 55%, rgba(12, 28, 17, .35) 100%); }
.slide > * { position: relative; z-index: 1; }
.slide-txt { flex: 1; min-width: 0; max-width: 680px; }
.slide-kicker { color: var(--gold); font-style: italic; font-weight: 800; font-size: clamp(14px, 1.6vw, 19px); margin-bottom: 6px; }
.slide h2 { font-size: clamp(30px, 5vw, 60px); font-weight: 900; line-height: 1.02; letter-spacing: -.02em; }
.slide h2 span { color: #fff; }
.slide h2 em { color: var(--gold); font-style: normal; }
.slide p { color: #e2e6dc; font-size: clamp(14px, 1.4vw, 17px); line-height: 1.55; max-width: 54ch; margin: 12px 0 18px; }
.slide p:last-child { margin-bottom: 0; }
.slide-ph {
  flex: none; width: clamp(180px, 23vw, 270px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; margin-left: auto;
  border: 4px solid rgba(248, 178, 38, .9); box-shadow: 0 12px 30px rgba(0, 0, 0, .35);
}
.slide-ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.promo-dots { position: absolute; left: clamp(20px, 4vw, 52px); bottom: 14px; z-index: 2; display: flex; gap: 7px; }
.promo-dots button { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 99px; background: rgba(255, 255, 255, .45); transition: width .3s; }
.promo-dots button.on { width: 26px; background: var(--gold); }
@media (max-width: 640px) {
  .promo-track, .slide.on { min-height: 250px; }
  .slide { padding: 22px 18px 40px; }
  .slide-ph { display: none; }
  .slide.has-ph::before { opacity: .55; filter: blur(1px); }
}
.shop-head { justify-content: flex-start; }

/* ---------- footer + policy pages ---------- */
.site-foot { border-top: 1px solid var(--line); background: var(--soft); padding: 22px clamp(16px, 4vw, 48px) calc(96px + env(safe-area-inset-bottom)); text-align: center; }
.site-foot nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; }
.site-foot a { color: var(--ink); font-weight: 600; font-size: 14px; text-decoration: none; }
.site-foot a:hover { text-decoration: underline; }
.site-foot p { color: var(--muted); font-size: 13px; margin: 12px 0 0; }
main.legal { max-width: 760px; padding-bottom: 40px; }
.legal h1 { font-size: clamp(30px, 5vw, 46px); font-weight: 900; margin: 6px 0 6px; }
.legal h2 { font-size: 19px; margin: 26px 0 8px; }
.legal p, .legal li { color: var(--ink-2); line-height: 1.65; }
.legal ul { padding-left: 20px; margin: 6px 0; }
.legal li { margin: 4px 0; }
.legal .upd { color: var(--muted); font-size: 13.5px; margin-top: 0; }
.legal a { color: var(--green); font-weight: 600; }
.contact-card p { margin: 0 0 14px; }
.contact-card p:last-child { margin-bottom: 0; }
