:root {
  --color-primary: #0072E7;
  --color-primary-hover: #0B84FF;
  --color-secondary: #1A2029;
  --color-secondary-hover: #263040;
  --color-accent: #00E5A0;
  --color-accent-hover: #3BF0BA;
  --color-text: #EDF1F6;
  --color-text-muted: #94A3B4;
  --color-surface: #12171F;
  --color-background: #0A0D12;
  --color-border: #263040;
  --font-heading: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --radius-sm: 3px;
  --radius-md: 6px;
  --radius-lg: 10px;
  --radius-full: 999px;
}

:root {
  --color-primary: #1D4ED8;
  --color-primary-hover: #1E40AF;
  --color-secondary: #0B1220;
  --color-secondary-hover: #18233A;
  --color-accent: #1D4ED8;
  --color-accent-hover: #1E40AF;
  --color-text: #0C1523;
  --color-text-muted: #56657A;
  --color-surface: #F6F8FB;
  --color-surface-2: #EDF1F7;
  --color-background: #FFFFFF;
  --color-border: #E4E9F0;
  --color-border-strong: #CBD5E1;
  --color-ink: #0B1220;
  --color-ink-2: #131E33;
  --color-on-ink: #FFFFFF;
  --color-on-ink-muted: #A8B5C7;
  --color-ink-border: rgba(255,255,255,.14);
  --color-success: #067647;
  --color-sale: #C2410C;
  --color-danger: #B42318;
  --font-heading: 'Inter', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --text-xs: 12px;
  --text-sm: 13px;
  --text-base: 15px;
  --text-md: 16px;
  --text-lg: 18px;
  --text-xl: 21px;
  --text-2xl: 25px;
  --text-3xl: 30px;
  --text-4xl: clamp(28px, 3.2vw, 36px);
  --text-5xl: clamp(32px, 4vw, 44px);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;
  --shadow-sm: 0 1px 2px rgba(12,21,35,.06);
  --shadow-md: 0 4px 14px -4px rgba(12,21,35,.10);
  --shadow-lg: 0 18px 40px -18px rgba(12,21,35,.22);
}

/* ============================================================
   RZ Aero — global frontend base
   Frontend only (theme CSS is not enqueued in wp-admin).

   NOTE ON SPECIFICITY: Twenty Twenty-Five is a block theme and
   emits `body { background-color: var(--wp--preset--color--base) }`
   in its inline global-styles block, which loads AFTER this file.
   At equal specificity the later rule wins, so every base override
   here uses `html body` (0,0,2) to outrank it without !important.

   Deliberately does NOT touch html/body font-size, which would
   break the WordPress admin and the block editor.
   ============================================================ */

html { background: var(--color-background); }

