/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
*/

.catalog-title {
	margin-bottom: 10px; 
	display: flex;
	justify-content: center;
}

.catalog-title .brend, .catalog-title .price .price-value, .catalog-title .price .rouble, .catalog-title .price .price-item .cent {
    color: #000;
    font-size: 28px;
    font-weight: 500;
    font-family: 'Montserrat', sans-serif;
	display: inline-block;
	
}
.catalog-title .price .rouble {
	display: block!important;
	margin-left: 5px;
}
.catalog-title .price .price-item .cent {
	vertical-align: top;
    font-size: 14px;
    line-height: 32px;
	margin-left: -4px;
	
}

.catalog-title .price {
	position: relative;
	margin-left: 15px;
    padding-left: 15px;
	display: flex;
	visibility: visible;
}

.catalog-title .price::before {
	display: inline-block;
    content: "";
    /* border-left: 1px solid #d1d1d1; */
    border-left: 1px solid #000;
    width: 0;
    height: 28px;
    position: absolute;
    left: 1px;
	transform: translate(0, 10px);
}

ul.products-list {
	display: flex;
	justify-content: center;
	margin-bottom: 50px;
}

.products-list .pencil-variations {
	width: 100px;
	text-align: center;
	position: relative;
}

.products-list img {
	height: 288px;
	width: auto;
	margin-bottom: 12px;
	z-index: 4;
	position: relative;
}
.products-list .sku {
    margin-bottom: 6px;
    line-height: 27px;
}
.storage-item span {
	font-size: 9px;
}

.products-list .pencil-variations .big-info {
    display: none;
    position: absolute;
    box-shadow: 0 0 27px rgb(0 0 0 / 20%);
    text-align: left;
    left: 0px;
    top: 55px;
    border-radius: 3px;
}

.products-list .pencil-variations:hover .big-info{
	display: flex;
	text-align: center;
	z-index: 5;
}
.products-list .pencil-variations:hover img {
	z-index: 6;
}

.products-list .pencil-variations:nth-of-type(-n+10) .big-info {
	left: 8px;
}

.products-list .pencil-variations:nth-of-type(n+11) .big-info {
    width: 223px !important;
    left: -151px !important;
    margin-right: 0 !important;
}
.products-list .pencil-hover {
	padding: 24px 16px 0 48px;
	box-sizing: border-box;
    font-family: 'Open Sans', sans-serif;
    cursor: default;
    background-color: white;
    width: 223px;
    height: 255px;
    border-radius: 3px;
    letter-spacing: normal;
}

.big-info .price {
	font-family: 'Montserrat', sans-serif;
    box-sizing: border-box;
    font-size: 18px;
	padding: 0 0 0 8px;
    text-align: center;
    color: #000;
    display: table;
    margin: 0 auto;
}
.big-info .price .content {
    border-bottom: solid 3px #000;
}
.big-info .price .rouble {
	display: inline-block!important;
}
.big-info .price .high {
    font-size: 8px;
    vertical-align: super;
	margin-left: -3px;
}
.big-info .helper {
	margin: 6px 0 8px 10px;
    width: 145px;
    font-size: 14px;
    line-height: 16px;
}
.big-info .free-in-stock {
	margin-top: 10px;
}
.big-info .title {
	margin-top: 10px;
    margin-bottom: 10px;
}

.big-info .add_to_cart_button {
	box-sizing: border-box;
    -webkit-transition: all 255ms ease-in-out;
    -moz-transition: all 255ms ease-in-out;
    -ms-transition: all 255ms ease-in-out;
    -o-transition: all 255ms ease-in-out;
    transition: all 255ms ease-in-out;
    margin: 0 auto;
    font-size: 14px;
    line-height: 24px;
    background-color: #000;
    width: 120px;
    text-align: center;
    cursor: pointer;
    color: white;
    border-radius: 3px;
	margin-top: 20px;
	text-transform: none;
    font-weight: 100;
}

.product-image-wrap {
	text-align: center;
}
.woo-variation-gallery-wrapper .woo-variation-gallery-slider img, .product-image-wrap img {
    max-height: 400px;
	width: auto;
}
.woo-variation-gallery-wrapper .wvg-gallery-thumbnail-image img, .product-image-thumbnail img {
	height: 60px;
	width: auto;
}

.product-grid-item .product-image-link img, .product-grid-item .hover-img img {
	max-height: 200px;
	width: auto!important;
}

.woo-variation-gallery-thumbnail-slider, .product-image-summary .owl-carousel {
	justify-content: center;
    display: flex!important;
    margin-top: 40px;
}
.wvg-gallery-thumbnail-image, .product-image-summary .product-image-thumbnail {
	width: 70px!important;
    padding-bottom: 10px;
	text-align: center;
}
.wvg-gallery-thumbnail-image.current-thumbnail, .product-image-thumbnail.active-thumb {
    border-bottom: 3px solid black;

}

