/* PSD Commerce UI 1.4.0 — isolated Cart/Checkout presentation layer. */

body.psd-commerce-ui-preview {
  --psd-canvas: #fbf8f3;
  --psd-surface: #ffffff;
  --psd-text: #2e2926;
  --psd-secondary: #706863;
  --psd-border: #ded7cf;
  --psd-accent: #a67c45;
  --psd-cta: #4b3732;
  --psd-cta-hover: #3d2c28;
  --psd-sans: "Instrument Sans", Helvetica, Arial, sans-serif;
  --psd-serif: "DM Serif Display", Georgia, serif;
  background: var(--psd-canvas);
  color: var(--psd-secondary);
  font-family: var(--psd-sans);
}

body.psd-commerce-ui-preview :is(input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="search"], input[type="password"], input[type="url"], select:not(.select2-hidden-accessible), textarea) {
  box-sizing: border-box;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid var(--psd-border);
  border-radius: 5px;
  background: var(--psd-surface);
  color: var(--psd-text);
  font-family: var(--psd-sans);
  font-size: 16px;
  line-height: 1.35;
  box-shadow: none;
}

body.psd-commerce-ui-preview :is(input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="search"], input[type="password"], input[type="url"], select:not(.select2-hidden-accessible), textarea):focus {
  border-color: var(--psd-accent);
  outline: 1px solid var(--psd-accent);
  outline-offset: 1px;
  box-shadow: none;
}

body.psd-commerce-ui-preview .woocommerce-message.psd-commerce-toast {
  position: fixed;
  z-index: 10001;
  right: max(20px, env(safe-area-inset-right));
  bottom: max(24px, env(safe-area-inset-bottom));
  width: min(360px, calc(100vw - 32px));
  margin: 0;
  padding: 12px 14px;
  border: 1px solid var(--psd-border);
  border-radius: 5px;
  background: var(--psd-surface);
  color: var(--psd-text);
  font: 500 14px/1.4 var(--psd-sans);
  box-shadow: 0 10px 24px rgba(46, 41, 38, .08);
}

body.psd-commerce-ui-preview .woocommerce-message.psd-commerce-toast--leaving {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease;
}

/* Compact commerce chrome. */
body.psd-commerce-ui-preview :is(.psd-header-v2, .psd-home-clean-footer, body > footer) { display: none !important; }
body.psd-commerce-ui-preview.woocommerce-cart .site-header,
body.psd-commerce-ui-preview.woocommerce-checkout .site-header,
body.psd-commerce-ui-preview.woocommerce-cart .psd-header-v2,
body.psd-commerce-ui-preview.woocommerce-checkout .psd-header-v2 { display: none !important; }

body.psd-commerce-ui-preview .psd-commerce-wordmark { color: var(--psd-text); text-decoration: none; }
body.psd-commerce-ui-preview :is(.psd-commerce-cart-header__logo, .psd-commerce-checkout-shell__logo) { line-height: 0; }
body.psd-commerce-ui-preview :is(.psd-commerce-cart-header__logo, .psd-commerce-checkout-shell__logo) .custom-logo {
  display: block;
  width: auto;
  max-width: 220px;
  max-height: 48px;
  opacity: 1;
  filter: none;
}

body.psd-commerce-ui-preview .psd-commerce-cart-header,
body.psd-commerce-ui-preview .psd-commerce-checkout-shell {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  max-width: 1340px;
  margin: 0 auto;
  padding: 18px 0;
  border-bottom: 1px solid var(--psd-border);
}
body.psd-commerce-ui-preview .psd-commerce-cart-header__continue,
body.psd-commerce-ui-preview .psd-commerce-checkout-shell__back,
body.psd-commerce-ui-preview .psd-commerce-cart-header__cart,
body.psd-commerce-ui-preview .psd-commerce-checkout-shell__secure {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--psd-text);
  font: 500 13px/1.3 var(--psd-sans);
  text-decoration: none;
}
body.psd-commerce-ui-preview .psd-commerce-cart-header__continue,
body.psd-commerce-ui-preview .psd-commerce-checkout-shell__back { justify-self: start; }
body.psd-commerce-ui-preview .psd-commerce-cart-header__cart,
body.psd-commerce-ui-preview .psd-commerce-checkout-shell__secure { justify-self: end; color: var(--psd-secondary); }
body.psd-commerce-ui-preview .psd-commerce-cart-header__cart svg,
body.psd-commerce-ui-preview .psd-commerce-checkout-shell__secure svg { width: 18px; height: 18px; fill: currentColor; }
body.psd-commerce-ui-preview .psd-commerce-cart-count { color: var(--psd-accent); }

body.psd-commerce-ui-preview .psd-commerce-checkout-shell { margin-bottom: 34px; }
body.psd-commerce-ui-preview .psd-commerce-checkout-shell__logo { grid-column: 2; grid-row: 1; }
body.psd-commerce-ui-preview .psd-commerce-checkout-shell__back { grid-column: 1; grid-row: 1; }
body.psd-commerce-ui-preview .psd-commerce-checkout-shell__secure { grid-column: 3; grid-row: 1; }