html body {
  background: var(--color-background);
  color: var(--color-text);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html body .wp-site-blocks,
html body .wp-block-post-content,
html body .entry-content,
html body main,
html body .wp-block-group,
html body .wp-block-group.has-background {
  background-color: transparent;
  color: var(--color-text);
}

html body h1, html body h2, html body h3,
html body h4, html body h5, html body h6 {
  font-family: var(--font-heading);
  color: var(--color-text);
  letter-spacing: -0.015em;
}

html body p, html body li { color: var(--color-text); }

html body a { color: var(--color-primary); }
html body a:hover { color: var(--color-primary-hover); }
html body .wpc-widget a { color: inherit; }

/* Base reading size. Set on the content wrappers, never on html/body —
   that would resize the WordPress admin and the block editor. */
html body .wp-site-blocks,
html body .wpcursor-fullwidth-wrapper { font-size: var(--text-base); line-height: 1.65; }

html body.page-template-wpcursor-fullwidth .wp-site-blocks  * { margin-block-start: 0; }

::selection { background: var(--color-primary); color: #fff; }

/* ============================================================
   INTERACTION LAYER
   ------------------------------------------------------------
   Previously every control had exactly one state change — a colour
   swap on hover — and nothing else. No press feedback, no designed
   focus ring, no shared easing. That is the single biggest reason
   the site felt built rather than designed.

   One easing curve and one duration scale are used everywhere so
   the whole site moves the same way.
   ============================================================ */
:root {
  --ease: cubic-bezier(.22, .61, .36, 1);
  --dur-fast: .18s;
  --dur: .26s;
  --dur-slow: .5s;
}

html { scroll-blocked: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-blocked: auto; }
}

/* Focus ring: visible, offset, and shaped like the element it is on.
   `:focus-visible` so it appears for keyboard users without ringing
   every mouse click. */
html body :focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* Press feedback on every interactive element — the click now
   registers before the page navigates. */
html body .woocommerce a.button:active,
html body .woocommerce button.button:active,
html body li.wc-block-product .wp-block-button__link:active,
html body li.wc-block-product .wc-block-components-product-button button:active,
html body #place_order:active,
html body .wc-proceed-to-checkout a.checkout-button:active {
  transform: translateY(1px) scale(.995);
  filter: brightness(.96);
}

/* Buttons get depth on hover, not just a hue shift */
html body .woocommerce a.button:hover,
html body .woocommerce button.button:hover,
html body .woocommerce a.button.alt:hover,
html body .woocommerce button.button.alt:hover,
html body li.wc-block-product .wp-block-button__link:hover,
html body li.wc-block-product .wc-block-components-product-button button:hover {
  background: var(--color-primary-hover) !important;
  border-color: var(--color-primary-hover) !important;
  box-shadow: 0 10px 22px -12px color-mix(in srgb, var(--color-primary) 90%, transparent);
}

html body button:disabled,
html body .woocommerce button.button:disabled {
  opacity: .45;
  cursor: not-allowed;
  box-shadow: none !important;
  transform: none !important;
}

/* Underline that grows from the left rather than appearing all at
   once — applied to body links only, never to buttons or cards. */
html body .wp-block-post-content a:not(.button):not(.wp-block-button__link),
html body .entry-content a:not(.button):not(.wp-block-button__link) {
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  text-decoration: none;
  transition: background-size var(--dur) var(--ease), color var(--dur) ease;
}
html body .wp-block-post-content a:not(.button):hover,
html body .entry-content a:not(.button):hover { background-size: 100% 1px; }

@media (min-width: 900px) {
  ::-webkit-scrollbar { width: 12px; }
  ::-webkit-scrollbar-track { background: var(--color-surface); }
  ::-webkit-scrollbar-thumb {
    background: var(--color-border-strong);
    border: 3px solid var(--color-surface);
    border-radius: var(--radius-full);
  }
  ::-webkit-scrollbar-thumb:hover { background: var(--color-text-muted); }
}


/* ============================================================
   WOOCOMMERCE
   ------------------------------------------------------------
   TWO IMPORTANT FACTS ABOUT THIS SITE:

   1. WooCommerce PHP template overrides CANNOT be used. Twenty
      Twenty-Five registers FSE block templates for single-product,
      archive-product, page-cart and page-checkout, and block
      templates take precedence over PHP templates — so
      wc_set_template_override never fires.

   2. The shop renders with WOOCOMMERCE BLOCKS markup, not classic
      markup. The product list is `ul.wc-block-product-template`
      and each card is `li.wc-block-product` — NOT `ul.products
      li.product`. Classic selectors silently match nothing.

   Both selector families are therefore covered below: block
   selectors first (what this site actually uses), classic
   selectors after (fallback for any page that still emits them).
   ============================================================ */

/* ---------- Archive header ---------- */
html body .woocommerce-breadcrumb,
html body .wc-block-breadcrumbs {
  max-width: 1320px;
  margin: 26px auto 4px;
  padding: 0 24px;
  font-size: 13px;
  color: var(--color-text-muted);
}
html body .woocommerce-breadcrumb a,
html body .wc-block-breadcrumbs a { color: var(--color-text-muted); text-decoration: none; }
html body .woocommerce-breadcrumb a:hover,
html body .wc-block-breadcrumbs a:hover { color: var(--color-accent); }

html body .wp-block-query-title,
html body .woocommerce-products-header__title {
  max-width: 1320px;
  margin: 0 auto 4px;
  padding: 0 24px;
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  font-weight: 700;
  letter-spacing: -.02em;
}

html body .woocommerce-result-count,
html body .wc-block-product-results-count {
  color: var(--color-text-muted);
  font-size: 13.5px;
}

/* Sorting dropdown — ships unstyled, renders as a white box on dark */
html body .woocommerce-ordering select,
html body select.orderby,
html body .wc-block-product-sort-select select,
html body .wc-block-components-sort-select__select {
  appearance: none;
  -webkit-appearance: none;
  padding: 10px 38px 10px 14px;
  font-family: inherit;
  font-size: 14px;
  color: var(--color-text);
  background-color: var(--color-surface);
  background-image: linear-gradient(45deg, transparent 50%, var(--color-text-muted) 50%),
                    linear-gradient(135deg, var(--color-text-muted) 50%, transparent 50%);
  background-position: calc(100% - 18px) 52%, calc(100% - 13px) 52%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  cursor: pointer;
}

/* ---------- Product grid (WooCommerce Blocks) ---------- */
html body ul.wc-block-product-template,
html body .wp-block-woocommerce-product-template,
html body .woocommerce ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 20px;
  max-width: 1320px;
  margin: 24px auto 48px;
  padding: 0 24px;
  list-style: none;
}

