.breadcrumbs-link {
    color: #000;
    font-family: "Inter", sans-serif;
}
.breadcrumbs-content {
    align-items: center;
    padding: 25px 0 15px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}
.breadcrumbs-item {
    margin-right: 30px;
}
.goods-title {
    font-family: "Inter", sans-serif;
    font-weight: 700;
    font-size: 32px;
    margin-bottom: 20px;
    color: #000;
}
.good-img {
    margin-bottom: 15px;
	flex-shrink: 0;
}
.good-name {
    color: #000;
    font-size: 20px;
    font-family: "Inter", sans-serif;
    font-weight: 700;
    margin-bottom: 10px;
	flex-shrink: 0;
}
.good-price {
        color: #000;
    font-size: 24px;
    font-family: "Inter", sans-serif;
    font-weight: 700;
	margin-top: auto;
}
.good-price bdi {
      color: #000;
    font-size: 24px;
    font-family: "Inter", sans-serif;
    font-weight: 700;
}
.good-price span {
    color: #000;
        font-size: 24px;
    font-family: "Inter", sans-serif;
    font-weight: 700;
}
.goods-content {
    flex-wrap: wrap;
    margin: 0 -15px;
    margin-bottom: 50px;
}
.goods-item {
    padding: 15px;
width: 33%;
	transition: all .2s ease;
}
.goods-item:hover {
	background: #fff;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.12);
}
.goods-link {
	margin-bottom: 10px;
	display: flex;
	flex-direction: column;
	height: 100%;
}
.good-button .my-recent-btn {
width: 100%;
    color: #fff !important;
    background-color: #000 !important;
    text-align: center;
    border-radius: 20px !important;
}
.recent-products-block {
	padding-bottom: 90px;
}
.recent-products-block .goods-item{
	width: 25%;
}
.filter-main-block {
    max-width: 300px;
    width: 100%;
    padding: 20px 25px;
    margin-right: 20px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 20px;
}
.filter-goods {
    /* justify-content: space-between; */
    margin-bottom: 60px;
}
.filter-title {
    align-items: center;
    justify-content: space-between;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
.filter-name {
    color: #000;
    font-size: 20px;
    font-family: "Inter", sans-serif;
    font-weight: 700;
}
.pagination-btn {
    display: flex;
    align-items: center;
}
.pagination-btn-name {
    color: #000;
}
.pagination-pages {
    align-items: center;
}
.goods-pagination-block {
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}
.pagination-page-link {
    color: #000;
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    font-weight: 500;
    font-family: "Inter", sans-serif;
}
.pagination-page-item {
    width: 40px;
    height: 40px;
}
.pagination-page-link.active {
font-weight: 700;
}
.pagination-btn {

}

.pagination-prev .pagination-btn-icon {
    margin-right: 10px;
}
.pagination-next .pagination-btn-icon {
    margin-left: 10px;
}
.pagination-btn {
    padding: 10px 15px;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}
.good-button a{
    color: #000;
}
.single-product-page {
	padding-top: 135px;
}
.quantity-wrapper {
    display: flex;
    align-items: center;
    width: fit-content;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
}

/* Кнопки + и - */
.quantity-wrapper button {
    width: 40px;
    height: 40px;
    background: #f5f5f5;
    border: none;
    font-size: 22px;
    color: #333;
    cursor: pointer;
    transition: background 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity-wrapper button:hover {
    background: #e7e7e7;
}

/* Поле количества */
.quantity-wrapper .qty-input {
    width: 60px;
    height: 40px;
    border: none;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    outline: none;
    background: #fff;
    appearance: textfield;
}

/* Убираем стрелки */
.qty-input::-webkit-inner-spin-button,
.qty-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.product-img-block {
    max-width: 610px;
    width: 100%;
    margin-right: 40px;
}

.single-product-title {
    font-size: 40px;
    font-weight: 900;
    font-family: "Inter", sans-serif;
    margin-bottom: 15px;
    color: #000;
}
.single-product-price {
    font-size: 32px;
    font-weight: 700;
    font-family: "Inter", sans-serif;
    margin-bottom: 30px;
     color: #000;
}
.single-product-description {
    color: rgba(0, 0, 0, 0.6);
    margin-bottom: 25px;
	padding-bottom: 25px;
    font-family: "Inter", sans-serif;
	border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
.colors-title {
    color: rgba(0, 0, 0, 0.6);
    margin-bottom: 15px;
    font-family: "Inter", sans-serif;
}
.colors-item {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid transparent;
    cursor: pointer;
    margin-right: 8px;
    transition: .2s;
}

.colors-item.active {
    border-color: #000;
    transform: scale(1.5);
}

.size-item {
    padding: 8px 14px;
    border: 1px solid #ccc;
    cursor: pointer;
    border-radius: 6px;
    margin-right: 10px;
    user-select: none;
    color: #000;
}

.size-item.active {
    background: #000;
    color: #fff;
    border-color: #000;
}

.add-to-cart-button.disabled {
    opacity: 0.5;
    pointer-events: none;
}
.colors-item {
border: 1px solid #000
}
    /* Скрываем оригинальные select'ы, но оставляем их для WooCommerce */
    .variations select {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        position: absolute !important;
        pointer-events: none !important;
    }

    /* Контейнер вариаций на div'ах */
    .variations-div {
        display: flex;
        flex-direction: column;
        gap: 20px;
        margin-bottom: 20px;
    }


    .variation-item {
        display: flex;
        flex-direction: column;
        gap: 6px;
		padding-bottom: 25px;
		border-bottom: 1px solid rgba(0,0,0,.1);
    }
    .variation-label {
        font-weight: 600;
        margin-bottom: 4px;
        color: #000;
    }

    .variation-control {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    /* Общий стиль свотч-кнопок (для размера, цвета и т.п.) */
    .swatch-buttons {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }

    .swatch-button {
        padding: 8px 16px;
        border: 1px solid #ccc;
        border-radius: 6px;
        cursor: pointer;
        background: #F0F0F0;
        transition: 0.2s;
        font-size: 14px;
        line-height: 1.2;
        color: #000;
        border-radius: 62px;
    }

    .swatch-button:hover {
        background: #e4e4e4;
    }

    .swatch-button.active {
        background: #000;
        color: #fff;
        border-color: #000;
    }
    /* Цветные кружки (для атрибута у которого есть term_color) */
    .swatch-button.color-swatch {
        width: 28px;
        height: 28px;
        padding: 0;
        border-radius: 50%;
        border-width: 2px;
        background-clip: padding-box;
    }

    .swatch-button.color-swatch.active {
        box-shadow: 0 0 0 2px #0003;
    }

    /* Quantity [- 1 +] */
    .quantity-wrapper {
        display: flex;
        align-items: center;
/*         justify-content: space-between; */
        background: #f0f0f0;
        color: #000;
        border-radius: 30px;
/*         width: fit-content;
        gap: 20px;
        min-width: 140px; */
        box-sizing: border-box;
        padding: 5px 15px;
    }

    .qty-btn {
        font-size: 24px;
        font-weight: 300;
        cursor: pointer;
        user-select: none;
        line-height: 1;
        display: flex;
        align-items: center;
        justify-content: center;
    }


.quantity-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity-wrapper input.qty {
    border: none;
    background: transparent;
    text-align: center;
    font-size: 16px;
    font-weight: 500;
    outline: none;
    pointer-events: none;
    color: #000;
    max-width: 60px;
    width: 100%;
}
.quantity-wrapper input.qty {
   width: 40px;
    padding: 0;
    margin: 0;       /* ВАЖНО — именно это центрирует */
    border: none;
    text-align: center;
    background: transparent;
    font-size: 16px;
    font-weight: 600;
}
.quantity-wrapper .qty-btn {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}
    .reset_variations {
        display: none !important;
    }
    .single_add_to_cart_button {
        max-width: 400px;
        width: 100%;
        border-radius: 62px;
        background: #404738;
        color: #fff;
        padding: 15px;
        border: none;
        cursor: pointer;
    }
    .woocommerce-variation-add-to-cart {
        display: flex;
            flex-direction: column;
            gap: 20px;
    }
.woocommerce-breadcrumb {
display: flex;
            align-items: center;
}
.single-product-page .woocommerce .products {
display: flex;
margin: 0 -15px;
}
.single-product-page .woocommerce .products .good-item {
 width: 25%;
}
.single-product-content {
margin-bottom: 75px;
}
.product-content-block {
width: 100%;
}
.recent-products-title {
font-size: 48px;
font-weight: 700;
text-align: center;
font-family: "Inter", sans-serif;
color: #000;
margin-bottom: 50px;
}
.goods-content-wrap {
width: 100%;
}
.filter-categories {
padding: 25px 0;
border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
.filter-categories li {
margin-bottom: 20px;
}
.filter-categories li:last-child {
margin-bottom: 0;
}
.filter-categories li a{
color: #000;
}
.swatch-buttons[data-attribute_name="attribute_pa_colors"] .swatch-button {
    border: 2px solid #333;
    border-radius: 50%;
    width: 35px;
    height: 35px;
	font-size: 0;
}
.swatch-button[data-value="olive"] {
	background: olive;
}
.swatch-button[data-value="black"] {
	background: black;
}
.swatch-button[data-value="red"] {
	background: red;
}
.swatch-button[data-value="blue"] {
	background: #699094;
}
.swatch-button[data-value="yellow"] {
	background: #f8cc51;
}
.swatch-buttons[data-attribute_name="attribute_pa_colors"] .swatch-button.active {
    position: relative;
}

/* Галочка */
.swatch-buttons[data-attribute_name="attribute_pa_colors"] .swatch-button.active::after {
    content: "✓";
    color: #fff;
    font-size: 22px;
    font-weight: bold;
    line-height: 35px;
    text-align: center;

    position: absolute;
    top: 0;
    left: 0;

    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;

    pointer-events: none;
}
.single-product {
	margin-bottom: 30px;
}
.site-main .wc-block-cart__submit-button {
	background-color: #000;
	border-radius: 62px;
}
.site-main .wc-block-cart__submit-button .wc-block-components-button__text {
	color: #fff;
}
.wc-block-grid__product-add-to-cart.wp-block-button .wp-block-button__link {
	background: #404738;
	color: #fff;
}
.wp-block-heading {
	font-size: 32px;
	font-weight: 700;
	margin-bottom: 20px;
}
.single-product-btn-tab {
	color: #000;
	width: 50%;
	text-align: center;
		padding-bottom: 15px;
	cursor: pointer;
}
.single-product-btn-tab.active {
	font-weight: 500;
	border-bottom: 1px solid #000;
}
.single-product-btn-wrap {
	display: flex;
	align-items: center;
	border-bottom: 1px solid rgba(0,0,0, .2);
}
.product-tab-content {
	display: none;
	color: #000;
}
.product-tab-content.active {
	display: block;
}
.product-desc-pau-block {
	padding: 50px 0 20px 0;
	min-height: 250px;
}
.wc-block-grid__product {
	width: 100%;
}
.wpfFilterTitle {
	color: #000 !important;
}
.wpfPriceInputs {
	color: #000;
}
.wpfFilterTaxNameWrapper {
	color: #000 !important;
}
.wpfFilterButton {
	max-width: 100% !important;
	width: 100% !important;
	color: #fff !important;
	background-color: #000 !important;
	border-radius: 62px !important;
}
.ui-slider.ui-widget-content .ui-slider-handle {
	background-color: #000 !important;
	border-radius: 50% !important;
	top: -8px !important;
    width: 25px !important;
    height: 25px !important;
}
.ui-slider-horizontal .ui-slider-range {
	background-color: #000 !important;
}
/* Убрать квадрат от чекбокса */
.wpfCheckbox label,
.wpfCheckbox label::before,
.wpfCheckbox label::after {
    display: none !important;
}

/* Базовый вид кнопок */
.wpfLiLabel {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 8px 20px !important;
    margin: 6px !important;
    background: #f1f1f1 !important;
    border-radius: 30px !important;
    border: 1px solid #ddd !important;
    color: #000 !important;
    cursor: pointer !important;
    transition: 0.25s ease !important;
}

/* Скрываем input */
.wpfLiLabel input[type="checkbox"] {
    position: absolute !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Ховер */
.wpfLiLabel:hover {
    background: #e2e2e2 !important;
}

/* 🔥 АКТИВНАЯ КНОПКА — через :has() */
.wpfLiLabel:has(input[type="checkbox"]:checked) {
    background: #111 !important;
    border-color: #111 !important;
    color: #fff !important;
}

/* Чтобы текст внутри стал белым */
.wpfLiLabel:has(input[type="checkbox"]:checked) .wpfFilterTaxNameWrapper {
    color: #fff !important;
}


/* Контейнер размеров в одну строку, как чипсы */
.wpfFilterVerScroll.wpfFilterLayoutHor {
    display: flex !important;
    flex-wrap: wrap !important;
}
.wpfValue {
	padding-right: 5px !important;
}
.wpfFilterLayoutVer>li, .wpfFilterLayoutHor>li {
	padding-right: 0px !important;
}
.wpfCheckbox {
	display: none !important;
}
.wpfFilterVerScroll li label {
	margin: 0 5px 5px 0 !important;
}
.related-goods-list {
	display: flex;
	flex-wrap: wrap;
}
/* Контейнер пагинации */
.woocommerce nav.woocommerce-pagination {
    text-align: center;
    margin-top: 40px;
}

.woocommerce nav.woocommerce-pagination ul {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    border: none;
    padding: 0;
    margin: 0;
}

.woocommerce nav.woocommerce-pagination ul li {
    border: none !important;
    margin: 0 !important;
}

/* Общий стиль цифр/ссылок */
.woocommerce nav.woocommerce-pagination ul li .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border-radius: 10px;
    font-size: 16px;
    color: #000;
    text-decoration: none;
}

/* Активная страница — «таблетка» */
.woocommerce nav.woocommerce-pagination ul li span.current {
    background: #f2f2f2;
    border-radius: 12px;
    font-weight: 600;
}

/* Обычные числа – без фона */
.woocommerce nav.woocommerce-pagination ul li a.page-numbers {
    background: transparent;
}

/* Кнопки «Назад» и «Далі» */
.woocommerce nav.woocommerce-pagination ul li a.prev,
.woocommerce nav.woocommerce-pagination ul li a.next {
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 0 18px;
    gap: 8px;
    font-size: 16px;
}

/* Стрелка слева */
.woocommerce nav.woocommerce-pagination ul li a.prev::before {
    content: "←";
    display: inline-block;
    margin-right: 8px;
    font-size: 14px;
}

/* Стрелка справа */
.woocommerce nav.woocommerce-pagination ul li a.next::after {
    content: "→";
    display: inline-block;
    margin-left: 8px;
    font-size: 14px;
}

/* Hover-эффект */
.woocommerce nav.woocommerce-pagination ul li a.page-numbers:hover {
    background: #f7f7f7;
}

@media screen and (max-width: 1200px) {
	.woocommerce-variation-add-to-cart {
		flex-direction: column;
    align-items: flex-start;
	}
}
@media screen and (max-width: 1024px) {
	.single-product-wrap {
		flex-direction: column;
	}
	.product-img-block {
		max-width: 100%;
		margin: 0 0 25px 0;
	}
	.single-product-page .woocommerce .products {
		flex-wrap: wrap;
	}
}
@media screen and (max-width: 800px) {
	.single-product-title {
		font-size: 24px;
		margin-bottom: 10px;
	}
	.single-product-price {
		font-size: 24px;
		margin-bottom: 25px;
	}
	.single-product-description {
		font-size: 14px;
		padding-bottom: 20px;
		margin-bottom: 20px;
	}
	.variation-label {
		font-size: 14px;
	}
	.variations-div {
		gap: 10px;
	}
	.recent-products-title {
		font-size: 24px;
	}
	.single-product-content {
		margin-bottom: 25px;
	}
	.recent-products-title {
		margin-bottom: 15px;
	}
	.recent-products-block {
		padding-bottom: 50px;
	}
	.related-goods-list .good-item {
		width: 100%;
	}
	.single-product-page {
		padding-top: 100px;
	}
}