/* Desktop Cart. */
body.psd-commerce-ui-preview.woocommerce-cart .woocommerce {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(340px, 1fr);
  grid-template-areas: "header header" "intro intro" "products summary";
  column-gap: 42px;
  max-width: 1340px;
  margin: 0 auto;
}
body.psd-commerce-ui-preview.woocommerce-cart .psd-commerce-cart-header { grid-area: header; }
body.psd-commerce-ui-preview.woocommerce-cart .psd-commerce-cart-intro { grid-area: intro; margin: 42px 0 30px; }
body.psd-commerce-ui-preview.woocommerce-cart .psd-commerce-cart-intro h1,
body.psd-commerce-ui-preview.woocommerce-checkout h1 {
  margin: 0;
  color: var(--psd-text);
  font: 400 clamp(34px, 3vw, 42px)/1.1 var(--psd-serif);
}
body.psd-commerce-ui-preview.woocommerce-cart .woocommerce-cart-form {
  grid-area: products;
  width: auto !important;
  min-width: 0;
  margin: 0 !important;
  float: none !important;
}
body.psd-commerce-ui-preview.woocommerce-cart table.shop_table {
  width: 100%;
  margin: 0;
  border: 0;
  border-collapse: collapse;
  font-family: var(--psd-sans);
}
body.psd-commerce-ui-preview.woocommerce-cart table.shop_table thead th {
  padding: 0 12px 13px;
  border: 0;
  color: var(--psd-text);
  font: 600 11px/1.3 var(--psd-sans);
  letter-spacing: .09em;
  text-transform: uppercase;
}
@media (min-width: 768px) {
  body.psd-commerce-ui-preview.woocommerce-cart table.shop_table thead tr,
  body.psd-commerce-ui-preview.woocommerce-cart table.shop_table tbody tr.woocommerce-cart-form__cart-item {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr) 120px 168px;
    align-items: center;
  }
  body.psd-commerce-ui-preview.woocommerce-cart table.shop_table thead tr {
    border-bottom: 1px solid var(--psd-border);
  }
  body.psd-commerce-ui-preview.woocommerce-cart table.shop_table tbody tr.woocommerce-cart-form__cart-item {
    border-top: 1px solid var(--psd-border);
    border-bottom: 0;
  }
  body.psd-commerce-ui-preview.woocommerce-cart table.shop_table thead th.product-remove,
  body.psd-commerce-ui-preview.woocommerce-cart table.shop_table thead th.product-thumbnail,
  body.psd-commerce-ui-preview.woocommerce-cart table.shop_table thead th.product-subtotal { display: none !important; }
  body.psd-commerce-ui-preview.woocommerce-cart table.shop_table thead th.product-name { grid-column: 1 / span 2; }
  body.psd-commerce-ui-preview.woocommerce-cart table.shop_table thead th.product-price { grid-column: 3; }
  body.psd-commerce-ui-preview.woocommerce-cart table.shop_table thead th.product-quantity { grid-column: 4; }
  body.psd-commerce-ui-preview.woocommerce-cart table.shop_table tbody tr.woocommerce-cart-form__cart-item > td.product-thumbnail { grid-column: 1; }
  body.psd-commerce-ui-preview.woocommerce-cart table.shop_table tbody tr.woocommerce-cart-form__cart-item > td.product-name { grid-column: 2; min-width: 0; }
  body.psd-commerce-ui-preview.woocommerce-cart table.shop_table tbody tr.woocommerce-cart-form__cart-item > td.product-price { grid-column: 3; }
  body.psd-commerce-ui-preview.woocommerce-cart table.shop_table tbody tr.woocommerce-cart-form__cart-item > td.product-quantity { grid-column: 4; }
  body.psd-commerce-ui-preview.woocommerce-cart table.shop_table tbody tr.woocommerce-cart-form__cart-item > td { width: auto !important; min-width: 0; justify-self: stretch; }
}
body.psd-commerce-ui-preview.woocommerce-cart table.shop_table thead th:first-child { padding-left: 0; }
body.psd-commerce-ui-preview.woocommerce-cart table.shop_table thead th:last-child { padding-right: 0; }
body.psd-commerce-ui-preview.woocommerce-cart table.shop_table td {
  padding: 24px 12px;
  border: 0 !important;
  color: var(--psd-secondary);
  vertical-align: middle;
}
body.psd-commerce-ui-preview.woocommerce-cart table.shop_table td:first-child { padding-left: 0; }
body.psd-commerce-ui-preview.woocommerce-cart table.shop_table td:last-child { padding-right: 0; }
body.psd-commerce-ui-preview.woocommerce-cart td.product-remove { display: none !important; }
body.psd-commerce-ui-preview.woocommerce-cart td.product-thumbnail { width: 150px; }
body.psd-commerce-ui-preview.woocommerce-cart td.product-thumbnail img { width: 140px !important; max-width: 140px !important; height: 170px !important; object-fit: contain; border-radius: 0; }
body.psd-commerce-ui-preview.woocommerce-cart td.product-name { min-width: 230px; }
body.psd-commerce-ui-preview.woocommerce-cart td.product-name > a { color: var(--psd-text); font: 500 16px/1.4 var(--psd-sans); }
body.psd-commerce-ui-preview.woocommerce-cart .product-name dl.variation { margin: 7px 0 0; color: var(--psd-secondary); font: 400 14px/1.45 var(--psd-sans); }
body.psd-commerce-ui-preview.woocommerce-cart .product-name dl.variation dt { display: none !important; }
body.psd-commerce-ui-preview.woocommerce-cart .product-name dl.variation dd { display: inline !important; margin: 0 !important; font-weight: 400; }
body.psd-commerce-ui-preview.woocommerce-cart .product-name dl.variation dd p { display: inline; margin: 0; }
body.psd-commerce-ui-preview.woocommerce-cart .product-name dl.variation dd:not(:first-of-type)::before { content: " · "; }
body.psd-commerce-ui-preview.woocommerce-cart .product-price { color: var(--psd-text); font: 500 15px/1.35 var(--psd-sans); white-space: nowrap; }
body.psd-commerce-ui-preview.woocommerce-cart .product-subtotal { display: none !important; color: var(--psd-text); font: 500 15px/1.35 var(--psd-sans); white-space: nowrap; }
body.psd-commerce-ui-preview.woocommerce-cart .psd-commerce-cart-quantity { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 8px; }
body.psd-commerce-ui-preview.woocommerce-cart .quantity { display: inline-flex; min-height: 44px; overflow: hidden; border: 1px solid var(--psd-border); border-radius: 5px; background: var(--psd-surface); }
body.psd-commerce-ui-preview.woocommerce-cart .quantity input.qty { width: 44px; min-width: 44px; height: 42px; margin: 0; padding: 0; border: 0; background: transparent; color: var(--psd-text); font: 500 15px/42px var(--psd-sans); text-align: center; }
body.psd-commerce-ui-preview.woocommerce-cart .quantity :is(button, .plus, .minus) { width: 44px; min-width: 44px; min-height: 42px; margin: 0; border: 0; border-inline: 1px solid var(--psd-border); border-radius: 0; background: transparent; color: var(--psd-text); font-size: 18px; line-height: 1; }
body.psd-commerce-ui-preview.woocommerce-cart .quantity :is(button, .plus, .minus):hover { background: #f7f3ed; }
body.psd-commerce-ui-preview.woocommerce-cart .psd-commerce-cart-remove { color: var(--psd-secondary); font: 400 13px/1.35 var(--psd-sans); text-decoration: underline; text-underline-offset: 3px; }
body.psd-commerce-ui-preview.woocommerce-cart .actions { display: none !important; }

body.psd-commerce-ui-preview.woocommerce-cart .cart-collaterals {
  grid-area: summary;
  width: auto !important;
  min-width: 0;
  margin: 0;
  padding-left: 42px;
  border-left: 1px solid var(--psd-border);
  float: none !important;
}
body.psd-commerce-ui-preview.woocommerce-cart .cart-collaterals .cart_totals { width: 100%; margin: 0; padding: 0 !important; border: 0 !important; background: transparent !important; box-shadow: none !important; outline: 0 !important; }
body.psd-commerce-ui-preview.woocommerce-cart .cart-collaterals .cart_totals > h2 { display: block; margin: 0 0 12px; color: var(--psd-text); font: 600 12px/1.3 var(--psd-sans); letter-spacing: .12em; text-transform: uppercase; }
body.psd-commerce-ui-preview.woocommerce-cart .cart-collaterals table { width: 100%; margin: 0 0 24px; border: 0; }
body.psd-commerce-ui-preview.woocommerce-cart .cart-collaterals table { border-collapse: collapse; border-spacing: 0; }
body.psd-commerce-ui-preview.woocommerce-cart .cart-collaterals tr { border: 0; border-top: 1px solid var(--psd-border); }
body.psd-commerce-ui-preview.woocommerce-cart .cart-collaterals th,
body.psd-commerce-ui-preview.woocommerce-cart .cart-collaterals td { padding: 13px 0; border: 0 !important; color: var(--psd-secondary); font: 400 14px/1.45 var(--psd-sans); vertical-align: middle; }
body.psd-commerce-ui-preview.woocommerce-cart .cart-collaterals th { font-weight: 400; }
body.psd-commerce-ui-preview.woocommerce-cart .cart-collaterals td { color: var(--psd-text); text-align: right; }
body.psd-commerce-ui-preview.woocommerce-cart .cart-collaterals tr.shipping td { color: var(--psd-secondary); }
body.psd-commerce-ui-preview.woocommerce-cart .cart-collaterals .shipping-calculator-button,
body.psd-commerce-ui-preview.woocommerce-cart .cart-collaterals .woocommerce-shipping-destination,
body.psd-commerce-ui-preview.woocommerce-cart .cart-collaterals .shipping-calculator-form { display: none !important; }
body.psd-commerce-ui-preview.woocommerce-cart .cart-collaterals tr.order-total :is(th, td) { padding-top: 18px; color: var(--psd-text); font-size: 24px; font-weight: 500; }
body.psd-commerce-ui-preview.woocommerce-cart .wc-proceed-to-checkout { padding: 0; }
body.psd-commerce-ui-preview.woocommerce-cart .wc-proceed-to-checkout a.checkout-button { display: grid; width: 100%; min-height: 54px; margin: 0; border: 1px solid var(--psd-cta); border-radius: 5px !important; background: var(--psd-cta); color: #fff !important; font: 500 13px/1 var(--psd-sans); letter-spacing: .03em; place-items: center; }
body.psd-commerce-ui-preview.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover { background: var(--psd-cta-hover); }
body.psd-commerce-ui-preview.woocommerce-cart .cart-collaterals::after { content: "Continue shopping"; display: block; margin-top: 20px; color: var(--psd-accent); font: 400 13px/1.4 var(--psd-sans); text-decoration: underline; text-underline-offset: 3px; }

/* Desktop Checkout. */
body.psd-commerce-ui-preview.woocommerce-checkout > .woocommerce { max-width: 1340px; margin: 0 auto; }
@media (min-width: 1024px) {
  body.psd-commerce-ui-preview.woocommerce-checkout form.checkout {
    display: block;
    max-width: 1340px;
    margin: 0 auto;
    box-sizing: border-box;
  }
  body.psd-commerce-ui-preview.woocommerce-checkout form.checkout::after {
    content: "";
    display: block;
    clear: both;
  }
  body.psd-commerce-ui-preview.woocommerce-checkout form.checkout > #customer_details {
    float: left;
    clear: left;
    width: calc(60% - 26px) !important;
    min-width: 0;
    margin: 0 !important;
  }
  body.psd-commerce-ui-preview.woocommerce-checkout form.checkout > #order_review {
    display: contents;
  }
  body.psd-commerce-ui-preview.woocommerce-checkout #order_review_heading,
  body.psd-commerce-ui-preview.woocommerce-checkout #order_review .checkout-review-order-table-wrapper {
    float: right;
    clear: right;
    width: calc(40% - 26px);
    box-sizing: border-box;
  }
  body.psd-commerce-ui-preview.woocommerce-checkout .psd-payment-section-heading,
  body.psd-commerce-ui-preview.woocommerce-checkout #payment {
    float: left;
    clear: left;
    width: calc(60% - 26px);
    box-sizing: border-box;
  }
}
body.psd-commerce-ui-preview.woocommerce-checkout .woocommerce-billing-fields > h3 { display: none !important; }
body.psd-commerce-ui-preview.woocommerce-checkout #billing_country_field { margin-top: 0; padding-top: 0; border-top: 0; }
body.psd-commerce-ui-preview.woocommerce-checkout .form-row { margin: 0 0 15px; padding: 0; }
body.psd-commerce-ui-preview.woocommerce-checkout .form-row label { display: block; margin-bottom: 7px; color: var(--psd-text); font: 500 13px/1.35 var(--psd-sans); }
body.psd-commerce-ui-preview.woocommerce-checkout .form-row input.input-text,
body.psd-commerce-ui-preview.woocommerce-checkout .form-row select,
body.psd-commerce-ui-preview.woocommerce-checkout .form-row textarea { width: 100%; max-width: 100%; }
body.psd-commerce-ui-preview.woocommerce-checkout #customer_details .woocommerce-billing-fields__field-wrapper { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 16px; }
body.psd-commerce-ui-preview.woocommerce-checkout #customer_details .woocommerce-billing-fields__field-wrapper .form-row { grid-column: span 4; float: none; width: auto; }
body.psd-commerce-ui-preview.woocommerce-checkout #billing_first_name_field,
body.psd-commerce-ui-preview.woocommerce-checkout #billing_last_name_field { grid-column: span 2 !important; }
body.psd-commerce-ui-preview.woocommerce-checkout #billing_city_field { grid-column: span 2 !important; }
body.psd-commerce-ui-preview.woocommerce-checkout #billing_state_field,
body.psd-commerce-ui-preview.woocommerce-checkout #billing_postcode_field { grid-column: span 1 !important; }
body.psd-commerce-ui-preview.woocommerce-checkout #ship-to-different-address { display: none; }
body.psd-commerce-ui-preview.woocommerce-checkout #order_comments_field.psd-commerce-notes-is-collapsed { display: none; }
body.psd-commerce-ui-preview.woocommerce-checkout .psd-commerce-order-notes-toggle { margin: 4px 0 22px; padding: 0; border: 0; background: transparent; color: var(--psd-accent); font: 400 13px/1.4 var(--psd-sans); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

body.psd-commerce-ui-preview.woocommerce-checkout #order_review_heading { display: flex; align-items: baseline; gap: 18px; margin: 0; padding: 0 0 12px; color: transparent !important; font: 0/1 var(--psd-sans); font-size: 0 !important; line-height: 1 !important; letter-spacing: .12em; text-transform: uppercase; }
body.psd-commerce-ui-preview.woocommerce-checkout #order_review_heading::before { content: "ORDER SUMMARY"; display: block; flex: 0 0 auto; color: var(--psd-text); font: 600 12px/1.3 var(--psd-sans); letter-spacing: .12em; }
body.psd-commerce-ui-preview.woocommerce-checkout #order_review_heading::after { content: ""; flex: 1 1 auto; height: 1px; background: var(--psd-border); }
body.psd-commerce-ui-preview.woocommerce-checkout #order_review .checkout-review-order-table-wrapper { padding: 0 0 30px; border: 0; background: transparent; }
body.psd-commerce-ui-preview.woocommerce-checkout #order_review table { width: 100%; margin: 0; border: 0; font-family: var(--psd-sans); }
body.psd-commerce-ui-preview.woocommerce-checkout #order_review thead { display: none; }
body.psd-commerce-ui-preview.woocommerce-checkout #order_review :is(th, td) { padding: 13px 0; border: 0 !important; color: var(--psd-secondary); font: 400 14px/1.45 var(--psd-sans); }
body.psd-commerce-ui-preview.woocommerce-checkout #order_review .product-name { color: var(--psd-text); font-weight: 500; }
body.psd-commerce-ui-preview.woocommerce-checkout #order_review .product-total { color: var(--psd-text); text-align: right; white-space: nowrap; }
body.psd-commerce-ui-preview.woocommerce-checkout .psd-commerce-checkout-item__media { display: inline-block; margin: 0 14px 0 0; vertical-align: top; }
body.psd-commerce-ui-preview.woocommerce-checkout .psd-commerce-checkout-item__image { display: block; width: 104px; height: 128px; object-fit: contain; }
body.psd-commerce-ui-preview.woocommerce-checkout .psd-commerce-checkout-item__name { display: inline-block; width: calc(100% - 124px); vertical-align: top; color: var(--psd-text); font-weight: 500; }
body.psd-commerce-ui-preview.woocommerce-checkout .psd-commerce-checkout-item__quantity,
body.psd-commerce-ui-preview.woocommerce-checkout #order_review dl.variation { display: block; margin: 6px 0 0 118px; color: var(--psd-secondary); font: 400 13px/1.4 var(--psd-sans); }
body.psd-commerce-ui-preview.woocommerce-checkout #order_review dl.variation dt { display: none !important; }
body.psd-commerce-ui-preview.woocommerce-checkout #order_review dl.variation dd { display: inline !important; margin: 0 !important; font-weight: 400; }
body.psd-commerce-ui-preview.woocommerce-checkout #order_review dl.variation dd p { display: inline; margin: 0; }
body.psd-commerce-ui-preview.woocommerce-checkout #order_review dl.variation dd:not(:first-of-type)::before { content: " · "; }
body.psd-commerce-ui-preview.woocommerce-checkout #order_review .order-total :is(th, td) { padding-top: 19px; color: var(--psd-text); font-size: 24px; font-weight: 500; }

body.psd-commerce-ui-preview.woocommerce-checkout #payment { margin-top: 24px; padding-top: 26px; border-top: 1px solid var(--psd-border); background: transparent; }
body.psd-commerce-ui-preview.woocommerce-checkout #payment::before { content: none; display: none; }
body.psd-commerce-ui-preview.woocommerce-checkout ul.wc_payment_methods { margin: 0; padding: 0; border: 0; }
body.psd-commerce-ui-preview.woocommerce-checkout .wc_payment_method { margin: 0 !important; padding: 14px 12px !important; border: 1px solid transparent; border-bottom-color: var(--psd-border); background: transparent; }
body.psd-commerce-ui-preview.woocommerce-checkout .wc_payment_method:has(input:checked) { border-color: var(--psd-accent); background: rgba(166, 124, 69, .07); }
body.psd-commerce-ui-preview.woocommerce-checkout .wc_payment_method > label { color: var(--psd-text); font: 500 14px/1.4 var(--psd-sans); }
body.psd-commerce-ui-preview.woocommerce-checkout .payment_box { margin: 8px 0 0 !important; padding: 0 !important; background: transparent !important; color: var(--psd-secondary); font: 400 13px/1.45 var(--psd-sans); }
body.psd-commerce-ui-preview.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper { margin-top: 17px; color: var(--psd-secondary); font: 400 12px/1.5 var(--psd-sans); }
body.psd-commerce-ui-preview.woocommerce-checkout #place_order { width: 100%; min-height: 55px; margin: 17px 0 0; border: 1px solid var(--psd-cta); border-radius: 5px !important; background: var(--psd-cta); color: #fff; font: 500 14px/1 var(--psd-sans); letter-spacing: .02em; text-transform: none; }
body.psd-commerce-ui-preview.woocommerce-checkout #place_order:hover { background: var(--psd-cta-hover); }

body.psd-commerce-ui-preview .psd-commerce-checkout-footer { display: flex; justify-content: space-between; gap: 16px; max-width: 1340px; margin: 42px auto 24px; padding: 17px 0; border-top: 1px solid var(--psd-border); color: var(--psd-secondary); font: 400 12px/1.4 var(--psd-sans); }
body.psd-commerce-ui-preview .psd-commerce-checkout-footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
body.psd-commerce-ui-preview .psd-commerce-checkout-footer a { color: inherit; text-decoration: none; }

@media (min-width: 768px) {
  body.psd-commerce-ui-preview.woocommerce-checkout #order_review_heading::after { content: none !important; display: none !important; flex: none; height: 0; background: transparent; }
  body.psd-commerce-ui-preview.woocommerce-checkout #payment { border-top: 0; }
}

@media (max-width: 1023px) {
  body.psd-commerce-ui-preview.woocommerce-checkout form.checkout { display: block; max-width: 640px; margin-inline: auto; }
  body.psd-commerce-ui-preview.woocommerce-checkout form.checkout > #order_review { display: block; width: auto !important; margin: 32px 0 0 !important; float: none !important; clear: none !important; }
  body.psd-commerce-ui-preview.woocommerce-checkout #order_review_heading { padding: 0 0 18px; }
  body.psd-commerce-ui-preview.woocommerce-checkout #order_review .checkout-review-order-table-wrapper { padding-bottom: 28px; }
}

@media (max-width: 767px) {
  body.psd-commerce-ui-preview { overflow-x: hidden; }
  body.psd-commerce-ui-preview .psd-commerce-cart-header,
  body.psd-commerce-ui-preview .psd-commerce-checkout-shell { grid-template-columns: 1fr auto; max-width: none; margin-inline: 16px; padding-block: 16px; }
  body.psd-commerce-ui-preview .psd-commerce-cart-header__logo,
  body.psd-commerce-ui-preview .psd-commerce-checkout-shell__logo { grid-column: 1 / -1; grid-row: 1; justify-self: center; }
  body.psd-commerce-ui-preview :is(.psd-commerce-cart-header__logo, .psd-commerce-checkout-shell__logo) .custom-logo { max-width: 150px; max-height: 38px; }
  body.psd-commerce-ui-preview .psd-commerce-cart-header__continue,
  body.psd-commerce-ui-preview .psd-commerce-checkout-shell__back { grid-column: 1; grid-row: 2; }
  body.psd-commerce-ui-preview .psd-commerce-cart-header__cart,
  body.psd-commerce-ui-preview .psd-commerce-checkout-shell__secure { grid-column: 2; grid-row: 2; }
  body.psd-commerce-ui-preview .psd-commerce-cart-header__cart span:not(.psd-commerce-cart-count),
  body.psd-commerce-ui-preview .psd-commerce-checkout-shell__secure span { display: none; }
  body.psd-commerce-ui-preview.woocommerce-cart .woocommerce { display: block; max-width: none; margin-inline: 16px; }
  body.psd-commerce-ui-preview.woocommerce-cart .psd-commerce-cart-intro { margin: 31px 0 23px; }
  body.psd-commerce-ui-preview.woocommerce-cart .psd-commerce-cart-intro h1,
  body.psd-commerce-ui-preview.woocommerce-checkout h1 { font-size: 32px; }
  body.psd-commerce-ui-preview.woocommerce-cart table.shop_table,
  body.psd-commerce-ui-preview.woocommerce-cart table.shop_table tbody,
  body.psd-commerce-ui-preview.woocommerce-cart table.shop_table tr,
  body.psd-commerce-ui-preview.woocommerce-cart table.shop_table td { display: block !important; width: 100% !important; box-sizing: border-box; }
  body.psd-commerce-ui-preview.woocommerce-cart table.shop_table thead { display: none; }
  body.psd-commerce-ui-preview.woocommerce-cart table.shop_table tr.woocommerce-cart-form__cart-item {
    display: grid !important;
    grid-template-columns: 96px minmax(0, 1fr);
    grid-template-areas: "thumb name" "thumb price" "thumb quantity";
    gap: 0 12px;
    position: static !important;
    inset: auto !important;
    width: 100% !important;
    min-height: 0;
    margin: 0;
    padding: 24px 0 !important;
    float: none !important;
    clear: both !important;
    border-top: 1px solid var(--psd-border);
    border-bottom: 0;
  }
  body.psd-commerce-ui-preview.woocommerce-cart table.shop_table td {
    position: static !important;
    inset: auto !important;
    display: block !important;
    width: auto !important;
    min-width: 0;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    float: none !important;
    clear: none !important;
    text-align: left !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
  }
  body.psd-commerce-ui-preview.woocommerce-cart td.product-thumbnail,
  body.psd-commerce-ui-preview.woocommerce-cart td.product-thumbnail > a {
    position: static !important;
    inset: auto !important;
    display: block !important;
    float: none !important;
    clear: none !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  body.psd-commerce-ui-preview.woocommerce-cart td.product-thumbnail { grid-area: thumb; }
  body.psd-commerce-ui-preview.woocommerce-cart td.product-thumbnail img { display: block; width: 96px !important; max-width: 96px !important; height: 118px !important; object-fit: contain; }
  body.psd-commerce-ui-preview.woocommerce-cart td.product-name { grid-area: name; }
  body.psd-commerce-ui-preview.woocommerce-cart td.product-name > a,
  body.psd-commerce-ui-preview.woocommerce-cart td.product-name dl.variation,
  body.psd-commerce-ui-preview.woocommerce-cart td.product-name dl.variation dd {
    max-width: 100%;
    overflow-wrap: normal !important;
    word-break: normal !important;
  }
  body.psd-commerce-ui-preview.woocommerce-cart td.product-name dl.variation { margin-top: 5px !important; }
  body.psd-commerce-ui-preview.woocommerce-cart td.product-price { grid-area: price; margin-top: 8px !important; }
  body.psd-commerce-ui-preview.woocommerce-cart td.product-quantity { grid-area: quantity; margin-top: 10px !important; }
  body.psd-commerce-ui-preview.woocommerce-cart td.product-remove,
  body.psd-commerce-ui-preview.woocommerce-cart td.product-subtotal,
  body.psd-commerce-ui-preview.woocommerce-cart td.product-subtotal[data-title] { display: none !important; }
  body.psd-commerce-ui-preview.woocommerce-cart .psd-commerce-cart-quantity { max-width: 144px; }
  body.psd-commerce-ui-preview.woocommerce-cart .cart-collaterals { width: auto !important; margin-top: 32px; padding: 0; border-left: 0; border-top: 1px solid var(--psd-border); }
  body.psd-commerce-ui-preview.woocommerce-cart .cart-collaterals .cart_totals { padding-top: 25px; }
  body.psd-commerce-ui-preview.woocommerce-cart .cart-collaterals .cart_totals > h2 { margin-bottom: 18px; }
  body.psd-commerce-ui-preview.woocommerce-cart .wc-proceed-to-checkout a.checkout-button { width: 100%; }
  body.psd-commerce-ui-preview.woocommerce-cart .cart-collaterals::after { text-align: center; }
  body.psd-commerce-ui-preview.woocommerce-cart .cart-collaterals .cart_totals tr {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: baseline;
  }
  body.psd-commerce-ui-preview.woocommerce-cart .cart-collaterals .cart_totals th,
  body.psd-commerce-ui-preview.woocommerce-cart .cart-collaterals .cart_totals td {
    display: block !important;
    width: auto !important;
    min-width: 0 !important;
    margin: 0 !important;
    position: static !important;
    float: none !important;
    clear: none !important;
    white-space: nowrap;
    border: 0 !important;
  }
  body.psd-commerce-ui-preview.woocommerce-cart .cart-collaterals .cart_totals th { text-align: left !important; }
  body.psd-commerce-ui-preview.woocommerce-cart .cart-collaterals .cart_totals td { text-align: right !important; }
  body.psd-commerce-ui-preview.woocommerce-checkout .psd-commerce-checkout-shell { margin-bottom: 27px; }
  body.psd-commerce-ui-preview.woocommerce-checkout > .woocommerce { margin-inline: 16px; }
  body.psd-commerce-ui-preview.woocommerce-checkout #customer_details .woocommerce-billing-fields__field-wrapper { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 12px; }
  body.psd-commerce-ui-preview.woocommerce-checkout #customer_details .woocommerce-billing-fields__field-wrapper .form-row,
  body.psd-commerce-ui-preview.woocommerce-checkout #billing_first_name_field,
  body.psd-commerce-ui-preview.woocommerce-checkout #billing_last_name_field,
  body.psd-commerce-ui-preview.woocommerce-checkout #billing_city_field,
  body.psd-commerce-ui-preview.woocommerce-checkout #billing_country_field,
  body.psd-commerce-ui-preview.woocommerce-checkout #billing_address_1_field,
  body.psd-commerce-ui-preview.woocommerce-checkout #billing_address_2_field,
  body.psd-commerce-ui-preview.woocommerce-checkout #billing_phone_field { grid-column: 1 / -1 !important; }
  body.psd-commerce-ui-preview.woocommerce-checkout #billing_state_field,
  body.psd-commerce-ui-preview.woocommerce-checkout #billing_postcode_field { grid-column: span 1 !important; }
  body.psd-commerce-ui-preview.woocommerce-checkout #order_review_heading { padding: 5px 0 12px; }
  body.psd-commerce-ui-preview.woocommerce-checkout .psd-commerce-checkout-item__image { width: 92px; height: 112px; }
  body.psd-commerce-ui-preview.woocommerce-checkout .psd-commerce-checkout-item__name { width: calc(100% - 108px); }
  body.psd-commerce-ui-preview.woocommerce-checkout .psd-commerce-checkout-item__quantity,
  body.psd-commerce-ui-preview.woocommerce-checkout #order_review dl.variation { margin-left: 0; }
  body.psd-commerce-ui-preview .psd-commerce-checkout-footer { flex-direction: column; margin: 30px 16px 18px; }
  body.psd-commerce-ui-preview .psd-commerce-checkout-footer nav { gap: 14px; }
}

@media (min-width: 361px) and (max-width: 767px) {
  body.psd-commerce-ui-preview.woocommerce-checkout #order_review tbody tr.cart_item dl.variation {
    white-space: nowrap;
  }
}

@media (max-width: 360px) {
  body.psd-commerce-ui-preview.woocommerce-cart table.shop_table tr.woocommerce-cart-form__cart-item { grid-template-columns: 86px minmax(0, 1fr); gap: 0 10px; }
  body.psd-commerce-ui-preview.woocommerce-cart td.product-thumbnail img { width: 86px !important; max-width: 86px !important; height: 106px !important; }
}

/* Consolidated Preview component states. */
body.psd-commerce-ui-preview.woocommerce-checkout .psd-commerce-checkout-title {
  display: block;
  margin: 0 0 28px;
  color: var(--psd-text);
  font: 400 28px/1.15 var(--psd-serif);
  letter-spacing: -.02em;
}

/* Section headings are phrasing content inside their native WooCommerce form rows. */
body.psd-commerce-ui-preview.woocommerce-checkout .woocommerce-billing-fields__field-wrapper .psd-section-heading {
  display: flex;
  align-items: baseline;
  gap: 18px;
  width: 100%;
  margin: 0 0 20px;
  color: var(--psd-text);
}
body.psd-commerce-ui-preview.woocommerce-checkout .psd-section-heading {
  display: flex;
  align-items: baseline;
  gap: 18px;
  grid-column: 1 / -1;
  width: 100%;
  margin: 0 0 20px;
  color: var(--psd-text);
}
body.psd-commerce-ui-preview.woocommerce-checkout .psd-section-heading::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: var(--psd-border);
}
body.psd-commerce-ui-preview.woocommerce-checkout .psd-section-heading__number,
body.psd-commerce-ui-preview.woocommerce-checkout .psd-section-heading > span:not(.psd-section-heading__number) {
  color: var(--psd-accent);
  font: 600 12px/1.3 var(--psd-sans);
  letter-spacing: .12em;
}
body.psd-commerce-ui-preview.woocommerce-checkout .psd-section-heading > span:not(.psd-section-heading__number) { color: var(--psd-text); }
body.psd-commerce-ui-preview.woocommerce-checkout .psd-delivery-section-heading,
body.psd-commerce-ui-preview.woocommerce-checkout .psd-payment-section-heading { grid-column: 1 / -1; }
body.psd-commerce-ui-preview.woocommerce-checkout .psd-commerce-checkout-title { grid-column: 1 / -1; }
body.psd-commerce-ui-preview.woocommerce-checkout #billing_country_field { margin-top: 0; padding-top: 0; border-top: 0; }