html body li.wc-block-product,
html body .woocommerce ul.products li.product {
  display: flex !important;
  flex-direction: column;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  background: var(--color-background);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .3s cubic-bezier(.22,.61,.36,1),
              border-color .3s ease,
              box-shadow .3s ease;
}

/* WooCommerce Blocks centres every element inside the card via its own
   rules. Centred title + centred price + a floating centred pill button
   reads like a default theme, not a product card. Force left alignment
   on the whole card and let the button go full width at the bottom. */
html body li.wc-block-product,
html body li.wc-block-product * ,
html body .woocommerce ul.products li.product,
html body .woocommerce ul.products li.product * { text-align: left !important; }
html body li.wc-block-product:hover,
html body .woocommerce ul.products li.product:hover {
  transform: translateY(-4px);
  border-color: var(--color-border-strong);
  box-shadow: var(--shadow-lg);
}

/* Image plate. On the light theme this is a soft grey so the card
   still reads as a card — product shots are on white seamless, so a
   pure-white plate would make the image bleed into the surround. */
html body li.wc-block-product .wc-block-components-product-image,
html body li.wc-block-product .wc-block-components-product-image a,
html body .woocommerce ul.products li.product a.woocommerce-LoopProduct-link {
  display: block;
  position: relative;
  margin: 0 !important;
  background: var(--color-surface-2);
  border-bottom: 1px solid var(--color-border);
}
html body li.wc-block-product .wc-block-components-product-image img,
html body .woocommerce ul.products li.product img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  margin: 0 !important;
  padding: 16px;
  border-radius: 0 !important;
  background: transparent;
  transition: transform .5s cubic-bezier(.22,.61,.36,1);
}
html body li.wc-block-product:hover img { transform: scale(1.05); }

/* Title */
html body li.wc-block-product .wp-block-post-title,
html body li.wc-block-product .wc-block-components-product-title,
html body .woocommerce ul.products li.product .woocommerce-loop-product__title {
  padding: 16px 18px 0 !important;
  margin: 0 !important;
  font-family: var(--font-heading);
  font-size: var(--text-md) !important;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -.01em;
  /* Clamp long names to two lines — they run from "5611 Barometer" to
     90+ characters here, and a 3-line title made the row ragged.
     !important is required: WooCommerce Blocks sets `display` and
     `text-align` inline on this element.
     No fixed height: the price below carries `margin-top:auto`, which
     already pins the price + button to the bottom of the card, so the
     buttons line up across a row on their own. A fixed height here
     clipped the second line, because padding counts inside the box. */
  display: -webkit-box !important;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
html body li.wc-block-product .wp-block-post-title a,
html body li.wc-block-product .wc-block-components-product-title a,
html body .woocommerce ul.products li.product h2 a {
  color: var(--color-text) !important;
  text-decoration: none;
}
html body li.wc-block-product .wp-block-post-title a:hover,
html body li.wc-block-product .wc-block-components-product-title a:hover {
  color: var(--color-accent) !important;
}

/* Price */
html body li.wc-block-product .wc-block-components-product-price,
html body .woocommerce ul.products li.product .price {
  display: block;
  padding: 10px 18px 0 !important;
  margin: auto 0 0 !important;
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text) !important;
  font-variant-numeric: tabular-nums;
}
html body li.wc-block-product .wc-block-components-product-price del,
html body .woocommerce ul.products li.product .price del {
  display: block;
  font-size: .62em;
  font-weight: 500;
  color: var(--color-text-muted);
}
html body li.wc-block-product .wc-block-components-product-price ins,
html body .woocommerce ul.products li.product .price ins {
  text-decoration: none;
  background: none;
  color: var(--color-text);
}

