/* Base rules every store needs (accessibility). Store-specific styles come after this line
   from the mockup (mockup_to_blocks), never by editing the rules above. */

/* Tap targets >= 44px: navigation, buttons, footer links, form controls */
.wp-block-navigation-item__content,
.wp-block-button__link,
.wp-element-button,
.wp-block-site-title a,
footer .wp-block-navigation a,
input:not([type="checkbox"]):not([type="radio"]),
select,
textarea {
	min-height: 44px;
}
.wp-block-navigation-item__content,
footer .wp-block-navigation a {
	display: inline-flex;
	align-items: center;
}
.wp-block-navigation__responsive-container-open,
.wp-block-navigation__responsive-container-close {
	min-width: 44px;
	min-height: 44px;
}

/* Visible keyboard focus */
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---- store styles (generated) ---- */
/* Generated by mockup_to_blocks.py from inputs/mockup/index.html — don't edit here; fixes go to
   clients/<id>/design/theme-overrides.css. */
/* Parity with the mockup: WordPress's own spacing never adds to the mockup's (class rules of the
   mockup below still win). */
.wp-site-blocks > * { margin-block: 0; }
.wsc-page :where(.is-layout-flow) > *, .wsc-page:where(.is-layout-flow) > * { margin-block: 0; }
:where(.wsc-page) .wp-block-image, :where(.wsc-page) .wp-block-quote, :where(.wsc-page) .wp-block-separator,
:where(.wsc-page) .wp-block-details, :where(.wsc-page) .wp-block-list { margin: 0; }
:where(.wsc-page) .wp-block-image img { vertical-align: bottom; }
.wsc-inline { display: contents; }
/* menu: the Navigation block adds its own gap; spacing between items comes from the mockup (link padding).
   To set a gap in the mockup, use two classes (e.g. `.wsc-header .main-nav`). */
.wsc-page .wp-block-navigation, .wsc-page .wp-block-navigation__container { gap: 0; }
/* menu links: core's `.wp-block-navigation .wp-block-navigation-item__content { display: block }` beats the mockup's
   class rules, so labels sat at the top of their 44 px targets (v3-teplobot) — centred like the mockup's links */
.wsc-page .wp-block-navigation .wp-block-navigation-item__content { display: inline-flex; align-items: center; }
/* blockGap is off in theme.json (the mockup sets every space); pages written in the editor still get one */
:where(.wp-block-post-content) > * + * { margin-block-start: 1.2em; }
/* WooCommerce Mini Cart: the closed drawer stays in the tab order under aria-hidden (axe aria-hidden-focus, found on
   v3-teplobot) — hidden from keyboard and screen readers until it opens (the delay keeps the slide-out); the cart
   button is a 44×44 target */
.wc-block-components-drawer__screen-overlay--is-hidden { visibility: hidden; transition: visibility 0s .3s; }
.wc-block-mini-cart__button { min-width: 44px; min-height: 44px; }

:root {
  --wsc-color-text: var(--wp--preset--color--contrast);
  --wsc-color-bg: var(--wp--preset--color--base);
  --wsc-color-accent: var(--wp--preset--color--accent);
  --wsc-color-linen: var(--wp--preset--color--linen);
  --wsc-color-muted: var(--wp--preset--color--muted);
  --wsc-color-wheat: var(--wp--preset--color--wheat);
  --wsc-color-gold: var(--wp--preset--color--gold);
  --wsc-color-card: var(--wp--preset--color--card);
  --wsc-color-line: var(--wp--preset--color--line);
  --wsc-color-accent-dark: var(--wp--preset--color--accent-dark);
  --wsc-color-on-dark: var(--wp--preset--color--on-dark);
  --wsc-color-on-dark-muted: var(--wp--preset--color--on-dark-muted);
  --wsc-font-heading: var(--wp--preset--font-family--heading);
  --wsc-font-body: var(--wp--preset--font-family--body);
}
/* text pages: defaults from the tokens (a page.html mockup adds its rules after) */
:where(main) > .wp-block-post-title { margin-block: clamp(40px, 6vw, 88px) 28px; font-family: var(--wsc-font-heading);
  font-weight: var(--wsc-heading-weight, 500); font-size: clamp(36px, 5vw, 56px); line-height: 1.05; letter-spacing: -0.02em; }
.wp-block-post-content { padding-bottom: clamp(56px, 8vw, 112px); }
.wp-block-post-content > * + * { margin-block-start: 1em; }
.wp-block-post-content > :is(h2, h3, h4) { margin-block-start: 1.8em; font-family: var(--wsc-font-heading);
  font-weight: var(--wsc-heading-weight, 500); line-height: 1.15; letter-spacing: -0.01em; }
.wp-block-post-content > h2 { font-size: clamp(24px, 3vw, 32px); }
.wp-block-post-content > :is(h3, h4) { font-size: clamp(20px, 2.2vw, 24px); }
.wp-block-post-content > :is(h2, h3, h4) + * { margin-block-start: 0.6em; }
.wp-block-post-content :is(ul, ol) { padding-inline-start: 1.25em; }
.wp-block-post-content li + li { margin-block-start: 0.4em; }
.wp-block-post-content a { color: var(--wsc-color-accent); text-underline-offset: 3px; }
/* WooCommerce Cart & Checkout blocks, notices (defaults; cart.html / checkout.html add rules after): colours and shapes from the
   mockup's tokens, so a dark store doesn't get white fields with light text. */
:root body :is(.wc-block-components-text-input, .wc-block-components-combobox, .wc-blocks-components-select, .wc-block-components-textarea, .wc-block-components-form, .wc-block-components-totals-coupon) :is(input:not([type=checkbox]):not([type=radio]), select, textarea) {
  background: var(--wsc-color-bg); color: var(--wsc-color-text);
  border: 1.5px solid var(--wsc-color-field, color-mix(in srgb, var(--wsc-color-text) 40%, transparent));
  border-radius: var(--wsc-radius-small, 6px); box-shadow: none; }
:root body :is(.wc-block-components-text-input, .wc-block-components-combobox, .wc-blocks-components-select, .wc-block-components-textarea) :is(input, select, textarea):focus {
  border-color: var(--wsc-color-accent); outline: 2px solid var(--wsc-color-accent); outline-offset: 1px; }
:root body :is(.wc-block-components-text-input label, .wc-blocks-components-select__label, .wc-block-components-combobox label) { color: var(--wsc-color-muted, var(--wsc-color-text)); }
:root body .wc-blocks-components-select__container { background: var(--wsc-color-bg); border-radius: var(--wsc-radius-small, 6px); }
:root body .wc-blocks-components-select__expand { fill: var(--wsc-color-text); }
:root body :is(.wc-block-components-checkbox__input, .wc-block-components-radio-control__input) {
  background: var(--wsc-color-bg); border: 1.5px solid var(--wsc-color-field, color-mix(in srgb, var(--wsc-color-text) 40%, transparent)); }
:root body .wc-block-components-checkbox__input:checked { background: var(--wsc-color-accent); border-color: var(--wsc-color-accent); }
:root body .wc-block-components-checkbox__mark { fill: var(--wsc-color-on-accent, var(--wsc-color-ink, var(--wsc-color-bg))); }
:root body .wc-block-components-radio-control__input:checked { border-color: var(--wsc-color-accent); }
:root body .wc-block-components-radio-control__input:checked::before { background: var(--wsc-color-accent); }
:root body :is(.wc-block-components-radio-control__option, .wc-block-components-radio-control-accordion-option) { border-color: var(--wsc-color-line, color-mix(in srgb, var(--wsc-color-text) 25%, transparent)); }
:root body :is(.wc-block-cart__submit-button, .wc-block-components-checkout-place-order-button, .wc-block-components-button.contained, .wc-block-components-totals-coupon__button) {
  min-height: 52px; border: 0; border-radius: var(--wsc-radius-button, 6px); background: var(--wsc-color-accent);
  color: var(--wsc-color-on-accent, var(--wsc-color-ink, var(--wsc-color-bg))); font-weight: 700; text-decoration: none; }
:root body :is(.wc-block-cart__submit-button, .wc-block-components-checkout-place-order-button, .wc-block-components-button.contained):hover { filter: brightness(1.08); }
:root body .wc-block-components-order-summary-item__quantity { background: var(--wsc-color-bg); color: var(--wsc-color-text); border: 2px solid var(--wsc-color-text); box-shadow: none; }
:root body :is(.wc-block-components-panel__button, .wc-block-components-address-form__address_2-toggle, .wc-block-components-checkout-return-to-cart-button, .wc-block-components-product-details__remove, .wc-block-cart-item__remove-link) { min-height: 44px; }
:root body .wc-block-components-quantity-selector { border-color: var(--wsc-color-field, color-mix(in srgb, var(--wsc-color-text) 40%, transparent)); color: var(--wsc-color-text); }
:root body .wc-block-components-quantity-selector .wc-block-components-quantity-selector__input { background: transparent; color: var(--wsc-color-text); }
:root body .wc-block-components-quantity-selector .wc-block-components-quantity-selector__button { min-width: 44px; min-height: 44px; color: var(--wsc-color-text); }
:root body .wc-block-components-notice-banner { background: var(--wsc-color-card, var(--wsc-color-bg)); color: var(--wsc-color-text); border-color: var(--wsc-color-accent); }
:root body .wc-block-components-notice-banner > svg { background: var(--wsc-color-accent); fill: var(--wsc-color-on-accent, var(--wsc-color-ink, var(--wsc-color-bg))); }
:root body .wc-block-components-notice-banner a { color: var(--wsc-color-text); }
:root body :is(.wc-block-cart, .wc-block-checkout) a:not(.wc-block-components-button):not(.wc-block-cart__submit-button) { color: var(--wsc-color-text); }
/* Halo & Linen shared styles (header, footer, tokens, home) — style "Heirloom editorial" — web-store-creator v4
   (rules: skills/wc-theme-build/references/mockup-contract.md). Palette "Meadow & sheaf", contrast in inputs/brief.md.
   No position: fixed on this page. */
