:root {
	--woodghar-primary: #1D5D30;
	--woodghar-primary-dark: #123b20;
	--woodghar-secondary: #D2B48C;
	--woodghar-secondary-soft: #f0e3cf;
	--woodghar-ink: #171512;
	--woodghar-muted: #6f675c;
	--woodghar-soft-ink: #2d2a25;
	--woodghar-background: #fffdf9;
	--woodghar-surface: #f7f3eb;
	--woodghar-surface-strong: #eee5d7;
	--woodghar-border: #ded4c2;
	--woodghar-white: #ffffff;
	--woodghar-shadow: 0 24px 70px rgba(29, 44, 31, 0.12);
	--woodghar-luxury-shadow: 0 28px 80px rgba(28, 32, 26, 0.14);
	--woodghar-container: 1220px;
	--woodghar-radius: 8px;
	--woodghar-font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--woodghar-background);
	color: var(--woodghar-ink);
	font-family: var(--woodghar-font);
	font-size: 16px;
	line-height: 1.65;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
}

body.menu-open,
body.filter-open {
	overflow: hidden;
}

img,
svg,
video {
	max-width: 100%;
	height: auto;
}

img {
	display: block;
	background: var(--woodghar-surface);
	object-fit: cover;
}

button,
input,
select,
textarea {
	font: inherit;
}

button {
	cursor: pointer;
}

a {
	color: inherit;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
}

p,
h1,
h2,
h3,
h4,
h5,
h6,
figure {
	margin-top: 0;
}

p {
	color: var(--woodghar-muted);
}

.site-content,
.site-header__inner,
.site-footer__inner,
.site-footer__newsletter,
.site-footer__bottom {
	width: min(100% - 32px, var(--woodghar-container));
	margin-inline: auto;
}

.site-content {
	padding-top: 0;
}

.woodghar-icon {
	display: inline-block;
	width: 22px;
	height: 22px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.65;
	stroke-linecap: round;
	stroke-linejoin: round;
	vertical-align: middle;
}

.screen-reader-text,
.skip-link:not(:focus) {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-link:focus {
	position: fixed;
	top: 16px;
	left: 16px;
	z-index: 1000;
	padding: 10px 14px;
	background: var(--woodghar-primary);
	color: var(--woodghar-white);
	border-radius: var(--woodghar-radius);
}

.button,
.wp-element-button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 44px;
	padding: 11px 18px;
	border: 1px solid transparent;
	border-radius: var(--woodghar-radius);
	background: var(--woodghar-primary);
	color: var(--woodghar-white);
	font-size: 14px;
	font-weight: 650;
	line-height: 1.2;
	text-decoration: none;
	transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover,
.wp-element-button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover {
	background: var(--woodghar-primary-dark);
	color: var(--woodghar-white);
	transform: translateY(-1px);
	box-shadow: 0 14px 30px rgba(18, 59, 32, 0.14);
}

.button--ghost {
	background: rgba(255, 255, 255, 0.12);
	border-color: rgba(255, 255, 255, 0.45);
	color: var(--woodghar-white);
}

.button--ghost:hover {
	background: var(--woodghar-white);
	color: var(--woodghar-primary-dark);
	border-color: var(--woodghar-white);
}

.section-heading {
	max-width: 760px;
	margin-bottom: 28px;
}

.section-heading > p,
.home-hero__content > p,
.shop-hero p,
.content-page__header p,
.single-post-content__header span,
.error-404 p {
	margin-bottom: 8px;
	color: var(--woodghar-primary-dark);
	font-size: 12px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0;
}

.section-heading h2,
.content-page__header h1,
.single-post-content__header h1,
.error-404 h1 {
	margin-bottom: 0;
	color: var(--woodghar-ink);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 38px;
	line-height: 1.08;
	font-weight: 500;
	letter-spacing: 0;
}

.section-heading--split {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	max-width: none;
}

.section-heading--split a {
	color: var(--woodghar-primary-dark);
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
}

.product-card,
.post-card,
.journal-card,
.woodghar-product-card {
	position: relative;
	background: var(--woodghar-white);
	border: 0;
	border-radius: var(--woodghar-radius);
	overflow: hidden;
	transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.product-card:hover,
.post-card:hover,
.journal-card:hover,
.woodghar-product-card:hover {
	transform: translateY(-4px);
	box-shadow: none;
}

.product-card__image,
.woodghar-product-card__media,
.post-card__image,
.journal-card a > img {
	display: block;
	aspect-ratio: 4 / 5;
	background: var(--woodghar-surface);
	overflow: hidden;
}

.product-card__image img,
.woodghar-product-card__media img,
.post-card__image img,
.journal-card img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 500ms ease;
}

.product-card:hover img,
.woodghar-product-card:hover img,
.post-card:hover img,
.journal-card:hover img {
	transform: scale(1.045);
}

.product-card__body,
.woodghar-product-card__body,
.post-card__body {
	padding: 16px;
}

.product-card h3,
.woodghar-product-card h2,
.post-card h2,
.journal-card h3 {
	margin-bottom: 8px;
	font-size: 17px;
	line-height: 1.25;
	font-weight: 650;
	letter-spacing: 0;
}

.product-card h3 a,
.woodghar-product-card h2 a,
.post-card h2 a,
.journal-card a {
	color: inherit;
	text-decoration: none;
}

.product-card p,
.woodghar-product-card__price,
.price {
	margin: 0;
	color: var(--woodghar-ink);
	font-weight: 750;
}

.woodghar-breadcrumbs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	padding-top: 26px;
	color: var(--woodghar-muted);
	font-size: 13px;
	font-weight: 750;
}

