@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@400;500;600;700;800&display=swap');

:root {
    --market-dark: #1f1715;
    --market-dark-2: #2a201d;
    --market-card: #fffdf8;
    --market-line: rgba(213, 40, 24, 0.14);
}

body {
    font-family: "Barlow", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.site-header {
    background: rgba(22, 14, 12, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.header-toolbar-grid,
.main-nav,
.nav-menu,
.hero-search-actions,
.hero-stats,
.vehicle-mini-specs,
.spotlight-topline,
.catalog-chip,
.catalog-filter-actions,
.catalog-results-head,
.catalog-card-footer,
.catalog-tags,
.detail-stage-actions,
.footer-links,
.footer-contact {
    display: flex;
    align-items: center;
}

.header-toolbar-grid,
.main-nav,
.footer-shell {
    justify-content: space-between;
    gap: 18px;
}

.header-toolbar {
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.16);
}

.header-toolbar-grid {
    display: grid;
    grid-template-columns: auto minmax(420px, 1fr) auto;
    align-items: center;
    gap: clamp(14px, 1.4vw, 24px);
}

.header-toolbar-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(10px, 0.9vw, 14px);
}

.header-search-form {
    position: relative;
    display: block;
}

.header-search-form input {
    width: 100%;
    min-height: 50px;
    padding: 0 68px 0 18px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.96);
    font: inherit;
}

.header-search-submit {
    position: absolute;
    top: 50%;
    right: 6px;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent), var(--brand));
    color: #fff;
    cursor: pointer;
    transform: translateY(-50%);
    box-shadow: 0 10px 24px rgba(213, 40, 24, 0.22);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.header-search-submit:hover {
    transform: translateY(-50%) scale(1.03);
    box-shadow: 0 14px 28px rgba(213, 40, 24, 0.28);
}

.header-search-submit svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.header-language-dropdown select {
    min-width: 132px;
    min-height: 50px;
    padding: 0 16px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.96);
    font: inherit;
    font-weight: 700;
    color: var(--ink);
}

.header-favorites-link {
    position: relative;
    width: 50px;
    height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.96);
    color: var(--brand-strong);
    box-shadow: 0 10px 24px rgba(16, 24, 40, 0.12);
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.header-favorites-link:hover,
.header-favorites-link.is-active {
    transform: translateY(-1px);
    color: #fff;
    background: linear-gradient(135deg, var(--brand), var(--accent));
    box-shadow: 0 14px 28px rgba(213, 40, 24, 0.22);
}

.header-favorites-link svg,
.favorite-toggle-button svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linejoin: round;
}

.header-favorites-count {
    position: absolute;
    top: -5px;
    right: -4px;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--brand);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
    box-shadow: 0 10px 18px rgba(213, 40, 24, 0.22);
}

.header-main {
    background: linear-gradient(180deg, rgba(31, 23, 21, 0.98), rgba(31, 23, 21, 0.9));
}

.header-menu-row {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.header-category-bar-wrap {
    --category-bar-height: 92px;
    overflow: hidden;
    height: var(--category-bar-height);
    transition: height 0.26s cubic-bezier(0.4, 0, 0.2, 1);
}

.header-category-bar {
    --category-bar-bg: #ffffff;
    --category-bar-inline: clamp(12px, 1.8vw, 22px);
    background: var(--category-bar-bg);
    border-top: 1px solid rgba(213, 40, 24, 0.08);
    border-bottom: 1px solid rgba(213, 40, 24, 0.1);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.96);
    height: var(--category-bar-height);
    opacity: 1;
    transform: translateY(0);
    will-change: transform, opacity;
    transition:
        transform 0.26s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.18s ease;
}

.header-category-bar > .categories-full.container {
    width: 100%;
    max-width: none;
    padding-inline: var(--category-bar-inline);
}

.header-category-bar > .categories-full.container,
.categories-row,
.categories-icons,
.menu-product-category-menu-container,
.menu-product-category-menu {
    background: var(--category-bar-bg);
}

.categories-full {
    padding: 0;
    --category-pill-width: clamp(80px, calc((100vw - 460px) / 11), 112px);
}

.categories-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) clamp(124px, 10.5vw, 140px);
    gap: clamp(10px, 1vw, 16px);
    align-items: center;
    min-height: 72px;
    overflow: hidden;
}

.categories-icons {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 6px;
    align-items: center;
    min-width: 0;
    width: 100%;
}

.menu-product-category-shell {
    min-width: 0;
}

.filter-button {
    min-width: 0;
    justify-self: end;
    width: 100%;
    position: relative;
    z-index: 4;
}

.menu-product-category-menu-container {
    position: relative;
    overflow: hidden;
    overscroll-behavior-x: contain;
    min-width: 0;
    max-width: 100%;
    padding-right: 2px;
}

.menu-product-category-menu-container::before,
.menu-product-category-menu-container::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 18px;
    pointer-events: none;
    z-index: 2;
}

