/* ==========================================================================
   Power Appliances storefront.
   Layout and components follow markselectrical.co.uk (the benchmark site),
   in Power Appliances red. Mobile first; Marks' breakpoints 576 / 768 / 992 / 1200px (plus 600 / 900 for content pages).
   ========================================================================== */

:root {
    --brand: #d7141a;          /* Marks uses #0099ff; everything keys off this */
    --brand-700: #b30f14;
    --brand-hover: #e8353b;
    --brand-light: #ff6b70;    /* brand on dark backgrounds */
    --brand-50: #fdeeee;
    --ink: #16181d;            /* headings (Marks navy #102a4b) */
    --ink-2: #353941;
    --text: #454545;           /* body copy (Marks) */
    --muted: #6b7079;
    --line: #e3e5e8;
    --line-2: #c9ccd1;
    --soft: #f4f5f7;
    --white: #fff;
    --ok: #0a7a3a;
    --ok-50: #e8f5ed;
    --warn: #a85400;
    --save: #e40000;
    --star: #f5b301;
    --gold: #f6e7a6;

    --radius: 5px;
    --radius-lg: 10px;
    --radius-xl: 15px;
    --radius-card: 22px;
    --shadow: 0 1px 2px rgba(22, 24, 29, .06), 0 6px 20px rgba(22, 24, 29, .08);
    --shadow-lg: 0 16px 40px rgba(22, 24, 29, .18);
    --ease: cubic-bezier(.25, .8, .25, 1);

    --font: "Figtree", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
    --gutter: 12px;           /* Marks: 0.75rem either side at every width */
    --header-h: 0px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 24px; }
