/* base */
/* === base/reset.css === */
* {
	margin: 0;
	padding: 0;
}

html {
	overflow-x: hidden;
}

body {
	font-family: "Montserrat";
	font-weight: 400;
	color: #000000;
	font-size: 16px;
	overflow-x: hidden;
	max-width: 100vw;
}


/* === base/utils.css === */
.transition {
	transition: all 0.3s ease !important;
}
.cursor-pointer {
	cursor: pointer !important;
}
.overflow-scrolling-touch {
	-webkit-overflow-scrolling: touch !important;
}
.no-interact {
	user-select: none;
	pointer-events: none;
}
.z-1 {
	z-index: 1 !important;
}
.z-2 {
	z-index: 2 !important;
}



/* utils */
/* === utilities/display.css === */
.transform-y-50 {
	transform: translateY(-50%);
}


/* === utilities/images.css === */
.responsive-img {
	object-fit: cover;
	height: 100%;
}


/* === utilities/sizing.css === */
/* WIDTH */
.min-w-100 {
	min-width: 100% !important;
}
.max-w-38 {
	max-width: 38% !important;
}
.w-95 {
	width: 95% !important;
}
.max-w-600 {
	max-width: 600px !important;
}

.w-3 {
	width: 3px !important;
}
.w-4 {
	width: 4px !important;
}

.w-20 {
	width: 20px !important;
}
.w-105 {
	width: 105px !important;
}

.w-180 {
	width: 180px !important;
}
.w-278 {
	width: 278px !important;
}

.w-380 {
	width: 380px !important;
}

.w-500 {
	max-width: 500px !important;
}
/* HEIGHT */

.h-2 {
	height: 2px !important;
}
.h-10 {
	height: 10px !important;
}
.h-16 {
	height: 16px !important;
}
.h-18 {
	height: 18px !important;
}
.h-24 {
	height: 24px !important;
}
.h-30 {
	height: 30px !important;
}
.h-48 {
	height: 48px !important;
}
.h-55 {
	height: 55px !important;
}

.min-h-85 {
	min-height: 85% !important;
}

/* WIDTH + HEIGHT */
.wh-6 {
	width: 6px !important;
	height: 6px !important;
}
.wh-10 {
	width: 10px !important;
	height: 10px !important;
}
.wh-12 {
	width: 12px !important;
	height: 12px !important;
}
.wh-16 {
	width: 16px !important;
	height: 16px !important;
}
.wh-23 {
	width: 23px !important;
	height: 23px !important;
	/* min-width: 26px !important;
	min-height: 26px !important; */
}
.wh-26 {
	width: 26px !important;
	height: 26px !important;
	/* min-width: 26px !important;
	min-height: 26px !important; */
}
.wh-32 {
	width: 32px !important;
	height: 32px !important;
}
.wh-24 {
	width: 24px !important;
	height: 24px !important;
}

.wh-38 {
	width: 38px !important;
	height: 38px !important;
}
.wh-40 {
	width: 40px !important;
	height: 40px !important;
	min-width: 40px !important;
	min-height: 40px !important;
}
.wh-48 {
	width: 48px !important;
	height: 48px !important;
	min-width: 48px !important;
	min-height: 48px !important;
}
.wh-55 {
	width: 55px !important;
	height: 55px !important;
	min-width: 55px !important;
	min-height: 55px !important;
}


.wh-64 {
	width: 64px !important;
	height: 64px !important;
}
.min-wh-20 {
	min-width: 20px !important;
	min-height: 20px !important;
}
.wh-100 {
	width: 100% !important;
	height: 100% !important;
}

/* Переопределение Bootstrap rounded-circle */
.rounded-circle {
    border-radius: 10% !important;
}


/* === utilities/spacing.css === */
/* MARGIN */
.mt-n10 {
	margin-top: -10px !important;
}
.mt-12 {
	margin-top: 12px !important;
}
.mt-18 {
	margin-top: 18px !important;
}
.mt-32 {
	margin-top: 32px !important;
}
.mt-40 {
	margin-top: 40px !important;
}
.mt-64 {
	margin-top: 64px !important;
}

.ms-28 {
	margin-left: 28px !important;
}
.ms-44 {
	margin-left: 44px !important;
}
.ms-49 {
	margin-left: 49px !important;
}

.me-12 {
	margin-right: 12px !important;
}
.me-32 {
	margin-right: 32px !important;
}

/* PADDING */
.pt-12 {
	padding-top: 12px !important;
}
.pt-40 {
	padding-top: 40px !important;
}
.pt-100 {
	padding-top: 100px !important;
}

.pb-30 {
	padding-bottom: 30px !important;
}

.pb-70 {
	padding-bottom: 70px !important;
}

.ps-12 {
	padding-left: 12px !important;
}
.pe-12 {
	padding-right: 12px !important;
}

/* GAP */
.gap-40 {
	gap: 40px !important;
}
.gap-12 {
	gap: 12px !important;
}

/* BOTTOM */
.bottom-10 {
	bottom: 10px !important;
}
.bottom-55 {
	bottom: 55px !important;
}
/* TOP */
.top-5 {
	top: 5px;
}
.top-16 {
	top: 16px !important;
}

.top-25 {
	top: 25px !important;
}
.right-0 {
	right: 0;
}

.left-0 {
	left: 0;
}

.start-12 {
	left: 12px !important;
}
.start-16 {
	left: 16px !important;
}
.end-8 {
	right: 8px !important;
}
.end-12 {
	right: 12px !important;
}
.end-25 {
	right: 25px !important;
}
.absolute-center-x {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
}
.absolute-center-y {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
}


/* === utilities/typography.css === */
/* FONT-SIZE */

.f-size-10 {
	font-size: 10px !important;
}

