/*
Theme Name: WeMade Car Business
Theme URI: https://example.com/wemade-car-business
Author: WeMade
Author URI: https://example.com
Description: A premium WordPress theme for car dealers and exporters. Features a sticky header, advanced vehicle search, brand/type/price filters, hero slider, featured listings, how-to-buy steps, and a WhatsApp floating button. Fully responsive, SEO-friendly, customizer-ready.
Version: 1.0.0
Requires at least: 5.8
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wemade-car-business
Tags: e-commerce, automotive, two-columns, custom-menu, featured-images, custom-logo, custom-header, responsive-layout, right-sidebar, translation-ready, block-styles
*/

/* ============================================================
   CSS CUSTOM PROPERTIES (Design Tokens)
   ============================================================ */
:root {
    /* Brand palette — three colors only: red, black, white */
    --color-primary:      #E31E24;   /* brand red */
    --color-primary-dark: #b3161b;   /* darker red for hovers */
    --color-secondary:    #000000;   /* black */
    --color-dark:         #000000;
    --color-dark-alt:     #141414;
    --color-text:         #000000;
    --color-text-light:   #4a4a4a;
    --color-border:       #d0d0d0;
    --color-bg:           #ffffff;
    --color-bg-white:     #ffffff;
    --color-red:          #E31E24;
    --color-green:        #E31E24;   /* mapped to red — no green in palette */
    --color-notice-bg:    #000000;
    --color-notice-text:  #ffffff;

    --font-base:        'Segoe UI', Arial, sans-serif;
    --font-heading:     'Segoe UI', Arial, sans-serif;

    --radius-sm:        4px;
    --radius-md:        8px;
    --radius-lg:        12px;

    --shadow-card:      0 2px 12px rgba(0,0,0,0.10);
    --shadow-hover:     0 6px 24px rgba(0,0,0,0.18);

    --transition:       0.22s ease;
    --max-width:        1460px;
    --container-pad:    0 20px;
}

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

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

html, body {
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-base);
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Defeat ANY parent wrapper (page builders, block themes, boxed layouts) */
body #page,
body .site,
body .site-content,
body .content-area,
body.wcb-front-page main,
body.wcb-front-page .entry-content,
body.wcb-front-page .wp-site-blocks,
body.wcb-front-page .wp-block-group,
body.wcb-front-page .wp-block-post-content,
body.wcb-front-page .is-layout-constrained,
body.wcb-front-page .is-layout-flow,
body.wcb-front-page .has-global-padding,
body .wp-site-blocks > .wp-block-template-part,
body #primary,
body #content,
body .hfeed {
    max-width: none !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
}

/* Block-theme specific: kill the constrained layout system */
body.wcb-front-page :where(.is-layout-constrained) > :not(.alignleft):not(.alignright):not(.alignfull) {
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* Remove any Gutenberg root padding */
body.wcb-front-page {
    --wp--style--root--padding-left: 0 !important;
    --wp--style--root--padding-right: 0 !important;
    --wp--style--global--content-size: 100% !important;
    --wp--style--global--wide-size: 100% !important;
}

.site-header,
.notice-bar,
.header-topbar,
.hero-section,
.stock-stats-bar,
.search-panel,
.main-layout,
.brands-section,
.how-to-buy,
.about-section,
.cta-banner,
.site-footer {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--color-primary); }

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

ul { list-style: none; }

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
    color: var(--color-dark);
}

h1 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h2 { font-size: clamp(1.3rem, 2.5vw, 1.9rem); }
h3 { font-size: clamp(1rem, 2vw, 1.35rem); }

p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: var(--container-pad);
    width: 100%;
}

.row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.col-sidebar { width: 240px; flex-shrink: 0; }
.col-main    { flex: 1; min-width: 0; }

.text-center { text-align: center; }
.text-right  { text-align: right; }
.d-flex      { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-10 { gap: 10px; }
.gap-20 { gap: 20px; }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }

/* ============================================================
   TOP NOTICE BAR (ticker)
   ============================================================ */
.notice-bar {
    display: block;
    background: var(--color-notice-bg);
    color: var(--color-notice-text);
    font-size: 0.78rem;
    font-weight: 600;
    padding: 6px 0;
    min-height: 28px;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    z-index: 1;
}

.notice-bar__inner {
    display: flex;
    align-items: center;
    gap: 40px;
    animation: ticker 30s linear infinite;
    width: max-content;
}

@keyframes ticker {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.notice-bar__alert {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* ============================================================
   HEADER TOP BAR
   ============================================================ */
.header-topbar {
    background: var(--color-dark);
    color: #d0d0d0;
    font-size: 0.78rem;
    padding: 6px 0;
    border-bottom: 1px solid #141414;
}

.header-topbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}

.topbar-phones {
    display: flex;
    align-items: center;
    gap: 16px;
}

.topbar-phones a {
    color: var(--color-primary);
    font-weight: 700;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: color var(--transition);
}

.topbar-phones a:hover { color: #ffffff; }

.topbar-phones .badge-24 {
    background: var(--color-red);
    color: #ffffff;
    font-size: 0.62rem;
    padding: 1px 5px;
    border-radius: 3px;
    font-weight: 700;
}

.topbar-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 0.75rem;
}

.topbar-meta span { color: #9a9a9a; }
.topbar-meta strong { color: var(--color-primary); }

/* ============================================================
   MAIN HEADER / NAV
   ============================================================ */
.site-header {
    background: var(--color-dark-alt);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 12px rgba(0,0,0,0.35);
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    gap: 16px;
}

/* Logo */
.site-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.site-logo img { height: 50px; width: auto; }

.site-logo__text {
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 900;
    letter-spacing: -0.5px;
    line-height: 1.1;
}

.site-logo__text span { color: var(--color-primary); }

/* Search bar */
.header-search {
    flex: 1;
    max-width: 420px;
}

.header-search form {
    display: flex;
    border: 2px solid var(--color-primary);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.header-search input {
    flex: 1;
    padding: 8px 12px;
    background: #ffffff;
    border: none;
    outline: none;
    font-size: 0.87rem;
}

.header-search button {
    background: var(--color-primary);
    border: none;
    padding: 8px 14px;
    cursor: pointer;
    color: var(--color-dark);
    font-weight: 700;
    font-size: 0.87rem;
    transition: background var(--transition);
}

.header-search button:hover { background: var(--color-primary-dark); }

/* Main Nav */
.main-nav { display: flex; align-items: center; gap: 4px; }

.main-nav > ul {
    display: flex;
    align-items: center;
    gap: 2px;
}

.main-nav > ul > li { position: relative; }

.main-nav > ul > li > a {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #e8e8e8;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    transition: background var(--transition), color var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.main-nav > ul > li > a:hover,
.main-nav > ul > li.current-menu-item > a {
    background: var(--color-primary);
    color: var(--color-dark);
}

.main-nav > ul > li > a .arrow {
    font-size: 0.65rem;
    opacity: 0.7;
}

/* Dropdown */
.main-nav .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-top: 3px solid var(--color-primary);
    min-width: 220px;
    box-shadow: var(--shadow-hover);
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    z-index: 200;
}

.main-nav .sub-menu.mega-menu {
    min-width: 600px;
    display: none;
    padding: 20px;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}

.main-nav li:hover > .sub-menu { display: block; }
.main-nav li:hover > .sub-menu.mega-menu { display: grid; }

.main-nav .sub-menu li a {
    display: block;
    padding: 8px 16px;
    color: var(--color-text);
    font-size: 0.8rem;
    font-weight: 500;
    border-bottom: 1px solid #ffffff;
    transition: background var(--transition), color var(--transition);
}

.main-nav .sub-menu li a:hover {
    background: #ffffff;
    color: var(--color-primary-dark);
    padding-left: 20px;
}

.mega-menu-col h4 {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--color-primary-dark);
    padding: 0 16px 8px;
    border-bottom: 2px solid var(--color-primary);
    margin-bottom: 4px;
}

/* Hamburger */
.menu-toggle {
    display: none;
    background: none;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 1.2rem;
    line-height: 1;
}

/* ============================================================
   HERO SLIDER SECTION
   ============================================================ */
.hero-section {
    background: #ffffff;
    position: relative;
    overflow: hidden;
    padding: 20px 0;
}

.hero-static {
    position: relative;
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    height: 420px;
    overflow: hidden;
    box-sizing: border-box;
}

.hero-static__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.65);
}

.hero-static__bg--placeholder {
    background: linear-gradient(135deg, #000000 0%, #000000 100%);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 60px;
    filter: none;
}

.hero-static__bg-emoji {
    text-align: center;
    opacity: 0.15;
}

.hero-static__bg-emoji-icon {
    font-size: 8rem;
    line-height: 1;
}

.hero-static__bg-emoji-text {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero-static__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.15) 100%);
    display: flex;
    align-items: center;
    z-index: 2;
}

.hero-static__content {
    padding: 0 60px;
    color: #ffffff;
    max-width: 600px;
}

.hero-static__content .badge {
    display: inline-block;
    background: var(--color-primary);
    color: var(--color-dark);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 10px;
    border-radius: 2px;
    margin-bottom: 12px;
}

