/*
 * StompDocs store styles (SDP-1088). WooCommerce, Contact Form 7 and page-content rules, restyled to
 * the design-system kit. Every value comes from assets/css/tokens.css (generated from the pinned
 * kit), component sizes included. Nothing here is a brand literal (FR-021).
 *
 * Out of scope on purpose (FR-023): payment fields, express-payment buttons and the payment method
 * area get no rules here, and no rule hides, moves or disables a checkout control.
 */

/* =========================================================================
   Links. A link rests in the theme's link color; on hover it is bone and
   underlined (store-fit, last section). This is a safety net for links that
   no rule below names. Buttons are left to the button rules.
   ========================================================================= */
:root a:where(:not(.wp-element-button, .wp-block-button__link, .button, .wc-block-components-button)):hover {
  color: var(--bone);
  text-decoration: underline;
}
:root a:where(:not(.wp-element-button, .wp-block-button__link, .button, .wc-block-components-button)):focus-visible {
  outline: var(--stroke-strong) solid var(--bone);
  outline-offset: var(--space-2);
}

/* On a case or panel fill red is under 4.5:1, so a plain link there is bone and underlined.
   Navigation links and category chips have their own rules: bone, underlined on hover only. */
:root :where(.has-case-background-color, .has-panel-background-color) a:where(:not(.wp-element-button, .wp-block-button__link, .button, .wc-block-components-button, .wp-block-navigation-item__content, .sd-cat-chip)) {
  color: var(--bone);
  text-decoration: underline;
}

/* =========================================================================
   Text styles. One group per kit text style, so family, weight, size,
   line height, tracking and case always travel together.
   ========================================================================= */

/* Button/M: the default button label */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.wc-block-components-button,
.wp-block-button__link,
.wp-element-button,
.single_add_to_cart_button,
.wpcf7-form input.wpcf7-submit {
  font-family: var(--type-button-m-family);
  font-weight: var(--type-button-m-weight);
  font-size: var(--type-button-m-size);
  line-height: var(--type-button-m-line-height);
  letter-spacing: var(--type-button-m-tracking);
  text-transform: var(--type-button-m-case);
}

/* Button/S: buttons on product cards and the sale badge */
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product a.add_to_cart_button,
.wc-block-product .wp-block-button__link,
.wc-block-product .wp-element-button,
.wc-block-product .wc-block-components-button,
.wc-block-grid__product .wp-block-button__link,
.woocommerce span.onsale,
.wp-block-woocommerce-product-sale-badge .wc-block-components-product-sale-badge {
  font-family: var(--type-button-s-family);
  font-weight: var(--type-button-s-weight);
  font-size: var(--type-button-s-size);
  line-height: var(--type-button-s-line-height);
  letter-spacing: var(--type-button-s-tracking);
  text-transform: var(--type-button-s-case);
}

/* Price/L: every price amount shown as a price */
.woocommerce-Price-amount,
.woocommerce ul.products li.product .price,
.woocommerce div.product p.price,
.woocommerce div.product span.price,
.woocommerce div.product p.price ins,
.woocommerce div.product span.price ins,
.wc-block-components-product-price,
.wc-block-components-product-price ins {
  font-family: var(--type-price-l-family);
  font-weight: var(--type-price-l-weight);
  font-size: var(--type-price-l-size);
  line-height: var(--type-price-l-line-height);
  letter-spacing: var(--type-price-l-tracking);
  text-transform: var(--type-price-l-case);
}

/* Body/S: meta text, struck old prices, cart prices, small notes */
.woocommerce div.product .product_meta,
.woocommerce .sku_wrapper,
.woocommerce-product-attributes,
.wc-block-components-product-details,
.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-breadcrumb,
.woocommerce div.product form.cart .reset_variations,
.woocommerce div.product p.price del,
.woocommerce div.product p.price del .woocommerce-Price-amount,
.price del .woocommerce-Price-amount,
.wc-block-components-product-price del,
.wc-block-components-product-price del .woocommerce-Price-amount,
.wc-block-components-product-price__regular,
.wc-block-cart-items .wc-block-components-product-price,
.wc-block-cart-items .wc-block-formatted-money-amount,
.wc-block-components-order-summary-item .wc-block-components-product-price,
.wc-block-components-order-summary-item .wc-block-formatted-money-amount,
.wc-block-cart-items .wc-block-components-product-metadata,
.woocommerce table.shop_table .woocommerce-Price-amount,
.widget_shopping_cart .woocommerce-Price-amount,
.wc-block-components-validation-error,
.wc-block-components-validation-error p,
.wpcf7-form .wpcf7-not-valid-tip {
  font-family: var(--type-body-s-family);
  font-weight: var(--type-body-s-weight);
  font-size: var(--type-body-s-size);
  line-height: var(--type-body-s-line-height);
  letter-spacing: var(--type-body-s-tracking);
  text-transform: var(--type-body-s-case);
}

/* Body/S Strong: cart item name, variation label */
.wc-block-cart-item__product a.wc-block-components-product-name,
.wc-block-cart-item__product .wc-block-components-product-name,
table.variations th.label label {
  font-family: var(--type-body-s-strong-family);
  font-weight: var(--type-body-s-strong-weight);
  font-size: var(--type-body-s-strong-size);
  line-height: var(--type-body-s-strong-line-height);
  letter-spacing: var(--type-body-s-strong-tracking);
  text-transform: var(--type-body-s-strong-case);
}

/* Card/Title: product card titles */
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product h2,
.wc-block-grid__product-title,
.wc-block-product .wp-block-post-title,
.wp-block-woocommerce-product-template .wp-block-post-title {
  font-family: var(--type-card-title-family);
  font-weight: var(--type-card-title-weight);
  font-size: var(--type-card-title-size);
  line-height: var(--type-card-title-line-height);
  letter-spacing: var(--type-card-title-tracking);
  text-transform: var(--type-card-title-case);
}