:root {      /* ink: text, dark sections (14.2:1 on ivory) */        /* ivory: page */    /* cornflower: primary buttons, links (ivory text 6.5:1) */     /* alt sections, cards */     /* secondary text (5.9:1 ivory, 5.3:1 linen) */     /* rules, stitches, stars, dots — decoration only on light */      /* small gold text on ivory/linen (5.5 / 5.0:1) */
  --wsc-body-size: 17px;
  --wsc-page-margin: 48px;
  --wsc-content-width: min(100% - 2 * var(--wsc-page-margin), 1280px);
  --wsc-radius: 4px;
  --wsc-radius-small: 4px;
  --wsc-radius-button: 999px;
  --wsc-radius-arch: 999px 999px 4px 4px;
  --wsc-section-space: 128px;
}
@media (max-width: 749px) { :root { --wsc-page-margin: 20px; --wsc-section-space: 80px; } }

*, *::before, *::after { box-sizing: border-box; margin: 0; }
body { background: var(--wsc-color-bg); color: var(--wsc-color-text); font: 400 var(--wsc-body-size)/1.65 var(--wsc-font-body); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
.inner { width: var(--wsc-content-width); margin-inline: auto; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* type (Cormorant's lining numbers are set at the end of the file: the `font` shorthand resets them) */
.display { font: 500 92px/.98 var(--wsc-font-heading); letter-spacing: -0.02em; text-wrap: balance; }
.display em, .title em { font-style: italic; font-weight: 500; color: var(--wsc-color-accent); }
.title { font: 500 60px/1.02 var(--wsc-font-heading); letter-spacing: -0.015em; text-wrap: balance; }
.subtitle { font: 500 30px/1.15 var(--wsc-font-heading); }
.eyebrow { display: flex; align-items: center; gap: 14px; font: 600 13px/1.4 var(--wsc-font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--wsc-color-gold); margin-bottom: 22px; }
.eyebrow::before { content: ""; width: 36px; border-top: 1px solid var(--wsc-color-wheat); }
.lead { font-size: 19px; line-height: 1.6; color: var(--wsc-color-muted); max-width: 48ch; text-wrap: pretty; }
.stitch { width: 100%; height: 0; border: 0; border-top: 2px dashed var(--wsc-color-wheat); background: none; opacity: 1; }

/* buttons: links with a class */
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: 40px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 32px; border-radius: var(--wsc-radius-button); background: var(--wsc-color-accent); color: var(--wsc-color-on-dark); border: 1px solid var(--wsc-color-accent); font: 600 16px/1 var(--wsc-font-body); letter-spacing: .01em; text-decoration: none; transition: background-color .25s ease, border-color .25s ease; }
.btn:hover { background: var(--wsc-color-accent-dark); border-color: var(--wsc-color-accent-dark); }
.btn-outline { background: transparent; color: var(--wsc-color-text); border-color: var(--wsc-color-text); }
.btn-outline:hover { background: var(--wsc-color-text); color: var(--wsc-color-on-dark); border-color: var(--wsc-color-text); }
.btn-light { background: var(--wsc-color-on-dark); color: var(--wsc-color-text); border-color: var(--wsc-color-on-dark); }
.btn-light:hover { background: var(--wsc-color-linen); border-color: var(--wsc-color-linen); }
.link-more { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; color: var(--wsc-color-accent); text-decoration: underline; text-decoration-style: dashed; text-decoration-color: var(--wsc-color-wheat); text-underline-offset: 7px; text-decoration-thickness: 1.5px; }
.link-more:hover { text-decoration-style: solid; text-decoration-color: currentColor; }
:where(a, summary, input, button):focus-visible { outline: 2px dashed var(--wsc-color-accent); outline-offset: 4px; border-radius: 4px; }
.plan :where(a, summary):focus-visible, .site-footer :where(a):focus-visible { outline-color: var(--wsc-color-wheat); }

/* header */
.announce-bar { background: var(--wsc-color-text); color: var(--wsc-color-on-dark); }
.announce { min-height: 40px; display: flex; align-items: center; justify-content: center; font-size: 14px; letter-spacing: .02em; text-align: center; }
.site-header { background: var(--wsc-color-bg); border-bottom: 1px solid var(--wsc-color-line); }
.header-main { display: flex; align-items: center; gap: 32px; min-height: 84px; }
.logo { font: 600 32px/1 var(--wsc-font-heading); letter-spacing: -0.01em; }
.logo a { text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.main-nav { margin-left: auto; display: flex; align-items: center; gap: 2px; }
.main-nav a { text-decoration: none; display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 13px; font-weight: 500; font-size: 15px; text-underline-offset: 8px; }
.main-nav a:hover { text-decoration: underline; text-decoration-color: var(--wsc-color-wheat); }
.menu-toggle { display: none; }
.menu-toggle svg { display: block; }
.header-tools { display: flex; align-items: center; gap: 2px; }
.header-icon { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; }

/* hero: editorial split, photo in an arch */
.hero { padding-block: 72px 112px; overflow: hidden; }
.hero .inner { display: grid; grid-template-columns: 7fr 5fr; gap: 72px; align-items: center; }
.hero-text .lead { margin-top: 28px; }
.hero-trust { list-style: none; padding: 0; margin-top: 48px; padding-top: 24px; border-top: 2px dashed var(--wsc-color-wheat); display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: 15px; font-weight: 500; }
.hero-trust li { display: inline-flex; align-items: center; gap: 10px; }
.hero-trust li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--wsc-color-wheat); }
.hero-visual { position: relative; }
.hero-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; border-radius: var(--wsc-radius-arch); }
.hero-note { position: absolute; left: -40px; bottom: 44px; max-width: 250px; padding: 20px 22px; background: var(--wsc-color-card); border: 1px solid var(--wsc-color-line); border-radius: var(--wsc-radius); box-shadow: 0 18px 40px -24px rgba(30, 37, 64, .35); }
.hero-note-name { font: italic 500 30px/1.1 var(--wsc-font-heading); color: var(--wsc-color-accent); }
.hero-note-text { margin-top: 6px; font-size: 14px; line-height: 1.5; color: var(--wsc-color-muted); }

/* shared section head */
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 56px; }
.section-head .lead { margin-top: 18px; }

/* shop by: six category tiles */
.shop-by { padding-block: 0 var(--wsc-section-space); }
.cat-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px; }
.cat-card { position: relative; display: flex; flex-direction: column; }
.cat-media img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--wsc-radius-arch); transition: transform .6s cubic-bezier(.22, 1, .36, 1); }
.cat-card:hover .cat-media img { transform: translateY(-6px); }
.cat-name { margin-top: 18px; font: 500 25px/1.15 var(--wsc-font-heading); text-align: center; }
.cat-name a { text-decoration: none; display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; }
.cat-name a::after { content: ""; position: absolute; inset: 0; }
.cat-text { font-size: 14px; color: var(--wsc-color-muted); text-align: center; }

/* personalise */
.personalise { padding-block: var(--wsc-section-space); background: var(--wsc-color-linen); }
.personalise .inner { display: grid; grid-template-columns: 5fr 6fr; gap: 96px; align-items: center; }
.personalise-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--wsc-radius); }
.personalise-text .lead { margin-top: 24px; }
.steps { list-style: none; padding: 0; margin-top: 40px; counter-reset: step; display: grid; gap: 0; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 56px 1fr; align-items: baseline; padding-block: 18px; border-top: 1px solid var(--wsc-color-line); font-size: 17px; }
.steps li:last-child { border-bottom: 1px solid var(--wsc-color-line); }
.steps li::before { content: counter(step, decimal-leading-zero); font: italic 500 28px/1 var(--wsc-font-heading); color: var(--wsc-color-gold); font-variant-numeric: lining-nums; }
.steps strong { font-weight: 600; }
.threads { list-style: none; padding: 0; margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px 28px; font-size: 15px; font-weight: 500; }
.threads li { display: inline-flex; align-items: center; gap: 10px; }
.threads li::before { content: ""; width: 22px; height: 22px; border-radius: 50%; border: 1px solid rgba(30, 37, 64, .25); }
.threads li:nth-child(1)::before { background: var(--wsc-color-wheat); }
.threads li:nth-child(2)::before { background: var(--wsc-color-accent); }
.threads li:nth-child(3)::before { background: var(--wsc-color-card); }

/* collections */
.collections { padding-block: var(--wsc-section-space); }
.collection { display: grid; grid-template-columns: 1fr 1fr; gap: 0; background: var(--wsc-color-card); border: 1px solid var(--wsc-color-line); border-radius: var(--wsc-radius); overflow: hidden; }
.collection + .collection { margin-top: 32px; }
.collection-flip .collection-media { order: 2; }
.collection-media { position: relative; min-height: 560px; }
.collection-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.collection-sheaf .collection-media img { object-position: 50% 30%; }
.collection-text { padding: 72px 64px; display: flex; flex-direction: column; justify-content: center; }
.collection-name { font: italic 500 72px/1 var(--wsc-font-heading); color: var(--wsc-color-accent); }
.collection-sheaf .collection-name { color: var(--wsc-color-gold); }
.collection-text .lead { margin-top: 20px; }
.collection-items { list-style: none; padding: 0; margin-top: 32px; }
.collection-items li { display: flex; justify-content: space-between; gap: 16px; align-items: center; border-top: 1px dashed var(--wsc-color-wheat); }
.collection-items li:last-child { border-bottom: 1px dashed var(--wsc-color-wheat); }
.collection-items a { flex: 1; display: flex; justify-content: space-between; gap: 16px; align-items: center; min-height: 56px; text-decoration: none; font-weight: 500; }
.collection-items a:hover { color: var(--wsc-color-accent); }
.collection-text .link-more { margin-top: 24px; }

