/* Shared footer and empty-state presentation; desktop geometry stays in its layer. */
.site-ending{box-sizing:border-box;background:#303030;color:#bfc1c4;width:100%;margin:0;padding:0;border:0}
.ending-inner{box-sizing:border-box;max-width:1272px;margin:0 auto;padding:48px 24px 30px}
.ending-top{display:flex;justify-content:space-between;align-items:flex-start;gap:36px}
.ending-brand strong{font-size:22px;letter-spacing:-.7px;color:#fff;font-weight:800}
.ending-brand p{font-size:14px;margin:12px 0 0;color:#bfc1c4}
.ending-contact{display:grid;grid-template-columns:auto auto;gap:8px 26px;align-items:center}
.ending-contact>span{font-size:12px;grid-column:1}
.ending-phone{grid-column:1;font-size:32px;line-height:1.2;letter-spacing:-1px;font-weight:800;color:#fff;text-decoration:none}
.ending-kakao{grid-column:2;grid-row:1/3;align-self:center;border:1px solid #666;border-radius:10px;padding:13px 17px;color:#fff;font-size:13px;text-decoration:none}
.ending-kakao:hover{background:#404040}
.ending-bottom{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-top:42px}
.ending-links{display:flex;flex-wrap:wrap;gap:12px 24px}
.ending-links button{border:0;background:none;padding:0;color:#bfc1c4;font-size:12px;cursor:pointer}
.ending-links .is-strong{color:#fff;font-weight:700}
.ending-bottom small{font-size:11px;color:#a4a6aa}
#saved-cars:has(.garage-empty-state){display:flex!important;justify-content:center!important;align-items:center!important;min-height:300px!important}
.garage-empty-state{text-align:center;padding:45px 20px;max-width:100%;background:none;border:0;box-shadow:none}
.garage-empty-state h3{margin:0 0 10px;font-size:21px;color:#2c3844}
.garage-empty-state p{margin:0;color:#7b858f;font-size:14px;line-height:1.6}
.garage-empty-state button{margin-top:24px;background:#2c3844;color:#fff;padding:13px 21px;border:0;border-radius:10px;font-size:14px;font-weight:650;cursor:pointer}
.garage-empty-state button span{margin-left:14px}
@layer workspace{
 html[data-device=desktop] #home-view .capital-marquee{width:min(1600px,calc(100% - 48px))!important;max-width:1600px!important;margin-inline:auto!important}
 html[data-device=desktop] #home-view .recent-stage{width:min(1224px,calc(100% - 48px))!important;margin-inline:auto!important;position:relative}
 html[data-device=desktop] #home-view #home-recent-cars{width:100%!important;max-width:none!important;margin:0!important;display:grid!important;grid-template-columns:none!important;grid-auto-flow:column!important;grid-auto-columns:270px!important;gap:16px!important;justify-content:start!important;overflow-x:auto!important;scroll-snap-type:x proximity}
 html[data-device=desktop] #home-recent-cars>.car-card{width:270px!important;max-width:270px!important;scroll-snap-align:start}
 html[data-device=desktop] .site-ending{width:100%!important;max-width:none!important;margin:0!important;transform:none!important}
}
html[data-device=mobile] .ending-inner{padding:32px 20px calc(100px + env(safe-area-inset-bottom))}
html[data-device=mobile] .ending-top{flex-wrap:wrap;gap:26px}
html[data-device=mobile] .ending-bottom{flex-direction:column;align-items:flex-start;gap:24px;margin-top:30px}
html[data-device=mobile] .ending-contact{gap:8px 20px}
html[data-device=mobile] .ending-phone{font-size:28px}
html[data-device=mobile] .ending-kakao{padding:11px 13px}
html[data-device=mobile] #home-recent-cars{display:flex!important;flex-wrap:nowrap!important;overflow-x:auto!important;gap:12px!important}
html[data-device=mobile] #home-recent-cars>.car-card{flex:0 0 230px!important}
@layer workspace {
 html[data-device=desktop] .site-workspace #home-view .capital-partners .capital-marquee {width:min(1600px,calc(100% - 48px))!important;max-width:1600px!important;margin-inline:auto!important}
}
@layer workspace {
 html[data-device=desktop] .site-workspace #home-view#home-view .capital-partners .capital-marquee {width:min(1600px,calc(100% - 48px))!important;max-width:1600px!important;margin-inline:auto!important}
}
html[data-device=mobile] #home-view #home-recent-cars{gap:16px!important}
html[data-device=mobile] #home-view #home-recent-cars>.car-card{flex:0 0 244px!important;width:244px!important}
@layer workspace {
 html[data-device=desktop] #home-view .home-hero-v2{height:360px!important;min-height:360px!important;background-size:100% 100%,auto 360px!important}
}
@layer workspace {
 html[data-device=desktop] #home-view #home-recent-cars{padding:2px 18px 14px!important;scroll-padding-inline:18px!important}
}
@layer workspace {
 html[data-device=desktop] #home-view .home-popular-stage::before,
 html[data-device=desktop] #home-view .home-popular-stage::after{content:none!important;display:none!important}
 html[data-device=desktop] #home-view .home-popular-stage>.home-popular-row{clip-path:inset(0 18px)!important}
 html[data-device=desktop] #home-view .home-recent{padding-bottom:32px!important;margin-bottom:0!important}
 html[data-device=desktop] #explore-view .explore-hero-inner{padding-block:28px!important}
}
@layer workspace {
 html[data-device=desktop] #home-view .home-recent:not([hidden])+.home-help-and-reviews{padding-top:32px!important}
}

@layer workspace {
 html[data-device=desktop] .site-workspace .home-help-and-reviews{padding-bottom:0!important}
}
.home-reviews [data-review-scroll]{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:42px!important;height:42px!important;padding:0!important;border:1px solid rgba(211,218,224,.92)!important;border-radius:50%!important;background:rgba(255,255,255,.94)!important;color:#36434e!important;box-shadow:0 8px 22px rgba(26,38,49,.16)!important;backdrop-filter:blur(8px);font-size:0!important;transition:background .18s,color .18s,box-shadow .18s,transform .18s!important}
.home-reviews [data-review-scroll]::before{content:'';display:block;width:16px;height:16px;background:currentColor;mask:center/16px 16px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m9 5 7 7-7 7' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
.home-reviews [data-review-scroll="-1"]::before{transform:rotate(180deg)}
.home-reviews [data-review-scroll]:hover{background:#ef5834!important;color:#fff!important;border-color:#ef5834!important;box-shadow:0 10px 24px rgba(239,88,52,.27)!important;transform:scale(1.06)}
@layer workspace {
 html[data-device=desktop] .site-workspace #home-view .home-help-and-reviews,
 html[data-device=desktop] .site-workspace .garage-help-and-reviews{padding-bottom:0!important}
}
/* Compact showroom banner without resizing its text or search field. */
@layer workspace {
 html[data-device=desktop] .site-workspace #explore-view{padding-top:18px!important}
 html[data-device=desktop] #explore-view .explore-hero-inner{padding-top:36px!important;padding-bottom:16px!important;align-items:start!important;min-height:0!important}
 html[data-device=desktop] #explore-view .explore-hero-copy{padding-top:30px!important;padding-bottom:0!important;min-height:0!important}
 html[data-device=desktop] #explore-view .explore-hero-cars{height:180px!important;min-height:0!important;align-self:center!important;display:flex!important;align-items:center!important;justify-content:center!important}
 html[data-device=desktop] #explore-view .explore-hero-cars>svg{height:180px!important;width:auto!important;max-width:100%!important}
}
/* Lift the copy/search together without changing the banner geometry. */
@layer workspace {
 html[data-device=desktop] #explore-view .explore-hero-copy{position:relative!important;top:-10px!important}
}
/* Subtle manufacturer surface, lighter than the vehicle list. */
@layer workspace {
 html[data-device=desktop] #explore-view .explore-filters{background:#fff!important}
}

.car-spec-line{display:none}
#home-view .car-spec-line,#explore-view .car-spec-line{display:block!important;margin:5px 0 0!important;font-size:12px!important;line-height:1.5!important;font-weight:400!important;color:#89929c!important;white-space:normal!important;word-break:keep-all}
.car-spec-line:empty{display:none!important}
@layer workspace {
 #explore-view .price-row strong{display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;align-items:baseline!important;gap:4px!important}
 #explore-view .price-row .price-unit{display:inline!important;white-space:nowrap!important;margin:0 0 0 7px!important;font-size:11px!important;font-weight:400!important}
}
.car-brand-line .car-model-year{margin-left:8px;font-size:inherit;font-weight:inherit;color:inherit}.car-model-year:empty{display:none}
.car-model-year:not(:empty)::before{content:'·';margin-right:8px}
@layer workspace {
 html[data-device=desktop] :is(#home-view,#explore-view) .car-card{box-sizing:border-box!important;height:365px!important;min-height:365px!important;max-height:365px!important}
 html[data-device=desktop] :is(#home-view,#explore-view) .car-card .card-main{box-sizing:border-box!important;height:100%!important;min-height:0!important}
 html[data-device=desktop] :is(#home-view,#explore-view) .car-card .dual-prices{position:absolute!important;left:0!important;right:0!important;bottom:2px!important;height:84px!important;margin:0!important}
 html[data-device=desktop] :is(#home-view,#explore-view) .car-card .car-spec-line{height:36px!important;min-height:36px!important;line-height:18px!important;display:-webkit-box!important;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden!important}
 html[data-device=desktop] :is(#home-view,#explore-view) .car-card .car-title{display:-webkit-box!important;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden!important}
}

@layer workspace {
 html[data-device=desktop] :is(#home-view,#explore-view) .car-card .car-spec-line{height:28px!important;min-height:28px!important;line-height:14px!important;margin-top:3px!important}
 html[data-device=desktop] :is(#home-view,#explore-view) .car-card .car-title{white-space:nowrap!important;display:block!important;text-overflow:ellipsis!important;-webkit-line-clamp:unset}
}
@layer workspace {
 html[data-device=desktop] :is(#home-view,#explore-view) .car-card{height:355px!important;min-height:355px!important;max-height:355px!important}
 html[data-device=desktop] :is(#home-view,#explore-view) .car-card .car-spec-line{margin-top:1px!important;line-height:13px!important;height:26px!important;min-height:26px!important}
 #explore-view .showroom-conditions .quote-select summary{display:flex!important;align-items:center!important}
 #explore-view .showroom-conditions .quote-select summary>i{display:flex!important;align-items:center!important;justify-content:center!important;align-self:center!important;line-height:1!important;position:static!important;transform:none!important;margin-block:0!important}
 #detail-dialog #detail-content{transform:none!important;animation:none!important;transition:none!important}
 #detail-dialog .config-sticky-vehicle{animation:none!important;transition:none!important}
 .car-card{animation:none!important}
 html[data-device=desktop] #explore-view .explore-process{box-sizing:border-box;width:min(1224px,calc(100% - 48px));margin:0 auto;padding:28px 0 32px}
}
html[data-device=mobile] .explore-process{padding:24px 16px}
@layer workspace {
 html[data-device=desktop] :is(#home-view,#explore-view) .car-card .car-visual{height:135px!important;min-height:135px!important;flex-shrink:0!important}
}
@layer workspace {
 #explore-view .showroom-conditions .quote-select summary>i{font-size:0!important;width:12px!important;height:12px!important;flex:0 0 12px!important;line-height:0!important}
 #explore-view .showroom-conditions .quote-select summary>i::before{content:'';display:block;width:6px;height:6px;border-right:1px solid currentColor;border-bottom:1px solid currentColor;transform:translateY(-2px) rotate(45deg)}
 html[data-device=desktop] .site-workspace #saved-view{margin-top:18px!important}
}
/* Mobile and tablet share one header and one fixed-height vehicle card. */
@layer workspace {
 html[data-device=mobile] .top-brand-row{display:flex!important;align-items:center!important;justify-content:space-between!important;box-sizing:border-box!important;width:100%!important;max-width:none!important;min-width:0!important}
 html[data-device=mobile] .top-brand-row>.member-login{position:relative;z-index:4;margin-left:auto;flex:none;background:#293743;color:#fff;padding:9px 14px}
 html[data-device=mobile] body:has(#home-view:not([hidden])) .top-brand-row::after{content:none!important}
 html[data-device=mobile] body.mobile-home-header-scrolled:has(#home-view:not([hidden])) .top-brand-row{background:#e65331!important}
 html[data-device=mobile] body.mobile-home-header-scrolled:has(#home-view:not([hidden])) .top-brand-row .official-logo img{filter:brightness(0) invert(1)!important}
 html[data-device=mobile] body.mobile-home-header-scrolled:has(#home-view:not([hidden])) .top-brand-row>.member-login{background:#fff;color:#e65331}
 html[data-device=mobile] #explore-view .showroom-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-auto-flow:row!important;gap:12px!important}
 html[data-device=mobile] .site-ending{box-sizing:border-box!important;width:100vw!important;max-width:none!important;margin-left:calc(50% - 50vw)!important;margin-right:calc(50% - 50vw)!important}
 html[data-device=mobile] :is(#home-view,#explore-view) .car-card{box-sizing:border-box!important;height:340px!important;min-height:340px!important;max-height:340px!important;padding:10px!important;display:block!important;position:relative!important}
 html[data-device=mobile] :is(#home-view,#explore-view) .car-card .card-main{box-sizing:border-box!important;display:flex!important;flex-direction:column!important;position:relative!important;height:100%!important;padding:24px 0 0!important;gap:0!important;min-width:0!important}
 html[data-device=mobile] :is(#home-view,#explore-view) .car-card .car-visual{order:-1!important;width:100%!important;height:110px!important;min-height:110px!important;flex:0 0 110px!important;margin:0 0 8px!important;position:relative!important;inset:auto!important}
 html[data-device=mobile] :is(#home-view,#explore-view) .car-card .car-visual img{width:100%!important;height:100%!important;object-fit:contain!important}
 html[data-device=mobile] :is(#home-view,#explore-view) .car-card .car-copy{display:flex!important;flex-direction:column!important;position:static!important;min-width:0!important;padding:0!important;gap:0!important}
 html[data-device=mobile] :is(#home-view,#explore-view) .car-card .car-brand-line{order:-1!important;display:block!important;font-size:10px!important;line-height:16px!important;margin:0 0 3px!important}
 html[data-device=mobile] :is(#home-view,#explore-view) .car-card .car-title{display:-webkit-box!important;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden!important;white-space:normal!important;font-size:14px!important;line-height:18px!important;height:36px!important;margin:0!important}
 html[data-device=mobile] :is(#home-view,#explore-view) .car-card .car-spec-line{display:-webkit-box!important;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden!important;font-size:10px!important;line-height:13px!important;height:26px!important;min-height:26px!important;margin:2px 0 0!important}
 html[data-device=mobile] :is(#home-view,#explore-view) .car-card .dual-prices{position:absolute!important;left:0!important;right:0!important;bottom:0!important;display:grid!important;grid-template-columns:1fr!important;height:76px!important;margin:0!important;padding:0!important;gap:0!important}
 html[data-device=mobile] :is(#home-view,#explore-view) .car-card .price-row{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:space-between!important;padding:5px 0!important;border-left:0!important;min-width:0!important}
 html[data-device=mobile] :is(#home-view,#explore-view) .car-card .price-row strong{font-size:16px!important;white-space:nowrap!important;gap:2px!important}
 html[data-device=mobile] :is(#home-view,#explore-view) .car-card .price-unit{font-size:9px!important;margin-left:2px!important}
 html[data-device=mobile] :is(#home-view,#explore-view) .car-card .car-tags{position:absolute!important;top:0!important;left:0!important;margin:0!important}
}
@layer workspace {
 html[data-device=mobile] body.mobile-home-header-scrolled:has(#home-view:not([hidden])) .top-brand-row>.member-login{background:#fff!important;color:#e65331!important}
}
/* Keep mobile card text on one shared left edge and reserve only two trim lines. */
@layer workspace {
 html[data-device=mobile] :is(#home-view,#explore-view) .car-card{height:310px!important;min-height:310px!important;max-height:310px!important}
 html[data-device=mobile] :is(#home-view,#explore-view) .car-card .card-main{align-items:stretch!important;justify-content:flex-start!important;text-align:left!important}
 html[data-device=mobile] :is(#home-view,#explore-view) .car-card .car-copy{width:100%!important;max-width:none!important;align-self:stretch!important;align-items:stretch!important;text-align:left!important}
 html[data-device=mobile] :is(#home-view,#explore-view) .car-card .car-title{display:block!important;height:18px!important;min-height:18px!important;white-space:nowrap!important;text-overflow:ellipsis!important;overflow:hidden!important}
 html[data-device=mobile] :is(#home-view,#explore-view) .car-card .car-spec-line{width:100%!important;white-space:normal!important;word-break:normal!important;height:26px!important;min-height:26px!important;max-height:26px!important;line-height:13px!important;margin:2px 0 0!important}
}
/* A phone keeps the home card width; wider mobile devices can fit two cards. */
@layer workspace {
 html[data-device=mobile] #explore-view .showroom-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,244px),244px))!important;width:100%!important;max-width:500px!important;margin-inline:auto!important;justify-content:center!important;gap:12px!important}
 html[data-device=mobile] #explore-view .showroom-grid>.car-card{width:100%!important;min-width:0!important;max-width:244px!important}
}
/* Mobile showroom uses horizontal cards, independently of the home carousel. */
@layer workspace {
 html[data-device=mobile] #explore-view .showroom-grid{grid-template-columns:1fr!important;max-width:none!important;width:100%!important;gap:12px!important}
 html[data-device=mobile] #explore-view .showroom-grid>.car-card{width:100%!important;max-width:none!important;height:218px!important;min-height:218px!important;max-height:218px!important;padding:14px!important}
 html[data-device=mobile] #explore-view .car-card .card-main{display:grid!important;grid-template-columns:minmax(0,1fr) 38%!important;align-items:center!important;column-gap:10px!important;padding-top:28px!important}
 html[data-device=mobile] #explore-view .car-card .car-copy{grid-column:1!important;grid-row:1!important;height:100%!important;justify-content:flex-start!important}
 html[data-device=mobile] #explore-view .car-card .car-visual{grid-column:2!important;grid-row:1!important;order:0!important;width:100%!important;height:110px!important;min-height:110px!important;margin:20px 0 0!important;align-self:center!important}
 html[data-device=mobile] #explore-view .car-card .car-brand-line{line-height:14px!important;margin-bottom:3px!important}
 html[data-device=mobile] #explore-view .car-card .car-title{font-size:16px!important;line-height:20px!important;height:20px!important;min-height:20px!important}
 html[data-device=mobile] #explore-view .car-card .car-spec-line{height:26px!important;min-height:26px!important;margin-top:3px!important}
 html[data-device=mobile] #explore-view .car-card .dual-prices{position:static!important;height:70px!important;min-height:70px!important;margin-top:5px!important;width:100%!important}
 html[data-device=mobile] #explore-view .car-card .price-row strong{font-size:18px!important}
 html[data-device=mobile] #explore-view .car-card .car-tags{top:0!important}
 @media(min-width:760px){html[data-device=mobile] #explore-view .showroom-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
}
/* Horizontal showroom: prices follow their labels; give the vehicle more room. */
@layer workspace {
 html[data-device=mobile] #explore-view .car-card .card-main{grid-template-columns:minmax(0,1fr) 43%!important;column-gap:6px!important}
 html[data-device=mobile] #explore-view .car-card .car-visual{height:138px!important;min-height:138px!important;margin-top:12px!important}
 html[data-device=mobile] #explore-view .car-card .price-row{justify-content:flex-start!important;gap:9px!important}
 html[data-device=mobile] #explore-view .car-card .price-mode{flex:0 0 22px!important;width:22px!important}
 html[data-device=mobile] #explore-view .car-card .price-row strong{margin-left:0!important;font-size:17px!important}
}
@layer workspace {
 html[data-device=mobile] #explore-view .showroom-grid>.car-card{height:199px!important;min-height:199px!important;max-height:199px!important}
 html[data-device=mobile] #explore-view .car-card .car-visual{margin-top:0!important}
}
@layer workspace {
 html[data-device=mobile] #explore-view .car-card :is(.car-brand-line,.car-title,.car-spec-line){position:relative!important;top:4px!important}
}