/* Field/Value: text typed into a field, and the field's own label */
.woocommerce form .form-row input.input-text,
.woocommerce-verify-email .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce .woocommerce-Input,
.select2-container--default .select2-selection--single .select2-selection__rendered,
.woocommerce .woocommerce-ordering select,
.woocommerce .quantity input.qty,
table.variations select,
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="url"],
.wpcf7-form textarea,
.wpcf7-form select {
  font-family: var(--type-field-value-family);
  font-weight: var(--type-field-value-weight);
  font-size: var(--type-field-value-size);
  line-height: var(--type-field-value-line-height);
  letter-spacing: var(--type-field-value-tracking);
  text-transform: var(--type-field-value-case);
}
.wc-block-components-form .wc-block-components-text-input input:not(.wc-block-checkout__payment-method *),
.wc-block-components-text-input input:not(.wc-block-checkout__payment-method *),
.wc-block-components-textarea textarea:not(.wc-block-checkout__payment-method *),
.wc-block-components-combobox .wc-block-components-combobox-control__input:not(.wc-block-checkout__payment-method *),
.wc-block-components-combobox .components-combobox-control__input:not(.wc-block-checkout__payment-method *),
.wc-blocks-components-select .wc-blocks-components-select__select:not(.wc-block-checkout__payment-method *),
.wc-block-components-address-form select:not(.wc-block-checkout__payment-method *),
.wc-block-components-form select:not(.wc-block-checkout__payment-method *),
.wc-block-components-totals-coupon__input input:not(.wc-block-checkout__payment-method *),
.wc-block-components-text-input label:not(.wc-block-checkout__payment-method *),
.wc-block-components-textarea label:not(.wc-block-checkout__payment-method *),
.wc-block-components-combobox label:not(.wc-block-checkout__payment-method *),
.wc-blocks-components-select label:not(.wc-block-checkout__payment-method *) {
  font-family: var(--type-field-value-family) !important;
  font-weight: var(--type-field-value-weight) !important;
  font-size: var(--type-field-value-size) !important;
  line-height: var(--type-field-value-line-height) !important;
  letter-spacing: var(--type-field-value-tracking) !important;
  text-transform: var(--type-field-value-case) !important;
}

/* Label/M: Contact Form 7 labels, spec-sheet captions and eyebrows */
.wpcf7-form label,
.sd-eye,
.sd-lbl,
.sd-sheet-sub,
.sd-sheet-id,
.sd-sheet-lbl {
  font-family: var(--type-label-m-family);
  font-weight: var(--type-label-m-weight);
  font-size: var(--type-label-m-size);
  line-height: var(--type-label-m-line-height);
  letter-spacing: var(--type-label-m-tracking);
  text-transform: var(--type-label-m-case);
}

/* Label/S: table headers and the small print on the poster */
.sd-sheet-tbl th,
.sd-vals span,
.sd-foot .v {
  font-family: var(--type-label-s-family);
  font-weight: var(--type-label-s-weight);
  font-size: var(--type-label-s-size);
  line-height: var(--type-label-s-line-height);
  letter-spacing: var(--type-label-s-tracking);
  text-transform: var(--type-label-s-case);
}

/* Footer/Legal: mono body text in the build sheet */
.sd-sheet,
.sd-sheet-tbl,
.sd-sheet-checks {
  font-family: var(--type-footer-legal-family);
  font-weight: var(--type-footer-legal-weight);
  font-size: var(--type-footer-legal-size);
  line-height: var(--type-footer-legal-line-height);
  letter-spacing: var(--type-footer-legal-tracking);
}

/* Footer/Link: the mono line at the foot of the poster */
.sd-foot .s {
  font-family: var(--type-footer-link-family);
  font-weight: var(--type-footer-link-weight);
  font-size: var(--type-footer-link-size);
  line-height: var(--type-footer-link-line-height);
  letter-spacing: var(--type-footer-link-tracking);
}

/* Display/L, capped so a single product title never grows to hero size */
.single-product h1.wp-block-post-title,
.single-product .product_title {
  font-family: var(--type-display-l-family);
  font-weight: var(--type-display-l-weight);
  font-size: clamp(var(--type-display-m-size), 4vw, var(--type-display-l-size));
  line-height: var(--type-display-l-line-height);
  letter-spacing: var(--type-display-l-tracking);
  text-transform: var(--type-display-l-case);
}

/* Site/Title L: the build sheet title */
.sd-sheet-title {
  font-family: var(--type-site-title-l-family);
  font-weight: var(--type-site-title-l-weight);
  font-size: var(--type-site-title-l-size);
  line-height: var(--type-site-title-l-line-height);
  letter-spacing: var(--type-site-title-l-tracking);
  text-transform: var(--type-site-title-l-case);
}

/* Display/M and Display/S: poster headings */
.sd-mission {
  font-family: var(--type-display-m-family);
  font-weight: var(--type-display-m-weight);
  font-size: clamp(var(--type-display-s-size), 3.4vw, var(--type-display-m-size));
  line-height: var(--type-display-m-line-height);
  letter-spacing: var(--type-display-m-tracking);
  text-transform: var(--type-display-m-case);
}
.sd-tag {
  font-family: var(--type-display-s-family);
  font-weight: var(--type-display-s-weight);
  font-size: var(--type-display-s-size);
  line-height: var(--type-display-s-line-height);
  letter-spacing: var(--type-display-s-tracking);
  text-transform: var(--type-display-s-case);
}

/* Body/L: poster purpose line */
.sd-purpose {
  font-family: var(--type-body-l-family);
  font-weight: var(--type-body-l-weight);
  font-size: var(--type-body-l-size);
  line-height: var(--type-body-l-line-height);
  letter-spacing: var(--type-body-l-tracking);
  text-transform: var(--type-body-l-case);
}

/* =========================================================================
   Price. Red amount; the struck old amount is dim; cart and table amounts
   are plain bone body text (store-fit 3).
   ========================================================================= */
.woocommerce-Price-amount,
.woocommerce ul.products li.product .price,
.woocommerce div.product p.price,
.woocommerce div.product span.price,
.wc-block-components-product-price,
.wc-block-components-product-price ins {
  color: var(--red);
}
.woocommerce div.product p.price ins,
.woocommerce div.product span.price ins,
.wc-block-components-product-price ins {
  background: transparent;
  text-decoration: none;
}
.woocommerce div.product p.price del,
.woocommerce div.product p.price del .woocommerce-Price-amount,
.price del .woocommerce-Price-amount,
.wc-block-components-product-price del,
.wc-block-components-product-price del .woocommerce-Price-amount,
.wc-block-components-product-price__regular {
  color: var(--dim);
  text-decoration: line-through;
}
.wc-block-cart-items .wc-block-components-product-price,
.wc-block-cart-items .wc-block-formatted-money-amount,
.wc-block-components-order-summary-item .wc-block-components-product-price,
.wc-block-components-order-summary-item .wc-block-formatted-money-amount,
.woocommerce table.shop_table .woocommerce-Price-amount,
.widget_shopping_cart .woocommerce-Price-amount {
  color: var(--bone);
}

