.is-open-mob-menu #bingc-phone-button,
.is-open-menu #bingc-phone-button,
.is-open-bag #bingc-phone-button {
    z-index: -1 !important;
}

.is-open-mob-menu jdiv,
.is-open-menu jdiv,
.is-open-bag jdiv {
    display: none;
}

jdiv.button_f0a4 {
    margin-bottom: 0 !important;
}

jdiv.wrap_2c14 {
    bottom: 70px;
}

.menu__item.is-close .menu__sub-list li {
    display: none;
}

.menu--serv .menu__block--1 .menu__link {
    padding-top: 4px;
    padding-bottom: 4px;
}

.ui-datepicker {
    background: #fff;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.3);
    border-radius: 8px;
}

.banner-block-content {
    color: #333;
}

.dropdown__toggle>.binct-phone-number-1 {
    text-decoration: none;
}

.show-process__form .form-control__help-text,
.show-order__form .form-control__help-text {
    text-align: left;
}

#alertContent {
    text-align: left;
}

#alertButtons {
    text-align: right;
}

#alertButtons .btn.cancel {
    background: #f5f5f5;
    color: #222;
    font-weight: 400;
}

#alertButtons .btn+.btn {
    margin-left: 8px;
}

.form-control__help-text {
    margin-top: 4px;
}

.is-help+.form-control__help-text {
    color: #089f08;
}

.is-error .custom-select__selected {
    border-color: red;
}

.is-success .custom-select__selected {
    border-color: #089f08;
}

.slider--prod .slider__item--video .slider__item-inner {
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity--disabled {
    display: block;
    text-align: center;
}

.search-results__row a {
    padding: 8px 0;
}

.prod--search .prod__price {
    flex: 0 0 auto;
}

.order-summ__val {
    width: 100%;
}

.order-summ__key {
    white-space: normal;
}

.order-summ__val .custom-select {
    text-align: left;
}

.product-info-line.product-info-line--bottom .container {
    padding-left: 16px;
    padding-right: 16px;
}

@media screen and (min-width:48rem) {
    .product-info-line.product-info-line--bottom .container {
        padding-left: 24px;
        padding-right: 24px;
    }
}

@media screen and (min-width:62rem) {
    .product-info-line.product-info-line--bottom .container {
        padding-left: 32px;
        padding-right: 32px;
    }
}

/**************************************/
/* временные стили */
/**************************************/
/* 1. для старой страницы Оформления заказа. Удалить после перехода на новую страницу Оформления заказа. */
#shopping-cart-table .product-image {
    width: 80px;
}

/**************************************/
/* 2. перебиваем bootstrap. Удалить после удаления bootstrap */
.label {
    padding: 0;
    font-weight: 400;
}

#formNotify .form-control {
    border-radius: 8px;
}

.breadcrumb {
    background: transparent;
    margin-bottom: 0;
}

/**************************************/
/* 3. Перебиваем стили из responsive.css. Удалить после удаления responsive.css */
.header .form-search {
    background: transparent;
    padding-right: 0;
}

/**************************************/
/* 4. Пока не реализован функционал - прячем некоторые элементы и блоки */

/* Кнопка в футере с Telegram, Viber, Messenger... */
.message-box {
    display: none;
}

/* top-line */
.top-line {
    display: none !important;
}

/* Language Switcher Tabs */
.header__lang-tabs,
.mob-menu__lang-tabs {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mob-menu__lang-tabs {
    margin-right: -4px;
}

.lang-tab {
    font-family: 'Rubik', sans-serif;
    font-size: 12px;
    font-weight: 400;
    color: #555555 !important;
    background-color: transparent;
    padding: 4px 8px;
    border-radius: 8px;
    text-decoration: none !important;
    line-height: 16px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    transition: all 0.1s ease;
}

/* Light Theme - Inactive Tab Hover & Active */
.lang-tab:hover {
    background-color: #FAFAFA;
    color: #333333 !important;
}

.lang-tab:active {
    background-color: #E0E0E0;
}

/* Light Theme - Active Tab */
.lang-tab.is-active,
.lang-tab.is-active:hover,
.lang-tab.is-active:active {
    background-color: #F0F0F0 !important;
    color: #222222 !important;
    cursor: default;
}

/* Force text on pages with dark/transparent headers */
.theme-black .lang-tab {
    background-color: transparent !important;
    color: rgba(255, 255, 255, 0.6) !important;
}

/* Dark Theme - Inactive Tab Hover & Active */
.theme-black .lang-tab:not(.is-active):hover {
    background-color: #FFFFFF !important;
    color: #222222 !important;
}

.theme-black .lang-tab:not(.is-active):active {
    background-color: #E0E0E0 !important;
    color: #222222 !important;
}

/* Dark Theme - Active Tab */
.theme-black .lang-tab.is-active,
.theme-black .lang-tab.is-active:hover,
.theme-black .lang-tab.is-active:active {
    background-color: rgba(255, 255, 255, 0.25) !important;
    color: #FFFFFF !important;
    cursor: default;
}

/* список желаний */
/*body:not(.is-local) .header__wishlist-btn,*/
/*body:not(.is-local) .prod__ico--wishlist,*/
/*body:not(.is-local) .product-info-line__btn-wishlist {*/
/*    display: none !important;*/
/*}*/

/* сравнение */
.header__compare-btn,
.prod__ico--compare,
.product-info-line__btn-compare {
    display: none !important;
}



/* пока нет "список желаний" и "сравнение" - меняем расположение кнопки video */
.prod__ico--video {
    top: initial;
    bottom: 8px;
}

/* просмотренные товары */
.header__viewed-prod-btn {
    display: none !important;
}

/* цвет шариков */
.prod__colors {
    display: none !important;
}

/* надуть гелием */
.prod__add-details {
    display: none !important;
}

/* Отзывы */
#review {
    display: none !important;
}

/* рейтинг */
.rating__text {
    display: none;
}

/* подписка */
.subscribe {
    display: none !important;
}

/**************************************/
/* 5 Vue.js */
.modal-vue__overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1500;
    background: rgba(0, 0, 0, 0.2);
}

.modal-vue {
    position: fixed;
    z-index: 3500;
    min-width: 300px;
    max-width: 600px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    width: 90%;
}

.profile .modal-availability p {
    margin: 0;
    font-size: 16px;
    line-height: 24px;
}

.profile .pagination li {
    cursor: pointer;
}

.profile .pagination li.is-skip {
    cursor: default;
}

.list-complete-item {
    transition: all 0.8s ease;
}

.list-complete-enter-from,
.list-complete-leave-to {
    opacity: 0;
    transform: translateY(30px);
}

.list-complete-leave-active {
    position: absolute;
}


.loader {
    position: relative;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    perspective: 800px;
}

.loader div {
    position: absolute;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.loader div:nth-of-type(1) {
    left: 0%;
    top: 0%;
    animation: rotate-one 1s linear infinite;
    border-bottom: 3px solid red;
}

.loader div:nth-of-type(2) {
    right: 0%;
    top: 0%;
    animation: rotate-two 1s linear infinite;
    border-right: 3px solid green;
}

.loader div:nth-of-type(3) {
    right: 0%;
    bottom: 0%;
    animation: rotate-three 1s linear infinite;
    border-top: 3px solid blue;
}

@keyframes rotate-one {
    0% {
        transform: rotateX(35deg) rotateY(-45deg) rotateZ(0deg);
    }

    100% {
        transform: rotateX(35deg) rotateY(-45deg) rotateZ(360deg);
    }
}

@keyframes rotate-two {
    0% {
        transform: rotateX(50deg) rotateY(10deg) rotateZ(0deg);
    }

    100% {
        transform: rotateX(50deg) rotateY(10deg) rotateZ(360deg);
    }
}

@keyframes rotate-three {
    0% {
        transform: rotateX(35deg) rotateY(55deg) rotateZ(0deg);
    }

    100% {
        transform: rotateX(35deg) rotateY(55deg) rotateZ(360deg);
    }
}

/**************************************/
/**************************************/
/**************************************/
/**************************************/

.checkout-step__delivery-city .custom-select__selected {
    display: inline-block;
    width: auto;
}

.checkout-page .ac_results li {
    font-size: 14px;
}

.checkout-step .price__wholesale.is-active span {
    color: green;
}

.checkout-page select.form-control {
    padding-top: 0;
    padding-bottom: 0;
}

.comment-wrap {
    transition: all 0.3s;
    max-height: 0;
    overflow: hidden;
    padding: 0 2px;
}

.comment-wrap.is-open {
    max-height: 500px;
    padding: 2px;
}

.warehouseTime {
    font-size: 14px;
    color: #888;
}

.checkout-page #helium_block .radio {
    margin-right: 20px;
}

#formOrderGuest .help {
    display: none !important;
}

.is-error+.form-control__help-text {
    color: red;
}

.ac_results.ac_results_address li:empty {
    display: none;
}


