/* ===== BASE ===== */
:root {
	--accent: #4361ee;
	--accent-hover: #3a56d4;
	--bg: #ffffff;
	--bg-soft: #f7f8fa;
	--text: #1a1a1a;
	--text-secondary: #6b7280;
	--border: #e5e7eb;
	--footer-bg: #1f2937;
	--footer-text: #9ca3af;
	--radius: 10px;
}

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

img {
    height: auto;
    max-width: 100%;
}

body {
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
	color: var(--text);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
}

/* ===== TOP BAR ===== */
.top-bar {
	background: var(--bg-soft);
	border-bottom: 1px solid var(--border);
	padding: 0.45rem 0;
	font-size: 0.8rem;
	color: var(--text-secondary);
}

.top-bar i {
	font-size: 0.85rem;
}

.social-icon {
	width: 28px;
	height: 28px;
	display: block;
	transition: opacity 0.2s;
	opacity: 0.7;
}

.social-icon:hover {
	opacity: 1;
}

.topbar-divider {
	width: 1px;
	height: 16px;
	background: var(--border);
}

.topbar-auth a {
	color: var(--text-secondary);
	text-decoration: none;
	font-size: 0.8rem;
	transition: color 0.2s;
}

.topbar-auth a:hover {
	color: var(--accent);
}

.topbar-sep {
	color: var(--border);
	font-size: 0.75rem;
}

/* ===== HEADER ===== */
.site-header {
	background: var(--bg);
	border-bottom: 1px solid var(--border);
	z-index: 100;
}

.site-header .navbar {
	padding: 0.9rem 0;
}

.navbar-brand {
	font-weight: 700;
	font-size: 1.35rem;
	color: var(--accent) !important;
	display: flex;
	align-items: center;
	gap: 8px;
}

.logo-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--accent);
	display: inline-block;
}

.nav-link {
	color: var(--text-secondary) !important;
	font-weight: 500;
	font-size: 0.9rem;
	padding: 0.4rem 0.9rem !important;
	border-radius: 6px;
	transition: color 0.2s, background 0.2s;
}

.nav-link:hover,
.nav-link.active {
	color: var(--text) !important;
	background: var(--bg-soft);
}

/* Поиск в шапке */
.header-search {
	position: relative;
	flex: 1;
	max-width: 380px;
	margin: 0 1.2rem;
}

.header-search .form-control {
	border: 2px solid var(--accent);
	border-radius: 8px;
	padding: 0.5rem 2.8rem 0.5rem 1rem;
	font-size: 0.88rem;
	background: var(--bg);
	transition: box-shadow 0.2s;
}

.header-search .form-control::placeholder {
	color: #adb5bd;
}

.header-search .form-control:focus {
	box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.15);
}

.header-search button {
	position: absolute;
	right: 4px;
	top: 50%;
	transform: translateY(-50%);
	background: none;
	border: none;
	color: var(--text-secondary);
	font-size: 1rem;
	padding: 0.35rem 0.6rem;
	cursor: pointer;
	border-radius: 6px;
	transition: color 0.2s;
}

.header-search button:hover {
	color: var(--accent);
}

.header-phone {
	color: var(--text);
	text-decoration: none;
	font-weight: 600;
	font-size: 0.9rem;
	white-space: nowrap;
	transition: color 0.2s;
}

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

.header-phone i {
	color: var(--accent);
}

.btn-cart-header {
	position: relative;
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: var(--bg-soft);
	color: var(--text);
	text-decoration: none;
	font-size: 1.1rem;
	transition: background 0.2s;
}

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

.cart-count {
	position: absolute;
	top: -2px;
	right: -2px;
	width: 18px;
	height: 18px;
	background: var(--accent);
	color: #fff;
	font-size: 0.65rem;
	font-weight: 700;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* ===== HERO ===== */
.hero {
	border-radius: var(--radius);
	padding: 0 3rem;
	min-height: 320px;
}

.min-vh-hero {
	min-height: 420px;
}



.hero-label {
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--accent);
	text-transform: uppercase;
	letter-spacing: 1.5px;
	margin-bottom: 1rem;
}

.hero-title {
	font-size: 2.8rem;
	font-weight: 700;
	line-height: 1.15;
	color: #fff;
	margin-bottom: 1.2rem;
}

.hero-text {
	font-size: 1.05rem;
	color: #cfcfcf;
	line-height: 1.7;
	max-width: 480px;
	margin-bottom: 2rem;
}

.btn-accent {
	background: var(--accent);
	color: #fff;
	border: none;
	font-weight: 600;
	padding: 0.75rem 2rem;
	border-radius: 8px;
	font-size: 0.95rem;
	transition: background 0.2s, transform 0.15s;
}

