.fast-list-wrap {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 공통: 리스트 건수 표시 (즉시출고·예산별·타임특가 동일) */
.list-total {
    font-size: 0.9375rem;
    color: #666;
}

.fast-list-wrap > .list-total {
    font-size: 20px;
    margin: 0 0 24px;
    color: #333;
}

/* 래퍼 밖에 둘 때(다른 리스트 페이지) 폭·패딩 맞춤 */
.sub-container > .list-total {
    max-width: 1280px;
    margin: 0 auto 24px;
}

.fast-list-wrap .sec-title {
    text-align: center;
    margin-bottom: 40px;
}

.fast-list-wrap .sec-title h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.fast-list-wrap .sec-title p {
    font-size: 1rem;
    color: #666;
}

/* 리스트 */
.fast-list-wrap .car-list {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

/* 카드 */
.fast-list-wrap .car {
    border: 1px solid #eee;
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
    transition: 0.2s;
    overflow: hidden;
}

.fast-list-wrap .car:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transform: translateY(-4px);
}

/* 썸네일 */
.fast-list-wrap .car .thumb {
    position: relative;
    width: 100%;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    background: #f9f9f9;
}

.fast-list-wrap .car .thumb .thumb-brand-logo {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 6px;
    box-sizing: border-box;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.fast-list-wrap .car .thumb .thumb-brand-logo .brand-logo--thumb {
    position: static;
    width: 100%;
    height: 100%;
}

.fast-list-wrap .car .thumb .car-thumb-img {
    max-width: 100%;
    max-height: 80%;
    object-fit: contain;
}

.fast-list-wrap .car .thumb .thumb-ship-badge {
    position: absolute;
    left: 10px;
    bottom: 10px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 10px;
    border-radius: 999px;
    /* 다홍(주황~빨강) 톤: 연한 배경 + 진한 글자 */
    background: #ffe8e0;
    color: #e03c2a;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
    box-shadow: none;
}

.fast-list-wrap .car .thumb .thumb-ship-badge__icon {
    display: block;
    width: 11px;
    height: 14px;
    object-fit: contain;
    /* 원본 파란 번개 → 다홍 */
    filter: invert(32%) sepia(88%) saturate(2500%) hue-rotate(346deg) brightness(95%) contrast(95%);
}

.fast-list-wrap .car .thumb .thumb-ship-badge__txt {
    color: #e03c2a;
}

.fast-list-wrap .car .name-df {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.fast-list-wrap .car .info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
}

.fast-list-wrap .car .info .brand-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
}

.fast-list-wrap .car .brand-name {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: #333;
}

.fast-list-wrap .car .stock-wrap {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.fast-list-wrap .car .stock-wrap .stock-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 10px;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    background: #f8f8f8;
    color: #6b7280;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.3;
    white-space: nowrap;
}

.fast-list-wrap .car .stock-wrap .stock-count {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #111;
    line-height: 1.2;
}

.fast-list-wrap .car .stock-wrap .stock-unit {
    font-size: 0.85em;
    font-weight: 600;
    margin-left: 1px;
}

.fast-list-wrap .car .stock-wrap.stock-none .stock-count {
    font-size: 1rem;
    font-weight: 600;
    color: #9ca3af;
}

/* 정보 */
.fast-list-wrap .car .info .name {
    font-size: 16px;
    font-weight: 600;
    display: block;
    color: #2a2a2a;
}

.fast-list-wrap .car .cta-wrap {
    margin-top: 12px;
    width: 100%;
}

.fast-list-wrap .car .btn-cta {
    width: 100%;
    text-align: center;
    height: 44px;
    display: inline-block;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    background: #e8eefc;
    color: #1A1D49;
    cursor: pointer;
    transition: 0.2s;
}

.fast-list-wrap .car .btn-cta:hover {
    background: #dce4f8;
}

.fast-list-wrap .car .btn-cta:active {
    transform: scale(0.97);
}

/* 즉시출고: CTA는 gap 제외, stock-wrap margin-bottom으로 간격 (예산별과 동일 방식) */
.fast-list-wrap[data-list-type="fast"] .car .info {
    gap: 0;
}

.fast-list-wrap[data-list-type="fast"] .car .info > .name-df {
    margin-bottom: 12px;
}

.fast-list-wrap[data-list-type="fast"] .car .info > .stock-wrap {
    margin-bottom: 16px;
}

.fast-list-wrap[data-list-type="fast"] .car .info > .cta-wrap {
    margin-top: 0;
}

/* =========================
   필터 전체
========================= */
.filter-wrap {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    margin-bottom: 24px;
}

/* 제조사 밴드: 풀폭 래퍼 + max-width 이너 (버튼/스와이프 동작 유지) */
.fast-list-wrap[data-list-type="fast"] > .maker-band {
    width: 100%;
    margin: 0 0 32px;
    padding: 20px 0;
    background: #f9f9f9;
    border-radius: 16px;
    box-sizing: border-box;
}

.fast-list-wrap[data-list-type="fast"] > .maker-band .maker-band__inner {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* =========================
   토글 (공통 — 세그먼트)
========================= */
.filter-wrap .toggle-wrap {
    display: flex;
    width: 160px;
    max-width: 100%;
    background: #f1f1f1;
    border-radius: 8px;
    padding: 4px;
    align-self: flex-start;
}

.filter-wrap .toggle-wrap[hidden] {
    display: none !important;
}

.filter-wrap .toggle-wrap .toggle-btn {
    flex: 1;
    height: 40px;
    border: none;
    background: transparent;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #777;
    text-align: center;
    cursor: pointer;
    transition: 0.2s;
}

.filter-wrap .toggle-wrap .toggle-btn.active {
    background: #fff;
    color: #111;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

@media (max-width: 768px) {
    .filter-wrap .toggle-wrap {
        width: 100%;
        max-width: none;
        align-self: stretch;
    }

    .filter-wrap .toggle-wrap .toggle-btn {
        flex: 1 1 50%;
        font-size: 17px;
    }
}

/* 즉시출고 — 국산차/수입차 탭 (언더라인) */
.fast-list-wrap[data-list-type="fast"] > .filter-wrap .toggle-wrap {
    display: flex;
    width: 100%;
    max-width: none;
    align-self: stretch;
    background: transparent;
    border-radius: 0;
    padding: 0;
    border-bottom: 1px solid #e5e5e5;
    gap: 0;
}

.fast-list-wrap[data-list-type="fast"] > .filter-wrap .toggle-wrap .toggle-btn {
    flex: 0 0 auto;
    height: auto;
    margin: 0 28px 0 0;
    padding: 12px 4px 14px;
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    font-size: 18px;
    font-weight: 500;
    color: #999;
    line-height: 1.3;
    position: relative;
}

.fast-list-wrap[data-list-type="fast"] > .filter-wrap .toggle-wrap .toggle-btn:last-child {
    margin-right: 0;
}

.fast-list-wrap[data-list-type="fast"] > .filter-wrap .toggle-wrap .toggle-btn.active {
    background: transparent;
    color: #111;
    font-weight: 700;
    box-shadow: none;
}

.fast-list-wrap[data-list-type="fast"] > .filter-wrap .toggle-wrap .toggle-btn.active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 3px;
    background: #1A1D49;
    border-radius: 2px 2px 0 0;
}

@media (max-width: 768px) {
    .fast-list-wrap[data-list-type="fast"] > .filter-wrap .toggle-wrap {
        width: 100%;
    }

    .fast-list-wrap[data-list-type="fast"] > .filter-wrap .toggle-wrap .toggle-btn {
        flex: 0 0 auto;
        margin-right: 24px;
        padding: 10px 2px 12px;
        font-size: 16px;
    }
}

/* =========================
   제조사 Swiper — 로고 사각박스 + 하단 라벨
========================= */
.maker-band .maker-swiper-wrap {
    position: relative;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    padding: 4px 0;
    border: none;
    border-radius: 0;
    background: transparent;
    overflow: hidden;
}

.maker-band .maker-swiper {
    width: 100%;
    margin: 0;
    overflow: hidden;
}

.maker-band .maker-swiper .swiper-wrapper {
    align-items: flex-start;
    justify-content: flex-start;
}

.maker-band .maker-swiper .swiper-slide {
    width: 84px;
    flex-shrink: 0;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
}

.maker-band .maker-slide-btn {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    text-align: center;
    -webkit-tap-highlight-color: transparent;
}

.maker-band .maker-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 100%;
    min-width: 0;
    padding: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    transition: none;
}

.maker-band .maker-swiper .swiper-slide.active .maker-item {
    border: none;
    background: transparent;
    box-shadow: none;
}

.maker-band .maker-item__icon {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid #ececec;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: #555;
    letter-spacing: 0.02em;
    overflow: hidden;
    flex-shrink: 0;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.maker-band .maker-swiper .swiper-slide.active .maker-item__icon {
    border-color: #111;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.maker-band .maker-item__icon--img {
    padding: 10px;
}

.maker-band .maker-item__icon--img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.maker-band .maker-item__icon--text {
    font-size: 11px;
    font-weight: 600;
    padding: 6px;
    text-align: center;
    line-height: 1.2;
    word-break: keep-all;
}

.maker-band .maker-item__label {
    font-size: 13px;
    font-weight: 500;
    color: #333;
    line-height: 1.3;
    max-width: 80px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.maker-band .maker-swiper .swiper-slide.active .maker-item__label {
    color: #111;
    font-weight: 600;
}

/* 네비게이션 화살표 */
.maker-band .maker-prev,
.maker-band .maker-next {
    position: absolute;
    top: 32px;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 10;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    -webkit-tap-highlight-color: transparent;
    transition: opacity 0.2s ease, box-shadow 0.2s ease;
}

.maker-band .maker-prev {
    left: 0;
}

.maker-band .maker-next {
    right: 0;
}

.maker-band .maker-prev::after,
.maker-band .maker-next::after {
    content: "";
    display: block;
    width: 7px;
    height: 7px;
    border-left: 2px solid #888;
    border-bottom: 2px solid #888;
}

.maker-band .maker-prev::after {
    transform: rotate(45deg);
    margin-left: 3px;
}

.maker-band .maker-next::after {
    transform: rotate(-135deg);
    margin-right: 3px;
}

.maker-band .maker-prev:hover,
.maker-band .maker-next:hover {
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.12);
}

/* 스크롤 불필요(lock)하거나 끝단이면 화살표 숨김 */
.maker-band .maker-swiper-wrap:has(.swiper-container-lock) .maker-prev,
.maker-band .maker-swiper-wrap:has(.swiper-container-lock) .maker-next,
.maker-band .maker-prev.swiper-button-disabled,
.maker-band .maker-next.swiper-button-disabled {
    display: none !important;
}

/* 반응형 */
@media (max-width: 1024px) {
    .fast-list-wrap .car-list {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .fast-list-wrap {
        padding: 0;
    }

    .fast-list-wrap[data-list-type="fast"] > .maker-band {
        padding: 16px 0;
        margin-bottom: 24px;
    }

    .fast-list-wrap[data-list-type="fast"] > .maker-band .maker-band__inner {
        padding: 0 12px;
    }

    .fast-list-wrap .car-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .fast-list-wrap .car .info {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 8px;
    }

    .fast-list-wrap[data-list-type="fast"] .car .info {
        gap: 0;
    }

    .fast-list-wrap[data-list-type="fast"] .car .info > .name-df {
        margin-bottom: 8px;
    }

    .fast-list-wrap[data-list-type="fast"] .car .info > .stock-wrap {
        margin-bottom: 12px;
    }

    .fast-list-wrap[data-list-type="fast"] .car .info > .cta-wrap {
        margin-top: 0;
    }

    .fast-list-wrap .car .info .name-df {
        width: 100%;
        min-width: 0;
    }

    .fast-list-wrap .car .info .name {
        letter-spacing: 0.02em;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .fast-list-wrap .car .cta-wrap {
        margin-top: 4px;
    }

    .fast-list-wrap[data-list-type="fast"] .car .cta-wrap {
        margin-top: 0;
    }

    .fast-list-wrap .car .stock-wrap .stock-count {
        font-size: 20px;
    }

    .fast-list-wrap .car .thumb {
        width: 100%;
        height: 130px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 12px;
        background: #f9f9f9;
    }

    .fast-list-wrap .car .thumb .thumb-brand-logo {
        top: 8px;
        left: 8px;
        width: 32px;
        height: 32px;
        padding: 5px;
        border-radius: 6px;
    }

    .fast-list-wrap .car .thumb .thumb-ship-badge {
        left: 8px;
        bottom: 8px;
        padding: 4px 8px;
        font-size: 11px;
        gap: 3px;
    }

    .fast-list-wrap .car .thumb .thumb-ship-badge__icon {
        width: 10px;
        height: 13px;
    }

    .fast-list-wrap .car .thumb .car-thumb-img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
    }

    .maker-band .maker-prev,
    .maker-band .maker-next {
        display: none;
    }

    /* 모바일: Swiper 대신 네이티브 가로 스크롤 */
    .maker-band .maker-swiper.maker-swiper--native {
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        touch-action: pan-x;
    }

    .maker-band .maker-swiper.maker-swiper--native::-webkit-scrollbar {
        display: none;
        width: 0;
        height: 0;
    }

    .maker-band .maker-swiper.maker-swiper--native .swiper-wrapper {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: flex-start;
        width: max-content;
        min-width: 100%;
        transform: none !important;
        transition-duration: 0ms !important;
    }

    .maker-band .maker-swiper.maker-swiper--native .swiper-slide {
        width: 76px;
        flex-shrink: 0;
        height: auto;
    }

    .maker-band .maker-item__icon {
        width: 56px;
        height: 56px;
        border-radius: 12px;
    }

    .maker-band .maker-item__icon--img {
        padding: 8px;
    }

    .maker-band .maker-item__label {
        font-size: 12px;
        max-width: 72px;
    }
}

@media (max-width: 450px) {
    .fast-list-wrap .car .info .name,
    .fast-list-wrap .car .brand-name {
        font-size: 14px;
        font-weight: 500;
    }
}

/* 타임특가 — 메인 특가차량 카드 */
.fast-list-wrap[data-form-type="타임특가 페이지"] .car-list.special-home-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.fast-list-wrap[data-form-type="타임특가 페이지"] .special-home-card {
    display: flex;
    flex-direction: column;
    border: none;
    border-radius: 19px;
    background: #fff;
    overflow: hidden;
    box-shadow: none;
}

.fast-list-wrap[data-form-type="타임특가 페이지"] .special-home-card:hover {
    box-shadow: none;
    transform: none;
}

/* 카드 안쪽은 estimate/assets/css/special-card.css — 인덱스 특가차량과 공통 */

@media (max-width: 1100px) {
    .fast-list-wrap[data-form-type="타임특가 페이지"] .car-list.special-home-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .fast-list-wrap[data-form-type="타임특가 페이지"] .car-list.special-home-list {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}
