/* ------------------- Base ---------------------*/
:root {
	--page-max: 1240px;
	--pad-x: clamp(16px, 4vw, 32px);
	--pad-y: clamp(68px, 10vw, 120px);
	--glass: rgba(255, 255, 255, 0.04);
	--glass-2: rgba(255, 255, 255, 0.08);
	--blur: blur(14px);
	--transition: 0.25s ease;
}

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	font-family: 'Manrope', 'Space Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
	background: radial-gradient(120% 120% at 20% 20%, rgba(255, 107, 53, 0.08), transparent 40%),
		radial-gradient(110% 110% at 80% 0%, rgba(255, 174, 94, 0.12), transparent 32%),
		#0d0d0d;
	color: var(--xf-text);
	padding-top: 96px;
	min-height: 100vh;
	overflow-x: hidden;
}

body.menu-open {
	overflow: hidden;
}

a {
	color: inherit;
}

.xf-container {
	max-width: var(--page-max);
	padding: 0 var(--pad-x);
}

/* ------------------- Header ---------------------*/
.header {
	position: fixed;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	width: calc(100% - clamp(12px, 1.2vw, 24px));
	max-width: 1260px;
	height: 86px;
	background: linear-gradient(135deg, rgba(20,20,20,0.96), rgba(26,26,26,0.9));
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 0 0 clamp(16px, 2vw, 24px) clamp(16px, 2vw, 24px);
	box-shadow: 0 18px 48px rgba(0, 0, 0, 0.24);
	backdrop-filter: blur(6px);
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: clamp(7px, 1vw, 12px) clamp(14px, 2vw, 24px);
	z-index: 1000;
	box-sizing: border-box;
	gap: 12px;
}

.header-logo {
	display: flex;
	align-items: center;
	gap: clamp(2px, 0.6vw, 8px);
	margin-right: clamp(4px, 0.8vw, 12px);
	text-decoration: none;
	color: #ffffff;
	position: relative;
}

.header-logo::after {
	display: none;
}

.header-logo-word {
	display: inline-flex;
	align-items: center;
	gap: clamp(2px, 0.5vw, 6px);
	font-size: clamp(18px, 2vw, 24px);
	font-weight: 800;
	letter-spacing: 0.4px;
	text-transform: uppercase;
	color: #ffb87a;
	text-shadow: 0 6px 16px rgba(0, 0, 0, 0.6), 0 0 18px rgba(255, 107, 53, 0.32);
	position: relative;
	z-index: 10;
}

.header-logo-img {
	display: block;
	height: clamp(32px, 3.6vw, 44px);
	width: auto;
	object-fit: contain;
	filter: drop-shadow(0 10px 26px rgba(0,0,0,0.25));
}

.header-logo-formula {
	font-size: 1.15em;
	transform: translateX(-4px);
	font-weight: 900;
}

.header-nav {
	display: flex;
	justify-content: center;
	align-items: center;
	flex: 1 1 auto;
	min-width: 0;
	background: rgba(255, 255, 255, 0.03);
	border-radius: 50px;
	padding: clamp(3px, 0.6vw, 7px);
	border: 1px solid rgba(255, не255, 255, 0.06);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
	gap: clamp(4px, 0.8vw, 8px);
	overflow: visible;
	position: relative;
}

.header-nav-list {
	list-style: none;
	display: flex;
	gap: clamp(4px, 0.6vw, 10px);
	flex-wrap: nowrap;
	margin: 0;
	padding: 0;
	align-items: center;
	justify-content: center;
	overflow: visible;
}

.header-nav-item { display: inline-block; }

.header-nav-link {
	color: #ffffff;
	text-decoration: none;
	font-size: clamp(10px, 0.95vw, 12px);
	font-weight: 600;
	padding: clamp(6px, 0.85vw, 9px) clamp(9px, 1.25vw, 12px);
	border-radius: 11px;
	white-space: nowrap;
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	letter-spacing: 0.15px;
	transition: all 0.25s ease;
	border: 1px solid transparent;
	background: rgba(255, 255, 255, 0.02);
}

.header-nav-link::before {
	content: '';
	position: absolute;
	bottom: 0;
	left: 50%;
	width: 0;
	height: 2px;
	background: var(--xf-accent);
	transform: translateX(-50%);
	transition: width 0.3s ease;
}

