/*
Theme Name:   	Techmarket Child
Theme URI:    	https://themeforest.net/item/techmarket-multidemo-electronics-store-woocommerce-theme/20241155
Author:         MadrasThemes
Author URI:     https://madrasthemes.com/
Description:  	This is the child theme for the techmarket theme
Template:     	techmarket
Version:      	1.4.3
License:      	GNU General Public License v2 or later
License URI:  	http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  	techmarket-child
Tags:         	e-commerce, two-columns, left-sidebar, right-sidebar, custom-colors, custom-menu, featured-images, full-width-template, threaded-comments, rtl-language-support, footer-widgets, sticky-post, theme-options
*/

/* 
 * Стили для фильтра товаров по наличию 
 * @author Alex Kovalev
 * */

.wc-stock-status-filter {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

.wc-stock-status-filter li {
    margin: 0 10px;
}

.wc-stock-status-filter li a {
    text-decoration: none;
    padding: 5px 10px;
    border-radius: 3px;
}

.wc-stock-status-filter li.chosen a {
    background-color: #a46497; /* WooCommerce purple */
    color: white;
}

.wc-stock-status-filter li.instock.chosen a {
    background-color: #7ad03a; /* WooCommerce "в наличии" зеленый */
}

.wc-stock-status-filter li.backorder.chosen a {
    background-color: #f8b742; /* WooCommerce "предзаказ" оранжевый */
}


.wishlist-title-container {
	display:none!important;
}

@media screen and (max-width: 767px){
	.button_fixed {
		position: fixed;
		bottom: 95px;
		left: 50%;
		transform: translate(-50%, 0);
		width: 75% !important;
		z-index: 999;
		background-color: #0063d1 !important;
		color: #fff !important;
		padding-left: 20px !important;
		padding-right: 20px !important;
	}
	
	.woocommerce-product-details__short-description {
		display:none!important;
	}
	.single-product .single-product-wrapper {
    margin-bottom: 32px!important;
}
	.single-product .single-product-wrapper .product-images-wrapper .techmarket-single-product-gallery .techmarket-single-product-gallery-images {
        padding: 0 64px!important;
	}
}

.site-header-cart .cart-contents .amount .price-label {
    width: 100px;
}
@media screen and (min-width: 1200px) {
#billing_city_field {
	max-width:50%;
	flex: 0 0 50%;
	
}
}

@media screen and (min-width: 1200px) {
#billing_address_1_field {
	max-width:50%;
	flex: 0 0 50%;
	
}
#billing_phone_field {
	max-width:50%;
	flex: 0 0 50%;
}
#billing_postcode_field {
	max-width:50%;
	flex: 0 0 50%;
}
	#billing_email_field {
		max-width:50%;
	flex: 0 0 50%;
}
}

#search-404 button {
	color:#ffffff;
	margin-top:15px;
}

@media (max-width:33.9em){
	.single-product .product-actions form.cart .single_add_to_cart_button{
		padding-left:40px!important;
		padding-right:40px!important;
	}
}

@media (min-width: 1200px) and (max-width: 1699px) {
	.site-header.header-v1 .primary-navigation {
		flex: 0 0 65%!important;
    	max-width: 65%!important;
	}
	
	
.site-header.header-v1 .secondary-navigation {
    display: inline!important;
	max-width:15%!important;

}
}

p.comment-form-email label span.required {
    display:none!important;
}

p#billing_country_field {
	display:none!important;
}

.alx-button-analogues {
	padding: 10px 15px !important;
    margin-bottom: 10px !important;
    display: block !important;
    text-align: center !important;
    width: 100% !important;
	color: #0063d1 !important;
    background-color: #ffffff !important;
	border-radius: 12px!important;
	border-color: #0063d1!important;
	border: 2px solid transparent;
}

.button.pisol_single_buy_now.pisol_buy_now_button.pisol_type_simple {
    border-radius: 12px!important;
	border-color: #0063d1!important;
	border: 2px solid transparent;
}

bdi {
white-space: nowrap;
}



ul#shipping_method>li label {
    display: inline!important;
}

div#wc-esl-terminals-wrap-billing > button {
	color:#FFF!important;
}

.ya-pay-button_width_max {
    min-width: 200px!important;
}

.ya-pay-button_type_checkout {
	width:100%!important;
}

div.menu-marketplaces-container {
	font-size: x-large;
	text-decoration: underline;
	font-weight: bold;
}

li#menu-item-19473 {
    color: #005bff;
}

li#menu-item-19474 {
    color: #cb11ab;
}

li#menu-item-19475 {
    color: #fc0;
}

li#menu-item-19476 {
    color: #f60;
}

.products .product .woocommerce-loop-product__title, .products .product h2, .products .product h3 {
    max-height: 63px!important;
}

.wc-edostavka-method-additional-info{
	padding:0!important;
}