.woodghar-breadcrumbs a,
.woodghar-breadcrumbs span {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	text-decoration: none;
}

.woodghar-breadcrumbs a::after {
	content: "/";
	color: rgba(111, 103, 92, 0.58);
}

.woodghar-breadcrumbs a:hover {
	color: var(--woodghar-primary-dark);
}

.woodghar-product-card {
	background: transparent;
	box-shadow: none;
}

.woodghar-product-card__media {
	border-radius: 8px;
	aspect-ratio: 4 / 5;
	background: #ece5d8;
}

.woodghar-product-card__badge {
	position: absolute;
	top: 12px;
	left: 12px;
	padding: 7px 10px;
	border-radius: 999px;
	background: rgba(255, 253, 249, 0.9);
	color: var(--woodghar-ink);
	font-size: 11px;
	font-weight: 850;
	text-transform: uppercase;
	letter-spacing: 0;
}

.woodghar-product-card__media {
	position: relative;
}

.woodghar-product-card__media > a {
	display: block;
	height: 100%;
}

.woodghar-product-card__wishlist {
	position: absolute;
	top: 12px;
	right: 12px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border: 1px solid rgba(255, 255, 255, 0.66);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.85);
	color: var(--woodghar-ink);
	transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.woodghar-product-card__wishlist:hover {
	transform: translateY(-2px);
	background: var(--woodghar-secondary);
	color: var(--woodghar-ink);
}

.woodghar-product-card__quick {
	position: absolute;
	left: 12px;
	right: 12px;
	bottom: 12px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	border-radius: var(--woodghar-radius);
	background: rgba(255, 253, 249, 0.9);
	color: var(--woodghar-ink);
	font-size: 13px;
	font-weight: 800;
	text-decoration: none;
	opacity: 0;
	transform: translateY(8px);
	transition: opacity 180ms ease, transform 180ms ease, background 180ms ease;
}

.woodghar-product-card:hover .woodghar-product-card__quick,
.woodghar-product-card:focus-within .woodghar-product-card__quick {
	opacity: 1;
	transform: translateY(0);
}

.woodghar-product-card__quick:hover {
	background: var(--woodghar-ink);
	color: var(--woodghar-white);
}

.woodghar-product-card__category {
	margin-bottom: 8px;
	color: var(--woodghar-muted);
	font-size: 12px;
	font-weight: 750;
	text-transform: uppercase;
	letter-spacing: 0;
}

.woodghar-product-card__category a {
	color: inherit;
	text-decoration: none;
}

.woodghar-product-card .button {
	width: 100%;
	margin-top: 14px;
	border-radius: 999px;
	background: var(--woodghar-ink);
}

.woodghar-product-card__meta {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	color: var(--woodghar-muted);
	font-size: 13px;
}

.woodghar-product-card__price {
	color: var(--woodghar-ink);
	font-weight: 850;
}

.woodghar-product-card__actions {
	margin-top: 14px;
}

.reveal-on-scroll {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity 500ms ease, transform 500ms ease;
}

.reveal-on-scroll.is-visible {
	opacity: 1;
	transform: translateY(0);
}

.content-page,
.single-post-content,
.site-index,
.error-404,
.archive-hero,
.post-grid {
	padding-block: 96px;
}

