/* =========================================================================
   US TRUCKS — merchandise shop (WooCommerce), US TRUCKS group design system (as on uscruiserz.co.za).
   Loaded only on shop, product, cart, checkout and account pages (functions.php). Tokens come from site.css.
   ========================================================================= */

/* ---------- shared ---------- */
.ust-shop :is(select, input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="password"], input[type="search"], textarea):not(.wc-block-components-text-input input):not(.wc-block-components-textarea):not(.wc-blocks-components-select__select):not(.wc-block-components-quantity-selector__input):not(.wc-block-components-combobox input) {
  min-height: 3.25rem; padding: 0.8rem 0.95rem; border-radius: 0; border: 1px solid var(--line-strong); background: var(--white); color: var(--ink); font: inherit; font-size: 1rem; line-height: 1.4;
}
.ust-shop select:not(.wc-blocks-components-select__select) { padding-right: 2.5rem; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%235a6067' stroke-width='1.6'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; }
.ust-shop :is(select, input, textarea):focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(200, 16, 46, 0.18); }
.ust-shop .wc-block-components-notice-banner, .ust-shop .woocommerce-message, .ust-shop .woocommerce-info, .ust-shop .woocommerce-error {
  background: var(--surface); color: var(--text); border: 1px solid var(--line); border-left: 2px solid var(--warning); border-radius: 0; padding: 0.9rem 1rem; margin: 0 0 var(--space-5); font-size: var(--step--1);
}
.ust-shop .wc-block-components-notice-banner.is-success, .ust-shop .woocommerce-message { border-left-color: var(--success); }
.ust-shop .wc-block-components-notice-banner.is-error, .ust-shop .woocommerce-error { border-left-color: var(--red); }
.ust-shop .wc-block-components-notice-banner > svg { fill: currentColor; background: transparent; }
.ust-shop .wc-block-components-notice-banner a, .ust-shop .woocommerce-message a { color: var(--text); font-weight: 650; }
.ust-shop .wc-block-components-notice-banner .wc-forward, .ust-shop .woocommerce-message .button { float: none; margin-left: 0.5rem; padding: 0; background: none !important; border: 0; text-decoration: underline; color: var(--text) !important; min-height: 0; opacity: 1 !important; }

/* ---------- catalogue ---------- */
.ust-shop__lede { color: var(--fog); max-width: 38em; font-size: var(--step-1); line-height: 1.5; }
.ust-shop__lede p { margin: 0; }
.ust-shop__cats { margin-top: var(--space-6); }
.ust-shop__cats a { border-color: var(--line-strong); color: var(--bone); }
.ust-shop__cats a:hover { border-color: var(--bone); color: var(--white); }
.ust-shop__cats a[aria-current] { background: var(--bone); border-color: var(--bone); color: var(--ink); }
.ust-shop__cats .ust-shop__cart { margin-left: auto; border-color: transparent; text-decoration: underline; text-underline-offset: 0.2em; }
.ust-shop__body { --bg: var(--white); background: var(--white); }
.ust-shop__toolbar { gap: var(--space-3) var(--space-5); align-items: center !important; margin-bottom: var(--space-6) !important; padding-bottom: var(--space-5); border-bottom: 1px solid var(--line); }
.ust-shop__toolbar > * { margin: 0 !important; }
.ust-shop .woocommerce-result-count { font-family: var(--font-mono); font-size: var(--step--2); text-transform: uppercase; letter-spacing: 0.12em; color: var(--text-muted); }
.ust-shop .woocommerce-ordering select { min-width: 14rem; }