/* Ratings on ARCHIVE CARDS only are hidden while the catalogue has no
   reviews — an empty five-star outline on every card reads as "rated
   zero". The single-product review tab and form stay live, so real
   customer reviews can accumulate; once they exist, delete this rule. */
html body li.wc-block-product .wc-block-components-product-rating,
html body .woocommerce ul.products li.product .star-rating { display: none !important; }

/* Review stars ARE shown wherever a real rating exists */
html body .woocommerce div.product .star-rating,
html body .woocommerce #reviews .star-rating { color: #E8A33D; }

/* Buttons */
/* Buttons — site-wide */
html body .woocommerce a.button,
html body .woocommerce button.button,
html body .woocommerce input.button,
html body .woocommerce a.button.alt,
html body .woocommerce button.button.alt,
html body .woocommerce #respond input#submit {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  padding: 12px 20px !important;
  font-family: inherit;
  font-size: var(--text-base) !important;
  font-weight: 600;
  line-height: 1.2;
  color: #fff !important;
  background: var(--color-primary) !important;
  border: 1px solid var(--color-primary) !important;
  border-radius: var(--radius-md) !important;
  text-decoration: none;
  text-shadow: none;
  cursor: pointer;
  transition: background .22s ease, border-color .22s ease, transform .22s ease;
}

/* Add to cart INSIDE A CARD — full width, pinned to the bottom edge.
   A small pill floating in the middle of the card is the WooCommerce
   default and gives the eye no consistent click target across a grid. */
html body li.wc-block-product .wc-block-components-product-button,
html body li.wc-block-product .wp-block-woocommerce-product-button {
  margin: 14px 0 0 !important;
  padding: 0 18px 18px !important;
  width: 100%;
}
html body li.wc-block-product .wp-block-button__link,
html body li.wc-block-product .wc-block-components-product-button a,
html body li.wc-block-product .wc-block-components-product-button button {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100% !important;
  margin: 0 !important;
  padding: 12px 16px !important;
  font-family: inherit;
  font-size: var(--text-base) !important;
  font-weight: 600;
  line-height: 1.2;
  color: #fff !important;
  background: var(--color-primary) !important;
  border: 1px solid var(--color-primary) !important;
  border-radius: var(--radius-md) !important;
  text-decoration: none;
  cursor: pointer;
  transition: background .22s ease, border-color .22s ease;
}
/* "View products" on a variable/grouped product is a secondary action */
html body li.wc-block-product .wp-block-button__link.add_to_cart_button.loading { opacity: .7; }
html body li.wc-block-product .wp-block-button__link:hover,
html body .woocommerce a.button:hover,
html body .woocommerce button.button:hover,
html body .woocommerce a.button.alt:hover,
html body .woocommerce button.button.alt:hover {
  background: var(--color-primary-hover) !important;
  border-color: var(--color-primary-hover) !important;
  transform: translateY(-1px);
}

/* ---------- Sale badge ----------
   WooCommerce renders this inline in the flow, which pushed the title
   down and made rows ragged. Pin it to the image corner instead. */
html body li.wc-block-product .wc-block-components-product-sale-badge,
html body .woocommerce ul.products li.product .onsale {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  margin: 0 !important;
  padding: 5px 10px !important;
  min-height: 0;
  min-width: 0;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #fff !important;
  background: var(--color-sale) !important;
  border: 0;
  border-radius: var(--radius-full);
  line-height: 1.4;
}