body {
    margin: 0;
    font-family: var(--font);
    font-size: 15px;
    line-height: 1.5;
    color: var(--text);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
a:hover { color: var(--brand); }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.2; font-weight: 700; color: var(--ink); }
h1 { font-size: 1.5rem; }
h2 { font-size: 1.375rem; }
h3 { font-size: 1.0625rem; }
p { margin: 0 0 .75em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
table { border-collapse: collapse; width: 100%; }
address { font-style: normal; }
blockquote { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
main:focus { outline: none; }
details > summary { cursor: pointer; }
details > summary::-webkit-details-marker { display: none; }

.container { width: 100%; max-width: 1600px; margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 820px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.req { color: var(--brand); }
.skip-link { position: absolute; left: 8px; top: -60px; z-index: 1000; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: var(--radius); }
.skip-link:focus { top: 8px; color: #fff; }

.icon { width: 1.25em; height: 1.25em; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
.gstars { color: #fbbc04; letter-spacing: 1px; line-height: 1; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5em;
    min-height: 44px; padding: 0 20px;
    border: 1px solid transparent; border-radius: var(--radius);
    font-weight: 600; font-size: 1rem; line-height: 1.1; text-decoration: none; text-align: center;
    transition: background-color .15s, border-color .15s, color .15s, transform .15s;
}
.btn .icon { width: 1.1em; height: 1.1em; }
.btn--pill { border-radius: 999px; }
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-hover); color: #fff; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; color: #fff; }
.btn--ghost { background: #fff; border-color: var(--line-2); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn--outline { background: #fff; border-color: var(--brand); color: var(--brand); }
.btn--outline:hover { background: var(--brand); color: #fff; }
.btn--light { background: #fff; color: var(--brand); }
.btn--light:hover { background: var(--ink); color: #fff; }
.btn--sm { min-height: 38px; padding: 0 16px; font-size: .9375rem; }
.btn--lg { min-height: 52px; font-size: 1.0625rem; }
.btn--block { width: 100%; }
.btn--disabled { background: var(--soft); color: var(--muted); cursor: not-allowed; }
.btn.is-loading { opacity: .7; pointer-events: none; }
.link-btn { background: none; border: 0; padding: 4px 0; color: var(--muted); font-size: .9375rem; display: inline-flex; align-items: center; gap: 4px; text-decoration: underline; text-underline-offset: 2px; }
.link-btn:hover { color: var(--brand); }
.link-more { display: inline-flex; align-items: center; gap: 2px; font-weight: 700; color: var(--brand); text-decoration: none; font-size: .9375rem; white-space: nowrap; }
.link-more:hover { text-decoration: underline; }
.link-more .icon { width: 1em; height: 1em; }

.round-btn {
    display: inline-grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%;
    background: var(--ink); color: #fff; transition: background-color .2s, transform .2s;
}
.round-btn .icon { width: 18px; height: 18px; stroke-width: 2.25; }
.round-btn:hover { background: var(--brand); }
.round-btn:active { transform: scale(.94); }
.round-btn:disabled { background: #cfd4db; cursor: default; }

.icon-btn {
    position: relative; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
    min-width: 44px; min-height: 44px; padding: 4px; background: none; border: 0; border-radius: var(--radius);
    text-decoration: none; color: var(--ink); font-size: .8125rem; font-weight: 500;
}
.icon-btn .icon { width: 25px; height: 25px; }
.icon-btn__label { display: none; }
.icon-btn:hover { color: var(--brand); }
.icon-btn--call { color: var(--brand); }
.count {
    position: absolute; top: -2px; right: 0; min-width: 18px; height: 18px; padding: 0 5px;
    border-radius: 9px; background: var(--brand); color: #fff; font-size: .6875rem; font-weight: 700; line-height: 18px; text-align: center;
}
.count.bump { animation: bump .35s ease; }
@keyframes bump { 50% { transform: scale(1.35); } }
@keyframes fade { from { opacity: 0; } }

/* ==========================================================================
   Header, phones first, as markselectrical.co.uk:
   one row (menu + search toggles | logo | call, wishlist, track, basket);
   search and menu drop down underneath and push the page down.
   Desktop header from 768px: see "Marks Electrical breakpoints" at the end.
   ========================================================================== */
.header { position: relative; z-index: 50; background: #fff; }
.header__inner {
    display: grid; align-items: center; column-gap: 6px; padding-top: 8px; padding-bottom: 8px;
    grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "left logo actions" "search search search";
}
.header__left { grid-area: left; display: flex; align-items: center; gap: 2px; }
.nav-toggler {
    display: inline-grid; place-items: center; width: 52px; height: 40px; padding: 0; border: 1px solid var(--brand); border-radius: 6px; background: #fff;
    transition: box-shadow .15s;
}
.nav-toggler[aria-expanded="true"], .nav-toggler:focus-visible { outline: none; box-shadow: 0 0 0 4px rgba(215, 20, 26, .2); }
.nav-toggler__icon {
    width: 24px; height: 18px;
    background: linear-gradient(var(--brand), var(--brand)) 0 0 / 100% 2px no-repeat,
                linear-gradient(var(--brand), var(--brand)) 0 50% / 100% 2px no-repeat,
                linear-gradient(var(--brand), var(--brand)) 0 100% / 100% 2px no-repeat;
}
.header__search-toggle { min-width: 40px; color: var(--ink); }
.header__search-toggle[aria-expanded="true"] { color: var(--brand); }
.logo { grid-area: logo; display: flex; align-items: center; justify-content: center; min-width: 0; text-decoration: none; }
.logo__img { width: auto; height: auto; max-width: 100%; max-height: 60px; }
.header__actions { grid-area: actions; display: flex; align-items: center; }
.icon-btn--desk { display: none; }
.header__actions .icon-btn { min-width: 32px; min-height: 40px; padding: 2px; }
.header__actions .icon-btn .icon, .header__search-toggle .icon { width: 22px; height: 22px; }
.header__actions .count { top: 2px; right: -4px; }

.search { grid-area: search; position: relative; display: flex; flex-direction: column; gap: 8px; padding: 10px 0 4px; }
.js .search:not(.is-open) { display: none; }
.search__field { position: relative; display: flex; }
.search input {
    flex: 1; min-width: 0; height: 46px; padding: 0 20px;
    border: 1px solid var(--line-2); border-radius: 999px; background: #fff; font-size: .9375rem; font-weight: 500; color: #333;
    -webkit-appearance: none; appearance: none; transition: border-color .15s, box-shadow .15s;
}
.search input::placeholder { color: #8a8f98; }
.search input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(215, 20, 26, .12); }
.search input::-webkit-search-cancel-button { display: none; }
.search__btn {
    display: none; position: absolute; right: 0; top: 0; width: 58px; height: 100%; place-items: center;
    background: var(--brand); border: 0; border-radius: 0 999px 999px 0; color: #fff; transition: opacity .15s;
}
.search__btn .icon { width: 22px; height: 22px; stroke-width: 2.25; }
.search__btn:hover { opacity: .85; color: #fff; }
.search__submit { min-height: 44px; }
.search__results {
    position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 70;
    background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
    max-height: 70vh; overflow: auto; padding: 6px 0;
}
.search__group { padding: 8px 16px 4px; margin: 0; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); background: var(--soft); }
.search__item { display: flex; align-items: center; gap: 12px; padding: 8px 16px; text-decoration: none; border-bottom: 1px solid var(--line); }
.search__item:hover, .search__item.is-active { background: var(--soft); color: var(--ink); }
.search__item img { width: 44px; height: 44px; object-fit: contain; border-radius: var(--radius); background: #fff; }
.search__item-name { font-size: .9375rem; line-height: 1.3; color: var(--ink); }
.search__item-price { font-weight: 800; font-size: .9375rem; color: var(--ink); }
.search__all { display: block; padding: 10px 16px; font-weight: 700; color: var(--brand); text-decoration: none; }
.search__empty { padding: 12px 16px; color: var(--muted); margin: 0; }

/* Menu on phones: slides down under the header (Bootstrap collapse on Marks) */
.nav { background: #fff; }
.js .nav:not(.is-open) { display: none; }
.nav.is-open { animation: fade .2s ease; }
.nav__list { padding-bottom: 10px; }
.nav__item { border-top: 1px solid #454545; }
.nav__link {
    display: flex; align-items: center; justify-content: flex-start; gap: 8px; width: 100%; min-height: 52px; padding: 4px;
    background: none; border: 0; border-radius: var(--radius); text-align: left; text-decoration: none; font-weight: 500; font-size: .8125rem; color: var(--text);
}
.nav__icon { display: grid; place-items: center; flex-shrink: 0; width: 40px; height: 40px; }
.nav__icon img { width: 40px; height: 40px; }
.nav__icon .icon { width: 24px; height: 24px; color: var(--brand); }
.nav__chev { width: 14px; height: 14px; transition: transform .2s; }
.nav__link[aria-expanded="true"] .nav__chev { transform: rotate(180deg); }
.nav__link--deals { color: var(--brand); }
.mega { display: none; margin: 0 0 12px; padding: 4px 16px 16px; background: #fff; border: 1px solid rgba(0, 0, 0, .175); border-radius: 6px; }
.nav__link[aria-expanded="true"] + .mega { display: block; animation: fade .2s ease; }
.mega__item { display: block; padding: 12px 0; }
.mega__img { display: none; }
.mega__heading { display: block; font-size: 1rem; font-weight: 700; color: var(--brand); text-decoration: none; }
.mega__leaves { margin-top: 8px; }
.mega__leaves a { display: block; padding: 4px 0; color: var(--text); text-decoration: none; font-size: .8125rem; }
.mega__foot { display: flex; justify-content: center; padding-top: 8px; }
.mega__shop-all { display: none; }
.mega__guides { max-width: 550px; min-height: 44px; padding: 10px 20px; font-size: .9375rem; line-height: 1.25; white-space: normal; }

/* Selling points strip: Google rating only on phones; more items as the screen widens (Marks) */
.usp-strip { background: var(--ink); color: #fff; }
.usp-strip__list { display: flex; align-items: center; justify-content: center; min-height: 40px; padding-top: 6px; padding-bottom: 6px; }
.usp-strip__list li { display: none; align-items: center; padding: 0 20px; }
.usp-strip__list li + li { border-left: 1px solid rgba(255, 255, 255, .22); }
.usp-strip__list li.usp-strip__rating { display: flex; border-left: 0; }
.usp-strip a { display: inline-flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; font-size: .875rem; font-weight: 500; white-space: nowrap; }
.usp-strip a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.usp-strip .icon { width: 18px; height: 18px; color: var(--brand-light); }
.usp-strip__rating a { font-size: .9375rem; }
.usp-strip__rating .gstars { font-size: 1rem; }
.usp-strip strong { font-weight: 700; }


/* ---------- Notices, toast, added-to-basket ---------- */
.notice { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; margin: 16px 0; border-radius: var(--radius); border-left: 4px solid; font-size: .9375rem; }
.notice .icon { margin-top: 1px; }
.notice ul { list-style: disc; padding-left: 18px; margin-top: 4px; }
.notice--ok { background: var(--ok-50); border-color: var(--ok); }
.notice--ok .icon { color: var(--ok); }
.notice--error { background: var(--brand-50); border-color: var(--brand); }
.notice--error .icon { color: var(--brand); }
.notice--info { background: var(--soft); border-color: var(--ink-2); }

.toast {
    position: fixed; left: 50%; bottom: 20px; z-index: 120; transform: translateX(-50%);
    max-width: calc(100% - 32px); padding: 12px 20px; border-radius: 999px;
    background: var(--ink); color: #fff; font-weight: 600; box-shadow: var(--shadow-lg);
}

.added { position: fixed; inset: 0; z-index: 110; display: flex; align-items: flex-end; }
.added__backdrop { position: absolute; inset: 0; background: rgba(22, 24, 29, .5); }
.added__panel { position: relative; width: 100%; background: #fff; border-radius: var(--radius-xl) var(--radius-xl) 0 0; padding: 18px 18px 22px; animation: slide-up .25s var(--ease); }
@keyframes slide-up { from { transform: translateY(30px); opacity: 0; } }
.added__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.added__head h2 { margin: 0; font-size: 1.125rem; display: flex; align-items: center; gap: 8px; }
.added__head h2 .icon { color: var(--ok); }
.added__item { display: flex; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.added__item img { width: 72px; height: 72px; object-fit: contain; border-radius: var(--radius); border: 1px solid var(--line); padding: 4px; }
.added__name { margin: 0; line-height: 1.3; color: var(--ink); }
.added__price { margin: 4px 0 0; font-weight: 800; color: var(--ink); }
.added__delivery { margin: 12px 0; font-size: .9375rem; color: var(--ok); font-weight: 600; }
.added__actions { display: grid; gap: 8px; }

/* ---------- Shared bits ---------- */
.eyebrow { font-size: .8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 .5em; color: var(--brand); }
.block { margin: 36px 0; }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.section-head h2 { margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips--scroll { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); padding: 2px var(--gutter); }
.chips--scroll::-webkit-scrollbar { display: none; }
.chip {
    display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 0 18px; white-space: nowrap;
    border: 1px solid var(--brand); border-radius: 999px; background: #fff; color: var(--brand); text-decoration: none; font-size: .9375rem; font-weight: 600;
    transition: background-color .15s, color .15s;
}
.chip:hover { background: var(--brand); color: #fff; }
.chip.is-active { background: var(--brand); border-color: var(--brand); color: #fff; }
.chip--remove { background: #fff; border-color: var(--line-2); color: var(--ink); border-radius: var(--radius); min-height: 32px; padding: 0 12px; font-size: .8125rem; }
.chip--remove:hover { background: #fff; border-color: var(--ink); color: var(--ink); }
.chip--remove .icon { width: 14px; height: 14px; }
.tag { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 4px; background: var(--soft); font-size: .8125rem; font-weight: 600; }
.tag .icon { width: 14px; height: 14px; }
.tag--ok { background: var(--ok-50); color: var(--ok); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }

.ticks li { display: flex; gap: 8px; align-items: flex-start; padding: 3px 0; font-size: .9375rem; }
.ticks .icon { color: var(--brand); width: 18px; height: 18px; margin-top: 2px; stroke-width: 2.25; }

.stars {
    position: relative; display: inline-block; width: 80px; height: 16px; vertical-align: -2px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23d3d6db' d='m8 .9 2.2 4.6 5 .7-3.6 3.5.9 5-4.5-2.4-4.5 2.4.9-5L.8 6.2l5-.7z'/%3E%3C/svg%3E") 0 0 / 16px 16px repeat-x;
}
.stars__fill {
    position: absolute; inset: 0 auto 0 0; overflow: hidden;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23f5b301' d='m8 .9 2.2 4.6 5 .7-3.6 3.5.9 5-4.5-2.4-4.5 2.4.9-5L.8 6.2l5-.7z'/%3E%3C/svg%3E") 0 0 / 16px 16px repeat-x;
}
.rating { display: inline-flex; align-items: center; gap: 6px; font-size: .875rem; font-weight: 600; }
.rating a { text-decoration: none; }
.rating a:hover { text-decoration: underline; }

.energy {
    display: inline-flex; align-items: center; height: 20px; padding: 0 12px 0 6px; margin: 4px 0;
    font-size: .75rem; font-weight: 800; color: #fff; clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 50%, calc(100% - 8px) 100%, 0 100%);
    background: #888;
}
.energy--a { background: #00a651; } .energy--b { background: #50b848; } .energy--c { background: #a6c93a; }
.energy--d { background: #e6d000; color: var(--ink); } .energy--e { background: #f7b21b; color: var(--ink); }
.energy--f { background: #ef6e22; } .energy--g { background: #e2231a; }

.badge { position: static; padding: 5px 10px; border-radius: 4px; font-size: .8125rem; font-weight: 700; line-height: 1.3; }
.badge--save { background: var(--brand); color: #fff; }
.badge--info { background: var(--ink); color: #fff; }
.badge--grade { background: var(--gold); color: var(--ink); }
.badge--free { background: var(--ok); color: #fff; } /* Free National Delivery / Free Installation (Admin > Products) */
.badges { position: absolute; top: 12px; left: 12px; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.badges--lg { top: 14px; left: 14px; }
.badges--lg .badge { font-size: .9375rem; padding: 7px 12px; }

/* ---------- Offers banner (homepage, above the hero; partials/promo_band): a card per sale on now
   (Admin > Sales), alternately white and black, with a red curve down the right edge that breathes.
   Everything slides in on load, the % tag swings, a shine crosses the card now and then, and the
   deal tiles slide along by themselves (app.js [data-deals]). Side by side from 992px. ---------- */
@property --pc-shift { syntax: "<length>"; inherits: false; initial-value: -30px; } /* the curve: how far left the card's ellipse sits */
.promo-band { padding-top: 16px; }
.promo-band__list { display: grid; gap: 16px; }
.promo-band__list > li { display: grid; min-width: 0; }
.promo-card {
    --pc-bg: #f6f6f7; --pc-ink: var(--ink); --pc-text: var(--ink-2); --pc-muted: var(--muted);
    --pc-glow: linear-gradient(transparent, transparent);
    position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px;
    padding: 22px 22px 24px; border-radius: 16px; color: var(--pc-text);
    background:
        var(--pc-glow),
        radial-gradient(ellipse 100% 200% at var(--pc-shift) 50%, var(--pc-bg) 99.4%, transparent 100%),
        radial-gradient(ellipse 100% 205% at calc(var(--pc-shift) + 16px) 50%, var(--brand-light) 99.4%, transparent 100%),
        linear-gradient(160deg, var(--brand-hover), var(--brand) 55%, var(--brand-700));
    box-shadow: 0 1px 2px rgba(22, 24, 29, .06), 0 10px 30px rgba(22, 24, 29, .10);
    animation: promo-in .7s var(--ease) backwards, promo-edge 4s ease-in-out 1.2s infinite alternate;
    animation-delay: calc(var(--i, 0) * .15s), 1.2s;
}
.promo-card--dark {
    --pc-bg: #131417; --pc-ink: #fff; --pc-text: rgba(255, 255, 255, .92); --pc-muted: rgba(255, 255, 255, .7);
    --pc-glow: radial-gradient(45% 80% at 70% 50%, rgba(215, 20, 26, .2), transparent 70%);
}
.promo-card::after { /* the shine */
    content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
    background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, .55) 50%, transparent 62%);
    transform: translateX(-120%); animation: promo-shine 9s ease-in-out 2.5s infinite;
}
.promo-card--dark::after { background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, .12) 50%, transparent 62%); }

.promo-card__main { display: grid; justify-items: start; align-content: center; gap: 6px; }
.promo-card__main > * { margin: 0; animation: promo-rise .6s var(--ease) backwards; }
.promo-card__main > :nth-child(1) { animation-delay: calc(var(--i, 0) * .15s + .15s); }
.promo-card__main > :nth-child(2) { animation-delay: calc(var(--i, 0) * .15s + .25s); }
.promo-card__main > :nth-child(3) { animation: promo-pop .7s cubic-bezier(.34, 1.56, .64, 1) backwards; animation-delay: calc(var(--i, 0) * .15s + .4s); }
.promo-card__main > :nth-child(4) { animation-delay: calc(var(--i, 0) * .15s + .5s); }
.promo-card__main > :nth-child(5) { animation-delay: calc(var(--i, 0) * .15s + .6s); }
.promo-card__main > :nth-child(6) { animation-delay: calc(var(--i, 0) * .15s + .7s); }
.promo-card__live { display: inline-flex; align-items: center; gap: 8px; color: var(--pc-muted); font-size: .8125rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.promo-card__live::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--brand); animation: promo-pulse 1.8s infinite; }
.promo-title { margin: 0; color: var(--pc-ink, var(--ink)); font-size: 2.125rem; font-weight: 900; line-height: 1.05; letter-spacing: -.01em; text-transform: uppercase; }
.promo-title em { font-style: normal; color: var(--brand); }
.promo-title__icon { display: inline-grid; place-items: center; margin-left: .25em; vertical-align: .05em; }
.promo-title__icon--pct { /* a price tag with % */
    position: relative; width: 1.5em; height: 1.05em; padding-left: .3em; border-radius: .15em; background: var(--brand); color: #fff;
    font-size: .62em; clip-path: polygon(24% 0, 100% 0, 100% 100%, 24% 100%, 0 50%);
    transform: rotate(-16deg); animation: promo-swing 3.2s ease-in-out 1.5s infinite;
}
.promo-title__icon--pct::before { content: ""; position: absolute; left: 20%; top: 50%; width: .16em; height: .16em; margin-top: -.08em; border-radius: 50%; background: var(--pc-bg, #fff); }
.promo-title__icon--cart { color: var(--brand); animation: promo-cart 3.2s ease-in-out 1.5s infinite; }
.promo-title__icon--cart .icon { width: .95em; height: .95em; stroke-width: 2.4; }
.promo-card__offer { color: var(--pc-ink); font-size: 3.25rem; font-weight: 900; line-height: 1; letter-spacing: -.02em; text-transform: uppercase; transform-origin: left center; }
.promo-card__save { font-size: 1.1875rem; font-weight: 500; }
.promo-card__when { display: inline-flex; align-items: center; gap: 8px; color: var(--pc-muted); font-size: .9375rem; }
.promo-card__when .icon { width: 18px; height: 18px; }
.promo-card__cta {
    position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 10px; margin-top: 10px; padding: 13px 26px;
    border-radius: 999px; background: var(--brand); color: #fff; font-weight: 700; text-decoration: none;
    box-shadow: 0 6px 16px rgba(215, 20, 26, .3); transition: background .2s, transform .2s, box-shadow .2s;
}
.promo-card__cta::after { /* its own shine */
    content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .5) 50%, transparent 70%);
    transform: translateX(-130%); animation: promo-shine 4.5s ease-in-out 3s infinite;
}
.promo-card__cta .icon { width: 18px; height: 18px; transition: transform .2s; }
.promo-card__cta:hover { background: var(--brand-700); color: #fff; transform: translateY(-2px); box-shadow: 0 10px 22px rgba(215, 20, 26, .38); }
.promo-card__cta:hover .icon { transform: translateX(4px); }

.promo-card__deals { position: relative; display: grid; gap: 12px; align-content: center; min-width: 0; padding-right: 22px; }
.promo-card__track { display: flex; gap: 12px; padding: 6px 2px 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.promo-card__track::-webkit-scrollbar { display: none; }
.promo-card__deals[data-more] .promo-card__track { -webkit-mask-image: linear-gradient(90deg, #000 82%, transparent); mask-image: linear-gradient(90deg, #000 82%, transparent); } /* more to come */
.promo-tile {
    --td: calc(var(--i, 0) * .15s + .35s);
    position: relative; flex: 0 0 calc((100% - 24px) / 3); min-width: 118px; display: grid; gap: 8px; padding: 12px 12px 14px; border-radius: 14px; background: #fff;
    color: var(--ink); text-decoration: none; scroll-snap-align: start;
    box-shadow: 0 1px 2px rgba(22, 24, 29, .06), 0 6px 18px rgba(22, 24, 29, .10);
    transition: transform .25s var(--ease), box-shadow .25s; animation: promo-tile-in .6s var(--ease) backwards; animation-delay: var(--td);
}
.promo-tile:nth-child(2) { --td: calc(var(--i, 0) * .15s + .45s); }
.promo-tile:nth-child(3) { --td: calc(var(--i, 0) * .15s + .55s); }
.promo-tile:nth-child(n+4) { --td: calc(var(--i, 0) * .15s + .65s); }
.promo-tile:hover { color: var(--ink); transform: translateY(-5px); box-shadow: 0 14px 28px rgba(22, 24, 29, .18); }
.promo-tile img { width: 100%; aspect-ratio: 1; object-fit: contain; transition: transform .35s var(--ease); }
.promo-tile:hover img { transform: scale(1.06); }
.promo-tile__tag {
    position: absolute; top: 10px; left: 10px; z-index: 1; padding: 3px 10px; border-radius: 999px; background: var(--brand); color: #fff;
    font-size: .875rem; font-weight: 800; animation: promo-pop .5s cubic-bezier(.34, 1.56, .64, 1) backwards; animation-delay: calc(var(--td) + .3s);
}
.promo-tile__cat { /* up to two lines ("Freestanding Dishwashers"), the same height on every tile */
    display: -webkit-box; overflow: hidden; min-height: 2.5em; color: var(--ink-2); font-size: .8125rem; font-weight: 500; line-height: 1.25;
    -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2;
}
.promo-card__next {
    position: absolute; top: calc(50% - 34px); right: 0; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px;
    border: 0; border-radius: 50%; background: #fff; color: var(--ink); box-shadow: 0 4px 14px rgba(22, 24, 29, .2); transition: transform .2s, color .2s;
}
.promo-card__next:hover { color: var(--brand); transform: scale(1.08); }
.promo-card__next .icon { width: 20px; height: 20px; }
.promo-card__dots { display: flex; justify-content: center; gap: 8px; }
.promo-card__dots button { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 999px; background: #c9ccd1; transition: width .3s, background .3s; }
.promo-card__dots button[aria-current="true"] { width: 24px; background: var(--brand); }
.promo-card--dark .promo-card__dots button:not([aria-current="true"]) { background: rgba(255, 255, 255, .35); }

/* A sale's own page: its name as in the banner */
.promo-title--page { margin: 8px 0 6px; font-size: 2.25rem; }

@keyframes promo-in { from { opacity: 0; transform: translateY(18px); } }
@keyframes promo-rise { from { opacity: 0; transform: translateY(12px); } }
@keyframes promo-pop { 0% { opacity: 0; transform: scale(.6); } 60% { opacity: 1; transform: scale(1.08); } 100% { transform: scale(1); } }
@keyframes promo-tile-in { from { opacity: 0; transform: translateX(28px); } }
@keyframes promo-edge { to { --pc-shift: -46px; } }
@keyframes promo-shine { 0%, 75% { transform: translateX(-130%); } 100% { transform: translateX(130%); } }
@keyframes promo-pulse { 0% { box-shadow: 0 0 0 0 rgba(215, 20, 26, .6); } 70%, 100% { box-shadow: 0 0 0 9px rgba(215, 20, 26, 0); } }
@keyframes promo-swing { 0%, 64%, 100% { transform: rotate(-16deg); } 72% { transform: rotate(0deg); } 80% { transform: rotate(-26deg); } 88% { transform: rotate(-10deg); } }
@keyframes promo-cart { 0%, 64%, 100% { transform: none; } 74% { transform: translateX(6px) rotate(-8deg); } 84% { transform: translateX(-3px); } 92% { transform: translateX(1px); } }

/* Under 992px several sales swipe sideways (the next one peeks in), so the banner stays one card tall */
@media (max-width: 991.98px) {
    .promo-band__list {
        grid-auto-flow: column; grid-auto-columns: 88%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
        margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 12px; scroll-padding: 0 var(--gutter);
    }
    .promo-band__list::-webkit-scrollbar { display: none; }
    .promo-band__list:has(> li:only-child) { grid-auto-columns: 100%; }
    .promo-band__list > li { scroll-snap-align: start; }
}
@media (max-width: 575.98px) {
    .promo-card__deals { display: none; } /* phones: the offer only */
    .promo-card { padding: 18px 40px 20px 18px; }
    .promo-title { font-size: 1.75rem; }
    .promo-card__offer { font-size: 2.5rem; }
    .promo-card__save { font-size: 1.0625rem; }
}
@media (min-width: 768px) {
    .promo-card { grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 26px; padding: 28px 40px 28px 30px; }
}
@media (prefers-reduced-motion: reduce) {
    .promo-card, .promo-card *, .promo-card::after, .promo-card *::before, .promo-card *::after { animation: none !important; }
    .promo-card__track { scroll-behavior: auto; }
}
.grade-text { color: var(--ink); }

.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; margin: 6px 0 4px; }
.price__now { font-size: 1.25rem; font-weight: 800; color: var(--ink); letter-spacing: -.01em; }
.price__was { font-size: .8125rem; color: var(--muted); text-decoration: line-through; }
.price__save { font-size: .8125rem; font-weight: 700; color: var(--save); }
.price__meta { display: inline-flex; flex-wrap: wrap; gap: 2px 8px; align-items: baseline; }
.price--lg .price__now { font-size: 1.75rem; }
.price--xl .price__now { font-size: 2.25rem; }
.price--xl .price__was, .price--xl .price__save, .price--lg .price__was, .price--lg .price__save { font-size: 1rem; }

.stock { margin: 0; font-size: .875rem; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.stock::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex-shrink: 0; }
.stock--in { color: var(--ok); }
.stock--low { color: var(--warn); }
.stock--out { color: var(--muted); }
.stock--due { color: #1d5fa8; }
.stock--lg { font-size: 1rem; margin: 12px 0; }
.stock__extra { font-weight: 400; color: var(--muted); }

.check { display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: .9375rem; }
.check input { width: 18px; height: 18px; margin: 0; accent-color: var(--brand); flex-shrink: 0; }
.check em { margin-left: auto; font-style: normal; color: var(--muted); font-size: .8125rem; }

.bar { display: block; height: 8px; background: var(--line); border-radius: 4px; overflow: hidden; }
.bar > span { display: block; height: 100%; background: var(--brand); border-radius: 4px; }

.scrollbar { position: relative; width: 40%; max-width: 360px; height: 4px; margin: 14px auto 0; border-radius: 2px; background: #e3e5e8; }
.scrollbar > span { position: absolute; top: 0; left: 0; height: 100%; width: 30%; border-radius: 2px; background: var(--ink); transition: left .1s linear; }

/* ==========================================================================
   Home
   ========================================================================== */
.home-hero { padding: 16px 0 8px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }

.hero-slider { position: relative; border-radius: var(--radius-xl); overflow: hidden; background: var(--soft); }
.hero-slider__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.hero-slider__track::-webkit-scrollbar { display: none; }
.hero-slide { position: relative; flex: 0 0 100%; display: flex; flex-direction: column; scroll-snap-align: start; text-decoration: none; color: #fff; }
.hero-slide:hover { color: #fff; }
.hero-slide img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform 6s ease; }
.hero-slide.is-current img { transform: scale(1.05); }
.hero-slide__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 22px 20px 52px; background: var(--brand); flex: 1; }
.hero-slide__copy--ink { background: var(--ink); }
.hero-slide__kicker { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; opacity: .9; }
.hero-slide__title { font-size: 1.75rem; font-weight: 800; line-height: 1.1; letter-spacing: -.01em; }
.hero-slide__text { font-size: .9375rem; line-height: 1.45; opacity: .92; max-width: 42ch; }
.hero-slide .btn { margin-top: 6px; }
.hero-slide__copy--ink .hero-slide__kicker { color: var(--brand-light); opacity: 1; }
.hero-slide.is-current .hero-slide__copy > * { animation: rise .6s var(--ease) backwards; }
.hero-slide.is-current .hero-slide__copy > :nth-child(2) { animation-delay: .08s; }
.hero-slide.is-current .hero-slide__copy > :nth-child(3) { animation-delay: .16s; }
.hero-slide.is-current .hero-slide__copy > :nth-child(4) { animation-delay: .24s; }
.hero-slider .round-btn { position: absolute; bottom: 12px; z-index: 3; background: rgba(22, 24, 29, .85); }
.hero-slider .round-btn:hover { background: var(--brand); }
.hero-slider .round-btn--prev { right: 60px; }
.hero-slider .round-btn--next { right: 12px; }
.hero-slider__dots { position: absolute; left: 20px; bottom: 18px; z-index: 3; display: flex; gap: 6px; }
.hero-slider__dots button { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 5px; background: rgba(255, 255, 255, .55); transition: width .3s var(--ease), background-color .3s; }
.hero-slider__dots button[aria-current="true"] { width: 28px; background: #fff; }

.hero-side { display: grid; grid-auto-flow: column; grid-auto-columns: 78%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 4px; }
.hero-side::-webkit-scrollbar { display: none; }
.hero-panel {
    position: relative; display: flex; flex-direction: column; justify-content: center; min-height: 170px; padding: 20px;
    border-radius: var(--radius-xl); overflow: hidden; text-decoration: none; scroll-snap-align: start;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.hero-panel:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.hero-panel--wide { background: var(--ink); color: #fff; padding: 0; justify-content: stretch; }
.hero-panel--wide:hover { color: #fff; }
.hero-panel--wide img { position: absolute; right: 0; top: 0; width: 55%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.hero-panel--wide:hover img { transform: scale(1.06); }
.hero-panel__copy {
    position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: center; gap: 6px;
    flex: 1; width: 58%; min-height: 170px; padding: 18px 40px 18px 20px; background: var(--ink);
    border-radius: 0 70px 70px 0 / 0 50% 50% 0;
}
.hero-panel__kicker { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--brand-light); }
.hero-panel__title { font-size: 1.0625rem; font-weight: 800; line-height: 1.2; }
.hero-panel__link { display: inline-flex; align-items: center; gap: 2px; font-size: .875rem; font-weight: 700; }
.hero-panel__link .icon { width: 16px; height: 16px; transition: transform .2s; }
.hero-panel:hover .hero-panel__link .icon { transform: translateX(3px); }
.hero-panel--gold { background: var(--gold); color: var(--ink); text-align: center; align-items: center; }
.hero-panel--gold:hover { color: var(--ink); }
.hero-panel--red { background: linear-gradient(135deg, #e0262c, #a80d12); color: #fff; text-align: center; align-items: center; }
.hero-panel--red:hover { color: #fff; }
.hero-panel__big { font-size: 1.75rem; font-weight: 800; line-height: 1; text-transform: uppercase; letter-spacing: -.01em; }
.hero-panel__small { margin-top: 8px; font-size: .8125rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; opacity: .75; }

.home-section { padding: 24px 0; }
.home-section--last { padding-bottom: 48px; }
.home-section__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.home-section__head h2 { margin: 0; font-size: 1.375rem; font-weight: 700; color: var(--ink); }
.home-section__nav { display: flex; gap: 8px; }
.rating-pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border: 1px solid var(--line-2); border-radius: 999px; font-size: .875rem; text-decoration: none; color: var(--ink); white-space: nowrap; }

/* Expanding cards (Marks "Featured promotions" / "Fast. Flexible. Trusted.") */
.xgrid {
    display: grid; grid-auto-flow: column; grid-auto-columns: min(78%, 300px); gap: 16px;
    overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none;
    margin: 0 calc(var(--gutter) * -1); padding: 4px var(--gutter) 12px;
}
.xgrid::-webkit-scrollbar { display: none; }
.xcard {
    position: relative; display: block; height: 369px; border-radius: var(--radius-card); overflow: hidden; isolation: isolate;
    scroll-snap-align: start; text-decoration: none; background: var(--soft);
    transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.xgrid--tall .xcard { height: 440px; }
.xcard:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(22, 24, 29, .16); }
.xcard__img {
    position: absolute; left: 0; top: 0; width: 100%; height: 58%; object-fit: cover; z-index: -1;
    transition: left .55s var(--ease), width .55s var(--ease), height .55s var(--ease), transform .8s var(--ease);
}
.xcard:hover .xcard__img { transform: scale(1.05); }
.xcard__panel {
    position: absolute; left: 0; bottom: 0; width: 100%; height: 50%;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center;
    padding: 34px 18px 20px; border-radius: 50% 50% 0 0 / 48px 48px 0 0;
    transition: width .55s var(--ease), height .55s var(--ease), border-radius .55s var(--ease), padding .55s var(--ease);
}
.xgrid--tall .xcard__panel { height: 52%; }
.xcard__icon { display: none; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: rgba(255, 255, 255, .16); margin-bottom: 4px; }
.xcard__icon .icon { width: 24px; height: 24px; }
.xcard__kicker { font-size: .8125rem; font-weight: 700; color: var(--ink); }
.xcard__kicker i { font-style: normal; color: var(--line-2); padding: 0 2px; }
.xcard__title { font-size: 1.5rem; font-weight: 800; line-height: 1.08; letter-spacing: -.01em; transition: font-size .4s var(--ease); }
.xcard__price { font-size: 1.125rem; font-weight: 800; color: var(--brand); }
.xcard__text { font-size: .8125rem; line-height: 1.35; max-width: 34ch; }
.xcard__cta { display: none; align-items: center; gap: 6px; margin-top: 8px; font-weight: 700; font-size: .9375rem; }
.xcard__cta .icon { width: 18px; height: 18px; transition: transform .2s; }
.xcard:hover .xcard__cta .icon { transform: translateX(4px); }
.xcard__btn { display: none; margin-top: 10px; min-height: 40px; padding: 0 26px; }

.xcard--brand { color: #fff; }
.xcard--brand:hover { color: #fff; }
.xcard--brand .xcard__panel { background: var(--brand); }
.xcard--light { color: var(--text); background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.xcard--light:hover { color: var(--text); }
.xcard--light .xcard__panel { background: #fff; }
.xcard--light .xcard__title { color: var(--ink); }
.xcard--cutout { background: #eceef1; }
.xcard--cutout .xcard__img { object-fit: contain; padding: 22px 22px 40px; mix-blend-mode: multiply; }
.xcard--rating { background: var(--ink); }
.xcard__art {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding-bottom: 20px; color: #fff;
    background: radial-gradient(circle at 25% 15%, rgba(215, 20, 26, .45), transparent 55%), radial-gradient(circle at 80% 90%, #3a3f4a, var(--ink) 70%);
}
.xcard__stars { font-size: 1.75rem; letter-spacing: 3px; color: #fbbc04; }
.xcard__score { font-size: 3rem; font-weight: 800; line-height: 1; }
.xcard__score small { font-size: 1.25rem; opacity: .8; }
.xcard__on { font-size: .9375rem; font-weight: 600; opacity: .85; }

/* Don't miss out */
.offer-row { display: grid; gap: 12px; }
.offer-card {
    display: flex; align-items: center; gap: 16px; min-height: 112px; padding: 18px 22px; border-radius: var(--radius-xl);
    text-decoration: none; transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.offer-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.offer-card__icon { display: grid; place-items: center; flex-shrink: 0; width: 56px; height: 56px; border-radius: 50%; }
.offer-card__icon .icon { width: 28px; height: 28px; }
.offer-card img { width: 76px; height: 76px; object-fit: contain; mix-blend-mode: multiply; flex-shrink: 0; }
.offer-card__title { display: block; font-size: 1.1875rem; font-weight: 800; line-height: 1.15; }
.offer-card__text { display: block; margin-top: 4px; font-size: .875rem; }
.offer-card--ink { background: var(--ink); color: #fff; }
.offer-card--ink:hover { color: #fff; }
.offer-card--ink .offer-card__icon { background: var(--brand); }
.offer-card--red { background: var(--brand); color: #fff; }
.offer-card--red:hover { color: #fff; }
.offer-card--red .offer-card__icon { background: rgba(255, 255, 255, .18); }
.offer-card--soft { background: #eceef1; color: var(--ink); }
.offer-card--soft:hover { color: var(--ink); }

/* Tabs + rails */
.tabs__list { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1) 14px; padding: 2px var(--gutter); }
.tabs__list::-webkit-scrollbar { display: none; }
.tabs__list button {
    flex-shrink: 0; min-height: 38px; padding: 0 18px; border: 1px solid var(--line-2); border-radius: 999px; background: #fff;
    font-size: .9375rem; font-weight: 600; color: var(--ink); white-space: nowrap; transition: background-color .15s, color .15s, border-color .15s;
}
.tabs__list button:hover { border-color: var(--ink); }
.tabs__list button[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.tabs [role="tabpanel"]:not([hidden]) { animation: fade .3s ease; }

.rail { margin: 36px 0; }
.rail__controls { display: flex; align-items: center; gap: 8px; }
.rail__btn { display: none; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--ink); color: #fff; place-items: center; }
.rail__btn:hover { background: var(--brand); }
.rail__btn:disabled, .rail__controls .round-btn:disabled { background: #cfd4db; cursor: default; }
.rail__track { display: grid; grid-auto-flow: column; grid-auto-columns: 72%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); padding: 4px var(--gutter) 10px; }
.rail__track::-webkit-scrollbar { display: none; }
.rail__item { scroll-snap-align: start; display: flex; }
.rail__item > .card { width: 100%; }

.brand-pills { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding: 8px 2px; }
.brand-pills::-webkit-scrollbar { display: none; }
.brand-pills li { flex: 0 0 150px; scroll-snap-align: start; }
.brand-pills a {
    display: flex; align-items: center; justify-content: center; height: 60px; padding: 0 12px; border: 1px solid #ebebeb; border-radius: 40px;
    font-weight: 800; font-size: .9375rem; color: var(--ink); text-decoration: none; text-align: center; line-height: 1.1;
    transition: box-shadow .2s, color .2s;
}
.brand-pills a:hover { box-shadow: 0 0 6px var(--brand); color: var(--brand); }
.brand-pills__all { background: var(--brand); border-color: var(--brand) !important; color: #fff !important; }

.quote-grid { display: grid; gap: 14px; }
.quote { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius-xl); transition: box-shadow .25s, transform .25s var(--ease); }
.quote:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.quote .gstars { font-size: 1.125rem; }
.quote__body { margin: 10px 0 12px; color: var(--ink-2); font-size: .9375rem; }
.quote__meta { margin: 0; font-size: .875rem; color: var(--ink); }

/* Scroll-in animation */
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }
.js [data-reveal]:not(.is-visible) > * { opacity: 0; }
[data-reveal].is-visible > * { animation: rise .6s var(--ease) backwards; }
[data-reveal].is-visible > :nth-child(2) { animation-delay: .08s; }
[data-reveal].is-visible > :nth-child(3) { animation-delay: .16s; }
[data-reveal].is-visible > :nth-child(4) { animation-delay: .24s; }
[data-reveal].is-visible > :nth-child(5) { animation-delay: .32s; }

/* ==========================================================================
   Product card
   ========================================================================== */
.card {
    position: relative; display: flex; flex-direction: column; background: #fff;
    border: 1px solid var(--line-2); border-radius: var(--radius-lg); overflow: hidden;
    transition: border-color .2s, box-shadow .2s, transform .2s var(--ease);
}
.card:hover { border-color: var(--brand); box-shadow: 0 10px 26px rgba(22, 24, 29, .1); }
.card__media { position: relative; padding: 14px; background: #fff; }
.card__media img { width: 100%; aspect-ratio: 1; object-fit: contain; transition: transform .35s var(--ease); }
.card:hover .card__media img { transform: scale(1.04); }
.card__wish {
    position: absolute; top: 10px; right: 10px; z-index: 2; width: 38px; height: 38px; display: grid; place-items: center;
    border-radius: 50%; border: 1px solid var(--line); background: rgba(255, 255, 255, .95); color: var(--ink);
}
.card__wish .icon { width: 20px; height: 20px; }
.card__wish:hover, .card__wish[aria-pressed="true"] { color: var(--brand); }
.card__wish[aria-pressed="true"] .icon, .btn--wish[aria-pressed="true"] .icon { fill: var(--brand); stroke: var(--brand); }
.card__body { flex: 1; padding: 2px 16px 6px; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.card__title { font-size: .9375rem; font-weight: 500; line-height: 1.35; margin: 0; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card__brand { font-weight: 800; }
.card__title a { text-decoration: none; }
.card__title a::after { content: ""; position: absolute; inset: 0; z-index: 0; }
.card__title a:hover { color: var(--ink); text-decoration: underline; }
.card__buy { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 6px; padding: 8px 16px 16px; pointer-events: none; }
.card__buy > * { pointer-events: auto; }
.card .price { margin: 0; flex-direction: column; align-items: flex-start; gap: 0; }
.card .price__now { font-size: 1.625rem; }
.card .stock { font-size: .8125rem; }
.card .stock__extra { display: none; }
.card__cta { margin-top: 4px; }
.card__cta .btn, .card__buy > .btn { min-height: 42px; font-size: .9375rem; }
.card .rating, .card__body .energy { position: relative; z-index: 1; }

/* ---------- Service band / brand grid / guides (content pages) ---------- */
.brand-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.brand-grid a { display: grid; place-items: center; height: 60px; padding: 0 8px; border: 1px solid #ebebeb; border-radius: 40px; text-decoration: none; font-weight: 800; font-size: 1rem; text-align: center; line-height: 1.1; color: var(--ink); }
.brand-grid a:hover { box-shadow: 0 0 6px var(--brand); color: var(--brand); }

.guide-grid { display: grid; gap: 16px; }
.guide-card { display: block; text-decoration: none; border-radius: var(--radius-xl); overflow: hidden; border: 1px solid var(--line); transition: box-shadow .25s, transform .25s var(--ease); }
.guide-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.guide-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.guide-card > div { padding: 16px 18px 18px; }
.guide-card h2, .guide-card h3 { font-size: 1.125rem; margin-bottom: .3em; }
.guide-card p { color: var(--muted); margin: 0; font-size: .9375rem; }
.guide-card:hover h2, .guide-card:hover h3 { color: var(--brand); }

/* ==========================================================================
   Footer (Marks: #333 links line, coloured copyright line)
   ========================================================================== */
.footer { font-size: .8125rem; }
.footer__main { background: #333; color: #fff; padding: 44px 0 36px; }
.footer a { color: #fff; text-decoration: none; }
.footer a:hover { color: var(--brand-light); }
.footer p { margin: 0 0 6px; }
.footer__top { display: grid; gap: 36px; text-align: center; }
.footer__h { font-size: .9375rem; font-weight: 700; color: #fff; margin: 0 0 12px; }
.footer__h--gap { margin-top: 24px; }
.footer__muted { color: #c2c2c2; }
.footer address { margin-bottom: 8px; }
.footer__social { display: flex; justify-content: center; gap: 10px; }
.footer__social a { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #fff; color: #333; transition: background-color .2s, color .2s, transform .2s; }
.footer__social a:hover { background: var(--brand); color: #fff; transform: translateY(-2px); }
.footer__social svg { width: 20px; height: 20px; }
.pay-icons { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.pay-icons li { line-height: 0; }
.pay-icons img { width: auto; height: 36px; border-radius: 4px; }
.pay-icons__snap { display: inline-flex !important; align-items: center; gap: 5px; height: 36px; padding: 0 10px; background: #fff; border-radius: 4px; line-height: 1 !important; font-size: .8125rem; font-weight: 800; color: #1a1a1a; }
.pay-icons__snap img { height: 16px; border-radius: 0; }
.newsletter__form { display: flex; flex-wrap: wrap; gap: 8px; max-width: 460px; margin: 0 auto 8px; }
.newsletter__form input { flex: 1; min-width: 0; height: 44px; padding: 0 18px; border: 0; border-radius: 999px; color: var(--ink); background: #fff; }
.newsletter__form input:focus { outline: 2px solid var(--brand-light); }
.newsletter__form .btn { min-height: 44px; }
.newsletter__msg { width: 100%; margin: 0; font-weight: 600; }
.newsletter__msg:empty { display: none; }
.footer__links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 24px; margin-top: 36px; padding-top: 28px; border-top: 1px solid #4a4a4a; text-align: center; }
.footer__links li { padding: 5px 0; }
.footer__legal { background: var(--brand); color: #fff; padding: 26px 0; text-align: center; font-size: .75rem; }
.footer__legal p { margin: 0 0 6px; }
.footer__legal p:last-child { margin: 0; }
.footer__legal a { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.footer__legal a:hover { text-decoration: none; }
.page-product .footer__legal { padding-bottom: 96px; }

/* Compare tray */
.compare-tray { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: #fff; border-top: 2px solid var(--ink); box-shadow: 0 -4px 20px rgba(0, 0, 0, .1); }
.compare-tray__inner { display: flex; align-items: center; gap: 12px; padding-top: 10px; padding-bottom: 10px; }
.compare-tray__label { margin: 0; font-size: .9375rem; white-space: nowrap; }
.compare-tray__items { display: none; gap: 6px; }
.compare-tray__items img { width: 44px; height: 44px; object-fit: contain; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); }
.compare-tray__actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }
body.has-sticky .compare-tray { bottom: 68px; }

/* ==========================================================================
   Listing (Marks item list)
   ========================================================================== */
.crumbs { padding: 14px 0 8px; font-size: .875rem; }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.crumbs li { display: flex; align-items: center; gap: 4px; color: var(--muted); }
.crumbs li + li::before { content: "/"; padding: 0 6px; color: var(--muted); }
.crumbs a { color: var(--ink); text-decoration: none; }
.crumbs a:hover { color: var(--brand); text-decoration: underline; }
.crumbs .icon { width: 18px; height: 18px; }
.crumbs [aria-current] { color: var(--muted); display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }

.listing-head { display: grid; gap: 14px; margin: 8px 0 20px; }
.listing-head h1 { margin-bottom: .2em; font-size: 1.5rem; }
.listing-head__intro { color: var(--muted); max-width: 72ch; margin: 0; }
.quick-links { display: grid; gap: 8px; min-width: 0; }
.quick-links__label { margin: 0; font-weight: 700; color: var(--ink); }
.page-head { margin: 20px 0 16px; }
.page-head h1 { margin-bottom: .2em; }

.filters {
    position: fixed; inset: 0 0 0 auto; z-index: 90; width: min(92vw, 400px); background: #fff; display: flex; flex-direction: column;
    transform: translateX(100%); transition: transform .28s var(--ease); visibility: hidden;
}
.filters.is-open { transform: none; visibility: visible; }
.filters__backdrop { position: fixed; inset: 0; z-index: 85; background: rgba(22, 24, 29, .5); }
.filters__head { display: flex; align-items: center; justify-content: space-between; padding: 10px 8px 10px 16px; border-bottom: 1px solid var(--line); }
.filters__head h2 { margin: 0; font-size: 1.25rem; color: var(--brand); display: flex; align-items: center; gap: 8px; }
.filters form { flex: 1; overflow-y: auto; display: flex; flex-direction: column; }
.facet { border-bottom: 1px solid rgba(22, 24, 29, .15); padding: 0 16px; }
.facet summary { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; font-weight: 600; font-size: .9375rem; color: var(--ink); }
.facet summary::after { content: ""; width: 8px; height: 8px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg); margin-top: -4px; transition: transform .2s; }
.facet[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
.facet ul { padding-bottom: 14px; display: grid; gap: 2px; }
.facet li .check { min-height: 34px; font-size: .875rem; }
.filters__foot { position: sticky; bottom: 0; margin-top: auto; display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px; padding: 12px 16px; background: #fff; border-top: 1px solid var(--line); }
.filters__foot .btn { border-radius: 999px; }
body.filters-open { overflow: hidden; }

select, .toolbar__sort select {
    height: 40px; padding: 0 34px 0 12px; border: 1px solid #8794a4; border-radius: var(--radius); background: #fff;
    -webkit-appearance: none; appearance: none; font-size: .9375rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316181d' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 10px center; background-size: 16px;
}
.chips--active { margin-bottom: 14px; }

.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.grid .card__body { padding: 0 10px 4px; }
.grid .card__buy { padding: 6px 10px 12px; }
.grid .price__now { font-size: 1.25rem; }

/* Row cards: image | details | price box */

.pager { display: flex; align-items: center; justify-content: center; gap: 16px; margin: 28px 0 8px; }
.pager__btn { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 0 16px; border: 1px solid #8794a4; border-radius: var(--radius); font-weight: 700; text-decoration: none; color: var(--ink); }
.pager__btn[rel="next"] { border-color: var(--brand); }
.pager__btn:hover { border-color: var(--brand); background: var(--brand); color: #fff; }
.pager__info { color: var(--muted); font-size: .9375rem; }

.empty { text-align: center; padding: 48px 16px; max-width: 520px; margin: 0 auto; }
.empty > .icon { width: 48px; height: 48px; color: var(--line-2); margin-bottom: 12px; }
.empty p { color: var(--muted); }
.empty__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.empty__code { font-size: 4rem; font-weight: 800; color: var(--brand); line-height: 1; margin-bottom: 8px; }
.empty .inline-form { max-width: 420px; margin: 20px auto 0; }
.empty .btn { border-radius: 999px; }

.az { display: grid; gap: 20px; }
.az__group h2 { font-size: 1.5rem; color: var(--brand); border-bottom: 1px solid var(--line); padding-bottom: 6px; }
.az__group li { padding: 4px 0; }
.az__group a { text-decoration: none; font-weight: 600; }

/* ==========================================================================
   Product page
   ========================================================================== */
.pdp { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); grid-template-areas: "title" "gallery" "buy"; }
.pdp__title { grid-area: title; }
.pdp__gallery { grid-area: gallery; }
.pdp__buy { grid-area: buy; }
.pdp__brand { font-size: .875rem; font-weight: 800; color: var(--brand); text-decoration: none; }
.pdp__brand:hover { text-decoration: underline; }
.pdp__title h1 { font-size: 1.375rem; margin: 2px 0 6px; }
.pdp__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; font-size: .875rem; margin: 0; }

.gallery__main { position: relative; margin: 0 calc(var(--gutter) * -1); background: #fff; border-bottom: 1px solid var(--line); }
.gallery__main img { width: 100%; aspect-ratio: 1; object-fit: contain; padding: 16px; }
.gallery__thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; scrollbar-width: none; }
.gallery__thumbs button { padding: 0; border: 2px solid transparent; border-radius: var(--radius); background: none; overflow: hidden; flex-shrink: 0; }
.gallery__thumbs button[aria-current="true"] { border-color: var(--brand); }
.gallery__thumbs img { width: 64px; height: 64px; object-fit: contain; background: #fff; padding: 3px; }

.pdp__price { padding: 16px; border: 1px solid var(--line-2); border-radius: var(--radius-lg); margin-bottom: 14px; }
.pdp__finance, .pdp__energy { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; font-size: .9375rem; margin: 8px 0 0; }
.pdp__finance .icon { color: var(--muted); }
.pdp__finance a { color: var(--brand); font-weight: 600; }
.pdp__buy > .link-more { margin: 4px 0 12px; }

.buybox { margin-top: 12px; }
.services { border: 0; padding: 0; margin: 0 0 4px; display: grid; gap: 8px; }
.services legend { font-weight: 700; color: var(--ink); margin-bottom: 8px; padding: 0; }
.service { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: start; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: var(--radius-lg); cursor: pointer; transition: border-color .15s, background-color .15s; }
.service:hover { border-color: var(--ink-2); }
.service:has(input:checked) { border-color: var(--brand); background: var(--brand-50); }
.service input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--brand); }
.service__name { display: block; font-weight: 600; color: var(--ink); font-size: .9375rem; line-height: 1.3; }
.service__note { display: block; font-size: .8125rem; color: var(--muted); line-height: 1.35; margin-top: 2px; }
.service__price { font-weight: 700; color: var(--ink); font-size: .9375rem; white-space: nowrap; }
.buybox__row { display: flex; gap: 8px; }
.buybox__add { flex: 1; }
.buybox__oos { padding: 12px; background: var(--soft); border-radius: var(--radius); }
.qty { display: inline-flex; border: 1px solid var(--line-2); border-radius: 999px; overflow: hidden; }
.qty button { width: 40px; background: #fff; border: 0; display: grid; place-items: center; }
.qty button:hover { background: var(--soft); }
.qty .icon { width: 16px; height: 16px; }
.qty input { width: 40px; border: 0; text-align: center; font-weight: 700; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pdp__secondary { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin: 12px 0; }
.stock-alert { margin: 12px 0; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius); scroll-margin-top: 140px; }
.stock-alert label { display: block; margin-bottom: 8px; }
.stock-alert__row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.stock-alert__row input { flex: 1 1 200px; min-width: 0; min-height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--radius); font: inherit; }
.stock-alert__row input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(215, 20, 26, .1); }
.stock-alert .small { margin: 0; }
.stock-alert .field-error { margin: 0 0 8px; }
.stock-alert__done { display: flex; gap: 8px; align-items: flex-start; margin: 0; }
.stock-alert__done .icon { flex-shrink: 0; margin-top: 2px; color: #0a7a3a; }
.stock-alert-stop { max-width: 560px; margin: 40px auto; text-align: center; }
.account .form__row .field, #save-details .form__row .field { align-content: start; }
.account__row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.account__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; }
.account__head p { margin: 0; }
.account__orders { margin: 0; padding: 0; list-style: none; }
.account__orders li + li { border-top: 1px solid var(--line); }
.account__orders a { display: grid; grid-template-columns: 1fr auto auto 16px; align-items: center; gap: 16px; padding: 12px 0; color: inherit; text-decoration: none; }
.account__orders a:hover strong:first-child { color: var(--brand); }
.account__orders a > span:first-child { display: grid; gap: 2px; }
@media (max-width: 560px) {
    .account__orders a { grid-template-columns: 1fr auto; gap: 4px 12px; }
    .account__orders a > span:nth-child(2) { grid-column: 1; grid-row: 2; }
    .account__orders a > strong { grid-column: 2; grid-row: 1; }
    .account__orders a > .icon { display: none; }
}

.fulfil { border: 1px solid var(--line); border-radius: var(--radius-lg); margin: 14px 0; }
.fulfil__row { display: flex; gap: 12px; padding: 14px; font-size: .9375rem; }
.fulfil__row + .fulfil__row { border-top: 1px solid var(--line); }
.fulfil__row > .icon { width: 24px; height: 24px; color: var(--brand); }
.fulfil__row p { margin: 0 0 4px; }
.fulfil__area { display: flex; align-items: center; gap: 8px; margin: 6px 0; font-size: .875rem; color: var(--muted); }
.fulfil__area select { height: 34px; }
.fulfil__eta { color: var(--ok); }
.fulfil__eta--uk { color: var(--ink-2); }
.assurances { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .875rem; font-weight: 600; color: var(--ink); }
.assurances li { display: flex; align-items: center; gap: 6px; }
.assurances .icon { color: var(--brand); width: 18px; height: 18px; }
.assurances--stack { flex-direction: column; margin-top: 16px; }

.subnav { position: sticky; top: 0; z-index: 20; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; margin: 28px calc(var(--gutter) * -1) 0; padding: 0 var(--gutter); background: #fff; border-bottom: 1px solid var(--line); }
.subnav a { padding: 12px 10px; white-space: nowrap; font-weight: 700; color: var(--ink); text-decoration: none; border-bottom: 3px solid transparent; margin-bottom: -1px; }
.subnav a.is-active { border-bottom-color: var(--brand); color: var(--brand); }
.pdp-section { padding: 28px 0; border-bottom: 1px solid var(--line); }
.pdp-overview { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.prose { max-width: 72ch; }
.prose p { color: var(--text); }
.prose h2 { margin-top: 1.4em; }
.lead { font-size: 1.125rem; color: var(--ink) !important; }
.spec-table { max-width: 820px; font-size: .9375rem; }
.spec-table th, .spec-table td { padding: 10px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.spec-table th { width: 42%; font-weight: 600; color: var(--muted); }
.spec-table tr:nth-child(odd) { background: var(--soft); }

.review-summary { display: grid; gap: 16px; align-items: center; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius-lg); margin-bottom: 16px; }
.review-summary__score { text-align: center; }
.review-summary__avg { font-size: 3rem; font-weight: 800; color: var(--ink); line-height: 1; margin-bottom: 6px; }
.review-summary__score .muted { margin: 6px 0 0; font-size: .875rem; }
.review-bars li { display: grid; grid-template-columns: 52px 1fr 28px; gap: 8px; align-items: center; font-size: .875rem; padding: 2px 0; }
.review-bars .bar > span { background: var(--star); }
.review-sort { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 8px; font-size: .9375rem; }
.review { padding: 16px 0; border-bottom: 1px solid var(--line); }
.review__head { display: flex; flex-direction: column; gap: 4px; margin-bottom: 6px; }
.review__head h3 { margin: 0; }
.review p { margin-bottom: 6px; color: var(--text); }
.review__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .8125rem; color: var(--muted) !important; }
.write-review { margin-top: 20px; }
.write-review > summary { list-style: none; border-radius: 999px; }
.write-review[open] > summary { display: none; }
.write-review .form { max-width: 640px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-lg); }

.rate-input { border: 0; padding: 0; margin: 0 0 4px; display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; }
.rate-input legend { float: left; width: 100%; font-weight: 600; margin-bottom: 6px; }
.rate-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rate-input label { width: 34px; height: 34px; cursor: pointer; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23d3d6db' d='m8 .9 2.2 4.6 5 .7-3.6 3.5.9 5-4.5-2.4-4.5 2.4.9-5L.8 6.2l5-.7z'/%3E%3C/svg%3E") center / 28px no-repeat; }
.rate-input input:checked ~ label, .rate-input label:hover, .rate-input label:hover ~ label {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23f5b301' d='m8 .9 2.2 4.6 5 .7-3.6 3.5.9 5-4.5-2.4-4.5 2.4.9-5L.8 6.2l5-.7z'/%3E%3C/svg%3E");
}
.rate-input input:focus-visible + label { outline: 2px solid var(--ink); border-radius: 3px; }

.info-cols { display: grid; gap: 20px; }
.info-cols h3 { display: flex; align-items: center; gap: 8px; }
.info-cols h3 .icon { color: var(--brand); }
.info-cols p { color: var(--text); font-size: .9375rem; }
.info-cols a { color: var(--brand); font-weight: 600; }

.sticky-buy {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; display: flex; align-items: center; gap: 12px;
    padding: 10px var(--gutter); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -4px 16px rgba(0, 0, 0, .08);
}
.sticky-buy__info { flex: 1; min-width: 0; }
.sticky-buy__name { margin: 0; font-size: .8125rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--muted); }
.sticky-buy__price { margin: 0; font-weight: 800; font-size: 1.125rem; color: var(--ink); }

.help-box { padding: 22px; border-radius: var(--radius-xl); background: var(--soft); align-self: start; }
.help-box h3 { margin-bottom: .4em; }
.help-box p { font-size: .9375rem; color: var(--ink-2); }
.help-box .btn { border-radius: 999px; }

/* Imported product descriptions */
.prose--product { max-width: 78ch; }
.prose--product h3, .prose--product h4 { font-size: 1.0625rem; margin: 1.4em 0 .5em; }
.prose--product h3:first-child { margin-top: 0; }
.prose--product ul { list-style: disc; padding-left: 20px; margin: 0 0 1em; }
.prose--product li { padding: 2px 0; }
.prose--product table { margin: 0 0 1em; font-size: .9375rem; }
.prose--product td, .prose--product th { padding: 8px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose--product td p, .prose--product th p { margin: 0; }

.pdp__grade { display: flex; gap: 8px; align-items: flex-start; font-size: .875rem; margin: 10px 0 0; padding: 10px 12px; background: var(--gold); border-radius: var(--radius); color: var(--ink); }
.pdp__grade .icon { margin-top: 1px; }
.pdp__free { display: flex; gap: 8px; align-items: flex-start; font-size: .875rem; margin: 10px 0 0; padding: 10px 12px; background: var(--ok-50); border-radius: var(--radius); color: var(--ink); }
.pdp__free .icon { flex-shrink: 0; margin-top: 1px; color: var(--ok); }
.pdp__due { display: flex; gap: 8px; align-items: flex-start; font-size: .875rem; margin: 0 0 12px; padding: 10px 12px; background: #e8f1fb; border-radius: var(--radius); color: var(--ink); }
.pdp__due .icon { flex-shrink: 0; margin-top: 1px; color: #1d5fa8; }

.pay-klarna { display: inline-block; padding: 1px 8px; border-radius: 4px; background: #ffb3c7; color: #0b051d; font-weight: 800; font-size: .8125rem; letter-spacing: -.01em; }
.pay-klarna--lg { font-size: 1rem; padding: 3px 12px; }
.pay-snap { display: inline-block; padding: 3px 12px; border-radius: 4px; background: #0a2240; color: #fff; font-weight: 800; font-size: 1rem; }
.pdp__finance .pay-klarna { margin-right: 2px; }

/* ==========================================================================
   Forms, basket, checkout
   ========================================================================== */
.form { display: grid; gap: 14px; }
.form__row { display: grid; gap: 14px; }
.field { display: grid; gap: 4px; margin-bottom: 14px; }
.form .field { margin-bottom: 0; }
.field label { font-weight: 600; font-size: .9375rem; color: var(--ink); }
.field input, .field textarea, .field select, .inline-form input {
    width: 100%; min-height: 46px; padding: 10px 14px; border: 1px solid var(--line-2); border-radius: var(--radius); background: #fff; font-size: 1rem;
}
.field select { height: 46px; padding-right: 34px; }
.field textarea { min-height: 0; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus, .inline-form input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(215, 20, 26, .1); }
.field [aria-invalid="true"] { border-color: var(--brand); }
.hint { font-size: .8125rem; color: var(--muted); margin: 0; display: flex; align-items: center; gap: 4px; }
.hint .icon { width: 14px; height: 14px; }
.hint--block { margin: 0 0 14px; }
.field-error { color: var(--brand); font-size: .875rem; font-weight: 600; margin: 2px 0 0; }
.inline-form { display: flex; gap: 8px; }
.inline-form input { flex: 1; min-width: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.basket { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.freebar { padding: 12px 14px; background: var(--soft); border-radius: var(--radius-lg); margin-bottom: 12px; }
.freebar p { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font-size: .9375rem; }
.freebar .icon { color: var(--brand); }
.freebar.is-done .icon { color: var(--ok); }
.freebar.is-done .bar > span { background: var(--ok); }
.line { display: grid; grid-template-columns: 88px 1fr; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.line__img img { width: 88px; height: 88px; object-fit: contain; border-radius: var(--radius); border: 1px solid var(--line); padding: 4px; background: #fff; }
.line__name { font-size: 1rem; font-weight: 600; line-height: 1.3; margin: 0 0 2px; color: var(--ink); }
.line__name a { text-decoration: none; }
.line__sku { font-size: .8125rem; margin-bottom: 4px; }
.line__services { margin-top: 10px; display: grid; gap: 6px; }
.line__services-title { font-size: .8125rem; font-weight: 700; margin: 0; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.line__services .check { font-size: .875rem; align-items: flex-start; }
.line__side { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; }
.line__price { font-size: 1.125rem; font-weight: 800; margin: 0; color: var(--ink); }
.line__side .muted, .line__side .price__save { margin: 0; font-size: .875rem; }
.line__qty { margin-left: auto; }

.summary { padding: 20px; border: 1px solid var(--line-2); border-radius: var(--radius-lg); background: #fff; align-self: start; }
.summary h2 { font-size: 1.25rem; }
.summary__rows { margin: 0 0 14px; }
.summary__rows > div { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; font-size: .9375rem; }
.summary__rows dt { color: var(--ink-2); }
.summary__rows dd { margin: 0; font-weight: 600; }
.summary__discount dd, .summary__discount dt { color: var(--ok); }
.summary__total { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 12px !important; }
.summary__total dt, .summary__total dd { font-size: 1.25rem; font-weight: 800; color: var(--ink); }
.summary__finance { display: flex; align-items: center; gap: 6px; font-size: .875rem; color: var(--muted); margin-top: -8px; }
.summary .btn { border-radius: 999px; }
.summary .btn--block + .muted { margin-top: 10px; }
.promo-box { margin-top: 16px; border-top: 1px solid var(--line); padding-top: 12px; }
.promo-box summary { font-weight: 700; font-size: .9375rem; text-decoration: underline; text-underline-offset: 2px; }
.promo-box form { margin-top: 10px; }
.promo-box .muted { margin: 6px 0 0; }
.mini-lines { margin-bottom: 12px; }
.mini-lines li { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: start; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .875rem; }
.mini-lines li > div:first-child { grid-column: 1 / 3; }
.mini-lines img { width: 56px; height: 56px; object-fit: contain; border-radius: var(--radius); border: 1px solid var(--line); padding: 3px; }
.mini-lines img + div { grid-column: auto; }
.mini-lines p { margin: 0; line-height: 1.35; }
.summary__total-line { display: flex; justify-content: space-between; font-size: 1.125rem; margin: 0; }

.page-head--checkout { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.page-head--checkout p { margin: 0; display: flex; align-items: center; gap: 4px; font-weight: 600; }
.checkout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.panel { padding: 18px 16px; border: 1px solid var(--line-2); border-radius: var(--radius-lg); margin-bottom: 16px; }
.panel__title { display: flex; align-items: center; gap: 10px; font-size: 1.25rem; margin-bottom: 16px; }
.panel__num { width: 28px; height: 28px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-size: .9375rem; flex-shrink: 0; }
.choice-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 16px; }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; }
.choice__body { display: flex; flex-direction: column; gap: 2px; height: 100%; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: var(--radius-lg); font-size: .9375rem; }
.choice__body .icon { color: var(--brand); width: 24px; height: 24px; margin-bottom: 4px; }
.choice__body .muted { font-size: .8125rem; }
.choice:hover .choice__body { border-color: var(--ink-2); }
.choice input:checked + .choice__body { border-color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); background: var(--brand-50); }
.choice input:focus-visible + .choice__body { outline: 2px solid var(--ink); outline-offset: 2px; }
.choice--wide .choice__body { padding-left: 42px; position: relative; }
.choice--wide .choice__body::before { content: ""; position: absolute; left: 14px; top: 15px; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line-2); background: #fff; }
.choice--wide input:checked + .choice__body::before { border-color: var(--brand); box-shadow: inset 0 0 0 4px #fff; background: var(--brand); }
.store-pick, .pay-list { border: 0; padding: 0; margin: 0 0 14px; display: grid; gap: 8px; }
.store-pick legend { font-weight: 600; margin-bottom: 8px; padding: 0; }
.slots { min-width: 0; border: 0; padding: 0; margin: 4px 0 14px; }
.slots legend { font-weight: 600; margin-bottom: 8px; padding: 0; }
.slots__list { display: grid; grid-auto-flow: column; grid-auto-columns: 84px; gap: 8px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
.slot { position: relative; cursor: pointer; }
.slot input { position: absolute; opacity: 0; }
.slot__body { display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 10px 4px; border: 1px solid var(--line-2); border-radius: var(--radius-lg); text-align: center; }
.slot__day { font-size: .8125rem; color: var(--muted); font-weight: 600; text-transform: uppercase; }
.slot__date { font-weight: 800; color: var(--ink); }
.slot__price { font-size: .75rem; font-weight: 600; }
.slot input:checked + .slot__body { border-color: var(--brand); background: var(--brand); color: #fff; }
.slot input:checked + .slot__body .slot__day, .slot input:checked + .slot__body .slot__date { color: #fff; }
.slot input:focus-visible + .slot__body { outline: 2px solid var(--ink); outline-offset: 2px; }
.field--half { max-width: 320px; }
.delivery-note { display: flex; gap: 8px; align-items: flex-start; font-size: .9375rem; padding: 10px 12px; margin: 0 0 14px; background: var(--soft); border-radius: var(--radius); }
.delivery-note .icon { color: var(--muted); margin-top: 2px; }
.delivery-note.is-local { background: var(--ok-50); }
.delivery-note.is-local .icon { color: var(--ok); }
.collect-card { display: flex; gap: 12px; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius-lg); margin-bottom: 14px; }
.collect-card > .icon { color: var(--brand); width: 24px; height: 24px; }
.collect-card p { margin: 2px 0 0; font-size: .9375rem; }

.confirm { margin: 28px 0; }
.confirm__head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 24px; }
.confirm__tick { width: 48px; height: 48px; flex-shrink: 0; border-radius: 50%; background: var(--ok); color: #fff; display: grid; place-items: center; }
.confirm__tick .icon { width: 28px; height: 28px; stroke-width: 2.5; }
.confirm h1 { font-size: 1.5rem; }
.ref { font-family: ui-monospace, Consolas, monospace; font-size: 1.05em; letter-spacing: .03em; }
.confirm__actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 12px; }
.confirm__actions .btn { border-radius: 999px; }
.timeline { position: relative; margin: 0 0 20px; padding-left: 28px; }
.timeline::before { content: ""; position: absolute; left: 8px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.timeline li { position: relative; padding: 0 0 16px; display: grid; }
.timeline li::before { content: ""; position: absolute; left: -26px; top: 4px; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--line-2); background: #fff; }
.timeline li.is-done::before { background: var(--ok); border-color: var(--ok); }
.timeline span { color: var(--muted); font-size: .9375rem; }

.progress { display: grid; grid-template-columns: repeat(5, 1fr); margin: 20px 0; counter-reset: s; }
.progress li { position: relative; text-align: center; font-size: .75rem; color: var(--muted); padding-top: 30px; line-height: 1.25; }
.progress li::before { counter-increment: s; content: counter(s); position: absolute; top: 0; left: 50%; transform: translateX(-50%); z-index: 1; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 2px solid var(--line-2); display: grid; place-items: center; font-weight: 700; font-size: .75rem; }
.progress li::after { content: ""; position: absolute; top: 11px; left: -50%; width: 100%; height: 2px; background: var(--line); }
.progress li:first-child::after { display: none; }
.progress li.is-done, .progress li.is-current { color: var(--ink); font-weight: 600; }
.progress li.is-done::before { background: var(--ok); border-color: var(--ok); color: #fff; }
.progress li.is-current::before { border-color: var(--brand); color: var(--brand); }
.progress li.is-done::after, .progress li.is-current::after { background: var(--ok); }

/* Compare */
.compare-wrap { overflow-x: auto; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); }
.compare { min-width: calc(140px + var(--cols) * 180px); font-size: .9375rem; table-layout: fixed; }
.compare th, .compare td { padding: 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.compare tbody th { width: 140px; color: var(--muted); font-weight: 600; position: sticky; left: 0; background: #fff; }
.compare thead th { vertical-align: bottom; }
.compare__label { width: 140px; }
.compare__product { position: relative; display: grid; gap: 6px; font-weight: 400; }
.compare__product img { width: 100%; max-width: 160px; aspect-ratio: 1; object-fit: contain; border-radius: var(--radius); border: 1px solid var(--line); padding: 6px; }
.compare__name { font-weight: 600; text-decoration: none; line-height: 1.3; color: var(--ink); }
.compare__remove { position: absolute; top: -4px; right: -4px; background: #fff; min-width: 36px; min-height: 36px; }
.compare tr.is-diff td { background: #fffbea; }

/* ==========================================================================
   Content pages
   ========================================================================== */
.store-grid { display: grid; gap: 12px; }
.store { padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-lg); display: grid; gap: 6px; align-content: start; font-size: .9375rem; }
.store h2 { font-size: 1.125rem; margin: 0 0 4px; }
.store p { margin: 0; display: flex; gap: 8px; align-items: flex-start; }
.store p .icon { color: var(--muted); width: 18px; height: 18px; margin-top: 2px; }
.store__hours summary { font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.store__hours dl { margin: 8px 0 0; }
.store__hours dl > div { display: flex; justify-content: space-between; padding: 2px 0; }
.store__hours dd { margin: 0; }
.store .tags { margin: 6px 0; }
.store .btn { justify-self: start; }

.help-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 28px; }
.help-tiles a { display: grid; gap: 2px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius-xl); text-decoration: none; height: 100%; color: var(--ink); font-weight: 700; transition: border-color .2s, transform .2s var(--ease), box-shadow .2s; }
.help-tiles a:hover { border-color: var(--brand); color: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow); }
.help-tiles .icon { width: 30px; height: 30px; color: var(--brand); margin-bottom: 6px; }
.help-tiles span { font-size: .875rem; color: var(--muted); font-weight: 400; }
.help-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
.faq__group { margin-bottom: 24px; scroll-margin-top: 24px; }
.faq__group h2 { font-size: 1.25rem; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 0; font-weight: 600; color: var(--ink); }
.faq__item summary .icon { transition: transform .2s; }
.faq__item[open] summary .icon { transform: rotate(180deg); }
.faq__item p { color: var(--text); padding-bottom: 8px; max-width: 70ch; }
.contact-card { padding: 22px; background: var(--soft); border-radius: var(--radius-xl); align-self: start; }
.contact-card li { display: flex; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.contact-card li:first-child { border-top: 0; }
.contact-card li > .icon { color: var(--brand); width: 22px; height: 22px; }
.contact-card li div { display: grid; font-size: .9375rem; }
.contact-card li div span { display: block; }
.contact-card a { font-weight: 700; color: var(--ink); }

.table-wrap { position: relative; overflow-x: auto; margin: 0 0 28px; } /* relative: keeps .sr-only cells inside the scroll box */
.data-table { min-width: 560px; font-size: .9375rem; }
.data-table th, .data-table td { padding: 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.data-table thead th { background: var(--ink); color: #fff; font-weight: 700; }
.data-table tbody th { font-weight: 700; }
.prose--cols { display: grid; gap: 8px 40px; max-width: none; }
.prose--cols section { scroll-margin-top: 24px; }

.svc-feature { display: grid; gap: 16px; margin-bottom: 28px; align-items: center; }
.svc-feature img { border-radius: var(--radius-xl); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.article { max-width: 780px; margin: 8px auto 20px; }
.article h1 { font-size: 2rem; }
.article__img { width: 100%; border-radius: var(--radius-xl); margin: 16px 0 8px; aspect-ratio: 16 / 9; object-fit: cover; }
.article--legal { max-width: 860px; margin-left: 0; }
.article--legal h3 { font-size: 1.0625rem; margin-top: 1.6em; }
/* The Cookie Policy's table; a phone scrolls it sideways rather than squeezing it */
.article--legal table { display: block; width: 100%; max-width: 100%; overflow-x: auto; margin: 12px 0; border-collapse: collapse; font-size: .9375rem; }
.article--legal th, .article--legal td { padding: 10px 12px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.article--legal th { background: var(--soft); font-weight: 700; }
.article--legal td:first-child { white-space: nowrap; }

.finance-strip { display: grid; gap: 16px; align-items: center; margin: 36px 0; padding: 22px 20px; border-radius: var(--radius-xl); background: var(--soft); }
.finance-strip h2 { margin-bottom: .25em; }
.finance-strip p { margin: 0; }
.finance-strip__options { display: grid; gap: 10px; }
.finance-strip__options li { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: .9375rem; }
.finance-strip .btn { justify-self: start; }
.finance-cards { display: grid; gap: 16px; }
.finance-card { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-xl); }
.finance-card h2 { margin: 14px 0 8px; }
.finance-card .ticks { margin: 12px 0 16px; }

.hours { margin: 0; font-size: .9375rem; max-width: 360px; }
.hours > div { display: flex; justify-content: space-between; gap: 16px; padding: 5px 0; border-bottom: 1px solid rgba(127, 127, 127, .25); }
.hours dd { margin: 0; font-weight: 600; }
.hours .is-today { font-weight: 700; }

.showroom { display: grid; gap: 20px; margin-bottom: 28px; }
.showroom__map { border-radius: var(--radius-xl); overflow: hidden; border: 1px solid var(--line); background: var(--soft); min-height: 300px; }
.showroom__map iframe { width: 100%; height: 100%; min-height: 300px; border: 0; display: block; }
/* Before the visitor asks for the map (Google Maps sets its own cookies) */
.showroom__map:has(.showroom__mapask) { display: grid; place-items: center; }
.showroom__mapask { display: grid; justify-items: center; gap: 8px; max-width: 340px; padding: 24px; text-align: center; }
.showroom__mapask p { margin: 0; }
.showroom__mapask > .icon { width: 32px; height: 32px; color: var(--brand); }
.showroom__info { display: grid; gap: 22px; }
.showroom__info h2 { display: flex; align-items: center; gap: 8px; font-size: 1.125rem; }
.showroom__info h2 .icon { color: var(--brand); }
.showroom__info address { margin-bottom: 10px; line-height: 1.6; }
.usps { display: grid; grid-template-columns: 1fr; gap: 1px; margin: 16px 0 0; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.usps li { display: flex; gap: 10px; align-items: flex-start; padding: 14px; background: #fff; font-size: .8125rem; line-height: 1.3; }
.usps .icon { width: 26px; height: 26px; color: var(--brand); }
.usps strong { display: block; font-size: .9375rem; color: var(--ink); }
.usps span { color: var(--muted); }

.soon { max-width: 640px; margin: 48px auto 24px; text-align: center; }
.soon__icon { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--brand-50); color: var(--brand); margin-bottom: 14px; }
.soon__icon .icon { width: 30px; height: 30px; }
.soon__text { font-size: 1.0625rem; }
.soon__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 20px; }

/* ==========================================================================
   >= 600px
   ========================================================================== */
@media (min-width: 600px) {
    h1 { font-size: 1.75rem; }
    .hero-slide__title { font-size: 2rem; }
    .hero-side { grid-auto-columns: 46%; }
    .rail__track { grid-auto-columns: 40%; }
    .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
    .quote-grid, .guide-grid, .store-grid, .info-cols { grid-template-columns: repeat(2, 1fr); }
    .brand-grid { grid-template-columns: repeat(4, 1fr); }
    .form__row { grid-template-columns: 1fr 1fr; }
    .added { align-items: center; justify-content: center; }
    .added__panel { width: 460px; border-radius: var(--radius-xl); }
    .line { grid-template-columns: 120px 1fr auto; gap: 18px; }
    .line__img img { width: 120px; height: 120px; }
    .line__side { grid-column: auto; flex-direction: column; align-items: flex-end; text-align: right; }
    .line__qty { margin-left: 0; margin-top: 6px; }
    .review-summary { grid-template-columns: 140px 1fr auto; }
    .az { grid-template-columns: repeat(3, 1fr); }
    .help-tiles { grid-template-columns: repeat(4, 1fr); }
    .svc-feature { grid-template-columns: 1fr 1fr; gap: 32px; }
    .compare-tray__items { display: flex; }
    .gallery__main { margin: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
    .finance-cards { grid-template-columns: 1fr 1fr; }
    .usps { grid-template-columns: repeat(3, 1fr); }
}


/* ==========================================================================
   >= 768px
   ========================================================================== */
@media (min-width: 768px) {
    .hero-slide { display: block; min-height: 400px; }
    .hero-slide img { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; }
    .hero-slide__copy {
        position: relative; z-index: 1; width: 50%; min-height: 400px; height: 100%; justify-content: center;
        padding: 36px 90px 56px 36px; border-radius: 0 120px 120px 0 / 0 50% 50% 0;
    }
    .hero-slider .round-btn { bottom: 18px; }
    .hero-slider .round-btn--prev { right: 70px; }
    .hero-slider .round-btn--next { right: 20px; }
    .hero-slider__dots { left: 36px; bottom: 22px; }
    .hero-side { grid-auto-flow: row; grid-template-columns: 2fr 1fr 1fr; grid-auto-columns: auto; overflow: visible; margin: 0; padding: 0; }
    .hero-panel { min-height: 200px; }
    .hero-panel__copy { min-height: 200px; }
}

/* ==========================================================================
   >= 900px
   ========================================================================== */
@media (min-width: 900px) {
    body { font-size: 15px; }
    h1 { font-size: 1.75rem; }


    .home-hero { padding-top: 24px; }
    .home-section { padding: 28px 0; }
    .home-section__head h2 { font-size: 1.68rem; }
    .rail__btn { display: grid; }
    .rail__track { grid-auto-columns: calc((100% - 3 * 16px) / 4); gap: 16px; margin: 0; padding: 4px 0 10px; }
    .tabs__list { margin: 0 0 16px; padding: 2px 0; }
    .brand-grid { grid-template-columns: repeat(6, 1fr); }
    .quote-grid, .guide-grid { grid-template-columns: repeat(3, 1fr); }
    .store-grid, .info-cols { grid-template-columns: repeat(3, 1fr); }

    /* Listing with sidebar */
    .listing-head { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 24px; }
    .listing-head h1 { font-size: 1.75rem; }
    .quick-links { grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 12px; }
    .quick-links .chips--scroll { margin: 0; padding: 2px 0; }
    .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
    .grid--wide { grid-template-columns: repeat(4, minmax(0, 1fr)); }

    /* Product page: gallery left, buy box right */
    .pdp { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); grid-template-areas: "gallery title" "gallery buy"; grid-template-rows: auto 1fr; column-gap: 40px; row-gap: 12px; margin-top: 8px; }
    .pdp__gallery { display: grid; grid-template-columns: 76px 1fr; gap: 12px; align-self: start; position: sticky; top: 16px; }
    .gallery__main { grid-column: 2; grid-row: 1; }
    .gallery__thumbs { grid-column: 1; grid-row: 1; flex-direction: column; margin: 0; contain: size; overflow: hidden auto; } /* as tall as the photo; more thumbnails scroll */
    .gallery__thumbs img { width: 72px; height: 72px; }
    .pdp__title h1 { font-size: 1.75rem; }
    .subnav { margin-left: 0; margin-right: 0; padding: 0; }
    .subnav a { padding: 14px 16px; }
    .pdp-overview { grid-template-columns: 1fr 300px; gap: 48px; }
    .pdp-section { padding: 40px 0; }
    .sticky-buy { display: none; }
    body.has-sticky .compare-tray { bottom: 0; }
    .page-product .footer__legal { padding-bottom: 26px; }

    .basket { grid-template-columns: 1fr 360px; gap: 40px; align-items: start; }
    .basket .summary { position: sticky; top: 16px; }
    .checkout { grid-template-columns: 1fr 380px; gap: 32px; align-items: start; }
    .panel { padding: 24px; }
    .slots__list { grid-auto-flow: row; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); overflow: visible; }
    .help-layout { grid-template-columns: 1fr 340px; gap: 48px; }
    .prose--cols { grid-template-columns: repeat(3, 1fr); }
    .az { grid-template-columns: repeat(4, 1fr); }
    .progress li { font-size: .8125rem; }
    .finance-strip { grid-template-columns: 1.2fr 1.3fr auto; padding: 26px 32px; gap: 32px; }
    .showroom { grid-template-columns: 1.4fr 1fr; gap: 32px; }
    .showroom__map, .showroom__map iframe { min-height: 440px; }
}


/* ==========================================================================
   >= 992px: four promo cards side by side
   ========================================================================== */
@media (min-width: 992px) {
    .promo-band__list { grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
    .home-section__nav { display: none; }
    .home-section__nav--always { display: flex; }
    .xgrid { grid-auto-flow: row; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: visible; margin: 0; padding: 4px 0 8px; }
}

/* ==========================================================================
   >= 1200px
   ========================================================================== */
@media (min-width: 1200px) {
    .hero-grid { grid-template-columns: minmax(0, 2.05fr) minmax(0, 1fr); gap: 20px; }
    .hero-slide, .hero-slide__copy { min-height: 486px; }
    .hero-slide__copy { width: 46%; padding-left: 44px; }
    .hero-slide__title { font-size: 2.375rem; }
    .hero-side { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px 16px; }
    .hero-panel--wide { grid-column: 1 / -1; }
    .hero-panel, .hero-panel__copy { min-height: 0; }
    .hero-panel__title { font-size: 1.25rem; }


    /* Hover a card: it grows to 3fr and switches to its wide layout */
    .xgrid { grid-template-columns: 3fr 1fr 1fr 1fr; gap: 20px; transition: grid-template-columns .55s var(--ease); }
    .xgrid[data-active="1"] { grid-template-columns: 1fr 3fr 1fr 1fr; }
    .xgrid[data-active="2"] { grid-template-columns: 1fr 1fr 3fr 1fr; }
    .xgrid[data-active="3"] { grid-template-columns: 1fr 1fr 1fr 3fr; }
    .xcard { height: 369px; }
    .xgrid--tall .xcard { height: 440px; }
    .xcard.is-wide .xcard__img { left: 40%; width: 60%; height: 100%; }
    .xcard.is-wide .xcard__panel, .xgrid--tall .xcard.is-wide .xcard__panel {
        width: 55%; height: 100%; align-items: flex-start; text-align: left; padding: 40px 90px 40px 48px;
        border-radius: 0 150px 150px 0 / 0 50% 50% 0;
    }
    .xcard.is-wide .xcard__title { font-size: 2.5rem; }
    .xcard.is-wide .xcard__text { font-size: 1rem; max-width: 36ch; }
    .xcard.is-wide .xcard__icon { display: grid; }
    .xcard.is-wide .xcard__cta { display: inline-flex; }
    .xcard.is-wide .xcard__btn { display: inline-flex; }
    .xcard.is-wide .xcard__panel > * { animation: rise .5s var(--ease) backwards .15s; }
    .xcard--light.is-wide .xcard__kicker { font-size: 1rem; }
    .xcard--light.is-wide .xcard__price { font-size: 1.375rem; }
    .xcard--cutout.is-wide .xcard__img { padding: 32px 32px 32px 90px; }
    .xcard--rating.is-wide .xcard__art { padding: 0 0 0 60px; }
    .xcard:hover { transform: none; }

    .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .rail__track { grid-auto-columns: calc((100% - 4 * 16px) / 5); }
}

/* ==========================================================================
   Client feedback round 2 (Sept 2026)
   ========================================================================== */

/* Product cut-outs on grey tiles: no white boxes */
.is-cut { object-fit: contain; }
.is-flat { object-fit: contain; mix-blend-mode: multiply; }

/* WhatsApp buttons */
.btn--wa { background: #25d366; color: #fff; }
.btn--wa:hover { background: #1fb457; color: #fff; }
.btn--ghost-light { background: transparent; border-color: rgba(255, 255, 255, .5); color: #fff; }
.btn--ghost-light:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .08); }
.offer-card__icon--wa { background: #25d366 !important; color: #fff; }

/* Home: manufacturer banner slides fill the slide */
.hero-slide--banner img { aspect-ratio: 2 / 1; }
.home-section__note { margin: 0; font-size: .875rem; color: var(--muted); }

/* Home: View the range */
.range-tiles { display: grid; grid-auto-flow: column; grid-auto-columns: 30%; grid-template-rows: repeat(2, auto); gap: 14px 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); padding: 4px var(--gutter) 8px; }
.range-tiles::-webkit-scrollbar { display: none; }
.range-tiles li { scroll-snap-align: start; }
.range-tile { display: flex; flex-direction: column; align-items: center; gap: 8px; text-decoration: none; text-align: center; }
.range-tile__pic {
    position: relative; display: block; width: 100%; aspect-ratio: 1; overflow: hidden; border-radius: var(--radius-xl); background: #eef0f3;
    transition: background-color .25s, transform .3s var(--ease), box-shadow .3s var(--ease);
}
.range-tile__pic img { position: absolute; inset: 14%; width: 72%; height: 72%; transition: transform .35s var(--ease); }
.range-tile__name { font-size: .875rem; font-weight: 700; line-height: 1.25; color: var(--ink); }
.range-tile:hover .range-tile__pic { background: #e6e8ec; transform: translateY(-4px); box-shadow: 0 10px 22px rgba(22, 24, 29, .1); }
.range-tile:hover .range-tile__pic img { transform: scale(1.07); }
.range-tile:hover .range-tile__name { color: var(--brand); }

/* Home: Today's hot offer */
.dotd { border: 2px solid var(--brand); border-radius: var(--radius-xl); overflow: hidden; background: #fff; }
.dotd__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 12px; padding: 12px 18px; background: var(--brand); color: #fff; }
.dotd__head h2 { margin: 0; font-size: 1.25rem; color: #fff; display: flex; align-items: center; gap: 6px; }
.dotd__head h2 .icon { fill: #fff; stroke: none; }
.dotd__timer { margin: 0; font-weight: 600; }
.dotd__timer span { font-variant-numeric: tabular-nums; font-weight: 800; background: rgba(0, 0, 0, .22); padding: 3px 10px; border-radius: 999px; margin-left: 4px; }
.dotd__body { display: grid; gap: 18px; padding: 18px; }
.dotd__img { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius-lg); background: #eef0f3; }
.dotd__img img { position: absolute; inset: 8%; width: 84%; height: 84%; transition: transform .4s var(--ease); }
.dotd__img:hover img { transform: scale(1.05); }
.dotd__brand { margin: 0 0 2px; font-size: .875rem; font-weight: 800; color: var(--brand); }
.dotd__name { font-size: 1.25rem; }
.dotd__name a { text-decoration: none; }
.dotd .ticks { margin: 10px 0; }
.dotd .price { margin-top: 12px; }
.dotd .stock { margin: 6px 0 0; }
.dotd__cta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }

/* Brand logos (drop files in assets/img/brands/) */
.brand-pills img { max-width: 70%; max-height: 30px; width: auto; }

/* Home: Visit our showroom */
.showroom-band { display: grid; border-radius: var(--radius-xl); overflow: hidden; background: var(--ink); color: #fff; }
.showroom-band__copy { padding: 26px 22px; }
.showroom-band .eyebrow { color: var(--brand-light); }
.showroom-band h2 { font-size: 1.625rem; color: #fff; }
.showroom-band address { font-size: 1.0625rem; margin-bottom: 14px; }
.showroom-band .hours > div { border-color: rgba(255, 255, 255, .15); }
.showroom-band__img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.showroom-band__ctas { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }

/* WhatsApp / contact launcher (as on the eSIM Retailer site) */
.chat-widget { position: fixed; right: 16px; bottom: 16px; z-index: 100; }
.chat-fab {
    display: flex; align-items: center; justify-content: center; gap: 8px; height: 56px; min-width: 56px; padding: 0 16px; margin-left: auto;
    border: 0; border-radius: 999px; background: #25d366; color: #fff; font-weight: 700; font-size: 1rem;
    box-shadow: 0 10px 26px rgba(37, 211, 102, .35), 0 2px 6px rgba(0, 0, 0, .18); transition: transform .18s ease, box-shadow .18s ease;
}
.chat-fab:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 14px 30px rgba(37, 211, 102, .45); }
.chat-fab:active { transform: scale(.96); }
.chat-fab__icon { display: grid; place-items: center; transition: transform .22s ease; }
.chat-fab__icon .icon { width: 28px; height: 28px; }
.chat-fab__icon--close { display: none; }
.chat-fab__label { display: none; }
.chat-widget.is-open .chat-fab { padding: 0; width: 56px; }
.chat-widget.is-open .chat-fab__icon--open, .chat-widget.is-open .chat-fab__label { display: none; }
.chat-widget.is-open .chat-fab__icon--close { display: grid; animation: spin-in .22s ease; }
@keyframes spin-in { from { transform: rotate(-90deg) scale(.6); opacity: 0; } }
.chat-panel {
    position: absolute; right: 0; bottom: 70px; width: 340px; max-width: calc(100vw - 32px); overflow: hidden;
    background: #fff; border-radius: 20px; box-shadow: 0 24px 60px rgba(15, 23, 42, .24), 0 4px 14px rgba(15, 23, 42, .12);
    transform-origin: bottom right; animation: pop .22s cubic-bezier(.16, 1, .3, 1);
}
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.96); } }
.chat-panel__head { position: relative; padding: 20px 22px 22px; background: linear-gradient(135deg, #e0262c, #a80d12); color: #fff; }
.chat-panel__logo { height: 30px; width: auto; margin-bottom: 14px; padding: 4px 8px; background: #fff; border-radius: 8px; }
.chat-panel__title { margin: 0 0 6px; font-size: 1.375rem; font-weight: 800; }
.chat-panel__head p { margin: 0; font-size: .9rem; line-height: 1.5; color: rgba(255, 255, 255, .92); }
.chat-panel__head .chat-panel__title { color: #fff; font-size: 1.375rem; margin-bottom: 6px; }
.chat-panel__close { position: absolute; top: 12px; right: 12px; width: 32px; height: 32px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .18); color: #fff; transition: background-color .15s, transform .15s; }
.chat-panel__close:hover { background: rgba(255, 255, 255, .32); transform: rotate(90deg); }
.chat-panel__close .icon { width: 18px; height: 18px; }
.chat-panel__body { padding: 14px; background: #f7f8fa; }
.chat-panel__label { margin: 2px 6px 10px; font-size: .8125rem; font-weight: 700; color: var(--muted); }
.chat-option {
    display: flex; align-items: center; gap: 14px; padding: 12px 14px; background: #fff; border: 1px solid var(--line); border-radius: 14px;
    text-decoration: none; color: var(--ink); font-weight: 600; transition: transform .14s, box-shadow .14s, border-color .14s;
}
.chat-option + .chat-option { margin-top: 10px; }
.chat-option:hover { transform: translateY(-1px); border-color: #f3b9bb; box-shadow: 0 8px 20px rgba(215, 20, 26, .1); color: var(--ink); }
.chat-option__icon { flex-shrink: 0; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--brand); color: #fff; }
.chat-option__icon .icon { width: 20px; height: 20px; }
.chat-option__icon--wa { background: #25d366; }
.chat-option__icon--ink { background: var(--ink); }
.chat-option__sub { display: block; margin-top: 1px; font-size: .78rem; font-weight: 500; color: var(--muted); }
.page-product .chat-widget { bottom: 84px; }

body.has-compare .chat-widget { bottom: 84px; }
body.filters-open .chat-widget { visibility: hidden; }

/* Category landing pages (Marks "pillar" pages) */
.landing-head { display: grid; gap: 16px; align-items: end; margin: 8px 0 24px; }
.landing-head h1 { margin-bottom: .25em; }
.landing-head__intro { margin: 0; max-width: 70ch; color: var(--muted); }
.landing-head .btn { justify-self: start; }
.landing-block { margin-bottom: 28px; }
.landing-block__title, .shop-by__title { font-size: 1.375rem; margin-bottom: 14px; }
.type-grid { display: grid; gap: 14px; }
.type-card {
    display: grid; grid-template-columns: 110px 1fr; gap: 16px; align-items: start; padding: 16px; border: 1px solid var(--line-2); border-radius: var(--radius-xl);
    transition: border-color .2s, box-shadow .25s, transform .25s var(--ease);
}
.type-card:hover { border-color: var(--brand); box-shadow: 0 10px 24px rgba(22, 24, 29, .08); transform: translateY(-2px); }
.type-card__pic { position: relative; display: block; aspect-ratio: 1; overflow: hidden; border-radius: var(--radius-lg); background: #eef0f3; }
.type-card__pic img { position: absolute; inset: 10%; width: 80%; height: 80%; transition: transform .35s var(--ease); }
.type-card:hover .type-card__pic img { transform: scale(1.06); }
.type-card h3 { margin: 0 0 4px; font-size: 1.125rem; }
.type-card h3 a { color: var(--brand); text-decoration: none; }
.type-card h3 a:hover { text-decoration: underline; }
.type-card__meta { margin: 0 0 8px; font-size: .875rem; color: var(--muted); }
.type-card__meta strong { color: var(--ink); }
.type-card__leaves { margin-bottom: 8px; }
.type-card__leaves a { display: block; padding: 3px 0; font-size: .875rem; text-decoration: none; }
.type-card__leaves a:hover { color: var(--brand); }
.shop-by { display: grid; gap: 14px; margin-bottom: 12px; }
.shop-by__box { padding: 20px; border-radius: var(--radius-xl); background: var(--soft); }
.shop-by__title { font-size: 1.125rem; }
.chip em { font-style: normal; font-weight: 500; opacity: .6; font-size: .8125rem; }
.landing-help { display: grid; gap: 20px; margin: 20px 0 48px; padding: 24px 22px; border-radius: var(--radius-xl); background: var(--soft); }
.landing-help h2 { font-size: 1.5rem; }
.landing-help__ctas { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.landing-help__guides { display: grid; gap: 12px; }
.landing-help .guide-card { background: #fff; }
.landing-help .guide-card img { aspect-ratio: 16 / 7; }
.landing-help .guide-card .eyebrow { margin-bottom: 4px; }

/* Listing toolbar: Marks-style Filters / Sort by buttons on phones */
.toolbar { position: sticky; top: 0; z-index: 30; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0 calc(var(--gutter) * -1) 12px; padding: 8px var(--gutter); background: #fff; }
.toolbar__btn, .toolbar__sort {
    position: relative; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 12px;
    border: 0; border-radius: var(--radius); background: var(--brand); color: #fff; font-weight: 700; font-size: 1rem;
}
.toolbar__sort select { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.toolbar__sort-label { display: inline-flex; align-items: center; gap: 8px; }
.toolbar__count { grid-column: 1 / -1; margin: 2px 0 0; font-size: .875rem; color: var(--muted); }
.toolbar__count strong { color: var(--ink); }

/* List cards: Marks / old-site style rows */
.grid--rows { grid-template-columns: minmax(0, 1fr); gap: 16px; }
.card--row { display: grid; grid-template-columns: 116px minmax(0, 1fr); grid-template-areas: "top top" "media body" "buy buy"; border-width: 1px; border-radius: var(--radius-xl); overflow: visible; }
.card--deal { border: 2px solid var(--brand); }
.card__top { grid-area: top; display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; min-height: 18px; padding: 0 14px 0 0; }
.card__tab { display: inline-flex; align-items: center; gap: 6px; margin: -2px 0 0 -2px; padding: 8px 16px; border-radius: 13px 0 12px 0; background: var(--brand); color: #fff; font-weight: 700; font-size: .875rem; }
.card__tab .icon { width: 16px; height: 16px; fill: #fff; stroke: none; }
.card--row .card__media { grid-area: media; padding: 8px 0 8px 12px; }
.card--row .card__media img { border-radius: var(--radius); }
.card--row .badges { top: 12px; left: 16px; }
.card--row .badge { font-size: .6875rem; padding: 3px 6px; }
.card--row .card__wish { top: auto; bottom: 4px; right: auto; left: 16px; width: 32px; height: 32px; }
.card--row .card__wish .icon { width: 17px; height: 17px; }
.card--row .card__body { grid-area: body; padding: 10px 14px 4px 12px; gap: 3px; }
.card__brandline { margin: 0; font-size: .8125rem; font-weight: 800; color: var(--brand); text-transform: uppercase; letter-spacing: .04em; }
.card--row .card__title { font-size: .9375rem; font-weight: 700; -webkit-line-clamp: 4; }
.card--row .card__title a:hover { text-decoration: underline; }
.card__sp { display: none; margin: 8px 0 2px; font-weight: 800; color: var(--ink); font-size: .9375rem; }
.card--row .card__features { display: block; grid-column: 1 / -1; }
.card__features { list-style: disc; padding-left: 18px; }
.card__features li { padding: 1px 0; font-size: .8125rem; line-height: 1.4; }
.card__features li:nth-child(n+4) { display: none; }
.card__badges { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 8px; }
.card__badges .energy { margin: 0; height: 24px; font-size: .875rem; padding: 0 16px 0 8px; }
.warranty { display: inline-flex; align-items: center; gap: 6px; font-size: .6875rem; font-weight: 800; line-height: 1.05; text-transform: uppercase; color: var(--ink); }
.warranty__n {
    display: grid; place-items: center; width: 30px; height: 34px; padding-bottom: 3px; font-size: .9375rem; font-weight: 800; color: #fff; background: var(--ink);
    clip-path: polygon(50% 0, 100% 14%, 100% 58%, 50% 100%, 0 58%, 0 14%);
}
.card--row .card__buy { grid-area: buy; gap: 8px; margin: 4px 12px 12px; padding: 14px; border-radius: var(--radius-lg); background: var(--soft); }
.card--row .price { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; }
.card--row .price__now { font-size: 1.875rem; line-height: 1; }
.card--row .price__save { font-size: .9375rem; }
.card__klarna { margin: 0; font-size: .8125rem; }
.card__klarna .pay-klarna { font-size: .75rem; padding: 0 6px; }
.card__ticks { display: grid; gap: 3px; margin: 2px 0 4px; }
.card__ticks li { display: flex; align-items: flex-start; gap: 6px; font-size: .8125rem; line-height: 1.3; color: var(--ink); }
.card__ticks .icon { width: 16px; height: 16px; margin-top: 1px; color: var(--ok); stroke-width: 2.5; }
.card__tick--low .icon { color: var(--warn); }
.card__tick--due .icon { color: #1d5fa8; }
.card__tick--out { color: var(--muted) !important; }
.card__tick--out .icon { color: var(--muted); }
.card__tick--extra { display: none !important; }
.card--row .card__cta .btn, .card__view { min-height: 44px; }
.card__view { background: #fff; }

/* Compare switch (Marks toggle) */
.switch { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-size: .8125rem; font-weight: 600; color: var(--ink); }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch__track { position: relative; width: 36px; height: 20px; border-radius: 10px; background: #dfe2e6; transition: background-color .2s; }
.switch__track::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .2s var(--ease); }
.switch input:checked + .switch__track { background: var(--brand); }
.switch input:checked + .switch__track::after { transform: translateX(16px); }
.switch input:focus-visible + .switch__track { outline: 2px solid var(--ink); outline-offset: 2px; }
.card--row .card__compare { padding-top: 10px; }
.card:not(.card--row) .card__compare { justify-content: center; margin-top: 2px; color: var(--muted); }

@media (min-width: 600px) {
    .range-tiles { grid-auto-columns: 18%; }
    .dotd__body { grid-template-columns: 300px 1fr; align-items: center; }
    .showroom-band__copy { padding: 32px; }
    .type-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .shop-by { grid-template-columns: 1fr 1fr; }
    .landing-help__guides { grid-template-columns: repeat(2, 1fr); }


    .card--row { grid-template-columns: 170px minmax(0, 1fr) 250px; grid-template-areas: "top top top" "media body buy"; }
    .card--row .card__media { padding: 8px 0 20px 18px; }
    .card--row .card__wish { bottom: 12px; left: 22px; }
    .card--row .card__body { padding: 8px 16px 20px 18px; gap: 4px; }
    .card--row .card__title { font-size: 1.0625rem; }
    .card__sp { display: block; }
    .card__features li:nth-child(n+4) { display: list-item; }
    .card--row .card__buy { margin: 0 16px 16px 0; align-self: start; }
    .card--row .price { flex-direction: column; align-items: flex-start; gap: 2px; }
    .card--row .price__now { font-size: 2rem; }
    .card--row .badge { font-size: .8125rem; padding: 5px 10px; }
}

@media (min-width: 900px) {
    .range-tiles { grid-auto-flow: row; grid-template-columns: repeat(8, 1fr); grid-template-rows: none; overflow: visible; margin: 0; padding: 4px 0 0; gap: 18px 14px; }
    .dotd__body { grid-template-columns: 380px 1fr; gap: 36px; padding: 26px 34px; }
    .dotd__name { font-size: 1.5rem; }
    .showroom-band { grid-template-columns: 1.1fr 1fr; }
    .showroom-band__copy { padding: 40px 44px; align-self: center; }
    .showroom-band__img { height: 100%; aspect-ratio: auto; }
    .chat-fab__label { display: inline; }
    .chat-widget { right: 22px; bottom: 22px; }
    .page-product .chat-widget { bottom: 22px; }
    .landing-head { grid-template-columns: 1fr auto; }
    .type-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .type-card { grid-template-columns: 130px 1fr; padding: 20px; }
    .landing-help { grid-template-columns: 1fr 1.2fr; align-items: center; padding: 34px 40px; gap: 36px; }
    .card--row { grid-template-columns: 210px minmax(0, 1fr) 280px; }
    .card--row .card__media { padding-left: 24px; }
    .card--row .card__wish { left: 28px; }
    .card--row .card__body { padding: 8px 24px 22px 24px; }
    .card--row .card__title { font-size: 1.125rem; }
    .card__tick--extra { display: flex !important; }
}

@media (min-width: 1200px) {
    .card--row { grid-template-columns: 230px minmax(0, 1fr) 300px; }
}

/* ==========================================================================
   Marks Electrical breakpoints: 576 / 768 / 992 / 1200px.
   Phones and tablets behave like markselectrical.co.uk. Kept last so it wins.
   ========================================================================== */
.home-section__head h2 { font-size: 1.68rem; }
.mega__all { margin: 0; padding: 12px 0 4px; }

/* Narrow-screen fixes found by measuring every width */
.type-card { min-width: 0; }
.type-card__text { min-width: 0; }
.type-card .link-more { white-space: normal; }
.fulfil__area { flex-wrap: wrap; }
.fulfil__area select { max-width: 100%; }

/* Swipe rows (Swiper on Marks): fixed-width slides, 20px apart, scroll bar underneath */
.hero-side-wrap { display: flex; flex-direction: column; min-width: 0; }
.hero-side { flex: 1; }
.scrollbar { margin-top: 14px; }
.scrollbar--wide { width: 80%; max-width: none; }

/* Brands: 2 / 3 / 5 / 9 across, each a 160px pill (Marks brandSwiper) */
.brand-pills { gap: 20px; padding: 16px 0; }
.brand-pills li { flex: 0 0 calc((100% - 20px) / 2); display: flex; justify-content: center; }
.brand-pills a { width: 160px; max-width: 100%; }

/* Footer: one centred column on phones, then 2 / 3 / 6 link columns */
.footer__links { grid-template-columns: 1fr; gap: 20px 24px; text-align: center; }
.footer__links li { padding: 8px 0; }

@media (max-width: 575.98px) {
    .home-section__head { flex-direction: column; justify-content: center; gap: 4px; text-align: center; }
    .home-section__nav, .rail__controls .round-btn, .rail__btn, .hero-slider .round-btn { display: none !important; }
}

/* List cards on phones (their own breakpoint, 600px): the badges go under the small photo instead of
   covering it; the wishlist button (in its form, placed straight after the photo) stays on the photo's corner */
@media (max-width: 599.98px) {
    .card--row .card__media { display: flex; flex-direction: column; }
    .card--row .card__media form { position: relative; order: 1; }
    .card--row .card__wish { bottom: 0; left: 4px; }
    .card--row .badges { position: static; order: 2; margin-top: 8px; }
}

/* Small phones: tighter icons so the logo keeps its size (Marks swaps to an initials logo here) */
@media (max-width: 479.98px) {
    .header__inner { column-gap: 4px; }
    .nav-toggler { width: 44px; height: 38px; }
    .nav-toggler__icon { width: 22px; height: 16px; }
    .header__search-toggle { min-width: 32px; }
    .header__actions .icon-btn { min-width: 28px; }
    .header__actions .icon-btn .icon, .header__search-toggle .icon { width: 21px; height: 21px; }
}

@media (max-width: 767.98px) {
    .hero-side { grid-auto-columns: 260px; gap: 20px; }
    .hero-panel, .hero-panel__copy { min-height: 237px; }
}

@media (max-width: 991.98px) {
    .xgrid { grid-auto-columns: 260px; gap: 20px; }
    .xcard { height: 369px; }
    .xgrid--tall .xcard { height: 440px; }
}

@media (min-width: 576px) {
    .usp-strip__list li.usp-strip__sm { display: flex; }
    .brand-pills li { flex-basis: calc((100% - 40px) / 3); }
    .footer__links { grid-template-columns: repeat(2, 1fr); }
}

/* ---- 768px: desktop header and menu bar (Marks: d-md-block / navbar-expand-md) ---- */
@media (min-width: 768px) {
    .header__inner { grid-template-columns: minmax(0, 3fr) minmax(0, 4.5fr) minmax(0, 4.5fr); grid-template-areas: "logo search actions"; column-gap: 24px; padding-top: 12px; padding-bottom: 4px; }
    .header__left { display: none; }
    .logo { justify-content: flex-start; }
    .js .search:not(.is-open), .search { display: flex; flex-direction: row; padding: 0; }
    .search__field { flex: 1; }
    .search__btn { display: grid; }
    .search__submit { display: none; }
    .search input { padding-right: 70px; }
    .header__actions { justify-self: end; }
    .header__actions .icon-btn { min-width: 60px; min-height: 44px; padding: 4px; }
    .header__actions .icon-btn .icon { width: 25px; height: 25px; }
    .icon-btn--mob { display: none; }
    .icon-btn--desk { display: inline-flex; }
    .icon-btn__label { display: block; }
    .icon-btn:hover .icon-btn__label { color: var(--brand); }
    .header__actions .count { top: -4px; right: 10px; }

    .js .nav:not(.is-open), .nav { display: block; position: relative; z-index: 60; }
    .nav.is-open { animation: none; }
    .nav__item--mob, .nav__icon, .nav__chev, .mega__all { display: none; }
    .nav__list { display: flex; justify-content: space-between; gap: 4px; padding: 6px 0 10px; }
    .nav__item { flex: 1 1 auto; border: 0; }
    .nav__link {
        justify-content: center; min-height: 40px; padding: 0 12px; font-size: .9375rem; font-weight: 600; color: var(--ink);
        white-space: nowrap; transition: background-color .15s, color .15s;
    }
    .nav__link:hover, .nav__link[aria-expanded="true"] { background: var(--brand); color: #fff; }
    .nav__link--deals { color: var(--brand); }
    .nav__link--deals:hover { background: var(--brand); color: #fff; }

    .mega { position: absolute; left: 0; right: 0; top: 100%; margin: 0; padding: 0; border: 0; border-top: 1px solid var(--line); border-radius: 0; box-shadow: 0 18px 36px rgba(22, 24, 29, .16); }
    .nav__link[aria-expanded="true"] + .mega { animation: mega-in .2s var(--ease); }
    .mega__inner { max-width: 1600px; margin: 0 auto; padding: 16px var(--gutter) 24px; }
    .mega__grid { display: grid; grid-template-columns: repeat(2, 1fr); }
    .mega__item { display: grid; grid-template-columns: 110px 1fr; gap: 16px; align-items: start; margin: 12px 0; padding: 16px; border: solid var(--brand); border-width: 0 1px 1px 0; }
    .mega__item:nth-child(2n) { border-right-width: 0; }
    .mega__item:nth-child(2n+1):nth-last-child(-n+2), .mega__item:nth-child(2n+1):nth-last-child(-n+2) ~ .mega__item { border-bottom-width: 0; }
    .mega__img { display: block; }
    .mega__img img { width: 110px; height: 110px; object-fit: contain; transition: transform .3s var(--ease); }
    .mega__item:hover .mega__img img { transform: scale(1.06); }
    .mega__heading { padding: 0 0 4px; }
    .mega__heading:hover { text-decoration: underline; }
    .mega__leaves { margin-top: 6px; }
    .mega__leaves a { padding: 3px 0; font-size: .875rem; }
    .mega__leaves a:hover { color: var(--brand); }
    .mega__foot { gap: 12px; padding: 16px 0 0; }
    .mega__foot .btn { min-width: 240px; }
    .mega__shop-all { display: inline-flex; }

    .usp-strip__list li.usp-strip__md { display: flex; }

    .offer-row { grid-template-columns: repeat(3, 1fr); gap: 16px; }
    .brand-pills li { flex-basis: calc((100% - 80px) / 5); }

    .footer__top { grid-template-columns: 1fr 1fr; text-align: left; }
    .footer__block--wide { grid-column: 1 / -1; }
    .footer__social, .pay-icons { justify-content: flex-start; }
    .newsletter__form { margin-left: 0; }
    .footer__links { grid-template-columns: repeat(3, 1fr); text-align: left; }
    .footer__links li { padding: 4px 0; }
}
@keyframes mega-in { from { opacity: 0; transform: translateY(-6px); } }

/* 768-991px: Marks shrinks the header and menu text to fit */
@media (min-width: 768px) and (max-width: 991.98px) {
    .header__inner { column-gap: 16px; }
    .search input { font-size: .6875rem; }
    .header__actions .icon-btn { min-width: 44px; }
    .header__actions .icon-btn .icon { width: 20px; height: 20px; }
    .icon-btn__label { font-size: .6875rem; line-height: 1rem; }
    .nav__link { min-height: 34px; padding: 0 4px; font-size: .6875rem; }
    .usp-strip a { font-size: .6875rem; }
    .usp-strip__rating a { font-size: .875rem; }
    .offer-card { flex-direction: column; align-items: flex-start; }
}
@media (min-width: 768px) and (max-width: 1199.98px) {
    .nav__item--xl { display: none; }
}
@media (min-width: 992px) and (max-width: 1199.98px) {
    .nav__link { padding: 0 8px; font-size: .8125rem; }
}

/* ---- 992px: 3-column mega menu, filter sidebar on product lists ---- */
@media (min-width: 992px) {
    .mega__grid { grid-template-columns: repeat(3, 1fr); }
    .mega__item:nth-child(2n) { border-right-width: 1px; }
    .mega__item:nth-child(3n) { border-right-width: 0; }
    .mega__item:nth-child(2n+1):nth-last-child(-n+2), .mega__item:nth-child(2n+1):nth-last-child(-n+2) ~ .mega__item { border-bottom-width: 1px; }
    .mega__item:nth-child(3n+1):nth-last-child(-n+3), .mega__item:nth-child(3n+1):nth-last-child(-n+3) ~ .mega__item { border-bottom-width: 0; }

    .footer__top { grid-template-columns: 1fr 1fr 2fr; }
    .footer__block--wide { grid-column: auto; }
    .footer__links { grid-template-columns: repeat(6, 1fr); }

    .toolbar { position: static; display: flex; flex-wrap: wrap; align-items: center; margin: 0 0 14px; padding: 0; }
    .toolbar__count { order: -1; grid-column: auto; margin: 0 auto 0 0; font-size: .9375rem; }
    .toolbar__sort { min-height: 0; padding: 0; background: none; color: var(--muted); font-weight: 400; font-size: .9375rem; gap: 8px; }
    .toolbar__sort-label .icon { display: none; }
    .toolbar__sort select { position: static; width: auto; height: 40px; opacity: 1; color: var(--ink); }
    .toolbar__filter { display: none; }
    .listing { display: grid; grid-template-columns: 270px 1fr; gap: 36px; align-items: start; }
    .filters { position: sticky; top: 16px; inset: auto; z-index: 1; width: auto; transform: none; visibility: visible; max-height: calc(100vh - 32px); background: #fff; }
    .filters__head { border-bottom: 0; padding: 0 0 12px; }
    .filters__head .icon-btn { display: none; }
    .filters__backdrop { display: none !important; }
    .facet { padding: 0; }
    .filters form { scrollbar-width: thin; padding-right: 12px; }
    .filters__foot { grid-template-columns: 1fr; padding: 16px 0 0; border-top: 0; }
    .filters__foot .btn--primary { display: none; }
}

@media (min-width: 1200px) {
    .usp-strip__list li.usp-strip__xl { display: flex; }
    .brand-pills li { flex-basis: calc((100% - 160px) / 9); }
}
@media (min-width: 1200px) and (max-width: 1399.98px) {
    .usp-strip__list li { padding: 0 12px; }
    .usp-strip a { font-size: .8125rem; }
    .usp-strip__rating a { font-size: .875rem; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
    .js [data-reveal]:not(.is-visible) > * { opacity: 1; }
}

/* ==========================================================================
   Multibuy, postcode panel and basket (client round 3, Oct 2026).
   Basket after Marks Electrical; postcode panel and Multibuy after Appliance World.
   ========================================================================== */

/* Multibuy bar above the header (Appliance World: "Buy more & save with Multibuy") */
.promo-bar { display: block; padding: 7px var(--gutter); background: var(--brand); color: #fff; text-align: center; text-decoration: none; font-size: .8125rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; line-height: 1.3; }
.promo-bar:hover { background: var(--brand-700); color: #fff; }
.promo-bar__more { display: none; font-weight: 500; letter-spacing: 0; text-transform: none; }

.mb-badge { display: inline-flex; align-items: center; padding: 2px 9px; border-radius: 999px; background: var(--brand); color: #fff; font-size: .75rem; font-weight: 800; letter-spacing: .02em; line-height: 1.4; vertical-align: 1px; white-space: nowrap; }
.mb-badge--sm { padding: 0 7px; font-size: .6875rem; }
.mb-badge--ink { background: var(--ink); }

/* Postcode panel: bottom sheet on phones, centred dialog from 600px */
.pc-modal { position: fixed; inset: 0; z-index: 115; display: none; align-items: flex-end; justify-content: center; }
.pc-modal:target, .pc-modal.is-open { display: flex; }
.pc-modal__backdrop { position: absolute; inset: 0; background: rgba(22, 24, 29, .55); }
.pc-modal__panel { position: relative; width: 100%; max-height: 100%; overflow-y: auto; background: #fff; border-radius: var(--radius-xl) var(--radius-xl) 0 0; box-shadow: var(--shadow-lg); animation: slide-up .25s var(--ease); }
.pc-modal__head { display: flex; align-items: center; gap: 10px; padding: 16px 12px 16px 20px; background: var(--brand); color: #fff; }
.pc-modal__head > div { flex: 1; min-width: 0; }
.pc-modal__head h2 { margin: 0; color: #fff; font-size: 1.25rem; }
.pc-modal__pc { margin: 2px 0 0; font-weight: 700; letter-spacing: .04em; }
.pc-modal__pc:empty { display: none; }
.pc-modal__close, .pc-modal__close:hover { color: #fff; }
.pc-modal__body { padding: 20px; }
.pc-step { min-width: 0; margin: 0; padding: 0; border: 0; }
.pc-step + .pc-step { margin-top: 20px; }
.pc-step__label { display: block; margin: 0 0 8px; padding: 0; font-weight: 700; color: var(--ink); }
.pc-step .inline-form input, .pc-card input, .finder__row input { text-transform: uppercase; }
.pc-step .inline-form input::placeholder, .pc-card input::placeholder, .finder__row input::placeholder { text-transform: none; }
.pc-step .inline-form input { min-height: 48px; }
.pc-step .inline-form .btn { min-height: 48px; }
.pc-step .hint { margin-top: 8px; }
.pc-step .field-error { margin-top: 8px; }
.pc-step .choice-row { margin-bottom: 12px; }
.pc-step [data-pc-fitting] { margin: 0 0 14px; font-size: .875rem; align-items: flex-start; }
.pc-modal__help { margin: 16px 0 0; text-align: center; font-size: .875rem; color: var(--muted); }
.pc-modal__help a { color: var(--brand); font-weight: 700; text-decoration: none; }

/* Basket head: title, delivery / collection toggle, checkout steps */
.basket-head { display: grid; gap: 16px; margin: 20px 0 18px; }
.basket-head h1 { margin: 0 0 12px; }
.basket-head h1 .muted { font-size: .65em; font-weight: 600; }
.fulfil-toggle fieldset { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; border: 0; }
.fulfil-toggle__opt { position: relative; cursor: pointer; }
.fulfil-toggle__opt input { position: absolute; opacity: 0; }
.fulfil-toggle__opt span {
    display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 18px 0 12px;
    border: 1px solid var(--line-2); border-radius: 999px; background: #fff; color: var(--ink); font-size: .9375rem; font-weight: 600;
    transition: background-color .15s, border-color .15s, color .15s;
}
.fulfil-toggle__opt span::before { content: ""; width: 16px; height: 16px; flex-shrink: 0; border: 2px solid var(--line-2); border-radius: 50%; background: #fff; }
.fulfil-toggle__opt .icon { width: 20px; height: 20px; }
.fulfil-toggle__opt:hover span { border-color: var(--ink-2); }
.fulfil-toggle__opt input:checked + span { background: var(--brand); border-color: var(--brand); color: #fff; }
.fulfil-toggle__opt input:checked + span::before { border-color: #fff; box-shadow: inset 0 0 0 3px var(--brand); }
.fulfil-toggle__opt input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); width: 100%; max-width: 460px; }
.steps li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; font-size: .75rem; font-weight: 600; line-height: 1.25; color: var(--muted); }
.steps li::before { content: ""; position: absolute; top: 15px; left: -50%; width: 100%; height: 2px; background: var(--line); }
.steps li:first-child::before { display: none; }
.steps__n { position: relative; display: grid; place-items: center; width: 32px; height: 32px; border: 2px solid var(--line-2); border-radius: 50%; background: #fff; font-size: .875rem; font-weight: 700; color: var(--muted); }
.steps__n .icon { width: 16px; height: 16px; stroke-width: 2.75; }
.steps .is-current, .steps .is-done { color: var(--ink); }
.steps .is-current::before, .steps .is-done::before { background: var(--brand); }
.steps .is-current .steps__n { border-color: var(--brand); color: var(--brand); box-shadow: 0 0 0 4px var(--brand-50); }
.steps .is-done .steps__n { border-color: var(--brand); background: var(--brand); color: #fff; }

/* Postcode: prompt card until we know it, then a bar with "Change postcode" */
.pc-card { display: grid; gap: 12px; padding: 16px; margin-bottom: 14px; border: 2px solid var(--brand); border-radius: var(--radius-xl); background: var(--brand-50); }
.pc-card h2 { display: flex; align-items: center; gap: 8px; margin: 0 0 2px; font-size: 1.125rem; }
.pc-card h2 .icon { color: var(--brand); }
.pc-card p { margin: 0; font-size: .9375rem; }
.pc-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding: 12px 16px; margin-bottom: 14px; border-radius: var(--radius-lg); background: var(--soft); font-size: .9375rem; }
.pc-bar > .icon { color: var(--brand); }
.pc-bar p { flex: 1; min-width: 200px; margin: 0; }
.pc-bar .link-btn { color: var(--brand); font-weight: 700; }

/* Multibuy banner (where Marks shows its Marks+ membership banner) */
.mb-banner { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px 14px; align-items: start; padding: 16px; margin-bottom: 16px; border: 1px solid #f2b6b8; border-radius: var(--radius-xl); background: var(--brand-50); }
.mb-banner__icon { display: none; place-items: center; width: 48px; height: 48px; border: 2px dashed var(--brand); border-radius: 50%; background: #fff; color: var(--brand); font-size: 1.375rem; font-weight: 800; }
.mb-banner h2 { margin: 0 0 2px; font-size: 1.0625rem; }
.mb-banner p { margin: 0 0 10px; font-size: .9375rem; color: var(--ink-2); }
.mb-banner.is-saving p strong { color: var(--ok); }
.mb-banner__cta { grid-column: 1 / -1; justify-self: start; }
.mb-tiers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.mb-tiers li { display: flex; flex-direction: column; align-items: center; padding: 6px 4px; border: 1px solid var(--line-2); border-radius: var(--radius); background: #fff; text-align: center; font-size: .75rem; line-height: 1.25; color: var(--muted); }
.mb-tiers strong { font-size: .9375rem; color: var(--ink); }
.mb-tiers .is-done { border-color: var(--brand); }
.mb-tiers .is-current { border-color: var(--brand); background: var(--brand); color: #fff; }
.mb-tiers .is-current strong { color: #fff; }

/* Basket items */
.blines { display: grid; gap: 14px; }
.bline { padding: 14px; border: 1px solid var(--line-2); border-radius: var(--radius-xl); background: #fff; }
.bline__item { display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 12px; }
.bline__img img { width: 80px; height: 80px; object-fit: contain; }
.bline__name { margin: 0 0 4px; font-size: 1rem; font-weight: 700; line-height: 1.3; }
.bline__name a { text-decoration: none; }
.bline__sku { margin: 0 0 4px; font-size: .8125rem; }
.bline__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 10px; }
.bline__actions .link-btn { color: var(--brand); font-size: .875rem; text-decoration: none; }
.bline__actions .link-btn:hover { text-decoration: underline; }
.bline__actions .link-btn .icon { width: 14px; height: 14px; }
.bline__price { grid-column: 2; }
.bline__price p { margin: 0; }
.bline__total { font-size: 1.25rem; font-weight: 800; color: var(--ink); }
.bline__price .muted, .bline__price .price__save { font-size: .875rem; }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: 999px; background: var(--soft); }
.stepper button { display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--ink); }
.stepper button:hover:not(:disabled) { color: var(--brand); }
.stepper button:disabled { color: #b5bac2; cursor: default; }
.stepper .icon { width: 16px; height: 16px; stroke-width: 2.25; }
.stepper__n { min-width: 26px; text-align: center; font-weight: 700; color: var(--ink); }
.basket__continue { margin-top: 18px; }

/* Product services: Marks-style pill rows with a round tick */
.bline__services { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.bline__services-title { margin: 0 0 8px; font-size: .9375rem; font-weight: 700; color: var(--ink); }
.svcs { display: grid; gap: 8px; }
.svc { border: 1px solid var(--line-2); border-radius: var(--radius-xl); background: #fff; transition: border-color .15s, box-shadow .15s; }
.svc + .svc { margin-top: 8px; }
.svcs .svc + .svc { margin-top: 0; }
.svc:has(input:checked) { border-color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); }
.svc__row { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; min-height: 50px; padding: 8px 16px 8px 12px; cursor: pointer; }
.svc__row input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.svc__tick { display: grid; place-items: center; width: 24px; height: 24px; flex-shrink: 0; border: 2px solid var(--line-2); border-radius: 50%; background: #fff; color: transparent; }
.svc__tick .icon { width: 14px; height: 14px; stroke-width: 3; }
.svc__row input:checked ~ .svc__tick { border-color: var(--brand); background: var(--brand); color: #fff; }
.svc__row input:focus-visible ~ .svc__tick { outline: 2px solid var(--ink); outline-offset: 2px; }
.svc__name { flex: 1 1 180px; min-width: 0; font-size: .9375rem; font-weight: 600; line-height: 1.3; color: var(--ink); }
.svc__price { font-size: .9375rem; font-weight: 700; white-space: nowrap; color: var(--ink); }
.svc__more { padding: 0 16px 10px 48px; font-size: .875rem; }
.svc__more summary { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
.svc__more summary .icon { width: 14px; height: 14px; transition: transform .2s; }
.svc__more[open] summary .icon { transform: rotate(180deg); }
.svc__more .ticks { margin-top: 6px; }
.svc__more .ticks li { font-size: .875rem; }
.svc.is-off { border-style: dashed; background: var(--soft); }
.svc.is-off .svc__row { cursor: default; }
.svc.is-off .svc__price { color: var(--muted); }
.svc__why { display: block; margin-top: 2px; font-size: .8125rem; font-weight: 500; color: var(--muted); }
.svc__why a { color: var(--brand); }
.svc__na { padding: 5px 12px; border: 1px solid var(--line-2); border-radius: var(--radius); background: #fff; font-size: .8125rem; font-weight: 600; color: var(--muted); white-space: nowrap; }
.svc__btn { min-height: 34px; }

/* Basket summary */
.summary--basket h2 { margin-bottom: 12px; font-size: 1.375rem; }
.promo-inline { margin-bottom: 8px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.promo-inline label { display: block; margin-bottom: 6px; font-size: .875rem; font-weight: 700; color: var(--brand); }
.promo-inline .inline-form input { min-height: 44px; padding: 8px 16px; border-radius: 999px; }
.promo-inline .small { margin: 8px 0 0; }
.summary__rows dd a { color: var(--brand); }
.summary__note { margin: 8px 0 0; text-align: center; font-size: .8125rem; color: var(--muted); }
.pay-icons--sm { gap: 6px; margin: 14px 0 0; }
.pay-icons--sm img { height: 26px; }
.pay-icons--sm .pay-icons__snap { height: 26px; border: 1px solid var(--line); font-size: .75rem; }
.summary__clear { margin: 12px 0 0; text-align: center; }
.summary__clear .link-btn { font-size: .875rem; }
.help-box { margin-top: 16px; padding: 16px; border-radius: var(--radius-lg); background: var(--soft); }
.help-box h3 { margin: 0 0 8px; font-size: 1.0625rem; }
.help-box li { display: flex; align-items: flex-start; gap: 8px; padding: 4px 0; font-size: .875rem; }
.help-box .icon { width: 18px; height: 18px; margin-top: 1px; color: var(--ink-2); }
.help-box a { color: var(--brand); font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.help-box a:hover { text-decoration: underline; }

/* Added-to-basket panel: Multibuy nudge */
.added__multibuy { display: flex; align-items: center; gap: 8px; margin: -4px 0 12px; padding: 10px 12px; border-radius: var(--radius); background: var(--brand-50); color: var(--ink); font-size: .875rem; font-weight: 600; text-decoration: none; }

/* Product page */
.pdp__multibuy, .pdp__sale { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 10px 0 0; font-size: .9375rem; }
.pdp__sale { font-weight: 600; }
.pdp__multibuy a { color: var(--brand); font-weight: 600; }
.services__msg { display: flex; align-items: flex-start; gap: 8px; margin: 0; padding: 10px 12px; border-radius: var(--radius); background: var(--soft); font-size: .875rem; }
.services__msg .icon { width: 18px; height: 18px; margin-top: 1px; color: var(--brand); }
.services__msg a { color: var(--brand); font-weight: 600; }
.service + .services__msg { margin-top: 8px; }
.services__title { margin: 0; font-weight: 700; color: var(--ink); }
.services__list { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.services__list li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 12px; font-size: .875rem; }
.services__list li + li { border-top: 1px solid var(--line); }
.services__list li span:last-child { font-weight: 700; color: var(--ink); white-space: nowrap; }

/* Basket: delivery & installation matrix (choice of floor = round tick; extras = check) */
.svc__tick--radio { position: relative; }
.svc__row input:checked ~ .svc__tick--radio { background: #fff; }
.svc__row input:checked ~ .svc__tick--radio::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: var(--brand); }
.svc--choice .svc__price { font-weight: 600; }
.svc-call { display: flex; align-items: flex-start; gap: 8px; margin: 10px 0 0; padding: 10px 12px; border-radius: var(--radius); background: var(--brand-50); font-size: .875rem; color: var(--ink); }
.svc-call .icon { width: 18px; height: 18px; margin-top: 1px; color: var(--brand); }
.summary__note .icon { width: 14px; height: 14px; color: var(--brand); }

/* Checkout: delivery method outside the local area */
.ship-methods { min-width: 0; margin: 0 0 14px; padding: 0; border: 0; }
.ship-methods legend { margin-bottom: 8px; padding: 0; font-weight: 600; color: var(--ink); }
.ship-methods .pay-list { margin-bottom: 0; }
.ship-methods__price { margin-left: 6px; color: var(--brand); }
.ship-methods .choice.is-off { cursor: default; }
.ship-methods .choice.is-off .choice__body { background: var(--soft); border-style: dashed; opacity: .75; }
.ship-methods .choice.is-off .ship-methods__price { color: var(--muted); }
.ship-methods__extra { margin: -2px 0 4px 42px; font-size: .875rem; }
.ship-methods__extra.is-off { opacity: .55; cursor: not-allowed; }

/* Checkout: a way to pay not set up or not live yet (Admin > Payments) shows greyed out */
.pay-list .choice.is-off { cursor: not-allowed; }
.pay-list .choice.is-off .choice__body { background: var(--soft); border-style: dashed; color: var(--muted); }
.pay-list .choice.is-off:hover .choice__body { border-color: var(--line-2); }
.choice__tag { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: var(--line); color: var(--muted); font-size: .75rem; font-weight: 600; vertical-align: 1px; }
.choice__tag--test { background: #fff4d6; color: #7a5a00; }
.basket-ship { margin: 0 0 16px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius-lg, 12px); background: #fff; }
.basket-ship .ship-methods { margin: 0; padding: 0; border: 0; }
.basket-ship legend { margin-bottom: 10px; font-weight: 800; font-size: 1.0625rem; color: var(--ink); }

/* Delivery & installation page: one price table per group */
.svc-group { margin: 28px 0; }
.svc-group h2 { margin-bottom: 4px; }
.svc-group > .muted { margin: 0 0 12px; }

/* Checkout: postcode finder (Marks "Enter your delivery address") */
.page-head--checkout { align-items: center; gap: 16px; }
.page-head--checkout h1 { margin: 6px 0 0; }
.finder { margin-bottom: 4px; }
.finder__title { margin: 4px 0 12px; font-size: 1.0625rem; }
.finder__row { display: flex; gap: 8px; }
.finder__row input { flex: 1; min-width: 0; }
.finder__find { display: none; flex-shrink: 0; min-height: 46px; }
.js .finder__find { display: inline-flex; }
.finder__manual { margin: -4px 0 14px; font-size: .9375rem; color: var(--muted); }
.finder__manual .link-btn { padding: 0; color: var(--brand); font-weight: 600; }

/* Multibuy page */
.mb-hero { display: grid; gap: 18px; margin: 8px 0 16px; padding: 22px 18px; border-radius: var(--radius-xl); background: var(--ink); color: #fff; }
.mb-hero h1 { margin-bottom: .3em; color: #fff; font-size: 1.75rem; }
.mb-hero .eyebrow { color: var(--brand-light); }
.mb-hero p { margin: 0; max-width: 60ch; color: #d9dbe0; }
.mb-hero__tiers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.mb-hero__tiers li { display: flex; flex-direction: column; padding: 12px 14px; border-radius: var(--radius-lg); background: var(--brand); }
.mb-hero__tiers strong { font-size: 1.875rem; font-weight: 800; line-height: 1; color: #fff; }
.mb-hero__tiers span { margin-top: 4px; font-size: .8125rem; font-weight: 600; }
.mb-how { display: grid; gap: 10px; margin: 0 0 24px; }
.mb-how li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.mb-how__n { display: grid; place-items: center; width: 32px; height: 32px; flex-shrink: 0; border-radius: 50%; background: var(--brand-50); color: var(--brand); font-weight: 800; }
.mb-how p { margin: 0; font-size: .9375rem; }
.mb-how strong { color: var(--ink); }
.mb-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.mb-quote { order: -1; }
.mb-depts { margin-bottom: 12px; }
.mb-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin-bottom: 14px; scroll-margin-top: 16px; }
.mb-toolbar p { margin: 0; }
.mb-sort { display: flex; align-items: center; gap: 8px; font-size: .9375rem; }
.mb-sort select { height: 40px; padding: 0 30px 0 12px; border: 1px solid var(--line-2); border-radius: var(--radius); background: #fff; }
.mb-small { max-width: 90ch; margin: 28px 0 8px; }
.quote { padding: 18px; border: 2px solid var(--brand); border-radius: var(--radius-xl); background: #fff; }
.quote__head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
.quote__head h2 { margin: 0; font-size: 1.25rem; }
.quote__count { font-size: .875rem; font-weight: 700; color: var(--brand); white-space: nowrap; }
.mb-tiers--compact li { padding: 5px 2px; }
.quote__msg { margin: 10px 0 12px; font-size: .9375rem; font-weight: 600; color: var(--ink); }
.quote__lines { max-height: 320px; margin-bottom: 8px; overflow-y: auto; }
.quote__lines li { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: .8125rem; }
.quote__lines img { width: 48px; height: 48px; object-fit: contain; }
.quote__lines p { margin: 0; line-height: 1.3; }
.quote__lines p:first-child { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: var(--ink); }
.quote__lines strong { color: var(--ink); }
.quote .summary__rows { margin-bottom: 12px; }
.quote__share { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.quote__share > .btn, .quote__email { flex: 1 1 140px; }
.quote__email > summary { width: 100%; list-style: none; }
.quote__email[open] { flex-basis: 100%; }
.quote__email[open] > summary { background: var(--soft); }
.quote__form { margin-top: 12px; padding: 14px; border-radius: var(--radius-lg); background: var(--soft); }
.quote__form .field { margin-bottom: 10px; }
.quote__form .field input { min-height: 42px; }
.quote__form .small { margin: 8px 0 0; }
.quote__form-title { margin: 0 0 10px; font-weight: 700; color: var(--ink); }
.quote__form-msg { margin: 10px 0 0; padding: 10px 12px; border-radius: var(--radius); background: var(--ok-50); color: var(--ok); font-weight: 600; font-size: .875rem; }
.quote__form-msg.is-error { background: var(--brand-50); color: var(--brand); }
.quote__empty { display: flex; align-items: center; gap: 10px; margin: 0; padding: 14px; border-radius: var(--radius-lg); background: var(--soft); font-size: .9375rem; }
.quote__empty .icon { width: 24px; height: 24px; color: var(--brand); }

@media (min-width: 600px) {
    .pc-modal { align-items: center; padding: 16px; }
    .pc-modal__panel { max-width: 520px; border-radius: var(--radius-xl); }
    .bline { padding: 18px 20px; }
    .bline__item { grid-template-columns: 110px minmax(0, 1fr) auto; gap: 18px; }
    .bline__img img { width: 110px; height: 110px; }
    .bline__price { grid-column: auto; text-align: right; }
    .mb-hero__tiers { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 768px) {
    .promo-bar__more { display: inline; }
    .basket-head { grid-template-columns: minmax(0, 1fr) auto; align-items: start; }
    .basket-head .steps { width: 440px; }
    .steps li { font-size: .8125rem; }
    .pc-card { grid-template-columns: minmax(0, 1fr) minmax(260px, 340px); align-items: center; padding: 18px 20px; }
    .mb-banner { grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; padding: 18px 20px; }
    .mb-banner__icon { display: grid; }
    .mb-banner__cta { grid-column: auto; }
    .mb-how { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .page-head--checkout .steps { width: 440px; }
}
@media (min-width: 768px) and (max-width: 991.98px) {
    .header__actions .icon-btn--pc { display: none; }
}
@media (min-width: 992px) {
    .mb-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; padding: 32px 36px; }
    .mb-hero h1 { font-size: 2.25rem; }
    .mb-layout { grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; align-items: start; }
    .mb-quote { order: 0; position: sticky; top: 16px; }
    .grid--mb { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1400px) {
    .grid--mb { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ---------- Staff: switch between the website, the POS and the admin (app/Views/partials/staff_switch.php) ---------- */
.staff-switch { display: inline-flex; flex-shrink: 0; gap: 2px; padding: 3px; border-radius: 999px; background: #eef0f3; }
.staff-switch__item {
    display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 14px; border-radius: 999px;
    color: var(--ink-2); font-size: .8125rem; font-weight: 600; line-height: 1; text-decoration: none; white-space: nowrap;
}
.staff-switch__item .icon { width: 16px; height: 16px; }
.staff-switch__item:hover { background: #fff; color: var(--ink); }
.staff-switch__item.is-current, .staff-switch__item.is-current:hover { background: var(--brand); color: #fff; }
/* On the shop, above the header: signed-in staff only */
.staff-bar { background: var(--ink); color: #fff; font-size: .8125rem; }
.staff-bar__in { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 42px; padding-top: 4px; padding-bottom: 4px; }
.staff-bar__who { overflow: hidden; color: #c9ccd1; text-overflow: ellipsis; white-space: nowrap; }
.staff-bar__who strong { color: #fff; font-weight: 600; }
.staff-bar .staff-switch { background: rgba(255, 255, 255, .1); }
.staff-bar .staff-switch__item { height: 28px; color: #fff; }
.staff-bar .staff-switch__item:hover { background: rgba(255, 255, 255, .16); color: #fff; }
.staff-bar .staff-switch__item.is-current { background: var(--brand); }
@media (max-width: 575.98px) {
    .staff-switch__item { padding: 0 10px; }
    .staff-switch__item .icon, .staff-bar__who { display: none; }
    .staff-bar__in { justify-content: center; }
}
/* Product types (client, 16 Oct): Manufacturer Delivery, delivered direct by the manufacturer (pre-orders use --due) */
.stock--maker { color: #0f766e; }
.card__tick--maker .icon, .pdp__due--maker .icon { color: #0f766e; }
.pdp__due--maker { background: #e6f4f1; }
.mini-lines .stock, .bline .stock { font-size: .8125rem; }
.adm-order__items .stock { margin-top: 4px; font-size: .8125rem; }

/* Back from the card payment page without a payment: try again, or back to the basket */
.pay-again { display: flex; flex-wrap: wrap; gap: 12px; margin: 20px 0 12px; }
.pay-again form { margin: 0; }
/* Worldpay's form stacks its fields, with a full-width button, in a frame up to 480px wide: 444px here. Its 21px of white padding
   is cropped (18px of it, to keep the focus outline), so its fields line up with the text above. */
.card-form { max-width: 444px; min-height: 300px; margin-bottom: 8px; overflow: hidden; }
.card-form iframe { display: block; margin-left: -18px; min-width: calc(100% + 36px) !important; }
.checkout-services { margin-bottom: 4px; }
.checkout-services__note { align-items: flex-start; }
.checkout-services__line { margin-bottom: 14px; }
.checkout-services__line .bline__services-title { margin-bottom: 8px; font-size: .875rem; color: var(--ink-2); }
.pay-panel .hint + .hint { margin-top: 6px; }
.choice__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 10px; }
.choice__logos { display: inline-flex; gap: 4px; }
.choice__logos img { width: auto; height: 22px; }
.pay-billing { min-width: 0; display: grid; gap: 8px; margin: 0 0 12px; padding: 0; border: 0; }
.pay-billing legend { margin-bottom: 8px; padding: 0; font-weight: 700; color: var(--ink); }
.pay-billing .check { align-items: flex-start; }
.pay-address { max-width: 444px; margin-bottom: 4px; }
.pay-address__title { margin: 0 0 8px; font-weight: 700; color: var(--ink); }
.pay-address .form__row { grid-template-columns: 1fr 1fr; }
.pay-address__note { margin-top: 10px; }
.pay-address__set { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 12px; margin: 0 0 12px; padding: 10px 12px; border-radius: var(--radius); background: var(--soft); font-size: .9375rem; }
.pay-address__set a { color: var(--brand); font-weight: 700; }
.checkout__next { display: flex; justify-content: flex-end; margin-bottom: 16px; }
.panel .checkout__next { margin: 16px 0 0; }
.checkout__next[hidden] { display: none; }
.checkout__terms { align-items: flex-start; margin-top: 4px; }
.checkout__terms a { color: var(--brand); font-weight: 600; }
.summary__where { display: block; font-size: .8125rem; font-weight: 500; color: var(--muted); }
.summary__bar { display: flex; align-items: center; gap: 8px; list-style: none; cursor: pointer; }
.summary__bar::-webkit-details-marker { display: none; }
.summary__bar h2 { flex: 1; margin: 0; }
.summary__bar .icon { width: 18px; height: 18px; transition: transform .2s; }
.checkout__summary[open] .summary__bar { margin-bottom: 12px; }
.checkout__summary[open] .summary__bar .icon { transform: rotate(180deg); }
.summary__bar-total { font-size: 1.0625rem; color: var(--ink); }
@media (min-width: 900px) {
    .summary__bar { cursor: default; }
    .summary__bar-total, .summary__bar .icon { display: none; }
}
.page-head--step h1 { margin: 6px 0 0; }
.page-checkout .form__row .field { align-content: start; }
.page-checkout .checkout { margin-bottom: 24px; }
.field input.is-ok {
    padding-right: 38px;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a7a3a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E") no-repeat right 12px center / 18px 18px;
}

/* Checkout's own header (Marks Electrical): logo, steps and "Secure checkout"; no menu, search or basket, and it doesn't stay fixed */
.checkout-head { background: #fff; border-bottom: 1px solid var(--line); }
.checkout-head__in { display: grid; grid-template-columns: auto auto; justify-content: space-between; align-items: center; gap: 10px 16px; padding-top: 10px; padding-bottom: 12px; }
.checkout-head .logo { grid-area: auto; justify-content: flex-start; }
.checkout-head .logo__img { max-height: 44px; }
.checkout-head .steps { grid-column: 1 / -1; justify-self: center; }
.checkout-head__secure { grid-column: 2; grid-row: 1; display: flex; align-items: center; gap: 6px; margin: 0; font-size: .875rem; font-weight: 700; color: var(--ink); white-space: nowrap; }
.checkout-head__secure .icon { width: 16px; height: 16px; color: var(--brand); }
.steps a { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; color: inherit; text-decoration: none; }
.steps a:hover { text-decoration: underline; }
@media (min-width: 768px) {
    .checkout-head__in { grid-template-columns: auto minmax(0, 460px) auto; }
    .checkout-head .steps { grid-column: 2; grid-row: 1; }
    .checkout-head__secure { grid-column: 3; }
    .pay-panel { padding: 16px; border: 1px solid var(--line-2); border-radius: var(--radius-lg); }
}