.hero-static__content h2 {
    font-size: clamp(1.6rem, 3.5vw, 2.8rem);
    color: #ffffff;
    margin-bottom: 12px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.hero-static__content p {
    font-size: 0.95rem;
    opacity: 0.88;
    margin-bottom: 20px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.hero-static__buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 22px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.btn-primary:hover {
    background: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
    color: var(--color-dark);
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    color: #ffffff;
    border-color: #ffffff;
}

.btn-outline:hover {
    background: #ffffff;
    color: var(--color-dark);
}

.btn-dark {
    background: var(--color-dark);
    color: #ffffff;
    border-color: var(--color-dark);
}

.btn-dark:hover { background: #000000; }

.btn-sm { padding: 6px 14px; font-size: 0.78rem; }

/* ============================================================
   STOCK STATS BAR
   ============================================================ */
.stock-stats-bar {
    background: var(--color-primary);
    color: var(--color-dark);
    padding: 10px 0;
}

.stock-stats-bar .container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.stock-stat {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    font-weight: 600;
}

.stock-stat strong { font-size: 1rem; font-weight: 900; }

/* ============================================================
   SEARCH PANEL (Homepage)
   ============================================================ */
.search-panel {
    background: var(--color-secondary);
    padding: 28px 0;
    border-bottom: 4px solid var(--color-primary);
}

.search-panel h3 {
    color: var(--color-primary);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.search-form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 12px;
    align-items: end;
}

.search-field label {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    color: #9a9a9a;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
}

.search-field select,
.search-field input {
    width: 100%;
    padding: 9px 10px;
    background: #ffffff;
    border: 1px solid #4a4a4a;
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    color: var(--color-text);
    outline: none;
    transition: border-color var(--transition);
}

.search-field select:focus,
.search-field input:focus {
    border-color: var(--color-primary);
}

.search-actions {
    display: flex;
    gap: 10px;
    align-items: flex-end;
    padding-top: 22px;
}

.search-actions .btn { flex: 1; justify-content: center; }

/* ============================================================
   MAIN LAYOUT (sidebar + content)
   ============================================================ */
.main-layout {
    padding: 24px 0 40px;
}

.main-layout .container {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 24px;
    align-items: start;
}

/* ============================================================
   SIDEBAR
   ============================================================ */
.sidebar { position: sticky; top: 90px; }

.sidebar-widget {
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin-bottom: 16px;
    box-shadow: var(--shadow-card);
}

.sidebar-widget__title {
    background: var(--color-secondary);
    color: var(--color-primary);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 10px 14px;
    border-bottom: 3px solid var(--color-primary);
}

.sidebar-widget__body { padding: 12px 14px; }

.sidebar-brand-list li {
    border-bottom: 1px solid #ffffff;
}

.sidebar-brand-list li:last-child { border-bottom: none; }

.sidebar-brand-list li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 7px 0;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-text);
    transition: color var(--transition), padding-left var(--transition);
}

.sidebar-brand-list li a:hover {
    color: var(--color-primary-dark);
    padding-left: 4px;
}

.sidebar-brand-list li a .count {
    background: var(--color-bg);
    color: var(--color-text-light);
    font-size: 0.68rem;
    padding: 1px 6px;
    border-radius: 20px;
    font-weight: 700;
}

.sidebar-price-list li a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 5px 0;
    font-size: 0.78rem;
    color: var(--color-text);
    transition: color var(--transition);
}

.sidebar-price-list li a::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--color-primary);
    border-radius: 50%;
    flex-shrink: 0;
}

.sidebar-price-list li a:hover { color: var(--color-primary-dark); }

.sidebar-type-list { display: flex; flex-wrap: wrap; gap: 6px; padding: 6px 0; }

.sidebar-type-list li a {
    display: inline-block;
    padding: 4px 10px;
    border: 1px solid var(--color-border);
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--color-text);
    transition: all var(--transition);
}

.sidebar-type-list li a:hover,
.sidebar-type-list li a.active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-dark);
}

/* Sidebar Ad */
.sidebar-ad img {
    width: 100%;
    border-radius: var(--radius-sm);
}

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
    border-bottom: 3px solid var(--color-primary);
    padding-bottom: 10px;
}

.section-header h2 {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-header h2::before {
    content: '';
    display: inline-block;
    width: 5px;
    height: 22px;
    background: var(--color-primary);
    border-radius: 2px;
    flex-shrink: 0;
}

.section-header .see-more {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--color-primary-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid var(--color-primary);
    padding: 4px 12px;
    border-radius: 20px;
    transition: all var(--transition);
}

.section-header .see-more:hover {
    background: var(--color-primary);
    color: var(--color-dark);
}

/* ============================================================
   VEHICLE CARDS
   ============================================================ */
.vehicles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.vehicle-card {
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: transform var(--transition), box-shadow var(--transition);
    display: flex;
    flex-direction: column;
}

.vehicle-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.vehicle-card__img {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: #ffffff;
}

.vehicle-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

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

.vehicle-card__badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: var(--color-primary);
    color: var(--color-dark);
    font-size: 0.62rem;
    font-weight: 800;
    text-transform: uppercase;
    padding: 2px 7px;
    border-radius: 2px;
    letter-spacing: 0.5px;
}

.vehicle-card__badge.badge-new { background: var(--color-green); color: #ffffff; }
.vehicle-card__badge.badge-deal { background: var(--color-red); color: #ffffff; }

.vehicle-card__body {
    padding: 12px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.vehicle-card__brand {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-text-light);
}

.vehicle-card__model {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-dark);
    line-height: 1.2;
}

.vehicle-card__specs {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 2px;
}

.spec-tag {
    background: var(--color-bg);
    color: var(--color-text-light);
    font-size: 0.65rem;
    font-weight: 600;
    padding: 2px 7px;
    border-radius: 3px;
    text-transform: uppercase;
}

.vehicle-card__price {
    font-size: 1.1rem;
    font-weight: 900;
    color: var(--color-red);
    margin-top: auto;
}

.vehicle-card__price span {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--color-text-light);
    display: block;
}

.vehicle-card__footer {
    padding: 10px 12px;
    border-top: 1px solid #ffffff;
}

.vehicle-card__footer .btn { width: 100%; justify-content: center; }

/* ============================================================
   BRAND LOGOS ROW
   ============================================================ */
.brands-section {
    background: #ffffff;
    padding: 30px 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.brands-section h3 {
    text-align: center;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text-light);
    margin-bottom: 20px;
}

.brands-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.brand-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 12px 16px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    transition: all var(--transition);
    min-width: 80px;
    cursor: pointer;
    text-decoration: none;
}

.brand-item:hover {
    border-color: var(--color-primary);
    background: #ffffff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-card);
}

.brand-item img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.brand-item span {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-text-light);
}

/* SVG brand placeholder */
.brand-logo-svg {
    width: 48px;
    height: 48px;
    background: var(--color-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    font-weight: 900;
    color: var(--color-text-light);
    letter-spacing: -0.5px;
}

/* ============================================================
   HOW TO BUY STEPS
   ============================================================ */
.how-to-buy {
    background: var(--color-secondary);
    padding: 50px 0;
    color: #ffffff;
}

.how-to-buy h2 {
    color: var(--color-primary);
    text-align: center;
    margin-bottom: 8px;
}

.how-to-buy .subtitle {
    text-align: center;
    color: #9a9a9a;
    font-size: 0.88rem;
    margin-bottom: 36px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
}

.step-card {
    text-align: center;
    padding: 28px 20px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-md);
    position: relative;
    transition: all var(--transition);
}

.step-card:hover {
    background: rgba(227,30,36,0.1);
    border-color: var(--color-primary);
    transform: translateY(-4px);
}