/* =========================================================================
   Shop grid. The classic [products] shortcode uses fragile floats, so it
   becomes a CSS grid. The Product Collection block on the shop page is
   not touched by this part.
   ========================================================================= */
.woocommerce ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-20);
  margin: 0 0 var(--space-24) !important;
  padding: 0;
}
@media (max-width: 1000px) { .woocommerce ul.products { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px)  { .woocommerce ul.products { grid-template-columns: 1fr; } }
.woocommerce ul.products::before,
.woocommerce ul.products::after { content: none !important; display: none !important; }
.woocommerce ul.products li.product {
  width: auto !important;
  float: none !important;
  margin: 0 !important;
}

/* =========================================================================
   Product card (store-fit 4): case surface, hairline border, panel image,
   price and button pinned to the bottom so a row of cards lines up.
   ========================================================================= */
.woocommerce ul.products li.product,
.wc-block-grid__product,
.wc-block-product,
.wp-block-woocommerce-product-template li.product {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
  box-sizing: border-box;
  background: var(--case);
  border: var(--stroke-hairline) solid var(--line);
  border-radius: var(--radius-card);
  padding: var(--space-16);
}
.woocommerce ul.products li.product a img,
.wc-block-grid__product-image img,
.wc-block-components-product-image,
.wc-block-components-product-image img {
  background: var(--panel);
  border-radius: var(--radius-control);
}
/* The classic link wraps image, title and price; it grows so the price pins to the bottom. */
.woocommerce ul.products li.product > a {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}
.woocommerce ul.products li.product img,
.wc-block-components-product-image img {
  aspect-ratio: 1 / 1;
  object-fit: contain;
  width: 100%;
  height: auto;
}
.woocommerce ul.products li.product .price {
  margin-top: auto;
  padding-top: var(--space-12);
}
.woocommerce ul.products li.product > p {
  margin-top: var(--space-8);
  margin-bottom: 0;
}
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product a.add_to_cart_button {
  align-self: flex-start;
}
/* Block markup: the price block takes the free space above it, the button sits under it. */
.wc-block-product .wp-block-woocommerce-product-price {
  margin-top: auto;
}
/* Classic sale badge sits top left of the image, 8 on the scale in from both edges. */
.woocommerce ul.products li.product span.onsale {
  top: var(--space-8);
  left: var(--space-8);
  right: auto;
  margin: 0;
}

/* Titles are headings that happen to link: bone, underlined on hover (never red). */
.wp-block-post-title a,
.woocommerce ul.products li.product a.woocommerce-loop-product__link,
.woocommerce ul.products li.product h2,
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.wc-block-grid__product-title,
.wp-block-woocommerce-product-template .wp-block-post-title a,
.woocommerce div.product .product_title {
  color: var(--bone);
}
.wp-block-post-title a:hover,
.woocommerce ul.products li.product a.woocommerce-loop-product__link:hover .woocommerce-loop-product__title {
  color: var(--bone);
  text-decoration: underline;
}

/* =========================================================================
   Buttons (store-fit 1): red-cta fill with a bone label, pressed fill and an
   underlined label on hover, a bone focus ring, half opacity when disabled.
   WooCommerce's link, text and outlined button variants are not primaries.
   ========================================================================= */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.wc-block-components-button:not(.is-link, .link, .text, .outlined),
.wp-block-button__link,
.wp-element-button:not(.wc-block-components-button.is-link, .wc-block-components-button.link, .wc-block-components-button.text, .wc-block-components-button.outlined),
.single_add_to_cart_button,
.wpcf7-form input.wpcf7-submit {
  box-sizing: border-box;
  background: var(--red-cta);
  color: var(--bone);
  border: 0;
  border-radius: var(--radius-control);
  padding: var(--space-12) var(--space-20);
  text-decoration: none;
  cursor: pointer;
}
.wpcf7-form input.wpcf7-submit {
  width: auto;
}
:is(
  .woocommerce a.button,
  .woocommerce button.button,
  .woocommerce input.button,
  .woocommerce a.button.alt,
  .woocommerce button.button.alt,
  .wc-block-components-button:not(.is-link, .link, .text, .outlined),
  .wp-block-button__link,
  .wp-element-button:not(.wc-block-components-button.is-link, .wc-block-components-button.link, .wc-block-components-button.text, .wc-block-components-button.outlined),
  .single_add_to_cart_button,
  .wpcf7-form input.wpcf7-submit
):not(:disabled, .disabled, [aria-disabled="true"]):hover {
  background: var(--red-pressed);
  color: var(--bone);
  text-decoration: underline;
}
:is(
  .woocommerce a.button,
  .woocommerce button.button,
  .woocommerce input.button,
  .woocommerce a.button.alt,
  .woocommerce button.button.alt,
  .wc-block-components-button:not(.is-link, .link, .text, .outlined),
  .wp-block-button__link,
  .wp-element-button:not(.wc-block-components-button.is-link, .wc-block-components-button.link, .wc-block-components-button.text, .wc-block-components-button.outlined),
  .single_add_to_cart_button,
  .wpcf7-form input.wpcf7-submit
):focus-visible {
  outline: var(--stroke-strong) solid var(--bone);
  outline-offset: var(--space-2);
}
:is(
  .woocommerce a.button,
  .woocommerce button.button,
  .woocommerce input.button,
  .woocommerce a.button.alt,
  .woocommerce button.button.alt,
  .wc-block-components-button:not(.is-link, .link, .text, .outlined),
  .wp-block-button__link,
  .wp-element-button:not(.wc-block-components-button.is-link, .wc-block-components-button.link, .wc-block-components-button.text, .wc-block-components-button.outlined),
  .single_add_to_cart_button,
  .wpcf7-form input.wpcf7-submit
):is(:disabled, .disabled, [aria-disabled="true"]) {
  opacity: 0.5;
  cursor: pointer;
}

/* WooCommerce draws its own focus ring on block buttons: only the kit's outline shows */
.wc-block-components-button:not(.is-link):focus {
  box-shadow: none;
}

/* Secondary buttons: bone on transparent with a metal hairline (red = go only) */
.woocommerce a.button.wc-backward,
.woocommerce button.button.wp-element-button.cart-empty,
.wc-block-components-button.outlined,
.wp-block-button.is-style-outline > .wp-block-button__link {
  background: transparent;
  color: var(--bone);
  border: var(--stroke-hairline) solid var(--metal);
}
:is(
  .woocommerce a.button.wc-backward,
  .woocommerce button.button.wp-element-button.cart-empty,
  .wc-block-components-button.outlined,
  .wp-block-button.is-style-outline > .wp-block-button__link
):not(:disabled, .disabled, [aria-disabled="true"]):hover {
  background: transparent;
  color: var(--bone);
}

/* Sale badge (store-fit 2) */
.woocommerce span.onsale,
.wp-block-woocommerce-product-sale-badge .wc-block-components-product-sale-badge {
  background: var(--red-cta);
  color: var(--bone);
  border: 0;
  border-radius: var(--radius-control);
  padding: var(--space-4) var(--space-8);
  min-height: 0;
  min-width: 0;
}

/* =========================================================================
   Notices. A void surface so the red links on it keep AA contrast; the red
   top edge marks them. Woo's own variants set colors with high specificity.
   ========================================================================= */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.wc-block-components-notice-banner {
  background: var(--void);
  border-top: var(--stroke-edge) solid var(--red);
  color: var(--bone);
}
.woocommerce-message a:not(.button),
.woocommerce-info a:not(.button),
.wc-block-components-notice-banner a {
  color: var(--red);
}
.wc-block-components-notice-banner.is-success,
.wc-block-components-notice-banner.is-info,
.wc-block-components-notice-banner.is-error,
.wc-block-components-notice-banner.is-warning {
  background-color: var(--void) !important;
  color: var(--bone) !important;
  border: var(--stroke-hairline) solid var(--line) !important;
  border-top: var(--stroke-edge) solid var(--red) !important;
  border-radius: var(--radius-control);
}
.wc-block-components-notice-banner > svg,
.wc-block-components-notice-banner .wc-block-components-notice-banner__content svg {
  fill: var(--red);
}

/* =========================================================================
   Form fields (store-fit 6): case fill, metal hairline, Field/Value text,
   50 high, a 2 thick bone ring on focus.
   ========================================================================= */

/* Classic fields: account, login, lost password, ordering, quantity, variations, and the
   confirm-your-email step on the order page (it has no .woocommerce wrapper) */
.woocommerce form .form-row input.input-text,
.woocommerce-verify-email .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce .woocommerce-Input,
.select2-container--default .select2-selection--single,
.woocommerce .woocommerce-ordering select,
.woocommerce .quantity input.qty,
.woocommerce div.product form.cart .variations select,
.wc-block-add-to-cart-form .variations select,
table.variations select {
  box-sizing: border-box;
  background-color: var(--case);
  color: var(--bone);
  border: var(--stroke-hairline) solid var(--metal);
  border-radius: var(--radius-control);
  padding: var(--space-12);
}
.woocommerce form .form-row input.input-text,
.woocommerce-verify-email .form-row input.input-text,
.woocommerce form .form-row select,
.woocommerce .woocommerce-Input,
.select2-container--default .select2-selection--single,
.woocommerce .woocommerce-ordering select,
.woocommerce .quantity input.qty,
.woocommerce div.product form.cart .variations select,
.wc-block-add-to-cart-form .variations select,
table.variations select {
  height: var(--size-field-height);
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
  color: var(--bone);
  padding: 0;
  line-height: calc(var(--size-field-height) - var(--stroke-hairline) * 2 - var(--space-24));
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: calc(var(--size-field-height) - var(--stroke-hairline) * 2);
}
.woocommerce form .form-row input.input-text:focus-visible,
.woocommerce-verify-email .form-row input.input-text:focus-visible,
.woocommerce form .form-row textarea:focus-visible,
.woocommerce form .form-row select:focus-visible,
.woocommerce .woocommerce-Input:focus-visible,
.select2-container--default.select2-container--focus .select2-selection--single,
.woocommerce .woocommerce-ordering select:focus-visible,
.woocommerce .quantity input.qty:focus-visible,
table.variations select:focus-visible {
  outline: var(--stroke-strong) solid var(--bone);
  outline-offset: var(--space-2);
}
.woocommerce form .form-row.woocommerce-invalid input.input-text,
.woocommerce form .form-row.woocommerce-invalid select,
.woocommerce form .form-row.woocommerce-invalid textarea {
  border-color: var(--red);
}
table.variations select {
  color-scheme: dark;
}
table.variations select option {
  background-color: var(--case);
  color: var(--bone);
}
table.variations th.label label { color: var(--bone); }
.woocommerce div.product form.cart .reset_variations { color: var(--metal); }

/* Checkbox and radio on classic forms: native control, dark scheme, bone mark */
.woocommerce form .form-row input[type="checkbox"],
.woocommerce form .form-row input[type="radio"],
.woocommerce-form__input-checkbox {
  width: var(--size-check);
  height: var(--size-check);
  accent-color: var(--bone);
  color-scheme: dark;
}

/* Block checkout fields. Woo ships these white with high-specificity styles,
   so the colors, border, size and focus ring need !important to hold.
   The payment-method area is left out of every rule (FR-023). */
.wc-block-components-form .wc-block-components-text-input input:not(.wc-block-checkout__payment-method *),
.wc-block-components-text-input input:not(.wc-block-checkout__payment-method *),
.wc-block-components-textarea textarea:not(.wc-block-checkout__payment-method *),
.wc-block-components-combobox .wc-block-components-combobox-control__input:not(.wc-block-checkout__payment-method *),
.wc-block-components-combobox .components-combobox-control__input:not(.wc-block-checkout__payment-method *),
.wc-blocks-components-select .wc-blocks-components-select__select:not(.wc-block-checkout__payment-method *),
.wc-block-components-address-form select:not(.wc-block-checkout__payment-method *),
.wc-block-components-form select:not(.wc-block-checkout__payment-method *),
.wc-block-components-totals-coupon__input input:not(.wc-block-checkout__payment-method *) {
  box-sizing: border-box !important;
  background-color: var(--case) !important;
  color: var(--bone) !important;
  border: var(--stroke-hairline) solid var(--metal) !important;
  border-radius: var(--radius-control) !important;
}
.wc-block-components-form .wc-block-components-text-input input:not(.wc-block-checkout__payment-method *),
.wc-block-components-text-input input:not(.wc-block-checkout__payment-method *),
.wc-block-components-combobox .wc-block-components-combobox-control__input:not(.wc-block-checkout__payment-method *),
.wc-block-components-combobox .components-combobox-control__input:not(.wc-block-checkout__payment-method *),
.wc-blocks-components-select .wc-blocks-components-select__select:not(.wc-block-checkout__payment-method *),
.wc-block-components-address-form select:not(.wc-block-checkout__payment-method *),
.wc-block-components-form select:not(.wc-block-checkout__payment-method *),
.wc-block-components-totals-coupon__input input:not(.wc-block-checkout__payment-method *) {
  height: var(--size-field-height) !important;
  padding: var(--space-20) var(--space-12) var(--space-4) !important;
}
.wc-block-components-form .wc-block-components-text-input input:focus:not(.wc-block-checkout__payment-method *),
.wc-block-components-text-input input:focus:not(.wc-block-checkout__payment-method *),
.wc-block-components-combobox .wc-block-components-combobox-control__input:focus:not(.wc-block-checkout__payment-method *),
.wc-block-components-combobox .components-combobox-control__input:focus:not(.wc-block-checkout__payment-method *),
.wc-blocks-components-select .wc-blocks-components-select__select:focus:not(.wc-block-checkout__payment-method *),
.wc-block-components-address-form select:focus:not(.wc-block-checkout__payment-method *),
.wc-block-components-form select:focus:not(.wc-block-checkout__payment-method *),
.wc-block-components-totals-coupon__input input:focus:not(.wc-block-checkout__payment-method *),
.wc-block-components-textarea textarea:focus:not(.wc-block-checkout__payment-method *) {
  outline: var(--stroke-strong) solid var(--bone) !important;
  outline-offset: var(--space-2) !important;
  box-shadow: none !important;
}
/* Error: signal-red border here, a bone message and a signal-red icon below */
.wc-block-components-text-input.has-error input:not(.wc-block-checkout__payment-method *),
.wc-block-components-textarea.has-error textarea:not(.wc-block-checkout__payment-method *),
.wc-blocks-components-select.has-error .wc-blocks-components-select__select:not(.wc-block-checkout__payment-method *),
.wc-block-components-combobox.has-error input:not(.wc-block-checkout__payment-method *) {
  border-color: var(--red) !important;
}
.wc-block-components-validation-error:not(.wc-block-checkout__payment-method *),
.wc-block-components-validation-error p:not(.wc-block-checkout__payment-method *) {
  color: var(--bone) !important;
}
.wc-block-components-validation-error svg:not(.wc-block-checkout__payment-method *) {
  fill: var(--red);
}
/* Floating labels and static labels: dim, readable on the case fill */
.wc-block-components-text-input label:not(.wc-block-checkout__payment-method *),
.wc-block-components-textarea label:not(.wc-block-checkout__payment-method *),
.wc-block-components-combobox label:not(.wc-block-checkout__payment-method *),
.wc-blocks-components-select label:not(.wc-block-checkout__payment-method *),
.wc-block-components-checkbox__label:not(.wc-block-checkout__payment-method *),
.wc-block-components-form label:not(.wc-block-checkout__payment-method *) {
  color: var(--dim) !important;
}
.wc-block-components-form input:not(.wc-block-checkout__payment-method *)::placeholder,
.wc-block-components-form textarea:not(.wc-block-checkout__payment-method *)::placeholder {
  color: var(--dim);
  opacity: 1;
}
/* A select's label does not shrink the way a text field's floating label does, so at Field/Value
   size it ran into the chosen value. Label/M size, set a little higher, clears it. */
.wc-blocks-components-select label:not(.wc-block-checkout__payment-method *) {
  font-size: var(--type-label-m-size) !important;
  top: var(--space-2) !important;
}
/* Select chevrons are dark by default: keep them visible on dark fields */
.wc-blocks-components-select .wc-blocks-components-select__expand:not(.wc-block-checkout__payment-method *),
.wc-block-components-combobox svg:not(.wc-block-checkout__payment-method *) {
  fill: var(--bone);
}
/* Block checkbox outside the payment method area: a 20 box, case fill, metal border, bone mark */
.wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"]:not(.wc-block-checkout__payment-method *) {
  width: var(--size-check);
  height: var(--size-check);
  background: var(--case);
  border: var(--stroke-hairline) solid var(--metal);
  border-radius: var(--radius-control);
}
.wc-block-components-checkbox .wc-block-components-checkbox__mark:not(.wc-block-checkout__payment-method *) {
  fill: var(--bone);
}
.wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"]:focus-visible:not(.wc-block-checkout__payment-method *) {
  outline: var(--stroke-strong) solid var(--bone);
  outline-offset: var(--space-2);
}
/* Block radio outside the payment method area: same box, round, bone dot */
.wc-block-components-radio-control .wc-block-components-radio-control__input:not(.wc-block-checkout__payment-method *) {
  width: var(--size-check);
  height: var(--size-check);
  background: var(--case);
  color: var(--bone);
  border: var(--stroke-hairline) solid var(--metal);
  border-radius: var(--radius-full);
}
.wc-block-components-radio-control .wc-block-components-radio-control__input:not(.wc-block-checkout__payment-method *)::before {
  background: var(--bone);
}
.wc-block-components-radio-control .wc-block-components-radio-control__input:not(.wc-block-checkout__payment-method *):focus-visible {
  outline: var(--stroke-strong) solid var(--bone);
  outline-offset: var(--space-2);
}

