/*
Theme Name: Tropic Ocean
Theme URI: https://tropicocean.ae/
Author: RoidNet
Author URI: https://roidnet.com/
Description: Premium Car Rental WordPress Theme for Tropic Ocean Rent-A-Car in Dubai. Luxury car rental with black and gold aesthetic.
Version: 1.0.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: tropicocean
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

:root {
    /* Primary Colors - Black/Gold Luxury Theme */
    --theme-primary: #0b0d10;
    --theme-primary-dark: #050608;
    --theme-primary-light: #15181d;

    /* Accent - Gold */
    --theme-accent: #c5a021;
    --theme-accent-light: #e2c05e;
    --theme-accent-dark: #a68820;

    /* Text Colors */
    --theme-text: #ffffff;
    --theme-text-secondary: #cccccc;
    --theme-text-muted: #888888;

    /* Backgrounds */
    --theme-bg: #0b0d10;
    --theme-bg-alt: #12151a;
    --theme-bg-dark: #050608;

    /* Borders */
    --theme-border: #222222;
    --theme-border-light: #333333;

    /* Success/Error/Warning */
    --theme-success: #2ecc71;
    --theme-error: #e74c3c;
    --theme-warning: #f39c12;

    /* Spacing */
    --theme-spacing-xs: 0.25rem;
    --theme-spacing-sm: 0.5rem;
    --theme-spacing-md: 1rem;
    --theme-spacing-lg: 1.5rem;
    --theme-spacing-xl: 1.5rem;
    --theme-spacing-2xl: 2.25rem;
    --theme-spacing-3xl: 3.25rem;

    /* Typography */
    --theme-font-heading: 'Plus Jakarta Sans', sans-serif;
    --theme-font-body: 'Plus Jakarta Sans', sans-serif;
    --theme-font-size-xs: 0.75rem;
    --theme-font-size-sm: 0.875rem;
    --theme-font-size-base: 1rem;
    --theme-font-size-lg: 1.125rem;
    --theme-font-size-xl: 1.15rem;
    --theme-font-size-2xl: 1.35rem;
    --theme-font-size-3xl: 1.75rem;
    --theme-font-size-4xl: 2.15rem;
    --theme-font-size-5xl: 2.65rem;

    /* Border Radius */
    --theme-radius-sm: 4px;
    --theme-radius-md: 8px;
    --theme-radius-lg: 12px;
    --theme-radius-xl: 16px;
    --theme-radius-full: 9999px;

    /* Shadows */
    --theme-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.5);
    --theme-shadow-md: 0 4px 6px rgba(0, 0, 0, 0.5);
    --theme-shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.5);
    --theme-shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.5);

    /* Container */
    --theme-container: 1200px;
    --theme-max-width: 1200px;

    /* Transitions */
    --theme-transition: all 0.3s ease;
    --theme-transition-fast: all 0.15s ease;
    --theme-transition-slow: all 0.5s ease;
}

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

html,
body {
    max-width: 100%;
    overflow-x: clip;
    position: relative;
}

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

body {
    font-family: var(--theme-font-body);
    font-size: var(--theme-font-size-base);
    line-height: 1.6;
    color: var(--theme-text);
    background-color: var(--theme-primary);
}

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

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

a:hover {
    color: var(--theme-accent-dark);
}

/* Base Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--theme-font-heading);
    font-weight: 800;
    line-height: 1.2;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: var(--theme-spacing-md);
}

h1 {
    font-size: var(--theme-font-size-5xl);
}

h2 {
    font-size: var(--theme-font-size-4xl);
}

h3 {
    font-size: var(--theme-font-size-3xl);
}

h4 {
    font-size: var(--theme-font-size-2xl);
}

h5 {
    font-size: var(--theme-font-size-xl);
}

h6 {
    font-size: var(--theme-font-size-lg);
}

p {
    margin-bottom: var(--theme-spacing-md);
    font-size: 0.95rem;
    color: var(--theme-text-secondary);
    line-height: 1.6;
}

/* Container */
.container {
    width: 100%;
    max-width: var(--theme-max-width);
    margin: 0 auto;
    padding: 0 var(--theme-spacing-lg);
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--theme-spacing-sm) var(--theme-spacing-lg);
    font-family: var(--theme-font-body);
    font-size: var(--theme-font-size-base);
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border: 2px solid transparent;
    border-radius: var(--theme-radius-md);
    cursor: pointer;
    transition: var(--theme-transition);
    gap: var(--theme-spacing-sm);
}

.btn-primary {
    background-color: var(--theme-accent);
    color: var(--theme-primary-dark);
    border-color: var(--theme-accent);
}

.btn-primary:hover {
    background-color: var(--theme-accent-dark);
    border-color: var(--theme-accent-dark);
    color: var(--theme-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--theme-shadow-md);
}

.btn-outline {
    background-color: transparent;
    color: var(--theme-accent);
    border-color: var(--theme-accent);
}

.btn-outline:hover {
    background-color: var(--theme-accent);
    color: var(--theme-primary-dark);
}

.btn-dark {
    background-color: var(--theme-primary);
    color: var(--theme-text);
    border-color: var(--theme-primary);
}

.btn-dark:hover {
    background-color: var(--theme-primary-dark);
    border-color: var(--theme-primary-dark);
    color: var(--theme-text);
}

.btn-lg {
    padding: var(--theme-spacing-md) var(--theme-spacing-xl);
    font-size: var(--theme-font-size-lg);
}

/* .btn-sm removed — unused */

/* WhatsApp Button */
.btn-whatsapp {
    background-color: #25D366;
    color: #ffffff;
    border-color: #25D366;
}

.btn-whatsapp:hover {
    background-color: #128C7E;
    border-color: #128C7E;
    color: #ffffff;
}

/* Call Button */
.btn-call {
    background-color: var(--theme-primary);
    color: var(--theme-text);
    border-color: var(--theme-primary);
}

.btn-call:hover {
    background-color: var(--theme-accent);
    border-color: var(--theme-accent);
    color: var(--theme-primary-dark);
}

/* Section Styles */
.section {
    padding: var(--theme-spacing-2xl) 0;
    /* Reduced from 3xl */
}

.section-header {
    text-align: center;
    margin-bottom: var(--theme-spacing-xl);
    /* Reduced from 2xl */
}

.section-header.text-left {
    text-align: left;
}

.section-title {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--theme-font-heading);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

/* .section-subtitle removed — theme uses .section-subtitle-gold (verified) */

/* Card Styles */
.card {
    background-color: var(--theme-bg);
    border-radius: var(--theme-radius-lg);
    box-shadow: var(--theme-shadow-md);
    overflow: hidden;
    transition: var(--theme-transition);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--theme-shadow-xl);
}

.card-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
}

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

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

.card-body {
    padding: var(--theme-spacing-lg);
}

.card-title {
    font-size: var(--theme-font-size-xl);
    margin-bottom: var(--theme-spacing-sm);
}

.card-title a {
    color: var(--theme-primary);
}

