/*
WRYEDGE DIRECT
Main Shop
v0.1.8-alpha5

Desktop + first-class mobile catalog layout.
*/


.wd-shop {
    min-height: 70vh;
    background: #ffffff;
    color: #15171a;
}


.wd-shop__container {
    padding: 28px 0 72px;
}


.wd-shop-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    font-size: 13px;
    color: #70757d;
}


.wd-shop-breadcrumbs a {
    color: inherit;
    text-decoration: none;
}


.wd-shop-breadcrumbs a:hover {
    color: #15171a;
}


.wd-shop-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 30px;
}


.wd-shop-eyebrow {
    margin: 0 0 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #7b8088;
}


.wd-shop-heading h1 {
    margin: 0;
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.05;
    letter-spacing: -.035em;
}


.wd-shop-intro {
    max-width: 700px;
    margin: 12px 0 0;
    color: #676c74;
    line-height: 1.6;
}


.wd-shop-status {
    min-height: 0;
    font-size: 13px;
    color: #777d85;
}


.wd-shop-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 16px 0;
    margin-top: 12px;
    border-top: 1px solid #e9eaec;
    border-bottom: 1px solid #e9eaec;
}


.wd-shop-toolbar__left {
    display: flex;
    align-items: center;
    gap: 14px;
}


.wd-shop-result-count {
    margin: 0;
    font-size: 14px;
    color: #686d75;
}


.wd-shop-filter-trigger {
    display: none;
}


.wd-shop-filter-count {
    display: inline-grid;
    place-items: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 999px;
    background: #17191c;
    color: #fff;
    font-size: 11px;
}


.wd-shop-sort {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 600;
    color: #646970;
}


.wd-shop-sort select {
    min-width: 205px;
    height: 42px;
    padding: 0 38px 0 13px;
    border: 1px solid #d9dce0;
    border-radius: 8px;
    background: #fff;
    color: #17191c;
    font: inherit;
}


.wd-shop-active-filters {
    padding-top: 16px;
}


.wd-shop-filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}


.wd-shop-filter-chip,
.wd-shop-clear-all {
    min-height: 34px;
    border-radius: 999px;
    font: inherit;
    font-size: 12px;
    cursor: pointer;
}


.wd-shop-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 6px 11px;
    border: 1px solid #d8dade;
    background: #f8f8f9;
    color: #292c31;
}


.wd-shop-filter-chip:hover {
    border-color: #aeb2b8;
}


.wd-shop-clear-all {
    padding: 6px 11px;
    border: 0;
    background: transparent;
    color: #696e75;
    text-decoration: underline;
}


.wd-shop-layout {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 42px;
    padding-top: 28px;
}


.wd-shop-filters {
    position: relative;
    min-width: 0;
}


.wd-shop-filters__mobile-head {
    display: none;
}


.wd-filter-section {
    padding: 0 0 24px;
    margin: 0 0 24px;
    border-bottom: 1px solid #e8e9eb;
}


.wd-filter-section h2 {
    margin: 0 0 14px;
    font-size: 14px;
    line-height: 1.3;
}


.wd-filter-options {
    display: grid;
    gap: 7px;
}


.wd-filter-category {
    padding-left: calc(
        var(--category-depth, 0) * 13px
    );
}


.wd-filter-check {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    min-height: 30px;
    cursor: pointer;
    font-size: 13px;
    color: #33373c;
}


.wd-filter-check input {
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: #17191c;
}


.wd-filter-check__label {
    min-width: 0;
    line-height: 1.35;
}


.wd-filter-check__count {
    color: #999da3;
    font-size: 11px;
}


.wd-filter-clear-inline {
    width: fit-content;
    margin-top: 4px;
    padding: 2px 0;
    border: 0;
    background: transparent;
    color: #7a7f87;
    font: inherit;
    font-size: 11px;
    cursor: pointer;
}


.wd-price-filter {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}


.wd-price-filter label {
    display: grid;
    gap: 5px;
    font-size: 11px;
    color: #797e85;
}


.wd-price-filter input {
    width: 100%;
    min-width: 0;
    height: 38px;
    padding: 0 9px;
    border: 1px solid #d8dade;
    border-radius: 7px;
    font: inherit;
}


.wd-price-filter button {
    grid-column: 1 / -1;
    height: 38px;
    margin-top: 2px;
    border: 1px solid #1b1d20;
    border-radius: 7px;
    background: #1b1d20;
    color: #fff;
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}


.wd-filter-clear-all {
    width: 100%;
    min-height: 40px;
    border: 1px solid #d9dbde;
    border-radius: 8px;
    background: #fff;
    color: #555a61;
    font: inherit;
    font-size: 12px;
    cursor: pointer;
}


.wd-shop-results {
    min-width: 0;
}


.wd-shop-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}


.wd-product-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    border: 1px solid #e4e5e7;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    transition:
        border-color .18s ease,
        box-shadow .18s ease,
        transform .18s ease;
}


.wd-product-card:not(.wd-product-card--loading):hover {
    border-color: #d1d3d6;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .055);
    transform: translateY(-2px);
}


.wd-product-card__media {
    display: grid;
    place-items: center;
    aspect-ratio: 1 / 1;
    padding: 20px;
    background: #f8f8f8;
    text-decoration: none;
}


.wd-product-card__media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}


.wd-product-card__image-fallback {
    display: grid;
    place-items: center;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #eceef0;
    color: #b4b7bc;
    font-size: 28px;
    font-weight: 800;
}


.wd-product-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 17px;
}


.wd-product-card__brand {
    margin-bottom: 7px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .055em;
    color: #8b9097;
}


.wd-product-card__title {
    margin: 0;
    font-size: 15px;
    line-height: 1.42;
}


.wd-product-card__title a {
    color: #17191c;
    text-decoration: none;
}


.wd-product-card__sku {
    margin-top: 8px;
    font-size: 10px;
    color: #9a9ea4;
}


.wd-product-card__commerce {
    display: grid;
    gap: 8px;
    margin-top: auto;
    padding-top: 20px;
}


.wd-product-card__price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px;
}


.wd-product-card__price strong {
    font-size: 16px;
    line-height: 1.3;
}


.wd-product-card__price del {
    font-size: 12px;
    color: #95999f;
}


.wd-product-card__stock {
    width: fit-content;
    font-size: 11px;
    font-weight: 600;
}


.wd-product-card__stock.is-in-stock {
    color: #237a49;
}


.wd-product-card__stock.is-out-of-stock {
    color: #a24b4b;
}


.wd-product-card__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    margin-top: 15px;
    padding: 8px 12px;
    border: 1px solid #1b1d20;
    border-radius: 7px;
    color: #17191c;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
}


.wd-product-card__cta:hover {
    background: #17191c;
    color: #fff;
}


.skeleton {
    position: relative;
    overflow: hidden;
    background: #eceeef;
}


.skeleton::after {
    content: "";
    position: absolute;
    inset: 0;
    transform: translateX(-100%);
    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255,255,255,.65),
            transparent
        );
    animation: wd-shop-skeleton 1.25s infinite;
}