/* product grid (sample cards use WooCommerce's own classes, so the same CSS styles the real grid) */
.shop-section { padding-block: 0 var(--wsc-section-space); }
.products .wc-block-product-template { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 48px 28px; }
.products .wc-block-product { display: flex; flex-direction: column; text-align: left; }
.products .wc-block-components-product-image { border-radius: var(--wsc-radius); overflow: hidden; background: var(--wsc-color-linen); }
.products .wc-block-components-product-image img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.products .wp-block-post-title { font: 500 24px/1.2 var(--wsc-font-heading); margin-top: 20px; }
.products .wp-block-post-title a { display: inline; text-decoration: none; padding-block: 11px; } /* inline: hit area ≥ 44 px, layout unchanged */
.products .wc-block-components-product-price { margin-top: 6px; font-weight: 600; font-variant-numeric: lining-nums; }
.products .wc-block-components-product-price del { color: var(--wsc-color-muted); font-weight: 400; margin-right: 6px; }
.products .wc-block-components-product-price ins { text-decoration: none; color: var(--wsc-color-gold); }
.products .wc-block-components-product-button { margin-top: auto; }
.products .wp-block-button__link { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; margin-top: 16px; padding: 0 24px; border-radius: var(--wsc-radius-button); border: 1px solid var(--wsc-color-text); background: transparent; color: var(--wsc-color-text); font: 600 15px/1 var(--wsc-font-body); text-decoration: none; }
.products .wp-block-button__link:hover { background: var(--wsc-color-text); color: var(--wsc-color-on-dark); }

/* plan your date: the one dark section */
.plan { padding-block: var(--wsc-section-space); background: var(--wsc-color-text); color: var(--wsc-color-on-dark); }
.plan .eyebrow { color: var(--wsc-color-wheat); }
.plan .lead { color: var(--wsc-color-on-dark-muted); }
.timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; border-top: 2px dashed var(--wsc-color-wheat); }
.timeline-step { position: relative; padding-top: 40px; }
.timeline-step::before { content: ""; position: absolute; top: -9px; left: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--wsc-color-wheat); box-shadow: 0 0 0 6px var(--wsc-color-text); }
.timeline-when { font: italic 500 38px/1.1 var(--wsc-font-heading); color: var(--wsc-color-wheat); font-variant-numeric: lining-nums; }
.timeline-title { margin-top: 14px; font: 600 18px/1.4 var(--wsc-font-body); }
.timeline-text { margin-top: 10px; color: var(--wsc-color-on-dark-muted); max-width: 36ch; }
.plan-note { margin-top: 64px; padding-top: 28px; border-top: 1px solid rgba(251, 248, 241, .16); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.plan-note-text { font: 500 24px/1.3 var(--wsc-font-heading); }
.plan .link-more { color: var(--wsc-color-on-dark); text-decoration-color: var(--wsc-color-wheat); }

/* guides: what's in a set / godparents */
.guides { padding-block: var(--wsc-section-space); }
.guides .inner { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.guide { padding: 56px 52px 48px; background: var(--wsc-color-linen); border-radius: var(--wsc-radius); display: flex; flex-direction: column; }
.guide .subtitle { font-size: 38px; }
.guide-list { list-style: none; padding: 0; margin-top: 28px; }
.guide-list li { display: grid; grid-template-columns: 26px 1fr; padding-block: 12px; border-top: 1px dashed var(--wsc-color-wheat); }
.guide-list li::before { content: "✦"; color: var(--wsc-color-gold); font-size: 14px; line-height: 1.9; }
.guide .link-more { margin-top: auto; padding-top: 24px; }

/* reviews */
.reviews { padding-block: var(--wsc-section-space); background: var(--wsc-color-linen); }
.reviews-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 56px; }
.rating { display: flex; align-items: center; gap: 16px; }
.rating-score { font: 500 64px/1 var(--wsc-font-heading); font-variant-numeric: lining-nums; }
.rating-stars { color: var(--wsc-color-wheat); letter-spacing: .12em; font-size: 18px; }
.rating-text { font-size: 15px; color: var(--wsc-color-muted); }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.review { padding: 40px 36px 36px; background: var(--wsc-color-card); border: 1px solid var(--wsc-color-line); border-radius: var(--wsc-radius); }
.review p { font: italic 500 24px/1.4 var(--wsc-font-heading); }
.review cite { display: block; margin-top: 24px; padding-top: 18px; border-top: 1px dashed var(--wsc-color-wheat); font: 500 15px/1.4 var(--wsc-font-body); font-style: normal; color: var(--wsc-color-muted); }

/* faq */
.faq { padding-block: var(--wsc-section-space); }
.faq .inner { display: grid; grid-template-columns: 4fr 7fr; gap: 96px; }
.faq-side .lead { margin-top: 20px; }
.faq-side .link-more { margin-top: 16px; }
.faq-item { border-bottom: 1px solid var(--wsc-color-line); }
.faq-item:first-child { border-top: 1px solid var(--wsc-color-line); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; padding-block: 18px; font: 500 25px/1.3 var(--wsc-font-heading); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; flex: none; display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--wsc-color-line); font: 400 22px/1 var(--wsc-font-body); color: var(--wsc-color-gold); }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { padding-bottom: 28px; color: var(--wsc-color-muted); max-width: 62ch; }

/* newsletter */
.newsletter { padding-block: 0 var(--wsc-section-space); }
.newsletter-card { display: grid; grid-template-columns: 5fr 7fr; background: var(--wsc-color-linen); border-radius: var(--wsc-radius); overflow: hidden; }
/* the photo fills the card's height instead of setting it (a portrait photo would stretch the card) */
.newsletter-media { position: relative; min-height: 420px; }
.newsletter-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.newsletter-text { padding: 72px 72px 64px; }
.newsletter-text .lead { margin-top: 18px; }
.newsletter-form { margin-top: 32px; max-width: 520px; }
/* the sample below stands for the MailPoet form (email field + button in one row) */
.newsletter-sample { display: flex; gap: 10px; }
.newsletter-sample input { flex: 1; min-width: 0; min-height: 54px; padding: 0 24px; border: 1px solid rgba(30, 37, 64, .3); border-radius: 999px; background: var(--wsc-color-card); font: 400 16px/1.3 var(--wsc-font-body); color: var(--wsc-color-text); }
.newsletter-note { margin-top: 16px; font-size: 14px; color: var(--wsc-color-muted); }

/* footer */
.site-footer { background: var(--wsc-color-text); color: var(--wsc-color-on-dark); padding-block: 96px 40px; }
.footer-top { display: grid; grid-template-columns: 4fr 2fr 2fr 3fr; gap: 48px; }
.footer-brand .logo { color: var(--wsc-color-on-dark); }
.footer-tagline { margin-top: 18px; color: var(--wsc-color-on-dark-muted); max-width: 32ch; }
.footer-title { font: 600 13px/1.4 var(--wsc-font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--wsc-color-wheat); margin-bottom: 12px; }
.footer-links { list-style: none; padding: 0; }
.footer-links a { text-decoration: none; display: inline-flex; align-items: center; min-width: 44px; min-height: 44px; }
.footer-links a:hover { text-decoration: underline; text-decoration-color: var(--wsc-color-wheat); }
.footer-contacts p + p { margin-top: 8px; }
.footer-contacts a { display: inline-flex; align-items: center; min-height: 44px; }
.footer-bottom { margin-top: 72px; padding-top: 24px; border-top: 1px dashed rgba(201, 164, 92, .5); font-size: 14px; color: var(--wsc-color-on-dark-muted); }
.footer-bottom a { display: inline-flex; align-items: center; min-width: 44px; min-height: 44px; }

/* Cormorant with lining numbers (old-style figures make "10%" read as "IO%" and prices jump — decision 2026-11-10);
   after every `font` shorthand above, same specificity */
.display, .title, .subtitle, .logo, .cat-name, .collection-name, .review p, .faq-item summary, .plan-note-text, .hero-note-name,
.guide .subtitle, .products .wp-block-post-title, .collection-items a { font-variant-numeric: lining-nums; }