.ust-products .wc-block-product-template { list-style: none; margin: 0 !important; padding: 0; display: grid !important; gap: var(--space-7) var(--space-5); grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
@media (min-width: 800px) { .ust-products .wc-block-product-template { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; } }
@media (min-width: 1100px) { .ust-products .wc-block-product-template { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; } }
.ust-products .wc-block-product { position: relative; display: flex; flex-direction: column; width: auto !important; max-width: none !important; margin: 0 !important; padding: 0; background: transparent; border: 0; }
.ust-products .wc-block-product > * { margin: 0 !important; text-align: left !important; }
.ust-products .wc-block-product > .wc-block-components-product-image { margin-bottom: var(--space-4) !important; background: var(--paper); overflow: hidden; }
.ust-products .wc-block-components-product-image a { display: block; }
.ust-products .wc-block-components-product-image img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform 900ms var(--ease); }
.ust-products .wc-block-product:hover .wc-block-components-product-image img { transform: scale(1.035); }
.ust-product-card__title { font-family: var(--font-sans) !important; font-size: var(--step-0) !important; font-weight: 650 !important; font-stretch: 104%; line-height: 1.35 !important; text-transform: none; letter-spacing: 0; }
.ust-product-card__title a { text-decoration: none; color: var(--text); }
.ust-product-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.ust-product-card__title a:focus-visible { box-shadow: none; }
.ust-products .wc-block-product:hover .ust-product-card__title a { color: var(--accent); }
.ust-products .wc-block-product:has(.ust-product-card__title a:focus-visible) { box-shadow: var(--focus); }
.ust-product-card__price { margin-top: var(--space-2) !important; font-family: var(--font-mono); font-size: var(--step-0); font-weight: 500; font-variant-numeric: tabular-nums; flex: 1; }
.ust-shop .wc-block-components-product-price del, .ust-shop .price del { color: var(--text-muted); font-weight: 400; }
.ust-shop .wc-block-components-product-price ins, .ust-shop .price ins { text-decoration: none; }
.ust-product-card__btn { margin-top: var(--space-4) !important; position: relative; z-index: 2; }
.ust-product-card__btn, .ust-product-card__btn > * { display: block; width: 100%; text-align: center; }
.ust-product-card__btn .wp-block-button__link, .ust-product-card__btn .wc-block-components-product-button__button { display: flex; }
.ust-product-card__btn .wp-block-button__link, .ust-product-card__btn .wc-block-components-product-button__button {
  width: 100%; min-height: 2.9rem; padding: 0.6rem 1rem; font-size: var(--step--2); background: var(--ink) !important; color: var(--white) !important; border: 1px solid var(--ink) !important; border-radius: 0;
}
.ust-product-card__btn .wp-block-button__link:hover, .ust-product-card__btn .wc-block-components-product-button__button:hover { background: var(--red) !important; border-color: var(--red) !important; }
.ust-product-card__btn .wc-block-components-product-button__button.loading { opacity: 0.6; }
.ust-product-card__btn .added_to_cart { display: block; margin-top: var(--space-2); font-size: var(--step--1); font-weight: 650; color: var(--text); text-align: center; }
.ust-products .wc-block-components-product-sale-badge { position: absolute; top: var(--space-3); left: var(--space-3); z-index: 2; margin: 0; padding: 0.3rem 0.6rem; border: 0; border-radius: 0; background: var(--red); color: var(--white); font-family: var(--font-mono); font-size: var(--step--2); font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; }
.ust-products .wp-block-query-pagination { margin-top: var(--space-7); }
.ust-products .wp-block-query-pagination-numbers { display: flex; gap: var(--space-2); }

