/* Native WooCommerce cart + checkout. All styling is scoped to these two pages. */
body.ps-woo-global-ui.ps-commerce-page {
  --ps-woo-page-max: 1180px;
  --ps-woo-page-gutter: 24px;
  --ps-commerce-ink: #161b28;
  --ps-commerce-muted: #657080;
  --ps-commerce-line: #e7e9ee;
  --ps-commerce-accent: #080063;
  background: #f7f8fa;
  color: var(--ps-commerce-ink);
}

body.ps-commerce-page .site-main {
  --ps-overlay-main-inset: calc(var(--ps-overlay-content-clearance, 112px) + 40px);
  padding: 44px 24px 80px !important;
  min-height: 65vh;
}
body.ps-commerce-page .site-main > .page-content > .woocommerce,
body.ps-commerce-page .site-main > .entry-content > .woocommerce,
body.ps-commerce-page .site-main > .woocommerce {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
}
body.ps-commerce-page .site-main .woocommerce *,
body.ps-commerce-page .site-main .woocommerce *::before,
body.ps-commerce-page .site-main .woocommerce *::after { box-sizing: border-box; }
body.ps-commerce-page .site-main .woocommerce a { text-underline-offset: 4px; }
body.ps-commerce-page .site-main :is(a, button, input, select, textarea):focus-visible {
  outline: var(--ps-focus-width, 1px) solid var(--ps-focus-ring, #667085);
  outline-offset: 4px;
}

/* A concise page identity and a genuine two-step journey. */
body.ps-commerce-page .ps-commerce-intro { margin-bottom: 32px; }
body.ps-commerce-page .ps-commerce-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  margin-bottom: 24px;
  color: #525d6c;
  font-size: 13px;
  font-weight: 550;
  text-decoration: none;
}
body.ps-commerce-page .ps-commerce-back svg { width: 17px; height: 17px; }
body.ps-commerce-page .ps-commerce-back:hover { color: var(--ps-commerce-accent); }
body.ps-commerce-page .ps-commerce-intro__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
body.ps-commerce-page .ps-commerce-eyebrow {
  margin: 0 0 10px;
  color: #626d7b;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .12em;
  text-transform: uppercase;
}
body.ps-commerce-page .ps-commerce-intro h1 {
  margin: 0;
  color: var(--ps-commerce-ink);
  font-size: clamp(32px, 3.8vw, 48px);
  font-weight: 650;
  line-height: 1.13;
  letter-spacing: -.045em;
}
body.ps-commerce-page .ps-commerce-lead { margin: 14px 0 0; color: var(--ps-commerce-muted); font-size: 15px; line-height: 1.6; }
body.ps-commerce-page .ps-commerce-steps ol { display: flex; align-items: center; gap: 18px; padding: 0; margin: 0; list-style: none; }
body.ps-commerce-page .ps-commerce-steps li,
body.ps-commerce-page .ps-commerce-steps a { display: flex; align-items: center; gap: 9px; white-space: nowrap; font-size: 13px; font-weight: 600; color: #717987; text-decoration: none; }
body.ps-commerce-page .ps-commerce-steps li + li::before { content: ''; width: 36px; height: 1px; background: #d5d9e1; margin-right: 8px; }
body.ps-commerce-page .ps-commerce-steps li span { display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid #dce0e7; border-radius: 50%; font-size: 11px; }
body.ps-commerce-page .ps-commerce-steps li[aria-current] { color: var(--ps-commerce-accent); }
body.ps-commerce-page .ps-commerce-steps li[aria-current] span { background: var(--ps-commerce-accent); border-color: var(--ps-commerce-accent); color: #fff; }

/* Cards sit on a quiet canvas, with a deliberately stronger order summary. */
body.ps-commerce-page .ps-commerce-cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; align-items: start; gap: 28px; }
body.ps-commerce-page .ps-commerce-checkout-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(390px, .82fr); align-items: start; gap: 28px; }
body.ps-commerce-page .site-main :is(.woocommerce-cart-form, .cart_totals, #customer_details, .ps-commerce-summary) {
  min-width: 0;
  width: 100%;
  margin: 0;
  padding: 28px;
  border: 1px solid var(--ps-commerce-line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 3px 8px rgba(22, 27, 40, .015);
}
body.ps-commerce-page .site-main .cart-collaterals { width: 100%; min-width: 0; }
body.ps-commerce-page .site-main .cart_totals { float: none; border-color: #dcdfea; }
body.ps-commerce-page .site-main :where(.cart_totals h2, .ps-commerce-cart-heading h2, #customer_details h3, #order_review_heading, .ps-commerce-payment-title) {
  margin: 0 0 24px;
  padding: 0;
  color: var(--ps-commerce-ink);
  font-size: 21px;
  font-weight: 650;
  line-height: 1.3;
  letter-spacing: -.025em;
}
body.ps-commerce-page .ps-commerce-cart-heading { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px; }
body.ps-commerce-page .ps-commerce-cart-status { font-size: 12px; color: var(--ps-commerce-muted); }
body.ps-commerce-page .site-main table.shop_table { width: 100%; margin: 0; border: 0; border-radius: 0; border-collapse: collapse; font-size: 14px; }
body.ps-commerce-page .site-main table.shop_table :is(th, td) { background: transparent !important; border: 0; box-shadow: none; }

/* Native cart rows, presented as product cards while preserving every input. */
body.ps-commerce-page .site-main table.woocommerce-cart-form__contents { display: block; }
body.ps-commerce-page .site-main .woocommerce-cart-form__contents > tbody { display: block; }
body.ps-commerce-page .site-main .woocommerce-cart-form__contents > thead,
body.ps-commerce-page .site-main .woocommerce-checkout-review-order-table > thead {
  position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap;
}
body.ps-commerce-page .site-main .woocommerce-cart-form__contents tr.cart_item {
  position: relative;
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) 120px 32px;
  grid-template-rows: auto auto;
  align-items: center;
  gap: 14px 16px;
  padding: 24px 0;
  border-top: 1px solid var(--ps-commerce-line);
}
body.ps-commerce-page .site-main .woocommerce-cart-form__contents tr.cart_item :is(td, th) { display: block; padding: 0; text-align: left !important; min-width: 0; }
body.ps-commerce-page .site-main .woocommerce-cart-form__contents tr.cart_item :is(td, th)::before { display: none; }
body.ps-commerce-page .site-main .woocommerce-cart-form__contents .product-thumbnail { display: block !important; grid-column: 1; grid-row: 1 / 3; align-self: start; }
body.ps-commerce-page .site-main .woocommerce-cart-form__contents .product-thumbnail a { display: grid; place-items: center; aspect-ratio: 1; background: #f6f7f9; border-radius: 14px; padding: 8px; }
body.ps-commerce-page .site-main .woocommerce-cart-form__contents .product-thumbnail img { width: 80px; height: 80px; max-width: 100%; object-fit: contain; mix-blend-mode: multiply; }
body.ps-commerce-page .site-main .woocommerce-cart-form__contents .product-name { grid-column: 2; grid-row: 1; align-self: start; font-size: 15px; font-weight: 600; line-height: 1.5; overflow-wrap: anywhere; }
body.ps-commerce-page .site-main .woocommerce-cart-form__contents .product-name a { color: var(--ps-commerce-ink); text-decoration: none; }
body.ps-commerce-page .site-main .woocommerce-cart-form__contents .product-name a:hover { text-decoration: underline; }
body.ps-commerce-page .site-main .woocommerce-cart-form__contents .product-price { grid-column: 2; grid-row: 2; color: var(--ps-commerce-muted); font-size: 13px; }
body.ps-commerce-page .site-main .woocommerce-cart-form__contents .product-price::after { content: ' / buc.'; font-size: 11px; }
body.ps-commerce-page .site-main .woocommerce-cart-form__contents .product-subtotal { grid-column: 3; grid-row: 1; align-self: start; text-align: right !important; font-size: 17px; font-weight: 650; letter-spacing: -.025em; }
body.ps-commerce-page .site-main .woocommerce-cart-form__contents .product-quantity { grid-column: 3; grid-row: 2; justify-self: end; }
body.ps-commerce-page .site-main .woocommerce-cart-form__contents .product-remove { grid-column: 4; grid-row: 1; align-self: start; justify-self: end; }
body.ps-commerce-page .site-main .woocommerce-cart-form .product-remove a.remove { display: grid; place-items: center; width: 32px; height: 36px; border-radius: 8px; color: #7a818f !important; background: transparent; text-decoration: none; }
body.ps-commerce-page .site-main .woocommerce-cart-form .product-remove a.remove:hover { background: #fff0ed; color: #b43820 !important; }
body.ps-commerce-page .site-main .woocommerce-cart-form .product-remove svg { width: 19px; height: 19px; }
body.ps-commerce-page .site-main .woocommerce-cart-form .quantity { display: inline-flex; align-items: center; border: 1px solid #dce0e7; border-radius: 10px; overflow: visible; background: #fff; }
body.ps-commerce-page .site-main .woocommerce-cart-form .quantity input.qty { width: 40px; min-height: 42px !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; background: transparent !important; font-size: 14px; font-weight: 600; text-align: center; }
body.ps-commerce-page .site-main .ps-commerce-auto-cart .quantity input.qty { appearance: textfield; -moz-appearance: textfield; }
body.ps-commerce-page .site-main .ps-commerce-auto-cart .quantity input.qty::-webkit-inner-spin-button,
body.ps-commerce-page .site-main .ps-commerce-auto-cart .quantity input.qty::-webkit-outer-spin-button { appearance: none; margin: 0; }
body.ps-commerce-page .site-main .ps-commerce-qty-button { display: grid; place-items: center; width: 34px; min-height: 42px; padding: 0; border: 0; border-radius: 9px; background: transparent; color: var(--ps-commerce-ink); font-size: 20px; font-weight: 400; box-shadow: none; cursor: pointer; }
body.ps-commerce-page .site-main .ps-commerce-qty-button:hover { background: #f1f2f6; }
body.ps-commerce-page .site-main .ps-commerce-qty-button:disabled { color: #bbc0c8; cursor: default; background: transparent; }
body.ps-commerce-page .site-main .woocommerce-cart-form__contents tbody > tr:not(.cart_item) { display: block; }
body.ps-commerce-page .site-main .woocommerce-cart-form__contents td.actions { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0 0; border-top: 1px solid var(--ps-commerce-line); }
body.ps-commerce-page .site-main .woocommerce-cart-form .coupon { display: flex; flex-wrap: wrap; gap: 8px; float: none; max-width: 100%; }
body.ps-commerce-page .site-main .woocommerce-cart-form .coupon::before,
body.ps-commerce-page .site-main .woocommerce-cart-form .coupon::after { content: none !important; display: none !important; }
body.ps-commerce-page .site-main .woocommerce-cart-form .coupon .button { float: none; white-space: nowrap; }
body.ps-commerce-page .site-main .woocommerce-cart-form .coupon .coupon-error-notice { grid-column: 1 / -1; flex-basis: 100%; width: 100% !important; float: none !important; margin: 2px 0 0; color: #a33c24; font-size: 12px; line-height: 1.5; }
body.ps-commerce-page .site-main .woocommerce-cart-form .coupon input#coupon_code { width: 150px !important; min-width: 0; margin: 0; float: none; }
body.ps-commerce-page .site-main .ps-commerce-auto-cart [name="update_cart"] { display: none !important; }
body.ps-commerce-page .site-main .woocommerce-cart-form dl.variation { margin: 6px 0 0; font-size: 12px; color: var(--ps-commerce-muted); font-weight: 400; }
body.ps-commerce-page .site-main .woocommerce-cart-form dl.variation p { margin: 0; }

/* Woo calculates and renders all totals, shipping and taxes. */
body.ps-commerce-page .site-main .cart_totals table :is(th, td),
body.ps-commerce-page .site-main .woocommerce-checkout-review-order-table tfoot :is(th, td) { padding: 12px 0; vertical-align: top; font-size: 13px; line-height: 1.6; }
body.ps-commerce-page .site-main .cart_totals table th,
body.ps-commerce-page .site-main .woocommerce-checkout-review-order-table tfoot th { width: 37%; color: #5c6573; font-weight: 450; text-align: left; }
body.ps-commerce-page .site-main .woocommerce-checkout-review-order-table tfoot th { width: auto; }
body.ps-commerce-page .site-main .cart_totals table td,
body.ps-commerce-page .site-main .woocommerce-checkout-review-order-table tfoot td { text-align: right; }
body.ps-commerce-page .site-main .woocommerce-shipping-totals :is(th, td) { border-top: 1px solid var(--ps-commerce-line); }
body.ps-commerce-page .site-main .cart_totals .woocommerce-shipping-destination { margin: 8px 0 0; color: var(--ps-commerce-muted); font-size: 12px; }
body.ps-commerce-page .site-main .shipping-calculator-button { display: inline-block; margin: 8px 0 0; font-size: 12px; color: var(--ps-commerce-accent); }
body.ps-commerce-page .site-main .shipping-calculator-button::after { display: none; }
body.ps-commerce-page .site-main .woocommerce-shipping-methods { margin: 0; padding: 0; list-style: none; }
body.ps-commerce-page .site-main .woocommerce-shipping-methods li { margin: 0 0 5px; }
body.ps-commerce-page .site-main .woocommerce-shipping-methods label { display: inline; }
body.ps-commerce-page .site-main :is(.cart_totals, .woocommerce-checkout-review-order-table) .order-total :is(th, td) { padding-top: 22px; border-top: 1px solid var(--ps-commerce-line); font-size: 20px; color: var(--ps-commerce-ink); letter-spacing: -.025em; }
body.ps-commerce-page .site-main .order-total td strong { font-weight: 700; }
body.ps-commerce-page .site-main .order-total small { display: block; margin-top: 5px; color: var(--ps-commerce-muted); font-size: 11px; font-weight: 400; letter-spacing: 0; line-height: 1.5; }
body.ps-commerce-page .site-main .wc-proceed-to-checkout { padding: 24px 0 0; }
body.ps-commerce-page .site-main .cart_totals #wcpay-express-checkout-element { margin-top: 12px; }

/* Touch-friendly fields and buttons, without changing names or validation. */
body.ps-commerce-page .site-main .woocommerce :is(input.input-text, select, textarea) {
  min-height: 48px !important;
  padding: 12px 14px !important;
  border: 1px solid #dce0e7 !important;
  border-radius: 10px !important;
  background: #fff !important;
  color: var(--ps-commerce-ink);
  font-family: inherit;
  font-size: 15px;
  line-height: 1.4;
  box-shadow: none;
  transition: border-color .15s ease;
}
body.ps-commerce-page .site-main .woocommerce input::placeholder,
body.ps-commerce-page .site-main .woocommerce textarea::placeholder { color: #88909c; font-weight: 400; opacity: 1; }
body.ps-commerce-page .site-main .woocommerce .button {
  min-height: 46px !important;
  padding: 11px 18px !important;
  border-radius: 10px !important;
  background: #f4f5f8 !important;
  border: 1px solid #e1e4eb !important;
  color: var(--ps-commerce-ink) !important;
  box-shadow: none !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  text-decoration: none;
  transition: background .15s ease, border-color .15s ease;
}
body.ps-commerce-page .site-main .woocommerce .button:hover { background: #e9ecf2 !important; border-color: #cfd5e0 !important; }
body.ps-commerce-page .site-main .woocommerce :is(.checkout-button, #place_order, .return-to-shop .button) {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100% !important;
  min-height: 54px !important;
  margin: 0;
  padding: 15px 20px !important;
  border-radius: 12px !important;
  background: var(--ps-commerce-accent) !important;
  border-color: var(--ps-commerce-accent) !important;
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.5 !important;
  text-align: center;
}
body.ps-commerce-page .site-main .woocommerce :is(.checkout-button, #place_order, .return-to-shop .button):hover { background: #171244 !important; border-color: #171244 !important; }
body.ps-commerce-page .site-main .checkout-button::after { content: '→'; margin-left: 12px; font-size: 20px; font-weight: 400; }

/* Billing and shipping stay in their original DOM order for keyboard users. */
body.ps-commerce-page .site-main form.checkout { margin: 0; }
body.ps-commerce-page .site-main #customer_details { float: none; }
body.ps-commerce-page .site-main #customer_details :is(.col-1, .col-2) { float: none; width: 100%; padding: 0; margin: 0; max-width: none; }
body.ps-commerce-page .site-main #customer_details .woocommerce-billing-fields__field-wrapper,
body.ps-commerce-page .site-main #customer_details .woocommerce-shipping-fields__field-wrapper { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; }
body.ps-commerce-page .site-main #customer_details .form-row { float: none; width: 100%; padding: 0; margin: 0; grid-column: 1 / -1; }
body.ps-commerce-page .site-main #customer_details .form-row-first,
body.ps-commerce-page .site-main #customer_details .form-row-last,
body.ps-commerce-page .site-main #customer_details :is(#billing_city_field, #billing_state_field, #billing_postcode_field, #billing_phone_field, #shipping_city_field, #shipping_state_field) { grid-column: auto; }
body.ps-commerce-page .site-main #customer_details .form-row label { display: block; margin: 0 0 7px; color: #424b59; font-size: 13px; font-weight: 550; line-height: 1.5; }
body.ps-commerce-page .site-main #customer_details .form-row .optional { color: #818995; font-size: 11px; font-weight: 400; }
body.ps-commerce-page .site-main #customer_details .form-row .required { color: #bc441e; text-decoration: none; }
body.ps-commerce-page .site-main #customer_details .woocommerce-input-wrapper { display: block; }
body.ps-commerce-page .site-main #customer_details #smartbill_billing_type_field { padding: 16px; background: #f7f8fb; border: 1px solid var(--ps-commerce-line); border-radius: 13px; }
body.ps-commerce-page .site-main #smartbill_billing_type_field select { width: 100%; }
body.ps-commerce-page .select2-container .select2-selection--single { min-height: 48px; border: 1px solid #dce0e7; border-radius: 10px; background: #fff; }
body.ps-commerce-page .select2-container .select2-selection--single .select2-selection__rendered { padding: 10px 32px 10px 14px; font-size: 15px; line-height: 26px; color: var(--ps-commerce-ink); }
body.ps-commerce-page .select2-container .select2-selection--single .select2-selection__arrow { top: 12px; right: 9px; }
body.ps-commerce-page .select2-dropdown { border-color: #dce0e7; border-radius: 10px; box-shadow: 0 8px 24px rgba(22,27,40,.08); font-size: 14px; }
body.ps-commerce-page .site-main #customer_details .col-2 { margin-top: 28px; border-top: 1px solid var(--ps-commerce-line); padding-top: 24px; }
body.ps-commerce-page .site-main #customer_details #ship-to-different-address { font-size: 15px; margin: 0 0 20px; font-weight: 550; letter-spacing: -.01em; }
body.ps-commerce-page .site-main #ship-to-different-address label { display: flex; gap: 10px; align-items: center; cursor: pointer; }
body.ps-commerce-page .site-main input[type="checkbox"],
body.ps-commerce-page .site-main input[type="radio"] { width: 18px; height: 18px; min-width: 18px; margin: 0 7px 0 0; accent-color: var(--ps-commerce-accent); vertical-align: middle; }
body.ps-commerce-page .site-main .shipping_address { padding: 4px 0 24px; }
body.ps-commerce-page .site-main .woocommerce-additional-fields textarea { min-height: 100px !important; resize: vertical; }
body.ps-commerce-page .site-main .woocommerce-account-fields { margin-top: 22px; }
body.ps-commerce-page .site-main .woocommerce-invalid :is(input.input-text, select, textarea) { border-color: #bc441e !important; }

/* Order review remains present, including item imagery after native AJAX updates. */
body.ps-commerce-page .site-main .ps-commerce-summary { border-color: #dcdfea; }
body.ps-commerce-page .site-main #order_review_heading { font-size: 21px; margin-bottom: 6px; }
body.ps-commerce-page .ps-commerce-edit { float: right; margin-top: 4px; font-size: 12px; color: var(--ps-commerce-muted); }
body.ps-commerce-page .site-main #order_review { float: none; width: 100%; }
body.ps-commerce-page .site-main .woocommerce-checkout-review-order-table tbody td { padding: 24px 0; vertical-align: top; border-bottom: 1px solid var(--ps-commerce-line); font-size: 13px; line-height: 1.5; }
body.ps-commerce-page .site-main .woocommerce-checkout-review-order-table tbody .product-name { position: relative; padding-left: 68px; padding-right: 12px; }
body.ps-commerce-page .site-main .ps-commerce-review-image { position: absolute; left: 0; top: 23px; width: 54px; height: 60px; padding: 5px; border-radius: 9px; background: #f6f7f9; object-fit: contain; }
body.ps-commerce-page .site-main .ps-commerce-review-name { display: block; margin-bottom: 4px; font-weight: 550; overflow-wrap: anywhere; }
body.ps-commerce-page .site-main .woocommerce-checkout-review-order-table .product-quantity { color: var(--ps-commerce-muted); font-size: 12px; font-weight: 400; }
body.ps-commerce-page .site-main .woocommerce-checkout-review-order-table .product-total { width: 110px; text-align: right; font-weight: 600; white-space: nowrap; }
body.ps-commerce-page .site-main .woocommerce-checkout-review-order-table dl.variation { margin: 5px 0 0; font-size: 11px; color: var(--ps-commerce-muted); }
body.ps-commerce-page .site-main .woocommerce-checkout-review-order-table dl.variation :is(dt, dd, p) { margin: 0 4px 0 0; }

/* Payment providers retain their own secure fields and express buttons. */
body.ps-commerce-page .site-main .wcpay-express-checkout-wrapper { margin: 0 0 26px; padding: 0; }
body.ps-commerce-page .site-main #wcpay-express-checkout-button-separator { margin: 18px 0 0; color: #858d9a; font-size: 11px; }
body.ps-commerce-page .site-main .ps-commerce-payment-title { margin: 28px 0 18px; padding-top: 24px; border-top: 1px solid var(--ps-commerce-line); font-size: 18px; }
body.ps-commerce-page .site-main #payment { border-radius: 0; background: transparent; }
body.ps-commerce-page .site-main #payment ul.payment_methods { padding: 0; margin: 0; border: 0; font-size: 14px; }
body.ps-commerce-page .site-main #payment ul.payment_methods > li { margin: 0 0 14px; }
body.ps-commerce-page .site-main #payment .payment_box { width: 100%; padding: 16px; margin: 12px 0 16px; border: 1px solid var(--ps-commerce-line); border-radius: 12px; background: #f8f9fb; color: var(--ps-commerce-ink); font-size: 13px; }
body.ps-commerce-page .site-main #payment .payment_box::before { display: none; }
body.ps-commerce-page .site-main #payment fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
body.ps-commerce-page .site-main #payment .place-order { padding: 0; margin: 16px 0 0; }
/* Woo floats this button on desktop; keep the following reassurance in flow. */
body.ps-commerce-page .site-main #payment #place_order { float: none; clear: both; }
body.ps-commerce-page .site-main .woocommerce-privacy-policy-text { color: var(--ps-commerce-muted); font-size: 11px; line-height: 1.6; }
body.ps-commerce-page .site-main .woocommerce-privacy-policy-text p { margin: 0 0 18px; }
body.ps-commerce-page .site-main .woocommerce-terms-and-conditions-wrapper .form-row { padding: 0; margin: 0 0 22px; }
body.ps-commerce-page .site-main .woocommerce-terms-and-conditions-checkbox-text { font-size: 12px; line-height: 1.6; color: #505a68; }
body.ps-commerce-page .site-main #payment .ps-commerce-secure { display: flex; clear: both; width: 100%; align-items: center; justify-content: center; gap: 7px; margin: 14px 0 0; color: var(--ps-commerce-muted); font-size: 11px; line-height: 1.4; }
body.ps-commerce-page .site-main .ps-commerce-secure svg { width: 14px; height: 14px; }

/* Notices, coupon disclosure and a useful empty state. */
body.ps-commerce-page .site-main .woocommerce :is(.woocommerce-info, .woocommerce-message, .woocommerce-error) { padding: 16px 20px 16px 46px; margin: 0 0 24px; border: 1px solid var(--ps-commerce-line); border-radius: 12px !important; font-size: 13px; line-height: 1.6; }
body.ps-commerce-page .site-main .woocommerce :is(.woocommerce-info, .woocommerce-message, .woocommerce-error)::before { top: 17px; left: 18px; }
body.ps-commerce-page .site-main .woocommerce-error { border-color: #edcbc3 !important; background: #fff8f6 !important; color: #993622; }
body.ps-commerce-page .site-main .woocommerce-form-coupon-toggle .woocommerce-info { padding: 0 0 22px; margin: 0; border: 0; border-radius: 0 !important; background: transparent !important; color: var(--ps-commerce-muted); }
body.ps-commerce-page .site-main .woocommerce-form-coupon-toggle .woocommerce-info::before { display: none; }
body.ps-commerce-page .site-main form.checkout_coupon,
body.ps-commerce-page .site-main form.woocommerce-form-login { padding: 24px; margin: 0 0 24px; background: #fff; border: 1px solid var(--ps-commerce-line); border-radius: 16px; font-size: 13px; }
body.ps-commerce-page .site-main .ps-commerce-empty-icon { display: grid; place-items: center; width: 92px; height: 92px; margin: 56px auto 24px; border: 1px solid var(--ps-commerce-line); border-radius: 26px; background: #fff; color: var(--ps-commerce-accent); }
body.ps-commerce-page .site-main .ps-commerce-empty-icon svg { width: 34px; height: 34px; }
body.ps-commerce-page .site-main .woocommerce .cart-empty { border: 0; background: transparent !important; padding: 0; margin: 0 0 24px; text-align: center; font-size: 21px; font-weight: 550; letter-spacing: -.025em; }
body.ps-commerce-page .site-main .cart-empty::before { display: none; }
body.ps-commerce-page .site-main .return-to-shop { max-width: 245px; margin: 0 auto 64px; }
body.ps-commerce-page .ps-commerce-support { margin: 28px 0 0; text-align: center; color: var(--ps-commerce-muted); font-size: 13px; line-height: 1.8; }
body.ps-commerce-page .ps-commerce-support a { color: var(--ps-commerce-ink); font-weight: 600; margin-left: 4px; text-decoration: none; white-space: nowrap; }
body.ps-commerce-page .ps-commerce-support span { display: block; margin-top: 2px; color: #808896; font-size: 11px; }
body.ps-commerce-page #psFooter .ps-footer__cta { display: none; }
/* Inline assistance above the footer keeps floating controls away from payment. */
body.ps-commerce-page .ps-floating-contact { display: none; }

@media (min-width: 1100px) {
  body.ps-commerce-page .ps-commerce-cart-layout .cart-collaterals { position: sticky; top: 110px; }
}
@media (max-width: 1099px) {
  body.ps-commerce-page .ps-commerce-cart-layout,
  body.ps-commerce-page .ps-commerce-checkout-layout { grid-template-columns: 1fr; }
  body.ps-commerce-page .ps-commerce-intro__row { align-items: start; }
  body.ps-commerce-page .ps-commerce-steps { padding-top: 22px; }
  body.ps-commerce-page .site-main .woocommerce-cart-form__contents tr.cart_item { grid-template-columns: 96px minmax(0, 1fr) 140px 32px; }
}
@media (max-width: 720px) {
  body.ps-woo-global-ui.ps-commerce-page { --ps-woo-page-gutter: 16px; }
  body.ps-commerce-page .site-main { --ps-overlay-main-inset: calc(var(--ps-overlay-content-clearance, 72px) + 24px); padding: 24px 16px 52px !important; }
  body.ps-commerce-page .ps-commerce-intro { margin-bottom: 24px; }
  body.ps-commerce-page .ps-commerce-back { margin-bottom: 20px; font-size: 12px; }
  body.ps-commerce-page .ps-commerce-intro__row { display: block; }
  body.ps-commerce-page .ps-commerce-intro h1 { font-size: 34px; }
  body.ps-commerce-page .ps-commerce-lead { font-size: 14px; margin-top: 10px; max-width: 32em; }
  body.ps-commerce-page .ps-commerce-steps { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--ps-commerce-line); }
  body.ps-commerce-page .ps-commerce-steps ol { gap: 14px; }
  body.ps-commerce-page .ps-commerce-steps li + li::before { width: 28px; margin-right: 4px; }
  body.ps-commerce-page .ps-commerce-cart-layout,
  body.ps-commerce-page .ps-commerce-checkout-layout { gap: 18px; }
  body.ps-commerce-page .site-main :is(.woocommerce-cart-form, .cart_totals, #customer_details, .ps-commerce-summary) { padding: 20px; border-radius: 18px; }
  body.ps-commerce-page .site-main :is(.cart_totals h2, .ps-commerce-cart-heading h2, #customer_details h3, #order_review_heading) { font-size: 20px; margin-bottom: 20px; }
  body.ps-commerce-page .site-main .woocommerce-cart-form__contents tr.cart_item { grid-template-columns: 64px minmax(0, 1fr) 105px 20px; gap: 12px 8px; padding: 22px 0; }
  body.ps-commerce-page .site-main .woocommerce-cart-form__contents .product-thumbnail { grid-row: 1 / 3; }
  body.ps-commerce-page .site-main .woocommerce-cart-form__contents .product-thumbnail img { width: 52px; height: 56px; }
  body.ps-commerce-page .site-main .woocommerce-cart-form__contents tr.cart_item .product-name { grid-column: 2 / 5; padding-right: 30px; font-size: 14px; }
  body.ps-commerce-page .site-main .woocommerce-cart-form__contents .product-remove { position: absolute; grid-column: auto; grid-row: auto; right: -7px; top: 17px; }
  body.ps-commerce-page .site-main .woocommerce-cart-form__contents .product-price { grid-column: 2 / 5; font-size: 12px; }
  body.ps-commerce-page .site-main .woocommerce-cart-form__contents .product-quantity { grid-column: 1 / 3; grid-row: 3; justify-self: start; margin-top: 4px; }
  body.ps-commerce-page .site-main .woocommerce-cart-form__contents .product-subtotal { grid-column: 3 / 5; grid-row: 3; align-self: center; font-size: 17px; margin-top: 4px; }
  body.ps-commerce-page .site-main .woocommerce-cart-form .quantity input.qty { min-height: 44px !important; font-size: 16px; }
  body.ps-commerce-page .site-main .ps-commerce-qty-button { min-height: 44px; width: 36px; }
  body.ps-commerce-page .site-main .woocommerce-cart-form .coupon { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto; }
  body.ps-commerce-page .site-main .woocommerce-cart-form .coupon input#coupon_code { width: 100% !important; }
  body.ps-commerce-page .site-main .woocommerce-cart-form .coupon .button { width: auto !important; padding: 10px 12px !important; }
  body.ps-commerce-page .site-main .cart_totals table tr { display: table-row; }
  body.ps-commerce-page .site-main .cart_totals table :is(th, td) { display: table-cell; }
  body.ps-commerce-page .site-main .cart_totals table td::before { display: none; }
  body.ps-commerce-page .site-main .woocommerce :is(input.input-text, select, textarea),
  body.ps-commerce-page .select2-container .select2-selection--single .select2-selection__rendered { font-size: 16px; }
  body.ps-commerce-page .site-main #customer_details .woocommerce-billing-fields__field-wrapper,
  body.ps-commerce-page .site-main #customer_details .woocommerce-shipping-fields__field-wrapper { gap: 16px 12px; }
  body.ps-commerce-page .site-main .woocommerce-checkout-review-order-table tbody .product-name { padding-left: 54px; padding-right: 8px; }
  body.ps-commerce-page .site-main .ps-commerce-review-image { width: 44px; height: 52px; }
  body.ps-commerce-page .site-main .woocommerce-checkout-review-order-table .product-total { width: 100px; font-size: 12px; }
  body.ps-commerce-page .ps-commerce-edit { font-size: 11px; }
  body.ps-commerce-page .ps-commerce-support { padding: 0 12px; }
}
@media (max-width: 380px) {
  body.ps-woo-global-ui.ps-commerce-page { --ps-woo-page-gutter: 12px; }
  body.ps-commerce-page .site-main { padding-inline: 12px !important; }
  body.ps-commerce-page .site-main :is(.woocommerce-cart-form, .cart_totals, #customer_details, .ps-commerce-summary) { padding: 16px; }
  body.ps-commerce-page .site-main #customer_details .woocommerce-billing-fields__field-wrapper,
  body.ps-commerce-page .site-main #customer_details .woocommerce-shipping-fields__field-wrapper { grid-template-columns: 1fr; }
  body.ps-commerce-page .site-main .woocommerce-cart-form__contents tr.cart_item { grid-template-columns: 56px minmax(0, 1fr) 102px 20px; }
  body.ps-commerce-page .site-main .woocommerce-cart-form__contents .product-subtotal { font-size: 16px; }
  body.ps-commerce-page .site-main .woocommerce-checkout-review-order-table tbody .product-name { padding-left: 0; }
  body.ps-commerce-page .site-main .ps-commerce-review-image { position: static; display: block; margin-bottom: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  body.ps-commerce-page .site-main .woocommerce :is(.button, input, select, textarea) { transition: none; }
}
