@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&display=swap");

.thtc-line-detail {
    --thtc-black: #000000;
    --thtc-muted: #7a7a7a;
    --thtc-accent: #0056b3;
    --thtc-bg: #ffffff;
    font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    color: var(--thtc-black);
    background: var(--thtc-bg);
    padding: 0 0 5rem;
    overflow-x: hidden;
}

.thtc-line-detail * {
    box-sizing: border-box;
}

.thtc-line-detail .thtc-inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1.5rem;
}
.product_banner {
    text-align: center;
}
.product_banner img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
    padding: 1rem 0 2rem;
}
/* Hai nút đầu trang — nằm ngang, căn giữa (theo mockup) */
.thtc-line-detail .thtc-quick-row {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    gap: 3.5rem;
    margin-bottom: 2.75rem;
    flex-wrap: wrap;
}

.thtc-line-detail .thtc-quick-row a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none;
    color: var(--thtc-black);
    font-weight: 400;
    text-align: center;
    max-width: 7.5rem;
    line-height: 1.35;
}

.thtc-line-detail .thtc-quick-row a:hover {
    color: var(--thtc-accent);
}

.thtc-line-detail .thtc-quick-row .ico {
    width: 64px;
    height: 64px;
    line-height: 0;
    flex-shrink: 0;
}

.thtc-line-detail .thtc-quick-row .ico img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

/* Lưới 2 cột chính — giống mẫu: trái ảnh + màu + Ngoại thất; phải Chi tiết + icon + ảnh */
.thtc-line-detail .thtc-main-cols {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3rem 3.5rem;
    align-items: start;
}

.thtc-line-detail .thtc-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.thtc-line-detail .thtc-col figure {
    margin: 0;
    width: 100%;
    background: transparent;
}

.thtc-line-detail .thtc-col figure img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    object-fit: contain;
}

.thtc-line-detail .thtc-swatches {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.75rem;
    margin-bottom: 0;
}

.thtc-line-detail .thtc-swatches button {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.12);
    cursor: pointer;
    padding: 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.thtc-line-detail .thtc-swatches button:hover,
.thtc-line-detail .thtc-swatches button:focus-visible {
    transform: scale(1.06);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    outline: none;
}

.thtc-line-detail .thtc-swatches button[aria-pressed="true"] {
    box-shadow: 0 0 0 2px var(--thtc-black);
}

/* Tiêu đề section trong từng cột */
.thtc-line-detail .thtc-block-title {
    margin: 2.75rem 0 0;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--thtc-black);
    line-height: 1.3;
}

.thtc-line-detail .thtc-block-title--exterior {
    margin-top: 2rem;
}

.thtc-line-detail .thtc-block-title--first {
    margin-top: 0;
}

.thtc-line-detail .thtc-rule {
    width: 80%;
    height: 3px;
    background: var(--thtc-accent);
    margin: 0.65rem auto 0;
    border: none;
    border-radius: 0;
}

.thtc-line-detail .thtc-rule--exterior {
    width: 56px;
    height: 4px;
    margin-left: auto;
    margin-right: auto;
}

.thtc-line-detail .thtc-body-text {
    margin: 1.35rem 0 0;
    font-size: 0.9375rem;
    font-weight: 400;
    line-height: 1.75;
    color: var(--thtc-muted);
    max-width: 36rem;
}

.thtc-line-detail .thtc-body-text--exterior {
    margin-left: auto;
    margin-right: auto;
}

.thtc-line-detail .thtc-col-right .thtc-body-text {
    max-width: 40rem;
    margin-bottom: 0;
}

.thtc-line-detail .thtc-specs {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 1.75rem 1.25rem;
    margin: 1.5rem 0;
    width: 100%;
    max-width: 520px;
}

.thtc-line-detail .thtc-spec {
    flex: 0 0 calc(25% - 1rem);
    min-width: 88px;
    text-align: center;
}

.thtc-line-detail .thtc-spec .sym {
    width: 64px;
    height: 64px;
    margin: 0 auto 0.75rem;
    color: var(--thtc-black);
}

