/* purchase.css - полная версия */

/* Стили для фиксированного хедера на странице покупки */

body {
	padding-top: 70px;
	background: linear-gradient(135deg, #f9f5f0 0%, #f0e6d6 100%);
	min-height: 100vh;
}

/* Контейнер страницы покупки */
.purchase-container {
	padding: 40px 0 80px;
	min-height: calc(100vh - 70px - 200px);
}

/* Хлебные крошки */
.breadcrumbs {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 30px;
	font-size: 0.9rem;
	color: #666;
}

.breadcrumbs a {
	color: #8b7355;
	text-decoration: none;
	transition: color 0.3s ease;
}

.breadcrumbs a:hover {
	color: #a89176;
	text-decoration: underline;
}

.breadcrumbs i {
	font-size: 0.7rem;
	color: #999;
}

.breadcrumbs span {
	color: #1a1a1a;
	font-weight: 500;
}

/* Основной контент */
.purchase-content {
	display: grid;
	grid-template-columns: 1fr 400px;
	gap: 40px;
}

/* Левая часть: информация о товаре */
.product-details {
	background: white;
	border-radius: 20px;
	padding: 30px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.product-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 30px;
	padding-bottom: 20px;
	border-bottom: 1px solid #f0f0f0;
}

.product-title {
	font-size: 2.2rem;
	font-weight: 700;
	color: #1a1a1a;
	display: flex;
	align-items: center;
	gap: 15px;
}

.product-title i {
	color: #8b7355;
	font-size: 2rem;
}

.product-badge {
	background: linear-gradient(135deg, #ff6b6b 0%, #ff5252 100%);
	color: white;
	padding: 8px 20px;
	border-radius: 20px;
	font-size: 0.9rem;
	font-weight: 600;
	letter-spacing: 0.5px;
	text-transform: uppercase;
}

/* Daily бейдж и скидка */
.daily-badge {
	background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%) !important;
	color: white !important;
	padding: 10px 20px !important;
	border-radius: 20px !important;
	font-weight: 700 !important;
	font-size: 1rem !important;
	letter-spacing: 0.5px !important;
	box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3) !important;
	text-transform: uppercase !important;
	margin-left: 15px !important;
	display: inline-block !important;
}

.discount-badge {
	background: #ff6b6b !important;
	color: white !important;
	padding: 5px 12px !important;
	border-radius: 8px !important;
	font-size: 0.9rem !important;
	font-weight: 700 !important;
	margin-left: 10px !important;
	display: inline-block !important;
}

.current-price.daily-price {
	color: #ff6b6b !important;
	font-size: 2.5rem !important;
	font-weight: 800 !important;
	display: inline-block;
}

#oldPrice {
	text-decoration: line-through !important;
	color: #999 !important;
	font-size: 1.1rem !important;
	margin-left: 15px !important;
	font-weight: 600 !important;
	opacity: 0.7 !important;
	display: inline-block !important;
}

