
/* ==========================================================================================
   ASPIRE UNI THEME — SEP design system layer (v2.7)
   Appended after the DefaultClean base so structural rules stay intact and the
   design-system tokens/primitives below win the cascade.
   Tokens: see docs/themes/nop SEP Prototype v2.6/Design System Docs.dc.html
   ========================================================================================== */

:root {
    /* ------------------------------------------------------------------
       Aspire Colours (--au-*) defaults. Admin Aspire Colours overrides
       these via _AspireColourHeadOverrides after theme CSS loads.
       Uni brand/SEP tokens below map onto --au-* so store branding wins.
       ------------------------------------------------------------------ */
    --au-page-background: #F7F9FC;
    --au-body-text-color: #333333;
    --au-heading-text-color: #22293a;
    --au-font-family: 'Figtree', system-ui, sans-serif;
    --au-text-class-bg: #f1f4f8;
    --au-form-field-bg: #F1F4F8;
    --au-button-bg: #C8235A;
    --au-button-bg-hover: #ad1e4d;
    --au-main-menu-bg: #203864;
    --au-menu-item-bg: #ffffff;
    --au-menu-item-top-bg: #f7f9fc;
    --au-footer-background: #203864;

    /* Brand tokens (consume Aspire Colours) */
    --brand-accent: var(--au-main-menu-bg);
    --brand-cta: var(--au-button-bg);
    --brand-cta-hover: var(--au-button-bg-hover);
    --brand-link: var(--au-main-menu-bg);
    --magenta: var(--au-button-bg);

    /* Layout (prototype --page-max / --gutter) */
    --page-max: 1440px;
    --gutter: 16px;
    --on-dark-muted: #aab2c2;
    --on-dark: #f7f9fc;

    /* Semantic tokens (remapped in dark theme) */
    --sep-positive: #1a7a4d;
    --sep-positive-fg: #155e3c;
    --sep-positive-fg-sub: #4c7a62;
    --sep-positive-tint: #eef6f1;
    --sep-positive-border: #cfe5d8;
    --sep-attention: #d99e1b;
    --sep-attention-fg: #6b5417;
    --sep-attention-tint: #fdf6e8;
    --sep-attention-border: #f0e0bb;
    --sep-error: #c0392b;
    --sep-error-fg: #8c2b24;
    --sep-error-fg-sub: #a85751;
    --sep-error-tint: #fdecea;
    --sep-error-border: #f3c4c0;
    --sep-ink: var(--au-heading-text-color);

    /* Neutrals / surfaces (page/body/field from Aspire Colours when set) */
    --sep-page: var(--au-page-background);
    --bg: var(--au-page-background);
    --sep-card: #ffffff;
    --surface: #ffffff;
    --sep-surface-2: #f1f4f8;
    --sep-surface-3: #e9edf5;
    --surface-navy: #203864;
    --sep-border: #E3E7EE;
    --sep-border-strong: #d5dae3;
    --divider: #f0f2f7;
    --placeholder-a: #eef1f6;
    --placeholder-b: #e5e9f0;
    --sep-field: var(--au-form-field-bg);
    --sep-muted: #6B7280;
    --sep-body: var(--au-body-text-color);
    --sep-caption: #8a93a3;
    --text-nav: #3a4150;

    /* Radii */
    --sep-r-badge: 6px;
    --sep-r-control: 10px;
    --sep-r-card: 12px;
    --sep-r-panel: 14px;
    --sep-r-pill: 999px;

    /* Shadow (hover only) */
    --sep-shadow-hover: 0 4px 14px rgba(20, 30, 60, .09);

    --sep-font: var(--au-font-family);

    --search-bg: var(--sep-field);
    --search-border: var(--sep-border);
    --search-shadow: none;
}

/* Dark theme (data-theme from StudentEngagement toggle) — tokens match sep-frontend-redesign */
html[data-theme="dark"] {
    color-scheme: dark;
    --au-page-background: #0f1521;
    --au-body-text-color: #cbd3df;
    --au-heading-text-color: #eef2f8;
    --au-form-field-bg: #28344a;
    --au-text-class-bg: #1d2634;
    --au-button-bg: #c8235a;
    --au-button-bg-hover: #f0487a;
    --au-main-menu-bg: #161e2c;
    --au-menu-item-bg: #161e2c;
    --au-menu-item-top-bg: #1d2634;
    --au-footer-background: #0f1521;

    --brand-accent: #8fb0ec;
    --brand-link: #8fb0ec;
    --magenta: #c8235a;
    --sep-page: #0f1521;
    --bg: #0f1521;
    --sep-card: #161e2c;
    --surface: #161e2c;
    --sep-surface-2: #1d2634;
    --sep-surface-3: #27313f;
    --surface-navy: #1a2230;
    --sep-border: #2a3342;
    --sep-border-strong: #3a4352;
    --divider: #222b39;
    --placeholder-a: #1b2431;
    --placeholder-b: #222d3c;
    --sep-field: #28344a;
    --sep-muted: #98a2b2;
    --sep-body: #cbd3df;
    --sep-ink: #eef2f8;
    --sep-caption: #7d8698;
    --text-nav: #aeb8c8;
    --search-bg: #28344a;
    --search-border: #5a6b88;
    --search-shadow: inset 0 0 0 1px rgba(143, 176, 236, .25);

    --sep-positive: #28a26c;
    --sep-positive-fg: #84dcac;
    --sep-positive-fg-sub: #93bda6;
    --sep-positive-tint: #13291f;
    --sep-positive-border: #204a34;
    --sep-attention-fg: #e9cb87;
    --sep-attention-tint: #2a2412;
    --sep-attention-border: #4a4020;
    --sep-error: #e0655a;
    --sep-error-fg: #f3a89f;
    --sep-error-fg-sub: #c98c85;
    --sep-error-tint: #2e1613;
    --sep-error-border: #502823;
}

html[data-theme="dark"] .header,
html[data-theme="dark"] .sep-header-menu,
html[data-theme="dark"] .header-menu {
    background: var(--sep-card);
    border-color: var(--sep-border);
}

html[data-theme="dark"] .sep-header-menu .menu__link,
html[data-theme="dark"] .top-menu > li > a {
    color: var(--text-nav);
}

html[data-theme="dark"] .sep-header-menu .menu__item--active > .menu__link,
html[data-theme="dark"] .sep-header-menu .menu__item--current > .menu__link,
html[data-theme="dark"] .sep-header-menu .menu__link[aria-current="page"],
html[data-theme="dark"] .sep-header-menu .menu__link:hover,
html[data-theme="dark"] .sep-header-menu .menu__link[aria-expanded="true"],
html[data-theme="dark"] .top-menu > li > a:hover,
html[data-theme="dark"] .top-menu > li > a:focus {
    color: var(--brand-link);
    border-bottom-color: var(--brand-link);
}

html[data-theme="dark"] .header-lower .search-box form,
html[data-theme="dark"] .search-box input.search-box-text,
html[data-theme="dark"] input.search-box-text {
    background: var(--search-bg);
    border-color: var(--search-border);
    box-shadow: var(--search-shadow);
    color: var(--sep-ink);
}

html[data-theme="dark"] .header-lower .search-box form {
    background: var(--search-bg);
    border-color: var(--search-border);
    box-shadow: var(--search-shadow);
}

html[data-theme="dark"] .header-lower .search-box input.search-box-text::placeholder,
html[data-theme="dark"] input.search-box-text::placeholder {
    color: var(--sep-caption);
    opacity: 1;
}

html[data-theme="dark"] .sep-header-action__btn,
html[data-theme="dark"] .sep-header-action__greeting,
html[data-theme="dark"] .sep-header-action__label,
html[data-theme="dark"] .sep-header-action__sub,
html[data-theme="dark"] .cart-label,
html[data-theme="dark"] .header-links a,
html[data-theme="dark"] .header-links .sep-header-action__btn {
    color: var(--text-nav);
}

html[data-theme="dark"] .header-links a:hover,
html[data-theme="dark"] .header-links .sep-header-action__btn:hover {
    color: var(--sep-ink);
}

html[data-theme="dark"] body {
    background: var(--sep-page);
    color: var(--sep-body);
}

@media (min-width: 768px) {
    :root { --gutter: 24px; }
}

@media (min-width: 1024px) {
    :root { --gutter: 32px; }
}

/* ---------- Global primitives ---------- */

html {
    background: var(--sep-page);
}

body {
    font: 400 16px/1.5 var(--sep-font);
    color: var(--sep-body);
    background: var(--sep-page);
}

.master-wrapper-page {
    background: var(--sep-page);
    box-shadow: none;
}

h1, h2, h3, h4, h5, h6,
.page-title h1 {
    font-family: var(--sep-font);
    color: var(--sep-ink);
}

.page-title h1,
.page-title h2 {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -.5px;
    text-transform: none;
}

.page-title {
    border-bottom: none;
    text-align: left;
    padding: 8px 0;
    min-height: 0;
}

.page {
    text-align: left;
}

a {
    color: var(--brand-accent);
}

/* The DefaultClean base uppercases almost every control; the SEP design is sentence case. */
.button-1,
.button-2,
button.button-1,
button.button-2,
input.button-1,
input.button-2,
a.button-1,
a.button-2,
.header-links a,
.header-links span,
.item-box .product-box-add-to-cart-button {
    text-transform: none;
}

/* Focus visibility — WCAG 2.2 AA */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
    outline: 2px solid var(--brand-accent);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}

/* Buttons: button-1 = primary CTA, button-2 = secondary (accent) */
.button-1 {
    background: var(--brand-cta);
    color: #fff;
    border: none;
    border-radius: var(--sep-r-control);
    font: 700 14.5px var(--sep-font);
    padding: 12px 22px;
    cursor: pointer;
}

.button-1:hover {
    background: var(--brand-cta-hover);
}

.button-2 {
    background: var(--brand-accent);
    color: #fff;
    border: none;
    border-radius: 9px;
    font: 700 14px var(--sep-font);
    padding: 11px 16px;
    cursor: pointer;
}

.button-2:hover {
    background: color-mix(in srgb, var(--brand-accent) 85%, #000);
    color: #fff;
}

/* Tertiary/outline recipe for minor actions */
.sep-button-tertiary {
    background: none;
    border: 1.5px solid var(--sep-border-strong);
    color: var(--text-nav);
    font: 700 14.5px var(--sep-font);
    padding: 12px 22px;
    border-radius: var(--sep-r-control);
    cursor: pointer;
    display: inline-block;
    text-decoration: none;
}

.sep-button-tertiary:hover {
    background: var(--sep-field);
    color: var(--sep-ink);
}

/* Inputs — shared form system (white surface + strong border, matching redesign FormElements) */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
input[type="number"],
input[type="search"],
textarea,
select,
.sep-field {
    font-family: var(--sep-font);
    font-size: 14.5px;
    color: var(--sep-ink);
    border: 1.5px solid var(--sep-border-strong);
    border-radius: 10px;
    padding: 12px 14px;
    height: auto;
    background: var(--surface);
    box-sizing: border-box;
    outline: none;
    transition: border-color .15s ease, box-shadow .15s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="password"]:focus,
input[type="number"]:focus,
input[type="search"]:focus,
textarea:focus,
select:focus,
.sep-field:focus {
    border-color: var(--brand-link) !important;
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand-link) 18%, transparent);
}

.sep-field-label,
.inputs > label,
.account-page .inputs label,
.sep-login-card .inputs label,
.sep-auth-card .inputs label {
    display: block;
    float: none;
    width: auto;
    text-align: left;
    margin: 0 0 7px;
    font: 700 13px/1.35 var(--sep-font);
    color: var(--sep-ink);
    letter-spacing: .1px;
}

.sep-field-req {
    color: var(--magenta);
    font-weight: 800;
}

.sep-field-optional {
    color: var(--sep-muted);
    font-weight: 600;
}

.sep-field-hint {
    font-size: 12.5px;
    color: var(--sep-muted);
    margin: 6px 0 0;
    line-height: 1.5;
}

.sep-btn,
.sep-btn-primary,
.sep-btn-magenta,
.sep-btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    padding: 12px 22px;
    font: 700 14.5px var(--sep-font);
    cursor: pointer;
    min-height: 46px;
    box-sizing: border-box;
    text-decoration: none;
}

.sep-btn-primary {
    background: var(--brand-link);
    color: #fff;
    border: none;
}

.sep-btn-magenta {
    background: var(--magenta);
    color: #fff;
    border: none;
}

.sep-btn-outline {
    background: var(--surface);
    color: var(--brand-link);
    border: 1.5px solid var(--brand-link);
}

.sep-btn-primary:hover,
.sep-btn-magenta:hover {
    filter: brightness(1.08);
    color: #fff;
}

.sep-btn-outline:hover {
    background: var(--sep-surface-2);
    color: var(--brand-link);
}

/* Cards / boxes */
.section.order-summary,
.fieldset,
.write-review,
.product-review-item {
    border: none;
}

/* Alerts */
.message-error,
.validation-summary-errors {
    background: var(--sep-error-tint);
    border: 1px solid var(--sep-error-border);
    border-radius: var(--sep-r-control);
    padding: 11px 14px;
    font-size: 13.5px;
    color: var(--sep-error-fg);
}

.field-validation-error {
    color: var(--sep-error-fg);
    font-size: 13px;
}

input.input-validation-error,
textarea.input-validation-error {
    border-color: var(--sep-error);
}

.result,
.message-success {
    background: var(--sep-positive-tint);
    border: 1px solid var(--sep-positive-border);
    border-radius: var(--sep-r-control);
    padding: 11px 14px;
    font-size: 13.5px;
    color: var(--sep-positive-fg);
}

/* Toast / notifications (add-to-basket) */
.bar-notification-container {
    position: fixed;
    bottom: 24px;
    top: auto;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    max-width: calc(100vw - 32px);
    z-index: 1080;
}

.bar-notification {
    position: static;
    display: flex !important;
    gap: 14px;
    align-items: center;
    background: var(--sep-ink) !important;
    color: #fff;
    font: 600 14px var(--sep-font);
    padding: 13px 22px;
    border-radius: var(--sep-r-control);
    box-shadow: 0 8px 24px rgba(20, 30, 60, .25);
    width: auto;
}

.bar-notification.success,
.bar-notification.error,
.bar-notification.warning {
    background: var(--sep-ink) !important;
}

.bar-notification.error {
    background: var(--sep-error) !important;
}

.bar-notification .content {
    margin: 0;
}

.bar-notification .content a {
    color: #9fc3ff;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.bar-notification .close {
    margin: 0 0 0 4px;
    background-color: transparent;
}

/* ---------- Funding chips (the signature component) ----------
   TODO(funding-engine): wire label/state from the AspirePayments funding engine.
   All placeholders carry data-sep-funding hooks. */
.sep-chip {
    display: inline-block;
    width: fit-content;
    border-radius: var(--sep-r-badge);
    padding: 6px 10px;
    font: 600 12.5px/1.4 var(--sep-font);
}

.sep-chip--covered {
    background: var(--sep-positive-tint);
    color: var(--sep-positive-fg);
}

.sep-chip--partial {
    background: var(--sep-positive-tint);
    color: var(--sep-positive-fg);
}

.sep-chip--attention {
    background: var(--sep-attention-tint);
    color: var(--sep-attention-fg);
}

.sep-chip--error {
    background: var(--sep-error-tint);
    color: var(--sep-error-fg);
}

.sep-chip--neutral {
    background: var(--sep-field);
    color: var(--sep-muted);
}

/* Balance pill (header) — placeholder until wired to the funding engine */
.sep-balance-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--sep-positive-tint);
    border: 1px solid var(--sep-positive-border);
    border-radius: var(--sep-r-pill);
    padding: 9px 16px;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
}

.sep-balance-pill:hover {
    text-decoration: none;
}

.sep-balance-pill .dot {
    width: 8px;
    height: 8px;
    background: var(--sep-positive);
    border-radius: 50%;
    flex: none;
}

.sep-balance-pill .amount {
    font: 700 15px var(--sep-font);
    color: var(--sep-positive-fg);
}

.sep-balance-pill .word {
    font-size: 13px;
    color: var(--sep-positive-fg-sub);
}

/* ---------- Announcement bar ---------- */
.sep-announcement,
a.sep-announcement {
    background: var(--au-text-class-bg, var(--sep-field));
    color: var(--sep-muted);
    font-size: 13.5px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    text-align: center;
    border-bottom: 1px solid var(--sep-border);
    text-decoration: none;
}

a.sep-announcement:hover {
    color: var(--sep-ink);
    text-decoration: none;
}

.sep-banner-list--announcement-bar,
.sep-banner--announcement-bar,
.sep-announcement-wrap {
    margin: 0;
}

.sep-banner-list--announcement-bar .sep-banner-countdown {
    position: static;
    display: inline-flex;
    margin-left: 8px;
    background: transparent;
    color: inherit;
    padding: 0;
    font-weight: 600;
    font-size: inherit;
}

/* ---------- Header ---------- */
.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Top bar + logo/search/actions + category menu stay locked while scrolling */
.sep-sticky-chrome {
    position: sticky;
    top: 0;
    z-index: 40;
    background: var(--sep-card);
    /* Keep mega menus / account flyouts visible outside the chrome box */
    overflow: visible;
}

.header {
    background: var(--sep-card);
    border-bottom: 1px solid var(--sep-border);
    padding: 0;
    position: relative;
    z-index: 2;
    width: auto;
    margin: 0;
}

.header-upper {
    display: none;
}

.header-lower,
.sep-header__lower {
    display: flex;
    align-items: center;
    gap: 28px;
    height: 80px;
    padding: 0 var(--gutter);
    margin: 0 auto;
    max-width: var(--page-max);
    width: 100%;
    box-sizing: border-box;
    flex-wrap: nowrap;
}

.sep-header__toolbar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    margin-left: 0;
    /* Never shrink below action icons/text — search absorbs width pressure instead */
    flex: 0 0 auto;
    min-width: 0;
}

.sep-mobile-search-open {
    display: none;
}

.header-logo,
.sep-header__logo {
    float: none;
    margin: 0;
    width: auto;
    flex: 0 0 auto;
    text-align: left;
    min-width: 0;
}

.header-logo a {
    display: block;
}

.header-logo a img,
.sep-header__logo a img {
    max-width: 300px;
    max-height: 56px;
    width: auto;
    height: auto;
    object-fit: contain;
    margin: 0;
}

/* Light / dark Student Portal lockup */
.sep-store-logo--light { display: inline-block; }
.sep-store-logo--dark { display: none; }
html[data-theme="dark"] .sep-store-logo--light { display: none; }
html[data-theme="dark"] .sep-store-logo--dark { display: inline-block; }

.header-logo a:has(.sep-store-logo) > img.sep-store-logo-fallback,
.sep-header__logo a:has(.sep-store-logo) > img.sep-store-logo-fallback {
    display: none !important;
}

/* Prefer admin-uploaded store logos over theme defaults */
.header-logo a:has(.sep-store-logo:not(.sep-theme-logo)) .sep-theme-logo,
.sep-header__logo a:has(.sep-store-logo:not(.sep-theme-logo)) .sep-theme-logo,
.sep-footer__logos:has(.sep-footer-logo img) .sep-theme-logo {
    display: none !important;
}

.header-logo a .sep-theme-logo,
.sep-header__logo a .sep-theme-logo {
    max-height: 48px;
    width: auto;
}

.header-lower .search-box,
.sep-header__search {
    float: none;
    position: relative;
    flex: 1 1 auto;
    max-width: 560px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.sep-header__search .ui-autocomplete {
    width: 100% !important;
    max-width: 100%;
    box-sizing: border-box;
    left: 0 !important;
    right: auto !important;
}

.header-lower .search-box form,
.sep-search-form {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    margin: 0;
    gap: 0;
    min-height: 38px;
    border: 1px solid var(--search-border);
    border-radius: 8px;
    overflow: hidden;
    background: var(--search-bg);
    box-shadow: var(--search-shadow, 0 1px 2px rgba(20, 30, 60, .06));
}

.sep-search-form__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 40px;
    color: var(--sep-muted);
    pointer-events: none;
}

.sep-search-form__clear {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 36px;
    height: 36px;
    border: none;
    background: transparent;
    color: var(--sep-muted);
    cursor: pointer;
    border-radius: 8px;
}

.sep-search-form__clear[hidden] {
    display: none !important;
}

.sep-search-form__submit {
    min-width: 44px !important;
    width: 44px !important;
    padding: 0 !important;
}

.search-box input.search-box-text,
input.search-box-text {
    width: 100%;
    background: var(--search-bg);
    border: 1px solid var(--search-border);
    border-radius: var(--sep-r-control);
    padding: 13px 16px;
    font-size: 15px;
    color: var(--sep-body);
    height: auto;
    float: none;
}

.search-box input.search-box-text::placeholder,
input.search-box-text::placeholder {
    color: var(--sep-caption);
    opacity: 1;
}

.header-lower .search-box input.search-box-text {
    flex: 1;
    min-width: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

/* Category filter removed from header search (SEP redesign) */
.header-lower .search-box .search-box-category,
.sep-search-form .search-box-category {
    display: none !important;
}

/* Search CTA — same colour as Add to basket */
.header-lower .search-box .search-box-button,
.search-box .search-box-button,
.header-lower .search-box .button-1.search-box-button {
    position: static;
    width: auto;
    height: auto;
    min-width: 96px;
    margin: 0;
    padding: 0 18px;
    overflow: visible;
    clip: auto;
    clip-path: none;
    white-space: nowrap;
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 0;
    background: var(--brand-cta);
    color: #fff;
    font: 700 14px var(--sep-font);
    text-transform: none;
    cursor: pointer;
}

.header-lower .search-box .search-box-button:hover,
.header-lower .search-box .search-box-button:focus,
.search-box .search-box-button:hover,
.search-box .search-box-button:focus {
    background: var(--brand-cta-hover);
    color: #fff;
}

.ui-autocomplete {
    z-index: 1200;
    border: 1px solid var(--sep-border);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(20, 30, 60, .12);
    background: var(--sep-card);
    color: var(--sep-body);
    padding: 8px 0;
    overflow: hidden;
}

.sep-search-suggest__heading {
    list-style: none;
    padding: 8px 16px 6px;
    font: 700 11px/1.3 var(--sep-font);
    letter-spacing: .6px;
    color: var(--sep-caption);
    text-transform: uppercase;
}

.sep-search-suggest__item > a {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 16px;
    text-decoration: none;
    color: inherit;
}

.sep-search-suggest__main {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.sep-search-suggest__name {
    font: 600 14.5px/1.3 var(--sep-font);
    color: var(--sep-ink);
}

.sep-search-suggest__meta {
    font: 400 12.5px/1.35 var(--sep-font);
    color: var(--sep-muted);
}

.sep-search-suggest__price {
    flex: none;
    font: 700 14px/1.3 var(--sep-font);
    color: var(--sep-ink);
    text-align: right;
}

.sep-search-suggest__empty {
    list-style: none;
    padding: 12px 16px;
    font: 400 13.5px/1.45 var(--sep-font);
    color: var(--sep-muted);
}

.header-links .cart-qty.is-empty,
.header-links .wishlist-qty.is-empty,
.header-links .cart-qty:empty,
.header-links .wishlist-qty:empty {
    display: none !important;
}

/* Header actions (Account / Help / Wishlist / Basket) — match SEP redesign */
.sep-header-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 18px;
    flex: none;
}

.header-links {
    display: flex;
    align-items: center;
    gap: 18px;
}

.header-links ul {
    display: flex;
    align-items: center;
    gap: 18px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: inherit;
}

.header-links li {
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

.header-links a,
.header-links .sep-header-action__btn {
    font: 600 14.5px var(--sep-font);
    color: var(--text-nav, #3a4150);
    text-transform: none;
    line-height: 1.15;
    text-decoration: none;
}

.header-links a:hover,
.header-links .sep-header-action__btn:hover {
    color: var(--sep-ink, #22293a);
}

/* Beat base `.header-links a { display: inline-block }` so icon sits left of label.
   Exclude mobile-only and desktop-only account controls — those have dedicated display rules. */
.header-links a.sep-header-action__btn:not(.sep-header-action__account-mobile):not(.sep-header-action__account-desktop),
.header-links .sep-header-action__btn:not(.sep-header-action__account-mobile):not(.sep-header-action__account-desktop),
.header-links a.ico-cart.sep-header-action__btn,
.header-links a.sep-header-action__signin {
    position: relative;
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    padding: 10px 2px 8px;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    line-height: 1.15;
}

.sep-header-action__btn {
    position: relative;
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    padding: 10px 2px 8px;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
}

.sep-header-action__btn--icon {
    padding-left: 4px;
    padding-right: 4px;
}

/* Signed-in account: icon-only link on mobile, dropdown + greeting on desktop. */
.header-links a.sep-header-action__account-mobile {
    display: none !important;
}

.header-links .sep-header-action__account-desktop {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center;
    gap: 8px;
}

@media (max-width: 767px) {
    .header-links a.sep-header-action__account-mobile {
        display: inline-flex !important;
        flex-direction: row !important;
        align-items: center;
    }

    .header-links .sep-header-action__btn.sep-header-action__account-desktop,
    .header-links button.sep-header-action__account-desktop,
    .header-links .sep-header-action__account-desktop,
    .sep-header-action--account .sep-dropdown__panel {
        display: none !important;
    }
}

.sep-header-action__icon {
    display: block;
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
}

/* Beat base `.header-links span { display: inline-block; line-height: 36px }`
   so "Hi, Name" / "Your Account" stack as two lines beside the icon. */
.header-links .sep-header-action__account-text,
.header-links span.sep-header-action__account-text {
    display: flex !important;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 1px;
    line-height: 1.15;
    min-width: 0;
    max-width: 9.5rem;
    white-space: normal;
    text-align: left !important;
}

.header-links .sep-header-action__btn.sep-header-action__account-desktop,
.header-links button.sep-header-action__account-desktop {
    justify-content: flex-start !important;
    text-align: left !important;
}

.header-links .sep-header-action--account {
    min-width: 0;
    max-width: 12.5rem;
    flex: 0 1 auto;
}

.sep-header-action--account .sep-dropdown__toggle.sep-header-action__account-desktop {
    max-width: 100%;
    min-width: 0;
    align-items: center;
    white-space: normal;
    /* Same padding/margin/border width as the open tab — only colour changes on open */
    padding: 10px 12px 10px;
    margin-bottom: -1px;
    border: 1px solid transparent;
    border-radius: 14px 14px 0 0;
    box-sizing: border-box;
}

.header-links .sep-header-action--account.is-open {
    overflow: visible;
}

.header-links .sep-header-action__greeting,
.header-links span.sep-header-action__greeting {
    display: block !important;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 14.5px;
    font-weight: 700;
    color: var(--sep-ink, #22293a);
    text-transform: none;
    line-height: 1.15;
    text-align: left !important;
}

.header-links .sep-header-action__sub,
.header-links span.sep-header-action__sub {
    display: block !important;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 12.5px;
    font-weight: 500;
    color: var(--text-nav, #3a4150);
    text-transform: none;
    line-height: 1.15;
    text-align: left !important;
}

.sep-header-action__label,
.header-links .cart-label,
.header-links .wishlist-label {
    font-size: 14.5px;
    font-weight: 600;
    color: var(--text-nav, #3a4150);
    text-transform: none;
    line-height: 1.15;
}

.header-links .cart-label,
.header-links .wishlist-label {
    font-size: 14.5px;
    font-weight: 600;
    color: var(--text-nav, #3a4150);
}

.header-links a.ico-wishlist {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Kill DefaultClean grey basket pill + bag sprite */
.header-links #topcartlink,
.header-links-wrapper #topcartlink {
    display: flex;
    width: auto;
    max-width: none;
    margin: 0;
    padding: 0;
    /* Beat base styles.css `#topcartlink { background-color: #f6f6f6 }` */
    background: transparent !important;
    background-color: transparent !important;
}

.header-links #topcartlink a.ico-cart,
.header-links a.ico-cart {
    background-image: none;
    background-color: transparent;
    padding: 10px 2px 8px;
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center;
    gap: 4px;
}

/* Stock `#topcartlink a { background: shopping-bag.png }` leaks onto every
   link inside the flyout (product thumbs + titles). Kill it for flyout links. */
.header-links #topcartlink .flyout-cart a,
.header-links #topcartlink .sep-mini-basket a,
.flyout-cart.sep-flyout-cart a {
    background-image: none !important;
    background: none !important;
    padding-left: 0 !important;
}

/* Must beat `#topcartlink a.ico-cart { padding: 10px 2px 8px }` (ID specificity)
   or the Basket tab jumps 2px→12px padding on every hover open — the wobble. */
.header-links #topcartlink.sep-header-action--basket > a.ico-cart.sep-header-action__btn {
    padding: 10px 12px 10px;
    margin-bottom: -1px;
    border: 1px solid transparent;
    border-bottom-color: transparent;
    border-radius: 14px 14px 0 0;
    background: transparent;
    background-image: none;
    box-sizing: border-box;
}

.header-links a.ico-wishlist,
.header-links a.ico-cart {
    position: relative;
}

.header-links .cart-qty,
.header-links .wishlist-qty {
    position: absolute;
    top: 2px;
    right: 2px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    background: var(--brand-cta);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    border-radius: 999px;
    line-height: 1;
    z-index: 1;
}

/* Favourites (icon-only): keep badge on the icon corner */
@media (min-width: 768px) {
    .header-links .wishlist-qty {
        top: -2px;
        right: -8px;
    }
}

/* Basket (icon + label): badge sits immediately after "Basket" (no far-right absolute). */
.header-links a.ico-cart .cart-qty,
.header-links #topcartlink a.ico-cart .cart-qty,
.header-links a.ico-cart.sep-header-action__btn .cart-qty {
    position: static;
    top: auto;
    right: auto;
    margin: -8px 0 0 0;
    padding: 0 5px;
    flex-shrink: 0;
    align-self: flex-start;
}

.header-links a.ico-cart .cart-label,
.header-links #topcartlink a.ico-cart .cart-label {
    margin: 0;
    padding: 0;
}

/* Flyout mini basket — L-shaped attached card (same pattern as account menu) */
.sep-header__links {
    position: relative;
}

.header-links .sep-header-action--basket {
    position: relative;
    overflow: visible;
}

.header-links .sep-header-action--basket > a.ico-cart.sep-header-action__btn {
    /* Mirror of #topcartlink rule above (non-ID path) */
    position: relative;
    padding: 10px 12px 10px;
    margin-bottom: -1px;
    border: 1px solid transparent;
    border-bottom-color: transparent;
    border-radius: 14px 14px 0 0;
    background: transparent;
    background-image: none;
    box-sizing: border-box;
}

/*
 * Basket flyout — L-shaped attached card:
 * white Basket tab on the top-right fused to a wider body,
 * with a concave notch where the tab meets the panel.
 * Include #topcartlink so open white wins over
 * `.header-links #topcartlink a.ico-cart { background-color: transparent }`.
 */
.header-links .sep-header-action--basket.is-open,
.header-links #topcartlink.sep-header-action--basket.is-open {
    /* Shadow on the panel only — filter on the li shifts/repaints neighbours */
    filter: none;
    z-index: 60;
    background: transparent !important;
    background-color: transparent !important;
}

.header-links .sep-header-action--basket.is-open > a.ico-cart.sep-header-action__btn,
.header-links #topcartlink.is-open > a.ico-cart.sep-header-action__btn,
.header-links #topcartlink.sep-header-action--basket.is-open > a.ico-cart.sep-header-action__btn {
    position: relative;
    z-index: 62;
    background: var(--sep-card, #fff) !important;
    background-color: var(--sep-card, #fff) !important;
    background-image: none !important;
    /* Same padding/margin/border width as closed — only colour changes */
    border-color: var(--sep-border, #e8ebf1);
    border-bottom-color: var(--sep-card, #fff);
    border-radius: 14px 14px 0 0;
    padding: 10px 12px 10px;
    margin-bottom: -1px;
    box-shadow: none;
}

/* Concave notch: left of the Basket tab */
.header-links .sep-header-action--basket.is-open > a.ico-cart.sep-header-action__btn::before,
.header-links #topcartlink.is-open > a.ico-cart.sep-header-action__btn::before {
    content: "";
    position: absolute;
    left: -15px;
    bottom: -1px;
    width: 15px;
    height: 15px;
    background: radial-gradient(
        circle at 0 0,
        transparent 14.5px,
        var(--sep-card, #fff) 15px
    );
    pointer-events: none;
}

.header-links .sep-header-action--basket.is-open > a.ico-cart.sep-header-action__btn::after,
.header-links #topcartlink.is-open > a.ico-cart.sep-header-action__btn::after {
    content: "";
    position: absolute;
    left: -16px;
    bottom: -1px;
    width: 16px;
    height: 16px;
    background: radial-gradient(
        circle at 0 0,
        transparent 14.5px,
        var(--sep-border, #e8ebf1) 14.5px,
        var(--sep-border, #e8ebf1) 15.5px,
        transparent 16px
    );
    pointer-events: none;
}

.flyout-cart.sep-flyout-cart,
.header-links #topcartlink .flyout-cart.sep-flyout-cart {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 61;
    width: 400px;
    max-width: min(400px, calc(100vw - 24px));
    background: var(--sep-card, #fff);
    background-color: var(--sep-card, #fff);
    border: 1px solid var(--sep-border, #e8ebf1);
    border-radius: 16px 0 16px 16px;
    box-shadow:
        0 10px 14px rgba(20, 30, 60, .10),
        0 24px 40px rgba(20, 30, 60, .12);
    padding: 0;
    overflow: visible;
}

/* Invisible hover bridge over the tab/panel seam so the pointer doesn’t
   flicker mouseleave→mouseenter while crossing into the flyout. */
.flyout-cart.sep-flyout-cart::before {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    top: -12px;
    height: 12px;
    background: transparent;
}

.flyout-cart.sep-flyout-cart.active,
.header-links #topcartlink .flyout-cart.sep-flyout-cart.active,
.header-links #topcartlink.is-open .flyout-cart.sep-flyout-cart {
    display: block;
}

@media (max-width: 767px) {
    .header-links .sep-header-action--basket.is-open,
    .header-links #topcartlink.sep-header-action--basket.is-open {
        filter: none;
    }

    .header-links .sep-header-action--basket.is-open > a.ico-cart.sep-header-action__btn,
    .header-links #topcartlink.is-open > a.ico-cart.sep-header-action__btn {
        background: none !important;
        background-color: transparent !important;
        border: none;
        border-radius: 0;
        margin-bottom: 0;
        padding: 10px 2px 8px;
    }

    .header-links .sep-header-action--basket.is-open > a.ico-cart.sep-header-action__btn::before,
    .header-links .sep-header-action--basket.is-open > a.ico-cart.sep-header-action__btn::after,
    .header-links #topcartlink.is-open > a.ico-cart.sep-header-action__btn::before,
    .header-links #topcartlink.is-open > a.ico-cart.sep-header-action__btn::after {
        content: none;
        display: none;
    }

    .flyout-cart.sep-flyout-cart {
        /* Mobile: no hover flyout L-shape; keep panel usable if shown */
        right: 0;
        width: min(360px, calc(100vw - 16px));
        border-radius: 12px;
        box-shadow:
            0 10px 14px rgba(20, 30, 60, .10),
            0 24px 40px rgba(20, 30, 60, .12);
    }
}

.mini-shopping-cart.sep-mini-basket {
    text-align: left;
    font-family: var(--sep-font);
    font-size: 13.5px;
    color: var(--sep-ink, #1e2740);
    padding: 16px;
}

.sep-mini-basket__count,
.mini-shopping-cart.sep-mini-basket .count.sep-mini-basket__count {
    font: 700 13.5px/1.3 var(--sep-font) !important;
    color: var(--sep-ink, #1e2740) !important;
    letter-spacing: .04em;
    text-transform: uppercase;
    padding: 0 2px 10px;
    margin: 0;
    border: none;
}

.sep-mini-basket__items,
.mini-shopping-cart.sep-mini-basket .items.sep-mini-basket__items,
.mini-shopping-cart.sep-mini-basket .items {
    display: flex;
    flex-direction: column;
    max-height: 320px;
    overflow-y: auto;
    /* Kill stock .mini-shopping-cart .items top+bottom borders + 20px margin
       (those stack with .totals border-top → duplicate separator + gap). */
    border: none !important;
    border-top: none !important;
    border-bottom: none !important;
    margin: 0 !important;
}

.sep-mini-basket__item,
.mini-shopping-cart.sep-mini-basket .item.sep-mini-basket__item {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr) auto;
    column-gap: 10px;
    row-gap: 0;
    align-items: start;
    padding: 12px 2px;
    border-top: 1px solid var(--divider, #f0f2f7);
    border-bottom: none;
    overflow: visible;
}

.sep-mini-basket__item:first-child {
    border-top: 1px solid var(--divider, #f0f2f7);
}

.sep-mini-basket__pic,
.mini-shopping-cart.sep-mini-basket .picture.sep-mini-basket__pic {
    width: 56px;
    height: 56px;
    flex: none;
    float: none !important;
    border-radius: 8px;
    overflow: hidden;
    background: repeating-linear-gradient(
        45deg,
        var(--placeholder-a),
        var(--placeholder-a) 6px,
        var(--placeholder-b) 6px,
        var(--placeholder-b) 12px
    );
    margin: 0 !important;
    text-align: left;
}

/* Empty placeholder only — real thumbs cover the stripe */
.sep-mini-basket__pic--ph {
    background: repeating-linear-gradient(
        45deg,
        var(--placeholder-a),
        var(--placeholder-a) 6px,
        var(--placeholder-b) 6px,
        var(--placeholder-b) 12px
    );
}

.sep-mini-basket__pic:has(img) {
    background: var(--sep-surface-2, #f4f6fa);
}

.sep-mini-basket__pic a {
    display: block;
    width: 100%;
    height: 100%;
    position: relative !important;
    overflow: hidden;
    background: none !important;
    background-image: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.sep-mini-basket__pic a:before,
.sep-mini-basket__pic a:after {
    display: none !important;
    content: none !important;
    padding: 0 !important;
    background: none !important;
}

.sep-mini-basket__pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    position: absolute !important;
    inset: 0;
    margin: 0 !important;
    max-width: none;
}

/* Kill stock `.mini-shopping-cart .picture + .product { margin-left: 80px }` —
   that was the huge gap between thumb and name. */
.sep-mini-basket__main,
.mini-shopping-cart.sep-mini-basket .picture + .product,
.mini-shopping-cart.sep-mini-basket .product.sep-mini-basket__main {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin: 0 !important;
    padding: 0 4px 0 0;
}

.sep-mini-basket__name,
.mini-shopping-cart.sep-mini-basket .name.sep-mini-basket__name {
    margin: 0 !important;
}

.sep-mini-basket__name a,
.mini-shopping-cart.sep-mini-basket .name a {
    font: 700 13.5px/1.3 var(--sep-font) !important;
    color: var(--sep-ink, #1e2740) !important;
    text-decoration: none !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    overflow-wrap: break-word;
    word-break: normal;
}

.sep-mini-basket__name a:hover,
.mini-shopping-cart.sep-mini-basket .name a:hover {
    color: var(--sep-ink, #1e2740) !important;
    /* No underline — decoration can reflow clamped product titles */
    text-decoration: none !important;
    opacity: .85;
}

.sep-mini-basket__meta {
    font: 400 13.5px/1.35 var(--sep-font);
    color: var(--sep-muted, #6B7280);
    white-space: nowrap;
}

.sep-mini-basket__attrs {
    display: none;
}

.sep-mini-basket__side {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    flex: none;
    min-width: 72px;
}

.sep-mini-basket__line {
    font: 700 13.5px/1.3 var(--sep-font);
    color: var(--sep-ink, #1e2740);
    white-space: nowrap;
}

.sep-mini-basket__remove {
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    color: var(--sep-muted, #6B7280) !important;
    font: 500 13.5px var(--sep-font) !important;
    cursor: pointer;
    padding: 0 !important;
    min-height: 0 !important;
    width: auto !important;
    text-decoration: underline;
    text-underline-offset: 2px;
    border-radius: 0 !important;
}

.sep-mini-basket__remove:hover {
    color: var(--magenta) !important;
    background: none !important;
}

.sep-mini-basket__totals,
.mini-shopping-cart.sep-mini-basket .totals.sep-mini-basket__totals,
.mini-shopping-cart.sep-mini-basket .totals {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 2px 10px;
    margin: 0 !important;
    border-top: 1px solid var(--sep-border);
    font-family: var(--sep-font);
    font-size: 13.5px;
    color: var(--sep-ink, #1e2740);
}

.sep-mini-basket__subtotal-label {
    color: var(--sep-ink, #1e2740);
    font: 600 13.5px/1.3 var(--sep-font);
}

.sep-mini-basket__subtotal-value,
.mini-shopping-cart.sep-mini-basket .totals strong.sep-mini-basket__subtotal-value {
    font: 800 13.5px/1.3 var(--sep-font) !important;
    color: var(--sep-ink, #1e2740) !important;
}

.sep-mini-basket__buttons,
.mini-shopping-cart.sep-mini-basket .buttons.sep-mini-basket__buttons,
.mini-shopping-cart.sep-mini-basket .buttons {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 10px;
    padding: 0;
    /* Override stock .mini-shopping-cart .buttons / global .buttons margins */
    margin: 0 !important;
}

.mini-shopping-cart.sep-mini-basket .sep-mini-basket__buttons button[type="button"],
.sep-mini-basket__view.cart-button,
.sep-mini-basket__checkout.checkout-button {
    flex: 1 1 0;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    margin: 0 !important;
    width: auto !important;
    min-width: 0;
    min-height: 44px;
    padding: 11px 12px !important;
    font: 700 13.5px/1.2 var(--sep-font) !important;
    border-radius: 9px !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    cursor: pointer;
    box-sizing: border-box;
}

/* Outline secondary — matches mockup "View basket" */
.mini-shopping-cart.sep-mini-basket .sep-mini-basket__view.cart-button,
.sep-mini-basket__view.cart-button {
    background: #fff !important;
    color: var(--sep-ink, #1e2740) !important;
    border: 1.5px solid var(--sep-ink, #1e2740) !important;
    box-shadow: none !important;
}

.mini-shopping-cart.sep-mini-basket .sep-mini-basket__view.cart-button:hover,
.mini-shopping-cart.sep-mini-basket .sep-mini-basket__view.cart-button:focus,
.sep-mini-basket__view.cart-button:hover,
.sep-mini-basket__view.cart-button:focus {
    background: var(--sep-surface-2, #f4f5f8) !important;
    color: var(--sep-ink, #1e2740) !important;
    border-color: var(--sep-ink, #1e2740) !important;
}

/* Solid magenta primary — matches mockup "Checkout" */
.mini-shopping-cart.sep-mini-basket .sep-mini-basket__checkout.checkout-button,
.sep-mini-basket__checkout.checkout-button {
    background: var(--magenta) !important;
    color: #fff !important;
    border: 1.5px solid var(--magenta) !important;
    box-shadow: none !important;
}

.mini-shopping-cart.sep-mini-basket .sep-mini-basket__checkout.checkout-button:hover,
.mini-shopping-cart.sep-mini-basket .sep-mini-basket__checkout.checkout-button:focus,
.sep-mini-basket__checkout.checkout-button:hover,
.sep-mini-basket__checkout.checkout-button:focus {
    background: var(--brand-cta-hover) !important;
    border-color: var(--brand-cta-hover) !important;
    color: #fff !important;
}

html[data-theme="dark"] .mini-shopping-cart.sep-mini-basket .sep-mini-basket__view.cart-button,
html[data-theme="dark"] .sep-mini-basket__view.cart-button {
    background: transparent !important;
    color: var(--sep-ink) !important;
    border-color: var(--sep-ink) !important;
}

html[data-theme="dark"] .mini-shopping-cart.sep-mini-basket .sep-mini-basket__view.cart-button:hover,
html[data-theme="dark"] .sep-mini-basket__view.cart-button:hover {
    background: var(--sep-surface-2) !important;
}

.sep-mini-basket__empty {
    padding: 18px 6px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
}

.sep-mini-basket__empty-title {
    font: 800 13.5px var(--sep-font);
    color: var(--sep-ink);
}

.sep-mini-basket__empty-copy {
    font: 400 13.5px/1.45 var(--sep-font);
    color: var(--sep-muted);
}

.sep-mini-basket__empty-cta {
    background: var(--magenta);
    color: #fff;
    border: none;
    border-radius: 9px;
    padding: 10px 18px;
    font: 700 13.5px var(--sep-font);
    text-decoration: none;
}

.sep-mini-basket__empty-cta:hover {
    background: var(--brand-cta-hover);
    color: #fff;
}

.sep-header-action--basket:hover > .sep-header-action__btn,
#topcartlink:hover > .sep-header-action__btn {
    position: relative;
    z-index: 61;
}

/* ---------- Main menu / category nav ---------- */
.header-menu,
.sep-header-menu {
    background: var(--sep-card);
    border-bottom: 1px solid var(--sep-border);
    margin: 0;
    padding: 0 48px;
    width: auto;
    max-width: none;
    text-align: left;
    position: relative;
    /* Below header actions inside sticky chrome so account / basket flyouts win */
    z-index: 1;
    overflow: visible;
}

.top-menu {
    display: flex;
    align-items: center;
    gap: 22px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.top-menu::-webkit-scrollbar {
    display: none;
}

.top-menu > li {
    margin: 0;
    padding: 0;
    background: none;
}

.top-menu > li > a {
    font: 600 14.5px var(--sep-font);
    color: var(--text-nav);
    text-transform: none;
    padding: 11px 0 13px;
    border-bottom: 2px solid transparent;
    display: block;
    white-space: nowrap;
    background: none;
}

.top-menu > li > a:hover,
.top-menu > li > a:focus {
    color: var(--brand-link);
    border-bottom-color: var(--brand-link);
    background: none;
}

.top-menu .sublist {
    background: var(--sep-card);
    border: 1px solid var(--sep-border);
    border-top: 2px solid var(--brand-accent);
    border-radius: 0 0 16px 16px;
    box-shadow: 0 24px 46px rgba(20, 30, 60, .16);
    padding: 16px 8px;
}

.top-menu .sublist li {
    background: none;
}

.top-menu .sublist li a {
    color: var(--sep-body);
    font: 500 14px var(--sep-font);
    padding: 7px 16px;
}

.top-menu .sublist li a:hover {
    color: var(--brand-accent);
    background: var(--sep-field);
}

/* ---------- Breadcrumb ---------- */
.breadcrumb,
.sep-pdp-breadcrumb {
    margin: 0 0 14px;
    padding: 0;
    background: transparent !important;
    background-color: transparent !important;
    font-size: 13px;
    color: var(--sep-muted);
    overflow-wrap: anywhere;
}

html[data-theme="dark"] .breadcrumb,
html[data-theme="dark"] .sep-pdp-breadcrumb {
    background: transparent !important;
    background-color: transparent !important;
    color: var(--sep-muted);
}

html[data-theme="dark"] .breadcrumb li,
html[data-theme="dark"] .breadcrumb li *,
html[data-theme="dark"] .sep-pdp-breadcrumb li,
html[data-theme="dark"] .sep-pdp-breadcrumb li * {
    color: var(--sep-muted);
}

html[data-theme="dark"] .breadcrumb li a,
html[data-theme="dark"] .sep-pdp-breadcrumb li a {
    color: var(--sep-muted);
}

html[data-theme="dark"] .breadcrumb li a:hover,
html[data-theme="dark"] .sep-pdp-breadcrumb li a:hover {
    color: var(--brand-link);
}

.breadcrumb ul,
.sep-pdp-breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0;
}

.breadcrumb li,
.breadcrumb li *,
.sep-pdp-breadcrumb li,
.sep-pdp-breadcrumb li * {
    font-size: 13px;
    color: var(--sep-muted);
}

.breadcrumb li a,
.sep-pdp-breadcrumb li a {
    text-decoration: underline;
    text-underline-offset: 2px;
    color: var(--sep-muted);
}

.breadcrumb li a:hover,
.sep-pdp-breadcrumb li a:hover {
    color: var(--brand-accent);
}

.sep-pdp-breadcrumb .current-item {
    font-weight: 600;
    color: var(--sep-muted);
}

.sep-pdp-breadcrumb .delimiter {
    margin: 0 0.35em;
}

/* ---------- Product cards ---------- */
.item-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 18px;
    justify-content: start;
}

@media (max-width: 1279px) and (min-width: 768px) {
    .item-grid {
        grid-template-columns: repeat(auto-fill, minmax(225px, 1fr));
    }
}

@media (max-width: 767px) {
    .item-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }
}

.item-grid::after {
    display: none;
}

.item-box {
    float: none;
    width: auto !important;
    margin: 0 !important;
    min-width: 0;
}

.item-box .product-item,
.sep-product-card {
    background: var(--sep-card, #FFFFFF);
    border: 1px solid var(--sep-border, #E3E7EE);
    border-radius: var(--sep-r-card, 12px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: box-shadow .15s ease;
}

.item-box .product-item:hover,
.sep-product-card:hover {
    box-shadow: var(--sep-shadow-hover);
    background: var(--sep-card, #FFFFFF);
    transform: none;
}

.item-box .picture,
.sep-product-card__media {
    position: relative;
    margin: 0;
    background: #FFFFFF;
    height: 160px;
    padding: 14px;
    box-sizing: border-box;
    flex: none;
}

.item-box .picture a,
.item-box .picture .swiper,
.item-box .picture .swiper-slide,
.sep-product-card__img-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.item-box .picture a img,
.sep-product-card__img-link img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}

.sep-product-card__ph {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 6px;
    background: repeating-linear-gradient(
        45deg,
        var(--placeholder-a),
        var(--placeholder-a) 6px,
        var(--placeholder-b) 6px,
        var(--placeholder-b) 12px
    );
}

.item-box .details,
.sep-product-card__body {
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
    text-align: left;
    margin: 0;
}

.item-box .sep-product-card__brand,
a.sep-product-card__brand {
    order: -1;
    font: 600 12px var(--sep-font);
    color: var(--sep-muted, #6B7280);
    letter-spacing: .4px;
    text-transform: uppercase;
    margin: 0;
    text-decoration: none;
}

a.sep-product-card__brand:hover,
a.sep-product-card__brand:focus-visible {
    color: var(--brand-link, #203864);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.item-box .product-title,
.sep-product-card .product-title {
    height: auto;
    margin: 0;
    padding: 0;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    max-height: calc(1.3em * 4);
}

.item-box .product-title a,
.sep-product-card .product-title a {
    font: 700 14.5px/1.3 var(--sep-font);
    color: var(--sep-ink, #22293A);
    text-transform: none;
    text-decoration: none;
}

.item-box .product-title a:hover,
.item-box .product-title a:focus-visible {
    color: var(--brand-link, #203864);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.item-box .description {
    display: none;
}

.item-box .prices {
    margin: 0;
    height: auto;
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
}

.item-box .actual-price {
    font: 800 17px var(--sep-font);
    color: var(--sep-ink, #22293A);
}

.item-box .old-price {
    font: 600 13px var(--sep-font);
    color: var(--sep-caption, #8A93A3);
    text-decoration: line-through;
}

.item-box .add-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
    margin: 0;
}

.item-box .buttons,
.sep-product-card__actions {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.item-box .product-box-add-to-cart-button {
    width: 100%;
    background: var(--brand-cta, #C8235A);
    color: #fff;
    border: none;
    border-radius: 9px;
    font: 700 14px var(--sep-font);
    padding: 11px 12px;
    cursor: pointer;
}

.item-box .product-box-add-to-cart-button:hover {
    background: var(--brand-cta-hover);
}

.item-box .product-box-add-to-cart-button:focus-visible,
.sep-product-card__wish:focus-visible,
.sep-product-card__img-link:focus-visible {
    outline: 2px solid var(--brand-link, #203864);
    outline-offset: 2px;
}

.sep-product-card .picture {
    position: relative;
}

.sep-product-card__wish {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    border: 1px solid var(--sep-ink, #22293A);
    background: #FFFFFF;
    color: var(--sep-ink, #22293A);
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.sep-product-card__wish:hover {
    border-color: var(--brand-cta, #C8235A);
    color: var(--brand-cta, #C8235A);
}

/* Top-left card flag: savings or out-of-stock (max one) */
.sep-product-card__flag {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    padding: 3px 8px;
    border-radius: 6px;
    font: 700 11.5px var(--sep-font);
    line-height: 1.2;
    white-space: nowrap;
}

.sep-product-card__flag--save {
    background: var(--brand-cta, #C8235A);
    color: #fff;
}

.sep-product-card__flag--oos {
    background: var(--sep-surface-2, #F1F4F8);
    border: 1px solid var(--sep-border, #E3E7EE);
    color: var(--sep-muted, #6B7280);
}

.item-box .sep-product-card__oos-button,
.item-box .sep-product-card__oos-button:hover {
    background: var(--sep-field, #F1F4F8);
    color: var(--sep-muted, #6B7280);
    cursor: not-allowed;
}

.sep-product-card__wish-icon {
    fill: #FFFFFF;
    stroke: var(--sep-ink, #22293A);
    pointer-events: none;
    display: block;
}

.sep-product-card__wish.is-active {
    border-color: var(--sep-ink, #22293A);
    color: var(--brand-cta, #C8235A);
}

.sep-product-card__wish.is-active .sep-product-card__wish-icon {
    fill: var(--brand-cta, #C8235A);
    stroke: var(--sep-ink, #22293A);
}

.sep-product-card__wish.is-busy {
    opacity: .55;
    pointer-events: none;
}

@media (max-width: 767px) {
    .item-box .picture,
    .sep-product-card__media {
        height: 160px;
    }

    .sep-product-card__actions,
    .item-box .buttons {
        display: none !important;
    }
}

/* Empty results panel */
.sep-plp-empty {
    background: var(--sep-card, #FFFFFF);
    border: 1px dashed var(--sep-border-strong, #d5dae3);
    border-radius: 12px;
    padding: 48px 24px;
    text-align: center;
    box-sizing: border-box;
}

.sep-plp-empty__title {
    margin: 0 0 8px;
    font: 800 18px/1.3 var(--sep-font);
    color: var(--sep-ink, #22293A);
}

.sep-plp-empty__copy {
    margin: 0 0 18px;
    font: 400 14.5px/1.45 var(--sep-font);
    color: var(--sep-muted, #6B7280);
}

.sep-plp-empty__clear {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 12px 22px;
    border: none;
    border-radius: 9px;
    background: var(--brand-link, #203864);
    color: #fff;
    font: 700 14px var(--sep-font);
    cursor: pointer;
}

.sep-plp-empty__clear:hover {
    filter: brightness(1.05);
}

.sep-plp-empty__clear:focus-visible {
    outline: 2px solid var(--brand-link, #203864);
    outline-offset: 2px;
}

.item-box .add-to-compare-list-button,
.item-box .add-to-wishlist-button {
    display: none;
}

.item-box .product-rating-box {
    margin: 0;
}

/* ---------- Listing / category pages ---------- */
.category-page .page-title,
.search-page .page-title,
.manufacturer-page .page-title {
    text-align: left;
}

.category-description,
.manufacturer-description {
    font-size: 14.5px;
    color: var(--sep-muted);
    max-width: 640px;
    text-align: left;
    margin-bottom: 20px;
}

.product-selectors {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    border: none;
    margin: 0 0 16px;
    padding: 0;
}

.product-selectors .product-viewmode {
    display: none;
}

.product-selectors .product-sorting,
.product-selectors .product-page-size {
    float: none;
    font-size: 13.5px;
    color: var(--sep-muted);
}

.product-selectors .product-sorting {
    margin-left: auto;
}

.product-selectors select {
    background: #fff;
    border: 1px solid var(--sep-border-strong);
    border-radius: 9px;
    padding: 9px 12px;
    font-size: 14px;
    color: var(--sep-body);
}

/* Filters sidebar */
.side-2 .sep-filters-drawer {
    background: var(--sep-card);
    border: 1px solid var(--sep-border);
    border-radius: 12px;
    overflow: hidden;
}

.side-2 .block {
    background: var(--sep-card);
    border: 1px solid var(--sep-border);
    border-radius: var(--sep-r-card);
    padding: 18px 20px;
    margin: 0 0 16px;
    float: none;
    width: auto;
    text-align: left;
}

.side-2 .block.product-filters {
    background: none;
    border: none;
    border-radius: 0;
    padding: 0;
    margin: 0;
}

.side-2 .block .title {
    background: none;
    border-bottom: none;
    padding: 0 0 10px;
    margin: 0;
    font: 800 15px var(--sep-font);
    color: var(--sep-ink);
    text-transform: none;
}

.side-2 .block .listbox {
    border-bottom: none;
    padding: 0;
}

.side-2 .block .list li {
    padding: 4px 0;
}

.side-2 .block .list li a {
    font-size: 14.5px;
    color: var(--sep-body);
    padding: 4px 0;
    display: inline-block;
}

.side-2 .block .list li a:hover,
.side-2 .block .list li a.active {
    color: var(--brand-accent);
    font-weight: 700;
}

/* ---------- Popular tags (sidebar chip cloud) ---------- */
.side-2 .block.sep-popular-tags,
.block.sep-popular-tags {
    padding: 16px 18px;
}

.sep-popular-tags .listbox {
    padding: 0;
}

.sep-popular-tags__list {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 220px;
    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-width: thin;
}

.sep-popular-tags__item {
    display: inline-flex;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    font-size: inherit !important;
    max-width: 100%;
    overflow: visible !important;
}

.sep-popular-tags__chip {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 6px 10px;
    border: 1px solid var(--sep-border);
    border-radius: 999px;
    background: var(--sep-field, #f1f4f8);
    color: var(--sep-ink, #22293a) !important;
    font: 600 12.5px/1.25 var(--sep-font) !important;
    text-decoration: none !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    float: none !important;
}

.sep-popular-tags__chip:hover,
.sep-popular-tags__chip:focus {
    border-color: var(--brand-link, #203864);
    color: var(--brand-link, #203864) !important;
    background: #fff;
}

.sep-popular-tags__view-all {
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid var(--sep-border);
}

.sep-popular-tags__view-all a {
    font: 650 13px/1.3 var(--sep-font);
    color: var(--brand-link, #203864);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* Defeat DefaultClean tag-cloud sizing / float in sidebar */
.side-2 .block-popular-tags .tags ul,
.side-2 .block-popular-tags .tags li,
.side-2 .block-popular-tags .tags li a {
    float: none;
    font-size: inherit !important;
}

/* "Within my balance" placeholder filter — disabled until the funding engine ships */
.sep-filter-within {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--sep-positive-tint);
    border: 1px solid var(--sep-positive-border);
    border-radius: 9px;
    padding: 11px 12px;
    font: 600 14px var(--sep-font);
    color: var(--sep-positive-fg);
    cursor: not-allowed;
    opacity: .7;
}

.sep-filter-within input {
    width: 18px;
    height: 18px;
    accent-color: var(--sep-positive);
}

/* Filter chips (applied specs) */
.filtersPanel .filter-item,
.product-spec-group .item {
    border-radius: var(--sep-r-pill);
}

/* Pager */
.pager li span,
.pager li a {
    border-radius: 9px;
    border: 1px solid var(--sep-border-strong);
    background: #fff;
    color: var(--sep-body);
    font-family: var(--sep-font);
}

.pager li.current-page span {
    background: var(--brand-accent);
    border-color: var(--brand-accent);
    color: #fff;
}

/* ---------- Product detail page ---------- */
.product-details-page {
    background: none;
    text-align: left;
}

.product-essential {
    display: grid;
    grid-template-columns: minmax(0, 480px) minmax(0, 1fr);
    gap: 32px;
    align-items: start;
    border: none;
    padding: 0;
    margin-bottom: 44px;
}

.product-essential::after {
    display: none;
}

.product-essential .gallery {
    float: none;
    width: auto;
    margin: 0;
}

.gallery .picture {
    border: 1px solid var(--sep-border);
    border-radius: var(--sep-r-panel);
    overflow: hidden;
    background: #fff;
    margin: 0 0 12px;
    width: auto;
}

.gallery .picture-thumbs {
    display: flex;
    gap: 10px;
    justify-content: flex-start;
}

.gallery .picture-thumbs .thumb-item,
.gallery .picture-thumbs img {
    border-radius: 9px;
    border: 1px solid var(--sep-border);
}

.product-essential .overview {
    float: none;
    width: auto;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
    text-align: left;
}

/* Brand eyebrow above title */
.overview .sep-pdp-brand,
.overview .manufacturers.sep-pdp-brand {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    margin: 0;
    font: 700 12px/1.2 var(--sep-font);
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--sep-caption);
}

.overview .sep-pdp-brand .label,
.overview .sep-pdp-brand .value {
    display: contents;
}

.overview .sep-pdp-brand a {
    color: inherit;
    text-decoration: none;
}

.overview .sep-pdp-brand a:hover {
    color: var(--brand-accent);
}

.overview .product-name h1 {
    font-size: 26px;
    font-weight: 800;
    line-height: 1.2;
    color: var(--sep-ink);
    text-align: left;
    margin: 0;
}

.overview .prices {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 10px;
}

.overview .prices .product-price,
.overview .prices .actual-price {
    font: 800 26px var(--sep-font);
    color: var(--sep-ink);
}

.overview .prices .old-product-price,
.overview .prices .old-price {
    font: 600 15px var(--sep-font);
    color: var(--sep-caption);
    text-decoration: line-through;
}

.overview .sep-pdp-availability,
.overview .availability.sep-pdp-availability {
    margin: 10px 0 14px;
}

.overview .sep-pdp-availability .label {
    display: none;
}

.overview .sep-pdp-availability__stock {
    font: 700 14px/1.4 var(--sep-font);
    color: var(--sep-ink, #1e2740);
}

.overview .sep-pdp-availability__stock.is-oos {
    color: var(--sep-error-fg);
}

.overview .sep-pdp-availability__despatch {
    font: 400 13.5px/1.4 var(--sep-font);
    color: var(--sep-muted);
}

.overview .short-description {
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--sep-body);
    margin: 0;
    text-align: left;
}

.sep-pdp-divider {
    height: 1px;
    background: var(--sep-border);
    margin: 6px 0 2px;
    border: none;
}

/* Reviews / SKU sit below the buy box and are de-emphasised */
.overview .sep-pdp-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 4px;
}

.overview .sep-pdp-meta .product-reviews-overview,
.overview .sep-pdp-meta .additional-details {
    font-size: 13px;
    color: var(--sep-muted);
}

/* Coverage panel placeholder — TODO(funding-engine): compute state + amounts */
.sep-coverage-panel {
    background: var(--sep-positive-tint);
    border: 1px solid var(--sep-positive-border);
    border-radius: var(--sep-r-control);
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sep-coverage-panel .headline {
    font: 700 15px var(--sep-font);
    color: var(--sep-positive-fg);
}

.sep-coverage-panel .detail {
    font-size: 13.5px;
    color: var(--sep-positive-fg);
}

.sep-delivery-lines {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 14px;
    color: var(--sep-body);
}

/* Quantity stepper + add button */
.overview .add-to-cart-panel {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.overview .qty-label {
    display: none;
}

.sep-qty-stepper {
    display: inline-grid;
    grid-template-columns: 36px 36px 36px;
    align-items: center;
    border: 1.5px solid var(--sep-border-strong);
    border-radius: var(--sep-r-control);
    overflow: hidden;
    background: var(--surface);
    flex: none;
}

.sep-qty-stepper button {
    width: 36px;
    height: 36px;
    background: transparent;
    border: none;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    color: var(--sep-body);
    padding: 0;
    transition: background-color .18s ease, color .18s ease;
}

.sep-qty-stepper button:hover:not(:disabled) {
    background: var(--sep-field);
}

.sep-qty-stepper button:focus-visible {
    position: relative;
    z-index: 1;
    outline: 2px solid var(--brand-link);
    outline-offset: -3px;
}

.sep-qty-stepper button:disabled {
    cursor: not-allowed;
}

.sep-qty-stepper input.qty-input {
    min-width: 0;
    width: 100%;
    height: 36px;
    text-align: center;
    font: 700 14.5px var(--sep-font);
    color: var(--sep-ink);
    border: none;
    border-radius: 0;
    padding: 0;
    background: transparent;
}

.sep-qty-stepper-compact {
    grid-template-columns: 38px 34px 38px;
    height: 38px;
}

.sep-qty-stepper-compact button {
    width: 38px;
    height: 38px;
    font-size: 17px;
}

.sep-qty-stepper-compact input.qty-input {
    height: 38px;
}

.sep-qty-stepper-large {
    grid-template-columns: 44px 36px 44px;
}

.sep-qty-stepper-large button {
    width: 44px;
    height: 48px;
    font-size: 19px;
    font-weight: 400;
}

.sep-qty-stepper-large input.qty-input {
    height: 48px;
    font-size: 16px;
}

.overview .add-to-cart-button {
    flex: 1;
    min-width: 200px;
    max-width: 260px;
    background: var(--brand-cta);
    color: #fff;
    font: 700 15px var(--sep-font);
    padding: 14px 24px;
    border-radius: var(--sep-r-control);
    border: none;
    height: auto;
    cursor: pointer;
    text-transform: none;
}

.overview .add-to-cart-button:hover {
    background: var(--brand-cta-hover);
}

.overview .add-to-wishlist-button,
.overview .add-to-compare-list-wrapper,
.overview .add-to-compare-list-button,
.overview .email-a-friend {
    display: none;
}

/* Key details spec table */
.overview .product-specs-box,
.product-specs-box {
    margin: 0;
}

.product-specs-box .title {
    text-align: left;
    margin: 0 0 8px;
}

.product-specs-box .title strong {
    font: 800 15px var(--sep-font);
    color: var(--sep-ink);
    text-transform: none;
}

.table-wrapper .data-table,
.product-specs-box .data-table {
    border: none;
}

.product-specs-box .data-table td {
    font-size: 14px;
    padding: 7px 8px 7px 0;
    border-bottom: 1px solid #f0f2f7;
    border-top: none;
    background: none;
    text-align: left;
}

.product-specs-box .data-table .spec-name {
    color: var(--sep-muted);
    width: 150px;
    background: none;
}

/* Related products */
.related-products-grid .title,
.also-purchased-products-grid .title {
    text-align: left;
    font: 600 20px/1.3 var(--sep-font);
    color: var(--sep-ink);
    text-transform: none;
    border-bottom: none;
    /* Sit directly above the product cards (stock .product-grid .title adds 30px margin + 15px padding) */
    margin: 24px 0 14px;
    padding: 0;
}

/* Sticky mobile add-to-basket bar */
.sep-sticky-addtocart {
    display: none;
}

@media (max-width: 767px) {
    .sep-sticky-addtocart {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: #fff;
        border-top: 1px solid var(--sep-border);
        padding: 12px 16px;
        display: flex;
        gap: 12px;
        align-items: center;
        z-index: 45;
        box-shadow: 0 -4px 16px rgba(20, 30, 60, .08);
    }

    .sep-sticky-addtocart .price {
        font: 800 17px var(--sep-font);
        color: var(--sep-ink);
    }

    .sep-sticky-addtocart .chip-line {
        font: 600 11.5px var(--sep-font);
        color: var(--sep-positive-fg);
    }

    .sep-sticky-addtocart button {
        flex: 1;
        background: var(--brand-cta);
        color: #fff;
        font: 800 15px var(--sep-font);
        padding: 14px;
        border-radius: var(--sep-r-control);
        border: none;
        cursor: pointer;
    }

    .product-details-page {
        padding-bottom: 76px;
    }
}

/* ---------- SEP PDP (Simple / SimpleBook / SimpleNonBook / Grouped*) ---------- */
.sep-pdp.product-details-page {
    --sep-pdp-card-shadow: 0 2px 14px rgba(20, 30, 60, .07);
    max-width: var(--page-max);
    margin: 0 auto;
    padding: 24px var(--gutter) 48px;
    box-sizing: border-box;
    color: var(--sep-body);
    overflow-x: clip;
    background: transparent;
}

@media (max-width: 767px) {
    .sep-pdp.product-details-page {
        padding-top: 16px;
        padding-bottom: 48px;
    }

    .sep-pdp .sep-sticky-addtocart {
        display: none !important;
    }
}

/* Flatten legacy product-essential float/grid when using SEP PDP.
   Desktop: left = gallery + about; right = sticky buy + Key details. */
.sep-pdp .sep-pdp__grid.product-essential {
    display: grid !important;
    grid-template-columns: 1fr;
    gap: 16px;
    align-items: start;
    margin-bottom: 0;
    float: none;
    width: auto;
}

.sep-pdp .sep-pdp__col {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
}

.sep-pdp .sep-pdp__cell {
    min-width: 0;
}

@media (min-width: 1024px) {
    .sep-pdp .sep-pdp__grid.product-essential {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 20px;
    }

    /* Keep buy + Key details pinned while About scrolls on the left */
    .sep-pdp .sep-pdp__col--aside {
        position: sticky;
        top: calc(var(--sep-header-h, 120px) + 16px);
        align-self: start;
        z-index: 2;
        gap: 20px;
    }

    .sep-pdp .sep-pdp-buy,
    .sep-pdp--book .sep-pdp-buy {
        position: static;
        height: auto;
        z-index: auto;
    }
}

@media (min-width: 1280px) {
    .sep-pdp .sep-pdp__grid.product-essential {
        gap: 24px;
    }

    .sep-pdp .sep-pdp__col {
        gap: 20px;
    }

    .sep-pdp .sep-pdp__col--aside {
        gap: 24px;
    }
}

/* Mobile/tablet: gallery → buy → about → Key details */
@media (max-width: 1023px) {
    .sep-pdp .sep-pdp__grid.product-essential {
        display: flex !important;
        flex-direction: column;
        gap: 16px;
    }

    .sep-pdp .sep-pdp__col--main,
    .sep-pdp .sep-pdp__col--aside {
        display: contents;
    }

    .sep-pdp .sep-pdp__cell--gallery { order: 1; }
    .sep-pdp .sep-pdp__cell--buy { order: 2; }
    .sep-pdp .sep-pdp__cell--about { order: 3; }
    .sep-pdp .sep-pdp__cell--specs { order: 4; }
}

.sep-pdp .sep-pdp-buy.overview {
    background: #fff;
    border: 1px solid var(--sep-border);
    border-radius: 14px;
    padding: 22px 24px;
    gap: 16px;
    box-shadow: var(--sep-pdp-card-shadow);
    float: none !important;
    width: auto !important;
    margin: 0 !important;
}

html[data-theme="dark"] .sep-pdp .sep-pdp-buy.overview,
html[data-theme="dark"] .sep-pdp-gallery,
html[data-theme="dark"] .sep-pdp-about,
html[data-theme="dark"] .sep-pdp .product-specs-box {
    background: var(--surface);
}

.sep-pdp .gallery {
    float: none !important;
    width: auto !important;
    margin: 0 !important;
}

.sep-pdp .gallery .picture {
    border: none;
    background: transparent;
    margin: 0;
    border-radius: 0;
}

.sep-pdp-id-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px 16px;
    margin: 0;
}

.sep-pdp-id-row--id-only {
    justify-content: flex-end;
}

.sep-pdp-id-row__brand {
    font: 700 13px/1.35 var(--sep-font);
    min-width: 0;
    overflow-wrap: anywhere;
}

.sep-pdp-id-row__brand a {
    color: var(--brand-link);
    text-decoration: underline;
    text-underline-offset: 2px;
}

html:not([data-theme="dark"]) .sep-pdp-id-row__brand a {
    color: #203864;
}

.sep-pdp-id-row__brand a:hover {
    color: var(--brand-cta);
}

.sep-pdp-id-row__brand-mark {
    color: inherit;
    font-weight: 700;
    text-decoration: none;
}

html:not([data-theme="dark"]) .sep-pdp-id-row__brand-mark {
    color: #203864;
}

.sep-pdp-id-row__id {
    font: 600 13px/1.35 var(--sep-font);
    color: var(--sep-muted);
    text-align: right;
    overflow-wrap: anywhere;
}

.sep-pdp-id-row__label {
    margin-right: 0.35em;
}

.sep-pdp .overview .product-name h1 {
    font-size: 30px;
    font-weight: 800;
    line-height: 1.18;
    color: var(--sep-ink);
    margin: 0;
    overflow-wrap: anywhere;
}

@media (max-width: 767px) {
    .sep-pdp .overview .product-name h1 {
        font-size: 24px;
    }
}

.sep-pdp-price__row {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 10px;
}

.sep-pdp-price__current {
    font: 800 28px/1.2 var(--sep-font);
    color: var(--sep-ink);
}

.sep-pdp-price__current.is-sale {
    color: var(--magenta);
}

.sep-pdp-price__was {
    font: 600 15px var(--sep-font);
    color: var(--sep-muted);
    text-decoration: line-through;
}

.sep-pdp-availability {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.sep-pdp-availability__stock {
    font: 700 14px/1.4 var(--sep-font);
    color: var(--sep-ink, #1e2740);
}

.sep-pdp-availability__stock.is-oos {
    color: var(--sep-error-fg);
}

.sep-pdp-availability__despatch {
    font: 400 13.5px/1.4 var(--sep-font);
    color: var(--sep-muted);
}

.sep-pdp .overview .add-to-cart-panel.is-unavailable .sep-qty-stepper,
.sep-pdp .overview .add-to-cart-panel.is-unavailable .qty-dropdown,
.sep-pdp .overview .add-to-cart-panel.is-unavailable .qty-input {
    opacity: 0.55;
    pointer-events: none;
}

.sep-pdp .overview .add-to-cart-panel {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
    align-items: center;
}

.sep-pdp .overview .add-to-cart-button {
    flex: 1 1 auto;
    min-width: 0;
    max-width: 260px;
    font-weight: 700;
    font-size: 15px;
    border-radius: 10px;
    background: #c8235a;
    color: #fff;
}

.sep-pdp .overview .add-to-cart-button:disabled,
.sep-pdp .overview .add-to-cart-button.is-disabled,
.sep-pdp .overview .add-to-cart-button[aria-disabled="true"] {
    opacity: 0.55;
    cursor: not-allowed;
    pointer-events: none;
}

.sep-pdp .overview .add-to-cart-button:focus-visible {
    outline: 2px solid var(--brand-link);
    outline-offset: 2px;
}

.sep-pdp .overview .sep-qty-stepper-large {
    flex: 0 0 auto;
}

@media (max-width: 379px) {
    .sep-pdp .overview .add-to-cart-panel {
        flex-wrap: wrap;
    }

    .sep-pdp .overview .add-to-cart-button {
        max-width: none;
    }
}

.sep-pdp-gallery {
    background: #fff;
    border: 1px solid var(--sep-border);
    border-radius: 14px;
    padding: 16px;
    box-sizing: border-box;
    box-shadow: var(--sep-pdp-card-shadow, 0 2px 14px rgba(20, 30, 60, .07));
}

.sep-pdp-gallery__stage {
    position: relative;
}

.sep-pdp-gallery__save {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 6px;
    background: var(--brand-cta, #C8235A);
    color: #fff;
    font: 700 12px/1.2 var(--sep-font);
    white-space: nowrap;
    pointer-events: none;
}

.sep-pdp .gallery .picture.sep-pdp-gallery__picture,
.sep-pdp-gallery__picture {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 0;
    margin: 0;
    overflow: hidden;
    background: #fff;
    width: 100%;
    height: 300px;
}

.sep-pdp-gallery__picture:before {
    display: none !important;
    content: none !important;
}

@media (min-width: 768px) {
    .sep-pdp .gallery .picture.sep-pdp-gallery__picture,
    .sep-pdp-gallery__picture {
        height: clamp(330px, 29vw, 430px);
    }
}

.sep-pdp-gallery__picture img,
.sep-pdp-gallery__zoom {
    display: block;
    width: 100%;
    height: 100%;
}

.sep-pdp-gallery__picture img {
    position: static !important;
    max-width: 100%;
    max-height: 100%;
    width: 100% !important;
    height: 100% !important;
    margin: 0 auto;
    object-fit: contain;
    object-position: center;
}

.sep-pdp-gallery__zoom {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: zoom-in;
}

.sep-pdp-fav {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 3;
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: none;
    background: transparent;
    color: #22293a;
    cursor: pointer;
    padding: 0;
}

.sep-pdp-fav svg {
    width: 22px;
    height: 22px;
    fill: #fff;
    stroke: #22293a;
}

.sep-pdp-fav.is-active {
    background: transparent;
    color: #c8235a;
}

.sep-pdp-fav.is-active svg {
    fill: #c8235a;
    stroke: #22293a;
}

.sep-pdp-fav:focus-visible {
    outline: 2px solid var(--brand-link);
    outline-offset: 2px;
}

.sep-pdp-gallery__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    border: 1px solid var(--sep-border);
    background: rgba(255, 255, 255, .92);
    color: var(--sep-ink);
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
}

.sep-pdp-gallery__nav--prev { left: 8px; }
.sep-pdp-gallery__nav--next { right: 8px; }

@media (min-width: 1024px) {
    .sep-pdp-gallery__nav:not([hidden]) {
        display: inline-flex;
    }
}

/* Scoped under .sep-pdp-gallery to beat stock .picture-gallery .picture-thumbs .thumb-item (100px box + 10px bottom margin) */
.sep-pdp-gallery .sep-pdp-gallery__thumbs {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    margin: 12px 0 0;
    padding-bottom: 2px;
    scrollbar-width: thin;
}

.sep-pdp-gallery .sep-pdp-gallery__thumbs .sep-pdp-gallery__thumb {
    position: relative;
    flex: 0 0 64px;
    width: 64px;
    height: 64px;
    margin: 0;
    padding: 0;
    border: 1.5px solid var(--sep-border);
    border-radius: 9px;
    background: #fff;
    overflow: hidden;
    cursor: pointer;
}

@media (min-width: 768px) {
    .sep-pdp-gallery .sep-pdp-gallery__thumbs .sep-pdp-gallery__thumb {
        flex-basis: 72px;
        width: 72px;
        height: 72px;
    }
}

.sep-pdp-gallery .sep-pdp-gallery__thumbs .sep-pdp-gallery__thumb.is-active {
    border-color: #c8235a;
    border-width: 2px;
}

.sep-pdp-gallery .sep-pdp-gallery__thumbs .sep-pdp-gallery__thumb img {
    position: static;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    margin: 0;
    border: 0;
    border-radius: 0;
    object-fit: contain;
    display: block;
}

/* PDP image lightbox (Lovable design) */
html.sep-lightbox-open,
html.sep-lightbox-open body {
    overflow: hidden;
}

.sep-pdp-lightbox {
    position: fixed;
    inset: 0;
    z-index: 10050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(22, 30, 52, .82);
}

.sep-pdp-lightbox[hidden] {
    display: none;
}

.sep-pdp-lightbox__panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100%;
    max-width: 920px;
}

.sep-pdp-lightbox__card {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: min(72vh, 560px);
    padding: 32px;
    box-sizing: border-box;
    background: rgb(255, 255, 255);
    border-radius: 14px;
    overflow: hidden;
    touch-action: pan-y;
}

.sep-pdp-lightbox__img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
    user-select: none;
}

.sep-pdp-lightbox__nav,
.sep-pdp-lightbox__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: 999px;
    background: #1e2a4f;
    color: #fff;
    cursor: pointer;
}

.sep-pdp-lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border: none;
    box-shadow: 0 2px 8px rgba(20, 30, 60, .25);
}

.sep-pdp-lightbox__nav[hidden] {
    display: none;
}

.sep-pdp-lightbox__nav--prev { left: 14px; }
.sep-pdp-lightbox__nav--next { right: 14px; }

.sep-pdp-lightbox__close {
    position: fixed;
    top: 12px;
    right: 12px;
    z-index: 1;
    width: 40px;
    height: 40px;
    border: 2px solid #fff;
}

.sep-pdp-lightbox__nav:hover,
.sep-pdp-lightbox__close:hover {
    background: #2b3a6b;
}

.sep-pdp-lightbox__nav:focus-visible,
.sep-pdp-lightbox__close:focus-visible,
.sep-pdp-lightbox__thumb:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.sep-pdp-lightbox__thumbs {
    display: flex;
    flex-wrap: nowrap;
    justify-content: safe center;
    gap: 8px;
    max-width: 100%;
    overflow-x: auto;
    padding: 2px;
    scrollbar-width: thin;
}

.sep-pdp-lightbox__thumb {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    padding: 3px;
    box-sizing: border-box;
    background: #fff;
    border: 2px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    opacity: .85;
}

.sep-pdp-lightbox__thumb.is-active {
    border-color: #c8235a;
    opacity: 1;
}

.sep-pdp-lightbox__thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

@media (max-width: 600px) {
    .sep-pdp-lightbox__card {
        height: 60vh;
        padding: 24px;
    }

    .sep-pdp-lightbox__nav--prev { left: 8px; }
    .sep-pdp-lightbox__nav--next { right: 8px; }
}

.sep-pdp-about {
    background: #fff;
    border: 1px solid var(--sep-border);
    border-radius: 14px;
    padding: 22px 24px;
    margin: 0;
    box-shadow: var(--sep-pdp-card-shadow, 0 2px 14px rgba(20, 30, 60, .07));
    filter: none;
    text-shadow: none;
    -webkit-font-smoothing: antialiased;
}

.sep-pdp-about h2 {
    font: 800 18px/1.3 var(--sep-font);
    color: var(--sep-ink);
    margin: 0 0 14px;
}

/* FoxNetSoft Speed Tabs — hide legacy Description/Specifications chrome on SEP PDP
   until sep-theme.js unwraps content back into the card layout. */
.sep-pdp #speedtabs > .ui-tabs-nav,
.sep-pdp #speedtabs > ul[role="tablist"] {
    display: none !important;
}
.sep-pdp #speedtabs.ui-tabs,
.sep-pdp #speedtabs.ui-widget,
.sep-pdp #speedtabs.ui-widget-content {
    border: 0 !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 24px 0 0;
    border-radius: 0 !important;
}
.sep-pdp #speedtabs .ui-tabs-panel {
    display: block !important;
    border: 0 !important;
    background: transparent !important;
    padding: 0 !important;
}
.sep-pdp #speedtab_description:empty {
    display: none !important;
}
.sep-pdp.sep-pdp--speedtabs-neutralized #speedtabs {
    display: none !important;
}

/* Key details as matching white card */
.sep-pdp .sep-pdp__cell--specs .product-specs-box,
.sep-pdp .product-specs-box {
    background: #fff;
    border: 1px solid var(--sep-border);
    border-radius: 14px;
    padding: 22px 24px;
    margin: 0;
    box-shadow: var(--sep-pdp-card-shadow, 0 2px 14px rgba(20, 30, 60, .07));
    box-sizing: border-box;
}

.sep-pdp .product-specs-box .title {
    margin: 0 0 14px;
    background: none;
    border: none;
    padding: 0;
}

.sep-pdp .product-specs-box .title strong {
    font: 800 18px/1.3 var(--sep-font);
    color: var(--sep-ink);
}

.sep-pdp .product-specs-box .data-table .spec-name {
    color: var(--sep-muted);
    font-weight: 600;
    width: 42%;
    vertical-align: top;
}

.sep-pdp .product-specs-box .data-table .spec-value {
    color: var(--sep-body);
    vertical-align: top;
}

.sep-pdp .product-specs-box .data-table td {
    padding: 10px 0;
    border-bottom: 1px solid var(--sep-border);
    background: transparent !important;
}

.sep-pdp .product-specs-box .data-table tr:last-child td {
    border-bottom: none;
}

.sep-pdp-about__body {
    font: 400 14.5px/1.65 var(--sep-font);
    color: var(--sep-body);
    text-shadow: none;
    filter: none;
}

.sep-pdp-about__body p { margin: 0 0 0.85em; }
.sep-pdp-about__body p:last-child { margin-bottom: 0; }
.sep-pdp-about__body a { color: var(--brand-link); }
.sep-pdp-about__body ul,
.sep-pdp-about__body ol { margin: 0 0 0.85em; padding-left: 1.2em; }
.sep-pdp-about__body li::marker { color: var(--brand-link); }

.sep-pdp-variant {
    padding-top: 14px;
    border-top: 1px solid var(--sep-border);
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.sep-pdp-variant:first-child {
    border-top: none;
    padding-top: 0;
}

.sep-pdp-variant .variant-name {
    font: 700 16px/1.3 var(--sep-font);
    color: var(--sep-ink);
    margin: 0;
}

@media (prefers-reduced-motion: reduce) {
    .sep-pdp-gallery__thumb,
    .sep-pdp-fav {
        transition: none;
    }
}

/* ---------- Basket (sep-frontend-redesign) ---------- */
.html-sep-basket-page .master-wrapper-content {
    padding-top: 8px;
}

.html-sep-basket-page .order-progress {
    display: none !important;
}

.sep-basket-page,
.shopping-cart-page.sep-basket-page {
    --sep-basket-ink: #22293a;
    --sep-basket-body: #2f3747;
    --sep-basket-muted: #6b7280;
    --sep-basket-cta: #c8235a;
    --sep-basket-ok: #155e3c;
    --sep-basket-navy: #203864;
    --sep-basket-border: #e3e7ee;
    --sep-basket-border-strong: #d5dae3;
    --sep-basket-surface-2: #f1f4f8;
    max-width: var(--page-max);
    margin: 0 auto;
    padding: 8px 0 48px;
    box-sizing: border-box;
    background: transparent;
    font-family: var(--sep-font);
    color: var(--sep-basket-body);
}

@media (min-width: 768px) {
    .sep-basket-page,
    .shopping-cart-page.sep-basket-page {
        padding: 8px 0 48px;
    }
}

@media (min-width: 1024px) {
    .sep-basket-page,
    .shopping-cart-page.sep-basket-page {
        padding: 8px 0 48px;
    }
}

html[data-theme="dark"] .sep-basket-page,
html[data-theme="dark"] .shopping-cart-page.sep-basket-page {
    --sep-basket-ink: #eef2f8;
    --sep-basket-body: #d5dbe6;
    --sep-basket-muted: #98a2b2;
    --sep-basket-cta: #c8235a;
    --sep-basket-ok: #84dcac;
    --sep-basket-navy: #8fb0ec;
    --sep-basket-border: #3a4352;
    --sep-basket-border-strong: #4a5568;
    --sep-basket-surface-2: #1d2634;
}

.sep-basket-title,
.shopping-cart-page.sep-basket-page .page-title.sep-basket-title {
    text-align: left;
    margin: 0 0 16px;
    border: none;
    padding: 0;
    min-height: 0;
}

.sep-basket-title h1,
.shopping-cart-page.sep-basket-page .sep-basket-title h1 {
    font: 800 26px/1.25 var(--sep-font);
    color: var(--sep-basket-ink);
    margin: 0;
    text-transform: none;
    text-align: left;
}

.sep-basket-count {
    font: 600 16px var(--sep-font);
    color: var(--sep-basket-muted);
    margin-left: 8px;
}

.sep-basket-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}

@media (min-width: 768px) {
    .sep-basket-layout {
        grid-template-columns: minmax(0, 1fr) minmax(240px, 32%);
        gap: 28px;
    }
}

@media (min-width: 1024px) {
    .sep-basket-layout {
        grid-template-columns: minmax(0, 1fr) 380px;
        gap: 28px;
    }
}

.sep-basket-lines {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 0;
}

.sep-basket-card {
    background: #fff;
    border: 1px solid var(--sep-basket-border, var(--sep-border));
    border-radius: 12px;
    overflow: hidden;
    box-shadow: none;
}

html[data-theme="dark"] .sep-basket-card {
    background: var(--surface);
}

.sep-basket-card-main {
    padding: 18px;
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.sep-basket-card-image {
    width: 104px;
    height: 104px;
    flex: none;
    border-radius: 8px;
    border: 1px solid var(--sep-border);
    overflow: hidden;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

html[data-theme="dark"] .sep-basket-card-image {
    background: var(--sep-surface-2);
}

.sep-basket-card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    padding: 6px;
    box-sizing: border-box;
}

.sep-basket-card-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sep-basket-card-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px;
    align-items: start;
}

.sep-basket-card-name {
    font: 700 15.5px/1.35 var(--sep-font);
    color: var(--sep-basket-ink);
    text-decoration: none;
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.sep-basket-card-name:hover {
    color: var(--brand-link);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.sep-basket-card-price {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    white-space: nowrap;
}

.sep-basket-card-price__now {
    font: 800 16px var(--sep-font);
    color: var(--sep-basket-ink);
}

.sep-basket-card-price__now.is-reduced {
    color: var(--sep-basket-cta);
}

.sep-basket-card-price__was {
    font-size: 13px;
    font-weight: 500;
    color: var(--sep-basket-muted);
    text-decoration: line-through;
}

.sep-basket-card-price__save {
    font-size: 12.5px;
    color: var(--sep-basket-muted);
}

.sep-basket-card-meta,
.sep-basket-card-sku,
.sep-basket-card-attrs {
    font-size: 13px;
    color: var(--sep-basket-muted);
    overflow-wrap: anywhere;
}

.sep-basket-card-sku {
    font-size: 12.5px;
}

.sep-basket-card-actions {
    display: flex;
    align-items: center;
    gap: 8px 16px;
    margin-top: 8px;
    flex-wrap: wrap;
}

.sep-basket-card .sep-qty-stepper .qty-input {
    border: none;
    border-radius: 0;
    width: 100%;
    background: transparent;
    color: var(--sep-basket-ink);
}

.sep-basket-card .product-quantity.sep-qty-stepper .quantity {
    display: none;
}

.sep-basket-remove-check {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.sep-basket-text-action {
    background: none;
    border: none;
    font: 600 13.5px var(--sep-font);
    color: var(--sep-basket-muted);
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 3px;
    padding: 8px 2px;
    white-space: nowrap;
    flex: none;
}

.sep-basket-text-action:hover {
    color: var(--sep-basket-ink);
}

.sep-basket-fulfilment {
    min-height: 66px;
    padding: 12px 18px;
    box-sizing: border-box;
    border-top: 1px solid var(--sep-basket-border, var(--sep-border));
    background: var(--sep-basket-surface-2, #f1f4f8);
    display: flex;
    align-items: center;
    gap: 12px;
}

.sep-basket-delivery-icon {
    width: 34px;
    height: 34px;
    flex: none;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--surface);
    border: 1px solid var(--sep-border);
}

.sep-basket-fulfilment-ok .sep-basket-delivery-icon {
    color: var(--sep-basket-ok);
}

.sep-basket-fulfilment-danger .sep-basket-delivery-icon {
    color: var(--sep-error-fg);
}

.sep-basket-fulfilment__copy {
    display: flex;
    flex-direction: column;
    gap: 3px;
    font-size: 12.5px;
    min-width: 0;
}

.sep-basket-fulfilment__stock {
    font-weight: 750;
    color: var(--sep-basket-ok);
}

.sep-basket-fulfilment__despatch {
    color: var(--sep-basket-muted);
}

.sep-basket-fulfilment__copy--danger {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--sep-error-fg);
    line-height: 1.45;
}

.sep-basket-summary.totals,
.shopping-cart-page .sep-basket-summary.totals {
    background: #fff;
    border: 1px solid var(--sep-basket-border, var(--sep-border));
    border-radius: 14px;
    padding: 22px;
    float: none;
    width: auto;
    max-width: none;
    position: static;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-sizing: border-box;
    align-self: start;
}

html[data-theme="dark"] .sep-basket-summary.totals,
html[data-theme="dark"] .shopping-cart-page .sep-basket-summary.totals {
    background: var(--surface);
}

@media (min-width: 1024px) {
    .sep-basket-summary.totals,
    .shopping-cart-page .sep-basket-summary.totals {
        position: sticky;
        top: 120px;
    }
}

.sep-basket-summary-divider {
    height: 1px;
    background: var(--sep-basket-border, var(--sep-border));
    margin: 2px 0;
}

.sep-basket-delivery-method {
    display: block;
    font-weight: 500;
    color: var(--sep-basket-muted);
    margin-top: 2px;
}

.sep-basket-discount-row .cart-total-left label,
.sep-basket-discount-row .value-summary {
    color: var(--sep-basket-ok) !important;
    font-weight: 700;
}

.sep-basket-live {
    margin-top: 16px;
    font-size: 14px;
    color: var(--sep-basket-body);
}

.sep-basket-live:empty {
    display: none;
}

.sep-basket-live a {
    color: var(--sep-basket-navy);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.sep-basket-summary__title {
    font: 800 17px var(--sep-font);
    color: var(--sep-basket-ink);
    margin: 0;
}

.sep-basket-delivering {
    display: flex;
    flex-direction: column;
    gap: 6px;
    position: relative;
}

.sep-basket-delivering__label {
    font-size: 13px;
    color: var(--sep-basket-muted);
}

.sep-basket-delivering__select {
    font: inherit;
    font-size: 14px;
    padding: 9px 10px;
    border: 1px solid var(--sep-border);
    border-radius: 8px;
    background: var(--surface);
    color: var(--sep-basket-ink);
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
}

.sep-basket-delivering__trigger {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    border: 0 !important;
    white-space: nowrap !important;
}

.sep-basket-summary .checkout-buttons {
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 1;
}

/* Stock theme pins .shopping-cart-page .checkout-attributes to float+565px for the old
   cart-footer layout — that overflows the SEP summary sidebar. Contain it here. */
.shopping-cart-page .sep-basket-summary .checkout-attributes,
.sep-basket-summary .checkout-attributes {
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 4px 0 0 !important;
    padding: 0 !important;
    position: relative;
    z-index: 0;
    box-sizing: border-box;
    overflow: hidden;
}

.sep-basket-summary .checkout-attributes dl,
.sep-basket-summary .checkout-attributes dt,
.sep-basket-summary .checkout-attributes dd {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.sep-basket-summary .checkout-attributes dt {
    margin: 0 0 6px;
}

.sep-basket-summary .checkout-attributes dd {
    margin: 0 0 8px;
}

.shopping-cart-page .sep-basket-summary .checkout-attributes select,
.sep-basket-summary .checkout-attributes select,
.shopping-cart-page .sep-basket-summary .checkout-attributes input[type="text"],
.sep-basket-summary .checkout-attributes input[type="text"] {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box;
}

.sep-basket-summary .selected-checkout-attributes {
    margin: 0 !important;
}

.sep-basket-summary .selected-checkout-attributes:empty,
.sep-basket-summary .checkout-attributes:empty,
.sep-basket-summary .addon-buttons:empty,
.sep-basket-summary .checkout-buttons:empty {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.sep-basket-checkout.checkout-button,
.sep-basket-summary .checkout-buttons .checkout-button {
    background: var(--sep-basket-cta) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 10px;
    padding: 15px;
    font: 800 15.5px var(--sep-font) !important;
    width: 100%;
    cursor: pointer;
    text-transform: none !important;
    margin-top: 0;
}

.sep-basket-checkout.checkout-button:hover,
.sep-basket-summary .checkout-buttons .checkout-button:hover {
    filter: brightness(1.06);
    background: var(--sep-basket-cta) !important;
}

.sep-basket-continue {
    background: none;
    border: none;
    font: 600 13.5px var(--sep-font);
    color: var(--sep-basket-navy, #203864);
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 2px;
    padding: 4px;
    align-self: center;
}

.sep-basket-continue:focus-visible,
.sep-basket-text-action:focus-visible,
.sep-discount-toggle:focus-visible,
.sep-discount-fields .discount-coupon-code:focus-visible,
.sep-discount-fields .apply-discount-coupon-code-button:focus-visible,
.sep-discount-remove:focus-visible,
.sep-basket-checkout:focus-visible {
    outline: 2px solid var(--sep-basket-navy, #203864);
    outline-offset: 2px;
}

html[data-theme="dark"] .sep-basket-continue {
    color: #8fb0ec;
}

.sep-basket-empty {
    background: #fff;
    border: 1px dashed var(--sep-basket-border-strong, var(--sep-border-strong));
    border-radius: 14px;
    padding: 56px 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    max-width: 640px;
    margin: 0 auto;
}

html[data-theme="dark"] .sep-basket-empty {
    background: var(--surface);
}

.sep-basket-empty__title {
    font: 800 19px var(--sep-font);
    color: var(--sep-basket-ink);
    margin: 0;
}

.sep-basket-empty__copy {
    font-size: 14.5px;
    color: var(--sep-basket-muted);
    max-width: 400px;
}

.sep-basket-empty__cta {
    background: var(--sep-basket-cta);
    color: #fff !important;
    border: none;
    border-radius: 10px;
    padding: 14px 26px;
    font: 700 15px var(--sep-font);
    text-decoration: none;
    margin-top: 6px;
}

.sep-basket-empty__cta:hover {
    filter: brightness(1.06);
    color: #fff !important;
}

@media (max-width: 767px) {
    .sep-basket-card-main {
        padding: 14px;
        gap: 12px;
    }

    .sep-basket-card-image {
        width: 78px;
        height: 78px;
    }

    .sep-basket-card-heading {
        gap: 8px;
    }

    .sep-basket-card-actions {
        margin-left: 0;
        padding-top: 8px;
        gap: 6px 12px;
    }

    .sep-basket-fulfilment {
        padding: 12px 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sep-discount-chevron,
    .sep-basket-policy,
    .sep-basket-recs__track {
        transition: none !important;
        scroll-behavior: auto !important;
    }
}

.cart-total td {
    border: none;
    padding: 6px 0;
    font-size: 14.5px;
}

.cart-total .cart-total-left {
    color: var(--sep-muted);
    font-weight: 600;
    text-align: left;
}

.cart-total .cart-total-right {
    font-weight: 700;
    color: var(--sep-ink);
}

.cart-total .order-total,
.cart-total .order-total-value {
    font: 800 19px var(--sep-font);
    color: var(--sep-ink);
}

/* Placeholder credit rows — TODO(funding-engine): real balance maths */
.sep-credit-row {
    display: flex;
    justify-content: space-between;
    font-size: 14.5px;
    color: var(--sep-positive-fg);
    padding: 6px 0;
    border-top: 1px solid var(--sep-border);
    margin-top: 6px;
}

.sep-credit-row .label {
    font-weight: 600;
}

.sep-credit-row .value {
    font-weight: 800;
}

.sep-youll-pay-row {
    display: flex;
    justify-content: space-between;
    font-size: 16px;
    color: var(--sep-ink);
    padding: 6px 0;
}

.sep-youll-pay-row .label {
    font-weight: 700;
}

.sep-youll-pay-row .value {
    font-weight: 800;
    font-size: 19px;
}

/* Free delivery progress bar (static placeholder) */
.sep-free-delivery {
    margin: 8px 0 2px;
}

.sep-free-delivery .track {
    height: 6px;
    background: #e9edf5;
    border-radius: var(--sep-r-pill);
    overflow: hidden;
}

.sep-free-delivery .fill {
    height: 100%;
    background: var(--sep-positive);
}

.sep-free-delivery .note {
    font-size: 12.5px;
    color: var(--sep-muted);
    margin-top: 5px;
}

.checkout-buttons .checkout-button {
    background: var(--brand-cta);
    color: #fff;
    border: none;
    border-radius: var(--sep-r-control);
    padding: 15px 24px;
    font: 800 15.5px var(--sep-font);
    width: 100%;
    cursor: pointer;
}

.checkout-buttons .checkout-button:hover {
    background: var(--brand-cta-hover);
}

/* Discount code accordion (basket summary) — single divider comes from .sep-basket-summary-divider / upper totals */
.cart-footer .totals .sep-discount-accordion,
.sep-basket-summary .sep-discount-accordion {
    border-top: none;
    margin-top: 4px;
    padding-top: 0;
}

.sep-discount-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    background: none;
    border: none;
    padding: 6px 0;
    font: 600 14.5px var(--sep-font);
    color: var(--sep-ink);
    cursor: pointer;
    text-align: left;
}

.sep-discount-chevron {
    flex-shrink: 0;
    color: var(--sep-muted);
    transition: transform .18s ease;
}

.sep-discount-accordion[data-open="true"] .sep-discount-chevron {
    transform: rotate(180deg);
}

.sep-discount-panel {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 4px 0 8px;
}

.sep-discount-panel[hidden] {
    display: none;
}

.sep-discount-label {
    font-size: 13px;
    color: var(--sep-muted);
}

.sep-discount-fields {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sep-discount-fields .discount-coupon-code {
    font: inherit;
    font-size: 14px;
    padding: 10px 12px;
    border: 1px solid var(--sep-basket-border, var(--sep-border));
    border-radius: 8px;
    background: var(--surface);
    color: var(--sep-ink);
    width: 100%;
    max-width: 100%;
    margin: 0;
    float: none;
    box-sizing: border-box;
}

.sep-discount-fields .discount-coupon-code.sep-discount-input--error {
    border-color: var(--sep-error-fg);
}

.sep-discount-error {
    margin-top: 2px;
}

.sep-discount-fields .apply-discount-coupon-code-button {
    background: var(--sep-basket-cta, var(--magenta));
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 11px 12px;
    font: 700 14px var(--sep-font);
    cursor: pointer;
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 0;
    float: none;
    box-sizing: border-box;
    text-transform: none;
}

.sep-discount-fields .apply-discount-coupon-code-button:hover:not(:disabled) {
    filter: brightness(1.06);
}

.sep-discount-fields .apply-discount-coupon-code-button:disabled,
.sep-discount-fields .apply-discount-coupon-code-button[aria-disabled="true"] {
    opacity: 0.45;
    cursor: not-allowed;
}

.sep-discount-applied {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    background: var(--sep-positive-tint);
    border: 1px solid var(--sep-positive-border);
    border-radius: 8px;
    padding: 9px 12px;
    font-size: 13.5px;
    color: var(--sep-positive-fg);
}

.sep-discount-applied .applied-discount-code {
    font-weight: 700;
}

.sep-discount-remove.remove-discount-button {
    background: none;
    border: none;
    font: 600 13px var(--sep-font);
    color: var(--sep-positive-fg);
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 2px;
    padding: 2px;
    width: auto;
    height: auto;
    min-width: 0;
}

.cart-footer .totals .coupon-box .title,
.cart-footer .totals .coupon-box .hint,
.sep-basket-summary .coupon-box .title,
.sep-basket-summary .coupon-box .hint {
    display: none;
}

.cart-footer .totals .message-failure,
.sep-basket-summary .message-failure {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--sep-error-fg);
    line-height: 1.45;
}

.cart-footer .totals .message-success,
.sep-basket-summary .message-success {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--sep-positive-fg);
}

/* We accept + policy links */
.sep-we-accept {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--sep-border);
}

.sep-we-accept-label {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--sep-muted);
    margin-bottom: 8px;
    text-align: center;
}

.sep-we-accept-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    align-items: center;
}

.sep-pay-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 36px;
    box-sizing: border-box;
    padding: 3px 5px;
    border: 1px solid var(--sep-border);
    border-radius: 7px;
    background: #fff;
    overflow: hidden;
}

.sep-pay-badge img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

.sep-basket-policies {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 12px;
}

.sep-basket-policy {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 9px 12px;
    border: 1px solid var(--sep-border);
    border-radius: 8px;
    background: var(--surface);
    font-size: 13px;
    font-weight: 600;
    color: var(--sep-ink);
    text-decoration: none;
    transition: background .15s ease;
}

.sep-basket-policy:hover {
    background: var(--sep-field);
    color: var(--sep-ink);
}

.sep-basket-policy svg {
    flex-shrink: 0;
    color: var(--sep-muted);
}

/* Items You May Like — horizontal rail beneath basket */
.sep-basket-recs {
    margin-top: 40px;
    margin-bottom: 8px;
    min-width: 0;
    clear: both;
    width: 100%;
}

.order-summary-content.sep-basket > .sep-basket-recs {
    max-width: var(--page-max);
}

.sep-basket-recs__title {
    font: 800 20px/1.3 var(--sep-font);
    color: var(--sep-basket-ink, var(--sep-ink));
    margin: 0 0 16px;
    text-transform: none;
}

.sep-basket-recs__track {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 8px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
}

.sep-basket-recs__card {
    flex: 0 0 250px;
    width: 250px;
    max-width: 250px;
    scroll-snap-align: start;
}

.sep-basket-recs__card .sep-product-card,
.sep-basket-recs__card .product-item {
    background: #fff;
    border: 1px solid var(--sep-basket-border, var(--sep-border));
    border-radius: 12px;
    height: 100%;
    box-shadow: none;
}

html[data-theme="dark"] .sep-basket-recs__card .sep-product-card,
html[data-theme="dark"] .sep-basket-recs__card .product-item {
    background: var(--surface);
}

.sep-basket-recs__card .product-title,
.sep-basket-recs__card .product-title a {
    overflow-wrap: anywhere;
    word-break: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.shopping-cart-page .product-grid.cross-sells {
    display: none;
}

.common-buttons .button-2 {
    border-radius: 9px;
}

.shopping-cart-page .no-data,
.wishlist-page .no-data {
    background: var(--sep-card);
    border: 1px solid var(--sep-border);
    border-radius: var(--sep-r-panel);
    padding: 36px 28px;
    text-align: left;
    font: 600 15px var(--sep-font);
    color: var(--sep-muted);
}

.shopping-cart-page .cart-footer {
    display: contents;
}

.shopping-cart-page .cart-collaterals {
    float: none;
    width: auto;
}

.shopping-cart-page .cart-collaterals[hidden] {
    display: none !important;
}

.sep-basket-summary .cart-total {
    width: 100%;
}

.sep-basket-summary .cart-total td {
    border: none;
    padding: 6px 0;
    font-size: 14.5px;
}

.sep-basket-summary .cart-total .cart-total-left {
    color: var(--sep-basket-muted);
    font-weight: 600;
    text-align: left;
}

.sep-basket-summary .cart-total .cart-total-right {
    font-weight: 700;
    color: var(--sep-basket-ink);
    text-align: right;
}

.sep-basket-summary .cart-total .order-total-value,
.sep-basket-summary .cart-total .order-total .value-summary,
.sep-basket-summary .cart-total .order-total strong {
    font: 800 22px/1.25 var(--sep-font) !important;
    color: var(--sep-basket-ink) !important;
}

.sep-basket-summary .sep-basket-totals-total {
    margin-top: 0;
    margin-bottom: 0;
}

.sep-basket-summary .sep-basket-totals-total + .checkout-buttons,
.sep-basket-summary .sep-basket-summary-divider + .sep-basket-totals-total {
    margin-top: 0;
}

.sep-basket-summary .sep-basket-delivering + .sep-discount-accordion,
.sep-basket-summary .sep-basket-totals-upper + .sep-discount-accordion {
    border-top: 1px solid var(--sep-basket-border, var(--sep-border));
    padding-top: 10px;
    margin-top: 4px;
}

.sep-basket-summary .sep-basket-delivering {
    margin: 2px 0 0;
}

.sep-basket-summary .total-info {
    margin: 0;
}

/* Beat theme `.checkout-page .total-info { padding: 5px 20px 10px }` — flush with basket edges */
.checkout-page .total-info {
    padding-left: 0;
    padding-right: 0;
}

.sep-basket-summary .coupon-box {
    margin: 0;
}

.order-completed .buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    width: 100%;
}

.order-completed .buttons .button-1,
.order-completed .buttons .sep-button-tertiary {
    min-width: 180px;
}

/* Form fields pick up Aspire Colours field background */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
input[type="number"],
textarea,
select {
    background-color: var(--sep-field);
}

/* ---------- Checkout ---------- */
.checkout-page .page-title {
    text-align: left;
}

/* OPC page shell — max 1100px, two-column >=1024 */
.sep-opc-page {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

.sep-opc-page .sep-opc-page__title {
    margin-bottom: 16px;
}

.sep-opc-page .sep-opc-page__title h1 {
    margin: 0;
    font: 800 24px/1.25 var(--sep-font);
    color: var(--sep-ink);
}

.sep-opc-page__step-label {
    margin: 6px 0 0;
    font: 400 13.5px/1.4 var(--sep-font);
    color: var(--sep-muted);
}

/* Consent is via Place order + footer links — never show stock T&C checkbox chrome */
.sep-opc-page .terms-of-service,
.sep-opc-page #terms-of-service-warning-box,
.checkout-page.sep-opc-page .terms-of-service {
    display: none !important;
}

.sep-opc-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 28px;
    align-items: start;
}

.sep-opc-layout__main {
    min-width: 0;
}

.sep-opc-layout__aside {
    position: sticky;
    top: calc(var(--sep-header-h, 72px) + 16px);
    min-width: 0;
    width: 380px;
    max-width: 100%;
    justify-self: end;
}

.sep-opc-basket {
    background: var(--sep-card, #fff);
    border: 1px solid var(--sep-border);
    border-radius: 14px;
    overflow: hidden;
}

.sep-opc-basket__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px;
    border-bottom: 1px solid var(--sep-border);
}

.sep-opc-basket__title {
    margin: 0;
    font: 800 16px/1.3 var(--sep-font);
    color: var(--sep-ink);
}

.sep-opc-basket__count {
    font-weight: 600;
    color: var(--sep-muted);
}

.sep-opc-basket__edit {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--sep-surface-2, #f4f6f9);
    border: 1px solid var(--sep-border);
    border-radius: 8px;
    padding: 7px 11px;
    font: 700 13px var(--sep-font);
    color: var(--brand-accent, #1a3a6b);
    text-decoration: none;
}

.sep-opc-basket__edit:hover {
    text-decoration: none;
    filter: brightness(0.98);
}

.sep-opc-basket__lines {
    max-height: 260px;
    overflow-y: auto;
    padding: 8px 18px;
}

.sep-opc-basket__line {
    display: flex;
    gap: 12px;
    padding: 16px 0;
    border-bottom: 1px solid var(--sep-border);
    align-items: flex-start;
}

.sep-opc-basket__line:last-child {
    border-bottom: none;
}

.sep-opc-basket__thumb {
    width: 56px;
    height: 56px;
    flex: 0 0 auto;
    border: 1px solid var(--sep-border);
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.sep-opc-basket__thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.sep-opc-basket__meta {
    flex: 1;
    min-width: 0;
}

.sep-opc-basket__brand {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.4px;
    color: var(--sep-muted);
}

.sep-opc-basket__name {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font: 600 13.5px/1.4 var(--sep-font);
    color: var(--sep-ink);
    text-decoration: none;
    margin: 2px 0 4px;
}

.sep-opc-basket__qty {
    font-size: 12.5px;
    color: var(--sep-muted);
}

.sep-opc-basket__qty b {
    color: var(--sep-ink);
    font-weight: 700;
}

.sep-opc-basket__price {
    font: 800 14px var(--sep-font);
    color: var(--sep-ink);
    white-space: nowrap;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.sep-opc-basket__price-now.is-reduced {
    color: var(--sep-basket-cta, var(--sep-ink));
}

.sep-opc-basket__price-was {
    font-size: 12px;
    font-weight: 500;
    color: var(--sep-basket-muted, var(--sep-ink));
    text-decoration: line-through;
}

.sep-opc-basket__totals {
    padding: 18px 18px 10px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    border-top: none;
}

/* Separators before discount accordion and before Total */
.sep-opc-basket__totals .sep-opc-basket__discount,
.sep-opc-basket__totals > .sep-discount-accordion {
    border-top: 1px solid var(--sep-border);
    padding-top: 12px;
    margin-top: 4px;
}

.sep-opc-basket__totals .sep-basket-totals-total {
    border-top: 1px solid var(--sep-border);
    padding-top: 12px;
    margin-top: 4px;
}

.sep-opc-basket__totals .total-info,
.sep-opc-basket__totals .cart-total,
.sep-opc-basket__totals .sep-discount-accordion,
.sep-opc-basket__totals .sep-discount-panel,
.sep-opc-basket__totals .sep-discount-fields,
.sep-opc-basket__totals .sep-basket-totals-total,
.sep-opc-basket__totals .sep-totals-total-row {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    box-sizing: border-box;
}

.sep-opc-basket__totals .cart-total {
    table-layout: fixed;
    border-collapse: collapse;
}

.sep-opc-basket__totals .cart-total td {
    padding: 6px 0;
    font-size: 14px;
    border: none;
}

.sep-opc-basket__totals .cart-total-left {
    color: var(--sep-muted);
    text-align: left;
}

.sep-opc-basket__totals .shipping-cost .selected-shipping-method {
    display: inline;
    font-weight: 400;
    color: var(--sep-muted);
}

.sep-opc-basket__totals .cart-total-right {
    text-align: right;
    font-weight: 600;
}

.sep-opc-basket__totals .order-total td {
    padding: 12px 0 0 !important;
    width: 100% !important;
}

.sep-opc-basket__totals .order-total-value,
.sep-opc-basket__totals .order-total .value-summary,
.sep-opc-basket__totals .order-total strong {
    font: 800 22px/1.25 var(--sep-font) !important;
    color: var(--sep-ink) !important;
}

/* Total: label left, amount (+ VAT note) right — flush with discount input edges */
.sep-totals-total-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    box-sizing: border-box;
}

.sep-totals-total-label {
    flex: 0 0 auto;
    margin: 0;
    padding: 0;
    text-align: left;
    font: 800 22px/1.25 var(--sep-font) !important;
    color: var(--sep-ink, #22293a) !important;
}

.sep-totals-total-amount {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
    padding: 0;
    text-align: right;
}

.sep-totals-total-amount .value-summary,
.sep-totals-total-amount .order-total-value,
.sep-totals-total-amount strong {
    font: 800 22px/1.25 var(--sep-font) !important;
    color: var(--sep-ink, #22293a) !important;
}

.sep-totals-vat,
.sep-opc-basket__totals .sep-totals-vat,
.sep-basket-summary .sep-totals-vat {
    display: block;
    margin-top: 4px;
    font: 400 12.5px/1.4 var(--sep-font) !important;
    font-weight: 400 !important;
    color: var(--sep-muted, #6b7280) !important;
    text-align: right;
}

.sep-basket-summary .sep-totals-total-label,
.sep-basket-summary .sep-totals-total-amount .value-summary,
.sep-basket-summary .sep-totals-total-amount strong {
    color: var(--sep-basket-ink) !important;
}

.sep-opc-basket__discount {
    margin: 0;
    padding: 0;
    width: 100%;
    box-sizing: border-box;
}

.sep-opc-basket__discount .sep-discount-accordion {
    margin: 0;
    padding: 0;
    width: 100%;
}

.sep-opc-basket__discount .coupon-box .title,
.sep-opc-basket__discount .coupon-box .hint {
    display: none;
}

.sep-opc-basket__discount .sep-discount-panel {
    padding-left: 0;
    padding-right: 0;
}

.sep-opc-basket__discount .sep-discount-fields {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.sep-opc-basket__discount .discount-coupon-code,
.sep-opc-basket__discount .apply-discount-coupon-code-button {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

.sep-opc-basket__discount .discount-coupon-code {
    padding: 10px 12px;
}

.sep-opc-basket__discount .apply-discount-coupon-code-button {
    background: var(--sep-magenta, #c2185b) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 11px 12px !important;
    font-weight: 700 !important;
}

.sep-opc-basket__secure {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 12px 18px 18px;
    font-size: 13.5px;
    color: var(--sep-muted);
    line-height: 1.5;
    text-align: center;
}

.sep-opc-basket__lock {
    display: inline-flex;
    font-size: 14px;
    line-height: 1;
}

.sep-opc-basket__totals .giftcard-summary td,
.sep-opc-basket__totals .gift-voucher-summary td {
    color: var(--sep-magenta, #C8235A);
    font-weight: 700;
}

.sep-opc-basket__empty {
    padding: 18px;
    margin: 0;
    color: var(--sep-muted);
    font-size: 14px;
}

@media (max-width: 1023px) {
    .sep-opc-layout {
        grid-template-columns: 1fr;
    }

    .sep-opc-layout__aside {
        position: static;
        order: 2; /* beneath checkout stages */
        width: 100%;
        max-width: none;
        justify-self: stretch;
    }

    .sep-opc-layout__main {
        order: 1;
    }

    .sep-opc-choice__body {
        padding-left: 0;
    }
}

@media (max-width: 767px) {
    .sep-opc-page {
        padding-left: 16px;
        padding-right: 16px;
    }

    .opc .tab-section.active {
        padding: 0 16px;
    }

    .sep-opc-details__continue,
    .sep-opc-field__input,
    .sep-opc-choice__header,
    .sep-opc-signin-options__forgot,
    .sep-opc-details__switch {
        min-height: 44px;
    }

    .sep-opc-coupon-fields__controls {
        grid-template-columns: 1fr;
    }

    .sep-opc-billing__manual-row {
        grid-template-columns: 1fr !important;
    }

    .sep-opc-coupons__tab,
    .sep-opc-coupon-fields__add,
    .sep-opc-billing__find,
    .sep-opc-covered__cta,
    .sep-opc-continue-pay,
    .sep-opc-submit-payment {
        min-height: 44px;
    }
}

.checkout-page .section {
    background: var(--sep-card);
    border: 1px solid var(--sep-border);
    border-radius: var(--sep-r-panel);
    padding: 24px;
    margin-bottom: 20px;
    text-align: left;
}

.checkout-page .section .title,
.opc .step-title,
.opc .allow .step-title,
.opc .tab-section .step-title,
.opc .tab-section.allow .step-title,
.opc .tab-section.active .step-title {
    background: none !important;
    background-color: transparent !important;
    border: none;
    text-align: left;
    cursor: default;
}

/* One-page checkout step indicator — white bar, navy title (beats DefaultClean .opc .allow) */
.opc .step-title,
.opc .allow .step-title,
.opc .tab-section .step-title {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 12px;
    padding: 14px 0;
    border-bottom: 1px solid var(--sep-border);
    overflow: visible;
}

.opc .step-title .number,
.opc .allow .step-title .number,
.opc .tab-section .step-title .number {
    width: 28px;
    height: 28px;
    min-height: 0;
    border-radius: 50%;
    border-right: none;
    background: var(--brand-link, #203864) !important;
    background-color: var(--brand-link, #203864) !important;
    color: #fff !important;
    font: 700 13px/28px var(--sep-font);
    text-align: center;
    float: none;
    padding: 0;
    margin: 0;
    flex: none;
}

.opc .step-title .title,
.opc .allow .step-title .title,
.opc .tab-section .step-title .title {
    font: 700 16px/1.3 var(--sep-font);
    color: var(--sep-ink, #22293a) !important;
    text-transform: none;
    margin: 0;
    padding: 0;
    float: none;
    min-height: 0;
    line-height: 1.3;
    background: none !important;
    background-color: transparent !important;
}

/* Active stage — navy number circle + stronger title */
.opc .tab-section.active .step-title .number {
    background: var(--brand-link, #203864) !important;
    background-color: var(--brand-link, #203864) !important;
    color: #fff !important;
    font-size: 13px !important;
}

.opc .tab-section.active .step-title .title {
    font: 800 18px/1.3 var(--sep-font) !important;
    color: var(--sep-ink, #22293a) !important;
}

.opc .tab-section {
    background: var(--sep-card);
    border: 1px solid var(--sep-border);
    border-radius: 14px;
    padding: 0 18px;
    margin: 14px 0;
}

.opc .tab-section .step {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 16px 0 24px;
    margin: 0;
}

/* Active stage card */
.opc .tab-section.active {
    border: 1.5px solid var(--brand-link, #203864);
    border-radius: 14px;
    padding: 0 24px;
    background: var(--sep-card, #fff);
}

.opc .tab-section.active .step-title {
    padding: 20px 0 14px;
    border-bottom: 1px solid var(--sep-border);
}

.opc .tab-section.active .step {
    padding: 16px 0 24px;
}

/* Completed stages — keep step number visible (green circle), show Change meta */
.opc .tab-section.sep-opc-done:not(.active) {
    border-color: var(--sep-border);
}

.opc .tab-section.sep-opc-done:not(.active) .step-title .number {
    background: var(--sep-positive, #0e7a45) !important;
    background-color: var(--sep-positive, #0e7a45) !important;
    color: transparent !important;
    font-size: 0 !important;
    position: relative;
}

.opc .tab-section.sep-opc-done:not(.active) .step-title .number::before {
    content: "✓";
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font: 700 14px/1 var(--sep-font);
    color: #fff;
}

.opc .tab-section.sep-opc-done:not(.active) .step {
    display: none !important;
}

.sep-opc-done-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 16px;
    width: 100%;
    padding: 0 0 14px;
    font: 400 14px/1.45 var(--sep-font);
    color: var(--sep-muted);
}

.sep-opc-done-meta__text {
    flex: 1;
    min-width: 0;
    color: var(--sep-body);
}

.sep-opc-done-meta__change {
    background: none;
    border: none;
    padding: 8px 4px;
    min-height: 44px;
    color: var(--brand-link, #203864);
    font: 700 14px var(--sep-font);
    text-decoration: underline;
    text-underline-offset: 2px;
    cursor: pointer;
}

.sep-opc-done-meta__change:focus-visible {
    outline: 2px solid var(--brand-link, #203864);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Card-details / confirm are folded into Payment stage (shown via host inside Step 3) */
.opc #opc-payment_info:not(.sep-opc-force-visible),
.opc #opc-confirm_order:not(.sep-opc-force-visible) {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    border: 0 !important;
}

.opc .buttons .button-1 {
    width: 100%;
}

/* Magenta sentence-case CTAs — beat .checkout-page .button-1 accent-blue + uppercase */
.checkout-page .opc .button-1:not(.confirm-order-next-step-button),
.checkout-page .button-1.sep-opc-details__continue,
.checkout-page .button-1.sep-opc-delivery-continue,
.checkout-page .button-1.sep-opc-continue-pay,
.checkout-page .button-1.sep-opc-submit-payment,
.checkout-page .button-1.sep-opc-covered__cta,
.checkout-page .opc .buttons .button-1:not(.confirm-order-next-step-button) {
    background: var(--brand-cta, #C8235A) !important;
    background-color: var(--brand-cta, #C8235A) !important;
    color: #fff !important;
    text-transform: none !important;
    border: none;
    border-radius: 10px;
    font: 800 15px/1.2 var(--sep-font);
}

.checkout-page .opc .button-1:not(.confirm-order-next-step-button):hover,
.checkout-page .opc .button-1:not(.confirm-order-next-step-button):focus,
.checkout-page .button-1.sep-opc-details__continue:hover,
.checkout-page .button-1.sep-opc-details__continue:focus,
.checkout-page .button-1.sep-opc-delivery-continue:hover,
.checkout-page .button-1.sep-opc-delivery-continue:focus,
.checkout-page .button-1.sep-opc-continue-pay:hover,
.checkout-page .button-1.sep-opc-continue-pay:focus,
.checkout-page .button-1.sep-opc-submit-payment:hover,
.checkout-page .button-1.sep-opc-submit-payment:focus,
.checkout-page .button-1.sep-opc-covered__cta:hover,
.checkout-page .button-1.sep-opc-covered__cta:focus,
.checkout-page .opc .buttons .button-1:not(.confirm-order-next-step-button):hover,
.checkout-page .opc .buttons .button-1:not(.confirm-order-next-step-button):focus {
    background: var(--brand-cta-hover, #ad1e4d) !important;
    background-color: var(--brand-cta-hover, #ad1e4d) !important;
}

/* Payment methods list */
.payment-method .method-list li {
    background: #fff;
    border: 2px solid var(--sep-border);
    border-radius: 11px;
    padding: 15px 16px;
    margin: 0 0 12px;
}

.payment-method .method-list li:has(input:checked) {
    border-color: var(--brand-accent);
    background: #f7f9ff;
}

.payment-method .method-name {
    background: none;
    display: flex;
    align-items: center;
    gap: 14px;
}

.payment-method .payment-details label {
    font: 700 15px var(--sep-font);
    color: var(--sep-ink);
}

.payment-method .payment-description {
    font-size: 13px;
    color: var(--sep-muted);
}

/* Balance applied panel placeholder — TODO(funding-engine) */
.sep-balance-applied {
    background: var(--sep-positive-tint);
    border: 1px solid var(--sep-positive-border);
    border-radius: 11px;
    padding: 15px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.sep-balance-applied .headline {
    font: 700 15px var(--sep-font);
    color: var(--sep-positive-fg);
}

.sep-balance-applied .sub {
    font-size: 13px;
    color: #4c7a62;
}

.sep-balance-applied .amount {
    font: 800 17px var(--sep-font);
    color: var(--sep-positive-fg);
}

/* Confirm order button goes positive-green */
.confirm-order-next-step-button {
    background: var(--sep-positive);
}

.confirm-order-next-step-button:hover {
    background: #14603c;
}

/* Pending stage cards */
.opc .tab-section.sep-opc-pending:not(.active) {
    border: 1px solid var(--sep-border);
    border-radius: 14px;
    padding: 0 18px;
    opacity: 0.7;
    pointer-events: none;
}

.opc .tab-section.sep-opc-pending:not(.active) .step-title {
    padding: 16px 0;
    border-bottom: none;
}

.opc .tab-section.sep-opc-pending:not(.active) .step-title .number {
    background: var(--sep-muted, #8a93a3) !important;
    background-color: var(--sep-muted, #8a93a3) !important;
    color: #fff !important;
}

.opc .tab-section.sep-opc-pending:not(.active) .step-title .title {
    color: var(--sep-muted, #8a93a3);
    font-weight: 600;
}

.opc .tab-section.sep-opc-pending:not(.active) .step {
    display: none !important;
}

/* ---------- OPC Step 1: Your details ---------- */
.sep-opc-details {
    text-align: left;
}

.sep-opc-details__heading {
    margin: 0 0 8px;
    font: 800 17px/1.3 var(--sep-font);
    color: var(--sep-ink);
}

.sep-opc-details__lead {
    margin: 0 0 18px;
    font: 400 13.5px/1.55 var(--sep-font);
    color: var(--sep-muted);
}

.sep-opc-details__signed-panel {
    background: var(--sep-card, #fff);
    border: 1px solid var(--sep-border);
    border-radius: 12px;
    padding: 16px 18px;
}

.sep-opc-details__identity {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 16px;
}

.sep-opc-details__name {
    font: 700 15px/1.35 var(--sep-font);
    color: var(--sep-ink);
}

.sep-opc-details__email {
    font: 400 13.5px/1.4 var(--sep-font);
    color: var(--sep-muted);
    word-break: break-word;
}

.sep-opc-details__continue,
.checkout-page .sep-opc-details__continue,
.checkout-page .button-1.sep-opc-details__continue {
    width: 100%;
    min-height: 48px;
    margin: 0;
    border: none;
    border-radius: 10px;
    padding: 14px 16px;
    background: var(--brand-cta, #C8235A) !important;
    background-color: var(--brand-cta, #C8235A) !important;
    color: #fff !important;
    font: 800 15px/1.2 var(--sep-font);
    text-transform: none !important;
    cursor: pointer;
}

.sep-opc-details__continue:hover,
.checkout-page .sep-opc-details__continue:hover,
.checkout-page .button-1.sep-opc-details__continue:hover {
    background: var(--brand-cta-hover, #ad1e4d) !important;
    background-color: var(--brand-cta-hover, #ad1e4d) !important;
}

.sep-opc-details__continue:focus-visible {
    outline: 2px solid var(--brand-link, #203864);
    outline-offset: 2px;
}

.sep-opc-details__switch {
    display: inline-block;
    margin-top: 14px;
    min-height: 44px;
    font: 700 14px/1.4 var(--sep-font);
    color: var(--brand-link, #203864);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.sep-opc-details__switch:focus-visible {
    outline: 2px solid var(--brand-link, #203864);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Guest / sign-in choice panels */
.sep-opc-choice {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sep-opc-choice__panel {
    background: var(--sep-card, #fff);
    border: 1px solid var(--sep-border);
    border-radius: 12px;
    padding: 16px 18px;
    transition: border-color .15s ease;
}

.sep-opc-choice__panel.is-selected {
    border: 1.5px solid var(--brand-link, #203864);
}

.sep-opc-choice__header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    margin: 0;
}

.sep-opc-choice__input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
    margin: 0;
    pointer-events: none;
}

.sep-opc-choice__radio {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    margin-top: 2px;
    border: 1.5px solid var(--sep-border-strong, #c5ccd8);
    border-radius: 50%;
    box-sizing: border-box;
    position: relative;
    background: var(--sep-card, #fff);
}

.sep-opc-choice__panel.is-selected .sep-opc-choice__radio {
    border-color: var(--brand-link, #203864);
}

.sep-opc-choice__panel.is-selected .sep-opc-choice__radio::after {
    content: "";
    position: absolute;
    inset: 4px;
    border-radius: 50%;
    background: var(--brand-link, #203864);
}

.sep-opc-choice__input:focus-visible + .sep-opc-choice__radio {
    outline: 2px solid var(--brand-link, #203864);
    outline-offset: 2px;
}

.sep-opc-choice__copy {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.sep-opc-choice__title {
    font: 700 15px/1.3 var(--sep-font);
    color: var(--sep-ink);
}

.sep-opc-choice__sub {
    font: 400 13.5px/1.55 var(--sep-font);
    color: var(--sep-muted);
}

.sep-opc-choice__body {
    margin: 16px 0 0;
    padding-left: 30px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.sep-opc-choice__body[hidden] {
    display: none !important;
}

.sep-opc-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sep-opc-field__label {
    font: 600 13.5px/1.3 var(--sep-font);
    color: var(--sep-ink);
}

.sep-opc-field__input {
    width: 100%;
    box-sizing: border-box;
    border: 1.5px solid var(--sep-border-strong, #c5ccd8);
    border-radius: 9px;
    padding: 12px 14px;
    font: 400 15px/1.3 var(--sep-font);
    background: var(--sep-field, #fff);
    color: var(--sep-ink);
    min-height: 48px;
}

.sep-opc-field__input:focus-visible {
    outline: 2px solid var(--brand-link, #203864);
    outline-offset: 2px;
}

.sep-opc-field__input.is-error,
.sep-opc-field__input.is-error:focus {
    border-color: var(--sep-error-fg, #b42318);
}

.sep-opc-field__error {
    margin: 0;
    font: 400 13px/1.4 var(--sep-font);
    color: var(--sep-error-fg, #b42318);
}

.sep-opc-marketing {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sep-opc-marketing__label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
    cursor: pointer;
    font: 700 13px/1.35 var(--sep-font);
    color: var(--sep-ink);
}

.sep-opc-marketing__label input {
    width: 16px;
    height: 16px;
    margin: 1px 0 0;
    flex: none;
}

.sep-opc-marketing__privacy {
    margin: 0 0 0 26px;
    font: 400 12px/1.45 var(--sep-font);
    color: var(--sep-muted);
}

.sep-opc-marketing__privacy a {
    color: var(--brand-link, #203864);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.sep-opc-signin-options {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 16px;
}

.sep-opc-signin-options__remember {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font: 400 13px/1.3 var(--sep-font);
    color: var(--sep-body);
    cursor: pointer;
    min-height: 44px;
}

.sep-opc-signin-options__remember input {
    width: 16px;
    height: 16px;
    flex: none;
}

.sep-opc-signin-options__forgot {
    font: 700 13.5px/1.3 var(--sep-font);
    color: var(--brand-link, #203864);
    text-decoration: underline;
    text-underline-offset: 2px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}

/* Hide stock continue when step-1 owns its CTAs */
#opc-billing:has(.sep-opc-details--signed-in) #billing-buttons-container .new-address-next-step-button,
#opc-billing:has(.sep-opc-details--guest) #billing-buttons-container .new-address-next-step-button {
    display: none !important;
}

#opc-billing:has(.sep-opc-details) #billing-buttons-container {
    min-height: 0;
    margin: 8px 0 0;
    padding: 0;
    border: none;
    background: transparent;
}

/* Keep billing fields for Billing.save(), out of the visual design */
.sep-opc-details__address-select,
.sep-opc-details__billing-fields {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Server rejected the billing fields: show them with their inline errors */
.sep-opc-details__billing-fields.sep-opc-details__billing-fields--errors {
    position: static !important;
    width: auto !important;
    height: auto !important;
    margin: 0 0 16px !important;
    overflow: visible !important;
    clip: auto !important;
    white-space: normal !important;
}

/* Step-level error shown in place of a browser alert */
.sep-opc-step-error {
    margin: 0 0 16px;
}

.sep-opc-step-error ul {
    margin: 0;
    padding-left: 18px;
}

.sep-opc-step-error li + li {
    margin-top: 4px;
}

.sep-opc-details--signed-in #edit-billing-address-button,
.sep-opc-details--signed-in #delete-billing-address-button {
    display: none !important;
}

.sep-opc-details .section {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    margin: 0;
}

/* ---------- OPC Delivery step (address + method merged) ---------- */
.sep-opc-step-delivery .step {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Stock .opc .step centres everything */
.opc .sep-opc-step-delivery .step,
.opc .sep-opc-step-delivery .step .section {
    text-align: left;
}

/* Number badge already shows the step; prefix only reads on completed (tick) steps */
.opc .tab-section:not(.sep-opc-done) .step-title .sep-opc-step-prefix,
.opc .tab-section.active .step-title .sep-opc-step-prefix {
    display: none;
}

.sep-opc-delivery {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.sep-opc-delivery__heading {
    margin: 0;
    font: 800 17px/1.3 var(--sep-font);
    color: var(--sep-ink);
}

.sep-opc-delivery__label {
    display: block;
    margin: 0 0 8px;
    font: 500 13.5px var(--sep-font);
    color: var(--sep-ink);
}

.sep-opc-delivery__field {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.sep-opc-delivery__hint {
    margin: 0;
    font: 400 13.5px/1.45 var(--sep-font);
    color: var(--sep-ink);
}

.sep-opc-delivery__input {
    width: 100%;
    box-sizing: border-box;
    border: 1.5px solid var(--sep-border-strong, #c5ccd8);
    border-radius: 9px;
    padding: 12px 14px;
    font-size: 15px;
    font-family: var(--sep-font);
    background: var(--sep-field, #fff);
    color: var(--sep-ink);
}

select.sep-opc-delivery__input,
.sep-opc-delivery__select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2345566e' d='M1.4.6 6 5.2 10.6.6 12 2 6 8 0 2z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 12px 8px;
    padding-right: 40px;
    cursor: pointer;
}

.sep-opc-delivery__input--postcode {
    text-transform: uppercase;
}

.sep-opc-delivery__input.is-error,
.sep-opc-delivery__input.is-error:focus {
    border-color: var(--sep-error-fg, #b42318);
}

.sep-opc-delivery__input:focus-visible {
    outline: 2px solid var(--brand-link, #203864);
    outline-offset: 2px;
}

.sep-opc-delivery__error {
    margin: 8px 0 0;
    font: 600 13.5px/1.4 var(--sep-font);
    color: var(--sep-error-fg, #b42318);
}

/* Stock pickup points always emitted an empty .message-error — hide empty alert chrome */
.sep-opc-page .message-error:not(:has(li)),
.sep-opc-delivery .message-error:not(:has(li)),
.sep-opc-page .message-error:has(ul:empty),
.sep-opc-delivery .message-error:has(ul:empty) {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    background: none !important;
}

/* Collapsed completed step title row (image-2 layout) */
.opc .tab-section.sep-opc-done:not(.active) .step-title {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 12px;
    padding: 16px 18px;
}

.opc .tab-section.sep-opc-done:not(.active) .step-title .title {
    margin: 0;
}

.opc .tab-section.sep-opc-done:not(.active) .sep-opc-done-meta {
    flex: 1 1 100%;
    padding: 0;
    margin: 0 0 0 40px;
}

.sep-opc-delivery__lookup {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sep-opc-delivery__lookup[hidden],
.sep-opc-delivery__manual[hidden],
.sep-opc-delivery__selected[hidden],
.sep-opc-delivery__results[hidden],
.sep-opc-delivery__error[hidden],
.sep-opc-delivery__native-select[hidden],
[data-sep-delivery-country-field][hidden] {
    display: none !important;
}

.sep-opc-delivery__lookup-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: stretch;
}

.sep-opc-delivery__find {
    border: none;
    border-radius: 9px;
    background: var(--brand-link, #203864);
    color: #fff;
    font: 700 14px var(--sep-font);
    padding: 10px 18px;
    min-height: 46px;
    cursor: pointer;
    white-space: nowrap;
}

.sep-opc-delivery__find:focus-visible {
    outline: 2px solid var(--brand-link, #203864);
    outline-offset: 2px;
}

.sep-opc-delivery__results {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sep-opc-delivery__results-panel {
    border: 1px solid var(--sep-border);
    border-radius: 10px;
    overflow: hidden;
    background: var(--sep-card, #fff);
}

.sep-opc-delivery__results-head {
    margin: 0;
    padding: 12px 14px;
    font: 800 14px var(--sep-font);
    color: var(--sep-ink);
    background: var(--sep-surface-2, #f4f6f9);
    border-bottom: 1px solid var(--sep-border);
}

.sep-opc-delivery__result {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    text-align: left;
    padding: 12px 14px;
    border: none;
    border-bottom: 1px solid var(--sep-border);
    border-radius: 0;
    background: var(--sep-card, #fff);
    font: 600 14px/1.4 var(--sep-font);
    color: var(--sep-ink);
    cursor: pointer;
    min-height: 44px;
}

.sep-opc-delivery__result:last-child {
    border-bottom: none;
}

.sep-opc-delivery__result:hover,
.sep-opc-delivery__result:focus-visible {
    background: var(--sep-surface-2, #f4f6f9);
    outline: none;
}

.sep-opc-delivery__result:focus-visible {
    box-shadow: inset 0 0 0 2px var(--brand-link, #203864);
}

.sep-opc-delivery__selected {
    border: 1px solid var(--sep-border);
    border-radius: 10px;
    padding: 14px 16px;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
    background: var(--sep-card, #fff);
}

.sep-opc-delivery__selected-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 14px;
    line-height: 1.55;
    color: var(--sep-ink);
    min-width: 0;
}

.sep-opc-delivery__selected-name {
    font-weight: 700;
}

.sep-opc-delivery__selected-line {
    font-weight: 400;
}

.sep-opc-delivery__change {
    background: none;
    border: none;
    padding: 8px 4px;
    min-height: 44px;
    font: 700 13.5px var(--sep-font);
    color: var(--brand-link, #203864);
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
    white-space: nowrap;
}

.sep-opc-delivery__change:focus-visible {
    outline: 2px solid var(--brand-link, #203864);
    outline-offset: 2px;
    border-radius: 4px;
}

.sep-opc-delivery__manual {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sep-opc-delivery__manual:not([hidden]) {
    display: flex;
}

.sep-opc-delivery__manual-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(110px, 0.45fr);
    gap: 10px;
}

.sep-opc-delivery__link {
    background: none;
    border: none;
    padding: 8px 0;
    color: var(--brand-link, #203864);
    font: 700 13.5px var(--sep-font);
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
    align-self: flex-start;
    min-height: 44px;
}

.sep-opc-delivery__link:focus-visible {
    outline: 2px solid var(--brand-link, #203864);
    outline-offset: 2px;
    border-radius: 4px;
}

.sep-opc-delivery__bound {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    border: 0 !important;
}

.sep-opc-delivery-methods {
    margin-top: 4px;
}

.sep-opc-ship-methods {
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
}

.sep-opc-ship-methods__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sep-opc-ship-methods__item {
    margin: 0;
}

.sep-opc-ship-methods__card,
.sep-opc-ship-methods__card--static {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    border: 1px solid var(--sep-border);
    border-radius: 10px;
    background: var(--sep-surface-2, #f4f6f9);
    padding: 14px 16px;
    cursor: default;
    pointer-events: none;
}

.sep-opc-ship-methods__item--static .sep-opc-ship-methods__card,
.sep-opc-ship-methods__card:has(input:checked) {
    border-color: var(--sep-border);
    background: var(--sep-surface-2, #f4f6f9);
    box-shadow: none;
}

.sep-opc-ship-methods__card input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.sep-opc-ship-methods__copy {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.sep-opc-ship-methods__name {
    font: 700 14.5px var(--sep-font);
    color: var(--sep-ink);
}

.sep-opc-ship-methods__desc {
    font-size: 13px;
    color: var(--sep-muted);
    line-height: 1.45;
}

.sep-opc-ship-methods__fee {
    font: 700 14.5px var(--sep-font);
    color: var(--sep-ink);
    white-space: nowrap;
}

.sep-opc-delivery-continue {
    background: var(--sep-magenta, #c2185b) !important;
    border: none !important;
    border-radius: 10px !important;
    color: #fff !important;
    font-weight: 800 !important;
    padding: 14px !important;
    min-height: 48px !important;
}

.sep-opc-delivery-continue:focus-visible {
    outline: 2px solid var(--brand-link, #203864);
    outline-offset: 2px;
}

.sep-opc-method-wait-host {
    display: contents;
}

@media (max-width: 767px) {
    .sep-opc-delivery__lookup-row {
        grid-template-columns: 1fr;
    }

    .sep-opc-delivery__find {
        width: 100%;
        min-height: 44px;
    }

    .sep-opc-delivery__manual-row {
        grid-template-columns: 1fr;
    }

    .sep-opc-delivery-continue {
        min-height: 48px;
    }
}

/* ---------- OPC Payment step (SEP redesign) ---------- */
.sep-opc-payment {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Never show university balance panel on OPC payment step */
.sep-opc-payment .sep-balance-applied,
.opc .sep-balance-applied[data-sep-funding="checkout-balance"] {
    display: none !important;
}

/* Secondary "Payment" title inside the active Payment step (below step header) */
.sep-opc-payment__section-title {
    margin: 0;
    padding: 0;
    font: 800 16px/1.3 var(--sep-font) !important;
    font-weight: 800 !important;
    color: var(--sep-ink) !important;
    text-align: left !important;
    background: none !important;
}

.opc .step .sep-opc-payment__section-title {
    text-align: left !important;
}

.sep-opc-coupons {
    border: 1px solid var(--sep-border-strong, #c5ccd8);
    border-radius: 12px;
    padding: 16px 18px;
    background: var(--sep-card, #fff);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    text-align: left !important;
}

.sep-opc-coupons__heading,
.sep-opc-pay-card__heading,
.sep-opc-billing__heading {
    margin: 0;
    font: 800 16px/1.3 var(--sep-font) !important;
    color: var(--sep-ink) !important;
    text-align: left !important;
    background: none !important;
    background-color: transparent !important;
}

/* Beat DefaultClean `.opc .step { text-align: center }` */
.opc .step .sep-opc-coupons,
.opc .step .sep-opc-coupons__heading,
.opc .step .sep-opc-pay-card__heading,
.opc .step .sep-opc-billing__heading {
    text-align: left !important;
}

.sep-opc-coupons__tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.sep-opc-coupons__tab {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 14px 12px;
    border-radius: 10px;
    cursor: pointer;
    background: var(--sep-card, #fff);
    border: 1px solid var(--sep-border-strong, #c5ccd8);
    margin: 1px;
    font: 600 14.5px var(--sep-font);
    color: var(--sep-ink);
}

.sep-opc-coupons__tab.is-active {
    border: 2px solid var(--brand-link, #203864);
    margin: 0;
    font-weight: 700;
    color: var(--brand-link, #203864);
}

.sep-opc-coupons__tab:focus-visible {
    outline: 2px solid var(--brand-link, #203864);
    outline-offset: 2px;
}

.sep-opc-coupons__applied {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Applied rows are mirrored above the tabs so both gift card + voucher can show together */
.sep-opc-coupons__panel .sep-opc-applied {
    display: none !important;
}

.sep-opc-place-order-errors {
    margin: 0 0 14px;
    padding: 12px 14px;
    border-radius: 10px;
    text-align: left;
}

.sep-opc-place-order-errors ul {
    margin: 0;
    padding-left: 1.1em;
}

.sep-opc-covered {
    border: 1px solid var(--sep-border);
    border-radius: 12px;
    padding: 18px 16px;
    text-align: center;
    background: var(--sep-surface-2, #F1F4F8);
}

.sep-opc-covered__msg {
    margin: 0 0 14px;
    font: 700 15px var(--sep-font);
    color: var(--sep-ink);
}

.sep-opc-covered__cta,
.button-1.sep-opc-covered__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    padding: 12px 18px;
    border: none;
    border-radius: 10px;
    background: var(--sep-magenta, #C8235A) !important;
    color: #fff !important;
    font: 800 15px var(--sep-font) !important;
    cursor: pointer;
    text-transform: none !important;
}

.sep-opc-billing__country {
    margin-bottom: 12px;
}

.sep-opc-billing__country label {
    display: block;
    margin-bottom: 6px;
    font: 600 14px/1.3 var(--sep-font);
    color: var(--sep-ink);
}

.sep-opc-billing__select,
select.sep-opc-billing__select {
    width: 100%;
    box-sizing: border-box;
    border: 1.5px solid var(--sep-border-strong, #c5ccd8);
    border-radius: 9px;
    padding: 12px 40px 12px 14px;
    font-size: 15px;
    font-family: var(--sep-font);
    background-color: var(--sep-field, #fff);
    color: var(--sep-ink);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2345566e' d='M1.4.6 6 5.2 10.6.6 12 2 6 8 0 2z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 12px 8px;
    cursor: pointer;
}

.sep-opc-billing__alt {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sep-opc-billing__alt[hidden] {
    display: none !important;
}

.sep-opc-billing__hint {
    margin: 0;
    font: 400 13.5px/1.45 var(--sep-font);
    color: var(--sep-muted);
}

.sep-opc-billing__lookup-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
}

.sep-opc-billing__lookup-row input,
.sep-opc-billing__manual input {
    width: 100%;
    box-sizing: border-box;
    border: 1.5px solid var(--sep-border-strong, #c5ccd8);
    border-radius: 9px;
    padding: 12px 14px;
    font-size: 15px;
    background: var(--sep-field, #fff);
    color: var(--sep-ink);
}

.sep-opc-billing__find {
    border: 1.5px solid var(--brand-link, #203864);
    border-radius: 9px;
    background: var(--sep-card, #fff);
    color: var(--brand-link, #203864);
    font: 700 14px var(--sep-font);
    padding: 10px 16px;
    cursor: pointer;
    white-space: nowrap;
}

.sep-opc-billing__results {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sep-opc-billing__results-heading {
    margin: 4px 0 0;
    font: 800 14px var(--sep-font);
    color: var(--sep-ink);
}

.sep-opc-billing__result {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    text-align: left;
    padding: 12px 14px;
    border: 1px solid var(--sep-border);
    border-radius: 9px;
    background: var(--sep-card, #fff);
    font: 600 14px/1.4 var(--sep-font);
    color: var(--sep-ink);
    cursor: pointer;
    min-height: 44px;
}

.sep-opc-billing__result:hover,
.sep-opc-billing__result:focus-visible {
    border-color: var(--brand-link, #203864);
    outline: none;
}

.sep-opc-billing__selected {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    border: 1px solid var(--sep-border);
    border-radius: 10px;
    padding: 12px 14px;
    background: var(--sep-surface-2, #F1F4F8);
}

.sep-opc-billing__selected-text {
    font: 600 14px/1.45 var(--sep-font);
    color: var(--sep-ink);
}

.sep-opc-billing__change {
    background: none;
    border: none;
    color: var(--brand-link, #203864);
    font: 700 14px var(--sep-font);
    text-decoration: underline;
    cursor: pointer;
    padding: 8px 4px;
    min-height: 44px;
}

.sep-opc-billing__manual-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(110px, 0.45fr);
    gap: 10px;
}

.sep-opc-billing__link {
    background: none;
    border: none;
    padding: 8px 0;
    color: var(--brand-link, #203864);
    font: 700 13.5px var(--sep-font);
    text-decoration: underline;
    text-underline-offset: 2px;
    cursor: pointer;
    align-self: flex-start;
}

.sep-opc-billing__error {
    margin: 0;
    font: 600 13.5px/1.4 var(--sep-font);
    color: var(--sep-error-fg, #b42318);
}

.sep-opc-legal a:focus-visible {
    outline: 2px solid var(--brand-link, #203864);
    outline-offset: 2px;
    border-radius: 2px;
}

.sep-opc-coupon-fields__row {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sep-opc-coupon-fields__label {
    font: 600 13.5px var(--sep-font);
    color: var(--sep-muted);
}

.sep-opc-coupon-fields__controls {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: stretch;
}

.sep-opc-coupon-fields__controls input {
    width: 100%;
    box-sizing: border-box;
    border: 1.5px solid var(--sep-border-strong, #c5ccd8);
    border-radius: 9px;
    padding: 12px 14px;
    font-size: 15px;
}

.sep-opc-coupon-fields__add,
.sep-opc-coupon-fields .apply-gift-card-coupon-code-button,
.sep-opc-coupon-fields .apply-gift-voucher-coupon-code-button {
    background: var(--brand-accent, #1a3a6b) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 9px !important;
    padding: 12px 20px !important;
    font: 700 14.5px var(--sep-font) !important;
    cursor: pointer;
    white-space: nowrap;
}

.sep-opc-applied {
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1.5px solid var(--sep-magenta, #c2185b);
    border-radius: 10px;
    padding: 11px 14px;
    background: color-mix(in srgb, var(--sep-magenta, #c2185b) 7%, #fff);
}

.sep-opc-applied__check {
    color: var(--sep-magenta, #c2185b);
    font-weight: 800;
}

.sep-opc-applied__text {
    flex: 1;
    font: 700 14.5px var(--sep-font);
    color: var(--sep-ink);
}

.sep-opc-applied__amount {
    font-weight: 800;
    color: var(--sep-magenta, #c2185b);
}

.sep-opc-applied__remove {
    background: none;
    border: none;
    padding: 0;
    color: var(--brand-accent, #1a3a6b);
    font: 700 14px var(--sep-font);
    text-decoration: underline;
    cursor: pointer;
}

.sep-opc-pay-card {
    border: 1px solid var(--sep-border-strong, #c5ccd8) !important;
    border-radius: 12px !important;
    padding: 16px 18px !important;
    display: flex;
    flex-direction: column;
    gap: 14px;
    text-align: left !important;
}

.sep-opc-billing {
    border: 1px solid var(--sep-border);
    border-radius: 12px;
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: #fff;
    text-align: left !important;
}

.sep-opc-billing__same {
    display: flex;
    align-items: center;
    gap: 10px;
    font: 600 14.5px/1.4 var(--sep-font);
    color: var(--sep-ink);
    cursor: pointer;
    user-select: none;
}

.sep-opc-billing__same input {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    margin: 0;
    flex: none;
    border: 2px solid var(--brand-link, #203864);
    border-radius: 4px;
    background: #fff;
    cursor: pointer;
    position: relative;
}

.sep-opc-billing__same input:checked {
    background: var(--brand-link, #203864);
    border-color: var(--brand-link, #203864);
}

.sep-opc-billing__same input:checked::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 45%;
    width: 6px;
    height: 11px;
    margin: 0;
    border: solid #fff;
    border-width: 0 2.5px 2.5px 0;
    transform: translate(-50%, -55%) rotate(45deg);
    box-sizing: border-box;
}

.sep-opc-billing__same input:focus-visible {
    outline: 2px solid var(--brand-link, #203864);
    outline-offset: 2px;
}

.sep-opc-billing__address {
    margin: 0;
    font-size: 14px;
    color: var(--sep-muted);
    line-height: 1.55;
}

.sep-opc-billing__address--muted {
    font-style: italic;
}

/* 2-column payment method grid (overrides base theme 4-across + overflow:hidden) */
.payment-method .method-list.sep-opc-methods.sep-opc-methods--single {
    display: none !important;
}

/* Footer "Place order" drives Stripe (runs billing validation first); hide the plugin's duplicate button */
#sep-payment-info-host #stripe-payment-button {
    display: none !important;
}

.payment-method .method-list.sep-opc-methods {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 0 0 14px !important;
    overflow: visible !important;
    text-align: left !important;
    font-size: inherit !important;
}

.payment-method .method-list.sep-opc-methods li {
    display: flex !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    min-width: 0;
    box-sizing: border-box;
}

.payment-method .sep-opc-methods .method-name {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
    min-width: 0;
}

.payment-method .sep-opc-methods .payment-logo {
    display: block !important;
    flex: 0 0 auto;
    background: none !important;
    padding: 0 !important;
    max-width: 56px;
}

.payment-method .sep-opc-methods .payment-logo img {
    display: block;
    max-width: 56px;
    max-height: 40px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.payment-method .sep-opc-methods .payment-details {
    display: block !important;
    width: auto !important;
    min-width: 0;
    flex: 1 1 auto;
    margin: 0 !important;
    text-align: left !important;
    overflow: visible;
}

.payment-method .sep-opc-methods .payment-details label {
    display: block;
    line-height: 1.35;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.payment-method .sep-opc-methods .payment-description {
    margin-top: 4px;
    line-height: 1.4;
    word-break: break-word;
    overflow-wrap: anywhere;
}

@media (max-width: 640px) {
    .payment-method .method-list.sep-opc-methods {
        grid-template-columns: 1fr;
    }
}

.sep-opc-pay-brands {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin: 0 0 4px;
}

/* Aspire balance/card-split panel — hidden unless Aspire Payments is selected */
#sep-payment-info-host[hidden],
.sep-opc-payment-info-host[hidden] {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
}

.sep-opc-pay-brands img {
    height: 22px;
    width: auto;
    max-width: 56px;
    object-fit: contain;
    opacity: 1;
}

.sep-opc-legal {
    margin: 0;
    font-size: 13px;
    color: var(--sep-muted);
    line-height: 1.55;
}

.sep-opc-legal a {
    color: var(--brand-accent, #1a3a6b);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.sep-opc-card-panel {
    border: 1px solid var(--sep-border-strong, #c5ccd8) !important;
    border-radius: 12px !important;
    padding: 14px !important;
}

.sep-opc-onelink {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    margin: 0 0 14px;
    border-radius: 10px;
    background: color-mix(in srgb, var(--brand-accent, #1a3a6b) 8%, #fff);
    color: var(--brand-accent, #1a3a6b);
    font: 600 14px var(--sep-font);
}

.sep-opc-onelink__lock {
    color: #1b8a4a;
    display: inline-flex;
}

.sep-opc-onelink__text {
    flex: 1;
}

.sep-opc-onelink__chevron {
    opacity: 0.7;
}

.sep-opc-submit-payment,
.payment-info-next-step-button.sep-opc-submit-payment {
    background: var(--sep-magenta, #c2185b) !important;
    color: #fff !important;
    text-transform: uppercase;
    font-weight: 800 !important;
    letter-spacing: 0.02em;
    border-radius: 10px !important;
    padding: 14px !important;
}

.sep-opc-submit-payment:hover,
.payment-info-next-step-button.sep-opc-submit-payment:hover {
    filter: brightness(0.95);
}

.sep-opc-continue-pay {
    background: var(--brand-accent, #1a3a6b) !important;
    border-radius: 10px !important;
}

/* Hide legacy gift-box chrome inside OPC coupon panels */
.sep-opc-coupons .giftcard-box > .title,
.sep-opc-coupons .giftcard-box > .hint,
.sep-opc-coupons .gift-voucher-box > .title,
.sep-opc-coupons .gift-voucher-box > .hint {
    display: none;
}

/* Order completed / confirmation (Order placed) */
.sep-order-placed.order-completed-page,
.order-completed-page.sep-order-placed {
    background: transparent;
}

.sep-order-placed .page-body {
    padding: 48px 16px 72px;
}

.sep-order-placed .section.order-completed,
.sep-order-placed__card {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    margin: 0 auto;
    max-width: 640px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.sep-order-placed__icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--sep-positive-tint, #eef6f1);
    color: var(--sep-positive, #1a7a4d);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 28px;
}

.sep-order-placed__icon svg {
    display: block;
}

.sep-order-placed__title {
    margin: 0 0 16px;
    padding: 0;
    font: 700 28px/1.25 var(--sep-font);
    color: var(--sep-ink, #22293a);
    text-transform: none;
    letter-spacing: -0.01em;
}

.sep-order-placed__copy {
    margin: 0;
    max-width: 34em;
    font: 400 16px/1.55 var(--sep-font);
    color: var(--sep-body, #333);
}

.sep-order-placed__order-no {
    font-weight: 700;
    color: var(--sep-ink, #22293a);
}

/* Hide legacy stock structure if a widget injects it */
.sep-order-placed .page-title,
.sep-order-placed .order-completed::before {
    display: none !important;
}

@media (max-width: 767px) {
    .sep-order-placed .page-body {
        padding: 32px 16px 56px;
    }

    .sep-order-placed__title {
        font-size: 24px;
    }

    .sep-order-placed__copy {
        font-size: 15px;
    }
}

/* Remaining balance card placeholder — TODO(funding-engine) */
.sep-remaining-balance {
    background: var(--sep-card);
    border: 1px solid var(--sep-border);
    border-radius: var(--sep-r-card);
    padding: 16px 20px;
    font-size: 14px;
    color: var(--sep-body);
    width: 100%;
    box-sizing: border-box;
    text-align: left;
}

.sep-remaining-balance b {
    color: var(--sep-ink);
}

.sep-remaining-balance .sub {
    color: var(--sep-muted);
}

/* ---------- Account area ---------- */
.customer-pages-body .page-title,
.account-page .page-title {
    text-align: left;
}

.block-account-navigation {
    background: var(--sep-card);
    border: 1px solid var(--sep-border);
    border-radius: var(--sep-r-card);
    padding: 18px 20px;
    float: none;
    width: auto;
}

.block-account-navigation .title {
    background: none;
    border: none;
    font: 800 15px var(--sep-font);
    color: var(--sep-ink);
    text-transform: none;
    padding: 0 0 10px;
}

.block-account-navigation .list li a {
    font-size: 14.5px;
    color: var(--sep-body);
    padding: 8px 0;
    display: block;
}

.block-account-navigation .list li a:hover,
.block-account-navigation .list li.active a,
.block-account-navigation .list li a.active {
    color: var(--brand-accent);
    font-weight: 700;
    background: none;
}

.account-page .fieldset,
.account-page .section {
    background: var(--sep-card);
    border: 1px solid var(--sep-border);
    border-radius: var(--sep-r-panel);
    padding: 22px 24px;
    margin: 0 0 18px;
    text-align: left;
}

.account-page .fieldset .title {
    background: none;
    border: none;
    padding: 0 0 12px;
    margin: 0;
    text-align: left;
}

.account-page .fieldset .title strong {
    font: 800 16px var(--sep-font);
    color: var(--sep-ink);
    text-transform: none;
}

.account-page .inputs {
    text-align: left;
    white-space: normal;
}

.account-page .inputs label {
    display: block;
    float: none;
    width: auto;
    margin: 0 0 6px;
    text-align: left;
    font: 600 13.5px var(--sep-font);
    color: var(--text-nav);
}

/* Checkbox preference rows (marketing / CC secondary email): keep box + label on one line. */
.account-page .inputs.accept-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    text-align: left;
}

.account-page .inputs.accept-consent > * {
    display: inline;
    line-height: 1.4;
}

.account-page .inputs.accept-consent input[type="checkbox"] {
    flex: none;
    margin: 3px 0 0;
}

.account-page .inputs.accept-consent label {
    display: inline;
    float: none;
    width: auto;
    margin: 0;
    font-weight: 500;
    cursor: pointer;
}

/* Order history cards */
.order-list .section.order-item,
.order-list .order-item {
    background: var(--sep-card);
    border: 1px solid var(--sep-border);
    border-radius: var(--sep-r-control);
    padding: 14px 16px;
    margin-bottom: 12px;
}

.order-list .order-item .title {
    background: none;
    border: none;
    padding: 0 0 6px;
}

.order-list .order-item .title strong {
    font: 700 14.5px var(--sep-font);
    color: var(--sep-ink);
    text-transform: none;
}

.order-list .order-item .info {
    font-size: 13.5px;
    color: var(--sep-muted);
    border: none;
    margin: 0 0 8px;
    padding: 0;
}

/* Status chip recipe for order states */
.sep-status-chip {
    display: inline-block;
    background: var(--sep-positive-tint);
    color: var(--sep-positive-fg);
    font: 700 12px var(--sep-font);
    border-radius: var(--sep-r-badge);
    padding: 3px 9px;
}

/* ---------- Footer (redesign: navy band, columns, mobile accordion) ---------- */
.footer.sep-footer {
    --footer-bg: #203864;
    --footer-text: #F7F9FC;
    --footer-muted: #AAB2C2;
    --footer-divider: rgba(247, 249, 252, 0.14);
    --footer-divider-subtle: rgba(247, 249, 252, 0.10);
    --footer-separator: rgba(247, 249, 252, 0.22);
    background: var(--footer-bg);
    color: var(--footer-text);
    text-align: left;
    margin-top: 48px;
    padding: 36px 0 20px;
}

html[data-theme="dark"] .footer.sep-footer {
    --footer-bg: #0f1521;
}

.sep-footer__inner {
    max-width: var(--page-max);
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
    padding: 0 var(--gutter);
    display: block;
}

.sep-footer__grid {
    display: grid;
    /* 200px logo + one max-content track per footer-menu column; ~48px gap; left-aligned */
    grid-template-columns: 200px repeat(var(--sep-footer-nav-cols, 2), max-content);
    column-gap: 48px;
    row-gap: 48px;
    justify-content: start;
    align-items: start;
}

.sep-footer__logos {
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
    justify-content: flex-start;
    padding-top: 2px;
    order: -1;
    margin: 0;
    padding-inline: 0;
}

/* Desktop only — space after logo column so nav groups do not cluster against it */
@media (min-width: 1101px) {
    .sep-footer__logos {
        margin-inline-end: 48px;
    }
}

.sep-footer__logo {
    height: auto;
    display: block;
}

.sep-footer__logo--primary {
    width: 168px;
}

.sep-footer--unfunded .sep-footer__logo--primary {
    width: 220px;
    max-width: 100%;
    height: auto;
}

/* Footer is dark navy — prefer white lockup unless light theme surface changes */
.sep-footer .sep-store-logo--light { display: none; }
.sep-footer .sep-store-logo--dark { display: inline-block; }
html[data-theme="dark"] .sep-footer .sep-store-logo--light { display: none; }
html[data-theme="dark"] .sep-footer .sep-store-logo--dark { display: inline-block; }

.sep-footer__logo--js {
    width: 104px;
}

.sep-footer__col {
    min-width: 0;
}

/* Extra spacing between navigation groups (beyond the 48px column-gap) */
.sep-footer__col + .sep-footer__col {
    margin-inline-start: 48px;
}

.sep-footer__heading {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--footer-muted);
    margin: 0 0 12px;
    font-family: var(--sep-font);
}

.sep-footer__accordion-btn {
    display: none;
}

.sep-footer__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.sep-footer__list a,
.sep-footer__list span {
    color: var(--footer-text);
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    padding: 5px 0;
    display: inline-flex;
    align-items: center;
    min-height: 0;
}

.sep-footer__list a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
    color: var(--footer-text);
}

.sep-footer__legal-row {
    margin-top: 30px;
    padding-top: 14px;
    border-top: 1px solid var(--footer-divider);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 16px;
    justify-content: space-between;
}

.sep-footer__legal {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 12px;
    min-width: 0;
}

.sep-footer__legal a,
.sep-footer__legal span {
    color: var(--footer-muted);
    font-size: 12px;
    font-weight: 400;
    text-decoration: none;
    padding: 2px 0;
}

.sep-footer__legal a:hover {
    color: var(--footer-text);
}

.sep-footer__legal-rule {
    width: 1px;
    height: 11px;
    background: var(--footer-separator);
    display: inline-block;
    flex-shrink: 0;
}

.sep-footer__copyright {
    color: var(--footer-muted);
    font-size: 12px;
    font-weight: 400;
    white-space: nowrap;
    flex-shrink: 0;
    margin-left: auto;
    text-align: right;
}

.sep-footer__powered-by,
.sep-footer__powered-by a {
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
}

.sep-footer__powered-by a {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.sep-footer__powered-by a:hover {
    color: var(--footer-text);
}

.sep-footer__tax {
    margin-top: 10px;
    color: var(--footer-muted);
    font-size: 12px;
}

/* Tablet footer — 768px–1100px (Galaxy Tab / iPad / iPad Pro)
   Two equal columns; logos move below. Final guards at file end reinforce this. */
@media (max-width: 1100px) {
    .sep-footer__grid,
    .sep-footer--unfunded .sep-footer__grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        column-gap: 48px;
        row-gap: 40px;
        justify-content: stretch;
        align-items: start;
    }

    .sep-footer__col {
        min-width: 0;
        max-width: 100%;
    }

    .sep-footer__col + .sep-footer__col {
        margin-inline-start: 0;
    }

    .sep-footer__heading {
        white-space: normal;
        overflow-wrap: normal;
        word-break: normal;
    }

    .sep-footer__list a,
    .sep-footer__list span {
        white-space: normal;
        overflow-wrap: break-word;
        word-break: normal;
    }

    .sep-footer__logos {
        grid-column: 1 / -1;
        justify-self: stretch;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        gap: 0;
        flex-wrap: wrap;
        padding: 0;
        margin: 0;
        order: 99;
    }

    .sep-footer__logos .sep-footer-logo-slot,
    .sep-footer__logos .sep-footer-logo,
    .sep-footer__logos .sep-footer__logo {
        margin: 0;
        padding: 0;
    }
}

/* Mobile footer accordion — <768px */
@media (max-width: 767px) {
    .sep-footer__grid,
    .sep-footer--unfunded .sep-footer__grid {
        grid-template-columns: 1fr;
        column-gap: 0;
        row-gap: 0;
    }

    .sep-footer__col {
        border-bottom: 1px solid var(--footer-divider-subtle);
    }

    .sep-footer__col:last-of-type {
        border-bottom: none;
    }

    .sep-footer__heading {
        display: none;
    }

    .sep-footer__accordion-btn {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        width: 100%;
        min-height: 44px;
        padding: 0;
        margin: 0;
        background: none;
        border: none;
        cursor: pointer;
        text-align: left;
        color: var(--footer-muted);
        font-size: 13px;
        font-weight: 700;
        letter-spacing: .08em;
        text-transform: uppercase;
        font-family: var(--sep-font);
    }

    .sep-footer__accordion-btn:hover {
        color: var(--footer-text);
    }

    .sep-footer__chevron {
        display: inline-block;
        width: 9px;
        height: 9px;
        border-right: 2px solid currentColor;
        border-bottom: 2px solid currentColor;
        transform: rotate(45deg);
        transition: transform .18s ease;
        margin-top: 1px;
        flex-shrink: 0;
    }

    .sep-footer__accordion-btn[aria-expanded="true"] .sep-footer__chevron {
        transform: rotate(-135deg);
        margin-top: -1px;
    }

    .sep-footer__list {
        display: none;
    }

    .sep-footer__list.is-open {
        display: flex;
    }

    .sep-footer__list a,
    .sep-footer__list span {
        min-height: 44px;
        width: 100%;
        padding: 0;
    }

    .sep-footer__logos {
        gap: 0;
        margin: 0 !important;
        padding: 0 !important;
        padding-inline: 0 !important;
        margin-inline: 0 !important;
    }

    .sep-footer__logo--primary {
        width: 150px;
    }

    .sep-footer--unfunded .sep-footer__logo--primary {
        width: 180px;
    }

    .sep-footer__logo--js {
        width: 92px;
    }

    .sep-footer__legal-row {
        margin-top: 26px;
        padding-top: 6px;
        padding-inline: 0;
        margin-inline: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .sep-footer__legal {
        flex-direction: column;
        width: 100%;
        gap: 0;
    }

    /* Hide desktop pipe separators — must beat `.sep-footer__legal span` specificity */
    .sep-footer__legal .sep-footer__legal-rule {
        display: none;
    }

    .sep-footer__legal a,
    .sep-footer__legal > span:not(.sep-footer__legal-rule) {
        min-height: 32px;
        width: 100%;
        display: flex;
        align-items: center;
    }

    .sep-footer__copyright {
        text-align: center;
        margin-left: 0;
        margin-top: 16px;
        padding: 0;
        white-space: nowrap;
    }
}

/* ---------- Header dropdowns (curved attached panels) ---------- */
.sep-dropdown {
    position: relative;
    list-style: none;
}

.sep-dropdown__toggle {
    background: none;
    border: none;
    font: 600 14.5px var(--sep-font);
    color: var(--text-nav);
    cursor: pointer;
    padding: 10px 2px 8px;
}

.sep-dropdown__panel {
    display: none;
    position: absolute;
    top: 100%;
    right: -8px;
    min-width: 220px;
    max-width: 320px;
    background: var(--sep-card);
    border: 1px solid var(--sep-border);
    border-radius: 16px 0 16px 16px;
    box-shadow:
        0 10px 14px rgba(20, 30, 60, .10),
        0 24px 40px rgba(20, 30, 60, .12);
    padding: 8px;
    z-index: 50;
    filter: drop-shadow(0 10px 14px rgba(20, 30, 60, .08));
}

.sep-dropdown__panel::before {
    content: "";
    position: absolute;
    bottom: 100%;
    left: -1px;
    right: -1px;
    height: 10px;
    background: var(--sep-card);
    border: 1px solid var(--sep-border);
    border-bottom: none;
    border-radius: 16px 16px 0 0;
}

.sep-dropdown.is-open .sep-dropdown__panel {
    display: flex;
    flex-direction: column;
}

.sep-dropdown__panel a {
    display: block;
    padding: 11px 12px;
    font: 600 14px/1.35 var(--sep-font);
    color: var(--sep-body);
    text-decoration: none;
    white-space: nowrap;
    border-radius: 9px;
}

.sep-dropdown__panel a:hover {
    background: var(--sep-field);
    color: var(--brand-accent);
}

/*
 * My Account menu — L-shaped attached card (design):
 * white trigger tab on the top-right fused to a wider body,
 * with a concave notch where the tab meets the panel.
 */
.sep-header-action--account.is-open {
    /* Shadow on the panel only — filter on the li shifts/repaints the trigger */
    filter: none;
    z-index: 60;
}

.sep-header-action--account.is-open > .sep-dropdown__toggle.sep-header-action__account-desktop {
    position: relative;
    z-index: 62;
    background: var(--sep-card, #fff);
    border: 1px solid var(--sep-border, #e8ebf1);
    border-bottom-color: var(--sep-card, #fff);
    border-radius: 14px 14px 0 0;
    padding: 10px 12px 10px;
    margin-bottom: -1px;
    box-shadow: none;
}

/* Concave notch: left of the tab, where it steps down into the wider body */
.sep-header-action--account.is-open > .sep-dropdown__toggle.sep-header-action__account-desktop::before {
    content: "";
    position: absolute;
    left: -15px;
    bottom: -1px;
    width: 15px;
    height: 15px;
    background: radial-gradient(
        circle at 0 0,
        transparent 14.5px,
        var(--sep-card, #fff) 15px
    );
    pointer-events: none;
}

/* Soft border arc on the concave (matches panel stroke) */
.sep-header-action--account.is-open > .sep-dropdown__toggle.sep-header-action__account-desktop::after {
    content: "";
    position: absolute;
    left: -16px;
    bottom: -1px;
    width: 16px;
    height: 16px;
    background: radial-gradient(
        circle at 0 0,
        transparent 14.5px,
        var(--sep-border, #e8ebf1) 14.5px,
        var(--sep-border, #e8ebf1) 15.5px,
        transparent 16px
    );
    pointer-events: none;
}

.sep-header-action--account .sep-dropdown__panel.sep-account-panel {
    top: 100%;
    right: 0;
    /* Hug link text — no wide empty column on the right */
    width: max-content;
    min-width: 0;
    max-width: min(240px, calc(100vw - 24px));
    padding: 8px 8px 12px;
    border-radius: 16px 0 16px 16px;
    border: 1px solid var(--sep-border, #e8ebf1);
    background: var(--sep-card, #fff);
    box-shadow:
        0 10px 14px rgba(20, 30, 60, .10),
        0 24px 40px rgba(20, 30, 60, .12);
    filter: none;
}

/* Kill the generic full-width bridge — tab is the real cap */
.sep-header-action--account .sep-dropdown__panel.sep-account-panel::before {
    content: none;
    display: none;
}

.sep-account-panel {
    min-width: 0;
    width: max-content;
    text-align: left;
}

.sep-account-panel__group {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    text-align: left;
}

.sep-account-panel__rule {
    height: 1px;
    background: var(--divider, #e8ebf1);
    margin: 6px 4px;
    border: none;
}

.sep-account-panel__rule--auth {
    background: #e8ebf1;
    margin: 8px 4px 10px;
}

.sep-account-panel a[role="menuitem"],
.sep-dropdown__panel.sep-account-panel a[role="menuitem"] {
    display: block;
    padding: 11px 12px;
    border-radius: 8px;
    font: 600 14px/1.35 var(--sep-font);
    color: var(--sep-ink, #1e2740);
    text-decoration: none;
    text-align: left !important;
    white-space: nowrap;
    background: transparent;
}

.sep-account-panel a[role="menuitem"]:hover,
.sep-account-panel a[role="menuitem"]:focus-visible,
.sep-dropdown__panel.sep-account-panel a[role="menuitem"]:hover,
.sep-dropdown__panel.sep-account-panel a[role="menuitem"]:focus-visible {
    background: var(--sep-surface-2, #f4f5f8);
    color: var(--sep-ink, #1e2740);
}

.sep-account-panel a[role="menuitem"]:focus-visible {
    outline: 2px solid var(--magenta);
    outline-offset: 1px;
}

.sep-account-panel__logout,
.sep-account-panel__login {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    box-sizing: border-box;
    padding: 11px 12px !important;
    border: none !important;
    border-radius: 9px !important;
    font: 700 14px/1.35 var(--sep-font) !important;
    text-decoration: none;
    cursor: pointer;
    text-align: center !important;
}

.sep-account-panel__logout,
.sep-dropdown__panel.sep-account-panel a.sep-account-panel__logout {
    background: #f8ebe7 !important;
    color: #8c3a32 !important;
    border-radius: 9px !important;
    justify-content: center;
    text-align: center !important;
}

.sep-account-panel__logout:hover,
.sep-account-panel__logout:focus-visible,
.sep-dropdown__panel.sep-account-panel a.sep-account-panel__logout:hover,
.sep-dropdown__panel.sep-account-panel a.sep-account-panel__logout:focus-visible {
    background: #f3ddd6 !important;
    color: #7a3029 !important;
}

.sep-account-panel__login {
    background: var(--magenta) !important;
    color: #fff !important;
}

.sep-account-panel__login:hover {
    background: var(--brand-cta-hover) !important;
    color: #fff !important;
}

html[data-theme="dark"] .sep-header-action--account.is-open > .sep-dropdown__toggle.sep-header-action__account-desktop,
html[data-theme="dark"] .header-links #topcartlink.is-open > a.ico-cart.sep-header-action__btn,
html[data-theme="dark"] .header-links .sep-header-action--basket.is-open > a.ico-cart.sep-header-action__btn {
    background: var(--sep-card) !important;
    background-color: var(--sep-card) !important;
    border-color: var(--sep-border-strong);
    border-bottom-color: var(--sep-card);
}

html[data-theme="dark"] .header-links #topcartlink.is-open > a.ico-cart.sep-header-action__btn::before,
html[data-theme="dark"] .header-links .sep-header-action--basket.is-open > a.ico-cart.sep-header-action__btn::before {
    background: radial-gradient(
        circle at 0 0,
        transparent 14.5px,
        var(--sep-card) 15px
    );
}

html[data-theme="dark"] .header-links #topcartlink.is-open > a.ico-cart.sep-header-action__btn::after,
html[data-theme="dark"] .header-links .sep-header-action--basket.is-open > a.ico-cart.sep-header-action__btn::after {
    background: radial-gradient(
        circle at 0 0,
        transparent 14.5px,
        var(--sep-border-strong) 14.5px,
        var(--sep-border-strong) 15.5px,
        transparent 16px
    );
}

html[data-theme="dark"] .sep-header-action--account.is-open > .sep-dropdown__toggle.sep-header-action__account-desktop::before {
    background: radial-gradient(
        circle at 0 0,
        transparent 14.5px,
        var(--sep-card) 15px
    );
}

html[data-theme="dark"] .sep-header-action--account.is-open > .sep-dropdown__toggle.sep-header-action__account-desktop::after {
    background: radial-gradient(
        circle at 0 0,
        transparent 14.5px,
        var(--sep-border-strong) 14.5px,
        var(--sep-border-strong) 15.5px,
        transparent 16px
    );
}

html[data-theme="dark"] .sep-account-panel__logout,
html[data-theme="dark"] .sep-dropdown__panel.sep-account-panel a.sep-account-panel__logout {
    background: color-mix(in srgb, var(--sep-error-tint) 80%, var(--sep-card)) !important;
    color: var(--sep-error-fg) !important;
}

/* ---------- Mobile full-screen drill-in nav ---------- */
.sep-mobile-nav {
    position: fixed;
    inset: 0;
    z-index: 80;
    background: var(--sep-card, #fff);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    text-align: left; /* override inherited page centering */
}

.sep-mobile-nav[hidden] {
    display: none !important;
}

.sep-mobile-nav__sheet {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
}

.sep-mobile-nav__chrome {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex: 0 0 auto;
    min-height: 56px;
    padding: 8px 16px;
    border-bottom: 1px solid var(--sep-border);
}

.sep-mobile-nav__logo {
    min-width: 0;
    flex: 1;
}

.sep-mobile-nav__logo a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

/* Mobile drawer / search: Student Portal lockup only — hide institution (e.g. INSPIRE) store logos */
.sep-mobile-nav__logo .sep-store-logo:not(.sep-theme-logo),
.sep-mobile-search__logo .sep-store-logo:not(.sep-theme-logo),
.sep-mobile-nav__logo .sep-store-logo-fallback,
.sep-mobile-search__logo .sep-store-logo-fallback {
    display: none !important;
}

.sep-mobile-nav__logo .sep-theme-logo,
.sep-mobile-search__logo .sep-theme-logo {
    display: inline-block !important;
    max-height: 36px;
    width: auto;
}

html[data-theme="dark"] .sep-mobile-nav__logo .sep-store-logo--light.sep-theme-logo,
html[data-theme="dark"] .sep-mobile-search__logo .sep-store-logo--light.sep-theme-logo {
    display: none !important;
}

html[data-theme="dark"] .sep-mobile-nav__logo .sep-store-logo--dark.sep-theme-logo,
html[data-theme="dark"] .sep-mobile-search__logo .sep-store-logo--dark.sep-theme-logo {
    display: inline-block !important;
}

html:not([data-theme="dark"]) .sep-mobile-nav__logo .sep-store-logo--dark.sep-theme-logo,
html:not([data-theme="dark"]) .sep-mobile-search__logo .sep-store-logo--dark.sep-theme-logo {
    display: none !important;
}

.sep-mobile-nav__logo img,
.sep-mobile-nav__logo .header-logo img {
    max-height: 36px;
    width: auto;
}

.sep-mobile-nav__close {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: none;
    color: var(--sep-ink);
    cursor: pointer;
    border-radius: 8px;
}

.sep-mobile-nav__levels {
    position: relative;
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
}

.sep-mobile-nav__level {
    display: none;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 12px 16px 24px;
    background: var(--sep-card, #fff);
    height: 100%;
    box-sizing: border-box;
    text-align: left;
}

.sep-mobile-nav__level.is-active {
    display: block;
}

.sep-mobile-nav__level[hidden] {
    display: none !important;
}

.sep-mobile-nav__level.is-active:not([hidden]) {
    display: block;
}

.sep-mobile-nav__label {
    margin: 4px 0 8px;
    font: 700 12px var(--sep-font);
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--sep-muted);
    text-align: left;
}

.sep-mobile-nav__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.sep-mobile-nav__list--nested {
    padding: 0;
}

.sep-mobile-nav__link,
.sep-mobile-nav__drill {
    font: 600 16px var(--sep-font);
    color: var(--sep-body);
    text-decoration: none;
    padding: 14px 0;
    min-height: 48px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    background: none;
    border: none;
    border-bottom: 1px solid var(--sep-border);
    cursor: pointer;
    text-align: left;
}

.sep-mobile-nav__link--accent {
    color: var(--magenta, #c2185b);
    font-weight: 700;
}

.sep-mobile-nav__link--plain {
    justify-content: flex-start;
}

.sep-mobile-nav__explore {
    margin-top: 20px;
    padding-top: 4px;
}

.sep-mobile-nav__chevron {
    width: 9px;
    height: 9px;
    border-right: 2px solid var(--sep-muted);
    border-bottom: 2px solid var(--sep-muted);
    transform: rotate(-45deg);
    flex-shrink: 0;
}

.sep-mobile-nav__back {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
    margin: 0 0 10px;
    padding: 8px 0;
    min-height: 44px;
    border: none;
    background: none;
    font: 600 15px var(--sep-font);
    color: var(--brand-link, var(--brand-accent));
    cursor: pointer;
    text-align: left;
}

.sep-mobile-nav__heading {
    margin: 0 0 12px;
    font: 800 22px/1.25 var(--sep-font);
    color: var(--sep-ink);
    text-align: left;
}

.sep-mobile-nav__shop-all {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    box-sizing: border-box;
    margin: 0 0 16px;
    padding: 14px 16px;
    border-radius: 9px;
    background: color-mix(in srgb, var(--brand-accent, #1a3a6b) 8%, #fff);
    color: var(--brand-link, var(--brand-accent));
    font: 700 15px var(--sep-font);
    text-decoration: none;
    text-align: left;
}

.sep-mobile-nav__shop-all .sep-mobile-nav__chevron {
    border-color: var(--brand-link, var(--brand-accent));
}

.sep-mobile-nav__group {
    margin: 16px 0 4px;
    font: 700 12px var(--sep-font);
    color: var(--sep-ink);
    text-transform: uppercase;
    letter-spacing: .04em;
    text-align: left;
}

.sep-mobile-nav__group-block .sep-mobile-nav__link {
    font-size: 15px;
    font-weight: 500;
    color: var(--sep-muted);
}

.sep-mobile-nav__footer {
    flex: 0 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid var(--sep-border);
    background: var(--sep-card, #fff);
}

.sep-mobile-nav__footer-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 14px;
    box-sizing: border-box;
    border: none;
    border-radius: 9px;
    background: color-mix(in srgb, var(--brand-accent, #1a3a6b) 10%, #fff);
    color: var(--brand-link, var(--brand-accent, #1a3a6b));
    font: 700 15px var(--sep-font);
    text-decoration: none;
    text-align: center;
    cursor: pointer;
}

.sep-mobile-nav__footer-btn:hover {
    background: color-mix(in srgb, var(--brand-accent, #1a3a6b) 16%, #fff);
    color: var(--brand-link, var(--brand-accent, #1a3a6b));
}

.sep-mobile-nav__footer-btn--logout,
.sep-mobile-nav__footer-btn--logout:hover,
.sep-mobile-nav__footer-btn--logout:focus-visible {
    color: var(--magenta, #c2185b);
}

.sep-mobile-nav__footer-btn--theme .sep-theme-toggle__icon {
    display: none !important;
}

html[data-theme="dark"] .sep-mobile-nav__shop-all,
html[data-theme="dark"] .sep-mobile-nav__footer-btn {
    background: color-mix(in srgb, var(--brand-accent, #6ea8ff) 18%, var(--sep-card, #1a1f2e));
}

html[data-theme="dark"] .sep-mobile-nav__footer-btn--logout,
html[data-theme="dark"] .sep-mobile-nav__footer-btn--logout:hover {
    color: #f06292;
}

/* ---------- Homepage ---------- */
.home-page .page-body {
    text-align: left;
}

.home-page--unfunded .page-body {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding-top: 28px;
    padding-bottom: 48px;
}

.home-page--unfunded .sep-promos,
.home-page--unfunded .sep-home-section,
.home-page--unfunded .sep-campus-topics,
.home-page--unfunded .sep-campaign,
.home-page--unfunded .sep-hub-teaser,
.home-page--unfunded .sep-feature-cards-wrap,
.home-page--unfunded .sep-banner {
    margin: 0;
}

.sep-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 24px;
    align-items: stretch;
    margin-bottom: 40px;
}

.sep-hero__card {
    background: var(--sep-card);
    border: 1px solid var(--sep-border);
    border-radius: var(--sep-r-panel);
    padding: 36px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: left;
}

.sep-hero__welcome {
    font-size: 15px;
    color: var(--sep-muted);
}

.sep-hero__headline {
    font: 800 34px/1.15 var(--sep-font);
    letter-spacing: -.5px;
    color: var(--sep-ink);
    margin: 0;
}

.sep-hero__headline .amount {
    color: var(--sep-positive-fg);
}

.sep-hero__expiry {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--sep-attention-tint);
    border: 1px solid var(--sep-attention-border);
    border-radius: var(--sep-r-control);
    padding: 12px 16px;
    font-size: 14.5px;
    color: var(--sep-attention-fg);
    width: fit-content;
    max-width: 100%;
}

.sep-hero__expiry .icon {
    width: 18px;
    height: 18px;
    flex: none;
    border-radius: 50%;
    background: var(--sep-attention);
    color: #fff;
    font: 800 12px/18px var(--sep-font);
    text-align: center;
}

.sep-hero__ctas {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 4px;
}

.sep-hero__ctas .primary {
    background: var(--brand-cta);
    color: #fff;
    font: 700 15.5px var(--sep-font);
    padding: 14px 26px;
    border-radius: var(--sep-r-control);
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.sep-hero__ctas .primary:hover {
    background: var(--brand-cta-hover);
}

.sep-hero__ctas .secondary {
    background: none;
    border: 1.5px solid var(--sep-border-strong);
    color: var(--text-nav);
    font: 700 15.5px var(--sep-font);
    padding: 14px 26px;
    border-radius: var(--sep-r-control);
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.sep-hero__ctas .secondary:hover {
    background: var(--sep-field);
}

.sep-hero__photo {
    border-radius: var(--sep-r-panel);
    border: 1px solid var(--sep-border);
    background: repeating-linear-gradient(45deg, #eef1f6, #eef1f6 12px, #e5e9f0 12px, #e5e9f0 24px);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 240px;
}

.sep-hero__photo .label {
    font-family: ui-monospace, Menlo, monospace;
    font-size: 13px;
    color: var(--sep-caption);
    background: rgba(255, 255, 255, .8);
    padding: 6px 12px;
    border-radius: var(--sep-r-badge);
}

.sep-hero__aside {
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: 100%;
    min-height: 0;
}

.sep-hero-info {
    --sep-info-bg: #D6E8FA;
    --sep-info-portrait: #C4DDF5;
    flex: 1 1 0;
    min-height: 172px;
    background: var(--sep-info-bg);
    border: 1px solid var(--sep-border);
    border-radius: var(--sep-r-panel);
    padding: 20px 22px;
    text-decoration: none;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    box-sizing: border-box;
}

.sep-hero-info:hover {
    box-shadow: 0 6px 20px rgba(20, 30, 60, .10);
}

.sep-hero-info__text {
    position: relative;
    z-index: 2;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 38ch;
}

.sep-hero-info__headline {
    font: 800 18px/1.25 var(--sep-font);
    color: var(--sep-ink);
}

.sep-hero-info__headline span {
    color: var(--brand-link);
    font-size: 25px;
    line-height: 0;
    vertical-align: -1px;
}

.sep-hero-info__body {
    font-size: 14px;
    line-height: 1.5;
    color: var(--sep-muted);
}

.sep-hero-info__link {
    font: 700 14px var(--sep-font);
    color: var(--brand-link);
    margin-top: 4px;
}

.sep-hero-info::after {
    content: "";
    position: absolute;
    width: 190px;
    height: 190px;
    border-radius: 50%;
    right: -2px;
    bottom: 50%;
    transform: translateY(50%);
    background: var(--sep-info-portrait);
    z-index: 0;
}

.sep-promos__reassurance {
    margin-top: 18px;
}

.sep-value-props {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px 20px;
    background: var(--sep-field, #f4f5f8);
    border: 1px solid var(--sep-border);
    border-radius: 12px;
    padding: 14px 20px;
    margin: 0;
}

.sep-value-props__item {
    display: flex;
    align-items: center;
    gap: 8px;
    font: 600 13.5px/1.35 var(--sep-font);
    color: var(--sep-ink);
}

.sep-value-props__check {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--sep-positive-tint, #eef6f1);
    color: var(--sep-positive-fg, #155e3c);
    font: 700 11px/18px var(--sep-font);
    text-align: center;
}

.home-page--unfunded .sep-value-props {
    margin-top: 0;
}

/* Homepage campaign / image banners: full-bleed media, no sage side panel */
.sep-campaign,
.sep-banner-campaign,
.home-page .sep-banner-image,
.home-page a.sep-banner-image {
    display: block !important;
    width: 100%;
    max-width: 100%;
    margin: 0 0 1rem;
    overflow: hidden;
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    border-radius: 0;
    grid-template-columns: none !important;
}

.sep-campaign__media {
    position: relative;
    display: block;
    width: 100%;
    min-height: 0;
    background: transparent !important;
    background-color: transparent !important;
}

.sep-campaign__media > a.sep-banner-link,
.sep-campaign__media picture,
.home-page .sep-banner-image picture,
.home-page a.sep-banner-image picture {
    display: block;
    width: 100%;
}

.sep-campaign__media img,
.home-page .sep-banner-image img,
.home-page a.sep-banner-image img,
.home-page .sep-banner-campaign img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    display: block;
    object-fit: cover;
    object-position: center;
}

/* Optional HTML copy sits on the image — never as a green sibling column */
.sep-campaign__copy {
    position: absolute;
    left: 0;
    right: auto;
    bottom: 0;
    top: auto;
    z-index: 2;
    max-width: min(42rem, 92%);
    padding: 1.25rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 12px;
    justify-content: flex-end;
    pointer-events: none;
    background: transparent !important;
}

.sep-campaign__copy .sep-campaign__cta {
    pointer-events: auto;
}

.sep-campaign__eyebrow {
    margin: 0;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #3C6136;
}

.sep-campaign__title {
    margin: 0;
    font: 800 32px/1.15 var(--sep-font);
    letter-spacing: -.4px;
    color: var(--sep-ink);
}

.sep-campaign__text {
    margin: 0;
    font-size: 15.5px;
    line-height: 1.5;
    color: var(--sep-muted);
    max-width: 44ch;
}

.sep-campaign__cta {
    align-self: flex-start;
    margin-top: 6px;
    background: var(--sep-accent, #C8235A);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 13px 24px;
    font: 700 15px var(--sep-font);
    text-decoration: none;
    white-space: nowrap;
}

.sep-campaign__cta:hover {
    filter: brightness(1.05);
    color: #fff;
}

.sep-campus-topics__rail {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding-bottom: 2px;
}

.sep-campus-topics__rail::-webkit-scrollbar {
    display: none;
}

.sep-campus-topics__card {
    flex: 0 0 190px;
    scroll-snap-align: start;
    background: var(--sep-card);
    border: 1px solid var(--sep-border);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.sep-campus-topics__card:hover {
    border-color: var(--sep-border-strong, var(--sep-border));
    box-shadow: 0 6px 18px rgba(20, 30, 60, .10);
    color: inherit;
}

.sep-campus-topics__media {
    display: block;
    height: 150px;
    overflow: hidden;
    background: var(--sep-field);
}

.sep-campus-topics__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sep-campus-topics__label {
    padding: 14px 16px 16px;
    font: 800 16px/1.25 var(--sep-font);
    color: var(--sep-ink);
}

.sep-hub-teaser {
    margin: 40px 0 48px;
}

.sep-hub-teaser__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.sep-hub-teaser-card {
    background: var(--sep-card);
    border: 1px solid var(--sep-border);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.sep-hub-teaser-card__link {
    display: flex;
    flex-direction: column;
    flex: 1;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.sep-hub-teaser-card__link:hover .sep-hub-teaser-card__title,
.sep-hub-teaser-card__link:focus-visible .sep-hub-teaser-card__title {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.sep-hub-teaser-card__link:focus-visible {
    outline: 2px solid var(--magenta, #c8235a);
    outline-offset: 2px;
}

.sep-hub-teaser-card__media {
    display: block;
    aspect-ratio: 16 / 9;
    background: var(--sep-field);
    border-bottom: 1px solid var(--sep-border);
    overflow: hidden;
}

.sep-hub-teaser-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sep-hub-teaser-card__body {
    padding: 16px 18px 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.sep-hub-teaser-card__cat {
    margin: 0;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--magenta, #C8235A);
}

.sep-hub-teaser-card__title {
    margin: 0;
    font: 800 16px/1.35 var(--sep-font);
    color: var(--sep-ink);
}

.sep-hub-teaser-card__by {
    margin: 0;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--sep-muted);
}

.sep-hub-teaser-card__summary {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    color: var(--sep-muted);
}

.sep-hub-teaser-card__foot {
    margin-top: auto;
    padding-top: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--sep-muted);
}

.sep-hub-teaser-card__cta {
    font-size: 13px;
    font-weight: 700;
    color: var(--magenta, #C8235A);
}

@media (max-width: 1023px) {
    .sep-campaign__title {
        font-size: 25px;
    }

    .sep-hub-teaser__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .sep-hub-teaser__grid {
        grid-template-columns: 1fr;
    }

    .home-page--unfunded .page-body {
        gap: 28px;
        padding-top: 18px;
    }
}

.sep-promos {
    margin: 0 0 40px;
}

.sep-section-head--stack {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
}

.sep-section-intro {
    margin: 0;
    font-size: 14.5px;
    color: var(--sep-muted);
    max-width: 62ch;
}

.sep-promos__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    align-items: stretch;
}

.home-page--unfunded .sep-promos__grid {
    grid-template-columns: 1.35fr 1fr 1fr;
}

.sep-promo-card {
    background: var(--sep-card);
    border: 1px solid var(--sep-border);
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    transition: box-shadow .15s ease;
}

.sep-promo-card:hover {
    box-shadow: 0 6px 20px rgba(20, 30, 60, .12);
}

.sep-promo-card__media {
    height: 150px;
    overflow: hidden;
    background: var(--sep-field);
}

.home-page--unfunded .sep-promo-card:first-child .sep-promo-card__media {
    height: 210px;
}

.sep-promo-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sep-promo-card__body {
    padding: 20px 22px 22px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.sep-promo-card__eyebrow {
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--sep-muted);
}

.sep-promo-card__title {
    font: 800 19px/1.25 var(--sep-font);
    color: var(--sep-ink);
}

.home-page--unfunded .sep-promo-card:first-child .sep-promo-card__title {
    font-size: 23px;
}

.sep-promo-card__text {
    font-size: 14px;
    line-height: 1.5;
    color: #414a5c;
}

.sep-promo-card__cta {
    margin-top: auto;
    padding-top: 12px;
    font: 700 14px var(--sep-font);
    color: var(--sep-ink);
}

.home-page--unfunded .sep-promo-card__cta {
    color: var(--magenta, #c8235a);
}

/* BCM Feature Cards — category / product rails on homepage */
.sep-feature-cards-wrap {
    margin: 0;
}

.sep-feature-cards {
    display: grid;
    gap: 18px;
}

.sep-feature-cards.layout-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

.sep-feature-cards.layout-scroller {
    display: flex;
    overflow-x: auto;
    gap: 14px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding-bottom: 2px;
}

.sep-feature-cards.layout-scroller::-webkit-scrollbar {
    display: none;
}

/* Track inside the shared rail (prev / track / next) */
.sep-feature-rail > .sep-feature-cards {
    flex: 1 1 auto;
    min-width: 0;
    scroll-behavior: smooth;
}

.sep-feature-rail > .sep-feature-cards:focus-visible {
    outline: 2px solid var(--brand-link);
    outline-offset: 2px;
}

/* Product rail: slot for the theme product card (_ProductBox) — the card supplies border/background */
.sep-feature-card--product.item-box {
    flex: 0 0 220px;
    display: block;
    float: none;
    width: auto;
    margin: 0;
    border: 0;
    border-radius: 0;
    background: none;
    overflow: visible;
}

.sep-feature-card--product.item-box > .product-item {
    height: 100%;
}

@media (max-width: 560px) {
    .sep-feature-card--product.item-box {
        flex-basis: 170px;
    }
}

.sep-feature-card--category {
    flex: 0 0 190px;
    scroll-snap-align: start;
    background: var(--sep-card);
    border: 1px solid var(--sep-border);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}

.sep-feature-card--category:hover {
    box-shadow: 0 6px 18px rgba(20, 30, 60, .10);
    color: inherit;
}

.sep-feature-card--category .sep-feature-card__media {
    display: block;
    height: 150px;
    overflow: hidden;
    background: var(--sep-field);
}

.sep-feature-card--category .sep-feature-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sep-feature-card--category .sep-feature-card__label {
    padding: 14px 16px 16px;
    font: 800 16px/1.25 var(--sep-font);
    color: var(--sep-ink);
}

.sep-feature-card--product {
    flex: 0 0 250px;
    scroll-snap-align: start;
    background: var(--sep-card);
    border: 1px solid var(--sep-border);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.sep-feature-card--product .sep-feature-card__media {
    display: block;
    aspect-ratio: 1;
    background: var(--sep-field);
    overflow: hidden;
}

.sep-feature-card--product .sep-feature-card__media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.sep-feature-card--product .sep-feature-card__body {
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.sep-feature-card__brand {
    margin: 0;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--sep-muted);
}

.sep-feature-card__title {
    margin: 0;
    font: 700 15px/1.35 var(--sep-font);
    color: var(--sep-ink);
}

.sep-feature-card__title a {
    color: inherit;
    text-decoration: none;
}

.sep-feature-card__prices {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px;
    margin-top: 2px;
}

.sep-feature-card__price {
    font: 800 16px/1.2 var(--sep-font);
    color: var(--sep-ink);
}

.sep-feature-card__old-price {
    font: 600 13px/1.2 var(--sep-font);
    color: var(--sep-muted);
    text-decoration: line-through;
}

.sep-feature-card--product .product-box-add-to-cart-button {
    margin-top: auto;
    width: 100%;
    background: var(--magenta, #c8235a) !important;
    border-radius: 10px;
    padding: 12px 14px;
}

.sep-feature-card--product .product-box-add-to-cart-button:disabled {
    opacity: .55;
    cursor: not-allowed;
}

.sep-feature-card--generic {
    display: block;
    padding: 1rem;
    background: var(--sep-field);
    color: inherit;
    text-decoration: none;
    border-radius: 12px;
}

.home-page--unfunded .sep-home-section .product-box-add-to-cart-button,
.home-page--unfunded .sep-home-section .item-box .product-box-add-to-cart-button {
    background: var(--magenta, #c8235a) !important;
    border-radius: 10px;
}

@media (max-width: 1023px) {
    .sep-promos__grid,
    .home-page--unfunded .sep-promos__grid {
        grid-template-columns: 1fr;
    }

    .sep-value-props {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sep-hero__aside {
        min-height: auto;
    }
}

@media (max-width: 767px) {
    .sep-value-props {
        padding: 12px 14px;
        gap: 10px 12px;
    }

    .sep-hero-info {
        min-height: 220px;
        align-items: flex-start;
    }

    .sep-hero-info__text {
        max-width: none;
    }
}

/* Section headings on home */
.home-page .title,
.home-page-category-grid .title,
.home-page-product-grid .title,
.bestsellers .title {
    text-align: left;
    font: 800 22px var(--sep-font);
    color: var(--sep-ink);
    text-transform: none;
    background: none;
    border: none;
    margin: 0 0 16px;
}

.home-page .title strong {
    font-weight: 800;
}

/* Category rail on home — horizontal scroll rail of uniform cards (image above label),
   matching the SEP prototype ("What can I spend it on?"). */
.home-page-category-grid .item-grid {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    padding-bottom: 2px;
    grid-template-columns: none;
}

.home-page-category-grid .item-grid::-webkit-scrollbar {
    display: none;
}

.home-page-category-grid .item-box {
    flex: 0 0 190px;
    width: 190px !important;
    margin: 0 !important;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    gap: 0;
    background: var(--sep-card);
    border: 1px solid var(--sep-border);
    border-radius: 16px;
    padding: 0;
    box-sizing: border-box;
    overflow: hidden;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.home-page-category-grid .item-box:hover {
    border-color: var(--sep-border-strong);
    box-shadow: 0 6px 18px rgba(20, 30, 60, .10);
}

.home-page-category-grid .item-box .picture {
    order: 1;
    margin: 0;
    height: 150px;
    border-radius: 0;
    overflow: hidden;
    background: var(--tint-soft, #F2F6FC);
}

.home-page-category-grid .item-box .picture a {
    display: block;
    height: 100%;
}

.home-page-category-grid .item-box .picture a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-page-category-grid .item-box .title {
    order: 2;
    margin: 0;
    padding: 14px 16px 16px;
    background: var(--sep-card);
    text-align: left;
    height: auto;
}

.home-page-category-grid .item-box .title a {
    font: 800 16px/1.25 var(--sep-font);
    color: var(--sep-ink);
    text-transform: none;
}

/* Popular-with-students product rail on home — horizontal scroll rail of 250px cards,
   matching the SEP prototype. Listing/search pages keep the wrapping grid. */
.sep-home-section .home-page-product-grid .item-grid {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    padding-bottom: 2px;
    grid-template-columns: none;
}

.sep-home-section .home-page-product-grid .item-grid::-webkit-scrollbar {
    display: none;
}

.sep-home-section .home-page-product-grid .item-box {
    flex: 0 0 250px;
    width: 250px !important;
    scroll-snap-align: start;
}

/* Resource / topic cards strip */
.sep-resources {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    margin: 40px 0 8px;
}

.sep-resource-card {
    background: var(--sep-card);
    border: 1px solid var(--sep-border);
    border-radius: var(--sep-r-card);
    padding: 20px 22px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-decoration: none;
    transition: box-shadow .15s ease;
}

.sep-resource-card:hover {
    box-shadow: var(--sep-shadow-hover);
    text-decoration: none;
}

.sep-resource-card .eyebrow {
    font: 700 12px var(--sep-font);
    color: var(--brand-cta);
    letter-spacing: .5px;
    text-transform: uppercase;
}

.sep-resource-card .headline {
    font: 700 16px/1.35 var(--sep-font);
    color: var(--sep-ink);
}

.sep-resource-card .meta {
    font-size: 13px;
    color: var(--sep-muted);
}

/* ---------- Master layout width/gutters ---------- */
.master-column-wrapper,
.master-wrapper-content {
    max-width: none;
}

.master-wrapper-content {
    width: auto;
    padding: 24px 48px 0;
    margin: 0;
    max-width: none;
}

.center-2,
.center-1 {
    margin: 0;
}

/* Two-column pages: filters sidebar + content */
@media (min-width: 1001px) {
    .master-column-wrapper {
        display: block;
    }

    .side-2 {
        float: left;
        width: 240px;
        margin: 0 28px 0 0;
    }

    .center-2 {
        float: none;
        overflow: hidden;
        width: auto;
    }
}

/* ---------- Responsive ---------- */
@media (max-width: 1099px) {
    .header,
    .header-menu {
        padding: 0 24px;
    }

    .master-wrapper-content {
        padding: 20px 24px 0;
    }

    .sep-hero {
        grid-template-columns: 1fr;
    }

    .sep-hero__photo {
        display: none;
    }

    .product-essential {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1023px) {
    .sep-pdp .sep-pdp-buy {
        position: static;
    }
}

/* Mid desktop / iPad landscape: keep logo + account greeting; search shrinks to fit. */
@media (max-width: 1400px) and (min-width: 1024px) {
    .header-lower,
    .sep-header__lower {
        gap: 16px;
    }

    .header-logo a img,
    .sep-header__logo a img {
        max-width: 220px;
        max-height: 48px;
    }

    .header-lower .header-logo,
    .header-lower .sep-header__logo {
        flex: 0 0 auto;
        max-width: 240px;
    }

    .header-lower .search-box,
    .header-lower .sep-header__search {
        flex: 1 1 0%;
        max-width: 560px;
        min-width: 160px;
        margin: 0;
    }

    .header-lower .sep-header__toolbar {
        flex: 0 0 auto;
    }
}

/* Narrow tablet 768–1023: icon-only actions (greeting too wide for this band). */
@media (max-width: 1023px) and (min-width: 768px) {
    .header-logo a img,
    .sep-header__logo a img {
        max-width: 200px;
        max-height: 44px;
    }

    .header-lower,
    .sep-header__lower {
        height: 72px;
        flex-wrap: nowrap;
        gap: 16px;
    }

    .header-lower .header-logo,
    .header-lower .sep-header__logo {
        flex: 0 0 auto;
        max-width: 200px;
        min-width: 0;
    }

    .header-lower .search-box,
    .header-lower .sep-header__search {
        flex: 1 1 0%;
        max-width: none;
        min-width: 120px;
        margin: 0;
    }

    .header-lower .sep-header__toolbar {
        flex: 0 0 auto;
        min-width: 0;
    }

    .sep-header-action__account-text,
    .sep-header-action__greeting,
    .sep-header-action__sub,
    .sep-header-action__label,
    .header-links .cart-label {
        display: none !important;
    }

    .sep-header-actions,
    .header-links,
    .header-links ul {
        gap: 8px;
    }
}

/* Mobile: hide the desktop/tablet category row — Menu entry point only */
@media (max-width: 767px) {
    .header-menu.sep-header-menu {
        display: none !important;
    }
}

@media (max-width: 767px) {
    .sep-topbar {
        display: none !important;
    }

    /* Scroll with the page — not pinned while browsing on small screens */
    .header,
    .sep-header,
    .header-menu,
    .sep-header-menu {
        padding: 0;
        position: static;
        top: auto;
        z-index: auto;
    }

    .header-lower,
    .sep-header__lower {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        height: auto;
        gap: 0;
        padding: 0 16px;
        max-width: none;
    }

    .sep-header__logo {
        display: flex;
        align-items: center;
        flex: none;
        min-height: 52px;
        padding: 6px 0;
    }

    .sep-header__toolbar {
        flex: none;
        margin-left: 0;
        justify-content: flex-start;
    }

    .header-logo a img,
    .sep-header__logo a img {
        max-width: 180px;
        max-height: 32px;
    }

    .sep-header__search--desktop {
        display: none !important;
    }

    .sep-header__toolbar {
        display: flex;
        align-items: center;
        gap: 4px;
        width: 100%;
        margin: 0;
        padding: 4px 0 8px;
        border-top: 1px solid var(--sep-border);
        min-height: 52px;
    }

    .sep-menu-toggle {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        width: auto;
        min-width: 44px;
        min-height: 44px;
        margin-right: auto;
    }

    .sep-menu-toggle__label {
        font: 600 13.5px var(--sep-font);
        color: var(--sep-ink);
    }

    .sep-mobile-search-open {
        display: inline-flex !important;
        min-width: 44px;
        min-height: 44px;
        justify-content: center;
    }

    .sep-header-actions {
        margin-left: 0;
        gap: 2px;
    }

    .header-links,
    .header-links ul {
        gap: 2px;
    }

    .sep-header-action__account-text,
    .sep-header-action__label,
    .header-links .cart-label {
        display: none !important;
    }

    .sep-header-action__btn,
    .sep-header-action__btn--icon {
        min-width: 44px;
        min-height: 44px;
        justify-content: center;
        padding: 8px;
    }

    /* Pin qty badges to the icon corner inside the 44px hit target
       (Basket label is hidden on small screens — absolute again). */
    .header-links .cart-qty,
    .header-links .wishlist-qty,
    .header-links a.ico-cart .cart-qty,
    .header-links #topcartlink a.ico-cart .cart-qty,
    .header-links a.ico-wishlist .wishlist-qty {
        position: absolute !important;
        top: 2px !important;
        right: 2px !important;
        margin: 0 !important;
        align-self: auto;
    }

    .flyout-cart.sep-flyout-cart {
        display: none !important;
    }

    .header-menu {
        padding: 0 16px;
    }

    .master-wrapper-content {
        padding: 16px 16px 0;
    }

    .sep-hero__card {
        padding: 24px;
    }

    .sep-hero__headline {
        font-size: 26px;
    }

    .cart-footer .totals {
        float: none;
        width: auto;
    }

    /* 44px touch targets */
    .header-links a,
    .top-menu > li > a,
    .button-1,
    .button-2 {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
}

/* ---------- Header extras (topbar, main menu mega panel) ---------- */
.sep-topbar {
    background: #203864;
    color: var(--on-dark, #eef2f8);
    position: relative;
    z-index: 3; /* above category menu inside sticky chrome */
}

.sep-topbar__inner {
    max-width: var(--page-max);
    margin: 0 auto;
    padding: 0 var(--gutter);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-height: 0;
}

.sep-topbar__links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 28px;
    align-items: center;
    justify-content: flex-end;
    margin-left: auto;
}

.sep-topbar__link {
    font: 600 13.5px var(--sep-font);
    color: var(--on-dark);
    text-decoration: none;
    padding: 9px 0;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    white-space: nowrap;
}

.sep-topbar__link:hover {
    color: #fff;
}

.sep-topbar__drop {
    position: relative;
}

.sep-topbar__drop.is-open > .sep-topbar__drop-toggle {
    position: relative;
    z-index: 61;
    border-bottom-color: var(--magenta);
}

.sep-topbar__panel-wrap {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 60;
    filter:
        drop-shadow(0 10px 14px rgba(20, 30, 60, .10))
        drop-shadow(0 24px 40px rgba(20, 30, 60, .12));
}

.sep-topbar__panel-wrap[hidden] {
    display: none;
}

.sep-topbar__panel-cap {
    position: absolute;
    top: 0;
    bottom: 0;
    left: -8px;
    right: -8px;
    background: var(--au-main-menu-bg, #203864);
    border: 1px solid rgba(255, 255, 255, .16);
    border-bottom: none;
    border-radius: 16px 16px 0 0;
}

.sep-topbar__panel {
    position: absolute;
    top: 100%;
    right: -8px;
    width: max-content;
    max-width: 360px;
    background: var(--au-main-menu-bg, #203864);
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 16px 0 16px 16px;
    padding: 8px;
    text-align: left;
    display: flex;
    flex-direction: column;
}

.sep-topbar__panel-bridge {
    position: absolute;
    top: 100%;
    left: -8px;
    right: -8px;
    height: 2px;
    background: var(--au-main-menu-bg, #203864);
}

.sep-topbar__panel a,
.sep-topbar__panel-muted {
    display: flex;
    align-items: center;
    gap: 11px;
    width: 100%;
    box-sizing: border-box;
    padding: 11px 12px;
    border-radius: 9px;
    font: 600 14px/1.35 var(--sep-font);
    color: var(--on-dark);
    text-decoration: none;
    white-space: normal;
    text-align: left;
}

.sep-topbar__panel a:hover {
    background: rgba(255, 255, 255, .10);
    color: #fff;
}

.sep-topbar__panel-muted {
    opacity: .55;
    cursor: default;
}

.sep-topbar .sep-theme-toggle {
    margin-left: 4px;
}

.sep-header-menu {
    padding: 0 var(--gutter);
    border-top: 1px solid var(--sep-border);
    border-bottom: 1px solid var(--sep-border);
    background: var(--sep-card);
}

.sep-header-menu .menu-container {
    border-top: none;
    max-width: var(--page-max);
    margin: 0 auto;
    position: relative;
}

.sep-header-menu .menu__link,
.sep-header-menu button.menu__link {
    font: 600 14.5px/1.2 var(--sep-font);
    color: var(--text-nav, #2f3747);
    text-transform: none;
    padding: 12px 0 10px;
    border: none;
    border-bottom: 2px solid transparent;
    background: none;
    display: inline-block;
    white-space: nowrap;
    cursor: pointer;
    text-decoration: none;
}

.sep-header-menu .menu__item--current > .menu__link,
.sep-header-menu .menu__item--current > .menu__item-toggle > .menu__link,
.sep-header-menu .menu__link[aria-current="page"],
.sep-header-menu .menu__item--active > .menu__link,
.sep-header-menu .menu__link:hover,
.sep-header-menu .menu__link[aria-expanded="true"] {
    color: var(--brand-link);
    border-bottom-color: var(--brand-link);
}

/* Offers / Collections promotional treatment */
.sep-header-menu .menu > .menu__item:last-child > .menu__link,
.sep-header-menu .menu > .menu__item:last-child > .menu__item-toggle > .menu__link,
.sep-header-menu .menu > .menu__item.menu__item--promo > .menu__link,
.sep-header-menu .menu > .menu__item.menu__item--promo > .menu__item-toggle > .menu__link,
.sep-header-menu .menu > .menu__item.offers > .menu__link,
.sep-header-menu .menu > .menu__item.offers > .menu__item-toggle > .menu__link {
    color: var(--magenta);
}

.sep-header-menu .menu > .menu__item:last-child > .menu__link:hover,
.sep-header-menu .menu > .menu__item:last-child > .menu__item-toggle > .menu__link:hover,
.sep-header-menu .menu > .menu__item:last-child > .menu__link[aria-expanded="true"],
.sep-header-menu .menu > .menu__item.menu__item--promo > .menu__link:hover,
.sep-header-menu .menu > .menu__item.menu__item--promo > .menu__link[aria-expanded="true"] {
    color: var(--brand-cta-hover, var(--magenta));
    border-bottom-color: var(--magenta);
}

/* Desktop + tablet (768+) compact text category row + full-width mega panels */
@media (min-width: 768px) {
    .sep-header-menu .menu-container .menu__toggle {
        display: none !important;
    }

    /* Defeat DefaultClean grid-rows accordion collapse */
    .sep-header-menu .menu-dropdown,
    .sep-header-menu .menu-container.menu-dropdown,
    .sep-header-menu .menu > .menu__item.menu-dropdown {
        display: block !important;
        grid-template-rows: none !important;
        transition: none !important;
    }

    .sep-header-menu,
    .sep-header-menu .menu-container,
    .sep-header-menu .menu-container.menu-dropdown {
        overflow: visible !important;
    }

    .sep-header-menu .menu-container.menu-dropdown {
        display: block !important;
        padding: 0 !important;
        width: auto !important;
    }

    .sep-header-menu .menu {
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: stretch !important;
        justify-content: flex-start !important;
        gap: 18px;
        position: relative;
        /* overflow-y:hidden previously clipped mega panels so subcategories never appeared */
        overflow: visible !important;
        padding: 0 !important;
        margin: 0 !important;
        min-height: 44px;
        font-size: inherit !important;
    }

    .sep-header-menu .menu > .menu__item {
        position: static !important;
        width: auto !important;
        flex: 0 0 auto !important;
        margin: 0 !important;
        padding: 0 !important;
        background: none !important;
        border: none !important;
        display: block !important;
    }

    .sep-header-menu .menu > .menu__item:not(:last-child) {
        border: none !important;
    }

    .sep-header-menu .menu > .menu__item > .menu__item-toggle {
        display: inline-flex !important;
        align-items: center;
        padding: 0 !important;
        margin: 0 !important;
        background: none !important;
        border: none !important;
        width: auto !important;
    }

    .sep-header-menu .menu > .menu__item > .menu__item-toggle::after {
        display: none !important;
    }

    .sep-header-menu .menu__item:not(.menu-dropdown) {
        padding: 0 !important;
    }

    .sep-header-menu .menu__grid-view,
    .sep-header-menu .menu__list-view,
    .sep-header-menu .sep-mega-panel {
        display: none !important;
        position: absolute !important;
        left: 0;
        right: auto;
        top: calc(100% - 1px);
        z-index: 60;
        width: min(100%, var(--page-max, 1440px));
        max-width: min(100vw - (2 * var(--gutter, 24px)), var(--page-max, 1440px));
        max-height: min(72vh, 520px);
        box-sizing: border-box;
        background: #fff !important;
        border: 1px solid var(--sep-border, #e3e7ee) !important;
        border-radius: 12px !important;
        box-shadow:
            0 8px 24px rgba(20, 30, 60, .08),
            0 20px 48px rgba(20, 30, 60, .10) !important;
        padding: 28px 32px !important;
        overflow-x: hidden;
        overflow-y: auto;
        pointer-events: auto;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
    }

    html[data-theme="dark"] .sep-header-menu .menu__grid-view,
    html[data-theme="dark"] .sep-header-menu .menu__list-view,
    html[data-theme="dark"] .sep-header-menu .sep-mega-panel {
        background: var(--sep-card) !important;
        border-color: var(--sep-border-strong) !important;
    }

    .sep-header-menu .menu > .menu__item.menu-dropdown--active > .sep-mega-panel,
    .sep-header-menu .menu > .menu__item.menu-dropdown--active > .menu__grid-view,
    .sep-header-menu .menu > .menu__item.menu-dropdown--active > .menu__list-view {
        display: block !important;
    }

    .sep-header-menu .menu > .menu__item > .sep-mega-panel[hidden],
    .sep-header-menu .menu > .menu__item > .menu__grid-view[hidden],
    .sep-header-menu .menu > .menu__item > .menu__list-view[hidden] {
        display: none !important;
    }

    /* Body: link columns + popular picks */
    .sep-mega-panel__body {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        gap: 0;
        width: 100%;
        min-width: 0;
    }

    .sep-mega-panel__cols {
        flex: 1 1 auto;
        min-width: 0;
        display: flex;
        flex-wrap: nowrap;
        align-items: flex-start;
        gap: 32px 40px;
    }

    /* Grouped columns (For Your Course / Popular Subjects / …) */
    .sep-mega-panel--list .sep-mega-panel__cols:not(.sep-mega-panel__cols--flat-flow),
    .sep-mega-panel--grid .sep-mega-panel__cols {
        display: flex;
        flex-wrap: wrap;
        gap: 28px 48px;
        width: auto;
        flex: 1 1 auto;
    }

    /* Ungrouped leaf links: newspaper-style columns */
    .sep-mega-panel__cols--flat-flow {
        display: block !important;
        column-count: 3;
        column-gap: 48px;
        flex: 1 1 auto;
        width: auto;
    }

    .sep-mega-panel__cols--flat-flow > .sep-mega-col__link,
    .sep-mega-panel__cols--flat-flow > .menu__link {
        break-inside: avoid;
        display: block;
        width: 100%;
        max-width: none;
    }

    .sep-mega-col {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        min-width: 150px;
        max-width: 220px;
        flex: 0 1 180px;
        padding: 0;
        height: auto;
    }

    .sep-mega-col__title,
    .sep-header-menu .menu__group-title.sep-mega-col__title,
    .sep-header-menu .menu__group-title {
        font: 700 15px/1.3 var(--sep-font) !important;
        color: var(--sep-ink, #1a2333) !important;
        margin: 0 0 12px !important;
        padding: 0 !important;
        text-align: left !important;
        text-transform: none !important;
        letter-spacing: 0 !important;
        white-space: normal;
    }

    .sep-header-menu .sep-mega-col .menu__link,
    .sep-header-menu .sep-mega-panel__cols--flat-flow .menu__link,
    .sep-mega-col__link {
        display: block;
        padding: 6px 0 !important;
        margin: 0;
        border: none !important;
        border-bottom: none !important;
        background: none !important;
        font: 400 13.5px/1.45 var(--sep-font) !important;
        color: #5c6578 !important;
        text-align: left !important;
        text-decoration: none !important;
        text-transform: none !important;
        white-space: normal;
        max-width: 220px;
    }

    .sep-mega-col__link--all,
    .sep-header-menu .sep-mega-col .sep-mega-col__link--all {
        font-weight: 700 !important;
        color: var(--sep-ink) !important;
    }

    .sep-header-menu .sep-mega-col .menu__link:hover,
    .sep-header-menu .sep-mega-panel__cols--flat-flow .menu__link:hover,
    .sep-mega-col__link:hover {
        color: var(--brand-link, var(--brand-accent, #203864)) !important;
        background: none !important;
        border: none !important;
    }

    .sep-mega-panel__footer {
        display: none;
    }

    .sep-mega-picks {
        flex: 0 0 300px;
        width: 300px;
        max-width: 34%;
        box-sizing: border-box;
        border-left: 1px solid var(--sep-border, #e3e7ee);
        margin-left: 28px;
        padding-left: 28px;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px 18px;
        align-content: start;
    }

    .sep-mega-pick {
        display: flex;
        flex-direction: column;
        gap: 6px;
        text-align: left;
        text-decoration: none;
        color: inherit;
        min-width: 0;
    }

    .sep-mega-pick:hover { opacity: .92; }

    .sep-mega-pick__media {
        aspect-ratio: 1 / 1;
        height: auto;
        min-height: 110px;
        border-radius: 10px;
        overflow: hidden;
        background: repeating-linear-gradient(
            -45deg,
            #e8eef8,
            #e8eef8 8px,
            #dfe7f4 8px,
            #dfe7f4 16px
        );
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .sep-mega-pick__media img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    .sep-mega-pick__placeholder {
        font: 500 12px/1.2 var(--sep-font);
        color: #8a93a3;
    }

    .sep-mega-pick__eyebrow {
        font: 700 10px/1.2 var(--sep-font);
        letter-spacing: .55px;
        text-transform: uppercase;
        color: #8a93a3;
        margin-top: 2px;
    }

    .sep-mega-pick__name {
        font: 700 13.5px/1.3 var(--sep-font);
        color: var(--sep-ink, #1a2333);
    }

    .sep-mega-pick__price {
        font: 700 13.5px/1.2 var(--sep-font);
        color: var(--sep-positive-fg, #2e7d4f);
    }
}

@media (min-width: 768px) and (max-width: 1100px) {
    .sep-mega-panel__cols--flat-flow {
        column-count: 2 !important;
    }

    .sep-mega-picks {
        flex-basis: 240px;
        width: 240px;
        max-width: 38%;
        margin-left: 20px;
        padding-left: 20px;
    }
}

@media (max-width: 767px) {
    /* Explore links live in the mobile drawer; keep theme toggle on the bar */
    .sep-topbar__link,
    .sep-topbar__drop {
        display: none;
    }

    .sep-topbar__inner {
        min-height: 36px;
        justify-content: flex-end;
    }
}

/* ---------- PLP filter drawer ---------- */
.sep-filters-toggle {
    display: none;
    margin: 0 0 16px;
    min-height: 44px;
    padding: 0 16px;
    border: 1.5px solid var(--sep-border-strong);
    border-radius: 9px;
    background: var(--sep-card);
    font: 700 14px var(--sep-font);
    color: var(--sep-ink);
    cursor: pointer;
}

.sep-filters-backdrop {
    display: none;
}

.sep-filters-drawer__head {
    display: none;
}

.sep-filters-empty {
    margin: 12px 0 0;
    font-size: 13.5px;
    color: var(--sep-muted);
}

@media (max-width: 1000px) {
    .sep-filters-toggle {
        display: inline-flex;
        align-items: center;
    }

    /* Keep filters reachable when the left column collapses on small screens */
    .side-2 {
        float: none !important;
        width: auto !important;
        margin: 0 !important;
        display: block !important;
    }

    .side-2 > *:not(.sep-filters-toggle):not(.sep-filters-backdrop):not(.sep-filters-drawer) {
        display: none !important;
    }

    .sep-filters-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(20, 30, 60, .35);
        z-index: 90;
    }

    .sep-filters-backdrop[hidden] {
        display: none !important;
    }

    .sep-filters-drawer {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: min(360px, 92vw);
        background: var(--sep-card);
        z-index: 91;
        transform: translateX(-105%);
        transition: transform .22s ease;
        overflow: auto;
        padding: 16px 18px 28px;
        box-shadow: 8px 0 28px rgba(20, 30, 60, .12);
        display: block !important;
    }

    html.sep-filters-open .sep-filters-drawer {
        transform: translateX(0);
    }

    .sep-filters-drawer__head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        margin-bottom: 12px;
    }

    .sep-filters-drawer__head h2 {
        margin: 0;
        font: 800 18px var(--sep-font);
        color: var(--sep-ink);
    }

    .sep-filters-drawer__close {
        width: 40px;
        height: 40px;
        border: none;
        background: none;
        font-size: 28px;
        line-height: 1;
        cursor: pointer;
        color: var(--sep-muted);
    }
}

/* ---------- Header extras (quick links legacy cleanup, mobile menu) ---------- */
.sep-quick-links {
    display: none;
}

.sep-header-menu .menu-container {
    border-top: none;
}

/* Desktop: category menu full width under header */
@media (min-width: 1001px) {
    .sep-header-menu {
        display: block;
    }

    .sep-header-menu .menu-container {
        border-top: none;
    }
}

/* Legacy bare-span hamburger styles removed — use .sep-menu-toggle__bars / __label below. */

.sep-home-section {
    margin: 40px 0 0;
}

.sep-section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 16px;
}

.sep-section-head h2 {
    font: 800 22px var(--sep-font);
    color: var(--sep-ink);
    margin: 0;
}

.sep-section-link {
    background: none;
    border: none;
    font: 700 14.5px var(--sep-font);
    color: var(--brand-accent);
    cursor: pointer;
    text-decoration: none;
}

/* Account funding summary card */
.sep-account-funding {
    background: var(--sep-ink);
    color: #fff;
    border-radius: var(--sep-r-panel);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 18px;
}

.sep-account-funding .label {
    font-size: 13.5px;
    color: #aab2c2;
}

.sep-account-funding .amount {
    font: 800 32px var(--sep-font);
}

.sep-account-funding .amount .suffix {
    font: 500 15px var(--sep-font);
    color: #aab2c2;
}

.sep-account-funding .progress .track {
    height: 7px;
    background: #39415a;
    border-radius: var(--sep-r-pill);
    overflow: hidden;
}

.sep-account-funding .progress .fill {
    height: 100%;
    background: #e8b53a;
}

.sep-account-funding .progress .note {
    font-size: 12.5px;
    color: #aab2c2;
    margin-top: 6px;
}

.sep-account-funding .cta {
    background: #fff;
    color: var(--sep-ink);
    border: none;
    border-radius: 9px;
    padding: 12px;
    font: 700 14px var(--sep-font);
    text-align: center;
    text-decoration: none;
    margin-top: 4px;
}

/* My Funds option cards (account sidebar) */
.sep-funds-options {
    margin: 0 0 18px;
}

.sep-funds-options__heading {
    margin: 0 0 12px;
    font: 800 15px var(--sep-font);
    color: var(--sep-ink);
}

.sep-funds-options__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.sep-funds-option {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: var(--sep-card);
    border: 1px solid var(--sep-border);
    border-radius: 12px;
    padding: 14px 16px;
    text-decoration: none;
    color: inherit;
    transition: box-shadow .15s ease, border-color .15s ease;
}

.sep-funds-option:hover {
    border-color: var(--sep-border-strong);
    box-shadow: var(--sep-shadow-hover);
}

.sep-funds-option__title {
    font: 700 14.5px var(--sep-font);
    color: var(--sep-ink);
}

.sep-funds-option__blurb {
    font-size: 13px;
    line-height: 1.4;
    color: var(--sep-muted);
}

.sep-funds-option__cta {
    margin-top: 4px;
    font: 700 13.5px var(--sep-font);
    color: var(--brand-link);
}

/* Login / register — matches sep-frontend-redesign LoginView (fixed navy/magenta, not Aspire Colours CTA) */
.sep-login-page {
    max-width: var(--page-max);
    margin: 0 auto;
    padding: 8px 0 56px;
    box-sizing: border-box;
    font-family: var(--sep-font);
}

.sep-login-page .sep-pdp-breadcrumb {
    margin: 0 0 12px;
    font-size: 13px;
    color: var(--sep-muted);
}

.sep-login-page .page-title {
    text-align: left;
    margin: 0 0 8px;
    border: none;
    padding: 0;
}

.sep-login-page .page-title h1 {
    font: 800 30px/1.2 var(--sep-font);
    color: var(--sep-ink);
    margin: 0;
    text-transform: none;
}

.sep-login-help {
    margin: 0 0 24px;
    font-size: 15px;
    color: var(--sep-muted);
    max-width: 70ch;
}

.sep-login-help a {
    color: var(--magenta) !important;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.sep-login-help a:focus-visible {
    outline: 2px solid var(--magenta);
    outline-offset: 2px;
}

.sep-login-grid,
.login-page .customer-blocks.sep-login-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
    float: none !important;
    width: auto !important;
    margin: 0 0 24px !important;
    overflow: visible;
}

.sep-login-card,
.login-page .returning-wrapper.sep-login-card,
.login-page .new-wrapper.sep-login-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: var(--surface);
    border: 1px solid var(--sep-border);
    border-radius: 14px;
    box-shadow: none;
    overflow: hidden;
    float: none !important;
    width: auto !important;
    margin: 0 !important;
}

.sep-login-card__heading {
    margin: 0 0 18px !important;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
    color: var(--sep-ink) !important;
    font: 700 20px/1.3 var(--sep-font) !important;
    text-transform: none !important;
    text-align: left;
}

.sep-login-card__body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    background: var(--surface);
    padding: 22px 20px;
    box-sizing: border-box;
}

.sep-login-card form,
.sep-login-card .text,
.login-page .returning-wrapper .form-fields,
.login-page .sep-login-card .form-fields {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    padding: 0 !important;
    overflow: visible !important;
    margin: 0;
    border: none;
    background: transparent;
}

.sep-login-fields {
    flex: 1 1 auto;
}

.sep-login-card__copy {
    margin: 0;
    color: var(--sep-body);
    font-size: 14.5px;
}

.sep-login-card .inputs {
    text-align: left;
    margin: 0 0 16px;
}

.sep-login-card .inputs label {
    float: none !important;
    display: block !important;
    width: auto !important;
    text-align: left !important;
    margin: 0 0 7px !important;
    font: 700 13px/1.35 var(--sep-font) !important;
    color: var(--sep-ink) !important;
    letter-spacing: .1px;
}

.sep-login-card .inputs input[type="text"],
.sep-login-card .inputs input[type="email"],
.sep-login-card .inputs input[type="password"],
.sep-login-card .sep-field,
.login-page .returning-wrapper input[type="text"],
.login-page .returning-wrapper input[type="email"],
.login-page .returning-wrapper input[type="password"] {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
    min-height: 44px;
    border-radius: var(--sep-r-control) !important;
    border: 1.5px solid var(--sep-border-strong) !important;
    padding: 12px 14px !important;
    font-size: 14.5px !important;
    color: var(--sep-ink) !important;
    background: var(--surface) !important;
}

.sep-login-card .inputs input[type="text"]:focus-visible,
.sep-login-card .inputs input[type="email"]:focus-visible,
.sep-login-card .inputs input[type="password"]:focus-visible,
.sep-login-card .sep-field:focus-visible {
    outline: 2px solid var(--brand-link);
    outline-offset: 2px;
    border-color: var(--brand-link) !important;
}

.sep-login-card .inputs input.input-validation-error,
.sep-login-card .sep-field.input-validation-error {
    border-color: var(--sep-error) !important;
}

.sep-login-card .field-validation-error {
    display: block;
    margin-top: 6px;
    color: var(--sep-error-fg);
    font-size: 13px;
}

.sep-login-card .message-error {
    margin: 0 0 14px;
}

.sep-login-remember {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin: 0 0 20px;
    font-size: 13px;
    color: var(--sep-body);
    line-height: 1.5;
    cursor: pointer;
}

.sep-login-remember input {
    margin-top: 2px;
    min-width: 18px;
    min-height: 18px;
    flex: none;
    accent-color: var(--magenta);
}

.sep-login-consent {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin: 0 0 14px;
}

.sep-login-consent input[type="checkbox"] {
    accent-color: var(--magenta);
}

.sep-login-card__actions,
.login-page .returning-wrapper .buttons {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: auto;
    padding: 8px 0 0 !important;
    text-align: left;
    background: transparent !important;
}

.sep-login-card__actions--end {
    justify-content: flex-end;
}

.sep-login-card .sep-btn-outline,
.sep-login-card .sep-login-forgot,
.sep-login-card .checkout-as-guest-button.sep-btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    min-width: 44px;
    padding: 12px 22px;
    border-radius: var(--sep-r-control);
    border: 1.5px solid var(--brand-link) !important;
    background: var(--surface) !important;
    color: var(--brand-link) !important;
    font: 700 14.5px var(--sep-font) !important;
    text-decoration: none !important;
    text-transform: none !important;
    cursor: pointer;
    box-sizing: border-box;
}

.sep-login-card .sep-btn-outline:hover,
.sep-login-card .sep-login-forgot:hover {
    background: var(--sep-surface-2) !important;
    color: var(--brand-link) !important;
}

.sep-login-card .sep-btn-outline:focus-visible,
.sep-login-card .sep-login-forgot:focus-visible,
.sep-login-card .sep-btn-magenta:focus-visible,
.sep-login-card .login-button:focus-visible,
.sep-login-card .register-button:focus-visible {
    outline: 2px solid var(--brand-link);
    outline-offset: 2px;
}

.sep-login-card .login-button,
.sep-login-card .register-button,
.sep-login-card .sep-btn-magenta,
.login-page .sep-login-card .button-1 {
    width: auto !important;
    min-width: 120px;
    min-height: 46px;
    padding: 12px 22px !important;
    border: none !important;
    border-radius: var(--sep-r-control) !important;
    background: var(--magenta) !important;
    color: #fff !important;
    font: 700 14.5px var(--sep-font) !important;
    text-transform: none !important;
    cursor: pointer;
}

.sep-login-card .login-button:hover,
.sep-login-card .register-button:hover,
.sep-login-card .sep-btn-magenta:hover,
.login-page .sep-login-card .button-1:hover {
    filter: brightness(1.08);
    background: var(--magenta) !important;
    color: #fff !important;
}

.sep-login-register-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    align-items: start;
}

.sep-login-register-row .inputs {
    margin-bottom: 14px;
}

.sep-login-page .external-authentication,
.sep-login-secondary-auth {
    margin: 20px 0 0;
    overflow: visible;
    text-align: center;
}

.sep-login-secondary-auth .title {
    display: none !important; /* leftover default nop "- or -" */
}

.sep-login-secondary-auth .aspire-sso-login,
.sep-login-secondary-auth .external-auth-button {
    max-width: 100%;
}

.sep-login-secondary-auth .ms-signin-button {
    width: 100%;
}

.sep-login-secondary-auth--solo {
    max-width: 420px;
    margin: 0 auto;
    padding: 24px;
    background: #fff;
    border: 1px solid var(--sep-border, #e6e6e6);
}

.sep-login-page .password-eye,
.sep-login-card .password-eye,
.sep-login-card .sep-field-hint {
    display: none !important;
}

@media (max-width: 1023px) {
    .sep-login-grid,
    .login-page .customer-blocks.sep-login-grid,
    .sep-login-register-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .sep-login-card__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .sep-login-card .login-button,
    .sep-login-card .register-button,
    .sep-login-card .sep-btn-magenta,
    .sep-login-card .sep-btn-outline,
    .sep-login-card .sep-login-forgot {
        width: 100%;
    }
}

/* Topic / policy / help content */
.sep-content-page {
    max-width: 820px;
    margin: 0 auto;
    text-align: left;
}

.sep-content-page__header {
    margin: 0 0 24px;
}

.sep-content-page__eyebrow {
    margin: 0 0 8px;
    font: 700 12px var(--sep-font);
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--sep-muted);
}

.sep-content-page__header h1,
.sep-content-page .page-title h1 {
    margin: 0;
    font: 800 30px/1.2 var(--sep-font);
    color: var(--sep-ink);
    text-align: left;
}

.sep-content-page__body {
    background: var(--sep-card);
    border: 1px solid var(--sep-border);
    border-radius: 14px;
    padding: 28px 32px;
    font-size: 15.5px;
    line-height: 1.65;
    color: var(--sep-body);
}

.sep-content-page__body h2,
.sep-content-page__body h3 {
    color: var(--sep-ink);
    margin: 1.4em 0 .5em;
}

.sep-content-page__body a {
    color: var(--brand-cta);
    font-weight: 600;
}

/* ---------- Contact Us ---------- */
.html-sep-contact-page .page-title,
.html-sep-contact-page .sep-contact-page__title {
    background: transparent !important;
    border: none !important;
    min-height: 0;
    padding: 0;
    text-align: left !important;
}

.sep-contact-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 0 64px;
    box-sizing: border-box;
    text-align: left;
}

.sep-contact-page .sep-pdp-breadcrumb {
    font-size: 13px;
    color: var(--sep-muted);
}

.sep-contact-page__title {
    margin: 0 0 22px;
}

.sep-contact-page__title h1 {
    margin: 0;
    font: 800 32px/1.15 var(--sep-font);
    letter-spacing: -0.3px;
    color: var(--sep-ink);
    text-align: left;
}

.sep-contact-card {
    background: var(--sep-card);
    border: 1px solid var(--sep-border);
    border-radius: 14px;
    padding: 26px 30px;
    box-sizing: border-box;
    margin-bottom: 24px;
}

.sep-contact-form.sep-contact-card {
    padding: 24px 30px;
    margin-bottom: 0;
}

/* Topic "ContactUs" body — admin HTML keeps design via these wrappers */
.sep-contact-intro .topic-block {
    margin: 0;
    padding: 0;
    background: none;
    border: none;
}

.sep-contact-intro .topic-block-title {
    margin: 0 0 12px;
}

.sep-contact-intro .topic-block-title:empty,
.sep-contact-intro .topic-block-title:has(h2:empty) {
    display: none;
}

.sep-contact-intro .topic-block-title h2 {
    margin: 0;
    font: 800 18px/1.3 var(--sep-font);
    color: var(--sep-ink);
    text-transform: none;
}

.sep-contact-intro .topic-block-body {
    font: 400 15px/1.6 var(--sep-font);
    color: var(--sep-body);
}

.sep-contact-intro .topic-block-body > *:first-child {
    margin-top: 0;
}

.sep-contact-intro .topic-block-body > *:last-child {
    margin-bottom: 0;
}

.sep-contact-intro .topic-block-body p,
.sep-contact-intro__lede,
.sep-contact-intro__copy,
.sep-contact-intro__notes p {
    margin: 0 0 12px;
    font: 400 15px/1.6 var(--sep-font);
    color: var(--sep-body);
}

.sep-contact-intro .topic-block-body ul,
.sep-contact-intro .topic-block-body ol {
    margin: 0 0 12px;
    padding-left: 1.25em;
}

.sep-contact-intro .topic-block-body li {
    margin: 0 0 6px;
}

.sep-contact-intro .topic-block-body strong,
.sep-contact-intro__notes strong {
    color: var(--sep-ink);
    font-weight: 700;
}

.sep-contact-intro .topic-block-body em,
.sep-contact-intro__notes em {
    font-style: italic;
    color: var(--sep-muted);
}

.sep-contact-intro .topic-block-body a,
.sep-contact-intro__notes a {
    color: var(--brand-link);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.sep-contact-intro__notes {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 6px;
}

.sep-contact-intro__notes p {
    margin: 0;
}

/* Optional topic markup: <div class="sep-contact-hours">…</div> */
.sep-contact-hours {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: var(--sep-surface-2);
    border: 1px solid var(--sep-border);
    border-radius: 11px;
    padding: 14px 16px;
    margin: 0 0 12px;
}

.sep-contact-hours__icon {
    flex: none;
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: var(--brand-link);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.sep-contact-hours__text {
    margin: 0;
    font: 400 15px/1.55 var(--sep-font);
    color: var(--sep-body);
}

.sep-contact-form__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 26px;
}

.sep-contact-form__col {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
}

.sep-contact-form .inputs {
    float: none !important;
    text-align: left !important;
    margin: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
}

.sep-contact-form .inputs:after {
    display: none;
}

.sep-contact-form .inputs label,
.sep-contact-form .sep-field-label {
    float: none !important;
    display: block !important;
    width: auto !important;
    margin: 0 !important;
    text-align: left !important;
    font: 700 13px/1.35 var(--sep-font);
    color: var(--sep-ink);
}

.sep-contact-form .sep-field,
.sep-contact-form .inputs input[type="text"],
.sep-contact-form .inputs input[type="email"],
.sep-contact-form .inputs input[type="tel"],
.sep-contact-form .inputs textarea,
.sep-contact-form input,
.sep-contact-form textarea {
    width: 100% !important;
    max-width: none !important;
    min-height: 44px;
    box-sizing: border-box;
    border-radius: 10px;
    border: 1.5px solid var(--sep-border);
    padding: 12px 14px;
    background: var(--sep-field);
    color: var(--sep-ink);
    font: 400 14.5px var(--sep-font);
}

.sep-contact-form textarea.sep-field,
.sep-contact-form textarea {
    min-height: 140px;
    resize: vertical;
    font-family: inherit;
}

.sep-contact-form .sep-field.input-validation-error,
.sep-contact-form input.input-validation-error,
.sep-contact-form textarea.input-validation-error {
    border-color: var(--sep-error);
}

.sep-contact-form__actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 22px;
}

.sep-contact-form__actions .sep-fav-btn,
.sep-contact-form__actions .contact-us-button {
    min-width: 150px;
    min-height: 44px;
    height: auto;
    padding: 13px 26px;
    border-radius: 10px;
    font: 700 13px/1.2 var(--sep-font);
    background: var(--magenta) !important;
    color: #fff !important;
}

.sep-contact-result {
    background: var(--sep-positive-tint);
    border: 1px solid var(--sep-positive-border);
    color: var(--sep-positive-fg);
    border-radius: 12px;
    padding: 16px 18px;
    font-weight: 700;
    text-align: center;
}

html[data-theme="dark"] .sep-contact-hours {
    background: var(--sep-surface-2);
    border-color: var(--sep-border);
}

html[data-theme="dark"] .sep-contact-hours__icon {
    background: var(--brand-link);
    color: #0f1521;
}

/* Tablet 768–1023: keep two-column form; fluid page column */
@media (max-width: 1023px) {
    .sep-contact-page {
        max-width: none;
    }
}

/* Mobile <768: single column, smaller H1 / card padding */
@media (max-width: 767px) {
    .sep-contact-page__title h1 {
        font-size: 26px;
    }

    .sep-contact-card,
    .sep-contact-form.sep-contact-card {
        padding: 20px 18px;
    }

    .sep-contact-form__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .sep-contact-form__actions {
        justify-content: flex-end;
    }

    .sep-contact-form__actions .sep-fav-btn,
    .sep-contact-form__actions .contact-us-button {
        width: auto;
        max-width: 100%;
    }
}

/* ---------- Favourites (wishlist redesign) ---------- */
.sep-favourites-page {
    --sep-fav-ink: #22293a;
    --sep-fav-muted: #6b7280;
    --sep-fav-faint: #8a93a3;
    --sep-fav-cta: #c8235a;
    --sep-fav-ok: #155e3c;
    --sep-fav-ok-bg: #eef6f1;
    max-width: var(--page-max, 1440px);
    margin: 0 auto;
    padding: 8px 32px 64px;
    box-sizing: border-box;
}

html[data-theme="dark"] .sep-favourites-page {
    --sep-fav-ink: #eef2f8;
    --sep-fav-muted: #98a2b2;
    --sep-fav-faint: #7d8698;
    --sep-fav-cta: #c8235a;
    --sep-fav-ok: #84dcac;
    --sep-fav-ok-bg: #13291f;
}

.sep-favourites-page .sep-pdp-breadcrumb {
    margin: 0 0 12px;
}

.sep-favourites-title {
    text-align: left;
    margin: 0 0 8px;
    border: none;
    padding: 0;
}

.sep-favourites-title h1 {
    font: 800 32px/1.2 var(--sep-font);
    color: var(--sep-fav-ink);
    margin: 0;
    letter-spacing: -.3px;
    text-transform: none;
}

.sep-favourites-lede {
    margin: 0 0 22px;
    font-size: 15.5px;
    line-height: 1.55;
    color: var(--sep-fav-muted);
    max-width: 60ch;
}

.sep-fav-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-bottom: 18px;
}

.sep-fav-tab {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    height: auto;
    padding: 0 16px;
    border-radius: 999px;
    font: 700 14px var(--sep-font);
    border: 1px solid var(--sep-border-strong);
    background: var(--surface);
    color: var(--sep-fav-ink);
    text-decoration: none;
    cursor: pointer;
}

.sep-fav-tab.is-active {
    background: var(--sep-fav-cta) !important;
    border-color: var(--sep-fav-cta) !important;
    color: #fff !important;
}

.sep-fav-tab--new {
    border-style: dashed;
    background: transparent;
}

.sep-fav-tab:hover:not(.is-active) {
    background: var(--sep-surface-2);
}

.sep-fav-tab:focus-visible,
.sep-fav-btn:focus-visible,
.sep-fav-move:focus-visible,
.sep-fav-select-all input:focus-visible,
.sep-fav-row__check:focus-visible {
    outline: 2px solid var(--brand-link, #203864);
    outline-offset: 2px;
}

.sep-fav-tools {
    margin-bottom: 20px;
}

.sep-fav-tools__actions,
.sep-fav-rename,
.sep-fav-create {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.sep-fav-rename input,
.sep-fav-create input {
    height: 36px;
    padding: 0 12px;
    border: 1px solid var(--sep-border-strong);
    border-radius: 9px;
    background: var(--sep-field);
    color: var(--sep-fav-ink);
    font: inherit;
    min-width: 180px;
}

.sep-fav-create .sep-fav-btn {
    border-radius: 999px;
    min-height: 36px;
    padding: 0 16px;
}

.sep-fav-create[hidden],
.sep-fav-rename[hidden] {
    display: none !important;
}

.sep-fav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    height: auto;
    padding: 0 14px;
    border-radius: 10px;
    font: 700 13.5px var(--sep-font);
    cursor: pointer;
    text-decoration: none;
    box-sizing: border-box;
    white-space: nowrap;
    border: none;
}

.sep-fav-btn--magenta {
    background: var(--sep-fav-cta, #c8235a) !important;
    color: #fff !important;
}

.sep-fav-btn--magenta:hover:not(:disabled) {
    filter: brightness(1.08);
    color: #fff !important;
}

.sep-fav-btn--magenta:disabled {
    background: var(--sep-border, #d1d5db) !important;
    color: var(--sep-fav-faint, #8a93a3) !important;
    cursor: not-allowed;
    filter: none;
}

.sep-fav-btn--ghost {
    background: var(--surface, #fff);
    color: var(--sep-fav-ink, #22293a);
    border: 1px solid var(--sep-border-strong, #c5ccd6);
}

.sep-fav-btn--ghost:hover {
    background: var(--sep-surface-2);
}

.sep-fav-panel {
    background: var(--surface);
    border: 1px solid var(--sep-border);
    border-radius: 14px;
    overflow: hidden;
}

.sep-fav-panel__bar,
.sep-fav-panel__footer {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    background: var(--sep-surface-2);
    border-bottom: 1px solid var(--divider);
}

.sep-fav-panel__footer {
    border-bottom: none;
    border-top: 1px solid var(--divider);
}

.sep-fav-select-all {
    display: flex;
    align-items: center;
    gap: 10px;
    font: 700 13.5px var(--sep-font);
    color: var(--sep-fav-ink);
    cursor: pointer;
}

.sep-fav-select-all input,
.sep-fav-row__check {
    width: 17px;
    height: 17px;
    accent-color: var(--sep-fav-cta);
}

.sep-fav-panel__meta {
    font-size: 13px;
    color: var(--sep-fav-muted);
}

.sep-fav-row {
    display: grid;
    grid-template-columns: 28px 104px minmax(0, 1fr) 130px auto;
    gap: 18px;
    align-items: center;
    padding: 18px;
    border-top: 1px solid var(--divider);
}

.sep-fav-row:first-child {
    border-top: none;
}

.sep-fav-row.is-oos {
    opacity: .72;
}

.sep-fav-row__image {
    width: 104px;
    height: 104px;
    border: 1px solid var(--sep-border);
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

html[data-theme="dark"] .sep-fav-row__image {
    background: var(--sep-surface-2);
}

.sep-fav-row__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 6px;
    box-sizing: border-box;
}

.sep-fav-row__brand {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--sep-fav-faint);
    margin-bottom: 2px;
}

.sep-fav-row__sku {
    font-size: 12px;
    font-weight: 600;
    color: var(--sep-fav-muted);
    margin-bottom: 4px;
}

.sep-fav-row__name {
    display: block;
    font: 700 16px/1.35 var(--sep-font);
    color: var(--sep-fav-ink);
    text-decoration: none;
    margin-bottom: 8px;
}

.sep-fav-row__name:hover {
    color: var(--brand-link);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.sep-fav-row__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.sep-fav-stock {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 9px;
    border-radius: 999px;
}

.sep-fav-stock.is-ok {
    background: var(--sep-fav-ok-bg);
    color: var(--sep-fav-ok);
}

.sep-fav-stock.is-oos {
    background: var(--sep-surface-2);
    color: var(--sep-fav-muted);
}

.sep-fav-row__price {
    text-align: right;
}

.sep-fav-row__price-now {
    font: 800 18px var(--sep-font);
    color: var(--sep-fav-ink);
}

.sep-fav-row__price-now.is-reduced {
    color: var(--sep-basket-cta, var(--sep-fav-ink));
}

.sep-fav-row__price-was {
    font-size: 13px;
    font-weight: 500;
    color: var(--sep-fav-muted);
    text-decoration: line-through;
}

.sep-fav-row__price-each {
    font-size: 12.5px;
    color: var(--sep-fav-muted);
    margin-top: 2px;
}

.sep-fav-row__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.sep-fav-row .sep-qty-stepper.is-disabled {
    opacity: .5;
    pointer-events: none;
}

.sep-fav-row .sep-qty-stepper .qty-input {
    border: none;
    background: transparent;
    color: var(--sep-fav-ink);
    width: 100%;
}

.sep-fav-move {
    min-height: 44px;
    height: auto;
    padding: 0 10px;
    border: 1px solid var(--sep-border-strong);
    border-radius: 10px;
    background: var(--surface);
    color: var(--sep-fav-ink);
    font: 600 13px var(--sep-font);
    cursor: pointer;
    max-width: 180px;
}

.sep-fav-remove-check {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

.sep-fav-value {
    font-size: 13.5px;
    color: var(--sep-fav-muted);
}

.sep-fav-value strong {
    color: var(--sep-fav-ink);
    font-size: 15px;
}

.sep-fav-panel__footer-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: flex-end;
}

.sep-fav-panel__footer-actions .sep-fav-btn {
    height: 42px;
    padding: 0 16px;
    border-radius: 10px;
    font-size: 14px;
}

.sep-fav-share {
    margin-top: 18px;
    padding: 16px 18px;
    background: var(--surface);
    border: 1px solid var(--sep-border);
    border-radius: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
}

.sep-fav-share__title {
    font: 700 13.5px var(--sep-font);
    color: var(--sep-fav-ink);
    margin-bottom: 3px;
}

.sep-fav-share__url {
    font-size: 13px;
    color: var(--sep-fav-muted);
    word-break: break-all;
}

.sep-fav-empty {
    background: var(--surface);
    border: 1px solid var(--sep-border);
    border-radius: 14px;
    padding: 40px 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

.sep-fav-empty__title {
    font: 800 18px var(--sep-font);
    color: var(--sep-fav-ink);
}

.sep-fav-empty__copy {
    font-size: 14px;
    color: var(--sep-fav-muted);
    margin-bottom: 8px;
}

@media (max-width: 1023px) {
    .sep-favourites-page {
        padding-left: 24px;
        padding-right: 24px;
    }
}

@media (max-width: 900px) {
    .sep-favourites-title h1 {
        font-size: 26px;
    }

    .sep-fav-row {
        grid-template-columns: 28px 88px minmax(0, 1fr);
        gap: 12px 14px;
        align-items: start;
    }

    .sep-fav-row__image {
        width: 88px;
        height: 88px;
    }

    .sep-fav-row__price {
        grid-column: 3;
        text-align: left;
    }

    .sep-fav-row__actions {
        grid-column: 1 / -1;
        justify-content: flex-start;
        width: 100%;
        border-top: 1px solid var(--divider);
        padding-top: 14px;
    }

    .sep-fav-panel__footer-actions {
        width: 100%;
    }

    .sep-fav-panel__footer-actions .sep-fav-btn,
    .sep-fav-panel__footer-actions .sep-fav-move {
        flex: 1 1 auto;
        max-width: none;
    }
}

@media (max-width: 767px) {
    .sep-favourites-page {
        padding-left: 16px;
        padding-right: 16px;
    }

    .sep-fav-panel__footer-actions .sep-fav-btn,
    .sep-fav-panel__footer-actions .sep-fav-move {
        flex: 1 1 100%;
    }
}

/* Favourites inside My Account (shared 2-column shell) */
.sep-favourites-account-page {
    max-width: none;
    margin: 0;
    padding: 0 0 48px;
}

.sep-favourites-account-page .sep-favourites-panel__header {
    margin: 0 0 18px;
}

.sep-favourites-account-page .sep-favourites-panel__header h2 {
    margin: 0 0 8px;
    font: 800 22px/1.25 var(--sep-font);
    color: var(--sep-ink, var(--sep-fav-ink));
    letter-spacing: -.2px;
    text-transform: none;
}

.sep-favourites-account-page .sep-favourites-panel__lede {
    margin: 0;
    font: 500 14.5px/1.5 var(--sep-font);
    color: var(--sep-muted, var(--sep-fav-muted));
}

.sep-favourites-account-page .sep-favourites-panel__body {
    min-width: 0;
}

@media (max-width: 1023px) {
    .sep-favourites-account-page {
        padding-left: 0;
        padding-right: 0;
    }
}

@media (max-width: 767px) {
    .sep-favourites-account-page {
        padding-left: 0;
        padding-right: 0;
    }
}

/* ---------- Favourites email a friend ---------- */
.sep-email-friend-page {
    --sep-fav-ink: #22293a;
    --sep-fav-muted: #6b7280;
    --sep-fav-faint: #8a93a3;
    --sep-fav-cta: #c8235a;
    max-width: var(--page-max, 1440px);
    margin: 0 auto;
    padding: 0 32px 64px;
    box-sizing: border-box;
}

@media (max-width: 1023px) {
    .sep-email-friend-page {
        padding-left: 24px;
        padding-right: 24px;
    }
}

@media (max-width: 767px) {
    .sep-email-friend-page {
        padding-left: 16px;
        padding-right: 16px;
    }

    .sep-email-friend-title h1 {
        font-size: 26px;
    }

    .sep-email-friend-actions {
        justify-content: stretch;
    }

    .sep-email-friend-actions .sep-fav-btn {
        width: 100%;
    }
}

.sep-email-friend-title h1 {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -0.3px;
    margin: 0 0 22px;
    color: var(--text-strong, inherit);
}

.sep-email-friend-card {
    background: var(--surface, #fff);
    border: 1px solid var(--border, #e5e7eb);
    border-radius: 14px;
    padding: 24px 30px;
    box-sizing: border-box;
}

.sep-email-friend-fields {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 560px;
    margin: 0 auto;
}

.sep-email-friend-fields .inputs {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0;
}

.sep-email-friend-fields .sep-field {
    width: 100%;
}

.sep-email-friend-fields textarea.sep-field {
    min-height: 140px;
    resize: vertical;
}

.sep-email-friend-actions {
    display: flex;
    justify-content: flex-end;
    max-width: 560px;
    margin: 22px auto 0;
}

.sep-email-friend-result {
    max-width: 560px;
    margin: 0 auto;
    padding: 13px 16px;
    border: 1px solid var(--ok-border, #86efac);
    border-radius: 10px;
    background: var(--ok-bg, #f0fdf4);
    color: var(--ok-fg, #166534);
    font-size: 14px;
    font-weight: 700;
    text-align: center;
}

html[data-theme="dark"] .sep-email-friend-card {
    background: var(--surface);
    border-color: var(--border);
}

@media (max-width: 900px) {
    .sep-email-friend-title h1 {
        font-size: 26px;
    }

    .sep-email-friend-card {
        padding: 20px 18px;
    }

    .sep-email-friend-actions {
        justify-content: stretch;
    }

    .sep-email-friend-actions .sep-fav-btn {
        width: 100%;
    }
}

/* Wishlist legacy hooks */
.wishlist-page .page-title {
    text-align: left;
}

@media (max-width: 767px) {
    .sep-header-menu {
        padding: 0 16px;
    }
}

/* ==========================================================================================
   SENSE-CHECK REVISIONS (playwright pass) — targeted fixes layered last so they always win.
   ========================================================================================== */

/* The HomepageProducts component renders its own "Featured products" title; our section head
   ("Popular with students") already labels it, so hide the duplicate inner title. */
.sep-home-section .home-page-product-grid > .title,
.sep-home-section .home-page-category-grid > .title {
    display: none;
}

/* Search page submit button keeps the base blue via .search-button — align it with the
   primary CTA colour used across the theme. */
.button-1.search-button,
.search-input .button-1 {
    background: var(--brand-cta);
    color: #fff;
}

.button-1.search-button:hover,
.search-input .button-1:hover {
    background: var(--brand-cta-hover);
}

/* Compact circular wishlist badge — desktop (icon-only control) */
@media (min-width: 768px) {
    .header-links .wishlist-qty {
        top: -2px;
        right: -8px;
        min-width: 18px;
        height: 18px;
        padding: 0 5px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 999px;
        line-height: 1;
        box-sizing: border-box;
    }

    /* Basket keeps static-flow badge beside the label (see rule above) */
    .header-links a.ico-cart .cart-qty,
    .header-links #topcartlink a.ico-cart .cart-qty {
        position: static;
        top: auto;
        right: auto;
        margin: -10px 0 0 -6px;
    }
}

@media (max-width: 767px) {
    /* Row 2 keeps Help / Favourites / Account / Basket as icon controls */
    .sep-header__links li {
        display: flex;
    }

    .header-links #topcartlink,
    .header-links-wrapper #topcartlink {
        width: auto;
        max-width: none;
        margin: 0;
        padding: 0;
        background: none;
    }

    /* Icon-only controls: keep badges on the SVG corner (not outside the 44px hit area) */
    .header-links a.ico-wishlist,
    .header-links a.ico-cart,
    .header-links #topcartlink a.ico-cart {
        position: relative;
        gap: 0;
    }

    .header-links .cart-qty,
    .header-links .wishlist-qty,
    .header-links a.ico-cart .cart-qty,
    .header-links #topcartlink a.ico-cart .cart-qty,
    .header-links a.ico-wishlist .wishlist-qty {
        position: absolute;
        top: 2px;
        right: 2px;
        left: auto;
        margin: 0;
    }
}

/* Mobile full-screen search overlay */
.sep-mobile-search {
    position: fixed;
    inset: 0;
    z-index: 80;
    background: var(--sep-card, #fff);
    display: flex;
    flex-direction: column;
    padding: 0 16px 24px;
    /* Overlay lives inside `.header`, which centres text in the base theme */
    text-align: left;
}

.sep-mobile-search[hidden] {
    display: none !important;
}

.sep-mobile-search__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 56px;
    margin: 0 -16px;
    padding: 0 16px;
    border-bottom: 1px solid var(--sep-border);
}

.sep-mobile-search__logo a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.sep-mobile-search__logo img {
    max-width: 160px;
    max-height: 28px;
    object-fit: contain;
}

.sep-mobile-search__close {
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    color: var(--sep-ink);
    cursor: pointer;
    border-radius: 10px;
}

.sep-mobile-search__body {
    padding-top: 16px;
    flex: 1;
    overflow: auto;
}

.sep-mobile-search__form-host .sep-search-form,
.sep-mobile-search__form-host form {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    margin: 0;
    gap: 0;
    min-height: 48px;
    border: 1px solid var(--search-border, var(--sep-border));
    border-radius: 10px;
    overflow: hidden;
    background: var(--search-bg, var(--sep-card, #fff));
    box-shadow: none;
}

.sep-mobile-search__form-host .sep-search-form__icon {
    flex: none;
    width: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--sep-muted);
    pointer-events: none;
}

.sep-mobile-search__form-host .search-box-text,
.sep-mobile-search__form-host input.search-box-text {
    flex: 1 1 auto;
    min-width: 0;
    width: auto !important;
    margin: 0 !important;
    padding: 0 8px 0 0 !important;
    border: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    font-size: 16px !important;
    min-height: 48px;
    height: 48px;
}

.sep-mobile-search__form-host .sep-search-form__clear {
    flex: none;
}

.sep-mobile-search__form-host .search-box-button,
.sep-mobile-search__form-host .button-1.search-box-button,
.sep-mobile-search__form-host .sep-search-form__submit {
    position: static !important;
    flex: none;
    align-self: stretch;
    min-width: 48px !important;
    width: 48px !important;
    height: auto !important;
    min-height: 48px;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    border-radius: 0 !important;
    background: var(--brand-cta) !important;
    color: #fff !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    clip: auto !important;
    clip-path: none !important;
    overflow: visible !important;
    font-size: 0;
    line-height: 0;
}

.sep-mobile-search__form-host .sep-search-form__submit svg {
    display: block;
    color: #fff;
    stroke: #fff;
}

.sep-mobile-search__suggestions {
    margin-top: 12px;
    border: 1px solid var(--sep-border);
    border-radius: 10px;
    background: var(--sep-card, #fff);
    overflow: hidden;
}

.sep-mobile-search__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sep-mobile-search__item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    min-height: 52px;
    padding: 14px 18px;
    border-bottom: 1px solid var(--sep-border);
    text-align: left;
    text-decoration: none;
    color: inherit;
}

.sep-mobile-search__item:hover,
.sep-mobile-search__item:focus-visible {
    background: var(--search-bg, var(--sep-page));
}

.sep-mobile-search__name {
    font: 400 16px/1.35 var(--sep-font);
    color: var(--sep-ink);
}

.sep-mobile-search__meta {
    font: 400 12.5px/1.35 var(--sep-font);
    color: var(--sep-muted);
}

.sep-mobile-search__price {
    font: 600 14px/1.3 var(--sep-font);
    color: var(--sep-body);
}

.sep-mobile-search__empty {
    margin: 0;
    padding: 14px 18px;
    border-bottom: 1px solid var(--sep-border);
    font: 400 14px/1.5 var(--sep-font);
    color: var(--sep-muted);
}

.sep-mobile-search__view-all {
    display: flex;
    align-items: center;
    min-height: 52px;
    padding: 14px 18px;
    background: var(--search-bg, var(--sep-page));
    font: 700 15px var(--sep-font);
    color: var(--sep-ink);
    text-align: left;
    text-decoration: none;
}

.sep-mobile-search__view-all:hover {
    text-decoration: underline;
    text-underline-offset: 2px;
}

html.sep-mobile-search-open,
html.sep-mobile-nav-open {
    overflow: hidden;
}

@media (min-width: 768px) {
    .sep-menu-toggle,
    .sep-mobile-search-open,
    .sep-mobile-search,
    .sep-mobile-nav {
        display: none !important;
    }
}

/* Hide My Funds CTAs when the balance widget did not render */
.side-2:not(:has(.sep-account-funding)) .sep-funds-options {
    display: none;
}

.register-page .fieldset {
    background: var(--sep-card);
    border: 1px solid var(--sep-border);
    border-radius: 14px;
    padding: 24px;
    text-align: left;
    max-width: 520px;
}

.register-page .page-title,
.password-recovery-page .page-title,
.contact-page .page-title {
    text-align: left;
}


/* ---------- Final chrome: cookie, 404, auth, order details, search, filters ---------- */
.sep-cookie-bar.eu-cookie-bar-notification {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 100;
    background: var(--sep-card);
    border: 1px solid var(--sep-border);
    border-radius: 14px;
    box-shadow: 0 12px 40px rgba(20, 30, 60, .18);
    padding: 16px 18px;
    max-width: 720px;
    margin: 0 auto;
}

.sep-cookie-bar .text {
    font-size: 14px;
    color: var(--sep-body);
    margin-bottom: 12px;
}

.sep-cookie-bar .buttons-more {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.sep-cookie-bar .learn-more {
    font: 700 14px var(--sep-font);
    color: var(--brand-link);
}

.sep-not-found-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.sep-auth-page .page-title {
    text-align: left;
}

.sep-auth-card,
.registration-page .fieldset,
.register-page .fieldset {
    background: var(--sep-card);
    border: 1px solid var(--sep-border);
    border-radius: 14px;
    padding: 24px;
    text-align: left;
    max-width: 560px;
}

.registration-page .page-title,
.registration-page .fieldset .title {
    text-align: left;
}

.registration-page .fieldset .title,
.registration-page .fieldset .title strong {
    background: none;
    border: none;
    font: 800 16px var(--sep-font);
    color: var(--sep-ink);
    text-transform: none;
}

.registration-page .inputs label {
    float: none;
    display: block;
    width: auto;
    text-align: left;
    margin: 0 0 6px;
}

.order-details-page .page-title {
    text-align: left;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.order-details-page .order-overview {
    background: var(--sep-card);
    border: 1px solid var(--sep-border);
    border-radius: 14px;
    padding: 20px 22px;
    margin-bottom: 18px;
    text-align: left;
}

.order-details-page .order-details-area .title {
    background: none;
    border: none;
    text-align: left;
    font: 800 16px var(--sep-font);
    color: var(--sep-ink);
    text-transform: none;
}

.search-page .page-title,
.search-input {
    text-align: left;
}

.search-page .search-input input.search-box-text {
    border-radius: 10px;
    border: 1px solid var(--sep-border);
    background: var(--sep-field);
    padding: 12px 14px;
}

.sep-filters-intro {
    margin: 0 0 12px;
    font-size: 13px;
    color: var(--sep-muted);
}

.sep-filter-within {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0 0 14px;
    font: 600 14px var(--sep-font);
    color: var(--sep-body);
}

.sep-filter-within__soon {
    display: inline-block;
    margin-left: 6px;
    padding: 2px 8px;
    border-radius: 999px;
    background: var(--sep-field);
    color: var(--sep-muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.product-filters .filter-title {
    font: 700 14px var(--sep-font);
    color: var(--sep-ink);
}


/* ---------- Dark mode surface / field polish (screenshots parity) ---------- */
html[data-theme="dark"] .sep-topbar,
html[data-theme="dark"] .sep-topbar__panel,
html[data-theme="dark"] .sep-topbar__panel-cap,
html[data-theme="dark"] .sep-topbar__panel-bridge {
    background: var(--sep-card);
    color: var(--on-dark);
}

html[data-theme="dark"] .sep-topbar__panel,
html[data-theme="dark"] .sep-topbar__panel-cap {
    border-color: var(--sep-border-strong);
}

html[data-theme="dark"] .flyout-cart.sep-flyout-cart,
html[data-theme="dark"] .sep-dropdown__panel,
html[data-theme="dark"] .sep-dropdown__panel::before,
html[data-theme="dark"] .flyout-cart.sep-flyout-cart::before {
    background: var(--sep-card);
    border-color: var(--sep-border-strong);
    box-shadow:
        0 10px 14px rgba(0, 0, 0, .28),
        0 24px 40px rgba(0, 0, 0, .32);
}

html[data-theme="dark"] .sep-header-action--account.is-open > .sep-dropdown__toggle,
html[data-theme="dark"] .sep-header-action--basket:hover > .sep-header-action__btn,
html[data-theme="dark"] #topcartlink:hover > .sep-header-action__btn,
html[data-theme="dark"] .sep-topbar__drop.is-open > .sep-topbar__drop-toggle {
    color: var(--sep-ink);
}

html[data-theme="dark"] .ui-autocomplete,
html[data-theme="dark"] .ui-menu .ui-menu-item-wrapper {
    background: var(--sep-card);
    color: var(--sep-body);
    border-color: var(--sep-border);
}

html[data-theme="dark"] .ui-menu .ui-state-active,
html[data-theme="dark"] .ui-menu .ui-menu-item-wrapper.ui-state-active,
html[data-theme="dark"] .ui-menu .ui-menu-item-wrapper:hover {
    background: var(--sep-field) !important;
    color: var(--sep-ink) !important;
    border-color: transparent !important;
    margin: 0;
}

html[data-theme="dark"] .pager li span,
html[data-theme="dark"] .pager li a,
html[data-theme="dark"] .section.order-summary,
html[data-theme="dark"] .fieldset,
html[data-theme="dark"] .write-review,
html[data-theme="dark"] .product-review-item,
html[data-theme="dark"] .block,
html[data-theme="dark"] .product-filters,
html[data-theme="dark"] .item-box {
    background: var(--sep-card);
    border-color: var(--sep-border);
    color: var(--sep-body);
}

html[data-theme="dark"] .product-details-page .overview,
html[data-theme="dark"] .product-details-page .full-description,
html[data-theme="dark"] .product-collateral,
html[data-theme="dark"] .product-details-page .attribute-squares-wrapper {
    color: var(--sep-body);
}

html[data-theme="dark"] .product-details-page .product-name h1,
html[data-theme="dark"] .product-details-page .product-price,
html[data-theme="dark"] .overview .product-price span {
    color: var(--sep-ink);
}

html[data-theme="dark"] .sep-header-menu .menu__grid-view,
html[data-theme="dark"] .sep-header-menu .menu__list-view {
    background: var(--sep-card);
    border-color: var(--sep-border);
    border-top-color: var(--brand-link);
    box-shadow: 0 16px 40px rgba(0, 0, 0, .35);
}

html[data-theme="dark"] .sep-mega-pick__price {
    color: var(--sep-positive-fg);
}

html[data-theme="dark"] .sep-balance-pill {
    background: var(--sep-positive-tint);
    border-color: var(--sep-positive-border);
}

html[data-theme="dark"] .sep-balance-pill .amount {
    color: var(--sep-positive-fg);
}

html[data-theme="dark"] .sep-balance-pill .word {
    color: var(--sep-positive-fg-sub);
}

html[data-theme="dark"] .sep-announcement {
    background: var(--sep-surface-2);
    color: var(--sep-muted);
    border-color: var(--sep-border);
}

html[data-theme="dark"] .header-links .cart-qty,
html[data-theme="dark"] .header-links .wishlist-qty {
    background: var(--magenta);
    color: #fff;
}

/* Product photo stage stays light so imagery reads correctly */
html[data-theme="dark"] .sep-pdp-gallery,
html[data-theme="dark"] .sep-pdp-gallery__picture,
html[data-theme="dark"] .sep-pdp-gallery__thumb,
html[data-theme="dark"] .gallery .picture {
    background: #fff;
}

html[data-theme="dark"] .sep-pdp-about,
html[data-theme="dark"] .sep-pdp-about * {
    text-shadow: none !important;
    filter: none;
    -webkit-font-smoothing: antialiased;
}

html[data-theme="dark"] .mini-shopping-cart .name a,
html[data-theme="dark"] .mini-shopping-cart .totals,
html[data-theme="dark"] .flyout-cart .count {
    color: var(--sep-ink);
}

html[data-theme="dark"] .mini-shopping-cart .price,
html[data-theme="dark"] .mini-shopping-cart .quantity {
    color: var(--sep-muted);
}

/* ---------- Redesign sync (sep-frontend-redesign origin/main Oct 2026) ---------- */

/* Header search chrome — compact 38px, radius 8; submit is icon-only.
   Desktop (≥1101): logo | search | toolbar share the row.
   Tablet overrides live in the 768–1100 block above and must win here too. */
.header-lower .header-logo,
.header-lower .sep-header__logo {
    flex: 1 1 0;
    min-width: 0;
}

.header-lower .search-box,
.header-lower .sep-header__search {
    flex: 0 1 560px;
    max-width: 560px;
    min-width: 220px;
}

.header-lower .sep-header__toolbar {
    flex: 1 1 0;
    justify-content: flex-end;
    min-width: 0;
}

@media (min-width: 1101px) and (max-width: 1439px) {
    .header-lower .search-box,
    .header-lower .sep-header__search {
        flex: 0 1 560px;
        max-width: 560px;
        min-width: 220px;
    }

    .header-lower .header-logo,
    .header-lower .sep-header__logo,
    .header-lower .sep-header__toolbar {
        flex: 1 1 0;
        min-width: 0;
    }
}

@media (min-width: 1440px) {
    .header-lower .search-box,
    .header-lower .sep-header__search {
        max-width: 680px;
        flex-basis: 680px;
    }
}

/* Re-assert mid-width: search shrinks; logo + account keep size (greeting stays). */
@media (max-width: 1400px) and (min-width: 1024px) {
    .header-lower .header-logo,
    .header-lower .sep-header__logo {
        flex: 0 0 auto !important;
        max-width: 240px;
        min-width: 0;
    }

    .header-lower .search-box,
    .header-lower .sep-header__search {
        flex: 1 1 0% !important;
        max-width: 560px !important;
        min-width: 160px !important;
        margin: 0;
    }

    .header-lower .sep-header__toolbar {
        flex: 0 0 auto !important;
        min-width: auto;
        justify-content: flex-end;
    }
}

/* Re-assert narrow-tablet icon-only header */
@media (max-width: 1023px) and (min-width: 768px) {
    .header-lower .header-logo,
    .header-lower .sep-header__logo {
        flex: 0 0 auto;
        max-width: 200px;
        min-width: 0;
    }

    .header-lower .search-box,
    .header-lower .sep-header__search {
        flex: 1 1 0% !important;
        max-width: none !important;
        min-width: 120px !important;
        margin: 0;
    }

    .header-lower .sep-header__toolbar {
        flex: 0 0 auto !important;
        min-width: auto;
        justify-content: flex-end;
    }

    .sep-header-action__account-text,
    .sep-header-action__greeting,
    .sep-header-action__sub,
    .sep-header-action__label,
    .header-links .cart-label {
        display: none !important;
    }
}

.header-lower .search-box form {
    min-height: 38px;
    border-radius: 8px;
}

.header-lower .search-box input.search-box-text {
    padding: 0 10px;
    font-size: 14.5px;
    min-height: 38px;
}

.header-lower .search-box .search-box-button,
.header-lower .search-box .button-1.search-box-button,
.header-lower .sep-search-form__submit {
    min-width: 44px !important;
    width: 44px !important;
    padding: 0 !important;
    font-size: 0;
    line-height: 0;
    background: var(--brand-cta);
    color: #fff;
}

.header-lower .sep-search-form__submit svg {
    display: block;
    color: #fff;
    stroke: #fff;
}

.sep-header-action__signin {
    gap: 8px;
}

.sep-header-action__signin .sep-header-action__label {
    font: 700 14px var(--sep-font);
    color: var(--text-nav);
}

.sep-menu-toggle {
    display: none;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    width: auto;
    min-width: 44px;
    height: 44px;
    background: none;
    border: none;
    gap: 8px;
    cursor: pointer;
    padding: 6px 4px;
    color: var(--sep-ink);
}

.sep-menu-toggle__bars {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 0 0 auto;
    gap: 4px;
    width: 22px;
    height: 16px;
}

.sep-menu-toggle__bars span {
    height: 2px;
    width: 100%;
    background: currentColor;
    border-radius: 2px;
    display: block;
    flex: 0 0 auto;
}

.sep-menu-toggle__label {
    display: inline-block;
    height: auto;
    width: auto;
    font: 700 13px var(--sep-font);
    color: var(--sep-ink);
    line-height: 1;
    background: none;
}

@media (max-width: 767px) {
    .sep-menu-toggle {
        display: inline-flex;
    }
}

/* Login / auth forms — superseded by Login / register block above; keep password-recovery helpers */
.sep-login-lede { display: none; }
.sep-login-hint { display: none; }

.sep-auth-card {
    max-width: 520px;
    background: var(--surface);
    border: 1px solid var(--sep-border);
    border-radius: 14px;
    overflow: hidden;
    padding: 0;
}

.sep-auth-card__band {
    background: var(--surface-navy);
    color: #fff;
    font: 700 16px var(--sep-font);
    padding: 14px 18px;
}

.sep-auth-card__body {
    padding: 22px 20px;
}

.sep-auth-card .tooltip {
    display: block;
    margin: 0 0 16px;
    padding: 0;
    border: none;
    border-bottom: none;
    font-size: 14.5px;
    color: var(--sep-body);
    line-height: 1.5;
}

/* Nested fieldset / form-fields must not add a second card, dashed rule, or grey panel */
.sep-auth-card .fieldset,
.password-recovery-page .sep-auth-card .fieldset {
    margin: 0;
    padding: 0;
    max-width: none;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
}

.sep-auth-card .form-fields,
.password-recovery-page .sep-auth-card .form-fields {
    margin: 0;
    padding: 0;
    background: transparent;
    border: none;
    border-top: none;
}

.sep-auth-card__result {
    margin: 0 0 16px;
    padding: 11px 14px;
    background: var(--sep-error-tint);
    border: 1px solid var(--sep-error-border);
    border-radius: var(--sep-r-control);
    font-size: 12.5px;
    line-height: 1.5;
    text-align: center;
    color: var(--sep-error-fg);
}

.sep-auth-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.sep-auth-card__actions .sep-btn-outline,
.sep-auth-card__actions .sep-btn-primary,
.sep-auth-card__actions .sep-btn-magenta {
    flex: 1 1 160px;
}

/* Match login form field style (white surface, not grey --sep-field) */
.sep-auth-card .inputs input[type="text"],
.sep-auth-card .inputs input[type="email"],
.sep-auth-card .inputs input[type="password"],
.sep-auth-card .sep-field,
.password-recovery-page .sep-auth-card input.email,
.password-recovery-page .sep-auth-card input[type="email"] {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
    min-height: 44px;
    border-radius: var(--sep-r-control) !important;
    border: 1.5px solid var(--sep-border-strong) !important;
    padding: 12px 14px !important;
    font-size: 14.5px !important;
    color: var(--sep-ink) !important;
    background: var(--surface) !important;
}

.sep-auth-card .inputs input:focus-visible,
.sep-auth-card .sep-field:focus-visible {
    outline: 2px solid var(--brand-link);
    outline-offset: 2px;
    border-color: var(--brand-link) !important;
}

.password-recovery-page .password-recovery-button,
.password-recovery-page .sep-auth-card .button-1.sep-btn-magenta,
.sep-auth-card .sep-btn-magenta {
    background: var(--magenta) !important;
    color: #fff !important;
    border: none !important;
    border-radius: var(--sep-r-control) !important;
    font: 700 14.5px var(--sep-font) !important;
    text-transform: none !important;
    min-height: 46px;
    padding: 12px 22px !important;
}

.password-recovery-page .password-recovery-button:hover,
.sep-auth-card .sep-btn-magenta:hover {
    filter: brightness(1.08);
    background: var(--magenta) !important;
    color: #fff !important;
}

.sep-auth-page .page-title h1 {
    font-size: 30px;
    font-weight: 800;
}

/* Account nav (redesign AccountView left rail) */
.sep-account-nav .title {
    display: none;
}

.sep-account-nav.block-account-navigation {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}

.sep-account-nav .listbox {
    background: #fff;
    border: 1px solid var(--sep-border);
    border-radius: 8px;
    padding: 16px 12px;
    box-shadow: none;
}

.sep-account-nav__group-label {
    margin: 14px 0 8px;
    padding: 0 10px;
    font: 800 11px/1.3 var(--sep-font);
    letter-spacing: .6px;
    text-transform: uppercase;
    color: var(--sep-muted, #6B7280);
}

.sep-account-nav__group-label:first-child {
    margin-top: 0;
}

.sep-account-nav .list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sep-account-nav .list + .sep-account-nav__group-label {
    border-top: 1px solid var(--sep-border);
    margin-top: 12px;
    padding-top: 14px;
}

.sep-account-nav .list li {
    margin: 0;
    padding: 0 !important;
    border: none;
    background: none;
    list-style: none;
}

.sep-account-nav .list li::before,
.sep-account-nav .list li::marker {
    content: none !important;
    display: none !important;
}

/* Kill DefaultClean grey square bullets (.block .list a:before) */
.sep-account-nav .list a::before,
.sep-account-nav .list a:before,
.sep-account-nav .list .sep-account-nav-item::before,
.sep-account-nav .list .sep-account-nav-item:before {
    content: none !important;
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    background: none !important;
}

.sep-account-nav-item {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    border: 0;
    border-radius: 8px;
    padding: 11px 10px;
    background: transparent;
    color: var(--sep-ink, #1E293B);
    font: 600 14px/1.3 var(--sep-font);
    text-align: left;
    text-decoration: none;
    box-sizing: border-box;
}

.sep-account-nav-item:hover {
    background: var(--sep-surface-2, #EEF1F6);
    color: var(--sep-ink);
}

.sep-account-nav-item[data-active="true"],
.sep-account-nav .list li.active .sep-account-nav-item {
    background: var(--sep-surface-2, #E8EDF5);
    color: var(--sep-ink, #1E293B);
    font-weight: 750;
}

.sep-account-action-card {
    width: 100%;
    min-height: 88px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--surface);
    border: 1px solid var(--sep-border);
    border-radius: 8px;
    padding: 16px;
    color: inherit;
    text-decoration: none;
}

.sep-account-action-card:hover {
    background: var(--sep-surface-2);
    border-color: var(--sep-border-strong);
}

/* Book PDP — Key details under buy column; sticky still applies ≥1024px */
.sep-pdp--book .sep-pdp-buy .product-specs-box {
    background: var(--sep-card);
    border: 1px solid var(--sep-border);
    border-radius: 14px;
    padding: 18px 20px;
    margin: 0;
}

.sep-pdp--book .sep-pdp-buy .product-specs-box .title {
    font: 800 16px var(--sep-font);
    color: var(--sep-ink);
    margin: 0 0 12px;
    border: none;
    background: none;
    padding: 0;
    text-align: left;
    text-transform: none;
}

/* PDP "Key details" label / value list (sep-frontend-redesign BookPdp) */
.sep-key-details {
    background: var(--surface, var(--sep-card));
    border: 1px solid var(--border, var(--sep-border));
    border-radius: 14px;
    padding: 20px 22px;
    margin: 0;
    box-sizing: border-box;
}

.sep-key-details__title {
    font: 800 18px/1.3 var(--sep-font);
    margin: 0 0 12px;
    padding: 0;
    color: var(--text-strong, var(--sep-ink));
    background: none;
    border: none;
    text-align: left;
    text-transform: none;
}

.sep-key-details__row {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 12px;
    font-size: 14px;
    padding: 8px 0;
    border-bottom: 1px solid var(--divider);
}

.sep-key-details__name {
    color: var(--text-muted, var(--sep-muted));
}

.sep-key-details__value {
    color: var(--text-strong, var(--sep-ink));
    overflow-wrap: anywhere;
}

.sep-key-details .attribute-square-container {
    display: inline-block;
    vertical-align: middle;
}

/* Subcategory / chip rail — horizontal rounded cards, navy active */
.sep-subcat-rail,
.sep-category-rail {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    padding: 4px 0 8px;
}

.sep-subcat-rail__item,
.sep-category-rail a.sep-subcat-chip {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 52px;
    padding: 5px 14px 5px 6px;
    border-radius: 12px;
    border: 1px solid var(--sep-border);
    background: var(--surface);
    color: var(--sep-ink);
    text-decoration: none;
    font: 700 14px/1.2 var(--sep-font);
    white-space: nowrap;
    scroll-snap-align: start;
}

.sep-subcat-rail__item:hover,
.sep-category-rail a.sep-subcat-chip:hover {
    border-color: var(--sep-border-strong);
    background: var(--sep-surface-2);
}

.sep-subcat-rail__item.is-active,
.sep-subcat-rail__item[aria-current="page"],
.sep-category-rail a.sep-subcat-chip.is-active,
.sep-category-rail a.sep-subcat-chip[aria-current="page"] {
    border-color: #203864;
    background: #203864;
    color: #fff;
}

.sep-subcat-rail__thumb {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: contain;
    background: #fdfdfd;
    padding: 4px;
    box-sizing: border-box;
}

@media (min-width: 768px) {
    .sep-subcat-rail__thumb {
        width: 72px;
        height: 72px;
    }
}

html[data-theme="dark"] .sep-subcat-rail__item.is-active,
html[data-theme="dark"] .sep-subcat-rail__item[aria-current="page"],
html[data-theme="dark"] .sep-category-rail a.sep-subcat-chip.is-active {
    border-color: var(--brand-link);
    background: var(--brand-link);
    color: #0f1521;
}

.sep-rail-bleed {
    margin-left: calc(-1 * var(--gutter));
    margin-right: calc(-1 * var(--gutter));
    padding-left: var(--gutter);
    padding-right: var(--gutter);
    scroll-padding-left: var(--gutter);
}

@media (max-width: 767px) {
    .sep-rail-nav {
        display: none;
    }
}

/* Help topic navy band / tabs */
.sep-help-tabs,
.topic-page .sep-help-tabs {
    display: flex;
    gap: 8px;
    margin: 0 0 0;
}

.sep-help-tab {
    border: none;
    border-radius: 10px 10px 0 0;
    padding: 11px 20px;
    font: 700 14px var(--sep-font);
    cursor: pointer;
    background: var(--surface-navy);
    color: #f7f9fc;
}

.sep-help-tab.is-active {
    background: var(--surface);
    color: var(--sep-ink);
}

.sep-help-panel {
    background: var(--surface);
    border: 1px solid var(--sep-border);
    border-radius: 0 0 14px 14px;
    padding: 20px;
}

@media (max-width: 767px) {
    .sep-help-tabs { gap: 4px; }
    .sep-help-tab { padding: 11px 7px; }
}

/* ---------- Account dashboard (Lovable AccountView) ---------- */
.html-account-dashboard-page .sep-account-funding,
.html-account-dashboard-page .sep-funds-options {
    display: none;
}

.html-account-dashboard-page .master-wrapper-content {
    max-width: var(--page-max, 1240px);
}

.sep-account-nav-item__icon {
    display: inline-flex;
    flex: 0 0 auto;
    color: var(--sep-caption);
}

.sep-account-nav-item[data-active="true"] .sep-account-nav-item__icon,
.sep-account-nav .list li.active .sep-account-nav-item__icon {
    color: var(--brand-link);
}

.sep-account-dashboard {
    padding-bottom: 48px;
}

.sep-account-dashboard__intro {
    margin-bottom: 26px;
}

.sep-account-dashboard__crumb {
    margin: 0 0 10px;
    font: 500 13px/1.4 var(--sep-font);
    color: var(--sep-muted);
}

.sep-account-dashboard__crumb a {
    color: inherit;
    text-decoration: none;
}

.sep-account-dashboard__crumb a:hover {
    color: var(--brand-link);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.sep-account-dashboard__intro h1 {
    margin: 0 0 8px;
    font: 800 34px/1.15 var(--sep-font);
    color: var(--brand-link);
}

.sep-account-dashboard__lede {
    margin: 0;
    font: 500 15px/1.45 var(--sep-font);
    color: var(--sep-muted);
}

.sep-account-dashboard__mobile-nav {
    display: none;
    margin-bottom: 18px;
    font: 700 13px/1.3 var(--sep-font);
    color: var(--sep-muted);
}

.sep-account-dashboard__mobile-nav select {
    display: block;
    width: 100%;
    margin-top: 7px;
    min-height: 44px;
    padding: 10px 12px;
    border: 1.5px solid var(--sep-border-strong);
    border-radius: 8px;
    background: var(--surface);
    color: var(--sep-ink);
    font: 650 14px/1.3 var(--sep-font);
}

.sep-account-dashboard__layout {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}

/* Sticky on the grid item itself: the inner nav fills the aside, so it would have no room to stick */
.sep-account-dashboard__nav {
    position: sticky;
    top: calc(var(--sep-header-h, 129px) + 16px);
    z-index: 2;
}

.sep-account-dashboard__nav .sep-account-nav .listbox {
    padding: 16px 12px;
}

.sep-account-dashboard__main {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sep-account-quick-heading {
    margin: 0 0 14px;
    font: 800 20px/1.25 var(--sep-font);
    color: var(--sep-ink);
}

.sep-account-quick__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.sep-account-action-card {
    width: 100%;
    min-height: 88px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--surface);
    border: 1px solid var(--sep-border);
    border-radius: 8px;
    padding: 16px;
    color: inherit;
    text-decoration: none;
}

.sep-account-action-card:hover {
    background: var(--sep-surface-2);
    border-color: var(--sep-border-strong);
}

.sep-account-action-card__icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: var(--sep-surface-2);
    color: var(--brand-link);
    flex: 0 0 auto;
}

.sep-account-action-card__text {
    min-width: 0;
    flex: 1 1 auto;
    text-align: left;
}

.sep-account-action-card__title {
    display: block;
    margin-bottom: 3px;
    font: 750 15px/1.25 var(--sep-font);
    color: var(--sep-ink);
}

.sep-account-action-card__sub {
    display: block;
    font: 500 13px/1.45 var(--sep-font);
    color: var(--sep-muted);
    overflow-wrap: anywhere;
}

.sep-account-action-card__chevron {
    color: var(--sep-caption);
    font-size: 20px;
    line-height: 1;
    flex: 0 0 auto;
}

.sep-account-recent {
    background: var(--surface);
    border: 1px solid var(--sep-border);
    border-radius: 8px;
    padding: 24px;
}

.sep-account-recent__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.sep-account-recent__title {
    margin: 0 0 3px;
    font: 800 20px/1.25 var(--sep-font);
    color: var(--sep-ink);
}

.sep-account-recent__lede {
    margin: 0;
    font: 500 13px/1.4 var(--sep-font);
    color: var(--sep-muted);
}

.sep-account-recent__view-all {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 6px 12px;
    border: 1px solid var(--sep-border-strong);
    border-radius: 7px;
    background: var(--surface);
    color: var(--sep-ink);
    font: 650 13px/1 var(--sep-font);
    text-decoration: none;
    white-space: nowrap;
}

.sep-account-recent__view-all:hover {
    background: var(--sep-surface-2);
}

.sep-account-recent__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sep-account-recent__list > li {
    border: none;
}

.sep-account-recent__empty {
    margin: 0;
    font: 500 14px/1.45 var(--sep-font);
    color: var(--sep-muted);
}

/* ---------- Orders history (card list) ---------- */
.sep-orders-page {
    text-align: left;
}

.sep-orders-page__head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px 16px;
    margin: 0 0 20px;
}

.sep-orders-page__intro h1 {
    margin: 0 0 6px;
    font: 800 22px/1.2 var(--sep-font);
    color: var(--sep-ink);
}

.sep-orders-page__lede {
    margin: 0;
    font: 400 14px/1.45 var(--sep-font);
    color: var(--sep-muted);
}

.sep-orders-filter {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font: 700 13px var(--sep-font);
    color: var(--sep-ink, #22293A);
    margin: 0;
}

.sep-orders-filter__label {
    white-space: nowrap;
}

.sep-orders-filter__select.sep-field {
    min-width: 150px;
    min-height: 40px;
    padding: 8px 10px;
    border: 1.5px solid var(--sep-border-strong);
    border-radius: 8px;
    background: var(--sep-card);
    font: 400 14px var(--sep-font);
    color: var(--sep-ink, #22293A);
}

.sep-orders-filter__select.sep-field:focus-visible {
    outline: 2px solid var(--brand-link, #203864);
    outline-offset: 2px;
}

.sep-orders-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.sep-order-card {
    border: 1px solid var(--sep-border);
    border-radius: 8px;
    background: var(--sep-card);
    overflow: hidden;
    box-shadow: none;
}

.sep-order-card__article {
    display: block;
}

.sep-order-card__header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 12px;
    padding: 14px 18px;
    background: var(--sep-surface-2, #F1F4F8);
    border-bottom: 1px solid var(--sep-border);
}

.sep-order-card__meta {
    font: 400 14px/1.4 var(--sep-font);
    color: var(--sep-body);
}

.sep-order-card__id {
    font: 700 15px/1.3 var(--sep-font);
    color: var(--brand-link, #203864);
}

.sep-order-card__placed {
    margin-left: 2px;
    color: var(--sep-body);
}

.sep-order-card__badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.sep-order-card__notes {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font: 700 12.5px var(--sep-font);
    color: var(--brand-link);
}

.sep-status-pill {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    padding: 3px 10px;
    border-radius: 999px;
    border: 1px solid;
    font: 700 12.5px/1.2 var(--sep-font);
}

.sep-status-pill--sm {
    padding: 2px 8px;
    font-size: 11.5px;
}

/* Order Received — neutral / blue */
.sep-status-pill--received {
    background: #eff4fa;
    color: var(--brand-link, #203864);
    border-color: #c9d6ea;
}

/* In Progress / Processing — amber */
.sep-status-pill--inprogress,
.sep-status-pill--processing,
.sep-status-pill--partial {
    background: #fff7e6;
    color: #8a5300;
    border-color: #f3d9a4;
}

/* Completed / Despatched / Delivered — success */
.sep-status-pill--completed,
.sep-status-pill--despatched,
.sep-status-pill--delivered {
    background: #ecfdf3;
    color: #05603a;
    border-color: #abefc6;
}

.sep-status-pill--cancelled {
    background: var(--sep-error-tint);
    color: var(--sep-error-fg);
    border-color: var(--sep-error-border);
}

.sep-order-card__items {
    padding: 6px 18px;
}

.sep-order-line {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 10px 0;
}

.sep-order-line__pic {
    width: 56px;
    height: 56px;
    border: 1px solid var(--sep-border);
    border-radius: 8px;
    background: var(--sep-card);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3px;
    box-sizing: border-box;
}

.sep-order-line__pic img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

.sep-order-line__pic-ph {
    display: block;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        45deg,
        var(--placeholder-a),
        var(--placeholder-a) 6px,
        var(--placeholder-b) 6px,
        var(--placeholder-b) 12px
    );
}

.sep-order-line__name {
    font: 700 14px/1.35 var(--sep-font);
    color: var(--sep-ink);
}

.sep-order-line__qty {
    margin-top: 2px;
    font: 400 12.5px/1.35 var(--sep-font);
    color: var(--sep-muted);
}

.sep-order-line__status {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 8px;
    margin-top: 6px;
    font: 400 12.5px/1.35 var(--sep-font);
    color: var(--sep-muted);
}

.sep-order-line__detail {
    font-weight: 600;
    color: var(--sep-ink);
}

.sep-order-line__tracking {
    color: var(--sep-muted);
    overflow-wrap: anywhere;
    word-break: break-word;
}

.sep-order-line__price {
    font: 700 14px/1.3 var(--sep-font);
    color: var(--sep-ink, #22293A);
    white-space: nowrap;
    text-align: right;
}

.sep-order-card__footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 18px;
    border-top: 1px solid var(--sep-border);
}

.sep-order-card__total {
    font: 400 14px/1.4 var(--sep-font);
    color: var(--sep-muted);
}

.sep-order-card__total strong {
    font: 800 16px/1.3 var(--sep-font);
    color: var(--sep-ink, #22293A);
}

.sep-order-card__total-meta {
    font-size: 12.5px;
}

.sep-order-card__details {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 40px;
    padding: 8px 14px 8px 16px;
    border: 1.5px solid var(--sep-border-strong, #c5ccd8);
    border-radius: 8px;
    background: #fff;
    color: var(--brand-link, #203864);
    font: 600 14px/1.2 var(--sep-font);
    text-decoration: none;
    flex: 0 0 auto;
    box-sizing: border-box;
    white-space: nowrap;
    transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.sep-order-card__details:hover {
    text-decoration: none;
    border-color: var(--brand-link, #203864);
    background: #f5f8fc;
    color: var(--brand-link, #203864);
}

.sep-order-card__details:focus-visible {
    outline: 2px solid var(--brand-link, #203864);
    outline-offset: 2px;
}

.sep-order-card__details-chevron {
    flex: 0 0 auto;
    display: block;
}

.sep-orders-empty {
    background: var(--sep-surface-2, #F1F4F8);
    border: 1px solid var(--sep-border);
    border-radius: 8px;
    padding: 34px 18px;
    text-align: center;
    box-shadow: none;
}

.sep-orders-empty__title {
    font: 750 15px var(--sep-font);
    color: var(--sep-ink, #22293A);
    margin: 0 0 14px;
}

.sep-orders-empty--period .sep-orders-empty__title {
    margin-bottom: 0;
}

.sep-orders-empty .sep-fav-btn {
    min-height: 44px;
}

.sep-orders-empty__copy {
    margin: 0 0 14px;
    font: 400 13.5px/1.45 var(--sep-font);
    color: var(--sep-muted);
}

.sep-orders-pager {
    margin-top: 18px;
}

/* ---------- Order detail ---------- */
.sep-order-detail {
    font-family: var(--sep-font);
    color: var(--sep-body);
}

.sep-order-detail__back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 44px;
    margin: 0 0 14px;
    color: var(--brand-link);
    font: 700 14px var(--sep-font);
    text-decoration: none;
}

.sep-order-detail__back:hover {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.sep-order-detail__back:focus-visible,
.sep-order-detail__action:focus-visible,
.sep-order-detail__help-link:focus-visible,
.sep-order-detail__item-name a:focus-visible,
.sep-order-detail__item-tracking:focus-visible {
    outline: 2px solid var(--brand-link);
    outline-offset: 2px;
}

.sep-order-detail__header {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    background: var(--sep-card);
    border: 1px solid var(--sep-border);
    border-radius: 8px;
    padding: 18px 20px;
    margin-bottom: 16px;
}

.sep-order-detail__title-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 12px;
    margin: 0 0 10px;
}

.sep-order-detail__title {
    margin: 0;
    font: 800 22px/1.25 var(--sep-font);
    color: var(--sep-ink);
}

.sep-order-detail__header-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
}

.sep-order-detail__placed {
    font: 400 13.5px/1.4 var(--sep-font);
    color: var(--sep-muted);
}

.sep-order-detail__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-left: auto;
}

.sep-order-detail__action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 10px 16px;
    border-radius: 10px;
    font: 700 13.5px var(--sep-font);
    text-decoration: none;
    cursor: pointer;
    box-sizing: border-box;
}

.sep-order-detail__action-icon {
    flex: 0 0 auto;
    display: block;
}

.sep-order-detail__action--secondary {
    background: var(--sep-card);
    border: 1.5px solid var(--sep-border-strong);
    color: var(--sep-ink);
}

.sep-order-detail__action--secondary:hover {
    background: var(--sep-surface-2);
}

.sep-order-detail__panel {
    background: var(--sep-card);
    border: 1px solid var(--sep-border);
    border-radius: 8px;
    padding: 18px 20px;
    margin-bottom: 16px;
}

.sep-order-detail__panel-title {
    margin: 0 0 14px;
    font: 800 16px/1.3 var(--sep-font);
    color: var(--sep-ink);
}

.sep-order-detail__notes .sep-order-detail__panel-title {
    margin-bottom: 12px;
}

.sep-order-detail__note-list,
.sep-order-detail__items,
.sep-order-detail__address,
.sep-order-detail__item-notes {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sep-order-detail__note-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sep-order-detail__note,
.sep-order-detail__item-note {
    background: var(--sep-surface-2);
    border-left: 3px solid var(--au-main-menu-bg, #203864);
    border-radius: 0 8px 8px 0;
    padding: 10px 14px;
}

.sep-order-detail__note-time,
.sep-order-detail__item-note-meta {
    display: block;
    margin-bottom: 4px;
    font: 600 12.5px/1.35 var(--sep-font);
    color: var(--sep-muted);
}

.sep-order-detail__note-body,
.sep-order-detail__item-note-body {
    font: 400 13.5px/1.55 var(--sep-font);
    color: var(--sep-body);
    white-space: pre-wrap;
}

.sep-order-detail__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 16px;
    align-items: start;
}

.sep-order-detail__aside {
    display: flex;
    flex-direction: column;
}

.sep-order-detail__item {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: start;
    padding: 14px 0;
    border-top: 1px solid var(--sep-border);
}

.sep-order-detail__items > .sep-order-detail__item:first-child {
    border-top: none;
    padding-top: 0;
}

.sep-order-detail__item-pic {
    width: 72px;
    height: 72px;
    border: 1px solid var(--sep-border);
    border-radius: 8px;
    background: var(--sep-card);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    box-sizing: border-box;
}

.sep-order-detail__item-pic img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

.sep-order-detail__item-pic-ph {
    display: block;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        45deg,
        var(--placeholder-a),
        var(--placeholder-a) 6px,
        var(--placeholder-b) 6px,
        var(--placeholder-b) 12px
    );
}

.sep-order-detail__item-brand {
    margin-bottom: 2px;
    font: 700 12px/1.3 var(--sep-font);
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--sep-muted);
}

.sep-order-detail__item-name {
    font: 700 14.5px/1.35 var(--sep-font);
    color: var(--sep-ink);
    overflow-wrap: anywhere;
}

.sep-order-detail__item-name a {
    color: inherit;
    text-decoration: none;
}

.sep-order-detail__item-name a:hover {
    color: var(--brand-link);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.sep-order-detail__item-id {
    margin-top: 4px;
    font: 400 12.5px/1.4 var(--sep-font);
    color: var(--sep-muted);
    overflow-wrap: anywhere;
}

.sep-order-detail__item-fulfilment {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 10px;
    margin-top: 8px;
}

.sep-order-detail__item-status-detail,
.sep-order-detail__item-tracking {
    font: 400 12.5px/1.4 var(--sep-font);
    color: var(--sep-muted);
    overflow-wrap: anywhere;
}

a.sep-order-detail__item-tracking {
    color: var(--brand-link);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.sep-order-detail__item-notes {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sep-order-detail__item-price {
    font: 700 14.5px/1.3 var(--sep-font);
    color: var(--sep-ink);
    white-space: nowrap;
    text-align: right;
}

.sep-order-detail__addresses {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    align-items: stretch;
}

.sep-order-detail__addresses > .sep-order-detail__panel {
    margin-bottom: 0;
    height: 100%;
}

.sep-order-detail__address li {
    margin: 0 0 4px;
    font: 400 14px/1.45 var(--sep-font);
    color: var(--sep-body);
}

.sep-order-detail__summary {
    margin: 0;
}

.sep-order-detail__summary-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
    font: 400 14px/1.4 var(--sep-font);
}

.sep-order-detail__summary-row dt {
    margin: 0;
    color: var(--sep-muted);
}

.sep-order-detail__summary-row dd {
    margin: 0;
    color: var(--sep-ink);
    font-weight: 600;
    text-align: right;
}

.sep-order-detail__summary-method {
    margin: -2px 0 10px;
    font: 400 12.5px/1.4 var(--sep-font);
    color: var(--sep-muted);
}

.sep-order-detail__summary-divider {
    height: 1px;
    background: var(--sep-border);
    margin: 12px 0;
}

.sep-order-detail__summary-total {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font: 800 16px/1.3 var(--sep-font);
    color: var(--sep-ink);
}

.sep-order-detail__summary-vat {
    margin: 8px 0 0;
    font: 400 12.5px/1.4 var(--sep-font);
    color: var(--sep-muted);
}

.sep-order-detail__payment-method {
    margin: 0 0 6px;
    font: 600 14.5px/1.4 var(--sep-font);
    color: var(--sep-ink);
}

.sep-order-detail__payment-status {
    margin: 0;
    font: 400 14px/1.4 var(--sep-font);
    color: var(--sep-body);
}

.sep-order-detail__help {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.sep-order-detail__help-icon {
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: transparent;
    color: var(--brand-link);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.sep-order-detail__help-copy p {
    margin: 0 0 10px;
    font: 400 13.5px/1.55 var(--sep-font);
    color: var(--sep-body);
}

.sep-order-detail__help-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font: 700 14px var(--sep-font);
    color: var(--brand-link);
    text-decoration: underline;
    text-underline-offset: 2px;
}

@media (max-width: 1023px) {
    .sep-order-detail__layout {
        grid-template-columns: 1fr;
    }

    .sep-order-detail__addresses {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .sep-order-detail__header {
        flex-direction: column;
    }

    .sep-order-detail__actions {
        margin-left: 0;
        width: 100%;
    }

    .sep-order-detail__action {
        flex: 1 1 auto;
    }

    .sep-order-detail__layout {
        display: flex;
        flex-direction: column;
    }

    .sep-order-detail__main,
    .sep-order-detail__aside {
        display: contents;
    }

    .sep-order-detail__main > .sep-order-detail__panel:first-of-type { order: 1; }
    .sep-order-detail__addresses { order: 2; display: contents; }
    .sep-order-detail__addresses > .sep-order-detail__panel:first-child { order: 2; margin-bottom: 16px; }
    .sep-order-detail__addresses > .sep-order-detail__panel:last-child { order: 3; margin-bottom: 16px; }
    .sep-order-detail__aside > .sep-order-detail__panel:nth-child(1) { order: 4; }
    .sep-order-detail__aside > .sep-order-detail__panel:nth-child(2) { order: 5; }
    .sep-order-detail__aside > .sep-order-detail__help { order: 6; }

    .sep-order-detail__item {
        grid-template-columns: 72px minmax(0, 1fr);
    }

    .sep-order-detail__item-price {
        grid-column: 2;
        text-align: left;
        margin-top: 4px;
    }
}

@media print {
    .header,
    .footer,
    .block-account-navigation,
    .sep-order-detail__back,
    .sep-order-detail__actions,
    .sep-order-detail__help {
        display: none !important;
    }

    .sep-order-detail__layout {
        display: block;
    }

    .sep-order-detail__panel {
        break-inside: avoid;
        box-shadow: none;
    }
}

html[data-theme="dark"] .sep-status-pill--received {
    background: color-mix(in srgb, var(--brand-link) 16%, var(--sep-surface-2));
    color: var(--brand-link);
    border-color: color-mix(in srgb, var(--brand-link) 35%, var(--sep-border));
}

html[data-theme="dark"] .sep-status-pill--inprogress,
html[data-theme="dark"] .sep-status-pill--processing,
html[data-theme="dark"] .sep-status-pill--partial {
    background: #2a2412;
    color: #e9cb87;
    border-color: #4a4020;
}

html[data-theme="dark"] .sep-status-pill--completed,
html[data-theme="dark"] .sep-status-pill--despatched,
html[data-theme="dark"] .sep-status-pill--delivered {
    background: var(--sep-positive-tint);
    color: var(--sep-positive-fg);
    border-color: var(--sep-positive-border);
}

@media (max-width: 767px) {
    .sep-orders-page__head {
        align-items: stretch;
        flex-direction: column;
    }

    .sep-orders-filter {
        width: 100%;
        justify-content: space-between;
        flex-wrap: wrap;
    }

    .sep-orders-filter__select.sep-field {
        flex: 1;
        min-width: 0;
    }

    .sep-order-card__header {
        flex-direction: column;
        align-items: flex-start;
    }

    .sep-order-line {
        grid-template-columns: 56px minmax(0, 1fr);
        align-items: start;
    }

    .sep-order-line__name {
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .sep-order-line__price {
        grid-column: 2;
        justify-self: start;
        text-align: left;
        margin-top: 4px;
    }

    .sep-order-line__status {
        flex-direction: column;
        align-items: flex-start;
    }

    .sep-order-card__footer {
        align-items: stretch;
        flex-direction: column;
    }

    .sep-order-card__details {
        justify-content: center;
        width: 100%;
    }
}

.sep-account-order-row {
    width: 100%;
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr) auto auto 16px;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    border: 1px solid var(--sep-border);
    border-radius: 8px;
    background: var(--surface);
    color: inherit;
    text-decoration: none;
    box-sizing: border-box;
}

.sep-account-order-row:hover {
    background: var(--sep-surface-2);
    border-color: var(--sep-border-strong);
}

.sep-account-order-row__thumb {
    width: 52px;
    height: 52px;
    border-radius: 8px;
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--sep-border);
    padding: 3px;
    box-sizing: border-box;
}

.sep-account-order-row__thumb--icon {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    background: var(--sep-surface-2);
    color: var(--brand-link);
}

.sep-account-order-row__thumb img,
.sep-account-order-row__thumb-fallback {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.sep-account-order-row__meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.sep-account-order-row__id {
    font: 700 14px/1.3 var(--sep-font);
    color: var(--brand-link);
}

.sep-account-order-row__sub {
    font: 500 12.5px/1.35 var(--sep-font);
    color: var(--sep-muted);
}

.sep-account-order-row__status {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 3px 10px;
    border-radius: 999px;
    border: 1px solid;
    font: 700 12px/1 var(--sep-font);
    white-space: nowrap;
}

.sep-account-order-row__status--ok {
    background: #ECFDF3;
    color: #05603A;
    border-color: #ABEFC6;
}

.sep-account-order-row__status--info {
    background: #FFF7E6;
    color: #8A5300;
    border-color: #F3D9A4;
}

.sep-account-order-row__status--warn {
    background: #fde8d8;
    color: #9a4a12;
    border-color: #f3c9a4;
}

.sep-account-order-row__total {
    font: 800 14.5px/1 var(--sep-font);
    color: var(--sep-ink);
    white-space: nowrap;
}

.sep-account-order-row__chevron {
    color: var(--sep-muted);
    font-size: 18px;
    line-height: 1;
}

.sep-account-help {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 20px;
    background: transparent;
    border: 0;
    border-top: 1px solid var(--sep-border);
    border-bottom: 1px solid var(--sep-border);
    border-radius: 0;
}

.sep-account-help__copy {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.sep-account-help__icon {
    display: inline-flex;
    color: var(--brand-link);
    flex: 0 0 auto;
}

.sep-account-help__title {
    margin: 0 0 2px;
    font: 750 15px/1.25 var(--sep-font);
    color: var(--sep-ink);
}

.sep-account-help__sub {
    margin: 0;
    font: 500 13px/1.35 var(--sep-font);
    color: var(--sep-muted);
}

.sep-account-help__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 14px;
    border: 1px solid var(--sep-border-strong);
    border-radius: 8px;
    background: var(--surface);
    color: var(--sep-ink);
    font: 700 13.5px/1 var(--sep-font);
    text-decoration: none;
    white-space: nowrap;
}

.sep-account-help__btn:hover {
    background: var(--sep-surface-2);
}

html[data-theme="dark"] .sep-account-order-row__status--ok {
    background: #1f5a3a;
    color: #dff7e8;
    border-color: #2f7a52;
}

html[data-theme="dark"] .sep-account-order-row__status--info {
    background: #3a2e14;
    color: #f3d9a4;
    border-color: #6a5320;
}

html[data-theme="dark"] .sep-account-order-row__status--warn {
    background: #5a3a1a;
    color: #f7e2c8;
    border-color: #7a5a2a;
}

/* Tablet and below: collapse left rail (was leaving an empty 240px gap) and
   show the Account section select instead — matches other SEP 1023px breakpoints. */
@media (max-width: 1023px) {
    .sep-account-dashboard__intro h1 {
        font-size: 27px;
    }

    .sep-account-dashboard__mobile-nav {
        display: block;
    }

    .sep-account-dashboard__layout {
        grid-template-columns: 1fr;
    }

    .sep-account-dashboard__nav {
        display: none;
    }

    .sep-account-recent {
        padding: 20px 18px;
    }
}

@media (max-width: 640px) {
    .sep-account-quick__grid {
        grid-template-columns: 1fr;
    }

    /* Status + total on one row (never share one grid cell — that stacked/overlapped them). */
    .sep-account-order-row {
        grid-template-columns: 52px minmax(0, 1fr) auto 16px;
        grid-template-areas:
            "thumb meta meta chevron"
            "thumb status total chevron";
        gap: 8px 12px;
        align-items: center;
    }

    .sep-account-order-row__thumb { grid-area: thumb; grid-row: 1 / span 2; }
    .sep-account-order-row__meta { grid-area: meta; }
    .sep-account-order-row__status {
        grid-area: status;
        justify-self: start;
        margin-right: 0;
        max-width: 100%;
    }
    .sep-account-order-row__total {
        grid-area: total;
        justify-self: end;
        align-self: center;
    }
    .sep-account-order-row__chevron { grid-area: chevron; grid-row: 1 / span 2; align-self: center; }

    .sep-account-action-card {
        padding: 14px;
        gap: 12px;
    }

    .sep-account-help {
        flex-direction: column;
        align-items: stretch;
    }

    .sep-account-help__btn {
        width: 100%;
    }
}

/* Student Money Hub — Blog list (native Blog views) */
.html-sep-money-hub-page .sep-content-page,
.html-blog-page.sep-content-page,
.html-sep-money-hub-page .sep-money-hub {
    max-width: 1200px;
    width: 100%;
    margin-inline: auto;
    box-sizing: border-box;
}
.html-sep-money-hub-page .master-column-wrapper,
.html-blog-page .master-column-wrapper {
    max-width: 1200px;
    margin-inline: auto;
}
.sep-money-hub {
    font-family: var(--sep-font, inherit);
    padding: 8px 0 40px;
}
.sep-money-hub__crumb {
    font-size: 13px;
    color: var(--sep-muted);
    margin: 0 0 18px;
}
.sep-money-hub__crumb a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.sep-money-hub__crumb a:focus-visible {
    outline: 2px solid var(--magenta);
    outline-offset: 2px;
}
.sep-money-hub__hero {
    background: var(--surface);
    border: 1px solid var(--sep-border);
    border-radius: 14px;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr);
    margin-bottom: 28px;
    box-shadow: 0 2px 14px color-mix(in srgb, var(--sep-ink) 6%, transparent);
}
.sep-money-hub__intro {
    padding: 36px 40px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    justify-content: center;
}
.sep-money-hub__intro h1 {
    margin: 0;
    font-size: 34px;
    line-height: 1.15;
    font-weight: 800;
    color: var(--sep-ink);
    letter-spacing: -0.02em;
}
.sep-money-hub__intro p {
    margin: 0;
    font-size: 15.5px;
    line-height: 1.6;
    color: var(--sep-muted);
    max-width: 34em;
}
.sep-money-hub__pills {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 4px;
}
.sep-money-hub__pill {
    border-radius: 999px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    background: var(--surface);
    color: var(--text-nav);
    border: 1px solid var(--sep-border);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}
a.sep-money-hub__pill:hover {
    border-color: var(--magenta);
    color: var(--sep-ink);
}
.sep-money-hub__pill:focus-visible {
    outline: 2px solid var(--magenta);
    outline-offset: 2px;
}
.sep-money-hub__pill.is-active {
    background: var(--magenta);
    color: #fff;
    border-color: var(--magenta);
}
a.sep-money-hub__pill.is-active:hover {
    color: #fff;
}
.sep-money-hub__pager {
    margin-top: 28px;
}
.sep-money-hub__hero-media {
    position: relative;
    min-height: 280px;
    background:
        repeating-linear-gradient(
            -45deg,
            var(--placeholder-a),
            var(--placeholder-a) 6px,
            var(--placeholder-b) 6px,
            var(--placeholder-b) 12px
        );
}
.sep-money-hub__hero-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 200px 0 0 200px;
}
.sep-money-hub__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    align-items: stretch;
}
.sep-money-hub__empty {
    background: var(--surface);
    border: 1px solid var(--sep-border);
    border-radius: 12px;
    padding: 48px 28px;
    text-align: center;
}
.sep-money-hub__empty-title {
    margin: 0 0 8px;
    font-size: 20px;
    font-weight: 800;
    color: var(--sep-ink);
}
.sep-money-hub__empty-copy {
    margin: 0;
    font-size: 15px;
    line-height: 1.55;
    color: var(--sep-muted);
}
.sep-money-card {
    background: var(--surface);
    border: 1px solid var(--sep-border);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: 0 1px 8px color-mix(in srgb, var(--sep-ink) 5%, transparent);
    transition: border-color .15s ease, box-shadow .15s ease;
}
.sep-money-card:hover,
.sep-money-card:focus-within {
    border-color: color-mix(in srgb, var(--magenta) 55%, var(--sep-border));
    box-shadow: 0 4px 18px color-mix(in srgb, var(--sep-ink) 8%, transparent);
}
.sep-money-card__link {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 100%;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}
.sep-money-card__link:focus-visible {
    outline: 2px solid var(--magenta);
    outline-offset: 2px;
}
.sep-money-card__media {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    background:
        repeating-linear-gradient(
            -45deg,
            var(--placeholder-a),
            var(--placeholder-a) 6px,
            var(--placeholder-b) 6px,
            var(--placeholder-b) 12px
        );
    border-bottom: 1px solid var(--sep-border);
    overflow: hidden;
}
.sep-money-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.sep-money-card__partner-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 1;
    padding: 4px 10px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--sep-border);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .02em;
    color: var(--sep-ink);
    box-shadow: 0 1px 4px color-mix(in srgb, var(--sep-ink) 12%, transparent);
}
.sep-money-card__body {
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}
.sep-money-card__cat {
    display: block;
    margin: 0;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--magenta);
}
.sep-money-card__title {
    display: block;
    margin: 0;
    font-weight: 800;
    font-size: 16px;
    line-height: 1.35;
    color: var(--sep-ink);
}
.sep-money-card__by,
.sep-money-card__summary {
    display: block;
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    color: var(--sep-muted);
}
.sep-money-card__by {
    font-size: 12.5px;
    font-weight: 600;
}
.sep-money-card__summary {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.sep-money-card__foot {
    margin-top: auto;
    padding-top: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--sep-muted);
}
.sep-money-card__cta {
    font-size: 13px;
    font-weight: 700;
    color: var(--magenta);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.sep-money-card:hover .sep-money-card__cta,
.sep-money-card:focus-within .sep-money-card__cta {
    text-decoration-thickness: 2px;
}

/* Student Money Hub — Blog post detail */
.sep-blog-article {
    max-width: 800px;
}
.sep-blog-article__header {
    margin-bottom: 20px;
}
.sep-blog-article__cat {
    margin: 0 0 10px;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.sep-blog-article__cat a {
    color: var(--magenta);
    text-decoration: none;
}
.sep-blog-article__cat a:hover,
.sep-blog-article__cat a:focus-visible {
    text-decoration: underline;
    text-underline-offset: 2px;
}
.sep-blog-article__title {
    margin: 0 0 10px;
    font-size: 34px;
    line-height: 1.2;
    font-weight: 800;
    color: var(--sep-ink);
}
.sep-blog-article__meta {
    margin: 0;
    font-size: 14px;
    color: var(--sep-muted);
}
.sep-blog-article__hero {
    margin: 0 0 24px;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--sep-border);
    aspect-ratio: 16 / 9;
    background: var(--sep-surface-2);
}
.sep-blog-article__hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.sep-blog-article__body {
    font-size: 16px;
    line-height: 1.7;
    color: var(--sep-body);
}
.sep-blog-article__body img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}
.sep-blog-article__body p {
    margin: 0 0 1em;
}
.sep-blog-article__tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    margin: 28px 0 0;
    padding-top: 20px;
    border-top: 1px solid var(--sep-border);
}
.sep-blog-article__tags-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--sep-muted);
}
.sep-blog-article__tags ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.sep-blog-article__tags a {
    display: inline-flex;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid var(--sep-border);
    background: var(--sep-surface-2);
    color: var(--text-nav);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}
.sep-blog-article__tags a:hover,
.sep-blog-article__tags a:focus-visible {
    border-color: var(--magenta);
    color: var(--magenta);
}
.sep-blog-article__back {
    margin: 24px 0 0;
}
.sep-blog-article__back a {
    font-size: 14px;
    font-weight: 700;
    color: var(--magenta);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.sep-blog-article__back a:focus-visible,
.sep-blog-article__tags a:focus-visible {
    outline: 2px solid var(--magenta);
    outline-offset: 2px;
}
.sep-blog-article__comments,
.sep-blog-article__comment-list {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--sep-border);
}
@media (max-width: 767px) {
    .sep-blog-article__title { font-size: 27px; }
}

/* Product confirmation overlay */
.sep-product-confirmation[hidden] { display: none !important; }
.sep-product-confirmation {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: color-mix(in srgb, var(--sep-ink) 58%, transparent);
}
.sep-product-confirmation-dialog {
    position: relative;
    width: min(100%, 520px);
    max-height: calc(100dvh - 40px);
    overflow-y: auto;
    box-sizing: border-box;
    background: var(--surface);
    color: var(--sep-body);
    border: 1px solid var(--sep-border);
    border-radius: 12px;
    box-shadow: 0 24px 64px color-mix(in srgb, var(--sep-ink) 30%, transparent);
    padding: 26px;
}
.sep-product-confirmation-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 8px;
    color: var(--sep-muted);
    background: transparent;
    cursor: pointer;
}
.sep-product-confirmation-close:hover {
    background: var(--sep-surface-2);
    color: var(--sep-ink);
}
.sep-product-confirmation-close svg { width: 20px; height: 20px; }
.sep-product-confirmation-heading {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding-right: 40px;
}
.sep-product-confirmation-heading h2 {
    margin: 1px 0 3px;
    font-size: 21px;
    line-height: 1.2;
    font-weight: 800;
    color: var(--sep-ink);
}
.sep-product-confirmation-heading p {
    margin: 0;
    font-size: 14px;
    line-height: 1.45;
    color: var(--sep-muted);
}
.sep-product-confirmation-check {
    width: 28px;
    height: 28px;
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--sep-positive-tint);
    color: var(--sep-positive-fg);
    border: 1px solid var(--sep-positive-border);
}
.sep-product-confirmation-check svg { width: 17px; height: 17px; }
.sep-product-confirmation-product {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    margin: 22px 0;
    padding: 14px;
    background: var(--sep-surface-2);
    border: 1px solid var(--sep-border);
    border-radius: 8px;
}
.sep-product-confirmation-image {
    width: 92px;
    height: 92px;
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--sep-border);
    border-radius: 7px;
}
.sep-product-confirmation-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.sep-product-confirmation-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.sep-product-confirmation-copy > span {
    font-size: 11.5px;
    font-weight: 750;
    text-transform: uppercase;
    color: var(--sep-caption);
}
.sep-product-confirmation-copy > strong {
    font-size: 15px;
    line-height: 1.35;
    color: var(--sep-ink);
}
.sep-product-confirmation-copy small { font-size: 13px; color: var(--sep-muted); }
.sep-product-confirmation-copy > div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-top: 5px;
}
.sep-product-confirmation-copy b { font-size: 16px; color: var(--sep-ink); }
.sep-product-confirmation-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.sep-product-confirmation-actions .sep-btn-primary,
.sep-product-confirmation-actions .sep-btn-outline {
    width: 100%;
    height: 46px;
    padding: 0 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    text-decoration: none;
}

/* ---------- Stock alerts (account) ---------- */
.sep-stock-alerts-page .page-title {
    display: none;
}

.sep-stock-alerts {
    background: var(--surface, #fff);
    border: 1px solid var(--sep-border);
    border-radius: 8px;
    box-shadow: none;
    overflow: hidden;
    width: 100%;
}

.sep-stock-alerts__header {
    padding: 22px 26px 18px;
}

.sep-stock-alerts__header h2 {
    margin: 0 0 10px;
    font: 800 22px/1.25 var(--sep-font);
    color: var(--sep-ink);
    text-transform: none;
}

.sep-stock-alerts__lede {
    margin: 0;
    font: 500 14.5px/1.5 var(--sep-font);
    color: var(--sep-muted);
}

.sep-stock-alerts__lede a {
    color: var(--brand-link, #203864);
    font-weight: 650;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.sep-stock-alerts__body {
    padding: 0 26px 26px;
}

.sep-stock-alerts__empty {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 28px 24px;
    border: 1px dashed var(--sep-border-strong, #d5dae3);
    border-radius: 10px;
    background: transparent;
}

.sep-stock-alerts__empty p {
    margin: 0;
    font: 500 14.5px/1.5 var(--sep-font);
    color: var(--sep-muted);
}

.sep-stock-alerts__toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.sep-stock-alerts__select-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font: 600 14px/1.3 var(--sep-font);
    color: var(--sep-ink);
    cursor: pointer;
}

.sep-stock-alerts__list {
    list-style: none;
    margin: 0;
    padding: 0;
    border: 1px solid var(--sep-border);
    border-radius: 12px;
    overflow: hidden;
    background: var(--surface);
}

.sep-stock-alerts__row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--sep-border);
}

.sep-stock-alerts__row:last-child { border-bottom: 0; }

.sep-stock-alerts__row a {
    color: var(--sep-ink);
    font-weight: 650;
    text-decoration: none;
}

.sep-stock-alerts__row a:hover {
    color: var(--brand-link);
    text-decoration: underline;
}

@media (max-width: 767px) {
    .sep-stock-alerts__header {
        padding: 18px 16px 14px;
    }

    .sep-stock-alerts__body {
        padding: 0 16px 18px;
    }

    .sep-stock-alerts__empty {
        padding: 22px 16px;
    }
}
.sep-stock-notify {
    margin-top: 16px;
    padding: 16px;
    border: 1px solid var(--sep-border);
    border-radius: 12px;
    background: var(--sep-surface-2);
}
.sep-stock-notify__copy {
    margin: 0 0 12px;
    font-size: 14px;
    color: var(--sep-muted);
}

@media (max-width: 1023px) {
    .sep-money-hub__hero { grid-template-columns: 1fr; }
    .sep-money-hub__hero-media { min-height: 220px; order: 2; }
    .sep-money-hub__intro { order: 1; }
    .sep-money-hub__hero-media img { border-radius: 0; }
    .sep-money-hub__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
}
@media (max-width: 767px) {
    .sep-money-hub { padding: 4px 0 32px; }
    .sep-money-hub__intro { padding: 22px 18px; gap: 12px; }
    .sep-money-hub__intro h1 { font-size: 28px; }
    .sep-money-hub__intro p { font-size: 15px; }
    .sep-money-hub__hero { margin-bottom: 20px; }
    .sep-money-hub__hero-media { min-height: 180px; }
    .sep-money-hub__pills {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 2px;
        scrollbar-width: none;
    }
    .sep-money-hub__pills::-webkit-scrollbar { display: none; }
    .sep-money-hub__grid { grid-template-columns: 1fr; gap: 14px; }
    .sep-money-card__body { padding: 14px 14px 16px; }
    .sep-product-confirmation { align-items: flex-end; padding: 12px; }
    .sep-product-confirmation-dialog { width: 100%; padding: 22px 18px 18px; }
    .sep-product-confirmation-actions { grid-template-columns: 1fr; }
    .sep-product-confirmation-actions .sep-btn-primary { grid-row: 1; }
}

/* ---------- Category PLP (redesign parity) ---------- */
.sep-plp {
    text-align: left;
}

.sep-plp__header {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0 0 6px;
}

.sep-plp__title {
    margin: 0;
    font: 800 26px/1.15 var(--sep-font);
    color: var(--sep-ink);
}

.sep-plp__count {
    font: 500 14px var(--sep-font);
    color: var(--sep-muted);
}

.sep-plp__rail {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 26px;
}

.sep-plp__rail-track {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 2px;
    /* Match the padding so the first chip snaps to scrollLeft 0, not 2px */
    scroll-padding-inline: 2px;
    flex: 1 1 auto;
    min-width: 0;
    scroll-behavior: smooth;
}

.sep-plp__rail-track::-webkit-scrollbar {
    display: none;
}

.sep-plp__rail-nav {
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1.5px solid var(--sep-border-strong, var(--sep-border));
    background: var(--surface, #fff);
    color: var(--sep-ink);
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .06);
}

.sep-plp__rail-nav:hover:not(:disabled) {
    background: var(--sep-surface-2, #f4f6fa);
    border-color: var(--sep-ink);
}

.sep-plp__rail-nav:focus-visible {
    outline: 2px solid var(--brand-link);
    outline-offset: 2px;
}

.sep-plp__rail-nav:disabled,
.sep-plp__rail-nav[hidden] {
    display: none !important;
}

/* Desktop only — swipe/scroll on tablet & mobile.
   Prev only when scrolled away from start; next only when more content remains. */
@media (min-width: 1024px) {
    .sep-plp__rail.is-scrollable:not(.is-at-start) .sep-plp__rail-nav--prev:not([hidden]):not(:disabled),
    .sep-plp__rail.is-scrollable:not(.is-at-end) .sep-plp__rail-nav--next:not([hidden]):not(:disabled) {
        display: inline-flex;
    }
}

.sep-plp__rail-item {
    flex: 0 0 auto;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 52px;
    padding: 5px 14px 5px 6px;
    scroll-snap-align: start;
    border-radius: 12px;
    border: 1px solid var(--sep-border);
    background: var(--sep-card);
    text-decoration: none;
    color: var(--sep-ink);
    transition: border-color .18s ease, background-color .18s ease;
}

.sep-plp__rail-item:hover {
    border-color: var(--sep-border-strong);
    background: var(--sep-field);
    color: var(--sep-ink);
}

.sep-plp__rail-item.is-active {
    background: var(--sep-ink);
    border-color: var(--sep-ink);
    color: #fff;
}

.sep-plp__rail-item.is-active:hover {
    background: var(--sep-ink);
    border-color: var(--sep-ink);
    color: #fff;
}

.sep-plp__rail-thumb {
    width: 72px;
    height: 72px;
    flex: none;
    border-radius: 8px;
    overflow: hidden;
    background: #fdfdfd;
    border: 1px solid var(--sep-border);
    padding: 4px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sep-plp__rail-item.is-active .sep-plp__rail-thumb {
    border-color: rgba(255, 255, 255, .25);
}

.sep-plp__rail-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.sep-plp__rail-label {
    font: 700 14px/1.25 var(--sep-font);
    white-space: nowrap;
}

.sep-plp__browse-only {
    background: var(--sep-card);
    border: 1px solid var(--sep-border);
    border-radius: 12px;
    padding: 28px 24px;
}

.sep-plp__browse-only-title {
    margin: 0 0 8px;
    font: 800 18px var(--sep-font);
    color: var(--sep-ink);
}

.sep-plp__browse-only-text {
    margin: 0;
    font: 500 14.5px var(--sep-font);
    color: var(--sep-muted);
    max-width: 520px;
}

.sep-plp__layout {
    display: grid;
    grid-template-columns: minmax(240px, 280px) minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.sep-plp__layout--no-filters {
    grid-template-columns: minmax(0, 1fr);
}

.sep-plp__filters .sep-filters-toggle {
    display: none;
}

.sep-plp__filters .sep-filter-sidebar,
.sep-plp__filters .sep-filters-drawer {
    display: block;
    position: static;
    transform: none;
    width: auto;
    height: auto;
    padding: 0;
    box-shadow: none;
    overflow: visible;
    background: var(--sep-card);
    border: 1px solid var(--sep-border);
    border-radius: 12px;
}

.sep-plp__filters .sep-filters-drawer__head {
    display: none;
}

.sep-filter-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 18px 12px;
    font: 800 16px var(--sep-font);
    color: var(--sep-ink);
}

.sep-filter-content.product-filters,
.sep-plp__filters .product-filters {
    background: none;
    border: none;
    border-radius: 0;
    padding: 0;
    margin: 0;
    float: none;
    width: auto;
}

.sep-plp__filters .sep-filter-within,
.sep-plp__filters .sep-filter-balance {
    margin: 2px 18px 12px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 10px;
}

.sep-filter-group {
    border-top: 1px solid var(--sep-border);
    margin: 0;
}

.sep-filter-group-trigger,
.product-filter .filter-title.sep-filter-group-trigger {
    width: 100%;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    background: transparent !important;
    background-image: none !important;
    border: 0;
    padding: 12px 18px;
    margin: 0;
    color: var(--sep-ink);
    font: 800 13px var(--sep-font);
    text-transform: uppercase;
    letter-spacing: .02em;
    cursor: pointer;
    text-align: left;
    appearance: none;
    -webkit-appearance: none;
}

.sep-filter-chevron {
    width: 18px;
    height: 18px;
    flex: none;
    color: var(--sep-muted);
    transition: transform .18s ease;
    transform: rotate(-90deg);
}

.sep-filter-chevron.is-open {
    transform: rotate(0deg);
}

.sep-filter-group-panel,
.product-filter .filter-content.sep-filter-group-panel {
    padding: 0 18px 13px;
    margin: 0;
    color: var(--sep-body);
}

.sep-filter-option,
.product-filter .group .item.sep-filter-option {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    min-height: 38px;
    padding: 0;
    font-size: 14px;
    color: var(--sep-body);
}

.product-filter .group .item.sep-filter-option + .item {
    padding-top: 0;
}

.product-filter .group .item.sep-filter-option label {
    padding-left: 0;
    font-weight: 500;
}

.product-filter .group .item.sep-filter-option input {
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: var(--brand-accent);
}

.sep-plp__selectors.product-selectors {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 16px;
    padding: 0;
    border: none;
}

.sep-plp__selectors .product-sorting {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 8px;
    float: none;
}

.sep-plp__selectors .product-sorting label,
.sep-plp__selectors .product-sorting span {
    font: 500 13.5px var(--sep-font);
    color: var(--sep-muted);
}

.sep-plp__selectors .product-page-size {
    display: none;
}

.sep-plp .item-box .picture,
.sep-plp .sep-product-card__media {
    height: 160px;
}

.sep-plp .item-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 18px;
}

@media (max-width: 1279px) and (min-width: 768px) {
    .sep-plp .item-grid {
        grid-template-columns: repeat(auto-fill, minmax(225px, 1fr));
    }
}

@media (max-width: 1000px) {
    .sep-plp__rail-thumb {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 767px) {
    .sep-plp .item-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }

    .sep-plp .item-box .picture,
    .sep-plp .sep-product-card__media {
        height: 160px;
    }
}

@media (max-width: 560px) {
    .sep-plp__title {
        font-size: 22px;
    }
}

/* ---------- SEP Addresses panel ---------- */
.sep-addresses-page .sep-account-dashboard__layout {
    align-items: start;
}

.sep-addresses-panel {
    background: var(--surface);
    border: 1px solid var(--sep-border);
    border-radius: var(--sep-r-panel);
    padding: 26px;
    box-sizing: border-box;
    text-align: left;
}

.sep-addresses-panel .page-title {
    margin: 0 0 8px;
    border: none;
    padding: 0;
}

.sep-addresses-panel .page-title h1 {
    font: 700 15px/1.3 var(--sep-font);
    color: var(--sep-muted);
    margin: 0;
    text-transform: none;
}

.sep-addresses-panel__heading {
    margin: 0 0 8px;
    font: 800 22px/1.25 var(--sep-font);
    color: var(--sep-ink);
}

.sep-addresses-panel__lede {
    margin: 0 0 20px;
    font-size: 14px;
    line-height: 1.5;
    color: var(--sep-muted);
}

.sep-address-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sep-address-card {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: flex-start;
    background: var(--surface);
    border: 1px solid var(--sep-border);
    border-radius: 8px;
    padding: 18px;
    box-shadow: none;
    box-sizing: border-box;
}

.sep-address-card--default {
    border-color: var(--sep-border-strong);
    border-width: 1.5px;
}

.sep-address-card--locked {
    opacity: .72;
}

.sep-address-card__main {
    min-width: 0;
    flex: 1 1 auto;
}

.sep-address-card__header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 10px;
    margin: 0 0 10px;
}

.sep-address-card__name {
    margin: 0;
    font: 700 15px/1.3 var(--sep-font);
    color: var(--sep-ink);
}

.sep-address-card__pills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.sep-address-pill {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 2px 10px;
    border-radius: 999px;
    font: 700 11px/1.2 var(--sep-font);
    white-space: nowrap;
}

.sep-address-pill--delivery {
    background: var(--sep-positive-tint);
    color: var(--sep-positive-fg);
    border: 1px solid var(--sep-positive-border);
}

.sep-address-pill--billing {
    background: var(--sep-surface-2);
    color: var(--brand-accent);
    border: 1px solid var(--sep-border);
}

.sep-address-card__body {
    font-size: 14px;
    line-height: 1.55;
    color: var(--sep-muted);
    overflow-wrap: anywhere;
}

.sep-address-card__actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    flex: 0 0 auto;
    min-width: 140px;
}

.sep-address-action {
    min-height: 44px;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
}

.sep-addresses-add {
    margin-top: 16px;
}

.sep-address-form-wrap {
    margin-top: 4px;
}

.sep-address-form {
    background: var(--surface);
    border: 1.5px solid var(--sep-border-strong);
    border-radius: 10px;
    padding: 18px;
    box-sizing: border-box;
}

.sep-address-form__heading {
    margin: 0 0 16px;
    font: 700 15px/1.3 var(--sep-font);
    color: var(--sep-ink);
}

.sep-address-form__error {
    margin: 0 0 14px;
    font-size: 13px;
    font-weight: 700;
}

/* .message-error { display:block } beats the HTML [hidden] attribute — keep empty alerts invisible */
.sep-address-form__error[hidden] {
    display: none !important;
    margin: 0;
    padding: 0;
    border: none;
    background: none;
}

.sep-address-form__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.sep-address-form__grid > [hidden] {
    display: none !important;
}

.sep-address-form__full {
    grid-column: 1 / -1;
}

.sep-address-form .inputs {
    margin: 0;
}

.sep-address-form .inputs label {
    display: block;
    margin: 0 0 7px;
    font: 700 13px/1.35 var(--sep-font);
    color: var(--sep-ink);
}

.sep-address-form .sep-field,
.sep-address-form select.sep-field {
    width: 100%;
    min-height: 44px;
    box-sizing: border-box;
}

.sep-address-lookup {
    margin: 0;
}

.sep-address-form__grid > .sep-address-lookup:not([hidden]) {
    margin: 4px 0 2px;
}

.sep-address-lookup__controls {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.sep-address-lookup__controls .sep-field {
    flex: 1 1 160px;
    max-width: 220px;
}

.sep-address-lookup__controls .sep-btn-outline {
    flex: 0 0 auto;
    min-height: 44px;
}

.sep-address-lookup__error {
    margin: 8px 0 0;
}

.sep-address-lookup__results {
    margin: 10px 0;
    border: 1px solid var(--sep-border);
    border-radius: 8px;
    overflow: hidden;
}

.sep-address-lookup__results:empty {
    display: none;
}

.sep-address-lookup__result {
    display: block;
    width: 100%;
    text-align: left;
    padding: 12px 14px;
    min-height: 44px;
    border: none;
    border-bottom: 1px solid var(--sep-border);
    background: var(--surface);
    color: var(--sep-ink);
    font: 500 14px/1.4 var(--sep-font);
    cursor: pointer;
}

.sep-address-lookup__result:last-child {
    border-bottom: none;
}

.sep-address-lookup__result:hover,
.sep-address-lookup__result:focus-visible {
    background: var(--sep-surface-2);
    outline: none;
}

.sep-address-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    margin: 4px 0 0;
    padding: 0;
    border: none;
    background: none;
    color: var(--brand-link);
    font: 600 14px var(--sep-font);
    text-decoration: underline;
    text-underline-offset: 2px;
    cursor: pointer;
}

.sep-address-link:focus-visible {
    outline: 2px solid var(--brand-link);
    outline-offset: 2px;
}

.sep-address-form__defaults {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 18px 0 0;
}

.sep-address-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    min-height: 44px;
    padding: 8px 0;
    cursor: pointer;
    color: var(--sep-body);
    font-size: 14px;
    line-height: 1.4;
}

.sep-address-check input {
    margin-top: 2px;
    min-width: 18px;
    min-height: 18px;
    flex: none;
    accent-color: var(--magenta);
}

.sep-address-form__actions {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid var(--sep-border);
}

.sep-address-form__actions .sep-btn-outline,
.sep-address-form__actions .sep-btn-magenta {
    min-height: 46px;
    min-width: 44px;
}

/* Beat .account-page .button-1 accent-blue + uppercase */
.account-page .sep-address-form__actions .sep-btn-magenta {
    background: var(--magenta);
    color: #fff;
    border: none;
    text-transform: none;
    font: 700 14.5px var(--sep-font);
}

.account-page .sep-address-form__actions .sep-btn-magenta:hover,
.account-page .sep-address-form__actions .sep-btn-magenta:focus {
    background: var(--magenta);
    filter: brightness(1.08);
    color: #fff;
}

.sep-addresses-page .sep-btn-outline:focus-visible,
.sep-addresses-page .sep-btn-magenta:focus-visible,
.sep-addresses-page .sep-address-action:focus-visible {
    outline: 2px solid var(--brand-link);
    outline-offset: 2px;
}

@media (max-width: 1023px) {
    .sep-address-form__grid {
        grid-template-columns: 1fr;
    }

    .sep-address-card {
        flex-direction: column;
    }

    .sep-address-card__actions {
        flex-direction: row;
        flex-wrap: wrap;
        min-width: 0;
        width: 100%;
    }

    .sep-address-action {
        width: auto;
        flex: 1 1 auto;
    }
}

@media (max-width: 767px) {
    .sep-addresses-panel {
        padding: 18px 16px;
    }

    .sep-address-lookup__controls .sep-field {
        max-width: none;
        flex: 1 1 100%;
    }

    .sep-address-lookup__controls .sep-btn-outline {
        width: 100%;
    }

    .sep-address-form__actions {
        flex-direction: column-reverse;
        align-items: stretch;
    }
}

/* —— Personal details (My Account) —— */
.sep-personal-details-page .sep-account-dashboard__layout {
    align-items: start;
}

.sep-personal-details__panel {
    background: var(--surface);
    border: 1px solid var(--sep-border);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: none;
}

.sep-personal-details__header {
    padding: 22px 26px 18px;
    border-bottom: 1px solid var(--sep-border);
}

.sep-personal-details__header h2 {
    margin: 0 0 6px;
    font: 800 22px/1.25 var(--sep-font);
    color: var(--sep-ink);
    text-transform: none;
}

.sep-personal-details__lede {
    margin: 0;
    font: 400 14px/1.45 var(--sep-font);
    color: var(--sep-muted);
}

.sep-personal-details__body {
    padding: 24px 26px;
}

.sep-personal-details__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}

@media (min-width: 1024px) {
    .sep-personal-details__grid {
        grid-template-columns: 1fr 1fr;
        gap: 18px;
    }

    .sep-personal-details__field--secondary {
        grid-column: 2;
    }
}

.sep-personal-details__field {
    margin: 0;
    float: none;
    width: auto;
    text-align: left;
}

.sep-personal-details__field .sep-field,
.sep-personal-details__field input.sep-field {
    width: 100%;
    max-width: none;
}

.sep-personal-details__field .field-validation-error,
.sep-personal-details__field .field-validation-valid {
    display: block;
    margin-top: 6px;
}

.sep-field--readonly,
.sep-personal-details__field input.sep-field--readonly {
    background: var(--sep-surface-2, #f1f4f8);
    color: var(--sep-muted);
    cursor: default;
}

.sep-field--readonly:focus,
.sep-personal-details__field input.sep-field--readonly:focus {
    border-color: var(--sep-border-strong) !important;
    box-shadow: none;
}

.sep-personal-details__cc {
    margin-top: 12px;
    min-height: 44px;
    align-items: flex-start;
}

.sep-personal-details__cc label {
    font: 600 13px/1.45 var(--sep-font) !important;
    color: var(--sep-ink) !important;
    cursor: pointer;
}

.sep-personal-details__checkbox {
    width: 18px;
    height: 18px;
    margin-top: 2px !important;
    accent-color: var(--magenta);
    flex: none;
}

.sep-personal-details__actions {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid var(--sep-border);
    display: flex;
    justify-content: flex-end;
}

.sep-personal-details__save.sep-btn-primary,
.sep-personal-details__save.button-1 {
    background: var(--magenta) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 10px;
    min-height: 46px;
    padding: 12px 22px;
    font: 700 14.5px var(--sep-font) !important;
    text-transform: none !important;
    width: auto;
    cursor: pointer;
}

.sep-personal-details__save:hover {
    filter: brightness(1.06);
    color: #fff !important;
}

.sep-personal-details__save:focus-visible,
.sep-personal-details__field .sep-field:focus-visible,
.sep-personal-details__checkbox:focus-visible {
    outline: 2px solid var(--brand-link, #203864);
    outline-offset: 2px;
}

.sep-personal-details__gdpr {
    margin-top: 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

@media (max-width: 1023px) {
    .sep-personal-details__header {
        padding: 18px 18px 14px;
    }

    .sep-personal-details__body {
        padding: 20px 18px;
    }

    .sep-personal-details__field--secondary {
        grid-column: auto;
    }
}

@media (max-width: 767px) {
    .sep-personal-details__actions {
        justify-content: stretch;
    }

    .sep-personal-details__save {
        width: 100%;
    }
}

/* ==========================================================================
   Mid widths (1024–1400px) — last-wins: shrink search, keep logo + greeting.
   Narrow tablet icon-only stays at ≤1023px. Footer 2-col at ≤1100px.
   ========================================================================== */
@media (max-width: 1400px) and (min-width: 1024px) {
    .header.sep-header .header-lower,
    .header.sep-header .sep-header__lower {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        gap: 16px !important;
        height: 80px !important;
        overflow: visible;
    }

    .header.sep-header .header-logo,
    .header.sep-header .sep-header__logo {
        flex: 0 0 auto !important;
        max-width: 240px !important;
        min-width: 0 !important;
        margin: 0 !important;
    }

    .header.sep-header .header-logo a img,
    .header.sep-header .sep-header__logo a img {
        max-width: 220px !important;
        max-height: 48px !important;
    }

    .header.sep-header .search-box,
    .header.sep-header .sep-header__search,
    .header.sep-header .sep-header__search--desktop {
        display: flex !important;
        flex: 1 1 0% !important;
        max-width: 560px !important;
        min-width: 160px !important;
        margin: 0 !important;
        position: relative;
        z-index: 1;
    }

    .header.sep-header .sep-header__toolbar {
        display: flex !important;
        flex: 0 0 auto !important;
        width: auto !important;
        max-width: none !important;
        min-width: 0 !important;
        margin: 0 !important;
        justify-content: flex-end !important;
        position: relative;
        z-index: 2;
    }

    .header.sep-header .sep-menu-toggle,
    .header.sep-header .sep-mobile-search-open {
        display: none !important;
    }

    .header.sep-header .sep-header-actions,
    .header.sep-header .header-links-wrapper,
    .header.sep-header .sep-header__links,
    .header.sep-header .header-links,
    .header.sep-header .header-links ul {
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        margin: 0 !important;
        padding: 0 !important;
        width: auto !important;
        max-width: none !important;
    }

    .header.sep-header .header-links-wrapper {
        position: relative !important;
        padding: 0 !important;
    }

    .header.sep-header .header-links li {
        display: flex !important;
        margin: 0 !important;
        padding: 0 !important;
        float: none !important;
        width: auto !important;
    }

    /* Keep greeting visible — search shrinks to make room */
    .header.sep-header .header-links a.sep-header-action__account-mobile {
        display: none !important;
    }

    .header.sep-header .header-links .sep-header-action__account-desktop {
        display: inline-flex !important;
    }

    .header.sep-header .header-links #topcartlink,
    .header.sep-header .header-links-wrapper #topcartlink {
        display: flex !important;
        width: auto !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 !important;
        background: none !important;
        float: none !important;
    }
}

@media (max-width: 1023px) and (min-width: 768px) {
    .header.sep-header .header-lower,
    .header.sep-header .sep-header__lower {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        gap: 12px !important;
        height: 72px !important;
        overflow: visible;
    }

    .header.sep-header .header-logo,
    .header.sep-header .sep-header__logo {
        flex: 0 0 auto !important;
        max-width: 200px !important;
        min-width: 0 !important;
        margin: 0 !important;
    }

    .header.sep-header .header-logo a img,
    .header.sep-header .sep-header__logo a img {
        max-width: 180px !important;
        max-height: 40px !important;
    }

    .header.sep-header .search-box,
    .header.sep-header .sep-header__search,
    .header.sep-header .sep-header__search--desktop {
        display: flex !important;
        flex: 1 1 0% !important;
        max-width: none !important;
        min-width: 0 !important;
        margin: 0 !important;
        position: relative;
        z-index: 1;
    }

    .header.sep-header .sep-header__toolbar {
        display: flex !important;
        flex: 0 0 auto !important;
        width: auto !important;
        max-width: none !important;
        min-width: 0 !important;
        margin: 0 !important;
        justify-content: flex-end !important;
        position: relative;
        z-index: 2;
    }

    .header.sep-header .sep-menu-toggle,
    .header.sep-header .sep-mobile-search-open {
        display: none !important;
    }

    .header.sep-header .sep-header-actions,
    .header.sep-header .header-links-wrapper,
    .header.sep-header .sep-header__links,
    .header.sep-header .header-links,
    .header.sep-header .header-links ul {
        display: flex !important;
        align-items: center !important;
        gap: 6px !important;
        margin: 0 !important;
        padding: 0 !important;
        width: auto !important;
        max-width: none !important;
    }

    .header.sep-header .header-links-wrapper {
        position: relative !important;
        padding: 0 !important;
    }

    .header.sep-header .header-links li {
        display: flex !important;
        margin: 0 !important;
        padding: 0 !important;
        float: none !important;
        width: auto !important;
    }

    .header.sep-header .header-links .sep-header-action__account-text,
    .header.sep-header .header-links .sep-header-action__greeting,
    .header.sep-header .header-links .sep-header-action__sub,
    .header.sep-header .header-links .sep-header-action__label,
    .header.sep-header .header-links .cart-label,
    .header.sep-header .header-links span.sep-header-action__account-text,
    .header.sep-header .header-links span.sep-header-action__greeting,
    .header.sep-header .header-links span.sep-header-action__sub,
    .header.sep-header .header-links span.sep-header-action__label,
    .header.sep-header .header-links span.cart-label {
        display: none !important;
    }

    .header.sep-header .header-links a.sep-header-action__account-mobile {
        display: none !important;
    }

    .header.sep-header .header-links .sep-header-action__account-desktop {
        display: inline-flex !important;
        gap: 0 !important;
        padding: 8px !important;
        min-width: 44px;
        min-height: 44px;
        justify-content: center;
    }

    .header.sep-header .header-links #topcartlink,
    .header.sep-header .header-links-wrapper #topcartlink {
        display: flex !important;
        width: auto !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 !important;
        background: none !important;
        float: none !important;
    }
}

@media (max-width: 1100px) and (min-width: 768px) {
    /* ---- Footer ---- */
    .footer.sep-footer .sep-footer__grid,
    .footer.sep-footer.sep-footer--unfunded .sep-footer__grid {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
        grid-auto-flow: row !important;
        column-gap: 40px !important;
        row-gap: 32px !important;
        justify-content: stretch !important;
        align-items: start !important;
        width: 100% !important;
    }

    .footer.sep-footer .sep-footer__col,
    .footer.sep-footer .sep-footer__col + .sep-footer__col {
        margin: 0 !important;
        min-width: 0 !important;
        max-width: none !important;
        width: auto !important;
        float: none !important;
        position: relative !important;
    }

    .footer.sep-footer .sep-footer__heading {
        display: block !important;
        white-space: normal !important;
        word-break: normal !important;
        overflow-wrap: break-word !important;
    }

    .footer.sep-footer .sep-footer__accordion-btn {
        display: none !important;
    }

    .footer.sep-footer .sep-footer__list {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
    }

    .footer.sep-footer .sep-footer__list a,
    .footer.sep-footer .sep-footer__list span {
        display: inline-flex !important;
        white-space: normal !important;
        word-break: normal !important;
        overflow-wrap: break-word !important;
        max-width: 100%;
    }

    .footer.sep-footer .sep-footer__logos {
        grid-column: 1 / -1 !important;
        justify-self: stretch !important;
        order: 99 !important;
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 0 !important;
        margin: 0 !important;
        margin-inline: 0 !important;
        padding: 0 !important;
        padding-inline: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .footer.sep-footer .sep-footer__logos .sep-footer-logo-slot,
    .footer.sep-footer .sep-footer__logos .sep-footer-logo,
    .footer.sep-footer .sep-footer__logos .sep-footer__logo {
        margin: 0 !important;
        padding: 0 !important;
    }
}

/* ---------- Change password / Password reset panel ---------- */
.sep-change-password-page .page-title {
    display: none;
}

.sep-password-reset {
    background: var(--surface, #fff);
    border: 1px solid var(--sep-border);
    border-radius: 8px;
    box-shadow: none;
    overflow: hidden;
    width: 100%;
}

.sep-password-reset__header {
    padding: 22px 26px 18px;
    border-bottom: 1px solid var(--sep-border);
}

.sep-password-reset__header h2 {
    margin: 0;
    font: 800 22px/1.25 var(--sep-font);
    color: var(--sep-ink);
    text-transform: none;
}

.sep-password-reset__form {
    padding: 24px 26px;
}

.sep-password-reset__warnings {
    margin: 0 0 16px;
    font: 600 13.5px/1.45 var(--sep-font);
    color: var(--sep-error-fg, #b42318);
}

.sep-password-reset__warnings p {
    margin: 0 0 6px;
}

.sep-password-reset__fields {
    max-width: 520px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.sep-password-reset__field {
    margin: 0 !important;
    float: none !important;
    width: auto !important;
    text-align: left !important;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sep-password-reset__field label {
    display: block;
    float: none !important;
    width: auto !important;
    margin: 0 !important;
    font: 700 14px/1.3 var(--sep-font) !important;
    color: var(--sep-ink) !important;
    text-align: left !important;
}

.sep-password-reset__field .sep-field,
.sep-password-reset__field input.sep-field {
    width: 100%;
    max-width: none;
    min-height: 46px;
    box-sizing: border-box;
}

.sep-password-reset__field .sep-field.is-error,
.sep-password-reset__field input.sep-field.is-error {
    border-color: var(--sep-error-fg, #b42318) !important;
}

.sep-password-reset__forgot {
    align-self: flex-end;
    margin-top: 2px;
    font: 600 13px/1.3 var(--sep-font);
    color: var(--brand-link, #203864);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.sep-password-reset__forgot:hover {
    color: var(--brand-link, #203864);
}

.sep-password-reset__forgot:focus-visible {
    outline: 2px solid var(--brand-link, #203864);
    outline-offset: 2px;
    border-radius: 2px;
}

.sep-password-reset__error {
    margin: 0;
    font: 700 13px/1.4 var(--sep-font);
    color: var(--sep-error-fg, #b42318);
}

.sep-password-reset__error[hidden] {
    display: none !important;
}

.sep-password-reset__actions {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid var(--sep-border);
    display: flex;
    justify-content: flex-end;
}

.sep-password-reset__submit.sep-btn-primary,
.sep-password-reset__submit.button-1 {
    background: var(--magenta) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 10px;
    min-height: 46px;
    padding: 12px 22px;
    font: 700 14.5px var(--sep-font) !important;
    text-transform: none !important;
    width: auto;
    cursor: pointer;
}

.sep-password-reset__submit:hover {
    filter: brightness(1.06);
    color: #fff !important;
}

.sep-password-reset__submit:focus-visible,
.sep-password-reset__field .sep-field:focus-visible {
    outline: 2px solid var(--brand-link, #203864);
    outline-offset: 2px;
}

@media (max-width: 1023px) {
    .sep-password-reset__header {
        padding: 18px 18px 14px;
    }

    .sep-password-reset__form {
        padding: 20px 18px;
    }
}

@media (max-width: 767px) {
    .sep-password-reset__fields {
        max-width: none;
    }

    .sep-password-reset__actions {
        justify-content: flex-end;
    }

    .sep-password-reset__submit {
        min-height: 46px;
    }
}

/* ---------- Contact preferences panel ---------- */
.sep-contact-preferences-page .page-title {
    display: none;
}

.sep-contact-prefs {
    background: var(--surface, #fff);
    border: 1px solid var(--sep-border);
    border-radius: 8px;
    box-shadow: none;
    overflow: hidden;
    width: 100%;
}

.sep-contact-prefs__form {
    padding: 26px;
    display: flex;
    flex-direction: column;
}

.sep-contact-prefs__heading {
    margin: 0 0 6px;
    font: 800 22px/1.25 var(--sep-font);
    color: var(--sep-ink);
    text-transform: none;
}

.sep-contact-prefs__intro {
    margin: 0 0 18px;
    font: 400 14px/1.45 var(--sep-font);
    color: var(--sep-muted);
}

.sep-contact-prefs__prompt {
    margin: 0 0 8px;
    font: 700 14px/1.4 var(--sep-font);
    color: var(--sep-ink);
}

.sep-contact-prefs__options {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.sep-contact-prefs__row {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 44px;
    padding: 12px 0;
    margin: 0;
    cursor: pointer;
    box-sizing: border-box;
}

.sep-contact-prefs__checkbox {
    width: 20px;
    height: 20px;
    margin: 0 !important;
    flex: none;
    accent-color: var(--magenta);
    cursor: pointer;
}

.sep-contact-prefs__checkbox:focus-visible {
    outline: 2px solid var(--brand-link, #203864);
    outline-offset: 2px;
}

.sep-contact-prefs__label {
    font: 700 14px/1.35 var(--sep-font);
    color: var(--sep-ink);
}

.sep-contact-prefs__guidance {
    margin: 14px 0 0;
    font: 400 13px/1.55 var(--sep-font);
    color: var(--sep-muted);
}

.sep-contact-prefs__privacy {
    margin: 12px 0 0;
    font: 400 13px/1.55 var(--sep-font);
    color: var(--sep-muted);
}

.sep-contact-prefs__privacy a {
    color: var(--brand-link, #203864);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.sep-contact-prefs__privacy a:hover {
    color: var(--brand-link, #203864);
}

.sep-contact-prefs__privacy a:focus-visible {
    outline: 2px solid var(--brand-link, #203864);
    outline-offset: 2px;
    border-radius: 2px;
}

.sep-contact-prefs__actions {
    margin-top: 18px;
    display: flex;
    justify-content: flex-end;
}

.sep-contact-prefs__submit.sep-btn-primary,
.sep-contact-prefs__submit.button-1 {
    background: var(--magenta) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 10px;
    min-height: 46px;
    padding: 12px 22px;
    font: 700 14.5px var(--sep-font) !important;
    text-transform: none !important;
    width: auto;
    cursor: pointer;
}

.sep-contact-prefs__submit:hover {
    filter: brightness(1.06);
    color: #fff !important;
}

.sep-contact-prefs__submit:focus-visible {
    outline: 2px solid var(--brand-link, #203864);
    outline-offset: 2px;
}

/* Topic blocks on contact preferences — keep current topic rendering, lightly spaced */
.sep-contact-preferences-page .topic-block {
    margin: 0 0 16px;
}

.sep-contact-preferences-page .sep-account-dashboard__main > .topic-block:last-child {
    margin: 16px 0 0;
}

@media (max-width: 1023px) {
    .sep-contact-prefs__form {
        padding: 20px 18px;
    }
}

@media (max-width: 767px) {
    .sep-contact-prefs__actions {
        justify-content: stretch;
    }

    .sep-contact-prefs__submit.sep-btn-primary,
    .sep-contact-prefs__submit.button-1 {
        width: 100%;
    }
}

/* ---------- Ship to popup field labels ---------- */
.estimate-shipping-popup .estimate-shipping-row.shipping-address {
    align-items: flex-end;
}

.estimate-shipping-popup .estimate-shipping-row-item.address-item {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    min-width: 0;
}

.estimate-shipping-popup .estimate-shipping-field-label {
    display: block;
    margin: 0;
    font: 700 12.5px/1.3 var(--sep-font);
    color: var(--sep-ink);
}

.estimate-shipping-popup .estimate-shipping-row-item.address-item .estimate-shipping-row {
    width: 100%;
}

.estimate-shipping-popup .estimate-shipping-address-control {
    width: 100%;
}

@media (max-width: 767px) {
    .estimate-shipping-popup .estimate-shipping-row.shipping-address {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .estimate-shipping-popup .estimate-shipping-row-item.address-item + .estimate-shipping-row-item.address-item,
    .estimate-shipping-popup .estimate-shipping-row-item + .estimate-shipping-row-item {
        padding-left: 0;
    }
}

/* ========== SEP Filters UI (Lovable) — overrides ========== */
.sep-plp__layout {
    grid-template-columns: 256px minmax(0, 1fr);
    gap: 24px;
}

.sep-plp__layout--no-filters {
    grid-template-columns: minmax(0, 1fr);
}

@media (max-width: 1279px) and (min-width: 1024px) {
    .sep-plp__layout:not(.sep-plp__layout--no-filters) {
        grid-template-columns: 240px minmax(0, 1fr);
    }
}

.sep-plp__filters .sep-filter-sidebar,
.sep-plp__filters .sep-filters-drawer {
    border-radius: 8px;
    box-shadow: none;
    background: #fff;
    border: 1px solid var(--sep-border);
    display: flex;
    flex-direction: column;
    overflow: visible;
    position: static;
    transform: none;
    width: auto;
    height: auto;
    padding: 0;
}

.sep-filter-heading {
    padding: 18px 18px 10px;
    font: 800 18px/1.25 var(--sep-font);
    color: var(--sep-ink);
}

.sep-filters-clear,
.sep-filter-chips__clear {
    appearance: none;
    background: none;
    border: 0;
    padding: 0;
    margin: 0;
    font: 600 12.5px/1.3 var(--sep-font);
    color: var(--brand-link, #203864);
    text-decoration: underline;
    text-underline-offset: 2px;
    cursor: pointer;
}

html:not([data-theme="dark"]) .sep-filters-clear,
html:not([data-theme="dark"]) .sep-filter-chips__clear {
    color: #203864;
}

.sep-filters-clear:focus-visible,
.sep-filter-chips__clear:focus-visible,
.sep-filter-chip:focus-visible,
.sep-filter-more:focus-visible,
.sep-filter-group-trigger:focus-visible,
.sep-filters-toggle:focus-visible,
.sep-filters-drawer__close:focus-visible,
.sep-filters-apply:focus-visible {
    outline: 2px solid var(--brand-link, #203864);
    outline-offset: 2px;
}

.sep-filter-group-trigger {
    gap: 8px;
}

.sep-filter-group-trigger__name {
    flex: 1 1 auto;
    text-align: left;
}

.sep-filter-group-trigger__selected {
    flex: none;
    font: 500 11.5px/1.3 var(--sep-font);
    color: var(--sep-muted);
    text-transform: none;
    letter-spacing: 0;
}

.sep-filter-chevron {
    transform: rotate(0deg);
}

.sep-filter-chevron.is-open {
    transform: rotate(180deg);
}

.sep-filter-option__row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-height: 38px;
    margin: 0;
    cursor: pointer;
    font: 500 14px/1.35 var(--sep-font);
    color: var(--sep-ink);
}

.sep-filter-option__row input {
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: var(--magenta, var(--brand-accent));
    cursor: pointer;
}

.sep-filter-option__label {
    min-width: 0;
    overflow-wrap: anywhere;
}

.sep-filter-option__count {
    font: 500 12px/1.3 var(--sep-font);
    color: var(--sep-muted);
    text-align: right;
}

.sep-filter-search {
    position: relative;
    margin: 0 0 10px;
}

.sep-filter-search__icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--sep-muted);
    pointer-events: none;
    display: flex;
}

.sep-filter-search__input {
    width: 100%;
    height: 40px;
    box-sizing: border-box;
    border: 1px solid var(--sep-border-strong, var(--sep-border));
    border-radius: 8px;
    padding: 0 12px 0 36px;
    font: 500 14px var(--sep-font);
    color: var(--sep-ink);
    background: #fff;
}

.sep-filter-search__input:focus-visible {
    outline: 2px solid var(--brand-link, #203864);
    outline-offset: 1px;
}

.sep-filter-search-empty {
    margin: 6px 0 0;
    font: 500 13px/1.4 var(--sep-font);
    color: var(--sep-muted);
}

.sep-filter-more {
    appearance: none;
    background: none;
    border: 0;
    padding: 8px 0 2px;
    margin: 4px 0 0;
    font: 600 13.5px/1.3 var(--sep-font);
    color: var(--brand-link, #203864);
    text-decoration: underline;
    text-underline-offset: 2px;
    cursor: pointer;
}

html:not([data-theme="dark"]) .sep-filter-more {
    color: #203864;
}

/* Applied chips */
.sep-plp__toolbar {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 14px;
}

.sep-filter-chips {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 10px;
}

.sep-filter-chips[hidden] {
    display: none !important;
}

.sep-filter-chips__list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.sep-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 30px;
    padding: 4px 12px;
    border: 0;
    border-radius: 999px;
    background: var(--sep-surface-2, #eef1f6);
    color: var(--brand-link, #203864);
    font: 600 13px/1.2 var(--sep-font);
    cursor: pointer;
}

html:not([data-theme="dark"]) .sep-filter-chip {
    color: #203864;
}

.sep-filter-chip__x {
    font-size: 15px;
    line-height: 1;
    opacity: .85;
}

.sep-plp__selectors.product-selectors {
    margin: 0;
}

/* Desktop: hide drawer chrome / apply footer */
.sep-plp__filters .sep-filters-drawer__head,
.sep-plp__filters .sep-filters-drawer__footer,
.sep-plp__filters .sep-filters-toggle,
.sep-plp__filters .sep-filters-backdrop {
    display: none !important;
}

.sep-plp__filters .sep-filters-drawer__body {
    display: block;
}

.sep-filters-drawer__sub {
    margin: 2px 0 0;
    font: 500 13.5px/1.35 var(--sep-font);
    color: var(--sep-muted);
}

.sep-filters-drawer__titles h2 {
    margin: 0;
    font: 800 22px/1.2 var(--sep-font);
    color: var(--sep-ink);
}

.sep-filters-apply.sep-btn-primary {
    width: 100%;
    min-height: 48px;
    border: none;
    border-radius: 10px;
    background: var(--magenta) !important;
    color: #fff !important;
    font: 700 15px var(--sep-font) !important;
    text-transform: none !important;
    cursor: pointer;
}

.sep-filters-apply:disabled {
    opacity: .45;
    cursor: not-allowed;
    filter: none;
}

html.sep-filters-lock,
html.sep-filters-lock body {
    overflow: hidden;
}

/* Hide legacy within-balance control if reintroduced */
.sep-plp__filters .sep-filter-within,
.sep-plp__filters .sep-filter-balance {
    display: none !important;
}

@media (max-width: 1023px) {
    .sep-plp__layout {
        grid-template-columns: 1fr;
        gap: 0;
    }

    /* Promote Filters button into the results toolbar flow */
    .sep-plp__filters {
        display: contents;
    }

    .sep-plp__filters .sep-filters-toggle {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        min-height: 40px;
        padding: 8px 16px;
        margin: 0 0 12px;
        border: 1.5px solid var(--sep-border-strong, var(--sep-border));
        border-radius: 10px;
        background: #fff;
        color: var(--sep-ink);
        font: 700 14px var(--sep-font);
        cursor: pointer;
        order: -1;
        width: fit-content;
    }

    .sep-plp__results {
        display: flex;
        flex-direction: column;
    }

    .sep-plp__toolbar {
        order: 0;
    }

    .sep-plp__filters .sep-filter-heading {
        display: none !important;
    }

    .sep-plp__filters .sep-filters-drawer {
        position: fixed !important;
        top: 0;
        right: 0;
        left: auto;
        bottom: 0;
        width: min(420px, 100vw);
        max-width: 100vw;
        z-index: 91;
        transform: translateX(105%);
        transition: transform .22s ease;
        overflow: hidden;
        padding: 0;
        border-radius: 0;
        border: none;
        box-shadow: -8px 0 28px rgba(20, 30, 60, .14);
        display: flex !important;
        flex-direction: column;
    }

    @media (prefers-reduced-motion: reduce) {
        .sep-plp__filters .sep-filters-drawer {
            transition: none;
        }
    }

    html.sep-filters-open .sep-plp__filters .sep-filters-drawer {
        transform: translateX(0);
    }

    .sep-plp__filters .sep-filters-drawer__head {
        display: flex !important;
        align-items: flex-start;
        justify-content: space-between;
        gap: 12px;
        padding: 18px 18px 12px;
        flex: none;
    }

    .sep-filters-drawer__close {
        flex: none;
        width: 44px;
        height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border: 1px solid var(--sep-border);
        border-radius: 10px;
        background: #fff;
        color: var(--sep-ink);
        cursor: pointer;
        padding: 0;
    }

    .sep-plp__filters .sep-filters-drawer__body {
        flex: 1 1 auto;
        overflow: auto;
        padding: 0 0 12px;
        -webkit-overflow-scrolling: touch;
    }

    .sep-plp__filters .sep-filters-drawer__footer {
        display: block !important;
        flex: none;
        padding: 12px 18px calc(12px + env(safe-area-inset-bottom, 0));
        border-top: 1px solid var(--sep-border);
        background: #fff;
    }

    .sep-plp__filters .sep-filters-backdrop {
        display: block !important;
        position: fixed;
        inset: 0;
        background: rgba(20, 30, 60, .4);
        z-index: 90;
    }

    .sep-plp__filters .sep-filters-backdrop[hidden] {
        display: none !important;
    }

    .sep-plp__selectors .product-sorting {
        margin-left: 0;
        width: 100%;
        justify-content: flex-start;
    }
}

@media (max-width: 767px) {
    .sep-plp__filters .sep-filters-drawer {
        width: 100vw;
    }
}

/* Also style classic side-2 (search) when theme filter partials render there */
.side-2 .sep-filters-drawer.sep-filter-sidebar {
    border-radius: 8px;
    box-shadow: none;
}

/* ---------- Store closed (standalone service page, Common/StoreClosed) ---------- */
body.sep-store-closed-body {
    margin: 0;
    background: var(--sep-page);
}

.sep-store-closed {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    min-height: 100dvh;
    padding: 32px 20px;
    background: var(--sep-page);
    font-family: 'Poppins', system-ui, sans-serif;
}

.sep-store-closed__card {
    box-sizing: border-box;
    width: 100%;
    max-width: 560px;
    padding: 44px 36px;
    background: var(--sep-card);
    border: 1px solid var(--sep-border);
    border-radius: 16px;
    box-shadow: 0 2px 14px rgba(20, 30, 60, .07);
    text-align: center;
}

.sep-store-closed__logo {
    display: block;
    width: auto;
    max-width: 100%;
    height: 48px;
    margin: 0 auto 28px;
    object-fit: contain;
}

.sep-store-closed__title {
    margin: 0 0 12px;
    color: var(--sep-ink);
    font-size: 28px;
    font-weight: 800;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.sep-store-closed__message,
.sep-store-closed__support {
    margin: 0;
    color: var(--sep-muted);
    font-size: 16px;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.sep-store-closed__reopen {
    margin: 16px 0 0;
    color: var(--sep-ink);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.sep-store-closed__divider {
    height: 0;
    margin: 28px 0 20px;
    border: 0;
    border-top: 1px solid var(--divider);
}

.sep-store-closed__support a {
    color: var(--brand-link);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.sep-store-closed__support a:hover {
    text-decoration-thickness: 2px;
}

@media (max-width: 480px) {
    .sep-store-closed__card {
        padding: 32px 20px;
    }

    .sep-store-closed__title {
        font-size: 24px;
    }
}