.page-promo .page-content {
    min-height: 100vh;
    background: #ffffff;
}

.promo-public {
    min-height: 100vh;
}

.promo-hero {
    position: relative;

    min-height: 100vh;
    padding: 120px 42px 80px;

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

    background-image: var(--promo-hero-desktop);
    background-size: cover;
    background-position: center;

    color: #ffffff;
    overflow: hidden;
}

.promo-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;

    background:
        linear-gradient(180deg, rgba(0,0,0,.28), rgba(0,0,0,.18) 42%, rgba(0,0,0,.48)),
        radial-gradient(circle at 50% 46%, rgba(255,255,255,.14), rgba(255,255,255,0) 45%);
}

.promo-hero__content {
    position: relative;
    z-index: 2;

    max-width: 860px;
    margin: 0 auto;

    text-align: center;

    display: grid;
    justify-items: center;
}

.promo-hero__content span {
    margin-bottom: 22px;

    font-size: 14px;
    line-height: 1;
    letter-spacing: .34em;
    font-weight: 400;
}

.promo-hero__content h1 {
    margin: 0;

    font-size: clamp(48px, 7vw, 112px);
    line-height: .88;
    letter-spacing: -.075em;
    font-weight: 800;
    text-transform: uppercase;
}

.promo-hero__content p {
    max-width: 660px;
    margin: 28px 0 0;

    font-size: 22px;
    line-height: 1.45;
    font-weight: 400;
}

.promo-hero__content a {
    min-width: 220px;
    height: 52px;
    margin-top: 34px;
    padding: 0 28px;

    border-radius: 999px;
    background: #ffffff;
    color: #111111;

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

    font-size: 15px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: .03em;
    text-decoration: none;
}

.promo-not-found {
    min-height: 60vh;
    padding: 160px 24px 80px;

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

    color: #111111;
    font-size: 24px;
    font-weight: 800;
}

@media (max-width: 899px) {
    .promo-hero {
        min-height: 100svh;
        padding: calc(110px + env(safe-area-inset-top)) 24px calc(80px + env(safe-area-inset-bottom));

        background-image: var(--promo-hero-mobile);
    }

    .promo-hero__content span {
        margin-bottom: 18px;
        font-size: 12px;
    }

    .promo-hero__content h1 {
        font-size: 48px;
        line-height: .9;
        letter-spacing: -.065em;
    }

    .promo-hero__content p {
        margin-top: 22px;
        font-size: 17px;
        line-height: 1.45;
    }

    .promo-hero__content a {
        width: min(290px, 100%);
        height: 50px;
        margin-top: 28px;
    }
}


.promo-hero__discount {
    margin-bottom: 18px;
    padding: 9px 16px;

    border-radius: 999px;
    background: rgba(255,255,255,.18);
    color: #ffffff;

    font-size: 15px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;

    backdrop-filter: blur(12px);
}

.promo-code-box {
    margin-top: 28px;
    padding: 16px 22px;

    border: 1px solid rgba(255,255,255,.35);
    border-radius: 18px;
    background: rgba(0,0,0,.22);
    color: #ffffff;

    display: grid;
    gap: 8px;

    backdrop-filter: blur(14px);
}

.promo-code-box small {
    font-size: 11px;
    line-height: 1;
    letter-spacing: .24em;
    text-transform: uppercase;
    opacity: .78;
}

.promo-code-box strong {
    font-size: 30px;
    line-height: 1;
    letter-spacing: .12em;
}

.promo-products-section {
    padding: 74px 42px 90px;
    background: #ffffff;
}

.promo-products-head {
    max-width: 760px;
    margin: 0 auto 36px;

    text-align: center;

    display: grid;
    justify-items: center;
    gap: 10px;
}

.promo-products-head span {
    color: #777777;
    font-size: 12px;
    letter-spacing: .28em;
}

.promo-products-head h2 {
    margin: 0;

    color: #111111;
    font-size: clamp(34px, 4vw, 62px);
    line-height: .95;
    letter-spacing: -.06em;
}

.promo-products-head p {
    margin: 0;

    color: #555555;
    font-size: 18px;
}

.promo-products-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px 18px;
}

.promo-product-card {
    min-width: 0;
}

.promo-product-card__photo {
    aspect-ratio: 3 / 4;
    border-radius: 18px;
    background: #f4f4f4;

    display: block;
    overflow: hidden;
}