.menu-product-category-menu-container::before {
    left: 0;
    background: linear-gradient(90deg, var(--category-bar-bg), rgba(255, 255, 255, 0));
}

.menu-product-category-menu-container::after {
    right: 0;
    background: linear-gradient(270deg, var(--category-bar-bg), rgba(255, 255, 255, 0));
}

.menu-product-category-menu {
    display: flex;
    gap: clamp(6px, 0.6vw, 10px);
    align-items: stretch;
    overflow-x: auto;
    list-style: none;
    margin: 0;
    padding: 8px 2px 12px;
    scroll-behavior: auto;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    max-width: 100%;
}

.menu-product-category-menu::-webkit-scrollbar {
    display: none;
}

.category-scroll-button {
    width: clamp(34px, 2.5vw, 38px);
    height: clamp(34px, 2.5vw, 38px);
    border: 1px solid var(--market-line);
    border-radius: 999px;
    background: #fff;
    color: var(--brand-strong);
    font-size: clamp(1.15rem, 1.1vw, 1.4rem);
    line-height: 1;
    cursor: pointer;
}

.category-scroll-button:disabled {
    opacity: 0.35;
    cursor: default;
}

.filter-button a {
    min-width: clamp(112px, 9vw, 126px);
    width: 100%;
    min-height: 42px;
    padding: 0 clamp(12px, 1vw, 16px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: clamp(8px, 0.8vw, 10px);
    border-radius: 999px;
    border: 1px solid rgba(213, 40, 24, 0.22);
    background: linear-gradient(135deg, var(--brand), #ea4b21 58%, var(--accent));
    color: #fff;
    font-size: clamp(0.8rem, 0.6vw, 0.86rem);
    font-weight: 700;
    box-shadow: 0 14px 28px rgba(213, 40, 24, 0.22);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, filter 0.18s ease;
}

.filter-button a:hover {
    transform: translateY(-1px);
    border-color: rgba(213, 40, 24, 0.34);
    box-shadow: 0 18px 34px rgba(213, 40, 24, 0.28);
    filter: saturate(1.04);
}

.filter-btn-icon {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}

.filter-btn-icon svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
}

.filter-btn-text {
    letter-spacing: 0.01em;
    white-space: nowrap;
}

.product-category-item {
    display: flex;
    flex: 0 0 var(--category-pill-width);
    min-width: var(--category-pill-width);
    scroll-snap-align: start;
}

.product-category-pill {
    position: relative;
    display: grid;
    justify-items: center;
    gap: 4px;
    width: 100%;
    min-width: 0;
    padding: 9px clamp(3px, 0.45vw, 7px) 13px;
    background: transparent;
    border: 0;
    text-decoration: none;
    color: inherit;
}

.product-category-icon-shell {
    width: clamp(42px, 3.15vw, 52px);
    height: clamp(42px, 3.15vw, 52px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.product-category-pill::after {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 1px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--brand), var(--accent));
    transform: scaleX(0);
    transform-origin: center;
}

.product-category-pill:hover::after,
.product-category-pill.is-active::after {
    transform: scaleX(1);
}

.product-category-pill img {
    width: clamp(37px, 2.8vw, 45px);
    height: clamp(37px, 2.8vw, 45px);
    object-fit: contain;
    opacity: 0.9;
}

.product-category-pill span {
    font-weight: 700;
    text-align: center;
    color: #7f4435;
    line-height: 1.2;
    max-width: 100%;
    font-size: clamp(0.66rem, 0.56vw, 0.82rem);
    letter-spacing: 0.01em;
    text-wrap: balance;
}

.product-category-pill:hover img,
.product-category-pill.is-active img {
    opacity: 1;
}

.product-category-pill:hover span,
.product-category-pill.is-active span {
    color: var(--brand-strong);
}

.site-header.is-category-collapsed .header-category-bar-wrap {
    height: 0;
}

.site-header.is-category-collapsed .header-category-bar {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}

.main-nav {
    min-height: clamp(62px, 4vw, 68px);
}

.nav-menu {
    gap: clamp(10px, 0.8vw, 16px);
    flex: 1;
    justify-content: center;
    flex-wrap: wrap;
}

.nav-menu > a {
    padding: 11px 14px;
    border-radius: 999px;
    font-size: 0.96rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.82);
}

.nav-menu > a:hover,
.nav-menu > a.is-active {
    color: #fff;
    background: rgba(254, 149, 31, 0.16);
}

.main-nav-centered {
    justify-content: center;
}

.button-ghost {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.hero-marketplace {
    padding: 46px 0 74px;
    background:
        radial-gradient(circle at top right, rgba(254, 149, 31, 0.18), transparent 28%),
        linear-gradient(130deg, #261915 0%, #110d0c 44%, #36170f 100%);
}

.hero-market-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.92fr);
    gap: clamp(24px, 2vw, 36px);
    align-items: stretch;
}

.hero-main-panel,
.hero-spotlight-panel {
    min-width: 0;
}