@media (max-width: 1099px) {
  .display { font-size: 68px; }
  .title { font-size: 48px; }
  .hero .inner, .personalise .inner { grid-template-columns: 1fr 1fr; gap: 48px; }
  .hero-note { left: 16px; }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .products .wc-block-product-template { grid-template-columns: repeat(2, 1fr); }
  .collection-text { padding: 48px 40px; }
  .faq .inner { gap: 56px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 749px) {
  .announce { font-size: 13px; min-height: 36px; padding-inline: 8px; }
  .header-main { gap: 8px; min-height: 64px; }
  .logo { font-size: 27px; }
  /* mockup only: WordPress's Navigation block shows its own menu button on mobile */
  .main-nav > a { display: none; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; }
  .display { font-size: 52px; }
  .title { font-size: 40px; }
  .subtitle, .guide .subtitle { font-size: 30px; }
  .lead { font-size: 17px; }
  .hero { padding-block: 32px 80px; }
  .hero .inner, .personalise .inner, .guides .inner, .faq .inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; }
  .hero-media img { aspect-ratio: 5 / 5; }
  .hero-note { left: 12px; bottom: 12px; max-width: 220px; padding: 14px 16px; }
  .hero-note-name { font-size: 24px; }
  .hero-trust { margin-top: 36px; gap: 8px 20px; font-size: 14px; }
  .section-head, .reviews-head { display: block; margin-bottom: 40px; }
  .section-head .link-more { margin-top: 10px; }
  .cat-grid { grid-template-columns: 1fr 1fr; gap: 28px 14px; }
  .cat-name { font-size: 22px; margin-top: 12px; }
  .collection, .newsletter-card { grid-template-columns: 1fr; }
  .collection-flip .collection-media { order: 0; }
  .collection-media, .newsletter-media { min-height: 0; }
  .collection-media img, .newsletter-media img { position: static; height: auto; aspect-ratio: 4 / 3; }
  .collection-text { padding: 36px 24px 32px; }
  .collection-name { font-size: 54px; }
  .products .wc-block-product-template { gap: 36px 14px; }
  .products .wp-block-post-title { font-size: 20px; }
  .products .wp-block-button__link { padding: 0 16px; font-size: 14px; }
  .timeline { grid-template-columns: 1fr; gap: 0; border-top: 0; border-left: 2px dashed var(--wsc-color-wheat); padding-left: 28px; }
  .timeline-step { padding-top: 0; padding-bottom: 36px; }
  .timeline-step::before { top: 8px; left: -37px; }
  .timeline-when { font-size: 32px; }
  .plan-note { margin-top: 24px; }
  .guide { padding: 36px 24px 32px; }
  .rating { margin-top: 20px; }
  .reviews-grid { grid-template-columns: 1fr; gap: 16px; }
  .review { padding: 30px 26px 26px; }
  .review p { font-size: 22px; }
  .faq-item summary { font-size: 21px; }
  .newsletter-text { padding: 36px 24px 32px; }
  .newsletter-sample { flex-direction: column; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* product page (inputs/mockup/product.html → templates/single-product.html), scoped */
body.single-product {
/* ---------- product: gallery + buy box ---------- */
.product-main { padding: 24px 0 112px; }
.product-crumbs .woocommerce-breadcrumb { margin: 0 0 24px; color: var(--wsc-color-muted); font-size: 14px; }
.product-crumbs .woocommerce-breadcrumb a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; color: var(--wsc-color-muted); text-decoration: none; }
.product-crumbs .woocommerce-breadcrumb a:hover { color: var(--wsc-color-text); }
.product-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 72px; align-items: start; }
/* WooCommerce's block CSS caps the gallery block at 512 px */
.product-main .product-grid .product-gallery { max-width: none; }

/* WooCommerce product gallery (woocommerce/product-image-gallery, as rendered after its script); the long selectors
   beat WooCommerce's own `.woocommerce div.product div.images …` (width 48%, thumbnails 25%) */
.product-gallery .woocommerce-product-gallery.images.woocommerce-product-gallery--with-images { position: relative; float: none; width: 100%; margin: 0; }
.product-gallery .flex-viewport, .product-gallery .woocommerce-product-gallery__wrapper { overflow: hidden; border-radius: var(--wsc-radius); background: var(--wsc-color-linen); }
.product-gallery .woocommerce-product-gallery__wrapper { margin: 0; padding: 0; }
.product-gallery .woocommerce-product-gallery__image img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.product-gallery .woocommerce-product-gallery.images.woocommerce-product-gallery--with-images .woocommerce-product-gallery__trigger { position: absolute; top: 16px; right: 16px; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(251, 248, 241, .9); color: var(--wsc-color-text); font-size: 0; text-decoration: none; }
.product-gallery .woocommerce-product-gallery__trigger::before { content: ""; width: 14px; height: 14px; border: 2px solid currentColor; border-radius: 50%; }
.product-gallery .woocommerce-product-gallery__trigger::after { content: ""; position: absolute; width: 7px; height: 2px; margin: 13px 0 0 13px; border-radius: 2px; background: currentColor; transform: rotate(45deg); }
.product-gallery .woocommerce-product-gallery.images.woocommerce-product-gallery--with-images .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 12px 0 0; padding: 0; list-style: none; }
.product-gallery .woocommerce-product-gallery.images.woocommerce-product-gallery--with-images .flex-control-thumbs li { float: none; width: auto; margin: 0; overflow: hidden; border-radius: var(--wsc-radius-small); background: var(--wsc-color-linen); }
.product-gallery .flex-control-thumbs img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; opacity: .6; cursor: pointer; }
.product-gallery .flex-control-thumbs img.flex-active { opacity: 1; box-shadow: inset 0 0 0 2px var(--wsc-color-text); }

/* buy box: no card — editorial column with stitched rules */
.product-info { display: grid; gap: 20px; padding-top: 8px; }
.product-info .eyebrow { margin: 0; }
.product-info .wp-block-post-title { margin: 0; font: 500 54px/1.02 var(--wsc-font-heading); letter-spacing: -.015em; text-wrap: balance; font-variant-numeric: lining-nums; }
.product-info .wc-block-components-product-price { margin: 0; font: 500 34px/1 var(--wsc-font-heading); font-variant-numeric: lining-nums; }
.product-info .wc-block-components-product-price del { margin-right: 10px; color: var(--wsc-color-muted); font-size: 24px; }
.product-info .wc-block-components-product-price ins { text-decoration: none; color: var(--wsc-color-gold); }
.product-info .wp-block-post-excerpt { margin: 0; }
.product-info .wp-block-post-excerpt__excerpt { margin: 0; color: var(--wsc-color-muted); font-size: 18px; line-height: 1.6; }

/* add-to-cart form (woocommerce/add-to-cart-form, simple product) + personalisation fields (plugin) */
.product-info .wc-block-add-to-cart-form form.cart { display: flex; flex-wrap: wrap; gap: 12px; margin: 6px 0 0; }
.product-info .wapf { flex: 1 1 100%; }
.product-info .wapf-wrapper { padding: 24px 24px 8px; border: 1px dashed var(--wsc-color-wheat); border-radius: var(--wsc-radius); background: var(--wsc-color-card); }
.product-info .wapf-field-row { display: flex; flex-wrap: wrap; gap: 0 14px; margin: 0; }
.product-info .wapf-field-container { flex: 1 1 0; min-width: 0; padding: 0 0 16px; }
.product-info .wapf-field-container.wapf-field-paragraph { flex-basis: 100%; padding: 0; }
.product-info .wapf-field-paragraph .wapf-field-label { display: none; }
.product-info .hl-wapf-title .wapf-input { font: italic 500 24px/1.2 var(--wsc-font-heading); color: var(--wsc-color-accent); }
.product-info .hl-wapf-note { padding-bottom: 18px; }
.product-info .hl-wapf-note .wapf-input { margin-top: 4px; font-size: 14px; color: var(--wsc-color-muted); }
.product-info .wapf-field-label { margin-bottom: 6px; }
.product-info .wapf-field-label label { font-size: 14px; font-weight: 600; }
.product-info .wapf-field-label abbr.required { color: var(--wsc-color-gold); text-decoration: none; }
.product-info .wapf-field-input input[type=text] { width: 100%; min-height: 50px; padding: 0 16px; border: 1px solid rgba(30, 37, 64, .3); border-radius: var(--wsc-radius-small); background: var(--wsc-color-bg); color: var(--wsc-color-text); font: 400 16px/1.2 var(--wsc-font-body); }
.product-info .wapf-field-input input[type=text]:focus { border-color: var(--wsc-color-accent); outline: 2px dashed var(--wsc-color-accent); outline-offset: 2px; }
.product-info .wapf-field-description { padding-top: 6px; font-size: 13px; opacity: 1; color: var(--wsc-color-muted); }
.product-info .wapf-radios { display: flex; flex-wrap: wrap; gap: 8px; }
.product-info .wapf-input-label { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px 0 10px; border: 1px solid rgba(30, 37, 64, .25); border-radius: var(--wsc-radius-button); background: var(--wsc-color-bg); font-size: 14px; font-weight: 500; cursor: pointer; }
.product-info .wapf-field-input input[type=radio] { float: none; width: 18px; height: 18px; margin: 0; accent-color: var(--wsc-color-accent); }
.product-info .wapf-label-text { padding-left: 0; }
.product-info .wapf-checkable:has(input:checked) .wapf-input-label { border-color: var(--wsc-color-accent); box-shadow: inset 0 0 0 1px var(--wsc-color-accent); }
.product-info .wc-block-add-to-cart-form .quantity { display: flex; margin: 0; }
.product-info .wc-block-add-to-cart-form .quantity .qty { width: 84px; min-height: 58px; margin: 0; padding: 0 12px; border: 1px solid rgba(30, 37, 64, .3); border-radius: var(--wsc-radius-button); background: var(--wsc-color-card); color: var(--wsc-color-text); font: 600 17px/1 var(--wsc-font-body); text-align: center; }
.product-info .wc-block-add-to-cart-form .single_add_to_cart_button { flex: 1; min-width: 200px; min-height: 58px; margin: 0; padding: 0 28px; border: 0; border-radius: var(--wsc-radius-button); background: var(--wsc-color-accent); color: var(--wsc-color-on-dark); font: 600 17px/1 var(--wsc-font-body); cursor: pointer; }
.product-info .wc-block-add-to-cart-form .single_add_to_cart_button:hover { background: var(--wsc-color-accent-dark); }