/* Карусель товара - квадратная как в новинках */
.product-carousel-large {
	margin-bottom: 40px;
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.carousel-container-large {
	width: 100%;
	max-width: 320px;
	aspect-ratio: 1 / 1;
	position: relative;
	overflow: hidden;
	border-radius: 16px;
	background: linear-gradient(135deg, #f5f0e8 0%, #e8dfd0 100%);
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
	margin: 0 auto;
}

.carousel-slide-large {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	transition: opacity 0.4s ease;
}

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

.carousel-slide-large img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* Кнопки навигации карусели - ВНЕ точек (как на главной) */
.carousel-controls-large {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	max-width: 320px;
	margin-top: 15px;
	gap: 20px;
}

/* Кнопки переключения */
.carousel-nav-btn-outer {
	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);
	z-index: 2;
	flex-shrink: 0;
	order: 1;
}

.carousel-nav-btn-outer.next-btn {
	order: 3;
}

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

/* Контейнер для точек - по центру между кнопками */
.carousel-dots-container {
	display: flex;
	gap: 10px;
	justify-content: center;
	align-items: center;
	order: 2;
	flex: 0 0 auto;
}

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

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

.carousel-dot-large:hover:not(.active) {
	background: #b3b3b3;
}

/* Секция описания */
.product-description-section {
	background: #f9f9f9;
	border-radius: 16px;
	padding: 25px;
	border: 1px solid #eee;
}

.product-description-section h2 {
	font-size: 1.5rem;
	font-weight: 600;
	color: #1a1a1a;
	margin-bottom: 20px;
	display: flex;
	align-items: center;
	gap: 10px;
}

.product-description-section h2 i {
	color: #8b7355;
}

.description-content {
	line-height: 1.7;
	color: #333;
}

.description-content p {
	margin-bottom: 15px;
}

.description-content ul,
.description-content ol {
	margin: 15px 0;
	padding-left: 20px;
}

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

.description-content strong {
	color: #1a1a1a;
	font-weight: 600;
}

/* Загрузка описания */
.loading-description {
	text-align: center;
	padding: 40px 20px;
}

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

/* Правая часть: оформление заказа */
.order-section {
	position: sticky;
	top: 100px;
	height: fit-content;
}

.order-card {
	background: white;
	border-radius: 20px;
	padding: 30px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
	border: 1px solid #f0f0f0;
}

.order-card h2 {
	font-size: 1.5rem;
	font-weight: 600;
	color: #1a1a1a;
	margin-bottom: 25px;
	display: flex;
	align-items: center;
	gap: 10px;
}

.order-card h2 i {
	color: #8b7355;
}

/* Сводка заказа */
.order-summary {
	margin-bottom: 25px;
	padding-bottom: 20px;
	border-bottom: 1px solid #f0f0f0;
}

.order-item {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

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

.order-item-title span:first-child {
	font-weight: 600;
	color: #1a1a1a;
	font-size: 1.1rem;
}

.order-quantity {
	background: #f5f5f5;
	padding: 4px 12px;
	border-radius: 12px;
	font-size: 0.85rem;
	color: #666;
}

.order-item-price {
	display: flex;
	align-items: center;
	gap: 15px;
	margin-top: 5px;
}

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

/* Форма email */
.email-form {
	margin: 25px 0;
}

.email-form h3 {
	font-size: 1.1rem;
	font-weight: 600;
	color: #1a1a1a;
	margin-bottom: 12px;
	display: flex;
	align-items: center;
	gap: 8px;
}

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

.email-input {
	width: 100%;
	padding: 14px 15px;
	border: 1px solid #e0e0e0;
	border-radius: 10px;
	font-family: 'Comfortaa', cursive;
	font-size: 0.95rem;
	transition: all 0.3s ease;
	margin-bottom: 15px;
}

.email-input:focus {
	outline: none;
	border-color: #8b7355;
	box-shadow: 0 0 0 2px rgba(139, 115, 85, 0.1);
}

.email-input::placeholder {
	color: #999;
}

.email-notice {
	font-size: 0.85rem;
	color: #666;
	line-height: 1.5;
	margin-bottom: 15px;
	padding-left: 20px;
	position: relative;
}

.email-notice i {
	color: #8b7355;
	position: absolute;
	left: 0;
	top: 2px;
}

.auth-suggestion {
	background: rgba(139, 115, 85, 0.05);
	border: 1px solid rgba(139, 115, 85, 0.1);
	border-radius: 10px;
	padding: 15px;
	margin: 15px 0 25px 0;
	display: none;
	align-items: flex-start;
	gap: 10px;
}

.auth-suggestion.show {
	display: flex;
}

.auth-suggestion i {
	color: #8b7355;
	font-size: 1.2rem;
	margin-top: 2px;
}

.auth-suggestion p {
	font-size: 0.85rem;
	color: #666;
	line-height: 1.5;
	margin: 0;
}

.auth-link {
	color: #8b7355;
	text-decoration: none;
	font-weight: 600;
	cursor: pointer;
	transition: color 0.3s ease;
	padding: 0 2px;
	border-radius: 3px;
}

.auth-link:hover {
	color: #a89176;
	text-decoration: underline;
	background: rgba(139, 115, 85, 0.05);
}

/* Уведомление об оплате */
.payment-notice {
	background: #f9f9f9;
	padding: 15px;
	border-radius: 10px;
	border: 1px solid #eee;
	margin-bottom: 25px;
	font-size: 0.85rem;
	color: #666;
	line-height: 1.5;
}

.payment-notice p {
	margin: 0;
	word-wrap: break-word;
	overflow-wrap: break-word;
	hyphens: auto;
}

.payment-notice i {
	color: #8b7355;
	margin-right: 8px;
	float: left;
	margin-top: 2px;
}

.terms-link {
	color: #8b7355;
	text-decoration: none;
	font-weight: 500;
	white-space: nowrap;
}

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

/* Кнопка оплаты */
.btn-pay {
	width: 100%;
	padding: 18px;
	background: linear-gradient(135deg, #8b7355 0%, #a89176 100%);
	color: white;
	border: none;
	border-radius: 12px;
	font-size: 1.1rem;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin-bottom: 20px;
}

.btn-pay:hover:not(:disabled) {
	transform: translateY(-2px);
	box-shadow: 0 10px 25px rgba(139, 115, 85, 0.3);
}

.btn-pay:active:not(:disabled) {
	transform: translateY(0);
}

.btn-pay:disabled {
	opacity: 0.6;
	cursor: not-allowed;
	background: #cccccc;
}

/* Информация о доставке */
.delivery-info {
	background: #f9f9f9;
	padding: 20px;
	border-radius: 12px;
	border: 1px solid #eee;
}

.delivery-info h3 {
	font-size: 1.2rem;
	font-weight: 600;
	color: #1a1a1a;
	margin-bottom: 15px;
	display: flex;
	align-items: center;
	gap: 10px;
}

.delivery-info h3 i {
	color: #8b7355;
}

.delivery-info p {
	color: #666;
	margin-bottom: 15px;
	font-size: 0.95rem;
}

.delivery-info ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.delivery-info li {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 10px;
	color: #666;
	font-size: 0.9rem;
}

.delivery-info li i {
	color: #8b7355;
	font-size: 0.9rem;
}

/* Стили для футера */
.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-top: 15px;
}

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

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

.social-link.email-link {
	font-size: 1rem;
}

.copyright {
	text-align: center;
	color: #999;
	font-size: 0.9rem;
	padding-top: 30px;
	border-top: 1px solid #333;
}

/* Стили для модальных окон (перенесены из HTML) */
.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;
}

.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;
}

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

