/*
Theme Name: Rosalind
Description: Tema editorial independiente para belleza, cuidados y productos recomendados.
Version: 1.0.0
Requires at least: 6.3
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: rosalind
*/

:root {
	--rose-ink: #211d1c;
	--rose-muted: #77716f;
	--rose-accent: #b8756d;
	--rose-accent-dark: #975e57;
	--rose-border: #e9e2de;
	--rose-paper: #fffdfa;
	--rose-soft: #f5f0ed;
	--rose-blush: #efe3df;
	--rose-card: #ffffff;
	--rose-shadow: 0 12px 28px rgb(74 51 45 / 10%);
	--rose-serif: "DM Serif Display", Georgia, "Times New Roman", serif;
	--rose-sans: "Manrope", "Helvetica Neue", Arial, sans-serif;
	--rose-width: 1320px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	color: var(--rose-ink);
	background: var(--rose-paper);
	font-family: var(--rose-sans);
	font-size: 16px;
	line-height: 1.65;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
a:hover { color: var(--rose-accent-dark); }
button, input { font: inherit; }
:where(a, button, input, select, textarea):focus-visible { outline: 2px solid var(--rose-accent-dark); outline-offset: 3px; }
.screen-reader-text {
	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 {
	position: fixed;
	top: 8px;
	left: 8px;
	z-index: 100;
	padding: 10px 14px;
	transform: translateY(-150%);
	background: #fff;
}
.skip-link:focus { transform: none; }
.site-header {
	position: relative;
	z-index: 10;
	border-bottom: 1px solid rgb(33 29 28 / 5%);
	background: rgb(255 253 250 / 96%);
}
.header-inner, .site-main, .footer-inner {
	width: min(var(--rose-width), calc(100% - 64px));
	margin-inline: auto;
}
.header-inner {
	display: flex;
	min-height: 68px;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
}
.site-brand {
	flex: 0 0 auto;
	line-height: 1;
	text-decoration: none;
}
.site-brand img { display: block; width: auto; max-width: 190px; height: 32px; object-fit: contain; }
.custom-logo-link { display: block; flex: 0 0 auto; }
.custom-logo-link img { width: auto; max-width: 190px; max-height: 52px; }
.primary-nav { margin-left: auto; }
.primary-nav ul {
	display: flex;
	align-items: center;
	gap: clamp(14px, 2.2vw, 34px);
	margin: 0;
	padding: 0;
	list-style: none;
}
.primary-nav a {
	font-size: .82rem;
	text-decoration: none;
}
.header-tools { display: flex; align-items: center; gap: 8px; }
.icon-button, .menu-toggle {
	display: grid;
	width: 40px;
	height: 40px;
	padding: 0;
	place-items: center;
	border: 0;
	background: transparent;
	color: var(--rose-ink);
	cursor: pointer;
}
.icon-button svg, .menu-toggle svg { width: 20px; height: 20px; }
.menu-toggle { display: none; }
.header-search {
	position: absolute;
	top: calc(100% + 8px);
	right: max(32px, calc((100vw - var(--rose-width)) / 2));
	display: none;
	width: min(400px, calc(100vw - 32px));
	padding: 14px;
	border: 1px solid var(--rose-border);
	background: var(--rose-paper);
	box-shadow: 0 16px 45px rgb(33 29 28 / 12%);
}
.header-search.is-open { display: block; }
.search-form { display: flex; gap: 8px; }
.search-form input[type="search"] {
	width: 100%;
	min-width: 0;
	padding: 11px 13px;
	border: 1px solid var(--rose-border);
	border-radius: 2px;
	background: #fff;
}
.search-form button, .button {
	display: inline-flex;
	min-height: 43px;
	align-items: center;
	justify-content: center;
	gap: 9px;
	padding: 10px 18px;
	border: 1px solid var(--rose-accent);
	border-radius: 4px;
	background: var(--rose-accent);
	color: #fff;
	font-size: .87rem;
	text-decoration: none;
	cursor: pointer;
}
.search-form button:hover, .button:hover { background: var(--rose-accent-dark); color: #fff; }
.button--outline { background: transparent; color: var(--rose-accent-dark); }
.button--outline:hover { background: var(--rose-accent); }

.hero {
	position: relative;
	display: grid;
	min-height: 480px;
	overflow: hidden;
	grid-template-columns: 1fr 1fr;
	align-items: center;
	background: var(--rose-soft);
}
.hero__copy {
	position: relative;
	z-index: 1;
	width: min(650px, calc(100% - 64px));
	padding: 62px 0 62px max(32px, calc((100vw - var(--rose-width)) / 2));
}
.eyebrow {
	display: block;
	margin-bottom: 14px;
	color: var(--rose-accent-dark);
	font-size: .7rem;
	font-weight: 700;
	letter-spacing: .2em;
	line-height: 1.5;
	text-transform: uppercase;
}
.hero h1, .section-title, .page-title, .entry-title {
	margin: 0;
	font-family: var(--rose-serif);
	font-weight: 400;
	letter-spacing: -.035em;
	line-height: 1.07;
}
.hero h1 { max-width: 620px; font-size: clamp(2.8rem, 5vw, 5.1rem); }
.hero__copy > p { max-width: 445px; margin: 20px 0 24px; color: var(--rose-muted); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__image {
	position: absolute;
	inset: 0 0 0 48%;
	background-color: #ddd0c7;
	background-position: center;
	background-size: cover;
}
.hero__image::after {
	position: absolute;
	inset: 0 auto 0 0;
	width: 25%;
	background: linear-gradient(90deg, var(--rose-soft), transparent);
	content: "";
}
.hero__image-placeholder {
	position: absolute;
	inset: 0 0 0 48%;
	background: radial-gradient(ellipse at 65% 40%, #fff8ef 0, #dfc9bd 42%, #c7aaa0 100%);
}
.hero{min-height:560px;grid-template-columns:1fr;background:#d9c4bb}.hero__copy{width:min(720px,calc(100% - 64px));padding-top:92px;padding-bottom:92px}.hero h1{max-width:700px;font-size:clamp(3.2rem,4.3vw,4.65rem)}.hero__copy>p{max-width:520px;font-size:1.04rem}.hero__actions{margin-top:4px}.hero__actions .button{min-width:182px}.hero__image{inset:-14px;filter:blur(4px) saturate(.8);opacity:.64;transform:scale(1.04);box-shadow:none}.hero__image::after{inset:0;width:100%;background:linear-gradient(90deg,rgb(255 253 250 / 96%) 0%,rgb(255 253 250 / 78%) 38%,rgb(245 240 237 / 30%) 70%,rgb(33 29 28 / 12%) 100%)}.hero__image-placeholder{inset:0;border-radius:0;box-shadow:none;background:radial-gradient(ellipse at 78% 35%,#fff8ef 0,#dfc9bd 42%,#b99287 100%)}

.section { padding-block: 62px; }
.section--soft { background: var(--rose-soft); }
.section-heading {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 24px;
}
.section-heading__link { flex: 0 0 auto; padding-bottom: 5px; white-space: nowrap; }
.section-title { font-size: clamp(2rem, 3vw, 3rem); }
.section-description { max-width: 660px; margin: 8px 0 0; color: var(--rose-muted); }
.text-link { color: var(--rose-accent-dark); font-size: .82rem; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.featured-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(260px, .85fr);
	gap: 24px;
}
.story-feature {
	display: grid;
	min-height: 350px;
	grid-template-columns: 1fr 1fr;
	background: #f4efeb;
}
.story-feature__image, .story-feature__placeholder {
	width: 100%;
	height: 100%;
	min-height: 350px;
	object-fit: cover;
	background: linear-gradient(145deg, #d7c2b5, #f3e9df);
}
.story-feature__body { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 28px; }
.story-feature h3, .story-card h3, .post-card h2, .category-card h3, .product-card h3 {
	margin: 8px 0;
	font-family: var(--rose-serif);
	font-weight: 400;
	line-height: 1.2;
}
.story-feature h3 { font-size: clamp(1.4rem, 2.2vw, 2rem); }
.story-feature h3 a, .story-card h3 a, .post-card h2 a, .category-card h3 a, .product-card h3 a { text-decoration: none; }
.story-feature p, .story-card p, .post-card p { color: var(--rose-muted); font-size: .9rem; }
.story-meta { margin-top: auto; color: var(--rose-muted); font-size: .75rem; }
.story-list { display: grid; gap: 16px; }
.story-card {
	display: grid;
	grid-template-columns: minmax(105px, .8fr) 1.2fr;
	gap: 16px;
	padding-bottom: 16px;
	border-bottom: 1px solid var(--rose-border);
}
.story-card:last-child { padding-bottom: 0; border-bottom: 0; }
.story-card__image, .story-card__placeholder {
	width: 100%;
	height: 130px;
	object-fit: cover;
	background: linear-gradient(145deg, #d7c2b5, #f3e9df);
}
.story-card h3 { margin-top: 2px; font-size: 1.22rem; }
.story-card p { margin: 4px 0; font-size: .82rem; }
.story-card .story-meta { margin-top: 8px; }

.category-grid, .guide-grid, .product-grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 18px;
}
.category-card {
	display: block;
	overflow: hidden;
	border: 1px solid var(--rose-border);
	background: var(--rose-card);
	color: inherit;
	text-decoration: none;
	transition: box-shadow .2s ease, transform .2s ease;
}
.category-card:hover, .category-card:focus-visible { box-shadow: var(--rose-shadow); transform: translateY(-2px); }
.category-card__image, .category-card__placeholder {
	width: 100%;
	aspect-ratio: 1.15;
	object-fit: cover;
	background: linear-gradient(145deg, #d7c2b5, #f3e9df);
}
.category-card__image--illustration, .rosalind-icon-fallback { object-fit: contain; padding: 18%; background: var(--rose-blush); }
.category-card__body { padding: 14px 15px 16px; }
.category-card .eyebrow { margin-bottom: 4px; font-size: .58rem; }
.category-card h3 { margin: 0; font-size: 1.18rem; }
.category-card__link { display: inline-block; margin-top: 10px; color: var(--rose-accent-dark); font-size: 1.1rem; transition: transform .2s ease; }
.category-card:hover .category-card__link, .category-card:focus-visible .category-card__link { transform: translateX(4px); }
.product-search-band {
	display: grid;
	grid-template-columns: .9fr 1.1fr;
	align-items: center;
	gap: 35px;
	padding: 35px clamp(24px, 5vw, 70px);
	background: #f2e8e4;
}
.product-search-band .section-title { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.product-search-band .search-form { max-width: 600px; }
.topic-links { display: flex; flex-wrap: wrap; gap: 12px 20px; margin-top: 12px; }
.topic-links a { color: var(--rose-muted); font-size: .75rem; text-decoration: none; }

.guide-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.guide-card { overflow: hidden; border: 1px solid var(--rose-border); background: var(--rose-card); transition: box-shadow .2s ease, transform .2s ease; }
.guide-card:hover, .guide-card:focus-within { box-shadow: var(--rose-shadow); transform: translateY(-2px); }
.guide-card__image, .guide-card__placeholder { width: 100%; aspect-ratio: 1.35; object-fit: cover; background: #eadbd3; }
.guide-card__body { padding: 15px; }
.guide-card h3 { margin: 0; font-family: var(--rose-serif); font-size: 1.22rem; font-weight: 400; line-height: 1.22; }
.guide-card h3 a { text-decoration: none; }

.newsletter-band {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 26px;
	padding: 28px clamp(24px, 5vw, 64px);
	background: linear-gradient(105deg, #eee1dc, #f8f2ef);
}
.newsletter-band h2 { margin: 0; font-family: var(--rose-serif); font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 400; }
.newsletter-band p { margin: 4px 0 0; color: var(--rose-muted); }
.product-search-band,.newsletter-band{position:relative;overflow:hidden}.cta-illustration{position:absolute;right:22px;bottom:-28px;width:180px;height:auto;pointer-events:none}.product-search-band>div,.newsletter-band>div,.newsletter-band>.button{position:relative;z-index:1}.product-search-band>div:last-of-type{padding-right:125px}.newsletter-band{padding-right:210px}@media(max-width:782px){.cta-illustration{width:125px;right:8px;bottom:-20px}.product-search-band>div:last-of-type{padding-right:70px}.newsletter-band{padding-right:120px}}

.page-header { padding: 55px 0 34px; }
.page-title { font-size: clamp(2.4rem, 4vw, 4rem); }
.page-header > p { max-width: 700px; margin: 12px 0 0; color: var(--rose-muted); }
.editorial-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 300px;
	align-items: start;
	gap: clamp(30px, 5vw, 70px);
	padding-bottom: 70px;
}
.editorial-main { min-width: 0; }
.post-card {
	display: grid;
	grid-template-columns: minmax(210px, .85fr) 1.15fr;
	gap: 24px;
	margin-bottom: 22px;
	padding-bottom: 22px;
	border-bottom: 1px solid var(--rose-border);
}
.post-card__image, .post-card__placeholder { width: 100%; aspect-ratio: 1.32; object-fit: cover; background: #eadbd3; }
.post-card__body { display: flex; flex-direction: column; align-items: flex-start; }
.post-card h2 { font-size: clamp(1.45rem, 2.4vw, 2rem); }
.post-card p { margin: 6px 0 14px; }
.post-card .text-link { margin-top: auto; }
.entry-layout { padding-top: 35px; }
.entry { min-width: 0; }
.entry-header { margin-bottom: 28px; }
.entry-header .entry-title { font-size: clamp(2.5rem, 5vw, 4.4rem); }
.entry-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 18px; color: var(--rose-muted); font-size: .82rem; }
.entry-featured-image { width: 100%; max-height: 600px; margin: 0 0 28px; object-fit: cover; }
.entry-content { font-family: var(--rose-sans); font-size: 1.05rem; line-height: 1.85; }
.entry-content > * { max-width: 760px; }
.entry-content h2, .entry-content h3, .entry-content h4 { margin-top: 1.8em; font-family: var(--rose-serif); font-weight: 400; line-height: 1.2; }
.entry-content img, .entry-content figure, .entry-content .wp-block-image { height: auto; }
.entry-content a { color: var(--rose-accent-dark); }
.entry-content blockquote { margin-inline: 0; padding: 8px 0 8px 22px; border-left: 3px solid var(--rose-accent); color: var(--rose-muted); }
.entry-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; font-family: var(--rose-sans); font-size: .8rem; }
.entry-tags a, .category-pill { padding: 5px 10px; border: 1px solid var(--rose-border); border-radius: 99px; text-decoration: none; }
.related-articles, .cluster-articles, .cluster-related { margin-top: 52px; padding-top: 32px; border-top: 1px solid var(--rose-border); }
.related-articles > h2, .cluster-related > h2 { margin: 0 0 20px; font-family: var(--rose-serif); font-size: 1.8rem; font-weight: 400; }
.related-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.related-card { display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--rose-border); background: var(--rose-card); transition: box-shadow .2s ease, transform .2s ease; }
.related-card:hover, .related-card:focus-within { box-shadow: var(--rose-shadow); transform: translateY(-2px); }
.related-card__image-link { display: block; }
.related-card__image, .related-card .story-card__placeholder { display: block; width: 100%; aspect-ratio: 1.45; object-fit: cover; background: #eadbd3; }
.related-card__body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 18px; }
.related-card h3 { margin: 8px 0; font-family: var(--rose-serif); font-size: 1.35rem; font-weight: 400; line-height: 1.2; }
.related-card h3 a { text-decoration: none; }
.related-card p { margin: 0 0 16px; color: var(--rose-muted); font-size: .87rem; line-height: 1.6; }
.related-card .text-link { margin-top: auto; }
.archive-sidebar { position: static; }
.sidebar-panel { margin-bottom: 22px; padding: 22px; border: 1px solid var(--rose-border); background: var(--rose-card); }
.sidebar-panel h2 { margin: 0 0 14px; font-family: var(--rose-serif); font-size: 1.45rem; font-weight: 400; }
.sidebar-panel ul { margin: 0; padding: 0; list-style: none; }
.sidebar-panel li { padding: 7px 0; border-top: 1px solid var(--rose-border); }
.sidebar-panel a { font-size: .87rem; text-decoration: none; }
.sidebar-panel .search-form { flex-direction: column; }
.sidebar-panel .search-form button { align-self: flex-start; }
.search-results-title { margin-bottom: 26px; font-family: var(--rose-serif); font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 400; }
.pagination { margin-top: 35px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.pagination a, .pagination span { padding: 8px 12px; border: 1px solid var(--rose-border); text-decoration: none; }
.pagination .current { border-color: var(--rose-accent); background: var(--rose-accent); color: #fff; }
.empty-state { padding: 25px; background: var(--rose-soft); color: var(--rose-muted); }
.page-content { max-width: 850px; padding-bottom: 65px; }
.page-content .entry-content { font-family: var(--rose-sans); font-size: 1rem; line-height: 1.8; }

.site-footer { margin-top: 30px; border-top: 1px solid var(--rose-border); background: #fbf8f6; }
.footer-inner { padding: 40px 0 18px; }
.footer-main {
	display: grid;
	grid-template-columns: 1.4fr repeat(3, 1fr);
	gap: 32px;
	padding-bottom: 30px;
}
.footer-brand { text-decoration: none; }
.footer-brand--wordmark { display: inline-flex; align-items: center; }
.footer-brand--wordmark img { display: block; width: auto; max-width: 170px; height: 28px; object-fit: contain; }
.footer-main p { max-width: 240px; color: var(--rose-muted); font-size: .84rem; }
.footer-main h2 { margin: 0 0 10px; font-size: .78rem; }
.footer-nav, .footer-nav ul { margin: 0; padding: 0; list-style: none; }
.footer-nav li { margin: 5px 0; }
.footer-nav a { color: var(--rose-muted); font-size: .78rem; text-decoration: none; }
.affiliate-disclosure { color: var(--rose-muted); font-size: .74rem; }
.footer-bottom { display: flex; justify-content: space-between; gap: 15px; padding-top: 15px; border-top: 1px solid var(--rose-border); color: var(--rose-muted); font-size: .7rem; }

.rosalind-affiliate-disclosure { margin: 0 0 14px; color: var(--rose-muted); font-size: .78rem; }
.rosalind-product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.section--products{background:#fff}.home-product-category{margin-top:34px}.home-product-category:first-of-type{margin-top:0}.home-product-category__heading{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin-bottom:14px}.home-product-category__heading h3{margin:0;font-family:var(--rose-serif);font-size:1.65rem;font-weight:400}.home-product-category__heading h3 a{color:inherit;text-decoration:none}
.rosalind-product-card { overflow: hidden; border: 1px solid var(--rose-border); background: var(--rose-card); transition: box-shadow .2s ease, transform .2s ease; }
.rosalind-product-card:hover, .rosalind-product-card:focus-within { box-shadow: var(--rose-shadow); transform: translateY(-2px); }
.rosalind-product-card__image, .rosalind-product-card__placeholder { width: 100%; aspect-ratio: 1; object-fit: cover; background: #f3ece8; }
.rosalind-product-card__body { padding: 15px; }
.rosalind-product-card h3 { margin: 0 0 8px; font-family: var(--rose-serif); font-size: 1.18rem; font-weight: 400; line-height: 1.25; }
.rosalind-product-card__description { color: var(--rose-muted); font-size: .84rem; }
.rosalind-product-card .button { width: 100%; margin-top: 8px; }
.product-detail { display: grid; grid-template-columns: minmax(220px, .8fr) 1.2fr; gap: 35px; align-items: start; }
.product-detail__image { width: 100%; border: 1px solid var(--rose-border); }
.product-detail__content { font-size: 1rem; }
.product-category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* WooCommerce: dormant until the plugin is enabled. */
.woocommerce .woocommerce-breadcrumb {
	margin: 0 0 24px;
	color: var(--rose-muted);
	font-size: .78rem;
}
.woocommerce .woocommerce-breadcrumb a { color: var(--rose-accent-dark); text-decoration: none; }
.woocommerce .page-title, .woocommerce-products-header__title {
	margin: 0 0 24px;
	font-family: var(--rose-serif);
	font-size: clamp(2.4rem, 4vw, 4rem);
	font-weight: 400;
	line-height: 1.07;
}
.woocommerce .woocommerce-result-count, .woocommerce .woocommerce-ordering { margin: 0 0 24px; color: var(--rose-muted); font-size: .82rem; }
.woocommerce .woocommerce-ordering select, .woocommerce form .form-row select, .woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .wc-block-components-text-input input {
	width: 100%;
	min-height: 46px;
	padding: 10px 12px;
	border: 1px solid var(--rose-border);
	border-radius: 3px;
	background: #fff;
	color: var(--rose-ink);
	box-shadow: none;
}
.woocommerce ul.products {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
	margin: 0;
	padding: 0;
}
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product {
	display: flex;
	float: none;
	width: auto;
	min-width: 0;
	margin: 0;
	padding: 0 0 16px;
	overflow: hidden;
	flex-direction: column;
	border: 1px solid var(--rose-border);
	background: var(--rose-card);
	transition: box-shadow .2s ease, transform .2s ease;
}
.woocommerce ul.products li.product:hover, .woocommerce ul.products li.product:focus-within { box-shadow: var(--rose-shadow); transform: translateY(-2px); }
.woocommerce ul.products li.product a img {
	width: 100%;
	margin: 0 0 14px;
	aspect-ratio: 1;
	object-fit: cover;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title { padding: 0 15px; color: var(--rose-ink); font-family: var(--rose-serif); font-size: 1.18rem; font-weight: 400; line-height: 1.25; }
.woocommerce ul.products li.product .price { padding: 0 15px; color: var(--rose-accent-dark); font-size: .9rem; }
.woocommerce ul.products li.product .button, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .wc-block-components-button {
	min-height: 43px;
	margin: auto 15px 0;
	padding: 10px 16px;
	border: 1px solid var(--rose-accent);
	border-radius: 4px;
	background: var(--rose-accent);
	color: #fff;
	font-size: .84rem;
	font-weight: 500;
	text-align: center;
}
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover, .wc-block-components-button:hover { background: var(--rose-accent-dark); color: #fff; }
.woocommerce span.onsale {
	top: 10px;
	left: 10px;
	min-width: auto;
	min-height: 0;
	padding: 5px 8px;
	border-radius: 2px;
	background: var(--rose-ink);
	color: #fff;
	font-size: .65rem;
	line-height: 1.2;
}
.woocommerce div.product { display: grid; grid-template-columns: minmax(280px, .95fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 70px); }
.woocommerce div.product div.images, .woocommerce div.product div.summary { float: none; width: auto; }
.woocommerce div.product div.images img { border: 1px solid var(--rose-border); background: #fff; }
.woocommerce div.product .product_title { margin: 0 0 16px; font-family: var(--rose-serif); font-size: clamp(2.2rem, 4vw, 3.6rem); font-weight: 400; line-height: 1.1; }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--rose-accent-dark); font-size: 1.2rem; }
.woocommerce div.product form.cart { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 26px 0; }
.woocommerce .quantity .qty { min-height: 43px; border: 1px solid var(--rose-border); border-radius: 3px; }
.woocommerce div.product .woocommerce-tabs, .woocommerce div.product .related, .woocommerce div.product .upsells { grid-column: 1 / -1; }
.woocommerce div.product .woocommerce-tabs ul.tabs { padding: 0; border-bottom: 1px solid var(--rose-border); }
.woocommerce div.product .woocommerce-tabs ul.tabs::before { border: 0; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { margin: 0 18px 0 0; padding: 0; border: 0; border-radius: 0; background: transparent; }
.woocommerce div.product .woocommerce-tabs ul.tabs li::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { padding: 10px 0; color: var(--rose-muted); }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { border-bottom: 2px solid var(--rose-accent); color: var(--rose-ink); }
.woocommerce-cart-form, .woocommerce-checkout-review-order, .woocommerce .cart-collaterals .cart_totals, .woocommerce form.checkout, .wc-block-cart, .wc-block-checkout {
	padding: clamp(18px, 3vw, 32px);
	border: 1px solid var(--rose-border);
	background: var(--rose-card);
}
.woocommerce table.shop_table { border: 0; border-collapse: collapse; border-radius: 0; }
.woocommerce table.shop_table th, .woocommerce table.shop_table td { padding: 14px 8px; border-color: var(--rose-border); }
.woocommerce .cart-collaterals .cart_totals { width: 100%; }
.woocommerce form .form-row label, .wc-block-components-text-input label { margin-bottom: 6px; color: var(--rose-ink); font-size: .8rem; font-weight: 700; }
.woocommerce form .form-row { margin-bottom: 18px; }
.woocommerce-error, .woocommerce-info, .woocommerce-message, .wc-block-components-notice-banner {
	margin: 0 0 22px;
	padding: 14px 16px;
	border-top: 0;
	border-left: 3px solid var(--rose-accent);
	background: var(--rose-soft);
	color: var(--rose-ink);
}
.woocommerce-error::before, .woocommerce-info::before, .woocommerce-message::before { color: var(--rose-accent-dark); }
.woocommerce-checkout #payment, .wc-block-checkout__payment-method { border-radius: 0; background: var(--rose-soft); }
.woocommerce-checkout #payment div.payment_box { background: var(--rose-blush); color: var(--rose-ink); }
.woocommerce-checkout #payment div.payment_box::before { border-bottom-color: var(--rose-blush); }

@media (max-width: 1000px) {
	.header-inner, .site-main, .footer-inner { width: min(var(--rose-width), calc(100% - 40px)); }
	.hero__copy { padding-left: 32px; }
	.category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.featured-grid { grid-template-columns: 1fr; }
	.story-list { grid-template-columns: 1fr 1fr; }
	.story-card { grid-template-columns: 100px 1fr; }
	.story-card__image, .story-card__placeholder { height: 110px; }
	.rosalind-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.woocommerce ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
	.header-inner { min-height: 62px; gap: 10px; }
	.site-brand { font-size: 1.35rem; }
	.menu-toggle { display: grid; margin-left: auto; }
	.header-tools, .header-search { display: none !important; }
	.primary-nav {
		position: absolute;
		top: 100%;
		right: 0;
		left: 0;
		display: none;
		padding: 10px 20px 20px;
		border-top: 1px solid var(--rose-border);
		background: var(--rose-paper);
		box-shadow: 0 16px 30px rgb(33 29 28 / 8%);
	}
	.primary-nav.is-open { display: block; }
	.primary-nav ul { align-items: stretch; flex-direction: column; gap: 0; }
	.primary-nav li { border-bottom: 1px solid var(--rose-border); }
	.primary-nav a { display: block; padding: 11px 2px; }
	.hero { min-height: 610px; grid-template-columns: 1fr; align-items: end; }
	.hero__image, .hero__image-placeholder { inset: 0 0 180px; }
	.hero__image::after { inset: auto 0 0; width: 100%; height: 35%; background: linear-gradient(0deg, var(--rose-soft), transparent); }
	.hero__copy { width: 100%; padding: 255px 22px 34px; }
	.hero h1 { font-size: clamp(2.7rem, 12vw, 4rem); }
	.section { padding-block: 44px; }
	.section-heading { align-items: flex-start; flex-direction: column; gap: 10px; }
	.story-feature { grid-template-columns: 1fr; }
	.story-feature__image, .story-feature__placeholder { min-height: 230px; max-height: 320px; }
	.story-feature__body { min-height: 225px; }
	.story-list { grid-template-columns: 1fr; }
	.story-card { grid-template-columns: 115px 1fr; }
	.related-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.product-search-band { grid-template-columns: 1fr; gap: 18px; padding: 28px 22px; }
	.guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.newsletter-band { align-items: flex-start; flex-direction: column; }
	.editorial-layout { grid-template-columns: 1fr; }
	.archive-sidebar { position: static; }
	.footer-main { grid-template-columns: 1fr 1fr; gap: 24px; }
	.rosalind-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.woocommerce ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.woocommerce div.product { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
	.header-inner, .site-main, .footer-inner { width: calc(100% - 32px); }
	.header-tools { gap: 0; }
	.icon-button, .menu-toggle { width: 36px; }
	.hero__copy { padding-inline: 18px; }
	.category-grid, .guide-grid, .product-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.post-card { grid-template-columns: 1fr; gap: 12px; }
	.post-card__image, .post-card__placeholder { aspect-ratio: 1.65; }
	.related-card-grid { grid-template-columns: 1fr; }
	.page-header { padding-top: 38px; }
	.footer-main { grid-template-columns: 1fr 1fr; }
	.footer-main > :first-child { grid-column: 1 / -1; }
	.footer-bottom { flex-direction: column; }
	.product-detail { grid-template-columns: 1fr; }
	.rosalind-product-grid { gap: 12px; }
	.rosalind-product-card__body { padding: 12px; }
	.woocommerce ul.products { gap: 12px; }
	.woocommerce ul.products li.product .woocommerce-loop-product__title, .woocommerce ul.products li.product .price { padding-inline: 12px; }
	.woocommerce ul.products li.product .button { margin-inline: 12px; }
}
@media (max-width: 760px) {
	.hero { min-height: 0; display: flex; flex-direction: column; align-items: stretch; }
	.hero__image, .hero__image-placeholder { position: relative; inset: auto; order: 1; width: 100%; min-height: 280px; height: min(72vw, 390px); }
	.hero__image::after { inset: auto 0 0; width: 100%; height: 42%; background: linear-gradient(0deg, var(--rose-soft), transparent); }
	.hero__copy { order: 2; width: 100%; padding: 30px 22px 38px; }
	.hero h1 { font-size: clamp(2.35rem, 10vw, 3.5rem); }
	.hero__actions { gap: 10px; }
	.hero__actions .button { flex: 1 1 180px; }
}
@media (max-width: 520px) {
	.hero__image, .hero__image-placeholder { min-height: 245px; height: 68vw; }
	.hero__copy { padding: 26px 18px 32px; }
	.hero__copy > p { margin: 15px 0 20px; }
	.footer-main { grid-template-columns: 1fr; gap: 22px; }
	.footer-main > :first-child { grid-column: auto; }
	.footer-main p { max-width: 32rem; }
	.footer-nav li { margin: 8px 0; }
	.footer-bottom { gap: 5px; padding-top: 18px; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
