﻿:root {
    --bg: #f4f6f8;
    --text: #16202b;
    --muted: #5e6c7b;
    --card: #ffffff;
    --primary: #3d5f7e;
    --primary-dark: #2f4c66;
    --accent: #5f7891;
    --shadow: 0 14px 30px rgba(13, 27, 42, 0.12);
    --radius: 18px;
}

* {
    box-sizing: border-box;
}

html,
body {
    min-height: 100%;
}

body {
    margin: 0;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text);
    background: linear-gradient(160deg, #eef2f4 0%, #f7f7f7 45%, #eef5f3 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site-footer {
    min-height: 112px;
    background: #0f1f2e;
    color: #dce6ee;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    margin-top: auto;
}

.site-footer-inner {
    width: min(1120px, 92%);
    margin: 0 auto;
    padding: 1.25rem 0 1.05rem;
    line-height: 1.25;
    font-size: 0.92rem;
}

.site-footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.site-footer-company {
    display: grid;
    gap: 0.18rem;
    color: #d8e4ee;
    font-size: 0.96rem;
}

.site-footer-company strong {
    color: #f5fbff;
    font-size: 1.06rem;
}

.site-footer-social {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.4rem;
}

.site-footer-social-empty {
    min-height: 1px;
}

.footer-social-btn {
    display: inline-grid;
    place-items: center;
    background: #1c3347;
    border: 1px solid #2a4863;
    color: #ecf5ff;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    padding: 0;
    text-decoration: none;
}

.footer-social-btn svg {
    width: 16px;
    height: 16px;
    display: block;
}

.footer-social-btn:hover {
    background: #254561;
    transform: translateY(-1px);
}

.site-footer-bottom {
    margin-top: 0.45rem;
    padding-top: 0.4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    text-align: center;
}

.site-footer-bottom p {
    margin: 0;
}

.site-footer-inner a {
    color: #e8f6ff;
    text-decoration: underline;
}

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

.hero {
    min-height: 29vh;
    padding: 0.85rem clamp(1rem, 3vw, 3rem) 1.35rem;
    background:
        linear-gradient(180deg, rgba(2, 8, 15, 0.78) 0%, rgba(8, 18, 30, 0.58) 34%, rgba(13, 28, 44, 0.18) 100%),
        url('https://images.unsplash.com/photo-1494905998402-395d579af36f?auto=format&fit=crop&w=1600&q=80') center/cover;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.28) 0%, rgba(0, 0, 0, 0) 38%, rgba(89, 155, 225, 0.16) 100%);
    pointer-events: none;
}

.hero > * {
    position: relative;
    z-index: 1;
}

.site-contact-strip {
    width: min(1320px, 100%);
    margin: 0 auto;
    padding: 0.32rem 0 0;
}

.site-contact-strip-inner {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 0.55rem;
    flex-wrap: wrap;
}

.site-contact-strip-link {
    display: inline-flex;
    align-items: baseline;
    gap: 0.35rem;
    min-height: 16px;
    padding: 0;
    color: #f4fbff;
    line-height: 1.05;
}

.site-contact-strip-link:hover {
    color: #ffffff;
    text-decoration: underline;
}

.site-contact-strip-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.site-contact-strip-link strong {
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
}

.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: min(1320px, 100%);
    margin: 0 auto;
    padding: 0.58rem 0 0.5rem;
    gap: 1rem;
    flex-wrap: nowrap;
    border-bottom: 1px solid rgba(255, 255, 255, 0.34);
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    min-height: 40px;
    flex: 0 0 auto;
}

.site-brand-name {
    display: inline-block;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #f8fbff;
}

.site-logo {
    height: 32px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
    border-radius: 0;
}

.site-logo-preview {
    height: 34px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
    border-radius: 6px;
    background: #f5f7f9;
    border: 1px solid #d4dde4;
    padding: 0.18rem 0.28rem;
}

.top-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 1.35rem;
}

.top-link {
    position: relative;
    padding: 0.2rem 0;
    border: none;
    color: rgba(255, 255, 255, 0.88);
    font-weight: 700;
    font-size: 0.88rem;
    letter-spacing: 0.02em;
    text-transform: none;
    white-space: nowrap;
    transition: color 0.2s ease, transform 0.2s ease;
}

.top-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.96rem;
    width: 100%;
    height: 1px;
    border-radius: 0;
    background: #ffffff;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.22s ease;
}

.top-link.active,
.top-link:hover {
    color: #ffffff;
    transform: translateY(-1px);
}

.top-link.active::after,
.top-link:hover::after {
    transform: scaleX(1);
}

.hero-content {
    width: min(1320px, 100%);
    max-width: 1320px;
    margin: 0.72rem auto 0;
    padding: 0.15rem 0 0.45rem;
}

.hero-home-content {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
}

.hero-copy-block {
    min-width: 0;
}

.hero-compact {
    min-height: 17vh;
    padding-bottom: 0.85rem;
}

.hero-compact .hero-content {
    margin-top: 0.85rem;
}

.listing-main {
    margin-top: 0.4rem;
    position: relative;
    z-index: 3;
}

.listing-main-wide {
    width: min(1500px, calc(100% - 2.5rem));
    margin: 0.4rem auto 2.2rem;
    display: grid;
    gap: 1.25rem;
}

.page-main {
    margin-top: -1.05rem;
    position: relative;
    z-index: 3;
}

.filter-panel-elevated {
    box-shadow: 0 18px 36px rgba(16, 33, 51, 0.14);
}

.hero h1 {
    margin: 0 0 0.55rem;
    max-width: none;
    font-size: clamp(2.1rem, 5vw, 4.5rem);
    line-height: 0.92;
    letter-spacing: -0.05em;
    text-transform: uppercase;
    font-family: "Avenir Next Condensed", "Bahnschrift Condensed", "Segoe UI", sans-serif;
    white-space: nowrap;
}

.hero p {
    margin: 0;
    max-width: 620px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.98rem;
    letter-spacing: 0.02em;
}

.hero-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 190px;
    min-height: 54px;
    padding: 0.95rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.68);
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    backdrop-filter: blur(10px);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: background 0.22s ease, transform 0.22s ease, border-color 0.22s ease;
}

.hero-cta-button:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.92);
    color: #ffffff;
    transform: translateY(-2px);
}

.home-media-slider {
    position: relative;
    width: 100%;
    margin: 8px auto 0.8rem;
    overflow: hidden;
    background: transparent;
}

.home-media-slider::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0));
    z-index: 9;
    pointer-events: none;
}

.home-media-slider-track {
    position: relative;
    height: clamp(280px, 38vw, 620px);
}

.home-media-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(1.015);
    transition: opacity 0.5s ease, transform 0.6s ease;
    pointer-events: none;
}

.home-media-slide.is-active {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

.home-media-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    background: transparent;
}

.home-media-slider-dots {
    position: absolute;
    left: 50%;
    bottom: 0.8rem;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 0.45rem;
    z-index: 8;
}

.home-media-slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.38);
    padding: 0;
    cursor: pointer;
    box-shadow: 0 0 0 1px rgba(7, 18, 31, 0.32);
}

.home-media-slider-dot:hover,
.home-media-slider-dot:focus-visible {
    background: #fff;
    border-color: #fff;
}

.home-media-slider-dot.is-active {
    background: #fff;
    border-color: #fff;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
}

.home-vehicle-hero-slider {
    position: relative;
    width: min(1152px, 72vw);
    margin: 10px auto 1rem;
    overflow: hidden;
    animation: homeVehicleHeroIntro 0.8s ease-out both;
}

.home-vehicle-hero-track {
    position: relative;
    min-height: clamp(243px, 29.7vw, 418px);
}

.home-vehicle-hero-slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.95fr);
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity 0.45s ease, transform 0.55s ease;
    border: 1px solid rgba(24, 42, 60, 0.12);
    border-radius: 8px;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(246, 249, 252, 0.98), rgba(234, 240, 245, 0.98));
    box-shadow: 0 22px 48px rgba(14, 27, 40, 0.16);
}

.home-vehicle-hero-slide.is-active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.home-vehicle-hero-media {
    position: relative;
    min-height: 100%;
    background: #dce5ec;
}

.home-vehicle-hero-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(9, 18, 28, 0.04), rgba(9, 18, 28, 0));
    pointer-events: none;
}

.home-vehicle-hero-media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center 42%;
}

.home-vehicle-hero-panel {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1.6rem;
    align-items: stretch;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(240, 245, 250, 0.96)),
        repeating-linear-gradient(90deg, rgba(52, 90, 120, 0.03) 0, rgba(52, 90, 120, 0.03) 1px, transparent 1px, transparent 24px);
}

.home-vehicle-hero-copy {
    display: grid;
    align-content: start;
    gap: 0.8rem;
    min-width: 0;
}