.wd-product-card__image.skeleton {
    aspect-ratio: 1 / 1;
}


.skeleton-line {
    height: 13px;
    margin-bottom: 10px;
    border-radius: 5px;
}


.skeleton-line--short {
    width: 35%;
}


.skeleton-line--price {
    width: 50%;
    height: 18px;
    margin-top: 18px;
}


@keyframes wd-shop-skeleton {

    100% {
        transform: translateX(100%);
    }

}


.wd-shop-empty,
.wd-shop-error {
    padding: 70px 24px;
    border: 1px solid #e3e5e7;
    border-radius: 12px;
    text-align: center;
}


.wd-shop-empty h2,
.wd-shop-error h2 {
    margin: 0 0 9px;
    font-size: 22px;
}


.wd-shop-empty p,
.wd-shop-error p {
    margin: 0 0 20px;
    color: #777c83;
}


.wd-shop-empty button,
.wd-shop-error button {
    min-height: 40px;
    padding: 8px 16px;
    border: 1px solid #1b1d20;
    border-radius: 7px;
    background: #1b1d20;
    color: #fff;
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}


.wd-shop-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 42px;
}


.wd-pagination-pages {
    display: flex;
    align-items: center;
    gap: 5px;
}


.wd-shop-pagination button {
    min-width: 38px;
    min-height: 38px;
    padding: 7px 10px;
    border: 1px solid #d8dade;
    border-radius: 7px;
    background: #fff;
    color: #272a2f;
    font: inherit;
    font-size: 12px;
    cursor: pointer;
}


.wd-shop-pagination button[aria-current="page"] {
    border-color: #17191c;
    background: #17191c;
    color: #fff;
}


.wd-shop-pagination button:disabled {
    opacity: .4;
    cursor: default;
}


.wd-pagination-ellipsis {
    padding: 0 5px;
    color: #999da3;
}


.wd-shop-filter-backdrop {
    display: none;
}


/* Medium desktop */

@media (max-width: 1180px) {

    .wd-shop-layout {
        grid-template-columns: 220px minmax(0, 1fr);
        gap: 28px;
    }

}


/*
Product Grid density.

Keep three catalog cards on normal laptop / desktop widths.
Only reduce to two cards when the usable results area becomes
meaningfully narrower.
*/

@media
    (min-width: 821px)
    and
    (max-width: 1080px) {

    .wd-shop-grid {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );
    }

}


/* Mobile StoreFront */

@media (max-width: 820px) {

    .wd-shop__container {
        width: min(
            100% - 28px,
            760px
        );
        padding-top: 20px;
        padding-bottom: 52px;
    }


    .wd-shop-breadcrumbs {
        margin-bottom: 18px;
    }


    .wd-shop-heading {
        margin-bottom: 22px;
    }


    .wd-shop-heading h1 {
        font-size: 34px;
    }


    .wd-shop-intro {
        font-size: 14px;
    }


    .wd-shop-toolbar {
        align-items: stretch;
        gap: 10px;
    }


    .wd-shop-toolbar__left {
        flex: 1;
    }


    .wd-shop-filter-trigger {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        min-height: 42px;
        padding: 8px 13px;
        border: 1px solid #d6d9dd;
        border-radius: 8px;
        background: #fff;
        color: #1c1f23;
        font: inherit;
        font-size: 13px;
        font-weight: 700;
        cursor: pointer;
    }


    .wd-shop-result-count {
        align-self: center;
        font-size: 12px;
    }


    .wd-shop-sort > span {
        display: none;
    }


    .wd-shop-sort select {
        min-width: 0;
        width: 160px;
        height: 42px;
        font-size: 12px;
    }


    .wd-shop-layout {
        display: block;
        padding-top: 20px;
    }


    .wd-shop-filters {
        position: fixed;
        z-index: 1200;
        top: 0;
        left: 0;
        bottom: 0;

        width: min(88vw, 390px);

        padding: 0;
        background: #fff;

        transform:
            translateX(-105%);

        transition:
            transform .22s ease;

        box-shadow:
            12px 0 38px
            rgba(0, 0, 0, .13);
    }


    .wd-shop-filters.is-open {
        transform:
            translateX(0);
    }


    .wd-shop-filters__mobile-head {
        display: flex;
        align-items: center;
        justify-content: space-between;

        height: 64px;
        padding: 0 18px;

        border-bottom:
            1px solid #e4e6e8;
    }


    .wd-shop-filters__mobile-head strong {
        font-size: 16px;
    }


    .wd-shop-filters__mobile-head button {
        display: grid;
        place-items: center;

        width: 38px;
        height: 38px;

        padding: 0;

        border: 0;
        background: transparent;

        color: #202327;
        font-size: 28px;
        line-height: 1;

        cursor: pointer;
    }


    .wd-shop-filters__body {
        height:
            calc(100% - 64px);

        overflow-y: auto;
        overscroll-behavior: contain;

        padding: 20px 18px 30px;
    }


    .wd-shop-filter-backdrop {
        position: fixed;
        z-index: 1190;
        inset: 0;

        display: block;

        background:
            rgba(20, 22, 25, .42);
    }


    .wd-shop-filter-backdrop[hidden] {
        display: none;
    }


    body.wd-shop-filter-open {
        overflow: hidden;
    }


    .wd-shop-grid {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );

        gap: 12px;
    }


    .wd-product-card__media {
        padding: 12px;
    }


    .wd-product-card__body {
        padding: 13px;
    }


    .wd-product-card__title {
        font-size: 13px;
    }


    .wd-product-card__price strong {
        font-size: 14px;
    }


    .wd-product-card__cta {
        min-height: 38px;
        margin-top: 12px;
    }


    .wd-shop-pagination {
        justify-content: space-between;
        gap: 8px;
        margin-top: 30px;
    }

}


@media (max-width: 480px) {

    .wd-shop__container {
        width:
            calc(100% - 22px);
    }


    .wd-shop-heading h1 {
        font-size: 30px;
    }


    .wd-shop-toolbar {
        flex-wrap: wrap;
    }


    .wd-shop-toolbar__left {
        width: 100%;
        justify-content: space-between;
    }


    .wd-shop-sort {
        width: 100%;
    }


    .wd-shop-sort select {
        width: 100%;
    }


    .wd-shop-grid {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );

        gap: 8px;
    }


    .wd-product-card {
        border-radius: 9px;
    }


    .wd-product-card__media {
        padding: 9px;
    }


    .wd-product-card__body {
        padding: 10px;
    }


    .wd-product-card__brand {
        font-size: 9px;
    }


    .wd-product-card__title {
        font-size: 12px;
        line-height: 1.38;
    }


    .wd-product-card__sku {
        display: none;
    }


    .wd-product-card__price strong {
        font-size: 13px;
    }


    .wd-product-card__stock {
        font-size: 9px;
    }


    .wd-product-card__cta {
        min-height: 35px;
        padding: 6px 8px;
        font-size: 10px;
    }


    .wd-pagination-pages {
        display: none;
    }

}


/* ==========================================================
   MAIN SHOP v0.1.1-alpha1
   Catalog UX refinement
   ========================================================== */


