/* =========================================================
   NAILS BY SANDEEP - THEME LAYER (PREVIEW: A and B)
   Sits on top of style.css; the original styling is untouched.
   Switch with js/nbs-theme.js:  data-nbs-theme="A" | "B" | none.
   A = Midnight Rose (dark wine, neon pink, rose-gold)
   B = Rose Champagne (warm cream, plum, rose-gold)
========================================================= */

html[data-nbs-theme="A"] {
    --t-bg-rgb: 21, 11, 19; --t-bg2-rgb: 27, 14, 24; --t-bg: #150b13; --t-bg2: #1b0e18; --t-card: #231323; --t-ink: #f6e9ee; --t-muted: #bda7b4;
    --t-accent: #ff5aa0; --t-accent2: #e9b9a3; --t-line: rgba(255, 255, 255, 0.11);
    --t-btn: linear-gradient(135deg, #ff6fa5, #ff2d85); --t-btnink: #fff; --t-glow: 0 0 22px rgba(255, 90, 160, 0.35);
    --t-band: #0e060c; --t-bandink: #f6e9ee; --t-icon: rgba(255, 90, 160, 0.14); --t-hdr: rgba(21, 11, 19, 0.92);
    --t-shadow: 0 14px 34px rgba(0, 0, 0, 0.35);
}
html[data-nbs-theme="B"] {
    --t-bg-rgb: 248, 239, 232; --t-bg2-rgb: 241, 227, 218; --t-bg: #f8efe8; --t-bg2: #f1e3da; --t-card: #fffaf5; --t-ink: #3a1a2b; --t-muted: #7d6573;
    --t-accent: #b8506f; --t-accent2: #c98f78; --t-line: rgba(58, 26, 43, 0.12);
    --t-btn: linear-gradient(135deg, #c75a7b, #a43c5e); --t-btnink: #fff; --t-glow: 0 8px 20px rgba(164, 60, 94, 0.25);
    --t-band: #2e1423; --t-bandink: #f7e9ee; --t-icon: rgba(184, 80, 111, 0.12); --t-hdr: rgba(248, 239, 232, 0.94);
    --t-shadow: 0 14px 34px rgba(58, 26, 43, 0.1);
}

html[data-nbs-theme] body { background: var(--t-bg); color: var(--t-ink); }
html[data-nbs-theme] { color-scheme: light; }
html[data-nbs-theme="A"] { color-scheme: dark; }

/* blends / decorative gradients from the old pink design */
html[data-nbs-theme] :is(.services-booking-banner-blend,
    .gallery-booking-banner-blend, .about-page-hero::before, .about-page-hero::after) { display: none !important; }

/* ---------- header ---------- */
html[data-nbs-theme] .site-header { background: var(--t-hdr); border-bottom: 1px solid var(--t-line);  }
html[data-nbs-theme] .navigation-link { color: var(--t-muted); }
html[data-nbs-theme] .navigation-link:hover,
html[data-nbs-theme] .navigation-link.active { color: var(--t-ink); }
html[data-nbs-theme] .navigation-link.active::after { background: var(--t-accent); }
html[data-nbs-theme] .logo-link { color: var(--t-ink); }
html[data-nbs-theme] .nbs-header-cart { background: var(--t-card); border-color: var(--t-line); color: var(--t-accent); }
html[data-nbs-theme] .mobile-navigation { background: var(--t-bg2); }
html[data-nbs-theme] .mobile-navigation a { color: var(--t-ink); }
html[data-nbs-theme] .mobile-menu-button span { background: var(--t-ink); }

/* ---------- buttons ---------- */
html[data-nbs-theme] :is(.header-book-button, .primary-button, .services-page-card-book, .footer-book-button) {
    background: var(--t-btn) !important; color: var(--t-btnink) !important; border-color: transparent !important; box-shadow: var(--t-glow);
}
html[data-nbs-theme] .secondary-button { background: transparent; color: var(--t-ink); border-color: var(--t-line); }
html[data-nbs-theme] .service-category-button { background: var(--t-card); color: var(--t-muted); border-color: var(--t-line); }
html[data-nbs-theme] .service-category-button.active,
html[data-nbs-theme] .service-category-button:hover { background: var(--t-btn); color: #fff; border-color: transparent; box-shadow: var(--t-glow); }
html[data-nbs-theme] .carousel-arrow,
html[data-nbs-theme] .premium-gallery-arrow { background: var(--t-card); color: var(--t-accent); border-color: var(--t-line); }

/* ---------- sections: plain, calm backgrounds ---------- */
html[data-nbs-theme] :is(.hero-section, .services-section, .gallery-section, .contact-section, .services-page-hero,
    .about-page-hero, .gallery-page-hero, .gallery-page-hero-content, .contact-page-hero, .contact-options-section,
    .contact-booking-section, .presson-hero, .service-category-section, .gallery-work-section, .about-details-section) {
    background: var(--t-bg) !important;
}
html[data-nbs-theme] :is(.meet-section, .reviews-section, .about-info-section, .contact-location-section, .services-booking-banner) {
    background: var(--t-bg2) !important;
}
html[data-nbs-theme] :is(.booking-cta-section, .about-booking-section, .gallery-booking-banner, .presson-bottom-cta) {
    background: var(--t-band) !important; color: var(--t-bandink);
}
html[data-nbs-theme] .site-footer { background: var(--t-band); color: var(--t-bandink); border-top: 1px solid rgba(255, 255, 255, 0.08); }

/* ---------- text ---------- */
html[data-nbs-theme] :is(h1, h2, h3, h4) { color: var(--t-ink); }
html[data-nbs-theme] :is(p, li) { color: var(--t-muted); }
html[data-nbs-theme] :is(h1, h2) span,
html[data-nbs-theme] :is(.section-eyebrow, .eyebrow, .about-page-highlight, .meet-thank-you, .booking-heart, .contact-booking-heart,
    .contact-phone-number, .contact-option-link, .premium-gallery-inspiration) { color: var(--t-accent); }
html[data-nbs-theme] :is(.booking-cta-section, .about-booking-section, .gallery-booking-banner, .presson-bottom-cta, .site-footer) :is(h1, h2, h3, h4) { color: var(--t-bandink); }
html[data-nbs-theme] :is(.booking-cta-section, .about-booking-section, .gallery-booking-banner, .presson-bottom-cta, .site-footer) :is(p, li, a) { color: rgba(247, 233, 238, 0.82); }
html[data-nbs-theme] .site-footer .footer-book-button { color: #fff !important; }
html[data-nbs-theme] .site-footer a:hover { color: var(--t-accent2); }

/* ---------- cards ---------- */
html[data-nbs-theme] :is(.service-card, .services-page-card, .review-card, .google-rating-summary, .contact-card, .contact-option-card,
    .about-detail-card, .about-info-container, .contact-location-card, .contact-privacy-note, .premium-gallery-item, .gallery-window,
    .gallery-slide, .service-time-note, .nail-design-notice, .shop-status, .contact-booking-content) {
    background: var(--t-card) !important; border-color: var(--t-line) !important; box-shadow: var(--t-shadow);
}
html[data-nbs-theme] :is(.service-icon, .meet-feature-icon, .contact-icon, .contact-option-icon, .about-feature-icon,
    .about-detail-icon, .contact-location-icon, .contact-location-pin, .nail-design-notice-icon) {
    background: var(--t-icon) !important; color: var(--t-accent) !important; border-color: var(--t-line) !important;
}
html[data-nbs-theme] .service-card a,
html[data-nbs-theme] .services-page-card-price { color: var(--t-accent); }
html[data-nbs-theme] .services-page-card .services-page-card-meta,
html[data-nbs-theme] .services-page-card time { color: var(--t-muted); }

/* ---------- soft pink panels that existed before ---------- */
html[data-nbs-theme] :is(.about-page-photo, .meet-photo, .hero-photo) { background-color: var(--t-bg2); }
html[data-nbs-theme] .about-page-photo { border: 0; box-shadow: none; }

/* ---------- Press-On feature card on home ---------- */
html[data-nbs-theme] .press-on-feature-card { background: var(--t-card); border-color: var(--t-line); }

/* ---------- keep the neon offer exactly as designed ---------- */
html[data-nbs-theme] #offersSection { background: #180a14; }

/* ---------- preview switch ---------- */
.nbs-theme-switch {
    position: fixed; left: 14px; bottom: 14px; z-index: 5000;
    display: flex; gap: 4px; padding: 5px; border-radius: 999px;
    background: rgba(24, 10, 20, 0.92); border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    font: 600 12px/1 -apple-system, "Segoe UI", Roboto, sans-serif;
}
.nbs-theme-switch button {
    border: 0; cursor: pointer; padding: 9px 13px; border-radius: 999px;
    background: transparent; color: rgba(255, 255, 255, 0.72); font: inherit; letter-spacing: 0.04em;
}
.nbs-theme-switch button.on { background: linear-gradient(135deg, #ff6fa5, #ff2d85); color: #fff; }

/* ---------- leftover white fades from the old pink design ---------- */
html[data-nbs-theme] .contact-page-hero-art::before,
html[data-nbs-theme] .services-page-hero::before { background: none !important; }
html[data-nbs-theme] .contact-location-card-inner { background: transparent !important; }
html[data-nbs-theme] .presson-hero { background: var(--t-bg) !important; }
html[data-nbs-theme] .shop-footer { background: var(--t-band); color: var(--t-bandink); border-top: 1px solid var(--t-line); }
html[data-nbs-theme] .shop-footer :is(a, p, span) { color: rgba(247, 233, 238, 0.85); }

/* small text that used fixed pink-grey colours */
html[data-nbs-theme] :is(.hero-features span, .about-page-features span, .about-feature-text, .contact-page-hero-badges span,
    .presson-hero-points span, .services-page-hero-features span, .gallery-page-hero-features span) { color: var(--t-muted); }
html[data-nbs-theme] .secondary-button { color: var(--t-ink); }
html[data-nbs-theme] .presson-hero .secondary-button { background: transparent; color: var(--t-ink); border-color: var(--t-line); }

/* ---------- catch-all: any small text that kept an old fixed grey/pink-grey ---------- */
html[data-nbs-theme] :where(main, section, article, div):not(#offersSection, #offersSection *, .nbs-theme-switch, .nbs-theme-switch *)
    > :where(p, li, small, label, span):not(a *, button *, .nbs-reveal) { color: var(--t-muted); }
html[data-nbs-theme] :where(strong, b):not(a *, button *, #offersSection *) { color: var(--t-ink); }
html[data-nbs-theme] .presson-hero :is(h1, h2) { color: var(--t-ink); }
html[data-nbs-theme] :is(.presson-hero, .about-page-hero, .contact-page-hero, .gallery-page-hero, .services-page-hero) :is(h1, h2) span { color: var(--t-accent); }
html[data-nbs-theme="A"] :is(.presson-hero-points, .presson-points, .presson-tags) > * { background: var(--t-card); border-color: var(--t-line); color: var(--t-muted); }

html[data-nbs-theme] .presson-hero-points span { background: var(--t-card) !important; border: 1px solid var(--t-line) !important; color: var(--t-ink) !important; }
html[data-nbs-theme] :where([class*="feature"], [class*="trust"], [class*="point"], [class*="badge"]) > :where(div, span):not(a *) { color: var(--t-muted); }


/* =========================================================
   v5 - fades in theme colours (photo edges melt into the page)
========================================================= */
html[data-nbs-theme] .hero-blend {
    background: linear-gradient(90deg, rgb(var(--t-bg-rgb)) 0%, rgb(var(--t-bg-rgb)) 40%, rgba(var(--t-bg-rgb), .96) 48%,
        rgba(var(--t-bg-rgb), .72) 54%, rgba(var(--t-bg-rgb), .26) 60%, rgba(var(--t-bg-rgb), 0) 66%);
}
html[data-nbs-theme] .services-page-hero-blend {
    background: linear-gradient(90deg, rgb(var(--t-bg-rgb)) 0%, rgb(var(--t-bg-rgb)) 35%, rgba(var(--t-bg-rgb), .92) 44%,
        rgba(var(--t-bg-rgb), .48) 56%, transparent 70%);
}
html[data-nbs-theme] .presson-hero::after {
    background: linear-gradient(90deg, rgb(var(--t-bg-rgb)) 0%, rgb(var(--t-bg-rgb)) 25%, rgba(var(--t-bg-rgb), .99) 34%,
        rgba(var(--t-bg-rgb), .94) 41%, rgba(var(--t-bg-rgb), .75) 49%, rgba(var(--t-bg-rgb), .40) 58%,
        rgba(var(--t-bg-rgb), .08) 69%, rgba(var(--t-bg-rgb), 0) 78%) !important;
}
@media (max-width: 950px) {
    html[data-nbs-theme] .hero-blend {
        background: linear-gradient(180deg, rgb(var(--t-bg-rgb)) 0%, rgba(var(--t-bg-rgb), .8) 5%, rgba(var(--t-bg-rgb), 0) 23%);
    }
}
@media (max-width: 650px) {
    html[data-nbs-theme] .presson-hero::after {
        background: linear-gradient(180deg, rgb(var(--t-bg-rgb)) 0%, rgb(var(--t-bg-rgb)) 38%, rgba(var(--t-bg-rgb), .98) 46%,
            rgba(var(--t-bg-rgb), .7) 57%, rgba(var(--t-bg-rgb), .14) 74%, rgba(var(--t-bg-rgb), 0) 88%) !important;
    }
}
/* press-on hero: copy always above the photo */
html[data-nbs-theme] .shop-page .presson-hero .presson-hero-copy { position: relative; z-index: 3; }

/* =========================================================
   v5 - A "Midnight Rose Gold": deeper, richer, rose-gold details
========================================================= */
html[data-nbs-theme="A"] {
    --t-bg: #12090f; --t-bg-rgb: 18, 9, 15; --t-bg2-rgb: 25, 12, 21; --t-bg2: #190c15; --t-card: #231220;
    --t-accent: #ff6aa8; --t-accent2: #eac0a8; --t-line: rgba(234, 192, 168, 0.16);
    --t-hdr: rgba(18, 9, 15, 0.97); --t-band: #0b050a;
    --t-shadow: 0 18px 40px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    --t-gold-grad: linear-gradient(100deg, #ffd9e6, #eac0a8 55%, #ff8fbd);
}
/* soft light pools so the dark never feels flat */
html[data-nbs-theme="A"] :is(.hero-section, .services-section, .gallery-section, .contact-section, .services-page-hero,
    .about-page-hero, .gallery-page-hero, .contact-page-hero, .service-category-section, .gallery-work-section, .about-details-section) {
    background-image:
        radial-gradient(820px 380px at 92% -8%, rgba(255, 106, 168, 0.11), transparent 65%),
        radial-gradient(640px 340px at 4% 108%, rgba(234, 192, 168, 0.08), transparent 65%) !important;
}
html[data-nbs-theme="A"] :is(.meet-section, .reviews-section, .about-info-section, .contact-location-section) {
    background-image:
        radial-gradient(760px 360px at 8% -6%, rgba(234, 192, 168, 0.09), transparent 65%),
        radial-gradient(700px 360px at 96% 104%, rgba(255, 106, 168, 0.10), transparent 65%) !important;
}
/* rose-gold hairline between sections */
html[data-nbs-theme="A"] :is(.services-section, .meet-section, .gallery-section, .reviews-section, .contact-section, .booking-cta-section) { position: relative; }
html[data-nbs-theme="A"] :is(.services-section, .meet-section, .gallery-section, .reviews-section, .contact-section, .booking-cta-section)::before {
    content: ""; position: absolute; top: 0; left: 8%; right: 8%; height: 1px; pointer-events: none;
    background: linear-gradient(90deg, transparent, rgba(234, 192, 168, 0.5), transparent);
}
/* headline accent words in rose-gold gradient */
html[data-nbs-theme="A"] :is(h1, h2) span {
    background: var(--t-gold-grad); -webkit-background-clip: text; background-clip: text;
    color: transparent !important; -webkit-text-fill-color: transparent;
}
html[data-nbs-theme="A"] :is(.section-small-title, .eyebrow, .section-eyebrow) { color: var(--t-accent2) !important; letter-spacing: 0.32em; }
/* cards: glassy plum with a rose-gold edge */
html[data-nbs-theme="A"] :is(.service-card, .services-page-card, .review-card, .google-rating-summary, .contact-card, .contact-option-card,
    .about-detail-card, .about-info-container, .contact-location-card, .contact-privacy-note, .service-time-note, .nail-design-notice, .shop-status, .press-on-feature-card) {
    background: linear-gradient(160deg, #2b1527 0%, #1b0e19 100%) !important;
    border: 1px solid var(--t-line) !important;
    box-shadow: var(--t-shadow);
    transition: transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1), border-color 0.4s, box-shadow 0.5s;
}
html[data-nbs-theme="A"] :is(.service-card, .services-page-card, .press-on-feature-card):hover {
    transform: translateY(-6px); border-color: rgba(234, 192, 168, 0.42) !important;
    box-shadow: 0 26px 54px rgba(0, 0, 0, 0.5), 0 0 34px rgba(255, 106, 168, 0.14);
}
html[data-nbs-theme="A"] :is(.service-icon, .meet-feature-icon, .contact-icon, .contact-option-icon, .about-feature-icon, .about-detail-icon) {
    background: linear-gradient(145deg, rgba(255, 106, 168, 0.2), rgba(234, 192, 168, 0.12)) !important;
    border: 1px solid rgba(234, 192, 168, 0.3) !important; color: var(--t-accent2) !important;
}
html[data-nbs-theme="A"] :is(.header-book-button, .primary-button, .services-page-card-book, .footer-book-button) {
    background: linear-gradient(135deg, #ff7db3 0%, #ff3d8f 60%, #e83a86 100%) !important;
    box-shadow: 0 10px 26px rgba(255, 61, 143, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.35);
    border: 1px solid rgba(255, 220, 232, 0.35) !important;
}
html[data-nbs-theme="A"] .navigation-link.active::after { background: linear-gradient(90deg, var(--t-accent2), var(--t-accent)); }
html[data-nbs-theme="A"] .site-footer, html[data-nbs-theme="A"] .shop-footer { border-top: 1px solid var(--t-line); }
html[data-nbs-theme="A"] .service-category-section { background: rgba(18, 9, 15, 0.97) !important; border-bottom: 1px solid var(--t-line); }
html[data-nbs-theme="B"] .service-category-section { background: rgba(248, 239, 232, 0.97) !important; }

html[data-nbs-theme] .google-rating-number { color: var(--t-ink) !important; }
html[data-nbs-theme="A"] .google-rating-summary { border-radius: 18px; }

/* small pills on service cards (add-on / combo labels) */
html[data-nbs-theme] .service-add-on-label { background: var(--t-icon) !important; color: var(--t-accent2) !important; border: 1px solid var(--t-line) !important; }
html[data-nbs-theme="B"] .service-add-on-label { color: var(--t-accent) !important; }


/* =========================================================
   v6 - Meet Sandeep: photo melts into the text side (no framed box)
========================================================= */
html[data-nbs-theme] .meet-blend {
    background: linear-gradient(90deg, rgb(var(--t-bg2-rgb)) 0%, rgb(var(--t-bg2-rgb)) 29%, rgba(var(--t-bg2-rgb), .96) 37%,
        rgba(var(--t-bg2-rgb), .75) 45%, rgba(var(--t-bg2-rgb), .30) 54%, rgba(var(--t-bg2-rgb), 0) 66%);
}
html[data-nbs-theme] .meet-photo { width: 60%; border: 0; box-shadow: none; }
@media (max-width: 820px) {
    html[data-nbs-theme] .meet-photo { width: 100%; }
    html[data-nbs-theme] .meet-blend {
        background: linear-gradient(180deg, rgb(var(--t-bg2-rgb)) 0%, rgba(var(--t-bg2-rgb), .75) 5%, rgba(var(--t-bg2-rgb), 0) 22%);
    }
}

/* =========================================================
   v6 - readable text: buttons / badges keep white text on pink
========================================================= */
html[data-nbs-theme] .press-on-feature-card .press-on-feature-link,
html[data-nbs-theme] .press-on-feature-card .press-on-feature-link *,
html[data-nbs-theme] .press-on-feature-label,
html[data-nbs-theme] .press-on-feature-label * { color: #fff !important; -webkit-text-fill-color: #fff; }
html[data-nbs-theme] .press-on-feature-card h3 { color: var(--t-ink) !important; }
html[data-nbs-theme] .press-on-feature-card .service-icon { background: var(--t-icon) !important; }
html[data-nbs-theme] .press-on-feature-card::before { opacity: 0.5; }
html[data-nbs-theme] .service-card a:not(.press-on-feature-link) { color: var(--t-accent); }
html[data-nbs-theme="B"] .service-card a:not(.press-on-feature-link) { color: #9c3f5d; font-weight: 700; }

/* =========================================================
   v6 - small icon circles, stars, status notes
========================================================= */
html[data-nbs-theme] :is(.hero-mini-feature, .about-info-item, .services-page-hero-feature, .gallery-page-hero-feature, .about-page-feature, .contact-page-hero-badge) > span:first-child {
    background: var(--t-icon) !important; color: var(--t-accent) !important; border: 1px solid var(--t-line);
}
html[data-nbs-theme="A"] :is(.hero-mini-feature, .about-info-item, .services-page-hero-feature, .gallery-page-hero-feature, .about-page-feature, .contact-page-hero-badge) > span:first-child { color: var(--t-accent2) !important; }
html[data-nbs-theme] .shop-status, html[data-nbs-theme] .shop-status * { color: var(--t-muted) !important; }
html[data-nbs-theme="B"] :is(.google-rating-stars, .nbs-rev-stars) { color: #b8832e !important; text-shadow: none; }

html[data-nbs-theme] .about-page-photo::before {
    background: linear-gradient(90deg, rgb(var(--t-bg-rgb)) 0%, rgba(var(--t-bg-rgb), .7) 45%, rgba(var(--t-bg-rgb), 0) 100%) !important;
}

/* Meet Sandeep: photo fades softly into the page (no seam, no text over the face) */
@media (min-width: 821px) {
    .meet-section .meet-photo, html[data-nbs-theme] .meet-section .meet-photo {
        width: 58%;
        -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.12) 10%, rgba(0,0,0,.4) 22%, rgba(0,0,0,.78) 36%, #000 52%);
        mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.12) 10%, rgba(0,0,0,.4) 22%, rgba(0,0,0,.78) 36%, #000 52%);
    }
    .meet-section .meet-blend, html[data-nbs-theme] .meet-section .meet-blend { background: none; }
    .meet-content > * { max-width: min(585px, 44vw); }
}