.promo-product-card__photo img {
    width: 100%;
    height: 100%;

    display: block;
    object-fit: cover;
}

.promo-product-card__body {
    padding-top: 12px;

    display: grid;
    gap: 8px;
}

.promo-product-card__name {
    color: #111111;

    font-size: 15px;
    line-height: 1.25;
    font-weight: 600;
    text-decoration: none;
}

.promo-product-card__prices {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.promo-product-card__prices b {
    color: #111111;
    font-size: 15px;
    font-weight: 800;
}

.promo-product-card__prices em {
    color: #999999;
    font-size: 14px;
    font-style: normal;
    text-decoration: line-through;
}

@media (max-width: 899px) {
    .promo-products-section {
        padding: 52px 14px 110px;
    }

    .promo-products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px 10px;
    }

    .promo-product-card__photo {
        border-radius: 14px;
    }

    .promo-product-card__name {
        font-size: 13px;
    }

    .promo-product-card__prices {
        gap: 7px;
    }

    .promo-product-card__prices b,
    .promo-product-card__prices em {
        font-size: 13px;
    }

    .promo-code-box strong {
        font-size: 24px;
    }
}


/* =====================================================
   PROMO TEMPLATES
===================================================== */

.promo-hero__date {
    margin-bottom: 20px;

    color: rgba(255,255,255,.86);

    font-size: 14px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}

/* DARK LUXURY */
.promo-template-dark .promo-hero__overlay {
    background:
        linear-gradient(180deg, rgba(0,0,0,.62), rgba(0,0,0,.38) 45%, rgba(0,0,0,.74)),
        radial-gradient(circle at 50% 40%, rgba(255,255,255,.12), rgba(255,255,255,0) 46%);
}

.promo-template-dark .promo-hero__content h1 {
    font-weight: 900;
}

.promo-template-dark .promo-products-section {
    background: #0f0f0f;
}

.promo-template-dark .promo-products-head span,
.promo-template-dark .promo-products-head p {
    color: rgba(255,255,255,.62);
}

.promo-template-dark .promo-products-head h2,
.promo-template-dark .promo-product-card__name,
.promo-template-dark .promo-product-card__prices b {
    color: #ffffff;
}

.promo-template-dark .promo-product-card__photo {
    background: #191919;
}

/* LIGHT CLEAN */
.promo-template-light .promo-hero__overlay {
    background:
        linear-gradient(180deg, rgba(255,255,255,.42), rgba(255,255,255,.12) 45%, rgba(255,255,255,.7));
}

.promo-template-light .promo-hero,
.promo-template-light .promo-hero__content,
.promo-template-light .promo-hero__content h1,
.promo-template-light .promo-hero__content p {
    color: #111111;
}

.promo-template-light .promo-hero__content span,
.promo-template-light .promo-hero__date {
    color: rgba(0,0,0,.68);
}

.promo-template-light .promo-hero__discount {
    background: rgba(0,0,0,.08);
    color: #111111;
}

.promo-template-light .promo-code-box {
    border-color: rgba(0,0,0,.16);
    background: rgba(255,255,255,.72);
    color: #111111;
}

/* PRODUCT GRID */
.promo-template-products .promo-hero {
    min-height: 72vh;
}

.promo-template-products .promo-products-section {
    padding-top: 54px;
}

.promo-template-products .promo-products-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

/* CATEGORY PROMO */
.promo-template-category .promo-hero {
    min-height: 82vh;
}

.promo-template-category .promo-products-section {
    background: #f7f3ef;
}

.promo-template-category .promo-product-card__photo {
    border-radius: 26px;
}

@media (max-width: 899px) {
    .promo-template-products .promo-products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .promo-template-products .promo-hero,
    .promo-template-category .promo-hero {
        min-height: 88svh;
    }
}


.promo-catalog-products-grid {
    margin-top: 0;
}

.promo-catalog-card {
    position: relative;
}

.promo-product-sale-badge {
    position: absolute;
    left: 12px;
    top: 12px;
    z-index: 4;

    padding: 7px 11px;

    border-radius: 999px;
    background: #111111;
    color: #ffffff;

    font-size: 11px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: .12em;
}

.promo-template-category .promo-product-sale-badge {
    background: #e11d48;
}

@media (max-width: 899px) {
    .promo-product-sale-badge {
        left: 8px;
        top: 8px;

        padding: 6px 9px;

        font-size: 10px;
    }
}