/* Wider catalog density */

@media (min-width: 1361px) {

    .wd-shop-grid {
        grid-template-columns:
            repeat(
                4,
                minmax(0, 1fr)
            );

        gap: 16px;
    }

}


@media
    (min-width: 1181px)
    and
    (max-width: 1360px) {

    .wd-shop-grid {
        grid-template-columns:
            repeat(
                3,
                minmax(0, 1fr)
            );
    }

}


/* Toolbar right group */

.wd-shop-toolbar__right {
    display: flex;
    align-items: center;
    gap: 12px;
}


/* Grid / List toggle */

.wd-shop-view-toggle {
    display: inline-flex;
    align-items: center;

    padding: 3px;

    border: 1px solid #d9dce0;
    border-radius: 8px;

    background: #f7f8f9;
}


.wd-shop-view-toggle button {
    display: grid;
    place-items: center;

    width: 36px;
    height: 34px;

    padding: 0;

    border: 0;
    border-radius: 6px;

    background: transparent;
    color: #7a7f86;

    cursor: pointer;

    transition:
        background .15s ease,
        color .15s ease,
        box-shadow .15s ease;
}


.wd-shop-view-toggle button:hover {
    color: #16191d;
}


.wd-shop-view-toggle button[aria-pressed="true"] {
    background: #ffffff;
    color: #111419;

    box-shadow:
        0 1px 4px
        rgba(0, 0, 0, .09);
}


.wd-shop-view-toggle svg {
    width: 17px;
    height: 17px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
}


/* Sticky desktop filters */

@media (min-width: 821px) {

    .wd-shop-filters {
        position: sticky;
        top: 18px;

        align-self: start;

        max-height:
            calc(100vh - 36px);

        overflow-y: auto;
        overscroll-behavior: contain;

        padding-right: 7px;

        scrollbar-width: thin;
    }

}


/* ==========================================================
   LIST VIEW
   ========================================================== */

.wd-shop[data-view-mode="list"]
.wd-shop-grid {
    grid-template-columns: 1fr;
    gap: 12px;
}


.wd-shop[data-view-mode="list"]
.wd-product-card {
    display: grid;

    grid-template-columns:
        230px
        minmax(0, 1fr);

    min-height: 230px;
}


.wd-shop[data-view-mode="list"]
.wd-product-card__media {
    aspect-ratio: 1 / 1;

    height: 100%;
    min-height: 230px;

    padding: 16px;

    border-right:
        1px solid #eceef0;
}


.wd-shop[data-view-mode="list"]
.wd-product-card__body {
    padding: 20px 22px;
}


.wd-shop[data-view-mode="list"]
.wd-product-card__title {
    max-width: 800px;
    font-size: 17px;
}


.wd-shop[data-view-mode="list"]
.wd-product-card__commerce {
    padding-top: 16px;
}


.wd-shop[data-view-mode="list"]
.wd-product-card__price strong {
    font-size: 18px;
}


.wd-shop[data-view-mode="list"]
.wd-product-card__cta {
    width: 180px;
    margin-top: 16px;
}


/* Mobile */

@media (max-width: 820px) {

    .wd-shop-toolbar__right {
        gap: 8px;
    }


    .wd-shop-view-toggle button {
        width: 34px;
        height: 34px;
    }


    .wd-shop[data-view-mode="list"]
    .wd-product-card {
        grid-template-columns:
            130px
            minmax(0, 1fr);

        min-height: 160px;
    }


    .wd-shop[data-view-mode="list"]
    .wd-product-card__media {
        min-height: 160px;
        padding: 8px;
    }


    .wd-shop[data-view-mode="list"]
    .wd-product-card__body {
        padding: 12px 13px;
    }


    .wd-shop[data-view-mode="list"]
    .wd-product-card__title {
        font-size: 13px;
    }


    .wd-shop[data-view-mode="list"]
    .wd-product-card__cta {
        width: 100%;
        margin-top: 10px;
    }

}


@media (max-width: 480px) {

    .wd-shop-toolbar__right {
        width: 100%;
    }


    .wd-shop-view-toggle {
        flex: 0 0 auto;
    }


    .wd-shop-toolbar__right
    .wd-shop-sort {
        flex: 1;
    }


    .wd-shop[data-view-mode="list"]
    .wd-product-card {
        grid-template-columns:
            108px
            minmax(0, 1fr);
    }

}


/* ==========================================================
   MAIN SHOP v0.1.2-alpha1
   CATEGORY SEARCH
   ========================================================== */


.wd-category-search {
    display: flex;
    align-items: center;
    gap: 8px;

    height: 38px;

    margin: 0 0 12px;
    padding: 0 10px;

    border: 1px solid #dfe1e4;
    border-radius: 7px;

    background: #ffffff;
}


.wd-category-search:focus-within {
    border-color: #a8adb3;
}


.wd-category-search__icon {
    display: grid;
    place-items: center;

    flex: 0 0 auto;

    width: 16px;
    height: 16px;

    color: #858a91;
}


.wd-category-search__icon svg {
    width: 15px;
    height: 15px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
}


.wd-category-search input {
    width: 100%;
    min-width: 0;

    padding: 0;

    border: 0;
    outline: 0;

    background: transparent;

    color: #25282d;

    font: inherit;
    font-size: 12px;
}


.wd-category-search input::placeholder {
    color: #9da2a8;
}


.wd-category-search-empty {
    margin: 8px 0 0;

    color: #858a91;

    font-size: 12px;
    line-height: 1.45;
}


/* ==========================================================
   MAIN SHOP v0.1.2-alpha2
   CATEGORY ACCORDION CHEVRONS
   ========================================================== */


.wd-filter-category__row {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        28px;

    align-items: center;

    min-height: 30px;
}


.wd-filter-category__row
.wd-filter-check {
    min-width: 0;
}


.wd-filter-category__toggle {
    display: grid;
    place-items: center;

    width: 28px;
    height: 28px;

    padding: 0;

    border: 0;
    border-radius: 5px;

    background: transparent;
    color: #858a91;

    cursor: pointer;

    transition:
        background .15s ease,
        color .15s ease;
}


.wd-filter-category__toggle:hover {
    background: #f0f1f2;
    color: #191c20;
}


.wd-filter-category__toggle svg {
    width: 15px;
    height: 15px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;

    transition:
        transform .16s ease;
}


.wd-filter-category__toggle[
    aria-expanded="false"
] svg {
    transform:
        rotate(-90deg);
}


.wd-filter-category__toggle-spacer {
    display: block;

    width: 28px;
    height: 28px;
}


.wd-filter-category__children[hidden] {
    display: none;
}


/* ==========================================================
   MAIN SHOP v0.1.2-alpha4
   CATEGORY SECTION UX
   ========================================================== */


.wd-filter-section__toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;

    width: 100%;

    margin: 0 0 12px;
    padding: 0;

    border: 0;

    background: transparent;
    color: #17191c;

    font: inherit;
    font-size: 14px;
    font-weight: 700;
    text-align: left;

    cursor: pointer;
}


