/* 캐피탈 리뉴얼 전용 검색창 */
.sub-container.capital-renewal-content > .sub-inner {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px 80px;
}

.sub-container .sub-inner .capital-page-search-wrap {
    width: 100%;
    max-width: 1280px;
}

.sub-container .sub-inner .capital-page-search-wrap .search-box {
    display: flex;
    width: 100%;
    height: 68px;
    align-items: stretch;
    gap: 8px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.sub-container .sub-inner .capital-page-search-wrap .search-box input {
    min-width: 0;
    height: 100%;
    flex: 1 1 auto;
    padding: 0 38px;
    border: 0;
    border-radius: 999px 0 0 999px;
    background: #f5f5f5;
    color: #111;
    font-size: 16px;
    font-weight: 500;
    box-sizing: border-box;
}

.sub-container .sub-inner .capital-page-search-wrap .search-box input::placeholder {
    color: #9d9d9d;
    opacity: 1;
}

.sub-container .sub-inner .capital-page-search-wrap .search-box .search-btn {
    position: static;
    display: inline-flex;
    width: 16%;
    height: 100%;
    flex: 0 0 16%;
    align-items: center;
    justify-content: center;
    padding: 0 28px;
    border: 0;
    border-radius: 0 999px 999px 0;
    background: #000;
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    line-height: 1;
    opacity: 1;
    transform: none;
    box-sizing: border-box;
}

.sub-container .sub-inner .capital-page-search-wrap .search-box .search-btn:hover {
    background: #1b1b1b;
    opacity: 1;
}

/* 리뉴얼 차량 상담 모달 — 완성형 쇼룸 썸네일을 여백 없이 채운다. */
.gp-consult-modal .gp-consult-selected-car__thumb {
    background: #090a0c;
}

.gp-consult-modal .gp-consult-selected-car__img {
    padding: 0;
    object-fit: cover;
}

/* 리뉴얼 UTM 안내창 — 상단 비주얼과 동일한 number-flip 카드 */
.capital-utm-sheet__countdown-kicker {
    display: inline-flex;
    min-height: 32px;
    align-items: center;
    justify-content: center;
    margin: 0 0 18px;
    padding: 6px 15px;
    border-radius: 999px;
    background: rgba(92, 35, 40, 0.72);
    color: rgba(255, 255, 255, 0.76);
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    box-sizing: border-box;
}

.capital-utm-sheet__countdown:has(.capital-countdown--utm-sheet-flip) {
    margin-bottom: 46px;
}

.capital-utm-sheet__countdown .capital-countdown--utm-sheet-flip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
}

.capital-utm-sheet__countdown .capital-countdown--utm-sheet-flip .capital-countdown__item {
    position: relative;
    display: flex;
    min-width: 0;
    height: 76px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid #393940;
    border-radius: 12px;
    background: #28282d;
    color: #fff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
    box-sizing: border-box;
}

.capital-utm-sheet__countdown .capital-countdown--utm-sheet-flip .capital-countdown__item--accent {
    border-color: #c9081e;
    background: #c9081e;
}

.capital-utm-sheet__countdown .capital-countdown--utm-sheet-flip .capital-countdown__item::after {
    position: absolute;
    z-index: 2;
    top: 50%;
    right: 0;
    left: 0;
    height: 2px;
    background: rgba(5, 5, 8, 0.72);
    content: "";
    pointer-events: none;
    transform: translateY(-1px);
}

.capital-utm-sheet__countdown .capital-countdown--utm-sheet-flip .capital-countdown__flip-digits {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.04em;
    color: #fff;
    font-family: "SpoqaHanSansCountdown", "Spoqa Han Sans", sans-serif;
    font-size: clamp(30px, 9vw, 42px);
    font-weight: 900;
    line-height: 0.9;
    letter-spacing: 0;
    -webkit-text-stroke: 0.4px currentColor;
    transform: translateY(-2px);
}

.capital-utm-sheet__countdown .capital-countdown--utm-sheet-flip [data-renewal-flip-days] {
    letter-spacing: 0.08em;
    text-indent: 0.08em;
}

.capital-utm-sheet__countdown .capital-countdown--utm-sheet-flip .capital-countdown__flip-digit {
    display: inline-block;
    width: 0.7em;
    height: 1em;
    overflow: hidden;
    color: #fff;
    font: inherit;
    line-height: 1;
    text-align: center;
}

.capital-utm-sheet__countdown .capital-countdown--utm-sheet-flip .capital-countdown__flip-digit .ctnr {
    background: transparent;
}

