/* ================================================================
   Breathify Theme — Main Stylesheet
   Brand: Clean, Calm, Breathable, Premium, Clinical, Modern
   Font: Open Sans | Colors: Charcoal + Slate Blue-Gray
   Follows: Longevity+, Healup, More Labs reference designs
   ================================================================ */

/* ── CSS Custom Properties ─────────────────────────────── */
:root {
    --dark: #1a1a1a;
    --slate: #2c3e50;
    --bg: #F5F5F5;
    --white: #ffffff;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #adb5bd;
    --gray-600: #757575;
    --gray-700: #616161;
    --gray-800: #343a40;
    --gold: #C49F60;
    --gold-light: #D4B681;
    --success: #2ecc71;
    --font: 'Open Sans', sans-serif;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 24px;
    --radius-full: 50px;
    --container-width: 1280px;
    --section-padding-desktop: 96px;
    --section-padding-mobile: 64px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.1);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset & Base ──────────────────────────────────────── */
.bf-wrap,
.bf-wrap *,
.bf-wrap *::before,
.bf-wrap *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.bf-wrap {
    font-family: var(--font);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background: var(--white);
}

.bf-wrap img {
    max-width: 100%;
    height: auto;
    display: block;
}

.bf-wrap a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition);
}

h1, .h1 { font-family: 'Open Sans', sans-serif; font-size: 56px; line-height: 1.1; font-weight: 800; color: var(--dark); margin-bottom: 24px; letter-spacing: -0.02em; }
h2, .h2 { font-family: 'Open Sans', sans-serif; font-size: 40px; line-height: 1.2; font-weight: 800; color: var(--dark); margin-bottom: 24px; letter-spacing: -0.01em; }
h3, .h3 { font-family: 'Open Sans', sans-serif; font-size: 28px; line-height: 1.3; font-weight: 700; color: var(--dark); margin-bottom: 16px; }
p { font-size: 16px; line-height: 1.6; color: var(--slate); margin-bottom: 16px; }

@media (max-width: 768px) {
    h1, .h1 { font-size: 36px; }
    h2, .h2 { font-size: 28px; }
    h3, .h3 { font-size: 22px; }
}

/* ── Layout ────────────────────────────────────────────── */
.bf-section { padding: var(--section-padding-desktop) 32px; }
.bf-container { max-width: var(--container-width); margin: 0 auto; width: 100%; position: relative; }

@media (max-width: 768px) {
    .bf-section { padding: var(--section-padding-mobile) 20px; }
}

/* ── Elementor Compatibility ───────────────────────────── */
.bf-elementor-content,
.bf-elementor-full-width {
    width: 100%;
}
/* When Elementor controls the page, remove the container constraints */
.elementor-page .bf-section { padding-left: 0; padding-right: 0; }
.elementor-page .bf-container { max-width: 100%; }
.elementor-page .bf-page-content { padding: 0; }
.elementor-canvas .bf-section,
.elementor-canvas .bf-container { max-width: 100%; padding: 0; }

/* ── Reveal Animation ──────────────────────────────────── */
.bf-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.bf-reveal.bf-visible { opacity: 1; transform: translateY(0); }

/* ── Announcement Bar (scrolling marquee like More Labs) ── */
.bf-announce {
    background: var(--dark);
    color: var(--white);
    text-align: center;
    padding: 8px 20px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.3px;
    overflow: hidden;
    position: relative;
}

.bf-announce-inner {
    display: inline-flex;
    gap: 60px;
    animation: bf-marquee 20s linear infinite;
    white-space: nowrap;
}

@keyframes bf-marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ── Header ────────────────────────────────────────────── */
.bf-header {
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--gray-300);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0 32px;
}

.bf-header.bf-scrolled {
    box-shadow: 0 1px 12px rgba(0,0,0,0.06);
}

.bf-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 56px;
}

.bf-logo-wrap { flex-shrink: 0; }

.bf-logo {
    font-family: var(--font);
    font-size: 24px;
    font-weight: 800;
    color: var(--dark);
    letter-spacing: -0.5px;
    font-style: italic;
}

.bf-logo-wrap .custom-logo-link img {
    height: 36px;
    width: auto;
}

