@charset "UTF-8";

/*!
 * Bootstrap  v5.3.8 (https://getbootstrap.com/)
 */
:root {
	--light-blue: #AED5F3;
	--blue: #2258aa;
	--dark-blue: #07224F;
	--light-red: #FF9393;
	--red: #F24535;
	--rdark-red: #A70202;
	--bejsevyj: #F0C777;
	--white: #fff;
	--gray-100: #f9fafb;
	--gray-200: #EBE6E0;
	--light-gray: #EBE6E0;
	--gray-300: #dfe3e7;
	--gray-400: #B9B9B9;
	--gray: #B9B9B9;
	--gray-500: #adb5bd;
	--gray-600: #6d757e;
	--gray-700: #484f56;
	--dark-gray: #292929;
	--gray-800: #292929;
	--gray-900: #22262a;
	--black: #000;
	--indigo: #9747FF;
	--box-shadow-sm: 0 3px 7px hsla(0, 0%, 0%, 0.45);
	--box-shadow-lg: -13px 19px 35px rgba(0, 0, 0, 0.35);
	--line: 1px solid var(--gray-300);

	--primary: #010156;
	--secondary: #6d757e;
	--success: #448344;
	--info: #30638d;
	--warning: #ad6200;
	--danger: #a51f18;
	--dark: #353b41;

	--primary-rgb: 1, 1, 86;
	--secondary-rgb: 109, 117, 126;
	--success-rgb: 68, 131, 68;
	--info-rgb: 48, 99, 141;
	--warning-rgb: 173, 98, 0;
	--danger-rgb: 165, 31, 24;
	--light-rgb: 249, 250, 251;
	--dark-rgb: 53, 59, 65;
	--primary-text-emphasis: #002;
	--secondary-text-emphasis: #2c2f32;
	--success-text-emphasis: #1b351b;
	--info-text-emphasis: #132838;
	--warning-text-emphasis: #452700;
	--danger-text-emphasis: #420c09;
	--light-text-emphasis: #484f56;
	--dark-text-emphasis: #484f56;
	--primary-bg-subtle: #ccd;
	--secondary-bg-subtle: #e2e3e5;
	--success-bg-subtle: #dae6da;
	--info-bg-subtle: #d6e0e8;
	--warning-bg-subtle: #efe0cc;
	--danger-bg-subtle: #edd2d1;
	--light-bg-subtle: #fcfcfd;
	--dark-bg-subtle: #ced4da;
	--primary-border-subtle: #99b;
	--secondary-border-subtle: #c5c8cb;
	--success-border-subtle: #b4ceb4;
	--info-border-subtle: #acc1d1;
	--warning-border-subtle: #dec099;
	--danger-border-subtle: #dba5a2;
	--light-border-subtle: #eaedf0;
	--dark-border-subtle: #adb5bd;
	--white-rgb: 255, 255, 255;
	--black-rgb: 0, 0, 0;
	--gradient: linear-gradient(180deg, #ffffff26, #fff0);
	--body-font-family: "Roboto Flex", sans-serif;
	--body-font-size: 12px;
	--body-font-weight: 300;
	--content-line-height: 1.2;
	--body-line-height: 1;
	--body-color: #22262a;
	--body-color-rgb: 34, 38, 42;
	--body-bg: #eef7ff !important;
	--body-bg-rgb: 255, 255, 255;
	--emphasis-color: #000;
	--emphasis-color-rgb: 0, 0, 0;
	--secondary-color: #22262abf;
	--secondary-color-rgb: 34, 38, 42;
	--secondary-bg: #eaedf0;
	--secondary-bg-rgb: 234, 237, 240;
	--tertiary-color: #22262a80;
	--tertiary-color-rgb: 34, 38, 42;
	--tertiary-bg: #f9fafb;
	--tertiary-bg-rgb: 249, 250, 251;
	--heading-color: inherit;
	--link-color: #224faa;
	--link-color-rgb: 34, 79, 170;
	--link-decoration: underline;
	--link-hover-color: #424077;
	--link-hover-color-rgb: 66, 64, 119;
	--code-color: #e93f8e;
	--highlight-color: #22262a;
	--highlight-bg: #fbeea8;
	--border-width: 1px;
	--border-style: solid;
	--border-color: #dfe3e7;
	--border-color-translucent: #0000002d;
	--border-radius: .25rem;
	--border-radius-sm: .2rem;
	--border-radius-lg: .3rem;
	--border-radius-xl: .3rem;
	--border-radius-xxl: 2rem;
	--border-radius-2xl: var(--border-radius-xxl);
	--border-radius-pill: 50rem;

	--box-shadow-inset: inset 0 1px 2px #00000013;
	--focus-ring-width: .25rem;
	--focus-ring-opacity: .25;
	--focus-ring-color: #01015640;
	--form-valid-color: #448344;
	--form-valid-border-color: #448344;
	--form-invalid-color: #a51f18;
	--form-invalid-border-color: #a51f18;
	--font-size-x-small: 10px;
	--font-size-small: 12px;
	--font-size-normal: 14px;
	--radius-buttom: 14px;
}

*,
a,
:before,
:after {
	box-sizing: border-box;
	text-decoration: none;

}

.article-info-term .visually-hidden {
	display: none;
}

.article-info {
	font-size: small;
	color: var(--gray-400);
	margin-bottom: 20px;
}




body {
	font-family: var(--body-font-family);
	font-size: var(--body-font-size);
	font-weight: var(--body-font-weight);
	line-height: var(--body-line-height);
	color: var(--body-color);
	text-align: var(--body-text-align);
	background-color: var(--body-bg);
	-webkit-text-size-adjust: 100%;
	-webkit-tap-highlight-color: #0000;
	display: flex;
	justify-content: center;
	flex-direction: column;
	align-items: center;
	margin: 0;
	line-height: 1.4em;
}

b {
	font-weight: 600;
}

h6,
.h6,
h5,
.h5,
h4,
.h4,
h3,
.h3,
h2,
.h2,
h1,
.h1 {
	font-weight: 500;
	line-height: 1.2;
	margin: 0;
	padding: 0;
}

h1,
.h1 {
	font-size: calc(1.375rem + 1.5vw);
}

@media (width >=1200px) {

	h1,
	.h1 {
		font-size: 2.5rem;
	}
}

h2,
.h2 {
	font-size: calc(1.325rem + .9vw);
}

@media (width >=1200px) {

	h2,
	.h2 {
		font-size: 2rem;
	}
}

h3,
.h3 {
	font-size: calc(1.3rem + .6vw);
}

@media (width >=1200px) {

	h3,
	.h3 {
		font-size: 1.75rem;
	}
}

h4,
.h4 {
	font-size: calc(1.275rem + .3vw);
}

@media (width >=1200px) {

	h4,
	.h4 {
		font-size: 1.5rem;
	}
}

h5,
.h5 {
	font-size: 1.25rem;
}

h6,
.h6 {
	font-size: 1rem;
}

p {
	margin: 0;
	padding: 0;
}

ol,
ul,
dl {
	margin-top: 0;
	margin-bottom: 0;
	list-style: none;
	padding-inline-start: 0;
}

ol ol,
ul ul,
ol ul,
ul ol {
	margin-bottom: 0;
}


img,
svg {
	vertical-align: middle;
}



button {
	border-radius: 0;
}

button:focus:not(:focus-visible) {
	outline: 0;
}

input,
button,
select,
optgroup,
textarea {
	font-family: inherit;
	font-size: inherit;
	line-height: inherit;
	margin: 0;
}

button,
select {
	text-transform: none;
	border-radius: var(--radius-buttom);
}

.btn {
	border-radius: 14px;
	padding: 10px 18px;
}

b,
strong {
	font-weight: 600;
}


.wrapper {
	display: flex;
	flex-direction: column;
	gap: 20px;
	width: 100%;
	max-width: 1100px;
	padding: 20px 30px;
}


@media (width < 1200px) {
	.wrapper {
		max-width: 835px;
	}

	.content-card {
		justify-content: center;
	}
}

@media (width < 840px) {
	.wrapper {
		max-width: 650px;
	}
}

@media (width < 540px) {
	.wrapper {
		padding: 14px 20px;
	}
}

.header {
	display: flex;
	order: -1;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	margin: 8px 14px;
	max-width: 1040px;
	gap: 25px;
}

/* Небольшая анимация при скролле */
.header.scrolled {
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
	backdrop-filter: blur(10px);
	background: rgba(255, 255, 255, 0.95);
}

.header-content {
	position: sticky;
	top: 0;
	display: flex;
	justify-content: center;
	width: 100%;
	border-bottom: 1px solid #204480;
	background-color: var(--blue);
	box-shadow: 0px 9px 11px 0px hsl(0deg 0% 0% / 24%);
	z-index: 1000;
}

.head {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	flex-wrap: wrap;
	row-gap: 14px;

	.adress {
		display: flex;
		flex-direction: row;
		align-items: center;
		width: fit-content;
		min-width: 235px;


		/* Иконка адреса */
		.location-svg {
			width: 16px;
			height: 20px;
			fill: var(--dark-blue);
		}

		p {
			padding-left: 14px;
			font-weight: 600;
		}
	}
}

.head-menu {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: flex-end;
	gap: 8px;
	min-width: 230px;

	.active {
		background-color: white;
		border-radius: 12px;

		a {
			color: var(--dark-blue);
		}
	}

	li {
		width: fit-content;
		padding: 0;
	}

	a {
		display: block;
		color: var(--white);
		font-size: 15px;
		font-weight: 500;
		white-space: nowrap;
		padding: 10px 16px;
		border-radius: 12px;
		transition: all 0.3s ease;
		text-decoration: none;
	}

	a:hover {
		background: rgba(255, 255, 255, 0.15);
		border-bottom: none;
		text-decoration: none;
	}

	/* Современный стиль для активного пункта */
	li.active a {
		background: white;
		color: var(--dark-blue);
		font-weight: 600;
		box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
	}

	li.active a::after {
		display: none;
	}
}

@media (width < 725px) {
	.header {
		justify-content: center;
	}

	.head {
		justify-content: center;
	}
}

.social {
	display: flex;
	gap: 12px;

	/* Обертка для каждой иконки */
	>div {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 44px;
		height: 44px;
		border-radius: 12px;
		background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
		transition: all 0.3s ease;
		box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);

		&:hover {
			transform: translateY(-3px);
			box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
		}
	}

	a {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 100%;
		height: 100%;
	}

	svg {
		width: 28px;
		height: 28px;
		fill: var(--dark-blue);
		transition: 200ms;
	}

	>div:hover svg {
		fill: #d5a648;
		transform: scale(1.1);
	}

	/* Телефон - особый цвет при наведении */
	.social-tel:hover svg {
		fill: #27ae60;
	}

	/* ВК - особый цвет при наведении */
	.social-vk:hover svg {
		fill: #4a76a8;
	}

	/* Телеграм - особый цвет при наведении */
	.social-telegram:hover svg {
		fill: #0088cc;
	}
}

/* Описание сайта, номер телефона и личный кабинет */

.description {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;

	/* Карточка с логотипом */
	.descr-logo {
		display: flex;
		align-items: center;
		gap: 20px;
		padding: 0 20px;

	}

	img {
		width: 260px;
		height: auto;
		object-fit: contain;
	}

	.descr-text {
		display: flex;
		flex-direction: column;
		gap: 4px;

		p {
			font-size: 14px;
			color: var(--dark-blue);
			margin: 0;
		}

		p:first-child {
			font-weight: 700;
			font-size: 16px;
			color: var(--blue);
			letter-spacing: 0.3px;
		}

		a {
			font-size: 13px;
			color: var(--blue);
			text-decoration: none;
			font-weight: 500;
			transition: color 0.2s ease;

			&:hover {
				color: #d5a648;
			}
		}
	}

	/* Блок с социальными иконками */
	.descr {
		display: flex;
		flex-direction: row;
		align-items: center;
		gap: 16px;
		padding: 12px 20px;
		background: white;
		border-radius: 16px;
		box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
	}

	.descr-tel {
		font-size: medium;
		font-weight: 600;
		width: fit-content;
		padding: 0 24px;
		border-right: 1px solid var(--dark-blue);
		border-left: 1px solid var(--dark-blue);
		text-decoration: none;
		color: var(--dark-blue);
	}

}

@media (width < 768px) {
	.description {
		justify-content: center;

		.descr-logo {
			flex-direction: column;
			text-align: center;
			padding: 16px;
			gap: 12px;
		}

		img {
			width: 220px;
		}

		.descr-text {
			align-items: center;
			text-align: center;

			p {
				font-size: smaller;
			}

			p:first-child {
				font-size: 14px;
			}
		}

		.descr {
			padding: 10px 16px;
			gap: 10px;
		}

		.social {
			gap: 8px;

			>div {
				width: 38px;
				height: 38px;
				border-radius: 10px;
			}

			svg {
				width: 22px;
				height: 22px;
			}
		}
	}
}

@media (width < 600px) {
	.description {
		padding: 10px;

		.descr-logo {
			width: 100%;
			padding: 14px;
		}

		img {
			width: 200px;
		}

		.descr-text p {
			max-width: 100%;
			text-align: center;
		}

		.descr {
			width: 100%;
			justify-content: center;
			flex-wrap: wrap;
		}
	}
}


