


@font-face {
	font-family: 'Fixel Text';
	src: url('../fonts/fixeltext/FixelText-Medium.eot');
	src: local('Fixel Text Medium'), local('FixelText-Medium'),
		url('../fonts/fixeltext/FixelText-Medium.eot?#iefix') format('embedded-opentype'),
		url('../fonts/fixeltext/FixelText-Medium.woff2') format('woff2'),
		url('../fonts/fixeltext/FixelText-Medium.woff') format('woff'),
		url('../fonts/fixeltext/FixelText-Medium.ttf') format('truetype');
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Fixel Text';
	src: url('../fonts/fixeltext/FixelText-Regular.eot');
	src: local('Fixel Text Regular'), local('FixelText-Regular'),
		url('../fonts/fixeltext/FixelText-Regular.eot?#iefix') format('embedded-opentype'),
		url('../fonts/fixeltext/FixelText-Regular.woff2') format('woff2'),
		url('../fonts/fixeltext/FixelText-Regular.woff') format('woff'),
		url('../fonts/fixeltext/FixelText-Regular.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
	font-display: swap;
}





:root {
	--accent: #222;
	--text: #162C46;
	--gray: #999;
	--light-gray: #EEEEEE;
	--bg: #ffffff;
	--red: #B30014;
	--bg-secondary: #f8f9fa;
	--border: #e9ecef;
	--olive: #857F55;
	--light-bamboo: #EEE3BE;

	/* Typography */
	--regular-text: 1rem;
	/* Базовый размер шрифта (14px) */
	--lineheight: 1.3;
	/* Межстрочный интервал */
	--userfont: Fixel Text, sans-serif;
	/* Основной шрифт */
	--systemfont: -apple-system, BlinkMacSystemFont, Arial, sans-serif;
	/* Системный шрифт */
}


/* ========================================
   GLOBAL STYLES & RESET
   ======================================== */

html {
	scroll-behavior: smooth;
	/* clip не создаёт scroll-containment — sticky header работает; hidden ломает position: sticky */
	overflow-x: clip;
}

/* Псевдоэлементы и базовые стили */
::placeholder {
	color: #1b1843;
	font-weight: normal;
	font-size: 0.875rem;
	line-height: 1.5625rem;
}

a:hover {
	color: var(--red);
}

a:focus,
a:focus-visible,
a:focus-within,
a:active {
	text-decoration: none;
	outline: none;
	border: none;
	box-shadow: none;
	box-sizing: border-box;
	box-shadow: none;
	box-shadow: none;
}

/* Эффект нажатия для ссылок на телефонах и планшетах */
@media (hover: none) and (pointer: coarse) {
	a {
		-webkit-tap-highlight-color: transparent;
		transition: opacity 0.15s ease, transform 0.15s ease;
	}
	a:active {
		opacity: 0.75;
		transform: scale(0.88);
	}
}

/* Формы и инпуты */
input,
textarea {
	outline: none;
}

/* Валидация форм */
input:focus:required:invalid,
textarea:focus:required:invalid {
	border-color: red;
}

input:required:valid,
textarea:required:valid {
	border-color: green;
}

/* Основные стили body */
body {
	font-family: var(--userfont);
	font-size: var(--regular-text);
	line-height: var(--lineheight);
	color: var(--text);
	background: #f9f9fc;
	font-weight: 400;
	min-width: 20rem;
	word-break: break-word;
	position: relative;
	overflow-x: clip;
	scroll-behavior: smooth;
}

/* ========================================
   UTILITY CLASSES & COMMON ELEMENTS
   ======================================== */

/* Изображения */
img {
	max-width: 100%;
}

/* Списки */
ul {
	margin-bottom: 0;
}

/* Кнопки */
button {
	text-decoration: none;
}

/* Ссылки */
a {
	display: inline-block;
	transition: .25s;
	text-decoration: none;
}


/* ========================================
   COMPONENTS & UI ELEMENTS
   ======================================== */
.container {
	width: 90rem;
	max-width: 100%;
	position: relative;
	display: block;
	margin: 0 auto;
	padding: 0 1.25rem;
}


header {
	background: #fff;
	position: sticky;
	top: 0;
	z-index: 999;
}

#top-header {
	padding: 0.25rem 0;
	background: var(--text);
	color: #fff;
	border-bottom: 1px solid var(--light-gray);
}

.top-header-info {
	font-size: 0.875rem;
	font-weight: 300;
	color: #fff;
	text-align: center;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: .25rem 0;
}

.top-header-marquee-wrap {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	flex: 1;
	min-width: 0;
	overflow: hidden;
	margin-right: 30px;
}

.top-header-marquee-icon {
	height: 25px;
	width: auto;
	flex-shrink: 0;
}

.top-header-marquee {
	display: inline-flex;
	white-space: nowrap;
	animation: top-header-marquee 15s linear infinite;
}

.top-header-marquee-block {
	display: inline-flex;
	align-items: center;
}

.top-header-marquee a,
.top-header-marquee span {
	color: #fff;
	padding: 0 10px;
}

.top-header-marquee a:hover {
	color: var(--red);
}

.top-header-marquee-fallback {
	margin: 0;
	display: flex;
	align-items: center;
}

.top-header-marquee-fallback a {
	color: #fff;
}

.top-header-marquee-fallback a:hover {
	color: var(--red);
}

@keyframes top-header-marquee {
	0% {
		transform: translateX(0);
	}
	100% {
		transform: translateX(-50%);
	}
}

.top-header-info p {
	margin-bottom: 0;
	margin-top: 0;
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.top-header-info p svg {
	height: 25px;
	width: auto;
}

.top-header-info p a {
	color: var(--text);
}
.top-header-info p a:hover {
	color: var(--red);
}



.lang-switcher {
	display: flex;
	gap: 0.5rem;
}

.lang-switcher a {
	color: var(--gray);
	font-size: 0.875rem;
	font-weight: 300;
	text-decoration: none;
	border-bottom: none;
	display: inline-block;
	transition: color 0.3s ease;
}

.lang-switcher a.active,
.lang-switcher a:hover {
	color: #fff;
}

.header-phone {
	display: flex;
	align-items: center;
	gap: 8px;
	color: #fff;
	font-size: 0.875rem;
	font-weight: 500;
	text-decoration: none;
	transition: color 0.3s ease;
}

.header-phone:hover {
	color: var(--red);
}

.header-phone svg {
	width: 14px;
	height: 14px;
	flex-shrink: 0;
}

/* Footer language switcher */
.footer-lang-switcher {
	display: flex;
	gap: 0.75rem;
}

.footer-lang-switcher a {
	color: rgba(255, 255, 255, 0.6);
	font-size: 0.875rem;
	font-weight: 400;
	text-decoration: none;
	transition: color 0.3s ease;
	padding: 5px 10px;
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: 4px;
}

.footer-lang-switcher a.active,
.footer-lang-switcher a:hover {
	color: #fff;
	border-color: #fff;
}

.header-wrap {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-top: 1.25rem;
	padding-bottom: 0;
}

.header-left {
	display: flex;
	align-items: center;
	gap: 4.25rem;
}

.header-logo {
	width: 100%;
	max-width: 60px;
	display: block;
}

.header-logo img {
	width: 100%;
	max-width: 100%;
	display: block;
}

.header-logo .menu-icon {
	display: none;
}

.header-info-menu ul {
	display: flex;
	gap: 1.75rem;
	list-style-type: none;
	padding-left: 0;
}

.header-info-menu ul li {
	margin-bottom: 0;
}

.header-info-menu ul li a {
	color: var(--text);
	font-size: .875rem;
	font-weight: 300;
	text-decoration: none;
	border-bottom: 1px solid transparent;
	transition: border-color 0.3s ease;
}

.header-info-menu ul li a:hover {
	border-color: var(--text);
}

.header-actions {
	display: flex;
	align-items: center;
	gap: 1.25rem;
}

.header-actions img {
	cursor: pointer;
	height: 20px;
	transition: opacity 0.3s ease;
}

.header-actions img:hover {
	opacity: 0.6;
}

.cart-icon {
	position: relative;
}

.cart-icon span.count,
.wishlist-icon span.count {
	position: absolute;
	bottom: -5px;
	right: -8px;
	background: var(--red);
	color: #fff;
	font-size: 0.45rem;
	width: 15px;
	height: 15px;
	line-height: 15px;
	text-align: center;
	font-weight: 500;
	border-radius: 50%;
}

.wishlist-icon span.count:empty {
	display: none;
}

.wishlist-icon {
	position: relative;
}
header .header-actions .search-icon{
	border: 1px solid var(--text);
padding: 7px 10px;
width: 210px;
display: flex;
justify-content: space-between;
border-radius: 23px;
cursor: pointer;
}

header .header-actions .search-icon span {
	font-size: 0.875rem;
	font-weight: 300;
	opacity: 0.5;
	color: var(--text);
}

/* Ефект відтиску при натисканні в хедері — тільки на телефонах */
@media (max-width: 991px) {
	header .header-logo a {
		display: inline-block;
		transition: transform 0.15s ease, opacity 0.15s ease;
	}
	header .header-logo a:active {
		transform: scale(0.92);
		opacity: 0.85;
	}
	header .header-logo .menu-icon {
		transition: transform 0.15s ease, opacity 0.15s ease;
	}
	header .header-logo .menu-icon:active {
		transform: scale(0.88);
		opacity: 0.75;
	}

	
	header .header-actions .search-icon,
	header .header-actions .wishlist-icon,
	header .header-actions .login-icon,
	header .header-actions .cart-icon {
		transition: transform 0.15s ease, opacity 0.15s ease;
	}
	header .header-actions .search-icon:active,
	header .header-actions .wishlist-icon:active,
	header .header-actions .login-icon:active,
	header .header-actions .cart-icon:active {
		transform: scale(0.88);
		opacity: 0.75;
	}
	header .header-actions .search-icon:active img,
	header .header-actions .wishlist-icon:active img,
	header .header-actions .login-icon:active img,
	header .header-actions .cart-icon:active img {
		opacity: 0.85;
	}
	#top-header .header-phone {
		transition: transform 0.15s ease, opacity 0.15s ease;
	}
	#top-header .header-phone:active {
		transform: scale(0.96);
		opacity: 0.85;
	}
}

/* Скрываем шапку мобильного меню и оверлей на десктопе */
.mobile-menu-header,
#menu-overlay {
	display: none;
}

#main-nav {
	z-index: 1000;
	transition: all 0.3s ease;
	top: 0;
	left: 0;
	background: #fff;
	right: 0;
	z-index: 1000;
}


#main-nav.fixed {
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	padding-top: 15px;
	padding-bottom: 10px;
	background: rgba(255, 255, 255, 0.7);
	backdrop-filter: blur(10px);
	position: fixed;

}


#main-nav ul {
	display: flex;
	gap: 1rem;
	justify-content: center;
	list-style-type: none;
	padding-left: 1.5rem;
}

#main-nav ul li {
	margin-bottom: 0;
	position: relative;

	padding-right: 0;
}
#main-nav ul li.brands-az-item {
	display: none;
}

#main-nav ul li a {
	color: var(--text);
	font-size: 1rem;
	padding-right: 1.3rem;
	text-decoration: none;
	padding-bottom: .75rem;
	border-bottom: none;
}

#main-nav ul li a:hover,
#main-nav ul li ul li a:hover {
	color: var(--red);
}

#main-nav ul li.special-item a {
	color: var(--red);
	font-weight: 500;
}


#main-nav ul.level-1 {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	width: 100%;
	background: #fff;
	z-index: 1000;
	margin: 0;
	min-width: 280px;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	flex-direction: column;
	gap: 0;
}

#main-nav ul.level-1 li,
#main-nav ul.level-2 li,
#main-nav ul.level-3 li {
	padding: 0;
	padding-right: 0px;
}

#main-nav ul.level-1 li a,
#main-nav ul.level-2 li a,
#main-nav ul.level-3 li a {
	display: block;
	text-decoration: none;
	border-bottom: none;
	color: var(--text);
	padding: 10px 1.3rem 10px 10px;
	font-size: 0.875rem;
	font-weight: 300;
	text-decoration: none;
	transition: border-color 0.3s ease;
}

#main-nav ul.level-2 {
	display: none;
	position: absolute;
	top: 0;
	left: 100%;
	background: #fff;
	z-index: 1001;
	margin: 0;
	min-width: 280px;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	flex-direction: column;
	gap: 0;
}



#main-nav ul.level-3 {
	display: none;
	position: absolute;
	top: 0;
	left: 100%;
	background: #fff;
	z-index: 1002;
	margin: 0;
	min-width: 240px;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	flex-direction: column;
	gap: 0;
}

#main-nav ul li.has-children {
	position: relative;
	padding-right: 0;
}

#main-nav ul.level-1 li.has-children,
#main-nav ul.level-2 li.has-children {
	padding-right: 1.5rem;
}

#main-nav ul li.has-children>a::after {
	content: '';
	display: block;
	position: absolute;
	top: calc(50% - 4.5px);
	width: 15px;
	height: 15px;
	right: 0px;
	transform: translateY(-50%);
	background-image: url('../images/icons/arrow-down.svg');
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	transition: transform 0.3s ease;
}


.fss__overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(255, 255, 255, 0.85);
	backdrop-filter: blur(10px);
	z-index: 9999;
	display: flex;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.4s ease;
}
.fss__overlay.fss__active {
	opacity: 1;
	pointer-events: auto;
}

.fss__container {
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	padding: 20px;
	padding-top: 100px;
	box-sizing: border-box;
	transform: translateY(30px);
	transition: transform 0.4s ease;
}

.fss__overlay.fss__active .fss__container {
	transform: translateY(0);
}

.fss__close__btn {
	position: absolute;
	top: 30px;
	right: 30px;
	background: none;
	border: 1px solid var(--text);
	font-size: 24px;
	cursor: pointer;
	color: var(--text);
	line-height: 1;
	padding: 0;
	width: 50px;
	height: 50px;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transition: transform 0.3s, opacity 0.4s ease 0.2s, background 0.3s;
	border-radius: 0;
}

.fss__overlay.fss__active .fss__close__btn {
	opacity: 1;
}

.fss__close__btn:hover {
	transform: rotate(90deg);
	background: var(--text);
	color: #fff;
}

.fss__form {
	width: 100%;
	max-width: 600px;
}

.fss__input__wrapper {
	position: relative;
	width: 1100px;
	max-width: 100%;
	border: 1px solid var(--text);
	overflow: hidden;
}

.fss__search__input {
	width: 100%;
	padding: 20px 60px 20px 20px;
	font-size: 24px;
	border: none;
	background: transparent;
	outline: none;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	box-sizing: border-box;
	color: var(--text);
	background: #fff;
	margin: 0;
	display: block;
}

.fss__search__input::placeholder {
	color: rgba(0, 0, 0, 0.3);
}

.fss__search__icon__btn {
	position: absolute;
	right: 20px;
	top: 50%;
	transform: translateY(-50%);
	background: none;
	border: none;
	padding: 0;
	cursor: pointer;
	transition: opacity 0.3s;
	display: flex;
	align-items: center;
	justify-content: center;
}

