/* Allmarket dark theme — overrides only. Light mode is unchanged. */

html[data-theme="dark"] {
    color-scheme: dark;

    --am-page: #121418;
    --am-surface: #1b1e24;
    --am-elevated: #23272f;
    --am-border: #333844;
    --am-text: #e6e6e6;
    --am-muted: #a8adb6;
    --am-heading: #f3f3f3;
    --am-header: #121418;
    --am-footer: #16181d;
    --am-input: #1b1e24;

    --gradient-background: #121418;
    --base-color: 230, 230, 230;
    --base-body-bg-color: #121418;
    --border-color-base: #333844;
    --heading-color: #f3f3f3;
    --primary-color: #dd3327;
    --success-color: #3dbe4d;
    --color-link: #e6e6e6;
    --color-link-hover: #ffffff;
    --btn-primary-bg: #f3f3f3;
    --btn-primary-color: #121418;
    --btn-primary-color-hover: #121418;
    --btn-primary-bg-hover: #ffffff;
    --btn-secondary-color: #e6e6e6;
    --btn-secondary-border-color: #333844;
    --btn-secondary-bg: #23272f;
    --btn-secondary-color-hover: #121418;
    --btn-secondary-bg-hover: #e6e6e6;
    --btn-link-color: #e6e6e6;
    --btn-link-color-hover: #ffffff;
    --footer-background-color: #16181d;
    --footer-heading-color: #f3f3f3;
    --footer-text-color: #a8adb6;
    --footer-link-color: #e6e6e6;
    --footer-link-hover-color: #ffffff;
    --header-bg: #121418;
    --header-color: #e6e6e6;
    --header_border_color: #333844;
    --menu-color: #e6e6e6;
    --submenu-color: #a8adb6;
    --submenu-hover-color: #ffffff;
    --grey-color: #a8adb6;
    --posts-title-color: #f3f3f3;
    --input-border-color: #333844;
    --input-placeholder-color: #8b909a;
    --input-bg: #1b1e24;
    --input-color: #e6e6e6;
    --light-grey-color: #23272f;
    --bls-box-shadow: 0 5px 30px rgba(0, 0, 0, 0.35);
    --overlay-bg: rgba(0, 0, 0, 0.65);
    --swiper-theme-color: #e6e6e6;

    --bls__product-price-color: #f3f3f3;
    --bls__product-price-sale-color: #8b909a;
    --color-title-mobile: #ffffff;
    --bg-title-mobile: #D73F0F;

    --co-accent: #e6e6e6;
    --co-accent-dark: #ffffff;
    --co-accent-light: #23272f;
}

html[data-theme="light"] {
    color-scheme: light;
}

/* Color-scheme blocks used on header / footer / sections */
html[data-theme="dark"] .color-default-color-scheme,
html[data-theme="dark"] .color-scheme-6de5e490-9ebf-4111-bce7-840b2d9c6f4c,
html[data-theme="dark"] .color-scheme-d3c2cda4-e08a-4892-81c9-2c413350168b,
html[data-theme="dark"] .color-scheme-1cb478ae-ef33-4d4c-8e4a-f173c93772a8 {
    --gradient-background: #121418;
    --base-color: 230, 230, 230;
    --base-body-bg-color: #121418;
    --border-color-base: #333844;
    --input-bg: #1b1e24;
    --input-border-color: #333844;
    --heading-color: #f3f3f3;
    --color-link: #e6e6e6;
    --color-link-hover: #ffffff;
    --btn-primary-bg: #f3f3f3;
    --btn-primary-color: #121418;
    --btn-primary-color-hover: #121418;
    --btn-primary-bg-hover: #ffffff;
    --btn-secondary-color: #e6e6e6;
    --btn-secondary-border-color: #333844;
    --btn-secondary-bg: #23272f;
    --btn-secondary-color-hover: #121418;
    --btn-secondary-bg-hover: #e6e6e6;
    --btn-link-color: #e6e6e6;
    --btn-link-color-hover: #ffffff;
    --header-bg: #121418;
    --header-color: #e6e6e6;
    --header_border_color: #333844;
    --menu-color: #e6e6e6;
    --submenu-color: #a8adb6;
    --submenu-hover-color: #ffffff;
    --footer-background-color: #16181d;
    --footer-heading-color: #f3f3f3;
    --footer-text-color: #a8adb6;
    --footer-link-color: #e6e6e6;
    --footer-link-hover-color: #ffffff;
}

html[data-theme="dark"] .color-scheme-4e2829e1-a162-4726-850f-b9f27dd45db4 {
    --gradient-background: #121418;
    --base-color: 230, 230, 230;
    --base-body-bg-color: #121418;
    --border-color-base: #333844;
    --heading-color: #f3f3f3;
    --color-link: #e6e6e6;
    --color-link-hover: #ffffff;
    --header-bg: #121418;
    --header-color: #e6e6e6;
    --header_border_color: #333844;
    --menu-color: #e6e6e6;
    --submenu-color: #e6e6e6;
    --submenu-hover-color: #ffffff;
    --footer-background-color: #121418;
    --footer-heading-color: #f3f3f3;
    --footer-text-color: #e6e6e6;
    --footer-link-color: #e6e6e6;
    --footer-link-hover-color: #ffffff;
}

html[data-theme="dark"] .color-scheme-013ccfbf-beb5-42e6-bc8f-8a36ab634ca7 {
    --gradient-background: #16181d;
    --base-color: 168, 173, 182;
    --base-body-bg-color: #16181d;
    --border-color-base: #2a2e38;
    --heading-color: #f3f3f3;
    --color-link: #a8adb6;
    --color-link-hover: #ffffff;
    --footer-background-color: #16181d;
    --footer-heading-color: #f3f3f3;
    --footer-text-color: #a8adb6;
    --footer-link-color: #e6e6e6;
    --footer-link-hover-color: #ffffff;
    --header-bg: #16181d;
    --header-color: #e6e6e6;
}

html[data-theme="dark"] .color-scheme-b808185a-cae7-47ba-9fe9-7d81ddf7e485 {
    --gradient-background: transparent;
    --base-color: 230, 230, 230;
    --base-body-bg-color: transparent;
    --heading-color: #f3f3f3;
    --color-link: #e6e6e6;
    --btn-link-color: #e6e6e6;
    --header-color: #f3f3f3;
    --menu-color: #f3f3f3;
    --submenu-color: #e6e6e6;
}

html[data-theme="dark"] .color-scheme-735c978e-d3b7-474f-a3f7-562370446399,
html[data-theme="dark"] .color-scheme-cdad2881-e610-44b4-8e2f-e906f6a5f790,
html[data-theme="dark"] .color-scheme-a7934d7b-8af4-45c2-aba0-0f889cae386b,
html[data-theme="dark"] .color-scheme-6616aa44-7b5e-4f3f-9afe-860805c889bb {
    --border-color-base: #333844;
    --color-link: #e6e6e6;
    --color-link-hover: #ffffff;
}

/* Page chrome */
html[data-theme="dark"] body,
html[data-theme="dark"] .bls-wrapper,
html[data-theme="dark"] #MainContent,
html[data-theme="dark"] .umino-clothing-store {
    background-color: var(--am-page) !important;
    background: var(--am-page) !important;
    color: var(--am-text);
}

html[data-theme="dark"] h1,
html[data-theme="dark"] h2,
html[data-theme="dark"] h3,
html[data-theme="dark"] h4,
html[data-theme="dark"] h5,
html[data-theme="dark"] h6,
html[data-theme="dark"] .heading-color,
html[data-theme="dark"] .heading-title {
    color: var(--am-heading);
}

html[data-theme="dark"] input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="file"]):not([type="hidden"]),
html[data-theme="dark"] textarea,
html[data-theme="dark"] select {
    background: var(--am-input);
    background-color: var(--am-input);
    color: var(--am-text);
    border-color: var(--am-border);
}

html[data-theme="dark"] input::placeholder,
html[data-theme="dark"] textarea::placeholder {
    color: var(--am-muted);
}

/* Browser autofill (saved email/password) paints a light slab; keep dark. */
html[data-theme="dark"] input:-webkit-autofill,
html[data-theme="dark"] input:-webkit-autofill:hover,
html[data-theme="dark"] input:-webkit-autofill:focus,
html[data-theme="dark"] input:-webkit-autofill:active,
html[data-theme="dark"] textarea:-webkit-autofill,
html[data-theme="dark"] select:-webkit-autofill {
    -webkit-text-fill-color: var(--am-text) !important;
    caret-color: var(--am-text);
    border-color: var(--am-border) !important;
    box-shadow: 0 0 0 1000px var(--am-input) inset !important;
    -webkit-box-shadow: 0 0 0 1000px var(--am-input) inset !important;
    transition: background-color 99999s ease-out 0s;
}

html[data-theme="dark"] input:autofill,
html[data-theme="dark"] input:autofill:hover,
html[data-theme="dark"] input:autofill:focus,
html[data-theme="dark"] textarea:autofill,
html[data-theme="dark"] select:autofill {
    -webkit-text-fill-color: var(--am-text) !important;
    caret-color: var(--am-text);
    border-color: var(--am-border) !important;
    box-shadow: 0 0 0 1000px var(--am-input) inset !important;
}

/* Header / search / menus */
html[data-theme="dark"] .page-header,
html[data-theme="dark"] .header-middle,
html[data-theme="dark"] .header-middle.gradient,
html[data-theme="dark"] .topbar,
html[data-theme="dark"] .topbar.gradient,
html[data-theme="dark"] #sticky-header {
    --gradient-background: var(--am-header);
    --base-body-bg-color: var(--am-header);
    background: var(--am-header);
    background-color: var(--am-header);
    color: var(--am-text);
}

html[data-theme="dark"] .middle-bottom,
html[data-theme="dark"] .middle-bottom.color-default-color-scheme,
html[data-theme="dark"] .middle-bottom.gradient {
    --gradient-background: #d83d3c;
    --base-body-bg-color: #d83d3c;
    --heading-color: #ffffff;
    --menu-color: #ffffff;
    --color-link: #ffffff;
    background: #d83d3c;
    background-color: #d83d3c;
    border-color: #d83d3c;
    color: #ffffff;
}

html[data-theme="dark"] .title-menu-dropdown,
html[data-theme="dark"] h3.title-menu-dropdown,
html[data-theme="dark"] .title-menu-dropdown.gradient,
html[data-theme="dark"] .title-menu-dropdown.color-scheme-1cb478ae-ef33-4d4c-8e4a-f173c93772a8 {
    --gradient-background: #d83d3c;
    --vertical-title-bg: #d83d3c;
    --heading-color: #ffffff;
    --menu-color: #ffffff;
    background: #d83d3c;
    background-color: #d83d3c;
    color: #ffffff;
}

html[data-theme="dark"] .title-menu-dropdown span,
html[data-theme="dark"] .title-menu-dropdown i,
html[data-theme="dark"] .title-menu-dropdown .icon-menu {
    color: #ffffff;
}