/* ---------- product page ---------- */
.ust-product { padding-top: clamp(1.5rem, 3vw, 2.5rem); }
.ust-product__grid { display: grid; gap: var(--space-6); }
.ust-product__grid > * { min-width: 0; margin: 0 !important; }
@media (min-width: 900px) {
  .ust-product__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 1rem + 3vw, 5rem); align-items: start; }
  .ust-product__summary { position: sticky; top: calc(var(--header-h) + 1.5rem); }
}
.ust-product__media .wp-block-woocommerce-product-image-gallery { max-width: none; }
.ust-product__media .woocommerce-product-gallery { position: relative; margin: 0; width: 100% !important; float: none !important; }
.ust-product__media .woocommerce-product-gallery__image img { width: 100%; background: var(--white); }
/* Zoom button: WooCommerce styles it with a long selector, hence the !important. */
.ust-product__media .woocommerce-product-gallery__trigger { top: var(--space-4) !important; right: var(--space-4) !important; width: 2.75rem !important; height: 2.75rem !important; border-radius: 0 !important; background: var(--ink) !important; color: var(--bone); }
.ust-product__media .woocommerce-product-gallery__trigger:hover { background: var(--red) !important; }
.ust-product__media .woocommerce-product-gallery__trigger::before { inset: 0 !important; margin: auto; width: 1.1rem !important; height: 1.1rem !important; border: 0 !important; border-radius: 0 !important; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='M15.5 15.5L21 21'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='M15.5 15.5L21 21'/%3E%3C/svg%3E") center / contain no-repeat; }
.ust-product__media .woocommerce-product-gallery__trigger::after { display: none !important; }
.ust-product__media .flex-control-thumbs { list-style: none; margin: var(--space-3) 0 0 !important; padding: 0; display: grid !important; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--space-2); }
.ust-product__media .flex-control-thumbs li { width: auto !important; float: none !important; margin: 0 !important; }
.ust-product__media .flex-control-thumbs img { width: 100%; aspect-ratio: 1; object-fit: cover; border: 1px solid var(--line); opacity: 0.6; cursor: pointer; transition: opacity var(--dur), border-color var(--dur); }
.ust-product__media .flex-control-thumbs img:hover, .ust-product__media .flex-control-thumbs img.flex-active { opacity: 1; border-color: var(--ink); }
.ust-product__cat { margin-bottom: var(--space-4) !important; }
.ust-product__cat a { text-decoration: none; }
.ust-product__title { font-size: var(--step-4) !important; font-weight: 830 !important; font-stretch: 118% !important; text-transform: uppercase; line-height: 0.94 !important; letter-spacing: -0.015em; margin-bottom: var(--space-5) !important; }
.ust-product__price, .ust-product__summary .woocommerce-variation-price .price { font-family: var(--font-mono) !important; font-size: var(--step-2) !important; font-weight: 500 !important; font-variant-numeric: tabular-nums; margin: 0 0 var(--space-5) !important; }
.ust-product__excerpt { color: var(--text); margin-bottom: var(--space-5) !important; }
.ust-product__excerpt p { margin: 0 0 var(--space-3); }
.ust-product__buy form.cart { margin: 0 0 var(--space-5); }
.ust-product__buy form.cart:not(.variations_form), .ust-product__buy .woocommerce-variation-add-to-cart { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: stretch; }
.ust-product__buy table.variations, .ust-product__buy table.variations :is(tbody, tr, th, td) { display: block; width: 100%; }
.ust-product__buy table.variations { border-collapse: collapse; margin: 0 0 var(--space-4); }
.ust-product__buy table.variations tr { display: grid; gap: var(--space-2); margin-bottom: var(--space-4); }
.ust-product__buy table.variations :is(th, td) { padding: 0; text-align: left; border: 0; }
.ust-product__buy table.variations label { font-family: var(--font-mono); font-size: var(--step--2); font-weight: 500; text-transform: uppercase; letter-spacing: 0.12em; }
.ust-product__buy table.variations select { width: 100%; max-width: 26rem; }
.ust-product__buy .reset_variations { display: inline-block; margin-top: var(--space-2); font-size: var(--step--1); color: var(--text-muted); }
.ust-product__buy .woocommerce-variation:not(:empty) { margin-bottom: var(--space-4); }
.ust-product__buy .single_variation_wrap { margin-top: var(--space-2); }
.ust-product__buy .woocommerce-variation-description p { margin: 0 0 var(--space-2); color: var(--text-muted); }
.ust-product__buy .quantity .qty { width: 5.5rem; min-height: 3.25rem; text-align: center; }
.ust-product__buy .single_add_to_cart_button {
  flex: 1 1 12rem; min-height: 3.25rem; padding: 0.85rem 1.5rem; border: 1px solid var(--red); border-radius: 0; background: var(--red) !important; color: var(--white) !important;
  font-family: var(--font-sans); font-size: var(--step--1); font-weight: 650; font-stretch: 112%; text-transform: uppercase; letter-spacing: 0.07em; cursor: pointer; transition: background-color var(--dur);
}
.ust-product__buy .single_add_to_cart_button:hover { background: var(--red-deep) !important; border-color: var(--red-deep); }
/* Until a size/colour is picked WooCommerce marks the button with a class, not the disabled attribute, so keep it readable. */
.ust-product__buy .single_add_to_cart_button.disabled { opacity: 1 !important; background: var(--bone) !important; border-color: var(--bone); color: var(--iron) !important; cursor: not-allowed; }
.ust-shop .stock { font-family: var(--font-mono); font-size: var(--step--1); margin: 0 0 var(--space-4); }
.ust-shop .stock.in-stock { color: var(--success); }
.ust-shop .stock.out-of-stock { color: var(--warning-text); }
.ust-product__meta { gap: var(--space-2) var(--space-5); font-family: var(--font-mono); font-size: var(--step--2); text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); padding-top: var(--space-5); border-top: 1px solid var(--line); }
.ust-product__meta > * { margin: 0 !important; }
.ust-product__meta a { color: var(--text); }
.ust-product__help { margin-top: var(--space-4) !important; }
.ust-product__details { margin-top: clamp(2.5rem, 5vw, 4rem) !important; }
.ust-product__details .woocommerce-tabs ul.tabs { list-style: none; display: flex; flex-wrap: wrap; gap: 0 var(--space-6); margin: 0 0 var(--space-6); padding: 0; border-bottom: 1px solid var(--line-strong); }
.ust-product__details .woocommerce-tabs ul.tabs::before, .ust-product__details .woocommerce-tabs ul.tabs::after { display: none; }
.ust-product__details .woocommerce-tabs ul.tabs li { margin: 0; padding: 0; border: 0; background: none; }
.ust-product__details .woocommerce-tabs ul.tabs li a { display: inline-flex; min-height: 3rem; align-items: center; padding: 0; text-decoration: none; font-weight: 650; font-stretch: 110%; font-size: var(--step--1); text-transform: uppercase; letter-spacing: 0.07em; color: var(--text-muted); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.ust-product__details .woocommerce-tabs ul.tabs li.active a { color: var(--text); border-bottom-color: var(--red); }
.ust-product__details .woocommerce-Tabs-panel { max-width: 46em; }
.ust-product__details .woocommerce-Tabs-panel > h2:first-child, .ust-product__details .woocommerce-Reviews-title { font-size: var(--step-1); margin-bottom: var(--space-4); }
.ust-product__details table.shop_attributes { width: 100%; border-top: 1px solid var(--line-strong); }
.ust-product__details table.shop_attributes :is(th, td) { text-align: left; padding: 0.95rem 0.75rem 0.95rem 0; border-bottom: 1px solid var(--line); font-style: normal; }
.ust-product__details table.shop_attributes th { font-family: var(--font-mono); font-size: var(--step--2); font-weight: 500; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); width: 30%; }
.ust-product__details table.shop_attributes td p { margin: 0; }
.ust-product__details #reviews .comment-reply-title { font-size: var(--step-1); font-weight: 760; font-stretch: 112%; text-transform: uppercase; }
.ust-product__details #review_form :is(input[type="text"], input[type="email"], textarea) { width: 100%; }
.ust-product__details #review_form label { font-family: var(--font-mono); font-size: var(--step--2); text-transform: uppercase; letter-spacing: 0.12em; }
.ust-product__details #review_form .submit { min-height: 3.25rem; padding: 0.85rem 1.5rem; border: 0; border-radius: 0; background: var(--ink); color: var(--white); font-family: var(--font-sans); font-size: var(--step--1); font-weight: 650; font-stretch: 112%; text-transform: uppercase; letter-spacing: 0.07em; cursor: pointer; }
.ust-product__details #review_form .submit:hover { background: var(--red); }
.ust-product__details .stars a { color: var(--red); }
.ust-shop__related .ust-section-title { font-size: var(--step-3); margin-bottom: var(--space-6) !important; }
.ust-shop__related .wc-block-components-product-image { background: var(--graphite) !important; }
.ust-shop__related .ust-product-card__btn .wp-block-button__link, .ust-shop__related .ust-product-card__btn .wc-block-components-product-button__button { background: var(--bone) !important; color: var(--ink) !important; border-color: var(--bone) !important; }
.ust-shop__related .ust-product-card__btn .wp-block-button__link:hover, .ust-shop__related .ust-product-card__btn .wc-block-components-product-button__button:hover { background: var(--white) !important; border-color: var(--white) !important; }
.pswp__bg { background: var(--ink) !important; }

