/* =============================================
   GOOGLE FONTS
   ============================================= */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Barlow:wght@300;400;500;600&family=Barlow+Condensed:wght@400;600;700&display=swap');

/* =============================================
   RESET & GLOBAL
   ============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

:root {
    --bk: #000000; --g1: #0d0d0d; --g2: #161616; --g3: #222222;
    --g4: #333333; --g5: #555555; --wh: #f0f0f0; --tx: #c0c0b8;
    --fd: 'Bebas Neue', sans-serif; --fc: 'Barlow Condensed', sans-serif;
    --fb: 'Barlow', sans-serif; --nh: 70px; --r: 4px; --t: 0.3s ease; --max: 1300px;
    --p1: #ffffff;
}

body { background: var(--bk); color: var(--tx); font-family: var(--fb); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; transition: color var(--t); }
img { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font-family: inherit; }
ul { list-style: none; }

/* ── LAYOUT ─────────────────────────────────── */
.volts-wrap { max-width: var(--max); margin: 0 auto; padding: 0 36px; }
.site-main { padding-top: var(--nh); min-height: 60vh; }

/* ── TYPOGRAPHY ─────────────────────────────── */
h1,h2,h3,h4,h5,h6 { font-family: var(--fd); color: var(--wh); text-transform: uppercase; letter-spacing: 1px; line-height: 1; }
p { color: var(--tx); }