/* ── Navigation ────────────────────────────────────────── */
.bf-nav {
    display: flex;
    gap: 32px;
    align-items: center;
}

.bf-nav a, .bf-nav .menu-item a {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-700);
    position: relative;
    transition: color var(--transition);
    padding: 4px 0;
}

.bf-nav a:hover, .bf-nav .menu-item a:hover { color: var(--dark); }

.bf-nav a::after, .bf-nav .menu-item a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--dark);
    transition: width var(--transition);
}

.bf-nav a:hover::after, .bf-nav .menu-item a:hover::after { width: 100%; }
.bf-nav .bf-btn::after { display: none; }

.bf-header-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.bf-icon-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: none;
    background: transparent;
    cursor: pointer;
    color: var(--dark);
    transition: background var(--transition);
}

.bf-icon-btn:hover { background: var(--gray-200); }

.bf-cart-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #282828 !important;
    color: #ffffff !important;
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 700;
    transition: all var(--transition);
    border: none;
    cursor: pointer;
    font-family: var(--font);
    text-decoration: none !important;
}

.bf-cart-btn svg {
    stroke: #ffffff !important;
    fill: none !important;
}

.bf-cart-btn:hover { background: #111111 !important; color: #ffffff !important; }

/* ── Hamburger ─────────────────────────────────────────── */
.bf-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    z-index: 1100;
    background: none;
    border: none;
}

.bf-hamburger span {
    width: 22px;
    height: 2px;
    background: var(--dark);
    border-radius: 2px;
    transition: all var(--transition);
}

/* ── Mobile Nav ────────────────────────────────────────── */
.bf-mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--white);
    z-index: 1050;
    padding: 72px 28px 28px;
    transition: right 0.3s ease;
    box-shadow: -2px 0 20px rgba(0,0,0,0.08);
    overflow-y: auto;
}

.bf-mobile-nav.bf-open { right: 0; }

.bf-mobile-close {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--dark);
    line-height: 1;
    padding: 4px 8px;
}

.bf-mobile-nav a, .bf-mobile-nav .menu-item a {
    display: block;
    font-size: 16px;
    padding: 14px 0;
    border-bottom: 1px solid var(--gray-200);
    font-weight: 600;
    color: var(--dark);
}

.bf-mobile-nav a:hover, .bf-mobile-nav .menu-item a:hover { color: var(--slate); }

.bf-mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.3);
    z-index: 1040;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition);
}

.bf-mobile-overlay.bf-open { opacity: 1; pointer-events: all; }

/* ── Buttons ───────────────────────────────────────────── */
.bf-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 40px;
    border-radius: var(--radius-full);
    font-size: 15px;
    font-weight: 700;
    min-height: 56px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
    text-decoration: none;
    line-height: 1;
    white-space: nowrap;
}

.bf-btn-primary {
    background: #282828 !important;
    color: #ffffff !important;
    border-color: #282828 !important;
}

.bf-btn-primary:hover {
    background: var(--gray-800);
    border-color: var(--gray-800);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.bf-btn-outline {
    background: transparent;
    color: var(--dark);
    border-color: var(--dark);
}

.bf-btn-outline:hover {
    background: var(--dark);
    color: var(--white);
}

.bf-btn-white {
    background: var(--white);
    color: var(--dark);
    border-color: var(--white);
}

.bf-btn-white:hover {
    background: var(--gray-200);
    border-color: var(--gray-200);
    transform: translateY(-1px);
}

/* ── Hero (Longevity+ style — text left, image right) ──── */
.bf-hero {
    background: var(--bg);
    position: relative;
    overflow: hidden;
}

.bf-hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 40px;
    align-items: center;
    padding: 56px 32px;
    min-height: 520px;
    width: 100%;
}

.bf-hero-content { max-width: 640px; }
.bf-hero-actions { 
    display: flex; 
    gap: 16px; 
    margin-top: 40px; 
}

.bf-hero-text h1 {
    font-size: clamp(32px, 4.5vw, 52px);
    color: var(--dark);
    margin-bottom: 16px;
    line-height: 1.05;
    font-weight: 800;
}