button.wc-edostavka-choose-delivery-point {
	background-color: #0063d1 !important;
	border: 1px solid #0063d1 !important;
}

.select2-container .select2-selection--single .select2-selection__rendered {
    line-height: 28px!important;
}


@media (max-width: 767px) {
	.single-product .single-product-meta .brand, .single-product .single-product-meta .cat-and-sku {
		margin-bottom: 0px!important;
		padding: 2px 8px 2px 0px!important;
	}
	.single-product .single-product-meta {
    	flex-direction: row!important;
	}
	.single-product .single-product-meta {
		padding-bottom: 0px!important;
		margin-bottom: 0px!important;
	}
	.single-product .single-product-header {
		margin-bottom: 0px!important;
		padding-bottom: 0px!important;
	}
	.single-product .rating-and-sharing-wrapper {
		margin: 4px 0px!important;
	}
	.single-product .product-actions form.cart .quantity {
    	display: none!important;
	}
	.features-list {
		display:none!important;
	}
	.woocommerce-form-login-toggle {
		display:none!important;
	}
	
	.woocommerce-info {
		padding: 4px!important;
		margin-bottom: 16px!important;
	}
	
	.woocommerce-privacy-policy-text{
		    font-size: 0.8rem!important;
	}
	td.product-name img {
		display:block!important; 
	}
	table.cart td.product-name .cart-item-product-detail {
		margin-top:24px;
		margin-right:16px;
	}
	table.cart tbody tr td:last-child {
	
	}
	table.cart a.remove {
		right:0%!important;
		top:17%!important;
	}
	.cart-wrapper {
		margin-bottom:0px!important;
	}
	form.woocommerce-cart-form {
		margin-bottom:0px;
	}
	
	/* убираем доп поля на мобилке, которые не обязательные */
	.woocommerce-additional-fields {display:none!important;}
	#billing_email_field {display:none!important;}
	th.product-price {display:none!important;}
	td.product-price {display:none!important;}
	th.product-name img {width:98px!important;}
	/*div.media-body {width:80%!important;}*/
	tr.cart-subtotal th {display:none!important;}
	tr.order-total th {display:none!important;}
	td.product-quantity::before {display:none!important;}
	td.product-subtotal::before {display:none!important;}
	div.quantity { position: absolute!important;left: 5%!important; }
	
	#coupon_code { margin: 1.25em 0; }
}
/* Делаеме крпку синей на карточке товара*/
.single-product .single_add_to_cart_button {
	background-color: #0063d1;
	color:#FFFFFF!important;
	
}

.single-product .single_add_to_cart_button:hover {
	background-color: #0275d8;
	color:#FFFFFF!important;
	border-color: #0275d8;
	
}

.products .product .added_to_cart, .products .product .button {
	background-color: #0063d1;
	color:#FFFFFF!important;
	border-radius:12px!important;
	
}

div.price_slider_amount > input {
	padding:0px!important;
	margin:9px!important;
}

div.price_slider_amount > button {
	padding: 0 9px!important;
}

#secondary .widget.widget_price_filter .price_slider_amount input {
	width: 42%!important;
}

#secondary .widget.widget_techmarket_products_filter>span.widget-title {
	padding: 13.0016px 0!important;
}

#secondary .widget.widget_wc_stock_status_filter>span.widget-title {
	padding: 13.0016px 0!important;
}

@media (min-width: 768px) and (max-width: 1199px) {
	#secondary .widget.widget_techmarket_products_filter>span.widget-title {
	padding: 18px 0!important;
}
	
	#secondary .widget.widget_wc_stock_status_filter>span.widget-title {
		padding: 18px 0!important;
	}
	
}

p.message > a {
	color:#FFF!important;
}


.product-actions-wrapper > .techmarket-stock-availability {
	display:none!important;
}

.product-loop-categories .product-category a {
	min-height:100%!important;
}

/* убрал короткое описание из общего списка товаров */
.product-info > .woocommerce-product-details__short-description {
	display:none!important;
}


@media (min-width: 576px) and (max-width: 1199px) { 
	.products .list-view-large.product .media-body .product-info .woocommerce-loop-product__title {
		max-height: 100% !important;
	}
}

@media (min-width: 576px) {
	.products .list-view-large.product .media-body .product-info .woocommerce-loop-product__title {
		max-height: 100% !important;
	}
	}

@media (max-width: 1199px) {
    .products .list-view-large.product .media-body .product-info .woocommerce-loop-product__title 
 {
        height: auto;
        max-height: 100% !important;
    }
}

.rating-and-sharing-wrapper {
	display:block!important;
}

.rating-and-sharing-wrapper>div+div {
    margin-top: 16px;
	margin-left:0!important;
}

.single-product .single-product-meta .product-label {
	text-align:left!important;
}

