/**
 * Ahlmall dark mode — rgb(24,25,26) base, rgb(47,48,49) surfaces
 */
html.ahlmall-dark-mode {
    --ahlmall-dm-bg: rgb(24, 25, 26);
    --ahlmall-dm-surface: rgb(47, 48, 49);
    --ahlmall-dm-surface-2: rgb(55, 56, 58);
    --ahlmall-dm-border: rgba(255, 255, 255, .1);
    --ahlmall-dm-text: #e4e6eb;
    --ahlmall-dm-text-muted: #b0b3b8;
    --ahlmall-dm-heading: #f5f6f7;
    --ahlmall-footer-bg: #202325;
    --ahlmall-footer-card: rgb(47, 48, 49);
    --ahlmall-footer-text: rgba(255, 255, 255, .92);
    --ahlmall-footer-muted: rgba(255, 255, 255, .55);
    --ahlmall-dm-nav-btn-bg: #fff;
    --ahlmall-dm-nav-btn-border: #c9a227;
    --ahlmall-dm-nav-btn-icon: #c9a227;
    --ahlmall-dm-search-bg: #353638;
    --ahlmall-dm-search-placeholder: #8fa3bc;
    --ahlmall-dm-search-icon: #a8b4c4;
    color-scheme: dark;
}

html.ahlmall-dark-mode body,
html.ahlmall-dark-mode #app {
    background-color: var(--ahlmall-dm-bg) !important;
    color: var(--ahlmall-dm-text);
}

html.ahlmall-dark-mode h1,
html.ahlmall-dark-mode h2,
html.ahlmall-dark-mode h3,
html.ahlmall-dark-mode h4,
html.ahlmall-dark-mode h5,
html.ahlmall-dark-mode h6,
html.ahlmall-dark-mode .heading_s1 h2,
html.ahlmall-dark-mode .heading_s2 h4,
html.ahlmall-dark-mode .heading_s4 h2,
html.ahlmall-dark-mode .page-title h1 {
    color: var(--ahlmall-dm-heading);
}

html.ahlmall-dark-mode p,
html.ahlmall-dark-mode .leads,
html.ahlmall-dark-mode label,
html.ahlmall-dark-mode .text-muted {
    color: var(--ahlmall-dm-text-muted);
}

html.ahlmall-dark-mode a {
    color: var(--ahlmall-dm-text);
}

