/*
Theme Name: Shopkeeper Child
Theme URI: http://shopkeeper.getbowtied.com/
Description: This is a child theme for Shopkeeper.
Author: Get Bowtied
Author URI: http: //www.getbowtied.com/
Template: shopkeeper
Version: 1.0
*/


/****************************************************************/
/*************** ADD YOUR CUSTOM CSS IN THIS AREA ***************/
/****************************************************************/

/* Типографика */

/* body, p, li, a, label, h1, h2, h3, h4, h5, h6, table, tr, th { font-family: 'Montserrat', sans-serif !important; } */
p { margin-bottom: 1rem; }
/*h1, h2, h3, h4, h5, h6 { font-family: 'Noto Serif', serif !important; }*/
label { text-transform: initial; }
/*.woocommerce-cart .page-title, .woocommerce-checkout .page-title { font-size: 1.75rem !important; margin-bottom: 1rem !important; }*/
.woocommerce .page-title { text-align: left; }
.product-category .woocommerce-loop-category__title { color: #000000; }
.page-title { font-size: 1.75rem !important; margin-bottom: 1rem !important; text-transform: none; }

.strong { font-weight: bold; }
.center { text-align: center; }

/** СЕТКА **/
@media only screen and (min-width: 40.063em) {
	.row {
		padding: 0 20px;
	}
}
@media only screen and (max-device-width: 1024px) and (min-device-width: 768px) and (orientation: landscape) {
	.product_layout_classic .product_content_wrapper .product_infos .product_summary_middle, .product_layout_classic .product_content_wrapper .product_infos .woocommerce-product-details__short-description {
		padding-right: 0 !important;
	}
	.product_layout_classic .product_content_wrapper .product_infos {
		padding-left: 0 !important;
		margin-right: 0 !important;
	}
}
/** ШАПКА **/

.geo-notice {
    background: #73b819;
    color: white;
    font-size: 12px;
    text-align: center;
    padding: .25rem;
    letter-spacing: 1px;
}

.sticky-add2cart {
	position: fixed !important;
	top: 1rem;
	right: 1rem;
	z-index: 3;
}

@media only screen and (min-width: 767px) {
.product_infos .cart .single_add_to_cart_button.sticky-add2cart {
		padding: .5rem 1rem !important;
	}
}
@media only screen and (max-width: 767px) {
	
	.product_infos .cart .single_add_to_cart_button.sticky-add2cart {
		padding: .5rem 1rem !important;
	}
	.product_layout_classic .product_infos form.cart .button.sticky-add2cart {
		padding: .5rem 1rem !important;
		white-space: nowrap;
	}
	.sticky-heading, .sticky-rating { display: none !important; }
	.sticky-price { left: 0; right: initial !important; top: 0 !important; background: rgba(255,255,255,.9);; width: 100%; padding: 1rem !important; }
}

.sticky-price {
	position: fixed !important;
	top: 1rem;
	right: 16rem;
	z-index: 3;
}

.sticky-heading {
	position: fixed !important;
	top: 0;
	left: 0;
	right: 0;
	padding: 1rem 0 0 0;
	background: rgba(255,255,255,.9);
	z-index: 3;
}

.sticky-heading .product_title {
	font-size: 22px !important;
	float: left;
	padding-left: 1rem !important;
}

.sticky-rating {
	position: fixed !important;
	top: .25rem;
	margin-left: 1rem;
	z-index: 4;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
	z-index: initial !important;
}


/* Отступы навигации */
.main-navigation ul li a {
	padding: .5rem .75rem;
}

/* Значки и виджет корзины */
.site-tools ul {
	display: flex;
	flex-direction: row-reverse;
}

.tools_button_icon i {
	font-size: 24px !important;
	margin-top: 4px;
}
.shopping_bag_items_number, .wishlist_items_number {
	position: absolute;
	margin-left: 1rem !important;
	font-size: 12px !important;
	border-radius: 100%;
	background: red;
	font-weight: bold;
	height: 1rem !important;
	width: 1rem;
	line-height: 1rem !important;
	text-align: center !important;
	color: white !important;
}

@media only screen and (max-width: 63.95em) {
	.site-tools ul li {
		margin-left: 2rem !important;
	}
}

/* Доп. меню в шапке 
#site-top-bar #site-navigation-top-bar > ul {
	float: none;
	display: inline-block;
}
*/
/* Оформление номера телефона */
.topbar-phone__link {
	font-weight: bold;
}
.topbar-link {
	flex: 1 0 auto;
	text-align: right;
}

#site-top-bar {
	height: auto !important;
}

