/* =====================================================================
   Baby Beauty • Premium Design System
   Palette
     --warm-white   #F9F9F9   base background
     --charcoal     #2C2C2C   text + icons
     --rose         #E25E7B   CTAs, accents, discount banners
     --champagne    #EBE2D8   luxury neutral / tiles / dividers
   Typography
     Display : Playfair Display (serif)
     Accent  : Cormorant Garamond (serif italic)
     Body    : Inter (sans)
   ===================================================================== */

:root {
    --warm-white: #F9F9F9;
    --warm-white-2: #FFFFFF;
    --charcoal: #2C2C2C;
    --charcoal-60: rgba(44, 44, 44, 0.6);
    --charcoal-40: rgba(44, 44, 44, 0.4);
    --charcoal-12: rgba(44, 44, 44, 0.12);
    --charcoal-06: rgba(44, 44, 44, 0.06);
    --rose: #E25E7B;
    --rose-soft: #F4B7C5;
    --rose-deep: #C24061;
    --rose-tint: #FDEDF1;
    --champagne: #EBE2D8;
    --champagne-soft: #F5EFE7;
    --gold: #B8945F;
    --success: #4F8A6B;
    --danger: #C0392B;

    --radius-xs: 6px;
    --radius-sm: 10px;
    --radius-md: 18px;
    --radius-lg: 28px;
    --radius-xl: 42px;
    --radius-pill: 999px;

    --shadow-xs: 0 1px 2px rgba(44,44,44,0.06);
    --shadow-sm: 0 6px 14px rgba(44,44,44,0.06);
    --shadow-md: 0 18px 40px -22px rgba(44,44,44,0.25);
    --shadow-lg: 0 34px 70px -30px rgba(44,44,44,0.35);
    --shadow-rose: 0 18px 40px -18px rgba(226,94,123,0.55);

    --font-display: "Playfair Display", "Cormorant Garamond", Georgia, serif;
    --font-accent: "Cormorant Garamond", "Playfair Display", Georgia, serif;
    --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

    --ease-luxe: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);

    --container: 1280px;
    --header-h: 88px;
}

/* ---------- Reset & base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { background: var(--warm-white); color: var(--charcoal); }
body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin: 0;
    overflow-x: hidden;
}

::selection { background: var(--rose); color: #fff; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .25s var(--ease-soft); }
a:hover { color: var(--rose); }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, .display, .h-display {
    font-family: var(--font-display);
    color: var(--charcoal);
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.12;
    margin: 0 0 0.5em;
}

h1, .h-display-1 { font-size: clamp(2.6rem, 5vw + 1rem, 5.6rem); font-weight: 500; letter-spacing: -0.02em; }
h2, .h-display-2 { font-size: clamp(2rem, 3vw + 0.6rem, 3.4rem); }
h3, .h-display-3 { font-size: clamp(1.4rem, 1.4vw + 0.8rem, 2rem); }
h4 { font-size: 1.25rem; }
p { margin: 0 0 1rem; color: var(--charcoal); opacity: 0.86; }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.32em;
    color: var(--rose);
}
.eyebrow::before {
    content: "";
    width: 28px; height: 1px;
    background: var(--rose);
    display: inline-block;
}
.eyebrow.eyebrow-center::after {
    content: "";
    width: 28px; height: 1px;
    background: var(--rose);
    display: inline-block;
}
.eyebrow.eyebrow-charcoal { color: var(--charcoal); }
.eyebrow.eyebrow-charcoal::before, .eyebrow.eyebrow-charcoal::after { background: var(--charcoal); }

.script {
    font-family: var(--font-accent);
    font-style: italic;
    color: var(--rose);
    font-weight: 500;
}

.lead { font-size: 1.125rem; color: var(--charcoal-60); }

/* ---------- Layout ---------- */
.container-bb {
    width: min(100% - 2.5rem, var(--container));
    margin-inline: auto;
}
section { padding: clamp(4rem, 8vw, 7rem) 0; position: relative; }
.section-tight { padding: clamp(2.5rem, 5vw, 4rem) 0; }