.wd-filter-section__toggle svg {
    width: 16px;
    height: 16px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;

    transition:
        transform .16s ease;
}


.wd-filter-section__toggle[
    aria-expanded="false"
] svg {
    transform:
        rotate(-90deg);
}


.wd-filter-section__body[hidden] {
    display: none;
}


.wd-category-show-more {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-height: 36px;

    margin-top: 10px;
    padding: 6px 10px;

    border: 1px solid #e0e2e5;
    border-radius: 7px;

    background: #fafafb;
    color: #555a61;

    font: inherit;
    font-size: 11px;
    font-weight: 600;

    cursor: pointer;
}


.wd-category-show-more:hover {
    border-color: #c9ccd0;

    background: #f3f4f5;

    color: #1e2125;
}


.wd-category-show-more[hidden] {
    display: none;
}


/* ==========================================================
   MAIN SHOP
   Brand Show More visibility fix
   ========================================================== */

.wd-filter-check[data-brand-row][hidden] {
    display: none;
}



/* ==========================================================
   MAIN SHOP v0.1.4-alpha2
   FILTER POLISH
   Active section badges + zero-result states
   ========================================================== */


.wd-filter-section__title {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
}


.wd-filter-section__badge {
    display: inline-grid;
    place-items: center;

    min-width: 18px;
    height: 18px;

    padding: 0 5px;

    border-radius: 999px;

    background: #f0f1f2;
    color: #656a71;

    font-size: 10px;
    font-weight: 700;
    line-height: 1;
}


.wd-filter-check--disabled {
    opacity: .42;
    cursor: not-allowed;
}


.wd-filter-check--disabled input {
    cursor: not-allowed;
}


.wd-filter-check--disabled
.wd-filter-check__count {
    color: #b7bbc0;
}



/* ==========================================================
   MAIN SHOP v0.1.5-alpha1
   PRICE DUAL RANGE
   ========================================================== */


.wd-price-range {
    position: relative;

    grid-column: 1 / -1;

    width: 100%;
    height: 32px;

    margin: 0 0 2px;
}


.wd-price-range__track {
    position: absolute;

    left: 8px;
    right: 8px;
    top: 14px;

    height: 4px;

    border-radius: 999px;

    background: #e3e5e7;
}


.wd-price-range__fill {
    position: absolute;

    top: 0;
    bottom: 0;

    border-radius: inherit;

    background: #1b1d20;
}


.wd-price-range
input[type="range"] {
    position: absolute;

    inset: 0;

    z-index: 3;

    width: 100%;
    height: 32px;

    margin: 0;

    appearance: none;
    -webkit-appearance: none;

    background: transparent;

    pointer-events: none;
}


.wd-price-range
input[type="range"]::-webkit-slider-runnable-track {
    height: 4px;

    background: transparent;

    border: 0;
}


.wd-price-range
input[type="range"]::-webkit-slider-thumb {
    width: 16px;
    height: 16px;

    margin-top: -6px;

    appearance: none;
    -webkit-appearance: none;

    border: 2px solid #1b1d20;
    border-radius: 50%;

    background: #ffffff;

    box-shadow:
        0 1px 3px rgba(0, 0, 0, .12);

    cursor: grab;

    pointer-events: auto;
}


.wd-price-range
input[type="range"]::-webkit-slider-thumb:active {
    cursor: grabbing;
}


.wd-price-range
input[type="range"]::-moz-range-track {
    height: 4px;

    border: 0;

    background: transparent;
}


.wd-price-range
input[type="range"]::-moz-range-thumb {
    width: 14px;
    height: 14px;

    border: 2px solid #1b1d20;
    border-radius: 50%;

    background: #ffffff;

    box-shadow:
        0 1px 3px rgba(0, 0, 0, .12);

    cursor: grab;

    pointer-events: auto;
}



/* ==========================================================
   MAIN SHOP v0.1.6-alpha1
   PRODUCT CARD POLISH — IMAGE AREA
   ========================================================== */


.wd-product-card__media {
    background: #ffffff;
}


/*
Keep the image and product information visually separated
without using a darker media background.
*/
.wd-product-card__media {
    border-bottom: 1px solid #f0f1f2;
}



/* ==========================================================
   MAIN SHOP v0.1.6-alpha2
   PRODUCT CARD POLISH — STAGE 2
   ========================================================== */


/* Clean product image canvas */

.wd-product-card__media {
    position: relative;

    background: #ffffff;

    border-bottom:
        1px solid #f0f1f2;
}


/* Sale badge */

.wd-product-card__sale-badge {
    position: absolute;

    top: 12px;
    left: 12px;

    z-index: 2;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 25px;

    padding: 4px 8px;

    border-radius: 6px;

    background: #17191c;
    color: #ffffff;

    font-size: 11px;
    font-weight: 800;
    line-height: 1;

    letter-spacing: .02em;

    pointer-events: none;
}


/* Consistent card information hierarchy */

.wd-product-card__body {
    padding: 17px 17px 16px;
}


.wd-product-card__brand {
    margin-bottom: 6px;
}


.wd-product-card__title {
    display: -webkit-box;

    min-height: 42px;

    overflow: hidden;

    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;

    line-clamp: 2;
}


.wd-product-card__sku {
    margin-top: 7px;
}


/* Commerce block */

.wd-product-card__commerce {
    gap: 7px;

    padding-top: 18px;
}


.wd-product-card__price strong {
    color: #111418;

    font-size: 17px;
    font-weight: 800;
}


.wd-product-card__price del {
    color: #9b9fa5;

    font-size: 11px;
    font-weight: 500;
}


/* CTA */

.wd-product-card__cta {
    min-height: 41px;

    margin-top: 14px;

    transition:
        background .15s ease,
        color .15s ease,
        border-color .15s ease;
}


/* Slightly quieter overall hover */

.wd-product-card:not(.wd-product-card--loading):hover {
    border-color: #cfd2d6;

    box-shadow:
        0 8px 24px
        rgba(0, 0, 0, .05);

    transform:
        translateY(-1px);
}


/* LIST VIEW */

.wd-shop[data-view-mode="list"]
.wd-product-card__media {
    border-bottom: 0;

    border-right:
        1px solid #eceef0;
}


.wd-shop[data-view-mode="list"]
.wd-product-card__title {
    min-height: 0;

    -webkit-line-clamp: 3;

    line-clamp: 3;
}


.wd-shop[data-view-mode="list"]
.wd-product-card__sale-badge {
    top: 14px;
    left: 14px;
}


/* MOBILE */

@media (max-width: 820px) {

    .wd-product-card__sale-badge {
        top: 8px;
        left: 8px;

        min-height: 22px;

        padding: 3px 6px;

        font-size: 10px;
    }

}



/* ==========================================================
   MAIN SHOP v0.1.6-alpha2b
   SALE BADGE — GRAPHITE POLISH
   ========================================================== */

.wd-product-card__sale-badge {
    min-height: 23px;

    padding: 3px 7px;

    border: 1px solid #4a4f55;
    border-radius: 5px;

    background: #4a4f55;
    color: #ffffff;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: .015em;
}



