/* NALSSEO vehicle layouts, independently of the legacy PALCHA page styles. */
.next-vehiclePage { background: #fff; }
.next-vehiclePage .nalsseoyo_system-pageBackdrop { overflow: visible; }
.next-vehiclePage .nalsseoyo_system-fieldControl { font-family: 'Pretendard', sans-serif; font-size: 14px; }
.next-searchForm { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px 14px; align-items: end; }
.next-searchForm > label, .next-advanced, .next-searchBottom { grid-column: 1 / -1; }
.next-primaryFields, .next-advancedFields { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px 14px; }
.next-searchForm .nalsseoyo_system-searchButton { grid-column: auto; }
.next-advanced > summary { padding: 8px 0; cursor: pointer; font-size: 14px; color: #5e6a7f; }
.next-advancedFields { margin-top: 18px; }
.next-searchBottom { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; font-size: 13px; color: #647087; }
.next-searchBottom p { margin: 0; }
.next-select { position: relative; min-width: 0; }
.next-select > summary { display: flex; align-items: center; gap: 10px; min-height: 48px; cursor: pointer; }
.next-selectValue { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.next-select > summary > .lni { flex: 0 0 auto; color: #8590a4; font-size: 16px; }
.next-select[open] > summary > .lni { transform: rotate(180deg); }
.next-select > summary::-webkit-details-marker { display: none; }
.next-select > summary::marker { content: ''; }
.next-selectOptions { position: absolute; z-index: 40; left: 0; top: calc(100% + 6px); width: max(100%, 190px); max-width: min(300px, calc(100vw - 64px)); max-height: 280px; overflow: auto; overscroll-behavior: contain; padding: 10px; background: #fff; border: 1px solid #d5ddea; border-radius: 8px; box-shadow: 0 8px 26px #17233a1a; }
.next-selectOptions p { margin: 8px; font-size: 13px; }
.next-selectOption { display: flex; align-items: center; gap: 10px; padding: 10px 6px; font-size: 14px; line-height: 1.4; cursor: pointer; overflow-wrap: anywhere; }
.next-selectOption:hover { background: #f0f4fa; }
.next-selectOption input { flex: 0 0 auto; width: 17px; height: 17px; accent-color: var(--nalsseoyo_system-colorPrimaryStrong); }
.next-resultsHero { padding: 36px 0 32px; }
.next-resultsHero .nalsseoyo_system-heroTitle { font-size: 34px; line-height: 1.35; }
.next-vehiclePage .nalsseoyo_system-resultsLayout { grid-template-columns: 264px minmax(0, 1fr); }
.next-vehiclePage .nalsseoyo_system-resultsFilter { display: block; }
.nalsseoyo_system-resultsFilter .next-searchForm { display: flex; flex-direction: column; align-items: stretch; margin-top: 22px; }
.nalsseoyo_system-resultsFilter .next-primaryFields, .nalsseoyo_system-resultsFilter .next-advancedFields { grid-template-columns: minmax(0, 1fr); }
.nalsseoyo_system-resultsFilter .nalsseoyo_system-fieldGroup + .nalsseoyo_system-fieldGroup { margin-top: 0; }
.next-resultsToolbar { display: flex; flex-wrap: wrap; align-items: end; justify-content: flex-end; gap: 12px; margin-bottom: 18px; }
.next-resultsToolbar > strong { margin-right: auto; align-self: center; }
.next-resultsToolbar select { width: 154px; }
.next-resultsToolbar button { font-size: 14px; }
.next-resultsToolbar > button { min-height: 48px; padding-block: 8px; line-height: 22px; }
[data-next-results-status] { margin: 14px 0; color: #647087; font-size: 14px; }
[data-next-tier] { margin-top: 24px; }
.next-tierInfo { display: inline-grid; place-items: center; color: #778291; opacity: .85; width: 32px; height: 32px; font-size: 22px; flex: 0 0 auto; }
.next-vehiclePage .nalsseoyo_system-resultsHeader { align-items: center; justify-content: flex-start; gap: 8px; }
[data-next-tier-count] { margin-left: auto; white-space: nowrap; font-size: 13px; color: #647087; }
.next-vehiclePage .nalsseoyo_system-resultsHeader h2 { margin: 0; font-size: 21px; line-height: 1.3; }
.next-vehiclePage .nalsseoyo_system-resultCard { grid-template-columns: 150px minmax(0, 1fr) 150px; border-radius: 8px; }
.next-listingPhoto { display: grid; place-items: center; width: 150px; height: 112px; overflow: hidden; border-radius: 8px; background: #f0f4fa; color: #647087; font-size: 13px; }
.next-listingPhoto img { width: 100%; height: 100%; object-fit: cover; }
.next-resultInformation { min-width: 0; }
.next-vehiclePage .nalsseoyo_system-resultTitle { overflow-wrap: anywhere; line-height: 1.5; }
.next-resultActions { display: grid; grid-template-columns: minmax(0, 1fr) 40px; align-items: center; gap: 10px; }
.next-resultActions .nalsseoyo_system-resultPrice { grid-column: 1 / -1; font-size: 19px; white-space: normal; overflow-wrap: anywhere; }
.next-resultActions > a { grid-column: 1; grid-row: 2; min-height: 40px; padding: 0 12px; font-size: 13px; line-height: 20px; }
.next-favorite { display: inline-grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 1px solid #d5ddea; border-radius: 8px; background: #fff; color: #e14064; cursor: pointer; }
.next-favorite svg { width: 21px; height: 21px; }
.next-favorite[aria-pressed="true"] { background: #fff1f5; border-color: #e14064; }
.next-favorite[aria-pressed="true"] svg path { fill: currentColor; }
.next-focus .next-listingPhoto { height: 130px; }
.next-focus-150 .next-listingPhoto { height: 168px; }
.next-focus-200 .next-listingPhoto { height: 204px; }
.next-resultActions .next-favorite { grid-column: 2; grid-row: 2; }
.next-pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; margin: 28px 0; }
.next-pagination button { min-width: 38px; height: 40px; padding: 0 8px; }
.next-pagination button[aria-current="page"] { color: #fff; background: var(--nalsseoyo_system-colorPrimaryStrong); border-color: var(--nalsseoyo_system-colorPrimaryStrong); }
.next-viewModes { display: flex; gap: 4px; }
.next-resultsToolbar [data-next-save-search] { white-space: nowrap; }
.next-bulletedListIcon { position: relative; display: block; width: 20px; height: 20px; }
.next-bulletedListIcon .lni { position: absolute; inset: 0; font-size: 20px; line-height: 1; }
.next-bulletedListIcon .lni-menu-meatballs-1 { transform: translateX(-6px) rotate(90deg); }
.next-bulletedListIcon .lni-menu-hamburger-1 { transform: scaleX(.65); transform-origin: right center; }
.next-viewModes button { display: grid; place-items: center; width: 42px; height: 48px; padding: 0; border: 1px solid #cdd7e5; border-radius: 6px; background: #fff; color: #647087; font-size: 20px; }
.next-viewModes button[aria-pressed="true"] { color: var(--nalsseoyo_system-colorPrimaryStrong); border-color: var(--nalsseoyo_system-colorPrimaryStrong); background: #edf2fa; }
.next-tierEmpty { grid-column: 1 / -1; margin: 0; padding: 16px 0; font-size: 14px; color: #647087; }
.next-vehiclePage :is([data-next-tier="focus"], [data-next-tier="preferred"], [data-listing-view="photos"] [data-next-tier]) .nalsseoyo_system-resultList { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 16px; align-items: start; }
.next-vehiclePage :is([data-next-tier="focus"], [data-next-tier="preferred"], [data-listing-view="photos"] [data-next-tier]) .nalsseoyo_system-resultCard { display: flex; flex-direction: column; align-items: stretch; gap: 14px; padding: 16px; min-width: 0; }
.next-vehiclePage :is([data-next-tier="focus"], [data-next-tier="preferred"], [data-listing-view="photos"] [data-next-tier]) .next-listingPhoto { width: 100%; height: auto; aspect-ratio: 4 / 3; }
.next-vehiclePage [data-next-tier="focus"] .next-focus-150 .next-listingPhoto { aspect-ratio: 1 / 1; }
.next-vehiclePage [data-next-tier="focus"] .next-focus-200 .next-listingPhoto { aspect-ratio: 4 / 5; }
.next-vehiclePage :is([data-next-tier="focus"], [data-next-tier="preferred"], [data-listing-view="photos"] [data-next-tier]) .next-resultActions { width: 100%; }
.next-vehiclePage .nalsseoyo_system-resultCard:has(:focus-visible) { outline: 2px solid var(--nalsseoyo_system-colorPrimaryStrong); outline-offset: 2px; }
.next-vehiclePage button:disabled { opacity: .5; cursor: default; }
.next-vehicleInformation { min-width: 0; }
.next-vehiclePage .nalsseoyo_system-detailMainVisual { position: relative; display: grid; min-height: 0; aspect-ratio: 4 / 3; border-radius: 8px; border-color: rgba(12, 12, 12, .92); background: rgba(12, 12, 12, .92); color: #fff; touch-action: pan-y; user-select: none; cursor: grab; }
.next-vehiclePage .nalsseoyo_system-detailMainVisual > img { width: 100%; height: 100%; max-height: none; object-fit: contain; transform: translateX(var(--palcha-gallery-drag-x, 0px)); transition: transform .18s ease; pointer-events: none; }
.next-vehiclePage .nalsseoyo_system-detailMainVisual.is-dragging > img { transition: none; }
.next-vehiclePage .nalsseoyo_system-detailMainVisual.is-dragging { cursor: grabbing; }
.next-vehiclePage .nalsseoyo_system-detailMainVisual > div { padding: 32px; text-align: center; }
.next-vehiclePage .nalsseoyo_system-detailMainVisual > .palcha_customer_detailed-noImage { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; min-width: 0; min-height: 0; padding: 24px; text-align: center; cursor: default; }
.next-vehiclePage .palcha_customer_detailed-noImage > span { display: block; line-height: 1.5; }
.next-vehiclePage .palcha_customer_detailed-noImage > strong { display: block; font-size: 16px; line-height: 1.6; overflow-wrap: anywhere; }
.next-galleryArrow { position: absolute; top: 50%; left: 10px; z-index: 1; transform: translateY(-50%); display: grid; place-items: center; width: 40px; height: 48px; padding: 0; border: 1px solid #ffffff40; border-radius: 8px; background: #00000080; color: #fff; font-size: 32px; }
.next-galleryArrow:hover { background: #000000b3; }
.next-galleryArrow:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.next-galleryArrow[data-palcha-gallery-next] { left: auto; right: 10px; }
.next-galleryArrow .lni { display: inline-flex; font-size: 22px; }
.next-galleryCount { position: absolute; bottom: 14px; right: 14px; padding: 6px 12px; background: #00000099; color: white; border-radius: 6px; font-size: 13px; }
.next-galleryThumbnails { display: flex; gap: 10px; overflow-x: auto; padding: 14px 0; }
.next-galleryThumbnails button { flex: 0 0 90px; height: 65px; padding: 0; border: 2px solid transparent; border-radius: 6px; overflow: hidden; }
.next-galleryThumbnails button[aria-current="true"] { border-color: var(--nalsseoyo_system-colorPrimaryStrong); }
.next-galleryThumbnails img { width: 100%; height: 100%; object-fit: cover; }
.next-informationHeading { margin-top: 24px; }
.next-vehiclePage .nalsseoyo_system-detailFacts > div { padding: 16px; border: 1px solid #d8e0eb; border-radius: 8px; background: #fff; min-width: 0; }
.next-vehiclePage .nalsseoyo_system-detailFacts dt { color: #8590a4; font-size: 12px; }
.next-vehiclePage .nalsseoyo_system-detailFacts dd { margin: 8px 0 0; font-size: 14px; overflow-wrap: anywhere; }
.next-sellerNote { margin: 32px 0 0; border-top: 1px solid #d8e0eb; padding-top: 24px; }
.next-sellerNote p { white-space: pre-line; overflow-wrap: anywhere; line-height: 1.9; font-size: 15px; }
.next-vehiclePage .nalsseoyo_system-detailPanel { position: sticky; top: 24px; border-radius: 8px; }
.next-detailTitle { font-size: 27px; line-height: 1.5; overflow-wrap: anywhere; margin: 18px 0 12px; }
.next-summary { display: flex; flex-wrap: wrap; gap: 8px 14px; }
.next-vehiclePage .nalsseoyo_system-detailPrice { display: block; font-size: 28px; overflow-wrap: anywhere; }
.next-detailActions { display: grid; grid-template-columns: minmax(0, 1fr) 48px; gap: 12px; margin-top: 28px; }
.next-detailActions .next-favorite { width: 48px; height: 48px; }
[data-palcha-detail-badges] > span { padding: 5px 8px; border-radius: 6px; background: #f0f4fa; color: #5a6c89; font-size: 12px; }
[data-palcha-detail-status], [data-palcha-detail-ssr] { padding: 30px 0; }
[data-palcha-detail-ssr] h1 { font-size: 28px; }
.next-contactDialog { width: min(420px, calc(100% - 32px)); padding: 24px; max-height: calc(100dvh - 32px); overflow: auto; border: 1px solid #d8e0eb; border-radius: 8px; color: #111f39; }
.next-contactDialog::backdrop { background: #111f3980; }
.next-contactDialog header { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.next-contactDialog h2 { margin: 0; font-size: 22px; }
.next-contactProfile { display: grid; justify-items: center; gap: 10px; padding: 24px 16px; margin: 20px 0; text-align: center; background: #f7f9fd; border-radius: 8px; }
.next-contactProfile img { width: 88px; height: 88px; padding: 14px; background: #fff; object-fit: contain; border-radius: 22px; border: 1px solid #d8e0eb; }
.next-contactProfile a { font-size: 26px; font-weight: 700; }
.next-contactProfile p { margin: 4px 0; font-size: 14px; line-height: 1.7; }
.next-contactProfile small { color: #647087; }
.next-contactDialog > a { width: 100%; }
.next-toast { display: none; position: fixed; z-index: 100; bottom: 24px; left: 50%; transform: translateX(-50%); max-width: calc(100% - 32px); padding: 14px 20px; background: #111f39; color: #fff; border-radius: 8px; }
.next-toast.show { display: block; }
.next-guideDialog { width: min(850px, calc(100% - 32px)); max-height: calc(100dvh - 32px); overflow: auto; border: 1px solid #d8e0eb; border-radius: 8px; padding: 24px; color: #111f39; }
.next-guideDialog::backdrop { background: #111f3980; }
.next-guideDialog header { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.next-guideDialog h2 { font-size: 23px; margin: 0; }
.next-guideDialog p, .next-guideDialog li { font-size: 14px; line-height: 1.8; }
.next-guideTabs { display: flex; gap: 12px; overflow-x: auto; margin: 20px 0; border-bottom: 1px solid #d8e0eb; }
.next-guideTabs button { flex: 0 0 auto; border: 0; border-bottom: 3px solid transparent; padding: 12px 4px; background: white; color: #647087; }
.next-guideTabs button[aria-current="true"] { border-color: var(--nalsseoyo_system-colorPrimaryStrong); color: var(--nalsseoyo_system-colorPrimaryStrong); font-weight: 700; }
.next-guideProducts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.next-guideProducts article { padding: 16px; border: 1px solid #d8e0eb; border-radius: 8px; }
.next-guideProducts h3 { font-size: 17px; }
.next-guideProducts article > span { color: #647087; font-size: 13px; }
@media (min-width: 1121px) {
  /* Previous height was 75% of width; retain two thirds of it plus 6px. */
  .next-vehiclePage .nalsseoyo_system-detailMainVisual { display: block; aspect-ratio: auto; }
  .next-vehiclePage .nalsseoyo_system-detailMainVisual::before { content: ""; display: block; padding-top: calc(50% + 6px); }
  .next-vehiclePage .nalsseoyo_system-detailMainVisual > img { position: absolute; inset: 0; }
  .next-vehiclePage .nalsseoyo_system-detailMainVisual > div { position: absolute; inset: 0; display: grid; place-content: center; }
}
@media (max-width: 1120px) {
  .next-vehiclePage .nalsseoyo_system-resultsLayout { grid-template-columns: minmax(0, 1fr); }
  .nalsseoyo_system-resultsFilter .next-searchForm { display: grid; }
  .nalsseoyo_system-resultsFilter .next-primaryFields, .nalsseoyo_system-resultsFilter .next-advancedFields { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .next-vehiclePage .nalsseoyo_system-detailPanel { position: static; }
}
@media (max-width: 720px) {
  .next-primaryFields, .next-advancedFields, .nalsseoyo_system-resultsFilter .next-primaryFields, .nalsseoyo_system-resultsFilter .next-advancedFields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .next-searchForm { grid-template-columns: minmax(0, 1fr); }
  .next-selectOptions { width: 100%; min-width: 0; }
  .next-vehiclePage .nalsseoyo_system-resultCard { grid-template-columns: 104px minmax(0, 1fr); gap: 14px; padding: 14px; }
  .next-listingPhoto { width: 104px; height: 92px; }
  .next-resultActions { grid-column: 1 / -1; grid-template-columns: minmax(0, 1fr) auto 40px; }
  .next-resultActions .nalsseoyo_system-resultPrice { grid-column: 1; grid-row: 1; text-align: left; font-size: 18px; }
  .next-resultActions > a { grid-column: 2; grid-row: 1; }
  .next-resultActions .next-favorite { grid-column: 3; grid-row: 1; }
  .next-vehiclePage .nalsseoyo_system-resultTitle { font-size: 16px; }
  .next-vehiclePage .nalsseoyo_system-detailFacts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .next-resultsHero .nalsseoyo_system-heroTitle { font-size: 28px; }
  .next-detailTitle { font-size: 24px; }
}