.product-assure { list-style: none; padding: 20px 0 0; margin-top: 4px; border-top: 2px dashed var(--wsc-color-wheat); display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; font-size: 15px; font-weight: 500; }
.product-assure li { display: flex; gap: 10px; align-items: baseline; }
.product-assure li::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--wsc-color-wheat); transform: translateY(-2px); }
.product-returns { font-size: 14px; color: var(--wsc-color-muted); }
.product-links { display: flex; flex-wrap: wrap; gap: 4px 24px; }

/* ---------- description + reviews tabs (woocommerce/product-details) ---------- */
.product-about { padding-block: var(--wsc-section-space); background: var(--wsc-color-linen); }
.product-about .inner { display: grid; grid-template-columns: 4fr 8fr; gap: 96px; }
.product-tabs .woocommerce-tabs { padding: 0; }
.product-tabs .woocommerce-tabs ul.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 32px; padding: 0; list-style: none; border: 0; }
.product-tabs .woocommerce-tabs ul.tabs::before, .product-tabs .woocommerce-tabs ul.tabs li::before, .product-tabs .woocommerce-tabs ul.tabs li::after { display: none; }
.product-tabs .woocommerce-tabs ul.tabs li { margin: 0; padding: 0; border: 0; border-radius: var(--wsc-radius-button); background: transparent; }
.product-tabs .woocommerce-tabs ul.tabs li a { display: inline-flex; align-items: center; min-height: 46px; padding: 0 22px; border: 1px solid rgba(30, 37, 64, .3); border-radius: var(--wsc-radius-button); color: var(--wsc-color-text); font: 600 15px/1 var(--wsc-font-body); text-decoration: none; }
.product-tabs .woocommerce-tabs ul.tabs li.active a { background: var(--wsc-color-text); border-color: var(--wsc-color-text); color: var(--wsc-color-on-dark); }
.product-tabs .woocommerce-Tabs-panel { max-width: 720px; margin: 0; padding: 0; }
.product-tabs .woocommerce-Tabs-panel h2 { margin: 0 0 16px; font: 500 32px/1.15 var(--wsc-font-heading); }
.product-tabs .woocommerce-Tabs-panel p { color: var(--wsc-color-muted); font-size: 18px; line-height: 1.65; }
.product-tabs .woocommerce-Tabs-panel p + p { margin-top: 14px; }

/* ---------- personalisation, how it works ---------- */
.product-stitch { padding-block: var(--wsc-section-space); }
.product-stitch .inner { display: grid; grid-template-columns: 6fr 5fr; gap: 96px; align-items: center; }
.product-stitch-media img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--wsc-radius); }
.product-stitch .lead { margin-top: 20px; }

/* ---------- more products ---------- */
.more { padding-block: 0 var(--wsc-section-space); }

/* ---------- before you buy ---------- */
.product-faq { padding-block: var(--wsc-section-space); background: var(--wsc-color-linen); }
.product-faq .inner { display: grid; grid-template-columns: 4fr 7fr; gap: 96px; }
.product-faq .lead { margin-top: 20px; }
.product-faq .link-more { margin-top: 12px; }

/* Cormorant's lining numbers, after the `font` shorthands above (shared.css note) */
.product-info .wapf-title, .product-tabs .woocommerce-Tabs-panel h2 { font-variant-numeric: lining-nums; }

@media (max-width: 1099px) {
  .product-grid, .product-about .inner, .product-stitch .inner { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 749px) {
  .product-main { padding: 8px 0 72px; }
  .product-crumbs .woocommerce-breadcrumb { margin-bottom: 6px; font-size: 13px; }
  .product-info .wp-block-post-title { font-size: 38px; }
  .product-info .wc-block-components-product-price { font-size: 30px; }
  .product-info .wapf-wrapper { padding: 20px 16px 4px; }
  .product-info .wapf-field-container { flex-basis: 100%; }
  .product-info .wc-block-add-to-cart-form .single_add_to_cart_button { min-width: 0; }
  .product-assure { grid-template-columns: 1fr; }
  .product-faq .inner { grid-template-columns: 1fr; gap: 32px; }
}
}

/* shop (inputs/mockup/shop.html → templates/archive-product, taxonomy-product_cat, taxonomy-product_tag, product-search-results), scoped */
.wsc-shop {
/* ---------- archive head: editorial title + category chips ---------- */
.shop-head { padding: 24px 0 48px; }
.shop-crumbs .woocommerce-breadcrumb { margin: 0 0 12px; color: var(--wsc-color-muted); font-size: 14px; }
.shop-crumbs .woocommerce-breadcrumb a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; color: var(--wsc-color-muted); text-decoration: none; }
.shop-head .wp-block-query-title { font: 500 84px/1 var(--wsc-font-heading); letter-spacing: -.02em; }
.shop-head .wp-block-term-description { max-width: 56ch; margin-top: 18px; color: var(--wsc-color-muted); font-size: 19px; line-height: 1.6; }
.shop-head .wp-block-term-description p { margin: 0; }
.shop-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; padding-top: 28px; border-top: 2px dashed var(--wsc-color-wheat); }
.shop-chips a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border: 1px solid rgba(30, 37, 64, .25); border-radius: var(--wsc-radius-button); font-weight: 500; font-size: 15px; text-decoration: none; }
.shop-chips a:hover { background: var(--wsc-color-text); border-color: var(--wsc-color-text); color: var(--wsc-color-on-dark); }

/* ---------- toolbar + grid ---------- */
.catalog { padding: 0 0 var(--wsc-section-space); }
.catalog-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 32px; padding: 10px 10px 10px 22px; border-radius: var(--wsc-radius); background: var(--wsc-color-linen); }
.catalog-bar .woocommerce-result-count { margin: 0; color: var(--wsc-color-muted); font-size: 15px; }
.catalog-bar .woocommerce-ordering { margin: 0; }
.catalog-bar .woocommerce-ordering select { min-height: 44px; padding: 0 40px 0 18px; border: 1px solid rgba(30, 37, 64, .3); border-radius: var(--wsc-radius-button); background: var(--wsc-color-card); color: var(--wsc-color-text); font: 500 15px/1 var(--wsc-font-body); }
.catalog .products-grid .wc-block-product-template { grid-template-columns: repeat(3, 1fr); gap: 56px 28px; }
.catalog .wp-block-query-pagination { display: flex; justify-content: center; gap: 8px; margin-top: 56px; }
.catalog .wp-block-query-pagination a, .catalog .wp-block-query-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 46px; min-height: 46px; padding: 0 16px; border-radius: var(--wsc-radius-button); border: 1px solid rgba(30, 37, 64, .3); font-weight: 600; text-decoration: none; }
.catalog .wp-block-query-pagination .page-numbers.current { background: var(--wsc-color-text); border-color: var(--wsc-color-text); color: var(--wsc-color-on-dark); }

/* ---------- help band ---------- */
.shop-help { padding-bottom: var(--wsc-section-space); }
.shop-help-panel { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center; padding: 56px; border-radius: var(--wsc-radius); background: var(--wsc-color-text); color: var(--wsc-color-on-dark); }
.shop-help-panel .eyebrow { color: var(--wsc-color-wheat); }
.shop-help-text .lead { margin-top: 16px; color: var(--wsc-color-on-dark-muted); }
.shop-help-list { list-style: none; padding: 0; display: grid; gap: 0; }
.shop-help-list li { display: flex; gap: 12px; align-items: baseline; padding-block: 12px; border-top: 1px dashed rgba(201, 164, 92, .55); font-weight: 500; }
.shop-help-list li:last-child { border-bottom: 1px dashed rgba(201, 164, 92, .55); }
.shop-help-list li::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--wsc-color-wheat); transform: translateY(-2px); }

/* Cormorant's lining numbers, after the `font` shorthands above (shared.css note) */
.shop-head .wp-block-query-title { font-variant-numeric: lining-nums; }

@media (max-width: 1099px) {
  .catalog .products-grid .wc-block-product-template { grid-template-columns: repeat(2, 1fr); }
  .shop-help-panel { grid-template-columns: 1fr; }
}
@media (max-width: 749px) {
  .shop-head { padding: 8px 0 28px; }
  .shop-head .wp-block-query-title { font-size: 54px; }
  .shop-head .wp-block-term-description { font-size: 17px; }
  .shop-chips { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--wsc-page-margin)); padding-inline: var(--wsc-page-margin); scrollbar-width: none; }
  .shop-chips a { flex: none; }
  .catalog-bar { padding: 8px 8px 8px 16px; }
  .catalog-bar .woocommerce-ordering select { width: 190px; padding-right: 32px; }
  .catalog-bar .woocommerce-result-count { font-size: 14px; }
  .catalog .products-grid .wc-block-product-template { gap: 36px 14px; }
  .shop-help-panel { padding: 32px 22px; gap: 24px; }
}
}

