/* ==========================================================================
   Brows by Veron - Luxury Brochure Palette & Typography System
   Colors: Warm Ivory (#F7F4EE), Mocha Taupe (#6B4E3D), Deep Espresso (#1E1815)
   Headings: Merriweather (Bold 700) [H1: 40px, H2: 35px, H3: 30px, H4: 25px, H5: 20px]
   Base: Plus Jakarta Sans / Poppins / System Default (16px / Regular 400)
   Buttons: Sans-Serif / 15px / Medium 500
   Pullquote: Georgia / 25px / Semi-Bold 600
   ========================================================================== */

:root {
    --bv-bg: #F7F4EE;
    --bv-bg-soft: #EFEAE0;
    --bv-bg-deep: #E5DEC8;
    --bv-card: #FFFFFF;
    --bv-ink: #1E1815;
    --bv-brown: #6B4E3D;
    --bv-brown-dark: #523B2D;
    --bv-brown-light: #8D6B56;
    --bv-brown-soft: #ECE3D9;
    --bv-taupe: #A68674;
    --bv-muted: #6B5548;
    --bv-border: #E0D6C8;
    --bv-border-light: #EDE6DC;
    --bv-discount: #C75252;
    --bv-footer: #241C18;
    --whatsapp-green: #25D366;
    --whatsapp-dark: #1EBE5D;

    /* Typography Variables */
    --bv-font-sans: 'Plus Jakarta Sans', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --bv-font-serif: 'Merriweather', Georgia, serif;
    --bv-font-quote: 'Georgia', 'Merriweather', serif;
}

/* Base Frontend Typography */
body:not(.wp-admin) {
    overflow-x: hidden;
    background-color: var(--bv-bg);
    color: var(--bv-muted);
    font-family: var(--bv-font-sans);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* WordPress Customizer Sidebar Protection - Prevent Any Font Bleed */
#customize-controls,
#customize-controls *,
.wp-full-overlay-sidebar,
.wp-full-overlay-sidebar * {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif !important;
}

/* Headings Hierarchy Scoped strictly to Frontend Content */
#primary h1, #primary h2, #primary h3, #primary h4, #primary h5,
#bbz-header h1, #bbz-header h2, #bbz-header h3,
.site-main h1, .site-main h2, .site-main h3, .site-main h4, .site-main h5,
.font-serif {
    font-family: var(--bv-font-serif);
    font-weight: 700;
    color: var(--bv-ink);
}

#footer h1, #footer h2, #footer h3, #footer h4 {
    font-family: var(--bv-font-serif);
    font-weight: 700;
    color: #ffffff !important;
}

#footer .bv-footer-address-title {
    font-size: 15px !important;
    line-height: 1.35 !important;
}

#primary h1, .site-main h1 {
    font-size: 40px;
    line-height: 1.25;
}

#primary h2, .site-main h2 {
    font-size: 35px;
    line-height: 1.3;
}

#primary h3, .site-main h3 {
    font-size: 30px;
    line-height: 1.35;
}

#primary h4, .site-main h4 {
    font-size: 25px;
    line-height: 1.4;
}

#primary h5, .site-main h5 {
    font-size: 20px;
    line-height: 1.45;
}

#primary h6, .site-main h6 {
    font-family: var(--bv-font-sans);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
}

/* Pullquote & Quotes */
#primary blockquote, .site-main blockquote, .bv-pullquote, .wp-block-pullquote {
    font-family: var(--bv-font-quote);
    font-size: 25px;
    font-weight: 600;
    line-height: 1.4;
}

/* Material Symbols Alignment */
.material-symbols-outlined {
    direction: ltr;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #EFEAE0;
}
::-webkit-scrollbar-thumb {
    background: #E0D6C8;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #6B4E3D;
}

/* Header Light & Seamless */
.bv-header {
    background: transparent !important;
    border-bottom: 1px solid transparent !important;
    box-shadow: none !important;
    transition: background-color 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease !important;
}

.bv-header.is-scrolled {
    background: rgba(247, 244, 238, 0.96) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    box-shadow: 0 4px 25px rgba(107, 78, 61, 0.08) !important;
    border-bottom: 1px solid rgba(224, 214, 200, 0.8) !important;
}

/* Navigation Links */
.bv-nav-link {
    color: var(--bv-ink) !important;
    font-family: var(--bv-font-sans);
    font-weight: 600;
    font-size: 0.9375rem;
    transition: all 0.2s ease;
    position: relative;
    padding: 0.25rem 0;
}

.bv-nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--bv-brown);
    border-radius: 2px;
    transition: width 0.25s ease;
}

.bv-nav-link:hover {
    color: var(--bv-brown) !important;
}

.bv-nav-link:hover::after {
    width: 100%;
}

/* Buttons (Exact Customizer Specs: 15px / Medium 500) */
.bv-btn-primary, .bv-btn-primary .wp-block-button__link, .bv-btn-primary a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    background-color: var(--bv-brown) !important;
    color: #FFFFFF !important;
    font-family: var(--bv-font-sans) !important;
    font-weight: 500 !important;
    font-size: 15px !important;
    line-height: 1.2;
    padding: 0.8125rem 1.75rem;
    border-radius: 9999px;
    border: 1.5px solid var(--bv-brown);
    box-shadow: 0 4px 15px rgba(107, 78, 61, 0.18);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    cursor: pointer;
}

.bv-btn-primary:hover, .wp-block-button__link:hover {
    background-color: var(--bv-brown-dark) !important;
    border-color: var(--bv-brown-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(107, 78, 61, 0.28);
    color: #FFFFFF !important;
}

.bv-btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    background-color: transparent !important;
    color: var(--bv-brown) !important;
    font-family: var(--bv-font-sans) !important;
    font-weight: 500 !important;
    font-size: 15px !important;
    line-height: 1.2;
    padding: 0.8125rem 1.75rem;
    border-radius: 9999px;
    border: 1.5px solid var(--bv-brown);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    cursor: pointer;
}