.hero-main-panel {
    color: #fff;
}

.hero-badge {
    display: inline-flex;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(254, 149, 31, 0.14);
    color: #fff;
    font-size: 0.84rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.hero-marketplace h1 {
    margin: 18px 0 14px;
    max-width: 12ch;
    font-size: clamp(2.6rem, 5vw, 5rem);
    line-height: 0.98;
}

.hero-intro {
    max-width: 62ch;
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.05rem;
}

.hero-search-card,
.hero-spotlight-card,
.hero-mini-card,
.category-card,
.inventory-teaser-card,
.catalog-filter-panel,
.catalog-card,
.why-copy-card,
.why-points-card,
.footer-location-card {
    border: 1px solid var(--market-line);
    box-shadow: 0 24px 50px rgba(16, 24, 40, 0.12);
}

.hero-search-card {
    margin-top: 28px;
    padding: 24px;
    border-radius: 28px;
    background: rgba(255, 253, 248, 0.98);
    color: var(--ink);
}

.hero-search-head {
    display: grid;
    gap: 4px;
    margin-bottom: 16px;
}

.hero-search-head strong {
    font-size: 1.08rem;
}

.hero-search-head span {
    color: var(--muted);
}

.hero-search-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.hero-search-grid label,
.catalog-filter-form label {
    display: grid;
    gap: 8px;
}

.hero-search-grid span,
.catalog-filter-form span {
    font-size: 0.86rem;
    font-weight: 700;
    color: var(--muted);
}

.hero-search-grid input,
.hero-search-grid select,
.catalog-filter-form input,
.catalog-filter-form select {
    width: 100%;
    min-height: 54px;
    padding: 14px 16px;
    border-radius: 18px;
    border: 1px solid var(--line);
    background: #fff;
    font: inherit;
}

.hero-search-actions {
    gap: 12px;
    margin-top: 18px;
    flex-wrap: wrap;
}

.hero-stats {
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.hero-stat {
    min-width: 150px;
    padding: 18px 20px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stat strong {
    display: block;
    font-size: 1.8rem;
}

.hero-stat span {
    color: rgba(255, 255, 255, 0.72);
}

.hero-spotlight-panel {
    display: grid;
    gap: 16px;
}

.hero-spotlight-card {
    overflow: hidden;
    border-radius: 28px;
    background: var(--market-card);
    position: relative;
}

.hero-spotlight-card,
.hero-mini-card,
.detail-image-stage,
.thumb-grid img {
    background:
        radial-gradient(circle at top right, rgba(254, 149, 31, 0.08), transparent 28%),
        linear-gradient(180deg, #fffdfa, #fff5ea);
}

.hero-spotlight-card img {
    width: 100%;
    height: clamp(340px, 27vw, 410px);
    object-fit: cover;
    object-position: center 55%;
    padding: 0;
}

.hero-spotlight-body {
    padding: 24px;
}

.price-tag {
    font-size: 1.12rem;
    font-weight: 800;
    color: var(--brand-strong);
}

.vehicle-mini-specs {
    gap: 8px;
    flex-wrap: wrap;
    margin: 16px 0 0;
    padding: 0;
    list-style: none;
}

.vehicle-mini-specs li {
    padding: 8px 12px;
    border-radius: 999px;
    background: #fff2e6;
    color: var(--brand-strong);
    font-size: 0.86rem;
    font-weight: 700;
}

.hero-mini-list {
    display: grid;
    gap: 12px;
}

.hero-mini-card {
    display: grid;
    grid-template-columns: 96px 1fr;
    gap: 14px;
    padding: 12px;
    border-radius: 22px;
    background: rgba(255, 253, 248, 0.96);
}

.hero-mini-card img {
    width: 96px;
    height: 80px;
    border-radius: 18px;
    object-fit: cover;
    object-position: center;
    padding: 0;
}

.hero-mini-card div {
    display: grid;
    gap: 4px;
}

.hero-mini-card strong {
    color: var(--ink);
}

.hero-mini-card span {
    color: var(--muted);
    font-size: 0.92rem;
}

.section-heading-tight {
    align-items: flex-end;
}

.category-grid,
.highlight-grid {
    display: grid;
    gap: 18px;
}

.category-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.category-card {
    display: grid;
    justify-items: start;
    gap: 12px;
    padding: 22px;
    border-radius: 26px;
    background:
        radial-gradient(circle at top right, rgba(254, 149, 31, 0.12), transparent 34%),
        linear-gradient(180deg, #ffffff, #fffaf4);
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.category-card:hover,
.catalog-chip:hover {
    transform: translateY(-2px);
    border-color: rgba(254, 149, 31, 0.38);
}

.category-icon-shell {
    width: 72px;
    height: 72px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 22px;
    background:
        radial-gradient(circle at 28% 28%, rgba(254, 149, 31, 0.22), transparent 56%),
        linear-gradient(180deg, #ffffff, #fff1e1);
    border: 1px solid rgba(213, 40, 24, 0.12);
    box-shadow: 0 14px 30px rgba(16, 24, 40, 0.08);
}

.category-card img,
.catalog-chip img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.category-card strong {
    font-size: 1.04rem;
}

.category-card span {
    color: var(--muted);
    font-size: 0.92rem;
}

.category-card:hover {
    background:
        radial-gradient(circle at top right, rgba(254, 149, 31, 0.2), transparent 34%),
        linear-gradient(180deg, #ffffff, #fff5ea);
}

.highlight-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(18px, 1.5vw, 26px);
}

.home-stock-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(22px, 1.8vw, 30px);
}

.inventory-teaser-card {
    display: flex;
    flex-direction: column;
    overflow: visible;
    border: 0;
    border-radius: 34px;
    background: transparent;
    box-shadow: none;
}

.inventory-teaser-media {
    position: relative;
    height: clamp(300px, 24vw, 350px);
    overflow: hidden;
    border-radius: 32px;
    background:
        radial-gradient(circle at top right, rgba(254, 149, 31, 0.14), transparent 34%),
        linear-gradient(180deg, #f5efe8, #ece2d7);
    box-shadow: 0 24px 50px rgba(16, 24, 40, 0.12);
}

.inventory-teaser-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 52%;
    padding: 0;
    transition: transform 0.24s ease;
}

.detail-hero-image {
    width: 100%;
    max-height: 520px;
    object-fit: contain;
    object-position: center;
}

.thumb-grid img {
    object-fit: contain;
    object-position: center;
    padding: 8px;
}

.inventory-teaser-body {
    display: grid;
    gap: 12px;
    width: calc(100% - 28px);
    margin: -38px auto 0;
    padding: 22px 22px 24px;
    border: 1px solid rgba(213, 40, 24, 0.12);
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), #fff9f3);
    box-shadow: 0 18px 38px rgba(16, 24, 40, 0.1);
    position: relative;
    z-index: 1;
}

.inventory-teaser-body h3,
.catalog-card-body h2,
.detail-stage-copy h1,
.hero-spotlight-body h2 {
    margin: 0;
}

.section-actions {
    margin-top: 26px;
}

.section-actions-centered {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.why-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: clamp(22px, 1.8vw, 32px);
}

.why-copy-card,
.why-points-card {
    padding: 28px;
    border-radius: 30px;
    background: #fff;
}

.why-points-card {
    background: linear-gradient(135deg, rgba(213, 40, 24, 0.98), rgba(140, 24, 14, 0.98));
    color: #fff;
}

.why-point-list {
    display: grid;
    gap: 14px;
}

.why-point-item {
    display: grid;
    grid-template-columns: 18px 1fr;
    gap: 14px;
    align-items: start;
}

.why-point-item span {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    border-radius: 999px;
    background: var(--accent);
    box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.12);
}

.why-cta-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.why-cta-panel strong,
.why-cta-panel span {
    display: block;
}

.page-hero-catalog {
    padding: 56px 0;
    background:
        radial-gradient(circle at top right, rgba(254, 149, 31, 0.16), transparent 24%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 248, 242, 0.92));
}

.catalog-chip-row {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.catalog-chip-row > span {
    font-weight: 800;
    color: var(--brand-strong);
}

.catalog-chip {
    gap: 10px;
    padding: 10px 14px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--market-line);
}

.catalog-chip.is-active {
    border-color: rgba(254, 149, 31, 0.48);
    background: rgba(254, 149, 31, 0.08);
}

.catalog-chip strong,
.catalog-chip small {
    display: block;
}

.catalog-chip small {
    color: var(--muted);
}

.catalog-layout {
    display: grid;
    grid-template-columns: clamp(280px, 22vw, 332px) minmax(0, 1fr);
    gap: clamp(22px, 1.8vw, 32px);
    align-items: start;
}

.catalog-filter-panel {
    background: #fff;
    border-radius: 28px;
}

.catalog-filter-panel {
    position: sticky;
    top: 118px;
    padding: 24px;
}

.catalog-filter-form {
    display: grid;
    gap: 14px;
}

.catalog-filter-actions {
    gap: 12px;
    flex-wrap: wrap;
}

.catalog-results {
    display: grid;
    gap: 18px;
}

.catalog-results-head {
    justify-content: space-between;
}

.catalog-results-head strong {
    display: block;
    font-size: 1.06rem;
}

.catalog-results-head span {
    color: var(--muted);
}

.catalog-results-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(22px, 1.8vw, 30px);
}

.catalog-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e4dbd2;
    box-shadow: 0 2px 10px rgba(16, 24, 40, 0.07);
    overflow: hidden;
    transition: box-shadow 0.22s ease, transform 0.22s ease;
}

.catalog-card:hover {
    box-shadow: 0 8px 28px rgba(16, 24, 40, 0.14);
    transform: translateY(-3px);
}

.catalog-card-media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #ede7e0;
    flex-shrink: 0;
}

