:root { color-scheme: dark; font-family: Arial, "Microsoft YaHei", sans-serif; color: #edf4f6; background: #05090d; }
* { box-sizing: border-box; }
body { min-width: 320px; min-height: 100vh; margin: 0; background: linear-gradient(180deg, rgba(8, 28, 37, .76), #05090d 360px), url("../assets/images/hero-desktop-smooth.webp") center top / cover fixed; }
button, input, select { font: inherit; }
button, a, select, input { border-radius: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
.site-header { position: relative; z-index: 10; display: flex; align-items: center; justify-content: space-between; min-height: 84px; padding: 0 clamp(20px, 5vw, 76px); border-bottom: 1px solid rgba(190, 225, 235, .16); background: rgba(3, 11, 16, .8); backdrop-filter: blur(16px); direction: ltr; }
body[data-page="detail"] .site-header { position: sticky; top: 0; }
.wordmark { color: #f5f9fa; font-size: 22px; letter-spacing: .28em; text-decoration: none; }
.header-actions { display: flex; align-items: center; gap: 26px; }
.language-control select, .header-link { min-height: 38px; border: 0; color: #cfe0e5; background: transparent; font-size: 12px; font-weight: 600; text-decoration: none; text-transform: uppercase; }
.language-control select { padding: 0 8px; }
.language-control option { color: #10202a; background: white; }
main { width: min(1460px, calc(100% - 40px)); margin: 0 auto; padding: 48px 0 72px; }
.detail-back-link { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 14px; border: 1px solid #67c8df; color: #effbfe; background: rgba(33, 130, 154, .38); font-size: 12px; font-weight: 600; white-space: nowrap; }
.detail-back-link:hover { background: rgba(45, 153, 180, .55); }
.detail-back-link .back-arrow { font-size: 18px; font-weight: 400; }
[dir="rtl"] .detail-back-link .back-arrow { transform: rotate(180deg); }
.inventory-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.inventory-head p, .summary-heading p { margin: 0 0 9px; color: #6ec8df; font-size: 10px; letter-spacing: .2em; }
.inventory-head h1 { margin: 0; font-size: clamp(34px, 5vw, 64px); font-weight: 400; letter-spacing: 0; }
.inventory-head > span { color: #9bb0b7; font-size: 14px; }
.filters { margin-bottom: 30px; border: 1px solid rgba(151, 207, 222, .16); background: rgba(4, 15, 21, .9); }
.filters summary { padding: 16px 20px; color: #a8bec5; font-size: 14px; cursor: pointer; }
.filters form { display: grid; grid-template-columns: repeat(5, minmax(130px, 1fr)); gap: 14px; padding: 20px; border-top: 1px solid rgba(151, 207, 222, .12); }
.filters label { display: grid; gap: 7px; color: #829aa2; font-size: 12px; }
.filters input, .filters select { width: 100%; min-width: 0; min-height: 42px; padding: 0 11px; border: 1px solid rgba(151, 207, 222, .18); color: #edf4f6; background: rgba(10, 29, 37, .9); outline: none; }
.filters option { color: #10202a; background: white; }
.filters fieldset { display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 7px; min-width: 0; margin: 0; padding: 0; border: 0; }
.filters legend { margin-bottom: 7px; color: #829aa2; font-size: 12px; }
.filters fieldset span { padding-bottom: 13px; color: #637b83; }
.filter-actions { display: flex; align-items: end; gap: 8px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 0 16px; border: 1px solid rgba(105, 202, 225, .32); color: #dff3f7; background: transparent; text-decoration: none; cursor: pointer; }
.button.primary { border-color: #67c8df; background: rgba(33, 130, 154, .3); }
.button.secondary { color: #9fb7be; }
.message { padding: 48px 20px; color: #91a8af; text-align: center; }
.message:empty { display: none; }
.vehicle-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.vehicle-card { position: relative; min-width: 0; border: 1px solid rgba(151, 207, 222, .14); background: rgba(4, 14, 20, .94); transition: border-color 180ms ease, transform 180ms ease; }
.vehicle-card:hover { border-color: rgba(108, 201, 223, .45); transform: translateY(-2px); }
.vehicle-card a { color: inherit; text-decoration: none; }
.vehicle-card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: linear-gradient(145deg, #102731, #071016); }
.vehicle-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 350ms ease; }
.vehicle-card:hover img { transform: scale(1.025); }
.vehicle-card__placeholder { display: grid; width: 100%; height: 100%; place-items: center; color: #58717a; font-size: 12px; letter-spacing: .14em; }
.status { display: inline-flex; align-items: center; min-height: 27px; padding: 0 9px; border: 1px solid rgba(90, 199, 151, .3); color: #80d9b3; font-size: 11px; white-space: nowrap; }
.status.locked { border-color: rgba(99, 195, 219, .34); color: #78cde2; }
.vehicle-card .status { position: absolute; top: 12px; right: 12px; background: rgba(3, 12, 17, .86); }
[dir="rtl"] .vehicle-card .status { right: auto; left: 12px; }
.vehicle-card__body { padding: 18px; }
.vehicle-card__body > span { color: #6bc6dd; font-size: 10px; letter-spacing: .1em; }
.vehicle-card h2 { min-height: 48px; margin: 8px 0 14px; font-size: 19px; font-weight: 500; line-height: 1.3; letter-spacing: 0; }
.vehicle-card__meta { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin-bottom: 16px; color: #7f969e; font-size: 12px; }
.vehicle-card__meta span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vehicle-card__footer { display: flex; align-items: end; justify-content: space-between; gap: 10px; padding-top: 14px; border-top: 1px solid rgba(151, 207, 222, .1); }
.vehicle-card__footer strong { font-size: 17px; font-weight: 500; }
.vehicle-card__footer small { color: #789099; }
.pagination { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 34px; color: #8aa1a9; font-size: 13px; }
.pagination button { min-height: 40px; padding: 0 14px; border: 1px solid rgba(105, 202, 225, .24); color: #c6dde3; background: rgba(4, 14, 20, .9); cursor: pointer; }
.pagination button:disabled { opacity: .35; cursor: default; }
.vehicle-detail { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(360px, .75fr); gap: 30px; align-items: start; }
.gallery-main { display: grid; aspect-ratio: 16 / 10; overflow: hidden; place-items: center; border: 1px solid rgba(151, 207, 222, .14); background: #03090d; }
.gallery-main img, .gallery-main video { width: 100%; height: 100%; object-fit: contain; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; margin-top: 8px; }
.gallery-thumbs button { position: relative; aspect-ratio: 16 / 10; padding: 0; overflow: hidden; border: 1px solid transparent; color: #cce1e6; background: #071016; cursor: pointer; }
.gallery-thumbs button.is-active { border-color: #69c8df; }
.gallery-thumbs img, .gallery-thumbs video { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.gallery-thumbs span { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(2, 8, 12, .45); font-size: 11px; }
.vehicle-summary { padding: 28px; border: 1px solid rgba(151, 207, 222, .14); background: rgba(4, 14, 20, .94); }
.summary-heading { display: flex; align-items: start; justify-content: space-between; gap: 18px; }
.summary-heading h1 { margin: 0; font-size: clamp(28px, 3vw, 42px); font-weight: 400; line-height: 1.18; letter-spacing: 0; }
.detail-price { margin: 28px 0; color: #f1f7f9; font-size: 28px; }
.detail-fields { display: grid; grid-template-columns: 1fr 1fr; margin: 0 0 28px; border-top: 1px solid rgba(151, 207, 222, .12); }
.detail-fields div { padding: 15px 0; border-bottom: 1px solid rgba(151, 207, 222, .1); }
.detail-fields div:nth-child(odd) { padding-right: 14px; }
[dir="rtl"] .detail-fields div:nth-child(odd) { padding-right: 0; padding-left: 14px; }
.detail-fields dt { margin-bottom: 6px; color: #738b93; font-size: 11px; }
.detail-fields dd { margin: 0; color: #d8e5e8; font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
.contact-link { width: 100%; }
.site-footer { padding: 0 20px 28px; color: #789099; font-size: 11px; text-align: center; }
.site-footer a { color: inherit; text-decoration: none; }
.site-footer a:hover { color: #cfe0e5; }
.vehicle-chat-launcher { position: fixed; z-index: 2147483001; top: 50%; right: 22px; width: 82px; height: 82px; padding: 0; border: 0; border-radius: 50%; background: transparent; cursor: pointer; opacity: .86; transform: translateY(-50%); transition: opacity 180ms ease, transform 220ms ease, visibility 0ms linear; }
.vehicle-chat-launcher:hover { opacity: 1; transform: translateY(-50%) scale(1.06); }
.vehicle-chat-launcher:focus-visible { outline: 2px solid #76d4e9; outline-offset: 4px; }
.vehicle-chat-launcher img { display: block; width: 100%; height: 100%; pointer-events: none; }
.vehicle-chat-launcher.is-hidden { opacity: 0; visibility: hidden; transform: translateY(-50%) scale(.2); transition: opacity 160ms ease, transform 260ms ease, visibility 0ms linear 260ms; }
body::after { content: ""; position: fixed; z-index: 2147482999; inset: 0; background: rgba(1, 6, 9, .66); opacity: 0; visibility: hidden; transition: opacity 220ms ease, visibility 0ms linear 220ms; pointer-events: none; }
body.chatwoot-open::after { opacity: 1; visibility: visible; transition-delay: 0ms; }
#cw-widget-holder { position: fixed !important; z-index: 2147483000 !important; top: 50% !important; left: 50% !important; right: auto !important; bottom: auto !important; width: min(680px, calc(100vw - 48px)) !important; height: min(760px, calc(100vh - 48px)) !important; min-height: 420px !important; max-height: calc(100vh - 48px) !important; overflow: hidden !important; border: 1px solid rgba(118, 212, 233, .25); border-radius: 8px !important; box-shadow: 0 28px 90px rgba(0, 0, 0, .62) !important; opacity: 1; transform: translate(-50%, -50%) scale(1); transform-origin: center right; transition: opacity 180ms ease, transform 280ms ease !important; }
#cw-widget-holder iframe { display: block; width: 100% !important; height: 100% !important; max-height: 100% !important; border: 0; color-scheme: dark; }
#cw-widget-holder.woot--hide { top: 50% !important; bottom: auto !important; z-index: -1 !important; opacity: 0; visibility: hidden !important; pointer-events: none; transform: translate(calc(50vw - 70px), -50%) scale(.08); }
#cw-bubble-holder, .woot-hidden { display: none !important; }
@media (max-width: 1160px) { .filters form { grid-template-columns: repeat(3, minmax(0, 1fr)); } .vehicle-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .vehicle-detail { grid-template-columns: 1fr; } }
@media (max-width: 820px) { .vehicle-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .gallery-thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 620px) { .site-header { min-height: 68px; padding: 0 16px; } .wordmark { font-size: 18px; } .header-actions { gap: 10px; } main { width: min(100% - 24px, 1460px); padding-top: 28px; } .inventory-head { align-items: start; flex-direction: column; } .filters:not([open]) form { display: none; } .filters form { grid-template-columns: 1fr 1fr; padding: 14px; } .filters fieldset, .filter-actions { grid-column: 1 / -1; } .vehicle-grid { grid-template-columns: 1fr; } .vehicle-card h2 { min-height: 0; } .vehicle-summary { padding: 22px 18px; } .summary-heading { flex-direction: column; } .detail-fields { grid-template-columns: 1fr; } .detail-fields div:nth-child(odd) { padding-right: 0; } .vehicle-chat-launcher { right: 10px; width: 66px; height: 66px; } #cw-widget-holder { width: calc(100vw - 20px) !important; height: calc(100dvh - 20px) !important; min-height: 0 !important; max-height: calc(100dvh - 20px) !important; border-radius: 6px !important; } #cw-widget-holder.woot--hide { transform: translate(calc(50vw - 52px), -50%) scale(.08); } }