html[data-theme="dark"] .page-header .middle-bottom .navigation {
    background: transparent;
    background-color: transparent;
}

html[data-theme="dark"] .page-header .middle-bottom .horizontal-list > .level0 > a,
html[data-theme="dark"] .page-header .middle-bottom .horizontal-list > .level0 > a span {
    color: #ffffff;
}

@media (max-width: 1024px) {
    html[data-theme="dark"] .page-header .navigation.bls__canvas-mb-menu {
        background: var(--am-elevated);
        background-color: var(--am-elevated);
        color: var(--am-text);
    }
}

html[data-theme="dark"] .category-slider-bar,
html[data-theme="dark"] .category-slider-bar-mobile {
    background: var(--am-header);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.35);
}

html[data-theme="dark"] .category-slide-item,
html[data-theme="dark"] .category-slide-item-mobile {
    background: var(--am-elevated);
    color: var(--am-text);
}

html[data-theme="dark"] .category-slide-item:hover,
html[data-theme="dark"] .category-slide-item-mobile:hover {
    background: #2c313c;
    color: #fff;
}

html[data-theme="dark"] .cat-label,
html[data-theme="dark"] .cat-label-mobile {
    color: var(--am-text);
}

html[data-theme="dark"] .cat-nav-btn {
    color: var(--am-text);
    border-color: var(--am-border);
}

html[data-theme="dark"] .block-search-full .popup-search,
html[data-theme="dark"] .content-search-form,
html[data-theme="dark"] .predictive-search {
    background: var(--am-elevated);
    background-color: var(--am-elevated);
    color: var(--am-text);
}

html[data-theme="dark"] .header_search .search-modal,
html[data-theme="dark"] .header_search .search-modal__content,
html[data-theme="dark"] .header_search .search-modal__form {
    background: transparent;
    background-color: transparent;
}

html[data-theme="dark"] .field,
html[data-theme="dark"] .field-icon-input,
html[data-theme="dark"] .search-modal__form .field,
html[data-theme="dark"] #search_mini_form .field,
html[data-theme="dark"] .header_search .field {
    background: var(--am-input);
    background-color: var(--am-input);
    color: var(--am-text);
    overflow: hidden !important;
    border-radius: var(--input-border-radius, var(--btn-border-radius));
}

html[data-theme="dark"] .field input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="submit"]):not([type="button"]),
html[data-theme="dark"] .field textarea,
html[data-theme="dark"] .field select,
html[data-theme="dark"] .search-modal__form .field .search__input,
html[data-theme="dark"] #search_mini_form .field .search__input,
html[data-theme="dark"] .header_search .search__input,
html[data-theme="dark"] .header_search .field__input,
html[data-theme="dark"] .header_search input[type="search"] {
    appearance: none;
    -webkit-appearance: none;
    background: transparent !important;
    background-color: transparent !important;
    border-color: transparent !important;
    box-shadow: none !important;
}

html[data-theme="dark"] .header_search .search__button.search-button-text {
    background-color: #dd3327;
}

html[data-theme="dark"] .bls-minicart-content,
html[data-theme="dark"] .verticalmenu-html,
html[data-theme="dark"] .submenu,
html[data-theme="dark"] .disclosure__list,
html[data-theme="dark"] .bls-sidebar-drawer-wrapper.bls__canvas,
html[data-theme="dark"] .form-infor-wrapper,
html[data-theme="dark"] .bls-login-popup,
html[data-theme="dark"] .dlg-box,
html[data-theme="dark"] .dlg-message {
    background: var(--am-elevated);
    background-color: var(--am-elevated);
    color: var(--am-text);
}

html[data-theme="dark"] .bls-cart-footer,
html[data-theme="dark"] .bls-cart-footer.gradient,
html[data-theme="dark"] .bls-cart-summary,
html[data-theme="dark"] .bls-drawer-bottom {
    background: #191c22 !important;
    background-color: #191c22 !important;
    color: var(--am-text);
}

html[data-theme="dark"] .bls-cart-footer {
    border-top: 1px solid var(--am-border);
}

html[data-theme="dark"] .bls-subtotal,
html[data-theme="dark"] .bls-subtotal-price,
html[data-theme="dark"] .bls-minicart-product-name a {
    color: var(--am-heading);
}

html[data-theme="dark"] .bls-minicart-content .checkmark:before,
html[data-theme="dark"] .bls-minicart-content .checkbox-group .checkmark:before {
    background-color: var(--am-surface);
    border-color: var(--am-border);
}

html[data-theme="dark"] .bls-minicart-item-prices quantity-input {
    background-color: var(--am-surface);
    border-color: var(--am-border);
}

html[data-theme="dark"] .menu-mobile-title,
html[data-theme="dark"] .close-menu-mobile,
html[data-theme="dark"] .submenu-mobile-title {
    background: var(--am-header);
    color: var(--am-heading);
    border-color: var(--am-border);
}

html[data-theme="dark"] .verticalmenu-list a,
html[data-theme="dark"] .submenu a,
html[data-theme="dark"] .horizontal-list a {
    color: var(--am-text);
}

html[data-theme="dark"] .nav-toggle svg path[fill="#111111"],
html[data-theme="dark"] .nav-toggle path[fill="#111111"] {
    fill: #e6e6e6;
}

html[data-theme="dark"] .header__logo img,
html[data-theme="dark"] img.hmHjN {
    filter: brightness(1.35);
}

html[data-theme="dark"] .bls__mobile-stickybar,
html[data-theme="dark"] #allmarket-section-mobile-stickybar .fixed-bottom {
    background-color: var(--am-elevated);
    color: var(--am-text);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4);
}

html[data-theme="dark"] .bls__mobile-stickybar a,
html[data-theme="dark"] .quick-menu-mb {
    color: var(--am-text);
}

html[data-theme="dark"] .bls__mobile-stickybar svg path[stroke="#212529"] {
    stroke: #e6e6e6;
}

html[data-theme="dark"] .bls__mobile-stickybar svg rect:not([fill="none"]),
html[data-theme="dark"] .bls__mobile-stickybar svg path:not([stroke]) {
    fill: #e6e6e6;
}

html[data-theme="dark"] .current_mobile_menu {
    background: #2c313c;
}

html[data-theme="dark"] .current_mobile_menu a,
html[data-theme="dark"] .current_mobile_menu .quick-menu-mb {
    color: #ffffff;
}

html[data-theme="dark"] .current_mobile_menu svg path[stroke="#212529"] {
    stroke: #ffffff;
}

html[data-theme="dark"] .current_mobile_menu svg rect:not([fill="none"]),
html[data-theme="dark"] .current_mobile_menu svg path:not([stroke]) {
    fill: #ffffff;
}

html[data-theme="dark"] .bls_cookie {
    background-color: var(--am-elevated);
    color: var(--am-text);
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.4);
}

html[data-theme="dark"] .back-top {
    background-color: var(--am-elevated);
}

html[data-theme="dark"] .site-popup-card {
    background: var(--am-elevated);
    color: var(--am-text);
}

/* Product / collection / cart */
html[data-theme="dark"] .bls__product-item,
html[data-theme="dark"] .bls__product-details {
    background: transparent !important;
    background-color: transparent !important;
    color: var(--am-text);
}

html[data-theme="dark"] .bls__product-icon:not(.origin-style):hover,
html[data-theme="dark"] .bls__product-icon:not(.origin-style).active {
    background-color: var(--am-heading);
}

html[data-theme="dark"] .bls__product-icon:not(.origin-style):hover svg path,
html[data-theme="dark"] .bls__product-icon:not(.origin-style).active svg path,
html[data-theme="dark"] .bls__product-action button:hover .bls__product-icon svg path {
    fill: #121418 !important;
}

html[data-theme="dark"] .am-product-card-review__text {
    color: var(--am-muted);
}

html[data-theme="dark"] .bls__product-item .am-star:not(.is-active)::before {
    color: #6b717c;
}

html[data-theme="dark"] .bls__product-name,
html[data-theme="dark"] .bls__product-name a,
html[data-theme="dark"] .bls__product-title {
    color: var(--am-heading);
}

/* All categories page */
html[data-theme="dark"] .masonry .item,
html[data-theme="dark"] .all-categories-grid .item {
    background: var(--am-surface);
    padding: 0;
}

html[data-theme="dark"] .masonry ul {
    background: var(--am-surface);
    color: var(--am-text);
}