.header-nav-link:hover {
	color: var(--xf-accent);
	background: rgba(255, 255, 255, 0.04);
	border-color: rgba(255, 255, 255, 0.08);
	transform: translateY(-1px);
}

.header-nav-link:hover::before { width: 85%; }

.header-nav-link.active {
	background: rgba(255, 107, 53, 0.14);
	color: #ffb58a;
	border-color: rgba(255, 107, 53, 0.35);
	box-shadow: 0 10px 28px rgba(255, 107, 53, 0.25);
}

.header-phone-link {
	background: linear-gradient(135deg, rgba(255, 107, 53, 0.25), rgba(255, 107, 53, 0.15));
	border: 1px solid rgba(255, 107, 53, 0.5);
	font-weight: 700;
}

.header-nav-lang-btn {
	position: relative;
	margin-left: clamp(6px, 1vw, 12px);
}

.header-nav-link--lang {
	background: linear-gradient(135deg, #ff6b35, #ff9051);
	color: #0d0d0d;
	font-weight: 800;
	box-shadow: 0 14px 32px rgba(255, 107, 53, 0.35);
}

.lang-dropdown {
	position: absolute;
	top: calc(100% + 8px);
	right: 0;
	min-width: 160px;
	background: rgba(20, 20, 20, 0.92);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 12px;
	padding: 6px;
	display: none;
	box-shadow: 0 18px 38px rgba(0, 0, 0, 0.35);
	backdrop-filter: blur(12px);
}

.header-nav-lang-btn.open .lang-dropdown { display: block; }

.lang-dropdown a {
	display: block;
	padding: 10px 12px;
	border-radius: 10px;
	color: #e9e9e9;
	text-decoration: none;
	transition: all var(--transition);
}

.lang-dropdown a:hover,
.lang-dropdown a.active-lang {
	background: rgba(255, 255, 255, 0.06);
	color: var(--xf-accent);
}

.burger-menu {
	display: none;
	flex-direction: column;
	gap: 6px;
	background: rgba(255, 255, 255, 0.02);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 5px;
	cursor: pointer;
	padding: 8px;
}

.burger-line {
	width: 28px;
	height: 3px;
	background: #fff;
	border-radius: 2px;
	transition: all 0.3s ease;
}

/* ------------------- Typography ---------------------*/
.eyebrow {
	letter-spacing: 0.2em;
	text-transform: uppercase;
	font-size: 12px;
	color: var(--xf-muted);
	margin: 0 0 8px;
}

.lede {
	color: rgba(255, 255, 255, 0.82);
	max-width: 620px;
	margin: 0 0 18px;
	font-size: 16px;
	line-height: 1.6;
}

h1, h2, h3, h4 {
	margin: 0 0 12px;
	letter-spacing: -0.01em;
}

h1 {
	font-size: clamp(32px, 4.8vw, 46px);
}

h2 {
	font-size: clamp(26px, 3.4vw, 36px);
}

h3 {
	font-size: clamp(20px, 2.4vw, 24px);
}

.product-card h3 {
	font-size: 16px;
	margin: 0 0 6px;
	line-height: 1.3;
	max-height: 2.6em;
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.product-card p {
	font-size: 13px;
	line-height: 1.4;
	margin: 0;
	max-height: 4.2em;
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	color: rgba(255, 255, 255, 0.7);
}

/* ------------------- Hero ---------------------*/
.hero {
	padding: var(--pad-y) 0;
	position: relative;
}

.hero__inner {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: clamp(24px, 4vw, 40px);
	align-items: center;
}

.hero__copy {
	background: linear-gradient(160deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0));
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 20px;
	padding: clamp(18px, 3vw, 26px);
	box-shadow: 0 24px 48px rgba(0, 0, 0, 0.26);
	overflow: hidden;
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 12px 0 10px;
}

.hero__pills {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.pill {
	padding: 8px 12px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.06);
	color: #f3f3f3;
	border: 1px solid rgba(255, 255, 255, 0.1);
	font-size: 13px;
	cursor: pointer;
	transition: all var(--transition);
}

.pill:hover,
.pill.pill--active {
	background: rgba(255, 107, 53, 0.18);
	color: #ffd9c3;
	border-color: rgba(255, 107, 53, 0.4);
	box-shadow: 0 14px 32px rgba(255, 107, 53, 0.25);
}

.hero__visual {
	position: relative;
	display: flex;
	justify-content: flex-end;
}

.hero__brand {
	width: 100%;
	display: flex;
	justify-content: center;
	margin-bottom: 14px;
}

.hero__brand img {
	display: block;
	width: min(400px, 100%);
	height: auto;
	object-fit: contain;
}

.hero__glass {
	background: linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 22px;
	padding: clamp(18px, 3vw, 26px);
	width: min(480px, 100%);
	box-shadow: 0 30px 60px rgba(0, 0, 0, 0.32);
	backdrop-filter: blur(16px);
}

.hero__badge {
	display: inline-flex;
	padding: 8px 12px;
	background: rgba(255, 107, 53, 0.18);
	border: 1px solid rgba(255, 107, 53, 0.35);
	border-radius: 999px;
	color: #ffd9c3;
	margin-bottom: 10px;
	font-weight: 700;
}

/* ------------------- Shop ---------------------*/
.shop {
	padding: var(--pad-y) 0;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0));
}