.fss__search__icon__btn:hover {
	opacity: 0.6;
}

.fss__search__icon {
	width: 24px;
	height: 24px;
	color: var(--text);
}

/* ========================================
   AJAX SEARCH RESULTS
   ======================================== */
.ajax-search-results {
	display: none;
	position: relative;
	width: 1100px;
	max-width: 100%;
	max-height: 500px;
	overflow-y: auto;
	background: #fff;
	border: 1px solid var(--text);
	border-top: none;
	margin-top: -1px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.ajax-search-list {
	padding: 10px 0;
}

.ajax-search-item {
	display: flex;
	align-items: center;
	gap: 15px;
	padding: 12px 20px;
	text-decoration: none;
	color: var(--text);
	transition: background-color 0.2s;
	border-bottom: 1px solid #f0f0f0;
}

.ajax-search-item:hover {
	background-color: #f9f9f9;
}

.ajax-search-item:last-child {
	border-bottom: none;
}

.ajax-search-image {
	flex-shrink: 0;
	width: 50px;
	height: 50px;
	overflow: hidden;
	border-radius: 4px;
}

.ajax-search-image img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.ajax-search-info {
	flex: 1;
	min-width: 0;
}

.ajax-search-name {
	font-size: 14px;
	font-weight: 500;
	margin-bottom: 5px;
	color: var(--text);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.ajax-search-price {
	font-size: 14px;
	display: flex;
	gap: 8px;
	align-items: center;
}

.ajax-search-price .price {
	font-weight: 600;
	color: var(--text);
}

.ajax-search-price .price-new {
	font-weight: 600;
	color: var(--red);
}

.ajax-search-price .price-old {
	text-decoration: line-through;
	color: #999;
	font-size: 13px;
}

.ajax-search-all {
	display: block;
	padding: 15px 20px;
	text-align: center;
	background: #f9f9f9;
	color: var(--red);
	text-decoration: none;
	font-weight: 500;
	border-top: 1px solid #f0f0f0;
	transition: background-color 0.2s;
}

.ajax-search-all:hover {
	background: #f0f0f0;
	color: var(--red);
}

.ajax-search-empty {
	padding: 30px 20px;
	text-align: center;
	color: #999;
	font-size: 14px;
}
#promo-slider {
	max-height: 727px;
	position: relative;
}
.swiper.swiper-promo {
	height: auto;
}
#promo-slider.banner-item-0 {
	background: #fff;
}
#promo-slider a {
	display: block;
	width: 100%;
}
#promo-slider img {
	width: 100%;
	height: auto;
}

#promo-slider .bt {
	margin-bottom: 30px;
}

.pc {
	display: block;
}

.mobile {
	display: none;
}

#block-products {
	padding: 1rem 0;
}

.bt {
	text-align: center;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	text-transform: uppercase;
	font-size: 1.85rem;
	font-weight: 500;
	color: var(--text);
	gap: 1rem;
}

.swiper {
	width: 100%;
	height: 100%;
}


/* Общие стили стрелок */
.swiper-button-next,
.swiper-button-prev {
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: #383838;
	border: 1px solid #383838;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: .2;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 10;

	transition: 0.25s;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
	opacity: .8;
}

/* Стрелка слева */
.swiper-button-prev {
	left: -40px;
	/* можно настроить */
}

/* Стрелка справа */
.swiper-button-next {
	right: -40px;
	/* можно настроить */
}

/* Иконки стрелок */
.swiper-button-next::after,
.swiper-button-prev::after {
	font-size: 16px;
}

/* Пагинация */
.swiper-pagination {
	position: relative;
	margin-top: 20px;
}

.swiper-pagination-bullet {
	width: 8px;
	height: 8px;
	background: #c1c1c1;
	opacity: 1;
	transition: 0.3s;
}

.swiper-pagination-bullet-active {
	background: #383838;
	width: 20px;
	border-radius: 4px;
}



.products-list {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	margin-top: 30px;
	position: relative;
}

.swiper-products .swiper-wrapper,
.swiper-products-2 .swiper-wrapper {
	display: flex;
	align-items: stretch;
}

.swiper-products .swiper-slide,
.swiper-products-2 .swiper-slide {
	display: flex;
	align-items: stretch;
	height: auto;
}

.swiper-products .swiper-slide .product-item,
.swiper-products-2 .swiper-slide .product-item {
	display: flex;
	flex-direction: column;
	width: 100%;
	height: 100%;
	flex: 1;
}


.product-item a.product-image {
	display: block;
	height: 175px;
	margin-bottom: 20px;
	overflow: hidden;
	position: relative;
}

.product-item a.product-image img {
	width: 100%;
	height: 100%;
	
	display: block;
	object-fit: contain;
	object-position: bottom center;
}

.product-item a.product-image .product-image-main,
.product-item a.product-image .product-image-hover {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	transition: opacity 0.3s ease-in-out;
}

.product-item a.product-image .product-image-main {
	opacity: 1;
	z-index: 1;
}

.product-item a.product-image .product-image-hover {
	opacity: 0;
	z-index: 2;
}

.product-item:hover a.product-image:has(.product-image-hover) .product-image-main {
	opacity: 0;
}

.product-item:hover a.product-image .product-image-hover {
	opacity: 1;
}

.product-labels {
	position: absolute;
	top: 0px;
	left: 0px;
	display: flex;
	flex-direction: column;
	gap: 6px;
	z-index: 2;
}

.product-label {
	display: inline-block;
	padding: 4px 10px;
	font-size: 0.75rem;
	font-weight: 500;
	font-family: var(--userfont);
	border-radius: 4px;
	line-height: 1.2;
	width: fit-content;
	white-space: nowrap;
}

.label-hit {
	background: var(--light-bamboo);
	color: var(--text);
}

.label-sale {
	background: var(--red);
	color: var(--bg);
}

.label-new {
	background: var(--olive);
	color: var(--bg);
}

.label-out {
	background: #6c757d;
	color: var(--bg);
}

.product-title {
	font-size: 14px;
	font-weight: 500;
	text-align: center;
	color: var(--text);
	margin-bottom: 10px;
	flex-shrink: 0;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	/* Максимум 3 строки */
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
	word-break: break-word;
	/* чтобы длинные слова переносились */
}

.product-price {
	display: flex;
	align-items: center;
	gap: 10px;
	justify-content: center;
	font-family: Montserrat, sans-serif;
}

.product-price .price {
	font-size: 13px;
	color: var(--text);
}

.product-price .price-old {
	color: var(--gray);
	font-size: 14px;
	text-decoration: line-through;
	line-height: 1;
}


.product-price-sale .price {
	color: var(--red);
}

.product-item {
	padding: 10px;
	background: #fff;
	padding-bottom: 75px;
	transition: 0.3s;
	position: relative;
	overflow: hidden;
	border-radius: 4px;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
}

.product-item.out-of-stock {
	opacity: 0.6;
	filter: grayscale(60%);
}

.product-item.out-of-stock:hover {
	transform: none;
	opacity: 0.7;
}


.swiper-products .swiper-slide .product-item {
	height: 100%;
}

.product-item:hover {
	transform: translateY(-4px);
}

.product-item:hover a.product-title {
	color: var(--red);
}

.product-item a:hover {
	color: var(--text);
}

.product-item:hover .product-actions {
	transition: 0.3s;
}

.product-item .product-actions {
	display: flex;
	gap: 10px;
	align-items: center;
	justify-content: center;
	position: absolute;
	bottom: 10px;
	left: 0;
	width: 100%;
	padding: 0 10px;
	transition: 0.3s;
}

.product-item .product-actions .btn-buy-small {
	height: 37px;
background: #fff;
border: 1px solid var(--text);
border-radius: 4px;
color: var(--text);
	width: 100%;
	line-height: 1;
	max-width: none;
	transition: 0.3s;
}

.product-item .product-actions .btn-buy-small:hover, .product-item:hover .product-actions .btn-buy-small {
	background: var(--text);
	color: #fff;
}

.product-item .product-actions .btn-buy-small.active {
	background: var(--text);
	color: #fff;
}

.product-item .product-actions .btn-buy-small.btn-disabled {
	background: #f5f5f5;
	border-color: #ddd;
	color: #999;
	cursor: not-allowed;
	font-size: 0.75rem;
}

.product-item .product-actions .btn-buy-small.btn-disabled:hover,
.product-item:hover .product-actions .btn-buy-small.btn-disabled {
	background: #f5f5f5;
	border-color: #ddd;
	color: #999;
}

/* ПК: кнопка «Купить» снизу, показывается при наведении (visibility, сетка не прыгает) */
@media (min-width: 768px) {
	.product-item .product-actions {
		flex-direction: column;
		align-items: stretch;
		gap: 10px;
	}
	.product-item .product-actions .btn-buy-small {
		visibility: hidden;
		pointer-events: none;
		transition: visibility 0.2s ease, background 0.3s, color 0.3s;
	}
	.product-item:hover .product-actions .btn-buy-small {
		visibility: visible;
		pointer-events: auto;
	}
	.product-item .product-actions .btn-buy-small.active {
		visibility: visible;
		pointer-events: auto;
	}
	.product-item .product-actions .btn-buy-small.btn-disabled {
		visibility: hidden;
		pointer-events: none;
	}
	.product-item:hover .product-actions .btn-buy-small.btn-disabled {
		visibility: visible;
		pointer-events: auto;
	}
}

.mt-50 {
	margin-top: 50px;
}

.mb-50 {
	margin-bottom: 50px;
}

#cat-products,
#special-products {
	padding: 1.5rem 0;
}

#cat-products .bt,
#special-products .bt {
	margin-bottom: 30px;
}

#cat-products .bt  a,
#special-products .bt  a {
	color: var(--text);
	text-decoration: none;
	transition: 0.3s;
}

#cat-products .bt  a:hover,
#special-products .bt  a:hover {
	color: var(--red);
}

#cat-products .product-list,
#special-products .product-list {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 10px;
}


.see-all {
	height: 37px;
	border: 1px solid var(--text);
	border-radius: 4px;
	background: var(--text);
	width: 100%;
	padding: 0 30px;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	width: fit-content;
	line-height: 1;
	max-width: none;
	transition: 0.3s;
	margin: 20px auto;
}



#blog-latest .swiper-blog {
	margin-top: 50px;
}

#blog-latest .swiper-blog .swiper-wrapper {
	display: flex;
	align-items: stretch;
}

#blog-latest .swiper-blog .swiper-slide {
	height: auto;
	display: flex;
}

.blog-post {
	display: flex;
	flex-direction: column;
	gap: 10px;
	background: #fff;
	padding: 20px;
	border-radius: 4px;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	height: 100%;
	width: 100%;
}

.blog-post:hover {
	transform: translateY(-4px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.blog-post img {
	width: 100%;
	height: 250px;
	display: block;
	object-fit: cover;
	object-position: center;
	border-radius: 4px;
}

.blog-post .blog-title {
	font-size: 1.15rem;
	font-weight: 500;
	color: var(--text);
	text-decoration: none;
	line-height: 1.4;
	transition: color 0.3s ease;
}

.blog-post .blog-title:hover {
	color: var(--red);
}

.blog-post .blog-date {
	font-size: 0.875rem;
	color: var(--gray);
	font-weight: 300;
}

.blog-post .blog-content {
	color: var(--text);
	font-family: var(--userfont);
	font-size: 0.875rem;
	font-weight: 300;
	line-height: 1.6;
}

.blog-post .blog-content p {
	margin-bottom: 0;
}

.blog-post .blog-content p:last-child {
	margin-bottom: 0;
}

/* Review Latest Module */
#review-latest .swiper-review-latest {
	margin-top: 50px;
}

#review-latest .swiper-review-latest .swiper-wrapper {
	display: flex;
	align-items: stretch;
}

#review-latest .swiper-review-latest .swiper-slide {
	height: auto;
	display: flex;
}

.review-post {
	display: flex;
	flex-direction: column;
	gap: 12px;
	background: #fff;
	padding: 20px;
	border-radius: 4px;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	height: 100%;
	width: 100%;
}

.review-post:hover {
	transform: translateY(-4px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.review-post .review-product-link {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	text-decoration: none;
	color: var(--text);
	transition: color 0.3s ease;
}

.review-post .review-product-link:hover {
	color: var(--red);
}

.review-post .review-product-thumb {
	width: 40px;
	height: 40px;
	object-fit: cover;
	border-radius: 4px;
	flex-shrink: 0;
}

.review-post .review-product-name {
	font-size: 0.95rem;
	font-weight: 500;
	line-height: 1.3;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	flex: 1;
	min-width: 0;
}

.review-post .review-rating-stars {
	display: flex;
	gap: 2px;
}

.review-post .review-rating-stars .star {
	font-size: 1rem;
	color: #ddd;
	line-height: 1;
}

.review-post .review-rating-stars .star.filled {
	color: #FDB64E;
}

.review-post .review-text {
	color: var(--text);
	font-family: var(--userfont);
	font-size: 0.875rem;
	font-weight: 300;
	line-height: 1.6;
	flex-grow: 1;
}

.review-post .review-text p {
	margin-bottom: 0;
}

.review-post .review-meta {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 0.8rem;
	color: var(--gray);
	font-weight: 300;
}

.review-post .review-author {
	font-style: italic;
}
/* Carousel Brands (логотипи брендів) */
.carousel-brands .swiper-carousel {
	margin-top: 50px;
}

.carousel-brands .swiper-button-next, .carousel-brands .swiper-button-prev {
	top: 85%;
}

.carousel-brands .swiper-carousel .swiper-wrapper {
	display: flex;
	align-items: stretch;
}

.carousel-brands .swiper-carousel .swiper-slide {
	height: auto;
	display: flex;
}

.carousel-brand-item {
	display: flex;
	align-items: center;
	justify-content: center;
	background: #fff;
	padding: 10px;
	border-radius: 4px;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	height: 100%;
	width: 100%;
}

.carousel-brand-item:hover {
	transform: translateY(-4px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.carousel-brand-link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	text-decoration: none;
}

.carousel-brand-link img {
	max-width: 100%;
	height: auto;
	max-height: 80px;
	object-fit: contain;
	transition: filter 0.3s ease, opacity 0.3s ease;
}


article {
	padding: 72px 104px 80px 104px;
	background: #fff;
}

article ul {
	margin: 0 0 24px 0;
	color: #727178;
	line-height: 24px;
}

article h1 {
	color: var(--text);
	font-size: 26px;
	font-weight: 500;
	line-height: 32px;
	text-align: center;
	margin-bottom: 24px;
}

article h2,
article h3,
article h4,
article h5,
article h6 {
	margin: 0 0 24px 0;
	color: var(--text);
	font-size: 16px;
	font-weight: 600;
	line-height: 24px;
}

article p {
	margin: 0 0 24px 0;
	color: #727178;
	line-height: 24px;
}

article strong {
	color: var(--text);
}

article a {
	color: var(--text);
	border-bottom: 1px solid var(--text);
	transition: border-color 0.3s ease;
}

article a:hover {
	color: var(--text);
	border-color: transparent;
}

#text-block {
	margin-bottom: 50px;
}

/* Text block toggle styles */
#text-block .text-content-wrapper {
	position: relative;
	overflow: hidden;
	max-height: 300px;
	transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

#text-block .text-content-wrapper::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 60px;
	background: linear-gradient(to bottom, transparent, #fff);
	pointer-events: none;
	opacity: 1;
	transition: opacity 0.3s ease;
}

#text-block .text-content-wrapper.expanded::after {
	opacity: 0;
}

#text-block .text-toggle-btn {
	display: block;
	margin: 20px auto 0;
	padding: 12px 24px;
	background: transparent;
	border: 1px solid var(--text);
	color: var(--text);
	font-family: var(--userfont);
	font-size: 0.875rem;
	cursor: pointer;
	transition: all 0.3s ease;
	display: flex;
	border-radius: 4px;
	align-items: center;
	gap: 8px;
}

