/* BarberSalonDark theme - LUXURY, MODERN, MINIMAL (scoped) */

#previewPanel.barbersalondark-theme,
#websiteContent.barbersalondark-theme,
body.barbersalondark-theme {
    --bsd-accent: #e76e6a;
    --bsd-dark: #0b0b0e;
    --bsd-surface: rgba(17, 17, 24, 0.92);
    --bsd-muted: rgba(207, 211, 216, 0.9);
    background: #ffffff;
}

#previewPanel.barbersalondark-theme .lion-container,
#websiteContent.barbersalondark-theme .lion-container,
body.barbersalondark-theme .lion-container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

#previewPanel.barbersalondark-theme #logoCircle,
#websiteContent.barbersalondark-theme #logoCircle,
body.barbersalondark-theme #logoCircle,
#previewPanel.barbersalondark-theme .barbersalondark-org-hidden,
#websiteContent.barbersalondark-theme .barbersalondark-org-hidden,
body.barbersalondark-theme .barbersalondark-org-hidden {
    display: none !important;
}

/* Top strip */
#previewPanel.barbersalondark-theme .barbersalondark-topstrip,
#websiteContent.barbersalondark-theme .barbersalondark-topstrip,
body.barbersalondark-theme .barbersalondark-topstrip {
    background: var(--bsd-dark);
    padding: 10px 0;
    font-size: 0.8rem;
    color: var(--bsd-muted);
}

#previewPanel.barbersalondark-theme .barbersalondark-topstrip-inner,
#websiteContent.barbersalondark-theme .barbersalondark-topstrip-inner,
body.barbersalondark-theme .barbersalondark-topstrip-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#previewPanel.barbersalondark-theme .barbersalondark-top-right,
#websiteContent.barbersalondark-theme .barbersalondark-top-right,
body.barbersalondark-theme .barbersalondark-top-right {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-left: auto;
}

#previewPanel.barbersalondark-theme .barbersalondark-top-social,
#websiteContent.barbersalondark-theme .barbersalondark-top-social,
body.barbersalondark-theme .barbersalondark-top-social {
    display: flex;
    gap: 10px;
}

#previewPanel.barbersalondark-theme .barbersalondark-top-social-link,
#websiteContent.barbersalondark-theme .barbersalondark-top-social-link,
body.barbersalondark-theme .barbersalondark-top-social-link {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.25);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
}

#previewPanel.barbersalondark-theme .barbersalondark-book-btn,
#websiteContent.barbersalondark-theme .barbersalondark-book-btn,
body.barbersalondark-theme .barbersalondark-book-btn {
    padding: 8px 18px;
    background: var(--bsd-accent);
    color: #fff !important;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    border-radius: 4px;
}

/* Hero */
#previewPanel.barbersalondark-theme .barbersalondark-hero,
#websiteContent.barbersalondark-theme .barbersalondark-hero,
body.barbersalondark-theme .barbersalondark-hero {
    position: relative;
    min-height: 580px;
    height: 75vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

#previewPanel.barbersalondark-theme .barbersalondark-hero-scrim,
#websiteContent.barbersalondark-theme .barbersalondark-hero-scrim,
body.barbersalondark-theme .barbersalondark-hero-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.45) 50%, rgba(11,11,14,0.95) 100%);
}

#previewPanel.barbersalondark-theme .barbersalondark-topbar,
#websiteContent.barbersalondark-theme .barbersalondark-topbar,
body.barbersalondark-theme .barbersalondark-topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(11, 11, 14, 0.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
}

#previewPanel.barbersalondark-theme .barbersalondark-topbar {
    cursor: pointer;
}

#previewPanel.barbersalondark-theme .barbersalondark-topbar-inner,
#websiteContent.barbersalondark-theme .barbersalondark-topbar-inner,
body.barbersalondark-theme .barbersalondark-topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    padding: 0 24px;
}

/* Logo in top nav - circular, left-aligned */
#previewPanel.barbersalondark-theme .barbersalondark-brand-wrap,
#websiteContent.barbersalondark-theme .barbersalondark-brand-wrap,
body.barbersalondark-theme .barbersalondark-brand-wrap {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

#previewPanel.barbersalondark-theme .barbersalondark-top-logo,
#websiteContent.barbersalondark-theme .barbersalondark-top-logo,
body.barbersalondark-theme .barbersalondark-top-logo {
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
    border-radius: 50%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    border: 2px solid rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
}

/* Hide scroll-only nav logo - we use top logo instead */
#previewPanel.barbersalondark-theme .lion-nav-logo,
#websiteContent.barbersalondark-theme .lion-nav-logo,
body.barbersalondark-theme .lion-nav-logo {
    display: none !important;
}

#previewPanel.barbersalondark-theme .barbersalondark-nav-wrap,
#websiteContent.barbersalondark-theme .barbersalondark-nav-wrap,
body.barbersalondark-theme .barbersalondark-nav-wrap {
    display: flex;
    align-items: center;
}

#previewPanel.barbersalondark-theme .barbersalondark-nav-link,
#websiteContent.barbersalondark-theme .barbersalondark-nav-link,
body.barbersalondark-theme .barbersalondark-nav-link {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.92) !important;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

#previewPanel.barbersalondark-theme .barbersalondark-nav-link:hover,
#websiteContent.barbersalondark-theme .barbersalondark-nav-link:hover,
body.barbersalondark-theme .barbersalondark-nav-link:hover {
    color: var(--bsd-accent) !important;
}

#previewPanel.barbersalondark-theme .barbersalondark-hero-label,
#websiteContent.barbersalondark-theme .barbersalondark-hero-label,
body.barbersalondark-theme .barbersalondark-hero-label {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.9);
    margin-bottom: 8px;
}

#previewPanel.barbersalondark-theme .barbersalondark-hero-content,
#websiteContent.barbersalondark-theme .barbersalondark-hero-content,
body.barbersalondark-theme .barbersalondark-hero-content {
    position: relative;
    z-index: 2;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px 20px 40px;
}

#previewPanel.barbersalondark-theme.mobile-menu-open .barbersalondark-hero-content,
#websiteContent.barbersalondark-theme.mobile-menu-open .barbersalondark-hero-content,
body.barbersalondark-theme.mobile-menu-open .barbersalondark-hero-content {
    opacity: 0 !important;
    pointer-events: none !important;
}

#previewPanel.barbersalondark-theme .barbersalondark-hero-title,
#websiteContent.barbersalondark-theme .barbersalondark-hero-title,
body.barbersalondark-theme .barbersalondark-hero-title {
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    line-height: 1.1;
    color: #fff !important;
    font-size: clamp(2rem, 5vw, 4.2rem);
}

#previewPanel.barbersalondark-theme .barbersalondark-hero-subline,
#websiteContent.barbersalondark-theme .barbersalondark-hero-subline,
body.barbersalondark-theme .barbersalondark-hero-subline {
    margin-top: 14px;
    max-width: 560px;
    color: var(--bsd-muted);
    line-height: 1.65;
    font-size: 1rem;
}

#previewPanel.barbersalondark-theme .barbersalondark-hero-cta,
#websiteContent.barbersalondark-theme .barbersalondark-hero-cta,
body.barbersalondark-theme .barbersalondark-hero-cta {
    margin-top: 24px;
    padding: 14px 28px;
    background: var(--bsd-accent) !important;
    color: #fff !important;
    border: 0;
    border-radius: 4px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    width: fit-content;
}

/* Mobile menu */
#previewPanel.barbersalondark-theme .barbersalondark-mobile-menu-btn,
#websiteContent.barbersalondark-theme .barbersalondark-mobile-menu-btn,
body.barbersalondark-theme .barbersalondark-mobile-menu-btn {
    color: #fff;
    background: transparent;
    border: none;
    font-size: 1.25rem;
}

#previewPanel.barbersalondark-theme .barbersalondark-mobile-menu,
#websiteContent.barbersalondark-theme .barbersalondark-mobile-menu,
body.barbersalondark-theme .barbersalondark-mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    background: rgba(250, 250, 250, 0.98);
    overflow: auto;
    padding: 80px 24px 40px;
}

#previewPanel.barbersalondark-theme .barbersalondark-mobile-menu.hidden,
#websiteContent.barbersalondark-theme .barbersalondark-mobile-menu.hidden,
body.barbersalondark-theme .barbersalondark-mobile-menu.hidden {
    display: none !important;
}

#previewPanel.barbersalondark-theme .barbersalondark-mobile-menu-head,
#websiteContent.barbersalondark-theme .barbersalondark-mobile-menu-head,
body.barbersalondark-theme .barbersalondark-mobile-menu-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

#previewPanel.barbersalondark-theme .barbersalondark-mobile-menu-brand,
#websiteContent.barbersalondark-theme .barbersalondark-mobile-menu-brand,
body.barbersalondark-theme .barbersalondark-mobile-menu-brand {
    font-weight: 800;
    font-size: 1.25rem;
    color: #111;
}

#previewPanel.barbersalondark-theme .barbersalondark-mobile-close,
#websiteContent.barbersalondark-theme .barbersalondark-mobile-close,
body.barbersalondark-theme .barbersalondark-mobile-close {
    background: transparent;
    border: none;
    font-size: 1.5rem;
    color: #111;
    cursor: pointer;
}

#previewPanel.barbersalondark-theme .barbersalondark-mobile-link,
#websiteContent.barbersalondark-theme .barbersalondark-mobile-link,
body.barbersalondark-theme .barbersalondark-mobile-link {
    display: block;
    padding: 14px 0;
    color: #111 !important;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

body.mobile-menu-open {
    overflow: hidden !important;
}

/* Sections */
#previewPanel.barbersalondark-theme .barbersalondark-section,
#websiteContent.barbersalondark-theme .barbersalondark-section,
body.barbersalondark-theme .barbersalondark-section {
    padding: 72px 20px;
    background: #fff;
}

#previewPanel.barbersalondark-theme .barbersalondark-kicker,
#websiteContent.barbersalondark-theme .barbersalondark-kicker,
body.barbersalondark-theme .barbersalondark-kicker {
    color: var(--bsd-accent);
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 0.08em;
    font-size: 0.8rem;
    margin-bottom: 8px;
}

#previewPanel.barbersalondark-theme .barbersalondark-section-title,
#websiteContent.barbersalondark-theme .barbersalondark-section-title,
body.barbersalondark-theme .barbersalondark-section-title {
    font-weight: 900;
    color: #111 !important;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    margin-bottom: 16px;
    position: relative;
}

#previewPanel.barbersalondark-theme .barbersalondark-section-title::after,
#websiteContent.barbersalondark-theme .barbersalondark-section-title::after,
body.barbersalondark-theme .barbersalondark-section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: var(--bsd-accent);
    margin-top: 10px;
}

