/*
Theme Name: Battle Born Trading
Theme URI: https://battleborntrading.com
Author: Battle Born Trading LLC
Author URI: https://battleborntrading.com
Description: A bold, modern WooCommerce-ready theme for Battle Born Trading LLC — premium sports cards and live TikTok breaks. Features a dark luxury aesthetic with gold and red accents, fast loading, and full WooCommerce integration.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
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: battleborn
Tags: e-commerce, custom-logo, custom-menu, featured-images, theme-options, woocommerce

Battle Born Trading — Premium Sports Cards & Live Breaks
*/

/* ===================================================================
   CSS CUSTOM PROPERTIES
   =================================================================== */
:root {
    /* Brand Colors */
    --bb-gold: #D4A624;
    --bb-gold-light: #F0D060;
    --bb-gold-dark: #A07C10;
    --bb-gold-gradient: linear-gradient(135deg, #D4A624, #F0D060, #D4A624);
    --bb-red: #C41E2A;
    --bb-red-dark: #8B1520;
    --bb-red-glow: rgba(196, 30, 42, 0.4);

    /* Neutrals */
    --bb-black: #0A0A0A;
    --bb-black-card: #111111;
    --bb-black-soft: #161616;
    --bb-gray-900: #1A1A1A;
    --bb-gray-800: #222222;
    --bb-gray-700: #2E2E2E;
    --bb-gray-600: #444444;
    --bb-gray-500: #666666;
    --bb-gray-400: #888888;
    --bb-gray-300: #AAAAAA;
    --bb-gray-200: #CCCCCC;
    --bb-gray-100: #EEEEEE;
    --bb-white: #F5F5F5;
    --bb-white-pure: #FFFFFF;

    /* Typography */
    --bb-font-display: 'Bebas Neue', Impact, sans-serif;
    --bb-font-condensed: 'Barlow Condensed', Arial Narrow, sans-serif;
    --bb-font-body: 'Barlow', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing */
    --bb-section-pad: clamp(60px, 10vw, 120px);
    --bb-container: 1240px;
    --bb-gap: 24px;

    /* Transitions */
    --bb-ease: cubic-bezier(0.4, 0, 0.2, 1);
    --bb-duration: 0.3s;

    /* Shadows */
    --bb-shadow-card: 0 4px 24px rgba(0, 0, 0, 0.5);
    --bb-shadow-glow-gold: 0 0 30px rgba(212, 166, 36, 0.15);
    --bb-shadow-glow-red: 0 0 30px rgba(196, 30, 42, 0.15);

    /* Border Radius */
    --bb-radius: 8px;
    --bb-radius-lg: 16px;
}


/* ===================================================================
   RESET & BASE
   =================================================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--bb-font-body);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.7;
    color: var(--bb-gray-300);
    background-color: var(--bb-black);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: var(--bb-gold);
    transition: color var(--bb-duration) var(--bb-ease);
}

a:hover {
    color: var(--bb-gold-light);
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--bb-font-display);
    color: var(--bb-white);
    line-height: 1.1;
    letter-spacing: 1px;
}

h1 { font-size: clamp(48px, 7vw, 88px); }
h2 { font-size: clamp(36px, 5vw, 64px); }
h3 { font-size: clamp(24px, 3vw, 36px); }
h4 { font-size: clamp(20px, 2.5vw, 28px); }

p {
    margin-bottom: 1em;
}

ul, ol {
    list-style: none;
}

button, input, textarea, select {
    font-family: var(--bb-font-body);
    font-size: 16px;
}

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bb-black); }
::-webkit-scrollbar-thumb { background: var(--bb-gray-700); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--bb-gold-dark); }


/* ===================================================================
   LAYOUT
   =================================================================== */
.bb-container {
    max-width: var(--bb-container);
    margin: 0 auto;
    padding: 0 var(--bb-gap);
}

.bb-section {
    padding: var(--bb-section-pad) 0;
    position: relative;
}

.bb-grid {
    display: grid;
    gap: var(--bb-gap);
}

.bb-grid-2 { grid-template-columns: repeat(2, 1fr); }
.bb-grid-3 { grid-template-columns: repeat(3, 1fr); }
.bb-grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 992px) {
    .bb-grid-3, .bb-grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .bb-grid-2, .bb-grid-3, .bb-grid-4 { grid-template-columns: 1fr; }
}


