:root {
	color-scheme: light;
	--bg: #fffcf7;
	--bg-soft: #fcf7f0;
	--fg: #302d27;
	--fg-muted: #6b665c;
	--border: #ded5c7;
	--accent: #46513d;
	--accent-contrast: #fffcf7;
	--rose: #b98f7a;
	--container: 44rem;
	--container-wide: 68rem;
	--radius: 0.375rem;
	--font-heading: "Cormorant", "Cormorant Garamond", Georgia, "Times New Roman", serif;
	--font-body: "Lora", Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
	background: var(--bg);
	color: var(--fg);
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.75;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

a { color: var(--accent); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 3px;
	border-radius: 2px;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
	font-family: var(--font-heading);
	font-weight: 600;
	letter-spacing: 0;
	line-height: 1.15;
	color: var(--fg);
	margin: 0 0 0.75rem;
}
h1 { font-size: 2.9rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.55rem; }
h4 { font-size: 1.25rem; }
p { margin: 0 0 1.1rem; }

hr { border: 0; border-top: 1px solid var(--border); margin: 3rem 0; }

.container {
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 1.25rem;
}
.container-wide {
	max-width: var(--container-wide);
	margin: 0 auto;
	padding: 0 1.25rem;
}

.site-header {
	background: #fcf6ee;
	border-bottom: 1px solid var(--border);
	padding: 0.9rem 0;
	margin-bottom: 3.5rem;
}
.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
}
.site-header__brand {
	display: inline-flex;
	align-items: center;
	text-decoration: none;
	color: var(--fg);
}
.site-header__logo {
	height: 5.5rem;
	width: auto;
	max-width: none;
	margin: -0.6rem 0;
}
.site-header__nav {
	display: flex;
	align-items: center;
	gap: 2rem;
}
.site-header__nav a {
	text-decoration: none;
	color: var(--fg);
	font-size: 0.8rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	padding: 0.35rem 0;
	border-bottom: 1px solid transparent;
}
.site-header__nav a:hover { border-bottom-color: var(--accent); text-decoration: none; }
.site-header__nav .site-header__shop {
	background: var(--accent);
	color: var(--accent-contrast);
	border: 1px solid var(--accent);
	border-radius: var(--radius);
	padding: 0.55rem 1.1rem;
}
.site-header__nav .site-header__shop:hover { background: transparent; color: var(--accent); border-bottom-color: var(--accent); }

.site-footer {
	background: var(--bg-soft);
	border-top: 1px solid var(--border);
	margin-top: 6rem;
	padding: 3rem 0 2.5rem;
	color: var(--fg-muted);
	font-size: 0.9rem;
}
.site-footer__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
}
.site-footer__brand {
	font-family: var(--font-heading);
	font-size: 1.6rem;
	font-weight: 600;
	color: var(--fg);
	margin: 0 0 0.25rem;
}
.site-footer__note { margin: 0; }
.site-footer__links { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.site-footer__links a { font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none; color: var(--fg); }
.site-footer__links a:hover { color: var(--accent); text-decoration: underline; }
.site-footer__legal { width: 100%; margin: 1rem 0 0; padding-top: 1.25rem; border-top: 1px solid var(--border); font-size: 0.8rem; }

.page-title { margin-bottom: 0.5rem; }
.page-subtitle { color: var(--fg-muted); font-style: italic; margin-bottom: 2.5rem; }

.section-title {
	font-size: 0.8rem;
	font-family: var(--font-body);
	font-weight: 500;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--rose);
	margin: 3rem 0 1.5rem;
}

.post-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 2rem;
}

