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

:root {
    --bg: #fbf7f1;
    --surface: #ffffff;
    --surface-soft: #fff4ea;
    --surface-dark: #111a1d;
    --text: #1d2327;
    --muted: #66707a;
    --line: #e6e1d8;
    --primary: #e57b37;
    --primary-dark: #c86322;
    --container: min(1180px, calc(100% - 28px));
    --radius-lg: 28px;
    --radius-md: 20px;
    --radius-sm: 14px;
    --shadow: 0 20px 44px rgba(19, 25, 29, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: "Poppins", "Segoe UI", sans-serif;
    font-size: 13px;
    color: var(--text);
    background: var(--bg);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, select, input, textarea { font: inherit; }
.container { width: var(--container); margin: 0 auto; }
.section { padding: 68px 0; }
.section-dark { background: var(--surface-dark); color: #f7f3ed; }
.section-accent { padding: 0 0 68px; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(29, 35, 39, 0.06);
}
.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
}
.brand {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    flex: 0 1 320px;
}
.brand img { width: 44px; height: 44px; object-fit: contain; }
.brand strong { display: block; font-size: 0.8rem; line-height: 1.15; }
.brand span { display: block; color: var(--muted); font-size: 0.68rem; line-height: 1.3; }
.nav {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
    justify-content: center;
}
.nav a {
    color: #46515a;
    font-size: 0.76rem;
    font-weight: 600;
    padding: 6px 10px;
    border-radius: 999px;
}
.nav a.is-current {
    background: #f4efe6;
    color: var(--primary-dark);
}
.nav a:hover { background: #f4efe6; }

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 16px;
    border: 0;
    border-radius: 999px;
    background: var(--primary);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    box-shadow: 0 14px 22px rgba(229, 123, 55, 0.22);
    cursor: pointer;
}
.button:hover { background: var(--primary-dark); }
.button-small { min-height: 34px; padding: 0 12px; }
.button-secondary {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--line);
    box-shadow: none;
}
.button-block { width: 100%; }

.hero { padding: 24px 0 18px; }
.hero-shell {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 14px;
    align-items: stretch;
}
.hero-form-card,
.hero-visual-card {
    background: var(--surface);
    border: 1px solid rgba(29, 35, 39, 0.06);
    border-radius: 28px;
    box-shadow: var(--shadow);
}
.hero-form-card {
    padding: 16px;
    display: flex;
    flex-direction: column;
}
.mini-search {
    display: grid;
    gap: 8px;
    margin-bottom: 12px;
}
.mini-search label span,
.contact-mini-form label {
    display: block;
    color: var(--muted);
    font-size: 0.7rem;
    font-weight: 600;
    margin-bottom: 4px;
}
.mini-search select,
.mini-search input,
.contact-mini-form input,
.contact-mini-form textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 10px 12px;
    background: #fff;
    color: var(--text);
    font-size: 0.78rem;
}
.car-finder-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.car-finder-form label:first-child,
.car-finder-form button {
    grid-column: 1 / -1;
}
.eyebrow,
.kicker {
    margin: 0 0 10px;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.62rem;
    font-weight: 700;
}
.hero-form-card h1 {
    margin: 0;
    font-size: clamp(1.65rem, 3.2vw, 2.8rem);
    line-height: 1.02;
    max-width: 12ch;
}
.hero-text {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 0.8rem;
    line-height: 1.55;
}
.hero-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 12px;
}
.hero-inline-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 14px;
}
.hero-inline-stats article {
    padding: 10px 12px;
    border-radius: 14px;
    background: #fcf8f2;
    border: 1px solid #efe6da;
}
.hero-inline-stats strong { display: block; font-size: 1rem; }
.hero-inline-stats span { color: var(--muted); font-size: 0.7rem; }

.hero-visual-card {
    position: relative;
    overflow: hidden;
    min-height: 430px;
}
.hero-visual-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-badge-strip {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 12px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.hero-badge-strip span {
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(17, 26, 29, 0.8);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 600;
}

.intro-strip { padding: 10px 0 8px; }
.intro-grid {
    display: grid;
    grid-template-columns: 1fr 0.95fr;
    gap: 12px;
    align-items: start;
}
.intro-copy h2,
.section-heading h2,
.trust-copy h2,
.cta-card h2,
.estimate-banner h2,
.car-care-copy h2 {
    margin: 0 0 10px;
    font-size: clamp(1.45rem, 2.4vw, 2.2rem);
    line-height: 1.08;
}
.intro-copy p,
.section-heading p,
.trust-copy p,
.car-care-copy p,
.process-card p,
.service-card p,
.comparison-column li,
.article-card h3,
.testimonial-card p,
.faq-list p,
.site-footer p {
    color: var(--muted);
    line-height: 1.68;
}
.section-heading {
    max-width: 700px;
    margin: 0 auto 22px;
    text-align: center;
}
.section-heading.left {
    text-align: left;
    margin-left: 0;
}
.page-section { background: #fff; }
.inner-hero {
    padding: 34px 0 20px;
    background: linear-gradient(180deg, #fff7ef 0%, #fbf7f1 100%);
}
.inner-hero-grid {
    display: grid;
    grid-template-columns: 1fr 0.95fr;
    gap: 18px;
    align-items: center;
}
.inner-hero-grid img {
    width: 100%;
    min-height: 320px;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: var(--shadow);
}
.inner-hero h1 {
    margin: 0 0 10px;
    font-size: clamp(1.8rem, 3vw, 3rem);
    line-height: 1.04;
}
.inner-hero p {
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
}
.story-grid,
.contact-page-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}
.story-card,
.contact-card,
.package-note-card,
.gallery-page-card {
    background: #fff;
    border: 1px solid rgba(29, 35, 39, 0.06);
    border-radius: 22px;
    box-shadow: var(--shadow);
}
.story-card,
.contact-card,
.package-note-card {
    padding: 20px;
}
.gallery-page-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}
.gallery-page-card {
    overflow: hidden;
}
.gallery-page-card img {
    width: 100%;
    aspect-ratio: 1 / 0.9;
    object-fit: cover;
}
.gallery-page-card figcaption {
    padding: 12px 14px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--muted);
}
.light-process .process-card {
    background: #fff;
    border: 1px solid rgba(29, 35, 39, 0.06);
}
.light-process .process-card h3 { color: var(--text); }
.light-process .process-card p { color: var(--muted); }
.page-product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}
.product-card-page > img { aspect-ratio: 1.2 / 1; }
.package-note-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.stat-grid {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
.stat-grid.compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.stat-card {
    padding: 14px;
    background: var(--surface);
    border: 1px solid rgba(29, 35, 39, 0.06);
    border-radius: 18px;
    text-align: center;
    box-shadow: var(--shadow);
}
.stat-card strong { display: block; font-size: 1.2rem; margin-bottom: 3px; }
.stat-card span { color: var(--muted); font-size: 0.68rem; font-weight: 600; }

.service-grid,
.process-grid,
.product-grid,
.testimonial-grid,
.article-grid {
    display: grid;
    gap: 12px;
}
.service-grid-large { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.service-card,
.product-card,
.testimonial-card,
.article-card,
.contact-mini-form,
.comparison-card,
.estimate-banner {
    background: var(--surface);
    border: 1px solid rgba(29, 35, 39, 0.06);
    border-radius: 22px;
    box-shadow: var(--shadow);
}
.service-card { padding: 15px; }
.service-icon {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    border-radius: 12px;
    background: #fff4ea;
    color: var(--primary-dark);
    font-size: 0.68rem;
    font-weight: 800;
}
.service-card h3 { margin: 0 0 7px; font-size: 0.9rem; line-height: 1.32; }
.service-card p { margin: 0; font-size: 0.77rem; line-height: 1.58; }

.trust-section { background: #fff; }
.trust-grid {
    display: grid;
    grid-template-columns: 0.92fr 1.08fr;
    gap: 16px;
    align-items: center;
}
.trust-media {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.trust-media img {
    height: 100%;
    min-height: 250px;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: var(--shadow);
}
.trust-copy p { margin-top: 0; font-size: 0.8rem; }
.tick-list {
    list-style: none;
    padding: 0;
    margin: 14px 0 0;
    display: grid;
    gap: 8px;
}
.tick-list.two-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tick-list li {
    position: relative;
    padding-left: 18px;
    font-size: 0.76rem;
}
.tick-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--primary);
}

.comparison-card.replica { padding: 18px; }
.comparison-tabbar {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 8px;
}
.comparison-tab {
    border: 1px solid var(--line);
    background: #fff;
    color: var(--muted);
    padding: 8px 12px;
    border-radius: 999px;
    cursor: pointer;
    font-size: 0.74rem;
    font-weight: 600;
}
.comparison-tab.is-active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}
.comparison-panel {
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 14px;
}
.comparison-panel.is-active { display: grid; }
.comparison-column {
    padding: 14px;
    border-radius: 16px;
}
.comparison-column h3 { margin: 0 0 8px; font-size: 0.88rem; }
.comparison-column ul {
    margin: 0;
    padding-left: 18px;
}
.comparison-column li { margin-bottom: 8px; font-size: 0.74rem; }
.comparison-column.muted {
    background: #fcf8f2;
    border: 1px solid #eee2d3;
}
.comparison-column.featured {
    background: #151f23;
    color: #fff;
}
.comparison-column.featured li,
.comparison-column.featured .comparison-highlight { color: rgba(255, 255, 255, 0.8); }
.comparison-highlight {
    margin: 10px 0 0;
    font-size: 0.74rem;
    font-weight: 600;
}

.process-grid-7 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.process-card {
    padding: 14px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.process-card span {
    display: inline-flex;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(229, 123, 55, 0.18);
    color: #ffd8bf;
    font-size: 0.72rem;
    font-weight: 700;
}
.process-card h3 { margin: 10px 0 6px; font-size: 0.84rem; color: #fff; }
.process-card p { margin: 0; font-size: 0.74rem; color: rgba(255, 255, 255, 0.76); }
.section-dark .section-heading p { color: rgba(255, 255, 255, 0.72); }

.estimate-banner {
    padding: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background: linear-gradient(135deg, #fff4e9 0%, #fffaf5 55%, #f6d0b0 100%);
}
.estimate-banner h2 {
    max-width: 18ch;
    margin-bottom: 0;
}

.review-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
    padding: 16px 18px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid rgba(29, 35, 39, 0.06);
    box-shadow: var(--shadow);
}
.review-summary strong { display: block; font-size: 1.4rem; }
.review-summary span { color: var(--muted); font-size: 0.72rem; }
.testimonial-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.testimonial-card { padding: 16px; }
.stars {
    color: var(--primary);
    letter-spacing: 0.08em;
    font-size: 0.8rem;
    margin-bottom: 8px;
}
.testimonial-card p { margin: 0 0 10px; font-size: 0.76rem; }
.testimonial-card strong { font-size: 0.76rem; }

.brand-logo-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
}
.brand-logo-card {
    padding: 14px 10px;
    text-align: center;
    background: #fff;
    border: 1px solid rgba(29, 35, 39, 0.06);
    border-radius: 18px;
    box-shadow: var(--shadow);
    display: grid;
    align-items: center;
    justify-items: center;
    gap: 10px;
    min-height: 108px;
}
.brand-logo-card img {
    max-width: 118px;
    max-height: 34px;
    width: auto;
    height: auto;
    object-fit: contain;
}
.brand-logo-card span {
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--muted);
    line-height: 1.3;
}
.brand-source-note {
    margin: 12px 0 0;
    text-align: center;
    color: var(--muted);
    font-size: 0.68rem;
}

.car-care-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 14px;
    align-items: start;
}
.contact-mini-form {
    padding: 16px;
    display: grid;
    gap: 10px;
}
.contact-mini-form h3 { margin: 0; font-size: 0.88rem; }
.contact-mini-form textarea { min-height: 90px; resize: vertical; }