/* Required semantics remain in the DOM; only the visual marker is clipped. */
body.psd-commerce-ui-preview.woocommerce-checkout .form-row label .required,
body.psd-commerce-ui-preview.woocommerce-checkout #terms_field .required {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* One Select2 component. The source select is excluded from generic controls. */
body.psd-commerce-ui-preview.woocommerce-checkout select.select2-hidden-accessible {
  position: absolute;
  width: 1px;
  min-width: 1px;
  height: 1px;
  min-height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
  background: transparent;
  box-shadow: none;
}
body.psd-commerce-ui-preview.woocommerce-checkout .select2-container {
  box-sizing: border-box;
  width: 100% !important;
  min-height: 50px;
  height: 50px;
  margin: 0;
}
body.psd-commerce-ui-preview.woocommerce-checkout .select2-container .select2-selection,
body.psd-commerce-ui-preview.woocommerce-checkout .select2-container .select2-selection--single {
  box-sizing: border-box;
  width: 100%;
  height: 50px;
  min-height: 50px;
  margin: 0;
  padding: 0;
  border: 1px solid var(--psd-border);
  border-radius: 5px;
  background: var(--psd-surface);
  box-shadow: none;
}
body.psd-commerce-ui-preview.woocommerce-checkout .select2-container .select2-selection__rendered {
  box-sizing: border-box;
  height: 48px;
  margin: 0;
  padding: 0 14px;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--psd-text);
  line-height: 48px;
}
body.psd-commerce-ui-preview.woocommerce-checkout .select2-container .select2-selection__arrow {
  top: 0;
  right: 10px;
  width: 30px;
  height: 48px;
  margin: 0;
  padding: 0;
}
body.psd-commerce-ui-preview.woocommerce-checkout .select2-container--default .select2-selection--single:focus,
body.psd-commerce-ui-preview.woocommerce-checkout .select2-container--default.select2-container--open .select2-selection--single {
  border-color: var(--psd-accent);
  outline: 1px solid var(--psd-accent);
  outline-offset: 1px;
}

