/* ============================================================
   I.S. Convenience Store — shared styles
   Palette: deep green #0B3D2E · lime #C6F24E · off-white #FBFAF6
   ============================================================ */
:root {
  --green: #0B3D2E;
  --green-dark: #072B20;
  --green-soft: #EAF3EC;
  --lime: #C6F24E;
  --lime-dark: #9ECC1E;
  --bg: #FBFAF6;
  --card: #FFFFFF;
  --ink: #141A20;
  --muted: #5C6B58;
  --line: #E7E5DD;
  --red: #E5342A;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(20, 26, 32, .05), 0 4px 14px rgba(20, 26, 32, .06);
  --shadow-lift: 0 6px 24px rgba(11, 61, 46, .14);
  --font-head: 'Plus Jakarta Sans', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.25; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 800; letter-spacing: -.01em; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
a { color: var(--green); }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--lime-dark); outline-offset: 2px; border-radius: 4px; }
.container { max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px; border: 2px solid transparent;
  font-family: var(--font-head); font-weight: 700; font-size: 1rem;
  text-decoration: none; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.btn-primary { background: var(--lime); color: var(--green-dark); }
.btn-primary:hover { background: #d3f96a; }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--green-dark); }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,.1); }
.btn-ghost { background: transparent; color: var(--green); border-color: var(--green); }
.btn-ghost:hover { background: var(--green-soft); }
.btn[disabled] { opacity: .5; pointer-events: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(251, 250, 246, .92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 18px; padding: 10px 20px; max-width: 1240px; margin: 0 auto; }
.logo-link { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.logo-link img { height: 56px; width: auto; }
.main-nav { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.main-nav a {
  padding: 9px 14px; border-radius: 999px; text-decoration: none;
  color: var(--ink); font-weight: 600; font-size: .95rem; transition: background .15s;
}
.main-nav a:hover { background: var(--green-soft); }
.main-nav a.active { background: var(--green); color: #fff; }
.header-basket {
  display: inline-flex; align-items: center; gap: 8px; background: var(--green); color: #fff;
  border: none; padding: 10px 16px; border-radius: 999px; font-weight: 700; font-size: .95rem;
}
.header-basket:hover { background: var(--green-dark); }
.basket-count-pill { background: var(--lime); color: var(--green-dark); border-radius: 999px; padding: 0 8px; font-size: .8rem; min-width: 22px; text-align: center; }
.nav-toggle { display: none; background: none; border: none; padding: 8px; margin-left: auto; }
.nav-toggle span { display: block; width: 24px; height: 3px; background: var(--green); margin: 5px 0; border-radius: 2px; transition: .2s; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 560px; display: flex; align-items: center;
  background: var(--green-dark);
}
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,43,32,.5) 0%, rgba(7,43,32,.75) 100%); }
.hero-content { position: relative; z-index: 2; padding: 90px 20px; max-width: 1240px; margin: 0 auto; width: 100%; }
.hero h1 { color: #fff; max-width: 640px; margin-bottom: 18px; }
.hero p.sub { color: rgba(255,255,255,.88); font-size: 1.15rem; max-width: 540px; margin-bottom: 30px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.status-pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 18px; border-radius: 999px;
  font-family: var(--font-head); font-weight: 700; font-size: .9rem; margin-bottom: 22px;
  background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.25);
}
.status-pill .dot { width: 10px; height: 10px; border-radius: 50%; background: #9aa; }
.status-pill.open { color: var(--lime); }
.status-pill.open .dot { background: var(--lime); box-shadow: 0 0 10px var(--lime); }
.status-pill.closed { color: #cfd8cf; }

/* ---------- Search band ---------- */
.search-band { margin-top: -44px; position: relative; z-index: 5; }
.search-card {
  background: var(--card); border-radius: 18px; box-shadow: var(--shadow-lift);
  padding: 22px; border: 1px solid var(--line);
}
.search-input-wrap { position: relative; }
.search-input-wrap svg { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.big-search {
  width: 100%; padding: 18px 22px 18px 56px; font-size: 1.1rem; font-family: var(--font-body);
  border: 2px solid var(--line); border-radius: 999px; background: var(--bg); color: var(--ink);
}
.big-search:focus { border-color: var(--green); outline: none; }
.chip-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.chip {
  display: inline-block; padding: 8px 16px; border-radius: 999px; border: 1.5px solid var(--line);
  background: #fff; color: var(--ink); font-weight: 600; font-size: .88rem; text-decoration: none;
  transition: border-color .15s, background .15s;
}
.chip:hover { border-color: var(--green); background: var(--green-soft); }
.chip.chip-accent { background: var(--lime); border-color: var(--lime); color: var(--green-dark); }
.chip.chip-accent:hover { background: #d3f96a; }
.chip.active { background: var(--green); border-color: var(--green); color: #fff; }
.live-results { margin-top: 18px; }

/* ---------- Shelf rows ---------- */
.shelf { padding: 34px 0 6px; }
.shelf-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.shelf-head h2 { margin: 0; }
.shelf-head .see-all { margin-left: auto; font-weight: 700; font-size: .92rem; text-decoration: none; white-space: nowrap; }
.shelf-arrows { display: flex; gap: 8px; }
.shelf-arrow {
  width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem; color: var(--green);
  transition: background .15s;
}
.shelf-arrow:hover { background: var(--green-soft); }
.shelf-track {
  display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 4px 4px 18px; scrollbar-width: thin; scrollbar-color: var(--line) transparent;
}
.shelf-track > * { scroll-snap-align: start; flex: 0 0 200px; }

/* ---------- Product card ---------- */
.product-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; position: relative;
  transition: transform .18s ease, box-shadow .18s ease;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.product-card .card-img-wrap { position: relative; aspect-ratio: 1 / .82; background: #F2F1EA; }
.product-card .card-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.card-img-wrap img.is-packshot, .pd-img img.is-packshot {
  object-fit: contain; background: #fff; padding: 12px;
}
.product-card .card-body { padding: 12px 14px 14px; display: flex; flex-direction: column; flex: 1; }
.product-card a.card-link { text-decoration: none; color: inherit; }
.product-card .p-name { font-weight: 600; font-size: .92rem; line-height: 1.4; margin: 0 0 2px; min-height: 2.6em; }
.product-card .p-size { color: var(--muted); font-size: .82rem; margin: 0 0 8px; }
.price-row { display: flex; align-items: baseline; gap: 8px; margin-top: auto; }
.p-price { font-family: var(--font-head); font-weight: 800; font-size: 1.25rem; color: var(--ink); }
.p-was { color: var(--muted); font-size: .85rem; text-decoration: line-through; }
.p-unit { color: var(--muted); font-size: .78rem; margin: 2px 0 10px; }
.badge {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  background: var(--red); color: #fff; font-family: var(--font-head); font-weight: 700;
  font-size: .74rem; padding: 4px 10px; border-radius: 999px; box-shadow: var(--shadow);
}
.badge-18 {
  left: auto; right: 10px; background: #fff; color: var(--red); border: 2px solid var(--red);
  font-weight: 800;
}
.badge-oos { background: #5C6B58; }
.add-btn {
  width: 100%; border: none; background: var(--green); color: #fff; font-family: var(--font-head);
  font-weight: 700; font-size: .92rem; padding: 10px; border-radius: 999px; transition: background .15s;
}
.add-btn:hover { background: var(--green-dark); }
.add-btn[disabled] { background: #C9CFC6; cursor: not-allowed; }
.stepper { display: flex; align-items: center; border: 2px solid var(--green); border-radius: 999px; overflow: hidden; }
.stepper button {
  border: none; background: var(--green); color: #fff; width: 38px; height: 36px;
  font-size: 1.15rem; font-weight: 700; line-height: 1;
}
.stepper button:hover { background: var(--green-dark); }
.stepper .qty { flex: 1; text-align: center; font-family: var(--font-head); font-weight: 800; font-size: 1rem; }

/* ---------- Skeleton ---------- */
.skeleton-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.skeleton-card .sk-img { aspect-ratio: 1 / .82; }
.skeleton-card .sk-line { height: 13px; border-radius: 6px; margin: 12px 14px; }
.skeleton-card .sk-line.short { width: 45%; }
.sk-shimmer {
  background: linear-gradient(90deg, #EFEEE7 25%, #F8F7F1 50%, #EFEEE7 75%);
  background-size: 400% 100%; animation: shimmer 1.3s infinite linear;
}
@keyframes shimmer { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }

/* ---------- Department grid ---------- */
.dept-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
.dept-tile {
  position: relative; border-radius: var(--radius); overflow: hidden; text-decoration: none;
  aspect-ratio: 4 / 3; display: block; background: var(--green-dark);
  transition: transform .18s ease, box-shadow .18s ease;
}
.dept-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.dept-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .78; transition: opacity .2s; }
.dept-tile:hover img { opacity: .62; }
.dept-tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(7,43,32,.85)); }
.dept-tile .dept-name {
  position: absolute; bottom: 10px; left: 12px; right: 12px; z-index: 2; color: #fff;
  font-family: var(--font-head); font-weight: 700; font-size: .95rem; line-height: 1.3;
}
.dept-tile .badge-18 { top: 8px; right: 8px; }

/* ---------- Service strip ---------- */
.service-strip { background: var(--green); color: #fff; padding: 44px 0; margin-top: 40px; }
.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 26px; }
.service-item { display: flex; gap: 14px; align-items: flex-start; }
.service-item .ico {
  flex-shrink: 0; width: 46px; height: 46px; border-radius: 12px; background: rgba(198,242,78,.16);
  display: flex; align-items: center; justify-content: center; font-size: 1.3rem;
}
.service-item h3 { color: #fff; font-size: 1rem; margin-bottom: 2px; }
.service-item p { color: rgba(255,255,255,.75); font-size: .88rem; margin: 0; }

/* ---------- Sections ---------- */
.section { padding: 48px 0 20px; }
.section-alt { background: var(--green-soft); padding: 48px 0; margin-top: 40px; }
.about-split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.about-split img { border-radius: 16px; box-shadow: var(--shadow-lift); }
.map-wrap { border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.map-wrap iframe { display: block; width: 100%; height: 380px; border: 0; }
.info-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-bottom: 28px; }
.info-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.info-card h3 { display: flex; gap: 10px; align-items: center; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .55s ease, transform .55s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Shop page ---------- */
.shop-layout { display: grid; grid-template-columns: 260px 1fr; gap: 28px; padding: 30px 0 60px; }
.filter-panel { position: sticky; top: 86px; align-self: start; max-height: calc(100vh - 110px); overflow-y: auto; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.filter-group { border-bottom: 1px solid var(--line); padding: 14px 0; }
.filter-group:last-child { border-bottom: none; }
.filter-group h4 { margin: 0 0 10px; font-size: .92rem; font-family: var(--font-head); }
.filter-group label { display: flex; align-items: center; gap: 8px; font-size: .9rem; padding: 3px 0; cursor: pointer; }
.filter-group input[type="checkbox"], .filter-group input[type="radio"] { accent-color: var(--green); width: 16px; height: 16px; }
.filter-group select, .filter-group input[type="number"] {
  width: 100%; padding: 9px 12px; border: 1.5px solid var(--line); border-radius: 8px; font-family: inherit; font-size: .9rem; background: #fff;
}
.price-inputs { display: flex; gap: 8px; align-items: center; }
.shop-toolbar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.shop-toolbar .result-count { color: var(--muted); font-size: .92rem; }
.shop-toolbar select { padding: 10px 14px; border: 1.5px solid var(--line); border-radius: 999px; font-family: inherit; background: #fff; font-weight: 600; }
.shop-search { flex: 1; min-width: 200px; padding: 11px 18px; border: 1.5px solid var(--line); border-radius: 999px; font-family: inherit; font-size: .95rem; background: #fff; }
.shop-search:focus { border-color: var(--green); outline: none; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.load-more-wrap { text-align: center; padding: 30px 0 10px; }
.filter-open-btn { display: none; }
.no-results { text-align: center; padding: 60px 20px; color: var(--muted); }

/* ---------- Product page ---------- */
.product-detail { display: grid; grid-template-columns: minmax(0, 460px) 1fr; gap: 44px; padding: 40px 0; align-items: start; }
.product-detail .pd-img { position: relative; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: #F2F1EA; }
.pd-info .pd-brand { color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; font-size: .8rem; }
.pd-info .pd-price { font-family: var(--font-head); font-size: 2.2rem; font-weight: 800; margin: 8px 0 0; }
.pd-info .pd-unit { color: var(--muted); margin-bottom: 18px; }
.pd-buy { display: flex; gap: 12px; align-items: stretch; margin: 20px 0; max-width: 420px; }
.pd-buy .stepper { flex: 0 0 140px; }
.pd-buy .btn { flex: 1; }
.info-table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: .92rem; }
.info-table th, .info-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.info-table th { color: var(--muted); font-weight: 600; width: 38%; }
.age-note {
  display: flex; gap: 12px; align-items: flex-start; background: #FDEBEA; border: 1px solid #F5C1BD;
  border-radius: var(--radius); padding: 14px 16px; font-size: .92rem; margin: 18px 0;
}
.age-note strong { color: var(--red); }
.breadcrumb { padding: 18px 0 0; font-size: .88rem; color: var(--muted); }
.breadcrumb a { color: var(--muted); }

/* ---------- Cart drawer ---------- */
.drawer-overlay { position: fixed; inset: 0; background: rgba(7,43,32,.45); z-index: 200; opacity: 0; pointer-events: none; transition: opacity .25s; }
.drawer-overlay.show { opacity: 1; pointer-events: auto; }
.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100vw); background: var(--bg);
  z-index: 210; transform: translateX(105%); transition: transform .3s ease; display: flex; flex-direction: column;
  box-shadow: -8px 0 40px rgba(7,43,32,.2);
}
.cart-drawer.show { transform: none; }
.cart-head { display: flex; align-items: center; padding: 18px 20px; border-bottom: 1px solid var(--line); background: #fff; }
.cart-head h2 { margin: 0; font-size: 1.2rem; }
.cart-close { margin-left: auto; background: none; border: none; font-size: 1.6rem; line-height: 1; color: var(--muted); padding: 6px; }
.cart-items { flex: 1; overflow-y: auto; padding: 14px 20px; }
.cart-item { display: grid; grid-template-columns: 62px 1fr auto; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); align-items: center; }
.cart-item img { width: 62px; height: 62px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); background: #fff; }
.cart-item img.is-packshot { object-fit: contain; padding: 4px; }
.cart-item .ci-name { font-size: .88rem; font-weight: 600; line-height: 1.35; }
.cart-item .ci-size { color: var(--muted); font-size: .78rem; }
.cart-item .ci-price { font-family: var(--font-head); font-weight: 800; }
.cart-item .stepper { margin-top: 6px; max-width: 116px; }
.cart-item .stepper button { width: 30px; height: 28px; font-size: 1rem; }
.ci-remove { background: none; border: none; color: var(--red); font-size: .78rem; text-decoration: underline; padding: 2px 0; }
.cart-foot { border-top: 1px solid var(--line); padding: 16px 20px 20px; background: #fff; }
.cart-subtotal { display: flex; justify-content: space-between; font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; margin-bottom: 10px; }
.min-progress { margin-bottom: 14px; }
.min-progress .mp-label { font-size: .82rem; color: var(--muted); margin-bottom: 6px; }
.mp-bar { height: 8px; border-radius: 999px; background: var(--line); overflow: hidden; }
.mp-fill { height: 100%; background: var(--lime-dark); border-radius: 999px; transition: width .3s; }
.mp-fill.done { background: var(--lime-dark); }
.cart-empty { text-align: center; color: var(--muted); padding: 50px 10px; }

/* ---------- Floating buttons ---------- */
.fab {
  position: fixed; bottom: 20px; z-index: 120; border-radius: 999px; border: none;
  box-shadow: 0 6px 24px rgba(7,43,32,.3); display: flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 700; text-decoration: none; transition: transform .15s;
}
.fab:hover { transform: translateY(-3px); }
.fab-basket { right: 20px; background: var(--green); color: #fff; padding: 14px 20px; font-size: .95rem; }
.fab-basket .fab-total { background: var(--lime); color: var(--green-dark); padding: 2px 10px; border-radius: 999px; font-size: .85rem; }
.fab-wa { left: 20px; background: #25D366; color: #fff; width: 54px; height: 54px; justify-content: center; }
.fab-wa svg { width: 26px; height: 26px; }

/* ---------- Age modal ---------- */
.age-modal-overlay {
  position: fixed; inset: 0; background: rgba(7,43,32,.82); z-index: 300;
  display: none; align-items: center; justify-content: center; padding: 20px;
}
.age-modal-overlay.show { display: flex; }
.age-modal {
  background: #fff; border-radius: 18px; max-width: 480px; width: 100%; padding: 36px 30px;
  text-align: center; box-shadow: 0 20px 60px rgba(0,0,0,.4);
}
.age-modal .age-icon { width: 68px; height: 68px; border-radius: 50%; background: #FDEBEA; color: var(--red); font-size: 2rem; display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; font-weight: 800; font-family: var(--font-head); }
.age-modal h2 { margin-bottom: 10px; }
.age-modal p { color: var(--muted); font-size: .95rem; }
.age-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 22px; }
.age-actions .btn-no { background: #EDECE5; color: var(--ink); }
.age-actions .btn-no:hover { background: #E0DFD6; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; bottom: 90px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--green-dark); color: #fff; padding: 12px 22px; border-radius: 999px;
  font-weight: 600; font-size: .92rem; z-index: 250; opacity: 0; pointer-events: none;
  transition: opacity .25s, transform .25s; box-shadow: var(--shadow-lift); max-width: 90vw; text-align: center;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- Forms / checkout ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-weight: 600; font-size: .9rem; }
.form-field input, .form-field select, .form-field textarea {
  padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; font-family: inherit;
  font-size: .95rem; background: #fff; color: var(--ink);
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--green); outline: none; }
.checkout-layout { display: grid; grid-template-columns: 1fr 400px; gap: 34px; padding: 34px 0 70px; align-items: start; }
.checkout-panel { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 28px; box-shadow: var(--shadow); }
.order-summary { position: sticky; top: 90px; }
.order-lines { max-height: 340px; overflow-y: auto; margin-bottom: 14px; }
.order-line { display: flex; gap: 10px; font-size: .9rem; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.order-line .ol-qty { color: var(--muted); flex-shrink: 0; width: 34px; }
.order-line .ol-name { flex: 1; }
.order-line .ol-total { font-weight: 700; white-space: nowrap; }
.totals-row { display: flex; justify-content: space-between; padding: 6px 0; font-size: .95rem; }
.totals-row.grand { font-family: var(--font-head); font-weight: 800; font-size: 1.25rem; border-top: 2px solid var(--ink); margin-top: 8px; padding-top: 12px; }
.fulfil-toggle { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 20px; }
.fulfil-toggle input { position: absolute; opacity: 0; }
.fulfil-toggle label {
  border: 2px solid var(--line); border-radius: 12px; padding: 14px; text-align: center; cursor: pointer;
  font-weight: 700; font-family: var(--font-head); transition: .15s;
}
.fulfil-toggle input:checked + label { border-color: var(--green); background: var(--green-soft); color: var(--green); }
.fulfil-toggle input:focus-visible + label { outline: 3px solid var(--lime-dark); outline-offset: 2px; }
.send-btns { display: flex; flex-direction: column; gap: 10px; margin-top: 22px; }
.btn-wa { background: #25D366; color: #fff; }
.btn-wa:hover { background: #1fb857; }
.checkout-warn { background: #FFF7E0; border: 1px solid #EDDCA0; border-radius: 10px; padding: 12px 16px; font-size: .9rem; margin: 14px 0; }
.confirm-screen { text-align: center; padding: 70px 20px; max-width: 560px; margin: 0 auto; }
.confirm-screen .big-tick { width: 80px; height: 80px; border-radius: 50%; background: var(--lime); color: var(--green-dark); font-size: 2.4rem; display: flex; align-items: center; justify-content: center; margin: 0 auto 22px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: var(--green); color: #fff; padding: 52px 0 44px; }
.page-hero h1 { color: #fff; margin-bottom: 6px; }
.page-hero p { color: rgba(255,255,255,.8); margin: 0; max-width: 640px; }

/* ---------- Hours table ---------- */
.hours-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.hours-table td { padding: 8px 10px; border-bottom: 1px solid var(--line); }
.hours-table td:last-child { text-align: right; font-weight: 600; }
.hours-table tr.today td { color: var(--green); font-weight: 800; }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-dark); color: rgba(255,255,255,.82); margin-top: 60px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.35fr; gap: 40px; padding: 56px 0 40px; }
.site-footer h4 {
  color: var(--lime); font-size: .8rem; margin-bottom: 16px; letter-spacing: .12em;
  text-transform: uppercase; font-weight: 700;
}
.site-footer a { color: rgba(255,255,255,.82); text-decoration: none; transition: color .15s; }
.site-footer a:hover { color: var(--lime); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; font-size: .9rem; line-height: 1.55; }
.footer-brand { max-width: 320px; }
.footer-logo { display: inline-block; background: #fff; border-radius: 14px; padding: 10px 14px; margin-bottom: 16px; }
.footer-logo img { height: 58px; width: auto; display: block; }
.footer-desc { font-size: .9rem; margin-bottom: 18px; }
.social-row { display: flex; gap: 10px; }
.social-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.08); color: #fff; padding: 0; cursor: pointer;
  transition: background .15s, color .15s, transform .15s, border-color .15s;
}
.social-btn:hover { background: var(--lime); border-color: var(--lime); color: var(--green-dark); transform: translateY(-2px); }
.social-btn svg { display: block; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg { flex-shrink: 0; margin-top: 4px; color: var(--lime); opacity: .9; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); padding: 18px 0; font-size: .82rem; color: rgba(255,255,255,.55); }
.footer-bottom .container { display: flex; flex-wrap: wrap; gap: 6px 24px; justify-content: center; text-align: center; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-split, .info-cols, .product-detail, .checkout-layout { grid-template-columns: 1fr; }
  .order-summary { position: static; }
  .shop-layout { grid-template-columns: 1fr; }
  .filter-panel {
    position: fixed; inset: auto 0 0 0; top: auto; z-index: 220; max-height: 78vh; border-radius: 18px 18px 0 0;
    transform: translateY(105%); transition: transform .3s ease; box-shadow: 0 -10px 40px rgba(7,43,32,.25);
  }
  .filter-panel.show { transform: none; }
  .filter-open-btn { display: inline-flex; }
}
@media (max-width: 820px) {
  .main-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column;
    background: #fff; border-bottom: 1px solid var(--line); padding: 12px 20px 18px; gap: 4px;
    box-shadow: 0 16px 30px rgba(7,43,32,.12); align-items: stretch;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 14px; }
  .nav-toggle { display: block; }
  .header-basket .hb-label { display: none; }
  .hero { min-height: 480px; }
  .fab-basket { bottom: 20px; }
  .fab-wa { bottom: 20px; width: 50px; height: 50px; }
  .shelf-track > * { flex-basis: 170px; }
  .product-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
  .form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .dept-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .hero-content { padding: 70px 20px; }
  .p-price { font-size: 1.1rem; }
  .pd-buy { flex-direction: column; }
  .pd-buy .stepper { flex-basis: auto; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