.product_title.wd-entities-title {
	margin: 0 auto;
}
.progress-container {
	width: 100%;height: 3px;position: fixed;top: 0;z-index: 999;
}

.catalog__mobile ul {
	list-style: none;
	    padding-right: var(--li-pl);
}
.catalog__mobile ul li a {
	display: block;
	border: 1px solid grey;
	width: 100%;
	padding: 15px 20px;
}
.catalog__mobile ul li a:hover {
	background-color: black;
	color: white;
}


body:not(.single-product).elementor-page-65042 .whb-overcontent {padding-top: 105px!important}

.category-list ul.product-categories  {
	padding: 0;
	margin: 0;
    height: calc(100vh - 105px);
    display: flex;
    flex-direction: column;
}

.category-list ul.product-categories > li {
    display: flex;
    flex-grow: 1;
    flex-shrink: 0;
    flex-basis: 5em;
	margin-bottom: 0;
}

.category-list ul.product-categories li:nth-child(odd) {
	background: #000000;
}
.category-list ul.product-categories li:nth-child(even) {
	background: #231f20;
}

.category-list ul.product-categories li a {
	font-size: 36px;
	font-family: var(--wd-title-font);
    font-weight: var(--wd-title-font-weight);
	color: white;
	width: 100%;
	display: flex;
    align-items: center;
    justify-content: center;
}

.elementor.elementor-65042 {
	margin-bottom: 0!important;
}

.elementor-65042 .elementor-element.elementor-element-e6d0153 {
	width: 100vw;
    left: calc( 50% - 50vw);
}

.category-list ul.product-categories li a:hover {
	color:transparent;
	background: linear-gradient(to right,#ee0979, #ff6a00);
	-webkit-background-clip: text;
	background-clip: text;
	transition: .3s ease;
}

@media screen and (max-width: 480px) {
	.category-list ul.product-categories li a {
		font-size: 26px;
	}
	body:not(.single-product).elementor-page-65042 .whb-overcontent {padding-top: 0!important}
	.category-list ul.product-categories  {height: calc(100vh - 60px); }
}

.single-product .woocommerce-variation-availability, .single-product .woocommerce-variation-availability + p, .single-product .woocommerce-variation-availability p.stock {
	font-size: 16px;
}

.variations_form .woocommerce-variation-availability p.stock {
	    vertical-align: baseline;
}
.quantity-text-min-caption {
	padding: 15px 0;
}
.cart div.quantity input[type="number"] {
    border: var(--wd-form-brd-width) solid var(--wd-form-brd-color);
    border-left: none;
    border-right: none;
    font-size: 20px;
    font-weight: 500;
    font-family: 'Montserrat';
	color: black;
    background: white;
	    width: 60%;
}
div.quantity input[type="button"], div.quantity input[type="number"] {
	height: 49px;
}
.product-image-summary .single_add_to_cart_button {
	margin: 0;
    width: 100%;
    padding: 15px;
}
.product-image-summary div.quantity {
	margin: 0;
    width: 100%;
}

.wcpa_type_paragraph {
	    justify-content: space-between;
}
.nadbavka_label_parent {
	visibility: hidden!important;
	position: absolute!important;
}
#post-9251 .elementor iframe {
	height: 100vh;
}

.term-464 .product {
	text-align: center;
}

.term-464 .products-list img {
	height: auto;
}

.term-464 .products-list .pencil-variations {
	width: 86px;
	min-width: 86px;
}
.term-464 ul.products-list {
	display: flex;
	flex-wrap: nowrap;
	gap: 50px;
	overflow-x: auto;
	padding-bottom: 15px;
	justify-content: flex-start;
}

.term-464 ul.products-list.is-centered,
.term-521 ul.products-list.is-centered {
	justify-content: center !important;
}

.term-464 .catalog-title {
	margin-bottom: 30px;
}
@media screen and (max-width: 480px) {
	.term-464 .products-list .pencil-variations {
		width: 56px;
		min-width: 56px;
	}
}
@media screen and (max-width: 320px) {
	.term-464 .products-list .pencil-variations {
		width: 48px;
		min-width: 48px;
	}
}
.term-464 .products-list::-webkit-scrollbar {
    height: 6px;
    background-color: #f0f0f0;
    border-radius: 30px;
}
.term-464 .products-list::-webkit-scrollbar-thumb {
    background: #adacac;
    border-radius: 30px;
}




.term-521 .product {
	text-align: center;
}

.term-521 .products-list img {
	height: auto;
}

.term-521 .products-list .pencil-variations {
	width: 86px;
	min-width: 86px;
}
.term-521 ul.products-list {
	display: flex;
	flex-wrap: nowrap;
	gap: 50px;
	overflow-x: auto;
	padding-bottom: 15px;
	justify-content: flex-start;
}