/* ===================================================================
   SECTION HEADERS
   =================================================================== */
.bb-section-tag {
    font-family: var(--bb-font-condensed);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--bb-gold);
    margin-bottom: 12px;
    display: inline-block;
}

.bb-section-title {
    margin-bottom: 16px;
}

.bb-section-title span {
    color: var(--bb-gold);
}

.bb-section-subtitle {
    font-size: 18px;
    color: var(--bb-gray-400);
    max-width: 600px;
    line-height: 1.6;
}

.bb-section-header {
    margin-bottom: 48px;
}

.bb-section-header--center {
    text-align: center;
}

.bb-section-header--center .bb-section-subtitle {
    margin: 0 auto;
}


/* ===================================================================
   BUTTONS
   =================================================================== */
.bb-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 36px;
    font-family: var(--bb-font-condensed);
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 3px;
    text-transform: uppercase;
    border-radius: var(--bb-radius);
    border: none;
    cursor: pointer;
    transition: all var(--bb-duration) var(--bb-ease);
    position: relative;
    overflow: hidden;
    line-height: 1;
}

.bb-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.12), transparent);
    transition: left 0.5s ease;
}

.bb-btn:hover::before {
    left: 100%;
}

.bb-btn--gold {
    background: var(--bb-gold-gradient);
    color: var(--bb-black);
    box-shadow: 0 4px 20px rgba(212, 166, 36, 0.3);
}

.bb-btn--gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(212, 166, 36, 0.45);
    color: var(--bb-black);
}

.bb-btn--red {
    background: var(--bb-red);
    color: var(--bb-white-pure);
    box-shadow: 0 4px 20px rgba(196, 30, 42, 0.3);
}

.bb-btn--red:hover {
    background: #d92535;
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(196, 30, 42, 0.45);
    color: var(--bb-white-pure);
}

.bb-btn--outline {
    background: transparent;
    color: var(--bb-gold);
    border: 2px solid var(--bb-gold);
}

.bb-btn--outline:hover {
    background: var(--bb-gold);
    color: var(--bb-black);
}

.bb-btn--sm {
    padding: 10px 24px;
    font-size: 13px;
    letter-spacing: 2px;
}

.bb-btn svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}


/* ===================================================================
   HEADER / NAV
   =================================================================== */
.bb-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all var(--bb-duration) var(--bb-ease);
    padding: 20px 0;
}

.bb-header.scrolled {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 12px 0;
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid var(--bb-gray-800);
}

.bb-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.bb-header__logo img {
    height: 60px;
    width: auto;
    transition: height var(--bb-duration) var(--bb-ease);
}

.bb-header.scrolled .bb-header__logo img {
    height: 45px;
}

.bb-header__nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.bb-header__nav a {
    font-family: var(--bb-font-condensed);
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--bb-gray-300);
    transition: color var(--bb-duration) var(--bb-ease);
    position: relative;
}

.bb-header__nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--bb-gold);
    transition: width var(--bb-duration) var(--bb-ease);
}

.bb-header__nav a:hover,
.bb-header__nav a.active,
.bb-header__nav .current-menu-item > a {
    color: var(--bb-gold);
}

.bb-header__nav a:hover::after,
.bb-header__nav a.active::after,
.bb-header__nav .current-menu-item > a::after {
    width: 100%;
}

.bb-header__actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.bb-header__cart {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bb-gray-800);
    color: var(--bb-white);
    transition: all var(--bb-duration) var(--bb-ease);
}

.bb-header__cart:hover {
    background: var(--bb-gold);
    color: var(--bb-black);
}

.bb-header__cart svg {
    width: 20px;
    height: 20px;
}

.bb-header__cart-count {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--bb-red);
    color: var(--bb-white-pure);
    font-size: 11px;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* Mobile Menu Toggle */
.bb-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.bb-menu-toggle span {
    display: block;
    width: 28px;
    height: 2px;
    background: var(--bb-white);
    transition: all var(--bb-duration) var(--bb-ease);
}

