.elementor-kit-5{--e-global-color-primary:#DD000E;--e-global-color-secondary:#000000;--e-global-color-text:#FFFFFF;--e-global-color-accent:#DD000E;--e-global-color-9d221e1:#FFFFFF99;--e-global-color-1c30c56:#00BC38;--e-global-color-a00eda8:#00952D;--e-global-color-ed88f6e:#B5151F;--e-global-typography-primary-font-family:"CMU";--e-global-typography-primary-font-weight:600;--e-global-typography-secondary-font-family:"CMU";--e-global-typography-secondary-font-weight:400;--e-global-typography-text-font-family:"CMU";--e-global-typography-text-font-weight:300;--e-global-typography-accent-font-family:"CMU";--e-global-typography-accent-font-weight:500;background-color:var( --e-global-color-secondary );}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1200px;}.e-con{--container-max-width:1200px;--container-default-padding-top:0px;--container-default-padding-right:0px;--container-default-padding-bottom:0px;--container-default-padding-left:0px;}.elementor-widget:not(:last-child){--kit-widget-spacing:0px;}.elementor-element{--widgets-spacing:0px 0px;--widgets-spacing-row:0px;--widgets-spacing-column:0px;}{}h1.entry-title{display:var(--page-title-display);}.elementor-kit-5 e-page-transition{background-color:#FFBC7D;}@media(max-width:991px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:1024px;}.e-con{--container-max-width:1024px;}}@media(max-width:767px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:767px;}.e-con{--container-max-width:767px;}}/* Start custom CSS */.vehicle-models .th-brand-models {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* ชื่อยี่ห้อ */
.vehicle-models .th-brand-models .th-brand-models__title {
    margin: 0 0 10px;
    font-family: inherit;
    font-weight: 600;
    font-style: italic;
    color: var(--e-global-color-text);
}

.vehicle-models .th-brand-models .th-brand-models__title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.vehicle-models .th-brand-models .th-brand-models__title a:hover,
.vehicle-models .th-brand-models .th-brand-models__title a:focus-visible {
    color: var(--e-global-color-9d221e1);
}

/* รายการรุ่น */
.vehicle-models .th-brand-models .th-brand-models__list {
    display: grid;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.vehicle-models .th-brand-models .th-brand-models__list li {
    margin: 0;
    padding: 0;
}

.vehicle-models .th-brand-models .th-brand-models__list a {
    color: var(--e-global-color-9d221e1);
    text-decoration: none;
    font-weight: 300;
    transition: color 0.2s ease;
}

.vehicle-models .th-brand-models .th-brand-models__list a:hover,
.vehicle-models .th-brand-models .th-brand-models__list a:focus-visible {
    color: var(--e-global-color-text);
}

/* ให้สไลด์แต่ละรูปมีความสูงตามภาพของตัวเอง */
.thumb-carousel .elementor-image-carousel-wrapper {
    height: auto !important;
}

.thumb-carousel .swiper-wrapper {
    align-items: flex-start !important;
}

.thumb-carousel .swiper-slide {
    height: auto !important;
    align-self: flex-start;
}

.thumb-carousel .swiper-slide-inner {
    display: block;
    margin: 0;
}

.thumb-carousel .swiper-slide-image {
    display: block;
    width: 100%;
    height: auto !important;
}

/* Thumbnail Navigation */
.thumb-carousel .thumb-carousel__nav {
    --arrow-size: 36px;

    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    margin-top: 12px;
    padding-inline: calc(var(--arrow-size) / 2);
    box-sizing: border-box;
    isolation: isolate;
}

.thumb-carousel .thumb-carousel__nav .swiper-pagination {
    position: relative !important;
    inset: auto !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    flex: 1 1 auto;
    align-items: center;
    justify-content: flex-start !important;
    gap: 10px !important;
    width: 100% !important;
    min-width: 0;
    margin: 0 !important;
    padding: 0;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    z-index: 1;
}

.thumb-carousel .thumb-carousel__nav .swiper-pagination::-webkit-scrollbar {
    display: none;
}

.thumb-carousel .swiper-pagination-bullet {
    display: block;
    flex: 0 0 120px !important;
    width: 120px !important;
    min-width: 120px !important;
    height: 80px !important;
    margin: 0 !important;
    border: 1px solid transparent !important;
    border-radius: 9px !important;
    background-color: #222 !important;
    background-image: var(--thumb-image) !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    opacity: 0.7 !important;
    box-sizing: border-box;
    cursor: pointer;
    transition:
        opacity 0.2s ease,
        border-color 0.2s ease;
}

.thumb-carousel .swiper-pagination-bullet:hover,
.thumb-carousel .swiper-pagination-bullet-active {
    opacity: 1 !important;
}

.thumb-carousel .swiper-pagination-bullet-active {
    border-color: #fff !important;
}

/* Navigation Arrows */
.thumb-carousel .thumb-carousel__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    display: grid;
    place-items: center;
    width: var(--arrow-size);
    height: var(--arrow-size);
    padding: 0;
    border: 2px solid #292929;
    border-radius: 50%;
    background: #111;
    color: #fff;
    font: 22px/1 Arial, sans-serif;
    cursor: pointer;
    box-sizing: border-box;
    box-shadow: 0 2px 8px #00000040;
    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        opacity 0.2s ease;
}

.thumb-carousel .thumb-carousel__arrow:first-child {
    left: 0;
}

.thumb-carousel .thumb-carousel__arrow:last-child {
    right: 0;
}

.thumb-carousel .thumb-carousel__arrow:hover:not(:disabled) {
    background: #333;
    border-color: #555;
    color: #fff;
}

.thumb-carousel .thumb-carousel__arrow:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.thumb-carousel .thumb-carousel__arrow:disabled {
    opacity: 0.5;
    pointer-events: none;
    cursor: default;
}

@media (max-width: 991px) {
    .thumb-carousel .thumb-carousel__nav {
        --arrow-size: 32px;
    }

    .thumb-carousel .swiper-pagination-bullet {
        flex-basis: 100px !important;
        width: 100px !important;
        min-width: 100px !important;
        height: 70px !important;
    }

    .thumb-carousel .thumb-carousel__arrow {
        font-size: 20px;
    }
}

@media (max-width: 767px) {
    .thumb-carousel .thumb-carousel__nav {
        --arrow-size: 28px;
        margin-top: 10px;
    }

    .thumb-carousel .thumb-carousel__nav .swiper-pagination {
        gap: 8px !important;
    }

    .thumb-carousel .swiper-pagination-bullet {
        flex-basis: 90px !important;
        width: 90px !important;
        min-width: 90px !important;
        height: 65px !important;
        border-radius: 8px !important;
    }

    .thumb-carousel .thumb-carousel__arrow {
        font-size: 18px;
    }
}

/*OFF Canvas*/


/* =========================================
   Vehicle Models - Mobile Off-Canvas
========================================= */

@media (max-width: 767px) {

    /* Off-Canvas Panel */
    .vehicle-models {
        position: fixed !important;
        top: 0;
        left: 0;
        z-index: 99999;
        box-sizing: border-box;
        width: min(340px, 88vw);
        max-width: 100%;
        height: 100vh;
        height: 100dvh;
        margin: 0;
        padding: 20px;
        background: #0F0F0F;
        color: #fff;
        border-right: 1px solid rgba(255, 255, 255, 0.08);
        box-shadow: 0 0 30px rgba(0, 0, 0, 0.35);
        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;

        transform: translate3d(-101%, 0, 0);
        visibility: hidden;
        pointer-events: none;

        transition:
            transform 0.3s ease,
            visibility 0.3s;
    }

    /* Open State */
    .vehicle-models.is-open {
        transform: translate3d(0, 0, 0);
        visibility: visible;
        pointer-events: auto;
    }

    /* Header */
    .vehicle-models__header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 15px;
        margin-bottom: 20px;
        padding-bottom: 15px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    }

    .vehicle-models__heading {
        margin: 0;
        color: #fff;
        font-size: 18px;
        font-weight: 700;
        line-height: 1.4;
    }

    /* Close Button - Override Elementor Styles */
    .vehicle-models button.vehicle-models__close,
    .vehicle-models button.vehicle-models__close:focus,
    .vehicle-models button.vehicle-models__close:focus-visible,
    .vehicle-models button.vehicle-models__close:active {
        position: relative;
        display: grid;
        place-items: center;
        flex: 0 0 40px;
        width: 40px;
        height: 40px;
        min-width: 40px;
        min-height: 40px;
        padding: 0;
        margin: 0;
        appearance: none;
        -webkit-appearance: none;
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 10px;
        background: #1A1A1A;
        background-image: none;
        color: #fff;
        font-size: 0;
        line-height: 0;
        box-shadow: none;
        text-decoration: none;
        cursor: pointer;
        transition: background-color 0.2s ease;
    }

    /* Hover State */
    .vehicle-models button.vehicle-models__close:hover {
        background: #2A2A2A;
        color: #fff;
        border-color: rgba(255, 255, 255, 0.08);
        box-shadow: none;
    }

    /* Focus State */
    .vehicle-models button.vehicle-models__close:focus {
        background-color: #1A1A1A;
        color: #fff;
        box-shadow: none;
        outline: none;
    }

    /* Keyboard Focus */
    .vehicle-models button.vehicle-models__close:focus-visible {
        background-color: #1A1A1A;
        color: #fff;
        outline: 2px solid #fff;
        outline-offset: 2px;
    }

    /* Active State */
    .vehicle-models button.vehicle-models__close:active {
        background-color: #1A1A1A;
        color: #fff;
        box-shadow: none;
    }

    /* Centered X Icon */
    .vehicle-models__close::before,
    .vehicle-models__close::after {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        width: 16px;
        height: 2px;
        background: currentColor;
        border: 0;
        border-radius: 2px;
        transform-origin: center;
        pointer-events: none;
    }

    .vehicle-models__close::before {
        transform: translate(-50%, -50%) rotate(45deg);
    }

    .vehicle-models__close::after {
        transform: translate(-50%, -50%) rotate(-45deg);
    }

    /* Backdrop */
    .vehicle-models__backdrop {
        position: fixed;
        inset: 0;
        z-index: 99998;
        background: rgba(0, 0, 0, 0.65);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;

        transition:
            opacity 0.3s ease,
            visibility 0.3s;
    }

    .vehicle-models__backdrop.is-open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    /* Lock Background Scrolling */
    body.vehicle-models-locked {
        overflow: hidden;
    }

    /* Brand Models Layout */
    .vehicle-models .th-brand-models {
        display: flex;
        flex-direction: column;
        gap: 24px;
    }

    /* Brand Title */
    .vehicle-models .th-brand-models .th-brand-models__title {
        margin: 0 0 10px;
        color: #fff;
        font-weight: 600;
        font-style: italic;
    }

    .vehicle-models .th-brand-models .th-brand-models__title a {
        color: inherit;
        text-decoration: none;
        transition: color 0.2s ease;
    }

    .vehicle-models .th-brand-models .th-brand-models__title a:hover,
    .vehicle-models .th-brand-models .th-brand-models__title a:focus-visible {
        color: #ff2a2a;
    }

    /* Model List */
    .vehicle-models .th-brand-models .th-brand-models__list {
        display: grid;
        gap: 4px;
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .vehicle-models .th-brand-models .th-brand-models__list li {
        margin: 0;
        padding: 0;
    }

    .vehicle-models .th-brand-models .th-brand-models__list a {
        color: rgba(255, 255, 255, 0.78);
        text-decoration: none;
        font-weight: 300;
        transition: color 0.2s ease;
    }

    .vehicle-models .th-brand-models .th-brand-models__list a:hover,
    .vehicle-models .th-brand-models .th-brand-models__list a:focus-visible {
        color: #ff2a2a;
    }
}

/* Desktop & Tablet */
@media (min-width: 768px) {
    .vehicle-models__header,
    .vehicle-models__backdrop {
        display: none !important;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .vehicle-models,
    .vehicle-models__backdrop,
    .vehicle-models__close {
        transition: none !important;
    }
}

/*Fix bug bullet loop Carousel*/
.bullet_loop_carousel .swiper-pagination.swiper-pagination-clickable.swiper-pagination-bullets.swiper-pagination-horizontal {
        transform: unset !important;
    }

.bullet_loop_carousel .swiper-pagination.swiper-pagination-clickable.swiper-pagination-bullets.swiper-pagination-horizontal {
    text-align: center;
}/* End custom CSS */
/* Start Custom Fonts CSS */@font-face {
	font-family: 'CMU';
	font-style: normal;
	font-weight: 300;
	font-display: auto;
	src: url('https://www.thunder-superbike.com/wp-content/uploads/2026/10/CMU-Light.eot');
	src: url('https://www.thunder-superbike.com/wp-content/uploads/2026/10/CMU-Light.eot?#iefix') format('embedded-opentype'),
		url('https://www.thunder-superbike.com/wp-content/uploads/2026/10/CMU-Light.woff2') format('woff2'),
		url('https://www.thunder-superbike.com/wp-content/uploads/2026/10/CMU-Light.woff') format('woff'),
		url('https://www.thunder-superbike.com/wp-content/uploads/2026/10/CMU-Light.ttf') format('truetype'),
		url('https://www.thunder-superbike.com/wp-content/uploads/2026/10/CMU-Light.svg#CMU') format('svg');
}
@font-face {
	font-family: 'CMU';
	font-style: normal;
	font-weight: normal;
	font-display: auto;
	src: url('https://www.thunder-superbike.com/wp-content/uploads/2026/10/CMU-Regular.eot');
	src: url('https://www.thunder-superbike.com/wp-content/uploads/2026/10/CMU-Regular.eot?#iefix') format('embedded-opentype'),
		url('https://www.thunder-superbike.com/wp-content/uploads/2026/10/CMU-Regular.woff2') format('woff2'),
		url('https://www.thunder-superbike.com/wp-content/uploads/2026/10/CMU-Regular.woff') format('woff'),
		url('https://www.thunder-superbike.com/wp-content/uploads/2026/10/CMU-Regular.ttf') format('truetype'),
		url('https://www.thunder-superbike.com/wp-content/uploads/2026/10/CMU-Regular.svg#CMU') format('svg');
}
@font-face {
	font-family: 'CMU';
	font-style: normal;
	font-weight: 600;
	font-display: auto;
	src: url('https://www.thunder-superbike.com/wp-content/uploads/2026/10/CMU-Bold.eot');
	src: url('https://www.thunder-superbike.com/wp-content/uploads/2026/10/CMU-Bold.eot?#iefix') format('embedded-opentype'),
		url('https://www.thunder-superbike.com/wp-content/uploads/2026/10/CMU-Bold.woff2') format('woff2'),
		url('https://www.thunder-superbike.com/wp-content/uploads/2026/10/CMU-Bold.woff') format('woff'),
		url('https://www.thunder-superbike.com/wp-content/uploads/2026/10/CMU-Bold.ttf') format('truetype'),
		url('https://www.thunder-superbike.com/wp-content/uploads/2026/10/CMU-Bold.svg#CMU') format('svg');
}
/* End Custom Fonts CSS */