.btn-accent:hover {
	background: var(--accent-hover);
	color: #fff;
	transform: translateY(-1px);
}

.btn-outline-accent {
	background: transparent;
	color: var(--accent);
	border: 2px solid var(--accent);
	font-weight: 600;
	padding: 0.7rem 2.2rem;
	border-radius: 8px;
	font-size: 0.95rem;
	transition: background 0.2s, color 0.2s;
}

.btn-outline-accent:hover {
	background: var(--accent);
	color: #fff;
}

/* ===== PRODUCTS ===== */
.products-section {
	padding: 4.5rem 0;
}

.section-heading {
	font-size: 1.6rem;
	font-weight: 700;
	margin-bottom: 2.5rem;
}

.product-card {
	background: var(--bg);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	overflow: hidden;
	transition: box-shadow 0.25s, transform 0.25s;
	height: 100%;
	display: flex;
	flex-direction: column;
}

.product-card:hover {
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
	transform: translateY(-3px);
}

.product-img {
	 position: relative;  
	display: flex;
	align-items: center;
	justify-content: center;
} 

.product-card .product-img img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding: 14%;
	max-width: 164px;
}

.product-placeholder {
	font-size: 5rem;
	color: #d1d5db;
}

.product-badge {
	position: absolute;
	top: 12px;
	left: 12px;
	background: var(--accent);
	color: #fff;
	font-size: 0.7rem;
	font-weight: 700;
	padding: 4px 10px;
	border-radius: 5px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.product-badge.sale {
	background: #ef4444;
}

.product-body {
	padding: 1.1rem 1.2rem 1.3rem;
	flex: 1;
	display: flex;
	flex-direction: column;
}

.product-brand {
	font-size: 0.75rem;
	font-weight: 600;
	color: var(--accent);
	text-transform: uppercase;
	letter-spacing: 0.8px;
	margin-bottom: 0.25rem;
}

.product-name {
	font-weight: 700;
	font-size: 0.95rem;
	margin-bottom: 0.3rem;
	color: var(--text);
}

.product-size {
	font-size: 0.82rem;
	color: var(--text-secondary);
	margin-bottom: auto;
	padding-bottom: 0.8rem;
}

.product-footer {
	padding-top: 0.8rem;
	border-top: 1px solid var(--border);
}

.product-price {
	font-size: 1.1rem;
	font-weight: 700;
	color: var(--text);
	display: block;
	margin-bottom: 0.7rem;
}

.product-price-old {
	font-size: 0.8rem;
	color: var(--text-secondary);
	text-decoration: line-through;
	display: inline;
	margin-right: 0.4rem;
}


.product__link {
	text-decoration: none;
}

.btn-add-cart {
	width: 100%;
	padding: 0.55rem 0;
	border: none;
	background: var(--accent);
	border-radius: 8px;
	cursor: pointer;
	color: #fff;
	font-size: 0.85rem;
	font-weight: 600;
	font-family: inherit;
	transition: background 0.2s;
}

.btn-add-cart:hover {
	background: var(--accent-hover);
}

/* ===== BRANDS ===== */
.brands-section {
	padding: 4.5rem 0;
	background: var(--bg-soft);
}

.brand-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	background: var(--bg);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 1.2rem 1rem;
	text-decoration: none;
	transition: box-shadow 0.25s, transform 0.25s;
	height: 100%;
}

.brand-card:hover {
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
	transform: translateY(-3px);
}

.brand-img {
	width: 80px;
	background: #fff;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 0.8rem;
}

.brand-img img {

}

.brand-placeholder {
	font-size: 2.2rem;
	color: #d1d5db;
}

.brand-name {
	font-weight: 600;
	font-size: 0.9rem;
	color: var(--text);
	margin-bottom: 0.2rem;
}

.brand-count {
	font-size: 0.78rem;
	color: var(--text-secondary);
}

/* ===== FOOTER ===== */
.site-footer {
	background: var(--footer-bg);
	color: var(--footer-text);
}

.footer-top {
	padding: 3rem 0 2rem;
}

.footer-heading {
	color: #fff;
	font-weight: 600;
	font-size: 0.95rem;
	margin-bottom: 1.2rem;
}

.footer-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.footer-list li {
	margin-bottom: 0.65rem;
	font-size: 0.88rem;
	display: flex;
	align-items: flex-start;
}

.footer-list li i {
	color: var(--accent);
	font-size: 0.85rem;
	margin-top: 2px;
	flex-shrink: 0;
}

.footer-list a {
	color: var(--footer-text);
	text-decoration: none;
	transition: color 0.2s;
}

