/*
Theme Name: BRABUS Luxury
Theme URI: https://example.com/brabus-theme
Author: Your Name
Author URI: https://example.com
Description: A premium WordPress theme inspired by BRABUS luxury automotive brand. WooCommerce compatible for selling high-end products, vehicles, and accessories.
Version: 3.1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: brabus-luxury
Tags: e-commerce, automotive, luxury, dark, responsive, woocommerce
*/

/* ================================
   BRABUS LUXURY THEME
   ================================ */

/* CSS Variables */
:root {
    --brabus-black: #000000;
    --brabus-dark: #0a0a0a;
    --brabus-gray: #1a1a1a;
    --brabus-light-gray: #2a2a2a;
    --brabus-white: #ffffff;
    --brabus-red: #e30613;
    --brabus-gold: #c9a962;
    --brabus-text: #cccccc;
    --brabus-text-muted: #888888;
    --brabus-border: #333333;
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background-color: var(--brabus-black);
    color: var(--brabus-white);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: var(--brabus-white);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--brabus-red);
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.25rem; }

p {
    color: var(--brabus-text);
    margin-bottom: 1rem;
}

/* ================================
   HEADER & NAVIGATION
   ================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    background: linear-gradient(to bottom, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0) 100%);
    padding: 1rem 2rem;
    transition: background var(--transition-medium);
}

.site-header.scrolled {
    background: rgba(0,0,0,0.95);
    backdrop-filter: blur(10px);
}

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

.site-logo {
    font-size: 1.75rem;
    font-weight: 900;
    letter-spacing: 0.15em;
    color: var(--brabus-white);
}

.site-logo span {
    color: var(--brabus-red);
}

/* Main Navigation - Hidden by default, burger menu always visible */
.main-navigation {
    display: none;
}

/* Desktop Navigation - Only visible on large screens (1200px+) */
@media (min-width: 1200px) {
    .main-navigation {
        display: flex;
        align-items: center;
        gap: 2rem;
    }
    
    .main-navigation ul {
        display: flex;
        list-style: none;
        gap: 1.5rem;
    }
    
    .main-navigation a {
        font-size: 0.85rem;
        font-weight: 500;
        text-transform: uppercase;
        letter-spacing: 0.1em;
        padding: 0.5rem 0;
        position: relative;
    }
    
    .main-navigation a::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0;
        height: 2px;
        background: var(--brabus-red);
        transition: width var(--transition-fast);
    }
    
    .main-navigation a:hover::after {
        width: 100%;
    }
}

/* Always show burger menu on smaller screens and as backup */
@media (max-width: 1199px) {
    .menu-toggle {
        display: flex !important;
    }
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.header-actions button,
.header-actions a {
    background: none;
    border: none;
    color: var(--brabus-white);
    cursor: pointer;
    font-size: 1.1rem;
    padding: 0.5rem;
    transition: color var(--transition-fast);
}

.header-actions button:hover,
.header-actions a:hover {
    color: var(--brabus-red);
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--brabus-red);
    color: var(--brabus-white);
    font-size: 0.65rem;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-icon-wrapper {
    position: relative;
}

/* ================================
   FULL PAGE MENU OVERLAY
   ================================ */

/* Menu Toggle Button - Always visible */
.menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    width: 44px;
    height: 44px;
    z-index: 10003 !important;
    position: relative;
}

.menu-toggle span {
    display: block;
    width: 28px;
    height: 2px;
    background: var(--brabus-white);
    transition: all 0.3s ease;
    transform-origin: center;
}

/* Animated Hamburger to X */
.menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

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

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Full Page Mobile Menu */
.mobile-menu {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background: #000000;
    z-index: 10002 !important;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 100px 2rem 2rem;
    overflow: hidden !important;
}

.mobile-menu.active {
    display: flex;
    animation: fadeIn 0.4s ease forwards;
}

.mobile-menu.closing {
    display: flex;
    animation: fadeOut 0.4s ease forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

.mobile-menu-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    z-index: 10;
}

.mobile-menu-title {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--brabus-white);
}

.mobile-menu-title span {
    color: var(--brabus-red);
}