.capital-utm-sheet__countdown .capital-countdown--utm-sheet-flip .capital-countdown__flip-digit .digit {
    box-sizing: border-box;
    width: 0.7em;
    height: 1em;
    padding: 0;
    color: #fff;
    font: inherit;
    line-height: 1;
    text-align: center;
}

.capital-utm-sheet__countdown .capital-countdown--utm-sheet-flip .capital-countdown__flip-label {
    position: absolute;
    top: calc(100% + 7px);
    left: 0;
    width: 100%;
    color: #bdbdc4;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    text-align: center;
}

.capital-utm-sheet:has(.capital-countdown--utm-sheet-flip) .capital-utm-sheet__title {
    font-family: "YeogiOttaeJalnanGothic", "Pretendard", sans-serif;
    font-weight: normal;
}

.capital-utm-sheet:has(.capital-countdown--utm-sheet-flip) .capital-utm-sheet__cta {
    min-height: 54px;
    border: 0;
    background:
        radial-gradient(ellipse 82% 125% at 50% -18%, rgba(229, 8, 34, 0.98) 0%, rgba(153, 5, 20, 0.72) 40%, transparent 70%),
        linear-gradient(180deg, #740711 0%, #4a0811 62%, #21080c 100%);
    color: #fff;
    box-shadow:
        0 8px 20px rgba(72, 4, 9, 0.18),
        inset 0 0 0 0 rgba(213, 0, 28, 0);
    transition: box-shadow 0.25s ease, transform 0.2s ease;
}

.capital-utm-sheet:has(.capital-countdown--utm-sheet-flip) .capital-utm-sheet__cta:hover,
.capital-utm-sheet:has(.capital-countdown--utm-sheet-flip) .capital-utm-sheet__cta:focus-visible,
.capital-utm-sheet:has(.capital-countdown--utm-sheet-flip) .capital-utm-sheet__cta:active {
    background:
        radial-gradient(ellipse 82% 125% at 50% -18%, rgba(229, 8, 34, 0.98) 0%, rgba(153, 5, 20, 0.72) 40%, transparent 70%),
        linear-gradient(180deg, #740711 0%, #4a0811 62%, #21080c 100%);
    color: #fff;
    box-shadow:
        0 8px 20px rgba(115, 0, 15, 0.24),
        inset 0 0 0 100px #d5001c;
}

.capital-renewal-content .capital-renewal-payment-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
}

.capital-renewal-content .capital-renewal-payment-button {
    display: inline-flex;
    min-width: 112px;
    height: 58px;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
    border: 1px solid #d7d7d7;
    border-radius: 6px;
    background: #fff;
    color: #555;
    font-size: 20px;
    font-weight: 500;
    line-height: 1;
    box-sizing: border-box;
    cursor: pointer;
}

.capital-renewal-content .capital-renewal-payment-button.is-active {
    border-color: #d5001c;
    background: #d5001c;
    color: #fff;
    font-weight: 700;
}

.capital-renewal-content .fast-list-wrap[data-form-type="캐피탈 특판차량"] .car .thumb .thumb-badge-stack--capital-time-deal {
    position: static;
}

.capital-renewal-content .fast-list-wrap[data-form-type="캐피탈 특판차량"] .car .thumb .brand-logo--thumb {
    position: absolute;
    top: 12px;
    right: auto;
    left: 12px;
    z-index: 3;
    width: 44px;
    height: 44px;
    padding: 9px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12);
    box-sizing: border-box;
}

.capital-renewal-content .fast-list-wrap[data-form-type="캐피탈 특판차량"] .car .thumb > .stock-badge--thumb-stock,
.capital-renewal-content .fast-list-wrap[data-form-type="캐피탈 특판차량"] .car .thumb .thumb-badge-stack--capital-time-deal .stock-badge--thumb-stock {
    position: absolute;
    top: auto;
    right: auto;
    bottom: 0;
    left: 0;
    border-radius: 0 10px 0 0;
}