#text-block .text-toggle-btn:hover {
	background: var(--text);
	color: var(--bg);
}

#text-block .text-toggle-icon {
	display: inline-block;
	transition: transform 0.3s ease;
	font-size: 0.75rem;
}

#text-block .text-content-wrapper.expanded~.text-toggle-btn .text-toggle-icon {
	transform: rotate(180deg);
}

#text-block .text-toggle-text {
	font-size: 0.875rem;
}

#text-block .text-toggle-collapse {
	display: none;
}

#text-block .text-content-wrapper.expanded~.text-toggle-btn .text-toggle-expand {
	display: none;
}

#text-block .text-content-wrapper.expanded~.text-toggle-btn .text-toggle-collapse {
	display: inline;
}



.machiya-footer {
	background: var(--text);
	color: var(--bg);
	padding: 60px 0 0;
	margin-top: 20px;
	font-size: var(--regular-text);
	line-height: var(--lineheight);
}

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

.footer-main-grid {
	display: grid;
	grid-template-columns: 1.2fr 1fr 1fr 1.3fr;
	gap: 40px;
	padding-bottom: 40px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand-section {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.brand-logo-circle img {
	width: 100px;
	height: 100px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.brand-description {
	font-size: 0.875rem;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.7);
	margin-top: 4px;
}

.social-links-row {
	display: flex;
	gap: 12px;
	margin-top: 8px;
}

.social-icon-link {
	width: 38px;
	height: 38px;
	background: rgba(255, 255, 255, 0.05);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--bg);
	text-decoration: none;
	transition: all 0.3s ease;
	font-size: 16px;
}

.social-icon-link:hover {
	background: rgba(255, 255, 255, 0.15);
	transform: translateY(-2px);
}

.footer-nav-column .title-b {
	font-size: 0.875rem;
	font-weight: 500;
	margin-bottom: 18px;
	color: rgba(255, 255, 255, 0.5);
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.footer-links-list {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding-left: 0;
}

.footer-link-item a {
	color: rgba(255, 255, 255, 0.85);
	text-decoration: none;
	font-size: 0.9375rem;
	transition: color 0.3s ease;
	display: inline-block;
}

.footer-link-item a:hover {
	color: var(--red);
}

.contact-info-block {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.contact-phone-link {
	color: var(--bg);
	text-decoration: none;
	font-size: 1.125rem;
	font-weight: 500;
	transition: color 0.3s ease;
}

.contact-phone-link:hover {
	color: var(--red);
}

.contact-email-link {
	color: rgba(255, 255, 255, 0.7);
	text-decoration: none;
	font-size: 0.9375rem;
	transition: color 0.3s ease;
}

.contact-email-link:hover {
	color: var(--red);
}

.messenger-links-group {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: 6px;
}

.messenger-text-label {
	font-size: 0.8125rem;
	color: rgba(255, 255, 255, 0.5);
}

.messenger-icons-row {
	display: flex;
	gap: 10px;
}

.messenger-icon-btn {
	width: 34px;
	height: 34px;
	background: rgba(255, 255, 255, 0.05);
	border-radius: 6px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--bg);
	text-decoration: none;
	font-size: 15px;
	transition: all 0.3s ease;
}

.messenger-icon-btn:hover {
	background: rgba(255, 255, 255, 0.15);
}

.working-hours-block {
	font-size: 0.875rem;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.7);
	margin-top: 6px;
}

.working-hours-title {
	font-size: 0.8125rem;
	color: rgba(255, 255, 255, 0.5);
	margin-bottom: 8px;
}

.payment-systems-area {
	padding: 28px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.payment-icons-flex {
	display: flex;
	gap: 16px;
	flex-wrap: wrap;
	align-items: center;
}

.payment-icon-box {
	height: 30px;
	padding: 0 14px;
	background: var(--bg);
	border-radius: 4px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.6875rem;
	font-weight: 600;
	color: var(--accent);
	letter-spacing: 0.5px;
}

.payment-icon-box img {
	width: auto;
	height: 45%;
}

.footer-bottom-bar {
	padding: 24px 0;
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 16px;
	font-size: 0.8125rem;
	color: rgba(255, 255, 255, 0.5);
}

.copyright-text {
	display: flex;
	gap: 20px;
	align-items: center;
	flex-wrap: wrap;
}

.legal-link {
	color: rgba(255, 255, 255, 0.5);
	text-decoration: none;
	transition: color 0.3s ease;
}

.legal-link:hover {
	color: #e6b8a2;
}


.header-page {
	padding: 24px 0;
	background: #fff;
}

#subcategories {
	padding: 10px 0;
}

.subcategories-wrapper {
	position: relative;
}

.subcategories-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: center;
	overflow: hidden;
	position: relative;
}



.subcategory-link {
	display: inline-block;
	padding: 6px 16px;
	background: #fff;
	border-radius: 4px;
	color: var(--text);
	border: 1px solid var(--border);
	text-decoration: none;
	font-size: 0.875rem;
	font-weight: 400;
	transition: 0.2s ease;
	position: relative;
	z-index: 0;
}

.subcategory-link:hover {
	color: #fff;
	background: var(--text);
	border-color: var(--text);
}

.subcategories-toggle-btn {
	display: none;
	margin: 15px auto 0;
	padding: 8px 16px;
	background: transparent;
	border: none;
	color: var(--text);
	font-size: 0.875rem;
	font-weight: 400;
	cursor: pointer;
	transition: color 0.2s ease;
	position: relative;
}

.subcategories-toggle-btn:hover {
	color: var(--accent);
}

.subcategories-toggle-text {
	display: inline-block;
}

.subcategories-toggle-text.subcategories-toggle-collapse {
	display: none;
}

.subcategories-wrapper.expanded .subcategories-toggle-text.subcategories-toggle-expand {
	display: none;
}

.subcategories-wrapper.expanded .subcategories-toggle-text.subcategories-toggle-collapse {
	display: inline-block;
}

.subcategories-toggle-icon {
	display: inline-block;
	margin-left: 6px;
	transition: transform 0.3s ease;
	font-size: 0.75rem;
}

.subcategories-wrapper.expanded .subcategories-toggle-icon {
	transform: rotate(180deg);
}

.header-page h1 {
	color: var(--text);
	font-size: 32px;
	font-weight: 500;
	
	line-height: 38px;
	text-align: center;
	margin-bottom: 0px;
	margin-top: 30px;
}

.header-page h1.header-page-title-search {
	font-size: 22px;
}

.breadcrumbs {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: flex-start;
	gap: 10px;
	color: #727178;
	font-size: 14px;
	font-weight: 300;
	width: 100%;
	overflow-x: auto;
	overflow-y: hidden;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	-ms-overflow-style: none;
}
.breadcrumbs::-webkit-scrollbar {
	display: none;
}
.breadcrumbs a,
.breadcrumbs span {
	white-space: nowrap;
	flex-shrink: 0;
}

.breadcrumbs a {
	color: #727178;
	font-size: 14px;
	font-weight: 300;
	text-decoration: none;
	white-space: nowrap;
	flex-shrink: 0;
}

.breadcrumbs a:hover {
	color: var(--text);
}

.breadcrumbs a::after {
	content: '>';
	margin-left: 10px;
	flex-shrink: 0;
}

.breadcrumbs span {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	min-width: 0;
}


.category-grid {
	display: grid;
	grid-template-columns: 280px 1fr;
	gap: 30px;
	margin: 20px 0;
}

.new-products-full .category-grid,
.bestseller-products-full .category-grid {
	grid-template-columns: 1fr;
}

.filter-block {
	background: #fff;
	padding: 24px;
	border-radius: 4px;
	position: sticky;
	top: 70px;
	z-index: 99 !important;
	height: fit-content;
}

#filter-block .ocf-btn-link {
	color: var(--text);
}

#filter-block .ocf-btn-mobile-fixed.ocf-mobile {
	display: none;
}

#filter-block .ocf-scroll-y {
	max-height: none;
	overflow: visible;
	border: none;
	padding: 0;
}

.filter-overlay {
	display: none;
}

.filter-title {
	font-size: 1.125rem;
	font-weight: 500;
	color: var(--text);
	margin: 0;
	font-family: var(--userfont);
}

.filter-header-mobile {
	display: none;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 20px;
	padding-bottom: 16px;
	border-bottom: 1px solid var(--border);
}

.filter-close-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	background: transparent;
	border: none;
	color: var(--text);
	cursor: pointer;
	padding: 0;
	transition: opacity 0.3s ease;
}

.filter-close-btn:hover {
	opacity: 0.6;
}

.filter-close-btn svg {
	width: 24px;
	height: 24px;
}

.filter-group {
	border-bottom: 1px solid var(--border);
	margin-bottom: 16px;
	padding-bottom: 16px;
}

.filter-group:last-of-type {
	border-bottom: none;
	margin-bottom: 0;
	padding-bottom: 0;
}

.filter-group-title {
	font-size: 0.9375rem;
	font-weight: 500;
	color: var(--text);
	margin: 0 0 12px 0;
	font-family: var(--userfont);
}

.filter-group-content {
	padding-top: 0;
}

.filter-checkbox {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 10px;
	cursor: pointer;
	font-size: 0.875rem;
	color: var(--text);
	font-weight: 300;
	transition: color 0.3s ease;
}

.filter-checkbox:last-child {
	margin-bottom: 0;
}

.filter-checkbox:hover {
	color: var(--accent);
}

.filter-checkbox input[type="checkbox"] {
	width: 16px;
	height: 16px;
	cursor: pointer;
	accent-color: var(--accent);
	flex-shrink: 0;
}

.filter-checkbox span {
	user-select: none;
}

.filter-price-range {
	padding-top: 8px;
}

.price-slider {
	width: 100%;
	height: 4px;
	border-radius: 2px;
	background: var(--light-gray);
	outline: none;
	-webkit-appearance: none;
	appearance: none;
	margin-bottom: 12px;
}

.price-slider::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: var(--accent);
	cursor: pointer;
	transition: background 0.3s ease;
}

.price-slider::-webkit-slider-thumb:hover {
	background: var(--text);
}

.price-slider::-moz-range-thumb {
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: var(--accent);
	cursor: pointer;
	border: none;
	transition: background 0.3s ease;
}

.price-slider::-moz-range-thumb:hover {
	background: var(--text);
}

.price-display {
	font-size: 0.875rem;
	color: var(--text);
	font-weight: 300;
}

.price-value {
	font-weight: 500;
	color: var(--accent);
}

.filter-reset {
	width: 100%;
	margin-top: 20px;
	padding: 12px 20px;
	background: transparent;
	border: 1px solid var(--text);
	color: var(--text);
	font-family: var(--userfont);
	font-size: 0.875rem;
	cursor: pointer;
	transition: all 0.3s ease;
	border-radius: 4px;
}

.filter-reset:hover {
	background: var(--text);
	color: var(--bg);
}

.products-header {
	border-radius: 4px;
	padding: 0px 0px;
	margin-bottom: 10px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
}

.products-count {
	font-size: 0.875rem;
	color: var(--text);
	opacity: .7;
	font-weight: 300;
	font-family: var(--userfont);
}

.products-count strong {
	font-weight: 500;
	color: var(--accent);
}

.btn-filter-toggle {
	display: none;
	align-items: center;
	gap: 8px;
	padding: 10px 16px;
	background: var(--bg);
	color: var(--text);
	border: 1px solid var(--border);
	border-radius: 4px;
	font-family: var(--userfont);
	font-size: 0.875rem;
	font-weight: 500;
	cursor: pointer;
	width: 100%;
	justify-content: center;
	transition: all 0.3s ease;
}

.btn-filter-toggle:hover {
	background: var(--text);
	border-color: var(--text);
	color: var(--bg);
}

.btn-filter-toggle svg {
	width: 20px;
	height: 20px;
	flex-shrink: 0;
}

.products-sort {
	display: flex;
	align-items: center;
	gap: 12px;
}

.sort-label {
	font-size: 0.875rem;
	color: var(--text);
	font-weight: 400;
	font-family: var(--userfont);
	white-space: nowrap;
}

.sort-select {
	padding: 10px 16px;
	border: 1px solid var(--border);
	border-radius: 4px;
	background: var(--bg);
	color: var(--text);
	font-family: var(--userfont);
	font-size: 0.875rem;
	font-weight: 400;
	cursor: pointer;
	outline: none;
	transition: all 0.3s ease;
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23383838' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center;
	padding-right: 40px;
	min-width: 220px;
}

.sort-select:hover {
	border-color: var(--text);
}

.sort-select:focus {
	border-color: var(--accent);
}

.category-products-list {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 10px;
}

.pagination-wrapper {
	margin-top: 60px;
	margin-bottom: 20px;
	display: flex;
	justify-content: center;
}

.pagination {
	display: flex;
	align-items: center;
	gap: 8px;
	list-style: none;
	padding: 0;
	margin: 0;
}

.pagination li {
	margin: 0;
	padding: 0;
}

.pagination li a,
.pagination li span {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	border: 1px solid var(--border);
	background: var(--bg);
	color: var(--text);
	font-family: var(--userfont);
	font-size: 0.875rem;
	font-weight: 400;
	text-decoration: none;
	border-radius: 4px;
	transition: all 0.3s ease;
}

.pagination li a:hover {
	border-color: var(--text);
	color: var(--text);
	background: var(--bg);
}

.pagination li.active span {
	background: var(--text);
	color: var(--bg);
	border-color: var(--text);
}

.pagination li.active span:hover {
	background: var(--accent);
	border-color: var(--accent);
}

.pagination li:first-child a,
.pagination li:last-child a {
	font-size: 1rem;
}

/* ========================================
   PRODUCT PAGE
   ======================================== */

#product-page {
	padding: 30px 0 60px;
}

.product-card {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
}

.product-image-column {
	position: sticky;
	top: 20px;
	height: fit-content;
	max-width: 600px;
}



.product-image-wrapper {
	position: relative;
	overflow: hidden;
}

.product-main-image {
	width: 100%;
	height: auto;
	max-width: 500px;
	object-fit: contain;
}

.product-info-column {
	display: flex;
	flex-direction: column;
	gap: 14px;
	align-self: start; /* не растягивать колонку по высоте картинки — аккордеон не уезжает вниз при "нет в наличии" */
}

.product-status {
	margin-bottom: 8px;
}