.post-card {
	display: flex;
	align-items: flex-start;
	gap: 1.75rem;
	text-decoration: none;
	color: inherit;
	padding-bottom: 2rem;
	border-bottom: 1px solid var(--border);
}
.post-list > li:last-child .post-card { border-bottom: 0; }
.post-card:hover { text-decoration: none; }
.post-card:hover .post-card__title { color: var(--accent); }
.post-card__body { flex: 1; min-width: 0; }
.post-card__media {
	flex: 0 0 clamp(7rem, 28vw, 12rem);
	aspect-ratio: 4 / 3;
	overflow: hidden;
	border-radius: var(--radius);
	background: var(--bg-soft);
}
.post-card__cover {
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	transition: transform 300ms ease;
}
.post-card:hover .post-card__cover { transform: scale(1.03); }
.post-card__title { font-size: 1.7rem; margin: 0 0 0.45rem; transition: color 200ms ease; }
.post-card__subtitle { color: var(--fg-muted); margin: 0 0 0.6rem; font-size: 0.97rem; }
.post-card__meta { color: var(--fg-muted); font-size: 0.82rem; letter-spacing: 0.04em; margin: 0; }

.post-header { margin-bottom: 2.75rem; text-align: center; }
.post-header__meta { color: var(--fg-muted); font-size: 0.85rem; letter-spacing: 0.04em; margin-bottom: 0.75rem; }
.post-header__title { font-size: 3.1rem; margin-bottom: 0.75rem; }
.post-header__subtitle { color: var(--fg-muted); font-size: 1.15rem; font-style: italic; margin: 0; }
.post-header__cover { margin: 2.25rem 0 0; border-radius: var(--radius); overflow: hidden; }

.post-content { font-size: 1.05rem; }
.post-content > * + * { margin-top: 1.15em; }
.post-content h2, .post-content h3 { margin-top: 2.3em; }
.post-content a { text-decoration: underline; }
.post-content img { margin: 1.75rem 0; border-radius: var(--radius); }
.post-content ul, .post-content ol { padding-left: 1.4rem; }
.post-content li + li { margin-top: 0.4em; }
.post-content li::marker { color: var(--rose); }
.post-content pre, .post-content code {
	background: var(--bg-soft);
	border-radius: 4px;
	font-family: ui-monospace, "SF Mono", Menlo, monospace;
	font-size: 0.92em;
}
.post-content code { padding: 0.12em 0.35em; }
.post-content pre { padding: 1rem; overflow-x: auto; }
.post-content pre code { background: transparent; padding: 0; }
.post-content blockquote {
	margin: 2rem 0;
	padding: 0.25rem 0 0.25rem 1.5rem;
	border-left: 2px solid var(--rose);
	color: var(--fg-muted);
	font-family: var(--font-heading);
	font-size: 1.35rem;
	font-style: italic;
	line-height: 1.45;
}
.post-content table {
	width: 100%;
	border-collapse: collapse;
	display: block;
	overflow-x: auto;
	font-size: 0.95rem;
}
.post-content th, .post-content td {
	border: 1px solid var(--border);
	padding: 0.65rem 0.8rem;
	text-align: left;
}
.post-content th { background: var(--bg-soft); font-weight: 600; }

.post-cta {
	margin: 3.5rem 0 0;
	padding: 2rem 1.5rem;
	text-align: center;
	background: var(--bg-soft);
	border: 1px solid var(--border);
	border-radius: var(--radius);
}
.post-cta__title { font-size: 1.8rem; margin: 0 0 0.4rem; }
.post-cta__text { color: var(--fg-muted); margin: 0 0 1.25rem; }
.button {
	display: inline-block;
	background: var(--accent);
	color: var(--accent-contrast);
	border: 1px solid var(--accent);
	border-radius: var(--radius);
	padding: 0.7rem 1.5rem;
	font-size: 0.8rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	text-decoration: none;
	transition: background 200ms ease, color 200ms ease;
}
.button:hover { background: transparent; color: var(--accent); text-decoration: none; }

