/*
Theme Name: BEIYAOO Futura
Theme URI: https://jamegreen.com
Author: BEIYAOO
Author URI: https://jamegreen.com
Description: A futuristic, high-tech WordPress theme designed for BEIYAOO Power Tool Trading. Features dark mode design with neon accents, product showcase wall, WooCommerce integration, OpenClaw compatibility, and multi-channel customer inquiry widget (WhatsApp, WeChat, Facebook). Built for global B2B/B2C industrial tool trading.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: beiyaoo-futura
Tags: e-commerce, custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, woocommerce

BEIYAOO Futura - Engineering Excellence Meets Global Trade
*/

/* ============================================
   CSS VARIABLES & RESET
   ============================================ */
:root {
    --bf-bg-primary: #0c0b10;
    --bf-bg-secondary: #13111a;
    --bf-bg-card: #1b1824;
    --bf-bg-card-hover: #24202f;
    --bf-accent: #00e4f5;
    --bf-accent-glow: rgba(0, 228, 245, 0.3);
    --bf-accent-secondary: #c8945a;
    --bf-accent-gradient: linear-gradient(135deg, #00e4f5, #c8945a);
    --bf-warm: #c8945a;
    --bf-warm-glow: rgba(200, 148, 90, 0.25);
    --bf-warm-soft: rgba(200, 148, 90, 0.08);
    --bf-horizon: linear-gradient(180deg, #0c0b10 0%, #151220 35%, #1a1525 50%, #1f1820 65%, #2a1c18 85%, #3d2a1a 100%);
    --bf-text-primary: #ede8e0;
    --bf-text-secondary: #9a9090;
    --bf-text-muted: #635a5a;
    --bf-border: rgba(255, 255, 255, 0.06);
    --bf-border-glow: rgba(0, 228, 245, 0.15);
    --bf-success: #00ff88;
    --bf-warning: #ffaa00;
    --bf-danger: #ff3366;
    --bf-font-primary: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    --bf-font-heading: 'Orbitron', 'Inter', sans-serif;
    --bf-font-mono: 'JetBrains Mono', 'Fira Code', monospace;
    --bf-radius: 8px;
    --bf-radius-lg: 16px;
    --bf-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
    --bf-shadow-glow: 0 0 20px rgba(0, 228, 245, 0.12), 0 0 40px rgba(200, 148, 90, 0.06);
    --bf-transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --bf-container: 1280px;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--bf-font-primary);
    background-color: var(--bf-bg-primary);
    background-image: var(--bf-horizon);
    background-attachment: fixed;
    background-size: 100% 100%;
    color: var(--bf-text-primary);
    line-height: 1.7;
    font-size: 16px;
    overflow-x: hidden;
}

a {
    color: var(--bf-accent);
    text-decoration: none;
    transition: var(--bf-transition);
}

a:hover {
    color: #fff;
    text-shadow: 0 0 8px var(--bf-accent-glow);
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--bf-font-heading);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.02em;
    color: #fff;
}

.bf-container {
    max-width: var(--bf-container);
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.bf-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(12, 11, 16, 0.8);
    backdrop-filter: blur(20px) saturate(1.2);
    -webkit-backdrop-filter: blur(20px) saturate(1.2);
    border-bottom: 1px solid rgba(200, 148, 90, 0.06);
    transition: var(--bf-transition);
}

.bf-header.scrolled {
    background: rgba(12, 11, 16, 0.95);
    box-shadow: 0 2px 40px rgba(0, 0, 0, 0.5), 0 1px 0 rgba(200, 148, 90, 0.08);
    border-bottom-color: rgba(200, 148, 90, 0.1);
}

.bf-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    max-width: var(--bf-container);
    margin: 0 auto;
    padding: 0 24px;
}

.bf-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    max-height: 72px;
    overflow: hidden;
}

.bf-logo img,
.bf-logo .custom-logo-link img,
.bf-header .custom-logo-link img,
.bf-header .custom-logo {
    height: 40px !important;
    width: auto !important;
    max-height: 40px !important;
    max-width: 200px !important;
    object-fit: contain;
}

.bf-logo .custom-logo-link,
.bf-header .custom-logo-link {
    display: flex;
    align-items: center;
    height: 40px;
    line-height: 0;
}

/* Footer logo - slightly smaller */
.bf-footer .bf-logo img,
.bf-footer .custom-logo-link img,
.bf-footer .custom-logo {
    height: 32px !important;
    max-height: 32px !important;
    max-width: 160px !important;
}

.bf-footer .bf-logo,
.bf-footer-brand .bf-logo {
    max-height: 48px;
}

.bf-footer .custom-logo-link,
.bf-footer-brand .custom-logo-link {
    display: flex;
    align-items: center;
    height: 32px;
    line-height: 0;
}

