/* Phase 1 interface refresh - 2026-10-01 */
:root {
    --toyota-red: #e50019;
    --toyota-red-dark: #c90016;
    --ink: #202124;
    --muted: #697078;
    --surface: #f6f7f8;
    --line: #e5e7ea;
}

body {
    min-width: 0;
    color: var(--ink);
    -webkit-font-smoothing: antialiased;
}

/* Cleaner, more compact navigation. */
header {
    min-height: 64px;
    background: rgba(25, 25, 27, .97);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    box-shadow: 0 2px 14px rgba(0, 0, 0, .12);
    transition: min-height .2s ease, box-shadow .2s ease, background .2s ease;
}
header.show {
    background: rgba(20, 20, 22, .985);
    box-shadow: 0 4px 18px rgba(0, 0, 0, .18);
}
header .logo img {
    width: 184px;
    max-height: 49px;
    object-fit: contain;
    margin: 7px 0;
}
header #menu .nav > li > a {
    position: relative;
    color: #f5f5f5;
    font-size: 15px;
    line-height: 64px;
    letter-spacing: .01em;
}
header #menu .nav > li > a:hover,
header #menu .nav > li.open > a,
header #menu .nav > li.is-current > a {
    color: #fff;
}
header #menu .nav > li > a:before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 10px;
    height: 2px;
    background: var(--toyota-red);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .2s ease;
}
header #menu .nav > li > a:hover:before,
header #menu .nav > li.is-current > a:before {
    transform: scaleX(1);
}
header .nav > li:after {
    top: 25px;
    height: 12px;
    border-color: rgba(255, 255, 255, .3);
}
header .hotline {
    padding-top: 11px;
    color: #ff5a66;
    font-size: 15px;
    line-height: 1.35;
    letter-spacing: .01em;
}
header .hotline div span:first-child {
    color: rgba(255, 255, 255, .72);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .045em;
}
.super_wrapper {
    margin-top: 64px;
}
aside {
    padding-top: 72px;
}

