/**
 * Wholesale Market — dense import/marketplace storefront in crimson and cream.
 *
 * Layout follows the conventions of high-SKU marketplaces: a persistent left
 * category rail, a search-first header, a split promotional banner, circular
 * "top category" chips carrying a from-price, and tightly packed product rows
 * grouped by category with percentage-off flags.
 *
 * Hand-written and not processed by Tailwind: the Shop package's Tailwind
 * content paths do not include `resources/themes`, so utility classes used in
 * this theme's Blade files are never compiled. Use the `whl-` classes here.
 */

:root {
    --whl-crimson: #de1849;
    --whl-crimson-dark: #b9123b;
    --whl-ink: #22252b;
    --whl-muted: #7b8089;
    --whl-line: #ebedf1;
    --whl-mist: #f5f6f8;
    --whl-cream: #fff5eb;
}

body { background: var(--whl-mist); }

/* ---------------------------------------------------------------- header */

.gadget-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #fff !important;
    border-bottom: 1px solid var(--whl-line) !important;
    box-shadow: none !important;
}

.gadget-header--static {
    position: relative;
    z-index: 1000;
}

.gadget-header__announcement {
    min-height: 30px;
    padding: 6px 16px !important;
    background: var(--whl-crimson) !important;
    color: #fff !important;
    font-size: 11px !important;
    font-weight: 700;
    letter-spacing: .05em;
    text-align: center;
}

.gadget-header__announcement a { color: #ffe08a !important; }

.gadget-header__inner {
    display: flex;
    align-items: center;
    gap: 14px;
    width: min(1440px, calc(100% - 28px)) !important;
    min-height: 66px !important;
    margin: 0 auto !important;
    padding: 8px 0 !important;
}

.gadget-header__brand {
    color: var(--whl-crimson) !important;
    font-size: 21px !important;
    font-weight: 800 !important;
    letter-spacing: -.04em;
    text-decoration: none;
    white-space: nowrap;
}

.gadget-header__brand img { max-height: 40px; object-fit: contain; }
.gadget-header__tools { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.gadget-header__icon-link, .gadget-header__cart { color: var(--whl-ink); }
.gadget-header__mobile { display: none; }

/* ------------------------------------------------ wholesale header tools */

.whl-tools {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.whl-tool {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 10px;
    border-radius: 8px;
    color: var(--whl-ink);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    transition: color 0.18s ease, background-color 0.18s ease;
    cursor: pointer;
    user-select: none;
}

.whl-tool:hover {
    color: var(--whl-crimson);
    background-color: var(--whl-mist);
}

.whl-tool__icon-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    color: inherit;
}

.whl-tool__icon {
    display: block;
    width: 20px;
    height: 20px;
    transition: transform 0.18s ease;
}

.whl-tool:hover .whl-tool__icon {
    transform: translateY(-1px);
}

.whl-tool__label {
    display: inline-block;
    white-space: nowrap;
    font-size: 13px;
    font-weight: 600;
}

.whl-tool__badge {
    position: absolute;
    top: -5px;
    right: -7px;
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    border-radius: 10px;
    background: var(--whl-crimson);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    line-height: 17px;
    text-align: center;
    box-shadow: 0 1px 3px rgba(222, 24, 73, 0.4);
}

.whl-tool__badge[hidden] {
    display: none !important;
}

/* Account tool stack */
.whl-tool-dropdown-wrap {
    position: relative;
    z-index: 1001;
}

.whl-account-menu {
    position: relative;
    z-index: 1001;
}

.whl-account-menu summary {
    list-style: none;
    outline: none;
}

.whl-account-menu summary::-webkit-details-marker {
    display: none;
}

.whl-tool--account {
    border: 1px solid transparent;
}

.whl-account-menu[open] .whl-tool--account {
    background: var(--whl-mist);
    border-color: var(--whl-line);
    color: var(--whl-crimson);
}

.whl-tool__stacked {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    white-space: nowrap;
}

.whl-tool__caption {
    font-size: 11px;
    font-weight: 500;
    color: var(--whl-muted);
    line-height: 1;
    margin-bottom: 2px;
}

.whl-tool__caret {
    margin-left: 2px;
    transition: transform 0.2s ease;
    color: var(--whl-muted);
}

.whl-account-menu[open] .whl-tool__caret {
    transform: rotate(180deg);
}

/* Popover card */
.whl-account-popover {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 250px;
    padding: 16px;
    background: #ffffff;
    border: 1px solid var(--whl-line);
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(17, 24, 39, 0.12), 0 4px 10px rgba(17, 24, 39, 0.04);
    z-index: 100;
    animation: whlFadeIn 0.18s ease-out;
}

@keyframes whlFadeIn {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}

.whl-account-popover__header {
    margin-bottom: 12px;
}

.whl-account-popover__welcome {
    font-size: 12px;
    color: var(--whl-muted);
    margin: 0;
}

.whl-account-popover__title {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--whl-ink);
    margin: 0 0 2px 0;
}

.whl-account-popover__sub {
    display: block;
    font-size: 11.5px;
    color: var(--whl-muted);
    line-height: 1.3;
}

.whl-account-popover__name {
    font-size: 14px;
    font-weight: 700;
    color: var(--whl-ink);
    margin: 2px 0 0 0;
}

.whl-account-popover__actions {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--whl-line);
}

.whl-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 0;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.15s ease;
}

.whl-btn--primary {
    background: var(--whl-crimson);
    color: #fff;
    border: 1px solid var(--whl-crimson);
}

.whl-btn--primary:hover {
    background: var(--whl-crimson-dark);
    border-color: var(--whl-crimson-dark);
    color: #fff;
}

.whl-btn--outline {
    background: #fff;
    color: var(--whl-ink);
    border: 1px solid var(--whl-line);
}

.whl-btn--outline:hover {
    border-color: var(--whl-crimson);
    color: var(--whl-crimson);
    background: var(--whl-cream);
}

.whl-account-popover__body {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.whl-account-popover__link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 6px;
    color: var(--whl-ink);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: background 0.15s ease, color 0.15s ease;
}

.whl-account-popover__link svg {
    flex-shrink: 0;
    color: var(--whl-muted);
    transition: color 0.15s ease;
}

.whl-account-popover__link:hover {
    background: var(--whl-mist);
    color: var(--whl-crimson);
}

.whl-account-popover__link:hover svg {
    color: var(--whl-crimson);
}

.whl-account-popover__divider {
    height: 1px;
    background: var(--whl-line);
    margin: 6px 0;
}

.whl-account-popover__form {
    margin: 0;
    padding: 0;
}

