/* Select Doors new-look styles (moved out of the page, Nov 2026): header, footer, home page */
    :root {
        --sd-red: #e8435f;
        --sd-red-dark: #cc2f4a;
        --sd-ink: #1b1b1b;
        --sd-text: #4a4a4a;
        --sd-muted: #7a7a7a;
        --sd-line: #ececec;
        --sd-soft: #f7f6f4;
        --sd-white: #ffffff;
        --sd-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
        --sd-sans: 'Inter', -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
        --sd-radius: 10px;
    }
    .sd-wrap { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 20px; }

    /* ---------- header ---------- */
    .header__section.header__transparent { position: relative; background: #fff; }
    .news-topbar { background: #2b2b2b !important; }
    .news-topbar .ticker-icon { color: var(--sd-red) !important; }
    .sd-utility { background: var(--sd-soft); border-bottom: 1px solid var(--sd-line); font-family: var(--sd-sans); }
    .sd-utility__inner { display: flex; justify-content: space-between; align-items: center; min-height: 40px; gap: 16px; }
    .sd-utility__left, .sd-utility__right { display: flex; align-items: center; gap: 22px; }
    .sd-utility__link { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 500; color: var(--sd-ink); text-decoration: none; }
    .sd-utility__link i { color: var(--sd-red); font-size: 12px; }
    .sd-utility__link:hover { color: var(--sd-red); }

    .sd-mainbar { background: #fff; border-bottom: 1px solid var(--sd-line); font-family: var(--sd-sans); z-index: 999; position: relative; }
    .sd-mainbar.is-fixed { position: fixed; top: 0; left: 0; right: 0; box-shadow: 0 4px 18px rgba(0,0,0,.08); animation: sdDrop .25s ease; }
    @keyframes sdDrop { from { transform: translateY(-100%); } to { transform: none; } }
    .sd-mainbar__inner { display: flex; align-items: center; gap: 24px; min-height: 84px; max-width: 1480px; }
    .sd-logo-img { height: 50px; width: auto; display: block; flex-shrink: 0; }
    .sd-nav { flex: 1; }
    .sd-nav__list { display: flex; justify-content: center; flex-wrap: nowrap; gap: 0 clamp(12px, 1.35vw, 26px); list-style: none; margin: 0; padding: 0; }
    .sd-nav__item { position: relative; }
    .sd-nav__link { display: block; padding: 30px 0; font-size: clamp(13.5px, 1vw, 15px); font-weight: 600; color: var(--sd-ink); text-decoration: none; white-space: nowrap; border-bottom: 2px solid transparent; }
    .sd-nav__item:hover > .sd-nav__link { color: var(--sd-red); border-bottom-color: var(--sd-red); }
    .sd-nav__drop { position: absolute; top: 100%; left: -18px; min-width: 240px; background: #fff; border: 1px solid var(--sd-line); border-radius: 0 0 var(--sd-radius) var(--sd-radius); box-shadow: 0 14px 30px rgba(0,0,0,.10); list-style: none; padding: 10px 0; margin: 0; opacity: 0; visibility: hidden; transform: translateY(6px); transition: all .18s ease; z-index: 50; }
    .sd-nav__item:hover > .sd-nav__drop { opacity: 1; visibility: visible; transform: none; }
    .sd-nav__drop a { display: block; padding: 9px 20px; font-size: 14px; color: var(--sd-text); text-decoration: none; text-transform: capitalize; }
    .sd-nav__drop a:hover { background: var(--sd-soft); color: var(--sd-red); }
    .sd-icons { display: flex; align-items: center; gap: 6px; margin-left: auto; }
    .sd-nav + .sd-icons { margin-left: 0; }
    .sd-icon-btn { position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 8px; background: none; border: 0; color: var(--sd-ink); text-decoration: none; cursor: pointer; border-radius: 8px; }
    .sd-icon-btn:hover { color: var(--sd-red); background: var(--sd-soft); }
    .sd-badge { position: absolute; top: 0; left: 22px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--sd-red); color: #fff; font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; }
    .sd-basket-price { font-size: 14px; font-weight: 600; margin-left: 8px; }
    .sd-burger a { color: var(--sd-ink); display: inline-flex; padding: 6px; }
    .sd-searchpanel { border-top: 1px solid var(--sd-line); background: #fff; padding: 16px 0 18px; }
    .sd-search { display: block; position: relative; margin: 0; }
    .sd-search input { width: 100%; height: 50px; border: 1.5px solid var(--sd-line) !important; border-radius: 30px !important; padding: 0 56px 0 22px !important; font-size: 15px; font-family: var(--sd-sans); }
    .sd-search input:focus { border-color: var(--sd-red) !important; outline: none; }
    .sd-search button { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--sd-red); color: #fff; }
    @media (max-width: 1199.98px) {
        .sd-logo-img { height: 38px; }
        .sd-mainbar__inner { min-height: 66px; gap: 10px; }
        .sd-logo { margin-right: auto; }
    }
    @media (max-width: 575.98px) {
        .sd-utility__inner { justify-content: center; }
        .sd-utility__right { display: none; }
        .sd-basket-price { display: none; }
    }

    /* ---------- header option 2: search + full-width black menu bar (Admin > Website Setting) ---------- */
    .sd-mainbar--bar { border-bottom: 0; }
    .sd-hb__row { display: grid; grid-template-columns: 1fr minmax(0, 700px) 1fr; align-items: center; gap: 28px; min-height: 92px; max-width: 1480px; }
    .sd-hb__row .sd-logo { justify-self: start; }
    .sd-hb__search { width: 100%; }
    .sd-hb__icons { justify-self: end; }
    .sd-hb__search .sd-search input { height: 54px; background: #fafafa; border-width: 2px !important; padding-right: 150px !important; font-size: 16px; }
    .sd-hb__search .sd-search input:focus { background: #fff; }
    .sd-hb__search .sd-search button { width: auto; height: 44px; right: 5px; padding: 0 22px; border-radius: 24px; display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; letter-spacing: .02em; box-shadow: 0 3px 10px rgba(232, 67, 95, .35); transition: transform .15s, box-shadow .15s; }
    .sd-hb__search .sd-search button:hover { transform: translateY(-50%) scale(1.03); box-shadow: 0 5px 14px rgba(232, 67, 95, .45); }
    .sd-hb__icons { display: flex; align-items: center; gap: 4px; }
    .sd-hb__icon { position: relative; display: inline-flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 12px; color: var(--sd-ink); text-decoration: none; border-radius: 10px; font-size: 13px; font-weight: 600; line-height: 1.1; white-space: nowrap; }
    .sd-hb__icon:hover { color: var(--sd-red); background: var(--sd-soft); }
    .sd-hb__icon svg { width: 28px; height: 28px; }
    .sd-hb__icon .sd-badge { top: 0; left: auto; right: 4px; }
    .sd-hb__icon .sd-basket-price { margin: 0; font-size: 14px; font-weight: 700; }
    .sd-hb__nav { background: #111; border-bottom: 4px solid #f5c400; }
    .sd-hb__list { display: flex; justify-content: center; flex-wrap: nowrap; list-style: none; margin: 0; padding: 0; }
    .sd-hb__link { display: block; padding: 15px clamp(9px, 1.15vw, 24px); font-size: clamp(14px, 1vw, 16px); font-weight: 600; color: #fff; text-decoration: none; white-space: nowrap; letter-spacing: .01em; transition: background .15s, color .15s; }
    .sd-hb__list .sd-nav__item:hover > .sd-hb__link { background: var(--sd-red); color: #fff; }
    .sd-hb__list .sd-nav__drop { left: 0; border-radius: 0 0 var(--sd-radius) var(--sd-radius); }
    .sd-hb__link { display: flex; align-items: center; gap: 6px; }
    .sd-caret { opacity: .7; transition: transform .2s; }
    .sd-nav__item:hover .sd-caret { transform: rotate(180deg); opacity: 1; }

    /* ===== main menu dropdown: full-width panel ===== */
    .sd-mainbar .sd-nav__item { position: static; }
    .sd-mega { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid var(--sd-line); box-shadow: 0 24px 40px -12px rgba(0,0,0,.22); z-index: 60;
        opacity: 0; visibility: hidden; transform: translateY(6px);
        /* closing waits a moment, so moving the mouse down onto the panel (across the gold line) doesn't shut it */
        transition: opacity .15s ease .2s, transform .15s ease .2s, visibility 0s linear .35s; }
    /* scrolling the page closes the menu straight away (it opens again when the mouse goes back onto a menu name) */
    @media (min-width: 1200px) { body.sd-mega-off .sd-mega { opacity: 0 !important; visibility: hidden !important; transition: none !important; } }
    .sd-mega::before { content: ''; position: absolute; left: 0; right: 0; top: -14px; height: 14px; } /* invisible bridge over the gold line */
    .sd-nav__item:hover > .sd-mega, .sd-nav__item:has(:focus-visible) > .sd-mega { opacity: 1; visibility: visible; transform: none; transition: opacity .15s ease .06s, transform .15s ease .06s, visibility 0s linear 0s; z-index: 61; }
    .sd-mega__in { display: grid; grid-template-columns: 1fr 280px; gap: 36px; padding-top: 26px; padding-bottom: 30px; max-width: 1320px; }
    .sd-mega__head { display: flex; align-items: baseline; justify-content: space-between; padding-bottom: 12px; margin-bottom: 14px; border-bottom: 1px solid var(--sd-line); }
    .sd-mega__head span { font-family: var(--sd-serif); font-size: 22px; font-weight: 600; color: var(--sd-ink); }
    .sd-mega__head a { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--sd-red); text-decoration: none; }
    .sd-mega__head a:hover { text-decoration: underline; }
    .sd-mega__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px 18px; max-height: 62vh; overflow-y: auto; }
    .sd-mega__grid.is-text { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 18px; }
    .sd-mega__link { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 10px; text-decoration: none; color: var(--sd-ink); transition: background .15s; }
    .sd-mega__link:hover { background: var(--sd-soft); }
    .sd-mega__link:hover b { color: var(--sd-red); }
    .sd-mega__img { flex: none; width: 54px; height: 54px; border-radius: 8px; background: #fff; border: 1px solid var(--sd-line); overflow: hidden; display: block; padding: 3px; }
    .sd-mega__img img { width: 100%; height: 100%; object-fit: contain; display: block; } /* whole picture, not cropped */
    .sd-mega__txt { display: flex; flex-direction: column; min-width: 0; }
    .sd-mega__txt b { font-size: 14.5px; font-weight: 600; line-height: 1.3; text-transform: capitalize; }
    .sd-mega__txt small { font-size: 12.5px; color: var(--sd-muted); margin-top: 2px; }
    .sd-mega__grid.is-text .sd-mega__link { padding: 7px 8px; }
    .sd-mega__grid.is-text .sd-mega__txt b { font-weight: 500; font-size: 14px; }
    .sd-mega__feature { position: relative; display: block; border-radius: 14px; overflow: hidden; background: #222; min-height: 260px; text-decoration: none; color: #fff; }
    /* product photos are always shown whole (never cropped), on white */
    img[src*="uploads/products/"], img[src*="/products/"][src*="uploads/thumbs/"] { object-fit: contain !important; background-color: #fff; }
    .sd-mega__fimg, .sd-mega__fimg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
    .sd-mega__fimg img { transition: transform .5s; }
    .sd-mega__feature:hover .sd-mega__fimg img { transform: scale(1.05); }
    .sd-mega__fcap { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 18px 18px; background: linear-gradient(transparent, rgba(0,0,0,.78)); display: flex; flex-direction: column; gap: 3px; }
    .sd-mega__fcap b { font-family: var(--sd-serif); font-size: 21px; font-weight: 600; }
    .sd-mega__fcap em { font-style: normal; font-size: 13px; opacity: .85; }
    .sd-mega__fcap i { font-style: normal; font-weight: 700; font-size: 13.5px; margin-top: 8px; color: #f5c400; }
    .sd-hb__nav ~ * .sd-mega, .sd-mainbar--bar .sd-mega { border-top: 0; }
    @media (max-width: 1199.98px) {
        .sd-hb__row { display: flex; flex-wrap: wrap; min-height: 0; padding-top: 10px; padding-bottom: 10px; gap: 8px 12px; }
        .sd-hb__row .sd-logo { margin-right: auto; }
        .sd-hb__search { order: 5; flex-basis: 100%; max-width: none; }
        .sd-hb__search .sd-search input { height: 48px; padding-right: 60px !important; }
        .sd-hb__search .sd-search button { height: 38px; padding: 0 14px; }
        .sd-hb__searchtxt { display: none; }
        .sd-hb__icon { padding: 6px 8px; }
        .sd-hb__icon span:not(.sd-basket-price) { display: none; }
    }

    /* trust strip under the menu – beta style: gold lines above and below, ticks, Google stars (every page incl. home) */
    .bottom-info-bar { background: #fff !important; border-top: 3px solid #FFD200 !important; border-bottom: 3px solid #FFD200 !important; font-family: var(--sd-sans); font-size: 15px !important; padding: 12px 16px !important; gap: 12px 30px !important; }

    /* ---------- shared section look ---------- */
    .sd-home, .sd-footer { font-family: var(--sd-sans); color: var(--sd-text); }
    .sd-section { padding: 72px 0; }
    .sd-section--soft { background: var(--sd-soft); }
    .sd-head { text-align: center; margin-bottom: 38px; }
    .sd-pill { display: inline-block; padding: 5px 14px; border-radius: 20px; background: #fdecef; color: var(--sd-red); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 12px; }
    .sd-title { font-family: var(--sd-serif); font-weight: 600; color: var(--sd-ink); font-size: clamp(28px, 3.4vw, 40px); line-height: 1.2; margin: 0; }
    .sd-title-rule { display: block; width: 52px; height: 2px; background: var(--sd-red); margin: 16px auto 0; }
    .sd-sub { margin: 12px auto 0; max-width: 620px; font-size: 16px; color: var(--sd-muted); }
    .sd-btn { display: inline-block; padding: 13px 30px; border-radius: 30px; background: var(--sd-red); color: #fff !important; font-weight: 600; font-size: 15px; text-decoration: none; border: 0; transition: background .2s, transform .2s; }
    .sd-btn:hover { background: var(--sd-red-dark); transform: translateY(-1px); }
    .sd-btn--ghost { background: transparent; color: var(--sd-ink) !important; border: 1.5px solid var(--sd-ink); }
    .sd-btn--ghost:hover { background: var(--sd-ink); color: #fff !important; }

    /* ---------- hero ---------- */
    .sd-hero { position: relative; }
    .sd-hero .swiper-slide { position: relative; height: clamp(380px, 46vw, 620px); background-size: cover; background-position: center; display: flex; align-items: center; justify-content: center; text-align: center; }
    .sd-hero .swiper-slide::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.25), rgba(0,0,0,.45)); }
    .sd-hero__content { position: relative; z-index: 1; max-width: 820px; padding: 0 24px; color: #fff; }
    .sd-hero__eyebrow { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; opacity: .95; }
    .sd-hero__title { font-family: var(--sd-serif); font-weight: 600; font-size: clamp(34px, 5vw, 64px); line-height: 1.1; color: #fff; margin: 0 0 16px; text-shadow: 0 2px 14px rgba(0,0,0,.35); }
    .sd-hero__text { font-size: clamp(15px, 1.4vw, 18px); margin: 0 0 28px; color: #fff !important; text-shadow: 0 1px 8px rgba(0,0,0,.5); }
    .sd-hero__nav { position: absolute; top: 50%; z-index: 5; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,.9); border: 0; font-size: 26px; line-height: 1; color: var(--sd-ink); cursor: pointer; box-shadow: 0 4px 14px rgba(0,0,0,.15); }
    .sd-hero__nav:hover { background: #fff; color: var(--sd-red); }
    .sd-hero__prev { left: 22px; } .sd-hero__next { right: 22px; }
    @media (max-width: 767.98px) { .sd-hero__nav { display: none; } .sd-hero .swiper-slide { height: 440px; } }
    .sd-hero .swiper-pagination-bullet { background: #fff; opacity: .6; width: 9px; height: 9px; }
    .sd-hero .swiper-pagination-bullet-active { opacity: 1; background: var(--sd-red); }

    /* ---------- selling points strip ---------- */
    .sd-usps { background: #fff; border-bottom: 1px solid var(--sd-line); }
    .sd-usps__inner { display: grid; grid-template-columns: repeat(4, 1fr); }
    .sd-usp { display: flex; align-items: center; gap: 14px; padding: 24px 18px; }
    .sd-usp + .sd-usp { border-left: 1px solid var(--sd-line); }
    .sd-usp__icon { flex: 0 0 46px; height: 46px; border-radius: 50%; background: #fdecef; color: var(--sd-red); display: flex; align-items: center; justify-content: center; font-size: 19px; }
    .sd-usp strong { display: block; color: var(--sd-ink); font-size: 15px; font-weight: 700; }
    .sd-usp span { font-size: 13.5px; color: var(--sd-muted); }
    @media (max-width: 991.98px) { .sd-usps__inner { grid-template-columns: repeat(2, 1fr); } .sd-usp:nth-child(3) { border-left: 0; } .sd-usp:nth-child(n+3) { border-top: 1px solid var(--sd-line); } }
    @media (max-width: 479.98px) { .sd-usp { padding: 16px 10px; gap: 10px; } .sd-usp__icon { flex-basis: 38px; height: 38px; font-size: 16px; } .sd-usp strong { font-size: 13.5px; } .sd-usp span { font-size: 12px; } }

    /* ---------- product cards ---------- */
    .sd-grid { display: grid; gap: 24px; grid-template-columns: repeat(4, 1fr); }
    @media (max-width: 991.98px) { .sd-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
    .sd-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--sd-line); border-radius: var(--sd-radius); overflow: hidden; text-decoration: none !important; transition: box-shadow .25s, transform .25s; height: 100%; }
    .sd-card:hover { box-shadow: 0 14px 30px rgba(0,0,0,.09); transform: translateY(-3px); }
    .sd-card__img { position: relative; aspect-ratio: 4 / 3; background: #f3f1ee; overflow: hidden; border-bottom: 1px solid var(--sd-line); }
    /* whole photo always shows (never cropped); white photo backgrounds blend into the soft frame */
    .sd-card__img img { width: 100%; height: 100%; object-fit: contain; padding: 6%; mix-blend-mode: multiply; transition: transform .5s; }
    .sd-card__img--photo img { object-fit: cover; padding: 0; mix-blend-mode: normal; }
    .sd-card__sale { position: absolute; top: 10px; left: 10px; z-index: 2; background: var(--sd-red); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 9px; border-radius: 4px; text-transform: uppercase; letter-spacing: .04em; }
    .sd-card__price s { color: var(--sd-muted); font-weight: 400; margin-right: 2px; }
    .sd-card:hover .sd-card__img img { transform: scale(1.04); }
    .sd-card__body { padding: 16px 18px 20px; }
    .sd-card__name { font-family: var(--sd-serif); font-size: 18px; font-weight: 500; color: var(--sd-ink); margin: 0 0 6px; line-height: 1.3; }
    .sd-card__price { font-size: 14px; color: var(--sd-muted); }
    .sd-card__price b { color: var(--sd-red); font-weight: 700; }

    /* ---------- category tiles ---------- */
    .sd-cats { display: grid; gap: 22px; grid-template-columns: repeat(var(--sd-cat-cols, 4), 1fr); }
    @media (max-width: 991.98px) { .sd-cats { grid-template-columns: repeat(2, 1fr); gap: 14px; } }
    .sd-cat { position: relative; display: block; border-radius: var(--sd-radius); overflow: hidden; aspect-ratio: 4 / 3; background: #f3f1ee; border: 1px solid var(--sd-line); text-decoration: none !important; }
    .sd-cat img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
    .sd-cat:hover img { transform: scale(1.06); }
    /* cut-out photos (white or see-through background): shown whole on the soft frame, above the label */
    .sd-cat--cutout img { object-fit: contain; padding: 7% 12% 25%; mix-blend-mode: multiply; }
    .sd-cat--cutout:hover img { transform: scale(1.03); }
    .sd-cat__noimg { width: 100%; height: 100%; background: linear-gradient(135deg, #f1f1f1, #e2e2e2); }
    .sd-cat__label { position: absolute; left: 14px; right: 14px; bottom: 14px; background: #fff; border-radius: 8px; padding: 12px 10px; text-align: center; font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--sd-ink); box-shadow: 0 6px 18px rgba(0,0,0,.12); transition: background .2s, color .2s; }
    .sd-cat:hover .sd-cat__label { background: var(--sd-red); color: #fff; }
    @media (max-width: 575.98px) { .sd-cat__label { left: 8px; right: 8px; bottom: 8px; padding: 8px 6px; font-size: 11.5px; letter-spacing: .03em; } .sd-section { padding: 52px 0; } }

    /* ---------- how it works ---------- */
    .sd-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; counter-reset: sdstep; }
    @media (max-width: 767.98px) { .sd-steps { grid-template-columns: 1fr; } }
    .sd-step { background: #fff; border: 1px solid var(--sd-line); border-radius: var(--sd-radius); padding: 30px 26px; text-align: center; }
    .sd-step__num { width: 52px; height: 52px; border-radius: 50%; margin: 0 auto 16px; background: var(--sd-red); color: #fff; font-family: var(--sd-serif); font-size: 22px; font-weight: 600; display: flex; align-items: center; justify-content: center; }
    .sd-step h3 { font-family: var(--sd-serif); font-size: 21px; color: var(--sd-ink); margin: 0 0 8px; }
    .sd-step p { margin: 0; font-size: 15px; }

    /* ---------- reviews ---------- */
    .sd-review { height: 100%; background: #fff; border: 1px solid var(--sd-line); border-radius: var(--sd-radius); padding: 26px 26px 22px; display: flex; flex-direction: column; }
    .sd-review__stars { color: #f5a623; letter-spacing: 2px; font-size: 16px; margin-bottom: 12px; }
    .sd-review__text { font-size: 15px; line-height: 1.7; color: var(--sd-text); margin: 0; display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
    .sd-review__text.is-open { display: block; -webkit-line-clamp: unset; }
    .sd-review-more { align-self: flex-start; background: none; border: 0; padding: 0; margin-top: 8px; color: var(--sd-red); font-weight: 600; font-size: 14px; cursor: pointer; }
    .sd-review__who { margin-top: auto; padding-top: 18px; display: flex; align-items: center; gap: 12px; }
    .sd-review__avatar { width: 42px; height: 42px; border-radius: 50%; background: #fdecef; color: var(--sd-red); font-weight: 700; display: flex; align-items: center; justify-content: center; }
    .sd-review__name { font-weight: 700; color: var(--sd-ink); font-size: 15px; line-height: 1.2; }
    .sd-review__src { font-size: 12.5px; color: var(--sd-muted); }
    .sd-reviews-swiper .swiper-slide { height: auto; }
    .sd-reviews-nav { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 28px; }
    .sd-reviews-nav button { width: 40px; height: 40px; border-radius: 50%; border: 1px solid #ddd; background: #fff; font-size: 24px; line-height: 1; color: var(--sd-ink); cursor: pointer; }
    .sd-reviews-nav button:hover { background: var(--sd-red); border-color: var(--sd-red); color: #fff; }
    .sd-reviews-dots { position: static !important; width: auto !important; display: flex; gap: 6px; }
    .sd-reviews-dots .swiper-pagination-bullet { margin: 0 !important; }
    .sd-reviews-dots .swiper-pagination-bullet-active { background: var(--sd-red); }
    .sd-google { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 15px; color: var(--sd-ink); text-decoration: none; }
    .sd-google:hover { color: var(--sd-red); }

    /* ---------- about ---------- */
    .sd-about { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
    @media (max-width: 991.98px) { .sd-about { grid-template-columns: 1fr; gap: 30px; } }
    .sd-about__img { border-radius: var(--sd-radius); overflow: hidden; aspect-ratio: 5 / 4; }
    .sd-about__img img { width: 100%; height: 100%; object-fit: cover; }
    .sd-about h2 { text-align: left; }
    .sd-about__text { font-size: 16px; line-height: 1.8; margin: 18px 0 26px; }

    /* ---------- blog ---------- */
    .sd-post__meta { font-size: 12.5px; color: var(--sd-muted); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 6px; }
    .sd-post__excerpt { font-size: 14.5px; margin: 6px 0 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

    /* ---------- footer ---------- */
    /* footer – simple light version (Oct 2026) */
    .sd-footer { background: var(--sd-soft); color: var(--sd-text); border-top: 1px solid var(--sd-line); font-size: 14px; }
    .sd-footer a { color: var(--sd-ink); text-decoration: none; }
    .sd-footer a:hover { color: var(--sd-red); }
    .sd-footer__main { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px 40px; padding-top: 30px; padding-bottom: 26px; }
    .sd-footer__logo { display: inline-block; }
    .sd-footer__logo .sd-logo-img { height: 34px; }
    .sd-footer__brand p { margin: 8px 0 0; font-size: 13.5px; color: var(--sd-muted); }
    .sd-footer__links { display: flex; flex-wrap: wrap; gap: 8px 26px; font-weight: 500; }
    .sd-footer__contact { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; font-weight: 600; }
    .sd-footer__contact i { color: var(--sd-red); margin-right: 6px; font-size: 13px; }
    .sd-footer__social { display: inline-flex; gap: 8px; }
    .sd-footer__social a { width: 32px; height: 32px; border-radius: 50%; border: 1px solid #dcdcdc; display: inline-flex; align-items: center; justify-content: center; font-size: 14px; }
    .sd-footer__social a:hover { background: var(--sd-red); border-color: var(--sd-red); color: #fff; }
    .sd-footer__bottom { border-top: 1px solid #e6e3df; font-size: 12.5px; color: var(--sd-muted); }
    .sd-footer__bottom a { color: var(--sd-muted); }
    .sd-footer__bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 18px; padding-top: 12px; padding-bottom: 12px; }
    .sd-footer__legal { display: flex; gap: 16px; }
    .sd-pay { display: inline-flex; flex-wrap: wrap; gap: 6px; }
    .sd-pay__b { display: inline-flex; width: 46px; height: 29px; background: #fff; border: 1px solid #dcdcdc; border-radius: 5px; overflow: hidden; }
    .sd-pay__b svg { width: 100%; height: 100%; display: block; }
    .sd-pay__b--amex { background: #2E77BC; border-color: #2E77BC; }
    .sd-footer__pay { display: flex; gap: 8px; font-size: 22px; color: #a3a3a3; }
    @media (max-width: 767.98px) {
        .sd-footer__main { flex-direction: column; align-items: flex-start; gap: 16px; padding-top: 24px; padding-bottom: 20px; }
        .sd-footer__links { gap: 8px 18px; }
        .sd-footer__bottom-inner { flex-direction: column; align-items: flex-start; gap: 6px; }
    }

    /* newsletter band at the top of the footer (EZ Doors style) */
    .sd-news { background: #2b2b2b; color: #fff; }
    .sd-news__inner { display: grid; grid-template-columns: minmax(240px, 1fr) 2.4fr; gap: 14px 40px; align-items: center; padding-top: 30px; padding-bottom: 26px; }
    .sd-news h3 { font-family: var(--sd-serif); font-size: 24px; font-weight: 600; color: #fff; margin: 0 0 6px; }
    .sd-news__text p { margin: 0; font-size: 14.5px; color: #dcdcdc; }
    .sd-news__fields { display: grid; grid-template-columns: 1fr 1fr 1.3fr auto; }
    .sd-news__fields input { height: 52px; background: transparent; border: 1px solid rgba(255,255,255,.55); border-right-width: 0; color: #fff; padding: 0 18px; font-size: 15px; font-family: var(--sd-sans); border-radius: 0; min-width: 0; }
    .sd-news__fields input::placeholder { color: #cfcfcf; opacity: 1; }
    .sd-news__fields input:focus { outline: none; background: rgba(255,255,255,.06); border-color: #fff; }
    .sd-news__fields button { height: 52px; padding: 0 30px; border: 1px solid var(--sd-red); background: var(--sd-red); color: #fff; font-weight: 700; font-size: 14.5px; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; transition: background .15s; }
    .sd-news__fields button:hover { background: var(--sd-red-dark); border-color: var(--sd-red-dark); }
    .sd-news__fields button:disabled { opacity: .7; cursor: wait; }
    .sd-news__hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
    .sd-news__msg { margin: 8px 0 0; font-size: 14px; min-height: 0; }
    .sd-news__msg:empty { display: none; }
    .sd-news__msg.is-ok { color: #9be3a6; }
    .sd-news__msg.is-error { color: #ffb3c0; }
    .sd-news__small { margin: 8px 0 0; font-size: 12.5px; color: #bdbdbd; }
    .sd-news__small a { color: #fff; text-decoration: underline; }
    .sd-news__small a:hover { color: #fff; }
    @media (max-width: 991.98px) {
        .sd-news__inner { grid-template-columns: 1fr; }
    }
    @media (max-width: 575.98px) {
        .sd-news__fields { grid-template-columns: 1fr 1fr; gap: 8px; }
        .sd-news__fields input { border-right-width: 1px; height: 48px; }
        .sd-news__fields input[type=email], .sd-news__fields button { grid-column: 1 / -1; }
        .sd-news__fields button { height: 48px; }
    }

    /* ---------- sale bar with countdown ---------- */
    .sd-sale { background: var(--sd-red); color: #fff; font-family: var(--sd-sans); }
    .sd-sale__inner { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px 26px; padding-top: 9px; padding-bottom: 9px; }
    .sd-sale__title { display: inline-flex; align-items: center; gap: 9px; font-size: 16px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; }
    .sd-sale__note { font-size: 13px; font-weight: 600; background: rgba(0,0,0,.14); padding: 4px 10px; border-radius: 20px; }
    .sd-sale__timer { display: inline-flex; align-items: center; gap: 6px; }
    .sd-sale__ends { font-size: 12.5px; font-weight: 600; opacity: .9; margin-right: 4px; text-transform: uppercase; letter-spacing: .06em; }
    .sd-sale__unit { display: inline-flex; align-items: baseline; gap: 3px; background: #fff; color: var(--sd-ink); border-radius: 6px; padding: 4px 8px; min-width: 52px; justify-content: center; }
    .sd-sale__unit b { font-size: 16px; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--sd-red-dark); }
    .sd-sale__unit small { font-size: 10.5px; font-weight: 600; text-transform: uppercase; color: var(--sd-muted); }
    @media (max-width: 575.98px) {
        .sd-sale__inner { gap: 6px; padding-top: 8px; padding-bottom: 9px; }
        .sd-sale__title { font-size: 13.5px; text-align: center; justify-content: center; width: 100%; }
        .sd-sale__ends { display: none; }
        .sd-sale__unit { min-width: 0; padding: 3px 6px; }
        .sd-sale__unit b { font-size: 14px; }
        .sd-sale__unit small { font-size: 9.5px; }
    }

    /* ---------- live search results ---------- */
    .sd-searchpanel .header__search--widget, .sd-searchpanel .header__search--form { width: 100%; }
    .sd-searchpanel .header__search--box { flex: 1 1 auto !important; width: 100% !important; max-width: 760px; margin: 0 auto; }
    .sd-search button i { position: static !important; transform: none !important; left: auto !important; right: auto !important; top: auto !important; font-size: 15px; color: #fff; }
    .sd-search button { display: inline-flex; align-items: center; justify-content: center; padding: 0; }
    .sd-search input { color: var(--sd-ink) !important; background: #fff !important; }
    .sd-search input::placeholder { color: #8a8a8a; opacity: 1; }
    .sd-search input::-webkit-search-cancel-button { cursor: pointer; }
    .sd-search button { cursor: pointer; transition: background .15s; }
    .sd-search button:hover { background: var(--sd-red-dark); }
    .sd-sresults { position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 1000; background: #fff; border: 1px solid var(--sd-line); border-radius: 14px; box-shadow: 0 18px 40px rgba(0,0,0,.12); padding: 8px; max-height: min(70vh, 560px); overflow-y: auto; font-family: var(--sd-sans); }
    .sd-sresults[hidden] { display: none; }
    .sd-sresults.is-loading { opacity: .7; }
    .sd-sresults__item { display: flex; align-items: center; gap: 14px; padding: 8px 10px; border-radius: 10px; color: var(--sd-ink) !important; text-decoration: none !important; }
    .sd-sresults__item:hover, .sd-sresults__item.is-active { background: var(--sd-soft); }
    .sd-sresults__item img, .sd-sresults__noimg { width: 56px; height: 56px; flex-shrink: 0; object-fit: cover; border-radius: 8px; background: var(--sd-soft); border: 1px solid var(--sd-line); }
    .sd-sresults__text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
    .sd-sresults__name { font-size: 14.5px; font-weight: 600; color: var(--sd-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .sd-sresults__cat { font-size: 12.5px; color: var(--sd-muted); text-transform: capitalize; }
    .sd-sresults__price { font-size: 12.5px; color: var(--sd-muted); white-space: nowrap; }
    .sd-sresults__price b { font-size: 14.5px; color: var(--sd-red-dark); }
    .sd-sresults__all { display: block; margin-top: 6px; padding: 11px 12px; border-top: 1px solid var(--sd-line); text-align: center; font-weight: 600; font-size: 14px; color: var(--sd-red-dark) !important; text-decoration: none !important; border-radius: 0 0 10px 10px; }
    .sd-sresults__all:hover, .sd-sresults__all.is-active { background: var(--sd-soft); }
    .sd-sresults__none { padding: 14px 12px; font-size: 14px; color: var(--sd-text); }
    .sd-sresults__label { padding: 6px 10px 8px; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--sd-muted); }
    .sd-sresults__chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 10px 10px; }
    .sd-sresults__chips a { padding: 7px 14px; border: 1px solid var(--sd-line); border-radius: 20px; font-size: 13.5px; color: var(--sd-ink) !important; text-decoration: none !important; }
    .sd-sresults__chips a:hover { border-color: var(--sd-red); color: var(--sd-red) !important; }
    @media (max-width: 575.98px) {
        .sd-searchpanel { padding: 12px 0; }
        .sd-sresults { position: static; margin-top: 10px; box-shadow: none; max-height: calc(100vh - 220px); }
        .sd-sresults__item img, .sd-sresults__noimg { width: 48px; height: 48px; }
        .sd-sresults__price { display: none; }
    }

    /* ---------- contact page ---------- */
    .sd-contact__hero { background: var(--sd-soft); text-align: center; padding: 52px 0 70px; }
    .sd-contact__hero p { max-width: 620px; margin: 14px auto 0; font-size: 16px; line-height: 1.6; color: var(--sd-text); }
    .sd-contact__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: -38px; position: relative; }
    .sd-contact__card { display: flex; align-items: center; gap: 16px; background: #fff; border: 1px solid var(--sd-line); border-radius: 12px; padding: 20px 22px; box-shadow: 0 10px 26px rgba(0,0,0,.06); text-decoration: none !important; color: var(--sd-ink) !important; transition: border-color .2s, transform .2s; }
    .sd-contact__card:hover { border-color: var(--sd-red); transform: translateY(-2px); }
    .sd-contact__card b { display: block; font-size: 15px; margin-bottom: 2px; }
    .sd-contact__card span span { font-size: 14px; color: var(--sd-text); word-break: break-word; }
    .sd-contact__icon { flex-shrink: 0; width: 46px; height: 46px; border-radius: 50%; background: #fdecef; color: var(--sd-red); display: inline-flex; align-items: center; justify-content: center; font-size: 17px; }
    .sd-contact__main { display: grid; grid-template-columns: 1.55fr 1fr; gap: 36px; padding-top: 44px; padding-bottom: 70px; align-items: start; }
    .sd-contact__formbox { background: #fff; border: 1px solid var(--sd-line); border-radius: 14px; padding: 30px 32px; }
    .sd-contact__formbox h2, .sd-contact__faq h3 { font-family: var(--sd-serif); font-size: 26px; font-weight: 600; color: var(--sd-ink); margin: 0 0 4px; }
    .sd-contact__faq h3 { font-size: 22px; margin-bottom: 12px; }
    .sd-contact__lead { margin: 0 0 20px; font-size: 13.5px; color: var(--sd-muted); }
    .sd-req { color: var(--sd-red); }
    .sd-contact__ok { background: #edf8ef; border: 1px solid #bfe5c6; color: #1f6b2f; border-radius: 10px; padding: 12px 16px; margin-bottom: 18px; font-weight: 500; }
    .sd-contact__err { background: #fdecef; border: 1px solid #f6c1cb; color: #a3243b; border-radius: 10px; padding: 12px 16px; margin-bottom: 18px; }
    .sd-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
    .sd-field { display: block; margin: 0 0 16px; }
    .sd-field > span { display: block; font-size: 13.5px; font-weight: 600; color: var(--sd-ink); margin-bottom: 6px; }
    .sd-field input, .sd-field select, .sd-field textarea { width: 100%; border: 1.5px solid #e2e2e2; border-radius: 10px; padding: 12px 14px; font-size: 15px; font-family: var(--sd-sans); color: var(--sd-ink); background: #fff; transition: border-color .15s; }
    .sd-field input, .sd-field select { height: 48px; padding-top: 0; padding-bottom: 0; }
    .sd-field textarea { resize: vertical; min-height: 140px; }
    .sd-field input:focus, .sd-field select:focus, .sd-field textarea:focus { outline: none; border-color: var(--sd-red); }
    .sd-field.is-bad input, .sd-field.is-bad textarea { border-color: #d6455f; }
    .sd-field small { display: block; color: #c0304a; font-size: 13px; margin-top: 5px; }
    .sd-form__foot { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 18px; }
    .sd-form__foot small { color: var(--sd-muted); font-size: 12.5px; }
    .sd-form__foot small a { color: var(--sd-muted); text-decoration: underline; }
    .sd-contact__side { display: flex; flex-direction: column; gap: 24px; }
    .sd-contact__faq { background: var(--sd-soft); border-radius: 14px; padding: 24px 24px 20px; }
    .sd-contact__faq details { border-bottom: 1px solid #e6e3df; padding: 12px 0; }
    .sd-contact__faq summary { cursor: pointer; font-weight: 600; font-size: 14.5px; color: var(--sd-ink); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
    .sd-contact__faq summary::-webkit-details-marker { display: none; }
    .sd-contact__faq summary::after { content: '+'; color: var(--sd-red); font-size: 18px; line-height: 1; }
    .sd-contact__faq details[open] summary::after { content: '–'; }
    .sd-contact__faq details div { padding-top: 8px; font-size: 14px; line-height: 1.6; color: var(--sd-text); }
    .sd-contact__more { display: inline-block; margin-top: 14px; font-weight: 600; font-size: 14px; color: var(--sd-red) !important; text-decoration: none !important; }
    .sd-contact__map { border-radius: 14px; overflow: hidden; border: 1px solid var(--sd-line); aspect-ratio: 4 / 3; }
    .sd-contact__map iframe { width: 100%; height: 100%; border: 0; display: block; }
    @media (max-width: 991.98px) {
        .sd-contact__cards { grid-template-columns: 1fr; gap: 12px; }
        .sd-contact__main { grid-template-columns: 1fr; gap: 26px; }
    }
    @media (max-width: 575.98px) {
        .sd-contact__hero { padding: 38px 0 60px; }
        .sd-contact__formbox { padding: 22px 18px; }
        .sd-form__row { grid-template-columns: 1fr; }
    }

    .sd-contact__map--off { background: var(--sd-soft); display: flex; align-items: center; justify-content: center; text-align: center; }
    .sd-contact__mapcover { padding: 20px; }
    .sd-contact__mapcover i { font-size: 26px; color: var(--sd-red); }
    .sd-contact__mapcover p { margin: 8px auto 14px; max-width: 280px; font-size: 14px; color: var(--sd-text); }
    .sd-contact__mapcover small { display: block; margin-top: 10px; font-size: 12px; color: var(--sd-muted); }

    /* ---------- legal pages (cookie policy) ---------- */
    .sd-legal__body { max-width: 860px; padding-top: 40px; padding-bottom: 70px; font-size: 15.5px; line-height: 1.7; color: var(--sd-text); }
    .sd-legal__body h2 { font-family: var(--sd-serif); font-size: 24px; font-weight: 600; color: var(--sd-ink); margin: 34px 0 10px; }
    .sd-legal__body a { color: var(--sd-red-dark); }
    .sd-legal__body .sd-btn { color: #fff; cursor: pointer; }
    .sd-legal__table { overflow-x: auto; margin: 10px 0 14px; }
    .sd-legal__table table { width: 100%; border-collapse: collapse; font-size: 14px; }
    .sd-legal__table th, .sd-legal__table td { text-align: left; padding: 10px 12px; border: 1px solid var(--sd-line); vertical-align: top; }
    .sd-legal__table th { background: var(--sd-soft); color: var(--sd-ink); }
    .sd-legal__table td:first-child { font-family: monospace; font-size: 13px; white-space: nowrap; color: var(--sd-ink); }

    /* product lists while filters load: keep cards visible, faded, with a small spinner */
    .sd-loading { position: relative; opacity: .45; pointer-events: none; transition: opacity .15s; }
    .sd-loading::after { content: ''; position: absolute; top: 80px; left: 50%; width: 34px; height: 34px; margin-left: -17px; border: 3px solid #f0c4cc; border-top-color: var(--sd-red); border-radius: 50%; animation: sdSpin .7s linear infinite; }
    @keyframes sdSpin { to { transform: rotate(360deg); } }

    /* ---------- product page (doors) ---------- */
    .sd-pd { padding-bottom: 60px; }
    .sd-crumbs { padding-top: 18px; padding-bottom: 6px; font-size: 13.5px; color: var(--sd-muted); }
    .sd-crumbs a { color: var(--sd-muted); text-decoration: none; }
    .sd-crumbs a:hover { color: var(--sd-red); }
    .sd-crumbs span { margin: 0 6px; color: #c9c9c9; }
    .sd-crumbs b { color: var(--sd-ink); font-weight: 500; }
    .sd-pd__top { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(340px, 1fr); gap: 40px; align-items: start; padding-top: 14px; }
    .sd-pd__main { position: relative; border-radius: 14px; overflow: hidden; background: #f3f1ee; aspect-ratio: 4 / 3; }
    .sd-pd__main img { width: 100%; height: 100%; object-fit: cover; display: block; }
    .sd-pd__noimg { display: flex; align-items: center; justify-content: center; height: 100%; color: var(--sd-muted); }
    .sd-pd__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); font-size: 26px; line-height: 1; color: var(--sd-ink); cursor: pointer; box-shadow: 0 4px 14px rgba(0,0,0,.12); }
    .sd-pd__nav--prev { left: 14px; } .sd-pd__nav--next { right: 14px; }
    .sd-pd__thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; padding-bottom: 4px; }
    .sd-pd__thumb { flex: 0 0 86px; height: 66px; border-radius: 8px; overflow: hidden; border: 2px solid var(--sd-line, #eee); padding: 3px; background: #fff; cursor: pointer; }
    .sd-pd__thumb img { width: 100%; height: 100%; object-fit: contain; display: block; }
    .sd-pd__thumb.is-on { border-color: var(--sd-red); }
    .sd-pd__buy { position: sticky; top: 100px; background: #fff; border: 1px solid var(--sd-line); border-radius: 14px; padding: 24px 24px 20px; }
    .sd-pd__range { font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--sd-red-dark); }
    .sd-pd__title { font-family: var(--sd-serif); font-size: clamp(26px, 2.6vw, 34px); font-weight: 600; color: var(--sd-ink); margin: 4px 0 6px; line-height: 1.2; }
    .sd-pd__from { font-size: 15px; color: var(--sd-text); }
    .sd-pd__from b { font-size: 20px; color: var(--sd-ink); }
    .sd-pd__from s { color: var(--sd-muted); }
    .sd-pd__from span { font-size: 13px; color: var(--sd-muted); }
    .sd-pd__block { margin-top: 18px; }
    .sd-pd__block[hidden] { display: none; }
    .sd-pd__label { font-size: 13.5px; font-weight: 600; color: var(--sd-ink); margin-bottom: 8px; }
    .sd-pd__label b { font-weight: 500; color: var(--sd-text); }
    .sd-swatches { display: flex; flex-wrap: wrap; gap: 10px; }
    .sd-swatch { width: 36px; height: 36px; border-radius: 50%; background: var(--sw, #ddd); border: 2px solid #fff; box-shadow: 0 0 0 1px #d6d6d6; overflow: hidden; display: inline-block; }
    .sd-swatch img { width: 100%; height: 100%; object-fit: cover; }
    .sd-swatch:hover { box-shadow: 0 0 0 2px var(--sd-ink); }
    .sd-swatch.is-on { box-shadow: 0 0 0 2px var(--sd-red); }
    .sd-seg { display: grid; grid-template-columns: 1fr 1fr; background: var(--sd-soft); border-radius: 30px; padding: 4px; margin-top: 18px; }
    .sd-seg button { border: 0; background: none; border-radius: 26px; padding: 9px 10px; font-weight: 600; font-size: 14px; color: var(--sd-text); cursor: pointer; }
    .sd-seg button.is-on { background: #fff; color: var(--sd-ink); box-shadow: 0 2px 8px rgba(0,0,0,.08); }
    .sd-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
    .sd-chips button { border: 1.5px solid #dedede; background: #fff; border-radius: 20px; padding: 7px 14px; font-size: 13.5px; font-weight: 500; color: var(--sd-ink); cursor: pointer; }
    .sd-chips button.is-on { border-color: var(--sd-ink); background: var(--sd-ink); color: #fff; }
    .sd-hingeopts { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; margin-bottom: 8px; }
    .sd-hingeopts button { border: 1.5px solid #dedede; background: #fff; border-radius: 10px; padding: 6px; font-size: 12.5px; font-weight: 500; color: var(--sd-ink); cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 5px; text-align: center; line-height: 1.25; }
    .sd-hingeopts button.is-on { border-color: var(--sd-ink); box-shadow: 0 0 0 1px var(--sd-ink); }
    .sd-hingeopts__img { width: 100%; aspect-ratio: 4/3; background: #f6f6f4; border-radius: 6px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
    .sd-hingeopts__img img { width: 100%; height: 100%; object-fit: contain; }
    .sd-select { width: 100%; height: 48px; border: 1.5px solid #dedede; border-radius: 10px; padding: 0 12px; font-size: 15px; color: var(--sd-ink); background: #fff; }
    .sd-select:focus, .sd-pd input:focus { outline: none; border-color: var(--sd-red); }
    .sd-pd__mtm { display: flex; align-items: flex-end; gap: 10px; }
    .sd-pd__mtm label, .sd-pd__holes label { flex: 1; margin: 0; }
    .sd-pd__mtm label span, .sd-pd__holes label span { display: block; font-size: 12.5px; color: var(--sd-muted); margin-bottom: 4px; }
    .sd-pd input[type=number] { width: 100%; height: 46px; border: 1.5px solid #dedede; border-radius: 10px; padding: 0 12px; font-size: 15px; color: var(--sd-ink); }
    .sd-pd__x { padding-bottom: 12px; color: var(--sd-muted); }
    .sd-pd__hint { font-size: 12.5px; color: var(--sd-muted); margin: 8px 0 0; line-height: 1.5; }
    .sd-drill { background: var(--sd-soft); border-radius: 12px; padding: 14px; }
    .sd-check { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; font-weight: 600; color: var(--sd-ink); cursor: pointer; margin: 0; }
    .sd-check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--sd-red); }
    .sd-check em, .sd-linkbtn em { font-style: normal; font-weight: 500; color: var(--sd-muted); }
    #pdDrillBox { margin-top: 12px; }
    .sd-pd__holes { display: flex; gap: 10px; }
    .sd-pd__extrahole { display: grid; grid-template-columns: auto 1fr auto auto; gap: 8px; align-items: center; margin-top: 10px; font-size: 13px; }
    .sd-pd__extrahole select { height: 46px; border: 1.5px solid #dedede; border-radius: 10px; padding: 0 8px; }
    .sd-pd__extrahole button { border: 0; background: none; font-size: 22px; color: var(--sd-muted); cursor: pointer; }
    .sd-linkbtn { border: 0; background: none; padding: 10px 0 0; font-weight: 600; font-size: 13.5px; color: var(--sd-red-dark); cursor: pointer; }
    .sd-pd__total { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--sd-line); }
    .sd-qty { display: inline-flex; align-items: center; border: 1.5px solid #dedede; border-radius: 30px; overflow: hidden; }
    .sd-qty button { width: 40px; height: 44px; border: 0; background: #fff; font-size: 20px; color: var(--sd-ink); cursor: pointer; }
    .sd-qty input { width: 46px !important; height: 44px !important; border: 0 !important; text-align: center; font-weight: 600; padding: 0 !important; -moz-appearance: textfield; }
    .sd-qty input::-webkit-outer-spin-button, .sd-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
    .sd-pd__price { text-align: right; }
    .sd-pd__price div { font-size: 28px; font-weight: 700; color: var(--sd-ink); line-height: 1.1; }
    .sd-pd__price small { display: block; font-size: 12.5px; color: var(--sd-muted); margin-top: 2px; }
    .sd-pd__err { margin: 12px 0 0; padding: 10px 12px; border-radius: 8px; background: #fdecef; color: #a3243b; font-size: 13.5px; }
    .sd-pd__err[hidden] { display: none; }
    .sd-pd__add { width: 100%; margin-top: 14px; padding: 15px; font-size: 16px; cursor: pointer; }
    .sd-pd__add.is-done, .sd-extra__add.is-done { background: #1f8a4c !important; }
    .sd-pd__add:disabled { opacity: .75; cursor: wait; }
    .sd-pd__sample { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; margin-top: 10px; padding: 12px; border: 1.5px solid var(--sd-ink); background: #fff; border-radius: 30px; font-weight: 600; font-size: 14.5px; color: var(--sd-ink); cursor: pointer; }
    .sd-pd__sample:hover { background: var(--sd-ink); color: #fff; }
    .sd-pd__usps { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 6px; font-size: 13.5px; color: var(--sd-text); }
    .sd-pd__usps li::before { content: '✓'; color: var(--sd-red); font-weight: 700; margin-right: 8px; }
    .sd-pd__section { margin-top: 56px; }
    .sd-pd__h2 { font-family: var(--sd-serif); font-size: 28px; font-weight: 600; color: var(--sd-ink); margin: 0 0 6px; }
    .sd-pd__sub { color: var(--sd-muted); margin: 0 0 18px; }
    .sd-extras { border: 1px solid var(--sd-line); border-radius: 14px; overflow: hidden; }
    .sd-extra { display: grid; grid-template-columns: 1fr auto auto auto; gap: 14px; align-items: center; padding: 12px 18px; border-top: 1px solid var(--sd-line); }
    .sd-extra:first-child { border-top: 0; }
    .sd-extras.is-short .sd-extra:nth-child(n+9) { display: none; }
    .sd-extras__more { padding-top: 14px; }
    .sd-tabpane p { margin: 0 0 12px; }
    .sd-tabpane h3, .sd-tabpane h4, .sd-tabpane h5 { font-size: 16px; font-weight: 700; color: var(--sd-ink); margin: 18px 0 6px; }
    .sd-extra:nth-child(even) { background: #fbfaf9; }
    .sd-extra__name { font-size: 14.5px; color: var(--sd-ink); }
    .sd-extra__price { font-weight: 700; color: var(--sd-ink); white-space: nowrap; }
    .sd-extra__price s { font-weight: 400; color: var(--sd-muted); margin-right: 4px; }
    .sd-qty--sm button { width: 32px; height: 36px; font-size: 17px; }
    .sd-qty--sm input { width: 36px !important; height: 36px !important; }
    .sd-extra__add { border: 0; background: var(--sd-ink); color: #fff; border-radius: 20px; padding: 9px 20px; font-weight: 600; font-size: 13.5px; cursor: pointer; min-width: 74px; }
    .sd-extra__add:hover { background: var(--sd-red); }
    .sd-tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--sd-line); overflow-x: auto; }
    .sd-tabs button { border: 0; background: none; padding: 12px 16px; font-weight: 600; font-size: 15px; color: var(--sd-muted); border-bottom: 2px solid transparent; cursor: pointer; white-space: nowrap; }
    .sd-tabs button.is-on { color: var(--sd-ink); border-bottom-color: var(--sd-red); }
    .sd-tabpane { display: none; padding: 22px 2px 0; max-width: 860px; font-size: 15.5px; line-height: 1.75; color: var(--sd-text); }
    .sd-tabpane.is-on { display: block; }
    .sd-tabpane a { color: var(--sd-red-dark); }
    .sd-spec { border-collapse: collapse; min-width: 320px; }
    .sd-spec th, .sd-spec td { padding: 9px 18px 9px 0; border-bottom: 1px solid var(--sd-line); text-align: left; font-size: 14.5px; }
    .sd-spec th { color: var(--sd-muted); font-weight: 500; width: 160px; }
    .sd-measure { padding-left: 20px; margin: 0; }
    .sd-measure li { margin-bottom: 8px; }
    .sd-pd__colours { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 18px; margin-top: 18px; }
    .sd-colourcard { text-decoration: none !important; color: var(--sd-ink) !important; }
    .sd-colourcard__img { display: block; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; background: #f3f1ee; }
    .sd-colourcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
    .sd-colourcard:hover img { transform: scale(1.04); }
    .sd-colourcard__name { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 14px; font-weight: 600; }
    .sd-colourcard__name i { width: 14px; height: 14px; border-radius: 50%; box-shadow: 0 0 0 1px #d6d6d6; flex-shrink: 0; }
    /* size chart (grid) version */
    .sd-sizegrid { overflow-x: auto; border: 1px solid var(--sd-line); border-radius: 10px; max-height: 380px; overflow-y: auto; }
    .sd-sizegrid table { border-collapse: separate; border-spacing: 0; font-size: 13px; width: 100%; }
    .sd-sizegrid th, .sd-sizegrid td { padding: 0; text-align: center; border-bottom: 1px solid var(--sd-line); border-right: 1px solid var(--sd-line); white-space: nowrap; }
    .sd-sizegrid thead th { position: sticky; top: 0; z-index: 2; background: var(--sd-soft); padding: 8px 6px; font-weight: 700; color: var(--sd-ink); }
    .sd-sizegrid tbody th { position: sticky; left: 0; z-index: 1; background: var(--sd-soft); padding: 6px 10px; font-weight: 700; color: var(--sd-ink); }
    .sd-sizegrid__corner { left: 0; z-index: 3 !important; font-size: 11px; color: var(--sd-muted) !important; font-weight: 500 !important; }
    .sd-sizegrid td button { width: 100%; min-width: 58px; border: 0; background: #fff; padding: 9px 6px; font-size: 13px; color: var(--sd-ink); cursor: pointer; }
    .sd-sizegrid td button:hover { background: #fdecef; }
    .sd-sizegrid td button.is-on { background: var(--sd-red); color: #fff; font-weight: 700; }
    .sd-sizegrid td.is-none { color: #d0d0d0; background: #fcfcfc; }
    .sd-sizegrid__other { margin-top: 10px; }
    .sd-sizegrid__other[hidden] { display: none; }
    .sd-sizegrid__other button.is-on { border-color: var(--sd-red); background: var(--sd-red); color: #fff; }
    .sd-sizegrid__picked { margin-top: 10px; font-size: 14px; color: var(--sd-text); background: var(--sd-soft); border-radius: 8px; padding: 9px 12px; }
    .sd-sizegrid__picked[hidden] { display: none; }
    /* photos are shrunk to fit the frame (never cropped), on white so the sides blend in */
    .sd-pd__main { background: #fff; border: 1px solid var(--sd-line, #eee); }
    .sd-pd__main img { object-fit: contain; }

    /* details: tabs in a card */
    .sd-info { display: grid; grid-template-columns: 250px 1fr; border: 1px solid var(--sd-line); border-radius: 16px; overflow: hidden; background: #fff; }
    .sd-info__tabs { background: var(--sd-soft); padding: 14px; display: flex; flex-direction: column; gap: 4px; }
    .sd-info__tabs button { display: flex; align-items: center; gap: 12px; border: 0; background: none; text-align: left; padding: 13px 14px; border-radius: 10px; font-size: 15px; font-weight: 600; color: var(--sd-text); cursor: pointer; }
    .sd-info__tabs button svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
    .sd-info__tabs button:hover { color: var(--sd-ink); background: rgba(255,255,255,.6); }
    .sd-info__tabs button.is-on { background: #fff; color: var(--sd-red-dark); box-shadow: 0 4px 14px rgba(0,0,0,.06); }
    .sd-info__body { padding: 30px 36px 34px; min-height: 280px; }
    .sd-info__h { font-family: var(--sd-serif); font-size: 24px; font-weight: 600; color: var(--sd-ink); margin: 0 0 14px; }
    .sd-info__text { font-size: 15.5px; line-height: 1.75; color: var(--sd-text); max-width: 760px; }
    .sd-info__text p { margin: 0 0 12px; }
    .sd-specgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin: 0; }
    .sd-specgrid div { background: var(--sd-soft); border-radius: 10px; padding: 12px 14px; }
    .sd-specgrid dt { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--sd-muted); }
    .sd-specgrid dd { margin: 4px 0 0; font-size: 15px; font-weight: 600; color: var(--sd-ink); }
    .sd-msteps { list-style: none; counter-reset: st; padding: 0; margin: 0; display: grid; gap: 12px; max-width: 760px; }
    .sd-msteps li { counter-increment: st; position: relative; padding-left: 46px; font-size: 15px; line-height: 1.6; color: var(--sd-text); min-height: 32px; }
    .sd-msteps li::before { content: counter(st); position: absolute; left: 0; top: -2px; width: 32px; height: 32px; border-radius: 50%; background: #fdecef; color: var(--sd-red-dark); font-weight: 700; display: flex; align-items: center; justify-content: center; }
    .sd-msteps b { color: var(--sd-ink); }
    .sd-guides { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; margin-top: 22px; }
    .sd-guide { display: block; border: 1px solid var(--sd-line); border-radius: 10px; overflow: hidden; background: #fff; text-decoration: none !important; }
    .sd-guide img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: #faf9f7; display: block; }
    .sd-guide span { display: block; padding: 8px 10px; font-size: 13px; color: var(--sd-ink); }
    .sd-pdf { display: flex; align-items: center; gap: 12px; border: 1px solid var(--sd-line); border-radius: 10px; padding: 14px; font-weight: 600; font-size: 14px; color: var(--sd-ink) !important; text-decoration: none !important; }
    .sd-pdf span { flex-shrink: 0; width: 42px; height: 50px; border-radius: 6px; background: #d93a3a; color: #fff; font-size: 11px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
    .sd-pdf:hover { border-color: var(--sd-red); }
    .sd-delgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; margin-bottom: 16px; }
    .sd-delgrid div { background: var(--sd-soft); border-radius: 10px; padding: 14px; }
    .sd-delgrid b { display: block; color: var(--sd-ink); font-size: 15px; }
    .sd-delgrid span { font-size: 14px; color: var(--sd-text); }
    .sd-delgrid a { color: var(--sd-red-dark); }
    .sd-why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; padding: 26px; border-radius: 16px; background: var(--sd-soft); margin-bottom: 20px; }
    .sd-why div { display: grid; grid-template-columns: 40px 1fr; column-gap: 12px; align-items: center; }
    .sd-why svg { grid-row: span 2; width: 40px; height: 40px; padding: 9px; border-radius: 50%; background: #fff; fill: none; stroke: var(--sd-red); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
    .sd-why b { font-size: 15px; color: var(--sd-ink); }
    .sd-why span { font-size: 13px; color: var(--sd-muted); }
    @media (max-width: 991.98px) {
        .sd-info { grid-template-columns: 1fr; }
        .sd-info__tabs { flex-direction: row; overflow-x: auto; padding: 10px; gap: 6px; scrollbar-width: none; -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity; }
        .sd-info__tabs::-webkit-scrollbar { display: none; }
        .sd-info__tabs button { flex: 0 0 auto; white-space: nowrap; padding: 10px 14px; font-size: 14px; gap: 8px; scroll-snap-align: start; }
        .sd-info__tabs button svg { width: 18px; height: 18px; }
        .sd-info__body { padding: 22px 18px 26px; }
        .sd-why { grid-template-columns: 1fr 1fr; padding: 18px; }
    }
    @media (max-width: 575.98px) { .sd-why { grid-template-columns: 1fr; } }
    /* slim reassurance strip before the footer (same feel as the strip under the header) */
    .sd-pd__section--last { margin-bottom: 8px; }
    .sd-trust { list-style: none; margin: 0; padding: 16px 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 30px; border-top: 1px solid #eee; border-bottom: 1px solid #eee; font-size: 14.5px; color: #555; }
    .sd-trust li { display: inline-flex; align-items: center; gap: 7px; }
    .sd-trust li::before { content: "✓"; color: var(--sd-red); font-weight: 700; }
    .sd-trust .sd-trust__stars::before { content: none; }
    .sd-trust__stars span { color: #f5b301; letter-spacing: 1px; }
    /* old sizes → new sizes chart in the measure guide */
    .sd-oldnew { display: grid; grid-template-columns: 170px 1fr; gap: 22px; align-items: start; margin-top: 22px; padding: 18px; border-radius: 12px; background: var(--sd-soft); }
    .sd-oldnew__img img { width: 100%; border-radius: 8px; display: block; background: #fff; }
    .sd-oldnew h4 { font-size: 17px; margin: 0 0 8px; color: var(--sd-ink); }
    .sd-oldnew p { font-size: 14.5px; margin: 0 0 8px; color: var(--sd-text); }
    .sd-oldnew a:not(.sd-oldnew__img) { color: var(--sd-red-dark); }
    .sd-pd__oldnew { font-size: 13px; margin: -2px 0 10px; }
    .sd-pd__oldnew a { color: var(--sd-red-dark); text-decoration: underline; cursor: pointer; }
    /* hinge / handle position picture */
    .sd-pd__guidepic { display: block; margin: 4px 0 10px; border-radius: 8px; overflow: hidden; border: 1px solid #eee; background: #fff; }
    .sd-pd__guidepic img { width: 100%; max-height: 220px; object-fit: contain; display: block; }
    .sd-pd__guidepic span { display: block; font-size: 12px; color: var(--sd-muted); text-align: center; padding: 4px 0 6px; }
    @media (max-width: 575.98px) { .sd-oldnew { grid-template-columns: 1fr; } .sd-oldnew__img { max-width: 220px; } }
    .sd-pd__bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 998; background: #fff; border-top: 1px solid var(--sd-line); box-shadow: 0 -6px 20px rgba(0,0,0,.08); padding: 10px 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
    .sd-pd__bar[hidden] { display: none; }
    .sd-pd__bar b { display: block; font-size: 18px; color: var(--sd-ink); }
    .sd-pd__bar small { display: block; font-size: 12px; color: var(--sd-muted); max-width: 52vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .sd-pd__bar .sd-btn { padding: 12px 22px; white-space: nowrap; }
    @media (max-width: 991.98px) {
        .sd-pd__top { grid-template-columns: 1fr; gap: 22px; }
        .sd-pd__buy { position: static; }
        .sd-pd__section { margin-top: 40px; }
    }
    @media (max-width: 575.98px) {
        .sd-pd__buy { padding: 18px 16px; border-radius: 12px; }
        .sd-extra { grid-template-columns: 1fr auto; padding: 12px 14px; gap: 8px 12px; }
        .sd-extra__name { grid-column: 1 / -1; }
        .sd-pd__price div { font-size: 24px; }
        .sd-pd__main { border-radius: 10px; }
    }

    /* ---------- search results page ---------- */
    .sd-searchpage { padding-top: 48px; }
    .sd-searchpage__form { max-width: 620px; margin: -12px auto 30px; }
    .sd-searchpage__count { text-align: center; color: var(--sd-muted); margin: -12px 0 22px; font-size: 14px; }
    .sd-searchpage__empty { text-align: center; max-width: 640px; margin: 0 auto; }
    .sd-searchpage__cats { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 14px; }
    .sd-searchpage__cats a { padding: 8px 16px; border: 1px solid var(--sd-line); border-radius: 20px; color: var(--sd-ink); text-decoration: none; font-size: 14px; }
    .sd-searchpage__cats a:hover { border-color: var(--sd-red); color: var(--sd-red); }

/* Shop filters (was layouts/partials/sd-filters-css) */
    .sdf, .sdf * { box-sizing: border-box; }
    .sdf { min-width: 0; max-width: 100%; background: #fff; border: 1.5px solid #f3b3bf; border-radius: 16px; padding: 4px 18px 16px; box-shadow: 0 6px 22px rgba(0,0,0,.04); position: static; max-height: none; overflow: visible; }
    .sdf [hidden], .sdf-tags [hidden] { display: none !important; }
    .sdf__head { display: flex; align-items: center; gap: 10px; padding: 12px 0 10px; border-bottom: 2px solid var(--sd-red, #e8435f); }
    .sdf__head b { font-family: var(--sd-sans, inherit); font-size: 15px; font-weight: 700; color: var(--sd-ink, #222); margin: 0; }
    .sdf__clear { margin-left: auto; background: none; border: 0; padding: 0; font-size: 13px; font-weight: 600; color: var(--sd-red, #e8435f); cursor: pointer; text-decoration: none; }
    .sdf__clear:hover { text-decoration: underline; color: var(--sd-red, #e8435f); }
    .sdf__close { display: none; background: none; border: 0; font-size: 28px; line-height: 1; color: #222; padding: 0 0 0 6px; }
    .sdf__sec { border-bottom: 1px solid #fbe1e6; padding: 14px 0 12px; margin: 0; }
    .sdf__sec:last-of-type { border-bottom: 0; }
    .sdf__title { display: flex; align-items: center; gap: 8px; font-family: var(--sd-sans, inherit); font-size: 14.5px; font-weight: 700; color: var(--sd-ink, #222); margin: 0 0 10px; padding: 0; border: 0; }
    .sdf__title i { font-style: normal; background: var(--sd-red, #e8435f); color: #fff; font-size: 11px; border-radius: 10px; padding: 1px 7px; }
    /* option chips */
    .sdf__chips { display: flex; flex-wrap: wrap; gap: 7px; }
    .sdf__chip { position: relative; display: inline-flex; align-items: center; gap: 6px; margin: 0; padding: 6px 13px; border: 1.5px solid #f3b3bf; border-radius: 30px; background: #fff; font-family: var(--sd-sans, inherit); font-size: 13px; line-height: 1.3; color: #333; cursor: pointer; white-space: normal; max-width: 100%; text-align: left; overflow-wrap: anywhere; transition: border-color .15s, background .15s, color .15s; }
    .sdf__chip:hover { border-color: var(--sd-red, #e8435f); color: var(--sd-red, #e8435f); background: #fff5f7; }
    .sdf__chip input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; margin: 0; }
    .sdf__chip em { font-style: normal; font-size: 11.5px; color: #999; }
    .sdf__chip svg { width: 18px; height: 22px; flex: none; }
    .sdf__chip .sdf__dot { width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(0,0,0,.2); flex: none; }
    .sdf__chip:has(input:checked), .sdf__chip.is-on { background: var(--sd-red, #e8435f); border-color: var(--sd-red, #e8435f); color: #fff; }
    .sdf__chip:has(input:checked) em, .sdf__chip.is-on em { color: #ffe3e8; }
    .sdf__chip:has(input:focus-visible) { outline: 2px solid var(--sd-red, #e8435f); outline-offset: 2px; }
    .sdf__chip.is-off { opacity: .45; }
    /* colour swatches: circle with the name underneath */
    .sdf__sws { display: grid; grid-template-columns: repeat(auto-fill, minmax(62px, 1fr)); gap: 10px 6px; list-style: none; margin: 0; padding: 0; }
    .sdf__sw { position: relative; display: flex; flex-direction: column; align-items: center; gap: 5px; margin: 0; cursor: pointer; text-align: center; text-decoration: none; }
    .sdf__sw input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
    .sdf__sw .sdf__ring { display: block; width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(0,0,0,.18); box-shadow: inset 0 0 0 2px #fff; background-color: #ddd; background-size: cover; background-position: center; transition: transform .15s; }
    .sdf__sw:hover .sdf__ring { transform: scale(1.08); }
    .sdf__sw span:last-child { font-family: var(--sd-sans, inherit); font-size: 11.5px; line-height: 1.25; color: #555; }
    .sdf__sw:has(input:checked) .sdf__ring, .sdf__sw.is-on .sdf__ring, .sdf__sw.active .sdf__ring { outline: 2px solid var(--sd-red, #e8435f); outline-offset: 2px; }
    .sdf__sw:has(input:checked) span:last-child, .sdf__sw.is-on span:last-child, .sdf__sw.active span:last-child { color: var(--sd-ink, #222); font-weight: 600; }
    .sdf__sw.is-off { opacity: .45; }
    .sdf__secclear { display: none; margin-top: 8px; background: none; border: 0; padding: 0; font-size: 12px; color: var(--sd-red, #e8435f); cursor: pointer; }
    .sdf__sec:has(input:checked) .sdf__secclear, .sdf__sec:has(.active) .sdf__secclear { display: block; }
    .sdf__all { display: flex; align-items: center; justify-content: center; width: 100%; height: 42px; margin-top: 14px; border: 1.5px solid var(--sd-red, #e8435f); border-radius: 30px; background: #fff; color: var(--sd-red, #e8435f); font-family: var(--sd-sans, inherit); font-weight: 600; font-size: 14px; text-decoration: none; cursor: pointer; }
    .sdf__all:hover { background: var(--sd-red, #e8435f); color: #fff; }
    /* chosen filters above the products */
    .sdf-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
    .sdf-tags > * { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border: 1px solid #f3b3bf; border-radius: 20px; background: #fff5f7; color: #222; font-size: 13px; text-decoration: none; }
    .sdf-tags b, .sdf-tags button { background: none; border: 0; padding: 0; color: var(--sd-red, #e8435f); font-weight: 700; font-size: 15px; line-height: 1; cursor: pointer; }
    .sdf-tags .is-clear { border: 0; background: none; color: var(--sd-red, #e8435f); font-weight: 600; text-decoration: underline; cursor: pointer; }
    /* phones: the panel slides in from the left */
    .sdf-open { display: none; align-items: center; gap: 7px; height: 40px; padding: 0 16px; border: 1.5px solid var(--sd-red, #e8435f); border-radius: 30px; background: #fff; font-weight: 600; font-size: 14px; color: var(--sd-red, #e8435f); margin-bottom: 12px; }
    .sdf-open b { background: var(--sd-red, #e8435f); color: #fff; border-radius: 10px; padding: 0 7px; font-size: 12px; }
    .sdf-veil { position: fixed; inset: 0; background: rgba(0,0,0,.4); z-index: 1055; }
    @media (max-width: 991px) {
        .sdf-open { display: inline-flex; }
        .sdf { position: fixed !important; z-index: 1060; top: 0; bottom: 0; left: 0; width: min(340px, 88vw); border: 0; border-radius: 0; overflow-y: auto; transform: translateX(-105%); transition: transform .25s; box-shadow: 0 0 40px rgba(0,0,0,.2); }
        .sdf.is-open { transform: none; }
        .sdf__close { display: block; }
    }
