/*
 * Catalogue surfaces — the PRISTORA product card, the archive and the product page.
 *
 * Values are taken from the approved design package:
 *   Roasted Makhana.dc.html / Raw Makhana.dc.html  — grid, card, filter pills
 *   Product Roasted.dc.html / Product Raw.dc.html  — product detail
 *
 * Loaded wherever a product is shown: the Products landing, the Shop archive,
 * the category archives, Search and the product page. One card, one stylesheet.
 *
 * theme.json forces 17px/1.6 on body copy, so every block here restates its own
 * font-size and line-height rather than inheriting them.
 */

/* --------------------------------------------------------------------------
   The product grid
   -------------------------------------------------------------------------- */

.pr-pgrid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: clamp(16px, 2vw, 24px);
	margin: 0;
	padding: 0;
	list-style: none;
}

.pr-pgrid--loop::before,
.pr-pgrid--loop::after {
	display: none;
}

/* WooCommerce's loop wraps each card in a list item of its own. */
.pr-prodcard-item {
	width: auto !important;
	margin: 0 !important;
	padding: 0 !important;
	float: none !important;
	list-style: none;
}

/* --------------------------------------------------------------------------
   The product card
   -------------------------------------------------------------------------- */

.pr-prodcard {
	position: relative;
	display: flex;
	height: 100%;
	flex-direction: column;
	padding: 20px;
	border: 1px solid rgba(23, 63, 53, 0.08);
	border-radius: 20px;
	background: var(--pr-white, #fff);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pr-prodcard:hover {
	transform: translateY(-6px);
	box-shadow: 0 24px 44px rgba(23, 63, 53, 0.14);
}

@media (prefers-reduced-motion: reduce) {
	.pr-prodcard:hover {
		transform: none;
	}
}

.pr-prodcard__badge {
	position: absolute;
	z-index: 2;
	top: 14px;
	right: 14px;
	padding: 5px 11px;
	border-radius: 999px;
	background: rgba(23, 63, 53, 0.08);
	color: var(--pr-forest, #173F35);
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: 0.06em;
	line-height: 1.4;
	text-transform: uppercase;
}

/*
 * The badge states.
 *
 * The approved design drew one badge, in the brand's translucent forest. It
 * never drew a product on sale or sold out, so the two new states are built
 * from the same chip: the sale chip takes the brand's lime, which is the
 * design's own "this is good news" colour, and the sold-out chip stays the
 * neutral chip with its type dimmed, because an unavailable product should
 * recede rather than shout. Only one of the three is ever rendered.
 */
.pr-prodcard__badge--sale {
	background: var(--pr-lime, #B7E33B);
	color: var(--pr-ink, #18201D);
}

.pr-prodcard__badge--oos {
	background: rgba(23, 63, 53, 0.06);
	color: #6b756f;
}

.pr-prodcard__media {
	display: block;
	height: 180px;
	border-radius: 12px;
	text-decoration: none;
}

.pr-prodcard__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

/*
 * THE SAME GEOMETRY, RESTATED LOUDLY ENOUGH TO SURVIVE WOOCOMMERCE'S OWN RULE.
 *
 * WooCommerce's stylesheet declares
 *
 *     .woocommerce ul.products li.product a img { width:100%; height:auto; margin:0 0 1em; … }
 *
 * at specificity 0,3,3. The card's own `.pr-prodcard__media img` is 0,1,1, so on
 * any surface that runs WooCommerce's product loop — the Shop, the range
 * archives, related products — WooCommerce won: `height: auto` replaced the
 * card's `height: 100%`, and the image rendered at its natural aspect ratio
 * instead of fitting the 180px media box.
 *
 * Measured on the roasted archive: a 1024x1536 jar render became 237px tall
 * inside a 180px box, overflowed it by 57px, and covered the flavour title
 * beneath by 45px. The 1em bottom margin landed on top of that.
 *
 * This restates the card's own two declarations at 0,4,1 so they win. It changes
 * nothing on `.pr-pgrid` surfaces — the Products landing and Search never matched
 * WooCommerce's selector, so their cards were always correct — and it adds no new
 * value: `height` and `margin` are the card's, exactly as declared above.
 */
.woocommerce ul.products li.product .pr-prodcard__media img {
	height: 100%;
	margin: 0;
}

/* A placeholder is not product artwork: it is shown plainly, never dressed up. */
.pr-prodcard--noimage .pr-prodcard__media {
	background: rgba(23, 63, 53, 0.04);
}

.pr-prodcard--soon .pr-prodcard__media img,
.pr-prodcard--oos .pr-prodcard__media img {
	opacity: 0.72;
	filter: saturate(0.85);
}

/*
 * A card that cannot be bought keeps its full border, radius and shadow: it is
 * a real product and still links to its page. Only its emphasis drops, and only
 * on hover, where the lift that promises "you can act on this" is withheld.
 */
.pr-prodcard--oos:hover {
	box-shadow: 0 16px 30px rgba(23, 63, 53, 0.08);
	transform: none;
}

.pr-prodcard__body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	text-align: center;
}

.pr-prodcard__name {
	margin: 12px 0 0;
	color: var(--pr-forest, #173F35);
	font-family: var(--pr-font-serif, "Cardo"), Georgia, serif;
	font-size: 1.2rem;
	line-height: 1.25;
	text-decoration: none;
	transition: color 0.2s ease;
}

.pr-prodcard__name:hover,
.pr-prodcard__name:focus-visible {
	color: var(--pr-leaf, #6F8F3D);
}

.pr-prodcard__meta {
	margin: 4px 0 0;
	color: #6b756f;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.45;
}

/*
 * PRICE
 *
 * The approved cards show one price. WooCommerce emits two when a product is on
 * sale — `<del>MRP</del> <ins>price now</ins>` — and the design never said which
 * should lead, so:
 *
 *   - the price the customer pays keeps the card's existing price treatment,
 *     unchanged, so an ordinary card looks exactly as approved;
 *   - the MRP drops to the meta line's size and colour, which is the design's
 *     own "secondary information" step, and keeps its strike-through;
 *   - the MRP comes first, left of the price paid, because that is the order
 *     WooCommerce writes it and the order the eye reads a reduction in.
 *
 * Both numbers are WooCommerce's, formatted by WooCommerce. Nothing here
 * calculates, rounds or restates a price or a saving.
 */
.pr-prodcard__price {
	display: flex;
	flex-wrap: wrap;
	margin-top: 8px;
	align-items: baseline;
	justify-content: center;
	gap: 7px;
	color: var(--pr-forest, #173F35);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.4;
}

.pr-prodcard__price del {
	color: #6b756f;
	font-size: 13px;
	font-weight: 500;
	text-decoration-thickness: 1px;
}

.pr-prodcard__price ins {
	color: var(--pr-forest, #173F35);
	font-weight: 700;
	text-decoration: none;
}

/* WooCommerce's "Original price was:" helper is for screen readers only. */
.pr-prodcard__price .screen-reader-text,
.pr-pdp__price .screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

/*
 * WHAT THE SINGLE OFFER TAKES OFF.
 *
 * A compact pill in the brand's own forest/lime pairing — the same two tokens
 * `.pr-btn--gradient:hover` already uses — at the 10.5px/700/uppercase the
 * card's other chips are set in, so it reads as a badge rather than as a third
 * number in the price line. 7.82:1 for the type on the pill and 11.67:1 for the
 * pill against the card.
 *
 * It is the last child of the existing price row, which is a centred, wrapping
 * flex line. So it sits BESIDE the struck MRP and the selling price and drops to
 * its own line on a narrow card, and it cannot reach the artwork, the title or
 * the action area, which are all outside this row.
 *
 * The percentage is the stored profile's; nothing here or in the markup knows
 * what it is. See pristora_product_card_discount().
 */
.pr-prodcard__off {
	display: inline-flex;
	align-items: center;
	padding: 3px 9px;
	border-radius: 999px;
	background: var(--pr-forest, #173F35);
	color: var(--pr-lime, #B7E33B);
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: 0.06em;
	line-height: 1.45;
	text-transform: uppercase;
	white-space: nowrap;
}

/* The price of something that cannot be bought is reference, not an offer. */
.pr-prodcard--oos .pr-prodcard__price {
	color: #6b756f;
}

.pr-prodcard--oos .pr-prodcard__price ins {
	color: #6b756f;
}

/* The badge recedes with the rest of the row rather than vanishing from it. */
.pr-prodcard--oos .pr-prodcard__off {
	opacity: 0.62;
}

/* WooCommerce's own low-stock or backorder sentence. */
.pr-prodcard__note {
	margin: 6px 0 0;
	color: #8a6d1f;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.4;
}

.pr-prodcard__action {
	margin-top: auto;
	padding-top: 16px;
}

.pr-prodcard__add {
	display: flex;
	width: 100%;
	align-items: center;
	justify-content: center;
	padding: 13px;
	border: none;
	border-radius: 11px;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.2px;
	line-height: 1.2;
}

/* Offer choice keeps the card's primary action compact and brand led. */
.pr-prodcard__offer-open { flex-direction: column; gap: 2px; text-decoration: none; }
.pr-prodcard__offer-open small { font-size: 11px; font-weight: 600; opacity: .82; }
.pr-prodcard__add[hidden] { display: none !important; }
.pr-prodcard__offer-cart { display: flex; width: 100%; min-height: 44px; align-items: center; justify-content: center; border-radius: 11px; background: var(--pr-forest); color: #fff; font-size: 13px; font-weight: 800; text-decoration: none; letter-spacing: .04em; }
.pr-offer-sheet { box-sizing: border-box; width: min(440px, calc(100vw - 28px)); max-height: min(80vh, 670px); padding: 0; border: 1px solid rgba(23,63,53,.17); border-radius: 20px; background: #fffdf8; color: var(--pr-ink); box-shadow: 0 28px 80px rgba(20,36,31,.28); }
.pr-offer-sheet::backdrop { background: rgba(22,27,35,.56); backdrop-filter: blur(3px); }
.pr-offer-sheet__heading { display: flex; align-items: start; justify-content: space-between; gap: 16px; padding: 22px 24px 8px; }
.pr-offer-sheet__eyebrow { color: #6f8f3d; font-size: 11px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.pr-offer-sheet__heading h3 { margin: 5px 0 0; color: var(--pr-forest); font: 700 24px/1.15 var(--pr-font-display); }
.pr-offer-sheet__close { width: 34px; height: 34px; border: 1px solid rgba(23,63,53,.15); border-radius: 50%; background: #fff; color: var(--pr-forest); font-size: 24px; line-height: 1; cursor: pointer; }
.pr-offer-sheet__note { margin: 0; padding: 0 24px 12px; color: #68736a; font-size: 13px; }
.pr-offer-sheet__list { max-height: 55vh; overflow-y: auto; padding: 0 14px 16px; }
.pr-offer-sheet__row { display: grid; grid-template-columns: minmax(0,1fr) minmax(90px,auto) 64px; gap: 12px; align-items: center; margin: 7px 0; padding: 14px 12px; border: 1px solid rgba(23,63,53,.11); border-radius: 14px; background: #fff; }
.pr-offer-sheet__copy, .pr-offer-sheet__price { display: flex; flex-direction: column; justify-content: center; min-width: 0; gap: 3px; }
.pr-offer-sheet__copy strong { color: var(--pr-forest); font-size: 15px; }
.pr-offer-sheet__copy > span { color: #6b756f; font-size: 12px; }
.pr-offer-sheet__copy .pr-offer-sheet__reason { color: #a34b32; }
.pr-offer-sheet__price { align-items: end; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pr-offer-sheet__price del { color: #89948b; font-size: 12px; }
.pr-offer-sheet__price strong { color: var(--pr-forest); font-size: 16px; }
.pr-offer-sheet__price > span { color: #4f7833; font-size: 11px; font-weight: 800; }
.pr-offer-sheet__form { width: 100%; }
/*
 * The sheet's own ADD control, at three classes deep.
 *
 * The single-pack row's ADD is WooCommerce's real `ajax_add_to_cart` link, so it
 * carries WooCommerce's `button` class. On any `.woocommerce` surface —
 * including the product page the sheet opens over — `.woocommerce a.button`
 * (0,2,1) in assets/css/woo.css beat this rule at 0,1,0 and gave that one row a
 * forest-filled button at 15px/30px padding inside a 64px column, while every
 * other row in the same sheet kept the sheet's compact outline button. The
 * values below are unchanged; only the selector is strong enough to hold them.
 */
.pr-offer-sheet .pr-offer-sheet__row .pr-offer-sheet__add { box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; width: 64px; min-height: 38px; padding: 6px 10px; border: 1px solid var(--pr-forest); border-radius: 8px; background: #f4f8f0; color: var(--pr-forest); font: 800 12px/1 var(--pr-font-body); text-decoration: none; cursor: pointer; }
.pr-offer-sheet .pr-offer-sheet__row .pr-offer-sheet__add:hover { background: var(--pr-forest); color: var(--pr-cream); transform: none; box-shadow: none; }
.pr-offer-sheet .pr-offer-sheet__row .pr-offer-sheet__add:disabled, .pr-offer-sheet .pr-offer-sheet__row .pr-offer-sheet__add[aria-disabled="true"] { border-color: #ced4ca; background: #f5f5f1; color: #9aa29a; cursor: not-allowed; }
.pr-offer-sheet__error { margin: 0 24px 20px; color: #a34b32; font-size: 13px; }
.pr-prodcard__direct-offer .pr-offer-sheet__error, .pr-prodcard__offer-error { display: block; margin: 8px 0 0; color: #a34b32; font-size: 12px; line-height: 1.4; }
.pr-prodcard__direct-offer .pr-offer-sheet__error[hidden] { display: none; }
.pr-offer-sheet :focus-visible { outline: 2px solid var(--pr-gold); outline-offset: 2px; }
@media (max-width: 600px) {
	.pr-offer-sheet { position: fixed; inset: auto 0 0; width: 100%; max-width: none; max-height: min(83vh, 700px); margin: 0; border-radius: 22px 22px 0 0; border-bottom: 0; }
	.pr-offer-sheet__list { max-height: 61vh; padding-bottom: max(20px, env(safe-area-inset-bottom)); }
	.pr-offer-sheet__row { grid-template-columns: minmax(0,1fr) auto; }
	.pr-offer-sheet__price { grid-column: 2; grid-row: 1; }
	.pr-offer-sheet__form, .pr-offer-sheet__row > .pr-offer-sheet__add { grid-column: 1 / -1; justify-self: stretch; }
	/* Three classes deep, to match the full-width rule this overrides above. */
	.pr-offer-sheet .pr-offer-sheet__row .pr-offer-sheet__add { width: 100%; }
}

/*
 * THE CARD'S ONE UNAVAILABLE STATE.
 *
 * It stands exactly where Add to Cart would, and it is the only thing on the card
 * that says the product cannot be bought — there is no longer a badge over the
 * artwork repeating it, and no "View product" link beneath repeating a
 * destination the artwork and the title already carry.
 *
 * It takes the button's padding, radius and type size so a grid of cards keeps
 * one baseline whether or not a card can be added, and the brand's muted surface
 * rather than its forest fill so it never reads as something to press.
 */
.pr-prodcard__status {
	display: flex;
	margin: 0;
	align-items: center;
	justify-content: center;
	padding: 13px;
	border-radius: 11px;
	background: rgba(23, 63, 53, 0.05);
	box-shadow: inset 0 0 0 1px rgba(23, 63, 53, 0.08);
	color: #6b756f;
	font-size: 13.5px;
	font-weight: 700;
	letter-spacing: 0.2px;
	line-height: 1.2;
	text-align: center;
}

/* --------------------------------------------------------------------------
   THE ACTION SLOT — ONE SIZE, WHATEVER IS STANDING IN IT

   Five different controls can occupy the bottom of a card: the ordinary Add to
   Cart, the offer-choice opener with its second line, the single-offer form's
   button, the unavailable status, and — once WooCommerce has confirmed the line
   — the quantity stepper or VIEW CART that assets/js/minicart.js puts in the
   `__incart` slot.

   Each used to be sized by its own padding and type, so one grid row could mix
   a 43px button, a 44px stepper and a 58px opener. `.pr-prodcard__action` has
   `margin-top: auto`, so the taller control started higher up the card and the
   CTAs in a row sat at three different heights — the uneven alignment that is
   visible wherever a range mixes plain products with offer products.

   They now share one height, so the slot is the same size on every card and the
   row lines up whatever each card is offering. 48px is also the accessible
   minimum touch target, which the 43px button was under.

   The selectors are deliberately three classes deep. On any `.woocommerce`
   surface — the Shop, the range archives, related products, the product page —
   `.woocommerce a.button` (0,2,1) in assets/css/woo.css otherwise beat
   `.pr-prodcard__add` (0,1,0) and re-padded the one control that carries
   WooCommerce's own `button` class, so the SAME card's CTA was 48px tall with a
   12px radius there and 43px with an 11px radius on the Products landing,
   Search and the homepage — while the single-offer form's button, which has no
   `button` class, kept the card's size on both. Nothing here introduces a
   colour, a label or a behaviour: the fill, the type and the radius are the
   card's own, restated where they have to win.
   -------------------------------------------------------------------------- */

.pr-prodcard {
	--pr-card-cta-h: 48px;
}

/* The slot stacks, so every control in it stretches to the card's width. */
.pr-prodcard .pr-prodcard__action {
	display: flex;
	flex-direction: column;
}

.pr-prodcard .pr-prodcard__action .pr-prodcard__add,
.pr-prodcard .pr-prodcard__action .pr-prodcard__status,
.pr-prodcard .pr-prodcard__incart .pr-qty,
.pr-prodcard .pr-prodcard__incart .pr-prodcard__offer-cart {
	box-sizing: border-box;
	width: 100%;
	min-height: var(--pr-card-cta-h);
	margin: 0;
	border-radius: 11px;
	line-height: 1.2;
}

/* A form in the slot is a wrapper; the button inside it is the control. */
.pr-prodcard .pr-prodcard__action .pr-prodcard__direct-offer {
	display: flex;
	flex-direction: column;
}

/*
 * THE CTA'S OWN TYPE AND PADDING, RESTATED WHERE THEY HAVE TO WIN.
 *
 * Giving the slot one height was not enough. `.woocommerce a.button` (0,2,1)
 * also carries `padding: 15px 30px`, `font-size: 15px`, `gap: 10px` and a 1px
 * transparent border, and it still beat `.pr-prodcard__add` (0,1,0) on those.
 * Only the plain Add to Cart carries WooCommerce's `button` class, so on the
 * Shop, the range archives, related products and the product page that one
 * control rendered its label a point larger inside 30px of side padding, while
 * the same card on the homepage, the Products landing and Search rendered it at
 * 14px inside 13px — and the offer form's button, which has no `button` class,
 * kept 13px on both. The height matched after the shared rule above; the text
 * inside it did not, and it wrapped at a different width on a narrow card.
 *
 * These are the card's own values from `.pr-prodcard__add`, not new ones.
 */
.pr-prodcard .pr-prodcard__action .pr-prodcard__add {
	padding: 13px;
	border: 0;
	gap: 0;
	font-size: 14px;
	letter-spacing: 0.2px;
}

/* The opener's second line has to fit inside the shared height. */
.pr-prodcard .pr-prodcard__action .pr-prodcard__offer-open {
	padding: 7px 13px;
	gap: 2px;
}

/*
 * The one state nothing had given this control.
 *
 * The single-offer form's button carries no `button` class, so
 * `.woocommerce .button:disabled` never reached it: a sold-out offer rendered
 * as a full forest button that looked exactly as pressable as an available one.
 * It takes the card's own unavailable surface from `.pr-prodcard__status`
 * above, which is already this design's language for "this cannot be acted on",
 * at 4.6:1 for the type.
 */
.pr-prodcard .pr-prodcard__action .pr-prodcard__add:disabled,
.pr-prodcard .pr-prodcard__action .pr-prodcard__add[aria-disabled="true"] {
	background: rgba(23, 63, 53, 0.05);
	box-shadow: inset 0 0 0 1px rgba(23, 63, 53, 0.08);
	color: #6b756f;
	transform: none;
	cursor: not-allowed;
}

/* --------------------------------------------------------------------------
   THE TWO RANGE CARDS

   The approved design files declare different geometry for the roasted card and
   the raw one, and the difference carries meaning rather than style: the roasted
   range varies by FLAVOUR, so the flavour leads and the pack recedes to one quiet
   line; the raw range varies by GRADE at one pack size, so the grade is set
   larger, the declared weight is picked out, and the pack format moves to a chip.

   The shared rules above are the card itself — surface, radius, border, lift,
   action area. Only what the two design files actually disagree about is here.
   -------------------------------------------------------------------------- */

/* The raw card's pack chip, in the badge slot the roasted card leaves empty. */
.pr-prodcard__pack {
	position: absolute;
	z-index: 2;
	top: 14px;
	right: 14px;
	padding: 5px 11px;
	border-radius: 999px;
	background: rgba(111, 143, 61, 0.14);
	color: #4d6b2e;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.06em;
	line-height: 1.4;
	text-transform: uppercase;
}

.pr-prodcard--raw .pr-prodcard__media {
	height: 170px;
}

.pr-prodcard--raw .pr-prodcard__name {
	font-size: 1.4rem;
}

/* The declared pack weight, picked out — the raw card's own line. */
.pr-prodcard__units {
	margin: 6px 0 0;
	color: var(--pr-forest, #173F35);
	font-size: 13.5px;
	font-weight: 600;
	line-height: 1.45;
}

.pr-prodcard--oos .pr-prodcard__units {
	color: #6b756f;
}

.pr-prodcard--compact {
	padding: 16px;
	border-radius: 18px;
}

.pr-prodcard--compact .pr-prodcard__media {
	height: 130px;
}

.pr-prodcard--compact .pr-prodcard__name {
	font-size: 1.08rem;
}

/* A rail card is small; the pack chip would cover the artwork. */
.pr-prodcard--compact .pr-prodcard__pack {
	display: none;
}

/* --------------------------------------------------------------------------
   THE RANGE ARCHIVE

   Roasted Makhana.dc.html is ONE light-cream composition: the eyebrow, the
   headline, the lede, the pack filter, the grid, Future Flavours and the closing
   links all sit on a single linear-gradient(180deg,#FBF8F0,#F2EEE0) surface.

   Raw Makhana.dc.html is a SAGE pair: a 170deg hero flowing into a 180deg shop
   surface that begins on the colour the hero ended on, so the two read as one
   environment with no break, and then a separate cream guide band.

   Neither has a page hero and neither has a breadcrumb. The archive used to open
   with `.pr-phero` — the shared dark violet-to-forest inner-page hero — for both,
   which is what put the light-surface filter pills on a dark forest ground.

   The family reaches here as a body class, because the block template that wraps
   WooCommerce's loop is static markup and cannot carry it. See
   pristora_archive_body_class().
   -------------------------------------------------------------------------- */

/*
 * The roasted gradient is on the WRAPPER, not sliced across the three sections
 * that make the page up. Slicing one gradient into three stacked boxes bands
 * visibly at every join; putting it on the element that contains all three is
 * what actually produces the approved single surface.
 */
.pr-arch-flavoured .pr-woo--archive {
	background: linear-gradient(180deg, #FBF8F0 0%, #F2EEE0 100%);
}

/* A product archive that is neither range keeps the brand's plain cream. */
.pr-arch-generic .pr-woo--archive {
	background: linear-gradient(180deg, var(--pr-cream, #FBF8F0) 0%, var(--pr-cream-soft, #F2EEE0) 100%);
}

.pr-arch {
	position: relative;
	overflow: hidden;
	padding: clamp(52px, 7vw, 96px) clamp(20px, 5vw, 64px) 0;
}

.pr-arch__head {
	max-width: 1200px;
	margin-inline: auto;
	text-align: center;
}

.pr-arch__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	color: var(--pr-forest, #173F35);
	font-family: var(--pr-font-body);
	font-size: 12.5px;
	font-weight: 600;
	letter-spacing: 0.22em;
	line-height: 1.4;
	text-transform: uppercase;
}

/* The approved eyebrow is forest type with a GOLD diamond, not gold type. */
.pr-arch__eyebrow .pr-diamond {
	background: var(--pr-gold, #D6A84B);
}

.pr-arch__title {
	margin: 18px 0 0;
	color: var(--pr-forest, #173F35);
	font-family: var(--pr-font-display);
	font-size: clamp(2.4rem, 5.4vw, 4rem);
	font-weight: 700;
	letter-spacing: -0.4px;
	line-height: 1.06;
	text-wrap: balance;
}

.pr-arch__lede {
	margin: 18px auto 0;
	max-width: 52ch;
	color: #3a453f;
	font-size: clamp(1.02rem, 1.4vw, 1.18rem);
	font-weight: 400;
	line-height: 1.6;
}

/*
 * THE RAW OPENING.
 *
 * Its own sage gradient, because the raw composition is a hero plus a shop
 * surface rather than one continuous band. The two meet on #e3e9d6.
 */
.pr-arch--raw {
	padding: clamp(48px, 6vw, 84px) clamp(20px, 5vw, 64px) clamp(20px, 3vw, 32px);
	background: linear-gradient(170deg, #eef1e4 0%, #e3e9d6 100%);
}

.pr-arch--raw .pr-arch__head {
	max-width: 820px;
}

.pr-arch--raw .pr-arch__eyebrow {
	color: #4d6b2e;
}

.pr-arch--raw .pr-arch__eyebrow .pr-diamond {
	background: var(--pr-leaf, #6F8F3D);
}

.pr-arch--raw .pr-arch__lede {
	max-width: 54ch;
}

/* The surface WooCommerce's own loop is drawn on. */
.pr-arch__shop {
	position: relative;
	overflow: hidden;
	padding: clamp(28px, 4vw, 44px) clamp(20px, 5vw, 64px) clamp(52px, 7vw, 88px);
}

.pr-arch-raw .pr-arch__shop {
	padding-top: clamp(20px, 3vw, 32px);
	background: linear-gradient(180deg, #e3e9d6 0%, #eef1e4 100%);
}

.pr-arch__inner {
	max-width: 1200px;
	margin-inline: auto;
}

/* The raw grade pills, centred on the sage shop surface above the grid. */
.pr-arch__filterbar {
	margin-bottom: clamp(26px, 4vw, 42px);
	text-align: center;
}

.pr-arch__filterbar .pr-pfilter {
	margin-top: 0;
}

/*
 * THE GRID.
 *
 * Roasted packs are narrow and tall, so the approved roasted grid fills from a
 * 200px minimum; raw packs carry a grade name and two lines of pack detail, so
 * the approved raw grid fills from 230px. They are genuinely different numbers
 * in the two design files and are not averaged into one here.
 */
.pr-arch-raw .pr-arch__inner .pr-pgrid {
	grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
}

/*
 * WooCommerce's own notice when a filter matches nothing. It is WooCommerce's
 * sentence; only its surroundings are the brand's.
 */
.pr-arch__inner .woocommerce-info,
.pr-arch__inner .woocommerce-no-products-found {
	margin: 0;
	padding: clamp(24px, 4vw, 40px);
	border: 1px solid rgba(23, 63, 53, 0.1);
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.6);
	color: #3a453f;
	font-size: 15px;
	line-height: 1.6;
	text-align: center;
}

/*
 * THE CLOSING LINKS.
 *
 * Understated centred text links, which is what both approved range screens end
 * in. Deliberately not buttons: a customer at the bottom of a catalogue is being
 * offered a way back, not asked to act.
 */
.pr-archlinks {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	margin-top: clamp(30px, 4vw, 44px);
	gap: 12px;
}

.pr-archlinks__link {
	display: inline-flex;
	align-items: center;
	padding: 10px 18px;
	border-radius: 10px;
	color: #6b756f;
	font-size: 13.5px;
	font-weight: 600;
	line-height: 1.3;
	text-decoration: none;
	transition: color 0.2s ease, background 0.2s ease;
}

.pr-archlinks__link:hover,
.pr-archlinks__link:focus-visible {
	background: rgba(23, 63, 53, 0.05);
	color: var(--pr-forest, #173F35);
}

/* --------------------------------------------------------------------------
   Archive filter pills
   -------------------------------------------------------------------------- */

.pr-pfilter {
	display: inline-flex;
	flex-wrap: wrap;
	justify-content: center;
	margin-top: 26px;
	padding: 4px;
	gap: 2px;
	border: 1px solid rgba(23, 63, 53, 0.12);
	border-radius: 13px;
	background: rgba(23, 63, 53, 0.06);
}

.pr-pfilter__pill {
	padding: 11px 22px;
	border-radius: 10px;
	background: transparent;
	color: var(--pr-forest, #173F35);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	transition: background 0.2s ease, color 0.2s ease;
}

.pr-pfilter__pill:hover {
	background: rgba(23, 63, 53, 0.08);
}

.pr-pfilter__pill.is-active {
	background: var(--pr-forest, #173F35);
	color: #fff;
	font-weight: 700;
}

/* --------------------------------------------------------------------------
   Products landing — catalogue groups
   -------------------------------------------------------------------------- */

.pr-pl__group + .pr-pl__group {
	margin-top: clamp(32px, 4vw, 52px);
}

.pr-pl__grouphead {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	margin-bottom: clamp(16px, 2vw, 22px);
	gap: 12px;
}

.pr-pl__tag--link a {
	color: inherit;
	text-decoration: none;
}

.pr-pl__tag--link:hover {
	border-color: rgba(23, 63, 53, 0.4);
}

/* --------------------------------------------------------------------------
   Product detail
   -------------------------------------------------------------------------- */

/*
 * THE PRODUCT PAGE'S BREADCRUMB.
 *
 * In both design files the trail sits INSIDE the product environment: same
 * surface, same 1200px column as the composition below it, 12.5px, with the
 * current product picked out in forest. It was being drawn as a separate cream
 * strip with a hairline under it, which put a false division immediately above a
 * hero of almost exactly the same colour — the page opened with a seam.
 *
 * The strip now carries the top of its range's own gradient and no border, so it
 * reads as the first line of the hero rather than as a band above it. The family
 * arrives as a body class, because this markup is a pattern that renders above the
 * product. See pristora_archive_body_class().
 */
.pr-pdp-screen .pr-productbar {
	padding: clamp(20px, 3vw, 30px) clamp(20px, 5vw, 64px) 0;
	border-bottom: 0;
	background: #FBF8F0;
}

.pr-pdp-raw .pr-productbar {
	background: #eef1e4;
}

.pr-pdp-screen .pr-productbar .pr-shell {
	max-width: 1200px;
	padding-inline: 0;
}

.pr-pdp-screen .pr-breadcrumb {
	margin: 0;
	gap: 7px;
	color: #6b756f;
	font-size: 12.5px;
	font-weight: 600;
}

.pr-pdp-raw .pr-breadcrumb {
	color: #5a6b52;
}

.pr-pdp-screen .pr-breadcrumb li + li::before {
	margin-right: 7px;
	opacity: 0.5;
}

/* The page the customer is on — the last crumb, and the only one not a link. */
.pr-pdp-screen .pr-breadcrumb li:last-child {
	color: var(--pr-forest, #173F35);
	font-weight: 700;
}

.pr-pdp-screen .pr-breadcrumb a:hover,
.pr-pdp-screen .pr-breadcrumb a:focus-visible {
	color: var(--pr-forest, #173F35);
}

/*
 * The product page is a stack of full-bleed environments, exactly as both design
 * files draw it. It had been wrapped in `.pr-section.pr-bg-cream > .pr-shell`,
 * which inset every one of them inside a 1340px column with its own gutters — so
 * the cream hero stopped short of the viewport on both sides and the whole page
 * sat in a box. The wrapper is now a plain pass-through.
 */
.pr-pdp-shell {
	display: flow-root;
}

/*
 * THE TWO PRODUCT-PAGE ENVIRONMENTS.
 *
 * `Product Roasted.dc.html` is a light cream room; `Product Raw.dc.html` is a sage
 * one. Both pages were drawn in the roasted cream, which put a raw grade in the
 * roasted range's environment and lost the only visual cue telling a customer
 * which range they were in. The family arrives as a class on the page root — see
 * woocommerce/content-single-product.php.
 */
.pr-pdp__top {
	padding: clamp(20px, 3vw, 30px) clamp(20px, 5vw, 64px) clamp(44px, 6vw, 72px);
	background: linear-gradient(180deg, #FBF8F0 0%, #F4EFE2 100%);
}

.pr-pdp--raw .pr-pdp__top {
	background: linear-gradient(180deg, #eef1e4 0%, #e3e9d6 100%);
}

.pr-pdp__hero {
	display: grid;
	max-width: 1200px;
	margin: 0 auto;
	grid-template-columns: 1.15fr 0.85fr;
	align-items: center;
	gap: clamp(28px, 4vw, 60px);
}

@media (max-width: 900px) {
	.pr-pdp__hero {
		grid-template-columns: 1fr;
		gap: clamp(24px, 5vw, 34px);
	}
}

/*
 * THE VISUAL STAGE.
 *
 * The approved roasted stage is tinted by the flavour on it — a soft radial of
 * that flavour's own accent, which is the page's one piece of flavour colour and
 * what makes switching flavour feel like changing product rather than changing a
 * label. It was a flat 55% white for every flavour.
 *
 * The accent is the approved per-flavour colour from pristora_flavour_accent(),
 * already on the page as `--pr-pdp-accent`, and it is used at low alpha so the
 * pack render stays the brightest thing in the frame. `color-mix()` degrades to
 * the plain surface where it is unsupported.
 */
.pr-pdp__visual {
	position: relative;
	display: flex;
	min-height: clamp(340px, 42vw, 540px);
	align-items: center;
	justify-content: center;
	padding: clamp(24px, 4vw, 48px);
	border-radius: 28px;
	background: rgba(255, 255, 255, 0.55);
	box-shadow: inset 0 0 0 1px rgba(23, 63, 53, 0.06);
}

@supports (background: color-mix(in srgb, red 10%, white)) {
	.pr-pdp__visual {
		background:
			radial-gradient(
				120% 100% at 50% 18%,
				#fff 0%,
				color-mix(in srgb, var(--pr-pdp-accent, #173F35) 16%, #fff) 78%
			);
	}

	/* The raw stage is the design's own sage wash, not a flavour tint. */
	.pr-pdp--raw .pr-pdp__visual {
		background: radial-gradient(120% 100% at 50% 18%, #fff 0%, #dfe7cf 78%);
	}
}

.pr-pdp__visuallabel {
	position: absolute;
	top: clamp(18px, 3vw, 28px);
	left: clamp(18px, 3vw, 28px);
	color: var(--pr-pdp-accent, #173F35);
	font-family: var(--pr-font-serif, "Cardo"), Georgia, serif;
	font-size: clamp(1.1rem, 2vw, 1.5rem);
	font-style: italic;
	line-height: 1.2;
	opacity: 0.7;
}

.pr-pdp__figure {
	margin: 0;
	width: 100%;
	max-width: clamp(230px, 30vw, 380px);
}

.pr-pdp__visual .pr-pdp__figure img {
	display: block;
	width: 100%;
	height: clamp(260px, 32vw, 430px);
	object-fit: contain;
	filter: drop-shadow(0 30px 46px rgba(23, 63, 53, 0.26));
}

/* No product photograph yet: the placeholder is shown flat and unshadowed. */
.pr-pdp__visual .pr-pdp__figure--placeholder img {
	filter: none;
	opacity: 0.75;
}

.pr-pdp__switch {
	position: absolute;
	right: clamp(16px, 2.5vw, 24px);
	bottom: clamp(16px, 2.5vw, 24px);
	display: flex;
	align-items: center;
	padding: 9px 13px 9px 9px;
	gap: 10px;
	border: 1px solid rgba(23, 63, 53, 0.12);
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.86);
	box-shadow: 0 10px 24px rgba(23, 63, 53, 0.14);
	text-decoration: none;
	transition: transform 0.2s ease;
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
}

.pr-pdp__switch:hover {
	transform: translateY(-2px);
}

.pr-pdp__switchart {
	flex: 0 0 auto;
	width: 34px;
	height: 44px;
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
}

.pr-pdp__switchcopy {
	text-align: left;
	line-height: 1.2;
}

.pr-pdp__switchkicker {
	display: block;
	color: #6b756f;
	font-size: 9.5px;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.pr-pdp__switchname {
	display: block;
	color: var(--pr-forest, #173F35);
	font-size: 13px;
	font-weight: 700;
}

.pr-pdp__visual:has(.pr-pdp__gallery) {
	min-width: 0;
	flex-direction: column;
	gap: 12px;
}

.pr-pdp__visual:has(.pr-pdp__gallery) .pr-pdp__switch {
	position: static;
	align-self: flex-end;
}

.pr-pdp__gallery {
	display: flex;
	max-width: 100%;
	overflow-x: auto;
	margin: 0;
	padding: 0;
	gap: 8px;
	list-style: none;
}

.pr-pdp__gallery li {
	flex: none;
}

.pr-pdp__visual .pr-pdp__gallery img {
	width: 48px;
	height: 56px;
	border: 1px solid rgba(23, 63, 53, 0.1);
	border-radius: 10px;
	background: #fff;
	object-fit: contain;
}

/* Info column */

.pr-pdp__eyebrow {
	display: inline-flex;
	margin: 0;
	align-items: center;
	gap: 9px;
	color: var(--pr-pdp-accent, #173F35);
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: 0.2em;
	line-height: 1.4;
	text-transform: uppercase;
}

.pr-pdp__eyebrow--leaf {
	color: var(--pr-leaf, #6F8F3D);
}

.pr-pdp__diamond {
	width: 7px;
	height: 7px;
	flex: 0 0 auto;
	background: currentColor;
	transform: rotate(45deg);
}

.pr-pdp__title {
	margin: 12px 0 0;
	color: var(--pr-forest, #173F35);
	font-family: var(--pr-font-serif, "Cardo"), Georgia, serif;
	font-size: clamp(2.2rem, 4.4vw, 3.3rem);
	font-weight: 700;
	letter-spacing: -0.5px;
	line-height: 1.04;
}

.pr-pdp__pack {
	margin: 10px 0 0;
	color: #3a453f;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.5;
}

/*
 * PRICE — the same decision as the card, at the product page's scale.
 *
 * The price paid keeps the approved treatment untouched. The MRP sits beside
 * it at the pack line's size and colour, struck through. No saving is printed:
 * WooCommerce holds an MRP and a sale price, and a third figure would be this
 * stylesheet's template arithmetic rather than the shop's own number.
 */
.pr-pdp__price {
	display: flex;
	flex-wrap: wrap;
	margin-top: 14px;
	align-items: baseline;
	gap: 10px;
	color: var(--pr-forest, #173F35);
	font-size: clamp(1.25rem, 2.4vw, 1.6rem);
	font-weight: 700;
	line-height: 1.3;
}

.pr-pdp__price del {
	color: #6b756f;
	font-size: 15px;
	font-weight: 500;
	text-decoration-thickness: 1px;
}

.pr-pdp__price ins {
	color: var(--pr-forest, #173F35);
	font-weight: 700;
	text-decoration: none;
}

/*
 * WooCommerce's own availability sentence for a product that IS in stock —
 * "Only 2 left in stock". The design's gold carries urgency without alarm, and
 * the dot is the eyebrow diamond's weight in a round form.
 */
.pr-pdp__stock {
	display: inline-flex;
	margin: 10px 0 0;
	align-items: center;
	gap: 8px;
	color: #8a6d1f;
	font-size: 13.5px;
	font-weight: 700;
	line-height: 1.4;
}

.pr-pdp__stockdot {
	width: 7px;
	height: 7px;
	flex: 0 0 auto;
	border-radius: 50%;
	background: var(--pr-gold, #D6A84B);
}

.pr-pdp__sku {
	margin: 10px 0 0;
	color: #6b756f;
	font-size: 12.5px;
	font-weight: 500;
	line-height: 1.5;
}

.pr-pdp__skulabel {
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.pr-pdp__skuvalue {
	margin-left: 6px;
}

/* Option axes — sibling products, rendered as links */

.pr-pdp__axis {
	margin-top: clamp(20px, 2.6vw, 30px);
}

.pr-pdp__axislabel {
	margin: 0 0 12px;
	color: var(--pr-forest, #173F35);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.12em;
	line-height: 1.4;
	text-transform: uppercase;
}

.pr-pdp__options {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.pr-pdp__opt {
	display: inline-flex;
	align-items: center;
	padding: 11px 15px;
	gap: 9px;
	border: 1.5px solid rgba(23, 63, 53, 0.16);
	border-radius: 13px;
	background: #fff;
	color: var(--pr-forest, #173F35);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.25;
	text-decoration: none;
	transition: border-color 0.2s ease, transform 0.2s ease;
}

.pr-pdp__opt:hover {
	border-color: var(--pr-forest, #173F35);
	transform: translateY(-2px);
}

.pr-pdp__opt.is-current {
	border-color: var(--pr-forest, #173F35);
	box-shadow: inset 0 0 0 1px var(--pr-forest, #173F35);
	font-weight: 700;
}

.pr-pdp__opt.is-oos {
	opacity: 0.62;
}

.pr-pdp__optdot {
	width: 13px;
	height: 13px;
	flex: 0 0 auto;
	border-radius: 50%;
	box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.55);
}

.pr-pdp__optcopy {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 2px;
}

.pr-pdp__axis--format .pr-pdp__optname {
	font-family: var(--pr-font-serif, "Cardo"), Georgia, serif;
	font-size: 1.16rem;
}

.pr-pdp__optmeta {
	color: #6b756f;
	font-size: 12.5px;
	font-weight: 600;
}

/*
 * WHAT THIS PACK TAKES OFF.
 *
 * The same pill the card's price row uses, so one discount reads the same way on
 * both surfaces. `.pr-pdp__optcopy` is already a 2px-gap column, so this becomes
 * the third line under the name and the quantity — the order the approved
 * chooser lists them in — without changing the option's own padding, border or
 * layout, and without widening it beyond the wording.
 *
 * Each option carries its OWN stored discount; see pristora_offer_choices().
 */
.pr-pdp__optoff {
	display: inline-flex;
	align-items: center;
	margin-top: 2px;
	padding: 3px 9px;
	border-radius: 999px;
	background: var(--pr-forest, #173F35);
	color: var(--pr-lime, #B7E33B);
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: 0.06em;
	line-height: 1.45;
	text-transform: uppercase;
	white-space: nowrap;
}

.pr-pdp__opttag {
	padding: 2px 6px;
	border-radius: 999px;
	background: rgba(214, 168, 75, 0.2);
	color: #8a6d1f;
	font-size: 9px;
	font-weight: 800;
	letter-spacing: 0.07em;
	text-transform: uppercase;
}

.pr-pdp__optcheck {
	display: inline-flex;
	width: 22px;
	height: 22px;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: var(--pr-forest, #173F35);
	color: #fff;
}

/* Quantity and Add to Cart */

.pr-pdp__cart {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	margin-top: clamp(24px, 3vw, 32px);
	gap: 14px;
}

.pr-pdp__qty {
	display: inline-flex;
	overflow: hidden;
	align-items: center;
	border: 1.5px solid rgba(23, 63, 53, 0.2);
	border-radius: 14px;
	background: #fff;
}

.pr-pdp__qtybtn {
	width: 50px;
	height: 56px;
	border: none;
	background: transparent;
	color: var(--pr-forest, #173F35);
	cursor: pointer;
	font-size: 22px;
	line-height: 1;
	transition: background 0.2s ease;
}

.pr-pdp__qtybtn:hover {
	background: rgba(23, 63, 53, 0.06);
}

.pr-pdp__qty .quantity {
	margin: 0;
}

.pr-pdp__qty input[type="number"] {
	width: 48px;
	height: 56px;
	padding: 0;
	border: none;
	background: transparent;
	color: var(--pr-forest, #173F35);
	font-size: 17px;
	font-weight: 700;
	text-align: center;
	-moz-appearance: textfield;
}

.pr-pdp__qty input[type="number"]::-webkit-outer-spin-button,
.pr-pdp__qty input[type="number"]::-webkit-inner-spin-button {
	margin: 0;
	-webkit-appearance: none;
}

.pr-pdp__add {
	display: inline-flex;
	flex: 1 1 220px;
	min-width: 0;
	align-items: center;
	justify-content: center;
	padding: 16px 26px;
	gap: 10px;
	border: none;
	border-radius: 14px;
	font-size: 15.5px;
	font-weight: 700;
	letter-spacing: 0.3px;
	line-height: 1.2;
}

/*
 * NOT PURCHASABLE
 *
 * The approved design has no panel for this, so it is assembled from parts it
 * does have: the option chip's border, white fill and 13-14px radius, the
 * product card's badge chip, and the Add to Cart row's own vertical rhythm, so
 * the column does not jump when the product comes back into stock.
 *
 * There is no button here, disabled or otherwise.
 */
.pr-pdp__unavailable {
	margin-top: clamp(24px, 3vw, 32px);
	padding: 18px 20px;
	border: 1.5px solid rgba(23, 63, 53, 0.16);
	border-radius: 16px;
	background: #fff;
}

.pr-pdp__statechip {
	display: inline-block;
	margin-bottom: 10px;
	padding: 5px 11px;
	border-radius: 999px;
	background: rgba(23, 63, 53, 0.06);
	color: #6b756f;
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: 0.06em;
	line-height: 1.4;
	text-transform: uppercase;
}

/* A product that has not launched is awaited, not sold out: gold, not grey. */
.pr-pdp__statechip--lifecycle {
	background: rgba(214, 168, 75, 0.2);
	color: #8a6d1f;
}

.pr-pdp__status {
	margin: 0;
	color: var(--pr-forest, #173F35);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.4;
}

.pr-pdp__statusnote {
	margin: 4px 0 0;
	color: #6b756f;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.5;
}

.pr-pdp__intro {
	margin-top: 18px;
	color: #3a453f;
	font-size: 15px;
	line-height: 1.6;
}

.pr-pdp__intro p {
	margin: 0 0 10px;
	font-size: 15px;
	line-height: 1.6;
}

/* Detail and explore */

.pr-pdp__detail:empty {
	display: none;
}

.pr-pdp__detail {
	padding: clamp(28px, 4vw, 52px) 0 0;
}

/*
 * The rail closes the page on the reverse of the hero's gradient, so the two read
 * as one room seen from both ends. Each range keeps its own pair.
 */
.pr-pdp__explore {
	padding: clamp(44px, 6vw, 76px) 0 clamp(52px, 7vw, 84px);
	background: linear-gradient(180deg, #F4EFE2 0%, #FBF8F0 100%);
}

.pr-pdp--raw .pr-pdp__explore {
	background: linear-gradient(180deg, #e3e9d6 0%, #eef1e4 100%);
}

/*
 * Both design files set the product page's column at 1200px, not the site's
 * 1340px shell. Scoped to the product page so no other screen's shell moves.
 */
.pr-pdp__detail > .pr-shell,
.pr-pdp__explore > .pr-shell {
	max-width: 1200px;
}

.pr-pdp__explorehead {
	margin-bottom: clamp(26px, 3.5vw, 38px);
	text-align: center;
}

.pr-pdp__exploretitle {
	margin: 12px 0 0;
	color: var(--pr-forest, #173F35);
	font-family: var(--pr-font-serif, "Cardo"), Georgia, serif;
	font-size: clamp(1.6rem, 3vw, 2.3rem);
	font-weight: 700;
	line-height: 1.14;
}

.pr-pdp__explore .pr-pgrid {
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	gap: clamp(12px, 1.6vw, 18px);
}

.pr-pdp__explorelink {
	margin: clamp(24px, 3vw, 36px) 0 0;
	font-size: 14px;
	text-align: center;
}

/* Mobile sticky Add to Cart — the approved design's bottom bar. */

.pr-pdp__mobcta {
	position: fixed;
	z-index: 120;
	right: 0;
	bottom: 0;
	left: 0;
	display: none;
	align-items: center;
	padding: 12px clamp(16px, 4vw, 22px);
	gap: 12px;
	border-top: 1px solid rgba(23, 63, 53, 0.14);
	background: rgba(248, 244, 236, 0.97);
	box-shadow: 0 -10px 30px rgba(23, 63, 53, 0.12);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
}

@media (max-width: 720px) {
	.pr-pdp__mobcta {
		display: flex;
	}
}

.pr-pdp__mobcopy {
	flex: 1 1 auto;
	min-width: 0;
}

.pr-pdp__mobname {
	display: block;
	overflow: hidden;
	color: var(--pr-forest, #173F35);
	font-family: var(--pr-font-serif, "Cardo"), Georgia, serif;
	font-size: 1.05rem;
	line-height: 1.3;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.pr-pdp__mobmeta {
	display: block;
	color: #6b756f;
	font-size: 12px;
	line-height: 1.4;
}

.pr-pdp__mobadd {
	flex: 0 0 auto;
	padding: 14px 22px;
	border: none;
	border-radius: 12px;
	font-size: 14.5px;
	font-weight: 700;
	line-height: 1.2;
}

/*
 * The same bar for a product that cannot be bought, so the product's identity
 * stays in view on a phone exactly as it does when it can. Where the button
 * would be, WooCommerce's own availability wording — same shape, same height,
 * no affordance.
 */
.pr-pdp__mobstate {
	flex: 0 0 auto;
	padding: 14px 20px;
	border-radius: 12px;
	background: rgba(23, 63, 53, 0.05);
	box-shadow: inset 0 0 0 1px rgba(23, 63, 53, 0.08);
	color: #6b756f;
	font-size: 13.5px;
	font-weight: 700;
	line-height: 1.2;
}

/* --------------------------------------------------------------------------
   Range editorial — Future Flavours, and the Suta size guide

   Both sit beneath WooCommerce's grid on a range archive. Neither is a product:
   there is no price, no stock and no Add to Cart anywhere in here, and the
   future flavours carry no product identity at all.
   -------------------------------------------------------------------------- */

/*
 * FUTURE FLAVOURS — a block inside the roasted composition.
 *
 * It had its own screen-wide `linear-gradient(170deg,#f3efe2,#eae3d2)` and a
 * left-aligned 2.8rem heading, which split the approved single light surface into
 * two unrelated environments and made two editorial cards read as a second
 * catalogue. The approved design marks it off with a HAIRLINE and centres it.
 *
 * There is no background here at all: it sits on the archive's own surface.
 */
.pr-future {
	max-width: 1200px;
	margin: clamp(40px, 5vw, 64px) auto 0;
	padding-top: clamp(32px, 4vw, 48px);
	border-top: 1px solid rgba(23, 63, 53, 0.12);
}

.pr-future__head {
	text-align: center;
}

.pr-future__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	color: var(--pr-leaf, #6F8F3D);
	font-family: var(--pr-font-body);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.16em;
	line-height: 1.4;
	text-transform: uppercase;
}

.pr-future__eyebrow .pr-diamond {
	width: 6px;
	height: 6px;
	background: var(--pr-gold, #D6A84B);
}

.pr-future__title {
	margin: 12px 0 0;
	color: var(--pr-forest, #173F35);
	font-family: var(--pr-font-display);
	font-size: clamp(1.6rem, 3vw, 2.3rem);
	font-weight: 700;
	letter-spacing: -0.3px;
	line-height: 1.14;
}

.pr-future__lede {
	margin: 10px auto 0;
	max-width: 46ch;
	color: #5a655e;
	font-size: 14.5px;
	font-weight: 400;
	line-height: 1.6;
}

/*
 * Two cards, and the approved grid is capped at 560px and centred so they stay
 * the size of two cards rather than stretching across the page like a range.
 */
.pr-future__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: clamp(16px, 2vw, 24px);
	max-width: 560px;
	margin: clamp(24px, 3vw, 36px) auto 0;
	padding: 0;
	list-style: none;
}

.pr-future__card {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 20px;
	border: 1px solid rgba(23, 63, 53, 0.08);
	border-radius: 20px;
	background: #fff;
	text-align: center;
}

/*
 * THE COMING SOON CHIP.
 *
 * Two faults, both measured on the rendered archive rather than inferred.
 *
 * WHERE IT SAT. Pinned to the card's top-right corner, over a 170px-tall artwork
 * box that starts at the top of the card. The jar render is drawn 113px wide and
 * centred, spanning x=77..191 of a 268px card, while the chip spanned x=148..253 —
 * so it lay across the jar's lid and neck. It had no `z-index` either, and the
 * artwork beside it carries a `filter`, which makes that image its own stacking
 * context and paints it after an auto-z-index sibling; the sibling product card
 * sets `z-index: 2` on its badge for exactly this reason, and this one did not.
 *
 * So the chip is no longer taken out of the flow. The card is already a centred
 * column, so it becomes the row above the artwork: it cannot cross the jar, it
 * cannot cross the name or the pack line, and there is no paint order left to get
 * wrong. Position is now consistent for both cards and for any future flavour,
 * whatever shape its render is.
 *
 * HOW IT READ. The pill was `rgba(23,63,53,0.08)` on a white card — 1.15:1 against
 * its own card, which is to say invisible. The type on it was perfectly legible at
 * 10.16:1, which is why this reads as a weak badge rather than as unreadable text.
 *
 * It now takes the brand's gold, solid — the token this section's own eyebrow
 * diamond already uses — with the forest type the chip always had. That is 5.32:1
 * for the text and 2.2:1 for the pill against the card, so the badge is a badge.
 * No colour is introduced that the palette does not already hold, and nothing is
 * dimmed: the artwork keeps the approved 0.72/saturate(0.85) "not yet" treatment.
 */
.pr-future__chip {
	display: inline-flex;
	margin-bottom: 12px;
	padding: 5px 11px;
	border-radius: 999px;
	background: var(--pr-gold, #D6A84B);
	color: var(--pr-forest, #173F35);
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: 0.06em;
	line-height: 1.4;
	text-transform: uppercase;
}

.pr-future__card img.pr-future__img {
	width: 100%;
	height: 170px;
	margin: 0;
	object-fit: contain;
	/*
	 * A jar render for a flavour that is not on sale. Easing it back says "not
	 * yet" without dressing it up as something on offer.
	 */
	opacity: 0.72;
	filter: saturate(0.85);
}

.pr-future__name {
	margin-top: 12px;
	color: var(--pr-forest, #173F35);
	font-family: var(--pr-font-display);
	font-size: 1.2rem;
	line-height: 1.25;
}

.pr-future__pack {
	margin-top: 4px;
	color: #6b756f;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.45;
}

/*
 * THE SUTA SIZE GUIDE — two columns, and nothing else.
 *
 * The approved guide is the explanatory copy on the left and the illustration on
 * the right. A "Suta size guide" H2, a row of grade pills and a sentence
 * reconciling the artwork's three grades with the shop's four had been added to
 * it; none of the three is in `Raw Makhana.dc.html`, and together they put a
 * second grade table directly beneath the grid that had just listed the grades.
 * Their rules are gone with their markup.
 */
.pr-suta {
	position: relative;
	overflow: hidden;
	padding: clamp(52px, 7vw, 90px) clamp(20px, 5vw, 64px);
	background: linear-gradient(180deg, #FBF8F0 0%, #F5F0E4 100%);
}

.pr-suta__row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	max-width: 1200px;
	margin-inline: auto;
	gap: clamp(24px, 4vw, 52px);
}

.pr-suta__copy {
	flex: 1 1 260px;
	min-width: 0;
	max-width: 420px;
}

.pr-suta__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	color: #4d6b2e;
	font-family: var(--pr-font-body);
	font-size: 12.5px;
	font-weight: 600;
	letter-spacing: 0.22em;
	line-height: 1.4;
	text-transform: uppercase;
}

.pr-suta__eyebrow .pr-diamond {
	background: var(--pr-leaf, #6F8F3D);
}

.pr-suta__lede {
	margin: 16px 0 0;
	color: #3a453f;
	font-size: clamp(1rem, 1.3vw, 1.12rem);
	font-weight: 400;
	line-height: 1.6;
}

.pr-suta__figure {
	display: flex;
	flex: 2 1 440px;
	min-width: 0;
	justify-content: center;
	margin: 0;
}

.pr-suta__figure img {
	display: block;
	width: 100%;
	max-width: 640px;
	height: auto;
}

.pr-suta .pr-archlinks {
	max-width: 1200px;
	margin-inline: auto;
}

/* --------------------------------------------------------------------------
   Product page — the offer chooser, and the editorial flavours

   Both are built from the approved page's own option-chip treatment, so the
   Single / Combo / Family tiles and the "Soon" flavours sit on the same grid,
   with the same radius, border and type as the real choices beside them.
   -------------------------------------------------------------------------- */

/*
 * An editorial flavour. It is a <span>, not a link: there is no product behind
 * it and nothing to activate, so it must not look or behave like a control that
 * could be used. It is dimmed, it shows no pointer, and it never takes focus.
 */
.pr-pdp__opt--soon {
	cursor: default;
	opacity: 0.58;
}

.pr-pdp__opt--soon:hover {
	border-color: rgba(23, 63, 53, 0.14);
	background: #fff;
	transform: none;
}

/* The offer chooser sits exactly where the pack chooser does. */
.pr-pdp__axis--offer .pr-pdp__optname {
	font-weight: 700;
}

.pr-pdp__offernote {
	margin: 0 0 12px;
	font-size: 14px;
	line-height: 1.5;
	color: var(--pr-slate);
}

/*
 * The offer form has no quantity stepper: the number of units is the offer's,
 * read from the stored profile on the server, and a stepper here would imply a
 * customer could change it.
 */
.pr-pdp__cart--offer {
	display: block;
}

.pr-pdp__cart--offer .pr-pdp__add {
	width: 100%;
}

@media (prefers-reduced-motion: reduce) {
	.pr-pdp__opt--soon {
		transition: none;
	}
}