html[data-theme="dark"] .img-shimmer {
    background: linear-gradient(90deg, #23272f 25%, #333844 50%, #23272f 75%);
    background-size: 200% 100%;
}

html[data-theme="dark"] .masonry h5 a,
html[data-theme="dark"] .masonry ul a,
html[data-theme="dark"] .subcategory-wrapper span {
    color: var(--am-text);
}

html[data-theme="dark"] .masonry ul li a:hover,
html[data-theme="dark"] .masonry ul li a:hover span {
    color: #dd3327;
}

html[data-theme="dark"] .subcategory-wrapper img,
html[data-theme="dark"] .subcategory-wrapper svg {
    background-color: var(--am-elevated);
}

html[data-theme="dark"] .category-filter-wrapper .form-control {
    background: var(--am-input);
    color: var(--am-text);
    border-color: var(--am-border) !important;
}

html[data-theme="dark"] .toolbar {
    background: var(--am-elevated);
    color: var(--am-text);
}

html[data-theme="dark"] .btn-filter {
    background: var(--am-heading);
    border-color: var(--am-heading);
    color: #121418;
}

html[data-theme="dark"] a.btn-filter.actived,
html[data-theme="dark"] a.btn-filter:hover {
    background-color: transparent;
    border-color: var(--am-heading);
    color: var(--am-heading);
}

html[data-theme="dark"] .toolbar-sorter-mb .facet-filters__label {
    background: var(--am-heading);
    border-color: var(--am-heading);
    color: #121418;
}

html[data-theme="dark"] .toolbar-sorter-mb:hover .facet-filters__label:hover {
    background: transparent;
    border-color: var(--am-heading);
    color: var(--am-heading);
}

html[data-theme="dark"] .toolbar-sorter-mb__option,
html[data-theme="dark"] .toolbar-sorter-mb .select-custom-mb {
    background: var(--am-elevated);
    background-color: var(--am-elevated);
    color: var(--am-text);
}

html[data-theme="dark"] .toolbar-sorter-mb .facet-filters__sort li,
html[data-theme="dark"] .toolbar-sorter-mb .select-title,
html[data-theme="dark"] .toolbar-sorter-mb .close-select {
    color: var(--am-heading);
}

html[data-theme="dark"] .toolbar-sorter select {
    color: var(--am-heading);
    filter: none;
}

html[data-theme="dark"] .bls__option-swatch {
    background: var(--am-elevated);
    border-color: var(--am-border);
}

html[data-theme="dark"] .non-active-variation {
    border-color: var(--am-border) !important;
    color: var(--am-text);
}

html[data-theme="dark"] .bls__product-tabs,
html[data-theme="dark"] .compare-color-popup {
    background: var(--am-page);
    color: var(--am-text);
}

html[data-theme="dark"] .bls__sticky-addcart {
    background: var(--am-elevated) !important;
    background-color: var(--am-elevated) !important;
    border-top: 1px solid var(--am-border);
    color: var(--am-text);
}

html[data-theme="dark"] .bls__product-tabs.design-tab,
html[data-theme="dark"] .product-deatails-tabs .design-tab {
    border-top: 1px solid var(--am-border) !important;
    border-bottom: 1px solid var(--am-border) !important;
    background: var(--am-page) !important;
}

html[data-theme="dark"] .product-deatails-tabs,
html[data-theme="dark"] .product.info.detailed,
html[data-theme="dark"] .product.data.items,
html[data-theme="dark"] .nav-tabs {
    background: transparent !important;
    background-color: transparent !important;
    border-color: var(--am-border) !important;
}

html[data-theme="dark"] .nav-tabs {
    border-bottom: none !important;
}

html[data-theme="dark"] .product-deatails-tabs .item,
html[data-theme="dark"] .bls__product-tabs .item,
html[data-theme="dark"] .product.data.items .item,
html[data-theme="dark"] .tab-content .item,
html[data-theme="dark"] .nav-tabs .item,
html[data-theme="dark"] .nav-tabs .data.item {
    background: transparent !important;
    background-color: transparent !important;
    padding: 0;
    margin-bottom: 0;
}

html[data-theme="dark"] .nav-tabs .data.item a {
    background-color: var(--am-elevated) !important;
    color: var(--am-text) !important;
}

html[data-theme="dark"] .nav-tabs .data.item.active a,
html[data-theme="dark"] .nav-tabs .data.item:hover a {
    background-color: var(--am-surface) !important;
    color: var(--am-heading) !important;
}

html[data-theme="dark"] .nav-tabs li a:after {
    background-color: var(--am-border) !important;
}

html[data-theme="dark"] .product-details table tr:nth-child(odd),
html[data-theme="dark"] .custom-table-detail-product tr:nth-child(odd) {
    background-color: var(--am-elevated);
}

html[data-theme="dark"] .product-details table td,
html[data-theme="dark"] .custom-table-detail-product td {
    color: var(--am-text);
}

html[data-theme="dark"] .product-details table tr td:first-child,
html[data-theme="dark"] .custom-table-detail-product tr td:first-child {
    color: var(--am-heading);
}

html[data-theme="dark"] .quantity__button svg path {
    fill: var(--am-text) !important;
}

html[data-theme="dark"] .trust_badge-text,
html[data-theme="dark"] .trust_badge-text.bg-white {
    background: var(--am-page) !important;
    background-color: var(--am-page) !important;
    color: var(--am-text);
}

html[data-theme="dark"] .bls__trust_badge {
    border-color: var(--am-border);
}

html[data-theme="dark"] .installment-price {
    border-top-color: var(--am-border);
}

html[data-theme="dark"] .installment-price svg [stroke="#ebebeb"],
html[data-theme="dark"] .trust_badge-image svg [stroke="#ebebeb"] {
    stroke: var(--am-border);
}

html[data-theme="dark"] .installment-price svg [fill="#e6e7e8"],
html[data-theme="dark"] .trust_badge-image svg [fill="#e6e7e8"] {
    fill: var(--am-border);
}

html[data-theme="dark"] .bls__unavailable-suggestion-pdp .bls__unavailable-view-product-btn {
    background: var(--am-surface);
    color: var(--am-text);
    border-color: var(--am-border);
}

html[data-theme="dark"] .ugreen-nas-title {
    background-color: var(--am-elevated);
    color: var(--am-heading);
}

html[data-theme="dark"] .ugreen-nas-specs-table tr {
    border-bottom-color: var(--am-border);
}

/* Account / orders / comments / sign-in — custom.css prefixes */
html[data-theme="dark"] .prf-card,
html[data-theme="dark"] .acct-nav,
html[data-theme="dark"] .ord-card,
html[data-theme="dark"] .ord-review-modal,
html[data-theme="dark"] .cmc-card,
html[data-theme="dark"] .cmc-pending-card {
    background: var(--am-surface);
    color: var(--am-text);
    border-color: var(--am-border);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

html[data-theme="dark"] .prf-card-header,
html[data-theme="dark"] .ord-card-header,
html[data-theme="dark"] .cmc-card-header,
html[data-theme="dark"] .cmc-card-footer {
    background: var(--am-elevated);
    border-color: var(--am-border);
}

html[data-theme="dark"] .prf-info-item:hover {
    background: #252a36;
}

html[data-theme="dark"] .prf-info-label,
html[data-theme="dark"] .ord-detail-label,
html[data-theme="dark"] .cmc-date,
html[data-theme="dark"] .cmc-reply__date {
    color: var(--am-muted);
}

html[data-theme="dark"] .prf-info-value,
html[data-theme="dark"] .ord-detail-value,
html[data-theme="dark"] .ord-code,
html[data-theme="dark"] .cmc-review-text,
html[data-theme="dark"] .cmc-reply__text,
html[data-theme="dark"] .cmc-reply__author,
html[data-theme="dark"] .cmc-product-title,
html[data-theme="dark"] .ord-review-modal__product-title,
html[data-theme="dark"] .ord-review-modal__title,
html[data-theme="dark"] .ord-review-modal__section-label {
    color: var(--am-heading);
}

html[data-theme="dark"] .acct-nav-links a {
    color: var(--am-muted);
}

html[data-theme="dark"] .acct-nav-links a:hover {
    background: var(--am-elevated);
    color: var(--am-text);
}

html[data-theme="dark"] .acct-nav-links a.active .acct-nav-count {
    background: #fff;
    color: var(--primary-color, #dd3327);
}

html[data-theme="dark"] .ord-filter-btn,
html[data-theme="dark"] .cmc-filter-btn,
html[data-theme="dark"] .cmc-pending-cta,
html[data-theme="dark"] .cmc-btn,
html[data-theme="dark"] .ord-review-pill {
    background: var(--am-elevated);
    color: var(--am-text);
    border-color: var(--am-border);
}

html[data-theme="dark"] .ord-filter-btn:hover,
html[data-theme="dark"] .cmc-filter-btn:hover,
html[data-theme="dark"] .cmc-pending-cta:hover,
html[data-theme="dark"] .ord-review-pill:hover,
html[data-theme="dark"] .ord-copy-btn:hover {
    background: #2c313c !important;
    color: #fff !important;
    border-color: #454b5a !important;
}

html[data-theme="dark"] .ord-status.order-green { background: #1b3a22; color: #81c784; }
html[data-theme="dark"] .ord-status.order-blue { background: #16324a; color: #64b5f6; }
html[data-theme="dark"] .ord-status.order-yellow { background: #3a320f; color: #ffd54f; }
html[data-theme="dark"] .ord-status.order-red { background: #3a1a1a; color: #ef9a9a; }
html[data-theme="dark"] .ord-status.order-grey,
html[data-theme="dark"] .ord-status.order-gray { background: #2a2d34; color: #b0b0b0; }
html[data-theme="dark"] .ord-status.order-orange { background: #3a2712; color: #ffb74d; }

html[data-theme="dark"] .ord-btn--guarantee {
    background: #3a1a1a;
    border-color: #7a3030;
    color: var(--primary-color, #d83d3c);
}

html[data-theme="dark"] .ord-btn--invoice {
    background: var(--btn-primary-bg);
    color: var(--btn-primary-color);
}

html[data-theme="dark"] .ord-btn--invoice:hover {
    background: var(--btn-primary-bg-hover);
    color: var(--btn-primary-color-hover);
    text-decoration: none;
}

html[data-theme="dark"] .ord-review-modal__card,
html[data-theme="dark"] .cmc-reply {
    background: var(--am-elevated);
    border-color: var(--am-border);
}

html[data-theme="dark"] .ord-review-modal__thumb,
html[data-theme="dark"] .cmc-reply--store,
html[data-theme="dark"] .cmc-reply__avatar--store,
html[data-theme="dark"] .cmc-reply::before {
    background: var(--am-surface);
    border-color: var(--am-border);
}

html[data-theme="dark"] .ord-review-modal__textarea {
    background: var(--am-input);
    color: var(--am-text);
    border-color: var(--am-border);
}

html[data-theme="dark"] .ord-review-modal__message--error {
    background: #3a1a1a;
}

html[data-theme="dark"] .ord-review-modal__message--success {
    background: #14301d;
}

html[data-theme="dark"] .ord-review-modal__close {
    background: rgba(255, 255, 255, 0.08);
    color: var(--am-muted);
}

html[data-theme="dark"] .ord-review-modal__close:hover {
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
}

html[data-theme="dark"] .cmc-reply__avatar {
    background: linear-gradient(135deg, #3a3f4a 0%, #2a2e38 100%);
    color: var(--am-text);
}

html[data-theme="dark"] .signin-phone-input {
    background: var(--am-input);
    border-color: var(--am-border);
}

html[data-theme="dark"] .signin-phone-prefix {
    background: var(--am-elevated);
    color: var(--am-muted);
    border-right-color: var(--am-border);
}

html[data-theme="dark"] .signin-tab {
    color: var(--am-muted);
}

html[data-theme="dark"] .signin-tab.active,
html[data-theme="dark"] .signin-tab:hover {
    color: var(--am-heading);
}

/* Select2 */
html[data-theme="dark"] .select2-container--default .select2-selection--single,
html[data-theme="dark"] .select2-dropdown,
html[data-theme="dark"] .select2-dropdown--below,
html[data-theme="dark"] .select2-dropdown--above,
html[data-theme="dark"] .select2-container--default .select2-search--dropdown .select2-search__field {
    background-color: var(--am-elevated);
    color: var(--am-text);
    border-color: var(--am-border) !important;
}

html[data-theme="dark"] .verticalmenu-html,
html[data-theme="dark"] .verticalmenu-list,
html[data-theme="dark"] .submenu,
html[data-theme="dark"] .disclosure__list {
    border-color: var(--am-border);
}

html[data-theme="dark"] .select2-container--default .select2-selection--single .select2-selection__rendered {
    color: var(--am-text);
}

html[data-theme="dark"] .select2-container--default .select2-selection--single .select2-selection__arrow,
html[data-theme="dark"] .select2-container--default .select2-selection--single .select2-selection__arrow b {
    background-color: transparent !important;
}

html[data-theme="dark"] .select2-container--default .select2-results__option {
    color: var(--am-text);
}

html[data-theme="dark"] .select2-container--default .select2-results__option--highlighted.select2-results__option--selectable,
html[data-theme="dark"] .select2-container--default .select2-results__option--selected {
    background-color: #2c313c;
    color: #fff;
}

/* What to buy + map helpers */
html[data-theme="dark"] #what-to-buy-page .wtb-chip,
html[data-theme="dark"] #what-to-buy-page .wtb-dropdown,
html[data-theme="dark"] #what-to-buy-page .wtb-clear-cta {
    background: var(--am-surface) !important;
    color: var(--am-text) !important;
    border-color: var(--am-border) !important;
}

html[data-theme="dark"] #what-to-buy-page .wtb-strip {
    border-bottom-color: var(--am-border);
}

html[data-theme="dark"] #what-to-buy-page .wtb-chip__label,
html[data-theme="dark"] #what-to-buy-page .wtb-chip__arrow,
html[data-theme="dark"] #what-to-buy-page .wtb-price-dash {
    color: var(--am-muted);
}

html[data-theme="dark"] #what-to-buy-page .wtb-chip__value,
html[data-theme="dark"] #what-to-buy-page .wtb-keyword-input,
html[data-theme="dark"] #what-to-buy-page .wtb-price-in {
    color: var(--am-heading) !important;
}

html[data-theme="dark"] #what-to-buy-page .wtb-keyword-input::placeholder,
html[data-theme="dark"] #what-to-buy-page .wtb-price-in::placeholder {
    color: var(--am-muted);
}

html[data-theme="dark"] #what-to-buy-page .wtb-keyword-search-btn svg path {
    fill: var(--am-heading);
}

html[data-theme="dark"] #what-to-buy-page .wtb-dropdown {
    background: var(--am-elevated) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

html[data-theme="dark"] #what-to-buy-page .wtb-cat-search input {
    background: var(--am-page);
    color: var(--am-heading);
    border-color: var(--am-border);
}

html[data-theme="dark"] #what-to-buy-page .wtb-cat-search input::placeholder {
    color: var(--am-muted);
}

html[data-theme="dark"] #what-to-buy-page .wtb-cat-list li a,
html[data-theme="dark"] #what-to-buy-page .wtb-cat-list li.wtb-cat-group .wtb-cat-group__toggle,
html[data-theme="dark"] #what-to-buy-page .wtb-cat-group__title {
    color: var(--am-text);
}

html[data-theme="dark"] #what-to-buy-page .wtb-cat-list li a:hover,
html[data-theme="dark"] #what-to-buy-page .wtb-cat-list li.wtb-cat-group .wtb-cat-group__toggle:hover {
    background: #2c313c;
    color: #ffffff;
}

html[data-theme="dark"] #what-to-buy-page .wtb-cat-list li.current-filter a,
html[data-theme="dark"] #what-to-buy-page .wtb-cat-list--multi li.current-filter a::before {
    color: var(--am-heading);
}