.bf-hero-text h1 span { color: var(--slate); }

.bf-hero-text p {
    font-size: 16px;
    color: var(--gray-600);
    margin-bottom: 28px;
    max-width: 420px;
    line-height: 1.7;
}

.bf-hero-social {
    display: flex;
    gap: 16px;
    align-items: center;
    font-size: 13px;
    color: var(--gray-600);
}

.bf-stars { color: var(--gold); letter-spacing: 2px; }

.bf-hero-img { text-align: center; }

.bf-hero-img img {
    border-radius: 20px;
    max-height: 480px;
    object-fit: cover;
    width: 100%;
}

.bf-hero-img .bf-placeholder {
    width: 100%;
    height: 380px;
    background: var(--gray-200);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
}

/* ── Trust Bar (More Labs dark strip) ──────────────────── */
.bf-trust-bar {
    background: var(--dark);
    padding: 18px 32px;
    overflow: hidden;
}

.bf-trust-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 48px;
}

.bf-trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.bf-trust-icon {
    width: 32px;
    height: 32px;
    border: 1.5px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.bf-trust-icon svg {
    width: 16px;
    height: 16px;
    color: var(--white);
}

/* ── Section Header (Longevity+ style — title + view all) ── */
.bf-section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 36px;
}

.bf-section-header.bf-centered {
    display: block;
    text-align: center;
}

.bf-section-header h2 {
    font-size: clamp(24px, 3.5vw, 32px);
    color: var(--dark);
    font-weight: 800;
}

.bf-section-header p {
    font-size: 15px;
    color: var(--gray-600);
    margin-top: 4px;
}

.bf-section-header .bf-view-all {
    font-size: 14px;
    font-weight: 700;
    color: var(--slate);
    display: flex;
    align-items: center;
    gap: 4px;
    transition: color var(--transition);
}

.bf-section-header .bf-view-all:hover { color: var(--dark); }

/* ── Products Grid (Longevity+ cards — image, name, FROM price, arrow) ── */
.bf-products { background: var(--white); }

.bf-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.bf-product-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--gray-300);
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
}

.bf-product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gray-400);
}

.bf-product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--dark);
    color: var(--white);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 700;
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bf-product-img {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
    background: var(--bg);
    display: block;
}

.bf-product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.bf-product-card:hover .bf-product-img img { transform: scale(1.06); }

.bf-product-info { padding: 16px 16px 20px; }

.bf-product-info h3 {
    font-size: 15px;
    margin-bottom: 2px;
    font-weight: 700;
}

.bf-product-info h3 a { color: var(--dark); }
.bf-product-info h3 a:hover { color: var(--slate); }

.bf-product-desc {
    font-size: 12px;
    color: var(--gray-500);
    margin-bottom: 10px;
}

.bf-product-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bf-price-tag {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
}

.bf-price-tag small {
    font-size: 11px;
    font-weight: 600;
    color: var(--gray-500);
    text-transform: uppercase;
    display: block;
}

.bf-price-arrow {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--dark);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: background var(--transition);
    flex-shrink: 0;
}

.bf-product-card:hover .bf-price-arrow { background: var(--slate); }

/* Legacy product CTA fallback */
.bf-price { font-size: 16px; font-weight: 700; color: var(--dark); margin-bottom: 12px; }
.bf-price del { color: var(--gray-500); font-weight: 400; font-size: 13px; }
.bf-price ins { text-decoration: none; }