.thtc-line-detail .thtc-spec .sym img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.thtc-line-detail .thtc-spec .lbl {
    color: var(--thtc-black);
    line-height: 1.35;
}

.thtc-line-detail .thtc-spec .val {
    font-weight: 600;
    color: var(--thtc-black);
    margin-top: 0.15rem;
}

/* Ảnh lớn cột trái (đổi theo màu / gallery) */
.thtc-line-detail .thtc-product-hero-figure {
    margin-top: 0;
    width: 100%;
    max-width: 520px;
}

.thtc-line-detail .thtc-product-hero-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    background: #fafafa;
}

/* Ảnh lớn cột phải (ảnh minh họa cố định theo mẫu) */
.thtc-line-detail .thtc-product-secondary-figure {
    margin-top: 2rem;
    width: 100%;
    max-width: 520px;
}

.thtc-line-detail .thtc-product-secondary-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    background: #fafafa;
}

/* Hàng thumbnail full width dưới 2 cột */
.thtc-line-detail .thtc-gallery-wrap {
    margin-top: 3rem;
    width: 100%;
}

.thtc-line-detail .thtc-gallery {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
    width: 100%;
    max-width: 100%;
}

.thtc-line-detail .thtc-gallery-item {
    display: block;
    padding: 0;
    margin: 0;
    border-radius: 4px;
    overflow: hidden;
    cursor: zoom-in;
    text-decoration: none;
    color: inherit;
    border-radius: 5px;
    box-shadow: 0 7px 10px 0 rgb(0 0 0 / 0.5);
}

.thtc-line-detail .thtc-gallery-item:hover,
.thtc-line-detail .thtc-gallery-item:focus-visible {
    border-color: var(--thtc-accent);
    outline: none;
}

.thtc-line-detail .thtc-gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Nội thất — 2 cột (chữ + ảnh lớn), hàng 4 thumbnail */
/* Khả năng vận hành — video YouTube dưới nội thất */
.thtc-line-detail .thtc-inner--performance-video {
    padding-top: 3.5rem;
}

.thtc-line-detail .thtc-performance__title {
    margin: 0 0 1rem;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--thtc-black);
    line-height: 1.3;
    text-align: left;
}

.thtc-line-detail .thtc-performance__rule {
    width: 100%;
    height: 1px;
    background: #d9d9d9;
    margin: 0 0 1.5rem;
}

.thtc-line-detail .thtc-performance__embed {
    position: relative;
    width: 100%;
    max-width: 100%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    aspect-ratio: 16 / 9;
    background: #0a0a0a;
}

.thtc-line-detail .thtc-performance__embed iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* Khám phá các mẫu Vios — dưới khối nội thất */
.thtc-line-detail .thtc-inner--models-below-interior {
    padding-top: 3.5rem;
}

.thtc-line-detail .thtc-model-explore__title {
    margin: 0 0 2rem;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--thtc-black);
    line-height: 1.3;
    text-align: left;
}

.thtc-line-detail .thtc-model-explore__list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.thtc-line-detail .thtc-variant {
    padding: 1.75rem 0 2rem;
}

.thtc-line-detail .thtc-variant:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.thtc-line-detail .thtc-variant__head {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #000;
}

.thtc-line-detail .thtc-variant__name {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--thtc-black);
    line-height: 1.35;
}

.thtc-line-detail .thtc-variant__price {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: var(--thtc-black);
    line-height: 1.35;
}

.thtc-line-detail .thtc-variant__price-num {
    font-weight: 700;
}

.thtc-line-detail .thtc-variant__currency {
    font-size: 0.65em;
    font-weight: 600;
    top: -0.35em;
    position: relative;
    margin-left: 0.1em;
}

.thtc-line-detail .thtc-variant__body {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 2rem 2.5rem;
    flex-wrap: wrap;
}

.thtc-line-detail .thtc-variant__fig {
    margin: 0;
    flex: 0 0 min(320px, 38%);
    max-width: 320px;
    min-width: 200px;
}