/* ---------- Pagination ---------- */
html body .wc-block-pagination,
html body .woocommerce nav.woocommerce-pagination {
  max-width: 1320px;
  margin: 0 auto 64px;
  padding: 0 24px;
}
html body .wc-block-pagination .wc-block-pagination__list,
html body .woocommerce nav.woocommerce-pagination ul {
  border: 0;
  display: flex;
  gap: 8px;
  justify-content: center;
  list-style: none;
}
html body .wc-block-pagination-page,
html body .woocommerce nav.woocommerce-pagination ul li a,
html body .woocommerce nav.woocommerce-pagination ul li span {
  display: grid;
  place-items: center;
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text) !important;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: border-color .2s ease, background .2s ease, color .2s ease;
}
html body .wc-block-pagination-page--active,
html body .woocommerce nav.woocommerce-pagination ul li span.current {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff !important;
}
html body .wc-block-pagination-page:hover,
html body .woocommerce nav.woocommerce-pagination ul li a:hover {
  border-color: var(--color-primary);
  color: var(--color-primary) !important;
  background: var(--color-surface-2);
}

/* ---------- Single product ---------- */
html body .woocommerce div.product,
html body .wp-block-woocommerce-product-image-gallery {
  max-width: 1320px;
  margin: 0 auto;
}
html body .woocommerce div.product div.images img,
html body .wp-block-woocommerce-product-image-gallery img {
  border-radius: var(--radius-lg);
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
}
html body .product .wp-block-post-title,
html body .woocommerce div.product .product_title {
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.02em;
  color: var(--color-text);
}
html body .woocommerce div.product p.price,
html body .woocommerce div.product span.price {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--color-text);
  font-variant-numeric: tabular-nums;
}

html body .woocommerce table.shop_attributes,
html body .woocommerce table.shop_table,
html body .wc-block-cart table {
  border: 1px solid var(--color-border);
  border-collapse: separate;
  border-spacing: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  color: var(--color-text);
}
html body .woocommerce table.shop_attributes th,
html body .woocommerce table.shop_table th {
  background: var(--color-surface-2);
  color: var(--color-text);
  font-weight: 600;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
  padding: 12px 16px;
}
html body .woocommerce table.shop_attributes td,
html body .woocommerce table.shop_table td {
  background: var(--color-background);
  border-bottom: 1px solid var(--color-border);
  padding: 12px 16px;
}

/* Inputs — cart, checkout, account */
html body .woocommerce .quantity input.qty,
html body .woocommerce form .form-row input.input-text,
html body .woocommerce form .form-row textarea,
html body .woocommerce form .form-row select,
html body .wc-block-components-text-input input,
html body .woocommerce-page input[type="text"],
html body .woocommerce-page input[type="email"],
html body .woocommerce-page input[type="tel"],
html body .woocommerce-page input[type="password"],
html body .woocommerce-page textarea {
  padding: 11px 13px;
  font-family: inherit;
  font-size: 14px;
  color: var(--color-text);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}
html body .woocommerce .quantity input.qty:focus,
html body .woocommerce form .form-row input.input-text:focus {
  outline: none;
  border-color: var(--color-primary);
}