/* One unboxed Order Summary and one product-row layout. */
body.psd-commerce-ui-preview.woocommerce-checkout form.checkout > #order_review {
  border: 0;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none;
  padding: 0;
}
body.psd-commerce-ui-preview.woocommerce-checkout #order_review table { border: 0; }
body.psd-commerce-ui-preview.woocommerce-checkout #order_review thead { display: none; }
body.psd-commerce-ui-preview.woocommerce-checkout #order_review :is(th, td) {
  border: 0 !important;
  padding: 13px 0;
}
body.psd-commerce-ui-preview.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table tbody tr.cart_item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 16px;
  align-items: start;
  border: 0;
  word-break: normal;
}
body.psd-commerce-ui-preview.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table tbody tr:not(.cart_item) {
  border: 0;
  border-top: 1px solid var(--psd-border);
}
body.psd-commerce-ui-preview.woocommerce-checkout #order_review tbody tr.cart_item > td.product-name {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  grid-template-areas: "media name" "media variation" "media quantity";
  column-gap: 16px;
  grid-column: 1 !important;
  width: 100% !important;
  min-width: 0;
  padding: 13px 0;
  word-break: normal;
  overflow-wrap: normal;
}
body.psd-commerce-ui-preview.woocommerce-checkout #order_review .psd-commerce-checkout-item__media {
  grid-area: media;
  width: 104px;
  height: 128px;
  margin: 0;
}
body.psd-commerce-ui-preview.woocommerce-checkout #order_review .psd-commerce-checkout-item__image {
  display: block;
  width: 104px;
  height: 128px;
  object-fit: cover;
}
body.psd-commerce-ui-preview.woocommerce-checkout #order_review .psd-commerce-checkout-item__name { grid-area: name; min-width: 0; width: auto; overflow-wrap: normal; word-break: normal; }
body.psd-commerce-ui-preview.woocommerce-checkout #order_review tbody tr.cart_item dl.variation { grid-area: variation; margin: 6px 0 0; word-break: normal; overflow-wrap: normal; white-space: normal; }
body.psd-commerce-ui-preview.woocommerce-checkout #order_review .psd-commerce-checkout-item__quantity { grid-area: quantity; margin: 6px 0 0; }
body.psd-commerce-ui-preview.woocommerce-checkout #order_review tbody tr.cart_item > td.product-total {
  grid-column: 2;
  grid-row: 1;
  min-width: max-content;
  padding: 13px 0;
  text-align: right;
  white-space: nowrap;
  word-break: normal;
}
body.psd-commerce-ui-preview.woocommerce-checkout #order_review .order-total :is(th, td) { font-size: 24px; font-weight: 500; }