.mobile-menu-close {
    background: none;
    border: none;
    color: var(--brabus-white);
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.2s ease;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-close:hover {
    color: var(--brabus-red);
}

.mobile-menu-close svg {
    width: 32px;
    height: 32px;
}

.mobile-menu ul {
    list-style: none;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-menu li {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.mobile-menu.active li {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu.active li:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.active li:nth-child(2) { transition-delay: 0.15s; }
.mobile-menu.active li:nth-child(3) { transition-delay: 0.2s; }
.mobile-menu.active li:nth-child(4) { transition-delay: 0.25s; }
.mobile-menu.active li:nth-child(5) { transition-delay: 0.3s; }
.mobile-menu.active li:nth-child(6) { transition-delay: 0.35s; }
.mobile-menu.active li:nth-child(7) { transition-delay: 0.4s; }
.mobile-menu.active li:nth-child(8) { transition-delay: 0.45s; }

.mobile-menu a {
    font-size: 2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--brabus-white);
    position: relative;
    display: inline-block;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.mobile-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--brabus-red);
    transition: width 0.3s ease, left 0.3s ease;
}

.mobile-menu a:hover {
    color: var(--brabus-red);
}

.mobile-menu a:hover::after {
    width: 100%;
    left: 0;
}

/* Mobile Menu Overlay Background */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9998;
    display: none;
}

.mobile-menu-overlay.active {
    display: block;
    animation: fadeIn 0.3s ease forwards;
}

.mobile-menu-overlay.closing {
    display: block;
    animation: fadeOut 0.3s ease forwards;
}

/* ================================
   SEARCH OVERLAY
   ================================ */
.search-overlay {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background: #000000;
    z-index: 9999 !important;
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding-top: 120px;
    overflow: hidden;
}

.search-overlay.active {
    display: flex;
    animation: fadeIn 0.4s ease forwards;
}

.search-overlay.closing {
    display: flex;
    animation: fadeOut 0.4s ease forwards;
}

.search-container {
    width: 100%;
    max-width: 800px;
    padding: 0 2rem;
    position: relative;
}

.search-close {
    position: absolute;
    top: -80px;
    right: 2rem;
    background: none;
    border: none;
    color: var(--brabus-white);
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.2s ease;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.search-close:hover {
    color: var(--brabus-red);
}

.search-close svg {
    width: 32px;
    height: 32px;
}

.search-form {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 2px solid #333;
    padding-bottom: 1rem;
    background: transparent;
}

.search-form:focus-within {
    border-color: #e30613;
}

.search-input {
    flex: 1;
    width: 100%;
    background-color: transparent !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    color: #ffffff !important;
    font-size: 2rem;
    font-weight: 300;
    padding: 0.5rem 0;
    margin: 0;
    outline: none !important;
    box-shadow: none !important;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    line-height: 1.5;
}

.search-input::placeholder {
    color: #666666;
}

.search-input:focus {
    background-color: transparent !important;
    background: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

/* Remove browser autofill background */
.search-input:-webkit-autofill,
.search-input:-webkit-autofill:hover,
.search-input:-webkit-autofill:focus,
.search-input:-webkit-autofill:active {
    -webkit-text-fill-color: #ffffff !important;
    -webkit-box-shadow: 0 0 0 1000px #000000 inset !important;
    transition: background-color 5000s ease-in-out 0s;
    background-color: transparent !important;
}

/* Firefox specific */
.search-input::-moz-placeholder {
    color: #666666;
    opacity: 1;
}

.search-submit {
    background: none;
    border: none;
    color: #ffffff;
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.search-submit:hover {
    color: #e30613;
}

/* Body scroll lock when menu is open */
body.menu-open {
    overflow: hidden !important;
    touch-action: none;
}

/* ================================
   HERO SECTION
   ================================ */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

/* YouTube Video Carousel */
.hero-carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease-in-out, visibility 1s ease-in-out;
    z-index: 0;
}

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

.hero-youtube-player,
.hero-uploaded-video {
    z-index: 1;
}

.hero-youtube-player {
    width: 100%;
    height: 100%;
}

.hero-youtube-player iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw; /* 16:9 aspect ratio */
    min-height: 100vh;
    min-width: 177.77vh; /* 16:9 aspect ratio */
    transform: translate(-50%, -50%);
    pointer-events: none;
}

/* Uploaded Video Styling */
.hero-uploaded-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw; /* 16:9 aspect ratio */
    min-height: 100vh;
    min-width: 177.77vh; /* 16:9 aspect ratio */
    transform: translate(-50%, -50%);
    object-fit: cover;
    pointer-events: none;
}

/* Hero Slide Content Overlay - Styled like main hero section */
.hero-slide-content {
    position: absolute;
    bottom: 5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    pointer-events: auto;
    max-width: 900px;
    width: 90%;
    text-align: center;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.hero-slide.active .hero-slide-content {
    opacity: 1;
}

.hero-slide-subtitle {
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--brabus-text);
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease 0.2s, transform 0.6s ease 0.2s;
}

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

.hero-slide-title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--brabus-white);
    margin-bottom: 1.5rem;
    line-height: 1.1;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease 0.3s, transform 0.6s ease 0.3s;
}

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

