:root {
	--ink: #121417;
	--paper: #fbfaf7;
	--muted: #f1eee8;
	--line: rgba(18, 20, 23, .12);
	--accent: #0f766e;
	--accent-2: #f97316;
	--soft: #e6f4f1;
	--shadow: 0 22px 70px rgba(18, 20, 23, .12);
	--font: Inter, system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); line-height: 1.55; }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; height: auto; object-fit: cover; }
button, input, select, textarea { font: inherit; }
.container { width: min(1160px, calc(100% - 32px)); margin: 0 auto; }
.narrow { max-width: 780px; }
.skip-link { position: absolute; left: -999px; top: 1rem; background: var(--ink); color: #fff; padding: .7rem 1rem; z-index: 50; }
.skip-link:focus { left: 1rem; }

.site-header {
	position: sticky; top: 0; z-index: 20;
	display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem;
	padding: .8rem max(1rem, calc((100vw - 1160px) / 2));
	background: rgba(251,250,247,.93); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: .75rem; min-width: 0; }
.brand-mark { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; background: var(--ink); color: #fff; font-weight: 900; }
.brand strong, .brand small { display: block; }
.brand small { color: rgba(18,20,23,.58); font-size: .78rem; }
.site-nav { justify-self: end; display: flex; align-items: center; gap: .9rem; font-weight: 800; font-size: .92rem; }
.main-site { color: var(--accent); }
.lang-switch { display: flex; gap: .35rem; }
.lang-switch a, .cart-link {
	border: 1px solid var(--line); background: #fff; border-radius: 10px; padding: .45rem .65rem;
}
.lang-switch .is-active { background: var(--ink); color: #fff; }
.cart-link { font-weight: 900; white-space: nowrap; }
.cart-link span, .mobile-cart span { display: inline-grid; min-width: 22px; height: 22px; place-items: center; border-radius: 999px; background: var(--accent-2); color: #fff; font-size: .78rem; }
.nav-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--line); background: #fff; border-radius: 10px; }
.nav-toggle span { display: block; width: 22px; height: 2px; margin: 5px auto; background: var(--ink); }

.button {
	display: inline-flex; align-items: center; justify-content: center; min-height: 46px; border: 1px solid transparent;
	border-radius: 10px; padding: .85rem 1.1rem; font-weight: 900; cursor: pointer;
}
.button.primary { background: var(--accent); color: #fff; box-shadow: 0 16px 35px rgba(15,118,110,.22); }
.button.secondary { background: var(--ink); color: #fff; }
.button.ghost { border-color: rgba(255,255,255,.5); color: #fff; background: rgba(255,255,255,.1); }
.button.ghost-dark { border-color: var(--line); color: var(--ink); background: #fff; }
.button.wide { width: 100%; }

.hero { position: relative; min-height: 84vh; display: grid; align-items: end; overflow: hidden; background: var(--ink); }
.hero > img { position: absolute; inset: 0; height: 100%; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18,20,23,.86), rgba(18,20,23,.48), rgba(18,20,23,.12)); }
.hero-content { position: relative; width: min(850px, calc(100% - 32px)); margin: 0 auto; padding: 8rem 0 4rem; color: #fff; }
.eyebrow { margin: 0 0 .7rem; color: var(--accent-2); font-size: .78rem; font-weight: 900; text-transform: uppercase; letter-spacing: 0; }
h1, h2, h3 { margin: 0; line-height: 1.02; letter-spacing: 0; }
h1 { font-size: clamp(3.1rem, 7vw, 6.6rem); max-width: 820px; }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: 1.15rem; }
.hero p { max-width: 680px; color: rgba(255,255,255,.84); font-size: 1.08rem; }
.actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 1.4rem; }

.trust-strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--line); border-bottom: 1px solid var(--line); }
.trust-strip span { background: #fff; padding: .9rem; text-align: center; font-weight: 800; font-size: .9rem; }
.section { padding: 5rem 0; }
.section.muted, .page-hero { background: var(--muted); }
.page-hero { padding: 4rem 0 2rem; }
.section-head { max-width: 760px; margin-bottom: 1.6rem; }
.section-head p:not(.eyebrow), .legal p { color: rgba(18,20,23,.68); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; }
.promo { background: var(--soft); }

.shop-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1.25rem; }
.filters { display: flex; flex-wrap: wrap; gap: .5rem; }
.filters button, .sorts select {
	border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: .65rem .9rem; font-weight: 900; cursor: pointer;
}
.filters .is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.product-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; box-shadow: 0 12px 35px rgba(18,20,23,.07); }
.product-card img { aspect-ratio: 1 / 1.05; transition: transform .25s ease; }
.product-card:hover img { transform: scale(1.04); }
.product-card > div { padding: 1rem; }
.stock { display: inline-block; color: var(--accent); font-weight: 900; font-size: .78rem; margin-bottom: .4rem; }
.product-card p { color: rgba(18,20,23,.62); font-size: .92rem; min-height: 3.9rem; }
.price { display: flex; align-items: baseline; gap: .5rem; margin: .75rem 0; }
.price del { color: rgba(18,20,23,.45); }
.price strong { color: var(--accent); font-size: 1.18rem; }
.price.large strong { font-size: 2rem; }
.card-actions { display: grid; grid-template-columns: 1fr; gap: .5rem; }
.product-card.is-hidden { display: none; }

.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.category-card { position: relative; overflow: hidden; border-radius: 12px; min-height: 240px; color: #fff; background: var(--ink); }
.category-card img { height: 100%; min-height: 240px; filter: brightness(.72); }
.category-card span { position: absolute; left: 1rem; bottom: 1rem; font-size: 1.35rem; font-weight: 900; }

.product-layout { display: grid; grid-template-columns: 1.05fr .95fr; gap: 2.5rem; align-items: start; }
.gallery > img { border-radius: 14px; box-shadow: var(--shadow); aspect-ratio: 1 / 1; }
.thumbs { display: grid; grid-template-columns: repeat(2, 1fr); gap: .7rem; margin-top: .7rem; }
.thumbs img { border-radius: 10px; aspect-ratio: 1 / .65; }
.product-info { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 1.4rem; box-shadow: var(--shadow); }
.rating { color: #f59e0b; margin: 1rem 0; font-weight: 900; }
.rating span { color: rgba(18,20,23,.55); font-weight: 700; }
.selectors { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; margin: 1rem 0; }
.product-bullets { padding-left: 1.1rem; color: rgba(18,20,23,.67); }

.cart-layout { display: grid; grid-template-columns: 1.35fr .65fr; gap: 1.2rem; align-items: start; }
.cart-panel, .summary-card, .account-card, form {
	background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 1.2rem; box-shadow: var(--shadow);
}
.cart-row { display: grid; grid-template-columns: 72px 1fr auto; gap: .8rem; align-items: center; padding: .85rem 0; border-bottom: 1px solid var(--line); }
.cart-row img { width: 72px; height: 72px; border-radius: 10px; }
.qty { display: inline-grid; grid-template-columns: 34px 44px 34px; gap: .25rem; align-items: center; }
.qty button { border: 1px solid var(--line); background: var(--muted); border-radius: 8px; font-weight: 900; }
.qty input { text-align: center; padding: .45rem; }
.summary-line { display: flex; justify-content: space-between; gap: 1rem; padding: .45rem 0; border-bottom: 1px solid var(--line); }
.summary-line.total { font-weight: 900; font-size: 1.2rem; color: var(--accent); }
.coupon { display: grid; grid-template-columns: 1fr auto; gap: .5rem; margin-top: 1rem; }

label { display: grid; gap: .35rem; font-weight: 800; }
input, select, textarea { width: 100%; border: 1px solid var(--line); border-radius: 10px; background: #fff; padding: .82rem; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem; margin: 1rem 0; }
.span-2 { grid-column: span 2; }
.account-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 1rem; }
.contact-form { margin-top: 1rem; }

.site-footer { background: var(--ink); color: #fff; padding: 2.3rem 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 1rem; }
.footer-grid a, .footer-grid span, .footer-grid p { display: block; color: rgba(255,255,255,.7); margin: .25rem 0; }
.toast { position: fixed; right: 1rem; bottom: 1rem; z-index: 40; background: var(--ink); color: #fff; border-radius: 12px; padding: 1rem 1.1rem; box-shadow: var(--shadow); }
.toast[hidden] { display: none; }
.mobile-cart { display: none; }
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
	.site-header { grid-template-columns: auto auto auto; }
	.nav-toggle { display: block; justify-self: end; }
	.site-nav { position: fixed; top: 73px; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; padding: 1rem; background: var(--paper); border-bottom: 1px solid var(--line); }
	.site-nav.is-open { display: flex; }
	.site-nav a { padding: .8rem; border-bottom: 1px solid var(--line); }
	.product-grid { grid-template-columns: repeat(2, 1fr); }
	.category-grid, .trust-strip { grid-template-columns: repeat(2, 1fr); }
	.product-layout, .cart-layout, .split, .account-grid { grid-template-columns: 1fr; }
	.shop-toolbar { align-items: flex-start; flex-direction: column; }
	.mobile-cart { display: flex; position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 25; justify-content: center; gap: .5rem; align-items: center; background: var(--ink); color: #fff; padding: .9rem; border-radius: 12px; font-weight: 900; box-shadow: var(--shadow); }
}

@media (max-width: 560px) {
	.container { width: min(100% - 24px, 1160px); }
	.brand small { display: none; }
	h1 { font-size: 2.8rem; }
	.hero { min-height: 78vh; }
	.section { padding: 3.5rem 0; }
	.product-grid, .category-grid, .trust-strip { grid-template-columns: 1fr; }
	.form-grid, .selectors, .coupon { grid-template-columns: 1fr; }
	.span-2 { grid-column: auto; }
	.cart-row { grid-template-columns: 60px 1fr; }
	.cart-row > strong { grid-column: 2; }
	.cart-link { display: none; }
}
