.wl-catalogue {
    width: min(1400px, calc(100% - 40px));
    margin: 52px auto;
}

.wl-catalogue__heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    margin-bottom: 24px;
}

.wl-catalogue__heading h2 {
    margin: 4px 0 8px;
    font-size: clamp(26px, 3vw, 38px);
    line-height: 1.1;
}

.wl-catalogue__heading p {
    margin: 0;
    max-width: 680px;
    color: #667085;
    line-height: 1.6;
}

.wl-catalogue__eyebrow {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.wl-product-grid {
    display: grid;
    grid-template-columns:
        repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.wl-product-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, .09);
    border-radius: 18px;
    background: #fff;
    box-shadow:
        0 8px 28px rgba(0, 0, 0, .055);
    transition:
        transform .18s ease,
        box-shadow .18s ease;
}

.wl-product-card:hover {
    transform: translateY(-3px);
    box-shadow:
        0 14px 34px rgba(0, 0, 0, .09);
}

.wl-product-card__image-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.wl-product-card__image {
    position: relative;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 22px;
    background: #f8f9fb;
}

.wl-product-card__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.wl-product-card__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #98a2b3;
}

.wl-product-card__placeholder-mark {
    display: flex;
    width: 64px;
    height: 64px;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    font-size: 28px;
    font-weight: 900;
    background: rgba(0, 0, 0, .055);
}

.wl-product-card__placeholder-text {
    font-size: 12px;
    text-align: center;
}

.wl-product-card__saving {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 7px 10px;
    border-radius: 999px;
    background: #111827;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
}

.wl-product-card__body {
    padding: 18px;
}

.wl-product-card__brand {
    margin-bottom: 6px;
    color: #667085;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.wl-product-card__title {
    min-height: 48px;
    margin: 0;
    font-size: 16px;
    line-height: 1.45;
}

.wl-product-card__title a {
    color: inherit;
    text-decoration: none;
}

.wl-product-card__title a:hover {
    text-decoration: underline;
}

.wl-product-card__model {
    margin-top: 7px;
    color: #98a2b3;
    font-size: 12px;
}

.wl-product-card__price-area {
    min-height: 76px;
    margin-top: 18px;
}

.wl-product-card__was {
    color: #98a2b3;
    font-size: 13px;
    text-decoration: line-through;
}

.wl-product-card__from {
    margin-top: 2px;
    color: #667085;
    font-size: 12px;
}

.wl-product-card__price {
    margin-top: 1px;
    font-size: 25px;
    font-weight: 850;
    line-height: 1.15;
}

.wl-product-card__price-unavailable {
    padding-top: 24px;
    color: #667085;
    font-weight: 700;
}

.wl-product-card__meta {
    margin-top: 9px;
    color: #667085;
    font-size: 13px;
}

.wl-product-card__compare {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 17px;
    padding-top: 15px;
    border-top: 1px solid rgba(0, 0, 0, .08);
    color: inherit;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}

.wl-catalogue-empty {
    padding: 40px;
    border: 1px dashed rgba(0, 0, 0, .18);
    border-radius: 18px;
    text-align: center;
}

.wl-catalogue-empty p {
    margin: 8px 0 0;
    color: #667085;
}

@media (max-width: 1100px) {

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

@media (max-width: 800px) {

    .wl-catalogue {
        width: min(
            100% - 28px,
            1400px
        );
        margin-top: 36px;
        margin-bottom: 36px;
    }

    .wl-product-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
        gap: 14px;
    }
}

@media (max-width: 520px) {

    .wl-product-grid {
        grid-template-columns:
            1fr;
    }

    .wl-product-card__title {
        min-height: auto;
    }
}

.wl-product-card__demo {
    position: absolute;
    top: 14px;
    right: 14px;
    padding: 7px 10px;
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: 999px;
    background: rgba(255, 255, 255, .94);
    font-size: 11px;
    font-weight: 800;
}

.wl-product-card__compare--preview {
    color: #98a2b3;
    cursor: default;
}

.wl-catalogue__live-count {
    flex: 0 0 auto;
    padding: 9px 13px;
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: 999px;
    background: #fff;
    font-size: 13px;
    font-weight: 800;
}

