/*
Theme Name: Audharya Natura
Theme URI: https://audharya.lk
Author: Audharya (Pvt) Ltd
Description: Custom WooCommerce theme for Audharya Natura: pantry and Ayurvedic skin care from Sri Lanka.
Version: 0.8.2
Requires at least: 6.5
Requires PHP: 8.0
Text Domain: audharya
WC requires at least: 9.0
*/

/* ---------- Tokens ---------- */
:root {
	/* Audharya gold palette (docs/content/color palette.jpeg) */
	--gold-champagne: #f2d578;
	--gold-amber: #efb14c;
	--gold-antique: #d49647;
	--gold-bronze: #bf8039;
	--gold-heritage: #a86d2f;

	/* Roles. Light golds are too pale for text on white, so small gold text uses --accent,
	   a deeper Heritage Gold (6:1 on white). Gold buttons carry dark text (about 9.7:1). */
	--accent: #8a5824;          /* gold text: labels, links, origins */
	--brand-dark: #1d1812;      /* warm black from the logo background: announcement bar */
	--button: var(--gold-amber);
	--button-hover: var(--gold-antique);
	--button-text: var(--brand-dark);
	--focus: var(--gold-bronze);
	--stars: var(--gold-bronze);

	--terracotta: #a5593f;      /* Skin care range accent */
	--ink: #1f1f1d;
	--text: #3d3a35;
	--muted: #6e675d;
	--faint: #9d958a;
	--line: #ebe3d3;
	--line-strong: #d5c9b2;
	--white: #ffffff;
	/* Warm cream backgrounds, tinted from Champagne Gold */
	--sand-50: #fbf7ee;
	--sand-100: #f6efe0;
	--sand-200: #f0e6cf;
	--sand-300: #e8dabb;
	--rose-50: #f6f1ec;
	--rose-100: #efe6e0;
	--font: "Segoe UI", -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", Arial, sans-serif;
	--container: 1200px;
	--gutter: 24px;
	--gap: 16px;
	--radius: 0;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--white);
	color: var(--text);
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { color: var(--ink); font-weight: 600; line-height: 1.2; margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(30px, 4vw, 44px); }
h2 { font-size: clamp(24px, 2.6vw, 30px); }
h3 { font-size: 18px; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.container-narrow { max-width: calc(760px + var(--gutter) * 2); }
.section { padding: 72px 0; }
.section-tint { background: var(--sand-50); }
.section-rose { background: var(--rose-50); }
.section-line { border-top: 1px solid var(--line); }
.screen-reader-text, .sr-only {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: var(--white); padding: 8px 12px; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }

.eyebrow { display: block; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.eyebrow-skin { color: var(--terracotta); }
.lead { font-size: 18px; color: var(--muted); }
.muted { color: var(--muted); }
.note { font-size: 13px; color: var(--faint); margin-top: 24px; }
.text-link { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; font-size: 15px; }
.text-link:hover { color: var(--accent); }
.gold-link { color: var(--accent); font-size: 14px; text-decoration: none; }
.gold-link:hover { text-decoration: underline; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.section-head h2 { margin: 0; }
.center { text-align: center; }

/* ---------- Buttons ---------- */
.btn, .button, button.button, a.button, input.button,
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 44px; padding: 10px 22px;
	border: 1px solid var(--ink); border-radius: var(--radius);
	background: var(--white); color: var(--ink);
	font-size: 15px; font-weight: 400; line-height: 1.2; text-decoration: none;
	cursor: pointer; transition: background .15s, color .15s, border-color .15s;
}
.btn:hover, .button:hover, .woocommerce a.button:hover, .woocommerce button.button:hover { background: var(--ink); color: var(--white); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: #000; }
.btn-gold, .woocommerce button.button.alt, .woocommerce a.button.alt, .single_add_to_cart_button.button {
	background: var(--button) !important; border-color: var(--button) !important; color: var(--button-text) !important;
}
.btn-gold:hover, .woocommerce button.button.alt:hover, .single_add_to_cart_button.button:hover { background: var(--button-hover) !important; border-color: var(--button-hover) !important; }
.btn-block { width: 100%; }
.btn-sm { min-height: 36px; padding: 6px 16px; font-size: 14px; }
.btn[disabled], .button.disabled, .button:disabled { opacity: .5; cursor: not-allowed; }
a.added_to_cart { display: block; margin-top: 8px; font-size: 13px; color: var(--accent); text-align: center; }

/* ---------- Photo placeholders ---------- */
.ph {
	position: relative; display: flex; align-items: center; justify-content: center;
	background: var(--sand-100); color: var(--faint);
	font-size: 11px; letter-spacing: .1em; text-transform: uppercase; text-align: center; padding: 12px;
	width: 100%; height: 100%;
}
.media { position: relative; overflow: hidden; background: var(--sand-100); }
.media > img, .media > .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ratio-1 { aspect-ratio: 1 / 1; }
.ratio-45 { aspect-ratio: 4 / 5; }
.ratio-32 { aspect-ratio: 3 / 2; }
.ratio-169 { aspect-ratio: 16 / 9; }
.ratio-hero { aspect-ratio: 16 / 9; }
.media-rose { background: var(--rose-100); }
.media-rose .ph { background: var(--rose-100); }
.media-sand .ph { background: var(--sand-200); }

/* ---------- Announcement + header ---------- */
.announce { background: var(--brand-dark); color: var(--gold-champagne); font-size: 13px; text-align: center; padding: 8px var(--gutter); }
.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); }
.admin-bar .site-header { top: 32px; }
.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 92px; gap: 16px; }
.primary-nav .menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 22px; }
.primary-nav a { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; color: var(--ink); padding: 6px 0; }
.primary-nav a:hover { color: var(--accent); }
.primary-nav .current-menu-item > a, .primary-nav .current-menu-ancestor > a, .primary-nav .current-product_cat-ancestor > a { font-weight: 600; }
.primary-nav .menu-skin > a:hover,
.primary-nav .menu-skin.current-menu-item > a,
.primary-nav .menu-skin.current-menu-ancestor > a,
.is-skin .primary-nav .menu-skin > a { color: var(--terracotta); font-weight: 600; }
.is-skin .primary-nav .menu-pantry > a { font-weight: 400; }
.brand { display: flex; flex-direction: column; align-items: center; text-decoration: none; line-height: 1; }
.brand-sub { margin-top: 10px; font-size: 10px; letter-spacing: .32em; color: var(--accent); text-transform: uppercase; margin-right: -.32em; }
.brand .brand-logo { display: block; height: 52px; width: auto; max-width: none; } /* .brand prefix outranks WooCommerce's ".woocommerce img" */
.header-actions { display: flex; justify-content: flex-end; align-items: center; gap: 22px; font-size: 14px; }
.header-actions a, .header-actions button { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; color: var(--ink); background: none; border: 0; padding: 4px; cursor: pointer; }
.header-actions a:hover, .header-actions button:hover { color: var(--accent); }
.header-actions svg { width: 18px; height: 18px; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink); }
.nav-toggle svg { width: 22px; height: 22px; display: block; }
.header-search { border-top: 1px solid var(--line); padding: 16px 0; }
.header-search[hidden] { display: none; }
.search-form { display: flex; gap: 8px; max-width: 560px; margin: 0 auto; }
.search-form input[type="search"] { flex: 1; }

