/*
 * Notable block theme. Every value here is a token (theme.json presets, aliased
 * to the --nw-* names the Cloudflare platform uses), so a client variation
 * changes the look without touching this file. Do not add client-specific
 * rules: a need the tokens cannot express is a new shared rule or block.
 *
 * One button system and one hover for every button the site can show,
 * WooCommerce included (docs/WORDPRESS_THEME.md, "Buttons and hovers").
 */
:root {
  --nw-surface: var(--wp--preset--color--surface);
  --nw-bg: var(--wp--preset--color--bg);
  --nw-ink: var(--wp--preset--color--ink);
  --nw-muted: var(--wp--preset--color--muted);
  --nw-line: var(--wp--preset--color--line);
  --nw-accent: var(--wp--preset--color--accent);
  --nw-accent-ink: var(--wp--preset--color--accent-ink);
  /* The accent as text on the page colours: the contrast-checked outline ink (a pale accent such as the base's lime never reads as text). */
  --nw-accent-text: var(--wp--custom--outline-ink, var(--nw-primary));
  --nw-dark: var(--wp--preset--color--dark);
  --nw-dark-ink: var(--wp--preset--color--dark-ink);
  --nw-primary: var(--wp--preset--color--primary);
  --nw-primary-ink: var(--wp--preset--color--primary-ink);
  --nw-font: var(--wp--preset--font-family--body);
  --nw-display-font: var(--wp--preset--font-family--display);
  --nw-display-stretch: var(--wp--custom--display-stretch, normal);
  --nw-max: var(--wp--style--global--wide-size);
  --nw-radius: var(--wp--custom--radius);
  --nw-button-radius: var(--wp--custom--button-radius);
  /* Button colours are variables so a band (dark, accent, cover) restyles its buttons without a specificity fight. */
  --nw-btn-bg: var(--nw-primary);
  --nw-btn-ink: var(--nw-primary-ink);
  --nw-btn2-ink: var(--wp--custom--outline-ink, var(--nw-primary));
  --nw-shadow: 0 14px 34px -18px color-mix(in srgb, var(--nw-ink) 45%, transparent);
  --nw-ease: .18s ease;
  --nw-control-border: var(--nw-muted);
  --wc-form-border-color: var(--nw-control-border);
  --wc-form-border-radius: 8px;
  --wc-form-color-background: var(--nw-surface);
  --wc-form-color-text: var(--nw-ink);
}
/* The display face's width (a client's display font may be an expanded cut) follows it wherever it is used. */
:where(h1, h2, h3, h4, h5, h6, .wp-block-site-title, .wp-block-post-title) { font-stretch: var(--nw-display-stretch); }

