/* stalo_dark_mode_fix_20261129
   Leftover light surfaces and unreadable text under html.dark-theme only.
   Light mode is unchanged. Brand logo cards stay white (approved variant C).
   Does not change OPC input types, recaptcha, or product photos. */

html.dark-theme {
	--st-bg: #121212;
	--st-bg-elev: #1A1A1A;
	--st-bg-header: #0F0F0F;
	--st-bg-card: #1C1C1C;
	--st-bg-input: #1D1D1D;
	--st-text: #EDEDED;
	--st-text-muted: #B1B1B1;
	--st-border: #2F2F2F;
	--st-btn: #2A2A2A;
}

/* ---- Language wrapper (white strip behind LT/EN) ---- */
html.dark-theme .list_lang,
html.dark-theme #top .list_lang,
html.dark-theme .box-language .list_lang {
	background: transparent !important;
	border-color: var(--st-border) !important;
}

/* ---- Search button wrapper (light parent around the purple icon) ---- */
html.dark-theme .input-group-btn.button_search,
html.dark-theme span.button_search,
html.dark-theme .header-search .input-group-btn,
html.dark-theme #search .input-group-btn {
	background: transparent !important;
	border-color: transparent !important;
	color: var(--st-text) !important;
}

/* ---- Account sidebar (login / register / account) ---- */
html.dark-theme .ls-mod-account,
html.dark-theme .ls-list-group,
html.dark-theme .ls-account-fixed,
html.dark-theme .ls-account-fixed.hidden-md,
html.dark-theme .account-sidebar,
html.dark-theme .list-group.ls-list-group {
	background: var(--st-bg-card) !important;
	color: var(--st-text) !important;
	border-color: var(--st-border) !important;
	box-shadow: none !important;
}
html.dark-theme .ls-list-group-item,
html.dark-theme a.ls-list-group-item,
html.dark-theme .ls-list-group-item.active {
	background: var(--st-bg-input) !important;
	color: var(--st-text) !important;
	border-color: var(--st-border) !important;
}
html.dark-theme .ls-list-group-item.active {
	background: #2A2A2A !important;
}
html.dark-theme .ls-account-fixed,
html.dark-theme .ls-account-fixed a,
html.dark-theme .ls-account-fixed button {
	background: var(--st-bg-card) !important;
	color: var(--st-text) !important;
	border-color: var(--st-border) !important;
}

/* ---- Category sort / limit ---- */
html.dark-theme .btn-sort-limit,
html.dark-theme .btn.btn-sort-limit,
html.dark-theme .btn-sort-limit.dropdown-toggle,
html.dark-theme .sort-limit .btn,
html.dark-theme .limit .btn,
html.dark-theme .sort .btn,
html.dark-theme button.btn-sort-limit {
	background: var(--st-bg-input) !important;
	color: var(--st-text) !important;
	border-color: var(--st-border) !important;
}
html.dark-theme .btn-sort-limit .caret,
html.dark-theme .btn-sort-limit:after {
	border-top-color: var(--st-text) !important;
	color: var(--st-text) !important;
}

/* ---- OCFilter ---- */
html.dark-theme .ocf-value-list,
html.dark-theme .ocf-body,
html.dark-theme .ocf-header,
html.dark-theme .ocf-filter,
html.dark-theme .ocf-filter-body,
html.dark-theme .ocf-module,
html.dark-theme .ocf-mobile-container,
html.dark-theme .ocf-mobile-panel,
html.dark-theme .ocf-popover,
html.dark-theme .ocfilter,
html.dark-theme .ocf-search-holder,
html.dark-theme .ocf-value,
html.dark-theme .ocf-target {
	background: var(--st-bg-card) !important;
	color: var(--st-text) !important;
	border-color: var(--st-border) !important;
}
html.dark-theme .ocf-input-group-addon,
html.dark-theme .ocf-value-input,
html.dark-theme .ocf-input,
html.dark-theme .ocfilter input.form-control,
html.dark-theme .ocf-body input,
html.dark-theme .ocf-body select {
	background: var(--st-bg-input) !important;
	color: var(--st-text) !important;
	border-color: var(--st-border) !important;
}
html.dark-theme .ocf-noUi-value,
html.dark-theme .ocf-noUi-value-large,
html.dark-theme .ocf-noUi-tooltip,
html.dark-theme .indicator-active {
	color: var(--st-text-muted) !important;
	background: var(--st-btn) !important;
	border-color: var(--st-border) !important;
}
html.dark-theme .ocf-btn-mobile-fixed,
html.dark-theme .ocf-btn.ocf-mobile {
	background: var(--st-bg-card) !important;
	color: var(--st-text) !important;
	border-color: var(--st-border) !important;
}

