/**
 * Commerce storefront — Horizon Core.
 *
 * ⭐ HORIZON-20261009-057: SPLIT. The parts any page can show (trust badges, cart drawer, header icons, search
 * overlay, toast, added-to-cart card, card button) moved VERBATIM to hp-commerce-chrome.css, which loads on
 * every page; this file now loads only on WooCommerce pages and the commerce home, after the chrome file.
 * The line numbers in the "LIFTED VERBATIM" list below refer to the source themes, not to this file.
 *
 * HORIZON-20260901-081, P3b. Scope: docs/merch-included-upgrade-scope-2026-09-01.md
 *
 * ⛔⛔ SHIPS INERT. Enqueued only when the tenant setting `merch_included` is
 * true, and that defaults FALSE on every tenant. Nothing renders differently
 * anywhere until somebody opts a tenant in (P3d). Do not read its presence on
 * the server as a live change.
 *
 * WHY IT EXISTS. All 24 commerce storefront function BODIES already live in
 * Core (`src/Commerce/woo-zone.php`) and resolve on every tenant — but measured
 * 2026-09-01, the markup they emit had CSS in EXACTLY ONE theme
 * (`wp-child-theme-commerce`). Filters, cart drawer, trust badges and the size
 * guide had ZERO rules in entertainer, dark-luxury and the two per-client
 * themes. So switching the hooks on without this file would ship
 * unstyled filters and an unstyled cart drawer onto live client sites — the
 * same failure as a per-client theme defining `.hp-btn` in zero stylesheets,
 * at five times the surface area.
 *
 * ⭐ LIFTED VERBATIM, not re-designed, from the one theme that had them:
 *   filters + shop layout   hp-shop.css       186-320
 *   trust badges            hp-shop.css      1702-1771
 *   size guide tab          hp-shop.css      1773-1803
 *   slide-out cart drawer   hp-components.css 1100-1319
 * Byte-identity is what makes "no tenant sees a rendering change" checkable —
 * the pattern that worked for the links-panel hoist and again for pagination.
 * Each block was brace-balance checked before assembly.
 *
 * ⚠️ THE COMMERCE THEME KEEPS ITS OWN COPIES AND IS UNAFFECTED. It is not
 * enqueued this file (its tenants have `merch_included` off and their own
 * stylesheets), so the commerce-theme stores cannot change. When the commerce
 * theme is eventually retired, this becomes the single definition.
 *
 * ⛔⛔ THE HEADER CART/ACCOUNT ICONS ARE DELIBERATELY NOT HERE. Their rules live
 * across `hp-base.css` AND `hp-responsive.css` and are entangled with
 * GeneratePress nav internals (`.inside-navigation`, `.menu-toggle`, `.main-nav`)
 * and the mobile menu animation. Memory `feedback-an-open-mobile-menu-can-be-
 * unreachable` records that three of those behaviours are per THEME, not per
 * pattern, and that copying a rule across is how each one broke. They need their
 * own scope, not a verbatim lift.
 *
 * ⚠️ Reads only `var(--hp-*)` design tokens. All 26 used here were verified
 * present in entertainer, dark-luxury and both per-client themes, so
 * unlike hp-woo-pagination.css this file needs no literal fallbacks — it is only
 * ever enqueued on a Horizon theme.
 *
 * @package Horizon_Core
 */

/* ══ Shop / category filters — desktop sidebar, mobile drawer ══
   ⛔ ONE comment, not two. Until HORIZON-20260901-107 this header was closed on
   its first line and the lines below sat as bare text, which the CSS parser
   swallowed together with the NEXT RULE — .hp-shop-layout — so the sidebar grid
   never applied and the filters stacked full-width above the products. Same
   defect at the trust-badges and size-guide headers below. Invisible while the
   sheet shipped inert; found by the first tenant to render it.
   Shop/category filters — desktop sidebar, mobile drawer, one shared form
   rendered twice by hp_render_shop_filters() (sidebar shell + drawer shell).
   See docs/commerce-product-filters-plan.md §2c. 768px chosen on content
   grounds — the point the 220px sidebar column plus the product grid gets
   too cramped to read, not a device-width guess.
   ========================================================================== */

.hp-shop-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: var(--hp-sp-8);
  align-items: start;
}

.hp-shop-filters-mobile { display: none; }
.hp-shop-filters--drawer { display: none; } /* off-canvas, shown via .is-open below 768px */

.hp-shop-filters__form {
  display: flex;
  flex-direction: column;
  gap: var(--hp-sp-6);
}

.hp-shop-filters__title {
  font-size: var(--hp-text-xs);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--hp-text-muted);
  margin: 0 0 var(--hp-sp-3);
}

/* Collapsible groups (HORIZON-20261002-010): each facet is a <details>, its
   title the <summary>; a long list folds behind a nested "Show all N" <details>.
   docs/shop-filter-groups-scope-2026-10-02.md, option A. */
.hp-shop-filters__facet > summary.hp-shop-filters__title {
  display: flex;
  align-items: center;
  gap: var(--hp-sp-2);
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.hp-shop-filters__facet > summary::-webkit-details-marker,
.hp-shop-filters__more > summary::-webkit-details-marker { display: none; }
.hp-shop-filters__facet > summary.hp-shop-filters__title::after {
  content: '';
  margin-left: auto;
  width: 0.45em;
  height: 0.45em;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(25%) rotate(-135deg); /* open: points up */
  transition: transform var(--hp-dur) var(--hp-ease);
}
.hp-shop-filters__facet:not([open]) > summary.hp-shop-filters__title { margin-bottom: 0; }
.hp-shop-filters__facet:not([open]) > summary.hp-shop-filters__title::after { transform: translateY(-25%) rotate(45deg); /* folded: points down */ }
.hp-shop-filters__facet > summary:focus-visible,
.hp-shop-filters__more > summary:focus-visible {
  outline: 2px solid var(--hp-gold);
  outline-offset: 2px;
}
/* How many ticks a group carries, so a folded group still says it is filtering. */
.hp-shop-filters__ticked {
  min-width: 1.6em;
  padding: 0 0.4em;
  border: 1px solid var(--hp-gold);
  border-radius: var(--hp-radius-pill, 999px);
  color: var(--hp-gold);
  font-weight: 600;
  letter-spacing: 0;
  text-align: center;
  line-height: 1.5;
}
.hp-shop-filters__more { margin-top: var(--hp-sp-2); }
.hp-shop-filters__more > .hp-shop-filters__chips { margin-top: var(--hp-sp-2); }
.hp-shop-filters__more-toggle {
  display: inline-flex;
  align-items: center;
  list-style: none;
  cursor: pointer;
  padding: var(--hp-sp-1) 0;
  font-size: var(--hp-text-xs);
  color: var(--hp-text-muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.hp-shop-filters__more-toggle:hover { color: var(--hp-gold); }
.hp-shop-filters__more-hide { display: none; }
.hp-shop-filters__more[open] > .hp-shop-filters__more-toggle .hp-shop-filters__more-show { display: none; }
.hp-shop-filters__more[open] > .hp-shop-filters__more-toggle .hp-shop-filters__more-hide { display: inline; }

.hp-shop-filters__price-row {
  display: flex;
  align-items: center;
  gap: var(--hp-sp-2);
}
.hp-shop-filters__price-row input[type="number"] {
  width: 0;
  flex: 1;
  min-width: 0;
  padding: var(--hp-sp-2) var(--hp-sp-3);
  border: 1px solid var(--hp-border);
  border-radius: var(--hp-r-sm);
  background: var(--hp-bg-surface);
  color: var(--hp-text);
  font-size: var(--hp-text-sm);
}

.hp-shop-filters__chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--hp-sp-2);
}

.hp-shop-filters__chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  font-size: var(--hp-text-xs);
  padding: var(--hp-sp-2) var(--hp-sp-3);
  border: 1px solid var(--hp-border-strong);
  border-radius: var(--hp-r-sm);
  color: var(--hp-text-muted);
  cursor: pointer;
  transition: border-color var(--hp-dur) var(--hp-ease), color var(--hp-dur) var(--hp-ease);
}
.hp-shop-filters__chip input {
  /* No pointer-events:none here — that blocks the browser's native
     label-click-activates-its-checkbox behaviour in Chromium, so clicking
     the visible chip silently did nothing (found live 2026-07-27). The
     checkbox stays fully clickable, just visually hidden under the label. */
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
/* Product count on each chip (HORIZON-20260902-008): quiet, never the first thing read. */
.hp-shop-filters__count {
  font-style: normal;
  font-size: var(--hp-text-xs);
  color: var(--hp-text-subtle);
  margin-left: 0.15em;
}
.hp-shop-filters__chip--checked .hp-shop-filters__count { color: inherit; opacity: 0.75; }

.hp-shop-filters__chip--checked {
  border-color: var(--hp-gold);
  color: var(--hp-gold);
  font-weight: 600;
}

.hp-shop-filters__apply {
  width: 100%;
  justify-content: center;
}

.hp-shop-filters__clear {
  font-size: var(--hp-text-xs);
  color: var(--hp-text-muted);
  text-align: center;
  text-decoration: underline;
}
.hp-shop-filters__clear:hover { color: var(--hp-gold); }

.hp-shop-filters-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--hp-sp-5) var(--hp-sp-6);
  border-bottom: 1px solid var(--hp-border);
  font-size: var(--hp-text-sm);
  font-weight: 600;
}
.hp-shop-filters-drawer__header button {
  background: none;
  border: none;
  color: var(--hp-text-muted);
  cursor: pointer;
  display: flex;
}

.hp-shop-filters--drawer .hp-shop-filters__form {
  padding: var(--hp-sp-6);
}

@media (max-width: 768px) {
  .hp-shop-layout { grid-template-columns: minmax(0, 1fr); }
  .hp-shop-filters--sidebar { display: none; }
  .hp-shop-filters-mobile { display: block; margin-bottom: var(--hp-sp-6); }
  .hp-shop-filters--drawer {
    display: block;
    position: fixed;
    inset: 0 0 0 auto;
    width: min(340px, 90vw);
    height: 100%;
    transform: translateX(100%);
    transition: transform 0.25s ease;
    background: var(--hp-bg-surface);
    border-left: 1px solid var(--hp-border);
    z-index: 9999; /* matches the lightbox/offcanvas overlay convention */
    overflow-y: auto;
  }
  .hp-shop-filters--drawer.is-open { transform: translateX(0); }
  /* The fold controls are tap targets in the drawer (mobile probe tap-small, 44px). */
  .hp-shop-filters__facet > summary.hp-shop-filters__title,
  .hp-shop-filters__more-toggle { min-height: 44px; }
}


/* ══ Size guide tab content ══
   Size guide tab content
   ========================================================================== */

.hp-size-guide {
  max-width: 720px;
}

.hp-size-guide table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--hp-text-sm);
  margin-top: var(--hp-sp-4);
}

.hp-size-guide th,
.hp-size-guide td {
  padding: var(--hp-sp-3) var(--hp-sp-4);
  border: 1px solid var(--hp-border);
  text-align: left;
}

.hp-size-guide th {
  background: var(--hp-bg-surface);
  font-weight: 600;
  color: var(--hp-text);
}