.hero-slide-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--brabus-text);
    margin: 0 auto 2rem;
    max-width: 600px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease 0.4s, transform 0.6s ease 0.4s;
}

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

.hero-slide-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--brabus-white);
    color: var(--brabus-black);
    padding: 1rem 2.5rem;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    border: 2px solid var(--brabus-white);
    transition: all var(--transition-fast);
    text-decoration: none;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease 0.5s, transform 0.6s ease 0.5s, background var(--transition-fast), color var(--transition-fast);
}

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

.hero-slide-cta:hover {
    background: transparent;
    color: var(--brabus-white);
}

.hero-slide-cta svg {
    transition: transform var(--transition-fast);
}

.hero-slide-cta:hover svg {
    transform: translateX(4px);
}

/* Responsive adjustments for slide content */
@media (max-width: 768px) {
    .hero-slide-content {
        width: 95%;
        padding: 1.5rem;
    }

    .hero-slide-title {
        font-size: clamp(1.75rem, 6vw, 2.5rem);
        margin-bottom: 1rem;
    }

    .hero-slide-description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .hero-slide-cta {
        padding: 0.875rem 2rem;
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.6) 100%);
    z-index: 2;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 5;
    text-align: center;
    padding: 2rem;
    pointer-events: auto;
}

.hero-subtitle {
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--brabus-text);
    margin-bottom: 1rem;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 900;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-description {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 2rem;
    color: var(--brabus-text);
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--brabus-white);
    color: var(--brabus-black);
    padding: 1rem 2.5rem;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    border: 2px solid var(--brabus-white);
    transition: all var(--transition-fast);
    pointer-events: auto;
}

.hero-cta:hover {
    background: transparent;
    color: var(--brabus-white);
}

/* Hero Slider Dots - Global navigation for carousel */
.hero-slider-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
    z-index: 10;
}

.hero-slider-dots .slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.hero-slider-dots .slider-dot.active,
.hero-slider-dots .slider-dot:hover {
    background: var(--brabus-white);
    border-color: var(--brabus-white);
    transform: scale(1.2);
}

/* Legacy slide-specific dots (hidden when using global navigation) */
.hero-slide-dots {
    display: none;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.slider-dot.active {
    background: var(--brabus-white);
    border-color: var(--brabus-white);
}

.slider-dot:hover {
    background: var(--brabus-red);
}

/* ================================
   CATEGORY LINKS SECTION
   ================================ */
.category-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    background: var(--brabus-dark);
}

.category-link {
    position: relative;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-right: 1px solid var(--brabus-border);
}

.category-link:last-child {
    border-right: none;
}

.category-link-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.category-link:hover .category-link-bg {
    transform: scale(1.1);
}

.category-link-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    transition: background var(--transition-medium);
}

.category-link:hover .category-link-overlay {
    background: rgba(0,0,0,0.3);
}

.category-link-text {
    position: relative;
    z-index: 1;
    font-size: 1.25rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--brabus-white);
}

/* ================================
   SECTION STYLES
   ================================ */
.section {
    padding: 6rem 2rem;
    position: relative;
}

.section-dark {
    background: var(--brabus-black);
}

.section-gray {
    background: var(--brabus-dark);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-label {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--brabus-red);
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    color: var(--brabus-text);
}

/* ================================
   NEWS SECTION
   ================================ */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.news-card {
    position: relative;
    background: var(--brabus-gray);
    overflow: hidden;
    transition: transform var(--transition-medium);
}

.news-card:hover {
    transform: translateY(-5px);
}

