/**
Theme Name: Wellux
Theme URI: https://wellux.org
Author: Wellux
Description: Lightweight Astra child theme for wellux.org. Native WordPress and WooCommerce templates, no page builder, design-token driven.
Version: 2.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wellux
Template: astra
*/

/* ============================================================
   1. TOKENS
   Every colour, size and shadow in this file resolves here.
   Green has two roles: `brand` is identity only and never sits
   behind text; `primary` is the interactive green and is the
   only one allowed to carry or back text (>= 4.5:1 throughout).
   ============================================================ */
:root {
  --wx-brand:      #54B435;
  --wx-primary:    #2E7D32;
  --wx-primary-dk: #256B2A;
  --wx-tint:       #EDFBE2;
  --wx-border:     #D5EAD8;
  --wx-border-soft:#E8F1E4;

  --wx-heading: #0F172A;
  --wx-text:    #2F3B40;
  --wx-muted:   #586661;
  --wx-white:   #FFFFFF;
  --wx-ink-950: #0C1406;

  --wx-sale:    #B42318;
  --wx-star:    #E8A317;

  --wx-font-head: 'Montserrat', system-ui, -apple-system, sans-serif;
  --wx-font-body: 'Source Sans 3', 'Source Sans Pro', system-ui, -apple-system, sans-serif;

  --wx-r-control: 6px;
  --wx-r-surface: 10px;
  --wx-r-pill:    999px;

  --wx-shadow:      0 2px 10px rgba(15, 23, 42, .08);
  --wx-shadow-lift: 0 6px 16px rgba(15, 23, 42, .10);
  --wx-shadow-head: 0 2px 10px rgba(15, 23, 42, .12);

  --wx-1: 4px;   --wx-2: 8px;   --wx-3: 12px;  --wx-4: 16px;
  --wx-5: 20px;  --wx-6: 24px;  --wx-8: 32px;  --wx-10: 40px;
  --wx-12: 48px; --wx-16: 64px; --wx-20: 80px;

  --wx-max:    1200px;
  --wx-max-wide: 1400px;
  --wx-max-text: 750px;

  --wx-ease: cubic-bezier(.4, 0, .2, 1);
  --wx-dur:  .25s;
}

@media (prefers-reduced-motion: reduce) {
  :root { --wx-dur: 0s; }
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* Replaces Astra Pro's "scroll to id" module. */
html { scroll-behavior: smooth; }
:target { scroll-margin-top: calc(var(--wellux-header-offset, 90px) + var(--wx-4)); }

/* ============================================================
   2. BASE
   ============================================================ */
body {
  font-family: var(--wx-font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--wx-text);
  background: var(--wx-white);
  -webkit-font-smoothing: antialiased;
  padding-top: 0 !important;
}

h1, h2, h3, h4, h5, h6,
.entry-title, .site-title {
  font-family: var(--wx-font-head);
  color: var(--wx-heading);
  font-weight: 600;
  text-wrap: balance;
}

h1 { font-size: clamp(32px, 4.6vw, 40px); line-height: 1.10; }
h2 { font-size: clamp(26px, 3.6vw, 34px); line-height: 1.15; }
h3 { font-size: clamp(22px, 2.8vw, 28px); line-height: 1.30; }
h4 { font-size: clamp(18px, 2.2vw, 24px); line-height: 1.30; }
h5 { font-size: clamp(15px, 1.8vw, 20px); line-height: 1.50; }
h6 {
  font-size: clamp(13px, 1.4vw, 17px); line-height: 1.5;
  text-transform: uppercase; letter-spacing: 1.5px;
}

a { color: var(--wx-primary); text-underline-offset: 2px; }
a:hover, a:focus-visible { color: var(--wx-primary-dk); }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--wx-primary);
  outline-offset: 2px;
  border-radius: var(--wx-r-control);
}

img { max-width: 100%; height: auto; }

.wx-shell { max-width: var(--wx-max); margin-inline: auto; padding-inline: var(--wx-5); }
.wx-shell--wide { max-width: var(--wx-max-wide); }
.wx-shell--text { max-width: var(--wx-max-text); }

.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px;
  overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link:focus {
  position: fixed; top: var(--wx-3); left: var(--wx-3); z-index: 100000;
  width: auto; height: auto; clip: auto;
  background: var(--wx-white); color: var(--wx-primary);
  padding: var(--wx-3) var(--wx-5); border-radius: var(--wx-r-control);
  box-shadow: var(--wx-shadow-lift);
}

/* Section rhythm — one scale, applied by role. */
.wx-section { padding-block: clamp(var(--wx-12), 7vw, var(--wx-20)); }
.wx-section--tint { background: var(--wx-tint); }
.wx-section--flush { padding-block: 0; }

.wx-section__head { max-width: 60ch; margin-bottom: var(--wx-10); }
.wx-section__head--center { margin-inline: auto; text-align: center; }
.wx-eyebrow {
  font-family: var(--wx-font-head); font-size: 13px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--wx-primary); margin: 0 0 var(--wx-3);
}
.wx-section__title { margin: 0 0 var(--wx-4); }
.wx-section__sub { margin: 0; color: var(--wx-muted); font-size: 18px; }

/* ============================================================
   3. BUTTONS
   One control system for theme, WooCommerce and blocks.
   ============================================================ */
.wx-btn,
.wp-block-button__link,
.ast-button, .ast-custom-button,
.woocommerce a.button, .woocommerce button.button,
.woocommerce input.button, .woocommerce #respond input#submit,
.woocommerce a.button.alt, .woocommerce button.button.alt,
.woocommerce input.button.alt {
  display: inline-flex; align-items: center; justify-content: center;
  gap: var(--wx-2);
  background: var(--wx-primary);
  color: var(--wx-white);
  font-family: var(--wx-font-body);
  font-size: 16px; font-weight: 500; line-height: 1;
  text-transform: uppercase; letter-spacing: 1px; text-decoration: none;
  padding: 14px 24px;
  border: 1px solid transparent;
  border-radius: var(--wx-r-control);
  cursor: pointer;
  transition: background var(--wx-dur) var(--wx-ease),
              box-shadow var(--wx-dur) var(--wx-ease),
              transform var(--wx-dur) var(--wx-ease);
}

.wx-btn:hover, .wx-btn:focus-visible,
.wp-block-button__link:hover,
.ast-button:hover,
.woocommerce a.button:hover, .woocommerce button.button:hover,
.woocommerce input.button:hover, .woocommerce #respond input#submit:hover,
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover {
  background: var(--wx-primary-dk);
  color: var(--wx-white);
  box-shadow: var(--wx-shadow-lift);
  transform: translateY(-1px);
}

.wx-btn--ghost,
.woocommerce a.button.wc-backward {
  background: transparent;
  color: var(--wx-primary);
  border-color: var(--wx-border);
}
.wx-btn--ghost:hover,
.woocommerce a.button.wc-backward:hover {
  background: var(--wx-tint);
  color: var(--wx-primary-dk);
  border-color: var(--wx-primary);
}

.wx-btn--lg { padding: 17px 34px; font-size: 17px; }
.wx-btn--block { width: 100%; }

.woocommerce .button.loading { opacity: .7; }
.woocommerce a.added_to_cart { display: none; }

/* ============================================================
   4. FORMS
   ============================================================ */
input[type="text"], input[type="email"], input[type="tel"],
input[type="url"], input[type="password"], input[type="search"],
input[type="number"], input[type="date"], select, textarea,
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.select2-container--default .select2-selection--single {
  width: 100%;
  font-family: var(--wx-font-body);
  font-size: 16px;
  color: var(--wx-text);
  background: var(--wx-white);
  padding: 12px 14px;
  border: 1px solid var(--wx-border);
  border-radius: var(--wx-r-control);
  transition: border-color var(--wx-dur) var(--wx-ease),
              box-shadow var(--wx-dur) var(--wx-ease);
}
input:focus, select:focus, textarea:focus,
.woocommerce form .form-row input.input-text:focus {
  border-color: var(--wx-primary);
  box-shadow: 0 0 0 3px rgba(46, 125, 50, .15);
  outline: none;
}
label, .woocommerce form .form-row label {
  font-weight: 600; font-size: 15px; color: var(--wx-heading);
  margin-bottom: var(--wx-1); display: block;
}
::placeholder { color: var(--wx-muted); opacity: 1; }

/* ============================================================
   5. HEADER
   Astra's native header builder supplies the markup:
   logo | menu-1 | search + cart + account.
   ============================================================ */
.ast-main-header-wrap {
  position: fixed !important;
  top: 0 !important; left: 0 !important; right: 0 !important;
  width: 100% !important;
  z-index: 999 !important;
  background-color: transparent !important;
  border-bottom: 1px solid transparent;
  transition: background-color var(--wx-dur) var(--wx-ease),
              box-shadow var(--wx-dur) var(--wx-ease),
              border-color var(--wx-dur) var(--wx-ease);
}
.ast-main-header-wrap.wellux-scrolled {
  background-color: rgba(255, 255, 255, .97) !important;
  backdrop-filter: blur(10px);
  box-shadow: var(--wx-shadow-head);
  border-bottom-color: rgba(15, 23, 42, .08);
}
.ast-main-header-wrap .ast-primary-header-bar {
  background-color: transparent !important;
  transition: background-color var(--wx-dur) var(--wx-ease);
}
.ast-main-header-wrap * {
  transition: color var(--wx-dur) var(--wx-ease), fill var(--wx-dur) var(--wx-ease);
}
.ast-main-header-wrap.wellux-scrolled .ast-builder-menu-1 .menu-item > .menu-link,
.ast-main-header-wrap.wellux-scrolled .site-title a { color: var(--wx-heading); }
.ast-main-header-wrap.wellux-scrolled .ast-mobile-menu-trigger-fill { fill: var(--wx-heading); }

.site-primary-header-wrap {
  max-width: var(--wx-max-wide); margin-inline: auto;
  padding: var(--wx-3) 28px;
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--wx-6);
}
.site-primary-header-wrap .ast-builder-grid-row { align-items: center; gap: 18px; }
.site-primary-header-wrap .site-branding .custom-logo {
  display: block; max-height: 56px; width: auto; height: auto;
}
.ast-desktop .ast-primary-header-bar .main-header-menu > .menu-item { line-height: 20px; }

/* Nav links: a bottom rule marks hover and the current page.
   No pill, no rounded chip — the indicator sits on the baseline. */
.ast-builder-menu-1 .menu-item > .menu-link {
  position: relative;
  font-family: var(--wx-font-head);
  font-weight: 600; font-size: 15.5px;
  color: var(--wx-heading);
  padding: var(--wx-3) var(--wx-3);
  border-radius: 0;
  transition: color var(--wx-dur) var(--wx-ease);
}
.ast-builder-menu-1 .menu-item > .menu-link::after {
  content: ""; position: absolute;
  left: var(--wx-3); right: var(--wx-3); bottom: 6px;
  height: 2px; border-radius: 2px;
  background: var(--wx-primary);
  transform: scaleX(0); transform-origin: left center;
  transition: transform var(--wx-dur) var(--wx-ease);
}
.ast-builder-menu-1 .menu-item > .menu-link:hover,
.ast-builder-menu-1 .menu-item > .menu-link:focus-visible,
.ast-builder-menu-1 .menu-item.current-menu-item > .menu-link,
.ast-builder-menu-1 .menu-item.current-menu-ancestor > .menu-link {
  background: transparent;
  color: var(--wx-primary);
}
.ast-builder-menu-1 .menu-item > .menu-link:hover::after,
.ast-builder-menu-1 .menu-item > .menu-link:focus-visible::after,
.ast-builder-menu-1 .menu-item.current-menu-item > .menu-link::after,
.ast-builder-menu-1 .menu-item.current-menu-ancestor > .menu-link::after {
  transform: scaleX(1);
}
/* Submenu links keep their own treatment, not the underline. */
.ast-builder-menu-1 .sub-menu .menu-link::after { content: none; }

/* Header controls.
   Astra nests the three differently -- search carries `ast-flex` and holds a
   form, the cart's real link sits three levels down as `a.cart-container`,
   and the account wrapper is a bare div. Sizing only the innermost box left
   them off each other's centre line, so every wrapper is normalised first and
   the interactive element is what gets the 40px box. */
.ast-header-search,
.ast-header-woo-cart,
.ast-header-account {
  display: flex !important;
  align-items: center;
  gap: var(--wx-1);
  height: 40px;
}

/* Intermediate wrappers must not contribute height or baseline. */
.ast-header-woo-cart .ast-site-header-cart,
.ast-header-woo-cart .ast-site-header-cart-li,
.ast-header-search .ast-search-menu-icon,
.ast-header-account .ast-header-account-inner-wrap {
  display: flex !important;
  align-items: center;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  line-height: 1;
}

/* The interactive target: one consistent 40px square for all three. */
.ast-header-search .ast-search-icon > a.slide-search,
.ast-header-woo-cart a.cart-container,
.ast-header-account .ast-header-account-wrap {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: var(--wx-r-control);
  color: var(--wx-primary);
  transition: background-color var(--wx-dur) var(--wx-ease),
              color var(--wx-dur) var(--wx-ease);
}
.ast-header-search .ast-search-icon > a.slide-search:hover,
.ast-header-woo-cart a.cart-container:hover,
.ast-header-account .ast-header-account-wrap:hover,
.ast-header-search .ast-search-icon > a.slide-search:focus-visible,
.ast-header-woo-cart a.cart-container:focus-visible,
.ast-header-account .ast-header-account-wrap:focus-visible {
  background: var(--wx-tint);
  color: var(--wx-primary-dk);
}

/* Icons themselves: identical optical size, centred, no stray line-height. */
.ast-header-search .ast-icon.icon-search svg,
.ast-header-woo-cart .astra-icon svg,
.ast-header-account .ahfb-svg-iconset svg {
  width: 20px; height: 20px; display: block;
}
.ast-header-woo-cart .ast-addon-cart-wrap {
  display: flex !important; align-items: center; justify-content: center;
  width: auto; height: auto; background: none; border: 0; padding: 0;
}

/* Cart count badge, positioned against the 40px box rather than the icon. */
.ast-header-woo-cart a.cart-container { position: relative; }
.ast-site-header-cart .astra-icon::after {
  position: absolute; top: 2px; right: 2px;
  min-width: 17px; height: 17px; padding: 0 4px;
  display: flex; align-items: center; justify-content: center;
  background: var(--wx-primary); color: var(--wx-white);
  font-family: var(--wx-font-body); font-size: 10.5px; font-weight: 700;
  line-height: 1; border-radius: var(--wx-r-pill);
  border: 2px solid var(--wx-white);
}