.hp-size-guide td {
  color: var(--hp-text-muted);
}



/* ══ Cart + Checkout (WooCommerce BLOCKS) ═══════════════════════════════
   HORIZON-20260901-081.

   ⛔⛔ THE TARGET IS THE **BLOCK** CART AND CHECKOUT, NOT THE CLASSIC
   TEMPLATES. Measured 2026-09-01: the cart and checkout pages are
   `wp:woocommerce/cart` / `wp:woocommerce/checkout` BLOCKS on every tenant
   except the `star` and `fetish` samples. Before this, only one merch store and
   `store` had any Horizon styling on them — every other merch store served the
   STOCK WooCommerce block cart, because these rules lived in
   `wp-child-theme-commerce/assets/css/hp-shop.css` alone.

   ⛔⛔ AND THIS IS WHY THE GAP WAS INVISIBLE. Four of the five themes DO ship
   `woocommerce/cart/cart.php`, `checkout/form-checkout.php` and ~39 classic
   `.woocommerce-cart` / `.woocommerce-checkout` rules — and ALL OF IT IS DEAD
   CODE on a block cart. **A theme having a cart template is not evidence the
   cart is styled.** Same trap the commerce theme already carried
   (`-20260819-007`, memory `feedback-block-cart-is-not-the-classic-template`);
   it turns out to apply estate-wide.

   ⚠️ The dead classic templates and CSS are deliberately LEFT IN PLACE by this
   change — retiring them is a separate decision, and they are the fallback if a
   tenant is ever switched back to classic pages (`star` and `fetish` still use
   them today).

   Lifted verbatim from hp-shop.css 1990-2227. All 24 tokens verified present in
   entertainer, dark-luxury and both per-client themes.
   ══════════════════════════════════════════════════════════════════════ */

/* ==========================================================================
   Cart (WooCommerce Blocks — wp:woocommerce/cart)
   Flagged critical 2026-07-28: bare default styling. Real class names
   confirmed against the live hydrated DOM, same as checkout below.
   ========================================================================== */

.wp-block-woocommerce-cart {
  font-family: var(--hp-font-body);
  color: var(--hp-text);
  max-width: var(--hp-content-max);
  margin: 0 auto;
  padding: var(--hp-sp-10) var(--hp-content-pad) var(--hp-sp-16);
}

.wc-block-cart-item__product .wc-block-components-product-name {
  font-family: var(--hp-font-display) !important;
  color: var(--hp-text) !important;
  font-size: var(--hp-text-lg, 1.1rem) !important;
  text-decoration: none !important;
}

.wc-block-components-quantity-selector {
  border: 1px solid var(--hp-border) !important;
  border-radius: var(--hp-r-sm) !important;
}

.wc-block-components-quantity-selector__button {
  color: var(--hp-text) !important;
  /* WC Blocks' own default renders these at ~30x37px — under the ~44px
     minimum tap target size (WCAG 2.5.5 / Apple HIG), found live 2026-07-28
     on a mobile pass of the Cart page. */
  min-width: 44px !important;
  min-height: 44px !important;
}

.wc-block-cart-item__remove-link {
  color: var(--hp-text-muted, var(--hp-text)) !important;
}

.wc-block-cart-item__remove-link:hover {
  color: #c0392b !important;
}

.wc-block-cart__sidebar,
.wc-block-cart-totals-block .wc-block-components-sidebar {
  background: var(--hp-bg-surface) !important;
  border: 1px solid var(--hp-border) !important;
  border-radius: var(--hp-r-md) !important;
  padding: var(--hp-sp-6) !important;
}

.wc-block-cart__totals-title {
  font-family: var(--hp-font-display) !important;
  color: var(--hp-text) !important;
}

.wc-block-cart__submit-button {
  background: var(--hp-gold) !important;
  border-color: var(--hp-gold) !important;
  color: var(--hp-on-accent, #fff) !important;
  border-radius: var(--hp-r-sm) !important;
  font-family: var(--hp-font-body) !important;
  font-weight: 600 !important;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.wc-block-cart__submit-button:hover {
  background: var(--hp-gold-dark, var(--hp-gold)) !important;
}

@media (max-width: 782px) {
  .wp-block-woocommerce-cart {
    padding: var(--hp-sp-6) var(--hp-content-pad) var(--hp-sp-10);
  }
}

/* ==========================================================================
   Checkout (WooCommerce Blocks — wp:woocommerce/checkout)
   Flagged critical 2026-07-28: bare default WC Blocks styling, no brand
   tokens applied anywhere. Real class names confirmed against the live
   hydrated DOM (a live store's /checkout/), not guessed — Blocks
   renders form fields client-side, so a plain curl only shows the
   pre-hydration skeleton.
   ========================================================================== */

.wc-block-checkout {
  font-family: var(--hp-font-body);
  color: var(--hp-text);
  max-width: var(--hp-content-max);
  margin: 0 auto;
  padding: var(--hp-sp-10) var(--hp-content-pad) var(--hp-sp-16);
}

/* Step headings ("Contact information", "Shipping address", etc.) */
.wc-block-components-checkout-step__title {
  font-family: var(--hp-font-display);
  font-size: var(--hp-text-xl);
  color: var(--hp-text);
  margin-bottom: var(--hp-sp-4);
}

.wc-block-components-checkout-step__heading-content {
  border-bottom: 1px solid var(--hp-border);
  padding-bottom: var(--hp-sp-3);
  margin-bottom: var(--hp-sp-5);
}

/* Text inputs — WC Blocks' floating-label pattern */
.wc-block-components-text-input input[type="email"],
.wc-block-components-text-input input[type="text"],
.wc-block-components-text-input input[type="tel"],
.wc-block-components-address-form select,
.wc-block-components-country-input .components-combobox-control__input,
.wc-block-components-state-input .components-combobox-control__input {
  border: 1px solid var(--hp-border) !important;
  border-radius: var(--hp-r-sm) !important;
  background: var(--hp-bg) !important;
  color: var(--hp-text) !important;
  font-family: var(--hp-font-body) !important;
}

.wc-block-components-text-input input:focus,
.wc-block-components-address-form select:focus {
  border-color: var(--hp-gold) !important;
  box-shadow: 0 0 0 1px var(--hp-gold) !important;
  outline: none !important;
}

.wc-block-components-text-input label {
  font-family: var(--hp-font-body) !important;
  color: var(--hp-text-muted, var(--hp-text)) !important;
}

/* Country/State selects (a different WC Blocks component,
   .wc-blocks-components-select, not the text-input one above) — its "notch"
   label is meant to sit astride the field's top border with an opaque
   background masking the border/value beneath it, but this theme never gave
   it that background, so the label just floated transparently on top of the
   selected value text (found live 2026-07-28, both "Country/Region" over
   "United States (US)" and "State" over "Florida"). Position and mask it
   explicitly rather than rely on WC's own notch math. */
.wc-blocks-components-select__container {
  position: relative !important;
}
.wc-blocks-components-select__label {
  position: absolute !important;
  top: -8px !important;
  left: 12px !important;
  background: var(--hp-bg) !important;
  padding: 0 4px !important;
  font-family: var(--hp-font-body) !important;
  font-size: var(--hp-text-xs) !important;
  color: var(--hp-text-muted, var(--hp-text)) !important;
  z-index: 2;
}

/* Our checkout opt-in checkbox (Subscribers/WooCommerceCheckout.php) and any
   other checkbox field — brand accent on the checked state. */
.wc-block-components-checkbox__input:checked + .wc-block-components-checkbox__mark {
  color: var(--hp-gold) !important;
}

.wc-block-components-checkbox svg {
  fill: var(--hp-gold) !important;
}

/* Shipping-option / payment-option radio cards */
.wc-block-components-radio-control__option {
  border: 1px solid var(--hp-border) !important;
  border-radius: var(--hp-r-sm) !important;
  background: var(--hp-bg) !important;
}

.wc-block-components-radio-control__option.wc-block-components-radio-control__option-checked,
.wc-block-components-radio-control__option[aria-checked="true"] {
  border-color: var(--hp-gold) !important;
  background: var(--hp-gold-muted, rgba(0, 0, 0, 0.04)) !important;
}

.wc-block-components-radio-control-accordion-option[aria-expanded="true"] {
  border-color: var(--hp-gold) !important;
}

/* Order summary / totals sidebar */
.wc-block-checkout__sidebar {
  background: var(--hp-bg-surface) !important;
  border: 1px solid var(--hp-border) !important;
  border-radius: var(--hp-r-md) !important;
  padding: var(--hp-sp-6) !important;
}

.wc-block-components-totals-item__label,
.wc-block-components-totals-item__value,
.wc-block-components-product-name {
  font-family: var(--hp-font-body) !important;
  color: var(--hp-text) !important;
}

.wc-block-components-totals-footer-item .wc-block-components-totals-item__label,
.wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
  font-family: var(--hp-font-display) !important;
  font-size: var(--hp-text-xl) !important;
  font-weight: 600 !important;
}

/* Place-order button — same brand button treatment as the rest of the site */
.wc-block-components-checkout-place-order-button {
  background: var(--hp-gold) !important;
  border-color: var(--hp-gold) !important;
  color: var(--hp-on-accent, #fff) !important;
  border-radius: var(--hp-r-sm) !important;
  font-family: var(--hp-font-body) !important;
  font-weight: 600 !important;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.wc-block-components-checkout-place-order-button:hover {
  background: var(--hp-gold-dark, var(--hp-gold)) !important;
  border-color: var(--hp-gold-dark, var(--hp-gold)) !important;
}

/* Notice banners (errors, "no payment methods", coupon feedback, etc.) */
.wc-block-components-notice-banner {
  border-radius: var(--hp-r-sm) !important;
  font-family: var(--hp-font-body) !important;
}

.wc-block-components-notice-banner.is-error {
  border-left: 3px solid #c0392b !important;
}

@media (max-width: 782px) {
  .wc-block-checkout {
    padding: var(--hp-sp-6) var(--hp-content-pad) var(--hp-sp-10);
  }
}

/* ══ Category page-header image layer (Core shop archive, HORIZON-20260901-107) ══
   Lifted verbatim from wp-child-theme-commerce hp-shop.css (".hp-collection-hero__*")
   and hp-base.css (".hp-page-header--has-image .hp-container"). The band itself is
   positioned here because only the commerce theme positions .hp-page-header. */

.hp-page-header--has-image { position: relative; overflow: hidden; }
.hp-page-header--has-image .hp-container {
  position: relative;
  z-index: 1;
}

.hp-collection-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hp-collection-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
  display: block;
}

.hp-collection-hero__breadcrumb {
  font-size: var(--hp-text-xs);
  color: var(--hp-text-muted);
  margin-bottom: var(--hp-sp-4);
}

.hp-collection-hero__breadcrumb a {
  color: var(--hp-text-muted);
  text-decoration: none;
}

.hp-collection-hero__breadcrumb a:hover {
  color: var(--hp-text);
}

/* ══ Category head, premium pass (HORIZON-20261119-019) ══
   Measured on a creator store's category pages at 375/390/768/1024/1440, 2026-11-19:
   - A square product-shot cover, cropped into a wide band at 25% opacity, showed a dim slice of chin and shoulder
     behind the title. Square and portrait covers (.hp-page-header--cover-feature, set by hp_render_shop_archive()
     from the attachment's own size) now stand on the right of the band, faded in on every edge, words on the left.
     Wide covers keep the full-band treatment above, unchanged.
   - The breadcrumb's 44px tap boxes centred each word, so "Shop" floated 8px right of the H1 with a ragged gap
     before the slash. Words now start at the box's left edge; the trail is a quiet uppercase line.
   - The description was 14px muted text under a 42px title. It reads at body size now (16px on every width).
   - A category with no description put the pills 12px under the H1.
   Specificity: `.hp-page-header` in front so these win over the tap-floor rule further down this file. */
.hp-page-header .hp-collection-hero__breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 10px;
  margin-bottom: var(--hp-sp-2);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hp-text);
}
.hp-page-header .hp-collection-hero__breadcrumb a { justify-content: flex-start; color: var(--hp-text-muted); }
.hp-page-header .hp-collection-hero__breadcrumb a:hover { color: var(--hp-text); }
.hp-page-header .hp-collection-hero__breadcrumb > span[aria-hidden] { color: var(--hp-gold); opacity: 0.6; }
.hp-page-header .hp-collection-hero__breadcrumb > [aria-current] { color: var(--hp-text); }