.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;
}

.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;
}

.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;
}

/* ========================================== */
/* ИСПРАВЛЕНИЯ ДЛЯ ХЕДЕРА СТРАНИЦЫ ПОКУПКИ */
/* ========================================== */

/* Стили для длинных текстов в модальных окнах */
.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;
}

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

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

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

.guide-content li {
	margin-bottom: 20px;
	position: relative;
	padding-left: 15px;
	text-align: left;
}

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

.guide-image {
	width: 100%;
	max-width: 300px;
	border-radius: 10px;
	margin: 10px 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;
}

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

/* Анимации и ключевые кадры (перенесены из JS) */
@keyframes spin {
	0% {
		transform: rotate(0deg);
	}
	100% {
		transform: rotate(360deg);
	}
}

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

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

@keyframes pulse {
	0% {
		transform: scale(1);
		box-shadow: 0 4px 10px rgba(238, 90, 36, 0.3);
	}
	50% {
		transform: scale(1.05);
		box-shadow: 0 6px 15px rgba(238, 90, 36, 0.5);
	}
	100% {
		transform: scale(1);
		box-shadow: 0 4px 10px rgba(238, 90, 36, 0.3);
	}
}

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

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

	.footer-content {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 1100px) {
	/* Обновляем отображение хедера для планшетов и мобильных */

	/* Бургер-меню */
	.burger-dropdown {
		top: 60px;
		right: 15px;
		min-width: 260px;
	}

	/* Обновляем body padding */
	body {
		padding-top: 60px;
	}

	/* Бургер-меню */
	.burger-link {
		padding: 10px 14px;
		font-size: 0.95rem;
	}

	/* Адаптивность контента */
	.purchase-content {
		grid-template-columns: 1fr;
		gap: 25px;
	}

	.order-section {
		position: static;
	}

	.product-details,
	.order-card {
		padding: 20px;
	}

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

	.carousel-container-large {
		max-width: 300px;
	}

	.carousel-controls-large {
		max-width: 300px;
	}

	.current-price.daily-price {
		font-size: 1.8rem !important;
	}

	#oldPrice {
		font-size: 1.1rem !important;
	}
}