html[data-theme="dark"] #what-to-buy-page .wtb-cat-check__box {
    background: var(--am-page) !important;
    border-color: #8b909a !important;
}

html[data-theme="dark"] #what-to-buy-page .wtb-cat-check input[type="checkbox"]:checked ~ .wtb-cat-check__box,
html[data-theme="dark"] #what-to-buy-page .wtb-cat-check input[type="checkbox"]:indeterminate ~ .wtb-cat-check__box {
    background: var(--am-heading) !important;
    border-color: var(--am-heading) !important;
}

html[data-theme="dark"] #what-to-buy-page .wtb-cat-check input[type="checkbox"]:checked ~ .wtb-cat-check__box::after,
html[data-theme="dark"] #what-to-buy-page .wtb-cat-check input[type="checkbox"]:indeterminate ~ .wtb-cat-check__box::after {
    border-color: #121418;
}

html[data-theme="dark"] #what-to-buy-page .wtb-empty__text,
html[data-theme="dark"] #what-to-buy-page .wtb-loading__text {
    color: var(--am-muted);
}

html[data-theme="dark"] .map-use-location-btn,
html[data-theme="dark"] .map-picker-search,
html[data-theme="dark"] .map-type-switcher__btn {
    background: var(--am-elevated) !important;
    color: var(--am-text) !important;
    border-color: var(--am-border) !important;
}

html[data-theme="dark"] .map-picker-warning {
    background: #3a320f;
    color: #ffd54f;
    border-color: #8a6d12;
}

/* Checkout */
html[data-theme="dark"] #vueapp > div,
html[data-theme="dark"] .co-shopify-skin {
    --swn0j0: #e6e6e6;
    --swn0j1: #121418;
    --swn0j2: #e6e6e6;
    --swn0j3: #121418;
    --swn0j6: #a8adb6;
    --swn0j7: #e6e6e6;
    --swn0j8: #e6e6e6;
    --swn0j9: #e6e6e6;
    --swn0ja: #121418;
    --swn0jb: #121418;
    --swn0j14: #121418;
    --swn0j15: #1b1e24;
    --swn0j19: #e6e6e6;
    --swn0j1a: #121418;
    --swn0j1b: #a8adb6;
    --swn0j1d: #1b1e24;
    --swn0j1n: #e6e6e6;
    --swn0j1p: #121418;
    --swn0j1s: #e6e6e6;
    --swn0j1q: #121418;
    --swn0j1t: #e6e6e6;
    --swn0j1u: #a8adb6;
    --swn0j1r: rgba(255, 255, 255, 0.08);
    --swn0j2d: rgba(255, 255, 255, 0.08);
    --swn0j2v: rgba(255, 255, 255, 0.08);
    --swn0j4l: #e6e6e6;
    --swn0j4n: #121418;
    --swn0j4q: #e6e6e6;
    --swn0j4o: #121418;
    --swn0j4r: #e6e6e6;
    --swn0j4s: #a8adb6;
    --swn0j4p: rgba(255, 255, 255, 0.08);
    --swn0j5b: rgba(255, 255, 255, 0.08);
    --swn0j5t: rgba(255, 255, 255, 0.08);
    --swn0jdb: #121418;
    --x-default-color-background: #121418;
    --x-default-color-text: #e6e6e6;
    --x-default-color-icon: #e6e6e6;
}

html[data-theme="dark"] #vueapp,
html[data-theme="dark"] #vueapp header[role="banner"],
html[data-theme="dark"] #vueapp .JPw09,
html[data-theme="dark"] #vueapp .REIwn,
html[data-theme="dark"] #vueapp .f1jux,
html[data-theme="dark"] #vueapp .g9gqqf1 {
    background: #121418 !important;
    background-color: #121418 !important;
    --x-default-color-background: #121418;
}

html[data-theme="dark"] .co-checkout {
    background: var(--am-page);
    color: var(--am-text);
}

html[data-theme="dark"] .co-section,
html[data-theme="dark"] .co-progress__dot,
html[data-theme="dark"] .co-summary,
html[data-theme="dark"] .co-card,
html[data-theme="dark"] .co-tile,
html[data-theme="dark"] .co-sm-card,
html[data-theme="dark"] .co-addr-card,
html[data-theme="dark"] .co-addr-form-panel,
html[data-theme="dark"] .co-pm-panel,
html[data-theme="dark"] .co-pm-tab,
html[data-theme="dark"] .co-pm-channel-row,
html[data-theme="dark"] .co-pm-channel-row--selected,
html[data-theme="dark"] .co-installment-row,
html[data-theme="dark"] .co-courier-opt,
html[data-theme="dark"] .order-sc-card-option,
html[data-theme="dark"] .co-toast,
html[data-theme="dark"] .co-modal,
html[data-theme="dark"] .modal-content,
html[data-theme="dark"] .co-addr-pin-map,
html[data-theme="dark"] .payment-box,
html[data-theme="dark"] .co-input,
html[data-theme="dark"] .co-select {
    background: var(--am-surface);
    color: var(--am-text);
    border-color: var(--am-border);
}

html[data-theme="dark"] .co-tile__label,
html[data-theme="dark"] .co-sm-card__title,
html[data-theme="dark"] .co-addr-card__title,
html[data-theme="dark"] .co-label {
    color: var(--am-text);
}

html[data-theme="dark"] .co-sm-card__desc,
html[data-theme="dark"] .co-addr-card__meta,
html[data-theme="dark"] .co-progress__label {
    color: var(--am-muted);
}

html[data-theme="dark"] .co-sm-card__price,
html[data-theme="dark"] .co-sm-card--selected .co-sm-card__price,
html[data-theme="dark"] .co-sticky-bar__info-val {
    color: var(--am-heading);
}

html[data-theme="dark"] .co-sm-card__price--pending {
    color: var(--am-muted);
}

html[data-theme="dark"] .co-addr-card--selected {
    border-color: var(--am-heading);
    box-shadow: 0 0 0 1px var(--am-heading);
    background: var(--am-elevated);
}

html[data-theme="dark"] .co-addr-card__check {
    border-color: #8b909a;
    color: transparent;
}

html[data-theme="dark"] .co-addr-card--selected .co-addr-card__check {
    background: var(--am-heading);
    border-color: var(--am-heading);
    color: transparent;
}

html[data-theme="dark"] .co-addr-card--selected .co-addr-card__check svg {
    display: none;
}

html[data-theme="dark"] .co-tile__badge {
    background: #3a2712;
    color: #ffb74d;
}

html[data-theme="dark"] .co-tile__badge--muted {
    background: var(--am-elevated);
    color: var(--am-muted);
}

html[data-theme="dark"] .co-btn--secondary {
    background: var(--am-elevated);
    color: var(--am-text);
    border-color: var(--am-border);
}

html[data-theme="dark"] .co-info-banner {
    background: #1a2740;
    color: var(--am-text);
}

html[data-theme="dark"] .co-section__title,
html[data-theme="dark"] .co-progress__label,
html[data-theme="dark"] .co-addr-card__label,
html[data-theme="dark"] .co-addr-form-panel__header,
html[data-theme="dark"] .co-addr-form-panel__title,
html[data-theme="dark"] .modal-header,
html[data-theme="dark"] .co-addr-pin-map__header-text {
    color: var(--am-heading);
}

html[data-theme="dark"] .co-pm-toggle__label {
    color: var(--am-text);
}

html[data-theme="dark"] .co-pm-toggle__track {
    background: #3a3f4a;
}

html[data-theme="dark"] .co-pm-toggle__thumb {
    background: #e6e6e6;
}

html[data-theme="dark"] .co-pm-toggle__input:checked + .co-pm-toggle__track {
    background: #dd3327;
}

html[data-theme="dark"] .co-pm-toggle__input:checked + .co-pm-toggle__track .co-pm-toggle__thumb {
    background: #ffffff;
}

html[data-theme="dark"] .co-btn--primary {
    background: var(--am-heading);
    color: #121418;
}

html[data-theme="dark"] .co-btn--primary:hover {
    background: #ffffff;
    color: #121418;
}

html[data-theme="dark"] .co-addr-form-panel__close {
    color: var(--am-muted);
}

html[data-theme="dark"] .co-addr-form-panel__close:hover {
    color: var(--am-heading);
    background: var(--am-elevated);
}

html[data-theme="dark"] .co-sm-card__icon {
    background: var(--am-elevated);
    color: var(--am-heading);
}

html[data-theme="dark"] .co-sm-card--selected .co-sm-card__icon,
html[data-theme="dark"] .co-sm-card--selected .co-sm-card__icon--express {
    background: #3a1a1a;
    color: var(--am-heading);
}