.f-size-12 {
	font-size: 12px !important;
}

.f-size-14 {
	font-size: 14px !important;
}

.f-size-16 {
	font-size: 16px !important;
}

.f-size-18 {
	font-size: 18px !important;
}
.f-size-20 {
	font-size: 20px !important;
}
.f-size-22 {
	font-size: 22px !important;
}
.f-size-24 {
	font-size: 24px !important;
}
.f-size-28 {
	font-size: 28px !important;
}
.f-size-46 {
	font-size: 46px !important;
}

/* LINE-HEIGHT */
.f-lh-13 {
	line-height: 13px !important;
}
.f-lh-14 {
	line-height: 14px !important;
}
.f-lh-16 {
	line-height: 16px !important;
}
.f-lh-19 {
	line-height: 19px !important;
}
.f-lh-22 {
	line-height: 22px !important;
}
.f-lh-24 {
	line-height: 24px !important;
}
.f-lh-34 {
	line-height: 34px !important;
}
.f-lh-54 {
	line-height: 54px !important;
}

/* FONT-WEIGHT */
.f-weight-400 {
	font-weight: 400 !important;
}
.f-weight-500 {
	font-weight: 600 !important;
}
.f-weight-600 {
	font-weight: 600 !important;
}

/* COLOR */
.color-white {
	color: #ffffff !important;
}

.color-gray {
	color: #727272 !important;
}

.color-black {
	color: black !important;
}
.color-red {
	color: #d10000 !important;
}
.f-color-breadcrumb-gray {
	color: #adadad !important;
}


/* === utilities/borders.css === */
.border-bottom-1-light-gray {
	border-bottom: 1px solid #ebebeb !important;
}
.border-top-1-light-gray {
	border-top: 1px solid #ebebeb !important;
}
.border-1-light-gray {
	border: 1px solid #ebebeb !important;
}
.border-1-3d3 {
	border: 1px solid #3d3d3d !important;
}
.border-top-1-3d3 {
	border-top: 1px solid #3d3d3d !important;
}
.border-right-1-3d3 {
	border-right: 1px solid #3d3d3d !important;
}

.border-1-black {
	border: 1px solid black;
}
.border-none {
	border: none !important;
}
.border-radius-50 {
	border-radius: 50px;
}

.border-2-trans {
	border: 2px solid transparent;
}

@media (min-width: 992px) {
	.border-right-lg-1-3d3 {
		border-right: 1px solid #3d3d3d !important;
	}
	.border-top-lg-1-3d3 {
		border-top: 1px solid #3d3d3d !important;
	}
}


/* === utilities/background.css === */
.background-color-gray {
	background-color: #f8f8f8 !important;
}
.background-color-light-gray {
	background-color: #f7f7f8 !important;
}

.background-color-dark-gray {
	background-color: #575757 !important;
}
.background-color-black {
	background-color: black !important;
}
.background-color-white {
	background-color: white !important;
}
.background-color-db {
	background: #dbdbdb;
}
.background-color-d3d {
	background: #d3d4dd;
}
.background-color-9a9 {
	background: #9a9db1;
}
.background-color-f4 {
	background-color: #f4f4f6;
}

.background-none {
	background: none !important;
}

.background-color-red {
	background-color: #d10000 !important;
}


/* layout */

/* components */
/* === components/navbar.css === */
.burger {
	position: relative;
	background: none;
	border: none;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 17px;
	cursor: pointer;
}

nav.navbar {
	height: 48px;
}

/* Navbar - обычное положение */
#mainNavbar {
	z-index: 1030;
	padding-top: 0px;
	padding-bottom: 0px;
	background-color: #fff !important;
	transition: box-shadow 0.2s ease;
}

/* Navbar - фиксированное положение при скролле */
#mainNavbar.navbar-fixed {
	position: fixed !important;
	top: 0 !important;
	left: 0 !important;
	right: 0 !important;
	box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Placeholder для сохранения места когда navbar становится fixed */
.navbar-placeholder {
	display: none;
}
.navbar-placeholder.active {
	display: block;
}

#mainNavbar .container-fluid {
	height: 42px;
	padding-top: 0px;
	padding-bottom: 0px;
}


.burger-line {
	width: 100%;
	height: 2px;
	background-color: #0c0c0c;
	transition: all 0.5s ease;
	position: absolute;
	left: 0;
	border-radius: 50px;
}

.burger-line:nth-child(1) {
	top: 0;
}
.burger-line:nth-child(2) {
	top: 50%;
	transform: translateY(-50%);
}
.burger-line:nth-child(3) {
	bottom: 0;
}

.navbar-nav {
	gap: 20px;
}
.nav-link {
	display: inline-block;
	padding: 0;
	transition: all 0.3s ease;
	user-select: contain;
	pointer-events: auto;
	outline: none;

	border: 1px solid transparent;
	color: rgba(0, 0, 0, 1);
	padding: 0 5px !important;
}
.menu-text {
	font-size: 14px;
	font-weight: 500;
	color: rgba(0, 0, 0, 1);
	display: inline-block;
	height: 14px;
	line-height: 14px;
	transition: color 0.3s ease;
}

.nav-link:hover .menu-text {
	color: #e5241f;
}

.navbar-right .navbar-icon:hover {
	color: #e5241f;
}

.navbar-right .navbar-icon:hover svg {
	stroke: #e5241f;
}

.color-red {
	color: #e20613;
}

.header__logo img {
	max-height: 20px;
}
.navbar-brand img {
	height: 30px;
}

.navbar .d-md-flex.align-items-center.d-none.ms-auto {
	font-size: 14px;
	font-weight: 500;
}

/* Единый размер иконок в шапке: квадратный слот + outline SVG 24×24 */
:root {
	--header-icon-size: 20px;
}