.card-title a:hover {
    color: var(--theme-accent);
}

.card-text {
    color: var(--theme-text-secondary);
    margin-bottom: var(--theme-spacing-md);
}

/* Badge Styles */
.badge {
    display: inline-flex;
    align-items: center;
    padding: var(--theme-spacing-xs) var(--theme-spacing-sm);
    font-size: var(--theme-font-size-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: var(--theme-radius-sm);
    gap: var(--theme-spacing-xs);
}

.badge-success {
    background-color: rgba(46, 204, 113, 0.15);
    color: var(--theme-success);
}

/* .badge-warning removed — unused */

.badge-accent {
    background-color: rgba(201, 162, 39, 0.15);
    color: var(--theme-accent);
}

.badge-dark {
    background-color: var(--theme-primary);
    color: var(--theme-text);
}

/* Grid System */
.grid {
    display: grid;
    gap: var(--theme-spacing-lg);
}

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

/* Responsive Grid */
/* grid-3 responsive moved to master responsive section */

/* Form Styles */
/* .form-group and .form-label removed — unused */

.form-control {
    width: 100%;
    padding: var(--theme-spacing-sm) var(--theme-spacing-md);
    font-family: var(--theme-font-body);
    font-size: var(--theme-font-size-base);
    color: var(--theme-primary);
    background-color: var(--theme-bg);
    border: 1px solid var(--theme-border);
    border-radius: var(--theme-radius-md);
    transition: var(--theme-transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--theme-accent);
    box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.1);
}

.form-control::placeholder {
    color: var(--theme-text-muted);
}

/* .form-select removed — unused */


/* Site Header */
.site-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.3s, border-color 0.3s;
}

.site-header.scrolled {
    background: rgba(13, 13, 13, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    box-shadow: var(--theme-shadow-md);
}

/* WordPress Admin Bar offset */
body.admin-bar .site-header {
    top: 32px;
}

@media (max-width: 782px) {
    body.admin-bar .site-header {
        top: 46px;
    }
}

.site-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    width: 100%;
    gap: 3rem;
}

.site-branding {
    display: flex;
    align-items: center;
    margin-right: 3rem;
    flex-shrink: 0;
}

.site-logo img,
.custom-logo-link img {
    max-height: 50px;
    max-width: 220px;
    width: auto;
    display: block;
}

.site-logo-text {
    font-family: var(--theme-font-heading);
    font-size: var(--theme-font-size-2xl);
    font-weight: 600;
    color: var(--theme-text);
}

.site-logo-text:hover {
    color: var(--theme-accent);
}

/* Site Main */
.site-main {
    min-height: 100vh;
}

/* Site Footer */
.site-footer {
    background-color: var(--theme-primary-dark);
    color: var(--theme-text-secondary);
    padding: var(--theme-spacing-3xl) 0 var(--theme-spacing-lg);
}

.site-footer a {
    color: var(--theme-text-secondary);
}

.site-footer a:hover {
    color: var(--theme-accent);
}

.footer-widgets {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--theme-spacing-xl);
    margin-bottom: var(--theme-spacing-2xl);
}

/* footer-widgets responsive moved to master block */

.footer-widget-title {
    font-size: 0.9rem;
    letter-spacing: 1px;
    color: #fff;
    margin-bottom: 1.5rem;
}

.footer-menu {
    list-style: none;
}

.footer-menu li {
    margin-bottom: 0.8rem;
}

.footer-menu a {
    color: #888;
    font-size: 0.85rem;
}

.footer-menu a:hover {
    color: var(--theme-accent);
}


/* .page-header / .page-content */
.page-header {
    background: var(--theme-bg-alt);
    padding: 10rem 0 4rem;
    text-align: center;
    position: relative;
    border-bottom: 1px solid var(--theme-border);
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
}

.page-content {
    padding: var(--theme-spacing-3xl) 0;
}

@media (max-width: 768px) {
    .page-header {
        padding: 7rem 0 3rem;
    }

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


/* .car-card-actions, .car-card-actions .btn-whatsapp kept for premium card below */




/* Floating WhatsApp Button */
.floating-whatsapp {
    position: fixed;
    bottom: var(--theme-spacing-lg);
    right: var(--theme-spacing-lg);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: var(--theme-radius-full);
    box-shadow: var(--theme-shadow-lg);
    transition: var(--theme-transition);
    text-decoration: none;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    box-shadow: var(--theme-shadow-xl);
}

.floating-whatsapp svg {
    width: 32px;
    height: 32px;
    fill: #ffffff;
    position: relative;
    z-index: 2;
}

/* WhatsApp pulse ring animation */
.floating-whatsapp__pulse {
    position: absolute;
    inset: 0;
    border-radius: var(--theme-radius-full);
    background-color: #25D366;
    animation: whatsapp-pulse 2s ease-out infinite;
    z-index: 1;
    pointer-events: none;
}

@keyframes whatsapp-pulse {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }

    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

/* WhatsApp red notification badge */
.floating-whatsapp__badge {
    position: absolute;
    top: -4px;
    right: -4px;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    background-color: #ff0000;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    border-radius: var(--theme-radius-full);
    border: 2px solid var(--theme-bg-dark, #0a0a0a);
    box-shadow: 0 2px 6px rgba(255, 0, 0, 0.4);
    animation: badge-bounce 2s ease-in-out infinite;
}

@keyframes badge-bounce {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.15);
    }
}




/* Contact Page — styles are in page-templates/template-contact.php */


/* Utilities */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.text-accent {
    color: var(--theme-accent);
}

.text-muted {
    color: var(--theme-text-muted);
}

.text-secondary {
    color: var(--theme-text-secondary);
}

.bg-primary {
    background-color: var(--theme-primary);
}

.bg-accent {
    background-color: var(--theme-accent);
}

.bg-dark {
    background-color: var(--theme-bg-dark);
}

.bg-light {
    background-color: var(--theme-bg-alt);
}

.mt-0 {
    margin-top: 0;
}

.mt-1 {
    margin-top: var(--theme-spacing-sm);
}

.mt-2 {
    margin-top: var(--theme-spacing-md);
}

.mt-3 {
    margin-top: var(--theme-spacing-lg);
}

.mt-4 {
    margin-top: var(--theme-spacing-xl);
}

.mt-5 {
    margin-top: var(--theme-spacing-2xl);
}

.mb-0 {
    margin-bottom: 0;
}

.mb-1 {
    margin-bottom: var(--theme-spacing-sm);
}

.mb-2 {
    margin-bottom: var(--theme-spacing-md);
}

.mb-3 {
    margin-bottom: var(--theme-spacing-lg);
}

.mb-4 {
    margin-bottom: var(--theme-spacing-xl);
}

.mb-5 {
    margin-bottom: var(--theme-spacing-2xl);
}

.py-5 {
    padding-top: var(--theme-spacing-2xl);
    padding-bottom: var(--theme-spacing-2xl);
}