.footer-list a:hover {
	color: #fff;
}

.footer-about {
	font-size: 0.88rem;
	line-height: 1.7;
	color: var(--footer-text);
	margin: 0;
}

.footer-bottom {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 1rem;
	padding: 1.5rem 0;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	font-size: 0.82rem;
}

.payment-logos {
	display: flex;
	gap: 8px;
}

.footer-social-icon {
	width: 36px;
	height: 36px;
	display: block;
	opacity: 0.6;
	transition: opacity 0.2s;
}

.footer-social-icon:hover {
	opacity: 1;
}

.pay-img {
	height: 22px;
	border-radius: 6px;
}

/* ===== CONTENT PAGE ===== */
.content-page {
	padding: 2.5rem 0 4rem;
}

.content-block {
	max-width: 780px;
}

.content-title {
	font-size: 1.8rem;
	font-weight: 700;
	margin-bottom: 1.5rem;
}

.content-body p {
	font-size: 0.95rem;
	line-height: 1.8;
	color: var(--text-secondary);
	margin-bottom: 1rem;
}

.content-body h2 {
	font-size: 1.2rem;
	font-weight: 700;
	color: var(--text);
	margin-top: 2rem;
	margin-bottom: 0.8rem;
}

.content-body ul {
	padding-left: 1.2rem;
	margin-bottom: 1.5rem;
}

.content-body ul li {
	font-size: 0.95rem;
	line-height: 1.8;
	color: var(--text-secondary);
}

.content-body a {
	color: var(--accent);
	text-decoration: none;
}

.content-body a:hover {
	text-decoration: underline;
}

/* ===== PRODUCT PAGE ===== */
.product-page {
	padding: 2rem 0 4rem;
}

/* Галерея */
.pd-main-img {
	aspect-ratio: 1 / 1;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: zoom-in;
}

.pd-main-img img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.pd-thumbs {
	display: flex;
	gap: 0.5rem;
	margin-top: 0.7rem;
}

.pd-thumb {
	width: 72px;
	height: 72px;
	border: 2px solid var(--border);
	border-radius: 8px;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--bg-soft);
	transition: border-color 0.2s;
}

.pd-thumb.active,
.pd-thumb:hover {
	border-color: var(--accent);
}

.pd-thumb img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

/* Инфо */
.pd-title {
	font-size: 1.6rem;
	font-weight: 700;
	margin: 0 0 0.2rem;
	line-height: 1.3;
}

.pd-subtitle {
	font-size: 1rem;
	color: var(--text-secondary);
	margin-bottom: 0.4rem;
}

.pd-sku {
	font-size: 0.78rem;
	color: var(--text-secondary);
	display: block;
	margin-bottom: 1rem;
}

.pd-stock {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	font-size: 0.85rem;
	font-weight: 600;
	margin-bottom: 1.2rem;
}

.pd-stock.in {
	color: #16a34a;
}

.pd-stock.out {
	color: #ef4444;
}

.pd-price-block {
	margin-bottom: 1.5rem;
}

.pd-price {
	font-size: 2rem;
	font-weight: 700;
	color: var(--text);
}

.pd-price-note {
	font-size: 0.85rem;
	color: var(--text-secondary);
	margin-left: 0.3rem;
}

/* Количество + корзина */
.pd-actions {
	display: flex;
	align-items: center;
	gap: 0.8rem;
	margin-bottom: 1.2rem;
	flex-wrap: wrap;
}

.pd-qty {
	display: flex;
	align-items: center;
	border: 1px solid var(--border);
	border-radius: 8px;
	overflow: hidden;
}

.pd-qty .qty-btn {
	width: 40px;
	height: 42px;
}

.pd-qty-input {
	width: 50px;
	height: 42px;
	border: none;
	text-align: center;
	font-size: 0.95rem;
	font-weight: 600;
	font-family: inherit;
	-moz-appearance: textfield;
	outline: none;
}

.pd-qty-input::-webkit-inner-spin-button,
.pd-qty-input::-webkit-outer-spin-button {
	-webkit-appearance: none;
}

.pd-btn-cart {
	padding: 0.65rem 1.8rem;
	font-size: 0.95rem;
}

/* Мессенджеры */
.pd-messengers {
	display: flex;
	gap: 0.6rem;
	margin-bottom: 1.5rem;
	flex-wrap: wrap;
}

.pd-msg-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.55rem 1.2rem;
	border-radius: 8px;
	font-size: 0.85rem;
	font-weight: 600;
	text-decoration: none;
	transition: opacity 0.2s;
}

.pd-msg-btn img {
	width: 20px;
	height: 20px;
}