/* Cart summary rows use native WooCommerce cells without pseudo-label duplication. */
body.psd-commerce-ui-preview.woocommerce-cart .cart-collaterals .cart_totals td::before,
body.psd-commerce-ui-preview.woocommerce-cart .cart-collaterals .cart_totals th::before,
body.psd-commerce-ui-preview.woocommerce-cart .cart-collaterals .cart_totals td::after,
body.psd-commerce-ui-preview.woocommerce-cart .cart-collaterals .cart_totals th::after,
body.psd-commerce-ui-preview.woocommerce-cart table.shop_table td::before,
body.psd-commerce-ui-preview.woocommerce-cart table.shop_table td::after,
body.psd-commerce-ui-preview.woocommerce-cart table.shop_table th::before,
body.psd-commerce-ui-preview.woocommerce-cart table.shop_table th::after { content: none; display: none; }
body.psd-commerce-ui-preview.woocommerce-cart .cart-collaterals .cart_totals tr {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}
body.psd-commerce-ui-preview.woocommerce-cart .cart-collaterals .cart_totals th,
body.psd-commerce-ui-preview.woocommerce-cart .cart-collaterals .cart_totals td { display: block; width: auto; min-width: 0; white-space: nowrap; border: 0 !important; }
body.psd-commerce-ui-preview.woocommerce-cart .cart-collaterals .cart_totals th { text-align: left; }
body.psd-commerce-ui-preview.woocommerce-cart .cart-collaterals .cart_totals td { text-align: right; }
body.psd-commerce-ui-preview.woocommerce-cart .cart-collaterals::after { content: none; }
body.psd-commerce-ui-preview.woocommerce-cart .psd-commerce-cart-continue-link {
  display: inline-flex;
  margin-top: 20px;
  color: var(--psd-accent);
  font: 400 13px/1.4 var(--psd-sans);
  text-decoration: underline;
  text-underline-offset: 3px;
}
body.psd-commerce-ui-preview.woocommerce-cart .psd-commerce-cart-continue-link:hover,
body.psd-commerce-ui-preview.woocommerce-cart .psd-commerce-cart-continue-link:focus-visible { color: var(--psd-cta); outline: 2px solid var(--psd-accent); outline-offset: 3px; }