.bf-product-cta {
    display: block;
    text-align: center;
    background: var(--dark);
    color: var(--white);
    padding: 10px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 13px;
    transition: all var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.bf-product-cta:hover { background: var(--gray-800); color: var(--white); }

/* ── Product Variants UI ────────────────────────────────━ */
.bf-product-variants { margin-bottom: 20px; text-align: left; }
.bf-variant-group { margin-bottom: 12px; display: flex; flex-direction: column; align-items: flex-start; }
.bf-variant-label { font-size: 11px; font-weight: 700; text-transform: uppercase; color: var(--gray-500); margin-bottom: 6px; display: block; letter-spacing: 0.5px; }
.bf-variant-options { display: flex; gap: 8px; flex-wrap: wrap; }

.bf-variant-pill { position: relative; cursor: pointer; }
.bf-variant-pill input[type="radio"] { position: absolute; opacity: 0; width: 0; height: 0; }
.bf-variant-pill span { display: block; padding: 6px 12px; border: 1px solid var(--gray-300); border-radius: 6px; font-size: 12px; font-weight: 600; color: var(--gray-600); transition: all 0.2s ease; background: var(--white); user-select: none; }
.bf-variant-pill input[type="radio"]:checked + span { border-color: var(--slate); color: var(--slate); background: rgba(96, 125, 136, 0.05); }

/* Color swatches */
.bf-variant-color span { width: 28px; height: 28px; padding: 0; border-radius: 50%; border: 2px solid transparent; outline: 1px solid var(--gray-300); outline-offset: 2px; }
.bf-variant-color input[type="radio"]:checked + span { outline-color: var(--slate); border-color: transparent !important; }

.bf-product-actions { display: flex; flex-direction: column; gap: 12px; margin-top: 20px; }
.bf-btn-buy-now { 
    width: 100%; display: flex; align-items: center; justify-content: center;
    background: var(--dark, #1a1a1a); color: var(--white, #fff); border: 2px solid var(--dark, #1a1a1a); 
    padding: 16px; border-radius: var(--radius-full); font-weight: 700; text-align: center; 
    font-size: 15px; text-transform: uppercase; cursor: pointer; transition: all 0.25s ease; 
    letter-spacing: 0.5px; height: 56px; line-height: 1;
}
.bf-btn-buy-now:hover { background: #333; border-color: #333; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,0,0,0.15); color: #fff; }

.bf-btn-add-cart { 
    width: 100%; display: flex; align-items: center; justify-content: center;
    background: transparent; color: var(--dark, #1a1a1a); border: 2px solid var(--dark, #1a1a1a); 
    padding: 16px; border-radius: var(--radius-full); font-weight: 700; text-align: center; 
    font-size: 15px; text-transform: uppercase; cursor: pointer; transition: all 0.25s ease; 
    letter-spacing: 0.5px; height: 56px; line-height: 1;
}
.bf-btn-add-cart:hover { background: rgba(0,0,0,0.05); }
.bf-btn-add-cart:hover { background: var(--slate); color: var(--white); }
.bf-btn-add-cart.loading { opacity: 0.7; pointer-events: none; }
.bf-btn-add-cart.added { background: var(--gold); border-color: var(--gold); color: var(--white); }

/* ── How It Works (3-step cards) ───────────────────────── */
.bf-how { background: var(--bg); }

.bf-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.bf-step-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--gray-300);
    text-align: center;
    transition: all var(--transition);
}

.bf-step-card:hover {
    box-shadow: var(--shadow-md);
}

.bf-step-img {
    height: 240px;
    overflow: hidden;
}

.bf-step-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bf-step-body { padding: 24px; }

.bf-step-num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--dark);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 16px;
    margin: 0 auto 12px;
}

.bf-step-body h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.bf-step-body p { font-size: 13px; color: var(--gray-600); line-height: 1.6; }

/* ── Why Breathify (image left, checklist right) ───────── */
.bf-why { background: var(--white); }

.bf-why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.bf-why-img img {
    border-radius: 20px;
    width: 100%;
}

.bf-why-list { list-style: none; }

.bf-why-list li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 14px 0;
    border-bottom: 1px solid var(--gray-200);
}

.bf-why-list li:last-child { border: none; }

.bf-why-check {
    width: 24px;
    height: 24px;
    min-width: 24px;
    background: var(--dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    margin-top: 2px;
}

.bf-why-list h4 { font-size: 14px; font-weight: 700; margin-bottom: 2px; }
.bf-why-list p { font-size: 13px; color: var(--gray-600); }

/* WP Customizer circle fallback */
.bf-circle {
    width: 100%;
    aspect-ratio: 1;
    max-width: 380px;
    margin: 0 auto;
    background: var(--white);
    border: 2px solid var(--gray-300);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--slate);
}

/* ── Starter Kit Banner (dark card) ────────────────────── */
.bf-starter { background: var(--bg); }

