body {
    color: var(--rider-color-text);
}

:root {
    --rider-color-primary: #eb210b;
    --rider-color-primary-top: #f26b38;
    --rider-color-primary-bottom: #ff0000;
    --rider-color-text: #000000;
    --rider-color-text-light: #e2e2e2;
    --rider-color-text-muted: #444444;
    --rider-color-text-muted-light: #a8a8a8;
    --rider-color-text-soft: #666666;
    --rider-color-divider: #dddddd;
    --rider-color-divider-light: #444444;
    --rider-color-surface-dark: #1f1f1f;
    --rider-color-surface-glass: rgba(255, 255, 255, 0.06);
}

.site-locale-switcher {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px 4px;
    border-bottom: 1px solid #333;
}

.site-locale-switcher--footer {
    margin-top: 12px;
    padding: 0;
    border-bottom: 0;
}

.site-locale-switcher__link,
.site-locale-switcher__link:link,
.site-locale-switcher__link:visited {
    color: var(--rider-color-text-soft);
    text-decoration: none;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 1px;
}

.site-locale-switcher__link.is-active {
    color: var(--rider-color-text);
    font-weight: 700;
}

.site-locale-switcher__divider {
    color: var(--rider-color-divider);
    font-size: 13px;
}

.site-locale-switcher__muted {
    color: var(--rider-color-text-soft);
    font-size: 13px;
}

.menu-hover-image {
    margin-left: -24px;
}

.site-footer {
    background-color: var(--rider-color-surface-dark);
    color: var(--rider-color-text-light);
    padding: 40px 20px;
    font-size: 14px;
    position: sticky;
    z-index: 999;
}

.site-footer__inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.site-footer__column {
    flex: 1;
    min-width: 200px;
    margin-bottom: 20px;
}

.site-footer__title {
    margin: 0 0 15px;
    color: var(--rider-color-text-light);
}

.site-footer__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-footer__list li + li {
    margin-top: 8px;
}

.site-footer__link,
.site-footer__link:link,
.site-footer__link:visited {
    color: var(--rider-color-text-muted-light);
    text-decoration: none;
}

.site-footer__link:hover,
.site-footer__link:focus {
    color: var(--rider-color-text-light);
}

.site-footer__socials {
    display: flex;
    gap: 15px;
}

.site-footer__icon-link,
.site-footer__icon-link:link,
.site-footer__icon-link:visited {
    color: var(--rider-color-text-muted-light);
    text-decoration: none;
}

.site-footer__icon-link:hover,
.site-footer__icon-link:focus {
    color: var(--rider-color-text-light);
}

.site-footer__payments {
    display: flex;
    align-items: center;
    gap: 10px;
}

.site-footer__payment-logo {
    width: auto;
    height: 48px;
}

.site-footer__copyright {
    margin-top: 30px;
    color: var(--rider-color-text-soft);
    text-align: center;
}

.frontend-empty-state {
    text-align: center;
}

.frontend-empty-state__phone,
.frontend-empty-state__phone:link,
.frontend-empty-state__phone:visited {
    color: #111111 !important;
    text-decoration: none;
}

.frontend-empty-state__phone:hover,
.frontend-empty-state__phone:focus {
    color: #000000 !important;
    text-decoration: underline;
}

.floating-feedback {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 99999;
    max-width: min(420px, calc(100vw - 32px));
}

.rider-faq-section {
    max-width: 860px;
    font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.rider-faq-heading {
    margin-bottom: 1.2rem;
    font-size: 1.4rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--rider-color-text-light);
}

.rider-faq-item {
    padding: 0;
    border-bottom: 1px solid rgba(128, 128, 128, 0.25);
}

.rider-faq-question {
    position: relative;
    cursor: pointer;
    list-style: none;
    padding: 0.85rem 2rem 0.85rem 0;
    font-size: 1rem;
    font-weight: 600;
    outline: none;
    color: var(--rider-color-text-muted-light);
}

.rider-faq-question::after {
    content: "+";
    position: absolute;
    right: 0;
    font-size: 1.3rem;
    font-weight: 300;
    line-height: 1;
    transition: transform 0.2s ease;
}

details[open] .rider-faq-question::after {
    content: "−";
}

.rider-faq-answer {
    padding: 0 0 1rem 0;
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--rider-color-text-muted-light);
    opacity: 1;
}

.cart-item-thumb {
    width: 80px;
    height: 60px;
    object-fit: cover;
}

.product-info-list {
    font-size: 0.85rem;
}

.product-info-list .info-title {
    color: var(--rider-color-text) !important;
}

.cart-qty-cell {
    width: 150px;
}

.cart-qty-input {
    max-width: 50px;
}

.cart-accessory-card {
    overflow: hidden;
    border-radius: 12px;
}

.cart-accessory-card__image-wrap {
    height: 200px;
    overflow: hidden;
}

.cart-accessory-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cart-empty-link,
.cart-empty-link:link,
.cart-empty-link:visited {
    color: inherit;
    text-decoration: underline;
}

.order-modal-content form label {
    display: block;
    margin-top: 10px;
    margin-bottom: 5px;
}

.moto-carousel {
    border-radius: 20px;
    overflow: hidden;
    background: transparent;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.moto-carousel .single_moto_image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 550px;
    background: radial-gradient(circle at center, #ececec 0%, #ececec 70%);
}

.moto-carousel img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.6s ease, filter 0.4s ease;
}