/* ==========================================================
   MAIN SHOP v0.1.7-alpha1
   PRODUCT CARD DELIVERY
   ========================================================== */


.wd-product-card__delivery {
    width: fit-content;

    font-size: 11px;
    font-weight: 500;
    line-height: 1.35;

    color: #747980;
}


.wd-product-card__delivery.is-ready {
    color: #555b62;
}


.wd-product-card__delivery.is-lead-time {
    color: #747980;
}


.wd-product-card__delivery.is-on-request {
    color: #747980;
}


.wd-product-card__delivery.is-unavailable {
    color: #9b6a6a;
}


/* Keep List View compact */

.wd-shop[data-view-mode="list"]
.wd-product-card__delivery {
    font-size: 12px;
}



/* ==========================================================
   MAIN SHOP v0.1.8-alpha3
   PRODUCTS HERO
   ========================================================== */

.wd-shop-heading {
    position: relative;
    isolation: isolate;

    min-height: 205px;

    margin-bottom: 28px;
    padding: 38px 42px;

    overflow: hidden;

    border:
        1px solid
        #e0e5e9;

    border-radius:
        12px;

    background:
        linear-gradient(
            112deg,
            #fafbfc 0%,
            #f7f8f9 46%,
            #eef2f4 100%
        );
}


/*
Technical grid motif.
Kept deliberately subtle so the Hero still feels like
a professional catalog rather than a promotional banner.
*/

.wd-shop-heading::before {
    content: "";

    position: absolute;

    z-index: -2;

    top: 0;
    right: 0;
    bottom: 0;

    width: 48%;

    opacity: .42;

    background-image:
        linear-gradient(
            rgba(82, 96, 108, .09) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(82, 96, 108, .09) 1px,
            transparent 1px
        );

    background-size:
        34px 34px;

    mask-image:
        linear-gradient(
            90deg,
            transparent 0%,
            #000 32%,
            #000 100%
        );

    -webkit-mask-image:
        linear-gradient(
            90deg,
            transparent 0%,
            #000 32%,
            #000 100%
        );
}


/*
Soft engineering glow.
*/

.wd-shop-heading::after {
    content: "";

    position: absolute;

    z-index: -1;

    width: 420px;
    height: 420px;

    top: -230px;
    right: -100px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(201, 32, 47, .08) 0%,
            rgba(201, 32, 47, .025) 38%,
            transparent 70%
        );
}


.wd-shop-heading > div {
    position: relative;

    z-index: 1;

    max-width: 720px;
}


.wd-shop-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    margin-bottom: 12px;

    color: #59656f;

    font-size: 11px;
    font-weight: 800;

    letter-spacing:
        .11em;

    text-transform:
        uppercase;
}


.wd-shop-eyebrow::before {
    content: "";

    width: 22px;
    height: 2px;

    flex: 0 0 auto;

    background:
        var(--red);
}


.wd-shop-heading h1 {
    margin:
        0 0 12px;

    font-size:
        clamp(
            38px,
            4vw,
            52px
        );

    line-height:
        1.02;

    letter-spacing:
        -.045em;

    color:
        #151a1f;
}


.wd-shop-intro {
    max-width:
        660px;

    margin:
        0;

    color:
        #596771;

    font-size:
        15px;

    line-height:
        1.65;
}


/* Tablet / mobile */

@media (max-width: 820px) {

    .wd-shop-heading {
        min-height: 0;

        margin-bottom: 22px;

        padding:
            28px 24px;

        border-radius:
            10px;
    }


    .wd-shop-heading::before {
        width: 58%;

        opacity: .28;

        background-size:
            28px 28px;
    }


    .wd-shop-heading::after {
        width: 300px;
        height: 300px;

        top: -180px;
        right: -130px;
    }


    .wd-shop-heading h1 {
        font-size:
            clamp(
                32px,
                8vw,
                40px
            );
    }


    .wd-shop-intro {
        max-width:
            520px;

        font-size:
            14px;
    }

}


@media (max-width: 480px) {

    .wd-shop-heading {
        padding:
            24px 20px;
    }


    .wd-shop-heading::before {
        width: 66%;
    }


    .wd-shop-eyebrow {
        font-size:
            10px;
    }

}


/* ==========================================================
   MAIN SHOP v0.1.8-alpha5
   CLEAN PRODUCTS HERO
   ========================================================== */

/*
Keep the calmer catalog title from the previous refinement,
without the temporary blueprint artwork.
*/

.wd-shop-heading h1 {
    font-size:
        clamp(
            38px,
            3.2vw,
            44px
        );

    letter-spacing:
        -.04em;
}


@media (max-width: 820px) {

    .wd-shop-heading h1 {
        font-size:
            clamp(
                32px,
                8vw,
                38px
            );
    }

}


/* ==========================================================
   MAIN SHOP
   Canonical StoreFront Sale Badge
   ========================================================== */

.wd-product-card__sale-badge {
    min-height: 28px;

    padding:
        5px
        10px;

    border: 0;

    border-radius: 6px;

    background:
        rgba(183, 28, 46, .68);

    color: #fff;

    font-size: 12px;
    font-weight: 700;

    line-height: 1;

    letter-spacing: .01em;

    box-shadow:
        0 2px 6px
        rgba(0, 0, 0, .06);
}


@media (max-width: 820px) {

    .wd-product-card__sale-badge {
        min-height: 26px;

        padding:
            4px
            8px;

        border-radius: 5px;

        font-size: 11px;
    }

}


/* ==========================================================
   MAIN SHOP
   v0.1.11-alpha1
   RIGHT FILTER SIDEBAR + PRODUCT BADGE STACK
   ========================================================== */


/* Desktop only — products left, filters right */

@media (min-width: 821px) {

    .wd-shop-layout {
        grid-template-columns:
            250px
            minmax(0, 1fr);
    }


    .wd-shop-filters {
        grid-column: 1;
        grid-row: 1;
    }


    .wd-shop-results {
        grid-column: 2;
        grid-row: 1;

        min-width: 0;
    }

}


/* Badge stack */

.wd-product-card__badges {
    position: absolute;

    top: 12px;
    left: 12px;

    z-index: 4;

    display: flex;
    flex-direction: column;
    align-items: flex-start;

    gap: 6px;

    pointer-events: none;
}


.wd-product-card__badges
.wd-product-card__sale-badge {
    position: static;

    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
}


.wd-product-card__badge {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 28px;

    padding:
        5px
        10px;

    border-radius: 6px;

    font-size: 11px;
    font-weight: 800;

    line-height: 1;

    letter-spacing: .035em;

    box-shadow:
        0 2px 6px
        rgba(0, 0, 0, .06);
}


.wd-product-card__badge--new {
    background:
        rgba(23, 25, 28, .88);

    color:
        #ffffff;
}


.wd-product-card__badge--featured {
    background:
        rgba(205, 171, 83, .88);

    color:
        #17191c;
}


/* List view */

.wd-shop[data-view-mode="list"]
.wd-product-card__badges {
    top: 14px;
    left: 14px;
}


/* Mobile */

