h1{
	height: 40px;
	font-family: 'Geologica';
	font-style: normal;
	font-weight: 500;
	font-size: 32px;
	line-height: 40px;
	text-transform: uppercase;
	color: #373449;
}

.index-sale{line-height:normal;}
.product-lists,.products.columns-4{
	display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-around;
}
.woocommerce .products.columns-4::before,
.woocommerce-notices-wrapper,
.woocommerce-result-count{display:none !important;}
.woocommerce-ordering{margin-top: -30px;}

.entry-content .products a {
    text-decoration: none!important;
}
/* Основной блок товара */
.product-card {
    position: relative;
    display: block;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #333;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.product-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Кнопка избранного */
.product-card__favorite {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 10;	
	box-sizing: border-box;
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	padding: 4px;
	gap: 8px;
	position: absolute;
	width: 40px;
	height: 40px;
	border: 1px solid #D5C6AD;
	border-radius: 6px;
	background:#FFFCF6;

}

.product-card__favorite:hover {
    background: #fff;
    border-color: #D5C6AD;
    transform: scale(1.1);
}

.product-card__favorite--active .favorite-btn__path{
    fill: #D5C6AD;
}

/* Изображение товара */
.product-card__image-container {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.product-card__image-link {
    display: block;
    width: 100%;
    height: 100%;
}

.product-card__image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.product-card__image:hover {
    transform: scale(1.05);
}

/* Бейдж "Хит продаж" */
.product-card__badge {
    position: absolute;
    bottom: 0px;
    left: 12px;
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	padding: 8px;
	gap: 8px;
	width: 135px;
	height: 40px;
	background: #D5C6AD;
	border-radius: 8px;
    z-index: 2;
	font-family: 'Geologica';
	font-style: normal;
	font-weight: 400;
	font-size: 20px;
	line-height: 120%;
	display: flex;
	align-items: center;
	color: #373449;
}

.product-card__image{
	position: absolute;
    width: 212px;
    height: 223px;
    left: 0px;
    right: 0px;
    margin: 0 auto;
}

/* Мета-информация */
.product-card__meta {
    padding: 12px 12px 0;
}

.product-card__meta-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
	font-family: 'Geologica';
	font-style: normal;
	font-weight: 400;
	font-size: 16px;
	line-height: 120%;
	color: #373449;
}

.product-card__package-info {
	margin: 0 auto;
	width: 307.75px;
	height: 19px;
	font-family: 'Geologica';
	font-style: normal;
	font-weight: 400;
	font-size: 16px;
	line-height: 120%;
	font-feature-settings: 'tnum' on, 'lnum' on;
	color: #75728D;
	flex: none;
	order: 0;
	flex-grow: 1;
}

.product-card__rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: #DC8D0D;
}

.product-card__rating-icon {
    flex-shrink: 0;
}

/* Название товара */
.product-card__title {
	line-height:15px;
    padding: 8px 12px 0;
    margin: 0;
	height: 46px;
	font-family: 'Geologica';
	font-style: normal;
	font-weight: 400;
	font-size: 20px;
	line-height: 120%;
	color: #373449;
	flex: none;
	align-self: stretch;
	flex-grow: 0;
}

.product-card__title-link {
	height: 46px;
	font-family: 'Geologica';
	font-style: normal;
	font-weight: 400;
	font-size: 20px;
	line-height: 120%;
	color: #373449;
	flex: none;
	order: 1;
	align-self: stretch;
	flex-grow: 0;
	text-decoration:none;

}

.product-card__title-link:hover {
    color: #373449;
}

/* Нижний блок */
.product-card__footer {
    padding: 0 12px 12px;
    width: -webkit-fill-available;
}

/* Секция цены */
.product-card__price-section {
    min-height: 40px;
}