.bb-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.bb-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.bb-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 992px) {
    .bb-menu-toggle {
        display: flex;
    }

    .bb-header__nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 320px;
        height: 100vh;
        background: var(--bb-gray-900);
        flex-direction: column;
        justify-content: center;
        padding: 40px;
        transition: right var(--bb-duration) var(--bb-ease);
        box-shadow: -10px 0 40px rgba(0,0,0,0.5);
    }

    .bb-header__nav.open {
        right: 0;
    }

    .bb-header__nav a {
        font-size: 20px;
        padding: 12px 0;
    }
}


/* ===================================================================
   HERO SECTION
   =================================================================== */
.bb-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 100px;
}

.bb-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.bb-hero__bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(212, 166, 36, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 30%, rgba(196, 30, 42, 0.06) 0%, transparent 50%);
}

.bb-hero__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 400"><defs><pattern id="g" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M0 40L40 0M-10 10L10-10M30 50L50 30" stroke="rgba(255,255,255,0.02)" stroke-width="1"/></pattern></defs><rect fill="url(%23g)" width="400" height="400"/></svg>');
}

.bb-hero__content {
    position: relative;
    z-index: 1;
    max-width: 700px;
}

.bb-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(212, 166, 36, 0.1);
    border: 1px solid rgba(212, 166, 36, 0.25);
    border-radius: 100px;
    padding: 8px 20px;
    margin-bottom: 32px;
    font-family: var(--bb-font-condensed);
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--bb-gold);
    animation: fadeInUp 0.8s ease forwards;
}

.bb-hero__badge .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--bb-red);
    animation: pulse 2s infinite;
}

.bb-hero__title {
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease 0.1s both;
}

.bb-hero__title span {
    background: var(--bb-gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bb-hero__text {
    font-size: 20px;
    color: var(--bb-gray-400);
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 540px;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.bb-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    animation: fadeInUp 0.8s ease 0.3s both;
}

.bb-hero__visual {
    position: absolute;
    right: -5%;
    top: 50%;
    transform: translateY(-50%);
    width: 45%;
    max-width: 600px;
    z-index: 0;
    opacity: 0.15;
    pointer-events: none;
}

.bb-hero__visual img {
    width: 100%;
    filter: drop-shadow(0 0 60px rgba(212, 166, 36, 0.2));
}

@media (max-width: 768px) {
    .bb-hero {
        text-align: center;
        min-height: auto;
        padding: 140px 0 80px;
    }

    .bb-hero__text {
        margin-left: auto;
        margin-right: auto;
    }

    .bb-hero__actions {
        justify-content: center;
    }

    .bb-hero__visual {
        display: none;
    }
}


/* ===================================================================
   STATS BAR
   =================================================================== */
.bb-stats {
    padding: 40px 0;
    border-top: 1px solid var(--bb-gray-800);
    border-bottom: 1px solid var(--bb-gray-800);
    background: var(--bb-gray-900);
}

.bb-stats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}

.bb-stats__item h3 {
    font-size: 48px;
    background: var(--bb-gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 4px;
}

.bb-stats__item p {
    font-family: var(--bb-font-condensed);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--bb-gray-500);
    margin: 0;
}

@media (max-width: 768px) {
    .bb-stats__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* ===================================================================
   FEATURED PRODUCTS / CARDS
   =================================================================== */
.bb-products {
    background: var(--bb-black);
}

.bb-product-card {
    background: var(--bb-black-card);
    border: 1px solid var(--bb-gray-800);
    border-radius: var(--bb-radius-lg);
    overflow: hidden;
    transition: all var(--bb-duration) var(--bb-ease);
    position: relative;
}

.bb-product-card:hover {
    transform: translateY(-6px);
    border-color: var(--bb-gold-dark);
    box-shadow: var(--bb-shadow-glow-gold);
}

.bb-product-card__badge {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;
    background: var(--bb-red);
    color: var(--bb-white-pure);
    font-family: var(--bb-font-condensed);
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 4px;
}

.bb-product-card__img {
    aspect-ratio: 4/5;
    overflow: hidden;
    background: var(--bb-gray-900);
    position: relative;
}

.bb-product-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--bb-ease);
}