.pd-msg-btn.whatsapp {
	background: #e7f7ee;
	color: #1a8b4f;
}

.pd-msg-btn.telegram {
	background: #e8f2fc;
	color: #0077b5;
}

.pd-msg-btn:hover {
	opacity: 0.8;
}

/* Доп. кнопки */
.pd-extras {
	display: flex;
	gap: 0.6rem;
	flex-wrap: wrap;
}

.pd-extra-btn {
	background: none;
	border: 1px solid var(--border);
	border-radius: 8px;
	padding: 0.45rem 1rem;
	font-size: 0.82rem;
	font-weight: 500;
	color: var(--text-secondary);
	cursor: pointer;
	font-family: inherit;
	transition: color 0.2s, border-color 0.2s;
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
}

.pd-extra-btn:hover {
	color: var(--accent);
	border-color: var(--accent);
}

/* Вкладки */
.pd-tabs {
	display: flex;
	gap: 0;
	border-bottom: 2px solid var(--border);
	list-style: none;
	padding: 0;
	margin: 0;
}

.pd-tabs button {
	background: none;
	border: none;
	border-bottom: 2px solid transparent;
	margin-bottom: -2px;
	padding: 0.75rem 1.3rem;
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--text-secondary);
	cursor: pointer;
	font-family: inherit;
	transition: color 0.2s, border-color 0.2s;
	white-space: nowrap;
}

.pd-tabs button.active,
.pd-tabs button:hover {
	color: var(--accent);
	border-bottom-color: var(--accent);
}

.pd-tab-content {
	padding: 1.5rem 0;
}

.pd-tab-content p {
	font-size: 0.92rem;
	line-height: 1.7;
	color: var(--text-secondary);
	margin-bottom: 0.8rem;
}

/* Таблица характеристик */
.specs-table {
	width: 100%;
	border-collapse: collapse;
}

.specs-table tr {
	border-bottom: 1px solid var(--border);
}

.specs-table tr:last-child {
	border-bottom: none;
}

.specs-table td {
	padding: 0.65rem 0;
	font-size: 0.9rem;
	vertical-align: top;
}

.specs-table td:first-child {
	color: var(--text-secondary);
	width: 200px;
	padding-right: 2rem;
}

.specs-table td:last-child {
	color: var(--text);
	font-weight: 500;
}

/* Вы смотрели */
.pd-viewed-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.pd-viewed-clear {
	background: none;
	border: none;
	color: var(--text-secondary);
	font-size: 0.82rem;
	cursor: pointer;
	font-family: inherit;
	text-decoration: underline;
	transition: color 0.2s;
}

.pd-viewed-clear:hover {
	color: var(--accent);
}

@media (max-width: 575.98px) {
	.pd-title {
		font-size: 1.25rem;
	}

	.pd-price {
		font-size: 1.6rem;
	}

	.pd-tabs {
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}

	.pd-tabs button {
		padding: 0.6rem 1rem;
		font-size: 0.82rem;
	}

	.specs-table td:first-child {
		width: 130px;
	}

	.pd-thumb {
		width: 58px;
		height: 58px;
	}
}

/* ===== CHECKOUT PAGE ===== */
.checkout-page {
	padding: 2.5rem 0 4rem;
}

/* Таблица корзины */
.cart-table-block {
	background: var(--bg);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 1.5rem;
}

.cart-table-block .content-title {
	font-size: 1.3rem;
	margin-bottom: 1rem;
}

.cart-row {
	display: flex;
	align-items: center;
	padding: 1rem 0;
	border-bottom: 1px solid var(--border);
	gap: 1rem;
}