/* Product hero. */
body.product #content {
    padding-top: 28px;
}
body.product #content > .product-hero {
    margin: 0 0 38px;
    overflow: hidden;
    border: 1px solid #eceef0;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 38px rgba(26, 31, 36, .08);
}
.product-hero-row {
    display: flex;
    align-items: stretch;
    margin: 0;
}
.product-hero-copy,
.product-hero-visual {
    float: none;
    margin: 0 !important;
}
.product-hero-copy {
    display: flex;
    align-items: center;
    padding: 42px 20px 42px 42px;
}
.product-hero-copy .wrapper {
    width: 100%;
    margin: 0 !important;
}
.product-eyebrow {
    display: block;
    margin-bottom: 13px;
    color: var(--toyota-red);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .13em;
    text-transform: uppercase;
}
body.product .product-hero .img-name {
    width: auto;
    max-width: 100%;
    height: 39px;
    margin-bottom: 12px;
    object-fit: contain;
    object-position: left center;
}
.product-title {
    margin: 0 0 10px;
    color: var(--ink);
    font-size: 36px;
    line-height: 1.15;
    font-weight: 700;
}
.product-slogan {
    margin: 0 0 10px;
    color: #30343a;
    font-size: 24px;
    line-height: 1.25;
    font-weight: 600;
}
.product-summary {
    max-width: 520px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.55;
}
.product-summary p:last-child {
    margin-bottom: 0;
}
.product-pricing {
    margin-top: 23px;
}
.product-pricing-label {
    display: block;
    margin-bottom: 9px;
    color: #747a81;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .045em;
    text-transform: uppercase;
}
.product-grade-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
}
.product-grade-card {
    min-width: 0;
    padding: 11px 13px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
}
.product-grade-card.is-primary {
    border-color: rgba(229, 0, 25, .34);
    background: #fff8f8;
}
.product-grade-name,
.product-grade-price {
    display: block;
}
.product-grade-name {
    overflow: hidden;
    margin-bottom: 4px;
    color: #555c63;
    font-size: 13px;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.product-grade-price,
.product-single-price {
    color: var(--toyota-red);
    font-size: 18px;
    line-height: 1.2;
    font-weight: 700;
}
.product-single-price {
    display: block;
    font-size: 25px;
}
.product-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    margin-top: 20px;
}
.product-btn {
    min-height: 44px;
    padding: 11px 14px;
    border-radius: 7px;
    font-size: 14px;
    font-weight: 700;
    line-height: 20px;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.product-btn:hover,
.product-btn:focus {
    transform: translateY(-1px);
}
.product-btn .fa {
    margin-right: 6px;
}
.product-btn-primary,
.product-btn-primary:hover,
.product-btn-primary:focus {
    border: 1px solid var(--toyota-red);
    background: var(--toyota-red);
    color: #fff;
    box-shadow: 0 7px 17px rgba(229, 0, 25, .2);
}
.product-btn-primary:hover,
.product-btn-primary:focus {
    border-color: var(--toyota-red-dark);
    background: var(--toyota-red-dark);
}
.product-btn-secondary {
    border: 1px solid #cfd3d7;
    background: #fff;
    color: #30343a;
}
.product-btn-secondary:hover,
.product-btn-secondary:focus {
    border-color: #8e949a;
    background: #fafafa;
    color: #15171a;
}
.product-btn-zalo,
.product-btn-zalo:hover,
.product-btn-zalo:focus {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid #0068ff;
    background: #0068ff;
    color: #fff;
    box-shadow: 0 8px 18px rgba(0, 104, 255, .2);
    text-decoration: none;
}
.product-btn-zalo:hover,
.product-btn-zalo:focus {
    background: #0057d8;
    border-color: #0057d8;
}
.zalo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 33px;
    height: 24px;
    border-radius: 7px;
    background: #fff;
    color: #0068ff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: -.04em;
}
.floating-zalo {
    position: fixed;
    z-index: 120;
    right: 24px;
    bottom: 24px;
    display: inline-flex;
    align-items: center;
    gap: 11px;
    min-height: 62px;
    padding: 8px 17px 8px 8px;
    border-radius: 38px;
    background: #0068ff;
    color: #fff;
    box-shadow: 0 9px 28px rgba(0, 76, 190, .28);
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease;
}
.floating-zalo:hover,
.floating-zalo:focus {
    color: #fff;
    text-decoration: none;
    transform: translateY(-3px);
    box-shadow: 0 13px 32px rgba(0, 76, 190, .36);
}
.floating-zalo-icon {
    display: inline-flex;
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #fff;
    color: #0068ff;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: -.07em;
}
.floating-zalo-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
}
.floating-zalo-copy strong {
    font-size: 14px;
}
.floating-zalo-copy small {
    margin-top: 3px;
    color: rgba(255, 255, 255, .83);
    font-size: 11px;
}
.product-hero-visual {
    display: flex;
    min-height: 510px;
    flex-direction: column;
    justify-content: center;
    padding: 28px 35px 22px;
    background:
        radial-gradient(circle at 52% 42%, rgba(255, 255, 255, .98) 0, rgba(255, 255, 255, .86) 31%, rgba(239, 241, 243, .86) 70%),
        var(--surface);
}
.product-image-stage {
    position: relative;
    display: flex;
    min-height: 365px;
    align-items: center;
    justify-content: center;
}
.product-image-stage:after {
    content: '';
    position: absolute;
    z-index: 0;
    left: 17%;
    right: 17%;
    bottom: 41px;
    height: 23px;
    border-radius: 50%;
    background: rgba(31, 35, 38, .15);
    filter: blur(13px);
}
#mainImg {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 680px;
    max-height: 380px;
    object-fit: contain;
    opacity: 1;
    transform: translateY(0);
    transition: opacity .2s ease, transform .25s ease;
}
#mainImg.is-changing {
    opacity: .28;
    transform: translateY(3px);
}
.product-hero .vehicle-color-picker {
    min-height: 72px;
    margin-top: 3px;
    gap: 14px;
}
.product-hero .vehicle-color-title {
    color: #656b72;
    font-size: 13px;
    font-weight: 700;
    line-height: 34px;
}
.product-hero .vehicle-color-options {
    gap: 15px;
}
.product-hero .vehicle-color-option {
    min-width: 35px;
}
.product-hero .vehicle-color-option .color {
    width: 32px;
    height: 32px;
    border: 1px solid rgba(0, 0, 0, .22);
}
.product-hero .vehicle-color-option.is-active .color {
    box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--toyota-red);
}
.product-hero .color-option-name {
    top: 43px;
    color: #34383d;
    font-size: 12px;
    font-weight: 600;
}