.catalog-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.28s ease;
}

.catalog-card-media > a {
    display: block;
    width: 100%;
    height: 100%;
}

.catalog-card-status {
    position: absolute;
    bottom: 10px;
    left: 10px;
    z-index: 2;
}

.catalog-card-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1 1 auto;
    padding: 14px 16px 16px;
}

.catalog-card-body h2 {
    font-size: clamp(0.92rem, 1.1vw, 1.05rem);
    font-weight: 800;
    line-height: 1.35;
    min-height: 0;
}

.catalog-card-body h2 a {
    color: inherit;
    text-decoration: none;
}

.catalog-card-body h2 a:hover {
    color: var(--brand-strong);
}

.catalog-spec-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.catalog-spec-grid div {
    display: grid;
    gap: 3px;
    padding: 14px;
    border-radius: 18px;
    background: linear-gradient(180deg, #fff9f2, #fff4ea);
    border: 1px solid rgba(213, 40, 24, 0.08);
}

.catalog-spec-grid span,
.catalog-tags span,
.footer-location-card span,
.footer-contact span {
    color: var(--muted);
}

.catalog-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid #f0ebe4;
}

.catalog-card-footer .price-tag {
    font-size: clamp(1.05rem, 1.3vw, 1.2rem);
    font-weight: 800;
    color: var(--brand-strong);
}