html[data-theme="dark"] .co-sm-card__icon--express {
    background: #3a2e12;
    color: #fbbf24;
}

html[data-theme="dark"] .co-promo-toggle__label {
    color: var(--am-heading);
}

html[data-theme="dark"] .co-promo__input {
    background: var(--am-input);
    color: var(--am-text);
    border-color: var(--am-border);
}

html[data-theme="dark"] .co-promo__btn {
    background: var(--am-heading);
    color: #121418;
}

html[data-theme="dark"] .co-promo__btn:hover {
    background: #ffffff;
    color: #121418;
}

html[data-theme="dark"] .co-progress__dot {
    border-color: var(--am-border);
    color: var(--am-muted);
}

html[data-theme="dark"] .co-checkout input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
html[data-theme="dark"] .co-checkout textarea,
html[data-theme="dark"] .co-checkout select {
    background-color: var(--am-input);
    color: var(--am-text);
    border-color: var(--am-border);
}

html[data-theme="dark"] .co-pm-tab__icon--card { background: #1a2740; color: #93c5fd; }
html[data-theme="dark"] .co-pm-tab__icon--installment { background: #2a2140; color: #c4b5fd; }
html[data-theme="dark"] .co-pm-tab__icon--courier { background: #3a2e12; color: #fbbf24; }
html[data-theme="dark"] .co-pm-tab__icon--bank { background: #14301d; color: #4ade80; }

html[data-theme="dark"] .co-pm-tab__label {
    color: var(--am-muted);
}

html[data-theme="dark"] .co-pm-tab--active .co-pm-tab__label {
    color: var(--am-heading);
}

html[data-theme="dark"] .co-installment-row__name,
html[data-theme="dark"] .co-courier-opt__title,
html[data-theme="dark"] .co-new-card__text,
html[data-theme="dark"] .co-sc-card__number,
html[data-theme="dark"] .co-summary-item__title,
html[data-theme="dark"] .co-summary-item__price,
html[data-theme="dark"] .co-totals-row--total,
html[data-theme="dark"] .co-summary__title {
    color: var(--am-heading);
}

html[data-theme="dark"] .co-pm-channel-row__desc,
html[data-theme="dark"] .co-pm-info,
html[data-theme="dark"] .co-saved-cards__title,
html[data-theme="dark"] .co-totals-row,
html[data-theme="dark"] .co-summary-item__gift-names,
html[data-theme="dark"] .co-sc-card__expiry {
    color: var(--am-muted);
}

html[data-theme="dark"] .co-installment-row__badge {
    background: var(--am-heading);
    color: #121418;
}

html[data-theme="dark"] .co-new-card,
html[data-theme="dark"] .co-sc-card,
html[data-theme="dark"] .co-card-trust {
    background: var(--am-elevated);
    border-color: var(--am-border);
    color: var(--am-text);
}

html[data-theme="dark"] .co-card-trust__secure,
html[data-theme="dark"] .co-card-trust__lock {
    color: #93c5fd;
}

html[data-theme="dark"] .co-info-banner {
    background: #1e3a5f;
    border-color: #3b6ea5;
    color: #dbeafe;
}

html[data-theme="dark"] .co-progress__step--done .co-progress__dot {
    background: var(--am-heading);
    border-color: var(--am-heading);
    color: #121418;
}

html[data-theme="dark"] .co-summary-totals,
html[data-theme="dark"] .co-totals-row--total,
html[data-theme="dark"] .co-saved-cards {
    border-color: var(--am-border);
}

/* Toggle — pill with sun / moon and sliding thumb */
.theme-toggle,
.theme-toggle:hover,
.theme-toggle:focus,
.theme-toggle:focus-visible,
.theme-toggle:active {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 28px;
    margin-right: 10px;
    padding: 0;
    border: 0;
    border-color: transparent;
    background: transparent;
    background-color: transparent;
    box-shadow: none;
    outline: none;
    cursor: pointer;
    flex-shrink: 0;
    letter-spacing: normal;
    text-transform: none;
}

.theme-toggle__track {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 56px;
    height: 28px;
    padding: 0 6px;
    border-radius: 999px;
    background: #d9dbe1;
    box-sizing: border-box;
}

.theme-toggle__thumb {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.18);
    transition: transform 0.22s ease;
    pointer-events: none;
}

.theme-toggle svg,
.theme-toggle path,
.theme-toggle circle {
    fill: none !important;
}

.theme-toggle__icon {
    position: relative;
    z-index: 1;
    display: block;
    width: 14px;
    height: 14px;
    flex: 0 0 14px;
}

.theme-toggle__icon--sun {
    color: #111111;
}

.theme-toggle__icon--moon {
    color: #8a8f99;
}

html[data-theme="dark"] .theme-toggle__track {
    background: #2a3148;
}

html[data-theme="dark"] .theme-toggle__thumb {
    transform: translateX(28px);
    background: #4a5578;
    box-shadow: none;
}

html[data-theme="dark"] .theme-toggle__icon--sun {
    color: #8b90a8;
}

html[data-theme="dark"] .theme-toggle__icon--moon {
    color: #ffffff;
}

.theme-toggle-checkout-wrap {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.theme-toggle-menu-row {
    display: flex;
    align-items: center;
    padding: 12px 20px 14px;
    border-bottom: 1px solid var(--border-color-base);
}

.theme-toggle-menu-row .theme-toggle {
    margin-right: 0;
}

/* Collection filters, compare bar, reviews, leftover custom surfaces */
html[data-theme="dark"] .collection-sidebar {
    background: transparent !important;
    background-color: transparent !important;
    color: var(--am-text);
}

@media (max-width: 1024px) {
    html[data-theme="dark"] .collection-sidebar.bls__canvas-mb {
        background: var(--am-elevated) !important;
        background-color: var(--am-elevated) !important;
        box-shadow: 4px 0 24px rgba(0, 0, 0, 0.45);
    }
}

html[data-theme="dark"] .collection-sidebar li.item,
html[data-theme="dark"] .collection-sidebar .items li,
html[data-theme="dark"] .collection-sidebar .items li a,
html[data-theme="dark"] .collection-sidebar .site-nav {
    background: transparent !important;
    background-color: transparent !important;
    color: var(--am-text);
}

html[data-theme="dark"] .collection-sidebar .sidebar-header,
html[data-theme="dark"] .collection-sidebar .filter-title,
html[data-theme="dark"] .collection-sidebar .sidebar-header h3 {
    color: var(--am-heading);
    border-color: var(--am-border);
}

html[data-theme="dark"] .collection-sidebar .sidebar-close {
    color: var(--am-muted);
}

html[data-theme="dark"] .collection-sidebar .filter-item {
    border-bottom-color: var(--am-border);
}

html[data-theme="dark"] .collection-sidebar .filter-input,
html[data-theme="dark"] .collection-sidebar .form-input {
    background: var(--am-page);
    background-color: var(--am-page);
    color: var(--am-text);
    border-color: var(--am-border);
}

html[data-theme="dark"] .bls__link-filter .checkbox {
    background: var(--am-page) !important;
    background-color: var(--am-page) !important;
    border: 1px solid #8b909a !important;
    color: var(--am-heading);
}

html[data-theme="dark"] .bls__link-filter:hover .checkbox {
    background-color: #2c313c !important;
}

html[data-theme="dark"] .current-filter .bls__link-filter .checkbox {
    background-color: var(--am-heading) !important;
    border-color: var(--am-heading) !important;
    color: #121418 !important;
}

html[data-theme="dark"] .bls__unavailable-suggestion-section {
    background: var(--am-surface) !important;
    background-color: var(--am-surface) !important;
    color: var(--am-text);
}

html[data-theme="dark"] .select-custom .select__select,
html[data-theme="dark"] .checkbought,
html[data-theme="dark"] .product-option img,
html[data-theme="dark"] .future-discount-right,
html[data-theme="dark"] .mkt-sms-cat-card,
html[data-theme="dark"] .compare-sticky-bar,
html[data-theme="dark"] .compare-sticky-item,
html[data-theme="dark"] .am-review-hero,
html[data-theme="dark"] .am-review-form,
html[data-theme="dark"] .am-review-item {
    background: var(--am-surface);
    background-color: var(--am-surface);
    color: var(--am-text);
    border-color: var(--am-border);
}

html[data-theme="dark"] .design-show_all .item.title h4,
html[data-theme="dark"] .am-review-form textarea,
html[data-theme="dark"] .am-review-form input:not([type="hidden"]):not([type="radio"]):not([type="checkbox"]) {
    background: var(--am-elevated);
    background-color: var(--am-elevated);
    color: var(--am-text);
}

html[data-theme="dark"] .mkt-sms-cat-card--selected {
    background: #14301d;
    border-color: #2f6b3a;
}

html[data-theme="dark"] .am-review-hero__count,
html[data-theme="dark"] .am-review-hero__bar-label,
html[data-theme="dark"] .am-review-hero__bar-count,
html[data-theme="dark"] .am-review-item__date,
html[data-theme="dark"] .am-review-reply__date,
html[data-theme="dark"] .am-review-form__stars-value,
html[data-theme="dark"] .am-review-form__subtitle,
html[data-theme="dark"] .am-review-form__label-hint {
    color: var(--am-muted);
}

html[data-theme="dark"] .am-review-hero__bar-track {
    background: rgba(255, 255, 255, 0.1);
}

html[data-theme="dark"] .am-review-textarea,
html[data-theme="dark"] .am-review-reply-textarea {
    background: var(--am-elevated);
    color: var(--am-text);
    border-color: var(--am-border);
}

html[data-theme="dark"] .am-review-textarea:focus,
html[data-theme="dark"] .am-review-reply-textarea:focus {
    background: var(--am-input);
    color: var(--am-text);
}

html[data-theme="dark"] .am-review-textarea::placeholder,
html[data-theme="dark"] .am-review-reply-textarea::placeholder {
    color: var(--am-muted);
    opacity: 1;
}

html[data-theme="dark"] .am-review-reply-form {
    background: var(--am-elevated);
    border-color: var(--am-border);
}

html[data-theme="dark"] .am-review-reply-identity__track {
    background: rgba(255, 255, 255, 0.08);
}

html[data-theme="dark"] .am-review-reply-identity__segment {
    color: var(--am-muted);
}

html[data-theme="dark"] .am-review-reply-identity__segment.is-active {
    background: var(--am-surface);
    color: var(--am-heading);
}

html[data-theme="dark"] .compare-sticky-name {
    color: var(--am-heading);
}

/* Gift section + gift modal */
html[data-theme="dark"] .gift-choice-card,
html[data-theme="dark"] .gift-choice-modal__item {
    background: var(--am-surface);
    border-color: var(--am-border);
}

html[data-theme="dark"] .gift-choice-card:hover,
html[data-theme="dark"] .gift-choice-modal__item:hover {
    border-color: #4a5160;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}

html[data-theme="dark"] .gift-choice-card.is-selected,
html[data-theme="dark"] .gift-choice-modal__item.is-checked {
    background: #14301d;
    border-color: #2f6b3a;
}

html[data-theme="dark"] .gift-choice-card .bls__product-name,
html[data-theme="dark"] .gift-choice-card .bls__product-name a,
html[data-theme="dark"] .gift-choice-card .bls__product-vendor,
html[data-theme="dark"] .gift-choice-card .bls__product-vendor a,
html[data-theme="dark"] .gift-choice-modal__item-title {
    color: var(--am-heading);
}

html[data-theme="dark"] .gift-choice-card .am-product-card-review__text {
    color: var(--am-muted);
}

html[data-theme="dark"] .gift-choice-details,
html[data-theme="dark"] .gift-choice-modal__details {
    background: var(--am-elevated);
    border-color: var(--am-border);
    color: var(--am-text);
}

html[data-theme="dark"] .gift-choice-details:hover,
html[data-theme="dark"] .gift-choice-modal__details:hover {
    background: #2b303a;
    border-color: #4a5160;
    color: var(--am-heading);
}

html[data-theme="dark"] .gift-choice-hint {
    color: var(--am-muted);
}

html[data-theme="dark"] .gift-choice-count,
html[data-theme="dark"] .gift-choice-modal__count {
    background: var(--am-elevated);
    color: var(--am-text);
}

html[data-theme="dark"] .gift-choice-count.is-complete,
html[data-theme="dark"] .gift-choice-modal__count.is-complete {
    background: rgba(40, 167, 69, 0.2);
    color: #86efac;
}

html[data-theme="dark"] .gift-choice-modal {
    background: rgba(0, 0, 0, 0.65);
}

html[data-theme="dark"] .gift-choice-modal__dialog {
    background: var(--am-surface);
    color: var(--am-text);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

html[data-theme="dark"] .gift-choice-modal__header {
    background: var(--am-elevated);
    border-bottom-color: var(--am-border);
}

html[data-theme="dark"] .gift-choice-modal__title,
html[data-theme="dark"] .gift-choice-modal__hint {
    color: var(--am-heading);
}

html[data-theme="dark"] .gift-choice-modal__hint {
    color: var(--am-muted);
}

html[data-theme="dark"] .gift-choice-modal__close {
    background: rgba(255, 255, 255, 0.08);
    color: var(--am-text);
}

html[data-theme="dark"] .gift-choice-modal__close:hover {
    background: rgba(255, 255, 255, 0.14);
    color: var(--am-heading);
}

html[data-theme="dark"] .gift-choice-modal__photo {
    background: #fff;
}

html[data-theme="dark"] .gift-choice-modal__footer {
    background: var(--am-surface);
    border-top-color: var(--am-border);
}

/* Compare page */
html[data-theme="dark"] .cmp-empty {
    color: var(--am-muted);
}

html[data-theme="dark"] .cmp-empty p {
    color: var(--am-muted);
}

html[data-theme="dark"] .cmp-empty__link {
    border-color: var(--am-heading);
    color: var(--am-heading);
}

html[data-theme="dark"] .cmp-empty__link:hover {
    background: var(--am-heading);
    color: #121418;
}

html[data-theme="dark"] .cmp-toolbar__label {
    color: var(--am-heading);
}

html[data-theme="dark"] .cmp-category-select {
    background: var(--am-input);
    color: var(--am-text);
    border-color: var(--am-border);
}

html[data-theme="dark"] .cmp-table thead th,
html[data-theme="dark"] .cmp-card,
html[data-theme="dark"] .cmp-label-col,
html[data-theme="dark"] .cmp-val,
html[data-theme="dark"] thead .cmp-label-col {
    background: var(--am-surface);
    background-color: var(--am-surface);
    color: var(--am-text);
    border-color: var(--am-border);
}

html[data-theme="dark"] .cmp-card {
    border: 1px solid var(--am-border);
}

html[data-theme="dark"] .cmp-card__title,
html[data-theme="dark"] .cmp-card__price,
html[data-theme="dark"] .cmp-val--price {
    color: var(--am-heading);
}

html[data-theme="dark"] .cmp-card .cmp-card__remove {
    background: rgba(255, 255, 255, 0.12);
    color: var(--am-heading);
}

html[data-theme="dark"] .cmp-card .cmp-card__remove:hover {
    background: #e53e3e;
    color: #fff;
}

html[data-theme="dark"] .cmp-row--even .cmp-val,
html[data-theme="dark"] .cmp-row--even .cmp-label-col {
    background: var(--am-elevated);
    background-color: var(--am-elevated);
    color: var(--am-text);
}

html[data-theme="dark"] .cmp-section-header td {
    background: var(--am-elevated);
    background-color: var(--am-elevated);
    color: var(--am-heading);
    border-color: var(--am-border);
}

/* Product list pager */
html[data-theme="dark"] .pagination__list li a,
html[data-theme="dark"] .pagination__list li a.link {
    background-color: var(--am-elevated);
    color: var(--am-heading);
    border-color: var(--am-border);
}

html[data-theme="dark"] .pagination__list li a.link:hover,
html[data-theme="dark"] .pagination__list li a.pagination__item--current {
    background-color: var(--am-heading);
    color: #121418;
    border-color: var(--am-heading);
}

/* Campaign / collection tabs */
html[data-theme="dark"] .tab-desgin-3 .bls__collection-tab-item {
    background-color: var(--am-elevated);
    color: var(--am-heading);
}

html[data-theme="dark"] .tab-desgin-3 .bls__collection-tab-item.active,
html[data-theme="dark"] .tab-desgin-3 .bls__collection-tab-item:hover {
    background-color: var(--am-heading);
    color: #121418;
}

html[data-theme="dark"] .tab-desgin-1 .bls__collection-tab-item.active,
html[data-theme="dark"] .tab-desgin-1 .bls__collection-tab-item:hover {
    background-color: var(--am-elevated);
    color: var(--am-heading);
}

/* Account addresses */
html[data-theme="dark"] .address-info-inner,
html[data-theme="dark"] .account-details {
    background: var(--am-surface);
    background-color: var(--am-surface);
    color: var(--am-text);
    border-color: var(--am-border);
}

html[data-theme="dark"] .address-info-inner > h3,
html[data-theme="dark"] .address-info-inner .title-info {
    background-color: var(--am-elevated);
    color: var(--am-heading);
}

html[data-theme="dark"] .address-info,
html[data-theme="dark"] .address-info p {
    color: var(--am-text);
}

html[data-theme="dark"] .address-map-no-location {
    background: var(--am-elevated) !important;
    border-color: var(--am-border) !important;
}

html[data-theme="dark"] .address-map-no-location span,
html[data-theme="dark"] .address-map-no-location svg {
    color: var(--am-muted) !important;
    fill: var(--am-muted);
}

html[data-theme="dark"] .address-map-spacer {
    background: var(--am-elevated);
}

html[data-theme="dark"] .bls-customer__address .add-address.btn-primary {
    background: var(--am-elevated);
    color: var(--am-heading);
    border: 1px solid var(--am-border);
}

html[data-theme="dark"] .bls-customer__address .add-address.btn-primary:hover {
    background: var(--am-heading);
    color: #121418;
    border-color: var(--am-heading);
}

html[data-theme="dark"] .bls-customer__address .form-add-addresses,
html[data-theme="dark"] .bls__addreses-default .bls__your-addresses {
    background-color: var(--am-surface);
    color: var(--am-text);
}

html[data-theme="dark"] .bls__your-addresses .form-field label,
html[data-theme="dark"] .bls__page-addresses label {
    color: var(--am-text) !important;
}

html[data-theme="dark"] .map-picker-container {
    background: var(--am-elevated);
    border-color: var(--am-border);
}

/* Cart page */
html[data-theme="dark"] .ci-card {
    background: var(--am-surface);
    border-color: var(--am-border);
    color: var(--am-text);
}

html[data-theme="dark"] .ci-card:hover {
    border-color: #4a5160;
}

html[data-theme="dark"] .ci-card--saved {
    background: var(--am-elevated);
}

html[data-theme="dark"] .ci-card__title {
    color: var(--am-heading);
}

html[data-theme="dark"] .ci-card__unit-price,
html[data-theme="dark"] .ci-card__total-label,
html[data-theme="dark"] .ci-card__gift-name {
    color: var(--am-muted);
}

html[data-theme="dark"] .ci-card__total-price {
    color: var(--am-heading);
}

html[data-theme="dark"] .ci-card__image-wrap {
    background: #fff;
}

html[data-theme="dark"] .ci-card__gifts {
    background: #14301d;
    border-color: #2f6b3a;
}

html[data-theme="dark"] .ci-card__gifts-label {
    color: #86efac;
}

html[data-theme="dark"] .ci-card__gift-item.is-selectable.is-selected {
    border-color: #4ade80;
}

html[data-theme="dark"] .ci-card .quantity,
html[data-theme="dark"] .ci-card__qty,
html[data-theme="dark"] .ci-card__footer .quantity {
    background: var(--am-elevated);
    border-color: var(--am-border) !important;
    color: var(--am-text);
}

html[data-theme="dark"] .ci-card .bls-quantity-input {
    color: var(--am-heading);
}

html[data-theme="dark"] .ci-remove-btn {
    color: var(--am-muted);
}

html[data-theme="dark"] .ci-remove-btn:hover {
    color: #ef9a9a;
    background: #3a1a1a;
}

html[data-theme="dark"] .ci-checkbox__box {
    background: var(--am-elevated);
    border-color: var(--am-border);
}

html[data-theme="dark"] .cart__footer-right-content {
    background-color: var(--am-surface);
    --border-color-base: var(--am-border);
    color: var(--am-text);
}

html[data-theme="dark"] .cart__footer-right-content .checkmark:before,
html[data-theme="dark"] .cart__ctas .checkmark:before {
    background-color: var(--am-elevated);
    border-color: var(--am-border);
}

html[data-theme="dark"] .cart-countdown-time {
    background: #3a320f;
    color: #ffd54f;
}

/* News list + news details */
html[data-theme="dark"] .section-blog {
    --posts-title-color: var(--am-heading);
}

html[data-theme="dark"] .bls__blog-posts-title,
html[data-theme="dark"] .bls__blog-posts-title a {
    color: var(--am-heading);
}

html[data-theme="dark"] .bls__blog-posts-title a:hover {
    color: #ffffff;
}

html[data-theme="dark"] .bls__blog-posts-date,
html[data-theme="dark"] .bls__blog-posts-author,
html[data-theme="dark"] .article-metas,
html[data-theme="dark"] .article-metas span {
    color: var(--am-muted);
}

html[data-theme="dark"] .blogSidebar,
html[data-theme="dark"] .blogSidebar .widget-title {
    color: var(--am-heading);
}

html[data-theme="dark"] .blogSidebar li.item,
html[data-theme="dark"] .blogSidebar-items-categories .item {
    background: transparent !important;
    background-color: transparent !important;
    color: var(--am-text);
}

html[data-theme="dark"] .blogSidebar .site-nav,
html[data-theme="dark"] .blogSidebar .site-nav span {
    color: var(--am-text);
}

html[data-theme="dark"] .blogSidebar .site-nav.active,
html[data-theme="dark"] .blogSidebar .site-nav.active span {
    color: var(--am-heading);
}

html[data-theme="dark"] .blogSidebar .widget.border-bottom {
    border-color: var(--am-border);
}

html[data-theme="dark"] .blog-content-wap,
html[data-theme="dark"] .article-template.radius .blog-content-wap {
    background-color: var(--am-page);
    color: var(--am-text);
}

html[data-theme="dark"] .article-template h1,
html[data-theme="dark"] .article-template [itemprop="headline"] {
    color: var(--am-heading);
}

html[data-theme="dark"] .article-template__content,
html[data-theme="dark"] .article-template__content.rte {
    color: var(--am-text);
}

html[data-theme="dark"] .article-template__content [style*="color:#000"],
html[data-theme="dark"] .article-template__content [style*="color: #000"],
html[data-theme="dark"] .article-template__content [style*="color:#111"],
html[data-theme="dark"] .article-template__content [style*="color:#212529"],
html[data-theme="dark"] .article-template__content [style*="color:#333"],
html[data-theme="dark"] .article-template__content [style*="color:rgb(0"],
html[data-theme="dark"] .article-template__content [style*="color: rgb(0"] {
    color: var(--am-text) !important;
}

html[data-theme="dark"] .article-template__content h1,
html[data-theme="dark"] .article-template__content h2,
html[data-theme="dark"] .article-template__content h3,
html[data-theme="dark"] .article-template__content h4,
html[data-theme="dark"] .article-template__content h5,
html[data-theme="dark"] .article-template__content h6,
html[data-theme="dark"] .article-template__content strong,
html[data-theme="dark"] .article-template__content b {
    color: var(--am-heading);
}

html[data-theme="dark"] .article-template__content a {
    color: var(--am-text);
}

html[data-theme="dark"] .article-template__content a:hover {
    color: #ffffff;
}

html[data-theme="dark"] .article-template__content blockquote {
    background: var(--am-elevated);
    border-color: var(--am-border);
    color: var(--am-heading);
}

html[data-theme="dark"] .article-template__content table,
html[data-theme="dark"] .article-template__content th,
html[data-theme="dark"] .article-template__content td {
    background: var(--am-elevated);
    border-color: var(--am-border);
    color: var(--am-text);
}

html[data-theme="dark"] .blog-meta-tag a,
html[data-theme="dark"] .blogTagsList a {
    background-color: var(--am-elevated);
    border-color: var(--am-border);
    color: var(--am-text);
}

html[data-theme="dark"] .blog-meta-tag a:hover,
html[data-theme="dark"] .blogTagsList a:hover,
html[data-theme="dark"] .blogTagsList li.active {
    background-color: var(--am-heading);
    border-color: var(--am-heading);
    color: #121418;
}

/* Brands list alphabet filter */
html[data-theme="dark"] .brand-filter:hover:not(.is-active):not(.disable) {
    background-color: #2c313c;
}

html[data-theme="dark"] .brand-filter.is-active {
    background-color: var(--am-heading);
    border-color: var(--am-heading);
}

html[data-theme="dark"] .brand-filter.is-active a {
    color: #121418;
}

html[data-theme="dark"] .brand-filter.disable a {
    color: #6b717c;
}

/* Categories modal (კატეგორიები) */
html[data-theme="dark"] .custom-menu-popup-overlay {
    background-color: rgba(0, 0, 0, 0.7);
}

html[data-theme="dark"] .custom-menu-popup-container {
    background: var(--am-surface);
    background-image: none;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
    color: var(--am-text);
}

html[data-theme="dark"] .custom-menu-popup-header {
    background: var(--am-surface);
    border-bottom-color: var(--am-border);
    box-shadow: none;
}

html[data-theme="dark"] .custom-menu-popup-title {
    color: var(--am-heading);
}

html[data-theme="dark"] .custom-menu-popup-close {
    color: var(--am-muted);
}

html[data-theme="dark"] .custom-menu-popup-close:hover {
    background-color: var(--am-elevated);
    color: var(--am-heading);
}

html[data-theme="dark"] .custom-menu-popup-item {
    --bg-color: var(--am-elevated);
    --bg-hover-color: #2c313c;
    background: var(--am-elevated) !important;
    border-color: var(--am-border);
}

html[data-theme="dark"] .custom-menu-popup-item:hover {
    background: #2c313c !important;
}

html[data-theme="dark"] .custom-menu-popup-text {
    --text-color: var(--am-heading);
    color: var(--am-heading) !important;
}

/* Category / collection card titles */
html[data-theme="dark"] .collection-item {
    --collection-title-color: var(--am-heading);
    --collection-count-color: var(--am-muted);
}

html[data-theme="dark"] .design-1 .bls__collection-infor.show-count,
html[data-theme="dark"] .design-4 .bls__collection-infor.show-count,
html[data-theme="dark"] .collection-list__item .bls__collection-infor.show-count {
    background-color: rgba(27, 30, 36, 0.9);
    color: var(--am-muted);
}

html[data-theme="dark"] .bls__collection-title,
html[data-theme="dark"] .bls__collection-title a {
    color: var(--am-heading);
}

html[data-theme="dark"] .bls__collection-title a:hover {
    color: #ffffff;
}

html[data-theme="dark"] .bls__collection-count {
    color: var(--am-muted);
}

/* Home shipping/feature icons (dark gray + brand red SVGs) */
html[data-theme="dark"] .bls__section_shipping-image img {
    filter: invert(1) hue-rotate(180deg);
}

/* Suggest a price modal */
html[data-theme="dark"] .pr-dialog__header {
    background: var(--am-elevated) !important;
    border-bottom-color: var(--am-border) !important;
}

html[data-theme="dark"] .pr-dialog__title {
    color: var(--am-heading) !important;
}

html[data-theme="dark"] .pr-dialog__subtitle,
html[data-theme="dark"] .pr-dialog__label,
html[data-theme="dark"] .pr-dialog__char-count {
    color: var(--am-muted) !important;
}

html[data-theme="dark"] .pr-dialog__input-addon {
    background: var(--am-page) !important;
    border-right-color: var(--am-border) !important;
    color: var(--am-heading) !important;
}

html[data-theme="dark"] .pr-dialog__input-group,
html[data-theme="dark"] .pr-dialog__stepper {
    border-color: var(--am-border) !important;
}

html[data-theme="dark"] .pr-dialog__input,
html[data-theme="dark"] .pr-dialog__textarea {
    background: var(--am-page) !important;
    color: var(--am-heading) !important;
    border-color: var(--am-border) !important;
}

html[data-theme="dark"] .pr-dialog__input::placeholder,
html[data-theme="dark"] .pr-dialog__textarea::placeholder {
    color: var(--am-muted) !important;
}

html[data-theme="dark"] .pr-dialog__step-btn {
    background: var(--am-elevated) !important;
    color: var(--am-heading) !important;
}

html[data-theme="dark"] .pr-dialog__step-btn:hover,
html[data-theme="dark"] .pr-dialog__step-btn:focus {
    background: #3a1a1a !important;
    color: #dd3327 !important;
}

html[data-theme="dark"] .pr-dialog__step-val {
    background: var(--am-page) !important;
    color: var(--am-heading) !important;
    border-left-color: var(--am-border) !important;
    border-right-color: var(--am-border) !important;
}

html[data-theme="dark"] .pr-dialog__error {
    background: #3a1a1a !important;
    border-color: #7f1d1d !important;
    color: #fca5a5 !important;
}

html[data-theme="dark"] .pr-dialog__success-msg {
    color: var(--am-heading) !important;
}

/* Price-request countdown on PDP */
html[data-theme="dark"] .pr-ct-right {
    background: var(--am-elevated);
    border-color: var(--am-border);
}

html[data-theme="dark"] .pr-ct-value,
html[data-theme="dark"] .deal-ending-value,
html[data-theme="dark"] .future-discount-value {
    color: var(--am-heading);
}

html[data-theme="dark"] .pr-ct-qty,
html[data-theme="dark"] .pr-ct-unit-label,
html[data-theme="dark"] .deal-ending-unit-label,
html[data-theme="dark"] .future-discount-unit-label,
html[data-theme="dark"] .future-discount-savings-text {
    color: var(--am-muted);
}

html[data-theme="dark"] .pr-ct-separator,
html[data-theme="dark"] .deal-ending-separator,
html[data-theme="dark"] .future-discount-separator {
    color: var(--am-border);
}

html[data-theme="dark"] .pr-ct-progress-bar,
html[data-theme="dark"] .future-discount-price-row {
    background: var(--am-page);
    border-color: var(--am-border);
}

html[data-theme="dark"] .deal-ending-right {
    background: var(--am-elevated);
    border-color: var(--am-border);
}

/* Phone confirm / marketing SMS popups */
html[data-theme="dark"] .phone-confirm-popup {
    background: var(--am-elevated);
    border-color: var(--am-border);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
}

html[data-theme="dark"] .phone-confirm-popup h3,
html[data-theme="dark"] .mkt-sms-cat-intro,
html[data-theme="dark"] .mkt-sms-cat-title {
    color: var(--am-heading);
}

html[data-theme="dark"] .phone-confirm-popup > p,
html[data-theme="dark"] .mkt-sms-cat-hint,
html[data-theme="dark"] .phone-country-code,
html[data-theme="dark"] .country-dropdown-item .country-dial {
    color: var(--am-muted);
}

html[data-theme="dark"] .phone-confirm-close {
    color: var(--am-muted);
}

html[data-theme="dark"] .phone-confirm-close:hover {
    color: var(--am-heading);
}

html[data-theme="dark"] .phone-input-wrapper,
html[data-theme="dark"] .country-dropdown {
    background: var(--am-page);
    border-color: var(--am-border);
}

html[data-theme="dark"] .phone-input-prefix {
    background: var(--am-surface);
    border-right-color: var(--am-border);
    color: var(--am-heading);
}

html[data-theme="dark"] .phone-input-prefix:hover:not(.disabled) {
    background: var(--am-elevated);
}

html[data-theme="dark"] .country-dropdown-search {
    background: var(--am-page);
    color: var(--am-heading);
    border-bottom-color: var(--am-border);
}

html[data-theme="dark"] .country-dropdown-item {
    color: var(--am-text);
}

html[data-theme="dark"] .country-dropdown-item:hover {
    background: var(--am-surface);
}

html[data-theme="dark"] .mkt-sms-cat-icon {
    background: var(--am-page);
}

html[data-theme="dark"] .mkt-sms-cat-check {
    background: var(--am-page);
    border-color: var(--am-border);
}

html[data-theme="dark"] .mkt-sms-cat-card--selected .mkt-sms-cat-check {
    background: #008a00;
    border-color: #008a00;
}

/* Login / info popups — inner chrome */
html[data-theme="dark"] .bls-login-popup .popup-title,
html[data-theme="dark"] .dlg-message .popup-title,
html[data-theme="dark"] .form-infor-wrapper .popup-title {
    color: var(--am-heading);
}

html[data-theme="dark"] .bls-login-popup .bls__tab-header > div,
html[data-theme="dark"] .dlg-message .bls__tab-header > div {
    color: var(--am-muted);
}

html[data-theme="dark"] .btn-fixed,
html[data-theme="dark"] .content-fixed {
    background-color: var(--am-elevated);
    color: var(--am-text);
}

html[data-theme="dark"] .contact__form .form-control,
html[data-theme="dark"] .bls__contact-page .form-control {
    background: var(--am-input);
    background-color: var(--am-input);
    color: var(--am-text);
    border-color: var(--am-border);
}

html[data-theme="dark"] .contact__form .form__label,
html[data-theme="dark"] .contact__box-title {
    color: var(--am-heading);
}

/* Contact embed is a cross-origin Google iframe — invert it into a night map */
html[data-theme="dark"] .contact-map,
html[data-theme="dark"] .bls_map {
    background: var(--am-page);
}

html[data-theme="dark"] .contact-map iframe,
html[data-theme="dark"] .bls_map iframe {
    filter: invert(90%) hue-rotate(180deg) brightness(0.95) contrast(0.9) saturate(0.7);
}

/* Site / info / cookie / order popups */
html[data-theme="dark"] .site-popup-title,
html[data-theme="dark"] .site-popup-content strong {
    color: var(--am-heading);
}

html[data-theme="dark"] .site-popup-content {
    color: var(--am-muted);
}

html[data-theme="dark"] .site-popup-footer {
    border-top-color: var(--am-border);
}

html[data-theme="dark"] .site-popup-hero {
    background: var(--am-page);
}

html[data-theme="dark"] .site-popup-image-shimmer {
    background: linear-gradient(110deg, #2a2e38 8%, #333844 18%, #2a2e38 33%);
    background-size: 200% 100%;
}

/* PDP leftover chrome */
html[data-theme="dark"] .bls__color-dropdown-content {
    background: var(--am-elevated);
    color: var(--am-text);
}

html[data-theme="dark"] .bls__template-product-2 .bls__product-details-infor,
html[data-theme="dark"] .bls__template-product-2 .bls__products-tabs,
html[data-theme="dark"] .product-layout-2.design-tab .product.info {
    background-color: var(--am-surface);
}

html[data-theme="dark"] .threesixty-image-mobile > span,
html[data-theme="dark"] .threesixty-image-desktop > span {
    background-color: rgba(35, 39, 47, 0.92);
    color: var(--am-heading);
}

html[data-theme="dark"] .bls__product-details-infor .bls__option-swatch {
    background: var(--am-elevated);
    border-color: var(--am-border);
}

html[data-theme="dark"] .bls__product-color-swatches-dropdown.active,
html[data-theme="dark"] .bls__product-color-swatches-dropdown:hover {
    background: var(--am-elevated) !important;
}

html[data-theme="dark"] .bls__product-color-swatches-dropdown:hover .bls__product-swatches-dropdown,
html[data-theme="dark"] .bls__product-swatches-radio,
html[data-theme="dark"] .bls__product-swatches-dropdown {
    color: var(--am-heading);
}

/* Checkout leftover text + mobile sticky bar */
html[data-theme="dark"] .co-sticky-bar {
    background: var(--am-elevated);
    box-shadow: 0 -2px 16px rgba(0, 0, 0, 0.4);
}

html[data-theme="dark"] .co-sticky-bar__info-item {
    color: var(--am-muted);
}

html[data-theme="dark"] .co-subsection-title,
html[data-theme="dark"] .co-summary-collapse__total,
html[data-theme="dark"] .co-toast__message,
html[data-theme="dark"] .modal-body,
html[data-theme="dark"] .co-addr-pin-map__title {
    color: var(--am-heading);
}

html[data-theme="dark"] .map-type-switcher__btn--active,
html[data-theme="dark"] .map-type-switcher__btn--active:hover,
html[data-theme="dark"] .map-type-switcher__btn--active:focus {
    background: var(--am-heading) !important;
    color: #121418 !important;
    border-color: var(--am-heading) !important;
}

html[data-theme="dark"] .map-type-switcher__btn:not(.map-type-switcher__btn--active):hover,
html[data-theme="dark"] .map-type-switcher__btn:not(.map-type-switcher__btn--active):focus {
    background: var(--am-surface) !important;
    color: var(--am-heading) !important;
    border-color: var(--am-border) !important;
}

/* Info popup + site-popup skip */
html[data-theme="dark"] .info-popup {
    background: var(--am-elevated);
    border-color: var(--am-border);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
}

html[data-theme="dark"] .info-popup h3 {
    color: var(--am-heading);
}

html[data-theme="dark"] .info-popup p {
    color: var(--am-muted);
}

html[data-theme="dark"] .site-popup-skip {
    background: var(--am-page);
    border-color: var(--am-border);
    color: var(--am-text);
}

html[data-theme="dark"] .site-popup-skip:hover {
    background: var(--am-surface);
    border-color: #4a5160;
    color: var(--am-heading);
}

/* Product list cards / action icons / variant dropdowns */
html[data-theme="dark"] .item-product-list,
html[data-theme="dark"] .bls__product-icon:not(.origin-style),
html[data-theme="dark"] .select-items,
html[data-theme="dark"] .select-items:before {
    background: var(--am-elevated);
    background-color: var(--am-elevated);
    color: var(--am-text);
}

html[data-theme="dark"] .bls__product-icon:not(.origin-style) svg path {
    fill: var(--am-text);
}

/* Review reply thread */
html[data-theme="dark"] .am-review-reply--staff,
html[data-theme="dark"] .am-review-reply__avatar--store,
html[data-theme="dark"] .am-review-reply::before,
html[data-theme="dark"] .am-review-reply--staff::before,
html[data-theme="dark"] .am-review-reply-form::before {
    background: var(--am-elevated);
    border-color: var(--am-border);
}

/* PhotoSwipe + fake-order toast */
html[data-theme="dark"] .pswp {
    --pswp-bg: #121418;
    --pswp-placeholder-bg: #121418;
    --pswp-icon-color: #e6e6e6;
    --pswp-error-text-color: #e6e6e6;
}

html[data-theme="dark"] #bls__fake-order.fake-order {
    background-color: var(--am-elevated);
    color: var(--am-text);
}

html[data-theme="dark"] .user-purchase,
html[data-theme="dark"] .product-order-title {
    color: var(--am-heading);
}

/* Cart leftover chrome */
html[data-theme="dark"] .bls-minicart-content:after {
    background: rgba(18, 20, 24, 0.72);
}

html[data-theme="dark"] .bls-cart-footer .bls__addon,
html[data-theme="dark"] .cart-item__quantity-wrapper quantity-input,
html[data-theme="dark"] .bls-recommendations-beside,
html[data-theme="dark"] .cart_bar_w span .bls__freeshipping-icon,
html[data-theme="dark"] .bls-drawer-bottom .checkbox-group .checkmark:before {
    background: var(--am-elevated);
    background-color: var(--am-elevated);
    color: var(--am-text);
}

html[data-theme="dark"] .cart-item__details dl {
    background: var(--am-page);
    color: var(--am-text);
}

/* Account leftovers */
html[data-theme="dark"] .all-sc-title,
html[data-theme="dark"] .cmc-summary-item strong {
    color: var(--am-heading);
}

/* Filter / campaign leftovers */
html[data-theme="dark"] .campaign_item .bls__product-countdown {
    color: var(--am-heading) !important;
}

html[data-theme="dark"] .price-range .range-slider::-webkit-slider-thumb {
    box-shadow: 0 0 0 14px var(--color) inset, 0 0 0 2px var(--am-border);
}

html[data-theme="dark"] .price-range .range-slider::-moz-range-thumb {
    box-shadow: 0 0 0 14px var(--color) inset, 0 0 0 2px var(--am-border);
}

html[data-theme="dark"] .bls__unavailable-suggestion-pdp .bls__unavailable-view-product-btn:hover,
html[data-theme="dark"] .bls__unavailable-scroll-hint:hover {
    color: var(--am-heading);
    border-color: var(--am-heading);
}

/* Listing / cart / compare product thumbs stay on white */
.bls__product-img,
.bls__product-item .bls__responsive-image,
.bls__product-grid,
.ci-card__image-wrap,
.cmp-card__img,
.compare-sticky-thumb,
.gift-choice-modal__photo,
.gift-choice-card .bls__product-img,
.sticky-addcart-img,
.product-bought-image-item,
.product-bought-image-item .main-image,
.cart-item__image-container,
.cart-item__image-container .bls__responsive-image,
.bls-minicart .bls__responsive-image,
.bls-minicart-item .bls__responsive-image,
.ord-review-modal__thumb,
.cmc-pending-thumb {
    background: #fff !important;
    background-color: #fff !important;
}

html[data-theme="dark"] .bls__product-img .img-shimmer,
html[data-theme="dark"] .ci-card__image-wrap .img-shimmer {
    background: linear-gradient(90deg, #f0f0f0 25%, #e8e8e8 50%, #f0f0f0 75%);
    background-size: 200% 100%;
}

/* PDP gallery + thumbs follow the dark page, not a white slab */
html[data-theme="dark"] .product__media-gallery,
html[data-theme="dark"] .product__media-gallery .swiper-slide,
html[data-theme="dark"] .product__media-gallery .gallery-img,
html[data-theme="dark"] .product__media-gallery .bls__media-image,
html[data-theme="dark"] .product__media-gallery .bls__responsive-image,
html[data-theme="dark"] .col_thumb,
html[data-theme="dark"] .col_nav .gallery-img,
html[data-theme="dark"] .col_nav .bls__media-image {
    background: var(--am-page) !important;
    background-color: var(--am-page) !important;
}

/* Share modal: copy SVG is hardcoded white on inverted primary */
html[data-theme="dark"] .share-popup .bls__share-copy,
html[data-theme="dark"] .bls__share-copy.btn-primary {
    background: var(--btn-primary-bg);
    background-color: var(--btn-primary-bg);
    color: var(--btn-primary-color);
}

html[data-theme="dark"] .share-popup .bls__share-copy:hover,
html[data-theme="dark"] .bls__share-copy.btn-primary:hover {
    background: var(--btn-primary-bg-hover);
    background-color: var(--btn-primary-bg-hover);
    color: var(--btn-primary-color-hover);
}

html[data-theme="dark"] .share-popup .bls__share-copy svg path,
html[data-theme="dark"] .bls__share-copy svg path {
    fill: var(--btn-primary-color) !important;
}

/* Share modal: social circles are hardcoded white + #555 icons */
html[data-theme="dark"] .share-popup .share-list svg circle {
    fill: var(--am-input);
    stroke: var(--am-border);
}

html[data-theme="dark"] .share-popup .share-list svg path {
    fill: var(--am-heading);
}