/* page (inputs/mockup/page.html → templates/page), scoped */
.wsc-text-page {
.text-page { padding: 80px 0 104px; }
.text-page .inner { max-width: 760px; }
.text-page .wp-block-post-title { margin: 0 0 24px; font: 500 72px/1 var(--wsc-font-heading); letter-spacing: -.02em; text-wrap: balance; font-variant-numeric: lining-nums; }
.text-page .wp-block-post-title::after { content: ""; display: block; width: 120px; margin-top: 32px; border-top: 2px dashed var(--wsc-color-wheat); }
.text-page .wp-block-post-content { padding: 0; margin-top: 40px; font-size: 18px; line-height: 1.75; color: var(--wsc-color-text); }
.text-page .wp-block-post-content > * + * { margin-block-start: 1.1em; }
.text-page .wp-block-post-content > :is(h2, h3) { margin-block-start: 2.2em; font-family: var(--wsc-font-heading); font-weight: 500; line-height: 1.15; color: var(--wsc-color-text); font-variant-numeric: lining-nums; }
.text-page .wp-block-post-content > h2 { font-size: 36px; }
.text-page .wp-block-post-content > h3 { font-size: 26px; }
.text-page .wp-block-post-content > :is(h2, h3) + * { margin-block-start: .6em; }
.text-page .wp-block-post-content :is(ul, ol) { padding-inline-start: 1.25em; }
.text-page .wp-block-post-content li + li { margin-block-start: .4em; }
.text-page .wp-block-post-content li::marker { color: var(--wsc-color-gold); }
.text-page .wp-block-post-content a { color: var(--wsc-color-accent); text-decoration-style: dashed; text-decoration-color: var(--wsc-color-wheat); text-decoration-thickness: 1.5px; text-underline-offset: 5px; }

.page-help { padding-bottom: var(--wsc-section-space); }
.page-help .inner { max-width: 760px; }
.page-help-card { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; padding: 32px 36px; border-radius: var(--wsc-radius); background: var(--wsc-color-linen); }
.page-help-title { font: 500 30px/1.2 var(--wsc-font-heading); }
.page-help-text { margin-top: 6px; color: var(--wsc-color-muted); }
.page-help-card .actions { margin-top: 0; }

/* Cormorant's lining numbers, after the `font` shorthands above (shared.css note) */
.page-help-title { font-variant-numeric: lining-nums; }

@media (max-width: 749px) {
  .text-page { padding: 40px 0 64px; }
  .text-page .wp-block-post-title { font-size: 48px; }
  .text-page .wp-block-post-content { font-size: 17px; margin-top: 28px; }
  .text-page .wp-block-post-content > h2 { font-size: 30px; }
  .page-help-card { grid-template-columns: 1fr; padding: 26px 22px; }
}
}

/* cart (inputs/mockup/cart.html → templates/page-cart), scoped */
.wsc-cart {
.cart-main { padding: 64px 0 80px; }
.cart-title { font: 500 72px/1 var(--wsc-font-heading); letter-spacing: -.02em; }
.cart-sub { margin: 14px 0 44px; color: var(--wsc-color-muted); }

/* WooCommerce Cart block (as rendered) */
.cart-main .wc-block-components-sidebar-layout { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; margin: 0; }
.cart-main .wc-block-components-main { flex: 1 1 560px; width: auto; padding: 0; }
.cart-main .wc-block-components-sidebar { flex: 0 1 400px; width: auto; padding: 32px 32px 28px; margin: 0; border-radius: var(--wsc-radius); background: var(--wsc-color-linen); }
.cart-main table.wc-block-cart-items { width: 100%; border-collapse: collapse; }
.cart-main .wc-block-cart-items__header th { padding: 0 0 14px; border-bottom: 2px dashed var(--wsc-color-wheat); color: var(--wsc-color-gold); font: 600 13px/1.4 var(--wsc-font-body); letter-spacing: .16em; text-transform: uppercase; text-align: left; }
.cart-main .wc-block-cart-items__header-total { text-align: right !important; }
.cart-main .wc-block-cart-items__row td { padding: 26px 0; border-bottom: 1px solid var(--wsc-color-line); vertical-align: top; }
.cart-main .wc-block-cart-item__image { width: 132px; padding-right: 24px !important; }
.cart-main .wc-block-cart-item__image img { width: 108px; height: 135px; object-fit: cover; border-radius: var(--wsc-radius-small); }
.cart-main .wc-block-components-product-name { display: inline; padding-block: 10px; font: 500 23px/1.2 var(--wsc-font-heading); color: var(--wsc-color-text); text-decoration: none; } /* inline: hit area ≥ 44 px, layout unchanged */
.cart-main .wc-block-cart-item__prices { margin-top: 4px; color: var(--wsc-color-muted); font-size: 15px; }
.cart-main .wc-block-components-product-details { list-style: none; margin: 10px 0 0; padding: 10px 14px; border-left: 2px dashed var(--wsc-color-wheat); font-size: 14px; color: var(--wsc-color-muted); }
.cart-main .wc-block-components-product-details li + li { margin-top: 2px; }
.cart-main .wc-block-components-product-details__name { font-weight: 600; color: var(--wsc-color-text); }
.cart-main .wc-block-cart-item__quantity { display: flex; align-items: center; gap: 16px; margin-top: 14px; }
.cart-main .wc-block-components-quantity-selector { display: inline-flex; align-items: center; width: auto; margin: 0; border: 1px solid rgba(30, 37, 64, .3); border-radius: var(--wsc-radius-button); background: var(--wsc-color-card); }
.cart-main .wc-block-components-quantity-selector::after { display: none; }
.cart-main .wc-block-components-quantity-selector .wc-block-components-quantity-selector__input { width: 44px; min-height: 44px; border: 0; background: transparent; font: 600 16px/1 var(--wsc-font-body); text-align: center; color: var(--wsc-color-text); }
.cart-main .wc-block-components-quantity-selector .wc-block-components-quantity-selector__button { min-width: 44px; min-height: 44px; border: 0; background: transparent; color: var(--wsc-color-text); font-size: 18px; cursor: pointer; }
.cart-main .wc-block-cart-item__remove-link { display: inline-flex; align-items: center; min-height: 44px; padding: 0; border: 0; background: none; color: var(--wsc-color-muted); font: 500 14px/1 var(--wsc-font-body); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.cart-main .wc-block-cart-item__total { text-align: right; font-weight: 600; }
.cart-main .wc-block-cart__totals-title { margin: 0 0 12px; padding: 0; font: 500 30px/1.1 var(--wsc-font-heading); text-transform: none; text-align: left; }
.cart-main .wc-block-components-totals-wrapper { padding: 14px 0; border-top: 1px dashed var(--wsc-color-wheat); }
.cart-main .wc-block-components-totals-item { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; }
.cart-main .wc-block-components-totals-item__label { color: var(--wsc-color-muted); }
.cart-main .wc-block-components-totals-item__value { font-weight: 600; }
.cart-main .wc-block-components-totals-footer-item .wc-block-components-totals-item__label, .cart-main .wc-block-components-totals-footer-item .wc-block-components-totals-item__value { font: 500 26px/1.2 var(--wsc-font-heading); color: var(--wsc-color-text); font-variant-numeric: lining-nums; }
.cart-main .wc-block-components-totals-coupon__link { display: inline-flex; align-items: center; min-height: 44px; color: var(--wsc-color-accent); font-weight: 600; text-decoration-style: dashed; text-decoration-color: var(--wsc-color-wheat); text-underline-offset: 5px; }
.cart-main .wc-block-cart__submit-container { padding: 10px 0 0; }
.cart-main .wc-block-cart__submit-button { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 58px; border: 0; border-radius: var(--wsc-radius-button); background: var(--wsc-color-accent); color: var(--wsc-color-on-dark); font: 600 17px/1 var(--wsc-font-body); text-decoration: none; }
.cart-main .wc-block-cart__submit-button:hover { background: var(--wsc-color-accent-dark); }

.cart-assure { padding-bottom: var(--wsc-section-space); }
.cart-assure-list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 2px dashed var(--wsc-color-wheat); }
.cart-assure-item { padding: 28px 28px 0 0; }
.cart-assure-title { display: block; font: 500 24px/1.2 var(--wsc-font-heading); }
.cart-assure-text { display: block; margin-top: 6px; color: var(--wsc-color-muted); font-size: 15px; }

/* Cormorant's lining numbers, after the `font` shorthands above (shared.css note) */
.cart-title, .cart-assure-title, .cart-main .wc-block-cart__totals-title, .cart-main .wc-block-components-product-name { font-variant-numeric: lining-nums; }

@media (max-width: 749px) {
  .cart-main { padding: 32px 0 48px; }
  .cart-title { font-size: 48px; }
  .cart-sub { margin-bottom: 24px; }
  .cart-main .wc-block-cart-items__header { display: none; }
  .cart-main .wc-block-cart-item__image { width: 96px; padding-right: 14px !important; }
  .cart-main .wc-block-cart-item__image img { width: 82px; height: 102px; }
  .cart-main .wc-block-components-product-name { font-size: 20px; padding-block: 11px; }
  .cart-main .wc-block-cart-item__total { display: none; }
  .cart-main .wc-block-components-sidebar { flex-basis: 100%; padding: 24px 20px 20px; }
  .cart-assure-list { grid-template-columns: 1fr; }
  .cart-assure-item { padding: 20px 0 0; }
}
}