/* visibility utilities moved to master responsive section */

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.animate-slide-up {
    animation: slideUp 0.5s ease forwards;
}

/* Staggered animations */
.car-card:nth-child(1) {
    animation-delay: 0s;
}

.car-card:nth-child(2) {
    animation-delay: 0.1s;
}

.car-card:nth-child(3) {
    animation-delay: 0.2s;
}

.car-card:nth-child(4) {
    animation-delay: 0.3s;
}

.car-card:nth-child(5) {
    animation-delay: 0.4s;
}

.car-card:nth-child(6) {
    animation-delay: 0.5s;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* WordPress utilities */
.wp-block-button__link {
    background-color: var(--theme-accent);
    color: var(--theme-primary-dark);
    padding: var(--theme-spacing-sm) var(--theme-spacing-lg);
    border-radius: var(--theme-radius-md);
    transition: var(--theme-transition);
}

.wp-block-button__link:hover {
    background-color: var(--theme-accent-dark);
    color: var(--theme-primary-dark);
}


/* .section-title merged into definition above */

.text-gold {
    background: linear-gradient(135deg, #e2c05e 0%, #c5a021 50%, #a68820 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    font-weight: 600;
}

.hero-subtitle-gold,
.section-subtitle-gold {
    color: var(--theme-accent);
    font-size: 0.75rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 0.8rem;
    display: block;
    font-family: var(--theme-font-heading);
}

.btn-gold {
    background: linear-gradient(135deg, #e2c05e 0%, #c5a021 50%, #a68820 100%) !important;
    color: #000000 !important;
    border: none !important;
    text-transform: uppercase;
    font-weight: 600;
    transition: 0.3s;
    letter-spacing: 1px;
    padding: 0.6rem 1.4rem;
    /* Smaller, more elegant size */
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.85rem;
}

.btn-gold:hover {
    background: linear-gradient(135deg, #fdf1a9 0%, #e2c05e 50%, #c5a021 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(197, 160, 33, 0.4);
}

.space-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* Changed from flex-end to center */
    margin-bottom: 1rem;
    /* Reduced space between header and content */
    text-align: left;
    gap: 1rem;
}

.brand-nav-btns {
    display: flex;
    gap: 0.8rem;
}

.slider-nav-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.8rem;
}

.slider-nav-btn:hover {
    border-color: var(--theme-accent);
    color: var(--theme-accent);
    background: rgba(197, 160, 33, 0.05);
}

.view-all-link {
    color: var(--theme-accent);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.view-all-link:hover {
    color: #fff;
}

/* Brands Grid */
.brands-grid {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    padding: 0.5rem 0.5rem 1rem;
    scrollbar-width: none;
    /* Hide scrollbar for Firefox */
    -ms-overflow-style: none;
    /* Hide scrollbar for IE/Edge */
    -webkit-overflow-scrolling: touch;
}

.brands-grid::-webkit-scrollbar {
    display: none;
    /* Hide scrollbar for Chrome/Safari */
}

.brand-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    min-width: 150px;
    padding: 1.5rem 1rem;
    text-align: center;
    transition: all 0.3s ease;
    flex: 0 0 auto;
}

.brand-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--theme-accent);
    transform: translateY(-5px);
}