.catalog-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.catalog-tags span {
    padding: 4px 10px;
    border-radius: 999px;
    background: #f2ede8;
    font-size: 0.78rem;
    font-weight: 600;
    color: #5a5550;
    border: 0;
}

.favorite-toggle-form {
    display: inline-flex;
}

.favorite-toggle-form--overlay {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 3;
}

.favorite-toggle-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 0 16px;
    border: 1px solid rgba(213, 40, 24, 0.14);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
    color: var(--brand-strong);
    box-shadow: 0 12px 26px rgba(16, 24, 40, 0.1);
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.favorite-toggle-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(16, 24, 40, 0.14);
}

.favorite-toggle-form--overlay .favorite-toggle-button {
    width: 48px;
    min-width: 48px;
    height: 48px;
    padding: 0;
    border-radius: 16px;
    backdrop-filter: blur(6px);
}

.favorite-toggle-button.is-active {
    border-color: transparent;
    background: linear-gradient(135deg, var(--brand), var(--accent));
    color: #fff;
}

.favorite-toggle-button.is-active svg {
    fill: currentColor;
}

.favorite-toggle-form--inline .favorite-toggle-button {
    min-height: 42px;
    padding: 0 14px;
    font-size: 0.88rem;
    font-weight: 700;
}

.inventory-teaser-card:hover .inventory-teaser-media img,
.catalog-card:hover .catalog-card-media img {
    transform: scale(1.04);
}

.detail-stage {
    padding-top: 54px;
    padding-bottom: 26px;
}

.detail-stage-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) clamp(240px, 21vw, 340px);
    gap: clamp(24px, 2vw, 34px);
    align-items: end;
}

.detail-stage-price {
    display: grid;
    justify-items: end;
    gap: 6px;
}

.detail-stage-price strong {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--brand-strong);
}

.detail-main-column {
    display: grid;
    gap: 18px;
}

.detail-layout {
    grid-template-columns: minmax(0, 1.08fr) clamp(340px, 29vw, 430px);
    gap: clamp(24px, 2vw, 34px);
    align-items: start;
}