.bv-btn-outline:hover {
    background-color: var(--bv-brown) !important;
    color: #FFFFFF !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(107, 78, 61, 0.18);
}

/* Polaroid Card Base */
.bv-polaroid {
    background: #FFFFFF;
    padding: 0.875rem 0.875rem 1.25rem 0.875rem;
    border-radius: 0.875rem;
    box-shadow: 0 10px 30px -5px rgba(107, 78, 61, 0.12), 0 0 0 1px rgba(224, 214, 200, 0.7);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.bv-polaroid:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 35px -5px rgba(107, 78, 61, 0.20), 0 0 0 1px rgba(107, 78, 61, 0.3);
}

/* Hero Floating Polaroid Cluster (Exact Match to Original Luxury Design) */
.bv-hero-collage-wrapper {
    position: relative;
    max-width: 900px;
    margin: 1.5rem auto 1.5rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 640px) and (max-width: 1023px) {
    .bv-polaroid-left {
        width: 185px;
        flex: 0 0 185px;
        margin-right: 6px;
        z-index: 10;
        transform: rotate(-5deg) translateY(12px);
        transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), z-index 0.35s ease;
    }

    .bv-polaroid-left:hover {
        transform: rotate(0deg) translateY(-5px) scale(1.05);
        z-index: 30;
    }

    .bv-polaroid-center {
        width: 300px;
        flex: 0 0 300px;
        max-width: 90vw;
        z-index: 20;
        transform: translateY(-6px);
        transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .bv-polaroid-center:hover {
        transform: translateY(-12px) scale(1.02);
        z-index: 30;
    }

    .bv-polaroid-right {
        width: 185px;
        flex: 0 0 185px;
        margin-left: 6px;
        z-index: 10;
        transform: rotate(5deg) translateY(12px);
        transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), z-index 0.35s ease;
    }

    .bv-polaroid-right:hover {
        transform: rotate(0deg) translateY(-5px) scale(1.05);
        z-index: 30;
    }
}

@media (min-width: 1024px) {
    .bv-polaroid-left {
        width: 220px;
        flex: 0 0 220px;
        margin-right: 16px;
        z-index: 10;
        transform: rotate(-5deg) translateY(14px);
        transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), z-index 0.35s ease;
    }

    .bv-polaroid-left:hover {
        transform: rotate(0deg) translateY(-5px) scale(1.05);
        z-index: 30;
    }

    .bv-polaroid-center {
        width: 360px;
        flex: 0 0 360px;
        max-width: 90vw;
        z-index: 20;
        transform: translateY(-8px);
        transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .bv-polaroid-center:hover {
        transform: translateY(-14px) scale(1.02);
        z-index: 30;
    }

    .bv-polaroid-right {
        width: 220px;
        flex: 0 0 220px;
        margin-left: 16px;
        z-index: 10;
        transform: rotate(5deg) translateY(14px);
        transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), z-index 0.35s ease;
    }

    .bv-polaroid-right:hover {
        transform: rotate(0deg) translateY(-5px) scale(1.05);
        z-index: 30;
    }
}

.bv-polaroid-card-sm {
    background: #FFFFFF !important;
    padding: 0.75rem 0.75rem 1.125rem 0.75rem !important;
    border-radius: 0.875rem !important;
    box-shadow: 0 10px 30px -5px rgba(107, 78, 61, 0.14), 0 0 0 1px rgba(224, 214, 200, 0.7) !important;
}

.bv-polaroid-card-lg {
    background: #FFFFFF !important;
    padding: 1rem 1rem 1.75rem 1rem !important;
    border-radius: 1.125rem !important;
    box-shadow: 0 25px 50px -12px rgba(107, 78, 61, 0.22), 0 0 0 1px rgba(224, 214, 200, 0.8) !important;
}

.bv-polaroid-media {
    width: 100%;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: 0.625rem;
    background-color: var(--bv-bg-soft);
    margin-bottom: 0.75rem;
}

.bv-polaroid-media img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center 20% !important;
    display: block !important;
}

@media (max-width: 639px) {
    .bv-hero-collage-wrapper {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: flex-start !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        scroll-snap-type: x mandatory !important;
        -webkit-overflow-scrolling: touch !important;
        scroll-behavior: smooth !important;
        gap: 8px !important;
        padding: 16px calc(50vw - 128px) 24px calc(50vw - 128px) !important;
        margin-left: -1rem !important;
        margin-right: -1rem !important;
        scrollbar-width: none !important;
    }
    .bv-hero-collage-wrapper::-webkit-scrollbar {
        display: none !important;
    }
    .bv-hero-slide {
        display: block !important;
        flex: 0 0 256px !important;
        width: 256px !important;
        max-width: 74vw !important;
        margin: 0 !important;
        transform: scale(0.85) !important;
        opacity: 0.65 !important;
        scroll-snap-align: center !important;
        scroll-snap-stop: always !important;
        z-index: 1 !important;
        transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease, box-shadow 0.35s ease !important;
        cursor: pointer;
    }
    .bv-hero-slide.is-active-slide {
        transform: scale(1.08) !important;
        opacity: 1 !important;
        z-index: 10 !important;
    }
    .bv-polaroid-card-sm,
    .bv-polaroid-card-lg {
        background: #FFFFFF !important;
        padding: 0.75rem 0.75rem 1.125rem 0.75rem !important;
        border-radius: 1.125rem !important;
        box-shadow: 0 12px 30px -6px rgba(107, 78, 61, 0.16), 0 0 0 1px rgba(224, 214, 200, 0.8) !important;
        height: auto !important;
        display: block !important;
    }
    .bv-hero-slide.is-active-slide .bv-polaroid-card-sm,
    .bv-hero-slide.is-active-slide .bv-polaroid-card-lg {
        box-shadow: 0 22px 45px -8px rgba(107, 78, 61, 0.25), 0 0 0 1.5px rgba(107, 78, 61, 0.3) !important;
    }
    .bv-polaroid-media {
        width: 100% !important;
        aspect-ratio: 4 / 5 !important;
        height: 250px !important;
        max-height: 44vh !important;
        border-radius: 0.625rem !important;
        margin-bottom: 0.625rem !important;
    }
    .bv-polaroid-left p,
    .bv-polaroid-right p {
        font-size: 0.8125rem !important;
        line-height: 1.3 !important;
    }
    .bv-polaroid-center .font-serif {
        font-size: 1.5rem !important;
        margin-top: 0.25rem !important;
    }
    .bv-polaroid-center .font-sans {
        font-size: 0.7rem !important;
        letter-spacing: 0.16em !important;
    }
}