html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { max-width: 100%; height: auto; }
.wp-site-blocks { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
.wp-site-blocks > main, .wp-site-blocks > .wp-block-woocommerce-page-content-wrapper { flex: 1 0 auto; }
:where(.wp-site-blocks) > * { margin-block-start: 0; }
.nt-main { padding-block: var(--wp--preset--spacing--60) var(--wp--preset--spacing--70); }
.nt-main:has(> .wp-block-post-content > .nw-section:first-child) { padding-block-start: 0; }
.nt-main:has(> .wp-block-post-content > .nw-section:last-child) { padding-block-end: 0; }
/* A page that opens with a full-width image or cover (Cordee's Coffee's Our Story logo banner, as on its old site) starts
   right under the header, like a page that opens with a section (re-review, 2026-10-29). */
.nt-main:not(:has(> .nt-page-title)):has(> .wp-block-post-content > :is(.wp-block-image, .wp-block-cover).alignfull:first-child) { padding-block-start: 0; }
.nt-page-title { margin-block-end: var(--wp--preset--spacing--50); }
.nt-kicker, .nt-card__kicker { color: var(--nw-muted); text-transform: uppercase; letter-spacing: .12em; font-size: var(--wp--preset--font-size--small); font-weight: 700; }

/* Links: never the browser's blue, one hover everywhere. */
a { color: var(--nw-ink); text-decoration-thickness: 1px; text-underline-offset: .18em; transition: color var(--nw-ease), text-decoration-color var(--nw-ease); }
a:where(:not(.wp-element-button):not(.wp-block-button__link):not(.nw-button)):hover { color: var(--nw-ink); text-decoration-thickness: 2px; }
.has-dark-background-color a:where(:not(.wp-element-button)), .nw-section--dark a:where(:not(.nw-button)) { color: var(--nw-dark-ink); }
/* On dark bands a link keeps its colour (an accent can fail contrast there) and hovers by its underline. */
.has-dark-background-color a:where(:not(.wp-element-button)):hover, .nw-section--dark a:where(:not(.nw-button)):hover { color: var(--nw-dark-ink); text-decoration-line: underline; text-decoration-thickness: 2px; }
/* The shared two-tone focus ring is defined after component rules below. */

/* Header */
.nt-header { position: sticky; top: 0; z-index: 50; background: var(--nw-surface); border-bottom: 1px solid var(--nw-line); padding-block: 14px; }
.admin-bar .nt-header { top: var(--wp-admin--admin-bar--height, 0); }
.nt-header__inner { gap: var(--wp--preset--spacing--40); min-height: 48px; }
.nt-brand { gap: 12px; min-width: 0; }
.nt-brand .wp-block-site-logo img { max-height: 56px; width: auto; }
.nt-brand .wp-block-site-title { margin: 0; font-family: var(--nw-display-font); font-size: var(--wp--preset--font-size--large); font-weight: 800; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nt-brand .wp-block-site-title a { text-decoration: none; }
/* On a phone the logo carries the name; a truncated title beside it only adds noise. */
@media (max-width: 600px) { .nt-brand:has(.wp-block-site-logo img) .wp-block-site-title { display: none; } }
.nt-header__actions { gap: 18px; }
.nt-nav { font-size: var(--wp--preset--font-size--small); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; gap: 22px; }
.nt-nav a { text-decoration: none; padding-block: 6px; border-bottom: 2px solid transparent; transition: border-color var(--nw-ease), color var(--nw-ease); }
.nt-nav a:hover, .nt-nav .current-menu-item > a { color: var(--nw-ink); border-bottom-color: currentColor; }
.nt-nav .wp-block-navigation__responsive-container-open, .nt-nav .wp-block-navigation__responsive-container-close { color: var(--nw-ink); border-radius: 8px; padding: 6px; transition: background var(--nw-ease); }
.nt-nav .wp-block-navigation__responsive-container-open:hover, .nt-nav .wp-block-navigation__responsive-container-close:hover { background: var(--nw-bg); }
/* Core paints the open menu white with black text (.wp-block-navigation:not(.has-background) ... { background-color: #fff }), which
   outranks a plain .nt-nav rule: on a dark site (Xtreme Autosports) the menu opened white and its close icon, in the site's light ink, vanished. */
.nt-nav.wp-block-navigation:not(#nt-specificity) .wp-block-navigation__responsive-container.is-menu-open { padding: var(--wp--preset--spacing--50); background: var(--nw-surface); color: var(--nw-ink); }
.nt-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { gap: 18px; font-size: var(--wp--preset--font-size--large); }
/* Header menu fit (assets/nav-fit.js): a full menu that would wrap onto a second row, or push the header past its
   box, becomes the menu button at that width, as on a phone. Same rules as notable_nav_breakpoint, keyed to a class. */
.nt-nav.nt-nav--collapsed .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none; }
.nt-nav.nt-nav--collapsed .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex; }
.nt-header .wc-block-mini-cart__button, .nt-header .wc-block-customer-account a { color: var(--nw-ink); border-radius: 999px; padding: 8px; transition: background var(--nw-ease), color var(--nw-ease); }
.nt-header .wc-block-mini-cart__button:hover, .nt-header .wc-block-customer-account a:hover { background: var(--nw-bg); color: var(--nw-ink); }
.nt-header .wc-block-mini-cart__badge { background: var(--nw-primary); color: var(--nw-primary-ink); }

/* WooCommerce store notice (Customize > WooCommerce > Store notice): the site's primary colours, not WooCommerce's purple */
:root :is(p.demo_store, .woocommerce-store-notice) { z-index: 40; background: var(--nw-primary); color: var(--nw-primary-ink); font-family: var(--nw-font); font-size: var(--wp--preset--font-size--small); font-weight: 600; box-shadow: none; }
/* Checkout and cart keep the message in flow so it cannot cover native form controls. */
:root body:is(.woocommerce-cart, .woocommerce-checkout) :is(p.demo_store, .woocommerce-store-notice) { position: static; inset: auto; width: auto; margin: 0; }
:root :is(p.demo_store, .woocommerce-store-notice) a { color: var(--nw-primary-ink); text-decoration-line: underline; text-decoration-thickness: 1px; }
:root :is(p.demo_store, .woocommerce-store-notice) a:hover { color: var(--nw-primary-ink); text-decoration-thickness: 2px; }

/* Footer */
.nt-footer { padding-block: var(--wp--preset--spacing--60) var(--wp--preset--spacing--40); margin-block-start: 0; }
.nt-footer__inner { gap: var(--wp--preset--spacing--50); }
.nt-footer .wp-block-site-title { margin: 0 0 6px; font-family: var(--nw-display-font); font-size: var(--wp--preset--font-size--large); font-weight: 800; }
.nt-footer .wp-block-site-title a { text-decoration: none; }
.nt-footer .wp-block-site-title a:hover { text-decoration-line: underline; text-decoration-thickness: 2px; }
/* Footer text keeps the band's full ink: opacity on text lowers its contrast (white on #5F7790 at .8 was 3.6:1). */
.nt-footer .wp-block-site-tagline { max-width: 38ch; }
.nt-footer__nav { gap: 10px; font-weight: 600; }
.nt-footer__content :is(h2, h3, h4, h5, h6) { color: inherit; font-family: var(--nw-font); font-size: var(--wp--preset--font-size--medium); font-weight: 700; letter-spacing: 0; margin-block: 0 .75em; }
.nt-footer__content ul { list-style: none; padding: 0; margin: 0; }
.nt-footer__content .wp-block-column > :first-child + * { margin-block-start: 0; }
.nt-footer__content li { margin-block: 0 8px; }
.nt-footer__content a:where(:not(.wp-element-button)) { text-decoration: none; }
.nt-footer__content a:where(:not(.wp-element-button)):hover { text-decoration-line: underline; text-decoration-thickness: 2px; }
.nt-footer__content .wp-block-columns { gap: var(--wp--preset--spacing--50); margin-block-end: 0; }
.nt-footer__legal { margin-block-start: var(--wp--preset--spacing--50); padding-block-start: var(--wp--preset--spacing--40); border-top: 1px solid color-mix(in srgb, var(--nw-dark-ink) 22%, transparent); }
/* Notable's footer credit (inc/footer-credit.php): its own line under the copyright, underlined. */
.nt-footer__credit { margin-block-start: var(--wp--preset--spacing--20); }
.nt-footer__credit a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

.has-dark-background-color, .nw-section--dark, .nw-hero-section--cover {
  --nw-btn-bg: var(--nw-dark-ink); --nw-btn-ink: var(--nw-dark); --nw-btn2-ink: var(--nw-dark-ink);
}
/* A heading on a core block set to the accent colour keeps the heading colour where it reads at 4.5:1 and takes the
   on-accent colour where it would not (custom heading-on-accent, scripts/generate-wp-theme.mjs). The header and
   footer bands and a nested block with its own background keep their own rules; a heading given its own colour keeps it. */
.has-accent-background-color:not(.nt-header, .nt-footer) :is(h1, h2, h3, h4, h5, h6):not(.has-text-color, .has-background:not(.has-accent-background-color) *) {
  color: var(--wp--custom--heading-on-accent, var(--nw-accent-ink));
}
.nw-section--accent {
  --nw-btn-bg: var(--nw-accent-ink); --nw-btn-ink: var(--nw-accent); --nw-btn2-ink: var(--nw-accent-ink);
}

/* The button system. Primary: brand on its ink. Secondary: outline. */
:root :is(
  .wp-element-button, .wp-block-button__link, .wp-block-search__button, .nw-button,
  .wc-block-components-button:not(.is-link):not(.wc-block-components-button--text),
  .woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit,
  .wc-block-mini-cart__footer-actions .wc-block-components-button,
  .fluentform .ff-btn-submit
) {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: .85em 1.6em;
  border: 1px solid var(--nw-btn-border, var(--nw-btn-bg)); border-radius: var(--nw-button-radius);
  background: var(--nw-btn-bg); color: var(--nw-btn-ink);
  font-family: var(--nw-font); font-size: var(--wp--preset--font-size--medium); font-weight: 700; line-height: 1.2; letter-spacing: 0; text-transform: none;
  text-decoration: none; box-shadow: none; cursor: pointer;
  transition: transform var(--nw-ease), background-color var(--nw-ease), box-shadow var(--nw-ease), color var(--nw-ease);
}
:root :is(
  .wp-element-button, .wp-block-button__link, .wp-block-search__button, .nw-button,
  .wc-block-components-button:not(.is-link):not(.wc-block-components-button--text),
  .woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit,
  .wc-block-mini-cart__footer-actions .wc-block-components-button,
  .fluentform .ff-btn-submit
):is(:hover, :focus-visible):not(:disabled) {
  transform: translateY(-2px); background: var(--nw-btn-bg); border-color: var(--nw-btn-border, var(--nw-btn-bg)); color: var(--nw-btn-ink);
  box-shadow: var(--nw-shadow); text-decoration: none;
}
:root :is(.is-style-outline > .wp-block-button__link, .nw-button--secondary, .wc-block-components-button.outlined, .wc-block-mini-cart__footer-actions .wc-block-mini-cart__footer-cart) {
  --nw-btn-bg: transparent; --nw-btn-ink: var(--nw-btn2-ink); --nw-btn-border: var(--nw-btn2-ink);
}
:root :is(.wp-element-button, .wp-block-button__link, .nw-button, .woocommerce .button):disabled, :root .woocommerce .button.disabled { opacity: .55; transform: none; cursor: not-allowed; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  :root :is(.wp-element-button, .wp-block-button__link, .nw-button, .wc-block-components-button, .woocommerce .button, .nt-card, .wc-block-product) { transition: none; }
  :root :is(.wp-element-button, .wp-block-button__link, .nw-button, .wc-block-components-button, .woocommerce .button, .nt-card, .wc-block-product):hover { transform: none; }
}

/* Forms */
:root { accent-color: var(--nw-primary); }
.wc-block-components-notice-banner.is-info, .wc-block-components-notice-banner.is-success { border-color: var(--nw-line); border-inline-start: 4px solid var(--nw-primary); background: var(--nw-bg); color: var(--nw-ink); }
.wc-block-components-notice-banner.is-info > svg, .wc-block-components-notice-banner.is-success > svg { background: var(--nw-primary); fill: var(--nw-primary-ink); }
.wc-block-components-notice-banner.is-error { border-inline-start-width: 4px; }
:root :is(input[type=text], input[type=email], input[type=tel], input[type=number], input[type=password], input[type=search], input[type=url], textarea, select):not(.wc-block-components-text-input input, .wc-blocks-components-select__select) {
  font: inherit; color: var(--nw-ink); background: var(--nw-surface);
  border: 1px solid var(--nw-control-border); border-radius: 8px; padding: .7em .85em; min-height: 48px;
}
/* The product review form's name and email fields (size="30" plus the padding above) ran 15px past a 390px phone where
   the Reviews tab is the open one: a product with no description or attributes, such as a gift card (0.1.30 suite). */
#review_form :is(input[type=text], input[type=email]) { box-sizing: border-box; max-width: 100%; }

.nt-search { max-width: 560px; margin-block: var(--wp--preset--spacing--40); }
/* The 404 page's search starts at the text's left edge: the constrained layout centred its 560px box in the text
   column, about 100px in from the words and button around it (Cordee's Coffee re-review, 2026-10-29). */
.nt-main--404 > .nt-search { max-width: var(--wp--style--global--content-size); }
.nt-main--404 > .nt-search .wp-block-search__inside-wrapper { max-width: 560px; }
.wp-block-search__inside-wrapper { gap: 8px; }

/* Cards: posts and products lift and gain a shadow. */
.nt-card, .nt-products .wc-block-product {
  position: relative; display: flex; flex-direction: column; gap: 10px;
  padding: 0 0 var(--wp--preset--spacing--30); background: var(--nw-surface);
  border: 1px solid var(--nw-line); border-radius: var(--nw-radius); overflow: hidden;
  transition: transform var(--nw-ease), box-shadow var(--nw-ease), border-color var(--nw-ease);
}
/* The lift is a pointer hover only: on a phone a tapped card kept its hover state after the tap. */
@media (hover: hover) { .nt-card:hover, .nt-products .wc-block-product:hover { transform: translateY(-4px); box-shadow: var(--nw-shadow); border-color: color-mix(in srgb, var(--nw-primary) 40%, var(--nw-line)); } }
.nt-card > :not(.wp-block-post-featured-image), .nt-products .wc-block-product > :not(.wc-block-components-product-image) { margin-inline: var(--wp--preset--spacing--40); }
.nt-card .wp-block-post-featured-image, .nt-card .wp-block-post-featured-image img { margin: 0; border-radius: 0; }
.nt-card .wp-block-post-title, .nt-products .wp-block-post-title { margin-block: 0; line-height: 1.25; }
.nt-card .wp-block-post-title a, .nt-products .wp-block-post-title a { text-decoration: none; }
.nt-card .wp-block-post-excerpt { color: var(--nw-muted); margin-block: 0; }
.nt-card .wp-block-post-excerpt__more-link { font-weight: 700; }
/* The gap must equal the one WordPress uses to work out a responsive grid's columns (the block gap, spacing 40), or a 3-column grid fits only 2 (0.1.21). */
.nt-post-grid .wp-block-post-template { gap: var(--wp--preset--spacing--40); }
.nt-post-grid .wp-block-post-template > li > .nt-card { height: 100%; }
.nt-card > :first-child:not(.wp-block-post-featured-image) { margin-block-start: var(--wp--preset--spacing--40); }

/* Store: product grid */
.nt-products .wc-block-components-product-image { margin: 0 0 6px; }
.nt-products .wc-block-components-product-image img { aspect-ratio: 1; object-fit: cover; border-radius: 0; }
.nt-products .wc-block-components-product-price { color: var(--nw-ink); font-weight: 700; margin-block: 0; }
.nt-products .wc-block-components-product-button { margin-block: auto 0; }
.nt-products .wc-block-components-product-button .wp-block-button__link { width: 100%; }
.wc-block-components-product-sale-badge, :root .woocommerce span.onsale { min-height: 0; min-width: 0; line-height: 1.4; background: var(--nw-accent); color: var(--nw-accent-ink); border: 0; border-radius: 999px; font-weight: 700; font-size: var(--wp--preset--font-size--small); text-transform: none; padding: 4px 12px; }
.nt-products .wc-block-components-product-sale-badge { margin: 10px; }
:root .woocommerce span.onsale { top: 12px; inset-inline-start: 12px; inset-inline-end: auto; margin: 0; z-index: 2; }
.woocommerce div.product form.cart div.quantity { margin: 0; }
:root :is(.woocommerce .related > h2, .woocommerce .upsells > h2, .wp-block-woocommerce-related-products h2) { font-size: var(--wp--preset--font-size--x-large); }
.wc-block-components-product-price del { color: var(--nw-muted); font-weight: 400; }
.wc-block-components-product-price ins { text-decoration: none; }
.woocommerce-breadcrumb, .wc-block-breadcrumbs { color: var(--nw-muted); font-size: var(--wp--preset--font-size--small); }
.wc-block-product-results-count, .woocommerce-result-count { color: var(--nw-muted); margin: 0; }
.wp-block-query-pagination { gap: 8px; margin-block-start: var(--wp--preset--spacing--50); }
.wp-block-query-pagination a, .wp-block-query-pagination .page-numbers { display: inline-flex; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; border: 1px solid var(--nw-line); border-radius: 999px; text-decoration: none; padding: 0 12px; }
.wp-block-query-pagination a:hover { border-color: var(--nw-ink); color: var(--nw-ink); }
.wp-block-query-pagination .page-numbers.current { background: var(--nw-ink); color: var(--nw-surface); border-color: var(--nw-ink); }

/* Store: featured products (inc/store.php). A badge with a tick on the image, a primary band on the card. */
.nt-featured-badge { display: inline-flex; align-items: center; gap: 6px; padding-block: 4px; padding-inline: 10px 12px; border-radius: 999px; background: var(--nw-primary); color: var(--nw-primary-ink); font-family: var(--nw-font); font-size: var(--wp--preset--font-size--small); font-weight: 700; line-height: 1.4; letter-spacing: .02em; }
.nt-featured-badge::before { content: ""; width: .5em; height: .85em; margin-block-start: -.15em; border: solid currentColor; border-width: 0 .17em .17em 0; transform: rotate(45deg); }
.wc-block-components-product-image:has(> .nt-featured-badge) { position: relative; }
.wc-block-components-product-image > .nt-featured-badge { position: absolute; top: 10px; inset-inline-start: 10px; z-index: 2; }
.nt-products .wc-block-product:has(.nt-featured-badge) { border-color: var(--nw-primary); box-shadow: inset 0 4px 0 var(--nw-primary); }
.nt-featured-flag { margin: 0 0 10px; }

/* Store: quick buy (inc/store.php) */
.nt-quick-buy { display: grid; gap: 8px; margin-block: auto 0; }
.nt-quick-buy__label { color: var(--nw-muted); font-size: var(--wp--preset--font-size--small); font-weight: 700; }
.nt-quick-buy__select { width: 100%; min-height: 44px; padding: 8px 12px; border: 1px solid var(--nw-control-border); border-radius: 8px; background: var(--nw-surface); color: var(--nw-ink); font: inherit; font-size: var(--wp--preset--font-size--small); }
.nt-quick-buy__add { width: 100%; font-size: var(--wp--preset--font-size--small); }
.nt-quick-buy__add[disabled] { opacity: .7; cursor: progress; }
.nt-quick-buy__status { min-height: 1.4em; color: var(--nw-muted); font-size: var(--wp--preset--font-size--small); }
.nt-quick-buy.is-added .nt-quick-buy__status { color: var(--nw-ink); font-weight: 700; }
.nt-quick-buy.is-failed .nt-quick-buy__status { color: var(--nw-ink); }
.nt-quick-buy__more { align-self: center; font-size: var(--wp--preset--font-size--small); font-weight: 700; }
.nt-products .wc-block-product:has(.nt-quick-buy__more) { padding-block-end: var(--wp--preset--spacing--30); }

/* Store: product page notes (inc/store.php) */
.nt-standard-note { margin-block: 0 var(--wp--preset--spacing--40); padding-inline-start: 12px; border-inline-start: 3px solid var(--nw-line); color: var(--nw-muted); font-size: var(--wp--preset--font-size--small); }
.nt-guarantee { margin: 0 0 var(--wp--preset--spacing--40); max-width: 420px; }
.nt-guarantee img { display: block; width: 100%; height: auto; }

/* Store: single product */
.single-product .nt-main > .wp-block-columns { gap: var(--wp--preset--spacing--60); }
.woocommerce-product-gallery__image img, .wc-block-product-image-gallery img { border-radius: var(--nw-radius); }
.single-product .wp-block-post-title { font-size: var(--wp--preset--font-size--xx-large); margin-block: 0 12px; }
.single-product .wc-block-components-product-price, .single-product .price { color: var(--nw-ink); font-weight: 700; }
.woocommerce div.product form.cart, .wc-block-add-to-cart-form form.cart { display: flex; flex-wrap: wrap; gap: 12px; align-items: stretch; margin-block: var(--wp--preset--spacing--40); }
.woocommerce .quantity .qty { width: 5em; min-height: 48px; text-align: center; }
.woocommerce div.product form.cart .variations { margin-block-end: 12px; border: 0; }
.woocommerce div.product form.cart .variations td, .woocommerce div.product form.cart .variations th { padding-block: 6px; padding-inline: 0 12px; border: 0; }
.woocommerce div.product form.cart .reset_variations { font-size: var(--wp--preset--font-size--small); }
.woocommerce div.product .stock { color: var(--nw-muted); }
.woocommerce div.product .out-of-stock { color: var(--nw-ink); font-weight: 700; }
.wp-block-woocommerce-product-meta { color: var(--nw-muted); font-size: var(--wp--preset--font-size--small); }
.wp-block-woocommerce-product-meta .wp-block-group { flex-wrap: wrap; gap: 6px 18px; }
.nt-product-details { margin-block-start: var(--wp--preset--spacing--60); }
.woocommerce-Tabs-panel > h2:first-child, .wp-block-woocommerce-product-details h2 { font-size: var(--wp--preset--font-size--large); }
.woocommerce div.product .woocommerce-tabs ul.tabs li { border-inline-start: 0 !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs { padding: 0; margin: 0 0 18px; border-bottom: 1px solid var(--nw-line); display: flex; flex-wrap: wrap; gap: 4px; }
.woocommerce div.product .woocommerce-tabs ul.tabs::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { background: transparent; border: 0; border-radius: 0; margin: 0; padding: 0; }
/* WooCommerce draws the quantity buttons at 60% opacity: black on Zander's orange fell to 4.39:1. Enabled buttons draw at full strength; a disabled one keeps WooCommerce's fade. */
:root .wc-block-components-quantity-selector .wc-block-components-quantity-selector__button:not(:disabled) { opacity: 1; }
/* Inactive tabs keep full opacity (faded they fell to 4.27:1); the active tab is marked by its ink colour and underline. */
:root .woocommerce div.product .woocommerce-tabs ul.tabs, :root .woocommerce div.product .woocommerce-tabs ul.tabs li, :root .woocommerce div.product .woocommerce-tabs ul.tabs li a { opacity: 1; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { display: block; padding: 10px 16px; font-weight: 700; color: var(--nw-muted); text-decoration: none; border-bottom: 2px solid transparent; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a:hover { color: var(--nw-ink); border-bottom-color: currentColor; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--nw-ink); border-bottom-color: var(--nw-ink); }
.wp-block-woocommerce-related-products, .woocommerce .related, .woocommerce .upsells { margin-block-start: var(--wp--preset--spacing--60); }
.wc-block-components-notice-banner, .woocommerce-message, .woocommerce-info, .woocommerce-error { border-radius: 12px; border: 1px solid var(--nw-line); background: var(--nw-bg); color: var(--nw-ink); }
.woocommerce-message::before, .woocommerce-info::before { color: var(--nw-ink); }
.woocommerce-message, .woocommerce-info { border-top: 3px solid var(--nw-primary); }
.woocommerce-message .button, .woocommerce-info .button { float: inline-end; }
/* WooCommerce hard-codes the notice's "View cart" link grey with !important; it is a link here, in the link colours. */
.wc-block-components-notice-banner > .wc-block-components-notice-banner__content .wc-forward { color: var(--nw-ink) !important; opacity: 1; text-decoration-thickness: 1px; }
.wc-block-components-notice-banner > .wc-block-components-notice-banner__content .wc-forward:is(:hover, :focus-visible) { color: var(--nw-ink) !important; text-decoration-line: underline; text-decoration-thickness: 2px; }

/* Store: cart and checkout, block and classic */
.wc-block-cart, .wc-block-checkout { font-size: var(--wp--preset--font-size--medium); }
/* WooCommerce's password visibility control needs its own touch target beside the field. */
.woocommerce .password-input .show-password-input { min-width: 32px; min-height: 32px; top: 50%; inset-inline-end: 4px; transform: translateY(-50%); padding: 4px; }
.woocommerce .password-input input[type="password"], .woocommerce .password-input input[type="text"] { padding-inline-end: 44px; }
.wc-block-components-sidebar-layout .wc-block-components-sidebar { background: var(--nw-bg); border-radius: var(--nw-radius); padding: var(--wp--preset--spacing--40); }
/* Below a desktop width the order summary stacks under the form instead of being squeezed beside it. */
@media (max-width: 1023px) {
  .wc-block-components-sidebar-layout { flex-direction: column; }
  .wc-block-components-sidebar-layout > .wc-block-components-main, .wc-block-components-sidebar-layout > .wc-block-components-sidebar { width: 100%; padding-inline: 0; }
  .wc-block-components-sidebar-layout > .wc-block-components-sidebar { padding: var(--wp--preset--spacing--40); margin-block-start: var(--wp--preset--spacing--40); }
}
.wc-block-components-totals-wrapper, .wc-block-cart-items, .wc-block-cart-items td, .wc-block-cart-items th { border-color: var(--nw-line); }
.wc-block-components-product-name { color: var(--nw-ink); font-weight: 700; text-decoration: none; }
.wc-block-components-product-name:hover { color: var(--nw-ink); text-decoration: underline; }
.wc-block-cart-item__remove-link, .wc-block-components-totals-coupon-link, .wc-block-components-checkout-return-to-cart-button, .wc-block-components-button.is-link { color: var(--nw-ink); text-decoration: underline; text-underline-offset: .18em; }
.wc-block-cart-item__remove-link:hover, .wc-block-components-totals-coupon-link:hover, .wc-block-components-checkout-return-to-cart-button:hover, .wc-block-components-button.is-link:hover { color: var(--nw-ink); text-decoration-thickness: 2px; }
:root .wc-block-components-form .wc-block-components-text-input input:is([type=email], [type=number], [type=password], [type=tel], [type=text], [type=url]),
:root .wc-block-components-text-input input:is([type=email], [type=number], [type=password], [type=tel], [type=text], [type=url]),
:root .wc-block-components-combobox .wc-block-components-combobox-control input, :root .wc-blocks-components-select .wc-blocks-components-select__select, :root .wc-block-components-textarea {
  border: 1px solid var(--nw-control-border); border-radius: 8px; background: var(--nw-surface); color: var(--nw-ink);
}
/* The selected value sits 2px lower under its floating label: with Zen's Tea's font the label's descenders and the
   value's ascenders overlapped by 0.1px at every size (theme suite, red on main 2026-10-28). */
:root .wc-blocks-components-select .wc-blocks-components-select__select { padding-top: calc(1em + 2px); }
/* WooCommerce paints the select box and unchecked radios and checkboxes white; on a dark surface that hid the Country/Region label (1.1:1). */
:root .wc-blocks-components-select .wc-blocks-components-select__container { background: var(--nw-surface); }
:root .wc-blocks-components-select .wc-blocks-components-select__label { color: var(--nw-muted); }
:root .wc-blocks-components-select .wc-blocks-components-select__expand { fill: var(--nw-ink); }
/* WooCommerce's currentColor badge uses its base-color variable for the count. */
:root .wc-block-components-order-summary-item__quantity { --wp--preset--color--base: var(--nw-surface); }
:root .wc-block-components-radio-control .wc-block-components-radio-control__input, :root .wc-block-components-checkbox .wc-block-components-checkbox__input[type=checkbox] { background-color: var(--nw-surface); border-color: var(--nw-muted); }
.wc-block-components-radio-control__option, .wc-block-components-radio-control-accordion-option { border-color: var(--nw-line); }
:root :is(.wc-block-components-radio-control__option--checked-option-highlighted, .wc-block-components-radio-control-accordion-option--checked-option-highlighted, .wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control__option--checked-option-highlighted) { box-shadow: inset 0 0 0 2px var(--nw-primary); border-radius: 8px; }
.wc-block-components-radio-control .wc-block-components-radio-control__input:checked { border-color: var(--nw-control-border); }
.wc-block-components-radio-control .wc-block-components-radio-control__input:checked::before { background: var(--nw-ink); }
.wc-block-components-checkbox .wc-block-components-checkbox__input[type=checkbox]:checked { background: var(--nw-primary); border-color: var(--nw-control-border); }
.wc-block-components-checkbox .wc-block-components-checkbox__mark { fill: var(--nw-primary-ink); }
/* One heading voice across block and classic cart and checkout. */
:root :is(.wc-block-cart__totals-title, .wc-block-components-checkout-step__title, .woocommerce .cart_totals > h2, .woocommerce-billing-fields > h3, .woocommerce-shipping-fields h3, #order_review_heading, .woocommerce-additional-fields > h3, .wc-block-components-title.wc-block-components-title) {
  font-family: var(--nw-display-font); font-stretch: var(--nw-display-stretch); font-size: var(--wp--preset--font-size--large); font-weight: 700; text-transform: none; letter-spacing: 0; color: var(--nw-ink);
}
/* WooCommerce's block-theme stylesheet sets `.woocommerce-page table.shop_table { width: 70% }`, which left the classic
   checkout's order table at two thirds of its panel (Sweedee Sweets review, 2026-10-28). */
:root .woocommerce-page table.shop_table.woocommerce-checkout-review-order-table { width: 100%; }
.woocommerce table.cart td.actions .coupon { display: flex; flex-wrap: wrap; gap: 8px; align-items: stretch; }
.woocommerce table.cart td.actions .coupon .input-text { width: auto; flex: 1 1 10em; min-height: 48px; margin: 0; border-color: var(--nw-control-border); }
.woocommerce table.cart td.actions .coupon .button { flex: 0 0 auto; }
.woocommerce table.cart td.actions > .button { float: inline-end; }
/* Classic cart on phones and tablets: WooCommerce's small-screen sheet sizes the coupon field and button at 48% (the button
   wrapped onto two lines), its clearfix pseudo-elements became flex items (the field sat 8px in from the buttons), and the
   floated Update cart button ran 35px out of its cell (Cordee's Coffee, 2026-10-28). */
@media (max-width: 768px) {
	.woocommerce table.cart td.actions .coupon { float: none; width: 100%; padding-bottom: 0; }
	.woocommerce table.cart td.actions .coupon::before, .woocommerce table.cart td.actions .coupon::after { content: none; }
	.woocommerce table.cart td.actions .coupon .input-text { width: auto; margin: 0; }
	.woocommerce table.cart td.actions .coupon .button { flex: 1 0 auto; width: auto; white-space: nowrap; }
	.woocommerce table.cart td.actions > .button { float: none; display: block; width: 100%; margin-top: 8px; }
}
/* The classic cart's coupon field on a phone keeps room for its own placeholder. A site's own rules can fix the row to one
   line (Zen's staging polish plugin sets `flex-wrap: nowrap` and a 0 basis with `!important` under 600px), which left the
   field 71px wide beside a 167px Apply button at 320px and cut "Coupon code" to "Coup" (2026-11-11). The field never shrinks
   below its placeholder (9.5em); when it and the button no longer fit one line the button drops under it. `#coupon_code`
   carries the id that beats the site's own `#coupon_code` rule; `min-width` is not `!important` there. */
@media (max-width: 599px) {
  :root .woocommerce table.cart td.actions .coupon { flex-wrap: wrap; }
  :root .woocommerce table.cart td.actions .coupon #coupon_code { min-width: 9.5em; }
  :root .woocommerce table.cart td.actions .coupon .button { flex-grow: 1; }
}
.wc-block-components-checkout-place-order-button, .wc-block-cart__submit-button { width: 100%; }
.wc-block-components-quantity-selector { border-radius: 8px; border-color: var(--nw-control-border); }
.woocommerce table.shop_table { border: 1px solid var(--nw-line); border-radius: var(--nw-radius); border-collapse: separate; overflow: hidden; }
.woocommerce table.shop_table th, .woocommerce table.shop_table td { border-color: var(--nw-line); padding: 14px 16px; }
.woocommerce table.shop_table thead th { background: var(--nw-bg); }
.woocommerce a.remove { color: var(--nw-muted) !important; border: 1px solid var(--nw-line); }
.woocommerce a.remove:hover { background: var(--nw-primary); color: var(--nw-primary-ink) !important; border-color: var(--nw-primary); }
*, *::before, *::after { box-sizing: border-box; }
.woocommerce .cart-collaterals .cart_totals, .woocommerce-checkout-review-order { background: var(--nw-bg); border-radius: var(--nw-radius); padding: var(--wp--preset--spacing--40); }
/* Native Select2 uses a black SVG background even on a dark surface; keep its existing element and handlers. */
:root .woocommerce .select2-container .select2-selection--single .select2-selection__arrow b { background: none; border: solid currentColor; border-width: 0 2px 2px 0; width: 8px; height: 8px; left: 3px; margin: 0; transform: translateY(-50%) rotate(45deg); }
:root .woocommerce .select2-container--open .select2-selection--single .select2-selection__arrow b { transform: translateY(-50%) rotate(225deg); }
.woocommerce form :is(input, textarea)::placeholder { color: var(--nw-muted); opacity: 1; }
.woocommerce form .form-row .required { color: var(--nw-ink); }
.woocommerce form .form-row label { font-weight: 600; }
.woocommerce form .form-row .input-text, .woocommerce form .form-row select { width: 100%; }
.woocommerce-checkout #payment { background: var(--nw-surface); border: 1px solid var(--nw-line); border-radius: 12px; }
.woocommerce-checkout #payment div.payment_box { background: var(--nw-bg); color: var(--nw-ink); }
.woocommerce-checkout #payment div.payment_box::before { border-bottom-color: var(--nw-bg); }
.woocommerce #place_order { width: 100%; }
.woocommerce .col2-set { display: grid; grid-template-columns: 1fr 1fr; gap: var(--wp--preset--spacing--50); }
.woocommerce .col2-set::before, .woocommerce .col2-set::after { display: none; }
.woocommerce .col2-set .col-1, .woocommerce .col2-set .col-2 { width: auto; float: none; }
.woocommerce form.checkout_coupon, .woocommerce form.login, .woocommerce form.register { border: 1px solid var(--nw-line); border-radius: var(--nw-radius); padding: var(--wp--preset--spacing--40); }
/* The same 300px security widget inside the boxed login and register forms: below 360px the page gutter narrows
   and the box drops its side padding and border, so the widget fits (Holy Grail's My Account, 2026-10-28). */
@media (max-width: 359px) {
  .nt-main:has(.woocommerce :is(form.login, form.register) .cf-turnstile) { --wp--style--root--padding-left: 10px; --wp--style--root--padding-right: 10px; padding-left: 10px; padding-right: 10px; }
  .woocommerce :is(form.login, form.register):has(.cf-turnstile) { padding-left: 0; padding-right: 0; border-left: 0; border-right: 0; border-radius: 0; }
}

/* Store: My Account */
.woocommerce-account .woocommerce::before, .woocommerce-account .woocommerce::after { display: none; }
.woocommerce-account .woocommerce { display: grid; grid-template-columns: minmax(180px, 240px) minmax(0, 1fr); gap: var(--wp--preset--spacing--50); }
.woocommerce-account .woocommerce > :not(.woocommerce-MyAccount-navigation):not(.woocommerce-MyAccount-content) { grid-column: 1 / -1; }
.woocommerce-account:not(.logged-in) .woocommerce { grid-template-columns: 1fr; }
.woocommerce-account .woocommerce-MyAccount-navigation, .woocommerce-account .woocommerce-MyAccount-content { width: auto; float: none; }
.woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 0; border: 1px solid var(--nw-line); border-radius: var(--nw-radius); overflow: hidden; }
.woocommerce-MyAccount-navigation li + li { border-top: 1px solid var(--nw-line); }
.woocommerce-MyAccount-navigation a { display: block; padding: 12px 16px; text-decoration: none; font-weight: 600; transition: background var(--nw-ease), color var(--nw-ease); }
.woocommerce-MyAccount-navigation a:hover { background: var(--nw-bg); color: var(--nw-ink); }
.woocommerce-MyAccount-navigation .is-active a { background: var(--nw-primary); color: var(--nw-primary-ink); text-decoration: none; }
/* WooCommerce's block-theme sheet pads each item (.woocommerce-account .woocommerce-MyAccount-navigation li, 1em 0);
   the link carries the padding here, so the item's own is removed with a selector that outranks it. */
.woocommerce-account .woocommerce-MyAccount-navigation ul li, .woocommerce-MyAccount-navigation li { margin: 0; padding: 0; }
.woocommerce-MyAccount-navigation li::before, .woocommerce-MyAccount-navigation li::after { display: none; }

/* Post content */
.wp-block-post-content > * + * { margin-block-start: var(--wp--preset--spacing--40); }
.wp-block-quote { border-inline-start: 4px solid var(--nw-accent); padding-inline-start: var(--wp--preset--spacing--40); }
.wp-block-post-featured-image img { border-radius: var(--nw-radius); }
.nt-entry-header { margin-block-end: var(--wp--preset--spacing--50); }
.nt-post-nav { margin-block-start: var(--wp--preset--spacing--50); }

@media (max-width: 781px) {
  .nt-header { padding-block: 10px; }
  .nt-brand .wp-block-site-title { font-size: var(--wp--preset--font-size--medium); }
  .woocommerce-account .woocommerce, .woocommerce .col2-set { grid-template-columns: 1fr; }
  .woocommerce-message .button, .woocommerce-info .button { float: none; display: flex; margin-block-end: 10px; }
  .woocommerce table.shop_table_responsive tr td::before { font-weight: 700; }
}

/* Header phone link and search (notable_header_phone, notable_header_search). */
.nt-header__phone { margin: 0; white-space: nowrap; font-size: var(--wp--preset--font-size--small); font-weight: 700; }
.nt-header__phone a { color: inherit; text-decoration: none; }
.nt-header__phone a:hover, .nt-header__phone a:focus-visible { color: var(--nw-ink); text-decoration: underline; }
/* The button system's selector list carries WooCommerce's #respond input#submit, and :is() takes its strongest
   argument's specificity (two ids), so the quiet search icon needs the same weight: the id pair never matches. */
:root .nt-header.nt-header :is(.nt-header__search, #nt-specificity#nt-specificity) .wp-block-search__button { box-sizing: border-box; min-width: 44px; min-height: 44px; margin: 0; padding: 10px; border: 0; border-radius: 999px; background: transparent; color: var(--nw-ink); box-shadow: none; transform: none; }
:root .nt-header.nt-header :is(.nt-header__search, #nt-specificity#nt-specificity) .wp-block-search__button:is(:hover, :focus-visible) { background: var(--nw-bg); color: var(--nw-ink); transform: none; }
/* A submenu's arrow button visibly answers the pointer, like every other link in the header (0.1.21). */
.nt-header .wp-block-navigation-submenu__toggle { border-radius: 4px; transition: background-color var(--nw-ease); }
.nt-header .wp-block-navigation-submenu__toggle:is(:hover, :focus-visible) { background: color-mix(in srgb, currentColor 16%, transparent); }
/* On a toned header band (notable_header_tone) the icon takes the band's ink, like the menu beside it (0.1.21). */
:root .nt-header.nt-header.has-background :is(.nt-header__search, #nt-specificity#nt-specificity) .wp-block-search__button { color: inherit; }
:root .nt-header.nt-header.has-background :is(.nt-header__search, #nt-specificity#nt-specificity) .wp-block-search__button:is(:hover, :focus-visible) { background: color-mix(in srgb, currentColor 16%, transparent); color: inherit; }
.nt-header__search .wp-block-search__button svg { width: 24px; height: 24px; fill: currentColor; }
/* The search never gives up its width to its neighbours: Zander Kru's phone header (a 200px logo, the cart, the menu button and a badge) squeezed the search block to 12px with the 44px icon spilling under the cart, so nothing of it could be tapped. The logo's title is what yields. */
.nt-header__actions > .nt-header__search { flex: 0 0 auto; }
/* Keyboard focus on the search icon is a drawn ring, not only the hover tint (header search check, 2026-11-10). */
:root .nt-header.nt-header :is(.nt-header__search, #nt-specificity#nt-specificity) .wp-block-search__button:focus-visible { outline: 3px solid var(--nw-primary); outline-offset: 2px; }
@media (max-width: 600px) { .nt-header__phone { display: none; } }
/* Header words and search field (notable_header_account_label, notable_header_cart_label, notable_header_search = field):
   the live site's "Login" and "Cart" beside the icons and a visible search box. Phones keep the icons only. */
.nt-header__account-label, .nt-header__cart-label { margin: 0; white-space: nowrap; font-size: var(--wp--preset--font-size--small); font-weight: 600; }
.nt-header__account-label a, .nt-header__cart-label a { display: inline-flex; align-items: center; gap: 6px; min-height: 24px; color: var(--nw-ink); text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 2px; text-underline-offset: 4px; transition: color var(--nw-ease), text-decoration-color var(--nw-ease); }
.nt-header__account-label a:is(:hover, :focus-visible), .nt-header__cart-label a:is(:hover, :focus-visible) { color: var(--nw-ink); text-decoration-color: currentColor; }
.nt-header__account-label svg { flex: none; fill: currentColor; }
.nt-header .nt-header__account--phone { display: none; }
.nt-header__search--field .wp-block-search__inside-wrapper { align-items: center; padding-block: 0; padding-inline: 14px 2px; border: 1px solid var(--nw-control-border); border-radius: 999px; background: var(--nw-surface); }
.nt-header__search--field .wp-block-search__input { width: 150px; min-height: 44px; padding: 0; border: 0; background: transparent; color: var(--nw-ink); font-size: var(--wp--preset--font-size--small); }
.nt-header__search--field .wp-block-search__input::placeholder { color: var(--nw-muted); opacity: 1; }
.nt-header__search--field .wp-block-search__inside-wrapper:focus-within { border-color: var(--nw-primary); }
:root .nt-header.nt-header :is(.nt-header__search--field, #nt-specificity#nt-specificity) .wp-block-search__button { padding: 12px; }
.nt-header__search--field .wp-block-search__button svg { width: 20px; height: 20px; }
@media (max-width: 600px) {
  .nt-header__account-label, .nt-header__cart-label { display: none; }
  .nt-header .nt-header__account--phone { display: block; }
  /* Phones keep the search field as a full-width row under the logo row. It used to be hidden here with nothing in
     its place, so a phone had no search at all (Holy Grail, 2026-10-23: a client could not find a wine from her
     phone). The row's wrapper makes the room; the field sits at its foot, so the logo row stays centred above it. */
  .nt-header:has(.nt-header__search--field) :is(.nt-header__top, .nt-header__inner) { position: relative; padding-bottom: 66px; }
  :root .nt-header .nt-header__search--field { position: absolute; inset-inline: 0; bottom: 10px; margin: 0; }
  .nt-header .nt-header__search--field .wp-block-search__inside-wrapper { width: 100%; }
  :root .nt-header .nt-header__search--field .wp-block-search__input { flex: 1 1 auto; width: 100%; min-height: 44px; font-size: 16px; }
}
/* Centred header (notable_header_layout = centered): phone left, logo centre, tools right, the menu on its own row. */
.nt-header--centered .nt-header__top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: var(--wp--preset--spacing--40); }
.nt-header--centered .nt-header__top > * { margin: 0; }
.nt-header--centered .nt-brand { justify-content: center; }
.nt-header--centered .nt-header__actions { justify-content: flex-end; }
.nt-header--centered > .nt-nav { margin-block-start: 10px; }
.nt-header--centered .nt-nav .wp-block-navigation__container { justify-content: center; }
@media (max-width: 600px) {
  .nt-header--centered .nt-header__top { grid-template-columns: 1fr auto 1fr; }
}
/* Below 600px only, where core Navigation shows the menu button: at exactly 600 core shows the full menu, which this
   rule laid over the logo (Xtreme Autosports and Holy Grail in the QA suite's header-collision check, 0.1.22). */
@media (max-width: 599.98px) {
  /* Centred by stretching the box and flex, never by a transform: a transform, filter, perspective, contain or
     will-change on any ancestor of the menu makes it the containing block of WordPress's position: fixed overlay,
     which then opens inside this 48px box instead of covering the screen (Wine Education Council, 2026-10-14). */
  .nt-header--centered > .nt-nav { position: absolute; inset-block: 0; inset-inline-start: var(--wp--preset--spacing--50); display: flex; align-items: center; margin: 0; }
  /* With the phone search row below the logo row, the menu button centres on the logo row, not the whole header. */
  .nt-header--centered:has(.nt-header__search--field) > .nt-nav { inset-block-end: 66px; }
}
/* Shop filter sidebar (notable_shop_filters = on): native search and category links stay inline on phones. */
.nt-shop { display: grid; grid-template-columns: minmax(200px, 260px) minmax(0, 1fr); gap: var(--wp--preset--spacing--50); align-items: start; }
.nt-shop__filters { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--wp--preset--spacing--40); min-width: 0; position: sticky; top: calc(var(--wp-admin--admin-bar--height, 0px) + 110px); }
.nt-shop__filters fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.nt-shop__search .wp-block-search__inside-wrapper { padding: 4px; border: 1px solid var(--nw-control-border); border-radius: var(--nw-radius); background: var(--nw-surface); }
.nt-shop__filters-title { margin: 0 0 12px; font-size: var(--wp--preset--font-size--large); }
.nt-shop__filters .wc-block-product-categories a { display: inline-block; min-height: 24px; color: var(--nw-ink); text-decoration: underline; text-underline-offset: .18em; font-size: var(--wp--preset--font-size--small); }
.nt-shop__search .wp-block-search__input { min-width: 0; min-height: 44px; border: 0; background: transparent; color: var(--nw-ink); }
@media (max-width: 781px) {
  .nt-shop { grid-template-columns: 1fr; }
  .nt-shop__filters { position: static; }
}

/* Page title above a section-led page (Contact Us): the section-first rule above drops the top padding, which jammed
   the title against the header. A title keeps its space. */
.nt-main:has(> .nt-page-title):has(> .wp-block-post-content > .nw-section:first-child) { padding-block-start: var(--wp--preset--spacing--60); }

/* The open menu (phone, and tablet when notable_nav_breakpoint is set): left-aligned, sub-items under their parent
   at a normal size, nothing right-aligned or indented into a wrapping column. */
:root .nt-nav .wp-block-navigation__responsive-container.is-menu-open { --navigation-layout-justification-setting: flex-start; --navigation-layout-align: flex-start; text-align: start; }
:root .nt-nav .is-menu-open :is(.wp-block-navigation__responsive-container-content, .wp-block-navigation__container, .wp-block-navigation-item, .wp-block-navigation__submenu-container) { align-items: flex-start; justify-content: flex-start; text-align: start; }
.nt-nav .is-menu-open :is(.wp-block-navigation__responsive-container-content, .wp-block-navigation__container) { width: 100%; }
.nt-nav .is-menu-open .wp-block-navigation__submenu-container { width: 100%; min-width: 0; padding-block: 4px 0; padding-inline: 16px 0; gap: 12px; font-size: var(--wp--preset--font-size--medium); }
.nt-nav .is-menu-open .wp-block-navigation-item__content { white-space: normal; }

/* Store notice as a bar above the header (notable_store_notice_position = top). */
:root .nt-notice-top :is(p.demo_store, .woocommerce-store-notice) { position: static; inset: auto; width: auto; margin: 0; padding: 10px var(--wp--preset--spacing--40); text-align: center; }

/* Product buttons in two-column phone grids ("Select options", quick buy "Add to cart") take the card's width, not a
   pill's own: the button system's `.woocommerce #respond input#submit` selector carries two ids, so this rule's two
   `#nt-specificity` lost to it and the buttons kept their 1.6em side padding and ran 6 to 30px past the card on Zen's Tea and
   Holy Grail (2026-11-11). Three ids win. A label stays on one line while it fits and wraps between words when a
   320px card is too narrow for it, instead of drawing outside the card. */
@media (max-width: 600px) {
  :root :is(.wc-block-components-product-button .wp-block-button__link, .nt-quick-buy__add, #nt-specificity#nt-specificity#nt-specificity) { padding-inline: .6em; font-size: var(--wp--preset--font-size--small); white-space: normal; max-width: 100%; line-height: 1.25; }
}

/* WooCommerce Subscriptions' "or subscribe to save" prompt (and its dash) in small price lines was 11.7px on a phone. */
.wcsatt-sub-options { font-size: max(.83em, 12.5px); }

/* Shop search (notable_shop_search = on). */
.nt-shop-search { max-width: none; margin-block: 0 var(--wp--preset--spacing--40); }
.nt-shop-search .wp-block-search__inside-wrapper { padding: 4px; border: 1px solid var(--nw-control-border); border-radius: var(--nw-radius); background: var(--nw-surface); }
.nt-shop-search .wp-block-search__input { min-width: 0; min-height: 44px; border: 0; background: transparent; color: var(--nw-ink); }

/* 0.1.16: imported product descriptions use h4-h6 as section headings; keep them above body size (Zen's Tea review, 2026-10-06: 14px bold under 17px text). */
.woocommerce-Tabs-panel :is(h4, h5, h6) { font-size: var(--wp--preset--font-size--medium); line-height: 1.3; margin: 1.4em 0 .5em; }
/* "People Also Like" on the cart (option notable_cart_picks). */
.nt-cart-picks { margin-top: 48px; }
.nt-cart-picks .nt-cart-picks__title { margin-bottom: 20px; }

/* Long unbroken strings in content (a URL or email address in a privacy policy) wrap instead of pushing the page sideways on a phone. */
.wp-site-blocks :where(p, li, td, th, dd, figcaption, h1, h2, h3, h4, h5, h6) {
  overflow-wrap: break-word;
}

/* 0.1.17 product details (inc/product-details.php): facts on the product page and cards, a product note, the related-products button, the archive intro. */
.nt-facts { list-style: none; margin: 0 0 var(--wp--preset--spacing--40); padding: 0; display: grid; gap: 4px; }
.nt-facts__label { font-weight: 700; }
.nt-facts--card { margin: -.25rem 0 .5rem; gap: 2px; color: var(--nw-muted); font-size: var(--wp--preset--font-size--small); }
.nt-facts--card .nt-facts__value a { color: inherit; }
.nt-product-note { margin-block: 0 var(--wp--preset--spacing--30); font-weight: 700; font-style: italic; }
.nt-price-pending { color: var(--wp--preset--color--muted); font-weight: 500; letter-spacing: 0.02em; }
.nt-options { display: grid; gap: var(--wp--preset--spacing--20); margin: 0 0 var(--wp--preset--spacing--40); padding: var(--wp--preset--spacing--30) 0; border-block: 1px solid var(--wp--preset--color--line); }
.nt-options__row { display: flex; flex-wrap: wrap; gap: 0.25rem 0.75rem; }
.nt-options dt { font-weight: 600; min-width: 7.5rem; }
.nt-options dd { margin: 0; }
.nt-related__more { display: flex; flex-wrap: wrap; justify-content: center; margin-block: var(--wp--preset--spacing--40) 0; }
.wp-block-post-title.has-text-align-center + .nt-facts--card { justify-items: center; text-align: center; }
.nt-archive-intro { margin-block: 0 var(--wp--preset--spacing--40); }
.nt-archive-intro__heading { margin-block: 0 8px; font-size: var(--wp--preset--font-size--large); }
.nt-archive-intro__text { margin: 0; max-width: 60ch; color: var(--nw-muted); }

/* 0.1.17 age gate (inc/age-gate.php, option notable_age_gate): a modal on a dark band, the site's photo behind it. */
html.nt-age-gate-open { overflow: hidden; }
.nt-age-gate { font-family: var(--nw-font); width: min(720px, calc(100% - 32px)); max-width: none; max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: var(--nw-radius); background: var(--nw-dark); color: var(--nw-dark-ink); overflow: auto; }
.nt-age-gate::backdrop { background: color-mix(in srgb, #000 82%, transparent); }
.nt-age-gate__panel { position: relative; isolation: isolate; }
.nt-age-gate__image { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; opacity: .3; }
.nt-age-gate__body { display: grid; justify-items: center; gap: var(--wp--preset--spacing--40); padding: clamp(28px, 6vw, 56px) clamp(20px, 5vw, 48px); text-align: center; }
.nt-age-gate__logo { width: auto; max-width: min(260px, 70%); height: auto; max-height: 120px; object-fit: contain; }
.nt-age-gate__step { display: grid; justify-items: center; gap: var(--wp--preset--spacing--40); position: relative; width: 100%; }
.nt-age-gate__step[hidden] { display: none; }
.nt-age-gate :is(.nt-age-gate__question, .nt-age-gate__welcome) { margin: 0; color: var(--nw-dark-ink); font-size: var(--wp--preset--font-size--x-large); text-transform: uppercase; }
.nt-age-gate p { margin: 0; max-width: 52ch; }
.nt-age-gate__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.nt-age-gate__actions .wp-element-button { min-width: 120px; }
.nt-age-gate__welcome:focus { outline: none; }
.nt-age-gate__close { position: absolute; top: -12px; inset-inline-end: -12px; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid currentColor; border-radius: 999px; background: transparent; color: var(--nw-dark-ink); font-size: 26px; line-height: 1; cursor: pointer; transition: background-color var(--nw-ease); }
.nt-age-gate__close:is(:hover, :focus-visible) { background: color-mix(in srgb, var(--nw-dark-ink) 16%, transparent); }
.nt-age-gate .fluentform { width: 100%; max-width: 420px; text-align: start; }
.nt-age-gate .fluentform :is(label, .ff-el-input--label) { color: var(--nw-dark-ink); font-family: var(--nw-font); font-weight: 700; }
.nt-age-gate .fluentform .ff-el-group { margin-bottom: 16px; }
.nt-age-gate .fluentform input { width: 100%; }
.nt-age-gate [data-nt-age-welcome] { padding-top: 40px; }
/* 0.1.17 Blank page template: no header or footer, the content centred in the window. */
.nt-main--blank { min-height: 100dvh; display: grid; align-content: center; }

/* A core Cover block on a dark image (WordPress marks only light covers, with is-light): its text links take the cover's own ink, as on a dark band (0.1.21). */
.wp-block-cover:not(.is-light) a:not(.wp-element-button) { color: inherit; text-decoration-thickness: 1px; }
.wp-block-cover:not(.is-light) a:not(.wp-element-button):hover { text-decoration-thickness: 2px; }

/* 0.1.20 site chrome options (inc/site-chrome.php). All off by default. */
/* Page frame (notable_frame_left/right, per page or site-wide): a patterned strip each side, the site in a centred column. */
body.nt-framed { background-position: left top, right top; background-repeat: repeat-y, repeat-y; background-size: var(--nt-frame) auto, var(--nt-frame) auto; }
body.nt-framed .wp-site-blocks { margin-inline: var(--nt-frame); background: var(--nw-surface); min-width: 0; }
/* On a phone the strips are half as wide, so the cart and checkout keep their room. */
@media (max-width: 600px) { body.nt-framed { --nt-frame-now: calc(var(--nt-frame) / 2); background-size: var(--nt-frame-now) auto, var(--nt-frame-now) auto; } body.nt-framed .wp-site-blocks { margin-inline: var(--nt-frame-now); } }
/* Header and footer bands (notable_header_tone, notable_footer_tone): the band's ink for every link and icon in it. */
.nt-header.has-background { border-bottom-color: transparent; }
:is(.nt-header, .nt-footer).has-background :is(a:where(:not(.wp-element-button)), .wc-block-mini-cart__button, .wp-block-navigation__responsive-container-open) { color: inherit; }
:is(.nt-header, .nt-footer).has-background a:where(:not(.wp-element-button)):hover, .nt-header.has-background .nt-nav .current-menu-item > a { color: inherit; text-decoration-line: underline; text-decoration-thickness: 2px; border-bottom-color: currentColor; }
.nt-header.has-background :is(.wc-block-mini-cart__button, .wc-block-customer-account a, .nt-nav .wp-block-navigation__responsive-container-open):hover { background: color-mix(in srgb, currentColor 16%, transparent); color: inherit; }
.nt-header.has-background .nt-nav .wp-block-navigation__responsive-container.is-menu-open a { color: var(--nw-ink); }
.nt-footer.has-background .nt-footer__legal { border-top-color: color-mix(in srgb, currentColor 22%, transparent); }
/* A header that scrolls away with the page (notable_header_sticky = off), for tall live headers. */
.nt-header-static .nt-header { position: relative; top: auto; }
/* A header that hides on scroll down and returns on scroll up (notable_header_sticky = hide, 0.1.21).
   The header template part is exactly as tall as .nt-header, so a sticky .nt-header has no room to stick inside it:
   the wrapper sticks and slides instead. It only moves while the menu is closed (header-autohide.js never hides with
   it open), so the transform never becomes the open overlay's containing block. */
.nt-header-autohide header.wp-block-template-part:has(> .nt-header) { position: sticky; top: 0; z-index: 50; transition: transform 0.25s ease; }
.nt-header-autohide header.wp-block-template-part:has(> .nt-header--hidden) { transform: translateY(-100%); }
/* Logged in, the sticky wrapper sits under the admin bar like the plain sticky header does; below 601px the admin bar
   scrolls away with the page (WordPress positions it absolute there), so both headers stick to the top. */
.admin-bar.nt-header-autohide header.wp-block-template-part:has(> .nt-header) { top: var(--wp-admin--admin-bar--height, 0px); }
@media (max-width: 600px) { .admin-bar .nt-header, .admin-bar.nt-header-autohide header.wp-block-template-part:has(> .nt-header) { top: 0; } }
@media (prefers-reduced-motion: reduce) { .nt-header-autohide header.wp-block-template-part:has(> .nt-header) { transition: none; } }
/* A large logo (notable_header_logo_width) and the second badge at the right (notable_header_badge). */
.nt-logo-large .nt-header .nt-brand .wp-block-site-logo img { width: min(var(--nt-logo-width), 26vw); max-height: none; }
.nt-header__badge { margin: 0; flex: 0 0 auto; line-height: 0; }
.nt-header__badge img { width: min(var(--nt-badge-width, 120px), 16vw); height: auto; display: block; transition: transform var(--nw-ease); }
.nt-header__badge a:hover img { transform: scale(1.04); }
/* Plain product cards (notable_product_cards = plain): image, title, price and button on the section's own colour, as page builders drew them. */
.nt-cards-plain .nt-products .wc-block-product { background: transparent; border: 0; border-radius: 0; padding: 0; color: inherit; gap: 8px; }
.nt-cards-plain .nt-products .wc-block-product:hover { box-shadow: none; }
.nt-cards-plain .nt-products .wc-block-product > :not(.wc-block-components-product-image) { margin-inline: 0; }
.nt-cards-plain .nt-products :is(.wc-block-components-product-price, .wp-block-post-title, .wp-block-post-title a) { color: inherit; }
.nt-cards-plain .nt-products .wc-block-product:hover .wp-block-post-title a { text-decoration-line: underline; text-decoration-thickness: 2px; }
.nt-cards-plain .nt-products .wc-block-components-product-button { align-items: flex-start; }
.nt-cards-plain .nt-products .wc-block-components-product-button .wp-block-button__link { width: auto; }
/* "Background sound" style of the Audio block (assets/background-audio.js): one fixed play/pause button, not the player. */
.wp-block-audio.is-style-notable-background.is-ready { margin: 0; }
.wp-block-audio.is-style-notable-background.is-ready audio { display: none; }
.nt-audio-toggle { position: fixed; inset-inline-start: 16px; bottom: 16px; z-index: 60; display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 2px solid var(--nw-primary-ink); border-radius: 999px; background: var(--nw-primary); color: var(--nw-primary-ink); cursor: pointer; box-shadow: var(--nw-shadow); transition: transform var(--nw-ease), background var(--nw-ease); }
.nt-audio-toggle:hover { transform: translateY(-2px); background: color-mix(in srgb, var(--nw-primary) 86%, #000); }

/* 0.1.23 */
/* Background video of a core Cover block (inc/cover-video.php, assets/cover-video.js): a pause and play button in the
   cover's corner, away from the side its text sits on (WCAG 2.2.2). */
:is(.wp-block-cover > .nt-cover-video-toggle, .nt-embed-video-toggle) { position: absolute; z-index: 2; inset-block-end: 16px; inset-inline-start: 16px; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 2px solid var(--nw-dark-ink); border-radius: 999px; background: color-mix(in srgb, var(--nw-dark) 78%, transparent); color: var(--nw-dark-ink); cursor: pointer; box-shadow: none; transition: background-color var(--nw-ease), transform var(--nw-ease); }
.wp-block-cover.is-position-bottom-left > .nt-cover-video-toggle { inset-inline: auto 16px; }
.nt-embed-video-toggle[hidden] { display: none; }
:is(.wp-block-cover > .nt-cover-video-toggle, .nt-embed-video-toggle):is(:hover, :focus-visible) { background: var(--nw-dark); transform: translateY(-2px); }
:is(.wp-block-cover > .nt-cover-video-toggle, .nt-embed-video-toggle):focus-visible { outline: 3px solid var(--nw-dark-ink); outline-offset: 3px; }
.wp-block-cover.nt-cover-video--failed > video.wp-block-cover__video-background { visibility: hidden; }
.wp-block-cover > .nt-cover-video-toggle[hidden] { display: none; }
@media (prefers-reduced-motion: reduce) { :is(.wp-block-cover > .nt-cover-video-toggle, .nt-embed-video-toggle) { transition: none; } :is(.wp-block-cover > .nt-cover-video-toggle, .nt-embed-video-toggle):hover { transform: none; } }

/* Left-logo (split) header: wherever the menu shows as its button (phones, and wider where nav-fit.js collapses it), the
   button is the last of the tools, at the edge. As the first tool it floated between the logo and the icons with
   whatever space was left (Zen's Tea at 390: 64px after the logo, 18px before the search). A header badge stays last. */
@media (max-width: 599.98px) {
  .nt-header__inner .nt-header__actions > .nt-nav { order: 1; }
  .nt-header__inner .nt-header__actions > .nt-header__badge { order: 2; }
}
.nt-header__inner .nt-header__actions > .nt-nav.nt-nav--collapsed { order: 1; }
.nt-header__inner .nt-header__actions:has(> .nt-nav--collapsed) > .nt-header__badge { order: 2; }
/* The search icon (field hidden) keeps the same spacing as the other icons: the empty field's 8px gap is dropped. */
.nt-header__search.wp-block-search__searchfield-hidden .wp-block-search__inside-wrapper { gap: 0; }
/* The search icon, opened: the field is a quiet pill like the visible search field, with one focus ring. It was the
   form-field rule's white box with a dark border and a second ring outside it (Cordee's Coffee re-review, 2026-10-29). */
:root .nt-header .nt-header__search:not(.nt-header__search--field):not(.wp-block-search__searchfield-hidden) .wp-block-search__input,
:root .nt-header .nt-header__search:not(.nt-header__search--field):not(.wp-block-search__searchfield-hidden) .wp-block-search__input:focus { min-height: 40px; padding: 0 16px; border: 1px solid var(--nw-control-border); border-radius: 999px; background: var(--nw-surface); box-shadow: none; outline: none; color: var(--nw-ink); font-size: 16px; }
:root .nt-header .nt-header__search:not(.nt-header__search--field):not(.wp-block-search__searchfield-hidden) .wp-block-search__input:focus-visible { border-color: var(--nw-primary); outline: 2px solid var(--nw-primary); outline-offset: 0; }

/* Header search field (notable_header_search = field): one border, the pill's. The theme's form-field rule
   (:root :is(input...)) outranked the header rule, so the input drew its own box inside the pill (Holy Grail live,
   2026-10-16). Keyboard focus rings the whole pill. */
:root .nt-header .nt-header__search--field .wp-block-search__input,
:root .nt-header .nt-header__search--field .wp-block-search__input:focus { padding-block: 0; padding-inline: 0 4px; border: 0; border-radius: 0; background: transparent; box-shadow: none; outline: none; }
:root .nt-header .nt-header__search--field .wp-block-search__inside-wrapper:focus-within { border-color: var(--nw-primary); outline: 3px solid var(--nw-primary); outline-offset: 2px; }

/* Navigation-style links carry no underline at rest: the header, footer lists and navigation, the My Account menu
   (WooCommerce underlines its active item with .woocommerce-account .woocommerce-MyAccount-navigation li.is-active a,
   hence the longer selector), breadcrumbs, product titles and terms on cards, page numbers and link buttons. Links
   inside running text keep theirs. The underline returns on hover and keyboard focus; the header menu keeps its bar. */
:root .nt-header a,
:root .nt-footer :is(li, .nt-footer__nav, .wp-block-navigation, .wp-block-site-title) a,
:root .woocommerce-MyAccount-navigation a,
:root .woocommerce-account .woocommerce-MyAccount-navigation li.is-active a,
:root :is(.woocommerce-breadcrumb, .wc-block-breadcrumbs, .wp-block-woocommerce-breadcrumbs) a,
:root :is(.wp-block-post-title, .wc-block-components-product-name, .woocommerce-loop-product__title, .woocommerce-loop-product__link, .wc-block-grid__product-link) a,
:root a:is(.wc-block-components-product-name, .woocommerce-loop-product__link, .wc-block-grid__product-link),
:root :is(.wc-block-product, .wc-block-grid__product, li.product) :is(.wp-block-post-terms, .taxonomy-product_cat) a,
:root :is(.wp-block-query-pagination, .woocommerce-pagination, .wc-block-pagination) a,
:root a.page-numbers,
:root a:is(.wp-element-button, .wp-block-button__link, .button, .added_to_cart, .nw-button),
:root a.wc-block-components-button:not(.is-link) { text-decoration-line: none; }
:root .nt-footer :is(li, .nt-footer__nav, .wp-block-site-title) a:is(:hover, :focus-visible),
:root .nt-header :is(.nt-header__account-label, .nt-header__cart-label) a:is(:hover, :focus-visible),
:root :is(.wp-block-post-title, .woocommerce-loop-product__title) a:is(:hover, :focus-visible),
:root a:is(.wc-block-components-product-name, .woocommerce-loop-product__link):is(:hover, :focus-visible),
:root :is(.wc-block-product, .wc-block-grid__product, li.product) :is(.wp-block-post-terms, .taxonomy-product_cat) a:is(:hover, :focus-visible),
:root :is(.woocommerce-breadcrumb, .wc-block-breadcrumbs, .wp-block-woocommerce-breadcrumbs) a:is(:hover, :focus-visible),
:root :is(.wp-block-query-pagination, .woocommerce-pagination, .wc-block-pagination) a:is(:hover, :focus-visible),
:root a.page-numbers:is(:hover, :focus-visible) { text-decoration-line: underline; text-decoration-thickness: 2px; }
/* The My Account menu clips its corners (overflow: hidden), so its focus ring is drawn inside each item. */
:root .woocommerce-MyAccount-navigation a:focus-visible { outline: 3px solid currentColor; outline-offset: -5px; }
/* 0.1.24: buying-path layout found on Zen's Tea (2026-10-21). */
/* The mini-cart's close button keeps its own size: the button system's padding pushed it past the drawer's edge. */
:root .wc-block-mini-cart__drawer[aria-hidden="true"] { visibility: hidden; }
:root .wc-block-components-drawer__close.wc-block-components-button { min-height: 0; margin: 0; padding: 8px; }
/* 0.1.25: the drawer title keeps clear of that button and stays a title's size: with the button inside the drawer,
   Holy Grail's display-size title ran under it at 390 (staging test, 2026-10-22). */
.wc-block-mini-cart__drawer .wc-block-mini-cart__title { padding-inline-end: 64px; font-size: clamp(1.25rem, 1rem + 2vw, 1.75rem); }
/* The mini-cart row fits the drawer: a sale badge wraps and the quantity box is as wide as its number. */
.wc-block-mini-cart__drawer table.wc-block-cart-items { table-layout: fixed; width: 100%; }
.wc-block-mini-cart__drawer .wc-block-components-sale-badge { white-space: normal; }
.wc-block-mini-cart__drawer .wc-block-components-quantity-selector { width: auto; max-width: 128px; }
.wc-block-mini-cart__drawer .wc-block-components-quantity-selector__input { width: 3em; min-width: 0; padding: 0; text-align: center; }
/* On phones narrower than 400px the mini-cart row is the item beside its picture, the line total (and a subscription's
   "Save" badge) under it. WooCommerce's four-track row (80, 132, 14 and about 93px) is 367px wide with its gaps, so a
   320px drawer drew the badge from 292 to 385px, past the drawer's edge (Zen's Tea, 2026-11-11); the 0,4,1 selector
   outranks WooCommerce's `.is-mobile table.wc-block-cart-items` rules. */
@media (max-width: 399px) {
  :root .wc-block-mini-cart__drawer table.wc-block-cart-items .wc-block-cart-items__row { grid-template-columns: 80px minmax(0, 1fr); }
  :root .wc-block-mini-cart__drawer table.wc-block-cart-items .wc-block-cart-items__row > .wc-block-cart-item__product { grid-column: 2; grid-row: 1; min-width: 0; }
  :root .wc-block-mini-cart__drawer table.wc-block-cart-items .wc-block-cart-items__row > .wc-block-cart-item__total { grid-column: 2; grid-row: 2; justify-self: start; align-items: flex-start; min-width: 0; padding-top: 8px; }
  :root .wc-block-mini-cart__drawer .wc-block-cart-item__total .wc-block-cart-item__total-price-and-sale-badge-wrapper { display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 8px; }
}
/* The cart page's rows fit a phone: WooCommerce's mobile grid (80px and 132px columns) left the line total no room,
   so at 320px it ran 50px past the window and at 390px 8px into the page gutter (theme suite, 2026-10-28). In
   WooCommerce's mobile cart layout the image takes a narrow column and the line total sits under the details. */
:root .wc-block-cart.is-mobile table.wc-block-cart-items .wc-block-cart-items__row { grid-template-columns: 64px minmax(0, 1fr); column-gap: 12px; }
:root .wc-block-cart.is-mobile .wc-block-cart-items__row > .wc-block-cart-item__image { grid-column: 1; grid-row: 1 / span 2; padding-inline-end: 0; }
:root .wc-block-cart.is-mobile .wc-block-cart-items__row > .wc-block-cart-item__product { grid-column: 2; grid-row: 1; min-width: 0; }
:root .wc-block-cart.is-mobile .wc-block-cart-items__row > .wc-block-cart-item__total { grid-column: 2; grid-row: 2; justify-self: start; align-items: flex-start; min-width: 0; padding-top: 8px; }
:root .wc-block-cart.is-mobile .wc-block-cart-item__total .wc-block-cart-item__total-price-and-sale-badge-wrapper { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 8px; }
/* The checkout's order summary on phones: the line total (and its "Save" badge) took a fixed column beside the item,
   leaving the item's details 77 to 81px, so "Subscription:" split in two wherever the body face is wider than Inter
   (the theme suite on GitHub's runner, which has no Inter, 2026-11-10). On phones the total sits under the item's
   details, price and "Save" badge on one line, and the details take the row (beside the 48px image). */
@media (max-width: 480px) {
  :root .wc-block-components-order-summary-item { flex-wrap: wrap; }
  :root .wc-block-components-order-summary-item__description { flex: 1 1 0; min-width: 0; padding-inline-end: 0; }
  :root .wc-block-components-order-summary-item__total-price { flex: 1 0 100%; justify-content: flex-end; margin-inline-start: 0; padding-block: 4px 0; padding-inline: 72px 0; }
  :root .wc-block-components-order-summary-item__total-price .wc-block-cart-item__total-price-and-sale-badge-wrapper { flex-direction: row; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 4px 8px; }
}
/* Item details ("Subscription: Every month") read as one line each: WooCommerce floats the label, and with
   overflow-wrap on dd a word broke in half beside it. WooCommerce's own float rules outrank a plain
   `.woocommerce dl.variation dt` (the cart and checkout's `.woocommerce td.product-name dl.variation dt` is 0,3,3,
   the mini-cart widget's `.woocommerce ul.cart_list li dl dt` 0,3,4), so 0.1.24 to 0.1.28 lost to them and live
   Zen's Tea showed "Ev / ery month" (2026-11-10): these carry 0,4,x. The content rule's overflow-wrap is set on
   the `p` inside dd itself, so it is reset there too. */
:root .woocommerce dl.variation.variation { display: block; margin: .4em 0; }
:root .woocommerce dl.variation.variation :is(dt, dd) { display: inline; float: none; clear: none; margin: 0; padding: 0; overflow-wrap: normal; word-break: normal; }
:root .woocommerce dl.variation.variation dd p { display: inline; margin: 0; overflow-wrap: normal; word-break: normal; }
:root .woocommerce dl.variation.variation dd::after { content: ""; display: block; }
/* An embedded video in content never runs wider than its column (a 560px YouTube iframe scrolled a phone sideways). */
.wp-site-blocks :is(.wp-block-post-content, .entry-content) iframe { max-width: 100%; }
.wp-site-blocks :is(.wp-block-post-content, .entry-content) iframe[src*="youtube.com/embed"] { width: 100%; height: auto; aspect-ratio: 16 / 9; }
/* The open product tab keeps its underline: WooCommerce's "minimal" Product Details style removes every tab border. */
html body .wp-block-woocommerce-product-details.is-style-minimal ul.tabs.wc-tabs li a { border-bottom: 2px solid transparent; }
html body .wp-block-woocommerce-product-details.is-style-minimal ul.tabs.wc-tabs li.active a { border-bottom: 2px solid currentColor; }

/* Required control edges are separate from decorative dividers. Error states retain WooCommerce's red. */
:root :is(.wc-block-components-text-input.has-error input, .wc-block-components-textarea.has-error, .woocommerce-invalid input, .woocommerce-invalid select, input[aria-invalid="true"], textarea[aria-invalid="true"], select[aria-invalid="true"]) { border-color: color-mix(in srgb, #cc1818 75%, var(--nw-ink)) !important; }
/* Both rings remain visible across client palettes, dark bands and native WooCommerce focus resets. */
:root :is(a, button, input, textarea, select, summary, [tabindex]):focus-visible,
:root :is(input, textarea, select):focus {
  outline: 3px solid var(--nw-focus-ring, #151515) !important;
  outline-offset: 3px !important;
  box-shadow: 0 0 0 3px var(--nw-focus-ring-gap, #ffffff) !important;
  transition-property: color, background-color, transform !important;
  scroll-margin-block: 16px;
}
/* Account navigation deliberately clips its list corners, so draw its same two tones inside the link. */
:root .woocommerce-MyAccount-navigation a:focus-visible { outline-offset: -5px !important; box-shadow: inset 0 0 0 3px var(--nw-focus-ring-gap, #ffffff) !important; }

/* Error wording stays readable on light, dark and colored surfaces; the red edge and native ARIA retain the error state. */
:root .wc-block-components-validation-error, :root .wc-block-components-text-input.has-error label { color: var(--nw-ink); }

/* Search in the phone menu (inc/menu-search.php): the header's own search under the menu links, shown only while the
   menu is open as its overlay. One pill like the header field, no box of its own inside it. */
.nt-menu-search { width: 100%; margin: var(--wp--preset--spacing--40) 0 0; }
.wp-block-navigation__responsive-container:not(.is-menu-open) .nt-menu-search { display: none; }
.nt-menu-search .wp-block-search__inside-wrapper { display: flex; align-items: center; width: 100%; padding-block: 0; padding-inline: 16px 4px; border: 1px solid var(--nw-control-border, var(--nw-muted)); border-radius: 999px; background: var(--nw-surface); }
/* The theme's form-field rule (:root :is(input...)) outranks a plain class here, as it did the header field, and drew a
   second box inside the pill; the id-weighted :is lifts this one above it. */
:root .nt-header :is(.nt-menu-search, #nt-specificity#nt-specificity#nt-specificity) .wp-block-search__input,
:root .nt-header :is(.nt-menu-search, #nt-specificity#nt-specificity#nt-specificity) .wp-block-search__input:focus { flex: 1 1 auto; width: 100%; min-height: 46px; margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; outline: none; color: var(--nw-ink); font-size: 16px; letter-spacing: normal; text-transform: none; }
.nt-menu-search .wp-block-search__inside-wrapper:focus-within { border-color: var(--nw-primary); outline: 3px solid var(--nw-primary); outline-offset: 2px; }
:root .nt-header :is(.nt-menu-search, #nt-specificity#nt-specificity#nt-specificity) .wp-block-search__button { box-sizing: border-box; min-width: 44px; min-height: 44px; margin: 0; padding: 11px; border: 0; border-radius: 999px; background: transparent; color: var(--nw-ink); box-shadow: none; transform: none; }
.nt-menu-search .wp-block-search__button svg { width: 22px; height: 22px; fill: currentColor; }

/* Linked images and social icons hover like cards and buttons: a small lift (Cordee's Coffee's social band, 2026-10-28;
   the QA hover sweep found linked photos and social icons that did not change). */
.wp-block-image a, .wp-block-social-links .wp-social-link a { transition: transform .2s ease, box-shadow .2s ease; }
.wp-block-image a { display: inline-block; max-width: 100%; vertical-align: top; }
.wp-block-image a:hover, .wp-block-image a:focus-visible { transform: translateY(-2px); box-shadow: 0 10px 24px rgb(0 0 0 / 0.18); }
.wp-block-social-links .wp-social-link a:hover, .wp-block-social-links .wp-social-link a:focus-visible { transform: translateY(-2px); }
@media (prefers-reduced-motion: reduce) { .wp-block-image a, .wp-block-social-links .wp-social-link a { transition: none; } }

/* Store layout fixes from Cordee's Coffee's independent review (2026-10-28), for every store. */
/* Centred product rows (className `nt-products--center` on a Product Collection): a short row (1 to 3 cards) sits centred
   under a centred heading instead of hugging the left of a 4-column grid. Four across from 1024px, three from 600px, two
   on phones; a last row of fewer cards is centred too. */
.nt-products--center .wc-block-product-template { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--wp--preset--spacing--40); grid-template-columns: none; }
.nt-products--center .wc-block-product-template > li.wc-block-product { width: calc((100% - 3 * var(--wp--preset--spacing--40)) / 4); max-width: none; margin: 0; }
@media (max-width: 1023px) { .nt-products--center .wc-block-product-template > li.wc-block-product { width: calc((100% - 2 * var(--wp--preset--spacing--40)) / 3); } }
@media (max-width: 599px) { .nt-products--center .wc-block-product-template { gap: 12px; } .nt-products--center .wc-block-product-template > li.wc-block-product { width: calc((100% - 12px) / 2); } }
/* A card with no button (a price still pending) puts its price at the foot, so "Coming soon" lines up across a row
   whatever the subtitle's length. */
.nt-products .wc-block-product > .wp-block-woocommerce-product-price:last-child { margin-block-start: auto; }
/* Related products: five across on a desktop, four (two by two on phones) below that; titles break between words only
   (at 600 to 768px they broke mid-word in five narrow columns, and phones stacked five full-width tiles). */
.nt-related .wc-block-product-template.is-flex-container { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--wp--preset--spacing--40); }
/* WooCommerce sizes each item by its column count (.is-flex-container.columns-5 > li, 20%), which inside a grid cell made it a 26px sliver. */
:root .nt-related ul.wc-block-product-template.is-flex-container.is-flex-container > li { width: auto; max-width: none; margin: 0; }
@media (max-width: 1023px) {
  .nt-related .wc-block-product-template.is-flex-container { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  :root .nt-related ul.wc-block-product-template.is-flex-container.is-flex-container > li:nth-child(n+5) { display: none; }
}
@media (max-width: 599px) { .nt-related .wc-block-product-template.is-flex-container { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } }
.nt-related .wp-block-post-title, .nt-products .wp-block-post-title { overflow-wrap: normal; word-break: normal; hyphens: manual; }
/* Classic cart and checkout fill the page's wide column under their wide title: WooCommerce's block-theme sheet held
   them to 1000px at the left of a 1180px column. */
.nt-main--store .wp-block-post-content > .woocommerce { max-width: none; margin-inline: 0; }
/* Update cart is a secondary action: the outline button (the same colours as every secondary button), faded only while there is nothing to update. */
:root .woocommerce table.cart td.actions > :is(button.button[name="update_cart"], #nt-specificity#nt-specificity) { --nw-btn-bg: transparent; --nw-btn-ink: var(--nw-btn2-ink); --nw-btn-border: var(--nw-btn2-ink); }
/* Continue shopping (notable_cart_continue) under Proceed to checkout. */
:root .wc-proceed-to-checkout :is(.nt-cart-continue, #nt-specificity#nt-specificity) { --nw-btn-bg: transparent; --nw-btn-ink: var(--nw-btn2-ink); --nw-btn-border: var(--nw-btn2-ink); display: flex; width: 100%; margin-block-start: 12px; }
.woocommerce .wc-proceed-to-checkout a.checkout-button { width: 100%; margin-block-end: 0; }
/* The added-to-cart notice on a phone: the text takes the line and "View cart" sits under it at its own width (it was
   squeezed into its pill beside the text); WooCommerce focuses the notice for screen readers, which drew a heavy ring. */
.wc-block-components-notice-banner > .wc-block-components-notice-banner__content .wc-forward { white-space: nowrap; flex-shrink: 0; }
@media (max-width: 599px) {
  .wc-block-components-notice-banner > .wc-block-components-notice-banner__content { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
  .wc-block-components-notice-banner > .wc-block-components-notice-banner__content .wc-forward { order: 2; float: none; margin: 0; }
}
/* In the notice, "View cart" is a link (the button system drew a pill around it with no padding). */
:root .wc-block-components-notice-banner__content :is(a.wc-forward, #nt-specificity#nt-specificity#nt-specificity) { display: inline; min-height: 0; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; transform: none; color: var(--nw-ink); font-weight: 700; text-decoration-line: underline; text-underline-offset: .18em; }
:root .wc-block-components-notice-banner[tabindex="-1"]:focus, :root .wc-block-components-notice-banner[tabindex="-1"]:focus-visible { outline: none !important; box-shadow: none !important; }
/* Mini-cart drawer: one box for the quantity (the theme's field style drew a second box inside it), a quiet close
   button, and the title without WooCommerce's "(items: 1)". */
:root .wc-block-components-quantity-selector input.wc-block-components-quantity-selector__input[type="number"] { min-height: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
/* WooCommerce pads the close button 1em with !important, which squeezed its icon to 10px inside the 44px box. */
:root .wc-block-mini-cart__drawer :is(.wc-block-components-drawer__close, #nt-specificity#nt-specificity#nt-specificity) { width: 44px; height: 44px; min-height: 0; padding: 10px !important; margin: 0; border: 0; border-radius: 999px; background: transparent; color: var(--nw-ink); box-shadow: none; transform: none; }
:root .wc-block-mini-cart__drawer :is(.wc-block-components-drawer__close, #nt-specificity#nt-specificity#nt-specificity):is(:hover, :focus-visible) { background: var(--nw-bg); color: var(--nw-ink); transform: none; box-shadow: none; }
.wc-block-mini-cart__drawer .wc-block-components-drawer__close svg { width: 24px; height: 24px; }
.wc-block-mini-cart__drawer :is(.wp-block-woocommerce-mini-cart-title-items-counter-block, .wc-block-mini-cart__title-items-counter-block, .wc-block-mini-cart__title-items-counter) { display: none; }
/* Hover sweep on Cordee's (2026-10-28): a product photo link dims slightly (the card around it lifts on menus, but related
   products and the photo link itself showed no change), the product page's category link thickens like other text
   links, and the gallery's zoom button grows a little. */
.wc-block-components-product-image a { transition: opacity var(--nw-ease); }
.wc-block-components-product-image a:is(:hover, :focus-visible) { opacity: .88; }
.wp-block-woocommerce-product-meta a:is(:hover, :focus-visible) { text-decoration-line: underline; text-decoration-thickness: 2px; }
.woocommerce-product-gallery__trigger { transition: transform var(--nw-ease); }
.woocommerce-product-gallery__trigger:is(:hover, :focus-visible) { transform: scale(1.08); }
@media (prefers-reduced-motion: reduce) { .woocommerce-product-gallery__trigger { transition: none; } .woocommerce-product-gallery__trigger:hover { transform: none; } }

/* Store fixes found on Cordee's Coffee's staging copy (2026-10-30, notable-site-ops log/2026-10-30-cordees-qa-fixes.md,
   rules 24 to 28 there), now theme-wide so every store gets them (next release). */
/* Where the product page's columns sit side by side, the photo fills its column: WooCommerce caps its gallery block
   at 512px, which left about 200px of white before the details at 1280 to 1920. Stacked phones and tablets unchanged. */
@media (min-width: 782px) { :root .wp-block-woocommerce-product-image-gallery { max-width: none; width: 100%; } }
/* An option row keeps its options beside its label: a label wider than the label column ("Add Indulgent flavor")
   wraps inside the column instead of pushing its whole list onto a line of its own. */
.nt-options__row { flex-wrap: nowrap; }
.nt-options dt { flex: 0 0 7.5rem; min-width: 0; }
.nt-options dd { flex: 1 1 0; min-width: 0; }
/* No button fades on hover: Fluent Forms' Submit (0.8) and the classic cart's Proceed to checkout faded on top of
   the one button hover; the theme's hover wins (a disabled button keeps its own fade). The show-password eye gets
   the tinted, rounded hover of the theme's other icon buttons. */
:root .ff-default .ff_btn_style:is(:hover, :focus) { opacity: 1; }
:root :is(
  .wp-element-button, .wp-block-button__link, .wp-block-search__button, .nw-button,
  .wc-block-components-button:not(.is-link):not(.wc-block-components-button--text),
  .woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit,
  .wc-block-mini-cart__footer-actions .wc-block-components-button,
  .fluentform .ff-btn-submit
):is(:hover, :focus-visible):not(:disabled):not(.disabled) { opacity: 1; }
:root .woocommerce .password-input .show-password-input { border-radius: 8px; transition: background-color var(--nw-ease); }
:root .woocommerce .password-input .show-password-input:is(:hover, :focus-visible) { background-color: var(--nw-bg); }
/* Phone menu tap targets: the open and close buttons 44px square (were 36px: 6px round a 24px icon) and each link
   in the opened menu 44px tall (were 33px), on the same rhythm as before (the gap cut from 18px to 7px). */
:root .nt-nav :is(.wp-block-navigation__responsive-container-open, .wp-block-navigation__responsive-container-close) { padding: 10px; }
:root .nt-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { gap: 7px; }
:root .nt-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content { display: inline-flex; align-items: center; min-height: 44px; padding-block: 0; }
/* Site search with products in the results: products are the shop's cards (square photo, the shop's title size,
   the card facts and the price or pending label), four, three or two across with a short row centred, and other
   results follow as full-width rows. A search with no product keeps the ordinary post grid. */
body.search .nt-post-grid .wp-block-post-template:has(> li.type-product) { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--wp--preset--spacing--40); grid-template-columns: none; }
body.search .nt-post-grid .wp-block-post-template:has(> li.type-product) > li { margin: 0; }
body.search .nt-post-grid .wp-block-post-template:has(> li.type-product) > li.type-product { width: calc((100% - 3 * var(--wp--preset--spacing--40)) / 4); }
body.search .nt-post-grid .wp-block-post-template:has(> li.type-product) > li:not(.type-product) { order: 1; width: 100%; }
@media (max-width: 1023px) { body.search .nt-post-grid .wp-block-post-template:has(> li.type-product) > li.type-product { width: calc((100% - 2 * var(--wp--preset--spacing--40)) / 3); } }
@media (max-width: 599px) {
  body.search .nt-post-grid .wp-block-post-template:has(> li.type-product) { gap: 12px; }
  body.search .nt-post-grid .wp-block-post-template:has(> li.type-product) > li.type-product { width: calc((100% - 12px) / 2); }
}
body.search .nt-post-grid li.type-product .wp-block-post-featured-image { margin: 0 0 6px; }
body.search .nt-post-grid li.type-product .wp-block-post-featured-image img { aspect-ratio: 1 / 1 !important; object-fit: cover; }
body.search .nt-post-grid li.type-product .wp-block-post-title.has-large-font-size { font-size: var(--wp--preset--font-size--medium) !important; line-height: 1.4; }
body.search .nt-post-grid li.type-product .nt-card > .nt-search-price { margin-block: auto var(--wp--preset--spacing--40); }
body.search .nt-post-grid li.type-product .nt-search-price .wc-block-components-product-price { color: var(--nw-ink); font-weight: 700; margin-block: 0; }
body.search .nt-post-grid li.type-product .nt-card__kicker { display: none; }

/* The results count and sort row wraps whatever the template says. The theme's archive templates set `flexWrap: wrap`
   (0.1.33), but a site that edited a shop template in the Site Editor holds its own copy in the database (a wp_template
   post), which a theme update never reaches: Holy Grail's live and staging2 copies of archive-product and
   taxonomy-product_cat still say nowrap, and the row spilled 4px out of its box at 320px with the sort at its widest
   option (2026-11-11). This rule does not depend on the markup. */
:root .wp-block-group:has(> .wp-block-woocommerce-product-results-count, > .wp-block-woocommerce-catalog-sorting) { flex-wrap: wrap; }

/* 0.1.35: header dropdowns on every tone, and the header over the hero (notable_header_overlay = on). */
/* The header's own colours, by its tone, for the dropdown panel and the shade (the slot's ink, as inc/site-chrome.php pairs them). */
.nt-header { --nt-band-bg: var(--nw-surface); --nt-band-ink: var(--nw-ink); }
.nt-header.has-bg-background-color { --nt-band-bg: var(--nw-bg); --nt-band-ink: var(--nw-ink); }
.nt-header.has-dark-background-color { --nt-band-bg: var(--nw-dark); --nt-band-ink: var(--nw-dark-ink); }
.nt-header.has-accent-background-color { --nt-band-bg: var(--nw-accent); --nt-band-ink: var(--nw-accent-ink); }
.nt-header.has-primary-background-color { --nt-band-bg: var(--nw-primary); --nt-band-ink: var(--nw-primary-ink); }
/* A menu item with sub-items (core Navigation submenus), as a panel under its parent in the header's own colours: it
   opens on hover with a fine pointer and on the arrow button's click, tap, Enter or Space everywhere, and Escape closes
   it (core's Navigation script). Core painted it white with black text on every tone. In the opened phone menu the
   sub-items are plain indented links under their parent (rules above) and take the menu's colours. */
:root .nt-header .nt-nav .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__submenu-container { gap: 0; border: 0 solid color-mix(in srgb, var(--nt-band-ink) 22%, transparent); border-radius: min(var(--nw-radius), 8px); background-color: var(--nt-band-bg); color: var(--nt-band-ink); box-shadow: var(--nw-shadow); }
/* Its size only while it is open: closed, core holds it at no width and height, and padding or a border would give the hidden panel a box (the nav sweep counted its links as a wrapped row). */
:root .nt-header .nt-nav .wp-block-navigation__responsive-container:not(.is-menu-open) :is(.wp-block-navigation-submenu:is(:hover, :focus-within) > .wp-block-navigation__submenu-container, [aria-expanded="true"] ~ .wp-block-navigation__submenu-container) { min-width: 220px; padding: 8px 0; border-width: 1px; }
:root .nt-header .nt-nav .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__submenu-container .wp-block-navigation-item__content { display: flex; align-items: center; box-sizing: border-box; min-height: 44px; padding: 0 20px; border-bottom: 0; color: inherit; white-space: nowrap; }
:root .nt-header .nt-nav .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__submenu-container .wp-block-navigation-item__content:is(:hover, :focus-visible) { background: color-mix(in srgb, var(--nt-band-ink) 14%, transparent); color: inherit; text-decoration-line: underline; text-decoration-thickness: 2px; }
:root .nt-header .nt-nav .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__submenu-container .wp-block-navigation-item__content:focus-visible { outline: 2px solid currentColor; outline-offset: -4px; }
/* The arrow button: a 44px-high target that turns over while its panel is open. */
:root .nt-header .nt-nav .wp-block-navigation__submenu-icon { box-sizing: border-box; min-width: 32px; min-height: 44px; padding: 0 8px; color: inherit; }
:root .nt-header .nt-nav .wp-block-navigation__submenu-icon svg { transition: transform var(--nw-ease); }
:root .nt-header .nt-nav .wp-block-navigation__submenu-icon[aria-expanded="true"] svg { transform: rotate(180deg); }
:root .nt-header .nt-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container { border: 0; background: none; color: inherit; box-shadow: none; }
@media (prefers-reduced-motion: reduce) { :root .nt-header .nt-nav .wp-block-navigation__submenu-icon svg { transition: none; } }

/* Header over the hero (notable_header_overlay = on; assets/header-overlay.js). The dark band is solid and sticks on a
   page that does not open with a cover and on phones. From 700px, on a page whose first block is a Cover or a cover
   Hero section (or a catalogue entry's photograph strip, .nt-cat-band), it lies over that block, transparent with a soft shade, and becomes the solid bar once the visitor has
   scrolled (the header gets nt-header--stuck). Same height, logo and menu position on both. */
body.nt-header-overlay header.wp-block-template-part:has(> .nt-header) { position: sticky; top: 0; z-index: 50; }
body.nt-header-overlay.admin-bar header.wp-block-template-part:has(> .nt-header) { top: var(--wp-admin--admin-bar--height, 0px); }
@media (max-width: 600px) { body.nt-header-overlay.admin-bar header.wp-block-template-part:has(> .nt-header) { top: 0; } }
body.nt-header-overlay .nt-header, body.nt-header-overlay.admin-bar .nt-header { position: relative; top: auto; z-index: 0; transition: background-color .24s ease; }
@media (min-width: 700px) {
  body.nt-header-overlay .nt-header { border-bottom-color: color-mix(in srgb, var(--nt-band-ink) 34%, transparent); }
  body.nt-header-overlay .nt-header.nt-header--stuck { border-bottom-color: transparent; }
  body.nt-header-overlay:has(:is(.nt-main > .wp-block-post-content:first-child > :is(.wp-block-cover, .nw-hero-section--cover):first-child, .nt-main > .nt-cat-band:first-child)) header.wp-block-template-part:has(> .nt-header) { position: absolute; inset-inline: 0; top: 0; }
  body.nt-header-overlay.admin-bar:has(:is(.nt-main > .wp-block-post-content:first-child > :is(.wp-block-cover, .nw-hero-section--cover):first-child, .nt-main > .nt-cat-band:first-child)) header.wp-block-template-part:has(> .nt-header) { top: var(--wp-admin--admin-bar--height, 0px); }
  body.nt-header-overlay:has(:is(.nt-main > .wp-block-post-content:first-child > :is(.wp-block-cover, .nw-hero-section--cover):first-child, .nt-main > .nt-cat-band:first-child)) header.wp-block-template-part:has(> .nt-header--stuck) { position: fixed; }
  body.nt-header-overlay:has(:is(.nt-main > .wp-block-post-content:first-child > :is(.wp-block-cover, .nw-hero-section--cover):first-child, .nt-main > .nt-cat-band:first-child)) .nt-header:not(.nt-header--stuck) { background-color: transparent !important; }
  body.nt-header-overlay:has(:is(.nt-main > .wp-block-post-content:first-child > :is(.wp-block-cover, .nw-hero-section--cover):first-child, .nt-main > .nt-cat-band:first-child)) .nt-header:not(.nt-header--stuck)::before { content: ""; position: absolute; inset: 0 0 auto 0; z-index: -1; height: 260px; pointer-events: none; background: linear-gradient(to bottom, color-mix(in srgb, var(--nw-dark) 70%, transparent), color-mix(in srgb, var(--nw-dark) 55%, transparent) 110px, transparent); }
}
/* The opened menu on the dark band: the band's colours, with its close button (an X) readable on them. */
body.nt-header-overlay .nt-nav.wp-block-navigation:not(#nt-specificity):not(#nt-specificity) .wp-block-navigation__responsive-container.is-menu-open { background: var(--nw-dark); color: var(--nw-dark-ink); }
body.nt-header-overlay .nt-header .nt-nav .wp-block-navigation__responsive-container.is-menu-open :is(a, .wp-block-navigation-item__content, .wp-block-navigation__responsive-container-close) { color: var(--nw-dark-ink); }
body.nt-header-overlay .nt-header .nt-nav .wp-block-navigation__responsive-container-close:hover { background: color-mix(in srgb, var(--nw-dark-ink) 16%, transparent); }
@media (prefers-reduced-motion: reduce) { body.nt-header-overlay .nt-header { transition: none; } }
