/*
Theme Name: enixpro-child
Author: Denis Borisov
Author URI: https://de-bor.ru
Template: enixpro
Version: 20.0
*/

article {
    width: 100% !important;
    float: none !important;
    position: relative;
}

.woocommerce .button.alt,
.woocommerce ul.products li.product .button {
	font-family: 'Inter', sans-serif;
	background: white;
	box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.1);
	transition: opacity .3s ease;
	border-radius: 0 0 10px 10px;
	min-height: 46px;
	transition: all 0.2s ease-out;
	font-size: 16px;
	display: flex;
  align-items: center;
  justify-content: center;
}
.woocommerce .button.alt {
	min-height: 44px;
	border-radius: 10px;
}

.woocommerce #respond input#submit.alt:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover,
.woocommerce ul.products li.product .button:hover {
	background: var(--main-color);
	color: white;
	filter: brightness(90%);
}

.return-to-shop .button.wc-backward {
	background: var(--main-color);
	color: white;
}
.return-to-shop .button.wc-backward:hover {
	background: var(--main-color);
	color: white;
	filter: brightness(90%);
}

.woocommerce .input-text {
	border: none;
	border-radius: 10px;
	min-height: 44px;
	min-width: 80px;
	background: #ebf2f6;
	font-size: 16px;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea {
	padding: 10px 20px;
}

.woocommerce ul#shipping_method li {
	margin: 0;
}

.woocommerce div.product .product_title {
	margin-top: 10px;
}

.product_title {
    text-align: center;
    margin-bottom: 10px;
    font-size: 32px;
    font-family: 'Manrope', serif;;
}

.woocommerce-LoopProduct-link .woocommerce-Price-amount {
	font-size: 18px;
	color: white;
}

.woocommerce ul.products li.product .woocommerce-loop-category__title, 
.woocommerce ul.products li.product .woocommerce-loop-product__title, 
.woocommerce ul.products li.product h3 {
display: flex;
justify-content: center;
align-items: center;
text-align: center;
min-height: 80px;
padding: .4em .4em;
margin: 0;
font-size: .8em;
}

.woocommerce ul.products li.product .woocommerce-loop-category__title {
	min-height: 56px;
}

.woocommerce-tabs.wc-tabs-wrapper .entry-content {
	font-size: 18px;
}

.wrapper .container .container {
	padding: 0;
}


.summary .woocommerce-Price-amount {
	color: var(--main-color);
	font-size: 28px;
}

.woocommerce-tabs>.tabs {
	display: none;
}

.woocommerce div.product .woocommerce-tabs .panel {
	display: block !important;
}
.woocommerce div.product .woocommerce-tabs .panel p {
	font-size: 16px;
	margin-bottom: 10px;
}

#tab-description h2:nth-child(1), .woocommerce-Tabs-panel h2:nth-child(1) {
	font-size: 24px;
	margin-top: 20px;
	margin-bottom: 20px;
}

#tab-description h3 {
	margin-top: 16px;
}

#tab-description>ul li,
#tab-description>ol li {
	padding: 4px 8px;
	font-size: 16px;
}

#tab-description>ul li:nth-child(even),
#tab-description>ol li:nth-child(even) {
	border-radius: 4px;
	background: #eaeaea;
}

.woocommerce ul.products li.product a img {
	border-radius: 10px 10px 0 0;
	margin: 0;
}

.woocommerce.custom ul.products li.product a img {
	border-radius: 10px;
	box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.06);
}

.woocommerce-loop-product__title {
	background: white;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
	border-radius: 10px;
  background: #fff;
	box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.06);
	transition: all .15s ease-out;
	will-change: transform; 
}

.woocommerce ul.products li.product a:hover,
.woocommerce-page ul.products li.product a:hover {
	opacity: 1;
}

.woocommerce ul.products li.product:hover,
.woocommerce-page ul.products li.product:hover {
	opacity: 0.9;
}

.related.products h2 {
	font-size: 24px;
	margin-top: 20px;
	margin-bottom: 20px;
}
.woocommerce ul.products li.product .price {
	margin-bottom: 0;
	padding-bottom: 0;
}
.woocommerce ul.products li.product .button {
	width: 100%;
  text-align: center;
	margin-top: 0;
	box-shadow: none;
}