.bg-warm { background: var(--warm-white); }
.bg-cream { background: var(--champagne-soft); }
.bg-champagne { background: var(--champagne); }
.bg-charcoal { background: var(--charcoal); color: #fff; }
.bg-charcoal h1, .bg-charcoal h2, .bg-charcoal h3, .bg-charcoal h4 { color: #fff; }
.bg-charcoal p { color: rgba(255,255,255,0.78); }
.bg-rose { background: var(--rose); color: #fff; }
.bg-rose-tint { background: var(--rose-tint); }

.divider-leaf {
    text-align: center;
    margin: 2.5rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: var(--rose);
}
.divider-leaf::before,
.divider-leaf::after {
    content: "";
    height: 1px;
    width: 80px;
    background: linear-gradient(to right, transparent, var(--rose), transparent);
}

/* ---------- Buttons ---------- */
.btn-bb {
    --bg: var(--rose);
    --fg: #fff;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.95rem 1.8rem;
    background: var(--bg);
    color: var(--fg);
    border: 1px solid var(--bg);
    border-radius: var(--radius-pill);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.92rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform .35s var(--ease-luxe), box-shadow .35s var(--ease-luxe), background .25s, color .25s, border-color .25s;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
.btn-bb i { font-size: 1.15rem; }
.btn-bb::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.35) 50%, transparent 100%);
    transform: translateX(-110%);
    transition: transform .9s var(--ease-luxe);
    z-index: -1;
}
.btn-bb:hover { transform: translateY(-2px); box-shadow: var(--shadow-rose); color: #fff; }
.btn-bb:hover::before { transform: translateX(110%); }
.btn-bb:active { transform: translateY(0); }

.btn-bb.btn-ghost { --bg: transparent; --fg: var(--charcoal); border-color: var(--charcoal); }
.btn-bb.btn-ghost:hover { background: var(--charcoal); color: #fff; box-shadow: var(--shadow-md); }

.btn-bb.btn-ivory { --bg: var(--warm-white); --fg: var(--charcoal); border-color: var(--warm-white); }
.btn-bb.btn-ivory:hover { background: var(--rose); color: #fff; border-color: var(--rose); }

.btn-bb.btn-outline-rose { --bg: transparent; --fg: var(--rose); border-color: var(--rose); }
.btn-bb.btn-outline-rose:hover { background: var(--rose); color: #fff; }

.btn-bb.btn-sm { padding: 0.65rem 1.2rem; font-size: 0.78rem; }
.btn-bb.btn-lg { padding: 1.15rem 2.4rem; font-size: 1rem; }
.btn-bb.btn-block { width: 100%; justify-content: center; }

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--charcoal);
    position: relative;
    padding-bottom: 2px;
}
.link-arrow::after {
    content: "";
    position: absolute;
    left: 0; bottom: 0;
    height: 1px;
    width: 100%;
    background: var(--charcoal);
    transform-origin: right;
    transform: scaleX(1);
    transition: transform .5s var(--ease-luxe);
}
.link-arrow:hover { color: var(--rose); }
.link-arrow:hover::after { transform-origin: left; transform: scaleX(0); }
.link-arrow i { transition: transform .35s var(--ease-luxe); }
.link-arrow:hover i { transform: translateX(4px); color: var(--rose); }

/* ---------- Navigation ---------- */
.bb-announce {
    background: var(--charcoal);
    color: #fff;
    font-size: 0.78rem;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    padding: 0.55rem 0;
    overflow: hidden;
    position: relative;
}
.bb-announce-track { display: flex; gap: 4rem; white-space: nowrap; animation: bb-marquee 30s linear infinite; }
.bb-announce span { display: inline-flex; align-items: center; gap: 0.6rem; }
.bb-announce i { color: var(--rose); }

.bb-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(249,249,249,0.78);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--charcoal-06);
    transition: padding .35s var(--ease-soft), background .35s;
}
.bb-header.is-scrolled { padding-block: 0.25rem; background: rgba(249,249,249,0.95); }
.bb-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding-block: 1.1rem;
}
.bb-logo {
    font-family: var(--font-display);
    font-size: 1.75rem;
    letter-spacing: -0.01em;
    color: var(--charcoal);
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
}
.bb-logo b { font-weight: 600; }
.bb-logo .dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: var(--rose);
    box-shadow: 0 0 0 4px var(--rose-tint);
    display: inline-block;
}
.bb-logo-img {
    height: 40px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
    display: inline-block;
    vertical-align: middle;
}
.admin-side .bb-logo-img { height: 44px; max-width: 190px; }
.bb-footer .bb-logo-img { height: 44px; max-width: 220px; filter: brightness(0) invert(1); }
.auth-page .bb-logo-img { filter: brightness(0) invert(1); }

.bb-menu {
    display: flex;
    align-items: center;
    gap: 2.2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}
.bb-menu a {
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--charcoal);
    position: relative;
    padding: 0.4rem 0;
}
.bb-menu a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -2px;
    height: 2px;
    width: 0;
    background: var(--rose);
    transition: width .4s var(--ease-luxe), left .4s var(--ease-luxe);
}
.bb-menu a:hover::after, .bb-menu a.is-active::after { width: 100%; left: 0; }

.bb-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.bb-icon-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--charcoal-12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: var(--charcoal);
    cursor: pointer;
    position: relative;
    transition: all .3s var(--ease-soft);
}
.bb-icon-btn:hover { background: var(--rose); color: #fff; border-color: var(--rose); transform: translateY(-2px); }
.bb-icon-btn i { font-size: 1.2rem; }
.bb-icon-btn .count {
    position: absolute;
    top: -4px; right: -4px;
    min-width: 20px; height: 20px;
    padding: 0 6px;
    border-radius: 999px;
    background: var(--rose);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 2px var(--warm-white);
}

.bb-burger { display: none; }

@media (max-width: 991px) {
    .bb-menu { display: none; }
    .bb-burger { display: inline-flex; }
}

.bb-mobile {
    position: fixed;
    inset: 0;
    background: var(--warm-white);
    z-index: 90;
    transform: translateX(100%);
    transition: transform .5s var(--ease-luxe);
    padding: 6rem 2rem 2rem;
    overflow-y: auto;
}
.bb-mobile.is-open { transform: translateX(0); }
.bb-mobile ul { list-style: none; padding: 0; margin: 0; }
.bb-mobile li { border-bottom: 1px solid var(--charcoal-06); }
.bb-mobile a { display: block; padding: 1rem 0; font-family: var(--font-display); font-size: 1.6rem; color: var(--charcoal); }
.bb-mobile .close {
    position: absolute;
    top: 1.5rem; right: 1.5rem;
}

/* ---------- Hero ---------- */
.bb-hero {
    position: relative;
    min-height: clamp(620px, 92vh, 880px);
    padding: clamp(4rem, 8vw, 8rem) 0 clamp(3rem, 6vw, 5rem);
    overflow: hidden;
    background:
        radial-gradient(circle at 80% 0%, var(--rose-tint), transparent 55%),
        radial-gradient(circle at 0% 100%, var(--champagne), transparent 55%),
        var(--warm-white);
}
.bb-hero::before {
    content: "";
    position: absolute;
    inset: auto -10% -10% auto;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, var(--rose-soft) 0%, transparent 60%);
    opacity: 0.4;
    filter: blur(40px);
    z-index: 0;
}
.bb-hero .container-bb { position: relative; z-index: 1; }
.bb-hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
}
@media (max-width: 991px) {
    .bb-hero-grid { grid-template-columns: 1fr; }
}
.bb-hero-copy h1 {
    font-size: clamp(2.8rem, 5vw, 5.5rem);
    line-height: 1.02;
    font-weight: 500;
}
.bb-hero-copy h1 .script { font-size: 1.05em; }
.bb-hero-copy .lead {
    max-width: 520px;
    font-size: 1.1rem;
    color: var(--charcoal-60);
    margin-bottom: 2rem;
}
.bb-hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 3rem;
}
.bb-hero-meta {
    display: flex;
    gap: 2.5rem;
    flex-wrap: wrap;
    padding-top: 2rem;
    border-top: 1px solid var(--charcoal-12);
}
.bb-hero-meta .item .num { font-family: var(--font-display); font-size: 2rem; color: var(--charcoal); display: block; line-height: 1; }
.bb-hero-meta .item .lbl { font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--charcoal-60); }

