/* Подключение шрифта Comfortaa */
@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@300;400;500;600;700&display=swap');

/* ========================================== */
/* СБРОС И БАЗОВЫЕ СТИЛИ */
/* ========================================== */

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: 'Comfortaa', cursive;
	font-weight: 300;
	line-height: 1.6;
	color: #1a1a1a;
	background-color: #ffffff;
	font-feature-settings: 'kern' 1, 'liga' 1;
	overflow-x: hidden;
	width: 100%;
	max-width: 100vw;
	padding-top: 80px;
}

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

/* ========================================== */
/* ХЕДЕР И НАВИГАЦИЯ */
/* ========================================== */

/* В разделе "ХЕДЕР И НАВИГАЦИЯ" обновите .hero-background: */

.hero-background {
	background: linear-gradient(135deg, #f9f5f0 0%, #f0e6d6 100%);
	position: relative;
	overflow: visible; /* Изменено с hidden на visible */
	min-height: auto; /* Убрано фиксированное значение */
	height: auto; /* Автоматическая высота */
	max-height: none; /* Убрано ограничение */
	width: 100%;
	display: flex;
	flex-direction: column;
	/* УБЕРИТЕ: justify-content: space-between; */
	/* ДОБАВЬТЕ ВМЕСТО: */
	justify-content: center; /* Центрируем по вертикали */
	align-items: center; /* Центрируем по горизонтали */
	padding: 20px 0; /* Добавляем одинаковые отступы сверху и снизу */
}

.hero-background::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-image: radial-gradient(
			circle at 20% 80%,
			rgba(255, 255, 255, 0.2) 0%,
			transparent 50%
		),
		radial-gradient(
			circle at 80% 20%,
			rgba(255, 255, 255, 0.2) 0%,
			transparent 50%
		);
	pointer-events: none;
}

.header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	background: rgba(249, 245, 240, 0.95);
	backdrop-filter: blur(10px);
	box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
	transition: all 0.3s ease;
	height: 80px;
	width: 100%;
	display: flex; /* Добавлено */
	align-items: center; /* Добавлено - выравнивание по вертикали */
}

/* КОНТЕЙНЕР ХЕДЕРА ДЛЯ ГЛАВНОЙ СТРАНИЦЫ (как на purchase) */
.header .container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
	width: 100%;
}

.header.scrolled {
	background: rgba(255, 255, 255, 0.98);
	box-shadow: 0 4px 25px rgba(0, 0, 0, 0.15);
}

/* ЛОГОТИП СЛЕВА */
.logo {
	display: flex;
	align-items: center;
	gap: 10px;
	color: #1a1a1a;
	text-decoration: none;
	font-weight: 700;
	font-size: 1.2rem;
	z-index: 1002;
	order: 1;
	margin-right: auto;
}

.logo:hover {
	color: #8b7355;
	transform: scale(1.05);
}

.logo i {
	margin-right: 8px;
	font-size: 1.5rem;
	color: #8b7355;
	transition: all 0.3s ease;
}

.logo:hover i {
	color: #a89176;
}

/* ОСНОВНАЯ НАВИГАЦИЯ (для ПК) */
.nav {
	display: flex;
	align-items: center;
	gap: 25px;
	order: 2;
}

/* ССЫЛКИ НАВИГАЦИИ ДЛЯ ПК */
.nav-link {
	text-decoration: none;
	color: #4a4a4a;
	font-weight: 500;
	font-size: 0.95rem;
	transition: all 0.3s ease;
	white-space: nowrap;
	position: relative;
	padding: 5px 0;
}

.nav-link:hover {
	color: #8b7355;
}

.nav-link:hover::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 2px;
	background-color: #8b7355;
	transform: scaleX(1);
	transition: transform 0.3s ease;
}

/* Для логотипа и кнопки пользователя отключаем подчеркивание */
.logo:hover::after,
.user-menu-btn:hover::after {
	display: none;
}

.nav-link i {
	font-size: 1.2rem;
}

.nav-link:hover i {
	color: #8b7355;
}

/* ИКОНКА ПОЛЬЗОВАТЕЛЯ СПРАВА */
.user-menu-container {
	position: relative;
	order: 2; /* ← Измени с 3 на 4 */
	margin-left: 10px;
}

.user-menu-btn {
	background: none;
	border: none;
	cursor: pointer;
	font-size: 1.2rem;
	color: #4a4a4a;
	padding: 5px;
	transition: color 0.3s ease;
}

.user-menu-btn:hover {
	color: #8b7355;
}

.user-menu {
	position: absolute;
	top: 100%;
	right: 0;
	background: white;
	border-radius: 12px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
	padding: 20px;
	min-width: 280px;
	z-index: 1000;
	display: none;
	margin-top: 10px;
}

.user-menu.show {
	display: block;
}

@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(-10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.user-menu h3 {
	color: #1a1a1a;
	margin-bottom: 15px;
	font-size: 1.1rem;
	font-weight: 600;
}

.auth-error {
	color: #ff6b6b;
	font-size: 0.85rem;
	margin-bottom: 15px;
	padding: 8px 12px;
	background: rgba(255, 107, 107, 0.1);
	border-radius: 6px;
	display: none;
}

.auth-error.show {
	display: block;
}

.auth-input {
	width: 100%;
	padding: 12px 15px;
	margin-bottom: 12px;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	font-family: 'Comfortaa', cursive;
	font-size: 0.9rem;
	transition: border-color 0.3s ease;
}

.auth-input:focus {
	outline: none;
	border-color: #8b7355;
}

.auth-buttons {
	display: flex;
	gap: 10px;
	margin-top: 10px;
}

.auth-btn {
	flex: 1;
	padding: 12px;
	border: none;
	border-radius: 8px;
	font-family: 'Comfortaa', cursive;
	font-size: 0.9rem;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
}

.btn-login {
	background: linear-gradient(135deg, #8b7355 0%, #a89176 100%);
	color: white;
}

.btn-register {
	background: #f5f5f5;
	color: #4a4a4a;
}

.btn-login:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 15px rgba(139, 115, 85, 0.3);
}

.btn-register:hover {
	background: #e8e8e8;
	transform: translateY(-2px);
}

.btn-logout {
	width: 100%;
	padding: 10px;
	background: #f5f5f5;
	border: none;
	border-radius: 8px;
	font-family: 'Comfortaa', cursive;
	font-size: 0.9rem;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.3s ease;
}

.btn-logout:hover {
	background: #e8e8e8;
	transform: translateY(-2px);
}

#userInfo {
	text-align: center;
}

#userEmailDisplay {
	color: #4a4a4a;
	font-size: 0.9rem;
	word-break: break-all;
}

/* БУРГЕР-КНОПКА ДЛЯ МОБИЛЬНЫХ */
.burger-menu-btn {
	display: none;
	background: none;
	border: none;
	cursor: pointer;
	font-size: 1.5rem;
	color: #4a4a4a;
	padding: 8px;
	transition: all 0.3s ease;
	z-index: 1002;
	order: 4;
	margin-left: 10px;
}

.burger-menu-btn:hover {
	color: #8b7355;
}

/* ========================================== */
/* БЛОК НОВИНКИ */
/* ========================================== */

.new-arrival {
	padding-top: 0; /* Убрано 10% */
	padding-bottom: 0; /* Убрано 20px */
	position: relative;
	width: 100%;
	height: auto;
	min-height: auto; /* Изменено с 400px */
	max-height: none;
	display: flex;
	align-items: center;
	justify-content: center;
}
.new-product-wrapper {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0; /* Уберите padding если он есть */
}