.bf-logo-text {
    font-family: var(--bf-font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    background: var(--bf-accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.bf-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.bf-nav a,
.bf-nav .menu-item a {
    display: inline-flex;
    align-items: center;
    padding: 8px 18px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--bf-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-radius: var(--bf-radius);
    transition: var(--bf-transition);
}

.bf-nav a:hover,
.bf-nav .menu-item a:hover,
.bf-nav .current-menu-item a {
    color: var(--bf-accent);
    background: rgba(0, 240, 255, 0.06);
}

.bf-nav-cta {
    margin-left: 12px;
    padding: 10px 24px !important;
    background: linear-gradient(135deg, var(--bf-warm), #e0a860) !important;
    color: #0c0b10 !important;
    font-weight: 700 !important;
    border-radius: 50px !important;
    letter-spacing: 0.04em !important;
    position: relative;
    overflow: hidden;
}

/* ── Nav CTA periodic shine ── */
.bf-nav-cta::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.35),
        transparent
    );
    transform: skewX(-15deg);
    animation: bf-cta-shine 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes bf-cta-shine {
    0%, 80%, 100% { left: -100%; opacity: 0; }
    85%, 95% { opacity: 1; }
    90% { left: 150%; }
}

.bf-nav-cta:hover {
    box-shadow: var(--bf-shadow-glow) !important;
    transform: translateY(-1px);
}

/* Mobile menu toggle */
.bf-menu-toggle {
    display: none;
    background: none;
    border: 1px solid var(--bf-border);
    border-radius: var(--bf-radius);
    padding: 8px 12px;
    color: var(--bf-text-primary);
    cursor: pointer;
    font-size: 1.2rem;
}

/* ============================================
   HERO CAROUSEL (DJI-style)
   ============================================ */
.bf-hero-carousel {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    background: var(--bf-bg-primary);
}

/* ── Slides ── */
.bf-hero-slides {
    position: absolute;
    inset: 0;
}

.bf-hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
}

.bf-hero-slide.active {
    opacity: 1;
    z-index: 1;
}

/* Zoom-in on active slide background */
.bf-hero-slide.active {
    animation: bf-slide-zoom 8s ease-out forwards;
}

@keyframes bf-slide-zoom {
    0% { background-size: 105%; }
    100% { background-size: 115%; }
}

/* No background image fallback — horizon gradient */
.bf-hero-slide:not([style*="background-image"]) {
    background: linear-gradient(180deg, #0c0b10 0%, #151220 30%, #1a1520 50%, #2a1c18 80%, #3d2a1a 100%);
}

/* Overlay gradient — cinematic horizon glow */
.bf-hero-slide-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg,
            rgba(12, 11, 16, 0.5) 0%,
            rgba(12, 11, 16, 0.1) 30%,
            rgba(20, 15, 12, 0.15) 60%,
            rgba(60, 40, 20, 0.3) 85%,
            rgba(80, 50, 25, 0.4) 100%
        ),
        radial-gradient(ellipse 120% 40% at 50% 100%, rgba(200, 148, 90, 0.12) 0%, transparent 70%),
        radial-gradient(ellipse 80% 30% at 50% 0%, rgba(0, 228, 245, 0.04) 0%, transparent 60%);
    z-index: 1;
    pointer-events: none;
}

/* Grid overlay */
.bf-hero-carousel .bf-hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(200, 148, 90, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(200, 148, 90, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 2;
    pointer-events: none;
}

/* ── Slide content (center) ── */
.bf-hero-slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    text-align: center;
    width: 100%;
    max-width: 900px;
    padding: 0 40px;
}

.bf-hero-slide-label {
    display: inline-block;
    font-family: var(--bf-font-mono);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--bf-warm);
    margin-bottom: 16px;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.6s ease 0.3s, transform 0.6s ease 0.3s;
}

.bf-hero-slide.active .bf-hero-slide-label {
    opacity: 1;
    transform: translateY(0);
}

.bf-hero-slide-title {
    font-family: var(--bf-font-heading);
    font-size: clamp(2.8rem, 7vw, 5.5rem);
    font-weight: 900;
    line-height: 1.0;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    background: linear-gradient(180deg, #ffffff 0%, rgba(255,255,255,0.75) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease 0.15s, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.15s;
}

.bf-hero-slide.active .bf-hero-slide-title {
    opacity: 1;
    transform: translateY(0);
}

.bf-hero-slide-tagline {
    font-size: 1.15rem;
    color: var(--bf-text-secondary);
    margin-bottom: 36px;
    letter-spacing: 0.02em;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease 0.45s, transform 0.6s ease 0.45s;
}

.bf-hero-slide.active .bf-hero-slide-tagline {
    opacity: 1;
    transform: translateY(0);
}

.bf-hero-slide-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease 0.6s, transform 0.6s ease 0.6s;
}