.bb-hero-art {
    position: relative;
    aspect-ratio: 4/5;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.bb-hero-art img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 1.4s var(--ease-luxe); }
.bb-hero-art:hover img { transform: scale(1.06); }
.bb-hero-art .badge-circle {
    position: absolute;
    bottom: -28px; left: -28px;
    width: 168px; height: 168px;
    border-radius: 50%;
    background: var(--charcoal);
    color: #fff;
    display: grid;
    place-items: center;
    text-align: center;
    font-family: var(--font-display);
    font-style: italic;
    box-shadow: var(--shadow-md);
}
.bb-hero-art .badge-circle small { display: block; font-family: var(--font-body); font-style: normal; font-size: 0.7rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--rose-soft); margin-bottom: 0.4rem; }
.bb-hero-art .badge-circle b { display: block; font-size: 2.4rem; font-weight: 500; }
.bb-hero-art .float-card {
    position: absolute;
    top: 8%; right: -28px;
    background: #fff;
    border-radius: var(--radius-md);
    padding: 0.9rem 1.1rem;
    display: flex; align-items: center; gap: 0.85rem;
    box-shadow: var(--shadow-md);
    max-width: 260px;
}
.bb-hero-art .float-card .ic { width: 42px; height: 42px; border-radius: 50%; background: var(--rose-tint); display: grid; place-items: center; color: var(--rose); font-size: 1.3rem; }
.bb-hero-art .float-card .t { font-size: 0.78rem; color: var(--charcoal-60); }
.bb-hero-art .float-card .v { font-family: var(--font-display); font-size: 1.05rem; color: var(--charcoal); }

/* ---------- Cards / Product ---------- */
.product-card {
    background: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-xs);
    border: 1px solid var(--charcoal-06);
    transition: transform .5s var(--ease-luxe), box-shadow .5s var(--ease-luxe), border-color .35s;
    position: relative;
    display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.product-card .media {
    position: relative;
    aspect-ratio: 4/5;
    overflow: hidden;
    background: var(--champagne-soft);
}
.product-card .media img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 1.1s var(--ease-luxe);
}
.product-card:hover .media img { transform: scale(1.07); }
.product-card .badges {
    position: absolute;
    top: 1rem; left: 1rem;
    display: flex; flex-direction: column; gap: 0.4rem;
}
.product-card .pill {
    display: inline-flex;
    padding: 0.32rem 0.7rem;
    border-radius: var(--radius-pill);
    background: var(--rose);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.product-card .pill.pill-charcoal { background: var(--charcoal); }
.product-card .pill.pill-champ { background: var(--champagne); color: var(--charcoal); }
.product-card .quick {
    position: absolute;
    inset: auto 1rem 1rem auto;
    display: flex; flex-direction: column; gap: 0.5rem;
    opacity: 0; transform: translateX(8px);
    transition: all .35s var(--ease-soft);
}
.product-card:hover .quick { opacity: 1; transform: translateX(0); }
.product-card .quick button {
    width: 40px; height: 40px;
    border-radius: 50%;
    border: 0;
    background: #fff;
    color: var(--charcoal);
    cursor: pointer;
    display: grid; place-items: center;
    box-shadow: var(--shadow-sm);
    transition: all .25s var(--ease-soft);
}
.product-card .quick button:hover { background: var(--rose); color: #fff; }
.product-card .body { padding: 1.2rem 1.3rem 1.5rem; display: flex; flex-direction: column; gap: 0.4rem; flex: 1; }
.product-card .cat { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--rose); font-weight: 600; }
.product-card h3 { font-family: var(--font-display); font-size: 1.18rem; margin: 0; font-weight: 600; }
.product-card .stars { color: #E0B650; font-size: 0.85rem; }
.product-card .row-end { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.product-card .price { font-family: var(--font-display); font-size: 1.3rem; color: var(--charcoal); }
.product-card .price del { color: var(--charcoal-40); font-size: 0.9rem; margin-right: 0.4rem; }
.product-card .add {
    width: 42px; height: 42px;
    border-radius: 50%;
    border: 1px solid var(--charcoal);
    background: transparent;
    color: var(--charcoal);
    cursor: pointer;
    display: grid; place-items: center;
    transition: all .3s var(--ease-soft);
}
.product-card .add:hover { background: var(--charcoal); color: #fff; transform: rotate(45deg); }
.product-card .add:hover i { transform: rotate(-45deg); }
.product-card .add i { transition: transform .3s var(--ease-soft); }

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5rem;
}

/* ---------- Category tiles ---------- */
.cat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
}
.cat-tile {
    position: relative;
    aspect-ratio: 3/4;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--champagne);
    transition: transform .5s var(--ease-luxe);
}
.cat-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-luxe); }
.cat-tile:hover { transform: translateY(-6px); }
.cat-tile:hover img { transform: scale(1.08); }
.cat-tile::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 35%, rgba(44,44,44,0.78) 100%);
}
.cat-tile .cap {
    position: absolute;
    inset: auto 0 0 0;
    padding: 1.6rem;
    z-index: 1;
    color: #fff;
}
.cat-tile .cap h3 { color: #fff; font-size: 1.4rem; margin: 0 0 0.4rem; }
.cat-tile .cap span { font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--rose-soft); }
.cat-tile .cap .arrow { width: 38px; height: 38px; border-radius: 50%; background: var(--rose); color: #fff; display: grid; place-items: center; margin-top: 1rem; transition: transform .35s var(--ease-luxe); }
.cat-tile:hover .cap .arrow { transform: translateX(6px); }

/* ---------- Service card ---------- */
.service-card {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 2rem 1.8rem;
    border: 1px solid var(--charcoal-06);
    transition: all .4s var(--ease-luxe);
    display: flex; flex-direction: column; gap: 1rem;
    height: 100%;
}
.service-card:hover { background: var(--charcoal); color: #fff; transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-card:hover h3, .service-card:hover p, .service-card:hover .meta { color: #fff; }
.service-card .ic {
    width: 56px; height: 56px; border-radius: 50%;
    background: var(--rose-tint); color: var(--rose);
    display: grid; place-items: center;
    font-size: 1.6rem;
    transition: all .4s var(--ease-luxe);
}
.service-card:hover .ic { background: var(--rose); color: #fff; transform: rotate(-8deg); }
.service-card h3 { margin: 0; font-size: 1.3rem; }
.service-card p { margin: 0; font-size: 0.95rem; color: var(--charcoal-60); }
.service-card .meta { display: flex; align-items: center; justify-content: space-between; padding-top: 1rem; border-top: 1px dashed var(--charcoal-12); font-size: 0.85rem; color: var(--charcoal-60); }
.service-card .meta b { font-family: var(--font-display); font-size: 1.2rem; color: var(--charcoal); }
.service-card:hover .meta b { color: #fff; }
.service-card:hover .meta { border-color: rgba(255,255,255,0.18); }

/* ---------- Stylist ---------- */
.stylist-card {
    text-align: center;
    background: #fff;
    border-radius: var(--radius-md);
    padding: 1.25rem 1.25rem 1.75rem;
    border: 1px solid var(--charcoal-06);
    transition: all .4s var(--ease-luxe);
}
.stylist-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.stylist-card .photo {
    width: 100%;
    aspect-ratio: 1;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--champagne-soft);
    margin-bottom: 1rem;
    position: relative;
}
.stylist-card .photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-luxe); }
.stylist-card:hover .photo img { transform: scale(1.07); }
.stylist-card .photo .socials {
    position: absolute;
    inset: auto 0 1rem 0;
    display: flex; justify-content: center; gap: 0.5rem;
    opacity: 0; transform: translateY(8px);
    transition: all .35s var(--ease-soft);
}
.stylist-card:hover .photo .socials { opacity: 1; transform: translateY(0); }
.stylist-card .photo .socials a {
    width: 36px; height: 36px; border-radius: 50%;
    background: #fff; color: var(--charcoal);
    display: grid; place-items: center;
    box-shadow: var(--shadow-sm);
}
.stylist-card .photo .socials a:hover { background: var(--rose); color: #fff; }
.stylist-card h3 { font-size: 1.2rem; margin: 0 0 0.2rem; }
.stylist-card .role { font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--rose); font-weight: 600; }

/* ---------- Testimonial ---------- */
.testimonial {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 2rem;
    border: 1px solid var(--charcoal-06);
    position: relative;
    transition: all .4s var(--ease-luxe);
    height: 100%;
}
.testimonial:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.testimonial .quote { font-family: var(--font-display); font-size: 6rem; line-height: 0; color: var(--rose-tint); position: absolute; top: 2.2rem; right: 1.5rem; }
.testimonial p { font-family: var(--font-accent); font-style: italic; font-size: 1.2rem; color: var(--charcoal); line-height: 1.5; }
.testimonial .person { display: flex; align-items: center; gap: 0.85rem; margin-top: 1.4rem; }
.testimonial .person img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.testimonial .person b { display: block; font-family: var(--font-display); font-size: 1rem; }
.testimonial .person span { font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--charcoal-60); }
.testimonial .stars { color: #E0B650; margin-bottom: 0.5rem; }

/* ---------- Forms ---------- */
.field { margin-bottom: 1rem; }
.field label { display: block; font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--charcoal-60); margin-bottom: 0.4rem; font-weight: 600; }
.field input, .field select, .field textarea {
    width: 100%;
    padding: 0.95rem 1.1rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--charcoal-12);
    background: #fff;
    color: var(--charcoal);
    font-family: var(--font-body);
    font-size: 0.98rem;
    transition: all .3s var(--ease-soft);
}
.field input:focus, .field select:focus, .field textarea:focus {
    outline: none;
    border-color: var(--rose);
    box-shadow: 0 0 0 4px var(--rose-tint);
}
.field .help { font-size: 0.78rem; color: var(--charcoal-60); margin-top: 0.35rem; }