.carousel-shell {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
}
.product-carousel {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc(33.333% - 8px);
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    width: 100%;
    padding: 2px;
}
.product-carousel::-webkit-scrollbar { display: none; }
.product-card { overflow: hidden; }
.product-card { scroll-snap-align: start; }
.product-tabbar {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 18px;
}
.product-tab {
    border: 1px solid #eadfce;
    background: linear-gradient(180deg, #fff 0%, #fff7ef 100%);
    color: var(--text);
    padding: 10px 14px;
    border-radius: 18px;
    cursor: pointer;
    font-size: 0.76rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 190px;
    text-align: left;
    box-shadow: 0 12px 24px rgba(17, 26, 29, 0.05);
}
.product-tab.is-active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}
.product-tab-icon {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.88);
    color: var(--primary-dark);
    font-size: 0.74rem;
    font-weight: 800;
    flex: 0 0 auto;
}
.product-tab.is-active .product-tab-icon {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
}
.product-tab-copy {
    display: grid;
    gap: 2px;
}
.product-tab-copy strong {
    font-size: 0.8rem;
    line-height: 1.2;
}
.product-tab-copy small {
    color: inherit;
    opacity: 0.78;
    font-size: 0.66rem;
    line-height: 1.35;
}
.product-panel { display: none; }
.product-panel.is-active { display: block; }
.home-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.product-card-shop {
    border-radius: 24px;
    border: 1px solid rgba(29, 35, 39, 0.08);
    background:
        radial-gradient(circle at top right, rgba(229, 123, 55, 0.12), transparent 28%),
        linear-gradient(180deg, #fff 0%, #fffaf5 100%);
    box-shadow: var(--shadow);
}
.product-image-wrap {
    padding: 14px 14px 0;
}
.product-image-wrap img {
    width: 100%;
    aspect-ratio: 1 / 0.8;
    object-fit: cover;
    border-radius: 18px;
    background: #f8f3eb;
}
.product-badge-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}
.product-chip,
.product-code {
    display: inline-flex;
    align-items: center;
    padding: 6px 9px;
    border-radius: 999px;
    font-size: 0.66rem;
    font-weight: 700;
}
.product-chip {
    background: #fff0e5;
    color: var(--primary-dark);
}
.product-code {
    background: #f3f3f3;
    color: var(--muted);
}
.product-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}
.product-title-row h3 {
    margin: 0;
    font-size: 0.96rem;
    line-height: 1.35;
}
.product-tab-pill {
    display: inline-flex;
    align-items: center;
    padding: 6px 9px;
    border-radius: 999px;
    background: #f7efe4;
    color: #8b5b28;
    font-size: 0.63rem;
    font-weight: 700;
    white-space: nowrap;
}
.product-points {
    margin: 0 0 14px;
    padding: 0;
    color: var(--muted);
    list-style: none;
    display: grid;
    gap: 7px;
}
.product-points li {
    margin-bottom: 0;
    font-size: 0.72rem;
    line-height: 1.45;
    position: relative;
    padding-left: 16px;
}
.product-points li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 7px;
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: var(--primary);
}
.background-visual-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}
.background-visual-card {
    min-height: 220px;
    border-radius: 24px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    box-shadow: var(--shadow);
}
.background-visual-overlay {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 4px;
    padding: 18px;
    color: #fff;
    background: linear-gradient(180deg, rgba(17, 26, 29, 0.08) 0%, rgba(17, 26, 29, 0.72) 100%);
}
.background-visual-overlay strong { font-size: 0.96rem; }
.background-visual-overlay span { font-size: 0.74rem; color: rgba(255,255,255,0.85); }
.product-card > img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}
.product-body { padding: 14px; }
.product-top {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 6px;
}
.product-price-stack {
    display: grid;
    gap: 2px;
}
.product-price-stack strong {
    color: var(--primary-dark);
    font-size: 1rem;
    line-height: 1.1;
}
.product-price-stack span {
    color: #9e9a93;
    font-size: 0.68rem;
    text-decoration: line-through;
}
.product-cta-tag {
    display: inline-flex;
    align-items: center;
    padding: 6px 8px;
    border-radius: 999px;
    background: #1e2a2e;
    color: #fff;
    font-weight: 700;
    font-size: 0.62rem;
    white-space: nowrap;
}
.product-body p { font-size: 0.76rem; margin: 8px 0 12px; }
.carousel-button {
    width: 34px;
    height: 34px;
    flex: 0 0 auto;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--text);
    box-shadow: var(--shadow);
    cursor: pointer;
    font-size: 1rem;
    line-height: 1;
}

.article-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.article-card { overflow: hidden; }
.article-card img {
    width: 100%;
    aspect-ratio: 1.4 / 1;
    object-fit: cover;
}
.article-card div { padding: 12px; }
.article-card span {
    display: inline-block;
    margin-bottom: 8px;
    color: var(--primary);
    font-size: 0.64rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}
.article-card h3 {
    margin: 0;
    color: var(--text);
    font-size: 0.82rem;
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    gap: 10px;
}
.faq-list details {
    padding: 14px 16px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid rgba(29, 35, 39, 0.06);
    box-shadow: var(--shadow);
}
.faq-list summary {
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 700;
}
.faq-list p { margin: 8px 0 0; font-size: 0.74rem; }

.site-footer {
    background: #10181c;
    color: #f8f4ee;
    padding: 42px 0 18px;
}
.footer-grid.replica-footer {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr 1fr;
    gap: 14px;
}
.footer-logo { width: 54px; margin-bottom: 10px; }
.site-footer h3,
.site-footer h4 { margin-top: 0; }
.site-footer h4 { font-size: 0.82rem; margin-bottom: 8px; }
.site-footer p { font-size: 0.74rem; margin: 0 0 6px; color: rgba(248, 244, 238, 0.75); }
.footer-bottom {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 1080px) {
    .service-grid-large,
    .brand-logo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .process-grid-7 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 920px) {
    .nav-wrap { justify-content: center; }
    .nav {
        width: 100%;
        order: 3;
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
    }
    .hero-shell,
    .intro-grid,
    .trust-grid,
    .car-care-grid,
    .footer-grid.replica-footer,
    .comparison-panel,
    .estimate-banner,
    .inner-hero-grid,
    .story-grid,
    .contact-page-grid,
    .package-note-card {
        grid-template-columns: 1fr;
        display: grid;
    }
    .hero-visual-card { min-height: 340px; }
    .service-grid-large,
    .testimonial-grid,
    .article-grid,
    .brand-logo-grid,
    .process-grid-7,
    .gallery-page-grid,
    .page-product-grid,
    .home-product-grid,
    .background-visual-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .product-carousel { grid-auto-columns: calc(50% - 6px); }
    .product-tab {
        min-width: calc(50% - 6px);
        justify-content: flex-start;
    }
}