/* ── BUTTONS ────────────────────────────────── */
.btn { display: inline-flex; align-items: center; gap: 10px; font-family: var(--fc); font-size: 13px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; padding: 14px 30px; border-radius: var(--r); border: none; cursor: pointer; transition: background var(--t), transform var(--t), box-shadow var(--t); text-decoration: none; }
.bwh { background: #fff; color: #000; }
.bwh:hover { background: #ddd; transform: translateY(-2px); box-shadow: 0 8px 28px rgba(255,255,255,.12); color: #000; }
.bwa { background: #25D366; color: #fff; }
.bwa:hover { background: #1da851; transform: translateY(-2px); color: #fff; }
.btn svg { transition: transform var(--t); }
.btn:hover svg { transform: translateX(4px); }

/* ── HEADER ─────────────────────────────────── */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; height: var(--nh); display: flex; align-items: center; padding: 0 40px; transition: background var(--t), backdrop-filter var(--t); }
.site-header.scrolled { background: rgba(0,0,0,.93); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-bottom: 1px solid rgba(255,255,255,.07); }
.header-inner { display: flex; align-items: center; width: 100%; max-width: var(--max); margin: 0 auto; }
.site-logo { display: flex; align-items: center; gap: 12px; margin-right: auto; text-decoration: none; }
.site-logo img { height: 36px; width: auto; max-height: 36px; max-width: 160px; object-fit: contain; flex-shrink: 0; }
.logo-img { height: 36px !important; width: auto !important; max-height: 36px !important; max-width: 160px !important; object-fit: contain !important; }
.site-logo .logo-text { font-family: var(--fd); font-size: 26px; color: var(--wh); letter-spacing: 3px; }
.site-nav { display: flex; align-items: center; gap: 36px; }
.header-actions { display: flex; align-items: center; gap: 20px; margin-left: 40px; }
.site-nav a { font-family: var(--fc); font-size: 13px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--wh); opacity: .6; transition: opacity var(--t); }
.site-nav a:hover, .site-nav a.current { opacity: 1; color: #fff; }
.nav-shop-btn { margin-left: 16px !important; background: #fff !important; color: #000 !important; opacity: 1 !important; padding: 9px 22px !important; border-radius: var(--r) !important; font-weight: 700 !important; }
.nav-shop-btn:hover { background: #e0e0e0 !important; transform: translateY(-1px) !important; }
.nav-cart-link { position: relative; opacity: .65 !important; padding: 4px !important; }
.nav-cart-link:hover { opacity: 1 !important; }
.cart-count { position: absolute; top: -4px; right: -4px; background: #fff; color: #000; font-size: 9px; font-weight: 700; width: 16px; height: 16px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.menu-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 6px; margin-left: 12px; background: none; border: none; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--wh); transition: all .3s; }

/* ── TESTIMONIALS V2 ───────────────────────── */
.testimonial-section-v2 { padding: 140px 0; background: #000; position: relative; }
.testimonial-grid-v2 { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 40px; 
    margin-top: 70px;
}
.testimonial-card-v2 { 
    background: #0a0a0a; 
    border: 1px solid #222; 
    padding: 60px 45px; 
    border-radius: 8px; 
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    position: relative;
    border-top: 5px solid #fff;
}
.testimonial-card-v2:hover { 
    transform: translateY(-15px); 
    background: #111;
    border-color: #444;
    box-shadow: 0 30px 60px rgba(0,0,0,0.8);
}
.testimonial-quote-icon { margin-bottom: 30px; color: #fff; opacity: 0.1; }
.testimonial-text-v2 { 
    font-size: 17px; 
    line-height: 1.9; 
    color: #999; 
    margin-bottom: 50px; 
    flex-grow: 1; 
    font-weight: 300;
    letter-spacing: 0.3px;
}
.testimonial-user-v2 { display: flex; align-items: center; gap: 18px; border-top: 1px solid #1a1a1a; padding-top: 30px; }
.testimonial-avatar-v2 { width: 56px; height: 56px; border-radius: 50%; overflow: hidden; background: #1a1a1a; flex-shrink: 0; border: 2px solid #222; }
.testimonial-avatar-v2 img { width: 100%; height: 100%; object-fit: cover; }
.testimonial-initial-v2 { 
    width: 100%; height: 100%; 
    display: flex; align-items: center; justify-content: center; 
    font-size: 20px; font-weight: 800; color: #000; 
    background: #fff;
    text-transform: uppercase;
}
.testimonial-meta-v2 { display: flex; flex-direction: column; gap: 3px; }
.testimonial-name-v2 { margin: 0; font-size: 19px; font-weight: 700; color: #fff; letter-spacing: 1.5px; font-family: var(--fd); text-transform: uppercase; line-height: 1.1; }
.testimonial-badge-v2 { 
    display: flex; align-items: center; gap: 6px; 
    font-size: 10px; font-weight: 800; text-transform: uppercase; 
    color: #fff; opacity: 0.4; letter-spacing: 1.5px; 
}

@media (max-width: 1200px) {
    .testimonial-grid-v2 { grid-template-columns: repeat(2, 1fr); gap: 30px; }
}
@media (max-width: 768px) {
    .testimonial-section-v2 { padding: 80px 0 100px; }
    .testimonial-grid-v2 { grid-template-columns: 1fr; gap: 25px; }
    .testimonial-card-v2 { padding: 45px 30px; }
}

/* ── WOOCOMMERCE ARCHIVE ───────────────────── */
.woo-archive-header { margin-bottom: 50px; display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.woo-archive-header .page-title { margin: 0; font-size: clamp(32px, 5vw, 56px); }
/* ── WOOCOMMERCE ARCHIVE V3 (SPLIT BUTTONS) ── */
.archive-filters-v3 { 
    display: flex; 
    flex-wrap: wrap; 
    gap: 15px; 
    margin-top: 30px;
    align-items: center;
}
.fbtn-main {
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    background: #0d0d0d;
    border: 1px solid #222;
    border-radius: 4px;
    color: #888;
    font-family: var(--fc);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}
.fbtn-main:hover, .fbtn-main.active {
    background: #fff;
    color: #000;
    border-color: #fff;
}

.split-group {
    display: flex;
    align-items: center;
    background: #0d0d0d;
    border: 1px solid #222;
    border-radius: 4px;
    position: relative;
}
.split-group .fbtn-main {
    border: none;
    border-right: 1px solid #222;
    border-radius: 4px 0 0 4px;
}
.fbtn-arrow {
    background: transparent;
    border: none;
    padding: 0 15px;
    height: 100%;
    color: #555;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.fbtn-arrow:hover {
    color: #fff;
    background: rgba(255,255,255,0.05);
}
.fhint {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #444;
    opacity: 0;
    transition: none;
    white-space: nowrap;
    pointer-events: none;
}
.fbtn-arrow:hover .fhint { opacity: 1; }

.fdrop-v3 { position: relative; height: 100%; }
.fdrop-con-v3 {
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 100;
    min-width: 200px;
    background: #0a0a0a;
    border: 1px solid #222;
    padding: 10px 0;
    margin-top: 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    border-radius: 4px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.8);
}
.fdrop-v3:hover .fdrop-con-v3 {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.fdrop-con-v3 a {
    display: block;
    padding: 12px 20px;
    color: #777;
    font-family: var(--fc);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.fdrop-con-v3 a:hover {
    background: #fff;
    color: #000;
}
@media (max-width: 768px) {
    .archive-filters-v3 { gap: 10px; }
    .fbtn-main { padding: 10px 18px; font-size: 11px; }
}

/* ── NAV DROPDOWN (BIKES) ───────────────────── */
.nav-dropdown-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

/* The trigger button looks like a nav link */
.nav-dropdown-trigger {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--fc);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--wh);
    opacity: .6;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: opacity var(--t);
    white-space: nowrap;
}
.nav-dropdown-trigger:hover,
.nav-dropdown-trigger.current {
    opacity: 1;
    color: #fff;
}
.nav-caret {
    transition: transform 0.25s ease;
    flex-shrink: 0;
}
.nav-dropdown-wrap.open .nav-caret,
.nav-dropdown-wrap:hover .nav-caret {
    transform: rotate(180deg);
}

/* Desktop: hover-triggered floating panel */
.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 20px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    min-width: 200px;
    background: #0a0a0a;
    border: 1px solid #222;
    border-top: 2px solid #fff;
    border-radius: 4px;
    padding: 8px 0;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
    box-shadow: 0 20px 50px rgba(0,0,0,0.85);
}
/* Small arrow pointer */
.nav-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -7px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid #fff;
}

/* Show on hover (desktop) */
@media (hover: hover) and (pointer: fine) {
    .nav-dropdown-wrap:hover .nav-dropdown-menu {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateX(-50%) translateY(0);
    }
}
/* Show when .open class present (JS-driven, for touch/mobile) */
.nav-dropdown-wrap.open .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu a.nav-dropdown-item {
    display: block;
    padding: 11px 20px;
    font-family: var(--fc);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #888;
    opacity: 1;
    transition: background 0.2s, color 0.2s;
    white-space: nowrap;
}
/* More specific than .site-nav a:hover so black text wins on white bg */
.nav-dropdown-menu a.nav-dropdown-item:hover,
.nav-dropdown-menu a.nav-dropdown-item.current {
    background: #fff;
    color: #000;
    opacity: 1;
}
.nav-dropdown-menu a.nav-dropdown-all {
    border-bottom: 1px solid #1e1e1e;
    color: #bbb;
    margin-bottom: 4px;
}
.nav-dropdown-menu a.nav-dropdown-all:hover {
    background: #fff;
    color: #000;
    opacity: 1;
}

/* ── MOBILE ─────────────────────────────────── */
@media (max-width: 900px) {
    .site-header {
        padding: 0 20px;
    }
    
    .logo-text {
        font-size: 18px !important;
        letter-spacing: 1.5px !important;
    }

    /* Actions on the right */
    .header-actions {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-left: 10px;
    }
    
    .menu-toggle {
        display: flex;
        margin-left: 5px;
    }

    .site-nav {
        position: absolute;
        top: var(--nh);
        left: 0;
        right: 0;
        background: rgba(0,0,0,.97);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-bottom: 1px solid #1a1a1a;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        z-index: 1001;
    }
    .site-nav.open {
        max-height: 80vh;
        overflow-y: auto;
    }

    /* Every direct link and dropdown wrap in mobile nav */
    .site-nav > a,
    .nav-dropdown-wrap {
        width: 100%;
        display: block;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }
    
    .site-nav > a {
        padding: 18px 28px;
        font-size: 13px;
        letter-spacing: 2px;
        opacity: 1;
        display: block;
    }

    /* Dropdown trigger row in mobile */
    .nav-dropdown-trigger {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 18px 28px;
        font-size: 13px;
        letter-spacing: 2px;
        opacity: 1;
        background: transparent;
        border: none;
    }

    /* Mobile: accordion instead of floating */
    .nav-dropdown-menu {
        position: static;
        transform: none !important;
        width: 100%;
        border: none;
        border-radius: 0;
        box-shadow: none;
        background: rgba(255,255,255,0.02);
        padding: 0;
        opacity: 1;
        visibility: visible;
        pointer-events: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s ease;
    }
    .nav-dropdown-menu::before { display: none; }

    .nav-dropdown-wrap.open .nav-dropdown-menu {
        max-height: 500px;
        pointer-events: auto;
        visibility: visible;
        border-top: 1px solid rgba(255,255,255,0.05);
    }

    /* Mobile items clearly indented for hierarchy */
    .nav-dropdown-menu a.nav-dropdown-item {
        padding: 16px 52px;
        font-size: 11px;
        color: #888;
        border-bottom: 1px solid rgba(255,255,255,0.03);
    }
    .nav-dropdown-menu a.nav-dropdown-item:hover,
    .nav-dropdown-menu a.nav-dropdown-item.current {
        background: #fff;
        color: #000;
        opacity: 1;
    }
    .nav-dropdown-menu a.nav-dropdown-all {
        color: #bbb;
    }

    /* Cart link on mobile header bar */
    .nav-cart-link {
        padding: 8px !important;
        opacity: 1 !important;
    }
}
