:root {
  --green: #045657;
  --green-dark: #033F40;
  --green-light: #E6F5EC;
  --navy: #223945;
  /* The shop pill uses the navy already in the logo's "SERVICES" wordmark.
     A second STRONG GREEN beside the cart and Place order buttons made three
     things compete for the same colour; navy is an accent, not a rival. */
  --shop-pill: #223945;
  /* A shade under --green-dark. The footer stops competing with the buttons
     above it and settles into being a base, without becoming a second brand
     colour the way a large navy block would. */
  --footer-bg: #03393A;
  /* the bright end of the announcement ticker's gradient, and of the logo */
  --footer-edge: #17945F;
  --paper: #F7F8F6;
  --card: #fff;
  --line: #E4E7E1;
  --text: #1B1F23;
  --muted: #6B7268;
  --radius: 12px;
  --topbar-h: 96px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", -apple-system, sans-serif;
  background: var(--paper);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
a { color: inherit; }

/* ---------- top bar ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: #fff;
  /* On an installed iPhone PWA the page runs full-screen underneath the
     status bar / Dynamic Island (viewport-fit=cover + black-translucent),
     which was covering the logo. This reserves exactly the height of that
     area on devices that have one, and adds nothing on devices that don't. */
  padding-top: env(safe-area-inset-top, 0px);
}
.topbar {
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 10px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  height: var(--topbar-h);
}
.brand { display: flex; align-items: center; gap: 13px; flex: none; }
.brand-mark { flex: none; width: 80px; height: 80px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-weight: 800; font-size: 1.75rem; color: var(--green-dark); white-space: nowrap; }
.brand-sub { font-weight: 700; font-size: 1rem; color: var(--navy); text-transform: uppercase; letter-spacing: 0.14em; }

.search-wrap {
  flex: 1;
  max-width: 640px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--green-light);
  border-radius: 10px;
  padding: 0 6px 0 12px;
  /* The field used to melt into the white header. A thin green edge and a
     soft shadow give it its own presence without adding visual weight. */
  border: 1px solid #BFD8C4;
  box-shadow: 0 1px 3px rgba(3, 63, 64, .08);
  color: var(--green-dark);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.search-wrap:focus-within {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(4, 86, 87, .16), 0 1px 3px rgba(3, 63, 64, .10);
}
.search-wrap > svg { flex: none; color: var(--green-dark); opacity: .85; }
.search-wrap input {
  border: none;
  background: transparent;
  outline: none;
  /* The text box itself measured 32px. The surrounding bar was already tall
     enough to tap, but the input is what a screen reader and a stylus aim at. */
  padding: 13px 0;
  min-height: 44px;
  font-size: 0.9rem;
  width: 100%;
  color: var(--text);
  font-family: inherit;
}
.search-wrap input::placeholder { color: var(--muted); }

/* ---------- voice search ---------- */
.mic-btn {
  flex: none;
  /* 34px was under the 44px touch guideline. The icon inside is unchanged;
     only the tappable area grew. */
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border: none; border-radius: 50%;
  background: transparent;
  color: var(--green-dark);
  cursor: pointer;
}
.mic-btn[hidden] { display: none; }
.mic-btn:hover { background: rgba(4, 86, 87, .12); }
.mic-btn.is-listening {
  background: var(--green-dark); color: #fff;
  animation: micPulse 1.3s ease-in-out infinite;
}
@keyframes micPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(4, 86, 87, .45); }
  50%      { box-shadow: 0 0 0 7px rgba(4, 86, 87, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .mic-btn.is-listening { animation: none; }
}

/* The listening state has to be readable, not just a colour change — someone
   needs to know the microphone is live and how to stop it. */
.mic-status {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%);
  z-index: 95;
  display: flex; align-items: center; gap: 10px;
  padding: 12px 20px;
  background: var(--green-dark); color: #fff;
  border-radius: 999px;
  font-size: .92rem; font-weight: 700;
  box-shadow: 0 10px 28px rgba(3, 63, 64, .35);
}
.mic-status[hidden] { display: none; }
.mic-status .dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: #FF6B6B;
  animation: micPulse 1.3s ease-in-out infinite;
}
.mic-status button {
  background: rgba(255,255,255,.18); border: none; color: #fff;
  font-family: inherit; font-size: .82rem; font-weight: 800;
  padding: 5px 12px; border-radius: 999px; cursor: pointer;
}

/* ---------- quick order ---------- */
.quick-order-row { max-width: 1150px; margin: 10px auto 0; padding: 0 20px; }
.quick-order {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px;
  background: #fff;
  border: 1px solid #DCEBDC;
  border-left: 4px solid #25D366;      /* WhatsApp green, so the route is obvious */
  border-radius: 12px;
  text-decoration: none;
  transition: box-shadow .15s ease, transform .15s ease;
}
.quick-order:hover { box-shadow: 0 6px 18px rgba(3, 63, 64, .12); transform: translateY(-1px); }
.qo-bolt { font-size: 1.25rem; flex: none; }
.qo-text { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.qo-title { font-size: .95rem; font-weight: 800; color: var(--green-dark); }
.qo-sub { font-size: .78rem; color: var(--muted); }
/* The arrow now sits at the end of the sub-line, so the trailing chevron
   would say the same thing twice. */
.qo-sub { display: block; }

@media (max-width: 640px) {
  .quick-order-row { padding: 0 14px; margin-top: 8px; }
  .quick-order { padding: 11px 13px; gap: 10px; }
  .qo-title { font-size: .9rem; }
  .qo-sub { font-size: .73rem; }
}

.search-row {
  background: #fff;
  /* The field inside grew to a 44px touch target; this row gives back the
     same amount so the sticky header keeps its height. Verified at 199px on
     a phone and 238px on desktop, exactly as before. */
  padding: 0px 20px 2px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.cart-toggle {
  margin-left: auto;
  flex: none;
  background: var(--green-dark);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 9px 14px;
  display: flex;
  align-items: center;
  gap: 7px;
  font-weight: 700;
  font-size: 0.85rem;
}
#cartCount {
  background: rgba(255,255,255,0.22);
  border-radius: 999px;
  min-width: 18px;
  padding: 1px 5px;
  font-size: 0.72rem;
  text-align: center;
}

/* ---------- main nav ---------- */
/* Hidden above 860px, where the full nav fits comfortably. */
.nav-toggle { display: none; }

.main-nav {
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 7px 20px;
  display: flex;
  align-items: stretch;        /* so the dividers match the labels' height */
  justify-content: center;
  gap: 0;                      /* spacing now comes from each item's padding */
  overflow-x: auto;
  scrollbar-width: none;
}
/* A short, light divider between items — enough to organise the row, not
   enough to read as a border. Drawn on the item itself so the Services
   dropdown, which is wrapped in an extra element, gets exactly the same
   treatment as the plain links. */
.main-nav > * + *::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 1px; height: 15px;
  background: var(--line);
}
.main-nav > * { position: relative; }
.main-nav::-webkit-scrollbar { display: none; }
.main-nav a {
  flex: none;
  padding-left: 21px; padding-right: 21px;   /* even space either side */
  display: inline-flex; align-items: center;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.main-nav a:hover, .main-nav a:focus-visible { color: var(--green-dark); border-bottom-color: var(--green); }

/* ---------- hero banner ---------- */
/* ---------- special occasion flyers ---------- */
.flyer-strip {
  margin-top: 8px;
}
.flyer-row {
  display: flex;
  gap: 4px;
  margin-bottom: 4px;
}
.flyer-item {
  flex: 1;
  min-width: 0;
  line-height: 0;
  display: block;
  border: none;
  padding: 0;
  cursor: pointer;
  background: none;
}
.flyer-item img {
  width: 100%;
  height: auto;
  display: block;
}

/* ============ MARKETPLACE HERO ============
   Compact by design. It states what the business is, then gets out of the
   way so Special Offers is reachable without a long scroll. */
.hero {
  max-width: 1150px;
  margin: 14px auto 6px;
  padding: 0 16px;
}
.hero[hidden] { display: none; }

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
  align-items: center;
  gap: 20px;
  min-height: 250px;
  padding: 22px 26px;
  background: linear-gradient(120deg, var(--green-light) 0%, #FFFFFF 62%);
  border: 1px solid #DCEBDC;
  border-radius: 18px;
}

.hero-title {
  margin: 0 0 8px;
  font-size: clamp(1.35rem, 2.3vw, 1.95rem);
  line-height: 1.18;
  font-weight: 800;
  color: var(--green-dark);
  letter-spacing: -0.01em;
}
.hero-text {
  margin: 0 0 16px;
  font-size: clamp(.92rem, 1.15vw, 1rem);
  line-height: 1.5;
  color: #4A5A4A;
  max-width: 44ch;
}

/* One button, deliberately. A second would split the only decision the
   hero is asking the visitor to make. */
.hero-cta {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 11px 22px;
  background: var(--green-dark); color: #fff;
  border-radius: 999px;
  font-weight: 800; font-size: .95rem;
  text-decoration: none;
  transition: background .15s ease, transform .15s ease;
}
.hero-cta:hover { background: #022E2F; transform: translateY(-1px); }
.hero-cta:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }

/* The artwork was rendering as a thumbnail: max-height 210px capped it long
   before the column ran out of width. It now fills its side of the card and
   the CARD grows only as much as the taller column needs. */
.hero-art { display: flex; align-items: center; justify-content: center; }
.hero-art svg, .hero-art img {
  width: 100%; height: auto;
  max-height: 300px;
  object-fit: contain;
  /* Above 1500px the height cap was holding it at exactly the 1280 size, so a
     large monitor gained nothing. */
  display: block;
}

@media (min-width: 1500px) {
  .hero-art svg, .hero-art img { max-height: 340px; }
  .hero-inner { min-height: 280px; }
}

/* Tablet: the artwork is the first thing to give up room. */
@media (max-width: 860px) {
  .hero-inner { min-height: 220px; gap: 14px; padding: 18px 20px; }
  .hero-art svg, .hero-art img { max-height: 210px; }
}

/* Phone and installed PWA: stack, and keep the whole band inside the
   180-240px band so Special Offers is still reachable in one swipe. The
   artwork stays — it carries the "several shops" idea faster than the
   sentence does — but shrinks to a strip. */
@media (max-width: 640px) {
  .hero { margin: 10px auto 4px; padding: 0 12px; }
  .hero-inner {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 8px;
    padding: 12px 16px 14px;
    border-radius: 14px;
  }
  .hero-title { font-size: 1.18rem; margin-bottom: 5px; }
  .hero-text { font-size: .86rem; line-height: 1.45; margin-bottom: 11px; max-width: none; }
  .hero-cta { padding: 9px 18px; font-size: .89rem; }
  /* The artwork leads on a phone: it carries the "several shops" idea in one
     glance, before the sentence is read. Kept to a strip so the heading, the
     button and the first offer all stay within a single screen. */
  /* Illustration first, then headline, description, button. The artwork is
     sized as a share of the hero WIDTH rather than a fixed height, so it
     scales with the phone instead of staying a stamp on a large one. */
  .hero-art { order: -1; }
  .hero-art svg, .hero-art img {
    width: 78%;
    max-width: 340px;
    max-height: 175px;     /* high enough that WIDTH governs, not height */
    margin: 0 auto;
  }
}

/* Narrow phones keep the artwork — it now LEADS the mobile hero and carries
   the "several shops" idea faster than the sentence does. It shrinks rather
   than disappears. */
@media (max-width: 380px) {
  .hero-art svg, .hero-art img { width: 80%; max-height: 120px; }
  .hero-title { font-size: 1.12rem; }
}

/* ---------- shop by category ---------- */
.shop-by-cat { max-width: 1150px; margin: 0 auto; padding: 26px 20px 6px; text-align: center; scroll-margin-top: calc(var(--hdr, 96px) + 10px); }
.shop-by-cat h2 { font-size: 1.15rem; font-weight: 800; margin: 0 0 16px; position: relative; display: inline-block; }
.shop-by-cat h2::after {
  content: ""; display: block; width: 46px; height: 3px; background: var(--green);
  margin: 8px auto 0; border-radius: 2px;
}
/* ---------- recently viewed ---------- */
.recently-viewed { max-width: 1150px; margin: 0 auto; padding: 10px 20px 6px; }
.recently-viewed-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.recently-viewed h2 { font-size: 1.1rem; font-weight: 800; margin: 0; }
.recently-viewed-clear {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  padding: 4px 8px;
  text-decoration: underline;
}
.recently-viewed-clear:hover { color: var(--green-dark); }
.recently-viewed-strip {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.recently-viewed-strip::-webkit-scrollbar { display: none; }
.recently-viewed-strip .product-card { flex: none; width: 168px; }

.cat-tiles {
  display: grid;
  /* auto-FILL, not auto-fit. auto-fit collapses the empty tracks, so a shop
     with one or two categories had its tiles stretch across the whole row and
     the 4:3 photo blew up to full width. auto-fill keeps the empty columns, so
     a single tile is the same size as one of fifteen. */
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}
.cat-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--text);
  padding: 10px 8px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--green-light);
  transition: border-color 0.15s, transform 0.15s;
}
.cat-tile:hover { border-color: var(--green); transform: translateY(-2px); }
.cat-tile-icon {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--green-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem;
}
.cat-tile-media {
  width: 100%;
  max-width: 160px;      /* a hard ceiling, independent of the grid */
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  background: var(--green-light);
}
.cat-tile-label { font-size: 0.76rem; font-weight: 700; text-align: center; line-height: 1.25; }
.view-all-btn { margin: 4px 0 8px; }

.cat-icon {
  font-size: 0.95rem;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--green-light);
  display: inline-flex; align-items: center; justify-content: center;
  flex: none;
}
.cat-heading-media {
  width: 34px; height: 34px; border-radius: 50%;
  object-fit: cover;
  background: var(--green-light);
  flex: none;
}

/* ---------- catalogue ---------- */
.catalogue { max-width: 1150px; margin: 0 auto; padding: 8px 20px 30px; }

.cat-section { padding: 22px 0 4px; scroll-margin-top: calc(var(--hdr, 96px) + 50px); }
.cat-section h2 {
  font-size: 1.05rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  background: var(--green-light);
  padding: 10px 16px;
  border-radius: 10px;
}

.no-results { text-align: center; color: var(--muted); padding: 40px 20px; font-size: 0.9rem; }

.back-to-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--green-dark);
  text-decoration: none;
  margin: 12px 0 4px;
}
.back-to-all:hover { text-decoration: underline; }

/* ---------- notification centre (the bell) ---------- */
.bell-toggle {
  position: relative;
  flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;          /* a real touch target from the start */
  border: 1px solid #BFD8C4;
  border-radius: 12px;
  background: var(--green-light);
  color: var(--green-dark);
  cursor: pointer;
}
.bell-toggle:hover { background: #DFEDE2; }
.bell-dot {
  position: absolute; top: -5px; right: -5px;
  min-width: 18px; height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  background: #B0342C;                 /* not the brand green: this is a nudge */
  color: #fff;
  font-size: .68rem; font-weight: 800; line-height: 18px;
  text-align: center;
}
.bell-dot[hidden] { display: none; }

.bell-back {
  position: fixed; inset: 0;
  background: rgba(20, 31, 22, .38);
  z-index: 90;
}
.bell-back[hidden] { display: none; }

.bell-panel {
  position: fixed; z-index: 92;
  top: 78px; right: 18px;
  width: min(380px, 92vw);
  max-height: 70vh;
  display: flex; flex-direction: column;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 18px 44px rgba(3, 63, 64, .24);
  overflow: hidden;
}
.bell-panel[hidden] { display: none; }
.bell-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 10px 12px 16px;
  border-bottom: 1px solid var(--line);
}
.bell-title { margin: 0; font-size: 1rem; font-weight: 800; color: var(--green-dark); }
.bell-close {
  width: 40px; height: 40px;
  border: 0; border-radius: 50%;
  background: none; color: var(--muted);
  font-size: 1.4rem; line-height: 1; cursor: pointer;
}
.bell-head-actions { display: flex; align-items: center; gap: 2px; }
.bell-clear-all {
  border: 0; background: none;
  padding: 10px 8px; min-height: 40px;
  font-family: inherit; font-size: .82rem; font-weight: 800;
  color: var(--green-dark);
  cursor: pointer;
}
.bell-clear-all:hover { text-decoration: underline; }
.bell-clear-all[hidden] { display: none; }

/* The tracked order, pinned above the announcements. */
.bell-order {
  padding: 13px 16px 14px;
  background: var(--green-light);
  border-bottom: 1px solid #DCE8DE;
}
.bell-order-label {
  margin: 0; font-size: .7rem; font-weight: 800; letter-spacing: .06em;
  text-transform: uppercase; color: var(--muted);
}
.bell-order-ref { margin: 3px 0 0; font-size: .86rem; font-weight: 700; color: var(--text); }
.bell-order-status {
  margin: 7px 0 0;
  display: inline-block;
  padding: 4px 11px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #C4DAC9;
  font-size: .84rem; font-weight: 800; color: var(--green-dark);
}
/* The stages a customer is actually waiting for get the brand colour; the
   earlier ones stay quiet, so the badge means something. "Dispatched" is the
   courier twin of "Out for Delivery" and reads the same way. */
.bell-order-status[data-status="Out for Delivery"],
.bell-order-status[data-status="Dispatched"],
.bell-order-status[data-status="Delivered"] {
  background: var(--green-dark); border-color: var(--green-dark); color: #fff;
}

/* Courier tracking. A tappable line when the Sheet supplies a link, plain text
   when it only supplies a number. 44px tall either way — it is the one thing
   on this panel a customer reaches for while holding a phone one-handed. */
.bell-order-track {
  display: block; margin: 9px 0 0; padding: 11px 12px;
  border: 1px solid #C4DAC9; border-radius: 10px;
  background: var(--green-light);
  font-size: .88rem; font-weight: 700; color: var(--green-dark);
  text-decoration: none; word-break: break-word;
}
a.bell-order-track:hover { border-color: var(--green-dark); }
.bell-order-track.is-plain { font-weight: 600; }

.bell-order { position: relative; }
/* What they ordered, folded away by default: the status is the headline, the
   list is there when they want to check it. */
.bell-order-items { margin: 9px 0 0; }
.bell-order-items summary {
  display: inline-block;
  padding: 5px 0;
  font-size: .82rem; font-weight: 700;
  color: var(--green-dark);
  cursor: pointer;
}
.bell-order-items summary::marker { color: var(--muted); }
.bell-order-items ul {
  margin: 6px 0 0; padding: 0 0 0 16px;
  font-size: .82rem; line-height: 1.5; color: var(--text);
}
.bell-order-items li { margin: 2px 0; }
.bell-order-x {
  position: absolute; top: 6px; right: 6px;
  width: 36px; height: 36px;
  border: 0; background: none;
  color: #8A9A8D; font-size: 1.1rem; line-height: 1;
  cursor: pointer;
}
.bell-order-x:hover { color: var(--text); }