@media (max-width: 640px) {
    .section { padding: 52px 0; }
    .section-accent { padding-bottom: 52px; }
    .brand {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
    .brand span { display: none; }
    .button-small { width: 100%; }
    .hero { padding-top: 24px; }
    .hero-form-card,
    .comparison-card.replica,
    .estimate-banner,
    .testimonial-card,
    .product-body,
    .contact-mini-form { padding: 18px; }
    .hero-form-card h1 { max-width: none; }
    .hero-inline-stats,
    .tick-list.two-cols,
    .service-grid-large,
    .testimonial-grid,
    .article-grid,
    .brand-logo-grid,
    .process-grid-7,
    .gallery-page-grid,
    .page-product-grid,
    .home-product-grid,
    .background-visual-grid,
    .stat-grid,
    .stat-grid.compact { grid-template-columns: 1fr; }
    .product-carousel { grid-auto-columns: 100%; }
    .trust-media { grid-template-columns: 1fr; }
    .trust-media img { min-height: 220px; }
    .hero-visual-card { min-height: 240px; }
    .hero-actions .button,
    .hero-actions .button-secondary { width: 100%; }
    .review-summary {
        flex-direction: column;
        align-items: flex-start;
    }
    .carousel-shell { gap: 6px; }
    .carousel-button { width: 30px; height: 30px; }
    .product-tab {
        min-width: 100%;
        border-radius: 16px;
    }
    .product-title-row {
        align-items: flex-start;
        flex-direction: column;
    }
    .car-finder-form {
        grid-template-columns: 1fr;
    }
}

/* Compact hero and smaller car cards */
.hero {
    padding: 14px 0 8px;
}

.hero-shell {
    gap: 14px;
    align-items: start;
}

.hero-form-card {
    padding: 14px;
}

.hero-form-card h1 {
    font-size: clamp(1.5rem, 2.6vw, 2.25rem);
    line-height: 1.05;
    max-width: 14ch;
}

.hero-text {
    font-size: 0.74rem;
    line-height: 1.5;
}

.hero-visual-card {
    min-height: 340px;
    max-height: 430px;
}

.mini-search {
    gap: 7px;
    margin-bottom: 10px;
}

.mini-search label span {
    font-size: 0.66rem;
}

.mini-search select,
.mini-search input {
    padding: 8px 10px;
    font-size: 0.74rem;
}

.hero-inline-stats {
    margin-top: 10px;
}

.hero-inline-stats article {
    padding: 9px 10px;
}

.hero-inline-stats strong {
    font-size: 0.9rem;
}

.hero-inline-stats span {
    font-size: 0.64rem;
}

.buy-used-grid,
.priority-car-grid,
.used-car-grid {
    gap: 10px;
}

.buy-used-card > a img,
.cars24-card > img,
.used-car-card > img {
    aspect-ratio: 1.5 / 1;
}

.buy-used-body,
.cars24-card .used-car-body,
.used-car-body {
    padding: 10px;
}

.buy-used-body h2,
.used-car-body h2 {
    font-size: 0.84rem;
    margin-bottom: 4px;
}

.buy-used-body p,
.used-car-body p {
    font-size: 0.68rem;
    line-height: 1.45;
}

.used-car-specs {
    gap: 5px;
    margin-top: 9px;
}

.used-car-specs span,
.used-car-meta-row span,
.car-card-badges span {
    padding: 4px 6px;
    font-size: 0.6rem;
}

.car-price-row {
    margin-top: 10px;
}

.car-price-row strong,
.used-car-meta-row strong {
    font-size: 0.88rem;
}

.buy-used-card .button,
.used-car-card .button {
    min-height: 34px;
    font-size: 0.7rem;
}

.detail-card-actions {
    gap: 7px;
    margin-top: 10px;
}

@media (max-width: 640px) {
    .hero-form-card h1 {
        font-size: 1.7rem;
    }

    .hero-visual-card {
        min-height: 220px;
    }
}

/* Cars24-inspired priority surfaces */
.priority-strip {
    padding: 14px 0 4px;
}

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

.priority-tile {
    min-height: 92px;
    padding: 16px;
    display: grid;
    align-content: center;
    gap: 6px;
    background: #fff;
    border: 1px solid #e3e7ed;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(17, 24, 39, 0.05);
}

.priority-tile.is-primary {
    background: #fff1ef;
    border-color: #ffc6c0;
}

.priority-tile strong {
    font-size: 0.94rem;
    line-height: 1.2;
}

.priority-tile span {
    color: var(--muted);
    font-size: 0.72rem;
    line-height: 1.45;
}

.inventory-section,
.priority-products-section,
.browse-section {
    padding-top: 44px;
    padding-bottom: 44px;
}

.section-heading-row {
    max-width: none;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.section-heading-row h2,
.section-heading-row p {
    margin-left: 0;
}

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

.cars24-card {
    overflow: hidden;
}

.cars24-card > img {
    aspect-ratio: 1.35 / 1;
}

.cars24-card .used-car-body {
    padding: 14px;
}

.car-card-badges {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.car-card-badges span {
    padding: 5px 7px;
    border-radius: 5px;
    background: #f0f5ff;
    color: #2b5fb8;
    font-size: 0.62rem;
    font-weight: 800;
}

.car-price-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    margin: 14px 0 0;
}

.car-price-row strong {
    color: var(--text);
    font-size: 1.05rem;
}

.car-price-row small {
    color: var(--muted);
    font-size: 0.68rem;
    font-weight: 700;
}

.browse-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.browse-grid > div,
.browse-section.page-section .container {
    padding: 18px;
    background: #fff;
    border: 1px solid #e3e7ed;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(17, 24, 39, 0.05);
}

.category-chip-grid {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.category-chip {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    padding: 0 13px;
    border: 1px solid #dce2ea;
    border-radius: 999px;
    background: #fff;
    color: #2c333d;
    font-size: 0.76rem;
    font-weight: 700;
}

.category-chip:hover,
.product-category-chip {
    border-color: #ffc6c0;
    background: #fff1ef;
    color: var(--primary-dark);
}

.priority-products-section .product-card-shop h3 {
    margin: 0 0 8px;
    font-size: 0.9rem;
    line-height: 1.3;
}

.products-catalog-section {
    background: #fff;
}

.products-priority-strip,
.cars-priority-strip {
    padding-top: 20px;
}

@media (max-width: 1080px) {
    .priority-grid,
    .priority-car-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .priority-grid,
    .priority-car-grid,
    .browse-grid {
        grid-template-columns: 1fr;
    }

    .section-heading-row {
        display: grid;
        align-items: start;
    }
}

/* Cars24 buy-used-car listing page */
.buy-used-header {
    padding: 28px 0 14px;
    background: #fff;
    border-bottom: 1px solid #e3e7ed;
}

.buy-used-title-row {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
}

.buy-used-title-row h1 {
    margin: 0 0 8px;
    font-size: clamp(1.65rem, 2.7vw, 2.6rem);
    line-height: 1.08;
}

.buy-used-title-row p:not(.kicker) {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
    max-width: 720px;
}

.buy-used-layout-section {
    padding: 22px 0 64px;
}

.buy-used-layout {
    display: grid;
    grid-template-columns: 292px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}

.filter-sidebar {
    position: sticky;
    top: 122px;
    background: #fff;
    border: 1px solid #e3e7ed;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(17, 24, 39, 0.05);
}

.filter-drawer-close {
    display: none;
}

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

.filter-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-bottom: 12px;
    border-bottom: 1px solid #edf0f4;
}

.filter-head strong {
    font-size: 1rem;
}

.filter-head a {
    color: var(--primary);
    font-size: 0.72rem;
    font-weight: 800;
}

.filter-form label {
    display: grid;
    gap: 7px;
    color: #333b46;
    font-size: 0.75rem;
    font-weight: 800;
}

.filter-form input,
.filter-form select,
.sort-form select {
    width: 100%;
    border: 1px solid #d8dee8;
    border-radius: 6px;
    background: #fff;
    color: var(--text);
    padding: 10px 11px;
    font-size: 0.78rem;
}

.quick-models {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.quick-models a {
    padding: 7px 9px;
    border-radius: 999px;
    background: #f4f6f9;
    color: #3a4452;
    font-size: 0.68rem;
    font-weight: 800;
}

.car-results {
    display: grid;
    gap: 14px;
}

.results-toolbar {
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 16px;
    background: #fff;
    border: 1px solid #e3e7ed;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(17, 24, 39, 0.05);
}

.results-toolbar strong {
    display: block;
    font-size: 1rem;
}

.results-toolbar span {
    display: block;
    color: var(--muted);
    font-size: 0.72rem;
    margin-top: 3px;
}

.sort-form {
    min-width: 190px;
}

.buy-used-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.buy-used-card,
.empty-results {
    overflow: hidden;
    background: #fff;
    border: 1px solid #e3e7ed;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(17, 24, 39, 0.05);
}

.buy-used-card > a img {
    width: 100%;
    aspect-ratio: 1.38 / 1;
    object-fit: cover;
    background: #f1f3f6;
}

.buy-used-body,
.empty-results {
    padding: 14px;
}

.buy-used-body h2 {
    margin: 0 0 6px;
    font-size: 0.98rem;
    line-height: 1.3;
}

.buy-used-body p {
    margin: 0;
    color: var(--muted);
    font-size: 0.74rem;
}

.emi-row {
    margin-top: 12px;
    padding: 8px 10px;
    border-radius: 6px;
    background: #f8fafc;
    color: #4d5866;
    font-size: 0.7rem;
    font-weight: 800;
}

.empty-results {
    grid-column: 1 / -1;
    text-align: center;
}

.empty-results h2 {
    margin: 0 0 8px;
}

.empty-results p {
    color: var(--muted);
}

@media (max-width: 1120px) {
    .buy-used-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 920px) {
    .buy-used-layout {
        grid-template-columns: 1fr;
    }

    .filter-sidebar {
        position: static;
    }

    .buy-used-title-row,
    .results-toolbar {
        display: grid;
        align-items: start;
    }
}

@media (max-width: 640px) {
    .buy-used-grid {
        grid-template-columns: 1fr;
    }

    .sort-form {
        min-width: 0;
    }
}

.marketplace-hero {
    background:
        radial-gradient(circle at top left, rgba(229, 123, 55, 0.18), transparent 28%),
        linear-gradient(180deg, #fff8f0 0%, #fbf7f1 100%);
}

.service-listing-grid,
.used-car-grid,
.video-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.service-detail-card,
.used-car-card,
.video-card,
.detail-main-card,
.detail-side-card {
    background: #fff;
    border: 1px solid rgba(29, 35, 39, 0.06);
    border-radius: 24px;
    box-shadow: var(--shadow);
}

.service-detail-card,
.video-body,
.detail-main-card,
.detail-side-card,
.used-car-body {
    padding: 20px;
}

.service-icon.large {
    width: 46px;
    height: 46px;
    font-size: 0.8rem;
}

.detail-card-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.detail-card-actions-column {
    display: grid;
    gap: 10px;
}

.detail-layout {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 18px;
    align-items: start;
}

.product-detail-layout {
    grid-template-columns: 1fr 0.88fr;
}

.product-spotlight-card img,
.used-car-card > img,
.used-car-gallery-card > img {
    width: 100%;
    border-radius: 20px;
    object-fit: cover;
}

.product-spotlight-card img,
.used-car-gallery-card > img {
    aspect-ratio: 1.15 / 1;
}

.used-car-card > img {
    aspect-ratio: 1.22 / 0.84;
    border-radius: 24px 24px 0 0;
}

.used-car-body h2,
.video-body h2,
.service-detail-card h2 {
    margin: 10px 0 8px;
    font-size: 1rem;
}

.used-car-body p,
.video-body p,
.service-detail-card p,
.detail-main-card p,
.detail-side-card p {
    color: var(--muted);
    line-height: 1.65;
}

.used-car-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.used-car-meta-row span,
.used-car-specs span,
.used-car-price {
    display: inline-flex;
    align-items: center;
    padding: 7px 10px;
    border-radius: 999px;
    background: #fff4ea;
    color: #8c531f;
    font-size: 0.72rem;
    font-weight: 700;
}

.used-car-price {
    margin: 12px 0;
    font-size: 0.9rem;
}

.used-car-specs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin: 14px 0 0;
}

.gallery-strip {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 12px;
}

.gallery-strip img {
    width: 100%;
    aspect-ratio: 1.2 / 1;
    object-fit: cover;
    border-radius: 16px;
}

.video-frame {
    aspect-ratio: 16 / 9;
    border-radius: 24px 24px 0 0;
    overflow: hidden;
    background: #0f171b;
}

.video-frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.seller-form-grid {
    margin-top: 18px;
}

@media (max-width: 980px) {
    .service-listing-grid,
    .used-car-grid,
    .video-gallery-grid,
    .detail-layout,
    .product-detail-layout {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 760px) {
    .service-listing-grid,
    .used-car-grid,
    .video-gallery-grid,
    .detail-layout,
    .product-detail-layout,
    .gallery-strip {
        grid-template-columns: 1fr;
    }

    .detail-card-actions {
        flex-direction: column;
    }
}

/* Autodukan-inspired marketplace redesign */
:root {
    --bg: #f5f6f8;
    --surface: #ffffff;
    --surface-soft: #f8fafc;
    --surface-dark: #151515;
    --text: #171a1f;
    --muted: #626b78;
    --line: #e2e5ea;
    --primary: #e43d30;
    --primary-dark: #c92218;
    --accent: #ff8a00;
    --radius-lg: 10px;
    --radius-md: 8px;
    --radius-sm: 6px;
    --shadow: 0 8px 22px rgba(17, 24, 39, 0.08);
}

body {
    background: var(--bg);
}

.site-header {
    background: #fff;
    border-bottom: 1px solid #e8ebf0;
    box-shadow: 0 2px 10px rgba(17, 24, 39, 0.04);
}

.nav-wrap {
    display: grid;
    grid-template-columns: minmax(220px, 300px) minmax(260px, 1fr) auto;
    gap: 16px;
    padding: 12px 0 0;
}

.brand {
    flex: none;
}

.brand img {
    width: 42px;
    height: 42px;
}

.brand strong {
    font-size: 0.83rem;
}

.brand span {
    font-size: 0.67rem;
}

.header-search {
    display: flex;
    align-items: center;
    min-width: 0;
    width: 100%;
    border: 2px solid var(--primary);
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.header-search input {
    min-width: 0;
    width: 100%;
    height: 42px;
    border: 0;
    padding: 0 14px;
    color: var(--text);
    outline: none;
    font-size: 0.78rem;
}

.header-search button {
    height: 42px;
    min-width: 92px;
    border: 0;
    background: var(--primary);
    color: #fff;
    font-size: 0.76rem;
    font-weight: 800;
    cursor: pointer;
}

.nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    gap: 0;
    width: 100%;
    border-top: 1px solid #eef0f4;
    overflow-x: auto;
}

.nav-wrap > .button {
    grid-column: 3;
    grid-row: 1;
    align-self: center;
}

.nav a {
    border-radius: 0;
    padding: 11px 14px;
    color: #2c333d;
    font-size: 0.75rem;
    white-space: nowrap;
}

.nav a.is-current,
.nav a:hover {
    background: #fff1ef;
    color: var(--primary-dark);
}

.button {
    border-radius: 8px;
    background: var(--primary);
    box-shadow: none;
    min-height: 40px;
}

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

.button-secondary {
    background: #fff;
    border-color: #d9dee6;
}

.hero {
    padding: 20px 0 10px;
}

.hero-shell {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 18px;
}

.hero-form-card,
.hero-visual-card,
.service-card,
.product-card,
.testimonial-card,
.article-card,
.contact-mini-form,
.comparison-card,
.estimate-banner,
.stat-card,
.story-card,
.contact-card,
.package-note-card,
.gallery-page-card,
.service-detail-card,
.used-car-card,
.video-card,
.detail-main-card,
.detail-side-card {
    border-radius: 8px;
    border: 1px solid #e3e7ed;
    box-shadow: 0 2px 8px rgba(17, 24, 39, 0.06);
}

.hero-form-card {
    padding: 18px;
    border-top: 4px solid var(--primary);
}

.hero-form-card h1 {
    font-size: clamp(1.85rem, 3.4vw, 3.1rem);
    max-width: 13ch;
}

.hero-visual-card {
    min-height: 438px;
}

.hero-visual-card img,
.inner-hero-grid img,
.trust-media img,
.product-image-wrap img,
.used-car-card > img,
.product-spotlight-card img,
.used-car-gallery-card > img,
.gallery-strip img,
.article-card img,
.gallery-page-card img {
    border-radius: 8px;
}

.hero-badge-strip span,
.product-chip,
.product-code,
.product-tab-pill,
.product-cta-tag,
.used-car-meta-row span,
.used-car-specs span,
.used-car-price,
.comparison-tab,
.product-tab,
.service-icon,
.process-card span {
    border-radius: 6px;
}

.mini-search select,
.mini-search input,
.contact-mini-form input,
.contact-mini-form textarea {
    border-radius: 6px;
    border-color: #d8dee8;
}

.car-finder-form button {
    background: linear-gradient(90deg, var(--primary), var(--accent));
}

.inner-hero,
.marketplace-hero {
    background: linear-gradient(180deg, #ffffff 0%, #f5f6f8 100%);
}

.inner-hero-grid {
    background: #fff;
    border: 1px solid #e3e7ed;
    border-radius: 8px;
    padding: 18px;
    box-shadow: 0 2px 8px rgba(17, 24, 39, 0.05);
}

.section-heading {
    max-width: 780px;
}

.eyebrow,
.kicker {
    color: var(--primary);
    letter-spacing: 0.08em;
}

.product-tabbar {
    justify-content: flex-start;
    gap: 10px;
    padding: 12px;
    background: #fff;
    border: 1px solid #e3e7ed;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(17, 24, 39, 0.05);
}

.product-tab {
    min-width: 164px;
    background: #fff;
    border-color: #dce2ea;
    box-shadow: none;
    padding: 9px 10px;
}

.product-tab.is-active {
    background: var(--primary);
    border-color: var(--primary);
}

.product-tab-icon {
    width: 34px;
    height: 34px;
    border-radius: 6px;
    background: #fff1ef;
    color: var(--primary-dark);
}

.product-card-shop {
    background: #fff;
    border-color: #e3e7ed;
}

.product-card-shop:hover,
.service-detail-card:hover,
.used-car-card:hover,
.service-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(17, 24, 39, 0.12);
}

.product-body {
    padding: 12px;
}

.product-image-wrap {
    padding: 10px 10px 0;
}

.product-image-wrap img {
    aspect-ratio: 1.1 / 0.78;
    background: #f1f3f6;
}

.product-title-row h3,
.used-car-body h2,
.video-body h2,
.service-detail-card h2 {
    font-size: 0.92rem;
}

.product-price-stack strong {
    color: var(--primary);
}

.product-chip {
    background: #fff1ef;
    color: var(--primary-dark);
}

.product-code,
.product-tab-pill {
    background: #f0f3f7;
    color: #4c5968;
}

.product-cta-tag {
    background: #151515;
}

.service-grid-large,
.service-listing-grid,
.page-product-grid,
.home-product-grid,
.used-car-grid,
.video-gallery-grid {
    gap: 14px;
}

.service-card,
.service-detail-card {
    background: #fff;
}

.service-icon {
    background: #fff1ef;
    color: var(--primary-dark);
}

.section-dark {
    background: #171717;
}

.estimate-banner {
    background: #fff;
    border-left: 4px solid var(--primary);
}

.site-footer {
    background: #151515;
}

.admin-form button,
button {
    border-radius: 8px;
}

@media (max-width: 1080px) {
    .nav-wrap {
        grid-template-columns: 1fr;
    }

    .header-search {
        order: 2;
    }

    .nav {
        order: 3;
    }

    .nav-wrap > .button {
        order: 4;
        width: 100%;
    }
}

@media (max-width: 640px) {
    .hero-form-card,
    .comparison-card.replica,
    .estimate-banner,
    .testimonial-card,
    .product-body,
    .contact-mini-form {
        padding: 14px;
    }

    .header-search button {
        min-width: 78px;
    }

    .product-tabbar {
        padding: 8px;
    }
}

/* Final compact pass for hero and vehicle cards */
.hero { padding: 14px 0 8px; }
.hero-shell { gap: 14px; align-items: start; }
.hero-form-card { padding: 14px; }
.hero-form-card h1 { font-size: clamp(1.5rem, 2.6vw, 2.25rem); line-height: 1.05; max-width: 14ch; }
.hero-text { font-size: 0.74rem; line-height: 1.5; }
.hero-visual-card { min-height: 340px; max-height: 430px; }
.mini-search { gap: 7px; margin-bottom: 10px; }
.mini-search label span { font-size: 0.66rem; }
.mini-search select,
.mini-search input { padding: 8px 10px; font-size: 0.74rem; }
.hero-inline-stats { margin-top: 10px; }
.hero-inline-stats article { padding: 9px 10px; }
.hero-inline-stats strong { font-size: 0.9rem; }
.hero-inline-stats span { font-size: 0.64rem; }
.buy-used-grid,
.priority-car-grid,
.used-car-grid { gap: 10px; }
.buy-used-card > a img,
.cars24-card > img,
.used-car-card > img { aspect-ratio: 1.5 / 1; }
.buy-used-body,
.cars24-card .used-car-body,
.used-car-body { padding: 10px; }
.buy-used-body h2,
.used-car-body h2 { font-size: 0.84rem; margin-bottom: 4px; }
.buy-used-body p,
.used-car-body p { font-size: 0.68rem; line-height: 1.45; }
.used-car-specs { gap: 5px; margin-top: 9px; }
.used-car-specs span,
.used-car-meta-row span,
.car-card-badges span { padding: 4px 6px; font-size: 0.6rem; }
.car-price-row { margin-top: 10px; }
.car-price-row strong,
.used-car-meta-row strong { font-size: 0.88rem; }
.buy-used-card .button,
.used-car-card .button { min-height: 34px; font-size: 0.7rem; }
.detail-card-actions { gap: 7px; margin-top: 10px; }

@media (max-width: 640px) {
    .hero-form-card h1 { font-size: 1.7rem; }
    .hero-visual-card { min-height: 220px; }
}

/* Final layout tightening: 4-grid cards, mobile header, seller form */
.section {
    padding: 42px 0;
}

.intro-strip,
.priority-strip {
    padding: 10px 0;
}

.inner-hero {
    padding: 22px 0 14px;
}

.inner-hero-grid {
    gap: 14px;
    padding: 14px;
}

.inner-hero h1 {
    font-size: clamp(1.45rem, 2.3vw, 2.15rem);
}

.inner-hero-grid img {
    min-height: 210px;
}

.page-product-grid,
.home-product-grid,
.buy-used-grid,
.used-car-grid,
.service-listing-grid,
.video-gallery-grid,
.priority-car-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.product-card-shop,
.buy-used-card,
.used-car-card,
.service-detail-card,
.service-card {
    border-radius: 8px;
}

.product-image-wrap {
    padding: 8px 8px 0;
}

.product-body {
    padding: 10px;
}

.product-title-row h3,
.product-body h3,
.service-card h3,
.service-detail-card h2,
.buy-used-body h2,
.used-car-body h2 {
    font-size: 0.82rem;
    line-height: 1.28;
}

.product-body p,
.service-card p,
.service-detail-card p,
.buy-used-body p,
.used-car-body p {
    font-size: 0.68rem;
    line-height: 1.42;
}

.product-points {
    gap: 5px;
    margin-bottom: 10px;
}

.product-points li {
    font-size: 0.66rem;
}

.product-chip,
.product-code,
.product-tab-pill,
.product-cta-tag {
    padding: 4px 6px;
    font-size: 0.58rem;
}

.button {
    min-height: 34px;
    padding: 0 12px;
    font-size: 0.7rem;
}

.seller-form-grid {
    margin-top: 14px;
}

.admin-form {
    display: grid;
    gap: 12px;
}

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

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

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

.seller-form-grid label {
    display: grid;
    gap: 7px;
    color: #344054;
    font-size: 0.76rem;
    font-weight: 800;
}

.seller-form-grid input,
.seller-form-grid textarea,
.seller-form-grid select,
.seller-form-grid button {
    width: 100%;
    border: 1px solid #d8dee8;
    border-radius: 8px;
    background: #fff;
    color: var(--text);
    padding: 10px 11px;
    font-size: 0.78rem;
    outline: none;
}

.seller-form-grid textarea {
    min-height: 92px;
    resize: vertical;
}

.seller-form-grid input[type="file"] {
    padding: 9px;
    background: #f8fafc;
}

.seller-form-grid button {
    border: 0;
    background: var(--primary);
    color: #fff;
    font-weight: 800;
    cursor: pointer;
}

@media (max-width: 1180px) {
    .page-product-grid,
    .home-product-grid,
    .buy-used-grid,
    .used-car-grid,
    .service-listing-grid,
    .video-gallery-grid,
    .priority-car-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    .site-header {
        position: sticky;
    }

    .nav-wrap {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 8px 0;
    }

    .brand {
        width: 100%;
        justify-content: flex-start;
        text-align: left;
    }

    .header-search {
        order: 2;
        width: 100%;
    }

    .header-search input,
    .header-search button {
        height: 38px;
    }

    .nav {
        order: 3;
        grid-row: auto;
        grid-column: auto;
        width: 100%;
        flex-wrap: nowrap;
        overflow-x: auto;
        border-top: 1px solid #eef0f4;
        padding-bottom: 2px;
    }

    .nav a {
        padding: 9px 11px;
        font-size: 0.7rem;
    }

    .nav-wrap > .button {
        order: 4;
        grid-column: auto;
        grid-row: auto;
        width: 100%;
    }

    .hero-shell,
    .detail-layout,
    .product-detail-layout,
    .buy-used-layout {
        grid-template-columns: 1fr;
    }

    .page-product-grid,
    .home-product-grid,
    .buy-used-grid,
    .used-car-grid,
    .service-listing-grid,
    .video-gallery-grid,
    .priority-car-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .container {
        width: min(100% - 20px, 1180px);
    }

    .section {
        padding: 32px 0;
    }

    .page-product-grid,
    .home-product-grid,
    .buy-used-grid,
    .used-car-grid,
    .service-listing-grid,
    .video-gallery-grid,
    .priority-car-grid {
        grid-template-columns: 1fr;
    }

    .two-column,
    .seller-form-grid {
        grid-template-columns: 1fr;
    }

    .hero-actions .button,
    .hero-actions .button-secondary {
        width: 100%;
    }
}

/* Alignment repair pass */
:root {
    --container-wide: min(1240px, calc(100% - 40px));
}

.container,
.header-main,
.header-nav-row .nav,
.inventory-section .container,
.priority-products-section .container,
.products-catalog-section .container,
.browse-section .container,
.priority-strip .container,
.buy-used-layout-section .container,
.buy-used-header .container {
    width: var(--container-wide);
    margin-left: auto;
    margin-right: auto;
}

.header-main {
    grid-template-columns: minmax(240px, 360px) minmax(320px, 1fr) minmax(150px, auto);
}

.header-search {
    min-width: 0;
}

.header-search input {
    min-width: 0;
}

.header-actions {
    min-width: 0;
}

.header-actions .button {
    white-space: nowrap;
}

.hero {
    overflow: hidden;
    background: #f5f6f8;
}

.hero-shell {
    align-items: stretch;
}

.hero-visual-card,
.hero-form-card {
    min-width: 0;
}

.hero-visual-card {
    height: 360px;
    min-height: 0;
    max-height: none;
}

.hero-form-card {
    height: 360px;
    overflow: auto;
}

.priority-strip {
    background: #f5f6f8;
    padding: 20px 0 34px;
}

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

.priority-tile {
    min-width: 0;
}

.inventory-section,
.priority-products-section,
.products-catalog-section,
.browse-section {
    padding-top: 34px;
    padding-bottom: 34px;
}

.section-heading-row {
    margin-bottom: 18px;
}

.section-heading-row .button {
    justify-self: end;
}

.page-product-grid,
.home-product-grid,
.buy-used-grid,
.used-car-grid,
.service-listing-grid,
.video-gallery-grid,
.priority-car-grid {
    width: 100%;
}

@media (max-width: 1180px) {
    .header-main {
        grid-template-columns: 1fr;
    }

    .header-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        width: 100%;
    }

    .header-action-link,
    .header-actions .button {
        width: 100%;
        justify-content: center;
    }

    .hero-shell {
        grid-template-columns: 1fr;
    }

    .hero-visual-card,
    .hero-form-card {
        height: auto;
        min-height: 0;
    }
}

@media (max-width: 920px) {
    :root {
        --container-wide: min(100% - 24px, 1240px);
    }

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

    .section-heading-row .button {
        justify-self: start;
    }
}

@media (max-width: 560px) {
    :root {
        --container-wide: min(100% - 20px, 1240px);
    }

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

/* Icons, vectors, and realistic media polish */
.ui-icon {
    width: 1em;
    height: 1em;
    flex: 0 0 auto;
}

.header-search .ui-icon {
    margin-left: 12px;
    color: var(--muted);
    font-size: 1rem;
}

.header-action-link,
.header-actions .button,
.header-nav-row .nav a,
.sticky-whatsapp,
.footer-contact-pills span,
.mobile-app-nav a,
.car-card-badges span {
    gap: 7px;
}

.header-action-link .ui-icon,
.header-actions .button .ui-icon,
.header-nav-row .nav a .ui-icon {
    font-size: 1rem;
}

.header-nav-row .nav a {
    display: inline-flex;
    align-items: center;
}

.product-image-wrap,
.buy-used-card,
.used-car-card,
.cars24-card {
    position: relative;
}

.card-media-icon,
.card-vector-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--primary);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.12);
}

.card-vector-badge {
    top: 16px;
    right: 16px;
}

.card-media-icon .ui-icon,
.card-vector-badge .ui-icon {
    font-size: 1.05rem;
}

.car-card-badges span {
    display: inline-flex;
    align-items: center;
}

.car-card-badges .ui-icon {
    font-size: 0.8rem;
}

.service-photo-card {
    overflow: hidden;
}

.service-photo-card > img {
    width: 100%;
    aspect-ratio: 1.5 / 0.82;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 10px;
    background: #eef2f6;
}

.service-photo-card .service-icon {
    margin-top: -28px;
    position: relative;
    z-index: 2;
    border: 2px solid #fff;
    box-shadow: 0 8px 16px rgba(15, 23, 42, 0.12);
}

.footer-contact-pills {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 14px;
}

.footer-contact-pills span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.7rem;
    font-weight: 800;
}