div.summary,
.woocommerce div.product div.summary,
.woocommerce-page #content div.product div.summary,
.woocommerce-page div.product div.summary {
	display: flex;
    flex-direction: column;
    align-items: center;
}

.woocommerce .slick-dots {
	position: relative;
}

.woocommerce .slick-dots li {
    width: 6px;
    height: 6px;
    margin: 12px;

}

.woocommerce .slick-dots li button:before {
	font-size: 6px;
    line-height: 6px;
    width: 6px;
    height: 6px;
}

.woocommerce div.product div.images img {
	border-radius: 10px;
}

.woocommerce div.product div.images img:hover {
	border-radius: 10px;
}

#customer_details>.col-1,
#customer_details>.col-2 {
	max-width: none;
}

.wcmenucart {
	list-style: none;
}

.wcmenucart-contents {
	color: white;
	padding: 2px 10px;
  border-radius: 10px;
	transition: all 0.2s ease-out;
}

.wcmenucart-contents:hover {
	background: var(--main-color);
	color: white;
}

.wcmenucart-contents i {
	width: 30px;
	font-size: 30px;
	position: relative;
	top: 2px;
}

.woocommerce form .form-row-first,
.woocommerce form .form-row-last,
.woocommerce-page form .form-row-first,
.woocommerce-page form .form-row-last {
	width: 100%;
}

#order_comments {
	min-height: 220px;
	width: 100%;
}

#place_order {
	margin-top: 30px;
}

.woocommerce-product-details__short-description {
	padding-bottom: 15px;
}

/* фикс кривых названий товаров на главной странице */

.readyProject_section .postList-item {
	position: relative;
  padding-bottom: 60px;
}
body .readyProject_section .postList-item-title {
	height: auto;
}
.readyProject_section .cat_price {
	position: absolute;
  bottom: 0;
  width: 100%;
}

.type-product .single_add_to_cart_button, .wc-proceed-to-checkout a, #payment button, .button.alt {
	background: var(--main-color)!important;
}
.button.alt.fastorder {
	background: var(--accent-color)!important;
}

.button.alt.preorder {
	margin-bottom: 2em;
}

.sub-cats {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
	list-style: none;
	padding-left: 0;
	margin-bottom: 15px;
}

.sub-cats a {
	transition: all 0.2s ease-out;
	border-radius: 10px;
	background: var(--main-color);
	padding: 0 12px;
	display: block;
	color: #fff;
}

.sub-cats a:hover {
	filter: brightness(90%);
	color: #fff;
}

.orderby {
	border: 1px solid #ddd;
	border-radius: 10px;
	padding: 10px 12px;
	cursor: pointer;
	font-family:'Inter', sans-serif;
}
select.orderby {
	font-size: 16px;
}

#menu #mega-menu-main-menu {
	display: flex;
  justify-content: space-between;
  align-items: center;
}

#menu #mega-menu-main-menu > li > a {
	display: flex;
	font-size: 22px;
}

.woocommerce ul.products li.product .woocommerce-loop-category__title {
	color: #000;
}

.slick-dotted.slick-slider {
  max-width: 533px;
  max-height: 100%;
}
.woocommerce div.product div.images img {
  max-width: 533px;
  width: auto;
  max-height: 533px;
  margin: auto;
}
.related.products {
  clear: both;
}

.woocommerce td.product-name dl.variation dt {
  color: #666;
  font-size: 16px;
}
.woocommerce td.product-name dl.variation dd p {
  text-align: left;
  font-size: 18px;
}
.woocommerce a.added_to_cart {
	padding-top: 10px;
	padding-bottom: 10px;
}
.woocommerce a.added_to_cart::after {
	font-family: 'FontAwesome';
	content: '\f291';
	margin-left: 10px;
}
.single-product form.cart {
	text-align: center;
	align-items: center;
	justify-content: center;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}