#previewPanel.barbersalondark-theme .barbersalondark-body,
#websiteContent.barbersalondark-theme .barbersalondark-body,
body.barbersalondark-theme .barbersalondark-body {
    color: #333;
    line-height: 1.75;
    font-size: 1rem;
}

#previewPanel.barbersalondark-theme .barbersalondark-cta-outline,
#websiteContent.barbersalondark-theme .barbersalondark-cta-outline,
body.barbersalondark-theme .barbersalondark-cta-outline {
    display: inline-flex;
    align-items: center;
    margin-top: 20px;
    padding: 12px 24px;
    border: 2px solid var(--bsd-accent);
    color: #111 !important;
    text-decoration: none;
    font-weight: 700;
    border-radius: 4px;
}

/* About grid */
#previewPanel.barbersalondark-theme .barbersalondark-about-grid,
#websiteContent.barbersalondark-theme .barbersalondark-about-grid,
body.barbersalondark-theme .barbersalondark-about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

#previewPanel.barbersalondark-theme .barbersalondark-about-img-wrap,
#websiteContent.barbersalondark-theme .barbersalondark-about-img-wrap,
body.barbersalondark-theme .barbersalondark-about-img-wrap {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.12);
    aspect-ratio: 4/3;
    min-height: 240px;
    position: relative;
    width: 100%;
}

#previewPanel.barbersalondark-theme .barbersalondark-about-img,
#websiteContent.barbersalondark-theme .barbersalondark-about-img,
body.barbersalondark-theme .barbersalondark-about-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

/* What We Do / Services - split layout */
#previewPanel.barbersalondark-theme .barbersalondark-whatwedo-grid,
#websiteContent.barbersalondark-theme .barbersalondark-whatwedo-grid,
body.barbersalondark-theme .barbersalondark-whatwedo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

#previewPanel.barbersalondark-theme .barbersalondark-whatwedo-image,
#websiteContent.barbersalondark-theme .barbersalondark-whatwedo-image,
body.barbersalondark-theme .barbersalondark-whatwedo-image {
    min-height: 420px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 12px;
}
/* Empty frame when no image - dashed border so user knows to add one */
#previewPanel.barbersalondark-theme .barbersalondark-whatwedo-image.bsd-empty-frame,
#websiteContent.barbersalondark-theme .barbersalondark-whatwedo-image.bsd-empty-frame,
body.barbersalondark-theme .barbersalondark-whatwedo-image.bsd-empty-frame {
    background: #f8f9fa;
    border: 2px dashed rgba(231, 110, 106, 0.5);
    position: relative;
}
#previewPanel.barbersalondark-theme .barbersalondark-whatwedo-image.bsd-empty-frame::after,
#websiteContent.barbersalondark-theme .barbersalondark-whatwedo-image.bsd-empty-frame::after,
body.barbersalondark-theme .barbersalondark-whatwedo-image.bsd-empty-frame::after {
    content: '+';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: rgba(231, 110, 106, 0.4);
    font-weight: 300;
}

#previewPanel.barbersalondark-theme .barbersalondark-service-card,
#websiteContent.barbersalondark-theme .barbersalondark-service-card,
body.barbersalondark-theme .barbersalondark-service-card {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 20px;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 12px;
    margin-bottom: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

#previewPanel.barbersalondark-theme .barbersalondark-service-icon,
#websiteContent.barbersalondark-theme .barbersalondark-service-icon,
body.barbersalondark-theme .barbersalondark-service-icon {
    width: 64px;
    height: 64px;
    min-width: 64px;
    background: var(--bsd-accent);
    color: #fff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

#previewPanel.barbersalondark-theme .barbersalondark-service-title,
#websiteContent.barbersalondark-theme .barbersalondark-service-title,
body.barbersalondark-theme .barbersalondark-service-title {
    font-weight: 800;
    color: #111 !important;
    font-size: 1.1rem;
    margin-bottom: 8px;
}

#previewPanel.barbersalondark-theme .barbersalondark-service-desc,
#websiteContent.barbersalondark-theme .barbersalondark-service-desc,
body.barbersalondark-theme .barbersalondark-service-desc {
    color: #555;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Services - reuse modern structure */
#previewPanel.barbersalondark-theme .modern-services-grid,
#websiteContent.barbersalondark-theme .modern-services-grid,
body.barbersalondark-theme .modern-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}

#previewPanel.barbersalondark-theme .modern-service-card,
#websiteContent.barbersalondark-theme .modern-service-card,
body.barbersalondark-theme .modern-service-card {
    background: var(--bsd-surface);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 12px;
    overflow: hidden;
}

#previewPanel.barbersalondark-theme .modern-service-title,
#websiteContent.barbersalondark-theme .modern-service-title,
body.barbersalondark-theme .modern-service-title {
    color: var(--bsd-accent) !important;
}

#previewPanel.barbersalondark-theme .modern-service-name,
#websiteContent.barbersalondark-theme .modern-service-name,
body.barbersalondark-theme .modern-service-name {
    color: #f8fafc !important;
}

#previewPanel.barbersalondark-theme .modern-service-price,
#websiteContent.barbersalondark-theme .modern-service-price,
body.barbersalondark-theme .modern-service-price {
    color: #f87171 !important;
}

/* Team - split layout */
#previewPanel.barbersalondark-theme .barbersalondark-team-grid,
#websiteContent.barbersalondark-theme .barbersalondark-team-grid,
body.barbersalondark-theme .barbersalondark-team-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

#previewPanel.barbersalondark-theme .barbersalondark-team-photos,
#websiteContent.barbersalondark-theme .barbersalondark-team-photos,
body.barbersalondark-theme .barbersalondark-team-photos {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 22px;
    margin: 24px 0;
    width: 100%;
    max-width: 100%;
}
/* When card layout (gold, fifth, modern, nailspa, studio, lion) is used, let child control layout */
#previewPanel.barbersalondark-theme .barbersalondark-team-photos:has(> .gold-team-grid),
#websiteContent.barbersalondark-theme .barbersalondark-team-photos:has(> .gold-team-grid),
body.barbersalondark-theme .barbersalondark-team-photos:has(> .gold-team-grid),
#previewPanel.barbersalondark-theme .barbersalondark-team-photos:has(> .fifth-team-grid),
#websiteContent.barbersalondark-theme .barbersalondark-team-photos:has(> .fifth-team-grid),
body.barbersalondark-theme .barbersalondark-team-photos:has(> .fifth-team-grid),
#previewPanel.barbersalondark-theme .barbersalondark-team-photos:has(> .modern-team-grid),
#websiteContent.barbersalondark-theme .barbersalondark-team-photos:has(> .modern-team-grid),
body.barbersalondark-theme .barbersalondark-team-photos:has(> .modern-team-grid),
#previewPanel.barbersalondark-theme .barbersalondark-team-photos:has(> .nailspa-team-grid),
#websiteContent.barbersalondark-theme .barbersalondark-team-photos:has(> .nailspa-team-grid),
body.barbersalondark-theme .barbersalondark-team-photos:has(> .nailspa-team-grid),
#previewPanel.barbersalondark-theme .barbersalondark-team-photos:has(> .studio-team-grid),
#websiteContent.barbersalondark-theme .barbersalondark-team-photos:has(> .studio-team-grid),
body.barbersalondark-theme .barbersalondark-team-photos:has(> .studio-team-grid),
#previewPanel.barbersalondark-theme .barbersalondark-team-photos:has(> .lion-experts-grid),
#websiteContent.barbersalondark-theme .barbersalondark-team-photos:has(> .lion-experts-grid),
body.barbersalondark-theme .barbersalondark-team-photos:has(> .lion-experts-grid),
#previewPanel.barbersalondark-theme .barbersalondark-team-photos:has(.employee-center-circle),
#websiteContent.barbersalondark-theme .barbersalondark-team-photos:has(.employee-center-circle),
body.barbersalondark-theme .barbersalondark-team-photos:has(.employee-center-circle) {
    display: block;
}

/* Lion team style inside barbersalondark: ensure clean grid layout, one card per employee */
#previewPanel.barbersalondark-theme .barbersalondark-team-photos .lion-experts-grid,
#websiteContent.barbersalondark-theme .barbersalondark-team-photos .lion-experts-grid,
body.barbersalondark-theme .barbersalondark-team-photos .lion-experts-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
    width: 100%;
    min-width: 0;
}
#previewPanel.barbersalondark-theme .barbersalondark-team-photos .lion-expert-card,
#websiteContent.barbersalondark-theme .barbersalondark-team-photos .lion-expert-card,
body.barbersalondark-theme .barbersalondark-team-photos .lion-expert-card {
    display: flex !important;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
}
#previewPanel.barbersalondark-theme .barbersalondark-team-photos .lion-expert-photo,
#websiteContent.barbersalondark-theme .barbersalondark-team-photos .lion-expert-photo,
body.barbersalondark-theme .barbersalondark-team-photos .lion-expert-photo {
    width: 100%;
    aspect-ratio: 1;
    flex-shrink: 0;
    min-width: 0;
}

/* Gold, Fifth, Modern, Nail Spa, Studio: ensure grids don't overlap when inside barbersalondark */
#previewPanel.barbersalondark-theme .barbersalondark-team-photos .gold-team-grid,
#previewPanel.barbersalondark-theme .barbersalondark-team-photos .fifth-team-grid,
#previewPanel.barbersalondark-theme .barbersalondark-team-photos .modern-team-grid,
#previewPanel.barbersalondark-theme .barbersalondark-team-photos .nailspa-team-grid,
#previewPanel.barbersalondark-theme .barbersalondark-team-photos .studio-team-grid,
#websiteContent.barbersalondark-theme .barbersalondark-team-photos .gold-team-grid,
#websiteContent.barbersalondark-theme .barbersalondark-team-photos .fifth-team-grid,
#websiteContent.barbersalondark-theme .barbersalondark-team-photos .modern-team-grid,
#websiteContent.barbersalondark-theme .barbersalondark-team-photos .nailspa-team-grid,
#websiteContent.barbersalondark-theme .barbersalondark-team-photos .studio-team-grid,
body.barbersalondark-theme .barbersalondark-team-photos .gold-team-grid,
body.barbersalondark-theme .barbersalondark-team-photos .fifth-team-grid,
body.barbersalondark-theme .barbersalondark-team-photos .modern-team-grid,
body.barbersalondark-theme .barbersalondark-team-photos .nailspa-team-grid,
body.barbersalondark-theme .barbersalondark-team-photos .studio-team-grid {
    width: 100%;
    min-width: 0;
}
#previewPanel.barbersalondark-theme .barbersalondark-team-photos .gold-team-card,
#previewPanel.barbersalondark-theme .barbersalondark-team-photos .fifth-team-card,
#previewPanel.barbersalondark-theme .barbersalondark-team-photos .modern-team-card,
#previewPanel.barbersalondark-theme .barbersalondark-team-photos .nailspa-team-card,
#previewPanel.barbersalondark-theme .barbersalondark-team-photos .studio-team-card,
#websiteContent.barbersalondark-theme .barbersalondark-team-photos .gold-team-card,
#websiteContent.barbersalondark-theme .barbersalondark-team-photos .fifth-team-card,
#websiteContent.barbersalondark-theme .barbersalondark-team-photos .modern-team-card,
#websiteContent.barbersalondark-theme .barbersalondark-team-photos .nailspa-team-card,
#websiteContent.barbersalondark-theme .barbersalondark-team-photos .studio-team-card,
body.barbersalondark-theme .barbersalondark-team-photos .gold-team-card,
body.barbersalondark-theme .barbersalondark-team-photos .fifth-team-card,
body.barbersalondark-theme .barbersalondark-team-photos .modern-team-card,
body.barbersalondark-theme .barbersalondark-team-photos .nailspa-team-card,
body.barbersalondark-theme .barbersalondark-team-photos .studio-team-card {
    min-width: 0;
    overflow: hidden;
}

/* Responsive: fewer employees = bigger photos, displayed beside each other */
.barbersalondark-team-photos.bsd-team-count-4 {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 24px;
}
.barbersalondark-team-photos.bsd-team-count-4 .barbersalondark-team-photo {
    width: 140px;
    max-width: 140px;
}
.barbersalondark-team-photos.bsd-team-count-4 .barbersalondark-team-initials {
    font-size: 1.5rem;
}

.barbersalondark-team-photos.bsd-team-count-8 {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 22px;
}
.barbersalondark-team-photos.bsd-team-count-8 .barbersalondark-team-photo {
    width: 130px;
    max-width: 130px;
}
.barbersalondark-team-photos.bsd-team-count-8 .barbersalondark-team-initials {
    font-size: 1.25rem;
}

.barbersalondark-team-photos.bsd-team-count-12 {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 20px;
}
.barbersalondark-team-photos.bsd-team-count-12 .barbersalondark-team-photo {
    width: 120px;
    max-width: 120px;
}
.barbersalondark-team-photos.bsd-team-count-12 .barbersalondark-team-initials {
    font-size: 1.1rem;
}

.barbersalondark-team-photos.bsd-team-count-many {
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 18px;
}
.barbersalondark-team-photos.bsd-team-count-many .barbersalondark-team-photo {
    width: 100px;
    max-width: 100px;
}
.barbersalondark-team-photos.bsd-team-count-many .barbersalondark-team-initials {
    font-size: 0.95rem;
}

#previewPanel.barbersalondark-theme .barbersalondark-team-photo,
#websiteContent.barbersalondark-theme .barbersalondark-team-photo,
body.barbersalondark-theme .barbersalondark-team-photo {
    aspect-ratio: 1;
    width: 120px;
    max-width: 120px;
    border-radius: 50%;
    overflow: hidden;
    background: #e5e7eb;
    position: relative;
}

#previewPanel.barbersalondark-theme .barbersalondark-team-photo img,
#websiteContent.barbersalondark-theme .barbersalondark-team-photo img,
body.barbersalondark-theme .barbersalondark-team-photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 2;
}