.search-bar {
    display: flex;
    background: #fff;
    border-radius: var(--radius-pill);
    padding: 0.4rem 0.4rem 0.4rem 1.4rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--charcoal-06);
    align-items: center;
    gap: 0.6rem;
}
.search-bar input { flex: 1; border: 0; background: transparent; padding: 0.7rem 0; font-size: 1rem; outline: none; }
.search-bar i { color: var(--rose); font-size: 1.3rem; }

/* ---------- Footer ---------- */
.bb-footer {
    background: var(--charcoal);
    color: rgba(255,255,255,0.78);
    padding: clamp(3rem, 6vw, 5rem) 0 1.5rem;
    margin-top: 0;
}
.bb-footer h4 { color: #fff; font-family: var(--font-display); font-size: 1.1rem; margin-bottom: 1.2rem; }
.bb-footer a { color: rgba(255,255,255,0.7); display: block; padding: 0.3rem 0; font-size: 0.92rem; }
.bb-footer a:hover { color: var(--rose); }
.bb-footer .top {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr;
    gap: 2.5rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
@media (max-width: 991px) {
    .bb-footer .top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 575px) {
    .bb-footer .top { grid-template-columns: 1fr; }
}
.bb-footer .brand .bb-logo { color: #fff; }
.bb-footer .brand p { color: rgba(255,255,255,0.6); margin: 1rem 0 1.4rem; }
.bb-footer .socials { display: flex; gap: 0.6rem; }
.bb-footer .socials a {
    width: 40px; height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.15);
    display: grid; place-items: center;
    padding: 0;
    color: #fff;
    transition: all .3s var(--ease-soft);
}
.bb-footer .socials a:hover { background: var(--rose); border-color: var(--rose); transform: translateY(-3px); }
.bb-footer .news input {
    width: 100%;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    color: #fff;
    padding: 0.95rem 1.1rem;
    border-radius: var(--radius-pill);
    outline: none;
    margin-bottom: 0.6rem;
}
.bb-footer .news input::placeholder { color: rgba(255,255,255,0.5); }
.bb-footer .bottom {
    display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
    padding-top: 1.5rem;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.5);
}
.bb-footer .pay { display: flex; gap: 0.5rem; align-items: center; color: rgba(255,255,255,0.7); }
.bb-footer .pay i { font-size: 1.6rem; }
.bb-footer .credit {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.55);
    letter-spacing: 0.04em;
}
.bb-footer .credit i { color: var(--rose); margin: 0 0.2rem; }
.bb-footer .credit a { color: rgba(255,255,255,0.85); font-weight: 600; }
.bb-footer .credit a:hover { color: var(--rose); }