@media (max-width: 820px) {

    .wd-product-card__badges {
        top: 8px;
        left: 8px;

        gap: 4px;
    }


    .wd-product-card__badge {
        min-height: 24px;

        padding:
            4px
            7px;

        border-radius: 5px;

        font-size: 10px;
    }

}


/* ==========================================================
   MAIN SHOP
   Sale Badge — Top Right
   NEW / FEATURED remain Top Left
   ========================================================== */

.wd-product-card__media
> .wd-product-card__sale-badge {
    top: 12px;
    right: 12px;
    left: auto;

    z-index: 5;
}


.wd-shop[data-view-mode="list"]
.wd-product-card__media
> .wd-product-card__sale-badge {
    top: 14px;
    right: 14px;
    left: auto;
}


@media (max-width: 820px) {

    .wd-product-card__media
    > .wd-product-card__sale-badge {
        top: 8px;
        right: 8px;
        left: auto;
    }

}


/* ==========================================================
   MAIN SHOP
   Premium Product Badges v1
   ========================================================== */


/* Shared NEW / FEATURED geometry */

.wd-product-card__badge {
    min-height: 29px;

    padding:
        6px
        10px;

    border: 0;
    border-radius: 8px;

    font-size: 10px;
    font-weight: 800;
    line-height: 1;

    letter-spacing: .055em;

    box-shadow:
        0 3px 9px
        rgba(18, 24, 31, .10);
}


/* NEW */

.wd-product-card__badge--new {
    background:
        #2f3542;

    color:
        #ffffff;
}


/* FEATURED */

.wd-product-card__badge--featured {
    background:
        #d4b15a;

    color:
        #1d2025;
}


/* SALE */

.wd-product-card__sale-badge {
    min-height: 29px;

    padding:
        6px
        10px;

    border: 0;
    border-radius: 8px;

    background:
        #d86b78;

    color:
        #ffffff;

    font-size: 11px;
    font-weight: 800;
    line-height: 1;

    letter-spacing: .025em;

    box-shadow:
        0 3px 9px
        rgba(18, 24, 31, .10);
}


/* Slightly cleaner badge stack */

.wd-product-card__badges {
    gap: 7px;
}


/* Mobile */

@media (max-width: 820px) {

    .wd-product-card__badge,
    .wd-product-card__sale-badge {
        min-height: 25px;

        padding:
            5px
            8px;

        border-radius: 7px;

        font-size: 10px;
    }


    .wd-product-card__badges {
        gap: 5px;
    }

}


/* ==========================================================
   MAIN SHOP
   Badge transparency refinement
   ========================================================== */

.wd-product-card__badge {
    box-shadow:
        0 2px 7px rgba(18, 24, 31, .08);

    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.wd-product-card__badge--new {
    background: rgba(47, 53, 66, 0.88);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.10);
}

.wd-product-card__badge--featured {
    background: rgba(212, 177, 90, 0.82);
    color: #1d2025;
    border: 1px solid rgba(29, 32, 37, 0.08);
}

.wd-product-card__sale-badge {
    background: rgba(216, 107, 120, 0.88);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.10);

    box-shadow:
        0 2px 7px rgba(18, 24, 31, .08);

    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}


/* ==========================================================
   MAIN SHOP
   NEW Badge — Indigo
   ========================================================== */

.wd-product-card__badge--new {
    background:
        rgba(67, 56, 202, 0.90);

    color:
        #ffffff;

    border:
        1px solid
        rgba(255, 255, 255, 0.14);

    box-shadow:
        0 2px 8px
        rgba(35, 40, 90, 0.16);
}


/* ==========================================================
   MAIN SHOP
   NEW Badge — Darker Indigo
   ========================================================== */

.wd-product-card__badge--new {
    background:
        rgba(49, 46, 129, 0.92);

    color:
        #ffffff;

    border:
        1px solid
        rgba(255, 255, 255, 0.12);

    box-shadow:
        0 2px 8px
        rgba(22, 28, 70, 0.18);
}


/* =========================================================
   WRYEDGE DIRECT
   Main Shop — Product Card Cart CTA
   v0.1.13-alpha1
   ========================================================= */

