/*   
Theme Name: Индивидуальная тема
Theme URI: https: //kwork.ru/user/ravlex
Version: 1.0
Description: С вниманием к деталям
Author: Ravlex
Author URI: https: //kwork.ru/user/ravlex
*/
.sticky .header__notice {
	background-color: #fff;
}

div#order_review {
    display: flex;
    align-items: flex-start;
    gap: 30px;
}

.shop_table.woocommerce-checkout-review-order-table {
    flex: 1;
}

div#payment {
    flex: 1;
    margin-top: 0;
}
.header__notice-message {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 10px;
	font-size: 18px;
	font-weight: 500;
	color: #000;
}

@media(max-width: 768px) {
	.header__notice-message {
		font-size: 16px;
	}
}


.facetwp-checkbox:not(:last-child) {
	margin-bottom: 10px;
}

.filter-partner-logo {
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.filter-partner-logo img {
	max-width: 100%;
	max-height: 100%;
}

.filter-partner-item {
	display: flex;
	align-items: center;
	gap: 15px;
	font-size: 16px;
	font-weight: 500;
	border: 1px solid var(--accent);
	border-radius: 8px;
	cursor: pointer;
	padding: 4px 8px;
	transition-duration: .15s;
}

.facetwp-checkbox.checked .filter-partner-item {
	background-color: var(--accent);
	color: #fff;
}

.facetwp-facet-partner_shop .facetwp-counter {
	display: none;
}

.facetwp-facet-partner_shop {
	margin-top: 25px;
}

.partner-info__title {
	font-size: 24px;
	margin-bottom: 30px;
	font-weight: 600;
}

.partner-info__contacts {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.partner-info__contact {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
	line-height: 1.2;
}

.partner-info__contact-title {
	font-size: 16px;
}

.partner-info__contact-detail {
	font-size: 20px;
	display: inline-flex;
	color: var(--accent);
	font-weight: 500;
}

.partner-shop {
	margin-top: 15px;
	display: flex;
	align-items: center;
	gap: 12px;
}



.partner-shop__title {
	font-size: 14px;
	font-weight: 500;
}

.partner-shop__title span {
	color: var(--accent)
}

.partner-shop__logo {
	width: 100px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--accent);
	border-radius: 4px;
	padding: 4px;
	height: 60px;
}

.partner-shop__logo img {
	max-width: 100%;
	max-height: 100%;
}

.product-page__order {
	background-color: #fff;
}

.noUi-handle {
	touch-action: none;
}

.checkout__item-radio-icon {
	flex-shrink: 0;
}

@media(max-width: 600px) {
	.modal__form {
		row-gap: 15px;
	}
}

@media(max-width: 575px) {
	.checkout__item-fields {
		grid-template-columns: 1fr;
	}
}

@media(max-width: 600px) {
	.section-calc__body {
		width: 100%;
		max-width: 80%;
		margin-left: auto;
		margin-right: auto;
	}
}

.place-order {
	display: none;
}

.cart-page .woocommerce-error {
	margin-bottom: 20px;
	display: flex;
	flex-direction: column;
	row-gap: 15px;
}

.woocommerce-error li {
	font-size: 14px;
	font-weight: 400;
	border-left: 1px solid red;
	padding-left: 20px;
}

.payment_box {
	display: none !important;
}

.field-file input {
	display: none;
}

.field-file label {
	cursor: pointer;
}

.field-file__btn {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 5px 12px;
	border: 1px dashed var(--accent);
	border-radius: 4px;
	height: 54px;
	text-align: center;
}

.field-file__title {
	font-size: 12px;
	font-weight: 500;
	margin-top: 5px;

}

.field-checkbox label {
	cursor: pointer;
}

.field-checkbox input {
	display: none;
}

.field-checkbox input:checked+.field-checkbox__title span::before {
	opacity: 1;
	visibility: visible;
}

.field-checkbox__title {
	font-size: 14px;
	display: flex;
	align-items: center;
	gap: 5px;
}

.field-checkbox__title span::before {
	content: "";
	position: absolute;
	inset: 1px;
	background-color: var(--accent);
	opacity: 0;
	visibility: hidden;
	transition-duration: .15s;
	border-radius: 1px;
}

.field-checkbox span {
	width: 12px;
	aspect-ratio: 1;
	border-radius: 3px;
	border: 1px solid #0a5ec4;
	position: relative;
	display: inline-flex;
	flex-shrink: 0;
}

.invalid input {
	border-color: red;
}

#billing_country_field {
	display: none;
}

