/* ============================================
   BLACK FRIDAY EVENT 2026 — Laura's Beauty Touch
   Every rule is scoped to html.bf-on, which /js/black-friday.js
   adds only between Nov 18 and Nov 30. Outside those dates this
   file changes nothing.
   ============================================ */

html.bf-on {
    --bf-black: #000;
    --bf-ivory: #FAFAF7;
    --bf-gold: #D4AF37;
    --bf-brass: #B99A52;
    --bf-smoke: #A29E94;
    --bf-bar-h: 40px;
}

/* ---------- Announcement bar ---------- */
html.bf-on .bf-bar {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    width: 100%;
    height: var(--bf-bar-h);
    padding: 0 16px;
    background: var(--bf-black);
    color: var(--bf-ivory);
    font-family: 'Lato', sans-serif;
    font-size: 0.92rem;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
}

html.bf-on .bf-bar-name {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.05rem;
    color: var(--bf-gold);
}

html.bf-on .bf-bar-offer strong {
    font-weight: 700;
}

html.bf-on .bf-bar-dates {
    padding-left: 18px;
    border-left: 1px solid rgba(250, 250, 247, 0.28);
    color: rgba(250, 250, 247, 0.82);
}

html.bf-on .bf-bar-cta {
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: var(--bf-gold);
    text-decoration-thickness: 1.5px;
    text-underline-offset: 4px;
}

html.bf-on .bf-bar:hover .bf-bar-cta {
    color: var(--bf-gold);
}

html.bf-on .bf-bar:focus-visible {
    outline: 2px solid var(--bf-gold);
    outline-offset: -4px;
}

html.bf-on .bf-bar-short {
    display: none;
}

/* The fixed header sits just under the bar */
html.bf-on .premium-header {
    top: var(--bf-bar-h);
}

html.bf-on .giftcard-premium-link {
    margin-top: var(--bf-bar-h);
}

/* Home page: the logo's black lettering disappears on the black hero, so show it in white until the header turns light */
html.bf-on body.bf-home .premium-header:not(.scrolled) .header-logo {
    filter: brightness(0) invert(1);
}

/* ---------- Home hero ---------- */
html.bf-on .hero-section .fall-offer {
    display: none;
}

html.bf-on .hero-section {
    background: var(--bf-black);
}

html.bf-on .hero-section .video-item {
    background: var(--bf-black);
}

html.bf-on .hero-section .hero-video {
    filter: grayscale(1) brightness(0.5) contrast(1.15);
}

html.bf-on .hero-section .hero-master-overlay {
    background: radial-gradient(ellipse at 50% 45%, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.72) 70%);
}

html.bf-on .bf-hero {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
    color: var(--bf-ivory);
}

html.bf-on .bf-hero-name {
    margin: 0;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 400;
    font-size: clamp(1.1rem, 2.1vw, 1.6rem);
    color: var(--bf-gold);
}

html.bf-on .bf-hero-title {
    margin: 0.04em 0 0.14em;
    font-family: 'Playfair Display', serif;
    font-weight: 500;
    font-size: clamp(5.6rem, 21vw, 16.5rem);
    line-height: 0.92;
    letter-spacing: -0.035em;
    color: var(--bf-ivory);
    white-space: nowrap;
    animation: bfRise 1.1s cubic-bezier(0.2, 0.7, 0.2, 1) 0.5s both;
}

@keyframes bfRise {
    from { opacity: 0; transform: translateY(0.12em); }
    to { opacity: 1; transform: none; }
}

html.bf-on .bf-hero-sub {
    max-width: 30em;
    margin: 0 auto 30px;
    font-size: clamp(1.02rem, 1.5vw, 1.2rem);
    line-height: 1.55;
    color: rgba(250, 250, 247, 0.9);
    text-wrap: balance;
}

html.bf-on .bf-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
}

html.bf-on .bf-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 0 32px;
    border-radius: 999px;
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

html.bf-on .bf-btn-gold {
    background: var(--bf-gold);
    color: var(--bf-black);
}

html.bf-on .bf-btn-gold:hover {
    background: #E6C452;
}

html.bf-on .bf-btn-line {
    border: 1.5px solid rgba(250, 250, 247, 0.6);
    color: var(--bf-ivory);
}

html.bf-on .bf-btn-line:hover {
    border-color: var(--bf-ivory);
    background: rgba(250, 250, 247, 0.1);
}

html.bf-on .bf-btn:focus-visible {
    outline: 3px solid var(--bf-ivory);
    outline-offset: 3px;
}

html.bf-on .bf-time-left {
    margin: 26px 0 0;
    font-size: 0.98rem;
    color: rgba(250, 250, 247, 0.85);
}

html.bf-on .bf-time-left-count {
    margin-left: 10px;
    padding-left: 12px;
    border-left: 1px solid rgba(250, 250, 247, 0.35);
    font-weight: 700;
    color: var(--bf-gold);
    font-variant-numeric: tabular-nums;
}

html.bf-on .bf-terms {
    margin: 8px 0 0;
    font-size: 0.86rem;
    line-height: 1.5;
    color: rgba(250, 250, 247, 0.66);
}

/* ---------- The Black Friday menu (home + specials page) ---------- */
html.bf-on .bf-menu {
    background: var(--bf-black);
    color: var(--bf-ivory);
}

