:root {
    --im-dark-bg: #090b10;
    --im-dark-surface: #11141b;
    --im-dark-surface-2: #171b24;
    --im-dark-border: rgba(201, 170, 121, .24);
    --im-dark-text: #f4efe8;
    --im-dark-muted: #c7c0b6;
    --im-dark-gold: #c9aa79;
    --im-dark-gold-2: #f0d39b;
}

.swiper-slide-caption {
    background: transparent !important;
    background-color: transparent !important;
}

.rd-navbar-panel-inner {
    align-items: center;
    position: relative;
}

.header-action-tools {
    position: absolute;
    left: 15px;
    top: 50%;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: -17px;
}

body[dir="ltr"] .header-action-tools {
    right: 15px;
    left: auto;
}

.dark-mode-toggle {
    width: 34px;
    height: 34px;
    border: 0;
    background: transparent;
    color: #191919;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    cursor: pointer;
    transition: color .2s ease, opacity .2s ease;
}

    .dark-mode-toggle::before {
        content: "";
        width: 23px;
        height: 23px;
        display: block;
        background: currentColor;
        -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.6 14.3A8.6 8.6 0 0 1 9.7 3.4a8.6 8.6 0 1 0 10.9 10.9Z'/%3E%3C/svg%3E") center / contain no-repeat;
        mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.6 14.3A8.6 8.6 0 0 1 9.7 3.4a8.6 8.6 0 1 0 10.9 10.9Z'/%3E%3C/svg%3E") center / contain no-repeat;
    }

    .dark-mode-toggle:hover,
    .dark-mode-toggle:focus-visible {
        color: var(--im-dark-gold);
        outline: none;
    }

html.im-dark body:not(.webapp-host) .branch-mobile-category-card span {
    color: #000 !important;
}