/* Order summary: the item count on the thumbnail is a dark number on a bone circle, like the
   header's cart count. Its text took the page's bone and vanished into the circle. */
.wc-block-components-order-summary-item__quantity {
  background: var(--bone) !important;
  border-color: var(--bone) !important;
  color: var(--void) !important;
}
/* The number itself is a span that kept WooCommerce's white: 1.24 against the bone circle. */
.wc-block-components-order-summary-item__quantity span {
  color: var(--void) !important;
}
/* Required-field asterisk: WooCommerce's dark red is 2.54 against the page. It takes the color
   of the label it sits in. */
.woocommerce form .form-row label .required,
.woocommerce-verify-email .form-row label .required {
  color: inherit;
}
/* Confirm-your-email step: the button wraps on a phone, it does not run past the margin */
.woocommerce-verify-email input[type="submit"] {
  max-width: 100%;
  white-space: normal;
}
/* Block quantity selector: metal hairline, control radius */
.wc-block-components-quantity-selector {
  background: transparent;
  color: var(--bone);
}
.wc-block-components-quantity-selector::after {
  border-color: var(--metal);
  border-radius: var(--radius-control);
  opacity: 1;
}
.wc-block-components-quantity-selector .wc-block-components-quantity-selector__input {
  font-family: var(--type-body-s-family);
  font-size: var(--type-body-s-size);
  color: var(--bone);
}

