/* Water Softener Direct — Luma child theme styles.
 *
 * Luma sets html { font-size: 62.5% }, so every size here is in px, never rem.
 * Order: tokens, base, shared pieces, site chrome, homepage, catalogue, checkout, responsive.
 */

/* ---------- Typeface (self-hosted, no font CDN) ---------- */
@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('../fonts/outfit-latin-ext.woff2') format('woff2');
    unicode-range: U+100-2BA, U+2BD-2C5, U+2C7-2CC, U+2CE-2D7, U+2DD-2FF, U+304, U+308, U+329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('../fonts/outfit-latin.woff2') format('woff2');
    unicode-range: U+0-FF, U+131, U+152-153, U+2BB-2BC, U+2C6, U+2DA, U+2DC, U+304, U+308, U+329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens ---------- */
:root {
    --wsd-ink: #1c3431;        /* headings, primary text */
    --wsd-body: #42524f;       /* running text */
    --wsd-muted: #5a6966;      /* secondary text, still 5:1 on chalk */
    --wsd-teal: #087a70;       /* actions */
    --wsd-teal-deep: #065c55;  /* action hover, links */
    --wsd-slate: #34495a;      /* the softener cabinet in the hero photo */
    --wsd-chalk: #f7f7f3;      /* page */
    --wsd-mist: #e8f0ec;       /* tinted bands */
    --wsd-stone: #edece4;      /* hero and comparison panels */
    --wsd-photo: #fff;         /* behind every product photo */
    --wsd-line: #dde3dd;
    --wsd-white: #fff;

    --wsd-font: 'Outfit', 'Avenir Next', 'Segoe UI', Arial, Helvetica, sans-serif;
    --wsd-serif: Georgia, 'Times New Roman', serif;

    --wsd-radius: 4px;         /* controls */
    --wsd-radius-lg: 10px;     /* panels */
    --wsd-shadow: 0 18px 44px rgba(28, 52, 49, .14); /* overlays only */
    --wsd-width: 1240px;
    --wsd-gutter: 40px;
}

/* Tokens read by the Central Heat modules (checkout, recently viewed, related products), mapped to this palette. */
:root {
    --color-navy-950: var(--wsd-ink);
    --color-ink: var(--wsd-ink);
    --color-muted: var(--wsd-muted);
    --color-line: var(--wsd-line);
    --color-warm: #f3f5f1;
    --color-success: var(--wsd-teal);
    --font-display: var(--wsd-font);
    --font-sans: var(--wsd-font);
}