.header-icon-slot {
	box-sizing: border-box;
	width: var(--header-icon-size);
	height: var(--header-icon-size);
	min-width: var(--header-icon-size);
	min-height: var(--header-icon-size);
	max-width: var(--header-icon-size);
	max-height: var(--header-icon-size);
	flex: 0 0 var(--header-icon-size);
	padding: 0 !important;
	margin: 0;
	border: 0;
	line-height: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	position: relative;
	color: #000;
	background: transparent;
	vertical-align: middle;
}

.header-icon-slot svg {
	width: 100% !important;
	height: 100% !important;
	min-width: 0;
	min-height: 0;
	display: block;
	flex-shrink: 0;
}

/* Стрелка выбора валюты - маленькая */
.currency-chevron {
	width: 8px !important;
	height: 8px !important;
	min-width: 8px !important;
}

#searchbox.header-icon-slot {
	color: rgba(0, 0, 0, 1);
}

/* Выравнивание иконок в navbar */
.navbar-icons {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
}

.navbar-icons .nav-item {
	display: flex;
	align-items: center;
}

.navbar-icons .navbar-icon.header-icon-slot,
.navbar-right .header-icon-slot {
	overflow: visible;
}

.dropdown-toggle::after {
	display: none;
}
@media (max-width: 767.98px) {
	:root {
		--header-icon-size: 18px;
	}
}

/* ===== Mobile Header Styles ===== */
@media (max-width: 991.98px) {
	#mainNavbar .container-fluid {
		display: flex;
		justify-content: space-between;
		align-items: center;
		padding: 0 16px;
		height: 42px;
	}

	/* Бургер слева */
	.navbar-toggler {
		border: none;
		padding: 0;
		order: 1;
	}

	.navbar-toggler:focus {
		box-shadow: none;
	}

	/* Логотип по центру */
	.navbar-brand.mobile-logo {
		position: absolute;
		left: 50%;
		transform: translateX(-50%);
		margin: 0;
		order: 2;
	}

	.navbar-brand.mobile-logo img {
		height: 22px;
	}

	/* Иконки справа: гео · валюта · поиск · корзина */
	.mobile-header-icons {
		order: 3;
		gap: 10px;
	}

	#mainNavbar .mobile-icon-btn,
	#mainNavbar .mobile-icon-link {
		background: transparent !important;
		border: 0 !important;
		padding: 4px;
		display: flex;
		align-items: center;
		justify-content: center;
		color: #000;
		outline: 0 !important;
		box-shadow: none !important;
		appearance: none;
		-webkit-appearance: none;
		-webkit-tap-highlight-color: transparent;
		text-decoration: none;
	}

	#mainNavbar .mobile-icon-link.header-icon-slot {
		width: var(--header-icon-size);
		height: var(--header-icon-size);
		min-width: var(--header-icon-size);
		min-height: var(--header-icon-size);
		padding: 0 !important;
	}

	#mainNavbar .mobile-icon-btn:focus,
	#mainNavbar .mobile-icon-btn:active,
	#mainNavbar .mobile-icon-btn:hover,
	#mainNavbar .mobile-icon-btn:focus-visible,
	#mainNavbar .mobile-icon-link:focus,
	#mainNavbar .mobile-icon-link:active,
	#mainNavbar .mobile-icon-link:hover,
	#mainNavbar .mobile-icon-link:focus-visible {
		outline: 0 !important;
		box-shadow: none !important;
		border: 0 !important;
		background: transparent !important;
	}

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

	/* Скрываем десктопные элементы (мобильный конвертер — в .mobile-header-icons) */
	.navbar-right,
	.navbar-icons,
	.navbar-right .currency-converter {
		display: none !important;
	}
}
/* Desktop Search */
.search-form {
	background-color: #f5f5f5;
	border-radius: 50px;
	padding: 0.3rem 0.8rem;
	font-size: 12px;
}

.search-form__input {
	border: none;
	background: transparent;
	outline: none;
	width: 120px;
	transition: width 0.3s ease-in-out;
}

.search-form__input:focus {
	width: 200px;
}

.search-form__input::placeholder {
	color: #858585;
}

.search-form__btn {
	border: none;
	background: transparent;
	padding: 0;
	margin-right: 0.5rem;
}

/* Mobile */
.search-btn-mobile {
	border: none;
	background: transparent;
	padding: 0;
}

.mobile-search-form {
	position: relative;
}

.mobile-search-form .form-control {
	border-radius: 0;
	padding: 0.8rem 1rem;
}

.mobile-search-form .form-control:focus {
	border-color: #ced4da;
	box-shadow: none;
}

.mobile-search-form__btn {
	position: absolute;
	right: 1rem;
	top: 50%;
	transform: translateY(-50%);
	border: none;
	background: transparent;
}

/* --- Mobile --- */

/* Burger animation */
.burger.is-active .burger-line:nth-child(1) {
	top: 50%;
	transform: translateY(-50%) rotate(45deg);
}
.burger.is-active .burger-line:nth-child(2) {
	opacity: 0;
}
.burger.is-active .burger-line:nth-child(3) {
	bottom: 50%;
	transform: translateY(50%) rotate(-45deg);
}

/* Mobile Nav Dropdown */
.header {
	position: relative;
	z-index: 1001; /* Above mobile nav */
	background-color: #fff;
}

.mobile-nav {
	position: absolute;
	top: 100%;
	left: 0;
	width: 100%;
	background-color: #fff;
	z-index: 1000;
	border-top: 1px solid #e7e7e7;
	overflow: hidden;
	max-height: 0;
	transition: max-height 0.4s ease-in-out, padding 0.4s ease-in-out;
	padding: 0 1rem;
}
.mobile-nav.is-open {
	max-height: 500px;
	padding: 2rem 1rem;
}

