﻿
:root {
	--cream: #FAF8F5;
	--warm-white: #FFFFFF;
	--sand: #F2EDE4;
	--accent: #C8965A;
	--accent-dark: #A37440;
	--text-dark: #1A1612;
	--text-mid: #4A4540;
	--text-light: #8C857C;
	--border: #E8E2D9;
	--tag-bg: #FFF3E8;
	--sale-bg: #FF4D4D;
	--shadow-hover: 0 12px 40px rgba(0,0,0,0.12);
	--radius: 12px;
}

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

body {
	font-family: 'DM Sans', sans-serif;
	background: var(--cream);
	color: var(--text-dark);
	overflow-x: hidden;
}

.topbar {
	background: var(--text-dark);
	color: #D4C5B0;
	font-size: 12px;
	letter-spacing: 0.06em;
	text-align: center;
	padding: 8px 20px;
}

	.topbar span {
		color: var(--accent);
		font-weight: 600;
	}

header {
	background: var(--warm-white);
	border-bottom: 1px solid var(--border);
	position: sticky;
	top: 0;
	z-index: 100;
	box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.header-inner {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 32px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 72px;
	gap: 24px;
}

.logo {
	font-family: 'Playfair Display', serif;
	font-size: 26px;
	font-weight: 900;
	color: var(--text-dark);
	text-decoration: none;
	letter-spacing: -0.5px;
	white-space: nowrap;
}

	.logo span {
		color: var(--accent);
	}

.search-bar {
	flex: 1;
	max-width: 480px;
	display: flex;
	align-items: center;
	background: var(--sand);
	border: 1.5px solid var(--border);
	border-radius: 50px;
	overflow: hidden;
	transition: border-color 0.2s, box-shadow 0.2s;
}

	.search-bar:focus-within {
		border-color: var(--accent);
		box-shadow: 0 0 0 3px rgba(200,150,90,0.12);
	}

	.search-bar input {
		flex: 1;
		border: none;
		background: transparent;
		padding: 10px 18px;
		font-size: 14px;
		font-family: inherit;
		color: var(--text-dark);
		outline: none;
	}

		.search-bar input::placeholder {
			color: var(--text-light);
		}

	.search-bar button {
		background: var(--accent);
		border: none;
		padding: 10px 20px;
		cursor: pointer;
		color: #fff;
		font-size: 16px;
		transition: background 0.2s;
	}

		.search-bar button:hover {
			background: var(--accent-dark);
		}

.header-actions {
	display: flex;
	align-items: center;
	gap: 8px;
}

.icon-btn {
	width: 42px;
	height: 42px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1.5px solid var(--border);
	background: var(--warm-white);
	cursor: pointer;
	font-size: 18px;
	color: var(--text-mid);
	transition: all 0.2s;
	text-decoration: none;
	position: relative;
}

	.icon-btn:hover {
		border-color: var(--accent);
		color: var(--accent);
		background: var(--tag-bg);
	}

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

.btn-account {
	background: var(--text-dark);
	color: #fff;
	border: none;
	padding: 10px 22px;
	border-radius: 50px;
	font-family: inherit;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	letter-spacing: 0.03em;
	transition: background 0.2s;
}

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

nav {
	background: var(--warm-white);
	border-bottom: 1px solid var(--border);
}

.nav-inner {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 32px;
	display: flex;
	align-items: center;
}

.nav-link {
	padding: 14px 20px;
	font-size: 13px;
	font-weight: 500;
	color: var(--text-mid);
	text-decoration: none;
	letter-spacing: 0.03em;
	border-bottom: 2px solid transparent;
	transition: all 0.2s;
	white-space: nowrap;
}

	.nav-link:hover {
		color: var(--accent);
		border-bottom-color: var(--accent);
	}

	.nav-link.active {
		color: var(--accent);
		border-bottom-color: var(--accent);
		font-weight: 600;
	}

.nav-sale {
	color: var(--sale-bg) !important;
	font-weight: 700;
}

	.nav-sale:hover {
		border-bottom-color: var(--sale-bg) !important;
	}

.hero {
	max-width: 1280px;
	margin: 32px auto;
	padding: 0 32px;
	display: grid;
	grid-template-columns: 1fr 340px;
	gap: 20px;
}

.hero-main {
	background: linear-gradient(135deg, #1A1612 0%, #2E2419 40%, #4A3520 100%);
	border-radius: 20px;
	padding: 60px 56px;
	position: relative;
	overflow: hidden;
	min-height: 400px;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
}

	.hero-main::before {
		content: '';
		position: absolute;
		inset: 0;
		background: radial-gradient(ellipse 70% 80% at 80% 20%, rgba(200,150,90,0.25) 0%, transparent 60%);
	}

	.hero-main::after {
		content: 'GREATOMAX';
		position: absolute;
		top: -20px;
		right: -20px;
		font-family: 'Playfair Display',serif;
		font-size: 160px;
		font-weight: 900;
		line-height: 1;
		color: rgba(255,255,255,0.03);
		pointer-events: none;
		user-select: none;
	}

.hero-tag {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: rgba(200,150,90,0.2);
	border: 1px solid rgba(200,150,90,0.4);
	color: var(--accent);
	padding: 6px 14px;
	border-radius: 50px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	margin-bottom: 20px;
	width: fit-content;
}

	.hero-tag::before {
		content: '★';
	}

.hero-main h1 {
	font-family: 'Playfair Display',serif;
	font-size: 52px;
	font-weight: 900;
	line-height: 1.1;
	color: #fff;
	margin-bottom: 16px;
	position: relative;
}

	.hero-main h1 em {
		color: var(--accent);
		font-style: italic;
	}

.hero-main p {
	color: rgba(255,255,255,0.6);
	font-size: 16px;
	margin-bottom: 32px;
	max-width: 380px;
	position: relative;
}

.hero-ctas {
	display: flex;
	gap: 12px;
	position: relative;
}

.btn-primary {
	background: var(--accent);
	color: #fff;
	padding: 14px 32px;
	border-radius: 50px;
	border: none;
	font-family: inherit;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
	letter-spacing: 0.04em;
	transition: all 0.25s;
}

	.btn-primary:hover {
		background: #fff;
		color: var(--accent);
		transform: translateY(-2px);
		box-shadow: 0 8px 24px rgba(200,150,90,0.4);
	}

.btn-outline-light {
	background: transparent;
	color: #fff;
	padding: 14px 28px;
	border-radius: 50px;
	border: 1.5px solid rgba(255,255,255,0.3);
	font-family: inherit;
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.25s;
}

	.btn-outline-light:hover {
		background: rgba(255,255,255,0.1);
	}

.hero-side {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.hero-card {
	flex: 1;
	border-radius: 16px;
	padding: 28px 24px;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	overflow: hidden;
	position: relative;
	cursor: pointer;
}

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

.hero-card-img {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 70px;
	transition: transform 0.4s ease;
}

.hero-card-1 {
	background: linear-gradient(145deg,#FFF3E8,#FFE0C0);
}

.hero-card-2 {
	background: linear-gradient(145deg,#E8F3FF,#C0D8FF);
}

.hero-card h3 {
	font-family: 'Playfair Display',serif;
	font-size: 16px;
	font-weight: 700;
	position: relative;
}

.hero-card p {
	font-size: 12px;
	color: var(--text-light);
	position: relative;
}

.section {
	max-width: 1280px;
	margin: 48px auto 0;
	padding: 0 32px;
}

.section-header {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	margin-bottom: 28px;
}

.section-title {
	font-family: 'Playfair Display',serif;
	font-size: 30px;
	font-weight: 700;
	color: var(--text-dark);
	line-height: 1.1;
}

	.section-title span {
		color: var(--accent);
	}

.section-subtitle {
	font-size: 14px;
	color: var(--text-light);
	margin-top: 4px;
}

.see-all {
	font-size: 13px;
	font-weight: 600;
	color: var(--accent);
	text-decoration: none;
	display: flex;
	align-items: center;
	gap: 6px;
	transition: gap 0.2s;
}

	.see-all:hover {
		gap: 10px;
	}

.cat-pills {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	margin-bottom: 28px;
}

.cat-pill {
	padding: 8px 20px;
	border-radius: 50px;
	border: 1.5px solid var(--border);
	background: var(--warm-white);
	font-size: 13px;
	font-weight: 500;
	color: var(--text-mid);
	cursor: pointer;
	transition: all 0.2s;
}

	.cat-pill:hover, .cat-pill.active {
		background: var(--accent);
		color: #fff;
		border-color: var(--accent);
	}

.products-grid {
	display: grid;
	grid-template-columns: repeat(4,1fr);
	gap: 20px;
}

.product-card {
	background: var(--warm-white);
	border-radius: var(--radius);
	overflow: hidden;
	border: 1px solid var(--border);
	transition: all 0.3s;
	cursor: pointer;
	animation: fadeUp 0.5s ease both;
}

	.product-card:hover {
		transform: translateY(-6px);
		box-shadow: var(--shadow-hover);
		border-color: transparent;
	}

@keyframes fadeUp {
	from {
		opacity: 0;
		transform: translateY(20px)
	}

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

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

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

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

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

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

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

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

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

.product-img-wrap {
	background: var(--sand);
	height: 220px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 80px;
	position: relative;
	overflow: hidden;
}

	.product-img-wrap::after {
		content: '';
		position: absolute;
		inset: 0;
		background: rgba(0,0,0,0);
		transition: background 0.3s;
	}

.product-card:hover .product-img-wrap::after {
	background: rgba(0,0,0,0.04);
}

.product-badges {
	position: absolute;
	top: 12px;
	left: 12px;
	display: flex;
	gap: 6px;
	flex-direction: column;
	z-index: 2;
}

.badge-label {
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.06em;
	padding: 4px 10px;
	border-radius: 50px;
	text-transform: uppercase;
}

.badge-sale {
	background: var(--sale-bg);
	color: #fff;
}

.badge-new {
	background: var(--text-dark);
	color: #fff;
}

.badge-hot {
	background: var(--accent);
	color: #fff;
}

.wishlist-btn {
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 2;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: var(--warm-white);
	border: 1px solid var(--border);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 15px;
	cursor: pointer;
	transition: all 0.2s;
	opacity: 0;
}

.product-card:hover .wishlist-btn {
	opacity: 1;
}

.wishlist-btn:hover {
	background: var(--tag-bg);
	border-color: var(--accent);
}

.product-info {
	padding: 16px;
}

.product-brand {
	font-size: 11px;
	font-weight: 600;
	color: var(--accent);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	margin-bottom: 4px;
}

.product-name {
	font-size: 15px;
	font-weight: 600;
	color: var(--text-dark);
	margin-bottom: 8px;
	line-height: 1.3;
}

.product-rating {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-bottom: 10px;
}

.stars {
	color: #F5A623;
	font-size: 12px;
	letter-spacing: 1px;
}

.rating-count {
	font-size: 12px;
	color: var(--text-light);
}

.product-price {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

.price-now {
	font-size: 18px;
	font-weight: 700;
	color: var(--text-dark);
}

.price-old {
	font-size: 13px;
	color: var(--text-light);
	text-decoration: line-through;
}

.price-save {
	font-size: 11px;
	font-weight: 700;
	color: var(--sale-bg);
	background: #FFF0F0;
	padding: 2px 8px;
	border-radius: 50px;
}

.add-btn {
	width: 100%;
	margin-top: 12px;
	padding: 11px;
	background: var(--text-dark);
	color: #fff;
	border: none;
	border-radius: 8px;
	font-family: inherit;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	letter-spacing: 0.04em;
	transition: all 0.2s;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
}

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

.cats-strip {
	display: grid;
	grid-template-columns: repeat(6,1fr);
	gap: 16px;
}

.cat-card {
	background: var(--warm-white);
	border-radius: 16px;
	border: 1px solid var(--border);
	padding: 24px 16px;
	text-align: center;
	cursor: pointer;
	transition: all 0.25s;
	animation: fadeUp 0.5s ease both;
}

	.cat-card:hover {
		transform: translateY(-4px);
		box-shadow: var(--shadow-hover);
		border-color: var(--accent);
	}

.cat-icon {
	font-size: 42px;
	margin-bottom: 10px;
}

.cat-name {
	font-size: 13px;
	font-weight: 600;
	color: var(--text-dark);
}

.cat-count {
	font-size: 11px;
	color: var(--text-light);
	margin-top: 2px;
}

.banners {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}

.banner {
	border-radius: 16px;
	padding: 40px;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: 220px;
	position: relative;
	overflow: hidden;
	cursor: pointer;
}

.banner-1 {
	background: linear-gradient(135deg,#1A1612,#3D2B14);
}

.banner-2 {
	background: linear-gradient(135deg,#0A1628,#1A3560);
}

.banner-bg {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	font-size: 140px;
	opacity: 0.12;
	padding-right: 20px;
}

.banner p {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--accent);
	margin-bottom: 8px;
}

.banner h3 {
	font-family: 'Playfair Display',serif;
	font-size: 26px;
	color: #fff;
	font-weight: 700;
	margin-bottom: 16px;
}

.btn-sm {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: rgba(255,255,255,0.12);
	color: #fff;
	border: 1px solid rgba(255,255,255,0.25);
	padding: 8px 20px;
	border-radius: 50px;
	font-size: 13px;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.2s;
	width: fit-content;
	font-family: inherit;
}

	.btn-sm:hover {
		background: var(--accent);
		border-color: var(--accent);
	}

.trust-strip {
	background: var(--warm-white);
	border-top: 1px solid var(--border);
	border-bottom: 1px solid var(--border);
	margin-top: 56px;
}

.trust-inner {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 32px;
	display: grid;
	grid-template-columns: repeat(4,1fr);
}

.trust-item {
	padding: 28px 24px;
	display: flex;
	align-items: center;
	gap: 16px;
	border-right: 1px solid var(--border);
}

	.trust-item:last-child {
		border-right: none;
	}

.trust-icon {
	font-size: 32px;
}

.trust-title {
	font-size: 14px;
	font-weight: 700;
	color: var(--text-dark);
}

.trust-desc {
	font-size: 12px;
	color: var(--text-light);
	margin-top: 2px;
}

footer {
	background: var(--text-dark);
	color: rgba(255,255,255,0.6);
	margin-top: 64px;
	padding: 60px 0 0;
}

.footer-inner {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 32px;
	display: grid;
	grid-template-columns: 2fr 1fr 1fr 1fr;
	gap: 40px;
}

.footer-brand p {
	font-size: 14px;
	line-height: 1.7;
	max-width: 260px;
	margin-top: 16px;
}

.footer-socials {
	display: flex;
	gap: 10px;
	margin-top: 24px;
}

.social-btn {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	border: 1px solid rgba(255,255,255,0.15);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 15px;
	cursor: pointer;
	transition: all 0.2s;
	color: rgba(255,255,255,0.6);
}

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

.footer-col h4 {
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	margin-bottom: 20px;
	letter-spacing: 0.04em;
}

.footer-col ul {
	list-style: none;
}

	.footer-col ul li {
		margin-bottom: 10px;
	}

		.footer-col ul li a {
			color: rgba(255,255,255,0.5);
			text-decoration: none;
			font-size: 14px;
			transition: color 0.2s;
		}

			.footer-col ul li a:hover {
				color: var(--accent);
			}

.footer-bottom {
	border-top: 1px solid rgba(255,255,255,0.08);
	padding: 20px 32px;
	max-width: 1280px;
	margin: 48px auto 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

	.footer-bottom p {
		font-size: 13px;
	}

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

.payment-icon {
	background: rgba(255,255,255,0.08);
	border-radius: 6px;
	padding: 4px 10px;
	font-size: 11px;
	color: rgba(255,255,255,0.6);
	font-weight: 600;
}

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

	.hero-side {
		flex-direction: row;
	}

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

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

@media(max-width:640px) {
	.header-inner {
		padding: 0 16px;
	}

	.logo {
		font-size: 20px;
	}

	.search-bar {
		display: none;
	}

	.hero, .section {
		padding: 0 16px;
	}

	.hero-main {
		padding: 32px 28px;
		min-height: 300px;
	}

		.hero-main h1 {
			font-size: 32px;
		}

	.banners, .footer-inner {
		grid-template-columns: 1fr;
	}

	.trust-inner {
		grid-template-columns: 1fr 1fr;
	}

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