/* ---------- Forms ---------- */
input[type="text"], input[type="email"], input[type="search"], input[type="tel"], input[type="password"], input[type="number"], input[type="url"], select, textarea {
	width: 100%; min-height: 44px; padding: 10px 14px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--white); font-size: 15px;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--focus); box-shadow: 0 0 0 1px var(--focus); }
label { font-size: 14px; color: var(--ink); }

/* ---------- Grids ---------- */
.grid { display: grid; gap: var(--gap); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.grid-products { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 32px 16px; }
.grid-products.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ---------- Home ---------- */
.home-intro { padding: 56px 0 32px; text-align: center; }
.home-intro h1 { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 12px; }
.home-intro p { max-width: 560px; margin: 0 auto; color: var(--muted); }
.range-card { display: flex; flex-direction: column; text-decoration: none; }
.range-card .media { aspect-ratio: 16 / 9; }
.range-card .media .ph { background: var(--sand-200); }
.range-card-body { background: var(--sand-50); padding: 24px 22px 28px; flex: 1; }
.range-card-skin .media, .range-card-skin .media .ph { background: var(--rose-100); }
.range-card-skin .range-card-body { background: var(--rose-50); }
.range-card h2 { font-size: 24px; margin-bottom: 8px; }
.range-card p { color: var(--muted); font-size: 15px; margin-bottom: 14px; }
.range-card .text-link { font-size: 14px; }

.cat-card { text-decoration: none; display: block; }
.cat-card h3 { font-size: 16px; margin: 12px 0 4px; }
.cat-card p { font-size: 13px; color: var(--muted); margin: 0; }
.cat-card:hover h3 { color: var(--accent); }

/* ---------- Product card ---------- */
.product-card { display: flex; flex-direction: column; }
.product-card .media { aspect-ratio: 4 / 5; display: block; }
.product-card-body { display: flex; flex-direction: column; flex: 1; padding-top: 12px; }
.product-card .card-origin { font-size: 12px; color: var(--accent); margin-bottom: 4px; }
.product-card h3 { font-size: 16px; margin: 0 0 8px; }
.product-card h3 a { text-decoration: none; }
.product-card h3 a:hover { color: var(--accent); }
.product-card .card-line { font-size: 13px; font-style: italic; color: var(--muted); margin: 0 0 6px; }
.product-card .card-meta { font-size: 13px; color: var(--muted); margin: 6px 0 14px; }
.product-card .card-meta .woocommerce-Price-amount { color: var(--muted); }
.product-card .card-meta del { opacity: .6; }
.product-card .card-actions { margin-top: auto; }
.product-card .card-actions .btn { width: 100%; }
.product-card-skin .media, .product-card-skin .media .ph { background: var(--rose-50); }
.product-card-skin .card-origin { color: var(--terracotta); }
.product-card-skin .card-key { font-size: 14px; color: var(--muted); margin: 0; }
.product-card.is-hidden { display: none; }

/* ---------- Reviews ---------- */
.reviews-summary { color: var(--muted); font-size: 14px; margin-top: -8px; margin-bottom: 28px; }
.review-card { background: var(--white); padding: 22px 18px; }
.stars { color: var(--stars); letter-spacing: 2px; font-size: 14px; }
.review-card blockquote { margin: 12px 0; font-size: 16px; color: var(--text); }
.review-card cite { font-style: normal; font-size: 12px; color: var(--ink); }
.review-card cite strong { font-weight: 600; }

/* ---------- Visit + split ---------- */
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.split .media { aspect-ratio: 3 / 2; }
.visit-details { margin: 16px 0 22px; font-size: 14px; color: var(--ink); line-height: 1.7; }

/* ---------- FAQ accordion ---------- */
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; padding: 18px 32px 18px 0; position: relative; font-size: 15px; color: var(--ink); font-weight: 500; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 20px; font-weight: 300; color: var(--muted); }
.faq-item[open] summary::after { content: "\2212"; }
.faq-answer { padding: 0 0 20px; color: var(--muted); font-size: 15px; }
.faq-answer > :last-child { margin-bottom: 0; }