/* Softer spacing below the hero. */
body.product #content > .promotion {
    width: 100%;
    margin: 0 0 32px;
    padding: 18px 22px;
    border: 0;
    border-left: 3px solid var(--toyota-red);
    border-radius: 0 9px 9px 0;
    background: #f7f7f8;
    color: #555b62;
}
body.product #content > .intro {
    padding: 18px 0 8px;
}
body.product #content > .intro h3,
body.product #content > .section h3 {
    color: #25282c;
    font-weight: 600;
}

#product-try .modal-content {
    overflow: hidden;
    border: 0;
    border-radius: 12px;
    box-shadow: 0 18px 55px rgba(0, 0, 0, .25);
}
#product-try .modal-header {
    border-bottom: 1px solid #eceef0;
    background: #fafafa;
}
#product-try .modal-title {
    color: #272a2e;
    font-size: 22px;
}

/* About page: give the existing editorial content a clean white setting. */
.about-page {
    background: #fff;
}
.about-hero {
    position: relative;
    height: 390px;
    overflow: hidden;
    background: #20252a;
}
.about-hero > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 54%;
}
.about-hero-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(12, 19, 27, .77) 0, rgba(12, 19, 27, .38) 48%, rgba(12, 19, 27, .08) 100%);
}
.about-hero-inner {
    position: absolute;
    right: 0;
    bottom: 53px;
    left: 0;
    color: #fff;
}
.about-hero-inner > span {
    display: inline-block;
    margin-bottom: 13px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--toyota-red);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.about-hero-inner h1 {
    max-width: 670px;
    margin: 0 0 10px;
    color: #fff;
    font-size: 40px;
    font-weight: 700;
    line-height: 1.15;
}
.about-hero-inner p {
    margin: 0;
    font-size: 17px;
}
.about-layout {
    padding-top: 44px;
    padding-bottom: 70px;
}
.about-description {
    max-width: 1060px;
    margin: 0 auto;
    color: #333b43;
    font-size: 16px;
    line-height: 1.7;
}
.about-description p,
.about-description a,
.about-description li,
.about-description span,
.about-description em,
.about-description strong {
    font-family: 'Open Sans', sans-serif !important;
}
.about-description::after {
    content: '';
    display: block;
    clear: both;
}
.about-description > p:first-child {
    display: none;
}
.about-description p,
.about-description span {
    background-color: transparent !important;
}
.about-description > .content-title {
    margin: 0 0 8px !important;
    color: #20252a !important;
    font-family: 'Open Sans', sans-serif !important;
    font-size: 30px !important;
    line-height: 1.25 !important;
    font-weight: 700 !important;
}
.about-description > .content-description {
    margin-bottom: 5px !important;
    color: #4e5760 !important;
    font-family: 'Open Sans', sans-serif !important;
    font-size: 15px !important;
    line-height: 1.6 !important;
}
.about-description > img {
    float: left;
    width: min(36%, 340px) !important;
    height: auto;
    margin: 32px 38px 24px 0;
    border-radius: 13px;
    object-fit: cover;
}
.about-description > p:not(.content-title):not(.content-description) {
    color: #333b43 !important;
    font-family: 'Open Sans', sans-serif !important;
    font-size: 16px !important;
    line-height: 1.75 !important;
    text-align: left !important;
}
.about-description > p:not(.content-title):not(.content-description) > span {
    color: inherit !important;
    font-family: inherit !important;
}
.about-description .contact-container {
    clear: both;
    padding-top: 42px;
    border-top: 1px solid var(--line);
}
.about-description .contact-title {
    margin-bottom: 8px !important;
    color: #20252a !important;
    font-family: 'Open Sans', sans-serif !important;
    font-size: 30px !important;
    font-weight: 700 !important;
}
.about-description .contact-info-container {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 24px !important;
}
.about-description .contact-info-item {
    min-width: 0;
    margin-top: 0 !important;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: #fff;
    overflow-wrap: anywhere;
}
.about-description .contact-info-item a {
    color: var(--toyota-red) !important;
}
.about-description .contact-info-item .fas {
    display: none !important;
}
.about-description .contact-info-item li {
    line-height: 1.55;
}