.content-page__header,
.single-post-content__header,
.error-404,
.archive-hero {
	max-width: 820px;
	margin-inline: auto;
	text-align: center;
}

.content-page__body,
.single-post-content__body {
	width: min(100%, 820px);
	margin: 40px auto 0;
	color: var(--woodghar-muted);
	font-size: 18px;
}

.content-page__body > *,
.single-post-content__body > * {
	margin-bottom: 22px;
}

.single-post-content__image {
	margin: 42px auto 0;
	border-radius: var(--woodghar-radius);
	overflow: hidden;
}

.single-post-content__image img {
	width: 100%;
	max-height: 620px;
}

.site-index {
	display: grid;
	gap: 20px;
}

.site-index article {
	padding: 24px;
	background: var(--woodghar-white);
	border: 1px solid var(--woodghar-border);
	border-radius: var(--woodghar-radius);
}

.site-index h2 {
	margin-bottom: 8px;
	font-size: 24px;
	line-height: 1.2;
}

.archive-hero {
	padding-bottom: 42px;
}

.archive-hero p,
.post-card__body span {
	margin-bottom: 8px;
	color: var(--woodghar-primary-dark);
	font-size: 12px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0;
}

.archive-hero h1 {
	margin: 0;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 48px;
	line-height: 1.08;
	font-weight: 500;
	letter-spacing: 0;
}

.post-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
	padding-top: 0;
}

.post-card__body span {
	display: inline-block;
}

.post-card__body p {
	margin-bottom: 0;
}

.post-navigation,
.posts-navigation {
	grid-column: 1 / -1;
	margin-top: 18px;
}

.error-404 {
	min-height: 62vh;
	display: grid;
	place-items: center;
	align-content: center;
}

.woocommerce-notices-wrapper,
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
	margin: 24px auto;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
	padding: 14px 18px;
	border-radius: var(--woodghar-radius);
	border: 1px solid var(--woodghar-border);
	background: var(--woodghar-surface);
	color: var(--woodghar-ink);
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce input.input-text,
.woocommerce textarea,
.input-text,
input[type="text"],
input[type="email"],
input[type="search"],
input[type="tel"],
input[type="password"],
textarea,
select {
	width: 100%;
	min-height: 46px;
	padding: 11px 13px;
	border: 1px solid var(--woodghar-border);
	border-radius: var(--woodghar-radius);
	background: var(--woodghar-white);
	color: var(--woodghar-ink);
	outline: none;
	transition: border-color 180ms ease, box-shadow 180ms ease;
}

textarea {
	min-height: 140px;
	resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
	border-color: rgba(210, 180, 140, 0.9);
	box-shadow: 0 0 0 3px rgba(210, 180, 140, 0.22);
}

.woocommerce table.shop_table {
	border: 1px solid var(--woodghar-border);
	border-radius: var(--woodghar-radius);
	overflow: hidden;
}

.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
	border-color: var(--woodghar-border);
}

.woocommerce nav.woocommerce-pagination ul {
	display: flex;
	justify-content: center;
	gap: 8px;
	border: 0;
	margin: 36px 0 0;
}

.woocommerce nav.woocommerce-pagination ul li {
	border: 0;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
	min-width: 38px;
	border-radius: 999px;
	border: 1px solid var(--woodghar-border);
	background: var(--woodghar-white);
	color: var(--woodghar-ink);
}

.woocommerce nav.woocommerce-pagination ul li span.current,
.woocommerce nav.woocommerce-pagination ul li a:hover {
	background: var(--woodghar-primary);
	color: var(--woodghar-white);
}

@media (max-width: 860px) {
	.site-content,
	.site-header__inner,
	.site-footer__inner,
	.site-footer__newsletter,
	.site-footer__bottom {
		width: min(100% - 24px, var(--woodghar-container));
	}

	.section-heading h2,
	.content-page__header h1,
	.single-post-content__header h1,
	.error-404 h1 {
		font-size: 31px;
	}

	.section-heading--split {
		display: grid;
		align-items: start;
	}

	.section-heading--split a {
		white-space: normal;
	}

	.content-page,
	.single-post-content,
	.site-index,
	.error-404,
	.archive-hero,
	.post-grid {
		padding-block: 64px;
	}

	.archive-hero {
		padding-bottom: 32px;
	}

	.archive-hero h1 {
		font-size: 34px;
	}

	.post-grid {
		grid-template-columns: 1fr;
		padding-top: 0;
	}

	.content-page__body,
	.single-post-content__body {
		font-size: 16px;
	}
}

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