/* ─── Section wrapper ─── */
.cs-section {
    background-color: rgba(0, 0, 0, 0);
    background-image: none;
    overflow: hidden;
    position: relative;
    padding: 80px 0;
}

/* ─── Wrapper chính (bọc tất cả trừ button-wrapper) ─── */
.cs-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    z-index: 2;
}

/* ──────────────────────────────────────────────
   ① TITLE (ngoài swiper)
   → slider_model-slider-title
────────────────────────────────────────────── */
.cs-slider-title {
    text-align: center;
    padding-top: 0;
    position: relative;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.cs-slider-title h2 {
    font-family: 'CS Pirulen', sans-serif;
    color: var(--cs-color-primary);
    text-align: center;
    font-size: 48px;
    font-weight: 400;
    text-transform: uppercase;
    margin: 0;
    line-height: 48px;
}

.cs-slider-title p {
    font-family: 'Roboto', sans-serif;
    font-size: 20px;
    font-weight: 400;
    margin: 0;
    line-height: 20px;
}

.cs-slider-title p span {
    font-family: inherit;
    font-weight: 200;
    color: var(--cs-color-text);
    margin-right: 4px;
    font-size: 20px;
    line-height: 20px;
}

.cs-slider-title p b {
    font-family: inherit;
    font-size: 20px;
    font-weight: 600;
    line-height: 20px;
    color: var(--cs-color-dark);
}

.cs-slider-title p .cs-updating-text {
    font-family: 'Roboto', sans-serif;
    font-size: 20px;
    font-weight: 600;
    line-height: 20px;
    color: var(--cs-color-dark);
    letter-spacing: 0.5px;
    margin-right: 0;
}

/* ──────────────────────────────────────────────
   ② SPECS BAR (ngoài swiper)
   → slider_overview-stats
────────────────────────────────────────────── */
.cs-section-bottom {
    padding: 0 70px;
    position: relative;
    z-index: 5;
}

@media (max-width: 977px) {
    .cs-section-bottom {
		padding: 0 50px;
	}
}

@media (max-width: 767px) {
    .cs-section-bottom {
		padding: 30px 12px;
	}
}

.cs-overview-content {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    max-width: 100%;
    margin: 20px auto 0;
    background: var(--cs-color-white);
    gap: 20px;
    padding: 36px 0;
    border-radius: var(--cs-radius-md);
}

.cs-overview-stats {
    grid-column: span 4;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    /* column-gap: 0 — khoảng cách ngang do padding item đảm nhiệm */
    row-gap: 20px;
    column-gap: 0;
    position: relative;
    z-index: 5;
    /* ── Border dọc xuyên suốt chiều cao container (không bị ngắt bởi row-gap) ──
       3 đường tại vị trí 25% / 50% / 75% — đúng với 4 cột đều nhau
    ── */
    background-image:
        linear-gradient(to bottom, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.12)),
        linear-gradient(to bottom, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.12)),
        linear-gradient(to bottom, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.12));
    background-size: 1px 100%, 1px 100%, 1px 100%;
    background-position: 25% 0, 50% 0, 75% 0;
    background-repeat: no-repeat;
}

.cs-overview-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

/* ── Padding để nội dung không chạm đường kẻ dọc ── */
.cs-overview-stat:not(:nth-child(4n+1)) {
    padding-left: 20px;
}

.cs-overview-stat:not(:nth-child(4n)) {
    padding-right: 20px;
}

.cs-overview-stat-inner {
    display: flex;
    justify-content: start;
    align-items: end;
    gap: 8px;
}

.cs-overview-number {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
}

.cs-overview-label {
    font-weight: 700;
    font-size: 16px;
    color: var(--cs-color-dark);
    line-height: normal;
}

.cs-overview-spec {
    font-size: 16px;
    line-height: normal;
    overflow-wrap: break-word;
    word-break: break-word;
}

/* ──────────────────────────────────────────────
   ③ WATERMARK BG (ngoài swiper)
   → slider_model-bg
────────────────────────────────────────────── */
.cs-model-bg {
    position: absolute;
    top: 0%;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.cs-model-bg p {
    font-family: 'CS Pirulen', sans-serif;
    font-size: 130px;
    font-weight: 400;
    line-height: normal;
    color: rgba(0, 0, 0, 0.055);
    white-space: nowrap;
    text-transform: uppercase;
    margin: 0;
    user-select: none;
    transform-origin: center center;
    will-change: opacity, transform, clip-path, filter;
}

/* ==========================================================================
   Khi có ảnh nền toàn Section (Cinematic Dark Mode - Khớp 100% với hình mockup)
   ========================================================================== */
.cs-section.has-section-bg {
    background: rgba(0, 0, 0, 0.9) !important;
}

.cs-section.has-section-bg .cs-swiper,
.cs-section.has-section-bg .cs-slide,
.cs-section.has-section-bg .cs-image-wrapper {
    background: rgba(0, 0, 0, 0) !important;
}

.cs-section.has-section-bg .cs-slider-title h2 {
    color: #ffffff;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.65);
}

.cs-section.has-section-bg .cs-slider-title p span {
    color: rgba(255, 255, 255, 0.85);
}

.cs-section.has-section-bg .cs-slider-title p b,
.cs-section.has-section-bg .cs-price-value,
.cs-section.has-section-bg .cs-updating-text {
    color: #ffffff;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
}

.cs-section.has-section-bg .cs-model-bg p {
    color: rgba(255, 255, 255, 0.07);
}

/* Khung Specs Glassmorphism trong suốt như hình */
.cs-section.has-section-bg .cs-overview-content {
    background: transparent;
}

.cs-section.has-section-bg .cs-overview-number {
    color: #ffffff;
}

.cs-section.has-section-bg .cs-overview-label {
    color: #ffffff;
}

.cs-section.has-section-bg .cs-overview-spec {
    color: rgba(255, 255, 255, 0.8);
}

/* ── Border dọc giữa các cột — dark/cinematic mode ── */
.cs-section.has-section-bg .cs-overview-stats {
    background-image:
        linear-gradient(to bottom, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.18)),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.18)),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.18));
}

/* Nút bấm Đặt lịch lái thử & Khám phá thêm như hình */
.cs-section.has-section-bg .cs-explore-btn {
    background: #ffffff !important;
    color: #111827 !important;
    border-color: #ffffff !important;
    font-weight: 700;
}

.cs-section.has-section-bg .cs-explore-btn:hover {
    background: rgba(255, 255, 255, 0.88) !important;
    border-color: rgba(255, 255, 255, 0.88) !important;
    color: #000000 !important;
}

.cs-section.has-section-bg .cs-testdrive-btn {
    background: transparent !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.6) !important;
}

.cs-section.has-section-bg .cs-testdrive-btn:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    border-color: #ffffff !important;
    color: #ffffff !important;
}

/* Mũi tên điều hướng Nav: Tròn, trong suốt, viền sáng, mũi tên trắng như hình */
.cs-section.has-section-bg .cs-nav-left,
.cs-section.has-section-bg .cs-nav-right {
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

.cs-section.has-section-bg .cs-nav-left svg path,
.cs-section.has-section-bg .cs-nav-right svg path {
    stroke: #ffffff !important;
}

.cs-section.has-section-bg .cs-nav-left:hover,
.cs-section.has-section-bg .cs-nav-right:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: #ffffff;
}

.cs-section.has-section-bg .cs-nav-left:hover svg path,
.cs-section.has-section-bg .cs-nav-right:hover svg path {
    stroke: #ffffff !important;
}