/* ---- Product buy box buttons ---- */
html.dark-theme .btn-share,
html.dark-theme button.btn-share,
html.dark-theme .prev-product,
html.dark-theme .next-product,
html.dark-theme button.prev-product,
html.dark-theme button.next-product,
html.dark-theme .add-down,
html.dark-theme .add-up,
html.dark-theme span.add-action,
html.dark-theme .btn-compare,
html.dark-theme .btn-wishlist,
html.dark-theme button.btn-compare,
html.dark-theme button.btn-wishlist,
html.dark-theme #product .btn-compare,
html.dark-theme #product .btn-wishlist {
	background: var(--st-btn) !important;
	color: var(--st-text) !important;
	border-color: var(--st-border) !important;
	box-shadow: none !important;
}
html.dark-theme .prev-product svg,
html.dark-theme .next-product svg,
html.dark-theme .btn-share svg,
html.dark-theme .btn-compare svg,
html.dark-theme .btn-wishlist svg,
html.dark-theme .add-action svg {
	stroke: currentColor !important;
	fill: none;
}
html.dark-theme .icon-cart-add {
	background: transparent !important;
	color: var(--st-text) !important;
}

/* ---- Related products ---- */
html.dark-theme .related-products__item,
html.dark-theme .related-products__image {
	background: var(--st-bg-card) !important;
	border-color: var(--st-border) !important;
	color: var(--st-text) !important;
}
html.dark-theme .related-products__title,
html.dark-theme .related-products__item a,
html.dark-theme .related-products__item .price {
	color: var(--st-text) !important;
}

/* ---- Delivery quotes on the product page ---- */
html.dark-theme .product-delivery,
html.dark-theme .product-delivery--ttmode,
html.dark-theme .product-delivery__name,
html.dark-theme .product-delivery__right-block,
html.dark-theme .product-delivery__notes,
html.dark-theme .product-delivery__row,
html.dark-theme .product-delivery__item {
	background: var(--st-bg-input) !important;
	color: var(--st-text) !important;
	border-color: var(--st-border) !important;
}
html.dark-theme .product-delivery__image {
	background: #fff !important; /* carrier logos stay on white, like brand cards */
}

/* ---- Reviews / rating / add-review ---- */
html.dark-theme .quantity-reviews,
html.dark-theme .reviews-product__totals,
html.dark-theme .rating-star,
html.dark-theme .btn-outline,
html.dark-theme button.btn-outline,
html.dark-theme .reviews-product .btn {
	background: var(--st-btn) !important;
	color: var(--st-text) !important;
	border-color: var(--st-border) !important;
}
html.dark-theme .btn-outline:hover {
	background: #333 !important;
	color: #fff !important;
}