.block-cart-header:before,
.header-button.currency-list>a:after,
.header-button.lang-list>a:after,
.sf-menu li a:before,
.add-to-links li a:before,
.row-product .email-friend:before,
/*.btn-remove:before,*/
.btn-remove2:before,
.btn-edit:before,
.sorter .view-mode .grid:before,
.sorter .list:before,
.block-layered-nav dd li a:before,
.block-layered-nav dd li span:before,
.product-view .box-tags .form-add .input-box:before,
.row-product .no-rating:before,
.menu-icon:before,
.sf-menu-phone li strong:before,
span.toggle:before,
.checkout-progress li:before,
.about-padd-2 ul li:before,
.currency-switch .currency-title:before,
.language-list .language-title:before,
.swipe ul a:before,
.switch-show>div:after,
#back-top span:before,
.map-popup-close:before,
.block-slider-sidebar .slider-sidebar-pager a:before,
.custom-servis-ul li h3:before,
button.button span:before,
/*.header .form-search button.button span:before,*/
.camera_wrap .camera_pag .camera_pag_ul li:before,
.list-icon li a:before,
.product-view .bx-controls-direction>a:before,
.header .links li a:before,
.block-cart-header .summary:before,
.block-cart-header .empty:before,
.sf-menu-phone li a:before,
.footer ul li:after,
.camera_prev:before,
.camera_next:before {
    font-family: FontAwesome;
    font-weight: normal;
    font-style: normal;
    text-decoration: inherit;
    -webkit-font-smoothing: antialiased;
    *margin-right: .3em;
    text-indent: 0 !important;
}

.product-control-buttons {
    overflow: hidden;
    position: relative;
    height: 19px;
    float: right;
}

/*.btn-remove { display:inline-block; overflow:hidden; margin-left: 13px; font-size: 0; text-indent: -999px; text-decoration: none !important; cursor: pointer; }*/
/*.btn-remove:before {content: "\f00d"; font-size: 16px; display: block; }*/
/*.btn-remove:hover {}*/
.btn-remove svg {
    display: block;
}
/* Prevent header jumping between languages by enforcing min-width */
@media (min-width: 1200px) {
    .header__nav-dropdown .dropdown:nth-child(3) .dropdown__toggle {
        min-width: 145px;
    }
    .header__nav-dropdown .dropdown:nth-child(4) .dropdown__toggle {
        min-width: 120px;
    }
    .header__location-btn-desc {
        min-width: 155px;
        text-align: left;
    }
    .header__account-btn-desc {
        min-width: 165px;
        text-align: left;
    }
}

/* Gallery Hover Animations */

/* 1. Thumbnail Container & Image Zoom */
.slider--prod .slider__nav-list-item {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
                box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
                border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    border-radius: 8px;
    border: 2px solid transparent;
}

/* Image zoom inside thumbnails */
.slider--prod .slider__nav-list-item img {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Light Theme - Products (Default) */
.slider--prod .slider__nav-list-item:hover {
    transform: translateY(-2px) scale(1.02);
    border-color: #ff6700;
    box-shadow: 0 6px 16px rgba(255, 103, 0, 0.15);
}

.slider--prod .slider__nav-list-item:hover img {
    transform: scale(1.06);
}

/* Dark Theme - Services (inside .theme-black) */
.theme-black .slider--prod .slider__nav-list-item:hover {
    transform: translateY(-2px) scale(1.02);
    border-color: #ff8929;
    box-shadow: 0 6px 20px rgba(255, 137, 41, 0.35); /* Neon glow */
}

.theme-black .slider--prod .slider__nav-list-item:hover img {
    transform: scale(1.06);
}

/* Active State styling (.slick-current / active thumbnail) */
.slider--prod .slider__nav-list-item.slick-current {
    border-color: #ff6700;
    box-shadow: 0 4px 12px rgba(255, 103, 0, 0.2);
}
.theme-black .slider--prod .slider__nav-list-item.slick-current {
    border-color: #ff8929;
    box-shadow: 0 4px 16px rgba(255, 137, 41, 0.4);
}

/* 2. Video Thumbnail Play Button Animation */
.slider--prod .slider__nav-list-item-inner .video__play-btn-svg {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
                fill 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.slider--prod .slider__nav-list-item:hover .video__play-btn-svg {
    transform: scale(1.15);
    fill: #ff4229;
}

/* 3. Main Media Hover Effects */
.slider--prod .slider__item {
    overflow: hidden;
    border-radius: 12px;
    transition: box-shadow 0.3s ease;
}

.slider--prod .slider__item img {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.slider--prod .slider__item:hover img {
    transform: scale(1.02);
}

/* Theme Switcher Styles */
.theme-icon-container {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.theme-icon {
    stroke: currentColor;
    fill: none;
    vertical-align: middle;
}

/* Ensure selected state visual indicator in dropdowns */
.header__theme-dropdown .dropdown__menu .dropdown__item.is-active a,
.mob-menu__theme-row .dropdown__menu .dropdown__item.is-active a {
    font-weight: 500;
    color: #ff8929 !important;
    background-color: #f5f5f5;
}

/* Dropdown menu items style adjustment */
.header__theme-dropdown .dropdown__menu .dropdown__item-link,
.mob-menu__theme-row .dropdown__menu .dropdown__item-link {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Mobile theme row adjustments */
.mob-menu__theme-row {
    border-bottom: 1px solid #e6e6e6;
}

.mob-menu__theme-row .dropdown {
    width: 100%;
}

.mob-menu__theme-row .dropdown__menu {
    position: relative;
    box-shadow: none;
    border: 1px solid #e6e6e6;
    margin-top: 4px;
}

/* Custom dropdown toggle styles for theme switcher */
.dropdown__toggle-theme svg {
    pointer-events: none;
}
.dropdown.is-open .dropdown__toggle-theme {
    background: #f5f5f5;
}
.theme-black .dropdown.is-open .dropdown__toggle-theme {
    background-color: #222 !important;
}

/* Gallery hover clipping fix */
.slider--prod .slider__nav-list .slick-list {
    padding: 6px !important;
    margin: -6px !important;
}

/* ==========================================================================
   Dark Theme (theme-black) Styles for Mobile Menu & Dropdowns
   ========================================================================== */

/* 1. Both Theme Dropdowns (Desktop & Mobile) */
.theme-black .header__theme-dropdown .dropdown__menu,
.theme-black .mob-menu__theme-row .dropdown__menu {
    background-color: #1c1c1e !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.theme-black .header__theme-dropdown .dropdown__item-link,
.theme-black .mob-menu__theme-row .dropdown__item-link {
    color: #ccc !important;
}

.theme-black .header__theme-dropdown .dropdown__item-link:hover,
.theme-black .mob-menu__theme-row .dropdown__item-link:hover {
    color: #fff !important;
    background-color: rgba(255, 255, 255, 0.05) !important;
}

.theme-black .header__theme-dropdown .dropdown__item.is-active .dropdown__item-link,
.theme-black .mob-menu__theme-row .dropdown__item.is-active .dropdown__item-link {
    color: #ff8929 !important;
    background-color: rgba(255, 255, 255, 0.08) !important;
}

/* 2. Mobile Menu (mob-menu) Dark Theme */
.theme-black .mob-menu {
    background: #111 !important;
}

.theme-black .mob-menu__header {
    background: #111 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.theme-black .mob-menu__logo img {
    /* filter removed to allow JS to swap the logo and keep colors */
}

.theme-black .mob-menu__close {
    background-color: rgba(255, 255, 255, 0.05) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    color: #fff !important;
}

.theme-black .mob-menu__close svg {
    fill: #fff !important;
}

.theme-black .mob-menu__lang a {
    background: rgba(255, 255, 255, 0.05) !important;
    color: #ccc !important;
}

.theme-black .mob-menu__lang a.is-active {
    background: rgba(255, 255, 255, 0.12) !important;
    color: #fff !important;
}

.theme-black .mob-menu__row:not(:last-child) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.theme-black .mob-menu__theme-row {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.theme-black .mob-menu__link {
    background: #111 !important;
    color: #ccc !important;
}

.theme-black .mob-menu__link:hover {
    background: rgba(255, 255, 255, 0.05) !important;
    color: #fff !important;
}

.theme-black .mob-menu__catalog-link,
.theme-black .mob-menu__service-link {
    color: #fff !important;
}

.theme-black .mob-menu__link-icon {
    fill: #ccc !important;
}

.theme-black .mob-menu__catalog-link .mob-menu__link-icon,
.theme-black .mob-menu__service-link .mob-menu__link-icon {
    fill: #fff !important;
}

.theme-black .mob-menu__link-arr {
    fill: #999 !important;
}

/* 3. Nested Dropdowns Inside Mobile Menu */
.theme-black .mob-menu .dropdown__menu {
    background: #1c1c1e !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.theme-black .mob-menu .dropdown__item-link {
    color: #ccc !important;
}

.theme-black .mob-menu .dropdown__item-link:hover {
    color: #fff !important;
    background-color: rgba(255, 255, 255, 0.05) !important;
}

.theme-black .mob-menu .dropdown__item.is-active .dropdown__item-link {
    color: #ff8929 !important;
    background-color: rgba(255, 255, 255, 0.08) !important;
}

.theme-black .mob-menu p {
    color: #ccc !important;
}

/* 4. Desktop Submenu Hover Transitions & Feedbacks */
.menu__link {
    transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease !important;
}

.menu__block-list .menu__link:hover {
    background-color: #eaeaea !important;
}

.menu__sub-list .menu__link {
    transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease !important;
}

.menu__sub-list .menu__link:hover {
    background-color: #eaeaea !important;
    border-color: #ff6700 !important;
    color: #ff6700 !important;
}

/* 5. Mobile & Desktop Submenu (.menu) Dark Theme */
.theme-black .menu {
    background: #111 !important;
}

.theme-black .menu__header {
    background: #111 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.theme-black .menu__title {
    color: #fff !important;
}

.theme-black .menu__back,
.theme-black .menu__close {
    background-color: rgba(255, 255, 255, 0.05) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    color: #fff !important;
}

.theme-black .menu__back svg,
.theme-black .menu__close svg {
    fill: #fff !important;
    stroke: #fff !important;
}

.theme-black .menu__block-title {
    color: #fff !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.theme-black .menu__block-title a,
.theme-black .menu__block-title span {
    color: #fff !important;
}

.theme-black .menu__block-title-arr {
    fill: #999 !important;
}

.theme-black .menu__block-list {
    background: #1c1c1e !important;
}

.theme-black .menu__item {
    background: #1c1c1e !important;
    color: #ccc !important;
}

.theme-black .menu__link {
    color: #ccc !important;
}

.theme-black .menu__link-icon {
    fill: #ccc !important;
}

.theme-black .menu__link-arr {
    fill: #999 !important;
}

.theme-black .menu__link:hover {
    background-color: rgba(255, 255, 255, 0.05) !important;
    color: #fff !important;
}

.theme-black .menu__link:hover .menu__link-icon {
    fill: #fff !important;
}

.theme-black .menu__sub-list {
    background: #1c1c1e !important;
}

.theme-black .menu__sub-list .menu__link {
    background-color: rgba(255, 255, 255, 0.03) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    color: #ccc !important;
}

.theme-black .menu__sub-list .menu__link:hover {
    background-color: rgba(255, 255, 255, 0.08) !important;
    border-color: #ff8929 !important;
    color: #ff8929 !important;
}

/* Profile Page Theme Select Styling */
.profile-theme-select {
    background-color: #fff;
    border: 1px solid #d2d2d2;
    border-radius: 8px;
    padding: 8px 12px;
    width: 100%;
    font-size: 14px;
    cursor: pointer;
    color: #222;
    -webkit-appearance: menulist !important;
}

.theme-black .profile-theme-select {
    background-color: #1c1c1e !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
}

/* Empty Big Slider Fallback Layout Guard */
.slider--big:not(:has(.slider__item)) {
    display: none !important;
}

/* Push Prompt Notification Styling */
#push-prompt {
    background-color: #fff !important;
    border: 1px solid #eee !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3) !important;
}
#push-prompt h4 {
    color: #111 !important;
}
#push-prompt p {
    color: #555 !important;
}
#push-prompt-later {
    color: #888 !important;
    transition: color 0.2s ease;
}
#push-prompt-later:hover {
    color: #333 !important;
}

/* Dark Theme overrides for Push Prompt */
.theme-black #push-prompt {
    background-color: #1c1c1e !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5) !important;
}
.theme-black #push-prompt h4 {
    color: #fff !important;
}
.theme-black #push-prompt p {
    color: #ccc !important;
}
.theme-black #push-prompt-later {
    color: #aaa !important;
}
.theme-black #push-prompt-later:hover {
    color: #fff !important;
}

