/* WAHHID sale promo and dedicated sale catalogue. */

.wf-sale-promo {
    margin: 0 16px 34px;
}

.wf-sale-promo__link {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: end;
    min-height: 184px;
    padding: 24px;
    overflow: hidden;
    border-radius: 11px;
    background: #000;
    color: #fff !important;
    text-decoration: none !important;
}

.wf-sale-promo__link::after {
    content: "%";
    position: absolute;
    top: 50%;
    right: 18px;
    transform: translateY(-52%);
    color: rgba(255,255,255,.08);
    font-size: 174px;
    font-weight: 800;
    line-height: .8;
    pointer-events: none;
}

.wf-sale-promo__brand,
.wf-sale-promo__title,
.wf-sale-promo__copy,
.wf-sale-promo__action {
    position: relative;
    z-index: 1;
}

.wf-sale-promo__brand {
    grid-column: 1 / -1;
    align-self: start;
    display: block;
    width: 118px;
}

.wf-sale-promo__brand img {
    display: block;
    width: 100%;
    height: auto;
}

.wf-sale-promo__title {
    display: block;
    margin-top: 34px;
    font-size: clamp(36px, 11vw, 58px);
    font-weight: 800;
    line-height: .85;
    letter-spacing: -.04em;
}

.wf-sale-promo__copy {
    grid-column: 1 / -1;
    margin-top: 11px;
    max-width: 245px;
    color: rgba(255,255,255,.72);
    font-size: 13px;
    line-height: 1.25;
}

.wf-sale-promo__action {
    grid-column: 2;
    grid-row: 2 / 4;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    align-self: end;
    font-size: 13px;
}

.wf-sale-promo__action svg {
    width: 28px;
    height: 28px;
    padding: 6px;
    border: 1px solid rgba(255,255,255,.5);
    border-radius: 50%;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.wf-new + .wf-sale-promo {
    margin-top: -28px;
}

.wf-sale-catalog {
    min-height: 52vh;
    padding-bottom: 64px !important;
}

.wf-sale-catalog__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
}

.wf-sale-catalog__intro {
    margin: 8px 0 0;
    color: #5c5c5c;
    font-size: 14px;
    line-height: 1.35;
}

.wf-sale-catalog__count {
    flex: 0 0 auto;
    padding-bottom: 2px;
    color: #777;
    font-size: 13px;
}

.wf-sale-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 54px;
    height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: #050505;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: .02em;
}

.wf-sale-catalog .wf-category-card__price del {
    margin-right: 7px;
    color: #8a8a8a;
    opacity: 1;
}

.wf-sale-catalog .wf-category-card__price ins {
    color: #000;
    font-weight: 600;
}

.wf-sale-empty {
    padding: 70px 0 110px;
    border-top: 1px solid #e8e8e8;
    text-align: center;
}

.wf-sale-empty p {
    margin: 0;
    color: #555;
    font-size: 16px;
}

@media (min-width: 768px) {
    .wf-sale-promo {
        margin-right: 16px !important;
        margin-bottom: 42px;
        margin-left: 16px !important;
    }

    .wf-sale-promo__link {
        grid-template-columns: minmax(240px, .75fr) 1fr auto;
        align-items: center;
        min-height: 170px;
        padding: 32px 38px;
    }

    .wf-sale-promo__link::after {
        right: 8%;
        font-size: 220px;
    }

    .wf-sale-promo__brand {
        grid-column: 1;
        grid-row: 1;
        align-self: start;
        width: 148px;
    }

    .wf-sale-promo__title {
        grid-column: 1;
        grid-row: 1;
        align-self: end;
        margin: 0;
        font-size: clamp(54px, 6vw, 84px);
    }

    .wf-sale-promo__copy {
        grid-column: 2;
        grid-row: 1;
        align-self: center;
        margin: 0;
        max-width: 260px;
        font-size: 15px;
    }

    .wf-sale-promo__action {
        grid-column: 3;
        grid-row: 1;
        align-self: center;
        font-size: 15px;
    }

    .wf-sale-promo__action svg {
        width: 40px;
        height: 40px;
        padding: 10px;
        transition: transform .2s ease, background-color .2s ease, color .2s ease;
    }

    .wf-sale-promo__link:hover .wf-sale-promo__action svg,
    .wf-sale-promo__link:focus-visible .wf-sale-promo__action svg {
        transform: translateX(4px);
        background: #fff;
        color: #050505;
    }

    .wf-sale-catalog__intro {
        font-size: 15px;
    }
}

@media (min-width: 1024px) {
    .wf-sale-promo {
        margin-right: var(--wf-desktop-pad) !important;
        margin-bottom: 58px;
        margin-left: var(--wf-desktop-pad) !important;
    }

    .wf-sale-promo__link {
        min-height: 190px;
        border-radius: 12px;
    }

    .wf-new + .wf-sale-promo {
        margin-top: -58px;
    }

    .wf-sale-catalog {
        padding: 0 var(--wf-desktop-pad) 96px !important;
    }

    .wf-sale-catalog .wf-category__top {
        margin-top: 62px !important;
        margin-bottom: 34px !important;
    }

    .wf-sale-catalog .wf-category__title {
        font-size: clamp(36px, 3vw, 48px) !important;
    }

    .wf-sale-catalog .wf-category-grid {
        gap: 34px 14px !important;
    }

    .wf-sale-catalog .wf-category-card__image-link {
        width: 100% !important;
    }

    .wf-sale-catalog .wf-category-card__title {
        margin-top: 10px !important;
    }
}

@media (max-width: 767px) {
    .wf-sale-promo {
        margin-right: 4px !important;
        margin-left: 4px !important;
    }

    .wf-new + .wf-sale-promo {
        margin-top: -72px;
    }

    .wf-sale-promo__action > span {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
    }

    .wf-sale-catalog__head {
        display: block;
    }

    .wf-sale-catalog__count {
        display: block;
        margin-top: 9px;
    }

    .wf-sale-badge {
        top: 8px;
        left: 8px;
        min-width: 48px;
        height: 25px;
        padding: 0 8px;
        font-size: 12px;
    }
}

/* The promo belongs to the New arrivals content box on every viewport. */
.wf-main > .wf-new {
    padding-bottom: 42px;
}

.wf-new > .wf-sale-promo {
    width: 100%;
    margin: 30px 0 0 !important;
}

@media (min-width: 1024px) {
    .wf-main > .wf-new {
        padding-bottom: 48px;
    }

    .wf-new > .wf-sale-promo {
        margin-top: 38px !important;
    }

    .wf-new > .wf-sale-promo .wf-sale-promo__link {
        grid-template-columns: minmax(340px, .82fr) minmax(260px, .72fr) minmax(190px, .34fr);
        column-gap: clamp(32px, 4vw, 76px);
        min-height: 224px;
        padding: 38px 48px;
    }

    .wf-new > .wf-sale-promo .wf-sale-promo__brand {
        width: 164px;
    }

    .wf-new > .wf-sale-promo .wf-sale-promo__title {
        font-size: clamp(62px, 5vw, 92px);
    }

    .wf-new > .wf-sale-promo .wf-sale-promo__copy {
        max-width: 310px;
        font-size: 17px;
        line-height: 1.3;
    }

    .wf-new > .wf-sale-promo .wf-sale-promo__action {
        justify-self: end;
        font-size: 16px;
    }
}

@media (max-width: 767px) {
    .wf-main > .wf-new {
        padding-bottom: 34px;
    }

    .wf-new > .wf-sale-promo {
        margin-top: 28px !important;
    }
}