.bb-product-card:hover .bb-product-card__img img {
    transform: scale(1.08);
}

.bb-product-card__img::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(to top, var(--bb-black-card), transparent);
    pointer-events: none;
}

.bb-product-card__body {
    padding: 20px 24px 24px;
}

.bb-product-card__category {
    font-family: var(--bb-font-condensed);
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--bb-gold);
    margin-bottom: 8px;
}

.bb-product-card__title {
    font-family: var(--bb-font-display);
    font-size: 22px;
    color: var(--bb-white);
    margin-bottom: 12px;
    line-height: 1.2;
}

.bb-product-card__title a {
    color: var(--bb-white);
}

.bb-product-card__title a:hover {
    color: var(--bb-gold);
}

.bb-product-card__price {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 16px;
}

.bb-product-card__price .price {
    font-family: var(--bb-font-display);
    font-size: 28px;
    color: var(--bb-gold);
}

.bb-product-card__price .was-price {
    font-size: 16px;
    color: var(--bb-gray-500);
    text-decoration: line-through;
}

.bb-product-card__actions {
    display: flex;
    gap: 10px;
}


/* ===================================================================
   LIVE BREAKS SECTION
   =================================================================== */
.bb-breaks {
    background: var(--bb-gray-900);
    position: relative;
    overflow: hidden;
}

.bb-breaks::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(196, 30, 42, 0.06) 0%, transparent 60%);
    pointer-events: none;
}

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

.bb-breaks__info {
    position: relative;
    z-index: 1;
}

.bb-breaks__text {
    font-size: 18px;
    color: var(--bb-gray-400);
    margin-bottom: 32px;
    line-height: 1.7;
}

.bb-breaks__features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.bb-breaks__feature {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.bb-breaks__feature-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(196, 30, 42, 0.1);
    border: 1px solid rgba(196, 30, 42, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.bb-breaks__feature-icon svg {
    width: 22px;
    height: 22px;
    color: var(--bb-red);
}

.bb-breaks__feature h4 {
    font-family: var(--bb-font-condensed);
    font-weight: 700;
    font-size: 18px;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.bb-breaks__feature p {
    font-size: 14px;
    color: var(--bb-gray-500);
    margin: 0;
}

.bb-breaks__visual {
    position: relative;
}

.bb-breaks__embed {
    aspect-ratio: 9/16;
    max-height: 580px;
    border-radius: var(--bb-radius-lg);
    overflow: hidden;
    border: 2px solid var(--bb-gray-700);
    background: var(--bb-black);
    position: relative;
}

.bb-breaks__embed-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    text-align: center;
    padding: 40px;
    background: linear-gradient(180deg, rgba(196,30,42,0.08) 0%, var(--bb-black) 100%);
}

.bb-breaks__embed-placeholder svg {
    width: 64px;
    height: 64px;
    color: var(--bb-red);
    opacity: 0.7;
}

.bb-breaks__embed-placeholder p {
    font-family: var(--bb-font-condensed);
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--bb-gray-500);
}

.bb-breaks__live-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--bb-red);
    color: var(--bb-white-pure);
    padding: 6px 14px;
    border-radius: 4px;
    font-family: var(--bb-font-condensed);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.bb-breaks__live-badge .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--bb-white-pure);
    animation: pulse 1.5s infinite;
}

@media (max-width: 992px) {
    .bb-breaks__content {
        grid-template-columns: 1fr;
    }

    .bb-breaks__embed {
        max-width: 400px;
        margin: 0 auto;
    }
}


/* ===================================================================
   CATEGORIES SECTION
   =================================================================== */
.bb-categories__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.bb-category-card {
    position: relative;
    border-radius: var(--bb-radius-lg);
    overflow: hidden;
    aspect-ratio: 1;
    cursor: pointer;
    border: 1px solid var(--bb-gray-800);
    transition: all var(--bb-duration) var(--bb-ease);
}

.bb-category-card:hover {
    border-color: var(--bb-gold-dark);
    transform: translateY(-4px);
    box-shadow: var(--bb-shadow-glow-gold);
}