.detail-image-stage {
    position: relative;
    padding: 16px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.site-footer {
    margin-top: 32px;
    padding: 54px 0;
    background:
        radial-gradient(circle at top right, rgba(254, 149, 31, 0.14), transparent 22%),
        linear-gradient(180deg, #251613, #120e0d);
}

.footer-shell {
    display: grid;
    grid-template-columns: minmax(260px, 1.15fr) minmax(150px, 0.7fr) minmax(210px, 0.82fr) minmax(260px, 1fr);
    gap: clamp(22px, 1.8vw, 30px);
}

@media (min-width: 1680px) {
    .catalog-results-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .hero-market-grid {
        grid-template-columns: minmax(0, 1.02fr) minmax(480px, 0.98fr);
    }
}

.footer-branding p,
.footer-links a,
.footer-contact a,
.footer-contact span {
    color: rgba(255, 255, 255, 0.76);
}

.footer-links,
.footer-contact {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.footer-locations {
    display: grid;
    gap: 12px;
}

.footer-location-card {
    display: grid;
    gap: 6px;
    padding: 18px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-location-card strong {
    color: #fff;
}

@media (max-width: 1100px) {
    .hero-market-grid,
    .catalog-layout,
    .why-grid,
    .footer-shell,
    .detail-stage-grid,
    .highlight-grid {
        grid-template-columns: 1fr;
    }

    .catalog-filter-panel {
        position: static;
    }

    .header-toolbar-grid {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .header-toolbar-actions {
        grid-column: 1 / -1;
        justify-content: flex-start;
        width: 100%;
    }
}

@media (max-width: 1180px) {
    .home-stock-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 980px) {
    .home-stock-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    .category-grid,
    .hero-search-grid,
    .catalog-spec-grid,
    .feature-grid-wide {
        grid-template-columns: 1fr;
    }

    .main-nav,
    .header-toolbar-grid,
    .detail-stage-actions,
    .catalog-results-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .nav-menu {
        justify-content: flex-start;
    }

    .header-search-form {
        width: 100%;
    }

    .menu-product-category-shell {
        grid-template-columns: 1fr;
    }

    .categories-row {
        grid-template-columns: 1fr;
    }

    .category-scroll-button {
        display: none;
    }

    .filter-button a {
        width: 100%;
        justify-content: flex-start;
    }

    .why-cta-panel {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 640px) {
    .hero-marketplace h1 {
        max-width: none;
    }

    .hero-search-card,
    .catalog-filter-panel,
    .why-copy-card,
    .why-points-card {
        padding: 20px;
    }

    .catalog-card-body {
        padding: 12px 14px 14px;
    }

    .category-grid,
    .highlight-grid,
    .home-stock-grid {
        grid-template-columns: 1fr;
    }

    .hero-mini-card {
        grid-template-columns: 78px 1fr;
    }

    .hero-mini-card img {
        width: 78px;
        height: 72px;
    }

    .brand-logo {
        width: 130px;
    }
}

/* ── Filter Modal ───────────────────────────────────── */
.filter-modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    visibility: hidden;
    pointer-events: none;
}

.filter-modal.is-open {
    visibility: visible;
    pointer-events: auto;
}

.filter-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(16, 10, 8, 0.58);
    backdrop-filter: blur(3px);
    opacity: 0;
    transition: opacity 0.22s ease;
}

.filter-modal.is-open .filter-modal-backdrop {
    opacity: 1;
}

.filter-modal-panel {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 660px;
    max-height: 76vh;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 24px 60px rgba(16, 24, 40, 0.2);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: translateY(20px) scale(0.97);
    opacity: 0;
    transition: transform 0.24s cubic-bezier(0.34, 1.3, 0.64, 1), opacity 0.2s ease;
}

.filter-modal.is-open .filter-modal-panel {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.filter-modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    border-bottom: 1px solid rgba(213, 40, 24, 0.1);
    flex-shrink: 0;
    background: #fff;
}

.filter-modal-title {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--market-dark);
}

.filter-modal-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border: 1px solid rgba(213, 40, 24, 0.14);
    border-radius: 8px;
    background: transparent;
    color: var(--market-dark);
    cursor: pointer;
    transition: background 0.14s ease, color 0.14s ease;
}

.filter-modal-close:hover {
    background: var(--brand);
    color: #fff;
    border-color: transparent;
}

.filter-modal-close svg {
    width: 13px;
    height: 13px;
}

.filter-modal-body {
    display: grid;
    grid-template-columns: 175px 1fr;
    overflow-y: auto;
    flex: 1;
    min-height: 0;
}

.filter-modal-col {
    padding: 14px 14px 18px;
}

.filter-modal-col + .filter-modal-col {
    border-left: 1px solid rgba(213, 40, 24, 0.08);
}

.filter-modal-group-title {
    font-size: 0.67rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--brand-strong);
    margin-bottom: 8px;
    position: sticky;
    top: 0;
    background: #fff;
    padding-top: 2px;
    padding-bottom: 6px;
}

.filter-modal-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.filter-modal-list a {
    display: block;
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #3a3330;
    text-decoration: none;
    transition: background 0.12s ease, color 0.12s ease;
}

.filter-modal-list a:hover {
    background: rgba(213, 40, 24, 0.07);
    color: var(--brand-strong);
}

.filter-modal-list--makes {
    display: block;
    columns: 2;
    column-gap: 2px;
}

.filter-modal-list--makes li {
    break-inside: avoid;
}

.filter-modal-list--makes a {
    font-size: 0.82rem;
    padding: 5px 8px;
}

/* Accordion */
.filter-modal-item-row {
    display: flex;
    align-items: center;
    gap: 4px;
}

.filter-modal-item-row a {
    flex: 1;
}

.filter-modal-toggle {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(213, 40, 24, 0.22);
    border-radius: 5px;
    background: transparent;
    color: var(--brand-strong);
    cursor: pointer;
    transition: background 0.14s ease, color 0.14s ease;
    padding: 0;
}

.filter-modal-toggle:hover {
    background: var(--brand);
    color: #fff;
    border-color: transparent;
}

.filter-modal-toggle svg {
    width: 9px;
    height: 9px;
    transition: transform 0.22s ease;
}

.filter-modal-toggle[aria-expanded="true"] svg {
    transform: rotate(45deg);
}

.filter-modal-sub {
    list-style: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    height: 0;
    transition: height 0.22s ease;
}

.filter-modal-sub a {
    padding-left: 18px;
    font-size: 0.79rem !important;
    color: #6a6260;
}

.filter-modal-sub a:hover {
    color: var(--brand-strong);
}

@media (max-width: 600px) {
    .filter-modal {
        padding: 8px;
        align-items: flex-end;
    }

    .filter-modal-panel {
        max-width: 100%;
        max-height: 85vh;
        border-radius: 18px 18px 0 0;
    }

    .filter-modal-body {
        grid-template-columns: 1fr;
    }

    .filter-modal-col + .filter-modal-col {
        border-left: none;
        border-top: 1px solid rgba(213, 40, 24, 0.08);
    }

    .filter-modal-list--makes {
        columns: 2;
    }
}

/* ── Vehicle Detail (vd-*) ──────────────────────────── */
.vd-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 390px;
    gap: clamp(20px, 2vw, 36px);
    padding-top: 28px;
    padding-bottom: 56px;
    align-items: start;
}