/* The slide-out search form must stay free of the 40px box. */
.ast-header-search .ast-search-menu-icon .search-form {
  position: absolute; right: 0; top: 100%;
}
.ast-header-search .ast-search-menu-icon.ast-inline-search .search-form {
  position: static;
}
.ast-header-account-wrap .ahfb-svg-iconset,
.ast-header-search .icon-search,
.ast-site-header-cart .astra-icon {
  color: var(--wx-primary); fill: var(--wx-primary);
}
.ast-site-header-cart .astra-icon::after {
  background: var(--wx-primary); color: var(--wx-white);
  font-family: var(--wx-font-body); font-weight: 600;
}

/* Sticky-header offset */
.site-content,
.ast-page-builder-template .site-content {
  padding-top: var(--wellux-header-offset, 90px);
  transition: padding-top var(--wx-dur) var(--wx-ease);
}
.ast-page-builder-template .site-content > .ast-container { padding-top: 0; }
.ast-page-builder-template .entry-header { margin: 0; padding: 0; }

/* ============================================================
   6. HOME — HERO
   Sized to its content, not the viewport, so the page below it
   is visible in the first frame.
   ============================================================ */
.wx-hero {
  position: relative;
  padding-block: clamp(var(--wx-16), 11vw, 140px) clamp(var(--wx-12), 8vw, var(--wx-20));
  background:
    radial-gradient(120% 90% at 82% 8%, rgba(84, 180, 53, .16) 0%, transparent 58%),
    linear-gradient(180deg, var(--wx-tint) 0%, var(--wx-white) 100%);
  overflow: hidden;
}
.wx-hero__inner {
  max-width: var(--wx-max); margin-inline: auto; padding-inline: var(--wx-5);
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(var(--wx-8), 5vw, var(--wx-16)); align-items: center;
}
.wx-hero__eyebrow {
  font-family: var(--wx-font-head); font-size: 13px; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--wx-primary); margin: 0 0 var(--wx-4);
  display: inline-flex; align-items: center; gap: var(--wx-2);
}
.wx-hero__eyebrow::before {
  content: ""; width: 28px; height: 2px; background: var(--wx-brand); border-radius: 2px;
}
.wx-hero__title { margin: 0 0 var(--wx-5); font-size: clamp(36px, 5.4vw, 56px); line-height: 1.06; }
.wx-hero__text { margin: 0 0 var(--wx-8); font-size: clamp(17px, 1.5vw, 20px); color: var(--wx-muted); max-width: 52ch; }
.wx-hero__actions { display: flex; flex-wrap: wrap; gap: var(--wx-3); }
.wx-hero__media { position: relative; }
.wx-hero__media img {
  width: 100%; border-radius: var(--wx-r-surface); box-shadow: var(--wx-shadow-lift); display: block;
}

/* Trust strip under the hero */
.wx-trustbar {
  display: flex; flex-wrap: wrap; gap: var(--wx-4) var(--wx-8);
  margin-top: var(--wx-10); padding-top: var(--wx-6);
  border-top: 1px solid var(--wx-border);
}
.wx-trustbar__item {
  display: flex; align-items: center; gap: var(--wx-2);
  font-size: 15px; font-weight: 600; color: var(--wx-muted);
}
.wx-trustbar__item svg { width: 18px; height: 18px; color: var(--wx-primary); flex: none; }

/* ============================================================
   7. HOME — NUMBERED STEPS
   The numbering is real: these are sequential stages of the
   customer journey, so the markers carry information.
   ============================================================ */
.wx-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--wx-6); }
.wx-step {
  position: relative;
  padding: var(--wx-8) var(--wx-6) var(--wx-6);
  background: var(--wx-white);
  border: 1px solid var(--wx-border);
  border-radius: var(--wx-r-surface);
  transition: transform var(--wx-dur) var(--wx-ease), box-shadow var(--wx-dur) var(--wx-ease);
}
.wx-step:hover { transform: translateY(-2px); box-shadow: var(--wx-shadow); }
.wx-step__n {
  position: absolute; top: calc(var(--wx-5) * -1); left: var(--wx-6);
  width: 44px; height: 44px; border-radius: var(--wx-r-pill);
  display: flex; align-items: center; justify-content: center;
  background: var(--wx-primary); color: var(--wx-white);
  font-family: var(--wx-font-head); font-size: 15px; font-weight: 700;
  letter-spacing: .04em; box-shadow: 0 0 0 5px var(--wx-white);
}
.wx-step__title { margin: var(--wx-2) 0 var(--wx-2); font-size: 20px; }
.wx-step__text { margin: 0; color: var(--wx-muted); font-size: 16px; }

/* ============================================================
   8. CATEGORY GRID
   ============================================================ */
.wx-cats { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: var(--wx-5); }
.wx-cat {
  position: relative; display: block; overflow: hidden;
  border-radius: var(--wx-r-surface); background: var(--wx-tint);
  border: 1px solid var(--wx-border); text-decoration: none;
  transition: transform var(--wx-dur) var(--wx-ease), box-shadow var(--wx-dur) var(--wx-ease);
}
.wx-cat:hover { transform: translateY(-3px); box-shadow: var(--wx-shadow-lift); }
.wx-cat__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--wx-tint); }
.wx-cat__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wx-cat__body { padding: var(--wx-4) var(--wx-5) var(--wx-5); background: var(--wx-white); }
.wx-cat__name {
  font-family: var(--wx-font-head); font-weight: 600; font-size: 17px;
  color: var(--wx-heading); margin: 0 0 2px;
}
.wx-cat__count { font-size: 14px; color: var(--wx-muted); margin: 0; }

/* ============================================================
   9. PRODUCT CARDS  (WooCommerce ul.products li.product)
   ============================================================ */
.woocommerce ul.products {
  display: grid; gap: var(--wx-5); margin: 0; padding: 0; list-style: none;
}
.woocommerce ul.products.columns-4 { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.woocommerce ul.products.columns-3 { grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); }
.woocommerce ul.products::before, .woocommerce ul.products::after { content: none; }

.woocommerce ul.products li.product {
  width: auto !important; margin: 0 !important; float: none !important;
  display: flex; flex-direction: column;
  background: var(--wx-white);
  border: 1px solid var(--wx-border);
  border-radius: var(--wx-r-surface);
  overflow: hidden; text-align: left;
  transition: transform var(--wx-dur) var(--wx-ease), box-shadow var(--wx-dur) var(--wx-ease);
}
.woocommerce ul.products li.product:hover { transform: translateY(-3px); box-shadow: var(--wx-shadow-lift); }

.woocommerce ul.products li.product a img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: contain;
  background: var(--wx-white); padding: var(--wx-4);
  margin: 0; display: block;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--wx-font-head); font-size: 15px; font-weight: 600; line-height: 1.4;
  color: var(--wx-heading); padding: 0 var(--wx-4); margin: 0 0 var(--wx-2);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.woocommerce ul.products li.product .price {
  padding: 0 var(--wx-4); margin: auto 0 var(--wx-3);
  font-family: var(--wx-font-body); font-size: 18px; font-weight: 600; color: var(--wx-heading);
}
.woocommerce ul.products li.product .price del {
  color: var(--wx-muted); font-weight: 400; font-size: 15px; margin-right: var(--wx-1); opacity: 1;
}
.woocommerce ul.products li.product .price ins { text-decoration: none; color: var(--wx-sale); }
.woocommerce ul.products li.product .button {
  margin: 0 var(--wx-4) var(--wx-4); font-size: 14px; padding: 11px 16px;
}
.woocommerce ul.products li.product .star-rating { margin: 0 var(--wx-4) var(--wx-2); font-size: 13px; color: var(--wx-star); }

/* Sale badge: single product page only — see wellux_no_loop_sale_flash(). */
.woocommerce div.product span.onsale {
  position: absolute; top: var(--wx-3); left: var(--wx-3); z-index: 2;
  min-width: auto; min-height: auto; line-height: 1;
  background: var(--wx-sale); color: var(--wx-white);
  font-family: var(--wx-font-head); font-size: 11px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  padding: 6px 10px; border-radius: var(--wx-r-control); margin: 0;
}
.woocommerce ul.products li.product { position: relative; }

/* Out of stock veil */
.woocommerce ul.products li.product.outofstock .woocommerce-loop-product__link { opacity: .55; }

/* ============================================================
   10. SHOP / ARCHIVE
   ============================================================ */
.wx-archive-head {
  background: var(--wx-tint);
  border-bottom: 1px solid var(--wx-border);
  padding-block: var(--wx-10);
  margin-bottom: var(--wx-10);
}
.wx-archive-head__title { margin: 0 0 var(--wx-2); }
.wx-archive-head__desc { margin: 0; color: var(--wx-muted); max-width: 65ch; }

.woocommerce .woocommerce-result-count { color: var(--wx-muted); font-size: 15px; margin: 0; }
.woocommerce .woocommerce-ordering select {
  width: auto; padding: 10px 12px; font-size: 15px;
}
.wx-shop-toolbar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: var(--wx-4); margin-bottom: var(--wx-6);
  padding-bottom: var(--wx-4); border-bottom: 1px solid var(--wx-border-soft);
}

.woocommerce nav.woocommerce-pagination { margin-top: var(--wx-12); }
.woocommerce nav.woocommerce-pagination ul {
  display: flex; flex-wrap: wrap; gap: var(--wx-2); justify-content: center;
  border: 0; margin: 0; padding: 0;
}
.woocommerce nav.woocommerce-pagination ul li { border: 0; margin: 0; overflow: visible; }
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
  display: flex; align-items: center; justify-content: center;
  min-width: 42px; height: 42px; padding: 0 var(--wx-3);
  background: var(--wx-white); color: var(--wx-primary);
  border: 1px solid var(--wx-border); border-radius: var(--wx-r-control);
  font-weight: 600; font-size: 15px;
}
.woocommerce nav.woocommerce-pagination ul li span.current,
.woocommerce nav.woocommerce-pagination ul li a:hover {
  background: var(--wx-primary); color: var(--wx-white); border-color: var(--wx-primary);
}

/* ============================================================
   11. SINGLE PRODUCT
   ============================================================ */
.woocommerce div.product { margin-top: var(--wx-8); }
.woocommerce div.product .product_title { margin: 0 0 var(--wx-3); font-size: clamp(24px, 3vw, 32px); }
.woocommerce div.product .woocommerce-product-rating { margin-bottom: var(--wx-4); }
.woocommerce .star-rating span::before, .woocommerce .star-rating::before { color: var(--wx-star); }

.woocommerce div.product p.price,
.woocommerce div.product span.price {
  font-family: var(--wx-font-body); font-size: 30px; font-weight: 600;
  color: var(--wx-heading); margin-bottom: var(--wx-4);
}
.woocommerce div.product p.price del { font-size: 20px; color: var(--wx-muted); opacity: 1; }
.woocommerce div.product p.price ins { text-decoration: none; color: var(--wx-sale); }

.woocommerce div.product .woocommerce-product-details__short-description {
  color: var(--wx-muted); padding-bottom: var(--wx-5);
  border-bottom: 1px solid var(--wx-border-soft); margin-bottom: var(--wx-5);
}
.woocommerce div.product form.cart { display: flex; flex-wrap: wrap; gap: var(--wx-3); align-items: center; margin-bottom: var(--wx-6); }
.woocommerce div.product form.cart .quantity input.qty {
  width: 84px; height: 52px; text-align: center; font-size: 16px; font-weight: 600;
}
.woocommerce div.product form.cart .button { flex: 1 1 220px; padding: 17px 28px; }

/* Stock + bundle chips rendered by inc/commerce.php.
   State is carried by colour AND by a dot + wording, so it never
   depends on colour alone. */