.bb-category-card__bg {
    position: absolute;
    inset: 0;
    background: var(--bb-gray-900);
}

.bb-category-card__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
    transition: all 0.5s var(--bb-ease);
}

.bb-category-card:hover .bb-category-card__bg img {
    opacity: 0.7;
    transform: scale(1.1);
}

.bb-category-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(10,10,10,0.9) 100%);
}

.bb-category-card__content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    z-index: 1;
}

.bb-category-card__title {
    font-family: var(--bb-font-display);
    font-size: 28px;
    color: var(--bb-white);
    margin-bottom: 4px;
}

.bb-category-card__count {
    font-family: var(--bb-font-condensed);
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--bb-gold);
}

@media (max-width: 768px) {
    .bb-categories__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* ===================================================================
   ABOUT / WHY US SECTION
   =================================================================== */
.bb-about {
    background: var(--bb-black);
    position: relative;
}

.bb-about__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.bb-about__card {
    background: var(--bb-black-card);
    border: 1px solid var(--bb-gray-800);
    border-radius: var(--bb-radius-lg);
    padding: 40px 32px;
    text-align: center;
    transition: all var(--bb-duration) var(--bb-ease);
    position: relative;
    overflow: hidden;
}

.bb-about__card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--bb-gold-gradient);
    transform: scaleX(0);
    transition: transform var(--bb-duration) var(--bb-ease);
}

.bb-about__card:hover {
    border-color: var(--bb-gray-700);
    transform: translateY(-4px);
}

.bb-about__card:hover::before {
    transform: scaleX(1);
}

.bb-about__card-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: rgba(212, 166, 36, 0.08);
    border: 1px solid rgba(212, 166, 36, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.bb-about__card-icon svg {
    width: 28px;
    height: 28px;
    color: var(--bb-gold);
}

.bb-about__card h3 {
    font-family: var(--bb-font-display);
    font-size: 24px;
    margin-bottom: 12px;
}

.bb-about__card p {
    color: var(--bb-gray-500);
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {
    .bb-about__grid {
        grid-template-columns: 1fr;
    }
}


/* ===================================================================
   NEWSLETTER / CTA
   =================================================================== */
.bb-cta {
    background: linear-gradient(135deg, var(--bb-gray-900) 0%, var(--bb-black) 50%, var(--bb-gray-900) 100%);
    border-top: 1px solid var(--bb-gray-800);
    border-bottom: 1px solid var(--bb-gray-800);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.bb-cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 166, 36, 0.04) 0%, transparent 70%);
    pointer-events: none;
}

.bb-cta__content {
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto;
}

.bb-cta__form {
    display: flex;
    gap: 12px;
    margin-top: 32px;
}

.bb-cta__form input[type="email"] {
    flex: 1;
    padding: 16px 24px;
    background: var(--bb-gray-800);
    border: 1px solid var(--bb-gray-700);
    border-radius: var(--bb-radius);
    color: var(--bb-white);
    font-size: 16px;
    outline: none;
    transition: border-color var(--bb-duration) var(--bb-ease);
}

.bb-cta__form input[type="email"]::placeholder {
    color: var(--bb-gray-500);
}

.bb-cta__form input[type="email"]:focus {
    border-color: var(--bb-gold);
}

@media (max-width: 600px) {
    .bb-cta__form {
        flex-direction: column;
    }
}


/* ===================================================================
   TESTIMONIALS
   =================================================================== */
.bb-testimonials {
    background: var(--bb-black);
}

.bb-testimonial-card {
    background: var(--bb-black-card);
    border: 1px solid var(--bb-gray-800);
    border-radius: var(--bb-radius-lg);
    padding: 32px;
    transition: all var(--bb-duration) var(--bb-ease);
}

.bb-testimonial-card:hover {
    border-color: var(--bb-gray-700);
}

.bb-testimonial-card__stars {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
}

.bb-testimonial-card__stars svg {
    width: 18px;
    height: 18px;
    color: var(--bb-gold);
    fill: var(--bb-gold);
}

.bb-testimonial-card__text {
    font-size: 16px;
    line-height: 1.7;
    color: var(--bb-gray-300);
    margin-bottom: 20px;
    font-style: italic;
}