.home-vehicle-hero-kicker {
    display: inline-flex;
    width: fit-content;
    padding: 0.38rem 0.7rem;
    border: 1px solid rgba(52, 90, 120, 0.14);
    border-radius: 4px;
    background: rgba(52, 90, 120, 0.08);
    color: #20384d;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.home-vehicle-hero-panel h2 {
    margin: 0;
    color: #122637;
    width: 90%;
    max-width: 90%;
    font-size: clamp(1.35rem, 1.85vw, 2.15rem);
    line-height: 0.96;
    letter-spacing: -0.04em;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.home-vehicle-hero-subtitle {
    margin: 0;
    color: #4b6073;
    font-size: 1rem;
    font-weight: 700;
}

.home-vehicle-hero-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.home-vehicle-hero-specs span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0.42rem 0.65rem;
    border: 1px solid rgba(52, 90, 120, 0.12);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.7);
    color: #22394d;
    font-size: 0.84rem;
    font-weight: 700;
}

.home-vehicle-hero-details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
}

.home-vehicle-hero-details span {
    display: grid;
    gap: 0.12rem;
    padding: 0.62rem 0.68rem;
    border: 1px solid rgba(52, 90, 120, 0.12);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.62);
    color: #30485e;
    font-size: 0.82rem;
    font-weight: 700;
}

.home-vehicle-hero-details strong {
    color: #617587;
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.home-vehicle-hero-aside {
    display: block;
    margin-top: auto;
}

.home-vehicle-hero-cta-row {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.75rem;
    align-items: stretch;
    width: 100%;
}

.home-vehicle-hero-price-card {
    display: grid;
    gap: 0.28rem;
    padding: 0.8rem 0.9rem;
    border: 1px solid rgba(52, 90, 120, 0.16);
    border-left: 5px solid #345a78;
    border-radius: 4px;
    background: linear-gradient(180deg, #f8fbfd 0%, #eaf1f7 100%);
    box-shadow: 0 14px 28px rgba(18, 38, 55, 0.08);
    flex: 0 0 auto;
}

.home-vehicle-hero-price-label {
    color: #5d7184;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.home-vehicle-hero-price-value {
    color: #102235;
    font-size: clamp(1.7rem, 2.4vw, 2.4rem);
    line-height: 0.95;
    letter-spacing: -0.05em;
}

.home-vehicle-hero-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 100%;
    padding: 0.88rem 1rem;
    border: 1px solid #20384d;
    border-radius: 4px;
    background: #20384d;
    color: #f7fbff;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    flex: 1 1 auto;
    min-width: 220px;
}

.home-vehicle-hero-link:hover {
    background: #294760;
    color: #f7fbff;
}

.home-vehicle-hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 46px;
    height: 46px;
    padding: 0;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    background: rgba(12, 23, 34, 0.64);
    color: #fff;
    font-size: 1.3rem;
}

.home-vehicle-hero-nav.prev {
    left: 1rem;
}

.home-vehicle-hero-nav.next {
    right: 1rem;
}

.home-vehicle-hero-nav:hover {
    background: rgba(18, 34, 49, 0.84);
}

.home-vehicle-hero-dots {
    position: absolute;
    left: 50%;
    bottom: 1rem;
    transform: translateX(-50%);
    display: flex;
    gap: 0.45rem;
    z-index: 3;
}

.home-vehicle-hero-dot {
    width: 11px;
    height: 11px;
    padding: 0;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.82);
    background: rgba(255, 255, 255, 0.34);
}

.home-vehicle-hero-dot.is-active,
.home-vehicle-hero-dot:hover {
    background: #fff;
    border-color: #fff;
}