.bf-hero-slide.active .bf-hero-slide-actions {
    opacity: 1;
    transform: translateY(0);
}

/* ── Bottom-left product navigation ── */
.bf-hero-nav {
    position: absolute;
    bottom: 48px;
    left: 40px;
    z-index: 20;
    display: flex;
    gap: 0;
}

.bf-hero-nav-item {
    display: flex;
    align-items: center;
    gap: 0;
    padding: 12px 0;
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
    transition: all 0.4s ease;
}

.bf-hero-nav-line {
    display: block;
    width: 32px;
    height: 2px;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

.bf-hero-nav-item.active .bf-hero-nav-line {
    width: 56px;
    background: var(--bf-warm);
    box-shadow: 0 0 12px var(--bf-warm-glow);
}

.bf-hero-nav-item:hover .bf-hero-nav-line {
    width: 44px;
    background: rgba(255, 255, 255, 0.5);
}

.bf-hero-nav-item.active:hover .bf-hero-nav-line {
    background: var(--bf-accent);
}

.bf-hero-nav-name {
    font-family: var(--bf-font-primary);
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.35);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    white-space: nowrap;
    margin-left: 14px;
    transition: all 0.4s ease;
    overflow: hidden;
    max-width: 0;
    opacity: 0;
}

.bf-hero-nav-item.active .bf-hero-nav-name {
    color: #fff;
    max-width: 220px;
    opacity: 1;
}

.bf-hero-nav-item:hover .bf-hero-nav-name {
    color: rgba(255, 255, 255, 0.7);
    max-width: 220px;
    opacity: 1;
}

/* ── Bottom-right counter ── */
.bf-hero-counter {
    position: absolute;
    bottom: 52px;
    right: 40px;
    z-index: 20;
    font-family: var(--bf-font-mono);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.1em;
}

.bf-hero-current {
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
}

.bf-hero-sep {
    margin: 0 6px;
    opacity: 0.3;
}

/* ── Scroll hint ── */
.bf-hero-scroll-hint {
    position: absolute;
    bottom: 48px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.bf-hero-scroll-hint span {
    font-family: var(--bf-font-mono);
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.3);
}

.bf-hero-scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(180deg, rgba(200, 148, 90, 0.5), transparent);
    animation: bf-scroll-line 2s ease-in-out infinite;
}

@keyframes bf-scroll-line {
    0%, 100% { opacity: 0.3; transform: scaleY(0.5); transform-origin: top; }
    50% { opacity: 1; transform: scaleY(1); }
}

/* ── Video modal ── */
.bf-video-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.bf-video-modal.active {
    opacity: 1;
    visibility: visible;
}

.bf-video-modal-close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--bf-transition);
    z-index: 2;
}

.bf-video-modal-close:hover {
    background: var(--bf-accent);
    color: #0a0a0f;
    border-color: var(--bf-accent);
}

.bf-video-modal-inner {
    width: 90%;
    max-width: 1100px;
    aspect-ratio: 16/9;
    position: relative;
}

.bf-video-modal-inner video,
.bf-video-modal-inner iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: var(--bf-radius-lg);
}

/* ── Hero responsive ── */
@media (max-width: 768px) {
    .bf-hero-carousel {
        min-height: 100vh;
        min-height: 100svh;
    }

    .bf-hero-slide-title {
        font-size: clamp(2rem, 10vw, 3.5rem);
    }

    .bf-hero-slide-content {
        padding: 0 24px;
        top: 42%;
    }

    .bf-hero-nav {
        bottom: 100px;
        left: 24px;
        right: 24px;
        flex-wrap: wrap;
        gap: 4px;
    }

    .bf-hero-nav-name {
        font-size: 0.7rem;
    }

    .bf-hero-counter {
        bottom: 60px;
        right: 24px;
    }

    .bf-hero-scroll-hint {
        display: none;
    }

    .bf-video-modal-inner {
        width: 95%;
    }
}

@keyframes bf-pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 var(--bf-accent-glow); }
    50% { opacity: 0.6; box-shadow: 0 0 0 8px transparent; }
}

/* ============================================
   BUTTONS
   ============================================ */
.bf-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border-radius: 50px;
    cursor: pointer;
    border: none;
    transition: var(--bf-transition);
    text-decoration: none;
}

.bf-btn-primary {
    background: var(--bf-accent-gradient);
    color: #0a0a0f;
    box-shadow: 0 4px 20px rgba(0, 240, 255, 0.25);
    position: relative;
    overflow: hidden;
}

/* ── Button shine sweep ── */
.bf-btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.35),
        transparent
    );
    transform: skewX(-15deg);
}

.bf-btn-primary:hover::after {
    animation: bf-btn-shine 0.6s ease forwards;
}

@keyframes bf-btn-shine {
    0% { left: -100%; }
    100% { left: 150%; }
}