.bb-testimonial-card__author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.bb-testimonial-card__avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bb-gray-700);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--bb-font-display);
    font-size: 18px;
    color: var(--bb-gold);
}

.bb-testimonial-card__name {
    font-family: var(--bb-font-condensed);
    font-weight: 700;
    font-size: 15px;
    color: var(--bb-white);
    letter-spacing: 1px;
}

.bb-testimonial-card__handle {
    font-size: 13px;
    color: var(--bb-gray-500);
}


/* ===================================================================
   FOOTER
   =================================================================== */
.bb-footer {
    background: var(--bb-gray-900);
    border-top: 1px solid var(--bb-gray-800);
    padding: 64px 0 0;
}

.bb-footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--bb-gray-800);
}

.bb-footer__brand img {
    height: 50px;
    margin-bottom: 20px;
}

.bb-footer__brand p {
    color: var(--bb-gray-500);
    font-size: 15px;
    line-height: 1.6;
    max-width: 320px;
}

.bb-footer__social {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.bb-footer__social a {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--bb-gray-800);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--bb-duration) var(--bb-ease);
    color: var(--bb-gray-400);
}

.bb-footer__social a:hover {
    background: var(--bb-gold);
    color: var(--bb-black);
}

.bb-footer__social a svg {
    width: 18px;
    height: 18px;
}

.bb-footer__heading {
    font-family: var(--bb-font-condensed);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--bb-gold);
    margin-bottom: 24px;
}

.bb-footer__links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.bb-footer__links a {
    color: var(--bb-gray-400);
    font-size: 15px;
    transition: all var(--bb-duration) var(--bb-ease);
}

.bb-footer__links a:hover {
    color: var(--bb-gold);
    padding-left: 4px;
}

.bb-footer__bottom {
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: var(--bb-gray-600);
}

.bb-footer__bottom a {
    color: var(--bb-gray-500);
}

.bb-footer__payment {
    display: flex;
    gap: 12px;
    align-items: center;
}

.bb-footer__payment span {
    background: var(--bb-gray-800);
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    color: var(--bb-gray-400);
}

@media (max-width: 768px) {
    .bb-footer__grid {
        grid-template-columns: 1fr 1fr;
    }

    .bb-footer__brand {
        grid-column: span 2;
    }

    .bb-footer__bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}


/* ===================================================================
   WOOCOMMERCE OVERRIDES
   =================================================================== */
.woocommerce ul.products li.product {
    background: var(--bb-black-card);
    border: 1px solid var(--bb-gray-800);
    border-radius: var(--bb-radius-lg);
    overflow: hidden;
    transition: all var(--bb-duration) var(--bb-ease);
    padding: 0;
}

.woocommerce ul.products li.product:hover {
    border-color: var(--bb-gold-dark);
    transform: translateY(-4px);
    box-shadow: var(--bb-shadow-glow-gold);
}

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

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-family: var(--bb-font-display);
    font-size: 20px;
    color: var(--bb-white);
    padding: 16px 20px 8px;
}

.woocommerce ul.products li.product .price {
    font-family: var(--bb-font-display);
    font-size: 24px;
    color: var(--bb-gold) !important;
    padding: 0 20px;
}

.woocommerce ul.products li.product .price del {
    color: var(--bb-gray-500) !important;
    font-size: 16px;
}

.woocommerce ul.products li.product .price ins {
    text-decoration: none;
    color: var(--bb-gold) !important;
}

.woocommerce ul.products li.product .button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce .cart .button,
.woocommerce .checkout-button {
    background: var(--bb-gold) !important;
    color: var(--bb-black) !important;
    font-family: var(--bb-font-condensed) !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    letter-spacing: 2px !important;
    text-transform: uppercase !important;
    border-radius: var(--bb-radius) !important;
    padding: 12px 24px !important;
    border: none !important;
    transition: all var(--bb-duration) var(--bb-ease) !important;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover {
    background: var(--bb-gold-light) !important;
    color: var(--bb-black) !important;
    transform: translateY(-1px);
}

.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.woocommerce #respond input#submit.alt {
    background: var(--bb-red) !important;
    color: var(--bb-white-pure) !important;
}