/* Pricing Card */
.bv-price-card {
    background: #FFFFFF;
    border: 1px solid var(--bv-border-light);
    border-radius: 1.25rem;
    padding: 0 !important;
    overflow: hidden !important;
    box-shadow: 0 4px 20px rgba(107, 78, 61, 0.05);
    /* transition handled by entrance & hover */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.bv-price-card:hover {
    transform: translateY(-6px);
    border-color: var(--bv-brown);
    box-shadow: 0 20px 40px -10px rgba(107, 78, 61, 0.15);
}

.bv-price-card.featured {
    border: 2px solid var(--bv-brown);
    background: linear-gradient(180deg, #FFFFFF 0%, #FAF7F2 100%);
    box-shadow: 0 10px 30px -5px rgba(107, 78, 61, 0.14);
}

.bv-price-card-image {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    position: relative;
    background-color: var(--bv-bg-soft);
    display: block;
}

@media (min-width: 640px) {
    .bv-price-card-image {
        aspect-ratio: 4 / 3;
    }
}

.bv-price-card-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.bv-price-card:hover .bv-price-card-image img {
    transform: scale(1.05) !important;
}

.bv-price-card-content {
    padding: 1.25rem 1.25rem 1.5rem 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
}

@media (min-width: 640px) {
    .bv-price-card-content {
        padding: 1.75rem 1.75rem 2rem 1.75rem;
    }
}

.price-strike {
    position: relative;
    color: var(--bv-discount);
    text-decoration: line-through;
    opacity: 0.85;
}

/* Terms Accordion */
.bv-term-item {
    background: #FFFFFF;
    border: 1px solid var(--bv-border-light);
    border-radius: 0.875rem;
    overflow: hidden;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.bv-term-item.is-active {
    border-color: var(--bv-brown);
    box-shadow: 0 4px 15px rgba(107, 78, 61, 0.08);
}

.bv-term-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.875rem 1.125rem;
    text-align: left;
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: var(--bv-font-serif);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--bv-ink);
    transition: color 0.2s ease;
}

@media (min-width: 640px) {
    .bv-term-trigger {
        padding: 1.125rem 1.5rem;
        font-size: 1.0625rem;
    }
}

.bv-term-trigger:hover {
    color: var(--bv-brown);
}

.bv-term-content {
    display: none;
    padding: 0 1.125rem 1rem 1.125rem;
    color: var(--bv-muted);
    font-size: 0.875rem;
    line-height: 1.6;
}

@media (min-width: 640px) {
    .bv-term-content {
        padding: 0 1.5rem 1.25rem 1.5rem;
        font-size: 0.9375rem;
    }
}

.bv-term-item.is-active .bv-term-content {
    display: block;
}

.bv-term-icon {
    transition: transform 0.3s ease;
    color: var(--bv-brown);
}

.bv-term-item.is-active .bv-term-icon {
    transform: rotate(180deg);
}

/* Gallery Filter Tabs & Interactive Editorial Cards */
.bv-filter-btn {
    padding: 0.5rem 1.25rem;
    border-radius: 9999px;
    font-family: var(--bv-font-sans);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--bv-muted);
    background: #FFFFFF;
    border: 1px solid var(--bv-border-light);
    transition: all 0.25s ease;
    cursor: pointer;
}

.bv-filter-btn:hover {
    color: var(--bv-brown);
    border-color: var(--bv-brown);
    transform: translateY(-1px);
}

.bv-filter-btn.active {
    background: var(--bv-brown);
    color: #FFFFFF;
    border-color: var(--bv-brown);
    box-shadow: 0 4px 12px rgba(107, 78, 61, 0.25);
}

.bbz-gallery-item {
    cursor: pointer;
    /* transition handled by entrance & hover */
}

.bv-gallery-card {
    border-radius: 1rem;
    background-color: #120E0C;
    box-shadow: 0 10px 30px -5px rgba(18, 14, 12, 0.15), 0 0 0 1px rgba(224, 214, 200, 0.3);
    text-decoration: none !important;
    display: block;
}

@media (min-width: 640px) {
    .bv-gallery-card {
        border-radius: 1.25rem;
    }
}

.bv-gallery-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(18, 14, 12, 0.35), 0 0 0 1px rgba(107, 78, 61, 0.4) !important;
}