.woocommerce div.product form.cart::after,
.woocommerce div.product form.cart::before {
	display: none;
}
.single-product .added_to_cart.wc-forward {
	color: #fff;
	background: var(--main-color);
	border-radius: 10px;
	max-width: 215px;
	margin: 10px;
	height: 44px;
	display: flex;
	justify-content: center;
  align-items: center;
}
.wccategory .entry-content {
	margin-top: 10px;
}
.wccategory .term-description {
	margin-top: 30px;
	margin-bottom: 30px;
}
.wccategory .entry-content .term-description .second-description {
	margin-bottom: 0;
}
.wccategory .entry-content .term-description p, .wccategory .entry-content .term-description div, .wccategory .entry-content .term-description ul, .wccategory .entry-content .term-description ol {
	margin-bottom: 10px;
}
.wccategory .entry-content .term-description ul, .wccategory .entry-content .term-description ol {
	list-style: initial;
	padding-left: 20px;
}
.woocommerce .products ul, .woocommerce ul.products {
	margin-top: 15px;
	margin-bottom: 0;
	padding-bottom: 15px;
}
.woocommerce-order {
	font-size: 16px;
	line-height: 140%;
}
.woocommerce-thankyou-order-received{
	margin-bottom: 15px;
}
.woocommerce-order-details {
	margin-top: 15px;
}
.amount > bdi {
	display: inline-block;
	white-space: nowrap;
	word-spacing: -2px;
}
.woocommerce ul.products li.product, .woocommerce-page ul.products li.product {
	width: 22.15%;
}
.term-description p, .term-description div {
	font-size: 16px;
	line-height: 1.4;
	margin-bottom: 15px;
}
.term-description ul, .term-description ol {
	font-size: 16px;
	line-height: 1.4;
	margin-bottom: 15px;
}
.woocommerce table.shop_attributes th {
	border-left: 1px dotted rgba(0,0,0,.1);
}
.woocommerce div.product .woocommerce-tabs .woocommerce-product-attributes-item p {
	margin-bottom: 0;
}
.summary.entry-summary .product_meta {
	display: flex;
  flex-direction: column;
}
.summary.entry-summary .product_meta span {
	color: #666;
}
.summary.entry-summary .product_meta span span {
	color: #000;
}
.summary.entry-summary .product_meta a {
	color: var(--main-color);
}
.wcmenucart-contents .cart-total {
	word-spacing: -2px;
	margin-right: 14px;
	color: #ddd;
}

.woocommerce-variation-price .pre-price {
	display: none;
}
body .wrapper .callback-main.button {
	background-color: var(--main-color);
}
.woocommerce-message a {
	color: #fff;
}
.woocommerce-message a:hover {
	color: #ebebeb;
}
body .woocommerce-cart-form .woocommerce-cart-form__contents button.button:disabled, body .woocommerce-cart-form .woocommerce-cart-form__contents button.button {
	background-color: var(--main-color);
	color: #fff;
	transition: all .15s ease-out;
	border-radius: 10px;
}
body .woocommerce-cart-form .woocommerce-cart-form__contents button.button:hover {
	filter: brightness(90%);
}
.woocommerce-message {
	border-top: none;
	background: var(--main-color);
	color: #ebebeb;
	border-radius: 10px;
	opacity: 1;
	height: auto;
}

.woocommerce-message::before {
	color: #ebebeb;
}
.shop_table .actions .cart-clear {
	font-size: 16px;
  transition: all .15s ease-out;
  border-radius: 10px;
	padding: .618em 1em;
}
.page .type-page .entry-content ul.woocommerce-error {
	padding-left: 56px;
}
.woocommerce .woocommerce-result-count {
	height: 43px;
	color: #666;
	display: flex;
	gap: 5px;
	align-items: center;
}
.woocommerce .woocommerce-result-count span {
	color: #000;
}
.woocommerce table.shop_attributes, .woocommerce table.shop_attributes td, .woocommerce table.shop_attributes th {
	border: none;
	font-style: normal;
}
.woocommerce span.onsale {
	padding: 8px;
  line-height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 30px;
	border-radius: 10px;
	background-color: var(--main-color);
}
.sale del .woocommerce-Price-amount.amount bdi {
	text-decoration: line-through;
	font-size: 16px;
}
.sub-cats.product-cats h2 a {
	display: flex;
	align-items: center;
	gap: 5px;
}
.sub-cats.product-cats h2 a img {
	width: auto;
	object-fit: contain;
}
.sub-cats.product-cats img {
	height: 25px;
}
.woocommerce-cart-form__contents button[type="submit"] {
	display: none!important;
}

.woocommerce #reviews #comments ol.commentlist li .comment-text {
	border-radius: 10px;
}

#comment-form-rating-label {
	font-size: 16px;
}