/* ---------- cart and checkout (WooCommerce blocks) ---------- */
.ust-shop__page { padding: var(--section) var(--gutter); max-width: calc(var(--wide) + 2 * var(--gutter)); margin-inline: auto !important; }
.ust-shop__page .ust-content > * { max-width: none !important; }
/* Phones: the page already has the gutter, so the content doesn't add a second one (the cart's item table needs the room at 320-360 px). */
@media (max-width: 47.99rem) { .ust-shop__page .ust-content { padding-inline: 0; } }
.ust-shop--cart .ust-page-head, .ust-shop--checkout .ust-page-head { padding-bottom: clamp(2rem, 1rem + 3vw, 3.5rem) !important; }
.ust-shop .wc-block-cart, .ust-shop .wc-block-checkout { color: var(--text); }
.ust-shop :is(.wc-block-cart, .wc-block-checkout) :is(h2, h3, .wc-block-components-title, .wc-block-components-checkout-order-summary__title-text) { font-family: var(--font-sans) !important; font-weight: 760 !important; font-stretch: 112%; text-transform: uppercase; letter-spacing: 0.01em; }
.ust-shop .wc-block-cart-items, .ust-shop .wc-block-cart-items td, .ust-shop .wc-block-cart-items th { border-color: var(--line) !important; }
.ust-shop .wc-block-cart-items th { font-family: var(--font-mono); font-size: var(--step--2) !important; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); font-weight: 500 !important; }
.ust-shop .wc-block-components-product-name { color: var(--text); font-weight: 650; text-decoration: none; }
.ust-shop .wc-block-components-product-metadata { color: var(--text-muted); font-size: var(--step--1); }
.ust-shop .wc-block-components-product-price, .ust-shop .wc-block-components-totals-item__value, .ust-shop .wc-block-components-formatted-money-amount { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.ust-shop .wc-block-components-quantity-selector { border-color: var(--line-strong) !important; border-radius: 0 !important; background: var(--white); }
.ust-shop .wc-block-components-quantity-selector::after { border: 0 !important; }
.ust-shop .wc-block-components-quantity-selector input { color: var(--ink); background: transparent; }
.ust-shop .wc-block-components-quantity-selector button { color: var(--ink); min-width: 2.5rem; }
.ust-shop .wc-block-cart-item__remove-link { color: var(--text-muted) !important; font-size: var(--step--1) !important; }
/* Small phones (320 px): "Remove item" goes under the quantity buttons and the row's gaps narrow, so the line fits. */
.ust-shop .wc-block-cart-item__quantity { flex-wrap: wrap; }
@media (max-width: 22.49rem) { .ust-shop .is-mobile table.wc-block-cart-items .wc-block-cart-items__row { column-gap: 0.75rem; } }
.ust-shop .wc-block-components-sidebar .wp-block-woocommerce-cart-order-summary-block,
.ust-shop .wc-block-checkout__sidebar .wp-block-woocommerce-checkout-order-summary-block { background: var(--white); border: 1px solid var(--line) !important; border-radius: 0; padding: var(--space-2) var(--space-5) var(--space-4); }
.ust-shop .wc-block-components-totals-wrapper, .ust-shop .wc-block-components-panel, .ust-shop .wc-block-components-totals-coupon { border-color: var(--line) !important; }
.ust-shop .wc-block-components-totals-footer-item .wc-block-components-totals-item__value { font-size: var(--step-1); font-weight: 500; }
.ust-shop .wc-block-components-totals-item__description, .ust-shop .wc-block-components-totals-shipping__via { color: var(--text-muted); }
.ust-shop .wc-block-components-button:not(.is-link) {
  min-height: 3.25rem; border: 1px solid var(--red); border-radius: 0 !important; background: var(--red) !important; color: var(--white) !important;
  font-family: var(--font-sans) !important; font-size: var(--step--1) !important; font-weight: 650 !important; font-stretch: 112%; text-transform: uppercase; letter-spacing: 0.07em; text-decoration: none;
}
.ust-shop .wc-block-components-button:not(.is-link):hover { background: var(--red-deep) !important; border-color: var(--red-deep); }
.ust-shop .wc-block-components-button.is-link { color: var(--text); }
.ust-shop .wc-block-components-panel__button { color: var(--text) !important; }
.ust-shop .wc-block-components-text-input input, .ust-shop .wc-block-components-combobox .wc-block-components-combobox-control input, .ust-shop .wc-blocks-components-select .wc-blocks-components-select__select, .ust-shop .wc-block-components-textarea {
  background: var(--white) !important; color: var(--ink) !important; border: 1px solid var(--line-strong) !important; border-radius: 0 !important;
}
.ust-shop .wc-block-components-text-input label, .ust-shop .wc-blocks-components-select__label, .ust-shop .wc-block-components-combobox label { color: var(--iron) !important; }
.ust-shop .wc-blocks-components-select__container { background: var(--white) !important; border-radius: 0; }
.ust-shop .wc-blocks-components-select__expand { fill: var(--iron); }
.ust-shop .wc-block-components-text-input input:focus, .ust-shop .wc-block-components-combobox input:focus, .ust-shop .wc-blocks-components-select__select:focus, .ust-shop .wc-block-components-textarea:focus { outline: none !important; box-shadow: 0 0 0 3px rgba(200, 16, 46, 0.18) !important; border-color: var(--red) !important; }
.ust-shop .wc-block-components-text-input.has-error input, .ust-shop .wc-block-components-validation-error { border-color: var(--red) !important; color: var(--red); }
.ust-shop .wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"], .ust-shop .wc-block-components-radio-control__input { background: var(--white); border-color: var(--line-strong); border-radius: 0; }
.ust-shop .wc-block-components-checkbox .wc-block-components-checkbox__mark { fill: var(--ink); }
.ust-shop .wc-block-components-radio-control__option, .ust-shop .wc-block-components-radio-control-accordion-option { border-color: var(--line) !important; color: var(--text); border-radius: 0 !important; }
.ust-shop .wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control-accordion-option--checked-option-highlighted,
.ust-shop .wc-block-components-radio-control--highlight-checked label.wc-block-components-radio-control__option--checked-option-highlighted { box-shadow: inset 0 0 0 2px var(--red) !important; }
.ust-shop .wc-block-components-checkout-step__description, .ust-shop .wc-block-checkout__terms, .ust-shop .wc-block-components-address-card { color: var(--text-muted); }
.ust-shop .wc-block-components-address-card { border-color: var(--line) !important; border-radius: 0; }
.ust-shop .wc-block-components-checkout-step__heading-content a, .ust-shop .wc-block-checkout__terms a { color: var(--text); }
.ust-shop .wc-block-components-order-summary-item__quantity { background: var(--ink); color: var(--white); border-color: var(--ink); box-shadow: none; border-radius: 0; font-family: var(--font-mono); }
.ust-shop .wc-block-cart__empty-cart__title { font-family: var(--font-sans); font-weight: 760; font-stretch: 112%; text-transform: uppercase; font-size: var(--step-1); }
.ust-shop .wc-block-cart__empty-cart__title::before { background-color: var(--iron) !important; }
.ust-shop .wp-block-woocommerce-empty-cart-block > h2 { font-size: var(--step-3); text-transform: uppercase; }
.ust-shop .wp-block-woocommerce-empty-cart-block .wp-block-separator { border-color: var(--line); opacity: 1; }
.ust-shop .wc-block-grid__products { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-6) var(--space-5); margin: 0 !important; padding: 0; list-style: none; }
@media (min-width: 800px) { .ust-shop .wc-block-grid__products { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.ust-shop .wc-block-grid__product { position: relative; display: flex; flex-direction: column; max-width: none !important; flex: none !important; margin: 0 !important; padding: 0 !important; border: 0 !important; background: transparent; text-align: left !important; }
.ust-shop .wc-block-grid__product-link { text-decoration: none; color: var(--text); }
.ust-shop .wc-block-grid__product-image { margin: 0 0 var(--space-4) !important; background: var(--white); }
.ust-shop .wc-block-grid__product-image img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.ust-shop .wc-block-grid__product-title { font-family: var(--font-sans) !important; font-size: var(--step-0) !important; font-weight: 650 !important; line-height: 1.35; text-decoration: none; }
.ust-shop .wc-block-grid__product-price { font-family: var(--font-mono); font-size: var(--step-0); margin: var(--space-2) 0 0 !important; flex: 1; }
.ust-shop .wc-block-grid__product-add-to-cart { margin-top: var(--space-4) !important; }
.ust-shop .wc-block-grid__product-add-to-cart .wp-block-button__link { width: 100%; min-height: 2.9rem; padding: 0.6rem 1rem; font-size: var(--step--2); background: var(--ink) !important; color: var(--white) !important; border: 1px solid var(--ink) !important; }
.ust-shop .wc-block-grid__product-add-to-cart .wp-block-button__link:hover { background: var(--red) !important; border-color: var(--red) !important; }
.ust-shop .wc-block-components-skeleton__element { background: var(--bone) !important; }

/* ---------- size/colour swatches (Variation Swatches for WooCommerce, the plugin the live shop uses) ---------- */
.ust-product__buy .variable-items-wrapper { display: flex !important; flex-wrap: wrap; gap: var(--space-2); margin: 0 !important; padding: 0 !important; list-style: none; }
.ust-product__buy .variable-items-wrapper .variable-item:not(.radio-variable-item) {
  display: inline-flex !important; align-items: center; justify-content: center; min-width: 2.75rem !important; min-height: 2.75rem !important; width: auto !important; height: auto !important; margin: 0 !important; padding: 0 0.85rem !important;
  background: var(--white) !important; color: var(--ink) !important; border: 1px solid var(--line-strong) !important; border-radius: 0 !important; box-shadow: none !important;
  font-size: var(--step--1); font-weight: 600; cursor: pointer; transition: border-color var(--dur), background-color var(--dur);
}
.ust-product__buy .variable-items-wrapper .variable-item .variable-item-span { padding: 0 !important; font-size: inherit !important; }
.ust-product__buy .variable-items-wrapper .variable-item:not(.radio-variable-item):hover { border-color: var(--ink) !important; }
.ust-product__buy .variable-items-wrapper .variable-item.selected:not(.radio-variable-item) { background: var(--ink) !important; color: var(--white) !important; border-color: var(--ink) !important; }
.ust-product__buy .variable-items-wrapper .variable-item.disabled { opacity: 0.4 !important; text-decoration: line-through; }
.ust-product__buy .variable-items-wrapper .variable-item:focus-visible { box-shadow: var(--focus) !important; }
/* A text button (a size) already shows its name: no tooltip repeating it. The plugin's hidden 100 px tooltip on the
   last button of a row reached past a 360 px phone's edge once sizes read "6XL" (25 Nov 2026). Colour swatches keep theirs. */
.ust-product__buy .variable-items-wrapper .button-variable-item::before,
.ust-product__buy .variable-items-wrapper .button-variable-item::after { display: none !important; }
.ust-product__buy table.variations .woo-selected-variation-item-name { font-family: var(--font-sans); text-transform: none; letter-spacing: 0; color: var(--text-muted); }