.status-badge {
	display: inline-block;
	padding: 6px 12px;
	border-radius: 4px;
	font-size: 0.8125rem;
	font-weight: 400;
	font-family: var(--userfont);
}

.status-badge.in-stock {
	background: #e8f5e9;
	color: #2e7d32;
}

.status-badge.out-of-stock {
	background: #ffebee;
	color: #B30014;
}

#product-page .product-title {
	font-size: 1.5rem;
	font-weight: 500;
	color: var(--text);
	text-align: left;
	font-family: var(--userfont);
	line-height: 1.4;
	margin: 0;
overflow: auto;
display: block;
}

.product-meta {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding-bottom: 16px;
	border-bottom: 1px solid var(--border);
}

.product-meta-item {
	display: flex;
	gap: 8px;
	font-size: 0.875rem;
	font-family: var(--userfont);
}

.meta-label {
	color: var(--gray);
	font-weight: 300;
}
.meta-label a {
	color: inherit;
	text-decoration: none;
}
.meta-label a:hover {
	text-decoration: underline;
}

.meta-value,
.meta-value a {
	color: var(--text);
	font-weight: 400;
}

.meta-value a:hover {
	color: var(--red);
}

/* Заглушка при "нет в наличии" — сохраняет высоту блока действий, аккордеон не сьезжает */
.product-out-of-stock-placeholder {
	min-height: 52px;
}

.product-accordion {
	display: flex;
	flex-direction: column;
	gap: 0;
	overflow: hidden;
}


.accordion-item:last-child {
	border-bottom: none;
}

.accordion-header {
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 16px 0px;
	background: transparent;
	border: none;
	cursor: pointer;
	font-family: var(--userfont);
	font-size: 0.9375rem;
	font-weight: 500;
	color: var(--text);
	text-align: left;
	transition: background 0.3s ease;
	border-bottom: 1px solid var(--border);
}

.accordion-arrow {
	font-size: 0.75rem;
	color: var(--gray);
	transition: transform 0.3s ease;
	display: inline-block;
	background-image: url('../images/icons/arrow-down.svg');
	background-size: 20px;
	background-repeat: no-repeat;
	background-position: center;
	width: 20px;
	height: 20px;
}

.accordion-item.active .accordion-arrow {
	transform: rotate(180deg);
}

.accordion-item.active .accordion-header {
	border-bottom: none;
}

.accordion-content {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-item.active .accordion-content {
	max-height: 5000px;
}

.accordion-text {
	font-size: 0.875rem;
	font-weight: 300;
	color: var(--text);
	line-height: 1.6;
	font-family: var(--userfont);
}

.accordion-text p {
	margin: 0 0 12px 0;
	color: #727178;
	line-height: 24px;
}

.accordion-text p:last-child {
	margin-bottom: 0;
}

.accordion-text ul {
	margin: 0 0 12px 0;
	padding-left: 20px;
}

.accordion-text ul li {
	margin-bottom: 8px;
}

.accordion-text ul li:last-child {
	margin-bottom: 0;
}

.accordion-text strong {
	font-weight: 500;
	color: var(--accent);
}

.accordion-text a {
	color: var(--text);
	text-decoration: none;
	line-height: 1.2;
	border-bottom: 1px solid var(--text);
}

.accordion-text a:hover {
	color: var(--red);
	border-bottom: 1px solid transparent;
}

.product-expiry-block {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 12px;
	padding: 10px 12px;
	background: #f0f0f0;
	border-radius: 4px;
	font-size: 0.875rem;
	font-family: var(--userfont);
	width: fit-content;
}

.product-expiry-label {
	color: var(--gray);
}

.product-expiry-value {
	color: var(--text);
	font-weight: 500;
}

.product-price-block {
	padding-top: 8px;
}

.product-price-wrapper {
	display: flex;
	align-items: baseline;
	gap: 16px;
}

.product-price-old {
	font-size: 1rem;
	color: var(--gray);
	text-decoration: line-through;
	font-weight: 300;
	font-family: Montserrat, sans-serif;
}

.product-price-current {
	font-size: 1.75rem;
	color: var(--text);
	font-weight: 500;
	font-family: Montserrat, sans-serif;
}

.product-actions {
	display: flex;
	gap: 12px;
	align-items: flex-end;
	flex-wrap: wrap;
}

.flex-wrapper {
	display: flex;
	gap: 12px;
	align-items: flex-end;
}

.quantity-wrapper {
	display: flex;
	flex-direction: column;
	gap: 8px;
	min-width: 140px;
	width: fit-content;
}

.quantity-wrapper .control-label {
	font-size: 0.875rem;
	font-weight: 400;
	color: var(--text);
	margin: 0;
}

.quantity-controls {
	display: flex;
	align-items: center;
	border: 1px solid var(--border);
	border-radius: 4px;
	overflow: hidden;
	width: fit-content;
	background: var(--bg);
}

.quantity-btn {
	width: 40px;
	height: 48px;
	border: none;
	background: var(--bg-secondary);
	color: var(--text);
	font-size: 1.5rem;
	font-weight: 300;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.2s ease;
	user-select: none;
	padding: 0;
	line-height: 1;
}

.quantity-btn:hover {
	background: var(--border);
}

.quantity-btn:active {
	background: var(--light-gray);
}

.quantity-input {
	width: 60px;
	height: 48px;
	padding: 0;
	border: none;
	border-left: 1px solid var(--border);
	border-right: 1px solid var(--border);
	font-size: 1rem;
	font-family: var(--userfont);
	color: var(--text);
	background: var(--bg);
	text-align: center;
	outline: none;
}

.quantity-input:focus {
	background: var(--bg);
}

.quantity-wrapper .alert-info {
	margin-top: 0;
	margin-bottom: 0;
	font-size: 0.8125rem;
	padding: 8px 12px;
}

.btn-buy {
	flex: 1;
	padding: 14px 24px;
	color: #fff;
	border: 1px solid var(--text);
	font-family: var(--userfont);
	font-size: 0.9375rem;
	font-weight: 500;
	width: 250px;
	max-width: 250px;
	background: var(--text);
	cursor: pointer;
	border-radius: 4px;
	transition: all 0.3s ease;
}

.btn-buy:hover {
	background: transparent;
	border-color: var(--text);
	color: var(--text);
}

/* Опції товару */
#product hr {
	border: none;
	border-top: 1px solid var(--border);
	margin: 20px 0 16px;
}
#product h3 {
	font-size: 1rem;
	font-weight: 600;
	color: var(--text);
	margin: 0 0 16px;
	font-family: var(--userfont);
}
#product .form-group {
	margin-bottom: 16px;
}
#product .form-group:last-child {
	margin-bottom: 0;
}
#product .control-label {
	display: block;
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--text);
	margin-bottom: 8px;
	font-family: var(--userfont);
}
#product .form-group.required .control-label::after {
	content: ' *';
	color: var(--red, #c0392b);
}
#product select.form-control,
#product input.form-control[type="text"],
#product textarea.form-control {
	width: 100%;
	padding: 12px 16px;
	border: 1px solid var(--border);
	border-radius: 4px;
	background: var(--bg);
	color: var(--text);
	font-family: var(--userfont);
	font-size: 0.875rem;
	outline: none;
	transition: border-color 0.2s ease;
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23727178' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	padding-right: 40px;
}
#product input.form-control[type="text"],
#product textarea.form-control {
	background-image: none;
	padding-right: 16px;
}
#product select.form-control:focus,
#product input.form-control:focus,
#product textarea.form-control:focus {
	border-color: var(--text);
}
#product .radio,
#product .checkbox {
	margin-bottom: 10px;
}
#product .radio:last-child,
#product .checkbox:last-child {
	margin-bottom: 0;
}
#product .radio label,
#product .checkbox label {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 0.875rem;
	color: var(--text);
	cursor: pointer;
	font-family: var(--userfont);
}
#product .radio input,
#product .checkbox input {
	width: 18px;
	height: 18px;
	flex-shrink: 0;
	accent-color: var(--text);
}
#product .radio .img-thumbnail,
#product .checkbox .img-thumbnail {
	max-width: 40px;
	max-height: 40px;
	border-radius: 4px;
	border: 1px solid var(--border);
}
#product .input-group {
	display: flex;
}
#product .input-group .form-control {
	border-radius: 4px 0 0 4px;
}
#product .input-group-btn .btn {
	padding: 12px 16px;
	border: 1px solid var(--border);
	border-left: none;
	border-radius: 0 4px 4px 0;
	background: var(--bg-secondary);
	color: var(--text);
	cursor: pointer;
}
#product [id^="button-upload"] {
	padding: 12px 20px;
	border: 1px solid var(--border);
	border-radius: 4px;
	background: var(--bg);
	color: var(--text);
	font-family: var(--userfont);
	font-size: 0.875rem;
	cursor: pointer;
	transition: border-color 0.2s, background 0.2s;
}
#product #button-upload:hover {
	border-color: var(--text);
	background: var(--bg-secondary);
}

.btn-wishlist {
	width: 48px;
	height: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: transparent;
	border: none;
	color: var(--text);
	cursor: pointer;
	border-radius: 4px;
	transition: all 0.3s ease;
	padding: 0;
	position: relative;
}

.btn-wishlist::before {
	content: '';
	width: 20px;
	height: 18px;
	background: url('../images/icons/wishlist-heart.svg') center/contain no-repeat;
}


.btn-wishlist.active::before {
	background-image: url('../images/icons/wishlist-heart-filled.svg');
}

.btn-wishlist:hover {
	color: var(--red);
}

.btn-wishlist.active {
	color: var(--red);
}

.btn-wishlist-card {
	position: absolute;
	top: 0px;
	right: 0px;
	width: 36px;
	height: 36px;
	z-index: 3;
	display: flex;
	cursor: pointer;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease;
	padding: 0;
}

.btn-wishlist-card::before {
	content: '';
	width: 18px;
	height: 16px;
	background: url('../images/icons/wishlist-heart.svg') center/contain no-repeat;
}

.btn-wishlist-card:hover {
	transform: scale(1.1);
}

.btn-wishlist-card.active::before {
	background-image: url('../images/icons/wishlist-heart-filled.svg');
}

.btn-wishlist-card.active {
	color: var(--red);
}

.product-card .swiper-button-prev {
	left: 0;
}

.product-card .swiper-button-next {
	right: 0;
}


.swiper-slide-container {
	text-align: center;
	height: 100%;
	margin: auto;
	/* Center slide text vertically */
	display: -webkit-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	-webkit-justify-content: center;
	justify-content: center;
	-webkit-box-align: center;
	-ms-flex-align: center;
	-webkit-align-items: center;
	align-items: center;
}

.gallery-thumbs {
	height: 20%;
	box-sizing: border-box;
	padding: 10px 0;
}

.gallery-thumbs .swiper-slide {
	width: 20%;
	height: 100%;
	opacity: 0.4;
}

.gallery-thumbs .swiper-slide-active,
.gallery-thumbs .swiper-slide-thumb-active {
	opacity: 1;
}



/* Общие стили стрелок */
.product-image-column .swiper-button-next,
.product-image-column .swiper-button-prev {
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: #383838;
	border: 1px solid #383838;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: .2;
	position: absolute;
	top: 45%;
	transform: translateY(-50%);
	z-index: 10;
	transition: 0.25s;
}

.product-image-column .swiper-button-next:hover,
.product-image-column .swiper-button-prev:hover {
	opacity: .8;
}



/* Иконки стрелок */
.product-image-column .swiper-button-next::after,
.product-image-column .swiper-button-prev::after {
	font-size: 16px;
}

/* ========================================
   ABOUT PAGE
   ======================================== */

#about-page {
	padding: 50px 0 80px;
}

.about-content {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 60px;
	align-items: start;
	margin-top: 30px;
}

.about-text-column {
	display: flex;
	flex-direction: column;
}

.about-title {
	font-size: 2rem;
	font-weight: 500;
	color: var(--text);
	font-family: var(--userfont);
	margin: 0 0 30px 0;
	text-align: left;
}

.about-text {
	font-size: 1rem;
	color: var(--text);
	line-height: 1.8;
	font-weight: 300;
	font-family: var(--userfont);
}

.about-text p {
	margin: 0 0 24px 0;
}

.about-text p:last-child {
	margin-bottom: 0;
}

.about-text strong {
	font-weight: 500;
	color: var(--accent);
}

.about-features {
	margin: 30px 0;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.about-feature-item {
	display: flex;
	gap: 16px;
	align-items: flex-start;
	padding: 20px;
	background: #fff;
	border-radius: 4px;
	transition: background 0.3s ease;
}

.about-feature-item:hover {
	background: #f5f5f5;
}

.feature-icon {
	font-size: 1.5rem;
	line-height: 1;
	flex-shrink: 0;
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.feature-text {
	flex: 1;
}

.feature-text p {
	margin: 0;
	font-size: 0.9375rem;
	line-height: 1.6;
	color: var(--text);
	font-weight: 300;
}

.about-signature {
	margin-top: 40px !important;
	font-style: italic;
}

.about-image-column {
	position: sticky;
	top: 20px;
	height: fit-content;
}

.about-image-wrapper {
	background: #fff;
	border-radius: 4px;
	padding: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.about-image {
	width: 100%;
	height: auto;
	max-width: 100%;
	object-fit: cover;
	border-radius: 4px;
}

/* ========================================
   PRODUCT REVIEWS
   ======================================== */

#product-reviews {
	padding-bottom: 50px;
}

#product-reviews .container {
	background: #fff;
	padding: 30px;
	border-radius: 4px;
	box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
}

.reviews-title {
	font-size: 1.5rem;
	font-weight: 500;
	color: var(--text);
	font-family: var(--userfont);
	margin: 0 0 30px 0;
	text-align: center;
}

.reviews-content {
	display: grid;
	grid-template-columns: 1fr;
	gap: 40px;
	background: #fff;
	border-radius: 4px;
}

.reviews-list {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.review-item {
	padding: 20px;
	background: #fff;
	border-radius: 4px;
}

.review-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	margin-bottom: 12px;
	gap: 16px;
}

.review-author {
	display: flex;
	flex-direction: column;
	gap: 8px;
	flex: 1;
}

.review-name {
	font-size: 0.9375rem;
	font-weight: 500;
	color: var(--text);
	font-family: var(--userfont);
}

.review-rating {
	display: flex;
	gap: 2px;
}

.review-rating .star {
	font-size: 1rem;
	color: var(--gray);
	line-height: 1;
}

.review-rating .star.filled {
	color: #ffa500;
}

.review-date {
	font-size: 0.8125rem;
	color: var(--gray);
	font-weight: 300;
	white-space: nowrap;
}

.review-text {
	font-size: 0.875rem;
	color: var(--text);
	line-height: 1.6;
	font-weight: 300;
	font-family: var(--userfont);
}

.review-text p {
	margin: 0;
}

.review-form-wrapper {
	padding: 24px;
	height: fit-content;
	background: #fff;
	border-radius: 4px;
	display: none;
}

.review-form-title {
	font-size: 1.125rem;
	font-weight: 500;
	color: var(--text);
	font-family: var(--userfont);
	margin: 0 0 20px 0;
}

.review-form-wrapper {
	max-width: 450px;
	margin: 0 auto;
}

.review-form {
	display: flex;
	flex-direction: column;
	gap: 20px;

}

.form-group {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.form-label {
	font-size: 0.875rem;
	margin-top: 15px;
	font-weight: 400;
	color: var(--text);
	font-family: var(--userfont);
}

.form-input,
.form-textarea {
	padding: 12px 16px;
	border: 1px solid var(--border);
	border-radius: 4px;
	background: var(--bg);
	color: var(--text);
	font-family: var(--userfont);
	font-size: 0.875rem;
	font-weight: 300;
	outline: none;
	transition: border-color 0.3s ease;
	width: 100%;
	box-sizing: border-box;
}

.form-input:focus,
.form-textarea:focus {
	border-color: var(--text);
}

.form-textarea {
	resize: vertical;
	min-height: 120px;
	font-family: var(--userfont);
}

.rating-input {
	display: flex;
	gap: 4px;
	flex-direction: row-reverse;
	justify-content: flex-end;
}

.rating-input input[type="radio"] {
	display: none;
}

.star-label {
	font-size: 1.5rem;
	color: var(--gray);
	cursor: pointer;
	transition: color 0.2s ease;
	line-height: 1;
	user-select: none;
}

.rating-input input[type="radio"]:checked~.star-label,
.rating-input input[type="radio"]:checked+.star-label {
	color: #ffa500;
}

.rating-input:hover .star-label:hover,
.rating-input:hover .star-label:hover~.star-label {
	color: #ffa500;
}

.btn-submit-review {
	padding: 14px 24px;
	background: var(--text);
	color: var(--bg);
	border: 1px solid var(--text);
	border-radius: 4px;
	font-family: var(--userfont);
	font-size: 0.9375rem;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.3s ease;
	margin-top: 8px;
}

.btn-submit-review:hover {
	background: var(--accent);
	border-color: var(--accent);
}


.review-form-wrapper a {
	color: var(--text);
	text-decoration: none;
	font-weight: 500;

	font-family: var(--userfont);
	font-size: 0.9375rem;
}

.review-form-wrapper a:hover {
	color: var(--red);
}

/* ========================================
   CERTIFICATES PAGE
   ======================================== */

#certificates-page {
	padding: 50px 0 80px;
}

.certificates-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
	margin-top: 30px;
}