.wx-stock, .wx-bundle {
  display: inline-flex; align-items: center; gap: var(--wx-2);
  font-size: 15px; font-weight: 600; line-height: 1;
  padding: 9px 14px; border-radius: var(--wx-r-pill);
  margin: 0 var(--wx-2) var(--wx-4) 0;
}
.wx-stock__dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.wx-stock--in   { background: var(--wx-tint); color: var(--wx-primary-dk); }
.wx-stock--in .wx-stock__dot { background: var(--wx-primary); }
.wx-stock--low  { background: #FDF4E3; color: #8A5A0B; }
.wx-stock--low .wx-stock__dot { background: #C77700; }
.wx-stock--out  { background: #FDF0EE; color: var(--wx-sale); }
.wx-stock--out .wx-stock__dot { background: var(--wx-sale); }
.wx-bundle { background: var(--wx-tint); color: var(--wx-primary-dk); }
.wx-bundle__label { font-weight: 600; opacity: .85; }
.wx-bundle__value { font-weight: 700; }

.woocommerce div.product .woocommerce-tabs ul.tabs {
  padding: 0; margin: 0 0 var(--wx-6); display: flex; flex-wrap: wrap; gap: var(--wx-1);
  border-bottom: 1px solid var(--wx-border);
}
.woocommerce div.product .woocommerce-tabs ul.tabs::before { content: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li {
  background: transparent; border: 0; border-radius: 0; margin: 0; padding: 0;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after { content: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  display: block; padding: var(--wx-3) var(--wx-5);
  font-family: var(--wx-font-head); font-weight: 600; font-size: 15px;
  color: var(--wx-muted); border-bottom: 3px solid transparent;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a,
.woocommerce div.product .woocommerce-tabs ul.tabs li a:hover {
  color: var(--wx-primary); border-bottom-color: var(--wx-primary);
}
.woocommerce div.product .woocommerce-tabs .panel { max-width: 80ch; }

.woocommerce .related.products, .woocommerce .upsells.products,
.wx-upsell { margin-top: var(--wx-16); }
.woocommerce .related.products > h2, .wx-upsell__title, .wx-related__title {
  font-size: clamp(22px, 2.6vw, 28px); margin: 0 0 var(--wx-6);
}

/* ============================================================
   12. CART / CHECKOUT / ACCOUNT
   ============================================================ */
.woocommerce table.shop_table {
  border: 1px solid var(--wx-border); border-radius: var(--wx-r-surface);
  border-collapse: separate; border-spacing: 0; overflow: hidden;
}
.woocommerce table.shop_table th {
  background: var(--wx-tint); font-family: var(--wx-font-head);
  font-size: 13px; letter-spacing: .06em; text-transform: uppercase;
  color: var(--wx-heading); padding: var(--wx-4);
}
.woocommerce table.shop_table td { padding: var(--wx-4); border-top: 1px solid var(--wx-border-soft); }
.woocommerce table.cart img { width: 64px; border-radius: var(--wx-r-control); }

.woocommerce .cart_totals h2, .woocommerce-checkout h3 {
  font-size: 20px; margin: 0 0 var(--wx-4);
}
.woocommerce-checkout #order_review,
.woocommerce .cart_totals {
  background: var(--wx-white); border: 1px solid var(--wx-border);
  border-radius: var(--wx-r-surface); padding: var(--wx-6);
}
.woocommerce-checkout #payment { background: transparent; border-radius: 0; }
.woocommerce-checkout #payment ul.payment_methods {
  border: 0; padding: 0; margin: 0 0 var(--wx-4);
}
.woocommerce-checkout #payment ul.payment_methods li {
  border: 1px solid var(--wx-border); border-radius: var(--wx-r-control);
  padding: var(--wx-3) var(--wx-4); margin-bottom: var(--wx-2);
  background: var(--wx-white);
}
.woocommerce-checkout #payment div.payment_box { background: var(--wx-tint); border-radius: var(--wx-r-control); }
.woocommerce-checkout #payment div.payment_box::before { border-bottom-color: var(--wx-tint); }
.woocommerce-checkout #place_order { width: 100%; padding: 18px; font-size: 17px; }

.woocommerce-message, .woocommerce-info, .woocommerce-error {
  border-top: 0; border-left: 3px solid var(--wx-primary);
  background: var(--wx-tint); color: var(--wx-heading);
  border-radius: 0 var(--wx-r-control) var(--wx-r-control) 0;
  padding: var(--wx-4) var(--wx-5);
}
.woocommerce-error { border-left-color: var(--wx-sale); background: #FDF0EE; }
.woocommerce-message::before, .woocommerce-info::before { color: var(--wx-primary); }
.woocommerce-error::before { color: var(--wx-sale); }

.woocommerce-account .woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 0; }
.woocommerce-account .woocommerce-MyAccount-navigation li a {
  display: block; padding: var(--wx-3) var(--wx-4);
  border-radius: var(--wx-r-control); font-weight: 600; color: var(--wx-text);
}
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a,
.woocommerce-account .woocommerce-MyAccount-navigation li a:hover {
  background: var(--wx-tint); color: var(--wx-primary-dk);
}

/* ============================================================
   13. BLOG
   ============================================================ */
.wx-post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: var(--wx-6); }
.wx-post-card {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--wx-white); border: 1px solid var(--wx-border);
  border-radius: var(--wx-r-surface);
  transition: transform var(--wx-dur) var(--wx-ease), box-shadow var(--wx-dur) var(--wx-ease);
}
.wx-post-card:hover { transform: translateY(-3px); box-shadow: var(--wx-shadow-lift); }
.wx-post-card__media { aspect-ratio: 16 / 9; overflow: hidden; }
.wx-post-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wx-post-card__body {
  padding: var(--wx-5); display: flex; flex-direction: column;
  gap: var(--wx-3); flex: 1;
}
/* Category reads as a label you can click; date and reading time are
   secondary and sit at the foot, out of the way of the headline. */
.wx-post-card__cat {
  align-self: flex-start;
  font-family: var(--wx-font-head); font-size: 11.5px; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--wx-primary-dk); text-decoration: none;
  background: var(--wx-tint); border-radius: var(--wx-r-pill);
  padding: 5px 11px;
  transition: background-color var(--wx-dur) var(--wx-ease);
}
.wx-post-card__cat:hover { background: var(--wx-border); color: var(--wx-primary-dk); }
.wx-post-card__title { font-size: 19px; margin: 0; line-height: 1.32; }
.wx-post-card__title a { color: var(--wx-heading); text-decoration: none; }
.wx-post-card__title a:hover { color: var(--wx-primary); }
.wx-post-card__excerpt { margin: 0; color: var(--wx-muted); font-size: 15.5px; line-height: 1.55; }
.wx-post-card__meta {
  margin: auto 0 0; padding-top: var(--wx-3);
  border-top: 1px solid var(--wx-border-soft);
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--wx-2);
  font-size: 13px; color: var(--wx-muted);
  font-variant-numeric: tabular-nums;
}

/* Archive header: give the blog index a proper masthead. */
.wx-archive-head { text-align: left; }
.wx-archive-head__title { font-size: clamp(30px, 4.2vw, 42px); }
.wx-archive-head__desc { font-size: 17px; margin-top: var(--wx-3); }

/* Reading measure.
   This must constrain the TEXT, never the wrapper: `.entry-content` also
   contains full-bleed sections (hero, category grids, product rows), and
   capping the wrapper squeezed the entire home page into a 750px column
   inside a 1440px viewport. Only flow content is limited. */
.single-post .entry-content > p,
.single-post .entry-content > ul,
.single-post .entry-content > ol,
.single-post .entry-content > h2,
.single-post .entry-content > h3,
.single-post .entry-content > h4,
.single-post .entry-content > blockquote {
  max-width: 68ch;
}
.entry-media {
  margin: 0 0 var(--wx-6); border-radius: var(--wx-r-surface); overflow: hidden;
}
.entry-media img { width: 100%; display: block; }
.entry-meta {
  font-style: normal; font-size: 14.5px;
  padding-top: var(--wx-3); border-top: 1px solid var(--wx-border-soft);
}

/* Single post: 3-column reading layout */
.custom-blog-layout {
  display: flex; align-items: flex-start; gap: 25px;
  max-width: var(--wx-max-wide); margin: var(--wx-5) auto; padding: 0 var(--wx-3);
}
.toc-sidebar, .recent-posts-sidebar {
  flex: 0 0 240px; position: sticky; top: 100px;
  height: fit-content; max-height: calc(100vh - 120px); overflow-y: auto;
}
.main-content-area {
  flex: 1; min-width: 0; background: var(--wx-white);
  padding: var(--wx-8) 30px; border-radius: var(--wx-r-surface); box-shadow: var(--wx-shadow);
}
.toc-container, .recent-posts-container {
  background: var(--wx-white); border: 1px solid var(--wx-border);
  border-radius: var(--wx-r-surface); box-shadow: var(--wx-shadow);
}
.toc-container { padding: var(--wx-3); }
.recent-posts-container { padding: var(--wx-5); }
.toc-container h3, .recent-posts-container h3 {
  margin: 0 0 var(--wx-4); padding-bottom: var(--wx-2);
  font-size: 16px; font-weight: 600; color: var(--wx-heading);
  border-bottom: 2px solid var(--wx-primary); text-align: center;
}
#toc-list, #toc-list ul { list-style: none; margin: 0; padding: 0; }
#toc-list a {
  display: block; padding: var(--wx-2) var(--wx-1); margin-bottom: 2px;
  color: var(--wx-text); text-decoration: none; font-size: 13px; line-height: 1.4;
  border-left: 3px solid transparent; border-bottom: 1px solid var(--wx-border-soft);
  border-radius: var(--wx-r-control);
  transition: background-color var(--wx-dur) var(--wx-ease), color var(--wx-dur) var(--wx-ease),
              border-left-color var(--wx-dur) var(--wx-ease), transform var(--wx-dur) var(--wx-ease);
}
#toc-list a:hover, #toc-list a:focus-visible {
  background: var(--wx-tint); border-left-color: var(--wx-primary);
  color: var(--wx-primary); transform: translateX(4px);
}
.recent-post-item { padding: var(--wx-3) 0; border-bottom: 1px solid var(--wx-border-soft); }
.recent-post-item:last-child { border-bottom: none; }
.recent-post-item a { display: block; color: var(--wx-text); text-decoration: none; font-size: 14px; line-height: 1.4; }
.recent-post-item a:hover { color: var(--wx-primary); }
.toc-sidebar::-webkit-scrollbar, .recent-posts-sidebar::-webkit-scrollbar { width: 4px; }
.toc-sidebar::-webkit-scrollbar-track, .recent-posts-sidebar::-webkit-scrollbar-track { background: var(--wx-border-soft); border-radius: 2px; }
.toc-sidebar::-webkit-scrollbar-thumb, .recent-posts-sidebar::-webkit-scrollbar-thumb { background: var(--wx-primary); border-radius: 2px; }

.entry-header { margin-bottom: 25px; padding-bottom: var(--wx-5); border-bottom: 1px solid var(--wx-border-soft); }
.entry-header h1 { margin: 0 0 var(--wx-4); font-size: clamp(24px, 4vw, 32px); line-height: 1.25; font-weight: 700; }
.entry-meta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--wx-3); margin: 0; color: var(--wx-muted); font-size: 14px; }
.entry-content { font-size: 17px; line-height: 1.65; color: var(--wx-text); }
.entry-content > * + * { margin-top: var(--wx-4); }
.entry-content h2 {
  margin: var(--wx-10) 0 var(--wx-4); padding-left: var(--wx-4);
  font-size: clamp(21px, 3vw, 26px); border-left: 4px solid var(--wx-primary);
}
.entry-content h3 { margin: var(--wx-8) 0 var(--wx-3); font-size: clamp(18px, 2.4vw, 21px); }
.entry-content p { text-align: left; }
.entry-content img { border-radius: var(--wx-r-control); box-shadow: var(--wx-shadow); }
.entry-content ul, .entry-content ol { padding-left: 25px; }
.entry-content li { margin-bottom: var(--wx-2); line-height: 1.6; }
.entry-content blockquote {
  margin: var(--wx-8) 0; padding: var(--wx-5) var(--wx-6);
  background: var(--wx-tint); border-left: 4px solid var(--wx-primary);
  border-radius: 0 var(--wx-r-control) var(--wx-r-control) 0; font-size: 18px;
}
.entry-content blockquote p:last-child { margin-bottom: 0; }
.last-updated { color: var(--wx-muted); font-size: 14px; }

.wx-related { margin-top: var(--wx-16); padding-top: var(--wx-8); border-top: 1px solid var(--wx-border); }
.wx-related__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: var(--wx-5); }
.wx-related__card { display: flex; flex-direction: column; gap: var(--wx-2); }
.wx-related__link { text-decoration: none; }
.wx-related__media { aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--wx-r-control); margin-bottom: var(--wx-2); }
.wx-related__media img { width: 100%; height: 100%; object-fit: cover; }
.wx-related__heading { font-size: 16px; margin: 0; line-height: 1.4; color: var(--wx-heading); }
.wx-related__excerpt { margin: 0; font-size: 14.5px; color: var(--wx-muted); }

/* ============================================================
   14. CTA + FOOTER
   ============================================================ */
.wx-cta {
  background: linear-gradient(135deg, var(--wx-primary-dk) 0%, var(--wx-primary) 100%);
  color: var(--wx-white); border-radius: var(--wx-r-surface);
  padding: clamp(var(--wx-8), 5vw, var(--wx-16)); text-align: center;
}
.wx-cta__title { color: var(--wx-white); margin: 0 0 var(--wx-3); }
.wx-cta__text { color: rgba(255, 255, 255, .92); margin: 0 auto var(--wx-6); max-width: 55ch; font-size: 18px; }
.wx-cta .wx-btn { background: var(--wx-white); color: var(--wx-primary-dk); }
.wx-cta .wx-btn:hover { background: var(--wx-tint); color: var(--wx-primary-dk); }

/* ============================================================
   FOOTER  (theme template, see footer.php)
   ============================================================ */
.wx-footer { background: var(--wx-ink-950); color: rgba(255, 255, 255, .74); }
.wx-footer a { color: rgba(255, 255, 255, .74); text-decoration: none;
  transition: color var(--wx-dur) var(--wx-ease); }
.wx-footer a:hover, .wx-footer a:focus-visible { color: var(--wx-brand); }
.wx-footer a:focus-visible { outline: 3px solid var(--wx-brand); outline-offset: 2px; }

.wx-footer__main { padding-block: clamp(var(--wx-10), 6vw, var(--wx-16)); }
.wx-footer__grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.6fr) repeat(3, minmax(150px, 1fr));
  gap: clamp(var(--wx-6), 4vw, var(--wx-10));
  align-items: start;
}

.wx-footer__logo { display: inline-block; margin-bottom: var(--wx-4); }
.wx-footer__logo img { height: 44px; width: auto; display: block; }
.wx-footer__wordmark {
  font-family: var(--wx-font-head); font-size: 22px; font-weight: 700;
  color: var(--wx-white); margin: 0 0 var(--wx-4);
}
.wx-footer__pitch {
  margin: 0 0 var(--wx-5); font-size: 15px; line-height: 1.6;
  color: rgba(255, 255, 255, .62); max-width: 42ch;
}
.wx-footer__contact { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--wx-2); }
.wx-footer__contact li {
  display: flex; align-items: center; gap: var(--wx-2);
  font-size: 14.5px; line-height: 1.4;
}
.wx-footer__contact .wx-icon { color: var(--wx-brand); opacity: .9; }
.wx-footer__muted { color: rgba(255, 255, 255, .42); font-size: 13px; }

.wx-footer__title {
  font-family: var(--wx-font-head); font-size: 13px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--wx-white); margin: 0 0 var(--wx-4);
}
.wx-footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.wx-footer__list a {
  font-size: 15px; line-height: 1.4;
  display: inline-flex; align-items: baseline; gap: var(--wx-2);
}

.wx-footer__bar { border-top: 1px solid rgba(255, 255, 255, .10); }
.wx-footer__bar-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: var(--wx-3); padding-block: var(--wx-5);
}
.wx-footer__legal, .wx-footer__note {
  margin: 0; font-size: 13.5px; color: rgba(255, 255, 255, .58);
  display: flex; align-items: center; gap: var(--wx-2); flex-wrap: wrap;
}
.wx-footer__note .wx-icon { color: var(--wx-brand); }