@media (min-width: 992px) and (max-width: 1199px) {
    header #menu .nav > li > a {
        font-size: 14px;
        line-height: 60px;
    }
    header .logo img {
        width: 172px;
    }
    .product-hero-copy {
        padding: 34px 16px 34px 30px;
    }
    .product-hero-visual {
        min-height: 485px;
        padding-left: 25px;
        padding-right: 25px;
    }
    .product-grade-price {
        font-size: 16px;
    }
}

@media (max-width: 991px) {
    header {
        min-height: 58px;
    }
    .super_wrapper {
        margin-top: 102px;
    }
    .product-hero-row {
        display: block;
    }
    .product-hero-copy,
    .product-hero-visual {
        width: 100%;
    }
    .product-hero-copy {
        padding: 34px 36px;
    }
    .product-hero-visual {
        min-height: 430px;
    }
    .product-image-stage {
        min-height: 310px;
    }
    #mainImg {
        max-height: 325px;
    }
    .about-hero {
        height: 340px;
    }
    .about-layout {
        padding-right: 30px;
        padding-left: 30px;
    }
}

@media (max-width: 767px) {
    .super_wrapper {
        margin-top: 58px;
    }
    body.product #content {
        padding: 16px 10px 0;
    }
    body.product #content > .product-hero {
        margin-bottom: 25px;
        border-radius: 13px;
    }
    .product-hero-copy {
        padding: 27px 22px 24px;
    }
    body.product .product-hero .img-name {
        height: 31px;
    }
    .product-title {
        font-size: 30px;
    }
    .product-slogan {
        font-size: 21px;
    }
    .product-grade-list {
        grid-template-columns: 1fr;
    }
    .product-grade-name {
        white-space: normal;
    }
    .product-actions {
        grid-template-columns: 1fr;
    }
    .product-hero-visual {
        min-height: 350px;
        padding: 18px 12px 17px;
    }
    .product-image-stage {
        min-height: 245px;
    }
    .product-image-stage:after {
        bottom: 25px;
    }
    #mainImg {
        max-height: 255px;
    }
    .product-hero .vehicle-color-picker {
        flex-direction: column;
        align-items: center;
        gap: 3px;
        min-height: 94px;
    }
    .product-hero .vehicle-color-title {
        line-height: 22px;
    }
    body.product #content > .promotion {
        padding: 15px 17px;
    }
    .floating-zalo {
        right: 16px;
        bottom: 65px;
        width: 56px;
        height: 56px;
        min-height: 0;
        justify-content: center;
        padding: 5px;
        border-radius: 50%;
    }
    .floating-zalo-icon {
        width: 45px;
        height: 45px;
        font-size: 15px;
    }
    .floating-zalo-copy {
        display: none;
    }
    .about-hero {
        height: 300px;
    }
    .about-hero-inner {
        bottom: 26px;
        padding: 0 22px;
    }
    .about-hero-inner h1 {
        font-size: 29px;
    }
    .about-hero-inner p {
        font-size: 14px;
    }
    .about-layout {
        padding: 30px 22px 65px;
    }
    .about-description > .content-title,
    .about-description .contact-title {
        font-size: 25px !important;
    }
    .about-description > img {
        float: none;
        display: block;
        width: min(100%, 370px) !important;
        margin: 28px auto 20px;
    }
    .about-description .contact-info-container {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    #mainImg,
    .product-btn,
    header #menu .nav > li > a:before,
    .floating-zalo {
        transition: none;
    }
}

