:root {
	--bg: #ffffff;
	--surface: #ffffff;
	--text: #111111;
	--muted: #6a6a6a;
	--line: #e9e9e9;
	--shadow-soft: 0 12px 30px rgba(20, 20, 20, 0.08);
	--shadow-hover: 0 18px 42px rgba(20, 20, 20, 0.14);
}

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: "Manrope", sans-serif;
	color: var(--text);
	background:
		radial-gradient(circle at 12% 8%, #f6f6f6 0%, #ffffff 38%),
		radial-gradient(circle at 95% 0%, #f4f4f4 0%, rgba(255, 255, 255, 0.95) 36%),
		var(--bg);
	line-height: 1.5;
}

img {
	max-width: 100%;
	display: block;
}

a {
	color: inherit;
	text-decoration: none;
}

.container {
	width: min(1120px, 92%);
	margin: 0 auto;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(6px);
	border-bottom: 1px solid var(--line);
}

.nav-wrap {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 74px;
}

.nav-actions {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.brand-logo {
	font-family: "Space Grotesk", sans-serif;
	font-size: 1.3rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.main-nav {
	display: flex;
	gap: 1.6rem;
	font-weight: 600;
	color: #272727;
}

.main-nav a {
	position: relative;
	padding-bottom: 4px;
}

.main-nav a::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 0;
	height: 1.5px;
	background: #111;
	transition: width 0.25s ease;
}

.main-nav a:hover::after {
	width: 100%;
}

.cart-toggle {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	padding: 0.7rem 0.95rem;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: #fff;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cart-toggle:hover {
	transform: translateY(-2px);
	box-shadow: var(--shadow-soft);
}

.cart-count {
	display: inline-grid;
	place-items: center;
	min-width: 24px;
	height: 24px;
	padding: 0 0.35rem;
	border-radius: 999px;
	background: #111;
	color: #fff;
	font-size: 0.82rem;
}

.menu-toggle {
	display: none;
	border: 1px solid var(--line);
	background: #fff;
	width: 44px;
	height: 44px;
	border-radius: 10px;
	cursor: pointer;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 6px;
}

.menu-toggle span {
	display: block;
	width: 18px;
	height: 2px;
	background: #111;
	transition: transform 0.2s ease;
}

.hero {
	display: grid;
	grid-template-columns: 1fr 1.1fr;
	gap: 2.25rem;
	align-items: center;
	padding: 4.2rem 0 3.2rem;
}

.eyebrow {
	font-family: "Space Grotesk", sans-serif;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: #5a5a5a;
	font-size: 0.76rem;
	margin-bottom: 0.8rem;
}

.hero h1 {
	font-size: clamp(2.1rem, 5vw, 4.1rem);
	line-height: 1.04;
	margin-bottom: 1rem;
}

.hero-text {
	color: #444;
	max-width: 56ch;
	margin-bottom: 1.6rem;
}

.hero-media img {
	border-radius: 22px;
	box-shadow: var(--shadow-soft);
	object-fit: cover;
	height: clamp(280px, 45vw, 520px);
	width: 100%;
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 128px;
	padding: 0.72rem 1.1rem;
	font-weight: 700;
	border-radius: 10px;
	border: 1px solid #111;
	transition: all 0.25s ease;
	cursor: pointer;
}

.btn-dark {
	background: #111;
	color: #fff;
}

.btn-dark:hover {
	background: #000;
	transform: translateY(-2px);
}

.btn-outline {
	background: #fff;
	color: #111;
}

.btn-outline:hover {
	background: #111;
	color: #fff;
}

section {
	padding: 2.2rem 0;
}

.section-heading {
	margin-bottom: 1.2rem;
}

.section-heading h2 {
	font-size: clamp(1.45rem, 3vw, 2.1rem);
	letter-spacing: -0.02em;
}

.product-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 16px;
}

.card {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: 16px;
	overflow: hidden;
	box-shadow: var(--shadow-soft);
	transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.card:hover {
	transform: translateY(-8px);
	box-shadow: var(--shadow-hover);
}

.card img {
	width: 100%;
	height: 190px;
	object-fit: cover;
}

.card-body {
	padding: 1rem 1rem 1.1rem;
}

.card-actions {
	display: flex;
	gap: 0.65rem;
	flex-wrap: wrap;
}

.card-actions .btn {
	min-width: 0;
	flex: 1 1 140px;
}

.card h3,
.card h4 {
	font-size: 1.03rem;
	margin-bottom: 0.45rem;
}

.price {
	color: #343434;
	font-weight: 800;
	margin-bottom: 0.8rem;
}

.brands {
	padding-top: 2.8rem;
}

.brand-block {
	margin-bottom: 2rem;
}

.brand-block h3 {
	font-size: 1.35rem;
	margin-bottom: 0.8rem;
	letter-spacing: -0.015em;
}

.site-footer {
	margin-top: 1.2rem;
	border-top: 1px solid var(--line);
	background: #fff;
}

.overlay {
	position: fixed;
	inset: 0;
	background: rgba(17, 17, 17, 0.28);
	backdrop-filter: blur(3px);
	z-index: 70;
}

.cart-drawer {
	position: fixed;
	top: 0;
	right: 0;
	width: min(420px, 100%);
	height: 100vh;
	padding: 1.25rem;
	background: #fff;
	border-left: 1px solid var(--line);
	box-shadow: -18px 0 48px rgba(20, 20, 20, 0.12);
	display: flex;
	flex-direction: column;
	gap: 1rem;
	transform: translateX(100%);
	transition: transform 0.3s ease;
	z-index: 80;
}

.cart-drawer.open {
	transform: translateX(0);
}

.cart-header,
.cart-total-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

.icon-button {
	border: 1px solid var(--line);
	background: #fff;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	font-size: 1.5rem;
	line-height: 1;
	cursor: pointer;
}

.cart-items {
	flex: 1;
	overflow: auto;
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
	padding-right: 0.2rem;
}

.cart-item,
.modal-card {
	border: 1px solid var(--line);
	border-radius: 18px;
	background: #fff;
	box-shadow: var(--shadow-soft);
}

.cart-item {
	display: grid;
	grid-template-columns: 84px 1fr auto;
	gap: 0.8rem;
	padding: 0.75rem;
	align-items: center;
}

.cart-item img {
	width: 84px;
	height: 84px;
	border-radius: 14px;
	object-fit: cover;
}

.cart-item h3 {
	font-size: 0.98rem;
	margin-bottom: 0.2rem;
}

.cart-item p {
	color: var(--muted);
	font-size: 0.92rem;
}

.cart-item button {
	border: 0;
	background: transparent;
	color: #6f6f6f;
	font: inherit;
	cursor: pointer;
}

.cart-empty {
	color: var(--muted);
	padding: 0.5rem 0;
}

.cart-footer {
	border-top: 1px solid var(--line);
	padding-top: 1rem;
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.cart-checkout {
	width: 100%;
}

.product-modal {
	position: fixed;
	inset: 0;
	display: grid;
	place-items: center;
	padding: 1.2rem;
	z-index: 90;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.28s ease;
}

.product-modal.open {
	opacity: 1;
	pointer-events: auto;
}

.modal-card {
	position: relative;
	width: min(920px, 100%);
	display: grid;
	grid-template-columns: 1fr 1fr;
	overflow: hidden;
}

.modal-close {
	position: absolute;
	top: 1rem;
	right: 1rem;
	z-index: 2;
}

.modal-media img {
	width: 100%;
	height: 100%;
	min-height: 320px;
	object-fit: cover;
}

.modal-content {
	padding: 2rem;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 0.95rem;
}

.modal-price {
	font-size: 1.4rem;
	font-weight: 800;
}

.modal-description {
	color: #4a4a4a;
	max-width: 44ch;
}

.modal-actions {
	display: flex;
	gap: 0.8rem;
	flex-wrap: wrap;
	margin-top: 0.3rem;
}

body.panel-open {
	overflow: hidden;
}

.footer-wrap {
	padding: 2.6rem 0 3.3rem;
	text-align: center;
}

.footer-wrap h2 {
	font-size: 1.35rem;
	margin-bottom: 0.4rem;
}

.footer-wrap p {
	color: #3d3d3d;
}

.copyright {
	margin-top: 0.7rem;
	color: #676767;
	font-size: 0.95rem;
}

.section-reveal {
	opacity: 0;
	transform: translateY(16px);
	animation: revealUp 0.7s ease forwards;
}

.product-grid .section-reveal:nth-child(2) {
	animation-delay: 0.08s;
}

.product-grid .section-reveal:nth-child(3) {
	animation-delay: 0.16s;
}

.product-grid .section-reveal:nth-child(4) {
	animation-delay: 0.24s;
}

@keyframes revealUp {
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (max-width: 960px) {
	.product-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.hero {
		grid-template-columns: 1fr;
		padding-top: 2.2rem;
	}

	.hero-content {
		order: 2;
	}

	.hero-media {
		order: 1;
	}

	.menu-toggle {
		display: inline-flex;
	}

	.main-nav {
		position: absolute;
		left: 4%;
		right: 4%;
		top: 72px;
		display: none;
		flex-direction: column;
		padding: 1rem;
		border: 1px solid var(--line);
		border-radius: 14px;
		background: #fff;
		box-shadow: var(--shadow-soft);
	}

	.main-nav.open {
		display: flex;
	}

	.modal-card {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 620px) {
	.product-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 10px;
	}

	.hero h1 {
		font-size: clamp(1.8rem, 8vw, 2.4rem);
	}

	.card img {
		height: 150px;
	}

	.card-body {
		padding: 0.65rem 0.7rem 0.8rem;
	}

	.card h3,
	.card h4 {
		font-size: 0.82rem;
	}

	.price {
		font-size: 0.82rem;
	}

	.cart-item {
		grid-template-columns: 72px 1fr;
	}

	.cart-item button {
		grid-column: 2;
		justify-self: start;
	}

	.modal-content {
		padding: 1.25rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	.card,
	.btn,
	.section-reveal {
		animation: none;
		transition: none;
	}

	.section-reveal {
		opacity: 1;
		transform: none;
	}
}
