:root {
	--primary: #0e8f0b;
	--primary-dark: #0a7008;
	--primary-soft: #e8f5e7;
	--accent: #1489cb;
	--title: #242424;
	--text: #767676;
	--link: #333;
	--border: #e6e6e6;
	--bg-soft: #f7f7f7;
	--sale: #e22d2d;
	--font-text: "Jost", Arial, Helvetica, sans-serif;
	--font-title: "Hanken Grotesk", Arial, Helvetica, sans-serif;
	--container: 1222px;
	--radius: 8px;
	--radius-lg: 12px;
	--shadow: 0 10px 30px rgba(0, 0, 0, .08);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--font-text);
	font-size: 14px;
	line-height: 1.6;
	color: var(--text);
	background: #fff;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary); }
h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-title);
	color: var(--title);
	font-weight: 600;
	line-height: 1.25;
	margin: 0 0 .6em;
}
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
button, input, select, textarea { font: inherit; color: inherit; }
.screen-reader-text, .skip-link {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}
.skip-link:focus { clip: auto; width: auto; height: auto; z-index: 1000; background: #fff; padding: 8px 12px; left: 8px; top: 8px; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

.container { width: 100%; max-width: calc(var(--container) + 30px); margin: 0 auto; padding: 0 15px; }
.section { padding: 40px 0; }
.section--tight { padding: 24px 0; }

.ic { flex-shrink: 0; }
.icon-btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: none;
	border: 0;
	padding: 4px;
	cursor: pointer;
	color: var(--title);
}
.bubble {
	position: absolute;
	top: -3px;
	right: -6px;
	min-width: 16px;
	height: 16px;
	padding: 0 4px;
	border-radius: 8px;
	background: var(--primary);
	color: #fff;
	font-size: 10px;
	line-height: 16px;
	text-align: center;
	font-weight: 600;
}