.mobile-nav__link {
	font-size: 24px;
	color: #0c0c0c;
	text-decoration: none;
}

/* Mobile Search */
.search-btn-mobile {
	border: none;
	background: transparent;
	padding: 0;
	transition: opacity 0.3s ease;
}

.mobile-search-form {
	display: flex;
	align-items: center;
	gap: 1rem;
	overflow: hidden;
	max-height: 0;
	margin-top: 0;
	transition: max-height 0.4s ease-in-out, margin-top 0.4s ease-in-out,
		opacity 0.4s ease-in-out;
	opacity: 0;
}
.mobile-search-form.is-open {
	max-height: 100px;
	margin-top: 1rem;
	opacity: 1;
}

.mobile-search-form .form-control {
	border-radius: 8px;
	padding: 0.8rem 1rem;
	border-color: #e7e7e7;
}

.mobile-search-form .form-control:focus {
	border-color: #0c0c0c;
	box-shadow: none;
}

.mobile-search-cancel {
	border: none;
	background: none;
	padding: 0;
	font-size: 16px;
	color: #0c0c0c;
}

/* Header Dropdown */
.header .dropdown-menu {
	background-color: #fff;
	border: 1px solid #e7e7e7;
	border-radius: 0;
	--bs-dropdown-min-width: auto;
}

.header .dropdown-item {
	color: black;
}

.header .dropdown-item:hover,
.header .dropdown-item:focus {
	background-color: #f5f5f5;
	color: black;
}


/* === components/table.css === */
table {
	border-collapse: separate;
	border-spacing: 8px;
	margin-bottom: 8px !important;
}
tr {
	height: 66px;
}
th,
td {
	vertical-align: middle;
	padding: 14px !important;
	text-align: center;
	font-size: 15px !important;
	line-height: 16px !important;
	font-weight: 400 !important;
	min-width: 115px !important;
	border: 1px solid #ebebeb !important;
}
th {
	color: white !important;
	background-color: black !important;
}


/* === components/slider-custom-btns.css === */
.rating-bar {
	height: 6px;
	background-color: #e5e5e5;
	position: relative;
	width: 285px;
	border-radius: 3px;
}
.rating-fill {
	height: 6px;
	background-color: black;
	position: absolute;
	top: 0;
	left: 0;
	border-radius: 3px;
}
.rating-row {
	display: flex;
	align-items: center;
	margin-bottom: 6px;
	gap: 8px;
}
.rating-text {
	width: 20px;
}

/*  */

/* Цвета */
.progress-scale__dot {
	background-color: #d3d4dd;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background-color: #d3d4dd;
	position: relative;
	z-index: 2;
}
.progress-scale__dot.active {
	background-color: #9a9db1;
}

.progress-scale__bar {
	background-color: #9a9db1;
}

/* Белый кружок внутри активной точки */
.progress-scale__dot.active::after {
	content: "";
	display: block;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background-color: white;
	border: 2px solid black;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}
.progress-scale__dot.visited {
	background-color: #9a9db1;
}


/* === components/footer.css === */
.footer__input,
.footer__btn {
	background-color: transparent;
	border: none;
	border-radius: 0;
	border-bottom: 1px solid var(--white);
	padding: 1rem 0.5rem;
	text-align: left;
}

.footer__input::placeholder {
	color: var(--white);
	opacity: 0.7;
}

.footer__btn {
	text-align: center;
}

.footer__input:focus {
	background-color: transparent;
	color: var(--white);
	box-shadow: none;
	border-color: var(--white);
}

.footer__socials svg {
	transition: opacity 0.2s ease-in-out;
}

.footer__socials a:hover svg {
	opacity: 0.7;
}

.footer-accordion .accordion-item {
	background-color: transparent;
	border: none;
}

.footer-accordion .accordion-button {
	background-color: transparent;
	color: var(--white);
	font-weight: 600;
	padding: 1.5rem 0;
}

.footer-accordion .accordion-button:focus {
	box-shadow: none;
}

.footer-accordion .accordion-button:not(.collapsed) {
	background-color: transparent;
	color: var(--white);
	box-shadow: none;
}