.descr-profil {
	display: flex;
	position: relative;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	gap: 8px;

	/* Универсальный стиль для всех кнопок профиля */
	>a {
		padding: 8px 14px;
		border-radius: 12px;
		background: rgba(255, 255, 255, 0.1);
		transition: all 0.3s ease;
		min-width: 60px;
		text-decoration: none;

		&:hover {
			background: rgba(255, 255, 255, 0.2);
			transform: translateY(-2px);
		}

		p {
			font-size: 11px;
			margin: 4px 0 0 0;
			color: var(--white);
			font-weight: 500;
		}
	}

	/* Стили для кнопки корзины */
	.btn-primary {
		background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%) !important;
		border: none !important;
		box-shadow: 0 2px 8px rgba(39, 174, 96, 0.3);

		&:hover {
			box-shadow: 0 4px 12px rgba(39, 174, 96, 0.5) !important;
		}
	}

	.like-prof:has(.like-num-prof:empty) {
		background: url('../images/like-def-white.svg') no-repeat;
		background-size: contain;
		width: 22px;
		height: 20px;
	}

	.like-prof {
		background: url('../images/like-active-white.svg') no-repeat;
		background-size: contain;
		width: 22px;
		height: 20px;
	}
}

@media (width <1200px) {
	.description {
		justify-content: center;
	}
}

@media (width <440px) {
	.description {
		.descr-logo {
			flex-wrap: wrap;
			justify-content: center;
			align-items: center;
			gap: 12px;
			padding: 12px;
		}

		.descr-tel {
			width: auto;
			font-size: small;
			padding: 0 10px;
		}

		.descr {
			flex-wrap: wrap;
			justify-content: center;
		}
	}

	.descr-profil {
		padding-left: 5px;
	}
}


@media (width <440px) {
	.description {
		.descr-logo {
			flex-wrap: wrap;
			justify-content: center;
			text-align: center;
		}

		.descr-tel {
			width: auto;
			font-size: small;
			padding: 0 10px;
		}
	}

	.descr-profil {
		padding-left: 5px;
	}
}


.like-num-prof {
	padding: 3px;
	width: 20px;
	height: 20px;
	text-align: center;
	font-size: 10px;
	font-weight: 600;
	color: var(--white);
	background-color: var(--red);
	position: absolute;
	top: -4px;
	right: -4px;
	border-radius: 10px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.like-num-prof:empty {
	display: none;
}

.cart-prof {
	background: url('../images/cart-white.svg') no-repeat;
	background-size: contain;
	width: 22px;
	height: 20px;
	position: relative;
}

.num-buy {
	padding: 3px;
	width: 20px;
	height: 20px;
	text-align: center;
	font-size: 10px;
	font-weight: 600;
	color: var(--white);
	background-color: var(--red);
	position: absolute;
	top: -4px;
	right: -14px;
	border-radius: 10px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.num-buy:empty {
	display: none;
}

.man-prof {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 8px 14px;
	min-width: 60px;
	gap: 4px;
	background-color: var(--white);
	border-radius: 12px;
	transition: all 0.3s ease;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);

	/* Текст отображается через JavaScript */
	.profil-name {
		display: block;
		font-size: 11px;
		font-weight: 500;
		color: var(--dark-blue);
		margin-top: 4px;
		text-align: center;
	}
}

.man-prof:hover {
	background-color: #cfddf7;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Универсальные стили для кнопок в header */
.header-icon-wrapper {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
}

.header-btn-text {
	font-size: 11px;
	font-weight: 500;
	color: var(--white);
	margin-top: 4px;
	text-align: center;
}

/* Кнопка избранного в header */
.btn-favorite-header {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 8px 14px;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.1);
	transition: all 0.3s ease;
	text-decoration: none;
	min-width: 70px;

	&:hover {
		background: rgba(255, 255, 255, 0.2);
		transform: translateY(-2px);
	}

	.like-prof {
		width: 22px;
		height: 20px;
	}
}

/* Кнопка корзины в header */
.btn-cart-header {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 8px 14px;
	border-radius: 12px;
	transition: all 0.3s ease;
	text-decoration: none;
	min-width: 70px;
	box-shadow: 0 2px 8px rgba(39, 174, 96, 0.3);

	&:hover {
		transform: translateY(-2px);
		box-shadow: 0 4px 12px rgba(39, 174, 96, 0.5);
	}

	.cart-prof {
		width: 22px;
		height: 20px;
	}
}

/* Кнопка профиля в header */
.man-prof {
	.header-icon-wrapper {
		width: 20px;
		height: 20px;
	}

	.man-icon {
		width: 20px;
		height: 20px;
		background: url('../images/man-dark.svg') no-repeat;
		background-size: contain;
		background-position: center;
	}

	&:hover .man-icon {
		background: url('../images/man-dark.svg') no-repeat;
		background-size: contain;
	}
}

/* Текст профиля - явно показываем */
#userName {
	display: block !important;
	font-size: 11px !important;
	font-weight: 500 !important;
	color: var(--dark-blue) !important;
	margin-top: 4px !important;
	text-align: center !important;
	visibility: visible !important;
	opacity: 1 !important;
}

.profil-name {
	display: flex;
	align-items: center;
	font-weight: 500;
	font-size: larger;
	color: var(--dark-blue);
}

.man-prof:has(.profil-name:empty) {
	background: url('../images/man.svg') no-repeat;
	background-size: 20px;
	height: 22px;
	min-width: 22px;
	display: flex;
}

.profil-name:empty {
	display: none;
}



/* Стили для динамического меню */
.menu-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
}



.menu_catalog {
	display: flex;
	align-items: center;
}

@media (width > 990px) {
	.menu_catalog {
		display: none;
	}
}

.menu-item {
	position: relative;
}



/* Подменю */
.menu-item.has-children>ul {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 200px;
	background: white;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	border-radius: 5px;
	padding: 10px 0;
	display: none;
	z-index: 1000;
}

.menu-item.has-children:hover>ul {
	display: block;
}

.menu-item.has-children>ul li {
	padding: 5px 15px;
}

.menu-item.has-children>ul li a {
	display: block;
	color: #333;
}

.menu-item.has-children>ul li a:hover {
	background: #f8f9fa;
}

/* Адаптивность */
@media (max-width: 991px) {
	.menu-list {
		flex-direction: column;
		gap: 10px;
	}

	.menu-item.has-children>ul {
		position: static;
		box-shadow: none;
		padding-left: 20px;
		display: block;
	}

	.description {
		flex-wrap: wrap;
		justify-content: center;
	}

	.wrapper {
		margin-bottom: 60px;
	}
}


.pop-title {
	background-color: var(--blue);
	padding: 10px;
	color: white;
	font-size: small;
	border-radius: 14px 14px 0 0;
}

.menu-top {
	display: flex;
	flex-wrap: wrap;
	row-gap: 15px;
	justify-content: space-between;
	width: 100%;
	padding: 16px 25px;
	padding-right: 0;
	background-color: var(--dark-blue);
	border-radius: 30px;
}

.menu-catalog {
	display: flex;
	gap: 20px;
	align-items: center;
	color: var(--white);
	font-size: larger;
	padding-right: 24px;

	ul {
		display: flex;
		gap: 15px;

		a {
			color: var(--white);
		}

		a:hover {
			border-bottom: 1px dashed var(--white);
		}
	}
}

.menu-catalog p {
	font-weight: 600;
}

.search {
	display: flex;
	width: 100%;
	max-width: 280px;
}

.search input[type="text"] {
	padding: 10px;
	border-radius: 20px;
	border: none;
	flex-grow: 1;

	/* Гарантирует растяжение */
	box-sizing: border-box;
}

.search input[type="submit"] {
	position: relative;
	top: 7px;
	right: 35px;
	background: url('../images/search-btn.svg') no-repeat;
	background-size: 20px;
	width: 20px;
	height: 20px;
	border: none;
}

@media (width < 880px) {
	.search {
		width: 100%;
		max-width: none;
	}

	.search input[type="text"] {
		flex-grow: 1;
		width: 100%;
	}
}

/* Блок Контента каталога */

.content-card {
	display: flex;
	flex-wrap: wrap;
	gap: 15px;
	flex-grow: 1;
}




.card {
	display: flex;
	flex-direction: column;
	gap: 20px;
	flex: 1;
	padding: 15px;
	background-color: var(--white);
	border: 1px solid #dcdcdc;
	border-radius: 24px;
	box-shadow: 0 2px 10px rgb(0 0 0 / 12%);
}

@media (width < 768px) {
	.card {
		width: 100%;
	}
}

@media (width < 580px) {
	.card {
		width: 100%;
	}
}

.img-card {
	position: relative;

	img {
		display: block;
		width: 100%;
	}

	.hit {
		position: absolute;
		right: 14px;
		top: 10px;
		padding: 4px 8px;
		background-color: var(--indigo);
		border-radius: 10px;
		font-weight: 600;
		color: var(--white);
		box-shadow: var(--box-shadow-sm);

	}
}

.line-stars {
	display: flex;
	height: 23px;
	align-items: center;

	.line {
		flex-grow: 1;
		border-top: 1px solid var(--blue);
	}

	.stars {
		background: url('../images/stars-decor.svg') no-repeat;
		height: 23px;
		width: 118px;
		margin: 8px;

	}
}

.none {
	display: none;
}

.name-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 8px;
	flex: 1;
	font-size: x-large;
	font-weight: 600;
	line-height: 1.3;

	.title {
		font-size: medium;
		font-weight: 600;
		text-transform: uppercase;
		color: var(--blue);
	}

	.author {
		font-size: small;
		font-weight: 300;
		color: var(--blue);
	}
}


.rouble {
	background: url('/images/rouble.svg') no-repeat;
	background-size: contain;
	margin-left: 4px;
	width: 25px;
}

.price-option {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;

	.price-card {
		display: flex;
		margin: auto;
		text-align: center;
		font-size: x-large;
		font-weight: 600;
		color: var(--gray-800);

		p {
			display: block;
		}
	}


	.add-cart {
		margin: auto;
		display: flex;
		background-color: var(--blue);
		border-radius: 14px;

		.cart {
			background: url('../images/cart-white.svg');
			background-size: 19px 23px;
			width: 19px;
			height: 21px;
			margin: 14px 20px;
		}
	}
}

/* ==================== МЕНЮ ПОЛЬЗОВАТЕЛЯ ==================== */

.descr-profil {
	position: relative;
}

.man-prof {
	position: relative;
	cursor: pointer;
}

.favor {
	display: none;
}


@media (width < 991px) {
	.header {

		flex-direction: row;
		justify-content: center;

		.btn {
			height: max-content;
			background: none;
			border: none;
			--bs-btn-font-size: 1rem;
		}
	}

	.descr-profil {
		display: flex;
		justify-content: space-around;
		flex-direction: row;
		position: fixed;
		bottom: 0;
		background: white;
		box-shadow: none;
		min-width: 100%;
		padding: 14px;
		gap: 0;

		p {
			font-size: small;
		}

		.like-prof {
			background: url('/images/like-dark.svg');
		}

		.favor {
			display: block;
		}

		a {
			color: var(--dark-blue) !important;
		}
	}

	/* Кнопка избранного - убираем фон и тень */
	.btn-favorite-header {
		background: transparent !important;
		box-shadow: none !important;
		padding: 8px 10px;
		min-width: auto;

		.header-btn-text {
			color: var(--dark-blue) !important;
		}

		&:hover {
			background: transparent !important;
			transform: none !important;
		}
	}

	/* Кнопка корзины - убираем фон и тень */
	.btn-cart-header {
		background: transparent !important;
		box-shadow: none !important;
		padding: 8px 10px;
		min-width: auto;

		.cart-prof {
			background: url('/images/cart-dark.svg') no-repeat !important;
			background-size: contain !important;
		}

		.header-btn-text {
			color: var(--dark-blue) !important;
		}

		.num-buy {
			background-color: var(--red);
		}

		&:hover {
			background: transparent !important;
			transform: none !important;
			box-shadow: none !important;
		}
	}

	/* Кнопка профиля - убираем фон и тень */
	.man-prof {
		background: transparent !important;
		box-shadow: none !important;
		padding: 8px 10px;
		min-width: auto;

		&::after {
			display: none;
		}

		.profil-name,
		#userName {
			color: var(--dark-blue) !important;
			font-size: 11px !important;
		}

		.header-icon-wrapper .man-icon {
			background: url('../images/man-dark.svg') no-repeat !important;
			background-size: contain !important;
		}

		&:hover {
			background: transparent !important;
			transform: none !important;
			box-shadow: none !important;
		}
	}

	.cart-prof {
		background-image: url('/images/cart-dark.svg');
	}

	.man-prof {
		background-color: unset;
	}

}









.popup-menu {
	position: absolute;
	top: 100%;
	right: 0;
	margin-top: 10px;
	margin-right: 14px;
	background: white;
	border: 1px solid #e0e0e0;
	border-radius: 14px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	min-width: 200px;
	z-index: 1000;

	/* Скрыто по умолчанию */
	display: none;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.2s ease, visibility 0.2s ease;
}

/* Показываем при наличии класса active */
.popup-menu.active,
.popup-menu.show {
	display: block;
	opacity: 1;
	visibility: visible;
}

/* Показываем при наведении на родителя ИЛИ при активном классе */
.man-prof:hover .popup-menu,
.popup-menu:hover,
.popup-menu.active {
	display: block;
	opacity: 1;
	visibility: visible;
}

/* Для мобильных устройств и планшетов - только по клику */
@media (max-width: 991px) {
	.man-prof:hover .popup-menu {
		display: none;
		opacity: 0;
		visibility: hidden;
	}

	.popup-menu.active {
		display: block;
		opacity: 1;
		visibility: visible;
	}

	/* Позиционируем popup-menu сверху на мобильных */
	.popup-menu {
		top: auto;
		bottom: 100%;
		margin-bottom: 10px;
		margin-top: 0;
		right: 0;
		margin-right: 0;
	}

	/* Скрываем стрелку на мобильных */
	.popup-menu::before {
		display: none;
	}
}