.hp-collection-hero__desc {
  max-width: 560px;
  margin: 0 0 var(--hp-sp-8);
  color: var(--hp-text-muted);
  font-size: var(--hp-text-base);
  line-height: 1.6;
}
.hp-collection-hero__breadcrumb ~ h1 + .hp-category-filter { margin-top: var(--hp-sp-6); }

.hp-page-header--cover-feature .hp-collection-hero__bg {
  inset: 0 0 0 auto;
  width: min(56%, 720px);
}
.hp-page-header--cover-feature .hp-collection-hero__bg img {
  opacity: 0.95;
  object-position: 50% 28%;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 55%), linear-gradient(to bottom, transparent 0, #000 14%, #000 58%, transparent 100%);
  -webkit-mask-composite: source-in;
          mask-image: linear-gradient(to right, transparent 0, #000 55%), linear-gradient(to bottom, transparent 0, #000 14%, #000 58%, transparent 100%);
          mask-composite: intersect;
}
.hp-page-header--cover-feature h1,
.hp-page-header--cover-feature .hp-collection-hero__desc { text-shadow: 0 1px 18px color-mix(in srgb, var(--hp-bg) 85%, transparent); } /* the store's own background, so a light store gets a light halo, not a smudge */
.hp-page-header--cover-feature .hp-category-filter__tab:not(.hp-category-filter__tab--active) {
  background: color-mix(in srgb, var(--hp-bg) 78%, transparent);
}
@media (max-width: 480px) {
  .hp-page-header .hp-collection-hero__breadcrumb { column-gap: 6px; letter-spacing: 0.06em; }
}
@media (max-width: 768px) {
  .hp-page-header--cover-feature .hp-collection-hero__bg { width: 72%; }
  .hp-page-header--cover-feature .hp-collection-hero__bg img {
    opacity: 0.7;
    object-position: 60% 20%;
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 70%), linear-gradient(to bottom, #000 0, #000 40%, transparent 85%);
            mask-image: linear-gradient(to right, transparent 0, #000 70%), linear-gradient(to bottom, #000 0, #000 40%, transparent 85%);
  }
}

/* A category with nothing to filter (two products or fewer, no filter applied; .hp-shop-layout--few is set in PHP):
   no filter column on desktop, no Filters button on a phone. A one-product category showed "Price / Min / Max /
   Apply" beside its single card. */
/* A store with refinements (two full-width pill rows): the photo shows only where the pills stay below her face
   (HORIZON-20261120-010). Narrower, the header is the photo-less one it was before. */
@media (max-width: 1399px) {
  .hp-page-header--cover-wide-only .hp-collection-hero__bg { display: none; }
}

.hp-shop-layout--few { grid-template-columns: minmax(0, 1fr); }
.hp-shop-layout--few .hp-shop-filters--sidebar,
.hp-shop-layout--few .hp-shop-filters-mobile { display: none; }

/* An empty category (reachable from footer menus): was a 64px icon, a left-aligned sentence and a ghost link. Now
   one centred panel with a heading and a primary button on. */
.hp-empty-state--category {
  max-width: 560px;
  margin: var(--hp-sp-4) auto var(--hp-sp-8);
  padding: var(--hp-sp-12) var(--hp-sp-6);
  border: 1px solid var(--hp-border);
  border-radius: var(--hp-r-lg, 12px);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--hp-sp-3);
}
.hp-empty-state--category .hp-empty-state__icon { color: var(--hp-gold); opacity: 0.85; margin-bottom: var(--hp-sp-2); }
.hp-empty-state--category .hp-empty-state__title { margin: 0; font-size: var(--hp-text-2xl); font-weight: 400; }
.hp-empty-state--category p { margin: 0 0 var(--hp-sp-4); color: var(--hp-text-muted); max-width: 40ch; }


/* ══════════════════════════════════════════════════════════════════════════
   HORIZON-20260902-012 — the rest of the merch-store treatment.

   Measured 2026-09-02 on an entertainer tenant against a live merch store
   (commerce): the four non-commerce themes carry a COPY of the commerce theme's
   single-product / account CSS, but the copy was taken before five blocks were
   added to the original, so on a merch-package tenant those blocks had ZERO
   rules anywhere. What that looked like live on a creator's product page:

     · .hp-gallery-thumb — Core's hp_gallery_thumb_script() builds the thumbnail
       strip on every product page, so every gallery image rendered STACKED AT
       FULL WIDTH under the main photo (a 3-image product was 6,447px tall on
       desktop and 6,845px on a phone). Thumb strip rules below.
     · .hp-swatch — one word chip for every variation option (colours and sizes); the theme showed bare selects.
     · .hp-pdp-breadcrumb — the breadcrumb Core's single-product renderer prints.
     · .show-password-input — WooCommerce ships that button with NO icon; it was
       a bare grey square on the login form.
     · .woocommerce-account .woocommerce — no margin-top for the fixed header, so
       "Login" sat underneath the site header. The theme copy declares
       `margin: 0 auto` AFTER this sheet loads, hence the body-qualified selector
       (0-2-1 beats the theme's 0-2-0).

   ⭐ LIFTED from wp-child-theme-commerce/assets/css/hp-shop.css (993-1030 thumbs,
   1078-1185 swatches, 1816-1836 breadcrumb, 1915-2001 account dashboard + show
   password). One deliberate change: the active-thumb border used
   `var(--hp-color-primary, #111)`, a token no skin defines; it reads --hp-gold.
   ══════════════════════════════════════════════════════════════════════════ */

/* ── Product gallery thumbnail strip (built by hp_gallery_thumb_script) ──
   Printify syncs one image per colour/angle, so 24 thumbs on a hoodie is
   normal: the strip scrolls horizontally instead of blowing out the row. */
/* The two PDP grid columns must be allowed to shrink below their content's min-content, or the
   thumbnail strip below (overflow-x:auto, but 14 Printify mockups wide) sets the column width and
   the main image scales to it. Pairs with minmax(0,1fr) in Commerce/single-product.php.
   HORIZON-20260906-011. */
.hp-product-gallery,
.hp-product-summary {
  min-width: 0;
}

.hp-gallery-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 4px;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}
.hp-gallery-thumb {
  flex: 0 0 80px;
  width: 80px;
  height: 80px;
  cursor: pointer;
  border: 2px solid var(--hp-border);
  border-radius: var(--hp-r-sm);
  overflow: hidden;
  opacity: 0.55;
  transition: opacity 0.18s ease, border-color 0.18s ease;
}
.hp-gallery-thumb:hover,
.hp-gallery-thumb--active {
  opacity: 1;
  border-color: var(--hp-gold);
}
.hp-gallery-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* ── Variation swatches (initVariationSwatches in hp-commerce-storefront.js) ──
   The native select stays in the DOM for WooCommerce's own variation logic
   and is only visually / AT hidden; without JS it is never hidden and the
   plain dropdown still works. */
.hp-variations-native-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
  pointer-events: none !important;
}
.hp-swatch-row {
  margin-bottom: var(--hp-sp-5);
}
.hp-swatch-row__label {
  display: block;
  font-family: var(--hp-font-body);
  font-size: var(--hp-text-sm);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--hp-text-muted);
  margin-bottom: var(--hp-sp-2);
}
.hp-swatch-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--hp-sp-2);
}
.hp-swatch {
  font-family: var(--hp-font-body);
  cursor: pointer;
  background: var(--hp-bg);
  color: var(--hp-text);
  border: 1px solid var(--hp-border);
  border-radius: var(--hp-r-sm);
  transition: border-color var(--hp-dur) var(--hp-ease),
              background var(--hp-dur) var(--hp-ease),
              color var(--hp-dur) var(--hp-ease),
              box-shadow var(--hp-dur) var(--hp-ease);
}
.hp-swatch:hover {
  border-color: var(--hp-border-strong);
}
.hp-swatch:focus-visible {
  outline: 2px solid var(--hp-gold);
  outline-offset: 2px;
}
/* ONE chip for colours AND sizes (HORIZON-20260927-001, Core 1.41.10): same height, radius, weight and selected
   state, so a product never shows dots, pills and boxes side by side. Selected = the accent fill (set inline by the
   script too, see hpApplySwatchSelection). */
.hp-swatch--chip {
  min-width: 48px;
  height: 44px;
  padding: 0 var(--hp-sp-4);
  border-radius: var(--hp-radius-pill, var(--hp-r-full));
  font-size: var(--hp-text-sm);
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.hp-swatch--chip.is-selected {
  background: var(--hp-gold) !important;
  border-color: var(--hp-gold) !important;
  color: var(--hp-on-accent) !important;
}
/* The chosen colour, named beside the row label: "COLORS · Solid Pink Blend". */
.hp-swatch-row__value:not(:empty)::before {
  content: '\00B7';
  margin: 0 0.5em;
}
.hp-swatch-row__value {
  text-transform: none;
  letter-spacing: 0;
  color: var(--hp-text);
}
/* WooCommerce's "Clear" link printed as a default blue underlined link under the chips. */
.variations_form .reset_variations {
  font-family: var(--hp-font-body);
  font-size: var(--hp-text-sm);
  color: var(--hp-text-muted);
  text-decoration: none;
  letter-spacing: 0.04em;
}
.variations_form .reset_variations:hover,
.variations_form .reset_variations:focus-visible {
  color: var(--hp-gold);
}
.hp-swatch[disabled] {
  cursor: not-allowed;
  opacity: 0.35;
  position: relative;
}
.hp-swatch[disabled]::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top right, transparent calc(50% - 1px), var(--hp-border-strong), transparent calc(50% + 1px));
  border-radius: inherit;
}