.certificates-grid .item {
	display: flex;
	flex-direction: column;
	text-decoration: none;
	transition: transform 0.3s ease;
	border-radius: 4px;
	overflow: hidden;
	background: #fff;
}

.certificates-grid .item:hover {
	transform: translateY(-4px);
}

.certificates-grid .image-wrapper {
	width: 100%;
	height: 400px;
	overflow: hidden;
	background: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.certificates-grid .image {
	width: 100%;
	height: 100%;
	object-fit: contain;
	transition: transform 0.3s ease;
}

.certificates-grid .item:hover .image {
	transform: scale(1.05);
}

/* ========================================
   STORES PAGE
   ======================================== */

#stores-page {
	padding: 50px 0 80px;
}

.stores-intro {
	max-width: 900px;
	margin: 0 auto 50px;
	text-align: center;
}

.stores-intro p {
	font-size: 1rem;
	color: var(--text);
	line-height: 1.8;
	font-weight: 300;
	font-family: var(--userfont);
	margin: 0 0 20px 0;
}

.stores-intro p:last-child {
	margin-bottom: 0;
}

.stores-intro a {
	color: var(--text);
	border-bottom: 1px solid var(--text);
	transition: border-color 0.3s ease;
}

.stores-intro a:hover {
	border-color: transparent;
}

.stores-intro strong {
	font-weight: 500;
	color: var(--accent);
}

.stores-list {
	display: flex;
	flex-direction: column;
	gap: 60px;
}

.store-item {
	padding: 40px;
	background: #fff;
	border-radius: 4px;
}

.store-name {
	font-size: 1.75rem;
	font-weight: 500;
	color: var(--text);
	font-family: var(--userfont);
	margin: 0 0 24px 0;
	text-align: center;
}

.store-info {
	margin-bottom: 30px;
}

.store-address {
	margin-bottom: 16px;
}

.store-address p {
	font-size: 0.9375rem;
	color: var(--text);
	line-height: 1.6;
	font-weight: 300;
	font-family: var(--userfont);
	margin: 0 0 8px 0;
}

.store-address p:last-child {
	margin-bottom: 0;
}

.store-address strong {
	font-weight: 500;
	color: var(--accent);
}

.store-map-link {
	display: inline-block;
	padding: 10px 20px;
	background: var(--text);
	color: var(--bg);
	border: 1px solid var(--text);
	border-radius: 4px;
	font-family: var(--userfont);
	font-size: 0.9375rem;
	font-weight: 500;
	text-decoration: none;
	transition: all 0.3s ease;
}

.store-map-link:hover {
	background: var(--accent);
	border-color: var(--accent);
	color: var(--bg);
}

.store-media {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 30px;
	margin-top: 30px;
}

.store-image-wrapper {
	width: 100%;
	height: 400px;
	overflow: hidden;
	background: var(--bg);
	border-radius: 4px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.store-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.store-video-wrapper {
	width: 100%;
	height: 400px;
	overflow: hidden;
	border-radius: 4px;
	background: var(--bg);
	display: flex;
	align-items: center;
	justify-content: center;
}

.store-video-wrapper iframe {
	width: 100%;
	height: 100%;
	border: none;
}

/* ========================================
   CONTACTS PAGE
   ======================================== */

#contacts-page {
	padding: 50px 0 80px;
}

.contacts-content {
	max-width: 1200px;
	margin: 0 auto;
}

.contacts-info {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 30px;
	margin-bottom: 60px;
}

.contact-block {
	display: flex;
	gap: 20px;
	padding: 30px;
	background: #fff;
	border-radius: 4px;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.contact-icon {
	flex-shrink: 0;
	width: 48px;
	height: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--text);
	color: var(--bg);
	border-radius: 4px;
}

.contact-icon svg {
	width: 24px;
	height: 24px;
}

.contact-details {
	flex: 1;
}

.contact-label {
	font-size: 0.875rem;
	color: var(--text);
	font-weight: 500;
	margin-bottom: 8px;
	font-family: var(--userfont);
	opacity: 0.7;
}

.contact-value {
	font-size: 1rem;
	color: var(--text);
	font-weight: 300;
	font-family: var(--userfont);
	line-height: 1.6;
	text-decoration: none;
	display: block;
}

.contact-value a {
	color: var(--text);
	text-decoration: none;
	transition: color 0.3s ease;
}

.contact-value a:hover {
	color: var(--red);
}

.contact-value>div {
	margin-bottom: 4px;
}

.contact-value>div:last-child {
	margin-bottom: 0;
}

.social-links,
.messenger-links {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}

.social-link,
.messenger-link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
}

.social-link:hover,
.messenger-link:hover {
	transform: translateY(-2px);
}



.messenger-link img, .social-link img {
	width: 40px;
	height: 40px;
	border-radius: 4px;
}

.stores-maps {
	margin-top: 60px;
}

.stores-maps-title {
	font-size: 2rem;
	font-weight: 500;
	color: var(--text);
	font-family: var(--userfont);
	margin: 0 0 40px 0;
	text-align: center;
}

.stores-maps-list {
	display: flex;
	flex-direction: column;
	gap: 50px;
}

.store-map-item {
	padding: 40px;
	background: #fff;
	border-radius: 4px;
}

.store-map-name {
	font-size: 1.5rem;
	font-weight: 500;
	color: var(--text);
	font-family: var(--userfont);
	margin: 0 0 16px 0;
}

.store-map-address {
	font-size: 0.9375rem;
	color: var(--text);
	font-weight: 300;
	font-family: var(--userfont);
	margin: 0 0 8px 0;
	line-height: 1.6;
}

.store-map-metro {
	font-size: 0.875rem;
	color: var(--text);
	font-weight: 300;
	font-family: var(--userfont);
	margin: 0 0 24px 0;
	opacity: 0.7;
}

.store-map-wrapper {
	width: 100%;
	height: 400px;
	border-radius: 4px;
	overflow: hidden;
	margin-bottom: 20px;
	background: var(--bg);
}

.store-map-iframe {
	width: 100%;
	height: 100%;
	border: none;
}

.store-map-link {
	display: inline-block;
	padding: 10px 20px;
	background: var(--text);
	color: var(--bg);
	border: 1px solid var(--text);
	border-radius: 4px;
	font-family: var(--userfont);
	font-size: 0.9375rem;
	font-weight: 500;
	text-decoration: none;
	transition: all 0.3s ease;
}

.store-map-link:hover {
	background: var(--accent);
	border-color: var(--accent);
	color: var(--bg);
}

/* ========================================
   BLOG PAGE
   ======================================== */

#blog-page {
	padding: 50px 0 80px;
}

.blog-list {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 15px;
	margin-top: 30px;
	margin-bottom: 50px;
}

.blog-list .blog-post {
	display: flex;
	flex-direction: column;
	gap: 10px;
	background: #fff;
	padding: 20px;
	border-radius: 4px;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-list .blog-post:hover {
	transform: translateY(-4px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.blog-list .blog-post img {
	width: 100%;
	height: 250px;
	display: block;
	object-fit: cover;
	object-position: center;
	border-radius: 4px;
}

.blog-list .blog-post .blog-title {
	font-size: 1.15rem;
	font-weight: 500;
	color: var(--text);
	text-decoration: none;
	line-height: 1.4;
	transition: color 0.3s ease;
}

.blog-list .blog-post .blog-title:hover {
	color: var(--red);
}

.blog-list .blog-post .blog-date {
	font-size: 0.875rem;
	color: var(--gray);
	font-weight: 300;
}

.blog-list .blog-post .blog-content {
	color: var(--text);
	font-family: var(--userfont);
	font-size: 0.875rem;
	font-weight: 300;
	line-height: 1.6;
}

/* ========================================
   BLOG POST PAGE
   ======================================== */

#blog-post-page {
	padding: 50px 0 20px;
}

.blog-post-article {
	padding: 22px 34px 20px 22px;
	background: #fff;
	border-radius: 4px;
	max-width: 900px;
	margin: 0 auto;
}

.blog-post-header {
	margin-bottom: 40px;
}

.blog-post-header h1 {
	color: var(--text);
	font-size: 26px;
	font-weight: 500;
	line-height: 32px;
	text-align: center;
	margin-bottom: 24px;
}

.blog-post-meta {
	margin-bottom: 30px;
	text-align: center;
}

.blog-post-date {
	font-size: 0.875rem;
	color: var(--gray);
	font-weight: 300;
}

.blog-post-image {
	margin-bottom: 40px;
	border-radius: 4px;
	overflow: hidden;
}

.blog-post-image img {
	width: 100%;
	height: auto;
	display: block;
	object-fit: cover;
}

.blog-post-content {
	color: #727178;
	line-height: 24px;
}

.blog-post-content h2,
.blog-post-content h3,
.blog-post-content h4,
.blog-post-content h5,
.blog-post-content h6 {
	margin: 0 0 24px 0;
	color: var(--text);
	font-size: 16px;
	font-weight: 600;
	line-height: 24px;
}

.blog-post-content p {
	margin: 0 0 24px 0;
	color: #727178;
	line-height: 24px;
}

.blog-post-content strong {
	color: var(--text);
}

.blog-post-content ul {
	margin: 0 0 24px 0;
	color: #727178;
	line-height: 24px;
	padding-left: 20px;
}

.blog-post-content li {
	margin-bottom: 8px;
}

.blog-post-content a {
	color: var(--text);
	border-bottom: 1px solid var(--text);
	transition: border-color 0.3s ease;
	text-decoration: none;
}

.blog-post-content a:hover {
	color: var(--text);
	border-color: transparent;
}

.blog-post-image-inline {
	margin: 30px 0;
	border-radius: 4px;
	overflow: hidden;
}

.blog-post-image-inline img {
	width: 100%;
	height: auto;
	display: block;
	object-fit: cover;
}

.blog-post-video {
	margin: 30px 0;
	border-radius: 4px;
	overflow: hidden;
	position: relative;
	width: 100%;
	padding-bottom: 56.25%;
	height: 0;
	background: var(--bg);
}

.blog-post-video iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: none;
}

.blog-post-table-wrapper {
	margin: 30px 0;
	overflow-x: auto;
}

.blog-post-table {
	width: 100%;
	border-collapse: collapse;
	background: var(--bg);
	border-radius: 4px;
	overflow: hidden;
}

.blog-post-table thead {
	background: var(--text);
	color: var(--bg);
}

.blog-post-table th {
	padding: 16px;
	text-align: left;
	font-weight: 500;
	font-size: 0.9375rem;
	font-family: var(--userfont);
}

.blog-post-table td {
	padding: 16px;
	border-bottom: 1px solid var(--border);
	color: #727178;
	font-size: 0.9375rem;
	font-family: var(--userfont);
	line-height: 1.6;
}

.blog-post-table tbody tr:last-child td {
	border-bottom: none;
}

.blog-post-table tbody tr:hover {
	background: #fff;
}

.blog-post-products {
	margin-top: 60px;
	padding: 50px 0;
	background: #fff;
}

.blog-post-products-title {
	font-size: 2rem;
	font-weight: 500;
	color: var(--text);
	font-family: var(--userfont);
	margin: 0 0 40px 0;
	text-align: center;
}

/* ========================================
   DELIVERY PAGE
   ======================================== */

#delivery-page {
	padding: 50px 0 80px;
}

.delivery-content {
	max-width: 900px;
	margin: 0 auto;
}

.delivery-section {
	margin-bottom: 50px;
	padding: 40px;
	background: #fff;
	border-radius: 4px;
}

.delivery-section:last-child {
	margin-bottom: 0;
}

.delivery-section-title {
	font-size: 1.75rem;
	font-weight: 500;
	color: var(--text);
	font-family: var(--userfont);
	margin: 0 0 24px 0;
}

.delivery-section p {
	font-size: 1rem;
	color: var(--text);
	line-height: 1.8;
	font-weight: 300;
	font-family: var(--userfont);
	margin: 0 0 20px 0;
}

.delivery-section p:last-child {
	margin-bottom: 0;
}

.delivery-section strong {
	font-weight: 500;
	color: var(--accent);
}

.delivery-methods {
	display: flex;
	flex-direction: column;
	gap: 20px;
	margin-top: 30px;
}

.delivery-method-item {
	display: flex;
	gap: 16px;
	align-items: center;
	padding: 20px;
	background: var(--bg);
	border-radius: 4px;
	border: 1px solid var(--border);
}

.method-icon {
	flex-shrink: 0;
	width: 48px;
	height: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--text);
	color: var(--bg);
	border-radius: 4px;
}

.method-icon svg {
	width: 24px;
	height: 24px;
}

.method-text {
	flex: 1;
}

.method-text p {
	margin: 0;
	font-size: 0.9375rem;
	line-height: 1.6;
	color: var(--text);
	font-weight: 300;
}

.method-text strong {
	font-weight: 500;
	color: var(--accent);
}