@media (max-width: 960px) {
  .wx-footer__grid { grid-template-columns: 1fr 1fr; }
  .wx-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .wx-footer__grid { grid-template-columns: 1fr; }
  .wx-footer__bar-inner { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   15. RESPONSIVE
   Content breaks at 768 / 1024 / 1200. 921 is Astra's header
   break point and is tied to its JS, so it stays as-is.
   ============================================================ */
@media (max-width: 1200px) {
  .custom-blog-layout { max-width: 1000px; gap: var(--wx-5); }
  .toc-sidebar, .recent-posts-sidebar { flex: 0 0 220px; }
  .main-content-area { padding: 25px; }
}

@media (max-width: 1024px) {
  .wx-hero__inner { grid-template-columns: 1fr; }
  .wx-hero__media { order: -1; }
  .custom-blog-layout { flex-direction: column; max-width: 100%; gap: var(--wx-5); padding: 0 var(--wx-4); }
  .toc-sidebar, .recent-posts-sidebar { position: static; flex: none; width: 100%; max-height: none; }
  .toc-sidebar { order: 1; }
  .main-content-area { order: 2; width: 100%; padding: 25px; }
  .recent-posts-sidebar { order: 3; }
}

@media (max-width: 921px) {
  .site-primary-header-wrap { padding: 10px 18px; }
  .ast-builder-menu-1 .menu-item > .menu-link { padding: 10px 14px; }
  .ast-main-header-wrap { background: rgba(255, 255, 255, .98) !important; }
  .ast-primary-header-bar {
    position: relative; z-index: 1000; min-height: 64px; background: rgba(255, 255, 255, .98);
  }
  .site-branding .custom-logo,
  .site-primary-header-wrap .site-branding .custom-logo { max-height: 44px !important; width: auto !important; }
  .ast-header-break-point #ast-desktop-header .ast-desktop-header-content,
  .ast-main-header-nav-open.ast-header-break-point #ast-desktop-header .ast-desktop-header-content {
    position: absolute; top: 100%; left: 0; right: 0; width: 100%;
    max-height: calc(100vh - 64px); overflow-y: auto;
    background: var(--wx-white); border-top: 1px solid rgba(15, 23, 42, .06);
    box-shadow: 0 6px 24px rgba(15, 23, 42, .12); z-index: 999;
  }
  .ast-header-break-point .site-header-primary-section-center { display: none !important; }
  .ast-header-break-point .main-navigation .main-header-menu .menu-item .menu-link {
    padding: 14px var(--wx-5); font-size: 15px;
  }
}

@media (max-width: 768px) {
  .site-content { padding-top: var(--wellux-header-offset, 76px); }
  .wx-hero { padding-block: var(--wx-12) var(--wx-10); }
  .wx-hero__actions .wx-btn { width: 100%; }
  .woocommerce ul.products.columns-4,
  .woocommerce ul.products.columns-3 { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: var(--wx-3); }
  .woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 14px; }
  .woocommerce div.product form.cart .button { flex: 1 1 100%; }
  .custom-blog-layout { gap: var(--wx-4); padding: 0 var(--wx-3); }
  .main-content-area { padding: var(--wx-5); box-shadow: none; border: 1px solid var(--wx-border); }
  .toc-container, .recent-posts-container { padding: var(--wx-4); background: var(--wx-tint); }
  .toc-container h3, .recent-posts-container h3 { font-size: 14px; }
  #toc-list a { font-size: 12px; padding: 6px var(--wx-2); }
  .wx-shop-toolbar { flex-direction: column; align-items: stretch; }
}

/* Print: give customers a clean order/receipt page. */
@media print {
  .ast-main-header-wrap, .site-footer, .toc-sidebar,
  .recent-posts-sidebar, .wx-related, .wx-upsell { display: none !important; }
  .site-content { padding-top: 0 !important; }
  .main-content-area { box-shadow: none; border: 0; padding: 0; }
}

/* ============================================================
   16. BLOCK EDITOR OUTPUT
   Core blocks carrying theme classes. Keeps page content
   editable in Gutenberg while still rendering as designed.
   ============================================================ */
.wx-rounded img,
.wp-block-image.wx-rounded img {
  border-radius: var(--wx-r-surface);
  box-shadow: var(--wx-shadow-lift);
}

/* .wx-steps is a core columns block; override its flex layout with the
   grid the design needs, and restore the card gutters columns removes. */
.wp-block-columns.wx-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--wx-6);
  margin-top: var(--wx-12);
}
.wp-block-columns.wx-steps > .wp-block-column {
  flex-basis: auto !important;
  margin-left: 0 !important;
}
.wx-steps .wx-step__n { margin: 0; }

/* Blocks inside a section shouldn't inherit core's top-margin stacking. */
.wx-section > .wp-block-group + .wp-block-group { margin-top: var(--wx-10); }
.wx-hero__inner > .wp-block-group { margin: 0; }
.wx-cta > * { margin-block: 0; }
.wx-cta > * + * { margin-top: var(--wx-4); }

/* Core wraps every button in `.wp-block-button`, and the theme class sits on
   that wrapper — so the base button rule was painting the wrapper AND the
   inner link, producing a button inside a button. The wrapper is reset to a
   plain layout box and only the link is styled. */
.wp-block-button.wx-btn,
.wp-block-button.wx-btn--ghost,
.wp-block-button.wx-btn--lg,
.wp-block-button.wx-btn--block {
  display: inline-flex;
  background: transparent;
  border: 0;
  padding: 0;
  box-shadow: none;
  border-radius: 0;
  letter-spacing: normal;
  text-transform: none;
  transform: none;
}
.wp-block-button.wx-btn:hover,
.wp-block-button.wx-btn--ghost:hover,
.wp-block-button.wx-btn--lg:hover {
  background: transparent; box-shadow: none; transform: none;
}
.wp-block-button.wx-btn .wp-block-button__link { width: 100%; }

/* Button rows sit on one line and wrap only when they must. */
.wp-block-buttons.wx-hero__actions,
.wp-block-buttons {
  display: flex; flex-wrap: wrap; gap: var(--wx-3); align-items: center;
}
.wp-block-button.wx-btn--ghost .wp-block-button__link {
  background: transparent; color: var(--wx-primary); border: 1px solid var(--wx-border);
}
.wp-block-button.wx-btn--ghost .wp-block-button__link:hover {
  background: var(--wx-tint); color: var(--wx-primary-dk); border-color: var(--wx-primary);
}
.wp-block-button.wx-btn--lg .wp-block-button__link { padding: 17px 34px; font-size: 17px; }
.wx-cta .wp-block-button__link { background: var(--wx-white); color: var(--wx-primary-dk); }
.wx-cta .wp-block-button__link:hover { background: var(--wx-tint); color: var(--wx-primary-dk); }

/* ============================================================
   17. WOOCOMMERCE CATEGORY TILES
   Output of [product_categories] — same card system as products.
   ============================================================ */
.woocommerce ul.products li.product-category {
  position: relative; display: flex; flex-direction: column;
  background: var(--wx-white); border: 1px solid var(--wx-border);
  border-radius: var(--wx-r-surface); overflow: hidden; text-align: left;
  transition: transform var(--wx-dur) var(--wx-ease), box-shadow var(--wx-dur) var(--wx-ease);
}
.woocommerce ul.products li.product-category:hover {
  transform: translateY(-3px); box-shadow: var(--wx-shadow-lift);
}
.woocommerce ul.products li.product-category > a { text-decoration: none; display: block; }
.woocommerce ul.products li.product-category img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  padding: 0; margin: 0; background: var(--wx-tint); display: block;
}
.woocommerce ul.products li.product-category .woocommerce-loop-category__title {
  font-family: var(--wx-font-head); font-size: 17px; font-weight: 600;
  color: var(--wx-heading); padding: var(--wx-4) var(--wx-5); margin: 0;
}

/* Search form */
.wp-block-search__inside-wrapper, .search-form {
  display: flex; gap: var(--wx-2);
}
.search-form input[type="search"] { flex: 1; }

/* ============================================================
   18. INTERIOR PAGES
   Page hero, stats band, paired cards, long-form prose.
   ============================================================ */
.wx-page-hero {
  background: linear-gradient(180deg, var(--wx-tint) 0%, var(--wx-white) 100%);
  border-bottom: 1px solid var(--wx-border);
  padding-block: clamp(var(--wx-12), 8vw, 110px) clamp(var(--wx-10), 6vw, var(--wx-16));
  text-align: center;
}
.wx-page-hero__title { margin: 0 auto var(--wx-4); max-width: 22ch; }
.wx-page-hero__text { margin: 0 auto; max-width: 62ch; font-size: clamp(17px, 1.6vw, 19px); color: var(--wx-muted); }

/* Stats — figures the business actually reports. */
.wp-block-columns.wx-stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--wx-5); margin: 0;
}
.wp-block-columns.wx-stats > .wp-block-column { flex-basis: auto !important; margin-left: 0 !important; }
.wx-stat {
  text-align: center; padding: var(--wx-6) var(--wx-4);
  background: var(--wx-white); border: 1px solid var(--wx-border);
  border-radius: var(--wx-r-surface);
}
.wx-stat__n {
  font-family: var(--wx-font-head); font-size: clamp(28px, 3.4vw, 38px);
  font-weight: 700; line-height: 1; color: var(--wx-primary);
  margin: 0 0 var(--wx-2); font-variant-numeric: tabular-nums;
}
.wx-stat__label { margin: 0; font-size: 15px; color: var(--wx-muted); line-height: 1.4; }

/* Paired cards — vision / mission, values, guarantees. */
.wp-block-columns.wx-cards { gap: var(--wx-5); }
.wx-card {
  padding: var(--wx-8) var(--wx-6);
  background: var(--wx-white); border: 1px solid var(--wx-border);
  border-radius: var(--wx-r-surface);
}
.wx-card--tint { background: var(--wx-tint); border-color: var(--wx-border); }
.wx-card > :first-child { margin-top: 0; }
.wx-card > :last-child { margin-bottom: 0; }
.wx-card h2, .wx-card h3 { margin-top: 0; margin-bottom: var(--wx-3); font-size: 22px; }

/* Long-form editorial copy on interior pages. */
.wx-prose { max-width: 72ch; margin-inline: auto; }
.wx-prose > * + * { margin-top: var(--wx-5); }
.wx-prose h2 { margin-top: var(--wx-12); margin-bottom: var(--wx-4); font-size: clamp(22px, 2.8vw, 28px); }
.wx-prose h3 { margin-top: var(--wx-8); margin-bottom: var(--wx-3); }
.wx-prose p { color: var(--wx-text); }
.wx-prose ul, .wx-prose ol { padding-left: 24px; }
.wx-prose li + li { margin-top: var(--wx-2); }

/* Contact detail list */
.wx-contact { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--wx-5); }
.wx-contact__item {
  padding: var(--wx-6); background: var(--wx-white);
  border: 1px solid var(--wx-border); border-radius: var(--wx-r-surface);
}
.wx-contact__label {
  font-family: var(--wx-font-head); font-size: 12px; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; color: var(--wx-primary);
  margin: 0 0 var(--wx-2);
}
.wx-contact__value { margin: 0; font-size: 17px; color: var(--wx-heading); }
.wx-contact__value a { color: var(--wx-heading); }
.wx-contact__value a:hover { color: var(--wx-primary); }

/* FAQ accordion — core details block */
.wp-block-details {
  background: var(--wx-white); border: 1px solid var(--wx-border);
  border-radius: var(--wx-r-surface); padding: var(--wx-4) var(--wx-5);
}
.wp-block-details + .wp-block-details { margin-top: var(--wx-3); }
.wp-block-details summary {
  font-family: var(--wx-font-head); font-weight: 600; font-size: 17px;
  color: var(--wx-heading); cursor: pointer; list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: var(--wx-3);
}
.wp-block-details summary::-webkit-details-marker { display: none; }
.wp-block-details summary::after {
  content: "+"; font-size: 22px; font-weight: 400; color: var(--wx-primary);
  line-height: 1; flex: none; transition: transform var(--wx-dur) var(--wx-ease);
}
.wp-block-details[open] summary::after { content: "\2212"; }
.wp-block-details summary:focus-visible { outline: 3px solid var(--wx-primary); outline-offset: 3px; border-radius: var(--wx-r-control); }
.wp-block-details p { margin: var(--wx-3) 0 0; color: var(--wx-muted); }

/* ============================================================
   19. HEADER DROPDOWNS
   Astra's default submenu is too narrow for category names like
   "Health & Beauty" or "Nutraceuticals", which wrapped onto two
   lines. Width is driven by content, with a floor and a ceiling.
   ============================================================ */
.ast-builder-menu-1 .sub-menu,
.ast-desktop .ast-builder-menu-1 .main-header-menu .sub-menu {
  min-width: 232px;
  width: max-content;
  max-width: 320px;
  padding: var(--wx-2);
  background: var(--wx-white);
  border: 1px solid var(--wx-border);
  border-radius: var(--wx-r-surface);
  box-shadow: var(--wx-shadow-lift);
}
.ast-builder-menu-1 .sub-menu .menu-item { width: 100%; }
.ast-builder-menu-1 .sub-menu .menu-link {
  display: block;
  width: 100%;
  padding: 10px var(--wx-3);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--wx-text);
  white-space: normal;      /* long category names wrap cleanly */
  border-radius: var(--wx-r-control);
  border-bottom: 0;
  transition: background-color var(--wx-dur) var(--wx-ease),
              color var(--wx-dur) var(--wx-ease);
}
.ast-builder-menu-1 .sub-menu .menu-item > .menu-link:hover,
.ast-builder-menu-1 .sub-menu .menu-item > .menu-link:focus-visible,
.ast-builder-menu-1 .sub-menu .menu-item.current-menu-item > .menu-link {
  background: var(--wx-tint);
  color: var(--wx-primary-dk);
}
/* Nested (third level) sits beside its parent, not clipped. */
.ast-builder-menu-1 .sub-menu .sub-menu { margin-left: var(--wx-1); }

/* On mobile the dropdown is a stacked list, so drop the panel chrome. */
@media (max-width: 921px) {
  .ast-builder-menu-1 .sub-menu,
  .ast-desktop .ast-builder-menu-1 .main-header-menu .sub-menu {
    min-width: 0; width: 100%; max-width: none;
    border: 0; box-shadow: none; border-radius: 0;
    padding: 0 0 0 var(--wx-4); background: transparent;
  }
  .ast-builder-menu-1 .menu-item > .menu-link::after { content: none; }
}

/* ============================================================
   20. SINGLE PRODUCT — LAYOUT
   Gallery and buy-box side by side, with the buy decision
   (price, stock, quantity, add to cart) grouped as one unit.
   ============================================================ */
.woocommerce div.product {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(var(--wx-8), 4vw, var(--wx-16));
  align-items: start;
  max-width: var(--wx-max);
  margin-inline: auto;
  padding-inline: var(--wx-5);
}
.woocommerce div.product .woocommerce-product-gallery { width: 100% !important; float: none !important; margin: 0; }
.woocommerce div.product div.summary { width: 100% !important; float: none !important; margin: 0; }

/* Full-width rows below the two columns */
.woocommerce div.product .woocommerce-tabs,
.woocommerce div.product .related,
.woocommerce div.product .upsells,
.woocommerce div.product .wx-trust-row { grid-column: 1 / -1; }

.woocommerce div.product .woocommerce-product-gallery__wrapper {
  border: 1px solid var(--wx-border);
  border-radius: var(--wx-r-surface);
  overflow: hidden;
  background: var(--wx-white);
}
.woocommerce div.product .woocommerce-product-gallery__image img { border-radius: 0; }
.woocommerce div.product .flex-control-thumbs {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
  gap: var(--wx-2); margin-top: var(--wx-3); padding: 0; list-style: none;
}
.woocommerce div.product .flex-control-thumbs li { width: auto; margin: 0; float: none; }
.woocommerce div.product .flex-control-thumbs img {
  border: 1px solid var(--wx-border); border-radius: var(--wx-r-control);
  opacity: .65; transition: opacity var(--wx-dur) var(--wx-ease), border-color var(--wx-dur) var(--wx-ease);
}
.woocommerce div.product .flex-control-thumbs img:hover,
.woocommerce div.product .flex-control-thumbs img.flex-active { opacity: 1; border-color: var(--wx-primary); }

