/* Hasmani Wholesalers theme: main styles (layout, header, home, shop, pages). WooCommerce specifics are in woocommerce.css. */
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 600 900; font-stretch: 75% 100%; font-display: swap; src: url(../fonts/archivo-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(../fonts/inter-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
:root {
  --red: #d92a21;
  --red-dark: #b81f17;
  --red-tint: #fdecea;
  --yellow: #ffe330;
  --yellow-soft: #fff6b8;
  --ink: #1b1b1f;
  --text: #33343a;
  --muted: #6c6f78;
  --line: #e6e7eb;
  --grey: #f4f5f7;
  --wa: #1fbe5a;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .06), 0 1px 3px rgba(16, 24, 40, .08);
  --shadow-lg: 0 12px 32px rgba(16, 24, 40, .14);
  --display: 'Archivo', 'Arial Narrow', system-ui, sans-serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --bottom-nav: 0px;
  --safe-b: env(safe-area-inset-bottom, 0px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 150px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); color: var(--text); background: #fff; font-size: 15px; line-height: 1.5; -webkit-font-smoothing: antialiased; padding-bottom: calc(var(--bottom-nav) + var(--safe-b)); overflow-x: clip; }
html { overflow-x: clip; }
body.locked { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
svg { width: 1.15em; height: 1.15em; flex: none; }
button { font: inherit; cursor: pointer; color: inherit; -webkit-tap-highlight-color: transparent; }
a { -webkit-tap-highlight-color: transparent; }
h1, h2, h3, h4 { font-family: var(--display); color: var(--ink); margin: 0; line-height: 1.1; font-stretch: 88%; }
.wrap { width: min(1280px, 100% - 40px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 300; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid #2563eb; outline-offset: 2px; }
.muted { color: var(--muted); margin: 4px 0 0; }
[hidden] { display: none !important; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 20px; border-radius: 8px; border: 1px solid transparent; font-weight: 700; font-size: .95rem; text-decoration: none; transition: background .15s, border-color .15s, transform .1s; white-space: nowrap; }
.btn:active { transform: scale(.98); }
.btn-sm { min-height: 40px; padding: 8px 14px; font-size: .88rem; }
.btn-lg { min-height: 52px; padding: 12px 26px; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #18a34c; }
.btn-outline { background: #fff; color: var(--ink); border-color: #cfd2d8; }
.btn-outline:hover { border-color: var(--ink); }
.icon-btn { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 8px; border: 0; background: transparent; }
.icon-btn svg { width: 22px; height: 22px; }
.link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--red); text-decoration: none; }

/* ---------- utility bar ---------- */
.utility { background: var(--ink); color: #d8d9dd; font-size: .82rem; }
.utility-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 36px; }
.utility p { display: flex; align-items: center; gap: 6px; margin: 0; }
.utility a { color: #fff; text-decoration: none; font-weight: 600; }
.utility a:hover { color: var(--yellow); }
.utility-wa { display: inline-flex; align-items: center; gap: 6px; }
.utility-wa svg { color: var(--wa); }

/* ---------- header ---------- */
.header { position: sticky; top: 0; z-index: 50; background: var(--red); transition: box-shadow .2s; }
.header.scrolled { box-shadow: 0 4px 16px rgba(0, 0, 0, .18); }
.header-row { display: flex; align-items: center; gap: 20px; height: 76px; }
.menu-toggle { display: none; color: #fff; margin-left: -8px; }
.logo { flex: none; }
.logo img { height: 52px; width: auto; }
.site-search { flex: 1; display: flex; max-width: 640px; margin-inline: auto; background: #fff; border-radius: 8px; overflow: hidden; }
.site-search:focus-within { box-shadow: 0 0 0 3px var(--yellow); }
.site-search input { flex: 1; border: 0; padding: 0 16px; height: 46px; font: inherit; font-size: 16px; color: var(--ink); background: transparent; min-width: 0; }
.site-search input:focus { outline: none; }
.site-search button { border: 0; background: var(--yellow); color: var(--ink); width: 54px; display: grid; place-items: center; }
.site-search button svg { width: 20px; height: 20px; }
.shop-btn { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 18px; border-radius: 8px; background: var(--yellow); color: var(--ink); font-weight: 800; text-decoration: none; }
.shop-btn:hover { background: #fff; }
.list-btn, .cart-btn { position: relative; display: inline-flex; align-items: center; gap: 8px; border: 0; background: transparent; color: #fff; font-weight: 700; padding: 10px 12px; border-radius: 8px; min-height: 44px; }
.list-btn:hover, .cart-btn:hover { background: rgba(255, 255, 255, .12); }
.list-btn svg, .cart-btn svg { width: 26px; height: 26px; }
.badge { position: absolute; top: 2px; left: 28px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--yellow); color: var(--ink); font-size: .72rem; font-weight: 800; display: grid; place-items: center; }

.cats-bar { background: #fff; border-bottom: 1px solid var(--line); }
.cats-row { display: flex; align-items: center; gap: 2px; overflow-x: auto; scrollbar-width: none; list-style: none; margin: 0; padding: 0; }
.cats-row li { flex: none; }
.cats-row::-webkit-scrollbar { display: none; }
.cats-row a { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 13px 14px; font-weight: 600; font-size: .9rem; text-decoration: none; color: var(--ink); border-bottom: 3px solid transparent; }
.cats-row a:hover, .cats-row a.active, .cats-row .current-menu-item > a { color: var(--red); border-bottom-color: var(--red); }
.cats-row .nav-shop > a { color: var(--red); font-weight: 800; }
.cats-row .nav-hot > a { color: var(--red); }
.cats-row .nav-right { margin-left: auto; }

/* ---------- mobile popup menu ---------- */
.menu-scrim, .scrim, .filter-scrim { position: fixed; inset: 0; background: rgba(15, 15, 20, .5); z-index: 140; animation: fade .2s; }
@keyframes fade { from { opacity: 0; } }
.menu-panel { position: fixed; z-index: 150; top: 0; left: 0; bottom: 0; width: min(360px, 88vw); background: #fff; display: flex; flex-direction: column; transform: translateX(-105%); transition: transform .28s cubic-bezier(.2, .8, .2, 1); border-radius: 0 18px 18px 0; box-shadow: 10px 0 40px rgba(0, 0, 0, .25); }
.menu-panel.open { transform: none; }
.menu-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 14px 14px 18px; background: var(--red); border-radius: 0 18px 0 0; }
.menu-head img { height: 40px; width: auto; }
.menu-head .icon-btn { color: #fff; background: rgba(255, 255, 255, .14); border-radius: 50%; }
.menu-body { flex: 1; overflow-y: auto; padding: 16px 16px calc(20px + var(--safe-b)); overscroll-behavior: contain; }
.menu-shop { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 12px; background: var(--yellow); color: var(--ink); font-weight: 800; text-decoration: none; font-size: 1.02rem; }
.menu-shop .menu-chev { margin-left: auto; }
.menu-label { margin: 20px 4px 10px; font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.menu-cats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.menu-cats a { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 12px 8px; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; font-weight: 600; font-size: .85rem; text-align: center; color: var(--ink); line-height: 1.25; }
.menu-cats a.active, .menu-cats a:active { border-color: var(--red); background: var(--red-tint); }
.menu-cats span { width: 64px; height: 64px; border-radius: 50%; background: var(--grey); display: grid; place-items: center; overflow: hidden; }
.menu-cats img { width: 80%; height: 80%; object-fit: contain; mix-blend-mode: multiply; }
.menu-cats .menu-ic svg { width: 28px; height: 28px; color: var(--red); }
.menu-links { display: grid; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.menu-links a { display: flex; align-items: center; gap: 12px; padding: 14px 16px; text-decoration: none; font-weight: 600; color: var(--ink); }
.menu-links a + a { border-top: 1px solid var(--line); }
.menu-links svg { color: var(--red); }
.menu-contact { display: grid; gap: 10px; margin-top: 20px; }
.menu-contact > a:not(.btn) { display: flex; align-items: center; gap: 12px; padding: 10px 4px; text-decoration: none; }
.menu-contact > a:not(.btn) svg { width: 36px; height: 36px; padding: 8px; border-radius: 50%; background: var(--red-tint); color: var(--red); }
.menu-contact b { display: block; color: var(--ink); font-size: .92rem; }
.menu-contact span { font-size: .88rem; color: var(--muted); }
.menu-open { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 16px 0 0; font-size: .85rem; font-weight: 600; color: var(--muted); }

/* ---------- home: promos ---------- */
.promos { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 16px; margin-top: 20px; }
.promo { position: relative; border-radius: 14px; overflow: hidden; text-decoration: none; color: inherit; transition: transform .2s, box-shadow .2s; }
.promo:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.promo-kicker { display: inline-block; font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 4px; background: var(--red); color: #fff; margin-bottom: 12px; }
.promo-main { grid-row: span 2; display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; background: var(--yellow); padding: 40px 44px; min-height: 400px; }
.promo-main h1 { font-size: clamp(1.9rem, 3.6vw, 3.2rem); font-weight: 900; text-transform: uppercase; }
.promo-main p { font-size: 1.05rem; margin: 14px 0 24px; max-width: 34ch; color: #3a3000; }
.promo-art { position: relative; height: 100%; min-height: 300px; }
.promo-art img { position: absolute; background: #fff; border-radius: 12px; box-shadow: var(--shadow-lg); object-fit: contain; padding: 10px; }
.pa-1 { width: 58%; top: 4%; right: 2%; }
.pa-2 { width: 40%; bottom: 6%; right: 36%; }
.pa-3 { width: 36%; bottom: 2%; right: 0; }
.price-flag { position: absolute; left: 0; top: 18%; background: var(--red); color: #fff; font-family: var(--display); font-weight: 900; font-size: 2.8rem; line-height: 1; padding: 12px 18px 14px; border-radius: 10px; box-shadow: var(--shadow-lg); transform: rotate(-4deg); }
.price-flag small { display: block; font-family: var(--body); font-weight: 700; font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 4px; }
.promo-side { display: grid; grid-template-columns: 1fr 42%; align-items: center; padding: 24px; gap: 12px; }
.promo-side h2 { font-size: 1.7rem; font-weight: 900; text-transform: uppercase; }
.promo-side p { margin: 6px 0 12px; font-size: .92rem; }
.promo-side img { width: 100%; aspect-ratio: 1; object-fit: contain; background: #fff; border-radius: 10px; padding: 8px; }
.promo-red { background: var(--red); color: #fff; }
.promo-red h2 { color: var(--yellow); }
.promo-red .promo-kicker { background: var(--yellow); color: var(--ink); }
.promo-dark { background: var(--ink); color: #e4e4e7; }
.promo-dark h2 { color: #fff; }
.promo-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--yellow); }

/* ---------- values ---------- */
.values { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 18px; border: 1px solid var(--line); border-radius: 12px; }
.value { display: flex; align-items: center; gap: 12px; padding: 16px 20px; }
.value + .value { border-left: 1px solid var(--line); }
.value > svg { width: 30px; height: 30px; color: var(--red); }
.value b { display: block; color: var(--ink); font-size: .95rem; }
.value span { font-size: .84rem; color: var(--muted); }

/* ---------- sections ---------- */
.section { padding-top: 56px; }
.section-grey { background: var(--grey); padding: 56px 0; margin-top: 56px; }
.sec-head { margin-bottom: 20px; }
.sec-head h2 { font-size: 1.9rem; font-weight: 900; }
.sec-head-row { display: flex; justify-content: space-between; align-items: end; gap: 12px; }

/* ---------- departments ---------- */
.depts { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.dept { display: flex; flex-direction: column; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; color: var(--ink); text-align: center; font-size: .92rem; line-height: 1.25; }
.dept > span { width: 100%; aspect-ratio: 1; border-radius: 50%; background: var(--grey); display: grid; place-items: center; overflow: hidden; transition: background .2s, transform .2s; }
.dept img { width: 70%; height: 70%; object-fit: contain; mix-blend-mode: multiply; }
.dept:hover > span { background: var(--yellow-soft); transform: translateY(-3px); }
.dept:hover { color: var(--red); }
.dept-icon svg { width: 42%; height: 42%; color: var(--red); }

/* ---------- chips ---------- */
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 14px; margin-bottom: 4px; scrollbar-width: none; scroll-snap-type: x proximity; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; scroll-snap-align: start; min-height: 40px; border: 1px solid #cfd2d8; background: #fff; border-radius: 999px; padding: 8px 16px; font-weight: 600; font-size: .88rem; color: var(--ink); transition: background .15s, border-color .15s; }
.chip:hover { border-color: var(--ink); }
.chip[aria-selected="true"] { background: var(--red); border-color: var(--red); color: #fff; }

/* ---------- product grid + cards ---------- */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.grid-shop { grid-template-columns: repeat(3, 1fr); }
.card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s, border-color .2s; }
.card:hover { box-shadow: var(--shadow-lg); border-color: transparent; }
.card-link { flex: 1; display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.card-pic { position: relative; aspect-ratio: 1; background: #fff; overflow: hidden; }
.card-pic img { width: 100%; height: 100%; object-fit: contain; padding: 12px; transition: transform .35s; }
.card:hover .card-pic img { transform: scale(1.05); }
.card-badge { position: absolute; top: 10px; left: 10px; background: var(--yellow); color: var(--ink); font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; padding: 4px 8px; border-radius: 4px; }
.card-body { flex: 1; display: flex; flex-direction: column; padding: 4px 14px 12px; }
.card-cat { font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; font-weight: 600; }
.card-name { font-family: var(--body); font-size: .95rem; font-weight: 600; color: var(--ink); margin: 4px 0 8px; line-height: 1.35; font-stretch: 100%; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
.card-link:hover .card-name { color: var(--red); }
.card-price { margin-top: auto; font-family: var(--display); font-weight: 900; font-size: 1.7rem; color: var(--red); line-height: 1; font-stretch: 90%; }
.card-price small, .pdp-price small, .buybar-amount small { font-family: var(--body); font-size: .8rem; font-weight: 600; color: var(--muted); font-stretch: 100%; }
.card-price sup, .pdp-price sup, .buybar-amount sup { font-size: .55em; top: -.6em; margin-left: 1px; }
.card-note { font-size: .78rem; color: var(--muted); margin-top: 4px; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.card-actions { padding: 0 14px 14px; }
.stepper { display: flex; align-items: center; justify-content: space-between; border: 2px solid var(--red); border-radius: 8px; height: 40px; overflow: hidden; background: #fff; }
.stepper button { width: 42px; height: 100%; border: 0; background: var(--red-tint); color: var(--red); font-size: 1.25rem; font-weight: 700; }
.stepper button:hover { background: var(--red); color: #fff; }
.stepper span { font-weight: 700; font-size: .88rem; color: var(--ink); white-space: nowrap; }
.stepper-lg { height: 52px; }
.stepper-lg button { width: 56px; font-size: 1.5rem; }
.stepper-sm { height: 34px; width: 112px; margin-top: 6px; border-width: 1px; }
.stepper-sm button { width: 34px; font-size: 1.05rem; }
.view-more { display: flex; justify-content: center; margin-top: 28px; }
.fine { font-size: .8rem; color: var(--muted); margin: 24px 0 0; }

/* ---------- stationery / leaflets ---------- */
.banner-strip { display: flex; align-items: center; gap: 22px; padding: 26px 30px; border-radius: 14px; background: var(--yellow-soft); border: 1px solid #f3e27a; }
.banner-strip h2 { font-size: 1.5rem; font-weight: 900; }
.banner-strip p { margin: 4px 0 0; }
.banner-strip > div:nth-child(2) { flex: 1; }
.bs-icon { width: 60px; height: 60px; flex: none; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; }
.bs-icon svg { width: 28px; height: 28px; }
.leaflets { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(190px, 1fr); gap: 16px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; }
.leaflet { scroll-snap-align: start; border: 0; padding: 0; background: #fff; border-radius: 10px; overflow: hidden; box-shadow: var(--shadow); text-align: left; transition: box-shadow .2s, transform .2s; }
.leaflet:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.leaflet img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: top; }
.leaflet span { display: block; padding: 10px 12px; font-weight: 700; color: var(--ink); font-size: .9rem; }
.lightbox { border: 0; padding: 0; border-radius: 12px; max-width: min(760px, 94vw); max-height: 92vh; overflow: auto; background: #000; }
.lightbox-white { background: #fff; max-width: min(900px, 94vw); }
.lightbox::backdrop { background: rgba(0, 0, 0, .75); }
.lightbox img { width: 100%; height: auto; }
.lightbox-close { position: sticky; top: 10px; float: right; margin: 10px; background: #fff; border-radius: 50%; z-index: 2; box-shadow: var(--shadow); }

/* ---------- stores / signup ---------- */
.stores { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.store { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.store iframe { width: 100%; height: 100%; min-height: 260px; border: 0; background: var(--grey); }
.store-body { padding: 22px; }
.store h3 { font-size: 1.3rem; font-weight: 900; margin-bottom: 10px; }
.store p { display: flex; gap: 8px; margin: 0 0 8px; font-size: .92rem; }
.store p svg { color: var(--red); margin-top: 2px; }
.store p a { font-weight: 700; color: var(--ink); }
.hours { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; margin: 14px 0 18px; font-size: .88rem; padding-top: 12px; border-top: 1px solid var(--line); }
.hours dt { color: var(--muted); }
.hours dd { margin: 0; text-align: right; font-weight: 600; color: var(--ink); }
.signup { background: var(--red); color: #fff; margin-top: 56px; }
.signup-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 34px 0; }
.signup h2 { color: #fff; font-size: 1.9rem; font-weight: 900; text-transform: uppercase; }
.signup p { margin: 4px 0 0; color: #ffe0dd; }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: #b9bbc2; font-size: .9rem; margin-top: 56px; }
.signup + .footer, main + .footer { margin-top: 0; }
.shop-page + .footer, .product-page + .footer { margin-top: 64px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; padding: 52px 0 36px; }
.footer-logo { width: 200px; height: auto; margin-bottom: 14px; }
.footer p { margin: 0 0 16px; max-width: 34ch; }
.footer h4 { color: #fff; font-size: 1rem; font-weight: 800; margin-bottom: 12px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--yellow); }
.socials { display: flex; gap: 8px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; background: #2c2d33; display: grid; place-items: center; color: #fff; }
.socials a:hover { background: var(--red); color: #fff; }
.footer-bar { border-top: 1px solid #2f3036; }
.footer-bar-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 0; }
.footer-bar p { margin: 0; }
.ttd-credit { display: inline-flex; align-items: center; gap: 12px; }
.ttd-credit img { height: 50px; width: auto; }

/* ---------- list drawer ---------- */
.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 160; width: min(420px, 100%); background: #fff; display: flex; flex-direction: column; transform: translateX(105%); transition: transform .28s cubic-bezier(.2, .8, .2, 1); box-shadow: -10px 0 40px rgba(0, 0, 0, .2); }
.drawer.open { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 12px 12px 20px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 1.4rem; font-weight: 900; }
.drawer-body { flex: 1; overflow-y: auto; padding: 4px 20px; overscroll-behavior: contain; }
.drawer-items { list-style: none; margin: 0; padding: 0; }
.line { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: start; padding: 14px 0; border-bottom: 1px solid var(--line); }
.line img { width: 64px; height: 64px; object-fit: contain; border: 1px solid var(--line); border-radius: 8px; padding: 4px; }
.line-name { display: block; font-weight: 700; font-size: .9rem; color: var(--ink); line-height: 1.3; text-decoration: none; }
.line-info > span { font-size: .8rem; color: var(--muted); }
.line-total { font-size: .92rem; color: var(--ink); white-space: nowrap; }
.drawer-empty { text-align: center; padding: 50px 10px; color: var(--muted); }
.drawer-empty svg { width: 48px; height: 48px; color: #c5c7cd; margin: 0 auto 10px; display: block; }
.drawer-foot { border-top: 1px solid var(--line); padding: 16px 20px calc(18px + var(--safe-b)); display: grid; gap: 10px; background: var(--grey); }
.est { display: flex; justify-content: space-between; align-items: baseline; }
.est b { font-family: var(--display); font-size: 1.6rem; color: var(--ink); }
.est-note { margin: -6px 0 2px; font-size: .78rem; color: var(--muted); }
.drawer-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.drawer-fields select { grid-column: span 2; }
.drawer-fields input, .drawer-fields select { font: inherit; font-size: 16px; padding: 10px 12px; min-height: 44px; border: 1px solid #cfd2d8; border-radius: 8px; background: #fff; color: var(--ink); min-width: 0; }
.form-error { margin: 0; color: var(--red-dark); font-weight: 600; font-size: .88rem; }

/* ---------- bottom nav (mobile), float, toast ---------- */
.bottom-nav { display: none; }
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--wa); color: #fff; box-shadow: 0 8px 24px rgba(31, 190, 90, .4); transition: transform .2s; }
.wa-float svg { width: 30px; height: 30px; }
.wa-float:hover { transform: scale(1.08); }
.toast { position: fixed; left: 50%; bottom: calc(24px + var(--bottom-nav) + var(--safe-b)); transform: translate(-50%, 20px); opacity: 0; visibility: hidden; background: var(--ink); color: #fff; font-weight: 600; padding: 12px 18px; border-radius: 8px; z-index: 200; transition: transform .25s, opacity .25s; max-width: calc(100% - 40px); text-align: center; font-size: .9rem; }
.toast.show { transform: translate(-50%, 0); opacity: 1; visibility: visible; }

/* ---------- shop page ---------- */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 18px 0 0; font-size: .85rem; color: var(--muted); }
.crumbs a { text-decoration: none; color: var(--muted); }
.crumbs a:hover { color: var(--red); }
.crumbs > span:last-child { color: var(--ink); font-weight: 600; }
.shop-title { padding: 10px 0 18px; }
.shop-title h1 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 900; }

.cat-slider { position: relative; margin-bottom: 28px; }
.cat-track { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 2px 6px; }
.cat-track::-webkit-scrollbar { display: none; }
.cat-tile { flex: 0 0 calc((100% - 60px) / 6); min-width: 150px; scroll-snap-align: start; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 16px 10px 14px; border: 1px solid var(--line); border-radius: 14px; background: #fff; text-align: center; transition: border-color .15s, box-shadow .15s, transform .15s; }
.cat-tile:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.cat-tile.active { border-color: var(--red); box-shadow: inset 0 0 0 1px var(--red); background: var(--red-tint); }
.cat-pic { width: 84px; height: 84px; border-radius: 50%; background: var(--grey); display: grid; place-items: center; overflow: hidden; }
.cat-tile.active .cat-pic:not(.cat-pic-all) { background: #fff; }
.cat-pic img { width: 76%; height: 76%; object-fit: contain; mix-blend-mode: multiply; }
.cat-pic-all { background: var(--red); color: #fff; }
.cat-pic-all svg { width: 36px; height: 36px; }
.cat-name { font-weight: 700; color: var(--ink); font-size: .92rem; line-height: 1.2; }
.cat-count { font-size: .78rem; color: var(--muted); }
.slider-btn { position: absolute; top: 50%; z-index: 2; width: 40px; height: 40px; margin-top: -24px; border-radius: 50%; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-lg); display: grid; place-items: center; transition: opacity .2s; }
.slider-btn.prev { left: -14px; }
.slider-btn.next { right: -14px; }
.slider-btn:disabled { opacity: 0; pointer-events: none; }

.shop { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 32px; align-items: start; }
.listing { min-width: 0; }
.filters { position: sticky; top: 140px; max-height: calc(100vh - 160px); display: flex; flex-direction: column; }
.filters-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.filters-head h2 { font-size: 1.2rem; font-weight: 900; }
.filters-close { display: none; }
.filters-body { overflow-y: auto; padding-right: 4px; scrollbar-width: thin; }
.f-group { border: 0; margin: 0; padding: 16px 0; border-bottom: 1px solid var(--line); min-width: 0; }
.f-group legend { font-weight: 800; color: var(--ink); font-size: .92rem; padding: 0; margin-bottom: 8px; }
.f-search { display: flex; align-items: center; gap: 8px; padding: 0 12px; border: 1px solid #cfd2d8; border-radius: 8px; }
.f-search:focus-within { border-color: var(--red); box-shadow: 0 0 0 3px var(--red-tint); }
.f-search svg { color: var(--muted); }
.f-search input { flex: 1; min-width: 0; border: 0; padding: 10px 0; font: inherit; font-size: 16px; background: transparent; color: var(--ink); }
.f-search input:focus { outline: none; }
.f-check { display: flex; align-items: center; gap: 10px; padding: 7px 4px; border-radius: 6px; cursor: pointer; font-size: .92rem; }
.f-check:hover { background: var(--grey); }
.f-check input { width: 18px; height: 18px; accent-color: var(--red); flex: none; }
.f-check > span:nth-of-type(1) { flex: 1; }
.f-num { font-size: .76rem; color: var(--muted); background: var(--grey); padding: 1px 8px; border-radius: 999px; }
.filters-help { margin: 16px 0 4px; padding: 16px; background: var(--yellow-soft); border-radius: 10px; }
.filters-help b { color: var(--ink); }
.filters-help p { margin: 4px 0 12px; font-size: .88rem; }
.filters-foot { display: none; }

.toolbar { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.filters-open { display: none; }
.f-count { background: var(--red); color: #fff; border-radius: 999px; font-size: .72rem; min-width: 20px; height: 20px; display: inline-grid; place-items: center; padding: 0 5px; }
.result-count { margin: 0; color: var(--muted); font-weight: 600; flex: 1; white-space: nowrap; }
.sort { display: flex; align-items: center; gap: 8px; font-size: .88rem; color: var(--muted); font-weight: 600; }
.sort select { font: inherit; font-size: .92rem; color: var(--ink); padding: 8px 12px; min-height: 40px; border: 1px solid #cfd2d8; border-radius: 8px; background: #fff; }
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 0 4px; }
.active-filters:empty { padding: 6px 0 0; }
.pill { display: inline-flex; align-items: center; gap: 6px; border: 0; background: var(--red-tint); color: var(--red); font-weight: 700; font-size: .82rem; padding: 6px 10px; border-radius: 999px; }
.pill svg { width: 14px; height: 14px; }
.pill-clear { border: 0; background: none; color: var(--muted); font-weight: 600; font-size: .82rem; text-decoration: underline; padding: 6px 4px; }
.listing .grid { margin-top: 12px; }
.empty { padding: 40px 24px; text-align: center; background: var(--grey); border-radius: 12px; margin-top: 12px; }
.empty h3 { font-size: 1.3rem; margin-bottom: 6px; }
.empty a { color: var(--red); font-weight: 700; }

/* ---------- product page ---------- */
.pdp { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; padding-top: 20px; align-items: start; }
.pdp-gallery { position: sticky; top: 140px; }
.pdp-image { position: relative; display: block; width: 100%; padding: 0; border: 1px solid var(--line); border-radius: 16px; background: #fff; overflow: hidden; cursor: zoom-in; }
.pdp-image img { width: 100%; aspect-ratio: 1; object-fit: contain; padding: 24px; transition: transform .4s; }
.pdp-image:hover img { transform: scale(1.04); }
.pdp-zoom-hint { position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 600; color: var(--muted); background: rgba(255, 255, 255, .9); border: 1px solid var(--line); padding: 6px 10px; border-radius: 999px; }
.pdp-badge { top: 14px; left: 14px; font-size: .8rem; }
.pdp-cat { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--red); text-decoration: none; margin-bottom: 8px; }
.pdp-info h1 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); font-weight: 900; }
.pdp-price-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin: 16px 0 6px; }
.pdp-price { font-family: var(--display); font-weight: 900; font-size: 2.8rem; color: var(--red); line-height: 1; font-stretch: 90%; }
.pdp-stock { display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; font-weight: 700; color: #137a3a; background: #e8f7ee; padding: 5px 10px; border-radius: 999px; }
.pdp-note { margin: 6px 0 0; font-weight: 600; color: var(--ink); background: var(--grey); padding: 10px 14px; border-radius: 8px; font-size: .9rem; }
.pdp-desc { font-size: 1.02rem; margin: 16px 0 22px; max-width: 56ch; }
.pdp-buy { max-width: 420px; }
.pdp-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.pdp-points { list-style: none; padding: 0; margin: 26px 0 0; border: 1px solid var(--line); border-radius: 12px; }
.pdp-points li { display: flex; gap: 14px; padding: 14px 16px; align-items: flex-start; }
.pdp-points li + li { border-top: 1px solid var(--line); }
.pdp-points svg { width: 24px; height: 24px; color: var(--red); margin-top: 2px; }
.pdp-points b { display: block; color: var(--ink); }
.pdp-points span { font-size: .88rem; color: var(--muted); }
.pdp-points a { color: var(--ink); font-weight: 700; }
.pdp-missing { text-align: center; padding: 80px 20px; }
.pdp-missing h1 { font-size: 2rem; margin-bottom: 10px; }
.pdp-missing .pdp-actions { justify-content: center; }
.related { padding-top: 64px; }
.buybar { display: none; }

/* ======================================================================
   Responsive
   ====================================================================== */
@media (max-width: 1100px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .grid-shop { grid-template-columns: repeat(2, 1fr); }
  .promos { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .promo-main { grid-column: span 2; grid-row: auto; }
  .store { grid-template-columns: 1fr; }
  .store iframe { min-height: 200px; }
  .pdp { gap: 32px; }
}

@media (max-width: 860px) {
  :root { --bottom-nav: 64px; }
  html { scroll-padding-top: 130px; }
  .hide-md { display: none !important; }
  .hide-sm { display: none !important; }

  /* header */
  /* menu | centred logo | cart, search underneath */
  .header-row { display: grid; grid-template-columns: 48px minmax(0, 1fr) 48px; align-items: center; height: auto; padding: 8px 0 10px; gap: 8px 6px; }
  .menu-toggle { display: grid; grid-column: 1; grid-row: 1; margin-left: -6px; }
  .logo { grid-column: 2; grid-row: 1; justify-self: center; margin: 0; }
  .cart-btn, .list-btn { grid-column: 3; grid-row: 1; justify-self: end; }
  .header-row .site-search { grid-column: 1 / -1; grid-row: 2; width: 100%; max-width: none; margin: 0; }
  .logo img { height: 38px; }
  .site-search { order: 3; flex-basis: 100%; max-width: none; }
  .site-search input { height: 44px; }
  .list-btn-text, .cart-btn-text { display: none; }
  .list-btn, .cart-btn { padding: 8px; }
  .cats-bar { display: none; }
  .wa-float { display: none; }

  /* bottom nav */
  .bottom-nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; display: grid; grid-template-columns: repeat(5, 1fr); height: calc(var(--bottom-nav) + var(--safe-b)); padding-bottom: var(--safe-b); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -4px 16px rgba(0, 0, 0, .06); }
  .bottom-nav a, .bottom-nav button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; border: 0; background: none; font-size: .72rem; font-weight: 600; color: var(--muted); text-decoration: none; }
  .bottom-nav svg { width: 24px; height: 24px; }
  .bottom-nav .active { color: var(--red); }
  .bottom-nav .bn-wa svg { color: var(--wa); }
  .bn-ic { position: relative; }
  .bn-ic .badge { top: -6px; left: 14px; }

  /* home */
  .promo-main { grid-template-columns: 1fr; padding: 26px 22px; min-height: 0; }
  .promo-art { min-height: 230px; margin-top: 16px; }
  .values { grid-template-columns: 1fr 1fr; }
  .value { padding: 14px; }
  .value:nth-child(3) { border-left: 0; }
  .value:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .depts { grid-template-columns: repeat(6, 92px); overflow-x: auto; gap: 12px; padding-bottom: 6px; scrollbar-width: none; scroll-snap-type: x proximity; }
  .depts::-webkit-scrollbar { display: none; }
  .dept { scroll-snap-align: start; font-size: .8rem; }
  .stores { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .signup-row { flex-direction: column; align-items: flex-start; }
  .banner-strip { flex-direction: column; align-items: flex-start; padding: 22px; }
  .section { padding-top: 40px; }
  .section-grey { padding: 40px 0; margin-top: 40px; }
  .sec-head h2 { font-size: 1.5rem; }

  /* shop page */
  .cat-tile { flex-basis: 128px; min-width: 128px; padding: 12px 8px; }
  .cat-pic { width: 64px; height: 64px; }
  .slider-btn { display: none; }
  .shop { grid-template-columns: minmax(0, 1fr); }
  .filters { position: fixed; z-index: 150; left: 0; right: 0; bottom: 0; top: auto; max-height: 86vh; background: #fff; border-radius: 18px 18px 0 0; padding: 0; transform: translateY(105%); transition: transform .3s cubic-bezier(.2, .8, .2, 1); box-shadow: 0 -10px 40px rgba(0, 0, 0, .25); }
  .filters.open { transform: none; }
  .filters-head { padding: 14px 12px 12px 20px; }
  .filters-head::before { content: ''; position: absolute; top: 6px; left: 50%; width: 40px; height: 4px; margin-left: -20px; border-radius: 4px; background: #d5d7dc; }
  .filters-close { display: grid; }
  .filters-body { padding: 0 20px; overscroll-behavior: contain; }
  .filters-help { display: none; }
  .filters-foot { display: grid; grid-template-columns: 1fr 1.6fr; gap: 10px; padding: 12px 20px calc(12px + var(--safe-b)); border-top: 1px solid var(--line); }
  .filters-open { display: inline-flex; }
  .toolbar { position: sticky; top: 112px; z-index: 20; background: #fff; padding-top: 10px; margin-top: -10px; flex-wrap: wrap; gap: 8px 10px; }
  .toolbar .filters-open { flex: 1 1 0; justify-content: center; }
  .toolbar .woocommerce-ordering, .toolbar .sort { flex: 1 1 0; min-width: 0; }
  .toolbar .woocommerce-ordering select, .toolbar .sort select { width: 100%; max-width: none; height: 44px; min-height: 44px; }
  .toolbar .filters-open { height: 44px; }
  .toolbar .woocommerce-ordering { float: none; margin: 0; }
  .result-count { order: 3; flex: 1 1 100%; font-size: .82rem; text-align: left; white-space: normal; }
  .result-count .woocommerce-result-count { margin: 0; }
  .sort span { display: none; }
  .sort select { max-width: 150px; }

  /* product page */
  .pdp { grid-template-columns: minmax(0, 1fr); gap: 20px; padding-top: 12px; }
  .pdp-gallery { position: static; }
  .pdp-image img { padding: 16px; }
  .pdp-price { font-size: 2.4rem; }
  .pdp-buy { max-width: none; }
  .pdp-actions .btn { flex: 1; }
  .related { padding-top: 44px; }
  .buybar { position: fixed; left: 0; right: 0; z-index: 65; bottom: calc(var(--bottom-nav) + var(--safe-b)); display: grid; grid-template-columns: minmax(0, 1fr) 170px; align-items: center; gap: 12px; padding: 10px 14px; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 18px rgba(0, 0, 0, .08); transform: translateY(120%); transition: transform .25s; }
  .buybar.show { transform: none; }
  .buybar-amount { font-family: var(--display); font-weight: 900; font-size: 1.5rem; color: var(--red); line-height: 1; }
  .buybar-name { display: block; font-size: .78rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .buybar .btn { min-height: 44px; }
  .buybar .stepper { height: 44px; }
}

@media (max-width: 560px) {
  .wrap { width: min(1280px, 100% - 24px); }
  .utility-row { justify-content: center; min-height: 32px; font-size: .78rem; }
  .utility-row > p:first-child { display: none; }
  .promos { grid-template-columns: 1fr; gap: 12px; margin-top: 12px; }
  .promo-main { grid-column: auto; }
  .promo-main h1 { font-size: 1.75rem; }
  .promo-main p { font-size: .95rem; margin: 10px 0 18px; }
  .promo-art { min-height: 200px; }
  .promo-side { grid-template-columns: 1fr 36%; padding: 18px; }
  .promo-side h2 { font-size: 1.35rem; }
  .price-flag { font-size: 2rem; padding: 10px 14px 12px; }
  .values { font-size: .9rem; }
  .value { gap: 10px; padding: 12px; }
  .value > svg { width: 24px; height: 24px; }
  .value b { font-size: .86rem; }
  .value span { font-size: .76rem; }
  .grid, .grid-shop { grid-template-columns: 1fr 1fr; gap: 10px; }
  .card-pic img { padding: 8px; }
  .card-body { padding: 2px 10px 10px; }
  .card-actions { padding: 0 10px 10px; }
  .card-name { font-size: .86rem; }
  .card-price { font-size: 1.4rem; }
  .card-actions .btn { font-size: .84rem; gap: 6px; padding: 8px 6px; }
  .card-actions .btn svg { width: 16px; height: 16px; }
  .card-actions .stepper button { width: 36px; }
  .card-actions .stepper span { font-size: .78rem; }
  .view-more .btn { width: 100%; }
  .leaflets { grid-auto-columns: 62%; }
  .store-body { padding: 18px; }
  .signup h2 { font-size: 1.5rem; }
  .signup .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; padding: 40px 0 28px; }
  .footer-bar-row { flex-direction: column; text-align: center; }
  .toolbar { top: 108px; gap: 8px; }
  .crumbs { padding-top: 12px; font-size: .8rem; }
  .pdp-price { font-size: 2.2rem; }
  .pdp-desc { font-size: .96rem; }
}

@media (hover: none) {
  .card:hover, .promo:hover, .cat-tile:hover, .leaflet:hover { transform: none; box-shadow: none; }
  .card:hover .card-pic img, .pdp-image:hover img { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ======================================================================
   Theme additions
   ====================================================================== */
.ic { width: 1.15em; height: 1.15em; }

/* header account link */
.head-link { display: inline-flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; font-weight: 700; padding: 6px 10px; border-radius: 8px; line-height: 1.1; }
.head-link:hover { background: rgba(255, 255, 255, .12); }
.head-link svg { width: 26px; height: 26px; }
.head-link small { display: block; font-weight: 500; font-size: .74rem; opacity: .85; }
.logo img, .logo-img { height: 52px; width: auto; }
.menu-logo { height: 40px; width: auto; }
.footer-logo-img { width: 200px; height: auto; }
.footer-logo { display: inline-block; margin-bottom: 14px; }
.footer .menu { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; }
.footer li.gap { margin-top: 8px; }

/* mobile menu flat links (from WordPress menu) */
.menu-links > a svg { color: var(--red); }
.menu-cats .menu-ic { width: 28px; height: 28px; color: var(--red); }
.dept .dept-ic { width: 42%; height: 42%; color: var(--red); }

/* filter links (work without JavaScript) */
.f-legend { font-weight: 800; color: var(--ink); font-size: .92rem; margin: 0 0 8px; }
a.f-check { color: var(--text); text-decoration: none; }
.f-box { width: 18px; height: 18px; flex: none; border: 2px solid #b9bcc4; border-radius: 4px; display: grid; place-items: center; background: #fff; transition: background .15s, border-color .15s; }
.f-radio .f-box { border-radius: 50%; }
.f-check.on .f-box { background: var(--red); border-color: var(--red); }
.f-check.on .f-box::after { content: ''; width: 9px; height: 5px; border: 2px solid #fff; border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }
.f-radio.on .f-box::after { width: 6px; height: 6px; border: 0; border-radius: 50%; background: #fff; transform: none; }
.f-check.on { color: var(--ink); font-weight: 700; }
.f-check > span:nth-of-type(2) { flex: 1; }
form.f-search { display: flex; align-items: center; gap: 8px; padding: 0 12px; border: 1px solid #cfd2d8; border-radius: 8px; margin-top: 16px; }
.filters-body > form.f-search { border-bottom: 1px solid #cfd2d8; }
a.pill { text-decoration: none; }
a.pill-clear { color: var(--muted); }
.f-count { margin-left: 4px; }

/* pages */
.page-main { padding-bottom: 20px; min-height: 40vh; }
.page-head { padding: 0 0 22px; }
.page-title { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 900; margin-top: 10px; }
.entry { max-width: 820px; font-size: 1.02rem; line-height: 1.7; }
.page-wc .entry { max-width: none; }
.entry-narrow { margin-top: 28px; }
.entry h2 { font-size: 1.6rem; font-weight: 900; margin: 1.6em 0 .5em; }
.entry h3 { font-size: 1.25rem; font-weight: 800; margin: 1.4em 0 .4em; }
.entry a { color: var(--red); font-weight: 600; }
.entry img { border-radius: 10px; }
.entry ul, .entry ol { padding-left: 1.3em; }
.entry li { margin: .3em 0; }
.entry .has-large-font-size { font-size: 1.35rem; line-height: 1.4; color: var(--ink); }
.entry .review-note { background: var(--yellow-soft); border: 1px dashed #d6b800; padding: 10px 14px; border-radius: 8px; font-size: .92rem; }
.stores-page { margin-top: 6px; }
.contact-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 20px; }
.contact-tile { display: flex; align-items: center; gap: 14px; padding: 18px; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: var(--ink); }
.contact-tile svg { width: 40px; height: 40px; padding: 9px; border-radius: 50%; background: var(--red-tint); color: var(--red); }
.contact-tile b { display: block; }
.contact-tile span { font-size: .92rem; color: var(--muted); word-break: break-word; }
.leaflets-grid { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); overflow: visible; margin-top: 24px; }
.post-list { display: grid; gap: 22px; }
.post-item { display: grid; grid-template-columns: 220px 1fr; gap: 20px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.post-item h2 { font-size: 1.4rem; }
.post-item h2 a { text-decoration: none; }
.post-thumb img { border-radius: 10px; }
.notfound { text-align: center; padding-top: 60px; padding-bottom: 60px; }
.nf-code { font-family: var(--display); font-weight: 900; font-size: 5rem; color: var(--red); margin: 0; line-height: 1; }
.site-search-inline { max-width: 520px; margin: 24px auto; border: 1px solid #cfd2d8; }
.nf-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 12px; }
.navigation.pagination { margin-top: 24px; }

@media (max-width: 860px) {
  .contact-strip { grid-template-columns: 1fr; }
  .leaflets-grid { grid-template-columns: repeat(2, 1fr); }
  .post-item { grid-template-columns: 1fr; }
  .logo img, .logo-img { height: 38px; }
}

/* logged-in admins: keep the header, menu and drawers below the WordPress admin bar */
.admin-bar .header { top: 32px; }
.admin-bar .menu-panel, .admin-bar .drawer { top: 32px; }
@media (max-width: 782px) {
  .admin-bar .header { top: 46px; }
  .admin-bar .menu-panel, .admin-bar .drawer { top: 46px; }
}

/* map facade (loads Google Maps only on tap) */
.map-facade { width: 100%; height: 100%; min-height: 260px; border: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; font-weight: 700; color: var(--ink); cursor: pointer;
  background: linear-gradient(135deg, rgba(255,255,255,.55), rgba(255,255,255,.2)), repeating-linear-gradient(0deg, #e8ecef 0 1px, transparent 1px 34px), repeating-linear-gradient(90deg, #e8ecef 0 1px, transparent 1px 34px), #f3f5f6; }
.map-facade svg { width: 40px; height: 40px; color: var(--red); }
.map-facade span { background: #fff; padding: 8px 14px; border-radius: 999px; box-shadow: var(--shadow); }
.map-facade:hover span { background: var(--yellow); }
.store iframe { min-height: 260px; }
@media (max-width: 1100px) { .map-facade, .store iframe { min-height: 200px; } }

/* link + checkbox fixes */
a.f-check > .f-box { flex: 0 0 18px; }
.cat-tile, .dept, .menu-cats a, .cart-btn, .head-link, .shop-btn, .promo, .leaflet, .card-link, .menu-shop, .menu-links a, .contact-tile, .footer a, .crumbs a { text-decoration: none; }

/* department slider: swipe hint on phones */
.slide-hint { display: none; }
@media (max-width: 860px) {
  .swipe-wrap { position: relative; }
  .swipe-wrap::after { content: ''; position: absolute; top: 0; right: -1px; bottom: 6px; width: 56px; pointer-events: none; background: linear-gradient(90deg, rgba(255,255,255,0), #fff 85%); transition: opacity .3s; }
  .cat-slider { margin-bottom: 40px; }
  .swipe-depts { margin-bottom: 30px; }
  .swipe-depts .slide-hint { bottom: -26px; }
  .slide-hint { display: inline-flex; align-items: center; gap: 6px; position: absolute; z-index: 3; right: 4px; bottom: -22px; padding: 7px 10px 7px 12px; border-radius: 999px; background: var(--ink); color: #fff; font-size: .78rem; font-weight: 700; pointer-events: none; box-shadow: var(--shadow-lg); transition: opacity .3s; }
  .slide-hint svg { width: 16px; height: 16px; animation: hint-swipe 1.1s ease-in-out infinite; }
  .swipe-wrap.swiped::after, .swipe-wrap.swiped .slide-hint, .swipe-wrap.no-overflow::after, .swipe-wrap.no-overflow .slide-hint { opacity: 0; }
  [data-track].nudge { animation: track-nudge 1.4s ease-in-out 2; }
}
@keyframes hint-swipe { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(5px); } }
@keyframes track-nudge { 0%, 100% { transform: translateX(0); } 45% { transform: translateX(-46px); } }
@media (prefers-reduced-motion: reduce) { .slide-hint svg, [data-track].nudge { animation: none; } }