.footer-accordion .accordion-button::after {
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.footer-accordion .accordion-body {
	padding-top: 0;
}
.footer-accordion .accordion-body a {
	opacity: 0.7;
	transition: opacity 0.2s ease-in-out;
	font-size: 12px;
}

.footer-accordion .accordion-item .accordion-header {
	font-size: 12px;
	font-weight: 400;
	color: white;
}
.footer-accordion .accordion-body a:hover {
	opacity: 1;
}

/* Custom Dropdown Styles */
.footer .dropdown-menu {
	background-color: #000;
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 0;
}

.footer .dropdown-item {
	color: #fff;
	transition: background-color 0.2s ease-in-out;
}

.footer .dropdown-item:hover,
.footer .dropdown-item:focus {
	background-color: rgba(255, 255, 255, 0.1);
	color: #fff;
}

/* Mobile & Desktop Layout for bottom section */
.footer__bottom-layout {
	position: relative;
}

.footer__chat {
	position: absolute;
	left: 0;
	bottom: 0;
	transform: translateY(50%);
	background-color: #000;
	padding: 4px 1rem;
}

@media (min-width: 992px) {
	.footer__bottom-layout {
		display: flex;
		align-items: center;
		gap: 3rem;
	}

	.footer__lang-container {
		border: none !important;
		padding: 0 !important;
		order: 2;
	}

	.footer__chat {
		position: static;
		transform: none;
		background-color: transparent;
		padding: 0;
		order: 1;
	}
}


/* === components/product-card.css === */
.product-card .pallete-slider,
.product-card .product-card__cart-btn {
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s, visibility 0.3s;
}

.product-card.is-interactive .pallete-slider,
.product-card.is-interactive .product-card__cart-btn {
	opacity: 1;
	visibility: visible;
}

.product-card__info {
	display: grid;
	grid-template-columns: 1fr auto auto;
	align-items: center;
	gap: 0 8px;
}

.product-card__description {
	grid-column: 1;
}
.product-card__color-count {
	grid-area: colors;
}
.product-card__price {
	grid-column: 2;
}
.product-card__cart-btn {
	grid-column: 3;
}

/* Стили для мобильных устройств */
@media (max-width: 991px) {
	.product-card__info {
		align-items: start;
		grid-template-columns: 1fr auto;
		grid-template-rows: auto auto;
		gap: 4px 0;
	}

	.product-card__description {
		grid-column: 1;
		grid-row: 1;
	}

	.product-card__cart-btn {
		grid-column: 2;
		grid-row: 1;
	}

	.product-card__price {
		grid-column: 1;
		grid-row: 2;
	}
}


/* === components/listing-discount.css === */
/**
 * Плашка скидки и акционная цена — красный как у пунктов мегаменю при hover (#e5241f).
 * Плашка: нижний левый угол фото на всех карточках.
 */
:root {
	--listing-sale-accent: #e5241f;
	--listing-sale-glow: rgba(229, 36, 31, 0.48);
}

/* Плашка — внизу слева на изображении */
.product-image-container-category .product-discount-badge-category,
.dropdown-mega .mega-card-media .product-discount-badge-category,
.mobile-menu-media .mega-card-media .product-discount-badge-category,
#search-results .product-image-container-category .product-discount-badge-category,
[data-page-type="search"] .product-image-container-category .product-discount-badge-category,
.related-products-section .product-image-container-category .product-discount-badge-category {
	position: absolute;
	top: auto !important;
	right: auto !important;
	bottom: 0px !important;
	left: 0px !important;
	z-index: 4;
}

/* PDP: плашка на фото галереи */
.product-discount-badge-pdp {
	position: absolute;
	top: auto !important;
	right: auto !important;
	bottom: 0px !important;
	left: 0px !important;
	z-index: 6;
}

.product-discount-badge-category,
.product-discount-badge-pdp {
	font-weight: 600;
	line-height: 1.2;
	pointer-events: none;
	letter-spacing: 0.02em;
	background: var(--listing-sale-accent) !important;
	color: #fff !important;
	box-shadow: 0 0 14px var(--listing-sale-glow);
	border-radius: 3px;
}

.product-discount-badge-category {
	font-size: 11px;
	padding: 3px 7px;
}

.product-discount-badge-pdp {
	font-size: 11px;
	padding: 4px 8px;
}

/* Зачёркнутая базовая цена — чёрная (не серый text-muted) */
.product-price-category .text-decoration-line-through,
.mega-card-price .text-decoration-line-through,
#product-price .text-decoration-line-through,
#search-results .product-price-category .text-decoration-line-through,
[data-page-type="search"] .product-price-category .text-decoration-line-through,
.related-products-section .product-price-category .text-decoration-line-through,
.tabs-module-container .product-price-category .text-decoration-line-through,
.mobile-menu-media .product-price-category .text-decoration-line-through,
.mobile-menu-media .mega-card-price .text-decoration-line-through {
	color: #000 !important;
	--bs-text-opacity: 1;
}

.product-price-category:has(.text-decoration-line-through) .fw-semibold,
.mega-card-price:has(.text-decoration-line-through) .fw-semibold,
#product-price:has(.text-decoration-line-through) .fw-semibold,
.mobile-menu-media .product-price-category:has(.text-decoration-line-through) .fw-semibold,
.mobile-menu-media .mega-card-price:has(.text-decoration-line-through) .fw-semibold,
#search-results .product-price-category:has(.text-decoration-line-through) .fw-semibold,
[data-page-type="search"] .product-price-category:has(.text-decoration-line-through) .fw-semibold,
.related-products-section .product-price-category:has(.text-decoration-line-through) .fw-semibold,
.tabs-module-container .product-price-category:has(.text-decoration-line-through) .fw-semibold {
	color: var(--listing-sale-accent) !important;
	font-weight: 600 !important;
}

/* Цена в карточках листинга — semibold как в категории (единый вид: каталог, избранное, /search, offcanvas, табы, мегаменю, drawer) */
#category-products-grid .product-price-category,
#favorites-products-grid .product-price-category,
#search-page .product-price-category,
#search-results .product-price-category,
[data-page-type="search"] .product-price-category,
.tabs-module-container .product-price-category,
.dropdown-mega .mega-card-price,
.dropdown-mega .product-price-category,
.mobile-menu-media .mega-card-price,
.mobile-menu-media .product-price-category {
	font-weight: 600 !important;
}


/* === components/filter-sidebar.css === */
.filter-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
	z-index: 1040;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease;
}

.filter-overlay.active {
	opacity: 1;
	visibility: visible;
}

.filter-sidebar {
	position: fixed;
	top: 0;
	right: -100%;
	left: auto;
	width: 100%;
	max-width: 480px;
	height: 100%;
	background-color: var(--color-white);
	z-index: 1050;
	transition: right 0.3s ease;
	display: flex;
	flex-direction: column;
}

.filter-sidebar.open {
	right: 0;
}

.filter-sidebar-header {
	border-bottom: 1px solid var(--color-border-gray);
}

.filter-sidebar-body {
	overflow-y: auto;
	flex-grow: 1;
}

.filter-section .border-bottom {
	border-bottom: 1px solid var(--color-border-gray) !important;
}

.filter-section .border-top {
	border-top: 1px solid var(--color-border-gray) !important;
}