/* =========================================================================
   Cart and tables
   ========================================================================= */
.woocommerce table.shop_table,
.wc-block-cart-items {
  background: var(--case);
  border: var(--stroke-hairline) solid var(--line);
}
.woocommerce table.shop_table th { color: var(--bone); }
/* Red is 4.27:1 on the case fill, so links in a table are bone and underlined */
.woocommerce table.shop_table a:not(.button, .wp-element-button),
.woocommerce a.added_to_cart {
  color: var(--bone);
  text-decoration: underline;
}
.woocommerce table.shop_table td,
.woocommerce table.shop_table tr { border-color: var(--line); }

.wc-block-cart-item__product a.wc-block-components-product-name,
.wc-block-cart-item__product .wc-block-components-product-name {
  color: var(--bone);
}
.wc-block-cart-item__image img {
  width: var(--size-cart-image);
  max-width: 100%;
  height: auto;
}
@media (max-width: 600px) {
  .wc-block-cart-item__image img { width: var(--size-cart-image-phone); }
}

/* Checkout: Ship/Pickup delivery toggle. Restyled only; it behaves as WooCommerce ships it. */
.wc-block-checkout__shipping-method-option {
  background: var(--case);
  color: var(--bone);
  border: var(--stroke-hairline) solid var(--line);
}
.wc-block-checkout__shipping-method-option--selected {
  background: var(--panel) !important;
  color: var(--bone) !important;
  border-color: var(--red) !important;
}
.wc-block-checkout__shipping-method-option--selected .wc-block-checkout__shipping-method-option-title,
.wc-block-checkout__shipping-method-option--selected .wc-block-checkout__shipping-method-option-price,
.wc-block-checkout__shipping-method-option-title,
.wc-block-checkout__shipping-method-option-price {
  color: var(--bone) !important;
}