html.im-dark,
html.im-dark body {
    background: var(--im-dark-bg) !important;
    color: var(--im-dark-text);
    color-scheme: dark;
}

    html.im-dark .page,
    html.im-dark .offers-page,
    html.im-dark main,
    html.im-dark .section,
    html.im-dark .section-md,
    html.im-dark .section-lg,
    html.im-dark .section-xl,
    html.im-dark .bg-default,
    html.im-dark .bg-gray-100,
    html.im-dark .bg-gray-200,
    html.im-dark .bg-white {
        background-color: var(--im-dark-bg) !important;
        color: var(--im-dark-text);
    }

        html.im-dark .offers-page .offers-empty {
            background: #11141b !important;
            color: var(--im-dark-text) !important;
            border: 1px solid var(--im-dark-border) !important;
        }

    html.im-dark .swiper-slide-caption,
    html.im-dark .swiper-slide-caption.section-md,
    html.im-dark .swiper-slider-classic .swiper-slide-caption {
        background: transparent !important;
        background-color: transparent !important;
    }

    html.im-dark .rd-navbar,
    html.im-dark .rd-navbar-main-outer,
    html.im-dark .rd-navbar-panel,
    html.im-dark .rd-navbar-main-element,
    html.im-dark .rd-navbar-fixed .rd-navbar-panel,
    html.im-dark .rd-navbar-fixed .rd-navbar-nav-wrap {
        background: rgba(9, 11, 16, .96) !important;
        color: var(--im-dark-text);
        border-color: var(--im-dark-border) !important;
    }

    html.im-dark .rd-navbar-brand img,
    html.im-dark .preloader img[src*="iranmall.svg"] {
        filter: brightness(0) invert(1);
    }

    html.im-dark .preloader {
        background: radial-gradient(circle at bottom center, rgba(201, 170, 121, .10), transparent 70%), radial-gradient(circle at top left, rgba(255, 255, 255, .05), transparent 70%), linear-gradient(180deg, #090b10 0%, #11141b 48%, #06080c 100%) !important;
        color: var(--im-dark-text) !important;
    }

        html.im-dark .preloader .preloader-body,
        html.im-dark .preloader .cssload-container {
            background: transparent !important;
            color: var(--im-dark-text) !important;
        }

        html.im-dark .preloader .cssload-speeding-wheel {
            border-color: var(--im-dark-gold) !important;
            border-right-color: transparent !important;
            border-bottom-color: transparent !important;
        }

    html.im-dark .site-sections__menu a, html.im-dark .rd-megamenu-title,, html.im-dark .rd-megamenu-title  a{
        color: var(--im-dark-gold-2) !important;
    }




        html.im-dark .rd-nav-link, html.im-dark .rd-navbar--is-stuck.rd-navbar-classic.rd-navbar-static .rd-nav-link,
        html.im-dark .rd-dropdown-link,
        html.im-dark .rd-megamenu-list-link,
        html.im-dark .rd-navbar-megamenu .rd-megamenu-list-link,
        html.im-dark .im-megamenu .rd-megamenu-list-link,
        html.im-dark .rd-megamenu-list a,
        html.im-dark .font-color-2,
        html.im-dark .lang,
        html.im-dark .btn-search-name {
            color: var(--im-dark-text) !important;
        }

            html.im-dark .rd-nav-link:hover,
            html.im-dark .rd-nav-link:focus,
            html.im-dark .rd-dropdown-link:hover,
            html.im-dark .rd-megamenu-title a:hover,
            html.im-dark .rd-megamenu-list-link:hover,
            html.im-dark .site-sections__menu a:hover,
            html.im-dark .lang:hover {
                color: var(--im-dark-gold-2) !important;
            }

    html.im-dark .rd-navbar-dropdown,
    html.im-dark .rd-navbar-megamenu,
    html.im-dark .im-megamenu,
    html.im-dark .rd-search,
    html.im-dark .rd-search-results-panel {
        background: var(--im-dark-surface) !important;
        color: var(--im-dark-text);
        border-color: var(--im-dark-border) !important;
        box-shadow: 0 18px 45px rgba(0, 0, 0, .42);
    }

    html.im-dark .im-megamenu-image-card {
        background: rgb(9, 11, 16) !important;
    }

    html.im-dark .rd-menu.rd-navbar-megamenu,
    html.im-dark .rd-navbar-megamenu {
        background: rgb(9, 11, 16) !important;
    }

    html.im-dark .rd-navbar-search-toggle,
    html.im-dark .rd-search-form-submit {
        color: var(--im-dark-text) !important;
    }

    html.im-dark .rd-navbar-search .form-input,
    html.im-dark .rd-navbar-search-form-input,
    html.im-dark .rd-search-results-panel,
    html.im-dark .rd-search-results-panel .section-title,
    html.im-dark .rd-search-results-panel .post-modern-title a,
    html.im-dark .rd-search-results-panel .post-modern-text,
    html.im-dark .rd-search-results-panel .branch-title a,
    html.im-dark .rd-search-results-panel .branch-meta-inline {
        color: var(--im-dark-text) !important;
    }

    html.im-dark .rd-navbar-search .form-input,
    html.im-dark .rd-navbar-search-form-input {
        -webkit-text-fill-color: var(--im-dark-text) !important;
    }

    html.im-dark .rd-navbar-toggle {
        background: transparent !important;
        color: var(--im-dark-text) !important;
    }

    html.im-dark .rd-navbar-search-toggle span::before,
    html.im-dark .rd-navbar-search-toggle span::after {
        background: transparent !important;
    }

    html.im-dark .rd-navbar-toggle span,
    html.im-dark .rd-navbar-toggle span::before,
    html.im-dark .rd-navbar-toggle span::after,
    html.im-dark .navbar-toggler .bar1,
    html.im-dark .navbar-toggler .bar2,
    html.im-dark .navbar-toggler .bar3 {
        background: var(--im-dark-text) !important;
    }

    html.im-dark .dark-mode-toggle {
        color: var(--im-dark-gold-2);
    }

        html.im-dark .dark-mode-toggle::before {
            -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='4.2'/%3E%3Cpath d='M12 2.8v2.1M12 19.1v2.1M4.2 4.2l1.5 1.5M18.3 18.3l1.5 1.5M2.8 12h2.1M19.1 12h2.1M4.2 19.8l1.5-1.5M18.3 5.7l1.5-1.5'/%3E%3C/svg%3E") center / contain no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='4.2'/%3E%3Cpath d='M12 2.8v2.1M12 19.1v2.1M4.2 4.2l1.5 1.5M18.3 18.3l1.5 1.5M2.8 12h2.1M19.1 12h2.1M4.2 19.8l1.5-1.5M18.3 5.7l1.5-1.5'/%3E%3C/svg%3E") center / contain no-repeat;
        }
    html.im-dark h1,
    html.im-dark h2,
    html.im-dark h4,
    html.im-dark h5,
    html.im-dark h6,
    html.im-dark .section-title,
    html.im-dark .title,
    html.im-dark .heading,
    html.im-dark .post-title,
    html.im-dark .branch-title,
    html.im-dark .branch-logo-title,
    html.im-dark .branch-logo-title-en {
        color: var(--im-dark-text) !important;
    }
    html.im-dark .rd-navbar-static .rd-megamenu-title {
        color: var(--im-dark-gold-2) !important;
    }

    html.im-dark  .floor-map-tab.active {
        color: #111;
        background: var(--im-dark-gold);
    }


    html.im-dark  .floor-map-reset {
        border: 1px solid var(--im-dark-gold-2);
        background: transparent;
        color: var(--im-dark-gold-2);
        font-weight: 800;
        border-radius: 8px;
    }