.sticky-whatsapp .ui-icon {
    font-size: 1rem;
}

.sticky-whatsapp::before {
    display: none;
}

.mobile-app-nav a {
    display: grid;
    grid-template-rows: 18px auto;
    align-content: center;
    justify-items: center;
}

.mobile-app-nav a::before {
    display: none;
}

.mobile-app-nav .ui-icon {
    font-size: 1rem;
    margin-bottom: 3px;
}

.mobile-app-nav a.is-current .ui-icon,
.mobile-app-nav a:hover .ui-icon {
    color: var(--primary);
}

.mobile-app-nav button {
    min-width: 0;
    min-height: 44px;
    display: grid;
    grid-template-rows: 18px auto;
    align-content: center;
    justify-items: center;
    border: 0;
    border-radius: 12px;
    background: #fff1ef;
    color: var(--primary-dark);
    font-size: 0.68rem;
    font-weight: 900;
    box-shadow: none;
}

.mobile-app-nav button .ui-icon {
    color: var(--primary);
    font-size: 1rem;
    margin-bottom: 3px;
}

/* Full-width sections, redesigned header, footer, sticky WhatsApp */
.site-header {
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
}

.header-topline {
    background: #111827;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.68rem;
}

.header-topline-inner {
    min-height: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.header-main {
    display: grid;
    grid-template-columns: minmax(230px, 310px) minmax(240px, 1fr) auto;
    gap: 16px;
    align-items: center;
    padding: 12px 0;
}

.header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.header-action-link {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    padding: 0 13px;
    border: 1px solid #d8dee8;
    border-radius: 8px;
    font-size: 0.72rem;
    font-weight: 800;
    color: #1f2937;
    white-space: nowrap;
}

.header-nav-row {
    border-top: 1px solid #eef0f4;
}

.header-nav-row .nav {
    display: flex;
    align-items: center;
    gap: 0;
    overflow-x: auto;
    border-top: 0;
    padding: 0;
    width: min(1380px, calc(100% - 40px));
    margin: 0 auto;
}

.header-nav-row .nav a {
    border-radius: 0;
    padding: 12px 14px;
}

.nav-wrap {
    display: none;
}

.inventory-section,
.priority-products-section,
.products-catalog-section,
.browse-section,
.page-section,
.trust-section,
.comparison-section,
.brands-section,
.blog-section,
.car-care-section {
    width: 100%;
}

.inventory-section,
.priority-products-section,
.browse-section,
.products-catalog-section {
    background: #f5f6f8;
}

.inventory-section .container,
.priority-products-section .container,
.products-catalog-section .container,
.browse-section .container {
    width: min(1380px, calc(100% - 40px));
}

.section-heading-row {
    max-width: none;
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 24px;
}

.section-heading-row h2 {
    max-width: 720px;
    font-size: clamp(1.45rem, 2.2vw, 2.35rem);
}

.section-heading-row p:not(.kicker) {
    max-width: 780px;
}

.section-heading-row .button {
    align-self: center;
    min-width: 132px;
}

.priority-car-grid,
.page-product-grid,
.home-product-grid,
.buy-used-grid,
.used-car-grid,
.service-listing-grid {
    align-items: stretch;
}

.site-footer {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0f172a 0%, #111827 55%, #24110f 100%);
    padding-top: 46px;
}

.site-footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(228, 61, 48, 0.22), transparent 34%);
    pointer-events: none;
}