/* Phase 2: consistent vehicle galleries. */
body.product #content > .vehicle-gallery {
    padding: 36px 0 44px;
    border-top: 1px solid var(--line);
}
.vehicle-gallery .gallery-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}
body.product #content > .vehicle-gallery .gallery-heading h3 {
    display: block;
    margin: 0;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--toyota-red);
    font-size: 27px;
}
.gallery-heading > span {
    color: #7a828a;
    font-size: 13px;
    white-space: nowrap;
}
.vehicle-gallery .gallery-feature {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 32px;
    align-items: center;
    margin-bottom: 17px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fafbfc;
}
.gallery-main-link {
    position: relative;
    display: block;
    padding: 16px;
    background: #f1f3f4;
}
.gallery-main-image {
    display: block;
    width: 100%;
    height: 385px;
    object-fit: contain;
}
.gallery-zoom {
    position: absolute;
    right: 24px;
    bottom: 24px;
    padding: 7px 11px;
    border-radius: 6px;
    background: rgba(20, 24, 28, .76);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
}
.gallery-feature-copy {
    padding: 24px 28px 24px 0;
}
.gallery-kicker {
    color: var(--toyota-red);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}
.gallery-feature-title {
    margin: 12px 0;
    color: #25292d;
    font-size: 23px;
    font-weight: 700;
    line-height: 1.3;
}
.gallery-feature-description {
    margin: 0;
    color: #5d666f;
    font-size: 15px;
    line-height: 1.65;
}
.vehicle-gallery .gallery-thumbnails.owl-theme.owl-carousel {
    overflow: visible;
    padding: 0 31px;
}
.vehicle-gallery .gallery-thumbnails.owl-theme.owl-carousel:before,
.vehicle-gallery .gallery-thumbnails.owl-theme.owl-carousel:after {
    display: none;
}
.vehicle-gallery .gallery-thumb {
    display: block;
    width: 100%;
    min-height: 167px;
    padding: 6px;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: #fff;
    color: #343a40;
    text-align: left;
    cursor: pointer;
    transition: border-color .18s ease, box-shadow .18s ease;
}
.vehicle-gallery .gallery-thumb:hover,
.vehicle-gallery .gallery-thumb:focus,
.vehicle-gallery .gallery-thumb.is-active {
    border-color: var(--toyota-red);
    box-shadow: 0 0 0 1px rgba(229, 0, 25, .18);
    outline: none;
}
.vehicle-gallery .gallery-thumb img {
    width: 100%;
    height: 112px;
    border: 0 !important;
    border-radius: 5px;
    background: #f4f5f6;
    object-fit: cover;
}
.vehicle-gallery .gallery-thumb > span {
    display: block;
    overflow: hidden;
    padding: 8px 5px 3px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.vehicle-gallery .gallery-thumbnails.owl-theme .owl-nav button.owl-prev,
.vehicle-gallery .gallery-thumbnails.owl-theme .owl-nav button.owl-next {
    top: 61px;
    width: 30px;
    height: 40px;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: #fff;
    color: #333;
    line-height: 38px;
}
.vehicle-gallery .gallery-thumbnails.owl-theme .owl-nav button.owl-prev { left: 0; }
.vehicle-gallery .gallery-thumbnails.owl-theme .owl-nav button.owl-next { right: 0; }
.vehicle-gallery .gallery-thumbnails.owl-theme .owl-nav button i {
    font-size: 25px;
    line-height: 36px;
}
.vehicle-gallery .gallery-thumbnails.owl-theme .owl-nav button.disabled {
    opacity: .25;
    cursor: default;
}

/* Narrow side navigation with an expanded label on desktop. */
@media (min-width: 768px) {
    .super_wrapper:not(.footer-shell) { padding-left: 74px; }
    footer { margin-left: 74px; }
    .quick-nav {
        display: block;
        width: 74px;
        padding-top: 64px;
        overflow: hidden;
        background: #fff;
        border-right: 1px solid var(--line);
        box-shadow: 4px 0 18px rgba(0, 0, 0, .055);
        transition: width .2s ease;
    }
    .quick-nav:hover,
    .quick-nav:focus-within { width: 194px; }
    .quick-nav #sidebar { margin: 0; }
    .quick-nav #sidebar li {
        padding: 0;
        border-bottom: 1px solid #eef0f2;
        text-align: left;
    }
    .quick-nav #sidebar li a {
        display: flex;
        width: 194px;
        height: 70px;
        align-items: center;
        gap: 18px;
        padding: 0 25px;
        color: #596673;
        font-size: 13px;
        font-weight: 600;
        line-height: 1;
        text-decoration: none;
    }
    .quick-nav #sidebar li a:hover,
    .quick-nav #sidebar li a:focus {
        background: #fff7f8;
        color: var(--toyota-red);
    }
    .quick-nav #sidebar li a i {
        flex: 0 0 24px;
        font-size: 21px;
        text-align: center;
    }
    .quick-nav #sidebar li a span {
        opacity: 0;
        white-space: nowrap;
        transition: opacity .14s ease;
    }
    .quick-nav:hover #sidebar li a span,
    .quick-nav:focus-within #sidebar li a span { opacity: 1; }
}