.step-card__num {
    width: 50px;
    height: 50px;
    background: var(--color-primary);
    color: var(--color-dark);
    font-size: 1.4rem;
    font-weight: 900;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.step-card h4 {
    color: #ffffff;
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.step-card p {
    color: #9a9a9a;
    font-size: 0.8rem;
    line-height: 1.5;
}

/* ============================================================
   WHATSAPP FLOATING BUTTON
   ============================================================ */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.whatsapp-float a {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #E31E24;
    color: #ffffff;
    padding: 10px 16px;
    border-radius: 28px;
    font-size: 0.82rem;
    font-weight: 700;
    box-shadow: 0 4px 16px rgba(227,30,36,0.4);
    transition: all var(--transition);
}

.whatsapp-float a:hover {
    background: #E31E24;
    transform: scale(1.05);
}

.whatsapp-float a svg { width: 20px; height: 20px; fill: #ffffff; }

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    padding: 50px 0;
    text-align: center;
}

.cta-banner h2 {
    color: var(--color-dark);
    margin-bottom: 10px;
}

.cta-banner p {
    color: rgba(0,0,0,0.7);
    margin-bottom: 24px;
    font-size: 0.95rem;
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-section {
    background: #ffffff;
    padding: 60px 0;
}

.about-section .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-section__content h2 { margin-bottom: 16px; }
.about-section__content p { color: var(--color-text-light); font-size: 0.92rem; }

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 24px;
}

.stat-box {
    text-align: center;
    padding: 20px;
    border: 2px solid var(--color-primary);
    border-radius: var(--radius-md);
}

.stat-box strong {
    display: block;
    font-size: 2rem;
    font-weight: 900;
    color: var(--color-primary-dark);
    line-height: 1;
}

.stat-box span {
    font-size: 0.75rem;
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.about-section__image img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-hover);
}

.about-section__image {
    position: relative;
}

.about-section__image::before {
    content: '';
    position: absolute;
    inset: -12px;
    border: 4px solid var(--color-primary);
    border-radius: var(--radius-lg);
    z-index: -1;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    background: var(--color-dark);
    color: #d0d0d0;
}

.footer-top {
    padding: 50px 0 30px;
    border-bottom: 1px solid #141414;
}

.footer-grid {
    display: grid;
    grid-template-columns: 280px repeat(3, 1fr);
    gap: 30px;
}

.footer-brand .site-logo__text {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.footer-brand p {
    font-size: 0.82rem;
    color: #6a6a6a;
    line-height: 1.7;
}

.footer-brand .contact-info {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-brand .contact-info a {
    color: var(--color-primary);
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color var(--transition);
}

.footer-brand .contact-info a:hover { color: #ffffff; }

.footer-col h4 {
    color: #ffffff;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--color-primary);
    display: inline-block;
}

.footer-col ul { display: flex; flex-direction: column; gap: 6px; }

.footer-col ul li a {
    color: #6a6a6a;
    font-size: 0.8rem;
    transition: color var(--transition), padding-left var(--transition);
    display: flex;
    align-items: center;
    gap: 5px;
}

.footer-col ul li a::before {
    content: '›';
    color: var(--color-primary);
    font-size: 1rem;
    line-height: 1;
}

.footer-col ul li a:hover {
    color: var(--color-primary);
    padding-left: 4px;
}

.footer-bottom {
    padding: 16px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.75rem;
    color: #4a4a4a;
}

.footer-bottom a { color: var(--color-primary); }

/* ============================================================
   PAGE / SINGLE TEMPLATES
   ============================================================ */
.page-content-area {
    padding: 40px 0;
    min-height: 400px;
}

.page-header-banner {
    background: linear-gradient(135deg, var(--color-secondary) 0%, #000000 100%);
    padding: 40px 0;
    margin-bottom: 30px;
}

.page-header-banner h1 { color: #ffffff; }
.page-header-banner .breadcrumb {
    color: #9a9a9a;
    font-size: 0.8rem;
    margin-top: 6px;
}
.page-header-banner .breadcrumb a { color: var(--color-primary); }

.content-card {
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 28px;
    box-shadow: var(--shadow-card);
}

/* WordPress Content */
.entry-content h2, .entry-content h3 { margin: 1.2em 0 0.5em; }
.entry-content ul, .entry-content ol { padding-left: 20px; margin-bottom: 1em; }
.entry-content li { margin-bottom: 4px; }

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 30px;
}

.pagination a, .pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--color-text);
    transition: all var(--transition);
}

.pagination a:hover,
.pagination .current {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-dark);
}

/* ============================================================
   404 PAGE
   ============================================================ */
.error-404-section {
    padding: 80px 0;
    text-align: center;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.error-404-section .err-num {
    font-size: clamp(5rem, 15vw, 10rem);
    font-weight: 900;
    color: var(--color-primary);
    line-height: 1;
    text-shadow: 4px 4px 0 var(--color-primary-dark);
}

.error-404-section h2 { margin: 10px 0 16px; }
.error-404-section p { color: var(--color-text-light); max-width: 480px; margin: 0 auto 24px; }

/* ============================================================
   ALERTS & NOTICES
   ============================================================ */
.alert {
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    font-size: 0.87rem;
    margin-bottom: 16px;
    border-left: 4px solid transparent;
}

.alert-warning {
    background: #ffffff;
    border-color: var(--color-primary);
    color: #E31E24;
}

.alert-info {
    background: #ffffff;
    border-color: #E31E24;
    color: #b3161b;
}

/* ============================================================
   MOBILE NAV OVERLAY
   ============================================================ */
.mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    z-index: 2000;
    overflow-y: auto;
}

.mobile-menu.open { display: block; }

.mobile-menu__inner {
    background: var(--color-dark-alt);
    width: 300px;
    min-height: 100%;
    padding: 20px;
}

.mobile-menu__close {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 1.5rem;
    cursor: pointer;
    margin-bottom: 20px;
    display: block;
}

.mobile-menu__nav { display: flex; flex-direction: column; gap: 4px; }

.mobile-menu__nav a {
    color: #d0d0d0;
    padding: 10px 14px;
    font-size: 0.9rem;
    font-weight: 600;
    border-bottom: 1px solid #141414;
    transition: color var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.mobile-menu__nav a:hover { color: var(--color-primary); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .about-section .container { gap: 30px; }
}

@media (max-width: 900px) {
    .main-layout .container { grid-template-columns: 1fr; }
    .sidebar { position: static; }
    .main-nav { display: none; }
    .menu-toggle { display: flex; }
    .hero-static__content { padding: 0 30px; }
    .hero-static { height: 320px; }
    .about-section .container { grid-template-columns: 1fr; }
    .about-section__image { display: none; }
    .col-sidebar { width: 100%; }
    .header-search { max-width: 135px; }
}
@media (max-width: 700px) {
    
    .header-search { max-width: 135px; }
}

@media (max-width: 640px) {
    .topbar-phones { gap: 10px; }
    .topbar-meta { display: none; }
    .vehicles-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .steps-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .hero-static { height: 260px; }
    .hero-static__content h2 { font-size: 1.2rem; }
    .search-form-grid { grid-template-columns: 1fr 1fr; }
    .stock-stats-bar .container { gap: 16px; }
    .brands-grid { gap: 8px; }
    .brand-item { min-width: 64px; padding: 8px 10px; }
}

@media (max-width: 400px) {
    .vehicles-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   PRINT
   ============================================================ */
@media print {
    .site-header, .sidebar, .whatsapp-float, .site-footer { display: none; }
    body { background: #ffffff; }
}

/* ============================================================
   BROWSE LAYOUT (sidebar + filter panel + ads column)
   ============================================================ */
.browse-layout {
    background: #ffffff;
    padding: 20px 0;
}

.browse-layout__inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 16px;
    display: grid;
    grid-template-columns: 230px 1fr 200px;
    gap: 16px;
    align-items: start;
}

/* ---------- Left Sidebar ---------- */
.browse-sidebar { display: flex; flex-direction: column; gap: 12px; }

/* ISO certification card */
.sb-cert {
    background: #ffffff;
    border: 1px solid #d0d0d0;
    border-radius: 4px;
    padding: 14px 10px;
    text-align: center;
}

.sb-cert__name {
    color: #E31E24;
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.sb-cert__logo { display: flex; justify-content: center; margin-bottom: 10px; }

.sb-cert__label {
    font-size: 0.7rem;
    font-weight: 800;
    color: #000000;
    letter-spacing: 0.5px;
    margin: 8px 0 6px;
    padding-top: 8px;
    border-top: 1px solid #e8e8e8;
}

.sb-cert__cards {
    display: flex;
    gap: 4px;
    justify-content: center;
    flex-wrap: wrap;
}

.cc {
    font-size: 0.56rem;
    font-weight: 900;
    padding: 3px 6px;
    color: #ffffff;
    border-radius: 2px;
    letter-spacing: 0.5px;
}
.cc-amex { background: #E31E24; }
.cc-mc   { background: linear-gradient(90deg, #E31E24 50%, #000000 50%); }
.cc-visa { background: #000000; }
.cc-disc { background: #E31E24; }

/* Sidebar widgets */
.sb-widget {
    background: #ffffff;
    border: 1px solid #d0d0d0;
    border-radius: 4px;
    overflow: hidden;
}

.sb-widget__title {
    padding: 9px 12px;
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 1px;
    color: #ffffff;
    text-align: center;
}

.sb-widget__title--blue {
    background: linear-gradient(135deg, #E31E24 0%, #E31E24 100%);
}

.sb-widget__list { list-style: none; padding: 0; margin: 0; }

.sb-widget__list li { border-bottom: 1px solid #ffffff; }
.sb-widget__list li:last-child { border-bottom: none; }

.sb-widget__list a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    color: #000000;
    font-size: 0.78rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
}

.sb-widget__list a:hover {
    background: #ffffff;
    color: #b3161b;
    padding-left: 16px;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background: #ffffff;
    border-radius: 50%;
    font-size: 0.7rem;
    font-weight: 900;
    color: #4a4a4a;
    flex-shrink: 0;
}

.sb-widget__list a:hover .brand-mark {
    background: #E31E24;
    color: #ffffff;
}

.brand-name { flex: 1; }

.brand-count {
    color: #6a6a6a;
    font-size: 0.72rem;
    font-weight: 500;
}

.price-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background: #E31E24;
    color: #ffffff;
    border-radius: 50%;
    font-size: 0.7rem;
    font-weight: 900;
    flex-shrink: 0;
}

.type-dot {
    width: 6px;
    height: 6px;
    background: #E31E24;
    border-radius: 50%;
    flex-shrink: 0;
}

/* ---------- Center: Filter Panel ---------- */
.browse-main {
    background: #f7d5d530;
    border: 1px solid #d0d0d0;
    border-radius: 4px;
    padding: 16px;
    min-width: 0;
}

.filter-panel {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 16px;
}

.filter-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.filter-row--paired {
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
}

.filter-pair {
    display: flex;
    align-items: center;
    gap: 4px;
}

.filter-pair .filter-field { flex: 1; }

.pair-sep {
    font-size: 0.9rem;
    color: #4a4a4a;
    font-weight: 700;
}

.filter-field {
    width: 100%;
    padding: 8px 10px;
    background: #ffffff;
    border: 1px solid #d0d0d0;
    border-radius: 3px;
    font-size: 0.8rem;
    color: #000000;
    outline: none;
    cursor: pointer;
    transition: border-color 0.2s ease;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23666' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    padding-right: 28px;
}

.filter-field:focus, .filter-field:hover { border-color: #E31E24; }

.show-more-btn {
    padding: 8px 12px;
    background: transparent;
    border: none;
    color: #E31E24;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.3px;
    cursor: pointer;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.show-more-btn:hover { color: #b3161b; }

/* Deal chips row */
.filter-row--deals {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    grid-template-columns: none;
    padding: 6px 0;
}

/* Advanced options panel — uses native <details>/<summary> (no JS needed) */
.filter-advanced {
    background: #ffffff;
    border: 1px solid #ffffff;
    border-radius: 4px;
    overflow: hidden;
}

.filter-advanced__toggle {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    padding: 10px 14px;
    background: #ffffff;
    color: #E31E24;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    cursor: pointer;
    list-style: none;
    user-select: none;
    transition: background 0.15s ease, color 0.15s ease;
}

/* Hide the default disclosure arrow on all browsers */
.filter-advanced__toggle::-webkit-details-marker { display: none; }
.filter-advanced__toggle::marker { content: ''; }

.filter-advanced__toggle:hover {
    background: #ffffff;
    color: #b3161b;
}

.filter-advanced[open] .filter-advanced__toggle {
    background: #E31E24;
    color: #ffffff;
    border-bottom: 1px solid #ffffff;
}

.filter-advanced .toggle-icon {
    display: inline-block;
    transition: transform 0.2s ease;
    font-size: 0.85rem;
}

.filter-advanced[open] .toggle-icon {
    transform: rotate(180deg);
}

.filter-advanced__inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 12px;
}

.filter-advanced__steering {
    max-width: 240px;
}

.filter-advanced__features {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 6px;
}

.feature-check {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px 9px;
    background: #ffffff;
    border: 1px solid #d0d0d0;
    border-radius: 3px;
    font-size: 0.72rem;
    font-weight: 700;
    color: #4a4a4a;
    cursor: pointer;
    user-select: none;
    letter-spacing: 0.3px;
    transition: all 0.15s ease;
    line-height: 1.2;
}

.feature-check:hover {
    border-color: #E31E24;
    background: #ffffff;
    color: #000000;
}

.feature-check input[type="checkbox"] {
    margin: 0;
    flex-shrink: 0;
    width: 13px;
    height: 13px;
    accent-color: #E31E24;
    cursor: pointer;
}

.feature-check.is-checked {
    background: #ffffff;
    border-color: #E31E24;
    color: #b3161b;
}

@media (max-width: 1100px) {
    .filter-advanced__features { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 700px) {
    .filter-advanced__features { grid-template-columns: repeat(2, 1fr); }
}

/* Deal chips — only the *checked* chip looks active.
   Unchecked chips show a muted version of their color. */
.deal-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 3px;
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.3px;
    cursor: pointer;
    border: 1px solid #d0d0d0;
    transition: all 0.15s ease;
    background: #ffffff !important;
    color: #4a4a4a !important;
    position: relative;
    user-select: none;
}

.deal-chip:hover {
    border-color: #E31E24;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* JS-applied active class (works in all browsers) */
.deal-chip.is-checked {
    background: var(--chip-bg, #E31E24) !important;
    color: var(--chip-fg, #ffffff) !important;
    border-color: var(--chip-bg, #E31E24);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.deal-chip input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 14px;
    height: 14px;
    background: #ffffff;
    border: 1.5px solid #9a9a9a;
    border-radius: 2px;
    cursor: pointer;
    position: relative;
    margin: 0;
    flex-shrink: 0;
    transition: all 0.15s ease;
}

.deal-chip input[type="checkbox"]:checked {
    background: #E31E24;
    border-color: #E31E24;
}

.deal-chip input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    top: 1px;
    left: 4px;
    width: 4px;
    height: 7px;
    border: solid #ffffff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* When the chip's checkbox is actually checked, light up the chip */
.deal-chip:has(input:checked) {
    background: var(--chip-bg, #E31E24) !important;
    color: var(--chip-fg, #ffffff) !important;
    border-color: var(--chip-bg, #E31E24);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

/* Actions row */
.filter-row--actions {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    grid-template-columns: none;
    padding-top: 8px;
}

.filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 22px;
    border: none;
    border-radius: 3px;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
}

.filter-btn--search {
    background: #E31E24;
    color: #ffffff;
}

.filter-btn--search:hover { background: #b3161b; }

.filter-btn--reset {
    background: #000000;
    color: #ffffff;
}

.filter-btn--reset:hover { background: #000000; color: #ffffff; }

.filter-or {
    color: #4a4a4a;
    font-size: 0.82rem;
    font-style: italic;
}

/* Deal tiles row (colored banners) */
.deal-tiles {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 14px;
}

.deal-tile {
    position: relative;
    aspect-ratio: 5/3;
    border-radius: 4px;
    overflow: hidden;
    padding: 12px 14px;
    color: #ffffff;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.deal-tile:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    color: #ffffff;
}

.deal-tile__label {
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: 1px;
    text-shadow: 2px 2px 0 rgba(0,0,0,0.3);
    line-height: 1.1;
}

.deal-tile__sub {
    font-size: 0.7rem;
    font-weight: 600;
    opacity: 0.85;
}

.deal-tile__icon {
    position: absolute;
    right: 10px;
    bottom: 6px;
    font-size: 2.5rem;
    opacity: 0.35;
}

/* ---------- Right Ads Column ---------- */
.browse-ads { display: flex; flex-direction: column; gap: 10px; }

.ad-card {
    display: block;
    background: #ffffff;
    border: 1px solid #d0d0d0;
    border-radius: 4px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.ad-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}

.ad-card__hd {
    padding: 10px 8px;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.5px;
    text-align: center;
}

.ad-card__hd--blue {
    background: linear-gradient(135deg, #E31E24 0%, #E31E24 100%);
}

.ad-card__body {
    padding: 14px 10px;
    position: relative;
    min-height: 160px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #ffffff;
}

.ad-card__body--dark {
    background: linear-gradient(135deg, #000000 0%, #000000 100%);
}

.ad-card__body--gold {
    background: linear-gradient(135deg, #E31E24 0%, #E31E24 100%);
}

.ad-card__title {
    font-size: 1.1rem;
    font-weight: 900;
    color: #E31E24;
    letter-spacing: 0.5px;
    line-height: 1.1;
}

.ad-card__body--gold .ad-card__title { color: #ffffff; }

.ad-card__subtitle {
    font-size: 0.9rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.3px;
    line-height: 1.1;
}

.ad-card__caption {
    font-size: 0.66rem;
    opacity: 0.85;
    margin-top: 4px;
}

.ad-card__btn {
    display: inline-block;
    padding: 4px 10px;
    background: #E31E24;
    color: #000000;
    font-size: 0.66rem;
    font-weight: 900;
    border-radius: 2px;
    margin-top: 8px;
    align-self: flex-start;
    letter-spacing: 0.5px;
}

.ad-card__illus {
    position: absolute;
    right: 6px;
    bottom: 4px;
    font-size: 2.5rem;
    opacity: 0.3;
}

/* Vehicle sections col (below browse-layout) */
.vehicle-sections {
    background: #ffffff;
    padding: 20px 0;
}

.vehicle-sections__col { width: 100%; }

/* Responsive - Browse Layout */
@media (max-width: 1200px) {
    .browse-layout__inner {
        grid-template-columns: 220px 1fr;
    }
    .browse-ads {
        grid-column: 1 / -1;
        flex-direction: row;
        flex-wrap: wrap;
    }
    .ad-card { flex: 1 1 220px; }
}

@media (max-width: 900px) {
    .browse-layout__inner {
        grid-template-columns: 1fr;
    }
    .filter-row,
    .filter-row--paired {
        grid-template-columns: 1fr 1fr;
    }
    .deal-tiles {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 560px) {
    .filter-row,
    .filter-row--paired {
        grid-template-columns: 1fr;
    }
    .filter-pair { grid-column: 1; }
    .deal-tiles { grid-template-columns: 1fr 1fr; }
    .filter-row--actions { flex-wrap: wrap; }
}

/* ============================================================
   VEHICLE CARD (New Arrivals style — matches screenshot)
   ============================================================ */
.v-section {
    margin-bottom: 32px;
}

.v-section__header {
    display: inline-block;
    margin-bottom: 14px;
    border-bottom: 3px solid #000000;
    padding-bottom: 4px;
}

.v-section__title {
    font-size: 1.15rem;
    font-weight: 900;
    color: #000000;
    text-transform: none;
    letter-spacing: -0.2px;
    margin: 0;
    line-height: 1.2;
}

.v-section__title::before {
    display: none;
}

.v-section + .v-section {
    border-top: 1px solid #d0d0d0;
    padding-top: 28px;
}

.v-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 14px;
}

.v-card {
    background: #ffffff;
    border: 1px solid #d0d0d0;
    border-radius: 3px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.v-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    transform: translateY(-2px);
}

.v-card__img {
    display: block;
    aspect-ratio: 4 / 3;
    background: #ffffff;
    overflow: hidden;
    position: relative;
}

.v-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.v-card:hover .v-card__img img {
    transform: scale(1.04);
}

.v-card__placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ffffff, #ffffff);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #4a4a4a;
}

.v-card__body {
    padding: 8px 10px 10px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.v-card__brand {
    margin: 0;
    font-size: 0.85rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0.3px;
}

.v-card__brand a {
    color: #E31E24;
    text-decoration: none;
    transition: color 0.15s ease;
}

.v-card__brand a:hover {
    color: #000000;
    text-decoration: underline;
}

.v-card__price-label {
    font-size: 0.76rem;
    font-weight: 700;
    color: #141414;
    margin-top: 4px;
    line-height: 1.2;
}

.v-card__price {
    font-size: 1rem;
    font-weight: 900;
    color: #E31E24;
    line-height: 1.2;
    letter-spacing: -0.3px;
}

.v-card__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    background: #000000;
    color: #ffffff;
    padding: 8px 10px;
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.15s ease;
    border: none;
    cursor: pointer;
}

.v-card__btn:hover {
    background: #000000;
    color: #ffffff;
}

.v-section__footer {
    text-align: right;
    margin-top: 4px;
}

.v-section__see-more {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    color: #4a4a4a;
    text-decoration: underline;
    text-transform: lowercase;
    padding: 4px 0;
}

.v-section__see-more:hover {
    color: #E31E24;
}

/* Responsive grid */
@media (max-width: 1100px) {
    .v-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
    .v-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 700px) {
    .v-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .v-card__brand { font-size: 0.78rem; }
    .v-card__price { font-size: 0.92rem; }
}
@media (max-width: 480px) {
    .v-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Vehicle results wrapper (sits inside browse-main) */
.vehicle-results-wrap {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid #d0d0d0;
    min-height: 200px;
}

/* ============================================================
   ARCHIVE LAYOUT (2-column: sidebar + main, no ads)
   ============================================================ */
.archive-layout {
    background: #ffffff;
    padding: 16px 0 30px;
}

.archive-layout__inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 16px;
    display: grid;
    grid-template-columns: 230px 1fr;
    gap: 16px;
    align-items: start;
}

.archive-main {
    background: #ffffff;
    border: 1px solid #d0d0d0;
    border-radius: 4px;
    padding: 14px;
    min-width: 0;
}

/* Filter form inside archive sits flush at top */
.archive-main .filter-panel {
    background: #ffffff;
    border: 1px solid #d0d0d0;
    border-radius: 4px;
    padding: 14px;
    margin-bottom: 14px;
}

/* Toolbar */
.archive-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #d0d0d0;
    margin-bottom: 14px;
}

.archive-toolbar__left {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.archive-toolbar__count {
    font-size: 0.85rem;
    color: #4a4a4a;
}

.archive-toolbar__count strong {
    color: #E31E24;
    font-size: 1rem;
}

.archive-toolbar__tabs {
    display: flex;
    gap: 6px;
}

.archive-tab {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 14px;
    background: #ffffff;
    border: 1px solid #E31E24;
    color: #E31E24;
    font-size: 0.78rem;
    font-weight: 700;
    border-radius: 3px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.archive-tab--active,
.archive-tab:hover {
    background: #E31E24;
    color: #ffffff;
}

.archive-toolbar__right {
    display: flex;
    align-items: center;
    gap: 14px;
}

.archive-toolbar__field {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: #4a4a4a;
}

.archive-toolbar__field select {
    padding: 4px 8px;
    border: 1px solid #d0d0d0;
    border-radius: 3px;
    font-size: 0.8rem;
    background: #ffffff;
}

/* Result heading */
.archive-result-heading {
    font-size: 1rem;
    font-weight: 700;
    color: #000000;
    margin: 0 0 12px;
    padding-bottom: 6px;
}

/* Results list */
.archive-results {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* ============================================================
   VEHICLE ROW (horizontal listing)
   ============================================================ */
.v-row {
    display: grid;
    grid-template-columns: 280px 1fr 200px;
    gap: 18px;
    background: #ffffff;
    border: 1px solid #d0d0d0;
    border-radius: 4px;
    padding: 14px;
    transition: box-shadow 0.2s ease;
}

.v-row:hover {
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}

/* Image column */
.v-row__img {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: 3px;
    background: #ffffff;
}

.v-row__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.v-row__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    background: linear-gradient(135deg, #ffffff, #ffffff);
    color: #4a4a4a;
}

.v-row__ref {
    position: absolute;
    left: 0;
    bottom: 0;
    background: rgba(0,0,0,0.75);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 10px;
    width: 100%;
    text-align: center;
    letter-spacing: 0.5px;
}

.v-row__tag {
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    background: #E31E24;
    color: #ffffff;
    font-size: 0.66rem;
    font-weight: 900;
    padding: 3px 12px;
    letter-spacing: 0.5px;
    z-index: 2;
}

/* Center details */
.v-row__details {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
}

.v-row__title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #141414;
    margin: 0;
    line-height: 1.3;
}

.v-row__title a {
    color: inherit;
    text-decoration: none;
}

.v-row__title a:hover {
    color: #E31E24;
}

/* Quick spec row */
.v-row__quickspecs {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
    padding: 8px 0;
    border-top: 1px solid #e8e8e8;
    border-bottom: 1px solid #e8e8e8;
}

.qs {
    text-align: center;
    padding: 0 4px;
    border-right: 1px solid #e8e8e8;
}
.qs:last-child { border-right: none; }

.qs__label {
    font-size: 0.68rem;
    font-weight: 700;
    color: #6a6a6a;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-bottom: 2px;
}

.qs__value {
    font-size: 0.82rem;
    font-weight: 700;
    color: #000000;
    line-height: 1.2;
}

/* Detail spec table */
.v-row__spectable {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.75rem;
}

.v-row__spectable td {
    padding: 4px 8px;
    border: 1px solid #e8e8e8;
}

.v-row__spectable .lbl {
    background: #ffffff;
    color: #4a4a4a;
    font-weight: 600;
    width: 11%;
}

.v-row__spectable .val {
    background: #ffffff;
    color: #000000;
    font-weight: 600;
    width: 14%;
}

/* Feature row */
.v-row__features {
    font-size: 0.78rem;
    color: #E31E24;
    font-weight: 600;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}

.v-row__sep {
    color: #d0d0d0;
    margin: 0 3px;
}

.v-row__seemore {
    color: #E31E24;
    text-decoration: underline;
    margin-left: auto;
}

/* Right price column */
.v-row__price-col {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    text-align: center;
    gap: 8px;
    padding-left: 16px;
    border-left: 1px solid #e8e8e8;
}

.v-row__price-label {
    font-size: 0.75rem;
    color: #4a4a4a;
    font-weight: 600;
}

.v-row__price {
    font-size: 1.25rem;
    font-weight: 900;
    color: #141414;
    line-height: 1;
    letter-spacing: -0.3px;
}

.v-row__inquiry {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: #000000;
    color: #ffffff;
    padding: 10px 16px;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 3px;
    transition: background 0.15s ease;
    letter-spacing: 0.5px;
    margin-top: 6px;
}

.v-row__inquiry:hover {
    background: #E31E24;
    color: #000000;
}

/* Responsive — vehicle row */
@media (max-width: 1100px) {
    .v-row {
        grid-template-columns: 220px 1fr 180px;
        gap: 14px;
    }
    .v-row__quickspecs { grid-template-columns: repeat(3, 1fr); }
    .qs:nth-child(3) { border-right: none; }
}

@media (max-width: 900px) {
    .archive-layout__inner { grid-template-columns: 1fr; }
    .v-row { grid-template-columns: 200px 1fr; }
    .v-row__price-col {
        grid-column: 1 / -1;
        flex-direction: row;
        justify-content: space-between;
        padding-left: 0;
        padding-top: 10px;
        border-left: none;
        border-top: 1px solid #e8e8e8;
    }
    .v-row__inquiry { margin-top: 0; }
    .v-row__spectable { font-size: 0.7rem; }
}

@media (max-width: 640px) {
    .v-row { grid-template-columns: 1fr; }
    .v-row__quickspecs { grid-template-columns: repeat(2, 1fr); }
    .qs { border-right: none; border-bottom: 1px solid #e8e8e8; padding-bottom: 4px; }
    .archive-toolbar { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   SINGLE VEHICLE PAGE
   ============================================================ */
.single-breadcrumb {
    background: #ffffff;
    border-bottom: 1px solid #d0d0d0;
    padding: 8px 0;
    font-size: 0.78rem;
    color: #4a4a4a;
}

.single-breadcrumb .container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 16px;
}

.single-breadcrumb a {
    color: #E31E24;
    font-weight: 700;
    text-decoration: none;
}
.single-breadcrumb a:hover { text-decoration: underline; }

.single-vehicle {
    background: #ffffff;
    padding: 16px 0 30px;
}

.single-vehicle__container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 16px;
}

.single-vehicle__top {
    display: grid;
    grid-template-columns: 480px 1fr;
    gap: 18px;
    margin-bottom: 20px;
}

/* ===== Gallery ===== */
.sv-gallery {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sv-gallery__main {
    background: #ffffff;
    border: 1px solid #d0d0d0;
    border-radius: 4px;
    overflow: hidden;
    aspect-ratio: 4/3;
    position: relative;
}

.sv-gallery__main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: zoom-in;
    transition: opacity 0.18s ease;
}

.sv-gallery__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    background: linear-gradient(135deg, #ffffff, #ffffff);
    color: #4a4a4a;
}

.sv-gallery__thumbs {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
}

.sv-gallery__thumb {
    border: 2px solid #d0d0d0;
    background: #ffffff;
    padding: 0;
    cursor: pointer;
    border-radius: 3px;
    overflow: hidden;
    aspect-ratio: 4/3;
    transition: border-color 0.18s ease, transform 0.18s ease;
    position: relative;
}

.sv-gallery__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.15s ease;
}

.sv-gallery__thumb:hover {
    border-color: #E31E24;
    transform: translateY(-2px);
}

.sv-gallery__thumb.is-active {
    border-color: #E31E24;
    box-shadow: 0 0 0 2px rgba(227,30,36,0.25);
}

.sv-gallery__thumb.is-active::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 2px solid #ffffff;
    border-radius: 1px;
    pointer-events: none;
}

.sv-gallery__expand {
    align-self: flex-start;
    background: #E31E24;
    color: #ffffff;
    padding: 6px 14px;
    border: none;
    border-radius: 3px;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    margin-top: 4px;
    display: none;
}

.sv-gallery__expand:hover { background: #000000; }

/* ===== Side stack: title + price + delivery + inquiry ===== */
.sv-side {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
}

.sv-titlecard {
    background: #ffffff;
    border: 1px solid #d0d0d0;
    border-radius: 4px;
    padding: 14px;
}

.sv-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #141414;
    margin: 0 0 8px;
    line-height: 1.3;
}

.sv-refno {
    font-size: 0.82rem;
    color: #4a4a4a;
    margin-bottom: 4px;
}
.sv-refno strong { color: #141414; }

.sv-badge {
    display: inline-block;
    background: #000;
    color: #ffffff;
    font-size: 0.66rem;
    font-weight: 900;
    padding: 3px 10px;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.sv-price-row {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin: 10px 0;
    flex-wrap: wrap;
}

.sv-price-label {
    font-size: 0.85rem;
    color: #4a4a4a;
    font-weight: 600;
}

.sv-price {
    font-size: 1.6rem;
    font-weight: 900;
    color: #E31E24;
    letter-spacing: -0.3px;
}

.sv-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.sv-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 9px 14px;
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.15s ease;
    letter-spacing: 0.5px;
}

.sv-btn--quote { background: #E31E24; color: #ffffff; flex: 1; }
.sv-btn--quote:hover { background: #b3161b; color: #ffffff; }

.sv-btn--buy { background: #000; color: #ffffff; flex: 1; }
.sv-btn--buy:hover { background: #333; color: #ffffff; }

.sv-btn--whatsapp { background: #25D366; color: #ffffff; flex: 1; }
.sv-btn--whatsapp:hover { background: #1ebe5d; color: #ffffff; }

/* ===== Delivery options ===== */
.sv-delivery {
    background: #ffffff;
    border: 1px solid #d0d0d0;
    border-radius: 4px;
    padding: 14px;
}

.sv-delivery__step,
.sv-inquiry__step {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 10px;
    border-bottom: 2px solid #E31E24;
    margin-bottom: 12px;
}

.step-num {
    background: #000;
    color: #fff;
    padding: 3px 10px;
    font-size: 0.76rem;
    font-weight: 800;
    border-radius: 3px;
}

.step-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: #000000;
    letter-spacing: 0.3px;
}

.sv-delivery__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 12px;
}

.sv-delivery__field { display: flex; flex-direction: column; gap: 4px; }

.sv-delivery__field .lbl,
.sv-inquiry__grid .lbl,
.sv-inquiry__textarea .lbl {
    font-size: 0.74rem;
    color: #4a4a4a;
    font-weight: 600;
}

.sv-delivery__field select,
.sv-inquiry__grid input,
.sv-inquiry__grid select,
.sv-inquiry__textarea textarea {
    padding: 7px 10px;
    border: 1px solid #d0d0d0;
    border-radius: 3px;
    font-size: 0.82rem;
    background: #ffffff;
    width: 100%;
    outline: none;
    transition: border-color 0.15s ease;
}

.sv-delivery__field select:focus,
.sv-inquiry__grid input:focus,
.sv-inquiry__grid select:focus,
.sv-inquiry__textarea textarea:focus {
    border-color: #E31E24;
}

.sv-delivery__legend {
    font-size: 0.76rem;
    color: #4a4a4a;
}

.legend-title {
    display: block;
    font-weight: 700;
    color: #E31E24;
    margin-bottom: 4px;
}

.legend-item { display: inline-flex; align-items: center; gap: 5px; }

.dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.dot-green { background: #E31E24; }

.sv-delivery__totals {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: #d0d0d0;
    border: 1px solid #d0d0d0;
    border-radius: 3px;
    overflow: hidden;
}

.tot-cell {
    background: #ffffff;
    padding: 8px 10px;
    text-align: center;
}

.tot-cell--total { background: #ffffff; }

.tot-lbl {
    display: block;
    font-size: 0.7rem;
    color: #4a4a4a;
    font-weight: 600;
    margin-bottom: 2px;
}

.tot-val {
    display: block;
    font-size: 0.85rem;
    font-weight: 800;
    color: #000000;
}

.tot-cell--total .tot-val { color: #E31E24; }

/* ===== Inquiry form ===== */
.sv-inquiry {
    background: #ffffff;
    border: 1px solid #d0d0d0;
    border-radius: 4px;
    padding: 14px;
}

.sv-inquiry__tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 12px;
    border-bottom: 1px solid #d0d0d0;
    flex-wrap: wrap;
}

.sv-tab {
    padding: 8px 16px;
    background: #ffffff;
    border: 1px solid #d0d0d0;
    border-bottom: none;
    color: #4a4a4a;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    border-radius: 3px 3px 0 0;
    transition: background 0.15s ease, color 0.15s ease;
    margin-bottom: -1px;
}

.sv-tab:hover {
    background: #d0d0d0;
    color: #000000;
}

.sv-tab--active {
    background: #000;
    color: #ffffff;
    border-color: #E31E24;
    cursor: default;
}

/* ===== Tab panels ===== */
.sv-panel {
    display: none;
    animation: wcb-fade-in 0.2s ease;
}

.sv-panel--active {
    display: block;
}

@keyframes wcb-fade-in {
    from { opacity: 0; transform: translateY(4px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ===== Login form (wp_login_form output) ===== */
#sv-loginform {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#sv-loginform p {
    margin: 0;
}

#sv-loginform label {
    display: flex;
    flex-direction: column;
    gap: 3px;
    font-size: 0.74rem;
    color: #4a4a4a;
    font-weight: 600;
}

#sv-loginform input[type="text"],
#sv-loginform input[type="password"] {
    padding: 9px 10px;
    border: 1px solid #d0d0d0;
    border-radius: 3px;
    font-size: 0.85rem;
    background: #ffffff;
    width: 100%;
    margin-top: 3px;
    outline: none;
    transition: border-color 0.15s ease;
}

#sv-loginform input[type="text"]:focus,
#sv-loginform input[type="password"]:focus {
    border-color: #E31E24;
}

#sv-loginform .login-remember {
    flex-direction: row;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    color: #4a4a4a;
}

#sv-loginform .login-remember input {
    margin: 0;
}

#sv-loginform .login-submit input[type="submit"],
#sv-loginform input#wp-submit {
    width: 100%;
    background: #E31E24;
    color: #ffffff;
    border: none;
    padding: 11px 14px;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 3px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
    transition: background 0.15s ease;
}

#sv-loginform input#wp-submit:hover {
    background: #000000;
}

/* ===== Register form ===== */
.sv-register-form .sv-inquiry__grid {
    margin-bottom: 12px;
}

.sv-register-form input[type="text"],
.sv-register-form input[type="email"],
.sv-register-form input[type="password"] {
    padding: 7px 10px;
    border: 1px solid #d0d0d0;
    border-radius: 3px;
    font-size: 0.82rem;
    background: #ffffff;
    width: 100%;
    outline: none;
    transition: border-color 0.15s ease;
}

.sv-register-form input:focus {
    border-color: #E31E24;
}

.sv-form-check {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: #4a4a4a;
    margin: 12px 0;
    cursor: pointer;
}

.sv-form-error,
.sv-form-success {
    padding: 10px 12px;
    border-radius: 3px;
    font-size: 0.82rem;
    margin-bottom: 12px;
    border-left: 4px solid;
}

.sv-form-error {
    background: #ffffff;
    color: #b3161b;
    border-color: #E31E24;
}

.sv-form-success {
    background: #ffffff;
    color: #b3161b;
    border-color: #E31E24;
}

.sv-form-helper {
    font-size: 0.78rem;
    color: #4a4a4a;
    margin-top: 12px;
    text-align: center;
}

.sv-form-helper a,
.sv-tab-switch {
    color: #E31E24;
    font-weight: 600;
    text-decoration: underline;
    cursor: pointer;
}

.sv-form-helper a:hover,
.sv-tab-switch:hover {
    color: #E31E24;
}

/* ===== Logged-in account panel ===== */
.sv-account {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px 14px;
    align-items: center;
    background: #ffffff;
    border: 1px solid #d0d0d0;
    border-radius: 4px;
    padding: 16px;
}

.sv-account__avatar img {
    border-radius: 50%;
    border: 2px solid #E31E24;
}

.sv-account__greeting strong {
    display: block;
    font-size: 0.95rem;
    color: #E31E24;
    margin-bottom: 4px;
}

.sv-account__greeting p {
    font-size: 0.8rem;
    color: #4a4a4a;
    margin: 0;
}

.sv-account__links {
    grid-column: 1 / -1;
    display: flex;
    gap: 12px;
    border-top: 1px solid #d0d0d0;
    padding-top: 12px;
    margin-top: 4px;
}

.sv-link {
    font-size: 0.82rem;
    font-weight: 600;
    color: #E31E24;
    text-decoration: none;
    padding: 4px 10px;
    border: 1px solid #E31E24;
    border-radius: 3px;
    transition: all 0.15s ease;
}

.sv-link:hover {
    background: #E31E24;
    color: #ffffff;
}

.sv-link--danger {
    color: #E31E24;
    border-color: #E31E24;
}

.sv-link--danger:hover {
    background: #E31E24;
    color: #ffffff;
}

.sv-inquiry__note {
    font-size: 0.78rem;
    color: #6a6a6a;
    margin-bottom: 12px;
}

.sv-inquiry__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 10px;
}

.sv-inquiry__grid label,
.sv-inquiry__textarea {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.sv-inquiry__textarea { margin-bottom: 12px; }
.sv-inquiry__textarea textarea { resize: vertical; min-height: 80px; }

.sv-inquiry__captcha {
    background: #ffffff;
    border: 1px solid #d0d0d0;
    padding: 10px;
    border-radius: 3px;
    margin-bottom: 12px;
    font-size: 0.85rem;
}

.sv-inquiry__captcha label {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.sv-inquiry__buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.sv-inquiry__buttons .sv-btn { flex: 1; min-width: 120px; padding: 11px 14px; }

/* ===== How-to box ===== */
.sv-howto {
    background: #ffffff;
    border: 1px solid #d0d0d0;
    border-radius: 3px;
    padding: 12px 14px;
    margin-top: 16px;
    font-size: 0.78rem;
}

.sv-howto__title {
    font-size: 0.78rem;
    font-weight: 800;
    color: #E31E24;
    margin-bottom: 6px;
    letter-spacing: 0.4px;
}

.sv-howto p { margin-bottom: 6px; color: #4a4a4a; }

.sv-howto ol {
    padding-left: 20px;
    color: #4a4a4a;
}

.sv-howto li { margin-bottom: 4px; }

/* ===== Specs section ===== */
.sv-specs-section {
    background: #ffffff;
    border: 1px solid #d0d0d0;
    border-radius: 4px;
    padding: 14px;
    margin-bottom: 18px;
}

.sv-specs-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #E31E24;
    padding-bottom: 8px;
    margin-bottom: 12px;
}

.sv-specs-header h2 {
    font-size: 0.95rem;
    font-weight: 900;
    color: #000;
    margin: 0;
    letter-spacing: 1px;
}

.sv-specs-location {
    font-size: 0.8rem;
    color: #4a4a4a;
    font-weight: 600;
}

.sv-specs-location strong {
    color: #E31E24;
    margin-left: 6px;
}

/* Quick spec strip */
.sv-quickspecs {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1px;
    background: #d0d0d0;
    border: 1px solid #d0d0d0;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 16px;
}

.qs-cell {
    background: #ffffff;
    padding: 12px 8px;
    text-align: center;
}

.qs-cell__label {
    font-size: 0.7rem;
    color: #6a6a6a;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.qs-cell__value {
    font-size: 0.95rem;
    font-weight: 800;
    color: #E31E24;
    line-height: 1.2;
}

.qs-cell__sub {
    display: block;
    font-size: 0.7rem;
    color: #4a4a4a;
    font-weight: 500;
    margin-top: 2px;
}

/* Detailed spec table */
.sv-spectable {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8rem;
}

.sv-spectable td {
    padding: 7px 10px;
    border: 1px solid #e8e8e8;
}

.sv-spectable .lbl {
    background: #ffffff;
    color: #4a4a4a;
    font-weight: 600;
    width: 18%;
}

.sv-spectable .val {
    background: #ffffff;
    color: #141414;
    font-weight: 600;
    width: 32%;
}

/* ===== Features grid ===== */
.sv-features-section {
    background: #ffffff;
    border: 1px solid #d0d0d0;
    border-radius: 4px;
    padding: 14px;
    margin-bottom: 18px;
}

.sv-features-title {
    font-size: 0.95rem;
    font-weight: 900;
    color: #000000;
    margin: 0 0 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid #E31E24;
    letter-spacing: 0.5px;
}

.sv-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    margin-bottom: 16px;
}

.sv-feature-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 8px 10px;
    font-size: 0.78rem;
    font-weight: 700;
    text-align: center;
    border-radius: 3px;
    letter-spacing: 0.3px;
    transition: transform 0.15s ease;
}

/* Active = checked feature → solid green with checkmark */
.sv-feature-pill.is-active {
    background: #0c6803;
    color: #ffffff;
    box-shadow: 0 1px 3px rgba(227,30,36,0.25);
}

.sv-feature-pill.is-active:hover {
    transform: translateY(-1px);
    background: #b3161b;
}

.sv-feature-pill__check {
    flex-shrink: 0;
}

/* Inactive = available but not selected → dim gray, faded */
.sv-feature-pill.is-inactive {
    background: #e8e8e8;
    color: #6a6a6a;
    border: 1px dashed #d0d0d0;
    text-decoration: line-through;
    opacity: 0.7;
}

/* Custom feature (typed in textarea) — slightly darker green to distinguish */
.sv-feature-pill.is-custom {
    background: #b3161b;
}

/* Disclaimer */
.sv-disclaimer {
    background: #ffffff;
    border-left: 3px solid #E31E24;
    padding: 10px 14px;
    font-size: 0.74rem;
    color: #4a4a4a;
    line-height: 1.6;
}

.sv-disclaimer p { margin-bottom: 4px; }

/* ===== Description ===== */
.sv-description {
    background: #ffffff;
    border: 1px solid #d0d0d0;
    border-radius: 4px;
    padding: 14px;
    margin-bottom: 18px;
}

.sv-description h2 {
    font-size: 0.95rem;
    font-weight: 900;
    margin: 0 0 10px;
    padding-bottom: 8px;
    border-bottom: 2px solid #E31E24;
}

/* ===== Contact section ===== */
.sv-contact-section {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid #d0d0d0;
    margin-top: 20px;
}

.sv-contact-title {
    font-size: 1rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 14px;
}

.sv-contact-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 14px;
}

.sv-contact-logo img { max-height: 60px; }

.sv-contact-brand {
    font-size: 1.4rem;
    font-weight: 900;
    color: #E31E24;
    letter-spacing: -0.3px;
}

.sv-contact-row {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.sv-contact-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    color: #4a4a4a;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
}

.sv-contact-card__icon {
    width: 44px;
    height: 44px;
    background: #E31E24;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

a.sv-contact-card:hover { color: #E31E24; }

/* ============================================================
   THANK-YOU POPUP (after inquiry form submission)
   ============================================================ */
.wcb-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: wcb-popup-fade 0.25s ease;
    backdrop-filter: blur(4px);
}

@keyframes wcb-popup-fade {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.wcb-popup {
    position: relative;
    background: #ffffff;
    border-radius: 8px;
    padding: 36px 32px 28px;
    max-width: 480px;
    width: 100%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
    animation: wcb-popup-slide 0.35s ease;
}

@keyframes wcb-popup-slide {
    from { opacity: 0; transform: translateY(20px) scale(0.96); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.wcb-popup__close {
    position: absolute;
    top: 6px;
    right: 8px;
    background: #ffffff;
    border: 1px solid #d0d0d0;
    font-size: 1.6rem;
    line-height: 1;
    color: #4a4a4a;
    cursor: pointer;
    padding: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
    z-index: 10;
}

.wcb-popup__close:hover {
    background: #E31E24;
    color: #ffffff;
    border-color: #E31E24;
    transform: scale(1.05);
}

.wcb-popup__close:active {
    transform: scale(0.95);
}

.wcb-popup__icon {
    margin: 0 auto 16px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: wcb-popup-icon 0.5s ease 0.1s both;
}

@keyframes wcb-popup-icon {
    from { transform: scale(0); }
    50%  { transform: scale(1.15); }
    to   { transform: scale(1); }
}

.wcb-popup__icon--success {
    background: #ffffff;
    color: #E31E24;
}

.wcb-popup__icon--error {
    background: #ffffff;
    color: #E31E24;
}

.wcb-popup__title {
    font-size: 1.6rem;
    font-weight: 800;
    color: #141414;
    margin: 0 0 10px;
}

.wcb-popup__message {
    font-size: 1rem;
    color: #4a4a4a;
    line-height: 1.5;
    margin-bottom: 12px;
}

.wcb-popup__hint {
    font-size: 0.82rem;
    color: #6a6a6a;
    line-height: 1.5;
    margin-bottom: 20px;
    padding: 10px 14px;
    background: #ffffff;
    border-left: 3px solid #E31E24;
    border-radius: 3px;
    text-align: left;
}

.wcb-popup__actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.wcb-popup__actions .sv-btn {
    min-width: 140px;
    padding: 11px 22px;
}

@media (max-width: 480px) {
    .wcb-popup { padding: 28px 22px 22px; }
    .wcb-popup__title { font-size: 1.3rem; }
    .wcb-popup__icon { width: 64px; height: 64px; }
    .wcb-popup__icon svg { width: 44px; height: 44px; }
}

/* Body-lock when popup is showing */
body.wcb-popup-open { overflow: hidden; }

/* ============================================================
   RELATED VEHICLES (single page bottom)
   ============================================================ */
.sv-related {
    background: #ffffff;
    border: 1px solid #d0d0d0;
    border-radius: 4px;
    padding: 18px;
    margin-bottom: 20px;
}

.sv-related__title {
    font-size: 1.05rem;
    font-weight: 800;
    color: #141414;
    margin: 0 0 14px;
    padding-bottom: 8px;
    border-bottom: 2px solid #E31E24;
    letter-spacing: 0.3px;
}

.sv-related__title::before {
    content: '★ ';
    color: #E31E24;
}

.sv-related__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.sv-related__more {
    text-align: center;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid #e8e8e8;
}

@media (max-width: 1100px) {
    .sv-related__grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 700px) {
    .sv-related__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
    .sv-related__grid { grid-template-columns: 1fr 1fr; gap: 8px; }
}
@media (max-width: 1000px) {
    .single-vehicle__top { grid-template-columns: 1fr; }
    .sv-gallery__thumbs { grid-template-columns: repeat(5, 1fr); }
}

@media (max-width: 700px) {
    .sv-quickspecs { grid-template-columns: repeat(3, 1fr); }
    .sv-features-grid { grid-template-columns: repeat(3, 1fr); }
    .sv-delivery__row,
    .sv-inquiry__grid { grid-template-columns: 1fr; }
    .sv-delivery__totals { grid-template-columns: 1fr 1fr; }
    .sv-actions { flex-direction: column; }
    .sv-actions .sv-btn { width: 100%; }
}

@media (max-width: 480px) {
    .sv-gallery__thumbs { grid-template-columns: repeat(4, 1fr); }
    .sv-quickspecs { grid-template-columns: repeat(2, 1fr); }
    .sv-features-grid { grid-template-columns: repeat(2, 1fr); }
    .sv-spectable .lbl, .sv-spectable .val { font-size: 0.74rem; padding: 5px 7px; }
    .sv-contact-row { gap: 12px; }
}

/* ============================================================
   LIVE FILTER LOADING STATE & EMPTY STATE
   ============================================================ */
.wcb-spinner {
    display: flex;
    justify-content: center;
    padding: 24px 0;
    margin: 0;
}

.wcb-spinner__circle {
    width: 36px;
    height: 36px;
    border: 3px solid #d0d0d0;
    border-top-color: #E31E24;
    border-radius: 50%;
    animation: wcb-spin 0.8s linear infinite;
}

@keyframes wcb-spin {
    to { transform: rotate(360deg); }
}

.v-no-results {
    background: #ffffff;
    border: 1px dashed #d0d0d0;
    border-radius: 4px;
    padding: 36px 20px;
    text-align: center;
    color: #4a4a4a;
    font-size: 0.92rem;
}

.v-no-results::before {
    content: '🔍';
    display: block;
    font-size: 2.5rem;
    margin-bottom: 8px;
    opacity: 0.5;
}

/* ============================================================
   USER OVERRIDES — applied last so they win cascade conflicts.
   Brand palette: #E31E24 red, #000000 black, #ffffff white.
   ============================================================ */



.sb-widget__title--blue {
    background: linear-gradient(135deg, #E31E24 0%, #141414 100%);
}

.filter-field {
    width: 100%;
    padding: 5px 10px;
    background: #ffffff;
    border: 1px solid #8f8e8e;
    border-radius: 2px;
    font-size: 0.8rem;
    color: #000000;
    outline: none;
    cursor: pointer;
    transition: border-color 0.2s ease;
    appearance: none;
    -webkit-appearance: none;
}

.deal-chip {
    font-size: 0.58rem;
    gap: 5px;
    padding: 6px 4px;
}

.filter-row--deals {
    display: flex;
    gap: 4px;
    grid-template-columns: none;
    padding: 6px 0;
    border: 1px solid #8f8e8e;
}

.filter-advanced[open] .filter-advanced__toggle {
    background: linear-gradient(135deg, #E31E24 0%, #141414 100%);
}

.deal-tiles {
    display: none;
}

.filter-btn--search {
    background: linear-gradient(135deg, #E31E24 0%, #141414 100%);
    color: #ffffff;
}

.ad-card__hd--blue {
    display: none;
}

.v-card__btn {
    background: linear-gradient(135deg, #E31E24 0%, #141414 100%);
}

.v-card__brand a {
    color: #E31E24;
}

/* ============================================================
   SIDEBAR ADS — image-only cards driven by Customizer
   ============================================================ */
.ad-card--image {
    display: block;
    width: 100%;
    background: #ffffff;
    border: 1px solid #d0d0d0;
    border-radius: 4px;
    overflow: hidden;
    padding: 0;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

a.ad-card--image:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
    border-color: #E31E24;
}

.ad-card__img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.ad-card--placeholder {
    background: #ffffff;
    border: 1px dashed #d0d0d0;
}

/* ============================================================
   SINGLE VEHICLE — PORTS TABLE (Step 1 delivery)
   ============================================================ */
.sv-ports {
    margin-top: 14px;
    border: 1px solid #d0d0d0;
    border-radius: 4px;
    overflow: hidden;
}

.sv-ports__table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    font-size: 0.85rem;
}

.sv-ports__table thead th {
    background: #ffffff;
    text-align: left;
    font-weight: 700;
    font-size: 0.78rem;
    color: #000000;
    padding: 10px 14px;
    border-bottom: 1px solid #d0d0d0;
    text-transform: none;
    letter-spacing: 0;
}

.sv-ports__table tbody tr {
    background: #ffffff;
}

.sv-ports__table tbody tr:nth-child(even) {
    background: #f7f7f7;
}

.sv-ports__table tbody td {
    padding: 9px 14px;
    border-bottom: 1px solid #e8e8e8;
    vertical-align: middle;
    color: #000000;
}

.sv-ports__table tbody tr:last-child td {
    border-bottom: none;
}

.sv-ports__port-name {
    font-weight: 600;
    text-transform: capitalize;
}

.sv-ports__dest label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 0.85rem;
}

.sv-ports__dest input[type="radio"] {
    accent-color: #E31E24;
    margin: 0;
}

.sv-ports__svc {
    color: #E31E24;
    font-size: 1rem;
}

.sv-ports__price {
    color: #E31E24;
    font-weight: 700;
    text-align: left;
    white-space: nowrap;
}

#sv-cnf-total {
    color: #E31E24;
    font-weight: 800;
}

@media (max-width: 640px) {
    .sv-ports__table thead { display: none; }
    .sv-ports__table tbody, .sv-ports__table tbody tr, .sv-ports__table tbody td { display: block; width: 100%; }
    .sv-ports__table tbody tr {
        margin-bottom: 8px;
        border: 1px solid #d0d0d0;
        padding: 6px 0;
    }
    .sv-ports__table tbody td {
        border-bottom: none;
        padding: 6px 14px;
    }
    .sv-ports__table tbody td.sv-ports__port-name::before { content: 'Port: '; font-weight: 400; color: #4a4a4a; }
    .sv-ports__table tbody td.sv-ports__svc::before       { content: 'Service: '; color: #4a4a4a; }
    .sv-ports__table tbody td.sv-ports__price::before     { content: 'Price: '; color: #4a4a4a; font-weight: 400; }
}

/* ============================================================
   PRODUCT STATUS BADGE
   Overlaid on top of every vehicle image (card, row, single).
   ============================================================ */
.wcb-status-badge {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
    display: block;
    width: 100%;
    text-align: center;
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 5px 10px;
    line-height: 1.2;
    pointer-events: none;
}

/* Colour variants */
.wcb-status-badge--booked {
    background: #E31E24;
    color: #ffffff;
}
.wcb-status-badge--new {
    background: #1a7a3a;
    color: #ffffff;
}
.wcb-status-badge--booking_pending {
    background: #e6820a;
    color: #ffffff;
}

/* Larger size for the single-product main image */
.wcb-status-badge--lg {
    font-size: 0.95rem;
    padding: 8px 16px;
    letter-spacing: 0.12em;
    background: green;
    margin-top: 185px;
    width: 150px;
}

/* ============================================================
   PROMO BANNER
   Full-width banner between the notice ticker and the topbar.
   Matches the "RIGHT HAND DRIVE / NEW LATEST PICK UP TRUCKS"
   design with diagonal colour split and car image layers.
   ============================================================ */

.wcb-promo-banner {
    --promo-bg-left:  #1a3fa0;
    --promo-bg-right: #111111;
    --promo-h:        74px;

    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    height: var(--promo-h);
    overflow: hidden;
    position: relative;
    background: linear-gradient(
        to right,
        var(--promo-bg-left)  0%,
        var(--promo-bg-left)  35%,
        var(--promo-bg-right) 55%,
        var(--promo-bg-right) 100%
    );
}

/* Clickable wrapper — covers the full banner */
.wcb-promo-banner__link {
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
    position: relative;
}

/* ---- Left car images ---- */
.wcb-promo-banner__cars-left {
    display: flex;
    align-items: flex-end;
    height: var(--promo-h);
    flex-shrink: 0;
    padding-left: 16px;
    gap: 4px;
    position: relative;
    z-index: 2;
}

.wcb-promo-car {
    display: block;
    object-fit: contain;
    filter: drop-shadow(2px 0 8px rgba(0,0,0,0.55));
}

.wcb-promo-car--1 { height: 52px; opacity: 0.75; }
.wcb-promo-car--2 { height: 60px; opacity: 0.88; }
.wcb-promo-car--3 { height: 68px; }

/* ---- Diagonal slash ---- */
.wcb-promo-banner__slash {
    width: 60px;
    height: var(--promo-h);
    flex-shrink: 0;
    clip-path: polygon(30px 0, 60px 0, 30px 100%, 0 100%);
    margin-left: -6px;
    z-index: 1;
    position: relative;
}

/* ---- Text block ---- */
.wcb-promo-banner__text {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

.wcb-promo-banner__bold {
    font-size: clamp(1.15rem, 2.8vw, 1.8rem);
    font-weight: 900;
    font-style: italic;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    white-space: nowrap;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.6), 0 0 20px rgba(255,255,255,0.08);
    line-height: 1;
}

.wcb-promo-banner__sub {
    font-size: clamp(0.72rem, 1.6vw, 1rem);
    font-weight: 700;
    color: #d8d8d8;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    white-space: nowrap;
    line-height: 1;
}

/* ---- Right car image ---- */
.wcb-promo-banner__cars-right {
    display: flex;
    align-items: flex-end;
    height: var(--promo-h);
    flex-shrink: 0;
    padding-right: 12px;
    z-index: 2;
    position: relative;
}

.wcb-promo-car--right {
    height: calc(var(--promo-h) - 2px);
    max-width: 180px;
    filter: drop-shadow(-2px 0 8px rgba(0,0,0,0.45));
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
    .wcb-promo-banner {
        --promo-h: 56px;
    }
    .wcb-promo-car--1 { display: none; }
    .wcb-promo-car--2 { display: none; }
    .wcb-promo-car--3 { height: 50px; }
    .wcb-promo-car--right { max-width: 110px; }
    .wcb-promo-banner__sub { display: none; }
    .wcb-promo-banner__text { padding: 0 12px; gap: 10px; }
    .wcb-promo-banner__slash { width: 36px; }
}

@media (max-width: 480px) {
    .wcb-promo-banner {
        --promo-h: 48px;
    }
    .wcb-promo-banner__cars-left { display: none; }
    .wcb-promo-banner__slash { display: none; }
    .wcb-promo-banner { background: var(--promo-bg-right); }
}