.filter-option {
	background-color: var(--color-light-gray);
	border: 1px solid transparent;
	color: var(--color-black);
	font-size: var(--font-size-14);
	cursor: pointer;
}

.filter-option.active {
	border-color: var(--color-black);
	background-color: var(--color-white);
}

.filter-sidebar-footer {
	border-top: 1px solid var(--color-border-gray);
}

.show-results-btn {
	background-color: var(--color-black) !important;
	color: var(--color-white) !important;
	transition: background-color var(--transition-main);
}

.show-results-btn:hover {
	background-color: #333333 !important; /* A darker shade of black */
}

.clear-filters-btn {
	border: 1px solid var(--color-black);
	color: var(--color-black) !important;
	background: var(--color-white) !important;
	transition: background-color var(--transition-main);
}

.clear-filters-btn:hover {
	background-color: var(--color-light-gray) !important;
}

.hidden-options {
	display: none !important;
}

.hidden-options.visible {
	display: flex !important;
}

@media (min-width: 992px) {
	.filter-sidebar {
		right: -480px;
		left: auto;
		width: 480px;
	}

	.filter-sidebar.open {
		right: 0;
	}

	.filter-overlay.active {
		visibility: hidden;
	}
}



/* features */
/* === features/product-rating.css === */
.star-bg,
.star-fill {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    display: block;
}
.star-fill {
    clip-path: inset(0 100% 0 0);
}


/* === features/gender.css === */
/* Метки пола: полоса на div (активный) или на <a class="gender-link-pdp gender-item"> (анимированная ::after). */
.gender-item {
	display: inline-block;
	max-width: 100%;
	margin-left: 6px;
	margin-right: 6px;
	text-transform: uppercase;
	text-decoration: none !important;
	text-decoration-line: none !important;
	-webkit-text-decoration: none !important;
	line-height: 1.05;
	border-bottom: none !important;
	box-shadow: none;
	background: none !important;
	background-image: none !important;
	vertical-align: baseline;
}
.gender-item.transition {
	transition: color 0.2s ease !important;
}
.gender-item:hover,
.review-item:hover {
	color: #000000;
}

/* Активная метка (текущий товар) — только div */
div.gender-item {
	position: relative;
	padding-bottom: 3px;
}
div.gender-item::after {
	content: "";
	display: block;
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 1px;
	background: #000;
}
div.gender-item.active {
	color: #000000;
}

/* Ссылки: анимированная полоса — только a.gender-link-pdp::after (не трогать .gender-item::after на том же теге) */
/* Bootstrap _reboot: a { text-decoration: underline } + возможный a.gender-item:hover { text-decoration: underline !important } */
a.gender-link-pdp {
	border: 0;
	outline: none;
	background: transparent;
	display: inline-block;
	position: relative;
	padding-bottom: 3px;
	color: inherit;
	vertical-align: baseline;
}
a.gender-link-pdp:link,
a.gender-link-pdp:any-link,
a.gender-link-pdp:visited,
a.gender-link-pdp:hover,
a.gender-link-pdp:focus,
a.gender-link-pdp:focus-visible,
a.gender-link-pdp:active {
	text-decoration: none !important;
	text-decoration-line: none !important;
	text-underline-offset: 0 !important;
	text-decoration-thickness: 0 !important;
	-webkit-text-decoration: none !important;
	-webkit-text-decoration-line: none !important;
}
/* Выше по специфичности, чем a.gender-item:hover — только анимированная полоса */
a.gender-link-pdp.gender-item:link,
a.gender-link-pdp.gender-item:any-link,
a.gender-link-pdp.gender-item:visited,
a.gender-link-pdp.gender-item:hover,
a.gender-link-pdp.gender-item:focus,
a.gender-link-pdp.gender-item:focus-visible,
a.gender-link-pdp.gender-item:active {
	text-decoration: none !important;
	text-decoration-line: none !important;
	text-underline-offset: 0 !important;
	text-decoration-thickness: 0 !important;
	-webkit-text-decoration: none !important;
	-webkit-text-decoration-line: none !important;
}
a.gender-link-pdp::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 0;
	height: 1px;
	background: #000;
	transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
a.gender-link-pdp:hover::after,
a.gender-link-pdp:focus-visible::after {
	width: 100%;
}

.review-item::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	width: 0;
	height: 4px;
	background: #e5e5e5;
	transition: width 0.3s ease;
}
.review-item.active {
	color: #000000;
}
.review-item.active::after {
	width: 100%;
}


/* === features/pallets.css === */
.pallete-color {
	cursor: pointer;
	border-radius: 10%;
	position: relative;
	transition: transform 0.2s ease;
	width: 26px;
	height: 26px;
	display: inline-block;
}

.pallete-color::before {
	content: "";
	position: absolute;
	top: -7px;
	left: -7px;
	right: -7px;
	bottom: -7px;
	border: 2px solid rgba(0, 0, 0, 0.4);
	border-radius: 10%;
	pointer-events: none;
	opacity: 0;
	transition: opacity 0.3s ease;
}
.pallete-color:not(.active):hover {
	transform: scale(1.1);
}
.pallete-color.active::before {
	opacity: 1;
}
.pallete-color-black {
	background: #000000;
}
.pallete-color-white {
	background: #ffffff;
	border: 1px solid #e0e0e0;
}
.pallete-color-silver {
	background: #afafaf;
}
.pallete-color-brown {
	background: #966127;
}
.pallete-color-yellow {
	background: #ebb40c;
}
.pallete-color-orange {
	background: #f26622;
}
.pallete-color-red {
	background: #e31e2b;
}
.pallete-color-pink {
	background: #ea398c;
}
.pallete-color-purple {
	background: #a04ce4;
}
.pallete-color-ivory {
	background: #f4eee8;
}
.pallete-color-cream {
	background: #ffefde;
}
.pallete-color-taupe {
	background: #cec9c5;
}
.pallete-color-platinum {
	background: #e2e2e7;
}
.pallete-color-navy {
	background: #2d2d66;
}
.pallete-color-sky {
	background: #b6e9f2;
}
.pallete-color-lavender {
	background: #dac6ef;
}
.pallete-color-lime {
	background: #08b423;
}
.pallete-color-aqua {
	background: #d8ecef;
}
.pallete-color-mint {
	background: #90f2c3;
}
.pallete-color-maroon {
	background: #a70055;
}
.pallete-color-azure {
	background: #008cda;
}