/* One consistent six-column vehicle menu instead of two differently sized groups. */
#menu .vehicle-menu-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-auto-rows: 142px;
    gap: 9px;
    max-width: 1280px;
    margin: 0 auto;
}
#menu .vehicle-menu-card {
    display: flex;
    min-width: 0;
    height: 100%;
    flex-direction: column;
    align-items: center;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: #fff;
    color: #292d31;
    text-decoration: none;
    transition: border-color .15s ease, box-shadow .15s ease;
}
#menu .vehicle-menu-card:hover,
#menu .vehicle-menu-card:focus {
    border-color: #e64051;
    box-shadow: 0 3px 11px rgba(0, 0, 0, .08);
    color: var(--toyota-red-dark);
}
#menu .vehicle-menu-image {
    display: flex;
    width: 100%;
    height: 83px;
    flex: 0 0 83px;
    align-items: center;
    justify-content: center;
}
#menu .vehicle-menu-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
#menu .vehicle-menu-name {
    display: block;
    width: 100%;
    overflow-wrap: anywhere;
    font-size: 12px;
    font-weight: 700;
    line-height: 15px;
    text-align: center;
    text-transform: uppercase;
}
@media (min-width: 768px) {
    #menu .nav > li:nth-child(2) > .vehicle-menu {
        position: fixed;
        top: 64px;
        right: 0;
        left: 74px;
        width: auto;
        min-width: 0;
        max-height: calc(100vh - 64px);
        margin: 0;
        padding: 16px;
        overflow-x: hidden;
        overflow-y: auto;
        border-radius: 0 0 8px 8px;
        box-shadow: 0 16px 30px rgba(0, 0, 0, .18);
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    #menu .nav > li:nth-child(2) > .vehicle-menu {
        top: 120px;
        max-height: calc(100vh - 120px);
    }
    #menu .vehicle-menu-grid { grid-auto-rows: 150px; }
    #menu .vehicle-menu-image { height: 75px; flex-basis: 75px; }
    #menu .vehicle-menu-name { font-size: 10px; line-height: 13px; }
}
@media (max-width: 767px) {
    #menu .nav > li:nth-child(2) > .vehicle-menu {
        position: static;
        width: 100%;
        min-width: 0;
        max-height: calc(100vh - 110px);
        padding: 6px;
        overflow-y: auto;
        background: #fff;
    }
    #menu .vehicle-menu-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: 132px;
        gap: 7px;
        padding: 8px;
    }
    #menu .vehicle-menu-image { height: 74px; flex-basis: 74px; }
}