.shop__head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	margin-bottom: 18px;
}

.shop-search {
	display: flex;
	gap: 10px;
	align-items: center;
	flex-wrap: wrap;
}

.shop-search input {
	min-width: 260px;
	padding: 12px 14px;
	border-radius: 12px;
	border: 1px solid rgba(255, 255, 255, 0.18);
	background: rgba(255, 255, 255, 0.04);
	color: #fff;
	outline: none;
	transition: border-color var(--transition), box-shadow var(--transition);
}

.shop-search input:focus {
	border-color: rgba(255, 107, 53, 0.6);
	box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.18);
}

.shop-catalog-link,
.shop-main-link {
	white-space: nowrap;
}

.category-pills {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	margin: 14px 0 18px;
}

.product-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(270px, 270px));
	gap: 18px;
	justify-content: center;
}

.product-card {
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 18px;
	padding: 14px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	box-shadow: 0 18px 42px rgba(0, 0, 0, 0.25);
	transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
	min-height: 380px;
	max-height: 380px;
	width: 270px;
	opacity: 1;
	transform: none;
	cursor: pointer;
}

.product-card__image {
	position: relative;
	width: 100%;
	height: 180px;
	padding-top: 0;
	border-radius: 16px;
	overflow: hidden;
	background: radial-gradient(circle at 30% 30%, rgba(255,107,53,0.18), rgba(255,255,255,0.02));
	border: 2px solid rgba(255, 255, 255, 0.12);
	flex-shrink: 0;
}

.product-card__image.no-img {
	display: flex;
	align-items: center;
	justify-content: center;
	color: rgba(255, 255, 255, 0.7);
	font-weight: 700;
	letter-spacing: 0.02em;
}

.product-card__image img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform var(--transition);
}

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

.product-card.visible {
	opacity: 1;
	transform: translateY(0);
}

.product-card:hover {
	transform: translateY(-6px) scale(1.02);
	box-shadow: 0 24px 56px rgba(0, 0, 0, 0.35);
	border-color: rgba(255, 107, 53, 0.4);
}

.product-card:hover {
	transform: translateY(-3px);
	border-color: rgba(255, 107, 53, 0.35);
	box-shadow: 0 24px 50px rgba(255, 107, 53, 0.24);
}

.product-card__tag {
	display: inline-flex;
	align-self: flex-start;
	padding: 6px 10px;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	background: rgba(255, 255, 255, 0.06);
	font-size: 11px;
	letter-spacing: 0.02em;
	color: #f1f1f1;
	flex-shrink: 0;
}

.product-card__meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	color: rgba(255, 255, 255, 0.82);
	flex-wrap: wrap;
}

.price {
	color: #ffb58a;
	font-weight: 800;
}

.product-card__actions {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-top: auto;
}

.product-card__actions .xf-btn {
	padding: 8px 12px;
	font-size: 12px;
	width: 100%;
	justify-content: center;
}

.empty-state {
	margin-top: 18px;
	padding: 18px;
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px dashed rgba(255, 255, 255, 0.18);
	color: rgba(255, 255, 255, 0.82);
}

.shop__footer-cta {
	display: flex;
	justify-content: center;
	margin: 18px 0 0;
}

/* ------------------- History ---------------------*/
.history {
	margin-top: 26px;
	padding: 18px;
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.08);
}

.history__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 12px;
}

.history__list {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.history-chip {
	padding: 8px 12px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.12);
	cursor: pointer;
	transition: all var(--transition);
}