/* Русские названия цветов */
.pallete-color-красный {
	background: #e31e2b;
}
.pallete-color-белый {
	background: #ffffff;
	border: 1px solid #e0e0e0;
}
.pallete-color-черный {
	background: #000000;
}
.pallete-color-синий {
	background: #008cda;
}
.pallete-color-голубой {
	background: #b6e9f2;
}
.pallete-color-зеленый {
	background: #08b423;
}
.pallete-color-желтый {
	background: #ebb40c;
}
.pallete-color-оранжевый {
	background: #f26622;
}
.pallete-color-розовый {
	background: #ea398c;
}
.pallete-color-фиолетовый {
	background: #a04ce4;
}
.pallete-color-серый {
	background: #afafaf;
}
.pallete-color-коричневый {
	background: #966127;
}
.pallete-color-бежевый {
	background: #f4eee8;
}
.pallete-color-кремовый {
	background: #ffefde;
}
.pallete-color-лавандовый {
	background: #dac6ef;
}
.pallete-color-мятный {
	background: #90f2c3;
}
.pallete-color-бирюзовый {
	background: #d8ecef;
}
.pallete-color-бордовый {
	background: #a70055;
}
.pallete-color-темно-синий {
	background: #2d2d66;
}
.pallete-color-светло-серый {
	background: #e2e2e7;
}
.pallete-color-платиновый {
	background: #e2e2e7;
}
.pallete-color-золотой {
	background: #ffd700;
}
.pallete-color-серебристый {
	background: #c0c0c0;
}

.pallete-color-бордо {
	background: #800020;
}

.pallete-color-капучино {
	background: #C19A6B;
	border: 1px solid #b88a5a;
}

.pallete-color-bordeaux {
	background: #800020;
}

.pallete-color-cappuccino {
	background: #C19A6B;
	border: 1px solid #b88a5a;
}

.pallete-color.active {
	z-index: 1;
	cursor: default;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .pallete-color {
        width: 22px;
        height: 22px;
    }
}

@media (max-width: 480px) {
    .pallete-color {
        width: 20px;
        height: 20px;
    }
}


/* === features/size-item.css === */
.size-item::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	box-shadow: inset 0 0 0 2px transparent;
	transition: box-shadow 0.3s ease-in-out;
	pointer-events: none;
	border-radius: inherit;
}
.size-item:hover {
	background-color: #f0f0f0;
}
.size-item.active::after {
	box-shadow: inset 0 0 0 2px #000;
}


/* === features/fit-scale.css === */
.dot.active {
	background: #dbdbdb;
	border-color: #000;
}
.fit-scale__center.active {
	background-color: #dbdbdb !important;
	border-color: #000 !important;
}
.fit-scale__center.active::after {
	content: "";
	display: block;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background-color: white;
	border: 2px solid black;
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
}
.dot.adjacent {
	border-color: #575757;
}

.dot.adjacent-2 {
	background-color: #9a9db1;
}


/* === features/unit-toggle.css === */
.toggle-btn {
	position: absolute;
	top: 0;
	bottom: 0;
	width: 50%;
	background-color: black;
	border-radius: 50px;
	transition: left 0.3s ease;
	z-index: 1;
	left: 0;
}

/* Кнопка справа */
#unitSwitch.active #toggle-btn {
	left: 50% !important;
}

/* Активное состояние — кнопка на cm */
#unitSwitch.active #inch {
	color: rgb(2, 2, 2);
}
#unitSwitch.active #cm {
	color: white;
}

/* Неактивное состояние — кнопка на in */
#unitSwitch #inch {
	color: white;
}
#unitSwitch #cm {
	color: black;
}

.unit-toggle__btn.active {
	color: white;
}



/* animations */
/* === animations/button-animation.css === */
.button-animation:hover {
	background-color: hsl(0, 0%, -10%);
	
}
.button-animation:active {
	transform: translateY(0);
}

.heart-animation:hover {
	transform: translateY(-2px);
}
.heart-animation:active {
	transform: translateY(0);
}

.arrow-animation:hover {
	border: 1px solid black;
}


/* === animations/readmore.css === */
.readmore::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 1px;
	background-color: currentColor;
	transform: scaleX(0);
	transition: transform 0.3s ease;
}
.readmore:hover {
	color: hsl(0, 0%, -10%);
	
}
.readmore:hover::after {
	transform: scaleX(1);
}



/* themes */