@keyframes homeVehicleHeroIntro {
    from {
        opacity: 0;
        transform: translateX(48px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.search-box {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.8rem;
    margin-top: 1.6rem;
}

input,
textarea,
select,
button {
    font: inherit;
    border-radius: 12px;
    border: 1px solid #d2d9df;
    padding: 0.72rem 0.9rem;
}

button {
    border: none;
    background: var(--accent);
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

button:hover {
    background: #4f6881;
}

.container {
    width: min(1120px, 92%);
    margin: 0.4rem auto 2.2rem;
    display: grid;
    gap: 1rem;
}

.panel {
    background: var(--card);
    border-radius: var(--radius);
    padding: 1.2rem;
    box-shadow: var(--shadow);
}

.listing-filter-panel {
    width: min(1120px, 100%);
    margin: 0 auto;
}

.listing-filter-band {
    width: min(1500px, 100%);
    margin: 0 auto;
    padding: 1.15rem 0 1.35rem;
    border-top: 1px solid rgba(16, 32, 47, 0.08);
    border-bottom: 1px solid rgba(16, 32, 47, 0.08);
    overflow-x: clip;
}

.listing-filter-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.9rem;
    padding: 0 0.25rem;
}

.listing-filter-heading h2,
.listing-filter-heading .muted {
    margin: 0;
}

.about-panel-transparent {
    background: transparent;
    border: 0;
    box-shadow: none;
}

.services-panel-transparent {
    background: transparent;
    border: 0;
    box-shadow: none;
}

.home-highlight-panel {
    padding: 0;
    min-height: 100px;
    border: 0;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
}

.home-highlight-content > *:first-child {
    margin-top: 0;
}

.home-highlight-content > *:last-child {
    margin-bottom: 0;
}

.home-highlight-panel-intro .home-highlight-content {
    animation: homeHighlightSlideIn 0.8s ease-out both;
}

.home-between-panel-intro .home-highlight-content {
    animation: homeBetweenSlideIn 0.8s ease-out both;
}

.services-panel-intro .services-content {
    animation: servicesSlideIn 0.8s ease-out both;
}

.about-panel-intro .services-content {
    animation: aboutSlideIn 0.8s ease-out both;
}

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

@keyframes homeBetweenSlideIn {
    from {
        opacity: 0;
        transform: translateX(42px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

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

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1rem;
}

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

.card {
    background: var(--card);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.card img {
    width: 100%;
    height: 165px;
    object-fit: cover;
}

.card-content {
    padding: 1rem;
}

.price {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--primary);
}

.vehicle-meta {
    margin: 0.18rem 0;
    line-height: 1.35;
    font-size: 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.vehicle-list-card .card-content h3 {
    margin: 0 0 0.45rem;
    line-height: 1.25;
    min-height: 2.5em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.vehicle-list-card .card-content {
    display: flex;
    flex-direction: column;
    min-height: 220px;
}

.vehicle-list-card {
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.vehicle-list-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 34px rgba(13, 27, 42, 0.18);
}

.featured-offer-card {
    position: relative;
    border: 1px solid #9db9d3;
    box-shadow:
        0 18px 34px rgba(13, 27, 42, 0.16),
        0 0 0 2px rgba(157, 185, 211, 0.2);
}

.featured-offer-card::after {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: 8px;
    pointer-events: none;
    box-shadow: 0 0 0 0 rgba(157, 185, 211, 0.5);
    animation: offerPulse 2.2s ease-in-out infinite;
}

.featured-media {
    position: relative;
    overflow: hidden;
}

.featured-offer-card .featured-media::after {
    content: "";
    position: absolute;
    top: 0;
    left: -35%;
    width: 28%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 248, 220, 0.42) 50%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-18deg);
    animation: offerSweep 3.6s ease-in-out infinite;
    pointer-events: none;
}

.offer-chip {
    position: absolute;
    top: 0.55rem;
    left: 0.55rem;
    z-index: 2;
    background: linear-gradient(135deg, #b9cada 0%, #6f8ba6 100%);
    color: #11263b;
    font-weight: 800;
    font-size: 0.72rem;
    letter-spacing: 0.25px;
    padding: 0.24rem 0.5rem;
    border-radius: 999px;
    border: 1px solid rgba(72, 101, 128, 0.3);
    box-shadow: 0 6px 14px rgba(52, 82, 109, 0.26);
}

.featured-offer-card .price-badge {
    background: linear-gradient(145deg, #edf3fb 0%, #d4e2f2 100%);
    border-color: #9db9d3;
    box-shadow: 0 10px 24px rgba(66, 92, 117, 0.22);
}

.featured-offer-card .price-label {
    color: #3f5d78;
}

.featured-offer-card .price-value {
    color: #2f4c66;
}

@keyframes offerPulse {
    0% { box-shadow: 0 0 0 0 rgba(157, 185, 211, 0.45); }
    70% { box-shadow: 0 0 0 8px rgba(157, 185, 211, 0); }
    100% { box-shadow: 0 0 0 0 rgba(157, 185, 211, 0); }
}

@keyframes offerSweep {
    0% { left: -35%; }
    55% { left: 120%; }
    100% { left: 120%; }
}

.vehicle-meta-list {
    min-height: 0;
    display: grid;
    gap: 0.08rem;
}

.vehicle-meta-empty {
    visibility: hidden;
}

.vehicle-list-card .price {
    margin-top: auto;
    text-align: right;
    color: #111111;
}

.price-label {
    color: #275f53;
    font-weight: 700;
    font-size: 0.66rem;
    letter-spacing: 0.6px;
    margin-right: 0;
    text-transform: uppercase;
}

.catalog-section {
    width: min(1500px, 100%);
    margin: 0 auto;
}

.catalog-section-showcase {
    padding: 0 0.25rem;
}

.catalog-section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 0 0.25rem;
}

.catalog-section-heading h2,
.catalog-section-heading .muted {
    margin: 0;
}

.catalog-section-heading-centered {
    justify-content: center;
    text-align: center;
}

.catalog-heading-copy {
    display: grid;
    gap: 0.25rem;
    justify-items: start;
}

.catalog-section-heading-centered .catalog-heading-copy {
    justify-items: center;
}

.catalog-kicker {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 0.28rem 0.58rem;
    border: 1px solid #d6dde2;
    border-radius: 4px;
    background: #f3f6f8;
    color: #52616e;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.vehicle-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.35rem;
}

.vehicle-grid .empty {
    grid-column: 1 / -1;
}

.showcase-slider {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 0.8rem;
    align-items: center;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.showcase-track {
    display: flex;
    gap: 1.35rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    padding: 0.2rem 0.1rem 0.55rem;
    width: 100%;
    max-width: calc((min(100%, 430px) * 3) + (1.35rem * 2));
    margin-left: auto;
    margin-right: auto;
}

.showcase-track .showcase-card {
    flex: 0 0 calc((100% - 2.7rem) / 3);
    max-width: calc((100% - 2.7rem) / 3);
    scroll-snap-align: start;
}

.showcase-nav {
    width: 46px;
    height: 46px;
    border: 1px solid #cad4da;
    border-radius: 4px;
    background: #f4f7f9;
    color: #10202f;
    font-size: 1.05rem;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.showcase-nav:hover:not(:disabled) {
    background: #e4ebef;
}

.showcase-nav:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.showcase-card {
    border: 1px solid #d4dde3;
    border-radius: 8px;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 250, 252, 0.98) 100%);
    box-shadow: 0 18px 40px rgba(12, 23, 35, 0.1);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.vehicle-grid .showcase-card {
    min-height: 100%;
}

.vehicle-list-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 52px rgba(10, 18, 30, 0.14);
    border-color: #b9c7d1;
}

.showcase-card .card-content {
    padding: 1rem 1rem 1.05rem;
}

.showcase-media {
    position: relative;
    background: #e9eeef;
}

.showcase-media img {
    width: 100%;
    height: 214px;
    object-fit: cover;
    object-position: center 44%;
}

.showcase-badges {
    position: absolute;
    left: 0.8rem;
    right: 0.8rem;
    bottom: 0.8rem;
    display: flex;
    justify-content: space-between;
    gap: 0.45rem;
}

.showcase-pill,
.showcase-status {
    display: inline-block;
    padding: 0.32rem 0.7rem;
    border-radius: 4px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.showcase-pill {
    background: rgba(8, 20, 31, 0.88);
    color: #fff;
}

.showcase-status {
    background: rgba(255, 255, 255, 0.92);
    color: #8a2b22;
}

.showcase-content {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.showcase-content h3 {
    margin: 0;
    font-size: 1.3rem;
    line-height: 1.1;
    color: #10202f;
}

.vehicle-list-card .showcase-content h3 {
    min-height: 0;
    display: block;
    overflow: visible;
    -webkit-line-clamp: unset;
    -webkit-box-orient: unset;
}

.showcase-subtitle {
    margin: 0;
    color: #5b6976;
    font-size: 0.96rem;
    line-height: 1.25;
}

.showcase-price {
    margin-top: 0.7rem;
    font-size: 1.82rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #091523;
    text-align: left;
    padding: 0.25rem 0 0.15rem;
    font-family: "Avenir Next Condensed", "Bahnschrift", "IBM Plex Sans", "Segoe UI", sans-serif;
    font-variant-numeric: lining-nums tabular-nums;
}

.showcase-specs {
    margin-top: 0.55rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.55rem;
}

.showcase-spec-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.35rem;
    min-height: 52px;
    padding: 0.6rem 0.7rem;
    font-size: 0.84rem;
    line-height: 1.1;
    color: #243645;
    background: #f1f4f6;
    border: 1px solid #dde5ea;
    border-radius: 4px;
}

.showcase-spec-item .spec-icon {
    width: 1.1em;
    height: 1.1em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    font-size: 0.84rem;
    font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif;
    filter: grayscale(100%);
    opacity: 0.85;
}

.showcase-spec-item .spec-text {
    display: inline-flex;
    align-items: center;
    line-height: 1.15;
    font-weight: 700;
}

.showcase-link {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    background: #061a2f;
    color: #fff;
    border: 1px solid #061a2f;
    border-radius: 4px;
    padding: 0.82rem 1rem;
    font-weight: 700;
    font-size: 0.92rem;
    letter-spacing: 0.04em;
    margin-top: 1rem;
    text-transform: uppercase;
}

.showcase-link:hover {
    background: #0d2743;
}

.price-badge {
    margin-left: auto;
    display: inline-flex;
    align-items: baseline;
    gap: 0.35rem;
    background: linear-gradient(145deg, #edf8f4 0%, #d7efe7 100%);
    border: 1px solid #a8d6c7;
    color: #1c5a4f;
    border-radius: 12px;
    padding: 0.34rem 0.66rem 0.4rem;
    box-shadow: 0 8px 18px rgba(20, 86, 71, 0.14);
    white-space: nowrap;
}

.price-value {
    font-size: 1.05rem;
    font-weight: 900;
    color: #114d42;
    letter-spacing: 0.15px;
    line-height: 1.1;
}

.vehicle-card-footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem;
}

.detail-btn {
    background: #eef4f3;
    border: 1px solid #c8dad5;
    color: #18443c;
    padding: 0.35rem 0.62rem;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.78rem;
}

.detail-btn:hover {
    background: #e1eeeb;
}

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

.empty {
    padding: 1.2rem;
}

.admin-layout {
    margin-top: 1.3rem;
    --admin-control-radius: 6px;
    --admin-bg: linear-gradient(180deg, #edf3f8 0%, #e3ebf2 100%);
    --admin-surface: rgba(248, 251, 253, 0.96);
    --admin-surface-strong: #f2f7fb;
    --admin-border: rgba(49, 74, 96, 0.16);
    --admin-border-strong: rgba(36, 59, 81, 0.24);
    --admin-shadow: 0 20px 42px rgba(17, 35, 52, 0.1);
    --admin-accent: #345a78;
    --admin-accent-dark: #20384d;
    --admin-accent-soft: #dce8f2;
    --admin-text: #162635;
    --admin-muted: #607384;
    padding: 1rem 0 2rem;
}

.admin-layout button,
.admin-layout .detail-btn,
.admin-layout .tab-btn,
.admin-layout .admin-nav a,
.admin-layout .wysiwyg-toolbar button,
.admin-layout .link-button,
.admin-layout .image-move-btn,
.admin-layout .image-remove-btn {
    border-radius: var(--admin-control-radius);
}

.admin-layout input,
.admin-layout textarea,
.admin-layout select {
    border: 1px solid var(--admin-border);
    border-radius: var(--admin-control-radius);
    background: #f7fbfe;
    color: var(--admin-text);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.admin-layout input:focus,
.admin-layout textarea:focus,
.admin-layout select:focus {
    outline: none;
    border-color: rgba(52, 90, 120, 0.42);
    box-shadow: 0 0 0 4px rgba(52, 90, 120, 0.12);
}

.admin-topbar {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1rem;
    padding: 1rem 1.2rem;
    border: 1px solid var(--admin-border);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(111, 148, 182, 0.12), rgba(111, 148, 182, 0) 28%),
        rgba(248, 251, 253, 0.96);
    box-shadow: var(--admin-shadow);
}

.admin-topbar-brand h1 {
    margin: 0.35rem 0 0;
    color: var(--admin-text);
    font-size: 1.55rem;
    line-height: 1;
}

.admin-topbar-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.7rem;
    border-radius: 4px;
    background: rgba(52, 90, 120, 0.1);
    color: var(--admin-accent-dark);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    border: 1px solid rgba(52, 90, 120, 0.14);
}

.admin-topbar-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
}

.admin-topbar-body {
    display: contents;
}

.admin-topbar-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 42px;
    padding: 0.65rem 0.95rem;
    border-radius: 6px;
    background: #f3f8fc;
    border: 1px solid var(--admin-border);
    color: var(--admin-accent-dark);
    font-weight: 800;
    justify-self: end;
}

.admin-topbar-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 48px;
    padding: 0.7rem 1rem;
    border-radius: 6px;
    background: #f4f8fc;
    border: 1px solid var(--admin-border);
    color: var(--admin-accent-dark);
    font-weight: 700;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.admin-topbar-link:hover {
    background: #eaf2f8;
    border-color: var(--admin-border-strong);
    transform: translateY(-1px);
}

.admin-topbar-link.is-active {
    background: linear-gradient(135deg, #345a78 0%, #20384d 100%);
    color: #f6fbff;
    border-color: #27445b;
    box-shadow: 0 14px 26px rgba(32, 56, 77, 0.2);
}

.admin-topbar-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.75rem;
    align-items: center;
}

.admin-topbar-user {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.55rem 0.8rem;
    border-radius: 6px;
    background: rgba(52, 90, 120, 0.08);
    border: 1px solid rgba(52, 90, 120, 0.1);
}

.admin-topbar-user strong,
.admin-topbar-user small {
    display: block;
}

.admin-topbar-user small {
    color: var(--admin-muted);
}

.admin-topbar-user-icon {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 6px;
    background: rgba(52, 90, 120, 0.14);
}

.admin-topbar-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.admin-topbar-utility {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 42px;
    padding: 0.65rem 0.9rem;
    border-radius: 6px;
    background: #f4f8fc;
    border: 1px solid var(--admin-border);
    color: var(--admin-accent-dark);
    font-weight: 700;
}

.admin-topbar-utility-danger {
    background: #f8ecec;
    color: #8a2f2f;
    border-color: rgba(138, 47, 47, 0.16);
}

.admin-content-shell {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
}

.admin-section-sidebar {
    position: sticky;
    top: 1rem;
    display: grid;
    gap: 0.9rem;
    padding: 1rem;
    border: 1px solid var(--admin-border);
    border-radius: 8px;
    background: linear-gradient(180deg, #f8fbfd 0%, #edf3f8 100%);
    box-shadow: var(--admin-shadow);
}

.admin-section-sidebar-head h2 {
    margin: 0 0 0.3rem;
    color: var(--admin-text);
    font-size: 1.15rem;
}

.admin-section-sidebar-head p {
    margin: 0;
    color: var(--admin-muted);
    font-size: 0.9rem;
}

.admin-section-sidebar-links {
    display: grid;
    gap: 0.55rem;
}

.admin-section-link {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 0.7rem;
    align-items: center;
    width: 100%;
    padding: 0.75rem 0.8rem;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid rgba(52, 90, 120, 0.1);
    color: #294154;
    text-align: left;
    font-weight: 700;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.admin-section-link:hover {
    background: #eaf2f8;
    border-color: var(--admin-border-strong);
    color: #20384d;
    transform: translateY(-1px);
}

.admin-section-link.is-active {
    background: linear-gradient(135deg, #345a78 0%, #20384d 100%);
    border-color: #27445b;
    color: #f6fbff;
    box-shadow: 0 14px 26px rgba(32, 56, 77, 0.18);
}

.admin-section-link-emoji {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 6px;
    background: rgba(52, 90, 120, 0.12);
    font-size: 1.1rem;
}

.admin-section-link.is-active .admin-section-link-emoji {
    background: rgba(255, 255, 255, 0.16);
}

.admin-section-link-copy {
    display: grid;
    gap: 0.08rem;
}

.admin-section-link-copy strong,
.admin-section-link-copy small {
    display: block;
}

.admin-section-link-copy small {
    color: var(--admin-muted);
    font-size: 0.8rem;
    font-weight: 600;
}

.admin-section-link.is-active .admin-section-link-copy small {
    color: rgba(246, 251, 255, 0.82);
}

.admin-main {
    display: grid;
    gap: 1rem;
}

.admin-main .panel {
    border: 1px solid var(--admin-border);
    border-radius: 8px;
    background: var(--admin-surface);
    box-shadow: var(--admin-shadow);
}

.admin-hero-panel {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1.4rem;
    background:
        linear-gradient(135deg, rgba(111, 148, 182, 0.18), rgba(111, 148, 182, 0) 30%),
        var(--admin-bg);
}

.admin-hero-copy h2 {
    margin: 0.2rem 0 0.45rem;
    font-size: 2rem;
    line-height: 1.05;
    color: var(--admin-text);
}

.admin-eyebrow,
.admin-section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.38rem 0.72rem;
    border-radius: 4px;
    background: rgba(52, 90, 120, 0.12);
    color: var(--admin-accent-dark);
    font-size: 0.82rem;
    font-weight: 800;
    border: 1px solid rgba(52, 90, 120, 0.12);
}

.admin-hero-copy .muted,
.admin-inline-note {
    color: var(--admin-muted);
}

.admin-hero-meta,
.admin-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    align-items: center;
}

.admin-mini-stat {
    min-width: 132px;
    padding: 0.9rem 1rem;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(52, 90, 120, 0.14);
    text-align: left;
}

.admin-mini-stat-label {
    display: block;
    margin-bottom: 0.2rem;
    color: var(--admin-muted);
    font-size: 0.82rem;
    font-weight: 700;
}

.admin-mini-stat strong {
    color: var(--admin-text);
    font-size: 1.25rem;
}

.admin-primary-link,
.admin-secondary-link,
.admin-card-link,
.admin-action-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 46px;
    padding: 0.72rem 1rem;
    border-radius: 6px;
    font-weight: 700;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.admin-primary-link {
    background: var(--admin-accent);
    color: #f6fbff;
    border: 1px solid #27445b;
}

.admin-primary-link:hover {
    background: var(--admin-accent-dark);
}

.admin-secondary-link,
.admin-card-link {
    background: #f4f8fc;
    border: 1px solid var(--admin-border);
    color: var(--admin-accent-dark);
}

.admin-secondary-link:hover,
.admin-card-link:hover,
.admin-action-link:hover {
    background: #eaf2f8;
    border-color: var(--admin-border-strong);
    transform: translateY(-1px);
}

.admin-section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.admin-section-heading h2 {
    margin: 0.3rem 0 0;
    color: var(--admin-text);
}

.admin-stat-card {
    position: relative;
    overflow: hidden;
    padding: 1.1rem;
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(248, 251, 253, 0.98), rgba(238, 244, 249, 0.98));
    border: 1px solid rgba(52, 90, 120, 0.12);
}

.admin-stat-icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    margin-bottom: 0.75rem;
    border-radius: 6px;
    background: rgba(52, 90, 120, 0.12);
    font-size: 1.5rem;
}

.admin-search-form {
    margin-bottom: 1rem;
}

.admin-search-box {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.7rem;
}

.admin-search-box button {
    min-width: 130px;
}

.admin-table-wrap {
    border-radius: 8px;
    border: 1px solid rgba(52, 90, 120, 0.12);
    background: rgba(255, 255, 255, 0.72);
}

.admin-table thead th {
    background: rgba(52, 90, 120, 0.08);
    color: var(--admin-text);
    font-size: 0.88rem;
    font-weight: 800;
    white-space: nowrap;
}

.admin-table tbody tr:hover {
    background: rgba(233, 241, 248, 0.78);
}

.admin-table-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
}

.admin-action-link {
    min-height: 38px;
    padding: 0.45rem 0.8rem;
    background: #f4f8fc;
    color: var(--admin-accent-dark);
    border: 1px solid var(--admin-border);
}

.admin-action-danger {
    background: #f8ecec;
    color: #8a2f2f;
    border-color: rgba(138, 47, 47, 0.16);
}

.admin-alert-error {
    padding: 0.85rem 1rem;
    border-radius: 6px;
    background: #f8ecec;
    color: #8a2f2f;
    border: 1px solid rgba(138, 47, 47, 0.16);
    font-weight: 700;
}

.tab-btn {
    display: flex;
    justify-content: flex-start;
    width: 100%;
    background: rgba(255, 255, 255, 0.78);
    color: #294154;
    border: 1px solid rgba(52, 90, 120, 0.1);
    border-radius: 6px;
    padding: 0.7rem 0.85rem;
    font-weight: 700;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.tab-btn:hover {
    background: #eaf2f8;
    color: #20384d;
    border-color: var(--admin-border-strong);
    transform: translateY(-1px);
}

.tab-btn.is-active {
    background: linear-gradient(135deg, #345a78 0%, #20384d 100%);
    color: #f6fbff;
    border-color: #27445b;
    box-shadow: 0 14px 24px rgba(32, 56, 77, 0.2);
}

.settings-content {
    display: grid;
    gap: 1rem;
}

.admin-tab-heading {
    display: grid;
    gap: 0.35rem;
    margin-bottom: 0.6rem;
}

.admin-tab-heading span {
    color: var(--admin-text);
    font-size: 1.15rem;
    font-weight: 800;
}

.admin-login-panel {
    max-width: 560px;
    margin: 2rem auto;
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(111, 148, 182, 0.18), rgba(111, 148, 182, 0) 30%),
        var(--admin-bg);
    border: 1px solid rgba(52, 90, 120, 0.14);
    box-shadow: var(--admin-shadow);
}

.admin-login-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.8rem;
    border-radius: 4px;
    background: rgba(52, 90, 120, 0.12);
    color: var(--admin-accent-dark);
    font-weight: 800;
}

.home-slides-admin-table {
    display: grid;
    grid-template-columns: 110px minmax(260px, 1fr) 180px;
    gap: 0.7rem;
    align-items: start;
}

.home-slides-admin-head {
    color: #546775;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.home-slide-admin-row {
    display: contents;
}

.home-slide-admin-index,
.home-slide-admin-media,
.home-slide-admin-copy,
.home-slide-admin-actions {
    min-height: 100%;
    padding: 0.8rem;
    border: 1px solid #d2dde7;
    border-radius: 6px;
    background: #f8fbfd;
}

.home-slide-admin-index {
    display: flex;
    align-items: center;
    font-weight: 800;
    color: #22323c;
}

.home-slide-file-input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.home-slide-dropzone {
    display: grid;
    place-items: center;
    min-height: 138px;
    border: 2px dashed #b8c9d8;
    border-radius: 6px;
    background: #f3f8fc;
    text-align: center;
    cursor: pointer;
    overflow: hidden;
}

.home-slide-dropzone.is-over {
    border-color: #577592;
    background: #e7f0f8;
}

.home-slide-dropzone-empty {
    padding: 0.9rem;
    color: #5d7180;
    font-weight: 600;
}

.home-slide-admin-preview {
    width: 100%;
    height: 138px;
    object-fit: contain;
    display: block;
    background: #0d1c29;
}

.home-slide-admin-actions {
    display: grid;
    gap: 0.45rem;
    align-content: start;
}

.form-grid {
    display: grid;
    gap: 0.7rem;
}

.field-group {
    display: grid;
    gap: 0.35rem;
}

.form-row-3 {
    display: grid;
    grid-template-columns: auto auto auto;
    justify-content: start;
    gap: 0.7rem;
}

.form-row-meta {
    display: grid;
    grid-template-columns: max-content max-content;
    justify-content: start;
    column-gap: 1.1rem;
    row-gap: 0.7rem;
    align-items: start;
}

.form-row-meta .field-group {
    min-width: 0;
}

.form-row-meta #id_display {
    width: 120px;
}

.form-row-meta .admin-static-value {
    min-width: 240px;
}

.form-row-type-condition {
    display: grid;
    grid-template-columns: minmax(220px, 340px) minmax(160px, 220px);
    gap: 0.7rem;
    align-items: end;
}

.compact-input {
    width: 100%;
}

.compact-type {
    max-width: 340px;
}

.compact-condition {
    max-width: 220px;
}

.compact-year {
    max-width: 90px;
}

.compact-doors {
    max-width: 130px;
}

.compact-fuel {
    max-width: 220px;
}

.compact-km {
    max-width: 130px;
}

.compact-price {
    max-width: 140px;
}

.image-manager {
    display: grid;
    gap: 0.35rem;
}

.image-dropzone {
    border: 2px dashed #b8c9d8;
    border-radius: 6px;
    padding: 1rem;
    text-align: center;
    color: #35526a;
    background: #f4f9fc;
    cursor: pointer;
}

.image-dropzone.is-over {
    background: #e7f0f8;
    border-color: #577592;
}

.image-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 0.5rem;
    min-height: 96px;
    margin-top: 0.1rem;
}

.image-item {
    position: relative;
    border: 1px solid #d3dde5;
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
    min-height: 92px;
}

.image-item img {
    width: 100%;
    height: 90px;
    object-fit: cover;
    display: block;
}

.image-item-actions {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 0.25rem;
    padding: 0.22rem 0.3rem;
    background: #eff5f9;
}

.drag-handle {
    font-size: 0.75rem;
    color: #4d6679;
    user-select: none;
    letter-spacing: 1px;
    padding: 0.12rem 0.24rem;
    border: 1px solid #cedae4;
    border-radius: 4px;
    background: #ffffff;
}

.image-move-btn {
    background: #eaf2f8;
    color: #26465d;
    border: 1px solid #c9d8e4;
    border-radius: 4px;
    padding: 0.08rem 0.34rem;
    font-size: 0.76rem;
    line-height: 1.1;
}

.image-remove-btn {
    background: #f8ecec;
    color: #8a2f2f;
    border: 1px solid #e4c5c5;
    border-radius: 4px;
    padding: 0.08rem 0.34rem;
    font-size: 0.76rem;
    line-height: 1;
}

.image-item.is-dragging {
    opacity: 0.6;
}

.field-label {
    font-weight: 700;
    color: #26445c;
    font-size: 0.95rem;
}

.admin-static-value {
    display: block;
    min-height: 46px;
    padding: 0.78rem 0.9rem;
    border: 1px solid #d2dde7;
    border-radius: 4px;
    background: linear-gradient(180deg, rgba(248, 251, 253, 0.98) 0%, rgba(237, 243, 248, 0.98) 100%);
    color: var(--admin-text);
    font-weight: 700;
    line-height: 1.2;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.hidden-input {
    display: none;
}

.hero-preview {
    width: 100%;
    max-width: 420px;
    height: 140px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid #d4e0dc;
}

.style-split-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
}

.style-compact-card {
    display: grid;
    gap: 0.45rem;
    padding: 0.65rem;
    border: 1px solid #d2dde7;
    border-radius: 6px;
    background: #f8fbfd;
}

.style-compact-title {
    margin: 0;
    font-size: 1rem;
    color: #26445c;
}

.style-inline-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 0.6rem;
    align-items: end;
}