.footer-grid.replica-footer {
    position: relative;
    grid-template-columns: 1.25fr repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.footer-brand-column,
.footer-link-column {
    min-width: 0;
}

.footer-logo {
    width: 60px;
    padding: 8px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
}

.site-footer h3 {
    font-size: 1.1rem;
    line-height: 1.28;
}

.site-footer h4 {
    color: #fff;
    font-size: 0.88rem;
    margin-bottom: 12px;
}

.site-footer p {
    font-size: 0.76rem;
}

.footer-link-column p {
    padding: 6px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-bottom {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.sticky-whatsapp {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 80;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    border-radius: 999px;
    background: #25d366;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 900;
    box-shadow: 0 16px 34px rgba(37, 211, 102, 0.32);
}

.sticky-whatsapp::before {
    content: "";
    width: 10px;
    height: 10px;
    margin-right: 8px;
    border-radius: 999px;
    background: #fff;
}

@media (max-width: 920px) {
    .header-topline-inner {
        display: none;
    }

    .header-main {
        grid-template-columns: 1fr;
        gap: 9px;
        padding: 10px 0;
    }

    .header-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        width: 100%;
    }

    .header-actions .button,
    .header-action-link {
        width: 100%;
        justify-content: center;
    }

    .header-nav-row .nav {
        width: min(100% - 20px, 1380px);
        margin: 0 auto;
    }

    .section-heading-row {
        grid-template-columns: 1fr;
        align-items: start;
        gap: 12px;
    }

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

    .footer-bottom {
        display: grid;
    }

    .buy-used-layout {
        display: block;
    }

    .filter-sidebar {
        position: fixed;
        left: 10px;
        right: 10px;
        bottom: 88px;
        top: auto;
        z-index: 95;
        max-height: min(72vh, 640px);
        overflow: auto;
        transform: translateY(calc(100% + 110px));
        opacity: 0;
        pointer-events: none;
        transition: transform 0.22s ease, opacity 0.22s ease;
        box-shadow: 0 24px 56px rgba(15, 23, 42, 0.26);
    }

    .filter-sidebar::before {
        content: "";
        display: block;
        width: 42px;
        height: 4px;
        margin: 10px auto 6px;
        border-radius: 999px;
        background: #cbd5e1;
    }

    .filter-sidebar.is-open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .filter-drawer-open::before {
        content: "";
        position: fixed;
        inset: 0;
        z-index: 85;
        background: rgba(15, 23, 42, 0.42);
    }

    .filter-drawer-close {
        position: sticky;
        top: 0;
        z-index: 2;
        width: 100%;
        min-height: 42px;
        display: block;
        border: 0;
        border-radius: 12px 12px 0 0;
        background: #111827;
        color: #fff;
        font-size: 0.78rem;
        font-weight: 900;
    }

    .filter-form {
        padding-top: 12px;
    }
}

@media (max-width: 560px) {
    .inventory-section .container,
    .priority-products-section .container,
    .products-catalog-section .container,
    .browse-section .container {
        width: min(100% - 20px, 1380px);
    }

    .header-main .brand {
        justify-content: flex-start;
    }

    .header-search input,
    .header-search button {
        height: 36px;
    }

    .header-search button {
        min-width: 76px;
    }

    .header-actions {
        grid-template-columns: 1fr;
    }

    .footer-grid.replica-footer {
        grid-template-columns: 1fr;
    }

    .sticky-whatsapp {
        right: 12px;
        bottom: 12px;
        min-height: 44px;
        padding: 0 14px;
    }
}

/* Mobile app-like structure and alignment polish */
.mobile-app-nav {
    display: none;
}

@media (max-width: 860px) {
    body {
        padding-bottom: 74px;
    }

    .site-header {
        position: relative;
        top: auto;
        box-shadow: none;
    }

    .header-main {
        width: min(100% - 24px, 1380px);
        margin: 0 auto;
    }

    .header-nav-row {
        position: sticky;
        top: 0;
        z-index: 70;
        background: #fff;
        box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
    }

    .header-nav-row .nav {
        width: min(100% - 24px, 1380px);
        padding: 0;
        scrollbar-width: none;
    }

    .header-nav-row .nav::-webkit-scrollbar {
        display: none;
    }

    .container,
    .inventory-section .container,
    .priority-products-section .container,
    .products-catalog-section .container,
    .browse-section .container {
        width: min(100% - 24px, 1380px);
    }

    .section-heading,
    .section-heading.left,
    .section-heading-row {
        text-align: left;
        margin-left: 0;
        margin-right: 0;
    }

    .section-heading h2,
    .section-heading-row h2 {
        max-width: none;
    }

    .hero,
    .section,
    .buy-used-layout-section,
    .inventory-section,
    .priority-products-section,
    .browse-section {
        padding-left: 0;
        padding-right: 0;
    }

    .hero-form-card,
    .hero-visual-card,
    .inner-hero-grid,
    .buy-used-card,
    .used-car-card,
    .product-card-shop,
    .service-card,
    .detail-main-card,
    .detail-side-card,
    .filter-sidebar,
    .results-toolbar,
    .browse-grid > div,
    .browse-section.page-section .container {
        border-radius: 12px;
    }

    .sticky-whatsapp {
        right: 14px;
        bottom: 82px;
        min-height: 42px;
    }

    .mobile-app-nav {
        position: fixed;
        left: 10px;
        right: 10px;
        bottom: 10px;
        z-index: 90;
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 4px;
        padding: 8px;
        border: 1px solid rgba(15, 23, 42, 0.1);
        border-radius: 18px;
        background: rgba(255, 255, 255, 0.96);
        box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
        backdrop-filter: blur(14px);
    }

    .mobile-app-nav a {
        min-width: 0;
        min-height: 44px;
        display: grid;
        place-items: center;
        border-radius: 12px;
        color: #475467;
        font-size: 0.68rem;
        font-weight: 900;
    }

    .mobile-app-nav a::before {
        content: "";
        width: 6px;
        height: 6px;
        margin-bottom: 3px;
        border-radius: 999px;
        background: #cbd5e1;
    }

    .mobile-app-nav a.is-current,
    .mobile-app-nav a:hover {
        background: #fff1ef;
        color: var(--primary-dark);
    }

    .mobile-app-nav a.is-current::before,
    .mobile-app-nav a:hover::before {
        background: var(--primary);
    }
}

@media (max-width: 560px) {
    body {
        font-size: 12px;
    }

    .container,
    .header-main,
    .header-nav-row .nav,
    .inventory-section .container,
    .priority-products-section .container,
    .products-catalog-section .container,
    .browse-section .container {
        width: min(100% - 20px, 1380px);
    }

    .brand strong {
        font-size: 0.78rem;
    }

    .brand img {
        width: 38px;
        height: 38px;
    }

    .hero-shell,
    .intro-grid,
    .browse-grid,
    .car-care-grid,
    .trust-grid,
    .detail-layout,
    .buy-used-layout {
        gap: 12px;
    }

    .section-heading {
        margin-bottom: 14px;
    }

    .mobile-app-nav {
        left: 8px;
        right: 8px;
        bottom: 8px;
        border-radius: 16px;
    }
}

/* Alignment repair layer: keeps header, hero and listing sections on one grid */
:root {
    --page-gutter: 40px;
    --page-max: 1180px;
}

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

.container,
.header-main,
.header-nav-row .nav,
.hero-shell,
.priority-grid,
.inventory-section .container,
.priority-products-section .container,
.products-catalog-section .container,
.browse-section .container,
.page-section .container,
.trust-section .container,
.comparison-section .container,
.brands-section .container,
.blog-section .container,
.car-care-section .container,
.buy-used-layout-section .container {
    width: min(var(--page-max), calc(100% - var(--page-gutter)));
    max-width: var(--page-max);
    margin-left: auto;
    margin-right: auto;
}

.site-header {
    position: relative;
    top: auto;
    z-index: 80;
}

.header-main {
    display: grid;
    grid-template-columns: minmax(240px, 330px) minmax(280px, 1fr) auto;
    gap: 14px;
    align-items: center;
    padding: 10px 0;
}

.brand,
.brand > div,
.header-search,
.header-search input,
.header-actions {
    min-width: 0;
}

.brand {
    gap: 10px;
}

.brand strong,
.brand span {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
}

.brand strong {
    white-space: normal;
    line-height: 1.08;
    font-size: 0.94rem;
}

.brand span {
    white-space: normal;
    line-height: 1.2;
    font-size: 0.76rem;
}

.header-search {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) minmax(82px, 110px);
    align-items: center;
    gap: 10px;
    width: 100%;
    max-width: none;
}

.header-search button {
    width: 100%;
    min-width: 0;
    padding: 0 12px;
}

.header-actions {
    flex-wrap: nowrap;
}

.header-actions .button,
.header-action-link {
    min-width: max-content;
}

.header-nav-row {
    position: relative;
    top: auto;
    background: #fff;
}

.header-nav-row .nav {
    justify-content: flex-start;
    gap: 6px;
    padding: 0;
    scrollbar-width: none;
}

.header-nav-row .nav::-webkit-scrollbar {
    display: none;
}

.header-nav-row .nav a {
    min-height: 50px;
    padding: 0 14px;
    border-radius: 0;
    flex: 0 0 auto;
    white-space: nowrap;
}

.hero {
    padding-top: 20px;
}

.hero-shell {
    grid-template-columns: minmax(0, 1fr) minmax(330px, 0.78fr);
    gap: 20px;
    align-items: start;
}

.hero-copy h1 {
    max-width: 760px;
    font-size: clamp(2rem, 4vw, 3.65rem);
    line-height: 0.98;
}

.hero-copy p {
    max-width: 680px;
}

.priority-strip {
    padding: 26px 0 24px;
}

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

.priority-grid > * {
    min-width: 0;
}

.section {
    padding: 40px 0;
}

.inventory-section,
.priority-products-section,
.browse-section,
.products-catalog-section {
    padding-left: 0;
    padding-right: 0;
}

.section-heading,
.section-heading.left,
.section-heading-row {
    max-width: none;
    text-align: left;
    margin-left: 0;
    margin-right: 0;
}

.section-heading-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    align-items: end;
    margin-bottom: 22px;
}