.bv-gallery-card img {
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.bv-gallery-card:hover img {
    transform: scale(1.06);
}

.bv-gallery-card h3,
.bv-gallery-card .font-serif,
#primary .bv-gallery-card h3,
.site-main .bv-gallery-card h3 {
    color: #FFFFFF !important;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

.bv-gallery-card p,
#primary .bv-gallery-card p,
.site-main .bv-gallery-card p {
    color: rgba(255, 255, 255, 0.9) !important;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}

/* Luxury Lightbox Gallery Modal */
.bv-lightbox {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.bv-lightbox.is-open {
    display: flex !important;
}

.bv-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(18, 14, 12, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    animation: bvFadeIn 0.3s ease forwards;
}

.bv-lightbox-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    width: 100%;
    background: #FFFFFF;
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(224, 214, 200, 0.3);
    animation: bvScaleUp 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes bvFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes bvScaleUp {
    from { opacity: 0; transform: scale(0.92); }
    to { opacity: 1; transform: scale(1); }
}

.bv-lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 20;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.bv-lightbox-close:hover {
    background: var(--bv-brown);
    transform: scale(1.08);
}

.bv-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    color: var(--bv-ink);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--bv-border-light);
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: all 0.2s ease;
}

.bv-lightbox-nav:hover {
    background: var(--bv-brown);
    color: #FFFFFF;
    border-color: var(--bv-brown);
    transform: translateY(-50%) scale(1.1);
}

.bv-lightbox-prev {
    left: 1rem;
}

.bv-lightbox-next {
    right: 1rem;
}

@media (max-width: 640px) {
    .bv-lightbox-nav {
        width: 2.25rem;
        height: 2.25rem;
        font-size: 0.875rem;
    }
    .bv-lightbox-prev { left: 0.5rem; }
    .bv-lightbox-next { right: 0.5rem; }
}


/* Floating WhatsApp Button */
.bv-floating-whatsapp {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--whatsapp-green);
    color: #ffffff !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.bv-floating-whatsapp:hover {
    background-color: var(--whatsapp-dark);
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.6);
}

/* ==========================================================================
   Luxury Scroll Animation Suite (Smooth Easing, Parallax & Stagger Cascade)
   ========================================================================== */

/* Top Reading Scroll Progress Bar */
#bv-scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    z-index: 999999;
    background: linear-gradient(90deg, #A68674 0%, #6B4E3D 50%, #D4AF37 100%);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
    transition: width 0.08s ease-out;
    pointer-events: none;
}

/* Header transition on scroll */
#bbz-header {
    transition: background-color 0.35s ease, box-shadow 0.35s ease, backdrop-filter 0.35s ease, padding 0.35s ease;
}
#bbz-header.is-scrolled {
    background-color: rgba(255, 255, 255, 0.94) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 10px 30px -10px rgba(30, 24, 21, 0.08) !important;
}

/* Base Scroll Reveal Classes - Initial Hidden State */
body:not(.wp-admin) .bv-reveal,
body:not(.wp-admin) .bbz-reveal,
body:not(.wp-admin) .bv-reveal-scale,
body:not(.wp-admin) .bv-reveal-left,
body:not(.wp-admin) .bv-reveal-right {
    will-change: opacity, transform;
    transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

body:not(.wp-admin) .bv-reveal,
body:not(.wp-admin) .bbz-reveal {
    opacity: 0;
    transform: translateY(35px);
}

body:not(.wp-admin) .bv-reveal-scale {
    opacity: 0;
    transform: scale(0.92) translateY(32px);
}

body:not(.wp-admin) .bv-reveal-left {
    opacity: 0;
    transform: translateX(-38px);
}

body:not(.wp-admin) .bv-reveal-right {
    opacity: 0;
    transform: translateX(38px);
}

/* Visible State (When Scrolled Into View) */
body:not(.wp-admin) .bv-reveal.is-visible,
body:not(.wp-admin) .bbz-reveal.is-visible,
body:not(.wp-admin) .bv-reveal-scale.is-visible,
body:not(.wp-admin) .bv-reveal-left.is-visible,
body:not(.wp-admin) .bv-reveal-right.is-visible {
    opacity: 1 !important;
    transform: none !important;
}

/* ==========================================================================
   Hero Polaroid Frames Entrance Animation (Images & Frames)
   ========================================================================== */
@media (min-width: 640px) and (max-width: 1023px) {
    #hero .bv-polaroid-left {
        opacity: 0;
        transform: translate(-35px, 45px) rotate(-14deg) scale(0.88) !important;
        transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease !important;
        will-change: opacity, transform;
    }
    #hero .bv-polaroid-center {
        opacity: 0;
        transform: translateY(50px) scale(0.88) !important;
        transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease !important;
        will-change: opacity, transform;
    }
    #hero .bv-polaroid-right {
        opacity: 0;
        transform: translate(35px, 45px) rotate(14deg) scale(0.88) !important;
        transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease !important;
        will-change: opacity, transform;
    }

    #hero .bv-polaroid-left.is-visible {
        opacity: 1 !important;
        transform: rotate(-5deg) translateY(12px) scale(1) !important;
        transition-delay: 220ms !important;
    }
    #hero .bv-polaroid-center.is-visible {
        opacity: 1 !important;
        transform: translateY(-6px) scale(1) !important;
        transition-delay: 80ms !important;
    }
    #hero .bv-polaroid-right.is-visible {
        opacity: 1 !important;
        transform: rotate(5deg) translateY(12px) scale(1) !important;
        transition-delay: 360ms !important;
    }

    #hero .bv-polaroid-left.is-visible:hover {
        transform: rotate(0deg) translateY(-5px) scale(1.05) !important;
        transition: transform 0.35s ease !important;
        z-index: 30 !important;
    }
    #hero .bv-polaroid-center.is-visible:hover {
        transform: translateY(-12px) scale(1.02) !important;
        transition: transform 0.35s ease !important;
        z-index: 30 !important;
    }
    #hero .bv-polaroid-right.is-visible:hover {
        transform: rotate(0deg) translateY(-5px) scale(1.05) !important;
        transition: transform 0.35s ease !important;
        z-index: 30 !important;
    }
}