.new-product {
	background-color: rgba(255, 255, 255, 0.95);
	border-radius: 20px;
	box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
	padding: 35px 30px;
	width: 100%;
	max-width: 1150px;
	height: auto;
	min-height: auto; /* Изменено с 400px */
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	backdrop-filter: blur(8px);
	margin: 0; /* Уберите margin если он есть */
}

.new-product-content {
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	text-align: center;
}

.new-badge {
	display: inline-block;
	background: #8b7355;
	color: white;
	padding: 6px 18px;
	border-radius: 20px;
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.5px;
	margin-bottom: 15px;
	text-transform: uppercase;
	align-self: center;
}

.new-product-title {
	font-size: 1.8rem;
	font-weight: 700;
	line-height: 1.1;
	color: #1a1a1a;
	margin-bottom: 12px;
	letter-spacing: -0.3px;
	cursor: pointer;
	transition: all 0.3s ease;
	display: inline-flex;
	align-items: center;
}

.new-product-title:hover {
	color: #8b7355;
	padding-left: 5px;
}

.new-product-description {
	font-size: 0.9rem;
	line-height: 1.5;
	color: #666;
	margin-bottom: 25px;
	font-weight: 300;
	max-width: 700px;
	margin-left: auto;
	margin-right: auto;
}

.new-product-visual {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 50px;
	flex: 1;
	margin-top: 5px;
	width: 100%;
	height: auto;
	min-height: 300px;
	padding: 20px 0;
}

.new-product-carousel {
	flex: 1;
	max-width: 320px;
	min-width: 280px;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	position: relative;
	overflow: hidden;
}

.new-product-carousel:hover {
	transform: scale(1.02);
}

.carousel-container {
	width: 100%;
	aspect-ratio: 1 / 1;
	position: relative;
	overflow: hidden;
	border-radius: 16px;
	background: linear-gradient(
		135deg,
		rgba(245, 240, 232, 0.9) 0%,
		rgba(232, 223, 208, 0.9) 100%
	);
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
	flex-shrink: 0;
	margin: 0;
	touch-action: pan-y pinch-zoom;
}

.carousel-slide {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	transition: opacity 0.4s ease;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	touch-action: pan-y;
}

.carousel-slide.active {
	opacity: 1;
}

.carousel-image {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #8b7355;
}

.carousel-image i {
	font-size: 3.5rem;
	opacity: 0.8;
}

.carousel-image span {
	position: absolute;
	bottom: 15px;
	left: 0;
	right: 0;
	text-align: center;
	color: #8b7355;
	font-weight: 500;
	font-size: 0.9rem;
}

.carousel-controls {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	margin-top: 15px;
	padding: 0 10px;
}

.carousel-btn {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: #8b7355;
	color: white;
	border: none;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.3s ease;
	font-size: 1rem;
	box-shadow: 0 4px 10px rgba(139, 115, 85, 0.2);
}

.carousel-btn:hover {
	background: #a89176;
	transform: scale(1.05);
}

.carousel-dots {
	display: flex;
	gap: 10px;
	justify-content: center;
	flex-grow: 1;
}

.carousel-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #ddd;
	border: none;
	cursor: pointer;
	transition: all 0.3s ease;
	padding: 0;
}

.carousel-dot.active {
	background: #8b7355;
	transform: scale(1.2);
}

.new-product-details {
	flex: 1;
	max-width: 300px;
	min-width: 250px;
	height: 100%;
	text-align: left;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding-left: 10px;
}

.new-product-price {
	display: flex;
	align-items: center;
	gap: 20px;
	margin-bottom: 25px;
	cursor: pointer;
	transition: transform 0.3s ease;
}

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

.price {
	font-size: 1.9rem;
	font-weight: 700;
	color: #1a1a1a;
}

.price-old {
	font-size: 1.4rem;
	color: #999;
	text-decoration: line-through;
	font-weight: 400;
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 14px 28px;
	border: none;
	border-radius: 10px;
	font-size: 0.95rem;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	text-decoration: none;
	font-family: 'Comfortaa', cursive;
	letter-spacing: 0.3px;
}

.btn-primary {
	background: linear-gradient(135deg, #8b7355 0%, #a89176 100%);
	color: white;
	box-shadow: 0 8px 20px rgba(139, 115, 85, 0.25);
	width: 100%;
	margin-bottom: 25px;
	padding: 16px 28px;
}

.btn-primary:hover {
	transform: translateY(-3px);
	box-shadow: 0 12px 25px rgba(139, 115, 85, 0.35);
}

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

.new-product-stats {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.stat {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 0.85rem;
	color: #666;
	font-weight: 300;
	padding: 10px 14px;
	background: rgba(248, 242, 233, 0.6);
	border-radius: 10px;
	transition: all 0.2s ease;
}

.stat:hover {
	background: rgba(248, 242, 233, 0.8);
	transform: translateX(3px);
}

.stat i {
	color: #8b7355;
	font-size: 1rem;
	width: 20px;
	text-align: center;
}

/* ========================================== */
/* ПРЕДЛОЖЕНИЕ ДНЯ - ОБНОВЛЕННАЯ СТРУКТУРА */
/* ========================================== */

/* В разделе "ПРЕДЛОЖЕНИЕ ДНЯ - ОБНОВЛЕННАЯ СТРУКТУРА" обновите: */

.daily-offer-background {
	background: white;
	border-radius: 20px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
	margin: 0 auto; /* Изменено с 30px auto */
	width: fit-content;
	max-width: none;
	/* УБЕРИТЕ: flex-grow: 1; */
	/* ДОБАВЬТЕ ВМЕСТО: */
	flex-shrink: 0; /* Не сжимается */
	overflow: visible; /* Добавлено */
	height: auto; /* Добавлено */
	min-height: auto; /* Добавлено */
}

.daily-offer {
	padding: 30px; /* Уменьшено с 40px */
	background: white;
	border-radius: 20px;
	width: 100%;
	box-sizing: border-box;
	height: auto; /* Изменено с 100% на auto */
	min-height: auto; /* Добавлено */
	overflow: visible; /* Добавлено */
}
/* Уменьшим размер карусели предложения дня */
.daily-offer-carousel {
	width: 580px; /* Уменьшено с 650px */
	max-width: 100%;
}

/* Уменьшим отступы в деталях предложения дня */
.daily-offer-details {
	padding-top: 0; /* Убрать отступ сверху */
	margin-top: -40px; /* Поднять весь блок вверх */
	min-width: 380px; /* Уменьшено с 400px */
	max-width: 420px; /* Уменьшено с 450px */
	display: flex;
	flex-direction: column;
	gap: 10px; /* Уменьшено с 20px */
}

.product-price-container {
	display: flex;
	align-items: center; /* Это выравнивает все элементы по вертикали */
	gap: 8px;
	margin: 10px 0;
}

.product-discount {
	align-self: center; /* Выравнивание конкретно для скидки */
}

/* Уменьшим размер названия часов */
.daily-offer-watch-name {
	font-size: 2.2rem; /* Уменьшено с 2.5rem */
	font-weight: 700;
	color: #1a1a1a;
	margin: 0 0 8px 0; /* Уменьшено с 10px */
	line-height: 1.2;
	text-align: left !important;
	align-self: flex-start;
	width: 100%;
}

/* Уменьшим размер цен */
.daily-offer-price .price {
	font-size: 2.6rem; /* Уменьшено с 3rem */
	font-weight: 800;
	color: #ff6b6b;
}

.daily-offer-price .price-old {
	font-size: 1.8rem; /* Уменьшено с 2rem */
	color: #999;
	text-decoration: line-through;
}

/* Уменьшим кнопку покупки */
#dailyOfferBuyButton {
	padding: 18px 25px; /* Уменьшено с 20px 30px */
	font-size: 1.1rem; /* Уменьшено с 1.2rem */
	/* остальные стили без изменений */
}

/* Уменьшим статистику */
.daily-offer-stats .stat {
	padding: 14px 18px; /* Уменьшено с 16px 20px */
	font-size: 0.95rem; /* Если нужно уменьшить текст */
}

.daily-offer-stats .stat i {
	font-size: 1.2rem; /* Уменьшено с 1.3rem */
}

.daily-offer-stats .stat span {
	font-size: 1rem; /* Уменьшено с 1.1rem */
}

/* В медиа-запросах для планшетов добавьте: */
@media (max-width: 992px) {
	.hero-background {
		min-height: auto; /* Убрано фиксированное значение */
		max-height: none; /* Убрано ограничение */
		padding: 15px 0; /* Уменьшенный отступ */
	}

	.daily-offer-background {
		margin: 20px auto;
		width: calc(100% - 40px); /* Занимает всю ширину с отступами */
	}
}

/* В медиа-запросах для телефонов: */
@media (max-width: 768px) {
	.hero-background {
		min-height: auto; /* Убрано фиксированное значение */
		max-height: none; /* Убрано ограничение */
		padding: 10px 0; /* Уменьшенный отступ */
		overflow: visible; /* Добавлено */
	}

	.daily-offer {
		padding: 25px 20px;
		height: auto; /* Добавлено */
		min-height: auto; /* Добавлено */
		overflow: visible; /* Добавлено */
	}

	.daily-offer-content {
		max-height: none; /* Убрано ограничение */
		overflow: visible; /* Добавлено */
	}

	.daily-offer-main {
		display: flex; /* Изменено с grid на flex */
		flex-direction: column; /* Колонкой на мобильных */
		gap: 30px; /* Уменьшен отступ */
		align-items: center;
		width: 100%;
		height: auto; /* Добавлено */
	}

	.daily-offer-carousel {
		width: 100%;
		max-width: 500px; /* Ограничение максимальной ширины */
		height: auto; /* Добавлено */
	}

	.daily-offer-details {
		min-width: auto; /* Убрано фиксированное значение */
		max-width: 500px; /* Ограничение максимальной ширины */
		width: 100%;
		transform: none; /* Убрано масштабирование */
		padding: 0 10px; /* Добавлены отступы */
		box-sizing: border-box;
	}

	.daily-offer-header {
		flex-direction: column;
		gap: 15px;
		align-items: center;
		padding-left: 0; /* Убрано смещение */
		text-align: center;
	}
}

.daily-offer-content {
	width: 100%;
	max-width: 1250px;
	max-height: none; /* Убрано ограничение */
	height: auto; /* Добавлено */
	margin: 0 auto;
	overflow: visible; /* Добавлено */
}
.daily-offer-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 30px;
	padding-left: 40px;
	width: 100%;
}