.product-card__price-container {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.product-card__price {
    display: flex;
    align-items: center;
    gap: 8px;
}

.product-card__price span:first-child {
	height: 30px;
	font-family: 'Geologica';
	font-style: normal;
	font-weight: 500;
	font-size: 24px;
	line-height: 30px;
	text-transform: uppercase;
	color: #373449;
	flex: none;
	order: 0;
	flex-grow: 0;
}

.product-card__price-regular {
    font-size: 18px;
    font-weight: 700;
    color: #333;
}

.product-card__price-old {
    position: relative;
}

.product-card__price-original {
    font-size: 14px;
    color: #6c757d;
    text-decoration: line-through;
}

/* Скидка в процентах */
.product-card__discount {
	margin: 0 auto;
	width: auto;
	height: 24px;
	font-family: 'Geologica';
	font-style: normal;
	font-weight: 400;
	font-size: 20px;
	line-height: 120%;
	text-align: right;
	color: #FF0000;
	flex: none;
	order: 1;
	flex-grow: 0;

}

/* Управление корзиной */
.product-card__cart-control {
    display: flex;
    gap: 8px;
    margin-top: 8px;
	flex-wrap: nowrap;
}
.product-item{
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding: 10px;
	gap: 15px;
	width: calc(100%/4 - 12px);
	/*width: 418.75px;*/
	height: 477px;
	background: #FFFCF6;
	border: 2px solid #F5EEE0;
	border-radius: 20px;
	flex: none;
	order: 0;
	flex-grow: 0;
}
.product-card__price-section{
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: baseline;
	padding: 0px;
	gap: 12px;
	width:100%;
	height: 30px;
	flex: none;
	align-self: stretch;
	flex-grow: 0;
}
.product-card__quantity {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	gap: 0px;
	width: auto;
	height: 48px;
	border: 1px solid #75728D;
	border-radius: 8px;
}

.product-card__quantity-btn {
	margin: 0 auto;
	width: 32px;
	height: 32px;
	background: #373449;
	border-radius: 6px;
	flex: none;
	flex-grow: 0;
	color: #FFFCF6;
}

.product-card__quantity-btn:hover:not(:disabled) {
    background: #373449;
}

.product-card__quantity-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.product-card__quantity-value {
    width: 35px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    background: #fff;
}

/* Кнопка добавления в корзину */
.product-card__add-btn {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 12px 16px;
    gap: 8px;
    width: auto;
    height: 48px;
    background: #75728D;
    border-radius: 8px;
    flex: none;
    order: 1;
    flex-grow: 0;
}
.product-card__cart-control-active .product-card__add-btn{
	border: 1px solid #75728d;
    outline: 1px solid #75728d;
}

.product-card__add-btn:hover:not(:disabled) {
    background: #373449;
}

.product-card__add-btn:active:not(:disabled) {
    background: #373449;
}

.product-card__add-btn:disabled {
    background: #6c757d;
    cursor: not-allowed;
    transform: none;
}

.product-card__add-btn--in-cart {
    background: #28a745;
}

.product-card__add-btn--in-cart:hover:not(:disabled) {
    background: #218838;
}

/*.product-card__add-btn-icon {*/
/*    display: flex;*/
/*    align-items: center;*/
/*    justify-content: center;*/
/*}*/

.product-card__add-btn-text {
	width: auto;
	height: 24px;
	font-family: 'Geologica';
	font-style: normal;
	font-weight: 400;
	font-size: 16px;
	line-height: 23px;
	color: #FFFCF6;
	flex: none;
	order: 1;
	flex-grow: 0;
}
/* Модификаторы состояния */
.product-card--loading .product-card__image {
    opacity: 0.7;
}

.product-card--out-of-stock .product-card__add-btn {
    background: #6c757d;
}

/* Анимации */
@keyframes productCardAdd {
    0% { transform: scale(1); }
    50% { transform: scale(0.95); }
    100% { transform: scale(1); }
}

.product-card--added {
    animation: productCardAdd 0.3s ease;
}

@keyframes favoriteToggle {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.product-card__favorite--toggled {
    animation: favoriteToggle 0.3s ease;
}
.woocommerce-breadcrumb{
	width: -webkit-fill-available;
    height: 19px;
    font-family: 'Geologica';
    font-style: normal;
    font-weight: 400;
    font-size: 16px !important;
    line-height: 120%;
	color: #767676 !important;
}
.woocommerce-breadcrumb a{
	color: #373449 !important;
}
.product-card__favorite svg{width: 24px;height: 24px;}
.product-card__cart-control:not(.product-card__cart-control-active) .product-card__quantity{display:none;}
.product-card__cart-control:not(.product-card__cart-control-active) .product-card__add-btn{flex:100%;    background: #373449;}
	

/* Адаптивность */
@media (min-width: 768px) and (max-width: 1000px) {
	.bestsellers-section__lists{zoom:0.7;}
}
@media (min-width: 700px) and (max-width: 767px) {
	.bestsellers-section__lists{zoom:0.65;}
}
@media (min-width: 600px) and (max-width: 699px) {
	.bestsellers-section__lists{zoom:0.6;}
}
@media (max-width: 599px) {
	.header{zoom:0.9;}
	.catalog-product__inner, .bestsellers-section__inner{padding: 1rem;}
	.product-card__add-btn-icon img{width: 16px;height: 16px;}
	
	.bestsellers-section__lists{zoom:0.9;}
	/* Лидеры продаж */
	.section__title{
		font-family: 'Geologica';
		font-style: normal;
		font-weight: 500;
		font-size: 16px;
		line-height: 20px;
		text-transform: uppercase;
		color: #373449;
	}
	.sales-widget__container{height:55px;}
	.header__action-icon img{height:24px !important;width: 24px !important;}
	.product-card__add-btn{
		width: 124px;
		height: 28px;
	}
	/* Завтра */
	.product-card__add-btn-text{
		width: auto;
		font-weight: 400;
		font-size: 11px;
		line-height: 22px;
	}
	.product-card__quantity-btn{
		margin: 0 auto;
		width: 24px;
		height: 24px;
		border-radius: 4px;
	}
	.product-card__quantity{
		padding: 2px 4px;
		gap: 8px;
		width: 124px;
		height: 32px;
		border: 0.3px solid #373449;
		border-radius: 5px;
	}
	.product-card__quantity-value{
		margin: 0 auto;
		width: 13px;
		height: 28px;

		font-family: 'Geologica';
		font-style: normal;
		font-weight: 500;
		font-size: 12px;
		line-height: 15px;
		display: flex;
		align-items: center;
		text-align: center;
	}
	.product-card__title-link,.product-card__title{
		width: auto;
		font-family: 'Geologica';
		font-style: normal;
		font-weight: 400;
		font-size: 11px;
		line-height: 14px;
		padding-top:0;      
		height: 15px;
		text-decoration:none;
	}
	.product-card__price span:first-child{
		height: 16px;
		font-family: 'Geologica';
		font-style: normal;
		font-weight: 500;
		font-size: 13px;
		line-height: 16px;
	}
	.product-card__price:nth-child(2){top:-4px;}
	.product-card__price del{
		font-size: 10px;
	}
	.product-card__discount{
		width: auto;
		height: 13px;
		font-family: 'Geologica';
		font-style: normal;
		font-weight: 400;
		font-size: 10px;
		line-height: 12px;
		display: flex;
		align-items: flex-end;
		color: #FF0000;
	}
	.product-card__price-section{
		width: -webkit-fill-available;
		display: flex;
		flex-direction: row;
		align-items: flex-end;
		padding: 0px;
		gap: 16px;
		height: 16px;
	}
	
	.product-card__meta{width: -webkit-fill-available;padding:0 12px;}
	.product-card__package-info{
		width: -webkit-fill-available;
		margin: 0 auto;
		height: 13px;
		font-family: 'Geologica';
		font-style: normal;
		font-weight: 300;
		font-size: 10px;
		line-height: 12px;
		color: #75728D;
	}
	.product-card__image-container{
		width: 140px;
		height: 97px;
	}
	.product-item{
		gap:0px;
	}
	.product-card__image{
		position: absolute;
		min-width: -webkit-fill-available;
		height: 77px;
	}
	.product-card__image-link{
		height: 77px;width: -webkit-fill-available;
	}
	.product-card__badge{
		display: flex;
		flex-direction: row;
		justify-content: center;
		align-items: center;
		padding: 2px;
		gap: 8px;

		width: 76px;
		height: 19px;
		border-radius: 3px;
		/* Хит продаж */


		font-family: 'Geologica';
		font-style: normal;
		font-weight: 400;
		font-size: 12px;
		line-height: 15px;
		/* identical to box height */
		display: flex;
		align-items: center;

		/* Primary */
		color: #373449;

	}
	.product-card__favorite{
		box-sizing: border-box;

		/* Auto layout */
		display: flex;
		flex-direction: row;
		justify-content: center;
		align-items: center;
		padding: 4px;
		gap: 8px;

		position: absolute;
		width: 24px;
		height: 24px;
		/*left: 108px;*/
		top: 8px;

		/* Beige 3 */
		border: 1px solid #D5C6AD;
		border-radius: 4px;
	}
	
	.product-card__quantity,.product-card__quantity{flex:100% !important; width: -webkit-fill-available;}
	.product-card__cart-control:not(.product-card__cart-control-active) .product-card__quantity{display:none !important;}
	.product-card__cart-control-active .product-card__add-btn{display:none !important;}
	.product-item{
		padding: 0px;
		width: 140px;
		min-width: 138px;
		max-width: 100%;
		height: 225px;
	}
	
}

.container-filter-sorf{ display:flex;float:right;justify-content: flex-end;    margin-bottom: 20px;}
/* Основные стили для контейнера */

/* Форма сортировки */
.my-woocommerce-ordering {
	
}

/* Текст "Сортировать:" */
.sorting-label {
	font-weight: 600;
	color: #333;
	font-size: 14px;
}

/* Стили для select */
.orderby-select {
	margin-top:-50px;
	float:right;
	box-sizing: border-box;
	display: flex;
	flex-direction: row;
	align-items: center;
	padding: 12px 20px;
	gap: 24px;
	width: 206px;
	height: 64px;
	border: 2px solid #F5EEE0;
	border-radius: 12px;
	flex: none;
	order: 0;
	flex-grow: 0;
	
	color: #333;
	cursor: pointer;
	min-width: 250px;
	transition: all 0.3s ease;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23333' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 15px center;
	background-size: 12px;
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	background-color:rgba(213, 198, 173, 0.03);

    margin-left:15px;
	font-family: 'Geologica';
	font-style: normal;
	font-weight: 400;
	font-size: 16px;
	line-height: 120%;
	color: #373449;
}
.product-card__title{line-height:15px !important;}

.orderby-select:hover {
	border-color: #F5EEE0;
	box-shadow: 0 0 0 1px #F5EEE0;
}

.orderby-select:focus {
	outline: none;
	border-color: #F5EEE0;
	box-shadow: 0 0 0 1px #F5EEE0;
}

/* Стили для option */
.orderby-select option {
	padding: 10px;
	font-size: 14px;
}

/* Кнопка для noscript */
.my-woocommerce-ordering .button {
	padding: 10px 20px;
	background: #007cba;
	color: white;
	border: none;
	border-radius: 6px;
	cursor: pointer;
	font-size: 14px;
	transition: background 0.3s ease;
}

.my-woocommerce-ordering .button:hover {
	background: #005a87;
}

/* Адаптивность */
@media (max-width: 768px) {
	.my-woocommerce-ordering {
		flex-direction: column;
		align-items: flex-start;
	}

	.orderby-select {
		width: 100%;
		min-width: auto;
	}

	.sorting-label {
		margin-bottom: 5px;
	}
}
/* Auto Price Slider Filter */
.woocommerce-ordering{float:right;}
    .auto-price-slider-filter {
		margin-top:-50px;
		float:right;
		box-sizing: border-box;
		display: flex;
		flex-direction: row;
		align-items: center;
		padding: 12px 20px;
		gap: 24px;
		width: 627px;
		height: 64px;
		border: 2px solid #F5EEE0;
		border-radius: 12px;
		flex: none;
		order: 0;
		flex-grow: 0;

    }
    
    /* Title section */
    .auto-price-slider-filter .price-title-section {
        min-width: 100px;
        display: flex;
        flex-direction: column;
        gap: 2px;
    }
    
    .auto-price-slider-filter .price-filter-title {
		height: 19px;
		font-family: 'Geologica';
		font-style: normal;
		font-weight: 400;
		font-size: 16px;
		line-height: 120%;
		display: flex;
		align-items: center;
		color: #373449;
		flex: none;
		order: 0;
		flex-grow: 0;
		margin:0!important;
    }
    
	.auto-price-slider-filter .price-current-value {
		display: flex;
		flex-direction: row;
		justify-content: center;
		align-items: center;
		padding: 6px 12px;
		gap: 8px;
		height: 40px;
		background: #F5EEE0;
		border-radius: 8px;
		flex: none;
		flex-grow: 0;
		font-family: 'Geologica';
		font-style: normal;
		font-weight: 400;
		font-size: 16px;
		line-height: 120%;
		color: #373449;
		margin:0!important;
    }
    
    /* Slider section */
    .auto-price-slider-filter .price-slider-section {
        flex: 1;
        min-width: 200px;
        position: relative;
        height: 100%;
        display: flex;
        align-items: center;
        padding: 0 75px 0 40px;
    }
    
    .auto-price-slider-filter .price-slider-container {
        position: relative;
        width: 100%;
        height: 24px;
        display: flex;
        align-items: center;
    }
    
    .auto-price-slider-filter .price-slider-track {
        height: 4px;
        background: #F5EEE0;
        border-radius: 2px;
        position: absolute;
        width: 100%;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .auto-price-slider-filter .price-slider-progress {
        height: 4px;
        background: #D5C6AD;
        border-radius: 2px;
        position: absolute;
        top: 50%;
        left: 0;
        transform: translateY(-50%);
        z-index: 1;
        transition: width 0.2s ease;
    }
    
    /* Slider Handle */
    .auto-price-slider-filter .price-slider-handle {
        position: absolute;
        width: 24px;
        height: 24px;
        background: #FFFFFF;
        border: 2px solid #D5C6AD;
        border-radius: 50%;
        cursor: pointer;
        top: 50%;
        transform: translate(-50%, -50%);
        z-index: 2;
        box-shadow: 0 2px 6px rgba(213, 198, 173, 0.3);
        transition: all 0.2s ease;
        user-select: none;
        touch-action: none;
    }
    
    .auto-price-slider-filter .price-slider-handle:hover {
        transform: translate(-50%, -50%) scale(1.1);
        box-shadow: 0 3px 8px rgba(213, 198, 173, 0.4);
    }
    
    .auto-price-slider-filter .price-slider-handle.dragging {
        transform: translate(-50%, -50%) scale(1.1);
        box-shadow: 0 4px 10px rgba(213, 198, 173, 0.5);
        border-width: 3px;
    }
    
    /* Price indicators on both ends */
    .auto-price-slider-filter .price-from-indicator {
        position: absolute;
        left: 10px;
        top: 50%;
        transform: translateY(-50%);
        font-family: 'Inter', sans-serif;
        font-weight: 400;
        font-size: 12px;
        color: #999999;
        white-space: nowrap;
    }
    
    .auto-price-slider-filter .price-to-indicator {
        position: absolute;
        right: -10px;
        top: 50%;
        transform: translateY(-50%);
        font-family: 'Inter', sans-serif;
        font-weight: 400;
        font-size: 12px;
        color: #999999;
        white-space: nowrap;
    }
    
    .auto-price-slider-filter .current-price-display {
        font-weight: 600;
        color: #D5C6AD;
    }
    
    /* Active Filter Indicator */
    .auto-price-slider-filter.has-active-filter {
        border-color: #D5C6AD;
        background: rgba(213, 198, 173, 0.03);
    }
    
    /* Loading state */
    .auto-price-slider-filter.applying {
        opacity: 0.8;
        pointer-events: none;
    }
    
    .auto-price-slider-filter.applying::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 20px;
        height: 20px;
        border: 2px solid rgba(245, 238, 224, 0.3);
        border-top: 2px solid #D5C6AD;
        border-radius: 50%;
        animation: priceSliderSpin 0.8s linear infinite;
        z-index: 10;
    }
    
    @keyframes priceSliderSpin {
        0% { transform: translate(-50%, -50%) rotate(0deg); }
        100% { transform: translate(-50%, -50%) rotate(360deg); }
    }
    
    /* Responsive Styles */
    @media (max-width: 768px) {
        .auto-price-slider-filter {
            flex-direction: column;
            height: auto;
            padding: 16px;
            gap: 16px;
        }
        
        .auto-price-slider-filter .price-title-section {
            width: 100%;
            min-width: auto;
            text-align: center;
        }
        
        .auto-price-slider-filter .price-slider-section {
            width: 100%;
            min-width: auto;
            height: 50px;
            padding: 0 50px;
        }
        
        .auto-price-slider-filter .price-from-indicator {
            left: -50px;
        }
        
        .auto-price-slider-filter .price-to-indicator {
            right: -50px;
        }
        
        .auto-price-slider-filter .price-slider-container {
            height: 30px;
        }
    }