/* ---- Product tabs: inline light typography in descriptions ---- */
html.dark-theme .tabs__active_line {
	background: var(--st-bg-card) !important;
	border-color: var(--st-border) !important;
}
html.dark-theme #tab-description,
html.dark-theme #tab-description p,
html.dark-theme #tab-description span,
html.dark-theme #tab-description font,
html.dark-theme #tab-description li,
html.dark-theme #tab-description td,
html.dark-theme #tab-description h1,
html.dark-theme #tab-description h2,
html.dark-theme #tab-description h3,
html.dark-theme #tab-description h4,
html.dark-theme #tab-description a,
html.dark-theme .tab-pane p,
html.dark-theme .tab-pane span,
html.dark-theme .tab-pane font {
	color: var(--st-text) !important;
}
html.dark-theme #tab-description div,
html.dark-theme #tab-description p,
html.dark-theme #tab-description table,
html.dark-theme #tab-description td,
html.dark-theme #tab-description tr,
html.dark-theme #tab-description section,
html.dark-theme #tab-description article {
	background-color: transparent !important;
}
html.dark-theme .swiper-scrollbar,
html.dark-theme .swiper-scrollbar__mi {
	background: #2A2A2A !important;
}
html.dark-theme .swiper-scrollbar-drag {
	background: #666 !important;
}

/* ---- Better price / you-save (ttmode) ---- */
html.dark-theme .card-e,
html.dark-theme button.card-e,
html.dark-theme .tso-save {
	background: #163224 !important;
	border-color: #2A5A3A !important;
	color: #D8F0E0 !important;
}
html.dark-theme .card-e-title,
html.dark-theme .card-e-body,
html.dark-theme .card-e-btn,
html.dark-theme .card-e span,
html.dark-theme .tso-save {
	color: #D8F0E0 !important;
	background: transparent !important;
}
html.dark-theme .card-e-btn {
	color: #8EE0A8 !important;
}

/* ---- Empty cart ---- */
html.dark-theme .cart-text-empty,
html.dark-theme .cart-text-empty-slogan,
html.dark-theme .text-empty,
html.dark-theme .content-empty,
html.dark-theme .empty-cart {
	color: var(--st-text) !important;
}
html.dark-theme .cart-text-empty-slogan {
	color: var(--st-text-muted) !important;
}

/* ---- Forms: legends, breadcrumbs leftover text ---- */
html.dark-theme legend,
html.dark-theme fieldset legend,
html.dark-theme .form-horizontal legend {
	color: var(--st-text) !important;
	border-color: var(--st-border) !important;
	background: transparent !important;
}
html.dark-theme .breadcrumb span,
html.dark-theme .breadcrumb li,
html.dark-theme .breadcrumb li a,
html.dark-theme .breadcrumb > li + li:before {
	color: var(--st-text-muted) !important;
	background: transparent !important;
}

/* ---- Carousel / slider arrows and "show more" ---- */
html.dark-theme .swiper-mod-arrow,
html.dark-theme .swiper-arrow,
html.dark-theme .swiper-arrow.ms-prev,
html.dark-theme .swiper-arrow.ms-next,
html.dark-theme .prev-prod,
html.dark-theme .next-prod,
html.dark-theme .swiper-button-next,
html.dark-theme .swiper-button-prev {
	background: var(--st-btn) !important;
	color: var(--st-text) !important;
	border-color: var(--st-border) !important;
	box-shadow: none !important;
}
html.dark-theme .swiper-pagination-bullet {
	background: #888 !important;
	opacity: .8 !important;
}
html.dark-theme .swiper-pagination-bullet-active {
	background: #fff !important;
	opacity: 1 !important;
}
html.dark-theme .swiper-ms-pagination {
	background: transparent !important;
}
html.dark-theme .latest-ajax-load0,
html.dark-theme .latest-ajax-load1,
html.dark-theme .latest-ajax-load2,
html.dark-theme [class*="latest-ajax-load"] {
	background: var(--st-btn) !important;
	color: var(--st-text) !important;
	border-color: var(--st-border) !important;
}

/* ---- Homepage modules with leftover light cards ---- */
html.dark-theme .lookbook__item,
html.dark-theme .item-easy-b,
html.dark-theme [class*="easy-banner-"],
html.dark-theme .item-bpro,
html.dark-theme [class*="banner-pro-"] {
	background: var(--st-bg-card) !important;
	color: var(--st-text) !important;
	border-color: var(--st-border) !important;
}