/* Dark Theme support for Partner static content pages and tables */
.theme-black .body-side .body,
.theme-black .body-side .std,
.theme-black .body-side .page_text {
    background-color: #111 !important;
    color: #ccc !important;
}

.theme-black .body-side .std h1,
.theme-black .body-side .std h2,
.theme-black .body-side .std h3,
.theme-black .body-side .std h4,
.theme-black .body-side .std h5,
.theme-black .body-side .std h6 {
    color: #fff !important;
}

.theme-black .body-side .std p,
.theme-black .body-side .std li,
.theme-black .body-side .std span,
.theme-black .body-side .std ol,
.theme-black .body-side .std ul {
    color: #ccc !important;
}

.theme-black .body-side .std a {
    color: #ff8929 !important;
    text-decoration: underline !important;
}

.theme-black .body-side .std a:hover {
    color: #ffaa55 !important;
}

/* Tables styling inside static content under Dark Theme */
.theme-black .body-side .std table {
    background-color: #1c1c1e !important;
    border-collapse: collapse !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    width: 100% !important;
}

.theme-black .body-side .std table th {
    background-color: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: #fff !important;
    font-weight: bold !important;
    padding: 8px 12px !important;
}

.theme-black .body-side .std table td {
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: #ccc !important;
    padding: 8px 12px !important;
}

.theme-black .body-side .std table tr:nth-child(even) {
    background-color: rgba(255, 255, 255, 0.02) !important;
}