.delivery-options {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	margin-top: 30px;
}

.delivery-option-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	padding: 24px;
	background: var(--bg);
	border-radius: 4px;
	border: 1px solid var(--border);
	text-align: center;
}

.option-icon {
	font-size: 2rem;
	line-height: 1;
}

.option-text {
	font-size: 0.9375rem;
	color: var(--text);
	font-weight: 300;
}

.option-text strong {
	font-weight: 500;
	color: var(--accent);
}

.delivery-note {
	font-size: 0.875rem;
	color: var(--gray);
	font-style: italic;
	margin-top: 16px !important;
}


/* ========================================
   PRODUCT RATING HEADER
   ======================================== */
	 .product-rating-header {
		display: flex;
		align-items: center;
		gap: 10px;
		margin-bottom: 15px;
	}
	
	.product-rating-header.clickable {
		cursor: pointer;
		transition: opacity 0.2s;
	}
	
	.product-rating-header.clickable:hover {
		opacity: 0.7;
	}
	
	.highlight-section {
		background-color: #fff9e6 !important;
		transition: background-color 0.3s ease;
	}
	
	.product-rating-stars {
		display: flex;
		justify-content: center;
		gap: 2px;
	}
	
	.product-item .product-rating-stars {
		margin-bottom: 10px;
	}
	
	.product-rating-stars .star {
		font-size: 1rem;
		color: #ddd;
		line-height: 1;
	}
	
	.product-rating-stars .star.filled {
		color: #FDB64E;
	}
	
	.product-reviews-count {
		font-size: 0.875rem;
		color: var(--gray);
	}
	
	.product-rating-stars .reviews-count {
		font-size: 0.8rem;
		color: var(--gray);
		margin-left: 4px;
	}
	
	.product-rating-link {
		text-decoration: none;
		color: inherit;
		cursor: pointer;
	}
	.product-rating-link:hover {
		text-decoration: none;
		color: inherit;
	}
	
	/* ========================================
		 REVIEW FORM TOGGLE
		 ======================================== */
		 #form-review {
			width: 450px;
			max-width: 100%;
		 }
	.review-form-header {
		display: flex;
		justify-content: space-between;
		align-items: center;
		margin-bottom: 20px;
	}
	
	.review-form-toggle {
		background: transparent;
		border: none;
		cursor: pointer;
		padding: 5px 10px;
		font-size: 1rem;
		color: var(--text);
		transition: color 0.3s ease;
	}
	
	.review-form-toggle:hover {
		color: var(--accent);
	}
	
	.review-form-toggle .toggle-icon {
		display: inline-block;
		transition: transform 0.3s ease;
	}
	
	/* ========================================
		 CSS VARIABLES & ROOT SETTINGS
		 ======================================== */
	

/* ========================================
   RETURNS PAGE
   ======================================== */

#returns-page {
	padding: 50px 0 80px;
}

.returns-content {
	max-width: 900px;
	margin: 0 auto;
}

.returns-section {
	margin-bottom: 50px;
	padding: 40px;
	background: #fff;
	border-radius: 4px;
}

.returns-section:last-child {
	margin-bottom: 0;
}

.returns-section-title {
	font-size: 1.75rem;
	font-weight: 500;
	color: var(--text);
	font-family: var(--userfont);
	margin: 0 0 24px 0;
}

.returns-section p {
	font-size: 1rem;
	color: var(--text);
	line-height: 1.8;
	font-weight: 300;
	font-family: var(--userfont);
	margin: 0 0 20px 0;
}

.returns-section p:last-child {
	margin-bottom: 0;
}

.returns-section strong {
	font-weight: 500;
	color: var(--accent);
}

.returns-conditions {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin-top: 30px;
}

.returns-condition-item {
	display: flex;
	gap: 16px;
	align-items: flex-start;
	padding: 20px;
	background: var(--bg);
	border-radius: 4px;
	border: 1px solid var(--border);
}

.condition-icon {
	flex-shrink: 0;
	width: 32px;
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--text);
	color: var(--bg);
	border-radius: 6px;
	margin-top: 2px;
}

.condition-icon svg {
	width: 20px;
	height: 20px;
}

.condition-text {
	flex: 1;
}

.condition-text p {
	margin: 0;
	font-size: 0.9375rem;
	line-height: 1.6;
	color: var(--text);
	font-weight: 300;
}

.returns-note {
	font-size: 0.875rem;
	color: var(--gray);
	font-style: italic;
	margin-top: 24px !important;
}

/* ========================================
   EXPIRY PAGE
   ======================================== */

#expiry-page {
	padding: 50px 0 80px;
}

.expiry-content {
	max-width: 900px;
	margin: 0 auto;
}

.expiry-section {
	margin-bottom: 50px;
	padding: 40px;
	background: #fff;
	border-radius: 4px;
}

.expiry-section:last-child {
	margin-bottom: 0;
}

.expiry-section-title {
	font-size: 1.75rem;
	font-weight: 500;
	color: var(--text);
	font-family: var(--userfont);
	margin: 0 0 24px 0;
}

.expiry-section p {
	font-size: 1rem;
	color: var(--text);
	line-height: 1.8;
	font-weight: 300;
	font-family: var(--userfont);
	margin: 0 0 20px 0;
}

.expiry-section p:last-child {
	margin-bottom: 0;
}

.expiry-section strong {
	font-weight: 500;
	color: var(--accent);
}

.expiry-features {
	display: flex;
	flex-direction: column;
	gap: 20px;
	margin-top: 30px;
}

.expiry-feature-item {
	display: flex;
	gap: 16px;
	align-items: flex-start;
	padding: 20px;
	background: var(--bg);
	border-radius: 4px;
	border: 1px solid var(--border);
}

.feature-icon {
	flex-shrink: 0;
	font-size: 2rem;
	line-height: 1;
}

.feature-text {
	flex: 1;
}

.feature-text p {
	margin: 0;
	font-size: 0.9375rem;
	line-height: 1.6;
	color: var(--text);
	font-weight: 300;
}

.feature-text strong {
	font-weight: 500;
	color: var(--accent);
}

.expiry-categories {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
	margin-top: 30px;
	margin-bottom: 30px;
}

.expiry-category-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	padding: 24px;
	background: var(--bg);
	border-radius: 4px;
	border: 1px solid var(--border);
	text-align: center;
}

.category-icon {
	font-size: 2rem;
	line-height: 1;
}

.category-text {
	font-size: 0.9375rem;
	color: var(--text);
	font-weight: 300;
}

.expiry-markings {
	display: flex;
	flex-direction: column;
	gap: 20px;
	margin-top: 30px;
}

.expiry-marking-item {
	padding: 24px;
	background: var(--bg);
	border-radius: 4px;
	border: 1px solid var(--border);
}

.marking-header {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-bottom: 16px;
	padding-bottom: 16px;
	border-bottom: 1px solid var(--border);
}

.marking-japanese {
	font-size: 1.5rem;
	font-weight: 500;
	color: var(--text);
	font-family: var(--userfont);
}

.marking-transcription {
	font-size: 0.875rem;
	color: var(--gray);
	font-weight: 300;
	font-style: italic;
}

.marking-description p {
	margin: 0;
	font-size: 0.9375rem;
	line-height: 1.6;
	color: var(--text);
	font-weight: 300;
}

/* ========================================
   MANUFACTURERS LIST PAGE
   ======================================== */

#manufacturers-list {
	padding: 30px 0 60px;
}

.manufacturers-index {
	background: var(--bg-secondary);
	border-radius: 4px;
	margin-bottom: 40px;
}

.manufacturers-index-title {
	font-size: 1rem;
	font-weight: 500;
	margin-bottom: 16px;
	color: var(--text);
}

.manufacturers-index-links {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.manufacturers-index-link {
	display: inline-block;
	padding: 8px 16px;
	background: var(--bg);
	border: 1px solid var(--border);
	border-radius: 4px;
	color: var(--text);
	text-decoration: none;
	font-size: 0.875rem;
	transition: all 0.3s ease;
}

.manufacturers-index-link:hover {
	border-color: var(--text);
	color: var(--text);
	background: var(--bg);
}

.manufacturers-group {
	margin-bottom: 20px;
	scroll-margin-top: 120px;
}

.manufacturers-group-title {
	font-size: 1.5rem;
	font-weight: 500;
	margin-bottom: 14px;
	padding-bottom: 6px;
	border-bottom: 2px solid var(--border);
	color: var(--text);
}

.manufacturers-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 6px;
}

.manufacturer-item {
	background: var(--bg);
	border: 1px solid var(--border);
	border-radius: 4px;
	transition: all 0.3s ease;
}

.manufacturer-item:hover {
	border-color: var(--text);
	background: var(--text);
	
}

.manufacturer-link {
	display: block;
	padding: 10px;
	text-align: center;
	color: var(--text);
	text-decoration: none;
	font-size: 0.9375rem;
	font-weight: 400;
	transition: color 0.3s ease;
}

.manufacturer-link:hover {
	color: #fff;
}

.manufacturers-empty {
	text-align: center;
	padding: 60px 20px;
}

.manufacturers-empty p {
	font-size: 1.125rem;
	color: var(--gray);
	margin-bottom: 24px;
}

.btn-continue {
	display: inline-block;
	padding: 12px 24px;
	background: var(--text);
	color: var(--bg);
	border-radius: 4px;
	text-decoration: none;
	font-size: 0.9375rem;
	font-weight: 400;
	transition: background 0.3s ease;
}

.btn-continue:hover {
	background: var(--accent);
	color: var(--bg);
}

/* ========================================
   PRODUCT REVIEWS RATING STARS
   ======================================== */

.rating-input {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.rating-stars {
	display: flex;
	flex-direction: row;
	justify-content: flex-start;
	gap: 4px;
	position: relative;
}

/* ========================================
   LOGIN & REGISTER PAGES
   ======================================== */

/* Оповещения статичные, привязаны к форме */
.form-alert {
	display: block;
	margin-bottom: 16px;
	padding: 12px 14px;
	border-radius: 4px;
	border: 1px solid;
}
.form-alert.alert-danger {
	background: #f8d7da;
	border-color: #f5c6cb;
	color: #721c24;
}
.form-alert.alert-success {
	background: #d4edda;
	border-color: #c3e6cb;
	color: #155724;
}
.form-alert + .form-alert {
	margin-top: 8px;
}

#account-login-page,
#account-register-page {
	padding-bottom: 80px;
}

.login-section,
.register-section {
	padding: 50px 0;
}

/* Сторінка 404 */
.error-not-found-section {
	padding: 50px 0 80px;
	text-align: center;
}
.error-not-found-code {
	font-size: clamp(4rem, 12vw, 8rem);
	font-weight: 300;
	color: var(--border);
	line-height: 1;
	margin: 0 0 1rem;
}
.error-not-found-text {
	font-size: 1rem;
	color: var(--text);
	max-width: 480px;
	margin: 0 auto 2rem;
	line-height: 1.5;
}
.error-not-found-actions .btn-login {
	width: auto;
	margin-top: 0;
}

.login-content {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 40px;
	max-width: 1000px;
	margin: 0 auto;
}

.login-column {
	width: 100%;
}

.login-box {
	background: var(--bg);
	border: 1px solid var(--border);
	border-radius: 4px;
	padding: 32px;
}

.login-box-title {
	font-size: 24px;
	font-weight: 500;
	
	color: var(--text);
	margin-bottom: 16px;
}

.login-box-text {
	font-size: 0.9375rem;
	color: var(--text);
	margin-bottom: 8px;
}

.login-box-description {
	font-size: 0.875rem;
	color: var(--gray);
	margin-bottom: 24px;
	line-height: 1.5;
}

.login-form {
	margin-top: 24px;
}

.forgot-password-link {
	display: inline-block;
	margin-top: 8px;
	font-size: 0.875rem;
	color: var(--text);
	text-decoration: underline;
}

.forgot-password-link:hover {
	color: var(--red);
}

.password-input-wrap {
	position: relative;
	width: 100%;
}

.password-input-wrap .form-input {
	padding-right: 44px;
}

.password-toggle {
	position: absolute;
	right: 12px;
	top: 50%;
	transform: translateY(-50%);
	width: 32px;
	height: 32px;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: none;
	border: none;
	cursor: pointer;
	color: var(--text);
	opacity: 0.7;
	transition: opacity 0.2s ease;
}

.password-toggle:hover {
	opacity: 1;
}

.password-toggle svg {
	pointer-events: none;
}

.btn-login {
	display: inline-block;
	padding: 14px 32px;
	background: var(--text);
	color: var(--bg);
	border: 1px solid var(--text);
	border-radius: 4px;
	font-family: var(--userfont);
	font-size: 0.9375rem;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.3s ease;
	text-decoration: none;
	width: 100%;
	text-align: center;
	margin-top: 16px;
}

.btn-login:hover {
	background: var(--accent);
	border-color: var(--accent);
	color: var(--bg);
}

.register-intro {
	font-size: 0.9375rem;
	color: var(--text);
	margin-bottom: 32px;
	text-align: center;
	max-width: 800px;
	margin-left: auto;
	margin-right: auto;
}

.register-form {
	max-width: 800px;
	margin: 0 auto;
}

.form-fieldset {
	border: none;
	padding: 0;
	margin: 0 0 32px 0;
}

.form-legend {
	font-size: 20px;
	font-weight: 500;
	
	color: var(--text);
	margin-bottom: 24px;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--border);
	width: 100%;
}

.form-group.required .form-label::after {
	content: ' *';
	color: var(--red);
}

.form-error {
	color: var(--red);
	font-size: 0.875rem;
	margin-top: 4px;
}