.bf-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 240, 255, 0.35);
    color: #0a0a0f;
}

.bf-btn-outline {
    background: transparent;
    color: var(--bf-text-primary);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.bf-btn-outline:hover {
    border-color: var(--bf-accent);
    color: var(--bf-accent);
    background: rgba(0, 240, 255, 0.05);
}

/* ============================================
   SECTION STYLING
   ============================================ */
.bf-section {
    padding: 100px 0;
    position: relative;
}

/* Atmospheric horizon glow on each section */
.bf-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: radial-gradient(ellipse 100% 100% at 50% 100%, rgba(200, 148, 90, 0.04) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.bf-section-dark {
    background: linear-gradient(180deg,
        var(--bf-bg-secondary) 0%,
        rgba(25, 20, 18, 0.95) 60%,
        rgba(30, 22, 16, 0.9) 100%
    );
}

.bf-section-header {
    text-align: center;
    margin-bottom: 60px;
}

.bf-section-label {
    display: inline-block;
    font-family: var(--bf-font-mono);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--bf-warm);
    margin-bottom: 12px;
}

.bf-section-header h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    margin-bottom: 16px;
}

.bf-section-header p {
    color: var(--bf-text-secondary);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   PRODUCT SHOWCASE WALL
   ============================================ */
.bf-products-wall {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.bf-product-card {
    position: relative;
    background: linear-gradient(170deg, var(--bf-bg-card) 0%, rgba(28, 22, 18, 0.9) 100%);
    border: 1px solid rgba(200, 148, 90, 0.05);
    border-radius: var(--bf-radius-lg);
    overflow: hidden;
    transition: var(--bf-transition);
    group: product;
}

/* ── Corner accent lines ── */
.bf-product-card::before,
.bf-product-card::after {
    content: '';
    position: absolute;
    z-index: 4;
    opacity: 0;
    transition: opacity 0.4s ease, transform 0.4s ease;
    pointer-events: none;
}

.bf-product-card::before {
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    border-top: 2px solid var(--bf-accent);
    border-left: 2px solid var(--bf-accent);
    border-radius: var(--bf-radius-lg) 0 0 0;
    transform: translate(-4px, -4px);
}

.bf-product-card::after {
    bottom: 0;
    right: 0;
    width: 40px;
    height: 40px;
    border-bottom: 2px solid var(--bf-warm);
    border-right: 2px solid var(--bf-warm);
    border-radius: 0 0 var(--bf-radius-lg) 0;
    transform: translate(4px, 4px);
}

.bf-product-card:hover::before,
.bf-product-card:hover::after {
    opacity: 1;
    transform: translate(0, 0);
}

.bf-product-card:hover {
    border-color: rgba(200, 148, 90, 0.15);
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3), 0 0 20px rgba(200, 148, 90, 0.06);
}

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

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

/* ── Shine sweep overlay on product image hover ── */
.bf-product-img::before {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(0, 240, 255, 0.12),
        rgba(255, 255, 255, 0.18),
        transparent
    );
    transform: skewX(-15deg);
    z-index: 3;
    transition: none;
    pointer-events: none;
}

.bf-product-card:hover .bf-product-img::before {
    animation: bf-img-shine 0.8s ease forwards;
}

@keyframes bf-img-shine {
    0% { left: -75%; }
    100% { left: 125%; }
}

/* ── Gradient overlay on hover ── */
.bf-product-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        transparent 40%,
        rgba(0, 240, 255, 0.08) 100%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 2;
    pointer-events: none;
}

.bf-product-card:hover .bf-product-img::after {
    opacity: 1;
}

.bf-product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.bf-product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 12px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: 50px;
    z-index: 2;
}

.bf-product-badge-sale {
    background: var(--bf-danger);
    color: #fff;
}

.bf-product-badge-new {
    background: var(--bf-accent);
    color: #0a0a0f;
}

.bf-product-actions {
    position: absolute;
    bottom: 12px;
    right: 12px;
    display: flex;
    gap: 8px;
    opacity: 0;
    transform: translateY(10px);
    transition: var(--bf-transition);
    z-index: 2;
}

.bf-product-card:hover .bf-product-actions {
    opacity: 1;
    transform: translateY(0);
}

.bf-product-action-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--bf-transition);
}

.bf-product-action-btn:hover {
    background: var(--bf-accent);
    color: #0a0a0f;
    border-color: var(--bf-accent);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.4);
    transform: scale(1.15);
}

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

.bf-product-category {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--bf-accent);
    margin-bottom: 6px;
}