/* Notices */
html body .woocommerce-message,
html body .woocommerce-info,
html body .woocommerce-error {
  background: var(--color-surface);
  border-top: 3px solid var(--color-accent);
  color: var(--color-text);
  border-radius: var(--radius-md);
}
html body .woocommerce-error { border-top-color: #ef5350; }

/* ============================================================
   CART / CHECKOUT / ACCOUNT
   ------------------------------------------------------------
   These pages render CLASSIC WooCommerce shortcode markup on this
   site (table.shop_table, .cart_totals, form.checkout) — NOT the
   Blocks cart. Verified by loading /cart-2/ with a product in it.
   They shipped with no container, no page-title styling and no
   layout: the table ran edge to edge and the "Cart" heading came
   out at body size.
   ============================================================ */

html body.woocommerce-cart main,
html body.woocommerce-checkout main,
html body.woocommerce-account main,
html body.woocommerce-order-received main {
  max-width: 1240px;
  margin: 0 auto;
  padding: 40px 24px 80px;
  box-sizing: border-box;
}

/* Page title — "Cart" / "Checkout" were rendering at body size */
html body.woocommerce-cart main  .wp-block-post-title,
html body.woocommerce-cart main  h1,
html body.woocommerce-checkout main  .wp-block-post-title,
html body.woocommerce-checkout main  h1,
html body.woocommerce-account main  .wp-block-post-title,
html body.woocommerce-account main  h1 {
  font-family: var(--font-heading);
  font-size: var(--text-4xl) !important;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.02em;
  margin: 0 0 28px !important;
  color: var(--color-text);
}

/* ---------- Cart: items left, totals right ---------- */
@media (min-width: 981px) {
  html body .woocommerce-cart-form {
    float: none;
    width: 100%;
  }
  html body.woocommerce-cart .woocommerce {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 32px;
    align-items: start;
  }
  html body.woocommerce-cart .woocommerce  .woocommerce-notices-wrapper { grid-column: 1 / -1; }
  html body .cart-collaterals {
    width: 100% !important;
    float: none !important;
    position: sticky;
    top: 96px;
  }
  html body .cart-collaterals .cart_totals { width: 100% !important; float: none !important; }
}

html body table.shop_table.cart { width: 100%; }
html body table.shop_table.cart img { width: 72px; height: auto; border-radius: var(--radius-md); }
html body table.shop_table td.product-name a { font-weight: 600; }
html body .product-remove a.remove {
  display: grid; place-items: center;
  width: 26px; height: 26px;
  border-radius: var(--radius-full);
  color: var(--color-text-muted) !important;
  background: var(--color-surface-2);
  font-size: 16px;
  text-decoration: none;
}
html body .product-remove a.remove:hover { background: var(--color-danger); color: #fff !important; }

html body .cart_totals  h2,
html body .cross-sells  h2,
html body #order_review_heading {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 700;
  letter-spacing: -.01em;
  margin: 0 0 14px;
}
html body .cart_totals table.shop_table { margin: 0; }
html body .cart_totals .order-total td strong { font-size: var(--text-lg); }

/* The checkout button is the primary action on the page — make it read
   like one rather than sitting inline at text size. */
html body .wc-proceed-to-checkout { padding: 16px 0 0 !important; }
html body .wc-proceed-to-checkout a.checkout-button,
html body #place_order {
  display: flex !important;
  width: 100%;
  padding: 15px 20px !important;
  font-size: var(--text-md) !important;
  border-radius: var(--radius-md) !important;
}

html body .coupon { display: flex; gap: 8px; align-items: center; }
html body .coupon input.input-text { min-width: 180px; }
html body button[name="update_cart"]:disabled { opacity: .45; cursor: not-allowed; }

/* ---------- Checkout ---------- */
@media (min-width: 981px) {
  html body form.checkout.woocommerce-checkout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 400px;
    gap: 36px;
    align-items: start;
  }
  /* #customer_details, #order_review_heading and #order_review are three
     SIBLINGS, so naive auto-placement put the heading in row 1 col 2 and
     pushed the order summary down to row 2 — i.e. below the entire
     billing form, off the first screen. Span the form across both rows
     and pin the summary explicitly. */
  html body form.checkout {
    grid-template-rows: auto 1fr;
  }
  html body form.checkout #customer_details {
    grid-column: 1;
    grid-row: 1 / span 2;
  }
  html body form.checkout #order_review_heading {
    grid-column: 2;
    grid-row: 1;
    margin-top: 0;
  }
  html body form.checkout #order_review {
    grid-column: 2;
    grid-row: 2;
    position: sticky;
    top: 24px;
  }
  html body form.checkout #customer_details .col-1,
  html body form.checkout #customer_details .col-2 {
    float: none;
    width: 100%;
  }
}
html body #order_review {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 22px;
}
html body #order_review table.shop_table { border: 0; }

html body .woocommerce form .form-row { padding: 0 0 16px; margin: 0; }
html body .woocommerce form .form-row label {
  display: block;
  margin-bottom: 6px;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
}
html body .woocommerce form .form-row .required { color: var(--color-danger); text-decoration: none; }
html body .woocommerce form .form-row input.input-text,
html body .woocommerce form .form-row textarea,
html body .woocommerce form .form-row select,
html body .woocommerce form .form-row .select2-container .select2-selection {
  width: 100%;
  box-sizing: border-box;
}
html body .woocommerce-billing-fields  h3,
html body .woocommerce-additional-fields  h3,
html body .woocommerce-shipping-fields  h3 {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 700;
  letter-spacing: -.01em;
  margin: 0 0 16px;
}