/* =========================================================================
   Single product and shop furniture
   ========================================================================= */

/* Spec-sheet meta, result count and breadcrumb: dim body text (never faint) */
.woocommerce div.product .product_meta,
.woocommerce .sku_wrapper,
.woocommerce-product-attributes,
.wc-block-components-product-details,
.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-breadcrumb {
  color: var(--dim);
}
.woocommerce .woocommerce-breadcrumb a { color: var(--red); }
.woocommerce .woocommerce-breadcrumb a:hover { color: var(--bone); text-decoration: underline; }

/* Star ratings in metal, not gold */
.woocommerce .star-rating span::before,
.woocommerce p.stars a::before { color: var(--metal); }

/* =========================================================================
   Page content components
   ========================================================================= */

/* Custom Builds page: build-type grid (the block grid layout did not stick in page content) */
.sd-build-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(calc(var(--space-64) * 4.25), 1fr));
  gap: var(--space-16);
}

/* Classic [gallery] shortcode as a responsive grid (block themes drop the old gallery CSS) */
.gallery {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
  margin: var(--space-24) auto !important;
}
.gallery br { display: none; }
.gallery-item {
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  border: var(--stroke-hairline) solid var(--line);
  border-radius: var(--radius-card);
  display: block;
}
@media (max-width: 640px) { .gallery { grid-template-columns: repeat(2, 1fr); } }

/* Homepage shop-strip category chips: metal, bone and underlined on hover */
.sd-cat-chip { color: var(--bone); text-decoration: none; }
.sd-cat-chip:hover { color: var(--bone); text-decoration: underline; }

/* =========================================================================
   Contact Form 7
   ========================================================================= */
.wpcf7-form label {
  display: block;
  color: var(--dim);
  margin-bottom: var(--space-16);
}
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="url"],
.wpcf7-form textarea,
.wpcf7-form select {
  display: block;
  box-sizing: border-box;
  width: 100%;
  margin-top: var(--space-4);
  background: var(--case);
  color: var(--bone);
  border: var(--stroke-hairline) solid var(--metal);
  border-radius: var(--radius-control);
  padding: var(--space-12);
}
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="url"],
.wpcf7-form select {
  height: var(--size-field-height);
}
.wpcf7-form input:focus-visible,
.wpcf7-form textarea:focus-visible,
.wpcf7-form select:focus-visible {
  outline: var(--stroke-strong) solid var(--bone);
  outline-offset: var(--space-2);
}
.wpcf7-form textarea { min-height: calc(var(--space-64) * 2); resize: vertical; }
.wpcf7-form .wpcf7-not-valid { border-color: var(--red); }
.wpcf7-form .wpcf7-not-valid-tip { color: var(--bone); font-family: inherit; }
.wpcf7 form .wpcf7-response-output {
  border-color: var(--line);
  color: var(--bone);
  background: var(--case);
  border-radius: var(--radius-control);
}

/* =========================================================================
   About page poster (the SD-ABOUT-POSTER block). Kit neutrals only; faint is
   never used for text. The poster sits on void so red text keeps AA contrast.
   ========================================================================= */