html.bf-on .bf-menu-inner {
    display: grid;
    grid-template-columns: 5fr 7fr;
    column-gap: 80px;
    row-gap: 48px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 110px 40px 100px;
}

html.bf-on .bf-menu-title {
    margin: 0 0 20px;
    font-family: 'Playfair Display', serif;
    font-weight: 500;
    font-size: clamp(2.3rem, 4.4vw, 3.7rem);
    line-height: 1.05;
    letter-spacing: -0.015em;
    color: var(--bf-ivory);
    text-wrap: balance;
}

html.bf-on .bf-menu-lede {
    max-width: 26em;
    margin: 0;
    font-size: 1.08rem;
    line-height: 1.65;
    color: rgba(250, 250, 247, 0.78);
}

html.bf-on .bf-menu-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

html.bf-on .bf-menu-row {
    display: flex;
    align-items: baseline;
    gap: 14px;
    padding: 15px 0;
    color: var(--bf-ivory);
    text-decoration: none;
}

html.bf-on .bf-menu-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.32rem;
    line-height: 1.25;
    transition: color 0.2s ease;
}

html.bf-on .bf-menu-dots {
    flex: 1;
    min-width: 24px;
    border-bottom: 1px dotted rgba(185, 154, 82, 0.75);
    transform: translateY(-5px);
}

html.bf-on .bf-menu-price {
    font-size: 1rem;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

html.bf-on .bf-menu-from,
html.bf-on .bf-menu-price s {
    color: var(--bf-smoke);
}

html.bf-on .bf-menu-price strong {
    margin-left: 6px;
    font-family: 'Playfair Display', serif;
    font-size: 1.32rem;
    font-weight: 600;
    color: var(--bf-gold);
}

html.bf-on .bf-menu-row:hover .bf-menu-name,
html.bf-on .bf-menu-row:focus-visible .bf-menu-name {
    color: var(--bf-gold);
}

html.bf-on .bf-menu-row:focus-visible {
    outline: 2px solid var(--bf-gold);
    outline-offset: 4px;
}

html.bf-on .bf-menu-head {
    grid-column: 1;
    grid-row: 1;
}

html.bf-on .bf-menu-list {
    grid-column: 2;
    grid-row: 1 / span 2;
}

html.bf-on .bf-menu-foot {
    grid-column: 1;
    grid-row: 2;
    align-self: end;
}

html.bf-on .bf-menu-foot .bf-actions {
    justify-content: flex-start;
}

html.bf-on .bf-menu-foot .bf-terms {
    margin: 18px 0 0;
}

/* On the specials page the menu replaces the "no specials" message */
html.bf-on body[data-category="specials"] #services-section {
    display: none;
}

html.bf-on body[data-category="specials"] .category-hero .hero-background {
    filter: grayscale(1);
}

html.bf-on body[data-category="specials"] .category-hero .hero-overlay {
    background: rgba(0, 0, 0, 0.74);
}

/* ---------- Service cards: Black Friday price ---------- */
html.bf-on .bf-price-was {
    color: #8E8E8E;
    text-decoration: line-through;
    margin-right: 6px;
}

html.bf-on .bf-price-now {
    font-weight: 700;
    font-size: 1.12em;
    color: var(--charcoal, #1C1C1C);
}

html.bf-on .bf-price-tag {
    display: inline-block;
    margin-left: 8px;
    padding: 4px 11px;
    border-radius: 20px;
    background: var(--bf-black);
    color: var(--bf-ivory);
    font-size: 0.78rem;
    font-weight: 700;
    white-space: nowrap;
}

/* ---------- Smaller screens ---------- */
@media (max-width: 1000px) {
    html.bf-on .bf-menu-inner {
        grid-template-columns: 1fr;
        row-gap: 36px;
        padding: 80px 28px 76px;
    }

    html.bf-on .bf-menu-head,
    html.bf-on .bf-menu-list,
    html.bf-on .bf-menu-foot {
        grid-column: 1;
        grid-row: auto;
    }
}

@media (max-width: 760px) {
    html.bf-on {
        --bf-bar-h: 38px;
    }

    html.bf-on .bf-bar {
        gap: 12px;
        font-size: 0.86rem;
    }

    html.bf-on .bf-bar-long {
        display: none;
    }

    html.bf-on .bf-bar-short {
        display: inline;
    }

    html.bf-on .bf-bar-dates {
        padding-left: 0;
        border-left: 0;
    }

    html.bf-on .bf-bar-name {
        font-size: 0.98rem;
    }
}

@media (max-width: 480px) {
    html.bf-on .bf-hero-sub {
        margin-bottom: 24px;
    }

    html.bf-on .bf-hero .bf-btn,
    html.bf-on .bf-menu .bf-btn {
        width: 100%;
    }

    html.bf-on .bf-menu-inner {
        padding: 64px 20px 60px;
    }

    html.bf-on .bf-menu-name,
    html.bf-on .bf-menu-price strong {
        font-size: 1.14rem;
    }

    html.bf-on .bf-menu-row {
        gap: 10px;
        padding: 13px 0;
    }

    html.bf-on .bf-time-left-count {
        display: block;
        margin: 4px 0 0;
        padding-left: 0;
        border-left: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    html.bf-on .bf-hero-title {
        animation: none;
    }

    html.bf-on .bf-btn,
    html.bf-on .bf-menu-name {
        transition: none;
    }
}
