/* main */

body.theme_dark, .theme_dark .header, .theme_dark .container {
    background: #000;
    color: #efefef;
}

.theme_dark .header .top_line, .theme_dark .additional_menu { background: none; }
.theme_dark .header .logo .speaker { fill: #000; }
.theme_dark .header .logo .house, .theme_dark .header .logo .slogan { fill: #efefef; }
.theme_dark .header .logo .text { fill: #fdc101; }
.theme_dark .header .address_box a { color: #efefef; }
.theme_dark .footer { background: #000; box-shadow: 0 0.0625rem 0 #444 inset; color: #efefef; }
.theme_dark .footer .logo .house, .theme_dark .footer .logo .slogan { fill: #efefef; }
.theme_dark .footer a { color: #efefef; }
.theme_dark .footer .phone svg, .theme_dark .footer .messengers svg .main, .theme_dark .footer .apps svg { fill: #efefef; }
.theme_dark .messengers .telegram a:hover .main, .theme_dark .messengers .bot a:hover .main { fill: #29a9eb; }

.theme_dark  .additional_menu .catalog_menu > ul {
    background: #fdc101;
    border-radius: 0.25rem;
}

.theme_dark .additional_menu .catalog_menu > ul > li > a {
    border-radius: 0;
    color: #1e1e1e;
}

.theme_dark .additional_menu .catalog_menu > ul > li:first-child > a { border-radius: 0.25rem 0 0 0.25rem; }
.theme_dark .additional_menu .catalog_menu > ul > li:last-child > a { border-radius: 0 0.25rem 0.25rem 0; }
.theme_dark .additional_menu .catalog_menu > ul > li:first-child > a, .theme_dark .additional_menu .catalog_menu > ul > li:last-child > a  { transition: border-radius 0.2s linear 0.5s; }
.theme_dark .additional_menu .catalog_menu > ul > li:first-child > a:not(.go):hover { border-radius: 0.25rem 0 0 0; }
.theme_dark .additional_menu .catalog_menu > ul > li:last-child > a:not(.go):hover { border-radius: 0 0.25rem 0 0; }


/* controls */

.theme_dark button, .theme_dark .button, .theme_dark input[type=submit], .theme_dark input[type=button] { color: #000; }
.theme_dark button:disabled, .theme_dark .button.disabled, .theme_dark input[type=button]:disabled, .theme_dark input[type=submit]:disabled { opacity: 0.7; }

.theme_dark input[type=text], .theme_dark input[type=password], .theme_dark input[type=search], .theme_dark input[type=tel],
.theme_dark input[type=email], .theme_dark input[type=time], .theme_dark textarea, .theme_dark select {
    background: #efefef;
    border-color: #efefef;
}

/* sidebar */

.theme_dark .sidebar .brands a:not(:hover), .theme_dark .panel .brands a:not(:hover) { color: #efefef; }
.theme_dark .comments_box a { color: #efefef; }
.theme_dark .comments_box span { color: #999; }
.theme_dark .comments_box dt { color: #548eff; }
.theme_dark .mini_price .price_list a { color: #efefef; }
.theme_dark .mini_price .price_list a i::before { opacity: 0.5; }
.theme_dark .mini_price .current a { background: #444; }
.theme_dark .mini_price li > span::after { background-image: url(../images/sprite.svg#arrow_down_light); }
.theme_dark .filter .reset_bttn { background-image: url(../images/sprite.svg#close_button_light); }

.theme_dark .brands_legend, .theme_dark .side_box:not(:last-child), .theme_dark .filter:not(:first-child) { border-color: #444; }
.theme_dark .filter h5::after, .theme_dark .panel h5.title::after, .theme_dark .spoiler .read_more::before { background-image: url(../images/sprite.svg#arrow_down_light); }
.theme_dark .filter label:hover { background: rgba(68,68,68,0.9); color: #548eff; }
.theme_dark .popular_items a:hover { color: #efefef; }
.theme_dark .popular_items a:hover::before { background: #efefef; }

/* search */

.theme_dark .search input[type=search] { background: #efefef; }
.theme_dark .search_results .item_card { border-left-width: 0; border-right-width: 0; }
.theme_dark .search_results .item_card:hover { border-color: transparent; }
.theme_dark .search_results a { color: #efefef; }
.theme_dark .search_results.loading, .theme_dark .search_results.complete { background-color: #1e1e1e; }
.theme_dark .search_results ul { border-color: #444; }
.theme_dark .search_results a:hover { color: #000; }
.theme_dark .search_results a:hover .item_specs { color: #999; }
.theme_dark .search_results a:hover .item_price { color: #444; }
.theme_dark .search_results a:hover .item_price b { color: #000; }
.theme_dark .search_results .buy:not(:hover) svg { fill: #efefef; }
.theme_dark .search_results a .buy svg { transition: none; }
.theme_dark .search_results a:hover .buy svg { fill: #000; }
.theme_dark .search_results .catalog .item_card .buy svg { fill: #aaa; }
.theme_dark .search_results a:hover { background: #777; color: #efefef; }
.theme_dark .search_results a:hover .item_price { color: #ddd; }
.theme_dark .search_results a:hover .item_price b { color: #efefef; }

/* content */

.theme_dark .content { color: #efefef; }

/* breadcrumbs */

.theme_dark .breadcrumbs a { color: #999; }
.theme_dark .breadcrumbs svg { fill: #efefef; }
.theme_dark .breadcrumbs span { color: #888; }
.theme_dark .breadcrumbs li:not(:last-child)::after { background-image: url(../images/sprite.svg#arrow_next_light); }

/* pagination */

.theme_dark .pagination a { color: #efefef; }
.theme_dark .pagination li:not(:first-child):not(:last-child) a:hover, .theme_dark .pagination .current span,
.theme_dark .pagination li:last-child a:hover, .theme_dark .pagination li:first-child a:hover { background: #555; }
.theme_dark .pagination svg { fill: #efefef; }

/* articles */

.theme_dark article h2 a { color: #efefef; }
.theme_dark article footer svg, .theme_dark article header svg { fill: #efefef; }
.theme_dark article[role=main] footer { border-color: #555; }
.theme_dark .comments_form .smiles svg { fill: #efefef; opacity: 0.7; }
.theme_dark .comments_form .smiles svg:hover { opacity: 1; }

/* category */

.theme_dark .category .inner { background: #1e1e1e; border-color: #555; }
.theme_dark .category dt a { color: #efefef; }
.theme_dark .category dd img { border-radius: 0.25rem; }

.theme_dark .category dd::after {
    content: '';
    background: #efefef;
    border-radius: 0.25rem;
    display: block;
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    right: 0.5rem;
    bottom: 0.5rem;
    z-index: 0;
}

/* catalog */

.theme_dark .box_body .toggle:hover { color: #efefef; }
.theme_dark .box_body .toggle::after { background: url(../images/sprite.svg#arrow_down_light); }

.theme_dark .tag_cloud a { background: rgba(255,255,255,0.3); color: #efefef; }
.theme_dark .tag_cloud a:hover { background: rgba(255,255,255,0.5); }
.theme_dark .tag_cloud li.active a { background: rgba(255,255,255,0.5); }

.theme_dark .catalog[data-view=cards]:not(.single_line) .inner { border-color: #555; }

.theme_dark .no_items_found {
  background: #444;
  border-color: #444;
  color: #ddd;
}

.theme_dark .more_tags svg { fill: #efefef; }
.theme_dark .sortings span { color: #999; }
.theme_dark .view_type svg { fill: #efefef; }

.theme_dark .item_card {
    background: #1e1e1e;
    border-color: #444;
}

.theme_dark .item_card:hover { border-color: #777; }
.theme_dark .catalog[data-view=cards]:not(.single_line) .item_card:hover { box-shadow: -0.0625rem -0.0625rem 0 #777; }
.theme_dark .catalog[data-view=cards] .item_descr span { background: #555; }
.theme_dark .catalog[data-view=cards] .item_options { padding: 0.5rem 0.25rem 0.25rem 0.25rem; margin-top: -2.375rem; }
.no-touchevents .theme_dark .item_card:hover .item_descr::after, .touchevents .theme_dark .item_descr::after { right: 0.25rem; bottom: 0.25rem; z-index: 2; }
.theme_dark .catalog .item_card .buy svg { fill: #616161; }
.theme_dark .catalog .item_card:hover .buy svg { fill: #1e1e1e; }
.theme_dark .item_card .add_favs:not(:hover) svg { stroke: #d0d0d0; }
.theme_dark .item_card.in_favs .add_favs svg { stroke: #fb6751; }


.theme_dark .catalog .item_photo {
    background: #fff;
    border-radius: 0.25rem;
    overflow: hidden;
}

.theme_dark .item_specs { color: #ddd; }
.theme_dark .item_title a { color: #efefef; }
.theme_dark .item_price { color: #ddd; }
.theme_dark .item_price b { color: #efefef; }
.theme_dark .discount .item_old_price { color: #999; }

.theme_dark .catalog[data-view=cards] .item_comments { background: rgba(68,68,68,0.9); }
.theme_dark .warehouses { background: #1e1e1e; box-shadow: 0 0 0 0.5rem #1e1e1e; color: #ccc; }

.theme_dark .company_info.spoiler:not(.active)::after, .theme_dark .product_page .spoiler:not(.active)::after {
    background: -webkit-linear-gradient(top, rgba(0,0,0,0), rgba(0,0,0,1));
    background: -moz-linear-gradient(top, rgba(0,0,0,0), rgba(0,0,0,1));
    background: -ms-linear-gradient(top, rgba(0,0,0,0), rgba(0,0,0,1));
    background: -o-linear-gradient(top, rgba(0,0,0,0), rgba(0,0,0,1));
    background: linear-gradient(top, rgba(0,0,0,0), rgba(0,0,0,1));
}

/* windows/panels */

.theme_dark .panel { background: #1e1e1e; }
.theme_dark .panel_title { background: #444; }
.theme_dark *[class^=window_] .close_bttn, .theme_dark .panel .close_bttn { background: none; }
.theme_dark .wndw_modal_title { background: #444; }

/* product window */

.theme_dark *[class^=window_] { background: #1e1e1e; }
.theme_dark *[class^=window_] .close_bttn::before, .theme_dark .panel .close_bttn::before { background-image: url(../images/sprite.svg#close_button_light); }
.theme_dark .comments_form { background: rgba(30,30,30,1); }
.theme_dark .product_specs, .theme_dark .shop_features_box, .theme_dark .similar_items::before, .theme_dark .product_links::before { border-color: #444; }
.theme_dark .product_specs dt { color: #ccc; }
.theme_dark .product_photo_box img, .theme_dark .thumb img { background: #fff; }
.theme_dark .thumb:not(.current) a { border-color: #777; }
.theme_dark .thumb:not(.current) a:hover { border-color: #999; }
.theme_dark .similar_items .scroller_controls svg { fill: #efefef; }
.theme_dark .thumbs .scroller_bttn { background: #1e1e1e; }
.theme_dark .product_page .thumbs .scroller_bttn { background: #000; }
.theme_dark .thumbs .scroller_bttn svg { fill: #efefef; }

.theme_dark .window_product .spoiler.ready:not(.active)::after {
    background: -webkit-linear-gradient(top, rgba(30,30,30,0), rgba(30,30,30,1));
    background: -moz-linear-gradient(top, rgba(30,30,30,0), rgba(30,30,30,1));
    background: -ms-linear-gradient(top, rgba(30,30,30,0), rgba(30,30,30,1));
    background: -o-linear-gradient(top, rgba(30,30,30,0), rgba(30,30,30,1));
    background: linear-gradient(top, rgba(30,30,30,0), rgba(30,30,30,1));
}

.theme_dark .product_specs dt:not(:last-of-type), .theme_dark  .product_specs dd:not(:last-of-type) { background-image: url(../images/sprite.svg#dots_dark); }
.theme_dark .product .add_favs svg { stroke-width: 0; }
.theme_dark .product .share svg { fill: #fff; }
.theme_dark .product .share:hover svg, .theme_dark .product .share.active svg { fill: #548eff; }

/* cart window */

.theme_dark .window_cart .cart_title { color: #000; }
.theme_dark .window_cart .close_bttn::before { background-image: url(../images/sprite.svg#close_button); }
.theme_dark .cart_top, .theme_dark .order_box { border-color: #444; }
.theme_dark .cart_controls .copy:hover svg, .theme_dark .items_list .buy:hover svg, .theme_dark .items_list .del:hover svg { fill: #efefef; }
.theme_dark .cart_attention, .theme_dark .cart_price { color: #999; }
.theme_dark .cart_price span { color: #efefef; }
.theme_dark .item_card .preloader { background-color: rgba(51,51,51,0.9); }
.theme_dark .order_box .preloader { background-color: #1e1e1e; }
.theme_dark .orderhint b { color: #999; }
.theme_dark .success p { color: #1e1e1e; }
.theme_dark .complete .success p { color: #fff; }

/* orders */

.theme_dark .order { background: #1e1e1e; border-color: #777; }
.theme_dark .order time { background: #bbb; }

/* admin */

.theme_dark .admin_toolbar { background: #1e1e1e; border-color: #666; }
.theme_dark .catalog[data-view=cards] .admin_toolbar { border-color: #fff; }
.theme_dark .admin_controls { background: #1e1e1e; border-color: #444; }

/* registration */

.theme_dark .reg_form { background: #1e1e1e; border-color: #555; }

/* notifications */

.theme_dark .notification { background: rgba(81,81,81,0.9); }

@media screen and (max-width: 30em), screen and (min-width: 55.0625em) and (max-width: 63.9375em) {

    .theme_dark .window_product .product_delivery { background: rgba(255,255,255,0.2); }
    
}

@media screen and (max-width: 30em), screen and (min-width: 50.0625em) and (max-width: 63.9375em) {
    
    .theme_dark .product_page .product_delivery { background: rgba(255,255,255,0.2); }
    
}

@media screen and (max-width: 30.375em) {
    
    .theme_dark .catalog_view .catalog .inner .item_card:nth-child(1):hover,
    .theme_dark .catalog_view .catalog .inner .item_card:nth-child(2):hover {
        box-shadow: -0.0625rem 0 0 #777;
    }
    
}

/* mobile */

@media screen and (max-width: 30.375em) { /* 486 */

    .theme_dark .catalog_view .catalog[data-view=cards]:not(.single_line) .inner, .theme_dark .catalog_view .catalog:not([data-view=cards]) .inner { border-color: #444; }    
    .theme_dark .search_results .catalog.search_products .item_card:first-child { border-bottom: 0.0625rem solid #444; }
    
}

@media screen and (max-width: 63.9375em) {
    
    .theme_dark .mobile_header { background: #000; }
    .theme_dark .mobile_header .logo .speaker { fill: #000; }
    .theme_dark .mobile_header .logo .text { fill: #fdc101; }
    .theme_dark .menu_switch svg { fill: #efefef; }
    .theme_dark .search_switch svg { fill: #efefef; }
    .theme_dark .cart_switch  svg { fill: #efefef; }
    .theme_dark .mobile_header .logo .house { fill: #efefef; }
    .theme_dark .header { background: #1e1e1e; }
    
    .theme_dark .header .messengers .viber .main { fill: #fff; }
    .theme_dark .header .messengers .viber .back { fill: #7360f2; }
    .theme_dark .header .messengers .whatsapp .main { fill: #fff; }
    .theme_dark .header .messengers .whatsapp .back { fill: #23cb62; }
    
    .theme_dark .sortings_switch svg, .theme_dark .filter_switch svg, .theme_dark .view_type > svg,
    .theme_dark .promos svg, .theme_dark .user_box svg, .theme_dark .miniprice_switch svg { fill: #efefef; }
    
    .theme_dark .sortings_switch svg, .theme_dark .filter_switch svg, .theme_dark .view_type > svg, .theme_dark .miniprice_switch svg { opacity: 0.9; }
    
    .theme_dark .catalog_toolbar {
        background: #000;
        border-bottom: 0.0625rem solid #444;
        color: #999;
    }
    
    .theme_dark .sortings li { color: #efefef; }
    .theme_dark .promos, .theme_dark .user_box a, .theme_dark .header .language a, .theme_dark .header .apps a { color: #efefef; }
    
    .theme_dark .catalog_menu .tabs dl:not(.active) dt {
        background: #000;
        border-color: #444;
        color: #ddd;
    }
    
    .theme_dark .catalog_menu a { color: #efefef; }
    .theme_dark .catalog_menu .current > a, .theme_dark .catalog_menu a:hover { background: #444; }
    .theme_dark .catalog_menu .brands { background: none; }
    .theme_dark .catalog_menu .top_ten::after { background: #444; }
    
    .theme_dark .catalog_menu .tabs, .theme_dark.catalog_menu .tabs, .theme_dark .user_box, .theme_dark .address_box { border-color: #444; }
    .theme_dark .header .top_line svg { fill: #efefef; }
    .theme_dark .header .address_box svg { fill: #fb6751; }
    
    .theme_dark .filter:not(:first-child) { border-color: #555; }
    .theme_dark .product_page { background: #000; }
    
    .theme_dark section[role=main] article { background: #1e1e1e; border-color: #555; }
    .theme_dark .content.article { background: #000; }

}

@media screen and (max-width: 80em) {
    
    .theme_dark .sortings ul, .view_type ul {
        background: #1e1e1e;
        border-color: #444;
        color: #efefef;
    }
    
}

/* desktop */

@media screen and (min-width: 64em) {

    .theme_dark .header .bottom_line { background: none; }
    .theme_dark .catalog_switch, .theme_dark .catalog_menu.active .catalog_switch { background: #fdc101; color: #000; }
    .theme_dark .catalog_switch:hover { background: #fdd80b; }
    .theme_dark .catalog_menu .tabs::before { background: transparent; }

    .theme_dark .catalog_menu .tabs, .theme_dark .submenu_inner { background: #1e1e1e; }
    .theme_dark .catalog_menu a, .theme_dark .submenu .submenu_categories a:hover { color: #efefef; }
    .theme_dark .catalog_menu ul > li:hover, .theme_dark .additional_menu .brands a:hover { background: #444; }
    .theme_dark .additional_menu .catalog_menu ul > li:hover { background: none; }
    .theme_dark .top_ten, .theme_dark .additional_menu .catalog_menu .brands { border-color: #555; }
    
    .theme_dark .promos:hover, .theme_dark .user_box > div > a:hover, .theme_dark .cart_switch:hover { background: rgba(255,255,255,0.4); color: #efefef; }
    .theme_dark .promos:not(:hover), .theme_dark .user_box a:not(:hover) { color: #efefef; }
    .theme_dark .promos svg, .theme_dark .user_box svg, .theme_dark .cart_switch > svg { fill: #efefef; }
    .theme_dark .user_menu ul { background: #444; }
    .theme_dark .user_menu .logout { border-color: #444; }
    .theme_dark .user_menu a:hover { color: #efefef; }
    .theme_dark .user_menu a:hover svg { fill: #efefef; }
    
    .theme_dark section[role=main] article, .theme_dark article[role=main], .theme_dark .full_width { background: #1e1e1e; border-color: #555; }
    
    .theme_dark .product_page .spoiler:not(.active)::after {
        background: -webkit-linear-gradient(top, rgba(30,30,30,0), rgba(30,30,30,1));
        background: -moz-linear-gradient(top, rgba(30,30,30,0), rgba(30,30,30,1));
        background: -ms-linear-gradient(top, rgba(30,30,30,0), rgba(30,30,30,1));
        background: -o-linear-gradient(top, rgba(30,30,30,0), rgba(30,30,30,1));
        background: linear-gradient(top, rgba(30,30,30,0), rgba(30,30,30,1));
    }
    
}