#previewPanel.barbersalondark-theme .barbersalondark-team-initials,
#websiteContent.barbersalondark-theme .barbersalondark-team-initials,
body.barbersalondark-theme .barbersalondark-team-initials {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.85rem;
    color: #6b7280;
    z-index: 1;
}

#previewPanel.barbersalondark-theme .barbersalondark-team-portrait,
#websiteContent.barbersalondark-theme .barbersalondark-team-portrait,
body.barbersalondark-theme .barbersalondark-team-portrait {
    min-height: 480px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 12px;
}

#previewPanel.barbersalondark-theme .barbersalondark-team-portrait {
    cursor: pointer;
    position: relative;
}
#previewPanel.barbersalondark-theme .barbersalondark-team-portrait::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    background: rgba(0,0,0,0);
    transition: background 0.2s;
}
#previewPanel.barbersalondark-theme .barbersalondark-team-portrait:hover::after {
    background: rgba(0,0,0,0.2);
}

/* Click-to-upload for all images in builder */
#previewPanel.barbersalondark-theme #aboutBgSection,
#previewPanel.barbersalondark-theme #aboutImagePreview,
#previewPanel.barbersalondark-theme #aboutImagePreview2,
#previewPanel.barbersalondark-theme #barbersalondarkServicesImage,
#previewPanel.barbersalondark-theme .barbersalondark-gallery-item,
#previewPanel.barbersalondark-theme .barbersalondark-team-photo {
    cursor: pointer;
}
#previewPanel.barbersalondark-theme #aboutBgSection {
    position: relative;
}
#previewPanel.barbersalondark-theme #aboutBgSection::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0);
    transition: background 0.2s;
    pointer-events: none;
}
#previewPanel.barbersalondark-theme #aboutBgSection:hover::after {
    background: rgba(0,0,0,0.15);
}
#previewPanel.barbersalondark-theme .barbersalondark-gallery-item,
#previewPanel.barbersalondark-theme .barbersalondark-team-photo {
    position: relative;
}
#previewPanel.barbersalondark-theme .barbersalondark-gallery-item::after,
#previewPanel.barbersalondark-theme .barbersalondark-team-photo::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: rgba(0,0,0,0);
    transition: background 0.2s;
}
#previewPanel.barbersalondark-theme .barbersalondark-gallery-item:hover::after,
#previewPanel.barbersalondark-theme .barbersalondark-team-photo:hover::after {
    background: rgba(0,0,0,0.2);
}
#previewPanel.barbersalondark-theme #barbersalondarkServicesImage {
    position: relative;
}
#previewPanel.barbersalondark-theme #barbersalondarkServicesImage::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    background: rgba(0,0,0,0);
    transition: background 0.2s;
}
#previewPanel.barbersalondark-theme #barbersalondarkServicesImage:hover::after {
    background: rgba(0,0,0,0.2);
}

/* Team - reuse modern structure */
#previewPanel.barbersalondark-theme .modern-team-grid,
#websiteContent.barbersalondark-theme .modern-team-grid,
body.barbersalondark-theme .modern-team-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

#previewPanel.barbersalondark-theme .modern-team-card,
#websiteContent.barbersalondark-theme .modern-team-card,
body.barbersalondark-theme .modern-team-card {
    display: flex;
    flex-direction: column;
    background: var(--bsd-surface);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 12px;
    overflow: hidden;
}
#previewPanel.barbersalondark-theme .modern-team-photo,
#websiteContent.barbersalondark-theme .modern-team-photo,
body.barbersalondark-theme .modern-team-photo {
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
}
#previewPanel.barbersalondark-theme .modern-team-name,
#websiteContent.barbersalondark-theme .modern-team-name,
body.barbersalondark-theme .modern-team-name { margin: 12px 20px 0; }
#previewPanel.barbersalondark-theme .modern-team-title,
#websiteContent.barbersalondark-theme .modern-team-title,
body.barbersalondark-theme .modern-team-title { margin: 4px 20px 0; }
#previewPanel.barbersalondark-theme .modern-team-book,
#websiteContent.barbersalondark-theme .modern-team-book,
body.barbersalondark-theme .modern-team-book { margin: 12px 20px 20px; }
#previewPanel.barbersalondark-theme .modern-team-social,
#websiteContent.barbersalondark-theme .modern-team-social,
body.barbersalondark-theme .modern-team-social { margin: 0 20px 20px; }

#previewPanel.barbersalondark-theme .modern-team-book,
#websiteContent.barbersalondark-theme .modern-team-book,
body.barbersalondark-theme .modern-team-book {
    background: var(--bsd-accent) !important;
    color: #fff !important;
}

/* Cross-theme team fallbacks: position/layout only - visibility controlled by inline style (display:none when image exists) */
#previewPanel.barbersalondark-theme .fifth-team-photo-fallback,
#previewPanel.barbersalondark-theme .gold-team-fallback,
#previewPanel.barbersalondark-theme .modern-team-fallback,
#previewPanel.barbersalondark-theme .nailspa-team-fallback,
#previewPanel.barbersalondark-theme .studio-team-fallback,
#previewPanel.barbersalondark-theme .lion-expert-photo-fallback,
#websiteContent.barbersalondark-theme .fifth-team-photo-fallback,
#websiteContent.barbersalondark-theme .gold-team-fallback,
#websiteContent.barbersalondark-theme .modern-team-fallback,
#websiteContent.barbersalondark-theme .nailspa-team-fallback,
#websiteContent.barbersalondark-theme .studio-team-fallback,
#websiteContent.barbersalondark-theme .lion-expert-photo-fallback,
body.barbersalondark-theme .fifth-team-photo-fallback,
body.barbersalondark-theme .gold-team-fallback,
body.barbersalondark-theme .modern-team-fallback,
body.barbersalondark-theme .nailspa-team-fallback,
body.barbersalondark-theme .studio-team-fallback,
body.barbersalondark-theme .lion-expert-photo-fallback {
    position: absolute;
    inset: 0;
    align-items: center;
    justify-content: center;
    /* Do NOT set display - inline style controls visibility */
}

/* Gallery - split layout (1fr 1fr to align with team section above) */
#previewPanel.barbersalondark-theme .barbersalondark-gallery-split,
#websiteContent.barbersalondark-theme .barbersalondark-gallery-split,
body.barbersalondark-theme .barbersalondark-gallery-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

/* Gallery */
#previewPanel.barbersalondark-theme .barbersalondark-gallery-placeholder,
#websiteContent.barbersalondark-theme .barbersalondark-gallery-placeholder,
body.barbersalondark-theme .barbersalondark-gallery-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    color: var(--bsd-muted);
    font-size: 0.9rem;
}

#previewPanel.barbersalondark-theme .barbersalondark-gallery-grid,
#websiteContent.barbersalondark-theme .barbersalondark-gallery-grid,
body.barbersalondark-theme .barbersalondark-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

#previewPanel.barbersalondark-theme .barbersalondark-gallery-item,
#websiteContent.barbersalondark-theme .barbersalondark-gallery-item,
body.barbersalondark-theme .barbersalondark-gallery-item {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    aspect-ratio: 1;
    position: relative;
}