.whl-account-popover__logout {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 8px 12px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #b9123b;
    text-align: left;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.whl-account-popover__logout svg {
    flex-shrink: 0;
    color: #b9123b;
}

.whl-account-popover__logout:hover {
    background: #fff1f3;
}

/* Mobile navigation drawer additions */
.whl-mobile-tools {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 12px;
    padding-bottom: 12px;
}

.whl-mobile-tools a {
    display: block;
    padding: 8px 12px;
    border-radius: 6px;
    color: var(--whl-ink);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.whl-mobile-tools a:hover {
    background: var(--whl-mist);
    color: var(--whl-crimson);
}

.whl-mobile-divider {
    height: 1px;
    background: var(--whl-line);
    margin: 8px 0 12px 0;
}

@media (max-width: 1100px) {
    .whl-tool__label,
    .whl-tool__stacked {
        display: none;
    }
    .whl-tool__caret {
        display: none;
    }
    .whl-tool {
        padding: 6px;
    }
}

/* ------------------------------------------ search-first header layout */

.gadget-header--search .gadget-header__search--hero { display: flex; flex: 1 1 auto; max-width: 720px; gap: 0; }

.gadget-header--search .gadget-header__search--hero input {
    width: 100%;
    height: 42px !important;
    padding: 0 16px;
    border: 2px solid var(--whl-crimson) !important;
    border-right: 0 !important;
    border-radius: 24px 0 0 24px !important;
    background: #fff !important;
    font-size: 13px !important;
}

.gadget-header--search .gadget-header__search--hero button {
    height: 42px;
    padding: 0 26px;
    border: 0;
    border-radius: 0 24px 24px 0;
    background: var(--whl-crimson);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

@media (hover: hover) and (pointer: fine) {
    .gadget-header--search .gadget-header__search--hero button:hover { background: var(--whl-crimson-dark); }
}

.gadget-header__departments { position: relative; }

.gadget-header__departments summary {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 42px;
    padding: 0 16px;
    border-radius: 22px;
    background: var(--whl-cream);
    color: var(--whl-ink);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
    white-space: nowrap;
}

.gadget-header__departments summary::-webkit-details-marker { display: none; }
.gadget-header__departments summary::after { content: '▾'; color: var(--whl-crimson); }

.gadget-header__departments > div {
    position: absolute;
    z-index: 50;
    top: calc(100% + 8px);
    left: 0;
    display: grid;
    min-width: 250px;
    padding: 8px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 16px 34px rgba(34, 37, 43, .16);
}

.gadget-header__departments > div a { padding: 9px 12px; border-radius: 8px; color: var(--whl-ink); font-size: 13px; text-decoration: none; }
@media (hover: hover) and (pointer: fine) {
    .gadget-header__departments > div a:hover { background: var(--whl-cream); color: var(--whl-crimson); }
}

@media (max-width: 980px) { .gadget-header__departments { display: none; } }
@media (max-width: 760px) { .gadget-header--search .gadget-header__search--hero { display: none; } }

/* ------------------------------------------------------------- homepage */

.whl-page { background: var(--whl-mist); color: var(--whl-ink); font-family: Poppins, ui-sans-serif, system-ui, sans-serif; padding-bottom: 40px; }
.whl-shell { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 16px; width: min(1440px, calc(100% - 28px)); margin: 0 auto; padding-top: 16px; }

/* No categories yet, so no rail: the page takes the whole width instead of the rail's column. */
.whl-shell:not(:has(> .whl-rail)) { grid-template-columns: minmax(0, 1fr); }
.whl-shell:has(> .whl-aside) { grid-template-columns: 224px minmax(0, 1fr); }
.whl-aside { display: flex; min-width: 0; flex-direction: column; gap: 14px; align-self: start; }
.whl-aside > .whl-rail { align-self: stretch; width: 100%; }

/* The persistent category rail — the defining element of this layout. */
.whl-rail { align-self: start; overflow: hidden; border-radius: 12px; background: #fff; }
.whl-rail h2 { margin: 0; padding: 13px 16px; background: var(--whl-crimson); color: #fff; font-size: 13px; font-weight: 800; letter-spacing: .02em; }
.whl-rail a { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 11px 16px; border-bottom: 1px solid var(--whl-line); color: var(--whl-ink); font-size: 12.5px; text-decoration: none; }
.whl-rail a:last-child { border-bottom: 0; }
.whl-rail a::after { color: var(--whl-muted); content: '›'; font-size: 15px; }
@media (hover: hover) and (pointer: fine) {
    .whl-rail a:hover { background: var(--whl-cream); color: var(--whl-crimson); }
}

.whl-main { min-width: 0; }

.whl-banner { display: grid; grid-template-columns: minmax(0, 1fr) clamp(240px, 25%, 420px); gap: 14px; }

.whl-banner__main,
.whl-banner__side {
    display: flex;
    min-height: 410px;
    min-width: 0;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    padding: 32px 38px;
    border-radius: 14px;
    color: #fff;
    box-sizing: border-box;
}

.whl-banner__main {
    position: relative;
    background: linear-gradient(118deg, var(--whl-crimson) 0%, #f2477a 70%, #ff7aa2 100%);
    isolation: isolate;
}
.whl-banner__main::after {
    position: absolute;
    z-index: -1;
    top: -60px;
    right: -40px;
    width: 360px;
    height: 360px;
    border: 44px solid rgba(255, 255, 255, .12);
    border-radius: 50%;
    content: '';
}
.whl-banner__main strong {
    display: block;
    max-width: 520px;
    font-size: clamp(24px, 3.2vw, 38px);
    font-weight: 800;
    letter-spacing: -.04em;
    line-height: 1.1;
}
.whl-banner__main p {
    max-width: 480px;
    margin: 12px 0 20px;
    color: rgba(255, 255, 255, .88);
    font-size: 13px;
    line-height: 1.6;
}

.whl-banner__cta {
    display: inline-flex;
    align-self: flex-start;
    padding: 11px 24px;
    border-radius: 24px;
    background: #fff;
    color: var(--whl-crimson);
    font-size: 13px;
    font-weight: 800;
    text-decoration: none !important;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.whl-banner__cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

/* A hero without a side card takes the whole row. */
.whl-banner--solo { grid-template-columns: 1fr; }

.whl-banner__main small {
    margin-bottom: 8px;
    color: rgba(255, 255, 255, .85);
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.whl-banner__accent { color: var(--whl-cream); }
.whl-banner__links { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.whl-banner__secondary { color: #fff; font-size: 13px; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }

/* The CMS hero's picture: laid in at the right, behind the copy. */
.whl-banner__art {
    position: absolute;
    z-index: -1;
    right: 24px;
    bottom: 0;
    max-width: 46%;
    height: 94%;
    object-fit: contain;
    object-position: right bottom;
    pointer-events: none;
}

/* With a picture the copy keeps to the left, so it never runs over it (unless it's a full graphic banner). */
.whl-banner__main--art:not(.whl-banner__main--graphic) > :not(.whl-banner__art) { max-width: 54%; }

/* Full graphic promotional banner support (edge-to-edge without black bars) */
.whl-banner__main--graphic {
    padding: 0 !important;
    background: var(--whl-mist, #f6f7f9);
}
.whl-banner__main--graphic::after {
    display: none;
}
.whl-banner__graphic-link {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100% !important;
    position: relative;
}
.whl-banner__main--graphic .whl-banner__art {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: 100% !important;
    object-fit: cover;
    object-position: center;
    z-index: 1;
    pointer-events: auto;
}

/* Graphic promotional banners: balanced desktop aspect ratio matching the right promo stack */
.whl-banner--has-graphic,
.whl-banner:has(.whl-banner__main--graphic) {
    align-items: stretch;
}

.whl-banner--has-graphic .whl-banner__slider,
.whl-banner--has-graphic .whl-banner__main--graphic,
.whl-banner:has(.whl-banner__main--graphic) .whl-banner__slider,
.whl-banner:has(.whl-banner__main--graphic) .whl-banner__main--graphic {
    min-height: unset !important;
    aspect-ratio: var(--whl-banner-ratio, 1440 / 500);
    height: auto;
}

/* Stacked 2 small promo image cards beside hero slider */
.whl-banner__promos {
    display: grid;
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 10px;
    min-width: 0;
    min-height: 0;
    height: 100%;
}

.whl-banner__promos:has(> :only-child) {
    grid-template-rows: minmax(0, 1fr);
}

.whl-banner__promo {
    position: relative;
    display: block;
    min-height: 0;
    overflow: hidden;
    border-radius: 14px;
    border: 1px solid var(--whl-line, #e5e7eb);
    background: #ffffff;
    box-shadow: 0 8px 22px -12px rgba(15, 23, 42, 0.22);
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease, border-color 0.2s ease;
}

.whl-banner__promo img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

@media (hover: hover) and (pointer: fine) {
    a.whl-banner__promo:hover {
        transform: translateY(-2px);
        border-color: var(--whl-crimson, #de1849);
        box-shadow: 0 14px 28px -12px rgba(222, 24, 73, 0.24);
    }
}

.whl-banner--has-graphic .whl-banner__side,
.whl-banner:has(.whl-banner__main--graphic) .whl-banner__side {
    min-height: unset !important;
    height: 100%;
    padding: clamp(16px, 2vw, 28px);
    justify-content: center;
}

.whl-banner--has-graphic .whl-banner__side strong,
.whl-banner:has(.whl-banner__main--graphic) .whl-banner__side strong {
    font-size: clamp(16px, 1.4vw, 20px);
    margin-bottom: clamp(10px, 1.2vw, 18px);
}

/* Side Card */
.whl-banner__side {
    position: relative;
    padding: 34px 28px;
    background: linear-gradient(160deg, #111317 0%, #191c24 50%, #20232e 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 14px 34px -10px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.12);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease;
}
.whl-banner__side:hover {
    border-color: rgba(255, 255, 255, 0.22);
    box-shadow: 0 18px 42px -10px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.whl-banner__side::before {
    position: absolute;
    top: -50px;
    right: -50px;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(242, 71, 122, 0.24) 0%, rgba(242, 71, 122, 0.05) 55%, transparent 70%);
    content: '';
    pointer-events: none;
    z-index: 0;
}
.whl-banner__side::after {
    position: absolute;
    bottom: -40px;
    left: -40px;
    width: 190px;
    height: 190px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.06) 0%, transparent 70%);
    content: '';
    pointer-events: none;
    z-index: 0;
}
.whl-banner__side small {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: fit-content;
    margin-bottom: 14px;
    padding: 5px 12px;
    border-radius: 9999px;
    background: rgba(242, 71, 122, 0.14);
    border: 1px solid rgba(242, 71, 122, 0.32);
    color: #ff94b4;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(242, 71, 122, 0.15);
}
.whl-banner__side small::before {
    content: '';
    display: inline-block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #f2477a;
    box-shadow: 0 0 6px #f2477a;
}
.whl-banner__side strong {
    position: relative;
    z-index: 1;
    display: block;
    font-size: clamp(17px, 1.35vw, 21px);
    font-weight: 800;
    letter-spacing: -.03em;
    line-height: 1.32;
    color: #ffffff;
    text-wrap: balance;
}
.whl-banner__side a {
    position: relative;
    z-index: 1;
    margin-top: 22px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    align-self: flex-start;
    padding: 10px 22px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .02em;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}
.whl-banner__side a:hover {
    background: #ffffff;
    color: #111317;
    border-color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

/* Hero Banner Multi-Slide Carousel */
.whl-banner__slider {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 400px;
    min-width: 0;
    border-radius: 14px;
    overflow: hidden;
    isolation: isolate;
    box-shadow: 0 10px 28px -8px rgba(0, 0, 0, 0.16);
}

.whl-banner__slides {
    display: grid;
    grid-template-areas: "slide";
    width: 100%;
    height: 100%;
    flex: 1;
}

.whl-banner__slide {
    grid-area: slide;
    opacity: 0;
    visibility: hidden;
    transform: translateX(20px);
    transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1), transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.45s;
    pointer-events: none;
    z-index: 1;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
}

.whl-banner__slide.is-active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    pointer-events: auto;
    z-index: 2;
}

/* Slider Navigation Buttons */
.whl-slider__nav {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10px;
}

.whl-slider__btn {
    pointer-events: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    cursor: pointer;
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.25s ease, transform 0.25s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.whl-banner__slider:hover .whl-slider__btn,
.whl-banner__slider:focus-within .whl-slider__btn {
    opacity: 1;
    transform: scale(1);
}

@media (hover: none) {
    .whl-slider__btn {
        opacity: 0.85;
        transform: scale(1);
    }
}

.whl-slider__btn:hover {
    background: #fff;
    color: var(--whl-crimson);
    border-color: #fff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.whl-slider__btn:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

/* Slider Dots Pagination */
.whl-slider__dots {
    position: absolute;
    bottom: 12px;
    right: 24px;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 8px;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.24);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.whl-slider__dot {
    width: 8px;
    height: 8px;
    border-radius: 4px;
    border: none;
    background: rgba(255, 255, 255, 0.45);
    padding: 0;
    cursor: pointer;
    transition: width 0.25s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.25s ease;
}

.whl-slider__dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

.whl-slider__dot.is-active {
    width: 22px;
    background: #fff;
}

.whl-block { margin-top: 18px; padding: 16px; border-radius: 12px; background: #fff; }
.whl-block__head { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 14px; }
.whl-block__head h2 { display: flex; align-items: center; gap: 9px; margin: 0; font-size: 16px; font-weight: 800; letter-spacing: -.02em; }
.whl-block__head h2::before { width: 6px; height: 18px; border-radius: 3px; background: var(--whl-crimson); content: ''; }
.whl-block__head a { color: var(--whl-crimson); font-size: 12px; font-weight: 700; text-decoration: none; white-space: nowrap; }
/* A category row's "View more" is a pill, as on the reference marketplace. */
.whl-block__head .whl-block__more { padding: 5px 14px; border: 1px solid var(--whl-crimson); border-radius: 20px; transition: background-color var(--motion-fast, .15s) var(--motion-ease-out, ease-out), color var(--motion-fast, .15s) var(--motion-ease-out, ease-out); }
@media (hover: hover) and (pointer: fine) {
    .whl-block__head .whl-block__more:hover { background: var(--whl-crimson); color: #fff; }
}

/* Circular category chips carrying a from-price, as marketplaces use. */
.whl-chips { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 10px; }
.whl-chip { display: flex; min-width: 0; flex-direction: column; align-items: center; gap: 8px; color: var(--whl-ink); text-decoration: none !important; }
.whl-chip__art { position: relative; width: 100%; aspect-ratio: 1; overflow: hidden; border-radius: 50%; background: var(--whl-cream); }
.whl-chip__art img { width: 100%; height: 100%; object-fit: cover; }
.whl-chip span { overflow: hidden; max-width: 100%; font-size: 11px; font-weight: 650; text-align: center; text-overflow: ellipsis; white-space: nowrap; }
/* The from-price sits under the circle as a pill, tucked onto its lower edge, so a long price is never clipped by the round. */
.whl-chip .whl-chip__from { position: relative; z-index: 1; margin: -18px 0 -2px; padding: 3px 8px; border-radius: 20px; background: var(--whl-crimson); color: #fff; font-size: 9px; font-weight: 800; line-height: 1.3; white-space: normal; text-overflow: clip; }
@media (hover: hover) and (pointer: fine) {
    .whl-chip:hover span { color: var(--whl-crimson); }
    .whl-chip:hover .whl-chip__from { color: #fff; }
}

.whl-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }

.whl-card { position: relative; display: flex; min-width: 0; flex-direction: column; overflow: hidden; border: 1px solid var(--whl-line); border-radius: 10px; background: #fff; transition: border-color var(--motion-base) var(--motion-ease-out), box-shadow var(--motion-base) var(--motion-ease-out), transform var(--motion-base) var(--motion-ease-out); }
@media (hover: hover) and (pointer: fine) {
    .whl-card:hover { z-index: 1; transform: translateY(var(--motion-lift)); border-color: #f4b7c8; box-shadow: 0 12px 24px rgba(222, 24, 73, .12); }
}

.whl-card__media { position: relative; display: block; aspect-ratio: 1; overflow: hidden; background: var(--whl-mist); }
.whl-card__media img { width: 100%; height: 100%; padding: 8px; object-fit: contain; transition: transform var(--motion-slow) var(--motion-ease-out); }
@media (hover: hover) and (pointer: fine) {
    .whl-card:hover .whl-card__media img { transform: scale(var(--motion-zoom)); }
}

.whl-flag { position: absolute; top: 8px; left: 8px; padding: 3px 8px; border-radius: 20px; background: var(--whl-crimson); color: #fff; font-size: 9px; font-weight: 800; }
.whl-flag--new { background: #22252b; }
.whl-flag--discount { letter-spacing: .02em; }
.whl-flag--out { background: #98a0aa; }

.whl-card__body { display: flex; min-height: 84px; flex: 1; flex-direction: column; padding: 9px; }
.whl-card__name { display: -webkit-box; min-height: 30px; margin: 0 0 7px; overflow: hidden; color: var(--whl-ink); font-size: 11px; font-weight: 500; line-height: 1.4; text-decoration: none; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.whl-card__meta { display: flex; align-items: center; justify-content: space-between; gap: 5px; margin-top: auto; }
.whl-card__prices { display: flex; align-items: baseline; gap: 6px; min-width: 0; }
.whl-card__price { overflow: hidden; color: var(--whl-crimson); font-size: 14px; font-weight: 800; letter-spacing: -.02em; text-overflow: ellipsis; white-space: nowrap; }
.whl-card__regular { color: #aeb4bd; font-size: 10px; text-decoration: line-through; }
.whl-card__from { flex-basis: 100%; color: var(--whl-muted); font-size: 10.5px; font-weight: 600; }

.whl-cart { display: inline-grid; width: 27px; height: 27px; flex: 0 0 27px; place-items: center; border: 0; border-radius: 50%; background: var(--whl-cream); color: var(--whl-crimson); cursor: pointer; transition: background-color var(--motion-base) var(--motion-ease-out), color var(--motion-base) var(--motion-ease-out), transform var(--motion-base) var(--motion-ease-out); }
@media (hover: hover) and (pointer: fine) {
    .whl-cart:hover:not(:disabled) { transform: scale(calc(1 + (var(--motion-zoom) - 1) * 2)); background: var(--whl-crimson); color: #fff; }
}
.whl-cart:disabled { cursor: not-allowed; opacity: .45; }

.whl-empty { padding: 26px; border: 1px dashed #d3d8df; border-radius: 10px; color: var(--whl-muted); font-size: 12.5px; text-align: center; }

/* ------------------------------------------------- category and product */

.whl-crumbs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; color: var(--whl-muted); font-size: 11px; }
.whl-crumbs a { color: var(--whl-crimson); text-decoration: none; }

.whl-head { margin-bottom: 16px; padding: 22px 26px; border-radius: 14px; background: linear-gradient(118deg, var(--whl-crimson) 0%, #f2477a 100%); color: #fff; }
.whl-head h1 { margin: 0; font-size: clamp(21px, 2.6vw, 30px); font-weight: 800; letter-spacing: -.04em; }
.whl-head p { max-width: 640px; margin: 8px 0 0; color: rgba(255, 255, 255, .84); font-size: 12px; line-height: 1.6; }
.whl-cat-banner { position: relative; width: 100%; margin-bottom: 16px; border-radius: 14px; overflow: hidden; background: #181a1f; border: 1px solid var(--whl-line); box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05); }
.whl-cat-banner__image { display: block; width: 100%; height: auto; aspect-ratio: 1320 / 300; object-fit: cover; }
.whl-head--has-banner { margin-bottom: 16px; padding: 0; border-radius: 0; background: transparent; color: var(--whl-ink); }
.whl-head--has-banner h1 { color: var(--whl-ink); font-size: clamp(20px, 2.2vw, 26px); }
.whl-head--has-banner p { max-width: 720px; margin: 6px 0 0; color: var(--whl-muted); font-size: 12.5px; line-height: 1.55; }

.whl-detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 26px; align-items: start; padding: 18px; border-radius: 12px; background: #fff; }
.whl-detail__media { display: block; min-width: 0; overflow: hidden; }
.whl-detail__body { min-width: 0; }
.whl-detail__body h1 { margin: 0 0 10px; font-size: clamp(19px, 2.2vw, 27px); font-weight: 800; letter-spacing: -.035em; line-height: 1.16; word-break: break-word; }
.whl-detail__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; margin-bottom: 16px; color: var(--whl-crimson); font-size: 26px; font-weight: 800; }
.whl-detail__price .price-label { white-space: nowrap; flex-shrink: 0; font-size: 13px; font-weight: 600; color: #6b7280; margin: 0; }
.whl-detail__price .final-price { white-space: nowrap; flex-shrink: 0; margin: 0; }
.whl-detail__price .regular-price, .whl-detail__price s { white-space: nowrap; flex-shrink: 0; color: #aeb4bd; font-size: 16px; font-weight: 500; margin: 0; text-decoration: line-through; }
.whl-detail__price .discount-badge { white-space: nowrap; flex-shrink: 0; font-size: 13px; font-weight: 700; color: #dc2626; background: #fef2f2; padding: 2px 8px; border-radius: 6px; margin: 0; }
.whl-detail__tax { display: block; margin-top: -8px; margin-bottom: 14px; color: var(--whl-muted); font-size: 11px; }
.whl-detail__desc { margin-bottom: 20px; color: #4b5563; font-size: 13.5px; line-height: 1.8; }
.whl-detail__desc p { margin: 10px 0; line-height: 1.8; }
.whl-detail__desc ul { list-style-type: disc; margin: 12px 0; padding-left: 22px; }
.whl-detail__desc ol { list-style-type: decimal; margin: 12px 0; padding-left: 22px; }
.whl-detail__desc li { margin-bottom: 9px; line-height: 1.75; }
.whl-detail__desc li:last-child { margin-bottom: 0; }
.whl-detail__desc h1, .whl-detail__desc h2, .whl-detail__desc h3 { margin: 14px 0 8px; color: var(--whl-ink); font-weight: 800; font-size: 15px; }
.whl-detail__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 20px; }
.whl-detail__qty { padding: 8px 12px; border: 1px solid var(--whl-line); border-radius: 22px; background: #fff; }

.whl-buy { flex: 1 1 180px; padding: 13px 22px; border: 0; border-radius: 24px; background: var(--whl-crimson); color: #fff; font-size: 13px; font-weight: 800; cursor: pointer; transition: background-color var(--motion-base) var(--motion-ease-out), transform var(--motion-base) var(--motion-ease-out); }
@media (hover: hover) and (pointer: fine) {
    .whl-buy:hover:not(:disabled) { transform: translateY(calc(var(--motion-lift) / 2)); background: var(--whl-crimson-dark); }
}
.whl-buy--now { background: var(--whl-ink); }
@media (hover: hover) and (pointer: fine) {
    .whl-buy--now:hover:not(:disabled) { background: #14161a; }
}
.whl-buy:disabled { cursor: not-allowed; opacity: .45; }

.whl-detail__stock { margin-top: 12px; color: var(--whl-crimson); font-size: 12px; font-weight: 800; }

.whl-section { margin-top: 18px; padding: 18px; border-radius: 12px; background: #fff; }
.whl-section h2 { margin: 0 0 12px; font-size: 15px; font-weight: 800; letter-spacing: -.02em; }

.whl-prose { max-width: 860px; color: #4b5563; font-size: 13.5px; line-height: 1.8; }
.whl-prose p { margin: 12px 0; line-height: 1.8; }
.whl-prose img { max-width: 100%; height: auto; border-radius: 6px; margin: 14px 0; }
.whl-prose ul { list-style-type: disc; margin: 12px 0; padding-left: 24px; }
.whl-prose ol { list-style-type: decimal; margin: 12px 0; padding-left: 24px; }
.whl-prose li { margin-bottom: 9px; line-height: 1.75; }
.whl-prose li:last-child { margin-bottom: 0; }
.whl-prose h1 { margin: 26px 0 12px; font-size: 22px; color: var(--whl-ink); font-weight: 800; line-height: 1.3; }
.whl-prose h2 { margin: 22px 0 10px; font-size: 18px; color: var(--whl-ink); font-weight: 800; line-height: 1.35; }
.whl-prose h3 { margin: 18px 0 8px; font-size: 15px; color: var(--whl-ink); font-weight: 800; line-height: 1.4; }
.whl-prose h4, .whl-prose h5, .whl-prose h6 { margin: 16px 0 6px; font-size: 14px; color: var(--whl-ink); font-weight: 700; }
.whl-prose > *:first-child, .whl-detail__desc > *:first-child { margin-top: 0 !important; }
.whl-prose > *:last-child, .whl-detail__desc > *:last-child { margin-bottom: 0 !important; }
.whl-prose table, .whl-detail__desc table { width: 100%; margin: 16px 0; border-collapse: collapse; font-size: 13px; border: 1px solid var(--whl-line); border-radius: 8px; overflow: hidden; background: #fff; }
.whl-prose th, .whl-prose td, .whl-detail__desc th, .whl-detail__desc td { padding: 10px 14px; border: 1px solid var(--whl-line); text-align: left; vertical-align: top; }
.whl-prose th, .whl-detail__desc th { background: #f6f8fa; color: var(--whl-ink); font-weight: 700; }
.whl-prose tr:nth-child(even) td, .whl-detail__desc tr:nth-child(even) td { background: #fafbfc; }
.whl-prose tr:hover td, .whl-detail__desc tr:hover td { background: #f1f4f8; }

.whl-specs { display: grid; max-width: 860px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin: 0; overflow: hidden; border: 1px solid var(--whl-line); border-radius: 10px; background: var(--whl-line); }
.whl-specs > div { display: flex; gap: 10px; padding: 10px 12px; background: #fff; }
.whl-specs dt { flex: 0 0 42%; color: var(--whl-muted); font-size: 11px; font-weight: 700; }
.whl-specs dd { margin: 0; color: var(--whl-ink); font-size: 11px; }

.whl-pagination { display: flex; justify-content: center; gap: 8px; margin-top: 22px; }

/* ---------------------------------------------------------------- footer */

.gadget-footer { margin-top: 8px; padding: 44px 0 24px; background: #fff; border-top: 3px solid var(--whl-crimson); color: var(--whl-muted); font-size: 12px; }
.gadget-footer__inner { width: min(1440px, calc(100% - 28px)); margin: 0 auto; }
.gadget-footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 34px; }
.gadget-footer__brand { flex: 1 1 300px; max-width: 420px; }
.gadget-footer__brand a { color: var(--whl-crimson); font-size: 20px; font-weight: 800; letter-spacing: -.04em; text-decoration: none; }
.gadget-footer__brand p { margin: 10px 0 0; color: var(--whl-muted); line-height: 1.7; }
.gadget-footer__social { display: flex; gap: 12px; margin-top: 16px; }
.gadget-footer__social a { color: var(--whl-crimson); }
.gadget-footer__columns { display: flex; flex-wrap: wrap; gap: 46px; }
.gadget-footer__columns h2 { margin: 0 0 13px; color: var(--whl-ink); font-size: 12px; font-weight: 800; }
.gadget-footer__columns a { display: block; margin-bottom: 9px; color: var(--whl-muted); text-decoration: none; }
@media (hover: hover) and (pointer: fine) {
    .gadget-footer__columns a:hover { color: var(--whl-crimson); }
}

.gadget-footer__newsletter { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin-top: 30px; padding: 20px; border-radius: 12px; background: var(--whl-cream); }
.gadget-footer__newsletter strong { display: block; color: var(--whl-ink); font-size: 15px; font-weight: 800; }
.gadget-footer__newsletter-form { display: flex; gap: 9px; }
.gadget-footer__newsletter input { height: 38px; min-width: 220px; padding: 0 14px; border: 1px solid var(--whl-line); border-radius: 20px; background: #fff; }
.gadget-footer__newsletter button { height: 38px; padding: 0 22px; border: 0; border-radius: 20px; background: var(--whl-crimson); color: #fff; font-weight: 800; cursor: pointer; }

.gadget-footer__legal { margin: 24px 0 0; padding-top: 16px; border-top: 1px solid var(--whl-line); color: #9aa1aa; font-size: 11px; text-align: center; }
.gadget-footer__visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ------------------------------------------------------------ responsive */

@media (max-width: 1240px) {
    .whl-chips { grid-template-columns: repeat(6, minmax(0, 1fr)); }
    .whl-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 980px) {
    .whl-shell,
    .whl-shell:not(:has(> .whl-rail)),
    .whl-shell:has(> .whl-aside) { grid-template-columns: 1fr; }
    .whl-rail { display: flex; overflow-x: auto; scrollbar-width: none; }
    .whl-rail h2 { display: none; }
    .whl-rail a { border-bottom: 0; white-space: nowrap; }
    .whl-rail a::after { display: none; }
    .whl-banner__slider, .whl-banner__main, .whl-banner__side { min-height: 350px; }
}

@media (max-width: 1080px) and (min-width: 761px) {
    .whl-banner { grid-template-columns: minmax(0, 1fr) clamp(190px, 25%, 260px); gap: 12px; }
}

@media (max-width: 760px) {
    .whl-shell, .gadget-header__inner { width: calc(100% - 20px) !important; }
    .whl-banner { grid-template-columns: 1fr; gap: 10px; }
    .whl-banner__slider, .whl-banner__main, .whl-banner__side { min-height: 200px; }
    .whl-banner__main, .whl-banner__side { padding: 22px; }
    .whl-banner--has-graphic .whl-banner__slider,
    .whl-banner--has-graphic .whl-banner__main--graphic,
    .whl-banner:has(.whl-banner__main--graphic) .whl-banner__slider,
    .whl-banner:has(.whl-banner__main--graphic) .whl-banner__main--graphic {
        min-height: 130px !important;
        aspect-ratio: var(--whl-banner-ratio, 1440 / 500);
        height: auto !important;
    }
    .whl-banner__promos {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: auto;
        gap: 10px;
        height: auto;
    }
    .whl-banner__promos:has(> :only-child) {
        grid-template-columns: 1fr;
    }
    .whl-banner__promo {
        aspect-ratio: 2 / 1;
        border-radius: 12px;
    }
    .whl-banner--has-graphic .whl-banner__side,
    .whl-banner:has(.whl-banner__main--graphic) .whl-banner__side {
        min-height: unset !important;
        height: auto !important;
        padding: 20px 22px;
    }
    .whl-slider__dots { bottom: 10px; right: 14px; }
    /* Too narrow to share: text slides hide the cutout art so text has room; full graphic banners keep their art */
    .whl-banner__main--art:not(.whl-banner__main--graphic) .whl-banner__art { display: none; }
    .whl-banner__main--art:not(.whl-banner__main--graphic) > :not(.whl-banner__art) { max-width: none; }
    .whl-chips { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .whl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .whl-detail { grid-template-columns: 1fr; gap: 16px; padding: 14px; max-width: 100%; overflow: hidden; }
    .whl-detail__media { max-width: 100%; overflow: hidden; }
    .whl-detail__body { min-width: 0; max-width: 100%; overflow: hidden; }
    .whl-detail__price { font-size: 22px; gap: 6px 10px; }
    .whl-detail__actions { flex-direction: column; align-items: stretch; }
    .whl-buy { flex: 1 1 auto; width: 100%; }
    .whl-specs { grid-template-columns: 1fr; }
    .gadget-footer__top { flex-direction: column; gap: 26px; }
}

/* ------------------------------------------------------ mobile navigation */

@media (max-width: 760px) {
    .gadget-header__mobile { display: block; }
    .gadget-header__mobile summary { display: flex; width: 30px; height: 30px; flex-direction: column; align-items: center; justify-content: center; gap: 4px; cursor: pointer; list-style: none; }
    .gadget-header__mobile summary::-webkit-details-marker { display: none; }
    .gadget-header__mobile summary span { display: block; width: 18px; height: 2px; background: var(--whl-ink); }
    .gadget-header__mobile > div { position: absolute; top: 100%; right: 0; left: 0; display: flex; max-height: 70vh; flex-direction: column; overflow-y: auto; padding: 10px 16px 14px; border-top: 1px solid var(--whl-line); background: #fff; }
    .gadget-header__mobile > div a { padding: 9px 0; color: var(--whl-ink); font-size: 13px; font-weight: 600; text-decoration: none; }
}

/* The choose-options control is an <a>, so it needs the link defaults reset
   to match the quick-add button it sits in place of. */
a.whl-cart { text-decoration: none; }

/* Constrain gallery imagery to its column. Without this the storefront
   gallery's images render at intrinsic size and overflow the detail grid. */
.whl-detail__media img { max-width: 100%; height: auto; }

/* The storefront gallery needs more width than half of a mid-size viewport,
   so the detail grid stacks at the same 1180px breakpoint Bagisto's own
   product layout uses. Below that it overflowed its column. */
@media (max-width: 1180px) {
    .whl-detail { grid-template-columns: 1fr; gap: 22px; }
}

/* Once stacked, the gallery would otherwise run the full page width and push
   the buy box far below the fold. */
@media (max-width: 1180px) {
    .whl-detail__media { max-width: 520px; width: 100%; margin-inline: auto; overflow: hidden; }
    /* The core gallery's mobile carousel is sized to the viewport (w-screen).
       Inside the detail card that is wider than the column, and the whole
       page scrolls sideways on a phone. */
    .whl-detail__media .w-screen { width: 100% !important; max-width: 100% !important; }
}

/* At six columns the price and its struck-through original do not both fit on
   one line, so the sale price truncated mid-number. Let the pair wrap and give
   the original its own row rather than clipping the price the shopper needs. */
.whl-card__prices { flex-wrap: wrap; row-gap: 1px; }
.whl-card__price { overflow: visible; font-size: 13.5px; text-overflow: clip; }
.whl-card__regular { font-size: 9.5px; }

/* -------------------------------------------- main-category header menu */

/*
   Every department along the bar, never a scrollbar. overflow-menu.js hides
   the ones that do not fit and lists them under "See more"; until it runs
   the bar clips. The bar takes all the room between the logo and the search
   pill, so a wide screen shows more departments before folding any.
*/
.gadget-header--wholesale .whl-mainbar {
    display: flex;
    flex: 1 1 auto;
    min-width: 0;
    align-items: center;
    column-gap: 4px;
}

.gadget-header--wholesale .whl-mainnav {
    display: flex;
    flex: 0 1 auto;
    min-width: 0;
    align-items: center;
    gap: 4px;
    overflow: hidden;
}

.gadget-header--wholesale .whl-mainnav a,
.gadget-header--wholesale .whl-more__toggle {
    position: relative;
    flex: 0 0 auto;
    padding: 9px 13px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--whl-ink, #17202b);
    font: inherit;
    font-size: 13.5px;
    font-weight: 650;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color var(--motion-fast) var(--motion-ease-out), color var(--motion-fast) var(--motion-ease-out);
}

.gadget-header--wholesale .whl-mainnav a[hidden],
.gadget-header--wholesale .whl-more[hidden],
.gadget-header--wholesale .whl-more__list a[hidden] { display: none; }

@media (hover: hover) and (pointer: fine) {
    .gadget-header--wholesale .whl-mainnav a:hover,
    .gadget-header--wholesale .whl-more__toggle:hover {
        background: color-mix(in srgb, var(--whl-crimson) 10%, transparent);
        color: var(--whl-crimson);
    }
}

/* The department the visitor is inside, marked so the bar reports position —
   on "See more" too when it has been folded away. */
.gadget-header--wholesale .whl-mainnav a[aria-current="page"],
.gadget-header--wholesale .whl-more.is-current .whl-more__toggle {
    background: var(--whl-crimson);
    color: #fff;
}

.gadget-header--wholesale .whl-more { position: relative; flex: 0 0 auto; }
.gadget-header--wholesale .whl-more__toggle::after { margin-left: 6px; content: '▾'; font-size: 11px; }

.gadget-header--wholesale .whl-more__list {
    position: absolute;
    z-index: 60;
    top: 100%;
    left: 0;
    display: none;
    min-width: 220px;
    max-height: min(70vh, 520px);
    overflow-y: auto;
    padding: 8px;
    border: 1px solid var(--whl-line);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 16px 34px rgba(34, 37, 43, .16);
}

/* Hover bridge: the pointer crosses the gap without the list closing. */
.gadget-header--wholesale .whl-more__list::before { position: absolute; right: 0; bottom: 100%; left: 0; height: 8px; content: ''; }
.gadget-header--wholesale .whl-more__list { margin-top: 6px; }

.gadget-header--wholesale .whl-more.is-open .whl-more__list,
.gadget-header--wholesale .whl-more.is-focused:not(.is-dismissed) .whl-more__list { display: grid; }

@media (hover: hover) and (pointer: fine) {
    .gadget-header--wholesale .whl-more:not(.is-dismissed):hover .whl-more__list { display: grid; }
}

.gadget-header--wholesale .whl-more__list a {
    padding: 9px 12px;
    border-radius: 8px;
    color: var(--whl-ink);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

@media (hover: hover) and (pointer: fine) {
    .gadget-header--wholesale .whl-more__list a:hover { background: var(--whl-cream); color: var(--whl-crimson); }
}

.gadget-header--wholesale .whl-more__list a[aria-current="page"] { background: var(--whl-crimson); color: #fff; }

/* A compact pill: the departments keep the width, search stays one click away. */
.gadget-header--wholesale .whl-search {
    position: relative;
    display: flex;
    flex: 0 0 220px;
    gap: 0;
}

.gadget-header--wholesale .whl-search input {
    width: 100%;
    height: 38px !important;
    padding: 0 42px 0 15px;
    border: 1px solid var(--whl-line) !important;
    border-radius: 20px !important;
    background: var(--whl-mist) !important;
    font-size: 13px !important;
    transition: border-color var(--motion-fast) var(--motion-ease-out), background-color var(--motion-fast) var(--motion-ease-out);
}

.gadget-header--wholesale .whl-search input:focus { border-color: var(--whl-crimson) !important; background: #fff !important; outline: none; }

.gadget-header--wholesale .whl-search button {
    position: absolute;
    top: 4px;
    right: 4px;
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--whl-crimson);
    color: #fff;
    cursor: pointer;
}

@media (hover: hover) and (pointer: fine) {
    .gadget-header--wholesale .whl-search button:hover { background: var(--whl-crimson-dark); }
}

/* The rail marks the visitor's place the same way the header menu does. */
.whl-rail a[aria-current="page"] {
    background: color-mix(in srgb, var(--whl-crimson) 12%, transparent);
    color: var(--whl-crimson);
    font-weight: 700;
}

@media (max-width: 860px) {
    .gadget-header--wholesale .whl-mainbar { display: none; }
    .gadget-header--wholesale .whl-search { flex: 1 1 auto; }
}

/* On a phone the top action icons (cart, wishlist, account, compare) are hidden because they live in the bottom bar, and search sits beside the logo in a single sleek row. */
@media (max-width: 760px) {
    .gadget-header--wholesale .gadget-header__inner {
        flex-wrap: nowrap;
        gap: 10px;
        min-height: 52px !important;
        padding: 6px 0 !important;
    }

    .gadget-header--wholesale .gadget-header__brand {
        flex-shrink: 0;
        font-size: 19px !important;
    }

    .gadget-header--wholesale .gadget-header__brand img {
        max-height: 32px;
    }

    .gadget-header--wholesale .whl-search {
        order: unset;
        flex: 1 1 auto;
        min-width: 0;
    }

    .gadget-header--wholesale .whl-tools {
        display: none !important;
    }
}

/* ------------------------------------------------------- full width */

/* Preset Layout → Page width: Full. The page uses the whole screen. */
.whl-layout-full .gadget-header__inner,
.whl-layout-full .whl-shell,
.whl-layout-full .gadget-footer__inner { width: calc(100% - 28px) !important; }

/* --------------------------------------------------------- the rail */

/* The heading leads back up to the whole department; it is not a rail item. */
.whl-rail h2 a { display: inline; padding: 0; border: 0; color: inherit; font: inherit; text-decoration: none; }
.whl-rail h2 a::after { display: none; }
@media (hover: hover) and (pointer: fine) {
    .whl-rail h2 a:hover { background: none; color: inherit; text-decoration: underline; text-underline-offset: 3px; }
}
.whl-rail a > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.whl-rail__count { margin-left: auto; color: var(--whl-muted); font-size: 10.5px; font-weight: 600; }
.whl-rail a:has(.whl-rail__count)::after { margin-left: 2px; }

/* Accordion: every department, the open one showing its sub-categories. */
.whl-rail__group { border-bottom: 1px solid var(--whl-line); }
.whl-rail__group:last-child { border-bottom: 0; }
.whl-rail__group summary { display: flex; align-items: center; list-style: none; cursor: pointer; }
.whl-rail__group summary::-webkit-details-marker { display: none; }
.whl-rail__group summary a { flex: 1 1 auto; border-bottom: 0; }
.whl-rail__group summary a::after { display: none; }
.whl-rail__chevron { display: grid; width: 38px; align-self: stretch; place-items: center; color: var(--whl-muted); }
.whl-rail__chevron::before { content: '›'; font-size: 15px; transition: transform var(--motion-fast) var(--motion-ease-out); }
.whl-rail__group[open] .whl-rail__chevron::before { transform: rotate(90deg); }
.whl-rail__group[open] summary a { color: var(--whl-crimson); font-weight: 700; }
.whl-rail a.whl-rail__child { padding-left: 28px; font-size: 12px; }
.whl-rail__group summary:has(a[aria-current]) { background: color-mix(in srgb, var(--whl-crimson) 12%, transparent); }
.whl-rail__group summary a[aria-current] { background: none; }

/*
   On a wide screen the rail sticks under the header and scrolls on its own,
   so thirty sub-categories never push the products down. The header height
   comes from overflow-menu.js; 0px when the header is not sticky.
*/
@media (min-width: 981px) {
    .whl-rail {
        position: sticky;
        top: calc(var(--whl-header-h, 0px) + 12px);
        max-height: calc(100vh - var(--whl-header-h, 0px) - 24px);
        overflow-y: auto;
        overscroll-behavior: contain;
        scrollbar-width: thin;
    }

    .whl-rail h2 { position: sticky; z-index: 1; top: 0; }
    .whl-aside > .whl-rail { position: static; top: auto; max-height: 360px; }
}

@media (max-width: 980px) {
    .whl-rail__count, .whl-rail__chevron, .whl-rail a.whl-rail__child { display: none; }
    .whl-rail__group { border-bottom: 0; }

    /* A department page already lists its sub-categories above the grid. */
    .whl-shell:has(.whl-subnav) .whl-rail { display: none; }
    .whl-aside { display: contents; }
}

/* ------------------------------------------------- category listing */

/* A department's sub-categories, as shortcuts above its listing. */
.whl-subnav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 4px; }

.whl-subnav a {
    padding: 7px 14px;
    border: 1px solid var(--whl-line);
    border-radius: 20px;
    background: #fff;
    color: var(--whl-ink);
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: border-color var(--motion-fast) var(--motion-ease-out), color var(--motion-fast) var(--motion-ease-out);
}

@media (hover: hover) and (pointer: fine) {
    .whl-subnav a:hover { border-color: var(--whl-crimson); color: var(--whl-crimson); }
}

.whl-listing-head { flex-wrap: wrap; }
.whl-sort { display: flex; flex-wrap: wrap; gap: 6px; }

.whl-sort a {
    padding: 6px 12px;
    border-radius: 16px;
    background: var(--whl-mist);
    color: var(--whl-ink) !important;
    font-size: 11.5px !important;
    font-weight: 600 !important;
}

.whl-sort a[aria-current="true"] { background: var(--whl-crimson); color: #fff !important; }

/* As many columns as the width allows: five or six on a laptop, eight on a
   1920px screen at full width. */
.whl-grid--listing { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }

@media (max-width: 760px) {
    .whl-subnav { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
    .whl-grid--listing { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ------------------------------------------------ phone bottom bar */

/*
   Preset Layout → Phone bottom bar: On. The shared bar (mobile-bar.css)
   takes the theme's colours, and replaces the header's hamburger and the
   rail's chip strip: Categories opens the whole tree in a sheet.
*/
:root {
    --mobile-bar-accent: var(--whl-crimson);
    --mobile-bar-ink: var(--whl-ink);
    --mobile-bar-muted: var(--whl-muted);
    --mobile-bar-line: var(--whl-line);
    --mobile-bar-mist: var(--whl-mist);
}

.mobile-bar, .category-sheet { font-family: Poppins, ui-sans-serif, system-ui, sans-serif; }

/* The back chevron belongs to the phone title bar only. */
.whl-head__back { display: none; }

@media (max-width: 760px) {
    body:has(> .mobile-bar) .gadget-header__mobile,
    body:has(> .mobile-bar) .whl-rail { display: none; }

    /* Category page: a title bar with a back chevron instead of the breadcrumb and banner. */
    body:has(> .mobile-bar) .whl-crumbs { display: none; }

    body:has(> .mobile-bar) .whl-main { display: flex; flex-direction: column; }
    body:has(> .mobile-bar) .whl-head {
        order: 1;
        position: sticky;
        z-index: 20;
        top: var(--whl-header-h, 0px);
        display: flex;
        align-items: center;
        gap: 6px;
        margin: 0 -10px 12px;
        padding: 8px 12px 8px 6px;
        border-bottom: 1px solid var(--whl-line);
        border-radius: 0;
        background: #fff;
        color: var(--whl-ink);
    }

    body:has(> .mobile-bar) .whl-cat-banner { order: 2; margin-bottom: 12px; border-radius: 10px; }
    body:has(> .mobile-bar) .whl-subnav { order: 3; }
    body:has(> .mobile-bar) .whl-block { order: 4; }

    body:has(> .mobile-bar) .whl-head h1 { overflow: hidden; font-size: 16px; letter-spacing: -.01em; text-overflow: ellipsis; white-space: nowrap; }
    body:has(> .mobile-bar) .whl-head p { display: none; }

    body:has(> .mobile-bar) .whl-head__back {
        display: grid;
        width: 36px;
        height: 36px;
        flex: 0 0 36px;
        place-items: center;
        border-radius: 50%;
        color: var(--whl-ink);
    }

    body:has(> .mobile-bar) .whl-head__back:active { background: var(--whl-mist); }
}

/* ---------- Offer Popup Modal ---------- */
.whl-offer-popup {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.whl-offer-popup[hidden] {
    display: none;
}

.whl-offer-popup__backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.64);
    backdrop-filter: blur(2px);
}

.whl-offer-popup__dialog {
    position: relative;
    z-index: 1;
    max-width: min(520px, calc(100vw - 32px));
    max-height: 90vh;
    border-radius: 14px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.whl-offer-popup__close {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    width: 32px;
    height: 32px;
    border-radius: 9999px;
    border: 1px solid rgba(15, 23, 42, 0.14);
    background: rgba(255, 255, 255, 0.94);
    color: #0f172a;
    display: grid;
    place-items: center;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.15s ease, background-color 0.15s ease;
}

.whl-offer-popup__close svg {
    width: 16px;
    height: 16px;
}

.whl-offer-popup__close:hover {
    background: #ffffff;
    transform: scale(1.06);
}

.whl-offer-popup__close:focus-visible {
    outline: 2px solid var(--whl-accent, #2563eb);
    outline-offset: 2px;
}

.whl-offer-popup__link {
    display: block;
    line-height: 0;
}

.whl-offer-popup__img {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: min(640px, 85vh);
    height: auto;
    object-fit: contain;
}

.whl-offer-popup.is-open .whl-offer-popup__dialog {
    animation: whlOfferPopupEnter 0.2s ease-out;
}

@keyframes whlOfferPopupEnter {
    from {
        opacity: 0;
        transform: scale(0.96);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@media (prefers-reduced-motion: reduce) {
    .whl-offer-popup.is-open .whl-offer-popup__dialog {
        animation: none;
    }
}

/* ---------- Category Filterable Attributes (Desktop sidebar & mobile drawer) ---------- */
.whl-listing-head__left {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.whl-filter-trigger {
    display: none;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border: 1px solid var(--whl-line);
    border-radius: 16px;
    background: #fff;
    color: var(--whl-ink);
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: border-color var(--motion-fast) var(--motion-ease-out), color var(--motion-fast) var(--motion-ease-out);
}

.whl-filter-trigger:hover {
    border-color: var(--whl-crimson);
    color: var(--whl-crimson);
}

.whl-filter-trigger__badge,
.whl-filters__badge {
    display: inline-grid;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    place-items: center;
    border-radius: 9999px;
    background: var(--whl-crimson);
    color: #fff;
    font-size: 10.5px;
    font-weight: 700;
    line-height: 1;
}

.whl-filter-drawer__backdrop {
    display: none;
}

.whl-filters {
    overflow: hidden;
    border-radius: 12px;
    background: #fff;
}

.whl-filters__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--whl-line);
}

.whl-filters__title-wrap {
    display: flex;
    align-items: center;
    gap: 7px;
}

.whl-filters__head h2 {
    margin: 0;
    color: var(--whl-ink);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .01em;
}

.whl-filters__head-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.whl-filters__clear {
    color: var(--whl-crimson);
    font-size: 11.5px;
    font-weight: 700;
    text-decoration: none;
}

.whl-filters__clear:hover {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.whl-filters__close {
    display: none;
    width: 30px;
    height: 30px;
    place-items: center;
    padding: 0;
    border: 1px solid var(--whl-line);
    border-radius: 50%;
    background: #fff;
    color: var(--whl-ink);
    cursor: pointer;
}

.whl-filter-group {
    border-bottom: 1px solid var(--whl-line);
}

.whl-filter-group:last-child {
    border-bottom: 0;
}

.whl-filter-group__summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 11px 16px;
    color: var(--whl-ink);
    font-size: 12.5px;
    font-weight: 700;
    list-style: none;
    cursor: pointer;
    user-select: none;
}

.whl-filter-group__summary::-webkit-details-marker {
    display: none;
}

.whl-filter-group__summary small {
    color: var(--whl-muted);
    font-weight: 600;
}

.whl-filter-group__chevron {
    color: var(--whl-muted);
    font-size: 14px;
    line-height: 1;
}

.whl-filter-group__chevron::before {
    content: '›';
    display: inline-block;
    transition: transform var(--motion-fast) var(--motion-ease-out);
}

.whl-filter-group[open] .whl-filter-group__chevron::before {
    transform: rotate(90deg);
}

.whl-filter-group__panel {
    padding: 0 16px 13px;
}

.whl-filter-price-box {
    padding: 10px 10px 9px;
    border: 1px solid var(--whl-line);
    border-radius: 10px;
    background: var(--whl-mist);
}

.whl-range {
    position: relative;
    height: 24px;
    margin: 0 0 10px;
    touch-action: none;
    user-select: none;
    cursor: pointer;
}

.whl-range__track {
    position: absolute;
    inset-inline: 0;
    top: 50%;
    height: 5px;
    transform: translateY(-50%);
    border-radius: 999px;
    background: #e2e8f0;
    pointer-events: none;
    overflow: hidden;
}

.whl-range__fill {
    position: absolute;
    top: 0;
    bottom: 0;
    inset-inline-start: var(--whl-range-start, 0%);
    width: max(0%, calc(var(--whl-range-end, 100%) - var(--whl-range-start, 0%)));
    border-radius: 999px;
    background: var(--whl-crimson);
}

.whl-range__input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    background: transparent;
    -webkit-appearance: none;
    appearance: none;
    pointer-events: none;
    z-index: 2;
    outline: none;
}

.whl-range__input.is-top {
    z-index: 4;
}

.whl-range__input::-webkit-slider-runnable-track {
    height: 5px;
    background: transparent;
    border: 0;
}

.whl-range__input::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    pointer-events: auto;
    width: 18px;
    height: 18px;
    margin-top: -6.5px;
    border-radius: 999px;
    background: #fff;
    border: 2.5px solid var(--whl-crimson);
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.18);
    cursor: grab;
    transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.whl-range__input::-moz-range-track {
    height: 5px;
    background: transparent;
    border: 0;
}

.whl-range__input::-moz-range-thumb {
    pointer-events: auto;
    box-sizing: border-box;
    width: 18px;
    height: 18px;
    border-radius: 999px;
    background: #fff;
    border: 2.5px solid var(--whl-crimson);
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.18);
    cursor: grab;
    transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.whl-range__input::-webkit-slider-thumb:hover,
.whl-range__input:focus-visible::-webkit-slider-thumb {
    transform: scale(1.1);
    box-shadow: 0 0 0 4px rgba(209, 25, 62, 0.16);
}

.whl-range__input::-webkit-slider-thumb:active {
    cursor: grabbing;
    transform: scale(1.14);
    box-shadow: 0 0 0 5px rgba(209, 25, 62, 0.22);
}

.whl-range__input::-moz-range-thumb:hover,
.whl-range__input:focus-visible::-moz-range-thumb {
    transform: scale(1.1);
    box-shadow: 0 0 0 4px rgba(209, 25, 62, 0.16);
}

.whl-range__input::-moz-range-thumb:active {
    cursor: grabbing;
    transform: scale(1.14);
    box-shadow: 0 0 0 5px rgba(209, 25, 62, 0.22);
}

@media (pointer: coarse) {
    .whl-range {
        height: 28px;
    }

    .whl-range__input::-webkit-slider-thumb {
        width: 22px;
        height: 22px;
        margin-top: -8.5px;
    }

    .whl-range__input::-moz-range-thumb {
        width: 22px;
        height: 22px;
    }
}

.whl-filter-price {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: end;
    gap: 8px;
}

.whl-filter-price__field {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.whl-filter-price__label {
    color: var(--whl-muted);
    font-size: 10.5px;
    font-weight: 600;
}

.whl-filter-price__field input {
    width: 100%;
    min-width: 0;
    height: 34px;
    padding: 0 10px;
    border: 1px solid var(--whl-line);
    border-radius: 8px;
    background: #fff;
    color: var(--whl-ink);
    font-family: inherit;
    font-size: 12.5px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    box-sizing: border-box;
    -moz-appearance: textfield;
}

.whl-filter-price__field input::-webkit-outer-spin-button,
.whl-filter-price__field input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.whl-filter-price__field input::placeholder {
    color: #64748b;
    font-weight: 500;
}

.whl-filter-price__field input:focus {
    border-color: var(--whl-crimson);
    box-shadow: 0 0 0 3px rgba(209, 25, 62, 0.1);
    outline: none;
}

.whl-filter-price__hint {
    margin: 7px 0 0;
    color: var(--whl-muted);
    font-size: 11px;
}

.whl-filter-search {
    width: 100%;
    height: 30px;
    margin-bottom: 8px;
    padding: 0 10px;
    border: 1px solid var(--whl-line);
    border-radius: 8px;
    background: var(--whl-mist);
    color: var(--whl-ink);
    font-family: inherit;
    font-size: 11.5px;
    box-sizing: border-box;
}

.whl-filter-search:focus {
    border-color: var(--whl-crimson);
    background: #fff;
    outline: none;
}

.whl-filter-options {
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-height: 196px;
    margin: 0;
    padding: 0;
    overflow-y: auto;
    list-style: none;
    scrollbar-width: thin;
}

.whl-filter-option[hidden] {
    display: none;
}

.whl-filter-option label {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 2px 0;
    color: var(--whl-ink);
    font-size: 12px;
    line-height: 1.35;
    cursor: pointer;
}

.whl-filter-option label:hover {
    color: var(--whl-crimson);
}

.whl-filter-option input[type="checkbox"] {
    width: 15px;
    height: 15px;
    flex: 0 0 15px;
    margin: 0;
    accent-color: var(--whl-crimson);
    cursor: pointer;
}

.whl-filter-swatch {
    width: 13px;
    height: 13px;
    flex: 0 0 13px;
    border: 1px solid rgba(15, 23, 42, 0.22);
    border-radius: 50%;
}

.whl-filter-option__label {
    min-width: 0;
    overflow-wrap: anywhere;
}

.whl-filter-options__empty {
    margin: 4px 0 0;
    color: var(--whl-muted);
    font-size: 11.5px;
}

.whl-filters__footer {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border-top: 1px solid var(--whl-line);
    background: #fff;
}

.whl-filters__reset {
    display: none;
    padding: 9px 14px;
    border: 1px solid var(--whl-line);
    border-radius: 20px;
    color: var(--whl-ink);
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.whl-filters__submit {
    width: 100%;
    padding: 9px 16px;
    border: 0;
    border-radius: 20px;
    background: var(--whl-crimson);
    color: #fff;
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color var(--motion-fast) var(--motion-ease-out);
}

.whl-filters__submit:hover {
    background: var(--whl-crimson-dark);
}

.whl-active-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0 0 14px;
}

.whl-active-filter {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    border: 1px solid color-mix(in srgb, var(--whl-crimson) 26%, transparent);
    border-radius: 16px;
    background: var(--whl-cream);
    color: var(--whl-crimson);
    font-size: 11.5px;
    font-weight: 600;
    text-decoration: none;
}

.whl-active-filter:hover {
    border-color: var(--whl-crimson);
}

.whl-active-filter__x {
    font-size: 14px;
    line-height: 1;
}

.whl-active-filters__clear {
    color: var(--whl-muted);
    font-size: 11.5px;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.whl-active-filters__clear:hover {
    color: var(--whl-crimson);
}

.whl-empty--filtered {
    padding: 36px 16px;
    text-align: center;
}

.whl-empty--filtered p {
    margin: 0 0 12px;
    color: var(--whl-ink);
    font-size: 13px;
    font-weight: 600;
}

.whl-empty__reset {
    display: inline-flex;
    padding: 8px 18px;
    border-radius: 20px;
    background: var(--whl-crimson);
    color: #fff !important;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.whl-filter-lock {
    overflow: hidden;
}

@media (max-width: 980px) {
    .whl-filter-trigger {
        display: inline-flex;
    }

    .whl-filter-drawer {
        display: none;
        position: fixed;
        inset: 0;
        z-index: 1050;
    }

    .whl-filter-drawer.is-open {
        display: block;
    }

    .whl-filter-drawer.is-open .whl-filter-drawer__backdrop {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(15, 23, 42, 0.56);
    }

    .whl-filter-drawer.is-open .whl-filters {
        position: relative;
        z-index: 1;
        display: flex;
        flex-direction: column;
        width: min(340px, 88vw);
        height: 100%;
        max-height: 100dvh;
        border-radius: 0 14px 14px 0;
        box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
    }

    .whl-filters__close {
        display: inline-grid;
    }

    .whl-filters__clear {
        display: none;
    }

    .whl-filters__body {
        flex: 1 1 auto;
        overflow-y: auto;
        overscroll-behavior: contain;
    }

    .whl-filters__reset {
        display: inline-flex;
    }

    html[dir="rtl"] .whl-filter-drawer.is-open .whl-filters {
        margin-left: auto;
        border-radius: 14px 0 0 14px;
    }
}