/* ---- Gift coupon tab / popup leftovers ---- */
html.dark-theme .stg-close,
html.dark-theme .stg-ico,
html.dark-theme .stg-card,
html.dark-theme #st-gift-tab .stg-close,
html.dark-theme #st-gift-tab .stg-card {
	background: var(--st-bg-card) !important;
	color: var(--st-text) !important;
	border-color: var(--st-border) !important;
}
html.dark-theme .stg-close {
	color: var(--st-text) !important;
}

/* ---- Common light buttons / pagination / dropdowns / modals ---- */
html.dark-theme .btn-default,
html.dark-theme a.btn-default,
html.dark-theme button.btn-default,
html.dark-theme .pagination > li > a,
html.dark-theme .pagination > li > span,
html.dark-theme .pager li > a {
	background: var(--st-btn) !important;
	color: var(--st-text) !important;
	border-color: var(--st-border) !important;
}
html.dark-theme .pagination > .active > a,
html.dark-theme .pagination > .active > span {
	background: #3A3A3A !important;
	border-color: var(--st-border) !important;
	color: #fff !important;
}
html.dark-theme .modal-content,
html.dark-theme .modal-header,
html.dark-theme .modal-body,
html.dark-theme .modal-footer,
html.dark-theme .mfp-content,
html.dark-theme .fancybox-skin,
html.dark-theme .fancybox-inner,
html.dark-theme .popover,
html.dark-theme .tooltip-inner,
html.dark-theme .autocomplete-suggestions,
html.dark-theme .live-search,
html.dark-theme .livesearch,
html.dark-theme #search .dropdown-menu,
html.dark-theme .header-search .dropdown-menu {
	background: var(--st-bg-elev) !important;
	color: var(--st-text) !important;
	border-color: var(--st-border) !important;
}

/* ---- Checkout / cart (filled cart, OPC chrome — input types unchanged) ---- */
html.dark-theme .opc-container,
html.dark-theme .opc_wrapper,
html.dark-theme .checkout-content,
html.dark-theme .checkout-page,
html.dark-theme .shipping-method,
html.dark-theme .payment-method,
html.dark-theme .checkout-method,
html.dark-theme .opc-payment,
html.dark-theme .opc-shipping,
html.dark-theme label.radio,
html.dark-theme label.checkbox,
html.dark-theme .radio,
html.dark-theme .checkbox,
html.dark-theme .table-responsive,
html.dark-theme #accordion .panel,
html.dark-theme #accordion .panel-heading,
html.dark-theme #accordion .panel-body {
	background: var(--st-bg-card) !important;
	color: var(--st-text) !important;
	border-color: var(--st-border) !important;
}
html.dark-theme .checkout-heading,
html.dark-theme .opc_wrapper h2,
html.dark-theme .opc_wrapper h3,
html.dark-theme .opc_wrapper label,
html.dark-theme .checkout-content label {
	color: var(--st-text) !important;
}

/* Footer newsletter button parent; the purple CTA stays as-is */
html.dark-theme .input-group-btn.igb-nl {
	background: transparent !important;
	border-color: transparent !important;
}


/* Delivery text leftovers (title/notes/track had hardcoded #000/#333) */
html.dark-theme .product-delivery__title,
html.dark-theme .product-delivery__note,
html.dark-theme .product-delivery__notes,
html.dark-theme .product-delivery__track,
html.dark-theme .product-delivery__name,
html.dark-theme .product-delivery__right-block,
html.dark-theme .product-delivery p,
html.dark-theme .product-delivery span,
html.dark-theme .product-delivery a,
html.dark-theme .product-delivery svg,
html.dark-theme .product-delivery--ttmode,
html.dark-theme .product-delivery--ttmode span,
html.dark-theme .product-delivery--ttmode p,
html.dark-theme .product-delivery--ttmode a {
	color: var(--st-text) !important;
	fill: currentColor;
	background-color: transparent !important;
}
html.dark-theme .product-delivery__image {
	background: #fff !important;
}