.btn, .button, button.button, a.button, input[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-height: 42px;
	padding: 10px 22px;
	border: 0;
	border-radius: var(--radius);
	background: var(--primary);
	color: #fff;
	font-family: var(--font-title);
	font-size: 13px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .3px;
	cursor: pointer;
	transition: background .2s, color .2s, box-shadow .2s;
}
.btn:hover, .button:hover, button.button:hover, a.button:hover, input[type="submit"]:hover { background: var(--primary-dark); color: #fff; }
.btn--dark { background: #1f1f1f; }
.btn--dark:hover { background: #000; }
.btn--ghost { background: #fff; color: var(--title); border: 1px solid var(--border); }
.btn--ghost:hover { background: var(--bg-soft); color: var(--title); }

input[type="text"], input[type="email"], input[type="tel"], input[type="password"], input[type="search"], input[type="number"], select, textarea {
	width: 100%;
	min-height: 42px;
	padding: 8px 14px;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	background: #fff;
	color: var(--title);
	transition: border-color .2s;
}
input:focus, select:focus, textarea:focus { border-color: var(--primary); outline: none; }
textarea { min-height: 140px; resize: vertical; }

/* ---------- Top bar ---------- */
.topbar { background: var(--primary); color: #fff; font-size: 12px; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; min-height: 40px; gap: 16px; }
.topbar a { color: #fff; opacity: .95; }
.topbar a:hover { opacity: 1; color: #fff; }
.topbar__right { display: flex; align-items: center; gap: 14px; }
.topbar__sep { width: 1px; height: 18px; background: rgba(255, 255, 255, .35); }
.topbar__phones { white-space: nowrap; }

/* ---------- Header ---------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: #fff;
	border-bottom: 1px solid transparent;
	transition: box-shadow .2s, border-color .2s;
}
.site-header.is-stuck { box-shadow: 0 2px 12px rgba(0, 0, 0, .06); border-bottom-color: var(--border); }
.site-header__inner { display: flex; align-items: center; gap: 20px; min-height: 90px; transition: min-height .2s; }
.site-header.is-stuck .site-header__inner { min-height: 66px; }
.site-logo img { height: 62px; width: auto; transition: height .2s; }
.site-header.is-stuck .site-logo img { height: 48px; }
.header-burger { display: none; }

.main-nav__list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.main-nav__list > li > a {
	display: inline-flex;
	align-items: center;
	gap: 3px;
	padding: 10px 9px;
	font-family: var(--font-title);
	font-size: 14px;
	font-weight: 600;
	color: var(--title);
	white-space: nowrap;
}
.main-nav__list > li > a .ic { opacity: .5; }
.main-nav__list > li:hover > a { color: var(--primary); }

.mega, .drop {
	position: absolute;
	left: 0;
	right: 0;
	top: 100%;
	background: #fff;
	box-shadow: var(--shadow);
	border-top: 1px solid var(--border);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity .2s, transform .2s, visibility .2s;
}
.has-mega:hover .mega, .has-mega:focus-within .mega,
.has-drop:hover .drop, .has-drop:focus-within .drop { opacity: 1; visibility: visible; transform: none; }
.mega__inner {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 22px 28px;
	padding-top: 26px;
	padding-bottom: 26px;
	max-height: 70vh;
	overflow: auto;
}
.mega__head { display: block; font-family: var(--font-title); font-weight: 600; color: var(--title); font-size: 14px; margin-bottom: 8px; }
.mega__col ul { list-style: none; margin: 0; padding: 0; }
.mega__col li a { display: block; padding: 3px 0; font-size: 13.5px; color: var(--text); }
.mega__col li a:hover { color: var(--primary); }
.drop--brands ul {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 4px 20px;
	list-style: none;
	max-width: calc(var(--container) + 30px);
	margin: 0 auto;
	padding: 24px 15px;
}
.drop--brands a { display: block; padding: 4px 0; color: var(--text); }

.header-search {
	position: relative;
	flex: 1;
	display: flex;
	align-items: stretch;
	min-width: 220px;
	height: 42px;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	background: #fff;
}
.header-search input[type="search"] { border: 0; min-height: 0; height: 100%; border-radius: var(--radius) 0 0 var(--radius); padding: 0 15px; }
.header-search select {
	width: 170px;
	min-height: 0;
	height: 100%;
	border: 0;
	border-left: 1px solid var(--border);
	border-radius: 0;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: .3px;
	color: var(--text);
	cursor: pointer;
}
.search-form button[type="submit"] {
	width: 46px;
	border: 0;
	border-radius: 0 var(--radius) var(--radius) 0;
	background: var(--primary);
	color: #fff;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin: -1px -1px -1px 0;
}
.search-form button[type="submit"]:hover { background: var(--primary-dark); }
.live-results {
	position: absolute;
	left: 0;
	right: 0;
	top: calc(100% + 6px);
	z-index: 20;
	background: #fff;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	max-height: 420px;
	overflow: auto;
}
.live-results a { display: flex; align-items: center; gap: 12px; padding: 8px 12px; border-bottom: 1px solid var(--border); }
.live-results a:last-child { border-bottom: 0; }
.live-results img { width: 46px; height: 46px; object-fit: contain; }
.live-results .lr-name { color: var(--title); font-size: 13px; line-height: 1.35; }
.live-results .lr-price { color: var(--primary); font-weight: 600; font-size: 13px; }
.live-results .lr-empty { padding: 12px; }

.header-actions { display: flex; align-items: center; gap: 16px; }
.header-login { font-family: var(--font-title); font-weight: 600; color: var(--title); white-space: nowrap; }
.header-cart { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-title); font-weight: 600; color: var(--title); }
.header-cart__total .amount { white-space: nowrap; }

/* ---------- Drawer (mobile) ---------- */
.drawer { position: fixed; inset: 0; z-index: 100; }
.drawer[hidden] { display: none; }
.drawer__backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .45); }
.drawer__panel {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	z-index: 1;
	width: min(340px, 88vw);
	background: #fff;
	overflow: auto;
	animation: drawer-in .25s ease;
}
@keyframes drawer-in { from { transform: translateX(-100%); } to { transform: none; } }
.drawer__top { display: flex; gap: 8px; align-items: center; padding: 12px; border-bottom: 1px solid var(--border); }
.drawer-search { position: relative; display: flex; flex: 1; height: 40px; border: 1px solid var(--border); border-radius: var(--radius); }
.drawer-search input[type="search"] { border: 0; min-height: 0; }
.drawer__tabs { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--border); }
.drawer__tabs button {
	padding: 14px;
	background: var(--bg-soft);
	border: 0;
	border-bottom: 2px solid transparent;
	font-family: var(--font-title);
	font-weight: 600;
	text-transform: uppercase;
	font-size: 13px;
	cursor: pointer;
	color: var(--title);
}
.drawer__tabs button.is-active { background: #fff; border-bottom-color: var(--primary); }
.drawer__pane { display: none; }
.drawer__pane.is-active { display: block; }
.drawer__list { list-style: none; margin: 0; padding: 0; }
.drawer__list > li { position: relative; border-bottom: 1px solid var(--border); }
.drawer__list a { display: block; padding: 13px 18px; color: var(--title); font-weight: 500; }
.drawer__toggle {
	position: absolute;
	right: 0;
	top: 0;
	width: 50px;
	height: 48px;
	background: none;
	border: 0;
	border-left: 1px solid var(--border);
	cursor: pointer;
}
.drawer__toggle[aria-expanded="true"] .ic { transform: rotate(180deg); }
.drawer__sub { display: none; list-style: none; padding: 0 0 8px 16px; margin: 0; }
.drawer__toggle[aria-expanded="true"] + .drawer__sub { display: block; }
.drawer__sub a { padding: 7px 18px; font-weight: 400; color: var(--text); }

/* ---------- Title band ---------- */
.title-band { background: #0b0b0b; color: #fff; padding: 48px 0; text-align: center; }
.title-band__title { display: inline-flex; align-items: center; gap: 12px; color: #fff; font-size: clamp(30px, 4vw, 48px); font-weight: 600; margin: 0; }
.title-band__back { color: #fff; display: inline-flex; }
.title-band__back:hover { color: var(--primary); }

/* ---------- Section headings ---------- */
.sec-head { text-align: center; margin-bottom: 30px; }
.sec-head__sub { display: block; color: var(--primary); font-size: 14px; margin-bottom: 4px; }
.sec-head__title { font-size: clamp(24px, 2.6vw, 34px); margin: 0; }
.sec-head__desc { max-width: 980px; margin: 12px auto 0; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); padding: 44px 0 30px; margin-top: 40px; text-align: center; }
.site-footer__logo img { height: 74px; width: auto; margin: 0 auto 22px; }
.footer-links ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 26px; list-style: none; margin: 0 0 22px; padding: 0; }
.footer-links a { color: var(--title); font-weight: 500; }
.footer-links a:hover { color: var(--primary); }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; border-top: 1px solid var(--border); padding-top: 22px; }
.copyright { margin: 0; }
.footer-social { display: flex; gap: 22px; }
.footer-social a { display: inline-flex; align-items: center; gap: 6px; color: var(--title); }

.wa-float {
	position: fixed;
	right: 0;
	top: 50%;
	z-index: 40;
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 12px 8px;
	background: var(--accent);
	color: #fff;
	border-radius: 8px 0 0 8px;
	writing-mode: vertical-rl;
	transform: translateY(-50%) rotate(180deg);
	font-size: 12px;
	font-weight: 600;
	box-shadow: var(--shadow);
}
.wa-float .ic { transform: rotate(90deg); width: 20px; height: 20px; }
.wa-float:hover { color: #fff; background: #25d366; }
.to-top {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 40;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	border: 0;
	background: #fff;
	box-shadow: var(--shadow);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--title);
	cursor: pointer;
	opacity: 0;
	visibility: hidden;
	transition: opacity .2s, visibility .2s;
}
.to-top.is-visible { opacity: 1; visibility: visible; }

/* ---------- Content pages ---------- */
.page-wrap { padding: 50px 0 20px; }
.entry-content { color: var(--text); font-size: 15px; }
.entry-content h2 { font-size: 24px; margin-top: 1.4em; }
.entry-content h3 { font-size: 19px; margin-top: 1.2em; }
.entry-content a:not(.button):not(.btn) { color: var(--primary); }
.entry-content img { border-radius: var(--radius); }
.narrow { max-width: 900px; margin: 0 auto; }
.empty-note { text-align: center; padding: 20px; }

.info-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 30px 0; }
.info-card { border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; text-align: center; }
.info-card .ic { color: var(--primary); margin: 0 auto 12px; }
.info-card h3 { font-size: 18px; margin-bottom: 6px; }
.info-card p { margin: 0; }

.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 0 0 20px; }
.contact-list li { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.contact-list .ic { color: var(--primary); margin-top: 2px; }
.contact-list strong { display: block; color: var(--title); font-family: var(--font-title); }
.contact-form { display: grid; gap: 14px; }
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form .hp { position: absolute; left: -9999px; }
.contact-form p { margin: 0; }
.contact-form label { display: block; margin-bottom: 4px; color: var(--title); font-weight: 500; }
.brand-pills small { color: var(--text); font-weight: 400; }
.notice { padding: 12px 16px; border-radius: var(--radius); margin-bottom: 18px; }
.notice--ok { background: var(--primary-soft); color: var(--primary-dark); }
.notice--err { background: #fdecec; color: #a32020; }
.map-embed { border: 0; width: 100%; height: 360px; border-radius: var(--radius-lg); margin-top: 30px; }

.coupon-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; }
.coupon-card {
	position: relative;
	border: 2px dashed var(--primary);
	border-radius: var(--radius-lg);
	padding: 24px;
	background: var(--primary-soft);
	text-align: center;
}
.coupon-card__amount { font-family: var(--font-title); font-size: 30px; font-weight: 700; color: var(--primary-dark); }
.coupon-card__code {
	display: inline-block;
	margin: 12px 0 8px;
	padding: 6px 16px;
	border-radius: 6px;
	background: #fff;
	font-family: monospace;
	font-size: 17px;
	letter-spacing: 1px;
	color: var(--title);
	cursor: pointer;
}
.coupon-card small { display: block; }

/* ---------- Blog ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.post-card__img { display: block; border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 16px; aspect-ratio: 16 / 10; background: var(--bg-soft); }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.post-card:hover .post-card__img img { transform: scale(1.04); }
.post-card__meta { font-size: 12px; text-transform: uppercase; letter-spacing: .4px; color: var(--primary); margin-bottom: 6px; }
.post-card__title { font-size: 19px; margin-bottom: 8px; }
.post-card__title a { color: var(--title); }
.post-card__more { font-family: var(--font-title); font-weight: 600; color: var(--title); text-transform: uppercase; font-size: 12px; letter-spacing: .4px; }
.single-post__hero { border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 30px; }
.single-post__meta { text-align: center; color: var(--primary); text-transform: uppercase; font-size: 12px; letter-spacing: .4px; margin-bottom: 8px; }
.single-post__title { text-align: center; font-size: clamp(28px, 3.4vw, 42px); }
.pagination { display: flex; justify-content: center; gap: 6px; margin: 40px 0 10px; }
.pagination .page-numbers { min-width: 38px; height: 38px; padding: 0 10px; display: inline-flex; align-items: center; justify-content: center; border-radius: var(--radius); border: 1px solid var(--border); color: var(--title); }
.pagination .current { background: var(--primary); border-color: var(--primary); color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
	.header-search select { display: none; }
	.header-login { display: none; }
}
@media (max-width: 1024px) {
	.main-nav, .header-search, .header-wishlist { display: none; }
	.header-burger { display: inline-flex; }
	.site-header__inner { min-height: 64px; justify-content: space-between; }
	.site-logo img { height: 46px; }
	.header-cart__total { display: none; }
	.info-cards, .blog-grid { grid-template-columns: 1fr 1fr; }
	.contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
	.info-cards, .blog-grid { grid-template-columns: 1fr; }
	.contact-form .row { grid-template-columns: 1fr; }
	.site-footer__bottom { justify-content: center; text-align: center; }
	.title-band { padding: 32px 0; }
	.wa-float span { display: none; }
	.topbar__right { display: none; }
	.topbar__inner { justify-content: center; text-align: center; }
}