/* media */
/* === media/responsive.css === */
@media (min-width: 992px) {
	.hero__content {
		background-position: center top;
		min-height: 100vh;
	}
	.categories .swiper-slide {
		background-position: center top;
		min-height: 850px;
	}
	.m-top-315 {
		margin-top: 315px !important;
	}
	.lg-border-bottom-1-light-gray {
		border-bottom: 1px solid #ebebeb !important;
	}
	.lg-border-none {
		border: none !important;
	}
	.mt-lg-0 {
		margin-top: 0 !important;
	}
	.mt-lg-32 {
		margin-top: 32px !important;
	}

	.ms-lg-49 {
		margin-left: 49px !important;
	}
	.ms-lg-44 {
		margin-left: 44px !important;
	}
	.max-w-lg-38 {
		max-width: 38% !important;
	}
	.pt-lg-100 {
		padding-top: 100px !;
	}
	.pb-lg-0 {
		padding-bottom: 0 !important;
	}
	.wh-lg-26 {
		width: 26px !important;
		height: 26px !important;
		min-width: 26px !important;
		min-height: 26px !important;
	}
	.wh-lg-64 {
		width: 64px !important;
		height: 64px !important;
		min-width: 64px !important;
		min-height: 64px !important;
	}
	.w-lg-300 {
		width: 300px !important;
		min-width: 300px !important;
	}
	.w-lg-278 {
		width: 278px !important;
		min-width: 278px !important;
	}
	.absolute-lg-center-x {
		position: absolute;
		left: 50%;
		transform: translateX(-50%);
	}
	.position-lg-absolute {
		position: absolute !important;
	}
	.bottom-lg-10 {
		bottom: 10px !important;
	}
}

@media (min-width: 1200px) {
	.absolute-xl-center-x {
		position: absolute;
		left: 50%;
		transform: translateX(-50%);
	}
}


/* === media/fonts.css === */
@media (min-width: 992px) {
	.f-size-lg-10 {
		font-size: 10px !important;
	}
	.f-size-lg-12 {
		font-size: 12px !important;
	}
	.f-size-lg-14 {
		font-size: 14px !important;
	}
	.f-size-lg-16 {
		font-size: 16px !important;
	}
	.f-size-lg-18 {
		font-size: 18px !important;
	}
	.f-size-lg-20 {
		font-size: 20px !important;
	}
	.f-size-lg-22 {
		font-size: 22px !important;
	}
	.f-size-lg-24 {
		font-size: 12px !important;
	}
	.f-size-lg-46 {
		font-size: 46px !important;
	}

	.f-lh-lg-54 {
		line-height: 54px !important;
	}

	.color-lg-black {
		color: black !important;
	}
}


/* === components/category-color-swatches-nav.css === */
/* Горизонтальная прокрутка ряда цветовых свотчей: стрелки влево/вправо (каталог, поиск, мегаменю) */
.color-options-category {
  min-width: 0;
  overflow: visible;
  width: 100%;
}

.color-swatches-nav-wrap {
  display: flex;
  flex-direction: row;
  align-items: center;
  /* Зазор между кнопками и рядом свотчей */
  gap: 8px;
  min-width: 0;
  width: 100%;
}

/*
 * Табы на главной — тот же левый край, что у названия/цены в каталоге
 * (padding у .product-info-category--swatches-only). Без -16px / +20px.
 */
.tabs-module-container .color-swatches-nav-wrap {
  margin-left: 0;
  margin-right: 0;
}

.tabs-module-container .color-swatches-nav-wrap .color-swatches-category {
  padding-left: 0;
  padding-right: 0;
}

.color-swatches-nav-wrap .color-swatches-category,
.color-swatches-nav-wrap .mega-card-colors-scroll {
  flex: 1 1 0;
  min-width: 0;
  /* Перебиваем выравнивание с заголовком из category/favorite/search (margin:-16px) */
  margin-left: 0 !important;
  margin-right: 0 !important;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  align-items: center;
}

/* Без этого flex сжимает свотчи до узкой полосы — всё «влезает», нет overflow → стрелки hidden */
.color-swatches-nav-wrap .color-swatches-category > .color-swatch-category,
.color-swatches-nav-wrap .color-swatches-category > .color-more-category {
  flex: 0 0 auto;
  box-sizing: border-box;
}

/* Мегаменю: вертикально не режем точки (общий overflow-y:hidden только для длинных карточек каталога) */
.dropdown-mega .mega-card .mega-card-colors-scroll {
  overflow-y: visible;
  align-items: center;
}

.color-swatches-nav-wrap .color-swatches-category::-webkit-scrollbar,
.color-swatches-nav-wrap .mega-card-colors-scroll::-webkit-scrollbar {
  display: none;
}

.color-swatches-nav {
  flex: 0 0 auto;
  border: none;
  background: #fff;
  width: 26px;
  height: 26px;
  min-width: 26px;
  border-radius: 50%;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  line-height: 1;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
  position: relative;
  z-index: 2;
}

.color-swatches-nav:hover:not(:disabled) {
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.color-swatches-nav:disabled {
  cursor: default;
  opacity: 0.4;
}

.color-swatches-nav[hidden] {
  display: none !important;
}

/*
 * Блок свотчей вне ссылки. Строку цены / mb-2 не трогаем —
 * визуальный зазор подтягиваем margin-top у свотчей.
 */
.product-info-category.product-info-category--swatches-only {
  padding-top: 0;
  margin-top: -4px;
}

/* Мегаменю: отступы заданы в menumodule.html (не дублируем margin-top здесь) */
.dropdown-mega .mega-card-colors {
  min-width: 0;
}

.dropdown-mega .mega-card-colors .color-swatches-nav-wrap {
  gap: 8px;
  margin-left: 0;
  margin-right: 0;
}

.dropdown-mega .mega-card-colors-scroll {
  gap: 4px;
}

.dropdown-mega .mega-card-colors-scroll .mega-color-dot {
  flex-shrink: 0;
}

.dropdown-mega .mega-card-colors-scroll .mega-color-more {
  flex-shrink: 0;
}


/* === features/search-page.css === */
/**
 * Страница /search (#search-page).
 * Карточки и layout каталога: category-page.css + product-card-category.css.
 * Форма поиска: search-results-page.css.
 */



/* Global font override */
:root {
  --font-family-base: 'Montserrat', sans-serif;
}

body, button, input, select, textarea {
  font-family: 'Montserrat', sans-serif !important;
}