/* checkout (inputs/mockup/checkout.html → templates/page-checkout), scoped */
.wsc-checkout {
.checkout-main { padding: 64px 0 80px; }
.checkout-title { font: 500 72px/1 var(--wsc-font-heading); letter-spacing: -.02em; }
.checkout-sub { margin: 14px 0 44px; color: var(--wsc-color-muted); }

/* WooCommerce Checkout block (as rendered) */
.checkout-main .wc-block-components-sidebar-layout { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; margin: 0; }
.checkout-main .wc-block-components-main { flex: 1 1 560px; width: auto; padding: 0; }
.checkout-main .wc-block-components-sidebar { flex: 0 1 420px; width: auto; margin: 0; padding: 32px 32px 26px; border-radius: var(--wsc-radius); background: var(--wsc-color-linen); }
.checkout-main .wc-block-components-checkout-step { margin: 0 0 40px; padding: 0; border: 0; }
.checkout-main .wc-block-components-checkout-step__title { margin: 0 0 6px; font: 500 30px/1.15 var(--wsc-font-heading); }
.checkout-main .wc-block-components-checkout-step__description { margin: 0 0 16px; color: var(--wsc-color-muted); font-size: 15px; }
.checkout-main .wc-block-components-address-form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.checkout-main .wc-block-components-address-form .is-wide { grid-column: 1 / -1; }
.checkout-main .wc-block-components-text-input { position: relative; margin: 0; }
.checkout-main .wc-block-components-text-input input { width: 100%; min-height: 58px; padding: 24px 16px 8px; border: 1px solid rgba(30, 37, 64, .3); border-radius: var(--wsc-radius-small); background: var(--wsc-color-card); color: var(--wsc-color-text); font: 400 16px/1.2 var(--wsc-font-body); }
.checkout-main .wc-block-components-text-input label { position: absolute; top: 9px; left: 17px; color: var(--wsc-color-muted); font-size: 13px; line-height: 1.2; }
.checkout-main .wc-block-components-text-input input:focus { border-color: var(--wsc-color-accent); outline: 2px dashed var(--wsc-color-accent); outline-offset: 2px; }
.checkout-main .wc-block-components-radio-control__option { position: relative; display: flex; align-items: center; gap: 14px; min-height: 58px; padding: 12px 16px; border: 1px solid rgba(30, 37, 64, .3); border-radius: var(--wsc-radius-small); background: var(--wsc-color-card); }
.checkout-main .wc-block-components-radio-control__option + .wc-block-components-radio-control__option { margin-top: 10px; }
.checkout-main .wc-block-components-radio-control__option-checked { border-color: var(--wsc-color-accent); box-shadow: inset 0 0 0 1px var(--wsc-color-accent); }
.checkout-main .wc-block-components-radio-control__input { width: 20px; height: 20px; margin: 0; accent-color: var(--wsc-color-accent); }
.checkout-main .wc-block-components-radio-control__label-group { display: flex; flex: 1; justify-content: space-between; gap: 12px; }
.checkout-main .wc-block-components-radio-control__label { font-weight: 500; }
.checkout-main .wc-block-components-radio-control__secondary-label { font-weight: 600; }
.checkout-main .wc-block-checkout__add-note { margin: 0 0 32px; }
.checkout-main .wc-block-components-checkbox label { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font-weight: 500; cursor: pointer; }
.checkout-main .wc-block-components-checkbox__input { width: 20px; height: 20px; margin: 0; accent-color: var(--wsc-color-accent); }
.checkout-main .wc-block-components-textarea { display: block; width: 100%; min-height: 104px; margin-top: 10px; padding: 14px 16px; border: 1px solid rgba(30, 37, 64, .3); border-radius: var(--wsc-radius-small); background: var(--wsc-color-card); color: var(--wsc-color-text); font: 400 16px/1.5 var(--wsc-font-body); resize: vertical; }
.checkout-main .wc-block-checkout__actions_row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.checkout-main .wc-block-components-checkout-return-to-cart-button { display: inline-flex; align-items: center; min-height: 44px; color: var(--wsc-color-accent); font-weight: 600; text-decoration-style: dashed; text-decoration-color: var(--wsc-color-wheat); text-underline-offset: 5px; }
.checkout-main .wc-block-components-checkout-place-order-button { min-width: 260px; min-height: 58px; padding: 0 32px; border: 0; border-radius: var(--wsc-radius-button); background: var(--wsc-color-accent); color: var(--wsc-color-on-dark); font: 600 17px/1 var(--wsc-font-body); cursor: pointer; }
.checkout-main .wc-block-components-checkout-place-order-button:hover { background: var(--wsc-color-accent-dark); }
.checkout-main .wc-block-components-checkout-order-summary__title-text { margin: 0 0 14px; font: 500 28px/1.1 var(--wsc-font-heading); }
.checkout-main .wc-block-components-order-summary-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: start; padding: 12px 0; }
.checkout-main .wc-block-components-order-summary-item__image { position: relative; }
.checkout-main .wc-block-components-order-summary-item__image img { width: 64px; height: 80px; object-fit: cover; border-radius: var(--wsc-radius-small); }
.checkout-main .wc-block-components-order-summary-item__quantity { position: absolute; top: -8px; right: -8px; display: grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--wsc-color-text); color: var(--wsc-color-on-dark); font-size: 12px; font-weight: 600; }
.checkout-main .wc-block-components-product-name { font: 500 19px/1.25 var(--wsc-font-heading); }
.checkout-main .wc-block-components-product-details { list-style: none; margin: 6px 0 0; padding: 0; font-size: 13px; color: var(--wsc-color-muted); }
.checkout-main .wc-block-components-product-details__name { font-weight: 600; color: var(--wsc-color-text); }
.checkout-main .wc-block-components-order-summary-item__total-price { font-weight: 600; }
.checkout-main .wc-block-components-totals-wrapper { padding: 14px 0; border-top: 1px dashed var(--wsc-color-wheat); }
.checkout-main .wc-block-components-totals-item { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; }
.checkout-main .wc-block-components-totals-item__label { color: var(--wsc-color-muted); }
.checkout-main .wc-block-components-totals-item__value { font-weight: 600; }
.checkout-main .wc-block-components-totals-footer-item .wc-block-components-totals-item__label, .checkout-main .wc-block-components-totals-footer-item .wc-block-components-totals-item__value { font: 500 26px/1.2 var(--wsc-font-heading); color: var(--wsc-color-text); font-variant-numeric: lining-nums; }

.checkout-help { padding-bottom: var(--wsc-section-space); }
.checkout-help-line { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 28px; padding-top: 24px; border-top: 2px dashed var(--wsc-color-wheat); color: var(--wsc-color-muted); font-size: 15px; }
.checkout-help-line a { display: inline-flex; align-items: center; min-height: 44px; color: var(--wsc-color-accent); font-weight: 600; text-decoration-style: dashed; text-decoration-color: var(--wsc-color-wheat); text-underline-offset: 5px; }

/* Cormorant's lining numbers, after the `font` shorthands above (shared.css note) */
.checkout-title, .checkout-main .wc-block-components-checkout-step__title, .checkout-main .wc-block-components-checkout-order-summary__title-text, .checkout-main .wc-block-components-product-name { font-variant-numeric: lining-nums; }

@media (max-width: 749px) {
  .checkout-main { padding: 32px 0 48px; }
  .checkout-title { font-size: 48px; }
  .checkout-sub { margin-bottom: 24px; }
  .checkout-main .wc-block-components-sidebar { order: -1; flex-basis: 100%; padding: 24px 20px 18px; }
  .checkout-main .wc-block-components-address-form { grid-template-columns: 1fr; }
  .checkout-main .wc-block-checkout__actions_row { flex-direction: column-reverse; align-items: stretch; }
  .checkout-main .wc-block-components-checkout-place-order-button { min-width: 0; width: 100%; }
}
}

/* UI QA fixes: design/theme-overrides.css */
/* UI QA fixes (wc-qa-loop) — what the mockup can't express. Appended last by mockup_to_blocks.py.
   Most come from the same WooCommerce/WordPress defaults as in v4-duskline (2026-11-23), on this palette. */

/* header search: WordPress gives the icon-only Search button a filled button look; the mockup has a bare icon */
.wsc-header .header-icon .wp-block-search__button { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; margin: 0; padding: 0; border: 0; background: transparent; color: var(--wsc-color-text); }
.wsc-header .header-icon .wp-block-search__button svg { width: 22px; height: 22px; fill: currentColor; }
.wsc-header .header-icon .wp-block-search__inside-wrapper { padding: 0; border: 0; }
/* header tools: a row, like the mockup (the group is a flow layout) */
.wsc-header .header-tools { display: flex; align-items: center; gap: 2px; }
.wsc-header .header-tools > * { margin: 0; }
/* header account: icon-only link to 44 px (block renders a 43 px link) */
.wsc-header .wc-block-customer-account a, .wsc-header .header-icon .wc-block-customer-account__link { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; min-width: 44px; min-height: 44px; padding: 0; }
/* header: Navigation block items without the mockup's 2 px gap */
.wsc-header .main-nav .wp-block-navigation__container { gap: 2px; }

/* product grids on WooCommerce pages (body.woocommerce: single product, shop): WooCommerce's classic CSS adds a
   clearfix ::before that takes the first grid cell, strips the button border and centres the button */
.wsc-page .products .wc-block-product-template::before, .wsc-page .products .wc-block-product-template::after { display: none; content: none; }
.wsc-page .products .wc-block-product-template { margin: 0; }
.wsc-page .products .wc-block-components-product-button { align-items: flex-start; justify-content: flex-start; text-align: left; }
.wsc-page .products .wc-block-components-product-button .wp-block-button__link.wp-block-button__link { margin: 16px 0 0; border: 1px solid var(--wsc-color-text); background: transparent; color: var(--wsc-color-text); }
.wsc-page .products .wc-block-components-product-button .wp-block-button__link.wp-block-button__link:hover { background: var(--wsc-color-text); color: var(--wsc-color-on-dark); }
.wsc-page .products .wp-block-post-title { margin-bottom: 0; }
.wsc-page .products .wc-block-components-product-price { margin-bottom: 0; }
/* honest pricing: the struck-through price already shows the saving — no "Sale" badge on the photo */
.wsc-page .products .wc-block-components-product-sale-badge, .products .wc-block-components-product-sale-badge { display: none; }
/* product card: the block wrappers bring their own margins (image 12 px, price/button 12 px) — on every page */
.products .wc-block-components-product-image { margin: 0; }
.products .wc-block-product > .wp-block-woocommerce-product-price,
.products .wc-block-product > .wp-block-button { margin: 0; }

