/* WooCommerce's native markup, styled with the shared light foundation. */
.hps-catalog-tools { display: grid; gap: 24px; margin-block: 24px 32px; }
.hps-category-nav,.hps-account-nav ul { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; list-style: none; }
.hps-category-nav .hps-link,.hps-account-nav .hps-link { border: 1px solid var(--hps-color-border-subtle); white-space: normal; }
.hps-category-nav [aria-current],.hps-account-nav [aria-current] { background: var(--hps-color-bg-inverse); color: var(--hps-color-text-inverse); }
.hps-system .woocommerce-product-search { display: flex; gap: 8px; max-width: var(--hps-content-narrow); }
.hps-system :where(.woocommerce-product-search input[type=search],.woocommerce-ordering select,.hps-shop-widget select) { min-width: 0; min-height: 48px; padding: 12px 16px; border: 1px solid var(--hps-color-border-control); border-radius: 0; background: var(--paper); color: var(--ink); font: inherit; }
.hps-system .woocommerce-product-search input[type=search] { flex: 1; width: 100%; }
.hps-system .woocommerce-product-search button { border: 1px solid var(--hps-color-action-default); border-radius: 0; background: var(--hps-color-action-default); color: var(--hps-color-text-inverse); padding: 12px 16px; text-transform: uppercase; font-weight: var(--hps-font-weight-bold); }
.hps-system .woocommerce-product-search button:hover { background: var(--hps-color-action-hover); }
.shop-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.shop-toolbar .woocommerce-notices-wrapper { width: 100%; }
.shop-toolbar .woocommerce-notices-wrapper:empty { display: none; }
.hps-system .woocommerce-ordering { float: none; margin: 0; max-width: 100%; }
.hps-system .woocommerce-ordering select { width: 100%; }
.hps-catalog-filters { border-block: 1px solid var(--hps-color-border-subtle); }
.hps-catalog-filters summary { cursor: pointer; }
.hps-filter-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,220px),1fr)); gap: 24px; padding-block: 24px; }
.hps-shop-widget { min-width: 0; }
.hps-shop-widget h2 { margin-bottom: 16px; font-size: var(--hps-type-label-size); }
.hps-shop-widget ul { padding-left: 20px; }
.hps-shop-widget select { width: 100%; }
.hps-system .widget_price_filter .ui-slider .ui-slider-range,.hps-system .widget_price_filter .ui-slider .ui-slider-handle { background: var(--ink); }
.hps-system .widget_price_filter .price_slider_wrapper .ui-widget-content { background: var(--hps-color-border-subtle); }
.hps-system .widget_layered_nav_filters ul li a::before { color: var(--hps-color-status-error); }
.woocommerce ul.products li.product-category > a { display: flex; flex-direction: column; gap: 16px; text-decoration: none; }
.woocommerce ul.products li.product-category img { aspect-ratio: 1; object-fit: contain; background: var(--hps-color-bg-media); margin: 0; }
.woocommerce ul.products li.product-category .woocommerce-loop-category__title { padding: 0; font-size: var(--hps-type-product-title-size); }
.woocommerce ul.products li.product-category .count { color: var(--hps-color-text-secondary); background: transparent; }
.woocommerce ul.products li.product .button { display: inline-flex; align-items: center; justify-content: center; margin-top: 16px; }
.woocommerce ul.products li.product .added_to_cart { display: inline-flex; padding: 12px; }
.hps-system .woocommerce nav.woocommerce-pagination,.hps-system.woocommerce nav.woocommerce-pagination { margin-top: 48px; }
.hps-system .woocommerce nav.woocommerce-pagination ul,.hps-system.woocommerce nav.woocommerce-pagination ul { border: 0; display: inline-flex; flex-wrap: wrap; gap: 8px; }
.hps-system .woocommerce nav.woocommerce-pagination ul li,.hps-system.woocommerce nav.woocommerce-pagination ul li { border: 0; }
.hps-system :where(.woocommerce-pagination) .page-numbers :where(a,span) { display: grid; place-items: center; min-width: 44px; min-height: 44px; border: 1px solid var(--hps-color-border-control); background: var(--paper); color: var(--ink); }
.hps-system :where(.woocommerce-pagination) .page-numbers :where(.current,a:hover,a:focus) { background: var(--hps-color-bg-inverse); color: var(--hps-color-text-inverse); }
/* Variants use the native select values, price, stock and image updates. */
.woocommerce div.product form.cart .variations th { display: block; padding: 0; }
.woocommerce div.product form.cart .variations .value { min-width: 0; }
.hps-variation-control .hps-size > span { overflow-wrap: anywhere; }
.woocommerce .woocommerce-variation-description,.woocommerce .woocommerce-variation-availability { margin-bottom: 16px; }
.woocommerce div.product .product_meta { display: flex; flex-direction: column; gap: 8px; font-size: var(--hps-type-caption-size); color: var(--hps-color-text-secondary); }
.woocommerce div.product form.cart .group_table { width: 100%; border-collapse: collapse; }
.woocommerce div.product form.cart .group_table td { padding: 16px 8px; border-bottom: 1px solid var(--hps-color-border-subtle); vertical-align: middle; }
.woocommerce div.product form.cart .group_table td:first-child { padding-left: 0; }
.woocommerce div.product form.cart .group_table .woocommerce-grouped-product-list-item__label { overflow-wrap: anywhere; }
.woocommerce div.product form.cart .group_table .stock { margin-top: 8px; }
.hps-product-sections { width: 100%; max-width: var(--hps-layout-reading-max); margin: var(--hps-section-padding) auto 0; display: grid; gap: 32px; }
.hps-product-section { max-width: var(--hps-layout-reading-max); min-width: 0; overflow-wrap: anywhere; }
.hps-product-section > h2,.woocommerce #reviews #comments > h2 { margin-bottom: 16px; }
.hps-product-section > :last-child { margin-bottom: 0; }
.summary .hps-product-sections { max-width: none; margin: 8px 0 0; gap: 20px; padding-top: 24px; border-top: 1px solid var(--hps-color-border-subtle); }
.summary .hps-product-section { font-size: var(--hps-type-label-size); line-height: var(--hps-type-label-line); }
.summary .hps-product-section > h2 { font-size: var(--hps-type-heading-size); line-height: var(--hps-type-heading-line); margin-bottom: 10px; }
.summary .woocommerce-product-attributes { font-size: var(--hps-type-label-size); margin: 0; }
.hps-product-story { max-width: 960px; margin: var(--hps-section-padding) auto; }
.hps-product-story > h2 { margin-bottom: 24px; }
.hps-product-story__intro { max-width: var(--hps-layout-reading-max); line-height: 1.75; }
.hps-product-story__entries { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,280px),1fr)); gap: 32px; margin-top: 32px; }
.hps-product-story__entries h3 { font-size: var(--hps-type-heading-size); margin-bottom: 12px; }
.hps-product-story__entries p { font-size: var(--hps-type-caption-size); line-height: var(--hps-type-caption-line); }
.woocommerce :where(.related,.upsells,.cross-sells) { margin-top: 48px; }
.hps-system .woocommerce :is(.related,.upsells,.cross-sells) > h2,.hps-system.woocommerce :is(.related,.upsells,.cross-sells) > h2 { font-size: var(--hps-type-heading-size); line-height: var(--hps-type-heading-line); margin-bottom: 24px; }
.woocommerce .cart-collaterals .cross-sells { float: none; width: 100%; }
.woocommerce .star-rating,.woocommerce p.stars a { color: var(--ink); }
.woocommerce .star-rating::before { color: var(--hps-color-text-secondary); }
.woocommerce #reviews #comments ol.commentlist { padding: 0; }
.woocommerce #reviews #comments ol.commentlist li .comment-text { border: 1px solid var(--hps-color-border-subtle); border-radius: 0; background: var(--hps-color-bg-subtle); padding: 24px; }
.woocommerce #reviews #comments ol.commentlist li img.avatar { border-color: var(--hps-color-border-subtle); background: var(--paper); }
.woocommerce #reviews #comments ol.commentlist li .meta { color: var(--hps-color-text-secondary); }
.woocommerce #review_form #respond :where(input:not([type=checkbox],[type=submit]),textarea) { width: 100%; min-height: 48px; padding: 12px 16px; background: var(--paper); color: var(--ink); border: 1px solid var(--hps-color-border-control); border-radius: 0; }
.woocommerce #review_form #respond label { display: block; margin-bottom: 8px; }
.woocommerce #review_form #respond .comment-form-cookies-consent label { display: inline; }
.woocommerce #review_form #respond textarea { min-height: 144px; }
.hps-system .woocommerce #respond input#submit,.hps-system.woocommerce #respond input#submit { background: var(--hps-color-action-default); color: var(--hps-color-text-inverse); border-radius: 0; padding: 16px; min-height: 48px; text-transform: uppercase; }
/* Account endpoints, receipts, payment forms and tracking retain core templates. */
.hps-system .woocommerce .hps-account-nav { float: none; width: 100%; margin-bottom: 32px; }
.hps-system .woocommerce .woocommerce-MyAccount-content { float: none; width: 100%; min-width: 0; }
.woocommerce-MyAccount-content > :where(p,h2,h3),.woocommerce-EditAccountForm fieldset { margin-bottom: 24px; }
.woocommerce-EditAccountForm fieldset { padding: 24px; border: 1px solid var(--hps-color-border-subtle); }
.woocommerce-EditAccountForm legend { padding-inline: 8px; font-weight: var(--hps-font-weight-bold); text-transform: uppercase; }
.woocommerce :where(.woocommerce-Addresses,.woocommerce-customer-details) .col-1,.woocommerce :where(.woocommerce-Addresses,.woocommerce-customer-details) .col-2 { padding: 24px; border: 1px solid var(--hps-color-border-subtle); background: var(--hps-color-bg-subtle); }
.woocommerce table.woocommerce-table--order-downloads,.woocommerce table.woocommerce-MyAccount-paymentMethods { overflow-wrap: anywhere; }
.woocommerce .woocommerce-MyAccount-paymentMethods .button { margin: 4px; }
.woocommerce ul.order_details { display: flex; flex-wrap: wrap; gap: 24px; padding: 0; }
.woocommerce ul.order_details li { float: none; border-color: var(--hps-color-border-subtle); margin: 0; padding-right: 24px; }
.woocommerce .woocommerce-order-downloads > h2,.woocommerce .woocommerce-order-details > h2 { margin-bottom: 24px; }
.woocommerce .order-again { margin-block: 24px; }
.woocommerce .woocommerce-customer-details :where(.woocommerce-customer-details--phone,.woocommerce-customer-details--email) { overflow-wrap: anywhere; }
.woocommerce :where(form.track_order,form.woocommerce-ResetPassword) { max-width: var(--hps-content-narrow); }
.woocommerce form.track_order > p { margin-bottom: 24px; }
.woocommerce .woocommerce-form-coupon-toggle { margin-bottom: 24px; }
.woocommerce form.checkout_coupon { border-color: var(--hps-color-border-subtle); border-radius: 0; }
.woocommerce .woocommerce-terms-and-conditions { background: var(--hps-color-bg-subtle); border-color: var(--hps-color-border-subtle); }
.hps-system :where(input[type=checkbox],input[type=radio]) { accent-color: var(--ink); }
.hps-system #add_payment_method #payment,.hps-system #order_review #payment { background: var(--hps-color-bg-subtle); border-radius: 0; }
.hps-system #add_payment_method #payment div.payment_box { background: var(--paper); color: var(--ink); }
.hps-system .woocommerce .button.alt,.hps-system.woocommerce .button.alt { background: var(--hps-color-action-default); color: var(--hps-color-text-inverse); }
.hps-system .woocommerce .button.alt:hover,.hps-system.woocommerce .button.alt:hover { background: var(--hps-color-action-hover); }
.hps-system .woocommerce .button.alt:disabled,.hps-system.woocommerce .button.alt:disabled { background: var(--hps-color-bg-subtle); color: var(--hps-color-text-disabled); }
.hps-system .woocommerce-store-notice { background: var(--hps-color-bg-inverse); color: var(--hps-color-text-inverse); box-shadow: none; }
.hps-system .select2-dropdown { border-radius: 0; }
.hps-system .select2-container--default .select2-results__option[aria-selected=true] { background: var(--hps-color-bg-subtle); color: var(--ink); }
.hps-system .select2-container--default .select2-results__option--highlighted[aria-selected] { background: var(--hps-color-bg-inverse); color: var(--hps-color-text-inverse); }
@media (max-width: 767px) {
    .shop-toolbar > *,.woocommerce .woocommerce-ordering { width: 100%; }
    .woocommerce .cart-collaterals .cross-sells ul.products { grid-template-columns: minmax(0,1fr); }
    .woocommerce .cart_totals table.shop_table_responsive tr.shipping,.woocommerce .cart_totals table.shop_table_responsive tr.woocommerce-shipping-totals { flex-direction: column; }
    .woocommerce .cart_totals table.shop_table_responsive tr.shipping td,.woocommerce .cart_totals table.shop_table_responsive tr.woocommerce-shipping-totals td { text-align: start !important; }
    .woocommerce table.shop_table_responsive:not(.cart) tr td::before { display: block; float: none; text-align: start; margin-bottom: 8px; }
    .woocommerce .cart_totals table.shop_table_responsive tr td::before { display: none; }
    .woocommerce :where(.woocommerce-Addresses,.woocommerce-customer-details) .col-1,.woocommerce :where(.woocommerce-Addresses,.woocommerce-customer-details) .col-2 { width: 100%; float: none; }
    .woocommerce #reviews #comments ol.commentlist li .comment-text { padding: 16px; }
    .woocommerce .woocommerce-Tabs-panel,.woocommerce .shop_table { overflow-wrap: anywhere; }
}
/* Block storefronts inherit the same foundation when used in page content. */
.hps-system :where(.wc-block-cart,.wc-block-checkout,.wc-block-mini-cart,.wc-block-mini-cart__drawer,.wp-block-woocommerce-product-collection,.wc-block-grid,.wp-block-woocommerce-product-filters) {
    --wc-block-color-text: var(--hps-color-text-primary);
    --wc-block-color-background: var(--hps-color-bg-canvas);
    --wc-block-color-primary: var(--hps-color-action-default);
    --wc-block-color-secondary: var(--hps-color-text-secondary);
    --wc-block-color-error: var(--hps-color-status-error);
    --wc-block-color-success: var(--hps-color-status-success);
    color: var(--ink); background-color: var(--paper); font-family: var(--hps-font-family),sans-serif;
}
.hps-system :where(.wc-block-components-button,.wc-block-grid__product-add-to-cart a,.wp-block-woocommerce-product-button a) { min-height: 48px; border: 1px solid var(--hps-color-action-default); border-radius: 0; padding: 12px 16px; background: var(--hps-color-action-default); color: var(--hps-color-text-inverse); font-family: inherit; font-weight: var(--hps-font-weight-bold); text-transform: uppercase; box-shadow: none; }
.hps-system :where(.wc-block-components-button,.wc-block-grid__product-add-to-cart a,.wp-block-woocommerce-product-button a):hover { background: var(--hps-color-action-hover); color: var(--hps-color-text-inverse); }
.hps-system .wc-block-components-button:disabled { background: var(--hps-color-bg-subtle); color: var(--hps-color-text-disabled); border-color: var(--hps-color-border-subtle); }
.hps-system .wc-block-components-text-input input,.hps-system .wc-block-components-text-input input:focus,.hps-system .wc-block-components-combobox .wc-block-components-combobox-control input.components-combobox-control__input,.hps-system .wc-block-components-textarea,.hps-system .wc-blocks-components-select .wc-blocks-components-select__select { border: 1px solid var(--hps-color-border-control); border-radius: 0; background-color: var(--paper); color: var(--ink); font-family: inherit; }
.hps-system .wc-block-components-text-input label,.hps-system .wc-blocks-components-select .wc-blocks-components-select__label { color: var(--hps-color-text-secondary); }
.hps-system .wc-block-components-quantity-selector { border-color: var(--hps-color-border-control); border-radius: 0; }
.hps-system .wc-block-components-quantity-selector :where(input,button) { color: var(--ink); background: var(--paper); }
.hps-system .wc-block-components-radio-control .wc-block-components-radio-control__option { color: var(--ink); background: var(--paper); border-radius: 0; }
.hps-system .wc-block-components-radio-control .wc-block-components-radio-control__input { border-color: var(--hps-color-border-control); background: var(--paper); }
.hps-system .wc-block-components-radio-control .wc-block-components-radio-control__input:checked::before { background: var(--ink); }
.hps-system .wc-block-components-totals-wrapper,.hps-system .wc-block-components-order-summary,.hps-system .wc-block-cart-items td { border-color: var(--hps-color-border-subtle); }
.hps-system .wc-block-components-product-metadata,.hps-system .wc-block-components-order-summary-item__description { color: var(--hps-color-text-secondary); }
.hps-system .wc-block-components-chip { color: var(--ink); background: var(--hps-color-bg-subtle); border: 1px solid var(--hps-color-border-subtle); border-radius: 0; }
.hps-system .wc-block-components-notice-banner { color: var(--ink); background: var(--hps-color-bg-subtle); border: 1px solid var(--hps-color-border-subtle); border-radius: 0; }
.hps-system .wc-block-components-notice-banner.is-error { border-color: var(--hps-color-status-error); }
.hps-system .wc-block-components-notice-banner.is-success { border-color: var(--hps-color-status-success); }
.hps-system .wc-block-grid__product { border-color: transparent; }
.hps-system .wc-block-grid__product-title { font-size: var(--hps-type-product-title-size); text-transform: uppercase; }
.hps-system .wc-block-grid__product-onsale { color: var(--hps-color-text-inverse); background: var(--hps-color-bg-inverse); border: 0; border-radius: 0; }
.hps-system .woocommerce .woocommerce-product-attributes :where(th,td),.hps-system.woocommerce .woocommerce-product-attributes :where(th,td) { background: var(--paper); color: var(--ink); border-color: var(--hps-color-border-subtle); }
.hps-system :where(.woocommerce-info,.woocommerce-message,.woocommerce-error) { color: var(--ink); background: var(--hps-color-bg-subtle); border-color: var(--hps-color-border-subtle); }
.hps-system .woocommerce-error { border-color: var(--hps-color-status-error); }
/* Product navigation is a single category trail; cards remain wholly linked. */
.hps-system.woocommerce .hps-breadcrumb { margin: 0 0 32px; color: var(--hps-color-text-secondary); font-size: var(--hps-type-caption-size); line-height: var(--hps-type-caption-line); overflow-wrap: anywhere; }
.hps-system.woocommerce .hps-breadcrumb a { color: var(--ink); display: inline-block; padding-block: 8px; }
.hps-breadcrumb > span { padding-inline: 8px; }
/* Image/color choices retain a visible name, keyboard focus and unavailable state. */
.hps-variation-control .hps-swatch > span { display: flex; flex-direction: column; gap: 8px; min-width: 80px; padding: 8px; }
.hps-swatch__visual { display: block; width: 48px; height: 48px; flex: 0 0 48px; object-fit: cover; border: 1px solid var(--hps-color-border-control); }
.hps-swatch input:disabled + span .hps-swatch__visual, .hps-swatch.is-unavailable input + span .hps-swatch__visual { opacity: .35; filter: grayscale(1); }
/* Color dots: the legend names the choice, a ring marks it, a slash marks it unavailable. */
.hps-variation-control .hps-size.hps-swatch--color > span { display: grid; place-items: center; width: 40px; min-width: 0; height: 40px; min-height: 0; padding: 0; border: 0; border-radius: 50%; background: none; text-decoration: none; }
.hps-variation-control .hps-size.hps-swatch--color input + span:hover { background: none; box-shadow: inset 0 0 0 1px var(--hps-color-border-control); }
.hps-variation-control .hps-size.hps-swatch--color input:checked + span { background: none; box-shadow: inset 0 0 0 1.5px var(--hps-color-text-primary); }
.hps-variation-control .hps-size.hps-swatch--color input:focus-visible + span { outline-offset: 2px; }
.hps-swatch--color .hps-swatch__visual { width: 28px; height: 28px; flex: none; border-radius: 50%; border-color: color-mix(in srgb, var(--hps-color-text-primary) 35%, transparent); }
.hps-swatch--color input:disabled + span .hps-swatch__visual, .hps-swatch--color.is-unavailable input + span .hps-swatch__visual { opacity: .7; filter: none; background-image: linear-gradient(to top right, transparent calc(50% - 3px), color-mix(in srgb, var(--hps-color-text-primary) 55%, transparent) calc(50% - 3px), color-mix(in srgb, var(--hps-color-text-primary) 55%, transparent) calc(50% - 2px), var(--hps-color-bg-canvas) calc(50% - 2px), var(--hps-color-bg-canvas) calc(50% + 2px), color-mix(in srgb, var(--hps-color-text-primary) 55%, transparent) calc(50% + 2px), color-mix(in srgb, var(--hps-color-text-primary) 55%, transparent) calc(50% + 3px), transparent calc(50% + 3px)); }
.hps-swatch--color .hps-swatch__name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (forced-colors: active) { .hps-variation-control .hps-size.hps-swatch--color input:checked + span { border: 3px solid Highlight; } }
/* Align account fields to one readable form column instead of the full shop grid. */
.hps-system .woocommerce form.woocommerce-EditAccountForm { max-width: var(--hps-layout-reading-max); margin: 0; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
.hps-system .woocommerce form.woocommerce-EditAccountForm > * { grid-column: 1 / -1; min-width: 0; margin: 0; }
.hps-system .woocommerce form.woocommerce-EditAccountForm > .form-row-first { grid-column: 1; }
.hps-system .woocommerce form.woocommerce-EditAccountForm > .form-row-last { grid-column: 2; }
.hps-system .woocommerce form.woocommerce-EditAccountForm .form-row { float: none; width: 100%; }
.hps-system .woocommerce form.woocommerce-EditAccountForm > .clear { display: none; }
.hps-system .woocommerce form.woocommerce-EditAccountForm fieldset { padding: 24px; }
.hps-system .woocommerce form.woocommerce-EditAccountForm fieldset .form-row:last-child { margin-bottom: 0; }
.woocommerce-EditAccountForm .form-row em { display: block; margin-top: 8px; color: var(--hps-color-text-secondary); font-size: var(--hps-type-caption-size); line-height: var(--hps-type-caption-line); font-style: normal; }
@media (max-width: 767px) {
    .hps-system .woocommerce form.woocommerce-EditAccountForm { grid-template-columns: minmax(0,1fr); }
    .hps-system .woocommerce form.woocommerce-EditAccountForm > .form-row-first,.hps-system .woocommerce form.woocommerce-EditAccountForm > .form-row-last { grid-column: 1; }
    .hps-system .woocommerce form.woocommerce-EditAccountForm fieldset { padding: 16px; }
}
.hps-color-editions > p { margin-bottom: 12px; }
.hps-color-edition { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 88px; padding: 8px; border: 1px solid var(--hps-color-border-control); text-decoration: none; font-size: var(--hps-type-label-size); font-weight: var(--hps-font-weight-bold); line-height: var(--hps-type-label-line); }
.hps-color-edition:hover { background: var(--hps-color-bg-subtle); }
.hps-color-edition[aria-current=page] { outline: 2px solid var(--hps-color-text-primary); outline-offset: 2px; }
.hps-color-edition .hps-color-edition__image { width: 70px; height: 88px; object-fit: contain; background: var(--hps-color-bg-media); }
.hps-color-edition small { font-size: var(--hps-type-small-size); font-weight: var(--hps-font-weight-regular); color: var(--hps-color-text-secondary); }
/* Let the media and thumbnail rail use the full hero column. */
.woocommerce div.product .hps-gallery { width: 100%; min-width: 0; justify-self: stretch; }
.woocommerce div.product .hps-gallery .woocommerce-product-gallery { position: relative; }
.woocommerce div.product .hps-gallery .hps-product__status { position: absolute; inset: 12px auto auto 12px; z-index: 12; pointer-events: none; }
/* Compact edition choices, with names exposed on hover and to assistive technology. */
.hps-color-editions { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.hps-color-editions > p { margin: 0; }
.hps-color-editions .hps-sizes__options { margin-left: 0; gap: 8px; }
.hps-color-edition { position: relative; display: grid; place-items: center; width: 44px; min-height: 44px; padding: 5px; border: 1px solid transparent; border-radius: 50%; }
.hps-color-edition[aria-current=page] { border-color: var(--ink); outline: none; }
.hps-color-dot { display: block; width: 30px; height: 30px; border-radius: 50%; background: var(--swatch-color); border: 1px solid var(--hps-color-border-control); }
.hps-color-edition.is-sold-out .hps-color-dot::after { content: ''; position: absolute; width: 32px; height: 2px; top: 20px; left: 5px; background: var(--paper); box-shadow: 0 0 0 1px var(--ink); transform: rotate(-45deg); }
.hps-color-edition:has(.hps-color-fallback) { width: auto; border-radius: 0; padding-inline: 12px; }
.hps-catalog-tools { grid-template-columns: minmax(0,1fr) minmax(260px,420px); align-items: center; }
.hps-catalog-tools > .woocommerce-product-search { grid-column: 2; width: 100%; max-width: none; }
.hps-catalog-filters { grid-column: 1 / -1; }
.hps-category-nav { align-items: center; gap: 8px 20px; }
.hps-category-label { flex-basis: 100%; color: var(--hps-color-text-secondary); font-size: var(--hps-type-label-size); }
.hps-category-nav .hps-link { border: 0; padding: 0; min-height: 36px; text-decoration: underline; text-underline-offset: 5px; }
@media (max-width: 767px) {
    .hps-catalog-tools { grid-template-columns: minmax(0,1fr); }
    .hps-catalog-tools > .woocommerce-product-search { grid-column: 1; }
}
/* One catalog toolbar: category and filters left, result count and sorting right. */
.shop-intro h1 { font-size: var(--hps-type-heading-size); margin-bottom: 16px; }
.shop-toolbar { position: relative; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; border-block: 1px solid var(--hps-color-border-subtle); padding-block: 16px; margin-block: 32px; }
.shop-toolbar .woocommerce-result-count { margin-left: auto; }
.shop-toolbar .woocommerce-ordering select { border: 0; padding: 10px 24px 10px 0; min-height: 44px; font-size: var(--hps-type-caption-size); }
.hps-category-picker,.shop-toolbar .hps-catalog-filters { position: relative; border: 0; }
.hps-category-picker > summary,.shop-toolbar .hps-catalog-filters > summary { display: flex; align-items: center; gap: 12px; min-height: 44px; cursor: pointer; font-size: var(--hps-type-label-size); list-style: none; }
.hps-category-picker > summary::-webkit-details-marker,.hps-header-search > summary::-webkit-details-marker,.hps-catalog-filters > summary::-webkit-details-marker { display: none; }
.hps-category-picker nav,.shop-toolbar .hps-filter-grid { position: absolute; top: calc(100% + 8px); left: 0; z-index: 30; background: var(--paper); color: var(--ink); border: 1px solid var(--hps-color-border-control); padding: 8px; min-width: 240px; box-shadow: 0 8px 24px var(--hps-color-overlay-subtle); }
.hps-category-picker nav a { display: block; padding: 12px; font-size: var(--hps-type-caption-size); text-decoration: none; }
.hps-category-picker nav a:hover,.hps-category-picker nav [aria-current] { background: var(--hps-color-bg-subtle); text-decoration: underline; }
.shop-toolbar .hps-filter-grid { width: min(640px,80vw); padding: 24px; }
/* Search belongs to the shared header, on every storefront page. The header stays on screen
   below the admin bar; anchors and pinned banners read its height from --hps-header-h. */
:root { --hps-header-top: var(--wp-admin--admin-bar--height, 0px); }
html { scroll-padding-top: calc(var(--hps-header-top) + var(--hps-header-h, 110px) + 16px); }
.site-header { position: sticky; top: var(--hps-header-top); z-index: 40; }
/* An open archive ring owns the screen, as before the header was sticky. */
html.hps-archive-open .site-header { position: relative; }
@media (max-width: 600px) { :root { --hps-header-top: 0px; } } /* The admin bar scrolls away on phones. */
@media (min-width: 1024px) {
    /* Compact once scrolled; the bottom margin keeps the header's slot 110px so content never jumps. */
    .site-header { transition: min-height .25s ease, padding .25s ease, margin .25s ease; }
    .site-header .site-logo { transition: width .25s ease, height .25s ease; }
    .site-header.is-compact { min-height: 64px; padding-block: 4px; margin-bottom: 46px; }
    .site-header.is-compact .site-logo { width: 96px; height: 56px; }
}
@media (prefers-reduced-motion: reduce) { .site-header, .site-header .site-logo { transition: none; } }
.hps-header-search > summary { display: grid; place-items: center; width: 44px; height: 44px; cursor: pointer; list-style: none; }
.hps-header-search > summary:hover { background: var(--hps-color-bg-subtle); }
.hps-header-search > summary { transition: opacity 200ms ease; }
.hps-header-search[open] > summary { opacity: 0; }
/* Search opens across the whole header, growing from the icon's side, and closes back into it. */
.hps-header-search__panel { position: absolute; inset: 0; z-index: 50; display: flex; align-items: center; gap: 16px; padding: 0 max(var(--hps-shell-gutter,20px),calc((100% - var(--hps-shell-max,1440px))/2)); background: var(--paper); color: var(--ink); }
.hps-header-search__panel > p { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.hps-header-search__panel .woocommerce-product-search { flex: 1; max-width: none; align-items: center; }
.hps-system .hps-header-search__panel .woocommerce-product-search input[type=search] { min-height: 56px; padding: 8px 0; border: 0; border-bottom: 2px solid currentColor; background: transparent; font-size: var(--hps-type-heading-size); font-weight: var(--hps-font-weight-bold); text-transform: uppercase; letter-spacing: -.01em; }
.hps-header-search__panel .woocommerce-product-search input[type=search]:focus { outline: none; }
.hps-header-search__close { display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; padding: 0; border: 0; background: none; color: inherit; font-size: var(--hps-icon-large); line-height: 1; cursor: pointer; }
.hps-header-search[open] .hps-header-search__panel { animation: hps-search-open 380ms cubic-bezier(.2,.7,0,1); }
.hps-header-search[open] .hps-header-search__panel > * { animation: hps-search-content 380ms 120ms cubic-bezier(.2,.7,0,1) backwards; }
.hps-header-search.is-closing .hps-header-search__panel { animation: hps-search-open 260ms cubic-bezier(.4,0,1,1) reverse forwards; }
.hps-header-search.is-closing .hps-header-search__panel > * { animation: none; opacity: 0; transition: opacity 120ms; }
@keyframes hps-search-open { from { clip-path: inset(0 0 0 calc(100% - 64px)); } to { clip-path: inset(0); } }
@keyframes hps-search-content { from { opacity: 0; translate: 24px 0; } }
@media (max-width: 767px) {
    .site-navigation { gap: 0; justify-content: space-between; }
    .site-navigation .hps-link { padding-inline: 6px; font-size: var(--hps-type-label-size); }
    .hps-header-search > summary { width: 40px; }
    .shop-toolbar { gap: 8px 16px; }
    .shop-toolbar > * { width: auto; }
    .shop-toolbar .woocommerce-result-count { order: 4; width: 100%; margin: 0; }
    .shop-toolbar .woocommerce-ordering { width: auto; margin-left: auto; max-width: 48%; }
    .shop-toolbar .woocommerce-ordering select { max-width: 100%; font-size: var(--hps-type-small-size); }
    .hps-category-picker > summary { gap: 6px; font-size: var(--hps-type-label-size); }
    .hps-header-search__panel { padding-inline: 16px; gap: 8px; }
    .hps-system .hps-header-search__panel .woocommerce-product-search input[type=search] { min-height: 44px; font-size: var(--hps-type-body-size); }
    .hps-system .hps-header-search__panel .woocommerce-product-search button { padding-inline: 12px; font-size: var(--hps-type-label-size); }
}

/* Product labels and prices share a row, including native sale and range prices. */
.hps-catalog-info { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: start; gap: 8px 16px; }
.woocommerce ul.products li.product .hps-catalog-info .woocommerce-loop-product__title { min-width: 0; overflow-wrap: break-word; }
.woocommerce ul.products li.product .hps-catalog-info .price { grid-column: 2; grid-row: 1 / span 2; justify-content: flex-end; text-align: right; max-width: 140px; gap: 4px 8px; }
.woocommerce ul.products li.product .hps-catalog-info .price .amount { white-space: nowrap; }
.woocommerce ul.products li.product .hps-catalog-info .star-rating { grid-column: 1; margin: 0; }
/* The action row must fill the block table before its coupon input can grow. */
.woocommerce table.cart tr.hps-cart-actions { display: block; width: 100%; }
.woocommerce table.cart tr.hps-cart-actions td.actions { width: 100%; }
.woocommerce table.cart td.actions .coupon .input-text { padding-inline: 16px; }
/* Account navigation uses understated links with a clear current page. */
.hps-account-nav ul { gap: 8px 24px; border-bottom: 1px solid var(--hps-color-border-subtle); }
.hps-account-nav .hps-link { border: 0; border-bottom: 2px solid transparent; padding-inline: 0; }
.hps-account-nav .hps-link[aria-current] { background: transparent; color: var(--ink); border-bottom-color: currentColor; }
@media (max-width: 767px) {
    .hps-catalog-info { column-gap: 8px; }
    .woocommerce ul.products li.product .hps-catalog-info .price { max-width: 96px; }
}


/* Default product card: untinted, the photo inset on white, name and price on one line. */
.woocommerce ul.products li.product.hps-catalog-item { padding: 0; }
.woocommerce ul.products li.hps-catalog-item a.woocommerce-loop-product__link { gap: 0; }
.hps-catalog-item .hps-catalog-image { aspect-ratio: 3/4; background: var(--hps-color-media-surface); }
.woocommerce ul.products li.product.hps-catalog-item .hps-catalog-image :is(img, video) { box-sizing: border-box; padding: 10% 16%; }
.hps-catalog-item .hps-catalog-info { padding: 16px; background: none; }
.woocommerce ul.products li.product.hps-catalog-item .woocommerce-loop-product__title { font-size: var(--hps-type-heading-size); line-height: var(--hps-type-heading-line); font-weight: var(--hps-font-weight-regular); text-transform: uppercase; }
.woocommerce ul.products li.product.hps-catalog-item .price del { font-size: var(--hps-type-price-size); }
/* Header bag: permanent icon + count. Add-to-cart motion lives in fixed overlays, so the header never reflows. */
.site-header .site-navigation a.site-bag { gap: 4px; }
.hps-bag-icon { display: inline-grid; place-items: center; width: 22px; height: 22px; transform-origin: 50% 100%; }
.hps-bag-icon svg { display: block; }
.hps-bag-count { display: inline-grid; align-items: center; min-width: 2ch; height: 1.3em; line-height: 1.3; overflow: hidden; font-variant-numeric: tabular-nums; text-align: left; }

/* One compact header with a native, keyboard-accessible navigation drawer. */
.hps-mobile-menu { display: none; }
@media (max-width: 1023px) {
    .site-header { grid-template-columns: 88px minmax(0,1fr) 88px; min-height: 64px; padding: 6px 16px; gap: 0; }
    .site-header .hps-mobile-menu { display: block; grid-column: 1; grid-row: 1; }
    .site-header .site-title { grid-column: 2; grid-row: 1; justify-self: center; margin: 0; }
    .site-header .site-logo { width: 80px; height: 48px; }
    .site-header .site-navigation--primary,
    .site-header .site-navigation--utility > ul,
    .site-header .site-navigation--utility > a:not(.site-bag) { display: none; }
    .site-header .site-navigation--utility { grid-column: 3; grid-row: 1; gap: 0; flex-wrap: nowrap; }
    .site-header .site-bag { min-width: 44px; justify-content: center; }
    .hps-mobile-menu > summary { display: grid; place-items: center; width: 44px; height: 44px; cursor: pointer; list-style: none; }
    .hps-mobile-menu > summary::-webkit-details-marker { display: none; }
    .hps-mobile-menu > summary span { width: 22px; height: 2px; background: currentColor; box-shadow: 0 -6px currentColor,0 6px currentColor; }
    .hps-mobile-menu[open] > summary span { box-shadow: none; transform: rotate(45deg); }
    .hps-mobile-menu[open] > summary span::after { content: ''; display: block; width: 22px; height: 2px; background: currentColor; transform: rotate(90deg); }
    /* The menu fills the screen, see-through, and rises from the bottom; the toggle stays on top to close it. */
    .hps-mobile-menu > summary { position: relative; z-index: 2; }
    .hps-mobile-menu__panel { position: fixed; inset: 0; z-index: 1; display: flex; flex-direction: column; padding: calc(var(--hps-header-top,0px) + var(--hps-header-h,64px) + 24px) 24px max(40px, calc(env(safe-area-inset-bottom) + 24px)); overflow-y: auto; overscroll-behavior: contain; background: color-mix(in srgb, var(--paper) 62%, transparent); -webkit-backdrop-filter: blur(20px) saturate(1.2); backdrop-filter: blur(20px) saturate(1.2); color: var(--ink); }
    /* Links gather at the bottom, within thumb reach; they scroll if they outgrow the screen. */
    .hps-mobile-menu__panel > :first-child { margin-top: auto; }
    .hps-mobile-menu__panel ul { list-style: none; padding: 0; margin: 0; }
    .hps-mobile-menu__panel a { display: flex; align-items: center; min-height: 48px; color: var(--ink); font-size: var(--hps-type-heading-size); font-weight: var(--hps-font-weight-bold); line-height: var(--hps-type-heading-line); letter-spacing: -.03em; text-transform: uppercase; text-decoration: none; }
    .hps-mobile-menu[open] .hps-mobile-menu__panel { animation: hps-menu-rise 420ms cubic-bezier(.2,.7,0,1); }
    .hps-mobile-menu[open] .hps-mobile-menu__panel :is(li,nav > a) { animation: hps-menu-link 460ms cubic-bezier(.2,.7,0,1) backwards; }
    .hps-mobile-menu[open] .hps-mobile-menu__panel li:nth-child(2) { animation-delay: 40ms; }
    .hps-mobile-menu[open] .hps-mobile-menu__panel li:nth-child(3) { animation-delay: 80ms; }
    .hps-mobile-menu[open] .hps-mobile-menu__panel li:nth-child(4) { animation-delay: 120ms; }
    .hps-mobile-menu[open] .hps-mobile-menu__panel li:nth-child(n+5) { animation-delay: 160ms; }
    .hps-mobile-menu.is-closing .hps-mobile-menu__panel { animation: hps-menu-rise 300ms cubic-bezier(.4,0,1,1) reverse forwards; }
    html:has(.hps-mobile-menu[open]) { overflow: hidden; }
    html:has(.hps-mobile-menu[open]) .site-header { z-index: 1000; }
}
@keyframes hps-menu-rise { from { transform: translateY(100%); } to { transform: none; } }
@keyframes hps-menu-link { from { opacity: 0; translate: 0 40px; } }
@media (prefers-reduced-motion: reduce) {
    .hps-mobile-menu[open] .hps-mobile-menu__panel, .hps-mobile-menu[open] .hps-mobile-menu__panel :is(li,nav > a), .hps-header-search[open] .hps-header-search__panel, .hps-header-search[open] .hps-header-search__panel > * { animation: none; }
}

/* Category heading and two compact catalog controls share a single row. */
.hps-shop-header { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 24px; align-items: start; margin-bottom: 32px; }
.hps-shop-header .shop-intro { min-width: 0; }
.hps-shop-header .shop-intro h1 { margin: 0; }
.hps-shop-header .shop-intro .term-description { margin: 16px 0 0; }
.hps-shop-header .shop-toolbar { display: flex; flex-wrap: nowrap; gap: 8px; border: 0; padding: 0; margin: 0; }
.hps-shop-header .woocommerce-result-count { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.hps-shop-header :is(.hps-category-picker,.hps-sort-picker) { position: relative; flex: 0 0 44px; }
.hps-shop-header :is(.hps-category-picker,.hps-sort-picker) > summary { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; list-style: none; cursor: pointer; }
.hps-sort-picker > summary::-webkit-details-marker { display: none; }
.hps-shop-header details[open] > summary,.hps-shop-header summary:hover { background: var(--hps-color-bg-subtle); }
.hps-category-panel,.hps-sort-panel { position: absolute; z-index: 30; top: calc(100% + 8px); right: 0; width: 260px; max-width: calc(100vw - 72px); padding: 16px; background: var(--paper); border: 1px solid var(--hps-color-border-control); box-shadow: 0 8px 24px var(--hps-color-overlay-subtle); }
.hps-shop-header .hps-category-picker nav,.hps-shop-header .hps-filter-grid { position: static; width: 100%; min-width: 0; padding: 0; border: 0; box-shadow: none; }
.hps-shop-header .hps-filter-grid { margin-top: 16px; grid-template-columns: minmax(0,1fr); }
.hps-shop-header .woocommerce-ordering { float: none; width: 100%; max-width: none; margin: 0; }
.hps-shop-header .woocommerce-ordering label { font-size: var(--hps-type-label-size); }
.hps-shop-header .woocommerce-ordering select { display: block; width: 100%; max-width: 100%; margin-top: 8px; border: 1px solid var(--hps-color-border-control); padding: 10px; }
@media (max-width:767px) { .hps-shop-header { gap: 12px; } .hps-shop-header .shop-intro h1 { font-size: var(--hps-type-heading-size); line-height: var(--hps-type-heading-line); } }

/* Native WooCommerce mini-cart fragments inside a modal side panel. */
.hps-cart-drawer { position: fixed; inset: 0 0 0 auto; width: min(480px,100vw); max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0 0 0 auto; padding: 24px; border: 0; background: var(--paper); color: var(--ink); overflow-y: auto; overscroll-behavior: contain; }
.hps-cart-drawer::backdrop { background: var(--hps-color-overlay-medium); }
.hps-cart-drawer__header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 20px; border-bottom: 1px solid var(--hps-color-border-subtle); }
.hps-cart-drawer__header h2 { margin: 0; font-size: var(--hps-type-heading-size); }
.hps-cart-drawer__close { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; color: inherit; font-size: var(--hps-icon-large); cursor: pointer; }
.hps-cart-drawer .widget_shopping_cart_content { padding-top: 24px; }
.hps-cart-drawer.woocommerce ul.cart_list { margin: 0; padding: 0; list-style: none; }
.hps-cart-drawer.woocommerce ul.cart_list li { position: relative; min-height: 140px; padding: 0 32px 20px 0; margin-bottom: 20px; border-bottom: 1px solid var(--hps-color-border-subtle); font-size: var(--hps-type-small-size); line-height: var(--hps-type-small-line); }
.hps-cart-drawer.woocommerce ul.cart_list li a:not(.remove) { display: block; font-weight: var(--hps-font-weight-bold); text-decoration: none; }
.hps-cart-drawer.woocommerce ul.cart_list li img { float: left; width: 84px; height: 112px; margin: 0 16px 8px 0; object-fit: contain; background: var(--hps-color-media-surface); }
.hps-cart-drawer.woocommerce ul.cart_list li a.remove { position: absolute; top: 0; right: 0; left: auto; width: 32px; height: 32px; line-height: 32px; color: var(--ink) !important; background: transparent; font-size: var(--hps-icon-large); }
.hps-cart-drawer.woocommerce ul.cart_list li .quantity { display: block; margin-top: 12px; }
.hps-cart-drawer.woocommerce ul.cart_list li dl { border: 0; padding: 0; margin-top: 8px; font-size: var(--hps-type-small-size); }
.hps-cart-drawer.woocommerce ul.cart_list li dl p { margin: 0; }
.hps-cart-drawer .woocommerce-mini-cart__total { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; margin: 0 0 12px; }
.hps-cart-drawer .woocommerce-mini-cart__buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0; }
.hps-cart-drawer.woocommerce .woocommerce-mini-cart__buttons a { display: flex; align-items: center; justify-content: center; margin: 0; min-height: 48px; padding: 12px; border: 1px solid var(--ink); border-radius: 0; background: var(--paper); color: var(--ink); font-size: var(--hps-type-label-size); text-transform: uppercase; }
.hps-cart-drawer.woocommerce .woocommerce-mini-cart__buttons .checkout { background: var(--ink); color: var(--paper); }
.hps-cart-drawer__continue { display: block; min-height: 44px; margin: 16px auto 0; padding: 8px 16px; border: 0; background: transparent; color: inherit; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
@media (max-width:480px) { .hps-cart-drawer { padding: 16px; } }

/* Keep the content visible through open navigation and search panels. */
@supports (backdrop-filter: blur(12px)) or (-webkit-backdrop-filter: blur(12px)) {
    .hps-header-search__panel { background: color-mix(in srgb, var(--paper) 82%, transparent); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
}
@media (max-width: 1023px) {
    .hps-mobile-menu > summary span { position: relative; box-shadow: none; transition: transform 220ms ease, background 220ms ease; }
    .hps-mobile-menu > summary span::before, .hps-mobile-menu > summary span::after { content: ''; position: absolute; left: 0; top: 0; width: 22px; height: 2px; background: currentColor; transition: transform 220ms ease, opacity 220ms ease; }
    .hps-mobile-menu > summary span::before { transform: translateY(-6px); }
    .hps-mobile-menu > summary span::after { transform: translateY(6px); }
    .hps-mobile-menu[open] > summary span::before { opacity: 0; transform: translateY(0); }
    .hps-mobile-menu[open] > summary span::after { transform: rotate(90deg); }
}
@media (prefers-reduced-motion: reduce) {
    .hps-mobile-menu > summary span, .hps-mobile-menu > summary span::before, .hps-mobile-menu > summary span::after { transition: none; }
}

/* WooCommerce status colors follow the same palette as other theme feedback. */
.hps-system.woocommerce div.product p.stock { color: var(--hps-color-status-success); font-size: var(--hps-type-caption-size); line-height: var(--hps-type-caption-line); }
.hps-system.woocommerce div.product p.out-of-stock { color: var(--hps-color-status-error); }

.woocommerce ul.products li.product.hps-catalog-item .price { font-size: var(--hps-type-price-size); line-height: var(--hps-type-price-line); font-weight: var(--hps-font-weight-regular); }

/* WooCommerce clearfix pseudo-elements must not become grid/flex children. */
.hps-cart-drawer.woocommerce.widget_shopping_cart .woocommerce-mini-cart__buttons::before,
.hps-cart-drawer.woocommerce.widget_shopping_cart .woocommerce-mini-cart__buttons::after,
.hps-cart-drawer.woocommerce.widget_shopping_cart .woocommerce-mini-cart__total::before,
.hps-cart-drawer.woocommerce.widget_shopping_cart .woocommerce-mini-cart__total::after { content: none; }
.hps-cart-drawer .woocommerce-mini-cart__buttons { grid-template-columns: repeat(2,minmax(0,1fr)); align-items: stretch; }
.hps-cart-drawer.woocommerce .woocommerce-mini-cart__buttons a { float: none; width: 100%; min-width: 0; text-align: center; }
.hps-cart-drawer.woocommerce.widget_shopping_cart .woocommerce-mini-cart__total { border-top: 0; align-items: baseline; }

/* This showcase is already inside the product page's content container. */
.woocommerce .related > .hps-section--showcase { padding: 0; gap: var(--hps-spacing-24); }
.woocommerce .related > .hps-section--showcase > .hps-section__copy { max-width: none; padding-inline: 0; }
.woocommerce .related > .hps-section--showcase > .hps-section__copy > h2 { margin: 0; }

/* A standalone form avoids nesting coupon submission inside order submission. */
.hps-system .woocommerce form.hps-checkout-coupon { display: grid !important; grid-template-columns: minmax(0,1fr) auto; gap: var(--hps-spacing-16); align-items: start; padding: var(--hps-spacing-24); margin: var(--hps-spacing-32) 0 0; border: var(--hps-border-thin) solid var(--hps-color-border-subtle); border-radius: var(--hps-radius-none); }
.hps-system .woocommerce form.hps-checkout-coupon::before,.hps-system .woocommerce form.hps-checkout-coupon::after { content: none; }
.hps-system .woocommerce form.hps-checkout-coupon .input-text { min-width: 0; margin: 0; }
.hps-system .woocommerce form.hps-checkout-coupon .button { margin: 0; min-height: var(--hps-control-large); }
.hps-checkout-coupon > :is(.woocommerce-error,.woocommerce-message,.woocommerce-info) { grid-column: 1 / -1; margin: 0; }
@media (max-width: 480px) {
    .hps-system .woocommerce form.hps-checkout-coupon { padding: var(--hps-spacing-16); gap: var(--hps-spacing-8); }
}

/* Cart actions use modern layout, so inherited float-clearing boxes are redundant. */
.hps-system .woocommerce .wc-proceed-to-checkout::before,
.hps-system .woocommerce .wc-proceed-to-checkout::after,
.hps-system .woocommerce table.cart td.actions .coupon::before,
.hps-system .woocommerce table.cart td.actions .coupon::after { content: none; }

.hps-checkout-layout > form.hps-checkout { min-width: 0; margin: 0; }
/* Native coupon removal inserts notices immediately before the checkout form. */
.hps-checkout-layout > :is(.woocommerce-message,.woocommerce-error,.woocommerce-info,.woocommerce-NoticeGroup) { grid-column: 1 / -1; }
.hps-system .woocommerce .hps-order-summary form.hps-checkout-coupon { margin: 0; padding: var(--hps-spacing-24) 0 0; border: 0; border-top: var(--hps-border-thin) solid var(--hps-color-border-subtle); }
.hps-checkout-coupon > .coupon-error-notice { grid-column: 1 / -1; color: var(--hps-color-status-error); font-size: var(--hps-type-caption-size); }