.news-card-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.news-card:hover .news-card-image img {
    transform: scale(1.1);
}

.news-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.8) 100%);
}

.news-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
}

.news-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.news-card-date {
    font-size: 0.75rem;
    color: var(--brabus-text-muted);
    letter-spacing: 0.1em;
}

/* ================================
   PRODUCT CAROUSEL
   ================================ */
.products-carousel-section {
    padding: 4rem 0;
    overflow: hidden;
}

.products-carousel {
    display: flex;
    gap: 1.5rem;
    padding: 0 2rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.products-carousel::-webkit-scrollbar {
    display: none;
}

.product-card {
    flex: 0 0 280px;
    scroll-snap-align: start;
    background: var(--brabus-gray);
    overflow: hidden;
}

.product-card-image {
    height: 200px;
    overflow: hidden;
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.product-card:hover .product-card-image img {
    transform: scale(1.1);
}

.product-card-content {
    padding: 1.25rem;
}

.product-card-title {
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.product-card-subtitle {
    font-size: 0.8rem;
    color: var(--brabus-text-muted);
}

/* Carousel Navigation */
.carousel-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.carousel-nav button {
    width: 50px;
    height: 50px;
    border: 2px solid var(--brabus-border);
    background: transparent;
    color: var(--brabus-white);
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-nav button:hover {
    border-color: var(--brabus-red);
    color: var(--brabus-red);
}

/* ================================
   FEATURED CAR SECTIONS
   ================================ */
.featured-car-section {
    position: relative;
    height: 80vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.featured-car-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-car-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0) 100%);
}

.featured-car-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
    padding: 0 4rem;
}

.featured-car-label {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--brabus-red);
    margin-bottom: 1rem;
}

.featured-car-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.featured-car-subtitle {
    font-size: 1rem;
    color: var(--brabus-text);
    margin-bottom: 2rem;
}

/* ================================
   SUPERBOATS SECTION
   ================================ */
.boats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.boat-card {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.boat-card-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.boat-card:hover .boat-card-image {
    transform: scale(1.1);
}

.boat-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.8) 100%);
}

.boat-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
}

.boat-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.boat-card-subtitle {
    font-size: 0.85rem;
    color: var(--brabus-text);
}

/* ================================
   SOCIAL SECTIONS
   ================================ */
.social-section {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.social-block {
    position: relative;
    height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.social-block-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.social-block-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    transition: background var(--transition-medium);
}

.social-block:hover .social-block-overlay {
    background: rgba(0,0,0,0.4);
}

.social-block-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.social-block-label {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--brabus-text);
    margin-bottom: 0.5rem;
}

.social-block-handle {
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
}

.social-block-cta {
    display: inline-block;
    padding: 0.75rem 2rem;
    border: 2px solid var(--brabus-white);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    transition: all var(--transition-fast);
}

.social-block-cta:hover {
    background: var(--brabus-white);
    color: var(--brabus-black);
}

/* ================================
   GRID SECTIONS
   ================================ */
.two-column-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
}

.grid-item {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.grid-item-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.grid-item:hover .grid-item-image {
    transform: scale(1.1);
}

.grid-item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.7) 100%);
}

.grid-item-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
}

.grid-item-title {
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

/* ================================
   REFINEMENT PROGRAMS
   ================================ */
.refinement-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1px;
    background: var(--brabus-border);
}

.refinement-item {
    background: var(--brabus-dark);
    padding: 2rem 1rem;
    text-align: center;
    transition: background var(--transition-fast);
}

.refinement-item:hover {
    background: var(--brabus-gray);
}

.refinement-item-title {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ================================
   FOOTER
   ================================ */
.site-footer {
    background: var(--brabus-dark);
    padding: 4rem 2rem 2rem;
}

.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--brabus-border);
}

.footer-brand {
    max-width: 400px;
}

.footer-logo {
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: 0.15em;
    margin-bottom: 1rem;
}

.footer-logo span {
    color: var(--brabus-red);
}