/* ---------- Feature cards (quiz) ---------- */
.feature-card { display: flex; flex-direction: column; }
.feature-card .media { aspect-ratio: 16 / 9; }
.feature-card .media .ph { background: var(--sand-200); }
.feature-card-body { background: var(--sand-50); padding: 24px 22px; flex: 1; }
.feature-card h3 { font-size: 20px; margin-bottom: 8px; }
.feature-card p { color: var(--muted); font-size: 15px; }

/* ---------- Journal cards ---------- */
.post-card { text-decoration: none; display: block; }
.post-card .media { aspect-ratio: 3 / 2; }
.post-card time { display: block; font-size: 12px; color: var(--muted); margin: 10px 0 4px; }
.post-card h3 { font-size: 16px; font-weight: 600; margin: 0; }
.post-card:hover h3 { color: var(--accent); }

/* ---------- Newsletter ---------- */
.newsletter { background: var(--sand-50); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 56px 0; text-align: center; }
.newsletter h2 { margin-bottom: 8px; }
.newsletter p { color: var(--muted); }
.newsletter-form { display: flex; gap: 8px; max-width: 480px; margin: 16px auto 0; }
.newsletter-form input[type="email"] { flex: 1; }
.newsletter-msg { margin-top: 12px; font-size: 14px; color: var(--accent); }
.newsletter-msg.is-error { color: #b3261e; }
.hp-field { position: absolute; left: -9999px; }

/* ---------- Footer ---------- */
.site-footer { padding: 48px 0 0; font-size: 13px; color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.footer-brand { font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink); font-weight: 600; margin-bottom: 8px; }
.site-footer h4 { font-size: 13px; margin: 0 0 10px; font-weight: 600; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 6px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--ink); text-decoration: underline; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--line); margin-top: 32px; padding-top: 18px; padding-bottom: 28px; }