.category-grid {
	display: grid;
	grid-template-columns: 1fr;
	grid-auto-rows: 1fr;
	gap: 1.25rem;
	padding: 0;
	margin: 0;
	list-style: none;
}
.category-grid > li { min-width: 0; height: 100%; }
.category-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow: hidden;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	text-decoration: none;
	color: inherit;
	background: var(--bg);
	transition: border-color 200ms ease, box-shadow 200ms ease;
}
.category-card:hover {
	border-color: var(--rose);
	box-shadow: 0 0.25rem 1.25rem color-mix(in srgb, var(--fg) 8%, transparent);
	text-decoration: none;
}
.category-card__media {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: var(--bg-soft);
}
.category-card__cover {
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	transition: transform 300ms ease;
}
.category-card:hover .category-card__cover { transform: scale(1.03); }
.category-card__placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	color: var(--rose);
}
.category-card__placeholder svg { width: 2rem; height: 2rem; opacity: 0.6; }
.category-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 0.5rem;
	min-height: 8.25rem;
	padding: 1.25rem;
}
.category-card__name {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-family: var(--font-heading);
	font-size: 1.5rem;
	font-weight: 600;
	line-height: 1.2;
	margin: 0;
}
.category-card__description {
	display: -webkit-box;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	color: var(--fg-muted);
	font-size: 0.92rem;
	margin: 0;
}
.categories-page > .page-title { margin-bottom: 1.5rem; }
.category-header { padding-bottom: 2rem; }
.category-header .page-subtitle { margin-bottom: 0; }

@media (min-width: 36rem) {
	.category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 54rem) {
	.category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 36rem) {
	h1 { font-size: 2.3rem; }
	h2 { font-size: 1.7rem; }
	.site-header { margin-bottom: 2.25rem; padding: 0.75rem 0; }
	.site-header__inner { flex-direction: column; gap: 0.6rem; }
	.site-header__logo { height: 4.25rem; margin: -0.4rem 0; }
	.site-header__nav { flex-wrap: wrap; justify-content: center; gap: 0.6rem 1.25rem; }
	.post-card { gap: 1rem; }
	.post-card__title { font-size: 1.35rem; }
	.post-card__subtitle {
		display: -webkit-box;
		overflow: hidden;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 2;
		font-size: 0.9rem;
	}
	.post-header__title { font-size: 2.3rem; }
	.site-footer__inner { flex-direction: column; text-align: center; }
	.site-footer__links { justify-content: center; }
}

.all-posts-link { margin-top: 2rem; }

.shop-picks { margin: 3.5rem 0 0; }
.shop-picks__title { font-size: 1.9rem; margin: 0 0 0.35rem; }
.shop-picks__intro { color: var(--fg-muted); font-style: italic; margin: 0 0 1.5rem; }
.shop-picks__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
	list-style: none;
	margin: 0;
	padding: 0;
}
.product-card { min-width: 0; }
.product-card__link {
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
	height: 100%;
	padding: 0.75rem;
	text-decoration: none;
	color: inherit;
	background: var(--bg);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	transition: border-color 200ms ease, box-shadow 200ms ease;
}
.product-card__link:hover {
	border-color: var(--rose);
	box-shadow: 0 0.25rem 1.25rem color-mix(in srgb, var(--fg) 8%, transparent);
	text-decoration: none;
}
.product-card__media {
	display: block;
	aspect-ratio: 1 / 1;
	margin-bottom: 0.5rem;
	overflow: hidden;
	background: #ffffff;
	border-radius: var(--radius);
}
.product-card__media img {
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: contain;
}
.product-card__vendor { color: var(--fg-muted); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; }
.product-card__title {
	display: -webkit-box;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	font-family: var(--font-heading);
	font-size: 1.15rem;
	font-weight: 600;
	line-height: 1.25;
}
.product-card__price { margin-top: auto; padding-top: 0.35rem; color: var(--accent); font-size: 0.95rem; font-weight: 500; }

@media (min-width: 36rem) {
	.shop-picks__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.pagination {
	display: flex;
	justify-content: space-between;
	margin-top: 3rem;
	gap: 1rem;
	font-size: 0.8rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}
.pagination a { color: var(--accent); text-decoration: none; }
.pagination a:hover { text-decoration: underline; }
.pagination__spacer { flex: 1; }

.empty {
	text-align: center;
	padding: 4rem 0;
	color: var(--fg-muted);
	font-style: italic;
}

.not-found {
	text-align: center;
	padding: 6rem 0;
}
.not-found__code {
	font-family: var(--font-heading);
	font-size: 5rem;
	font-weight: 600;
	line-height: 1;
	margin: 0 0 0.5rem;
	color: var(--rose);
}
.not-found__message {
	color: var(--fg-muted);
	font-size: 1.05rem;
	margin: 0 0 2rem;
}
