/* Norland Wellness Hub styles: shared by the store page and the generated product pages.
   Flat retail look: white surfaces, hairline borders, solid buttons, no gradients or glows. */
:root {
  /* Brand: #1aa0e5. White text sits on --primary-strong or darker (contrast 4.8:1+); #1aa0e5 is for accents only. */
  --primary: #1aa0e5; --primary-strong: #0a78bb; --primary-deep: #075a92; --primary-soft: #e4f4fd;
  --bg: #f5f7f9; --ink: #111a22; --muted: #5d6b78; --line: #e3e8ed; --card: #fff;
  --sale: #d93a3a; --mtn: #ffcc00; --gold: #f2a93b;
  --radius: 10px; --shadow: 0 10px 30px rgba(10, 30, 50, .16); /* overlays only */
}
* { box-sizing: border-box; margin: 0; }
body { font-family: "Plus Jakarta Sans", Inter, system-ui, sans-serif; color: var(--ink); min-height: 100vh; background: #fff; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, textarea { font: inherit; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
a.logo, a.chip, .photo { text-decoration: none; color: inherit; }

/* buttons: one flat fill, darker on hover */
.pill, .cart-btn, .big-cta, .search-btn, .add { background: var(--primary-strong); color: #fff; text-decoration: none; }
.pill:hover, .cart-btn:hover, .big-cta:hover, .search-btn:hover, .add:hover { background: var(--primary-deep); }
.pill { font-weight: 700; font-size: 12.5px; padding: 9px 16px; border-radius: 8px; }
a.pill { display: inline-block; text-align: center; }

/* header: delivery strip, logo + search + cart, category navigation */
.site-head { position: sticky; top: 0; z-index: 20; background: #fff; border-bottom: 1px solid var(--line); }
/* promo ticker: two identical lists slide right to left; moving by one list's width loops seamlessly */
.promo { background: var(--primary-deep); color: #fff; overflow: hidden; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.promo-track { display: flex; width: max-content; animation: promo-scroll 45s linear infinite; }
.promo:hover .promo-track { animation-play-state: paused; }
.promo ul { display: flex; list-style: none; margin: 0; padding: 0; }
.promo li { padding: 7px 0; white-space: nowrap; }
.promo li::after { content: "\2022"; margin: 0 26px; color: var(--primary); }
@keyframes promo-scroll { to { transform: translateX(-50%); } }
/* visitors who ask for less motion still see it move, at half speed; hovering pauses it */
@media (prefers-reduced-motion: reduce) { .promo-track { animation-duration: 90s; } }
.bar { display: flex; align-items: center; gap: 14px; padding-top: 12px; padding-bottom: 12px; }
.logo { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 17px; white-space: nowrap; }
.logo i { width: 34px; height: 34px; border-radius: 8px; background: var(--primary-strong); color: #fff; display: grid; place-items: center; font-style: normal; font-size: 12px; }
.logo b { color: var(--primary-strong); }
.search-form { position: relative; flex: 1; display: flex; align-items: center; max-width: 600px; margin: 0 auto; background: #f2f6f9; border: 1.5px solid var(--line); border-radius: 10px; transition: border-color .15s, box-shadow .15s, background .15s; }
.search-form:hover { border-color: #b8d2e2; }
.search-form:focus-within { background: #fff; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(26, 160, 229, .16); }
.search { flex: 1; min-width: 0; border: 0; padding: 11px 10px 11px 14px; font-size: 14px; color: var(--ink); background: transparent; }
.search::placeholder { color: #8796a4; }
.search:focus { outline: none; }
.search::-webkit-search-cancel-button { display: none; } /* our own clear button instead */
.search-clear { width: 28px; height: 28px; margin-right: 4px; border-radius: 50%; display: grid; place-items: center; font-size: 19px; line-height: 1; color: var(--muted); }
.search-clear:hover { background: var(--line); color: var(--ink); }
.search-clear[hidden] { display: none; }
.search-key { margin-right: 8px; padding: 3px 7px; font: 600 11px/1 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--muted); background: #fff; border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 5px; }
.search-form:focus-within .search-key, .search-form:has(.search-clear:not([hidden])) .search-key { display: none; }
.search-btn { align-self: stretch; margin: 3px; padding: 0 16px; border-radius: 7px; display: grid; place-items: center; }
.search-ico { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }

/* search suggestions (search.js) */
.search-list { position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 30; max-height: min(70vh, 480px); overflow-y: auto; padding: 6px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 18px 44px rgba(10, 40, 70, .16); }
.search-list[hidden] { display: none; }
.sl-head { padding: 10px 10px 4px; font-size: 10.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.sl-opt { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 8px; font-size: 13.5px; color: var(--ink); text-decoration: none; }
.sl-opt:hover, .sl-opt[aria-selected="true"] { background: var(--primary-soft); }
.sl-th { position: relative; flex: none; width: 44px; height: 44px; border-radius: 8px; overflow: hidden; display: grid; place-items: center; }
.sl-th .pimg { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; object-fit: cover; }
.sl-th .bottle { width: 16px; }
.sl-ico { flex: none; width: 44px; display: grid; place-items: center; font-weight: 700; color: var(--muted); }
.sl-txt { flex: 1; min-width: 0; }
.sl-opt b { display: block; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sl-opt small { display: block; margin-top: 1px; font-size: 11.5px; color: var(--muted); }
.sl-price { font-size: 13px; font-weight: 700; color: var(--sale); white-space: nowrap; }
.sl-opt:has(.sl-all) { justify-content: center; margin-top: 4px; border-top: 1px solid var(--line); border-radius: 0 0 8px 8px; }
.sl-all { font-weight: 700; color: var(--primary-strong); }
.search-list mark { background: #fff0b3; color: inherit; border-radius: 3px; padding: 0 1px; }
.sl-note { padding: 12px 10px 6px; font-size: 13px; color: var(--muted); }
.sl-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 6px 10px 10px; }
.sl-chip { padding: 6px 12px; font-size: 12.5px; font-weight: 600; background: #fff; border: 1px solid var(--line); border-radius: 999px; }
.sl-chip:hover { border-color: var(--primary); color: var(--primary-strong); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.link-btn { padding: 0; font-weight: 700; color: var(--primary-strong); text-decoration: underline; }
.cur { font-size: 11.5px; font-weight: 700; color: var(--muted); border: 1px solid var(--line); border-radius: 8px; padding: 7px 9px; }
.cur:hover { border-color: var(--ink); color: var(--ink); }
.cart-btn { padding: 9px 14px; border-radius: 8px; font-weight: 700; font-size: 13px; display: flex; gap: 8px; align-items: center; white-space: nowrap; }
.cart-btn em { background: #fff; color: var(--primary-strong); border-radius: 999px; font-style: normal; font-size: 11px; padding: 1px 7px; }
.cat-nav { display: flex; gap: 26px; overflow-x: auto; scrollbar-width: none; font-size: 13.5px; font-weight: 600; }
.cat-nav::-webkit-scrollbar { display: none; }
.cat-nav a { color: var(--ink); text-decoration: none; padding: 10px 0 11px; white-space: nowrap; border-bottom: 2px solid transparent; }
.cat-nav a:hover { color: var(--primary-strong); }
.cat-nav a[aria-current] { border-bottom-color: var(--primary-strong); color: var(--primary-strong); }

/* hero banner */
.hero { margin-top: 20px; border-radius: 14px; padding: 36px 40px; color: #fff; display: flex; align-items: center; gap: 24px; background: var(--primary-deep); overflow: hidden; }
.hero > div { flex: 1; }
.tag { display: inline-block; font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: rgba(255,255,255,.16); padding: 5px 10px; border-radius: 6px; }
.tag-call { font-size: 15px; letter-spacing: .02em; color: #fff; text-decoration: none; padding: 8px 12px; white-space: nowrap; }
.hero h1 { font-size: clamp(28px, 4.4vw, 42px); line-height: 1.08; margin: 14px 0 10px; font-weight: 800; }
.hero p { font-size: 14px; opacity: .92; max-width: 470px; line-height: 1.5; }
.cta { margin-top: 18px; background: #fff; color: var(--primary-deep); font-weight: 700; padding: 11px 18px; border-radius: 8px; font-size: 13px; }
.cta:hover { background: var(--primary-soft); }
.hero > .hero-img { flex: 0 0 210px; width: 210px; height: 210px; border-radius: 12px; display: grid; place-items: center; position: relative; overflow: hidden; background: #fff; }
.hero-img .pimg { width: 100%; height: 100%; max-width: none; max-height: none; object-fit: cover; }
.hero-img .bottle { width: 100px; }
.badge { position: absolute; bottom: 10px; left: 10px; background: var(--sale); color: #fff; font-size: 11px; font-weight: 700; padding: 4px 8px; border-radius: 6px; }

/* store shelves */
.shelf { margin-top: 34px; }
.shelf-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.shelf-head h2 { font-size: 21px; font-weight: 800; }
.shelf-head span { color: var(--muted); font-size: 12.5px; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 4 * 16px) / 5); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
.rail > .card { scroll-snap-align: start; }
.tools { display: flex; align-items: center; gap: 8px; margin: 0 0 18px; flex-wrap: wrap; }
.chip { padding: 7px 14px; border-radius: 8px; background: #fff; font-size: 12.5px; font-weight: 600; border: 1px solid var(--line); }
.chip:hover { border-color: var(--ink); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 28px 16px; padding-bottom: 60px; }

/* product card: square photo, brand, two-line name, sale price, quick add */
.card { display: flex; flex-direction: column; min-width: 0; }
.photo { aspect-ratio: 1; border-radius: var(--radius); display: grid; place-items: center; position: relative; overflow: hidden; }
.photo .bottle { width: 30%; }
.photo .sale { position: absolute; top: 8px; left: 8px; background: var(--sale); color: #fff; font-size: 11.5px; font-weight: 800; padding: 3px 7px; border-radius: 6px; }
.meta { font-size: 11.5px; font-weight: 800; margin: 12px 0 3px; text-transform: uppercase; letter-spacing: .03em; }
.card h3 { font-size: 13.5px; font-weight: 500; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.8em; }
.card h3 a { color: inherit; text-decoration: none; }
.card h3 a:hover { text-decoration: underline; }
.card .sub { font-size: 11.5px; color: var(--muted); margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card .price { color: var(--ink); margin: 8px 0 10px; display: flex; flex-direction: column; flex: 1; justify-content: flex-end; }
.card .price s { color: var(--muted); font-size: 12px; }
.card .price b { font-size: 16px; font-weight: 800; color: var(--sale); }
.add { display: block; text-align: center; font-weight: 700; font-size: 12.5px; padding: 9px; border-radius: 8px; color: #fff; }
.price { color: var(--sale); font-weight: 800; font-size: 14px; white-space: nowrap; }
.m-link { display: block; text-align: center; font-size: 12px; font-weight: 700; color: var(--primary-strong); margin: 10px 0 0; text-decoration: none; }
.m-link:hover { text-decoration: underline; }
.m-note { font-size: 11.5px; line-height: 1.5; background: #fff6e5; color: #6b4a00; border-radius: 8px; padding: 10px 12px; margin: 10px 0 0; }
.step { display: inline-flex; align-items: center; gap: 2px; background: var(--bg); border-radius: 8px; }
.step button { width: 34px; height: 30px; border-radius: 8px; font-weight: 700; }
.step span { min-width: 30px; text-align: center; font-size: 12px; font-weight: 700; }

/* product photos: fill card and popup frames, fit small thumbnails */
.pimg { max-width: 80%; max-height: 80%; object-fit: contain; }
.photo .pimg, .m-photo .pimg { width: 100%; height: 100%; max-width: none; max-height: none; object-fit: cover; border-radius: inherit; }
.photo .pimg { position: absolute; inset: 0; object-fit: cover; }
.m-photo { overflow: hidden; }

/* bottle illustration */
.bottle { aspect-ratio: 1 / 1.9; }

/* overlays */
.scrim { position: fixed; inset: 0; background: rgba(6, 20, 32, .45); z-index: 40; display: none; }
.scrim.open { display: block; animation: fade .2s; }
@keyframes fade { from { opacity: 0 } }
.modal { position: fixed; z-index: 50; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(440px, 94vw); max-height: 92vh; background: #fff; border-radius: 14px; overflow: hidden; display: none; flex-direction: column; box-shadow: var(--shadow); }
.modal.open { display: flex; animation: pop .22s; }
@keyframes pop { from { transform: translate(-50%, -48%) scale(.96); opacity: 0 } }
.m-head { background: #fff; border-bottom: 1px solid var(--line); padding: 14px 18px; display: flex; align-items: center; justify-content: space-between; font-size: 13px; font-weight: 700; }
.m-head button { background: var(--bg); width: 30px; height: 30px; border-radius: 8px; }
.m-body { overflow-y: auto; padding: 0 20px 14px; }
.m-photo { width: 150px; height: 150px; border-radius: var(--radius); margin: 16px auto 10px; display: grid; place-items: center; }
.m-photo .bottle { width: 48px; }
.m-body h2 { text-align: center; font-size: 19px; }
.m-sub { text-align: center; font-size: 11.5px; color: var(--muted); margin: 4px 0; }
.m-desc { text-align: center; font-size: 12.5px; color: var(--muted); line-height: 1.5; margin: 8px 0; }
.m-price { color: var(--sale); text-align: center; font-weight: 800; font-size: 22px; margin: 6px 0 12px; }
.label { font-size: 10.5px; font-weight: 800; letter-spacing: .08em; color: var(--muted); text-transform: uppercase; margin: 14px 0 8px; }
.details { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; font-size: 12.5px; background: var(--bg); border-radius: var(--radius); padding: 12px 14px; }
.details dt { color: var(--muted); font-weight: 600; } .details dd { margin: 0; font-weight: 700; text-align: right; }
.m-foot { display: flex; gap: 10px; padding: 14px 20px; border-top: 1px solid var(--line); align-items: center; }
.m-foot .pill { flex: 1; padding: 13px; font-size: 13.5px; }
#checkout .m-foot { flex-direction: column; align-items: stretch; gap: 8px; }
.co-hint { font-size: 11.5px; color: var(--muted); text-align: center; }
.req { color: var(--sale); font-weight: 700; }

.drawer { position: fixed; z-index: 50; right: 0; top: 0; bottom: 0; width: min(400px, 100vw); background: #fff; transform: translateX(105%); visibility: hidden; transition: transform .28s, visibility .28s; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.drawer.open { transform: none; visibility: visible; }
.d-head { padding: 20px; display: flex; justify-content: space-between; align-items: start; border-bottom: 1px solid var(--line); margin-bottom: 12px; }
.d-head h2 { font-size: 17px; } .d-head small { color: var(--muted); font-size: 11.5px; }
.d-head button { background: var(--bg); width: 30px; height: 30px; border-radius: 8px; }
.d-body { flex: 1; overflow-y: auto; padding: 0 20px; }
.line { display: flex; gap: 10px; border-bottom: 1px solid var(--line); padding: 10px 0; }
.line .th { width: 56px; height: 56px; border-radius: 8px; display: grid; place-items: center; overflow: hidden; }
.line .th .pimg { width: 100%; height: 100%; max-width: none; max-height: none; object-fit: cover; }
.line .th .bottle { width: 20px; }
.line > div:nth-child(2) { flex: 1; font-size: 12.5px; } .line small { color: var(--muted); display: block; margin: 2px 0 6px; }
.totals { padding: 14px 20px; font-size: 12.5px; color: var(--muted); }
.totals div { display: flex; justify-content: space-between; margin: 4px 0; }
.totals .grand { color: var(--ink); font-weight: 800; font-size: 14px; }
.big-cta { margin: 0 20px 20px; border-radius: 8px; padding: 14px 18px; display: flex; justify-content: space-between; font-weight: 800; font-size: 14px; }
.pill:disabled, .big-cta:disabled { opacity: .45; cursor: not-allowed; background: var(--primary-strong); }
.empty { text-align: center; color: var(--muted); padding: 40px 0; font-size: 13px; }

/* checkout */
.field { display: block; margin-bottom: 10px; font-size: 11.5px; font-weight: 500; color: var(--muted); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--primary-strong); }
.field input, .field textarea { display: block; width: 100%; margin-top: 4px; border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; font-size: 13px; font-weight: 400; color: var(--ink); }
.pay { display: flex; align-items: center; gap: 10px; width: 100%; border: 1.5px solid var(--line); border-radius: var(--radius); padding: 10px; margin-bottom: 8px; text-align: left; font-size: 12.5px; font-weight: 700; }
.pay.sel { border-color: var(--primary-strong); background: var(--primary-soft); }
.pay i { width: 34px; height: 34px; border-radius: 8px; display: grid; place-items: center; font-style: normal; font-size: 10px; font-weight: 800; color: #000; }
.pay small { display: block; font-weight: 500; color: var(--muted); }

.wa-float { position: fixed; left: 20px; bottom: 20px; z-index: 30; width: 54px; height: 54px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 4px 14px rgba(0,0,0,.18); }
.wa-float:hover { background: #1ebe5a; }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }
.toast { position: fixed; right: 20px; bottom: 20px; z-index: 80; background: var(--ink); color: #fff; padding: 11px 16px; border-radius: 8px; font-size: 12.5px; font-weight: 600; transform: translateY(30px); opacity: 0; transition: .25s; pointer-events: none; }
.toast.show { transform: none; opacity: 1; }

/* footer */
footer { background: var(--bg); border-top: 1px solid var(--line); padding: 24px 0 28px; margin-top: 20px; font-size: 11.5px; color: var(--muted); line-height: 1.6; }
footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.trust { flex-basis: 100%; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; padding-bottom: 16px; margin-bottom: 6px; border-bottom: 1px solid var(--line); }
.trust p { font-size: 11.5px; }
.trust b { display: block; color: var(--ink); font-size: 13px; }
footer .legal, footer .credit { flex-basis: 100%; }
footer .credit { padding-top: 10px; border-top: 1px solid var(--line); text-align: center; }
.foot-links a, footer .credit a { color: var(--primary-strong); text-decoration: none; }
.foot-links a:hover, footer .credit a:hover { text-decoration: underline; }

/* ---------- generated pages: product, category, sitemap, 404 ---------- */
.crumbs { font-size: 12px; color: var(--muted); margin: 18px 0 14px; }
.crumbs a { color: var(--primary-strong); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.pdp { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; }
.pdp-photo { position: relative; aspect-ratio: 1; border-radius: 12px; display: grid; place-items: center; overflow: hidden; }
.pdp-photo .pimg { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; object-fit: cover; }
.pdp-photo .bottle { width: 30%; }
.pdp-photo .sale { position: absolute; top: 14px; left: 14px; background: var(--sale); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 6px; }
.pdp-info { padding: 4px 0; }
.pdp-info .meta { margin: 0 0 6px; }
.pdp h1 { font-size: clamp(24px, 3.2vw, 32px); line-height: 1.2; }
.pdp-price { color: var(--sale); font-weight: 800; font-size: 26px; margin: 12px 0; }
.pdp-price s { color: var(--muted); font-size: 15px; font-weight: 600; margin-left: 8px; }
.pdp-desc { color: var(--muted); font-size: 14px; line-height: 1.6; margin-bottom: 12px; }
.pdp .details { margin: 14px 0; }
.pdp .details a { color: var(--primary-strong); }
.pdp-actions { display: flex; gap: 10px; flex-wrap: wrap; margin: 18px 0 14px; }
.pdp-actions .pill { padding: 14px 26px; font-size: 14px; }
.wa-btn { display: inline-flex; align-items: center; padding: 14px 24px; border-radius: 8px; font-weight: 700; font-size: 14px; text-decoration: none; color: #fff; background: #128c4a; }
.wa-btn:hover { background: #0e7a40; }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; }
.cta-row .wa-btn { flex: 1 1 260px; max-width: 360px; justify-content: center; text-align: center; }
.cat-head a b { white-space: nowrap; } /* a phone number never splits over two lines */
.faq .steps { margin-bottom: 16px; }
[id] { scroll-margin-top: 160px; } /* keep linked sections clear of the sticky header */
.pdp-policy { list-style: none; padding: 0; margin: 6px 0 0; display: grid; gap: 6px; font-size: 12.5px; color: var(--muted); }
.pdp-policy li::before { content: "✓ "; color: var(--primary-strong); font-weight: 800; }
.more, .faq { margin: 40px 0; }
.more h2, .faq h2 { font-size: 21px; margin-bottom: 14px; }
.faq { border-top: 1px solid var(--line); padding-top: 24px; }
.faq h3 { font-size: 14px; margin: 14px 0 4px; }
.faq p { font-size: 13px; color: var(--muted); line-height: 1.55; }
.cat-head { margin: 4px 0 18px; }
.cat-head h1 { font-size: clamp(24px, 3.2vw, 32px); }
.cat-head p { color: var(--muted); font-size: 14px; line-height: 1.55; margin-top: 8px; max-width: 720px; }
.sitemap { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); align-items: start; gap: 14px; margin: 18px 0 32px; }
.sitemap section { border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; }
.sitemap h2 { font-size: 15px; margin-bottom: 8px; }
.sitemap h2 small { color: var(--muted); font-weight: 600; font-size: 12px; }
.sitemap ul { list-style: none; padding: 0; font-size: 13px; line-height: 1.9; }
.sitemap a, .cat-head a { color: var(--primary-strong); text-decoration: none; }
.sitemap a:hover, .cat-head a:hover { text-decoration: underline; }
.cat-head a.wa-btn { color: #fff; text-decoration: none; }

/* ---------- small screens ---------- */
@media (max-width: 980px) { .rail { grid-auto-columns: calc((100% - 2 * 16px) / 3); } }
@media (max-width: 760px) {
  .wrap { padding: 0 14px; }
  .bar { flex-wrap: wrap; gap: 8px 10px; padding-top: 10px; padding-bottom: 10px; }
  .logo { flex: 1; font-size: 15px; } .logo i { width: 30px; height: 30px; }
  .search-form { order: 3; flex-basis: 100%; max-width: none; }
  .search { font-size: 16px; } /* 16px stops iPhones zooming in on focus */
  .search-key { display: none; }
  .search-list { max-height: 62vh; }
  .sl-opt { padding: 10px; } /* bigger touch targets */
  .cart-btn { padding: 8px 11px; font-size: 12px; gap: 6px; } #cartTotal { display: none; }
  .cat-nav { gap: 20px; font-size: 13px; }
  .hero { padding: 24px; margin-top: 14px; } .hero > .hero-img { display: none; }
  .rail { grid-auto-columns: 44%; gap: 12px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; }
  .pdp { grid-template-columns: 1fr; gap: 16px; }
  /* product page: order buttons pinned to the bottom of the screen */
  .pdp-actions { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; margin: 0; flex-wrap: nowrap; gap: 8px;
    background: #fff; border-top: 1px solid var(--line); padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); }
  .pdp-actions .pill, .pdp-actions .wa-btn { flex: 1; justify-content: center; padding: 13px 10px; font-size: 14px; }
  body:has(.pdp-actions) { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
}
/* narrow phones: the full store name, currency and cart share one line, so the badge makes way */
@media (max-width: 400px) { .bar { column-gap: 8px; } .logo { font-size: 14px; } .logo i { display: none; } }
@media (max-width: 340px) { .logo { font-size: 13px; } }

/* ---------- Norland stockist ---------- */
.member-box { margin: 12px 0 4px; padding: 12px 14px; border-radius: 14px; font-size: 13px; line-height: 1.5; background: linear-gradient(135deg, var(--primary-soft), #fff); border: 1px solid #c9e7f8; }
.member-box a { display: inline-block; margin-top: 4px; font-weight: 700; color: var(--primary-strong); text-decoration: none; }
.member-box a:hover { text-decoration: underline; }
.steps { margin: 10px 0 0 18px; display: grid; gap: 8px; font-size: 13.5px; line-height: 1.5; }
.cat-intro { color: var(--muted); font-size: 13.5px; margin: -4px 0 10px; }