@media (max-width: 700px) {

    .wl-catalogue__heading {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* G6-36 final product image rendering */

.wl-product-card__image {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #ffffff;
}

.wl-product-card__img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100%;
    object-fit: contain !important;
    object-position: center;
    visibility: visible !important;
    opacity: 1 !important;
}

/* ==================================================
   WELOWR Explore Products Carousel
   G7-46
   4 products per page / 10 second rotation
   ================================================== */

.wl-catalogue__controls {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}

.wl-explore-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.wl-explore-track {
    position: relative;
    width: 100%;
}

.wl-explore-page {
    display: none;
    width: 100%;
    grid-template-columns:
        repeat(4, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
}

.wl-explore-page.is-active {
    display: grid;
    animation:
        wlExploreFadeIn
        0.45s
        ease both;
}

@keyframes wlExploreFadeIn {
    from {
        opacity: 0;
        transform: translateX(18px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}


/* ------------------------------------------
   Product cards inside carousel
   ------------------------------------------ */

.wl-explore-page
.wl-product-card {
    width: 100%;
    min-width: 0;
    height: 100%;
    margin: 0;
}


/* ------------------------------------------
   Previous / Next controls
   ------------------------------------------ */

.wl-explore-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 38px;
    height: 38px;

    padding: 0;

    border: 1px solid
        rgba(15, 23, 42, 0.14);

    border-radius: 50%;

    background: #fff;

    color: #172033;

    font-size: 25px;
    line-height: 1;

    cursor: pointer;

    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        border-color 0.18s ease;
}

.wl-explore-arrow:hover {
    transform: translateY(-1px);

    border-color:
        rgba(15, 23, 42, 0.28);

    box-shadow:
        0 6px 18px
        rgba(15, 23, 42, 0.10);
}

.wl-explore-arrow:active {
    transform: translateY(0);
}

.wl-explore-arrow:focus-visible {
    outline: 3px solid
        rgba(37, 99, 235, 0.22);

    outline-offset: 2px;
}


/* ------------------------------------------
   Pagination dots
   ------------------------------------------ */

.wl-explore-dots {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    margin-top: 22px;
}

.wl-explore-dot {
    width: 8px;
    height: 8px;

    padding: 0;

    border: 0;
    border-radius: 999px;

    background:
        rgba(100, 116, 139, 0.34);

    cursor: pointer;

    transition:
        width 0.25s ease,
        background 0.25s ease,
        transform 0.25s ease;
}

.wl-explore-dot:hover {
    transform: scale(1.18);
}

.wl-explore-dot.is-active {
    width: 26px;

    background:
        currentColor;
}


/* ------------------------------------------
   Image consistency
   ------------------------------------------ */

.wl-explore-page
.wl-product-card__image {
    position: relative;
    overflow: hidden;
}

.wl-explore-page
.wl-product-card__img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;
}


/* ------------------------------------------
   Tablet
   ------------------------------------------ */

@media (max-width: 1100px) {

    .wl-explore-page {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 16px;
    }

}


/* ------------------------------------------
   Mobile
   ------------------------------------------ */

@media (max-width: 640px) {

    .wl-catalogue__controls {
        justify-content: flex-start;
    }

    .wl-explore-page {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 12px;
    }

    .wl-explore-arrow {
        width: 34px;
        height: 34px;

        font-size: 22px;
    }

    .wl-explore-dots {
        margin-top: 16px;
    }

}


/* ------------------------------------------
   Very small mobile
   ------------------------------------------ */

@media (max-width: 420px) {

    .wl-explore-page {
        grid-template-columns:
            1fr;
    }

}


/* ------------------------------------------
   Reduced motion accessibility
   ------------------------------------------ */

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

    .wl-explore-page.is-active {
        animation: none;
    }

    .wl-explore-arrow,
    .wl-explore-dot {
        transition: none;
    }

}


/* ==================================================
   G7-52 Product Image Display
   Keep complete product visible
   ================================================== */

.wl-product-card__image {
    position: relative;

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

    width: 100%;

    aspect-ratio: 1 / 1;

    padding: 14px;

    overflow: hidden;

    background: #fff;
}

.wl-product-card__image-link {
    display: flex !important;

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

    width: 100%;
    height: 100%;
}

.wl-product-card__img {
    display: block !important;

    width: 100% !important;
    height: 100% !important;

    max-width: 100% !important;
    max-height: 100% !important;

    object-fit: contain !important;

    object-position: center center !important;

    margin: auto !important;

    transform: none !important;
}


/*
 * Never crop product imagery on hover.
 */

.wl-product-card:hover
.wl-product-card__img {

    transform: none !important;
}


/*
 * Category product cards use the same
 * full-product presentation.
 */

.wl-category-product__image {
    display: flex;

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

    aspect-ratio: 1 / 1;

    padding: 14px;

    overflow: hidden;

    background: #fff;
}

.wl-category-product__image img {
    display: block;

    width: 100%;
    height: 100%;

    max-width: 100%;
    max-height: 100%;

    object-fit: contain;
    object-position: center;

    margin: auto;
}