html.im-dark h3 {
    color: #db8 !important;
    font-weight: 800;
}


    html.im-dark p,
    html.im-dark li,
    html.im-dark label,
    html.im-dark span,
    html.im-dark .text,
    html.im-dark .description,
    html.im-dark .branch-meta,
    html.im-dark .branch-meta-inline,
    html.im-dark .im-megamenu-text-description {
        color: inherit;
    }

    html.im-dark a:not(.button):not(.btn):not(.branch-logo-wrap) {
        color: var(--im-dark-gold-2);
    }

        html.im-dark a:not(.button):not(.btn):not(.branch-logo-wrap):hover {
            color: var(--im-dark-gold-2);
        }

    html.im-dark .card,
    html.im-dark .box,
    html.im-dark .news-item,
    html.im-dark .event-item,
    html.im-dark .gallery-item,
    html.im-dark .branch-card,
    html.im-dark .branch-main-card,
    html.im-dark .branch-detail-section-overlap .branch-main-card,
    html.im-dark .branch-filter-box,
    html.im-dark .offers-filter-box,
    html.im-dark .im-filter-form,
    html.im-dark .faq-item,
    html.im-dark .contact-box,
    html.im-dark .form-wrap,
    html.im-dark .modal-content,
    html.im-dark .table,
    html.im-dark .internal-page-content {
        background: linear-gradient(160deg, var(--im-dark-surface), var(--im-dark-surface-2)) !important;
        color: var(--im-dark-text);
        border-color: var(--im-dark-border) !important;
        box-shadow: 0 16px 36px rgba(0, 0, 0, .32);
    }


    html.im-dark .im-stack, html.im-dark .im-pair {
        background: #11141d;
    }

    html .im-dark .branch-main-card, html.im-dark .branch-detail-section-overlap .branch-main-card {
        background: linear-gradient(160deg, #11141b5c, var(--im-dark-surface-2)) !important;
    }

.html.im-dark .post {
    background: #090b10 !important;
}

html.im-dark .branch-detail-section-overlap {
    background: transparent !important;
    color: var(--im-dark-text) !important;
}

html.im-dark .branch-detail-hero::after {
    background: linear-gradient(to top, var(--im-dark-bg) 0%, rgba(9, 11, 16, .78) 28%, rgba(9, 11, 16, .32) 64%, rgba(9, 11, 16, 0) 100%) !important;
}

html.im-dark .branch-main-card *,
html.im-dark .branch-detail-section-overlap .branch-main-card * {
    color: inherit;
}

html.im-dark .branch-detail-title,
html.im-dark .branch-description,
html.im-dark .branch-title-block,
html.im-dark .branch-rating,
html.im-dark .branch-rating-value,
html.im-dark .branch-meta-inline,
html.im-dark .post-modern-time,
html.im-dark .branch-related-special-title,
html.im-dark .branch-related-special-title a {
    color: var(--im-dark-text) !important;
}

html.im-dark .post-modern-time {
    background: #11141b !important;
    border-color: var(--im-dark-border) !important;
}

html.im-dark .post-modern .text-muted {
    color: var(--im-dark-muted) !important;
}

html.im-dark .post-modern-text,
html.im-dark .post-modern-text * {
    background-color: transparent !important;
    color: var(--im-dark-text) !important;
}

    html.im-dark .post-modern-text a {
        color: var(--im-dark-gold) !important;
    }

html.im-dark .post-sidebar,
html.im-dark .post-sidebar-item,
html.im-dark .post-sidebar-item-inset {
    background: var(--im-dark-bg) !important;
    color: var(--im-dark-text) !important;
    border-color: var(--im-dark-border) !important;
}

    html.im-dark .post-sidebar h5,
    html.im-dark .post-sidebar.post-sidebar-inset h5,
    html.im-dark .post-sidebar-item h5,
    html.im-dark .post-sidebar .post-sidebar-item > h5 {
        color: #000 !important;
        background: #db8 !important;
        font-weight: 600;
    }


html.im-dark .post-minimal-title,
html.im-dark .post-minimal-title a {
    color: var(--im-dark-text) !important;
    background: transparent !important;
}


html.im-dark .post-sidebar-item {
    border: 1px solid var(--im-dark-border) !important;
    box-shadow: 0 16px 36px rgba(0, 0, 0, .28);
}

html.im-dark .post-minimal + .post-minimal {
    border-top-color: var(--im-dark-border) !important;
}
html.im-dark .hours-tab.active {
    color: #090b10 !important;
    border-color: #c9aa79 !important;
}

html.im-dark .hours-acc-btn {
    color: var(--im-dark-text) !important;
}

html.im-dark .hours-acc-btn .mark {
    color: var(--im-dark-gold-2) !important;
}

/* Services page */
html.im-dark .services-page {
    background: var(--im-dark-bg) !important;
    color: var(--im-dark-text) !important;
}

html.im-dark .services-intro {
    color: var(--im-dark-text) !important;
}

html.im-dark .service-item {
    background: var(--im-dark-surface) !important;
    border-color: var(--im-dark-border) !important;
    box-shadow: none !important;
}

html.im-dark .service-toggle {
    color: var(--im-dark-text) !important;
    background: transparent !important;
}

html.im-dark .service-title,
html.im-dark .service-icon,
html.im-dark .service-body,
html.im-dark .service-body p {
    color: var(--im-dark-text) !important;
}

html.im-dark .service-chevron {
    border-color: var(--im-dark-gold-2) !important;
}

html.im-dark .service-body {
    background: rgba(255, 255, 255, .025) !important;
    border-top-color: var(--im-dark-border) !important;
}

html.im-dark .service-item.open {
    border-color: rgba(201, 170, 121, .42) !important;
}

html.im-dark .blog-post span {
    color: var(--im-dark-gold) !important;
}

html.im-dark .blog-post,
html.im-dark .post-classic,
html.im-dark .quote-classic,
html.im-dark .quote-classic-text,
html.im-dark .quote-classic-text *,
html.im-dark .blog-post > *,
html.im-dark .blog-post p,
html.im-dark .blog-post div:not(.post-classic-figure):not(.im-media-slider):not(.im-media-main):not(.im-media-thumbs):not(.post-classic-panel) {
    background-color: transparent !important;
    color: var(--im-dark-text) !important;
}

    html.im-dark .blog-post a {
        color: var(--im-dark-gold) !important;
    }

html.im-dark .branch-type-pill {
    background: linear-gradient(310deg, #eac693, #bd8b3f) !important;
    color: #090b10 !important;
}

html.im-dark .branch-icon-action,
html.im-dark .branch-route-link {
    background: #11141b !important;
    color: var(--im-dark-text) !important;
    border-color: var(--im-dark-border) !important;
}

html.im-dark .branch-icon-action {
    border: 0 !important;
}

html.im-dark .branch-route-link {
    border: 0 !important;
}

html.im-dark .branch-menu-download {
    background: rgba(201, 170, 121, .12) !important;
    color: var(--im-dark-gold-2) !important;
    border-color: rgba(201, 170, 121, .42) !important;
}

html.im-dark .branch-meta-item {
    background: #11141b !important;
    color: var(--im-dark-text) !important;
    border: 1px solid var(--im-dark-border) !important;
}

    html.im-dark .branch-meta-item i {
        background: linear-gradient(310deg, #eac693, #bd8b3f) !important;
        color: #fff !important;
    }

html.im-dark .branch-icon-action:hover,
html.im-dark .branch-route-link:hover {
    background: var(--im-dark-gold) !important;
    color: #090b10 !important;
    border-color: var(--im-dark-gold) !important;
}

html.im-dark .branch-logo-wrap,
html.im-dark .branch-logo-wrap.no-logo {
    background-color: #0f1218 !important;
    background-blend-mode: overlay;
    border: 1px solid var(--im-dark-border);
}

html.im-dark .branch-chip,
html.im-dark .branch-tag,
html.im-dark .branch-chip-row .branch-tag {
    background: #11141b !important;
    color: var(--im-dark-text) !important;
    border-color: var(--im-dark-border) !important;
}

html.im-dark .branch-tag, html.im-dark .branch-chip-row .branch-tag {
    background: #323845 !important;
}

html.im-dark .branch-social-title {
    color: var(--im-dark-text) !important;
}

html.im-dark .branch-social-link {
    background: #11141b !important;
    color: var(--im-dark-text) !important;
    border-color: var(--im-dark-border) !important;
    box-shadow: none !important;
}

html.im-dark .branch-social-link:hover {
    color: var(--im-dark-gold-2) !important;
    border-color: rgba(201, 170, 121, .42) !important;
}

html.im-dark .branch-social-icon {
    color: #fff !important;
}

html .im-dark .form-input, html.im-dark .form-control, html.im-dark input, html.im-dark textarea, html.im-dark select {
    background: #0d1016 !important;
    color: var(--im-dark-text) !important;
    border-color: rgba(201, 170, 121, .34) !important;
}

    html.im-dark .form-input::placeholder,
    html.im-dark .form-control::placeholder,
    html.im-dark input::placeholder,
    html.im-dark textarea::placeholder {
        color: rgba(244, 239, 232, .58) !important;
    }

html.im-dark .branch-filter-toggle input:checked,
html.im-dark .offers-filter-toggle input:checked {
    background: linear-gradient(310deg, #eac693, #bd8b3f) !important;
    border-color: var(--im-dark-gold) !important;
}

html.im-dark .form-label,
html.im-dark .select2-container--default .select2-selection--single .select2-selection__rendered {
    color: var(--im-dark-muted) !important;
}

html.im-dark .button,
html.im-dark .btn,
html.im-dark button[type="submit"],
html.im-dark .branch-search-btn {
    border-color: rgba(201, 170, 121, .55) !important;
}

html.im-dark .swiper-slide-caption .btn,
html.im-dark .swiper-slide-caption .btn-outline-light {
    border-color: #fff !important;
    color: #fff !important;
    background: transparent !important;
}

    html.im-dark .swiper-slide-caption .btn:hover,
    html.im-dark .swiper-slide-caption .btn-outline-light:hover {
        background: #fff !important;
        color: #090b10 !important;
    }

html.im-dark .im-banner .btn,
html.im-dark .im-banner .btn-im-outline,
html.im-dark .im-tile .btn,
html.im-dark .im-tile .btn-im-outline {
    border-color: rgba(255, 255, 255, .82) !important;
    color: #fff !important;
    background: transparent !important;
}


html.im-dark .im-banner .btn,
html.im-dark .im-banner .btn-im-outline,
html.im-dark .im-tile .btn,
html.im-dark .im-tile .btn-im-outline {
    border-color: rgba(255, 255, 255, .82) !important;
    color: #fff !important;
    background: transparent !important;
}
    html.im-dark .im-banner .btn:hover, html.im-dark .im-banner .btn-im-outline:hover, html.im-dark .im-tile .btn:hover, html.im-dark .im-tile .btn-im-outline:hover {
        background: var(--im-dark-gold) !important;
        border-color: var(--im-dark-gold) !important;
        color: #090b10 !important;
    }
html.im-dark .button-primary,
html.im-dark .btn-primary,
html.im-dark .branch-search-btn,
html.im-dark .page-item.active .page-link {
    background: linear-gradient(310deg, #eac693, #bd8b3f) !important;
    color: #080a0f !important;
}

html.im-dark .branch-clear-btn,
html.im-dark .im-filter-form .branch-clear-btn,
html.im-dark .im-filter-form .clear-btn,
html.im-dark .im-filter-form .filter-clear-btn,
html.im-dark .im-filter-form a[href*="branches"],
html.im-dark .page-link,
html.im-dark .filter-option,
html.im-dark .branch-filter-toggle {
    background: #11141b !important;
    color: var(--im-dark-text) !important;
    border-color: var(--im-dark-border) !important;
}

html.im-dark .pagination,
html.im-dark .pagination-wrap {
    background: #090b10 !important;
    color: var(--im-dark-text) !important;
    border-color: var(--im-dark-border) !important;
    box-shadow: none !important;
}
html.im-dark .rd-navbar-fixed .rd-navbar-submenu-toggle {
    color: var(--im-dark-gold) !important;
}

html.im-dark .category-branches-page {
    background: #11141b !important;
}
html.im-dark .blog-post .quote-classic-text * {
    color: var(--im-dark-text) !important ;
}
html .im-dark .pagination .page-item, html.im-dark .pagination li {
    background: #11141b !important;
    border-radius: 12px;
}

    html.im-dark .pagination .page-link {
        background: #11141b !important;
        color: var(--im-dark-text) !important;
        border-color: var(--im-dark-border) !important;
    }

html.im-dark table,
html.im-dark th,
html.im-dark td {
    color: var(--im-dark-text) !important;
    border-color: var(--im-dark-border) !important;
}


html.im-dark hr,
html.im-dark .divider,
html.im-dark .border,
html.im-dark .border-top,
html.im-dark .border-bottom {
    border-color: var(--im-dark-gold) !important;
}

html.im-dark footer,
html.im-dark .footer,
html.im-dark .section-footer,
html.im-dark .page-footer,
html.im-dark .im-footer {
    background: #06080c !important;
    color: #fff !important;
}
    html.im-dark .im-footer .im-footer-title {
        color: var(--im-dark-gold-2) !important;
    }


    html.im-dark .im-footer,
    html.im-dark .im-footer *,
    html.im-dark .im-footer p,
    html.im-dark .im-footer span,
    html.im-dark .im-footer div,
    html.im-dark .im-footer li,
    html.im-dark .im-footer-info-content,
    html.im-dark .im-footer-info-content * {
        color: #fff !important;
    }


html.im-dark footer a,
html.im-dark .footer a,
html.im-dark .page-footer a {
    color: var(--im-dark-text) !important;
}

    html.im-dark footer a:hover,
    html.im-dark .footer a:hover,
    html.im-dark .page-footer a:hover,
    html.im-dark .im-footer a:hover {
        color: var(--im-dark-gold-2) !important;
    }

html.im-dark .iranmall-logo.bg-white {
    background: #06080c !important;
}

html.im-dark .iranmall-logo img,
html.im-dark footer img[src*="logo"],
html.im-dark .footer img[src*="logo"] {
    filter: brightness(0) invert(1);
}

html.im-dark .swiper-pagination-bullet,
html.im-dark .slick-dots button {
    border-color: var(--im-dark-gold) !important;
}

html.im-dark .swiper-pagination-bullet-active,
html.im-dark .slick-dots .slick-active button {
    background: var(--im-dark-gold) !important;
}

html.im-dark .im-hero-left {
    background: linear-gradient(160deg, #0c0f15, #151923) !important;
    color: var(--im-dark-text) !important;
}

html.im-dark .im-stack {
    border-color: #000 !important;
}

html.im-dark .im-hero-left .im-hero-btn {
    background: transparent !important;
    color: var(--im-dark-text) !important;
    border-color: var(--im-dark-gold) !important;
}

    html.im-dark .im-hero-left .im-hero-btn:hover {
        background: var(--im-dark-gold) !important;
        color: #090b10 !important;
    }

html.im-dark .im-events-head.bg-events {
    background-color: #090b10 !important;
    background-blend-mode: multiply;
    color: var(--im-dark-text) !important;
}

html.im-dark .im-events-head .btn,
html.im-dark .im-events-head .btn-im-tab {
    background: transparent !important;
    border-color: var(--im-dark-gold) !important;
    color: #fff !important;
}

    html.im-dark .im-events-head .btn:hover,
    html.im-dark .im-events-head .btn-im-tab:hover {
        background: var(--im-dark-gold) !important;
        color: #090b10 !important;
    }

/* Contact page */
html.im-dark .contact-page {
    --contact-accent: var(--im-dark-gold);
    --contact-accent-deep: var(--im-dark-gold-2);
    --contact-border: rgba(201, 170, 121, .3);
    --contact-soft: rgba(255, 255, 255, .045);
    background: var(--im-dark-bg) !important;
    color: var(--im-dark-text) !important;
}

html.im-dark .contact-card,
html.im-dark .contact-line {
    background: var(--im-dark-surface) !important;
    border-color: rgba(201, 170, 121, .3) !important;
    box-shadow: 0 16px 38px rgba(0, 0, 0, .22) !important;
}

html.im-dark .contact-heading p {
    color: rgba(244, 239, 232, .7) !important;
}

html.im-dark .contact-info-item {
    background: rgba(255, 255, 255, .045) !important;
}

html.im-dark .contact-info-item:hover {
    background: rgba(255, 255, 255, .075) !important;
}

html.im-dark .contact-card:hover,
html.im-dark .contact-line:hover {
    border-color: var(--im-dark-gold) !important;
}

html.im-dark .contact-map-header,
html.im-dark .contact-route-list,
html.im-dark .contact-social-block {
    border-color: rgba(201, 170, 121, .28) !important;
}

html.im-dark .contact-info-label,
html.im-dark .contact-form-card label {
    color: rgba(244, 239, 232, .72) !important;
}

html.im-dark .contact-info-value,
html.im-dark .contact-line-title,
html.im-dark .contact-route-title,
html.im-dark .contact-social-title {
    color: var(--im-dark-text) !important;
}

html.im-dark .contact-form-card .form-control {
    background: rgba(255, 255, 255, .055) !important;
    border-color: rgba(201, 170, 121, .34) !important;
    color: var(--im-dark-text) !important;
}

html.im-dark .contact-form-card .form-control:focus {
    border-color: var(--im-dark-gold) !important;
    box-shadow: 0 0 0 3px rgba(201, 170, 121, .16) !important;
}

html.im-dark .contact-pill {
    background: rgba(255, 255, 255, .055) !important;
    border-color: rgba(201, 170, 121, .38) !important;
    color: var(--im-dark-gold-2) !important;
}

html.im-dark .contact-pill span,
html.im-dark .contact-social-link span {
    color: inherit !important;
}

html.im-dark .contact-social-link {
    border-color: rgba(255, 255, 255, .12) !important;
    color: #fff !important;
}

html.im-dark .contact-icon,
html.im-dark .contact-line:hover .contact-icon {
    background: linear-gradient(310deg, #eac693, #bd8b3f) !important;
    color: #090b10 !important;
}

html.im-dark .contact-pill:hover {
    background: linear-gradient(310deg, #eac693, #bd8b3f) !important;
    border-color: transparent !important;
    color: #090b10 !important;
}

html.im-dark .contact-social-link:hover {
    border-color: transparent !important;
    color: #fff !important;
}

/* Mobile Web App */
@media (max-width: 767.98px) {
    html.im-dark body.webapp-host,
    html.im-dark body.webapp-host #im-ajax-page-content {
        background: var(--im-dark-bg) !important;
    }

    html.im-dark body.webapp-host .webapp-home {
        background: var(--im-dark-bg) !important;
        color: var(--im-dark-text) !important;
    }

    html.im-dark body.webapp-host .webapp-quick-access h2,
    html.im-dark body.webapp-host .webapp-quick-access__grid a {
        color: var(--im-dark-text) !important;
    }

    html.im-dark body.webapp-host .webapp-quick-access__grid svg {
        border-color: rgba(201, 170, 121, .38);
        background: linear-gradient(145deg, #171b24 0%, #1d2028 58%, #47391f 150%);
        box-shadow: 0 7px 18px rgba(0, 0, 0, .28);
        color: var(--im-dark-gold-2);
    }

    html.im-dark body.webapp-host .webapp-banners__track,
    html.im-dark body.webapp-host .webapp-category-nav {
        background: var(--im-dark-bg) !important;
    }

    html.im-dark body.webapp-host .webapp-category-nav {
        border-color: rgba(201, 170, 121, .2);
    }

    html.im-dark body.webapp-host .webapp-category-nav a {
        color: var(--im-dark-text) !important;
    }

    html.im-dark body.webapp-host .webapp-language-menu summary,
    html.im-dark body.webapp-host .webapp-language-menu[open] summary {
        color: #fff;
    }

    html.im-dark body.webapp-host .webapp-bottom-nav {
        background: rgba(17, 20, 27, .98) !important;
        border-top-color: rgba(201, 170, 121, .24);
        box-shadow: 0 -4px 17px rgba(0, 0, 0, .28);
    }

    html.im-dark body.webapp-host .webapp-bottom-nav a {
        color: var(--im-dark-text) !important;
    }

    html.im-dark body.webapp-host .webapp-bottom-nav a.is-active {
        background: linear-gradient(145deg, #272218 0%, #3a301c 55%, #665022 150%);
        border-color: rgba(240, 211, 155, .34);
        box-shadow: 0 4px 13px rgba(0, 0, 0, .3);
        color: var(--im-dark-gold-2) !important;
    }

    html.im-dark body.webapp-host .branch-mobile-category-card {
        background: #f5f2ed;
        border: 0;
        box-shadow: 0 5px 15px rgba(0, 0, 0, .08);
    }

    html.im-dark body.webapp-host .branch-mobile-category-card span {
        color: #171717 !important;
        background: linear-gradient(180deg, rgba(255, 255, 255, .94), rgba(255, 255, 255, 0));
        text-shadow: 0 1px 2px rgba(255, 255, 255, .8);
    }

    html.im-dark body.webapp-host .branch-mobile-category-card img {
        filter: none !important;
    }

    html.im-dark body.webapp-host .branch-mobile-results-heading {
        color: var(--im-dark-text);
    }

    html.im-dark body.webapp-host .branch-mobile-results-heading::before,
    html.im-dark body.webapp-host .branch-mobile-results-heading::after {
        background: rgba(201, 170, 121, .42);
    }
}

@media (max-width: 991.98px) {
    .header-action-tools {
        left: 12px;
        gap: 8px;
        margin-top: -16px;
    }

    body[dir="ltr"] .header-action-tools {
        right: 12px;
        left: auto;
    }

    .dark-mode-toggle {
        width: 32px;
        height: 32px;
    }

    html.im-dark .rd-navbar-nav-wrap {
        background: #090b10 !important;
    }
}


html.im-dark  .branch-sub-branch-link {
    border: 1px solid #ffffff2e;
    background: transparent;
}

/* Discount cards share branch card surfaces and metadata in dark mode. */
html.im-dark .offers-page .offer-card {
    background:linear-gradient(160deg,var(--im-dark-surface),var(--im-dark-surface-2))!important;
    color:var(--im-dark-text)!important;
    box-shadow:0 16px 36px rgba(0,0,0,.32);
}
html.im-dark .offers-page .offer-card:hover {box-shadow:0 18px 40px rgba(0,0,0,.42)}
html.im-dark .offers-page .offer-branch,
html.im-dark .offers-page .offer-text {color:var(--im-dark-text)!important}
html.im-dark .offers-page .offer-date {color:var(--im-dark-gold-2)!important}
html.im-dark .offers-page .offer-percent {background:var(--im-dark-surface-2)!important}