/* Показываем desktop ссылку по умолчанию, скрываем mobile */
.email-mobile {
	display: none;
}

@media (max-width: 992px) {
	.purchase-content {
		grid-template-columns: 1fr;
	}

	.carousel-container-large {
		max-width: 400px;
	}

	.carousel-controls-large {
		max-width: 400px;
	}

	.footer-content {
		grid-template-columns: repeat(2, 1fr);
		gap: 30px;
	}
}

@media (max-width: 768px) {
	/* Мобильные устройства: показываем бургер, скрываем обычное меню */
	/* (Этот медиа-запрос теперь не используется для переключения на бургер) */
	/* Он остается только для дополнительных мобильных стилей */

	/* Обновляем отображение email */
	.email-desktop {
		display: none;
	}

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

	.current-price.daily-price {
		font-size: 2rem !important;
	}

	#oldPrice {
		font-size: 1.8rem !important;
		margin-left: 15px !important;
	}

	.discount-badge {
		font-size: 1rem !important;
		padding: 5px 12px !important;
	}

	/* Адаптивность для модальных окон */
	.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%;
	}
}

@media (max-width: 768px) {
	.purchase-container {
		padding: 20px 0 40px;
	}

	.product-details,
	.order-card {
		padding: 20px;
	}

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

	.product-header {
		flex-direction: column;
		align-items: flex-start;
		gap: 15px;
	}

	.carousel-container-large {
		max-width: 320px;
	}

	.carousel-controls-large {
		max-width: 320px;
	}

	.carousel-nav-btn-outer {
		width: 32px;
		height: 32px;
		font-size: 0.9rem;
	}

	.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;
	}
}

@media (max-width: 576px) {
	.product-title {
		font-size: 1.5rem;
	}

	.breadcrumbs {
		font-size: 0.8rem;
	}

	.btn-pay {
		padding: 16px;
		font-size: 1rem;
	}

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

	.carousel-controls-large {
		max-width: 280px;
		padding: 0 5px;
	}

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

	.carousel-dots-container {
		padding: 0 10px;
		gap: 8px;
	}

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

	.footer-section h3 {
		font-size: 1.3rem;
	}

	.footer-section h4 {
		font-size: 1.1rem;
	}

	.current-price.daily-price {
		font-size: 1.8rem !important;
	}

	#oldPrice {
		font-size: 1.8rem !important;
		margin-left: 10px !important;
	}

	.discount-badge {
		font-size: 0.9rem !important;
		padding: 4px 10px !important;
	}

	.daily-badge {
		font-size: 0.8rem !important;
		padding: 6px 15px !important;
	}
}

@media (max-width: 1100px) {
	/* Планшеты и мобильные: показываем бургер, скрываем обычное меню */

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

	.burger-menu-btn {
		order: 3;
		margin-left: 10px;
	}
}

@media (max-width: 576px) {
	/* Маленькие мобильные устройства */

	body {
		padding-top: 60px;
	}

	.purchase-container {
		padding: 15px 0 30px;
	}

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

	.product-title i {
		font-size: 1.2rem;
	}

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

	.carousel-controls-large {
		max-width: 280px;
	}

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

	.breadcrumbs {
		font-size: 0.8rem;
		margin-bottom: 20px;
	}

	.btn-pay {
		padding: 16px;
		font-size: 1rem;
	}

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

	.burger-nav-link {
		padding: 12px 15px;
		font-size: 0.95rem;
	}
}

.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 25px;
	width: 100%;
}

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

/* Стили для заблокированного поля email */
.email-input:disabled {
	background-color: #f9f9f9 !important;
	cursor: not-allowed !important;
	opacity: 0.7 !important;
}

/* Ссылка для выхода из аккаунта в уведомлении */
#logoutForEmailChange {
	color: #8b7355;
	text-decoration: none;
	font-weight: 500;
	transition: color 0.3s ease;
	padding: 0 2px;
	border-radius: 3px;
}

#logoutForEmailChange:hover {
	color: #a89176;
	text-decoration: underline;
	background: rgba(139, 115, 85, 0.05);
}