.footer-tagline {
    color: var(--brabus-text);
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-column h4 {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    color: var(--brabus-white);
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 0.75rem;
}

.footer-column a {
    font-size: 0.9rem;
    color: var(--brabus-text);
    transition: color var(--transition-fast);
}

.footer-column a:hover {
    color: var(--brabus-red);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
}

.footer-copyright {
    font-size: 0.85rem;
    color: var(--brabus-text-muted);
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border: 1px solid var(--brabus-border);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.footer-social a:hover {
    border-color: var(--brabus-red);
    color: var(--brabus-red);
}

/* ================================
   BUTTONS
   ================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    border: 2px solid;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-primary {
    background: var(--brabus-white);
    color: var(--brabus-black);
    border-color: var(--brabus-white);
}

.btn-primary:hover {
    background: transparent;
    color: var(--brabus-white);
}

.btn-outline {
    background: transparent;
    color: var(--brabus-white);
    border-color: var(--brabus-white);
}

.btn-outline:hover {
    background: var(--brabus-white);
    color: var(--brabus-black);
}

/* ================================
   WOOCOMMERCE STYLES
   ================================ */
.woocommerce-page .site-main {
    padding-top: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding-left: 2rem;
    padding-right: 2rem;
}

/* Products Grid */
.products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    list-style: none;
}

.product {
    background: var(--brabus-gray);
    overflow: hidden;
    transition: transform var(--transition-medium);
}

.product:hover {
    transform: translateY(-5px);
}

.product-image-wrapper {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.product img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.product:hover img {
    transform: scale(1.1);
}

.product-content {
    padding: 1.5rem;
}

.product-title {
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.product-title a {
    color: var(--brabus-white);
}

.product-title a:hover {
    color: var(--brabus-red);
}

.product-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--brabus-red);
}

.product-price del {
    color: var(--brabus-text-muted);
    font-weight: 400;
    margin-right: 0.5rem;
}

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

.add-to-cart-button {
    width: 100%;
    margin-top: 1rem;
    padding: 0.875rem;
    background: var(--brabus-red);
    color: var(--brabus-white);
    border: none;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: background var(--transition-fast);
}

.add-to-cart-button:hover {
    background: #c00510;
}

/* Single Product */
.single-product .product {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    background: transparent;
}

.product-gallery {
    position: relative;
}

.product-gallery img {
    width: 100%;
    height: auto;
}

.product-summary {
    padding: 2rem 0;
}

.product-summary .product-title {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.product-summary .price {
    font-size: 1.5rem;
    color: var(--brabus-red);
    margin-bottom: 1.5rem;
}

.product-description {
    color: var(--brabus-text);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.quantity-input {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.quantity-input label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.quantity-input input {
    width: 80px;
    padding: 0.75rem;
    background: var(--brabus-gray);
    border: 1px solid var(--brabus-border);
    color: var(--brabus-white);
    text-align: center;
    font-size: 1rem;
}

/* Cart */
.cart-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2rem;
}

.cart-table th,
.cart-table td {
    padding: 1.5rem;
    text-align: left;
    border-bottom: 1px solid var(--brabus-border);
}

.cart-table th {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--brabus-text-muted);
}

.cart-product {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.cart-product-image {
    width: 100px;
    height: 100px;
    object-fit: cover;
}

.cart-product-title {
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
}

.cart-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
}

.cart-totals {
    background: var(--brabus-gray);
    padding: 2rem;
    max-width: 400px;
    margin-left: auto;
}

.cart-totals h2 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.cart-totals-table {
    width: 100%;
    margin-bottom: 1.5rem;
}

.cart-totals-table td {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--brabus-border);
}

.cart-totals-table td:last-child {
    text-align: right;
}

.cart-totals .order-total {
    font-size: 1.25rem;
    font-weight: 700;
}

.checkout-button {
    width: 100%;
    padding: 1rem;
    background: var(--brabus-red);
    color: var(--brabus-white);
    border: none;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: background var(--transition-fast);
}

.checkout-button:hover {
    background: #c00510;
}

/* Checkout */
.checkout-form {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.form-row {
    margin-bottom: 1.5rem;
}

.form-row label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
    color: var(--brabus-text);
}

.form-row input,
.form-row select,
.form-row textarea {
    width: 100%;
    padding: 1rem;
    background: var(--brabus-gray);
    border: 1px solid var(--brabus-border);
    color: var(--brabus-white);
    font-size: 1rem;
    transition: border-color var(--transition-fast);
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
    outline: none;
    border-color: var(--brabus-red);
}

/* Shop Page */
.shop-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--brabus-border);
}