.cart-row:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.cart-header {
	padding-top: 0;
	padding-bottom: 0.6rem;
	font-size: 0.75rem;
	font-weight: 600;
	color: var(--text-secondary);
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.cart-col-product { flex: 1; min-width: 0; }
.cart-col-price   { width: 100px; text-align: center; font-size: 0.9rem; }
.cart-col-qty     { width: 100px; display: flex; justify-content: center; }
.cart-col-total   { width: 110px; text-align: right; font-size: 0.9rem; }
.cart-col-del     { width: 36px; text-align: center; }

.cart-product {
	display: flex;
	align-items: center;
	gap: 0.8rem;
	min-width: 0;
}

.cart-product-img {
	width: 56px;
	height: 56px;
	min-width: 56px;
	background: var(--bg-soft);
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #d1d5db;
	font-size: 1.8rem;
}

.cart-product-name {
	font-weight: 600;
	font-size: 0.9rem;
	margin: 0 0 2px;
	color: var(--text);
}

.cart-product-size {
	font-size: 0.78rem;
	color: var(--text-secondary);
}

.cart-label {
	font-size: 0.75rem;
	color: var(--text-secondary);
}

@media (max-width: 767.98px) {
	.cart-row:not(.cart-header) {
		flex-wrap: wrap;
	}

	.cart-col-product {
		width: 100%;
		flex: none;
	}

	.cart-col-price,
	.cart-col-qty,
	.cart-col-total {
		width: auto;
		text-align: left;
	}

	.cart-col-del {
		width: auto;
		margin-left: auto;
	}
}

.checkout-block {
	background: var(--bg);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 1.5rem;
	margin-bottom: 1.2rem;
}

.checkout-heading {
	font-size: 1.1rem;
	font-weight: 700;
	margin-bottom: 1.2rem;
	display: flex;
	align-items: center;
	gap: 0.7rem;
}

.checkout-step {
	width: 28px;
	height: 28px;
	min-width: 28px;
	background: var(--accent);
	color: #fff;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.8rem;
	font-weight: 700;
}

.checkout-block .form-label {
	font-size: 0.82rem;
	font-weight: 600;
	color: var(--text-secondary);
}

.checkout-block .form-control {
	border: 1px solid var(--border);
	border-radius: 8px;
	padding: 0.6rem 1rem;
	font-size: 0.9rem;
}

.checkout-block .form-control:focus {
	border-color: var(--accent);
	box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.12);
}

/* Доставка / Оплата — радио-карточки */
.delivery-options {
	display: flex;
	flex-direction: column;
	gap: 0.7rem;
}

.delivery-option {
	cursor: pointer;
	margin: 0;
}

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

.delivery-card {
	border: 2px solid var(--border);
	border-radius: var(--radius);
	padding: 1rem 1.2rem;
	transition: border-color 0.2s, box-shadow 0.2s;
}

.delivery-option input:checked + .delivery-card {
	border-color: var(--accent);
	box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.1);
}

.delivery-top {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
}

.delivery-name {
	font-weight: 600;
	font-size: 0.92rem;
	color: var(--text);
	display: block;
	margin-bottom: 0.3rem;
}

.delivery-desc {
	font-size: 0.82rem;
	color: var(--text-secondary);
	line-height: 1.6;
	margin: 0;
}

.delivery-price {
	font-weight: 700;
	font-size: 0.9rem;
	color: var(--text);
	white-space: nowrap;
	flex-shrink: 0;
}

.delivery-price.free {
	color: #16a34a;
}

/* Итого (правая колонка) */
.order-summary {
	background: var(--bg-soft);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 1.5rem;
	position: sticky;
	top: 80px;
}

.order-summary-title {
	font-weight: 700;
	font-size: 1.1rem;
	margin-bottom: 1.2rem;
	padding-bottom: 0.8rem;
	border-bottom: 1px solid var(--border);
}

.order-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 0.88rem;
	padding: 0.4rem 0;
	color: var(--text-secondary);
}

.order-item.order-total {
	font-size: 1.1rem;
	font-weight: 700;
	color: var(--text);
	padding: 0.6rem 0 0;
}

.order-divider {
	height: 1px;
	background: var(--border);
	margin: 0.6rem 0;
}

.order-note {
	font-size: 0.72rem;
	color: var(--text-secondary);
	text-align: center;
	margin: 0.8rem 0 0;
}

.order-note a {
	color: var(--accent);
	text-decoration: none;
}

.order-note a:hover {
	text-decoration: underline;
}

/* Модалка успеха */
.success-icon {
	font-size: 3.5rem;
	color: #16a34a;
	line-height: 1;
}

/* ===== CONTACTS PAGE ===== */
.contacts-page {
	padding: 2.5rem 0 4rem;
}

.contact-card {
	background: var(--bg-soft);
	border-radius: var(--radius);
	padding: 1.5rem;
	height: 100%;
}

.contact-item {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
	margin-bottom: 1.3rem;
}

.contact-icon {
	width: 42px;
	height: 42px;
	min-width: 42px;
	background: var(--bg);
	border: 1px solid var(--border);
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.1rem;
	color: var(--accent);
}

.contact-label {
	display: block;
	font-size: 0.75rem;
	font-weight: 600;
	color: var(--text-secondary);
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-bottom: 2px;
}

.contact-value {
	font-size: 0.92rem;
	font-weight: 500;
	color: var(--text);
	text-decoration: none;
	display: block;
}

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

.contact-socials {
	margin-top: 0.5rem;
	padding-top: 1.2rem;
	border-top: 1px solid var(--border);
}

.contact-social-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 0.85rem;
	font-weight: 500;
	color: var(--text);
	text-decoration: none;
	transition: color 0.2s;
}