.thtc-line-detail .thtc-variant__img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    background: #fafafa;
}

.thtc-line-detail .thtc-variant__specs {
    flex: 1 1 auto;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-around;
    gap: 2rem 2.5rem;
    min-width: 200px;
}

.thtc-line-detail .thtc-variant-spec {
    text-align: center;
    min-width: 88px;
}

.thtc-line-detail .thtc-variant-spec__sym {
    width: 64px;
    height: 64px;
    margin: 0 auto 0.65rem;
}

.thtc-line-detail .thtc-variant-spec__sym img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.thtc-line-detail .thtc-variant-spec__lbl {
    font-weight: 400;
    color: var(--thtc-black);
    line-height: 1.3;
}

.thtc-line-detail .thtc-variant-spec__val {
    margin-top: 0.2rem;
    font-weight: 700;
    color: var(--thtc-black);
    line-height: 1.3;
}

.thtc-line-detail .thtc-variant__cta {
    flex: 0 0 auto;
    align-self: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.5rem;
    background: var(--thtc-black);
    color: #fff;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: opacity 0.15s ease, transform 0.15s ease;
    white-space: nowrap;
}

.thtc-line-detail .thtc-variant__cta:hover,
.thtc-line-detail .thtc-variant__cta:focus-visible {
    opacity: 0.88;
    outline: 2px solid var(--thtc-black);
    outline-offset: 2px;
}

@media (max-width: 991px) {
    .thtc-line-detail .thtc-variant__body {
        flex-direction: column;
        align-items: stretch;
    }

    .thtc-line-detail .thtc-variant__fig {
        flex: none;
        max-width: 100%;
        margin: 0 auto;
    }

    .thtc-line-detail .thtc-variant__specs {
        justify-content: space-around;
    }

    .thtc-line-detail .thtc-variant__cta {
        width: 100%;
        max-width: 320px;
        margin: 0.5rem auto 0;
    }
}

@media (max-width: 480px) {
    .thtc-line-detail .thtc-variant__head {
        flex-direction: column;
        align-items: flex-start;
    }
}

.thtc-line-detail .thtc-inner--interior-below-promo {
    padding-top: 3.5rem;
}

.thtc-line-detail .thtc-inner--interior-below-promo .thtc-interior {
    margin-top: 0;
}

.thtc-line-detail .thtc-interior,
.thtc-line-detail .thtc-exterior {
    margin-top: 4rem;
    padding-top: 0;
    width: 100%;
}

.thtc-line-detail .thtc-interior__top,
.thtc-line-detail .thtc-exterior__top {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.5rem 3rem;
    align-items: center;
}

.thtc-line-detail .thtc-interior__copy,
.thtc-line-detail .thtc-exterior__copy {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.thtc-line-detail .thtc-interior__title,
.thtc-line-detail .thtc-exterior__title {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--thtc-black);
    line-height: 1.3;
}

.thtc-line-detail .thtc-interior__rule,
.thtc-line-detail .thtc-exterior__rule {
    width: 56px;
    height: 4px;
    background: var(--thtc-accent);
    margin: 0.65rem auto 0;
    border: none;
    border-radius: 0;
}

.thtc-line-detail .thtc-interior__text,
.thtc-line-detail .thtc-exterior__text {
    margin: 1.35rem 0 0;
    max-width: 36rem;
    text-align: center;
}

.thtc-line-detail .thtc-interior__hero,
.thtc-line-detail .thtc-exterior__hero {
    margin: 0;
    width: 100%;
    min-width: 0;
}

.thtc-line-detail .thtc-interior__hero-img,
.thtc-line-detail .thtc-exterior__hero-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    border-radius: 8px;
    background: #fafafa;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.thtc-line-detail .thtc-interior__gallery-wrap,
.thtc-line-detail .thtc-exterior__gallery-wrap {
    margin-top: 2.5rem;
    width: 100%;
}