/* ---------- Skin care landing ---------- */
.skin-hero { background: var(--rose-50); padding: 48px 0; }
.skin-hero .split { grid-template-columns: 1fr 1fr; }
.skin-hero h1 { font-size: clamp(32px, 4.2vw, 48px); margin-bottom: 18px; }
.skin-hero .lead { margin-bottom: 26px; }
.skin-hero .media { aspect-ratio: 5 / 4; background: var(--rose-100); }
.skin-hero .media .ph { background: var(--rose-100); }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }
.filter-buttons { display: flex; gap: 6px; flex-wrap: wrap; }
.filter-buttons button { min-height: 34px; padding: 4px 14px; border: 1px solid var(--line-strong); background: var(--white); font-size: 13px; cursor: pointer; }
.filter-buttons button[aria-pressed="true"] { background: var(--ink); color: var(--white); border-color: var(--ink); }
.ingredient-card { background: var(--white); display: flex; flex-direction: column; }
.ingredient-card .media { aspect-ratio: 3 / 2; }
.ingredient-card .media .ph { background: var(--sand-200); }
.ingredient-card-body { padding: 18px 18px 22px; }
.ingredient-card h3 { font-size: 16px; margin-bottom: 6px; }
.ingredient-card p { font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.ingredient-card .gold-link { font-size: 12px; }
.facts-table { display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; border-top: 1px solid var(--line); }
.facts-table > div { padding: 16px 0; border-bottom: 1px solid var(--line); }
.fact-label { display: block; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.fact-value { font-size: 15px; color: var(--ink); font-weight: 600; }
.ritual h3 { font-size: 17px; margin-bottom: 4px; }
.ritual .when { font-size: 13px; color: var(--terracotta); margin-bottom: 6px; display: block; }
.ritual p { color: var(--muted); font-size: 15px; }
.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { font-size: 22px; margin-bottom: 4px; }
.cta-band p { margin: 0; color: var(--muted); }

/* ---------- Breadcrumb + page heads ---------- */
.breadcrumb { font-size: 13px; color: var(--muted); padding: 18px 0 16px; }
.breadcrumb a { color: var(--muted); }
.page-head { padding: 40px 0 24px; }
.page-head h1 { margin-bottom: 8px; }
.page-head .term-description, .page-head .lead { color: var(--muted); max-width: 640px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 8px; }
.chips a { border: 1px solid var(--line-strong); padding: 6px 14px; font-size: 13px; text-decoration: none; }
.chips a:hover, .chips a.is-active { background: var(--ink); color: var(--white); border-color: var(--ink); }
.shop-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin: 8px 0 24px; font-size: 14px; color: var(--muted); }
.shop-toolbar .woocommerce-result-count { margin: 0; }
.shop-toolbar .woocommerce-ordering { margin: 0; }
.shop-toolbar select { min-height: 38px; width: auto; padding: 6px 12px; }

/* ---------- Single product ---------- */
.product-top { display: grid; grid-template-columns: 1.25fr 1fr; gap: 56px; padding-bottom: 64px; }
.gallery-main { aspect-ratio: 1 / 1; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 8px; }
.gallery-thumbs button { padding: 0; border: 1px solid transparent; background: none; cursor: pointer; aspect-ratio: 1 / 1; position: relative; overflow: hidden; }
.gallery-thumbs button[aria-current="true"] { border-color: var(--ink); }
.gallery-thumbs img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.product-summary h1 { font-size: clamp(28px, 3vw, 36px); margin-bottom: 12px; }
.product-summary .product-lede { font-size: 18px; font-style: italic; color: var(--text); margin-bottom: 18px; }
.product-summary .aud-price { font-size: 20px; color: var(--ink); margin-bottom: 18px; }
.product-summary .aud-price, .product-summary .aud-price .woocommerce-Price-amount { color: var(--ink); }
.product-summary .aud-price del, .product-summary .aud-price del .woocommerce-Price-amount { color: var(--faint); font-size: 16px; }
.product-summary .aud-price ins { text-decoration: none; }
.product-summary form.cart { margin: 0; }
.product-summary table.variations { display: none; }
.aud-swatches { margin-bottom: 12px; }
.aud-swatches .swatch-label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.aud-swatches .swatch-row { display: flex; flex-wrap: wrap; gap: 6px; }
.aud-swatches button { min-height: 40px; padding: 6px 14px; border: 1px solid var(--line-strong); background: var(--white); cursor: pointer; font-size: 14px; }
.aud-swatches button[aria-pressed="true"] { background: var(--ink); color: var(--white); border-color: var(--ink); }
.aud-swatches button:disabled { opacity: .35; text-decoration: line-through; cursor: not-allowed; }
.single_variation_wrap .woocommerce-variation-price { display: none; }
.single_variation_wrap .woocommerce-variation-availability { font-size: 13px; color: var(--muted); }
.reset_variations { display: none !important; }
.product-summary form.cart:not(.variations_form), .woocommerce-variation-add-to-cart { display: flex; gap: 8px; align-items: stretch; flex-wrap: wrap; }
.product-summary .single_add_to_cart_button { flex: 1; min-height: 44px; float: none !important; }
.product-summary .stock { font-size: 13px; color: var(--muted); }
.product-summary .stock.out-of-stock { color: #b3261e; }
.quantity { display: inline-flex; align-items: stretch; border: 1px solid var(--line-strong); float: none !important; margin: 0 !important; }
.quantity .qty { width: 44px; min-height: 42px; border: 0; text-align: center; padding: 0; -moz-appearance: textfield; box-shadow: none !important; }
.quantity .qty::-webkit-outer-spin-button, .quantity .qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-btn { width: 40px; border: 0; background: none; cursor: pointer; font-size: 18px; color: var(--ink); }
.qty-btn:hover { background: var(--sand-100); }
.product-note { border-top: 1px solid var(--line); margin-top: 16px; padding-top: 14px; font-size: 13px; color: var(--muted); }
.product-story { background: var(--sand-50); padding: 64px 0; }
.product-story .split { grid-template-columns: 1fr 1fr; gap: 56px; }
.product-story .media { aspect-ratio: 4 / 5; }
.product-story .media .ph { background: var(--sand-300); }
.product-story h2 { font-size: clamp(26px, 2.8vw, 32px); max-width: 420px; margin-bottom: 18px; }
.story-body { font-size: 15px; color: var(--text); }
.facts-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 20px 0; }
.process-step .media { aspect-ratio: 3 / 2; }
.process-step .step-num { display: block; font-size: 12px; color: var(--muted); margin: 12px 0 4px; }
.process-step h3 { font-size: 16px; margin-bottom: 6px; }
.process-step p { font-size: 13px; color: var(--muted); }
.quote-block { text-align: center; padding: 56px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.quote-block .portrait { width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 20px; overflow: hidden; background: var(--sand-100); }
.quote-block .portrait img, .quote-block .portrait .ph { width: 100%; height: 100%; object-fit: cover; font-size: 9px; letter-spacing: 0; text-transform: none; }
.quote-block blockquote { margin: 0 auto 14px; max-width: 520px; font-size: 22px; color: var(--ink); line-height: 1.45; }
.quote-block cite { font-style: normal; font-size: 13px; color: var(--muted); }
.info-cols h3 { font-size: 17px; margin-bottom: 8px; }
.info-cols p { color: var(--muted); font-size: 15px; }
.story-card { text-decoration: none; display: block; }
.story-card .media { aspect-ratio: 4 / 5; }
.story-card .media .ph { background: var(--sand-200); }
.story-card h3 { font-size: 16px; margin: 12px 0 4px; }
.story-card p { font-size: 13px; font-style: italic; color: var(--muted); margin: 0; }
.story-card:hover h3 { color: var(--accent); }

.ingredient-list { color: var(--text); font-size: 15px; max-width: 520px; }

/* Product reviews */
.product-reviews { max-width: 760px; }
.product-reviews .commentlist { list-style: none; padding: 0; margin: 0 0 32px; }
.product-reviews .commentlist li { border-bottom: 1px solid var(--line); padding: 16px 0; }
.product-reviews .commentlist img.avatar { display: none; }
.product-reviews .comment-text { margin: 0 !important; border: 0 !important; padding: 0 !important; }
.product-reviews .comment-form p { margin-bottom: 14px; }
.product-reviews .comment-form-rating .stars a { color: var(--stars); }
.woocommerce #respond input#submit {
	background: var(--button); color: var(--button-text); border-radius: 0; min-height: 44px; padding: 10px 24px; font-weight: 400; font-size: 15px;
}
.woocommerce #respond input#submit:hover { background: var(--button-hover); color: var(--button-text); }
.star-rating { color: var(--stars); }

/* ---------- Generic content ---------- */
.entry-content { font-size: 17px; line-height: 1.75; }
.entry-content > * { max-width: 760px; }
.entry-content > .alignwide { max-width: 1100px; }
.entry-content > .alignfull { max-width: none; }
.entry-content a { color: var(--accent); }
.entry-content h2 { margin-top: 1.6em; }
.entry-content img { margin: 1.5em 0; }
.post-hero { aspect-ratio: 16 / 9; margin-bottom: 32px; }
.pagination, .woocommerce-pagination { margin-top: 40px; text-align: center; }
.pagination .page-numbers, .woocommerce-pagination .page-numbers { display: inline-flex; gap: 4px; list-style: none; padding: 0; border: 0 !important; }
.pagination a, .pagination span, .woocommerce-pagination .page-numbers li a, .woocommerce-pagination .page-numbers li span { display: inline-block; min-width: 36px; padding: 6px 10px; border: 1px solid var(--line) !important; text-decoration: none; }
.pagination .current, .woocommerce-pagination .page-numbers li span.current { background: var(--ink) !important; color: var(--white) !important; }

/* ---------- WooCommerce: notices, account, cart/checkout ---------- */
.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error {
	border-top-color: var(--accent) !important; background: var(--sand-50) !important; color: var(--ink) !important; font-size: 15px;
}
.woocommerce-message::before, .woocommerce-info::before { color: var(--accent) !important; }
.woocommerce-error { border-top-color: #b3261e !important; }
.woocommerce-message .button { float: right; min-height: 36px; padding: 6px 14px; }
.woocommerce-account .woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.woocommerce-account .woocommerce-MyAccount-navigation li a { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-size: 15px; }
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a { font-weight: 600; color: var(--accent); }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea { padding: 10px 14px; }
.woocommerce form.login, .woocommerce form.register { border: 1px solid var(--line) !important; border-radius: 0 !important; }
.wp-block-woocommerce-cart, .wp-block-woocommerce-checkout { font-family: var(--font); }
.wc-block-components-button:not(.is-link) { background: var(--button) !important; color: var(--button-text) !important; border-radius: 0 !important; }
.wc-block-components-button:not(.is-link):hover { background: var(--button-hover) !important; }
.wc-block-components-text-input input, .wc-block-components-combobox input, .wc-blocks-components-select select { border-radius: 0 !important; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.grid-products { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
	:root { --gutter: 20px; }
	.section { padding: 56px 0; }
	.header-inner { grid-template-columns: auto 1fr auto; min-height: 72px; }
	.brand { justify-self: center; }
	.brand .brand-logo { height: 38px; }
	.brand-sub { margin-top: 6px; }
	.nav-toggle { display: inline-flex; }
	.primary-nav {
		display: none; position: absolute; left: 0; right: 0; top: 100%;
		background: var(--white); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 16px;
	}
	.primary-nav.is-open { display: block; }
	.primary-nav .menu { flex-direction: column; gap: 0; }
	.primary-nav a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); }
	.header-actions { gap: 10px; }
	.header-actions .header-account { display: none; }
	.grid-4, .grid-products, .grid-products.cols-4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.grid-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.split, .skin-hero .split, .product-story .split, .product-top { grid-template-columns: 1fr; gap: 32px; }
	.facts-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 782px) {
	.admin-bar .site-header { top: 46px; }
}
@media (max-width: 640px) {
	.grid-2, .grid-3 { grid-template-columns: 1fr; }
	.grid-4, .grid-5, .grid-products, .grid-products.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 12px; }
	.facts-table { grid-template-columns: 1fr; }
	.section-head { flex-wrap: wrap; }
	.newsletter-form { flex-direction: column; }
	.footer-grid { grid-template-columns: 1fr; gap: 24px; }
	.home-intro { padding-top: 40px; }
	.quote-block blockquote { font-size: 19px; }
	.shop-toolbar { flex-direction: column; align-items: flex-start; }
	.header-actions .label-cart { display: none; }
}
@media (prefers-reduced-motion: reduce) {
	* { transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Checkout payment badge ---------- */
.checkout-badge { max-width: 480px; margin: 32px auto 0; }
.checkout-badge img { width: 100%; height: auto; }
.checkout-badge--summary { max-width: none; margin: 16px 0 0; }