.capital-renewal-content .fast-list-wrap[data-form-type="캐피탈 특판차량"] .car .btn-cta {
    height: 54px;
    border: 0;
    background:
        radial-gradient(ellipse 82% 125% at 50% -18%, rgba(229, 8, 34, 0.98) 0%, rgba(153, 5, 20, 0.72) 40%, transparent 70%),
        linear-gradient(180deg, #6b0710 0%, #35090f 54%, #111112 100%);
    color: #fff;
    box-shadow:
        0 8px 20px rgba(72, 4, 9, 0.18),
        inset 0 0 0 0 rgba(213, 0, 28, 0);
    transition: box-shadow 0.25s ease, transform 0.2s ease;
}

.capital-renewal-content .fast-list-wrap[data-form-type="캐피탈 특판차량"] .car .info {
    padding: 20px;
}

.capital-renewal-content .fast-list-wrap[data-form-type="캐피탈 특판차량"] .car .info .name {
    font-size: 22px;
    font-weight: 800;
}

.capital-renewal-content .fast-list-wrap[data-form-type="캐피탈 특판차량"] .car:hover .btn-cta,
.capital-renewal-content .fast-list-wrap[data-form-type="캐피탈 특판차량"] .car .btn-cta:hover,
.capital-renewal-content .fast-list-wrap[data-form-type="캐피탈 특판차량"] .car .btn-cta:active {
    color: #fff;
    box-shadow:
        0 8px 20px rgba(115, 0, 15, 0.24),
        inset 0 0 0 100px #d5001c;
}

.capital-renewal-content .capital-renewal-price-summary {
    display: flex;
    width: 100%;
    flex-direction: column;
    gap: 0;
}

.capital-renewal-content .capital-renewal-price-summary__row {
    display: flex;
    width: 100%;
    min-height: 34px;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.capital-renewal-content .capital-renewal-price-summary__label {
    display: inline-block;
    color: #111827;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
}

.capital-renewal-content .capital-renewal-price-summary__vehicle {
    color: #6b7280;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.035em;
    white-space: nowrap;
}

.capital-renewal-content .capital-renewal-price-summary__monthly {
    display: none;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    white-space: nowrap;
}

.capital-renewal-content .fast-list-wrap[data-payment-condition="prepay"] [data-renewal-payment-price="prepay"],
.capital-renewal-content .fast-list-wrap[data-payment-condition="deposit"] [data-renewal-payment-price="deposit"] {
    display: inline-flex;
}

.capital-renewal-content .capital-renewal-price-summary__monthly del {
    color: #9ca3af;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
}

.capital-renewal-content .capital-renewal-price-summary__monthly strong {
    color: #ed1c24;
    font-size: 27px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.035em;
}

.capital-renewal-content .capital-renewal-price-summary__monthly .capital-renewal-price-summary__consult {
    color: #111827;
    font-size: 20px;
}

@media (max-width: 768px) {
    .header {
        transition: transform 0.22s ease;
        will-change: transform;
    }

    html.mobile-scroll-nav-hidden .header {
        transform: translateY(-100%);
        pointer-events: none;
    }

    .sub-container.capital-renewal-content {
        margin-top: 20px;
    }

    .sub-container.capital-renewal-content > .sub-inner {
        padding: 0 20px 40px;
    }

    .capital-renewal-content .filter-wrap--unified-brands {
        position: sticky;
        top: 124px;
        z-index: 20;
        width: calc(100% + 40px);
        margin-right: -20px;
        margin-left: -20px;
        transition: top 0.22s ease;
    }

    html.mobile-scroll-nav-hidden .capital-renewal-content .filter-wrap--unified-brands {
        top: 0;
    }

    .capital-renewal-content .filter-wrap--unified-brands .maker-swiper-wrap {
        border-radius: 0;
    }

    .sub-container .sub-inner .capital-page-search-wrap .search-box {
        height: 56px;
        gap: 8px;
    }

    .sub-container .sub-inner .capital-page-search-wrap .search-box input {
        padding: 0 20px;
        font-size: 15px;
    }

    .sub-container .sub-inner .capital-page-search-wrap .search-box .search-btn {
        width: 104px;
        flex-basis: 104px;
        padding: 0 18px;
        font-size: 16px;
    }

    .capital-renewal-content .capital-renewal-payment-buttons {
        width: 100%;
        gap: 8px;
    }

    .capital-renewal-content .capital-renewal-payment-button {
        min-width: 0;
        height: 50px;
        flex: 1 1 0;
        padding: 0 18px;
        font-size: 17px;
    }

    .capital-renewal-content .fast-list-wrap[data-form-type="캐피탈 특판차량"] .car .thumb .thumb-badge-stack--capital-time-deal {
        position: static;
        display: block;
    }

    .capital-renewal-content .fast-list-wrap[data-form-type="캐피탈 특판차량"] .car .thumb .brand-logo--thumb {
        display: none;
    }

    .capital-renewal-content .fast-list-wrap[data-form-type="캐피탈 특판차량"] .car .info .name {
        margin-top: 0;
        font-size: 16px;
    }

    .capital-renewal-content .fast-list-wrap[data-form-type="캐피탈 특판차량"] .car .thumb .stock-badge--thumb-time-deal {
        position: absolute;
        top: 12px;
        right: 0;
        left: auto;
        border: 1px solid rgba(255, 255, 255, 0.58);
        background:
            radial-gradient(ellipse 82% 125% at 50% -18%, rgba(229, 8, 34, 0.98) 0%, rgba(153, 5, 20, 0.72) 40%, transparent 70%),
            linear-gradient(180deg, #6b0710 0%, #35090f 54%, #111112 100%);
        color: #fff;
    }

    .capital-renewal-content .fast-list-wrap[data-form-type="캐피탈 특판차량"] .car .thumb .stock-badge--thumb-time-deal .time-deal-label,
    .capital-renewal-content .fast-list-wrap[data-form-type="캐피탈 특판차량"] .car .thumb .stock-badge--thumb-time-deal .time-deal-days {
        color: #fff;
    }

    .capital-renewal-content .fast-list-wrap[data-form-type="캐피탈 특판차량"] .car .thumb > .stock-badge--thumb-stock,
    .capital-renewal-content .fast-list-wrap[data-form-type="캐피탈 특판차량"] .car .thumb .thumb-badge-stack--capital-time-deal .stock-badge--thumb-stock {
        position: absolute;
        display: none;
        top: auto;
        right: auto;
        bottom: 0;
        left: 0;
        border-radius: 0 10px 0 0;
    }

    .capital-renewal-content .capital-renewal-price-summary {
        gap: 0;
    }

    .capital-renewal-content .capital-renewal-price-summary__row:first-child {
        display: none;
    }

    .capital-renewal-content .fast-list-wrap[data-form-type="캐피탈 특판차량"] .car .name-df {
        margin-bottom: 10px;
    }

    .capital-renewal-content .fast-list-wrap[data-form-type="캐피탈 특판차량"] .car .info {
        padding: 12px;
        background: linear-gradient(135deg, #f9f9f9 0%, #fcfcfc 38%, #fff 72%, #fff 100%);
    }

    .capital-renewal-content .fast-list-wrap[data-form-type="캐피탈 특판차량"] .car .cta-wrap {
        display: block;
        width: 100%;
        margin-top: 8px;
        align-self: stretch;
    }

    .capital-renewal-content .fast-list-wrap[data-form-type="캐피탈 특판차량"] .car .btn-cta {
        height: 48px;
    }

    .capital-renewal-content .fast-list-wrap[data-form-type="캐피탈 특판차량"] .car .thumb {
        width: 45%;
        max-width: none;
        flex: 0 0 45%;
    }

    .capital-renewal-content .capital-renewal-price-summary__row {
        min-height: 30px;
        gap: 10px;
    }

    .capital-renewal-content .capital-renewal-price-summary__row:last-child {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 6px;
    }

    .capital-renewal-content .capital-renewal-price-summary__label {
        font-size: 12px;
    }

    .capital-renewal-content .capital-renewal-price-summary__monthly strong {
        font-size: 20px;
    }

    .capital-renewal-content .capital-renewal-price-summary__vehicle {
        font-size: 17px;
    }

    .capital-renewal-content .capital-renewal-price-summary__monthly {
        position: relative;
        flex-direction: row;
        align-items: center;
        justify-content: flex-end;
        align-self: auto;
        margin-left: auto;
        gap: 0;
    }

    .capital-renewal-content .capital-renewal-price-summary__monthly del {
        position: absolute;
        right: 0;
        bottom: calc(100% + 1px);
    }

    .capital-renewal-content .capital-renewal-price-summary__monthly del {
        font-size: 11px;
    }
}

@media (max-width: 360px) {
    .capital-renewal-content .fast-list-wrap[data-form-type="캐피탈 특판차량"] .car .info {
        padding: 10px 8px;
    }

    .capital-renewal-content .capital-renewal-price-summary__row:last-child {
        gap: 4px;
    }

    .capital-renewal-content .capital-renewal-price-summary__label {
        max-width: 34px;
        font-size: 11px;
        line-height: 1.25;
        white-space: normal;
    }

    .capital-renewal-content .capital-renewal-price-summary__monthly strong {
        font-size: 18px;
    }

    .capital-renewal-content .capital-renewal-price-summary__monthly del {
        font-size: 10px;
    }
}