.brand-logo-wrapper {
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.brand-logo-wrapper img {
    max-height: 100%;
    max-width: 100px;
    filter: brightness(0) invert(1);
    opacity: 0.8;
    transition: 0.3s;
}

.brand-card:hover .brand-logo-wrapper img {
    opacity: 1;
    transform: scale(1.05);
}

.brand-name {
    font-size: 0.75rem;
    margin: 0;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 500;
}

.brand-count {
    display: none;
}

.section.prestige-collection {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.featured-cars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.car-card-premium {
    background: #12151a;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.4s, box-shadow 0.4s;
    position: relative;
    height: 100%;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.car-card-premium:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6);
    border-color: rgba(197, 160, 33, 0.2);
}

.car-card-premium-image {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.car-card-premium-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s;
}

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

.car-card-link-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.car-card-brand-logo {
    position: absolute;
    top: 1.2rem;
    left: 1.2rem;
    width: 60px;
    height: 35px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    padding: 5px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.car-card-brand-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.car-card-badges {
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    z-index: 2;
}

.car-card-badges .badge {
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 4px 10px;
    font-size: 0.6rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.car-card-premium-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.car-card-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
}

.car-category {
    font-size: 0.65rem;
    color: var(--theme-accent);
    background: rgba(197, 160, 33, 0.1);
    padding: 2px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.car-specs-mini {
    font-size: 0.75rem;
    color: #aaa;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.car-card-premium .car-title {
    font-size: 1.2rem;
    margin-bottom: 1.2rem;
    font-weight: 700;
    line-height: 1.3;
    text-transform: none;
}

.car-card-premium .car-title a {
    color: #fff;
    position: relative;
    z-index: 2;
}

.car-card-bottom {
    margin-top: auto;
    margin-bottom: 1.2rem;
}

.car-card-premium .car-price {
    color: var(--theme-accent);
}

.car-card-premium .car-price .amount {
    font-size: 1.4rem;
    font-weight: 700;
}

.car-card-premium .car-price .currency {
    font-size: 0.85rem;
    font-weight: 600;
    margin-right: 2px;
}

.car-card-premium .car-price .period {
    font-size: 0.8rem;
    color: #777;
    margin-left: 2px;
}

.car-card-actions {
    display: flex;
    gap: 0.8rem;
    position: relative;
    z-index: 2;
}

.btn-action {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 46px;
    border-radius: 10px;
    font-size: 1.2rem;
    transition: all 0.3s;
}

.btn-call {
    background: #b8951d;
    color: #000;
}

.btn-whatsapp {
    background: #25D366;
    color: #fff;
}

.btn-action:hover {
    filter: brightness(1.1);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.btn-action i {
    font-size: 1.2rem;
}

.featured-cars-action {
    text-align: center;
    margin-top: 3rem;
}

.section.featured-cars {
    padding-bottom: 1rem;
}

/* featured-cars responsive moved to master responsive section */

/* Features Info Section */
.features-info-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    background: #0d0d0d;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 3.5rem 1.5rem;
    margin: 1.5rem 0 -12rem;
    /* Reduced top margin and maintained deeper overlap */
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.9);
    position: relative;
    z-index: 10;
}

.section.features-info {
    padding-top: 0;
}

.feature-info-item {
    text-align: center;
    padding: 0 1.5rem;
    position: relative;
}

.feature-info-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 15%;
    height: 70%;
    width: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.feature-info-item i {
    font-size: 1.6rem;
    color: var(--theme-accent);
    margin-bottom: 1.5rem;
    display: block;
}

.feature-info-item h4 {
    font-size: 0.8rem;
    margin-bottom: 0.8rem;
    color: #fff;
    letter-spacing: 1.5px;
    font-weight: 600;
    line-height: 1.3;
    text-transform: uppercase;
    font-family: var(--theme-font-heading);
}

.feature-info-item p {
    font-size: 0.75rem;
    color: #888;
    line-height: 1.5;
    margin: 0;
}

/* Header & Nav */
.site-header .container {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 4%;
    margin: 0 !important;
}

/* .site-header-inner merged into header definition above */

.main-navigation ul {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-navigation a {
    color: #ffffff;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    font-weight: 600;
    transition: 0.3s;
}

.main-navigation a:hover,
.main-navigation .current-menu-item a {
    color: var(--theme-gold);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-left: auto;
    /* Push to right */
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 100%;
    height: 2px;
    background-color: #fff;
    transition: all 0.3s ease-in-out;
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
    background-color: var(--theme-accent);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
    background-color: var(--theme-accent);
}


.currency-selector i {
    font-size: 0.7rem;
    margin-left: 0.2rem;
}


/* CTA */
.cta-section-premium {
    position: relative;
    padding: 18rem 0 10rem;
    /* Increased top padding to accommodate deeper overlap */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-top: none;
    /* Removed the line above the image as requested */
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(11, 13, 16, 1) 0%,
            rgba(11, 13, 16, 0.3) 40%,
            rgba(11, 13, 16, 0.8) 100%);
}

.cta-container {
    position: relative;
    z-index: 2;
}

.cta-content {
    max-width: 500px;
}

.cta-title {
    font-size: 3rem;
    color: #fff;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.cta-description {
    color: #ccc;
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Testimonials / Google Reviews */
.testimonials-section {
    background-color: var(--theme-bg);
    padding: 12rem 0 6rem;
    position: relative;
    overflow: visible;
    margin-bottom: -16rem;
    z-index: 5;
}

.testimonials-section::after {
    content: '';
    position: absolute;
    bottom: -10rem;
    /* Match the negative margin */
    left: 0;
    right: 0;
    height: 15rem;
    background: linear-gradient(to bottom,
            var(--theme-bg) 0%,
            rgba(11, 13, 16, 0.8) 50%,
            transparent 100%);
    pointer-events: none;
    z-index: 1;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.testimonial-card {
    background: var(--theme-bg-alt);
    padding: 1.5rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--theme-transition-slow);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: var(--theme-accent-dark);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.testimonial-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.testimonial-stars {
    display: flex;
    gap: 3px;
    color: var(--theme-accent);
    font-size: 0.75rem;
}

.google-icon-small {
    color: #fff;
    opacity: 0.4;
    font-size: 1rem;
}

.testimonial-text {
    font-style: italic;
    color: var(--theme-text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
    font-size: 0.8rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.testimonial-footer {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 1rem;
}

.testimonial-avatar {
    width: 35px;
    height: 35px;
    background: var(--theme-accent-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #000;
    font-size: 0.9rem;
    text-transform: uppercase;
    flex-shrink: 0;
}

.testimonial-info h4 {
    font-size: 0.8rem;
    margin-bottom: 0.1rem;
    text-transform: capitalize;
    letter-spacing: 0.3px;
}

.testimonial-info span {
    font-size: 0.65rem;
    color: var(--theme-text-muted);
}

@media (max-width: 992px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }

    .testimonial-card {
        padding: 1rem;
    }

    .testimonial-text {
        font-size: 0.75rem;
    }
}


/* Footer 5 Col */
.footer-5-col {
    grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
    gap: 2rem;
}

.footer-logo h3 {
    font-size: 1.5rem;
    letter-spacing: 2px;
}

.footer-about-text {
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    color: #888;
    line-height: 1.6;
}

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

.footer-social-icons a {
    width: 35px;
    height: 35px;
    border: 1px solid #333;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    font-size: 0.9rem;
    transition: 0.3s;
}

/* Redundant footer utilities merged */

.footer-payment-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.footer-payment-logo {
    height: 28px;
    width: auto;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.footer-payment-logo:hover {
    opacity: 1;
}

.contact-menu i {
    margin-right: 0.8rem;
    color: var(--theme-accent);
}

.contact-menu li {
    color: #888;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
}

.footer-bottom {
    display: flex;
    justify-content: center;
    border-top: 1px solid #222;
    padding-top: 2rem;
    margin-top: 3rem;
}

.site-credits p {
    color: #666;
    font-size: 0.85rem;
}

.site-credits a {
    color: var(--theme-accent, #c9a84c);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.site-credits a:hover {
    color: var(--theme-accent-light, #e0c878);
}

/* Hero Specific */
.hero {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(11, 13, 16, 0.3) 0%,
            rgba(11, 13, 16, 0) 50%,
            rgba(11, 13, 16, 1) 100%);
    z-index: 1;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 4rem;
    left: 8%;
    right: 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 5;
}

.scroll-line-container {
    flex-grow: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    position: relative;
    margin-right: 4rem;
}

.scroll-line-active {
    position: absolute;
    left: 0;
    top: 0;
    height: 1px;
    width: 100px;
    background: var(--theme-accent);
    box-shadow: 0 0 10px var(--theme-accent);
}

.scroll-info {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.scroll-label {
    font-size: 0.65rem;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 600;
    text-transform: uppercase;
}

.scroll-icon-mouse {
    width: 22px;
    height: 36px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    position: relative;
}

.mouse-wheel {
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 8px;
    background: var(--theme-accent);
    border-radius: 2px;
    animation: scrollMouseAnim 2s infinite;
}

@keyframes scrollMouseAnim {
    0% {
        transform: translate(-50%, 0);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, 12px);
        opacity: 0;
    }
}

.hero-container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    position: relative;
    z-index: 10;
    padding-top: 100px;
    margin-left: 0 !important;
    /* Force to left */
    max-width: 100%;
    padding-left: 8%;
}

.hero-content {
    text-align: left;
    margin: 0;
    padding: 0;
    max-width: 600px;
}

.hero-title {
    font-size: clamp(3.5rem, 8vw, 6rem);
    line-height: 0.9;
    margin-bottom: 1.5rem;
    text-shadow: none;
    letter-spacing: -1px;
    font-weight: 900;
    font-family: var(--theme-font-heading);
}

.hero-description {
    font-size: 1rem;
    color: #ccc;
    margin-bottom: 2.5rem;
    line-height: 1.6;
    max-width: 90%;
}

.hero-actions {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.btn-watch-video {
    background: transparent;
    border: none;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    letter-spacing: 1px;
}

.btn-watch-video:hover {
    color: var(--theme-accent);
}

.play-icon {
    width: 45px;
    height: 45px;
    border: 1px solid var(--theme-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--theme-accent);
    transition: 0.3s;
}

.btn-watch-video:hover .play-icon {
    background: var(--theme-accent);
    color: #000;
}

.hero-features {
    width: 320px;
}

.hero-feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hero-feature-list li {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    background: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(10px);
    padding: 1.2rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #ccc;
    transition: 0.3s;
}

.hero-feature-list li:hover {
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateX(-5px);
}

.hero-feature-list li i {
    color: var(--theme-accent);
    font-size: 1.4rem;
}

/* Scroll elements removed */
.slider-controls {
    display: flex;
    gap: 0.8rem;
}

.slider-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #333;
    background: transparent;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.slider-btn:hover {
    border-color: var(--theme-accent);
    color: var(--theme-accent);
}

/* ─── Archive Cars Page ─── */

/* ─── Car Detail Page ─── */

/* ─── Brand Archive Page ─── */

.brand-archive-hero {
    position: relative;
    padding: 12rem 0 5rem;
    background: var(--theme-primary-dark);
    overflow: hidden;
    text-align: center;
}

.brand-archive-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center top, rgba(197, 160, 33, 0.04) 0%, transparent 70%);
    pointer-events: none;
}

.brand-archive-content {
    position: relative;
    z-index: 2;
}

.brand-archive-logo {
    margin-bottom: 1.5rem;
}

.brand-archive-logo img {
    height: 70px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.brand-archive-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1;
    margin-bottom: 1rem;
}

.brand-archive-count {
    font-size: 1rem;
    color: #888;
    letter-spacing: 0.3px;
}

.brand-archive-count strong {
    color: var(--theme-accent);
}

.brand-archive-desc {
    max-width: 500px;
    margin: 1rem auto 0;
    color: #aaa;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* brand-archive responsive moved to master block */

/* Detail Hero / Breadcrumb */
.car-detail-hero {
    background: var(--theme-primary-dark);
    padding: 10rem 0 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.car-detail-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.6rem;
    font-size: 0.75rem;
    color: #666;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.car-detail-breadcrumb a {
    color: #888;
    transition: color 0.3s;
}

.car-detail-breadcrumb a:hover {
    color: var(--theme-accent);
}

.car-detail-breadcrumb i {
    font-size: 0.5rem;
    color: #444;
}

.car-detail-hero-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.car-detail-hero-title h1 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    line-height: 1.1;
    text-transform: none;
    margin-bottom: 0;
    overflow-wrap: break-word;
    word-break: break-word;
}

.car-detail-cat-badge {
    display: inline-block;
    font-size: 0.65rem;
    color: var(--theme-accent);
    background: rgba(197, 160, 33, 0.1);
    padding: 3px 10px;
    border-radius: 4px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 0.8rem;
}

.car-detail-hero-brand {
    background: rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 14px 20px;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.3s;
}

.car-detail-hero-brand:hover {
    border-color: var(--theme-accent);
    background: rgba(197, 160, 33, 0.05);
}

.car-detail-hero-brand img {
    height: 45px;
    width: auto;
    max-width: 90px;
    object-fit: contain;
    display: block;
}

/* Detail Section */
.car-detail-section {
    padding-top: 2.5rem;
    padding-bottom: 1rem;
}

.car-detail-description {
    margin-top: 2rem;
    font-size: 1rem;
    line-height: 1.8;
    color: var(--theme-text-secondary);
    overflow-wrap: break-word;
    word-break: break-word;
}

.car-detail-description img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.car-detail-description table {
    width: 100%;
    max-width: 100%;
    margin-bottom: 1.5rem;
    border-collapse: collapse;
}

.car-detail-description table,
.car-detail-description th,
.car-detail-description td {
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.75rem;
}

/* Detail Grid — Gallery Left, Info Right */
.car-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 2.5rem;
    align-items: start;
    overflow: visible !important;
}

.car-detail-col-info {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 100px !important;
    z-index: 10;
    align-self: start !important;
    will-change: transform;
}

body.admin-bar .car-detail-col-info {
    top: 132px !important;
}

.site-main,
.car-detail-section,
.car-detail-section .container {
    overflow: visible !important;
}

/* ─── Premium Gallery ─── */
.gallery-main-wrap {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: #000;
    aspect-ratio: 16 / 10;
}

.gallery-main {
    position: relative;
    width: 100%;
    height: 100%;
}

.gallery-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.gallery-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Gallery Nav Arrows */
.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(6px);
    color: #fff;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    opacity: 0;
}

.gallery-main-wrap:hover .gallery-nav {
    opacity: 1;
}

.gallery-nav:hover {
    background: var(--theme-accent);
    color: #000;
}

.gallery-prev {
    left: 1rem;
}

.gallery-next {
    right: 1rem;
}

/* Gallery Counter */
.gallery-counter {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(6px);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 14px;
    border-radius: 20px;
    letter-spacing: 0.5px;
}

/* Gallery Expand */
.gallery-expand {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 5;
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(6px);
    color: #fff;
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    opacity: 0;
}

.gallery-main-wrap:hover .gallery-expand {
    opacity: 1;
}

.gallery-expand:hover {
    background: var(--theme-accent);
    color: #000;
}

/* Gallery Thumbnails */
.gallery-thumbs {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.75rem;
    overflow-x: auto;
    padding-bottom: 0.25rem;
    scrollbar-width: none;
    max-width: 100%;
    -webkit-overflow-scrolling: touch;
}

.gallery-thumbs::-webkit-scrollbar {
    display: none;
}

.gallery-thumb {
    flex: 0 0 auto;
    width: 80px;
    height: 55px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s;
    padding: 0;
    background: none;
    opacity: 0.5;
}

.gallery-thumb:hover {
    opacity: 0.8;
}

.gallery-thumb.active {
    opacity: 1;
    border-color: var(--theme-accent);
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ─── Lightbox ─── */
/* Lightbox Styles */
.gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
}

.gallery-lightbox.open {
    opacity: 1;
    visibility: visible;
}

.lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
}

.lightbox-content {
    position: relative;
    z-index: 2;
    max-width: 90vw;
    max-height: 85vh;
}

.lightbox-content img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
}

.lightbox-close,
.lightbox-nav {
    position: absolute;
    z-index: 3;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.lightbox-close {
    top: 1.5rem;
    right: 1.5rem;
    width: 44px;
    height: 44px;
}

.lightbox-nav {
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
}

.lightbox-nav:hover {
    background: var(--theme-accent);
    color: #000;
    border-color: var(--theme-accent);
}

.lightbox-prev {
    left: 1.5rem;
}

.lightbox-next {
    right: 1.5rem;
}

.lightbox-counter {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    background: rgba(255, 255, 255, 0.08);
    color: #ccc;
    font-size: 0.8rem;
    padding: 6px 18px;
    border-radius: 20px;
}

/* Archive Results Info */
.archive-results-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2.5rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.archive-results-count {
    font-size: 0.8rem;
    color: var(--theme-text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-block {
    display: flex !important;
    width: 100% !important;
    margin-bottom: 0.5rem;
}

.btn-block:last-child {
    margin-bottom: 0;
}

/* ─── Price Card ─── */
.car-detail-price-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.car-detail-price-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle at top right, rgba(197, 160, 33, 0.1), transparent 70%);
    pointer-events: none;
}

.price-card-top {
    text-align: center;
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.price-card-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--theme-text-muted);
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.price-card-value {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 8px;
}

.price-currency {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--theme-text-secondary);
}

.price-amount {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--theme-accent);
    line-height: 1;
    font-family: var(--theme-font-heading);
    letter-spacing: -1px;
}

.contact-for-price-single {
    font-size: 1.5rem !important;
    color: var(--theme-accent);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.price-period {
    font-size: 0.9rem;
    color: var(--theme-text-muted);
    font-weight: 600;
    margin-left: 2px;
}

.price-card-badges {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.price-badge {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.85rem 1.2rem;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--theme-text-secondary);
    transition: all 0.3s ease;
}

.price-badge i {
    font-size: 1rem;
    width: 20px;
    text-align: center;
}

.price-badge.badge-green i {
    color: #2ecc71;
}

.price-badge.badge-gold i {
    color: #c5a021;
}

.price-badge.badge-blue i {
    color: #3498db;
}

.price-badge.badge-purple i {
    color: #9b59b6;
}

.price-badge:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    transform: translateX(5px);
}

.price-card-cta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.price-card-cta .btn {
    padding: 1.1rem 1.5rem;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 14px;
}

.price-card-cta .btn-gold {
    box-shadow: 0 10px 20px rgba(197, 160, 33, 0.2);
}

.price-card-cta .btn-gold:hover {
    box-shadow: 0 15px 30px rgba(197, 160, 33, 0.3);
}

.car-specs-premium {
    margin-bottom: 1.5rem;
}

.specs-grid-detail {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.spec-item-detail {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: 0.3s;
}

.spec-item-detail.spec-item-center {
    grid-column: 1 / -1;
}

@media (max-width: 991px) {
    .car-detail-col-info {
        position: relative !important;
        top: 0 !important;
    }
}

.spec-item-detail:hover {
    border-color: rgba(197, 160, 33, 0.15);
    background: rgba(197, 160, 33, 0.02);
}

.spec-item-detail>i {
    font-size: 1rem;
    color: var(--theme-accent);
    width: 20px;
    text-align: center;
}

.spec-detail-value {
    font-size: 0.9rem;
    color: #fff;
    font-weight: 600;
    display: block;
    overflow-wrap: break-word;
    word-break: break-word;
}

.archive-hero {
    position: relative;
    padding: 12rem 0 6rem;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.archive-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(11, 13, 16, 0.6) 0%, rgba(11, 13, 16, 0.4) 40%, rgba(11, 13, 16, 1) 100%);
    z-index: 1;
}

.archive-hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1;
    margin-bottom: 1.5rem;
    text-align: center;
}