.section-heading-row h2,
.section-heading h2 {
    max-width: 760px;
    font-size: clamp(1.45rem, 2.45vw, 2.2rem);
    line-height: 1.08;
}

.section-heading-row p:not(.kicker),
.section-heading p {
    max-width: 820px;
}

.section-heading-row .button {
    justify-self: end;
    min-width: 112px;
}

.priority-car-grid,
.used-car-grid,
.buy-used-grid,
.page-product-grid,
.home-product-grid,
.service-listing-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.used-car-card,
.buy-used-card,
.product-card-shop,
.service-card {
    min-width: 0;
}

@media (max-width: 1080px) {
    :root {
        --page-gutter: 32px;
    }

    .header-main {
        grid-template-columns: minmax(220px, 290px) minmax(240px, 1fr);
    }

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

    .priority-car-grid,
    .used-car-grid,
    .buy-used-grid,
    .page-product-grid,
    .home-product-grid,
    .service-listing-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    :root {
        --page-gutter: 24px;
    }

    body {
        padding-bottom: 76px;
    }

    .header-topline {
        display: none;
    }

    .header-main {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 10px 0;
    }

    .brand img {
        flex: 0 0 auto;
    }

    .brand strong {
        font-size: 0.9rem;
    }

    .brand span {
        font-size: 0.72rem;
    }

    .header-search {
        grid-template-columns: auto minmax(0, 1fr) 74px;
        border-radius: 10px;
    }

    .header-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        width: 100%;
    }

    .header-actions .button,
    .header-action-link {
        justify-content: center;
        min-width: 0;
    }

    .header-nav-row {
        position: sticky;
        top: 0;
        z-index: 90;
        border-top: 1px solid #eef0f4;
        box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
    }

    .header-nav-row .nav {
        overflow-x: auto;
    }

    .header-nav-row .nav a {
        min-height: 46px;
        padding: 0 12px;
        font-size: 0.76rem;
    }

    .hero {
        padding-top: 14px;
    }

    .hero-shell {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .hero-copy h1 {
        font-size: clamp(1.85rem, 8vw, 2.65rem);
        line-height: 1.02;
    }

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

    .section {
        padding: 32px 0;
    }

    .section-heading-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .section-heading-row .button {
        justify-self: start;
    }

    .priority-car-grid,
    .used-car-grid,
    .buy-used-grid,
    .page-product-grid,
    .home-product-grid,
    .service-listing-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    :root {
        --page-gutter: 20px;
    }

    .header-main {
        padding-top: 8px;
    }

    .brand {
        align-items: center;
    }

    .brand strong {
        font-size: 0.82rem;
    }

    .brand span {
        font-size: 0.68rem;
    }

    .header-search {
        grid-template-columns: auto minmax(0, 1fr) 66px;
        gap: 6px;
        padding-left: 10px;
    }

    .header-search input {
        font-size: 0.75rem;
    }

    .header-search button {
        font-size: 0.68rem;
        padding: 0 8px;
    }

    .header-actions {
        grid-template-columns: 1fr;
    }

    .header-nav-row .nav a {
        min-height: 44px;
        padding: 0 10px;
    }

    .priority-grid,
    .priority-car-grid,
    .used-car-grid,
    .buy-used-grid,
    .page-product-grid,
    .home-product-grid,
    .service-listing-grid {
        grid-template-columns: 1fr;
    }

    .section-heading-row h2,
    .section-heading h2 {
        font-size: clamp(1.35rem, 8vw, 1.75rem);
    }

    .sticky-whatsapp {
        right: 10px;
        bottom: 82px;
    }
}