/* Buy box.
   The price and the cart form are not adjacent in Woo's markup — a short
   description and other hooks sit between them — so boxing both and joining
   their corners left the price stranded in its own panel. Only the cart form
   is boxed; the price is simply large, confident type. */
.woocommerce div.product div.summary > .price {
  background: none;
  border: 0;
  padding: 0;
  margin: 0 0 var(--wx-4);
}
.woocommerce div.product div.summary > form.cart {
  padding: var(--wx-5);
  background: var(--wx-tint);
  border: 1px solid var(--wx-border);
  border-radius: var(--wx-r-surface);
  margin-bottom: var(--wx-6);
}
.woocommerce div.product .product_meta {
  font-size: 14px; color: var(--wx-muted);
  padding-top: var(--wx-4); border-top: 1px solid var(--wx-border-soft);
}
.woocommerce div.product .product_meta > span { display: block; margin-bottom: var(--wx-1); }
.woocommerce div.product .product_meta a { color: var(--wx-primary); }

@media (max-width: 900px) {
  .woocommerce div.product { grid-template-columns: 1fr; gap: var(--wx-8); }
}

/* ============================================================
   21. HOME — BRAND STRIP
   The catalogue's real differentiator: household-name Indian
   Ayurvedic brands. Typographic, not logo soup.
   ============================================================ */
.wx-brands { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: var(--wx-3); }
.wx-brand {
  display: flex; flex-direction: column; justify-content: center;
  padding: var(--wx-5) var(--wx-4); text-align: center; text-decoration: none;
  background: var(--wx-white); border: 1px solid var(--wx-border);
  border-radius: var(--wx-r-surface);
  transition: border-color var(--wx-dur) var(--wx-ease),
              transform var(--wx-dur) var(--wx-ease),
              box-shadow var(--wx-dur) var(--wx-ease);
}
.wx-brand:hover { border-color: var(--wx-primary); transform: translateY(-2px); box-shadow: var(--wx-shadow); }
.wx-brand__name {
  font-family: var(--wx-font-head); font-size: 17px; font-weight: 700;
  color: var(--wx-heading); margin: 0 0 2px; letter-spacing: -.01em;
}
.wx-brand__count { font-size: 13.5px; color: var(--wx-muted); margin: 0; font-variant-numeric: tabular-nums; }

/* ============================================================
   22. HOME — TRUST BAR + CONCERN GRID
   ============================================================ */
.wx-trust {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: var(--wx-5); padding: var(--wx-6) 0 0; margin-top: var(--wx-8);
  border-top: 1px solid var(--wx-border);
}
.wx-trust__item { display: flex; gap: var(--wx-3); align-items: flex-start; }
.wx-trust__icon {
  flex: none; width: 34px; height: 34px; border-radius: var(--wx-r-control);
  background: var(--wx-tint); color: var(--wx-primary-dk);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--wx-font-head); font-weight: 700; font-size: 15px;
}
.wx-trust__title { font-family: var(--wx-font-head); font-weight: 600; font-size: 15.5px; color: var(--wx-heading); margin: 0 0 2px; }
.wx-trust__text { margin: 0; font-size: 14.5px; color: var(--wx-muted); line-height: 1.45; }

/* Navigation chips: these ARE clickable objects, so they keep a fill and a
   clear hit area — but stay compact so they read as a control strip, not
   as six more content cards. */
.wx-concerns { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: var(--wx-2); }
.wx-concern {
  display: flex; align-items: center; gap: var(--wx-3);
  padding: var(--wx-3) var(--wx-4); text-decoration: none;
  background: var(--wx-white);
  border: 1px solid var(--wx-border);
  border-radius: var(--wx-r-pill);
  transition: background-color var(--wx-dur) var(--wx-ease),
              border-color var(--wx-dur) var(--wx-ease);
}
.wx-concern:hover, .wx-concern:focus-visible {
  background: var(--wx-tint); border-color: var(--wx-primary);
  transform: none;
}
.wx-concern__icon {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--wx-tint); color: var(--wx-primary-dk);
  border: 0;
  display: flex; align-items: center; justify-content: center; flex: none;
}
.wx-concern:hover .wx-concern__icon { background: var(--wx-white); }
.wx-concern__name {
  display: block; font-family: var(--wx-font-head); font-size: 15px;
  font-weight: 600; color: var(--wx-heading); line-height: 1.25;
}
.wx-concern__meta { display: block; margin: 0; font-size: 13px; color: var(--wx-muted); line-height: 1.3; }

/* Latest posts block on the home page */
/* Six articles read best as an even 3 x 2 grid — a lead-plus-secondaries
   split only earns its complexity at three. */
.wx-journal .wp-block-latest-posts__list {
  display: grid; gap: var(--wx-5); list-style: none; margin: 0; padding: 0;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}
@media (min-width: 1024px) {
  .wx-journal .wp-block-latest-posts__list { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 640px) and (max-width: 1023px) {
  .wx-journal .wp-block-latest-posts__list { grid-template-columns: repeat(2, 1fr); }
}
.wx-journal .wp-block-latest-posts__featured-image { display: block; }
.wx-journal .wp-block-latest-posts__featured-image img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.wx-journal .wp-block-latest-posts__post-title {
  display: block; font-family: var(--wx-font-head); font-size: 17px; font-weight: 600;
  line-height: 1.35; color: var(--wx-heading); text-decoration: none;
  padding: var(--wx-4) var(--wx-5) 0;
}
.wx-journal .wp-block-latest-posts__post-title:hover { color: var(--wx-primary); }
.wx-journal .wp-block-latest-posts__post-date {
  font-size: 13px; color: var(--wx-muted); padding: var(--wx-2) var(--wx-5) 0; display: block;
}
.wx-journal .wp-block-latest-posts__post-excerpt {
  font-size: 14.5px; color: var(--wx-muted); padding: var(--wx-2) var(--wx-5) var(--wx-5); margin: 0;
}

/* ============================================================
   23. STOREFRONT REASSURANCE + ARCHIVE HEAD
   ============================================================ */

/* Icons: inline SVG, inherit currentColor, never scale with font-size. */
.wx-icon { display: block; flex: none; }

.wx-reassure {
  list-style: none; margin: var(--wx-5) 0 0; padding: var(--wx-4) 0 0;
  border-top: 1px solid var(--wx-border-soft);
  display: grid; gap: var(--wx-4);
}
.wx-reassure__item { display: flex; align-items: flex-start; gap: var(--wx-3); }
.wx-reassure__icon {
  flex: none; width: 34px; height: 34px; border-radius: var(--wx-r-control);
  background: var(--wx-tint); color: var(--wx-primary-dk);
  display: flex; align-items: center; justify-content: center;
}
.wx-reassure__body { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.wx-reassure__title {
  font-family: var(--wx-font-head); font-weight: 600; font-size: 14.5px;
  color: var(--wx-heading);
}
.wx-reassure__text { font-size: 14px; color: var(--wx-muted); line-height: 1.45; }

/* Long-form policy pages inherit the reading measure automatically. */
.page .entry-content > h2 { margin-top: var(--wx-10); }
.page .entry-content > h3 { margin-top: var(--wx-8); }

/* Icon slots in home-page components */
.wx-trust__icon .wx-icon, .wx-concern__icon .wx-icon { width: 20px; height: 20px; }
.wx-concern { display: flex; align-items: flex-start; gap: var(--wx-3); }
.wx-concern__icon {
  flex: none; width: 36px; height: 36px; border-radius: var(--wx-r-control);
  background: var(--wx-white); color: var(--wx-primary-dk);
  border: 1px solid var(--wx-border);
  display: flex; align-items: center; justify-content: center;
}
.wx-concern__body { min-width: 0; }
.wx-brand__since {
  display: block; font-size: 12px; color: var(--wx-muted);
  letter-spacing: .04em; margin-top: 4px;
}

/* ============================================================
   24. SHIPPING TIERS + NEWSLETTER
   Real delivery options, priced as configured in WooCommerce.
   ============================================================ */
/* Shipping options exist to be compared, so they are laid out as rows with
   aligned columns and tabular figures — not as four cards you have to
   scan back and forth between. */
.wx-ship {
  display: grid; gap: 0;
  background: var(--wx-white);
  border: 1px solid var(--wx-border);
  border-radius: var(--wx-r-surface);
  overflow: hidden;
}
.wx-ship__item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) minmax(0, 1.3fr) auto;
  align-items: center; gap: var(--wx-4);
  padding: var(--wx-4) var(--wx-5);
  border-bottom: 1px solid var(--wx-border-soft);
}
.wx-ship__item:last-child { border-bottom: 0; }
.wx-ship__item:nth-child(even) { background: color-mix(in srgb, var(--wx-tint) 40%, transparent); }
.wx-ship__icon {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--wx-tint); color: var(--wx-primary-dk);
  display: flex; align-items: center; justify-content: center; flex: none;
}
.wx-ship__name { font-family: var(--wx-font-head); font-weight: 600; font-size: 16px; color: var(--wx-heading); margin: 0; }
.wx-ship__time { margin: 0; font-size: 15px; color: var(--wx-muted); }
.wx-ship__price {
  margin: 0; text-align: right;
  font-family: var(--wx-font-head); font-weight: 700; font-size: 19px;
  color: var(--wx-heading); font-variant-numeric: tabular-nums;
}
@media (max-width: 699px) {
  .wx-ship__item { grid-template-columns: 36px 1fr auto; row-gap: var(--wx-1); }
  .wx-ship__time { grid-column: 2 / -1; }
}
.wx-ship__note { font-size: 13.5px; color: var(--wx-muted); margin: var(--wx-4) 0 0; }


/* ============================================================
   25. USP GRID + GLOBAL SUPPLY CHAIN
   The supply chain is drawn as a numbered flow because the
   order genuinely matters — each stage depends on the one
   before it. The connector is decorative and hidden from AT.
   ============================================================ */
/* Editorial, not cards: these are claims to read, not objects to click,
   so they get hairlines and generous measure instead of borders. */
.wx-usp {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 0;
  border-top: 1px solid var(--wx-border);
}
.wx-usp__item {
  display: grid; grid-template-columns: 44px 1fr; gap: var(--wx-4);
  align-items: start;
  padding: var(--wx-8) var(--wx-6) var(--wx-8) 0;
  border-bottom: 1px solid var(--wx-border);
}
.wx-usp__icon {
  width: 44px; height: 44px; border-radius: 50%;
  background: transparent; color: var(--wx-primary);
  border: 1px solid var(--wx-border);
  display: flex; align-items: center; justify-content: center;
  grid-row: span 2;
}
.wx-usp__title {
  font-family: var(--wx-font-head); font-weight: 600; font-size: 18px;
  color: var(--wx-heading); margin: 0 0 var(--wx-2); line-height: 1.3;
}
.wx-usp__text { margin: 0; font-size: 15.5px; color: var(--wx-muted); line-height: 1.6; grid-column: 2; }
@media (min-width: 1024px) {
  .wx-usp__item:nth-child(3n) { padding-right: 0; }
  .wx-usp__item { padding-right: var(--wx-8); }
}

/* Supply chain flow */
/* A journey, drawn as one: nodes sit on a single rule that runs through the
   whole row, so the eye reads it as a chain rather than five separate boxes.
   The rule is decorative and never carries meaning on its own — each stage
   is numbered and titled. */
.wx-chain { display: grid; gap: var(--wx-6); counter-reset: chain; position: relative; }
.wx-chain__step { position: relative; }
.wx-chain__icon {
  position: relative; z-index: 1;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--wx-white); color: var(--wx-primary-dk);
  border: 1px solid var(--wx-border);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--wx-4);
}
.wx-chain__step::before {
  counter-increment: chain;
  content: counter(chain, decimal-leading-zero);
  display: block;
  font-family: var(--wx-font-head); font-size: 12px; font-weight: 700;
  letter-spacing: .12em; color: var(--wx-primary); margin-bottom: var(--wx-3);
}
.wx-chain__title { font-family: var(--wx-font-head); font-weight: 600; font-size: 16.5px; color: var(--wx-heading); margin: 0 0 var(--wx-2); line-height: 1.3; }
.wx-chain__text { margin: 0; font-size: 14.5px; color: var(--wx-muted); line-height: 1.55; }