/* ── PDP breadcrumb (above the category eyebrow, hp_render_single_product) ── */
.hp-pdp-breadcrumb {
  margin-bottom: var(--hp-sp-4);
}
.hp-pdp-breadcrumb .hp-breadcrumb {
  font-size: var(--hp-text-xs);
  color: var(--hp-text-muted);
}
.hp-pdp-breadcrumb .hp-breadcrumb a {
  color: var(--hp-text-muted);
  text-decoration: none;
}
.hp-pdp-breadcrumb .hp-breadcrumb a:hover {
  color: var(--hp-text);
}

/* ── My Account: clear the fixed header, two-column dashboard, show-password ── */
body.woocommerce-account .woocommerce {
  /* The theme copy has max-width/padding but no header offset, so "Login"
     rendered underneath the fixed header. body-qualified to outrank the
     theme's later `margin: 0 auto` shorthand. */
  margin-top: var(--hp-header-h);
}
.woocommerce-account .woocommerce:has(.woocommerce-MyAccount-navigation) {
  display: flex;
  gap: var(--hp-sp-10);
  align-items: flex-start;
}
.password-input {
  position: relative;
  display: block;
}
.show-password-input {
  position: absolute;
  top: 50%;
  right: var(--hp-sp-3);
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  border: none !important;
  background: transparent !important;
  cursor: pointer;
  padding: 0;
}
.show-password-input::before {
  content: '';
  display: block;
  width: 20px;
  height: 20px;
  background-color: var(--hp-text-muted, var(--hp-text));
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") no-repeat center / 18px;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") no-repeat center / 18px;
}
.woocommerce-MyAccount-content {
  flex: 1;
  font-family: var(--hp-font-body);
  color: var(--hp-text);
}
.woocommerce-MyAccount-content h2,
.woocommerce-MyAccount-content h3 {
  font-family: var(--hp-font-display);
  color: var(--hp-text);
}
.woocommerce-MyAccount-content table.shop_table {
  border: 1px solid var(--hp-border);
  border-radius: var(--hp-r-sm);
}
@media (max-width: 782px) {
  .woocommerce-account .woocommerce:has(.woocommerce-MyAccount-navigation) {
    flex-direction: column;
  }
  .woocommerce-MyAccount-navigation {
    flex: 1 1 auto;
    width: 100%;
  }
}


/* ── Gallery: only the first image paints; the strip above stands in for the
   rest. The four non-commerce theme copies SPACE stacked images
   (`+ .woocommerce-product-gallery__image { margin-top }`) where the commerce
   original HIDES them, so even with the thumb strip styled every gallery image
   still rendered full-size in a column (measured 2026-09-02: 5,602px desktop,
   7,008px phone on a 3-image product). Different property from the theme's
   rule, so load order does not matter. */
.single-product .woocommerce-product-gallery__image + .woocommerce-product-gallery__image {
  display: none;
}

/* ══════════════════════════════════════════════════════════════════════════
   STORE POLISH: product page, add-to-cart notice, cart, checkout header
   (Alex, 2026-10-02, a creator's merch review; measured on the live site).

   Every rule is `html body`-prefixed on purpose. This sheet loads BEFORE the five
   theme copies of hp-shop.css, so an equal-specificity theme rule would win.
   Colours, radii and type are tokens only, so a skin keeps its own look.
   ══════════════════════════════════════════════════════════════════════════ */

/* ── 1. Header band: ONE quiet treatment on product, cart and checkout ──────
   The product page printed a full-bleed grey band; cart and checkout printed the
   same band BOXED inside the content container (a grey slab with a gap either
   side). Neither carried any design. Both are now an unfilled band: no slab, so
   there is no edge to disagree about, and the title carries a short accent rule. */
html body.woocommerce-cart .hp-page-header,
html body.woocommerce-checkout .hp-page-header,
html body.woocommerce-account .hp-page-header {
  background: transparent;
  border-bottom: 0;
  padding: var(--hp-sp-10) 0 var(--hp-sp-2);
}
html body.woocommerce-cart .hp-page-header__title,
html body.woocommerce-checkout .hp-page-header__title,
html body.woocommerce-account .hp-page-header__title {
  font-size: clamp(1.75rem, 1.2rem + 2vw, 2.5rem);
  letter-spacing: 0.02em;
  margin-bottom: 0;
}
html body.woocommerce-cart .hp-page-header__title::after,
html body.woocommerce-checkout .hp-page-header__title::after,
html body.woocommerce-account .hp-page-header__title::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  margin: var(--hp-sp-4) auto 0;
  background: var(--hp-gold);
  border-radius: var(--hp-r-full);
}

/* My Account joined the band (HORIZON-20261005-024, Core 1.41.109). The band clears the fixed header itself, so the
   account form's own header offset (`body.woocommerce-account .woocommerce { margin-top: var(--hp-header-h) }`, below,
   kept for a page that prints no band) left a gap of a header's height under the title. */
html body.woocommerce-account .hp-page-header + .woocommerce {
  margin-top: var(--hp-sp-6);
}

/* The "Size guide" link under a garment's size picker (hp_size_guide_link(), Core 1.41.107): the same quiet, underlined
   text as the picker's own "Clear" link, not the browser's default blue. Its 44px tap height is inline. */
html body .hp-size-guide-link a {
  color: var(--hp-text);
  font-size: var(--hp-text-sm);
  letter-spacing: 0.04em;
  text-decoration: underline;
  text-underline-offset: 3px;
}
html body .hp-size-guide-link a:hover {
  color: var(--hp-gold);
}

/* Product page: the band is the breadcrumb only (the category moved above the title). */
html body.single-product .hp-page-header {
  background: transparent;
  border-bottom: 1px solid var(--hp-border);
  padding: var(--hp-sp-4) 0;
}
html body.single-product .hp-pdp-breadcrumb {
  margin: 0;
}
html body.single-product .hp-pdp-breadcrumb .hp-breadcrumb {
  font-size: var(--hp-text-sm);
  letter-spacing: 0.02em;
}
html body.single-product .hp-pdp-breadcrumb .hp-breadcrumb a:hover {
  color: var(--hp-gold);
}
html body.single-product .hp-section.product {
  padding-top: var(--hp-sp-10);
}

/* ── 2. Product summary: eyebrow, title, price ───────────────────────────── */
html body.single-product .hp-pdp-eyebrow {
  display: block;
  margin: 0 0 var(--hp-sp-3);
  font-family: var(--hp-font-body);
  font-size: var(--hp-text-sm);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hp-gold);
}
html body.single-product .hp-pdp-eyebrow a {
  color: inherit !important;
  text-decoration: none;
}
html body.single-product .hp-pdp-eyebrow a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
/* The "Shipping Policy" link after the shipping estimate (src/Commerce/shipping-estimates.php) had no rule, so it
   painted the parent theme's default link blue, rgb(30,115,190): 3.9:1 on a dark store (HORIZON-20261129-078).
   It takes the site's accent, nudged 10% toward the site's text colour. Why not the bare accent: measured
   2026-11-29, one dark store's accent is 4.42:1 on its own background; the 10% step lifted every store measured
   to 5.2:1 or more (dark and light) while still reading as the accent. A future accent under about 4:1 on its
   background still needs a darker accent token, not a bigger mix here. Underline kept: a link in running text
   must not be told apart by colour alone. */
html body.single-product .hp-shipping-estimate a {
  color: color-mix(in srgb, var(--hp-gold) 90%, var(--hp-text));
  text-decoration: underline;
  text-underline-offset: 3px;
}
html body.single-product .hp-shipping-estimate a:hover {
  color: var(--hp-text);
}
html body.single-product .hp-product-summary .product_title {
  font-size: clamp(1.75rem, 1.1rem + 1.9vw, 2.5rem) !important;
  line-height: 1.1;
  letter-spacing: 0.01em;
  margin-bottom: var(--hp-sp-3) !important;
}
html body.single-product .hp-product-summary .price {
  font-family: var(--hp-font-body);
  font-size: var(--hp-text-xl) !important;
  font-weight: 600;
  color: var(--hp-text) !important;
  margin-bottom: var(--hp-sp-6) !important;
}

/* ── 3. Variations: no grey cells, one rhythm, "Clear" on the label line ─────
   The swatch script inserts its rows INTO <tbody> beside WooCommerce's own <tr>,
   whose cells (8px padding, hairlines, the Clear link) painted as empty grey boxes
   under every row. The table is flattened to blocks; the cells carry nothing but
   the hidden native <select> and the Clear link, which is lifted to the block's
   top right. */
html body.single-product .variations_form table.variations,
html body.single-product .variations_form table.variations tbody,
html body.single-product .variations_form table.variations tr,
html body.single-product .variations_form table.variations th,
html body.single-product .variations_form table.variations td {
  display: block;
  width: auto;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
}
html body.single-product .variations_form table.variations {
  position: relative;
  width: 100%;
  flex: 0 0 100%;
  margin-bottom: var(--hp-sp-2);
}
html body.single-product .variations_form table.variations th.label {
  display: none;
}
html body.single-product .variations_form .hp-swatch-row {
  margin-bottom: var(--hp-sp-6);
}
html body.single-product .variations_form .hp-swatch-row__label {
  font-size: var(--hp-text-sm);
  letter-spacing: 0.1em;
  margin-bottom: var(--hp-sp-3);
}
html body.single-product .variations_form .hp-swatch-group {
  gap: var(--hp-sp-3);
}
html body.single-product .variations_form .hp-swatch--chip {
  min-width: 56px;
  background: var(--hp-bg);
  border-color: var(--hp-border-strong, var(--hp-border));
}
html body.single-product .variations_form .hp-swatch--chip:hover:not(.is-selected):not([disabled]) {
  border-color: var(--hp-text);
}
html body.single-product .variations_form .hp-swatch--chip.is-selected {
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--hp-gold) 22%, transparent);
}
html body.single-product .variations_form .reset_variations {
  position: absolute;
  top: 2px;
  right: 0;
  font-size: var(--hp-text-sm);
  text-decoration: underline;
  text-underline-offset: 3px;
}
html body.single-product .single_variation_wrap {
  flex: 0 0 100%;
}

/* ── 4. Buy row: stepper + Add to cart on ONE line, trust strip under it ───── */
html body.single-product form.cart:not(.variations_form),
html body.single-product .woocommerce-variation-add-to-cart {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: var(--hp-sp-3);
}
html body.single-product form.cart {
  margin-bottom: var(--hp-sp-6) !important;
}
html body.single-product form.cart .single_add_to_cart_button {
  flex: 1 1 170px;
  text-align: center;
  height: 52px !important;
  padding: 0 var(--hp-sp-8);
  border-radius: var(--hp-r-sm);
  font-family: var(--hp-font-body);
  font-size: var(--hp-text-sm);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
html body.single-product form.cart .hp-trust-badges {
  flex: 0 0 100%;
  margin-top: var(--hp-sp-2);
}
/* The stepper the script wraps around the quantity input (initQtySteppers). */
html body.single-product form.cart .quantity.hp-stepper {
  display: inline-flex;
  align-items: stretch;
  flex: 0 0 auto;
  height: 52px;
  border: 1px solid var(--hp-border-strong, var(--hp-border));
  border-radius: var(--hp-r-sm);
  background: var(--hp-bg);
  overflow: hidden;
}
html body.single-product form.cart .quantity.hp-stepper input.qty {
  width: 48px;
  height: auto !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  font-size: 1rem;
  font-weight: 600;
}
.hp-stepper__btn {
  flex: 0 0 44px;
  width: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--hp-text);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  transition: background var(--hp-dur) var(--hp-ease);
}
.hp-stepper__btn:hover:not([disabled]) {
  background: var(--hp-bg-surface);
}
.hp-stepper__btn[disabled] {
  opacity: 0.35;
  cursor: not-allowed;
}
.hp-stepper__btn:focus-visible {
  outline: 2px solid var(--hp-gold);
  outline-offset: -2px;
}