/* Dark Theme support for Profile settings info-blocks */
.theme-black .info-block {
    background-color: #1c1c1e !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
}
.theme-black .info-block__title {
    color: #fff !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}
.theme-black .layout-sidebar__sidebar {
    background-color: #1c1c1e !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
}
.theme-black .layout-sidebar__sidebar .profile-menu__link {
    color: #ccc !important;
}
.theme-black .layout-sidebar__sidebar .profile-menu__link:hover {
    color: #fff !important;
    background-color: rgba(255, 255, 255, 0.05) !important;
}
.theme-black .layout-sidebar__sidebar .profile-menu__item.is-active .profile-menu__link {
    color: #ff8929 !important;
    background-color: rgba(255, 255, 255, 0.08) !important;
}
.theme-black .form-group .label {
    color: #ccc !important;
}
.theme-black .profile__settings p {
    color: #ccc !important;
}
.theme-black .check__text {
    color: #ccc !important;
}
.theme-black .profile-theme-select {
    background-color: #1c1c1e !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    color: #fff !important;
}

/* ── Profile Push Block ──────────────────────────────────────────── */
.profile-push {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e8e8e8;
}
.profile-push__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.profile-push__title-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}
.profile-push__icon {
    font-size: 18px;
    line-height: 1;
}
.profile-push__title {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
}
.profile-push__toggle {
    position: relative;
    width: 44px;
    height: 24px;
    border-radius: 12px;
    background: #ccc;
    border: none;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
    transition: background 0.25s ease;
    outline: none;
}
.profile-push__toggle--on {
    background: #27ae60;
}
.profile-push__toggle:disabled {
    opacity: 0.6;
    cursor: wait;
}
.profile-push__toggle-knob {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
    transition: transform 0.25s ease;
    display: block;
}
.profile-push__toggle--on .profile-push__toggle-knob {
    transform: translateX(20px);
}
.profile-push__types {
    margin-top: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.profile-push__subtitle {
    font-size: 13px;
    color: #666;
    margin: 0 0 4px;
}
.profile-push__msg {
    font-size: 13px;
    color: #555;
    margin: 10px 0 0;
    line-height: 1.5;
}
.profile-push__msg--warn {
    color: #c0392b;
    background: #fff5f5;
    border-radius: 8px;
    padding: 10px 14px;
}
.profile-push__msg--ok {
    color: #27ae60;
}
.profile-push__hint {
    margin-top: 10px;
}
.profile-push__denied {
    margin-top: 10px;
}

/* Dark mode overrides */
.theme-black .profile-push {
    border-top-color: rgba(255,255,255,0.08);
}
.theme-black .profile-push__title {
    color: #fff;
}
.theme-black .profile-push__subtitle {
    color: #aaa;
}
.theme-black .profile-push__msg {
    color: #aaa;
}
.theme-black .profile-push__msg--warn {
    color: #ff6b6b;
    background: rgba(192,57,43,0.15);
}
.theme-black .profile-push__msg--ok {
    color: #2ecc71;
}

/* Theme Dropdown overrides inside Profile page */
.theme-black .dropdown__menu {
    background-color: #1c1c1e !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
}
.theme-black .dropdown__item-link {
    color: #ccc !important;
}
.theme-black .dropdown__item-link:hover {
    color: #fff !important;
    background-color: rgba(255, 255, 255, 0.05) !important;
}
.theme-black .dropdown__item.is-active .dropdown__item-link {
    color: #ff8929 !important;
    background-color: rgba(255, 255, 255, 0.08) !important;
}
.theme-black .profile__account .btn {
    background-color: #ff8929 !important;
    border-color: #ff8929 !important;
    color: #fff !important;
}
.theme-black .profile__account .btn:hover {
    background-color: #ffaa55 !important;
    border-color: #ffaa55 !important;
}

/* ==========================================================================
   Dark Theme Design System Additions (Logo, Layout Shifts, Overrides)
   ========================================================================== */

/* 1. Header Logo & Theme Switcher Width Stabilizer */
/* Removed logo filter hack; JS/PHP now swap the SVG files directly to preserve colors */

.header__logo,
.mob-menu__logo {
    width: 104px !important;
    height: 32px !important;
    display: inline-block !important;
}

.header__logo img,
.mob-menu__logo img {
    width: 104px !important;
    height: 32px !important;
    display: block !important;
}

.header__theme-dropdown .js-theme-toggle-btn {
    min-width: 115px !important;
    display: inline-flex !important;
    justify-content: center !important;
    align-items: center !important;
}


/* 2. Homepage Sections Dark Theme Overrides */
.theme-black .sizes {
    background-color: #111 !important;
}
.theme-black .sizes .section__title,
.theme-black .sizes__item-title {
    color: #fff !important;
}

.theme-black .baloons {
    background-color: #18181a !important;
}
.theme-black .baloons .section__title,
.theme-black .baloons__item-title {
    color: #fff !important;
}

.theme-black .text-ceo__inner {
    background-color: #1c1c1e !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
}
.theme-black .text-ceo__inner h2,
.theme-black .text-ceo__inner p,
.theme-black .text-ceo__inner span,
.theme-black .text-ceo__inner a,
.theme-black .text-ceo__inner strong,
.theme-black .text-ceo__inner .collapsed-text__text {
    color: #ccc !important;
}
.theme-black .collapsed-text.is-collapsed .collapsed-text__text::after {
    background: linear-gradient(360deg, rgba(17, 17, 17, 0.95) 38.57%, rgba(17, 17, 17, 0) 100%);
}
.theme-black .text-ceo__inner h2 {
    color: #fff !important;
}
.theme-black .text-ceo__inner a {
    color: #ff8929 !important;
}
.theme-black .text-ceo__inner .collapsed-text__more-btn {
    color: #ff8929 !important;
}

.theme-black .shop-info__inner {
    background-color: #1c1c1e !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
}
.theme-black .shop-info__item-title {
    color: #fff !important;
}
.theme-black .shop-info__item-text {
    color: #aaa !important;
}

/* 3. Selector Buttons (btn--bd) & Header Icon Hover Highlights */
html.theme-black body .btn--bd {
    background-color: transparent !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: #fff !important;
}
html.theme-black body .btn--bd:hover,
html.theme-black body .dropdown.is-open .btn--bd,
html.theme-black body .dropdown:hover .btn--bd,
html.theme-black body .dropdown .btn--bd:hover {
    border-color: #ff8929 !important;
    background-color: rgba(255, 255, 255, 0.05) !important;
}

html.theme-black body .header__cart-btn,
html.theme-black body .header__wishlist-btn,
html.theme-black body .header__compare-btn,
html.theme-black body .header__account-btn,
html.theme-black body .header__nav-btn,
html.theme-black body .header__catalog-btn,
html.theme-black body .header__service-btn,
html.theme-black body .btn--white {
    transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease !important;
}
html.theme-black body .header__cart-btn:hover,
html.theme-black body .header__wishlist-btn:hover,
html.theme-black body .header__compare-btn:hover,
html.theme-black body .header__account-btn:hover,
html.theme-black body .header__nav-btn:hover,
html.theme-black body .header__catalog-btn:hover,
html.theme-black body .header__service-btn:hover,
html.theme-black body .btn--white:hover {
    background-color: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
}


/* 4. Events Slider Titles & Validation Helper Contrast */
.theme-black .slider--events .slider__item-title {
    color: #fff !important;
}
.theme-black .slider--events .section__title svg {
    fill: #fff !important;
}

html body .show-order .form-control__help-text {
    color: #fff !important;
}

html body .show-order .is-error+.form-control__help-text,
html body .show-order .is-error+.help-red,
html body .show-order .help-red {
    color: #fff !important;
    background: #ff4d4d !important;
    padding: 3px 8px !important;
    border-radius: 4px !important;
    display: inline-block !important;
    margin-top: 5px !important;
    font-weight: 500 !important;
    box-shadow: 0 2px 4px rgba(255, 77, 77, 0.3) !important;
}




/* ==========================================================================
   Dark Theme: tracking-show / event status page
   Tokens from Figma "pyro website.fig" design system:
   - background:  #f0f2f5 (token: background)     → dark: #111111
   - card bg:     #ffffff (token: white)           → dark: #1c1c1e
   - card border: none / #e6e6e6 (gray 100)        → dark: rgba(255,255,255,0.08)
   - h2 title:    #333333 (token: gray 900)         → dark: #ffffff
   - label/key:   #888888 (token: gray 550)         → dark: rgba(255,255,255,0.45)
   - value text:  #222222 (token: black)            → dark: rgba(255,255,255,0.9)
   - link:        #3664ff (token: system/link)      → dark: #ff8929 (brand/dark orange)
   - btn bg:      #f0f0f0 (token: gray 50)          → dark: rgba(255,255,255,0.08)
   - btn text:    #555555 (token: gray 750)          → dark: rgba(255,255,255,0.85)
   - divider:     #e6e6e6 (token: gray 100)          → dark: rgba(255,255,255,0.1)
   - "Итого" key: #222222 bold                      → dark: #ffffff bold
   - "Итого" val: #222222 bold                      → dark: #ff8929 bold
   ========================================================================== */

/* 1. Фон страницы */
.theme-black .main {
    background-color: #111111;
}

/* 2. Заголовок страницы h1 */
.theme-black .page__title {
    color: #ffffff;
}

/* 3. Карточки .order-summ.info-block */
.theme-black .order-summ.info-block {
    background-color: #1c1c1e !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35) !important;
}

/* 4. Заголовок карточки: «№ 5368» */
.theme-black .order-summ__id,
.theme-black .order-summ__title.order-summ__id {
    color: rgba(255, 255, 255, 0.9) !important;
}

/* 5. Дата в шапке карточки: «от 10.06.2026» */
.theme-black .order-summ__date {
    color: rgba(255, 255, 255, 0.45) !important;
}

/* 6. Заголовки секций h2: «Стоимость услуг», «Ответственные лица» */
.theme-black .order-summ h2.order-summ__title {
    color: #ffffff !important;
    border-bottom-color: rgba(255, 255, 255, 0.08) !important;
}

/* 7. Метки (ключи строк): Дата, Время, Локация... */
.theme-black .order-summ__key {
    color: rgba(255, 255, 255, 0.45) !important;
}

/* 8. Значения строк: дата, время, характер, имя... */
.theme-black .order-summ__val {
    color: rgba(255, 255, 255, 0.9) !important;
}

/* 9. Ссылка «Локация» (system/link → brand/dark orange в тёмной теме) */
.theme-black .order-summ__val a {
    color: #ff8929 !important;
    text-decoration: underline !important;
}
.theme-black .order-summ__val a:hover {
    color: #ffaa55 !important;
}

/* 10. custom-select «Форма одежды» */
.theme-black .order-summ .custom-select__selected {
    background-color: #2c2c2e !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
    color: rgba(255, 255, 255, 0.9) !important;
}
.theme-black .order-summ .custom-select__selected::after {
    border-color: rgba(255, 255, 255, 0.6) transparent transparent transparent !important;
}
.theme-black .order-summ .custom-select__items {
    background-color: #2c2c2e !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5) !important;
}
.theme-black .order-summ .custom-select__items div {
    color: rgba(255, 255, 255, 0.8) !important;
}
.theme-black .order-summ .custom-select__items div:hover,
.theme-black .order-summ .custom-select__items div.is-selected {
    background-color: rgba(255, 255, 255, 0.06) !important;
    color: #ffffff !important;
}

/* 11. Кнопки «Связаться с менеджером / инженером / CEO» (btn--gray)
       Figma: bg=#f0f0f0 (gray 50), text=#555555 (gray 750)
       Dark:  bg=rgba(255,255,255,0.08), text=rgba(255,255,255,0.85) */
.theme-black .order-summ__btn-call.btn--gray {
    background-color: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
    color: rgba(255, 255, 255, 0.85) !important;
}
.theme-black .order-summ__btn-call.btn--gray:hover {
    background-color: rgba(255, 255, 255, 0.14) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
}
/* SVG иконка телефона в кнопках */
.theme-black .order-summ__btn-call.btn--gray .dropdown__icon {
    fill: #ff8929 !important;
}

/* 12. Разделитель hr (token: gray 100 → тёмная тема) */
.theme-black .order-summ hr {
    border-color: rgba(255, 255, 255, 0.1) !important;
    background-color: rgba(255, 255, 255, 0.1) !important;
}

/* 13. «Итого к оплате» — выделить ключ и значение */
.theme-black .order-summ__footer .order-summ__row .order-summ__key {
    color: #ffffff !important;
    font-weight: 600 !important;
}
.theme-black .order-summ__footer .order-summ__row .order-summ__val {
    color: #ff8929 !important;
    font-weight: 700 !important;
}

/* 14. Чекбокс «Конфиденциальное мероприятие»
       Figma: bg=#ffffff border=#d2d2d2 (gray 200) */
.theme-black .order-summ .check__box {
    background-color: #2c2c2e !important;
    border-color: rgba(255, 255, 255, 0.25) !important;
}
.theme-black .order-summ .check__input:checked + .check__box {
    background-color: #ff8929 !important;
    border-color: #ff8929 !important;
}
.theme-black .order-summ .check__text {
    color: rgba(255, 255, 255, 0.7) !important;
}

/* 15. Иконка tooltip (info) */
.theme-black .order-summ .tooltips svg use {
    fill: rgba(255, 255, 255, 0.4) !important;
}

/* 16. Цитата CEO */
.theme-black .order-summ__footer-signature > p {
    color: rgba(255, 255, 255, 0.55) !important;
}

/* 17. Имя и должность под фото CEO */
.theme-black .order-summ__footer-signature .user__name {
    color: #ffffff !important;
}
.theme-black .order-summ__footer-signature .user__position {
    color: rgba(255, 255, 255, 0.45) !important;
}


/* ==========================================================================
   Dark Theme: Catalog Page (category / shop / product listings)
   Tokens:
   - page bg:     #111111
   - card bg:     #222222 (already applied globally to .prod)
   - text:        rgba(255,255,255,0.9) for primary, rgba(255,255,255,0.55) for secondary
   - muted:       rgba(255,255,255,0.4)
   - accent:      #ff8929 (brand orange)
   - input bg:    #2c2c2e
   - border:      rgba(255,255,255,0.08)
   ========================================================================== */

/* 1. Global base color fix — prevents dark text on dark background */
.theme-black {
    color: #ccc;
}

/* 2. Breadcrumbs */
.theme-black .breadcrumb__link {
    color: #ff8929 !important;
}
.theme-black .breadcrumb__item {
    color: rgba(255, 255, 255, 0.45) !important;
}
.theme-black .breadcrumb__item::before {
    color: rgba(255, 255, 255, 0.25) !important;
}

/* 3. Page title in catalog */
.theme-black .page__title {
    color: #ffffff !important;
}
.theme-black .page__title span {
    color: rgba(255, 255, 255, 0.45) !important;
}

/* 4. Filter row (toolbar with sort/filter buttons) */
.theme-black .filter-row {
    background-color: transparent !important;
    color: #ccc !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}
.theme-black .filter-row__sort-title {
    color: rgba(255, 255, 255, 0.55) !important;
}
.theme-black .filter-row__sort-wrap .dropdown__menu {
    background-color: #1c1c1e !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
}
.theme-black .filter-row__sort-wrap .dropdown__item-link {
    color: #ccc !important;
}
.theme-black .filter-row__sort-wrap .dropdown__item-link:hover {
    background-color: rgba(255, 255, 255, 0.05) !important;
    color: #fff !important;
}
.theme-black .filter-row__sort-wrap .dropdown__item.is-active .dropdown__item-link {
    color: #ff8929 !important;
}
.theme-black .filter-row__sotr-direction svg {
    fill: rgba(255, 255, 255, 0.55) !important;
    stroke: rgba(255, 255, 255, 0.55) !important;
}

/* 5. Sidebar filter panel */
.theme-black .filter {
    background-color: #1a1a1a !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    color: #ccc !important;
}
.theme-black .filter__header {
    background-color: #1a1a1a !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}
.theme-black .filter__titile {
    color: #fff !important;
}
.theme-black .filter__couter {
    color: rgba(255, 255, 255, 0.45) !important;
}
.theme-black .filter__close svg {
    fill: #ccc !important;
}
.theme-black .filter-item__title {
    color: #fff !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}
.theme-black .filter-item__title-arr {
    fill: rgba(255, 255, 255, 0.55) !important;
    stroke: rgba(255, 255, 255, 0.55) !important;
}
.theme-black .filter-item__content {
    border-color: rgba(255, 255, 255, 0.08) !important;
}
.theme-black .filter-item__more-button {
    color: #ff8929 !important;
}

/* 6. Checkboxes inside filter */
.theme-black .filter .check__box {
    background-color: #2c2c2e !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
}
.theme-black .filter .check__input:checked + .check__box {
    background-color: #ff8929 !important;
    border-color: #ff8929 !important;
}
.theme-black .filter .check__text {
    color: rgba(255, 255, 255, 0.8) !important;
}
.theme-black .filter .radio__box {
    background-color: #2c2c2e !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
}
.theme-black .filter .radio__input:checked + .radio__box {
    border-color: #ff8929 !important;
    box-shadow: inset 0 0 0 3px #ff8929 !important;
}
.theme-black .filter .radio__text {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* 7. Price range slider inside filter */
.theme-black .range-price__input {
    background-color: #2c2c2e !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
    color: #fff !important;
}
.theme-black .range-price__label {
    color: rgba(255, 255, 255, 0.55) !important;
}
.theme-black .range-price__btn {
    background-color: #2c2c2e !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
    color: #fff !important;
}
.theme-black .range-price__bar.ui-widget-content {
    background-color: rgba(255, 255, 255, 0.1) !important;
}
.theme-black .range-price__bar .ui-widget-header {
    background-color: #ff8929 !important;
}
.theme-black .range-price__handle {
    background-color: #ff8929 !important;
    border-color: #ff8929 !important;
}

/* 8. Product card elements */
/* Card code badge (top right) */
.theme-black .prod__code {
    background-color: rgba(255, 255, 255, 0.07) !important;
    color: rgba(255, 255, 255, 0.4) !important;
    border-radius: 4px !important;
}

/* Product title */
.theme-black .prod--cat .prod__title a {
    color: rgba(255, 255, 255, 0.9) !important;
}
.theme-black .prod--cat .prod__title a:hover {
    color: #ff8929 !important;
}

/* Product properties list */
.theme-black .prod__prop li {
    color: rgba(255, 255, 255, 0.55) !important;
}

/* Price — old price strikethrough */
.theme-black .price__old {
    color: rgba(255, 255, 255, 0.4) !important;
}

/* Price — savings badge (yellow on dark bg needs dark text — keep as is or adjust) */
.theme-black .price__saving {
    background-color: rgba(255, 137, 41, 0.2) !important;
    color: #ff8929 !important;
}

/* Price — wholesale price list */
.theme-black .price__wholesale {
    color: rgba(255, 255, 255, 0.55) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}
.theme-black .price__wholesale.is-active {
    color: #ff8929 !important;
    border-color: #ff8929 !important;
}

/* Availability status */
.theme-black .prod__available--true {
    color: #4cd964 !important; /* brighter green for dark bg */
}
.theme-black .prod__available--false {
    color: #ff453a !important; /* brighter red for dark bg */
}

/* Wishlist / Compare icon buttons */
.theme-black .prod__ico.btn--white {
    background-color: rgba(255, 255, 255, 0.07) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    color: rgba(255, 255, 255, 0.7) !important;
}
.theme-black .prod__ico.btn--white svg {
    fill: rgba(255, 255, 255, 0.7) !important;
}
.theme-black .prod__ico.btn--white:hover {
    background-color: rgba(255, 255, 255, 0.12) !important;
    color: #fff !important;
}
.theme-black .prod__ico.btn--white:hover svg {
    fill: #fff !important;
}

/* Quantity stepper */
.theme-black .quantity__btn {
    background-color: rgba(255, 255, 255, 0.05) !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
    color: #fff !important;
}
.theme-black .quantity__btn svg {
    fill: rgba(255, 255, 255, 0.8) !important;
}
.theme-black .quantity__btn:hover {
    background-color: rgba(255, 255, 255, 0.1) !important;
}
.theme-black .quantity__input {
    background-color: transparent !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
    color: #fff !important;
}

/* Gray "Notify me" button */
.theme-black .prod__btn-buy.btn--gray.notify {
    background-color: rgba(255, 255, 255, 0.07) !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
    color: rgba(255, 255, 255, 0.7) !important;
}

/* 9. Product tags/labels (ТОП, Новинка, Скидка) */
.theme-black .tags-label__item {
    /* keep tag colors as is — they are accent tags and should stand out */
}

/* 10. Pagination */
.theme-black .pagination {
    color: #ccc !important;
}
.theme-black .pagination a,
.theme-black .pagination span {
    color: rgba(255, 255, 255, 0.7) !important;
    background-color: rgba(255, 255, 255, 0.05) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}
.theme-black .pagination a:hover {
    background-color: rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
}
.theme-black .pagination .is-active a,
.theme-black .pagination .is-active span,
.theme-black .pagination a.is-active {
    background-color: #ff8929 !important;
    border-color: #ff8929 !important;
    color: #fff !important;
}
.theme-black .pagination .is-skip span {
    color: rgba(255, 255, 255, 0.3) !important;
    background-color: transparent !important;
}

/* 11. Show more button */
.theme-black .category__show-more-btn {
    background-color: rgba(255, 255, 255, 0.06) !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
    color: rgba(255, 255, 255, 0.8) !important;
}
.theme-black .category__show-more-btn:hover {
    background-color: rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
}

/* 12. Subscribe section in catalog footer */
.theme-black .subscribe {
    background-color: #111 !important;
}
.theme-black .subscribe__title {
    color: #fff !important;
}
.theme-black .subscribe__form .form-control {
    background-color: #2c2c2e !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
    color: #fff !important;
}
.theme-black .subscribe__form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.35) !important;
}

/* 13. Modal availability popup */
.theme-black .modal-availability {
    background-color: #1c1c1e !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}
.theme-black .modal-availability .modal__title {
    color: #fff !important;
}

/* 14. Homepage — baloons (balloon category cards) white card fix */
.theme-black .baloons__item {
    background-color: #1c1c1e !important;
    border-color: rgba(255, 255, 255, 0.06) !important;
}
.theme-black .baloons__item-title {
    color: #fff !important;
}

/* 15. Homepage — "День Влюблённых" / event sections */
.theme-black .slider--events .slider__item-bg {
    /* event cards have their own imagery — keep */
}

/* 16. Category inner background */
.theme-black .category__inner {
    background-color: #1a1a1a !important;
}

/* 17. Top-line notification bar */
.theme-black .top-line {
    background-color: #1a1a1a !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}
.theme-black .top-line__item {
    color: rgba(255, 255, 255, 0.7) !important;
}


/* ==========================================================================
   Dark Theme: Product Card Page (product-page / product-info)
   ========================================================================== */

/* 1. Product sticky info line (top bar scrolled) */
.theme-black .product-info-line--top {
    background-color: #1c1c1e !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}
.theme-black .product-info-line__nav a {
    color: rgba(255, 255, 255, 0.7) !important;
}
.theme-black .product-info-line__nav a:hover,
.theme-black .product-info-line__nav a.is-active {
    color: #ff8929 !important;
}
.theme-black .product-info-line__name {
    color: rgba(255, 255, 255, 0.9) !important;
}
.theme-black .product-info-line__price {
    color: #fff !important;
}
.theme-black .product-info-line--bottom {
    background-color: #111 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
}

/* 2. Product slider */
.theme-black .slider--prod .slider__list {
    background-color: #1a1a1a !important;
}
.theme-black .slider--prod .slider__item {
    background-color: #1a1a1a !important;
}
/* Thumbnail strip */
.theme-black .slider__nav-list-item-inner {
    background-color: #1a1a1a !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}
.theme-black .slider__nav-list-item.is-active .slider__nav-list-item-inner {
    border-color: #ff8929 !important;
}
/* Slick arrows */
.theme-black .slick-prev,
.theme-black .slick-next {
    background-color: rgba(0, 0, 0, 0.5) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
}
.theme-black .slick-prev::before,
.theme-black .slick-next::before {
    color: #fff !important;
}

/* 3. Product sections (Характеристики, Описание, Видео) */
.theme-black .product-section {
    border-color: rgba(255, 255, 255, 0.06) !important;
}
.theme-black .product-section__title {
    color: #fff !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}
/* Specs table */
.theme-black .product-section__inner table {
    border-color: rgba(255, 255, 255, 0.06) !important;
}
.theme-black .product-section__inner tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
}
.theme-black .product-section__inner tr:nth-child(even) {
    background-color: rgba(255, 255, 255, 0.025) !important;
}
.theme-black .product-section__inner td {
    color: rgba(255, 255, 255, 0.85) !important;
    border-color: rgba(255, 255, 255, 0.06) !important;
}

/* 4. Product reviews section */
.theme-black .product-review {
    border-color: rgba(255, 255, 255, 0.06) !important;
}
.theme-black .product-review__title {
    color: #fff !important;
}
.theme-black .product-review__btn {
    border-color: rgba(255, 255, 255, 0.15) !important;
    color: #fff !important;
}
.theme-black .product-review__btn:hover {
    border-color: #ff8929 !important;
    color: #ff8929 !important;
}

/* 5. Content text (description) */
.theme-black .content-text {
    color: rgba(255, 255, 255, 0.8) !important;
}
.theme-black .content-text h2,
.theme-black .content-text h3,
.theme-black .content-text h4 {
    color: #fff !important;
}
.theme-black .content-text a {
    color: #ff8929 !important;
}
.theme-black .content-text table {
    border-color: rgba(255, 255, 255, 0.08) !important;
}
.theme-black .content-text td,
.theme-black .content-text th {
    border-color: rgba(255, 255, 255, 0.08) !important;
    color: rgba(255, 255, 255, 0.8) !important;
}

/* ==========================================================================
   Dark Theme: Global UI Components (affect all pages)
   ========================================================================== */

/* 6. Mega-menu */
.theme-black .menu__inner {
    background-color: #1c1c1e !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
}
.theme-black .menu__link {
    color: rgba(255, 255, 255, 0.85) !important;
}
.theme-black .menu__link:hover {
    color: #ff8929 !important;
}
.theme-black .menu__block-title {
    color: rgba(255, 255, 255, 0.45) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
}
.theme-black .menu__block-list li a {
    color: rgba(255, 255, 255, 0.75) !important;
}
.theme-black .menu__block-list li a:hover {
    color: #ff8929 !important;
}

/* 7. Cart sidebar (.bag) */
.theme-black .bag {
    background-color: #1c1c1e !important;
    border-left: 1px solid rgba(255, 255, 255, 0.08) !important;
}
.theme-black .bag__header {
    background-color: #222 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}
.theme-black .bag__titile {
    color: #fff !important;
}
.theme-black .bag__close {
    color: rgba(255, 255, 255, 0.6) !important;
}
.theme-black .bag__close:hover {
    color: #fff !important;
}
.theme-black .bag__couter {
    background-color: #ff8929 !important;
    color: #fff !important;
}

/* Cart Items */
/* Fix: first item had padding-top: 0 from main.min.css, causing it to be
   visually flush with the bag header. Restore to match other items (20px). */
.bag__list-item:first-child {
    padding-top: 20px;
}

.theme-black .bag__list-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}
.theme-black .bag-item__title {
    color: rgba(255, 255, 255, 0.9) !important;
}
.theme-black .bag-item__title:hover {
    color: #ff8929 !important;
}
.theme-black .bag-item__prod-code {
    color: rgba(255, 255, 255, 0.4) !important;
}
.theme-black .bag-item__price {
    color: rgba(255, 255, 255, 0.7) !important;
}
.theme-black .bag-item__total-sum {
    color: #fff !important;
    font-weight: 700;
}

/* Delete Button (Х) */
.theme-black .btn-remove {
    background-color: transparent !important;
    border: none !important;
    padding: 0 !important;
    cursor: pointer;
}
.theme-black .btn-remove svg {
    fill: rgba(255, 255, 255, 0.5) !important;
    stroke: rgba(255, 255, 255, 0.5) !important;
}
.theme-black .btn-remove:hover svg {
    fill: #ff453a !important;
    stroke: #ff453a !important;
}

/* Cart Total Footer */
.theme-black .bag__footer {
    background-color: #1c1c1e !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}
.theme-black .bag__total-key {
    color: rgba(255, 255, 255, 0.6) !important;
}
.theme-black .bag__total-val {
    color: #fff !important;
    font-weight: 700;
}

/* 8. Modal windows */
.theme-black .modal {
    background-color: #1c1c1e !important;
}
.theme-black .modal-city {
    background-color: #1c1c1e !important;
}
.theme-black .modal__title {
    color: #fff !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}
.theme-black .modal-city__inner {
    color: rgba(255, 255, 255, 0.8) !important;
}
.theme-black .modal-city__choose-btn {
    border-color: rgba(255, 255, 255, 0.12) !important;
    color: rgba(255, 255, 255, 0.7) !important;
    background-color: rgba(255, 255, 255, 0.04) !important;
}
.theme-black .modal-city__choose-btn:hover {
    border-color: #ff8929 !important;
    color: #ff8929 !important;
}
.theme-black .modal-city__list {
    border-color: rgba(255, 255, 255, 0.08) !important;
}
.theme-black .modal-city__list a {
    color: rgba(255, 255, 255, 0.75) !important;
}
.theme-black .modal-city__list a:hover {
    color: #ff8929 !important;
}
.theme-black .modal-city__form .form-control {
    background-color: #2c2c2e !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
    color: #fff !important;
}
.theme-black .modal-city__form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.35) !important;
}

/* 9. Search form (header) */
.theme-black .form-search__input {
    background-color: #2c2c2e !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
    color: #fff !important;
}
.theme-black .form-search__input::placeholder {
    color: rgba(255, 255, 255, 0.35) !important;
}
.theme-black .form-search__btn {
    color: rgba(255, 255, 255, 0.5) !important;
}
.theme-black .form-search__btn:hover {
    color: #ff8929 !important;
}
/* Autocomplete dropdown */
.theme-black .ac_results {
    background-color: #1c1c1e !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
}
.theme-black .ac_results li {
    color: rgba(255, 255, 255, 0.85) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
}
.theme-black .ac_results li:hover,
.theme-black .ac_results .ac_over {
    background-color: rgba(255, 255, 255, 0.07) !important;
    color: #fff !important;
}
.theme-black .ac_results_query {
    color: #ff8929 !important;
}

/* 10. General .btn--white in dark theme */
.theme-black .btn--white {
    background-color: rgba(255, 255, 255, 0.07) !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
    color: rgba(255, 255, 255, 0.9) !important;
}
.theme-black .btn--white:hover {
    background-color: rgba(255, 255, 255, 0.12) !important;
    color: #fff !important;
}

/* 11. General .btn--gray in dark theme (out of stock / disabled) */
.theme-black .btn--gray {
    background-color: rgba(255, 255, 255, 0.07) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    color: rgba(255, 255, 255, 0.55) !important;
}

/* 12. Tooltips */
.theme-black .tooltips__text {
    background-color: #333 !important;
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
}

/* 13. Custom select */
.theme-black .custom-select__selected {
    background-color: #2c2c2e !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
    color: #fff !important;
}
.theme-black .custom-select__items {
    background-color: #1c1c1e !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
}
.theme-black .custom-select__items div {
    color: rgba(255, 255, 255, 0.8) !important;
}
.theme-black .custom-select__items div:hover,
.theme-black .custom-select__items .is-selected {
    background-color: rgba(255, 255, 255, 0.07) !important;
    color: #ff8929 !important;
}

/* 14. Dropdown (wholesale, units, etc.) */
.theme-black .dropdown__menu {
    background-color: #1c1c1e !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6) !important;
}
.theme-black .dropdown__item-link {
    color: rgba(255, 255, 255, 0.8) !important;
}
.theme-black .dropdown__item-link:hover {
    background-color: rgba(255, 255, 255, 0.07) !important;
    color: #fff !important;
}
.theme-black .dropdown__item.is-active .dropdown__item-link {
    color: #ff8929 !important;
}
.theme-black .dropdown__toggle {
    border-color: rgba(255, 255, 255, 0.15) !important;
    color: rgba(255, 255, 255, 0.85) !important;
}

/* 15. Global form elements (inputs, textareas, selects) */
.theme-black .form-control {
    background-color: #2c2c2e !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    color: #fff !important;
}
.theme-black .form-control::placeholder {
    color: rgba(255, 255, 255, 0.35) !important;
}
.theme-black select.form-control, 
.theme-black select {
    background-color: #2c2c2e !important;
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
}

/* 16. Message boxes / Notifications */
.theme-black .message-box__list {
    background-color: #1c1c1e !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: rgba(255, 255, 255, 0.9) !important;
}
.theme-black .message-box__item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
}
.theme-black .message-box__item:last-child {
    border-bottom: none !important;
}

/* 17. Sidebar navigation menu (.list) */
.theme-black .layout-sidebar__sidebar .list {
    background-color: #1c1c1e !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
}
.theme-black .layout-sidebar__sidebar .list li a {
    color: rgba(255, 255, 255, 0.8) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
}
.theme-black .layout-sidebar__sidebar .list li a:hover,
.theme-black .layout-sidebar__sidebar .list li.is-active a {
    background-color: rgba(255, 255, 255, 0.04) !important;
    color: #ff8929 !important;
}
.theme-black .layout-sidebar__sidebar .list li a svg {
    fill: currentColor !important;
}

/* ==========================================================================
   Dark Theme: MISSING COMPONENTS (header, footer, body, notifications)
   Added to fix remaining light backgrounds in dark mode
   ========================================================================== */

/* 1. Header — main backgrounds */
.theme-black .header {
    background-color: #111111 !important;
    border-bottom-color: rgba(255, 255, 255, 0.08) !important;
}
.theme-black .header__top {
    background-color: #111111 !important;
    border-bottom-color: rgba(255, 255, 255, 0.08) !important;
}
.theme-black .header__bottom {
    background-color: #111111 !important;
}
.theme-black .header__nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
}
.theme-black .header__nav-link:hover {
    color: #ff8929 !important;
}
.theme-black .header__logo path,
.theme-black .header__logo rect {
    fill: #fff !important;
}
.theme-black .header__phone a {
    color: rgba(255, 255, 255, 0.9) !important;
}
.theme-black .header__phone a:hover {
    color: #ff8929 !important;
}
.theme-black .header__top-right .btn--white {
    background-color: rgba(255, 255, 255, 0.07) !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
    color: rgba(255, 255, 255, 0.9) !important;
}

/* 2. Footer */
.theme-black .footer {
    background-color: #111111 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: rgba(255, 255, 255, 0.7) !important;
}
.theme-black .footer__title {
    color: #ffffff !important;
}
.theme-black .footer a {
    color: rgba(255, 255, 255, 0.65) !important;
}
.theme-black .footer a:hover {
    color: #ff8929 !important;
}
.theme-black .footer__copyright {
    color: rgba(255, 255, 255, 0.35) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
}
.theme-black .footer__logo path,
.theme-black .footer__logo rect {
    fill: rgba(255, 255, 255, 0.7) !important;
}
.theme-black .footer__soc-link svg {
    fill: rgba(255, 255, 255, 0.5) !important;
}
.theme-black .footer__soc-link:hover svg {
    fill: #ff8929 !important;
}

/* 3. Page body background */
.theme-black body {
    background-color: #111111 !important;
    color: #cccccc !important;
}

/* 4. Notification popup */
.theme-black .notification {
    background-color: #1c1c1e !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: rgba(255, 255, 255, 0.9) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6) !important;
}
.theme-black .notification__close {
    color: rgba(255, 255, 255, 0.5) !important;
    background-color: transparent !important;
}
.theme-black .notification__close:hover {
    color: #fff !important;
}

/* 5. Popup dialog / alert */
.theme-black .popup-dialog {
    background-color: #1c1c1e !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.7) !important;
}
.theme-black .modal-vue__overlay {
    background-color: rgba(0, 0, 0, 0.75) !important;
}
.theme-black .modal__close-btn {
    color: rgba(255, 255, 255, 0.5) !important;
    background-color: rgba(255, 255, 255, 0.07) !important;
}
.theme-black .modal__close-btn:hover {
    color: #fff !important;
    background-color: rgba(255, 255, 255, 0.12) !important;
}

/* 6. Static page text */
.theme-black .page_text {
    color: rgba(255, 255, 255, 0.8) !important;
    background-color: transparent !important;
}
.theme-black .page_text h1,
.theme-black .page_text h2,
.theme-black .page_text h3 {
    color: #ffffff !important;
}

/* 7. Checkout product row */
.theme-black .checkout-prod {
    background-color: #1a1a1a !important;
    border-color: rgba(255, 255, 255, 0.06) !important;
}
.theme-black .checkout-prod__lever {
    background-color: #2c2c2e !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}
.theme-black .checkout-prod__remove-btn,
.theme-black .checkout-prod__video-btn {
    background-color: rgba(255, 255, 255, 0.07) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    color: rgba(255, 255, 255, 0.7) !important;
}

/* 8. Category menu */
.theme-black .cat-menu {
    background-color: #1a1a1a !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}
.theme-black .cat-menu-item__list-link {
    color: rgba(255, 255, 255, 0.75) !important;
}
.theme-black .cat-menu-item__list-link:hover {
    color: #ff8929 !important;
}

/* 9. Alert dialog buttons */
.theme-black #alertButtons .btn.cancel {
    background: rgba(255, 255, 255, 0.08) !important;
    color: rgba(255, 255, 255, 0.8) !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
}

/* 10. UI datepicker */
.theme-black .ui-datepicker {
    background: #1c1c1e !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: #fff !important;
}
.theme-black .ui-datepicker td a,
.theme-black .ui-datepicker td span {
    color: rgba(255, 255, 255, 0.8) !important;
}
.theme-black .ui-datepicker-header {
    background: #2c2c2e !important;
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}

/* 11. Newsletter popup */
.theme-black .popupNewsletterContainer {
    background-color: #1c1c1e !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

/* 12. Google Maps language fix — keep original for map itself */

/* 13. Breadcrumbs bar background (if any) */
.theme-black .breadcrumb {
    background: transparent !important;
}

/* 14. General collapsed text button */
.theme-black .collapsed-text__more-btn {
    color: #ff8929 !important;
    background: transparent !important;
}

/* 15. Input group password toggle */
.theme-black .input-group-password__btn {
    background-color: transparent !important;
    color: rgba(255, 255, 255, 0.5) !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
}
.theme-black .input-group-password__btn:hover {
    color: rgba(255, 255, 255, 0.9) !important;
}

/* 16. Profile products list */
.theme-black .profile-products {
    background-color: transparent !important;
}
.theme-black .profile-products .prod {
    background-color: #1c1c1e !important;
}

/* ==========================================================================
   Dark Theme: Checkout / Cart Page (/korzina)
   Full overrides for all checkout components
   ========================================================================== */

/* --- Navigation steps bar --- */
.theme-black .checkout__nav {
    background-color: #1c1c1e !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 16px 16px 0 0 !important;
}

/* Active step pill — neutral dark, same logic as light (#f5f5f5 → dark surface) */
.theme-black .checkout__nav-item.is-current {
    background-color: rgba(255, 255, 255, 0.08) !important;
    border-radius: 12px !important;
    opacity: 1 !important;
}

/* Active step number circle:
   Light theme uses ::before gradient-border (orange→red) and gradient text on span.
   In dark theme we keep the same gradient border (::before stays), just darken the white bg
   so it reads as dark circle with orange gradient border + orange text. */
.theme-black .checkout__nav-item.is-current .checkout__nav-item-num {
    background-color: #1c1c1e !important;
}

/* Active step label */
.theme-black .checkout__nav-item.is-current .checkout__nav-item-name {
    color: #ffffff !important;
    font-weight: 500;
}

/* Inactive step circles: keep ::before gradient-border but dim it,
   adapt white bg to dark, dim the gradient text */
.theme-black .checkout__nav-item:not(.is-current) .checkout__nav-item-num {
    background-color: #1c1c1e !important;
    opacity: 0.45;
}
.theme-black .checkout__nav-item:not(.is-current) .checkout__nav-item-name {
    color: rgba(255, 255, 255, 0.45) !important;
}

/* --- Main checkout step panel --- */
.theme-black .checkout-step {
    background-color: #1c1c1e !important;
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}
.theme-black .checkout__section-title,
.theme-black .checkout__section-subtitle {
    color: #fff !important;
}

/* Product rows: in light theme cards are white on white, separated by margin only.
   In dark theme we keep the card bg subtle and let margin do the work — no extra borders. */

/* --- Individual product card --- */
.theme-black .checkout-prod {
    background-color: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.07) !important;
    border-radius: 8px !important;
}
.theme-black .checkout-prod:hover {
    background-color: rgba(255, 255, 255, 0.06) !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
}

/* Product title link */
.theme-black .checkout-prod__title {
    color: rgba(255, 255, 255, 0.9) !important;
    text-decoration: none !important;
}
.theme-black .checkout-prod__title:hover {
    color: #ff8929 !important;
}

/* Product code */
.theme-black .checkout-prod__code {
    color: rgba(255, 255, 255, 0.38) !important;
}

/* Price */
.theme-black .checkout-prod__price .price__value,
.theme-black .checkout-prod__total-sum {
    color: #ffffff !important;
}

/* "Есть в наличии" availability badge */
.theme-black .prod__available--true {
    color: #30d158 !important;
}
.theme-black .prod__available--false {
    color: rgba(255, 255, 255, 0.4) !important;
}

/* Remove (×) button */
.theme-black .checkout-prod__remove-btn {
    background-color: rgba(255, 255, 255, 0.06) !important;
    border-color: transparent !important;
    color: rgba(255, 255, 255, 0.45) !important;
    transition: background-color 0.2s, color 0.2s !important;
}
.theme-black .checkout-prod__remove-btn:hover {
    background-color: rgba(255, 59, 48, 0.15) !important;
    color: #ff453a !important;
}
.theme-black .checkout-prod__remove-btn svg {
    fill: currentColor !important;
}

/* Video button */
.theme-black .checkout-prod__video-btn {
    background-color: rgba(255, 255, 255, 0.06) !important;
    border-color: transparent !important;
    color: rgba(255, 255, 255, 0.5) !important;
}
.theme-black .checkout-prod__video-btn:hover {
    background-color: rgba(255, 137, 41, 0.15) !important;
    color: #ff8929 !important;
}

/* Drag/sort lever: light theme has transparent bg — match it in dark.
   Only need to lighten the svg icon so it's visible on dark bg. */
.theme-black .checkout-prod__lever svg {
    fill: rgba(255, 255, 255, 0.4) !important;
}

/* Quantity control (−/+) */
.theme-black .checkout-prod__quantity .quantity__btn {
    background-color: rgba(255, 255, 255, 0.07) !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
    color: #fff !important;
}
.theme-black .checkout-prod__quantity .quantity__btn:hover {
    background-color: rgba(255, 137, 41, 0.15) !important;
    border-color: #ff8929 !important;
    color: #ff8929 !important;
}
.theme-black .checkout-prod__quantity .quantity__input {
    color: #fff !important;
    background-color: transparent !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

/* Bottom buttons row: light theme has no border-top — keep consistent, no separator */

/* "Посмотреть видео плейлист" */
.theme-black .checkout-step__btn-playlist {
    background-color: rgba(255, 255, 255, 0.07) !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
    color: rgba(255, 255, 255, 0.7) !important;
}
.theme-black .checkout-step__btn-playlist:hover {
    background-color: rgba(255, 255, 255, 0.12) !important;
    color: #fff !important;
}

/* "Очистить корзину" — destructive secondary button */
.theme-black .checkout-step__btns .btn--orange:not(.btn--primary),
.theme-black .btn.checkout-step__btns-right--prod .btn {
    background-color: rgba(255, 137, 41, 0.15) !important;
    border-color: rgba(255, 137, 41, 0.3) !important;
    color: #ff8929 !important;
}

/* "Продолжить →" stays orange */
.theme-black .checkout-step__btn-next {
    background-color: #ff8929 !important;
    border-color: #ff8929 !important;
    color: #fff !important;
}
.theme-black .checkout-step__btn-next:hover {
    background-color: #e6711a !important;
}

/* --- Order total panel (right sidebar) --- */
.theme-black .checkout-total {
    background-color: #1c1c1e !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 16px !important;
}
.theme-black .checkout-total h2,
.theme-black .checkout-total h3 {
    color: #fff !important;
}

/* Total rows: light theme has no border-bottom on rows. Separator is an <hr> element.
   Just adapt text color. */
.theme-black .checkout-total__row {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* The <hr> divider between promo block and summary rows */
.theme-black .checkout-total hr {
    border-color: rgba(255, 255, 255, 0.1) !important;
    border-top-color: rgba(255, 255, 255, 0.1) !important;
}

/* Promo code link */
.theme-black .checkout-total a {
    color: #ff8929 !important;
    text-decoration: underline !important;
    text-decoration-color: rgba(255, 137, 41, 0.4) !important;
}
.theme-black .checkout-total a:hover {
    color: #ffaa5c !important;
    text-decoration-color: rgba(255, 170, 92, 0.6) !important;
}

/* Sum values */
.theme-black .checkout-total__sum,
.theme-black .checkout-total__sum-payable {
    color: #ffffff !important;
}

/* Product count */
.theme-black .checkout-total__prod-count {
    color: rgba(255, 255, 255, 0.6) !important;
}

/* Discount badge */
.theme-black .checkout-total__discount {
    background-color: rgba(255, 209, 41, 0.15) !important;
    color: #ffd129 !important;
    border-radius: 6px !important;
}

/* Submit button */
.theme-black .checkout-total__submit {
    background-color: #ff8929 !important;
    border-color: #ff8929 !important;
    color: #fff !important;
    font-weight: 600 !important;
}
.theme-black .checkout-total__submit:hover {
    background-color: #e6711a !important;
    border-color: #e6711a !important;
}

/* Legal agreement text */
.theme-black .checkout-total__agree {
    color: rgba(255, 255, 255, 0.45) !important;
}
.theme-black .checkout-total__agree a {
    color: #ff8929 !important;
    text-decoration: underline !important;
    text-decoration-color: rgba(255, 137, 41, 0.4) !important;
}
.theme-black .checkout-total__agree a:hover {
    color: #ffaa5c !important;
}

/* --- Step 2 & 3: Contact form & Delivery radio items --- */
.theme-black .checkout-step__radio-item {
    border: 1px solid rgba(255, 255, 255, 0.07) !important;
    border-radius: 8px !important;
    background-color: rgba(255, 255, 255, 0.03) !important;
    transition: background-color 0.2s, border-color 0.2s !important;
}
.theme-black .checkout-step__radio-item:hover {
    background-color: rgba(255, 255, 255, 0.06) !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
}
.theme-black .checkout-step__radio-item.is-selected,
.theme-black input[type="radio"]:checked + .checkout-step__radio-item {
    background-color: rgba(255, 137, 41, 0.1) !important;
    border-color: rgba(255, 137, 41, 0.35) !important;
}
.theme-black .checkout-step__radio-item-title {
    color: rgba(255, 255, 255, 0.9) !important;
}
.theme-black .checkout-step__radio-item-text {
    color: rgba(255, 255, 255, 0.5) !important;
}
.theme-black .checkout-step__radio-item-rate {
    color: rgba(255, 255, 255, 0.6) !important;
}
.theme-black .checkout-step__radio-item.is-disabled {
    opacity: 0.35 !important;
}

/* Comment textarea */
.theme-black .checkout-step__comment textarea,
.theme-black .checkout-step__comment .form-control {
    background-color: #2c2c2e !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    color: #fff !important;
    border-radius: 8px !important;
}
.theme-black .checkout-step__comment textarea::placeholder {
    color: rgba(255, 255, 255, 0.3) !important;
}

/* Step 2 contact form inputs */
.theme-black .checkout-step__form .form-control {
    background-color: #2c2c2e !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    color: #fff !important;
}
.theme-black .checkout-step__form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.3) !important;
}
.theme-black .checkout-step__form label {
    color: rgba(255, 255, 255, 0.65) !important;
}

/* Accordion (promo code block) in checkout total */
.theme-black .accordion {
    background-color: transparent !important;
    color: #ff8929 !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}
.theme-black .accordion a {
    color: #ff8929 !important;
    text-decoration: underline !important;
    text-decoration-color: rgba(255, 137, 41, 0.4) !important;
}
.theme-black .accordion__panel {
    background-color: transparent !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}

/* All nav circles: switch white (#fff) bg to dark surface
   so the ::before gradient-border and gradient text still show over dark bg */
.theme-black .checkout__nav-item-num {
    background-color: #1c1c1e !important;
}