.bf-starter-inner {
    background: var(--dark);
    border-radius: var(--radius-xl);
    padding: 56px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    color: var(--white);
    overflow: hidden;
    position: relative;
}

.bf-starter-text h2 {
    font-size: clamp(24px, 3vw, 36px);
    margin-bottom: 12px;
    font-weight: 800;
    color: var(--white);
}

.bf-starter-text p {
    font-size: 15px;
    opacity: 0.75;
    margin-bottom: 24px;
    line-height: 1.7;
}

.bf-starter-price {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 20px;
}

.bf-starter-text .bf-btn {
    background: var(--white);
    color: var(--dark);
    border-color: var(--white);
    font-weight: 700;
}

.bf-starter-text .bf-btn:hover {
    background: var(--gray-200);
    border-color: var(--gray-200);
    color: var(--dark);
    transform: translateY(-1px);
}

.bf-starter-img { text-align: center; position: relative; z-index: 1; }

.bf-starter-img img {
    border-radius: var(--radius-lg);
    max-height: 400px;
    object-fit: cover;
}

.bf-starter-img .bf-placeholder {
    height: 300px;
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 72px;
}

/* ── Testimonials ──────────────────────────────────────── */
.bf-testimonials { background: var(--white); }

.bf-test-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.bf-test-card {
    background: var(--gray-100);
    border-radius: 14px;
    padding: 28px;
    border: 1px solid var(--gray-300);
    transition: all var(--transition);
}

.bf-test-card:hover { box-shadow: var(--shadow-md); }

.bf-test-stars {
    color: var(--gold);
    font-size: 14px;
    margin-bottom: 14px;
    letter-spacing: 1px;
    display: flex;
    gap: 2px;
}

.bf-test-card p {
    font-size: 14px;
    color: var(--gray-700);
    font-style: italic;
    margin-bottom: 16px;
    line-height: 1.7;
}

.bf-test-author {
    font-weight: 700;
    font-size: 13px;
    color: var(--dark);
}

/* ── FAQ ───────────────────────────────────────────────── */
.bf-faq { background: var(--bg); }

.bf-faq-list { max-width: 720px; margin: 0 auto; }

.bf-faq-item {
    background: var(--white);
    border: 1px solid var(--gray-300);
    border-radius: 10px;
    margin-bottom: 8px;
    overflow: hidden;
    transition: all var(--transition);
}

.bf-faq-item:hover { border-color: var(--slate); }

.bf-faq-q {
    padding: 16px 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    font-size: 14px;
    user-select: none;
}

.bf-faq-icon {
    font-size: 18px;
    transition: transform var(--transition);
    color: var(--slate);
    flex-shrink: 0;
    margin-left: 16px;
}

.bf-faq-item.bf-active .bf-faq-icon { transform: rotate(45deg); }

.bf-faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 20px;
}

.bf-faq-item.bf-active .bf-faq-a { max-height: 300px; padding: 0 20px 16px; }

.bf-faq-a p { font-size: 14px; color: var(--gray-600); line-height: 1.7; }

/* ── Footer ────────────────────────────────────────────── */
.bf-footer {
    background: var(--dark);
    color: var(--white);
    padding: 56px 32px 20px;
}

.bf-footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 36px;
}

.bf-footer-logo {
    color: var(--white);
    font-family: var(--font);
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 8px;
    font-style: italic;
}

.bf-footer h4 {
    font-size: 12px;
    margin-bottom: 14px;
    color: var(--white);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.bf-footer p, .bf-footer a, .bf-footer .menu-item a {
    font-size: 14px;
    color: rgba(255,255,255,0.55);
    line-height: 2;
}

.bf-footer-col a, .bf-footer-col .menu-item a { display: block; }
.bf-footer a:hover, .bf-footer .menu-item a:hover { color: var(--white); }

.bf-footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.08);
    text-align: center;
    font-size: 12px;
    color: rgba(255,255,255,0.3);
}