.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover {
    background: #d92535 !important;
}

/* WooCommerce single product */
.woocommerce div.product .product_title {
    font-family: var(--bb-font-display);
    font-size: 42px;
    color: var(--bb-white);
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
    font-family: var(--bb-font-display);
    font-size: 32px;
    color: var(--bb-gold) !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
    background: var(--bb-gray-900);
    border: 1px solid var(--bb-gray-800);
    border-radius: var(--bb-radius-lg) var(--bb-radius-lg) 0 0;
    padding: 0;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
    background: transparent;
    border: none;
    border-radius: 0;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
    font-family: var(--bb-font-condensed);
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--bb-gray-400);
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
    color: var(--bb-gold);
}

.woocommerce div.product .woocommerce-tabs .panel {
    background: var(--bb-gray-900);
    border: 1px solid var(--bb-gray-800);
    border-top: none;
    border-radius: 0 0 var(--bb-radius-lg) var(--bb-radius-lg);
    color: var(--bb-gray-300);
}

/* Cart */
.woocommerce-cart .woocommerce table.shop_table {
    background: var(--bb-black-card);
    border: 1px solid var(--bb-gray-800);
    border-radius: var(--bb-radius-lg);
    color: var(--bb-gray-300);
}

.woocommerce-cart .woocommerce table.shop_table th {
    font-family: var(--bb-font-condensed);
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--bb-gold);
    border-color: var(--bb-gray-800);
}

.woocommerce-cart .woocommerce table.shop_table td {
    border-color: var(--bb-gray-800);
    color: var(--bb-gray-300);
}

/* Checkout */
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
    background: var(--bb-gray-800) !important;
    border: 1px solid var(--bb-gray-700) !important;
    border-radius: var(--bb-radius) !important;
    color: var(--bb-white) !important;
    padding: 12px 16px !important;
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus {
    border-color: var(--bb-gold) !important;
    outline: none;
}

.woocommerce form .form-row label {
    color: var(--bb-gray-300);
}

/* Notices */
.woocommerce-message {
    background: var(--bb-black-card) !important;
    border-top-color: var(--bb-gold) !important;
    color: var(--bb-gray-300) !important;
    border-radius: var(--bb-radius);
}

.woocommerce-error {
    background: var(--bb-black-card) !important;
    border-top-color: var(--bb-red) !important;
    color: var(--bb-gray-300) !important;
    border-radius: var(--bb-radius);
}

/* Sale badge */
.woocommerce span.onsale {
    background: var(--bb-red) !important;
    font-family: var(--bb-font-condensed);
    font-weight: 700;
    letter-spacing: 1px;
}

/* Star ratings */
.woocommerce .star-rating span::before {
    color: var(--bb-gold) !important;
}

/* Pagination */
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
    background: var(--bb-gray-800) !important;
    color: var(--bb-gray-300) !important;
    border-color: var(--bb-gray-700) !important;
}

.woocommerce nav.woocommerce-pagination ul li span.current {
    background: var(--bb-gold) !important;
    color: var(--bb-black) !important;
}


/* ===================================================================
   ANIMATIONS
   =================================================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

/* Scroll reveal utility */
.bb-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.7s var(--bb-ease);
}

.bb-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.bb-reveal-delay-1 { transition-delay: 0.1s; }
.bb-reveal-delay-2 { transition-delay: 0.2s; }
.bb-reveal-delay-3 { transition-delay: 0.3s; }
.bb-reveal-delay-4 { transition-delay: 0.4s; }


/* ===================================================================
   PAGE TEMPLATES
   =================================================================== */

/* Page Header */
.bb-page-header {
    padding: 160px 0 60px;
    background: var(--bb-gray-900);
    border-bottom: 1px solid var(--bb-gray-800);
    text-align: center;
}

.bb-page-header h1 {
    margin-bottom: 12px;
}

.bb-page-header p {
    font-size: 18px;
    color: var(--bb-gray-400);
}

/* Content area */
.bb-content {
    padding: var(--bb-section-pad) 0;
}

/* Sidebar */
.bb-layout-with-sidebar {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 48px;
}

@media (max-width: 992px) {
    .bb-layout-with-sidebar {
        grid-template-columns: 1fr;
    }
}