.shop-title {
    font-size: 2rem;
}

.shop-filters {
    display: flex;
    gap: 1rem;
}

.shop-filters select {
    padding: 0.75rem 1.5rem;
    background: var(--brabus-gray);
    border: 1px solid var(--brabus-border);
    color: var(--brabus-white);
    font-size: 0.85rem;
    cursor: pointer;
}

/* Breadcrumbs */
.breadcrumbs {
    padding: 1.5rem 0;
    font-size: 0.85rem;
    color: var(--brabus-text-muted);
}

.breadcrumbs a {
    color: var(--brabus-text);
}

.breadcrumbs a:hover {
    color: var(--brabus-red);
}

.breadcrumbs .separator {
    margin: 0 0.5rem;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.pagination a,
.pagination span {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--brabus-border);
    font-size: 0.9rem;
    transition: all var(--transition-fast);
}

.pagination a:hover,
.pagination .current {
    background: var(--brabus-red);
    border-color: var(--brabus-red);
    color: var(--brabus-white);
}

/* ================================
   RESPONSIVE DESIGN
   ================================ */
@media (max-width: 1200px) {
    .products {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .news-grid,
    .boats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .refinement-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .category-links {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .category-link {
        border-bottom: 1px solid var(--brabus-border);
    }
    
    .two-column-grid {
        grid-template-columns: 1fr;
    }
    
    .social-section {
        grid-template-columns: 1fr;
    }
    
    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
    
    .products {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .single-product .product {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .checkout-form {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 4rem 1.5rem;
    }
    
    .hero-section {
        min-height: 500px;
    }
    
    .category-links {
        grid-template-columns: 1fr;
    }
    
    .news-grid,
    .boats-grid {
        grid-template-columns: 1fr;
    }
    
    .refinement-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    
    .products {
        grid-template-columns: 1fr;
    }
    
    .shop-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .cart-table thead {
        display: none;
    }
    
    .cart-table tr {
        display: block;
        margin-bottom: 1.5rem;
        border: 1px solid var(--brabus-border);
    }
    
    .cart-table td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 1rem;
    }
    
    .cart-product {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .site-header {
        padding: 1rem;
    }
    
    .header-actions {
        gap: 0.75rem;
    }
    
    .hero-content {
        padding: 1rem;
    }
    
    .featured-car-content {
        padding: 0 1.5rem;
    }
    
    .refinement-grid {
        grid-template-columns: 1fr;
    }
}

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

.fade-in {
    animation: fadeIn 0.6s ease forwards;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-in-left {
    animation: slideInLeft 0.6s ease forwards;
}

/* ================================
   SEARCH RESULTS PAGE
   ================================ */
.content-area {
    padding-top: 120px;
    padding-bottom: 4rem;
    max-width: 1600px;
    margin: 0 auto;
    padding-left: 2rem;
    padding-right: 2rem;
}

.search-header {
    text-align: center;
    margin-bottom: 4rem;
    padding: 2rem 0;
    border-bottom: 1px solid var(--brabus-border);
}

.search-title {
    font-size: 2.5rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--brabus-white);
    line-height: 1.2;
}

.search-title span {
    color: var(--brabus-red);
    display: block;
    margin-top: 0.5rem;
    font-size: 3rem;
}

/* Posts Grid */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.post-card {
    position: relative;
    background: #000;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    aspect-ratio: 16 / 10;
}

.post-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.9) 100%);
    z-index: 1;
    opacity: 0.6;
    transition: opacity 0.5s ease;
}

.post-card:hover::before {
    opacity: 0.8;
}

.post-card:hover {
    transform: translateY(-5px);
}

.post-card-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.post-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.post-card:hover .post-card-image img {
    transform: scale(1.08);
}

.post-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2.5rem 2rem;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.post-meta {
    display: flex;
    gap: 1rem;
    align-items: center;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--brabus-text-muted);
}

.post-category {
    color: var(--brabus-red);
}

.post-title {
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0;
    line-height: 1.2;
    color: var(--brabus-white);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.post-title a {
    color: var(--brabus-white);
    transition: color 0.3s ease;
}

.post-card:hover .post-title a {
    color: var(--brabus-red);
}

.post-excerpt {
    font-size: 0.9rem;
    color: var(--brabus-text);
    line-height: 1.6;
    max-height: 3.2em;
    overflow: hidden;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--brabus-red);
    transition: all 0.3s ease;
    margin-top: 0.5rem;
}