wc-order-attribution-inputs {
	display: none;
}

#compare_load {
	position: relative;
}

#compare_load.loading {
	min-height: 300px;
}

#compare_load.loading::before {
	content: '';
	position: absolute;
	inset: 0;
	background-color: rgba(255, 255, 255, .8);
	z-index: 99;
}

#compare_load.loading::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 40px;
	height: 40px;
	margin-top: -20px;
	margin-left: -20px;
	border: 4px solid rgba(0, 0, 0, 0.1);
	border-top-color: #007bff;
	border-radius: 50%;
	animation: spin 0.8s linear infinite;
	z-index: 100;
}

/* Анимация вращения */
@keyframes spin {
	from {
		transform: rotate(0deg);
	}

	to {
		transform: rotate(360deg);
	}
}

.cart-page__table-item-variations {
	margin-top: 10px;
	display: flex;
	flex-direction: column;
	gap: 5px;
	font-size: 14px;
	color: gray;
}

.cart-page__table-item-image img {
	height: auto;
}

label.error {
	font-size: 12px;
	color: red;

}

.header-mobile__search {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	padding: 5px;
	background-color: #fff;
	box-shadow: 0 4px 100px 0 rgba(2, 35, 77, .1);
	display: none;
}

.search-more {
	display: flex;
	justify-content: center;
	padding: 5px;
}

.search-results {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	border: 1.50px solid #e6e6e6;
	border-radius: 10px;
	box-shadow: 5px 5px 10px 0 rgba(0, 0, 0, 0.07);
	background: #fff;
	padding: 10px;
	display: none;
}

.search-results__product {
	display: flex;
	align-items: center;
	gap: 8px;
	border-radius: 10px;
	padding: 6px 10px;
	font-size: 16px;
	transition-duration: .15s;

}

.search-results__product svg {
	width: 24px;
	aspect-ratio: 1;
	fill: #b3b3b3;
	flex-shrink: 0;
}

.search-results__product:hover {
	background: var(--hover);
	color: var(--text);

}

.facetwp-sort-buttons {
	display: flex;
	align-items: center;
	gap: 5px 18px;
	overflow: auto;
	-ms-overflow-style: none;
	scrollbar-width: none;
}

.facetwp-sort-button {
	color: #999;
}

.facetwp-sort-button.active {
	color: var(--accent)
}

.catalog-page__categories-prev {
	font-weight: 700;
	font-size: 16px;
	display: inline-flex;
	align-items: center;
	gap: 5px;
}

.catalog-page__categories-prev::before {
	content: '';
	display: block;
	flex-shrink: 0;
	width: 14px;
	aspect-ratio: 1;
	background-image: url("data:image/svg+xml,%3Csvg width='8' height='12' viewBox='0 0 8 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 11L2 6L7 0.999999' stroke='%231A1A1A' stroke-width='1.5'/%3E%3C/svg%3E%0A");
	background-size: contain;
	background-repeat: no-repeat;
	background-position: 50%;
}

.catalog-page__categories {}

.catalog-page__categories>li>ul {
	padding-left: 15px;
	padding-top: 9px;
}

.catalog-page__categories>li>ul ul {
	padding-top: 9px;
	padding-left: 15px;
	display: flex;
	flex-direction: column;
	row-gap: 5px;
}

.catalog-page__categories>li>ul ul a {
	padding: 3px 10px;
	display: inline-flex;
	border-radius: 8px;
	font-size: 16px;
	transition-duration: .15s;
}

.catalog-page__categories>li>ul .catalog-page__categories-active {
	background: var(--hover);

}