/* ---------- Banner & strip ---------- */
.cta-band {
    background: linear-gradient(120deg, var(--rose) 0%, var(--rose-deep) 100%);
    color: #fff;
    border-radius: var(--radius-lg);
    padding: clamp(2.5rem, 5vw, 4rem);
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    align-items: center;
    gap: 2rem;
    position: relative;
    overflow: hidden;
}
.cta-band::before {
    content: ""; position: absolute; inset: -30% -10% auto auto;
    width: 480px; height: 480px;
    background: radial-gradient(circle, rgba(255,255,255,0.18), transparent 60%);
    pointer-events: none;
}
.cta-band h2 { color: #fff; font-weight: 500; }
.cta-band p { color: rgba(255,255,255,0.86); }
.cta-band .right { text-align: right; }
@media (max-width: 767px) {
    .cta-band { grid-template-columns: 1fr; text-align: left; }
    .cta-band .right { text-align: left; }
}

.usp-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--charcoal-06);
}
.usp-strip .usp { display: flex; align-items: center; gap: 0.85rem; }
.usp-strip .usp i { font-size: 1.6rem; color: var(--rose); }
.usp-strip .usp b { display: block; font-family: var(--font-display); font-size: 1rem; color: var(--charcoal); }
.usp-strip .usp span { font-size: 0.82rem; color: var(--charcoal-60); }
@media (max-width: 767px) { .usp-strip { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .usp-strip { grid-template-columns: 1fr; } }

/* ---------- Booking wizard ---------- */
.wizard {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2rem;
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    border: 1px solid var(--charcoal-06);
}
@media (max-width: 991px) { .wizard { grid-template-columns: 1fr; } }
.wizard .steps { background: var(--champagne-soft); padding: 2rem; }
.wizard .steps ol { list-style: none; padding: 0; margin: 0; counter-reset: w; }
.wizard .steps li { counter-increment: w; padding: 1rem 0; display: flex; gap: 0.85rem; align-items: flex-start; opacity: 0.55; transition: opacity .3s; }
.wizard .steps li::before {
    content: counter(w, decimal-leading-zero);
    width: 36px; height: 36px;
    border-radius: 50%;
    background: #fff; color: var(--charcoal);
    display: grid; place-items: center;
    font-family: var(--font-display); font-size: 0.95rem;
    border: 1px solid var(--charcoal-12);
}
.wizard .steps li.is-active { opacity: 1; }
.wizard .steps li.is-active::before { background: var(--rose); color: #fff; border-color: var(--rose); }
.wizard .steps li.is-done::before { background: var(--charcoal); color: #fff; border-color: var(--charcoal); }
.wizard .steps li b { display: block; font-family: var(--font-display); font-size: 1.05rem; color: var(--charcoal); }
.wizard .steps li span { font-size: 0.85rem; color: var(--charcoal-60); }
.wizard .panel { padding: clamp(1.5rem, 3vw, 2.5rem); }
.wizard .panel h3 { margin-top: 0; }

.slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 0.6rem; }
.slot {
    border: 1px solid var(--charcoal-12);
    background: #fff;
    padding: 0.65rem 0.5rem;
    border-radius: var(--radius-sm);
    text-align: center;
    cursor: pointer;
    font-weight: 600;
    transition: all .25s var(--ease-soft);
}
.slot:hover { border-color: var(--rose); color: var(--rose); }
.slot.is-active { background: var(--rose); border-color: var(--rose); color: #fff; }
.slot.is-disabled { opacity: 0.35; pointer-events: none; text-decoration: line-through; }

/* ---------- Admin layout ---------- */
.admin-shell { display: grid; grid-template-columns: 260px 1fr; min-height: 100vh; background: var(--warm-white); }
.admin-side {
    background: var(--charcoal); color: #fff; padding: 1.5rem 1rem;
    position: sticky; top: 0; height: 100vh; overflow: auto;
}
.admin-side .bb-logo { color: #fff; margin-bottom: 2rem; padding-inline: 0.5rem; }
.admin-side nav a {
    display: flex; align-items: center; gap: 0.7rem;
    padding: 0.7rem 0.85rem;
    border-radius: var(--radius-sm);
    color: rgba(255,255,255,0.78);
    font-size: 0.92rem;
    font-weight: 500;
    margin-bottom: 0.15rem;
}
.admin-side nav a:hover { background: rgba(255,255,255,0.07); color: #fff; }
.admin-side nav a.is-active { background: var(--rose); color: #fff; box-shadow: var(--shadow-rose); }
.admin-side nav a i { font-size: 1.15rem; }
.admin-side nav .grp { font-size: 0.68rem; letter-spacing: 0.24em; text-transform: uppercase; color: rgba(255,255,255,0.45); margin: 1.4rem 0 0.5rem; padding: 0 0.85rem; }
.admin-main { padding: 1.5rem clamp(1.25rem, 3vw, 2.5rem) 3rem; min-width: 0; }
.admin-topbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; gap: 1rem; flex-wrap: wrap; }
.admin-topbar h1 { font-size: 1.7rem; margin: 0; }
.admin-burger { display: none; width: 44px; height: 44px; border-radius: var(--radius-sm); border: 1px solid var(--charcoal-12); background: #fff; color: var(--charcoal); cursor: pointer; align-items: center; justify-content: center; flex: 0 0 auto; }
.admin-burger i { font-size: 1.35rem; }
.admin-burger:hover { background: var(--rose); color: #fff; border-color: var(--rose); }
.admin-overlay { display: none; position: fixed; inset: 0; background: rgba(44,44,44,0.5); backdrop-filter: blur(3px); z-index: 110; opacity: 0; pointer-events: none; transition: opacity .3s; }
.admin-overlay.is-open { display: block; opacity: 1; pointer-events: all; }

@media (max-width: 991px) {
    .admin-shell { grid-template-columns: 1fr; }
    .admin-side {
        position: fixed;
        top: 0; left: 0;
        width: min(280px, 84vw);
        height: 100vh;
        height: 100dvh;
        z-index: 120;
        transform: translateX(-100%);
        transition: transform .4s var(--ease-luxe);
        box-shadow: 30px 0 60px rgba(44,44,44,0.25);
    }
    .admin-side.is-open { transform: translateX(0); }
    .admin-main { padding-top: 1rem; }
    .admin-burger { display: inline-flex; }
    .admin-topbar { position: sticky; top: 0; z-index: 60; background: var(--warm-white); padding-block: 0.85rem; margin-bottom: 1rem; border-bottom: 1px solid var(--charcoal-06); }
    .admin-topbar h1 { font-size: 1.3rem; }
    .admin-topbar .search-bar { min-width: 0 !important; width: 100%; flex: 1 1 100%; order: 3; }
}
@media (max-width: 575px) {
    .admin-main { padding-inline: 1rem; padding-bottom: 2rem; }
    .admin-topbar h1 { font-size: 1.15rem; }
    .admin-side { width: min(260px, 90vw); padding: 1.25rem 0.85rem; }
}

.stat-card {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 1.4rem;
    border: 1px solid var(--charcoal-06);
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    transition: all .35s var(--ease-luxe);
}
.stat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.stat-card .v { font-family: var(--font-display); font-size: 2rem; line-height: 1; }
.stat-card .lbl { font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--charcoal-60); margin-top: 0.5rem; }
.stat-card .delta { font-size: 0.82rem; font-weight: 600; }
.stat-card .delta.up { color: var(--success); }
.stat-card .delta.down { color: var(--danger); }
.stat-card .ic { width: 52px; height: 52px; border-radius: var(--radius-sm); background: var(--rose-tint); color: var(--rose); display: grid; place-items: center; font-size: 1.5rem; }

.table-bb {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-xs);
    border: 1px solid var(--charcoal-06);
}
.table-bb th, .table-bb td { text-align: left; padding: 1rem 1.1rem; font-size: 0.92rem; border-bottom: 1px solid var(--charcoal-06); }
.table-bb th { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--charcoal-60); background: var(--champagne-soft); font-weight: 600; }
.table-bb tr:last-child td { border-bottom: 0; }
.table-bb tbody tr { transition: background .2s; }
.table-bb tbody tr:hover { background: var(--rose-tint); }
.status-pill { display: inline-flex; padding: 0.3rem 0.7rem; border-radius: var(--radius-pill); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.status-pill.s-booked { background: rgba(79,138,107,0.16); color: var(--success); }
.status-pill.s-pending { background: var(--champagne); color: var(--charcoal); }
.status-pill.s-progress { background: var(--rose-tint); color: var(--rose-deep); }
.status-pill.s-done { background: rgba(44,44,44,0.08); color: var(--charcoal); }
.status-pill.s-cancel { background: rgba(192,57,43,0.12); color: var(--danger); }

/* ---------- Misc ---------- */
.tag {
    display: inline-flex;
    padding: 0.4rem 0.85rem;
    background: var(--champagne-soft);
    color: var(--charcoal);
    font-size: 0.78rem;
    border-radius: var(--radius-pill);
    border: 1px solid var(--charcoal-06);
    transition: all .25s;
    cursor: pointer;
}
.tag.is-active, .tag:hover { background: var(--rose); color: #fff; border-color: var(--rose); }

.checkbox-row { display: flex; align-items: center; gap: 0.6rem; font-size: 0.9rem; color: var(--charcoal-60); }
.checkbox-row input { accent-color: var(--rose); width: 18px; height: 18px; }

.alert-bb {
    border-radius: var(--radius-sm);
    padding: 0.9rem 1.1rem;
    background: var(--rose-tint);
    color: var(--rose-deep);
    font-size: 0.92rem;
    display: flex; align-items: center; gap: 0.6rem;
}
.alert-bb.success { background: rgba(79,138,107,0.12); color: var(--success); }

.muted { color: var(--charcoal-60); }
.center { text-align: center; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
@media (max-width: 991px) { .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 575px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* =====================================================================
   Variants — checkbox-style chips & color swatches (storefront + admin)
   ===================================================================== */
.variant-grid { display: flex; flex-wrap: wrap; gap: 0.55rem; }
.variant-chk { position: relative; display: inline-flex; cursor: pointer; user-select: none; }
.variant-chk input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.variant-chk .face {
    display: inline-flex; align-items: center; gap: 0.45rem;
    padding: 0.55rem 1rem; border-radius: var(--radius-pill);
    background: #fff; border: 1.5px solid var(--charcoal-12);
    font-size: 0.85rem; font-weight: 600; color: var(--charcoal);
    transition: all .2s var(--ease-luxe);
}
.variant-chk .face .box {
    width: 16px; height: 16px; border-radius: 4px;
    border: 1.5px solid var(--charcoal-12); display: inline-grid; place-items: center;
    background: #fff; color: #fff; font-size: 0.7rem; transition: all .15s ease;
}
.variant-chk .face .delta { font-size: 0.72rem; color: var(--charcoal-60); font-weight: 500; }
.variant-chk:hover .face { border-color: var(--rose); color: var(--rose-deep); }
.variant-chk input:checked + .face {
    background: var(--rose-tint); border-color: var(--rose); color: var(--rose-deep);
}
.variant-chk input:checked + .face .box {
    background: var(--rose); border-color: var(--rose);
}
.variant-chk input:checked + .face .box::after { content: "✓"; }

.swatch-grid { display: flex; flex-wrap: wrap; gap: 1rem; align-items: flex-start; }
.swatch-chk { position: relative; cursor: pointer; user-select: none; display: inline-flex; flex-direction: column; align-items: center; min-width: 64px; }
.swatch-chk input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.swatch-chk .swatch {
    width: 42px; height: 42px; border-radius: 50%;
    border: 2px solid #fff; box-shadow: 0 0 0 1.5px var(--charcoal-12);
    transition: all .2s var(--ease-luxe);
    background-clip: padding-box;
    background-repeat: no-repeat;
    background-size: cover;
    display: block;
}
.swatch-chk:hover .swatch { transform: scale(1.05); box-shadow: 0 0 0 1.5px var(--rose); }
.swatch-chk input:checked + .swatch { box-shadow: 0 0 0 2.5px var(--rose); transform: scale(1.08); }
.swatch-chk .lbl {
    display: block; text-align: center; font-size: 0.74rem; color: var(--charcoal-60);
    margin-top: 0.45rem; font-weight: 600; line-height: 1.15; max-width: 84px;
}

/* Product gallery thumbs */
.bb-gallery-thumbs { display: flex; gap: 0.5rem; margin-top: 0.75rem; flex-wrap: wrap; }
.bb-gallery-thumbs .t {
    width: 70px; height: 70px; border-radius: var(--radius-sm); overflow: hidden;
    border: 2px solid transparent; cursor: pointer; transition: all .2s ease;
    flex: 0 0 auto; background: var(--champagne-soft); position: relative;
}
.bb-gallery-thumbs .t img, .bb-gallery-thumbs .t video { width: 100%; height: 100%; object-fit: cover; }
.bb-gallery-thumbs .t.is-active { border-color: var(--rose); box-shadow: var(--shadow-rose); }
.bb-gallery-thumbs .t .play-mini {
    position: absolute; inset: 0; display: grid; place-items: center;
    background: rgba(44,44,44,.35); color: #fff; font-size: 1.2rem;
}

/* Admin dropzones */
.bb-dropzone {
    border: 2px dashed var(--charcoal-12); border-radius: var(--radius-sm);
    background: #fff; padding: 1rem; text-align: center; cursor: pointer;
    transition: all .2s ease; color: var(--charcoal-60); font-size: 0.85rem;
}
.bb-dropzone:hover, .bb-dropzone.is-drag { border-color: var(--rose); background: var(--rose-tint); color: var(--rose-deep); }
.bb-dropzone i { font-size: 1.5rem; display: block; margin-bottom: 0.3rem; color: var(--rose); }
.bb-dropzone input[type="file"] { display: none; }
.bb-media-previews { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.6rem; }
.bb-media-previews .pv {
    position: relative; width: 80px; height: 80px; border-radius: var(--radius-sm);
    overflow: hidden; border: 1px solid var(--charcoal-12); background: var(--champagne-soft);
}
.bb-media-previews .pv img, .bb-media-previews .pv video { width: 100%; height: 100%; object-fit: cover; }
.bb-media-previews .pv .rm {
    position: absolute; top: 3px; right: 3px; width: 22px; height: 22px;
    border-radius: 50%; border: 0; background: rgba(44,44,44,.78); color: #fff;
    display: grid; place-items: center; font-size: 0.78rem; cursor: pointer;
}
.bb-media-previews .pv .rm:hover { background: var(--rose); }

/* Admin variant builder */
.bb-vgroup {
    background: #fff; border: 1px solid var(--charcoal-12); border-radius: var(--radius-sm);
    padding: 0.8rem; margin-bottom: 0.6rem;
}
.bb-vgroup .vg-head { display: flex; gap: 0.5rem; align-items: center; margin-bottom: 0.5rem; }
.bb-vgroup .vg-head input[type="text"] {
    flex: 1; border: 1px solid var(--charcoal-12); border-radius: var(--radius-sm);
    padding: 0.45rem 0.7rem; font-size: 0.88rem; background: #fff;
}
.bb-vgroup .vg-opts { display: grid; grid-template-columns: 1fr 110px 36px; gap: 0.4rem; align-items: center; }
.bb-vgroup .vg-opts input {
    border: 1px solid var(--charcoal-12); border-radius: var(--radius-sm);
    padding: 0.4rem 0.6rem; font-size: 0.86rem; background: #fff; width: 100%;
}
.bb-vgroup .vg-opts input[type="color"] { padding: 0.1rem; height: 36px; cursor: pointer; }
.bb-vgroup .vg-color-row { display: grid; grid-template-columns: 46px 1fr 110px 36px; gap: 0.4rem; align-items: center; margin-bottom: 0.4rem; }
.bb-vgroup .vg-add { background: transparent; border: 1px dashed var(--charcoal-12); border-radius: var(--radius-sm); padding: 0.4rem 0.8rem; font-size: 0.8rem; cursor: pointer; color: var(--charcoal-60); }
.bb-vgroup .vg-add:hover { border-color: var(--rose); color: var(--rose-deep); }
.bb-vgroup .vg-rm { background: transparent; border: 0; color: var(--charcoal-60); cursor: pointer; font-size: 1.1rem; }
.bb-vgroup .vg-rm:hover { color: var(--danger); }

/* Admin product thumb */
.bb-prod-thumb {
    width: 54px; height: 54px; border-radius: var(--radius-sm); overflow: hidden;
    background: var(--champagne-soft); flex: 0 0 auto; position: relative;
}
.bb-prod-thumb img { width: 100%; height: 100%; object-fit: cover; }
.bb-prod-thumb .vbadge {
    position: absolute; bottom: 2px; right: 2px;
    background: var(--rose); color: #fff; border-radius: 50%;
    width: 18px; height: 18px; display: grid; place-items: center; font-size: 0.65rem;
}

/* Inline video badge in product detail gallery */
.bb-video-wrap { position: relative; background: #000; border-radius: var(--radius-xl); overflow: hidden; aspect-ratio: 1/1; }
.bb-video-wrap video { width: 100%; height: 100%; object-fit: cover; display: block; }
.bb-video-wrap .video-tag {
    position: absolute; top: 1rem; left: 1rem; background: rgba(0,0,0,.55);
    color: #fff; padding: 0.3rem 0.7rem; border-radius: var(--radius-pill);
    font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600;
    display: inline-flex; align-items: center; gap: 0.35rem;
}

/* =================================================================
   Responsive enhancements - tablet + mobile
   Builds on the existing breakpoints (575 / 767 / 991) without
   rewriting them. Targets nav, hero, grids, footer, CTA, tables,
   forms and overflow protection across the storefront and admin.
   ================================================================= */

/* Belt-and-braces: prevent horizontal scroll on small screens */
html, body { overflow-x: hidden; }
img, video { max-width: 100%; height: auto; }

/* Tablet (<= 991px) */
@media (max-width: 991px) {
    .container-bb { width: min(100% - 2rem, var(--container)); }
    section { padding: clamp(3rem, 6vw, 5rem) 0; }

    /* Nav */
    .bb-nav { gap: 1rem; padding-block: 0.85rem; }
    .bb-logo-img { height: 36px; }
    .bb-actions { gap: 0.5rem; }
    .bb-icon-btn { width: 40px; height: 40px; }
    .bb-icon-btn i { font-size: 1.1rem; }

    /* Hero */
    .bb-hero { min-height: 0; padding: clamp(3rem, 6vw, 4.5rem) 0 clamp(2.5rem, 5vw, 3.5rem); }
    .bb-hero-copy h1 { font-size: clamp(2.4rem, 5.4vw, 3.6rem); }
    .bb-hero-copy .lead { max-width: 100%; }
    .bb-hero-actions { margin-bottom: 2rem; gap: 0.75rem; }
    .bb-hero-actions .btn-bb { padding: 0.8rem 1.4rem; font-size: 0.95rem; }
    .bb-hero-meta { gap: 1.5rem 2rem; padding-top: 1.5rem; }
    .bb-hero-art { aspect-ratio: 4/4.5; max-width: 560px; margin-inline: auto; }
    .bb-hero-art .badge-circle { width: 132px; height: 132px; bottom: -18px; left: -14px; }
    .bb-hero-art .badge-circle b { font-size: 1.9rem; }
    .bb-hero-art .float-card { right: 0; max-width: 220px; }

    /* Promo strip wrapping */
    .usp-strip .usp { gap: 0.65rem; }
}

/* Large phone (<= 767px) */
@media (max-width: 767px) {
    section { padding: clamp(2.5rem, 7vw, 4rem) 0; }

    /* Headings should not crowd the viewport */
    h1 { font-size: clamp(2rem, 7vw, 2.8rem); }
    h2 { font-size: clamp(1.6rem, 5.4vw, 2.2rem); }
    h3 { font-size: 1.25rem; }

    /* Hero stats become two columns so they never overflow */
    .bb-hero-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.4rem; width: 100%; }
    .bb-hero-meta .item .num { font-size: 1.7rem; }
    .bb-hero-actions .btn-bb { flex: 1 1 100%; justify-content: center; }
    .bb-hero-art .float-card { top: auto; bottom: 12px; right: 12px; padding: 0.6rem 0.8rem; max-width: 200px; }
    .bb-hero-art .float-card .ic { width: 36px; height: 36px; font-size: 1.1rem; }

    /* Cards / grids - tighter gutters */
    .products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
    .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
    .cat-tile .cap { padding: 1.1rem; }
    .cat-tile .cap h3 { font-size: 1.15rem; }
    .product-card { padding: 0.85rem; }

    /* Service / stylist / testimonial spacing on phones */
    .service-card { padding: 1.5rem 1.25rem; }
    .stylist-card { padding: 1rem 1rem 1.4rem; }
    .testimonial { padding: 1.5rem; }
    .testimonial p { font-size: 1.05rem; }

    /* CTA band */
    .cta-band h2 { font-size: clamp(1.6rem, 6vw, 2rem); }
    .cta-band p { font-size: 0.95rem; }

    /* Footer paddings */
    .bb-footer { padding-top: 2.5rem; }
    .bb-footer .top { gap: 1.75rem; padding-bottom: 2rem; }
    .bb-footer .bottom { flex-direction: column; gap: 0.85rem; text-align: center; padding-top: 1.25rem; }

    /* Tables become horizontally scrollable on phones to preserve columns */
    .table-bb { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; white-space: nowrap; }
    .table-bb th, .table-bb td { padding: 0.75rem 0.85rem; font-size: 0.86rem; }

    /* Cart drawer fills the viewport on phones */
    .cart-drawer { width: 100%; }
    .cart-drawer .head, .cart-drawer .body, .cart-drawer .foot { padding-inline: 1.1rem; }
    .cart-line { grid-template-columns: 60px 1fr auto; gap: 0.7rem; }
    .cart-line img { width: 60px; height: 60px; }

    /* iOS-safe form input size to avoid auto-zoom */
    .field input, .field select, .field textarea,
    .search-bar input { font-size: 16px; }
    .search-bar { padding: 0.35rem 0.35rem 0.35rem 1.1rem; }

    /* Toasts hug the viewport */
    .toast-bb { left: 1rem; right: 1rem; bottom: 1rem; justify-content: center; }
}

/* Small phone (<= 575px) */
@media (max-width: 575px) {
    .container-bb { width: min(100% - 1.5rem, var(--container)); }
    .bb-nav { padding-block: 0.75rem; }
    .bb-logo-img { height: 32px; }

    /* Compact hero meta to single line per item but still two columns */
    .bb-hero-meta .item .num { font-size: 1.5rem; }
    .bb-hero-meta .item .lbl { font-size: 0.7rem; letter-spacing: 0.14em; }
    .bb-hero-art .badge-circle { width: 112px; height: 112px; }
    .bb-hero-art .badge-circle b { font-size: 1.55rem; }
    .bb-hero-art .badge-circle small { font-size: 0.62rem; letter-spacing: 0.18em; }

    /* Products to single column once the screen really gets small */
    .products-grid { grid-template-columns: 1fr; }
    .cat-grid { grid-template-columns: 1fr; }

    /* Mobile drawer should feel full screen */
    .bb-mobile { padding: 1.5rem 1.5rem 2rem; }
    .bb-mobile a { font-size: 1.35rem; padding: 0.85rem 0; }

    /* Stat cards in admin/account stack the icon below */
    .stat-card { padding: 1.1rem; }
    .stat-card .v { font-size: 1.65rem; }
}

/* Very small phone (<= 420px) - safety net */
@media (max-width: 420px) {
    .bb-hero-art .badge-circle { display: none; }
    .bb-hero-art .float-card { right: 8px; bottom: 8px; max-width: 180px; }
    .bb-hero-actions .btn-bb { padding: 0.75rem 1.1rem; font-size: 0.9rem; }
    .btn-bb.btn-lg { padding: 0.85rem 1.4rem; font-size: 0.95rem; }
    .bb-icon-btn { width: 38px; height: 38px; }
}