/* Позиционирование снизу (по умолчанию) */
.popup-menu.bottom {
	top: 100%;
	bottom: auto;
}

/* Позиционирование сверху */
.popup-menu.top {
	top: auto;
	bottom: 100%;
	margin-bottom: 10px;
	margin-top: 0;
}

/* Стрелка */
.popup-menu::before {
	content: '';
	position: absolute;
	width: 12px;
	height: 12px;
	background: white;
	border-left: 1px solid #e0e0e0;
	border-top: 1px solid #e0e0e0;
	transform: rotate(45deg);
	z-index: -1;
}

/* Стрелка для меню снизу */
.popup-menu.bottom::before {
	top: -6px;
	right: 20px;
}

/* Стрелка для меню сверху */
.popup-menu.top::before {
	bottom: -6px;
	right: 20px;
	transform: rotate(225deg);
}

.popup-menu ul {
	list-style: none;
	padding: 8px 0;
	margin: 0;
}

.popup-menu li {
	padding: 0;
}

.popup-menu a {
	display: block;
	padding: 10px 16px;
	color: #333;
	text-decoration: none;
	font-size: 14px;
}

.popup-menu a:hover {
	background: #f5f5f5;
}

.popup-menu .user-info {
	padding: 12px 16px;
	border-bottom: 1px solid #e0e0e0;
	margin-bottom: 8px;
}


/* Плавное появление с небольшой задержкой */
.man-prof:hover .popup-menu {
	transition-delay: 0.1s;
}

.popup-menu {
	transition: opacity 0.2s ease, visibility 0.2s ease;
	transition-delay: 0s;
}


/* Затемнение фона */
#overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.5);
	z-index: 999;
}

#overlay.active {
	display: block;
}


/* Затемнение фона (опционально) */
.overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.3);
	z-index: 999;
	backdrop-filter: blur(5px);
	-webkit-backdrop-filter: blur(5px);
	transition: 200ms;
}

.overlay.active {
	display: block;
}


/* Описание товара */

.description-card {
	flex: 1;
	display: flex;
	flex-direction: column;
	color: var(--dark-blue);
	gap: 14px;
	background-color: var(--white);
	padding: 18px;
	border: 1px solid var(--bs-border-color);
	border-radius: 24px;

	p {
		font-size: larger;
	}

	.line {
		border-bottom: 1px solid var(--dark-blue);
	}
}


/* Карточка товара */

.card-product {
	flex: 1;
	display: flex;
	flex-direction: column;
	background-color: var(--white);
	height: fit-content;
	border: 1px solid var(--bs-border-color);
	border-radius: 24px;
	padding: 24px;
	color: var(--blue);
	gap: 18px;
}

.name-product {
	font-size: x-large;
	font-weight: 600;
}

.review-product {
	display: flex;
	flex-direction: row;
	padding: 10px 0;
	border-top: var(--line);
	border-bottom: var(--line);

	a {
		color: var(--dark-blue);
		box-sizing: border-box;
		padding-left: 14px;
	}
}

.raiting-product {
	display: flex;
	flex-direction: row;
	border-right: var(--line);
	padding-right: 14px;

	a {
		color: var(--dark-blue);
		box-sizing: border-box;
		color: var(--gray-400);
	}
}

.price-product {
	display: flex;
	flex-direction: column;
	gap: 15px;

	.price {
		display: flex;
		align-items: center;
		font-size: x-large;
		color: var(--dark-gray);
		padding-bottom: 4px;
		border-bottom: var(--line);

		.rouble {
			height: 18px;
		}

		p {
			border: none;
		}
	}

}

.price-product p {
	margin-top: 15px;
	font-size: larger;
	font-weight: 600;
	padding-bottom: 12px;
	border-bottom: var(--line);
}

/* Группировка в ряд */
.checkbox-group {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

@container (width < 330px) {
	.checkbox-group {
		flex-direction: column;
		flex-wrap: nowrap;
	}
}

/* Скрываем стандартный чекбокс */
.checkbox-button input {
	display: none;
}

/* Стилизуем сам блок-кнопку */
.checkbox-tile {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	padding: 8px 14px;
	border: 2px solid var(--gray-200);
	border-radius: 14px;
	cursor: pointer;
	font-weight: 500;
	transition: all 0.2s ease;
	user-select: none;
	/* Чтобы текст не выделялся при кликах */
	background: white;

}

/* Эффект при наведении */
.checkbox-tile:hover {
	border-color: var(--gray-200);
	background: var(--gray-200);
}

/* ГЛАВНОЕ: Стиль, когда чекбокс выбран */
.checkbox-button input:checked+.checkbox-tile {
	background-color: var(--blue);
	/* Синий цвет */
	border-color: var(--blue);
	color: white;
}

.product-size {
	display: flex;
	flex-direction: row;
	container-type: inline-size;
	width: 100%;
	gap: 14px;
	align-items: center;
	padding-bottom: 20px;
	border-bottom: var(--line);

}

.product-size-lable {
	font-size: medium;
	font-weight: 500;
	color: var(--dark-gray);
}

.radio-size-product {
	font-size: large;

	span {
		font-size: small;
		margin: auto 5px;
	}
}


.product-count {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	gap: 14px;
	padding-bottom: 20px;
	border-bottom: var(--line);

	.cont-pc {
		display: flex;
		flex-direction: row;
		align-items: center;
		gap: 14px;
	}
}

.button-total-price {
	.add-cart {
		display: flex;
		background-color: var(--blue);
		border-radius: 14px;
		color: white;

		.cart {
			background: url('../images/cart-white.svg');
			background-size: 19px 23px;
			width: 19px;
			height: 21px;
			margin: 14px 20px;
		}
	}
}

.total-price {
	font-size: large;
	font-weight: 300;
}

#totalValue {
	font-size: large;
	font-weight: 600;
}


.lable-count {
	font-size: larger;
}

.quantity-selector {
	display: inline-flex;
	align-items: center;
	border: 1px solid #ccc;
	border-radius: 10px;
	overflow: hidden;
	width: fit-content;
}

.quantity-selector button {
	border: none;
	width: 25px;
	height: 25px;
	cursor: pointer;
	font-size: 14px;
	background-color: unset;
	transition: background 0.2s;
}



.quantity-selector input {
	width: 35px;
	height: 25px;
	text-align: center;
	border: none;
	border-left: 1px solid #ccc;
	border-right: 1px solid #ccc;
	font-size: 14px;
	outline: none;
	/* Убираем стрелочки браузера у input number */
	-moz-appearance: textfield;
}

.quantity-selector input::-webkit-outer-spin-button,
.quantity-selector input::-webkit-inner-spin-button {
	-webkit-appearance: none;
}

/* Стиль для неактивной кнопки */
.quantity-selector button:disabled {
	opacity: 0.4;
	cursor: not-allowed;
	filter: grayscale(1);
	/* Дополнительно обесцветим */
}


/* Стили для уведомления */
.notification {
	position: fixed;
	top: 45px;
	right: 20px;
	color: white;
	padding: 15px 20px;
	border-radius: 14px;
	z-index: 1000;
	animation: slideIn 0.3s ease;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	font-family: 'Roboto', sans-serif;
	font-size: 14px;
	font-weight: 500;
	display: flex;
	align-items: center;
	gap: 10px;
}

.notification.error {
	background: #f44336;
}

@keyframes slideIn {
	from {
		transform: translateX(100%);
		opacity: 0;
	}

	to {
		transform: translateX(0);
		opacity: 1;
	}
}

@keyframes slideOut {
	from {
		transform: translateX(0);
		opacity: 1;
	}

	to {
		transform: translateX(100%);
		opacity: 0;
	}
}

.notification.fade-out {
	animation: slideOut 0.3s ease forwards;
}


/* Стили для модального окна авторизации */
.auth-modal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.5);
	z-index: 2000;
	justify-content: center;
	align-items: center;
}

.auth-modal.active {
	display: flex;
}

.auth-content {
	background: white;
	padding: 20px;
	border-radius: 12px;
	max-width: 400px;
	width: 90%;
}

.auth-content h2 {
	margin-top: 0;
}

.auth-content input {
	width: 100%;
	padding: 10px;
	margin: 10px 0;
	border: 1px solid #ddd;
	border-radius: 4px;
	box-sizing: border-box;
}

.auth-content button {
	width: 100%;
	padding: 12px;
	background: #4CAF50;
	color: white;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	font-size: 16px;
}

.auth-content button:hover {
	background: #45a049;
}

.auth-toggle {
	text-align: center;
	margin-top: 15px;
}

.auth-toggle a {
	color: #4CAF50;
	cursor: pointer;
}

.maintenance-banner {
	background: #f39c12;
	color: white;
	text-align: center;
	padding: 10px;
	position: sticky;
	top: 0;
	z-index: 1000;
}

.maintenance-banner a {
	color: white;
	font-weight: bold;
	text-decoration: underline;
}

.maintenance-banner a:hover {
	text-decoration: none;
}

.products-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
	gap: 20px;
	margin: 20px 0;
}

.section-title {
	font-size: 24px;
	margin: 30px 0 20px;
	color: #333;
}

.hits {
	margin-top: 40px;
}

.no-products {
	text-align: center;
	padding: 40px;
	background: #f5f5f5;
	border-radius: 24px;
	color: #666;
}

@keyframes slideIn {
	from {
		transform: translateX(100%);
		opacity: 0;
	}

	to {
		transform: translateX(0);
		opacity: 1;
	}
}

.page-header {
	display: flex;
	justify-content: space-between;
	background-color: var(--white);
	padding: 14px;
	border: 1px solid var(--border-color);
	border-radius: 24px;
	color: var(--black);
	align-items: center;
	margin-bottom: 30px;
	flex-direction: row;
}



/* Сетка товаров */
/* .products-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
gap: 30px;
margin: 30px 0;
} */

.section-title {
	font-size: 28px;
	color: #333;
	margin: 40px 0 20px;
	position: relative;
	padding-bottom: 10px;
}

.section-title:after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 60px;
	height: 3px;
	background: #ff6b6b;
}

/* Карточка товара */

.card:hover {
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.img-card {
	position: relative;
	overflow: hidden;
	transition: transform 0.3s;
}

.img-card img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 16px;
	overflow: hidden;
}

.card:hover .img-card {
	transform: scale(1.02);
	border-radius: 16px;
}


/* Страница товара */


/* Контент карточки товара */


.content-product {
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-template-rows: 1fr;
	gap: 40px;
	padding: 40px 0;
}

.img-col {
	display: flex;
	flex-direction: column;
	/* width: 50%; */
	/* flex-grow: 1; */
	gap: 20px;
}


.img-row {
	flex-grow: 1;
	display: flex;
	gap: 20px;
	flex-direction: column;
	background-color: var(--white);
	padding: 18px;
	border: 1px solid var(--bs-border-color);
	border-radius: 24px;
}


.main-img {
	background: #f5f5f5;
	border-radius: 14px;
	overflow: hidden;
}

.main-img img {
	width: 100%;
	height: auto;
	display: block;
}

.second-img {
	display: grid;
	/* Создает колонки одинаковой ширины (минимум 200px) */
	grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
	gap: 12px;

	img {
		flex: 1;
		width: 100%;
		object-fit: cover;
		border: 1px solid var(--gray-500);
		border-radius: 12px;

	}
}


.author-product {
	color: #666;
	margin: 10px 0;
}

@media (width < 1200px) {
	.content-product {
		gap: 20px;
		padding: 40px 0;
		align-items: start;
	}

	.wide {
		grid-template-columns: 1fr;
		gap: 20px;
		padding: 40px 0;
		align-items: center;

	}

	.description-card {
		grid-column: span 2;
	}

	.main-row {
		width: 100%;
	}
}

@media (width < 840px) {
	.content-product {
		grid-template-columns: 1fr;
		gap: 20px;
		padding: 40px 0;
		align-items: center;
	}

	.description-card {
		grid-column: auto;
	}

	.main-row {
		width: 100%;
	}
}





/* Адаптивность */
@media (max-width: 768px) {
	.content-product {
		grid-template-columns: 1fr;
	}

	.products-grid {
		grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
		gap: 15px;
	}
}

/* Основной контент */
.main-content {
	min-height: 400px;
}

/* Страница 404 */
.error-page {
	text-align: center;
	padding: 80px 20px;
}

.error-page h1 {
	font-size: 48px;
	color: #e74c3c;
	margin-bottom: 20px;
}

.error-page p {
	font-size: 18px;
	color: #666;
	margin-bottom: 30px;
}

/* Страница "О компании" */
.about-page {
	margin: 0 auto;
}

.about-page h1 {
	font-size: 32px;
	color: #2c3e50;
	margin-bottom: 30px;
}

.about-content {
	line-height: 1.8;
	color: #444;
}


/* Корзина */
.cart-page {
	display: flex;
	flex-direction: column;
	gap: 14px;
	max-width: 1200px;
	margin: 0 auto;
}

.btn-cart {
	flex: 1;
	background-color: var(--blue);
	border: none;
}

.add-cart {
	padding: 10px 16px;
}

.add-cart:hover {
	background-color: #007bff;
}

.cart-empty {
	text-align: center;
	padding: 60px;
	background: #fff;
	border: 1px solid var(--border-color);
	border-radius: 24px;
}

.cart-empty p {
	font-size: 18px;
	color: #666;
	margin-bottom: 20px;
}