/* Payment box — ships as a bright pink/grey block from WooCommerce */
html body #payment,
html body .woocommerce-checkout #payment {
  background: transparent;
  border-radius: 0;
}
html body #payment ul.payment_methods {
  padding: 0;
  margin: 0 0 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  list-style: none;
}
html body #payment ul.payment_methods li {
  padding: 14px 16px;
  background: var(--color-background);
  border-bottom: 1px solid var(--color-border);
}
html body #payment ul.payment_methods li:last-child { border-bottom: 0; }
html body #payment div.payment_box {
  background: var(--color-surface-2) !important;
  color: var(--color-text);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  line-height: 1.6;
}
html body #payment div.payment_box::before { display: none !important; }

/* ---------- Distraction-free checkout header ----------
   WooCommerce replaces the site header on /checkout/ with a minimal
   one. It shipped as unstyled 14px text jammed into the top-left
   corner with no padding, which read as a broken page rather than a
   deliberate simplification. */
html body .woocommerce-checkout .wp-block-woocommerce-checkout-header,
html body .woocommerce-checkout header.wc-block-components-header {
  max-width: 1240px;
  margin: 0 auto;
  padding: 18px 24px;
  border-bottom: 1px solid var(--color-border);
  box-sizing: border-box;
}
html body .woocommerce-checkout .wc-block-components-header p a,
html body .woocommerce-checkout header.wc-block-components-header a[rel="home"] {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--color-text) !important;
  text-decoration: none;
}

/* ---------- Order received ----------
   This site renders the BLOCK confirmation markup
   (.wc-block-order-confirmation-summary), not the classic
   .woocommerce-order-overview list. Both are styled: the classic
   rules below are a fallback for any template that still emits it. */
html body .wc-block-order-confirmation-summary {
  margin: 0 0 28px;
  padding: 0;
  border: 0;
  background: transparent;
}
html body .wc-block-order-confirmation-summary-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  border: 0;
}
html body .wc-block-order-confirmation-summary-list-item {
  flex: 1 1 168px;
  margin: 0;
  padding: 14px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
}
html body .wc-block-order-confirmation-summary-list-item__key {
  display: block;
  margin-bottom: 4px;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}
html body .wc-block-order-confirmation-summary-list-item__value {
  display: block;
  font-family: var(--font-heading);
  font-size: var(--text-md);
  font-weight: 700;
  color: var(--color-text);
  font-variant-numeric: tabular-nums;
}

html body .woocommerce-order-overview {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 0;
  margin: 0 0 28px;
  list-style: none;
}
html body .woocommerce-order-overview li {
  flex: 1 1 160px;
  padding: 14px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  border-left: 0;
}
html body .woocommerce-order-overview li strong {
  display: block;
  margin-top: 4px;
  font-size: var(--text-md);
  color: var(--color-text);
}

/* ---------- Bank transfer details ----------
   RZ has THREE accounts at the same bank with the same BIC and,
   until now, the same name — so a customer had no way to tell them
   apart or know which to pay. WooCommerce renders them as a bare run
   of  +  with no separation, which made three accounts read
   as one wall of digits.

   Presented as three labelled cards instead, with the IBAN as the
   dominant line (that is the number people actually copy) and a
   copy button on each, because a mistyped IBAN loses the payment. */
html body .woocommerce-bacs-bank-details {
  margin: 28px 0 0;
  padding: 0;
  background: transparent;
  border: 0;
}
html body .woocommerce-bacs-bank-details  h2,
html body .wc-bacs-bank-details-heading {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 700;
  letter-spacing: -.01em;
  margin: 0 0 6px;
}

