/*
Theme Name: MorFcars Dealer Packs
Theme URI: https://morfcars.com
Author: MorFcars
Description: A modern WordPress and WooCommerce-ready vehicle marketplace theme for Cyprus.
Version: 2.2.0
Text Domain: morfcars
*/

:root {
  --red: #e31b23;
  --red-dark: #bd1118;
  --ink: #101114;
  --dark: #181a1f;
  --muted: #696d75;
  --line: #e7e8eb;
  --soft: #f5f6f7;
  --white: #fff;
  --radius: 14px;
  --shadow: 0 16px 45px rgba(15, 17, 20, .10);
  --wrap: min(1180px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: Inter, Arial, sans-serif; line-height: 1.55; }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; }
button, input, select, textarea { font: inherit; }
.wrap { width: var(--wrap); margin: 0 auto; }
.section { padding: 82px 0; }
.section-soft { background: var(--soft); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.section-head h2, .dealer-copy h2, .sell-copy h2 { margin: 0; font-size: clamp(30px, 4vw, 46px); line-height: 1.05; letter-spacing: -.04em; }
.section-head p, .dealer-copy p, .sell-copy p { margin: 10px 0 0; color: var(--muted); }
.link-red { color: var(--red); font-weight: 800; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(16,17,20,.96); color: var(--white); backdrop-filter: blur(16px); }
.nav { min-height: 76px; display: flex; align-items: center; gap: 36px; position: relative; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-size: 24px; font-weight: 900; letter-spacing: -.06em; }
.brand-mark { width: 29px; height: 29px; position: relative; border: 5px solid var(--red); border-radius: 50%; }
.brand-mark:after { content: ""; position: absolute; width: 17px; height: 5px; background: var(--red); transform: rotate(-45deg); right: -12px; top: -5px; border-radius: 3px; }
.brand span:last-child { color: var(--red); }
.brand-image { width: 166px; flex: 0 0 auto; }
.brand-image img { width: 100%; height: 48px; object-fit: contain; object-position: left center; }
.footer-logo { width: 190px; }
.footer-logo img { height: 58px; }
.nav-links { display: flex; align-items: center; gap: 28px; margin-left: auto; font-size: 14px; font-weight: 700; }
.nav-links a:hover { color: #ff656b; }
.nav-icon-link { display: inline-flex; align-items: center; gap: 6px; }
.nav-icon-link span { min-width: 20px; height: 20px; padding: 0 6px; display: inline-grid; place-items: center; border-radius: 20px; color: white; background: var(--red); font-size: 10px; }
.btn { border: 0; border-radius: 10px; padding: 14px 22px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 850; cursor: pointer; transition: transform .2s, background .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-red { color: var(--white); background: var(--red); box-shadow: 0 10px 26px rgba(227,27,35,.24); }
.btn-red:hover { background: var(--red-dark); }
.btn-dark { color: var(--white); background: var(--ink); }
.btn-dealer,.dealer-packs-nav { color: var(--white)!important; background: var(--red); border-radius: 10px; font-weight: 850; }
.dealer-packs-nav { padding: 10px 14px!important; }
.menu-button { display: none; margin-left: auto; padding: 10px; background: none; color: white; border: 0; font-size: 30px; line-height: 1; cursor: pointer; }

.hero { min-height: 650px; position: relative; color: var(--white); background: #111 url('https://images.unsplash.com/photo-1503376780353-7e6692767b70?auto=format&fit=crop&w=1900&q=88') center 63%/cover no-repeat; display: grid; align-items: center; overflow: hidden; }
.hero:before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,9,11,.91) 0%, rgba(8,9,11,.67) 44%, rgba(8,9,11,.10) 78%); }
.hero-inner { position: relative; z-index: 1; padding: 70px 0 54px; }
.hero h1 { margin: 0; max-width: 650px; font-size: clamp(48px, 7vw, 78px); line-height: .98; letter-spacing: -.065em; }
.hero p { margin: 20px 0 30px; color: #d9dade; font-size: 20px; }
.search-box { max-width: 1080px; padding: 18px; display: grid; grid-template-columns: 1.2fr 1.2fr 1fr 1fr auto; gap: 10px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); }
.field { min-width: 0; text-align: left; }
.field label { display: block; margin: 0 0 6px 4px; color: #8b8e94; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.field select, .field input { width: 100%; height: 48px; border: 1px solid var(--line); border-radius: 8px; padding: 0 11px; color: var(--ink); background: white; font-size: 14px; font-weight: 700; }
.hero-actions { margin-top: 19px; display: flex; align-items: center; gap: 14px; }
.hero-note { color: #d3d4d7; font-size: 13px; }

.vehicle-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.vehicle-card { background: white; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .2s, box-shadow .2s; }
.vehicle-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.vehicle-image { height: 220px; position: relative; overflow: hidden; background: #ddd; }
.vehicle-image img { height: 100%; object-fit: cover; transition: transform .4s; }
.vehicle-card:hover .vehicle-image img { transform: scale(1.035); }
.badge { position: absolute; left: 14px; top: 14px; z-index: 2; padding: 6px 10px; border-radius: 6px; color: white; background: var(--red); font-size: 10px; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; }
.heart { position: absolute; right: 14px; top: 14px; z-index: 2; width: 38px; height: 38px; border: 0; border-radius: 50%; background: rgba(255,255,255,.92); font-size: 18px; cursor: pointer; }
.heart.active { color: var(--red); }
.vehicle-body { padding: 20px; }
.vehicle-body h3 { margin: 0 0 5px; font-size: 19px; letter-spacing: -.02em; }
.location { margin: 0 0 16px; color: var(--muted); font-size: 12px; }
.specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: #4f535a; font-size: 11px; font-weight: 700; }
.price-row { padding-top: 15px; display: flex; align-items: end; justify-content: space-between; gap: 10px; }
.price { font-size: 23px; font-weight: 900; letter-spacing: -.04em; }
.old-price { color: #95989e; font-size: 12px; text-decoration: line-through; }
.card-cta { padding: 11px 14px; font-size: 12px; }
.center-cta { margin-top: 38px; text-align: center; }
.compare-check { margin-top: 12px; display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 11px; font-weight: 700; }

.latest-list { border-top: 1px solid var(--line); }
.latest-row { padding: 18px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 165px 1.4fr 1fr auto; gap: 24px; align-items: center; }
.latest-row img { height: 95px; border-radius: 10px; object-fit: cover; }
.latest-row h3 { margin: 0 0 5px; font-size: 18px; }
.latest-meta { color: var(--muted); font-size: 12px; }
.latest-price { font-size: 20px; font-weight: 900; }

.dealer-band { color: white; background: var(--dark); }
.dealer-layout { display: grid; grid-template-columns: .9fr 1.4fr; align-items: center; gap: 60px; }
.dealer-copy p { color: #bbbfc6; }
.dealer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.dealer-card { padding: 24px 18px; border: 1px solid #34363d; border-radius: var(--radius); background: #202228; text-align: center; }
.dealer-logo { width: 58px; height: 58px; margin: 0 auto 12px; display: grid; place-items: center; border-radius: 50%; background: white; color: var(--ink); font-size: 20px; font-weight: 900; }
.dealer-card strong { display: block; font-size: 14px; }
.dealer-card span { color: #aeb1b7; font-size: 11px; }
.brands { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; }
.brand-tile { padding: 24px 8px; border: 1px solid var(--line); border-radius: 10px; text-align: center; font-size: 13px; font-weight: 850; }
.brand-tile:hover { color: var(--red); border-color: var(--red); }
.stats { padding: 38px 0; color: white; background: var(--ink); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 8px 24px; border-right: 1px solid #35373c; text-align: center; }
.stat:last-child { border: 0; }
.stat strong { display: block; font-size: 31px; letter-spacing: -.05em; }
.stat span { color: #b8bbc1; font-size: 12px; }
.sell-band { background: var(--red); color: white; }
.sell-layout { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.sell-copy p { color: #ffdadd; }
.sell-band .btn { color: var(--red); background: white; }
.business-strip { padding: 42px 0; background: #f0f1f3; }
.business-strip h2, .business-contact h2 { margin: 0; font-size: clamp(26px,4vw,38px); letter-spacing: -.04em; }
.business-strip p, .business-contact p { margin: 6px 0 0; color: var(--muted); }
.business-contact { margin-top: 28px; padding: 32px; border-radius: var(--radius); color: white; background: var(--dark); text-align: center; }
.business-contact p { color: #c4c6ca; margin-bottom: 18px; }
.pricing-two { max-width: 820px; margin: 0 auto; grid-template-columns: repeat(2,1fr); }
.package-options-two { grid-template-columns: repeat(2,1fr); }
.live-filters { margin-bottom: 28px; padding: 18px; display: grid; grid-template-columns: 1fr 220px auto; gap: 10px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--soft); }
.live-filters input, .live-filters select { height: 48px; padding: 0 12px; border: 1px solid var(--line); border-radius: 8px; background: white; }
.live-filters-full { grid-template-columns: 1.3fr repeat(4,1fr) auto; }
.save-search-form { margin: -12px 0 26px; text-align: right; }
.morfcars-live-form h2 { margin-top: 30px; font-size: 22px; }
.morfcars-live-form h2:first-child { margin-top: 0; }
.morfcars-live-form label { display: grid; gap: 6px; color: #555a62; font-size: 12px; font-weight: 700; }
.morfcars-live-form input, .morfcars-live-form select, .morfcars-live-form textarea { width: 100%; min-width: 0; padding: 12px; border: 1px solid var(--line); border-radius: 8px; background: white; }
.morfcars-notice { margin-bottom: 20px; padding: 14px; border-left: 4px solid var(--red); background: #fff1f1; }
.morfcars-hp { position: absolute!important; left: -9999px!important; width: 1px!important; height: 1px!important; overflow: hidden!important; }
.consent-row { margin: 18px 0; display: flex!important; grid-template-columns: auto 1fr; align-items: center; }
.consent-row input { width: auto; }
.image-placeholder { height: 100%; display: grid; place-items: center; color: white; background: #26282e; font-weight: 900; }
.sell-steps { margin: 24px 0; display: grid; gap: 12px; }
.sell-steps div { padding: 14px; display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 8px; }
.sell-steps strong { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--red); }

.site-footer { padding: 58px 0 28px; color: #c4c6ca; background: #0c0d0f; }
.footer-grid { display: grid; grid-template-columns: 1.7fr repeat(3, 1fr); gap: 50px; }
.footer-grid h4 { margin: 0 0 15px; color: white; font-size: 13px; }
.footer-grid a { display: block; margin: 8px 0; font-size: 12px; }
.footer-brand p { max-width: 290px; font-size: 12px; }
.copyright { margin-top: 38px; padding-top: 20px; border-top: 1px solid #282a2f; font-size: 11px; }

.page-hero { padding: 76px 0 66px; color: white; background: linear-gradient(120deg, #111216, #24262d); }
.page-hero h1 { margin: 0; max-width: 850px; font-size: clamp(42px, 7vw, 70px); line-height: 1; letter-spacing: -.06em; }
.page-hero p { margin: 17px 0 0; max-width: 680px; color: #c4c7cc; font-size: 17px; }
.marketplace-layout { display: grid; grid-template-columns: 245px 1fr; align-items: start; gap: 32px; }
.filter-panel { position: sticky; top: 96px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.filter-title, .results-bar { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.filter-title { margin-bottom: 18px; }
.filter-title h3 { margin: 0; }
.filter-panel .field { margin-bottom: 15px; }
.filter-panel .btn { width: 100%; margin-top: 10px; }
.toggle-row { margin: 12px 0; display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; }
.text-button { padding: 0; border: 0; color: var(--red); background: none; font-size: 12px; font-weight: 800; cursor: pointer; }
.btn-outline { border: 1px solid var(--line); color: var(--ink); background: white; box-shadow: none; }
.results-bar { margin-bottom: 20px; color: var(--muted); font-size: 13px; }
.results-bar strong { color: var(--ink); font-size: 16px; }
.results-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
.results-grid .vehicle-image { height: 180px; }
.results-grid .vehicle-body { padding: 16px; }
.results-grid .specs { grid-template-columns: 1fr; gap: 4px; }
.empty-state { grid-column: 1/-1; padding: 70px 24px; border: 1px dashed #cfd1d5; border-radius: var(--radius); text-align: center; background: var(--soft); }
.empty-state h2 { margin: 0; }
.empty-state p { margin: 8px 0 22px; color: var(--muted); }

.dealer-directory { display: grid; gap: 16px; }
.directory-card { padding: 22px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px; border: 1px solid var(--line); border-radius: var(--radius); }
.directory-card h3, .directory-card p { margin: 0; }
.directory-card p { margin-top: 5px; color: var(--muted); font-size: 12px; }
.profile-grid { display: grid; grid-template-columns: 290px 1fr; align-items: start; gap: 34px; }
.profile-card, .content-card, .contact-card { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: 0 8px 30px rgba(15,17,20,.05); }
.profile-card { position: sticky; top: 96px; text-align: center; }
.dealer-logo.large { width: 82px; height: 82px; font-size: 26px; }
.profile-lines { display: grid; gap: 0; margin: 24px 0; text-align: left; }
.profile-lines span { padding: 11px 0; display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.profile-lines strong { color: var(--ink); text-align: right; }
.dealer-vehicles { grid-template-columns: repeat(2, 1fr); }

.detail-layout { display: grid; grid-template-columns: 1fr 320px; align-items: start; gap: 32px; }
.detail-image { height: 530px; border-radius: var(--radius); object-fit: cover; }
.detail-specs { margin: 20px 0; display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.detail-specs div { padding: 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.detail-specs span, .detail-specs strong { display: block; }
.detail-specs span, .small-label { color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.contact-card { position: sticky; top: 96px; }
.detail-price { margin: 4px 0 15px; font-size: 38px; font-weight: 900; letter-spacing: -.06em; }
.full { width: 100%; margin-top: 10px; }
.report-button { width: 100%; margin-top: 20px; }

.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pricing-card { position: relative; padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.pricing-card.recommended { border: 2px solid var(--red); box-shadow: var(--shadow); }
.pricing-card h2 { margin: 0 0 18px; }
.plan-badge { position: absolute; right: 18px; top: 18px; padding: 5px 8px; border-radius: 5px; color: white; background: var(--red); font-size: 9px; font-weight: 900; text-transform: uppercase; }
.plan-price { font-size: 42px; font-weight: 900; letter-spacing: -.06em; }
.plan-price small { display: block; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: 0; }
.pricing-card ul, .check-list { padding: 0; margin: 25px 0; list-style: none; }
.pricing-card li, .check-list li { padding: 9px 0 9px 22px; position: relative; color: #50545b; font-size: 13px; }
.pricing-card li:before, .check-list li:before { content: "✓"; position: absolute; left: 0; color: var(--red); font-weight: 900; }
.dealer-pricing-grid { align-items: stretch; }
.dealer-plan { display: flex; flex-direction: column; }
.dealer-plan ul { flex: 1; }
.dealer-plan-capacity { margin-top: 18px; font-size: 16px; font-weight: 800; }
.dealer-per-car { margin-top: 5px; color: var(--red); font-size: 14px; font-weight: 800; }
.dealer-plan-note { max-width: 900px; margin: 30px auto 0; padding: 18px 22px; border-radius: 10px; color: #4f535a; background: var(--soft); text-align: center; font-size: 13px; }

.form-layout { display: grid; grid-template-columns: 1fr 300px; align-items: start; gap: 28px; }
.form-layout > *, .form-grid > *, .content-card { min-width: 0; }
.form-aside { display: grid; gap: 18px; position: sticky; top: 96px; }
.form-step { margin: 28px 0 20px; display: flex; align-items: center; gap: 14px; }
.form-step:first-child { margin-top: 0; }
.form-step > span { width: 36px; height: 36px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; color: white; background: var(--red); font-weight: 900; }
.form-step h2, .form-step p { margin: 0; }
.form-step p { color: var(--muted); font-size: 12px; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.upload-box { min-height: 130px; padding: 24px; display: grid; place-items: center; border: 2px dashed #d3d5d9; border-radius: var(--radius); background: var(--soft); text-align: center; cursor: pointer; }
.upload-box span { color: var(--muted); font-size: 12px; }
.upload-box input { margin-top: 10px; max-width: 100%; }
.package-options { margin: 18px 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.package-options label { padding: 16px; display: grid; gap: 4px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; }
.package-options span { color: var(--muted); font-size: 11px; }

.dashboard-tabs { margin-bottom: 22px; display: flex; gap: 8px; border-bottom: 1px solid var(--line); }
.dashboard-tabs a, .dashboard-tabs button { padding: 13px 18px; border: 0; color: var(--muted); background: none; font-weight: 800; cursor: pointer; }
.dashboard-tabs .active { color: var(--red); border-bottom: 2px solid var(--red); }
.dashboard-stats { margin-bottom: 24px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.dashboard-stats div { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.dashboard-stats span, .dashboard-stats strong { display: block; }
.dashboard-stats span { color: var(--muted); font-size: 11px; font-weight: 700; }
.dashboard-stats strong { margin-top: 6px; font-size: 30px; letter-spacing: -.05em; }
.section-head.compact { margin-bottom: 20px; }
.section-head.compact h2 { font-size: 26px; }
.table-card { overflow: hidden; }
.listing-row { padding: 14px 0; display: grid; grid-template-columns: 70px 1.5fr repeat(3, .55fr) auto; align-items: center; gap: 16px; border-top: 1px solid var(--line); }
.listing-row img { height: 54px; border-radius: 7px; object-fit: cover; }
.listing-row strong, .listing-row span { display: block; }
.listing-row span { color: var(--muted); font-size: 10px; }
.dashboard-panels { display: grid; grid-template-columns: 1.4fr .8fr; gap: 22px; }
.activity-row { padding: 15px 0; display: flex; justify-content: space-between; gap: 15px; border-bottom: 1px solid var(--line); }
.activity-row strong, .activity-row span { display: block; }
.activity-row span { color: var(--muted); font-size: 11px; }

.compare-table { min-width: 720px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.compare-row { display: grid; grid-template-columns: 150px repeat(3, 1fr); border-bottom: 1px solid var(--line); }
.compare-row > * { padding: 18px; border-right: 1px solid var(--line); }
.compare-row:last-child { border: 0; }
.compare-head img { height: 140px; border-radius: 8px; object-fit: cover; }
.compare-head h3 { font-size: 14px; }
.narrow { max-width: 850px; }
.saved-card { margin-bottom: 14px; padding: 22px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border: 1px solid var(--line); border-radius: var(--radius); }
.saved-card h3, .saved-card p { margin: 0; }
.saved-card p, .saved-card span { color: var(--muted); font-size: 12px; }
.toast { position: fixed; right: 22px; bottom: 22px; z-index: 100; padding: 14px 18px; border-radius: 8px; color: white; background: var(--ink); box-shadow: var(--shadow); opacity: 0; transform: translateY(15px); pointer-events: none; transition: .25s; }
.toast.show { opacity: 1; transform: translateY(0); }
.compare-bar { position: fixed; right: 22px; bottom: 22px; z-index: 90; padding: 14px 20px; border-radius: 9px; color: white; background: var(--red); box-shadow: var(--shadow); font-weight: 800; }
.compare-wrap { overflow-x: auto; }
.compare-row { grid-template-columns: 150px repeat(3,minmax(190px,1fr)); }

@media (max-width: 900px) {
  .nav-links { display: none; position: absolute; top: 76px; left: 0; right: 0; z-index: 9999; padding: 24px; flex-direction: column; align-items: stretch; background: var(--ink); box-shadow: 0 16px 30px rgba(0,0,0,.25); }
  .nav-links.open { display: flex; }
  .menu-button { display: block; }
  .nav-links a { display: block; width: 100%; padding: 10px 0; text-align: center; }
  .dealer-packs-nav { padding: 12px!important; }
  .search-box { grid-template-columns: repeat(2, 1fr); }
  .search-box .btn { grid-column: 1 / -1; }
  .vehicle-grid { grid-template-columns: repeat(2, 1fr); }
  .results-grid { grid-template-columns: repeat(2, 1fr); }
  .dealer-layout { grid-template-columns: 1fr; }
  .brands { grid-template-columns: repeat(4, 1fr); }
  .marketplace-layout, .profile-grid, .detail-layout, .form-layout { grid-template-columns: 1fr; }
  .filter-panel, .profile-card, .contact-card, .form-aside { position: static; }
  .pricing-grid { grid-template-columns: 1fr; }
  .dealer-pricing-grid { grid-template-columns: 1fr; }
  .dealer-plan .btn { width: 100%; }
  .live-filters-full { grid-template-columns: repeat(2,1fr); }
  .pricing-two { grid-template-columns: 1fr; }
  .dashboard-stats { grid-template-columns: repeat(2, 1fr); }
  .dashboard-panels { grid-template-columns: 1fr; }
  .listing-row { grid-template-columns: 60px 1fr repeat(2, .5fr); }
  .listing-row > :nth-child(5), .listing-row > :nth-child(6) { display: none; }
}

@media (max-width: 620px) {
  :root { --wrap: min(100% - 28px, 1180px); }
  .section { padding: 58px 0; }
  .brand-image { width: 112px; }
  .brand-image img { height: 42px; }
  .hero { min-height: 720px; background-position: 63% center; }
  .hero h1 { font-size: 48px; }
  .search-box, .vehicle-grid, .dealer-grid, .footer-grid, .results-grid { grid-template-columns: 1fr; }
  .hero-actions, .section-head, .sell-layout { align-items: stretch; flex-direction: column; }
  .hero-actions .btn, .sell-layout .btn { width: 100%; }
  .vehicle-image { height: 230px; }
  .latest-row { grid-template-columns: 105px 1fr; gap: 14px; }
  .latest-row img { height: 78px; }
  .latest-price, .latest-row .btn { grid-column: 2; }
  .brands { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px 0; }
  .stat:nth-child(2) { border: 0; }
  .page-hero { padding: 52px 0 46px; }
  .page-hero h1 { font-size: 42px; }
  .content-card, .contact-card, .profile-card { padding: 20px; }
  .directory-card { grid-template-columns: auto 1fr; }
  .directory-card .btn { grid-column: 1/-1; }
  .detail-image { height: 280px; }
  .detail-specs, .form-grid, .package-options, .dashboard-stats { grid-template-columns: 1fr; }
  .live-filters { grid-template-columns: 1fr; }
  .live-filters-full { grid-template-columns: 1fr; }
  .dashboard-tabs { overflow-x: auto; }
  .dashboard-tabs a, .dashboard-tabs button { white-space: nowrap; }
  .listing-row { grid-template-columns: 58px 1fr auto; }
  .listing-row > :nth-child(4) { display: none; }
  .saved-card { align-items: stretch; flex-direction: column; }
  .compare-table { min-width: 650px; }
  .section:has(.compare-table) .wrap { overflow-x: auto; }
}