.sd-about {
  margin: 0 auto;
  max-width: calc(var(--space-64) * 13);
}
.sd-about * { box-sizing: border-box; }
.sd-poster {
  background: var(--void);
  border: var(--stroke-hairline) solid var(--line);
  position: relative;
  padding: clamp(var(--space-32), 5vw, var(--space-64)) clamp(var(--space-24), 5vw, var(--space-48)) clamp(var(--space-24), 4vw, var(--space-40));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(var(--space-24), 3.2vw, var(--space-32));
  text-align: center;
}
.sd-poster::before {
  content: "";
  position: absolute;
  inset: var(--space-8);
  border: var(--stroke-hairline) solid color-mix(in srgb, var(--red) 16%, transparent);
  pointer-events: none;
}
.sd-top { display: flex; flex-direction: column; align-items: center; gap: var(--space-12); }
.sd-tick { width: var(--space-48); height: var(--stroke-edge); background: var(--red); }
.sd-eye { color: var(--dim); margin: 0; }
.sd-logo {
  width: 18vw;
  min-width: calc(var(--space-64) + var(--space-48));
  max-width: calc(var(--space-64) * 2 + var(--space-24));
  height: auto;
  display: block;
}
.sd-blk { display: flex; flex-direction: column; align-items: center; gap: var(--space-12); width: 100%; }
.sd-lbl { color: var(--red); margin: 0; }
.sd-mission { color: var(--bone); margin: 0; max-width: 24ch; }
.sd-mission em { font-style: normal; color: var(--red); }
.sd-purpose { color: var(--dim); margin: 0; max-width: 46ch; }
.sd-purpose em { font-style: normal; color: var(--bone); font-weight: var(--type-body-m-strong-weight); }
.sd-hr { width: var(--space-64); height: var(--stroke-hairline); background: var(--line); }
.sd-vals { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-8) var(--space-12); max-width: 44ch; }
.sd-vals span { color: var(--dim); display: flex; align-items: center; gap: var(--space-12); }
.sd-vals span::after { content: "·"; color: var(--red); }
.sd-vals span:last-child::after { content: ""; }
.sd-tag { color: var(--bone); margin: 0; }
.sd-tag span { color: var(--red); }
.sd-foot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-8);
  border-top: var(--stroke-hairline) solid var(--line);
  width: 100%;
  padding-top: var(--space-20);
  margin-top: var(--space-4);
}
.sd-foot .s { color: var(--bone); }
.sd-foot .s b { color: var(--red); }
.sd-foot .v { color: var(--dim); }

/* =========================================================================
   Build sheet: the homepage "Every build, documented" sample sheet
   ========================================================================= */
.sd-sheet {
  background: var(--void);
  border: var(--stroke-hairline) solid var(--line);
  border-radius: var(--radius-card);
  padding: clamp(var(--space-20), 3vw, var(--space-32));
  position: relative;
}
.sd-sheet::before {
  content: "";
  position: absolute;
  inset: var(--space-8);
  border: var(--stroke-hairline) solid color-mix(in srgb, var(--red) 14%, transparent);
  border-radius: var(--radius-control);
  pointer-events: none;
}
.sd-sheet-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-16);
  flex-wrap: wrap;
  border-bottom: var(--stroke-hairline) solid var(--line);
  padding-bottom: var(--space-16);
  margin-bottom: var(--space-16);
}
.sd-sheet-title { margin: 0; color: var(--bone); }
.sd-sheet-sub { margin: var(--space-4) 0 0; color: var(--dim); }
.sd-sheet-id { margin: 0; color: var(--red); }
.sd-sheet-body {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: var(--space-24);
}
@media (max-width: 760px) { .sd-sheet-body { grid-template-columns: 1fr; } }
.sd-sheet-lbl { margin: 0 0 var(--space-8); color: var(--red); }
.sd-sheet-lbl.sd-mt { margin-top: var(--space-20); }
.sd-sheet-tbl {
  width: 100%;
  border-collapse: collapse;
}
.sd-sheet-tbl th {
  text-align: left;
  color: var(--dim);
  border-bottom: var(--stroke-hairline) solid var(--line);
  padding: var(--space-4) var(--space-8) var(--space-4) 0;
}
.sd-sheet-tbl td {
  color: var(--bone);
  border-bottom: var(--stroke-hairline) solid color-mix(in srgb, var(--line) 60%, transparent);
  padding: var(--space-8) var(--space-8) var(--space-8) 0;
}
.sd-sheet-tbl td:first-child { color: var(--dim); white-space: nowrap; }
.sd-sheet-tbl td:last-child { white-space: nowrap; }
.sd-sheet-tbl tfoot td { border-bottom: 0; color: var(--dim); }
.sd-sheet-tbl tfoot td:last-child { color: var(--bone); }
.sd-sheet-checks {
  list-style: none;
  margin: 0;
  padding: 0;
  color: var(--bone);
}
.sd-sheet-checks li {
  padding: var(--space-4) 0 var(--space-4) var(--space-20);
  position: relative;
  border-bottom: var(--stroke-hairline) solid color-mix(in srgb, var(--line) 60%, transparent);
}
.sd-sheet-checks li:last-child { border-bottom: 0; }
.sd-sheet-checks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--red);
}

/* ---- Site footer (store-fit 8): the legal line's links stay dim; hover is bone, underlined ---- */
footer.wp-block-group .sd-type-footer-legal a {
  color: var(--dim);
}
footer.wp-block-group .sd-type-footer-legal a:hover {
  color: var(--bone);
  text-decoration: underline;
}

/* =========================================================================
   Site header (store-fit 7). WooCommerce inserts its Login (customer account)
   and cart (mini-cart) blocks after the navigation, so the theme can only
   restyle them: 40 px buttons (35 px on a phone) with 24 px icons, the login
   icon red, the cart icon bone, and a 20 px bone count badge.
   ========================================================================= */