/* ---------- Base ---------- */
body {
    color: var(--wsd-body);
    background: var(--wsd-chalk);
    font-family: var(--wsd-font);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .page-title {
    font-family: var(--wsd-font);
    color: var(--wsd-ink);
}

a, a:visited { color: var(--wsd-teal-deep); }
a:hover { color: var(--wsd-ink); }

button, input, select, textarea { font-family: inherit; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
    outline: 2px solid var(--wsd-teal);
    outline-offset: 3px;
}

.wsd-visually-hidden {
    position: absolute !important;
    clip: rect(0, 0, 0, 0);
    width: 1px;
    height: 1px;
    overflow: hidden;
    white-space: nowrap;
}

/* ---------- Buttons ---------- */
.action.primary,
.action.primary:focus,
.wsd-btn,
.wsd-btn:focus {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 24px;
    border: 1px solid var(--wsd-teal);
    border-radius: 99px;
    background: var(--wsd-teal);
    box-shadow: none;
    color: var(--wsd-white);
    font-family: var(--wsd-font);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.3;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .15s, border-color .15s;
}

.action.primary:hover,
.action.primary:active,
.wsd-btn:hover,
.wsd-btn:active {
    border-color: var(--wsd-teal-deep);
    background: var(--wsd-teal-deep);
    color: var(--wsd-white);
}

.action.primary:disabled { opacity: .5; }

a.wsd-btn,
a.wsd-btn:visited { color: var(--wsd-white); }

.wsd-btn.wsd-btn-quiet,
.wsd-btn.wsd-btn-quiet:focus,
a.wsd-btn.wsd-btn-quiet:visited {
    border-color: var(--wsd-line);
    background: var(--wsd-white);
    color: var(--wsd-ink);
}

.wsd-btn.wsd-btn-quiet:hover,
.wsd-btn.wsd-btn-quiet:active {
    border-color: var(--wsd-ink);
    background: var(--wsd-white);
    color: var(--wsd-ink);
}

/* ---------- Forms ---------- */
input[type=text],
input[type=email],
input[type=password],
input[type=tel],
input[type=number],
input[type=search],
select,
textarea {
    min-height: 48px;
    border: 1px solid #c4cfc7;
    border-radius: var(--wsd-radius);
    background: var(--wsd-white);
    color: var(--wsd-ink);
    font-size: 16px;
}

/* Every single-line field and dropdown is a pill, like the header search box; text areas get soft corners. */
input[type=text],
input[type=email],
input[type=password],
input[type=tel],
input[type=number],
input[type=search],
input[type=date],
input[type=url],
select:not([multiple]):not([size]) {
    height: 48px;
    padding-right: 18px;
    padding-left: 18px;
    border-color: var(--wsd-line);
    border-radius: 99px;
    background-color: var(--wsd-chalk);
}
select:not([multiple]):not([size]) {
    padding-right: 44px;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%231c3431' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-position: right 18px center;
    background-repeat: no-repeat;
    background-size: 14px;
}
select[multiple], select[size], textarea {
    padding: 12px 18px;
    border-color: var(--wsd-line);
    border-radius: 22px;
    background-color: var(--wsd-chalk);
}
input:hover:not(:focus):not([type=checkbox]):not([type=radio]):not([disabled]),
select:hover:not(:focus):not([disabled]),
textarea:hover:not(:focus) { border-color: #b9c4bc; }
input[disabled], select[disabled], textarea[disabled] { opacity: .6; cursor: not-allowed; }

input:focus,
select:focus,
textarea:focus {
    border-color: var(--wsd-teal);
    box-shadow: 0 0 0 3px rgba(8, 122, 112, .14) !important;
}

.field > .label { font-weight: 500; color: var(--wsd-ink); }
.fieldset > .legend { font-weight: 500; letter-spacing: -.01em; }
.page-title { font-weight: 500; letter-spacing: -.02em; }
.message { border-radius: var(--wsd-radius); }

/* Page messages in the theme colours (Luma: bright green, red and yellow boxes). */
.page.messages .message {
    margin: 0 0 16px;
    padding: 14px 20px 14px 48px;
    border: 1px solid var(--wsd-line);
    border-radius: var(--wsd-radius-lg);
    background: var(--wsd-white);
    color: var(--wsd-ink);
    font-size: 15px;
    line-height: 1.5;
}
.page.messages .message > *:first-child:before { left: 16px; top: 50%; margin-top: -12px; width: 24px; line-height: 24px; font-size: 22px; }
.page.messages .message.success { border-color: #b9d8cf; background: var(--wsd-mist); }
.page.messages .message.success > *:first-child:before { color: var(--wsd-teal); }
.page.messages .message.error { border-color: #e6c3bd; background: #fbf1ef; }
.page.messages .message.error > *:first-child:before { color: #b3261e; }
.page.messages .message.warning,
.page.messages .message.notice,
.page.messages .message.info { border-color: #e7dcc0; background: #fbf7ec; }
.page.messages .message.warning > *:first-child:before,
.page.messages .message.notice > *:first-child:before,
.page.messages .message.info > *:first-child:before { color: #8a6a12; }
.page.messages .message strong { font-weight: 600; }
.page.messages .message a { margin-left: 4px; color: var(--wsd-teal-deep); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.page.messages .message a:hover { color: var(--wsd-ink); }
.breadcrumbs { margin-top: 20px; font-size: 14px; }
.page-main { max-width: 1320px; }
.columns .column.main { min-width: 0; }

/* ---------- Announcement bar ---------- */
.wsd-announcement {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    box-sizing: border-box;
    min-height: 32px;
    padding: 5px max(var(--wsd-gutter), calc((100vw - var(--wsd-width)) / 2));
    background: var(--wsd-ink);
    color: #e3ece8;
    font-size: 13px;
    line-height: 1.4;
}
.wsd-announcement svg { width: 16px; height: 16px; }

/* Luma's header panel only holds the skip link and the empty customer links: no strip under the bar. */
.page-header > .panel.wrapper { padding: 0; border: 0; }
.page-header .panel.wrapper .panel.header { min-height: 0; padding: 0; }
.page-header .panel.header > .header.links { display: none; }
.page-header .panel.header .action.skip:focus { position: absolute; z-index: 20; top: 36px; left: 16px; }

.wsd-announcement > span { display: flex; align-items: center; gap: 8px; }

/* ---------- Header ---------- */
.page-header {
    margin-bottom: 0;
    border-bottom: 1px solid var(--wsd-line);
    background: var(--wsd-white);
}

.page-header .panel.wrapper { border: 0; background: var(--wsd-chalk); color: var(--wsd-muted); }
.page-header .header.panel { padding-top: 6px; padding-bottom: 6px; font-size: 14px; }
.page-header .panel a,
.page-header .panel a:visited { color: var(--wsd-muted); }
.page-header .panel a:hover { color: var(--wsd-ink); }

/* Luma colours these links white for its dark bar; match its selector to override. */
.page-header .header.panel > .header.links > li > a,
.page-header .header.panel > .header.links > li > a:visited { color: var(--wsd-muted); }
.page-header .header.panel > .header.links > li > a:hover { color: var(--wsd-ink); }
.page-header .header.panel > .header.links > li.welcome { color: var(--wsd-muted); }

.header.content { max-width: 1320px; }
.header.content .logo { max-width: none; margin: 0; }
.header.content .logo img { width: 205px; height: 55px; object-fit: contain; }

.wsd-header-help {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--wsd-muted) !important;
    font-size: 14px;
    line-height: 1.35;
    text-decoration: none !important;
}

.wsd-header-help svg { flex-shrink: 0; color: var(--wsd-teal); }
.wsd-header-help strong { display: block; color: var(--wsd-ink); font-size: 16px; font-weight: 500; }
.wsd-header-help:hover strong { text-decoration: underline; text-underline-offset: 3px; }

.block-search input {
    min-height: 44px;
    height: 44px;
    border-color: var(--wsd-line);
    border-radius: 99px;
    background: var(--wsd-chalk);
    font-size: 16px;
}

.block-search .action.search { height: 44px; }
.block-search .label { border: 0; }

.minicart-wrapper .action.showcart:before { color: var(--wsd-ink); }

.minicart-wrapper .action.showcart .counter.qty {
    min-width: 20px;
    height: 20px;
    padding: 0 4px;
    border-radius: 10px;
    background: var(--wsd-teal);
    font-size: 12px;
    line-height: 20px;
}

/* Basket drawer: Magento's own mini cart, shown as a panel that slides over the right of the page. */
.minicart-wrapper .mage-dropdown-dialog { position: fixed !important; top: 0 !important; right: 0 !important; bottom: 0; left: auto !important; z-index: 1001; width: min(448px, 100vw); }
.minicart-wrapper.active:after { content: ''; position: fixed; inset: 0; z-index: 1000; background: rgba(28, 52, 49, .45); }

.minicart-wrapper .block-minicart {
    position: static;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: var(--wsd-white);
    box-shadow: -18px 0 44px rgba(28, 52, 49, .16);
    font-family: var(--wsd-font);
}

.minicart-wrapper .block-minicart:before, .minicart-wrapper .block-minicart:after { display: none; }
.block-minicart #minicart-content-wrapper { display: flex; flex-direction: column; height: 100%; }
.minicart-wrapper .block-minicart .block-title { display: block; flex: none; padding: 22px 64px 20px 24px; border-bottom: 1px solid var(--wsd-line); }
.block-minicart .block-title strong { color: var(--wsd-ink); font-size: 22px; font-weight: 500; letter-spacing: -.015em; }
.block-minicart .block-title .qty { display: none; }
.block-minicart .block-content { display: flex; flex: 1; flex-direction: column; min-height: 0; padding: 0 24px 24px; }
.block-minicart .block-content > .action.close { top: 14px; right: 14px; width: 44px; height: 44px; }
.block-minicart .block-content > .action.close:before { color: var(--wsd-ink); }
.minicart-wrapper .block-minicart .items-total { order: 1; float: none; margin: 0; padding: 16px 0 8px; color: var(--wsd-muted); font-size: 15px; }
.block-minicart .items-total .count { font-weight: 400; }
.block-minicart .subtitle { display: none; }
.block-minicart .subtitle.empty { display: block; order: 1; padding: 40px 0; color: var(--wsd-muted); font-size: 17px; text-align: left; }
.block-minicart .minicart-items-wrapper { order: 2; flex: 1; height: auto !important; max-height: none; margin: 0; padding: 0; border: 0; overflow-y: auto; }
.block-minicart .minicart-items .product-item { padding: 16px 0; border-color: var(--wsd-line); }
.block-minicart .minicart-items .product-item:first-child { border-top: 1px solid var(--wsd-line); }
.block-minicart .minicart-items .product-image-container { border-radius: var(--wsd-radius); background: var(--wsd-photo); }
.block-minicart .minicart-items .product-image-photo { mix-blend-mode: multiply; }
.block-minicart .minicart-items .product-item-name { margin: 0 0 6px; font-size: 16px; font-weight: 400; line-height: 1.35; }
.block-minicart .minicart-items .product-item-name a, .block-minicart .minicart-items .product-item-name a:visited { color: var(--wsd-ink); }
.block-minicart .minicart-items .price { color: var(--wsd-ink); font-size: 16px; font-weight: 500; }
.block-minicart .minicart-items .details-qty .label { color: var(--wsd-muted); font-size: 15px; }
.block-minicart .minicart-items .item-qty { width: 56px; min-height: 40px; height: 40px; margin-right: 8px; border-radius: 99px; text-align: center; }
.block-minicart .minicart-items .update-cart-item { min-height: 40px; padding: 6px 14px; border-radius: 99px; font-size: 14px; }
.block-minicart .minicart-items .product .actions { margin: -34px 0 0; }
.block-minicart .minicart-items .action.edit:before, .block-minicart .minicart-items .action.delete:before { color: var(--wsd-muted); }
.block-minicart .subtotal { order: 3; display: flex; align-items: baseline; justify-content: space-between; margin: 0; padding: 18px 0 14px; border-top: 1px solid var(--wsd-line); text-align: left; }
.block-minicart .subtotal .label { color: var(--wsd-ink); font-size: 16px; }
.block-minicart .subtotal .label:after { display: none; }
.block-minicart .amount .price-wrapper:first-child .price { color: var(--wsd-ink); font-size: 24px; font-weight: 500; letter-spacing: -.015em; }
.block-minicart .block-content > .actions { order: 5; margin: 10px 0 0; text-align: left; }
.block-minicart .minicart-items-wrapper + .actions { order: 4; }
.block-minicart .block-content > .actions > .primary { margin: 0; }
.block-minicart .action.primary.checkout { width: 100%; min-height: 52px; border-radius: 99px; font-size: 17px; }

.block-minicart .action.viewcart,
.block-minicart .action.viewcart:visited {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    border: 1px solid var(--wsd-line);
    border-radius: 99px;
    background: var(--wsd-white);
    color: var(--wsd-ink);
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
}

.block-minicart .action.viewcart:hover { border-color: var(--wsd-ink); text-decoration: none; }
.block-minicart .minicart-widgets { order: 6; margin: 0; }

/* ---------- Navigation and mega menu (markup: Magento_Theme/templates/wsd/megamenu.phtml) ---------- */
.nav-sections { margin-bottom: 0; border-bottom: 1px solid var(--wsd-line); background: var(--wsd-white); }
.navigation.wsd-mega { position: static; max-width: var(--wsd-width); padding: 0; background: transparent; font-weight: 400; }
.navigation.wsd-mega ul { margin: 0; padding: 0; list-style: none; }
.navigation.wsd-mega li { margin: 0; }
.wsd-mega-bar { display: flex; flex-wrap: wrap; gap: 0 4px; }

.navigation.wsd-mega .wsd-mega-link,
.navigation.wsd-mega .wsd-mega-link:visited,
.wsd-mega-trigger,
.wsd-mega-trigger:focus,
.wsd-mega-trigger:active {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 54px;
    padding: 0 16px;
    border: 0;
    border-bottom: 2px solid transparent;
    border-radius: 0;
    background: none;
    box-shadow: none;
    color: var(--wsd-ink);
    font-family: var(--wsd-font);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
}

.wsd-mega-bar > li:first-child > .wsd-mega-link,
.wsd-mega-bar > li:first-child > .wsd-mega-trigger { padding-left: 0; }

.navigation.wsd-mega .wsd-mega-link:hover,
.wsd-mega-trigger:hover { border-color: transparent; background: none; color: var(--wsd-teal-deep); }
.wsd-mega-trigger[aria-expanded=true] { border-bottom-color: var(--wsd-teal); background: none; color: var(--wsd-teal-deep); }
.wsd-mega-trigger svg { transition: transform .15s; }
.wsd-mega-trigger[aria-expanded=true] svg { transform: rotate(180deg); }
.navigation.wsd-mega .wsd-mega-highlight { color: var(--wsd-teal-deep); font-weight: 500; }

.wsd-mega-panel h2 { margin: 0 0 12px; color: var(--wsd-muted); font-family: var(--wsd-font); font-size: 15px; font-weight: 400; line-height: 1.3; letter-spacing: 0; }
.navigation.wsd-mega .wsd-mega-panel h2 a, .navigation.wsd-mega .wsd-mega-panel h2 a:visited { display: inline; padding: 0; color: inherit; font-size: inherit; font-weight: inherit; text-decoration: none; }
.navigation.wsd-mega .wsd-mega-panel h2 a:hover { color: var(--wsd-teal-deep); }
.navigation.wsd-mega .wsd-mega-col li a,
.navigation.wsd-mega .wsd-mega-col li a:visited { display: block; padding: 7px 0; color: var(--wsd-ink); font-size: 19px; font-weight: 500; line-height: 1.3; letter-spacing: -.01em; text-decoration: none; }
.navigation.wsd-mega .wsd-mega-col li a:hover { color: var(--wsd-teal-deep); }

.navigation.wsd-mega .wsd-mega-featured a,
.navigation.wsd-mega .wsd-mega-featured a:visited { display: flex; align-items: center; gap: 14px; padding: 8px 0; color: var(--wsd-ink); font-size: 15px; line-height: 1.35; text-decoration: none; }
.wsd-mega-featured img { flex-shrink: 0; width: 72px; height: 72px; border-radius: var(--wsd-radius); background: var(--wsd-photo); object-fit: contain; mix-blend-mode: multiply; }
.wsd-mega-featured span { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.wsd-mega-featured strong { display: block; margin-top: 2px; font-weight: 500; }
.navigation.wsd-mega .wsd-mega-featured a:hover { color: var(--wsd-teal-deep); }

.wsd-mega-help { padding: 24px; border-radius: var(--wsd-radius-lg); background: var(--wsd-slate); color: #d6e0e6; }
.wsd-mega-help h2 { margin-bottom: 8px; color: var(--wsd-white); font-size: 20px; font-weight: 500; line-height: 1.25; }
.wsd-mega-help p { margin: 0 0 18px; font-size: 15px; line-height: 1.5; }
.navigation.wsd-mega .wsd-mega-help .wsd-btn,
.navigation.wsd-mega .wsd-mega-help .wsd-btn:visited { display: inline-flex; padding: 10px 18px; border-color: var(--wsd-white); color: var(--wsd-ink); font-size: 15px; }

@media (min-width: 768px) {
    .nav-sections { position: relative; } /* anchors the panel; on phones Luma keeps this fixed off-screen */

    .wsd-mega-panel {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        z-index: 40;
        border-top: 1px solid var(--wsd-line);
        border-bottom: 1px solid var(--wsd-line);
        background: var(--wsd-white);
        box-shadow: 0 24px 40px rgba(28, 52, 49, .1);
    }

    .wsd-mega-inner {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.7fr) minmax(0, 1.4fr);
        gap: 40px;
        width: calc(100% - (var(--wsd-gutter) * 2));
        max-width: var(--wsd-width);
        margin: 0 auto;
        padding: 36px 0 40px;
    }
}

@media (min-width: 768px) and (max-width: 1100px) {
    .wsd-mega-inner { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
    .wsd-mega-featured { display: none; }
    .wsd-mega-help { grid-column: 1 / -1; }
}

/* ---------- Search suggestions (CentralHeat_Search module, restyled through its colour variables) ---------- */
:root {
    --ch-ac-text: var(--wsd-ink);
    --ch-ac-muted: var(--wsd-muted);
    --ch-ac-border: var(--wsd-line);
    --ch-ac-hover: var(--wsd-mist);
    --ch-ac-accent: var(--wsd-teal-deep);
    --ch-ac-mark: #d7ebe5;
}

.ch-autocomplete { margin-top: 6px; border-radius: var(--wsd-radius-lg); box-shadow: var(--wsd-shadow); font-family: var(--wsd-font); font-size: 16px; }
.ch-autocomplete__heading { padding: 14px 18px 4px; font-size: 14px; font-weight: 400; letter-spacing: 0; text-transform: none; }
.ch-autocomplete__item { min-height: 44px; padding: 8px 18px; }
.ch-autocomplete__image { flex-basis: 56px; width: 56px; height: 56px; border-radius: var(--wsd-radius); background: var(--wsd-photo); mix-blend-mode: multiply; }
.ch-autocomplete__price { font-weight: 500; }
.ch-autocomplete mark { font-weight: 500; }
.ch-autocomplete__all { font-weight: 500; }
.ch-search-related { border-radius: var(--wsd-radius-lg); background: var(--wsd-white); font-size: 16px; }

/* ---------- Homepage shell ---------- */
.cms-index-index .page-main { width: 100%; max-width: none; padding: 0; }
.cms-index-index .column.main { padding-bottom: 0; }
.cms-index-index .columns { display: block; }

.wsd-home { overflow: hidden; background: var(--wsd-chalk); color: var(--wsd-body); }
.wsd-home *, .wsd-footer *, .wsd-finder * { box-sizing: border-box; }
.wsd-home h1, .wsd-home h2, .wsd-home h3, .wsd-home p, .wsd-home ul, .wsd-home ol, .wsd-home figure { margin: 0; }
.wsd-home ul, .wsd-home ol { padding: 0; list-style: none; }
.wsd-home li { margin: 0; }

.wsd-wrap {
    width: calc(100% - (var(--wsd-gutter) * 2));
    max-width: var(--wsd-width);
    margin-right: auto;
    margin-left: auto;
}

.wsd-band { padding-top: 88px; }
.wsd-band-last { padding-bottom: 88px; }

.wsd-home h2 {
    font-size: clamp(30px, 3.1vw, 42px);
    font-weight: 500;
    line-height: 1.12;
    letter-spacing: -.025em;
    text-wrap: balance;
}

.wsd-home h3 { font-size: 20px; font-weight: 500; line-height: 1.3; letter-spacing: -.01em; }

.wsd-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px 40px;
    margin-bottom: 36px;
}

.wsd-heading p { max-width: 46ch; margin-top: 12px; color: var(--wsd-muted); font-size: 17px; }

.wsd-link,
.wsd-link:visited {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    padding-bottom: 3px;
    border-bottom: 1px solid currentColor;
    color: var(--wsd-teal-deep);
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
}

.wsd-link:hover { color: var(--wsd-ink); text-decoration: none; }
.wsd-link svg { transition: transform .15s; }
.wsd-link:hover svg { transform: translateX(3px); }

/* ---------- Hero ---------- */
.wsd-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: clamp(520px, 44vw, 640px);
    background: var(--wsd-stone);
}

.wsd-hero-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 100% 60%;
}

/* The left of the photo is a pale wall; this evens it out so text sits on a calm field. */
.wsd-hero:after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #f1f0e9 0%, rgba(241, 240, 233, .94) 30%, rgba(241, 240, 233, 0) 58%);
    pointer-events: none;
}

.wsd-hero-content { position: relative; z-index: 1; padding: 64px 0; }
.wsd-hero-copy { max-width: 560px; }

.wsd-hero-kicker { color: var(--wsd-teal-deep); font-size: 16px; font-weight: 500; }

.wsd-home .wsd-hero h1 {
    margin-top: 14px;
    font-size: clamp(52px, 6.4vw, 92px);
    font-weight: 400;
    line-height: .98;
    letter-spacing: -.045em;
}

.wsd-hero h1 em {
    color: var(--wsd-teal);
    font-family: var(--wsd-serif);
    font-style: italic;
    font-weight: 400;
    letter-spacing: -.035em;
}

.wsd-hero-lede { max-width: 30em; margin-top: 26px !important; color: var(--wsd-body); font-size: 19px; line-height: 1.55; }
.wsd-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.wsd-hero-assurance {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 28px !important;
    color: var(--wsd-muted);
    font-size: 15px;
}

.wsd-hero-assurance svg { flex-shrink: 0; color: var(--wsd-teal); }

/* A caption for the cabinet in the photo, not a floating badge. */
.wsd-hero-note {
    position: absolute;
    right: 31%;
    bottom: 15%;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-radius: var(--wsd-radius-lg);
    background: var(--wsd-white);
    box-shadow: 0 10px 28px rgba(28, 52, 49, .12);
    color: var(--wsd-muted);
    font-size: 15px;
    line-height: 1.35;
}

.wsd-hero-note strong { display: block; color: var(--wsd-ink); font-weight: 500; }
.wsd-hero-note svg { color: var(--wsd-teal); }

/* ---------- Trust strip ---------- */
.wsd-trust { border-bottom: 1px solid var(--wsd-line); background: var(--wsd-white); }
.wsd-trust ul { display: grid; grid-template-columns: repeat(4, 1fr); }

.wsd-trust li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 24px 24px 24px 0;
}

.wsd-trust li + li { padding-left: 24px; border-left: 1px solid var(--wsd-line); }
.wsd-trust svg { flex-shrink: 0; color: var(--wsd-teal); }
.wsd-trust strong { display: block; color: var(--wsd-ink); font-size: 16px; font-weight: 500; line-height: 1.3; }
.wsd-trust small { display: block; margin-top: 2px; color: var(--wsd-muted); font-size: 14px; line-height: 1.4; }

/* ---------- Category directory: one surface, four doors ---------- */
.wsd-categories {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border: 1px solid var(--wsd-line);
    border-radius: var(--wsd-radius-lg);
    background: var(--wsd-white);
    overflow: hidden;
}

.wsd-category,
.wsd-category:visited {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 212px;
    padding: 28px 28px 30px;
    color: var(--wsd-body);
    text-decoration: none;
    transition: background-color .15s;
}

.wsd-category + .wsd-category { border-left: 1px solid var(--wsd-line); }
.wsd-category:hover { background: var(--wsd-mist); color: var(--wsd-body); text-decoration: none; }
.wsd-category:focus-visible { outline-offset: -3px; }
.wsd-category > svg { color: var(--wsd-teal); }
.wsd-category h3 { margin-top: auto; padding-top: 32px; font-size: 22px; }
.wsd-category p { margin-top: 6px; padding-right: 36px; color: var(--wsd-muted); font-size: 15px; line-height: 1.45; }

.wsd-category-go {
    position: absolute;
    top: 28px;
    right: 26px;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--wsd-line);
    border-radius: 50%;
    color: var(--wsd-ink);
    transition: background-color .15s, border-color .15s, color .15s;
}

.wsd-category:hover .wsd-category-go { border-color: var(--wsd-teal); background: var(--wsd-teal); color: var(--wsd-white); }

/* ---------- Water hardness ---------- */
.wsd-hardness { margin-top: 88px; padding: 80px 0; background: var(--wsd-mist); }

.wsd-hardness-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 72px;
    align-items: center;
}

.wsd-hardness-copy > p { max-width: 40ch; margin-top: 16px; font-size: 17px; }


/* The scale: bars lengthen and darken as dissolved minerals increase. */
.wsd-scale {
    padding: 30px 32px 26px;
    border-radius: var(--wsd-radius-lg);
    background: var(--wsd-white);
}

.wsd-scale figcaption { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.wsd-scale figcaption strong { color: var(--wsd-ink); font-size: 20px; font-weight: 500; }
.wsd-scale figcaption span { color: var(--wsd-muted); font-size: 14px; text-align: right; }

.wsd-scale li {
    display: grid;
    grid-template-columns: 9.5em minmax(0, 1fr) 5.5em;
    align-items: center;
    gap: 16px;
    padding: 11px 0;
    border-top: 1px solid var(--wsd-line);
    color: var(--wsd-ink);
    font-size: 16px;
}

.wsd-scale-bar { display: block; height: 14px; border-radius: 2px; background: var(--wsd-chalk); }
.wsd-scale-bar i { display: block; width: var(--wsd-level); height: 100%; border-radius: 2px; background: var(--wsd-slate); opacity: var(--wsd-density); }
.wsd-scale-range { color: var(--wsd-muted); font-size: 15px; font-variant-numeric: tabular-nums; text-align: right; }
.wsd-scale > p { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--wsd-line); color: var(--wsd-muted); font-size: 14px; }

/* ---------- Benefits ---------- */
.wsd-benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.wsd-benefits svg { color: var(--wsd-teal); }
.wsd-benefits h3 { margin-top: 18px; }
.wsd-benefits p { margin-top: 8px; color: var(--wsd-muted); font-size: 16px; }

.wsd-compare {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-top: 56px;
    border: 1px solid var(--wsd-line);
    border-radius: var(--wsd-radius-lg);
    overflow: hidden;
}

.wsd-compare > div { padding: 32px 36px; background: var(--wsd-stone); }
.wsd-compare > div + div { background: var(--wsd-white); border-left: 1px solid var(--wsd-line); }
.wsd-compare-label { color: var(--wsd-muted); font-size: 15px; }
.wsd-compare h3 { margin-top: 4px; font-size: 24px; }
.wsd-compare ul { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.wsd-compare li { padding: 5px 14px; border: 1px solid #d3d2c6; border-radius: 99px; color: var(--wsd-body); font-size: 15px; }
.wsd-compare > div + div li { border-color: #b9d6cf; background: #f0f7f4; color: var(--wsd-teal-deep); }

/* ---------- Support banner ---------- */
.wsd-support {
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 44px 48px;
    border-radius: var(--wsd-radius-lg);
    background: var(--wsd-slate);
    color: #d6e0e6;
}

.wsd-support-icon {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 68px;
    height: 68px;
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 50%;
    color: var(--wsd-white);
}

.wsd-home .wsd-support h2 { color: var(--wsd-white); font-size: clamp(26px, 2.6vw, 34px); }
.wsd-support p { margin-top: 8px; font-size: 17px; }
.wsd-support .wsd-btn { flex-shrink: 0; margin-left: auto; border-color: var(--wsd-white); }

/* ---------- Range finder dialog ---------- */
.wsd-finder {
    width: calc(100% - 32px);
    max-width: 520px;
    padding: 40px;
    border: 0;
    border-radius: var(--wsd-radius-lg);
    background: var(--wsd-white);
    box-shadow: var(--wsd-shadow);
    color: var(--wsd-body);
    font-family: var(--wsd-font);
}

.wsd-finder::backdrop { background: rgba(28, 52, 49, .55); }
.wsd-finder h2 { margin: 0 40px 10px 0; font-size: 30px; font-weight: 500; line-height: 1.15; letter-spacing: -.02em; }
.wsd-finder p { margin: 0; color: var(--wsd-muted); font-size: 16px; }
.wsd-finder form { margin-top: 8px; }
.wsd-finder label { display: block; margin: 20px 0 6px; color: var(--wsd-ink); font-size: 16px; font-weight: 500; }
.wsd-finder select { width: 100%; }
.wsd-finder .wsd-btn { width: 100%; margin-top: 28px; }
.wsd-finder small { display: block; margin-top: 16px; color: var(--wsd-muted); font-size: 14px; line-height: 1.5; }
.wsd-finder [data-wsd-finder-copy] { color: var(--wsd-ink); font-size: 18px; }
.wsd-finder [hidden] { display: none !important; }

.wsd-finder-close,
.wsd-finder-close:focus {
    position: absolute;
    top: 14px;
    right: 14px;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: none;
    box-shadow: none;
    color: var(--wsd-ink);
    cursor: pointer;
}

.wsd-finder-close:hover { border: 0; background: var(--wsd-chalk); color: var(--wsd-ink); }

/* ---------- Product cards (Magento renders the markup) ---------- */
.products-grid .product-items {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.wsd-featured .products-grid .product-items { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.wsd-featured .block.widget { margin: 0; }

.products-grid .product-item,
.page-products .products-grid .product-item { width: 100% !important; min-width: 0; margin: 0 !important; padding: 0 !important; }

.products-grid .product-item-info,
.products-grid .product-item-info:hover,
.products-grid .product-item-info.active {
    position: relative;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    width: 100% !important;
    height: 100%;
    margin: 0;
    padding: 0 0 20px;
    border: 1px solid var(--wsd-line);
    border-radius: var(--wsd-radius-lg);
    background: var(--wsd-white);
    box-shadow: none;
    overflow: hidden;
    transition: border-color .15s;
}

.products-grid .product-item-info:hover,
.products-grid .product-item-info.active { border-color: #a9bcb2; }

.products-grid .product-item-photo { display: block; padding: 20px; background: var(--wsd-photo); text-align: center; }
.products-grid .product-image-container { max-width: 100%; }
.products-grid .product-image-wrapper { background: transparent; }
/* Product photos are on white; "multiply" lets that white blend into the white image well. Luma gives the
   wrapper its own layer (z-index: 1), which would stop the blend, so that layer is removed here. */
.products-grid .product-image-wrapper,
.block-minicart .product-image-wrapper,
.cart.table-wrapper .product-image-wrapper { z-index: auto; }
.products-grid .product-image-photo { mix-blend-mode: multiply; }
.products-grid .product-item-details { display: flex; flex: 1; flex-direction: column; padding: 18px 20px 0; }
.products-grid .product-item-name { margin: 0 0 8px; font-size: 17px; font-weight: 500; line-height: 1.35; }

.products-grid .product-item-name a,
.products-grid .product-item-name a:visited { color: var(--wsd-ink); }

.products-grid .price-box { margin: 0; }
.products-grid .price-box .price { color: var(--wsd-ink); font-size: 22px; font-weight: 500; }
.products-grid .old-price .price { color: var(--wsd-muted); font-size: 15px; font-weight: 400; }
.products-grid .product-reviews-summary { margin: 8px 0; }
.products-grid .reviews-actions { font-size: 14px; }

.products-grid .product-item-inner,
.products-grid .product-item-info:hover .product-item-inner {
    position: static !important;
    display: block !important;
    clip: auto !important;
    width: auto !important;
    height: auto !important;
    margin: auto 0 0 !important;
    padding: 18px 0 0 !important;
    border: 0;
    background: transparent;
    box-shadow: none !important;
    overflow: visible;
}

.products-grid .product-item-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0; }
.products-grid .actions-primary { display: block; }
.products-grid .actions-secondary { padding: 0; }
.products-grid .action.tocart { min-height: 44px; padding: 10px 18px; font-size: 15px; }

/* ---------- Product listings (category and search pages) ---------- */
.page-products .page-main { padding-bottom: 72px; }
.page-products .page-title-wrapper { margin: 8px 0 0; }
.page-products .page-title { margin: 0; font-size: clamp(34px, 3.6vw, 48px); line-height: 1.08; letter-spacing: -.03em; }
.page-products .category-view { margin: 0; }
.page-products .columns { padding-top: 28px; }

/* Quick links between sibling or child categories. */
.wsd-cat-nav { margin-top: 22px; }
.wsd-cat-nav ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.wsd-cat-nav li { margin: 0; }

.wsd-cat-nav a,
.wsd-cat-nav a:visited {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 8px 18px;
    border: 1px solid var(--wsd-line);
    border-radius: 99px;
    background: var(--wsd-white);
    color: var(--wsd-ink);
    font-size: 16px;
    text-decoration: none;
    transition: border-color .15s, background-color .15s;
}

.wsd-cat-nav a:hover { border-color: var(--wsd-ink); text-decoration: none; }
.wsd-cat-nav a[aria-current=page] { border-color: var(--wsd-ink); background: var(--wsd-ink); color: var(--wsd-white); }

/* Toolbar: count on the left, sort on the right. The grid/list switch is turned off in the store settings. */
.page-products .toolbar-products { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 0 24px; padding: 0 0 16px; border-bottom: 1px solid var(--wsd-line); text-align: left; }
.page-products .toolbar-products:before, .page-products .toolbar-products:after { display: none; }
.page-products .toolbar-products .modes { display: none; }
.page-products .toolbar-amount { float: none; margin: 0; padding: 0; color: var(--wsd-muted); font-size: 16px; line-height: 1.4; }
.page-products .toolbar-sorter { float: none; display: flex; align-items: center; gap: 8px; margin-left: auto; padding: 0; }
.page-products .sorter-label { color: var(--wsd-muted); font-size: 16px; }
.page-products .sorter-options, .page-products .limiter-options { width: auto; min-height: 44px; margin: 0; padding: 0 34px 0 14px; font-size: 16px; }
.page-products .sorter-action { color: var(--wsd-ink); }
.page-products .products.wrapper { margin: 0; }
.page-products .products.wrapper ~ .toolbar-products { margin: 32px 0 0; padding: 20px 0 0; border-top: 1px solid var(--wsd-line); border-bottom: 0; }
.page-products .products.wrapper ~ .toolbar-products .limiter { float: none; display: flex; align-items: center; gap: 8px; margin-left: auto; color: var(--wsd-muted); font-size: 16px; }
.page-products .products.wrapper ~ .toolbar-products .pages { float: none; margin: 0; }

/* Filters */
.filter-options { margin: 0; }
.filter-options-item { border-color: var(--wsd-line); }
.filter-options-item:last-child { border-bottom: 0; }
.filter-options-title { padding: 14px 24px 14px 0; color: var(--wsd-ink); font-size: 16px; font-weight: 500; letter-spacing: 0; text-transform: none; }
.filter-options-content { padding: 0 0 14px; }
.filter-options-content .item { margin: 0; }
.filter-options-content a, .filter-options-content a:visited { display: block; margin: 0; padding: 6px 0; color: var(--wsd-body); font-size: 16px; }
.filter-options-content a:hover { background: none; color: var(--wsd-teal-deep); }
.filter-options-content .count { color: var(--wsd-muted); }
.filter-current .items { padding: 0 0 8px; }
.filter-current .item { padding-left: 22px; font-size: 15px; }
.filter-actions { margin: 0 0 12px; }

/* Card details added for listings */
.products-grid .product-item-name { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.products-grid .product-item-name a:hover { color: var(--wsd-teal-deep); text-decoration: none; }
.wsd-card-facts { display: flex; flex-wrap: wrap; gap: 6px; order: -1; margin: 0 0 12px; padding: 0; list-style: none; }
.wsd-card-facts li { margin: 0; padding: 3px 10px; border-radius: 99px; background: var(--wsd-mist); color: var(--wsd-ink); font-size: 14px; line-height: 1.4; }
.wsd-card-eta { display: flex; align-items: center; gap: 6px; margin: 4px 0 12px; color: var(--wsd-teal-deep); font-size: 14px; line-height: 1.4; }
.wsd-card-eta::before { content: ""; flex: 0 0 16px; height: 16px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 18V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v11a1 1 0 0 0 1 1h2'/%3E%3Cpath d='M15 18H9'/%3E%3Cpath d='M19 18h2a1 1 0 0 0 1-1v-3.65a1 1 0 0 0-.22-.62l-3.48-4.35A1 1 0 0 0 17.52 8H14'/%3E%3Ccircle cx='17' cy='18' r='2'/%3E%3Ccircle cx='7' cy='18' r='2'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 18V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v11a1 1 0 0 0 1 1h2'/%3E%3Cpath d='M15 18H9'/%3E%3Cpath d='M19 18h2a1 1 0 0 0 1-1v-3.65a1 1 0 0 0-.22-.62l-3.48-4.35A1 1 0 0 0 17.52 8H14'/%3E%3Ccircle cx='17' cy='18' r='2'/%3E%3Ccircle cx='7' cy='18' r='2'/%3E%3C/svg%3E") center / contain no-repeat; }
.products-grid .price-box .price-wrapper:after,
.product-info-price .price-box .price-wrapper:after { content: ' inc. VAT'; color: var(--wsd-muted); font-family: var(--wsd-font); font-size: 14px; font-weight: 400; letter-spacing: 0; }
.products-grid .stock.unavailable { display: inline-block; padding: 9px 14px; border: 1px solid var(--wsd-line); border-radius: var(--wsd-radius); color: var(--wsd-muted); font-size: 15px; font-weight: 400; text-transform: none; }
.products-grid .actions-secondary .action { color: var(--wsd-muted); }
.products-grid .actions-secondary .action:hover { color: var(--wsd-teal-deep); }
/* No wish list heart or compare icon on any product card (homepage widget, Recently viewed and any list the layout does not reach). */
.product-item .actions-secondary,
.product-item a.towishlist,
.product-item a.tocompare { display: none !important; }
.products-grid .product-item-info:hover .product-image-photo { transform: scale(1.03); }
.products-grid .product-image-photo { transition: transform .25s; }

/* "About" text under the grid */
.page-products .category-description { max-width: 820px; margin: 64px 0 0; padding-top: 40px; border-top: 1px solid var(--wsd-line); color: var(--wsd-body); font-size: 17px; line-height: 1.6; }
.page-products .category-description h2 { margin: 0 0 14px; color: var(--wsd-ink); font-size: 28px; font-weight: 500; letter-spacing: -.02em; }
.page-products .category-description p { max-width: 68ch; margin: 0 0 12px; }
.page-products .message.info.empty { padding: 28px; border: 1px solid var(--wsd-line); background: var(--wsd-white); color: var(--wsd-body); font-size: 17px; }
.page-products .message.info.empty > *:first-child:before { display: none; }

@media (min-width: 768px) {
    .page-products.page-layout-2columns-left .sidebar-main { width: 22%; padding-right: 32px; }
    .page-products.page-layout-2columns-left .column.main { width: 78%; }
    .page-products .sidebar-additional { display: none; }
    .filter.block { margin: 0; padding: 4px 20px 8px; border: 1px solid var(--wsd-line); border-radius: var(--wsd-radius-lg); background: var(--wsd-white); }
    .filter-title { display: none; }
    .filter .block-subtitle { display: block; padding: 16px 0 12px; border: 0; color: var(--wsd-ink); font-size: 18px; font-weight: 500; line-height: 1.3; }
    .page-products .sidebar-main .filter.block { position: sticky; top: 24px; }
}

/* ---------- Product page ---------- */
.product-info-main .page-title { font-size: 40px; line-height: 1.15; }
.product-info-main .price-box .price { color: var(--wsd-ink); font-size: 30px; font-weight: 500; }
.product-info-main .stock.available { color: #2a6a45; font-size: 14px; }
.product-info-main .box-tocart { margin-top: 24px; }
/* Options and Add to Cart fill the column, so they line up with the delivery panel below. */
.product-info-main .product-options-wrapper .fieldset > .field > .control,
.product-info-main .box-tocart .actions { display: block; width: 100%; max-width: none; }
.product-info-main .product-options-wrapper .fieldset > .field > .control select { width: 100%; }
/* Option fields are pills, like the header search box. Selects get a chevron (Luma removes the native arrow). */
.product-info-main .product-options-wrapper select,
.product-info-main .product-options-wrapper input[type=text] {
    min-height: 50px;
    height: 50px;
    padding: 0 48px 0 20px;
    border-color: var(--wsd-line);
    border-radius: 99px;
    background-color: var(--wsd-chalk);
    font-size: 16px;
}
.product-info-main .product-options-wrapper input[type=text] { padding-right: 20px; }
.product-info-main .product-options-wrapper select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%231c3431' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-position: right 20px center;
    background-repeat: no-repeat;
    background-size: 14px;
}
.product-info-main .product-options-wrapper select:hover { border-color: var(--wsd-ink); }
.product-info-main .product-options-wrapper textarea { border-color: var(--wsd-line); border-radius: 22px; background-color: var(--wsd-chalk); }
.product-info-main .box-tocart .action.tocart { width: 100%; min-height: 54px; border-radius: 99px; font-size: 18px; }
.product-info-main .box-tocart .input-text.qty { width: 64px; min-height: 54px; height: 54px; border-radius: 99px; text-align: center; }
/* Quantity and Add to Cart on one row: the button fills the space beside the quantity box,
   and the row is as wide as the option fields above it. */
.product-info-main .box-tocart .fieldset { display: flex; align-items: flex-end; gap: 12px; width: 100%; max-width: none; margin: 0; }
.product-info-main .box-tocart .fieldset > .field.qty { display: block; flex: 0 0 auto; margin: 0; padding: 0; }
.product-info-main .box-tocart .fieldset > .actions { display: block; flex: 1 1 auto; width: auto; min-width: 0; max-width: none; margin: 0; padding: 0; }
.product-info-main .box-tocart .fieldset > .actions .action.tocart { margin: 0; }
.product-info-main .product-add-form { padding-top: 16px; }
.product.attribute.overview { color: var(--wsd-body); font-size: 17px; line-height: 1.65; }
.product.media { border-radius: var(--wsd-radius-lg); background: var(--wsd-photo); border: 1px solid var(--wsd-line); overflow: hidden; }
.product.media .fotorama__stage, .product.media .fotorama__nav { background: var(--wsd-photo); }
.product.media .fotorama__img, .product.media .fotorama__nav__frame img { mix-blend-mode: multiply; }
/* Each gallery slide is its own layer, so it carries the white itself for the photo to blend into. */
.product.media .fotorama__stage__frame, .product.media .fotorama__nav__frame .fotorama__thumb { background: var(--wsd-photo); }
/* Active thumbnail: teal ring instead of Luma's orange */
.fotorama__thumb-border { border-color: var(--wsd-teal); border-radius: var(--wsd-radius); background-image: none; }
.product.media .fotorama__nav__frame--thumb .fotorama__thumb { border-radius: var(--wsd-radius); }
.product.media .fotorama__nav__frame--thumb:focus .fotorama__thumb, .product.media .fotorama__nav__frame--thumb:focus-visible .fotorama__thumb { box-shadow: 0 0 0 2px var(--wsd-teal); }
.product.data.items > .item.title > .switch { padding: 14px 22px; border-color: var(--wsd-line); background: var(--wsd-chalk); color: var(--wsd-ink); font-size: 16px; }
.product.data.items > .item.content { padding: 28px; border-color: var(--wsd-line); line-height: 1.7; }

.wsd-capacity {
    margin: 24px 0;
    border: 1px solid var(--wsd-line);
    border-radius: var(--wsd-radius-lg);
    background: var(--wsd-white);
}

.wsd-capacity summary { padding: 16px 20px; color: var(--wsd-ink); font-size: 17px; font-weight: 500; cursor: pointer; }
.wsd-capacity[open] summary { border-bottom: 1px solid var(--wsd-line); }
.wsd-capacity-body { padding: 20px; }
.wsd-capacity h2 { margin: 0 0 12px; font-size: 20px; font-weight: 500; }
.wsd-capacity h2:not(:first-child) { margin-top: 24px; }
.wsd-capacity p { margin: 12px 0 0; color: var(--wsd-muted); font-size: 15px; line-height: 1.55; }
.wsd-capacity label { display: block; margin-bottom: 6px; color: var(--wsd-ink); font-size: 16px; font-weight: 500; }
.wsd-capacity form { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.wsd-capacity form label { flex-basis: 100%; margin: 0; }
.wsd-capacity input { width: 96px; }
.wsd-capacity [role=status] { color: var(--wsd-ink); font-size: 17px; font-weight: 500; }
.wsd-capacity [role=status]:empty { display: none; }

/* ---------- Product description (markup written by tools/product-descriptions/build.py) ---------- */
.product.attribute.overview p { margin: 0; }

.wsd-pd { max-width: 1040px; color: var(--wsd-body); font-size: 17px; line-height: 1.6; }
.wsd-pd h2 { margin: 56px 0 20px; color: var(--wsd-ink); font-size: 28px; font-weight: 500; line-height: 1.15; letter-spacing: -.02em; }
.wsd-pd p { max-width: 68ch; margin: 0 0 14px; }
.wsd-pd img { display: block; max-width: 100%; height: auto; margin-top: 24px; border-radius: var(--wsd-radius-lg); }
.wsd-pd ul { margin: 0; padding: 0; list-style: none; }
.wsd-pd li { margin: 0; }

/* Key facts: the numbers a buyer checks first. */
.wsd-pd-facts {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border: 1px solid var(--wsd-line);
    border-radius: var(--wsd-radius-lg);
    background: var(--wsd-chalk);
    overflow: hidden;
}

.wsd-pd-facts li { padding: 22px 24px 24px; }
.wsd-pd-facts li + li { border-left: 1px solid var(--wsd-line); }
.wsd-pd-facts span { display: block; margin-bottom: 6px; color: var(--wsd-muted); font-size: 15px; }
.wsd-pd-facts strong { display: block; color: var(--wsd-ink); font-size: 22px; font-weight: 500; line-height: 1.2; letter-spacing: -.015em; text-wrap: balance; }

.wsd-pd-features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; }
.wsd-pd-features li { padding: 18px 0 20px; border-top: 1px solid var(--wsd-line); }
.wsd-pd-features strong { display: block; margin-bottom: 4px; color: var(--wsd-ink); font-size: 19px; font-weight: 500; line-height: 1.3; }
.wsd-pd-features span { display: block; max-width: 46ch; }

.wsd-pd-list li { position: relative; padding: 12px 0 12px 30px; border-top: 1px solid var(--wsd-line); }
.wsd-pd-list li:last-child { border-bottom: 1px solid var(--wsd-line); }
.wsd-pd-list li:before { content: ''; position: absolute; top: 21px; left: 4px; width: 9px; height: 9px; border-radius: 50%; background: var(--wsd-teal); }
.wsd-pd-downloads a { font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }

.wsd-pd .wsd-pd-spec { width: 100%; max-width: 820px; margin: 0; border-collapse: collapse; }
.wsd-pd .wsd-pd-spec th,
.wsd-pd .wsd-pd-spec td { padding: 13px 0; border: 0; border-top: 1px solid var(--wsd-line); font-size: 17px; text-align: left; vertical-align: top; }
.wsd-pd .wsd-pd-spec tr:last-child th,
.wsd-pd .wsd-pd-spec tr:last-child td { border-bottom: 1px solid var(--wsd-line); }
.wsd-pd .wsd-pd-spec th { width: 42%; padding-right: 24px; color: var(--wsd-muted); font-weight: 400; }
.wsd-pd .wsd-pd-spec td { color: var(--wsd-ink); }

.wsd-pd .wsd-pd-small { margin-top: 16px; color: var(--wsd-muted); font-size: 15px; }
.wsd-pd .wsd-pd-note { max-width: 820px; margin: 40px 0 0; padding: 18px 22px; border-radius: var(--wsd-radius-lg); background: var(--wsd-mist); color: var(--wsd-ink); font-size: 16px; }
.wsd-pd .wsd-pd-note + .wsd-pd-note { margin-top: 12px; }

/* ---------- Image zoom (WaterSoftener_ProductZoom module), matched to the theme ---------- */
.product.media .wsdz-trigger {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    margin: 14px 0 0;
    padding: 9px 20px;
    border: 1px solid var(--wsd-line);
    border-radius: 99px;
    background: var(--wsd-white);
    box-shadow: none;
    color: var(--wsd-ink);
    font-family: var(--wsd-font);
    font-size: 16px;
    font-weight: 500;
}

.product.media .wsdz-trigger:hover { border-color: var(--wsd-ink); background: var(--wsd-white); color: var(--wsd-ink); }
/* One column that can shrink to the dialog's width, so the bars never push their buttons off screen. */
.wsdz-dialog[open] { grid-template-columns: minmax(0, 1fr); }
.wsdz-bar, .wsdz-footer, .wsdz-viewport { min-width: 0; }
.wsdz-dialog { border-color: var(--wsd-line); border-radius: var(--wsd-radius-lg); background: var(--wsd-photo); color: var(--wsd-ink); font-family: var(--wsd-font); }
.wsdz-dialog::backdrop { background: rgba(28, 52, 49, .55); }
.wsdz-photo, .wsdz-thumb-image { mix-blend-mode: multiply; }
/* Hover zoom: white window beside the photo, lens fades the rest of the photo to white */
.wsdz-pane { background: var(--wsd-photo); }
.wsdz-pane-image { mix-blend-mode: multiply; }
.wsdz-pane--beside { border-color: var(--wsd-line); border-radius: var(--wsd-radius-lg); box-shadow: 0 20px 50px rgba(28, 52, 49, .16); }
.wsdz-lens { border-color: rgba(28, 52, 49, .3); box-shadow: 0 0 0 200vmax rgba(255, 255, 255, .62); }
.wsdz-hint { background: rgba(28, 52, 49, .78); font-family: var(--wsd-font); font-size: 13px; font-weight: 500; }

/* ---------- Basket page ---------- */
.checkout-cart-index .page-main { padding-bottom: 72px; }
.checkout-cart-index .page-title-wrapper { margin: 8px 0 28px; }
.checkout-cart-index .page-title { margin: 0; font-size: clamp(34px, 3.6vw, 48px); line-height: 1.08; letter-spacing: -.03em; }
.cart-container { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 0 56px; align-items: start; }
.cart-container:before, .cart-container:after { display: none; }
.cart-container .form-cart { grid-column: 1; float: none; width: auto; padding: 0; }
.cart-container .cart-gift-item, .cart-container .crosssell, .cart-container .cart-discount { grid-column: 1; float: none; width: auto; }

.cart-container .cart-summary {
    position: sticky;
    top: 24px;
    grid-column: 2;
    grid-row: 1 / span 4;
    float: none;
    width: auto;
    margin: 0;
    padding: 28px;
    border: 0;
    border-radius: var(--wsd-radius-lg);
    background: #f1f3ee;
}

.cart-summary > .title { display: block; margin: 0 0 12px; color: var(--wsd-ink); font-size: 24px; font-weight: 500; letter-spacing: -.015em; }
.cart-summary .block { margin: 0; }
.cart-summary .block > .title { padding: 14px 30px 14px 0; border-color: #d7dcd4; }
.cart-summary .block > .title strong { color: var(--wsd-ink); font-size: 16px; font-weight: 500; }
.cart-summary .block .content { padding: 4px 0 16px; }
.cart-summary .block .fieldset { margin: 0; }
.cart-summary .block.discount .fieldset.coupon { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 8px; }
.cart-summary .block.discount .fieldset.coupon > .field { margin-bottom: 0; }
.cart-summary .block.discount .fieldset.coupon .actions-toolbar, .cart-summary .block.discount .fieldset.coupon .actions-toolbar > .primary { margin: 0; }
.cart-summary .block.discount .field { flex: 1 1 160px; margin: 0; }
.cart-summary .block.discount .actions-toolbar { margin: 0; }
.block.discount .actions-toolbar .action.apply, .block.discount .actions-toolbar .action.cancel,
.cart-summary .block.discount .actions-toolbar > .primary .action.apply, .cart-summary .block.discount .actions-toolbar > .primary .action.cancel { min-height: 48px; padding: 10px 20px; border: 1px solid var(--wsd-ink); border-radius: 99px; background: var(--wsd-white); color: var(--wsd-ink); font-size: 16px; font-weight: 500; }
.cart-totals { padding: 8px 0 0; border-color: #d7dcd4; }
.cart-totals .table-wrapper { margin: 0; overflow: visible; }
.cart-totals th, .cart-totals td { padding: 8px 0; color: var(--wsd-body); font-size: 16px; font-weight: 400; }
.cart-totals .totals-tax th, .cart-totals .totals-tax td { border: 0; }
.cart-totals .grand.totals th, .cart-totals .grand.totals td { padding-top: 16px; border-top: 1px solid #d7dcd4; }
.cart-totals .grand.totals strong { color: var(--wsd-ink); font-size: 17px; font-weight: 500; }
.cart-totals .grand.totals .amount strong { font-size: 30px; letter-spacing: -.02em; }
.cart-summary .checkout-methods-items { margin: 20px 0 0; padding: 0; }
.cart-summary .checkout-methods-items .item { margin: 0 0 10px; }
.cart-summary .checkout-methods-items .action.primary.checkout { width: 100%; min-height: 54px; border-radius: 99px; font-size: 18px; }

.wsd-cart-assurance { margin-top: 22px; padding-top: 20px; border-top: 1px solid #d7dcd4; }
.wsd-cart-assurance ul { margin: 0; padding: 0; list-style: none; }
.wsd-cart-assurance li { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; color: var(--wsd-body); font-size: 15px; line-height: 1.4; }
.wsd-cart-assurance svg { flex-shrink: 0; color: var(--wsd-teal); }
.wsd-cart-help { margin: 18px 0 0; padding: 16px 18px; border-radius: var(--wsd-radius-lg); background: var(--wsd-white); font-size: 15px; }
.wsd-cart-help span { display: block; color: var(--wsd-muted); }
.wsd-cart-help a, .wsd-cart-help a:visited { color: var(--wsd-ink); font-size: 17px; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }

/* Items */
.cart.table-wrapper { margin: 0; }
.cart.table-wrapper .items { border: 0; }
.cart.table-wrapper .items thead + .item { border-top: 1px solid var(--wsd-line); }
.cart.table-wrapper .items > .item { border-bottom: 1px solid var(--wsd-line); }
.cart.table-wrapper thead .col { padding: 0 8px 12px; border: 0; color: var(--wsd-muted); font-size: 14px; font-weight: 400; }
.cart.table-wrapper .item .col { padding-top: 22px; }
.cart.table-wrapper .product-item-photo { padding-right: 20px; }
.cart.table-wrapper .product-image-container { border-radius: var(--wsd-radius); background: var(--wsd-photo); }
.cart.table-wrapper .product-image-photo { mix-blend-mode: multiply; }
.cart.table-wrapper .product-item-name { margin: 0 0 6px; font-size: 18px; font-weight: 500; line-height: 1.3; }
.cart.table-wrapper .product-item-name a, .cart.table-wrapper .product-item-name a:visited { color: var(--wsd-ink); }
.cart.table-wrapper .item-options { color: var(--wsd-muted); font-size: 15px; }
.cart.table-wrapper .col.price .price, .cart.table-wrapper .col.subtotal .price { color: var(--wsd-ink); font-size: 18px; font-weight: 500; }
.cart.table-wrapper .col.qty .input-text { width: 64px; min-height: 44px; height: 44px; border-radius: 99px; text-align: center; }
.cart.table-wrapper .item-actions td { padding: 0 8px 16px; }
.cart.table-wrapper .actions-toolbar > .action, .cart.table-wrapper .actions-toolbar > .action:visited { margin: 0 16px 0 0; padding: 0; border: 0; background: none; box-shadow: none; color: var(--wsd-muted); font-size: 15px; font-weight: 400; }
.cart.table-wrapper .actions-toolbar > .action:hover { color: var(--wsd-teal-deep); }
.cart.main.actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; padding: 24px 0 0; text-align: left; }

.cart.main.actions .action,
.cart.main.actions .action:visited {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    margin: 0;
    padding: 10px 22px;
    border: 1px solid var(--wsd-line);
    border-radius: 99px;
    background: var(--wsd-white);
    box-shadow: none;
    color: var(--wsd-ink);
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
}

.cart.main.actions .action:hover { border-color: var(--wsd-ink); background: var(--wsd-white); }
.cart.main.actions .action.clear { display: none; }
.cart-empty { padding: 40px 0 80px; color: var(--wsd-body); font-size: 18px; }

/* ---------- Account forms ---------- */
.block-customer-login,
.form-create-account,
.form.contact { padding: 32px; border: 1px solid var(--wsd-line); border-radius: var(--wsd-radius-lg); background: var(--wsd-white); }

/* ---------- Contact page ---------- */
.wsd-contact { padding: 48px 0 88px; }
.wsd-contact-intro { max-width: 720px; margin-bottom: 48px; }
.wsd-contact-kicker { margin: 0; color: var(--wsd-teal-deep); font-size: 16px; font-weight: 500; }
.wsd-contact-title { margin: 12px 0 0; color: var(--wsd-ink); font-size: clamp(40px, 5vw, 64px); font-weight: 400; line-height: 1.02; letter-spacing: -.04em; }
.wsd-contact-lede { max-width: 34em; margin: 20px 0 0; color: var(--wsd-body); font-size: 18px; line-height: 1.6; }
.wsd-contact-quick { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.wsd-contact-quick .wsd-btn, .wsd-contact-quick .wsd-btn:focus { display: inline-flex; box-sizing: border-box; align-items: center; gap: 10px; }
/* The name field sits in a two-column wrapper, outside Luma's ".fieldset > .field.required" star rule */
.wsd-contact-pair > .field.required > .label:after { content: '*'; margin: 0 0 0 5px; color: #e02b27; font-size: 1.2rem; }
.wsd-contact-quick svg { width: 20px; height: 20px; }

.wsd-contact-layout { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px; align-items: start; }
.wsd-contact-info { display: grid; gap: 16px; }
.wsd-contact-card { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 18px; padding: 26px 28px; border: 1px solid var(--wsd-line); border-radius: var(--wsd-radius-lg); background: var(--wsd-white); }
.wsd-contact-icon { display: grid; width: 48px; height: 48px; border-radius: 50%; background: var(--wsd-mist); color: var(--wsd-teal); place-items: center; }
.wsd-contact-card h2 { margin: 2px 0 8px; color: var(--wsd-ink); font-size: 20px; font-weight: 500; letter-spacing: -.01em; }
.wsd-contact-card p { margin: 6px 0 0; color: var(--wsd-muted); font-size: 15px; line-height: 1.55; }
.wsd-contact-phone { color: var(--wsd-teal-deep); font-size: 28px; font-weight: 500; letter-spacing: -.02em; text-decoration: none; font-variant-numeric: tabular-nums; }
.wsd-contact-phone:hover, .wsd-contact-phone:focus { color: var(--wsd-teal); text-decoration: underline; text-underline-offset: 4px; }
.wsd-contact-card address { color: var(--wsd-body); font-size: 16px; font-style: normal; line-height: 1.6; }
.wsd-contact-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; color: var(--wsd-teal-deep); font-weight: 500; text-decoration: underline; text-underline-offset: 4px; }
.wsd-contact-link svg { width: 18px; height: 18px; }

.wsd-contact-hours { margin: 0; }
.wsd-contact-hours > div { display: flex; justify-content: space-between; gap: 16px; margin: 0 -12px; padding: 8px 12px; border-radius: var(--wsd-radius); font-size: 15px; }
.wsd-contact-hours > div + div { border-top: 1px solid var(--wsd-line); }
.wsd-contact-hours dt { margin: 0; color: var(--wsd-body); font-weight: 400; }
.wsd-contact-hours dd { margin: 0; color: var(--wsd-ink); font-weight: 500; font-variant-numeric: tabular-nums; }
.wsd-contact-hours > div.is-today { border-top-color: transparent; background: var(--wsd-mist); }
.wsd-contact-hours > div.is-today + div { border-top-color: transparent; }
.wsd-contact-hours > div.is-today dt::after { content: " · Today"; color: var(--wsd-teal-deep); font-weight: 500; }

.wsd-contact-map { grid-column: 1 / -1; overflow: hidden; height: 200px; border-radius: var(--wsd-radius); background: var(--wsd-mist); }
.wsd-contact-map iframe { display: block; width: 100%; height: 100%; border: 0; }
.wsd-contact-map-load { display: grid; width: 100%; height: 100%; padding: 0; border: 0; border-radius: 0; background: repeating-linear-gradient(0deg, transparent 0 31px, rgba(8, 122, 112, .08) 31px 32px), repeating-linear-gradient(90deg, transparent 0 31px, rgba(8, 122, 112, .08) 31px 32px), var(--wsd-mist); box-shadow: none; color: var(--wsd-teal-deep); font-family: var(--wsd-font); cursor: pointer; place-content: center; justify-items: center; gap: 4px; }
.wsd-contact-map-load:hover, .wsd-contact-map-load:focus { border: 0; background-color: #dceae3; color: var(--wsd-teal-deep); }
.wsd-contact-map-load span { font-size: 16px; font-weight: 500; text-decoration: underline; text-underline-offset: 4px; }
.wsd-contact-map-load small { color: var(--wsd-muted); font-size: 13px; }

.wsd-contact-page .column:not(.sidebar-additional) .form.contact.wsd-contact-form,
.wsd-contact-page .form.contact.wsd-contact-form { box-sizing: border-box; float: none; width: auto; min-width: 0; max-width: 100%; padding: 36px 40px; }
.wsd-contact-form .fieldset { min-width: 0; }
.wsd-contact-hours dd { white-space: nowrap; }
.wsd-contact-form .fieldset { margin-bottom: 24px; }
.wsd-contact-form .fieldset > .legend { margin: 0 0 6px; padding: 0; border: 0; color: var(--wsd-ink); font-size: 28px; font-weight: 400; letter-spacing: -.02em; }
.wsd-contact-form-note { margin: 0 0 28px; color: var(--wsd-muted); font-size: 16px; line-height: 1.55; }
.wsd-contact-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.wsd-contact-form .field { margin-bottom: 22px; }
.wsd-contact-form .label small { margin-left: 4px; color: var(--wsd-muted); font-size: 13px; font-weight: 400; }
.wsd-contact-form textarea { min-height: 160px; resize: vertical; }
.wsd-contact-form .field-recaptcha { margin: 0 0 4px; }
.wsd-contact-form .actions-toolbar { margin: 0; }
.wsd-contact-form .actions-toolbar .primary { float: none; }
.wsd-contact-form .action.submit.primary { width: 100%; min-height: 52px; font-size: 17px; }

/* ---------- Information pages (About, Delivery, Privacy, Terms) ---------- */
/* These CMS pages carry their own heading, so Magento's page title is hidden on them. */
.cms-page-view:has(.wsd-doc) .page-title-wrapper { display: none; }
.wsd-doc { padding: 40px 0 96px; color: var(--wsd-body); font-size: 17px; line-height: 1.7; }
.wsd-doc h2 { color: var(--wsd-ink); font-weight: 500; letter-spacing: -.02em; }
.wsd-doc a:not(.wsd-btn) { color: var(--wsd-teal-deep); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.wsd-doc a:not(.wsd-btn):hover { color: var(--wsd-teal); }

.wsd-doc-nav ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 40px; padding: 0; list-style: none; }
.wsd-doc-nav li { margin: 0; }
.wsd-doc .wsd-doc-nav a { display: block; padding: 8px 16px; border: 1px solid var(--wsd-line); border-radius: 99px; background: var(--wsd-white); color: var(--wsd-body); font-size: 15px; line-height: 1.4; text-decoration: none; transition: border-color .15s ease, background-color .15s ease; }
.wsd-doc .wsd-doc-nav a:hover { border-color: #b9c4bc; color: var(--wsd-ink); }
.wsd-doc .wsd-doc-nav a[aria-current="page"] { border-color: var(--wsd-ink); background: var(--wsd-ink); color: var(--wsd-white); }

.wsd-doc-head { max-width: 760px; margin-bottom: 48px; }
.wsd-doc-kicker { margin: 0; color: var(--wsd-teal-deep); font-size: 16px; font-weight: 500; }
.wsd-doc-head h1 { margin: 10px 0 0; color: var(--wsd-ink); font-size: clamp(42px, 5.4vw, 72px); font-weight: 400; line-height: 1; letter-spacing: -.045em; }
.wsd-doc-lede { max-width: 36em; margin: 20px 0 0; color: var(--wsd-body); font-size: 19px; line-height: 1.55; }

/* Sections: a quiet card per topic with a large index number */
.wsd-doc-stack { display: grid; gap: 16px; min-width: 0; }
.wsd-doc-section { padding: 36px 40px; border: 1px solid var(--wsd-line); border-radius: var(--wsd-radius-lg); background: var(--wsd-white); scroll-margin-top: 24px; }
.wsd-doc-section h2 { display: flex; align-items: baseline; gap: 14px; margin: 0 0 18px; font-size: 26px; line-height: 1.2; }
.wsd-doc-num { color: var(--wsd-teal); font-size: 15px; font-weight: 500; letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.wsd-doc-section p { margin: 0 0 14px; }
.wsd-doc-section > p, .wsd-doc-list > li, .wsd-doc-clause > div, .wsd-doc-note, .wsd-doc-callout { max-width: 76ch; }
.wsd-doc-section > :last-child, .wsd-doc-clause > div > :last-child { margin-bottom: 0; }

.wsd-doc-clause { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 8px; padding: 14px 0; border-top: 1px solid var(--wsd-line); }
.wsd-doc-clause:first-of-type { padding-top: 0; border-top: 0; }
.wsd-doc-clause-num { color: var(--wsd-muted); font-size: 15px; font-weight: 500; line-height: 1.85; font-variant-numeric: tabular-nums; }
.wsd-doc-clause p { margin: 0; }
.wsd-doc-note { margin: 14px 0 0 60px !important; color: var(--wsd-muted); font-size: 16px; }
.wsd-doc-sub { margin: 10px 0 0; padding-left: 22px; }
.wsd-doc-sub li { margin: 6px 0 0; padding-left: 4px; }
.wsd-doc-sub li::marker { color: var(--wsd-muted); }

.wsd-doc-list { counter-reset: wsd-doc; margin: 0; padding: 0; list-style: none; }
.wsd-doc-list > li { position: relative; margin: 0; padding: 14px 0 14px 48px; border-top: 1px solid var(--wsd-line); counter-increment: wsd-doc; }
.wsd-doc-list > li:first-child { padding-top: 0; border-top: 0; }
.wsd-doc-list > li::before { content: counter(wsd-doc); position: absolute; left: 0; display: grid; width: 30px; height: 30px; border-radius: 50%; background: var(--wsd-mist); color: var(--wsd-teal-deep); font-size: 14px; font-weight: 600; line-height: 1; place-items: center; }
.wsd-doc-list > li:not(:first-child)::before { top: 14px; }

.wsd-doc-facts, .wsd-doc-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin: 0 0 24px; padding: 0; list-style: none; }
.wsd-doc-facts li, .wsd-doc-stats li { display: grid; gap: 4px; margin: 0; padding: 24px 26px; border-radius: var(--wsd-radius-lg); background: var(--wsd-mist); }
.wsd-doc-facts strong, .wsd-doc-stats strong { color: var(--wsd-ink); font-size: 26px; font-weight: 500; line-height: 1.15; letter-spacing: -.02em; }
.wsd-doc-facts span, .wsd-doc-stats span { color: var(--wsd-body); font-size: 15px; line-height: 1.45; }

.wsd-doc-callout { margin: 0 0 24px; padding: 18px 22px 18px 20px; border-left: 4px solid var(--wsd-teal); border-radius: var(--wsd-radius); background: var(--wsd-white); color: var(--wsd-ink); font-size: 16px; }
.wsd-doc-callout strong { font-weight: 600; }

.wsd-doc-table { width: 100%; max-width: 420px; margin: 4px 0 14px; border-collapse: collapse; font-size: 16px; }
.wsd-doc-table th, .wsd-doc-table td { padding: 12px 0; border-bottom: 1px solid var(--wsd-line); text-align: left; }
.wsd-doc-table thead th { padding-top: 0; color: var(--wsd-muted); font-size: 13px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; }
.wsd-doc-table tbody th { color: var(--wsd-body); font-weight: 400; }
.wsd-doc-table td { color: var(--wsd-ink); font-weight: 500; text-align: right; font-variant-numeric: tabular-nums; }
.wsd-doc-small { color: var(--wsd-muted); font-size: 15px; }

/* Terms: sticky contents beside the clauses */
.wsd-doc-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 40px; align-items: start; }
.wsd-doc-toc { position: sticky; top: 24px; }
.wsd-doc-toc p { margin: 0 0 12px; color: var(--wsd-muted); font-size: 13px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; }
.wsd-doc-toc ol, .wsd-doc-toc-mobile ol { margin: 0; padding: 0; list-style: none; counter-reset: wsd-toc; }
.wsd-doc-toc li, .wsd-doc-toc-mobile li { margin: 0; counter-increment: wsd-toc; }
.wsd-doc .wsd-doc-toc a, .wsd-doc .wsd-doc-toc-mobile a { display: flex; gap: 10px; padding: 6px 10px; border-radius: var(--wsd-radius); color: var(--wsd-body); font-size: 15px; line-height: 1.4; text-decoration: none; }
.wsd-doc .wsd-doc-toc a::before, .wsd-doc .wsd-doc-toc-mobile a::before { content: counter(wsd-toc, decimal-leading-zero); flex-shrink: 0; color: var(--wsd-muted); font-size: 13px; line-height: 1.6; font-variant-numeric: tabular-nums; }
.wsd-doc .wsd-doc-toc a:hover { background: var(--wsd-mist); color: var(--wsd-ink); }
.wsd-doc-toc-mobile { display: none; }

/* About */
.wsd-doc-statement { max-width: 22em; margin: 0 0 40px; color: var(--wsd-ink); font-size: clamp(26px, 3vw, 38px); line-height: 1.25; letter-spacing: -.025em; }
.wsd-doc-statement span { color: var(--wsd-teal); }
.wsd-doc-stats { margin-bottom: 56px; }
.wsd-doc-split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; margin-bottom: 56px; }
.wsd-doc-split h2, .wsd-doc-contact h2 { margin: 0 0 14px; font-size: 26px; }
.wsd-doc-split p { margin: 0 0 14px; }
.wsd-doc .wsd-doc-more { font-weight: 500; }
.wsd-doc-contact { padding: 36px 40px; border-radius: var(--wsd-radius-lg); background: var(--wsd-ink); color: #d5e2dd; }
.wsd-doc-contact h2 { color: var(--wsd-white); }
.wsd-doc-contact ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.wsd-doc-contact li { display: grid; gap: 4px; align-content: start; margin: 0; font-size: 17px; }
.wsd-doc-contact li span { color: #9fc5bb; font-size: 13px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; }
.wsd-doc .wsd-doc-contact a { color: var(--wsd-white); text-decoration-color: rgba(255, 255, 255, .4); }
.wsd-doc .wsd-doc-contact a:hover { color: var(--wsd-white); text-decoration-color: var(--wsd-white); }

/* Help card at the end of each policy page */
.wsd-doc-help { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; margin-top: 40px; padding: 32px 40px; border-radius: var(--wsd-radius-lg); background: var(--wsd-mist); }
.wsd-doc-help h2 { margin: 0 0 6px; font-size: 24px; }
.wsd-doc-help p { max-width: 34em; margin: 0; font-size: 16px; }
.wsd-doc-help-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- UX audit fixes (26 Nov 2026) ---------- */
/* Recently viewed: readable text and easy-to-hit buttons */
.ch-recent__brand { font-size: 12px; }
.ch-recent__price small { font-size: 13px; }
.ch-recent__remove { width: 36px; height: 36px; }
.ch-recent__clear { min-height: 40px; padding-right: 8px; padding-left: 8px; }
/* Sort direction arrow beside "Sort By": a 40px target */
.toolbar-sorter .sorter-action { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin-left: 4px; }
/* Header search button: a 44px target around the magnifier */
.block-search .action.search { min-width: 44px; min-height: 44px; }
/* Basket rows: edit and remove icons get 40px targets */
.cart.item .actions-toolbar .action-edit,
.cart.item .actions-toolbar .action-delete { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; min-height: 40px; }
/* Product page: one review prompt, not two. Magento's grey "Be the first to review" under the title is hidden;
   the reviews block further down keeps its stars and link. Once there are reviews the summary shows again. */
.product-info-main .product-reviews-summary.empty { display: none; }
.product-info-main .product-reviews-summary .action { color: var(--wsd-teal-deep); font-size: 14px; }
.ch-reviews-summary .ch-reviews-summary__link { color: var(--wsd-teal-deep); }
/* 404 page */
.wsd-404 { max-width: 760px; padding: 40px 0 88px; }
.wsd-404 .wsd-doc-kicker { margin: 0; }
.wsd-404 h1 { margin: 10px 0 0; color: var(--wsd-ink); font-size: clamp(40px, 5vw, 64px); font-weight: 400; line-height: 1.02; letter-spacing: -.04em; }
.wsd-404-lede { max-width: 34em; margin: 18px 0 0; color: var(--wsd-body); font-size: 18px; line-height: 1.6; }
.wsd-404-search { display: flex; gap: 10px; max-width: 520px; margin: 28px 0 0; }
.wsd-404-search input { flex: 1 1 auto; min-width: 0; }
.wsd-404-search .wsd-btn { flex: 0 0 auto; }
.wsd-404-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 36px 0 0; padding: 0; list-style: none; }
.wsd-404-links li { margin: 0; }
.wsd-404 .wsd-404-links a { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 56px; padding: 14px 18px; border: 1px solid var(--wsd-line); border-radius: var(--wsd-radius-lg); background: var(--wsd-white); color: var(--wsd-ink); font-weight: 500; text-decoration: none; }
.wsd-404 .wsd-404-links a::after { content: "→"; color: var(--wsd-teal); }
.wsd-404 .wsd-404-links a:hover { border-color: #b9c4bc; }
.wsd-404-help { margin: 32px 0 0; color: var(--wsd-muted); font-size: 16px; }
.wsd-404-help a { color: var(--wsd-teal-deep); font-weight: 500; }
.cms-noroute-index .sidebar-additional, .cms-noroute-index .page-title-wrapper { display: none; }
.cms-noroute-index .column.main { width: 100%; }

/* ---------- Footer ---------- */
.page-footer { margin-top: 0; padding-bottom: 0; border-top: 1px solid var(--wsd-line); background: var(--wsd-white); }
.footer.content { max-width: 1320px; padding: 64px var(--wsd-gutter) 24px; border: 0; }
.wsd-footer { color: var(--wsd-body); font-size: 16px; }
.wsd-footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr 1.3fr; gap: 40px; }
.wsd-footer h2, .wsd-footer h3 { margin: 6px 0 14px; color: var(--wsd-ink); font-size: 16px; font-weight: 500; line-height: 1.4; letter-spacing: 0; }
.wsd-footer p { max-width: 34ch; margin: 14px 0 0; color: var(--wsd-muted); line-height: 1.55; }
.wsd-footer ul { margin: 0; padding: 0; list-style: none; }
.wsd-footer li { margin: 0; }
.wsd-footer li a { display: inline-block; padding: 6px 0; }
.wsd-footer a, .wsd-footer a:visited { color: var(--wsd-body); text-decoration: none; }
.wsd-footer a:hover { color: var(--wsd-teal-deep); text-decoration: underline; text-underline-offset: 3px; }
.wsd-footer .wsd-link, .wsd-footer .wsd-link:visited { margin-top: 16px; color: var(--wsd-teal-deep); }
.wsd-footer .wsd-link:hover { text-decoration: none; }

.wsd-footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 24px;
    margin-top: 48px;
    padding-top: 22px;
    border-top: 1px solid var(--wsd-line);
    color: var(--wsd-muted);
    font-size: 14px;
}

.wsd-demo-tag { padding: 5px 12px; border: 1px solid var(--wsd-line); border-radius: var(--wsd-radius); background: var(--wsd-chalk); }
.wsd-footer .wsd-footer-note { max-width: none; margin-top: 14px; font-size: 14px; }

/* ---------- Checkout: one URL, Magento's own steps and validation ---------- */
.checkout-index-index { background: var(--wsd-chalk); }
.checkout-index-index .header.content { display: flex; justify-content: center; min-height: 88px; padding: 16px; }
.checkout-index-index .page-main { max-width: 1200px; }

/* With the one page checkout, the delivery recap box under the summary stays empty; hide it. */
.ch-opc-active .opc-block-shipping-information { display: none; }
.wsd-checkout-intro { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 20px 0 8px; font-size: 16px; }
.wsd-checkout-intro a, .wsd-checkout-intro a:visited, .wsd-checkout-intro span { display: inline-flex; align-items: center; gap: 8px; color: var(--wsd-ink); font-weight: 500; text-decoration: none; }
.wsd-checkout-intro a:hover { color: var(--wsd-teal-deep); }
.wsd-checkout-intro span { color: var(--wsd-teal-deep); }

.opc-wrapper .step-title,
.opc-block-summary > .title { padding-bottom: 16px; border-bottom: 1px solid var(--wsd-line); color: var(--wsd-ink); font-size: 24px; font-weight: 500; letter-spacing: -.015em; }

.opc-wrapper .opc > li { margin-bottom: 24px; padding: 28px; border: 1px solid var(--wsd-line); border-radius: var(--wsd-radius-lg); background: var(--wsd-white); }

.opc-block-summary,
.opc-block-shipping-information { padding: 26px; border: 1px solid var(--wsd-line); border-radius: var(--wsd-radius-lg); background: var(--wsd-white); }

.opc-block-summary .product-item .product-item-name { font-size: 15px; }
.opc-block-summary .table-totals .grand th,
.opc-block-summary .table-totals .grand td { font-size: 21px; }

.opc-progress-bar { margin: 24px 0 30px; }
.opc-progress-bar-item > span { font-size: 16px; }
.opc-progress-bar-item._active:before,
.opc-progress-bar-item._active > span:before { border-color: var(--wsd-teal); background: var(--wsd-teal); }
.opc-progress-bar-item._active > span:after { border-color: var(--wsd-teal); }

.opc-wrapper .form-login,
.opc-wrapper .form-shipping-address { max-width: none; }
.checkout-shipping-method .actions-toolbar > .primary { float: none; }
.checkout-shipping-method .actions-toolbar .action.primary { width: 100%; }
.payment-method-title { padding: 18px 0; }
.payment-method-content { line-height: 1.6; }
.checkout-payment-method .payment-method-billing-address .primary .action-update { font-size: 15px; }
.checkout-payment-method .payment-option-title .action-toggle { color: var(--wsd-teal-deep); }
.opc-wrapper .shipping-address-item.selected-item { border-color: var(--wsd-teal); border-radius: var(--wsd-radius); }
.opc-wrapper .shipping-address-item.selected-item:after { background: var(--wsd-teal); }

/* ---------- Desktop header layout ---------- */
@media (min-width: 768px) {
    .header.content { display: flex; align-items: center; gap: 32px; min-height: 92px; padding: 18px var(--wsd-gutter); }
    .header.content:before, .header.content:after { display: none; }
    .header.content .logo { float: none; flex: 0 0 205px; }
    .header.content .block-search { order: 2; flex: 0 1 440px; float: none; width: auto; margin: 0 auto 0 0; padding: 0; }
    .header.content .block-search .block-content { margin: 0; }
    .header.content .block-search input { padding-right: 46px; padding-left: 20px; }
    .header.content .block-search .action.search { right: 14px; }
    .header.content .wsd-header-help { order: 3; flex-shrink: 0; }
    .header.content .minicart-wrapper { order: 4; float: none; margin: 0; }

    .products-grid .product-items:before, .products-grid .product-items:after { display: none; }

    .opc-wrapper { width: 65%; padding-right: 30px; }
    .opc-sidebar { width: 34%; margin-top: 0; }
    .checkout-index-index .authentication-wrapper { margin-top: 0; }
    .checkout-index-index .header.content .logo { flex: 0 0 auto; }
}

/* ---------- Narrower desktops and tablets ---------- */
@media (max-width: 1100px) {
    :root { --wsd-gutter: 32px; }
    .wsd-header-help { display: none !important; }
    .wsd-hero-note { display: none; }
    .wsd-contact-layout { grid-template-columns: minmax(0, 1fr); }
    .wsd-doc-layout { grid-template-columns: minmax(0, 1fr); }
    .wsd-doc-toc { display: none; }
    .wsd-doc-toc-mobile { display: block; margin: 0 0 16px; border: 1px solid var(--wsd-line); border-radius: var(--wsd-radius-lg); background: var(--wsd-white); }
    .wsd-doc-toc-mobile summary { padding: 16px 20px; color: var(--wsd-ink); font-weight: 500; cursor: pointer; }
    .wsd-doc-toc-mobile ol { padding: 0 10px 12px; }
    .wsd-doc-contact ul { grid-template-columns: 1fr 1fr; }
    .wsd-contact-info { grid-template-columns: 1fr 1fr; }
    .wsd-contact-info > .wsd-contact-card:last-child { grid-column: 1 / -1; grid-template-columns: 48px minmax(0, 1fr) minmax(0, 1.2fr); }
    .wsd-contact-info > .wsd-contact-card:last-child .wsd-contact-map { grid-column: auto; height: auto; min-height: 200px; }
    .wsd-trust ul { grid-template-columns: repeat(2, 1fr); }
    .wsd-trust li { padding: 18px 20px 18px 0; }
    .wsd-trust li + li { padding-left: 0; border-left: 0; }
    .wsd-trust li:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--wsd-line); }
    .wsd-trust li:nth-child(n+3) { border-top: 1px solid var(--wsd-line); }
    .wsd-categories { grid-template-columns: repeat(2, 1fr); }
    .wsd-category { min-height: 210px; }
    .wsd-category + .wsd-category { border-left: 0; }
    .wsd-category:nth-child(even) { border-left: 1px solid var(--wsd-line); }
    .wsd-category:nth-child(n+3) { border-top: 1px solid var(--wsd-line); }
    .wsd-featured .products-grid .product-items { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .wsd-hardness-layout { grid-template-columns: 1fr; gap: 40px; }
    .wsd-benefits { grid-template-columns: repeat(2, 1fr); gap: 36px 32px; }
    .wsd-footer-grid { grid-template-columns: 1fr 1fr; gap: 40px 32px; }
    .wsd-support { flex-wrap: wrap; padding: 36px; }
    .wsd-support .wsd-btn { margin-left: 0; }
}

/* ---------- Phones ---------- */
@media (max-width: 767px) {
    :root { --wsd-gutter: 20px; }

    .wsd-announcement { justify-content: center; padding: 5px 16px; }
    .wsd-announcement > span:first-child, .wsd-announcement > span:last-child { display: none; }

    /* Luma's collapsed mobile search is replaced by an always-visible field. */
    .header.content { min-height: 124px; padding: 18px 18px 12px; }
    .header.content .logo { max-width: 185px; margin: 0 0 0 35px; }
    .header.content .logo img { width: 185px; height: 47px; }
    .nav-toggle { top: 28px; left: 15px; }
    .minicart-wrapper { margin: 9px 0 0 12px; }
    .block-search { float: none; clear: both; width: 100%; margin-top: 12px; }
    .block-search .control { margin: 0; padding: 0; border: 0; }
    .block-search .label { display: none; }
    .block-search input { position: static; width: 100%; margin: 0; padding-left: 18px; }
    .block-search .action.search { display: none; } /* the keyboard's search key submits */
    /* Mega menu inside Luma's slide-out panel: a simple accordion. */
    .nav-sections { border-bottom: 0; }
    .nav-sections .navigation.wsd-mega { padding: 8px 0 20px; }
    .wsd-mega-bar { display: block; }
    .navigation.wsd-mega .wsd-mega-link, .wsd-mega-trigger, .wsd-mega-trigger:focus, .wsd-mega-trigger:active { display: flex; justify-content: space-between; width: 100%; min-height: 52px; padding: 0 20px; border-bottom: 1px solid var(--wsd-line); font-size: 17px; text-align: left; }
    .wsd-mega-bar > li:first-child > .wsd-mega-link, .wsd-mega-bar > li:first-child > .wsd-mega-trigger { padding-left: 20px; }
    .wsd-mega-trigger[aria-expanded=true] { border-bottom-color: var(--wsd-line); }
    .wsd-mega-panel { padding: 18px 20px 6px; border-bottom: 1px solid var(--wsd-line); background: var(--wsd-chalk); }
    .wsd-mega-col { margin-bottom: 18px; }
    .wsd-mega-panel h2 { margin-bottom: 4px; }
    .navigation.wsd-mega .wsd-mega-col li a { padding: 8px 0; font-size: 17px; }
    .wsd-mega-featured, .wsd-mega-help { display: none; }

    .wsd-band { padding-top: 56px; }
    .wsd-band-last { padding-bottom: 56px; }
    .wsd-heading { flex-direction: column; align-items: flex-start; margin-bottom: 26px; }

    /* Stack the hero: words first, then the photograph cropped to the cabinet. */
    .wsd-hero { flex-direction: column; align-items: stretch; min-height: 0; background: #f1f0e9; }
    .wsd-hero:after { display: none; }
    .wsd-hero-content { padding: 40px 0 36px; }
    .wsd-hero-photo { position: static; order: 2; display: block; height: auto; aspect-ratio: 4 / 3; object-position: 92% 60%; }
    .wsd-home .wsd-hero h1 { font-size: clamp(46px, 14.5vw, 64px); }
    .wsd-hero-lede { font-size: 17px; }
    .wsd-hero-actions .wsd-btn { flex: 1 1 100%; }

    .wsd-trust li { align-items: flex-start; gap: 10px; padding: 16px 12px 16px 0; }
    .wsd-trust li:nth-child(even) { padding-left: 14px; }
    .wsd-trust strong { font-size: 15px; }
    .wsd-trust svg { width: 22px; height: 22px; }

    .wsd-category { min-height: 180px; padding: 20px 18px 22px; }
    .wsd-category h3 { padding-top: 28px; font-size: 18px; }
    .wsd-category p { padding-right: 0; font-size: 14px; }
    .wsd-category-go { top: 18px; right: 16px; width: 32px; height: 32px; }

    .products-grid .product-items,
    .wsd-featured .products-grid .product-items { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .products-grid .product-item-photo { padding: 12px; }
    .products-grid .product-item-details { padding: 14px 14px 0; }
    .products-grid .product-item-name { font-size: 15px; }
    .products-grid .price-box .price { font-size: 19px; }
    .products-grid .action.tocart { width: 100%; padding: 10px 12px; }
    .products-grid .actions-primary { width: 100%; }
    .products-grid .actions-secondary { display: none; }

    .wsd-hardness { margin-top: 56px; padding: 56px 0; }
    .wsd-scale { padding: 22px 18px 18px; }
    .wsd-scale figcaption { flex-direction: column; gap: 2px; }
    .wsd-scale figcaption span { text-align: left; }
    .wsd-scale li { grid-template-columns: 8.2em minmax(0, 1fr) 4.4em; gap: 10px; font-size: 15px; }

    .wsd-benefits { grid-template-columns: 1fr; gap: 26px; }
    .wsd-benefits article { display: grid; grid-template-columns: 30px 1fr; column-gap: 16px; }
    .wsd-benefits article svg { grid-row: span 2; margin-top: 2px; }
    .wsd-benefits h3 { margin-top: 0; }
    .wsd-benefits p { margin-top: 4px; }
    .wsd-compare { grid-template-columns: 1fr; margin-top: 40px; }
    .wsd-compare > div { padding: 24px 20px; }
    .wsd-compare > div + div { border-top: 1px solid var(--wsd-line); border-left: 0; }

    .wsd-support { padding: 30px 22px; }
    .wsd-support-icon { display: none; }
    .wsd-support .wsd-btn { width: 100%; }

    .wsd-finder { padding: 32px 22px 26px; }
    .wsd-finder h2 { font-size: 26px; }

    .footer.content { padding: 44px 20px 20px; }
    .wsd-footer-grid > div:first-child, .wsd-footer-grid > div:last-child { grid-column: 1 / -1; }

    .wsd-pd { font-size: 16px; }
    .wsd-pd h2 { margin: 40px 0 16px; font-size: 24px; }
    .wsd-pd-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .wsd-pd-facts li { padding: 16px 16px 18px; }
    .wsd-pd-facts li + li { border-left: 0; }
    .wsd-pd-facts li:nth-child(even) { border-left: 1px solid var(--wsd-line); }
    .wsd-pd-facts li:nth-child(n+3) { border-top: 1px solid var(--wsd-line); }
    .wsd-pd-facts strong { font-size: 18px; }
    .wsd-pd-features { grid-template-columns: 1fr; }
    .wsd-pd .wsd-pd-spec th, .wsd-pd .wsd-pd-spec td { font-size: 16px; }
    .wsd-pd .wsd-pd-spec th { width: 46%; padding-right: 14px; }
    .page-products .columns { padding-top: 20px; }
    .wsd-cat-nav ul { flex-wrap: nowrap; margin: 0 -20px; padding: 0 20px 4px; overflow-x: auto; scrollbar-width: none; }
    .wsd-cat-nav a { white-space: nowrap; }
    .page-products .toolbar-sorter .sorter-label { display: none; }
    /* Phones: a "Shop By" button opens Luma's full-screen filter panel; count and sort sit on one row below it. */
    .page-products .filter.block { margin: 0 0 16px; padding: 0; border: 0; background: none; }
    .page-products .filter:not(.active) .filter-title strong {
        position: static;
        display: inline-flex;
        align-items: center;
        min-height: 44px;
        padding: 8px 18px;
        border: 1px solid var(--wsd-line);
        border-radius: 99px;
        background: var(--wsd-white);
        box-shadow: none;
        color: var(--wsd-ink);
        font-size: 16px;
        font-weight: 400;
    }
    .page-products .filter.active .filter-options { padding: 0 20px; }
    .page-products .filter.active .filter-subtitle { padding-left: 20px; }
    .page-products .toolbar-amount, .page-products .toolbar-sorter { position: static; }
    .page-products .columns .column.main { padding-top: 0; }
    .wsd-card-facts li { font-size: 13px; }
    .page-products .category-description { margin-top: 44px; padding-top: 28px; font-size: 16px; }
    .page-products .category-description h2 { font-size: 24px; }
    /* Phones: items first, then the summary. */
    .cart-container { display: flex; flex-direction: column; }
    .cart-container .form-cart { order: 1; }
    .cart-container .cart-summary { position: static; order: 2; margin-top: 28px; padding: 22px 20px; }
    .cart-container .crosssell, .cart-container .cart-gift-item { order: 3; }
    .ch-opc-active .opc-wrapper .field, .ch-opc-active .opc-wrapper .field > .label, .ch-opc-active .opc-wrapper .fieldset > .field > .control { background: transparent; }
    .cart.table-wrapper .product-item-name { font-size: 17px; }
    .cart.main.actions .action { flex: 1 1 100%; justify-content: center; }
    .minicart-wrapper .mage-dropdown-dialog { width: 100vw; }
    /* Image viewer on phones: keep every control on screen; thumbnails scroll sideways. */
    .wsdz-dialog { width: calc(100% - 16px); height: calc(100dvh - 16px); }
    .wsdz-bar, .wsdz-footer { gap: 6px; padding-right: 10px; padding-left: 10px; }
    .wsdz-bar { flex-wrap: nowrap; }
    .wsdz-counter { flex: 1 1 auto; min-width: 0; font-size: 14px; white-space: nowrap; }
    .wsdz-control { flex: 0 0 auto; min-width: 40px; min-height: 40px; padding: 0 8px; }
    .wsdz-thumbnails { flex: 1 1 auto; min-width: 0; overflow-x: auto; scrollbar-width: none; }
    .wsdz-thumbnail { flex: 0 0 auto; }
    .product-info-main .page-title { font-size: 32px; }
    .product-info-main .price-box .price { font-size: 28px; }
    .product.data.items > .item.content { padding: 20px; }
    .block-customer-login, .form-create-account, .form.contact { padding: 24px 20px; }
    .wsd-contact { padding: 32px 0 56px; }
    .wsd-contact-intro { margin-bottom: 32px; }
    .wsd-contact-quick .wsd-btn { flex: 1 1 100%; justify-content: center; }
    .wsd-contact-card { grid-template-columns: 40px minmax(0, 1fr); gap: 14px; padding: 22px 20px; }
    .wsd-contact-icon { width: 40px; height: 40px; }
    .wsd-contact-phone { font-size: 24px; }
    .wsd-contact-pair { grid-template-columns: 1fr; }
    .checkout-cart-index .page-main { padding-right: var(--wsd-gutter); padding-left: var(--wsd-gutter); }
    .checkout-cart-index .page-main .page-title-wrapper { padding-right: 0; padding-left: 0; }
    .minicart-wrapper .action.showcart { min-height: 44px; display: inline-flex; align-items: center; }
    .wsd-404-search { flex-wrap: wrap; }
    .wsd-404-search .wsd-btn { flex: 1 1 100%; }
    .wsd-404-links { grid-template-columns: minmax(0, 1fr); }
    .wsd-doc { padding: 24px 0 64px; font-size: 16px; }
    .wsd-doc-nav ul { flex-wrap: nowrap; margin: 0 calc(var(--wsd-gutter) * -1) 28px; padding: 0 var(--wsd-gutter) 4px; overflow-x: auto; scrollbar-width: none; }
    .wsd-doc-nav a { white-space: nowrap; }
    .wsd-doc-head { margin-bottom: 32px; }
    .wsd-doc-lede { font-size: 17px; }
    .wsd-doc-section { padding: 24px 20px; }
    .wsd-doc-section h2 { font-size: 22px; }
    .wsd-doc-clause { grid-template-columns: 44px minmax(0, 1fr); }
    .wsd-doc-note { margin-left: 0 !important; }
    .wsd-doc-split { grid-template-columns: 1fr; gap: 32px; margin-bottom: 40px; }
    .wsd-doc-stats { margin-bottom: 40px; }
    .wsd-doc-contact, .wsd-doc-help { padding: 26px 22px; }
    .wsd-doc-contact ul { grid-template-columns: 1fr; gap: 18px; }
    .wsd-doc-help-actions, .wsd-doc-help-actions .wsd-btn { flex: 1 1 100%; }
    .wsd-doc-help-actions .wsd-btn { justify-content: center; text-align: center; }
    .wsd-contact-info { grid-template-columns: minmax(0, 1fr); }
    .wsd-contact-info > .wsd-contact-card:last-child { grid-template-columns: 40px minmax(0, 1fr); }
    .wsd-contact-info > .wsd-contact-card:last-child .wsd-contact-map { grid-column: 1 / -1; height: 200px; }
    .wsd-contact-hours > div.is-today dt::after { content: none; }
    .wsd-contact-page .form.contact.wsd-contact-form { padding: 26px 20px; }

    .checkout-index-index .header.content { min-height: 80px; padding: 15px; }
    .checkout-index-index .header.content .logo { max-width: none; margin: 0; }
    .checkout-index-index .header.content .logo img { width: 205px; height: 55px; }
    .opc-wrapper { padding: 0; }
    .opc-wrapper .opc > li { padding: 24px 20px; }
    .opc-block-summary, .opc-block-shipping-information { padding: 24px 20px; }
    .checkout-container .modal-custom .modal-inner-wrap { border-radius: var(--wsd-radius-lg); }
}

@media (prefers-reduced-motion: reduce) {
    .wsd-home *, .wsd-footer *, .wsd-btn, .action.primary { transition: none !important; animation: none !important; }
}

/* Delivery box as a free delivery panel (CentralHeat_Delivery options.phtml override) */
.wsd-free-delivery.is-free { border-color: #b9d8cf; background: var(--wsd-mist); }
.wsd-free-delivery .ch-delivery__price.is-free { color: var(--wsd-teal); font-weight: 700; }
.wsd-free-delivery__goal { margin: 0; padding: 0 16px 12px; }
.wsd-free-delivery__text { margin: 0; color: var(--wsd-ink); font-size: 14px; font-weight: 600; line-height: 1.45; }
.wsd-free-delivery__bar { height: 8px; margin: 10px 0 0; border-radius: 99px; background: var(--wsd-line); overflow: hidden; }
.wsd-free-delivery__bar span { display: block; height: 100%; border-radius: 99px; background: var(--wsd-teal); }