/* ---------- the push offer on the confirmation screen ---------- */
.order-push {
  margin: 14px 0 0;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--green-light);
  border: 1px solid #CFE0D4;
  text-align: left;
}
.order-push[hidden] { display: none; }
.order-push-title { margin: 0; font-size: .96rem; font-weight: 800; color: var(--green-dark); }
.order-push-text { margin: 5px 0 0; font-size: .86rem; line-height: 1.5; color: var(--muted); }
.order-push-actions { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.order-push-actions[hidden] { display: none; }
.order-push-yes, .order-push-no {
  flex: 1 1 auto;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 999px;
  font-family: inherit; font-size: .88rem; font-weight: 800;
  cursor: pointer;
}
.order-push-yes { border: 0; background: var(--green-dark); color: #fff; }
.order-push-yes:disabled { opacity: .7; }
.order-push-no { border: 1px solid #C4DAC9; background: #fff; color: var(--green-dark); }
.order-push-done { margin: 10px 0 0; font-size: .86rem; font-weight: 700; color: var(--green-dark); }
.order-push-done[hidden] { display: none; }

/* Scrolls on its own so a long list never grows the panel past the screen. */
.bell-list { overflow-y: auto; -webkit-overflow-scrolling: touch; flex: 1 1 auto; min-height: 0; }
.bell-empty { margin: 0; padding: 26px 16px; text-align: center; color: var(--muted); font-size: .9rem; }

.bell-item {
  display: flex; align-items: flex-start;
  border-bottom: 1px solid #F0F3F0;
  color: inherit;
}
.bell-item:last-child { border-bottom: 0; }
/* The tappable part of the row. The dismiss button is its sibling, because a
   button cannot legally sit inside a link. */
.bell-item-main {
  display: flex; align-items: flex-start; gap: 10px;
  flex: 1 1 auto; min-width: 0;
  padding: 13px 4px 13px 16px;
  text-decoration: none;
  color: inherit;
}
a.bell-item-main:hover { background: #F7FAF7; }
.bell-item-x {
  flex: none;
  width: 40px; min-height: 44px;
  border: 0; background: none;
  color: #A9B3AA;
  font-size: 1.15rem; line-height: 1;
  cursor: pointer;
}
.bell-item-x:hover { color: var(--text); }
.bell-item-text { min-width: 0; flex: 1 1 auto; }
.bell-item-title { margin: 0; font-size: .92rem; font-weight: 800; color: var(--text); line-height: 1.35; }
.bell-item-msg { margin: 3px 0 0; font-size: .86rem; line-height: 1.45; color: var(--muted); }
.bell-item-date { margin: 5px 0 0; font-size: .74rem; color: #97A199; }
.bell-item-go { flex: none; color: var(--green-dark); font-weight: 800; padding-top: 2px; }

/* An unread item is marked by a green rail, not a coloured background — the
   list stays readable when everything is new. */
.bell-item.is-new { box-shadow: inset 3px 0 0 var(--footer-edge); background: #FAFCFA; }

/* The floating WhatsApp button sits exactly where the bottom sheet opens. */
body.bell-open .whatsapp-fab { display: none; }

@media (max-width: 640px) {
  /* A bottom sheet on a phone, like the cart and the product view, rather than
     a dropdown pinned to a corner. */
  .bell-panel {
    top: auto; right: 0; left: 0; bottom: 0;
    width: 100%;
    max-height: calc(82vh - env(safe-area-inset-top, 0px));
    border-radius: 18px 18px 0 0;
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
  .bell-toggle { width: 42px; height: 42px; }
}

/* ---------- accidental zoom ----------
   Tapping + twice quickly on a product card registered as a DOUBLE TAP and
   zoomed the whole page, which on a phone then leaves the fixed header and
   the WhatsApp button sitting over the content. touch-action: manipulation
   removes the double-tap-to-zoom gesture on these elements ONLY.

   DELIBERATE PINCH-ZOOM IS UNTOUCHED, everywhere on the site. That is on
   purpose: a customer reading a price or an address may need it, and iOS
   ignores any attempt to switch zoom off anyway, so disabling it would work
   on Android and not on iPhone — worse than either. */
button,
a,
.qty-btn,
.qty-control,
.product-card,
.cat-tile,
.svc-card,
.qb-chip,
.pv-dot,
input[type="button"],
input[type="submit"],
label {
  touch-action: manipulation;
}

/* ---------- services lead + partner invitation ---------- */
.services-partner {
  margin: 18px auto 0;
  padding: 0 20px;
  text-align: center;
  font-size: .92rem;
  color: var(--muted);
}
.services-partner-link {
  border: 0;
  background: none;
  padding: 10px 4px;            /* a real touch target, not a 16px line */
  min-height: 44px;
  font-size: .92rem;
  font-weight: 800;
  font-family: inherit;
  color: var(--green-dark);
  cursor: pointer;
}
.services-partner-link:hover { text-decoration: underline; }
@media (max-width: 640px) {
  .services-partner { font-size: .88rem; }
  .services-partner-link { display: block; margin: 2px auto 0; }
}

/* ---------- announcements ticker ---------- */
.ticker {
  background: linear-gradient(120deg, var(--green-dark) 0%, var(--green) 50%, #17945F 100%);
  color: #fff;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 0;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(3, 63, 64,0.28);
}
.ticker[hidden] { display: none; }
.ticker-label {
  flex: none;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 0 16px 0 20px;
  border-right: 1px solid rgba(255,255,255,0.28);
  white-space: nowrap;
}
.ticker-track {
  flex: 1;
  overflow: hidden;
  display: flex;
  white-space: nowrap;
}
.ticker-content {
  flex: none;
  display: flex;
  align-items: center;
  gap: 0;
  animation: ticker-scroll 55s linear infinite;
  padding-right: 40px;
  font-size: 0.8rem;
}
.ticker-content span { padding: 0 20px; }
.ticker-truck {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  padding: 2px;
  object-fit: contain;
  vertical-align: middle;
}
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}
@media (max-width: 640px) {
  .ticker-content { animation-duration: 75s; font-size: 0.76rem; }
  .ticker-content span { padding: 0 14px; }
  .ticker-truck { width: 18px; height: 18px; }
  /* Icon only on a phone: the words "Latest updates" were taking about a
     third of the strip away from the announcement itself. The text is moved
     off-screen rather than removed, so a screen reader still reads it. */
  .ticker-label { padding: 0 10px 0 12px; }
  .ticker-label-text {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ticker-content { animation: none; }
}

/* ---------- promotions carousel ----------
   The poster is the card. Our own words sit in a thin strip underneath rather
   than printed over the artwork, because these posters usually carry their own
   headline already. One card at a time on a phone with a sliver of the next
   showing, two side by side on a computer, and the whole thing slides. */
.promo-carousel {
  position: relative;
  max-width: 1150px;
  margin: 14px auto 0;
  padding: 0 20px;
}
.promo-carousel[hidden] { display: none; }

/* The window. touch-action: pan-y leaves vertical scrolling to the page and
   horizontal dragging to the carousel, so a swipe down the page never gets
   swallowed by the offers. */
.promo-viewport {
  overflow: hidden;
  border-radius: var(--radius);
  touch-action: pan-y;
}
.promo-viewport:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }

.promo-track {
  display: flex;
  align-items: stretch;
  gap: 16px;
  will-change: transform;
}
.promo-track.is-single { justify-content: center; }

.promo-card {
  flex: 0 0 calc((100% - 16px) / 2);     /* two across on a computer */
  background: var(--card);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  padding: 0;
  transition: border-color .15s, box-shadow .15s;
  -webkit-user-select: none; user-select: none;
}
.promo-track.is-single .promo-card { flex-basis: min(100%, 720px); }
.promo-card:hover { border-color: var(--green); box-shadow: 0 10px 24px rgba(3, 63, 64,.10); }
/* A card that leads nowhere: no pointer, no lift, nothing to promise. */
.promo-card.is-plain { cursor: default; }
.promo-card.is-plain:hover { border-color: var(--line); box-shadow: none; }
/* Artwork with no words under it: the picture takes the whole card, including
   the height a neighbouring card spends on its caption — otherwise a bare card
   sits shorter than the one beside it with a white gap underneath. */
.promo-card.is-bare .promo-media { flex: 1 1 auto; }
.promo-card:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
/* A dragged card must not be picked up by the browser as an image. */
.promo-card img { pointer-events: none; -webkit-user-drag: none; user-drag: none; }

/* A fixed frame keeps every card the same height. `contain`, not `cover`,
   because these posters carry prices and Malayalam text right to the edge —
   cropping silently eats the offer. Any shape uploaded to the Sheet is shown
   whole, sitting on the brand tint. */
.promo-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  flex: none;
  background: var(--green-light);
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
/* blurred fill behind, so an off-ratio poster does not sit in dead grey bars */
.promo-media-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; transform: scale(1.15); filter: blur(18px);
  opacity: .55; display: block;
}
/* the poster itself, never cropped */
.promo-media-fg {
  position: relative; z-index: 1;
  width: 100%; height: 100%; object-fit: contain; display: block;
}
.promo-media-fallback {
  position: relative; z-index: 1;
  width: 100%; height: 100%; display: flex; align-items: center;
  justify-content: center; font-size: 1.9rem;
}

/* the caption strip: one line of words, then the badge and the call to action */
.promo-cap {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 14px;
  border-top: 1px solid var(--line);
  background: var(--card);
}
.promo-cap-main { display: block; flex: 1; min-width: 0; }
.promo-cap-side {
  flex: none; display: flex; flex-direction: column;
  align-items: flex-end; gap: 4px;
}
.promo-title {
  display: block;
  font-weight: 800; font-size: .95rem; color: var(--text); line-height: 1.35;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.promo-sub {
  display: block; margin-top: 2px;
  font-size: .78rem; color: var(--muted); line-height: 1.4;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.promo-sub .promo-by { margin: 0 6px 0 0; }
.promo-more { font-size: .78rem; font-weight: 800; color: var(--green-dark); white-space: nowrap; }
.promo-card:hover .promo-more { text-decoration: underline; }

/* arrows — a computer only, where there is a mouse to use them */
.promo-nav {
  position: absolute;
  top: calc(50% - 26px);
  transform: translateY(-50%);
  z-index: 2;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.96);
  color: var(--green-dark);
  font-size: 1.5rem; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(3, 63, 64,.14);
  transition: background .15s, transform .15s;
}
.promo-nav:hover { background: #fff; transform: translateY(-50%) scale(1.06); }
.promo-nav[hidden] { display: none; }
.promo-nav-prev { left: 2px; }
.promo-nav-next { right: 2px; }

/* dots — how many offers there are, and which one is showing */
.promo-dots {
  display: flex; justify-content: center; align-items: center; gap: 7px;
  margin-top: 12px;
}
.promo-dots[hidden] { display: none; }
.promo-dot {
  width: 8px; height: 8px; padding: 0;
  border: none; border-radius: 999px;
  background: #CBD5C7; cursor: pointer;
  transition: width .2s, background .2s;
}
.promo-dot.is-on { width: 22px; background: var(--green); }

.promo-skel { flex: 0 0 calc((100% - 16px) / 2); height: 240px; }

@media (max-width: 899px) {
  .promo-carousel { padding: 0 14px; }
  .promo-track { gap: 12px; }
  /* 88% leaves a sliver of the next card, which is what tells a thumb to swipe */
  .promo-card, .promo-skel { flex: 0 0 88%; }
  .promo-track.is-single .promo-card { flex-basis: 100%; }
  .promo-nav { display: none; }
  .promo-skel { height: 200px; }
}

/* which shop the cart belongs to, under the drawer title */
/* The shop name is the prominent line. flex:1 + min-width:0 is what lets it
   take the width it needs — without min-width:0 a flex child refuses to
   shrink below its content and the name gets clipped instead of wrapping. */
.cart-shop {
  margin: 1px 0 0;
  font-size: 1.06rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--green-dark);
  overflow-wrap: anywhere;      /* a long single word breaks rather than clips */
}
.cart-shop[hidden] { display: none; }

/* ---------- baskets waiting at other shops ---------- */
/* clear-all controls */
/* a shop with nothing listed yet — better than an empty grid with no reason */
.merchant-no-catalogue {
  max-width: 1150px; margin: 18px auto 4px; padding: 18px 20px;
  background: var(--green-light); border: 1px dashed var(--green);
  border-radius: var(--radius); color: var(--green-dark);
  font-size: .92rem; font-weight: 700; text-align: center; line-height: 1.5;
}
.merchant-no-catalogue[hidden] { display: none; }
/* hide the empty scaffolding rather than show blank sections */
body.empty-catalogue .shop-by-cat,
body.empty-catalogue #catalogue,
body.empty-catalogue .recently-viewed { display: none !important; }

/* which shop the order went to, on the confirmation */
.order-modal-shop {
  margin: 4px 0 0; font-size: .92rem; font-weight: 800; color: var(--green-dark);
}
.order-modal-shop[hidden] { display: none; }

.cart-clear-row { display: flex; justify-content: flex-end; padding: 10px 18px 0; }
.cart-clear {
  background: none; border: none; font-family: inherit; font-size: .78rem;
  font-weight: 700; color: var(--muted); cursor: pointer; padding: 2px 0;
  text-decoration: underline;
}
.cart-clear[hidden] { display: none; }
.cart-clear:hover { color: #B4232A; }
.cart-other-acts { display: flex; gap: 8px; margin-top: 10px; }
.cart-other-acts .cart-other-open { margin-top: 0; flex: 1; }
.cart-other-clear {
  flex: none; padding: 9px 14px; background: #fff; color: var(--muted);
  border: 1px solid var(--line); border-radius: 8px;
  font-family: inherit; font-size: .82rem; font-weight: 800; cursor: pointer;
}
.cart-other-clear:hover { color: #B4232A; border-color: #E3B7B9; }

.cart-others { padding: 4px 16px 14px; border-top: 1px solid var(--line); margin-top: 10px; }
.cart-others[hidden] { display: none; }
.cart-others-title {
  margin: 0 0 8px; font-size: .74rem; font-weight: 800; letter-spacing: .04em;
  text-transform: uppercase; color: var(--muted);
}
.cart-others-title { margin-top: 12px; }
.cart-other-wrap { margin-bottom: 8px; }
.cart-other {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  width: 100%; padding: 10px 12px;
  background: var(--green-light); border: 1px solid var(--line);
  border-radius: 10px; font-family: inherit; font-size: .85rem; font-weight: 700;
  color: var(--green-dark); text-align: left; cursor: pointer;
}
.cart-other:hover { border-color: var(--green); }
.cart-other[aria-expanded="true"] { border-radius: 10px 10px 0 0; border-bottom-color: transparent; }
.cart-other-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cart-other-qty { font-weight: 800; white-space: nowrap; display: inline-flex; align-items: center; gap: 5px; }
.cart-other-caret { font-size: .8em; transition: transform .18s ease; }
.cart-other[aria-expanded="true"] .cart-other-caret { transform: rotate(180deg); }

/* what is actually in that basket */
.cart-other-body {
  border: 1px solid var(--line); border-top: none; border-radius: 0 0 10px 10px;
  padding: 10px 12px 12px; background: #fff;
}
.cart-other-body[hidden] { display: none; }
.cart-other-line {
  display: flex; justify-content: space-between; gap: 10px;
  font-size: .8rem; color: var(--text); padding: 4px 0; line-height: 1.35;
}
.cart-other-line-qty { color: var(--muted); white-space: nowrap; font-weight: 700; }
.cart-other-sum {
  display: flex; justify-content: space-between; gap: 10px;
  margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line);
  font-size: .84rem; font-weight: 800; color: var(--green-dark);
}
.cart-other-open {
  width: 100%; margin-top: 10px; padding: 9px 12px;
  background: var(--green); color: #fff; border: none; border-radius: 8px;
  font-family: inherit; font-size: .82rem; font-weight: 800; cursor: pointer;
}
.cart-other-open:hover { background: var(--green-dark); }
@media (prefers-reduced-motion: reduce) { .cart-other-caret { transition: none; } }

/* Phone: the caption has less room, so it gets smaller type. Card widths are
   set by the carousel rules, not here. */
@media (max-width: 560px) {
  .promo-cap { padding: 9px 12px; gap: 10px; }
  .promo-title { font-size: .9rem; }
  .promo-sub { font-size: .74rem; }
  .promo-more { font-size: .74rem; }
}

/* ---------- order confirmation toast ---------- */
.order-toast {
  position: fixed;
  left: 20px;
  bottom: 20px;
  max-width: 380px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(12,45,82,0.22);
  padding: 16px 18px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  z-index: 90;
  border: 1px solid var(--line);
}
.order-toast[hidden] { display: none; }
.order-toast-icon {
  flex: none;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--green-dark);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.05rem;
  font-weight: 800;
}
.order-toast-text { flex: 1; }
.order-toast-title { font-weight: 800; font-size: 0.94rem; color: var(--text); margin: 0 0 2px; }
.order-toast-desc { font-size: 0.82rem; color: var(--muted); margin: 0; line-height: 1.4; }
.order-toast-close {
  flex: none;
  background: none;
  border: none;
  font-size: 1.3rem;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
  padding: 0;
}
@media (max-width: 640px) {
  .order-toast { left: 14px; right: 14px; max-width: none; bottom: 90px; }
}

/* ---------- lightbox (promotion detail / flyer full-screen) ---------- */
.lightbox-overlay {
  position: fixed; inset: 0;
  background: rgba(10,20,15,0.86);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.lightbox-overlay[hidden] { display: none; }
.lightbox-close {
  position: absolute;
  /* Sits below the Dynamic Island instead of underneath it, where it
     couldn't be tapped. */
  top: calc(18px + env(safe-area-inset-top, 0px));
  right: 22px;
  background: rgba(255,255,255,0.15);
  color: #fff;
  border: none;
  width: 44px; height: 44px;
  border-radius: 50%;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  z-index: 1;
}
.lightbox-close:hover { background: rgba(255,255,255,0.28); }
/* The offer poster is the point of this modal, so it gets the room. The old
   520px cap was the real limit — a festival flyer opened smaller than the
   tile that led to it. */
.lightbox-content {
  width: min(1500px, 96vw);
  max-height: 94vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* A column: the image takes whatever height is left after the text, and the
   TEXT scrolls rather than the whole modal growing past the screen. */
/* width: fit-content is the important bit. A fixed-width box letterboxed the
   poster inside it — white gutters left and right of a landscape flyer, and
   the image no bigger for it. Sizing the BOX to the poster instead means the
   flyer is as large as the screen allows and the text sits directly beneath
   it, exactly as wide as the image. */
.lightbox-promo {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  width: fit-content;
  max-width: 100%;
  max-height: 94vh;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Set once the poster reports its natural size (see openPromoLightbox). The
   card becomes exactly as wide as the image can be drawn — limited by the
   screen width, or by the height left after the caption, whichever bites
   first. The caption wraps inside that width instead of setting it. */
.lightbox-promo.is-sized {
  width: min(96vw, calc((94vh - 150px) * var(--poster-ar)));
}
.lightbox-promo.is-sized img {
  width: 100%;
  height: auto;
  max-width: none;
  max-height: none;
}

/* Posters arrive portrait, landscape and square, often with prices printed
   inside them. "contain" fits the whole image rather than filling and
   cropping, so nothing important is cut off and no flyer is distorted.
   min-height: 0 is what allows a flex child to shrink instead of forcing
   the modal taller than the screen. */
/* Let the poster keep its own dimensions and grow until it hits either the
   screen width or the height left over after the caption. auto/auto plus the
   two maxima preserves the aspect ratio without object-fit doing any work,
   so there are no gutters to letterbox. */
.lightbox-promo img {
  display: block;
  width: auto;
  height: auto;
  max-width: min(1500px, 96vw);
  max-height: calc(94vh - 140px);   /* 140px ≈ the caption block */
  background: #f4f4f4;
}

.lightbox-promo-body {
  flex: 0 0 auto;
  align-self: stretch;       /* the caption spans the box; the image does not */
  padding: 16px 22px;
  max-height: 26vh;
  overflow-y: auto;          /* long descriptions scroll; the image does not */
  -webkit-overflow-scrolling: touch;
}
.lightbox-promo-title { font-size: 1.2rem; font-weight: 800; color: var(--text); margin: 0 0 10px; }
.lightbox-promo-desc { font-size: 0.94rem; color: var(--muted); line-height: 1.6; margin: 0 0 18px; }
.lightbox-link { display: inline-block; }

@media (max-width: 640px) {
  /* Phone and installed PWA. env() keeps the modal clear of the notch and
     the home indicator instead of assuming a rectangle. */
  .lightbox-content {
    width: 96vw;
    max-height: calc(92vh - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
  }
  .lightbox-promo {
    max-height: calc(92vh - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
    border-radius: 14px;
  }
  .lightbox-promo img {
    max-width: 96vw;
    max-height: calc(92vh - 120px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
  }
  /* On a phone the width almost always bites first, so the poster fills it. */
  .lightbox-promo.is-sized {
    width: min(96vw, calc((92vh - 130px - env(safe-area-inset-top, 0px)
                           - env(safe-area-inset-bottom, 0px)) * var(--poster-ar)));
  }
  .lightbox-promo-body { padding: 14px 16px; max-height: 24vh; }
  .lightbox-promo-title { font-size: 1.08rem; }

  /* The close button must stay reachable and obvious at every size — it is
     the only way out of a full-screen poster on a phone. */
  .lightbox-close {
    top: calc(10px + env(safe-area-inset-top, 0px));
    right: 10px;
    width: 44px; height: 44px;
  }
}

/* ---------- the detail poster on a computer ----------
   The modal used to leave a third of a wide screen empty: the height left
   after the caption was what limited it, not the width. A shorter caption and
   a taller box let a 16:9 poster reach about 1,300 pixels on a 1440 screen
   instead of about 1,000. Width and height are still both maxima on the image
   itself, so the picture keeps its own shape and is never cropped. */
@media (min-width: 900px) {
  .lightbox-overlay { padding: 22px; }
  .lightbox-content { width: min(1800px, 94vw); max-height: 96vh; }
  .lightbox-promo { max-height: 96vh; }
  .lightbox-promo img {
    max-width: min(1800px, 94vw);
    max-height: calc(96vh - 116px);
  }
  .lightbox-promo.is-sized {
    width: min(94vw, calc((96vh - 124px) * var(--poster-ar)));
  }
  .lightbox-promo-body { padding: 14px 24px; max-height: 20vh; }
  .lightbox-promo-title { font-size: 1.24rem; margin-bottom: 8px; }
  .lightbox-promo-desc { margin-bottom: 14px; }
}

/* Landscape phones have almost no vertical room; give the text less so the
   poster is still worth opening. */
@media (max-height: 480px) {
  .lightbox-promo-body { max-height: 26vh; padding: 10px 14px; }
  .lightbox-promo img { max-height: calc(94vh - 90px); }
}

/* ---------- how to order ---------- */
.how {
  max-width: 1150px;
  margin: 28px auto 0;
  padding: 28px 20px;
  scroll-margin-top: calc(var(--hdr, 96px) + 10px);
  text-align: center;
  position: relative;
}
.how h2 {
  font-size: 1.3rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--green-dark);
  margin: 0 0 28px;
}
.how-flow {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
.how-step {
  flex: 0 1 190px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.how-icon {
  width: 70px; height: 70px;
  border-radius: 50%;
  background: var(--green-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.9rem;
  margin-bottom: 12px;
  border: 1px solid var(--line);
  position: relative;
}
/* The step titles now carry real words rather than "Step 1", so the number
   moves onto the icon. The arrows show sequence on a wide screen, but they
   are hidden when the steps stack on a phone — this keeps the order legible
   there too. */
.how-num {
  position: absolute;
  top: -2px; left: -2px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--green-dark);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid #fff;
}
/* No longer uppercase: "Choose a service & shop" is a sentence, and uppercase
   made it hard to scan and pushed it onto three lines. */
.how-step-label { font-size: 0.9rem; font-weight: 800; color: var(--green-dark); margin: 0 0 4px; line-height: 1.3; }
.how-step-desc { font-size: 0.8rem; color: var(--muted); margin: 0; line-height: 1.5; }
.how-arrow {
  flex: none;
  align-self: center;
  font-size: 1.4rem;
  color: var(--line);
  margin-top: 23px;
  font-weight: 700;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(155px, 1fr));
  gap: 12px;
}

.product-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.product-card.in-cart { border-color: var(--green); box-shadow: 0 0 0 2px var(--green-light); }

.product-media {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: var(--green-light);
  overflow: hidden;
}
.product-media img { width: 100%; height: 100%; object-fit: cover; }
/* Tells the customer there is more behind the card. Without it the gallery
   and the description are only found by tapping a card on the off-chance,
   and most people press + instead. Appears ONLY when those Sheet cells are
   filled, so grocery cards are untouched. */
.product-media { position: relative; }
.pm-badge {
  position: absolute; right: 6px; bottom: 6px;
  display: inline-flex; align-items: center; gap: 3px;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(3, 63, 64, .82);
  color: #fff;
  font-size: .68rem; font-weight: 700; line-height: 1.5;
  pointer-events: none;          /* never steals the tap from the card */
}
.pm-badge-ico { font-size: .72rem; }
.product-media-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
}

.product-body { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 2px; flex: 1; }
.product-name {
  font-weight: 600;
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.3;
  min-height: 2.2em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-meta { margin: 2px 0 8px; font-size: 0.78rem; color: var(--muted); }
.product-meta .mrp { color: var(--muted); opacity: 0.6; margin-left: 4px; font-size: 0.72rem; }
.price-tba { font-style: italic; }

.qty-control {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: var(--green-light);
  border-radius: 999px;
  padding: 4px 6px;
  margin-top: auto;
}
.qty-btn {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: none;
  background: var(--green-dark);
  color: #fff;
  font-size: 1rem;
  line-height: 1;
}
.qty-btn:disabled { background: #C6CBC4; }
.qty-val { min-width: 16px; text-align: center; font-weight: 700; font-size: 0.88rem; }

/* ---------- about ---------- */
.about { max-width: 1150px; margin: 20px auto 0; padding: 0 20px; scroll-margin-top: calc(var(--hdr, 96px) + 10px); }
.about h2 { font-size: 1.15rem; font-weight: 800; margin: 0 0 12px; color: var(--green-dark); }
.about-lead { color: var(--muted); margin: 0 0 16px; font-size: 0.9rem; line-height: 1.55; }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 280px 1fr;
  grid-template-areas: "intro photo why" "cta photo why";
  gap: 24px 28px;
  align-items: start;
}
.about-col { min-width: 0; }
.about-intro { grid-area: intro; }
.about-photo-col { grid-area: photo; align-self: center; }
.about-cta { grid-area: cta; align-self: start; }
.about-why { grid-area: why; }

.about-checklist { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.about-checklist li {
  font-size: 0.88rem;
  color: var(--text);
  padding-left: 26px;
  position: relative;
}
.about-checklist li::before {
  content: "✓";
  position: absolute;
  left: 0; top: -1px;
  width: 18px; height: 18px;
  background: var(--green-dark);
  color: #fff;
  border-radius: 50%;
  font-size: 0.68rem;
  display: flex; align-items: center; justify-content: center;
}
.about-btn { font-size: 0.82rem; padding: 11px 20px; }

.about-photo-col { display: flex; justify-content: center; }
.about-photo {
  width: 100%;
  max-width: 280px;
  aspect-ratio: 1 / 1.05;
  border-radius: 46% 46% 42% 42% / 50% 50% 46% 46%;
  overflow: hidden;
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* When no photograph is available the drawing fills the same shape, so the
   layout does not move. Without this the browser painted raw alt text, which
   sprawled outside the frame and read as a broken page. */
.about-photo.is-drawn { background: var(--green-light); }
.about-photo.is-drawn svg { width: 100%; height: 100%; display: block; }
/* Belt and braces: if the alt text is ever shown, keep it inside the frame. */
.about-photo img {
  font-size: 0.78rem;
  color: var(--muted);
  text-align: center;
  overflow: hidden;
}

.about-why { display: flex; flex-direction: column; }
.why-item { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px; }
.why-item:last-child { margin-bottom: 0; }
.why-icon {
  flex: none;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--green-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem;
}
.why-item strong { display: block; font-size: 0.88rem; color: var(--text); margin-bottom: 2px; }
.why-item p { margin: 0; font-size: 0.78rem; color: var(--muted); }

.about-address { margin: 24px 0 0; font-size: 0.82rem; color: var(--muted); text-align: center; }

@media (max-width: 860px) {
  .about-grid {
    grid-template-columns: 1fr;
    grid-template-areas: "intro" "photo" "cta" "why";
  }
  .about-photo { max-width: 220px; margin: 0 auto; }
}

/* ---------- address / facilities / service area cards ---------- */
.info-cards { max-width: 1150px; margin: 24px auto 0; padding: 0 20px; }
.info-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}
.info-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
}
.info-card-label { font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.03em; color: var(--text); font-weight: 800; margin: 0 0 10px; }
.info-card p { margin: 0; font-size: 0.9rem; line-height: 1.6; color: var(--text); }
.info-card-list { margin: 0; padding-left: 18px; font-size: 0.9rem; color: var(--text); line-height: 1.7; }
.info-card-list li { margin-bottom: 6px; }

/* The "why am I seeing a filtered shop?" bar. Without it, landing inside a
   merchant on four products looks like a shop with four products. */
.merchant-search-bar {
  max-width: 1150px;
  margin: 8px auto 0;
  padding: 11px 16px;
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  background: var(--green-light);
  border: 1px solid #DCEBDC;
  border-radius: 12px;
  font-size: .9rem;
  color: var(--green-dark);
}
.merchant-search-bar[hidden] { display: none; }
.msb-text { flex: 1; min-width: 0; }
.msb-clear {
  flex: none;
  background: none; border: none;
  font-family: inherit; font-size: .85rem; font-weight: 800;
  color: var(--green-dark); cursor: pointer;
  text-decoration: underline;
  padding: 6px 2px;
}
@media (max-width: 640px) {
  .merchant-search-bar { margin: 8px 14px 0; font-size: .85rem; padding: 10px 14px; }
}

/* ---------- product quick-view ----------
   Small on purpose: a bigger photo, the size and the price, and the same
   +/− control as the card. Enough to answer "is this the one I meant?"
   without pretending to be a product page. */
.pv-back {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(16, 32, 20, .55);
}
.pv-back[hidden] { display: none; }
.pv {
  position: fixed; z-index: 91;
  left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: min(420px, 92vw);
  max-height: 88vh; overflow-y: auto;
  background: #fff; border-radius: 18px;
  box-shadow: 0 22px 50px rgba(3, 63, 64, .26);
}
.pv[hidden] { display: none; }
.pv-close {
  position: absolute; top: 8px; right: 8px;
  z-index: 3;                    /* never behind a gallery slide */
  width: 40px; height: 40px;
  border: none; border-radius: 50%;
  background: rgba(255,255,255,.9);
  font-size: 1.5rem; line-height: 1; color: var(--muted);
  cursor: pointer;
}
.pv-media {
  width: 100%;
  /* Was 1/1. A square box gave a wide photo two thick empty bands and pushed
     the price and description below the fold — worse now that products carry
     descriptions. 4/3 plus a hard ceiling keeps the photo big and the words
     visible without scrolling. */
  aspect-ratio: 4 / 3;
  max-height: 46vh;
  background: var(--green-light);
  border-radius: 18px 18px 0 0; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  font-size: 3.4rem;
  position: relative;
}
.pv-media img { width: 100%; height: 100%; object-fit: contain; display: block; }
.pv-body { padding: 16px 18px 20px; }
.pv-shop { margin: 0 0 4px; font-size: .74rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.pv-name { margin: 0 0 6px; font-size: 1.12rem; font-weight: 800; color: var(--text); line-height: 1.3; }
.pv-meta { margin: 0 0 16px; font-size: .95rem; color: var(--green-dark); font-weight: 700; }
.pv-meta .mrp { color: #9AA79A; font-weight: 400; margin-left: 6px; }
.pv-qty { display: flex; align-items: center; gap: 10px; }
.pv-qty .qty-control { flex: 1; }

/* ---------- quick-view gallery ----------
   Real swipe with no library: the strip scrolls horizontally and each slide
   snaps. With one image it behaves exactly like the old single <img>. */
.pv-media.pv-gallery {
  display: block;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  white-space: nowrap;
  font-size: 0;                  /* kills the inline-block gap */
}
.pv-media.pv-gallery::-webkit-scrollbar { display: none; }
.pv-slide {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  scroll-snap-align: center;
  scroll-snap-stop: always;
  font-size: 3.4rem;             /* the icon fallback, restored */
}
.pv-slide img { width: 100%; height: 100%; object-fit: contain; display: block; }

.pv-gallery-wrap { position: relative; }

/* Pointer devices cannot swipe. The dots were clickable but invited nothing,
   so on a laptop the second and third photos were effectively hidden. */
.pv-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 2;
  width: 38px; height: 38px;
  border: 0; border-radius: 50%;
  background: rgba(255,255,255,.92);
  box-shadow: 0 2px 10px rgba(3, 63, 64,.18);
  color: var(--green-dark);
  font-size: 1.15rem; line-height: 1;
  display: none;                 /* shown only when there is more than one */
  align-items: center; justify-content: center;
  cursor: pointer;
  opacity: 0; transition: opacity .15s ease;
}
.pv-gallery-wrap:hover .pv-nav,
.pv-nav:focus-visible { opacity: 1; }
.pv-has-gallery .pv-nav { display: flex; }
.pv-nav[disabled] { opacity: 0 !important; pointer-events: none; }
.pv-nav-prev { left: 10px; }
.pv-nav-next { right: 10px; }
@media (hover: none) {
  .pv-nav { display: none !important; }   /* touch: swiping is the gesture */
}

.pv-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 8px 0 0;
}
.pv-dots[hidden] { display: none; }
.pv-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #C9D5C9; border: 0; padding: 0;
  transition: background .15s ease, transform .15s ease;
}
.pv-dot.on { background: var(--green-dark); transform: scale(1.25); }

/* ---------- quick-view details ----------
   Plain text from the Sheet, never HTML. Collapsed by default so the price
   and the +/- stay reachable without scrolling past an essay. */
.pv-details {
  margin: 16px 0 0;
  font-size: .9rem;
  line-height: 1.55;
  color: var(--muted);
}
.pv-details[hidden] { display: none; }
.pv-details-text { position: relative; }
.pv-details-text p { margin: 0 0 10px; white-space: pre-line; }
.pv-details-text p:last-child { margin-bottom: 0; }
.pv-details-text.clamped {
  max-height: 7.8em;
  overflow: hidden;
}
.pv-details-text.clamped::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0; height: 2.2em;
  background: linear-gradient(to bottom, rgba(255,255,255,0), #fff 85%);
}
.pv-details-more {
  margin-top: 6px;
  background: none; border: 0; padding: 4px 0;
  font-size: .86rem; font-weight: 800;
  color: var(--green-dark);
}
.pv-disclaimer {
  margin: 14px 0 0;
  font-size: .78rem;
  line-height: 1.5;
  color: #8A968A;
  white-space: pre-line;
}
.pv-disclaimer[hidden] { display: none; }

@media (max-width: 640px) {
  /* A sheet from the bottom reads better on a phone than a floating box. */
  .pv {
    left: 0; right: 0; bottom: 0; top: auto;
    transform: none;
    width: 100%;
    border-radius: 18px 18px 0 0;
    /* In the installed PWA the page runs full-screen UNDER the status bar and
       Dynamic Island. A sheet measured in plain vh reaches up into that strip
       and takes the close button with it, which is why the X vanished only on
       a phone and only on the taller panel. Reserving the inset keeps the top
       of the sheet — and the X — below it. */
    max-height: calc(86vh - env(safe-area-inset-top, 0px));
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
  .pv-media { border-radius: 18px 18px 0 0; aspect-ratio: 4 / 3; }
  /* With a description the old 86vh half-sheet left the text in a letterbox.
     The sheet scrolls, the image stays first. */
  .pv.pv-has-details { max-height: calc(94vh - env(safe-area-inset-top, 0px)); }
}

/* The "coming soon" card is a real button now, so it must look tappable and
   its CTA must stay legible — it used to be muted grey, which read as
   disabled. It stays visually quieter than a live service card. */
.svc-card.soon {
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  width: 100%;
  border-style: dashed;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.svc-card.soon:hover {
  border-color: var(--green);
  border-style: solid;
  box-shadow: 0 6px 18px rgba(3, 63, 64, .10);
}
.svc-card.soon .svc-card-go {
  color: var(--green-dark);
  font-weight: 800;
  opacity: 1;
}
.svc-card.soon:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }

/* ---------- global search results ----------
   Vertical for SHOPS, horizontal for the PRODUCTS inside each shop. Making
   the shop sections themselves swipe hid the other shops behind a gesture
   nobody was told about; scrolling the page is the obvious way to see who
   else has the item. Still no prices — those live inside a shop. */
.gs-summary {
  margin: 0 0 14px;
  font-size: .95rem; color: var(--muted);
}
.gs-summary strong { color: var(--green-dark); font-weight: 800; }

.gs-shops { display: flex; flex-direction: column; gap: 16px; }

.gs-shop {
  padding: 14px 0 4px;
  border-top: 1px solid var(--line);
}
.gs-shop:first-child { border-top: none; padding-top: 4px; }

.gs-shop-head { display: flex; align-items: center; gap: 11px; margin-bottom: 12px; }
.gs-logo {
  flex: none; width: 42px; height: 42px;
  border-radius: 10px; overflow: hidden;
  background: var(--green-light);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; color: var(--green-dark);
  box-shadow: inset 0 0 0 2px var(--m-accent, transparent);
}
.gs-logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gs-shop-text { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.gs-shop-name {
  font-size: 1rem; font-weight: 800; line-height: 1.25;
  color: var(--m-name, var(--green-dark));
  overflow-wrap: anywhere;
}
.gs-shop-count { font-size: .78rem; color: var(--muted); }

.gs-open {
  flex: none;
  padding: 9px 16px;
  background: var(--green-dark); color: #fff;
  border: none; border-radius: 999px;
  font-family: inherit; font-size: .85rem; font-weight: 800;
  cursor: pointer; white-space: nowrap;
}
.gs-open:hover { background: #022E2F; }
.gs-open:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }

/* The only thing that swipes. A wide screen simply fits more before it
   needs to. */
.gs-thumbs {
  display: flex; gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  padding-bottom: 8px;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}
.gs-thumb {
  flex: 0 0 96px;
  display: flex; flex-direction: column;
  scroll-snap-align: start;
  padding: 0; border: none; background: none;
  font-family: inherit; text-align: left;
  cursor: pointer;
}
.gs-thumb:hover .gs-thumb-media { box-shadow: 0 0 0 2px var(--green); }
.gs-thumb:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 12px; }

/* Marks the product the customer tapped, so it is obvious which of several
   similar items they landed on. Fades on its own. */
.product-card.is-focused {
  box-shadow: 0 0 0 3px var(--green);
  transition: box-shadow .2s ease;
}
.gs-thumb-media {
  width: 96px; height: 96px;
  border-radius: 12px; overflow: hidden;
  background: var(--green-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.9rem;
  margin-bottom: 6px;
}
.gs-thumb-media img { width: 100%; height: 100%; object-fit: contain; display: block; }
.gs-thumb-name {
  font-size: .74rem; line-height: 1.3; color: var(--text);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 640px) {
  .gs-summary { font-size: .88rem; margin-bottom: 10px; }
  .gs-shop-name { font-size: .95rem; }
  .gs-open { padding: 8px 13px; font-size: .8rem; }
  .gs-thumb { flex: 0 0 84px; }
  .gs-thumb-media { width: 84px; height: 84px; }
}

/* ---------- contact ---------- */
/* ---------- contact ---------- */
.contact { max-width: 1150px; margin: 28px auto 0; padding: 0 20px 4px; scroll-margin-top: calc(var(--hdr, 96px) + 10px); }
.contact-head { max-width: 560px; margin: 0 0 14px; }
.contact h2 {
  font-size: 1.3rem; font-weight: 800; color: var(--green-dark);
  margin: 0 0 6px; letter-spacing: -0.01em;
}
.contact-intro { font-size: 0.92rem; color: var(--muted); line-height: 1.55; margin: 0; }

.contact-form {
  background: var(--card);
  border: 1px solid #DCEBDC;
  border-radius: 18px;
  padding: 20px 22px 22px;
  max-width: 560px;
  box-shadow: 0 1px 2px rgba(3, 63, 64, 0.04);
}

/* One gap value drives the spacing, so the fields stay evenly separated
   whether the name/phone row is side by side or stacked. */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-field { margin-top: 14px; }
.contact-grid .contact-field { margin-top: 0; }

.contact-form label {
  display: block; font-size: 0.78rem; font-weight: 700;
  color: var(--green-dark); margin: 0 0 5px;
}
.contact-form input, .contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 13px 13px;          /* lands at 46px tall — a comfortable thumb target */
  font-family: inherit;
  font-size: 0.9rem;
  background: #fff;
  color: var(--text);
  resize: vertical;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #9AA79A; }
.contact-form input:focus, .contact-form textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(23, 148, 95, 0.12);
}
.contact-form textarea { min-height: 84px; }
/* Scoped to the form so it beats .btn, which is defined later in this file
   and was flattening the button back to 36px. */
.contact-form .contact-send {
  margin-top: 18px; width: 100%;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 20px;
  font-size: 0.95rem;
}

/* The merchant-enquiry banner. It sits ABOVE the form and is joined to it
   visually, so it reads as a label on the form rather than a notice floating
   near it. */
.contact-mode {
  display: flex; align-items: center; gap: 10px;
  max-width: 560px;
  margin: 0 0 -1px;
  padding: 11px 18px;
  background: var(--green-light);
  border: 1px solid #DCEBDC;
  border-bottom: none;
  border-radius: 16px 16px 0 0;
  font-size: 0.86rem;
  color: var(--green-dark);
}
.contact-mode[hidden] { display: none; }
.contact-mode-icon { font-size: 1.05rem; flex: none; }
.contact-mode-text { flex: 1; min-width: 0; }
.contact-mode-text strong { font-weight: 800; }
.contact-mode-x {
  flex: none;
  width: 30px; height: 30px;
  border: none; border-radius: 50%;
  background: transparent;
  color: var(--green-dark);
  font-size: 1.3rem; line-height: 1;
  cursor: pointer;
}
.contact-mode-x:hover { background: rgba(3, 63, 64, 0.1); }
.contact-mode-x:focus-visible { outline: 2px solid var(--green); outline-offset: 1px; }
/* Square off the form's top corners while the banner is attached. */
.contact.is-merchant .contact-form { border-radius: 0 0 18px 18px; }
/* One route at a time: the invitation is redundant once accepted. */
.contact.is-merchant .merchant-cta { display: none; }

/* The merchant route. Muted, outlined, dashed — it reads as an aside rather
   than a second call to action competing with Send message. */
.merchant-cta {
  display: flex; align-items: center; gap: 10px;
  max-width: 560px; width: 100%;
  margin: 12px 0 0;
  padding: 14px 16px;
  background: transparent;
  border: 1px dashed #CFE3CF;
  border-radius: 14px;
  font-family: inherit;
  font-size: 0.88rem;
  color: var(--muted);
  text-align: left;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease;
}
.merchant-cta:hover { background: var(--green-light); border-color: var(--green); }
.merchant-cta:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }
.merchant-cta strong { color: var(--green-dark); font-weight: 800; }
.merchant-cta-icon { font-size: 1.1rem; flex: none; }
.merchant-cta-go { margin-left: auto; color: var(--green-dark); font-weight: 800; flex: none; }

@media (max-width: 560px) {
  .contact { padding: 0 14px 4px; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-grid .contact-field + .contact-field { margin-top: 0; }
  .contact-form { padding: 18px 16px 20px; border-radius: 16px; }
  .contact h2 { font-size: 1.18rem; }
}

/* ---------- footer ---------- */
.site-footer {
  background: var(--footer-bg);
  /* The ticker green from the logo, as a 3px edge rather than the whole
     block. It brings that colour into the footer and draws a clean line
     between the page and the footer, without a large light-green area that
     would outshine the buttons above it and squeeze the small print's
     readability to 4.77 against a 4.5 minimum. Here it stays at 8.76. */
  border-top: 3px solid var(--footer-edge);
  color: #D6E5D9;
  margin-top: 26px;
  padding-bottom: 76px;
}
.footer-top {
  max-width: 1150px;
  margin: 0 auto;
  padding: 40px 20px 28px;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.2fr 1.2fr;
  gap: 32px;
}
.footer-col { min-width: 0; }
.footer-brand p { color: #B9D0BE; line-height: 1.55; max-width: 32ch; }

.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.footer-logo img { width: 40px; height: 40px; object-fit: contain; }

.footer-label { color: #9FC3A9; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 700; margin: 0 0 12px; }
.footer-label-spaced { margin-top: 16px; }
.site-footer a { color: #fff; font-weight: 700; text-decoration: none; }
.site-footer p { margin: 4px 0; font-size: 0.86rem; color: #C7DBCB; }
.brand-name.small { font-weight: 800; color: #fff; font-size: 1.05rem; }

.footer-links { display: flex; flex-direction: column; gap: 2px; }
.footer-links a {
  font-weight: 500; color: #D6E5D9; font-size: 0.87rem; transition: color 0.15s;
  /* These were 16px tall — the hardest targets on the site for a thumb. The
     padding does the work, so the gap above came down to keep the column the
     same overall height. */
  display: block;
  padding: 12px 0;
  line-height: 1.25;
}
.footer-links a:hover { color: #fff; text-decoration: underline; }

.footer-detail-link {
  display: flex;
  align-items: center;
  gap: 8px;
  /* Email and website measured 15px tall — the two non-phone ways a customer
     reaches you. Same fix as the quick links: the padding carries the target
     and the margin gives most of it back. */
  margin-top: 4px;
  padding: 10px 0;
  min-height: 44px;
  font-size: 0.84rem;
  font-weight: 500;
  color: #D6E5D9;
}
.footer-detail-link:hover { color: #fff; text-decoration: underline; }
.footer-detail-link svg { flex: none; opacity: 0.8; }

.social-icons { display: flex; gap: 10px; margin-top: 4px; }
.social-icons a {
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.15s;
}
.social-icons a:hover { transform: scale(1.08); }
.social-icons a svg { border-radius: 9px; }

.contact-btns { display: flex; flex-direction: column; gap: 8px; }
.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 700;
  width: fit-content;
}
.contact-btn.whatsapp { background: #fff; color: var(--green-dark); }
.contact-btn.whatsapp:hover { background: #EFFBF2; }
.contact-btn.call { background: rgba(255,255,255,0.14); color: #fff; }
.contact-btn.call:hover { background: rgba(255,255,255,0.22); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.14);
  max-width: 1150px;
  margin: 0 auto;
  padding: 18px 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom p { margin: 0; font-size: 0.78rem; color: #9FC3A9; }

@media (max-width: 780px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ---------- cart drawer ---------- */
.cart-overlay {
  position: fixed; inset: 0;
  background: rgba(15,23,20,0.4);
  opacity: 0; pointer-events: none;
  transition: opacity 0.2s;
  z-index: 40;
}
.cart-overlay.open { opacity: 1; pointer-events: auto; }

.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(380px, 92vw);
  background: #fff;
  z-index: 50;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.25s ease;
  box-shadow: -8px 0 24px rgba(0,0,0,0.12);
}
.cart-drawer.open { transform: translateX(0); }

.cart-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 18px;
  /* Same problem as the site header — the drawer is fixed to top: 0, so its
     close button was sitting under the Dynamic Island as well. */
  padding-top: calc(16px + env(safe-area-inset-top, 0px));
  border-bottom: 1px solid var(--line);
}
/* Demoted to a label above the shop name. */
.cart-title {
  font-weight: 800; font-size: 0.7rem; margin: 0;
  text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--muted);
}

/* No fixed width anywhere in this row: the identity block takes whatever is
   left after the close button. */
.cart-head-id {
  display: flex; align-items: center; gap: 11px;
  flex: 1; min-width: 0;
}
.cart-head-text { flex: 1; min-width: 0; }

.cart-shop-logo {
  flex: none;
  width: 40px; height: 40px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--green-light);
  border: 1px solid #DCEBDC;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; color: var(--green-dark); font-size: 1rem;
}
.cart-shop-logo[hidden] { display: none; }
.cart-shop-logo img { width: 100%; height: 100%; object-fit: cover; display: block; }

#cartClose {
  flex: none;
  background: none; border: none;
  font-size: 1.4rem; color: var(--muted); line-height: 1;
  width: 40px; height: 40px;      /* a real target, not just a glyph */
  cursor: pointer;
}

@media (max-width: 640px) {
  /* Wrap to two lines rather than shrinking the type. Ellipsis only after
     that, for a name long enough that two lines still will not hold it. */
  .cart-shop {
    font-size: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .cart-shop-logo { width: 36px; height: 36px; }
  .cart-head { padding-left: 14px; padding-right: 12px; }
}

/* The drawer used to split into a scrolling items pane and a fixed form, so
   the tall checkout form squeezed the items down to a two-line window and
   pushed Place order below the fold. Now ONE column scrolls, and the order
   button is pinned to the bottom where it is always reachable. */
.cart-scroll {
  flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}
.cart-items { padding: 12px 18px; }
.cart-empty { color: var(--muted); font-size: 0.86rem; text-align: center; padding: 30px 0; }

.cart-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #F1F3EF;
  gap: 10px;
}
.cart-row-name { font-weight: 600; font-size: 0.85rem; margin: 0; }
.cart-row-meta { font-size: 0.78rem; color: var(--muted); margin: 2px 0 0; }
.cart-row-remove { background: none; border: none; font-size: 1.2rem; color: var(--muted); flex: none; }

.cart-total {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0 4px;
  font-size: 0.88rem;
}
.cart-note { font-size: 0.74rem; color: var(--muted); margin: 4px 0 0; }

.cart-foot { padding: 14px 18px; border-top: 1px solid var(--line); }

/* Pinned order bar — always visible, never scrolled past. */
.cart-pay {
  flex: none; padding: 12px 18px calc(12px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--line); background: #fff;
  box-shadow: 0 -6px 16px rgba(0,0,0,.06);
}
.cart-pay-sum {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 10px; margin-bottom: 9px; font-size: .86rem;
}
.cart-pay-sum strong { font-size: 1.05rem; font-weight: 800; color: var(--green-dark); }
.cart-pay-sum .cart-pay-note { color: var(--muted); font-size: .76rem; font-weight: 700; }
.cart-pay .btn { margin: 0; }
.cart-foot label { display: block; font-size: 0.76rem; font-weight: 700; color: var(--muted); margin: 10px 0 4px; }
.cart-foot label:first-child { margin-top: 0; }
.cart-foot input, .cart-foot textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
  font-family: inherit;
  font-size: 0.86rem;
  resize: vertical;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  border-radius: 10px;
  padding: 10px 16px;
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  border: none;
}
.btn-primary { background: var(--green-dark); color: #fff; }
.btn-primary:disabled { background: #C6CBC4; cursor: not-allowed; }
.btn-ghost { background: var(--green-light); color: var(--green-dark); }
.btn-block { width: 100%; }
.btn-sm { padding: 7px 12px; font-size: 0.8rem; }

/* ---------- install toast ---------- */
/* ---------- floating whatsapp button ---------- */
.whatsapp-fab {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.28);
  z-index: 35;
  transition: transform 0.15s;
}
.whatsapp-fab:hover { transform: scale(1.07); }
.whatsapp-fab:active { transform: scale(0.97); }

.install-toast {
  position: fixed; left: 16px; right: 16px; bottom: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  z-index: 45;
  display: none;
  flex-direction: column;
  gap: 10px;
  max-width: 420px;
  margin: 0 auto;
}
.install-toast.show { display: flex; }
.install-toast span { font-size: 0.86rem; }
.install-toast div { display: flex; gap: 8px; }

/* ---------- responsive ---------- */
/* ---------- mobile navigation ----------
   The desktop row does not fit a phone: "Contact Us" was being clipped and
   the page scrolled sideways. Below 860px the links move into a drawer.
   Nothing above the drawer moves — the logo, search and cart keep their
   spacing, which is deliberate for the iPhone notch and Dynamic Island. */
@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex; align-items: center; gap: 9px;
    margin: 0 14px 8px;
    padding: 9px 14px;
    background: var(--green-light);
    border: 1px solid #DCEBDC;
    border-radius: 999px;
    font-family: inherit; font-size: 0.88rem; font-weight: 800;
    color: var(--green-dark);
    cursor: pointer;
  }
  .nav-toggle-bars { display: inline-flex; flex-direction: column; gap: 3px; }
  .nav-toggle-bars span {
    display: block; width: 16px; height: 2px; border-radius: 2px;
    background: var(--green-dark);
    transition: transform .18s ease, opacity .18s ease;
  }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

  /* Closed by default. No horizontal scrolling anywhere. */
  .main-nav {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    overflow: visible;          /* the old overflow-x clipped the dropdown */
    padding: 0 14px 10px;
  }
  .main-nav.is-open { display: flex; }
  /* No stray gap between rows — the dividers do that job. */
  .main-nav.is-open > * { margin: 0; }

  /* Compact but still comfortable: 40px rows across the full width. The
     Services BUTTON needs the same rule as the links or it renders half the
     height of its neighbours and the list looks uneven. */
  /* Stacked, so the divider is a horizontal rule. It belongs to the ROW —
     the link, or the dropdown wrapper — never to the button inside the
     wrapper as well, which is what gave Services a doubled, uneven edge
     while its neighbours had a single clean one. */
  /* #mainNav rather than .main-nav: the plain-class version loses to
     `.main-nav a`, so the links silently kept no divider at all. */
  #mainNav > * {
    display: block; width: 100%;
    box-sizing: border-box;
    padding-left: 0; padding-right: 0;
    border-bottom: 1px solid var(--line);
  }
  #mainNav > *:last-child { border-bottom: none; }
  /* The desktop vertical divider has no place in a stacked list. */
  #mainNav > * + *::before { content: none; }

  #mainNav a,
  #mainNav .nav-drop-btn {
    display: flex; align-items: center;      /* labels vertically centred */
    width: 100%;
    box-sizing: border-box;
    min-height: 44px;                        /* comfortable, and equal for all */
    padding: 10px 4px;
    line-height: 1.25;
    text-align: left;
    font-size: 0.94rem;
  }
  /* Only the BUTTON loses its border — it sits inside .nav-dropdown, which is
     the row and already carries the divider. A link IS its own row, so
     zeroing it there removed the divider entirely. */
  #mainNav .nav-drop-btn { border-bottom: none; }
  /* Same left edge as every other label, so nothing looks indented. */
  #mainNav .nav-drop-btn {
    padding-left: 4px; padding-right: 4px;
    /* 1px shorter than a link, because the wrapper around it also carries the
       divider — without this the Services row sat 1px taller than the rest. */
    min-height: 43px;
  }

  /* In the drawer the services list belongs inline, not as a floating panel
     positioned against a button that may have scrolled away. */
  .main-nav .nav-drop-menu {
    position: static;
    width: 100%;
    box-shadow: none;
    border: none;
    border-bottom: 1px solid var(--line);
    padding: 0 0 4px;
    background: transparent;
  }
  .main-nav .nav-drop-item { padding: 8px 4px; }
  .main-nav .nav-drop-all { padding: 8px 4px; }
}

/* Special Offers on a phone are handled with the carousel rules above. */

/* The floating button sat over "View details" on a promo card. Smaller, and
   tucked further into the corner, so it stops covering things people tap.
   env() keeps it clear of the iPhone home indicator. */
@media (max-width: 640px) {
  .whatsapp-fab {
    width: 50px; height: 50px;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  }
  .whatsapp-fab svg { width: 26px; height: 26px; }
}

@media (max-width: 640px) {
  .topbar { flex-wrap: wrap; height: auto; padding: 10px 14px; gap: 10px 12px; }
  .search-row { padding: 2px 14px 4px; }   /* pays for the 44px field, as above */
  .catalogue { padding: 8px 14px 24px; }
  .how { margin: 20px 14px 0; padding: 22px 0 22px 16px; }
  .how-flow {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-right: 16px;
    padding-bottom: 6px;
    scrollbar-width: none;
  }
  .how-flow::-webkit-scrollbar { display: none; }
  .how-step {
    flex: none;
    width: 150px;
    scroll-snap-align: start;
  }
  .how-icon { width: 58px; height: 58px; font-size: 1.6rem; }
  .how-arrow { display: flex; align-items: center; margin-top: 23px; }
  .how::after {
    content: "";
    position: absolute;
    top: 78px; bottom: 6px; right: 0;
    width: 36px;
    background: linear-gradient(to right, rgba(247,248,246,0), var(--paper));
    pointer-events: none;
  }
  .cat-tiles { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- order confirmation modal ---------- */
/* Replaces the old corner toast. It sits over the page on a dimmed backdrop
   so it cannot be missed on a phone, and it survives the trip to WhatsApp
   and back (see app.js — nothing auto-dismisses it). */

.order-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  padding-top: calc(20px + env(safe-area-inset-top, 0px));
  padding-bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  background: rgba(15, 30, 20, 0.55);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  overflow-y: auto;
}
.order-modal[hidden] { display: none; }

.order-modal-card {
  background: #fff;
  border-radius: 20px;
  width: min(430px, 100%);
  max-height: 100%;
  overflow-y: auto;
  padding: 28px 24px 22px;
  text-align: center;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
  animation: orderModalIn 0.22s ease-out;
}
@keyframes orderModalIn {
  from { opacity: 0; transform: translateY(14px) scale(0.98); }
  to   { opacity: 1; transform: none; }
}

.order-modal-tick {
  width: 62px; height: 62px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: #e6f4ea;
  color: var(--green-dark, #033F40);
  display: flex; align-items: center; justify-content: center;
}

.order-modal-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--green-dark, #033F40);
  margin: 0 0 4px;
}
.order-modal-ref {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--muted, #4b5563);
  margin: 0 0 10px;
}
.order-modal-desc {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--muted, #4b5563);
  margin: 0 0 18px;
}

.order-modal-next {
  background: #f4f8f5;
  border: 1px solid #dbe7de;
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 18px;
  text-align: left;
}
.order-modal-next-label {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--green-dark, #033F40);
  margin: 0 0 5px;
}
.order-modal-next-text {
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--muted, #4b5563);
  margin: 0;
}

.order-modal-wa {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  padding: 15px 18px;
  background: #25D366;
  color: #fff;
  font-size: 1.02rem;
  font-weight: 800;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}
.order-modal-wa:active { transform: translateY(1px); }

.order-modal-call {
  display: block;
  margin-top: 14px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--green-dark, #033F40);
  text-decoration: none;
}

.order-modal-done {
  display: block;
  margin: 16px auto 0;
  background: none;
  border: none;
  font-size: 0.86rem;
  color: var(--muted, #4b5563);
  text-decoration: underline;
  cursor: pointer;
}

@media (max-width: 420px) {
  .order-modal-card { padding: 24px 18px 18px; border-radius: 16px; }
  .order-modal-title { font-size: 1.2rem; }
}

/* ---------- repeat order bar ---------- */
.reorder-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 0 auto 18px;
  max-width: 1180px;
  padding: 14px 18px;
  background: #f4f8f5;
  border: 1px solid #dbe7de;
  border-radius: 12px;
}
.reorder-bar[hidden] { display: none; }
.reorder-title { font-weight: 800; font-size: 0.98rem; color: var(--green-dark, #033F40); margin: 0 0 2px; }
.reorder-sub { font-size: 0.85rem; color: var(--muted, #4b5563); margin: 0; }
.reorder-btn {
  flex: none;
  background: var(--green-dark, #033F40);
  color: #fff;
  border: none;
  border-radius: 9px;
  padding: 11px 18px;
  font-weight: 800;
  font-size: 0.9rem;
  cursor: pointer;
}
@media (max-width: 560px) {
  .reorder-bar { flex-direction: column; align-items: stretch; text-align: left; }
  .reorder-btn { width: 100%; }
}

/* ---------- empty search results ---------- */
.no-results { text-align: center; padding: 30px 20px; }
.no-results[hidden] { display: none; }
.no-results-text { font-weight: 700; color: var(--text, #1f2937); margin: 0 0 4px; }
.no-results-sub { font-size: 0.9rem; color: var(--muted, #4b5563); margin: 0 0 14px; }
.no-results-ask {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #25D366;
  color: #fff;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 11px 20px;
  border-radius: 10px;
  text-decoration: none;
}

/* ---------- cart selects and charges ---------- */
.cart-select {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--line, #d7dbd8);
  border-radius: 10px;
  font: inherit;
  background: #fff;
  color: inherit;
}
.cart-slot-hint {
  font-size: 0.82rem;
  color: #8a5a00;
  background: #fdf6e3;
  border: 1px solid #e0c37a;
  border-radius: 8px;
  padding: 8px 10px;
  margin: 8px 0 0;
  line-height: 1.4;
}
.cart-slot-hint[hidden] { display: none; }

.cart-charges {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--line, #d7dbd8);
  font-size: 0.9rem;
  color: var(--muted, #4b5563);
}
.cart-charge-row { display: flex; justify-content: space-between; margin-bottom: 5px; }
.cart-grand { display: flex; justify-content: space-between; font-size: 1.02rem; font-weight: 800; color: var(--text, #1f2937); margin-top: 8px; }
.cart-nudge {
  margin-top: 9px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--green-dark, #033F40);
  background: #eef5f0;
  border-radius: 8px;
  padding: 8px 10px;
}
.cart-min-warning {
  margin-top: 9px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #9b2c2c;
  background: #fdeded;
  border: 1px solid #f0c2c2;
  border-radius: 8px;
  padding: 8px 10px;
}

/* ============================================================
   SERVICES BAND + PROMOTIONS HEADING
   Added sections only — nothing above this line was changed.
   ============================================================ */

.services-band { max-width: 1150px; margin: 0 auto; padding: 26px 20px 4px; scroll-margin-top: calc(var(--hdr, 96px) + 10px); }
/* auto-FILL, same reasoning as the category tiles: with one service the card
   should not stretch across the whole band. */
.services-cards { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }

.svc-card {
  display: flex; align-items: center; gap: 16px; text-decoration: none; color: var(--text);
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px; transition: border-color .15s, transform .15s, box-shadow .15s;
  /* A <button> centres its text and drops the page font. .merchant-card sets
     both and this did not, which is what scrambled the card. */
  width: 100%; text-align: left; font-family: inherit; cursor: pointer;
  flex-wrap: wrap;
}
/* The card is a real button now — it used to be inert, and this rule plus the
   muted title below were what made it read as disabled. */
.svc-card.soon { cursor: pointer; }
.svc-card.live:hover { border-color: var(--green); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(3, 63, 64,.09); }
.svc-card-media {
  flex: none; display: flex; align-items: center; justify-content: center;
  width: 54px; height: 54px; border-radius: 50%; background: var(--green-light);
  overflow: hidden; transition: width .15s, height .15s, border-radius .15s;
}
/* with a photo it becomes a rounded tile — a circle crops a product shot badly */
.svc-card-media.has-img {
  width: 104px; height: 82px; border-radius: 12px; background: var(--green-light);
}
.svc-card-media.has-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.svc-card-ico {
  display: flex; align-items: center; justify-content: center; font-size: 1.6rem;
}
/* With three services across, the description was squeezed into a six-line
   ribbon. Let the button drop onto its own line once the card is tight. */
.svc-card-body { flex: 1 1 auto; min-width: 155px; }
.svc-card-name { display: block; font-weight: 800; font-size: 1rem; color: var(--green-dark); margin-bottom: 3px; }
.svc-card-note { display: block; font-size: .83rem; color: var(--muted); line-height: 1.45; }
.svc-card-stat { display: block; font-size: .78rem; font-weight: 700; color: var(--green); margin-top: 5px; }
.svc-card-go {
  flex: 0 0 auto; margin-left: auto; font-size: .84rem; font-weight: 800; color: var(--green-dark);
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  background: var(--green-light); border-radius: 999px; padding: 9px 15px;
}
.svc-card.live:hover .svc-card-go { background: var(--green); color: #fff; }
.svc-caret { font-size: .75em; transition: transform .18s ease; }
.svc-card[aria-expanded="true"] .svc-caret { transform: rotate(180deg); }
.svc-card-go.muted { color: var(--muted); font-weight: 700; background: #F1F2EF; }

.svc-card.soon { border-style: dashed; background: #FAFBFA; }
.svc-card.soon .svc-card-media { background: #F1F2EF; }
.svc-card-stat.muted { color: var(--muted); font-weight: 600; }

/* On a narrow screen the pill would squeeze the note to two words a line. */
@media (max-width: 560px) {
  .svc-card { flex-wrap: wrap; gap: 13px; }
  .svc-card-body { flex: 1 1 60%; }
  .svc-card-go { width: 100%; justify-content: center; }
}
.svc-card.soon .svc-card-name { color: var(--green-dark); }

/* ---------- promotions heading ---------- */
.promo-head {
  max-width: 1150px; margin: 22px auto 10px; padding: 0 20px;
  display: flex; align-items: center; gap: 9px;
}
.promo-head[hidden] { display: none; }
.promo-head-text { font-size: 1.05rem; font-weight: 800; color: var(--green-dark); }
.promo-spark { font-size: 1.15rem; display: inline-block; animation: promoSpark 2.4s ease-in-out 3; }
.promo-count {
  font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em;
  background: var(--green-light); color: var(--green-dark);
  border-radius: 20px; padding: 4px 11px;
}

/* Runs three times, then stops — a permanent shimmer competes with the
   product photos and makes a trusted local shop look like a discount app. */
@keyframes promoSpark {
  0%, 70%, 100% { transform: scale(1) rotate(0deg); opacity: 1; }
  80% { transform: scale(1.25) rotate(-12deg); opacity: .85; }
  90% { transform: scale(1.1) rotate(10deg); }
}

/* The carousel slides, so the cards no longer rise into place as well —
   two movements at once on the same element read as a glitch. */

/* ---------- validity badge on a promotion ---------- */
.promo-valid {
  display: inline-block; margin-top: 0;
  font-size: .72rem; font-weight: 800; letter-spacing: .02em;
  background: #FDF6E3; color: #8A5A00; border: 1px solid #E8D9A8;
  border-radius: 20px; padding: 3px 10px;
}

/* Some people turn motion off for real reasons — honour it. */
@media (prefers-reduced-motion: reduce) {
  .promo-spark { animation: none !important; }
  /* The carousel checks this in code too: it never moves itself, and the
     arrows, the dots and swiping still work. */
  .promo-track { transition: none !important; }
}

@media (max-width: 560px) {
  .svc-card { align-items: flex-start; }
  .svc-card-go { align-self: center; }
}

/* ---------- Services dropdown in the main nav ---------- */
/* The wrapper is the nav item, so the divider and the padding land on it
   rather than on the button inside — that mismatch was what made Services
   and How It Works look joined. */
.nav-dropdown {
  display: inline-flex; align-items: center;
  flex: none;
  padding-left: 21px; padding-right: 21px;
}
/* Match .main-nav a exactly — a button does not inherit link styling, which is
   why it rendered in a different face and weight to its neighbours. */
.main-nav .nav-drop-btn {
  flex: none;
  display: inline-flex; align-items: center; gap: 5px;   /* caret stays with the word */
  padding-left: 0; padding-right: 0;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 0 0 2px;
  white-space: nowrap;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.main-nav .nav-drop-btn:hover,
.main-nav .nav-drop-btn:focus-visible,
.nav-dropdown.open .nav-drop-btn { color: var(--green-dark); border-bottom-color: var(--green); }
.nav-caret { font-size: .7em; transition: transform .18s ease; }
.nav-dropdown.open .nav-caret { transform: rotate(180deg); }

.nav-drop-menu {
  position: fixed; min-width: 268px; background: #fff; border: 1px solid var(--line);
  border-radius: 14px; box-shadow: 0 14px 34px rgba(3, 63, 64,.16);
  padding: 8px; z-index: 60; text-align: left;
  animation: navDropIn .16s ease-out;
}
.nav-drop-menu[hidden] { display: none; }
@keyframes navDropIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: none; }
}

.nav-drop-item {
  display: flex; align-items: center; gap: 11px; padding: 11px 12px;
  border-radius: 10px; text-decoration: none; color: var(--text);
}
.nav-drop-item:hover { background: var(--green-light); }
.nav-drop-item.soon { opacity: .6; cursor: default; }
.nav-drop-item.soon:hover { background: none; }
.ndi-ico {
  width: 38px; height: 38px; flex: none; border-radius: 50%; background: var(--green-light);
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
}
.nav-drop-item.soon .ndi-ico { background: #F1F2EF; }
.ndi-name { display: block; font-weight: 800; font-size: .9rem; color: var(--green-dark); }
.nav-drop-item.soon .ndi-name { color: var(--muted); }
.ndi-note { display: block; font-size: .76rem; color: var(--muted); margin-top: 1px; }

.nav-drop-all {
  display: block; text-align: center; padding: 9px 12px 5px; margin-top: 4px;
  border-top: 1px solid var(--line); font-size: .8rem; font-weight: 700;
  color: var(--green-dark); text-decoration: none;
}
.nav-drop-all:hover { text-decoration: underline; }

@media (prefers-reduced-motion: reduce) {
  .nav-drop-menu { animation: none; }
  .nav-caret { transition: none; }
}

/* On narrow screens the menu opens flush rather than centred, so it never
   runs off the edge of the phone. */
@media (max-width: 640px) {
  .nav-drop-menu { min-width: 236px; }
}

/* ---------- merchants inside a service ---------- */
.merchants-band { max-width: 1150px; margin: 0 auto; padding: 24px 20px 4px; scroll-margin-top: calc(var(--hdr, 96px) + 10px); }
.merchants-sub { text-align: center; color: var(--muted); font-size: .87rem; margin: -4px 0 18px; }
.merchant-cards { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }

.merchant-card {
  display: flex; align-items: center; gap: 15px; width: 100%; text-align: left;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px; font-family: inherit; cursor: pointer; color: var(--text);
  transition: border-color .15s, transform .15s, box-shadow .15s;
}
.merchant-card:hover { border-color: var(--green); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(3, 63, 64,.09); }
.merchant-card .m-logo {
  width: 62px; height: 62px; flex: none; border-radius: 12px; background: var(--green-light);
  display: flex; align-items: center; justify-content: center; font-size: 1.7rem; overflow: hidden;
}
.merchant-card .m-logo img { width: 100%; height: 100%; object-fit: contain; }
.merchant-card .m-name { display: block; font-weight: 800; font-size: 1.02rem; color: var(--green-dark); margin-bottom: 3px; }
.merchant-card .m-note { display: block; font-size: .83rem; color: var(--muted); line-height: 1.45; }
.merchant-card .m-go { margin-left: auto; flex: none; font-size: .84rem; font-weight: 800; color: var(--green-dark); }
.merchant-card.soon { border-style: dashed; background: #FAFBFA; cursor: default; }
.merchant-card.soon:hover { border-color: var(--line); transform: none; box-shadow: none; }
.merchant-card.soon .m-logo { background: #F1F2EF; }
.merchant-card.soon .m-name { color: var(--muted); }
.merchant-card.soon .m-go { color: var(--muted); font-weight: 700; }

/* the chosen shop's header, sitting above its catalogue */
.merchant-head { max-width: 1150px; margin: 0 auto; padding: 22px 20px 0; scroll-margin-top: calc(var(--hdr, 96px) + 10px); }
.merchant-head[hidden] { display: none; }
/* v46: a 44px-tall tap target. The text sits where it always did; the extra
   height is invisible padding, pulled back with a negative margin so the
   shop panel below does not move. */
.merchant-back {
  background: none; border: none; color: var(--green-dark); font-weight: 700;
  font-size: .87rem; font-family: inherit; cursor: pointer;
  display: inline-flex; align-items: center; min-height: 44px;
  padding: 0 14px 0 0; margin: -10px 0 2px;
}
.merchant-head-inner {
  display: flex; align-items: center; gap: 16px;
  background: var(--green-light); border: 1px solid #D5E4D9; border-radius: var(--radius); padding: 16px 18px;
}
.merchant-logo {
  width: 64px; height: 64px; flex: none; border-radius: 12px; background: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 1.8rem; overflow: hidden;
}
.merchant-logo img { width: 100%; height: 100%; object-fit: contain; }
.merchant-head h2 { margin: 0 0 3px; font-size: 1.15rem; font-weight: 800; color: var(--green-dark); }
.merchant-head p { margin: 0; font-size: .85rem; color: var(--muted); line-height: 1.45; }

/* Until a shop is chosen there are no prices to show, so the catalogue waits. */
body.no-merchant .shop-by-cat,
body.no-merchant #catalogue,
body.no-merchant .no-results,
body.no-merchant .recently-viewed,
body.no-merchant .reorder-bar,
/* belt and braces with closeMerchant(): a notice about one shop must never
   survive on the home page, whatever order things are rendered in */
body.no-merchant .merchant-no-catalogue,
body.no-merchant .search-row { display: none !important; }

@media (max-width: 560px) {
  .merchant-card .m-go { margin-left: 0; width: 100%; padding-top: 6px; }
  .merchant-card { flex-wrap: wrap; }
}

/* whose offer this is */
.promo-by {
  display: inline-block; font-size: .72rem; font-weight: 800;
  color: var(--green-dark); background: var(--green-light);
  border-radius: 20px; padding: 3px 9px; margin-bottom: 5px;
}
/* merchant phone / minimum, straight from the Sheet */
.m-meta { display: block; font-size: .78rem; font-weight: 700; color: var(--green); margin-top: 5px; }
/* optional brand accent, used lightly — the site keeps its own identity */
/* ---------- merchant brand accent ----------
   The Brand Colour column shows up in three restrained places: a ring on the
   shop's logo in the picker, a stripe down the chosen-shop header, and the
   same stripe on the cart header. Deliberately NOT text, buttons or
   backgrounds — a merchant's palette taking over the interface would make
   the site a patchwork and bury Orumart's own brand. */
.merchant-card[style*="--m-accent"] .m-logo { box-shadow: inset 0 0 0 2px var(--m-accent); }
.merchant-card[style*="--m-accent"] .m-name { color: var(--m-name, var(--m-accent)); }

.merchant-head.has-accent {
  border-left: 4px solid var(--m-accent);
  padding-left: 14px;
  border-radius: 4px 0 0 4px;
}
.merchant-head.has-accent .merchant-logo {
  box-shadow: inset 0 0 0 2px var(--m-accent);
}
/* The shop's NAME carries its brand colour. --m-name is the contrast-checked
   version, so a pale brand colour stays readable on white. */
.merchant-head.has-accent h2 { color: var(--m-name, var(--m-accent)); }
.cart-head.has-accent { border-left: 4px solid var(--m-accent); }
.cart-head.has-accent .cart-shop-logo { box-shadow: inset 0 0 0 2px var(--m-accent); }
.cart-head.has-accent .cart-shop { color: var(--m-name, var(--m-accent)); }

.svc-card.live[aria-expanded="true"] { background: var(--green-light); border-color: var(--green); }
/* the pill sits on green-light when open, so it needs its own ground */
.svc-card.live[aria-expanded="true"] .svc-card-go { background: #fff; }

/* ---------- shop picker popup ---------- */
.shop-pop-back { position: fixed; inset: 0; z-index: 70; background: transparent; }
.shop-pop-back[hidden] { display: none; }

.shop-pop {
  position: fixed; z-index: 80; width: 380px; max-width: calc(100vw - 24px);
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 18px 44px rgba(3, 63, 64,.20);
  padding: 14px 14px 12px; text-align: left;
  animation: shopPopIn .16s ease-out;
  /* Two shops fit comfortably today, but the panel is anchored below the
     service card — six shops on a short laptop would run off the bottom with
     no way to reach the last one. It scrolls inside itself instead. */
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  overscroll-behavior: contain;   /* stops the page scrolling behind it */
}
.shop-pop[hidden] { display: none; }
@keyframes shopPopIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: none; }
}
.shop-pop-head { display: flex; align-items: center; gap: 10px; }
.shop-pop-title { font-weight: 800; font-size: .95rem; color: var(--green-dark); flex: 1; }
/* v46: the visible circle is still 32px, but the button itself is 44px, so
   a thumb that lands near it still closes the popup. The negative margin
   keeps the title row exactly as tall as before. */
.shop-pop-close {
  flex: none; width: 44px; height: 44px; margin: -7px -8px -7px 0;
  border-radius: 50%; border: none; cursor: pointer; font-family: inherit;
  background: radial-gradient(circle, var(--green-light) 15.5px, transparent 16.5px);
  color: var(--green-dark); font-size: 1.2rem; line-height: 1;
}
.shop-pop-close:hover { background: radial-gradient(circle, var(--green) 15.5px, transparent 16.5px); color: #fff; }
.shop-pop-close:focus-visible { outline: 2px solid var(--green); outline-offset: -4px; }
.shop-pop-sub { font-size: .78rem; color: var(--muted); margin: 4px 0 12px; }
.shop-pop-list { display: grid; gap: 9px; }

/* the rows reuse .merchant-card, tightened for a menu */
.shop-pop .merchant-card { padding: 12px; gap: 12px; border-radius: 12px; }
.shop-pop .merchant-card .m-logo { width: 46px; height: 46px; font-size: 1.3rem; border-radius: 10px; }
.shop-pop .merchant-card .m-name { font-size: .94rem; margin-bottom: 2px; }
.shop-pop .merchant-card .m-note,
.shop-pop .merchant-card .m-meta { font-size: .76rem; }
.shop-pop .merchant-card:hover { transform: none; box-shadow: none; background: var(--green-light); }
.shop-pop .merchant-card .m-go { font-size: .8rem; }
.shop-pop .merchant-card:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }

/* ---------- shop card contents ---------- */
.merchant-card .m-body { flex: 1; min-width: 0; display: block; }
.m-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.m-chip {
  display: inline-block; font-size: .7rem; font-weight: 800; letter-spacing: .01em;
  background: var(--green-light); color: var(--green-dark);
  border-radius: 20px; padding: 3px 9px; white-space: nowrap;
}
/* a delivery time is a promise, so it is visually distinct from a tagline */
.m-chip-time { background: #FDF6E3; color: #8A5A00; border: 1px solid #E8D9A8; }

/* ---------- loading skeletons ----------
   The Sheet takes ~3s to answer and the page sat blank for all of it, which
   reads as broken rather than slow. Grey outlines in the shape of the real
   thing cost nothing and promise nothing. */
@keyframes skelShine {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.skel {
  background: linear-gradient(90deg, #EDEFEC 25%, #F6F7F5 37%, #EDEFEC 63%);
  background-size: 200% 100%;
  animation: skelShine 1.4s linear infinite;
  border-radius: 8px;
}
.skel-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 12px; }
.skel-tile { height: 118px; border-radius: var(--radius); }
.skel-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
.skel-card { height: 230px; border-radius: var(--radius); }
.skel-row { height: 74px; border-radius: 12px; margin-bottom: 9px; }
@media (prefers-reduced-motion: reduce) {
  .skel { animation: none; }
}
/* keep a menu row on one line — the page's own card rules stack it on a phone,
   which put "Browse →" on a line of its own inside the sheet */
.shop-pop .merchant-card { flex-wrap: nowrap; flex-direction: row; align-items: center; }
.shop-pop .merchant-card > span:not(.m-logo):not(.m-go) { flex: 1; min-width: 0; }
/* the page's ≤560px rule gives .m-go width:100%, which in a narrow sheet
   shoved the shop name down to one word a line */
.shop-pop .merchant-card .m-go { margin-left: auto; width: auto; padding-top: 0; }

/* On a phone a panel pinned under a 40px nav button is unusable — it becomes a
   sheet from the bottom, where a thumb already is. */
@media (max-width: 640px) {
  .shop-pop-back { background: rgba(17,24,20,.42); }
  .shop-pop {
    left: 0 !important; right: 0; top: auto !important; bottom: 0;
    width: 100%; max-width: none;
    border-radius: 18px 18px 0 0; border-bottom: none;
    padding: 16px 16px calc(18px + env(safe-area-inset-bottom));
    max-height: 76vh; overflow-y: auto;
    animation: shopSheetIn .2s ease-out;
  }
  @keyframes shopSheetIn {
    from { transform: translateY(100%); }
    to   { transform: none; }
  }
}
@media (prefers-reduced-motion: reduce) {
  .shop-pop { animation: none; }
  .svc-caret { transition: none; }
}

/* the nav item is a <button> now, so it needs the link's own alignment back */
.main-nav .nav-drop-item {
  width: 100%; text-align: left; font-family: inherit; font-size: inherit;
  background: none; border: none; cursor: pointer;
}
.ndi-go { margin-left: auto; color: var(--green-dark); font-weight: 800; font-size: .8rem; }

/* the search box stays available on the front page — it is how someone who
   knows what they want finds which shop stocks it */
body.no-merchant .search-row { display: flex !important; }

/* ---------- cross-shop search results ---------- */
.global-search { max-width: 1150px; margin: 0 auto; padding: 24px 20px 4px; scroll-margin-top: calc(var(--hdr, 96px) + 10px); }
.global-search[hidden] { display: none; }
.gs-summary {
  font-size: .93rem; color: var(--text); line-height: 1.5;
  margin: -4px 0 14px;
}
.gs-summary strong { color: var(--green-dark); }

.gs-group {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px 18px; margin-bottom: 12px;
  display: block; width: 100%; text-align: left; font-family: inherit;
  color: var(--text);
}
/* the whole card is the tap target — a small "Open shop" link was easy to miss */
.gs-group.tappable { cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.gs-group.tappable:hover { border-color: var(--green); box-shadow: 0 8px 20px rgba(3, 63, 64,.09); }
.gs-group.tappable:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.gs-ask { color: var(--green-dark); font-weight: 700; }
.gs-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.gs-logo {
  width: 42px; height: 42px; flex: none; border-radius: 10px; background: var(--green-light);
  display: flex; align-items: center; justify-content: center; font-size: 1.2rem; overflow: hidden;
}
.gs-logo img { width: 100%; height: 100%; object-fit: contain; }
.gs-name { font-weight: 800; font-size: .98rem; color: var(--green-dark); }
.gs-count { font-size: .78rem; color: var(--muted); }
.gs-open {
  margin-left: auto; background: var(--green-dark); color: #fff; border: none;
  border-radius: 9px; padding: 9px 15px; font-weight: 800; font-size: .82rem;
  font-family: inherit; cursor: pointer;
}
.gs-items { display: flex; flex-wrap: wrap; gap: 7px; }
.gs-item {
  font-size: .79rem; background: var(--green-light); color: var(--green-dark);
  border-radius: 20px; padding: 5px 11px;
}
.gs-more { font-size: .79rem; color: var(--muted); align-self: center; }
.gs-none { color: var(--muted); font-size: .9rem; padding: 6px 0 14px; }

/* ---------- quick access bar ---------- */
/* Service shortcuts. Deliberately below the search area so a customer can
   reach a shop without scrolling past the hero. Built from servicesList(),
   so it carries exactly the services the rest of the site shows as live. */
.quick-bar {
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 8px 20px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;                  /* lets the strip shrink, not the pill */
}

/* ---------- which shop you are in ----------
   Appears only once the shop panel has scrolled out of sight, and only in a
   shop. Filled dark green so it never reads as one of the pale service
   chips beside it. */
.qb-shop {
  flex: 0 0 auto;                /* keeps its width; the chip strip scrolls */
  display: inline-flex;
  align-items: stretch;
  min-width: 0;
  max-width: 72%;                /* the chips scroll, so the name gets the room */
  border-radius: 999px;
  overflow: hidden;
  /* The same light green as the Groceries and Nursery chips beside it, so the
     row reads as one set of controls. Only the wording changes per shop. */
  background: var(--green-light);
  border: 1px solid #DCEBDC;
  color: var(--green-dark);
}
/* The shop's own logo, at exactly the size the emoji occupied, so adopting a
   logo never changes the pill's dimensions. */
.qb-shop-logo {
  width: 18px; height: 18px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  background: #fff;
}
.qb-shop-ico { display: inline-flex; align-items: center; }
/* Both halves inherit the pill's colour, so a brand colour set on the pill
   carries to the name and the x without either being set separately. */
.qb-shop-main, .qb-shop-x { color: inherit; }
.qb-shop[hidden] { display: none; }
.qb-shop-main {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  min-height: 40px;
  padding: 0 4px 0 12px;
  background: none; border: 0;
  color: inherit;            /* follows the pill, so a shop's colour reaches it */
  font-size: .84rem; font-weight: 800;
}
.qb-shop-ico { flex: 0 0 auto; font-size: .95rem; }
.qb-shop-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.qb-shop-x {
  flex: 0 0 auto;
  min-width: 34px; min-height: 40px;
  background: none; border: 0;
  color: inherit; opacity: .75;
  font-size: 1.05rem; line-height: 1;
}
.qb-shop-x:hover { opacity: 1; }
.quick-bar-strip {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1 1 auto;
  min-width: 0;                  /* the CHIPS give way, not the shop name */
  overflow-x: auto;              /* more services simply scroll */
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.quick-bar-strip::-webkit-scrollbar { display: none; }

.qb-chip {
  flex: 0 0 auto;                /* never squash a label to fit */
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 40px;              /* the touch-target floor used elsewhere */
  padding: 8px 15px;
  background: var(--green-light);
  border: 1px solid #DCEBDC;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.87rem;
  font-weight: 700;
  color: var(--green-dark);
  white-space: nowrap;
  cursor: pointer;
}
.qb-chip:hover, .qb-chip:focus-visible {
  background: #E4F1E6;
  border-color: #C6E0CB;
}
.qb-ico { font-size: 1.02rem; line-height: 1; }

@media (max-width: 860px) {
  /* The toggle and the chips share one row; the drawer takes a full row of
     its own below them. Wrapping rather than a fixed layout means a long
     service name can never push the Menu button off screen. */
  .nav-zone {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
  }
  /* The Menu button must line up with the CHIPS, not float to the middle of
     a bar that has grown a second line for the shop pill. */
  .nav-zone > .nav-toggle { order: 1; align-self: flex-start; }
  .nav-zone > .quick-bar  { order: 2; flex: 1 1 0; min-width: 0; }
  .nav-zone > .main-nav   { order: 3; flex: 0 0 100%; }

  .quick-bar {
    border-bottom: 0;            /* the row already has the toggle's spacing */
    padding: 0 14px 8px 0;
  }
  .qb-chip { min-height: 38px; padding: 7px 13px; font-size: 0.84rem; }

  /* On a phone the shop name sat BETWEEN Menu and the service chips, which
     broke the chip row in half and pushed Groceries off screen. It now takes
     a line of its own underneath, so the chips scroll exactly as they did
     before it existed. Desktop keeps it inline — there is room there. */
  .quick-bar { flex-wrap: wrap; }
  .quick-bar > .quick-bar-strip { order: 1; flex: 1 1 auto; }
  .quick-bar > .qb-shop {
    order: 2;
    flex: 0 0 100%;              /* a full-width item wraps to its own line */
    max-width: 100%;
    margin: 6px 0 2px;
    /* pulled back under the Menu button, which sits to the left of this bar */
    margin-left: calc(-1 * var(--qb-toggle-gap, 96px));
    width: calc(100% + var(--qb-toggle-gap, 96px));
  }
  .qb-shop-main { min-height: 34px; font-size: .8rem; padding: 0 2px 0 11px; }
  .qb-shop-x { min-width: 30px; min-height: 34px; }
}

/* ---------- out of stock ---------- */
/* Deliberately still readable. The point is that the customer SEES the
   product and learns the shop carries it — they just cannot add it today.
   Fading it to near-invisible would defeat that. */
.product-card.is-oos .product-media { opacity: 0.45; filter: grayscale(0.7); }
.product-card.is-oos .product-name { color: #6B7280; }
.product-card.is-oos .qty-control { opacity: 0.5; }

.oos-tag {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 8px;
  border-radius: 999px;
  background: #FDECEC;
  color: #9B1C1C;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
  vertical-align: middle;
}

.pv-oos {
  margin: 10px 0 0;
  padding: 10px 14px;
  border-radius: 10px;
  background: #FDECEC;
  color: #9B1C1C;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.4;
}

/* ---------- product link (optional Link column) ---------- */
.pv-link:empty { display: none; }          /* no cell, no gap */
.pv-link { margin-top: 12px; }
.pv-link-a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;                        /* the touch-target floor */
  padding: 9px 16px;
  border: 1px solid #CFE3D3;
  border-radius: 999px;
  background: var(--green-light);
  color: var(--green-dark);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
}
.pv-link-a:hover, .pv-link-a:focus-visible {
  background: #E4F1E6;
  border-color: #B6D6BD;
}

/* ============================================================
   OCT 2026 — scroll stability, service tiles, custom requests
   ============================================================ */

/* ---------- 1. The scroll jitter ----------
   On a phone the shop pill used to wrap onto its own line INSIDE the sticky
   header, so showing it made the header ~52px taller. A taller sticky header
   pushes the whole page down, which brought the shop panel back into view,
   which hid the pill, which pulled the page back up — a loop that ran for as
   long as the finger was moving near that point (measured: 26 to 34 flips in
   one slow pass). The pill now hangs BELOW the header, out of the layout, so
   showing or hiding it can never move anything on the page. */
@media (max-width: 860px) {
  .nav-zone { position: relative; }
  .quick-bar > .qb-shop {
    position: absolute;
    top: calc(100% - 2px);
    left: 14px;
    width: auto;
    max-width: calc(100% - 28px);
    margin: 0;
    box-shadow: 0 3px 10px rgba(12, 45, 82, .16);
    z-index: 2;
  }
}

/* ---------- 2. Service tiles on a phone ----------
   Icon on top, name centred underneath, every tile the same width, long names
   wrapping to two lines. More services than fit simply scroll sideways. The
   desktop cards are untouched. The header's own shortcut row stays compact on
   purpose: it is sticky, and tiles there would cover more of every screen. */
.svc-tile-ico { display: none; }
@media (max-width: 640px) {
  .services-cards {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding: 4px 2px 8px;
    margin: 0 -4px;
  }
  .services-cards::-webkit-scrollbar { display: none; }
  .svc-card,
  .svc-card.soon {
    flex: 0 0 82px;
    width: 82px;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    gap: 7px;
    padding: 8px 2px 6px;
    background: transparent;
    border: 1.5px solid transparent;
    border-radius: 14px;
    text-align: center;
    box-shadow: none;
    transform: none;
  }
  .svc-card.live:hover { transform: none; box-shadow: none; border-color: transparent; }
  .svc-tile-ico {
    display: flex; align-items: center; justify-content: center;
    width: 60px; height: 60px; flex: none;
    border-radius: 50%;
    background: var(--green-light);
    font-size: 1.75rem; line-height: 1;
  }
  .svc-card.soon .svc-tile-ico { background: #F1F2EF; }
  .svc-card-media,
  .svc-card-note,
  .svc-card-stat,
  .svc-card-go { display: none; }
  .svc-card-body { flex: none; min-width: 0; width: 100%; }
  .svc-card-name {
    font-size: .78rem; font-weight: 700; line-height: 1.25; margin: 0;
    color: var(--text);
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden; overflow-wrap: anywhere;
  }
  .svc-card.live[aria-expanded="true"] { background: var(--green-light); border-color: var(--green); }
  .svc-card.live[aria-expanded="true"] .svc-tile-ico { background: #fff; }
  .svc-card:focus-visible { outline: 3px solid var(--green); outline-offset: 1px; }
}

/* ---------- 3. Custom requests ---------- */
.pm-badge-custom { background: rgba(3, 63, 64, .92); color: #fff; }

.custom-cta {
  display: flex; align-items: center; gap: 12px;
  width: calc(100% - 40px); max-width: 1110px;
  margin: 12px auto 4px; padding: 14px;
  border: 1.5px dashed var(--green); border-radius: var(--radius);
  background: var(--green-light); color: var(--text);
  font-family: inherit; text-align: left; cursor: pointer;
}
.custom-cta[hidden] { display: none; }
.custom-cta:hover { background: #E1EFE4; }
.custom-cta:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }
.custom-cta-ico {
  flex: none; width: 44px; height: 44px; border-radius: 10px; background: #fff;
  display: flex; align-items: center; justify-content: center;
  color: var(--green); font-size: 1.3rem;
}
.custom-cta-text { flex: 1 1 auto; min-width: 0; }
.custom-cta-title { display: block; font-weight: 800; font-size: .95rem; color: var(--green-dark); }
.custom-cta-sub { display: block; font-size: .84rem; color: #3F463C; margin-top: 2px; line-height: 1.4; }
.custom-cta-go { flex: none; font-size: 1.6rem; color: var(--green-dark); line-height: 1; }
@media (max-width: 640px) { .custom-cta { width: calc(100% - 28px); } }

.pv-custom[hidden] { display: none; }
.pv-or { display: flex; align-items: center; gap: 10px; margin: 14px 0 10px; color: var(--muted);
  font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.pv-or::before, .pv-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.pv-customize {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; min-height: 48px; border-radius: 10px;
  border: 2px solid var(--green); background: #fff; color: var(--green-dark);
  font-family: inherit; font-weight: 800; font-size: .95rem; cursor: pointer;
}
.pv-customize:hover { background: var(--green-light); }
.pv-customize-note { margin: 6px 0 0; font-size: .8rem; color: var(--muted); text-align: center; line-height: 1.4; }

/* the form: a sheet from the bottom on a phone, a centred panel on a computer */
.rq-back { position: fixed; inset: 0; z-index: 94; background: rgba(16, 32, 20, .55); }
.rq-back[hidden], .rq[hidden] { display: none; }
.rq {
  position: fixed; z-index: 95;
  left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: min(520px, 94vw); max-height: 90vh; overflow-y: auto;
  -webkit-overflow-scrolling: touch; overscroll-behavior: contain;
  background: var(--paper); border-radius: 18px;
  box-shadow: 0 22px 50px rgba(3, 63, 64, .26);
}
@media (max-width: 640px) {
  .rq {
    left: 0; right: 0; bottom: 0; top: auto; transform: none;
    width: 100%; max-height: calc(100% - env(safe-area-inset-top, 0px) - 24px);
    border-radius: 18px 18px 0 0;
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
}
.rq-head {
  position: sticky; top: 0; z-index: 2;
  display: flex; align-items: center; gap: 8px;
  padding: 10px 12px; background: #fff; border-bottom: 1px solid var(--line);
}
.rq-x {
  width: 44px; height: 44px; flex: none; border: 0; border-radius: 50%;
  background: var(--green-light); color: var(--green-dark);
  font-size: 1.5rem; line-height: 1; cursor: pointer;
}
.rq-title { margin: 0; font-size: 1.05rem; font-weight: 800; }
.rq-shop { margin: 1px 0 0; font-size: .82rem; font-weight: 700; color: var(--green-dark); }
.rq-body { padding: 16px; display: flex; flex-direction: column; gap: 16px; }
.rq-field { display: flex; flex-direction: column; min-width: 0; }
.rq-label { display: block; font-size: .86rem; font-weight: 700; margin: 0 0 6px; }
.rq-opt { font-weight: 500; color: var(--muted); }
.rq-help { margin: 6px 0 0; font-size: .78rem; color: var(--muted); line-height: 1.4; }
.rq-sec { margin: 4px 0 -6px; font-size: .74rem; font-weight: 800; color: var(--green-dark);
  text-transform: uppercase; letter-spacing: .08em; }
.rq input, .rq textarea {
  width: 100%; box-sizing: border-box; font: inherit;
  font-size: 16px;            /* under 16px iPhone zooms the page on focus */
  border: 1px solid #D5DAD2; border-radius: 10px; background: #fff; color: var(--text);
}
.rq input { height: 46px; padding: 0 12px; }
.rq textarea { padding: 10px 12px; line-height: 1.45; resize: vertical; }
.rq input:focus, .rq textarea:focus { outline: 2px solid var(--green); outline-offset: 0; border-color: var(--green); }
.rq-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }

.rq-based { display: flex; align-items: center; gap: 12px; background: #fff;
  border: 1px solid var(--line); border-radius: 12px; padding: 10px; }
.rq-based[hidden] { display: none; }
.rq-based img, .rq-based-ph { width: 56px; height: 56px; border-radius: 8px; object-fit: cover; flex: none;
  background: var(--green-light); display: flex; align-items: center; justify-content: center; color: var(--green); }
.rq-based-text { flex: 1 1 auto; min-width: 0; }
.rq-based-k { display: block; font-size: .72rem; color: var(--muted); font-weight: 600; }
.rq-based-name { display: block; font-size: .9rem; font-weight: 800; }
.rq-based-price { display: block; font-size: .8rem; color: #3F463C; }
.rq-based-x { flex: none; min-height: 44px; border: 0; background: none; color: var(--muted);
  font: inherit; font-size: .8rem; font-weight: 700; cursor: pointer; }

.rq-photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.rq-ph { position: relative; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: var(--green-light); }
.rq-ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rq-ph-x { position: absolute; top: 4px; right: 4px; width: 30px; height: 30px; border: 0; border-radius: 50%;
  background: rgba(0, 0, 0, .62); color: #fff; font-size: 1.1rem; line-height: 1; cursor: pointer; }
.rq-ph-add { aspect-ratio: 1; border-radius: 10px; border: 1.5px dashed #9AA394; background: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  color: #3F463C; font: inherit; font-size: .78rem; font-weight: 700; cursor: pointer; }
.rq-ph-add:hover { border-color: var(--green); color: var(--green-dark); }

.rq-note { background: #FFF8E6; border: 1px solid #F1DFA8; border-radius: 12px; padding: 12px;
  font-size: .86rem; line-height: 1.45; color: #4A3F1A; }
.rq-error { margin: -6px 0 0; color: #B42318; font-size: .86rem; font-weight: 600; }
.rq-error[hidden] { display: none; }
.rq-send { min-height: 52px; border: 0; border-radius: 12px; background: var(--green); color: #fff;
  font: inherit; font-size: 1rem; font-weight: 800; cursor: pointer; }
.rq-send:hover { background: var(--green-dark); }
.rq-send:disabled { opacity: .7; cursor: progress; }

/* ---------- 4. The price in the bell ---------- */
.bell-order-status[data-status="Quoted"] { background: #223945; border-color: #223945; color: #fff; }
.bell-order.is-quoted { border-color: var(--green); }
.bell-quote { margin: 10px 0 0; background: #fff; border: 1px solid #C4DAC9; border-radius: 10px; padding: 10px 12px; }
.bq-head { margin: 0 0 6px; font-size: .8rem; font-weight: 800; color: var(--green-dark); }
.bq-row { display: flex; justify-content: space-between; gap: 10px; font-size: .86rem; padding: 2px 0; }
.bq-total { font-weight: 800; font-size: .98rem; border-top: 1px solid var(--line); margin-top: 4px; padding-top: 6px; }
.bq-note { margin: 8px 0 0; font-size: .84rem; line-height: 1.45; color: #3F463C; white-space: pre-line; }
.bq-how { margin: 8px 0 0; font-size: .84rem; line-height: 1.45; background: #FFF8E6;
  border-radius: 8px; padding: 8px 10px; white-space: pre-line; overflow-wrap: anywhere; }
.bq-how span { display: block; font-size: .72rem; font-weight: 800; color: #6B5A1E; text-transform: uppercase; letter-spacing: .06em; }
.bq-paid { margin: 8px 0 0; font-size: .86rem; font-weight: 800; color: var(--green-dark); }
.bq-wa { display: flex; align-items: center; justify-content: center; min-height: 44px; margin-top: 8px;
  border-radius: 10px; background: var(--green); color: #fff; font-weight: 800; font-size: .88rem; text-decoration: none; }

/* Oct 2026: a service with a photo shows it in its phone tile, cropped to a
   circle like the emoji it replaces. The photo is 320 × 240; the circle
   shows its centre, so the subject should sit in the middle. */
@media (max-width: 640px) {
  .svc-tile-ico.has-img {
    background: #fff;
    overflow: hidden;
    box-shadow: 0 0 0 2px var(--green-light), 0 1px 3px rgba(3, 63, 64, .18);
  }
  .svc-tile-ico.has-img img {
    width: 100%; height: 100%;
    object-fit: cover; object-position: center;
    border-radius: 50%;
    display: block;
  }
  .svc-card.live[aria-expanded="true"] .svc-tile-ico.has-img { box-shadow: 0 0 0 2px var(--green); }
}

/* ============================================================
   v41 — one picture per service everywhere, and a phone-shaped
   promotion popup
   ============================================================ */

/* ---------- 1. Desktop service cards: one structure for every card ----------
   Before, each card laid itself out from how much text it had: a short
   description put the photo BESIDE the words, a long one put it on top, and
   the photo was a 104 × 82 rectangle. Now every card is a column — a 120px
   round picture, then name, description and count, then the button pinned to
   the bottom — and every card in the grid is the same height. */
@media (min-width: 641px) {
  .services-cards { grid-auto-rows: 1fr; align-items: stretch; }
  .svc-card,
  .svc-card.soon {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 12px;
    height: 100%;
  }
  .svc-card-media,
  .svc-card-media.has-img,
  .svc-card.soon .svc-card-media {
    width: 120px; height: 120px;
    border-radius: 50%;
    flex: none;
  }
  .svc-card-media.has-img {
    background: #fff;
    box-shadow: 0 0 0 3px var(--green-light), 0 2px 6px rgba(3, 63, 64, .14);
  }
  .svc-card-media.has-img img { width: 100%; height: 100%; object-fit: cover; object-position: center; border-radius: 50%; }
  .svc-card-media .svc-card-ico { font-size: 3.2rem; }
  .svc-card-body { flex: 1 1 auto; width: 100%; min-width: 0; }
  .svc-card-go {
    margin-top: auto;               /* the button sits at the bottom of every card */
    margin-left: 0;
    align-self: flex-end;
    width: auto;
  }
  .svc-card.live[aria-expanded="true"] .svc-card-media.has-img { box-shadow: 0 0 0 3px var(--green); }
}

/* ---------- 2. The service shortcuts: picture over name, everywhere ----------
   THE HEADER MUST NOT CHANGE HEIGHT — that is what made the page wobble
   before. So every size here is fixed in advance: the picture box is 40px
   whether or not its picture has loaded, and the name ALWAYS reserves two
   lines, so a short name, a long name, a slow picture or a dead link all
   give exactly the same row height. */
.qb-chip.qb-tile {
  flex: 0 0 auto;
  width: 74px;
  min-height: 0;
  padding: 4px 2px 3px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 3px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 12px;
  white-space: normal;
  text-align: center;
}
.qb-chip.qb-tile:hover,
.qb-chip.qb-tile:focus-visible { background: var(--green-light); border-color: #DCEBDC; }
.qb-pic {
  width: 40px; height: 40px;
  flex: none;
  border-radius: 50%;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  background: var(--green-light);
  font-size: 1.3rem; line-height: 1;
}
.qb-pic .svc-card-ico { font-size: 1.3rem; }
.qb-pic.has-img { background: #fff; box-shadow: 0 0 0 2px var(--green-light); }
.qb-pic.has-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.qb-name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 2.4em;                    /* two lines, always — a fixed row height */
  line-height: 1.2;
  font-size: .7rem;
  font-weight: 700;
  color: var(--green-dark);
  overflow-wrap: anywhere;
  width: 100%;
}
.quick-bar-strip { gap: 4px; align-items: flex-start; }
@media (max-width: 860px) {
  .qb-chip.qb-tile { width: 70px; padding: 2px 1px 2px; }
  /* Menu lines up with the middle of the taller row, not its top edge */
  .nav-zone > .nav-toggle { align-self: center; }
}

/* ---------- 3. The promotion popup on a phone: portrait ----------
   A computer keeps the wide poster unchanged. On a phone the panel uses most
   of the screen: the poster in a tall frame, whole and undistorted, over a
   blurred copy of itself; the words below; the panel scrolls inside if they
   are long. The close button sits ABOVE the panel, in space kept for it, so
   it never covers the poster and is always within reach. */
@media (max-width: 640px) {
  .lightbox-overlay.is-phone {
    align-items: flex-start;
    padding: calc(64px + env(safe-area-inset-top, 0px)) 3vw calc(14px + env(safe-area-inset-bottom, 0px));
  }
  .lightbox-overlay.is-phone .lightbox-content {
    width: 100%;
    max-height: none;
    height: 100%;
    align-items: flex-start;
  }
  .lightbox-promo.lb-phone {
    width: 100% !important;
    max-width: 100%;
    max-height: 100%;
    border-radius: 16px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    align-items: stretch;
  }
  .lb-stage {
    position: relative;
    flex: none;
    width: 100%;
    /* A tall frame — 4 by 5 — but never taller than the room left for it. */
    aspect-ratio: 4 / 5;
    max-height: calc(100dvh - 64px - 14px - 120px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
    overflow: hidden;
    background: #1f2a22;
    touch-action: none;             /* gestures here are ours: the page never zooms */
    -webkit-user-select: none; user-select: none;
  }
  .lb-stage .lb-bg {
    position: absolute; inset: -20px;
    width: calc(100% + 40px); height: calc(100% + 40px);
    max-width: none; max-height: none;
    object-fit: cover;
    filter: blur(18px) brightness(.85);
    transform: scale(1.05);
  }
  .lb-stage .lb-main {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    max-width: none; max-height: none;
    object-fit: contain;            /* the whole poster, never cropped or stretched */
    transform-origin: 0 0;
    background: transparent;
    will-change: transform;
  }
  .lb-stage.is-zoomed { cursor: grab; }
  .lb-hint {
    margin: 0; padding: 7px 14px 0;
    font-size: .74rem; color: var(--muted); text-align: center;
  }
  .lightbox-promo.lb-phone .lightbox-promo-body {
    max-height: none;               /* the PANEL scrolls, not a small box inside it */
    overflow: visible;
    padding: 10px 16px 16px;
  }
  .lightbox-overlay.is-phone .lightbox-close {
    top: calc(10px + env(safe-area-inset-top, 0px));
    right: 3vw;
    background: rgba(255, 255, 255, .22);
  }
}

/* ============================================================
   v42 — the phone header, rearranged (also tablets, below 860px,
   where the Menu button exists). Desktop is untouched.

     Row 1:  logo ............................  🔔  🛒  ☰
     Row 2:  🔍 search, the full width ................ 🎙
     Row 3:  service shortcuts only, scrolling sideways

   The bell, cart, search and Menu live in three different containers
   in the page. Rather than move them (and break the desktop layout),
   the header becomes one grid here and those containers step aside
   (display: contents), so each control is placed in its row directly.

   STABILITY: every row has a fixed height from the first frame, and
   nothing here depends on scrolling, so the header cannot change
   height while a customer scrolls — the cause of the old wobble.
   ============================================================ */
@media (max-width: 860px) {
  .site-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto auto;
    align-items: center;
  }
  /* !important, and one step more specific, because an older rule forces
     the search row to show on the home page with
     "body.no-merchant .search-row { display: flex !important }" — it still
     shows: its children are simply placed in the grid instead. */
  body .site-header .search-row,
  body .site-header .nav-zone { display: contents !important; }

  /* Row 1 */
  .topbar {
    grid-row: 1; grid-column: 1;
    border-bottom: 0;
    min-width: 0;
  }
  .bell-toggle,
  .cart-toggle,
  .nav-toggle {
    grid-row: 1;
    position: relative;
    width: 44px; height: 44px;           /* the touch-target size used elsewhere */
    margin: 0;
    padding: 0;
    display: inline-flex; align-items: center; justify-content: center;
    background: transparent;
    border: 0;
    border-radius: 12px;
    color: var(--green-dark);
    cursor: pointer;
  }
  .bell-toggle { grid-column: 2; }
  .cart-toggle { grid-column: 3; }
  .nav-toggle  { grid-column: 4; margin-right: 8px; }
  .bell-toggle:hover, .cart-toggle:hover, .nav-toggle:hover,
  .bell-toggle:focus-visible, .cart-toggle:focus-visible, .nav-toggle:focus-visible { background: var(--green-light); }
  .bell-toggle svg, .cart-toggle svg { width: 24px; height: 24px; }

  /* The cart: an outline icon like the bell, no solid block. The count
     becomes a small badge, and only when something is in the cart. */
  .cart-toggle { gap: 0; font-size: 0; }
  #cartCount {
    position: absolute; top: 3px; right: 1px;
    min-width: 18px; height: 18px;
    padding: 0 4px;
    border-radius: 999px;
    background: var(--green);
    color: #fff;
    font-size: .68rem; font-weight: 800; line-height: 18px;
    text-align: center;
    box-shadow: 0 0 0 2px #fff;
  }
  #cartCount[data-empty] { display: none; }
  .bell-dot { top: 3px; right: 1px; box-shadow: 0 0 0 2px #fff; }

  /* The Menu button: just the three lines, the same size as its neighbours. */
  .nav-toggle-label { display: none; }
  .nav-toggle-bars { gap: 4px; }
  .nav-toggle-bars span { width: 22px; height: 2.5px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

  /* Row 2: the search, nearly the whole width, microphone kept. */
  .search-wrap {
    grid-row: 2; grid-column: 1 / -1;
    max-width: none;
    margin: 0 14px 8px;
  }

  /* Row 3: the service shortcuts, nothing else. */
  .quick-bar {
    grid-row: 3; grid-column: 1 / -1;
    padding: 0 14px 6px;
    min-width: 0;
  }
  /* The drawer opens as a full row underneath, as before. */
  .main-nav { grid-row: 4; grid-column: 1 / -1; }
}

/* ---------- Oct 2026: Shop Courier — the customer's side ---------- */
.cart-later p { margin: 0; font-size: .84rem; line-height: 1.45; color: #4A3F1A;
  background: #FFF8E6; border: 1px solid #F1DFA8; border-radius: 10px; padding: 9px 11px; }
.bell-act {
  display: flex; align-items: center; justify-content: center; width: 100%;
  min-height: 46px; margin-top: 10px; border: 0; border-radius: 10px;
  background: var(--green); color: #fff; font: inherit; font-size: .9rem; font-weight: 800; cursor: pointer;
}
.bell-act:disabled { opacity: .7; }
.bell-act.bell-act-quiet { background: #fff; color: var(--green-dark); border: 2px solid var(--green); }
.bell-act-help { margin: 6px 0 0; font-size: .76rem; color: var(--muted); line-height: 1.4; }
.bell-act-done { margin: 10px 0 0; font-size: .84rem; font-weight: 700; color: var(--green-dark); line-height: 1.4; }
.bell-ship { margin-top: 8px; }
.bell-ship .bell-order-track { margin-top: 0; }
.bell-ship-note { margin: 4px 0 0; font-size: .82rem; color: #3F463C; }
.bell-clear-done {
  display: block; margin: 0 0 8px auto; padding: 6px 10px; min-height: 36px;
  border: 1px solid var(--line); border-radius: 999px; background: #fff;
  font: inherit; font-size: .78rem; font-weight: 700; color: var(--green-dark); cursor: pointer;
}

/* ============================================================
   PART B (Oct 2026)
   ============================================================ */

/* ---------- the announcement ticker: lighter, same height ----------
   Was a dark-green gradient with a shadow, the heaviest thing on the page
   since the header went light. Now the pale green of the shortcuts and
   tiles, dark-green words, one thin border. Padding, font size and the
   scroll speed are unchanged, so the ticker is exactly as tall as before. */
.ticker {
  background: var(--green-light);
  color: var(--green-dark);
  /* The thin border is drawn INSIDE (an inset shadow), so it adds no height:
     a real 1px border top and bottom made the ticker 2px taller. */
  box-shadow: inset 0 1px 0 #D3E6D7, inset 0 -1px 0 #D3E6D7;
}
.ticker-label { border-right-color: #C6DDCB; color: var(--green-dark); }
.ticker-content { color: var(--green-dark); font-weight: 600; }
.ticker-truck { background: #fff; box-shadow: 0 0 0 1px #D3E6D7; }

/* ---------- rejected orders, in the customer's words ---------- */
.bell-rejected { margin: 8px 0 0; font-size: .84rem; line-height: 1.45; color: #7A2E1E;
  background: #FBEFEA; border-radius: 8px; padding: 8px 10px; }
.bell-order-status[data-status="Rejected"] { background: #FBEFEA; border-color: #EBC9BD; color: #7A2E1E; }

/* ---------- the review form ---------- */
.rv-ask { margin-top: 10px; padding: 12px; border: 1px solid #C4DAC9; border-radius: 12px; background: #fff; }
.rv-ask-title { margin: 0; font-weight: 800; color: var(--green-dark); font-size: .92rem; }
.rv-ask-sub { margin: 2px 0 8px; font-size: .86rem; color: #3F463C; }
.rv-pick { display: flex; gap: 4px; }
.rv-star { width: 44px; height: 44px; border: 0; background: none; font-size: 1.9rem; line-height: 1;
  color: #D6DAD3; cursor: pointer; padding: 0; }
.rv-star.is-on { color: #E0A21B; }
.rv-star:focus-visible { outline: 2px solid var(--green); border-radius: 8px; }
.rv-comment { width: 100%; box-sizing: border-box; margin-top: 8px; border: 1px solid #D5DAD2; border-radius: 10px;
  padding: 9px 11px; font: inherit; font-size: 16px; resize: vertical; }
.rv-err { margin: 6px 0 0; color: #B42318; font-size: .82rem; font-weight: 600; }
.rv-err[hidden] { display: none; }
.rv-btns { display: flex; gap: 8px; margin-top: 10px; }
.rv-submit { flex: 1; min-height: 44px; border: 0; border-radius: 10px; background: var(--green); color: #fff;
  font: inherit; font-weight: 800; cursor: pointer; }
.rv-later { min-height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff;
  font: inherit; font-weight: 700; color: var(--muted); cursor: pointer; }
.rv-fine { margin: 8px 0 0; font-size: .72rem; color: var(--muted); line-height: 1.4; }
.rv-done { margin: 10px 0 0; font-size: .86rem; font-weight: 700; color: var(--green-dark); }
.rv-stars { color: #E0A21B; letter-spacing: 1px; }
.rv-off { color: #D6DAD3; }

/* ---------- What Customers Say ---------- */
.shop-reviews { max-width: 1110px; margin: 20px auto 8px; padding: 0 20px; }
.shop-reviews[hidden] { display: none; }
.sr-title { font-size: 1.15rem; color: var(--green-dark); margin: 0 0 10px; }
.sr-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.sr-more-wrap { margin-top: 12px; }
.sr-card { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.sr-text { margin: 8px 0; font-size: .92rem; line-height: 1.55; color: var(--text); white-space: pre-line; overflow-wrap: anywhere; }
.sr-sign { font-size: .8rem; color: var(--muted); font-weight: 600; }
.sr-date { font-weight: 400; }
.sr-more { margin-top: 12px; min-height: 44px; padding: 0 16px; border: 1px solid var(--green); border-radius: 999px;
  background: #fff; color: var(--green-dark); font: inherit; font-weight: 800; cursor: pointer; }
@media (max-width: 640px) { .shop-reviews { padding: 0 14px; } .sr-grid { grid-template-columns: 1fr; } }

/* ---------- Track Order ---------- */
.trk-lede { margin: 0; font-size: .9rem; color: #3F463C; }
.trk-card { border: 1px solid var(--line); border-radius: 12px; background: #fff; padding: 12px 14px; }
.trk-ref { margin: 0; font-weight: 800; font-size: 1rem; }
.trk-shop { margin: 2px 0 0; font-size: .82rem; color: var(--muted); }
.trk-status { display: inline-block; margin-top: 8px; }
.trk-steps { list-style: none; margin: 0; padding: 0 0 0 4px; }
.trk-steps li { display: flex; gap: 10px; align-items: flex-start; position: relative; padding: 0 0 14px; }
.trk-steps li:not(:last-child)::before { content: ""; position: absolute; left: 11px; top: 24px; bottom: 0; width: 2px; background: #DDE5DD; }
.trk-steps li.is-done:not(:last-child)::before { background: var(--green); }
.trk-dot { flex: none; width: 24px; height: 24px; border-radius: 50%; border: 2px solid #CBD5CB; background: #fff;
  display: flex; align-items: center; justify-content: center; font-size: .72rem; font-weight: 800; color: #fff; }
.trk-steps li.is-done .trk-dot { background: var(--green); border-color: var(--green); }
.trk-steps li.is-now .trk-dot { box-shadow: 0 0 0 4px rgba(4, 86, 87, .18); }
.trk-step { font-size: .9rem; font-weight: 700; color: var(--muted); padding-top: 2px; }
.trk-steps li.is-done .trk-step { color: var(--text); }
.trk-step small { display: block; font-weight: 500; font-size: .76rem; color: var(--green-dark); }
.trk-ship { border: 1px solid var(--line); border-radius: 12px; background: #fff; padding: 10px 14px; }
.trk-ship p { margin: 3px 0; display: flex; justify-content: space-between; gap: 10px; font-size: .86rem; }
.trk-ship p span { color: var(--muted); }
.trk-ship .trk-h { font-weight: 800; color: var(--green-dark); display: block; margin-bottom: 4px; }
.trk-courier { display: flex; align-items: center; justify-content: center; min-height: 44px; margin-top: 8px;
  border-radius: 10px; background: var(--green); color: #fff; font-weight: 800; text-decoration: none; }
.trk-again { min-height: 44px; border: 0; background: none; color: var(--green-dark); font: inherit; font-weight: 700; cursor: pointer; }
.footer-track { display: inline-block; margin-top: 12px; font-weight: 700; color: inherit; text-decoration: underline; }
.bell-track-link { display: block; width: 100%; margin: 8px 0; min-height: 40px; border: 0; background: none;
  color: var(--green-dark); font: inherit; font-size: .84rem; font-weight: 700; text-align: center; cursor: pointer; }

/* ---------- small phones: the logo must clear the 🔔 ----------
   Since the bell, cart and menu moved up beside the logo (v42), the full-size
   logo and name overlapped the bell below ~370px wide (by 7px at 360, 47px at
   320). Narrow phones get a slightly smaller logo and name. The row keeps its
   height (--topbar-h), so nothing below moves. */
@media (max-width: 380px) {
  .topbar { padding-left: 12px; padding-right: 4px; gap: 10px; }
  .brand { gap: 9px; }
  .brand-mark { width: 60px; height: 60px; }
  .brand-name { font-size: 1.45rem; }
  .brand-sub { font-size: .82rem; letter-spacing: .12em; }
}
@media (max-width: 345px) {
  .brand-mark { width: 46px; height: 46px; }
  .brand-name { font-size: 1.2rem; }
  .brand-sub { font-size: .7rem; letter-spacing: .1em; }
}

/* ============================================================
   v45 (Oct 2026)
   ============================================================ */

/* ---------- the announcement ticker, rebuilt ----------
   One fixed height on every device (36px), so English, Malayalam and emoji
   cannot change it; regular-weight white text on a fresh Orumart green
   (#045657 — white on it measures 4.62:1, above the 4.5:1 readability bar);
   no borders; one compact icon. Supersedes the earlier ticker rules. */
.ticker {
  height: 36px;
  padding: 0;
  gap: 0;
  background: #045657;
  color: #fff;
  border: 0;
  box-shadow: none;
  align-items: center;
}
.ticker-label {
  flex: none;
  display: flex; align-items: center;
  height: 36px;
  padding: 0 10px 0 12px;
  border-right: 1px solid rgba(255, 255, 255, .28);
  color: #fff;
}
.ticker-mega { display: block; width: 20px; height: 20px; }
/* the words "Latest updates" stay for screen readers only, on every device */
.ticker-label-text {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.ticker-track { height: 36px; align-items: center; }
.ticker-content {
  height: 36px;
  line-height: 36px;
  font-size: .86rem;
  font-weight: 500;
  color: #fff;
  padding-right: 0;
  animation-name: ticker-scroll;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}
.ticker-content span { padding: 0; }
.ticker-msg { padding: 0 16px !important; }
.ticker-sep { opacity: .7; font-size: .7rem; padding: 0 2px !important; }
@media (max-width: 640px) {
  .ticker-content { font-size: .84rem; }
  .ticker-label { padding: 0 9px 0 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .ticker-content { animation-duration: 120s !important; }
}

/* ---------- the service rows: a partial tile at the edge ----------
   fitServiceRows() sets the width only when a row overflows; otherwise the
   tiles keep their usual size. Heights never change. */
.qb-chip.qb-tile { width: var(--qb-w, 74px); }
@media (max-width: 860px) { .qb-chip.qb-tile { width: var(--qb-w, 70px); } }
.quick-bar-strip { scroll-snap-type: x proximity; overscroll-behavior-x: contain; }
.qb-tile { scroll-snap-align: start; }

@media (max-width: 640px) {
  .services-cards .svc-card { flex: 0 0 var(--svc-w, 82px); width: var(--svc-w, 82px); }
  .services-cards { overscroll-behavior-x: contain; }
  /* "View all": the same tiles, wrapped into rows instead of one strip */
  .services-cards.is-all { flex-wrap: wrap; overflow-x: visible; justify-content: flex-start; row-gap: 12px; }
}
.svc-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.svc-viewall {
  flex: none; min-height: 40px; padding: 0 4px; border: 0; background: none;
  font: inherit; font-size: .88rem; font-weight: 800; color: var(--green-dark); cursor: pointer;
}
.svc-viewall[hidden] { display: none; }

/* ---------- computer: ‹ › beside the shortcuts, only when they overflow ---------- */
.qb-arrows { display: flex; gap: 4px; flex: none; }
.qb-arrows[hidden] { display: none; }
.qb-arrow {
  width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line);
  background: #fff; color: var(--green-dark); font-size: 1.2rem; line-height: 1; cursor: pointer;
}

/* ---------- Customer Experiences ---------- */
.cx { max-width: 1150px; margin: 34px auto 8px; padding: 0 20px; }
.cx[hidden] { display: none; }
.cx-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.cx-head h2 { margin: 0; font-size: 1.5rem; color: var(--text); }
.cx-nav { display: flex; gap: 6px; }
.cx-nav[hidden] { display: none; }
.cx-btn {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: #fff;
  color: var(--green-dark); font-size: 1.35rem; line-height: 1; cursor: pointer;
}
.cx-track {
  display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; overscroll-behavior-x: contain; padding: 2px 2px 6px;
}
.cx-track::-webkit-scrollbar { display: none; }
.cx-card {
  margin: 0; flex: 0 0 calc((100% - 28px) / 3); scroll-snap-align: start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px;
  display: flex; flex-direction: column; gap: 8px; min-width: 0;
}
.cx-text {
  margin: 0; font-size: .94rem; line-height: 1.55; color: var(--text); overflow-wrap: anywhere;
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
}
.cx-who { margin-top: auto; font-size: .82rem; font-weight: 700; color: var(--muted); }
.cx-shop { display: block; font-weight: 600; color: var(--green-dark); margin-top: 2px; }
@media (max-width: 900px) { .cx-card { flex-basis: calc((100% - 14px) / 2); } }
@media (max-width: 640px) {
  .cx { padding: 0 14px; margin-top: 26px; }
  .cx-head h2 { font-size: 1.25rem; }
  .cx-nav { display: none; }             /* phones swipe; the next card peeks in */
  .cx-card { flex-basis: 86%; }
}

/* ============================================================
   v46 — install and "Get updates" invitations
   Same footing as the Android install card (bottom, white, one card at a
   time) so the three read as one family. Sits above the WhatsApp button.
   ============================================================ */
.invite {
  position: fixed; left: 12px; right: 12px;
  bottom: calc(14px + env(safe-area-inset-bottom, 0px));
  z-index: 46; display: none; gap: 12px; align-items: flex-start;
  max-width: 420px; margin: 0 auto; padding: 14px 16px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(12, 45, 30, .18);
}
.invite.show { display: flex; animation: invite-in .22s ease-out; }
@keyframes invite-in { from { transform: translateY(12px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .invite.show { animation: none; } }
.invite-icon { width: 40px; height: 40px; border-radius: 10px; flex: none; }
.invite-bell {
  flex: none; width: 40px; height: 40px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--green-light); color: var(--green-dark);
}
.invite-text { flex: 1; min-width: 0; }
.invite-title { margin: 0 0 3px; font-weight: 800; font-size: .95rem; color: var(--green-dark); }
.invite-sub { margin: 0; font-size: .82rem; color: var(--muted); line-height: 1.45; }
.invite-steps { margin: 6px 0 0; padding-left: 18px; font-size: .83rem; line-height: 1.5; color: var(--text); }
.invite-steps li { margin-bottom: 3px; }
.invite-share { vertical-align: -2px; color: #0A84FF; }
.invite-actions { display: flex; gap: 8px; margin-top: 10px; }
.invite-actions .btn-sm { min-height: 40px; padding: 8px 14px; }
body.bell-open .invite { display: none; }

/* the bell's own line about notifications */
.bell-push {
  display: block; width: 100%; margin: 4px 0 8px; padding: 10px 12px; min-height: 44px;
  border: 1px dashed #BFD8C5; border-radius: 10px; background: var(--green-light);
  color: var(--green-dark); font: inherit; font-size: .82rem; font-weight: 700;
  text-align: center; cursor: pointer; line-height: 1.4;
}
.bell-push.is-off { cursor: default; font-weight: 600; color: var(--muted); background: #F6F7F5; border-color: var(--line); }

/* v46: policy links in the footer */
.footer-legal { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 6px; margin: 0 0 10px; }
.footer-legal a { color: rgba(255,255,255,.88); font-size: .8rem; font-weight: 600; text-decoration: none;
  display: inline-flex; align-items: center; min-height: 36px; padding: 0 8px; }
.footer-legal a:hover { color: #fff; text-decoration: underline; }

body.invite-open .whatsapp-fab { display: none; }

/* ============================================================
   v47 — My account
   Built on the Track Order sheet (.rq / .trk) so it opens, scrolls and
   closes exactly like the panels customers already know.
   ============================================================ */
.acct-wait { color: var(--muted); font-size: .9rem; text-align: center; padding: 18px 0; margin: 0; }
.acct-gbtn { display: flex; justify-content: center; min-height: 48px; margin: 14px 0 6px; }
.acct-google { font-size: .86rem; color: var(--muted); margin: 0 0 10px; }
.acct-card { background: var(--green-light); border: 1px solid #D5E4D9; border-radius: var(--radius); padding: 14px 16px; margin-bottom: 6px; }
.acct-name { margin: 0 0 4px; font-weight: 800; font-size: 1.02rem; color: var(--green-dark); }
.acct-line { margin: 0 0 2px; font-size: .88rem; color: var(--text); line-height: 1.45; overflow-wrap: anywhere; }
.acct-h { margin-top: 18px; }
.acct-orders { display: grid; gap: 10px; }
.acct-order { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; }
.acct-order.is-done { background: #FAFBF9; }
.acct-order-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.acct-order-shop { margin: 0; font-weight: 800; font-size: .95rem; color: var(--green-dark); }
.acct-order-top .bell-order-status { margin: 0; }
.acct-order-meta { margin: 4px 0 6px; font-size: .8rem; color: var(--muted); overflow-wrap: anywhere; }
.acct-order-actions { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.acct-btn { min-height: 40px; padding: 8px 14px; border-radius: 999px; border: 1px solid #BFD8C5;
  background: #fff; color: var(--green-dark); font: inherit; font-size: .84rem; font-weight: 700; cursor: pointer; }
.acct-btn:hover { background: var(--green-light); }
.acct-empty { margin: 0; padding: 16px; text-align: center; color: var(--muted); font-size: .88rem;
  border: 1px dashed var(--line); border-radius: var(--radius); }
.acct-link { background: none; border: 0; padding: 10px 0; min-height: 44px; font: inherit; font-size: .86rem;
  font-weight: 700; color: var(--green-dark); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.acct-card .acct-link { padding: 6px 0 0; min-height: 36px; }
.acct-link-danger { color: #A3261B; }
.acct-foot { display: flex; justify-content: space-between; gap: 12px; margin-top: 18px; padding-top: 8px; border-top: 1px solid var(--line); }
.acct-danger { background: #A3261B !important; }
.acct-trk { display: block; width: 100%; margin: 0 0 14px; padding: 11px 12px; min-height: 44px; border-radius: 10px;
  border: 1px solid #BFD8C5; background: var(--green-light); color: var(--green-dark); font: inherit;
  font-size: .86rem; font-weight: 700; cursor: pointer; text-align: center; line-height: 1.35; }
.acct-soft { font-weight: 600; color: var(--muted); }
.order-acct { margin: 12px 0 0; padding: 12px 14px; border-radius: var(--radius); border: 1px dashed #BFD8C5;
  background: #fff; display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.order-acct-text { margin: 0; font-size: .86rem; color: var(--text); flex: 1 1 180px; }
.order-acct-btn { min-height: 40px; padding: 8px 14px; border-radius: 999px; border: 0; background: var(--green-dark);
  color: #fff; font: inherit; font-size: .84rem; font-weight: 700; cursor: pointer; }

/* ============================================================
   v46 audit fixes (6 Oct 2026) — from the 56-screen audit:
   7 screen sizes × 8 screens, Android and iPhone settings.
   ============================================================ */

/* 1. iPhone Safari zooms the whole page into any field with text under
      16px, and leaves it zoomed. These were 13.8–14.4px. */
#searchInput, #contactName, #contactPhone, #contactMessage,
#custName, #custPhone, #custAddr, #custNotes, #custDay, #custTime { font-size: 16px; }

/* 2. Checkout and cart controls at a thumb's size (they were 18–35px). */
#custName, #custPhone, #custDay, #custTime { min-height: 44px; }
#sendOrder { min-height: 48px; }
.cart-clear { min-height: 44px; padding: 0 4px; display: inline-flex; align-items: center; }
.cart-row-remove { min-width: 44px; min-height: 44px; margin: -10px -10px -10px -4px;
  display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; cursor: pointer; }
.cart-row-remove:hover { background: var(--green-light); color: var(--green-dark); }

/* 3. The waiting Place order button was white on light grey (1.65:1). */
.btn-primary:disabled { background: #DCE1DA; color: #4E564C; }

/* 4. Main buttons, footer contact buttons and social icons: 44px. */
.btn:not(.btn-sm), .hero-cta, .contact-btn { min-height: 44px; }
.social-icons a { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }

/* 5. Review stars: a deeper gold, and empty stars that can actually be seen. */
.rv-stars { color: #B7791F; }
.rv-off { color: #8C9389; }

/* 6. A shop's note on its green panel (was 4.38:1, now above 4.5). */
.merchant-head p { color: #535B51; }

/* 7. Footer: room above "Address" (a phone-only rule had removed it). */
.site-footer .footer-label.footer-label-spaced { margin-top: 16px; }

/* 8. The smallest labels, up from 11.2px. */
.qb-name { font-size: 12px; line-height: 13.4px; height: 26.9px; }   /* same 2-line box as before */
.cart-title { font-size: 12px; }
/* …with the search bar kept at exactly its old height (44px), so the header
   does not grow by the 2px the bigger text would otherwise add. */
#searchInput { padding: 12px 0; line-height: 20px; }

/* ============================================================
   v48 — header account icon, account screen, footer
   ============================================================ */

/* ---------- the account icon ---------- */
.acct-toggle {
  flex: none; display: inline-flex; align-items: center; gap: 8px;
  min-height: 40px; padding: 5px 14px 5px 7px; margin-left: 4px;
  border: 1px solid #D5E4D9; border-radius: 999px; background: #fff;
  color: var(--green-dark); font: inherit; font-size: .86rem; font-weight: 700; cursor: pointer;
}
.acct-toggle:hover { background: var(--green-light); }
.acct-toggle:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.acct-avatar {
  width: 28px; height: 28px; border-radius: 50%; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--green-dark); color: #fff; font-size: .82rem; font-weight: 800;
}
.acct-toggle.is-in .acct-toggle-ico { display: none; }
/* Release C: My Account is in the computer menu too (same menu as the phone). */
@media (max-width: 860px) {
  .site-header { grid-template-columns: minmax(0, 1fr) auto auto auto auto; }
  .acct-toggle {
    grid-row: 1; grid-column: 4; position: relative;
    width: 44px; height: 44px; min-height: 0; margin: 0; padding: 0; justify-content: center;
    border: 0; border-radius: 12px; background: transparent;
  }
  .acct-toggle:hover, .acct-toggle:focus-visible { background: var(--green-light); }
  .acct-toggle-text { display: none; }
  .acct-toggle-ico { width: 25px; height: 25px; }
  .nav-toggle { grid-column: 5; }
  .bell-toggle, .cart-toggle, .nav-toggle, .acct-toggle { width: 42px; }
}
/* the extra icon needs ~42px: the logo gives it back on phones */
@media (max-width: 430px) {
  .topbar { padding-left: 12px; gap: 10px; }
  .brand { gap: 9px; }
  .brand-mark { width: 56px; height: 56px; }
  .brand-name { font-size: 1.42rem; }
  .brand-sub { font-size: .76rem; letter-spacing: .12em; }
}
@media (max-width: 375px) {
  .topbar { padding-left: 8px; padding-right: 0; gap: 6px; }
  .brand { gap: 7px; }
  .brand-mark { width: 44px; height: 44px; }
  .brand-name { font-size: 1.16rem; }
  .brand-sub { font-size: .64rem; letter-spacing: .1em; }
  .bell-toggle, .cart-toggle, .nav-toggle, .acct-toggle { width: 40px; }
  .nav-toggle { margin-right: 4px; }
}
@media (max-width: 335px) {
  .brand-text { display: none; }          /* the truck mark alone at 320px */
}

/* ---------- the account screen ---------- */
.ac-back { position: fixed; inset: 0; z-index: 94; background: rgba(16, 32, 20, .5); }
.ac-sheet {
  position: fixed; z-index: 95; display: flex; flex-direction: column;
  background: #F2F4F1; color: var(--text);
  inset: 0;                                   /* a phone: the whole screen */
  padding-top: env(safe-area-inset-top, 0px);
}
.ac-sheet[hidden], .ac-back[hidden] { display: none; }
@media (min-width: 700px) {                   /* a computer or tablet: a side panel */
  .ac-sheet { inset: 0 0 0 auto; width: 440px; box-shadow: -18px 0 50px rgba(12, 45, 30, .22);
    animation: ac-in .22s ease-out; }
}
@keyframes ac-in { from { transform: translateX(24px); opacity: .4; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .ac-sheet { animation: none; } }
.ac-bar {
  flex: none; display: grid; grid-template-columns: 48px 1fr 48px; align-items: center;
  height: 56px; padding: 0 6px; background: #fff; border-bottom: 1px solid var(--line);
}
.ac-bar-title { margin: 0; text-align: center; font-weight: 800; font-size: 1.02rem; color: var(--text); }
.ac-bar-btn { width: 44px; height: 44px; border: 0; border-radius: 12px; background: none; color: var(--green-dark);
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.ac-bar-btn:hover { background: var(--green-light); }
.ac-bar-btn[hidden] { visibility: hidden; display: inline-flex; }
#acctClose { grid-column: 3; }
.ac-scroll { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch;
  padding: 0 14px calc(28px + env(safe-area-inset-bottom, 0px)); }

.ac-hero { display: flex; align-items: center; gap: 14px; padding: 20px 4px 16px; }
.ac-avatar {
  width: 56px; height: 56px; border-radius: 50%; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--green-dark); color: #fff; font-size: 1.45rem; font-weight: 800;
  box-shadow: 0 0 0 4px #fff, 0 0 0 5px #D5E4D9;
}
.ac-avatar.is-empty { background: #fff; color: var(--green-dark); }
.ac-avatar.is-empty svg { width: 28px; height: 28px; }
.ac-hello { margin: 0; font-size: 1.45rem; font-weight: 800; color: var(--text); line-height: 1.2; }
.ac-hello-sub { margin: 3px 0 0; font-size: .86rem; color: var(--muted); overflow-wrap: anywhere; }

.ac-tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 14px; }
.ac-tiles-3 { grid-template-columns: repeat(3, 1fr); }
.ac-tile {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  min-height: 78px; padding: 12px 6px; border: 1px solid var(--line); border-radius: 14px; background: #fff;
  color: var(--text); font: inherit; font-size: .84rem; font-weight: 700; text-decoration: none; cursor: pointer;
}
.ac-tile:hover { border-color: #BFD8C5; background: #FBFDFB; }
.ac-tile .ac-ico { width: 34px; height: 34px; }
.ac-tile em { position: absolute; top: 8px; right: 10px; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px;
  background: var(--green); color: #fff; font-style: normal; font-size: .72rem; line-height: 20px; text-align: center; }

.ac-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 14px; overflow: hidden; }
.ac-card-h { margin: 0; padding: 14px 16px 6px; font-size: .78rem; font-weight: 800; color: var(--muted); letter-spacing: .02em; }
.ac-card-hrow { display: flex; align-items: center; justify-content: space-between; padding-right: 8px; }
.ac-link { border: 0; background: none; color: var(--green-dark); font: inherit; font-size: .84rem; font-weight: 700;
  min-height: 40px; padding: 8px; cursor: pointer; }

.ac-row {
  display: flex; align-items: center; gap: 12px; width: 100%; min-height: 60px; padding: 10px 14px 10px 16px;
  border: 0; border-top: 1px solid #EEF0EC; background: #fff; color: var(--text);
  font: inherit; text-align: left; text-decoration: none; cursor: pointer;
}
.ac-card-h + .ac-row, .ac-card > .ac-row:first-child { border-top: 0; }
.ac-row:hover { background: #F8FAF7; }
.ac-row:focus-visible { outline: 2px solid var(--green); outline-offset: -2px; }
.ac-ico { width: 36px; height: 36px; flex: none; border-radius: 10px; background: var(--green-light); color: var(--green-dark);
  display: inline-flex; align-items: center; justify-content: center; }
.ac-row-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ac-row-title { font-size: .94rem; font-weight: 700; }
.ac-row-sub { font-size: .8rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ac-row-value { flex: none; }
.ac-chev { flex: none; color: #A3AAA0; }
.ac-row.is-danger, .ac-row.is-danger .ac-row-title { color: #A3261B; }
.ac-row.is-danger .ac-ico { background: #FBECEA; color: #A3261B; }
.ac-pill { display: inline-block; padding: 4px 10px; border-radius: 999px; background: #EEF0EC; color: var(--muted);
  font-size: .74rem; font-weight: 800; }
.ac-pill.is-on { background: var(--green-light); color: var(--green-dark); }
.ac-pill.is-cta { background: var(--green-dark); color: #fff; }

.ac-orders { display: grid; gap: 0; }
.ac-pad.ac-orders { gap: 12px; padding-top: 14px; }
.ac-order { padding: 14px 16px; border-top: 1px solid #EEF0EC; }
.ac-card .ac-order:first-child { border-top: 0; }
.ac-pad .ac-order { background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.ac-order-head { display: flex; align-items: center; gap: 12px; }
.ac-order-main { flex: 1; min-width: 0; }
.ac-order-shop { margin: 0; font-weight: 800; font-size: .95rem; color: var(--text); }
.ac-order-meta { margin: 2px 0 0; font-size: .8rem; color: var(--muted); }
.ac-order-ref { margin: 8px 0 0 48px; font-size: .76rem; color: var(--muted); letter-spacing: .01em; }
.ac-status { flex: none; padding: 5px 10px; border-radius: 999px; font-size: .74rem; font-weight: 800;
  background: #FFF4DB; color: #7A4D00; }
.ac-status[data-status="Delivered"] { background: var(--green-light); color: var(--green-dark); }
.ac-status[data-status="Rejected"] { background: #FBECEA; color: #A3261B; }
.ac-status[data-status="Out for Delivery"], .ac-status[data-status="Dispatched"] { background: #E5F0FB; color: #0C4A8A; }
.ac-order-actions { display: flex; gap: 8px; margin: 10px 0 0 48px; flex-wrap: wrap; }
.ac-btn { min-height: 40px; padding: 8px 16px; border-radius: 999px; border: 0; background: var(--green-dark); color: #fff;
  font: inherit; font-size: .84rem; font-weight: 700; cursor: pointer; }
.ac-btn-ghost { background: #fff; color: var(--green-dark); box-shadow: inset 0 0 0 1.5px #BFD8C5; }
.ac-empty { margin: 0; padding: 18px 16px; color: var(--muted); font-size: .88rem; }
.ac-wait { margin: 0; padding: 18px 16px; color: var(--muted); font-size: .88rem; text-align: center; }

.ac-signin { padding: 6px 16px 16px; }
.ac-perks { list-style: none; margin: 0; padding: 0; }
.ac-perks li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid #EEF0EC; }
.ac-perks b { display: block; font-size: .92rem; }
.ac-perks small { display: block; color: var(--muted); font-size: .8rem; margin-top: 1px; }
.ac-signin .acct-gbtn { margin: 16px 0 8px; min-height: 44px; display: flex; justify-content: center; }
.ac-fine { margin: 6px 0 0; font-size: .76rem; line-height: 1.5; color: var(--muted); }
.ac-fine a { color: var(--green-dark); }
.ac-version { text-align: center; color: #9AA197; font-size: .74rem; margin: 6px 0 0; }

.ac-pad { padding-top: 16px; }
.ac-lede { margin: 0 0 14px; font-size: .92rem; color: var(--text); line-height: 1.5; }
.ac-chip { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; padding: 6px 12px 6px 6px;
  border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .84rem; font-weight: 600; }
.ac-chip svg { width: 18px; height: 18px; color: var(--green-dark); }
.ac-form { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 4px 16px 10px; }
.ac-field { padding: 12px 0 6px; }
.ac-field + .ac-field { border-top: 1px solid #EEF0EC; }
.ac-field label { display: block; font-size: .78rem; font-weight: 800; color: var(--muted); margin-bottom: 6px; }
.ac-field input, .ac-field textarea {
  width: 100%; box-sizing: border-box; border: 1px solid #D9DED6; border-radius: 10px; background: #FBFCFA;
  padding: 11px 12px; font: inherit; font-size: 16px; color: var(--text); min-height: 46px;
}
.ac-field input:focus, .ac-field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(4, 86, 87,.15); background: #fff; }
.ac-field-pin input { max-width: 160px; letter-spacing: .08em; }
.ac-primary { display: block; width: 100%; min-height: 52px; margin-top: 16px; border: 0; border-radius: 12px;
  background: var(--green-dark); color: #fff; font: inherit; font-size: 1rem; font-weight: 800; cursor: pointer; }
.ac-primary:disabled { opacity: .7; cursor: progress; }
.ac-primary.ac-danger { background: #A3261B; }
.ac-secondary { display: block; width: 100%; min-height: 48px; margin-top: 8px; border: 0; background: none;
  color: var(--green-dark); font: inherit; font-weight: 700; cursor: pointer; }
.ac-error { margin: 12px 0 0; padding: 10px 12px; border-radius: 10px; background: #FBECEA; color: #8E1F16; font-size: .86rem; font-weight: 600; }
.ac-error-top { margin: 0 0 14px; }
.ac-warn { display: flex; gap: 12px; padding: 16px; background: #fff; border: 1px solid #F1D2CE; border-radius: 14px; }
.ac-warn .ac-ico { background: #FBECEA; color: #A3261B; }
.ac-warn p { margin: 0; font-size: .88rem; line-height: 1.5; color: var(--text); }
.ac-warn .ac-warn-title { font-weight: 800; margin-bottom: 4px; }
body.acct-open .whatsapp-fab { display: none; }


.acct-avatar[hidden] { display: none; }
.ac-gfail { width: 100%; display: grid; gap: 10px; justify-items: center; }
.ac-gfail .ac-error { margin: 0; width: 100%; box-sizing: border-box; }
/* v48 audit touch-ups */
.ac-hello-sub { color: #5E655B; }
.ac-version { color: #6B7268; }
@media (max-width: 375px) { .brand-sub { font-size: .7rem; } }

/* ============================================================
   v48.1 — FOOTER: one set of elements, three arrangements
   Computer ≥1100px: five labelled columns + a Legal & Policies strip.
   Tablet 700–1099px: brand · Explore · Support, then Get in touch ·
     About, then Legal & Policies — normal text sizes, nothing squeezed.
   Phone <700px: brand and contact actions always visible; Explore,
     Customer support, About and Legal fold into tap-to-open rows.
   ============================================================ */
.site-footer.fz { padding-bottom: 0; color: #D6E5D9; }
.fz-grid {
  max-width: 1240px; margin: 0 auto; padding: 40px 28px 8px;
  display: grid; gap: 28px 36px;
  grid-template-columns: minmax(200px, 1.25fr) minmax(130px, .8fr) minmax(150px, .9fr) minmax(220px, 1.15fr) minmax(220px, 1.25fr);
  grid-template-areas: "brand explore support touch about" "legal legal legal legal legal";
}
.fz-brand { grid-area: brand; }
.fz-explore { grid-area: explore; }
.fz-support { grid-area: support; }
.fz-touch { grid-area: touch; }
.fz-about { grid-area: about; }
.fz-legal { grid-area: legal; }
.fz-group[hidden] { display: none; }
.fz-brand #footerBrandDesc { margin: 0; max-width: 28ch; line-height: 1.6; font-size: .9rem; color: #B9D0BE; }
.fz-brand .footer-logo { margin-bottom: 12px; }

.fz-h {
  margin: 0 0 12px; padding: 0; list-style: none; display: flex; align-items: center; justify-content: space-between;
  font-size: .78rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: #9FC3A9;
}
.fz-h::-webkit-details-marker { display: none; }
.fz-chev { display: none; transition: transform .2s; }
.fz .fz-links { display: flex; flex-direction: column; }
.fz .fz-links a {
  display: flex; align-items: center; min-height: 34px; padding: 3px 0;
  font-size: .9rem; font-weight: 500; line-height: 1.3; color: #D6E5D9; text-decoration: none;
}
.fz .fz-links a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

.fz-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.fz-actions .contact-btn { margin: 0; }
.fz-reach .footer-detail-link { margin: 0; padding: 0; min-height: 34px; font-size: .86rem; overflow-wrap: anywhere; }
.fz .social-icons { margin: 8px 0 0; gap: 6px; }

.fz-facts { margin: 0; display: grid; gap: 14px; max-width: 34ch; }
.fz-facts dt { margin: 0 0 3px; font-size: .74rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #9FC3A9; }
.fz-facts dd { margin: 0; font-size: .88rem; line-height: 1.55; color: #C7DBCB; }

/* Legal & Policies: a quiet strip across the full width */
.fz-legal { padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); }
.fz-legal .fz-h { margin-bottom: 8px; }
.fz .fz-legal .fz-links { flex-direction: row; flex-wrap: wrap; gap: 0 26px; }
.fz .fz-legal .fz-links a { font-size: .86rem; }

/* the quiet bottom row: copyright, and the Sheet's Tagline */
.fz-bottom {
  max-width: 1240px; margin: 0 auto; padding: 16px 28px calc(84px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex; align-items: flex-start; justify-content: space-between; gap: 8px 40px;
}
.fz-bottom #footerCopyright { margin: 0; flex: none; font-size: .82rem; color: #B9D0BE; line-height: 1.6; }
.fz-more { min-width: 0; }
.fz-more summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; min-height: 40px;
  font-size: .84rem; font-weight: 700; color: #D6E5D9;
}
.fz-more summary::-webkit-details-marker { display: none; }
.fz-more .fz-chev { display: inline; }
.fz-more[open] .fz-chev { transform: rotate(180deg); }
.fz-more p { margin: 0 0 6px; font-size: .8rem; line-height: 1.6; color: #B9D0BE; max-width: 78ch; }
@media (min-width: 1100px) {
  .fz-more summary { display: none; }                 /* the Tagline simply shows */
  .fz-more p { text-align: right; margin: 0; }
}
@media (min-width: 700px) {
  .fz-group > summary { cursor: default; pointer-events: none; }
}

/* ---------- tablet ---------- */
@media (min-width: 700px) and (max-width: 1099px) {
  .fz-grid {
    padding: 34px 28px 6px; gap: 26px 32px;
    grid-template-columns: 1.2fr 1fr 1fr;
    grid-template-areas: "brand explore support" "touch about about" "legal legal legal";
  }
  .fz-touch, .fz-about { padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); }
  .fz-about .fz-facts { grid-template-columns: 1fr 1fr; gap: 0 28px; max-width: none; }
  .fz-bottom { flex-direction: column; gap: 2px; }
}

/* ---------- phone ---------- */
@media (max-width: 699px) {
  .fz-grid {
    padding: 28px 18px 4px; gap: 0;
    grid-template-columns: 1fr;
    grid-template-areas: "brand" "touch" "explore" "support" "about" "legal";
  }
  .fz-brand #footerBrandDesc { max-width: none; }
  .fz-touch { padding: 18px 0 20px; }
  .fz-touch .fz-h { margin-bottom: 10px; }
  .fz-reach { display: flex; flex-wrap: wrap; gap: 0 20px; }
  .fz-group { border-top: 1px solid rgba(255,255,255,.14); }
  .fz-group:last-child { border-bottom: 1px solid rgba(255,255,255,.14); }
  .fz-legal { padding-top: 0; }
  .fz-group > summary.fz-h {
    margin: 0; min-height: 54px; cursor: pointer;
    font-size: .92rem; letter-spacing: .01em; text-transform: none; color: #fff; font-weight: 700;
  }
  .fz-group .fz-chev { display: inline; color: #9FC3A9; }
  .fz-group[open] .fz-chev { transform: rotate(180deg); }
  .fz-group > :not(summary) { padding-bottom: 14px; }
  .fz .fz-links a { min-height: 44px; }
  .fz .fz-legal .fz-links { flex-direction: column; }
  .fz-facts { max-width: none; }
  .fz-bottom { flex-direction: column; gap: 0; padding: 14px 18px calc(88px + env(safe-area-inset-bottom, 0px)); border-top: 0; }
}
@media (prefers-reduced-motion: reduce) { .fz-chev { transition: none; } }

/* ============================================================
   v48.1 — account screen refinements
   ============================================================ */
.ac-profile {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px;
  margin: 16px 0 14px; padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: 14px;
}
.ac-profile-text { min-width: 0; }
.ac-profile .ac-hello { font-size: 1.25rem; }
.ac-profile .ac-hello-sub { margin-top: 2px; }
.ac-profile .ac-avatar { width: 52px; height: 52px; font-size: 1.3rem; }
.ac-edit {
  align-self: center; min-height: 40px; padding: 8px 14px; border-radius: 999px; border: 0;
  background: var(--green-light); color: var(--green-dark); font: inherit; font-size: .82rem; font-weight: 700; cursor: pointer;
}
.ac-edit:hover { background: #DCEBDF; }
@media (max-width: 359px) {
  .ac-profile { grid-template-columns: auto 1fr; }
  .ac-edit { grid-column: 1 / -1; justify-self: start; }
}
.ac-danger-zone { margin: 22px 0 12px; padding-top: 18px; border-top: 1px dashed #D9DED6; text-align: center; }
.ac-delete {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px;
  border: 1px solid #EBC3BE; border-radius: 999px; background: #fff; color: #A3261B;
  font: inherit; font-size: .88rem; font-weight: 700; cursor: pointer;
}
.ac-delete:hover { background: #FBECEA; }
.ac-delete svg { width: 18px; height: 18px; }
.ac-danger-zone p { margin: 6px 0 0; font-size: .76rem; color: var(--muted); }
@media (min-width: 700px) { .ac-sheet { width: 460px; } }

/* ============================================================
   v48.1 — header polish: one icon size (24px), one stroke, one
   button box, badges in the same spot on every icon.
   ============================================================ */
.acct-toggle-ico { stroke-width: 2; }
@media (max-width: 860px) {
  .bell-toggle svg, .cart-toggle svg, .acct-toggle-ico { width: 24px; height: 24px; }
  .acct-toggle .acct-avatar { width: 26px; height: 26px; font-size: .78rem; }
  .nav-toggle-bars span { width: 20px; height: 2px; }
  .nav-toggle-bars { gap: 5px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  #cartCount, .bell-dot { top: 4px; right: 2px; }
}
.fz .fz-legal .fz-links { justify-content: flex-start; margin: 0; }
.fz .fz-legal .fz-links a { padding: 3px 0; }
/* v48.1 audit: thumb-size targets on every touch screen (phone and tablet) */
@media (max-width: 1099px) {
  .fz .fz-links a, .fz-reach .footer-detail-link { min-height: 44px; }
  .cx-btn { width: 44px; height: 44px; }
}
.ac-version { color: #5E655B; }
@media (max-width: 375px) { .brand-sub { font-size: .75rem; } }

/* ============================================================
   v49 (7 Oct 2026)
   ============================================================ */

/* ---------- top menu on a touch screen (tablet landscape, 861px+) ----------
   The links are 22px tall — short for a finger. On a TOUCH screen only, each
   link becomes a 44px target; the words, spacing and dividers stay exactly
   where they were, and a computer with a mouse is unchanged. The Services
   button takes over its wrapper's side padding, so the whole space between
   the dividers is tappable, as it is for the other links. */
@media (min-width: 861px) and (pointer: coarse) {
  .main-nav { padding-top: 0; padding-bottom: 0; }
  .main-nav a { min-height: 44px; }
  .main-nav .nav-dropdown { padding-left: 0; padding-right: 0; }
  .main-nav .nav-drop-btn { min-height: 44px; padding-left: 21px; padding-right: 21px; }
}

/* ---------- footer disclaimer (computer) ----------
   It was right-aligned, so every line started at a different place.
   Now it is one even block: both edges straight, the last line normal. */
@media (min-width: 1100px) {
  .fz-more p { text-align: justify; text-align-last: left; hyphens: none; }
}

/* ---------- contact form: topic, errors, the "received" card ---------- */
.contact-form select {
  width: 100%; min-height: 46px; padding: 12px 40px 12px 13px;
  border: 1px solid var(--line); border-radius: 10px; background-color: #fff; color: var(--text);
  font-family: inherit; font-size: 0.9rem; appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%231E5631' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.contact-form select:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(23, 148, 95, 0.12); }
.contact.is-merchant .contact-topic-field { display: none; }
.contact-err { margin: 12px 0 0; padding: 10px 12px; border-radius: 10px; background: #FBECEA; color: #8E1F16; font-size: .86rem; font-weight: 600; line-height: 1.5; }
.contact-err[hidden] { display: none; }
.contact-err a { color: inherit; text-decoration: underline; white-space: nowrap; }
.contact-form[hidden] { display: none; }
.contact-done {
  max-width: 560px; padding: 24px 22px; text-align: center;
  background: var(--card); border: 1px solid #DCEBDC; border-radius: 18px;
}
.contact-done[hidden] { display: none; }
.contact-done-mark, .hp-sent-mark {
  width: 48px; height: 48px; margin: 0 auto 10px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--green-light); color: var(--green-dark); font-size: 1.5rem; font-weight: 800;
}
.contact-done-title, .hp-sent-title { margin: 0; font-size: 1.15rem; font-weight: 800; color: var(--text); }
.contact-done-ref, .hp-sent-ref { margin: 6px 0 0; font-size: .9rem; color: var(--muted); }
.contact-done-ref b, .hp-sent-ref b { color: var(--text); letter-spacing: .01em; }
.contact-done-text { margin: 10px auto 0; max-width: 40ch; font-size: .9rem; line-height: 1.55; color: var(--text); }
.contact-done-acts { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 16px; }
.contact-done-acts .btn { min-height: 44px; }

/* ---------- Help in the account panel ---------- */
.hp-new { margin-top: 0; }
.hp-note { margin: 8px 2px 14px; }
.hp-list { padding: 0; }
.hp-item {
  display: flex; align-items: center; gap: 10px; width: 100%; padding: 13px 14px 13px 16px;
  border: 0; border-top: 1px solid #EEF0EC; background: #fff; text-align: left; font: inherit; color: var(--text); cursor: pointer;
}
.hp-item:first-child { border-top: 0; }
.hp-item:hover { background: #F8FAF7; }
.hp-item.is-unread { background: #F3F9F4; }
.hp-item-main { flex: 1; min-width: 0; display: grid; gap: 3px; }
.hp-item-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.hp-item-top b { font-size: .94rem; }
.hp-item-prev { font-size: .84rem; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hp-item-prev em { font-style: normal; font-weight: 800; color: var(--green-dark); }
.hp-item-ref { font-size: .74rem; color: var(--muted); }
.hp-status { padding: 4px 9px; font-size: .7rem; }
.hp-status[data-hstatus="Replied"] { background: var(--green-light); color: var(--green-dark); }
.hp-status[data-hstatus="Closed"] { background: #EEF0EC; color: #5E655B; }
.hp-label { display: block; font-size: .78rem; font-weight: 800; color: var(--muted); margin-bottom: 8px; }
.hp-topics { display: flex; flex-wrap: wrap; gap: 8px; }
.hp-topic {
  min-height: 40px; padding: 8px 14px; border-radius: 999px; border: 1px solid #D9DED6; background: #FBFCFA;
  font: inherit; font-size: .86rem; font-weight: 700; color: var(--text); cursor: pointer;
}
.hp-topic.is-on { background: var(--green-dark); border-color: var(--green-dark); color: #fff; }
.ac-field select {
  width: 100%; box-sizing: border-box; min-height: 46px; padding: 11px 36px 11px 12px;
  border: 1px solid #D9DED6; border-radius: 10px; background-color: #FBFCFA; font: inherit; font-size: 16px; color: var(--text);
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%231E5631' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
}
.ac-field select:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(4, 86, 87,.15); background-color: #fff; }
#hpOrderOther { margin-top: 8px; }
#hpOrderOther[hidden] { display: none; }
.hp-wa { text-align: center; text-decoration: none; line-height: 48px; }
.hp-sent { text-align: center; padding-top: 28px; }
.hp-sent .ac-lede { margin: 12px auto 4px; max-width: 34ch; }
.hp-thread-meta { margin: 0 0 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .8rem; color: var(--muted); }
.hp-thread { display: grid; gap: 10px; margin-bottom: 14px; }
.hp-bub { max-width: 86%; padding: 10px 13px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.hp-bub.is-you { justify-self: end; background: var(--green-light); border-color: #CFE2D4; border-bottom-right-radius: 6px; }
.hp-bub.is-sd { justify-self: start; border-bottom-left-radius: 6px; }
.hp-bub-who { margin: 0 0 3px; display: flex; justify-content: space-between; gap: 12px; font-size: .74rem; font-weight: 800; color: var(--green-dark); }
.hp-bub-who span { font-weight: 500; color: var(--muted); }
.hp-bub-text { margin: 0; font-size: .92rem; line-height: 1.5; color: var(--text); white-space: pre-wrap; overflow-wrap: anywhere; }
.hp-reply { margin-top: 4px; }
.hp-closed { text-align: center; margin: 4px 0 0; }

/* ---------- the bell: an answer to a message ---------- */
.bell-help {
  display: grid; gap: 2px; width: 100%; padding: 13px 16px 14px; text-align: left; cursor: pointer;
  border: 0; border-bottom: 1px solid #DCE8DE; background: #FFF8E6; font: inherit; color: var(--text);
}
.bell-help:hover { background: #FFF3D3; }
.bell-help-label { font-size: .7rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #7A5A12; }
.bell-help-title { font-size: .86rem; font-weight: 700; }
.bell-help-prev { font-size: .84rem; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bell-help-go { margin-top: 4px; font-size: .82rem; font-weight: 800; color: var(--green-dark); }

/* ---- Orumart brand (v50) ---- */
.brand-name .bn-oru { color: var(--navy); }
.brand-name .bn-mart { color: #17945F; }
.brand-sub.brand-tagline { text-transform: none; letter-spacing: 0; font-weight: 600; font-size: .86rem; color: var(--navy); }
.brand-sub.brand-tagline { white-space: nowrap; }
@media (max-width: 640px) { .brand-sub.brand-tagline { font-size: .72rem; } }
/* Narrow phones: the tagline is hidden rather than wrapped; the name stays. */
@media (max-width: 479px) { .brand-sub.brand-tagline { display: none; } }
.footer-logo img { border-radius: 9px; }
/* Orumart: the name stays visible on the smallest phones (v49 showed only
   the mark below 336px); the tagline is already hidden there. */
@media (max-width: 335px) {
  .brand-text { display: flex; }
  .brand-name { font-size: 1.08rem; }
}
@media (max-width: 309px) { .brand-text { display: none; } }   /* too narrow: mark only */


/* ============ F5: location, filters, availability, checkout check, apply ============ */
.topbar { position: relative; }
.loc-chip { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; padding: 7px 12px; border-radius: 999px;
  border: 1px solid rgba(0,0,0,.12); background: #fff; color: #1d3b2a; font: inherit; font-size: 13.5px; font-weight: 600;
  cursor: pointer; max-width: 58vw; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.loc-chip span { overflow: hidden; text-overflow: ellipsis; }
.loc-chip:focus-visible { outline: 3px solid #f2b705; outline-offset: 2px; }
.shop-filters { display: flex; gap: 8px; flex-wrap: wrap; margin: 4px 0 12px; }
.shop-filter { padding: 7px 13px; border-radius: 999px; border: 1px solid #cdd8d0; background: #fff; color: #1d3b2a;
  font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; min-height: 36px; }
.shop-filter.is-on { background: #1d3b2a; border-color: #1d3b2a; color: #fff; }
.shop-filter-none { margin: 4px 0 12px; padding: 10px 12px; border-radius: 10px; background: #f4f6f4; color: #3b4a40; font-size: 14px; }
.m-chip-avail.m-av-net, .m-chip-avail.m-av-courierYes { background: #e6f4ea; color: #1b5e33; }
.m-chip-avail.m-av-no { background: #f6ece6; color: #7a3b17; }
.m-avail { margin: 6px 0 0; font-size: 14px; color: #1b5e33; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.m-avail.m-av-no { color: #7a3b17; } .m-avail.m-av-courierAfter, .m-avail.m-av-review, .m-avail.m-av-coverage { color: #3b4a40; }
.m-avail-charge { color: #3b4a40; }
.m-avail-change { border: 0; background: none; padding: 0; color: inherit; text-decoration: underline; font: inherit; cursor: pointer; }
.loc-or { text-align: center; color: #56645a; font-size: 13px; margin: 10px 0; }
.loc-gps { background: #fff; border: 1px solid #cdd8d0; }
.loc-list { display: grid; gap: 8px; margin-top: 8px; }
.loc-pick { text-align: left; padding: 12px 14px; border-radius: 10px; border: 1px solid #cdd8d0; background: #fff; font: inherit; font-size: 15px; cursor: pointer; }
.loc-pick.loc-unsure { color: #3b4a40; background: #f4f6f4; }
.cart-net-note { margin: 2px 0 6px; font-size: 12.5px; color: #3b4a40; text-align: right; }
.cart-blocked { margin: 10px 14px; padding: 12px; border-radius: 12px; background: #fdf3ec; border: 1px solid #f1d2bb; }
.cart-blocked-msg { margin: 0 0 4px; font-weight: 700; color: #7a3b17; }
.cart-blocked-sub { margin: 0 0 10px; font-size: 13.5px; color: #4a3a30; }
.cart-blocked-acts { display: grid; gap: 8px; }
.cart-blocked .rq-input { width: 100%; box-sizing: border-box; margin-bottom: 8px; }
.cart-blocked-wa { background: #25d366; color: #fff; text-align: center; text-decoration: none; }
.apl .rq-input, .loc .rq-input { width: 100%; box-sizing: border-box; }
.rq select { width: 100%; box-sizing: border-box; height: 46px; padding: 0 10px; font: inherit; font-size: 16px;
  border: 1px solid #D5DAD2; border-radius: 10px; background: #fff; color: var(--text); }
.rq .btn-block { min-height: 50px; }
.loc-chip { color: var(--green-dark, #1d3b2a); }

/* ============ Oct 2026 (staging UI pass): header chip, location sheet, category panel ============
   Presentation only. No ids, handlers, filters or delivery rules change. */

/* -- the Deliver-to chip -- */
.loc-chip { gap: 6px; min-height: 36px; }
.loc-chip svg { flex: none; }
.loc-chip-caret { opacity: .7; margin-left: -1px; }
.loc-chip:hover { background: var(--green-light, #E6F5EC); }

/* Phones and small tablets (the grid header): the chip leaves the logo cell
   and takes its own compact, left-aligned row under the logo and icons, above
   the search. Desktop keeps it at the top right, unchanged. */
@media (max-width: 860px) {
  .site-header .topbar { display: contents; }
  .site-header .brand { grid-row: 1; grid-column: 1; min-width: 0; padding: 8px 0 6px 14px; }
  .site-header .loc-chip {
    grid-row: 2; grid-column: 1 / -1; justify-self: start;
    margin: 0 14px 8px; max-width: calc(100% - 28px);
    min-height: 32px; padding: 5px 11px 5px 9px; font-size: 13px;
    background: var(--green-light, #E6F5EC); border-color: transparent;
  }
  .search-wrap { grid-row: 3; }
  .quick-bar { grid-row: 4; }
  .main-nav { grid-row: 5; }
}
@media (max-width: 430px) { .site-header .brand { padding-left: 12px; } .site-header .loc-chip { margin-left: 12px; margin-right: 12px; } }
@media (max-width: 375px) { .site-header .brand { padding: 6px 0 4px 8px; } .site-header .loc-chip { margin-left: 8px; margin-right: 8px; max-width: calc(100% - 16px); } }

/* -- the location sheet -- */
.loc .loc-head { gap: 10px; padding: 12px 12px 10px 16px; }
.loc .loc-head-text { flex: 1; min-width: 0; }
.loc .rq-x { width: 40px; height: 40px; font-size: 1.4rem; }
.loc .rq-shop { font-weight: 600; color: var(--muted); }
.loc .rq-body { gap: 10px; padding: 14px 16px 16px; }
.loc #locPin { height: 50px; font-size: 18px; letter-spacing: .06em; }
.loc #locNext { min-height: 50px; font-size: 1rem; }
.loc-or { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 12.5px; }
.loc-or::before, .loc-or::after { content: ""; flex: 1; height: 1px; background: var(--line, #E4E7E1); }
.loc .loc-gps { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px;
  color: var(--green-dark); font-weight: 700; }
.loc .loc-help { margin: 0; }
.loc-current { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap;
  margin-top: 2px; padding-top: 12px; border-top: 1px solid var(--line, #E4E7E1); }
.loc-current-txt { margin: 0; font-size: .86rem; font-weight: 700; color: var(--green-dark); min-width: 0; overflow-wrap: anywhere; }
.loc .loc-clear { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px;
  border: 1px solid #cdd8d0; border-radius: 999px; background: #fff; color: #7a3b17;
  font: inherit; font-size: .86rem; font-weight: 700; cursor: pointer; }
.loc .loc-clear:hover { background: #fdf3ec; border-color: #f1d2bb; }
.loc .loc-pick { min-height: 46px; }
@media (max-width: 640px) {
  /* above the on-screen keyboard (see fitLocationToKeyboard), and never taller than what is visible */
  .rq.loc { bottom: var(--kb, 0px); max-height: calc(var(--vvh, 100dvh) - 12px); }
}

/* -- the category panel (the shop picker) -- */
.shop-pop { display: flex; flex-direction: column; overflow: hidden; }
@media (min-width: 641px) { .shop-pop { width: 400px; } }
.shop-pop-head, .shop-pop-sub { flex: none; }
.shop-pop-title { min-width: 0; overflow-wrap: anywhere; }
.shop-pop-list { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch; margin: 0 -4px; padding: 0 4px 2px; }
/* the filters stay in view while a long list scrolls under them */
.shop-pop-list > .shop-filters { position: sticky; top: 0; z-index: 1; margin: 0; padding: 2px 0 10px; background: #fff; }
.shop-pop-list > .shop-filter-none { margin-top: 0; }
.shop-pop .merchant-card .m-name, .shop-pop .merchant-card .m-note, .shop-pop .merchant-card .m-meta { overflow-wrap: anywhere; }
.shop-pop .merchant-card .m-go { flex: none; white-space: nowrap; }
.shop-pop .merchant-card .m-chips { margin-top: 4px; }
.shop-pop .merchant-card .m-chip { white-space: normal; }
/* Coming soon: clearly not a shop you can open */
.shop-pop .merchant-card.soon { background: #F6F7F5; border: 1px dashed #CBD3CC; box-shadow: none; cursor: default; }
.shop-pop .merchant-card.soon:hover { background: #F6F7F5; }
.shop-pop .merchant-card.soon .m-name { color: #4B5650; }
.shop-pop .merchant-card.soon .m-go { padding: 4px 9px; border-radius: 999px; background: #E9ECE8; color: #4B5650; font-size: .72rem; }
@media (max-width: 640px) {
  .shop-pop { max-height: min(82vh, 82dvh); padding-bottom: 0; }
  .shop-pop-list { padding-bottom: calc(14px + env(safe-area-inset-bottom)); }
  /* a grab handle says "sheet" */
  .shop-pop::before { content: ""; display: block; flex: none; width: 40px; height: 4px; margin: -6px auto 8px;
    border-radius: 999px; background: #D5DAD2; }
}

/* ============ Oct 2026 (staging): partner chooser, support links ============ */
.ptn .rq-body.ptn-body { gap: 10px; padding: 14px 16px 18px; }
.ptn-opt { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 72px; padding: 12px 12px 12px 14px;
  border: 1px solid var(--line, #E4E7E1); border-radius: 14px; background: #fff; color: inherit;
  font: inherit; text-align: left; cursor: pointer; }
.ptn-opt:hover { border-color: var(--green, #045657); background: var(--green-light, #E6F5EC); }
.ptn-opt:focus-visible { outline: 3px solid #f2b705; outline-offset: 2px; }
.ptn-ico { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px;
  border-radius: 12px; background: var(--green-light, #E6F5EC); font-size: 1.4rem; }
.ptn-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ptn-txt b { font-size: .98rem; color: var(--green-dark, #033F40); }
.ptn-txt small { font-size: .82rem; color: var(--muted, #6B7268); line-height: 1.35; }
.ptn-chev { flex: none; color: var(--green-dark, #033F40); opacity: .7; }
.contact-alt { margin: 12px 2px 0; font-size: .86rem; color: var(--muted, #6B7268); line-height: 1.6; }
.contact-alt a { color: var(--green-dark, #033F40); font-weight: 700; white-space: nowrap; }
.contact-alt-sep { margin: 0 8px; }
.apl .loc-head, .ptn .loc-head { gap: 10px; padding: 12px 12px 10px 16px; }
.apl .loc-head-text, .ptn .loc-head-text { flex: 1; min-width: 0; }
.apl .rq-x, .ptn .rq-x { width: 40px; height: 40px; font-size: 1.4rem; }
.apl .rq-shop, .ptn .rq-shop { font-weight: 600; color: var(--muted); }

/* Visual consistency (Oct 2026, staging) */
/* Product cards: a one-line and a two-line name give the same card height,
   so the − 0 + controls line up across a row. */
.product-name { min-height: 2.6em; }
.product-card .qty-control { margin-top: auto; }
/* Small phones (≤ 359px) keep two products per row instead of one very tall card. */
@media (max-width: 359px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .product-body { padding: 8px 9px 10px; }
}
/* Dropdowns in the popup forms and the cart match the Contact form's. */
.rq select, .cart-select {
  appearance: none; -webkit-appearance: none; padding-right: 40px; background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%231E5631' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}

/* Audit fixes (Oct 2026, staging) */
/* Jumps to a section stop below the sticky header (its height is measured
   into --hdr by app.js); also covers targets with no margin of their own. */
#catalogue, #noResults, .search-empty, .merchant-head, #shop-by-cat { scroll-margin-top: calc(var(--hdr, 96px) + 10px); }
/* Checkout PIN: the same 16px text and 44px height as the fields around it
   (smaller text makes iPhones zoom in when it is tapped). */
#custPin { font-size: 16px; min-height: 44px; }
/* The Contact form's topic list: 16px for the same reason. */
.contact-form select { font-size: 16px; }
/* A hidden label stays hidden (the empty "Area" label in checkout). */
.cart-foot label[hidden], label[hidden] { display: none !important; }
/* The closed cart is out of reach: no stray shadow on the right edge, and
   Tab cannot land inside it. */
.cart-drawer:not(.open) { visibility: hidden; box-shadow: none; transition: transform 0.25s ease, visibility 0s linear 0.25s; }
.cart-drawer.open { visibility: visible; transition: transform 0.25s ease, visibility 0s; }
/* An empty cart shows the empty message, not the checkout form. */
.cart-drawer.is-empty .cart-foot, .cart-drawer.is-empty .cart-pay { display: none; }
/* Small phones: the line under the Contact form clears the floating button. */
@media (max-width: 360px) { .contact-alt { padding-right: 58px; } }
/* "Use my account PIN" in the location sheet — the same secondary style as "Use my location". */
.loc .loc-acct { min-height: 44px; background: #fff; border: 1px solid #cdd8d0; color: var(--green-dark); font-weight: 700; }

/* ============ Package CD (Oct 2026) ============
   Nearby from a PIN, partner form, offers pill, footer icons, About page link,
   tap targets. */
/* Location: bigger touch targets on phones; Use my location first from Nearby */
@media (max-width: 699px) {
  .loc-chip, .site-header .loc-chip { min-height: 40px; padding: 8px 12px 8px 10px; }
  .shop-filter { min-height: 42px; padding: 9px 15px; }
}
.loc-gps.btn-primary { background: var(--green-dark, #1d3b2a); border-color: var(--green-dark, #1d3b2a); color: #fff; }
.loc-gps.is-first { margin-top: 2px; }
.loc-msg { margin: 8px 0 0; color: #1b5e33; }
.svc-filter-note { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: -2px 0 14px; padding: 10px 14px;
  border-radius: 12px; background: #e9f4ec; color: #1b5e33; font-size: 14px; font-weight: 600; }
.svc-filter-note[hidden] { display: none; }
.svc-filter-note.is-empty { background: #f4f6f4; color: #3b4a40; font-weight: 500; }
.svc-filter-change { border: 0; background: none; padding: 4px 2px; color: inherit; font: inherit; font-weight: 700;
  text-decoration: underline; cursor: pointer; min-height: 32px; }
/* Become a Shop Partner: the drawn storefront icon and the form's head */
.ptn-ico-shop svg { display: block; }
.spf .loc-head { align-items: center; gap: 12px; }
.spf-ico { width: 42px; height: 42px; border-radius: 12px; }
.spf-mailnote { margin-top: 10px; text-align: center; }
.spf-done p { margin: 0 0 10px; }
.spf-done .btn { margin-top: 6px; }
/* "N running now" is a button now: one offer → its poster; several → the list */
button.promo-count { display: inline-flex; align-items: center; gap: 5px; border: 1px solid transparent; cursor: pointer;
  font-family: inherit; white-space: nowrap; min-height: 30px; line-height: 1; }
button.promo-count:hover { border-color: var(--green, #045657); }
button.promo-count:focus-visible { outline: 3px solid #f2b705; outline-offset: 2px; }
.offl .rq-body { display: grid; gap: 14px; }
.offl-shop { display: grid; gap: 8px; }
.offl-shop-head { display: flex; align-items: center; gap: 10px; }
.offl-shop-head b { color: var(--m-accent, var(--green-dark, #033F40)); font-size: 1rem; }
.offl-shop-head small { margin-left: auto; color: #3b4a40; font-weight: 600; }
.offl-logo { flex: none; width: 34px; height: 34px; border-radius: 10px; overflow: hidden; display: inline-flex; align-items: center;
  justify-content: center; background: var(--green-light, #E6F5EC); color: var(--green-dark, #033F40); font-weight: 800;
  border: 2px solid var(--m-accent, transparent); }
.offl-logo img { width: 100%; height: 100%; object-fit: cover; }
.offl-row { min-height: 60px; }
.offl-row small { color: #7a4e00; font-weight: 600; }
/* Create account from the order confirmation */
.ac-order-note { margin: 12px 14px 0; padding: 10px 12px; border-radius: 10px; background: #e9f4ec; color: #1b5e33; font-size: 14px; }
.order-acct-saved { color: #1b5e33; font-weight: 700; }
/* Sheet switches: Quick Order and the floating WhatsApp button */
.quick-order[hidden] { display: none !important; }
body.no-wa-fab .whatsapp-fab { display: none !important; }
/* Footer: follow-us icons from the Sheet; Get in touch tidy on a computer */
.fz .social-icons { flex-wrap: wrap; align-items: center; }
.fz .social-icons[hidden] { display: none; }
@media (min-width: 1100px) {
  .fz-touch .fz-actions { flex-direction: column; align-items: stretch; max-width: 230px; }
  .fz-touch .fz-actions .contact-btn { width: 100%; justify-content: center; }
}
.fz-about-more { display: inline-flex; align-items: center; min-height: 40px; margin-top: 8px; font-size: .88rem; font-weight: 700;
  color: #D6E5D9; text-decoration: underline; text-underline-offset: 3px; }
.fz-about-more:hover { color: #fff; }
.spf .rq-field[hidden] { display: none; }
.offl .loc-head-text, .spf .loc-head-text { flex: 1; min-width: 0; }

/* ===== Next package (Oct 2026): contact channels follow the Footer tab ===== */
[data-wa][hidden], [data-call][hidden], .footer-detail-link[hidden], .contact-alt-wa[hidden] { display: none !important; }

/* Help & support sheet + footer button */
.hh .rq-body { display: grid; gap: 10px; }
.hh-row { text-decoration: none; color: inherit; }
.hh-mail { margin: 4px 2px 0; font-size: .92rem; color: #3b4a40; }
.hh-mail a { color: var(--green-dark, #033F40); font-weight: 700; }
.contact-btn.help { background: #fff; color: var(--green-dark, #033F40); border: 0; cursor: pointer; font: inherit; font-weight: 700; }
.contact-alt a, .contact-alt-wa a { display: inline-block; padding: 8px 2px; min-height: 40px; line-height: 24px; }

/* Home tidy (next package): blank About-tab lists take no space; How to order
   shows all four steps at once on a phone (2 x 2) instead of a sideways scroll. */
.about-checklist[hidden], .info-card[hidden] { display: none !important; }
@media (max-width: 640px) {
  .how { padding-right: 16px; }
  .how::after { display: none; }
  .how-flow { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 12px; overflow: visible; padding-right: 0; }
  .how-step { width: auto; }
  .how-arrow { display: none !important; }
}


/* ===== Release A (Oct 2026): sending, review, not sent yet, refresh ===== */
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
#sendOrder[aria-busy="true"] { opacity: .85; cursor: progress; }
.cart-notice { border-color: #f0c36d; background: #fff8e6; }
.cart-notice .cart-blocked-msg { color: #6b4b00; }
.rv-card { text-align: left; }
.rv-card .order-modal-title { text-align: center; }
.rv-lead { font-size: .92rem; line-height: 1.5; color: var(--muted); margin: 0 0 12px; text-align: center; }
.rv-changes { margin: 0 0 14px; padding: 12px 14px 12px 30px; background: #fff8e6; border: 1px solid #f0d8a0; border-radius: 12px; font-size: .9rem; line-height: 1.5; color: #4a3a10; }
.rv-changes li + li { margin-top: 4px; }
.rv-was { color: var(--muted); font-size: .85em; }
.rv-lines { border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; margin: 0 0 14px; }
.rv-row { display: flex; justify-content: space-between; gap: 12px; font-size: .9rem; padding: 4px 0; }
.rv-qty { color: var(--muted); font-size: .85em; white-space: nowrap; }
.rv-sub { border-top: 1px dashed var(--line); margin-top: 4px; padding-top: 7px; color: var(--muted); }
.rv-sub + .rv-sub { border-top: 0; margin-top: 0; padding-top: 4px; }
.rv-total { font-weight: 800; color: var(--green-dark); font-size: 1rem; border-top: 1px solid var(--line); margin-top: 4px; padding-top: 8px; }
.rv-warn { background: #fdecea; color: #8a1f11; border-radius: 10px; padding: 10px 12px; font-size: .9rem; margin: 0 0 12px; }
.rv-card .btn-block { min-height: 48px; font-size: 1rem; }
.outbox-bar { position: fixed; left: 12px; right: 12px; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); z-index: 130;
  max-width: 560px; margin: 0 auto; display: flex; align-items: center; gap: 12px; justify-content: space-between;
  background: #3a2c00; color: #fff; border-radius: 14px; padding: 12px 14px; font-size: .9rem; line-height: 1.4;
  box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.outbox-bar[hidden] { display: none; }
.outdated-bar { background: var(--green-dark); }
.outbox-bar-btn { flex: none; background: #fff; color: #1b1f23; border: 0; border-radius: 10px; padding: 9px 14px; font-weight: 800; font-size: .88rem; min-height: 40px; cursor: pointer; }
/* Inside the open cart the notice above Place order says it already; the bar would cover the button. */
body:has(.cart-drawer.open) .outbox-bar:not(.outdated-bar) { display: none; }
.outbox-bar-acts { display: flex; gap: 8px; flex: none; }
.outbox-bar-quiet { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.6); }
.bell-act-decline { margin-top: 8px; border-color: #c9a0a0 !important; color: #8a1f11 !important; }

/* =====================================================================
   Release C (Oct 2026) — standard look for shops, counts, strip, menu,
   compact home sections, header tuck, courier checkout.
   ===================================================================== */

/* One heading style for every home section. */
.svc-head h2, .shop-by-cat h2, .how h2, .about h2, .contact h2, .recently-viewed-header h2 {
  font-size: 1.3rem; font-weight: 800; color: var(--green-dark);
  text-transform: none; letter-spacing: 0;
}
@media (max-width: 640px) {
  .svc-head h2, .shop-by-cat h2, .how h2, .about h2, .contact h2, .recently-viewed-header h2 { font-size: 1.18rem; }
}

/* ---- shop cards: one shape for every shop ---- */
.merchant-card.mc-std {
  position: relative; overflow: hidden; align-items: center; gap: 13px;
  padding: 13px 12px 13px 16px; border-radius: 14px; flex-wrap: nowrap;
}
.merchant-card.mc-std::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: var(--m-accent, #D3DBD5);
}
.merchant-card.mc-std .m-logo {
  width: 54px; height: 54px; border-radius: 12px; background: #fff;
  border: 1px solid var(--line); box-shadow: none !important; font-size: 1.5rem;
}
.merchant-card.mc-std .m-logo img { object-fit: cover; }
.merchant-card.mc-std .m-body { flex: 1; min-width: 0; display: block; }
.merchant-card.mc-std .m-name { color: var(--m-name, var(--text)); font-size: 1rem; font-weight: 700; line-height: 1.25; margin: 0; }
.merchant-card .m-sub {
  display: block; font-size: .8rem; color: var(--muted); margin: 2px 0 0;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.merchant-card.mc-std .m-chips { display: flex; flex-wrap: nowrap; gap: 6px; margin-top: 7px; overflow: hidden; }
.merchant-card.mc-std .m-chip {
  font-size: .72rem; font-weight: 600; padding: 3px 8px; border-radius: 6px;
  background: #F1F4F1; color: #3A4840; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  max-width: 100%; border: 0; line-height: 1.35;
}
.merchant-card.mc-std .m-chip-avail.m-av-net,
.merchant-card.mc-std .m-chip-avail.m-av-courierYes { background: #E6F4EA; color: #1B5E33; }
.merchant-card.mc-std .m-chip-avail.m-av-no { background: #F6ECE6; color: #7A3B17; }
.m-chip.m-chip-offer, .mi-chip.mi-offer, .ss-offer { background: #FFF1E0 !important; color: #9A4B00 !important; font-weight: 700; }
.merchant-card.mc-std .m-meta { font-size: .75rem; font-weight: 500; color: var(--muted); margin-top: 6px; }
.merchant-card.mc-std .m-go { margin: 0 0 0 4px; width: auto; padding: 0; font-size: 1.5rem; font-weight: 400; color: #9AA39C; }
@media (max-width: 560px) {
  .merchant-card.mc-std { flex-wrap: nowrap; }
  .merchant-card.mc-std .m-go { width: auto; padding: 0; }
}
.merchant-card.soon .m-go { font-size: .76rem; }

/* filter buttons: the count beside each */
.shop-filter .sf-n { font-weight: 700; opacity: .7; margin-left: 2px; }
.shop-filter.is-on .sf-n { opacity: .85; }

/* ---- the shop page header ---- */
.merchant-head.has-accent { border-left: 0; padding-left: 20px; border-radius: 0; }
.merchant-head-inner {
  background: #fff; border: 1px solid var(--line); border-bottom: 0;
  border-radius: 16px 16px 0 0; padding: 16px; gap: 14px;
  border-top: 4px solid var(--m-accent, #D3DBD5);
}
.merchant-head .merchant-logo { width: 60px; height: 60px; border: 1px solid var(--line); box-shadow: none !important; }
.merchant-head .merchant-logo img { object-fit: cover; }
.merchant-head h2 { color: var(--text); }
.merchant-head.has-accent h2 { color: var(--m-name, var(--m-accent)); }
.merchant-head h2 { font-size: 1.15rem; font-weight: 700; margin: 0; }
.merchant-head .merchant-sub { margin: 2px 0 0; font-size: .85rem; color: var(--muted); }
.merchant-head #merchantNote { display: none; }
.merchant-info {
  display: flex; flex-wrap: wrap; gap: 6px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-top: 0; border-bottom: 0; padding: 0 16px 14px;
}
.merchant-info:empty { padding-bottom: 6px; }
.merchant-info .m-avail {
  margin: 0; font-size: .78rem; font-weight: 600; padding: 5px 9px; border-radius: 6px;
  background: #E6F4EA; color: #1B5E33; gap: 4px; display: inline-flex; flex-wrap: wrap;
}
.merchant-info .m-avail[hidden] { display: none; }
.merchant-info .m-avail.m-av-no { background: #F6ECE6; color: #7A3B17; }
.merchant-info .m-avail.m-av-coverage, .merchant-info .m-avail.m-av-review, .merchant-info .m-avail.m-av-part,
.merchant-info .m-avail.m-av-courierAfter { background: #F1F4F1; color: #3A4840; }
.merchant-info .m-avail-change {
  background: none; border: 0; padding: 0 0 0 4px; font: inherit; font-weight: 800;
  color: var(--green-dark); text-decoration: none; cursor: pointer;
}
.mi-chip {
  font-size: .78rem; font-weight: 600; padding: 5px 9px; border-radius: 6px;
  background: #F1F4F1; color: #3A4840; border: 0; font-family: inherit;
}
button.mi-chip { cursor: pointer; }
.merchant-details { background: #fff; border: 1px solid var(--line); border-radius: 0 0 16px 16px; }
.merchant-details[hidden] { display: none; }
.md-toggle {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  background: none; border: 0; border-top: 1px solid var(--line); padding: 11px 16px;
  font: inherit; font-size: .88rem; font-weight: 700; color: var(--green-dark); cursor: pointer;
}
.md-toggle::after { content: "⌄"; font-size: 1.1rem; line-height: 1; transform: translateY(-3px); }
.merchant-details.is-open .md-toggle::after { content: "⌃"; transform: translateY(3px); }
.md-list { list-style: none; margin: 0; padding: 0 16px 12px; }
.md-list[hidden] { display: none; }
.md-list li { display: flex; gap: 12px; padding: 7px 0; border-bottom: 1px solid #F0F2EF; font-size: .85rem; color: #3A4840; line-height: 1.4; }
.md-list li:last-child { border-bottom: 0; }
.md-list .md-l { flex: none; min-width: 64px; color: var(--muted); font-weight: 600; }
.md-list a { color: var(--green-dark); font-weight: 700; }
/* the header's card closes at the bottom whatever is shown */
.merchant-head:not(:has(.merchant-details:not([hidden]))) .merchant-info { border-bottom: 1px solid var(--line); border-radius: 0 0 16px 16px; }

/* Each shop name wears its own Brand Colour (a readable shade of it). */

/* ---- participating-shops strip ---- */
.shops-band { max-width: 1150px; margin: 30px auto 6px; padding: 0 20px; }
.shops-band:has(.shops-strip[hidden]) { display: none; }
.shops-strip { margin: 0; padding: 16px 16px 12px; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.shops-strip[hidden] { display: none; }
.ss-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 10px; }
.ss-title { margin: 0; font-size: 1.05rem; font-weight: 800; color: var(--green-dark); }
.ss-all { background: none; border: 0; font: inherit; font-size: .85rem; font-weight: 700; color: var(--green-dark); cursor: pointer; padding: 6px 0; }
.ss-row { display: flex; gap: 12px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
.ss-row::-webkit-scrollbar { display: none; }
.ss-shop { flex: none; width: 76px; background: none; border: 0; padding: 0; font: inherit; cursor: pointer; text-align: center; }
.ss-logo {
  position: relative; display: flex; align-items: center; justify-content: center;
  width: 64px; height: 64px; margin: 0 auto 6px; border-radius: 14px; background: #fff;
  border: 1px solid var(--line); overflow: visible; font-size: 1.6rem;
}
.ss-logo img { width: 100%; height: 100%; object-fit: cover; border-radius: 13px; }
.ss-offer {
  position: absolute; left: 50%; bottom: -7px; transform: translateX(-50%);
  font-size: .62rem; padding: 2px 6px; border-radius: 6px; white-space: nowrap; max-width: 76px; overflow: hidden; text-overflow: ellipsis;
}
.ss-name { display: block; font-size: .72rem; font-weight: 600; color: var(--m-name, var(--text)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 4px; }

/* ---- All shops sheet ---- */
.allshops .rq-body { display: grid; gap: 10px; }
.allshops .shop-filters { margin: 0 0 2px; }
.as-group { margin: 8px 0 0; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }

/* ---- the menu ---- */
.nav-count { display: inline-block; min-width: 20px; padding: 1px 6px; margin-left: 4px; border-radius: 999px; background: var(--green-light); color: var(--green-dark); font-size: .75rem; font-weight: 700; text-align: center; }
.nav-count[hidden], #navOffers[hidden] { display: none !important; }
@media (max-width: 860px) { .main-nav .nav-minor { font-weight: 500; opacity: .85; } }
/* Partner with Orumart: in the phone menu; on a computer it lives in the
   "Interested in selling?" line under Our Services and in the footer. */
@media (min-width: 861px) { .main-nav .nav-phone-only { display: none !important; } }
.ss-count { display: inline-block; min-width: 20px; padding: 1px 7px; margin-left: 6px; border-radius: 999px; background: var(--green-light); color: var(--green-dark); font-size: .75rem; font-weight: 700; text-align: center; vertical-align: 2px; }

/* ---- How to order: one compact row on a phone (option C) ---- */
.how-note { display: none; }
@media (max-width: 640px) {
  .how { padding: 18px 12px !important; }
  .how h2 { margin-bottom: 16px; }
  .how-flow { display: grid !important; grid-template-columns: repeat(4, 1fr) !important; gap: 6px !important; }
  .how-step { width: auto !important; }
  .how-icon { width: 46px !important; height: 46px !important; font-size: 1.3rem !important; margin: 0 auto 6px !important; }
  .how-num { width: 19px; height: 19px; font-size: .64rem; }
  .how-step-label { font-size: .72rem !important; line-height: 1.25 !important; }
  .how-step-desc { display: none !important; }
  .how-note { display: block; font-size: .8rem; color: var(--muted); margin: 14px 4px 0; text-align: center; }
}

/* ---- Why Choose Us: a heading that opens on a phone ---- */
@media (max-width: 640px) {
  #whyHeading { cursor: pointer; display: flex; justify-content: space-between; align-items: center; user-select: none; }
  #whyHeading::after { content: "⌄"; font-size: 1.2rem; line-height: 1; transform: translateY(-4px); color: var(--green-dark); }
  .about-why.is-open #whyHeading::after { content: "⌃"; transform: translateY(4px); }
  .about-why:not(.is-open) #whyItemsContainer { display: none; }
  .about-why:not(.is-open) #whyHeading { margin-bottom: 0; }
}

/* ---- Help & support head ---- */
.hh .rq-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.hh .loc-head-text { flex: 1; min-width: 0; }

/* ---- the contact line wraps without a stray dot ---- */
@media (max-width: 640px) {
  .contact-alt-wa { display: block; margin-top: 4px; }
  .contact-alt-wa[hidden] { display: none !important; }
  .contact-alt-sep { display: none; }
}

/* ---- a product with no photo: a shorter box ---- */
.pv-media:not(:has(img)) { max-height: 150px; }
.pv-media:not(:has(img)) .pv-slide { font-size: 3rem; min-height: 0; height: 150px; }

/* ---- the header tucks away while scrolling down (phones) ---- */
@media (max-width: 860px) {
  body.hdr-fixed .site-header { position: fixed; top: 0; left: 0; right: 0; }
  /* Slides shut and open (about a quarter of a second) instead of snapping. */
  .site-header .loc-chip, .site-header .quick-bar, .site-header .quick-bar-strip {
    max-height: 220px;
    transition: max-height .26s ease, opacity .2s ease, margin .26s ease, padding .26s ease, border-width .26s ease;
  }
  .site-header.is-tucked .loc-chip,
  .site-header.is-tucked .quick-bar-strip,
  .site-header.is-tucked .quick-bar:not(:has(.qb-shop:not([hidden]))) {
    max-height: 0 !important; min-height: 0 !important; opacity: 0;
    margin-top: 0 !important; margin-bottom: 0 !important; padding-top: 0 !important; padding-bottom: 0 !important;
    border-width: 0 !important; overflow: hidden; pointer-events: none;
  }
  .site-header.is-tucked { box-shadow: 0 2px 8px rgba(0,0,0,.06); }
}
@media (max-width: 860px) and (prefers-reduced-motion: reduce) {
  .site-header .loc-chip, .site-header .quick-bar, .site-header .quick-bar-strip { transition: none; }
}
.hdr-spacer { display: none; }
body.hdr-fixed .hdr-spacer { display: block; }

/* ---- the WhatsApp button stays out of the way ---- */
.whatsapp-fab { transition: transform .2s, opacity .2s; }
body.hdr-tucked .whatsapp-fab { transform: translateY(90px); opacity: 0; pointer-events: none; }
body:has(.rq:not([hidden])) .whatsapp-fab,
body:has(.shop-pop:not([hidden])) .whatsapp-fab,
body:has(.lightbox-overlay:not([hidden])) .whatsapp-fab { display: none; }

/* ---- checkout: a shop that sends by courier ---- */
.cart-courier-note { margin: 4px 0 10px; padding: 10px 12px; border-radius: 10px; background: #F1F4F1; color: #3A4840; font-size: .82rem; line-height: 1.45; }
.cart-courier-note[hidden], .cart-foot label[hidden], .cart-foot select[hidden] { display: none !important; }

/* ---- a panel scrolled to its end does not drag the page behind it ---- */
.rq, .rq-body, .cart-scroll, #bellList, #shopPopList, #pv, .order-modal-card,
.lightbox-overlay, .nav-drop-menu, .shop-pop, #allShops, .all-shops-body { overscroll-behavior: contain; }

/* ---- tall posters: a 4:5 frame on a phone ---- */
@media (max-width: 899px) {
  .promo-carousel.is-tall .promo-media { aspect-ratio: 4 / 5; }
}

/* ---- Release D: the shop changed the order ---- */
.rd-changed { margin: 10px 0 4px; padding: 10px 12px; border-radius: 10px; background: #FFF6E6; border: 1px solid #F3D9A4; }
.rd-changed-h { margin: 0 0 2px; font-weight: 700; font-size: .85rem; color: #7A4B00; }
.rd-changed-note { margin: 0; font-size: .85rem; color: var(--text); }
.rd-changed-total { margin: 4px 0 0; font-size: .85rem; font-weight: 700; color: var(--text); }
.rd-changed-total s { font-weight: 400; color: var(--muted); margin-left: 4px; }

/* ============================================================
   Release E — the map pin, the delivery note, paying
   ============================================================ */
.cust-map-row { margin: 4px 0 10px; }
.cust-map-row[hidden] { display: none; }
.cust-map-btn { min-height: 40px; padding: 8px 14px; border-radius: 10px; border: 1.5px solid var(--green, #1f6b3a); background: #fff;
  color: var(--green, #1f6b3a); font: inherit; font-weight: 600; cursor: pointer; }
.cust-map-main { width: 100%; }
.cust-map-quiet { border-color: #c9d3cc; color: #3b4a40; font-weight: 500; }
.cust-map-acts { display: flex; gap: 8px; flex-wrap: wrap; }
.cust-map-set { margin: 0 0 6px; font-weight: 600; color: #1f3d2a; }
.cust-map-hint { margin: 6px 0 0; font-size: 12.5px; color: #4a5a50; }
body.pin-open { overflow: hidden; }
.pin-sheet { position: fixed; inset: 0; z-index: 4000; background: rgba(10, 20, 14, .55); display: flex; align-items: flex-end; justify-content: center; }
.pin-sheet[hidden] { display: none; }
.pin-card { background: #fff; width: 100%; max-width: 560px; border-radius: 16px 16px 0 0; padding: 14px 16px calc(14px + env(safe-area-inset-bottom)); box-sizing: border-box; max-height: 94vh; overflow: auto; }
@media (min-width: 700px) { .pin-sheet { align-items: center; } .pin-card { border-radius: 16px; } }
.pin-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.pin-head h2 { margin: 0; font-size: 18px; }
.pin-x { width: 40px; height: 40px; border: 0; background: #f1f4f2; border-radius: 50%; font-size: 22px; cursor: pointer; }
.pin-sub { margin: 4px 0 10px; color: #4a5a50; font-size: 14px; }
.pin-map-wrap { position: relative; }
.pin-map { height: min(52vh, 420px); border-radius: 12px; background: #e8efe9; }
.pin-cross { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -100%); font-size: 34px; pointer-events: none; z-index: 500; filter: drop-shadow(0 2px 2px rgba(0,0,0,.35)); }
.pin-warn { margin: 10px 0 0; padding: 8px 10px; border-radius: 8px; background: #fff4e0; color: #7a4a00; font-size: 13.5px; }
.pin-msg { margin: 10px 0 0; font-size: 13.5px; color: #3b4a40; }
.pin-acts { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.pin-acts > * { flex: 1 1 180px; min-height: 44px; }
.pin-gps { border: 1.5px solid #c9d3cc; background: #fff; border-radius: 10px; font: inherit; font-weight: 600; cursor: pointer; }
.pin-privacy { margin: 10px 0 0; font-size: 12px; color: #5b6b61; }
.pay-block { margin: 10px 0 4px; padding: 10px 12px; border: 1px solid #dfe6e1; border-radius: 12px; background: #fbfdfb; }
.pay-h { margin: 0 0 8px; font-weight: 600; }
.pay-h strong { float: right; }
.pay-upi { display: flex; gap: 12px; align-items: flex-start; flex-wrap: wrap; }
.pay-qr { width: 148px; height: 148px; flex: 0 0 148px; background: #fff; border: 1px solid #e3e9e5; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 12px; color: #5b6b61; text-align: center; }
.pay-qr svg { width: 100%; height: 100%; }
.pay-upi-txt { flex: 1 1 160px; min-width: 0; }
.pay-upi-txt > p:first-child { margin: 0 0 8px; font-size: 13px; color: #3b4a40; }
.pay-app { display: block; text-align: center; min-height: 40px; line-height: 40px; border-radius: 10px; background: var(--green, #1f6b3a); color: #fff; font-weight: 600; text-decoration: none; margin-bottom: 8px; }
.pay-line { display: flex; align-items: center; gap: 8px; margin: 4px 0; font-size: 13.5px; flex-wrap: wrap; }
.pay-line span { color: #5b6b61; min-width: 64px; }
.pay-line b { word-break: break-all; }
.pay-copy { min-height: 32px; padding: 4px 10px; border: 1px solid #c9d3cc; border-radius: 8px; background: #fff; font: inherit; font-size: 12.5px; cursor: pointer; margin-left: auto; }
.pay-sub { margin: 10px 0 4px; font-weight: 600; font-size: 13.5px; }
.pay-note { margin: 6px 0 0; font-size: 12.5px; color: #4a5a50; }
.pay-own-qr { margin-top: 8px; font-size: 13px; }
.pay-own-qr img { display: block; max-width: 180px; margin: 8px 0; border-radius: 8px; }
.pay-state { margin: 8px 0 0; font-size: 13.5px; }
.pay-state.is-ok { color: #1f6b3a; font-weight: 600; }
.pay-state.is-wait { color: #7a4a00; }
.pay-ref-l { display: block; font-size: 12.5px; color: #4a5a50; margin: 8px 0 4px; }
.pay-ref { width: 100%; box-sizing: border-box; min-height: 40px; padding: 8px 10px; border: 1px solid #c9d3cc; border-radius: 8px; font: inherit; margin-bottom: 8px; }
.bell-rider { margin: 8px 0; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-weight: 600; color: #1f3d2a; }
.bell-call { margin-left: auto; min-height: 40px; line-height: 40px; padding: 0 14px; border-radius: 10px; border: 1.5px solid var(--green); color: var(--green); text-decoration: none; font-weight: 600; }

/* ============================================================
   Release E — audit fixes D1–D12
   ============================================================ */
/* D1: View cart bar, above everything but the cart itself */
.view-cart-bar { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 60;
  display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 8px 18px;
  border: 0; border-radius: 14px; background: var(--green-dark); color: #fff; font: inherit; font-size: 15px;
  box-shadow: 0 8px 24px rgba(3, 40, 40, .28); cursor: pointer; text-align: left; }
.view-cart-bar[hidden] { display: none; }
.view-cart-bar small { font-size: 12.5px; opacity: .85; }
.vcb-left { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vcb-go { font-weight: 700; white-space: nowrap; }
@media (min-width: 1024px) { .view-cart-bar { left: auto; right: 24px; width: 380px; } }
body.has-cart-bar .whatsapp-fab { bottom: calc(84px + env(safe-area-inset-bottom)) !important; }
body.has-cart-bar .catalogue { padding-bottom: 90px; }
/* D2: comfortable tap targets (40 px or more) */
.qty-btn { width: 36px; height: 36px; font-size: 1.1rem; position: relative; }
.qty-btn::after { content: ""; position: absolute; inset: -4px; }
.m-avail-change { min-height: 40px; padding: 0 6px; display: inline-flex; align-items: center; }
.gs-open { min-height: 40px; }
.recently-viewed-clear { min-height: 40px; padding: 0 10px; }
/* D7: inside a shop, the home page's sections are not repeated */
body:not(.no-merchant) #hero, body:not(.no-merchant) #promoHead, body:not(.no-merchant) #promoCarousel,
body:not(.no-merchant) #services, body:not(.no-merchant) #how, body:not(.no-merchant) #customerExperiences,
body:not(.no-merchant) #about, body:not(.no-merchant) .info-cards, body:not(.no-merchant) #contact,
body:not(.no-merchant) #shopsBand { display: none !important; }
/* D8: the shop's categories as one row of chips above its products */
body:not(.no-merchant) .shop-by-cat { padding-top: 12px; padding-bottom: 0; text-align: left; position: sticky; top: var(--hdr, 96px); z-index: 5; background: var(--paper); }
body:not(.no-merchant) .shop-by-cat h2, body:not(.no-merchant) .shop-by-cat .view-all-btn { display: none; }
body:not(.no-merchant) .cat-tiles { display: flex !important; gap: 8px; overflow-x: auto; padding: 4px 0 10px; scrollbar-width: none; grid-template-columns: none; }
body:not(.no-merchant) .cat-tiles::-webkit-scrollbar { display: none; }
body:not(.no-merchant) .cat-tile { flex: 0 0 auto; flex-direction: row; gap: 6px; min-height: 40px; padding: 6px 14px; border-radius: 999px; aspect-ratio: auto; width: auto; height: auto; }
body:not(.no-merchant) .cat-tile-media { display: none; }
body:not(.no-merchant) .cat-tile-icon { font-size: 18px; }
body:not(.no-merchant) .cat-tile-label { font-size: 14px; white-space: nowrap; }
body:not(.no-merchant) .cat-tile.is-on { background: var(--green); color: #fff; }
body:not(.no-merchant) .cat-tile.is-on .cat-tile-label { color: #fff; }
/* D9: + Add under each search result */
.gs-item { flex: 0 0 96px; display: flex; flex-direction: column; gap: 6px; scroll-snap-align: start; }
.gs-item .gs-thumb { flex: none; }
.gs-add { min-height: 36px; border: 1.5px solid var(--green); border-radius: 10px; background: #fff; color: var(--green); font: inherit; font-weight: 700; font-size: 13px; cursor: pointer; }
.gs-add:active { transform: scale(.97); }
/* D10: on a computer the shortcuts line up with the page, not the window edge */
@media (min-width: 1024px) { .quick-bar-strip { max-width: 1150px; margin-left: auto; margin-right: auto; padding-left: 20px; padding-right: 20px; box-sizing: border-box; } }
/* D12: one account button — the one in the header */
.main-nav a[data-account] { display: none !important; }
body:not(.no-merchant) .cat-tile { flex-direction: row !important; align-items: center; height: 40px; min-height: 40px; padding: 0 14px !important; gap: 6px; }
body:not(.no-merchant) .cat-tile:hover { transform: none; }
body:not(.no-merchant) .cat-tile-icon { font-size: 17px; line-height: 1; width: auto; height: auto; background: none; margin: 0; }
body:not(.no-merchant) .recently-viewed { display: none !important; }
/* Release E audit: the View cart bar never covers a panel (bell, product, account, track, cart, map). */
.view-cart-bar { z-index: 40; }
body:has(.bell-panel:not([hidden])) .view-cart-bar, body:has(#pv:not([hidden])) .view-cart-bar,
body:has(#acct:not([hidden])) .view-cart-bar, body.pin-open .view-cart-bar { display: none !important; }
/* Release E audit: 40 px + and − (D2). */
.qty-btn { width: 40px; height: 40px; }
/* Release E audit: payment heading — name left, amount right, on every width. */
.pay-h { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.pay-h strong { float: none; white-space: nowrap; }
/* Release E audit: readable small print on the 🔔's light green. */
.bell-act-help, .bell-order-label { color: #555c53; }
.leaflet-container .leaflet-control-attribution { background: rgba(255, 255, 255, .92); }
body:has(.rq:not([hidden])) .view-cart-bar, body:has(#loc:not([hidden])) .view-cart-bar,
body:has(#helpHub:not([hidden])) .view-cart-bar, body:has(.order-modal:not([hidden])) .view-cart-bar,
body:has(#orderToast:not([hidden])) .view-cart-bar { display: none !important; }
.leaflet-container .leaflet-control-attribution { background: #fff !important; }
/* Release E audit: on touch screens (tablets too) every header control is at least 40 px to tap,
   without changing how the header looks. */
@media (pointer: coarse), (max-width: 1180px) {
  .main-nav > a, .main-nav .nav-drop-btn { padding-top: 9px; padding-bottom: 9px; margin-top: -9px; margin-bottom: -9px; }
  #locChip, .cart-toggle, .promo-count { min-height: 40px; }
}
.leaflet-container .leaflet-bar a { width: 40px !important; height: 40px !important; line-height: 40px !important; font-size: 20px !important; }
/* Release E audit, last pass: the remaining small touch targets. */
.gs-add, .pay-copy { min-height: 40px; }
.qty-btn { flex: 0 0 40px; }
@media (pointer: coarse), (max-width: 1180px) { .promo-count { display: inline-flex; align-items: center; } }

/* ============================================================
   Release E.1 — chips with pictures, swipe cues, missing pictures
   ============================================================ */
body:not(.no-merchant) .shop-by-cat { top: var(--chips-top, var(--hdr, 96px)); position: sticky; }
body:not(.no-merchant) .cat-tile-media { display: block !important; width: 30px; height: 30px; border-radius: 50%; object-fit: cover; flex: 0 0 30px; margin-left: -8px; box-shadow: 0 0 0 1px rgba(0,0,0,.06); }
body:not(.no-merchant) .cat-tile { padding-left: 14px !important; }
body:not(.no-merchant) .cat-tile:has(.cat-tile-media) { padding-left: 12px !important; }
/* soft edges and ‹ › show there is more to swipe */
.chips-arrow { display: none; }
body:not(.no-merchant) .shop-by-cat { --chips-fade: var(--paper, #F7F8F6); }
body:not(.no-merchant) .shop-by-cat::before, body:not(.no-merchant) .shop-by-cat::after {
  content: ""; position: absolute; top: 12px; bottom: 10px; width: 44px; pointer-events: none; opacity: 0; transition: opacity .2s; z-index: 1; }
body:not(.no-merchant) .shop-by-cat::before { left: 20px; background: linear-gradient(90deg, var(--chips-fade), rgba(247,248,246,0)); }
body:not(.no-merchant) .shop-by-cat::after { right: 20px; background: linear-gradient(270deg, var(--chips-fade), rgba(247,248,246,0)); }
body:not(.no-merchant) .shop-by-cat.chips-more-left::before, body:not(.no-merchant) .shop-by-cat.chips-more-right::after { opacity: 1; }
body:not(.no-merchant) .chips-arrow {
  display: flex; align-items: center; justify-content: center; position: absolute; top: 12px; z-index: 2;
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line, #E4E7E1); background: #fff; color: var(--green-dark, #033F40);
  font-size: 24px; line-height: 1; box-shadow: 0 2px 8px rgba(0,0,0,.12); cursor: pointer; opacity: 0; pointer-events: none; transition: opacity .2s; }
body:not(.no-merchant) .chips-arrow-left { left: 14px; }
body:not(.no-merchant) .chips-arrow-right { right: 14px; }
body:not(.no-merchant) .shop-by-cat.chips-more-left .chips-arrow-left,
body:not(.no-merchant) .shop-by-cat.chips-more-right .chips-arrow-right { opacity: 1; pointer-events: auto; }
@media (max-width: 700px) {
  body:not(.no-merchant) .shop-by-cat::before { left: 16px; }
  body:not(.no-merchant) .shop-by-cat::after { right: 16px; }
  body:not(.no-merchant) .chips-arrow-left { left: 8px; }
  body:not(.no-merchant) .chips-arrow-right { right: 8px; }
}
/* a picture that no longer loads */
img.img-missing { visibility: hidden; }
.has-missing-img { background: linear-gradient(135deg, #E6F5EC, #F3F6F2); }
.logo-fallback { display: inline-flex; align-items: center; justify-content: center; width: 100%; height: 100%; font-weight: 700; color: var(--green-dark, #033F40); background: var(--green-light, #E6F5EC); border-radius: inherit; }
body:not(.no-merchant) .shop-by-cat { padding-top: calc(12px + var(--chips-pad, 0px)); }
body:not(.no-merchant) .shop-by-cat::before, body:not(.no-merchant) .shop-by-cat::after, body:not(.no-merchant) .chips-arrow { top: calc(12px + var(--chips-pad, 0px)); }

/* E.1.1: UPI apps — one compact button that opens a list */
.pay-apps-wrap { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.pay-app-main { flex: 1 1 100%; display: flex; align-items: center; justify-content: center; min-height: 44px; border-radius: 10px; background: var(--green, #1f6b3a); color: #fff; font-weight: 600; text-decoration: none; }
.pay-apps-toggle { flex: 1 1 100%; min-height: 44px; border: 1px solid #c9d3cc; border-radius: 10px; background: #fff; color: #1d2a22; font: inherit; font-weight: 600; cursor: pointer; }
.pay-apps-toggle.is-small { flex: 0 0 auto; min-height: 40px; padding: 0 14px; font-weight: 500; font-size: 13.5px; }
.pay-apps-toggle[aria-expanded="true"] span { display: inline-block; transform: rotate(180deg); }
.pay-apps-list { flex: 1 1 100%; border: 1px solid #dfe6e1; border-radius: 10px; background: #fff; overflow: hidden; }
.pay-app-row { display: flex; align-items: center; justify-content: space-between; min-height: 46px; padding: 0 14px; color: #1d2a22; font-weight: 500; text-decoration: none; border-bottom: 1px solid #eef2ef; }
.pay-app-row:active { background: #f2f6f3; }
.pay-app-go { color: #8a978e; font-size: 20px; }
.pay-apps-note { margin: 0; padding: 10px 14px; font-size: 12.5px; color: #4a5a50; }
.pay-saveqr.linkish { display: inline; min-height: 0; padding: 0; margin: 0; border: 0; background: none; color: var(--green, #1f6b3a); font: inherit; font-weight: 600; text-decoration: underline; cursor: pointer; }
.pay-app-miss { flex: 1 1 100%; margin: 0; font-size: 12.5px; color: #8a4b00; }

/* E.2: Order the same again? can be closed */
.reorder-bar { position: relative; }
.reorder-close {
  position: absolute; top: 6px; right: 6px; width: 40px; height: 40px;
  border: 0; border-radius: 50%; background: transparent; color: #4b5563;
  font-size: 24px; line-height: 1; cursor: pointer;
}
.reorder-close:hover, .reorder-close:focus-visible { background: #e6efe8; }
.reorder-bar .reorder-text { padding-right: 36px; }
@media (min-width: 561px) { .reorder-bar { padding-right: 56px; } .reorder-bar .reorder-text { padding-right: 0; } }

/* E.2: one-tap location */
.m-avail.m-av-part { color: #3b4a40; }
.loc-toast {
  position: fixed; left: 50%; bottom: calc(92px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 12px);
  width: max-content; max-width: min(calc(100vw - 32px), 460px); padding: 12px 16px; border-radius: 12px; background: #13302A; color: #fff;
  font-size: 0.9rem; line-height: 1.35; box-shadow: 0 8px 24px rgba(0,0,0,.18); z-index: 120; opacity: 0;
  transition: opacity .25s, transform .25s; pointer-events: none;
}
.loc-toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.loc-toast[hidden] { display: none; }

/* ---- Release E.4: the shop header folds on a phone ---- */
.merchant-head-inner { position: relative; }
.merchant-head-text { min-width: 0; flex: 1; }
.merchant-summary {
  display: block; width: 100%; margin: 6px 0 0; padding: 2px 0; background: none; border: 0; text-align: left;
  font: inherit; font-size: .8rem; font-weight: 600; color: #1B5E33; cursor: pointer;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-height: 24px;
}
.merchant-summary[hidden] { display: none; }
.merchant-summary.ms-no { color: #7A3B17; }
.merchant-summary.ms-part, .merchant-summary.ms-review, .merchant-summary.ms-courierAfter, .merchant-summary.ms-courierYes { color: #3A4840; }
.merchant-summary .ms-offer { color: #9A4B00; font-weight: 800; }
.merchant-summary .ms-dot { color: #8A958C; font-weight: 400; }
.merchant-more {
  flex: none; align-self: center; width: 44px; height: 44px; margin: -6px -8px -6px 0; border: 0; border-radius: 50%;
  background: #F1F4F1; color: var(--green-dark); cursor: pointer; display: grid; place-items: center;
}
.merchant-more[hidden] { display: none; }
.merchant-more::before { content: ""; width: 9px; height: 9px; border: solid currentColor; border-width: 0 2.5px 2.5px 0; transform: translateY(-2px) rotate(45deg); transition: transform .2s; }
.merchant-head:not(.is-folded) .merchant-more::before { transform: translateY(2px) rotate(-135deg); }
.merchant-head:not(.is-folded) .merchant-summary { display: none; }
.merchant-head.is-folded .merchant-info, .merchant-head.is-folded .merchant-details { display: none; }
.merchant-head.is-folded .merchant-head-inner { border-bottom: 1px solid var(--line); border-radius: 16px; }
.merchant-head:not(.is-folded) .md-toggle { display: none; }
.merchant-head:not(.is-folded) .md-list { padding-top: 10px; border-top: 1px solid var(--line); }
@media (max-width: 700px) {
  .merchant-head { padding: 12px 14px 0; }
  .merchant-head-inner { padding: 12px; gap: 12px; align-items: center; }
  .merchant-head .merchant-logo { width: 48px; height: 48px; }
  .merchant-head h2 { font-size: 1.05rem; line-height: 1.25; }
  .merchant-head .merchant-sub { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}
.merchant-summary { min-height: 32px; line-height: 24px; padding: 4px 0; }

/* ---- Release E.4.1: map search, a pin outside its PIN's area ---- */
.pin-search { display: flex; gap: 8px; margin: 0 0 8px; }
.pin-search input { flex: 1; min-width: 0; height: 44px; padding: 0 12px; border: 1px solid #c9d3cc; border-radius: 10px; font: inherit; font-size: 16px; background: #fff; }
.pin-search-go { flex: none; height: 44px; padding: 0 14px; border: 0; border-radius: 10px; background: var(--green-dark, #0b3d33); color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.pin-results { list-style: none; margin: 0 0 8px; padding: 0; border: 1px solid #dfe5e0; border-radius: 10px; overflow: hidden; background: #fff; }
.pin-results[hidden] { display: none; }
.pin-results li + li { border-top: 1px solid #eef1ee; }
.pin-results button { display: block; width: 100%; padding: 10px 12px; border: 0; background: none; text-align: left; font: inherit; cursor: pointer; min-height: 44px; }
.pin-results button:hover, .pin-results button:focus-visible { background: #f2f6f3; }
.pin-results strong { display: block; font-size: 14.5px; color: #1d2b22; }
.pin-results span { display: block; font-size: 12.5px; color: #5b6a60; margin-top: 2px; }
.pin-res-note { padding: 10px 12px; font-size: 13.5px; color: #4a5a50; }
.pin-usepin { padding: 0; border: 0; background: none; color: #7a3b00; font: inherit; font-weight: 700; text-decoration: underline; cursor: pointer; }
.pin-ok:disabled { opacity: .45; cursor: not-allowed; }
.cust-map-bad { margin: 6px 0; padding: 8px 10px; border-radius: 8px; background: #fff4e0; color: #7a4a00; font-size: 13.5px; }

/* ---- Release E.4.2: shops found by name ---- */
.gs-named { margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--line, #e3e8e4); }
.gs-shop-named .gs-shop-text { min-width: 0; }
.gs-shop-place { display: block; font-size: .8rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gs-shop-av { display: block; font-size: .78rem; font-weight: 700; color: #1B5E33; margin-top: 2px; }
.gs-shop-av.gs-av-no { color: #7A3B17; }
.gs-shop-av.gs-av-part, .gs-shop-av.gs-av-review, .gs-shop-av.gs-av-courierAfter, .gs-shop-av.gs-av-courierYes { color: #3A4840; }
.gs-shop-named .gs-open { min-height: 40px; }

/* ============ E.5: the language menu ============
   Computer: beside the Deliver-to chip at the top right. Phone and small
   tablet: the same row as the Deliver-to chip, at its right end, as a short
   label (EN · മല · हि). Tucks away with the chip while scrolling. */
.lang-zone { position: relative; order: 5; flex: none; }
.lang-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 7px 12px; border-radius: 999px;
  border: 1px solid rgba(0,0,0,.12); background: #fff; color: var(--green-dark, #1d3b2a); font: inherit; font-size: 13.5px;
  font-weight: 600; cursor: pointer; white-space: nowrap; }
.lang-btn:hover { background: var(--green-light, #E6F5EC); }
.lang-btn:focus-visible { outline: 3px solid #f2b705; outline-offset: 2px; }
.lang-globe { font-size: 15px; line-height: 1; }
.lang-caret { font-size: 11px; opacity: .7; }
/* The pill shows the short form (EN · മല · हि); the open menu shows each language in full. */
.lang-btn-text { display: none; }
.lang-btn-short { display: inline; }
.lang-menu { position: absolute; right: 0; top: calc(100% + 6px); z-index: 1200; min-width: 200px; padding: 6px;
  background: #fff; border: 1px solid var(--line, #E4E7E1); border-radius: 14px; box-shadow: 0 10px 30px rgba(0,0,0,.14); }
.lang-menu[hidden] { display: none; }
.lang-opt { display: flex; align-items: center; justify-content: space-between; gap: 14px; width: 100%; min-height: 46px;
  padding: 10px 12px; border: 0; border-radius: 10px; background: none; color: var(--text, #1B1F23); font: inherit;
  font-size: 16px; text-align: left; cursor: pointer; }
.lang-opt:hover, .lang-opt:focus-visible { background: var(--green-light, #E6F5EC); outline: none; }
.lang-opt.is-on { font-weight: 700; color: var(--green-dark, #033F40); }
.lang-opt-en { font-size: 13px; color: var(--muted, #6B7268); font-weight: 400; }
.lang-opt.is-on::after { content: "✓"; margin-left: 6px; color: var(--green, #045657); }
.topbar .loc-chip { order: 4; }

@media (max-width: 860px) {
  .site-header .lang-zone { grid-row: 2; grid-column: 1 / -1; justify-self: end; margin: 0 14px 8px; }
  .site-header .lang-btn { min-height: 32px; padding: 5px 10px; font-size: 13px; background: var(--green-light, #E6F5EC); border-color: transparent; }
  .site-header .lang-btn-text { display: none; }
  .site-header .lang-btn-short { display: inline; }
  .site-header .loc-chip { max-width: calc(100% - 28px - 92px); }
  .site-header .lang-zone { max-height: 220px; transition: max-height .26s ease, opacity .2s ease, margin .26s ease; }
  .site-header.is-tucked .lang-zone { max-height: 0 !important; opacity: 0; margin-top: 0 !important; margin-bottom: 0 !important; overflow: hidden; pointer-events: none; }
}
@media (max-width: 430px) { .site-header .lang-zone { margin-right: 12px; } .site-header .loc-chip { max-width: calc(100% - 24px - 92px); } }
@media (max-width: 375px) { .site-header .lang-zone { margin-right: 8px; } .site-header .loc-chip { max-width: calc(100% - 16px - 88px); } }

/* Voice: which language the mic listens in, and the one-time question. */
.mic-lang { border: 0; background: none; padding: 0 2px; color: inherit; text-decoration: underline; font: inherit; font-weight: 700; cursor: pointer; }
.vq-back { position: fixed; inset: 0; z-index: 1300; background: rgba(0,0,0,.38); display: flex; align-items: flex-end; justify-content: center; }
.vq-back[hidden] { display: none; }
.vq { width: 100%; max-width: 440px; background: #fff; border-radius: 18px 18px 0 0; padding: 18px 16px calc(18px + env(safe-area-inset-bottom)); box-shadow: 0 -6px 24px rgba(0,0,0,.18); }
@media (min-width: 700px) { .vq-back { align-items: center; } .vq { border-radius: 18px; } }
.vq-title { margin: 0 0 4px; font-size: 18px; font-weight: 800; color: var(--green-dark, #033F40); }
.vq-sub { margin: 0 0 14px; font-size: 14px; color: var(--muted, #6B7268); }
.vq-list { display: grid; gap: 8px; }
.vq-opt { display: flex; align-items: center; justify-content: space-between; min-height: 52px; padding: 12px 16px; border-radius: 12px;
  border: 1px solid #cdd8d0; background: #fff; font: inherit; font-size: 17px; font-weight: 600; color: var(--text, #1B1F23); cursor: pointer; text-align: left; }
.vq-opt:hover, .vq-opt:focus-visible { background: var(--green-light, #E6F5EC); border-color: var(--green, #045657); outline: none; }
.vq-opt small { font-size: 13px; font-weight: 400; color: var(--muted, #6B7268); }
.vq-cancel { display: block; width: 100%; margin-top: 10px; min-height: 44px; border: 0; background: none; color: var(--muted, #6B7268); font: inherit; font-size: 15px; cursor: pointer; }

/* E.5: the Deliver-to pill in two short lines — "Deliver to (name)" over the place and PIN. */
.loc-chip-lines { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; line-height: 1.15; overflow: hidden; }
.loc-chip-top { font-size: 11px; font-weight: 500; opacity: .8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.loc-chip-where { font-size: 13.5px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.loc-chip.loc-chip-two { padding-top: 4px; padding-bottom: 4px; text-align: left; }
@media (max-width: 860px) {
  .site-header .loc-chip.loc-chip-two { min-height: 36px; padding-top: 3px; padding-bottom: 3px; }
  .site-header .loc-chip-top { font-size: 10.5px; }
  .site-header .loc-chip-where { font-size: 12.5px; }
}

/* E.5.1: ten languages — the menu and the voice question scroll if needed; the question uses two columns. */
.lang-menu { max-height: min(70vh, 520px); overflow-y: auto; }
.vq { max-height: 88vh; overflow-y: auto; }
.vq-list { grid-template-columns: 1fr 1fr; }
.vq-opt { min-height: 48px; padding: 10px 12px; font-size: 16px; flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px; }

/* ============ Release E.5.3 (audit fixes) ============ */
/* M5: iPhone Safari must not enlarge text by itself when the phone turns sideways. */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

/* S1: landscape phones. The header used 38-46% of a sideways phone. It is made compact
   (smaller logo, no tagline, slimmer rows) and tucks while scrolling, at any width. */
@media (orientation: landscape) and (max-height: 500px) {
  :root { --topbar-h: 54px; }
  .topbar { padding-top: 4px; padding-bottom: 4px; }
  .brand { gap: 8px; }
  .brand-mark { width: 40px; height: 40px; }
  .brand-name { font-size: 1.2rem; }
  .brand-sub { display: none; }
  .search-row { padding-top: 2px; padding-bottom: 4px; }
  body.hdr-fixed .site-header { position: fixed; top: 0; left: 0; right: 0; }
  .site-header .loc-chip, .site-header .quick-bar, .site-header .quick-bar-strip {
    max-height: 220px;
    transition: max-height .26s ease, opacity .2s ease, margin .26s ease, padding .26s ease, border-width .26s ease;
  }
  .site-header.is-tucked .loc-chip,
  .site-header.is-tucked .quick-bar-strip,
  .site-header.is-tucked .quick-bar:not(:has(.qb-shop:not([hidden]))) {
    max-height: 0 !important; min-height: 0 !important; opacity: 0;
    margin-top: 0 !important; margin-bottom: 0 !important; padding-top: 0 !important; padding-bottom: 0 !important;
    border-width: 0 !important; overflow: hidden; pointer-events: none;
  }
  .site-header.is-tucked { box-shadow: 0 2px 8px rgba(0,0,0,.06); }
}
/* Wide landscape phones (861-932 px) show the computer's link row: it tucks away as well. */
@media (orientation: landscape) and (max-height: 500px) and (min-width: 861px) {
  .site-header .main-nav { max-height: 60px; transition: max-height .26s ease, opacity .2s ease, padding .26s ease, border-width .26s ease; }
  .site-header.is-tucked .main-nav { max-height: 0 !important; opacity: 0; padding-top: 0 !important; padding-bottom: 0 !important; border-width: 0 !important; overflow: hidden; pointer-events: none; }
}

/* S2: large text. When the phone's text size pushes the name into the icons, the tagline goes
   first, then the name (the logo stays). Set by fitBrand() in app.js, which measures it. */
.topbar.bt1 .brand-sub { display: none; }
.topbar.bt1 .brand-name { font-size: 1.1rem; }
.topbar.bt2 .brand-text { display: none; }
/* Shop cards in search: the name wraps between words; "View shop" moves under it when tight. */
.gs-shop-head { flex-wrap: wrap; }
.gs-shop-text { min-width: min(9.5rem, 100%); }
.gs-shop-name { overflow-wrap: break-word; }

/* M4: the map's "use PIN … instead" link is a comfortable tap target. */
.pin-usepin { display: inline-block; min-height: 32px; padding: 6px 2px; }

/* E.5.3: the official App Store and Google Play badges (dormant until a store link is in the Footer tab).
   Used as supplied: no recolouring or redrawing. Apple's is 40 px tall; Google's image carries its own
   transparent margin, so it is drawn at 58 px to look the same height, as Google's guidelines show. */
.app-get { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 12px; }
.app-get[hidden], .app-get a[hidden], .app-get-tm[hidden] { display: none !important; }
.app-get a { display: inline-block; line-height: 0; border-radius: 8px; }
.app-get a:focus-visible { outline: 3px solid #f2b705; outline-offset: 2px; }
#appGetIos img { height: 40px; width: auto; }
#appGetPlay img { height: 58px; width: auto; margin: -9px -8px; }
.fz-bottom .app-get-tm, .app-get-tm { margin: 4px 0 0; flex: 1 1 100%; font-size: 11px; line-height: 1.45; color: #B9D0BE; opacity: .75; }
.install-toast .it-store { display: inline-block; line-height: 0; }
.install-toast .it-store img { height: 40px; width: auto; }
.install-toast .it-store.it-play img { height: 58px; margin: -9px -8px; }
.install-toast .it-store[hidden] { display: none; }

/* E.5.3 (owner's request): every count beside a label (All shops 6, Nearby 2, Offers 1,
   "2 running now", the participating-shops strip) is a small solid badge in Orumart's green with
   white numerals, so the number reads apart from its label. On a dark (selected) pill it turns light. */
.shop-filter { display: inline-flex; align-items: center; gap: 6px; }
.shop-filter .sf-n, .nav-count, .ss-count, .promo-count .pc-n {
  display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 22px;
  padding: 0 7px; border-radius: 999px; background: #0E7A4C; color: #fff;
  font-size: 12.5px; font-weight: 800; line-height: 1; letter-spacing: 0; opacity: 1; vertical-align: middle; }
.shop-filter .sf-n { margin-left: 0; }
.shop-filter.is-on .sf-n { background: #8EE0B0; color: #0F2A1C; }
.nav-count { margin-left: 5px; }
.nav-count[hidden] { display: none !important; }
.promo-count .pc-n { min-width: 20px; height: 20px; padding: 0 6px; margin-right: 5px; font-size: 12px; }
/* The offers heading wraps (the count pill goes under "Featured · Special Offers") when text is large. */
.promo-head { flex-wrap: wrap; row-gap: 6px; }
.install-toast #installBtn[hidden], .install-toast .it-store[hidden] { display: none !important; }
/* the badge makes each pill a little wider: tighter padding keeps the three pills on one row on phones */
.shop-filter { gap: 5px; }
.shop-filter .sf-n { min-width: 20px; height: 20px; padding: 0 6px; font-size: 12px; }
@media (max-width: 600px) { .shop-filters { gap: 6px; } .shop-filter { padding-left: 11px; padding-right: 9px; } }
/* E.5.3 (owner's report): on the account card the avatar's ring touched "Hi, Joby" and the email.
   A plain circle with clear space beside it. */
.ac-profile { column-gap: 16px; }
.ac-profile .ac-avatar, .ac-hero .ac-avatar { box-shadow: none; margin: 0 2px; }
.fz-bottom { flex-wrap: wrap; }
.fz-bottom .app-get-tm { order: 3; }
/* E.5.3: the Google profile picture fills the avatar circle */
.acct-avatar.has-photo, .ac-avatar.has-photo { background: #E6F5EC; overflow: hidden; padding: 0; }
.acct-avatar .av-photo, .ac-avatar .av-photo { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; display: block; }
.fz-brand .app-get { margin-bottom: 8px; }

/* E.6: the store app's native "Continue with Google" button. Google's sign-in
   branding: light theme (white, grey outline, dark text), the four-colour G,
   pill shape, like the website's own Google button. */
.ac-btn.ac-gnative { display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 44px; padding: 0 20px; border-radius: 999px; background: #fff; color: #1f1f1f;
  border: 1px solid #747775; font: 500 15px/1 Roboto, "Segoe UI", Arial, sans-serif; letter-spacing: .1px; box-shadow: none; }
.ac-btn.ac-gnative:hover { background: #f8f9fa; }
.ac-btn.ac-gnative:active { background: #eceff1; }
.ac-btn.ac-gnative:disabled { opacity: .6; }
.ac-btn.ac-gnative svg { flex: 0 0 auto; }

/* ---------- v82 (Nov 2026): shortcut names shown in full ----------
   The pre-launch audit found long names cut off ("Candles & Custom…", and in
   Malayalam words were also split in the middle). Lines now break between
   words only; a tile whose name still does not fit in two lines is widened,
   step by step and only as far as needed (fitQuickNames in app.js, up to
   124 px). Every other tile keeps its usual width; same picture, same
   two-line height, so the header still never changes height. */
.qb-name { overflow-wrap: break-word; word-break: normal; }

/* ---------- v82: the About picture scales with the screen ----------
   It used to be a fixed 280 px on a computer and 220 px on anything below
   860 px, so a tablet showed a small circle in a lot of empty space. Now it
   follows the space available, within limits; small phones are unchanged
   (220 px) and a phone held sideways never gets a picture taller than the
   screen. The shape (and the drawn stand-in) are unchanged. */
.about-photo { max-width: clamp(240px, 22vw, 340px); }
@media (max-width: 860px) {
  .about-photo { max-width: clamp(220px, min(56vw, 70vh), 360px); }
}

/* ---------- Release E.8: delivery GST beside the delivery charge ---------- */
.gst-note { margin: 0 0 4px; font-size: 12.5px; color: #3b4a40; text-align: right; }
.gst-row { font-size: .86rem; color: #3b4a40; }