.thtc-line-detail .thtc-gallery--interior,
.thtc-line-detail .thtc-gallery--exterior {
    margin-top: 0;
}

/* Gallery nội thất / ngoại thất: mặc định hơi tối, hover / focus sáng bình thường */
.thtc-line-detail .thtc-gallery--interior .thtc-gallery-item img,
.thtc-line-detail .thtc-gallery--exterior .thtc-gallery-item img {
    filter: brightness(0.52);
    transition: filter 0.28s ease;
}

.thtc-line-detail .thtc-gallery--interior .thtc-gallery-item:hover img,
.thtc-line-detail .thtc-gallery--interior .thtc-gallery-item:focus-visible img,
.thtc-line-detail .thtc-gallery--exterior .thtc-gallery-item:hover img,
.thtc-line-detail .thtc-gallery--exterior .thtc-gallery-item:focus-visible img {
    filter: brightness(1);
}

@media (max-width: 991px) {
    .thtc-line-detail .thtc-main-cols {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .thtc-line-detail .thtc-product-hero-figure,
    .thtc-line-detail .thtc-product-secondary-figure {
        max-width: 100%;
    }

    .thtc-line-detail .thtc-spec {
        flex: 0 0 calc(50% - 0.75rem);
    }

    .thtc-line-detail .thtc-quick-row {
        gap: 2rem;
    }

    .thtc-line-detail .thtc-interior__top,
    .thtc-line-detail .thtc-exterior__top {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .thtc-line-detail .thtc-spec {
        flex: 0 0 45%;
    }
}

/* Banner CTA — gradient xanh, xe trái + nội dung phải */
.thtc-line-detail .thtc-promo-banner {
    width: 100vw;
    max-width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    margin-top: 3.5rem;
    padding: 3rem 0 3.25rem;
    background: linear-gradient(90deg, #001ba8 0%, #1a42f0 50%, #001ba8 100%);
    overflow: hidden;
}

.thtc-line-detail .thtc-promo-banner__container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 2.5rem 4rem;
}

.thtc-line-detail .thtc-promo-banner__visual {
    flex: 0 1 45%;
    max-width: 520px;
    min-width: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.thtc-line-detail .thtc-promo-banner__car {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    object-position: bottom center;
    mix-blend-mode: normal;
    filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.2));
}

.thtc-line-detail .thtc-promo-banner__copy {
    flex: 1 1 auto;
    text-align: center;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    min-width: 0;
}

.thtc-line-detail .thtc-promo-banner__brand {
    margin: 0;
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    opacity: 0.95;
}

.thtc-line-detail .thtc-promo-banner__headline {
    margin: 0;
    font-size: clamp(1rem, 2.5vw, 1.35rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    line-height: 1.35;
}

.thtc-line-detail .thtc-promo-banner__price {
    margin: 0.15rem 0 1.25rem;
    font-size: clamp(1.75rem, 5vw, 2.75rem);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 1.1;
}

.thtc-line-detail .thtc-promo-banner__cta {
    display: inline-block;
    padding: 0.85rem 2.25rem;
    border-radius: 999px;
    background: #fff;
    color: #001ba8;
    font-size: 0.9375rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 0 18px rgba(255, 255, 255, 0.45);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.thtc-line-detail .thtc-promo-banner__cta:hover,
.thtc-line-detail .thtc-promo-banner__cta:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 0 22px rgba(255, 255, 255, 0.6);
    outline: none;
}

@media (max-width: 767px) {
    .thtc-line-detail .thtc-promo-banner {
        margin-top: 2.5rem;
        padding: 2.25rem 0 2.5rem;
    }

    .thtc-line-detail .thtc-promo-banner__container {
        flex-direction: column;
        gap: 1.5rem;
    }

    .thtc-line-detail .thtc-promo-banner__visual {
        flex: none;
        width: 100%;
        max-width: 400px;
    }

    .thtc-line-detail .thtc-promo-banner__price {
        margin-bottom: 1rem;
    }
    .thtc-line-detail .thtc-variant-spec {
        min-width: 75px;
    }
}