/* ── WhatsApp ──────────────────────────────────────────── */
.bf-whatsapp-float {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 9999;
    background: #25D366;
    color: #fff;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.bf-whatsapp-float:hover { transform: scale(1.1) rotate(10deg); color: #fff; }

/* Hide floating WhatsApp on conversion pages to reduce noise */
.woocommerce-cart .bf-whatsapp-float,
.woocommerce-checkout .bf-whatsapp-float {
    display: none !important;
}

@media (max-width: 768px) {
    .bf-whatsapp-float { bottom: 20px; right: 20px; width: 56px; height: 56px; }
}

/* ── Page Content / Blog ───────────────────────────────── */
.bf-page-content { min-height: 50vh; }
.bf-single-wrap { max-width: 760px; }

.bf-single-thumbnail { margin-bottom: 28px; border-radius: var(--radius-md); overflow: hidden; }
.bf-single-thumbnail img { width: 100%; height: auto; }
.bf-single-header { margin-bottom: 28px; }
.bf-single-title { font-size: clamp(24px, 3.5vw, 38px); margin-bottom: 8px; font-weight: 800; }
.bf-single-meta { font-size: 13px; color: var(--gray-600); display: flex; gap: 8px; align-items: center; }
.bf-meta-sep { color: var(--gray-500); }

.bf-single-content { font-size: 16px; line-height: 1.8; color: var(--gray-800); }
.bf-single-content h2, .bf-single-content h3, .bf-single-content h4 { margin-top: 28px; margin-bottom: 12px; }
.bf-single-content p { margin-bottom: 16px; }
.bf-single-content img { border-radius: var(--radius-sm); margin: 20px 0; }
.bf-single-content a { color: var(--slate); text-decoration: underline; }
.bf-single-content a:hover { color: var(--dark); }

.bf-single-footer { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--gray-200); }
.bf-tag { display: inline-block; background: var(--gray-100); border: 1px solid var(--gray-300); padding: 3px 10px; border-radius: var(--radius-full); font-size: 12px; margin: 3px 3px 3px 0; color: var(--gray-600); }

.bf-posts-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }

.bf-post-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--gray-300);
    transition: all var(--transition);
}
.bf-post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.bf-post-thumb img { width: 100%; height: 200px; object-fit: cover; transition: transform 0.4s ease; }
.bf-post-card:hover .bf-post-thumb img { transform: scale(1.03); }
.bf-post-body { padding: 20px; }
.bf-post-title { font-size: 18px; margin-bottom: 6px; font-weight: 700; }
.bf-post-title a:hover { color: var(--slate); }
.bf-post-meta { font-size: 12px; color: var(--gray-600); margin-bottom: 10px; }
.bf-post-excerpt { font-size: 14px; color: var(--gray-600); margin-bottom: 14px; line-height: 1.6; }

/* ── Post Navigation ── */
.bf-post-nav { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--gray-200); }
.bf-post-nav .nav-links { display: flex; justify-content: space-between; gap: 24px; }
.bf-nav-label { font-size: 11px; text-transform: uppercase; color: var(--gray-500); letter-spacing: 1px; display: block; margin-bottom: 4px; }
.bf-nav-title { font-weight: 700; color: var(--dark); display: block; font-size: 14px; }

/* ── Pagination ── */
.bf-pagination { margin-top: 40px; text-align: center; }
.bf-pagination .nav-links { display: flex; justify-content: center; gap: 6px; }
.bf-pagination .page-numbers { padding: 8px 14px; border: 1px solid var(--gray-300); border-radius: var(--radius-sm); font-size: 13px; transition: all var(--transition); font-weight: 600; }
.bf-pagination .page-numbers.current, .bf-pagination .page-numbers:hover { background: var(--dark); color: var(--white); border-color: var(--dark); }

/* ── 404 ── */
.bf-404 { display: flex; align-items: center; justify-content: center; min-height: 60vh; }
.bf-404-icon { font-size: 72px; margin-bottom: 20px; }
.bf-404-title { font-size: clamp(28px, 4vw, 44px); margin-bottom: 12px; font-weight: 800; }
.bf-404-text { font-size: 15px; color: var(--gray-600); margin-bottom: 28px; line-height: 1.7; }
.bf-404-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 36px; }
.bf-404-search { max-width: 400px; margin: 0 auto; }

