.ld-card { background: #fff; border-radius: 24px; box-shadow: 0 1px 2px rgb(0 0 0 / .04), 0 12px 40px rgb(0 0 0 / .06); }
.ld-card--pad { padding: 28px 30px 30px; }
.ld-sec-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.ld-card .ld-sec-title { margin: 0; padding: 0; border: 0; color: #171717 !important; font-size: 22px; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; }
.ld-sec-meta { padding: 5px 11px; border-radius: 999px; background: #f4f4f5; color: #737373; font-size: 12.5px; font-weight: 500; }

.main_content > .listing-presentation-preview { margin: 0 0 1.25rem; }
.ld-hero { container-type: inline-size; padding: 26px; }
.ld-head { display: grid; grid-template-columns: minmax(0, 1fr) fit-content(42%); grid-template-areas: "tags tags" "title price" "subtitle meta"; gap: 8px 24px; padding: 0 4px; }
.ld-tags { grid-area: tags; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; margin-bottom: 10px; }
.ld-tags:not(:has(> *)) { display: none; }
.ld-tag { display: inline-flex; align-items: center; gap: 5px; padding: 5px 11px; border: 1px solid #ececec; border-radius: 999px; background: #f4f4f5; color: #404040; font-size: 12px; font-weight: 600; line-height: normal; }
.ld-tag .material-symbols-outlined { font-size: 15px !important; color: #e25848; }
.ld-tag--meta { min-width: 0; gap: 7px; padding: 0; border: 0; border-radius: 0; background: transparent; color: #737373; font-size: 13px; font-weight: 500; line-height: 1.5; overflow-wrap: anywhere; }
.ld-tag--meta .material-symbols-outlined { flex-shrink: 0; font-size: 18px !important; }
.ld-tag--new { border-color: #a7f3d0; background: #ecfdf5; color: #047857; }
.ld-tag--new .material-symbols-outlined { color: #059669; }
.ld-tag--amber { border-color: #f59e0b4d; background: #f59e0b26; color: #b45309; }
.ld-tag--amber .material-symbols-outlined { color: #b45309; }
.ld-title { grid-area: title; min-width: 0; align-self: baseline; margin: 0; padding: 0; border: 0; color: #1a1a1a; font-family: 'Poppins', 'Roboto', sans-serif; font-size: clamp(28px, 4.5cqi, 36px); font-weight: 700; line-height: 1.15; letter-spacing: -.025em; overflow-wrap: anywhere; }
.ld-subtitle { grid-area: subtitle; min-width: 0; align-self: baseline; margin: 0; color: #737373; font-size: 15px; line-height: 1.5; overflow-wrap: anywhere; }
.ld-price { grid-area: price; min-width: 0; max-width: 100%; align-self: baseline; justify-self: end; display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: baseline; gap: 6px 10px; }
.ld-price__value { color: #1a1a1a; font-family: 'Poppins', 'Roboto', sans-serif; font-size: clamp(26px, 4.2cqi, 34px); font-weight: 700; line-height: 1.15; letter-spacing: -.025em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ld-price__value--promo { color: #dd2c2d; }
.ld-price__old { color: #a3a3a3; font-size: 16px; font-weight: 500; text-decoration: line-through; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ld-price__none { color: #737373; font-size: 20px; font-weight: 600; letter-spacing: -.01em; }
.ld-price-meta { grid-area: meta; min-width: 0; max-width: 100%; align-self: baseline; justify-self: end; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: flex-end; gap: 8px 14px; }
.ld-price-meta:not(:has(> *)) { display: none; }
.ld-price-status { color: #737373; font-size: 13px; line-height: 1.5; }
.ld-chip { display: inline-flex; align-items: center; gap: 5px; padding: 6px 11px; border: 1px solid #a7f3d0; border-radius: 999px; background: #ecfdf5; color: #047857; font-size: 12px; font-weight: 600; line-height: normal; }
.ld-chip .material-symbols-outlined { font-size: 16px !important; color: #059669; }
button.ld-chip { cursor: pointer; transition: background-color .2s; }
button.ld-chip:hover { background: #d1fae5; }
.ld-chip--ghost { border-color: #e5e5e5; background: #fff; color: #404040; }
.ld-chip--ghost .material-symbols-outlined { color: #737373; }
.ld-chip--ghost:hover { background: #f4f4f5; }
.ld-promo-panel { grid-column: 1 / -1; margin-top: 14px; }
.ld-promo-panel:not(:has(> *)) { display: none; }

/* Stack the identity above the price when the listing column becomes narrow. */
@container (max-width: 560px) {
    .ld-head { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "tags tags" "title title" "subtitle subtitle" "price meta"; gap: 8px 12px; }
    .ld-tags { gap: 8px 18px; margin-bottom: 6px; }
    .ld-title { font-size: clamp(26px, 7cqi, 32px); }
    .ld-subtitle { font-size: 14px; }
    .ld-price { justify-self: start; justify-content: flex-start; margin-top: 6px; }
    .ld-price__value { font-size: clamp(24px, 6.5cqi, 28px); }
    .ld-price__old { font-size: 14px; }
    .ld-price-meta { align-self: baseline; margin-top: 6px; }
}

.ld-gallery { margin-top: 22px; }
.ld-gallery > div > div > .group,
.ld-gallery > .group { border-radius: 20px !important; border: 0 !important; box-shadow: none !important; background: #0b0c10 !important; }
.ld-gallery #main-carousel { background: #0b0c10; }
.ld-gallery #main-carousel img { max-height: 560px; }
.ld-gallery #prev-btn,
.ld-gallery #next-btn { border: 0; background: #ffffffeb; color: #171717; box-shadow: 0 6px 20px rgb(0 0 0 / .25); }
.ld-gallery .absolute.top-4.right-4.z-20 { top: auto; right: auto; bottom: 16px; left: 16px; background: #ffffff26; border-color: #ffffff2e; font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; }
.ld-gallery .absolute.bottom-6.left-6.z-20 { bottom: 16px; left: auto; right: 16px; padding: 8px 13px; border-radius: 999px; background: #ffffff26; border: 1px solid #ffffff2e; font-size: 12px; font-weight: 600; }
.ld-gallery .mt-8.rounded-3xl { margin-top: 0 !important; padding: 14px 0 0 !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; }
.ld-gallery .mt-8.rounded-3xl > .mb-6 { margin-bottom: 12px !important; }
.ld-gallery .mt-8.rounded-3xl h4 { font-size: 15px; }
.ld-gallery #thumbnails-container { padding-left: 0 !important; padding-right: 0 !important; }
.ld-gallery #thumbnails-container { gap: 10px; padding-bottom: 4px; padding-top: 12px; }
.ld-gallery .thumbnail-item .thumbnail-img { border: 2px solid transparent; border-radius: 14px; opacity: .7; transform: none; transition: opacity .2s, border-color .2s; }
.ld-gallery .thumbnail-item:hover .thumbnail-img { border-color: transparent; box-shadow: none; opacity: 1; transform: none; }
.ld-gallery .thumbnail-item.active .thumbnail-img { border-color: #e25848; opacity: 1; }
.ld-gallery .thumbnail-item .absolute { display: none; }

.ld-actions { display: flex; gap: 8px; margin-top: 18px; padding: 0 4px; }
.ld-act { flex: 1 1 0; min-width: 0; display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 11px 10px; border: 1px solid #ececec; border-radius: 12px; background: #fff; color: #404040; font-size: 13.5px; font-weight: 500; white-space: nowrap; cursor: pointer; transition: background-color .2s, border-color .2s, color .2s; }
.ld-act .material-symbols-outlined { font-size: 20px !important; color: #404040; transition: color .2s; }
.ld-act:hover { border-color: #dcdcdc; background: #fafafa; color: #404040; }
.ld-act:hover .material-symbols-outlined { color: #e25848; }
.ld-act--danger:hover { border-color: #fecaca; background: #fef2f2; }
.ld-act--danger:hover .material-symbols-outlined { color: #dc2626; }
.ld-act--icon { flex: 0 0 46px; padding: 11px 0; }
.ld-act input.save { display: none; }
.ld-actions-owner { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; padding: 0 4px; }
.ld-actions-owner .ld-act { flex: 0 0 auto; padding: 9px 14px; }
@container (max-width: 720px) { .ld-act .ld-lbl { display: none; } }

.ld-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1px; overflow: hidden; border: 1px solid #ececec; border-radius: 18px; background: #ececec; }
.ld-stat { padding: 14px 18px 15px; background: #fff; transition: background-color .2s; }
.ld-stat:hover { background: #fafafa; }
.ld-stat__label { display: flex; align-items: center; gap: 6px; color: #737373; font-size: 12.5px; font-weight: 500; }
.ld-stat__label .material-symbols-outlined { font-size: 18px !important; color: #e25848; }
.ld-stat__value { display: flex; align-items: baseline; gap: 5px; margin-top: 8px; color: #171717; font-size: 26px; font-weight: 700; line-height: 1.05; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.ld-stat__unit { color: #737373; font-size: 13.5px; font-weight: 500; letter-spacing: 0; }
.ld-stat--new .ld-stat__label .material-symbols-outlined { color: #059669; }
.ld-stat--new .ld-stat__value { color: #047857; }
.ld-alert { display: flex; align-items: center; gap: 12px; margin-top: 14px; padding: 14px 16px; border: 1px solid #fecaca; border-radius: 14px; background: #fef2f2; color: #991b1b; font-size: 14px; }
.ld-alert .material-symbols-outlined { font-size: 22px !important; color: #dc2626; }
.ld-alert--ask { border-color: #fde68a; background: #fffbeb; color: #92400e; }
.ld-alert--ask .material-symbols-outlined { color: #d97706; }
.ld-details { margin-top: 28px; }
.ld-details__title { display: flex; align-items: center; gap: 10px; margin: 0 0 4px; color: #737373; font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.ld-details__title::after { content: ""; flex: 1; height: 1px; background: #ececec; }
.ld-dl { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 40px; margin: 0; }
.ld-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 15px 4px; border-bottom: 1px solid #ececec; }
.ld-row dt { display: flex; align-items: center; gap: 12px; margin: 0; color: #737373; font-size: 14.5px; font-weight: 400; }
.ld-row dt .material-symbols-outlined { font-size: 22px !important; color: #a3a3a3; }
.ld-row dd { display: flex; align-items: center; gap: 8px; margin: 0; color: #171717; font-size: 15px; font-weight: 600; text-align: right; }
.ld-swatch { width: 14px; height: 14px; border: 1px solid #00000026; border-radius: 50%; }

.ld-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.ld-pill { display: inline-flex; align-items: center; gap: 7px; padding: 10px 15px; border: 1px solid #e2584826; border-radius: 12px; background: #e258480f; color: #b8392b; font-size: 14px; font-weight: 500; transition: background-color .2s; }
.ld-pill:hover { background: #e2584820; }
.ld-pill .material-symbols-outlined { font-size: 18px !important; color: #e25848; }

.ld-desc { max-width: 78ch; color: #404040; font-size: 16px; line-height: 1.75; white-space: pre-line; overflow-wrap: anywhere; }
.ld-desc-empty { padding: 36px 0; text-align: center; color: #737373; }
.ld-desc-empty .material-symbols-outlined { display: block; margin-bottom: 10px; font-size: 36px !important; color: #d4d4d4; }
.ld-desc-empty p { margin: 0; font-size: 14px; }
.ld-desc-empty p + p { margin-top: 4px; color: #a3a3a3; font-size: 12px; }

.ld-side { position: sticky; top: 16px; align-self: start; }
.ld-dealer { position: relative; overflow: hidden; padding: 20px; border-radius: 24px; background: #161616; color: #fff; box-shadow: 0 1px 2px rgb(0 0 0 / .04), 0 12px 40px rgb(0 0 0 / .12); }
.ld-dealer::before { content: ""; position: absolute; top: -110px; right: -90px; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle, #e2584833, transparent 65%); pointer-events: none; }
.ld-dealer > * { position: relative; }
.ld-dealer__top { display: flex; align-items: center; gap: 14px; }
.ld-dealer__logo { position: relative; flex-shrink: 0; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; background: #fff; }
.ld-dealer__logo-img { display: grid; place-items: center; width: 100%; height: 100%; overflow: hidden; border-radius: 18px; }
.ld-dealer__logo img { width: 100%; height: 100%; object-fit: contain; }
.ld-dealer__logo--blank { background: #2a2a2a; }
.ld-dealer__logo--blank .material-symbols-outlined { font-size: 30px !important; color: #fff; }
.ld-dealer__online { display: none !important; }
.ld-dealer__name { margin: 0 0 6px; color: #fff; font-size: 19px; font-weight: 700; line-height: 1.2; letter-spacing: -.02em; overflow-wrap: anywhere; }
.ld-badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 7px; background: #dd2c2d; color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .02em; }
.ld-badge--private { background: #404040; }
.ld-badge .material-symbols-outlined { font-size: 14px !important; }
.ld-dealer__lines { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.ld-dealer__line { display: flex; align-items: center; gap: 8px; color: #ffffffb3; font-size: 13.5px; }
.ld-dealer__line:hover { color: #fff; }
.ld-dealer__line .material-symbols-outlined { font-size: 18px !important; color: #ff8a7c; }
.ld-dealer__line > span:last-child { min-width: 0; overflow-wrap: anywhere; }
.ld-dealer__line .material-symbols-outlined { flex-shrink: 0; }
.ld-dealer__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.ld-btn { flex: 1 1 90px; min-width: 0; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 16px; border: 1px solid #ffffff1f; border-radius: 12px; background: #ffffff14; color: #fff; font-size: 14.5px; font-weight: 600; cursor: pointer; transition: background-color .2s; }
.ld-btn:hover { background: #ffffff24; color: #fff; }
.ld-btn .material-symbols-outlined { font-size: 20px !important; }
.ld-btn--wide { flex-basis: 100%; }
.ld-btn--primary { flex-basis: 100%; border-color: #dd2c2d; background: #dd2c2d; }
.ld-btn--primary:hover { background: #c42425; }
.ld-btn.live-chat-btn:not(.hidden) { gap: 8px; }
.ld-dealer__offer { flex-basis: 100%; }

.ld-mini { padding: 16px 20px; }
.ld-mini__head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.ld-mini__icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: #e258481a; color: #e25848; }
.ld-mini__icon .material-symbols-outlined { font-size: 20px !important; }
.ld-mini__title { margin: 0; color: #171717; font-size: 15px; font-weight: 700; letter-spacing: -.01em; }
.ld-kv { display: flex; flex-wrap: wrap; gap: 8px; }
.ld-kv > span { flex: 1 1 auto; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 8px 12px; border: 1px solid #ececec; border-radius: 10px; background: #fafafa; color: #171717; font-size: 13.5px; font-weight: 500; white-space: nowrap; }
.ld-kv .material-symbols-outlined { font-size: 18px !important; color: #e25848; }

@media (max-width: 1023px) { .ld-side { position: static; } }
@media (max-width: 760px) { .ld-dl { grid-template-columns: 1fr; } .ld-stats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
    .ld-card--pad { padding: 22px 18px 24px; }
    .ld-hero { padding: 16px 12px 18px; }
    .ld-head { padding: 0 6px; }
    .ld-actions { gap: 6px; }
    .ld-gallery #thumbnails-container { padding-left: 0; padding-right: 0; }
    .ld-gallery .thumbnail-item { flex-basis: calc((100% - 24px) / 4); }
    .ld-gallery .thumbnail-item .thumbnail-img { border-radius: 10px; }
    .ld-gallery #main-carousel { aspect-ratio: 4 / 3; }
}
@media (prefers-reduced-motion: reduce) {
    .ld-stat, .ld-act, .ld-btn, .ld-pill { transition: none; }
}

.ld-btn--viber { border-color: #7c3aed; background: #7c3aed; }
.ld-btn--viber:hover { background: #6d28d9; }
.ld-btn--whatsapp { border-color: #059669; background: #059669; }
.ld-btn--whatsapp:hover { background: #047857; }
.ld-dealer .ld-dealer__name,
.ld-dealer .ld-dealer__name a { color: #fff !important; }
.ld-dealer .ld-dealer__name a:hover { color: #ff8a7c !important; }
.ld-dealer__box { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; margin-top: 12px; padding: 11px 14px; border: 1px solid #ffffff14; border-radius: 12px; background: #ffffff0f; color: #ffffffcc; font-size: 13px; }
.ld-dealer__box strong { color: #fff; font-weight: 600; }
.ld-dealer__hours { display: inline-flex; align-items: center; gap: 8px; }
.ld-dealer__hours .material-symbols-outlined { font-size: 18px !important; color: #ff8a7c; }
.ld-dealer__box .ld-dealer__closed { color: #f87171; }
.ld-dealer__resp { color: #ffffff99; font-size: 12px; }
.ld-dealer__meta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.ld-dealer__meta div { padding: 11px 14px; border: 1px solid #ffffff14; border-radius: 12px; background: #ffffff0f; }
.ld-dealer__meta b { display: block; color: #fff; font-size: 18px; font-weight: 700; letter-spacing: -.02em; }
.ld-dealer__meta span { color: #ffffff99; font-size: 12px; }

.ld-gallery #main-carousel { aspect-ratio: 16 / 10; }
.ld-gallery #main-carousel .carousel-slide { height: 100%; }
.ld-gallery #main-carousel img { width: 100%; height: 100% !important; max-height: none !important; object-fit: contain !important; object-position: center; transform: none !important; }
.ld-gallery #prev-btn,
.ld-gallery #next-btn { opacity: 1 !important; }
.ld-gallery .absolute.bottom-6.left-6.z-20 { opacity: 1 !important; }
.ld-gallery .mt-8.rounded-3xl h4 { display: none; }
.ld-gallery .mt-8.rounded-3xl > .mb-6 { display: none; }
.ld-gallery .mt-8.rounded-3xl > .mb-6:has(button) { display: block; }
.ld-gallery .mt-8.rounded-3xl > .mb-6 > .flex { justify-content: flex-end; margin-bottom: 0; }
.ld-gallery .mt-8.rounded-3xl .mt-6.text-center { display: none; }
.ld-gallery .thumbnail-item { flex: 0 0 calc((100% - 40px) / 5); }
.ld-gallery .thumbnail-item .thumbnail-img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }

@media (max-width: 640px) {
    .ld-hero { padding: 12px 12px 16px; }
    .ld-price__none { font-size: 17px; }
    .ld-gallery { margin-top: 14px; }
    .ld-gallery #thumbnails-container { gap: 8px; padding-top: 8px; }
    .ld-gallery .thumbnail-item { flex: 0 0 calc((100% - 16px) / 3); }
    .ld-gallery .thumbnail-item .thumbnail-img { border-radius: 9px; }
}

.ld-side > .rounded-2xl:not(.ld-dealer) { border: 0; border-radius: 24px; box-shadow: 0 1px 2px rgb(0 0 0 / .04), 0 12px 40px rgb(0 0 0 / .06); background: #fff; }
.ld-side > .rounded-2xl:not(.ld-dealer) > .p-4,
.ld-side > .rounded-2xl:not(.ld-dealer) > .reviews_get { padding: 16px 20px; }
.ld-side [class*="from-[#e25848]"].w-8 { width: 34px; height: 34px; border-radius: 10px; background: #e258481a; box-shadow: none; }
.ld-side [class*="from-[#e25848]"].w-8 .text-white { color: #e25848; }
.ld-side [class*="from-[#e25848]"].w-8 .material-symbols-outlined { font-size: 20px !important; }
.ld-side h3.text-sm { color: #171717; font-size: 15px; letter-spacing: -.01em; }
.ld-side #reviews-score-circle { width: 52px; height: 52px; border: 1px solid #ececec; border-radius: 16px; background: #fafafa; box-shadow: none; }
.ld-side #reviews-decorative-ring { display: none; }
.ld-side #reviews-score-number { color: #171717; font-size: 22px; font-weight: 700; }
.ld-side .actions-card #actions-grid { gap: 10px; }
.ld-side .action-btn { flex-direction: row; justify-content: flex-start; gap: 10px; padding: 12px 14px; border: 1px solid #ececec; border-width: 1px; border-radius: 14px; background: #fafafa; }
.ld-side .action-btn:hover { background: #fff; }
.ld-side .action-btn .action-icon { width: auto; height: auto; margin: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.ld-side .action-btn .action-icon .material-symbols-outlined { font-size: 20px !important; }
.ld-side .action-btn > span { font-size: 13px; font-weight: 500; }
.ld-side .action-btn > .relative { display: flex; }
/* Actions palette approved in the listing sidebar preview. */
.ld-side .actions-card [class*="from-[#e25848]"].w-8 { background: #fdf0ed; }
.ld-side .actions-card h3 { color: #25272b; }
.ld-side .actions-card #actions-grid .action-btn { color: #33363b; border-color: #e8e8eb; background: #fafafa; }
.ld-side .actions-card #actions-grid .action-btn:hover { border-color: #e3b0a6; background: #fff8f5; }
.ld-side .actions-card #actions-grid .action-btn > span { color: #33363b; }
.ld-side .actions-card #actions-grid .action-icon .material-symbols-outlined { color: #e25848; }
.ld-side .actions-card #actions-grid [data-action="edit"] .action-icon .material-symbols-outlined,
.ld-side .actions-card #actions-grid [data-action="print-sign"] .action-icon .material-symbols-outlined { color: #4b5058; }
.ld-side .actions-card #actions-grid [data-action="edit"] .edit-line { background-color: #4b5058; }
.ld-side .actions-card #actions-grid [data-action="delete"] .action-icon .material-symbols-outlined { color: #dd2c2d; }
.ld-side .border-2.border-neutral-100 { border-width: 1px; border-radius: 14px; }
.ld-side .shadow-md { box-shadow: none; }

/* Vehicle detail owns only the original, price-free contact bar. */
body { overflow-x: clip; }
body.modal-open { overflow-y: hidden; }
body.vehicle-modal-open { overflow: hidden !important; }
.listing-detail-page [role="dialog"] { overscroll-behavior: contain; }
@media (min-width: 480px) { .vehicle-request-type { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 1023px) {
    .listing-detail-page #park_sw { bottom: calc(12px + var(--vehicle-contact-offset, 0px)); }
    .listing-detail-page [data-dealer-support] { bottom: calc(64px + var(--vehicle-contact-offset, 0px)); }
    .listing-detail-page .vehicle-floating-hidden { visibility: hidden !important; pointer-events: none !important; }
    .listing-detail-page #mobile-sticky-contact { padding-bottom: env(safe-area-inset-bottom, 0px); }
    .listing-detail-page #mobile-sticky-contact a,
    .listing-detail-page #mobile-sticky-contact button { min-width: 0; white-space: nowrap; }
}
.ld-dealer__open { display: inline-flex; align-items: center; gap: 7px; color: #4ade80; font-size: 12px; font-weight: 600; }
.ld-dealer__open::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 0 #4ade8066; animation: ld-open-pulse 2s infinite; }
.ld-dealer__open[hidden] { display: none; }
.ld-dealer__open.is-closed { color: #f87171; }
.ld-dealer__open.is-closed::before { background: #f87171; animation: none; }
@keyframes ld-open-pulse { 70% { box-shadow: 0 0 0 7px #4ade8000; } 100% { box-shadow: 0 0 0 0 #4ade8000; } }
@media (prefers-reduced-motion: reduce) { .ld-dealer__open::before { animation: none; } }

.ld-dealer--compact { padding: 16px; }
.ld-dealer--compact .ld-dealer__logo { width: 48px; height: 48px; border-radius: 14px; }
.ld-dealer--compact .ld-dealer__logo-img { border-radius: 14px; }
.ld-dealer--compact .ld-dealer__logo--blank .material-symbols-outlined { font-size: 24px !important; }
.ld-dealer--compact .ld-dealer__top { gap: 12px; }
.ld-dealer--compact .ld-dealer__name { margin-bottom: 4px; font-size: 17px; }
.ld-dealer--compact .ld-dealer__lines { margin-top: 12px; gap: 6px; }
.ld-dealer--compact .ld-dealer__meta { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 8px; }
.ld-dealer--compact .ld-dealer__meta div { display: flex; flex-direction: row-reverse; justify-content: flex-end; align-items: baseline; gap: 5px; padding: 0; border: 0; background: none; }
.ld-dealer--compact .ld-dealer__meta b { display: inline; color: #fff; font-size: 13px; font-weight: 600; letter-spacing: 0; }
.ld-dealer--compact .ld-dealer__meta span { font-size: 13px; }
.ld-dealer--compact .ld-dealer__cta { gap: 8px; margin-top: 14px; padding-top: 14px; border-top: 1px solid #ffffff14; }
.ld-dealer--compact .ld-btn { min-height: 40px; padding: 0 12px; font-size: 14px; }
/* The primary row contains communication; optional actions create real rows only. */
.ld-dealer__contact-actions { --contact-gap: 8px; flex-basis: 100%; min-width: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--contact-gap); align-items: start; }
.ld-dealer__contact-actions > .ld-btn { container: seller-contact / inline-size; display: inline-flex; flex-wrap: wrap; align-content: center; gap: 3px 5px; min-width: 0; width: 100%; height: 52px; min-height: 52px; padding: 6px; font-size: 14px; line-height: 16px; }
.ld-dealer__contact-actions > .ld-btn--primary,
.ld-dealer__contact-actions > #contact_open_sidebar { grid-column: span 3; grid-row: 1; }
.ld-dealer__contact-actions > #chat_open_sidebar,
.ld-dealer__contact-actions > #live_walkaround_request_sidebar { grid-column: 5 / span 2; grid-row: 1; }
.ld-dealer__contact-actions:has(> #chat_open_sidebar:not(.hidden):not([hidden]), > #live_walkaround_request_sidebar) > .ld-btn--primary,
.ld-dealer__contact-actions:has(> #chat_open_sidebar:not(.hidden):not([hidden]), > #live_walkaround_request_sidebar) > #contact_open_sidebar { grid-column: span 2; }
.ld-dealer__contact-actions > .ld-dealer__offer { grid-column: 1 / -1; grid-row: 2; width: 100%; min-width: 0; min-height: 52px; overflow-wrap: anywhere; }
.ld-dealer__contact-actions:has(> #chat_open_sidebar:not(.hidden):not([hidden])) > #live_walkaround_request_sidebar { grid-column: 1 / -1; grid-row: 2; }
.ld-dealer__contact-actions:has(> #chat_open_sidebar:not(.hidden):not([hidden])):has(> .ld-dealer__offer) > #live_walkaround_request_sidebar { grid-column: 4 / span 3; }
.ld-dealer__contact-actions:has(> #chat_open_sidebar:not(.hidden):not([hidden])):has(> #live_walkaround_request_sidebar) > .ld-dealer__offer { grid-column: 1 / span 3; }
/* A negotiation status is an information card, rather than an offer button. */
.ld-dealer__contact-actions.ld-dealer__contact-actions--offer-status:has(> #chat_open_sidebar:not(.hidden):not([hidden])):has(> #live_walkaround_request_sidebar) > .ld-dealer__offer { grid-column: 1 / -1; grid-row: 3; }
.ld-dealer__contact-actions.ld-dealer__contact-actions--offer-status:has(> #chat_open_sidebar:not(.hidden):not([hidden])):has(> .ld-dealer__offer) > #live_walkaround_request_sidebar { grid-column: 1 / -1; grid-row: 2; }
/* Listings without a phone still distribute the available communication buttons evenly. */
.ld-dealer__contact-actions:not(:has(> .ld-contact-phone)) > #contact_open_sidebar { grid-column: 1 / -1; }
.ld-dealer__contact-actions:not(:has(> .ld-contact-phone)):has(> #chat_open_sidebar:not(.hidden):not([hidden]), > #live_walkaround_request_sidebar) > #contact_open_sidebar { grid-column: 1 / span 3; }
.ld-dealer__contact-actions:not(:has(> .ld-contact-phone)) > #chat_open_sidebar,
.ld-dealer__contact-actions:not(:has(> .ld-contact-phone)):not(:has(> #chat_open_sidebar:not(.hidden):not([hidden]))) > #live_walkaround_request_sidebar { grid-column: 4 / span 3; }
.ld-dealer__cta .ld-btn.hidden,
.ld-dealer__cta .ld-btn[hidden] { display: none; }
.ld-dealer .material-symbols-outlined { inline-size: 1em; block-size: 1em; overflow: hidden; flex-shrink: 0; line-height: 1; }
.ld-dealer__contact-actions > .ld-btn .material-symbols-outlined { flex: 0 0 18px; width: 18px; height: 18px; font-size: 18px !important; }
.ld-contact-phone-label { display: none; }
@container seller-contact (max-width: 160px) {
    .ld-contact-phone-number { display: none; }
    .ld-contact-phone-label { display: inline; }
}
@container seller-contact (max-width: 110px) {
    .ld-dealer__contact-actions > .ld-btn .material-symbols-outlined { flex-basis: 100%; inline-size: 100%; width: 100%; text-align: center; }
}
.ld-dealer__contact-apps { flex-basis: 100%; display: flex; flex-wrap: wrap; gap: 8px; }
.ld-dealer__contact-apps > .ld-btn { min-height: 44px; }
.ld-dealer__cta > .ld-btn--wide { flex-basis: 100%; }
.ld-dealer__offer-stage { display: grid; }
.ld-dealer__offer-stage > * { grid-area: 1 / 1; min-width: 0; margin-top: 0; }
.ld-dealer__offer-stage:has(> [x-data]:not([x-cloak])) > .ld-dealer__offer-snapshot { visibility: hidden; }
.ld-dealer__offer-stage > [x-data] > button,
.ld-dealer__offer-snapshot > button { height: 52px; justify-content: center; gap: 6px; padding: 0 8px; font-size: 14px; line-height: 18px; }

/* Seller weekly hours */
.ld-dealer__community:not(:empty) { margin-top: 7px; }
.ld-dealer__weekly { margin-top: 8px; border: 1px solid #ffffff14; border-radius: 12px; background: #ffffff0a; }
.ld-dealer__weekly summary { display: flex; align-items: center; gap: 8px; padding: 11px 14px; color: #fff; font-size: 13px; font-weight: 600; cursor: pointer; list-style: none; }
.ld-dealer__weekly summary::-webkit-details-marker { display: none; }
.ld-dealer__weekly summary:focus-visible { outline: 2px solid #e25848; outline-offset: 2px; border-radius: 12px; }
.ld-dealer__weekly summary > .material-symbols-outlined { color: #ff8a7c; font-size: 18px !important; }
.ld-dealer__weekly summary .ld-dealer__weekly-arrow { margin-left: auto; color: #ffffff99; transition: transform .2s; }
.ld-dealer__weekly[open] .ld-dealer__weekly-arrow { transform: rotate(180deg); }
.ld-dealer__weekly-list { padding: 2px 14px 10px; }
.ld-dealer__weekly-row { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-top: 1px solid #ffffff0f; color: #ffffffb3; font-size: 12px; }
.ld-dealer__weekly-row span:last-child { color: #fff; text-align: right; }
@media (prefers-reduced-motion: reduce) { .ld-dealer__weekly-arrow { transition: none !important; } }