@media (min-width: 1024px) {
    #hero .bv-polaroid-left {
        opacity: 0;
        transform: translate(-45px, 50px) rotate(-14deg) scale(0.88) !important;
        transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease !important;
        will-change: opacity, transform;
    }
    #hero .bv-polaroid-center {
        opacity: 0;
        transform: translateY(60px) scale(0.88) !important;
        transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease !important;
        will-change: opacity, transform;
    }
    #hero .bv-polaroid-right {
        opacity: 0;
        transform: translate(45px, 50px) rotate(14deg) scale(0.88) !important;
        transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease !important;
        will-change: opacity, transform;
    }

    #hero .bv-polaroid-left.is-visible {
        opacity: 1 !important;
        transform: rotate(-5deg) translateY(14px) scale(1) !important;
        transition-delay: 220ms !important;
    }
    #hero .bv-polaroid-center.is-visible {
        opacity: 1 !important;
        transform: translateY(-8px) scale(1) !important;
        transition-delay: 80ms !important;
    }
    #hero .bv-polaroid-right.is-visible {
        opacity: 1 !important;
        transform: rotate(5deg) translateY(14px) scale(1) !important;
        transition-delay: 360ms !important;
    }

    #hero .bv-polaroid-left.is-visible:hover {
        transform: rotate(0deg) translateY(-5px) scale(1.05) !important;
        transition: transform 0.35s ease !important;
        z-index: 30 !important;
    }
    #hero .bv-polaroid-center.is-visible:hover {
        transform: translateY(-14px) scale(1.02) !important;
        transition: transform 0.35s ease !important;
        z-index: 30 !important;
    }
    #hero .bv-polaroid-right.is-visible:hover {
        transform: rotate(0deg) translateY(-5px) scale(1.05) !important;
        transition: transform 0.35s ease !important;
        z-index: 30 !important;
    }
}

/* Subtle image settle inside frame */
#hero .bv-polaroid-media img {
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
#hero .bv-polaroid-left:not(.is-visible) .bv-polaroid-media img,
#hero .bv-polaroid-center:not(.is-visible) .bv-polaroid-media img,
#hero .bv-polaroid-right:not(.is-visible) .bv-polaroid-media img {
    transform: scale(1.1) !important;
}
#hero .bv-polaroid-left.is-visible .bv-polaroid-media img,
#hero .bv-polaroid-center.is-visible .bv-polaroid-media img,
#hero .bv-polaroid-right.is-visible .bv-polaroid-media img {
    transform: scale(1) !important;
}

/* Mobile Hero Entrance (< 640px) */
@media (max-width: 639px) {
    #hero .bv-hero-slide {
        opacity: 0;
        transform: translateY(30px) scale(0.85) !important;
        transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) !important;
    }
    #hero .bv-hero-slide.is-visible {
        opacity: 0.65 !important;
        transform: scale(0.85) !important;
    }
    #hero .bv-hero-slide.is-active-slide.is-visible {
        opacity: 1 !important;
        transform: scale(1.08) !important;
    }
}

/* Clear Stagger Delays (Noticeable cascade) */
.bv-delay-1 { transition-delay: 100ms !important; }
.bv-delay-2 { transition-delay: 220ms !important; }
.bv-delay-3 { transition-delay: 340ms !important; }
.bv-delay-4 { transition-delay: 460ms !important; }
.bv-delay-5 { transition-delay: 580ms !important; }
.bv-delay-6 { transition-delay: 700ms !important; }

/* Interactive Hover States on Cards AFTER Visible */
body:not(.wp-admin) .bv-price-card.is-visible:hover {
    transform: translateY(-8px) scale(1.01) !important;
    box-shadow: 0 20px 40px -15px rgba(107, 78, 61, 0.22) !important;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease !important;
}

body:not(.wp-admin) .bbz-gallery-item.is-visible:hover,
body:not(.wp-admin) .bv-gallery-card.is-visible:hover {
    transform: translateY(-6px) scale(1.01) !important;
    box-shadow: 0 20px 40px -12px rgba(18, 14, 12, 0.35) !important;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease !important;
}

/* Floating Ambient Motion for Accents */
@keyframes bvFloatAmbient {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-7px); }
}
.bv-float-ambient {
    animation: bvFloatAmbient 5s ease-in-out infinite;
}

/* ==========================================================================
   Treatment Menu & Results Gallery Card Frame & Image Animations
   ========================================================================== */

/* Card Frames Initial State (Hidden, Shifted Down, Scaled) */
.bv-price-card,
.bbz-gallery-item,
.bv-gallery-card {
    opacity: 0;
    transform: translateY(48px) scale(0.91) !important;
    box-shadow: 0 0 0 rgba(0, 0, 0, 0) !important;
    transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.85s cubic-bezier(0.16, 1, 0.3, 1) !important;
    will-change: opacity, transform;
}

/* Card Images Initial State (Slightly Zoomed in) */
.bv-price-card .bv-price-card-image img,
.bbz-gallery-item img,
.bv-gallery-card img {
    transform: scale(1.15) !important;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
    will-change: transform;
}

/* Card Frames Visible State (Glides up into place with rich shadow) */
.bv-price-card.is-visible,
.bbz-gallery-item.is-visible,
.bv-gallery-card.is-visible {
    opacity: 1 !important;
    transform: translateY(0) scale(1) !important;
    box-shadow: 0 10px 30px -5px rgba(107, 78, 61, 0.12) !important;
}

/* Card Images Visible State (Smoothly settles to 1.0) */
.bv-price-card.is-visible .bv-price-card-image img,
.bbz-gallery-item.is-visible img,
.bv-gallery-card.is-visible img {
    transform: scale(1) !important;
}

/* Stagger Delays on Image Settling */
.bv-delay-1 .bv-price-card-image img, .bv-delay-1 img { transition-delay: 80ms !important; }
.bv-delay-2 .bv-price-card-image img, .bv-delay-2 img { transition-delay: 240ms !important; }
.bv-delay-3 .bv-price-card-image img, .bv-delay-3 img { transition-delay: 400ms !important; }
.bv-delay-4 .bv-price-card-image img, .bv-delay-4 img { transition-delay: 160ms !important; }
.bv-delay-5 .bv-price-card-image img, .bv-delay-5 img { transition-delay: 320ms !important; }
.bv-delay-6 .bv-price-card-image img, .bv-delay-6 img { transition-delay: 480ms !important; }