.radio-group,
.checkbox-group {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.radio-label,
.checkbox-label {
	display: flex;
	align-items: center;
	gap: 8px;
	cursor: pointer;
	font-size: 0.875rem;
	color: var(--text);
}

.radio-label input[type="radio"],
.checkbox-label input[type="checkbox"] {
	width: 18px;
	height: 18px;
	cursor: pointer;
	accent-color: var(--text);
}

.form-input[type="select"],
select.form-input {
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23383838' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 16px center;
	padding-right: 40px;
}

.input-group {
	display: flex;
	gap: 8px;
}

.input-group .form-input {
	flex: 1;
}

.btn-date {
	padding: 12px 16px;
	background: var(--light-gray);
	border: 1px solid var(--border);
	border-radius: 4px;
	cursor: pointer;
	transition: all 0.3s ease;
}

.btn-date:hover {
	background: var(--border);
}

.btn-upload {
	padding: 12px 24px;
	background: var(--light-gray);
	border: 1px solid var(--border);
	border-radius: 4px;
	font-family: var(--userfont);
	font-size: 0.875rem;
	cursor: pointer;
	transition: all 0.3s ease;
}

.btn-upload:hover {
	background: var(--border);
}

.form-submit {
	margin-top: 32px;
	padding-top: 24px;
	border-top: 1px solid var(--border);
}

.agree-wrapper {
	margin-bottom: 16px;
}

.alert {
	padding: 16px;
	border-radius: 4px;
	margin-bottom: 24px;
}

.alert-success {
	background: #d4edda;
	border: 1px solid #c3e6cb;
	color: #155724;
}

.alert-danger {
	background: #f8d7da;
	border: 1px solid #f5c6cb;
	color: #721c24;
}

.rating-stars input[type="radio"] {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
	pointer-events: none;
}

.rating-stars label {
	font-size: 2rem;
	color: #ddd;
	cursor: pointer;
	transition: color 0.2s ease;
	user-select: none;
	line-height: 1;
	display: inline-block;
	position: relative;
	z-index: 1;
}

.rating-stars label:hover,
.rating-stars label.hover {
	color: #ffc107;
}

.rating-stars label.active {
	color: #ffc107;
}

/* Review display stars */
.reviews-list {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.review-item:last-child {
	border-bottom: none;
}

.review-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	margin-bottom: 12px;
}

.review-author {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.review-name {
	font-size: 1rem;
	font-weight: 500;
	color: var(--text);
}

.review-rating {
	display: flex;
	gap: 2px;
}

.review-rating .star {
	font-size: 1.25rem;
	color: #ddd;
	display: inline-block;
	line-height: 1;
}

.review-rating .star.filled {
	color: #ffc107;
}

.review-date {
	font-size: 0.875rem;
	color: var(--gray);
}

.review-text {
	font-size: 0.9375rem;
	line-height: 1.6;
	color: var(--text);
}

.review-text p {
	margin: 0;
}

.review-pagination {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: 30px;
	padding-top: 20px;
	border-top: 1px solid var(--border);
}

.pagination-left,
.pagination-right {
	font-size: 0.875rem;
	color: var(--gray);
}

.no-reviews {
	padding: 40px 20px;
	color: var(--gray);
	font-size: 1rem;
	text-align: center;
}

.add-review-link {
	margin: 0 auto;
	display: block;
	width: fit-content;
}

.help-block {
	color: var(--gray);
	font-size: .875rem;
}

/* ========================================
   ALERT MESSAGES
   ======================================== */

/* Сторінка оформлення замовлення — без .alert */
.page-checkout .alert,
.page-checkout .error .alert,
body.page-checkout > .alert {
	display: none !important;
}
.opc-text-error {
	color: var(--red);
	font-size: 0.875rem;
	margin-top: 4px;
}
.error_input_checkout .checkbox-check {
	border-color: var(--red)!important;
}
.free-shipping-inner {
	margin-bottom: 8px;
}
.free-shipping-note {
	margin: 0;
	font-size: 0.8125rem;
	color: #666;
	line-height: 1.4;
}
/* Free Shipping Progress Bar — до 3к: червона лінія/цифра, від 3к: сіруватий */
.free-shipping-left {
	padding: 14px 16px;
	background: transparent;
	border: 1px solid #888;
	border-radius: 8px;
	margin-bottom: 16px;
}
.free-shipping-left .free-ship-progress-bar {
	background: rgba(0, 0, 0, 0.06);
	height: 11px;
	border-radius: 8px;
	position: relative;
	overflow: visible;
	margin-top: 28px;
}
.free-shipping-left .free-ship-bar-fill {
	background: var(--red);
	min-width: 28px;
	height: 11px;
	border-radius: 8px;
	box-shadow: 0 0 8px rgba(231, 115, 115, 0.35);
	position: relative;
	transition: width .3s ease-in-out;
}
.free-shipping-left .free-ship-truck-icon {
	position: absolute;
	top: -21px;
	transform: translateX(-50%) scaleX(-1);
	font-size: 1.25rem;
	line-height: 1;
	z-index: 2;
	transition: left .3s ease-in-out;
}
.free-shipping-left .free-ship-info {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: 10px;
	padding: 10px 12px;
	background: rgba(0, 0, 0, 0.03);
	border-radius: 6px;
	flex-direction: column;
	text-align: center;
}
.free-shipping-left .text-free-shipping {
	color: var(--text);
	font-size: 0.9375rem;
	font-weight: 500;
	flex: 1;
}
.free-shipping-left .sum-free-shipping-left {
	font-weight: 700;
	color: var(--red);
	background: transparent;
	padding: 6px 12px;
	border-radius: 6px;
	font-size: 1.4375rem;
}
.free-shipping-left.active-free-ship .free-ship-info {
	justify-content: center;
	font-weight: bold;
}
.free-shipping-left.active-free-ship .sum-free-shipping-left {
	color: #555;
}
.free-shipping-left.active-free-ship .free-ship-bar-fill {
	box-shadow: none;
}

.alert {
	padding: 16px 20px;
	margin-bottom: 20px;
	border-radius: 4px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	position: relative;
	z-index: 9999;
	right: 20px;
	font-size: 0.9375rem;
	line-height: 1.5;
}

.alert i {
	margin-right: 8px;
	font-size: 1.125rem;
}

.alert-danger {
	background-color: #f8d7da;
	border: 1px solid #f5c6cb;
	color: #721c24;
}

.alert-danger i {
	color: #dc3545;
}

.alert-success {
	background-color: #d4edda;
	border: 1px solid #c3e6cb;
	color: #155724;
}

.alert-success i {
	color: #28a745;
}

.alert-info {
	background-color: #d1ecf1;
	border: 1px solid #bee5eb;
	color: #0c5460;
}

.alert-info i {
	color: #17a2b8;
}

.alert-close {
	background: none;
	border: none;
	font-size: 1.5rem;
	line-height: 1;
	color: inherit;
	opacity: 0.7;
	cursor: pointer;
	padding: 0;
	margin-left: auto;
	width: 20px;
	height: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: opacity 0.2s ease;
}

.alert-close:hover {
	opacity: 1;
}

/* Bootstrap .close button styles for alerts */
.alert .close,
.alert-dismissible .close {
	background: none;
	border: none;
	font-size: 1.5rem;
	line-height: 1;
	color: inherit;
	opacity: 0.7;
	cursor: pointer;
	padding: 0;
	margin-left: auto;
	width: 24px;
	height: 24px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.2s ease;
	font-weight: 700;
	text-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
	float: none;
}

.alert .close:hover,
.alert .close:focus,
.alert-dismissible .close:hover,
.alert-dismissible .close:focus {
	opacity: 1;
	outline: none;
	text-decoration: none;
	color: inherit;
}

.alert .close:focus,
.alert-dismissible .close:focus {
	box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1);
	border-radius: 2px;
}

.review-form .alert {
	margin-bottom: 20px;
}

/* Cart success message styling - fixed position bottom right */
.cart-success-message {
	position: fixed;
	bottom: 20px;
	right: 20px;
	max-width: 400px;
	min-width: 300px;
	z-index: 9999;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	border-radius: 4px;
	opacity: 0;
	height: fit-content;
	transform: translateX(100%);
	transition: all 0.3s ease-in-out;
	pointer-events: none;
}

.cart-success-message.show {
	opacity: 1;
	transform: translateX(0);
	pointer-events: auto;
}

.cart-success-message .alert-content {
	flex: 1;
	display: inline;
	line-height: 1.5;
}

.cart-success-message .alert-content a {
	color: inherit;
	width: fit-content;
	text-decoration: none;
	font-weight: 500;
	transition: opacity 0.2s ease;
}

.cart-success-message .alert-content a:hover {
	opacity: 0.8;
}

/* Alert close button styling */
.cart-success-message .alert-close {
	position: absolute;
	top: 12px;
	right: 12px;
	font-size: 1.25rem;
	line-height: 1;
	opacity: 0.7;
	transition: opacity 0.2s ease;
	background: none;
	border: none;
	cursor: pointer;
	padding: 0;
	width: 20px;
	height: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: inherit;
}

.cart-success-message .alert-close:hover {
	opacity: 1;
}

/* Cart error message styling */
.cart-success-message.cart-error-message {
	background: #fff;
	border: 1px solid var(--red);
	color: var(--text);
}

.cart-success-message.cart-error-message .fa-exclamation-circle {
	color: var(--red);
}

.btn-back,
.register-section a {
	display: block;
	color: var(--text);
	margin: 0 auto;
	opacity: .7;
	width: fit-content;
	border-bottom: 1px solid var(--text);
}

.btn-back:hover,
.register-section a:hover {
	border-bottom: 1px solid transparent;
}

/* ========================================
   CHECKOUT CART PAGE
   ======================================== */
.checkout-agree .opc-text-error {
	display: none;
}
#checkout-cart .breadcrumb {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	color: #727178;
	font-size: 14px;
	font-weight: 300;
	margin-bottom: 30px;
	list-style: none;
	padding: 0;
}

#checkout-cart .breadcrumb li {
	display: flex;
	align-items: center;
	gap: 10px;
}

#checkout-cart .breadcrumb li::after {
	content: '>';
	margin-left: 10px;
	color: #727178;
}

#checkout-cart .breadcrumb li:last-child::after {
	display: none;
}

#checkout-cart .breadcrumb a {
	color: #727178;
	text-decoration: none;
	transition: color 0.3s ease;
}

#checkout-cart .breadcrumb a:hover {
	color: var(--text);
}

#checkout-cart h1 {
	
	font-size: 32px;
	font-weight: 500;
	color: var(--text);
	margin: 0 0 30px 0;
	line-height: 1.2;
}

#checkout-cart .table-responsive {
	overflow-x: auto;
	margin-bottom: 30px;
}

#checkout-cart .table {
	width: 100%;
	border-collapse: collapse;
	background: var(--bg);
	border: 1px solid var(--border);
	border-radius: 4px;
	overflow: hidden;
}

#checkout-cart .table thead {
	background: #fff;
}

#checkout-cart .table thead tr {
	border-bottom: 2px solid var(--border);
}

#checkout-cart .table thead td {
	padding: 16px 20px;
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--text);
	text-align: left;
	border: none;
}

#checkout-cart .table tbody tr {
	border-bottom: 1px solid var(--border);
	transition: background 0.3s ease;
}

#checkout-cart .table tbody tr:last-child {
	border-bottom: none;
}

#checkout-cart .table tbody tr:hover {
	background: #fff;
}

#checkout-cart .table tbody td {
	padding: 20px;
	vertical-align: middle;
	border: none;
	font-size: 0.9375rem;
	color: var(--text);
}

#checkout-cart .table tbody td.text-center {
	text-align: center;
}

#checkout-cart .table tbody td.text-left {
	text-align: left;
}

#checkout-cart .table tbody td.text-right {
	text-align: right;
	font-weight: 500;
}

#checkout-cart .table .img-thumbnail {
	max-width: 100px;
	height: auto;
	border-radius: 4px;
	border: 1px solid var(--border);
	padding: 4px;
	background: var(--bg);
}

#checkout-cart .table tbody td a {
	color: var(--text);
	text-decoration: none;
	transition: color 0.3s ease;
	font-weight: 400;
}

#checkout-cart .table tbody td a:hover {
	color: var(--red);
}

#checkout-cart .table tbody td small {
	display: block;
	margin-top: 8px;
	font-size: 0.8125rem;
	color: var(--gray);
	line-height: 1.4;
}

#checkout-cart .table .text-danger {
	color: var(--red);
	font-weight: 500;
}

#checkout-cart .table .label {
	display: inline-block;
	padding: 4px 8px;
	font-size: 0.75rem;
	font-weight: 500;
	border-radius: 4px;
	margin-bottom: 4px;
}

#checkout-cart .table .label-info {
	background: #d1ecf1;
	color: #0c5460;
	border: 1px solid #bee5eb;
}

#checkout-cart .input-group {
	display: flex;
	align-items: center;
	gap: 8px;
}

#checkout-cart .input-group .form-control {
	padding: 10px 14px;
	border: 1px solid var(--border);
	border-radius: 4px;
	font-family: var(--userfont);
	font-size: 0.9375rem;
	color: var(--text);
	width: 80px;
	text-align: center;
	outline: none;
	transition: border-color 0.3s ease;
}

#checkout-cart .input-group .form-control:focus {
	border-color: var(--accent);
}

#checkout-cart .input-group-btn {
	display: flex;
	gap: 8px;
}

#checkout-cart .btn {
	padding: 10px 14px;
	border: 1px solid var(--border);
	border-radius: 4px;
	font-family: var(--userfont);
	font-size: 0.875rem;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.3s ease;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	background: var(--bg);
	color: var(--text);
	border: 1px solid var(--border);
}

#checkout-cart .btn:focus {
	outline: none;
	box-shadow: 0 0 0 2px rgba(56, 56, 56, 0.2);
}

#checkout-cart .btn:hover {
	background: var(--text);
	color: var(--bg);
	border-color: var(--text);
}

#checkout-cart .btn-primary {
	background: var(--text);
	color: var(--bg);
	border-color: var(--text);
}

#checkout-cart .btn-primary:hover {
	background: var(--accent);
	border-color: var(--accent);
}

#checkout-cart .btn-danger {
	background: var(--red);
	color: var(--bg);
	border-color: var(--red);
}

#checkout-cart .btn-danger:hover {
	background: #d45454;
	border-color: #d45454;
}

#checkout-cart .btn i {
	font-size: 1rem;
}

#checkout-cart h2 {
	
	font-size: 24px;
	font-weight: 500;
	color: var(--text);
	margin: 40px 0 16px 0;
}

#checkout-cart .panel-group {
	margin-bottom: 30px;
}

#checkout-cart .row {
	display: flex;
	flex-wrap: wrap;
	margin: 0 -15px;
}

#checkout-cart .col-sm-4,
#checkout-cart .col-sm-8,
#checkout-cart .col-sm-12 {
	padding: 0 15px;
	width: 100%;
}

#checkout-cart .col-sm-offset-8 {
	margin-left: 0;
}

#checkout-cart .totals-table {
	width: 100%;
	margin: 30px 0;
	background: #fff;
	border: 1px solid var(--border);
	border-radius: 4px;
	overflow: hidden;
}

#checkout-cart .totals-table .table {
	border: none;
	background: transparent;
	margin: 0;
}

#checkout-cart .totals-table .table tbody tr {
	border-bottom: 1px solid var(--border);
}

#checkout-cart .totals-table .table tbody tr:last-child {
	border-bottom: none;
	background: var(--text);
}

#checkout-cart .totals-table .table tbody tr:last-child td {
	color: var(--bg);
	font-size: 1.125rem;
	font-weight: 500;
	padding: 20px;
}

#checkout-cart .totals-table .table tbody tr:last-child td strong {
	color: var(--bg);
}

#checkout-cart .totals-table .table tbody td {
	padding: 16px 20px;
}

#checkout-cart .totals-table .table tbody td strong {
	font-weight: 500;
}

#checkout-cart .buttons {
	display: flex;
	align-items: center;
	gap: 16px;
	margin: 40px 0 0 0;
	padding: 0;
	justify-content: end;
	margin-bottom: 150px;
}

#checkout-cart .buttons .pull-left,
#checkout-cart .buttons .pull-right {
	float: none;
	flex: 0 0 auto;
}

#checkout-cart .btn-default {
	background: transparent;
	color: var(--text);
	border: 1px solid var(--text);
	padding: 14px 32px;
	font-size: 0.9375rem;
}

#checkout-cart .btn-default:hover {
	background: var(--text);
	color: var(--bg);
}