.archive-filter-bar {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.archive-filter-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 1.1rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: #aaa;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50px;
    transition: 0.3s;
}

.archive-filter-pill.active {
    color: #000;
    background: var(--theme-accent);
    border-color: var(--theme-accent);
}

.archive-pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3.5rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.archive-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #888;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
}

.archive-pagination .page-numbers.current {
    color: #000;
    background: var(--theme-accent);
    border-color: var(--theme-accent);
}

.archive-pagination .page-numbers.prev,
.archive-pagination .page-numbers.next {
    color: var(--theme-accent);
    border-color: rgba(197, 160, 33, 0.2);
    background: transparent;
}

.archive-pagination .page-numbers.prev:hover,
.archive-pagination .page-numbers.next:hover {
    color: #000;
    background: var(--theme-accent);
    border-color: var(--theme-accent);
}

.archive-pagination .page-numbers.dots {
    background: transparent;
    border-color: transparent;
    color: #555;
    cursor: default;
}

.archive-pagination .page-numbers.dots:hover {
    color: #555;
    background: transparent;
    border-color: transparent;
}

/* Archive Empty State */
.archive-empty {
    text-align: center;
    padding: 6rem 2rem;
}

.archive-empty-icon {
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.06);
    margin-bottom: 2rem;
    display: block;
}