.cart-content {
	display: flex;
	flex-direction: column;
	gap: 30px;
}

.cart-items {
	background: white;
	border: 1px solid var(--border-color);
	border-radius: 24px;
	/* box-shadow: 0 2px 10px rgb(169 169 169 / 20%); */
	padding: 20px;
}

.cart-item {
	display: grid;
	grid-template-columns: 100px 1fr auto auto auto;
	gap: 20px;
	align-items: center;
	padding: 20px 0;
	border-bottom: 1px solid #eee;
}

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

.cart-item-image {
	/* width: 100px; */
	height: 100px;
	border-radius: 24px;
	overflow: hidden;
}

.cart-item-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.cart-item-info {
	min-width: 200px;
}

.cart-item-title {
	font-size: 16px;
	margin-bottom: 5px;
}

.cart-item-title a {
	color: #333;
	text-decoration: none;
}

.cart-item-title a:hover {
	color: #007bff;
}

.cart-item-price {
	color: #666;
	font-size: 14px;
}

.cart-item-quantity {
	display: flex;
	align-items: center;
	gap: 5px;
}

.quantity-btn {
	width: 30px;
	height: 30px;
	border: 1px solid #ddd;
	background: white;
	border-radius: 4px;
	cursor: pointer;
	font-size: 18px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.quantity-btn:hover {
	background: #f5f5f5;
}

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

.quantity-input {
	width: 60px;
	height: 30px;
	text-align: center;
	border: 1px solid #ddd;
	border-radius: 4px;
}

.cart-item-total {
	font-weight: bold;
	color: #333;
	min-width: 100px;
	text-align: right;
}

.cart-item-remove {
	background: none;
	border: none;
	color: #999;
	cursor: pointer;
	font-size: 18px;
	padding: 5px;
}

.cart-item-remove:hover {
	color: #dc3545;
}

.cart-summary {
	background: white;
	border: 1px solid var(--border-color);
	border-radius: 24px;
	box-shadow: 0 2px 10px rgb(148 148 148 / 20%);
	padding: 20px;
	height: fit-content;
}

.cart-summary h3 {
	font-size: 18px;
	margin-bottom: 20px;
	padding-bottom: 10px;
	border-bottom: 1px solid #eee;
}

.summary-row {
	display: flex;
	justify-content: space-between;
	margin-bottom: 10px;
	color: #666;
}

.summary-row.total {
	font-size: 18px;
	font-weight: bold;
	color: #333;
	margin: 20px 0;
	padding-top: 20px;
	border-top: 2px solid #eee;
}

/* Строка скидки */
.summary-row.discount-row {
	color: #27ae60;
}

.summary-row.discount-row .discount-value {
	color: #27ae60;
	font-weight: 600;
}

/* Строка бесплатных товаров */
.summary-row#freeItemsRow {
	color: #9b59b6;
	font-weight: 500;
}

.btn-block {
	width: 100%;
	margin-bottom: 10px;
}

/* Адаптивность */
@media (max-width: 768px) {
	.cart-content {
		grid-template-columns: 1fr;
	}

	.cart-item {
		grid-template-columns: 80px 1fr;
		grid-template-areas:
			"image info"
			"image quantity"
			"total remove";
		gap: 10px;
	}

	.cart-item-image {
		grid-area: image;
	}

	.cart-item-info {
		grid-area: info;
	}

	.cart-item-quantity {
		grid-area: quantity;
	}

	.cart-item-total {
		grid-area: total;
	}

	.cart-item-remove {
		grid-area: remove;
		justify-self: end;
	}
}

/* Кнопка добавления в корзину */
.btn-add-cart {
	flex: 1;
	padding: 10px 15px;
	background: #3498db;
	color: white;
	border: none;
	border-radius: 5px;
	cursor: pointer;
	transition: all 0.3s ease;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	font-size: 14px;
}