#checkout-cart .btn-checkout {
	padding: 14px 32px;
	font-size: 0.9375rem;
	background: var(--text);
	color: var(--bg);
	border: 1px solid var(--text);
}

#checkout-cart .btn-checkout:hover {
	background: var(--accent);
	border-color: var(--accent);
}

#checkout-cart .clearfix::after {
	content: "";
	display: table;
	clear: both;
}

#checkout-cart .pull-left {
	float: left;
}

#checkout-cart .pull-right {
	float: right;
}

/* Empty cart styles */
#checkout-cart .empty-cart-message {
	text-align: center;
	padding: 80px 20px;
	max-width: 600px;
	margin: 60px auto;
	background: var(--bg);
	border-radius: 4px;
}

#checkout-cart .empty-cart-icon {
	margin-bottom: 30px;
	color: var(--gray);
	opacity: 0.4;
}

#checkout-cart .empty-cart-icon svg {
	width: 100px;
	height: 100px;
	margin: 0 auto;
	display: block;
}

#checkout-cart .empty-cart-title {
	font-size: 1.75rem;
	font-weight: 500;
	margin-bottom: 15px;
	color: var(--text);
	font-family: 'Fixel Text', sans-serif;
}

#checkout-cart .empty-cart-text {
	font-size: 1rem;
	color: var(--gray);
	margin-bottom: 35px;
	line-height: 1.6;
}

#checkout-cart .empty-cart-message .btn-shopping {
	padding: 14px 50px;
	font-size: 1rem;
	font-weight: 500;
	border-radius: 4px;
	text-decoration: none;
	display: inline-block;
	transition: all 0.3s ease;
	background-color: var(--accent);
	color: #fff;
	border: none;
	cursor: pointer;
}

#checkout-cart .empty-cart-message .btn-shopping:hover {
	opacity: 0.9;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Empty cart message */
#checkout-cart .alert+h1 {
	margin-top: 0;
}

/* Panel group styling for checkout modules */
#checkout-cart .panel-group {
	margin-bottom: 30px;
}

#checkout-cart .panel {
	background: var(--bg);
	border: 1px solid var(--border);
	border-radius: 4px;
	box-shadow: none;
	margin-bottom: 16px;
}

#checkout-cart .panel:last-child {
	margin-bottom: 0;
}

#checkout-cart .panel-heading {
	background: #fff;
	padding: 16px 20px;
	border-bottom: 1px solid var(--border);
	border-radius: 8px 8px 0 0;
}

#checkout-cart .panel-title {
	font-family: var(--userfont);
	font-size: 1rem;
	font-weight: 500;
	color: var(--text);
}

#checkout-cart .panel-title a {
	color: var(--text);
	text-decoration: none;
}

#checkout-cart .panel-title a:hover {
	color: var(--red);
}

#checkout-cart .panel-body {
	padding: 20px;
}



/* ========================================
   WISHLIST PAGE STYLES
   ======================================== */

#wishlist-products {
	padding: 2rem 0;
	min-height: 60vh;
}

/* Alert Messages */
#wishlist-products .alert {
	border-radius: 4px;
	margin-bottom: 1.5rem;
	padding: 1rem 1.25rem;
	font-size: 0.9375rem;
}

#wishlist-products .alert-success {
	background: #f0f9f4;
	border: 1px solid #c3e6cb;
	color: #155724;
}

#wishlist-products .alert .close {
	font-size: 1.5rem;
	opacity: 0.5;
	transition: opacity 0.3s ease;
}

#wishlist-products .alert .close:hover {
	opacity: 1;
}

/* Product Remove Link in Wishlist */
#wishlist-products .product-item {
	position: relative;
}

#wishlist-products .product-remove {
	margin-top: 1rem;
	text-align: center;
}

#wishlist-products .wishlist-remove-link {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	color: var(--red);
	font-size: 0.875rem;
	font-family: var(--userfont);
	text-decoration: none;
	transition: all 0.3s ease;
	padding: 0.5rem 1rem;
	border: 1px solid transparent;
	border-radius: 4px;
}

#wishlist-products .wishlist-remove-link:hover {
	color: #fff;
	background: var(--red);
	border-color: var(--red);
}

#wishlist-products .wishlist-remove-link i {
	font-size: 0.875rem;
}

/* Empty Wishlist */
#wishlist-products .wishlist-empty {
	text-align: center;
	padding: 4rem 1rem;
}

#wishlist-products .wishlist-empty p {
	color: var(--gray);
	font-size: 1rem;
	margin-bottom: 2rem;
}

#wishlist-products .wishlist-empty .buttons {
	margin-top: 2rem;
}

#wishlist-products .wishlist-empty .btn-buy {
	max-width: 300px;
	margin: 0 auto;
}

#filter-block .ocf-noUi-connect:before,
#filter-block .ocf-noUi-handle {
	background-color: var(--text);
}

#filter-block .ocf-selected .ocf-value-input::before {
	border-color: var(--text);
	background-color: var(--text);
}

#filter-block .ocf-btn-mobile-static.ocf-mobile {
	display: none;
}

#filter-block .filter-block {
	z-index: 99;

}



#onepcheckout {
	margin: 50px 0;
}

#onepcheckout .opc_block_totals .totals-inner {
	background: #fff;
}

#onepcheckout .opc_block_totals .table-cart  {
	font-weight: bold;
	font-size: 22px;
}

#onepcheckout .opc_block_totals .table-cart tr:first-child {
	display: none;
}

.checkout-col-center {
	gap: 0px;
}

#onepcheckout .checkout-col-fix-right {
	background: transparent;
	padding: 0;
}


/* ===== СІТКА (Grid System) ===== */

/* Row */
#onepcheckout .row {
	margin-left: -15px;
	margin-right: -15px;
}

#onepcheckout .row:before,
#onepcheckout .row:after {
	content: " ";
	display: table;
}

#onepcheckout .row:after {
	clear: both;
}

/* Колонки - базові стилі */
#onepcheckout .col-xs-12,
#onepcheckout .col-sm-6,
#onepcheckout .col-sm-12,
#onepcheckout .col-md-12,
#onepcheckout .col-lg-6 {
	position: relative;
	min-height: 1px;
	padding-left: 15px;
	padding-right: 15px;
}

/* Extra small devices (phones, less than 768px) */
#onepcheckout .col-xs-12 {
	float: left;
	width: 100%;
}

/* Small devices (tablets, 768px and up) */
@media (min-width: 768px) {
	#onepcheckout .col-sm-6 {
		float: left;
		width: 50%;
	}

	#onepcheckout .col-sm-12 {
		float: left;
		width: 100%;
	}
}

/* Medium devices (desktops, 992px and up) */
@media (min-width: 992px) {
	#onepcheckout .col-md-12 {
		float: left;
		width: 100%;
	}
}

/* Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
	#onepcheckout .col-lg-6 {
		float: left;
		width: 50%;
	}
}


/* ===== ФОРМИ ===== */

/* Form Group */

#onepcheckout .form-group:before,
#onepcheckout .form-group:after {
	content: " ";
	display: table;
}

#onepcheckout .form-group:after {
	clear: both;
}

/* Form Control */
#onepcheckout .form-control {
	display: block;
	width: 100%;
	height: 34px;
	padding: 6px 12px;
	font-size: 14px;
	line-height: 1.42857143;
	color: #555;
	background-color: #fff;
	background-image: none;
	border: 1px solid #ccc;
	border-radius: 4px;
	box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
	transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
}

#onepcheckout .ch-cart-quantity .form-control {
	padding: 6px 2px;
}

#onepcheckout .form-control:focus {
	border-color: #66afe9;
	outline: 0;
	box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6);
}

#onepcheckout .form-control::-moz-placeholder {
	color: #999;
	opacity: 1;
}

#onepcheckout .form-control:-ms-input-placeholder {
	color: #999;
}

#onepcheckout .form-control::-webkit-input-placeholder {
	color: #999;
}

#onepcheckout .form-control[disabled],
#onepcheckout .form-control[readonly],
#onepcheckout fieldset[disabled] .form-control {
	background-color: #eee;
	opacity: 1;
}

#onepcheckout select.form-control {
	height: 34px;
	line-height: 1;
}

#onepcheckout textarea.form-control {
	height: auto;
}

/* Control Label */
#onepcheckout .control-label {
	display: inline-block;
	max-width: 100%;
	margin-bottom: 5px;
	font-weight: 700;
}

/* Input Group */
#onepcheckout .input-group {
	position: relative;
	display: table;
	border-collapse: separate;
	width: 100%;
}

#onepcheckout .input-group .form-control {
	position: relative;
	z-index: 2;
	float: left;
	width: 100%;
	margin-bottom: 0;
	display: table-cell;
}

#onepcheckout .input-group .form-control:not(:first-child):not(:last-child) {
	border-radius: 0;
}

#onepcheckout .input-group .form-control:first-child {
	border-bottom-right-radius: 0;
	border-top-right-radius: 0;
}

#onepcheckout .input-group .form-control:last-child {
	border-bottom-left-radius: 0;
	border-top-left-radius: 0;
}

/* Input Group Button */
#onepcheckout .input-group-btn {
	position: relative;
	font-size: 0;
	white-space: nowrap;
	width: 1%;
	vertical-align: middle;
	display: table-cell;
}

#onepcheckout .input-group-btn>.btn {
	position: relative;
	border-radius: 0;
	border-top-right-radius: 4px;
	border-bottom-right-radius: 4px;
}

#onepcheckout .input-group-btn:last-child>.btn {
	margin-left: -1px;
}

#onepcheckout .input-group-btn:first-child>.btn {
	margin-right: -1px;
	border-radius: 0px 0 0 4px;
}


/* ===== УТИЛІТИ ===== */

/* Margin Bottom */
#onepcheckout .mb-0 {
	margin-bottom: 0 !important;
}

#onepcheckout .mb-10 {
	margin-bottom: 10px !important;
}

#onepcheckout .mb-30 {
	margin-bottom: 30px !important;
}

/* Padding Bottom */
#onepcheckout .pb-10 {
	padding-bottom: 10px !important;
}

/* Width */
#onepcheckout .w-100 {
	width: 100% !important;
}

/* Height */
#onepcheckout .h-100 {
	height: 100% !important;
}

/* Display None */
#onepcheckout .d-none {
	display: none !important;
}

/* Clearfix */
#onepcheckout .clearfix:before,
#onepcheckout .clearfix:after {
	content: " ";
	display: table;
}

#onepcheckout .clearfix:after {
	clear: both;
}


/* ===== ДОДАТКОВІ КОРИСНІ СТИЛІ ===== */

/* Text align */
#onepcheckout .text-left {
	text-align: left;
}

#onepcheckout .text-right {
	text-align: right;
}

#onepcheckout .text-center {
	text-align: center;
}


#onepcheckout .accordion-toggle {
	display: none;
}

#collapse-dop-module .btn-primary,
.opc-btn-primary {
	background: var(--text) !important;
	color: #fff !important;
}

#onepcheckout .opc-btn-primary:hover {
	background: var(--accent) !important;
	border-color: var(--accent) !important;
}

.agree {
	color: var(--text) !important;
}

#onepcheckout .chm-radio label input[type="radio"]:checked,
#onepcheckout .chm-checkbox label input[type="checkbox"]:checked {
	background: var(--text);
	border: solid 1px var(--text);
}

.thankyou-block {
	padding: 80px 0;
	text-align: center;
}

.thankyou-icon {
	margin-bottom: 30px;
}

.thankyou-icon .circle {
	width: 72px;
	height: 72px;
	border: 2px solid #333;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	position: relative;
}

.checkmark {
	width: 22px;
	height: 12px;
	border-left: 2px solid #333;
	border-bottom: 2px solid #333;
	transform: rotate(-45deg);
	display: inline-block;
}

.thankyou-text .big {
	font-size: 26px;
	margin-bottom: 10px;
	font-weight: 500;
}

.thankyou-text p {
	color: #555;
	line-height: 1.7;
	margin-bottom: 15px;
}

.thankyou-text a {
	color: var(--text);
	text-decoration: none;
}

.thankyou-text a:hover {
	text-decoration: underline;
}

.button-back {
	display: inline-block;
	margin-top: 25px;
	padding: 12px 28px;
	border: 1px solid #333;
	border-radius: 3px;
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: #333;
	transition: 0.25s ease;
}

.button-back:hover {
	background: #333;
	color: #fff;
}

/* Stock Notify */
.btn-notify-stock {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	padding: 14px 24px;
	margin-top: 10px;
	background: transparent;
	border: 1.5px solid var(--text);
	color: var(--text);
	font-size: 14px;
	font-family: 'Fixel Text', sans-serif;
	font-weight: 500;
	letter-spacing: 0.03em;
	cursor: pointer;
	transition: all 0.25s ease;
}

.btn-notify-stock:hover {
	background: var(--text);
	color: #fff;
}

.btn-notify-stock svg {
	flex-shrink: 0;
}

.stock-notify-overlay {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.5);
	z-index: 10000;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	visibility: hidden;
	transition: all 0.3s ease;
}

.stock-notify-overlay.active {
	opacity: 1;
	visibility: visible;
}

.stock-notify-popup {
	background: #fff;
	width: 90%;
	max-width: 420px;
	padding: 40px 32px 32px;
	position: relative;
	text-align: center;
	transform: translateY(20px);
	transition: transform 0.3s ease;
}

.stock-notify-overlay.active .stock-notify-popup {
	transform: translateY(0);
}

.stock-notify-close {
	position: absolute;
	top: 12px;
	right: 16px;
	background: none;
	border: none;
	font-size: 28px;
	color: var(--gray);
	cursor: pointer;
	line-height: 1;
	transition: color 0.2s;
}

.stock-notify-close:hover {
	color: var(--text);
}

.stock-notify-icon {
	margin-bottom: 16px;
}

.stock-notify-title {
	font-size: 20px;
	font-weight: 500;
	color: var(--text);
	margin: 0 0 8px;
}

.stock-notify-desc {
	font-size: 14px;
	color: var(--gray);
	margin: 0 0 24px;
	line-height: 1.5;
}

.stock-notify-field {
	margin-bottom: 12px;
}

.stock-notify-input {
	width: 100%;
	padding: 12px 16px;
	border: 1px solid var(--border);
	font-size: 14px;
	font-family: 'Fixel Text', sans-serif;
	color: var(--text);
	background: var(--bg);
	transition: border-color 0.2s;
	box-sizing: border-box;
}

.stock-notify-input:focus {
	outline: none;
	border-color: var(--text);
}

.stock-notify-input::placeholder {
	color: #bbb;
}

.stock-notify-btn {
	width: 100%;
	padding: 14px;
	margin-top: 8px;
	background: var(--text);
	color: #fff;
	border: none;
	font-size: 14px;
	font-family: 'Fixel Text', sans-serif;
	font-weight: 500;
	letter-spacing: 0.03em;
	cursor: pointer;
	transition: background 0.25s ease;
}

.stock-notify-btn:hover {
	background: #000;
}

.stock-notify-error {
	color: var(--red);
	font-size: 13px;
	margin: 8px 0;
}

.stock-notify-success {
	color: #2e7d32;
	font-size: 13px;
	margin: 8px 0;
}