.vd-main {
    display: grid;
    gap: 16px;
    min-width: 0;
}

/* Gallery */
.vd-gallery {
    display: grid;
    gap: 10px;
}

.vd-gallery-main {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    background: #f5f0eb;
    aspect-ratio: 4 / 3;
    cursor: zoom-in;
}

.vd-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: opacity 0.15s ease;
}

.vd-gallery-overlays {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
}

.vd-btn-back {
    position: absolute;
    top: 14px;
    left: 14px;
    pointer-events: all;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(16, 10, 8, 0.52);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    backdrop-filter: blur(8px);
    transition: background 0.16s ease;
    letter-spacing: 0.01em;
}

.vd-btn-back:hover {
    background: rgba(16, 10, 8, 0.78);
}

.vd-gallery-actions {
    position: absolute;
    top: 14px;
    right: 14px;
    pointer-events: all;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Override favorite overlay positioning inside gallery actions */
.vd-gallery-actions .favorite-toggle-form--overlay {
    position: static;
    top: auto;
    right: auto;
    z-index: auto;
}

.vd-gallery-actions .favorite-toggle-button {
    border-radius: 12px;
    background: rgba(16, 10, 8, 0.52);
    border-color: transparent;
    color: #fff;
    backdrop-filter: blur(8px);
    box-shadow: none;
}

.vd-gallery-actions .favorite-toggle-button:hover {
    background: rgba(16, 10, 8, 0.78);
    transform: translateY(-1px);
}

.vd-gallery-actions .favorite-toggle-button.is-active {
    background: linear-gradient(135deg, var(--brand), var(--accent));
    border-color: transparent;
    color: #fff;
}

.vd-btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    border: none;
    background: rgba(16, 10, 8, 0.52);
    color: #fff;
    cursor: pointer;
    backdrop-filter: blur(8px);
    transition: background 0.16s ease, transform 0.16s ease;
}

.vd-btn-icon:hover {
    background: rgba(16, 10, 8, 0.78);
    transform: translateY(-1px);
}

/* Thumbnails */
.vd-thumbs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 2px;
}

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

.vd-thumb {
    flex: 0 0 100px;
    height: 74px;
    border-radius: 10px;
    overflow: hidden;
    border: 2.5px solid transparent;
    cursor: pointer;
    background: #f5f0eb;
    padding: 0;
    transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.vd-thumb:hover {
    border-color: rgba(213, 40, 24, 0.4);
}

.vd-thumb.is-active {
    border-color: var(--brand-strong);
    box-shadow: 0 0 0 2px rgba(213, 40, 24, 0.12);
}

.vd-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.vd-all-photos {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    border: none;
    background: none;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--brand-strong);
    cursor: pointer;
    text-decoration: none;
    transition: opacity 0.14s ease;
}

.vd-all-photos:hover {
    opacity: 0.72;
    text-decoration: underline;
}

/* Spec cards */
.vd-specs-card {
    background: #fff;
    border: 1px solid #ece6df;
    border-radius: 18px;
    padding: 22px 24px;
}

.vd-specs-card h2 {
    font-size: 1rem;
    font-weight: 800;
    margin: 0 0 14px;
    color: var(--ink);
}

.vd-data-grid {
    display: grid;
    gap: 0;
}

.vd-data-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    padding: 9px 0;
    border-bottom: 1px solid #f3ede6;
    font-size: 0.875rem;
}

.vd-data-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.vd-data-row span {
    color: var(--muted);
    flex-shrink: 0;
}

.vd-data-row strong {
    font-weight: 600;
    text-align: right;
}

.vd-desc-text {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.7;
    color: var(--muted);
}

/* Sidebar */
.vd-sidebar-inner {
    position: sticky;
    top: 88px;
    display: grid;
    gap: 14px;
}

.vd-vehicle-head {
    background: #fff;
    border: 1px solid #ece6df;
    border-radius: 18px;
    padding: 22px 24px;
}