.offer-badge {
	background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%);
	color: white;
	padding: 10px 20px;
	border-radius: 20px;
	font-weight: 700;
	font-size: 1rem;
	letter-spacing: 0.5px;
	box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
	text-transform: uppercase;
}

.offer-timer {
	display: flex;
	align-items: center;
	gap: 10px;
	background: rgba(139, 115, 85, 0.1);
	padding: 12px 24px;
	border-radius: 12px;
	font-weight: 600;
}

.offer-timer i {
	color: #ff6b6b;
	font-size: 1.3rem;
}

#timerHours,
#timerMinutes,
#timerSeconds {
	font-size: 1.5rem;
	color: #1a1a1a;
	min-width: 30px;
	text-align: center;
	font-weight: 700;
}

.timer-label {
	margin-left: 15px;
	font-size: 0.9rem;
	color: #666;
	font-weight: normal;
}

.daily-offer-main {
	display: grid;
	grid-template-columns: auto auto;
	gap: 80px;
	align-items: start;
	width: 100%;
}

/* КАРУСЕЛЬ БОЛЬШОГО РАЗМЕРА */
.daily-offer-carousel {
	width: 500px; /* УВЕЛИЧЕННЫЙ РАЗМЕР */
	max-width: 100%;
}

/* УВЕЛИЧЕННАЯ КАРУСЕЛЬ ВНУТРИ */
.daily-offer-carousel .carousel-container {
	width: 100%;
	aspect-ratio: 1 / 1;
	border-radius: 20px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.daily-offer-carousel .carousel-image i {
	font-size: 4.5rem; /* УВЕЛИЧЕННЫЙ РАЗМЕР ИКОНКИ */
}

.daily-offer-carousel .carousel-controls {
	margin-top: 20px;
}

.daily-offer-carousel .carousel-btn {
	width: 42px;
	height: 42px;
	font-size: 1.2rem;
}

.daily-offer-details {
	transform: scale(0.85);
	min-width: 400px;
	max-width: 450px;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.daily-offer-watch-name {
	font-size: 2.5rem;
	font-weight: 700;
	color: #1a1a1a;
	margin: 0 0 10px 0;
	line-height: 1.2;
	text-align: left !important; /* Принудительно */
	align-self: flex-start; /* Если используется flex */
	width: 100%; /* Занимает всю ширину */
}

.daily-offer-price {
	display: flex;
	align-items: baseline;
	gap: 20px;
	margin-bottom: 10px;
}

.daily-offer-price .price {
	font-size: 3rem;
	font-weight: 800;
	color: #ff6b6b;
}

.daily-offer-price .price-old {
	font-size: 2rem;
	color: #999;
	text-decoration: line-through;
}

.discount-badge {
	background: #ff6b6b;
	color: white;
	padding: 6px 14px;
	border-radius: 10px;
	font-size: 1.1rem;
	font-weight: 700;
}

#dailyOfferBuyButton {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	padding: 20px 30px;
	background: linear-gradient(135deg, #8b7355 0%, #a89176 100%);
	color: white;
	border: none;
	border-radius: 12px;
	font-size: 1.2rem;
	font-weight: 700;
	cursor: pointer;
	transition: all 0.3s ease;
	text-decoration: none;
	width: 100%;
	margin: 15px 0;
	box-shadow: 0 8px 25px rgba(139, 115, 85, 0.3);
}

#dailyOfferBuyButton:hover {
	transform: translateY(-3px);
	box-shadow: 0 12px 30px rgba(139, 115, 85, 0.4);
}

.daily-offer-stats {
	display: flex;
	flex-direction: column;
	gap: 15px;
	margin-top: 20px;
	width: 100%;
}

.daily-offer-stats .stat {
	display: flex;
	align-items: center;
	gap: 15px;
	padding: 16px 20px;
	background: rgba(248, 242, 233, 0.7);
	border-radius: 12px;
	transition: all 0.2s ease;
	width: 100%;
}

.daily-offer-stats .stat:hover {
	background: rgba(248, 242, 233, 0.9);
	transform: translateX(5px);
}

.daily-offer-stats .stat i {
	color: #8b7355;
	font-size: 1.3rem;
	width: 30px;
	text-align: center;
}

.daily-offer-stats .stat span {
	color: #555;
	font-size: 1.1rem;
	font-weight: 500;
}

/* ========================================== */
/* КАТАЛОГ */
/* ========================================== */

.catalog {
	padding: 40px 0 100px;
	background-color: #ffffff;
	position: relative;
	z-index: 10;
	width: 100%;
	display: flex;
	justify-content: center;
}

.catalog-container {
	width: 65%;
	max-width: 1400px;
	padding: 0 20px;
}

.section-title {
	font-size: 2.8rem;
	font-weight: 700;
	text-align: center;
	color: #1a1a1a;
	margin-bottom: 15px;
	letter-spacing: -0.5px;
}

.section-subtitle {
	text-align: center;
	color: #666;
	font-size: 1.1rem;
	margin-bottom: 60px;
	max-width: 600px;
	margin-left: auto;
	margin-right: auto;
	font-weight: 300;
}

.products-container {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 25px;
	margin-bottom: 60px;
	width: 100%;
}

.product-card {
	background: #ffffff;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
	transition: all 0.3s ease;
	border: 1px solid #f0f0f0;
	display: flex;
	flex-direction: column;
	height: 100%;
	width: 100%;
}

.product-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.product-carousel {
	position: relative;
	width: 100%;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: linear-gradient(135deg, #f5f0e8 0%, #e8dfd0 100%);
	touch-action: pan-y pinch-zoom;
}

.product-carousel-slides {
	position: relative;
	width: 100%;
	height: 100%;
	touch-action: pan-y;
}

.product-slide {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	transition: opacity 0.4s ease;
	touch-action: pan-y;
}

.product-slide.active {
	opacity: 1;
}

.product-carousel-slides img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	touch-action: pan-y;
}

.product-carousel-slides .product-slide > div {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.product-carousel-controls {
	position: absolute;
	bottom: 15px;
	left: 0;
	right: 0;
	display: flex;
	justify-content: center;
	gap: 8px;
	z-index: 10;
	padding: 0 10px;
}

.product-carousel-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.6);
	border: 1px solid rgba(139, 115, 85, 0.3);
	cursor: pointer;
	padding: 0;
	transition: all 0.3s ease;
}

