:root {
	--dovlo-ink: #111111;
	--dovlo-muted: #6b6b66;
	--dovlo-line: #e7e7e2;
	--dovlo-soft: #f6f6f3;
	--dovlo-paper: #ffffff;
	--dovlo-danger: #b42318;
	--dovlo-success: #176b4d;
	--dovlo-radius-sm: 10px;
	--dovlo-radius: 18px;
	--dovlo-radius-lg: 30px;
	--dovlo-container: 1280px;
	--dovlo-shadow: 0 18px 60px rgb(0 0 0 / 8%);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--dovlo-paper);
	color: var(--dovlo-ink);
	font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 17px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
body.dovlo-menu-open { overflow: hidden; }
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .18em; }
button, input, select, textarea { color: inherit; font: inherit; }
button { cursor: pointer; }
.container { width: min(calc(100% - 32px), var(--dovlo-container)); margin-inline: auto; }
.site-main { min-height: 62vh; }

.screen-reader-text {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}
.screen-reader-text:focus {
	position: fixed !important;
	z-index: 100000;
	top: 12px;
	left: 12px;
	width: auto !important;
	height: auto !important;
	padding: 12px 16px !important;
	clip: auto !important;
	background: var(--dovlo-ink);
	color: #fff;
	border-radius: 8px;
}

.site-header {
	position: sticky;
	z-index: 100;
	top: 0;
	border-bottom: 1px solid rgb(17 17 17 / 8%);
	background: rgb(255 255 255 / 94%);
	backdrop-filter: blur(14px);
}
.header-inner {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 28px;
	min-height: 72px;
}
.brand { min-width: 0; }
.brand-name { font-size: 21px; font-weight: 800; letter-spacing: -.045em; text-decoration: none; }
.custom-logo-link { display: inline-flex; }
.custom-logo { width: auto; max-width: 180px; max-height: 43px; }
.primary-nav { justify-self: center; }
.menu, .footer-menu, .menu ul {
	padding: 0;
	margin: 0;
	list-style: none;
}
.menu { display: flex; align-items: center; gap: 24px; }
.menu li { position: relative; }
.menu a, .footer-menu a {
	color: var(--dovlo-muted);
	font-size: 14px;
	font-weight: 680;
	text-decoration: none;
}
.menu a:hover, .menu a:focus-visible, .menu .current-menu-item > a, .menu .current-menu-ancestor > a { color: var(--dovlo-ink); }
.menu .sub-menu {
	position: absolute;
	top: calc(100% + 10px);
	left: -14px;
	display: none;
	min-width: 220px;
	padding: 12px;
	border: 1px solid var(--dovlo-line);
	border-radius: 14px;
	background: #fff;
	box-shadow: var(--dovlo-shadow);
}
.menu li:hover > .sub-menu, .menu li:focus-within > .sub-menu { display: grid; gap: 8px; }
.menu .sub-menu a { display: block; padding: 8px 10px; border-radius: 8px; }
.menu .sub-menu a:hover { background: var(--dovlo-soft); }
.menu-toggle {
	display: none;
	width: 42px;
	height: 42px;
	padding: 9px;
	border: 1px solid var(--dovlo-line);
	border-radius: 50%;
	background: #fff;
}
.menu-toggle > span[aria-hidden] { display: block; width: 100%; height: 2px; margin: 4px 0; background: currentColor; }
.cart-link { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 750; text-decoration: none; }
.cart-count { display: grid; min-width: 25px; height: 25px; padding-inline: 7px; place-items: center; border-radius: 999px; background: var(--dovlo-ink); color: #fff; font-size: 12px; }

.button, button.button, input.button, a.button, .wp-element-button {
	display: inline-flex;
	min-height: 50px;
	padding: 12px 22px;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--dovlo-ink);
	border-radius: 999px;
	background: var(--dovlo-ink);
	color: #fff;
	font-weight: 760;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	transition: transform 150ms ease, opacity 150ms ease;
}
.button:hover, button.button:hover, input.button:hover, a.button:hover { transform: translateY(-1px); opacity: .86; }
.button:disabled, button.button:disabled, input.button:disabled { opacity: .45; cursor: not-allowed; transform: none; }

input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="password"], input[type="search"], input[type="url"], select, textarea {
	width: 100%;
	min-height: 50px;
	padding: 11px 13px;
	border: 1px solid #d8d8d2;
	border-radius: var(--dovlo-radius-sm);
	outline: none;
	background: #fff;
}
textarea { min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--dovlo-ink); box-shadow: 0 0 0 3px rgb(17 17 17 / 8%); }
label { font-weight: 680; }