/* Footer with clear brand, contact, and navigation columns. */
footer {
    padding: 0;
    background: #17191c;
    color: #c9ced3;
}
footer .footer-shell {
    margin: 0;
    padding: 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr .8fr;
    gap: 55px;
    padding: 54px 0 42px;
}
.footer-brand .logo-footer {
    display: block;
    width: 210px;
    max-width: 100%;
    margin: 0 0 20px;
}
.footer-brand p {
    max-width: 290px;
    margin-bottom: 23px;
    color: #bdc3c9;
    font-size: 14px;
    line-height: 1.6;
}
.footer-services {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.footer-services img {
    width: auto;
    max-width: 95px;
    height: 31px;
    object-fit: contain;
    opacity: .82;
}
.footer-grid h4 {
    margin: 0 0 20px;
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: .025em;
    text-transform: none;
}
.footer-grid ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
.footer-grid li { margin-bottom: 12px; }
.footer-grid a { color: #c9ced3; }
.footer-grid a:hover,
.footer-grid a:focus { color: #fff; }
.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    line-height: 1.55;
}
.footer-contact li i {
    flex: 0 0 15px;
    margin-top: 4px;
    color: #ef3447;
    text-align: center;
}
.footer-zalo {
    display: inline-block;
    margin-top: 7px;
    padding: 9px 14px;
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}
.footer-zalo i { margin-left: 6px; }
.footer-links li { font-size: 14px; }
.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 0;
    border-top: 1px solid rgba(255, 255, 255, .12);
    color: #9299a1;
    font-size: 12px;
}

@media (min-width: 768px) and (max-width: 991px) {
    .quick-nav { padding-top: 102px; }
    .footer-grid { gap: 25px; }
}
@media (max-width: 767px) {
    body { padding-bottom: 64px; }
    header .navbar-header .hotline { display: none !important; }
    body.common-home #hot-product .wrapper {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px 10px;
    }
    body.common-home #hot-product .product-thumb-wrapper {
        float: none;
        width: auto;
        min-width: 0;
        margin: 0;
        padding: 0;
    }
    body.common-home #hot-product .product-thumb-middle {
        height: 100%;
        padding: 8px 7px 10px;
        border: 1px solid var(--line);
        border-radius: 9px;
        background: #fff;
    }
    body.common-home #hot-product .product-thumb .image img {
        display: block;
        width: 100%;
        aspect-ratio: 285 / 150;
        object-fit: contain;
    }
    body.common-home #hot-product .product-thumb .image h3 { margin: 0; }
    body.common-home #hot-product .product-thumb .image h3 a {
        position: static;
        display: flex;
        min-height: 24px;
        align-items: center;
        justify-content: center;
        padding: 0 2px;
        background: none;
        color: var(--ink);
        font-family: Arial, sans-serif;
        font-size: 12px;
        line-height: 1.2;
        text-shadow: none;
    }
    body.common-home #hot-product .product-thumb .caption { margin-top: 2px; }
    body.common-home #hot-product .price-wrapper { padding: 0; }
    body.common-home #hot-product .price-wrapper .number {
        color: var(--toyota-red-dark);
        font-size: clamp(13px, 3.7vw, 17px);
        white-space: nowrap;
    }
    .quick-nav {
        display: block;
        top: auto;
        right: 0;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 64px;
        padding: 0;
        background: #fff;
        border-top: 1px solid var(--line);
        box-shadow: 0 -4px 18px rgba(0, 0, 0, .11);
        z-index: 115;
    }
    .quick-nav #sidebar {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        height: 64px;
        margin: 0;
    }
    .quick-nav #sidebar li {
        padding: 0;
        border: 0;
    }
    .quick-nav #sidebar li a {
        display: flex;
        height: 64px;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2px;
        color: #5c6671;
        font-size: 10px;
        font-weight: 600;
        line-height: 1.15;
        text-decoration: none;
    }
    .quick-nav #sidebar li a i {
        display: block;
        color: #d51025;
        font-size: 20px;
        line-height: 23px;
    }
    .quick-nav #sidebar li a span { white-space: nowrap; }
    .floating-zalo { bottom: 80px; }
    .vehicle-gallery .gallery-heading { margin-bottom: 14px; }
    body.product #content > .vehicle-gallery .gallery-heading h3 { font-size: 24px; }
    .vehicle-gallery .gallery-feature {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .gallery-main-image { height: 240px; }
    .gallery-feature-copy { padding: 19px 21px 23px; }
    .gallery-feature-title { margin: 8px 0; font-size: 20px; }
    .vehicle-gallery .gallery-thumb { min-height: 140px; }
    .vehicle-gallery .gallery-thumb img { height: 88px; }
    .vehicle-gallery .gallery-thumbnails.owl-theme .owl-nav button.owl-prev,
    .vehicle-gallery .gallery-thumbnails.owl-theme .owl-nav button.owl-next { top: 48px; }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 31px;
        padding: 40px 8px 32px;
    }
    .footer-grid h4 { margin-bottom: 15px; }
    .footer-bottom {
        flex-direction: column;
        gap: 4px;
        padding-right: 8px;
        padding-left: 8px;
    }
}