.archive-empty h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-transform: none;
}

.archive-empty p {
    margin-bottom: 2rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

/* Archive Main Section */
.archive-main-section {
    padding-top: 3rem;
    padding-bottom: 0;
    margin-bottom: -12rem;
    position: relative;
    z-index: 10;
}

/* Archive Responsive */
/* archive responsive moved to master block */

/* hero-features responsive moved to master block */

/* ============================================
   BLOG ARCHIVE STYLES
   ============================================ */

/* Blog Hero */
.blog-hero {
    position: relative;
    min-height: 420px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
}

.blog-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(5, 6, 8, 0.75) 0%,
            rgba(11, 13, 16, 0.88) 100%);
    z-index: 1;
}

.blog-hero__container {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 4rem 0;
}

.blog-hero__kicker {
    color: var(--theme-accent);
    font-size: 0.75rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 1rem;
    font-family: var(--theme-font-heading);
}

.blog-hero__title {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.25rem;
}

.blog-hero__breadcrumb {
    font-size: 0.85rem;
    color: var(--theme-text-muted);
}

.blog-hero__breadcrumb a {
    color: var(--theme-text-muted);
    transition: color 0.3s;
}

.blog-hero__breadcrumb a:hover {
    color: var(--theme-accent);
}

.blog-hero__sep {
    margin: 0 0.5rem;
    color: var(--theme-accent);
}

/* blog-hero responsive moved to master block */

/* blog-hero responsive 576 moved to master block */

/* Blog Breadcrumb (used in single.php) */
.blog-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    font-size: 0.85rem;
    color: var(--theme-text-muted);
    flex-wrap: wrap;
}

.blog-breadcrumb a {
    color: var(--theme-text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-breadcrumb a:hover {
    color: var(--theme-accent);
}

.blog-breadcrumb i {
    font-size: 0.55rem;
    color: var(--theme-border-light);
}

.blog-breadcrumb span {
    color: var(--theme-text-secondary);
}

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

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

/* Blog Card */
.blog-card {
    background: var(--theme-primary-light);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--theme-radius-lg);
    overflow: hidden;
    transition: var(--theme-transition);
}

.blog-card:hover {
    border-color: rgba(197, 160, 33, 0.15);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    transform: translateY(-4px);
}

/* Blog Card Image */
.blog-card__image {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.blog-card__image a {
    display: block;
    width: 100%;
    height: 100%;
}

.blog-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.blog-card:hover .blog-card__image img {
    transform: scale(1.08);
}

.blog-card__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--theme-bg-alt);
}

.blog-card__placeholder i {
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.06);
}

/* Blog Card Body */
.blog-card__body {
    padding: 1.5rem;
}

.blog-card__meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    font-size: 0.78rem;
    color: var(--theme-text-muted);
}