.site-top-message {
	margin-right: 0;
	padding: .5rem 0;
	flex: 1 0 auto;
}

.topbar-menu {
	flex: 1 0 auto;
}

.site-top-bar-inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

/* Фикс размера лого на мобильных */
@media only screen and (max-width: 72rem) {
	.site-logo {
/* 		width: 33px; */
	}
}

/* Убираем капс в верхнем меню */
#site-top-bar .topbar-menu .site-navigation-top-bar {
	text-transform: initial;
	font-weight: normal;
	padding: 0;
}
.topbar-menu .main-navigation ul li a {
	text-transform: initial;
	font-weight: normal;
	padding: 0;
	margin: 0 1rem;
}

/* Дополнения в меню */
.sale-menu a {
	color: gold;
	background: black;
}

/** ГЛАВНАЯ **/

.parallax-index p {
	font-size: 1.25rem;
	color: white;
	text-transform: uppercase;
	font-weight: bold;
	text-align: center;
}

.parallax-heading {
	font-size: 2rem !important;
}

.parallax-index .wpb_text_column {
	padding-bottom: 2rem;
}

@media screen and (min-width: 90em) {
	.columns-4 .category_list .category_item {
		height: 23rem;
	}
}
@media only screen and (max-width: 767px) {
	.features-main {
		justify-content: start !important;
	}
	.penny-selector {
		white-space: nowrap;
		overflow: hidden;
		overflow-x: scroll;
		flex-wrap: nowrap;
		width: auto;
		margin-bottom: 35px;
	}
	.penny-selector .wpb_column {
		width: 50vw;
		-ms-flex: 0 0 50vw;
		flex: 0 0 50vw;
		display: inline-block;
		float: none;
		white-space: normal;
	}
}

/** ТОВАР **/

/* @media screen and (min-width: 64.0625em) {
	.woocommerce-product-gallery ol.flex-control-thumbs {
		max-width: 64px;
	}
} */

/* Хлебные */
.product_layout_classic .product_content_wrapper .product_infos .product_summary_top { margin-bottom: 1rem; }

/* Рейтинг */
/*.product_layout_classic .product_infos .product_summary_top .woocommerce_review_link_hover:before {
	border-top-color: transparent;
	border-bottom-color: #1b1b1d;
	top: -8px;
}
.product_layout_classic .product_infos .product_summary_top .woocommerce_review_link_hover {
	top: 1rem;
}*/
/* .product_summary_top .woocommerce-product-rating {
	top: 8.5rem;
} */
.woocommerce_review_link_hover { display: none; }
.woocommerce-product-rating { float: right; }
.woocommerce-review-link { display: block; }
.woocommerce div.product .woocommerce-product-rating { margin-bottom: 0; }
.woocommerce .woocommerce-product-rating { line-height: inherit; }

/* Цена */
p.price { margin-bottom: .25rem; }
.product_infos ins {
	/*background-color: #ffecb7 !important;*/
	background-color: rgba(255, 0, 0, 0.1) !important;
	padding: 0 .5rem;
}
.woocommerce-Price-amount {
	font-weight: 700;
	color: #606060;
}
del .woocommerce-Price-amount {
	color: rgba(84,84,84,0.55);
	font-weight: normal;
}
/* Вы экономите */
.product_infos .economy { font-size: .8rem; margin-bottom: 1.5rem; }

/* Заказ в 1 клик */
.oneclick {
	display: inline-block;
	margin-left: .5rem;
}
.oneclick a {
	font-size: .9rem;
	border: 1px solid #73b819;
	padding: 0.8rem 1.25rem;
	display: inline-block;
}
/*.oneclick a:before { content: "\f061"; margin-right: 7px; font-family: FontAwesome; font-style: normal; font-weight: normal; line-height: 1; -webkit-font-smoothing: antialiased; }*/