.read-more:hover {
    gap: 0.75rem;
    color: var(--brabus-white);
}

.read-more svg {
    transition: transform 0.3s ease;
}

.read-more:hover svg {
    transform: translateX(3px);
}

/* No Results */
.no-results {
    text-align: center;
    padding: 4rem 2rem;
    max-width: 600px;
    margin: 0 auto;
}

.no-results h2 {
    font-size: 2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    color: var(--brabus-white);
}

.no-results p {
    font-size: 1.1rem;
    color: var(--brabus-text);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.no-results .search-form {
    display: flex;
    gap: 0.5rem;
    max-width: 500px;
    margin: 0 auto;
}

.no-results .search-field {
    flex: 1;
    padding: 1rem 1.5rem;
    background: var(--brabus-gray);
    border: 1px solid var(--brabus-border);
    color: var(--brabus-white);
    font-size: 1rem;
    transition: border-color 0.2s ease;
}

.no-results .search-field:focus {
    outline: none;
    border-color: var(--brabus-red);
}

.no-results .search-submit {
    padding: 1rem 2rem;
    background: var(--brabus-red);
    color: var(--brabus-white);
    border: none;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: background 0.2s ease;
}

.no-results .search-submit:hover {
    background: #c00510;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 4rem;
    list-style: none;
}

.pagination .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 50px;
    height: 50px;
    padding: 0 1rem;
    background: var(--brabus-gray);
    border: 1px solid var(--brabus-border);
    color: var(--brabus-white);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.2s ease;
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current {
    background: var(--brabus-red);
    border-color: var(--brabus-red);
    color: var(--brabus-white);
}

.pagination .page-numbers svg {
    width: 16px;
    height: 16px;
}

/* Responsive Search Page */
@media (max-width: 992px) {
    .posts-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .post-card {
        aspect-ratio: 16 / 9;
    }
}

@media (max-width: 768px) {
    .content-area {
        padding-top: 100px;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .search-header {
        margin-bottom: 2rem;
    }

    .search-title {
        font-size: 1.5rem;
    }

    .search-title span {
        font-size: 2rem;
    }

    .posts-grid {
        gap: 1rem;
    }

    .post-card {
        aspect-ratio: 4 / 3;
    }

    .post-title {
        font-size: 1.1rem;
    }

    .post-card-content {
        padding: 1.5rem 1.25rem;
    }
}

/* ================================
   UTILITY CLASSES
   ================================ */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.hidden { display: none; }
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ================================
   SIDEBAR & WIDGETS
   ================================ */
.widget-area {
    padding: 2rem;
}

.widget {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--brabus-border);
}

.widget:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

/* Widget Titles */
.widget-title,
.widgettitle {
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--brabus-white);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.widget-title::after,
.widgettitle::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--brabus-red);
}

/* Search Widget */
.widget_search {
    border-bottom: none;
}

.widget_search .search-form {
    display: flex;
    gap: 0.5rem;
}

.widget_search .search-field {
    flex: 1;
    padding: 0.875rem 1rem;
    background: var(--brabus-gray);
    border: 1px solid var(--brabus-border);
    color: var(--brabus-white);
    font-size: 0.9rem;
    transition: border-color 0.2s ease;
}

.widget_search .search-field:focus {
    outline: none;
    border-color: var(--brabus-red);
}

.widget_search .search-submit {
    padding: 0.875rem 1.5rem;
    background: var(--brabus-red);
    color: var(--brabus-white);
    border: none;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: background 0.2s ease;
}

.widget_search .search-submit:hover {
    background: #c00510;
}