.bb-sidebar .widget {
    background: var(--bb-black-card);
    border: 1px solid var(--bb-gray-800);
    border-radius: var(--bb-radius-lg);
    padding: 24px;
    margin-bottom: 24px;
}

.bb-sidebar .widget-title {
    font-family: var(--bb-font-display);
    font-size: 22px;
    color: var(--bb-white);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--bb-gold);
}


/* ===================================================================
   BLOG STYLES
   =================================================================== */
.bb-post-card {
    background: var(--bb-black-card);
    border: 1px solid var(--bb-gray-800);
    border-radius: var(--bb-radius-lg);
    overflow: hidden;
    transition: all var(--bb-duration) var(--bb-ease);
}

.bb-post-card:hover {
    border-color: var(--bb-gray-700);
    transform: translateY(-4px);
}

.bb-post-card__img {
    aspect-ratio: 16/9;
    overflow: hidden;
}

.bb-post-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--bb-ease);
}

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

.bb-post-card__body {
    padding: 24px;
}

.bb-post-card__meta {
    font-family: var(--bb-font-condensed);
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--bb-gold);
    margin-bottom: 12px;
}

.bb-post-card__title {
    font-family: var(--bb-font-display);
    font-size: 24px;
    color: var(--bb-white);
    margin-bottom: 12px;
    line-height: 1.2;
}

.bb-post-card__title a {
    color: var(--bb-white);
}

.bb-post-card__title a:hover {
    color: var(--bb-gold);
}

.bb-post-card__excerpt {
    color: var(--bb-gray-500);
    font-size: 15px;
    line-height: 1.6;
}

/* Single post */
.bb-single-post {
    max-width: 800px;
    margin: 0 auto;
}

.bb-single-post__content {
    font-size: 18px;
    line-height: 1.8;
    color: var(--bb-gray-300);
}

.bb-single-post__content h2,
.bb-single-post__content h3 {
    margin-top: 40px;
    margin-bottom: 16px;
}

.bb-single-post__content p {
    margin-bottom: 1.5em;
}

.bb-single-post__content img {
    border-radius: var(--bb-radius-lg);
    margin: 32px 0;
}

.bb-single-post__content blockquote {
    border-left: 4px solid var(--bb-gold);
    padding: 20px 24px;
    background: var(--bb-gray-900);
    border-radius: 0 var(--bb-radius) var(--bb-radius) 0;
    margin: 32px 0;
    font-style: italic;
    color: var(--bb-gray-300);
}


/* ===================================================================
   WORDPRESS CORE STYLES
   =================================================================== */
.alignleft { float: left; margin: 0 24px 24px 0; }
.alignright { float: right; margin: 0 0 24px 24px; }
.aligncenter { display: block; margin: 24px auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text {
    font-size: 13px;
    color: var(--bb-gray-500);
    text-align: center;
    padding: 8px 0;
}
.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* WordPress navigation */
.navigation .nav-links {
    display: flex;
    justify-content: space-between;
    padding: 40px 0;
}

.navigation .nav-links a {
    font-family: var(--bb-font-condensed);
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--bb-gold);
}

/* Comments */
.comment-list {
    list-style: none;
}

.comment-body {
    background: var(--bb-black-card);
    border: 1px solid var(--bb-gray-800);
    border-radius: var(--bb-radius-lg);
    padding: 24px;
    margin-bottom: 24px;
}

.comment-author .fn {
    font-family: var(--bb-font-condensed);
    font-weight: 700;
    color: var(--bb-white);
}

.comment-meta {
    font-size: 13px;
    color: var(--bb-gray-500);
    margin-bottom: 12px;
}

#respond {
    margin-top: 40px;
}

#respond .comment-form input,
#respond .comment-form textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--bb-gray-800);
    border: 1px solid var(--bb-gray-700);
    border-radius: var(--bb-radius);
    color: var(--bb-white);
    margin-bottom: 16px;
}

#respond .comment-form input:focus,
#respond .comment-form textarea:focus {
    border-color: var(--bb-gold);
    outline: none;
}

#respond .comment-form .form-submit input {
    width: auto;
}