.contact-social-link img {
	width: 22px;
	height: 22px;
}

.contact-social-link:hover {
	color: var(--accent);
}

.contact-map {
	width: 100%;
	height: 100%;
	min-height: 400px;
	border-radius: var(--radius);
	overflow: hidden;
	border: 1px solid var(--border);
	background: var(--bg-soft);
	position: relative;
}

.map-placeholder {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	color: var(--text-secondary);
	font-size: 0.9rem;
}

.map-placeholder i {
	font-size: 3rem;
	color: var(--accent);
	margin-bottom: 0.8rem;
}

.contact-form-title {
	font-size: 1.3rem;
	font-weight: 700;
	margin-bottom: 0.4rem;
}

.contact-form-text {
	font-size: 0.9rem;
	color: var(--text-secondary);
	margin-bottom: 1.5rem;
}

.contact-form .form-control {
	border: 1px solid var(--border);
	border-radius: 8px;
	padding: 0.6rem 1rem;
	font-size: 0.9rem;
}

.contact-form .form-control:focus {
	border-color: var(--accent);
	box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.12);
}

@media (max-width: 991.98px) {
	.contact-map {
		min-height: 300px;
	}
}

/* ===== CATALOG PAGE ===== */
.breadcrumbs-section {
	padding: 1rem 0;
	background: var(--bg);
	border-bottom: 1px solid var(--border);
}

.breadcrumb {
	font-size: 0.82rem;
}

.breadcrumb-item a {
	color: var(--text-secondary);
	text-decoration: none;
}

.breadcrumb-item a:hover {
	color: var(--accent);
}

.breadcrumb-item.active {
	color: var(--text);
}

.catalog-section {
	padding: 2rem 0 4rem;
}

/* Сайдбар */
.catalog-sidebar {
	background: var(--bg);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 1.3rem;
	position: sticky;
	top: 80px;
}

.sidebar-title {
	font-weight: 700;
	font-size: 1.05rem;
	margin-bottom: 1rem;
	padding-bottom: 0.8rem;
	border-bottom: 1px solid var(--border);
}

.sidebar-menu {
	list-style: none;
	padding: 0;
	margin: 0;
}

.sidebar-menu > li {
	border-bottom: 1px solid var(--border);
}

.sidebar-menu > li:last-child {
	border-bottom: none;
}

.sidebar-menu > li > a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0.7rem 0;
	text-decoration: none;
	color: var(--text);
	font-weight: 500;
	font-size: 0.9rem;
	transition: color 0.2s;
}

.sidebar-menu > li > a:hover,
.sidebar-menu > li.active > a {
	color: var(--accent);
}

.sidebar-menu > li > a i {
	font-size: 0.7rem;
	transition: transform 0.25s;
	color: var(--text-secondary);
}

.sidebar-menu > li.active > a i {
	transform: rotate(180deg);
	color: var(--accent);
}

.submenu {
	list-style: none;
	padding: 0 0 0.5rem 0.8rem;
	margin: 0;
	display: none;
}

.submenu.show {
	display: block;
}

.submenu li a {
	display: block;
	padding: 0.35rem 0;
	text-decoration: none;
	color: var(--text-secondary);
	font-size: 0.85rem;
	transition: color 0.2s;
}

.submenu li a:hover {
	color: var(--accent);
}

/* Мобильный сайдбар */
.sidebar-menu.mobile {
	padding: 0.5rem 1.2rem;
}

/* Верхняя панель каталога */
.catalog-topbar {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1.5rem;
	flex-wrap: wrap;
}

.catalog-title {
	font-size: 1.5rem;
	font-weight: 700;
	margin: 0;
	line-height: 1.2;
}

.catalog-count {
	font-size: 0.82rem;
	color: var(--text-secondary);
}

.catalog-sort .form-select {
	font-size: 0.85rem;
	border-color: var(--border);
	border-radius: 8px;
	min-width: 220px;
	color: var(--text);
}

.catalog-sort .form-select:focus {
	border-color: var(--accent);
	box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.12);
}

/* Пагинация */
.catalog-pagination .page-link {
	border: 1px solid var(--border);
	color: var(--text);
	font-size: 0.85rem;
	font-weight: 500;
	border-radius: 8px;
	margin: 0 3px;
	padding: 0.4rem 0.75rem;
	transition: all 0.2s;
}

.catalog-pagination .page-item.active .page-link {
	background: var(--accent);
	border-color: var(--accent);
	color: #fff;
}

.catalog-pagination .page-link:hover {
	background: var(--bg-soft);
	border-color: var(--border);
	color: var(--accent);
}