/* ── 5. Gallery strip: a quiet scrollbar, thumbs that read as a set ────────── */
html body.single-product .hp-gallery-thumbs {
  scrollbar-color: var(--hp-border-strong, var(--hp-border)) transparent;
  gap: var(--hp-sp-2);
  margin-top: var(--hp-sp-3);
  padding-bottom: var(--hp-sp-2);
}
html body.single-product .hp-gallery-thumb {
  border-width: 1px;
  opacity: 0.7;
}
html body.single-product .hp-gallery-thumb:hover,
html body.single-product .hp-gallery-thumb--active {
  opacity: 1;
}
html body.single-product .hp-gallery-thumb--active {
  border-width: 2px;
}

/* ── 6. "Added to cart": a real notice card, not a grey strip ───────────────
   WooCommerce prints a message div holding the "View cart" button and then the sentence, and the theme pinned it
   bottom right as a dark-grey slab with the button jammed mid-sentence. Now: a raised card, a gold check, the
   sentence, and the button in its own right-hand cell. */
html body .woocommerce-notices-wrapper {
  bottom: var(--hp-sp-6) !important;
  right: var(--hp-sp-6) !important;
  max-width: 28rem !important;
}
html body .woocommerce-notices-wrapper .woocommerce-message {
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  column-gap: var(--hp-sp-4);
  padding: var(--hp-sp-4) var(--hp-sp-5) !important;
  background: var(--hp-bg) !important;
  color: var(--hp-text) !important;
  border: 1px solid var(--hp-border) !important;
  border-radius: var(--hp-r-md) !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 18px 40px rgba(0, 0, 0, 0.16);
  font-family: var(--hp-font-body);
  font-size: var(--hp-text-sm);
  line-height: 1.45;
  animation: hp-notice-in 0.35s var(--hp-ease, ease) both;
}
html body .woocommerce-notices-wrapper .woocommerce-message::before {
  content: '' !important;
  display: block !important;
  grid-column: 1;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--hp-gold)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E")
    center / 15px no-repeat;
}
html body .woocommerce-notices-wrapper .woocommerce-message .button {
  grid-column: 3;
  grid-row: 1;
  float: none !important;
  margin: 0 !important;
  white-space: nowrap;
  min-height: 40px;
  padding: 0 var(--hp-sp-5);
  display: inline-flex;
  align-items: center;
  border-radius: var(--hp-r-sm);
  font-size: var(--hp-text-sm);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
html body .woocommerce-notices-wrapper.is-leaving {
  opacity: 0;
  transform: translateY(8px) !important;
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none !important;
}
@keyframes hp-notice-in {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html body .woocommerce-notices-wrapper .woocommerce-message { animation: none; }
  html body .woocommerce-notices-wrapper.is-leaving { transition: none; }
}

/* ── 7. Cart (WooCommerce Blocks) ────────────────────────────────────────── */
/* The stepper's `+` sat outside its own box: WC gives the box a fixed ~107px width and the 44px tap-target buttons
   (set above) no longer fit. The box now sizes to its content and the three parts share one height. */
html body .wc-block-components-quantity-selector {
  display: inline-flex !important;
  align-items: stretch;
  width: auto !important;
  height: 44px;
  background: var(--hp-bg);
  border: 1px solid var(--hp-border-strong, var(--hp-border)) !important;
  border-radius: var(--hp-r-sm) !important;
  overflow: hidden;
}
html body .wc-block-components-quantity-selector .wc-block-components-quantity-selector__input {
  width: 44px;
  min-width: 0;
  height: auto;
  padding: 0;
  border: 0 !important;
  background: transparent;
  color: var(--hp-text);
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  box-shadow: none;
}
html body .wc-block-components-quantity-selector .wc-block-components-quantity-selector__button {
  flex: 0 0 44px;
  width: 44px;
  min-width: 44px !important;
  height: auto;
  padding: 0;
  opacity: 1;
  font-size: 1.25rem;
  background: transparent;
  border: 0;
  position: static;
}
html body .wc-block-components-quantity-selector .wc-block-components-quantity-selector__button:hover:not(:disabled) {
  background: var(--hp-bg-surface);
}
html body .wc-block-components-quantity-selector .wc-block-components-quantity-selector__button:disabled {
  opacity: 0.35;
}
html body .wc-block-cart-item__quantity {
  display: flex;
  align-items: center;
  gap: var(--hp-sp-4);
  margin-top: var(--hp-sp-3);
}
html body .wc-block-cart-item__quantity .wc-block-cart-item__remove-link {
  margin: 0;
  font-size: var(--hp-text-sm);
}
html body .wc-block-cart-items {
  border-collapse: collapse;
}
html body .wc-block-cart-items th {
  padding-bottom: var(--hp-sp-4);
  font-size: var(--hp-text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hp-text-muted);
  border-bottom: 1px solid var(--hp-border);
}
/* The rule belongs on the ROW: the total cell is display:flex in WC's large layout and ends shorter than the row, so
   a per-cell border drew a second, shorter line under the price. */
html body .wc-block-cart-items .wc-block-cart-items__row {
  border-bottom: 1px solid var(--hp-border);
}
html body .wc-block-cart-items .wc-block-cart-items__row td {
  padding-top: var(--hp-sp-6);
  padding-bottom: var(--hp-sp-6);
  border-top: 0;
  border-bottom: 0;
  vertical-align: top;
}
html body .wc-block-cart-items .wc-block-cart-item__image {
  width: 112px;
  padding-right: var(--hp-sp-5);
}
html body .wc-block-cart-item__image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: var(--hp-bg-surface);
  border: 1px solid var(--hp-border);
  border-radius: var(--hp-r-sm);
}
html body .wc-block-cart-item__product .wc-block-components-product-name {
  font-size: var(--hp-text-lg, 1.125rem) !important;
  font-weight: 600 !important;
  line-height: 1.3;
}
html body .wc-block-cart-item__total .wc-block-components-product-price,
html body .wc-block-cart-item__total .wc-block-formatted-money-amount {
  font-size: var(--hp-text-base);
  font-weight: 600;
}
html body .wc-block-cart__sidebar,
html body .wc-block-cart-totals-block .wc-block-components-sidebar {
  background: var(--hp-bg) !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 14px 36px rgba(0, 0, 0, 0.07);
}
html body .wc-block-cart__totals-title {
  padding: 0 0 var(--hp-sp-4) !important;
  font-size: var(--hp-text-lg, 1.125rem) !important;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
@media (min-width: 783px) {
  html body .wc-block-cart__sidebar {
    position: sticky;
    top: calc(var(--hp-header-h, 72px) + var(--hp-sp-4));
  }
}
html body .wc-block-cart__submit-button {
  min-height: 56px;
  font-size: var(--hp-text-sm);
  letter-spacing: 0.08em;
}

/* ── 8. Checkout: the summary was a card inside a second card ─────────────── */
html body .wc-block-checkout__sidebar {
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
}
/* One card, one shadow: it was set on the block AND the summary inside it, which drew a grey band across the items. */
html body .wc-block-checkout__sidebar .wp-block-woocommerce-checkout-order-summary-block {
  background: var(--hp-bg);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 14px 36px rgba(0, 0, 0, 0.07);
}

/* HORIZON-20261122-134: the quantity badge on an order-summary thumbnail was a blank dot. WooCommerce 11's checkout.css
   paints it `background: currentcolor`, so on a skin with cream text the badge took the text colour (rgb(240,236,228))
   and its light number vanished into it. It now matches the header cart count: gold, with the on-accent number.
   (0,2,2) over WooCommerce's (0,2,0). The CCBill checkout (hp-checkout-handoff.css) keeps its own bronze badge (!important). */
html body .wc-block-components-order-summary .wc-block-components-order-summary-item__quantity {
  background: var(--hp-gold, var(--hp-text, #111));
  color: var(--hp-on-accent, var(--hp-bg, #fff));
}
html body .wc-block-components-order-summary .wc-block-components-order-summary-item__quantity > span { color: inherit; }

/* HORIZON-20261122-134: a tablet held upright squeezed the summary. WooCommerce keeps its two-column layout (`is-large`)
   from a ~700px container, so at 768 the summary column was 235px and the item description 101px: one word per line
   (iPad Mini, Galaxy Tab S4). To 860px the summary now sits ABOVE the form at full width, as the CCBill checkout does at
   the same breakpoint (hp-checkout-handoff.css, which this leaves alone). From 861px the two columns are unchanged
   (measured identical at 1024, 1180 and 1366). Not sticky once stacked: it would ride over the form. */
@media (max-width: 860px) {
  html body:not(.hp-checkout--ccbill-steps) .wc-block-components-sidebar-layout.wc-block-checkout.is-large {
    flex-direction: column;
    flex-wrap: nowrap;
  }
  html body:not(.hp-checkout--ccbill-steps) .wc-block-checkout.is-large > .wc-block-checkout__main,
  html body:not(.hp-checkout--ccbill-steps) .wc-block-checkout.is-large > .wc-block-checkout__sidebar {
    width: 100% !important;
    max-width: none;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  html body:not(.hp-checkout--ccbill-steps) .wc-block-checkout.is-large > .wc-block-checkout__sidebar {
    order: -1;
    position: static !important;
    margin-bottom: var(--hp-sp-8, 2rem);
  }
}

/* Breadcrumb: one line, the current product name ellipsised, so a long name never makes a two-line band on a phone. */
html body.single-product .hp-pdp-breadcrumb .hp-breadcrumb {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
@media (max-width: 640px) {
  html body.single-product .hp-page-header {
    padding: var(--hp-sp-3) 0;
  }
  html body.single-product .hp-section.product {
    padding-top: var(--hp-sp-5);
  }
  /* A touch device shows its own overlay scrollbar; the thick grey bar under the thumbnails was that. */
  html body.single-product .hp-gallery-thumbs {
    scrollbar-width: none;
  }
}

/* Phones: the notice spans the width with the button on its own full-width row (three cells left the sentence a
   170px column), and clears the home indicator. */
@media (max-width: 520px) {
  html body .woocommerce-notices-wrapper {
    right: var(--hp-sp-4) !important;
    bottom: calc(var(--hp-sp-4) + env(safe-area-inset-bottom, 0px)) !important;
    width: calc(100% - (var(--hp-sp-4) * 2)) !important;
    max-width: none !important;
  }
  html body .woocommerce-notices-wrapper .woocommerce-message {
    grid-template-columns: auto minmax(0, 1fr);
    row-gap: var(--hp-sp-3);
  }
  html body .woocommerce-notices-wrapper .woocommerce-message .button {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: center;
    min-height: 44px;
  }
}

/* Tap floor for the two links -066 made standalone (mobile ratchet, 2026-10-02: 16 new tap-small findings on every
   product page at 375-1024). Same house pattern as `.product_meta .posted_in a` in hp-mobile.css: a 44px box with
   the text centred in it. The eyebrow drops its own bottom margin because the taller link now carries that space,
   so the gap to the title barely moves; "Clear" is lifted by half its extra height so its text stays on the label line. */
html body.single-product .hp-pdp-eyebrow {
  margin-bottom: 0;
}
html body.single-product .hp-pdp-eyebrow a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  min-width: 44px;
}
html body.single-product .variations_form .reset_variations {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 44px;
  min-width: 44px;
  top: -12px;
}

/* ── Add to cart label centred (Alex, 2026-10-02: "left justified ADD TO CART") ────────────────────────────────
   The theme's button is a flex box with its items at the start, so `text-align` never centred the label. */
html body.single-product form.cart .single_add_to_cart_button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}



/* An attribute with one option is already chosen: its row reads as text, at the 44px tap floor. The swatch script
   paints the chosen chip inline, hence !important. */
html body .hp-swatch-row--single .hp-swatch {
	pointer-events: none;
	min-height: 44px !important;
	min-width: 44px !important; /* a short word ("White") still meets the tap floor (-082, ratchet) */
	height: auto !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: none !important;
	box-shadow: none !important;
	color: var(--hp-text) !important;
	font-weight: 500 !important;
	display: inline-flex !important;
	align-items: center;
}

/* Breadcrumb links at the 44px tap floor (the mobile probe failed every shop category page on it). */
.hp-collection-hero__breadcrumb a,
.woocommerce-breadcrumb a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	min-width: 44px;
}

/* The empty cart's "Continue shopping" (added at render time). */
.wp-block-woocommerce-empty-cart-block .hp-empty-cart__actions { display: flex; justify-content: center; margin: 8px 0 48px; }
.wp-block-woocommerce-empty-cart-block .hp-empty-cart__actions .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 12px 24px;
	border-radius: var(--hp-r-sm, 8px);
	background: var(--hp-gold);
	color: var(--hp-on-accent, #0a060e);
	font-weight: 700;
	text-decoration: none;
}

/* HORIZON-20261016-081: the empty cart's "From the shop" row (WooCommerce's block product grid) wears the /shop/ card:
   same surface, border, square image, title, price and full-width card button, so it follows each store's skin. Only
   the layout differs: four across, two below 1024px and on a phone. WooCommerce's grid CSS and the shell's link rules
   win on specificity, hence the !important.
   HORIZON-20261016-082 (full mobile ratchet after 1.41.259): the title's 14px is desktop-only, so hp-mobile.css keeps
   it at 16px up to 1024px; and a store with its own look sheet (hp-home-layout--latex-edition, hp-home-latex.css)
   keeps that sheet's card, which these rules had overridden. */
body:not(.hp-home-layout--latex-edition) .wp-block-woocommerce-empty-cart-block .wc-block-grid__products {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: var(--hp-sp-6, 24px);
	margin: 0 0 var(--hp-sp-12, 48px) !important;
	padding: 0 !important;
	list-style: none !important;
}
body:not(.hp-home-layout--latex-edition) .wp-block-woocommerce-empty-cart-block .wc-block-grid__product {
	display: flex !important;
	flex-direction: column;
	flex: none !important;
	width: auto !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 1px solid var(--hp-border) !important;
	border-radius: var(--hp-r-md, 12px);
	background: var(--hp-bg-surface);
	overflow: hidden;
	text-align: left !important;
	transition: border-color var(--hp-dur, .2s) var(--hp-ease, ease), box-shadow var(--hp-dur, .2s) var(--hp-ease, ease), transform var(--hp-dur, .2s) var(--hp-ease, ease);
}
body:not(.hp-home-layout--latex-edition) .wp-block-woocommerce-empty-cart-block .wc-block-grid__product:hover {
	border-color: var(--hp-border-strong) !important;
	box-shadow: var(--hp-shadow-raised);
	transform: translateY(-2px);
}
body:not(.hp-home-layout--latex-edition) .wp-block-woocommerce-empty-cart-block .wc-block-grid__product a { text-decoration: none !important; }
body:not(.hp-home-layout--latex-edition) .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-link { display: block; color: var(--hp-text) !important; }
/* HORIZON-20261203-010: WooCommerce's grid makes this box inline-block, so it shrank to the 300px thumbnail and the
   image's width:100% was 100% of 300px: on cards wider than that (desktop and tablets) three of four images left a
   black strip and the cards differed in height. A block box fills the card, so every image is the card's width. */
body:not(.hp-home-layout--latex-edition) .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-image { display: block !important; width: 100%; margin: 0 !important; }
body:not(.hp-home-layout--latex-edition) .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-image img {
	display: block;
	width: 100% !important;
	height: auto !important;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	object-position: center top;
	border-radius: 0 !important;
	margin: 0 !important;
}
body:not(.hp-home-layout--latex-edition) .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-title {
	margin: 0 !important;
	padding: var(--hp-sp-4, 16px) var(--hp-sp-4, 16px) var(--hp-sp-2, 8px) !important;
	font-family: var(--hp-font-body) !important;
	font-weight: 600 !important;
	line-height: 1.2;
	color: var(--hp-text) !important;
}
body:not(.hp-home-layout--latex-edition) .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-price {
	margin: 0 !important;
	padding: 0 var(--hp-sp-4, 16px) var(--hp-sp-4, 16px) !important;
	font-size: var(--hp-text-sm, 14px) !important;
	font-weight: 600 !important;
	color: var(--hp-gold) !important;
}
body:not(.hp-home-layout--latex-edition) .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-add-to-cart {
	display: flex;
	margin: auto var(--hp-sp-4, 16px) var(--hp-sp-4, 16px) !important;
	padding: 0 !important;
}
body:not(.hp-home-layout--latex-edition) .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-add-to-cart .wp-block-button__link {
	display: flex !important;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 48px;
	margin: 0 !important;
	padding: 0 1.5rem !important;
	border: none !important;
	border-radius: var(--hp-r-sm, 8px) !important;
	background: var(--hp-gold) !important;
	color: var(--hp-on-accent, #0a060e) !important;
	font-family: var(--hp-font-body) !important;
	font-size: inherit !important;
	font-weight: 600 !important;
	letter-spacing: 0.04em;
	white-space: nowrap;
	transition: background var(--hp-dur, .2s) var(--hp-ease, ease);
}
body:not(.hp-home-layout--latex-edition) .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-add-to-cart .wp-block-button__link:hover {
	background: var(--hp-gold-light, var(--hp-gold)) !important;
	color: var(--hp-on-accent, #0a060e) !important;
}
/* The quiet outline the shop gives a card that leads to a page (options to choose): the block marks only the simple
   product's button ajax_add_to_cart, so every other button is the quiet one. */
body:not(.hp-home-layout--latex-edition) .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-add-to-cart .wp-block-button__link:not(.ajax_add_to_cart) {
	height: 44px;
	border: 1px solid var(--hp-border-strong, rgba(255, 255, 255, 0.28)) !important;
	background: transparent !important;
	color: var(--hp-text) !important;
	font-size: 14px !important;
}
body:not(.hp-home-layout--latex-edition) .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-add-to-cart .wp-block-button__link:not(.ajax_add_to_cart):hover {
	border-color: var(--hp-gold) !important;
	background: transparent !important;
	color: var(--hp-gold) !important;
}
@media (max-width: 1024px) {
	body:not(.hp-home-layout--latex-edition) .wp-block-woocommerce-empty-cart-block .wc-block-grid__products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
	body:not(.hp-home-layout--latex-edition) .wp-block-woocommerce-empty-cart-block .wc-block-grid__products { gap: var(--hp-sp-3, 12px); }
	body:not(.hp-home-layout--latex-edition) .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-title,
	body:not(.hp-home-layout--latex-edition) .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-price { padding-left: var(--hp-sp-3, 12px) !important; padding-right: var(--hp-sp-3, 12px) !important; }
	body:not(.hp-home-layout--latex-edition) .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-add-to-cart { margin: auto var(--hp-sp-3, 12px) var(--hp-sp-3, 12px) !important; }
	body:not(.hp-home-layout--latex-edition) .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-add-to-cart .wp-block-button__link { height: 44px; padding: 0 var(--hp-sp-2, 8px) !important; font-size: 14px !important; letter-spacing: 0; }
}
@media (min-width: 1025px) {
	body:not(.hp-home-layout--latex-edition) .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-title { font-size: var(--hp-text-sm, 14px); }
}

/* HORIZON-20261008-076: with one tab left (Printify products now lose the empty "Additional information"), no lone
   tab button; the panel shows as a plain section under its own "Description" heading. */
html body .woocommerce-tabs ul.wc-tabs:has(> li:only-child) { display: none !important; } /* Core draws the tabs outside div.product */
html body .woocommerce-tabs:has(ul.wc-tabs > li:only-child) .wc-tab { display: block !important; }


/* ══ Phone archive: two across, compact head (HORIZON-20261119-013) ══
   Shop and category pages at phone width showed ONE product per row (535px a card) and the first product began
   below the fold: page-header padding, the filter row's trailing margin, a 128px trust strip and the section's
   48px top padding stacked up (measured 375px on a creator store, 2026-11-19). Two across is the shop norm on a
   phone; the grid variable is the one Core's merch grid already uses (--hp-merch-phone-cols, hp-responsive). The
   category pills scroll sideways; the fade on the right edge says so (they looked cut off). */
@media (max-width: 768px) {
  .hp-shop-products ul.products,
  .woocommerce .related.products ul.products,
  .woocommerce .upsells.products ul.products { --hp-merch-phone-cols: 2; gap: var(--hp-sp-4) var(--hp-sp-3); }
  .hp-page-header { padding-bottom: var(--hp-sp-4); }
  .hp-page-header .hp-category-filter:last-child { margin-bottom: 0; }
  .hp-page-header .hp-category-filter {
    -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 40px), transparent);
            mask-image: linear-gradient(to right, #000 calc(100% - 40px), transparent);
    padding-right: 40px;
  }
  .hp-trust-strip--attached { margin-bottom: 0 !important; }
  .hp-trust-strip--attached .hp-trust-badges { padding-top: var(--hp-sp-3); gap: var(--hp-sp-2) var(--hp-sp-4); }
  .hp-trust-strip--attached + section.hp-section { padding-top: var(--hp-sp-6) !important; }
  .hp-shop-filters-mobile { margin-bottom: var(--hp-sp-4); }
}


/* ══ Shop archive polish (HORIZON-20261119-021) ══
   A creator store's shop page read as plain at every width (audit 2026-11-19, items 8 and 9): a left-aligned title on a
   flat band, outline-only pills, a trust strip that took three lines on a phone, and product cards whose price and
   button sat at different heights across a row (the eyebrow wraps on one card and not the next), with the button
   label wrapping to two lines in a two-across phone card.
   A. The BARE shop page's head (not a category head: those carry their own cover) is centred, with a soft glow of
      the store's accent from the top and the short accent rule under the title that cart and checkout already use.
      The latex-edition layout styles its own head and pills, so it is left out.
   B. The pills (shop and category): a filled active pill and a quieter rest state. 44px tall below 1025px (tap
      target), 40px above.
   C. The trust strip (shop and category): one centred line with hairline dividers; on a phone, one line that
      scrolls sideways with the same right-edge fade as the pills. The badge words are a store setting
      (`shipping_badge`), never shortened here.
   D. Product cards in the archive grid: the price sits on the card's floor line, so a row's prices and buttons
      line up; a short phone button label stays on one line and a long one wraps inside the button. Font sizes
      are unchanged (phone text check). */
html body.woocommerce-shop:not(.hp-home-layout--latex-edition) .site-main > .hp-page-header:not(.hp-page-header--has-image) {
  text-align: center;
  background:
    radial-gradient(ellipse 60% 100% at 50% 0%, color-mix(in srgb, var(--hp-gold) 13%, transparent), transparent 72%),
    var(--hp-bg-surface);
  padding: var(--hp-sp-16, 64px) 0 var(--hp-sp-12, 48px);
  border-bottom: 0;
}
html body.woocommerce-shop:not(.hp-home-layout--latex-edition) .site-main > .hp-page-header:not(.hp-page-header--has-image) h1 {
  font-size: clamp(2.25rem, 1.5rem + 2.4vw, 3.5rem);
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0 auto var(--hp-sp-4) !important;
}
html body.woocommerce-shop:not(.hp-home-layout--latex-edition) .site-main > .hp-page-header:not(.hp-page-header--has-image) h1::after {
  content: "";
  display: block;
  width: 48px;
  height: 2px;
  margin: var(--hp-sp-5) auto 0;
  background: var(--hp-gold);
  border-radius: var(--hp-r-full);
}
html body.woocommerce-shop:not(.hp-home-layout--latex-edition) .site-main > .hp-page-header:not(.hp-page-header--has-image) h1 + p {
  max-width: 56ch;
  margin: 0 auto var(--hp-sp-8) !important;
  font-size: var(--hp-text-base, 16px) !important;
  line-height: 1.6;
}
@media (min-width: 641px) {
  html body.woocommerce-shop:not(.hp-home-layout--latex-edition) .site-main > .hp-page-header:not(.hp-page-header--has-image) .hp-category-filter {
    justify-content: center;
  }
}

html body:not(.hp-home-layout--latex-edition) .hp-page-header .hp-category-filter:last-child { margin-bottom: 0; }
html body:not(.hp-home-layout--latex-edition) .hp-page-header .hp-category-filter__tab {
  padding: 0 var(--hp-sp-4);
  min-height: 40px;
  font-weight: 600;
  letter-spacing: 0.08em;
  transition: border-color var(--hp-dur, .2s) var(--hp-ease, ease), color var(--hp-dur, .2s) var(--hp-ease, ease), background-color var(--hp-dur, .2s) var(--hp-ease, ease);
}
html body:not(.hp-home-layout--latex-edition) .hp-page-header .hp-category-filter__tab:hover { color: var(--hp-text); border-color: var(--hp-text-muted); }
html body:not(.hp-home-layout--latex-edition) .hp-page-header .hp-category-filter__tab--active,
html body:not(.hp-home-layout--latex-edition) .hp-page-header .hp-category-filter__tab--active:hover {
  background: var(--hp-gold);
  border-color: var(--hp-gold);
  color: var(--hp-on-accent, #000);
}
/* The pills are 40px only on desktop; up to 1024px (tablets) they keep the 44px tap height (HORIZON-20261122-011:
   769-1024px had 40px and failed the fleet's tap check on every shop and category page). */
@media (min-width: 769px) and (max-width: 1024px) {
  html body:not(.hp-home-layout--latex-edition) .hp-page-header .hp-category-filter__tab { min-height: 44px; }
}
@media (min-width: 1025px) {
  /* Nine pills fit one row in the 1280px container (measured on a creator store); they wrap below that. */
  html body:not(.hp-home-layout--latex-edition) .hp-page-header .hp-category-filter { gap: 6px; }
  html body:not(.hp-home-layout--latex-edition) .hp-page-header .hp-category-filter__tab { padding: 0 14px; letter-spacing: 0.06em; }
}

html body .hp-trust-strip--attached { margin-bottom: 0 !important; border-bottom: 1px solid var(--hp-border); }
html body .hp-trust-strip--attached .hp-trust-badges {
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0;
  padding: var(--hp-sp-4) 0 !important;
  margin: 0;
  border: 0;
}
html body .hp-trust-strip--attached .hp-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--hp-sp-2);
  white-space: nowrap;
  font-size: var(--hp-text-xs, 12px);
  letter-spacing: 0.06em;
  color: var(--hp-text-muted);
  padding: 0 var(--hp-sp-5);
}
html body .hp-trust-strip--attached .hp-trust-badge + .hp-trust-badge { border-left: 1px solid var(--hp-border); }
html body .hp-trust-strip--attached .hp-trust-badge svg { color: var(--hp-gold); flex: 0 0 auto; }
html body .hp-trust-strip--attached + section.hp-section { padding-top: var(--hp-sp-10) !important; }

/* The card's price sits at the foot of its link, a clear gap above the button. The product page's Related and upsell
   cards use the same card (HORIZON-20261203-002: there the price's bottom padding ran under the button, its text 3px
   from it at 1920). */
html body .hp-shop-products ul.products li.product > a.woocommerce-LoopProduct-link,
html body.single-product :is(.related, .upsells).products ul.products li.product > a.woocommerce-LoopProduct-link {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}
html body .hp-shop-products ul.products li.product .woocommerce-loop-product__title,
html body.single-product :is(.related, .upsells).products ul.products li.product .woocommerce-loop-product__title { margin-bottom: 0 !important; }
html body .hp-shop-products ul.products li.product .price,
html body.single-product :is(.related, .upsells).products ul.products li.product .price {
  display: block;
  margin-top: auto;
  padding: var(--hp-sp-2) var(--hp-sp-4) 0 !important;
}
html body .hp-shop-products ul.products li.product a.button,
html body.single-product :is(.related, .upsells).products ul.products li.product a.button { margin-top: var(--hp-sp-4) !important; }

@media (max-width: 768px) {
  html body.woocommerce-shop:not(.hp-home-layout--latex-edition) .site-main > .hp-page-header:not(.hp-page-header--has-image) {
    padding: var(--hp-sp-10) 0 var(--hp-sp-5);
  }
  html body.woocommerce-shop:not(.hp-home-layout--latex-edition) .site-main > .hp-page-header:not(.hp-page-header--has-image) h1 + p {
    margin-bottom: var(--hp-sp-6) !important;
  }
  html body:not(.hp-home-layout--latex-edition) .hp-page-header .hp-category-filter__tab { min-height: 44px; }

  html body .hp-trust-strip--attached { padding: 0; }
  html body .hp-trust-strip--attached .hp-trust-badges {
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: none;
    padding: var(--hp-sp-3) var(--hp-sp-10) var(--hp-sp-3) var(--hp-content-pad, 16px) !important;
    -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 40px), transparent);
            mask-image: linear-gradient(to right, #000 calc(100% - 40px), transparent);
  }
  html body .hp-trust-strip--attached .hp-trust-badges::-webkit-scrollbar { display: none; }
  html body .hp-trust-strip--attached .hp-trust-badge { padding: 0 var(--hp-sp-4); }
  html body .hp-trust-strip--attached .hp-trust-badge:first-child { padding-left: 0; }
  html body .hp-trust-strip--attached + section.hp-section { padding-top: var(--hp-sp-5) !important; }
  html body .hp-shop-filters-mobile { margin-bottom: var(--hp-sp-3) !important; }

  /* A long label wraps to a second line inside the button instead of spilling past its edges (a creator store's
     external-product label drew 7px outside a 134px two-across button at 375px). Short labels still sit on one
     line at 44px; a wrapped one grows the button, never below 44px. Font size unchanged. `[class]` outranks
     hp-commerce-chrome.css's fixed `height: 44px !important` on variable and external buttons. */
  html body .hp-shop-products ul.products li.product a.button[class] {
    margin: var(--hp-sp-3) !important;
    padding: var(--hp-sp-1, 4px) var(--hp-sp-2) !important;
    letter-spacing: 0.01em !important;
    white-space: normal;
    overflow-wrap: anywhere;
    text-align: center;
    justify-content: center;
    line-height: 1.2 !important;
    height: auto !important;
    min-height: 44px !important;
  }
  html body .hp-shop-products ul.products li.product .price { padding: var(--hp-sp-2) var(--hp-sp-3) 0 !important; }
  html body .hp-shop-products ul.products li.product .woocommerce-loop-product__title { padding: var(--hp-sp-2) var(--hp-sp-3) 0 !important; }
  html body .hp-shop-products ul.products li.product .hp-product-category-eyebrow { padding: var(--hp-sp-3) var(--hp-sp-3) 0; }
}

/* ══ Product page: each thing once, set like a spec sheet (HORIZON-20261119-018) ══
   Measured on a creator store at 375-1440, 2026-11-19. Every rule is under body.single-product. */

/* Phone breadcrumb: the product's own name (last crumb) is dropped; the title is directly below, and the cut-off
   name read as a fault. single-product.php wraps each crumb in .hp-crumb and each slash in .hp-crumb-sep. */
@media (max-width: 640px) {
  html body.single-product .hp-pdp-breadcrumb .hp-crumb:last-child,
  html body.single-product .hp-pdp-breadcrumb .hp-crumb-sep:nth-last-child(2) {
    display: none;
  }
}
/* Tap floor (mobile probe, 375-1024): each crumb link is its own target now, so it gets the 44px house box. The band
   loses its padding and the line is 44px tall, so the band's height barely moves and nothing is clipped. */
@media (max-width: 1024px) {
  html body.single-product .hp-page-header:has(.hp-pdp-breadcrumb) {
    padding-top: 0;
    padding-bottom: 0;
  }
  html body.single-product .hp-pdp-breadcrumb .hp-breadcrumb {
    line-height: 44px;
  }
  html body.single-product .hp-pdp-breadcrumb .hp-breadcrumb a {
    display: inline-block;
    min-width: 44px;
    text-align: left;
  }
  /* The collection link: a 44px target without a taller line (the padding is taken back by the margin). */
  html body.single-product .hp-product-collection-link a {
    display: inline-block;
    padding: 12px 0;
    margin: -12px 0;
  }
}

/* "From <name>'s collection" printed its link in the browser's default blue. */
html body.single-product .hp-product-collection-link {
  color: var(--hp-text-muted);
}
html body.single-product .hp-product-collection-link a {
  color: var(--hp-gold);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
html body.single-product .hp-product-collection-link a:hover {
  color: var(--hp-text);
}

/* An attribute with one option: label and value on ONE line ("SIZE  10-inch Standard"), the value once. The colour
   row also named its value beside the label, so "Marble" read twice. */
html body.single-product .variations_form .hp-swatch-row--single {
  display: flex;
  align-items: center;
  gap: var(--hp-sp-4);
  margin-bottom: 0;
}
html body.single-product .variations_form .hp-swatch-row--single .hp-swatch-row__label {
  flex: 0 0 5.5rem;
  margin-bottom: 0;
}
html body.single-product .variations_form .hp-swatch-row--single .hp-swatch-row__value {
  display: none;
}
html body.single-product .variations_form .hp-swatch-row--single .hp-swatch-group {
  min-width: 0;
}
html body.single-product .variations_form .hp-swatch-row--single + tr + .hp-swatch-row:not(.hp-swatch-row--single) {
  margin-top: var(--hp-sp-4);
}
html body.single-product .variations_form .woocommerce-variation-description:empty {
  display: none;
}
/* A price range's chosen price sat flush on the quantity box. */
html body.single-product .variations_form .woocommerce-variation-price:not(:empty) {
  margin-bottom: var(--hp-sp-4);
}

/* Categories are already the eyebrow above the title, and tags are the store's own filing ("featured"): the meta
   block under the badges repeated one and showed the other. A SKU, when a product has one, still prints. */
html body.single-product .hp-product-summary .product_meta .posted_in,
html body.single-product .hp-product-summary .product_meta .tagged_as {
  display: none;
}
html body.single-product .hp-product-summary .product_meta:not(:has(.sku_wrapper)) {
  display: none;
}

/* Tabs: the band's own padding is the gap; the extra 48px above the tab row is gone. */
html body.single-product .woocommerce-tabs {
  margin-top: 0;
}

/* HORIZON-20261122-128 (F1): the active tab carries a 2px bar in the accent, sitting on the tab row's hairline, so the
   open tab reads as a tab and not as one of two small words. Drawn on the li (its bottom is the hairline; the link
   ends higher), as a shadow so no theme's border reset can remove it. Colour token only. */
html body.single-product .woocommerce-tabs ul.tabs li.active {
  box-shadow: inset 0 -1px 0 var(--hp-gold), 0 1px 0 var(--hp-gold);
}

/* HORIZON-20261122-128 (F1): the review star picker. Core empties WooCommerce's styles (woo-zone.php), which takes the
   star font with them, while WooCommerce's script still swaps the rating select for five links whose only content is
   "1 of 5 stars" ... "5 of 5 stars", so the words printed in a row. Here each link draws its own star (an SVG mask
   filled with the accent), the words move out of sight inside a 44px target but stay for screen readers (the links
   are role="radio" with aria-checked, WooCommerce 11), and the stars fill up to the one hovered or chosen.
   hp-commerce-storefront.js adds the visible "n of 5 stars" readout. No radius: the stars are the shape. */
html body .comment-form-rating p.stars {
  --hp-star-fill: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.6l2.9 5.9 6.5.95-4.7 4.6 1.1 6.5L12 17.5l-5.8 3.05 1.1-6.5-4.7-4.6 6.5-.95z'/%3E%3C/svg%3E");
  --hp-star-line: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.6l2.9 5.9 6.5.95-4.7 4.6 1.1 6.5L12 17.5l-5.8 3.05 1.1-6.5-4.7-4.6 6.5-.95z' fill='none' stroke='%23000' stroke-width='1.4' stroke-linejoin='round'/%3E%3C/svg%3E");
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--hp-sp-1) var(--hp-sp-3);
  margin: var(--hp-sp-1) 0 var(--hp-sp-4);
  line-height: 1;
}
html body .comment-form-rating p.stars > span {
  display: inline-flex;
}
html body .comment-form-rating p.stars a {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 44px;
  overflow: hidden;
  white-space: nowrap;
  text-indent: 100%;
  color: var(--hp-gold) !important;
  text-decoration: none;
}
html body .comment-form-rating p.stars a::before {
  content: "";
  position: absolute;
  inset: 7px;
  background-color: currentColor;
  -webkit-mask: var(--hp-star-line) center / contain no-repeat;
  mask: var(--hp-star-line) center / contain no-repeat;
}
html body .comment-form-rating p.stars a:focus-visible {
  outline: 2px solid var(--hp-gold);
  outline-offset: -2px;
}
/* Chosen: every star up to and including the chosen one is filled. */
html body .comment-form-rating p.stars.selected a::before {
  -webkit-mask-image: var(--hp-star-fill);
  mask-image: var(--hp-star-fill);
}
html body .comment-form-rating p.stars.selected a.active ~ a::before {
  -webkit-mask-image: var(--hp-star-line);
  mask-image: var(--hp-star-line);
}
/* Hover (pointer devices only, so a tap never leaves a stuck preview): fill up to the star under the pointer. The hover
   is on the stars' own span, so pointing at the readout beside them fills nothing. */
@media (hover: hover) {
  html body .comment-form-rating p.stars > span:hover a::before,
  html body .comment-form-rating p.stars.selected > span:hover a.active ~ a::before {
    -webkit-mask-image: var(--hp-star-fill);
    mask-image: var(--hp-star-fill);
  }
  html body .comment-form-rating p.stars a:hover ~ a::before,
  html body .comment-form-rating p.stars.selected > span:hover a:hover ~ a::before {
    -webkit-mask-image: var(--hp-star-line);
    mask-image: var(--hp-star-line);
  }
}
html body .comment-form-rating .hp-stars-readout {
  font-size: var(--hp-text-sm);
  color: var(--hp-text-muted);
}

/* Description panel. Labels the store typed as their own line ("About the Piece", "Details") read as labels, in the
   eyebrow's voice; "Details" lines (typed one per line) are set as a spec list. Markup from shop-refinements.php. */
html body.single-product .woocommerce-Tabs-panel--description .hp-pdp-label {
  display: block;
  margin: var(--hp-sp-8) 0 var(--hp-sp-3);
  font-family: var(--hp-font-body);
  font-size: var(--hp-text-sm);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hp-gold);
}
html body.single-product .woocommerce-Tabs-panel--description > .hp-pdp-label:first-child,
html body.single-product .woocommerce-Tabs-panel--description > .hp-pdp-lines:first-child .hp-pdp-label {
  margin-top: 0;
}
html body.single-product .woocommerce-Tabs-panel--description .hp-pdp-lines {
  display: block;
}
/* Inside the copy the label counts as running text, so up to 1024px it is set at the 16px floor. */
@media (max-width: 1024px) {
  html body.single-product .woocommerce-Tabs-panel--description .hp-pdp-label {
    font-size: var(--hp-text-base, 1rem);
    letter-spacing: 0.08em;
  }
}
html body.single-product .woocommerce-Tabs-panel--description .hp-pdp-lines__item {
  display: block;
  padding: var(--hp-sp-3) 0;
  border-bottom: 1px solid var(--hp-border);
  color: var(--hp-text);
}
html body.single-product .woocommerce-Tabs-panel--description .hp-pdp-label + .hp-pdp-lines__item {
  border-top: 1px solid var(--hp-border);
}
/* Wide screens: two columns, so the rules between lines don't run the full width past short lines. */
@media (min-width: 1024px) {
  html body.single-product .woocommerce-Tabs-panel--description .hp-pdp-lines {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: var(--hp-sp-10);
  }
  html body.single-product .woocommerce-Tabs-panel--description .hp-pdp-lines .hp-pdp-label {
    grid-column: 1 / -1;
  }
  html body.single-product .woocommerce-Tabs-panel--description .hp-pdp-label + .hp-pdp-lines__item + .hp-pdp-lines__item {
    border-top: 1px solid var(--hp-border);
  }
}

/* Related and upsell cards, two across on a tablet or phone: the button label stays on one line, centred (it broke
   into "Add to / cart", left-aligned), and an odd last card is not left alone on its row. */
@media (max-width: 768px) {
  html body.single-product .related.products ul.products .button,
  html body.single-product .upsells.products ul.products .button {
    justify-content: center;
    text-align: center;
    white-space: nowrap;
    padding-left: var(--hp-sp-2);
    padding-right: var(--hp-sp-2);
    letter-spacing: 0.01em;
  }
}
/* The grid is two across up to 1024px (measured at 1024, 2026-11-19), so the lone-card rule runs that far. */
@media (max-width: 1024px) {
  html body.single-product .related.products ul.products > li.product:last-child:nth-child(odd):not(:first-child),
  html body.single-product .upsells.products ul.products > li.product:last-child:nth-child(odd):not(:first-child) {
    display: none;
  }
}

/* ══ Cart and checkout on a phone (HORIZON-20261130-033, mobile audit of a creator store at 360/390/414/768) ══ */
/* F10: at 360 the 112px photo column pushed the line total 25px past the cart's 324px column and cut it ("$29.9").
   Under 400px the photo column is 80px. */
@media (max-width: 399.98px) {
  html body .wc-block-cart-items .wc-block-cart-item__image {
    width: 80px;
    padding-right: var(--hp-sp-4, 12px);
  }
  /* Woo's phone row is `80px 132px` plus an auto column for the total; the middle track becomes fluid so the three
     always fit the column. Woo's rule has 3 classes (`.wc-block-cart table.wc-block-cart-items .wc-block-cart-items__row`). */
  html body .wc-block-cart table.wc-block-cart-items .wc-block-cart-items__row {
    grid-template-columns: 80px minmax(0, 1fr) auto;
  }
}
/* F11: Woo block controls measured under 44px. The remove link and the toggles grow net zero (a matching negative
   margin, nothing moves); the checkbox rows, the quantity box and the two submit buttons get a 44px floor.
   The CCBill step checkout (hp-checkout-handoff.css) has its own designed spacing and is left alone. */
@media (max-width: 1024px) {
  /* Woo's own rule is `table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__quantity ...` (4 classes). */
  html body:not(.hp-checkout--ccbill-steps) table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__quantity .wc-block-cart-item__remove-link {
    display: block;
    width: 44px;
    height: 44px;
    margin: -10px;
  }
  html body:not(.hp-checkout--ccbill-steps) .wc-block-components-panel__button,
  html body:not(.hp-checkout--ccbill-steps) .wc-block-components-address-form__address_2-toggle {
    display: block;
    padding-top: 13px;
    padding-bottom: 13px;
    margin-top: -13px;
    margin-bottom: -13px;
  }
  /* The product name in a cart row (25px at 768 where it is one line): 44px, net zero. */
  html body:not(.hp-checkout--ccbill-steps) table.wc-block-cart-items .wc-block-cart-items__row .wc-block-components-product-name {
    display: inline-block;
    padding: 10px 0;
    margin: -10px 0;
  }
  html body:not(.hp-checkout--ccbill-steps) .wc-block-components-checkbox label {
    min-height: 44px;
    align-items: center;
  }
  /* Woo's `body:not(...) .wc-block-components-button:not(.is-link) { min-height: 3em }` (3 classes) out-ranked a
     plain class here, and the 56px rule above for the cart button, which measured 43.7. */
  html body:not(.hp-checkout--ccbill-steps) .wc-block-components-quantity-selector__input,
  html body:not(.hp-checkout--ccbill-steps) .wc-block-components-button:not(.is-link).wc-block-cart__submit-button,
  html body:not(.hp-checkout--ccbill-steps) .wc-block-components-button:not(.is-link).wc-block-components-checkout-place-order-button {
    min-height: 44px;
  }
}