@media (min-width: 1024px) {
  .wx-chain { grid-template-columns: repeat(5, 1fr); gap: var(--wx-5); }
  /* the through-line, sitting at icon centre height */
  .wx-chain::before {
    content: ""; position: absolute;
    top: 47px; left: 26px; right: 26px; height: 1px;
    background: linear-gradient(to right, var(--wx-border), var(--wx-primary), var(--wx-border));
  }
}
@media (min-width: 700px) and (max-width: 1023px) { .wx-chain { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 699px) {
  .wx-chain { grid-template-columns: 1fr; gap: var(--wx-5); }
  .wx-chain__step { display: grid; grid-template-columns: 52px 1fr; column-gap: var(--wx-4); align-items: start; }
  .wx-chain__step::before { grid-column: 2; margin-bottom: var(--wx-1); }
  .wx-chain__icon { grid-row: span 3; margin-bottom: 0; }
  .wx-chain__title, .wx-chain__text { grid-column: 2; }
}


/* ============================================================
   26. UNIFIED CONTAINER + GRID COUNTS
   Header, content and footer previously derived their gutter
   from three different places, so their left edges did not line
   up. One measure now governs all three.
   ============================================================ */
:root {
  --wx-gutter: clamp(16px, 4vw, 32px);
}

.wx-shell,
.site-content > .ast-container,
.ast-container > .site-primary-header-wrap,
.woocommerce div.product,
.wx-footer .wx-shell {
  width: 100%;
  max-width: calc(var(--wx-max) + (var(--wx-gutter) * 2));
  margin-inline: auto;
  padding-inline: var(--wx-gutter);
}

/* The header wrap is deliberately wider, but shares the same gutter. */
.site-primary-header-wrap {
  max-width: calc(var(--wx-max-wide) + (var(--wx-gutter) * 2));
  padding-inline: var(--wx-gutter);
}

/* Archive intro band aligns with the products below it. */
.wx-archive-head .wx-shell { padding-inline: var(--wx-gutter); }

/* ---- Even grid counts -------------------------------------
   Each grid gets a column count its item count actually fills,
   so no row ends with a single stretched card. Counts:
   categories 6, USPs 6, concerns 6, supply chain 5,
   delivery 4, best sellers 8, new arrivals 4.
   ---------------------------------------------------------- */
@media (min-width: 1024px) {
  .wx-usp      { grid-template-columns: repeat(3, 1fr); }  /* 6 -> 3 x 2 */
  .wx-concerns { grid-template-columns: repeat(3, 1fr); }  /* 6 -> 3 x 2 */
  .woocommerce ul.products.columns-4 { grid-template-columns: repeat(4, 1fr); }
  .woocommerce ul.products.columns-3 { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 700px) and (max-width: 1023px) {
  .wx-usp, .wx-concerns { grid-template-columns: repeat(2, 1fr); }
  .woocommerce ul.products.columns-4,
  .woocommerce ul.products.columns-3 { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 699px) {
  .wx-usp, .wx-concerns { grid-template-columns: 1fr; }
  .woocommerce ul.products.columns-4,
  .woocommerce ul.products.columns-3 { grid-template-columns: repeat(2, 1fr); }
}

/* Supply chain: the connector only makes sense on a single row. */

/* Cards in a row share one height so their baselines agree. */
.wx-step, .wx-concern { height: 100%; }
.wp-block-columns.wx-steps > .wp-block-column,
.wp-block-columns.wx-stats > .wp-block-column { display: flex; }
.wp-block-columns.wx-steps > .wp-block-column > *,
.wp-block-columns.wx-stats > .wp-block-column > * { width: 100%; }

/* Product cards: equal height regardless of title length. */
.woocommerce ul.products li.product { height: 100%; }

/* Consecutive tinted sections would otherwise show a seam where two
   identical backgrounds meet with double padding between them. */
.wx-section--tint + .wx-section--tint { padding-top: 0; }

/* ============================================================
   27. CATEGORY TILES — SIZING
   Six categories rendered as thirds produced 380px-wide tiles
   with 285px-tall images: far too heavy for what is navigation,
   not merchandising. They now sit as a compact single row on
   desktop and step down cleanly.
   ============================================================ */
.woocommerce ul.products.columns-6 { gap: var(--wx-3); }

@media (min-width: 1100px) {
  .woocommerce ul.products.columns-6 { grid-template-columns: repeat(6, 1fr); }
}
@media (min-width: 760px) and (max-width: 1099px) {
  .woocommerce ul.products.columns-6 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 759px) {
  .woocommerce ul.products.columns-6 { grid-template-columns: repeat(2, 1fr); }
}

/* Compact tile: square media, tighter type, no oversized padding. */
.woocommerce ul.products.columns-6 li.product-category img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.woocommerce ul.products.columns-6 li.product-category .woocommerce-loop-category__title {
  font-size: 14.5px;
  line-height: 1.3;
  padding: var(--wx-3);
  text-align: center;
}

/* ============================================================
   28. OFFER BAND
   A real promotion with real terms: the discount is the hero
   figure, the code is presented as something to copy, and the
   qualifying conditions sit with it rather than in the small
   print of another page.
   ============================================================ */
.wx-offer {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(var(--wx-6), 4vw, var(--wx-12));
  padding: clamp(var(--wx-8), 4vw, var(--wx-12));
  background: var(--wx-ink-950);
  border-radius: var(--wx-r-surface);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.wx-offer::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(90% 130% at 6% 50%, rgba(84,180,53,.30) 0%, transparent 62%),
    radial-gradient(70% 120% at 96% 20%, rgba(46,125,50,.28) 0%, transparent 60%);
}

.wx-offer__figure { text-align: center; line-height: 1; }
.wx-offer__pct {
  display: block;
  font-family: var(--wx-font-head);
  font-size: clamp(52px, 8vw, 84px);
  font-weight: 700;
  color: var(--wx-brand);
  letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
}
.wx-offer__off {
  display: block;
  font-family: var(--wx-font-head);
  font-size: 13px; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase;
  color: rgba(255,255,255,.62);
  margin-top: var(--wx-2);
}

.wx-offer__body { min-width: 0; }
.wx-offer__title {
  font-family: var(--wx-font-head);
  font-size: clamp(21px, 2.6vw, 27px);
  color: var(--wx-white);
  margin: 0 0 var(--wx-2);
  line-height: 1.2;
}
.wx-offer__text { margin: 0 0 var(--wx-4); color: rgba(255,255,255,.70); font-size: 16px; max-width: 46ch; }

.wx-offer__code {
  display: inline-flex; align-items: center; gap: var(--wx-3);
  padding: 10px var(--wx-4);
  border: 1px dashed rgba(255,255,255,.34);
  border-radius: var(--wx-r-control);
  background: rgba(255,255,255,.05);
}
.wx-offer__code-label {
  font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255,255,255,.52);
}
.wx-offer__code-value {
  font-family: var(--wx-font-head); font-size: 18px; font-weight: 700;
  letter-spacing: .09em; color: var(--wx-white);
}
.wx-offer__terms {
  margin: var(--wx-4) 0 0; font-size: 13.5px; color: rgba(255,255,255,.48);
  line-height: 1.5;
}
.wx-offer__cta { display: flex; flex-direction: column; gap: var(--wx-2); align-items: stretch; }
.wx-offer__cta .wx-btn { background: var(--wx-brand); color: var(--wx-ink-950); white-space: nowrap; }
.wx-offer__cta .wx-btn:hover { background: var(--wx-white); color: var(--wx-ink-950); }

@media (max-width: 900px) {
  .wx-offer { grid-template-columns: auto minmax(0, 1fr); }
  .wx-offer__cta { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .wx-offer { grid-template-columns: 1fr; text-align: left; }
  .wx-offer__figure { text-align: left; }
}

/* ============================================================
   29. ACCOUNT / LOGIN / REGISTER
   Two clearly separated paths — returning customer on the left,
   new customer on the right — rather than WooCommerce's two
   undifferentiated columns.
   ============================================================ */
.wx-account-intro { text-align: center; max-width: 60ch; margin: 0 auto var(--wx-10); }
.wx-account-intro__title { margin: 0 0 var(--wx-3); font-size: clamp(28px, 3.4vw, 36px); }
.wx-account-intro__text { margin: 0; color: var(--wx-muted); font-size: 17px; }

.woocommerce-account .woocommerce { max-width: var(--wx-max); margin-inline: auto; }

.woocommerce-account .u-columns.col2-set {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--wx-6); width: 100%; margin: 0;
}
.woocommerce-account .u-columns .u-column1,
.woocommerce-account .u-columns .u-column2 {
  width: 100% !important; float: none !important; margin: 0 !important;
  padding: var(--wx-8);
  background: var(--wx-white);
  border: 1px solid var(--wx-border);
  border-radius: var(--wx-r-surface);
}
.woocommerce-account .u-columns .u-column2 { background: var(--wx-tint); }
.woocommerce-account .u-columns h2 {
  font-size: 21px; margin: 0 0 var(--wx-2);
}
.woocommerce-account .u-columns .u-column1 h2::after,
.woocommerce-account .u-columns .u-column2 h2::after {
  content: attr(data-sub); display: block;
  font-family: var(--wx-font-body); font-size: 15px; font-weight: 400;
  color: var(--wx-muted); margin-top: var(--wx-1);
}
.woocommerce form.login, .woocommerce form.register {
  border: 0; padding: 0; margin: var(--wx-5) 0 0; border-radius: 0;
}
.woocommerce form .form-row { padding: 0; margin: 0 0 var(--wx-4); }
.woocommerce form .form-row label { margin-bottom: 6px; }
.woocommerce form .form-row-first, .woocommerce form .form-row-last { width: 100%; float: none; }
.woocommerce-form__label-for-checkbox { display: flex; align-items: center; gap: var(--wx-2); font-weight: 400; }
.woocommerce-form__label-for-checkbox input { width: auto; }
.woocommerce .lost_password { margin: var(--wx-3) 0 0; font-size: 14.5px; }
.woocommerce-privacy-policy-text { font-size: 13.5px; color: var(--wx-muted); }
.woocommerce-privacy-policy-text p { margin: 0 0 var(--wx-4); }

/* Logged-in account dashboard */
.woocommerce-account .woocommerce-MyAccount-navigation {
  width: 240px; float: none; margin: 0;
}
.woocommerce-account .woocommerce-MyAccount-content {
  width: auto; float: none; margin: 0; min-width: 0;
}
@media (min-width: 860px) {
  .woocommerce-account.logged-in .woocommerce {
    display: grid; grid-template-columns: 240px minmax(0, 1fr);
    gap: var(--wx-8); align-items: start;
  }
}
.woocommerce-account .woocommerce-MyAccount-navigation ul {
  border: 1px solid var(--wx-border); border-radius: var(--wx-r-surface);
  padding: var(--wx-2); background: var(--wx-white);
}
.woocommerce-account .woocommerce-MyAccount-navigation li { margin: 0; }
.woocommerce-account .woocommerce-MyAccount-navigation li + li { margin-top: 2px; }
.woocommerce-account .woocommerce-MyAccount-content {
  padding: var(--wx-8); background: var(--wx-white);
  border: 1px solid var(--wx-border); border-radius: var(--wx-r-surface);
}
.woocommerce-account .woocommerce-MyAccount-content > :first-child { margin-top: 0; }

/* ============================================================
   30. EMPTY STATES
   ============================================================ */
.wx-empty {
  max-width: 620px; margin: var(--wx-12) auto; text-align: center;
  padding: var(--wx-10) var(--wx-6);
  background: var(--wx-white); border: 1px solid var(--wx-border);
  border-radius: var(--wx-r-surface);
}
.wx-empty__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--wx-tint); color: var(--wx-primary-dk);
  margin-bottom: var(--wx-5);
}
.wx-empty__title { margin: 0 0 var(--wx-3); font-size: clamp(22px, 3vw, 28px); }
.wx-empty__text { margin: 0 auto var(--wx-6); color: var(--wx-muted); max-width: 44ch; }
.wx-empty__cats { display: flex; flex-wrap: wrap; gap: var(--wx-2); justify-content: center; margin-bottom: var(--wx-8); }
.wx-empty__cat {
  padding: 8px var(--wx-4); font-size: 14.5px; font-weight: 600;
  text-decoration: none; color: var(--wx-primary-dk);
  background: var(--wx-tint); border: 1px solid var(--wx-border);
  border-radius: var(--wx-r-pill);
  transition: background-color var(--wx-dur) var(--wx-ease), border-color var(--wx-dur) var(--wx-ease);
}
.wx-empty__cat:hover { background: var(--wx-white); border-color: var(--wx-primary); color: var(--wx-primary-dk); }
.wx-empty__cta { margin: 0; }
/* Woo's own one-line empty message is replaced by the block above. */
.woocommerce .cart-empty.woocommerce-info,
.woocommerce .return-to-shop { display: none; }

/* ============================================================
   31. CART
   ============================================================ */
.woocommerce-cart .woocommerce { max-width: var(--wx-max); margin-inline: auto; }
@media (min-width: 980px) {
  .woocommerce-cart .woocommerce-cart-form { width: 100%; }
  .woocommerce-cart .woocommerce {
    display: grid; grid-template-columns: minmax(0, 1fr) 340px;
    gap: var(--wx-8); align-items: start;
  }
  .woocommerce-cart .woocommerce > .woocommerce-notices-wrapper { grid-column: 1 / -1; }
  .woocommerce-cart .cart-collaterals { width: 100%; margin: 0; position: sticky; top: 110px; }
}
.woocommerce-cart .cart-collaterals .cart_totals { width: 100%; float: none; }
.woocommerce table.cart td.product-remove a.remove {
  color: var(--wx-muted) !important; font-size: 20px; line-height: 1;
}
.woocommerce table.cart td.product-remove a.remove:hover {
  background: var(--wx-sale); color: var(--wx-white) !important;
}
.woocommerce table.cart td.product-name a { color: var(--wx-heading); font-weight: 600; text-decoration: none; }
.woocommerce table.cart td.product-name a:hover { color: var(--wx-primary); }
.woocommerce table.cart .quantity input.qty { width: 72px; height: 44px; text-align: center; }
.woocommerce table.shop_table td.actions { background: var(--wx-tint); }
.woocommerce .coupon { display: flex; gap: var(--wx-2); flex-wrap: wrap; }
.woocommerce .coupon input.input-text { width: auto; min-width: 180px; }
.woocommerce .cart_totals table.shop_table { border: 0; }
.woocommerce .cart_totals table.shop_table th,
.woocommerce .cart_totals table.shop_table td { padding: var(--wx-3) 0; background: transparent; }
.woocommerce .cart_totals .order-total .amount { font-size: 22px; color: var(--wx-heading); }
.woocommerce .wc-proceed-to-checkout { padding: var(--wx-4) 0 0; }
.woocommerce .wc-proceed-to-checkout a.checkout-button { width: 100%; padding: 17px; font-size: 17px; }

/* ============================================================
   32. CHECKOUT
   ============================================================ */
/* WooCommerce and Astra lay the checkout out with floats and percentage
   widths (#customer_details 48% left, #order_review 40% right). Dropping a
   grid on the form without neutralising those left the order summary
   resolving to 40% of its 380px track — a 152px strip with one character
   per line, and a 433px billing column. Both children are reset to fill
   their track before the grid is applied. */
.woocommerce-checkout form.checkout #customer_details,
.woocommerce-checkout form.checkout #order_review,
.woocommerce-checkout form.checkout #order_review_heading {
  width: 100% !important;
  float: none !important;
  margin-left: 0;
  margin-right: 0;
}

@media (min-width: 980px) {
  .woocommerce-checkout form.checkout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: var(--wx-8);
    align-items: start;
  }
  .woocommerce-checkout form.checkout #customer_details {
    grid-column: 1;
    grid-row: 1 / span 2;
    min-width: 0;
  }
  .woocommerce-checkout form.checkout > h3#order_review_heading {
    grid-column: 2; grid-row: 1; position: static; margin-top: 0;
  }
  .woocommerce-checkout form.checkout > #order_review {
    grid-column: 2; grid-row: 2;
    position: sticky; top: 110px; min-width: 0;
  }
}
.woocommerce-checkout #customer_details .col-1,
.woocommerce-checkout #customer_details .col-2 { width: 100%; float: none; }
.woocommerce-checkout #customer_details .col2-set { display: grid; gap: var(--wx-6); }
.woocommerce-checkout h3 { font-size: 20px; margin: 0 0 var(--wx-4); padding-bottom: var(--wx-3); border-bottom: 1px solid var(--wx-border); }
.woocommerce-checkout table.woocommerce-checkout-review-order-table { border: 0; }
.woocommerce-checkout table.woocommerce-checkout-review-order-table th,
.woocommerce-checkout table.woocommerce-checkout-review-order-table td { padding: var(--wx-3) 0; background: transparent; }
.woocommerce-checkout table.woocommerce-checkout-review-order-table .order-total .amount { font-size: 22px; }
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper { font-size: 14px; color: var(--wx-muted); }
/* Sits inside the 380px order column, where a wrapping flex row collided
   and staggered. A vertical list with a fixed icon gutter keeps the three
   lines aligned at any column width. */