.bf-product-title {
    font-family: var(--bf-font-primary);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--bf-text-primary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.bf-product-title a {
    color: inherit;
}

.bf-product-title a:hover {
    color: var(--bf-accent);
}

.bf-product-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.bf-product-price .amount {
    font-family: var(--bf-font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--bf-accent);
}

.bf-product-price del .amount {
    font-size: 0.85rem;
    color: var(--bf-text-muted);
    font-weight: 400;
    text-decoration: line-through;
}

.bf-product-price ins {
    text-decoration: none;
}

.bf-add-to-cart {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 14px;
    padding: 10px;
    background: rgba(0, 240, 255, 0.08);
    border: 1px solid rgba(0, 240, 255, 0.15);
    border-radius: var(--bf-radius);
    color: var(--bf-accent);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: var(--bf-transition);
}

.bf-add-to-cart:hover {
    background: var(--bf-accent);
    color: #0a0a0f;
    border-color: var(--bf-accent);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.3);
}

/* ── Add-to-cart shine sweep ── */
.bf-add-to-cart {
    position: relative;
    overflow: hidden;
}

.bf-add-to-cart::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transform: skewX(-15deg);
    pointer-events: none;
}

.bf-add-to-cart:hover::after {
    animation: bf-btn-shine 0.5s ease forwards;
}

/* ============================================
   FEATURES / ABOUT SECTION
   ============================================ */
.bf-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.bf-feature-card {
    padding: 36px;
    background: linear-gradient(160deg, var(--bf-bg-card) 0%, rgba(30, 22, 18, 0.8) 100%);
    border: 1px solid rgba(200, 148, 90, 0.06);
    border-radius: var(--bf-radius-lg);
    transition: var(--bf-transition);
    position: relative;
    overflow: hidden;
}

/* ── Feature card shine on hover ── */
.bf-feature-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(0, 240, 255, 0.06),
        rgba(255, 255, 255, 0.08),
        transparent
    );
    transform: skewX(-15deg);
    pointer-events: none;
}

.bf-feature-card:hover::after {
    animation: bf-card-shine 0.7s ease forwards;
}

@keyframes bf-card-shine {
    0% { left: -75%; }
    100% { left: 125%; }
}

.bf-feature-card:hover {
    border-color: rgba(200, 148, 90, 0.2);
    box-shadow: 0 0 25px rgba(200, 148, 90, 0.08), 0 0 10px rgba(0, 228, 245, 0.05);
}

.bf-feature-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bf-warm-soft);
    border: 1px solid rgba(200, 148, 90, 0.15);
    border-radius: 12px;
    font-size: 1.4rem;
    margin-bottom: 20px;
    transition: var(--bf-transition);
    position: relative;
}

/* ── Feature icon hover glow ── */
.bf-feature-card:hover .bf-feature-icon {
    background: rgba(200, 148, 90, 0.15);
    box-shadow: 0 0 20px rgba(200, 148, 90, 0.2);
    transform: translateY(-3px);
    border-color: rgba(200, 148, 90, 0.4);
}

.bf-feature-card h3 {
    font-family: var(--bf-font-primary);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.bf-feature-card p {
    color: var(--bf-text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.bf-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.bf-contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.bf-contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--bf-bg-card);
    border: 1px solid var(--bf-border);
    border-radius: var(--bf-radius);
    transition: var(--bf-transition);
}

.bf-contact-item:hover {
    border-color: var(--bf-border-glow);
}

.bf-contact-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bf-warm-soft);
    border-radius: 10px;
    font-size: 1.1rem;
    flex-shrink: 0;
    transition: var(--bf-transition);
}

/* ── Contact icon hover float ── */
.bf-contact-item:hover .bf-contact-icon {
    background: rgba(200, 148, 90, 0.15);
    box-shadow: 0 0 15px rgba(200, 148, 90, 0.2);
    transform: translateY(-2px) scale(1.05);
}

/* ── Contact item shine sweep ── */
.bf-contact-item {
    position: relative;
    overflow: hidden;
}

.bf-contact-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(0, 240, 255, 0.06),
        transparent
    );
    transform: skewX(-15deg);
    pointer-events: none;
}

.bf-contact-item:hover::after {
    animation: bf-link-shine 0.6s ease forwards;
}

.bf-contact-item h4 {
    font-family: var(--bf-font-primary);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--bf-text-muted);
    margin-bottom: 2px;
}

.bf-contact-item span {
    font-size: 0.95rem;
    color: var(--bf-text-primary);
}

.bf-contact-form {
    padding: 36px;
    background: linear-gradient(160deg, var(--bf-bg-card) 0%, rgba(28, 22, 18, 0.85) 100%);
    border: 1px solid rgba(200, 148, 90, 0.06);
    border-radius: var(--bf-radius-lg);
}

.bf-contact-form h3 {
    font-family: var(--bf-font-primary);
    font-size: 1.2rem;
    margin-bottom: 24px;
}

.bf-form-group {
    margin-bottom: 18px;
}

.bf-form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--bf-text-secondary);
    margin-bottom: 6px;
}

