:root {
  --primary-color: #c91c22;
  --primary-color-rgb: 201, 28, 34;
  --primary-color-2: #d4af37;
  --primary-color-2-rgb: 212, 175, 55;
  --secondary-color: #d4af37;
  --secondary-color-rgb: 212, 175, 55;
}


footer h5,
footer.section-dark h5,
footer .widget h5,
.section-dark footer h5,
.section-dark .widget h5 {
    color: #1a1a1a !important;
}

/* ── FOOTER LIGHT THEME ── */
footer.section-dark,
footer {
    background: #f8f7f5 !important;
    color: #333333 !important;
    border-top: 1px solid rgba(0,0,0,0.08) !important;
}

footer p,
footer span,
footer li,
footer a {
    color: #444444 !important;
}

footer a:hover {
    color: var(--primary-color) !important;
}

footer .widget ul li a {
    color: #555555 !important;
}

footer .widget ul li a:hover {
    color: var(--primary-color) !important;
}

footer .social-icons i {
    background: rgba(0,0,0,0.07) !important;
    color: #333333 !important;
}

footer .social-icons i:hover {
    background: var(--primary-color) !important;
    color: #ffffff !important;
}

/* ── LOGO IN FOOTER ── */
footer img[src*="logo-full"] {
    height: 80px !important;
    width: auto !important;
    display: block !important;
}

.subfooter {
    background: #ffffff !important;
    border-top: 1px solid rgba(0,0,0,0.08) !important;
    color: #666666 !important;
}
.subfooter a,
.subfooter .menu-simple li a {
    color: #444444 !important;
    opacity: 0.8 !important;
}
.subfooter a:hover {
    color: var(--primary-color) !important;
    opacity: 1 !important;
}

/* ── LIGHT MARQUEE STRIP ── */
.de-marquee-section {
    background: linear-gradient(90deg, #faf8f5 0%, #f7f3e8 100%) !important;
    border-top: 1px solid rgba(212,175,55,0.25) !important;
    border-bottom: 1px solid rgba(212,175,55,0.25) !important;
    padding-top: 25px !important;
    padding-bottom: 25px !important;
    position: relative !important;
    z-index: 10 !important;
    overflow: hidden !important;
}

/* Hide jarallax background image if class is present */
.de-marquee-section .jarallax-img {
    display: none !important;
}

/* Marquee text styling — dark color with correct weights */
.de-marquee-section .de-marquee-list .d-item-txt {
    color: #1a1a1a !important; /* solid dark gray for clean reading */
    font-size: 32px !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
}

/* Red block/divider between items */
.de-marquee-section .de-marquee-list .d-item-block {
    background: var(--primary-color) !important; /* brand red */
    width: 30px !important;
    height: 3px !important;
    border-radius: 4px !important;
    margin: 0 25px !important;
    display: inline-block !important;
    vertical-align: middle !important;
    transform: translateY(-4px) !important;
}

/* ── FIX MARQUEE WRAPPING & DUPLICATION ── */
.de-marquee-list,
.de-marquee-list .d-item,
.js-marquee-wrapper {
    display: inline-flex !important;
    align-items: center !important;
    white-space: nowrap !important;
    flex-wrap: nowrap !important;
}

.de-marquee-list .d-item {
    display: inline-flex !important;
    align-items: center !important;
    white-space: nowrap !important;
}

.de-marquee-section .de-marquee-list .d-item-block.bg-white {
    background: var(--primary-color) !important; /* brand red instead of white */
}

/* ── FORCE WHITE PRELOADER SCREEN ── */
#de-loader,
.dark-scheme #de-loader {
    background: #ffffff !important;
}

/* ── HOME HERO LIGHT THEME ── */
#content > section.section-dark:first-of-type {
    background: #ffffff !important;
}

.swiper-inner {
    background-image: none !important;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%) !important;
}

/* Slide text elements */
.slider-title {
    color: #1a1a1a !important;
}

.slider-teaser {
    color: #444444 !important;
}