/* product page: WooCommerce prints up-sells ("You may also like…") inside the description tabs block; the approved
   mockup has no such row there (developer's decision whether to show up-sells — see build-plan) */
.wsc-page .wsc-section-product-about .up-sells, .wsc-page .wsc-section-product-about .related { display: none; }
/* product tabs: WooCommerce's `.woocommerce div.product .woocommerce-tabs .panel` adds 2em under the panel */
.wsc-page .wsc-section-product-about .woocommerce-tabs .woocommerce-Tabs-panel.panel { margin: 0; }

/* MailPoet form (#mailpoet_form_1 = the newsletter form, content/setup-marketing.php) drawn like the mockup:
   email field + button in one row; MailPoet's own rules use the form id, so these do too */
.newsletter-form #mailpoet_form_1 form.mailpoet_form { display: flex; flex-wrap: wrap; gap: 0 10px; margin: 0; padding: 0; }
.newsletter-form #mailpoet_form_1 .mailpoet_paragraph { margin: 0; line-height: 1; }
.newsletter-form #mailpoet_form_1 .mailpoet_paragraph:first-of-type { flex: 1; min-width: 0; }
.newsletter-form #mailpoet_form_1 .mailpoet_text { width: 100%; min-height: 54px; margin: 0; padding: 0 24px; border: 1px solid rgba(30, 37, 64, .3); border-radius: 999px; background: var(--wsc-color-card); color: var(--wsc-color-text); font: 400 16px/1.3 var(--wsc-font-body); }
.newsletter-form #mailpoet_form_1 .mailpoet_submit { min-height: 54px; margin: 0; padding: 0 32px; border: 1px solid var(--wsc-color-accent) !important; border-radius: 999px; background: var(--wsc-color-accent); color: var(--wsc-color-on-dark); font: 600 16px/1 var(--wsc-font-body); cursor: pointer; }
.newsletter-form #mailpoet_form_1 .mailpoet_submit:hover { background: var(--wsc-color-accent-dark); }
.newsletter-form #mailpoet_form_1 .mailpoet_message { flex-basis: 100%; margin: 0; font-size: 0; line-height: 0; } /* no height while its messages are hidden */
.newsletter-form #mailpoet_form_1 .mailpoet_message p { margin: 12px 0 0; font-size: 15px; line-height: 1.4; }
.newsletter-form #mailpoet_form_1 .mailpoet_message:empty, .newsletter-form #mailpoet_form_1 .mailpoet_message p[style*="none"] { display: none; }
.newsletter-form #mailpoet_form_1 .mailpoet_form_loading { display: none; }
@media (max-width: 749px) {
  .newsletter-form #mailpoet_form_1 form.mailpoet_form { flex-direction: column; gap: 10px 0; }
  .newsletter-form #mailpoet_form_1 .mailpoet_message { margin-top: -10px; }
  .newsletter-form #mailpoet_form_1 .mailpoet_submit { width: 100%; }
}

/* Cart / Checkout blocks: button text colour (WooCommerce sets its own colour on the inner span) */
.wsc-cart .wc-block-cart__submit-button .wc-block-components-button__text,
.wsc-checkout .wc-block-components-checkout-place-order-button .wc-block-components-button__text { color: var(--wsc-color-on-dark); }
.wsc-cart .wc-block-cart-item__product .wc-block-components-product-metadata .wc-block-components-product-metadata__description { display: none; }
.wsc-cart .wc-block-components-quantity-selector .wc-block-components-quantity-selector__input { min-width: 44px; }
.wsc-cart .wc-block-cart-item__remove-link { min-width: 44px; justify-content: center; }
.wsc-checkout .wc-block-checkout__terms a { display: inline-block; padding-block: 13px; margin-block: -13px; }
/* Cart block: WooCommerce's own type sizes win over the mockup's (higher specificity) */
.wsc-cart .wc-block-cart .wc-block-cart-items .wc-block-cart-items__row .wc-block-components-product-name { display: inline; padding-block: 10px; font: 500 23px/1.2 var(--wsc-font-heading); color: var(--wsc-color-text); text-decoration: none; font-variant-numeric: lining-nums; }
.wsc-cart .wc-block-cart .wc-block-components-totals-item__label { font-size: var(--wsc-body-size); color: var(--wsc-color-muted); }
.wsc-cart .wc-block-cart .wc-block-components-totals-item__value { font-size: var(--wsc-body-size); font-weight: 600; }
.wsc-cart .wc-block-cart .wc-block-components-panel__button { min-height: 44px; color: var(--wsc-color-accent); font-size: var(--wsc-body-size); font-weight: 600; }
/* Checkout radios: WooCommerce places the input absolutely at the left and pads the label for it; the mockup's
   padding put the text under the radio ("andard shipping") */
.wsc-checkout .checkout-main .wc-block-components-radio-control .wc-block-components-radio-control__option { padding: 12px 16px; }
.wsc-checkout .checkout-main .wc-block-components-radio-control .wc-block-components-radio-control__input { position: relative; top: auto; left: auto; flex: none; transform: none; margin: 0; } /* relative: WooCommerce draws the checked dot with ::before, positioned against the input */
.wsc-checkout .checkout-main .wc-block-components-radio-control .wc-block-components-radio-control__label { font-size: var(--wsc-body-size); font-weight: 500; }
.wsc-checkout .checkout-main .wc-block-components-radio-control__option-layout { flex: 1; min-width: 0; }

/* Cart block cross-sells ("You may be interested in…", content/setup-marketing.php): WooCommerce draws them as a
   centred Product Collection with its own inline sizes and dark buttons (axe: contrast) — cards like the store's */
.wsc-cart [data-collection$="/cross-sells"] { margin-top: 48px; }
.wsc-cart [data-collection$="/cross-sells"] h2.wp-block-heading { margin: 0 0 24px !important; font: 500 30px/1.15 var(--wsc-font-heading); color: var(--wsc-color-text); }
.wsc-cart [data-collection$="/cross-sells"] .wc-block-product-template { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin: 0; padding: 0; list-style: none; }
.wsc-cart [data-collection$="/cross-sells"] .wc-block-product { width: auto; margin: 0; text-align: left; }
.wsc-cart [data-collection$="/cross-sells"] .wc-block-components-product-image { margin: 0; border-radius: var(--wsc-radius); overflow: hidden; background: var(--wsc-color-linen); }
.wsc-cart [data-collection$="/cross-sells"] .wc-block-components-product-image img { width: 100%; aspect-ratio: 4 / 5 !important; object-fit: cover; }
.wsc-cart [data-collection$="/cross-sells"] .wp-block-post-title { margin: 16px 0 0 !important; text-align: left; font: 500 21px/1.2 var(--wsc-font-heading) !important; font-variant-numeric: lining-nums; }
.wsc-cart [data-collection$="/cross-sells"] .wp-block-post-title a { display: inline; padding-block: 11px; text-decoration: none; color: var(--wsc-color-text); }
.wsc-cart [data-collection$="/cross-sells"] .wc-block-components-product-price { margin: 6px 0 0; text-align: left; font-size: 16px; font-weight: 600; }
.wsc-cart [data-collection$="/cross-sells"] .wp-block-button { display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; margin: 0; text-align: left; }
.wsc-cart [data-collection$="/cross-sells"] .wp-block-button__link { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; margin: 14px 0 0; padding: 0 22px; border: 1px solid var(--wsc-color-text); border-radius: var(--wsc-radius-button); background: transparent; color: var(--wsc-color-text); font: 600 15px/1 var(--wsc-font-body); text-decoration: none; }
.wsc-cart [data-collection$="/cross-sells"] .wp-block-button__link span { color: inherit; }
.wsc-cart [data-collection$="/cross-sells"] .wp-block-button__link:hover { background: var(--wsc-color-text); color: var(--wsc-color-on-dark); }
@media (max-width: 749px) {
  .wsc-cart [data-collection$="/cross-sells"] .wc-block-product-template { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 14px; }
}

/* product buy box with Advanced Product Fields: WordPress gives labels a 0.7em bottom margin (radio pills grew
   10 px), the form starts 12 px lower, WooCommerce's quantity field is 60 px */
.wsc-page .product-info .wapf { margin: 0; padding: 0; }
.wsc-page .product-info .wc-block-add-to-cart-form form.cart { margin-top: 6px; padding: 0; }
.wsc-page .product-info .wapf-input-label, .wsc-page .product-info .wapf-field-label label { margin: 0; }
.wsc-page .product-info .wc-block-add-to-cart-form .quantity .qty,
.wsc-page .product-info .wc-block-add-to-cart-form .single_add_to_cart_button { box-sizing: border-box; height: 58px; min-height: 58px; }
/* WooCommerce's clearfix on form.cart is a flex item here: an empty first row plus the 12 px gap */
.wsc-page .product-info .wc-block-add-to-cart-form form.cart::before, .wsc-page .product-info .wc-block-add-to-cart-form form.cart::after { display: none; content: none; }
/* Checkout order summary: WooCommerce's own bordered box inside the mockup's linen card */
.wsc-checkout .wc-block-checkout__sidebar .wp-block-woocommerce-checkout-order-summary-block,
.wsc-checkout .wc-block-checkout__sidebar .wc-block-components-checkout-order-summary__content { border: 0; }
.wsc-checkout .wc-block-checkout__sidebar .wc-block-components-totals-wrapper:empty { display: none; }
