/* ==========================================================================
   Rasletind - Black Weekend campaign bars for the shop
   Matches the promo bar on /blackweekend.
   ========================================================================== */

:root {
    --bw-ink: #17110f;
    --bw-paper: #fffdfa;
    --bw-rose: #9b5560;
    --bw-rose-soft: #e9cfd2;
    --bw-muted: rgba(255, 253, 250, 0.62);
}

/* Top bar
   ========================================================================== */

.bw-promo {
    background: var(--bw-ink);
    color: rgba(255, 253, 250, 0.86);
    font-family: "HK Grotesk", sans-serif;
}

.bw-promo__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px 16px;
    min-height: 40px;
    padding: 8px 20px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-align: center;
    text-transform: uppercase;
}

.bw-promo__dot,
.bw-offer__dot {
    display: inline-block;
    flex: 0 0 auto;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--bw-rose);
    box-shadow: 0 0 0 4px rgba(155, 85, 96, 0.2);
    animation: bw-promo-pulse 2.4s ease-in-out infinite;
}

.bw-promo strong,
.bw-offer strong {
    color: #fff;
    letter-spacing: 0.18em;
}

.bw-promo__sep {
    color: rgba(255, 253, 250, 0.32);
}

.bw-promo__short {
    display: none;
}

.bw-promo__time,
.bw-offer__time {
    display: inline-flex;
    align-items: baseline;
    gap: 5px;
    color: var(--bw-rose-soft);
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.08em;
}

.bw-promo__time b,
.bw-offer__time b {
    color: var(--bw-paper);
    font-weight: 600;
}

/* Product price box
   ========================================================================== */

.bw-offer {
    margin: 0 0 1.5rem;
    padding: 16px 18px 15px;
    border-radius: 16px;
    background: var(--bw-ink);
    color: var(--bw-paper);
    font-family: "HK Grotesk", sans-serif;
    box-shadow: 0 18px 40px -30px rgba(23, 17, 15, 0.55);
}

.bw-offer__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 14px;
}

.bw-offer__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.bw-offer__time {
    font-size: 11px;
}

.bw-offer__price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 12px;
    margin-top: 12px;
}

.bw-offer__label {
    flex: 0 0 100%;
    color: var(--bw-muted);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.bw-offer__now {
    font-size: 26px;
    font-weight: bold;
    line-height: 1.1;
}

.bw-offer__before {
    color: var(--bw-muted);
    font-size: 14px;
    font-weight: 300;
    text-decoration: line-through;
}

.bw-offer__foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 16px;
    margin-top: 12px;
}

.bw-offer__note {
    margin: 0;
    color: var(--bw-muted);
    font-size: 12px;
    line-height: 1.45;
}

.bw-offer__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 8px 18px;
    border-radius: 999px;
    background: var(--bw-paper);
    color: var(--bw-ink);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-decoration: none;
    text-transform: uppercase;
    transition: background-color 0.18s ease, color 0.18s ease;
}

.bw-offer__cta:hover,
.bw-offer__cta:focus {
    background: var(--bw-rose-soft);
    color: var(--bw-ink);
    text-decoration: none;
}

.bw-offer__active {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #b9d8b1;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

@keyframes bw-promo-pulse {

    0%,
    100% {
        box-shadow: 0 0 0 3px rgba(155, 85, 96, 0.24);
    }

    50% {
        box-shadow: 0 0 0 7px rgba(155, 85, 96, 0);
    }
}

/* Small screens
   ========================================================================== */

@media (max-width: 575.98px) {
    .bw-promo__inner {
        gap: 4px 10px;
        padding: 7px 12px;
        font-size: 10px;
        letter-spacing: 0.08em;
    }

    .bw-promo__full {
        display: none;
    }

    .bw-promo__short {
        display: inline;
    }

    .bw-offer {
        padding: 14px 15px;
    }

    .bw-offer__now {
        font-size: 23px;
    }

    .bw-offer__foot {
        display: block;
    }

    .bw-offer__cta,
    .bw-offer__active {
        margin-top: 11px;
    }
}