html.ahlmall-dark-mode a:hover {
    color: var(--color-1st, #fd6a00);
}

/* Header */
html.ahlmall-dark-mode .top-header {
    background-color: var(--ahlmall-dm-surface);
    border-bottom: 1px solid var(--ahlmall-dm-border);
}

html.ahlmall-dark-mode .top-header .contact_detail li,
html.ahlmall-dark-mode .top-header .header_list li a,
html.ahlmall-dark-mode .top-header .choose-currency span,
html.ahlmall-dark-mode .top-header .choose-currency a {
    color: var(--ahlmall-dm-text);
}

html.ahlmall-dark-mode .middle-header {
    background-color: var(--ahlmall-dm-bg) !important;
    border-bottom: 1px solid var(--ahlmall-dm-border);
}

html.ahlmall-dark-mode .middle-header .contact_phone span,
html.ahlmall-dark-mode .middle-header .search_btn {
    color: var(--ahlmall-dm-text);
}

html.ahlmall-dark-mode .custom_select select,
html.ahlmall-dark-mode .form-control,
html.ahlmall-dark-mode .custom_select .ddcommon {
    background-color: var(--ahlmall-dm-surface);
    border-color: var(--ahlmall-dm-border);
    color: var(--ahlmall-dm-text);
}

/* Search — حقل داكن + زر أبيض + placeholder رمادي مزرق */
html.ahlmall-dark-mode .product_search_form .input-group {
    background-color: var(--ahlmall-dm-search-bg);
    border: 1px solid var(--ahlmall-dm-border);
    border-radius: 4px;
    overflow: hidden;
}

html.ahlmall-dark-mode .product_search_form .form-control {
    background-color: var(--ahlmall-dm-search-bg) !important;
    border: none !important;
    color: var(--ahlmall-dm-text);
    box-shadow: none;
}

html.ahlmall-dark-mode .product_search_form .form-control::placeholder {
    color: var(--ahlmall-dm-search-placeholder);
    opacity: 1;
}

html.ahlmall-dark-mode .product_search_form .input-group-prepend {
    border-inline-end: 1px solid var(--ahlmall-dm-border);
}

html.ahlmall-dark-mode .product_search_form .custom_select select,
html.ahlmall-dark-mode .product_search_form .custom_select .ddcommon {
    background-color: var(--ahlmall-dm-search-bg) !important;
    border-color: transparent !important;
    color: var(--ahlmall-dm-text);
}

html.ahlmall-dark-mode .product_search_form .search_btn {
    background-color: var(--ahlmall-dm-nav-btn-bg) !important;
    color: var(--ahlmall-dm-search-icon) !important;
    border: none;
    box-shadow: none;
}

html.ahlmall-dark-mode .product_search_form .search_btn:hover,
html.ahlmall-dark-mode .product_search_form .search_btn:focus {
    background-color: var(--ahlmall-dm-nav-btn-bg) !important;
    color: var(--ahlmall-dm-nav-btn-border) !important;
}

/* قوائم الاختيار (التصنيفات / الفرز) — native + msDropdown */
html.ahlmall-dark-mode .custom_select select,
html.ahlmall-dark-mode .custome_select select,
html.ahlmall-dark-mode .product_search_form .custom_select select {
    color-scheme: dark;
}

html.ahlmall-dark-mode .custom_select select option,
html.ahlmall-dark-mode .custome_select select option,
html.ahlmall-dark-mode .product_search_form .custom_select select option {
    background-color: var(--ahlmall-dm-surface) !important;
    color: var(--ahlmall-dm-text) !important;
}

html.ahlmall-dark-mode .custom_select::before {
    color: var(--ahlmall-dm-text-muted);
}

html.ahlmall-dark-mode .ddcommon .ddlabel,
html.ahlmall-dark-mode .ddcommon .ddChild li .ddlabel,
html.ahlmall-dark-mode .ddcommon .ddTitle .ddlabel {
    color: var(--ahlmall-dm-text) !important;
}

html.ahlmall-dark-mode .ddcommon .ddChild {
    background-color: var(--ahlmall-dm-surface) !important;
    border: 1px solid var(--ahlmall-dm-border);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

html.ahlmall-dark-mode .ddcommon .ddChild li {
    background-color: transparent;
}

html.ahlmall-dark-mode .ddcommon .ddChild li:hover,
html.ahlmall-dark-mode .custome_dropdown .ddChild li:hover {
    background-color: rgba(253, 106, 0, 0.12) !important;
}

html.ahlmall-dark-mode .ddcommon .ddChild li:hover .ddlabel,
html.ahlmall-dark-mode .custome_dropdown .ddChild li:hover .ddlabel {
    color: var(--color-1st, #fd6a00) !important;
}

html.ahlmall-dark-mode .ddcommon .ddChild li.selected .ddlabel,
html.ahlmall-dark-mode .ddcommon .ddChild li.enabled .ddlabel {
    color: var(--ahlmall-dm-heading) !important;
}

html.ahlmall-dark-mode .ddArrow::before {
    color: var(--ahlmall-dm-text-muted);
}

html.ahlmall-dark-mode .top-header .ddcommon .ddChild {
    background-color: var(--ahlmall-dm-surface-2) !important;
}

/* Navigation — دائرة بيضاء + حدود وأيقونة ذهبية (كل الأقسام) */
html.ahlmall-dark-mode #app .ahlmall-carousel-nav__arrow,
html.ahlmall-dark-mode #app .ahlmall-hscroll__arrow,
html.ahlmall-dark-mode .ahlmall-flash-sale .ahlmall-carousel-nav__arrow,
html.ahlmall-dark-mode .ahlmall-categories-section .ahlmall-carousel-nav__arrow,
html.ahlmall-dark-mode .nav_style2.owl-theme .owl-nav [class*="owl-"],
html.ahlmall-dark-mode .nav_style3.owl-theme .owl-nav [class*="owl-"] {
    background: var(--ahlmall-dm-nav-btn-bg) !important;
    border: 2px solid var(--ahlmall-dm-nav-btn-border) !important;
    color: var(--ahlmall-dm-nav-btn-icon) !important;
    box-shadow: 0 2px 8px rgba(201, 162, 39, .22) !important;
}

html.ahlmall-dark-mode #app .ahlmall-carousel-nav__arrow:hover,
html.ahlmall-dark-mode #app .ahlmall-hscroll__arrow:hover,
html.ahlmall-dark-mode .ahlmall-flash-sale .ahlmall-carousel-nav__arrow:hover,
html.ahlmall-dark-mode .ahlmall-categories-section .ahlmall-carousel-nav__arrow:hover,
html.ahlmall-dark-mode .nav_style2.owl-theme .owl-nav [class*="owl-"]:hover,
html.ahlmall-dark-mode .nav_style3.owl-theme .owl-nav [class*="owl-"]:hover {
    background: var(--ahlmall-dm-nav-btn-bg) !important;
    border-color: #d4af37 !important;
    color: #b8860b !important;
}

html.ahlmall-dark-mode .bottom_header.bg_dark,
html.ahlmall-dark-mode .bottom_header {
    background-color: var(--ahlmall-dm-surface) !important;
}

html.ahlmall-dark-mode .header_wrap.nav-fixed .bottom_header {
    background-color: var(--ahlmall-dm-surface) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .35);
}

/* Breadcrumb & pages */
html.ahlmall-dark-mode .breadcrumb_section,
html.ahlmall-dark-mode .bg_gray {
    background-color: var(--ahlmall-dm-surface) !important;
}

html.ahlmall-dark-mode .breadcrumb-item a,
html.ahlmall-dark-mode .breadcrumb-item.active {
    color: var(--ahlmall-dm-text-muted);
}

/* Products */
html.ahlmall-dark-mode .product,
html.ahlmall-dark-mode .product_wrap {
    background-color: var(--ahlmall-dm-surface);
    border: 1px solid var(--ahlmall-dm-border);
    box-shadow: 0 4px 16px rgba(0, 0, 0, .2);
}

html.ahlmall-dark-mode .product .product_title a,
html.ahlmall-dark-mode .product_wrap .product_title a,
html.ahlmall-dark-mode .product_info h6 a {
    color: var(--ahlmall-dm-heading);
}

html.ahlmall-dark-mode .product_price .price,
html.ahlmall-dark-mode .product .product_price span {
    color: var(--color-1st, #fd6a00);
}

/* أزرار الكارد (سلة، مقارنة، معاينة، مفضلة) */
html.ahlmall-dark-mode .pr_action_btn li a {
    background-color: #fff !important;
    color: #a8b4c4 !important;
    border: 1px solid rgba(0, 0, 0, .08);
    box-shadow: 0 2px 10px rgba(0, 0, 0, .35);
}

html.ahlmall-dark-mode .pr_action_btn li a i {
    color: #a8b4c4;
}

html.ahlmall-dark-mode .pr_action_btn li a:hover,
html.ahlmall-dark-mode .pr_action_btn li a.active {
    background-color: var(--color-1st, #fd6a00) !important;
    border-color: var(--color-1st, #fd6a00) !important;
    color: #fff !important;
}

html.ahlmall-dark-mode .pr_action_btn li a:hover i,
html.ahlmall-dark-mode .pr_action_btn li a.active i {
    color: #fff;
}

html.ahlmall-dark-mode .product:hover .product_img::before,
html.ahlmall-dark-mode .product_box:hover .product_img::before,
html.ahlmall-dark-mode .product_wrap:hover .product_img::before {
    background-color: rgba(0, 0, 0, .5);
}

html.ahlmall-dark-mode .shop_container.list .pr_action_btn li a {
    background-color: var(--ahlmall-dm-surface-2) !important;
    color: var(--ahlmall-dm-text) !important;
    border: 1px solid var(--ahlmall-dm-border);
}

html.ahlmall-dark-mode .shop_container.list .pr_action_btn li a:hover,
html.ahlmall-dark-mode .shop_container.list .pr_action_btn li.add-to-cart a:hover {
    background-color: var(--color-1st, #fd6a00) !important;
    color: #fff !important;
}

html.ahlmall-dark-mode .shop_container {
    background: transparent;
}

html.ahlmall-dark-mode .product_header,
html.ahlmall-dark-mode .sort_box {
    background: transparent;
    color: var(--ahlmall-dm-text);
}

/* Sidebar filters */
html.ahlmall-dark-mode .widget,
html.ahlmall-dark-mode .sidebar .widget {
    background-color: var(--ahlmall-dm-surface);
    border: 1px solid var(--ahlmall-dm-border);
}

html.ahlmall-dark-mode .widget_title {
    color: var(--ahlmall-dm-heading);
    border-color: var(--ahlmall-dm-border);
}

/* Cards / modals */
html.ahlmall-dark-mode .modal-content,
html.ahlmall-dark-mode .card,
html.ahlmall-dark-mode .subscribe_popup .modal-content {
    background-color: var(--ahlmall-dm-surface);
    color: var(--ahlmall-dm-text);
    border-color: var(--ahlmall-dm-border);
}

html.ahlmall-dark-mode .modal-header,
html.ahlmall-dark-mode .modal-footer {
    border-color: var(--ahlmall-dm-border);
}

/* Homepage sections */
html.ahlmall-dark-mode .ahlmall-categories-section {
    background: linear-gradient(180deg, rgba(47, 48, 49, .85) 0%, var(--ahlmall-dm-bg) 55%);
}

html.ahlmall-dark-mode .ahlmall-categories-section__header h2 {
    color: var(--ahlmall-dm-heading);
}

html.ahlmall-dark-mode .ahlmall-categories-section__frame-inner,
html.ahlmall-dark-mode .ahlmall-flash-sale__shell,
html.ahlmall-dark-mode .ahlmall-flash-sale__frame-inner {
    background: var(--ahlmall-dm-surface);
    border-color: var(--ahlmall-dm-border);
}

html.ahlmall-dark-mode .ahlmall-categories-section .categories_box a {
    background: var(--ahlmall-dm-surface-2);
    border-color: var(--ahlmall-dm-border);
}

html.ahlmall-dark-mode .ahlmall-categories-section .categories_box span {
    color: var(--ahlmall-dm-heading);
}

html.ahlmall-dark-mode .ahlmall-flash-deal {
    background: var(--ahlmall-dm-surface-2);
}

html.ahlmall-dark-mode .ahlmall-flash-deal__body .product_title a {
    color: var(--ahlmall-dm-heading);
}

html.ahlmall-dark-mode .ahlmall-flash-sale__title {
    color: var(--ahlmall-dm-heading) !important;
    -webkit-text-fill-color: var(--ahlmall-dm-heading) !important;
}

html.ahlmall-dark-mode .ahlmall-flash-sale__eyebrow {
    color: #fde68a;
}

html.ahlmall-dark-mode .section.small_pt,
html.ahlmall-dark-mode .section {
    background-color: transparent;
}

/* Brands — «ماركاتنا» */
html.ahlmall-dark-mode .ahlmall-brands-section {
    background: linear-gradient(180deg, var(--ahlmall-dm-surface) 0%, var(--ahlmall-dm-bg) 100%);
}

html.ahlmall-dark-mode .ahlmall-brands-section__eyebrow,
html.ahlmall-dark-mode .ahlmall-testimonials-section__eyebrow {
    color: #fde68a;
    background: rgba(201, 162, 39, .22);
    border-color: rgba(255, 215, 0, .4);
}

html.ahlmall-dark-mode .ahlmall-section-empty {
    color: var(--ahlmall-dm-text-muted);
    background: var(--ahlmall-dm-surface-2);
    border-color: var(--ahlmall-dm-border);
}

html.ahlmall-dark-mode .ahlmall-brands-section__header h2 {
    color: var(--ahlmall-dm-heading);
}

html.ahlmall-dark-mode .ahlmall-brands-section__frame-inner {
    background: var(--ahlmall-dm-surface);
    border-color: var(--ahlmall-dm-border);
}

html.ahlmall-dark-mode .ahlmall-brands-section .cl_logo {
    background: var(--ahlmall-dm-surface-2);
    border-color: var(--ahlmall-dm-border);
}

html.ahlmall-dark-mode .ahlmall-brands-section .client_logo .cl_logo img {
    opacity: 1;
    filter: brightness(1.05);
}

html.ahlmall-dark-mode .ahlmall-brands-section .half-circle-spinner .circle {
    border-color: var(--color-1st, #fd6a00) transparent transparent transparent;
}

/* Testimonials — نفس نسق الفوتر */
html.ahlmall-dark-mode .ahlmall-testimonials-section {
    background: var(--ahlmall-footer-bg);
    border-top: 1px solid rgba(255, 255, 255, .08);
}

html.ahlmall-dark-mode .ahlmall-testimonials-section__eyebrow {
    color: var(--ahlmall-footer-muted);
    background: transparent;
    border: none;
    padding: 0;
    font-size: .8rem;
    letter-spacing: .04em;
    text-transform: uppercase;
}

html.ahlmall-dark-mode .ahlmall-testimonials-section__header h2 {
    display: inline-block;
    margin: 0 0 1.25rem;
    padding: 0 0 .35rem;
    font-size: 1.125rem;
    font-weight: 600;
    text-transform: capitalize;
    color: #fff !important;
    -webkit-text-fill-color: #fff;
    background: transparent;
    border: none;
    border-bottom: 2px solid rgba(253, 106, 0, .55);
    border-radius: 0;
    box-shadow: none;
}

html.ahlmall-dark-mode .ahlmall-testimonials-section__frame {
    padding: 0;
    background: transparent;
    box-shadow: none;
}

html.ahlmall-dark-mode .ahlmall-testimonials-section__frame-inner {
    background: var(--ahlmall-footer-card);
    border: 1px solid var(--ahlmall-dm-border);
    border-radius: 8px;
    box-shadow: none;
}

html.ahlmall-dark-mode .ahlmall-testimonials-section__frame-inner,
html.ahlmall-dark-mode .ahlmall-testimonials-section__slider {
    overflow: hidden;
}

html.ahlmall-dark-mode .ahlmall-testimonials-section .testimonial_wrap.owl-carousel .owl-stage-outer {
    overflow: hidden !important;
}

html.ahlmall-dark-mode .ahlmall-testimonials-section .testimonial_box::before {
    color: rgba(253, 106, 0, .28);
}

html.ahlmall-dark-mode .ahlmall-testimonials-section .testimonial_box,
html.ahlmall-dark-mode .ahlmall-testimonials-section .testimonial_box.box_shadow1 {
    background: rgba(0, 0, 0, .22);
    border: 1px solid rgba(255, 255, 255, .08);
    box-shadow: none;
}

html.ahlmall-dark-mode .ahlmall-testimonials-section .testimonial_desc,
html.ahlmall-dark-mode .ahlmall-testimonials-section .testimonial_desc p {
    color: var(--ahlmall-footer-text);
}

html.ahlmall-dark-mode .ahlmall-testimonials-section .author_name h6 {
    color: #fff;
}

html.ahlmall-dark-mode .ahlmall-testimonials-section .author_name span {
    color: var(--color-1st, #fd6a00);
}

html.ahlmall-dark-mode .ahlmall-testimonials-section .author_img img {
    border-color: rgba(255, 255, 255, .15);
}

html.ahlmall-dark-mode .ahlmall-testimonials-section .ahlmall-section-empty {
    color: var(--ahlmall-footer-muted);
    background: rgba(0, 0, 0, .2);
    border-color: rgba(255, 255, 255, .1);
}

html.ahlmall-dark-mode .ahlmall-testimonials-section .half-circle-spinner .circle {
    border-color: var(--color-1st, #fd6a00) transparent transparent transparent;
}

html.ahlmall-dark-mode .heading_tab_header {
    border-color: var(--ahlmall-dm-border);
}

/* Homepage product sections */
html.ahlmall-dark-mode .ahlmall-product-collections .heading_tab_header,
html.ahlmall-dark-mode .ahlmall-trending-products .heading_tab_header,
html.ahlmall-dark-mode .product-blocks .heading_tab_header {
    border-bottom-color: rgba(255, 255, 255, .1);
}

html.ahlmall-dark-mode .ahlmall-product-collections .heading_tab_header .heading_s2 h4 {
    color: #fff;
    border-bottom: none;
    padding-bottom: 0;
}

html.ahlmall-dark-mode .ahlmall-trending-products .heading_tab_header .heading_s2 h4,
html.ahlmall-dark-mode .product-blocks .heading_tab_header .heading_s2 h4 {
    color: #fff;
    border-bottom: 2px solid rgba(253, 106, 0, .55);
}

html.ahlmall-dark-mode .ahlmall-product-collections {
    border-bottom: 1px solid rgba(255, 255, 255, .06);
    padding-bottom: 0.5rem;
}

html.ahlmall-dark-mode .ahlmall-trending-products {
    margin-top: 0.25rem;
}

html.ahlmall-dark-mode .ahlmall-product-collections .tab-style2 .nav-tabs li.nav-item a {
    color: #fff;
}

html.ahlmall-dark-mode .ahlmall-product-collections .tab-style2 .nav-tabs li.nav-item a.active,
html.ahlmall-dark-mode .ahlmall-product-collections .tab-style2 .nav-tabs li.nav-item a.active:hover {
    background-color: #fff !important;
    color: var(--color-1st, #fd6a00) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .25);
}

html.ahlmall-dark-mode .ahlmall-trending-products .view_all a.text_default,
html.ahlmall-dark-mode .ahlmall-trending-products .view_all a.text_default i,
html.ahlmall-dark-mode .product-blocks .view_all a.text_default,
html.ahlmall-dark-mode .product-blocks .view_all a.text_default i {
    color: var(--color-1st, #fd6a00);
}

/* منتجات حصرية — أسهم بيضاء + حد ذهبي */
html.ahlmall-dark-mode .ahlmall-product-collections .ahlmall-carousel-nav__arrow {
    background: #fff !important;
    border: 2px solid var(--ahlmall-dm-nav-btn-border) !important;
    color: var(--color-1st, #fd6a00) !important;
    box-shadow: 0 2px 10px rgba(201, 162, 39, .28) !important;
}

html.ahlmall-dark-mode .ahlmall-product-collections .ahlmall-carousel-nav__arrow:hover {
    background: #fff !important;
    border-color: #d4af37 !important;
    color: #fd6a00 !important;
}

/* المنتجات الرائجة — دوائر ذهبية + سهم أبيض */
html.ahlmall-dark-mode .ahlmall-trending-products .ahlmall-carousel-nav__arrow {
    background: #e5c76b !important;
    border: none !important;
    color: #fff !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .3) !important;
}

html.ahlmall-dark-mode .ahlmall-trending-products .ahlmall-carousel-nav__arrow:hover {
    background: #d4af37 !important;
    color: #fff !important;
}

html.ahlmall-dark-mode .product-blocks .col-lg-4 {
    background: var(--ahlmall-dm-surface);
    border: 1px solid var(--ahlmall-dm-border);
    border-radius: 8px;
    padding: 1rem 0.75rem 1.25rem;
}

@media (min-width: 992px) {
    html.ahlmall-dark-mode .product-blocks .col-lg-4 + .col-lg-4 {
        border-inline-start-color: var(--ahlmall-dm-border);
    }
}

html.ahlmall-dark-mode .product-blocks .ahlmall-carousel-nav__arrow {
    background: #fff8e7 !important;
    border: 2px solid rgba(253, 106, 0, .4) !important;
    color: var(--color-1st, #fd6a00) !important;
}

html.ahlmall-dark-mode .product-blocks .ahlmall-carousel-nav__arrow:hover {
    background: #fff !important;
    border-color: var(--color-1st, #fd6a00) !important;
}

html.ahlmall-dark-mode .product-blocks .product,
html.ahlmall-dark-mode .ahlmall-product-collections .product,
html.ahlmall-dark-mode .ahlmall-trending-products .product {
    background-color: var(--ahlmall-dm-surface-2);
    border-color: var(--ahlmall-dm-border);
}

/* Product ads — keep promo readable */
html.ahlmall-dark-mode .ads-pro-section .container {
    background: transparent;
}

/* Footer */
html.ahlmall-dark-mode .footer_dark,
html.ahlmall-dark-mode .footer_top {
    background-color: var(--ahlmall-footer-bg) !important;
}

html.ahlmall-dark-mode .footer_dark .widget,
html.ahlmall-dark-mode .footer_shopwise .footer_widgets_col .widget {
    background-color: var(--ahlmall-footer-card);
    border: 1px solid var(--ahlmall-dm-border);
    border-radius: 8px;
    padding: 1rem 1.1rem;
}

html.ahlmall-dark-mode .footer_dark .widget_title,
html.ahlmall-dark-mode .footer_shopwise .widget_title {
    color: #fff;
}

html.ahlmall-dark-mode .footer_dark .widget_links li a,
html.ahlmall-dark-mode .footer_dark .contact_info a,
html.ahlmall-dark-mode .footer_dark .contact_info span + * {
    color: var(--ahlmall-footer-text);
}

html.ahlmall-dark-mode .footer_dark .widget_links li a:hover,
html.ahlmall-dark-mode .footer_dark .contact_info a:hover {
    color: var(--color-1st, #fd6a00);
}

html.ahlmall-dark-mode .bottom_footer {
    background-color: rgba(0, 0, 0, .42);
    border-top: 1px solid rgba(255, 255, 255, .08);
}

/* Pagination */
html.ahlmall-dark-mode .pagination .page-link {
    background-color: var(--ahlmall-dm-surface);
    border-color: var(--ahlmall-dm-border);
    color: var(--ahlmall-dm-text);
}

html.ahlmall-dark-mode .pagination .page-item.active .page-link {
    background-color: var(--color-1st, #fd6a00);
    border-color: var(--color-1st, #fd6a00);
}

/* Tables / cart */
html.ahlmall-dark-mode .table {
    color: var(--ahlmall-dm-text);
}

html.ahlmall-dark-mode .table thead th {
    background-color: var(--ahlmall-dm-surface);
    border-color: var(--ahlmall-dm-border);
    color: var(--ahlmall-dm-heading);
}

html.ahlmall-dark-mode .table td {
    border-color: var(--ahlmall-dm-border);
}

/* Theme toggle */
.ahlmall-theme-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 999px;
    border: 1px solid rgba(201, 162, 39, .45);
    background: rgba(255, 255, 255, .08);
    color: inherit;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s ease, border-color .2s ease, color .2s ease;
    line-height: 1.2;
}

.ahlmall-theme-toggle:hover {
    border-color: var(--color-1st, #fd6a00);
    color: var(--color-1st, #fd6a00);
}

.ahlmall-theme-toggle__icon {
    font-size: 16px;
    line-height: 1;
}

html:not(.ahlmall-dark-mode) .ahlmall-theme-toggle__icon--moon,
html.ahlmall-dark-mode .ahlmall-theme-toggle__icon--sun {
    display: none;
}

html.ahlmall-dark-mode .ahlmall-theme-toggle {
    background: rgba(255, 255, 255, .06);
    border-color: rgba(255, 215, 0, .35);
    color: #fde68a;
}

html.ahlmall-dark-mode .top-header .ahlmall-theme-toggle {
    background: rgba(0, 0, 0, .2);
}

.top-header-actions .ahlmall-theme-toggle {
    margin-inline-end: 12px;
}

.navbar-nav.attr-nav .ahlmall-theme-toggle-li {
    list-style: none;
}

.navbar-nav.attr-nav .ahlmall-theme-toggle {
    margin-inline: 4px;
}

@media (max-width: 767px) {
    .ahlmall-theme-toggle__label {
        display: none;
    }

    .ahlmall-theme-toggle {
        width: 36px;
        height: 36px;
        padding: 0;
        border-radius: 50%;
    }
}

/* سلة التسوق (drawer) */
html.ahlmall-dark-mode .ahlmall-cart-drawer,
html.ahlmall-dark-mode .ahlmall-cart-drawer__panel.cart_box {
    background: var(--ahlmall-dm-surface) !important;
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.45) !important;
}

html.ahlmall-dark-mode[dir="rtl"] .ahlmall-cart-drawer,
html.ahlmall-dark-mode[dir="rtl"] .ahlmall-cart-drawer {
    box-shadow: 8px 0 32px rgba(0, 0, 0, 0.45) !important;
}

html.ahlmall-dark-mode .ahlmall-mini-cart {
    color: var(--ahlmall-dm-text);
}

html.ahlmall-dark-mode .ahlmall-mini-cart__header {
    border-bottom-color: var(--ahlmall-dm-border);
}

html.ahlmall-dark-mode .ahlmall-mini-cart__title,
html.ahlmall-dark-mode .ahlmall-mini-cart__empty-title {
    color: var(--ahlmall-dm-heading) !important;
}

html.ahlmall-dark-mode .ahlmall-mini-cart__close {
    background: var(--ahlmall-dm-surface-2);
    border-color: var(--ahlmall-dm-nav-btn-border);
    color: var(--ahlmall-dm-heading);
}

html.ahlmall-dark-mode .ahlmall-mini-cart__close:hover {
    background: var(--ahlmall-dm-bg);
    color: #fff;
}

html.ahlmall-dark-mode .ahlmall-mini-cart__item {
    background: var(--ahlmall-dm-surface-2);
}

html.ahlmall-dark-mode .ahlmall-mini-cart__thumb {
    background: var(--ahlmall-dm-bg);
    border-color: var(--ahlmall-dm-border);
}

html.ahlmall-dark-mode .ahlmall-mini-cart__name {
    color: var(--ahlmall-dm-heading);
}

html.ahlmall-dark-mode .ahlmall-mini-cart__name:hover {
    color: var(--color-1st, #fd6a00);
}

html.ahlmall-dark-mode .ahlmall-mini-cart__unit-price {
    color: #fde68a;
}

html.ahlmall-dark-mode .ahlmall-mini-cart__attrs,
html.ahlmall-dark-mode .ahlmall-mini-cart__stock,
html.ahlmall-dark-mode .ahlmall-mini-cart__empty-sub {
    color: var(--ahlmall-dm-text-muted);
}

html.ahlmall-dark-mode .ahlmall-mini-cart__item-bottom {
    border-top-color: var(--ahlmall-dm-border);
}

html.ahlmall-dark-mode .ahlmall-mini-cart__qty {
    background: var(--ahlmall-dm-bg);
    border-color: var(--ahlmall-dm-border);
}

html.ahlmall-dark-mode .ahlmall-mini-cart__qtybtn {
    background: var(--ahlmall-dm-surface-2);
    color: var(--ahlmall-dm-heading);
}

html.ahlmall-dark-mode .ahlmall-mini-cart__qtybtn:hover {
    background: var(--ahlmall-dm-bg);
}

html.ahlmall-dark-mode .ahlmall-mini-cart__qtyval {
    color: var(--ahlmall-dm-heading);
}

html.ahlmall-dark-mode .ahlmall-mini-cart__summary {
    background: var(--ahlmall-dm-surface-2);
}

html.ahlmall-dark-mode .ahlmall-mini-cart__row {
    color: var(--ahlmall-dm-text);
}

html.ahlmall-dark-mode .ahlmall-mini-cart__row--total {
    color: var(--ahlmall-dm-heading);
}

html.ahlmall-dark-mode .ahlmall-mini-cart__divider {
    background: var(--ahlmall-dm-border);
}

html.ahlmall-dark-mode .ahlmall-mini-cart__btn--ghost {
    background: var(--ahlmall-dm-surface-2) !important;
    color: var(--ahlmall-dm-heading) !important;
    border-color: var(--ahlmall-dm-border) !important;
}

html.ahlmall-dark-mode .ahlmall-mini-cart__btn--ghost:hover {
    background: var(--ahlmall-dm-bg) !important;
}

html.ahlmall-dark-mode .ahlmall-mini-cart__empty-icon {
    color: var(--ahlmall-dm-nav-btn-border);
}

html.ahlmall-dark-mode .ahlmall-mini-cart__btn--outline {
    color: #fde68a !important;
    border-color: var(--ahlmall-dm-nav-btn-border) !important;
    background: transparent !important;
}

html.ahlmall-dark-mode .ahlmall-mini-cart__btn--outline:hover {
    background: rgba(201, 162, 39, 0.15) !important;
    color: #fff !important;
}

html.ahlmall-dark-mode .ahlmall-mini-cart__btn--primary {
    background: var(--color-1st, #fd6a00) !important;
    color: #fff !important;
    border-color: var(--color-1st, #fd6a00) !important;
}

html.ahlmall-dark-mode .ahlmall-mini-cart__btn--primary:hover {
    filter: brightness(1.08);
}

html.ahlmall-dark-mode .navbar-nav .dropdown-menu.cart_box.ahlmall-mini-cart-dropdown {
    background: var(--ahlmall-dm-surface) !important;
    box-shadow: 0 14px 42px rgba(0, 0, 0, 0.45) !important;
}

/* قائمة التصنيفات */
html.ahlmall-dark-mode #navCatContent,
html.ahlmall-dark-mode #navCatContent.nav_cat {
    background-color: var(--ahlmall-dm-surface) !important;
    border: 1px solid var(--ahlmall-dm-border);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

html.ahlmall-dark-mode #navCatContent li a,
html.ahlmall-dark-mode #navCatContent li a span {
    color: var(--ahlmall-dm-text);
}

html.ahlmall-dark-mode #navCatContent li a:hover,
html.ahlmall-dark-mode #navCatContent li a:hover span {
    color: var(--color-1st, #fd6a00);
}

html.ahlmall-dark-mode #navCatContent ul li .dropdown-menu {
    background-color: var(--ahlmall-dm-surface-2);
    border: 1px solid var(--ahlmall-dm-border);
}

html.ahlmall-dark-mode #navCatContent ul li .dropdown-menu .dropdown-item,
html.ahlmall-dark-mode #navCatContent ul li .dropdown-menu .nav-link {
    color: var(--ahlmall-dm-text);
}

html.ahlmall-dark-mode #navCatContent ul li .dropdown-menu .dropdown-item:hover,
html.ahlmall-dark-mode #navCatContent ul li .dropdown-menu .nav-link:hover {
    background-color: rgba(253, 106, 0, 0.12);
    color: var(--color-1st, #fd6a00);
}

html.ahlmall-dark-mode .bottom_header .navbar .navbar-nav:not(.attr-nav) .nav-link,
html.ahlmall-dark-mode .bottom_header .navbar .navbar-nav:not(.attr-nav) a {
    color: var(--ahlmall-dm-text);
}

html.ahlmall-dark-mode .bottom_header .navbar .navbar-nav:not(.attr-nav) .nav-link:hover,
html.ahlmall-dark-mode .bottom_header .navbar .navbar-nav:not(.attr-nav) a:hover {
    color: var(--color-1st, #fd6a00);
}

html.ahlmall-dark-mode .bottom_header .navbar-toggler {
    color: var(--ahlmall-dm-heading);
}