/* Прячем количество */
.product .quantity { display: none !important; }

/* Преимущества */
.features-list {
	margin: 0 1rem 1rem 0;
	font-size: 14px;
	line-height: 24px;
}
.features-list-item { float: left; width: 50%; }
.features-list-item img { float: left; margin: 0 1rem 0 0; }
.features-list-item p { float: left; }

/* 
.feature:before { margin-right: 7px; font-family: FontAwesome; font-style: normal; font-weight: normal; line-height: 1; -webkit-font-smoothing: antialiased; }
.feature-delivery:before { content: "\f0d1"; }
.feature-guarantee:before { content: "\f006"; }
.feature-gender:before { content: "\f2be"; }
.feature-card:before { content: "\f09d"; }
.feature-bag:before { content: "\f290"; }
*/
.feature svg {
	margin-right: 5px;
	max-width: 13px;
}

.shop-features {
	display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
	margin-bottom: 1rem;
}

/* Инфо о доставке */

    .geo-block {
        font-size: 14px;
        line-height: 24px;
        border: 1px solid rgba(0,0,0,.1);
        border-radius: .25rem;
        padding: 2rem;
		margin-bottom: 1rem;
		opacity: 0;
		transition: opacity 300ms ease 0s;
    }
    .geo-block__heading {
        margin-bottom: .5rem;
    }
    .geo-block__content__method {
        font-style: italic;
    }
    .geo-block__content__spinner {
        display: inline-block;
        width: 1rem;
        height: 1rem;
        border: 3px solid rgba(0, 0, 0, .1);
        border-radius: 50%;
        border-top-color: #000000;
        animation: spin 1s ease-in-out infinite;
        -webkit-animation: spin 1s ease-in-out infinite;
    }

    @keyframes spin {
        to {
            -webkit-transform: rotate(360deg);
        }
    }

    @-webkit-keyframes spin {
        to {
            -webkit-transform: rotate(360deg);
        }
    }

/* Нашли дешевле? 
.feature-cheaper:before { content: "\f295"; }
*/
/* Отступ похожих товаров */
.product_layout_classic .single_product_summary_upsell + .single_product_summary_related .related h2 {
	margin-top: 2rem;
}

/*** КОРЗИНА ***/

/* Удалить подытог и лишние границы */
.woocommerce .cart-collaterals .cart_totals .cart-subtotal { display: none; }
.woocommerce .cart-collaterals .cart_totals .order-total th,
.woocommerce .cart-collaterals .cart_totals .order-total td { border: none; }

.shop_table { margin-bottom: 1rem !important; }

/* Кнопка купона */
.woocommerce table.cart input[type=submit] {
	border: 1px solid #73b819 !important;
	color: #73b819 !important;
	background-color: #ffffff !important;
}

/*** ЧЕКАУТ ***/
.shopkeeper_checkout_coupon, .shopkeeper_checkout_login {
	font-size: .9rem;
	margin: 0 0 .5rem 0;
	font-weight: normal;
	line-height: normal;
}

.shopkeeper_checkout_coupon a.showcoupon, .shopkeeper_checkout_coupon a.showlogin, .shopkeeper_checkout_login a.showcoupon, .shopkeeper_checkout_login a.showlogin {
	text-transform: none; 
	font-weight: normal; 
	font-size: inherit; 
}

/* Отступ формы */
form.woocommerce-checkout { margin-top: 0; }

/* Фикс растягивания ячеек таблицы в чекауте из-за длинного слова купона */
.shop_table_responsive .cart-discount th,
.woocommerce-checkout-review-order-table .cart-discount th { word-break: break-all; }

/* Фикс переноса текста в две строки в способах доставки */
.woocommerce ul#shipping_method li { width: 200px; }

ul.wc_payment_methods.payment_methods.methods li label { text-transform: none; }

.woocommerce-billing-fields__field-wrapper input, #billing_country_field .select2-selection__rendered { font-weight: normal; }

/* Фикс размера шрифта на карте ПВЗ */
ymaps address {
	font-size: inherit;
}

/* Скрытие поля индекса (через функции не скрывается, так как плагины доставки его принудительно запрашивают) */
#billing_postcode_field {
	display: none !important;
}