.moto-carousel .single_moto_image:hover img {
    transform: scale(1.15);
}

.eq-carousel {
    border-radius: 20px;
    overflow: hidden;
    background: transparent;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.eq-carousel .single_eq_image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 450px;
    background: radial-gradient(circle at center, #ffffff 0%, #f4f4f4 70%);
}

.eq-carousel img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.6s ease, filter 0.4s ease;
}

.eq-carousel .single_eq_image:hover img {
    transform: scale(1.1);
}

.equipment-card .eq-img {
    overflow: hidden;
}

.equipment-card .eq-img__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.accessory-show__title {
    font-size: 2.5rem;
    color: var(--rider-color-text);
}

.accessory-show__price {
    font-weight: 600;
}

.accessory-show__description {
    font-size: 1.1rem;
    line-height: 1.6;
}

.success-template {
    padding: 40px 15px;
    color: var(--rider-color-text);
}

.success-template .text-muted {
    color: var(--rider-color-text-muted) !important;
}

.success-template i {
    animation: rider-pulse 2s ease-in-out infinite;
}

select.form-select,
select:not([multiple]):not([size]) {
    background-repeat: no-repeat;
    background-position: right 0.85rem center;
    background-size: 16px 12px;
    padding-right: 2.5rem;
}

@keyframes rider-pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

@media screen and (max-width: 768px) {
    .site-footer {
        padding: 32px 18px;
    }

    .site-footer__inner {
        gap: 12px;
    }

    .moto-carousel {
        border-radius: 14px;
    }

    .moto-carousel .single_moto_image {
        height: 350px;
    }

    .eq-carousel {
        border-radius: 14px;
    }

    .eq-carousel .single_eq_image {
        height: 300px;
    }
}

/* Rider Buttons */
.btn-rider-primary {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--rider-color-primary);
    color: #ffffff !important;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid var(--rider-color-primary);
    text-align: center;
}

.btn-rider-primary:hover {
    background-color: transparent;
    color: var(--rider-color-primary) !important;
}

.btn-rider-outline {
    display: inline-block;
    padding: 10px 20px;
    background-color: transparent;
    color: var(--rider-color-text) !important;
    border: 2px solid var(--rider-color-divider);
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-rider-outline:hover {
    border-color: var(--rider-color-text);
    background-color: var(--rider-color-surface-glass);
}

/* Booking Widget Redesign */
.booking-widget {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 28px;
    margin-top: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.booking-widget:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.15);
}

.booking-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.booking-price-box {
    display: flex;
    flex-direction: column;
}

.booking-price-label {
    font-size: 0.85rem;
    color: var(--rider-color-text);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.booking-price-value {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--rider-color-primary);
    line-height: 1;
}

.booking-price-currency {
    font-size: 1.1rem;
    color: var(--rider-color-primary);
    margin-left: 4px;
}

.booking-deposit-box {
    text-align: right;
}

.booking-deposit-label {
    font-size: 0.8rem;
    color: var(--rider-color-text);
    margin-bottom: 2px;
}

.booking-deposit-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--rider-color-primary);
}

.booking-form-group {
    margin-bottom: 20px;
}

.booking-form-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--rider-color-text);
    margin-bottom: 8px;
    display: block;
}

.booking-input-wrapper {
    position: relative;
}

.booking-input-wrapper i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--rider-color-text-soft);
    pointer-events: none;
}

.booking-input-wrapper .form-control {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 12px;
    padding: 12px 16px 12px 45px;
    height: auto;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.booking-input-wrapper .form-control:focus {
    background: rgba(0, 0, 0, 0.3);
    border-color: var(--rider-color-primary);
    box-shadow: 0 0 0 4px rgba(235, 33, 11, 0.15);
    outline: none;
}

.btn-booking-submit {
    background: linear-gradient(135deg, var(--rider-color-primary-top) 0%, var(--rider-color-primary-bottom) 100%);
    border: none;
    padding: 16px;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 14px;
    box-shadow: 0 8px 20px rgba(235, 33, 11, 0.3);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-booking-submit:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 25px rgba(235, 33, 11, 0.45);
    filter: brightness(1.1);
}

.btn-booking-submit:active {
    transform: scale(0.98);
}

/* Sidebar Overrides for Dark Background */
.sidebar-wrapper {
    color: var(--rider-color-text-light) !important;
}

.sidebar-wrapper a,
.sidebar-wrapper a:link,
.sidebar-wrapper a:visited {
    color: var(--rider-color-text-light);
}

.sidebar-wrapper i {
    color: var(--rider-color-text-light);
}

.sidebar-menu .menu-image-title-after {
    color: var(--rider-color-text-light);
}

.site-locale-switcher__link.is-active {
    color: var(--rider-color-text-light);
}

.sidebar-footer a {
    color: var(--rider-color-text-muted-light) !important;
}

.sidebar-footer a:hover {
    color: var(--rider-color-text-light) !important;
}

/* Tour Page Overrides */
.rider-map-tour-names-block .rider-count-days-title,
.rider-map-tour-names-block .rider-tour-title,
.rider-map-tour-names-block .rider-location-name,
.rider-map-tour-names-block .rider-day-desc,
.rider-map-tour-names-block label {
    color: var(--rider-color-text);
}

.rider-active .rider-count-days-title,
.rider-active .rider-tour-title {
    color: white !important;
}