.wx-checkout-trust {
  display: grid;
  gap: 10px;
  margin-top: var(--wx-5);
  padding-top: var(--wx-4);
  border-top: 1px solid var(--wx-border-soft);
  font-size: 13.5px;
  line-height: 1.4;
  color: var(--wx-muted);
  clear: both;
}
.wx-checkout-trust span {
  display: grid;
  grid-template-columns: 18px 1fr;
  align-items: start;
  gap: 8px;
}
.wx-checkout-trust .wx-icon { color: var(--wx-primary); margin-top: 1px; }

/* The place-order row must not be floated inside the summary column. */
.woocommerce-checkout #payment .form-row.place-order { float: none; width: 100%; margin: 0; }
.woocommerce-checkout #payment #place_order { float: none; width: 100%; }

/* ============================================================
   33. ORDER RECEIVED / THANK YOU
   ============================================================ */
.woocommerce-order { max-width: 820px; margin-inline: auto; }
.woocommerce-order .woocommerce-thankyou-order-received {
  display: block; text-align: center;
  font-family: var(--wx-font-head); font-size: clamp(24px, 3.2vw, 32px);
  font-weight: 600; color: var(--wx-heading);
  padding: var(--wx-10) var(--wx-6) var(--wx-4);
  background: var(--wx-tint);
  border: 1px solid var(--wx-border);
  border-radius: var(--wx-r-surface) var(--wx-r-surface) 0 0;
  border-bottom: 0; margin: 0;
}
.woocommerce-order ul.woocommerce-order-overview {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0; list-style: none; margin: 0 0 var(--wx-8); padding: var(--wx-6);
  background: var(--wx-tint);
  border: 1px solid var(--wx-border); border-top: 0;
  border-radius: 0 0 var(--wx-r-surface) var(--wx-r-surface);
}
.woocommerce-order ul.woocommerce-order-overview li {
  border: 0; padding: 0 var(--wx-4); margin: 0; text-align: center;
  font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--wx-muted); font-family: var(--wx-font-head); font-weight: 600;
  border-right: 1px solid var(--wx-border);
}
.woocommerce-order ul.woocommerce-order-overview li:last-child { border-right: 0; }
.woocommerce-order ul.woocommerce-order-overview li strong {
  display: block; margin-top: 6px; font-family: var(--wx-font-body);
  font-size: 16px; letter-spacing: 0; text-transform: none; color: var(--wx-heading);
}
.woocommerce-order .woocommerce-order-details,
.woocommerce-order .woocommerce-customer-details { margin-bottom: var(--wx-8); }
.woocommerce-order h2 { font-size: 20px; margin: 0 0 var(--wx-4); }
.woocommerce-order address {
  font-style: normal; padding: var(--wx-5);
  background: var(--wx-white); border: 1px solid var(--wx-border);
  border-radius: var(--wx-r-surface); line-height: 1.7;
}

/* ============================================================
   34. RESPONSIVE HEADER CONTROLS
   Four controls plus a logo is tight on a phone, so the set
   tightens progressively rather than wrapping or overlapping.
   ============================================================ */
@media (max-width: 921px) {
  .site-primary-header-wrap { gap: var(--wx-3); }
  .ast-header-search, .ast-header-woo-cart, .ast-header-account { gap: 0; }
  .ast-header-search .ast-search-icon > a.slide-search,
  .ast-header-woo-cart a.cart-container,
  .ast-header-account .ast-header-account-wrap { width: 38px; height: 38px; }
  /* Astra's menu toggle joins the same row, so it matches the others. */
  .ast-header-break-point .ast-mobile-menu-trigger-fill,
  .ast-header-break-point .ast-button-wrap .menu-toggle {
    width: 38px; height: 38px; padding: 0;
    display: inline-flex; align-items: center; justify-content: center;
    background: transparent; border: 0; border-radius: var(--wx-r-control);
    color: var(--wx-primary);
  }
  .ast-header-break-point .ast-button-wrap .menu-toggle:hover { background: var(--wx-tint); }
  .ast-header-break-point .ast-mobile-header-wrap .ast-primary-header-bar { min-height: 60px; }
}

@media (max-width: 420px) {
  /* Search collapses into the menu on the narrowest phones; the cart and
     account are the two that must always be reachable. */
  .ast-header-search { display: none !important; }
  .site-primary-header-wrap { padding-inline: var(--wx-3); }
  .site-primary-header-wrap .site-branding .custom-logo { max-height: 38px !important; }
  .ast-header-search .ast-search-icon > a.slide-search,
  .ast-header-woo-cart a.cart-container,
  .ast-header-account .ast-header-account-wrap { width: 36px; height: 36px; }
}

/* ============================================================
   35. SHOP + BLOG RESPONSIVE
   ============================================================ */
.wx-shop-toolbar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: var(--wx-3) var(--wx-4);
  margin: 0 0 var(--wx-6);
  padding-bottom: var(--wx-4);
  border-bottom: 1px solid var(--wx-border);
}
.wx-shop-toolbar::before, .wx-shop-toolbar::after { content: none; }
.woocommerce .wx-shop-toolbar .woocommerce-result-count { margin: 0; float: none; }
.woocommerce .wx-shop-toolbar .woocommerce-ordering { margin: 0; float: none; }
.woocommerce .wx-shop-toolbar .woocommerce-ordering select {
  min-width: 210px; padding: 10px var(--wx-3);
}

@media (max-width: 600px) {
  .wx-shop-toolbar { flex-direction: column; align-items: stretch; }
  .woocommerce .wx-shop-toolbar .woocommerce-ordering select { width: 100%; min-width: 0; }
  .woocommerce .wx-shop-toolbar .woocommerce-result-count { order: 2; font-size: 14px; }
}

/* Archive masthead scales with the device rather than jumping. */
.wx-archive-head { padding-block: clamp(var(--wx-6), 5vw, var(--wx-10)); margin-bottom: clamp(var(--wx-6), 4vw, var(--wx-10)); }

/* Blog grid: 3 / 2 / 1 across the three device classes. */
.wx-post-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
@media (min-width: 1024px) { .wx-post-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 640px) and (max-width: 1023px) { .wx-post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 639px) { .wx-post-grid { grid-template-columns: 1fr; gap: var(--wx-4); } }

/* Product cards need a usable tap target and readable price on phones. */
@media (max-width: 480px) {
  .woocommerce ul.products li.product .button { font-size: 13px; padding: 10px 12px; margin: 0 var(--wx-3) var(--wx-3); }
  .woocommerce ul.products li.product .price { font-size: 16px; padding: 0 var(--wx-3); }
  .woocommerce ul.products li.product .woocommerce-loop-product__title { padding: 0 var(--wx-3); font-size: 13.5px; }
  .woocommerce ul.products li.product a img { padding: var(--wx-2); }
}

/* ============================================================
   36. CONTENT PAGES (policy, legal, editorial)
   Long-form pages had no masthead and ran the full container
   width, which is unreadable for legal copy.
   ============================================================ */
.page:not(.home) .entry-header {
  padding-block: clamp(var(--wx-8), 5vw, var(--wx-12)) var(--wx-6);
  margin-bottom: clamp(var(--wx-6), 4vw, var(--wx-10));
  border-bottom: 1px solid var(--wx-border);
  background: linear-gradient(180deg, var(--wx-tint) 0%, var(--wx-white) 100%);
}
.page:not(.home) .entry-header .entry-title {
  max-width: var(--wx-max-text);
  margin-inline: auto;
  padding-inline: var(--wx-gutter);
  font-size: clamp(28px, 4vw, 40px);
}
.page:not(.home) .entry-content {
  padding-bottom: clamp(var(--wx-10), 6vw, var(--wx-16));
}
/* Flow content gets the reading measure; sections keep the full width. */
.page:not(.home) .entry-content > p,
.page:not(.home) .entry-content > ul,
.page:not(.home) .entry-content > ol,
.page:not(.home) .entry-content > h2,
.page:not(.home) .entry-content > h3,
.page:not(.home) .entry-content > h4,
.page:not(.home) .entry-content > blockquote,
.page:not(.home) .entry-content > table,
.page:not(.home) .entry-content > .wp-block-details {
  max-width: var(--wx-max-text);
  margin-inline: auto;
  padding-inline: var(--wx-gutter);
}
/* Pages that build their own hero in block content supply the masthead
   themselves, so the theme one would double up. */
.page .wx-page-hero ~ .entry-content,
.page:has(.wx-page-hero) .entry-header { display: none; }
.page:has(.wx-hero) .entry-header { display: none; }

.page:not(.home) .entry-content > * + * { margin-top: var(--wx-4); }
.page:not(.home) .entry-content h2 { margin-top: var(--wx-10); font-size: clamp(21px, 2.6vw, 26px); }
.page:not(.home) .entry-content h3 { margin-top: var(--wx-8); font-size: clamp(18px, 2.2vw, 21px); }
.page:not(.home) .entry-content ul,
.page:not(.home) .entry-content ol { padding-left: 24px; }
.page:not(.home) .entry-content li + li { margin-top: var(--wx-2); }
.page:not(.home) .entry-content table {
  width: 100%; border-collapse: collapse;
  border: 1px solid var(--wx-border); border-radius: var(--wx-r-surface);
  overflow: hidden; display: block; overflow-x: auto;
}

/* ============================================================
   37. SUBSCRIBE FORM
   Was inline-styled Arial on an off-brand green; the markup and
   every functional attribute are unchanged, only the styling.
   ============================================================ */
.wx-subscribe {
  max-width: 520px; margin-inline: auto;
  padding: clamp(var(--wx-6), 4vw, var(--wx-10));
  background: var(--wx-white);
  border: 1px solid var(--wx-border);
  border-radius: var(--wx-r-surface);
  box-shadow: var(--wx-shadow);
}
.wx-subscribe__form { display: grid; gap: var(--wx-4); }
.wx-subscribe__field { display: grid; gap: 6px; }
.wx-subscribe__field label { margin: 0; font-size: 14.5px; }
.wx-subscribe__opt { font-weight: 400; color: var(--wx-muted); }
.wx-subscribe__req { color: var(--wx-sale); }
.wx-subscribe__msg {
  display: none; margin: var(--wx-4) 0 0;
  font-size: 14.5px; text-align: center;
  padding: var(--wx-3); border-radius: var(--wx-r-control);
}
.wx-subscribe__msg.is-pending { display: block; background: var(--wx-tint); color: var(--wx-muted); }
.wx-subscribe__msg.is-ok { display: block; background: var(--wx-tint); color: var(--wx-primary-dk); font-weight: 600; }
.wx-subscribe__msg.is-error { display: block; background: #FDF0EE; color: var(--wx-sale); font-weight: 600; }
.wx-subscribe__note {
  margin: var(--wx-4) 0 0; font-size: 12.5px;
  color: var(--wx-muted); text-align: center;
}

/* ============================================================
   38. BREADCRUMBS
   Present on every product and category page and previously
   unstyled. Kept quiet — it is orientation, not navigation
   people came for.
   ============================================================ */
.ast-breadcrumbs-wrapper { padding-block: var(--wx-3) 0; }
.ast-breadcrumbs-inner {
  max-width: calc(var(--wx-max) + (var(--wx-gutter) * 2));
  margin-inline: auto; padding-inline: var(--wx-gutter);
}
.ast-breadcrumbs .trail-items {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
  list-style: none; margin: 0; padding: 0;
  font-size: 13.5px; color: var(--wx-muted);
}
.ast-breadcrumbs .trail-items li::after {
  content: "/"; margin-left: 6px; color: var(--wx-border); 
}
.ast-breadcrumbs .trail-items li:last-child::after { content: none; }
.ast-breadcrumbs .trail-items a { color: var(--wx-muted); text-decoration: none; }
.ast-breadcrumbs .trail-items a:hover { color: var(--wx-primary); }
.ast-breadcrumbs .trail-items .trail-end { color: var(--wx-heading); font-weight: 600; }

/* ============================================================
   39. MOBILE MENU PANEL
   Most traffic to a store like this is on a phone, and the
   drawer was inheriting nothing.
   ============================================================ */
.ast-mobile-popup-drawer .ast-mobile-popup-inner {
  background: var(--wx-white);
  box-shadow: -8px 0 32px rgba(15, 23, 42, .18);
  max-width: 380px;
}
.ast-mobile-popup-drawer .ast-mobile-popup-header {
  padding: var(--wx-4) var(--wx-5);
  border-bottom: 1px solid var(--wx-border);
  min-height: 60px;
}
.ast-mobile-popup-drawer .menu-toggle-close {
  width: 40px; height: 40px; border-radius: var(--wx-r-control);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--wx-heading); background: transparent; border: 0;
}
.ast-mobile-popup-drawer .menu-toggle-close:hover { background: var(--wx-tint); color: var(--wx-primary-dk); }
.ast-mobile-popup-drawer .ast-mobile-popup-content { padding: var(--wx-4) var(--wx-5) var(--wx-8); }
.ast-mobile-popup-drawer .menu-item { border-bottom: 1px solid var(--wx-border-soft); }
.ast-mobile-popup-drawer .menu-item:last-child { border-bottom: 0; }
.ast-mobile-popup-drawer .menu-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0; font-family: var(--wx-font-head);
  font-size: 16px; font-weight: 600; color: var(--wx-heading);
}
.ast-mobile-popup-drawer .menu-link:hover,
.ast-mobile-popup-drawer .current-menu-item > .menu-link { color: var(--wx-primary); }
.ast-mobile-popup-drawer .sub-menu .menu-link {
  font-size: 15px; font-weight: 500; color: var(--wx-text); padding-left: var(--wx-4);
}
.ast-mobile-popup-drawer .ast-search-menu-icon .search-form { position: static; width: 100%; }
.ast-mobile-popup-drawer .search-field { width: 100%; }

/* ============================================================
   40. PAGINATION (non-Woo archives)
   ============================================================ */
.wx-shell .navigation.pagination,
.navigation.pagination { margin-top: var(--wx-12); }
.navigation.pagination .nav-links {
  display: flex; flex-wrap: wrap; gap: var(--wx-2); justify-content: center;
}
.navigation.pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 42px; height: 42px; padding: 0 var(--wx-3);
  background: var(--wx-white); color: var(--wx-primary);
  border: 1px solid var(--wx-border); border-radius: var(--wx-r-control);
  font-weight: 600; font-size: 15px; text-decoration: none;
  font-variant-numeric: tabular-nums;
  transition: background-color var(--wx-dur) var(--wx-ease), color var(--wx-dur) var(--wx-ease);
}
.navigation.pagination .page-numbers.current,
.navigation.pagination .page-numbers:hover {
  background: var(--wx-primary); color: var(--wx-white); border-color: var(--wx-primary);
}
.navigation.pagination .page-numbers.dots { border-color: transparent; background: transparent; }