/* Each account */
html body .wc-bacs-bank-details-account-name {
  display: block;
  margin: 22px 0 0;
  padding: 16px 18px 10px;
  border: 1px solid var(--color-border);
  border-bottom: 0;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: var(--color-surface);
  font-family: var(--font-heading);
  font-size: var(--text-md);
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--color-text);
}
html body ul.wc-bacs-bank-details {
  margin: 0;
  padding: 4px 18px 16px;
  list-style: none;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-top: 0;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  font-size: var(--text-sm);
}
html body ul.wc-bacs-bank-details li {
  display: flex;
  gap: 14px;
  align-items: baseline;
  justify-content: space-between;
  padding: 7px 0;
  border-bottom: 1px dashed var(--color-border);
}
html body ul.wc-bacs-bank-details li:last-child { border-bottom: 0; }
html body ul.wc-bacs-bank-details li strong {
  /* Tabular figures keep the IBAN groups aligned and make
     transcription errors easier to spot. */
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  text-align: right;
  letter-spacing: .01em;
  color: var(--color-text);
}
/* The IBAN is the line that matters — give it real presence */
html body ul.wc-bacs-bank-details li.iban {
  padding: 12px 0;
  border-bottom: 1px dashed var(--color-border);
}
html body ul.wc-bacs-bank-details li.iban strong {
  font-size: var(--text-md);
  font-weight: 700;
}

/* Copy button, injected by rz_bacs_copy */
html body .rzcopy {
  flex-shrink: 0;
  margin-left: 10px;
  padding: 5px 11px;
  font: inherit;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-primary);
  background: var(--color-background);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: background var(--dur) ease, border-color var(--dur) ease, color var(--dur) ease;
}
html body .rzcopy:hover { border-color: var(--color-primary); background: var(--color-surface-2); }
html body .rzcopy:active { transform: translateY(1px); }
html body .rzcopy.is-done {
  color: #fff;
  background: var(--color-success);
  border-color: var(--color-success);
}

/* Payment reference callout — the single most important instruction,
   and previously buried in a paragraph of running text. */
html body .rzpayref {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 22px 0 0;
  padding: 16px 18px;
  border: 1px solid color-mix(in srgb, var(--color-primary) 35%, var(--color-border));
  border-left: 3px solid var(--color-primary);
  border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--color-primary) 5%, var(--color-background));
  font-size: var(--text-sm);
  line-height: 1.65;
}
html body .rzpayref strong { color: var(--color-text); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  html body ul.wc-block-product-template,
  html body .wp-block-woocommerce-product-template,
  html body .woocommerce ul.products { grid-template-columns: repeat(3, minmax(0,1fr)) !important; }
}
@media (max-width: 820px) {
  html body ul.wc-block-product-template,
  html body .wp-block-woocommerce-product-template,
  html body .woocommerce ul.products { grid-template-columns: repeat(2, minmax(0,1fr)) !important; }
}
@media (max-width: 520px) {
  html body ul.wc-block-product-template,
  html body .wp-block-woocommerce-product-template,
  html body .woocommerce ul.products {
    grid-template-columns: 1fr !important;
    padding: 0 16px;
  }
  html body .woocommerce-breadcrumb,
  html body .wp-block-query-title { padding: 0 16px; }
}

/* ---------- Touch: 16px inputs ----------
   iOS Safari zooms the page whenever a focused input is under 16px.
   Every WooCommerce field was 14px, so tapping into checkout jerked
   the layout on every single field — worst possible place for it. */
@media (max-width: 900px) {
  html body .woocommerce .quantity input.qty,
  html body .woocommerce form .form-row input.input-text,
  html body .woocommerce form .form-row textarea,
  html body .woocommerce form .form-row select,
  html body .wc-block-components-text-input input,
  html body .woocommerce-page input[type="text"],
  html body .woocommerce-page input[type="email"],
  html body .woocommerce-page input[type="tel"],
  html body .woocommerce-page input[type="password"],
  html body .woocommerce-page textarea,
  html body .woocommerce-ordering select,
  html body select.orderby,
  html body .coupon input.input-text {
    font-size: 16px !important;
  }

  /* The cart table is 6 columns of fixed labels — it cannot compress.
     Let it scroll inside its own box rather than pushing the page. */
  html body .woocommerce-cart-form { overflow-x: auto; }
  html body table.shop_table.cart { min-width: 520px; }
}

@media (prefers-reduced-motion: reduce) {
  html body li.wc-block-product,
  html body li.wc-block-product img,
  html body li.wc-block-product .wp-block-button__link { transition: none !important; }
}