.catalog-pagination .page-item.disabled .page-link {
	color: var(--border);
}

/* Скрыть десктоп-сайдбар на мобилке */
@media (max-width: 991.98px) {
	.catalog-sidebar {
		display: none;
	}

	.catalog-sort .form-select {
		min-width: 160px;
	}

	.catalog-title {
		font-size: 1.25rem;
	}
}

/* ===== MINI CART ===== */
#miniCart {
	width: 380px;
}

.minicart-header {
	border-bottom: 1px solid var(--border);
}

.minicart-body {
	padding: 0;
}

.minicart-item {
	display: flex;
	align-items: flex-start;
	gap: 0.8rem;
	padding: 1rem 1.2rem;
	border-bottom: 1px solid var(--border);
}

.minicart-img img {
	width: 56px;
	height: 56px;
	min-width: 56px;
	background: var(--bg-soft);
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #d1d5db;
	font-size: 1.8rem;
}

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

.minicart-name {
	font-weight: 600;
	font-size: 0.88rem;
	margin: 0 0 2px;
	color: var(--text);
}

.minicart-size {
	font-size: 0.75rem;
	color: var(--text-secondary);
	display: block;
	margin-bottom: 0.5rem;
}

.minicart-qty {
	display: inline-flex;
	align-items: center;
	gap: 0;
	border: 1px solid var(--border);
	border-radius: 6px;
	overflow: hidden;
}

.qty-btn {
	width: 28px;
	height: 28px;
	border: none;
	background: var(--bg);
	color: var(--text);
	font-size: 0.9rem;
	font-weight: 600;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.15s;
}

.qty-btn:hover {
	background: var(--bg-soft);
}

.minicart-qty span {
	width: 28px;
	text-align: center;
	font-size: 0.82rem;
	font-weight: 600;
}

.minicart-right {
	text-align: right;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 0.4rem;
}

.minicart-price {
	font-weight: 700;
	font-size: 0.9rem;
	white-space: nowrap;
}

.minicart-remove {
	background: none;
	border: none;
	color: #d1d5db;
	font-size: 0.9rem;
	cursor: pointer;
	padding: 0;
	transition: color 0.2s;
}

.minicart-remove:hover {
	color: #ef4444;
}

.minicart-footer {
	padding: 1.2rem;
	border-top: 1px solid var(--border);
}

.minicart-total {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 1rem;
	margin-bottom: 1rem;
}

@media (max-width: 575.98px) {
	#miniCart {
		width: 100%;
	}
}

/* ===== AUTH MODAL ===== */
.auth-tabs {
	border-bottom: none;
}

.auth-tabs .nav-link {
	color: var(--text-secondary) !important;
	border: none;
	border-bottom: 2px solid transparent;
	border-radius: 0;
	font-weight: 600;
	font-size: 0.9rem;
	padding: 0.6rem 0 !important;
}

.auth-tabs .nav-link.active {
	color: var(--accent) !important;
	background: none;
	border-bottom-color: var(--accent);
}

#authModal .form-control {
	border: 1px solid var(--border);
	border-radius: 8px;
	padding: 0.6rem 0.9rem;
	font-size: 0.9rem;
}

#authModal .form-control:focus {
	border-color: var(--accent);
	box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.12);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991.98px) {
	.hero-title {
		font-size: 2.1rem;
	}

	.min-vh-hero {
		min-height: 340px;
	}

	.header-phone {
		display: block;
		margin-top: 0.5rem;
	}

	.header-search {
		max-width: 100%;
		margin: 0.8rem 0;
		order: 10;
	}
}

@media (max-width: 575.98px) {
	.top-bar .topbar-auth {
		display: none !important;
	}

	.top-bar .topbar-divider {
		display: none;
	}

	.hero {
		padding: 2rem 1.2rem;
	}

	.hero-title {
		font-size: 1.7rem;
	}

	.min-vh-hero {
		min-height: auto;
	}

	.section-heading {
		font-size: 1.3rem;
	}

	.footer-bottom {
		flex-direction: column;
		align-items: flex-start;
	}

	body {
		padding-bottom: 64px;
	}
}

/* ===== MOBILE BOTTOM NAV ===== */
.mobile-nav {
	display: none;
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	background: var(--bg);
	border-top: 1px solid var(--border);
	z-index: 200;
	padding: 0.4rem 0;
}

.mobile-nav .nav-list {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
}

.mobile-nav .nav-list li {
	flex: 1;
}

.mobile-nav .nav-list a {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2px;
	text-decoration: none;
	color: var(--text-secondary);
	font-size: 0.65rem;
	font-weight: 500;
	padding: 0.3rem 0;
	transition: color 0.2s;
}