.btn-add-cart:hover {
	background: #2980b9;
	transform: translateY(-2px);
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-add-cart:active {
	transform: translateY(0);
}

.btn-add-cart:disabled {
	opacity: 0.6;
	cursor: not-allowed;
	transform: none;
	box-shadow: none;
}

/* Состояние "Уже в корзине" */
.product-actions.in-cart {
	background: #27ae60;
}

.product-actions.in-cart:hover {
	background: #229954;
}

.product-actions.in-cart:active {
	background: #1e8449;
}

/* Иконка корзины */
.btn-add-cart i {
	font-size: 16px;
}

/* Текст кнопки */
.btn-add-cart .btn-text {
	font-weight: 500;
}

/* Анимация спиннера */
.fa-spinner {
	animation: spin 1s linear infinite;
}

@keyframes spin {
	from {
		transform: rotate(0deg);
	}

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

/* Адаптивность для мобильных */
@media (max-width: 768px) {
	.btn-add-cart {
		padding: 8px 12px;
		font-size: 13px;
	}
}

/* Профиль клиента */

.profile-page {
	max-width: 1200px;
	display: flex;
	flex-direction: column;
	gap: 20px;
	margin: 0 auto;
}

.profile-header {
	display: flex;
	align-items: center;
	gap: 30px;
	padding: 30px;
	background: white;
	border-radius: 24px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.profile-avatar {
	color: #3498db;
}

.profile-info h1 {
	font-size: 28px;
	margin-bottom: 5px;
}

.profile-email {
	color: #666;
	margin-bottom: 5px;
}

.profile-member {
	color: #999;
	font-size: 14px;
}

.profile-stats {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
}

.stat-card {
	background: white;
	padding: 20px;
	border-radius: 24px;
	text-align: center;
	box-shadow: 0 2px 10px rgb(169 169 169 / 20%);
}

.stat-value {
	font-size: 28px;
	font-weight: bold;
	color: #2c3e50;
	margin-bottom: 5px;
}

.stat-label {
	color: #7f8c8d;
	font-size: 14px;
}

@media (max-width: 840px) {
	.stat-value {
		font-size: large;
	}

}

.profile-tabs {
	display: flex;
	gap: 10px;
	margin-bottom: 30px;
	border-bottom: 2px solid #e0e0e0;
	padding-bottom: 10px;
}

.tab-btn {
	padding: 10px 20px;
	background: none;
	border: none;
	font-size: 16px;
	cursor: pointer;
	color: #7f8c8d;
	position: relative;
}

.tab-btn.active {
	color: #3498db;
}

.tab-btn.active::after {
	content: '';
	position: absolute;
	bottom: -12px;
	left: 0;
	right: 0;
	height: 3px;
	background: #3498db;
}

.tab-content {
	display: none;
}

.tab-content.active {
	display: block;
}

.profile-section {
	display: flex;
	flex-direction: column;
	gap: 14px;
	background: white;
	line-height: 1.5;
	font-size: larger;
	padding: 20px;
	border-radius: 24px;
	box-shadow: 0 2px 10px rgb(169 169 169 / 20%);
}

.profile-section .btn {
	max-width: 300px;
}

.profile-section h2 {
	margin-top: 0;
	margin-bottom: 20px;
	color: #2c3e50;
}

.profile-section h3 {
	margin: 20px 0 10px;
	color: #34495e;
}

.profile-section .info-grid {
	margin-bottom: 14px;
}

.form-note {
	color: #7f8c8d;
	font-size: 14px;
	margin-bottom: 15px;
}

.form-group {
	margin-bottom: 20px;
}

.form-group label {
	display: block;
	margin-bottom: 5px;
	font-weight: 500;
	color: #2c3e50;
}

.form-group input,
.form-group textarea {
	/* width: 100%; */
	max-width: 500px;
	padding: 10px;
	border: 1px solid #ddd;
	border-radius: 5px;
	font-size: 14px;
}

.form-group input:focus,
.form-group textarea:focus {
	outline: none;
	border-color: #3498db;
}

.form-actions {
	margin-top: 30px;
	padding-top: 20px;
	border-top: 1px solid #e0e0e0;
}

/* Заказы */
.orders-list {
	margin-bottom: 20px;
}

.order-card {
	background: #f8f9fa;
	border: 1px solid #e0e0e0;
	border-radius: 14px;
	padding: 15px;
	margin-bottom: 18px;
	cursor: pointer;
	transition: all 0.3s;
}

.order-card:hover {
	background: #e9ecef;
	transform: translateX(5px);
}

.order-header {
	display: flex;
	justify-content: space-between;
	margin-bottom: 10px;
}

.order-number {
	font-weight: 500;
	color: #2c3e50;
}

.order-date {
	color: #7f8c8d;
	font-size: 14px;
}

.order-body {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.order-status {
	padding: 5px 10px;
	border-radius: 8px;
	font-size: 12px;
	font-weight: 500;
}

.status-new {
	background: #3498db;
	color: white;
}

.status-processing {
	background: #f39c12;
	color: white;
}

.status-completed {
	background: #27ae60;
	color: white;
}

.status-cancelled {
	background: #e74c3c;
	color: white;
}

.order-total {
	font-weight: 500;
	color: #2c3e50;
}

/* Стили для валидации форм */
.form-control.is-invalid {
	border-color: #dc3545;
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
	background-repeat: no-repeat;
	background-position: right calc(0.375em + 0.1875rem) center;
	background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.form-control.is-invalid:focus {
	border-color: #dc3545;
	box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.invalid-feedback {
	display: none;
	width: 100%;
	margin-top: 0.25rem;
	font-size: 0.875em;
	color: #dc3545;
}

.was-validated .form-control:invalid~.invalid-feedback,
.form-control.is-invalid~.invalid-feedback {
	display: block;
}

/* Избранное */
.favorites-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 20px;
	margin-bottom: 20px;
}

.favorite-card {
	background: #f8f9fa;
	border-radius: 5px;
	overflow: hidden;
}

.favorite-image {
	position: relative;
	overflow: hidden;
}

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

.favorite-remove {
	position: absolute;
	top: 10px;
	right: 10px;
	background: rgba(255, 255, 255, 0.9);
	border: none;
	border-radius: 50%;
	width: 40px;
	height: 40px;
	cursor: pointer;
	color: #e74c3c;
}

.favorite-remove:hover {
	background: white;
	transform: scale(1.1);
}

.favorite-info {
	padding: 10px;
}

.favorite-info h3 {
	font-size: 14px;
	margin: 0 0 5px;
}

.favorite-info h3 a {
	color: #2c3e50;
	text-decoration: none;
}

.favorite-price {
	font-weight: 500;
	color: #27ae60;
	margin-bottom: 10px;
}

.btn-small {
	padding: 5px 10px;
	font-size: 12px;
}



.no-data {
	text-align: center;
	padding: 40px;
	color: #7f8c8d;
	background: #f8f9fa;
	border-radius: 5px;
	margin-bottom: 20px;
}

@media (max-width: 768px) {
	.profile-header {
		flex-direction: column;
		text-align: center;
	}

	.profile-stats {
		grid-template-columns: 1fr;
	}

	.profile-tabs {
		flex-wrap: wrap;
	}

	.favorites-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}


/* Индикатор загрузки */
.cart-loading {
	text-align: center;
	padding: 40px;
	color: #999;
}

.cart-loading::after {
	content: '';
	display: inline-block;
	width: 20px;
	height: 20px;
	margin-left: 10px;
	border: 2px solid #f3f3f3;
	border-top: 2px solid #3498db;
	border-radius: 50%;
	animation: spin 1s linear infinite;
}

@keyframes spin {
	0% {
		transform: rotate(0deg);
	}

	100% {
		transform: rotate(360deg);
	}
}


.logout-section {
	text-align: center;
	margin-top: 30px;
}

.btn-logout {
	background: none;
	border: 2px solid #e74c3c;
	color: #e74c3c;
	font-size: 16px;
	cursor: pointer;
	transition: all 0.3s;
	display: inline-flex;
	align-items: center;
	gap: 10px;
}

.btn-logout:hover {
	background: #e74c3c;
	color: white;
}

.btn-logout i {
	font-size: 18px;
}

.favorites-prof {
	position: relative;
	text-decoration: none;
	color: #333;
	margin-right: 15px;
}

.favorites-prof i {
	font-size: 24px;
}

.favorites-num {
	position: absolute;
	top: -8px;
	right: -8px;
	background: #e74c3c;
	color: white;
	border-radius: 50%;
	width: 18px;
	height: 18px;
	font-size: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* Стили для селекта статуса оплаты */
.payment-select {
	padding: 5px 10px;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-size: 14px;
	cursor: pointer;
	background: white;
}

.payment-select.payment-paid {
	background: #27ae60;
	color: white;
	border-color: #229954;
}

.payment-select.payment-pending {
	background: #f39c12;
	color: white;
	border-color: #e67e22;
}

.payment-select.payment-failed {
	background: #e74c3c;
	color: white;
	border-color: #c0392b;
}

.payment-select.payment-refunded {
	background: #95a5a6;
	color: white;
	border-color: #7f8c8d;
}

/* Убираем стандартную стрелку и добавляем кастомную для цветных селектов */
.payment-select.payment-paid,
.payment-select.payment-pending,
.payment-select.payment-failed,
.payment-select.payment-refunded {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	padding-right: 25px;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
	background-repeat: no-repeat;
	background-position: right 5px center;
}




/* --- ГЛАВНАЯ СТРАНИЦА --- */

.products-page {
	max-width: 1200px;
	margin: 20px auto;
}

/* Кнопка избранного */


.btn-favorite {
	padding: 14px 16px;
	background: #f8f9fa;
	border: 1px solid #ddd;
	cursor: pointer;
	color: #e74c3c;
	transition: all 0.3s;
	display: flex;
	align-items: center;
	justify-content: center;
}

.btn-favorite:hover {
	background: #e74c3c;
	color: white;
}

.btn-favorite.active {
	background: #e74c3c;
	color: white;
	border-color: #c0392b;
}

.btn-favorite.active:hover {
	background: #c0392b;
}

.btn-favorite i {
	font-size: 18px;
}

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

/* Анимация сердечка */
.btn-favorite.active i {
	animation: heartBeat 0.3s ease;
}

@keyframes heartBeat {
	0% {
		transform: scale(1);
	}

	50% {
		transform: scale(1.2);
	}

	100% {
		transform: scale(1);
	}
}

.page-title,
.cart-title {
	font-size: 24px;
	color: var(--dark);
	position: relative;
}




.products-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 30px;
}

.product-card {
	background: white;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
	transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.25);
}

.product-image {
	position: relative;
	height: 250px;
	overflow: hidden;
}

.product-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s;
}

.product-card:hover .product-image img {
	transform: scale(1.05);
}



.product-info {
	padding: 15px;
}

.product-title {
	margin: 0 0 5px;
	font-size: 16px;
	font-weight: 600;
}

.product-title a {
	color: #333;
	text-decoration: none;
}

.product-title a:hover {
	color: #007bff;
}

.product-author {
	color: #666;
	font-size: 13px;
	font-weight: 300;
	margin-bottom: 10px;
}

.product-price {
	font-size: 20px;
	font-weight: 500;
	color: #27ae60;
	margin-bottom: 15px;
}

.product-actions {
	display: flex;
	gap: 10px;
}

.btn-add-cart {
	flex: 1;
	font-size: large;
	padding: 18px;
	background: #3498db;
	color: white;
	border: none;
	cursor: pointer;
	transition: background 0.3s;
}

.btn-add-cart:hover {
	background: #2980b9;
}

.no-products {
	text-align: center;
	padding: 60px;
	background: #f8f9fa;
	border-radius: 10px;
}

.no-products p {
	font-size: 18px;
	color: #666;
	margin-bottom: 20px;
}

@media (max-width: 768px) {
	.products-grid {
		grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
		gap: 15px;
	}

	.product-image {
		height: 200px;
	}
}


/* Хлебные крошки */
.breadcrumb-nav {
	display: flex;
	flex-wrap: wrap;
	background-color: var(--dark-blue);
	border-radius: 30px;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
	padding-left: 20px;
	justify-content: space-between;
}

.button-katalog {
	border-radius: 30px;
	padding: 8px 10px;
	margin: 4px;
}

.breadcrumb {
	display: flex;
	flex-wrap: wrap;
	row-gap: 8px;
	margin: auto 0;
	padding: 10px;
	list-style: none;
}

.breadcrumb:last-child {
	position: relative;
	right: 0;
}

.breadcrumb-item {
	display: flex;
	align-items: center;
	font-size: 14px;
}

.breadcrumb-item+.breadcrumb-item {
	padding-left: 8px;
}

.breadcrumb-item+.breadcrumb-item::before {
	content: "›";
	padding-right: 8px;
	color: #b9c4f0;
	font-size: 18px;
	font-weight: 300;
}

.breadcrumb-item a {
	color: white;
	text-decoration: none;
	transition: color 0.3s;
}

.breadcrumb-item a:hover {
	color: #b7cfde;
	text-decoration: underline;
}

.breadcrumb-item.active {
	color: var(--gray-300);
	font-weight: 500;
}

.breadcrumb-item i {
	margin-right: 5px;
	color: var(--bejsevyj);
}

/* Адаптивность */
@media (max-width: 768px) {
	.breadcrumb {
		font-size: 13px;
	}

	.breadcrumb-item+.breadcrumb-item::before {
		font-size: 16px;
	}
}

/* Индикатор загрузки для кнопок */
.btn-add-cart .fa-spinner {
	animation: spin 1s linear infinite;
}

@keyframes spin {
	from {
		transform: rotate(0deg);
	}

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


/* Footer */

.footer {
	display: grid;
	grid-template-columns: 1.5fr 1.2fr 1.3fr;
	gap: 25px;
	width: 100%;
	padding: 40px 30px 30px;
	margin-top: 110px;
	border-radius: 24px;
	position: relative;
	background: linear-gradient(135deg, var(--dark-blue) 0%, #0a2a5a 100%);
	color: white;
	box-shadow: 0 -10px 30px rgba(7, 34, 79, 0.2);
	z-index: 1;
}



@media (width <=650px) {
	.footer {
		flex-direction: column;
		justify-content: center;
	}

	.footer-cont {
		margin: 20px;
		border-left: 0;
		border-right: 0;
		border-top: 1px solid var(--gray-300);
		border-bottom: 1px solid var(--gray-300);
	}

}



.sky-1 {
	position: absolute;
	top: -116px;
	width: auto;
	left: 20px;
}

.sky-2 {
	position: absolute;
	top: -95px;
	width: auto;
	right: 20px;
}

@media (width < 768px) {
	.sky-1 {
		width: 350px;
		top: -100px;
	}

	.sky-2 {
		width: 250px;
		top: -79px;
	}
}

@media (width < 450px) {
	.sky-1 {
		width: 251px;
		top: -72px;
	}

	.sky-2 {
		width: 190px;
		top: -60px;
	}
}


/* Общие стили для блоков */
.footer-block {
	position: relative;
	padding: 20px;
	border-radius: 20px;
	background: rgba(255, 255, 255, 0.05);
	backdrop-filter: blur(5px);
	border: 1px solid rgba(255, 255, 255, 0.1);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.footer-block:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
	background: rgba(255, 255, 255, 0.08);
}

.footer-icon {
	position: absolute;
	top: -20px;
	left: 20px;
	width: 40px;
	height: 40px;
	background: linear-gradient(135deg, #ffd700 0%, #ffb347 100%);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

.footer-icon i {
	font-size: 20px;
	color: var(--dark-blue);
}

.footer-block h3 {
	font-size: 18px;
	font-weight: 600;
	margin: 5px 0 15px 0;
	padding-bottom: 10px;
	border-bottom: 2px solid rgba(255, 215, 0, 0.3);
	color: #ffd700;
	letter-spacing: 0.5px;
}

/* Первый блок - идея проекта */
.footer-idea .footer-title {
	font-size: 16px;
	font-weight: 600;
	margin: 10px 0 8px 0;
	color: #ffd700;
}

.footer-idea .footer-text {
	font-size: 13px;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.9);
	margin: 0;
}

/* Второй блок - контакты */
.contact-items {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 15px;
	font-size: 13px;
	color: rgba(255, 255, 255, 0.9);
}

.contact-items i {
	width: 20px;
	color: #ffd700;
	font-size: 16px;
}

.contact-items a {
	color: white;
	text-decoration: none;
	transition: color 0.3s;
	border-bottom: 1px dashed transparent;
}

.contact-items a:hover {
	color: #ffd700;
	border-bottom-color: #ffd700;
}

.contact-items.small {
	font-size: 12px;
	color: rgba(255, 255, 255, 0.7);
}

.contact-items span {
	line-height: 1.4;
}

/* Третий блок - копирайт */
.footer-copyright {
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.copyright-text p {
	font-size: 13px;
	line-height: 1.5;
	margin: 0 0 8px 0;
	color: rgba(255, 255, 255, 0.9);
}

.copyright-text p.small {
	font-size: 11px;
	color: rgba(255, 255, 255, 0.7);
	font-style: italic;
}

.footer-eco {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px;
	background: rgba(255, 215, 0, 0.1);
	border-radius: 30px;
	border: 1px solid rgba(255, 215, 0, 0.2);
}

.footer-eco i {
	color: #ffd700;
	font-size: 18px;
	animation: leafWave 3s infinite;
}

.footer-eco span {
	font-size: 12px;
	font-weight: 500;
	color: #ffd700;
}

@keyframes leafWave {

	0%,
	100% {
		transform: rotate(0deg);
	}

	50% {
		transform: rotate(5deg);
	}
}

/* Адаптивность */
@media (max-width: 992px) {
	.footer {
		grid-template-columns: repeat(2, 1fr);
		gap: 20px;
		padding: 40px 20px 20px;
	}

	.footer-copyright {
		grid-column: span 2;
	}
}

@media (max-width: 768px) {
	.footer {
		grid-template-columns: 1fr;
		gap: 25px;
		padding: 40px 15px 20px;
		margin-top: 80px;
	}

	.footer-copyright {
		grid-column: span 1;
	}

	.sky-1 {
		top: -70px;
		left: 20px;
		height: 70px;
	}

	.sky-2 {
		top: -60px;
		right: 19px;
		height: 60px;
	}

	.footer-block {
		padding: 20px 15px;
	}
}

@media (max-width: 480px) {
	.footer {
		padding: 30px 12px 15px;
	}

	.footer-block h3 {
		font-size: 16px;
	}

	.contact-item {
		font-size: 12px;
		gap: 8px;
	}
}

/* Десктопная версия */
.head-menu li.active a {
	font-weight: 500;
	position: relative;
}



@keyframes slideIn {
	from {
		transform: scaleX(0);
		opacity: 0;
	}

	to {
		transform: scaleX(1);
		opacity: 1;
	}
}

/* Мобильная версия */
@media (max-width: 768px) {
	.nav-menu .head-menu li.active a {
		font-weight: 500;
		border-left: 3px solid #3498db;
		padding-left: 15px;
	}

	.head-menu li.active a::after {
		display: none;
	}
}



/* ==================== БУРГЕР-МЕНЮ ==================== */

/* Кнопка бургера */
.burger-menu {
	display: none;
	flex-direction: column;
	justify-content: space-between;
	width: 30px;
	height: 21px;
	background: transparent;
	border: none;
	cursor: pointer;
	padding: 0;
	z-index: 1010;
}

.burger-menu span {
	width: 100%;
	height: 3px;
	background: white;
	border-radius: 3px;
	transition: all 0.3s ease;
}

/* Анимация при открытом меню */
.burger-menu.active span:nth-child(1) {
	transform: translateY(9px) rotate(45deg);
}

.burger-menu.active span:nth-child(2) {
	opacity: 0;
}

.burger-menu.active span:nth-child(3) {
	transform: translateY(-9px) rotate(-45deg);
}

/* ==================== МОБИЛЬНАЯ ВЕРСИЯ ==================== */
@media (max-width: 991px) {
	.burger-menu {
		display: flex;
	}

	.nav-menu {
		position: fixed;
		top: 0;
		left: -100%;
		width: 80%;
		max-width: fit-content;
		height: 100vh;
		background: var(--blue);
		box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
		padding: 80px 20px 20px;
		transition: left 0.3s ease;
		z-index: 1005;
		overflow-y: auto;
	}

	.nav-menu.active {
		left: 0;
	}

	.head-menu {
		flex-direction: column;
		align-items: flex-start;
		gap: 15px;
	}

	.head-menu li {
		width: 100%;
	}

	.head-menu li a {
		display: block;
		padding: 14px;
		font-size: 16px;
	}

	.menu-item a {
		color: white;
	}


	/* Затемнение фона при открытом меню */
	.menu-overlay {
		display: none;
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		background: rgba(0, 0, 0, 0.5);
		z-index: 1000;
	}

	.menu-overlay.active {
		display: block;
	}

	/* Корректировка шапки для мобильных */
	.head {
		width: 100%;
		justify-content: space-between;
		padding: 4px;
	}

	.adress p {
		font-size: 12px;
	}
}

/* Анимация для пунктов меню */
.nav-menu.active .head-menu li {
	animation: slideIn 0.3s ease forwards;
	opacity: 0;
	transform: translateX(-20px);
}

.nav-menu.active .head-menu li:nth-child(1) {
	animation-delay: 0.1s;
}

.nav-menu.active .head-menu li:nth-child(2) {
	animation-delay: 0.2s;
}

.nav-menu.active .head-menu li:nth-child(3) {
	animation-delay: 0.3s;
}

.nav-menu.active .head-menu li:nth-child(4) {
	animation-delay: 0.4s;
}

.nav-menu.active .head-menu li:nth-child(5) {
	animation-delay: 0.5s;
}

@keyframes slideIn {
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

/* Плавное появление оверлея */
.menu-overlay {
	transition: opacity 0.3s ease;
	opacity: 0;
}

.menu-overlay.active {
	opacity: 1;
	backdrop-filter: blur(10px);
	z-index: 10;
}

/* Плавное появление меню */
.nav-menu {
	transition: left 0.3s ease;
}

/* Стили для активных пунктов меню на мобильных */
.nav-menu .head-menu li.active a {
	font-weight: 500;
}

.mobile-only {
	display: none;
}

@media (max-width: 768px) {
	.mobile-only {
		display: block;
	}

	.page-header h1,
	.page-header a {
		font-size: 14px !important;
	}
}


/* Стили для чекбокса согласия */
.consent-group {
	margin: 20px 0;
	padding: 15px;
	background: #f8f9fa;
	border-radius: 5px;
}

.form-check {
	display: flex;
	align-items: flex-start;
	gap: 10px;
}

.form-check-input {
	width: 18px;
	height: 18px;
	margin-top: 2px;
	cursor: pointer;
}

.form-check-label {
	font-size: 14px;
	color: #2c3e50;
	line-height: 1.5;
	cursor: pointer;
}

.form-check-label a {
	color: #3498db;
	text-decoration: none;
}

.form-check-label a:hover {
	text-decoration: underline;
}

.form-text.text-muted {
	font-size: 12px;
	margin-top: 8px;
	color: #7f8c8d;
}

/* Стили для неактивной кнопки */

.btn.btn-primary {
	background: linear-gradient(135deg, #2258aa 0%, #082755 100%);
	border: none;
}

.btn-primary:hover {
	background: linear-gradient(135deg, #3a51bb 0%, #01206e 100%);
}

.btn-primary:disabled {
	opacity: 0.5;
	cursor: not-allowed;
	background: #95a5a6;
	border-color: #7f8c8d;
}

.btn-primary:disabled:hover {
	transform: none;
}

.header {

	.btn.btn-primary {
		background: none;
		border: 1px solid white;
	}

	.btn.btn-primary:hover {
		background: white;
		color: var(--dark-blue);

		.cart-prof {
			background-image: url('/images/cart-dark.svg');
		}
	}
}

@media (width < 991px) {
	.header {

		.btn.btn-primary,
		.btn.btn-primary:hover {
			background: none;
			border: none;
		}
	}
}


/* ==================== COOKIE BANNER ==================== */
.cookie-banner {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	background: white;
	box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
	z-index: 9999;
	transform: translateY(100%);
	transition: transform 0.3s ease;
}

.cookie-banner.show {
	transform: translateY(0);
}

.cookie-banner-content {
	max-width: 1200px;
	margin: 0 auto;
	padding: 20px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 30px;
	flex-wrap: wrap;
}

.cookie-banner-text {
	display: flex;
	align-items: center;
	gap: 15px;
	flex: 1;
	min-width: 300px;
}

.cookie-banner-text i {
	font-size: 32px;
	color: #f39c12;
}

.cookie-banner-text h4 {
	margin: 0 0 5px 0;
	font-size: 16px;
	color: #333;
}

.cookie-banner-text p {
	margin: 0;
	font-size: 14px;
	color: #666;
	line-height: 1.5;
}

.cookie-banner-buttons {
	display: flex;
	gap: 15px;
	align-items: center;
	flex-wrap: wrap;
}

.btn-outline {
	background: transparent;
	border: 2px solid #3498db;
	color: #3498db;
	cursor: pointer;
	transition: all 0.3s;
}

.btn-outline:hover {
	background: #3498db;
	color: white;
}

.btn-link {
	background: transparent;
	border: none;
	color: #7f8c8d;
	padding: 10px 20px;
	cursor: pointer;
	transition: color 0.3s;
	text-decoration: underline;
}

.btn-link:hover {
	color: #3498db;
}

/* ==================== COOKIE MODAL ==================== */
.cookie-modal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.5);
	z-index: 10000;
	align-items: center;
	justify-content: center;
}

.cookie-modal.show {
	display: flex;
}

.cookie-modal-content {
	background: white;
	border-radius: 10px;
	max-width: 500px;
	width: 90%;
	max-height: 90vh;
	overflow-y: auto;
	animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
	from {
		transform: translateY(-50px);
		opacity: 0;
	}

	to {
		transform: translateY(0);
		opacity: 1;
	}
}

.cookie-modal-header {
	padding: 20px;
	border-bottom: 1px solid #e0e0e0;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.cookie-modal-header h3 {
	margin: 0;
	font-size: 20px;
	color: #333;
}

.cookie-modal-header .close-btn {
	background: none;
	border: none;
	font-size: 28px;
	cursor: pointer;
	color: #999;
	transition: color 0.3s;
}

.cookie-modal-header .close-btn:hover {
	color: #333;
}

.cookie-modal-body {
	padding: 20px;
}

.cookie-modal-body p {
	margin-bottom: 20px;
	color: #666;
	font-size: 14px;
}

.cookie-option {
	margin-bottom: 20px;
	padding-bottom: 20px;
	border-bottom: 1px solid #f0f0f0;
}

.cookie-option:last-child {
	border-bottom: none;
	margin-bottom: 0;
	padding-bottom: 0;
}

.cookie-option-header {
	display: flex;
	align-items: center;
	gap: 15px;
	margin-bottom: 10px;
}

.cookie-option-name {
	font-weight: 500;
	color: #333;
}

.cookie-option-desc {
	margin: 0 0 0 44px;
	font-size: 13px;
	color: #7f8c8d;
	line-height: 1.5;
}

/* Switch toggle */
.switch {
	position: relative;
	display: inline-block;
	width: 40px;
	height: 20px;
}

.switch input {
	opacity: 0;
	width: 0;
	height: 0;
}

.slider {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #ccc;
	transition: .4s;
}

.slider:before {
	position: absolute;
	content: "";
	height: 16px;
	width: 16px;
	left: 2px;
	bottom: 2px;
	background-color: white;
	transition: .4s;
}

input:checked+.slider {
	background-color: #27ae60;
}

input:focus+.slider {
	box-shadow: 0 0 1px #27ae60;
}

input:checked+.slider:before {
	transform: translateX(20px);
}

.slider.round {
	border-radius: 20px;
}

.slider.round:before {
	border-radius: 50%;
}

input:disabled+.slider {
	opacity: 0.5;
	cursor: not-allowed;
}

.cookie-modal-footer {
	padding: 20px;
	border-top: 1px solid #e0e0e0;
	display: flex;
	gap: 10px;
	justify-content: flex-end;
	flex-wrap: wrap;
}

@media (max-width: 768px) {
	.cookie-banner-content {
		flex-direction: column;
		align-items: stretch;
		text-align: center;
	}

	.cookie-banner-text {
		flex-direction: column;
		text-align: center;
	}

	.cookie-banner-buttons {
		justify-content: center;
	}

	.cookie-modal-footer {
		flex-direction: column;
	}

	.cookie-modal-footer button {
		width: 100%;
	}
}

/* Прогресс-кнопка */
.scroll-to-top {
	position: fixed;
	bottom: 30px;
	right: 30px;
	width: 50px;
	height: 50px;
	background: linear-gradient(135deg, #acb8ef 0%, #0058d9 100%);
	border-radius: 50%;
	cursor: pointer;
	display: none;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
	z-index: 999;
}

@media (width < 991px) {
	.scroll-to-top {
		bottom: 70px;
		right: 20px;
	}

}

.scroll-to-top.show {
	display: flex;
}

.scroll-to-top svg {
	width: 100%;
	height: 100%;
	transform: rotate(-90deg);
}

.scroll-to-top circle {
	fill: none;
	stroke: white;
	stroke-width: 4;
	stroke-linecap: round;
	transition: stroke-dashoffset 0.3s;
}

.scroll-to-top .progress-bg {
	stroke: rgba(255, 255, 255, 0.3);
}

.scroll-to-top .progress-fill {
	stroke: white;
	stroke-dasharray: 157;
	/* Длина окружности */
	stroke-dashoffset: 157;
}

.scroll-to-top i {
	position: absolute;
	color: white;
	font-size: 24px;
}

.policy {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	justify-content: center;

	a {
		display: block;
		min-width: fit-content;
	}

	a:hover {
		color: #010156;
		border-bottom: 1px dashed #010156;
	}
}

.products-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 15px;
	margin: 15px 0;
}

.card {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 12px;
	background-color: var(--white);
	border: 1px solid #dcdcdc;
	border-radius: 16px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
	transition: all 0.2s ease;
	height: 100%;
}

.card:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 16px rgba(7, 34, 79, 0.12);
}

/* Контейнер для изображения с фиксированным соотношением сторон */
.img-card {
	position: relative;
	width: 100%;
	aspect-ratio: 1 / 1;
	/* Квадратный контейнер для всех изображений */
	overflow: hidden;
	border-radius: 12px;
	background-color: #f5f5f5;
}

.img-card img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	/* Изображение заполняет контейнер, обрезаясь при необходимости */
	transition: transform 0.3s ease;
}

/* Для горизонтальных изображений можно добавить особую обработку */
.img-card img.landscape {
	object-fit: contain;
	/* Показывает всё изображение, добавляя отступы */
	background-color: #f0f0f0;
}

/* Альтернативный вариант: центрирование с обрезкой */
.img-card img.center-crop {
	object-position: center;
}

.hit {
	position: absolute;
	right: 8px;
	top: 8px;
	padding: 4px 10px;
	background-color: var(--indigo);
	border-radius: 20px;
	font-weight: 600;
	font-size: 11px;
	color: var(--white);
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
	z-index: 2;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.line-stars {
	display: flex;
	height: 20px;
	align-items: center;
	margin: 4px 0;
}

.line-stars .line {
	flex-grow: 1;
	border-top: 1px solid var(--blue);
	opacity: 0.3;
}

.line-stars .stars {
	background: url('../images/stars-decor.svg') no-repeat;
	background-size: contain;
	height: 20px;
	width: 90px;
	margin: 0 6px;
}

.none {
	display: none;
}

.name-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 4px;
	flex: 1;
	font-size: 14px;
	line-height: 1.3;
}

.name-card a {
	font-size: 14px;
	font-weight: 600;
	color: var(--blue);
	text-decoration: none;
	transition: color 0.2s;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
	max-height: 2.6em;
}

.name-card a:hover {
	color: var(--dark-blue);
}

.product-author {
	font-size: 11px;
	font-weight: 300;
	color: var(--gray-600);
	margin: 2px 0;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 100%;
}

.price-option {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	margin: 4px 0;
}

.price-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	text-align: center;
	font-size: 18px;
	font-weight: 600;
	color: var(--dark-blue);
}

.price-value {
	font-size: x-large;
}

.rouble {
	background: url('/images/rouble.svg') no-repeat;
	background-size: contain;
	margin-left: 3px;
	width: 18px;
	height: 18px;
}

.product-actions {
	display: flex;
	gap: 6px;
	margin-top: 4px;
}

.btn-cart {
	flex: 1;
	padding: 10px 8px;
	background-color: var(--blue);
	border: none;
	border-radius: 30px;
	color: white;
	font-size: 12px;
	font-weight: 500;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
	transition: all 0.2s;
}

.btn-cart i {
	font-size: 14px;
}

.btn-cart:hover {
	background-color: var(--dark-blue);
	transform: translateY(-2px);
}

.btn-favorite {
	width: 40px;
	padding: 8px;
	background: #f8f9fa;
	border: 1px solid #ddd;
	border-radius: 30px;
	cursor: pointer;
	color: #e74c3c;
	transition: all 0.2s;
	display: flex;
	align-items: center;
	justify-content: center;
}

.btn-favorite i {
	font-size: 16px;
}

.btn-favorite:hover {
	background: #e74c3c;
	color: white;
	border-color: #c0392b;
}

.btn-favorite.active {
	background: #e74c3c;
	color: white;
	border-color: #c0392b;
}

/* Адаптивность для разных размеров экрана */
@media (max-width: 768px) {
	.products-grid {
		grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
		gap: 12px;
	}

	.card {
		padding: 10px;
	}

	.price-card {
		font-size: 16px;
	}

	.btn-cart {
		padding: 8px 6px;
		font-size: 11px;
	}

	.btn-favorite {
		width: 36px;
		padding: 6px;
	}
}

@media (max-width: 480px) {
	.products-grid {
		grid-template-columns: 1fr;
		gap: 10px;
	}

	.name-card a {
		font-size: 12px;
	}
}

/* Стили для блока срока оплаты */
.payment-deadline {
	border: 2px solid #68bffe;
	border-radius: 12px;
	padding: 20px;
	margin: 20px 0;
	display: flex;
	align-items: center;
	flex-direction: column;
	gap: 20px;
}

.deadline-icon {
	font-size: 40px;
	color: #046785;
	animation: pulse 2s infinite;
}

.deadline-text {
	flex: 1;
}

.deadline-title {
	font-size: 16px;
	font-weight: 600;
	color: #856404;
	margin: 0 0 5px 0;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.deadline-date {
	font-size: 32px;
	font-weight: 700;
	color: #856404;
	margin: 0 0 10px 0;
	font-family: monospace;
}

.deadline-warning {
	font-size: 14px;
	color: #856404;
	margin: 0;
	display: flex;
	align-items: center;
	gap: 8px;
}

.deadline-warning i {
	color: #dc3545;
	font-size: 16px;
}

@keyframes pulse {

	0%,
	100% {
		transform: scale(1);
	}

	50% {
		transform: scale(1.1);
	}
}

/* ========================================
   Современные карточки товаров (products.php)
   ======================================== */

.products-page {
	padding: 20px 0;
}

.products-page .page-title {
	font-size: 2rem;
	font-weight: 700;
	color: var(--dark-blue);
	margin-bottom: 30px;
	display: flex;
	align-items: center;
	gap: 12px;
}

.products-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 24px;
	padding: 10px 0;
}

/* Карточка товара - современный стиль */
.product-card {
	background: #fff;
	border-radius: 20px;
	overflow: hidden;
	box-shadow: 0 4px 20px rgba(7, 34, 79, 0.08);
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	position: relative;
	display: flex;
	flex-direction: column;
}

.product-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 12px 40px rgba(7, 34, 79, 0.15);
}

/* Бейдж "Хит продаж" */
.product-card__badge {
	position: absolute;
	top: 16px;
	left: 16px;
	background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
	color: white;
	padding: 6px 14px;
	border-radius: 20px;
	font-size: 12px;
	font-weight: 600;
	z-index: 10;
	box-shadow: 0 4px 12px rgba(238, 90, 36, 0.4);
}

/* Кнопка избранного */
.product-card__favorite {
	position: absolute;
	top: 16px;
	right: 16px;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.9);
	border: none;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	color: #ccc;
	transition: all 0.3s ease;
	z-index: 10;
	backdrop-filter: blur(8px);
}

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

.product-card__favorite.active {
	color: #ff6b6b;
}

/* Изображение */
.product-card__image {
	position: relative;
	width: 100%;
	padding-top: 75%;
	overflow: hidden;
	background: #f8f9fa;
}

.product-card__image img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.product-card:hover .product-card__image img {
	transform: scale(1.08);
}

/* Контент карточки */
.product-card__content {
	padding: 20px;
	display: flex;
	flex-direction: column;
	flex-grow: 1;
}

/* Название товара */
.product-card__title {
	font-size: 18px;
	font-weight: 600;
	color: var(--dark-blue);
	margin-bottom: 8px;
	line-height: 1.3;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.product-card__title a {
	color: inherit;
	text-decoration: none;
	transition: color 0.2s ease;
}

.product-card__title a:hover {
	color: var(--blue);
}

/* Автор */
.product-card__author {
	font-size: 14px;
	color: #6c757d;
	margin-bottom: 16px;
	display: flex;
	align-items: center;
	gap: 6px;
}

.product-card__author::before {
	content: '🎨';
	font-size: 12px;
}

/* Цена */
.product-card__price {
	font-size: 24px;
	font-weight: 700;
	color: var(--blue);
	margin-top: auto;
	margin-bottom: 16px;
	display: flex;
	align-items: baseline;
	gap: 4px;
}

.product-card__price-currency {
	font-size: 16px;
	font-weight: 400;
	color: #6c757d;
}

/* Кнопки действий */
.product-card__actions {
	display: flex;
	gap: 12px;
}

.product-card__btn-cart {
	flex: 1;
	padding: 14px 20px;
	border: none;
	border-radius: 12px;
	background: linear-gradient(135deg, var(--blue) 0%, var(--dark-blue) 100%);
	color: white;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	transition: all 0.3s ease;
}

.product-card__btn-cart:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(34, 88, 170, 0.4);
}

.product-card__btn-cart:active {
	transform: translateY(0);
}

.product-card__btn-cart.in-cart {
	background: linear-gradient(135deg, #27ae60 0%, #1e8449 100%);
}

.product-card__btn-favorite {
	width: 48px;
	height: 48px;
	border: 2px solid #e9ecef;
	border-radius: 12px;
	background: #fff;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	color: #6c757d;
	transition: all 0.3s ease;
	flex-shrink: 0;
}

.product-card__btn-favorite:hover {
	border-color: #ff6b6b;
	color: #ff6b6b;
}

.product-card__btn-favorite.active {
	background: #fff5f5;
	border-color: #ff6b6b;
	color: #ff6b6b;
}

/* Состояние загрузки кнопки */
.product-card__btn-cart:disabled {
	opacity: 0.7;
	cursor: not-allowed;
}

/* Адаптивность */
@media (max-width: 768px) {
	.products-grid {
		grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
		gap: 16px;
	}

	.product-card__content {
		padding: 16px;
	}

	.product-card__title {
		font-size: 16px;
	}

	.product-card__price {
		font-size: 20px;
	}
}

@media (max-width: 540px) {
	.products-grid {
		grid-template-columns: 1fr;
	}

	.products-page .page-title {
		font-size: 1.5rem;
	}
}

/* Анимация появления карточек */
@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(20px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.product-card {
	animation: fadeInUp 0.4s ease forwards;
}

.product-card:nth-child(1) {
	animation-delay: 0.05s;
}

.product-card:nth-child(2) {
	animation-delay: 0.1s;
}

.product-card:nth-child(3) {
	animation-delay: 0.15s;
}

.product-card:nth-child(4) {
	animation-delay: 0.2s;
}

.product-card:nth-child(5) {
	animation-delay: 0.25s;
}

.product-card:nth-child(6) {
	animation-delay: 0.3s;
}

.product-card:nth-child(7) {
	animation-delay: 0.35s;
}

.product-card:nth-child(8) {
	animation-delay: 0.4s;
}

/* ========================================
   Главная страница (home.php)
   ======================================== */

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

/* Основной блок с приглашением */
.invitation-card {
	background: var(--white);
	border-radius: 30px;
	padding: 18px;
	margin: 30px 0;
	position: relative;
	border-left: 5px solid var(--blue);
	box-shadow: var(--box-shadow-sm);
}


.invitation-card strong {
	color: var(--blue);
	background: rgba(34, 88, 170, 0.1);
	padding: 2px 8px;
	border-radius: 6px;
}

/* Сетка с карточками */
.features-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 25px;
	margin: 40px 0;
}

@media (max-width: 768px) {
	.features-grid {
		grid-template-columns: 1fr;
	}
}

/* Карточка особенностей */
.feature-card {
	background: var(--white);
	border-radius: 30px;
	padding: 30px;
	box-shadow: var(--box-shadow-sm);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	border: 1px solid rgba(34, 88, 170, 0.1);
	position: relative;
	overflow: hidden;
}

.feature-card:hover {
	transform: translateY(-5px);
	box-shadow: var(--box-shadow-lg);
}

.feature-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 4px;
	background: linear-gradient(135deg, var(--blue) 0%, var(--dark-blue) 100%);
}

.feature-card h3 {
	font-size: 28px;
	font-weight: 600;
	color: var(--dark-blue);
	margin-bottom: 25px;
	display: flex;
	align-items: center;
	gap: 10px;
}

.feature-list {
	list-style: none;
	padding: 0;
}

.feature-list li {
	margin-bottom: 15px;
	padding-left: 30px;
	position: relative;
	font-size: 16px;
	line-height: 1.5;
	color: var(--dark-blue);
}

.feature-list li::before {
	content: '✨';
	position: absolute;
	left: 0;
	top: -2px;
	font-size: 18px;
}

.feature-list li.mt-3 {
	margin-top: 15px;
}

.feature-badge {
	display: inline-block;
	background: var(--light-blue);
	color: var(--dark-blue);
	padding: 8px 20px;
	border-radius: 30px;
	margin-top: 20px;
	border: 1px solid var(--blue);
	font-weight: 500;
}

/* Блок с ценой */
.price-card {
	background: var(--light-blue);
	border-radius: 20px;
	padding: 20px;
	text-align: center;
	margin: 20px 0;
}

.price-value {
	font-size: 32px;
	font-weight: 700;
	color: var(--blue);
}

.price-note {
	font-size: 14px;
	color: var(--dark-blue);
	margin-top: 5px;
}

.price-badge-small {
	display: inline-block;
	background: var(--blue);
	color: white;
	padding: 5px 15px;
	border-radius: 20px;
	font-size: 12px;
	margin-top: 10px;
}

/* Минимальный заказ */
.min-order-box {
	background: var(--light-blue);
	border-radius: 20px;
	padding: 20px;
	margin: 20px 0;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 15px;
}

.min-order-label {
	font-size: 18px;
	color: var(--dark-blue);
}

.min-order-value {
	background: var(--blue);
	color: white;
	padding: 10px 25px;
	border-radius: 30px;
	font-size: 20px;
	font-weight: 600;
	box-shadow: var(--box-shadow-sm);
}

/* Бейдж подарка */
.gift-badge {
	background: var(--bejsevyj);
	color: var(--dark-blue);
	padding: 10px 25px;
	border-radius: 30px;
	font-weight: 500;
	display: inline-block;
}

/* Призыв к действию */
.cta-card {
	background: linear-gradient(135deg, var(--blue) 0%, var(--dark-blue) 100%);
	border-radius: 30px;
	padding: 40px;
	margin: 40px 0;
	text-align: center;
	color: white;
	line-height: 1.5;
	position: relative;
	overflow: hidden;
	box-shadow: var(--box-shadow-lg);
}

.cta-card::before {
	content: '🎨';
	position: absolute;
	top: 50%;
	left: 20px;
	transform: translateY(-50%);
	font-size: 80px;
	opacity: 0.1;
	pointer-events: none;
}

.cta-card::after {
	content: '✨';
	position: absolute;
	bottom: 20px;
	right: 20px;
	font-size: 60px;
	opacity: 0.1;
	pointer-events: none;
}

.cta-card p {
	font-size: 22px;
	margin: 0 0 20px;
	font-weight: 500;
	position: relative;
	z-index: 2;
}

.cta-highlight {
	background: var(--bejsevyj);
	color: var(--dark-blue);
	padding: 5px 15px;
	border-radius: 30px;
	display: inline-block;
	margin: 0 5px;
	font-weight: 600;
}

/* Контактный блок */
.contact-section {
	background: var(--white);
	border-radius: 30px;
	padding: 30px;
	margin: 40px 0;
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 20px;
	box-shadow: var(--box-shadow-sm);
	border: 1px solid rgba(34, 88, 170, 0.1);
}

.contact-info {
	display: flex;
	align-items: center;
	gap: 15px;
	color: var(--dark-blue);
}

.contact-icon {
	font-size: 24px;
}

.contact-label {
	font-size: 18px;
	font-weight: 500;
}

.contact-email {
	background: #297dbe;
	color: white;
	padding: 15px 30px;
	border-radius: 50px;
	font-size: 18px;
	font-weight: 500;
	box-shadow: var(--box-shadow-sm);
	transition: all 0.3s ease;
	text-decoration: none;
}

.contact-email:hover {
	background: var(--blue);
	transform: translateY(-2px);
	box-shadow: var(--box-shadow-lg);
}

/* Подпись */
.signature-block {
	margin-top: 40px;
	padding-bottom: 30px;
	border-bottom: 2px solid rgba(34, 88, 170, 0.2);
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 20px;
}

.signature-text {
	font-size: 18px;
	color: var(--dark-blue);
	font-style: italic;
	display: flex;
	align-items: center;
	gap: 15px;
}

.signature-text i {
	color: var(--bejsevyj);
	font-size: 24px;
}

.footer-note {
	color: var(--blue);
	font-size: 14px;
	text-align: right;
	width: 100%;
}

.footer-note .mt-1 {
	margin-top: 5px;
}

/* Анимации */
@keyframes float {

	0%,
	100% {
		transform: translateY(0);
	}

	50% {
		transform: translateY(-5px);
	}
}

.floating {
	animation: float 3s ease-in-out infinite;
}

/* Адаптивность */
@media (max-width: 768px) {
	.contact-section {
		flex-direction: column;
		text-align: center;
	}

	.signature-block {
		flex-direction: column;
	}

	.signature-text {
		justify-content: center;
	}

	.min-order-box {
		flex-direction: column;
		text-align: center;
	}

	.cta-card p {
		font-size: 18px;
	}
}

@media (max-width: 540px) {
	.hero-title {
		font-size: 24px;
	}

	.feature-card h3 {
		font-size: 22px;
	}

	.price-value {
		font-size: 26px;
	}
}

/* ========================================
   Страница избранного (profile-favorites.php)
   ======================================== */

.favorites-page {
	max-width: 1200px;
	margin: 0 auto;
	padding: 40px 20px;
}

.page-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 30px;
	flex-wrap: wrap;
	gap: 15px;
}

.page-header h1 {
	font-size: 28px;
	color: var(--dark-blue);
	margin: 0;
}

.favorites-controls {
	margin-bottom: 30px;
	text-align: right;
}

.favorites-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 24px;
}

.no-data {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
	grid-column: 1 / -1;
	text-align: center;
	padding: 60px;
	color: #6c757d;
	background: #f8f9fa;
	border-radius: 24px;
}

.empty-icon {
	font-size: 64px;
}

@media (max-width: 768px) {
	.favorites-grid {
		grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
		gap: 16px;
	}

	.page-header {
		flex-direction: column;
		align-items: flex-start;
	}

	.favorites-controls {
		text-align: left;
	}
}

@media (max-width: 540px) {
	.favorites-grid {
		grid-template-columns: 1fr;
	}
}

/* ========================================
   Страница товара (product.php)
   ======================================== */

.product-detail {
	border-radius: 24px;
	display: grid;
	background: white;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
	max-width: 1200px;
	margin: 0 auto;
	padding: 20px;
}

/* Галерея изображений */
.product-detail__gallery {
	position: relative;
}

.product-detail__main-image {
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
	border-radius: 14px;
	overflow: hidden;
	background: transparent;
	max-height: 80vh;
	width: 100%;
}

.product-detail__main-image img {
	max-width: 100%;
	max-height: 80vh;
	object-fit: contain;
	display: block;
	border-radius: 14px;
}

.product-detail__badge {
	position: absolute;
	top: 20px;
	left: 20px;
	background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
	color: white;
	padding: 8px 16px;
	border-radius: 20px;
	font-size: 14px;
	font-weight: 600;
	box-shadow: 0 4px 15px rgba(238, 90, 36, 0.4);
}

.product-detail__favorite {
	position: absolute;
	top: 20px;
	right: 20px;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.95);
	border: none;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 22px;
	color: #ccc;
	transition: all 0.3s ease;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.product-detail__favorite:hover {
	transform: scale(1.1);
	color: #ff6b6b;
}

.product-detail__favorite.active {
	color: #ff6b6b;
}

.product-detail__thumbs {
	display: flex;
	gap: 12px;
	margin-top: 16px;
	overflow-x: auto;
}

.product-detail__thumb {
	width: 80px;
	height: 80px;
	border-radius: 12px;
	overflow: hidden;
	cursor: pointer;
	border: 2px solid transparent;
	transition: all 0.3s ease;
	flex-shrink: 0;
}

.product-detail__thumb:hover,
.product-detail__thumb.active {
	border-color: var(--blue);
}

.product-detail__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Информация о товаре */
.product-detail__info {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.product-detail__title {
	font-size: 32px;
	font-weight: 700;
	color: var(--dark-blue);
	line-height: 1.2;
	margin: 0;
}

.product-detail__author {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 16px;
	color: #6c757d;
}

.product-detail__author .label {
	color: #6c757d;
}

.product-detail__author .value {
	color: var(--blue);
	font-weight: 500;
}

/* Заголовок товара с артикулом */
.product-detail__header {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-bottom: 16px;
}

/* Артикул товара */
.product-detail__sku {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 8px 14px;
	background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
	border-radius: 8px;
	font-size: 13px;
	width: fit-content;
}

.product-detail__sku i {
	color: #667eea;
	font-size: 14px;
}

.product-detail__sku span {
	color: #7f8c8d;
}

.product-detail__sku strong {
	color: #2c3e50;
	font-family: 'Courier New', monospace;
	letter-spacing: 0.5px;
}

/* Блок цены */
.product-detail__price-block {
	background: linear-gradient(135deg, var(--light-blue) 0%, #f0f7ff 100%);
	border-radius: 20px;
	padding: 24px;
	text-align: center;
	border: 1px solid rgba(34, 88, 170, 0.2);
}

.product-detail__price-label {
	display: block;
	font-size: 14px;
	color: #6c757d;
	margin-bottom: 8px;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.product-detail__price {
	font-size: 42px;
	font-weight: 700;
	color: var(--blue);
	display: flex;
	align-items: baseline;
	justify-content: center;
	gap: 4px;
}

.product-detail__price .currency {
	font-size: 24px;
	font-weight: 400;
	color: #6c757d;
}

.product-detail__price-note {
	display: block;
	font-size: 14px;
	color: #6c757d;
	margin-top: 8px;
}

/* Опции товара */
.product-detail__options {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.product-detail__option {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.product-detail__option-label {
	font-size: 14px;
	font-weight: 600;
	color: var(--dark-blue);
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

/* Информация о размере */
.product-detail__size-info {
	font-size: 16px;
	color: #495057;
	font-weight: 500;
	padding: 12px 16px;
	border-radius: 12px;
	display: inline-block;
}

.product-detail__size-info .size-dims {
	font-size: 14px;
	color: #6c757d;
	font-weight: 400;
}

/* Выбор количества */
.product-detail__quantity {
	display: flex;
	align-items: center;
	gap: 0;
	width: fit-content;
	border-radius: 12px;
	overflow: hidden;
	border: 2px solid #e9ecef;
}

.product-detail__quantity .qty-btn {
	width: 48px;
	height: 48px;
	border: none;
	background: #f8f9fa;
	font-size: 20px;
	font-weight: 600;
	color: var(--dark-blue);
	cursor: pointer;
	transition: all 0.2s ease;
	display: flex;
	align-items: center;
	justify-content: center;
}

.product-detail__quantity .qty-btn:hover {
	background: var(--blue);
	color: white;
}

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

.product-detail__quantity input {
	width: 60px;
	height: 48px;
	border: none;
	text-align: center;
	font-size: 18px;
	font-weight: 600;
	color: var(--dark-blue);
	background: #fff;
}

.product-detail__quantity input:focus {
	outline: none;
}

/* Итого */
.product-detail__total {
	display: flex;
	align-items: baseline;
	gap: 8px;
	padding: 20px;
	background: linear-gradient(135deg, var(--dark-blue) 0%, #0d2d5a 100%);
	border-radius: 16px;
	color: white;
	margin-bottom: 16px;
}

.product-detail__total .total-label {
	font-size: 16px;
	opacity: 0.9;
}

.product-detail__total .total-value {
	font-size: 32px;
	font-weight: 700;
}

.product-detail__total .total-currency {
	font-size: 18px;
	opacity: 0.9;
}

/* Кнопка корзины */
.product-detail__actions {
	margin-top: 8px;
}

.product-detail__btn-cart {
	width: 100%;
	padding: 18px 32px;
	border: none;
	border-radius: 16px;
	background: linear-gradient(135deg, var(--blue) 0%, var(--dark-blue) 100%);
	color: white;
	font-size: 18px;
	font-weight: 600;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	transition: all 0.3s ease;
	box-shadow: 0 6px 20px rgba(34, 88, 170, 0.3);
}

.product-detail__btn-cart:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 30px rgba(34, 88, 170, 0.4);
}

.product-detail__btn-cart:active {
	transform: translateY(0);
}

/* Описание */
.product-detail__description {
	padding: 24px;
	background: #f8f9fa;
	border-radius: 16px;
}

.product-detail__description h3 {
	font-size: 18px;
	font-weight: 600;
	color: var(--dark-blue);
	margin: 0 0 16px 0;
}

.product-detail__description .description-content {
	font-size: 15px;
	line-height: 1.7;
	color: #495057;
}

/* Блок доставки */
.product-detail__delivery {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	padding: 20px;
	background: #fff;
	border-radius: 16px;
	border: 1px solid #e9ecef;
}

.product-detail__delivery .delivery-item {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 14px;
	color: #495057;
}

.product-detail__delivery .delivery-item i {
	width: 36px;
	height: 36px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--light-blue);
	color: var(--blue);
	border-radius: 10px;
	font-size: 14px;
}

/* Адаптивность */
@media (max-width: 992px) {
	.product-detail {
		grid-template-columns: 1fr;
		gap: 30px;
	}

	.product-detail__title {
		font-size: 26px;
	}

	.product-detail__price {
		font-size: 36px;
	}
}

@media (max-width: 576px) {
	.product-detail {
		padding: 15px;
		padding-top: 0;
		gap: 20px;
	}

	.product-detail__gallery {
		margin: 0 -15px;
		width: calc(100% + 30px);
	}

	.product-detail__main-image {
		border-radius: 0;
		min-height: 250px;
		max-height: 60vh;
	}

	.product-detail__main-image img {
		max-width: 100%;
		max-height: 60vh;
		object-fit: contain;
	}

	.product-detail__title {
		font-size: 22px;
	}

	.product-detail__price {
		font-size: 28px;
	}

	.product-detail__price .currency {
		font-size: 18px;
	}

	.product-detail__size-info {
		font-size: 14px;
		padding: 10px 14px;
	}

	.product-detail__size-info .size-dims {
		font-size: 12px;
	}

	.product-detail__total {
		flex-direction: row;
		align-items: flex-start;
		gap: 4px;
	}

	.product-detail__total .total-value {
		font-size: 28px;
	}

	.product-detail__delivery {
		flex-direction: column;
	}
}

/* ==================== МОДАЛЬНЫЕ ОКНА СПЕЦПРЕДЛОЖЕНИЙ ==================== */

/* Общие стили для модальных окон */
.simple-offer-modal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 9999;
	align-items: center;
	justify-content: center;
}

.simple-offer-modal.show {
	display: flex;
}

.simple-offer-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.7);
	backdrop-filter: blur(4px);
}

.simple-offer-content {
	position: relative;
	background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
	border-radius: 24px;
	padding: 40px 35px;
	max-width: 480px;
	width: 90%;
	color: white;
	text-align: center;
	box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
	animation: offerSlideIn 0.4s ease;
	border: 1px solid rgba(255, 255, 255, 0.1);
}

@keyframes offerSlideIn {
	from {
		opacity: 0;
		transform: translateY(-30px) scale(0.95);
	}

	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

.simple-offer-close {
	position: absolute;
	top: 15px;
	right: 18px;
	background: rgba(255, 255, 255, 0.1);
	border: none;
	color: rgba(255, 255, 255, 0.7);
	font-size: 28px;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	cursor: pointer;
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
}

.simple-offer-close:hover {
	background: rgba(255, 255, 255, 0.2);
	color: white;
	transform: rotate(90deg);
}

.simple-offer-icon {
	display: flex;
	justify-content: center;
	gap: 15px;
	margin-bottom: 20px;
}

.simple-offer-icon span {
	font-size: 42px;
	animation: offerPulse 2s ease-in-out infinite;
}

.star-icon {
	animation-delay: 0s;
}

.gift-icon {
	animation-delay: 0.3s;
}

@keyframes offerPulse {

	0%,
	100% {
		transform: scale(1);
	}

	50% {
		transform: scale(1.1);
	}
}

.simple-offer-title {
	font-size: 26px;
	font-weight: 800;
	margin-bottom: 25px;
	line-height: 1.3;
	background: linear-gradient(90deg, #fff, #ffd700);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.simple-offer-message {
	text-align: center;
	margin: 25px 0;
}

.simple-offer-text {
	font-size: 18px;
	margin-bottom: 15px;
	color: rgba(255, 255, 255, 0.9);
}

.simple-offer-gift {
	font-size: 42px;
	font-weight: 800;
	color: #ffd700;
	text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
	animation: giftGlow 1.5s ease-in-out infinite alternate;
}

@keyframes giftGlow {
	from {
		text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
	}

	to {
		text-shadow: 0 0 30px rgba(255, 215, 0, 0.8);
	}
}

.simple-offer-highlight {
	background: linear-gradient(90deg, #ffd700, #ffaa00);
	color: #1a1a2e;
	padding: 2px 8px;
	border-radius: 6px;
	font-weight: 700;
}

.simple-offer-details {
	text-align: center;
	margin: 20px 0;
	padding: 15px;
	background: rgba(255, 255, 255, 0.05);
	border-radius: 12px;
}

.simple-offer-details p {
	font-size: 16px;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.85);
}

.simple-offer-actions {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-top: 25px;
}

.simple-offer-btn {
	padding: 16px 24px;
	border-radius: 12px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	text-decoration: none;
	display: block;
	text-align: center;
	border: none;
}

.simple-offer-btn-primary {
	background: linear-gradient(135deg, #ffd700 0%, #ffaa00 100%);
	color: #1a1a2e;
	box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.simple-offer-btn-primary:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 25px rgba(255, 215, 0, 0.5);
}

.simple-offer-btn-secondary {
	background: transparent;
	color: rgba(255, 255, 255, 0.8);
	border: 2px solid rgba(255, 255, 255, 0.3);
}

.simple-offer-btn-secondary:hover {
	background: rgba(255, 255, 255, 0.1);
	border-color: rgba(255, 255, 255, 0.5);
	color: white;
}

/* Стили для модального окна минимальной суммы */
#minOrderModal .simple-offer-content {
	background: linear-gradient(135deg, #1e3a5f 0%, #0d47a1 50%, #6a1b9a 100%);
	border: 1px solid rgba(255, 255, 255, 0.15);
}

@media (max-width: 576px) {
	.simple-offer-content {
		padding: 30px 20px;
		border-radius: 20px;
	}

	.simple-offer-title {
		font-size: 22px;
	}

	.simple-offer-gift {
		font-size: 32px;
	}

	.simple-offer-icon span {
		font-size: 32px;
	}

	.simple-offer-btn {
		padding: 14px 18px;
		font-size: 15px;
	}
}

/* ==================== ПОПАП ИЗОБРАЖЕНИЙ ==================== */

.image-popup {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 10000;
	background: rgba(0, 0, 0, 0.95);
	backdrop-filter: blur(10px);
}

.image-popup.active {
	display: flex;
	align-items: center;
	justify-content: center;
}

.image-popup__close {
	position: absolute;
	top: 20px;
	right: 20px;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.1);
	border: none;
	color: white;
	font-size: 24px;
	cursor: pointer;
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 10;
}

.image-popup__close:hover {
	background: rgba(255, 255, 255, 0.2);
	transform: rotate(90deg);
}

.image-popup__content {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
	max-width: 90vw;
	max-height: 90vh;
}

.image-popup__main {
	display: flex;
	align-items: center;
	justify-content: center;
}

.image-popup__main img {
	max-width: 85vw;
	max-height: 80vh;
	object-fit: contain;
	border-radius: 12px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.image-popup__thumbs {
	display: flex;
	gap: 10px;
	justify-content: center;
	flex-wrap: wrap;
}

.image-popup__thumb {
	width: 60px;
	height: 60px;
	border-radius: 8px;
	overflow: hidden;
	cursor: pointer;
	border: 2px solid transparent;
	opacity: 0.6;
	transition: all 0.3s ease;
}

.image-popup__thumb:hover {
	opacity: 0.9;
}

.image-popup__thumb.active {
	border-color: #667eea;
	opacity: 1;
}

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

.image-popup__nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.1);
	border: none;
	color: white;
	font-size: 20px;
	cursor: pointer;
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	justify-content: center;
}

.image-popup__nav:hover {
	background: rgba(255, 255, 255, 0.2);
	transform: translateY(-50%) scale(1.1);
}

.image-popup__nav--prev {
	left: 20px;
}

.image-popup__nav--next {
	right: 20px;
}

.image-popup__counter {
	position: absolute;
	bottom: 20px;
	left: 50%;
	transform: translateX(-50%);
	background: rgba(255, 255, 255, 0.1);
	padding: 8px 16px;
	border-radius: 20px;
	font-size: 14px;
	color: white;
}

@media (max-width: 768px) {
	.image-popup__nav {
		width: 44px;
		height: 44px;
		font-size: 16px;
	}

	.image-popup__nav--prev {
		left: 10px;
	}

	.image-popup__nav--next {
		right: 10px;
	}

	.image-popup__close {
		top: 10px;
		right: 10px;
		width: 40px;
		height: 40px;
		font-size: 20px;
	}

	.image-popup__thumb {
		width: 50px;
		height: 50px;
	}
}

/* Стили для модального окна минимальной суммы */
#minOrderModal .simple-offer-content {
	background: linear-gradient(135deg, #1e3a5f 0%, #0d47a1 50%, #6a1b9a 100%);
	border: 1px solid rgba(255, 255, 255, 0.15);
}

#minOrderModal .simple-offer-gift {
	color: #ffd700;
}