/* Recent Posts Widget */
.widget_recent_entries ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.widget_recent_entries li {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.widget_recent_entries li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.widget_recent_entries a {
    color: var(--brabus-white);
    font-weight: 500;
    transition: color 0.2s ease;
    display: block;
}

.widget_recent_entries a:hover {
    color: var(--brabus-red);
}

.widget_recent_entries .post-date {
    display: block;
    font-size: 0.75rem;
    color: var(--brabus-text-muted);
    margin-top: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Recent Comments Widget */
.widget_recent_comments ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.widget_recent_comments li {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.widget_recent_comments li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.widget_recent_comments a {
    color: var(--brabus-white);
    transition: color 0.2s ease;
}

.widget_recent_comments a:hover {
    color: var(--brabus-red);
}

.widget_recent_comments .comment-author-link {
    font-weight: 600;
    color: var(--brabus-red);
}

/* Archives Widget */
.widget_archive ul,
.widget_categories ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.widget_archive li,
.widget_categories li {
    margin-bottom: 0.75rem;
}

.widget_archive a,
.widget_categories a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    background: var(--brabus-gray);
    color: var(--brabus-white);
    font-weight: 500;
    transition: all 0.2s ease;
    border-left: 2px solid transparent;
}

.widget_archive a:hover,
.widget_categories a:hover {
    background: rgba(227, 6, 19, 0.1);
    border-left-color: var(--brabus-red);
    padding-left: 1.25rem;
}

.widget_archive .count,
.widget_categories .count {
    font-size: 0.75rem;
    color: var(--brabus-text-muted);
    background: rgba(255, 255, 255, 0.05);
    padding: 0.25rem 0.5rem;
    border-radius: 2px;
}

/* Categories Widget */
.widget_categories select {
    width: 100%;
    padding: 0.875rem 1rem;
    background: var(--brabus-gray);
    border: 1px solid var(--brabus-border);
    color: var(--brabus-white);
    font-size: 0.9rem;
    cursor: pointer;
}

/* Tag Cloud Widget */
.widget_tag_cloud .tagcloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.widget_tag_cloud .tagcloud a {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--brabus-gray);
    color: var(--brabus-white);
    font-size: 0.8rem !important;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.widget_tag_cloud .tagcloud a:hover {
    background: var(--brabus-red);
    border-color: var(--brabus-red);
}

/* Calendar Widget */
.widget_calendar table {
    width: 100%;
    border-collapse: collapse;
}

.widget_calendar caption {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    color: var(--brabus-white);
}

.widget_calendar th {
    padding: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--brabus-text-muted);
    border-bottom: 1px solid var(--brabus-border);
}

.widget_calendar td {
    padding: 0.75rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.widget_calendar td a {
    display: block;
    width: 100%;
    height: 100%;
    color: var(--brabus-red);
    font-weight: 600;
}

.widget_calendar td a:hover {
    background: var(--brabus-red);
    color: var(--brabus-white);
}

/* RSS Widget */
.widget_rss ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.widget_rss li {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.widget_rss li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.widget_rss .rsswidget {
    color: var(--brabus-white);
    font-weight: 600;
    display: block;
    margin-bottom: 0.5rem;
}

.widget_rss .rsswidget:hover {
    color: var(--brabus-red);
}

.widget_rss .rss-date {
    font-size: 0.75rem;
    color: var(--brabus-text-muted);
    display: block;
    margin-bottom: 0.5rem;
}

.widget_rss .rssSummary {
    font-size: 0.85rem;
    color: var(--brabus-text);
    line-height: 1.6;
}

/* Custom Menu Widget */
.widget_nav_menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.widget_nav_menu li {
    margin-bottom: 0.5rem;
}

.widget_nav_menu a {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--brabus-white);
    background: var(--brabus-gray);
    transition: all 0.2s ease;
    border-left: 2px solid transparent;
}

.widget_nav_menu a:hover,
.widget_nav_menu .current-menu-item > a {
    background: rgba(227, 6, 19, 0.1);
    border-left-color: var(--brabus-red);
    padding-left: 1.25rem;
}

.widget_nav_menu .sub-menu {
    margin-top: 0.5rem;
    padding-left: 1rem;
}

/* Text Widget */
.textwidget {
    color: var(--brabus-text);
    line-height: 1.8;
}

.textwidget h1,
.textwidget h2,
.textwidget h3,
.textwidget h4 {
    color: var(--brabus-white);
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.textwidget a {
    color: var(--brabus-red);
}

.textwidget a:hover {
    text-decoration: underline;
}

/* Empty states */
.widget p:last-child {
    margin-bottom: 0;
}

.widget ul:empty::after {
    content: 'No items to display';
    display: block;
    color: var(--brabus-text-muted);
    font-style: italic;
    font-size: 0.9rem;
}
