/* Commerce 1.17 — a shared presentation layer over native WooCommerce.
   Tokens: existing WspinArt fonts/colors, white panels, cool gray canvas,
   16px surfaces, 8px fields, 32px actions, 1120px content, 24px column gap. */
.ws-commerce { --wc-primary: var(--ws-link); --wc-content-bg: #fff; }
.ws-commerce-main { background: var(--ws-surface); padding: 56px 0 64px; }
.ws-commerce-container { width: calc(100% - var(--ws-gutter) * 2); max-width: 1120px; margin-inline: auto; }
.ws-commerce-heading { margin-bottom: 32px; }
.ws-commerce-heading h1 { font-size: clamp(30px, 3.5vw, 44px); font-weight: 800; line-height: 1.15; letter-spacing: -.035em; text-transform: none; margin-bottom: 12px; }
.ws-commerce-heading p { margin: 0; color: var(--ws-muted); font-size: 17px; }
.ws-commerce .ws-commerce-content { font-size: 15px; }
.ws-commerce .ws-commerce-content :is(h2,h3) { font-size: 24px; letter-spacing: -.025em; line-height: 1.3; }
.ws-commerce .ws-commerce-content h3 { font-size: 20px; }
.ws-commerce .ws-commerce-content :is(a, button, input, select, textarea) { scroll-margin-top: 150px; }
.ws-commerce .ws-commerce-content :is(a,button,input,select,textarea):focus-visible { outline: 3px solid var(--ws-link); outline-offset: 3px; }
.ws-commerce .ws-commerce-content :is(p,li,td,th,dd,dt) { overflow-wrap: anywhere; }
.ws-commerce .ws-commerce-content a:not(.button):not(.wp-element-button):not(.wp-block-button__link) { color: var(--ws-link); }
.ws-commerce-steps { margin: 0 0 32px; }
.ws-commerce-steps ol { display: flex; list-style: none; margin: 0; padding: 0; }
.ws-commerce-steps li { flex: 1; position: relative; min-width: 0; padding-bottom: 18px; border-bottom: 2px solid #d3dfe3; }
.ws-commerce-steps li > :is(a,span) { display: inline-flex; align-items: center; gap: 12px; color: var(--ws-muted); font-size: 14px; text-decoration: none; }
.ws-commerce-steps__number { display: inline-flex; justify-content: center; align-items: center; width: 32px; height: 32px; flex: 0 0 32px; border: 1px solid #bbcbd2; border-radius: 50%; font-weight: 700; background: #fff; }
.ws-commerce-steps li:is(.is-current,.is-complete) { border-bottom-color: var(--ws-blue); }
.ws-commerce-steps li:is(.is-current,.is-complete) > :is(a,span) { color: var(--ws-link); }
.ws-commerce-steps .is-current { font-weight: 700; }
.ws-commerce-steps li:is(.is-current,.is-complete) .ws-commerce-steps__number { background: var(--ws-link); color: #fff; border-color: var(--ws-link); }
.ws-commerce-links { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 26px; font-size: 15px; font-weight: 600; }
.ws-commerce-links > a:first-child { display: inline-flex; align-items: center; gap: 10px; }
.ws-commerce-links > a:first-child::before { content: ''; width: 18px; height: 18px; background: currentColor; mask: url('../icons/about-arrow.svg') center/contain no-repeat; transform: rotate(180deg); }
.ws-commerce-help { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--ws-border); font-size: 14px; color: var(--ws-muted); }
.ws-commerce-help span { font-weight: 700; color: var(--ws-ink); }
/* Native forms, including gateway and extension fields. */
.ws-commerce .woocommerce :is(a.button,button.button,input.button),
.ws-commerce .ws-commerce-content .wc-block-components-button:not(.is-link) { min-height: 48px; padding: 13px 22px; border-radius: 32px; font: 700 15px/1.4 var(--ws-font); text-transform: none; text-decoration: none; }
.ws-commerce .woocommerce :is(a.button.alt,button.button.alt),
.ws-commerce .ws-commerce-content :is(.wc-block-cart__submit-button,.wc-block-components-checkout-place-order-button),
.ws-commerce .woocommerce .woocommerce-form-login__submit,
.ws-commerce .woocommerce .woocommerce-form-register__submit { background: var(--ws-orange); color: #fff; border: 0; }
.ws-commerce .woocommerce :is(a.button.alt,button.button.alt):hover,
.ws-commerce .ws-commerce-content :is(.wc-block-cart__submit-button,.wc-block-components-checkout-place-order-button):hover,
.ws-commerce .woocommerce :is(.woocommerce-form-login__submit,.woocommerce-form-register__submit):hover { background: var(--ws-orange-hover); color: #fff; }
.ws-commerce .woocommerce button.button:disabled { opacity: .5; }
.ws-commerce .woocommerce form .form-row { padding: 0; margin-bottom: 20px; }
.ws-commerce .woocommerce form .form-row label { font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.ws-commerce .woocommerce form :is(input.input-text,textarea,select),
.ws-commerce .woocommerce .select2-container .select2-selection--single { min-height: 48px; border: 1px solid #b7c7cd; border-radius: 8px; background: #fff; color: var(--ws-ink); font-size: 16px; }
.ws-commerce .woocommerce form :is(input.input-text,textarea):focus { border-color: var(--ws-link); }
.ws-commerce .woocommerce .select2-container .select2-selection--single .select2-selection__rendered { line-height: 46px; padding-left: 13px; }
.ws-commerce .woocommerce .select2-container .select2-selection--single .select2-selection__arrow { height: 46px; }
.ws-commerce .select2-dropdown { border-color: #b7c7cd; font-size: 16px; }
.ws-commerce .woocommerce input:is([type=checkbox],[type=radio]) { width: 18px; height: 18px; vertical-align: middle; }
.ws-commerce .woocommerce form .password-input input { padding-right: 50px; }
.ws-commerce .woocommerce form .show-password-input { min-width: 44px; min-height: 44px; padding: 0; margin: 0; top: 50%; right: 2px; transform: translateY(-50%); border: 0; border-radius: 6px; background: transparent; color: var(--ws-ink); }
.ws-commerce .woocommerce form .show-password-input:hover { background: var(--ws-surface); }
.ws-commerce .woocommerce form .show-password-input::after { margin-left: 0; }
.ws-commerce .woocommerce form .woocommerce-invalid :is(input.input-text,select,.select2-selection) { border-color: #b02a37; }
.ws-commerce .ws-commerce-content :is(.woocommerce-message,.woocommerce-info,.woocommerce-error,.wc-block-components-notice-banner) { border-radius: 10px; border: 1px solid #c5dce5; background: #edf7fb; color: var(--ws-ink); font-size: 14px; box-shadow: none; }
.ws-commerce .ws-commerce-content :is(.woocommerce-error,.wc-block-components-notice-banner.is-error) { background: #fff3f1; border-color: #efc5bd; }
.ws-commerce .ws-commerce-content .woocommerce-notices-wrapper:empty { display: none; }
/* Tables use the live product, price, tax, shipping and extension rows. */
.ws-commerce .woocommerce table.shop_table { border: 1px solid var(--ws-border); border-radius: 12px; border-collapse: separate; border-spacing: 0; background: #fff; margin-bottom: 24px; font-size: 14px; overflow: hidden; }
.ws-commerce .woocommerce table.shop_table th { padding: 15px 18px; font-weight: 600; line-height: 1.5; }
.ws-commerce .woocommerce table.shop_table td { padding: 18px; border-bottom: 0; border-top: 1px solid var(--ws-border); line-height: 1.65; }
.ws-commerce .woocommerce table.shop_table thead { color: var(--ws-muted); background: var(--ws-surface); }
.ws-commerce .woocommerce table.shop_table thead th { border-bottom: 0; }
.ws-commerce .woocommerce table.shop_table tfoot :is(th,td) { border-top: 1px solid var(--ws-border); border-bottom: 0; }
.ws-commerce .woocommerce table.shop_table .order-total :is(th,td) { font-size: 20px; color: var(--ws-ink); }
.ws-commerce .woocommerce table.shop_table td.product-name { font-weight: 600; }
.ws-commerce .woocommerce table.shop_table .variation { color: var(--ws-muted); font-size: 13px; font-weight: 400; margin: 8px 0 0; }
.ws-commerce .woocommerce table.shop_table .variation :is(dt,dd,p) { margin-bottom: 0; }
/* Classic cart. Block cart has its own native live quantity controls below. */
.ws-commerce.woocommerce-cart .ws-commerce-content > .woocommerce { display: grid; grid-template-columns: minmax(0,1.7fr) minmax(310px,1fr); align-items: start; gap: 24px; }
.ws-commerce.woocommerce-cart .ws-commerce-content > .woocommerce > :not(.woocommerce-cart-form):not(.cart-collaterals) { grid-column: 1 / -1; }
.ws-commerce.woocommerce-cart .woocommerce-cart-form { min-width: 0; }
.ws-commerce.woocommerce-cart .cart-collaterals { width: auto; min-width: 0; }
.ws-commerce .woocommerce .cart-collaterals .cart_totals { float: none; width: 100%; border: 1px solid var(--ws-border); border-radius: 16px; background: #fff; padding: 26px; }
.ws-commerce .woocommerce .cart_totals h2 { margin-bottom: 22px; }
.ws-commerce .woocommerce .cart_totals table { border: 0; border-radius: 0; }
.ws-commerce .woocommerce .cart_totals table :is(th,td) { padding-inline: 0; }
.ws-commerce .woocommerce .cart_totals td { text-align: right; }
.ws-commerce .woocommerce .cart_totals .wc-proceed-to-checkout { padding: 0; }
.ws-commerce .woocommerce .cart_totals .checkout-button { display: flex; align-items: center; justify-content: center; margin: 0; font-size: 15px; }
.ws-commerce .woocommerce table.cart img { width: 84px; max-width: none; border-radius: 8px; aspect-ratio: 1; object-fit: cover; }
.ws-commerce .woocommerce table.cart td { padding: 18px 10px; }
.ws-commerce .woocommerce table.cart th { padding-inline: 10px; }
.ws-commerce .woocommerce table.cart .product-remove { width: 32px; }
.ws-commerce .woocommerce a.remove { display: flex; align-items: center; justify-content: center; min-width: 36px; min-height: 36px; font-size: 24px; border-radius: 50%; color: #7d4750 !important; }
.ws-commerce .woocommerce a.remove:hover { color: #fff !important; background: #a1303c; }
.ws-commerce .woocommerce table.cart .quantity .qty { width: 62px; padding-inline: 5px; }
.ws-commerce .woocommerce table.cart .coupon { display: flex; flex-wrap: wrap; gap: 8px; max-width: 100%; margin-bottom: 12px; }
.ws-commerce .woocommerce table.cart .coupon .input-text { width: 160px; margin: 0; }
.ws-commerce .woocommerce .cart-collaterals .cross-sells { width: 100%; float: none; margin-bottom: 24px; }
/* Block cart / checkout: avoid replacing React markup, state or payment methods. */
.ws-commerce .ws-commerce-content :is(.wc-block-cart,.wc-block-checkout) { font-family: var(--ws-font); color: var(--ws-ink); font-size: 15px; margin: 0; --wp--preset--color--contrast: var(--ws-ink); --wp--preset--color--accent: var(--ws-link); }
.ws-commerce .ws-commerce-content .wc-block-components-sidebar-layout { gap: 24px; align-items: flex-start; }
.ws-commerce .ws-commerce-content .wc-block-components-sidebar-layout .wc-block-components-main { width: calc(65% - 12px); padding-right: 0; min-width: 0; }
.ws-commerce .ws-commerce-content .wc-block-components-sidebar-layout .wc-block-components-sidebar { width: calc(35% - 12px); padding-left: 0; min-width: 0; }
.ws-commerce .ws-commerce-content :is(.wc-block-cart__main,.wc-block-checkout__main,.wc-block-cart__sidebar,.wc-block-checkout__sidebar) { border: 1px solid var(--ws-border); border-radius: 16px; background: #fff; padding: 26px !important; }
.ws-commerce .ws-commerce-content .wc-block-cart__sidebar { padding: 24px !important; }
.ws-commerce .ws-commerce-content .wc-block-checkout__sidebar { padding: 0 !important; overflow: hidden; }
.ws-commerce .ws-commerce-content .wc-block-components-order-summary { padding: 0 20px; }
.ws-commerce .ws-commerce-content .wc-block-components-order-summary__button-text { font-weight: 700; }
.ws-commerce .ws-commerce-content .wc-block-components-order-summary__content { padding-top: 8px; }
.ws-commerce .ws-commerce-content .wc-block-components-order-summary__content .wc-block-components-order-summary-item__image img { border-radius: 8px; }
.ws-commerce .ws-commerce-content .wc-block-cart .wc-block-cart__totals-title { text-transform: none; font: 800 23px/1.3 var(--ws-font); color: var(--ws-ink); padding: 0 0 24px; }
.ws-commerce .ws-commerce-content .wc-block-cart table.wc-block-cart-items { font-size: 14px; margin-bottom: 0; }
.ws-commerce .ws-commerce-content .wc-block-cart table.wc-block-cart-items :is(th,td) { border-color: var(--ws-border); }
.ws-commerce .ws-commerce-content .wc-block-cart table.wc-block-cart-items thead th { font-weight: 600; color: var(--ws-muted); text-transform: none; font-size: 13px; padding-top: 0; padding-bottom: 16px; }
.ws-commerce .ws-commerce-content .wc-block-cart table.wc-block-cart-items .wc-block-cart-items__row td { padding-top: 22px; padding-bottom: 22px; }
.ws-commerce .ws-commerce-content .wc-block-cart .wc-block-cart-item__image img { border-radius: 8px; }
.ws-commerce .ws-commerce-content .wc-block-components-product-name { font-size: 16px; line-height: 1.5; font-weight: 700; text-decoration: none; color: var(--ws-ink) !important; }
.ws-commerce .ws-commerce-content .wc-block-components-product-name:hover { color: var(--ws-link) !important; text-decoration: underline; }
.ws-commerce .ws-commerce-content .wc-block-components-product-metadata { color: var(--ws-muted); font-size: 13px; }
.ws-commerce .ws-commerce-content .wc-block-components-product-metadata__description { display: none; }
.ws-commerce .ws-commerce-content .wc-block-components-quantity-selector { border: 1px solid #bdcdd4; border-radius: 8px; min-width: 112px; background: #fff; }
.ws-commerce .ws-commerce-content .wc-block-components-quantity-selector::after { border: 0; }
.ws-commerce .ws-commerce-content .wc-block-components-quantity-selector .wc-block-components-quantity-selector__input { min-width: 36px; min-height: 40px; padding: 4px 0; border: 0; font-size: 15px; background: transparent; }
.ws-commerce .ws-commerce-content .wc-block-components-quantity-selector .wc-block-components-quantity-selector__button { min-width: 36px; min-height: 40px; padding: 0; color: var(--ws-ink); border: 0; border-radius: 7px; background: transparent; font-size: 20px; }
.ws-commerce .ws-commerce-content .wc-block-components-quantity-selector .wc-block-components-quantity-selector__button:hover { background: var(--ws-surface); }
.ws-commerce .ws-commerce-content .wc-block-cart .wc-block-cart-item__remove-link { min-height: 32px; padding: 4px 0; background: transparent; border-radius: 0; color: var(--ws-muted); font: 400 13px/1.5 var(--ws-font); }
.ws-commerce .ws-commerce-content .wc-block-components-totals-wrapper { border-color: var(--ws-border); }
.ws-commerce .ws-commerce-content .wc-block-components-totals-item { padding-block: 14px; }
.ws-commerce .ws-commerce-content .wc-block-components-totals-footer-item { font-size: 20px; font-weight: 800; }
.ws-commerce .ws-commerce-content .wc-block-cart__submit-container { padding-top: 18px; }
.ws-commerce .ws-commerce-content .wc-block-cart__submit-button { width: 100%; }
.ws-commerce .ws-commerce-content .wc-block-components-totals-coupon__button { min-height: 44px; border-radius: 0; padding-block: 10px; background: transparent; color: var(--ws-ink); font: 600 14px/1.5 var(--ws-font); }
.ws-commerce .ws-commerce-content .wc-block-components-panel__button { background: transparent; color: var(--ws-ink); border-radius: 0; }
.ws-commerce .ws-commerce-content .wc-block-components-checkout-step { margin-bottom: 30px; }
.ws-commerce .ws-commerce-content .wc-block-components-checkout-step__heading { margin-bottom: 18px; }
.ws-commerce .ws-commerce-content .wc-block-components-checkout-step__title { font: 800 23px/1.3 var(--ws-font); letter-spacing: -.025em; }
.ws-commerce .ws-commerce-content .wc-block-components-checkout-step__description { font-size: 14px; color: var(--ws-muted); }
.ws-commerce .ws-commerce-content .wc-block-components-text-input input,
.ws-commerce .ws-commerce-content .wc-block-components-combobox .wc-block-components-combobox-control input,
.ws-commerce .ws-commerce-content .wc-block-components-textarea,
.ws-commerce .ws-commerce-content .wc-blocks-components-select .wc-blocks-components-select__select { border: 1px solid #b7c7cd; border-radius: 8px; font-size: 16px; min-height: 54px; }
.ws-commerce .ws-commerce-content .wc-block-components-text-input label { font-size: 16px; font-weight: 400; }
.ws-commerce .ws-commerce-content .wc-block-components-checkbox label { font-weight: 400; }
.ws-commerce .ws-commerce-content .wc-block-components-checkbox .wc-block-components-checkbox__input { min-width: 20px; min-height: 20px; border-color: #98adb6; border-radius: 4px; }
.ws-commerce .ws-commerce-content .wc-block-components-radio-control__option { border-color: var(--ws-border); }
.ws-commerce .ws-commerce-content .wc-block-components-radio-control-accordion-content { color: var(--ws-muted); font-size: 14px; }
.ws-commerce .ws-commerce-content .wc-block-components-checkout-place-order-button { min-width: 200px; }
.ws-commerce .ws-commerce-content .wc-block-components-checkout-return-to-cart-button { font-size: 14px; }
.ws-commerce .ws-commerce-content .wc-block-checkout__terms { font-size: 13px; color: var(--ws-muted); }
/* Empty cart, retaining native recommendations and content. */
.ws-commerce .ws-commerce-content .wp-block-woocommerce-empty-cart-block { border: 1px solid var(--ws-border); border-radius: 16px; background: #fff; padding: 40px; text-align: center; }
.ws-commerce .ws-commerce-content .wc-block-cart__empty-cart__title { font-size: 28px; margin: 0 0 28px; }
.ws-commerce .ws-commerce-content .wc-block-cart__empty-cart__title::before,
.ws-empty-cart-icon { content: ''; display: block; width: 56px; height: 56px; margin: 0 auto 20px; background: var(--ws-link); mask: url('../icons/cart.svg') center/contain no-repeat; }
.ws-commerce .ws-commerce-content .wp-block-woocommerce-empty-cart-block .wp-block-separator { display: none; }
.ws-commerce .ws-commerce-content .wp-block-woocommerce-empty-cart-block .wp-block-product-new { margin: 24px auto 0; max-width: 640px; }
.ws-commerce .ws-commerce-content .wp-block-woocommerce-empty-cart-block .wc-block-grid__products { justify-content: center; }
.ws-commerce .ws-commerce-content .wp-block-woocommerce-empty-cart-block .wc-block-grid__product { flex: 1 1 220px; max-width: 280px; margin-bottom: 0; }
.ws-commerce .ws-commerce-content .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-image img { height: 160px; width: 100%; object-fit: cover; border-radius: 10px; }
.ws-commerce .ws-commerce-content .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-title { font-size: 16px; }
.ws-empty-cart-action { text-align: center; margin: 24px 0 0; }
.ws-commerce.woocommerce-cart .cart-empty { margin-bottom: 0; }
.ws-commerce.woocommerce-cart .return-to-shop { text-align: center; }
/* Classic checkout: keep its original fields, payment controls and hooks. */
.ws-commerce .woocommerce form.checkout { display: grid; grid-template-columns: minmax(0,1.5fr) minmax(340px,1fr); gap: 0 24px; align-items: start; }
.ws-commerce .woocommerce form.checkout #customer_details { grid-column: 1; grid-row: 1 / 4; background: #fff; padding: 28px; border: 1px solid var(--ws-border); border-radius: 16px; }
.ws-commerce .woocommerce form.checkout #customer_details :is(.col-1,.col-2) { width: 100%; float: none; }
.ws-commerce .woocommerce form.checkout #order_review_heading { grid-column: 2; margin: 0; padding: 26px 24px 18px; background: #fff; border: 1px solid var(--ws-border); border-bottom: 0; border-radius: 16px 16px 0 0; }
.ws-commerce .woocommerce form.checkout #order_review { grid-column: 2; background: #fff; padding: 0 24px 24px; border: 1px solid var(--ws-border); border-top: 0; border-radius: 0 0 16px 16px; min-width: 0; }
.ws-commerce .woocommerce form.checkout > .woocommerce-NoticeGroup { grid-column: 1 / -1; grid-row: 1; }
.ws-commerce .woocommerce form.checkout:has(> .woocommerce-NoticeGroup) #customer_details { grid-row: 2 / 5; }
.ws-commerce .woocommerce form.checkout .woocommerce-billing-fields h3 { margin-bottom: 24px; }
.ws-commerce .woocommerce form.checkout .woocommerce-additional-fields { margin-top: 22px; }
.ws-commerce .woocommerce #order_review table.shop_table { border: 0; border-radius: 0; }
.ws-commerce .woocommerce #order_review table.shop_table :is(th,td) { padding: 13px 0; }
.ws-commerce .woocommerce #order_review table.shop_table :is(th,td):last-child { text-align: right; padding-left: 16px; }
.ws-commerce .woocommerce #order_review table.shop_table thead { background: transparent; }
.ws-commerce .woocommerce #payment { border: 1px solid var(--ws-border); border-radius: 12px; background: var(--ws-surface); }
.ws-commerce .woocommerce #payment ul.payment_methods { padding: 18px; border-color: var(--ws-border); }
.ws-commerce .woocommerce #payment ul.payment_methods li label { font-size: 14px; }
.ws-commerce .woocommerce #payment div.payment_box { background: #e3eff4; color: var(--ws-muted); font-size: 13px; }
.ws-commerce .woocommerce #payment div.payment_box::before { border-bottom-color: #e3eff4; }
.ws-commerce .woocommerce #payment div.form-row { padding: 18px; margin: 0; }
.ws-commerce .woocommerce #payment #place_order { width: 100%; float: none; margin-top: 16px; }
.ws-commerce .woocommerce :is(.woocommerce-privacy-policy-text,.woocommerce-terms-and-conditions-wrapper) { font-size: 13px; line-height: 1.7; }
.ws-commerce .woocommerce form.checkout_coupon { background: #fff; border: 1px solid var(--ws-border); border-radius: 12px; }
/* Login, registration and recovery retain WooCommerce's password/nonces/validation. */
.ws-auth { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(0,1fr); gap: 24px; }
.ws-auth__forms, .ws-auth__intro { padding: 36px; border: 1px solid var(--ws-border); border-radius: 16px; background: #fff; min-width: 0; }
.ws-auth__forms > h2 { margin-bottom: 24px; }
.ws-commerce .woocommerce .ws-auth form:is(.login,.register) { border: 0; margin: 0; padding: 0; border-radius: 0; }
.ws-commerce .woocommerce .woocommerce-form-login .woocommerce-form-login__submit { float: none; display: flex; width: 100%; margin: 18px 0 0; }
.ws-commerce .woocommerce .woocommerce-form-login .woocommerce-form-login__rememberme { display: block; font-size: 14px; }
.ws-commerce .woocommerce .woocommerce-LostPassword { margin: 20px 0 0; font-size: 14px; }
.ws-auth__intro { background: #e8f5fb; display: flex; flex-direction: column; justify-content: center; }
.ws-auth__intro h2 { font-size: 30px; max-width: 320px; margin-bottom: 28px; }
.ws-auth__intro ul { list-style: none; margin: 0 0 30px; padding: 0; }
.ws-auth__intro li { display: flex; align-items: center; gap: 12px; padding-block: 12px; font-weight: 600; }
.ws-auth__intro li::before { content: ''; width: 22px; height: 22px; flex: 0 0 22px; background: var(--ws-link); mask: url('../icons/circle-check.svg') center/contain no-repeat; }
.ws-auth__intro > a { font-weight: 700; align-self: flex-start; }
.ws-auth--register { display: block; }
.ws-auth--register .ws-auth__forms { padding: 0; border: 0; background: transparent; }
.ws-auth--register #customer_login { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
.ws-auth--register #customer_login::before, .ws-auth--register #customer_login::after { display: none; }
.ws-auth--register #customer_login > :is(.col-1,.col-2) { float: none; width: 100%; padding: 32px; background: #fff; border: 1px solid var(--ws-border); border-radius: 16px; }
.ws-auth--register #customer_login h2 { margin-bottom: 24px; }
.ws-commerce--password .woocommerce { max-width: 640px; margin-inline: auto; padding: 32px; background: #fff; border: 1px solid var(--ws-border); border-radius: 16px; }
.ws-commerce--password .woocommerce form .form-row { width: 100%; float: none; }
/* Account navigation + all native endpoints, including extensions. */
.ws-commerce.woocommerce-account .woocommerce:has(> .woocommerce-MyAccount-navigation) { display: grid; grid-template-columns: 236px minmax(0,1fr); gap: 24px; align-items: start; }
.ws-commerce.woocommerce-account .woocommerce:has(> .woocommerce-MyAccount-navigation)::before,
.ws-commerce.woocommerce-account .woocommerce:has(> .woocommerce-MyAccount-navigation)::after { display: none; }
.ws-commerce.woocommerce-account .woocommerce > .woocommerce-notices-wrapper { grid-column: 1 / -1; }
.ws-commerce .woocommerce .woocommerce-MyAccount-navigation { float: none; width: 100%; border: 1px solid var(--ws-border); border-radius: 16px; background: #fff; padding: 12px 0; }
.ws-commerce .woocommerce .woocommerce-MyAccount-navigation ul { margin: 0; }
.ws-commerce .woocommerce .woocommerce-MyAccount-navigation li { margin: 0; padding: 0; }
.ws-commerce .woocommerce .woocommerce-MyAccount-navigation a { display: block; padding: 15px 20px; border: 0; border-left: 3px solid transparent; color: var(--ws-ink); font-size: 14px; font-weight: 600; text-decoration: none; }
.ws-commerce .woocommerce .woocommerce-MyAccount-navigation .is-active a { color: var(--ws-link); border-left-color: var(--ws-blue); background: #eaf7fc; font-weight: 700; }
.ws-commerce .woocommerce .woocommerce-MyAccount-navigation a:hover { background: var(--ws-surface); }
.ws-commerce .woocommerce .woocommerce-MyAccount-content { float: none; width: 100%; min-width: 0; background: #fff; padding: 30px; border: 1px solid var(--ws-border); border-radius: 16px; }
.ws-commerce .woocommerce .woocommerce-MyAccount-content > :last-child { margin-bottom: 0; }
.ws-account-title { margin-bottom: 26px; }
.ws-commerce .woocommerce .woocommerce-orders-table { font-size: 13px; }
.ws-commerce .woocommerce .woocommerce-orders-table :is(th,td) { padding: 15px 12px; }
.ws-commerce .woocommerce .woocommerce-orders-table .button { min-height: 40px; padding: 9px 16px; font-size: 13px; margin: 3px 3px 3px 0; }
.ws-commerce .woocommerce .woocommerce-orders-table .woocommerce-orders-table__cell-order-number a { font-weight: 700; }
.ws-order-status { display: inline-block; padding: 5px 9px; border-radius: 6px; background: #eef1f3; color: #475b64; font-size: 12px; font-weight: 600; }
.ws-order-status--completed { background: #e8f5eb; color: #276139; }
.ws-order-status--processing { background: #e8f5fc; color: #086382; }
.ws-order-status--on-hold, .ws-order-status--pending { background: #fff3d5; color: #815300; }
.ws-order-status--failed, .ws-order-status--cancelled { background: #fbeaec; color: #923641; }
.ws-commerce .woocommerce .woocommerce-Addresses { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.ws-commerce .woocommerce .woocommerce-Addresses::before,.ws-commerce .woocommerce .woocommerce-Addresses::after { display: none; }
.ws-commerce .woocommerce .woocommerce-Addresses > :is(.col-1,.col-2) { float: none; width: auto; }
.ws-commerce .woocommerce .woocommerce-Address address { border: 1px solid var(--ws-border); border-radius: 12px; padding: 20px; font-style: normal; font-size: 14px; }
.ws-commerce .woocommerce .woocommerce-Address-title h2 { font-size: 20px; }
.ws-commerce .woocommerce .woocommerce-EditAccountForm fieldset { border-radius: 12px; margin: 24px 0; padding: 20px; }
.ws-commerce .woocommerce .woocommerce-EditAccountForm legend { font-weight: 700; }
/* Order confirmation, payment retry and detail views. No success message is invented. */
.ws-commerce .woocommerce .woocommerce-order > .woocommerce-notice { padding: 24px 28px; background: #fff; border: 1px solid var(--ws-border); border-radius: 16px; font-size: 20px; font-weight: 700; }
.ws-commerce .woocommerce .woocommerce-thankyou-order-received::before { content: ''; display: inline-block; width: 28px; height: 28px; vertical-align: middle; margin-right: 12px; background: var(--ws-link); mask: url('../icons/circle-check.svg') center/contain no-repeat; }
.ws-commerce .woocommerce ul.order_details { display: flex; flex-wrap: wrap; gap: 24px 0; margin: 0 0 28px; padding: 24px 12px; background: #fff; border: 1px solid var(--ws-border); border-radius: 16px; }
.ws-commerce .woocommerce ul.order_details::before,.ws-commerce .woocommerce ul.order_details::after { display: none; }
.ws-commerce .woocommerce ul.order_details li { float: none; flex: 1 1 180px; padding: 0 20px; margin: 0; border-right: 1px solid var(--ws-border); font-size: 12px; text-transform: none; color: var(--ws-muted); }
.ws-commerce .woocommerce ul.order_details li:last-child { border: 0; }
.ws-commerce .woocommerce ul.order_details li strong { display: block; margin-top: 7px; color: var(--ws-ink); font-size: 16px; overflow-wrap: anywhere; }
.ws-commerce .woocommerce .woocommerce-order > :is(.woocommerce-order-details,.woocommerce-customer-details,.woocommerce-bacs-bank-details) { padding: 28px; margin-bottom: 24px; border: 1px solid var(--ws-border); border-radius: 16px; background: #fff; }
.ws-commerce .woocommerce .woocommerce-order-details :is(h2,h3),.ws-commerce .woocommerce .woocommerce-customer-details h2 { margin-bottom: 20px; }
.ws-commerce .woocommerce .woocommerce-order-details table { margin-bottom: 0; }
.ws-commerce .woocommerce .woocommerce-customer-details address { border: 1px solid var(--ws-border); border-radius: 10px; padding: 20px; font-size: 14px; line-height: 1.8; }
.ws-commerce .woocommerce .woocommerce-thankyou-order-failed { color: #923641; background: #fff3f1; }
.ws-commerce .woocommerce .woocommerce-thankyou-order-failed-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.ws-commerce--pay .woocommerce > #order_review { background: #fff; padding: 28px; border: 1px solid var(--ws-border); border-radius: 16px; }
.ws-commerce--received .woocommerce > form.login { max-width: 640px; background: #fff; border: 1px solid var(--ws-border); border-radius: 16px; padding: 28px; }
.ws-commerce--received .woocommerce-verify-email { background: #fff; padding: 28px; border-radius: 16px; border: 1px solid var(--ws-border); }
@media (max-width: 1000px) {
 .ws-commerce .woocommerce .woocommerce-MyAccount-content { padding: 22px; }
 .ws-commerce.woocommerce-account .woocommerce:has(> .woocommerce-MyAccount-navigation) { grid-template-columns: 210px minmax(0,1fr); gap: 18px; }
 .ws-commerce .ws-commerce-content :is(.wc-block-cart__main,.wc-block-checkout__main,.wc-block-cart__sidebar) { padding: 20px !important; }
 .ws-auth__forms,.ws-auth__intro { padding: 28px; }
}
@media (max-width: 800px) {
 .ws-commerce-main { padding: 32px 0 44px; }
 .ws-commerce-heading { margin-bottom: 26px; }
 .ws-commerce-heading p { font-size: 15px; }
 .ws-commerce-steps { margin-bottom: 26px; }
 .ws-commerce-steps li > :is(a,span) { gap: 7px; font-size: 12px; }
 .ws-commerce-steps__number { width: 26px; height: 26px; flex-basis: 26px; }
 .ws-commerce.woocommerce-cart .ws-commerce-content > .woocommerce,
 .ws-commerce .woocommerce form.checkout { grid-template-columns: minmax(0,1fr); }
 .ws-commerce .woocommerce form.checkout #customer_details { grid-row: auto !important; padding: 22px; margin-bottom: 24px; }
 .ws-commerce .woocommerce form.checkout :is(#order_review_heading,#order_review) { grid-column: 1; }
 .ws-commerce .ws-commerce-content .wc-block-components-sidebar-layout { flex-direction: column; }
 .ws-commerce .ws-commerce-content .wc-block-components-sidebar-layout :is(.wc-block-components-main,.wc-block-components-sidebar) { width: 100%; margin-bottom: 0; }
 .ws-commerce .ws-commerce-content .wc-block-components-sidebar { position: static; }
 .ws-commerce .ws-commerce-content .wc-block-components-checkout-place-order-button { min-width: 0; }
 .ws-commerce.woocommerce-account .woocommerce:has(> .woocommerce-MyAccount-navigation) { grid-template-columns: minmax(0,1fr); }
 .ws-commerce .woocommerce .woocommerce-MyAccount-navigation { padding: 8px; border-radius: 12px; }
 .ws-commerce .woocommerce .woocommerce-MyAccount-navigation ul { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 4px; }
 .ws-commerce .woocommerce .woocommerce-MyAccount-navigation a { padding: 12px; border-radius: 6px; font-size: 13px; min-height: 44px; }
 .ws-commerce .woocommerce .woocommerce-MyAccount-content { padding: 22px; }
 .ws-auth { grid-template-columns: minmax(0,1fr); }
 .ws-auth__intro { padding: 28px; }
 .ws-auth__intro h2 { max-width: none; font-size: 26px; }
 .ws-commerce .woocommerce ul.order_details li { flex-basis: 45%; }
 .ws-commerce .woocommerce .woocommerce-order > :is(.woocommerce-order-details,.woocommerce-customer-details,.woocommerce-bacs-bank-details) { padding: 22px; }
}
@media (max-width: 600px) {
 .ws-commerce .ws-commerce-content { font-size: 14px; }
 .ws-commerce .ws-commerce-content :is(h2,h3),.ws-commerce .ws-commerce-content .wc-block-components-checkout-step__title { font-size: 22px; }
 .ws-commerce-steps li > :is(a,span) { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; font-size: 11px; }
 .ws-commerce-steps li { padding-bottom: 12px; }
 .ws-commerce .ws-commerce-content :is(.wc-block-cart__main,.wc-block-checkout__main,.wc-block-cart__sidebar) { padding: 18px !important; }
 .ws-commerce .ws-commerce-content .wc-block-cart table.wc-block-cart-items .wc-block-cart-items__row { grid-template-columns: 72px minmax(0,1fr); gap: 0 14px; }
 .ws-commerce .ws-commerce-content .wc-block-cart table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__image { padding-right: 0; }
 .ws-commerce .ws-commerce-content .wc-block-cart .wc-block-cart-item__total { display: none; }
 .ws-commerce .ws-commerce-content .wc-block-components-product-name { font-size: 15px; }
 .ws-commerce .ws-commerce-content .wc-block-components-totals-footer-item { font-size: 19px; }
 .ws-commerce .ws-commerce-content .wc-block-components-checkout-place-order { flex-wrap: wrap; gap: 16px; }
 .ws-commerce .ws-commerce-content .wc-block-components-checkout-place-order-button { width: 100%; }
 .ws-commerce .ws-commerce-content .wc-block-components-checkout-step__container { padding-left: 0; }
 .ws-commerce .ws-commerce-content .wc-block-components-checkout-step__heading-content { flex-wrap: wrap; gap: 8px; }
 .ws-commerce .woocommerce table.shop_table_responsive tr td { text-align: right !important; }
 .ws-commerce .woocommerce table.shop_table_responsive tr td::before { float: left; margin-right: 12px; font-weight: 600; color: var(--ws-muted); }
 .ws-commerce .woocommerce table.shop_table_responsive tr:nth-child(2n) td { background: #fff; }
 .ws-commerce .woocommerce table.shop_table_responsive tr { margin-bottom: 16px; }
 .ws-commerce .woocommerce table.shop_table_responsive tr:last-child { margin-bottom: 0; }
 .ws-commerce .woocommerce table.shop_table_responsive tr td { min-height: 48px; padding: 13px 16px; }
 .ws-commerce .woocommerce table.cart .coupon { float: none; }
 .ws-commerce .woocommerce table.cart .coupon .input-text { width: 100%; }
 .ws-commerce .woocommerce table.cart .coupon .button { width: 100%; }
 .ws-commerce .woocommerce .cart_totals { padding: 22px; }
 .ws-commerce .woocommerce .woocommerce-Addresses { grid-template-columns: minmax(0,1fr); }
 .ws-commerce .woocommerce form .form-row-first,.ws-commerce .woocommerce form .form-row-last { float: none; width: 100%; }
 .ws-commerce .woocommerce .woocommerce-EditAccountForm fieldset { padding: 16px; }
 .ws-commerce .woocommerce .woocommerce-MyAccount-content { padding: 20px 16px; }
 .ws-commerce .woocommerce .woocommerce-orders-table .woocommerce-orders-table__cell-order-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
 .ws-commerce .woocommerce .woocommerce-orders-table .woocommerce-orders-table__cell-order-actions::before { margin-right: auto; }
 .ws-auth__forms,.ws-auth__intro,.ws-auth--register #customer_login > :is(.col-1,.col-2) { padding: 24px; }
 .ws-auth--register #customer_login { grid-template-columns: minmax(0,1fr); }
 .ws-commerce--password .woocommerce { padding: 24px; }
 .ws-commerce .ws-commerce-content .wp-block-woocommerce-empty-cart-block { padding: 28px 18px; }
 .ws-commerce .ws-commerce-content .wc-block-cart__empty-cart__title { font-size: 24px; }
 .ws-commerce .woocommerce ul.order_details { padding: 20px 8px; }
 .ws-commerce .woocommerce ul.order_details li { padding-inline: 12px; }
 .ws-commerce .woocommerce ul.order_details li strong { font-size: 14px; }
 .ws-commerce .woocommerce .woocommerce-order > .woocommerce-notice { padding: 22px; font-size: 18px; }
 .ws-commerce .woocommerce .woocommerce-order > :is(.woocommerce-order-details,.woocommerce-customer-details,.woocommerce-bacs-bank-details) { padding: 20px 16px; }
 .ws-commerce .woocommerce .woocommerce-order-details table.shop_table :is(th,td) { padding: 12px 10px; font-size: 13px; }
 .ws-commerce .woocommerce .woocommerce-order-details table.shop_table .product-total { width: 30%; }
 .ws-commerce .woocommerce .woocommerce-customer-details :is(.col-1,.col-2) { width: 100%; float: none; margin-bottom: 20px; }
 .ws-commerce .woocommerce .woocommerce-customer-details :is(.col-1,.col-2):last-child { margin-bottom: 0; }
 .ws-commerce-help { margin-top: 32px; }
}
/* Match WooCommerce's form-row specificity, also when its stylesheet is printed later. */
.ws-commerce .woocommerce form .form-row :is(input.input-text,textarea,select) { border-radius: 8px; }
.ws-commerce .ws-commerce-content .wc-block-cart .wc-block-components-product-name { font-size: 16px; font-weight: 700; line-height: 1.5; }
.ws-commerce .ws-commerce-content .wc-block-cart .wc-block-cart-item__image { width: 100px; }
.ws-commerce .ws-commerce-content .wc-block-cart .wc-block-cart-item__image img { width: 84px; height: 84px; max-width: 100%; object-fit: cover; }
.ws-commerce .ws-commerce-content .wc-block-components-totals-footer-item { display: grid; grid-template-columns: minmax(0,1fr) auto; column-gap: 14px; align-items: center; }
.ws-commerce .ws-commerce-content .wc-block-components-totals-footer-item .wc-block-components-totals-item__label { font-size: 14px; font-weight: 600; line-height: 1.5; }
.ws-commerce .ws-commerce-content .wc-block-components-totals-footer-item .wc-block-components-totals-item__value { font-size: 21px; font-weight: 800; white-space: nowrap; }
.ws-commerce .ws-commerce-content .wc-block-components-totals-footer-item .wc-block-components-totals-item__description { grid-column: 1/-1; }
@media(max-width:600px) {
 .ws-commerce .ws-commerce-content .wc-block-cart .wc-block-cart-item__image { width: auto; }
 .ws-commerce .ws-commerce-content .wc-block-cart .wc-block-cart-item__image img { width: 72px; height: 72px; }
 .ws-commerce .ws-commerce-content .wc-block-cart .wc-block-components-product-name { font-size: 15px; }
}
.ws-commerce .ws-commerce-content .wc-block-components-totals-wrapper { padding-block: 10px; }
.ws-commerce .ws-commerce-content .wc-block-components-totals-item { padding-block: 8px; }
.ws-commerce .ws-commerce-content .wc-block-components-chip { border-radius: 6px; font-size: 12px; padding: 4px 6px 4px 9px; }
.ws-commerce .ws-commerce-content .wc-block-components-chip__remove { min-width: 24px; min-height: 24px; padding: 0; border: 0; border-radius: 4px; color: var(--ws-ink); background: transparent; }
.ws-commerce .ws-commerce-content .wc-block-components-chip__remove:hover { background: #dcebf1; }
.ws-commerce .ws-commerce-content .wc-block-components-totals-coupon__form .wc-block-components-button { font-size: 13px; min-height: 48px; padding: 10px 18px; background: var(--ws-link); color: #fff; }
@media (max-width:600px) {
 .ws-commerce .ws-commerce-content .wc-block-cart .wc-block-cart-item__total { display: block; grid-column: 2; padding-top: 0 !important; text-align: left; }
}
.ws-commerce .ws-commerce-content .wc-block-checkout .wc-block-components-text-input input,
.ws-commerce .ws-commerce-content .wc-block-checkout .wc-block-components-combobox-control input { border-radius: 8px; }
.ws-commerce .ws-commerce-content .wc-block-checkout .wc-block-components-order-summary-item__image img { width: 56px; height: 56px; object-fit: cover; }
.ws-commerce .ws-commerce-content .wc-block-checkout .wc-block-components-order-summary__button-text { font: 800 21px/1.3 var(--ws-font); }
.ws-commerce .ws-commerce-content .wc-block-components-radio-control-accordion-option { border-radius: 10px; }
.ws-commerce .ws-commerce-content .wc-block-components-radio-control-accordion-option--checked-option-highlighted { outline-color: var(--ws-link); background: #f0f8fc; }
.ws-commerce .ws-commerce-content .wc-block-components-radio-control__input:checked { border-color: var(--ws-link); }
.ws-commerce .ws-commerce-content .wc-block-components-radio-control__input:checked::before { background: var(--ws-link); }
.ws-commerce .ws-commerce-content .wc-block-cart .wc-block-cart__totals-title { display: block; }
.ws-commerce .woocommerce .woocommerce-order > .woocommerce-thankyou-order-received:has(+ .order_details) { margin-bottom: 0; border-bottom: 0; border-radius: 16px 16px 0 0; }
.ws-commerce .woocommerce .woocommerce-order > .woocommerce-thankyou-order-received + .order_details { border-top: 0; border-radius: 0 0 16px 16px; }
@media(max-width:600px) {
 .ws-commerce .ws-commerce-content .wc-block-cart table.wc-block-cart-items .wc-block-cart-item__product { grid-column: 2; grid-row: 1; }
 .ws-commerce .ws-commerce-content .wc-block-cart table.wc-block-cart-items .wc-block-cart-item__total { grid-column: 2; grid-row: 2; padding: 0 0 8px !important; font-weight: 700; text-align: left; }
 .ws-commerce .ws-commerce-content .wc-block-cart table.wc-block-cart-items .wc-block-cart-items__row { padding-block: 0; }
}
.ws-commerce .woocommerce .woocommerce-orders-table thead th { white-space: nowrap; font-size: 12px; }
.ws-commerce .woocommerce .woocommerce-orders-table .woocommerce-orders-table__cell-order-date { min-width: 136px; }
.ws-commerce .woocommerce .woocommerce-orders-table .woocommerce-orders-table__cell-order-number { min-width: 100px; }
.ws-commerce .woocommerce .woocommerce-orders-table .woocommerce-orders-table__cell-order-actions { min-width: 134px; }
.ws-commerce .ws-commerce-content .wc-block-components-notice-banner__dismiss { min-width: 28px; min-height: 28px; padding: 2px; border-radius: 4px; background: transparent; color: var(--ws-ink); }
@media(max-width:768px) {
 .ws-commerce .woocommerce .woocommerce-orders-table tbody .woocommerce-orders-table__cell-order-number { display: block; background: #edf7fb; padding: 14px 16px; border-bottom: 0; text-align: left; }
 .ws-commerce .woocommerce .woocommerce-orders-table :is(.woocommerce-orders-table__cell-order-number,.woocommerce-orders-table__cell-order-date,.woocommerce-orders-table__cell-order-actions) { min-width: 0; }
 .ws-commerce .woocommerce :is(.woocommerce-info,.woocommerce-message) .button { float: none; display: flex; width: 100%; margin: 0 0 12px; }
 .ws-commerce .woocommerce .woocommerce-orders-table .ws-order-status { max-width: 100%; }
}
.ws-commerce.woocommerce-cart .ws-commerce-content > .woocommerce::before,
.ws-commerce.woocommerce-cart .ws-commerce-content > .woocommerce::after { display: none; }
.ws-commerce .ws-commerce-content .wc-block-components-checkout-order-summary__title { padding: 18px; }
.ws-commerce .ws-commerce-content .wc-block-components-checkout-order-summary__title-text { font: 700 16px/1.4 var(--ws-font); }
.ws-commerce .ws-commerce-content .wc-block-components-checkout-order-summary__title-price { font-size: 14px; white-space: nowrap; }
@media (min-width:801px) and (max-width:1100px) {
 .ws-commerce.woocommerce-account .woocommerce:has(> .woocommerce-MyAccount-navigation) { grid-template-columns: minmax(0,1fr); }
 .ws-commerce .woocommerce .woocommerce-MyAccount-navigation ul { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); }
 .ws-commerce .woocommerce .woocommerce-MyAccount-navigation { padding: 8px; }
 .ws-commerce .woocommerce .woocommerce-MyAccount-navigation a { border-radius: 6px; }
}
/* Base input rule has multiple :not() clauses. Scope these overrides with the
   commerce main ID so native floating labels and compact quantities win. */
.ws-commerce #main-content .woocommerce input.input-text,
.ws-commerce #main-content .woocommerce textarea { border-radius: 8px; }
.ws-commerce #main-content table.cart .quantity .qty { width: 62px; min-width: 62px; padding: 10px 4px; }
.ws-commerce #main-content table.cart .coupon .input-text { width: 160px; }
.ws-commerce #main-content table.cart :is(.product-price,.product-subtotal) { white-space: nowrap; }
.ws-commerce #main-content .wc-block-components-text-input input { border-radius: 8px; padding: 16px 12px; }
.ws-commerce #main-content .wc-block-components-text-input.is-active input { padding: 24px 12px 8px; }
.ws-commerce #main-content .wc-block-components-quantity-selector__input { width: 36px; padding: 4px 0; border: 0; border-radius: 0; }
@media(max-width:768px) {
 .ws-commerce .woocommerce table.cart tbody th.product-name { display: block; padding: 16px; border-bottom: 0; text-align: left; background: #edf7fb; }
 .ws-commerce #main-content table.cart .coupon .input-text { width: 100%; }
}
.ws-commerce .woocommerce .woocommerce-Price-amount { white-space: nowrap; }