/* Interactive Hover AFTER Card is Visible */
.bv-price-card.is-visible:hover {
    transform: translateY(-8px) scale(1.01) !important;
    box-shadow: 0 22px 45px -12px rgba(107, 78, 61, 0.22) !important;
    transition: transform 0.35s ease, box-shadow 0.35s ease !important;
}
.bv-price-card.is-visible:hover .bv-price-card-image img {
    transform: scale(1.06) !important;
    transition: transform 0.5s ease !important;
}

.bbz-gallery-item.is-visible:hover,
.bv-gallery-card.is-visible:hover {
    transform: translateY(-8px) scale(1.01) !important;
    box-shadow: 0 25px 50px -12px rgba(18, 14, 12, 0.38) !important;
    transition: transform 0.35s ease, box-shadow 0.35s ease !important;
}
.bbz-gallery-item.is-visible:hover img,
.bv-gallery-card.is-visible:hover img {
    transform: scale(1.06) !important;
    transition: transform 0.5s ease !important;
}

/* Protect Gutenberg Visual Editor from hidden initial states */
.editor-styles-wrapper .bv-reveal,
.editor-styles-wrapper .bbz-reveal,
.editor-styles-wrapper .bv-reveal-scale,
.editor-styles-wrapper .bv-reveal-left,
.editor-styles-wrapper .bv-reveal-right,
.bv-visual-editor .bv-reveal,
.bv-visual-editor .bbz-reveal,
.bv-visual-editor .bv-reveal-scale,
.bv-visual-editor .bv-reveal-left,
.bv-visual-editor .bv-reveal-right,
body.wp-admin .bv-reveal,
body.wp-admin .bbz-reveal,
body.wp-admin .bv-reveal-scale,
body.wp-admin .bv-reveal-left,
body.wp-admin .bv-reveal-right {
    opacity: 1 !important;
    transform: none !important;
    will-change: auto !important;
    transition: none !important;
}

/* Accessibility: Respect Reduced Motion Preferences */
@media (prefers-reduced-motion: reduce) {
    .bv-reveal, .bbz-reveal, .bv-reveal-scale, .bv-reveal-left, .bv-reveal-right {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    .bv-float-ambient {
        animation: none !important;
    }
}
    .bv-float-ambient {
        animation: none !important;
    }
}
    .bv-float-ambient {
        animation: none !important;
    }
}
    .bv-float-ambient {
        animation: none !important;
    }
}
    .bv-float-ambient {
        animation: none !important;
    }
}
    .bv-float-ambient {
        animation: none !important;
    }
    #bv-scroll-progress {
        display: none !important;
    }
}