#previewPanel.barbersalondark-theme .barbersalondark-gallery-item img,
#websiteContent.barbersalondark-theme .barbersalondark-gallery-item img,
body.barbersalondark-theme .barbersalondark-gallery-item img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Hours section - prices & schedule */
#previewPanel.barbersalondark-theme .barbersalondark-hours-grid,
#websiteContent.barbersalondark-theme .barbersalondark-hours-grid,
body.barbersalondark-theme .barbersalondark-hours-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

#previewPanel.barbersalondark-theme .barbersalondark-dark-card,
#websiteContent.barbersalondark-theme .barbersalondark-dark-card,
body.barbersalondark-theme .barbersalondark-dark-card {
    background: var(--bsd-surface);
    border-radius: 12px;
    padding: 24px;
    color: #fff;
}

#previewPanel.barbersalondark-theme .barbersalondark-price-row,
#websiteContent.barbersalondark-theme .barbersalondark-price-row,
body.barbersalondark-theme .barbersalondark-price-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px dashed rgba(255,255,255,0.2);
}

#previewPanel.barbersalondark-theme .barbersalondark-price-amt,
#websiteContent.barbersalondark-theme .barbersalondark-price-amt,
body.barbersalondark-theme .barbersalondark-price-amt {
    color: var(--bsd-accent);
    font-weight: 700;
}

#previewPanel.barbersalondark-theme .barbersalondark-more-link,
#websiteContent.barbersalondark-theme .barbersalondark-more-link,
body.barbersalondark-theme .barbersalondark-more-link {
    display: inline-block;
    margin-top: 16px;
    color: #fff !important;
    font-weight: 700;
    text-decoration: none;
}

#previewPanel.barbersalondark-theme .barbersalondark-book-appt,
#websiteContent.barbersalondark-theme .barbersalondark-book-appt,
body.barbersalondark-theme .barbersalondark-book-appt {
    display: inline-block;
    margin-top: 16px;
    padding: 12px 24px;
    background: var(--bsd-accent);
    color: #fff !important;
    text-decoration: none;
    font-weight: 700;
    border-radius: 4px;
}

#previewPanel.barbersalondark-theme #previewWorkingHours p,
#websiteContent.barbersalondark-theme #previewWorkingHours p,
body.barbersalondark-theme #previewWorkingHours p {
    color: rgba(255,255,255,0.9);
}

/* Footer */
#previewPanel.barbersalondark-theme .barbersalondark-footer,
#websiteContent.barbersalondark-theme .barbersalondark-footer,
body.barbersalondark-theme .barbersalondark-footer {
    background: var(--bsd-dark);
    color: rgba(255, 255, 255, 0.9);
    padding: 56px 20px 24px;
}

#previewPanel.barbersalondark-theme .barbersalondark-footer-grid,
#websiteContent.barbersalondark-theme .barbersalondark-footer-grid,
body.barbersalondark-theme .barbersalondark-footer-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

#previewPanel.barbersalondark-theme .barbersalondark-footer-title,
#websiteContent.barbersalondark-theme .barbersalondark-footer-title,
body.barbersalondark-theme .barbersalondark-footer-title {
    color: #fff;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 16px;
    font-size: 1rem;
}

#previewPanel.barbersalondark-theme .barbersalondark-contact-item,
#websiteContent.barbersalondark-theme .barbersalondark-contact-item,
body.barbersalondark-theme .barbersalondark-contact-item {
    margin-bottom: 10px;
    color: rgba(255,255,255,0.88);
}

#previewPanel.barbersalondark-theme .barbersalondark-contact-item i,
#websiteContent.barbersalondark-theme .barbersalondark-contact-item i,
body.barbersalondark-theme .barbersalondark-contact-item i {
    color: var(--bsd-accent);
    margin-right: 8px;
}

#previewPanel.barbersalondark-theme .barbersalondark-social,
#websiteContent.barbersalondark-theme .barbersalondark-social,
body.barbersalondark-theme .barbersalondark-social {
    display: flex;
    gap: 10px;
}

#previewPanel.barbersalondark-theme .barbersalondark-social-link,
#websiteContent.barbersalondark-theme .barbersalondark-social-link,
body.barbersalondark-theme .barbersalondark-social-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

#previewPanel.barbersalondark-theme .barbersalondark-footer-list,
#websiteContent.barbersalondark-theme .barbersalondark-footer-list,
body.barbersalondark-theme .barbersalondark-footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

#previewPanel.barbersalondark-theme .barbersalondark-footer-list li,
#websiteContent.barbersalondark-theme .barbersalondark-footer-list li,
body.barbersalondark-theme .barbersalondark-footer-list li {
    margin-bottom: 8px;
    color: rgba(255,255,255,0.88);
}

#previewPanel.barbersalondark-theme .barbersalondark-footer-arrow,
#websiteContent.barbersalondark-theme .barbersalondark-footer-arrow,
body.barbersalondark-theme .barbersalondark-footer-arrow {
    color: var(--bsd-accent);
    margin-right: 8px;
    font-size: 0.7rem;
}

#previewPanel.barbersalondark-theme .barbersalondark-location-select,
#websiteContent.barbersalondark-theme .barbersalondark-location-select,
body.barbersalondark-theme .barbersalondark-location-select {
    width: 100%;
    padding: 12px 14px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.2);
    background: #fff;
    color: #111;
}

#previewPanel.barbersalondark-theme .barbersalondark-map,
#websiteContent.barbersalondark-theme .barbersalondark-map,
body.barbersalondark-theme .barbersalondark-map {
    margin-top: 12px;
    height: 220px;
    border-radius: 12px;
    overflow: hidden;
}

#previewPanel.barbersalondark-theme .barbersalondark-footer-bottom,
#websiteContent.barbersalondark-theme .barbersalondark-footer-bottom,
body.barbersalondark-theme .barbersalondark-footer-bottom {
    margin-top: 32px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.12);
    text-align: center;
    color: rgba(255,255,255,0.75);
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 900px) {
    /* Our Experts: keep photos beside each other on tablet - 4 columns */
    #previewPanel.barbersalondark-theme .barbersalondark-team-photos,
    #websiteContent.barbersalondark-theme .barbersalondark-team-photos,
    body.barbersalondark-theme .barbersalondark-team-photos,
    #previewPanel.barbersalondark-theme .barbersalondark-team-photos.bsd-team-count-4,
    #websiteContent.barbersalondark-theme .barbersalondark-team-photos.bsd-team-count-4,
    body.barbersalondark-theme .barbersalondark-team-photos.bsd-team-count-4,
    #previewPanel.barbersalondark-theme .barbersalondark-team-photos.bsd-team-count-8,
    #websiteContent.barbersalondark-theme .barbersalondark-team-photos.bsd-team-count-8,
    body.barbersalondark-theme .barbersalondark-team-photos.bsd-team-count-8,
    #previewPanel.barbersalondark-theme .barbersalondark-team-photos.bsd-team-count-12,
    #websiteContent.barbersalondark-theme .barbersalondark-team-photos.bsd-team-count-12,
    body.barbersalondark-theme .barbersalondark-team-photos.bsd-team-count-12,
    #previewPanel.barbersalondark-theme .barbersalondark-team-photos.bsd-team-count-many,
    #websiteContent.barbersalondark-theme .barbersalondark-team-photos.bsd-team-count-many,
    body.barbersalondark-theme .barbersalondark-team-photos.bsd-team-count-many {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        gap: 16px !important;
    }
    #previewPanel.barbersalondark-theme .barbersalondark-team-photos .barbersalondark-team-photo,
    #websiteContent.barbersalondark-theme .barbersalondark-team-photos .barbersalondark-team-photo,
    body.barbersalondark-theme .barbersalondark-team-photos .barbersalondark-team-photo {
        width: 100% !important;
        max-width: 100% !important;
        aspect-ratio: 1;
    }
    #previewPanel.barbersalondark-theme .barbersalondark-team-photos .barbersalondark-team-initials,
    #websiteContent.barbersalondark-theme .barbersalondark-team-photos .barbersalondark-team-initials,
    body.barbersalondark-theme .barbersalondark-team-photos .barbersalondark-team-initials {
        font-size: 0.9rem;
    }

    #previewPanel.barbersalondark-theme .barbersalondark-about-grid,
    #websiteContent.barbersalondark-theme .barbersalondark-about-grid,
    body.barbersalondark-theme .barbersalondark-about-grid,
    #previewPanel.barbersalondark-theme .barbersalondark-whatwedo-grid,
    #websiteContent.barbersalondark-theme .barbersalondark-whatwedo-grid,
    body.barbersalondark-theme .barbersalondark-whatwedo-grid,
    #previewPanel.barbersalondark-theme .barbersalondark-team-grid,
    #websiteContent.barbersalondark-theme .barbersalondark-team-grid,
    body.barbersalondark-theme .barbersalondark-team-grid,
    #previewPanel.barbersalondark-theme .barbersalondark-gallery-split,
    #websiteContent.barbersalondark-theme .barbersalondark-gallery-split,
    body.barbersalondark-theme .barbersalondark-gallery-split {
        grid-template-columns: 1fr;
    }

    #previewPanel.barbersalondark-theme .barbersalondark-hours-grid,
    #websiteContent.barbersalondark-theme .barbersalondark-hours-grid,
    body.barbersalondark-theme .barbersalondark-hours-grid {
        grid-template-columns: 1fr;
    }

    #previewPanel.barbersalondark-theme .modern-team-grid,
    #websiteContent.barbersalondark-theme .modern-team-grid,
    body.barbersalondark-theme .modern-team-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    #previewPanel.barbersalondark-theme .barbersalondark-gallery-grid,
    #websiteContent.barbersalondark-theme .barbersalondark-gallery-grid,
    body.barbersalondark-theme .barbersalondark-gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    #previewPanel.barbersalondark-theme .barbersalondark-footer-grid,
    #websiteContent.barbersalondark-theme .barbersalondark-footer-grid,
    body.barbersalondark-theme .barbersalondark-footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    #previewPanel.barbersalondark-theme .modern-team-grid,
    #websiteContent.barbersalondark-theme .modern-team-grid,
    body.barbersalondark-theme .modern-team-grid {
        grid-template-columns: 1fr;
    }
    /* Gallery: 2 columns on mobile so images stay beside each other */
    #previewPanel.barbersalondark-theme .barbersalondark-gallery-grid,
    #websiteContent.barbersalondark-theme .barbersalondark-gallery-grid,
    body.barbersalondark-theme .barbersalondark-gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
    }

    /* Our Experts: force photos beside each other on mobile - 4 columns, shrink to fit */
    #previewPanel.barbersalondark-theme .barbersalondark-team-photos,
    #websiteContent.barbersalondark-theme .barbersalondark-team-photos,
    body.barbersalondark-theme .barbersalondark-team-photos,
    #previewPanel.barbersalondark-theme .barbersalondark-team-photos.bsd-team-count-4,
    #websiteContent.barbersalondark-theme .barbersalondark-team-photos.bsd-team-count-4,
    body.barbersalondark-theme .barbersalondark-team-photos.bsd-team-count-4,
    #previewPanel.barbersalondark-theme .barbersalondark-team-photos.bsd-team-count-8,
    #websiteContent.barbersalondark-theme .barbersalondark-team-photos.bsd-team-count-8,
    body.barbersalondark-theme .barbersalondark-team-photos.bsd-team-count-8,
    #previewPanel.barbersalondark-theme .barbersalondark-team-photos.bsd-team-count-12,
    #websiteContent.barbersalondark-theme .barbersalondark-team-photos.bsd-team-count-12,
    body.barbersalondark-theme .barbersalondark-team-photos.bsd-team-count-12,
    #previewPanel.barbersalondark-theme .barbersalondark-team-photos.bsd-team-count-many,
    #websiteContent.barbersalondark-theme .barbersalondark-team-photos.bsd-team-count-many,
    body.barbersalondark-theme .barbersalondark-team-photos.bsd-team-count-many {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        gap: 12px !important;
        justify-content: center;
    }
    #previewPanel.barbersalondark-theme .barbersalondark-team-photos .barbersalondark-team-photo,
    #websiteContent.barbersalondark-theme .barbersalondark-team-photos .barbersalondark-team-photo,
    body.barbersalondark-theme .barbersalondark-team-photos .barbersalondark-team-photo {
        width: 100% !important;
        max-width: 100% !important;
        aspect-ratio: 1;
    }
    #previewPanel.barbersalondark-theme .barbersalondark-team-photos .barbersalondark-team-initials,
    #websiteContent.barbersalondark-theme .barbersalondark-team-photos .barbersalondark-team-initials,
    body.barbersalondark-theme .barbersalondark-team-photos .barbersalondark-team-initials {
        font-size: 0.75rem;
    }

    #previewPanel.barbersalondark-theme .barbersalondark-topstrip,
    #websiteContent.barbersalondark-theme .barbersalondark-topstrip,
    body.barbersalondark-theme .barbersalondark-topstrip {
        font-size: 0.7rem;
    }
}