.blog-card__meta time,
.blog-card__meta-cat {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.blog-card__meta i {
    font-size: 0.7rem;
    color: var(--theme-accent);
}

.blog-card__meta-sep {
    color: var(--theme-border-light);
}

.blog-card__title {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 0.75rem;
    text-transform: none;
    letter-spacing: 0;
}

.blog-card__title a {
    color: var(--theme-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-card__title a:hover {
    color: var(--theme-accent);
}

/* Blog & Single Post Styles */
.blog-card {
    background: var(--theme-bg-alt);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s;
}

.blog-card:hover {
    transform: translateY(-5px);
    border-color: rgba(197, 160, 33, 0.2);
}

.blog-card__image {
    aspect-ratio: 16/9;
    overflow: hidden;
}

.blog-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.blog-card:hover .blog-card__image img {
    transform: scale(1.05);
}

.blog-card__body {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-card__meta {
    display: flex;
    gap: 1rem;
    font-size: 0.75rem;
    color: var(--theme-text-muted);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.blog-card__title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    line-height: 1.4;
    text-transform: none;
}

.blog-card__title a {
    color: #fff;
}

.blog-card__title a:hover {
    color: var(--theme-accent);
}

.blog-card__excerpt {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--theme-text-muted);
    margin-bottom: 1.25rem;
}

.blog-card__read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--theme-accent);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-card__read-more:hover {
    color: var(--theme-accent-light);
}

.blog-card__read-more i {
    transition: transform 0.3s;
    font-size: 0.7rem;
}

.blog-card__read-more:hover i {
    transform: translateX(4px);
}

/* Single Post Hero */
.single-post-hero {
    position: relative;
    padding: 14rem 0 5rem;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.single-post-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(11, 13, 16, 0.5) 0%, rgba(11, 13, 16, 0.6) 40%, rgba(11, 13, 16, 1) 100%);
    z-index: 1;
}

.single-post-hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.single-post-hero__category {
    display: inline-block;
    padding: 0.35rem 1rem;
    background: linear-gradient(135deg, #e2c05e 0%, #c5a021 50%, #a68820 100%);
    color: #000;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 50px;
    margin-bottom: 1.25rem;
}

.single-post-hero__title {
    font-size: clamp(1.8rem, 4vw, 3rem);
    line-height: 1.15;
    color: #fff;
    margin-bottom: 1.5rem;
    text-transform: none;
    font-weight: 800;
}

.single-post-hero__meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    font-size: 0.88rem;
    color: var(--theme-text-secondary);
    flex-wrap: wrap;
}

.single-post-hero__meta i {
    color: var(--theme-accent);
    font-size: 0.8rem;
}

/* Single Post Layout */
.single-post-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 3rem;
    align-items: flex-start;
    padding-top: 2rem;
}

.single-post-featured-image {
    margin-bottom: 2rem;
    border-radius: 12px;
    overflow: hidden;
}

.single-post-article__content {
    color: var(--theme-text-secondary);
    font-size: 1.05rem;
    line-height: 1.85;
}

.single-post-article__content h1,
.single-post-article__content h2,
.single-post-article__content h3 {
    color: #fff;
    margin: 2rem 0 1rem;
    text-transform: none;
}

.single-post-article__content h2 {
    font-size: 1.75rem;
}

.single-post-article__content blockquote {
    margin: 2rem 0;
    padding: 1.5rem 2rem;
    border-left: 3px solid var(--theme-accent);
    background: rgba(255, 255, 255, 0.02);
    font-style: italic;
}

/* Post Extras */
.post-tags,
.post-share {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 2rem 0;
    padding: 1.5rem 0;
    border-top: 1px solid var(--theme-border);
}

.post-tag-pill {
    padding: 0.3rem 0.85rem;
    font-size: 0.78rem;
    color: var(--theme-text-secondary);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--theme-border);
    border-radius: 50px;
}

.post-share__btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--theme-border);
    background: rgba(255, 255, 255, 0.03);
    color: var(--theme-text-muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
    position: relative;
    cursor: pointer;
}

.post-share__btn:hover {
    border-color: var(--theme-accent);
    color: var(--theme-accent);
    background: rgba(197, 160, 33, 0.08);
}

.post-share__copy-tooltip {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    padding: 0.3rem 0.7rem;
    background: var(--theme-accent);
    color: #000;
    font-size: 0.72rem;
    font-weight: 600;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: 0.3s;
}