.modal-product__btns {
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.modal-product__btns .btn {
	width: 100%;
}

.variation-attribute {
	font-size: 14px;
}

.modal-product__desc {
	margin-top: 10px;
	display: flex;
	flex-direction: column;
	gap: 5px;
}

.modal-product__btns {
	margin-top: 40px;
}

.modal-product__price {
	margin-top: 20px;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	white-space: nowrap;
}

.modal-product__price-actual {
	font-weight: 700;
	font-size: 22px;
	line-height: 133%;
	color: var(--text);
}

.modal-product__price-old {
	position: relative;
	color: #b3b3b3;
	font-size: 16px;
}

.modal-product__price-old::before {
	content: "";
	position: absolute;
	inset: 0;
	margin: auto;
	height: 1.5px;
	background-color: #b3b3b3;
}

.modal-product__counter {
	display: flex;
	gap: 4px;
	margin-top: 25px;
}

.modal-product__counter button {
	width: 36px;
	height: 36px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 10px;
	border: 1.50px solid var(--accent);
}

.modal-product__counter input {
	width: 45px;
	text-align: center;
	font-weight: 500;
	font-size: 16px;
	color: var(--text);
	outline: none;
}

.modal-product__title {
	font-weight: 700;
	font-size: 16px;
	line-height: 135%;
	color: var(--text);
}

.modal-product__wrapper-title {
	font-weight: 700;
	font-size: 22px;
	line-height: 133%;
	color: var(--accent);
}

.modal-product {
	width: 575px;
	border: 1.50px solid var(--accent);
	padding: 50px 60px;
}

.modal-product__body {
	margin-top: 30px;
	display: flex;
	gap: 30px;
}

.modal-product__image {
	flex: 0 0 150px;
	display: flex;
	align-items: center;
	justify-content: center;
}

@media(max-width: 600px) {
	.modal-product {
		width: 100%;
		padding: 30px;
	}

	.modal-product__body {
		flex-direction: column;
		margin-top: 20px;
		gap: 20px;
	}

	.modal-product__btns {
		margin-top: 20px;
		gap: 10px;
	}

	.modal-product__counter {
		margin-top: 20px;
	}

	.modal-product__image {
		flex: initial;
		height: 180px;
	}

}

.modal-product__image img {
	max-width: 100%;
	max-height: 100%;
}

.product-card__price {
	flex-wrap: wrap;
}

.product-page__price-current {
	white-space: nowrap;
}

.product-page__price-wrapper {
	flex-wrap: wrap;
}

.woocommerce-message {
	margin: 0;
}

.single_variation_wrap {
	display: none !important;
}

.product-page__specs .quantity,
.single_add_to_cart_button {
	display: none;
}

.woocommerce-variation-add-to-cart {
	display: none;
}

.variations tr {
	display: flex;
	flex-direction: column;
	text-align: left;
}

.variations tr:not(:last-child) {
	margin-bottom: 30px;
}

.variations label {
	font-size: 14px;
	color: gray;
	margin-bottom: 10px;
	font-weight: 400;
	display: block;
}

.select_box:not(.on_ptab) .select_option:hover,
.select_option.selected {
	border-color: var(--accent);
}

.select_box {
	display: flex;
	flex-wrap: wrap;
	gap: 5px 10px;
}

.select_option_label .yith_wccl_value {
	border: none;
	height: auto;
	min-width: none;
}

.reset_variations {
	display: none !important;
}

.product-page__installment {
	justify-content: space-between;
}

body .select_option {
	border: 1.5px solid #e6e6e6;
	border-radius: 5px;
	padding: 4px 10px;
	font-size: 14px;
	display: inline-flex;
	cursor: pointer;
	margin: 0;
}

.product-page__recommends .product-card__compare {
	display: none;
}

#primary,
#main {
	flex: 1;
}

.section-reviews__init {
	overflow: hidden;
}

.section-reviews__slide-photo {
	margin-left: auto;
	margin-right: auto;
}

.reviews__item-author-photo {
	aspect-ratio: 1;
}

.text a.btn {
	color: #fff;
	display: inline-flex;
}

.facetwp-pager {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 4px 8px;
	cursor: pointer;
}

.facetwp-page:not(.next):not(.prev) {
	font-size: 18px;
	border-radius: 10px;
	width: 39px;
	height: 39px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.facetwp-page.active {


	background: #f3f3f3;
}

.product-page__gallery-nav-init {
	width: 100%;
	overflow: hidden;
}

.wp-block-image {
	margin-bottom: 25px;
}