.woocommerce form .form-row .input-text,
.woocommerce form .form-row select {
	border: #E5E5E5 solid 1px;
}











/* media */

@media screen and (min-width: 1200px) {
	
	.container {
		width: auto;
	}
	
}

@media (max-width: 1200px) {
	
  .woocommerce-order-overview__payment-method {
		margin-top: 15px;
	}

}

@media (max-width: 992px) {
	
	.woocommerce #main div.product .product_title {
		font-size: 22px;
		line-height: 38px;
	}
	.woocommerce-cart-form__cart-item .amount > bdi {
		white-space: nowrap;
    font-size: 16px;
	}

}

@media (min-width: 768px) {
	
	.shop_table .actions button[type=submit] {
		float: right;
		margin-left: 5px;
	}

}

@media (max-width: 768px) {
	
  .entry-title.block_title {
		margin-top: 20px;
		margin-bottom: 20px;
	}
  h1.entry-title.block_title {
		margin-top: 5px;
	}
	
	.wcmenucart {
		margin: 0;
	}

	.wcmenucart-contents {
		padding: 10px;
	}

	.woocommerce-cart-form__cart-item {
		display: flex;
		justify-content: space-between;
		align-items: center;
	}
	
	.woocommerce-cart-form__cart-item td:first-child {
		flex-grow: 0;
		flex-shrink: 0;
	}
	
	.woocommerce-cart-form__cart-item td:not(:first-child) {
		flex-grow: 1;
		flex-shrink: 1;
	}

	.woocommerce-order-overview.woocommerce-thankyou-order-details.order_details {
		display: flex;
    flex-direction: column;
    gap: 10px;
	}
	.woocommerce-order-overview.woocommerce-thankyou-order-details.order_details li {
		border-right: 0;
	}

	.shop_table .actions .cart-clear {
		text-align: center;
		margin-top: 5px;
	}

	.woocommerce .woocommerce-result-count {
		font-size: 15px;
	}
	
	.search-results .woocommerce ul.products li.product, .search-results .woocommerce-page ul.products li.product {
		width: 48%;
	}

	#tab-description h2:nth-child(1), .woocommerce-Tabs-panel h2:nth-child(1), .related.products h2 {
		font-size: 20px;
		line-height: 1.8;
	}

	.wcmenucart-contents .cart-total {
		display: initial;
	}

	#order_comments {
		min-height: 140px;
	}

	.woocommerce ul.products li.product .woocommerce-loop-category__title, 
	.woocommerce ul.products li.product .woocommerce-loop-product__title, 
	.woocommerce ul.products li.product h3 {
		min-height: 60px;
	}

	.woocommerce-LoopProduct-link .woocommerce-Price-amount {
		font-size: 14px;
		color: white;
	}

	body .woocommerce ul.products li.product .price,
	.woocommerce .button.alt, .woocommerce ul.products li.product .button {
		font-size: 14px;
		display: flex;
		justify-content: center;
		align-items: center;
	}

}


@media (max-width: 576px) {
	.woocommerce a.added_to_cart {
		font-size: 13px;
	}
	.single-product .related.products .added_to_cart.wc-forward {
		margin: 0;
	}
	.woocommerce .products ul, .woocommerce ul.products {
		margin-top: 0;
		padding-top: 15px;
	}
	.related.products ul {
    display: flex;
    overflow-x: scroll;
		-webkit-overflow-scrolling: touch;
    gap: 20px;
		padding-right: 20px;
  }
	.related.products ul::after {
    content: "";
  	min-width: 2px;
  	display: block;
  }
	.related.products h2 {
    position: relative;
	}
	.related.products > h2::after {
    content: '';
    display: block;
    width: 30px;
    height: 30px;
    position: absolute;
    right: 0;
    top: 0;
    background: url(/wp-content/themes/enixpro/img/hand-swipe.png) no-repeat top center;
    background-size: contain;
	}
  .woocommerce ul.products li.product, .woocommerce-page ul.products li.product {
    flex: 0 0 80%;
    box-shadow: 0px 0px 15px 0 rgb(47 46 33 / 20%);
  }
  .search-results .woocommerce ul.products li.product, .search-results .woocommerce-page ul.products li.product {
    flex: 0 0 48%;
  }
	
}
@media (max-width: 420px) {
  
}
@media (max-width: 360px) {
    
}