.dual-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.secondary-btn {
    background: #607487;
}

.secondary-btn:hover {
    background: #4e6173;
}

.tab-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tab-panel {
    display: none;
    gap: 0.7rem;
}

.tab-panel.is-active {
    display: grid;
}

.wysiwyg-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.wysiwyg-toolbar button {
    background: #f2f7fb;
    color: #26445c;
    border: 1px solid #d2dde7;
    padding: 0.4rem 0.7rem;
    border-radius: 4px;
}

.wysiwyg-toolbar button:hover {
    background: #e8f0f7;
}

.wysiwyg-font-select,
.wysiwyg-size-select {
    min-height: 32px;
    padding: 0.32rem 0.55rem;
    border: 1px solid #d2dde7;
    border-radius: 4px;
    background: #f2f7fb;
    color: #26445c;
}

.wysiwyg-color-label {
    display: inline-flex;
    align-items: center;
}

.wysiwyg-color-input {
    width: 36px;
    height: 32px;
    padding: 0.2rem;
    border: 1px solid #d2dde7;
    border-radius: 4px;
    background: #f2f7fb;
    cursor: pointer;
}

.icon-align {
    display: inline-block;
    width: 16px;
    height: 12px;
    background:
        linear-gradient(#1f4d45, #1f4d45) 0 0 / 100% 2px no-repeat,
        linear-gradient(#1f4d45, #1f4d45) 0 5px / 78% 2px no-repeat,
        linear-gradient(#1f4d45, #1f4d45) 0 10px / 92% 2px no-repeat;
}

.icon-align-center {
    background:
        linear-gradient(#1f4d45, #1f4d45) 50% 0 / 100% 2px no-repeat,
        linear-gradient(#1f4d45, #1f4d45) 50% 5px / 78% 2px no-repeat,
        linear-gradient(#1f4d45, #1f4d45) 50% 10px / 92% 2px no-repeat;
}

.icon-align-right {
    background:
        linear-gradient(#1f4d45, #1f4d45) 100% 0 / 100% 2px no-repeat,
        linear-gradient(#1f4d45, #1f4d45) 100% 5px / 78% 2px no-repeat,
        linear-gradient(#1f4d45, #1f4d45) 100% 10px / 92% 2px no-repeat;
}

.icon-valign {
    display: inline-block;
    width: 16px;
    height: 14px;
    background:
        linear-gradient(#1f4d45, #1f4d45) 0 0 / 2px 100% no-repeat,
        linear-gradient(#1f4d45, #1f4d45) 6px 0 / 2px 78% no-repeat,
        linear-gradient(#1f4d45, #1f4d45) 12px 0 / 2px 92% no-repeat;
}

.icon-valign-middle {
    background:
        linear-gradient(#1f4d45, #1f4d45) 0 50% / 2px 100% no-repeat,
        linear-gradient(#1f4d45, #1f4d45) 6px 50% / 2px 78% no-repeat,
        linear-gradient(#1f4d45, #1f4d45) 12px 50% / 2px 92% no-repeat;
}

.icon-valign-bottom {
    background:
        linear-gradient(#1f4d45, #1f4d45) 0 100% / 2px 100% no-repeat,
        linear-gradient(#1f4d45, #1f4d45) 6px 100% / 2px 78% no-repeat,
        linear-gradient(#1f4d45, #1f4d45) 12px 100% / 2px 92% no-repeat;
}

.wysiwyg-editor {
    min-height: 260px;
    background: #edf2f7;
    border: 1px solid #d2d9df;
    border-radius: 12px;
    padding: 0.85rem;
    line-height: 1.45;
}

.wysiwyg-editor[data-placeholder]:empty::before {
    content: attr(data-placeholder);
    color: #5f6f7f;
    font-style: italic;
    pointer-events: none;
}

.wysiwyg-box[data-wysiwyg-mode="plain-text"] .wysiwyg-editor {
    white-space: pre-wrap;
}

.wysiwyg-vrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    vertical-align: middle;
}

.checkbox-field label {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.checkbox-field input {
    width: auto;
}

.hours-admin-grid {
    display: grid;
    grid-template-columns: 140px minmax(220px, 1fr) minmax(220px, 1fr) 110px;
    gap: 0.5rem 0.65rem;
    align-items: center;
}

.hours-admin-head {
    font-size: 0.82rem;
    font-weight: 800;
    color: #315d56;
}

.hours-admin-day {
    font-weight: 700;
}

.hours-admin-slot {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.hours-admin-slot input[type="time"] {
    max-width: 120px;
}

.hours-admin-close label {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.filter-panel {
    padding: 0.95rem 1.1rem;
}

.filter-panel h2 {
    margin: 0 0 0.45rem;
}

.filter-panel .form-grid {
    gap: 0.48rem;
}

.filter-panel .search-box {
    margin-top: 0;
    gap: 0.55rem;
}

.filter-panel .search-box button {
    padding: 0.48rem 0.72rem;
    font-size: 0.86rem;
}

.filter-panel .field-group {
    gap: 0.2rem;
}

.filter-panel .field-label {
    font-size: 0.82rem;
    font-weight: 700;
}

.filter-controls-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(120px, 1fr)) auto;
    gap: 0.55rem;
    align-items: end;
}

.filter-controls-row > .field-group {
    min-width: 0;
}

.compact-check {
    min-height: 38px;
    align-items: center;
}

.filter-actions {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 0.42rem;
}

.filter-actions button {
    min-height: 42px;
    padding: 0 0.72rem;
    font-size: 0.86rem;
    display: inline-flex;
    align-items: center;
}

.filter-actions .detail-btn {
    min-height: 42px;
    padding: 0 0.72rem;
    display: inline-flex;
    align-items: center;
}

.filter-actions-inline {
    align-self: end;
    min-width: 0;
}

.filter-controls-row .transmission-break {
    grid-column: 1 / 2;
    grid-row: 2;
    max-width: 220px;
}

.filter-actions-inline {
    grid-column: 5;
    grid-row: 1;
}

.compact-check-inline {
    min-height: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.08rem 0;
    font-size: 0.86rem;
    line-height: 1.1;
}

.filter-label-spacer {
    opacity: 0;
    user-select: none;
}

.listing-filter-band .form-grid {
    gap: 0.8rem;
}

.listing-filter-band .search-box {
    margin-top: 0;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.7rem;
    min-width: 0;
    max-width: 100%;
}

.listing-filter-band .search-box input,
.listing-filter-band .field-group select {
    min-height: 50px;
    border: 1px solid #d3dbe2;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.86);
}

.listing-filter-band .search-box button,
.listing-filter-band .filter-actions button,
.listing-filter-band .filter-actions .detail-btn {
    min-height: 50px;
    border-radius: 4px;
}

.listing-filter-band .search-box button {
    min-width: 150px;
}

.listing-filter-band .field-group {
    gap: 0.3rem;
    min-width: 0;
    max-width: 100%;
}

.listing-filter-band .field-label {
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #5b6976;
}

.listing-filter-band .filter-controls-row {
    grid-template-columns: repeat(4, minmax(150px, 1fr)) auto;
    gap: 0.75rem;
    min-width: 0;
    max-width: 100%;
}

.listing-filter-band .filter-actions {
    gap: 0.55rem;
}

.pagination-nav {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.32rem;
}

.pagination-btn {
    min-width: 36px;
    height: 36px;
    padding: 0 0.6rem;
    border: 1px solid #c8d6e4;
    border-radius: 10px;
    background: #f2f7fc;
    color: #26445f;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.pagination-btn:hover {
    background: #e3edf7;
}

.pagination-btn.is-active {
    background: #4f6d8b;
    border-color: #4f6d8b;
    color: #fff;
}

.pagination-arrow {
    font-size: 1rem;
    line-height: 1;
}

.pagination-btn.is-disabled {
    opacity: 0.42;
    pointer-events: none;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.8rem;
}

.stat-card {
    background: #f8fbfb;
    border: 1px solid #e0ebea;
    border-radius: 14px;
    padding: 1rem;
}

.stat-card h3 {
    margin: 0 0 0.4rem;
}

.stat-value {
    font-size: 1.4rem;
    font-weight: 800;
    margin: 0 0 0.6rem;
    color: var(--primary);
}

.table-wrap {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    border-bottom: 1px solid #e5eaef;
    padding: 0.65rem;
    text-align: left;
}

.vehicle-thumb {
    width: 92px;
    height: 58px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
    border: 1px solid #d9e2e8;
}

.featured-star {
    color: #e0a10b;
    font-size: 1.05rem;
    line-height: 1;
    text-shadow: 0 2px 6px rgba(224, 161, 11, 0.35);
}

.inline-form {
    display: inline;
}

.link-button {
    background: none;
    border: none;
    color: var(--primary);
    padding: 0;
    font-weight: 500;
    cursor: pointer;
}

.danger-link {
    color: #b42318;
}

.section-cta {
    margin-top: 1rem;
    text-align: center;
}

.cta-link {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    padding: 0.65rem 1.1rem;
    border-radius: 999px;
    font-weight: 700;
}

.services-panel .services-content {
    line-height: 1.6;
}

.services-panel .services-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.contact-panel {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid #d8e1e7;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.97) 0%, rgba(247, 249, 251, 0.99) 100%);
    box-shadow: 0 22px 48px rgba(12, 23, 35, 0.12);
}

.contact-panel::before {
    content: "";
    position: absolute;
    right: -70px;
    top: -70px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(15, 109, 94, 0.18) 0%, rgba(15, 109, 94, 0) 70%);
    pointer-events: none;
}

.contact-page-main {
    margin-top: 0.4rem;
}

.contact-grid {
    margin-top: 0.8rem;
    display: grid;
    gap: 0.8rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contact-item {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    padding: 0.9rem;
    background: #f5f7f9;
    border: 1px solid #dbe3e8;
    border-radius: 6px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(13, 27, 42, 0.1);
}

.contact-icon {
    width: 38px;
    height: 38px;
    border-radius: 4px;
    display: grid;
    place-items: center;
    background: #e8edf1;
    font-size: 1.1rem;
}

.contact-item h3 {
    margin: 0 0 0.25rem;
    font-size: 1rem;
}

.contact-item p {
    margin: 0;
}

.contact-extra {
    margin-top: 0.95rem;
    padding: 0.9rem;
    border-radius: 6px;
    background: linear-gradient(135deg, #f7f9fb 0%, #f0f4f7 100%);
    border: 1px solid #d8e1e7;
}

.contact-extra h3 {
    margin: 0 0 0.4rem;
}

.contact-extra p {
    margin: 0;
}

.hours-day {
    font-weight: 700;
}

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

.hours-contact-item {
    align-items: flex-start;
}

.address-contact-item {
    align-items: flex-start;
}

.address-contact-item > div {
    text-align: left;
}

.address-contact-item .map-cta {
    margin: 0.55rem 0 0;
    text-align: center;
}

.hours-compact {
    width: 100%;
    display: grid;
    gap: 0.2rem;
}

.hours-compact h3 {
    margin: 0 0 0.2rem;
    font-size: 1rem;
}

.hours-compact-row {
    display: flex;
    justify-content: space-between;
    gap: 0.6rem;
    font-size: 0.86rem;
    line-height: 1.2;
    padding: 0.12rem 0;
    border-bottom: 1px dashed #d8e5e1;
}

.hours-compact-row:last-child {
    border-bottom: 0;
}

.map-wrap {
    margin-top: 1rem;
    padding: 0.9rem;
    border: 1px solid #d8e1e7;
    border-radius: 6px;
    background: #f8fafb;
}

.map-wrap h3 {
    margin: 0 0 0.6rem;
}

.contact-map {
    width: 100%;
    height: 320px;
    border: 0;
    border-radius: 12px;
}

.map-link {
    margin: 0.55rem 0 0;
}

.map-cta {
    margin: 0.75rem 0 0;
}

.map-nav-btn {
    display: inline-block;
    background: #1a73e8;
    color: #fff;
    padding: 0.68rem 1rem;
    border-radius: 12px;
    font-weight: 700;
    box-shadow: 0 8px 18px rgba(26, 115, 232, 0.24);
}

.map-nav-btn:hover {
    background: #0f62d6;
}

@media (max-width: 760px) {
    .hero {
        min-height: 22vh;
        padding-top: 0.75rem;
        padding-bottom: 1rem;
    }

    .topbar {
        flex-wrap: wrap;
        align-items: flex-start;
        gap: 0.8rem;
        padding-bottom: 0.52rem;
    }

    .site-contact-strip {
        padding-top: 0.38rem;
    }

    .site-contact-strip-inner {
        justify-content: flex-start;
    }

    .site-contact-strip-link {
        width: 100%;
        justify-content: flex-start;
    }

    .top-links {
        width: 100%;
        justify-content: flex-start;
        gap: 0.9rem 1rem;
    }

    .top-link {
        font-size: 0.82rem;
    }

    .top-link::after {
        bottom: -0.72rem;
    }

    .hero-content {
        margin-top: 0.68rem;
    }

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

    .hero h1 {
        max-width: 100%;
        font-size: clamp(1.8rem, 9vw, 3rem);
        white-space: normal;
    }

    .hero p {
        font-size: 0.92rem;
    }

    .hero-cta-button {
        min-width: 0;
        width: 100%;
    }

    .admin-topbar,
    .admin-content-shell {
        grid-template-columns: 1fr;
    }

    .admin-section-sidebar {
        position: static;
    }

    .admin-topbar {
        justify-items: stretch;
    }

    .admin-topbar-toggle {
        display: inline-flex;
    }

    .admin-topbar-body {
        display: none;
        width: 100%;
    }

    .admin-topbar.is-open .admin-topbar-body {
        display: grid;
        gap: 0.75rem;
    }

    .admin-topbar-nav,
    .admin-topbar-meta,
    .admin-topbar-actions {
        justify-content: flex-start;
        flex-direction: column;
        align-items: stretch;
    }

    .admin-topbar-link,
    .admin-topbar-utility {
        width: 100%;
        justify-content: flex-start;
    }

    .admin-hero-panel,
    .admin-section-heading,
    .admin-table-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .admin-search-box {
        grid-template-columns: 1fr;
    }

    .admin-table,
    .admin-table tbody,
    .admin-table tr,
    .admin-table td {
        display: block;
        width: 100%;
    }

    .admin-table thead {
        display: none;
    }

    .admin-table tbody {
        display: grid;
        gap: 0.9rem;
        padding: 0.8rem;
    }

    .admin-table tbody tr {
        padding: 0.9rem;
        border: 1px solid rgba(52, 90, 120, 0.12);
        border-radius: 8px;
        background: rgba(248, 251, 253, 0.96);
        box-shadow: 0 12px 26px rgba(17, 35, 52, 0.08);
    }

    .admin-table td {
        display: grid;
        grid-template-columns: 110px minmax(0, 1fr);
        gap: 0.6rem;
        align-items: center;
        padding: 0.45rem 0;
        border-bottom: 1px solid rgba(52, 90, 120, 0.08);
    }

    .admin-table td:last-child {
        border-bottom: 0;
        padding-bottom: 0;
    }

    .admin-table td::before {
        content: attr(data-label);
        color: var(--admin-muted);
        font-size: 0.82rem;
        font-weight: 800;
    }

    .admin-table td[data-label="Anteprima"] {
        grid-template-columns: 1fr;
        padding-top: 0;
    }

    .admin-table td[data-label="Anteprima"]::before {
        margin-bottom: 0.2rem;
    }

    .admin-table td[data-label="Anteprima"] .vehicle-thumb {
        width: 100%;
        height: 180px;
        border-radius: 14px;
    }

    .admin-section-link,
    .tab-btn {
        min-height: 56px;
    }

    .hero-compact {
        min-height: 15vh;
        padding-bottom: 0.9rem;
    }

    .home-media-slider {
        width: 100%;
        margin-top: 6px;
    }

    .home-vehicle-hero-slider {
        width: min(100%, calc(100% - 1.25rem));
        margin-top: 0.4rem;
    }

    .home-vehicle-hero-track {
        min-height: 0;
    }

    .home-vehicle-hero-slide {
        grid-template-columns: 1fr;
    }

    .home-vehicle-hero-media {
        min-height: 250px;
    }

    .home-vehicle-hero-panel {
        grid-template-columns: 1fr;
        padding: 1rem;
    }

    .home-vehicle-hero-aside {
        align-content: start;
    }

    .home-vehicle-hero-panel h2 {
        white-space: normal;
        width: 100%;
        max-width: 100%;
    }

    .home-vehicle-hero-details {
        grid-template-columns: 1fr;
    }

    .home-vehicle-hero-cta-row {
        flex-direction: column;
    }

    .home-vehicle-hero-nav {
        top: 126px;
        transform: none;
        width: 40px;
        height: 40px;
    }

    .home-vehicle-hero-nav.prev {
        left: 0.65rem;
    }

    .home-vehicle-hero-nav.next {
        right: 0.65rem;
    }

    .home-vehicle-hero-dots {
        bottom: 0.65rem;
    }

    .home-media-slider-track {
        height: clamp(220px, 56vw, 340px);
    }

    .home-media-slide img {
        height: 240px;
    }

    .home-media-slider-dots {
        bottom: 0.55rem;
    }

    .home-slides-admin-table {
        grid-template-columns: 1fr;
    }

    .home-slides-admin-head {
        display: none;
    }

    .home-slide-admin-row {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0.6rem;
        padding: 0.75rem;
        border: 1px solid #d7dcd8;
        border-radius: 14px;
        background: #fbfcfb;
    }

    .home-slide-admin-index,
    .home-slide-admin-media,
    .home-slide-admin-actions {
        padding: 0;
        border: 0;
        background: transparent;
    }

    .listing-main {
        margin-top: 0.25rem;
    }

    .listing-main-wide {
        width: min(100%, calc(100% - 1.25rem));
        margin-top: 0.25rem;
    }

    .listing-filter-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .listing-filter-band {
        padding: 0.85rem 0 1rem;
        border-top: 0;
        border-bottom: 0;
    }

    .listing-filter-band .form-grid {
        gap: 0.9rem;
    }

    .listing-filter-band .search-box {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        padding: 0.9rem;
        border: 1px solid #dbe2e8;
        border-radius: 10px;
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(246, 248, 250, 0.98) 100%);
        box-shadow: 0 14px 28px rgba(12, 23, 35, 0.08);
    }

    .listing-filter-band .filter-controls-row > .field-group {
        padding: 0.9rem;
        border: 1px solid #dbe2e8;
        border-radius: 10px;
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(246, 248, 250, 0.98) 100%);
        box-shadow: 0 14px 28px rgba(12, 23, 35, 0.08);
        gap: 0.45rem;
    }

    .listing-filter-band,
    .listing-filter-band .form-grid,
    .listing-filter-band .search-box,
    .listing-filter-band .filter-controls-row,
    .listing-filter-band .filter-controls-row > .field-group {
        min-width: 0;
        max-width: 100%;
    }

    .page-main {
        margin-top: 0.45rem;
    }

    .contact-page-main {
        margin-top: 0.25rem;
    }

    .search-box {
        grid-template-columns: 1fr;
    }

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

    .form-row-3 {
        grid-template-columns: 1fr;
        justify-content: stretch;
    }

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

    .form-row-type-condition {
        grid-template-columns: 1fr;
    }

    .compact-year,
    .compact-doors,
    .compact-type,
    .compact-condition,
    .compact-fuel,
    .compact-km,
    .compact-price {
        max-width: 100%;
    }

    .catalog-section-heading {
        align-items: flex-start;
        flex-direction: column;
    }

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

    .showcase-slider {
        grid-template-columns: 1fr;
    }

    .showcase-nav {
        display: none;
    }

    .showcase-track {
        gap: 0;
        padding-left: 0;
        padding-right: 0;
        max-width: 100%;
    }

    .showcase-track .showcase-card {
        flex: 0 0 100%;
        max-width: 100%;
        scroll-snap-stop: always;
    }

    .vehicle-card-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .price-badge {
        margin-left: 0;
        justify-content: center;
    }

    .vehicle-meta {
        font-size: 0.95rem;
    }

    .contact-map {
        height: 260px;
    }

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

    .map-nav-btn {
        width: 100%;
        text-align: center;
    }

    .style-split-grid {
        grid-template-columns: 1fr;
    }

    .style-inline-grid {
        grid-template-columns: 1fr;
    }

    .hours-admin-grid {
        grid-template-columns: 1fr;
    }

    .hours-admin-head {
        display: none;
    }

    .hours-admin-day {
        margin-top: 0.35rem;
    }

    .hours-compact-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.2rem;
    }

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

    .filter-controls-row,
    .listing-filter-band .filter-controls-row {
        grid-template-columns: 1fr;
    }

    .listing-filter-band .search-box {
        grid-template-columns: 1fr;
    }

    .listing-filter-band .search-box input,
    .listing-filter-band .field-group select,
    .listing-filter-band .search-box button,
    .listing-filter-band .filter-actions button,
    .listing-filter-band .filter-actions .detail-btn {
        width: 100%;
        min-width: 0;
        max-width: 100%;
    }

    .filter-controls-row .transmission-break,
    .filter-actions-inline {
        grid-column: auto;
        grid-row: auto;
        max-width: none;
    }

    .filter-actions-inline {
        align-self: stretch;
    }

    .filter-actions {
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
    }

    .listing-filter-band .filter-label-spacer {
        display: none;
    }

    .site-footer-top {
        flex-direction: column;
        align-items: stretch;
    }

    .site-footer-social {
        justify-content: flex-start;
    }
}

@media (max-width: 1100px) and (min-width: 761px) {
    .vehicle-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .showcase-track .showcase-card {
        flex-basis: min(300px, 65%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-highlight-panel-intro .home-highlight-content,
    .home-between-panel-intro .home-highlight-content,
    .services-panel-intro .services-content,
    .about-panel-intro .services-content {
        animation: none;
    }
}

.vehicle-detail-panel {
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(260px, 420px) 1fr;
    align-items: start;
    padding: 1.35rem;
    border: 1px solid #d5dde4;
    border-radius: 4px;
    box-shadow: 0 18px 34px rgba(13, 27, 42, 0.12);
}

.vehicle-detail-image {
    width: 100%;
    height: 100%;
    min-height: 260px;
    max-height: 440px;
    object-fit: cover;
    border-radius: 14px;
}

.vehicle-detail-media {
    display: grid;
    gap: 0.55rem;
    align-content: start;
}

.vehicle-main-image-btn {
    position: relative;
    padding: 0;
    border: none;
    background: none;
    cursor: zoom-in;
    border-radius: 14px;
    overflow: hidden;
}

.vehicle-main-image-btn .vehicle-detail-image {
    display: block;
    transition: transform 0.25s ease;
}

.vehicle-main-image-btn:hover .vehicle-detail-image {
    transform: scale(1.02);
}

.vehicle-gallery-count {
    position: absolute;
    right: 0.55rem;
    bottom: 0.55rem;
    background: rgba(15, 35, 44, 0.78);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.22rem 0.5rem;
    border-radius: 999px;
}

.vehicle-thumb-strip {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    column-gap: 0.45rem;
    row-gap: 0.08rem;
    align-items: start;
}

.vehicle-thumb-btn {
    padding: 0;
    border: 2px solid transparent;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    display: block;
    width: 100%;
    aspect-ratio: 72 / 50;
    cursor: pointer;
}

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

.vehicle-thumb-btn.is-active {
    border-color: #0f6d5e;
    box-shadow: 0 5px 14px rgba(15, 109, 94, 0.24);
}

.vehicle-lightbox {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 1200;
}

.vehicle-lightbox.is-open {
    display: block;
}

.vehicle-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(3, 9, 13, 0.72);
}

.vehicle-lightbox-dialog {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: min(80vw, 1180px);
    height: min(80vh, 760px);
    max-width: calc(100vw - 2rem);
    max-height: calc(100vh - 2rem);
    background: #0f1418;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    overflow: hidden;
}

.vehicle-lightbox-stage {
    position: absolute;
    inset: 0;
    padding: 2.9rem 4rem;
    display: grid;
    place-items: center;
}

.vehicle-lightbox-image {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    background: #0f1418;
    display: block;
}

.vehicle-lightbox-close {
    position: absolute;
    top: 0.7rem;
    right: 0.7rem;
    z-index: 2;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 0;
}

.vehicle-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.42);
    color: #fff;
    font-size: 1.45rem;
    padding: 0;
}

.vehicle-lightbox-nav.prev {
    left: 0.8rem;
}

.vehicle-lightbox-nav.next {
    right: 0.8rem;
}

.vehicle-lightbox-counter {
    position: absolute;
    top: 0.8rem;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    background: rgba(10, 22, 28, 0.66);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    padding: 0.28rem 0.72rem;
    font-size: 0.82rem;
    font-weight: 700;
}

.vehicle-detail-content h2 {
    margin-top: 0;
}

.vehicle-detail-price {
    margin: 0.9rem 0 1rem;
    margin-left: 0;
    display: inline-grid;
    justify-items: stretch;
    gap: 0;
    min-width: min(100%, 290px);
    padding: 0;
    background: linear-gradient(180deg, #fbfcfd 0%, #eef2f5 100%);
    border: 1px solid #b9c5d0;
    border-radius: 3px;
    box-shadow:
        0 16px 30px rgba(15, 28, 41, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.7);
    overflow: hidden;
}

.vehicle-detail-price .price-label {
    display: block;
    padding: 0.52rem 0.85rem 0.48rem;
    background: linear-gradient(180deg, #23384c 0%, #152534 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    color: #f3f7fb;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.vehicle-detail-price-row {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: end;
    gap: 0.65rem;
    padding: 0.9rem 0.95rem 0.95rem;
    border-top: 1px solid rgba(255, 255, 255, 0.5);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.62) 0%, rgba(232, 238, 243, 0.72) 100%),
        repeating-linear-gradient(90deg, rgba(47, 76, 102, 0.05) 0, rgba(47, 76, 102, 0.05) 1px, transparent 1px, transparent 18px);
}

.vehicle-detail-price-currency {
    align-self: center;
    padding: 0.28rem 0.42rem;
    border: 1px solid #b9c5d0;
    background: rgba(255, 255, 255, 0.72);
    color: #4b5f72;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    line-height: 1;
    text-transform: uppercase;
}

.vehicle-detail-price .price-value {
    color: #102235;
    font-size: clamp(1.85rem, 3.4vw, 2.65rem);
    font-weight: 900;
    letter-spacing: -0.05em;
    line-height: 0.9;
    text-align: right;
}

.vehicle-detail-offer {
    position: relative;
    border: 1px solid #9db9d3;
    box-shadow:
        0 18px 34px rgba(13, 27, 42, 0.14),
        0 0 0 2px rgba(157, 185, 211, 0.2);
}

.vehicle-detail-offer::after {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: 4px;
    pointer-events: none;
    box-shadow: 0 0 0 0 rgba(157, 185, 211, 0.45);
    animation: offerPulse 2.2s ease-in-out infinite;
}

.vehicle-detail-offer .price-badge {
    background: linear-gradient(180deg, #f0f5fb 0%, #dfe8f2 100%);
    border-color: #9db9d3;
    box-shadow: 0 14px 28px rgba(66, 92, 117, 0.18);
}

.vehicle-detail-offer .price-label {
    background: linear-gradient(180deg, #4d6f8f 0%, #35536e 100%);
    color: #f7fbff;
}

.vehicle-detail-offer .vehicle-detail-price-row {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.66) 0%, rgba(221, 230, 240, 0.78) 100%),
        repeating-linear-gradient(90deg, rgba(63, 93, 120, 0.06) 0, rgba(63, 93, 120, 0.06) 1px, transparent 1px, transparent 18px);
}

.vehicle-detail-offer .vehicle-detail-price-currency {
    border-color: #a9bfd4;
    color: #4a657f;
}

.vehicle-detail-offer .price-value {
    color: #2f4c66;
}

.offer-note {
    margin: 0.2rem 0 0.5rem;
    color: #3f5d78;
    font-weight: 700;
    font-size: 0.86rem;
}

@media (max-width: 900px) {
    .vehicle-detail-panel {
        grid-template-columns: 1fr;
        padding: 1rem;
    }

    .vehicle-detail-price {
        display: grid;
        width: min(100%, 290px);
        margin-left: auto;
        margin-right: auto;
    }

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

    .vehicle-lightbox-dialog {
        width: 94vw;
        height: 76vh;
        max-width: calc(100vw - 1rem);
        max-height: calc(100vh - 1rem);
    }

    .vehicle-lightbox-stage {
        padding: 2.9rem 2.8rem;
    }

    .vehicle-lightbox-nav {
        width: 38px;
        height: 38px;
    }
}

@media (max-width: 560px) {
    .vehicle-thumb-strip {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