.history-chip:hover {
	background: rgba(255, 107, 53, 0.18);
	border-color: rgba(255, 107, 53, 0.4);
}

/* ------------------- Footer ---------------------*/
.footer {
	padding: clamp(30px, 5vw, 60px) 0;
	background: #0d0d0d;
	color: #b5b5b5;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-container {
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
	align-items: center;
	justify-content: space-between;
	max-width: var(--page-max);
	margin: 0 auto;
	padding: 0 var(--pad-x);
}

.footer-left {
	flex: 1 1 auto;
}

.footer-text {
	margin: 0;
	font-size: 13px;
	color: #a8a8a8;
	max-width: 520px;
	line-height: 1.6;
}

.footer-center {
	display: flex;
	gap: 12px;
	align-items: center;
}

.footer-social-link {
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.06);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	text-decoration: none;
	transition: all 0.3s ease;
	border: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-social-link:hover {
	background: rgba(255, 107, 53, 0.18);
	border-color: rgba(255, 107, 53, 0.4);
	transform: translateY(-3px);
	box-shadow: 0 12px 28px rgba(255, 107, 53, 0.25);
}

.footer-social-link svg {
	width: 20px;
	height: 20px;
}

.footer-right {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 8px;
}

.back-to-top {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 16px;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.08);
	color: #fff;
	text-decoration: none;
	font-size: 13px;
	font-weight: 600;
	transition: all 0.3s ease;
}

.back-to-top:hover {
	background: rgba(255, 107, 53, 0.18);
	border-color: rgba(255, 107, 53, 0.4);
	transform: translateY(-3px);
}

.back-to-top svg {
	width: 18px;
	height: 18px;
	transition: transform 0.3s ease;
}

.back-to-top:hover svg {
	transform: translateY(-3px);
}

/* ------------------- Catalog Page ---------------------*/
.catalog-hero {
	padding: var(--pad-y) 0 clamp(40px, 6vw, 60px);
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0));
}

.catalog-hero__inner {
	text-align: center;
	max-width: 800px;
	margin: 0 auto;
}

.catalog-main {
	padding: 0 0 var(--pad-y);
}

.catalog-toolbar {
	display: flex;
	flex-wrap: wrap;
	gap: 18px;
	align-items: flex-end;
	margin-bottom: 24px;
	padding: 24px;
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 18px;
}

.catalog-search-wrapper {
	flex: 1 1 300px;
}

.catalog-search {
	display: flex;
	gap: 10px;
	width: 100%;
}

.catalog-search input {
	flex: 1;
	min-width: 200px;
	padding: 12px 16px;
	border-radius: 12px;
	border: 1px solid rgba(255, 255, 255, 0.18);
	background: rgba(255, 255, 255, 0.06);
	color: #fff;
	outline: none;
	transition: border-color var(--transition), box-shadow var(--transition);
}

.catalog-search input:focus {
	border-color: rgba(255, 107, 53, 0.6);
	box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.18);
}

.catalog-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	align-items: center;
}

.filter-group {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.filter-group label {
	font-size: 12px;
	color: rgba(255, 255, 255, 0.7);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.filter-select {
	padding: 10px 14px;
	border-radius: 10px;
	border: 1px solid rgba(255, 255, 255, 0.18);
	background: rgba(255, 255, 255, 0.06);
	color: #fff;
	font-size: 14px;
	outline: none;
	cursor: pointer;
	transition: all var(--transition);
	min-width: 160px;
}

.filter-select:hover,
.filter-select:focus {
	border-color: rgba(255, 107, 53, 0.5);
	background: rgba(255, 255, 255, 0.08);
}

.catalog-count {
	margin-bottom: 18px;
	padding: 12px 18px;
	background: rgba(255, 107, 53, 0.12);
	border: 1px solid rgba(255, 107, 53, 0.3);
	border-radius: 12px;
	display: inline-block;
}

.catalog-count strong {
	color: #ffb58a;
	font-weight: 800;
}

.catalog-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(250px, 250px));
	gap: 18px;
	justify-content: center;
}

.contact-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 18px;
}

.contact-card {
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 18px;
	padding: 18px;
	box-shadow: 0 18px 38px rgba(0, 0, 0, 0.24);
}

.contact-card a {
	color: #ffb58a;
	text-decoration: none;
}

.contact-card a:hover {
	color: #ff8a4b;
}