.mobile-nav .nav-list a.active,
.mobile-nav .nav-list a:hover {
	color: var(--accent);
}

.mobile-nav .nav-list a i {
	font-size: 1.25rem;
}

.mobile-cart-link {
	position: relative;
}

.mobile-cart-badge {
	position: absolute;
	top: 0;
	right: 50%;
	transform: translateX(14px);
	min-width: 16px;
	height: 16px;
	background: var(--accent);
	color: #fff;
	font-size: 0.6rem;
	font-weight: 700;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
}

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


/* Стили для пагинации */
.catalog-pagination .page-numbers {
	display: flex;
	flex-wrap: wrap;
	padding-left: 0;
	list-style: none;
	margin-bottom: 0;
	gap: 4px;
}

.catalog-pagination .page-numbers li {
	margin: 0;
}

/* Базовые стили для всех элементов пагинации */
.catalog-pagination .page-numbers a,
.catalog-pagination .page-numbers span {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 6px 12px;
	border: 1px solid #dee2e6;
	border-radius: 6px;
	background-color: #fff;
	color: #6c757d;
	text-decoration: none;
	font-size: 1rem;
	font-weight: 400;
	transition: all 0.2s ease-in-out;
	user-select: none;
}

/* Стили для кликабельных страниц */
.catalog-pagination .page-numbers a.page-numbers {
	cursor: pointer;
}

.catalog-pagination .page-numbers a.page-numbers:hover {
	background-color: #f8f9fa;
	border-color: #dee2e6;
	color: var(--accent);
	transform: translateY(-1px);
}

.catalog-pagination .page-numbers a.page-numbers:active {
	transform: translateY(0);
}

/* Текущая страница */
.catalog-pagination .page-numbers .page-numbers.current {
	background-color: var(--accent) !important;
	border-color: var(--accent) !important;
	color: white !important;
	font-weight: 500;
	z-index: 1;
}

/* Многоточие */
.catalog-pagination .page-numbers .page-numbers.dots {
	background-color: transparent;
	border-color: transparent;
	color: #6c757d;
	cursor: default;
	min-width: 32px;
}

/* Стили для стрелок навигации */
.catalog-pagination .page-numbers a.next,
.catalog-pagination .page-numbers a.prev {
	display: flex;
	align-items: center;
	justify-content: center;
}

.catalog-pagination .page-numbers a.next i,
.catalog-pagination .page-numbers a.prev i {
	font-size: 1.1rem;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 576px) {
	.catalog-pagination .page-numbers {
		justify-content: center;
		gap: 2px;
	}

	.catalog-pagination .page-numbers a,
	.catalog-pagination .page-numbers span {
		min-width: 36px;
		height: 36px;
		padding: 4px 8px;
		font-size: 0.9rem;
	}

	.catalog-pagination .page-numbers .page-numbers.dots {
		min-width: 28px;
	}
}

/* Темная тема (опционально) */
@media (prefers-color-scheme: dark) {
	.catalog-pagination .page-numbers a,
	.catalog-pagination .page-numbers span:not(.current):not(.dots) {
		background-color: #2d3748;
		border-color: #4a5568;
		color: #cbd5e0;
	}

	.catalog-pagination .page-numbers a.page-numbers:hover {
		background-color: #4a5568;
		border-color: #718096;
	}

	.catalog-pagination .page-numbers .page-numbers.dots {
		background-color: transparent;
		border-color: transparent;
		color: #a0aec0;
	}
}

@media(max-width: 768px){
	.hero {
		background-position: right;
	}
}


.btn-secondary {
	background: #838080;;
}


/* Поиск в каталоге */




.catalog-search {
	display: none;
	position: relative;
	flex: 1;
	max-width: 100%;
	margin-bottom: 30px;
}

.catalog-search .form-control {
	border: 2px solid var(--accent);
	border-radius: 8px;
	padding: 0.5rem 2.8rem 0.5rem 1rem;
	font-size: 0.88rem;
	background: var(--bg);
	transition: box-shadow 0.2s;
}

.catalog-search .form-control::placeholder {
	color: #adb5bd;
}

.catalog-search .form-control:focus {
	box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.15);
}

.catalog-search button {
	position: absolute;
	right: 4px;
	top: 50%;
	transform: translateY(-50%);
	background: none;
	border: none;
	color: var(--text-secondary);
	font-size: 1rem;
	padding: 0.35rem 0.6rem;
	cursor: pointer;
	border-radius: 6px;
	transition: color 0.2s;
}

.catalog-search button:hover {
	color: var(--accent);
}

@media(max-width: 768px){
	.catalog-search {
		display: flex;
	}
}