.bf-form-group input,
.bf-form-group textarea,
.bf-form-group select {
    width: 100%;
    padding: 12px 16px;
    background: var(--bf-bg-secondary);
    border: 1px solid var(--bf-border);
    border-radius: var(--bf-radius);
    color: var(--bf-text-primary);
    font-family: var(--bf-font-primary);
    font-size: 0.9rem;
    transition: var(--bf-transition);
}

.bf-form-group input:focus,
.bf-form-group textarea:focus,
.bf-form-group select:focus {
    outline: none;
    border-color: var(--bf-accent);
    box-shadow: 0 0 0 3px rgba(0, 240, 255, 0.1);
}

.bf-form-group textarea {
    min-height: 120px;
    resize: vertical;
}

/* ============================================
   FLOATING INQUIRY WIDGET
   ============================================ */
.bf-inquiry-widget {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
}

.bf-inquiry-toggle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--bf-warm) 0%, #e0a860 100%);
    border: none;
    color: #0c0b10;
    font-size: 1.4rem;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(200, 148, 90, 0.35);
    transition: var(--bf-transition);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.bf-inquiry-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(200, 148, 90, 0.5);
}

/* ── Flash/shine sweep on inquiry toggle ── */
.bf-inquiry-toggle::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 50%;
    background: conic-gradient(
        from 0deg,
        transparent 0%,
        rgba(200, 148, 90, 0.6) 10%,
        transparent 20%
    );
    animation: bf-icon-rotate 3s linear infinite;
    z-index: -1;
    opacity: 0.7;
}

.bf-inquiry-toggle::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    border-radius: 50%;
    animation: bf-flash-sweep 2.5s ease-in-out infinite;
}

@keyframes bf-icon-rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes bf-flash-sweep {
    0%, 100% { left: -100%; opacity: 0; }
    50% { left: 100%; opacity: 1; }
}

/* ── Pulsing ring around inquiry button ── */
.bf-inquiry-widget::before,
.bf-inquiry-widget::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 2px solid var(--bf-warm);
    animation: bf-ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
    pointer-events: none;
}

.bf-inquiry-widget::after {
    animation-delay: 1s;
}

@keyframes bf-ping {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(2.2); opacity: 0; }
}

.bf-inquiry-panel {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 280px;
    background: linear-gradient(160deg, var(--bf-bg-card) 0%, rgba(28, 22, 18, 0.95) 100%);
    border: 1px solid rgba(200, 148, 90, 0.1);
    border-radius: var(--bf-radius-lg);
    padding: 20px;
    box-shadow: var(--bf-shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px) scale(0.95);
    transition: var(--bf-transition);
}

.bf-inquiry-panel.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.bf-inquiry-panel h4 {
    font-family: var(--bf-font-primary);
    font-size: 0.9rem;
    margin-bottom: 16px;
    color: var(--bf-text-primary);
}

.bf-inquiry-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bf-inquiry-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--bf-bg-secondary);
    border: 1px solid var(--bf-border);
    border-radius: var(--bf-radius);
    color: var(--bf-text-primary);
    font-size: 0.85rem;
    font-weight: 500;
    transition: var(--bf-transition);
}

.bf-inquiry-link:hover {
    border-color: var(--bf-accent);
    background: rgba(0, 240, 255, 0.05);
    color: var(--bf-accent);
}

.bf-inquiry-link .icon {
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
}

.bf-inquiry-link.whatsapp:hover { border-color: #25D366; color: #25D366; }
.bf-inquiry-link.wechat:hover { border-color: #07C160; color: #07C160; }
.bf-inquiry-link.facebook:hover { border-color: #1877F2; color: #1877F2; }
.bf-inquiry-link.email:hover { border-color: var(--bf-accent); color: var(--bf-accent); }

/* ── Flash shine on inquiry links ── */
.bf-inquiry-link {
    position: relative;
    overflow: hidden;
}

.bf-inquiry-link::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.15),
        transparent
    );
    transition: none;
}

.bf-inquiry-link:hover::after {
    animation: bf-link-shine 0.6s ease forwards;
}

@keyframes bf-link-shine {
    0% { left: -100%; }
    100% { left: 200%; }
}

/* ============================================
   FOOTER
   ============================================ */
.bf-footer {
    background: linear-gradient(180deg,
        var(--bf-bg-secondary) 0%,
        rgba(25, 18, 14, 0.98) 50%,
        rgba(30, 20, 12, 0.95) 100%
    );
    border-top: 1px solid rgba(200, 148, 90, 0.08);
    padding: 60px 0 0;
    position: relative;
}

/* Subtle horizon glow at footer top */
.bf-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(200, 148, 90, 0.3), rgba(0, 228, 245, 0.15), transparent);
    pointer-events: none;
}