/* ── Search Form ── */
.search-form { display: flex; gap: 8px; max-width: 440px; margin: 20px auto; }
.search-form .search-field { flex: 1; padding: 10px 18px; border: 1px solid var(--gray-300); border-radius: var(--radius-full); font-size: 14px; font-family: var(--font); outline: none; transition: border-color var(--transition); }
.search-form .search-field:focus { border-color: var(--slate); }
.search-form .search-submit { padding: 10px 20px; background: var(--dark); color: var(--white); border: none; border-radius: var(--radius-full); font-weight: 700; font-size: 13px; cursor: pointer; font-family: var(--font); transition: all var(--transition); }
.search-form .search-submit:hover { background: var(--gray-800); }

/* ── No Results ── */
.bf-no-results { text-align: center; padding: 56px 20px; }
.bf-no-results h2 { font-size: 24px; margin-bottom: 12px; font-weight: 800; }
.bf-no-results p { font-size: 15px; color: var(--gray-600); margin-bottom: 20px; }

/* ── Comments ── */
.bf-comments { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--gray-200); }
.bf-comments-title { font-size: 22px; margin-bottom: 20px; font-weight: 800; }
.bf-comment-list { list-style: none; padding: 0; }
.bf-comment-list .comment { padding: 16px 0; border-bottom: 1px solid var(--gray-200); }
.bf-comment-list .comment-content p { font-size: 14px; line-height: 1.7; }

/* ── WordPress Defaults ── */
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 12px; color: var(--gray-600); text-align: center; margin-top: 6px; }
.alignleft { float: left; margin: 0 20px 12px 0; }
.alignright { float: right; margin: 0 0 12px 20px; }
.aligncenter { display: block; margin: 20px auto; }
.screen-reader-text { clip: rect(1px,1px,1px,1px); position: absolute !important; height: 1px; width: 1px; overflow: hidden; }

/* ================================================================
   Responsive
   ================================================================ */
@media (max-width: 1024px) {
    .bf-products-grid { grid-template-columns: repeat(2, 1fr); }
    .bf-footer-grid { grid-template-columns: 1fr 1fr; }
    .bf-hero-inner, .bf-why-grid, .bf-starter-inner { grid-template-columns: 1fr; text-align: center; }
    .bf-hero-text p { margin: 0 auto 28px; }
    .bf-hero-actions { justify-content: center; }
    .bf-hero-social { justify-content: center; }
    .bf-hero-img { order: -1; }
    .bf-test-grid { grid-template-columns: 1fr; }
    .bf-starter-inner { padding: 36px 24px; }
    .bf-trust-inner { gap: 24px; }
    .bf-steps-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
    .bf-section-header { flex-direction: column; align-items: flex-start; gap: 8px; }
}

@media (max-width: 768px) {
    .bf-nav { display: none; }
    .bf-header-actions .bf-icon-btn { display: none; }
    .bf-hamburger { display: flex; }
    .bf-section { padding: 48px 16px; }
    .bf-hero { min-height: auto; }
    .bf-hero-inner { padding: 32px 16px; gap: 24px; }
    .bf-hero-text h1 { font-size: 32px; }
    .bf-hero-text p { font-size: 15px; }
    .bf-products-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .bf-footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .bf-starter-inner { padding: 28px 20px; }
    .bf-posts-grid { grid-template-columns: 1fr; }
    .bf-trust-inner { gap: 16px; }
    .bf-trust-item { font-size: 12px; }
}

@media (max-width: 480px) {
    .bf-products-grid { grid-template-columns: 1fr; }
    .bf-404-actions { flex-direction: column; align-items: center; }
    .bf-trust-inner { 
        flex-direction: row; 
        gap: 24px; 
        align-items: center; 
        overflow-x: auto; 
        white-space: nowrap; 
        padding: 0 20px 8px; 
        justify-content: flex-start; 
        scrollbar-width: none; 
        -webkit-overflow-scrolling: touch;
        flex-wrap: nowrap;
    }
    .bf-trust-inner::-webkit-scrollbar { display: none; }
    .bf-trust-item { flex: 0 0 auto; }
    .bf-hero-actions { flex-direction: column; }
}