@media (max-width: 767px) {
  body.psd-commerce-ui-preview.woocommerce-checkout .psd-commerce-checkout-title { margin-bottom: 24px; font-size: 32px; line-height: 1.1; }
  body.psd-commerce-ui-preview.woocommerce-checkout .psd-commerce-checkout-shell__logo .custom-logo { max-width: 170px; max-height: 42px; }
  body.psd-commerce-ui-preview.woocommerce-checkout form.checkout > #order_review { display: block; width: auto !important; margin: 30px 0 0 !important; }
  body.psd-commerce-ui-preview.woocommerce-checkout #order_review .checkout-review-order-table-wrapper { padding-bottom: 28px; }
  body.psd-commerce-ui-preview.woocommerce-checkout #payment { margin-top: 28px; padding: 26px 0 0; border-top: 1px solid var(--psd-border); background: transparent; }
  body.psd-commerce-ui-preview.woocommerce-checkout #payment ul.payment_methods,
  body.psd-commerce-ui-preview.woocommerce-checkout #payment .place-order { padding-inline: 0; border: 0; background: transparent; box-shadow: none; }
  body.psd-commerce-ui-preview.woocommerce-checkout #payment ul.payment_methods li { border: 1px solid var(--psd-border); border-width: 1px 0 0; border-radius: 0; background: transparent; }
  body.psd-commerce-ui-preview.woocommerce-checkout #payment ul.payment_methods li:last-child { border-bottom: 1px solid var(--psd-border); }
  body.psd-commerce-ui-preview.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table tbody tr.cart_item { border-top: 1px solid var(--psd-border); }
  body.psd-commerce-ui-preview.woocommerce-checkout #order_review tbody tr.cart_item { column-gap: 12px; }
  body.psd-commerce-ui-preview.woocommerce-checkout #order_review tbody tr.cart_item > td { position: static !important; inset: auto !important; margin: 0 !important; border: 0 !important; float: none !important; clear: none !important; word-break: normal; overflow-wrap: normal; }
  body.psd-commerce-ui-preview.woocommerce-checkout #order_review tbody tr.cart_item > td.product-name { grid-template-columns: 88px minmax(0, 1fr); column-gap: 10px; width: auto !important; min-width: 0; }
  body.psd-commerce-ui-preview.woocommerce-checkout #order_review tbody tr.cart_item > td.product-total { grid-column: 2; grid-row: 1; width: auto !important; min-width: max-content; word-break: normal; }
  body.psd-commerce-ui-preview.woocommerce-checkout #order_review tbody tr.cart_item dl.variation { margin: 6px 0 0; word-break: normal; overflow-wrap: normal; white-space: normal; }
  body.psd-commerce-ui-preview.woocommerce-checkout #order_review .psd-commerce-checkout-item__media,
  body.psd-commerce-ui-preview.woocommerce-checkout #order_review .psd-commerce-checkout-item__image { width: 88px; height: 108px; }
  body.psd-commerce-ui-preview.woocommerce-cart .cart-collaterals .cart_totals tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
  body.psd-commerce-ui-preview.woocommerce-cart .psd-commerce-cart-continue-link { display: flex; justify-content: center; }
}