.bf-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.bf-footer-brand p {
    color: var(--bf-text-secondary);
    font-size: 0.9rem;
    margin-top: 12px;
    line-height: 1.7;
}

.bf-footer-social {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

.bf-footer-social a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--bf-border);
    border-radius: 50%;
    color: var(--bf-text-secondary);
    font-size: 0.9rem;
    transition: var(--bf-transition);
    position: relative;
    overflow: hidden;
}

/* ── Social icon flash on hover ── */
.bf-footer-social a::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.3) 0%, transparent 70%);
    opacity: 0;
    transform: scale(0);
    transition: all 0.4s ease;
    pointer-events: none;
}

.bf-footer-social a:hover::after {
    opacity: 1;
    transform: scale(1);
}

.bf-footer-social a:hover {
    background: var(--bf-accent);
    color: #0a0a0f;
    border-color: var(--bf-accent);
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 240, 255, 0.3);
}

.bf-footer-col h4 {
    font-family: var(--bf-font-primary);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--bf-text-primary);
    margin-bottom: 16px;
}

.bf-footer-col ul {
    list-style: none;
}

.bf-footer-col ul li {
    margin-bottom: 8px;
}

.bf-footer-col ul li a {
    font-size: 0.85rem;
    color: var(--bf-text-secondary);
}

.bf-footer-col ul li a:hover {
    color: var(--bf-accent);
}

.bf-footer-bottom {
    padding: 24px 0;
    border-top: 1px solid var(--bf-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--bf-text-muted);
}

/* ============================================
   WOOCOMMERCE OVERRIDES
   ============================================ */
.woocommerce ul.products li.product {
    background: linear-gradient(170deg, var(--bf-bg-card) 0%, rgba(28, 22, 18, 0.9) 100%);
    border: 1px solid rgba(200, 148, 90, 0.05);
    border-radius: var(--bf-radius-lg);
    overflow: hidden;
    transition: var(--bf-transition);
    padding: 0;
    margin: 0;
}

.woocommerce ul.products li.product:hover {
    border-color: rgba(200, 148, 90, 0.15);
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3), 0 0 15px rgba(200, 148, 90, 0.06);
}

.woocommerce ul.products li.product a img {
    margin: 0;
    border-radius: 0;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-family: var(--bf-font-primary);
    font-size: 1rem;
    font-weight: 600;
    color: var(--bf-text-primary);
    padding: 12px 20px 4px;
}

.woocommerce ul.products li.product .price {
    font-family: var(--bf-font-heading);
    color: var(--bf-accent);
    padding: 0 20px 12px;
}

.woocommerce ul.products li.product .price del {
    color: var(--bf-text-muted);
}

.woocommerce ul.products li.product .button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
    background: var(--bf-accent-gradient) !important;
    color: #0a0a0f !important;
    border: none !important;
    border-radius: 50px !important;
    font-weight: 600 !important;
    letter-spacing: 0.04em !important;
    text-transform: uppercase !important;
    font-size: 0.8rem !important;
    padding: 10px 24px !important;
    transition: var(--bf-transition) !important;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover {
    box-shadow: var(--bf-shadow-glow) !important;
    transform: translateY(-1px) !important;
}

.woocommerce .woocommerce-message,
.woocommerce .woocommerce-info {
    background: var(--bf-bg-card);
    border-top-color: var(--bf-accent);
    color: var(--bf-text-primary);
}

.woocommerce .woocommerce-error {
    background: var(--bf-bg-card);
    border-top-color: var(--bf-danger);
    color: var(--bf-text-primary);
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
    background: var(--bf-bg-card);
    color: var(--bf-text-secondary);
    border-color: var(--bf-border);
}

.woocommerce nav.woocommerce-pagination ul li a:hover,
.woocommerce nav.woocommerce-pagination ul li span.current {
    background: var(--bf-accent);
    color: #0a0a0f;
    border-color: var(--bf-accent);
}

/* Single product */
.woocommerce div.product div.images {
    background: var(--bf-bg-card);
    border-radius: var(--bf-radius-lg);
    overflow: hidden;
    border: 1px solid var(--bf-border);
}

.woocommerce div.product .product_title {
    font-family: var(--bf-font-heading);
    color: #fff;
}

.woocommerce div.product p.price {
    color: var(--bf-accent);
    font-family: var(--bf-font-heading);
    font-size: 1.8rem;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
    background: var(--bf-bg-card);
    border-color: var(--bf-border);
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
    background: var(--bf-bg-secondary);
    border-bottom-color: var(--bf-bg-secondary);
}

.woocommerce div.product .woocommerce-tabs .panel {
    background: var(--bf-bg-secondary);
    color: var(--bf-text-secondary);
}

/* Cart & Checkout */
.woocommerce table.shop_table {
    background: var(--bf-bg-card);
    border-color: var(--bf-border);
    border-radius: var(--bf-radius);
}