.vd-vehicle-head .eyebrow {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--brand-strong);
    margin-bottom: 6px;
}

.vd-vehicle-head h1 {
    font-size: clamp(1.3rem, 2.2vw, 1.65rem);
    font-weight: 800;
    margin: 0 0 12px;
    line-height: 1.2;
    color: var(--ink);
}

.vd-meta-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.vd-stock {
    font-size: 0.8rem;
    color: #9ca3af;
    font-weight: 500;
}

.vd-price {
    font-size: clamp(1.65rem, 2.8vw, 2.1rem);
    font-weight: 800;
    color: var(--brand-strong);
    letter-spacing: -0.02em;
    line-height: 1;
}

/* Quick specs grid */
.vd-quick-specs {
    list-style: none;
    margin: 0;
    padding: 18px 20px;
    background: #fff;
    border: 1px solid #ece6df;
    border-radius: 18px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 12px;
}

.vd-quick-specs li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.82rem;
}

.vd-quick-specs li svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: var(--brand-strong);
    margin-top: 2px;
}

.vd-quick-specs li div {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.vd-quick-specs li span {
    color: #9ca3af;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.vd-quick-specs li strong {
    font-weight: 700;
    color: var(--ink);
    font-size: 0.88rem;
}

/* Contact card */
.vd-contact-card {
    background: #fff;
    border: 1px solid #ece6df;
    border-radius: 18px;
    padding: 22px 24px;
}

.vd-contact-card h3 {
    font-size: 1rem;
    font-weight: 800;
    margin: 0 0 16px;
    color: var(--ink);
}

.vd-contact-form {
    display: grid;
    gap: 14px;
}

.vd-contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.vd-field {
    display: grid;
    gap: 6px;
}

.vd-field span {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #9ca3af;
}

.vd-field input,
.vd-field textarea {
    width: 100%;
    border-radius: 12px;
    border: 1px solid #e7ded4;
    background: #fffaf5;
    padding: 10px 12px;
    font-size: 0.9rem;
    font-family: inherit;
    color: var(--ink);
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.vd-field textarea {
    resize: vertical;
    min-height: 110px;
}

.vd-field input:focus,
.vd-field textarea:focus {
    outline: none;
    border-color: rgba(213, 40, 24, 0.6);
    box-shadow: 0 0 0 3px rgba(213, 40, 24, 0.12);
    background: #fff;
}

.vd-field-full {
    grid-column: 1 / -1;
}

.vd-submit-btn {
    width: 100%;
    justify-content: center;
}

/* Lightbox */
.vd-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9000;
    background: rgba(8, 4, 3, 0.94);
    display: none;
    flex-direction: column;
    align-items: center;
}

.vd-lightbox.is-open {
    display: flex;
}

.vd-lb-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    border: 1.5px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(6px);
    transition: background 0.14s ease;
    z-index: 1;
}

.vd-lb-close:hover {
    background: rgba(255, 255, 255, 0.18);
}

.vd-lb-counter {
    position: absolute;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    pointer-events: none;
}

.vd-lb-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border-radius: 10px;
    border: 1.5px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(6px);
    transition: background 0.14s ease;
    z-index: 1;
}

.vd-lb-nav:hover {
    background: rgba(255, 255, 255, 0.18);
}

.vd-lb-prev {
    left: 18px;
}

.vd-lb-next {
    right: 18px;
}

.vd-lb-img-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 64px 80px 16px;
    min-height: 0;
}

.vd-lb-img-wrap img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

.vd-lb-thumbs {
    display: flex;
    gap: 7px;
    overflow-x: auto;
    padding: 14px 24px 20px;
    scrollbar-width: none;
    flex-shrink: 0;
    width: 100%;
    box-sizing: border-box;
    justify-content: center;
}

.vd-lb-thumbs::-webkit-scrollbar {
    display: none;
}

.vd-lb-thumb {
    flex: 0 0 68px;
    height: 50px;
    border-radius: 7px;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.18);
    cursor: pointer;
    padding: 0;
    background: #1a1412;
    transition: border-color 0.14s ease;
}

.vd-lb-thumb.is-active {
    border-color: #fff;
}

.vd-lb-thumb:hover:not(.is-active) {
    border-color: rgba(255, 255, 255, 0.5);
}

.vd-lb-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Responsive */
@media (max-width: 1100px) {
    .vd-layout {
        grid-template-columns: 1fr;
    }

    .vd-sidebar-inner {
        position: static;
    }

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

@media (max-width: 640px) {
    .vd-layout {
        padding-top: 16px;
        padding-bottom: 40px;
    }

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

    .vd-thumb {
        flex: 0 0 80px;
        height: 60px;
    }

    .vd-quick-specs {
        grid-template-columns: 1fr 1fr;
    }

    .vd-lb-img-wrap {
        padding: 56px 52px 12px;
    }

    .vd-lb-prev { left: 8px; }
    .vd-lb-next { right: 8px; }
}