header.wp-block-group .wp-block-woocommerce-customer-account a,
header.wp-block-group .wc-block-mini-cart__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: var(--size-icon-button);
  min-height: var(--size-icon-button);
  padding: 0;
  border: 0;
  border-radius: var(--radius-control);
  background: transparent;
}
header.wp-block-group .wp-block-woocommerce-customer-account a { color: var(--red); }
header.wp-block-group .wc-block-mini-cart__button { color: var(--bone); }
header.wp-block-group .wp-block-woocommerce-customer-account a:hover,
header.wp-block-group .wc-block-mini-cart__button:hover {
  opacity: 1;
  text-decoration: underline;
}
header.wp-block-group .wp-block-woocommerce-customer-account a:focus-visible,
header.wp-block-group .wc-block-mini-cart__button:focus-visible,
header.wp-block-group .wp-block-navigation__responsive-container-open:focus-visible,
header.wp-block-group .wp-block-navigation__responsive-container-close:focus-visible {
  outline: var(--stroke-strong) solid var(--bone);
  outline-offset: var(--space-2);
}
header.wp-block-group .wp-block-woocommerce-customer-account svg,
header.wp-block-group .wc-block-mini-cart__icon,
header.wp-block-group .wp-block-navigation__responsive-container-open svg,
header.wp-block-group .wp-block-navigation__responsive-container-close svg {
  width: var(--size-icon-nav);
  height: var(--size-icon-nav);
}
header.wp-block-group .wc-block-mini-cart__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: var(--size-badge);
  height: var(--size-badge);
  padding: 0 var(--space-4);
  border-radius: var(--radius-full);
  /* WooCommerce writes the badge colors inline, so these two need !important to hold */
  background: var(--bone) !important;
  color: var(--void) !important;
  font-family: var(--type-body-s-family);
  font-weight: var(--type-body-s-weight);
  font-size: var(--type-body-s-size);
  line-height: var(--type-body-s-line-height);
  letter-spacing: var(--type-body-s-tracking);
  text-transform: var(--type-body-s-case);
}
header.wp-block-group .wc-block-mini-cart__badge[hidden],
header.wp-block-group .wc-block-mini-cart__badge:empty {
  display: none;
}
@media (max-width: 600px) {
  header.wp-block-group .wp-block-woocommerce-customer-account a,
  header.wp-block-group .wc-block-mini-cart__button {
    min-width: var(--size-icon-button-phone);
    min-height: var(--size-icon-button-phone);
  }
}

/* ---- Phone menu (store-fit 7, the kit's own design): the core Navigation block owns the
   overlay, so this restyles its list. Case fill, 24 px padding, a Label/S "Menu" heading on the
   top line beside the close button, then each link as a full-width Display/M row with a hairline
   under it (and over the first) and a dim arrow at the right. ---- */
header.wp-block-group .wp-block-navigation__responsive-container.is-menu-open {
  padding: var(--space-24);
  background-color: var(--case);
  color: var(--bone);
}
header.wp-block-group .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-dialog::before {
  content: "Menu";
  display: block;
  color: var(--dim);
  font-family: var(--type-label-s-family);
  font-weight: var(--type-label-s-weight);
  font-size: var(--type-label-s-size);
  line-height: var(--size-icon-nav);
  letter-spacing: var(--type-label-s-tracking);
  text-transform: var(--type-label-s-case);
}
header.wp-block-group .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
  padding-top: var(--space-24);
  align-items: stretch;
}
header.wp-block-group .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__container {
  width: 100%;
  gap: 0;
  align-items: stretch;
}
header.wp-block-group .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation-item {
  width: 100%;
  border-bottom: var(--stroke-hairline) solid var(--line);
}
header.wp-block-group .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation-item:first-child {
  border-top: var(--stroke-hairline) solid var(--line);
}
header.wp-block-group .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation-item__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: var(--space-20) 0;
  color: var(--bone);
  font-family: var(--type-display-m-family);
  font-weight: var(--type-display-m-weight);
  font-size: var(--type-display-m-size);
  line-height: var(--type-display-m-line-height);
  letter-spacing: var(--type-display-m-tracking);
  text-transform: var(--type-display-m-case);
}
header.wp-block-group .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation-item__content::after {
  content: "\2192";
  color: var(--dim);
  font-family: var(--type-footer-link-family);
  font-weight: var(--type-footer-link-weight);
  font-size: var(--type-footer-link-size);
  line-height: var(--type-footer-link-line-height);
}

/* =========================================================================
   Mini-cart drawer. WooCommerce draws the drawer with the page's own fill and
   no edge, so on the Void page it could not be told from the page behind it.
   This gives it the Panel fill, a hairline and a shadow on its left edge, and
   a darker overlay over the page. The contents block carries an inline fill,
   hence !important. Each line shows one price, the line total at the right;
   the unit price under the title is hidden. Side padding is 24 px so the
   totals and the Checkout button sit clear of the edge at every width.
   ========================================================================= */
.wc-block-components-drawer__screen-overlay {
  background-color: color-mix(in srgb, var(--void) 78%, transparent);
}
.wc-block-components-drawer.wc-block-mini-cart__drawer {
  box-sizing: border-box;
  max-width: 100%;
  background-color: var(--panel);
  border-left: var(--stroke-hairline) solid var(--metal);
  box-shadow: calc(var(--space-24) * -1) 0 var(--space-48) var(--void);
  color: var(--bone);
}
.wc-block-mini-cart__drawer .wp-block-woocommerce-mini-cart-contents,
.wc-block-mini-cart__drawer .wp-block-woocommerce-filled-mini-cart-contents-block,
.wc-block-mini-cart__drawer .wp-block-woocommerce-empty-mini-cart-contents-block,
.wc-block-mini-cart__drawer .wc-block-mini-cart__title {
  background-color: var(--panel) !important;
}
.wc-block-mini-cart__drawer .wc-block-mini-cart__title {
  margin-left: var(--space-24);
  margin-right: var(--space-24);
}
.wc-block-mini-cart__drawer .wc-block-mini-cart__items,
.wc-block-mini-cart__drawer .wc-block-mini-cart__footer {
  padding-left: var(--space-24);
  padding-right: var(--space-24);
}
.wc-block-mini-cart__drawer .wc-block-mini-cart__footer {
  border-top: var(--stroke-hairline) solid var(--line);
}
.wc-block-mini-cart__drawer .wc-block-components-drawer__close {
  right: var(--space-24);
}
.wc-block-mini-cart__drawer .wc-block-cart-item__prices {
  display: none !important;
}
.wc-block-mini-cart__drawer .wc-block-cart-item__total {
  white-space: nowrap;
}