.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
    border-color: var(--bf-border);
    color: var(--bf-text-primary);
}

.woocommerce .cart-collaterals .cart_totals {
    background: var(--bf-bg-card);
    padding: 24px;
    border-radius: var(--bf-radius-lg);
    border: 1px solid var(--bf-border);
}

/* ============================================
   BLOG / ARCHIVE
   ============================================ */
.bf-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
}

.bf-post-card {
    background: linear-gradient(170deg, var(--bf-bg-card) 0%, rgba(28, 22, 18, 0.9) 100%);
    border: 1px solid rgba(200, 148, 90, 0.05);
    border-radius: var(--bf-radius-lg);
    overflow: hidden;
    transition: var(--bf-transition);
}

.bf-post-card:hover {
    border-color: rgba(200, 148, 90, 0.15);
    transform: translateY(-2px);
}

.bf-post-card-img {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--bf-bg-secondary);
}

.bf-post-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.bf-post-card:hover .bf-post-card-img img {
    transform: scale(1.05);
}

.bf-post-card-body {
    padding: 24px;
}

.bf-post-card-meta {
    font-size: 0.75rem;
    color: var(--bf-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 10px;
}

.bf-post-card-body h3 {
    font-family: var(--bf-font-primary);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.bf-post-card-body h3 a {
    color: var(--bf-text-primary);
}

.bf-post-card-body h3 a:hover {
    color: var(--bf-accent);
}

.bf-post-card-excerpt {
    font-size: 0.9rem;
    color: var(--bf-text-secondary);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ============================================
   PAGE CONTENT
   ============================================ */
.bf-page-content {
    padding-top: 100px;
    min-height: 60vh;
}

.bf-page-content .entry-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 24px;
}

.bf-page-content .entry-content h1,
.bf-page-content .entry-content h2,
.bf-page-content .entry-content h3 {
    margin-top: 2em;
    margin-bottom: 0.5em;
}

.bf-page-content .entry-content p {
    margin-bottom: 1.2em;
    color: var(--bf-text-secondary);
}

.bf-page-content .entry-content ul,
.bf-page-content .entry-content ol {
    margin: 1em 0;
    padding-left: 2em;
    color: var(--bf-text-secondary);
}

/* ============================================
   SIDEBAR & WIDGETS
   ============================================ */
.bf-sidebar .widget {
    padding: 24px;
    background: linear-gradient(160deg, var(--bf-bg-card) 0%, rgba(28, 22, 18, 0.85) 100%);
    border: 1px solid rgba(200, 148, 90, 0.05);
    border-radius: var(--bf-radius-lg);
    margin-bottom: 20px;
}

.bf-sidebar .widget-title {
    font-family: var(--bf-font-primary);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--bf-border);
}

/* ============================================
   SEARCH
   ============================================ */
.bf-search-form {
    display: flex;
    gap: 8px;
}

.bf-search-form input[type="search"] {
    flex: 1;
    padding: 10px 16px;
    background: var(--bf-bg-secondary);
    border: 1px solid var(--bf-border);
    border-radius: var(--bf-radius);
    color: var(--bf-text-primary);
    font-family: var(--bf-font-primary);
}

.bf-search-form button {
    padding: 10px 20px;
    background: var(--bf-accent);
    border: none;
    border-radius: var(--bf-radius);
    color: #0a0a0f;
    font-weight: 600;
    cursor: pointer;
    transition: var(--bf-transition);
}

/* ============================================
   SCROLLBAR
   ============================================ */

/* ── Staggered scroll reveal ── */
.bf-stagger-item {
    opacity: 0;
    transform: translateY(30px) scale(0.97);
    transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.bf-stagger-item.bf-revealed {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* ── Section divider glow ── */
.bf-section + .bf-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 5%;
    right: 5%;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(200, 148, 90, 0.2),
        rgba(0, 228, 245, 0.1),
        rgba(200, 148, 90, 0.15),
        transparent
    );
    pointer-events: none;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bf-bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--bf-bg-card);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--bf-text-muted);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .bf-footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .bf-contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .bf-nav {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(12, 11, 16, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 20px;
        border-bottom: 1px solid rgba(200, 148, 90, 0.08);
    }

    .bf-nav.active {
        display: flex;
    }

    .bf-nav a,
    .bf-nav .menu-item a {
        width: 100%;
        padding: 12px 16px;
    }

    .bf-menu-toggle {
        display: flex;
    }

    .bf-hero h1 {
        font-size: 2rem;
    }

    .bf-section {
        padding: 60px 0;
    }

    .bf-footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .bf-footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .bf-products-wall {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .bf-products-wall {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .bf-product-info {
        padding: 14px;
    }

    .bf-product-title {
        font-size: 0.85rem;
    }

    .bf-product-price .amount {
        font-size: 1rem;
    }
}