.product-carousel-dot.active {
	background: #8b7355;
	border-color: #8b7355;
	transform: scale(1.3);
	box-shadow: 0 0 6px rgba(139, 115, 85, 0.8);
}

.product-carousel-nav {
	position: absolute;
	top: 50%;
	left: 0;
	right: 0;
	display: flex;
	justify-content: space-between;
	padding: 0 15px;
	transform: translateY(-50%);
	z-index: 10;
	opacity: 0;
	transition: opacity 0.3s ease;
	pointer-events: none;
}

.product-card:hover .product-carousel-nav {
	opacity: 1;
	pointer-events: auto;
}

.product-carousel-btn {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: rgba(139, 115, 85, 0.9);
	color: white;
	border: none;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.3s ease;
	font-size: 0.9rem;
	box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
	pointer-events: auto;
}

.product-carousel-btn:hover {
	background: #8b7355;
	transform: scale(1.1);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.product-info {
	padding: 20px;
	flex-grow: 1;
	display: flex;
	flex-direction: column;
	min-height: 140px;
}

.product-title {
	font-size: 1.1rem;
	font-weight: 600;
	color: #1a1a1a;
	margin-bottom: 8px;
	line-height: 1.3;
	height: 2.8em;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.product-price {
	font-size: 1.15rem;
	color: #8b7355;
	font-weight: 600;
	margin-bottom: 15px;
	letter-spacing: 0.5px;
}

.btn-buy {
	margin-top: auto;
	width: 100%;
	padding: 12px;
	background: linear-gradient(135deg, #1a1a1a 0%, #333333 100%);
	color: white;
	border: none;
	border-radius: 10px;
	font-size: 0.95rem;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	text-decoration: none;
	text-align: center;
	display: block;
	font-family: 'Comfortaa', cursive;
	letter-spacing: 0.5px;
}

.btn-buy:hover {
	background: linear-gradient(135deg, #8b7355 0%, #a89176 100%);
	transform: translateY(-2px);
	box-shadow: 0 6px 15px rgba(139, 115, 85, 0.3);
}

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

.product-image i {
	font-size: 3.5rem;
	color: #8b7355;
	opacity: 0.8;
	z-index: 1;
}

/* ========================================== */
/* ЗАГРУЗКА */
/* ========================================== */

.loading {
	text-align: center;
	padding: 60px 0;
	display: none;
}

.spinner {
	width: 60px;
	height: 60px;
	border: 4px solid rgba(139, 115, 85, 0.1);
	border-top: 4px solid #8b7355;
	border-radius: 50%;
	animation: spin 1s linear infinite;
	margin: 0 auto 20px;
}

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

.loading p {
	color: #666;
	font-size: 1.1rem;
	font-weight: 300;
}

/* ========================================== */
/* ФУТЕР */
/* ========================================== */

.footer {
	background: #1a1a1a;
	color: #f9f5f0;
	padding: 60px 0 30px;
	margin-top: 80px;
}

.footer-content {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 40px;
	margin-bottom: 40px;
}

.footer-section h3 {
	font-size: 1.5rem;
	font-weight: 700;
	margin-bottom: 20px;
	color: #f9f5f0;
}

.footer-section h4 {
	font-size: 1.2rem;
	font-weight: 600;
	margin-bottom: 20px;
	color: #f9f5f0;
}

.footer-section p {
	color: #cccccc;
	line-height: 1.6;
	margin-bottom: 15px;
}

.footer-contact {
	color: #8b7355 !important;
	font-weight: 500;
}

.footer-link {
	display: block;
	color: #cccccc;
	text-decoration: none;
	margin-bottom: 12px;
	transition: color 0.3s ease;
	font-size: 0.95rem;
}

.footer-link:hover {
	color: #8b7355;
}

.social-links {
	display: flex;
	gap: 15px;
	margin-bottom: 25px;
}

.social-link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	background: rgba(255, 255, 255, 0.1);
	border-radius: 50%;
	color: white;
	font-size: 1.2rem;
	transition: all 0.3s ease;
	text-decoration: none;
}

.social-link:hover {
	background: #8b7355;
	transform: translateY(-3px);
}

.copyright {
	text-align: center;
	padding-top: 30px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	color: #666;
	font-size: 0.9rem;
	font-weight: 300;
}

.email-desktop {
	display: inline-flex;
}

.email-mobile {
	display: none;
}

.logo-section {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.logo-section h3 {
	margin-top: 0;
}

/* ========================================== */
/* МОДАЛЬНЫЕ ОКНА */
/* ========================================== */

.about-modal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.7);
	z-index: 2000;
	opacity: 0;
	transition: opacity 0.3s ease;
	backdrop-filter: blur(5px);
}

.about-modal.show {
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 1;
}

.about-modal-content {
	background: linear-gradient(135deg, #f9f5f0 0%, #f0e6d6 100%);
	border-radius: 20px;
	width: 90%;
	max-width: 800px;
	max-height: 80vh;
	overflow-y: auto;
	padding: 30px;
	position: relative;
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
	border: 2px solid #8b7355;
	animation: modalSlideIn 0.4s ease;
}

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

.about-modal-close {
	position: absolute;
	top: 15px;
	right: 15px;
	background: #8b7355;
	color: white;
	border: none;
	border-radius: 50%;
	width: 32px;
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	font-size: 1rem;
	transition: all 0.3s ease;
	z-index: 10;
}

.about-modal-close:hover {
	background: #a89176;
	transform: rotate(90deg);
}

.about-modal-header {
	text-align: center;
	margin-bottom: 25px;
	padding-bottom: 15px;
	border-bottom: 2px solid rgba(139, 115, 85, 0.3);
}

.about-modal-header i {
	font-size: 2.5rem;
	color: #8b7355;
	margin-bottom: 10px;
}

.about-modal-header h2 {
	color: #1a1a1a;
	font-size: 1.8rem;
	font-weight: 700;
	letter-spacing: 0.5px;
}

.about-modal-body {
	color: #4a4a4a;
}

.about-text {
	line-height: 1.7;
}

.about-text p {
	margin-bottom: 20px;
	text-align: justify;
}

.highlight {
	color: #8b7355;
	font-weight: 600;
	font-size: 1.1rem;
	background: rgba(139, 115, 85, 0.1);
	padding: 2px 8px;
	border-radius: 4px;
}

.feature-section {
	background: rgba(255, 255, 255, 0.5);
	border-radius: 12px;
	padding: 20px;
	margin-bottom: 20px;
	border-left: 4px solid #8b7355;
	transition: transform 0.3s ease;
}

.feature-section:hover {
	transform: translateX(5px);
	background: rgba(255, 255, 255, 0.7);
}

.feature-section h3 {
	color: #1a1a1a;
	font-size: 1.2rem;
	margin-bottom: 10px;
	display: flex;
	align-items: center;
	gap: 10px;
}

.feature-section h3 i {
	color: #8b7355;
	font-size: 1rem;
}

.platform-info {
	background: linear-gradient(
		135deg,
		rgba(139, 115, 85, 0.1) 0%,
		rgba(168, 145, 118, 0.1) 100%
	);
	border-radius: 12px;
	padding: 20px;
	margin-bottom: 20px;
	text-align: center;
}

.platform-info h3 {
	color: #1a1a1a;
	font-size: 1.2rem;
	margin-bottom: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
}

.platform-info h3 i {
	color: #8b7355;
	font-size: 1.2rem;
}

.final-message {
	text-align: center;
	padding: 20px;
	background: rgba(139, 115, 85, 0.1);
	border-radius: 12px;
	margin-top: 25px;
	border: 1px solid rgba(139, 115, 85, 0.2);
}

.final-message p {
	font-size: 1.1rem;
	color: #1a1a1a;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin-bottom: 0;
}

.final-message i {
	color: #8b7355;
}

.about-text strong {
	color: #8b7355;
	font-weight: 600;
}

.legal-text {
	line-height: 1.6;
	font-size: 0.95rem;
	color: #333;
}

.legal-text h3 {
	color: #1a1a1a;
	margin: 25px 0 15px 0;
	font-size: 1.3rem;
	border-bottom: 1px solid #e0e0e0;
	padding-bottom: 8px;
}

.legal-text h4 {
	color: #8b7355;
	margin: 20px 0 10px 0;
	font-size: 1.1rem;
	font-weight: 600;
}

.legal-text p {
	margin-bottom: 15px;
	text-align: left;
}

.legal-text ul {
	margin: 15px 0 15px 20px;
	padding-left: 0;
}

.legal-text li {
	margin-bottom: 8px;
	position: relative;
	padding-left: 15px;
}

.legal-text .contact-info {
	background: rgba(139, 115, 85, 0.05);
	border-radius: 10px;
	padding: 20px;
	margin-top: 30px;
	border-left: 3px solid #8b7355;
}

.legal-text .contact-info h4 {
	color: #1a1a1a;
	margin-top: 0;
}

.install-methods {
	display: flex;
	flex-direction: column;
	gap: 15px;
	margin: 20px 0;
}

.install-method-btn {
	background: white;
	border: 2px solid #8b7355;
	border-radius: 12px;
	padding: 20px;
	font-family: 'Comfortaa', cursive;
	font-size: 1.1rem;
	font-weight: 600;
	color: #1a1a1a;
	cursor: pointer;
	transition: all 0.3s ease;
	text-align: center;
	display: block;
	width: 100%;
}

.install-method-btn:hover {
	background: #8b7355;
	color: white;
	transform: translateY(-2px);
	box-shadow: 0 5px 15px rgba(139, 115, 85, 0.3);
}

.install-method-btn.active {
	background: #8b7355;
	color: white;
}

.guide-content {
	line-height: 1.7;
	color: #333;
	max-width: 100%;
	overflow-x: hidden;
}

.guide-content h3 {
	color: #1a1a1a;
	margin: 25px 0 15px 0;
	font-size: 1.3rem;
}

.guide-content p {
	margin-bottom: 15px;
	text-align: left;
	max-width: 100%;
	word-wrap: break-word;
}

.guide-content ol {
	margin: 15px 0 15px 20px;
	padding-left: 0;
	max-width: 100%;
}

.guide-content li {
	margin-bottom: 20px;
	position: relative;
	padding-left: 15px;
	text-align: left;
	max-width: 100%;
	word-wrap: break-word;
}

.guide-content strong {
	color: #8b7355;
	font-weight: 600;
}

.guide-image {
	width: 100%;
	max-width: 300px;
	border-radius: 10px;
	margin: 15px auto;
	display: block;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.guide-link {
	color: #8b7355;
	text-decoration: none;
	font-weight: 600;
	display: inline-block;
	margin: 5px 0;
	max-width: 100%;
	word-wrap: break-word;
}

.guide-link:hover {
	text-decoration: underline;
}

.guide-content img {
	display: block;
	margin: 15px auto;
	max-width: 90%;
	height: auto;
	border-radius: 10px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.contact-info-modal .contact-details {
	margin: 20px 0;
	padding: 20px;
	background: rgba(139, 115, 85, 0.05);
	border-radius: 12px;
	border-left: 4px solid #8b7355;
}

.contact-details p {
	margin-bottom: 15px;
	font-size: 1.1rem;
	line-height: 1.6;
}

.contact-details strong {
	color: #8b7355;
	font-weight: 600;
	display: inline-block;
	min-width: 120px;
}

.contact-email {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: 20px;
	padding: 15px;
	background: rgba(139, 115, 85, 0.1);
	border-radius: 10px;
}

.contact-email i {
	color: #8b7355;
	font-size: 1.2rem;
}

/* ========================================== */
/* FAQ АККОРДЕОН */
/* ========================================== */

.faq-item {
	border-bottom: 1px solid rgba(139, 115, 85, 0.2);
	padding: 15px 0;
	transition: all 0.3s ease;
}

.faq-question {
	display: flex;
	justify-content: space-between;
	align-items: center;
	cursor: pointer;
	padding: 15px;
	border-radius: 8px;
	transition: all 0.3s ease;
	background-color: rgba(139, 115, 85, 0.05);
}

.faq-question:hover {
	background-color: rgba(139, 115, 85, 0.1);
	transform: translateX(5px);
}

.faq-question h3 {
	color: #1a1a1a;
	font-size: 1.1rem;
	font-weight: 600;
	margin: 0;
	flex: 1;
	text-align: left;
	padding-right: 15px;
}

.faq-toggle {
	background: none;
	border: none;
	color: #8b7355;
	font-size: 1.2rem;
	cursor: pointer;
	transition: transform 0.5s ease;
	padding: 5px;
	min-width: 30px;
	height: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.faq-toggle:hover {
	color: #a89176;
}

.faq-answer {
	max-height: 0;
	overflow: hidden;
	padding: 0 15px;
	opacity: 0;
	transform: translateY(-10px);
	transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s ease,
		opacity 0.2s ease, transform 0.2s ease;
}

.faq-answer.active {
	max-height: 3000px;
	padding: 20px 15px;
	opacity: 1;
	transform: translateY(0);
}

.faq-answer p {
	margin-bottom: 10px;
	color: #4a4a4a;
	line-height: 1.6;
}

.faq-answer img {
	max-width: 100%;
	height: auto;
	border-radius: 8px;
	margin: 15px 0;
	box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.faq-answer strong {
	color: #8b7355;
	font-weight: 600;
}

.faq-answer a {
	color: #8b7355;
	text-decoration: none;
	font-weight: 600;
}

.faq-answer a:hover {
	text-decoration: underline;
}

.faq-answer ul {
	margin: 10px 0 15px 20px;
	padding-left: 0;
}

.faq-answer li {
	margin-bottom: 8px;
	color: #4a4a4a;
	line-height: 1.5;
	position: relative;
	padding-left: 15px;
}

.faq-answer li:before {
	content: '•';
	color: #8b7355;
	font-weight: bold;
	position: absolute;
	left: 0;
}

/* ========================================== */
/* МОДАЛЬНОЕ ОКНО ТАЙМЕРА */
/* ========================================== */

.timer-modal {
	max-width: 500px;
	background: white;
	border-radius: 16px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.timer-inputs {
	display: flex;
	gap: 20px;
	justify-content: center;
	margin: 30px 0;
	padding: 20px;
	background: #f9f7f3;
	border-radius: 12px;
}

.timer-input-group {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
}

.timer-input-group label {
	font-weight: 600;
	color: #555;
	font-size: 0.9rem;
}

.timer-input-group input {
	width: 80px;
	padding: 12px;
	border: 2px solid #e0d6c8;
	border-radius: 8px;
	font-size: 1.2rem;
	font-weight: 600;
	text-align: center;
	color: #1a1a1a;
	transition: all 0.3s ease;
}

.timer-input-group input:focus {
	border-color: #8b7355;
	box-shadow: 0 0 0 3px rgba(139, 115, 85, 0.2);
	outline: none;
}

.timer-actions {
	display: flex;
	gap: 12px;
	justify-content: center;
	margin: 25px 0;
	flex-wrap: wrap;
}

.timer-actions .btn {
	padding: 12px 24px;
	font-size: 0.95rem;
	border-radius: 10px;
	min-width: 160px;
}

.btn-secondary {
	background: linear-gradient(135deg, #6c757d 0%, #5a6268 100%);
	color: white;
	border: none;
}

.btn-secondary:hover {
	background: linear-gradient(135deg, #5a6268 0%, #495057 100%);
	transform: translateY(-2px);
}

.btn-cancel {
	background: #f8f9fa;
	color: #6c757d;
	border: 2px solid #dee2e6;
}

.btn-cancel:hover {
	background: #e9ecef;
	border-color: #ced4da;
}

.timer-info {
	margin-top: 25px;
	padding: 15px;
	background: #f1f8ff;
	border-radius: 10px;
	border-left: 4px solid #4dabf7;
}

.timer-info p {
	margin: 0;
	color: #555;
	font-size: 0.9rem;
	line-height: 1.5;
}

.timer-info i {
	color: #4dabf7;
	margin-right: 8px;
}

/* ========================================== */
/* СПЕЦИАЛЬНЫЕ СТИЛИ */
/* ========================================== */

.admin-link {
	color: #8b7355 !important;
	font-weight: 600 !important;
}

.admin-link i {
	color: #ffd700 !important;
	margin-right: 5px;
}

.admin-link:hover {
	color: #a89176 !important;
}

.admin-link:hover i {
	color: #ffed4e !important;
}

@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.product-details,
.order-card {
	animation: fadeIn 0.5s ease;
}

/* ========================================== */
/* МЕДИА-ЗАПРОСЫ */
/* ========================================== */

/* Планшеты (768px - 992px) */
@media (max-width: 992px) {
	.new-arrival {
		min-height: 500px;
		padding-top: 15%;
	}

	.new-product {
		padding: 25px;
		min-height: 450px;
	}

	.new-product-visual {
		flex-direction: column;
		gap: 30px;
	}

	.new-product-carousel {
		max-width: 350px;
		width: 100%;
	}

	.new-product-details {
		max-width: 350px;
		width: 100%;
		text-align: center;
		padding-left: 0;
	}

	.new-product-stats {
		flex-direction: row;
		flex-wrap: wrap;
		justify-content: center;
		gap: 10px;
	}

	.stat {
		flex: 1;
		min-width: 200px;
		max-width: 250px;
	}

	.catalog-container {
		width: 90% !important;
	}

	.products-container {
		grid-template-columns: repeat(3, 1fr) !important;
		gap: 20px;
	}

	.section-title {
		font-size: 2.2rem;
	}

	.section-subtitle {
		font-size: 1.1rem;
	}

	.daily-offer-main {
		grid-template-columns: 1fr;
		gap: 50px;
	}

	.daily-offer-carousel {
		width: 100%;
		max-width: 600px;
		margin: 0 auto;
	}

	.daily-offer-details {
		min-width: auto;
		max-width: 600px;
		margin: 0 auto;
		text-align: center;
	}

	.daily-offer-watch-name {
		text-align: center;
	}

	.daily-offer-price {
		justify-content: center;
	}

	.daily-offer-stats .stat {
		justify-content: center;
	}
}

/* Большие телефоны (576px - 768px) */
@media (max-width: 768px) {
	body {
		padding-top: 70px;
	}

	.header {
		height: 70px;
		display: flex; /* Добавь здесь тоже */
		align-items: center; /* Добавь здесь тоже */
	}
	.logo {
		font-size: 1.2rem;
	}

	.logo i {
		font-size: 1.3rem;
	}

	/* ПЛАНШЕТЫ И МОБИЛЬНЫЕ: ПОКАЗЫВАЕМ БУРГЕР, СКРЫВАЕМ ОБЫЧНОЕ МЕНЮ */
	.nav {
		gap: 10px;
	}

	/* Скрываем все ссылки в навигации кроме логотипа и бургера */
	.nav .nav-link:not(.logo):not(.user-menu-btn) {
		display: none;
	}

	/* Настраиваем контейнер для логотипа, бургера и иконки пользователя */
	.header .container {
		display: flex;
		justify-content: space-between;
		align-items: center;
	}

	.logo {
		order: 1;
		margin-right: auto;
	}

	.user-menu-container {
		order: 2;
		margin-left: 10px;
	}

	.burger-menu-btn {
		order: 3;
		margin-left: 10px;
		display: flex;
		align-items: center;
		justify-content: center;
	}

	.new-arrival {
		min-height: auto;
		height: auto;
		padding-top: 25%;
		padding-bottom: 40px;
		display: block;
	}

	.new-product {
		min-height: auto;
		height: auto;
		margin: 0 auto;
		padding: 30px 20px;
	}

	.new-product-content {
		height: auto;
	}

	.new-product-visual {
		flex-direction: column;
		height: auto;
		min-height: 400px;
		gap: 30px;
		margin-bottom: 20px;
	}

	.new-product-title {
		font-size: 1.5rem;
	}

	.new-product-description {
		font-size: 0.85rem;
	}

	.carousel-container {
		max-width: 300px;
		margin: 0 auto;
	}

	.carousel-image i {
		font-size: 3rem;
	}

	.price {
		font-size: 1.6rem;
	}

	.price-old {
		font-size: 1.2rem;
	}

	.btn-primary {
		padding: 14px 20px;
		font-size: 0.9rem;
	}

	.stat {
		font-size: 0.8rem;
		padding: 8px 10px;
	}

	.catalog-container {
		width: 95% !important;
	}

	/* ИЗМЕНЕНИЕ: вместо 1fr - 2 колонки */
	.products-container {
		grid-template-columns: repeat(2, 1fr) !important;
		gap: 15px;
	}

	.section-title {
		font-size: 2rem;
	}

	.section-subtitle {
		font-size: 1rem;
		margin-bottom: 40px;
	}

	.product-info {
		padding: 15px;
	}

	.product-title {
		font-size: 1rem;
	}

	.product-price {
		font-size: 1.05rem;
	}

	.product-carousel-btn {
		width: 28px;
		height: 28px;
		font-size: 0.8rem;
	}

	.product-carousel-nav {
		padding: 0 10px;
	}

	.about-modal-content {
		width: 95%;
		padding: 20px;
		max-height: 85vh;
	}

	.about-modal-header h2 {
		font-size: 1.5rem;
	}

	.feature-section,
	.platform-info {
		padding: 15px;
	}

	.feature-section h3,
	.platform-info h3 {
		font-size: 1.1rem;
	}

	.final-message p {
		font-size: 1rem;
		flex-direction: column;
		gap: 5px;
	}

	.legal-text {
		font-size: 0.9rem;
	}

	.legal-text h3 {
		font-size: 1.2rem;
	}

	.legal-text h4 {
		font-size: 1rem;
	}

	.install-method-btn {
		padding: 15px;
		font-size: 1rem;
	}

	.guide-image {
		max-width: 100%;
	}

	.daily-offer {
		padding: 30px 20px;
	}

	.daily-offer-header {
		flex-direction: column;
		gap: 15px;
		align-items: stretch;
	}

	.offer-badge,
	.offer-timer {
		width: 100%;
		justify-content: center;
		text-align: center;
	}

	.daily-offer-main {
		gap: 40px;
	}

	.daily-offer-watch-name {
		font-size: 2rem;
	}

	.daily-offer-price .price {
		font-size: 2.5rem;
	}

	.daily-offer-price .price-old {
		font-size: 1.7rem;
	}

	#dailyOfferBuyButton {
		padding: 18px 25px;
		font-size: 1.1rem;
	}

	.daily-offer-stats .stat {
		padding: 14px 18px;
	}

	.daily-offer-stats .stat span {
		font-size: 1rem;
	}

	.email-desktop {
		display: none;
	}

	.email-mobile {
		display: inline-flex;
	}

	.footer-logo {
		width: 100px;
	}

	.logo-section {
		align-items: center;
		text-align: center;
	}

	.guide-content ol {
		margin-left: 10px;
	}

	.guide-content li {
		padding-left: 10px;
	}
}

/* Малые телефоны (до 576px) */
@media (max-width: 576px) {
	body {
		padding-top: 60px;
	}

	.header {
		height: 60px;
		display: flex; /* Добавь здесь тоже */
		align-items: center; /* Добавь здесь тоже */
	}

	.header .container {
		padding: 10px 15px;
	}

	.logo {
		font-size: 1rem;
	}

	.logo i {
		font-size: 1.1rem;
		margin-right: 5px;
	}

	.nav {
		gap: 10px;
	}

	.nav-link {
		font-size: 0.8rem;
	}

	.new-arrival {
		padding-top: 30%;
		padding-bottom: 30px;
	}

	.new-product {
		padding: 25px 15px;
	}

	.new-product-visual {
		min-height: 350px;
	}

	.new-product-content {
		gap: 15px;
	}

	.new-badge {
		font-size: 0.7rem;
		padding: 5px 15px;
		margin-bottom: 10px;
	}

	.new-product-title {
		font-size: 1.3rem;
		margin-bottom: 8px;
	}

	.new-product-description {
		font-size: 0.8rem;
		margin-bottom: 15px;
		display: block;
	}

	.carousel-container {
		max-width: 280px;
	}

	.carousel-image i {
		font-size: 2.5rem;
	}

	.carousel-btn {
		width: 30px;
		height: 30px;
		font-size: 0.8rem;
	}

	.carousel-dot {
		width: 8px;
		height: 8px;
	}

	.new-product-details {
		max-width: 280px;
	}

	.price {
		font-size: 1.4rem;
	}

	.price-old {
		font-size: 1.1rem;
	}

	.btn-primary {
		padding: 12px 18px;
		font-size: 0.85rem;
	}

	.new-product-stats {
		flex-direction: column;
		gap: 8px;
	}

	.stat {
		min-width: 100%;
		font-size: 0.75rem;
		padding: 6px 8px;
	}

	.catalog {
		padding: 30px 0 60px;
	}

	.catalog-container {
		width: 100% !important;
		padding: 0 10px; /* Уменьшаем отступы */
	}

	/* ИЗМЕНЕНИЕ: 2 колонки вместо 1 */
	.products-container {
		grid-template-columns: repeat(2, 1fr) !important;
		gap: 12px;
		max-width: none; /* Убираем ограничение максимальной ширины */
		margin-left: auto;
		margin-right: auto;
	}

	.section-title {
		font-size: 1.8rem;
		margin-bottom: 10px;
	}

	.section-subtitle {
		font-size: 0.95rem;
		margin-bottom: 30px;
	}

	/* Оптимизируем размер карточек для 2 колонок */
	.product-card {
		border-radius: 10px;
		box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
	}

	.product-info {
		padding: 12px;
	}

	.product-title {
		font-size: 0.9rem;
		height: 2.6em; /* Уменьшаем высоту */
	}

	.product-price-container {
		margin: 8px 0;
	}

	.product-price {
		font-size: 1rem;
	}

	.product-price-old {
		font-size: 0.85rem;
	}

	.btn-buy {
		padding: 10px;
		font-size: 0.85rem;
	}

	.footer {
		padding: 40px 0 20px;
		margin-top: 60px;
	}

	.footer-content {
		grid-template-columns: 1fr;
		gap: 30px;
	}

	.footer-section {
		text-align: center;
	}

	.social-links {
		justify-content: center;
	}

	.about-modal-content {
		width: 98%;
		padding: 15px;
		max-height: 85vh;
	}

	.about-modal-header h2 {
		font-size: 1.5rem;
	}

	.feature-section,
	.platform-info {
		padding: 15px;
	}

	.feature-section h3,
	.platform-info h3 {
		font-size: 1.1rem;
	}

	.daily-offer-watch-name {
		font-size: 1.8rem;
	}

	.daily-offer-price .price {
		font-size: 2.2rem;
	}

	.daily-offer-price .price-old {
		font-size: 1.5rem;
	}

	#dailyOfferBuyButton {
		padding: 16px 20px;
		font-size: 1rem;
	}

	.daily-offer-stats .stat {
		padding: 12px 16px;
	}
}

/* Большие телефоны с широким экраном (минимум 550px ширины) - 3 КОЛОНКИ */
@media (max-width: 768px) and (min-width: 550px) {
	.products-container {
		grid-template-columns: repeat(3, 1fr) !important;
		gap: 12px;
	}

	/* Немного уменьшаем размеры для 3 колонок */
	.product-title {
		font-size: 0.85rem;
		height: 2.8em;
	}

	.product-price {
		font-size: 0.95rem;
	}

	.btn-buy {
		font-size: 0.8rem;
		padding: 8px 10px;
	}
}

/* Очень маленькие телефоны (до 400px) */
@media (max-width: 400px) {
	.new-arrival {
		min-height: 550px;
	}

	.new-product {
		min-height: 500px;
	}

	.carousel-container {
		max-width: 250px;
	}

	.new-product-details {
		max-width: 250px;
	}

	.new-product-stats {
		display: none;
	}

	/* ИЗМЕНЕНИЕ: Проверяем, нужно ли переходить на 1 колонку */
	.products-container {
		grid-template-columns: repeat(2, 1fr) !important;
		gap: 10px;
	}

	/* Оптимизация карточек для очень маленьких экранов */
	.product-card {
		border-radius: 8px;
	}

	.product-info {
		padding: 10px;
	}

	.product-title {
		font-size: 0.85rem;
		height: 2.4em;
	}

	.product-price {
		font-size: 0.9rem;
	}

	.product-price-old {
		font-size: 0.75rem;
	}

	.product-discount {
		font-size: 0.7rem;
		padding: 1px 5px;
	}

	.btn-buy {
		padding: 8px;
		font-size: 0.8rem;
	}

	.daily-offer-background {
		margin: 0 10px 20px 10px;
		border-radius: 12px;
	}

	.daily-offer {
		padding: 20px 0 30px;
		border-radius: 12px;
	}

	/* Если карточки становятся слишком узкими (меньше 140px), переключаемся на 1 колонку */
	@media (max-width: 320px) {
		.products-container {
			grid-template-columns: 1fr !important;
			max-width: 280px; /* Ограничиваем максимальную ширину для одной колонки */
			margin-left: auto;
			margin-right: auto;
		}
	}
}

/* Уменьшение расстояния между названием и ценой */
.daily-offer-watch-name {
	margin-bottom: 10px !important;
}

/* ========================================== */
/* БУРГЕР-МЕНЮ ДЛЯ МОБИЛЬНЫХ (ОБНОВЛЕННОЕ) */
/* ========================================== */

.burger-menu-btn {
	display: none;
	background: none;
	border: none;
	cursor: pointer;
	font-size: 1.5rem;
	color: #4a4a4a;
	padding: 8px;
	transition: all 0.3s ease;
	z-index: 1002;
	order: 3;
}

.burger-menu-btn:hover {
	color: #8b7355;
}

/* Бургер-меню как выпадающее (сверху справа) */
.burger-dropdown {
	position: fixed;
	top: 70px; /* Высота хедера */
	right: 20px;
	background: white;
	border-radius: 12px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
	padding: 20px;
	min-width: 280px;
	max-width: 90vw;
	z-index: 1001;
	display: none;
	animation: slideDown 0.3s ease;
	border: 1px solid #f0f0f0;
	transform-origin: top right;
	display: none;
}

.burger-dropdown.show {
	display: block;
}

@keyframes slideDown {
	from {
		opacity: 0;
		transform: translateY(-10px) scale(0.95);
	}
	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

.burger-dropdown::before {
	content: '';
	position: absolute;
	top: -8px;
	right: 25px;
	width: 16px;
	height: 16px;
	background: white;
	transform: rotate(45deg);
	border-top: 1px solid #f0f0f0;
	border-left: 1px solid #f0f0f0;
}

.burger-links {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-bottom: 20px;
}

.burger-link {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 16px;
	background: #f9f7f3;
	border-radius: 10px;
	color: #1a1a1a;
	text-decoration: none;
	font-weight: 600;
	font-size: 1rem;
	transition: all 0.3s ease;
	border: 1px solid transparent;
}

.burger-link:hover {
	background: #8b7355;
	color: white;
	transform: translateX(5px);
}

.burger-link i {
	font-size: 1.1rem;
	width: 20px;
	text-align: center;
}

.burger-link:hover i {
	color: white;
}

.burger-user-info {
	padding: 15px;
	background: rgba(139, 115, 85, 0.05);
	border-radius: 10px;
	margin-top: 10px;
	border: 1px solid rgba(139, 115, 85, 0.1);
	text-align: center;
}

#burgerUserEmailDisplay {
	color: #4a4a4a;
	font-size: 0.9rem;
	margin-bottom: 10px;
	word-break: break-all;
}

#burgerLogoutBtn {
	width: 100%;
	padding: 10px;
	background: #f5f5f5;
	border: none;
	border-radius: 8px;
	font-family: 'Comfortaa', cursive;
	font-size: 0.9rem;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.3s ease;
}

#burgerLogoutBtn:hover {
	background: #e8e8e8;
}

/* Скрываем форму авторизации в бургер-меню */
#burgerAuthForm {
	display: none;
}

/* ========================================== */
/* АДАПТАЦИЯ НАВИГАЦИИ ДЛЯ МОБИЛЬНЫХ */
/* ========================================== */

@media (max-width: 1100px) {
	.nav {
		display: none;
	}

	.burger-menu-btn {
		display: block;
		order: 3;
	}

	.header .container {
		justify-content: space-between;
	}
}

@media (max-width: 768px) {
	.burger-dropdown {
		top: 65px;
		right: 15px;
		min-width: 260px;
	}

	.burger-link {
		padding: 10px 14px;
		font-size: 0.95rem;
	}
}

@media (max-width: 576px) {
	.burger-dropdown {
		top: 60px;
		right: 10px;
		min-width: 240px;
	}

	.burger-link {
		padding: 8px 12px;
		font-size: 0.9rem;
	}
}

/* Малые телефоны (до 576px) */
@media (max-width: 576px) {
	.hero-background {
		padding: 5px 0; /* Минимальный отступ */
		overflow: visible; /* Добавлено */
	}

	.daily-offer-background {
		width: calc(100% - 20px); /* Уменьшены отступы */
		margin: 15px auto;
	}

	.daily-offer {
		padding: 20px 15px;
	}

	.daily-offer-carousel {
		max-width: 100%; /* Занимает всю ширину */
	}

	.daily-offer-carousel .carousel-container {
		max-height: 350px; /* Ограничение высоты карусели */
	}

	.daily-offer-details {
		padding: 0 5px; /* Уменьшены отступы */
	}

	.daily-offer-watch-name {
		font-size: 1.8rem;
		text-align: center; /* Центрирование на мобильных */
	}

	.daily-offer-price {
		flex-wrap: wrap; /* Перенос цен на маленьких экранах */
		justify-content: center;
	}

	.daily-offer-stats {
		margin-top: 15px;
	}

	.daily-offer-stats .stat {
		padding: 10px 12px; /* Уменьшены отступы */
	}

	#dailyOfferBuyButton {
		padding: 14px 20px;
		font-size: 1rem;
	}
}

/* Очень маленькие телефоны (до 400px) */
@media (max-width: 400px) {
	.daily-offer-background {
		width: calc(100% - 10px); /* Еще меньше отступы */
		margin: 10px auto 20px;
		border-radius: 12px;
	}

	.daily-offer {
		padding: 15px 10px;
		border-radius: 12px;
	}

	.daily-offer-carousel .carousel-container {
		max-height: 300px; /* Еще меньше высота карусели */
	}

	.daily-offer-watch-name {
		font-size: 1.6rem;
	}

	.daily-offer-price .price {
		font-size: 1.8rem;
	}

	.daily-offer-price .price-old {
		font-size: 1.3rem;
	}

	.daily-offer-stats .stat {
		padding: 8px 10px;
		font-size: 0.9rem;
	}

	.daily-offer-stats .stat i {
		font-size: 1rem;
	}

	.daily-offer-stats .stat span {
		font-size: 0.9rem;
	}
}

/* Дополнительный медиа-запрос для очень маленьких экранов в высоту */
@media (max-height: 700px) and (max-width: 768px) {
	.hero-background {
		min-height: auto;
		height: auto;
	}

	.daily-offer {
		padding: 15px;
	}

	.daily-offer-carousel .carousel-container {
		max-height: 250px;
	}

	.daily-offer-stats {
		display: none; /* Можно скрыть статистику на очень маленьких экранах */
	}

	.daily-offer-header {
		margin-bottom: 15px;
	}
}

@media (max-width: 1100px) {
	.nav {
		display: flex;
		align-items: center;
		gap: 15px;
	}

	.nav > a:not(.user-menu-container) {
		display: none;
	}

	.burger-menu-btn {
		display: flex;
		align-items: center;
		justify-content: center;
		order: 3; /* Измените с 2 на 3 */
		margin-right: 0;
	}

	.user-menu-container {
		display: flex !important;
		align-items: center;
		margin-left: 0;
		order: 2; /* Измените с 3 на 2 */
	}

	.header .container {
		display: flex;
		justify-content: space-between;
		align-items: center;
		gap: 10px;
	}

	.logo {
		margin-right: auto;
	}
}