.term-521 .catalog-title {
	margin-bottom: 30px;
}
@media screen and (max-width: 480px) {
	.term-521 .products-list .pencil-variations {
		width: 56px;
		min-width: 56px;
	}
}
@media screen and (max-width: 320px) {
	.term-521 .products-list .pencil-variations {
		width: 48px;
		min-width: 48px;
	}
}
.term-521 .products-list::-webkit-scrollbar {
    height: 6px;
    background-color: #f0f0f0;
    border-radius: 30px;
}
.term-521 .products-list::-webkit-scrollbar-thumb {
    background: #adacac;
    border-radius: 30px;
}



.swatch-on-single.swatch-with-bg {
  width:40px;
  height:40px;
}
/* Заголовок товара: центрируем и убираем нижний отступ, чтобы селектор цвета был ближе */
.single-product .product_title.wd-entities-title {
	margin: 1px auto 15px !important;
	padding-bottom: 0 !important;
}


/* Селектор цвета над изображением товара (под заголовком), выравнен по центру */
.wd-color-swatches-above {
	display: block !important;
	width: 100% !important;
	margin: 0 0 25px !important;
	padding-bottom: 15px !important;
	text-align: center !important;
	clear: both;
	border-bottom: 1px solid #e1e1e1;
}


.wd-color-swatches-above .swatches-select,
.wd-color-swatches-above .swatches-on-single {
	display: inline-flex !important;
	flex-wrap: wrap;
	justify-content: center !important;
	align-items: center;
	gap: 10px;
	width: auto !important;
	max-width: 100%;
	margin: 0 auto !important;
	padding: 0 !important;
	float: none !important;
	text-align: center;
	vertical-align: top;
}
.wd-color-swatches-above .swatches-select > div,
.wd-color-swatches-above .wd-swatch {
	margin: 0 !important;
	float: none !important;
	display: inline-block;
}

/* Скрываем перенесённую строку swatches цвета в форме (там остаётся скрытый select для логики вариаций) */
.variations_form table.variations tr.wd-row-color-moved {
	display: none;
}

.custom-price-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin-bottom: 8px;
  padding: 5px 0;
}

.custom-price-title {
  font-size: 22px;
  font-weight: 300;
  color: #333;
  margin-bottom: 8px;
  text-align: center;
}

.custom-price-value-wrap {
  font-size: 24px;
  font-weight: 700;
  color: #000;
  text-align: center;
}

.custom-stock-order-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  margin-bottom: 8px;
  padding: 5px 0;
  gap: 20px;
}

.custom-stock-block,
.custom-order-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
}

.custom-stock-title,
.custom-order-title {
  font-size: 22px;
  font-weight: 300;
  color: #333;
  margin-bottom: 8px;
  text-align: center;
}

.custom-stock-value {
  font-size: 24px;
  font-weight: 700;
  color: #000;
  text-align: center;
  height: 49px;
  line-height: 49px;
}

.custom-quantity-placeholder .quantity {
  margin: 0 auto;
}

.custom-min-order-block {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-bottom: 8px;
  padding: 5px 0;
}

.custom-min-order-text {
  font-size: 12px;
  font-weight: 300;
  color: #333;
  text-align: center;
}

/* Заголовок "Описание" слева — как вкладка */
.product-description-heading {
	font-family: var(--wd-title-font);
	font-size: 16px;
	font-weight: 600;
	line-height: 1.4;
	color: #333;
	padding: 0 20px 12px;
	margin: 0 0 15px;
	display: inline-block;
	background: transparent;
	border-bottom: 2px solid #333;
}

/* Описание товара в левой колонке (вместо фото) */
.product-images-inner {
	padding: 0 15px 30px;
	font-size: 15px;
	line-height: 1.7;
}
.product-images-inner img {
	max-width: 100%;
	height: auto;
}

/* Фото товара внутри вкладки */
.woocommerce-product-gallery__image img {
	max-height: 500px;
	width: auto;
}

.whb-main-header .container {
    margin-right: auto;
    margin-left: auto;
}

.container {
    max-width: 1300px !important;
}

/* Отменяем uppercase для названий табов товара */
.woocommerce-tabs .wc-tabs li a,
.wc-tabs li a {
    text-transform: none !important;
}

.whb-main-header .whb-flex-row.whb-header-bottom-inner {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
    justify-content: space-between;
}

/* Скрыть SKU и категорию на странице товара */
.product_meta .sku_wrapper,
.product_meta .posted_in {
    display: none !important;
}

/* Горизонтальное расположение продуктов на странице категории */
.products-horizontal-row {
	display: block;
}

.products-horizontal-row.is-horizontal {
	display: flex;
	flex-wrap: nowrap;
	gap: 50px;
	justify-content: center;
	overflow-x: auto;
	padding-bottom: 15px;
}

.products-horizontal-row.is-horizontal .product {
	flex: 0 0 auto;
	min-width: 0;
}