button.wd-product-card__cta {
    width: 100%;
    font: inherit;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

button.wd-product-card__cta--cart {
    background: #ffffff;
}

button.wd-product-card__cta--cart:hover:not(:disabled) {
    cursor: pointer;
}

button.wd-product-card__cta:disabled,
button.wd-product-card__cta--disabled {
    cursor: not-allowed;
    opacity: 0.56;
}



/* =========================================================
   WRYEDGE DIRECT
   Shop Product Card — Secondary Image Hover
   v1
   ========================================================= */

.wd-product-card__image-stage {
    position: relative;
    display: block;
    width: 100%;
}

.wd-product-card__image-stage
.wd-product-card__image {
    display: block;
    width: 100%;
}

.wd-product-card__image--primary {
    position: relative;
    z-index: 1;
    opacity: 1;
}

.wd-product-card__image--secondary {
    position: absolute;
    inset: 0;
    z-index: 2;

    width: 100%;
    height: 100%;

    object-fit: contain;

    opacity: 0;
    pointer-events: none;
}


/*
 * Hover enhancement only for devices with a real mouse /
 * precision pointing device.
 *
 * Touch/mobile keeps the canonical primary image.
 */

@media (hover: hover) and (pointer: fine) {

    .wd-product-card__image-stage--secondary
    .wd-product-card__image--primary,

    .wd-product-card__image-stage--secondary
    .wd-product-card__image--secondary {
        transition:
            opacity 240ms ease;
    }


    .wd-product-card__media:hover
    .wd-product-card__image-stage--secondary
    .wd-product-card__image--primary {
        opacity: 0;
    }


    .wd-product-card__media:hover
    .wd-product-card__image-stage--secondary
    .wd-product-card__image--secondary {
        opacity: 1;
    }

}


@media (prefers-reduced-motion: reduce) {

    .wd-product-card__image-stage--secondary
    .wd-product-card__image {
        transition: none;
    }

}



/* WRYEDGE SHOP FINAL POLISH — FILTER SCROLLBAR */

/*
Keep the independent desktop filter scroll,
but visually reduce its weight.
*/

.wd-shop-filters,
.wd-shop-filters__body {
    scrollbar-width: thin;
    scrollbar-color:
        rgba(15, 23, 42, 0.20)
        transparent;
}

.wd-shop-filters::-webkit-scrollbar,
.wd-shop-filters__body::-webkit-scrollbar {
    width: 6px;
}

.wd-shop-filters::-webkit-scrollbar-track,
.wd-shop-filters__body::-webkit-scrollbar-track {
    background: transparent;
}

.wd-shop-filters::-webkit-scrollbar-thumb,
.wd-shop-filters__body::-webkit-scrollbar-thumb {
    background:
        rgba(15, 23, 42, 0.18);

    border-radius: 999px;
}

.wd-shop-filters::-webkit-scrollbar-thumb:hover,
.wd-shop-filters__body::-webkit-scrollbar-thumb:hover {
    background:
        rgba(15, 23, 42, 0.30);
}



/* ==========================================================
   WRYEDGE SHOP VAT PRICE META v0.1.18
   ========================================================== */

.wd-product-card__price {
    display:
        flex;

    flex-wrap:
        wrap;

    align-items:
        baseline;

    column-gap:
        9px;

    row-gap:
        3px;
}


.wd-product-card__price-values {
    display:
        inline-flex;

    align-items:
        baseline;

    gap:
        7px;

    min-width:
        max-content;
}


.wd-product-card__vat-note {
    display:
        inline-flex;

    flex-wrap:
        wrap;

    align-items:
        baseline;

    gap:
        3px;

    color:
        #7a8289;

    font-size:
        10.5px;

    font-weight:
        500;

    line-height:
        1.3;

    letter-spacing:
        .005em;
}


.wd-product-card__vat-note > span {
    color:
        #8b9298;
}


@media (max-width: 820px) {

    .wd-product-card__vat-note {
        font-size:
            10px;
    }
}



/* ==========================================================
   WRYEDGE SHOP HERO + PRICE SOFTEN v0.1.19
   ========================================================== */

/*
Refine visual weight:
- slightly smaller / lighter hero title
- slightly lighter product prices
*/

.wd-shop-heading h1 {
    font-size:
        clamp(2.8rem, 4vw, 3.25rem);

    font-weight:
        700;

    line-height:
        1.03;

    letter-spacing:
        -0.028em;
}


.wd-product-card__price strong,
.wd-product-card__price-values strong {
    font-size:
        1.95rem;

    font-weight:
        700;

    letter-spacing:
        -0.02em;

    color:
        #111927;
}


@media (max-width: 1024px) {

    .wd-shop-heading h1 {
        font-size:
            clamp(2.45rem, 5vw, 3rem);
    }

    .wd-product-card__price strong,
    .wd-product-card__price-values strong {
        font-size:
            1.8rem;
    }
}


@media (max-width: 640px) {

    .wd-shop-heading h1 {
        font-size:
            2.2rem;
    }

    .wd-product-card__price strong,
    .wd-product-card__price-values strong {
        font-size:
            1.68rem;
    }
}



/* ==========================================================
   WRYEDGE SHOP SIZE CORRECTION v0.1.20
   ========================================================== */

/*
Correct previous v0.1.19 visual weight:
- hero title genuinely smaller
- product prices returned to compact professional scale
*/

.wd-shop-heading h1 {
    font-size:
        clamp(32px, 3vw, 42px);

    font-weight:
        650;

    line-height:
        1.04;

    letter-spacing:
        -0.025em;
}


.wd-product-card__price strong,
.wd-product-card__price-values strong {
    font-size:
        16px;

    font-weight:
        650;

    line-height:
        1.2;

    letter-spacing:
        -0.01em;

    color:
        #18212a;
}


@media (max-width: 820px) {

    .wd-shop-heading h1 {
        font-size:
            clamp(30px, 7vw, 38px);
    }

    .wd-product-card__price strong,
    .wd-product-card__price-values strong {
        font-size:
            15.5px;
    }
}



/* ==========================================================
   WRYEDGE SHOP HERO + CTA POLISH v0.1.21
   ========================================================== */

/*
Final refinement:
- hero title slightly smaller and lighter
- product card CTA more visible in resting state
*/

.wd-shop-heading h1 {
    font-size:
        clamp(30px, 2.7vw, 38px);

    font-weight:
        620;

    line-height:
        1.04;

    letter-spacing:
        -0.022em;
}


.wd-product-card__cta,
.wd-product-card__cta:link,
.wd-product-card__cta:visited {
    background:
        linear-gradient(
            180deg,
            #f7f9fb 0%,
            #eef2f5 100%
        );

    border:
        1px solid #2a3440;

    color:
        #141c25;

    font-weight:
        650;

    box-shadow:
        0 1px 0 rgba(17, 25, 39, 0.04);

    transition:
        background-color .18s ease,
        color .18s ease,
        border-color .18s ease,
        box-shadow .18s ease,
        transform .18s ease;
}


.wd-product-card__cta:hover,
.wd-product-card__cta:focus-visible {
    background:
        #121923;

    border-color:
        #121923;

    color:
        #ffffff;

    box-shadow:
        0 8px 18px rgba(18, 25, 35, 0.14);

    transform:
        translateY(-1px);
}


.wd-product-card__cta:active {
    transform:
        translateY(0);
}


@media (max-width: 820px) {

    .wd-shop-heading h1 {
        font-size:
            clamp(28px, 6vw, 35px);
    }
}



/* ==========================================================
   WRYEDGE SHOP BADGE SOFTEN v0.1.22
   ========================================================== */

/*
Make product badges smaller and softer so they
do not dominate the product image area.
*/

.wd-product-card__badge,
.wd-product-badge,
.wd-badge {
    min-height:
        26px;

    padding:
        5px 10px;

    border-radius:
        9px;

    font-size:
        11px;

    font-weight:
        700;

    letter-spacing:
        .02em;

    box-shadow:
        0 3px 10px rgba(48, 44, 125, 0.14);
}


.wd-product-card__badge::before,
.wd-product-badge::before,
.wd-badge::before {
    opacity:
        .88;
}


.wd-product-card__badge,
.wd-product-badge,
.wd-badge {
    background:
        rgba(78, 73, 176, 0.90);
}


@media (max-width: 820px) {

    .wd-product-card__badge,
    .wd-product-badge,
    .wd-badge {
        min-height:
            24px;

        padding:
            4px 9px;

        font-size:
            10px;

        border-radius:
            8px;
    }
}



/* ==========================================================
   WRYEDGE SHOP HERO SLIDER v0.1.25
   ========================================================== */

/*
Four-image slow crossfade.

Existing Shop hero dimensions, spacing and typography
remain authoritative.
*/

.wd-shop-heading {
    position:
        relative;

    isolation:
        isolate;

    overflow:
        hidden;
}


/*
Override the legacy:
.wd-shop-heading > div { max-width: 720px; }

The image layer must span the complete hero.
*/
.wd-shop-heading > .wd-shop-hero-slides {
    position:
        absolute;

    z-index:
        0;

    inset:
        0;

    width:
        auto;

    max-width:
        none;

    pointer-events:
        none;

    overflow:
        hidden;

    border-radius:
        inherit;
}


.wd-shop-heading > .wd-shop-heading__content {
    position:
        relative;

    z-index:
        3;

    width:
        auto;

    max-width:
        720px;
}


.wd-shop-hero-slide {
    position:
        absolute;

    inset:
        0;

    opacity:
        0;

    background-repeat:
        no-repeat;

    /*
    2000x560 images naturally occupy approximately
    the right half of this shallow Shop hero.
    */
    background-size:
        cover;

    background-position:
        center center;

    transform:
        scale(1.018);

    transform-origin:
        center center;

    will-change:
        opacity,
        transform;

    animation-name:
        wdShopHeroCrossfade;

    animation-duration:
        52s;

    animation-timing-function:
        linear;

    animation-iteration-count:
        infinite;
}


/*
Negative delays mean that the four slides are already
distributed across the animation cycle at page load.

This creates a real crossfade instead of a blank pause.
*/

.wd-shop-hero-slide--1 {
    background-image:
        linear-gradient(
            90deg,
            rgba(250, 251, 252, 1) 0%,
            rgba(250, 251, 252, 0.995) 22%,
            rgba(250, 251, 252, 0.975) 34%,
            rgba(250, 251, 252, 0.93) 46%,
            rgba(250, 251, 252, 0.82) 57%,
            rgba(250, 251, 252, 0.62) 67%,
            rgba(250, 251, 252, 0.34) 77%,
            rgba(250, 251, 252, 0.12) 87%,
            rgba(250, 251, 252, 0.00) 100%
        ),
        url("/assets/hero/shop-hero-slide-1.webp");

    animation-delay:
        0s;
}


.wd-shop-hero-slide--2 {
    background-image:
        linear-gradient(
            90deg,
            rgba(250, 251, 252, 1) 0%,
            rgba(250, 251, 252, 0.995) 22%,
            rgba(250, 251, 252, 0.975) 34%,
            rgba(250, 251, 252, 0.93) 46%,
            rgba(250, 251, 252, 0.82) 57%,
            rgba(250, 251, 252, 0.62) 67%,
            rgba(250, 251, 252, 0.34) 77%,
            rgba(250, 251, 252, 0.12) 87%,
            rgba(250, 251, 252, 0.00) 100%
        ),
        url("/assets/hero/shop-hero-slide-2.webp");

    animation-delay:
        -39s;
}


.wd-shop-hero-slide--3 {
    background-image:
        linear-gradient(
            90deg,
            rgba(250, 251, 252, 1) 0%,
            rgba(250, 251, 252, 0.995) 22%,
            rgba(250, 251, 252, 0.975) 34%,
            rgba(250, 251, 252, 0.93) 46%,
            rgba(250, 251, 252, 0.82) 57%,
            rgba(250, 251, 252, 0.62) 67%,
            rgba(250, 251, 252, 0.34) 77%,
            rgba(250, 251, 252, 0.12) 87%,
            rgba(250, 251, 252, 0.00) 100%
        ),
        url("/assets/hero/shop-hero-slide-3.webp");

    animation-delay:
        -26s;
}


.wd-shop-hero-slide--4 {
    background-image:
        linear-gradient(
            90deg,
            rgba(250, 251, 252, 1) 0%,
            rgba(250, 251, 252, 0.995) 22%,
            rgba(250, 251, 252, 0.975) 34%,
            rgba(250, 251, 252, 0.93) 46%,
            rgba(250, 251, 252, 0.82) 57%,
            rgba(250, 251, 252, 0.62) 67%,
            rgba(250, 251, 252, 0.34) 77%,
            rgba(250, 251, 252, 0.12) 87%,
            rgba(250, 251, 252, 0.00) 100%
        ),
        url("/assets/hero/shop-hero-slide-4.webp");

    animation-delay:
        -13s;
}


/*
Existing technical grid remains above the photography,
but softer than before.
*/

.wd-shop-heading::before {
    z-index:
        1;

    opacity:
        .12;
}


.wd-shop-heading::after {
    z-index:
        2;

    opacity:
        .72;
}


.wd-shop-hero-slides::before {
    content:
        "";

    position:
        absolute;

    inset:
        0;

    z-index:
        2;

    pointer-events:
        none;

    background:
        linear-gradient(
            90deg,
            rgba(250, 251, 252, 0.98) 0%,
            rgba(250, 251, 252, 0.92) 28%,
            rgba(250, 251, 252, 0.72) 48%,
            rgba(250, 251, 252, 0.34) 66%,
            rgba(250, 251, 252, 0.10) 80%,
            rgba(250, 251, 252, 0.00) 100%
        );
}


@keyframes wdShopHeroCrossfade {

    0% {
        opacity:
            1;

        transform:
            scale(1.018);
    }

    20% {
        opacity:
            1;

        transform:
            scale(1.006);
    }

    25% {
        opacity:
            0;

        transform:
            scale(1);
    }

    95% {
        opacity:
            0;

        transform:
            scale(1.018);
    }

    100% {
        opacity:
            1;

        transform:
            scale(1.018);
    }
}


@media (max-width: 820px) {

    .wd-shop-hero-slide {
        background-size:
            cover;

        background-position:
            center right;
    }


    .wd-shop-heading > .wd-shop-heading__content {
        max-width:
            none;
    }


    .wd-shop-heading::before {
        opacity:
            .12;
    }
}


@media (prefers-reduced-motion: reduce) {

    .wd-shop-hero-slide {
        animation:
            none !important;

        opacity:
            0;
    }


    .wd-shop-hero-slide--1 {
        opacity:
            1;

        transform:
            none;
    }
}


/* WRYEDGE PRODUCT VIDEO BADGE V1 — BEGIN */

.wd-product-card__media {
    position: relative;
}

.wd-product-card__video-badge {
    position: absolute;
    right: 12px;
    bottom: 12px;
    z-index: 5;

    width: 36px;
    height: 36px;
    box-sizing: border-box;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(255, 255, 255, .65);
    color: #18212b;

    border: 1px solid rgba(40, 54, 68, .17);
    box-shadow: 0 3px 12px rgba(0, 0, 0, .09);

    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);

    pointer-events: auto;
    user-select: none;
}