/* Hero and tabs revision: compact, no internal scrolling, app-like controls */
.hero-replica {
    padding: 18px 0 20px;
    background: #f5f6f8;
}

.hero-replica .hero-shell {
    grid-template-columns: minmax(0, 0.98fr) minmax(360px, 0.82fr);
    gap: 16px;
    align-items: stretch;
}

.hero-replica .hero-visual-card,
.hero-replica .hero-form-card {
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.09);
}

.hero-replica .hero-visual-card {
    min-height: 390px;
    max-height: none;
}

.hero-replica .hero-form-card {
    padding: 14px;
    gap: 10px;
    overflow: visible;
}

.hero-replica .mini-search {
    order: 2;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin: 0;
    overflow: visible;
}

.hero-replica .car-finder-form label:first-child {
    grid-column: auto;
}

.hero-replica .car-finder-form label:last-of-type,
.hero-replica .car-finder-form button,
.hero-replica .car-finder-form label:first-child {
    grid-column: auto;
}

.hero-replica .mini-search label {
    min-width: 0;
    margin: 0;
}

.hero-replica .mini-search label span {
    margin-bottom: 3px;
    color: #475467;
    font-size: 0.64rem;
    font-weight: 900;
    letter-spacing: 0;
}

.hero-replica .mini-search select,
.hero-replica .mini-search input {
    min-height: 34px;
    height: 34px;
    border-radius: 8px;
    padding: 0 10px;
    font-size: 0.7rem;
    line-height: 1.1;
    box-shadow: none;
}

