:root {
    --urbanist: "Urbanist", sans-serif;
}

/* --- header top bar socials --- */
.top-bar-2 .box-socials-header a.icon-socials {
    height: 30px;
    width: 30px;
    line-height: 30px;
    margin-right: 4px;
}
.top-bar-2 .box-socials-header a.icon-socials svg {
    width: 18px;
    height: 18px;
}
a.icon-socials svg path {
    fill: #ffffff !important;
    transition: fill 0.25s ease-in-out;
}
a.icon-socials:hover svg path {
    fill: var(--bs-primary, #70f46d) !important;
}

/* --- topbar announcement button & icon vertical centering --- */
.topbar-announcement-ticker .btn i.fi,
.topbar-announcement-ticker .text-unlock i.fi {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    vertical-align: middle;
}

/* --- topbar 3-column equal flex centering --- */
.top-bar-2 .container-fluid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.top-bar-2 .text-header-info {
    flex: 1 1 0%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.top-bar-2 .text-header-info a {
    color: #ffffff !important;
    display: inline-flex;
    align-items: center;
    transition: color 0.25s ease-in-out;
    text-decoration: none;
    margin-right: 0px !important;
}

.top-bar-2 .text-header-info a i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: color 0.25s ease-in-out;
}

.top-bar-2 .text-header-info a:hover,
.top-bar-2 .text-header-info a:hover i,
.top-bar-2 .text-header-info a:hover span {
    color: var(--bs-primary, #70f46d) !important;
}

.top-bar-2 .text-header {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.top-bar-2 .top-right-header {
    flex: 1 1 0%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

/* --- brand marquee (replaces react-fast-marquee) --- */
.carouselTicker {
    overflow: hidden;
    padding-top: 12px !important;
    padding-bottom: 12px !important;
    margin-top: -12px !important;
    margin-bottom: -12px !important;
}
.carouselTicker__list {
    display: flex;
    align-items: center;
    width: max-content;
    padding-left: 0;
    overflow: visible !important;
    animation: carouselTicker 45s linear infinite;
    will-change: transform;
}
.carouselTicker__item {
    margin: 0 !important;
    float: none !important;
    padding-top: 6px !important;
    padding-bottom: 6px !important;
}
.carouselTicker:hover .carouselTicker__list {
    animation-play-state: paused;
}
@keyframes carouselTicker {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-33.33333%);
    }
}

/* --- brand marquee uniform dimensions --- */
.box-list-brand-car .item-brand {
    height: 72px !important;
    min-width: 140px !important;
    padding: 12px 24px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 12px !important;
    margin-right: 20px !important;
    margin-bottom: 0 !important;
    transition: all 0.3s ease !important;
}

.box-list-brand-car .item-brand:hover {
    border-color: var(--bs-brand-2, var(--bs-primary, #70f46d)) !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08) !important;
}

.box-list-brand-car .item-brand img {
    height: 32px !important;
    max-height: 32px !important;
    max-width: 90px !important;
    width: auto !important;
    object-fit: contain !important;
}

.link-hover-primary {
    transition: color 0.2s ease;
}
.link-hover-primary:hover {
    color: var(--bs-brand-2, var(--bs-primary, #70f46d)) !important;
}
.link-hover-primary i {
    position: relative !important;
    top: 2px !important;
    line-height: 1 !important;
    display: inline-block !important;
}

/* --- dual price range slider --- */
.price-range-slider {
    position: relative;
    height: 24px;
    margin-top: 15px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.price-range-slider::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 6px;
    background: #e4e8ee;
    border-radius: 4px;
    z-index: 1;
}

.price-range-track-active {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    height: 6px;
    background: var(--bs-primary, #f15d44);
    border-radius: 4px;
    z-index: 2;
    pointer-events: none;
}

.price-range-slider input[type="range"] {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    background: transparent;
    pointer-events: none;
    -webkit-appearance: none;
    appearance: none;
    z-index: 3;
}

.price-range-slider input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    pointer-events: auto;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ffffff;
    border: 3px solid var(--bs-primary, #f15d44);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.price-range-slider input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.15);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25);
}

.price-range-slider input[type="range"]::-moz-range-thumb {
    pointer-events: auto;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ffffff;
    border: 3px solid var(--bs-primary, #f15d44);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    cursor: pointer;
}

.price-range-slider input[type="range"]::-webkit-slider-runnable-track {
    background: transparent;
}

/* --- car card facility text protection --- */
.card-journey-small .card-info .card-program .card-facitlities p {
    font-size: 13px;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* --- header navigation centering --- */
.header .main-header .header-left {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: space-between;
}

.header .main-header .header-left .header-logo {
    flex: 1 1 0%;
    min-width: 0;
    margin-right: 0;
    display: flex;
    align-items: center;
}

.header .main-header .header-left .header-nav {
    flex: 0 0 auto;
    width: auto;
    text-align: center;
}

.header .main-header .header-left .header-right,
.header .main-header .header-right {
    flex: 1 1 0%;
    min-width: 0;
    width: auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

/* --- Logo Sizing & Scaling Constraints --- */
.header-logo img,
.mobile-header-logo img,
.sidebar-canvas-logo img {
    max-height: 40px !important;
    max-width: 180px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain;
}

.footer-1 .d-flex img,
.footer-1 img {
    max-height: 45px !important;
    max-width: 200px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain;
}

/* --- Header Lead CTA Button Pixel-Perfect Alignment --- */
.btn-header-lead {
    height: 46px !important;
    padding: 0 22px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    border-radius: 10px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    border: 1px solid var(--bs-brand-2-darken) !important;
}

.btn-header-lead i[class^="fi-"],
.btn-header-lead i[class*=" fi-"] {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    height: 16px !important;
    width: 16px !important;
    font-size: 16px !important;
    margin: 0 !important;
    padding: 0 !important;
    position: relative !important;
    top: 0 !important;
}

.btn-header-lead span {
    display: inline-block !important;
    line-height: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* --- Fix Navbar Sticky / Hover Background Color --- */
.header.header-fixed.sticky-bar.stick,
.header.sticky-bar.stick,
.header.header-home-2.sticky-bar.stick {
    background-color: var(--bs-header-bg, #101010) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    backdrop-filter: blur(20px) !important;
}

/* --- Dynamic Tick List Bullet Formatting --- */
.list-ticks-green li {
    background-image: none !important;
    padding-left: 0 !important;
    padding-right: 25px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
}

/* --- Dynamic Hero Section Background Image --- */
.block-banner-home1 .bg-shape::before {
    background-image: var(--hero-bg-url, url(../imgs/hero/hero-1/banner.png)) !important;
}

/* --- Swiper Navigation Buttons Clean SVG Styling --- */
.swiper-button-prev::after,
.swiper-button-next::after,
.swiper-button-prev-1::after,
.swiper-button-next-1::after,
.swiper-button-prev-2::after,
.swiper-button-next-2::after,
.swiper-button-prev-style-1::after,
.swiper-button-next-style-1::after,
.swiper-button-prev::before,
.swiper-button-next::before {
    display: none !important;
    content: none !important;
    font-size: 0 !important;
}

.swiper-button-prev-style-1,
.swiper-button-next-style-1 {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    background-color: var(--bs-neutral-200, #f0f0f0) !important;
    color: var(--bs-neutral-1000, #101010) !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    margin: 0 4px !important;
}

.swiper-button-prev-style-1 svg,
.swiper-button-next-style-1 svg {
    width: 16px !important;
    height: 16px !important;
    color: var(--bs-neutral-1000, #101010) !important;
    stroke: var(--bs-neutral-1000, #101010) !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    display: block !important;
}

.swiper-button-prev-style-1:hover,
.swiper-button-next-style-1:hover {
    background-color: var(--bs-brand-2, var(--bs-primary, #70f46d)) !important;
    color: var(--bs-button-hover-text, var(--bs-button-text, #ffffff)) !important;
    transform: translateY(-2px) scale(1.05) !important;
    box-shadow: 0 6px 16px rgba(227, 43, 43, 0.35) !important;
    filter: brightness(1.08) !important;
}

.swiper-button-prev-style-1:hover svg,
.swiper-button-next-style-1:hover svg,
.swiper-button-prev-style-1:hover svg path,
.swiper-button-next-style-1:hover svg path {
    color: var(--bs-button-hover-text, var(--bs-button-text, #ffffff)) !important;
    stroke: var(--bs-button-hover-text, var(--bs-button-text, #ffffff)) !important;
}

/* --- Car Card View Button Hover Micro-animations & Theme Text Color --- */
.card-button .btn,
.card-journey-small .btn-primary,
.btn.btn-primary,
.btn.btn-brand-2,
.btn.btn-book {
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative !important;
    color: var(--bs-button-text, #ffffff) !important;
}

.btn.btn-primary *,
.btn.btn-brand-2 *,
.btn.btn-book *,
.card-button .btn *,
.card-journey-small .btn-primary * {
    color: var(--bs-button-text, #ffffff) !important;
}

.card-button .btn:hover,
.card-journey-small .btn-primary:hover,
.btn.btn-primary:hover,
.btn.btn-brand-2:hover,
.btn.btn-book:hover {
    transform: translateY(-2px) scale(1.05) !important;
    box-shadow: 0 6px 16px rgba(227, 43, 43, 0.35) !important;
    filter: brightness(1.08) !important;
    color: var(--bs-button-hover-text, var(--bs-button-text, #ffffff)) !important;
}

/* --- Dynamic Play Button Component Micro-animations --- */
.btn-play-trigger {
    text-decoration: none !important;
    outline: none !important;
}

.play-button-wrapper {
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.btn-play-trigger:hover .play-button-wrapper {
    transform: scale(1.12) !important;
}

.play-button-icon {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25) !important;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.btn-play-trigger:hover .play-button-icon {
    box-shadow: 0 12px 30px rgba(227, 43, 43, 0.45) !important;
    filter: brightness(1.1) !important;
}

/* --- Category Card Popular Arrow Button Styling --- */
.card-popular .card-info .card-meta .card-button a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    background-color: var(--bs-neutral-200, #f0f0f0) !important;
    color: var(--bs-neutral-1000, #101010) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.card-popular .card-info .card-meta .card-button a svg {
    color: var(--bs-neutral-1000, #101010) !important;
    stroke: var(--bs-neutral-1000, #101010) !important;
    transition: all 0.3s ease !important;
}

.card-popular:hover .card-info .card-meta .card-button a,
.card-popular .card-info .card-meta .card-button a:hover {
    background-color: var(--bs-brand-2, var(--bs-primary, #70f46d)) !important;
    color: #ffffff !important;
    transform: scale(1.12) !important;
    box-shadow: 0 4px 14px rgba(227, 43, 43, 0.35) !important;
}

.card-popular:hover .card-info .card-meta .card-button a svg,
.card-popular .card-info .card-meta .card-button a:hover svg,
.card-popular:hover .card-info .card-meta .card-button a svg path,
.card-popular .card-info .card-meta .card-button a:hover svg path {
    color: #ffffff !important;
    stroke: #ffffff !important;
}