/* Кнопка выбора ПВЗ Озон */
button.od-choose-point {
    padding: .25rem .5rem;
    background: #73b819;
    cursor: pointer;
}

/*** КАТЕГОРИЯ ***/

/* Шапка категорий */
.shop_header { margin-bottom: 1rem; }
.tob_bar_shop { margin-bottom: .5rem; }
.category_name { color: #000000; }

@media only screen and (min-width: 767px) {
	.content-area.shop-page, .single-product .content-area, .woocommerce-cart .content-area, .woocommerce-checkout .content-area, .page .content-area {
		padding-top: 2rem !important;
/* 		padding-top: calc(127px + 43px) !important; */
	}
}
@media only screen and (max-width: 767px) {
	.content-area.shop-page, .single-product .content-area, .woocommerce-cart .content-area, .woocommerce-checkout .content-area, .page .content-area {
		padding-top: 2rem !important;
	}
}

/* Фильтры */
.prdctfltr_customize_block.prdctfltr_customize {
	border-radius: 100%;
	padding: 0;
}
.pf_adoptive_hide {
	display: none !important;
}
.prdctfltr_customize_block .prdctfltr_customize_color {
	width: 2rem;
	height: 2rem;
	border-radius: 100%;
}
.shop_sidebar label { font-weight: normal; }

/* Отступ блока между заголовокм категории и листингом */
.catalog_top { padding: 0; }

/* Скрыть сообщение об окончании товаров в категории */
.getbowtied_ajax_load_button.finished { display: none !important; }

/* Фикс наклеек товаров на мобильных */
.woocommerce #products-grid span.onsale, .woocommerce-page #products-grid span.onsale, .product-sale .onsale {
	white-space: nowrap;
/* 	background-color: black !important; */
/* 	color: gold; */
}
/* .woocommerce #products-grid span.onsale:after, .product-sale .onsale:after {
	content: "Black Friday";
	text-transform: uppercase;
	color: gold;
	background-color: black;
} */

/*** ВИДЖЕТЫ ***/
.widget ul li a { text-transform: none; }
.widget a, .widget.widget_recent_entries ul li a { font-weight: normal; }

/*** ТРЕКИНГ ***/
.order-tracking-code span {
	font-size: 1rem;
}
.order-info-myaccount {
	margin: 0;
	padding: 1rem;
}
/*******/
.features-main {
	display: flex;
	align-items: center;
	justify-content: center;
}
.features-main_icon {
	font-size: 3rem;
	line-height: 1rem;
	margin-right: 1rem;
}
.features-main_text {

}

.pop-up_info {
/*    color: #fbfbfb;
	font-size: 30px;
	padding: 30px;
	min-height: 50px;
	border: 2px solid #6dab3c;
*/}

.pop-up_info:hover {
	color: #6dab3c;
	background-color: #fff;
}
.cat-link a {
	padding: 30px 60px !important;
	font-size: 18px !important;
}
.category-custom{
	color: #545454;
	text-align: center;
}

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

/* Знак рубля */
.woocommerce-Price-currencySymbol { font-family: "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif !important; }
/* В корзину */
.add_to_cart_button { background-color: rgba(255, 0, 0, 0.9) !important; min-width: 110px !important;}
.add_to_cart_button:hover { background-color: rgba(255, 0, 0, 0.7) !important; } 
/* Отступы в футере */
.widget { margin-bottom: 1.5rem; }
.widget li { font-size: .8rem; }
.site-footer-widget-area { margin-bottom: .5rem; }
.copyright_text { margin: 0 !important; }
#site-footer { 
	padding: 2rem 0 .5rem 0; 
	background: #f4f4f4;
}
#site-footer a, #site-footer .widget-title, .footer-navigation-wrapper ul li:after {
    color: #000;
}
.widget > ul > li:first-child, .woocommerce .widget_layered_nav > ul > li:first-child {
    padding-top: 0px;
}
.widget.widget_recent_entries ul li:first-child:before {
    top: 0px;
}
.widget p { margin-bottom: .5rem; }
.woocommerce .widget_layered_nav ul li, .widget ul li { margin-bottom: .5rem; }
.woocommerce form .form-row .optional { display: none; }