/* Original Woo consent, placed before payment choices without recreating inputs. */
body.psd-commerce-ui-preview.woocommerce-checkout #payment .psd-checkout-consent {
  box-sizing: border-box;
  margin: 0 0 20px;
  padding: 16px;
  border: 1px solid var(--psd-border);
  border-radius: 8px;
  background: var(--psd-surface);
}
body.psd-commerce-ui-preview.woocommerce-checkout #payment .psd-checkout-consent .form-row {
  margin: 0;
  padding: 0;
}
body.psd-commerce-ui-preview.woocommerce-checkout #payment .psd-checkout-consent .woocommerce-form__label-for-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-height: 24px;
  margin: 0;
  color: var(--psd-text);
  font-size: 14px;
  line-height: 1.5;
  cursor: pointer;
}
body.psd-commerce-ui-preview.woocommerce-checkout #payment .psd-checkout-consent input[name="terms"] {
  position: static;
  float: none;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  margin: 1px 0 0;
  accent-color: var(--psd-accent);
}
body.psd-commerce-ui-preview.woocommerce-checkout #payment .psd-checkout-consent input[name="terms"]:focus-visible {
  outline: 2px solid var(--psd-accent);
  outline-offset: 3px;
}
body.psd-commerce-ui-preview.woocommerce-checkout #payment .psd-checkout-consent a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
body.psd-commerce-ui-preview.woocommerce-checkout #payment .psd-checkout-consent .woocommerce-privacy-policy-text p {
  margin: 0 0 12px;
}


/* Consent precedes the Payment heading inside the replaceable Woo fragment. */
body.psd-commerce-ui-preview.woocommerce-checkout #payment .psd-checkout-consent { margin-bottom: 28px; }
body.psd-commerce-ui-preview.woocommerce-checkout #payment .psd-payment-section-heading { margin: 0 0 16px; }