/* Mobile Navigation Drawer & Backdrop */
.bbz-mobile-backdrop {
    position: fixed;
    inset: 0;
    background-color: rgba(30, 24, 21, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.bbz-mobile-backdrop.is-open,
.bbz-mobile-backdrop.is-active {
    opacity: 1;
    pointer-events: auto;
}

.bbz-mobile-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 85%;
    max-width: 360px;
    height: 100vh;
    background-color: var(--bv-bg);
    z-index: 999;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    visibility: hidden;
    pointer-events: none;
}

.bbz-mobile-drawer.is-open,
.bbz-mobile-drawer.is-active {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
}

@media (min-width: 1024px) {
    .bbz-mobile-drawer,
    .bbz-mobile-backdrop {
        display: none !important;
    }
}

/* ==========================================================================
   Gutenberg the_content() Frontend & Block Styling
   Makes all Gutenberg blocks render 100% identical to the luxury design
   ========================================================================== */

/* Section Containers */
.bv-entry-content .bv-section-hero,
.bv-entry-content .bv-section-about,
.bv-entry-content .bv-section-services,
.bv-entry-content .bv-section-pricing,
.bv-entry-content .bv-section-gallery,
.bv-entry-content .bv-section-terms,
.bv-entry-content .bv-section-contact {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (min-width: 640px) {
    .bv-entry-content .bv-section-hero,
    .bv-entry-content .bv-section-about,
    .bv-entry-content .bv-section-services,
    .bv-entry-content .bv-section-pricing,
    .bv-entry-content .bv-section-gallery,
    .bv-entry-content .bv-section-terms,
    .bv-entry-content .bv-section-contact {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .bv-entry-content .bv-section-hero,
    .bv-entry-content .bv-section-about,
    .bv-entry-content .bv-section-services,
    .bv-entry-content .bv-section-pricing,
    .bv-entry-content .bv-section-gallery,
    .bv-entry-content .bv-section-terms,
    .bv-entry-content .bv-section-contact {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

.bv-entry-content .bv-section-hero {
    padding-top: 2.5rem;
    padding-bottom: 4rem;
}

@media (min-width: 1024px) {
    .bv-entry-content .bv-section-hero {
        padding-top: 3.5rem;
        padding-bottom: 5rem;
    }
}

.bv-entry-content .bv-hero-welcome {
    font-family: var(--bv-font-serif);
    font-size: 1.5rem;
    color: var(--bv-brown);
    font-style: italic;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.bv-entry-content .bv-hero-title {
    font-family: var(--bv-font-serif);
    font-size: 2.75rem;
    font-weight: 700;
    color: var(--bv-ink);
    line-height: 1.15;
    margin-bottom: 0.5rem;
}

@media (min-width: 640px) {
    .bv-entry-content .bv-hero-title {
        font-size: 3.75rem;
    }
}

@media (min-width: 1024px) {
    .bv-entry-content .bv-hero-title {
        font-size: 4.5rem;
    }
}

.bv-entry-content .bv-hero-sub {
    font-family: var(--bv-font-sans);
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.28em;
    color: var(--bv-muted);
    font-weight: 700;
    margin-bottom: 2rem;
}

/* Hero Polaroid Collage Cluster in the_content() */
.bv-entry-content .bv-hero-collage,
.bv-hero-collage {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    max-width: 900px !important;
    margin: 1.5rem auto 2.5rem auto !important;
    position: relative !important;
}

.bv-entry-content .bv-hero-collage .bv-rotate-left,
.bv-hero-collage .bv-rotate-left {
    width: 210px !important;
    flex: 0 0 210px !important;
    margin-right: -45px !important;
    z-index: 10 !important;
    transform: rotate(-7deg) translateY(15px) !important;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), z-index 0.35s ease !important;
}

.bv-entry-content .bv-hero-collage .bv-rotate-left:hover,
.bv-hero-collage .bv-rotate-left:hover {
    transform: rotate(0deg) translateY(-5px) scale(1.05) !important;
    z-index: 30 !important;
}

.bv-entry-content .bv-hero-collage .bv-polaroid-center,
.bv-hero-collage .bv-polaroid-center {
    width: 370px !important;
    flex: 0 0 370px !important;
    max-width: 90vw !important;
    z-index: 20 !important;
    transform: translateY(-8px) !important;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.bv-entry-content .bv-hero-collage .bv-polaroid-center:hover,
.bv-hero-collage .bv-polaroid-center:hover {
    transform: translateY(-14px) scale(1.02) !important;
    z-index: 30 !important;
}

.bv-entry-content .bv-hero-collage .bv-rotate-right,
.bv-hero-collage .bv-rotate-right {
    width: 210px !important;
    flex: 0 0 210px !important;
    margin-left: -45px !important;
    z-index: 10 !important;
    transform: rotate(7deg) translateY(15px) !important;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), z-index 0.35s ease !important;
}

.bv-entry-content .bv-hero-collage .bv-rotate-right:hover,
.bv-hero-collage .bv-rotate-right:hover {
    transform: rotate(0deg) translateY(-5px) scale(1.05) !important;
    z-index: 30 !important;
}

.bv-entry-content .bv-hero-collage .bv-polaroid-img,
.bv-entry-content .bv-hero-collage .wp-block-image {
    margin: 0 0 0.75rem 0 !important;
    padding: 0 !important;
    border-radius: 0.625rem !important;
    overflow: hidden !important;
    background-color: var(--bv-bg-soft) !important;
}

.bv-entry-content .bv-hero-collage .bv-polaroid-img img,
.bv-entry-content .bv-hero-collage .wp-block-image img,
.bv-entry-content .bv-hero-collage .bv-polaroid-center .bv-polaroid-img img,
.bv-entry-content .bv-hero-collage .bv-polaroid-center .wp-block-image img {
    width: 100% !important;
    aspect-ratio: 4 / 5 !important;
    height: auto !important;
    object-fit: cover !important;
    object-position: center 20% !important;
    display: block !important;
    border-radius: 0.625rem !important;
}

@media (max-width: 640px) {
    .bv-entry-content .bv-hero-collage .bv-rotate-left,
    .bv-entry-content .bv-hero-collage .bv-rotate-right {
        display: none !important;
    }
    .bv-entry-content .bv-hero-collage .bv-polaroid-center {
        width: 100% !important;
        max-width: 260px !important;
        margin: 0 auto !important;
    }
}

/* Hero CTA Buttons */
.bv-entry-content .bv-hero-cta-buttons,
.bv-entry-content .wp-block-buttons {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 1rem !important;
    margin-top: 2.5rem !important;
}

/* About Section */
.bv-entry-content .bv-section-about {
    padding-top: 5rem;
    padding-bottom: 5rem;
    background-color: #FFFFFF;
}

.bv-entry-content .bv-about-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 3rem !important;
    align-items: center !important;
}

@media (min-width: 1024px) {
    .bv-entry-content .bv-about-grid {
        grid-template-columns: 7fr 5fr !important;
    }
}

.bv-entry-content .bv-about-right .bv-polaroid-img img,
.bv-entry-content .bv-about-right .wp-block-image img {
    width: 100% !important;
    height: 420px !important;
    object-fit: cover !important;
    object-position: top center !important;
    border-radius: 0.75rem !important;
}

.bv-entry-content .bv-stats-row {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 1rem !important;
    margin-top: 2rem !important;
}

.bv-entry-content .bv-stat-box {
    background: var(--bv-bg) !important;
    padding: 1.25rem 1rem !important;
    border-radius: 0.875rem !important;
    border: 1px solid var(--bv-border-light) !important;
    text-align: center !important;
}

/* Services Section */
.bv-entry-content .bv-section-services {
    padding-top: 5rem;
    padding-bottom: 5rem;
    background-color: var(--bv-bg);
}

.bv-entry-content .bv-services-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 3rem !important;
    align-items: center !important;
}

@media (min-width: 1024px) {
    .bv-entry-content .bv-services-grid {
        grid-template-columns: 5fr 7fr !important;
    }
}

.bv-entry-content .bv-promise-item {
    background: var(--bv-bg) !important;
    padding: 1.25rem 1.5rem !important;
    border-radius: 0.875rem !important;
    border: 1px solid var(--bv-border-light) !important;
    margin-bottom: 1rem !important;
}

/* Pricing Section */
.bv-entry-content .bv-section-pricing {
    padding-top: 5rem;
    padding-bottom: 5rem;
    background-color: #FFFFFF;
}

.bv-entry-content .bv-pricing-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
    margin-top: 1.5rem !important;
}

@media (min-width: 768px) {
    .bv-entry-content .bv-pricing-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

/* Gallery Section */
.bv-entry-content .bv-section-gallery {
    padding-top: 5rem;
    padding-bottom: 5rem;
    background-color: var(--bv-bg);
}

.bv-entry-content .bv-gallery-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
    margin-top: 2rem !important;
}

@media (min-width: 768px) {
    .bv-entry-content .bv-gallery-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

.bv-entry-content .bv-gallery-grid .bv-polaroid-img img,
.bv-entry-content .bv-gallery-grid .wp-block-image img {
    width: 100% !important;
    aspect-ratio: 1/1 !important;
    height: auto !important;
    object-fit: cover !important;
    border-radius: 0.5rem !important;
}

/* Terms Section */
.bv-entry-content .bv-section-terms {
    padding-top: 5rem;
    padding-bottom: 5rem;
    background-color: #FFFFFF;
}

.bv-entry-content .bv-term-item {
    background: #FFFFFF !important;
    border: 1px solid var(--bv-border-light) !important;
    border-radius: 0.875rem !important;
    padding: 1.125rem 1.5rem !important;
    margin-bottom: 0.75rem !important;
}

/* Contact / Quote Section */
.bv-entry-content .bv-section-contact {
    padding-top: 6rem;
    padding-bottom: 6rem;
    background-color: var(--bv-bg);
    text-align: center !important;
}

/* Polaroid Card Base for Gutenberg Column */
.bv-entry-content .bv-col-polaroid,
.bv-col-polaroid {
    background: #FFFFFF !important;
    padding: 0.875rem 0.875rem 1.25rem 0.875rem !important;
    border-radius: 0.875rem !important;
    box-shadow: 0 10px 30px -5px rgba(107, 78, 61, 0.12), 0 0 0 1px rgba(224, 214, 200, 0.7) !important;
    text-align: center !important;
    box-sizing: border-box !important;
}

.bv-entry-content .bv-col-polaroid.bv-polaroid-center,
.bv-col-polaroid.bv-polaroid-center {
    padding: 1rem 1rem 1.5rem 1rem !important;
    border-radius: 1rem !important;
    box-shadow: 0 20px 40px -10px rgba(107, 78, 61, 0.22), 0 0 0 1px rgba(224, 214, 200, 0.8) !important;
}

/* ==========================================================================
   Hero & Button Exact Polish Fixes
   ========================================================================== */

/* Fix Outline Buttons everywhere in Gutenberg & Theme */
.bv-btn-outline,
.bv-btn-outline a,
.bv-btn-outline .wp-block-button__link,
.wp-block-button.bv-btn-outline .wp-block-button__link {
    background-color: transparent !important;
    background: transparent !important;
    color: #6B4E3D !important;
    border: 1.5px solid #6B4E3D !important;
    border-radius: 9999px !important;
    box-shadow: none !important;
    font-weight: 500 !important;
    font-size: 15px !important;
    padding: 0.8125rem 1.75rem !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.bv-btn-outline:hover,
.bv-btn-outline a:hover,
.bv-btn-outline .wp-block-button__link:hover,
.wp-block-button.bv-btn-outline .wp-block-button__link:hover {
    background-color: #6B4E3D !important;
    background: #6B4E3D !important;
    color: #FFFFFF !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(107, 78, 61, 0.18) !important;
}

/* Fix Hero Polaroid Collage Box & Reset Inner Duplicates */
.bv-hero-collage .bv-col-polaroid {
    background: #FFFFFF !important;
    padding: 0.875rem 0.875rem 1.25rem 0.875rem !important;
    border-radius: 0.875rem !important;
    box-shadow: 0 10px 30px -5px rgba(107, 78, 61, 0.12), 0 0 0 1px rgba(224, 214, 200, 0.7) !important;
    text-align: center !important;
    box-sizing: border-box !important;
}

.bv-hero-collage .bv-col-polaroid .bv-polaroid {
    background: transparent !important;
    padding: 0 !important;
    box-shadow: none !important;
    border: none !important;
    margin: 0 !important;
}

.bv-hero-collage .bv-polaroid-center {
    width: 370px !important;
    flex: 0 0 370px !important;
    max-width: 90vw !important;
    z-index: 20 !important;
    padding: 1rem 1rem 1.75rem 1rem !important;
    border-radius: 1.125rem !important;
    box-shadow: 0 25px 50px -12px rgba(107, 78, 61, 0.22), 0 0 0 1px rgba(224, 214, 200, 0.8) !important;
    transform: translateY(-8px) !important;
}

.bv-hero-collage .bv-polaroid-caption {
    font-size: 14px !important;
    line-height: 1.3 !important;
    margin-top: 0.5rem !important;
    color: #1E1815 !important;
}

/* Ensure Hero Headings are prominently spaced */
.bv-section-hero {
    padding-top: 2rem !important;
    padding-bottom: 3.5rem !important;
    text-align: center !important;
}

.bv-section-hero .bv-hero-welcome {
    margin-top: 0.5rem !important;
    margin-bottom: 0.5rem !important;
}

.bv-section-hero .bv-hero-title {
    margin-bottom: 0.5rem !important;
}

.bv-section-hero .bv-hero-sub {
    margin-bottom: 2rem !important;
}


/* Lightbox Full Zoom & Scrollbar Removal */
#bv-lightbox-img {
    object-fit: cover !important;
    object-position: center center !important;
    width: 100% !important;
    height: 100% !important;
}

#bv-lightbox-thumbnails,
.bv-no-scrollbar {
    -ms-overflow-style: none !important;
    scrollbar-width: none !important;
}

#bv-lightbox-thumbnails::-webkit-scrollbar,
.bv-no-scrollbar::-webkit-scrollbar,
.bv-lightbox-content *::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}


/* Generous vertical padding for Final CTA section (#contact) */
#contact,
section#contact {
    padding-top: clamp(5rem, 12vw, 12rem) !important;
    padding-bottom: clamp(5rem, 12vw, 12rem) !important;
}