/* Spec boxes */
.swiper-slide .bg-dark {
    background: #f1f3f5 !important;
    color: #1a1a1a !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
}

.swiper-slide .bg-dark .fw-bold {
    color: #1a1a1a !important;
}

.swiper-slide .bg-dark .op-5 {
    color: #666666 !important;
    opacity: 0.8 !important;
}

/* Specs icons */
.swiper-slide .bg-dark i {
    color: var(--primary-color) !important; /* brand red icons */
}

/* Subtitle */
.swiper-slide .subtitle.s2 {
    background: rgba(201, 28, 34, 0.06) !important;
    color: var(--primary-color) !important;
    border: 1px solid rgba(201, 28, 34, 0.15) !important;
}

/* View Specifications button */
.swiper-slide .btn-line {
    border-color: rgba(0, 0, 0, 0.2) !important;
    color: #1a1a1a !important;
}

.swiper-slide .btn-line:hover {
    border-color: var(--primary-color) !important;
    color: var(--primary-color) !important;
    background: rgba(201, 28, 34, 0.05) !important;
}

/* Swiper navigation buttons and pagination */
.swiper-button-next,
.swiper-button-prev {
    color: #1a1a1a !important;
}

.swiper-pagination-bullet {
    background: #1a1a1a !important;
}

.swiper-pagination-bullet-active {
    background: var(--primary-color) !important;
}

/* ── MODE SWITCHER PERFECT ALIGNMENT & CONTRAST FIX ── */
.mode-switch-wrapper {
    display: inline-flex !important;
    position: relative !important;
    padding: 3px !important;
    background: rgba(0, 0, 0, 0.05) !important; /* subtle light grey background */
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    border-radius: 30px !important;
}

.mode-switch-wrapper span {
    width: 80px !important;
    min-width: 80px !important;
    padding: 5px 0 !important;
    text-align: center !important;
    display: inline-block !important;
    box-sizing: border-box !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    z-index: 2 !important;
    transition: color 0.25s ease !important;
}

/* Inactive states (must be dark gray) */
.mode-switch-wrapper span.customer-label,
.mode-switch-wrapper span.dealer-label,
header.transparent .mode-switch-wrapper span.customer-label,
header.transparent .mode-switch-wrapper span.dealer-label,
header.transparent.scroll-light .mode-switch-wrapper span.customer-label,
header.transparent.scroll-light .mode-switch-wrapper span.dealer-label {
    color: #444444 !important;
}

/* Explicit inactive states based on checkbox toggle */
.mode-toggle-checkbox:checked ~ .customer-label,
header.transparent .mode-toggle-checkbox:checked ~ .customer-label,
header.transparent.scroll-light .mode-toggle-checkbox:checked ~ .customer-label,
.mode-toggle-checkbox:not(:checked) ~ .dealer-label,
header.transparent .mode-toggle-checkbox:not(:checked) ~ .dealer-label,
header.transparent.scroll-light .mode-toggle-checkbox:not(:checked) ~ .dealer-label {
    color: #444444 !important;
}

/* Active states (must be white on the red slider background) */
.mode-toggle-checkbox:not(:checked) ~ .customer-label,
header.transparent .mode-toggle-checkbox:not(:checked) ~ .customer-label,
header.transparent.scroll-light .mode-toggle-checkbox:not(:checked) ~ .customer-label,
.mode-toggle-checkbox:checked ~ .dealer-label,
header.transparent .mode-toggle-checkbox:checked ~ .dealer-label,
header.transparent.scroll-light .mode-toggle-checkbox:checked ~ .dealer-label {
    color: #ffffff !important;
}

.mode-slider {
    width: 80px !important;
    height: calc(100% - 6px) !important;
    position: absolute !important;
    top: 3px !important;
    left: 3px !important;
    border-radius: 20px !important;
    background-color: var(--primary-color) !important; /* brand red */
    z-index: 1 !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.mode-toggle-checkbox:checked ~ .mode-slider {
    transform: translateX(80px) !important;
    background-color: var(--primary-color) !important; /* change black to brand red */
}