.post-share__btn--copy.copied .post-share__copy-tooltip {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Sidebar */
.single-post-sidebar {
    position: sticky;
    top: 6rem;
}

/* Sidebar Widgets */
.sidebar-widget {
    background: var(--theme-primary-light);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.sidebar-widget__title {
    font-size: 0.78rem;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--theme-border);
    text-transform: uppercase;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.sidebar-widget__title i {
    color: var(--theme-accent);
    font-size: 0.9rem;
}

.sidebar-recent-item {
    display: flex;
    gap: 0.85rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.sidebar-recent-item__thumb {
    width: 60px;
    height: 45px;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
}

.sidebar-recent-item__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sidebar-recent-item__info {
    flex-grow: 1;
    min-width: 0;
}

.sidebar-recent-item__title {
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
    line-height: 1.35;
    transition: 0.3s;
    display: block;
    margin-bottom: 4px;
}

.sidebar-recent-item__title:hover {
    color: var(--theme-accent);
}

.sidebar-recent-item__date {
    font-size: 0.72rem;
    color: var(--theme-text-muted);
}

.sidebar-widget__categories {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-widget__categories li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.sidebar-widget__categories a {
    display: flex;
    justify-content: space-between;
    padding: 0.65rem 0;
    font-size: 0.88rem;
    color: var(--theme-text-secondary);
    transition: 0.3s;
}

.sidebar-widget__categories a:hover {
    color: var(--theme-accent);
    padding-left: 5px;
}

.sidebar-cat-count {
    font-size: 0.72rem;
    background: rgba(255, 255, 255, 0.04);
    padding: 2px 8px;
    border-radius: 50px;
    color: var(--theme-text-muted);
}

.sidebar-widget--cta {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid rgba(197, 160, 33, 0.1);
}

.sidebar-cta {
    text-align: left;
    padding: 0.5rem 0;
}

.sidebar-cta__icon {
    font-size: 1.5rem;
    color: var(--theme-accent);
    margin-bottom: 1rem;
    display: block;
}

.sidebar-cta__title {
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.75rem;
    letter-spacing: -0.5px;
}

.sidebar-cta__text {
    font-size: 0.9rem;
    color: var(--theme-text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}


/* ============================================
   RELATED POSTS SECTION
   ============================================ */

.related-posts {
    background: var(--theme-bg-alt);
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

/* MASTER RESPONSIVE SECTION follows */

/* ==========================================================================
   MASTER RESPONSIVE SECTION (Consolidated)
   ========================================================================== */

/* Large Tablets / Laptops (1024px) */
@media (max-width: 1024px) {
    .single-post-layout {
        grid-template-columns: 1fr;
    }

    .single-post-sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

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

/* Small Laptops (992px) */
@media (max-width: 992px) {
    .hero-container {
        flex-direction: column;
        justify-content: center;
        padding-top: 80px;
    }

    .hero-features {
        margin-top: 3rem;
        width: 100%;
        max-width: 400px;
    }

    .featured-cars-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .features-info-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 2rem 1rem;
    }

    .feature-info-item::after {
        display: none;
    }

    .car-detail-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .car-detail-hero {
        padding: 9rem 0 1.5rem;
    }

    .car-detail-hero-title h1 {
        font-size: 1.6rem;
    }

    .specs-grid-detail {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Tablets (768px) */
@media (max-width: 768px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .site-header-inner {
        padding: 0.8rem 0;
    }

    .hide-mobile {
        display: none !important;
    }

    /* Archive */
    .archive-hero {
        padding: 10rem 0 4rem;
    }

    .archive-main-section {
        margin-bottom: -8rem;
    }

    .archive-filter-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .archive-filter-pills {
        width: 100%;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 0.5rem;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .archive-filter-pills::-webkit-scrollbar {
        display: none;
    }

    .archive-hero-title {
        font-size: 2.2rem;
    }

    .archive-pagination {
        flex-wrap: wrap;
    }

    /* Fleet / Features */
    .featured-cars-grid,
    .features-info-grid {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    /* Brand Archive */
    .brand-archive-hero {
        padding: 9rem 0 3rem;
    }

    .brand-archive-title {
        font-size: 2rem;
    }

    /* Car Detail */
    .car-detail-hero {
        padding: 7rem 0 1rem;
    }

    .car-detail-hero-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .car-detail-hero-brand {
        align-self: flex-start;
    }

    .gallery-main-wrap {
        aspect-ratio: 4 / 3;
    }

    .gallery-nav {
        width: 36px;
        height: 36px;
        opacity: 1;
    }

    .gallery-expand {
        opacity: 1;
    }

    .gallery-thumb {
        width: 65px;
        height: 45px;
    }

    .specs-grid-detail {
        grid-template-columns: repeat(2, 1fr);
    }

    .price-amount {
        font-size: 2.2rem;
    }

    .related-cars-section {
        padding-bottom: 3rem;
    }

    /* Blog */
    .single-post-hero {
        padding: 10rem 0 4rem;
    }

    .single-post-hero__title {
        font-size: 1.8rem;
    }

    .single-post-hero__meta {
        gap: 0.75rem;
        font-size: 0.82rem;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

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

    .post-navigation {
        grid-template-columns: 1fr;
    }

    .post-nav-link--next {
        flex-direction: row;
        justify-content: flex-end;
        text-align: right;
    }

    .single-post-sidebar {
        grid-template-columns: 1fr;
    }

    .blog-hero {
        min-height: 320px;
    }

    .contact-hero__container {
        padding: 7rem 0 3rem;
    }

    /* Footer */
    .footer-widgets {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    /* Header Fixes */
    .site-header-inner {
        gap: 1rem;
    }

    .site-branding {
        margin-right: 1rem;
    }

    .site-logo img,
    .custom-logo-link img {
        max-width: 160px;
    }

    /* Layout Fixes */
    .space-between {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .archive-results-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}

/* Mobile Phones (576px) */
@media (max-width: 576px) {
    .grid-3 {
        grid-template-columns: 1fr;
    }

    .header-actions {
        gap: 0.8rem;
    }

    /* Archive */
    .archive-hero {
        padding: 9rem 0 3rem;
    }

    .archive-main-section {
        margin-bottom: -6rem;
    }

    .archive-hero-title {
        font-size: 1.8rem;
    }

    .archive-pagination .page-numbers {
        min-width: 36px;
        height: 36px;
        font-size: 0.8rem;
    }

    /* Car Detail */
    .car-detail-breadcrumb {
        font-size: 0.65rem;
        gap: 0.4rem;
    }

    .car-detail-hero-title h1 {
        font-size: 1.3rem;
    }

    .gallery-main-wrap {
        border-radius: 12px;
    }

    .gallery-thumb {
        width: 55px;
        height: 40px;
    }

    .specs-grid-detail {
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
    }

    .spec-item-detail {
        padding: 0.65rem;
    }

    .related-cars-section {
        padding-bottom: 2rem;
    }

    .lightbox-nav {
        width: 40px;
        height: 40px;
    }

    /* Blog */
    .single-post-hero {
        padding: 9rem 0 3rem;
    }

    .single-post-hero__title {
        font-size: 1.5rem;
    }

    .blog-grid--3 {
        grid-template-columns: 1fr;
    }

    .blog-card__body {
        padding: 1.25rem;
    }

    .post-share {
        flex-direction: column;
        align-items: flex-start;
    }

    .post-nav-link {
        padding: 1rem;
    }

    .post-nav-link__title {
        font-size: 0.82rem;
    }

    .blog-hero {
        min-height: 260px;
        background-attachment: scroll;
    }

    /* Body Lock when menu open */
    body.menu-open {
        overflow: hidden;
    }

    /* Header & Navigation Mobile */
    .mobile-menu-toggle {
        display: flex;
    }

    .main-navigation {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: rgba(13, 13, 13, 0.98);
        backdrop-filter: blur(15px);
        padding: 6rem 2.5rem 2.5rem;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
        border-left: 1px solid rgba(197, 160, 33, 0.1);
        display: block;
        visibility: hidden;
        pointer-events: none;
    }

    .main-navigation.active {
        right: 0;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
        visibility: visible;
        pointer-events: auto;
    }

    .main-navigation ul {
        flex-direction: column;
        gap: 1.5rem;
        align-items: flex-start;
    }

    .main-navigation a {
        font-size: 1.1rem;
        width: 100%;
        display: block;
        padding: 0.5rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    }

    .main-navigation .current-menu-item a {
        border-bottom-color: var(--theme-accent);
    }

    /* Overlay for mobile menu */
    body.menu-open::after {
        content: '';
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(4px);
        z-index: 999;
        animation: fadeIn 0.3s ease;
    }

    @keyframes fadeIn {
        from {
            opacity: 0;
        }

        to {
            opacity: 1;
        }
    }

    /* Footer */
    .footer-widgets {
        grid-template-columns: 1fr;
    }

    .site-footer {
        padding: 4rem 0 2rem;
    }

    .footer-bottom-inner {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    /* Features Info Mobile Adjustment */
    .features-info-grid {
        margin-top: 3rem;
        margin-bottom: -5rem;
        padding: 4rem 1.5rem;
        display: flex;
        flex-direction: column;
        gap: 4.5rem;
    }

    .testimonials-section {
        padding-top: 10rem !important;
        margin-bottom: -12rem; /* Adjusted for mobile */
    }

    .testimonials-section::after {
        bottom: -12rem;
        height: 12rem;
    }

    /* Hero Scroll Indicator Mobile Fix */
    .hero-scroll-indicator {
        bottom: 2rem !important;
        top: auto !important;
        left: 0 !important;
        right: 0 !important;
        justify-content: center !important;
        padding: 0 1.5rem;
    }

    .scroll-line-container {
        display: none !important;
    }

    .scroll-info {
        gap: 0.8rem !important;
    }

    .scroll-label {
        font-size: 0.55rem !important;
        letter-spacing: 1px !important;
    }
}