/* ============================================================
   41. PRODUCT TABS, REVIEWS AND COMMENT FORMS
   ============================================================ */
.woocommerce-Tabs-panel { padding-top: var(--wx-2); }
.woocommerce-Tabs-panel > h2:first-child { display: none; }
.woocommerce-Tabs-panel p { max-width: 72ch; }
.woocommerce-Tabs-panel ul, .woocommerce-Tabs-panel ol { padding-left: 24px; max-width: 72ch; }
.woocommerce-Tabs-panel li + li { margin-top: var(--wx-2); }
.woocommerce-Tabs-panel table { width: 100%; border-collapse: collapse; }
.woocommerce-Tabs-panel table th,
.woocommerce-Tabs-panel table td {
  padding: var(--wx-3) var(--wx-4); border-bottom: 1px solid var(--wx-border-soft); text-align: left;
}

.woocommerce-noreviews {
  padding: var(--wx-5); background: var(--wx-tint);
  border: 1px solid var(--wx-border); border-radius: var(--wx-r-surface);
  color: var(--wx-muted); margin: 0 0 var(--wx-6);
}
#reviews .commentlist { list-style: none; margin: 0 0 var(--wx-8); padding: 0; }
#reviews .commentlist li { margin-bottom: var(--wx-4); }
#reviews .commentlist .comment_container {
  display: grid; grid-template-columns: 48px 1fr; gap: var(--wx-4);
  padding: var(--wx-5); background: var(--wx-white);
  border: 1px solid var(--wx-border); border-radius: var(--wx-r-surface);
}
#reviews .commentlist img.avatar {
  width: 48px; height: 48px; border-radius: 50%; position: static; float: none;
  padding: 0; border: 0; background: var(--wx-tint);
}
#reviews .commentlist .comment-text { margin: 0; padding: 0; border: 0; }
#reviews .commentlist .meta { font-size: 14px; color: var(--wx-muted); margin-bottom: var(--wx-2); }
#reviews .commentlist .meta strong { color: var(--wx-heading); }

.comment-respond, #review_form_wrapper {
  padding: var(--wx-6); background: var(--wx-tint);
  border: 1px solid var(--wx-border); border-radius: var(--wx-r-surface);
}
.comment-respond .comment-reply-title { font-family: var(--wx-font-head); font-size: 19px; margin: 0 0 var(--wx-2); color: var(--wx-heading); }
.comment-respond .comment-form-rating label { display: block; margin-bottom: 6px; }
.comment-respond .comment-form-comment textarea { min-height: 130px; }
.comment-respond .comment-notes, .comment-respond .comment-form-cookies-consent label {
  font-size: 13.5px; color: var(--wx-muted); font-weight: 400;
}
.comment-respond .form-submit { margin-bottom: 0; }

/* Blog comments */
.comment-list { list-style: none; margin: 0 0 var(--wx-8); padding: 0; }
.comment-list li { margin-bottom: var(--wx-4); }
.comment-list .comment-body {
  padding: var(--wx-5); background: var(--wx-white);
  border: 1px solid var(--wx-border); border-radius: var(--wx-r-surface);
}
.comment-list .comment-author img { border-radius: 50%; }
.comment-list .comment-meta { font-size: 13.5px; color: var(--wx-muted); }
.comment-list .children { list-style: none; margin: var(--wx-4) 0 0 var(--wx-6); padding: 0; }

/* ============================================================
   42. BACK TO TOP
   ============================================================ */
#ast-scroll-top, .ast-scroll-top-icon {
  background: var(--wx-primary) !important;
  color: var(--wx-white) !important;
  border-radius: var(--wx-r-pill) !important;
  width: 44px; height: 44px;
  display: flex !important; align-items: center; justify-content: center;
  box-shadow: var(--wx-shadow-lift);
  border: 0;
}
#ast-scroll-top:hover { background: var(--wx-primary-dk) !important; }

/* ============================================================
   43. PRICES
   Figures line up in columns wherever they are compared.
   ============================================================ */
.woocommerce-Price-amount { font-variant-numeric: tabular-nums; white-space: nowrap; }
.woocommerce-Price-currencySymbol { font-weight: inherit; opacity: .75; margin-right: 1px; }

/* ============================================================
   44. CART TABLE + SHIPPING SELECTION
   Shipping choice is the single most consequential control on
   this page for an international buyer, and it was inheriting
   nothing.
   ============================================================ */
.woocommerce table.cart .product-thumbnail img {
  width: 64px; height: 64px; object-fit: contain;
  background: var(--wx-white); border: 1px solid var(--wx-border-soft);
  border-radius: var(--wx-r-control); padding: 4px;
}
.woocommerce table.cart td.product-price,
.woocommerce table.cart td.product-subtotal { font-variant-numeric: tabular-nums; }
.woocommerce table.cart td.product-subtotal { font-weight: 600; color: var(--wx-heading); }
.woocommerce table.cart td.product-name .variation {
  font-size: 13.5px; color: var(--wx-muted); margin-top: 4px;
}

.woocommerce .cart_totals .cart-subtotal th,
.woocommerce .cart_totals .order-total th,
.woocommerce .cart_totals .woocommerce-shipping-totals th {
  font-family: var(--wx-font-head); font-size: 13px; letter-spacing: .06em;
  text-transform: uppercase; color: var(--wx-muted); font-weight: 600;
  vertical-align: top; padding-right: var(--wx-4);
}
.woocommerce .cart_totals .order-total th,
.woocommerce .cart_totals .order-total td { border-top: 1px solid var(--wx-border); padding-top: var(--wx-4); }

.woocommerce ul#shipping_method,
.woocommerce ul.woocommerce-shipping-methods {
  list-style: none; margin: 0; padding: 0; display: grid; gap: var(--wx-2);
}
.woocommerce ul#shipping_method li,
.woocommerce ul.woocommerce-shipping-methods li {
  /* Astra's injected CSS sets `padding-left:22px; text-indent:-22px` on this
     selector with higher specificity than anything a stylesheet can reach
     without an ID chain of its own, and that hanging indent breaks the flex
     row. This is the one place !important is the honest tool. */
  text-indent: 0 !important;
  padding: 10px var(--wx-3) !important;
  background: var(--wx-white);
  border: 1px solid var(--wx-border);
  border-radius: var(--wx-r-control);
  display: flex; align-items: baseline; gap: var(--wx-2);
  font-size: 14.5px; line-height: 1.4;
  transition: border-color var(--wx-dur) var(--wx-ease), background-color var(--wx-dur) var(--wx-ease);
}
.woocommerce ul#shipping_method li:hover { border-color: var(--wx-primary); background: var(--wx-tint); }
.woocommerce ul#shipping_method li input { margin: 0; flex: none; }
.woocommerce ul#shipping_method li label { font-weight: 500; margin: 0; cursor: pointer; }
.woocommerce ul#shipping_method .amount { font-weight: 700; color: var(--wx-heading); }
.woocommerce .woocommerce-shipping-destination { font-size: 13.5px; color: var(--wx-muted); margin: var(--wx-2) 0 0; }
.woocommerce .shipping-calculator-button { font-size: 14px; }

/* ============================================================
   45. CHECKOUT TOGGLES + COUPON
   The "returning customer" and "have a coupon" strips are the
   first thing on the page; they were unstyled notices.
   ============================================================ */
.woocommerce-form-login-toggle .woocommerce-info,
.woocommerce-form-coupon-toggle .woocommerce-info {
  display: flex; align-items: center; gap: var(--wx-2); flex-wrap: wrap;
  margin: 0 0 var(--wx-3); padding: var(--wx-3) var(--wx-4);
  font-size: 14.5px;
}
.woocommerce-form-login-toggle .woocommerce-info::before,
.woocommerce-form-coupon-toggle .woocommerce-info::before { display: none; }
.woocommerce form.checkout_coupon,
.woocommerce form.woocommerce-form-login {
  border: 1px solid var(--wx-border); border-radius: var(--wx-r-surface);
  padding: var(--wx-5); margin: 0 0 var(--wx-6); background: var(--wx-white);
}
.woocommerce form.checkout_coupon .form-row { margin-bottom: 0; }
.woocommerce form.checkout_coupon .form-row-first,
.woocommerce form.checkout_coupon .form-row-last { width: 100%; }
@media (min-width: 620px) {
  .woocommerce form.checkout_coupon {
    display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--wx-3); align-items: end;
  }
  .woocommerce form.checkout_coupon > p:first-child { grid-column: 1 / -1; margin: 0 0 var(--wx-2); }
}
.woocommerce-form__input-checkbox { width: auto; margin-right: 6px; }
.woocommerce .woocommerce-input-wrapper { display: block; width: 100%; }
.woocommerce .woocommerce-input-wrapper .description { font-size: 13px; color: var(--wx-muted); }

/* Payment methods carry a logo and description from the gateway. */
.woocommerce-checkout #payment ul.payment_methods li label { font-weight: 600; cursor: pointer; }
.woocommerce-checkout #payment ul.payment_methods li img { max-height: 26px; width: auto; margin-left: var(--wx-2); vertical-align: middle; }
.woocommerce-checkout #payment ul.payment_methods li:has(input:checked) { border-color: var(--wx-primary); background: var(--wx-tint); }

/* ============================================================
   46. RESPONSIVE CART TABLE
   WooCommerce's responsive table needs the labels turned on,
   otherwise the columns lose their meaning on a phone.
   ============================================================ */
@media (max-width: 700px) {
  .woocommerce table.shop_table_responsive thead { display: none; }
  .woocommerce table.shop_table_responsive tr { display: block; }
  .woocommerce table.shop_table_responsive tbody tr.cart_item {
    display: grid; grid-template-columns: 72px 1fr auto;
    gap: var(--wx-2) var(--wx-3); align-items: center;
    padding: var(--wx-4); margin-bottom: var(--wx-3);
    border: 1px solid var(--wx-border); border-radius: var(--wx-r-surface);
  }
  .woocommerce table.shop_table_responsive tbody tr.cart_item td {
    display: block; border: 0; padding: 0; text-align: left;
  }
  .woocommerce table.shop_table_responsive td.product-remove { grid-column: 3; grid-row: 1; justify-self: end; }
  .woocommerce table.shop_table_responsive td.product-thumbnail { grid-column: 1; grid-row: 1 / span 2; }
  .woocommerce table.shop_table_responsive td.product-name { grid-column: 2; grid-row: 1; }
  .woocommerce table.shop_table_responsive td.product-quantity { grid-column: 2; grid-row: 2; }
  .woocommerce table.shop_table_responsive td.product-subtotal { grid-column: 3; grid-row: 2; justify-self: end; }
  .woocommerce table.shop_table_responsive td.product-price { display: none; }
  .woocommerce table.shop_table_responsive td::before { content: none !important; }
  .woocommerce table.shop_table_responsive td.actions { display: block; padding: var(--wx-4) 0 0; }
  .woocommerce .coupon { flex-direction: column; align-items: stretch; }
  .woocommerce .coupon input.input-text { width: 100%; min-width: 0; }
}

/* Trust bar: four items must not break 3 + 1. Two even rows on tablet. */
@media (min-width: 700px) and (max-width: 1023px) {
  .wx-trust { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 699px) {
  .wx-trust { grid-template-columns: 1fr; gap: var(--wx-4); }
}

/* Astra's shipping note sits immediately after the price with no spacing of
   its own, so it read as "$8.99Worldwide Delivery". Given as its own line, it
   works as the reassurance it is meant to be. */
.woocommerce div.product .ast-shipping-text {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 var(--wx-4);
  padding: 5px 11px;
  background: var(--wx-tint);
  border-radius: var(--wx-r-pill);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--wx-primary-dk);
}
.woocommerce div.product div.summary > .price { margin-bottom: var(--wx-2); }

/* WooCommerce's responsive-table CSS right-aligns every cell with
   !important, which flipped the product name and left a second price
   floating under the thumbnail. */
@media (max-width: 700px) {
  .woocommerce table.shop_table_responsive tbody tr.cart_item td,
  .woocommerce-page table.shop_table_responsive tbody tr.cart_item td {
    text-align: left !important;
  }
  .woocommerce table.shop_table_responsive tbody tr.cart_item td.product-subtotal,
  .woocommerce table.shop_table_responsive tbody tr.cart_item td.product-remove {
    text-align: right !important;
  }
  .woocommerce table.shop_table_responsive tbody tr.cart_item td.product-price,
  .woocommerce-page table.shop_table_responsive tbody tr.cart_item td.product-price {
    display: none !important;
  }
  .woocommerce table.shop_table_responsive tbody tr.cart_item td.product-name {
    font-size: 15px; line-height: 1.35;
  }
  .woocommerce table.shop_table_responsive tbody tr.cart_item td.product-subtotal {
    font-weight: 700; font-size: 16px; color: var(--wx-heading);
  }
}

/* ============================================================
   47. CURRENCY SWITCHER
   Hidden until the script confirms rates are available, so it
   never appears as a control that does nothing.
   ============================================================ */
.wx-currency { display: flex; align-items: center; }
.wx-currency__select {
  width: auto;
  min-width: 76px;
  padding: 8px 26px 8px 10px;
  font-family: var(--wx-font-head);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--wx-primary);
  background: transparent;
  border: 1px solid var(--wx-border);
  border-radius: var(--wx-r-control);
  cursor: pointer;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%),
                    linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 14px) 51%, calc(100% - 9px) 51%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  transition: border-color var(--wx-dur) var(--wx-ease), background-color var(--wx-dur) var(--wx-ease);
}
.wx-currency__select:hover { border-color: var(--wx-primary); background-color: var(--wx-tint); }
.wx-currency__select:focus-visible { outline: 3px solid var(--wx-primary); outline-offset: 2px; }

/* Converted figures should not reflow as they change length. */
.wx-price { font-variant-numeric: tabular-nums; white-space: nowrap; }

/* Settlement note — shown only when display and charge currency differ. */
.wx-settlement {
  margin: 0 0 var(--wx-4);
  padding: 10px var(--wx-4);
  background: var(--wx-tint);
  border-radius: var(--wx-r-control);
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--wx-primary-dk);
}

@media (max-width: 921px) {
  .wx-currency__select { min-width: 68px; font-size: 13px; padding: 7px 24px 7px 9px; }
}
@media (max-width: 420px) {
  .wx-currency { display: none; }
}