/* Gallery popup - sliding carousel (luxury-style) */
.bsd-gallery-popup {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.bsd-gallery-popup-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(12px);
}

.bsd-gallery-popup-content {
    position: relative;
    background: #fff;
    border-radius: 20px;
    padding: 28px;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.bsd-gallery-popup-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    color: #333;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
    transition: background 0.2s, color 0.2s;
}

.bsd-gallery-popup-close:hover {
    background: var(--bsd-accent, #e76e6a);
    color: #fff;
}

.bsd-gallery-popup .gallery-slider-container {
    position: relative;
    width: 100%;
    max-width: 720px;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.bsd-gallery-popup .gallery-slider-track {
    display: flex;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.bsd-gallery-popup .gallery-slide {
    min-width: 100%;
    aspect-ratio: 16/10;
}

.bsd-gallery-popup .gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    display: block;
}

.bsd-gallery-popup .gallery-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: rgba(11, 11, 14, 0.95);
    border: 2px solid var(--gallery-accent, #d4af37);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s;
}

.bsd-gallery-popup .gallery-nav-btn:hover {
    background: var(--gallery-accent, #d4af37);
    color: #0b0b0e;
    border-color: var(--gallery-accent, #d4af37);
}

.bsd-gallery-popup .gallery-nav-btn.prev { left: 12px; }
.bsd-gallery-popup .gallery-nav-btn.next { right: 12px; }

.bsd-gallery-popup .gallery-indicators {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.bsd-gallery-popup .gallery-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.2s;
    border: 2px solid transparent;
}

.bsd-gallery-popup .gallery-indicator.active {
    width: 28px;
    border-radius: 6px;
    background: var(--gallery-accent, #d4af37);
    border-color: var(--gallery-accent, #d4af37);
}

.bsd-gallery-popup .gallery-thumbnails {
    display: flex;
    gap: 16px;
    margin-top: 20px;
    overflow-x: auto;
    padding: 12px 4px;
    max-width: 100%;
    justify-content: center;
}

.bsd-gallery-popup .gallery-thumbnail {
    min-width: 80px;
    height: 60px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    flex-shrink: 0;
}

.bsd-gallery-popup .gallery-thumbnail:hover {
    border-color: rgba(255, 255, 255, 0.4);
}

.bsd-gallery-popup .gallery-thumbnail.active {
    border-color: var(--gallery-accent, #d4af37);
    box-shadow: 0 0 0 2px var(--gallery-accent, #d4af37), 0 4px 12px rgba(0, 0, 0, 0.15);
}

.bsd-gallery-popup .gallery-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ========== Gallery Popup Design Variants ========== */

/* Minimal - Main image + square thumbnails, warm background */
.bsd-gallery-popup.gallery-popup-minimal-thumbnails .bsd-gallery-popup-content {
    background: linear-gradient(135deg, #fff8f0 0%, #ffe8d6 100%);
}
.bsd-gallery-popup.gallery-popup-minimal-thumbnails .gallery-thumbnail {
    min-width: 72px;
    height: 72px;
    border-radius: 8px;
    margin: 0 6px;
}
.bsd-gallery-popup.gallery-popup-minimal-thumbnails .gallery-thumbnails {
    gap: 12px;
}

/* Carousel 3-up - Three images side-by-side */
.bsd-gallery-popup.gallery-popup-carousel-3up .gallery-slider-container {
    max-width: 900px;
}
.bsd-gallery-popup.gallery-popup-carousel-3up .gallery-slide-3up {
    min-width: 33.333%;
    flex: 0 0 33.333%;
}
.bsd-gallery-popup.gallery-popup-carousel-3up .bsd-gallery-popup-content {
    background: #e8e4f0;
}

/* Full-screen - Large immersive image */
.bsd-gallery-popup.gallery-popup-fullscreen .bsd-gallery-popup-content {
    max-width: 95vw;
    max-height: 95vh;
    padding: 16px;
}
.bsd-gallery-popup.gallery-popup-fullscreen .gallery-slider-container {
    max-width: none;
    flex: 1;
}
.bsd-gallery-popup.gallery-popup-fullscreen .gallery-slide {
    aspect-ratio: 16/9;
}
.bsd-gallery-popup.gallery-popup-fullscreen .gallery-thumbnail {
    min-width: 64px;
    height: 64px;
    border: 2px solid rgba(255,255,255,0.5);
    position: relative;
}
.bsd-gallery-popup.gallery-popup-fullscreen .gallery-thumbnail.active::after {
    content: '';
    position: absolute;
    top: 4px;
    right: 4px;
    width: 18px;
    height: 18px;
    background: #4fc3f7;
    border-radius: 50%;
    border: 2px solid #fff;
}

/* 3D Arc - Curved slices, center in focus */
.bsd-gallery-popup.gallery-popup-arc-carousel .gallery-slider-track {
    perspective: 1200px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.bsd-gallery-popup.gallery-popup-arc-carousel .gallery-slide {
    min-width: 20%;
    flex: 0 0 20%;
    transition: filter 0.4s, opacity 0.4s, transform 0.4s;
    filter: grayscale(0.8);
    opacity: 0.6;
}
.bsd-gallery-popup.gallery-popup-arc-carousel .gallery-slide.active {
    filter: grayscale(0);
    opacity: 1;
    transform: scale(1.1);
    z-index: 2;
}
.bsd-gallery-popup.gallery-popup-arc-carousel .bsd-gallery-popup-content {
    background: #1a237e;
}
.bsd-gallery-popup.gallery-popup-arc-carousel .gallery-slider-container {
    overflow: visible;
}

/* Hexagonal - Honeycomb grid */
.bsd-gallery-popup.gallery-popup-hexagonal .gallery-slider-track {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    transform: none !important;
    max-width: 420px;
    max-height: 400px;
    overflow-y: auto;
}
.bsd-gallery-popup.gallery-popup-hexagonal .gallery-slide {
    min-width: auto;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    aspect-ratio: 0.866;
    opacity: 0.5;
    transition: opacity 0.3s, filter 0.3s;
}
.bsd-gallery-popup.gallery-popup-hexagonal .gallery-slide.active {
    opacity: 1;
    filter: brightness(1.2);
    outline: 3px solid #fff;
    outline-offset: 2px;
    z-index: 1;
}
.bsd-gallery-popup.gallery-popup-hexagonal .bsd-gallery-popup-content {
    background: #0d1b2a;
}
.bsd-gallery-popup.gallery-popup-hexagonal .gallery-slide img {
    border-radius: 0;
}

/* Stacked Cards - Layered tilt */
.bsd-gallery-popup.gallery-popup-stacked-cards .gallery-slider-container {
    perspective: 1500px;
    min-height: 420px;
    position: relative;
}
.bsd-gallery-popup.gallery-popup-stacked-cards .gallery-slider-track {
    position: relative;
    min-height: 380px;
    display: block;
}
.bsd-gallery-popup.gallery-popup-stacked-cards .gallery-slide {
    position: absolute;
    left: 50%;
    top: 0;
    width: 85%;
    max-width: 500px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
    transition: transform 0.4s, box-shadow 0.4s, z-index 0.4s;
    z-index: 1;
}
.bsd-gallery-popup.gallery-popup-stacked-cards .gallery-slide:nth-child(1) { transform: translateX(-50%) translateY(0); }
.bsd-gallery-popup.gallery-popup-stacked-cards .gallery-slide:nth-child(2) { transform: translateX(-48%) translateY(8px) rotate(-1deg); }
.bsd-gallery-popup.gallery-popup-stacked-cards .gallery-slide:nth-child(3) { transform: translateX(-52%) translateY(16px) rotate(1deg); }
.bsd-gallery-popup.gallery-popup-stacked-cards .gallery-slide:nth-child(4) { transform: translateX(-47%) translateY(24px) rotate(-2deg); }
.bsd-gallery-popup.gallery-popup-stacked-cards .gallery-slide:nth-child(5) { transform: translateX(-53%) translateY(32px) rotate(2deg); }
.bsd-gallery-popup.gallery-popup-stacked-cards .gallery-slide:nth-child(n+6) { transform: translateX(-50%) translateY(40px); }
.bsd-gallery-popup.gallery-popup-stacked-cards .gallery-slide.active {
    box-shadow: 0 30px 80px rgba(0,0,0,0.6);
    transform: translateX(-50%) translateY(-15px) scale(1.03) !important;
    z-index: 10;
}
.bsd-gallery-popup.gallery-popup-stacked-cards .bsd-gallery-popup-content {
    background: #0a0a0f;
}

/* Fanned Cards - 3D wildlife style */
.bsd-gallery-popup.gallery-popup-fanned-cards .gallery-slide {
    min-width: 260px;
    flex: 0 0 260px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.5);
    border: 2px solid rgba(255,255,255,0.2);
    transition: all 0.4s;
}
.bsd-gallery-popup.gallery-popup-fanned-cards .gallery-slide.active {
    border-color: var(--gallery-accent, #d4af37);
    transform: scale(1.05);
    z-index: 2;
}
.bsd-gallery-popup.gallery-popup-fanned-cards .bsd-gallery-popup-content {
    background: #1a1a1a;
}

/* Masonry - Pinterest-style grid */
.bsd-gallery-popup.gallery-popup-masonry .gallery-slider-track {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    transform: none !important;
    max-width: 600px;
    max-height: 450px;
    overflow-y: auto;
}
.bsd-gallery-popup.gallery-popup-masonry .gallery-slide {
    min-width: auto;
    aspect-ratio: 1;
}
.bsd-gallery-popup.gallery-popup-masonry .gallery-slide:nth-child(3n+1) { aspect-ratio: 4/3; }
.bsd-gallery-popup.gallery-popup-masonry .gallery-slide:nth-child(3n+2) { aspect-ratio: 3/4; }
.bsd-gallery-popup.gallery-popup-masonry .gallery-slide.active {
    outline: 3px solid var(--gallery-accent, #d4af37);
    outline-offset: 2px;
    z-index: 2;
}
.bsd-gallery-popup.gallery-popup-masonry .bsd-gallery-popup-content {
    background: #f5f0eb;
}

/* Lightbox Classic - Dark overlay */
.bsd-gallery-popup.gallery-popup-lightbox-classic .bsd-gallery-popup-content {
    background: transparent;
    box-shadow: none;
}
.bsd-gallery-popup.gallery-popup-lightbox-classic .gallery-slider-container {
    max-width: 85vw;
}
.bsd-gallery-popup.gallery-popup-lightbox-classic .gallery-slide img {
    border: 3px solid rgba(255,255,255,0.3);
}

/* Horizontal Strip - Wide carousel */
.bsd-gallery-popup.gallery-popup-horizontal-strip .gallery-slider-container {
    max-width: 95vw;
}
.bsd-gallery-popup.gallery-popup-horizontal-strip .gallery-slide {
    min-width: 40%;
    aspect-ratio: 16/10;
}
.bsd-gallery-popup.gallery-popup-horizontal-strip .bsd-gallery-popup-content {
    background: #2c2c2c;
}

/* Bento Grid - Modern tiled */
.bsd-gallery-popup.gallery-popup-bento-grid .gallery-slider-track {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 4px;
    transform: none !important;
    max-width: 500px;
    aspect-ratio: 1;
}
.bsd-gallery-popup.gallery-popup-bento-grid .gallery-slide {
    min-width: auto;
}
.bsd-gallery-popup.gallery-popup-bento-grid .gallery-slide:first-child {
    grid-column: 1 / -1;
}
.bsd-gallery-popup.gallery-popup-bento-grid .gallery-slide.active {
    outline: 3px solid var(--gallery-accent, #d4af37);
    outline-offset: 2px;
    z-index: 2;
}
.bsd-gallery-popup.gallery-popup-bento-grid .bsd-gallery-popup-content {
    background: #1e1e2e;
}

/* Spotlight - Single large focus */
.bsd-gallery-popup.gallery-popup-spotlight .gallery-slider-container {
    max-width: 800px;
}
.bsd-gallery-popup.gallery-popup-spotlight .gallery-slide img {
    border-radius: 8px;
    box-shadow: 0 0 0 2px rgba(255,255,255,0.2);
}
.bsd-gallery-popup.gallery-popup-spotlight .bsd-gallery-popup-content {
    background: linear-gradient(180deg, #1a1a2e 0%, #16213e 100%);
}

/* Filmstrip - Cinematic strip */
.bsd-gallery-popup.gallery-popup-filmstrip .gallery-slider-track {
    gap: 8px;
}
.bsd-gallery-popup.gallery-popup-filmstrip .gallery-slide {
    min-width: 45%;
    aspect-ratio: 3/2;
}
.bsd-gallery-popup.gallery-popup-filmstrip .gallery-slide img {
    border-radius: 0;
    border: 2px solid #333;
}
.bsd-gallery-popup.gallery-popup-filmstrip .bsd-gallery-popup-content {
    background: #0d0d0d;
}

/* Card Stack - Overlapping cards */
.bsd-gallery-popup.gallery-popup-card-stack .gallery-slider-container {
    min-height: 400px;
    position: relative;
}
.bsd-gallery-popup.gallery-popup-card-stack .gallery-slider-track {
    position: relative;
    min-height: 380px;
    display: block;
}
.bsd-gallery-popup.gallery-popup-card-stack .gallery-slide {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 75%;
    max-width: 450px;
    transform: translate(-50%, -50%);
    transition: transform 0.4s, z-index 0.4s, box-shadow 0.4s;
    z-index: 1;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}
.bsd-gallery-popup.gallery-popup-card-stack .gallery-slide.active {
    z-index: 10;
    transform: translate(-50%, -50%) scale(1.05);
    box-shadow: 0 20px 50px rgba(0,0,0,0.6);
}
.bsd-gallery-popup.gallery-popup-card-stack .bsd-gallery-popup-content {
    background: #252525;
}

/* ========== Reflection Blur - Full-screen with progressive blur ========== */
.bsd-gallery-popup.gallery-popup-reflection-blur {
    padding: 0;
    align-items: stretch;
}
.bsd-gallery-popup.gallery-popup-reflection-blur .bsd-gallery-popup-backdrop {
    background: #000;
}
.bsd-gallery-popup.gallery-popup-reflection-blur .bsd-gallery-popup-close {
    top: 16px;
    right: 16px;
    background: rgba(255,255,255,0.2);
    color: #fff;
    z-index: 100;
}
.bsd-gallery-popup.gallery-popup-reflection-blur .bsd-gallery-popup-close:hover {
    background: rgba(255,255,255,0.4);
}
.bsd-gallery-popup.gallery-popup-reflection-blur .reflection-gallery-wrap {
    position: absolute;
    inset: 0;
    overflow: hidden;
}
.bsd-gallery-popup.gallery-popup-reflection-blur .reflection-thumbs {
    position: absolute;
    z-index: 200;
    bottom: 2vmin;
    width: 90vw;
    left: 5vw;
    display: flex;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
}
.bsd-gallery-popup.gallery-popup-reflection-blur .reflection-thumbs label {
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 5px;
    min-width: 10vmin;
    aspect-ratio: 4/3;
    display: inline-flex;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    box-sizing: border-box;
    cursor: pointer;
    opacity: 1;
    position: relative;
    transition: opacity 0.2s, box-shadow 0.2s;
}
.bsd-gallery-popup.gallery-popup-reflection-blur .reflection-thumbs label:hover {
    opacity: 0.9;
    box-shadow: 0 0 0 2px #fff;
}
.bsd-gallery-popup.gallery-popup-reflection-blur .reflection-thumbs label::before {
    content: "";
    position: absolute;
    width: 17px;
    height: 17px;
    border-radius: 100%;
    background: #5387b0;
    top: 4px;
    right: 4px;
    border: 1px solid rgba(255,255,255,0.6);
}
.bsd-gallery-popup.gallery-popup-reflection-blur .reflection-thumbs label input {
    position: absolute;
    z-index: -1;
    opacity: 0;
}
.bsd-gallery-popup.gallery-popup-reflection-blur .reflection-thumbs label:has(input:checked) {
    box-shadow: 0 0 0 3px #fff;
    opacity: 1 !important;
}
.bsd-gallery-popup.gallery-popup-reflection-blur .reflection-thumbs label:has(input:checked)::after {
    content: "";
    position: absolute;
    border: 2px solid #fff;
    width: 6px;
    height: 4px;
    right: 9px;
    top: 9px;
    border-width: 0 0 3px 3px;
    border-radius: 1px;
    transform: rotate(-45deg);
}
.bsd-gallery-popup.gallery-popup-reflection-blur .reflection-progressive-blur {
    top: calc(50vh - 1px) !important;
    opacity: 1;
    position: absolute;
    left: 0;
    z-index: 20;
    inset: auto 0 0 0;
    height: 50vh;
    width: 100%;
    pointer-events: none;
    transform: rotate(0deg);
    transition: opacity 0.2s ease;
}
.bsd-gallery-popup.gallery-popup-reflection-blur .reflection-progressive-blur::before,
.bsd-gallery-popup.gallery-popup-reflection-blur .reflection-progressive-blur > div {
    background-color: rgba(64,130,183,0.47);
    position: absolute;
    inset: 0;
}
.bsd-gallery-popup.gallery-popup-reflection-blur .reflection-progressive-blur::before {
    content: "";
    z-index: 1;
    -webkit-backdrop-filter: blur(0.5px);
    backdrop-filter: blur(0.5px);
    -webkit-mask: linear-gradient(to bottom,rgba(26,26,26,0) 0%,rgb(26,26,26) 12.5%,rgb(26,26,26) 25%,rgba(26,26,26,0) 37.5%);
    mask: linear-gradient(to bottom,rgba(26,26,26,0) 0%,rgb(26,26,26) 12.5%,rgb(26,26,26) 25%,rgba(26,26,26,0) 37.5%);
}
.bsd-gallery-popup.gallery-popup-reflection-blur .reflection-progressive-blur > div:first-of-type {
    z-index: 2;
    -webkit-backdrop-filter: blur(1px);
    backdrop-filter: blur(1px);
    -webkit-mask: linear-gradient(to bottom,rgba(26,26,26,0) 12.5%,rgb(26,26,26) 25%,rgb(26,26,26) 37.5%,rgba(26,26,26,0) 50%);
    mask: linear-gradient(to bottom,rgba(26,26,26,0) 12.5%,rgb(26,26,26) 25%,rgb(26,26,26) 37.5%,rgba(26,26,26,0) 50%);
}
.bsd-gallery-popup.gallery-popup-reflection-blur .reflection-progressive-blur > div:nth-of-type(2) {
    z-index: 3;
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
    -webkit-mask: linear-gradient(to bottom,rgba(26,26,26,0) 25%,rgb(26,26,26) 37.5%,rgb(26,26,26) 50%,rgba(26,26,26,0) 62.5%);
    mask: linear-gradient(to bottom,rgba(26,26,26,0) 25%,rgb(26,26,26) 37.5%,rgb(26,26,26) 50%,rgba(26,26,26,0) 62.5%);
}
.bsd-gallery-popup.gallery-popup-reflection-blur .reflection-progressive-blur > div:nth-of-type(3) {
    z-index: 4;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    -webkit-mask: linear-gradient(to bottom,rgba(26,26,26,0) 37.5%,rgb(26,26,26) 50%,rgb(26,26,26) 62.5%,rgba(26,26,26,0) 75%);
    mask: linear-gradient(to bottom,rgba(26,26,26,0) 37.5%,rgb(26,26,26) 50%,rgb(26,26,26) 62.5%,rgba(26,26,26,0) 75%);
}
.bsd-gallery-popup.gallery-popup-reflection-blur .reflection-progressive-blur > div:nth-of-type(4) {
    z-index: 5;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    -webkit-mask: linear-gradient(to bottom,rgba(26,26,26,0) 50%,rgb(26,26,26) 62.5%,rgb(26,26,26) 75%,rgba(26,26,26,0) 87.5%);
    mask: linear-gradient(to bottom,rgba(26,26,26,0) 50%,rgb(26,26,26) 62.5%,rgb(26,26,26) 75%,rgba(26,26,26,0) 87.5%);
}
.bsd-gallery-popup.gallery-popup-reflection-blur .reflection-progressive-blur > div:nth-of-type(5) {
    z-index: 6;
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    -webkit-mask: linear-gradient(to bottom,rgba(26,26,26,0) 62.5%,rgb(26,26,26) 75%,rgb(26,26,26) 87.5%,rgba(26,26,26,0) 100%);
    mask: linear-gradient(to bottom,rgba(26,26,26,0) 62.5%,rgb(26,26,26) 75%,rgb(26,26,26) 87.5%,rgba(26,26,26,0) 100%);
}
.bsd-gallery-popup.gallery-popup-reflection-blur .reflection-progressive-blur > div:nth-of-type(6) {
    z-index: 7;
    -webkit-backdrop-filter: blur(32px);
    backdrop-filter: blur(32px);
    -webkit-mask: linear-gradient(to bottom,rgba(26,26,26,0) 75%,rgb(26,26,26) 87.5%,rgb(26,26,26) 100%);
    mask: linear-gradient(to bottom,rgba(26,26,26,0) 75%,rgb(26,26,26) 87.5%,rgb(26,26,26) 100%);
}
.bsd-gallery-popup.gallery-popup-reflection-blur .reflection-progressive-blur > div:nth-of-type(6)::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 8;
    -webkit-backdrop-filter: blur(64px);
    backdrop-filter: blur(64px);
    -webkit-mask: linear-gradient(to bottom,rgba(26,26,26,0) 87.5%,rgb(26,26,26) 100%);
    mask: linear-gradient(to bottom,rgba(26,26,26,0) 87.5%,rgb(26,26,26) 100%);
}
.bsd-gallery-popup.gallery-popup-reflection-blur .reflection-contenedor {
    position: fixed;
    left: 0;
    top: 0;
    background: var(--reflection-bg) no-repeat center center;
    background-size: cover;
    width: 100%;
    height: 100%;
    transition: background 0.5s ease;
    z-index: 10;
}
.bsd-gallery-popup.gallery-popup-reflection-blur .reflection-contenedor::after {
    display: none;
}

/* ========== Reflection Blur - Section (Gallery Section Layout) ========== */
.reflection-gallery-section {
    position: relative;
    min-height: 420px;
    max-height: 70vh;
    overflow: hidden;
}
.reflection-gallery-placeholder {
    text-align: center;
    padding: 40px 20px;
    color: rgba(255,255,255,0.6);
}
.reflection-section-thumbs {
    position: absolute;
    z-index: 200;
    bottom: 2vmin;
    width: 90%;
    left: 5%;
    display: flex;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
}
.reflection-section-thumbs label {
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 5px;
    min-width: 56px;
    width: 56px;
    height: 42px;
    aspect-ratio: 4/3;
    display: inline-flex;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    box-sizing: border-box;
    cursor: pointer;
    opacity: 1;
    position: relative;
    transition: opacity 0.2s, box-shadow 0.2s;
}
.reflection-section-thumbs label:hover {
    opacity: 0.9;
    box-shadow: 0 0 0 2px #fff;
}
.reflection-section-thumbs label::before {
    content: "";
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 100%;
    background: #5387b0;
    top: 2px;
    right: 2px;
    border: 1px solid rgba(255,255,255,0.6);
}
.reflection-section-thumbs label input {
    position: absolute;
    z-index: -1;
    opacity: 0;
}
.reflection-section-thumbs label:has(input:checked) {
    box-shadow: 0 0 0 3px #fff;
    opacity: 1 !important;
}
.reflection-section-thumbs label:has(input:checked)::after {
    content: "";
    position: absolute;
    border: 2px solid #fff;
    width: 5px;
    height: 3px;
    right: 5px;
    top: 5px;
    border-width: 0 0 3px 3px;
    border-radius: 1px;
    transform: rotate(-45deg);
}
.reflection-section-progressive-blur {
    top: 50% !important;
    opacity: 1;
    position: absolute;
    left: 0;
    z-index: 20;
    inset: auto 0 0 0;
    height: 50%;
    width: 100%;
    pointer-events: none;
}
.reflection-section-progressive-blur::before,
.reflection-section-progressive-blur > div {
    background-color: rgba(64,130,183,0.47);
    position: absolute;
    inset: 0;
}
.reflection-section-progressive-blur::before {
    content: "";
    z-index: 1;
    -webkit-backdrop-filter: blur(0.5px);
    backdrop-filter: blur(0.5px);
    -webkit-mask: linear-gradient(to bottom,rgba(26,26,26,0) 0%,rgb(26,26,26) 12.5%,rgb(26,26,26) 25%,rgba(26,26,26,0) 37.5%);
    mask: linear-gradient(to bottom,rgba(26,26,26,0) 0%,rgb(26,26,26) 12.5%,rgb(26,26,26) 25%,rgba(26,26,26,0) 37.5%);
}
.reflection-section-progressive-blur > div:first-of-type {
    z-index: 2;
    -webkit-backdrop-filter: blur(1px);
    backdrop-filter: blur(1px);
    -webkit-mask: linear-gradient(to bottom,rgba(26,26,26,0) 12.5%,rgb(26,26,26) 25%,rgb(26,26,26) 37.5%,rgba(26,26,26,0) 50%);
    mask: linear-gradient(to bottom,rgba(26,26,26,0) 12.5%,rgb(26,26,26) 25%,rgb(26,26,26) 37.5%,rgba(26,26,26,0) 50%);
}
.reflection-section-progressive-blur > div:nth-of-type(2) {
    z-index: 3;
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
    -webkit-mask: linear-gradient(to bottom,rgba(26,26,26,0) 25%,rgb(26,26,26) 37.5%,rgb(26,26,26) 50%,rgba(26,26,26,0) 62.5%);
    mask: linear-gradient(to bottom,rgba(26,26,26,0) 25%,rgb(26,26,26) 37.5%,rgb(26,26,26) 50%,rgba(26,26,26,0) 62.5%);
}
.reflection-section-progressive-blur > div:nth-of-type(3) {
    z-index: 4;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    -webkit-mask: linear-gradient(to bottom,rgba(26,26,26,0) 37.5%,rgb(26,26,26) 50%,rgb(26,26,26) 62.5%,rgba(26,26,26,0) 75%);
    mask: linear-gradient(to bottom,rgba(26,26,26,0) 37.5%,rgb(26,26,26) 50%,rgb(26,26,26) 62.5%,rgba(26,26,26,0) 75%);
}
.reflection-section-progressive-blur > div:nth-of-type(4) {
    z-index: 5;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    -webkit-mask: linear-gradient(to bottom,rgba(26,26,26,0) 50%,rgb(26,26,26) 62.5%,rgb(26,26,26) 75%,rgba(26,26,26,0) 87.5%);
    mask: linear-gradient(to bottom,rgba(26,26,26,0) 50%,rgb(26,26,26) 62.5%,rgb(26,26,26) 75%,rgba(26,26,26,0) 87.5%);
}
.reflection-section-progressive-blur > div:nth-of-type(5) {
    z-index: 6;
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    -webkit-mask: linear-gradient(to bottom,rgba(26,26,26,0) 62.5%,rgb(26,26,26) 75%,rgb(26,26,26) 87.5%,rgba(26,26,26,0) 100%);
    mask: linear-gradient(to bottom,rgba(26,26,26,0) 62.5%,rgb(26,26,26) 75%,rgb(26,26,26) 87.5%,rgba(26,26,26,0) 100%);
}
.reflection-section-progressive-blur > div:nth-of-type(6) {
    z-index: 7;
    -webkit-backdrop-filter: blur(32px);
    backdrop-filter: blur(32px);
    -webkit-mask: linear-gradient(to bottom,rgba(26,26,26,0) 75%,rgb(26,26,26) 87.5%,rgb(26,26,26) 100%);
    mask: linear-gradient(to bottom,rgba(26,26,26,0) 75%,rgb(26,26,26) 87.5%,rgb(26,26,26) 100%);
}
.reflection-section-progressive-blur > div:nth-of-type(6)::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 8;
    -webkit-backdrop-filter: blur(64px);
    backdrop-filter: blur(64px);
    -webkit-mask: linear-gradient(to bottom,rgba(26,26,26,0) 87.5%,rgb(26,26,26) 100%);
    mask: linear-gradient(to bottom,rgba(26,26,26,0) 87.5%,rgb(26,26,26) 100%);
}
.reflection-section-contenedor {
    position: absolute;
    left: 0;
    top: 0;
    background: var(--reflection-bg) no-repeat center center;
    background-size: cover;
    width: 100%;
    height: 100%;
    min-height: 420px;
    transition: background 0.5s ease;
    z-index: 10;
}
.reflection-section-contenedor::after {
    display: none;
}

/* ========== Gallery Section Inline (Popup designs on page) ========== */
.gallery-section-inline {
    position: relative;
    padding: 24px 16px;
    display: flex;
    justify-content: center;
    width: 100%;
}
.gallery-section-inline .gallery-section-inline-content {
    position: relative;
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    max-width: 640px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.05);
}
.gallery-section-inline .gallery-slider-container {
    position: relative;
    width: 100%;
    max-width: 560px;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}
.gallery-section-inline .gallery-slider-track {
    display: flex;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.gallery-section-inline .gallery-slide {
    min-width: 100%;
    aspect-ratio: 16/9;
    cursor: pointer;
}
.gallery-section-inline .gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    display: block;
}
.gallery-section-inline .gallery-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: rgba(11, 11, 14, 0.95);
    border: 2px solid var(--gallery-accent, #d4af37);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s;
}
.gallery-section-inline .gallery-nav-btn:hover {
    background: var(--gallery-accent, #d4af37);
    color: #0b0b0e;
    border-color: var(--gallery-accent, #d4af37);
}
.gallery-section-inline .gallery-nav-btn.prev { left: 12px; }
.gallery-section-inline .gallery-nav-btn.next { right: 12px; }
.gallery-section-inline .gallery-nav-btn { cursor: pointer; z-index: 20; }
.gallery-section-inline .gallery-indicator { cursor: pointer; z-index: 20; }
.gallery-section-inline .gallery-indicators {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}
.gallery-section-inline .gallery-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.2s;
}
.gallery-section-inline .gallery-indicator.active {
    background: var(--gallery-accent, #d4af37);
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.8);
}
.gallery-section-inline .gallery-thumbnails {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    flex-wrap: wrap;
}
.gallery-section-inline .gallery-thumbnail {
    min-width: 44px;
    height: 44px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s;
    position: relative;
    z-index: 5;
}
.gallery-section-inline .gallery-thumbnail:hover {
    border-color: rgba(255, 255, 255, 0.5);
}
.gallery-section-inline .gallery-thumbnail.active {
    border-color: var(--gallery-accent, #d4af37);
    box-shadow: 0 0 0 2px var(--gallery-accent, #d4af37), 0 4px 12px rgba(0, 0, 0, 0.15);
}
.gallery-section-inline .gallery-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
/* Inline variants - mirror popup design styles */
.gallery-section-inline.gallery-popup-minimal-thumbnails .gallery-section-inline-content { background: linear-gradient(135deg, #fff8f0 0%, #ffe8d6 100%); }
.gallery-section-inline.gallery-popup-minimal-thumbnails .gallery-thumbnail { min-width: 72px; height: 72px; border-radius: 8px; margin: 0 6px; }
.gallery-section-inline.gallery-popup-minimal-thumbnails .gallery-thumbnails { gap: 12px; }
.gallery-section-inline.gallery-popup-carousel-3up .gallery-slider-container { max-width: 900px; }
.gallery-section-inline.gallery-popup-carousel-3up .gallery-slide-3up { min-width: 33.333%; flex: 0 0 33.333%; }
.gallery-section-inline.gallery-popup-carousel-3up .gallery-section-inline-content { background: #e8e4f0; }
.gallery-section-inline.gallery-popup-fullscreen .gallery-section-inline-content { max-width: 95vw; max-height: 85vh; padding: 16px; }
.gallery-section-inline.gallery-popup-fullscreen .gallery-slider-container { max-width: none; flex: 1; }
.gallery-section-inline.gallery-popup-fullscreen .gallery-slide { aspect-ratio: 16/9; }
.gallery-section-inline.gallery-popup-fullscreen .gallery-thumbnail { min-width: 64px; height: 64px; border: 2px solid rgba(255,255,255,0.5); }
.gallery-section-inline.gallery-popup-arc-carousel .gallery-slider-track { perspective: 1200px; display: flex; align-items: center; justify-content: center; }
.gallery-section-inline.gallery-popup-arc-carousel .gallery-slide { min-width: 20%; flex: 0 0 20%; transition: filter 0.4s, opacity 0.4s, transform 0.4s; filter: grayscale(0.8); opacity: 0.6; }
.gallery-section-inline.gallery-popup-arc-carousel .gallery-slide.active { filter: grayscale(0); opacity: 1; transform: scale(1.1); z-index: 2; }
.gallery-section-inline.gallery-popup-arc-carousel .gallery-section-inline-content { background: #1a237e; }
.gallery-section-inline.gallery-popup-arc-carousel .gallery-slider-container { overflow: visible; }
.gallery-section-inline.gallery-popup-hexagonal .gallery-slider-track { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; transform: none !important; max-width: 420px; max-height: 400px; overflow-y: auto; }
.gallery-section-inline.gallery-popup-hexagonal .gallery-slide { min-width: auto; clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%); aspect-ratio: 0.866; opacity: 0.5; transition: opacity 0.3s, filter 0.3s; }
.gallery-section-inline.gallery-popup-hexagonal .gallery-slide.active { opacity: 1; filter: brightness(1.2); outline: 3px solid #fff; outline-offset: 2px; z-index: 1; }
.gallery-section-inline.gallery-popup-hexagonal .gallery-section-inline-content { background: #0d1b2a; }
.gallery-section-inline.gallery-popup-hexagonal .gallery-slide img { border-radius: 0; }
.gallery-section-inline.gallery-popup-stacked-cards .gallery-slider-container { perspective: 1500px; min-height: 420px; position: relative; }
.gallery-section-inline.gallery-popup-stacked-cards .gallery-slider-track { position: relative; min-height: 380px; display: block; }
.gallery-section-inline.gallery-popup-stacked-cards .gallery-slide { position: absolute; left: 50%; top: 0; width: 85%; max-width: 500px; box-shadow: 0 20px 60px rgba(0,0,0,0.4); transition: transform 0.4s, box-shadow 0.4s, z-index 0.4s; z-index: 1; }
.gallery-section-inline.gallery-popup-stacked-cards .gallery-slide:nth-child(1) { transform: translateX(-50%) translateY(0); }
.gallery-section-inline.gallery-popup-stacked-cards .gallery-slide:nth-child(2) { transform: translateX(-48%) translateY(8px) rotate(-1deg); }
.gallery-section-inline.gallery-popup-stacked-cards .gallery-slide:nth-child(3) { transform: translateX(-52%) translateY(16px) rotate(1deg); }
.gallery-section-inline.gallery-popup-stacked-cards .gallery-slide:nth-child(4) { transform: translateX(-47%) translateY(24px) rotate(-2deg); }
.gallery-section-inline.gallery-popup-stacked-cards .gallery-slide:nth-child(5) { transform: translateX(-53%) translateY(32px) rotate(2deg); }
.gallery-section-inline.gallery-popup-stacked-cards .gallery-slide:nth-child(n+6) { transform: translateX(-50%) translateY(40px); }
.gallery-section-inline.gallery-popup-stacked-cards .gallery-slide.active { z-index: 10; transform: translate(-50%, -50%) scale(1.05); box-shadow: 0 20px 50px rgba(0,0,0,0.6); }
.gallery-section-inline.gallery-popup-stacked-cards .gallery-section-inline-content { background: #2d2d2d; }
.gallery-section-inline.gallery-popup-fanned-cards .gallery-slide { min-width: 35%; flex: 0 0 35%; transition: transform 0.4s; transform-origin: center bottom; }
.gallery-section-inline.gallery-popup-fanned-cards .gallery-slide.active { transform: scale(1.1); z-index: 2; }
.gallery-section-inline.gallery-popup-fanned-cards .gallery-section-inline-content { background: #1a1a2e; }
.gallery-section-inline.gallery-popup-masonry .gallery-slider-track { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; transform: none !important; max-width: 600px; }
.gallery-section-inline.gallery-popup-masonry .gallery-slide { min-width: auto; opacity: 0.6; transition: opacity 0.3s; }
.gallery-section-inline.gallery-popup-masonry .gallery-slide:nth-child(3n+1) { aspect-ratio: 4/3; }
.gallery-section-inline.gallery-popup-masonry .gallery-slide:nth-child(3n+2) { aspect-ratio: 3/4; }
.gallery-section-inline.gallery-popup-masonry .gallery-slide.active { opacity: 1; outline: 3px solid #fff; outline-offset: 2px; }
.gallery-section-inline.gallery-popup-masonry .gallery-section-inline-content { background: #1a1a1a; }
.gallery-section-inline.gallery-popup-lightbox-classic .gallery-section-inline-content { background: #0a0a0a; }
.gallery-section-inline.gallery-popup-lightbox-classic .gallery-slider-container { border: 2px solid rgba(255,255,255,0.2); }
.gallery-section-inline.gallery-popup-lightbox-classic .gallery-slide img { border: 1px solid rgba(255,255,255,0.1); }
.gallery-section-inline.gallery-popup-horizontal-strip .gallery-slider-container { max-width: 95vw; }
.gallery-section-inline.gallery-popup-horizontal-strip .gallery-slide { min-width: 40%; flex: 0 0 40%; }
.gallery-section-inline.gallery-popup-horizontal-strip .gallery-section-inline-content { background: #252525; }
.gallery-section-inline.gallery-popup-bento-grid .gallery-slider-track { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; transform: none !important; max-width: 500px; }
.gallery-section-inline.gallery-popup-bento-grid .gallery-slide { min-width: auto; }
.gallery-section-inline.gallery-popup-bento-grid .gallery-slide:first-child { grid-column: span 2; grid-row: span 2; }
.gallery-section-inline.gallery-popup-bento-grid .gallery-slide.active { outline: 3px solid #fff; outline-offset: 2px; }
.gallery-section-inline.gallery-popup-bento-grid .gallery-section-inline-content { background: #1e1e2e; }
.gallery-section-inline.gallery-popup-spotlight .gallery-slider-container { max-width: 800px; }
.gallery-section-inline.gallery-popup-spotlight .gallery-slide img { max-height: 70vh; object-fit: contain; }
.gallery-section-inline.gallery-popup-spotlight .gallery-section-inline-content { background: #0f0f0f; }
.gallery-section-inline.gallery-popup-filmstrip .gallery-slider-track { gap: 8px; }
.gallery-section-inline.gallery-popup-filmstrip .gallery-slide { min-width: 45%; flex: 0 0 45%; }
.gallery-section-inline.gallery-popup-filmstrip .gallery-slide img { border-radius: 4px; }
.gallery-section-inline.gallery-popup-filmstrip .gallery-section-inline-content { background: #1c1c1c; }
.gallery-section-inline.gallery-popup-card-stack .gallery-slider-container { position: relative; min-height: 400px; }
.gallery-section-inline.gallery-popup-card-stack .gallery-slider-track { position: relative; display: block; }
.gallery-section-inline.gallery-popup-card-stack .gallery-slide { position: absolute; left: 50%; top: 50%; width: 80%; max-width: 400px; transform: translate(-50%, -50%); transition: transform 0.3s; z-index: 1; box-shadow: 0 10px 30px rgba(0,0,0,0.4); }
.gallery-section-inline.gallery-popup-card-stack .gallery-slide.active { z-index: 10; transform: translate(-50%, -50%) scale(1.05); box-shadow: 0 20px 50px rgba(0,0,0,0.6); }
.gallery-section-inline.gallery-popup-card-stack .gallery-section-inline-content { background: #252525; }