.home-layout { padding-block: clamp(32px, 6vw, 90px); }
.hero {
	display: grid;
	min-height: min(620px, 68vh);
	padding: clamp(34px, 7vw, 92px);
	align-items: center;
	border-radius: clamp(22px, 4vw, 42px);
	background: var(--dovlo-soft);
}
.hero-content { max-width: 850px; }
.hero .entry-content > :first-child { margin-top: 0; }
.hero h1 { max-width: 14ch; margin: 0 0 22px; font-size: clamp(44px, 7vw, 92px); line-height: .98; letter-spacing: -.065em; }
.hero p { max-width: 680px; margin: 0 0 28px; color: var(--dovlo-muted); font-size: clamp(18px, 2vw, 23px); }
.featured-products { padding-top: clamp(60px, 9vw, 120px); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.section-heading h2 { margin: 0; font-size: clamp(30px, 4vw, 48px); letter-spacing: -.045em; }
.section-heading a { color: var(--dovlo-muted); font-weight: 700; }

.content-shell, .commerce-layout { padding-block: clamp(42px, 7vw, 88px); }
.content-shell-narrow { max-width: 880px; }
.entry-header, .archive-header { margin-bottom: 38px; }
.entry-header h1, .archive-header h1 { max-width: 18ch; margin: 0; font-size: clamp(40px, 6vw, 72px); line-height: 1.02; letter-spacing: -.055em; }
.entry-meta { margin: 0 0 10px; color: var(--dovlo-muted); font-size: 13px; font-weight: 760; letter-spacing: .08em; text-transform: uppercase; }
.entry-content { font-size: 18px; }
.entry-content > :first-child { margin-top: 0; }
.entry-content h2 { margin: 1.8em 0 .55em; font-size: clamp(30px, 4vw, 44px); line-height: 1.1; letter-spacing: -.04em; }
.entry-content h3 { margin: 1.6em 0 .5em; font-size: 26px; line-height: 1.2; }
.entry-content p, .entry-content li { color: #33332f; }
.entry-content img { border-radius: var(--dovlo-radius); }
.entry-image { margin-bottom: 38px; overflow: hidden; border-radius: var(--dovlo-radius); }
.archive-description { color: var(--dovlo-muted); }
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.post-card a { text-decoration: none; }
.post-card-image { overflow: hidden; aspect-ratio: 4 / 3; margin-bottom: 16px; border-radius: var(--dovlo-radius); background: var(--dovlo-soft); }
.post-card-image img { width: 100%; height: 100%; object-fit: cover; }
.post-card h2 { margin: 0; font-size: 24px; line-height: 1.15; letter-spacing: -.035em; }
.nav-links { display: flex; gap: 8px; margin-top: 42px; }
.page-numbers { display: grid; min-width: 42px; height: 42px; padding: 0 12px; place-items: center; border: 1px solid var(--dovlo-line); border-radius: 999px; text-decoration: none; }
.page-numbers.current { background: var(--dovlo-ink); color: #fff; }
.empty-state { padding-block: 120px; text-align: center; }
.empty-state h1 { margin: 0 0 12px; font-size: clamp(50px, 10vw, 110px); letter-spacing: -.06em; }
.empty-state p { color: var(--dovlo-muted); }

.site-footer { margin-top: 64px; border-top: 1px solid var(--dovlo-line); }
.footer-inner { display: flex; min-height: 128px; align-items: center; justify-content: space-between; gap: 30px; color: var(--dovlo-muted); font-size: 14px; }
.footer-menu { display: flex; flex-wrap: wrap; gap: 18px; }

@media (max-width: 900px) {
	.header-inner { grid-template-columns: 1fr auto auto; min-height: 64px; gap: 12px; }
	.menu-toggle { display: block; }
	.primary-nav {
		position: fixed;
		inset: 65px 0 auto;
		display: none;
		max-height: calc(100vh - 65px);
		padding: 24px 20px 32px;
		overflow: auto;
		border-bottom: 1px solid var(--dovlo-line);
		background: #fff;
	}
	.primary-nav.is-open { display: block; }
	.menu { align-items: stretch; flex-direction: column; gap: 2px; }
	.menu a { display: block; padding: 12px 0; font-size: 17px; }
	.menu .sub-menu { position: static; display: grid; padding: 0 0 0 18px; border: 0; box-shadow: none; }
	.post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
	body { font-size: 16px; }
	.container { width: min(calc(100% - 24px), var(--dovlo-container)); }
	.cart-link > span:first-child { display: none; }
	.hero { min-height: 470px; padding: 34px 22px; }
	.hero h1 { font-size: clamp(42px, 13vw, 64px); }
	.section-heading { align-items: flex-start; flex-direction: column; }
	.post-grid { grid-template-columns: 1fr; }
	.footer-inner { align-items: flex-start; flex-direction: column; justify-content: center; padding-block: 28px; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
