/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
*/
/* General */
.cart-content-wrapper>.cart_totals .cart-totals-inner {
    border: 1px solid var(--brdcolor-gray-200)!important;
}
.woocommerce-cart-form table.shop_table thead tr {
    border-bottom-width: 1px !important;
}

.woocommerce-cart-form table.shop_table th {
    border-bottom-width: 1px !important;
}
.wd-empty-page {
	font-size: 24px !important;
}
.wd-toolbar-label {
	display: none !important;
}
/* Кнопка каталога в шапке */
.wd-header-cats.wd-style-1 .menu-opener {
	border-bottom-left-radius: 8px;
	border-bottom-right-radius: 8px;
}
.wd-header-cats.wd-style-1 .menu-opener-icon {
	margin-inline-end: 20px !important;
}
.wd-header-cats .menu-opener .menu-open-label {
	font-size: 14px !important;
	font-weight: 500 !important;
	line-height: 26px;
	text-transform: uppercase !important;
}
/* Мини-корзина в шапке */
.wd-tools-element .wd-tools-icon:before {
    font-size: 24px !important;
}
.cart-info span.quantity {
	color: #444 !important;
}
.amount {
	color: #444 !important;
	font-weight: 500 !important;
}
/* Список товаров */
.wd-hover-with-fade.hover-ready:is(:hover, .state-hover) .product-wrapper {
	transform: translateY(0px) translateZ(0) !important;
}
.wd-hover-with-fade .content-product-imagin {
	inset: 0px 0px 0px 0px !important;
	transform: scale(0) !important;
}
.wd-shop-tools .woocommerce-ordering.wd-style-underline select {
    max-width: 300px;
}
.woocommerce-ordering.wd-style-underline select {
	border: 1px solid #ebeaed;
	border-radius: 4px;
	padding: 10px 30px 10px 20px;
	background-position: right 10px top 50%;
}
@media (max-width: 768px) {
	.woocommerce-ordering.wd-style-underline select {
		border: 1px solid #ebeaed;
		border-radius: 4px;
		padding: 10px 0px 10px 0px;
	}
}
.product-element-bottom .wd-entities-title {
	margin-bottom: 5px !important;
}
.product-element-bottom .wd-star-rating {
	margin-bottom: 5px !important;
}
p.stock.wd-style-default {
	width: 50%;
	background-color: rgba(57,186,96,0.35);
	font-size: 14px;
	font-weight: 500 !important;
	padding: 5px;
	border-radius: 5px;
}
p.stock.wd-style-default.in-stock:before {
	color: #444 !important;
}
@media (max-width: 576px) {
	p.stock.wd-style-default {
		width: 70%;
	}
	.wd-product .wd-entities-title {
		max-height: 100px !important;
	}
	.wd-entities-title {
		//line-height: normal !important;
	}
}
p.stock {
	font-weight: 500 !important;
}
p.stock.wd-style-bordered span {
    border: 1px solid #e5e5e5 !important;
    color: #444 !important;
	font-size: 15px !important;
}
.woocommerce-review-link {
    color: #444;
	font-size: 15px;
}
.wd-product.wd-hover-fw-button .wd-add-btn .add-to-cart-loop span {
	font-size: 14px !important;
	font-weight: 500 !important;
}
.woocommerce-result-count {
	display: none !important;
}
/* Страница товара */
div.quantity {
	--wd-form-height: 46px !important;
}
.product_meta {
	font-size: 14px !important;
}
del .amount {
	color: #ABB2C5 !important;
}
.wd-attr-selected {
	display: none !important;
}
/* Product Review */
.wd-reviews-filters select {
    border: 1px solid #ebeaed;
	border-radius: 8px;
    background-color: #fff;
}
select {
	font-weight: 500;
	color: #444;
}
.wd-review-style-1 .meta time {
	font-size: 15px;
	font-weight: 500;
    font-style: normal !important;
}
.commentlist .description {
	color: #444;
	font-weight: 500;
}
.comment-form .comment-form-rating label {
	font-size: 15px !important;
	font-weight: 500 !important;
	color: #444;
}
.stars a {
	width: calc(var(--wd-text-font-size) + 5px) !important;
}
.stars a:before {
	color: #444 !important;
	font-size: 18px !important;
}
.comment-form-comment label {
	font-size: 15px !important;
	font-weight: 500 !important;
	color: #444;
	margin-bottom: 10px;
}
.comment-form-comment textarea {
	border: 1px solid rgb(230,232,236);
	border-radius: 8px;
	background-color: #fff;
}
.comment-form-author input {
	border: 1px solid rgb(230,232,236);
	border-radius: 8px;
	background-color: #fff;
}
.comment-form-email input {
	border: 1px solid rgb(230,232,236);
	border-radius: 8px;
	background-color: #fff;
}
/* Блог */
.blog-design-meta-image.blog-style-bg .wd-post-content {
	background-color: #f7f7f7;
	border-bottom-left-radius: 8px;
	border-bottom-right-radius: 8px;
}
.wd-post-date.wd-style-with-bg {
	display: none !important;
}
.wd-entry-meta {
	display: none !important;
}
.wd-post-meta {
	display: none !important;
}
.wd-single-post-header .title {
	max-width: 800px;
	margin-bottom: 30px;
}
.post-single-page .wd-entry-content {
	max-width: 900px;
	font-size: 18px;
	margin: 0 auto;
}
.wd-page-nav {
	display: none !important;
}
/* Корзина */
table th {
	text-transform: none !important;
}
.cart-totals-inner h2 {
	text-transform: none !important;
}
.woocommerce-shipping-destination {
	display: none;
}
/* Оформление заказа */
.show-coupon {
	color: #444 !important;
}
.wd-checkout-coupon {
	display: none;
}
.woocommerce-billing-fields h3 {
	text-transform: none !important;
}
#order_review_heading {
	text-transform: none !important;
}
.payment_methods li label {
	font-weight: 500;
}
.woocommerce-terms-and-conditions-wrapper {
	font-size: 14px;
}
.woocommerce-additional-fields h3 {
	display: none !important;
}
:is(.woocommerce-error,.woocommerce-info) {
	color: #444 !important;
	font-size: 14px !important;
}
:is(.woocommerce-error, .woocommerce-message, .woocommerce-info) a {
	color: #444 !important;
	font-size: 14px !important;
}
.wd-checkout-prod {
	align-items: start !important;
}
/* Почта России */
.wc-russian-post-method-additional-info .wc-russian-post-choose-delivery-point {
	background: #fb7df3;
}
.wc-russian-post-method-additional-info .wc-russian-post-choose-delivery-point:hover {
	background: #fb7df3;
}
/* Всплывающее уведомление при добавлении товара в корзину */
.popup-added_to_cart h3 {
	font-size: 18px !important;
}
.popup-added_to_cart .btn {
	width: 100%;
}
/* Блоки внимания для редактора WP */
.info-block,
.warning-block {
    position: relative;
    padding: 20px 20px 20px 30px;
	border-radius: 8px;
}
.info-block {
    background: #fff6ed;
	border-left: 4px solid #fc8619;
}
.warning-block {
    background: #fff0f0;
	border-left: 4px solid #fa3b3b;
}
/* Копирайт */
@media (min-width: 1024px) {
	.wd-copyrights br {
		display: none;
	}
}
/* My Account */
.woocommerce-customer-details address {
	font-size: 16px !important;
	font-style: normal !important;
	font-weight: 400;
}
address {
	font-size: 16px !important;
	font-style: normal !important;
	font-weight: 400;
}
#account_display_name_description em {
	font-size: 14px;
	font-style: normal !important;	
}
/* Waitlist */
.wd-wtl-form label span  {
	font-size: 15px !important;
}
/* Modal */
.tariffs {
	font-size: 14px;
	font-weight: 400;
	text-decoration: underline !important;
}
@media (min-width: 768.98px) {
	.tariffs.desktop {
		display: none !important;
	}
}
.modaloverlay {
	background: rgba(0, 0, 0, 0.8);
	bottom: 0;
	left: 0;
	opacity: 0;
	pointer-events: none;
	position: fixed;
	right: 0;
	top: 0;
	-webkit-transition: opacity 400ms ease-in;
	-moz-transition: opacity 400ms ease-in;
	transition: opacity 400ms ease-in;
	z-index: -1;
	display: none;
}
.modaloverlay:target {
	display: block;
	opacity: 1;
	pointer-events: auto;
	z-index: 99999;
}
.modaloverlay .modal {
	background-color: #fff;
	width: 80%;
	height: 450px;
	position: relative;
	top: 30px;
	margin: 0 auto;
	padding: 30px;
	font-weight: 400;
	border-radius: 10px;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
}
@media (min-width: 576px) {
	.modaloverlay .modal {
		height: 70%;
		margin: 0 auto;
		max-height: 360px;
		max-width: 360px;
		width: 100%;
	}
}
.modaloverlay .modal > iframe, .modaloverlay .modal > div {
	border: none;
	width: 100%;
	height: 100%;
}
.modaloverlay .close {
	color: #000;
	font-size: 24px;
	padding: 8px 12px;
	position: absolute;
	right: 0;
	text-align: center;
	text-decoration: none;
	top: 0;
	z-index: 1;
}
.wd-el-table :is(td,th)  {
	text-align: start !important;
}

/*Модалка для авторизации*/

#auth-modal {
  display: none;
}

#auth-modal:not(.hidden) {
  display: block;
}

.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
}

.auth-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.5);
}

.auth-modal__content {
  position: relative;
  max-width: 420px;
  margin: 10vh auto;
  background: #fff;
  padding: 24px;
  border-radius: 12px;
}