/* Order confirmation follows the same warm, editorial commerce design. */
body.psd-commerce-ui-preview.woocommerce-order-received .woocommerce-order { max-width: 1120px; margin: 0 auto; padding: 0 24px 40px; }
body.psd-commerce-ui-preview.woocommerce-order-received .woocommerce-thankyou-order-received {
  margin: 48px auto 36px !important; padding: 0 !important; border: 0 !important;
  background: transparent !important; box-shadow: none !important; color: var(--psd-text) !important;
  font: 400 clamp(28px, 3.5vw, 44px)/1.2 var(--psd-serif) !important; text-align: center;
}
body.psd-commerce-ui-preview.woocommerce-order-received .woocommerce-thankyou-order-received::before { display: none; }
body.psd-commerce-ui-preview.woocommerce-order-received ul.woocommerce-order-overview {
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 22px;
  margin: 0 0 40px !important; padding: 24px !important; border: 1px solid var(--psd-border);
  border-radius: 8px; background: var(--psd-surface); list-style: none;
}
body.psd-commerce-ui-preview.woocommerce-order-received ul.woocommerce-order-overview::before,
body.psd-commerce-ui-preview.woocommerce-order-received ul.woocommerce-order-overview::after { display: none; }
body.psd-commerce-ui-preview.woocommerce-order-received ul.woocommerce-order-overview li {
  grid-column: span 2; float: none !important; width: auto !important; min-width: 0;
  margin: 0 !important; padding: 0 !important; border: 0 !important;
  color: var(--psd-secondary); font: 400 13px/1.5 var(--psd-sans); text-transform: none;
}
body.psd-commerce-ui-preview.woocommerce-order-received ul.woocommerce-order-overview li.email { grid-column: span 3; }
body.psd-commerce-ui-preview.woocommerce-order-received ul.woocommerce-order-overview li strong {
  display: block; margin-top: 5px; color: var(--psd-text); font: 500 16px/1.5 var(--psd-sans); overflow-wrap: anywhere;
}
body.psd-commerce-ui-preview.woocommerce-order-received .woocommerce-order-details,
body.psd-commerce-ui-preview.woocommerce-order-received .woocommerce-customer-details { margin: 0 0 32px; }
body.psd-commerce-ui-preview.woocommerce-order-received .woocommerce-order h2 { color: var(--psd-text); font: 400 28px/1.25 var(--psd-serif); text-transform: none; text-align: left; }
body.psd-commerce-ui-preview.woocommerce-order-received .woocommerce-order table.shop_table { width: 100%; margin: 0; border: 0; border-collapse: collapse; }
body.psd-commerce-ui-preview.woocommerce-order-received .woocommerce-order table.shop_table :is(th, td) { padding: 16px 0; border: 0; border-bottom: 1px solid var(--psd-border); text-align: left; }
body.psd-commerce-ui-preview.woocommerce-order-received .woocommerce-order table.shop_table :is(th, td):last-child { text-align: right; }
body.psd-commerce-ui-preview.woocommerce-order-received .woocommerce-customer-details address { padding: 20px; border: 1px solid var(--psd-border); border-radius: 8px; font-style: normal; line-height: 1.7; overflow-wrap: anywhere; }
body.psd-commerce-ui-preview.woocommerce-order-received .psd-received-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 24px; margin: 40px 0; }
body.psd-commerce-ui-preview.woocommerce-order-received .psd-received-actions .button { border-radius: 999px; background: var(--psd-cta); color: #fff; padding: 16px 28px; }
body.psd-commerce-ui-preview.woocommerce-order-received .psd-received-actions .button:hover { background: var(--psd-cta-hover); }
@media (max-width: 600px) {
  body.psd-commerce-ui-preview.woocommerce-order-received .woocommerce-order { padding-inline: 16px; }
  body.psd-commerce-ui-preview.woocommerce-order-received ul.woocommerce-order-overview { grid-template-columns: 1fr 1fr; padding: 18px !important; gap: 18px; }
  body.psd-commerce-ui-preview.woocommerce-order-received ul.woocommerce-order-overview li { grid-column: span 1; }
  body.psd-commerce-ui-preview.woocommerce-order-received ul.woocommerce-order-overview li.email { grid-column: 1 / -1; }
  body.psd-commerce-ui-preview.woocommerce-order-received .psd-received-header { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; }
  body.psd-commerce-ui-preview.woocommerce-order-received .psd-received-header .psd-commerce-checkout-shell__logo { order: -1; width: 100%; text-align: center; }
}

/* Desktop refinement; keep the approved phone confirmation layout intact. */
@media (min-width: 768px) {
  body.psd-commerce-ui-preview.woocommerce-order-received .woocommerce-thankyou-order-received {
    font-size: 36px !important;
    margin: 36px auto 28px !important;
  }
  body.psd-commerce-ui-preview.woocommerce-order-received ul.woocommerce-order-overview {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
    gap: 24px;
    text-align: left;
  }
  body.psd-commerce-ui-preview.woocommerce-order-received ul.woocommerce-order-overview li,
  body.psd-commerce-ui-preview.woocommerce-order-received ul.woocommerce-order-overview li.email {
    grid-column: auto;
    text-align: left;
    justify-self: stretch;
  }
  body.psd-commerce-ui-preview.woocommerce-order-received .woocommerce-order-details,
  body.psd-commerce-ui-preview.woocommerce-order-received .woocommerce-order table.shop_table {
    box-sizing: border-box;
    width: 100% !important;
    max-width: none !important;
    margin-inline: 0 !important;
  }
  body.psd-commerce-ui-preview.woocommerce-order-received .woocommerce-customer-details address {
    box-sizing: border-box;
    width: 100%;
    max-width: 480px;
  }
  body.psd-commerce-ui-preview.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce-additional-fields {
    margin-top: 12px;
    margin-bottom: 0;
    padding-bottom: 0;
  }
  body.psd-commerce-ui-preview.woocommerce-checkout:not(.woocommerce-order-received) .psd-commerce-order-notes-toggle {
    margin-bottom: 12px;
  }
  body.psd-commerce-ui-preview.woocommerce-checkout:not(.woocommerce-order-received) #payment .psd-checkout-consent {
    margin-bottom: 20px;
  }
}
@media (min-width: 1024px) {
  body.psd-commerce-ui-preview.woocommerce-order-received ul.woocommerce-order-overview {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) minmax(0, 2.2fr) minmax(0, .8fr) minmax(0, 1.2fr);
  }
}

/* The order-note toggle already labels this optional checkout section. */
body.psd-commerce-ui-preview.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce-additional-fields > h3 {
  display: none;
}

/* Keep product geometry independent of tax status and amount text. */
body.psd-commerce-ui-preview.woocommerce-checkout:not(.woocommerce-order-received) #order_review .woocommerce-checkout-review-order-table,
body.psd-commerce-ui-preview.woocommerce-checkout:not(.woocommerce-order-received) #order_review .woocommerce-checkout-review-order-table > tbody,
body.psd-commerce-ui-preview.woocommerce-checkout:not(.woocommerce-order-received) #order_review .woocommerce-checkout-review-order-table > tfoot {
  display: block;
  width: 100%;
}
body.psd-commerce-ui-preview.woocommerce-checkout:not(.woocommerce-order-received) #order_review .woocommerce-checkout-review-order-table > tfoot > tr {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(90px, max-content);
  align-items: center;
}
body.psd-commerce-ui-preview.woocommerce-checkout:not(.woocommerce-order-received) #order_review .woocommerce-checkout-review-order-table > tfoot > tr > * {
  width: auto !important;
  min-width: 0;
}
body.psd-commerce-ui-preview.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table > tfoot td {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
body.psd-commerce-ui-preview.woocommerce-checkout #order_review .psd-whop-tax-preview[data-loading="true"] td,
body.psd-commerce-ui-preview.woocommerce-checkout #order_review .order-total td[aria-busy="true"] {
  color: transparent;
  position: relative;
}
body.psd-commerce-ui-preview.woocommerce-checkout #order_review .psd-whop-tax-preview[data-loading="true"] td::after,
body.psd-commerce-ui-preview.woocommerce-checkout #order_review .order-total td[aria-busy="true"]::after {
  content: "";
  position: absolute;
  right: 0;
  top: calc(50% - 6px);
  width: 52px;
  height: 12px;
  border-radius: 4px;
  background: var(--psd-border, #ded9d0);
  animation: psd-tax-pulse 1.2s ease-in-out infinite alternate;
}
@keyframes psd-tax-pulse { from { opacity: .4; } to { opacity: .9; } }
@media (prefers-reduced-motion: reduce) {
  body.psd-commerce-ui-preview.woocommerce-checkout #order_review .psd-whop-tax-preview td::after,
  body.psd-commerce-ui-preview.woocommerce-checkout #order_review .order-total td::after { animation: none !important; }
}