.hero-replica .mini-search select {
    appearance: none;
    background-image:
        linear-gradient(45deg, transparent 50%, #667085 50%),
        linear-gradient(135deg, #667085 50%, transparent 50%);
    background-position:
        calc(100% - 16px) 14px,
        calc(100% - 11px) 14px;
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
    padding-right: 26px;
}

.hero-replica .mini-search .button,
.hero-replica .button-block {
    align-self: end;
    min-height: 34px;
    border-radius: 9px;
    font-size: 0.68rem;
    box-shadow: 0 10px 20px rgba(228, 61, 48, 0.22);
}

.hero-replica .eyebrow {
    order: 0;
    margin-bottom: 0;
    font-size: 0.58rem;
}

.hero-replica .hero-form-card h1 {
    order: 0;
    max-width: 100%;
    font-size: clamp(1.42rem, 2.25vw, 1.88rem);
    line-height: 1.03;
}

.hero-replica .hero-text {
    order: 0;
    margin-top: 0;
    font-size: 0.7rem;
    line-height: 1.4;
}

.hero-replica .hero-actions {
    order: 3;
    margin-top: 0;
    gap: 7px;
}

.hero-replica .hero-actions .button {
    min-height: 34px;
    padding: 0 12px;
    border-radius: 9px;
    font-size: 0.7rem;
}

.hero-replica .hero-inline-stats {
    order: 4;
    gap: 8px;
    margin-top: 0;
}

.hero-replica .hero-inline-stats article {
    padding: 8px 10px;
    border-radius: 10px;
}

.hero-replica .hero-inline-stats strong {
    font-size: 0.86rem;
}

.hero-replica .hero-inline-stats span {
    font-size: 0.62rem;
}

.product-tabbar,
.comparison-tabbar {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px;
    border: 1px solid #dde3ec;
    border-radius: 10px;
    background: #eef2f7;
    overflow-x: auto;
    flex-wrap: nowrap;
    scrollbar-width: none;
}

.product-tabbar::-webkit-scrollbar,
.comparison-tabbar::-webkit-scrollbar {
    display: none;
}

.product-tab,
.comparison-tab {
    flex: 0 0 auto;
    min-height: 40px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #344054;
    box-shadow: none;
}

.comparison-tab {
    padding: 0 16px;
    font-size: 0.75rem;
    font-weight: 900;
}

.product-tab {
    padding: 6px 10px;
    gap: 8px;
}

.product-tab-copy strong {
    font-size: 0.75rem;
}

.product-tab-copy small {
    font-size: 0.62rem;
}

.product-tab.is-active,
.comparison-tab.is-active {
    background: #fff;
    color: var(--primary-dark);
    box-shadow: 0 7px 18px rgba(15, 23, 42, 0.1);
}

@media (max-width: 860px) {
    .hero-replica {
        padding-top: 12px;
    }

    .hero-replica .hero-shell {
        grid-template-columns: 1fr;
    }

    .hero-replica .hero-visual-card {
        min-height: 220px;
        max-height: 260px;
    }

    .hero-replica .hero-form-card {
        padding: 12px;
    }

    .hero-replica .mini-search {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-replica .car-finder-form button {
        grid-column: 1 / -1;
    }
}

@media (max-width: 560px) {
    .hero-replica .hero-visual-card {
        min-height: 190px;
        max-height: 220px;
    }

    .hero-replica .mini-search {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-replica .car-finder-form label:last-of-type,
    .hero-replica .car-finder-form button {
        grid-column: 1 / -1;
    }

    .hero-replica .mini-search select,
    .hero-replica .mini-search input {
        padding-left: 8px;
        padding-right: 22px;
        font-size: 0.68rem;
    }

    .hero-replica .hero-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .hero-replica .hero-inline-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
