/* Black Friday identity: ink, oxblood, vermilion and warm white. */
.bhbf-announcement,
.bhbf-popup {
    --bf-ink: #0b080a;
    --bf-red: #d8293f;
    --bf-wine: #6d1020;
    --bf-cream: #fff6f1;
    --bf-line: rgba(255, 255, 255, .15);
}

.bhbf-announcement {
    isolation: isolate;
    z-index: 99998;
    background: linear-gradient(105deg, rgba(8, 6, 8, .98), rgba(41, 11, 18, .97) 52%, rgba(7, 6, 7, .99));
    border-bottom: 1px solid rgba(231, 63, 78, .44);
    box-shadow: 0 6px 22px rgba(0, 0, 0, .28);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    color: #fff;
}
.bhbf-announcement::before {
    content: '';
    position: absolute;
    inset: auto 0 0;
    z-index: -1;
    height: 1px;
    background: linear-gradient(90deg, transparent, #bb2437, #ed5e66, #7c1829, transparent);
    opacity: .74;
}
.bhbf-announcement__inner {
    max-width: 1400px;
    min-height: 59px;
    gap: 8px 21px;
    padding: 8px 24px;
}
.bhbf-announcement__brand {
    padding-inline-end: 15px;
    border-inline-end: 1px solid rgba(255, 255, 255, .18);
    color: #f0adb3;
    font-size: 11px;
    font-weight: 750;
}
.bhbf-announcement__brand .bhbf-icon { width: 17px; height: 17px; color: #ef5261; }
.bhbf-announcement__message { font-size: 12px; font-weight: 700; letter-spacing: 0; color: #fff6f3; }
.bhbf-announcement__date { font-size: 11px; color: #bb9da1; }
.bhbf-announcement__timer .bhbf-countdown { display: flex; gap: 6px; }
.bhbf-announcement__timer .bhbf-countdown__unit {
    display: flex;
    min-width: 55px;
    justify-content: center;
    align-items: baseline;
    gap: 5px;
    color: #fff;
    padding: 5px 8px;
    border: 1px solid rgba(221, 89, 102, .34);
    background: rgba(137, 29, 45, .18);
    border-radius: 9px;
}
.bhbf-announcement__timer .bhbf-countdown__unit b { font-size: 13px; font-variant-numeric: tabular-nums; }
.bhbf-announcement__timer .bhbf-countdown__unit small { color: #d7b8bb; font-size: 10px; }
.bhbf-announcement a.bhbf-announcement__action,
.bhbf-announcement a.bhbf-announcement__action:hover {
    min-height: 38px;
    border: 1px solid #e74757;
    border-radius: 10px;
    background: linear-gradient(135deg, #d8273d, #96142a);
    color: #fff;
    padding: 9px 16px;
    font-size: 12px;
    box-shadow: 0 6px 20px rgba(161, 15, 39, .22);
    transition: background .25s ease, box-shadow .25s ease, transform .25s ease;
}
.bhbf-announcement a.bhbf-announcement__action:hover { background: linear-gradient(135deg, #f04958, #b71d34); box-shadow: 0 7px 25px rgba(192, 21, 50, .35); transform: translateY(-1px); }
.bhbf-announcement a.bhbf-announcement__action .bhbf-icon { width: 15px; height: 15px; }
.bhbf-announcement__action:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

/* Home-page modal remains separate from the campaign canvas and never alters the store header. */
.bhbf-popup {
    z-index: 100001;
    padding: 18px;
    font-family: inherit;
    color: #fff;
}
.bhbf-popup__backdrop {
    background: rgba(9, 4, 6, .84);
    -webkit-backdrop-filter: blur(11px) saturate(.75);
    backdrop-filter: blur(11px) saturate(.75);
    animation: bhbf-shade-in .35s ease both;
}
.bhbf-popup__dialog {
    position: relative;
    width: min(950px, 100%);
    min-height: 485px;
    max-height: calc(100dvh - 36px);
    overflow: auto;
    overscroll-behavior: contain;
    display: grid;
    grid-template-columns: 1.04fr .96fr;
    border: 1px solid rgba(255, 180, 179, .34);
    border-radius: 26px;
    background: #100b0f;
    box-shadow: 0 32px 110px rgba(0, 0, 0, .78), 0 0 65px rgba(145, 13, 33, .18);
    isolation: isolate;
    animation: bhbf-dialog-in .65s cubic-bezier(.16, 1, .3, 1) both;
}
.bhbf-popup__dialog::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 5;
    pointer-events: none;
    border-radius: inherit;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.17), inset 0 -1px 0 rgba(255,255,255,.04);
}
.bhbf-popup__content {
    position: relative;
    z-index: 1;
    padding: clamp(34px, 5vw, 68px);
    gap: 22px;
    justify-content: center;
    background:
        radial-gradient(circle at 95% 15%, rgba(176, 39, 57, .30), transparent 46%),
        radial-gradient(circle at 10% 93%, rgba(144, 21, 42, .19), transparent 55%),
        linear-gradient(145deg, rgba(26, 15, 21, .98), rgba(9, 8, 10, .98));
    text-align: right;
}
.bhbf-popup__content::before {
    content: '';
    position: absolute;
    width: 140px;
    height: 140px;
    border: 1px solid rgba(246, 92, 107, .10);
    border-radius: 50%;
    left: -80px;
    top: -80px;
    pointer-events: none;
}
.bhbf-popup__overline {
    border: 1px solid rgba(230, 96, 108, .42);
    background: rgba(171, 31, 51, .13);
    border-radius: 100px;
    padding: 8px 15px;
    font-size: 11px;
    color: #f6c4c5;
    align-self: flex-start;
}
.bhbf-popup__content h2 {
    font-family: inherit;
    margin: 0;
    max-width: 490px;
    font-size: clamp(27px, 3.5vw, 43px);
    line-height: 1.75;
    font-weight: 900;
    letter-spacing: -.035em;
    color: #fff5f3;
    text-wrap: balance;
}
.bhbf-popup__content .bhbf-popup__rule {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 78px;
    height: 2px;
    flex: 0 0 2px;
    background: linear-gradient(90deg, rgba(244, 113, 121, 0), #ef4c5d);
    color: #f2b0b4;
}
.bhbf-popup__rule .bhbf-icon { display: none; }
.bhbf-popup__content p {
    max-width: 400px;
    font-size: 13px;
    line-height: 2.25;
    margin: 0;
    color: #cbb9ba;
}
.bhbf-popup a.bhbf-popup__button,
.bhbf-popup a.bhbf-popup__button:hover {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    align-self: flex-start;
    width: auto;
    min-height: 49px;
    padding: 11px 26px;
    border: 1px solid rgba(255, 129, 136, .4);
    border-radius: 11px;
    background: linear-gradient(120deg, #e2364c, #ab152e);
    color: #fff;
    box-shadow: 0 13px 32px rgba(165, 20, 42, .26), inset 0 1px 0 rgba(255,255,255,.17);
    font-size: 13px;
    font-weight: 850;
    text-decoration: none;
    transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}
.bhbf-popup a.bhbf-popup__button:hover { transform: translateY(-2px); box-shadow: 0 16px 38px rgba(194, 31, 55, .38); }
.bhbf-popup__button .bhbf-icon { width: 16px; height: 16px; }
.bhbf-popup__art,
.bhbf-popup__media {
    position: relative;
    z-index: 0;
    min-height: 480px;
    overflow: hidden;
    color: #fff;
    background:
        linear-gradient(0deg, rgba(11, 5, 9, .70), rgba(31, 8, 15, .25)),
        url('../images/popup-spices.webp') center center / cover no-repeat,
        #250e15;
}
.bhbf-popup__art {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 38px 38px 40px;
    gap: 14px;
    text-align: right;
    direction: rtl;
    isolation: isolate;
}
.bhbf-popup__art::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(0deg, rgba(12, 3, 6, .88), rgba(13, 4, 7, .17) 65%), linear-gradient(110deg, rgba(143, 15, 38, .25), transparent 65%);
    pointer-events: none;
}
.bhbf-popup__art::after {
    content: '';
    position: absolute;
    inset: 1px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: inherit;
    pointer-events: none;
}
.bhbf-popup__art--has-bg::before {
    background: linear-gradient(0deg, rgba(10, 3, 6, .90), rgba(25, 6, 11, .33) 76%), linear-gradient(120deg, rgba(101, 5, 25, .34), transparent);
}
.bhbf-popup__art-bg { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; z-index: -2; }
.bhbf-popup__petals { display: none; }
.bhbf-popup__art-intro,
.bhbf-popup__art-footer {
    position: relative;
    font-size: 12px;
    color: #f1c5c5;
    line-height: 1.9;
    font-weight: 700;
    border: none;
    padding: 0;
    text-shadow: 0 2px 12px rgba(0,0,0,.75);
}
.bhbf-popup__art strong {
    position: relative;
    max-width: 100%;
    white-space: nowrap;
    font-size: clamp(23px, 2.75vw, 38px);
    line-height: 1.6;
    font-weight: 900;
    color: #fff;
    text-shadow: 0 2px 22px rgba(0,0,0,.65);
}
.bhbf-popup__art-mark { display: none; }
.bhbf-popup__media img { display: block; width: 100%; height: 100%; object-fit: cover; filter: none; }
.bhbf-popup button.bhbf-popup__close {
    top: 18px;
    left: 18px;
    right: auto;
    z-index: 8;
    width: 35px;
    height: 35px;
    min-width: 35px;
    min-height: 35px;
    padding: 0;
    margin: 0;
    border: 1px solid rgba(255,255,255,.30);
    background: rgba(20, 13, 17, .51);
    -webkit-backdrop-filter: blur(9px);
    backdrop-filter: blur(9px);
    color: #fff;
    border-radius: 50%;
    box-shadow: 0 4px 16px rgba(0,0,0,.24);
    cursor: pointer;
    transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.bhbf-popup button.bhbf-popup__close:hover { border-color: #ffb1b7; background: #9c192d; color: #fff; transform: rotate(90deg); }
.bhbf-popup :focus-visible { outline: 2px solid #ffe2db; outline-offset: 3px; }

@keyframes bhbf-dialog-in {
    from { opacity: 0; transform: translateY(20px) scale(.975); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes bhbf-shade-in { from { opacity: 0; } to { opacity: 1; } }

@media (max-width: 767px) {
    .bhbf-announcement__inner { min-height: 62px; padding: 7px 12px; gap: 5px 9px; }
    .bhbf-announcement__brand, .bhbf-announcement__date { display: none !important; }
    .bhbf-announcement__message { width: auto; flex: 1 1 180px; font-size: 11px; line-height: 1.6; }
    .bhbf-announcement__timer { width: auto; flex: 1 1 100%; }
    .bhbf-announcement__timer .bhbf-countdown { justify-content: center; }
    .bhbf-announcement__timer .bhbf-countdown__unit { min-width: 50px; padding: 2px 5px; }
    .bhbf-announcement a.bhbf-announcement__action { margin-inline-start: auto; padding: 7px 11px; min-height: 35px; font-size: 10px; }
    .bhbf-popup { padding: 10px; }
    .bhbf-popup__dialog {
        width: min(100%, 440px);
        display: flex;
        flex-direction: column;
        max-height: calc(100dvh - 20px);
        min-height: 0;
        border-radius: 19px;
    }
    .bhbf-popup__content { padding: 34px 24px 27px; gap: 15px; order: 2; }
    .bhbf-popup__content h2 { font-size: clamp(21px, 5.7vw, 31px); line-height: 1.65; }
    .bhbf-popup__content p { font-size: 12px; line-height: 2; }
    .bhbf-popup a.bhbf-popup__button { width: 100%; align-self: stretch; }
    .bhbf-popup__art, .bhbf-popup__media { order: 1; min-height: 205px; height: 205px; }
    .bhbf-popup__art { align-items: flex-start; justify-content: end; text-align: right; gap: 5px; padding: 22px; }
    .bhbf-popup__art-intro { font-size: 10px; }
    .bhbf-popup__art strong { font-size: clamp(19px, 6vw, 28px); }
    .bhbf-popup__art-footer { display: none; }
    .bhbf-popup button.bhbf-popup__close { top: 12px; left: 12px; }
}
@media (max-width: 370px) {
    .bhbf-announcement__message { font-size: 10px; }
    .bhbf-popup__art, .bhbf-popup__media { height: 158px; min-height: 158px; }
    .bhbf-popup__content { padding: 23px 18px; gap: 10px; }
    .bhbf-popup__content h2 { font-size: 21px; }
    .bhbf-popup__content p { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
    .bhbf-popup__backdrop, .bhbf-popup__dialog { animation: none; }
    .bhbf-popup *, .bhbf-announcement * { transition-duration: 0s !important; }
}