.wd-product-card__video-badge svg {
    display: block;
    width: 19px;
    height: 19px;
    margin-left: 2px;
}

@media (max-width: 700px) {
    .wd-product-card__video-badge {
        width: 32px;
        height: 32px;
        right: 9px;
        bottom: 9px;
    }
}

/* WRYEDGE PRODUCT VIDEO BADGE V1 — END */


/* WRYEDGE VIDEO BADGE TOOLTIP V1 — BEGIN */

.wd-product-card__video-badge::after {
    content: attr(data-wd-video-tooltip);
    position: absolute;
    right: 0;
    bottom: calc(100% + 9px);
    z-index: 10;

    box-sizing: border-box;
    display: block;
    padding: 7px 11px;
    border-radius: 7px;

    background: rgba(20, 29, 40, .94);
    color: #fff;

    font-family: inherit;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.35;
    white-space: nowrap;

    box-shadow: 0 5px 18px rgba(0, 0, 0, .14);

    opacity: 0;
    visibility: hidden;
    transform: translateY(4px);

    transition:
        opacity 160ms ease,
        transform 160ms ease,
        visibility 160ms ease;

    pointer-events: none;
    user-select: none;
}

@media (hover: hover) and (pointer: fine) {
    .wd-product-card__video-badge:hover::after {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .wd-product-card__video-badge::after {
        transition: none;
        transform: none;
    }
}

/* WRYEDGE VIDEO BADGE TOOLTIP V1 — END */

/* WD VIDEO TOOLTIP LIGHT FIX V1 */
.wd-product-card__video-badge::after {
    background: rgba(255,255,255,.97);
    color: #202b37;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.2;
    padding: 5px 8px;
    border-radius: 7px;
    border: 1px solid rgba(25,35,45,.12);
    box-shadow: 0 4px 12px rgba(0,0,0,.09);
}
