/*!
 * Premium WooCommerce Storefront — Cart, Checkout and Order received.
 * Presentation only: styles WooCommerce's classic markup; fields, gateways,
 * coupons and CartFlows hooks are untouched. Payment fields rendered inside
 * gateway iframes (card number, Apple Pay, Google Pay, PayPal) keep the gateway's look.
 */

body.pws-wc-design {
	--pws-muted: color-mix(in srgb, var(--pws-text, #111) 58%, var(--pws-bg, #fff));
	--pws-soft: color-mix(in srgb, var(--pws-text, #111) 40%, var(--pws-bg, #fff));
	--pws-border: color-mix(in srgb, var(--pws-text, #111) 10%, var(--pws-bg, #fff));
	--pws-border-strong: color-mix(in srgb, var(--pws-text, #111) 18%, var(--pws-bg, #fff));
	--pws-accent-soft: color-mix(in srgb, var(--pws-accent, #F97316) 12%, var(--pws-bg, #fff));
	--pws-save-soft: color-mix(in srgb, var(--pws-save, #16A34A) 14%, var(--pws-bg, #fff));
	--pws-radius-sm: calc(var(--pws-radius, 16px) * .6);
	--pws-radius-lg: calc(var(--pws-radius, 16px) * 1.4);
	--pws-shadow: 0 10px 30px -12px rgba(17, 17, 17, .16), 0 2px 6px rgba(17, 17, 17, .04);
}

/* ---------- Page head + steps ---------- */
.pws-wc-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding-top: 30px; padding-bottom: 22px; }
html body .pws-root .pws-wc-head__title { font-size: clamp(26px, 3vw, 34px) !important; font-weight: 800 !important; letter-spacing: -.02em; margin: 0 !important; color: var(--pws-text) !important; text-transform: var(--pws-title-transform) !important; }
.pws-steps { display: flex; align-items: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
.pws-steps__item { display: flex; align-items: center; gap: 8px; }
.pws-steps__item + .pws-steps__item::before { content: ""; width: 34px; height: 2px; border-radius: 2px; background: var(--pws-border-strong); }
.pws-steps__item.is-done + .pws-steps__item::before,
.pws-steps__item.is-current::before { background: var(--pws-text) !important; }
.pws-steps__item a { display: flex; align-items: center; gap: 8px; }
.pws-steps__dot { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--pws-border-strong); font-size: 12.5px; font-weight: 700; color: var(--pws-muted); background: var(--pws-bg); }
.pws-steps__label { font-size: 13.5px; font-weight: 600; color: var(--pws-muted); }
html body .pws-root .pws-steps__item.is-current .pws-steps__dot { background: var(--pws-primary); border-color: var(--pws-primary); color: #fff; }
html body .pws-root .pws-steps__item.is-current .pws-steps__label,
html body .pws-root .pws-steps__item.is-done .pws-steps__label { color: var(--pws-text) !important; }
html body .pws-root .pws-steps__item.is-done .pws-steps__dot { background: var(--pws-save); border-color: var(--pws-save); color: #fff; }
.pws-wc-head__secure { display: inline-flex; align-items: center; gap: 6px; margin: 0 !important; font-size: 13px; font-weight: 600; color: var(--pws-save); }

/* ---------- Base inside cart/checkout ---------- */
html body.pws-wc-design .pws-wc-page { padding-bottom: 32px; color: var(--pws-text); font-family: var(--pws-font); }
html body.pws-wc-design .pws-wc-page :is(h1, h2, h3, h4, p, a, span, strong, label, td, th, li, input, select, textarea, button, legend, small, abbr) { font-family: var(--pws-font) !important; }
html body.pws-wc-design .pws-wc-page :is(h2, h3) { font-size: 18px !important; font-weight: 800 !important; letter-spacing: -.01em !important; text-transform: none !important; margin: 0 0 16px !important; color: var(--pws-text) !important; }
html body.pws-wc-design .pws-wc-page a:not(.button):not(.checkout-button):not(.pws-btn) { color: var(--pws-text) !important; text-decoration: none !important; }
html body.pws-wc-design .pws-wc-page .woocommerce { width: 100%; }
html body.pws-wc-design .pws-wc-page .woocommerce::before,
html body.pws-wc-design .pws-wc-page .woocommerce::after { display: none !important; }
html body.pws-wc-design .pws-wc-page .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }

/* Cards */
html body.pws-wc-design .pws-wc-page :where(.woocommerce-cart-form, .cart_totals, #customer_details .col-1, #customer_details .col-2, #order_review, .cross-sells) {
	background: var(--pws-bg) !important; border: 1px solid var(--pws-border) !important; border-radius: var(--pws-radius-lg) !important;
	padding: 24px !important; box-shadow: none !important; float: none !important; width: auto !important; max-width: none !important; margin: 0 !important;
}

/* Tables */
html body.pws-wc-design .pws-wc-page table.shop_table {
	width: 100% !important; margin: 0 !important; border: 0 !important; border-collapse: collapse !important; border-spacing: 0; background: transparent !important; border-radius: 0 !important; font-size: 14.5px;
}
html body.pws-wc-design .pws-wc-page table.shop_table :is(th, td) {
	padding: 14px 8px !important; border: 0 !important; border-top: 1px solid var(--pws-border) !important; background: transparent !important;
	vertical-align: middle !important; text-align: left; color: var(--pws-text) !important; line-height: 1.4 !important; text-transform: none !important; letter-spacing: normal !important;
}
html body.pws-wc-design .pws-wc-page table.shop_table thead th {
	border-top: 0 !important; padding-top: 0 !important; font-size: 11.5px !important; font-weight: 700 !important; letter-spacing: .08em !important; text-transform: uppercase !important; color: var(--pws-muted) !important; white-space: nowrap;
}
html body.pws-wc-design .pws-wc-page table.shop_table tr:first-child > :is(th, td) { border-top: 0 !important; }
html body.pws-wc-design .pws-wc-page table.shop_table thead + tbody tr:first-child > :is(th, td) { border-top: 1px solid var(--pws-border) !important; }
html body.pws-wc-design .pws-wc-page .woocommerce-Price-amount { font-weight: 700; white-space: nowrap; }
html body.pws-wc-design .pws-wc-page del .woocommerce-Price-amount { color: var(--pws-soft); font-weight: 500; }

/* Buttons (WooCommerce classes) */
html body.pws-wc-design .pws-wc-page :is(.button, button.button, a.button, input.button, .checkout-button) {
	display: inline-flex !important; align-items: center !important; justify-content: center !important; gap: 8px; height: auto !important; min-height: 46px !important;
	padding: 0 22px !important; margin: 0 !important; border: 1.5px solid var(--pws-primary) !important; border-radius: 999px !important;
	background: var(--pws-primary) !important; color: #fff !important; font-size: 14px !important; font-weight: 600 !important; line-height: 1 !important;
	text-transform: none !important; letter-spacing: .01em !important; text-decoration: none !important; box-shadow: none !important; text-shadow: none !important; cursor: pointer;
	transition: transform .15s var(--pws-ease), background-color .2s, border-color .2s, opacity .2s;
}
html body.pws-wc-design .pws-wc-page :is(.button, .checkout-button):hover { transform: translateY(-1px); }
html body.pws-wc-design .pws-wc-page :is(.checkout-button, #place_order) {
	width: 100% !important; min-height: 56px !important; font-size: 15px !important; text-transform: uppercase !important; letter-spacing: .04em !important;
	background: var(--pws-accent) !important; border-color: var(--pws-accent) !important; box-shadow: 0 10px 22px -12px var(--pws-accent) !important;
}
html body.pws-wc-design .pws-wc-page :is(.checkout-button, #place_order):hover { background: color-mix(in srgb, var(--pws-accent) 88%, #000) !important; border-color: transparent !important; }
html body.pws-wc-design .pws-wc-page button[name=update_cart],
html body.pws-wc-design .pws-wc-page .woocommerce-orders-table .button,
html body.pws-wc-design .pws-wc-page .order-again .button { background: transparent !important; color: var(--pws-text) !important; border-color: var(--pws-border-strong) !important; }
html body.pws-wc-design .pws-wc-page button[name=update_cart]:disabled,
html body.pws-wc-design .pws-wc-page .button:disabled,
html body.pws-wc-design .pws-wc-page .button.disabled { opacity: .45 !important; transform: none !important; cursor: not-allowed; }

/* Form fields */
html body.pws-wc-design .pws-wc-page :is(input.input-text, input[type=text], input[type=email], input[type=tel], input[type=number], input[type=password], select, textarea),
html body.pws-wc-design .pws-wc-page .select2-container .select2-selection--single {
	width: 100% !important; min-height: 48px !important; padding: 12px 14px !important; margin: 0 !important; border-radius: 12px !important;
	border: 1.5px solid var(--pws-border-strong) !important; background: var(--pws-bg) !important; color: var(--pws-text) !important;
	font-size: 15px !important; line-height: 1.4 !important; box-shadow: none !important; outline: none !important; transition: border-color .2s, box-shadow .2s;
}
html body.pws-wc-design .pws-wc-page :is(textarea, textarea.input-text) { min-height: 110px !important; resize: vertical; }
html body.pws-wc-design .pws-wc-page :is(input.input-text, input[type=text], input[type=email], input[type=tel], input[type=number], input[type=password], select, textarea):focus {
	border-color: var(--pws-text) !important; box-shadow: 0 0 0 4px color-mix(in srgb, var(--pws-text) 8%, transparent) !important;
}
html body.pws-wc-design .pws-wc-page ::placeholder { color: var(--pws-soft) !important; opacity: 1; }
html body.pws-wc-design .pws-wc-page .select2-container .select2-selection--single { display: flex !important; align-items: center; padding: 0 14px !important; }
html body.pws-wc-design .pws-wc-page .select2-container .select2-selection__rendered { padding: 0 !important; line-height: 44px !important; color: var(--pws-text) !important; }
html body.pws-wc-design .pws-wc-page .select2-container .select2-selection__arrow { height: 44px !important; right: 10px !important; }
html body.pws-wc-design .pws-wc-page .form-row { display: block; margin: 0 0 14px !important; padding: 0 !important; }
html body.pws-wc-design .pws-wc-page .form-row label { display: block !important; margin: 0 0 6px !important; padding: 0 !important; font-size: 13px !important; font-weight: 600 !important; color: var(--pws-text) !important; line-height: 1.3 !important; text-transform: none !important; letter-spacing: normal !important; }
html body.pws-wc-design .pws-wc-page .form-row :is(.required, abbr.required) { color: var(--pws-accent) !important; text-decoration: none !important; border: 0; }
html body.pws-wc-design .pws-wc-page .form-row .optional { color: var(--pws-muted); font-weight: 500; }
html body.pws-wc-design .pws-wc-page .woocommerce-input-wrapper { display: block; width: 100%; }
html body.pws-wc-design .pws-wc-page .form-row.woocommerce-invalid :is(input, select, .select2-selection) { border-color: #DC2626 !important; }
html body.pws-wc-design .pws-wc-page .form-row.woocommerce-validated :is(input, select) { border-color: color-mix(in srgb, var(--pws-save) 55%, var(--pws-border-strong)) !important; }
html body.pws-wc-design .pws-wc-page input[type=checkbox],
html body.pws-wc-design .pws-wc-page input[type=radio] { width: 18px !important; height: 18px !important; min-height: 0 !important; margin: 0 8px 0 0 !important; padding: 0 !important; accent-color: var(--pws-primary); vertical-align: middle; position: static !important; opacity: 1 !important; -webkit-appearance: auto !important; appearance: auto !important; background: none !important; border: 0 !important; box-shadow: none !important; }

/* Notices */
html body.pws-wc-design .pws-wc-page :is(.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-notice) {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; list-style: none;
	margin: 0 0 18px !important; padding: 14px 18px !important; border: 1px solid var(--pws-border) !important; border-left: 4px solid var(--pws-accent) !important;
	border-radius: 14px !important; background: var(--pws-surface) !important; color: var(--pws-text) !important; font-size: 14px !important;
}
html body.pws-wc-design .pws-wc-page :is(.woocommerce-message, .woocommerce-info, .woocommerce-error)::before { display: none !important; }
html body.pws-wc-design .pws-wc-page .woocommerce-message { border-left-color: var(--pws-save) !important; }
html body.pws-wc-design .pws-wc-page .woocommerce-error { border-left-color: #DC2626 !important; }
html body.pws-wc-design .pws-wc-page .woocommerce-error li { margin: 0 !important; }
html body.pws-wc-design .pws-wc-page :is(.woocommerce-info, .woocommerce-message) a:not(.button) { font-weight: 700 !important; text-decoration: underline !important; text-underline-offset: 3px; }
html body.pws-wc-design .pws-wc-page .woocommerce-notices-wrapper:empty { display: none; }

/* ================= CART ================= */
html body.pws-wc-design .pws-wc-page--cart .woocommerce { display: grid !important; grid-template-columns: minmax(0, 1fr) 380px; gap: 24px; align-items: start; }
html body.pws-wc-design .pws-wc-page--cart .woocommerce > :not(.woocommerce-cart-form):not(.cart-collaterals) { grid-column: 1 / -1; }
html body.pws-wc-design .pws-wc-page--cart .woocommerce-cart-form { grid-column: 1; }
html body.pws-wc-design .pws-wc-page--cart .cart-collaterals { grid-column: 2; position: sticky; top: calc(var(--pws-header-h, 68px) + 20px); width: auto !important; float: none !important; display: flex; flex-direction: column; gap: 18px; }
html body.pws-wc-design .pws-wc-page--cart .cart-collaterals::before,
html body.pws-wc-design .pws-wc-page--cart .cart-collaterals::after { display: none !important; }

html body.pws-wc-design .pws-wc-page--cart table.cart td.product-thumbnail { width: 88px; }
html body.pws-wc-design .pws-wc-page--cart table.cart td.product-thumbnail img { width: 72px !important; height: 72px !important; max-width: none !important; object-fit: cover; border-radius: 12px !important; background: var(--pws-surface); border: 0 !important; display: block; }
html body.pws-wc-design .pws-wc-page--cart table.cart td.product-name { font-weight: 700 !important; font-size: 15px !important; }
html body.pws-wc-design .pws-wc-page--cart table.cart td.product-name a { color: var(--pws-text) !important; }
html body.pws-wc-design .pws-wc-page--cart table.cart td.product-name :is(dl.variation, .wc-item-meta) { margin: 4px 0 0 !important; font-size: 12.5px; font-weight: 500; color: var(--pws-muted); }
html body.pws-wc-design .pws-wc-page--cart table.cart td.product-name dl.variation :is(dt, dd) { display: inline; margin: 0 !important; float: none; }
html body.pws-wc-design .pws-wc-page--cart table.cart td.product-remove { width: 40px; }
html body.pws-wc-design .pws-wc-page--cart table.cart a.remove {
	display: inline-flex !important; align-items: center; justify-content: center; width: 30px !important; height: 30px !important; border-radius: 50% !important;
	background: var(--pws-surface) !important; color: var(--pws-muted) !important; font-size: 18px !important; font-weight: 400 !important; line-height: 1 !important; text-decoration: none !important; transition: all .2s;
}
html body.pws-wc-design .pws-wc-page--cart table.cart a.remove:hover { background: #FEE2E2 !important; color: #B91C1C !important; }
html body.pws-wc-design .pws-wc-page--cart table.cart td.product-subtotal { font-weight: 700; }
html body.pws-wc-design .pws-wc-page--cart table.cart .quantity { display: inline-flex; }
html body.pws-wc-design .pws-wc-page--cart table.cart .quantity .qty { width: 76px !important; min-height: 42px !important; padding: 6px 8px !important; text-align: center; border-radius: 999px !important; }
html body.pws-wc-design .pws-wc-page--cart table.cart td.actions { padding-top: 18px !important; }
html body.pws-wc-design .pws-wc-page--cart table.cart td.actions::after { content: ""; display: table; clear: both; }
html body.pws-wc-design .pws-wc-page--cart table.cart td.actions .coupon { display: flex !important; gap: 8px; align-items: center; float: left; width: auto; max-width: 100%; }
html body.pws-wc-design .pws-wc-page--cart table.cart td.actions .coupon .input-text { width: 220px !important; min-height: 46px !important; border-radius: 999px !important; padding: 0 18px !important; }
html body.pws-wc-design .pws-wc-page--cart table.cart td.actions > .button { float: right; }

html body.pws-wc-design .pws-wc-page--cart .cart_totals { background: var(--pws-surface) !important; border-color: transparent !important; float: none !important; width: auto !important; }
html body.pws-wc-design .pws-wc-page--cart .cart_totals table.shop_table :is(th, td) { padding: 12px 0 !important; }
html body.pws-wc-design .pws-wc-page--cart .cart_totals table.shop_table th { font-weight: 600 !important; color: var(--pws-muted) !important; width: 45%; }
html body.pws-wc-design .pws-wc-page--cart .cart_totals table.shop_table td { text-align: right !important; }
html body.pws-wc-design .pws-wc-page--cart .cart_totals .order-total :is(th, td) { padding-top: 16px !important; font-size: 18px !important; color: var(--pws-text) !important; font-weight: 800 !important; }
html body.pws-wc-design .pws-wc-page--cart .cart_totals .order-total .woocommerce-Price-amount { color: var(--pws-accent) !important; font-size: 24px; }
html body.pws-wc-design .pws-wc-page--cart .wc-proceed-to-checkout { padding: 16px 0 0 !important; display: flex; flex-direction: column; gap: 10px; }
html body.pws-wc-design .pws-wc-page--cart .wc-proceed-to-checkout > * { margin: 0 !important; }
html body.pws-wc-design .pws-wc-page--cart .cross-sells { order: 2; }
html body.pws-wc-design .pws-wc-page--cart .cross-sells ul.products { display: grid !important; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0 !important; padding: 0 !important; }
html body.pws-wc-design .pws-wc-page--cart .cross-sells ul.products::before,
html body.pws-wc-design .pws-wc-page--cart .cross-sells ul.products::after { display: none !important; }
html body.pws-wc-design .pws-wc-page--cart .cross-sells ul.products li.product { width: auto !important; margin: 0 !important; float: none !important; }
html body.pws-wc-design .pws-wc-page--cart .cart-empty { font-size: 16px !important; }
html body.pws-wc-design .pws-wc-page--cart .return-to-shop .button { background: var(--pws-accent) !important; border-color: var(--pws-accent) !important; }

/* ================= CHECKOUT ================= */
html body.pws-wc-design .pws-wc-page--checkout form.checkout {
	display: grid !important; grid-template-columns: minmax(0, 1fr) 420px; grid-template-rows: auto auto 1fr; column-gap: 24px; row-gap: 0; align-items: start;
}
html body.pws-wc-design .pws-wc-page--checkout form.checkout > * { grid-column: 1; min-width: 0; }
html body.pws-wc-design .pws-wc-page--checkout #customer_details { grid-column: 1; grid-row: 2 / span 2; display: flex; flex-direction: column; gap: 18px; width: auto !important; float: none !important; margin: 0 !important; }
/* Express checkout (Apple Pay / Google Pay) + "OR" separator: full width on top */
html body.pws-wc-design .pws-wc-page--checkout form.checkout > :is(.pws-express, :not(#customer_details):not(#order_review_heading):not(#order_review):has(~ #customer_details)) { grid-column: 1 / -1; grid-row: 1; }
html body.pws-wc-design .pws-wc-page--checkout .pws-express { display: flex; flex-direction: column; margin: 0 0 22px; }
html body.pws-wc-design .pws-wc-page--checkout .pws-express:not(:has(> :not([style*="display: none"]):not([style*="display:none"]):not(script):not(style):not(input[type=hidden]))) { margin: 0; }
html body.pws-wc-design .pws-wc-page--checkout .pws-express > * { margin-top: 0 !important; padding-top: 0 !important; }
html body.pws-wc-design .pws-wc-page--checkout .pws-express :is(#wc-stripe-express-checkout-button-separator, #wc-stripe-payment-request-button-separator, #wcpay-express-checkout-button-separator, #wcpay-payment-request-button-separator) {
	margin: 16px 0 0 !important; text-align: center; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--pws-muted);
}
html body.pws-wc-design .pws-wc-page--checkout #customer_details::before,
html body.pws-wc-design .pws-wc-page--checkout #customer_details::after { display: none !important; }
html body.pws-wc-design .pws-wc-page--checkout #customer_details .col-2:not(:has(.form-row)):not(:has(h3)) { display: none; }
html body.pws-wc-design .pws-wc-page--checkout #order_review_heading {
	grid-column: 2; grid-row: 2; margin: 0 !important; padding: 22px 24px 0 !important; background: var(--pws-surface); border-radius: var(--pws-radius-lg) var(--pws-radius-lg) 0 0; float: none !important; width: auto !important;
}
html body.pws-wc-design .pws-wc-page--checkout #order_review {
	grid-column: 2; grid-row: 3; background: var(--pws-surface) !important; border-color: transparent !important; border-radius: 0 0 var(--pws-radius-lg) var(--pws-radius-lg) !important; padding-top: 6px !important;
	position: sticky; top: calc(var(--pws-header-h, 68px) + 20px); float: none !important; width: auto !important;
}
html body.pws-wc-design .pws-wc-page--checkout .woocommerce-billing-fields__field-wrapper,
html body.pws-wc-design .pws-wc-page--checkout .woocommerce-shipping-fields__field-wrapper,
html body.pws-wc-design .pws-wc-page--checkout .woocommerce-additional-fields__field-wrapper { display: grid; grid-template-columns: 1fr 1fr; column-gap: 14px; }
html body.pws-wc-design .pws-wc-page--checkout :is(.woocommerce-billing-fields__field-wrapper, .woocommerce-shipping-fields__field-wrapper, .woocommerce-additional-fields__field-wrapper) > * { grid-column: 1 / -1; }
html body.pws-wc-design .pws-wc-page--checkout :is(.woocommerce-billing-fields__field-wrapper, .woocommerce-shipping-fields__field-wrapper) > :is(.form-row-first, .form-row-last) { grid-column: auto; }
html body.pws-wc-design .pws-wc-page--checkout .form-row :is(.form-row-first, .form-row-last),
html body.pws-wc-design .pws-wc-page--checkout :is(.form-row-first, .form-row-last, .form-row-wide) { float: none !important; width: auto !important; }
html body.pws-wc-design .pws-wc-page--checkout #ship-to-different-address { font-size: 15px !important; margin: 0 0 12px !important; }
html body.pws-wc-design .pws-wc-page--checkout #ship-to-different-address label { display: inline-flex !important; align-items: center; gap: 8px; font-size: 15px !important; font-weight: 700 !important; }
html body.pws-wc-design .pws-wc-page--checkout .woocommerce-form-coupon-toggle { grid-column: 1 / -1; }
html body.pws-wc-design .pws-wc-page--checkout form.checkout_coupon {
	margin: 0 0 18px !important; padding: 18px !important; border: 1px dashed var(--pws-border-strong) !important; border-radius: var(--pws-radius) !important; background: var(--pws-bg) !important;
}
html body.pws-wc-design .pws-wc-page--checkout form.checkout_coupon::after { content: ""; display: table; clear: both; }
html body.pws-wc-design .pws-wc-page--checkout form.checkout_coupon > p:first-child { margin: 0 0 12px !important; font-size: 14px; color: var(--pws-muted); }
html body.pws-wc-design .pws-wc-page--checkout form.checkout_coupon .form-row { display: inline-block; margin: 0 8px 0 0 !important; vertical-align: middle; }
html body.pws-wc-design .pws-wc-page--checkout form.checkout_coupon .form-row-first { width: min(320px, 100%) !important; }
html body.pws-wc-design .pws-wc-page--checkout form.checkout_coupon .input-text { border-radius: 999px !important; }

/* Review table */
html body.pws-wc-design .pws-wc-page--checkout .woocommerce-checkout-review-order-table { margin-bottom: 14px !important; }
html body.pws-wc-design .pws-wc-page--checkout .woocommerce-checkout-review-order-table :is(th, td) { padding: 12px 0 !important; border-top-color: color-mix(in srgb, var(--pws-text) 9%, var(--pws-surface)) !important; }
html body.pws-wc-design .pws-wc-page--checkout .woocommerce-checkout-review-order-table :is(.product-total, tfoot td) { text-align: right !important; }
html body.pws-wc-design .pws-wc-page--checkout .woocommerce-checkout-review-order-table td.product-name { font-weight: 600; font-size: 14px; padding-right: 12px !important; }
html body.pws-wc-design .pws-wc-page--checkout .woocommerce-checkout-review-order-table .product-quantity { font-weight: 600 !important; color: var(--pws-muted) !important; }
html body.pws-wc-design .pws-wc-page--checkout .woocommerce-checkout-review-order-table tfoot th { font-weight: 600 !important; color: var(--pws-muted) !important; }
html body.pws-wc-design .pws-wc-page--checkout .woocommerce-checkout-review-order-table .order-total :is(th, td) { font-size: 18px !important; font-weight: 800 !important; color: var(--pws-text) !important; padding-top: 16px !important; }
html body.pws-wc-design .pws-wc-page--checkout .woocommerce-checkout-review-order-table .order-total .woocommerce-Price-amount { color: var(--pws-accent) !important; font-size: 24px; }
html body.pws-wc-design .pws-wc-page--checkout .woocommerce-checkout-review-order-table .order-total small { display: block; font-size: 12px; font-weight: 500; color: var(--pws-muted); }

/* Payment methods */
html body.pws-wc-design .pws-wc-page--checkout #payment { background: transparent !important; border-radius: 0 !important; padding: 0 !important; margin: 0 !important; }
html body.pws-wc-design .pws-wc-page--checkout #payment ul.payment_methods {
	display: flex; flex-direction: column; gap: 8px; margin: 0 0 16px !important; padding: 0 !important; border: 0 !important; list-style: none !important;
}
html body.pws-wc-design .pws-wc-page--checkout #payment ul.payment_methods::before,
html body.pws-wc-design .pws-wc-page--checkout #payment ul.payment_methods::after { display: none !important; }
html body.pws-wc-design .pws-wc-page--checkout #payment ul.payment_methods > li {
	margin: 0 !important; padding: 14px 16px !important; border: 1.5px solid var(--pws-border) !important; border-radius: 14px !important;
	background: var(--pws-bg) !important; list-style: none !important; line-height: 1.4 !important; transition: border-color .2s, box-shadow .2s;
}
html body.pws-wc-design .pws-wc-page--checkout #payment ul.payment_methods > li:has(> input:checked) { border-color: var(--pws-text) !important; box-shadow: 0 0 0 3px color-mix(in srgb, var(--pws-text) 7%, transparent); }
html body.pws-wc-design .pws-wc-page--checkout #payment ul.payment_methods > li > label {
	display: inline-flex !important; align-items: center; gap: 8px; flex-wrap: wrap; margin: 0 !important; font-size: 14.5px !important; font-weight: 700 !important; color: var(--pws-text) !important; cursor: pointer; vertical-align: middle;
}
html body.pws-wc-design .pws-wc-page--checkout #payment ul.payment_methods > li > label img { max-height: 22px !important; width: auto !important; margin: 0 0 0 4px !important; float: none !important; display: inline-block; }
html body.pws-wc-design .pws-wc-page--checkout #payment .payment_box {
	margin: 12px 0 2px !important; padding: 14px !important; border-radius: 12px !important; background: var(--pws-surface) !important;
	color: var(--pws-text) !important; font-size: 13.5px !important; box-shadow: none !important; border: 0 !important;
}
html body.pws-wc-design .pws-wc-page--checkout #payment .payment_box::before { display: none !important; }
html body.pws-wc-design .pws-wc-page--checkout #payment .payment_box p:last-child { margin-bottom: 0 !important; }
html body.pws-wc-design .pws-wc-page--checkout #payment .payment_box fieldset { border: 0 !important; margin: 0 !important; padding: 0 !important; background: transparent !important; }
html body.pws-wc-design .pws-wc-page--checkout #payment .payment_box :is(.wc-stripe-elements-field, .StripeElement, .wc-block-card-elements, iframe) { border-radius: 10px; }
html body.pws-wc-design .pws-wc-page--checkout #payment .place-order { margin: 0 !important; padding: 0 !important; display: flex; flex-direction: column; gap: 12px; }
html body.pws-wc-design .pws-wc-page--checkout .woocommerce-terms-and-conditions-wrapper { font-size: 12.5px; color: var(--pws-muted); line-height: 1.5; }
html body.pws-wc-design .pws-wc-page--checkout .woocommerce-privacy-policy-text p { margin: 0 !important; font-size: 12.5px !important; color: var(--pws-muted) !important; }
html body.pws-wc-design .pws-wc-page--checkout .woocommerce-privacy-policy-text a { text-decoration: underline !important; }
html body.pws-wc-design .pws-wc-page--checkout .woocommerce-terms-and-conditions-checkbox-text { font-size: 13px; }
html body.pws-wc-design .pws-wc-page--checkout .blockUI.blockOverlay { border-radius: var(--pws-radius-lg); background: rgba(255, 255, 255, .6) !important; }

/* ================= ORDER RECEIVED ================= */
html body.pws-wc-design .pws-wc-page .woocommerce-order { display: flex; flex-direction: column; gap: 22px; }
html body.pws-wc-design .pws-wc-page .woocommerce-thankyou-order-received {
	margin: 0 !important; padding: 22px 24px !important; border-radius: var(--pws-radius) !important; background: var(--pws-save-soft) !important; color: var(--pws-save) !important;
	font-size: 17px !important; font-weight: 700 !important; border: 0 !important;
}
html body.pws-wc-design .pws-wc-page ul.woocommerce-order-overview {
	display: grid !important; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin: 0 !important; padding: 0 !important; list-style: none !important;
}
html body.pws-wc-design .pws-wc-page ul.woocommerce-order-overview::before,
html body.pws-wc-design .pws-wc-page ul.woocommerce-order-overview::after { display: none !important; }
html body.pws-wc-design .pws-wc-page ul.woocommerce-order-overview li {
	margin: 0 !important; padding: 14px 16px !important; border: 1px solid var(--pws-border) !important; border-radius: 14px !important; float: none !important;
	font-size: 11.5px !important; letter-spacing: .06em; text-transform: uppercase; color: var(--pws-muted) !important; line-height: 1.4;
}
html body.pws-wc-design .pws-wc-page ul.woocommerce-order-overview li strong { display: block; margin-top: 4px; font-size: 15px !important; letter-spacing: normal; text-transform: none; color: var(--pws-text) !important; word-break: break-word; }
html body.pws-wc-design .pws-wc-page :is(.woocommerce-order-details, .woocommerce-customer-details, .woocommerce-bacs-bank-details) {
	margin: 0 !important; padding: 22px 24px !important; border: 1px solid var(--pws-border) !important; border-radius: var(--pws-radius-lg) !important;
}
html body.pws-wc-design .pws-wc-page .woocommerce-order-details tfoot td { text-align: right !important; }
html body.pws-wc-design .pws-wc-page .woocommerce-customer-details address { border: 0 !important; padding: 0 !important; font-style: normal; line-height: 1.7; color: var(--pws-muted); }
html body.pws-wc-design .pws-wc-page .woocommerce-order-downloads { margin: 0 !important; }

/* ================= Responsive ================= */
@media (max-width: 1024px) {
	html body.pws-wc-design .pws-wc-page--cart .woocommerce { grid-template-columns: minmax(0, 1fr); }
	html body.pws-wc-design .pws-wc-page--cart .cart-collaterals { grid-column: 1; position: static; }
	html body.pws-wc-design .pws-wc-page--checkout form.checkout { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; }
	html body.pws-wc-design .pws-wc-page--checkout #customer_details,
	html body.pws-wc-design .pws-wc-page--checkout #order_review_heading,
	html body.pws-wc-design .pws-wc-page--checkout #order_review { grid-column: 1; grid-row: auto; position: static; }
	html body.pws-wc-design .pws-wc-page--checkout #order_review_heading { margin-top: 18px !important; }
}
@media (max-width: 640px) {
	.pws-wc-head { padding-top: 20px; padding-bottom: 16px; gap: 12px; }
	.pws-wc-head__secure { display: none; }
	.pws-steps { width: 100%; }
	.pws-steps__item { flex: 1; }
	.pws-steps__item:first-child { flex: none; }
	.pws-steps__item + .pws-steps__item::before { flex: 1; width: auto; min-width: 12px; }
	.pws-steps__label { font-size: 12px; }
	.pws-steps__item:not(.is-current) .pws-steps__label { display: none; }
	html body.pws-wc-design .pws-wc-page :where(.woocommerce-cart-form, .cart_totals, #customer_details .col-1, #customer_details .col-2, #order_review, .cross-sells) { padding: 16px !important; border-radius: var(--pws-radius) !important; }
	html body.pws-wc-design .pws-wc-page--checkout #order_review_heading { padding: 18px 16px 0 !important; border-radius: var(--pws-radius) var(--pws-radius) 0 0; }
	html body.pws-wc-design .pws-wc-page--checkout #order_review { border-radius: 0 0 var(--pws-radius) var(--pws-radius) !important; }
	html body.pws-wc-design .pws-wc-page--checkout :is(.woocommerce-billing-fields__field-wrapper, .woocommerce-shipping-fields__field-wrapper) { grid-template-columns: minmax(0, 1fr); }
	html body.pws-wc-design .pws-wc-page :is(input.input-text, input[type=text], input[type=email], input[type=tel], select, textarea) { font-size: 16px !important; }

	/* Cart table → item cards */
	html body.pws-wc-design .pws-wc-page--cart table.cart thead { display: none; }
	html body.pws-wc-design .pws-wc-page--cart table.cart,
	html body.pws-wc-design .pws-wc-page--cart table.cart tbody { display: block; }
	html body.pws-wc-design .pws-wc-page--cart table.cart tr.cart_item {
		display: grid !important; grid-template-columns: 72px minmax(0, 1fr) auto; grid-template-areas: "thumb name remove" "thumb price price" "thumb qty subtotal";
		column-gap: 12px; row-gap: 4px; align-items: center; padding: 14px 0; border-top: 1px solid var(--pws-border);
	}
	html body.pws-wc-design .pws-wc-page--cart table.cart tr.cart_item:first-child { border-top: 0; }
	html body.pws-wc-design .pws-wc-page--cart table.shop_table.cart tbody tr.cart_item > td { display: block !important; padding: 0 !important; border: 0 !important; border-top: 0 !important; text-align: left !important; width: auto !important; }
	html body.pws-wc-design .pws-wc-page--cart table.cart tr.cart_item > td::before { display: none !important; content: none !important; }
	html body.pws-wc-design .pws-wc-page--cart table.cart td.product-thumbnail { grid-area: thumb; display: block !important; }
	html body.pws-wc-design .pws-wc-page--cart table.cart td.product-thumbnail img { width: 72px !important; height: 72px !important; }
	html body.pws-wc-design .pws-wc-page--cart table.cart td.product-name { grid-area: name; font-size: 14px !important; }
	html body.pws-wc-design .pws-wc-page--cart table.cart td.product-remove { grid-area: remove; justify-self: end; }
	html body.pws-wc-design .pws-wc-page--cart table.cart td.product-price { grid-area: price; font-size: 13px; color: var(--pws-muted) !important; }
	html body.pws-wc-design .pws-wc-page--cart table.cart td.product-quantity { grid-area: qty; }
	html body.pws-wc-design .pws-wc-page--cart table.cart td.product-subtotal { grid-area: subtotal; justify-self: end; }
	html body.pws-wc-design .pws-wc-page--cart table.cart tr:not(.cart_item) { display: block; }
	html body.pws-wc-design .pws-wc-page--cart table.cart td.actions { display: flex !important; flex-direction: column; gap: 10px; padding: 16px 0 0 !important; border-top: 1px solid var(--pws-border) !important; }
	html body.pws-wc-design .pws-wc-page--cart table.cart td.actions::before { display: none !important; }
	html body.pws-wc-design .pws-wc-page--cart table.cart td.actions .coupon { float: none; width: 100%; }
	html body.pws-wc-design .pws-wc-page--cart table.cart td.actions .coupon .input-text { width: auto !important; flex: 1; min-width: 0; }
	html body.pws-wc-design .pws-wc-page--cart table.cart td.actions > .button { float: none; width: 100% !important; }

	/* Totals / review tables keep two columns */
	html body.pws-wc-design .pws-wc-page :is(.checkout-button, #place_order) { font-size: 14px !important; letter-spacing: .02em !important; padding: 0 16px !important; }
	html body.pws-wc-design .pws-wc-page--cart table.cart .quantity .qty { width: 72px !important; min-height: 38px !important; }
	html body.pws-wc-design .pws-wc-page .cart_totals table.shop_table tr { display: table-row; }
	html body.pws-wc-design .pws-wc-page .cart_totals table.shop_table :is(th, td) { display: table-cell !important; }
	html body.pws-wc-design .pws-wc-page .cart_totals table.shop_table td::before { display: none !important; }
	html body.pws-wc-design .pws-wc-page--checkout form.checkout_coupon .form-row { display: block; width: 100% !important; margin: 0 0 10px !important; }
	html body.pws-wc-design .pws-wc-page--checkout form.checkout_coupon .button { width: 100% !important; }
}
html body.pws-wc-design .pws-wc-page :is(.woocommerce-table--order-details, .woocommerce-checkout-review-order-table) :is(th.product-total, td.product-total) { text-align: right !important; }

/* Cart "Continue to checkout" button: centered text, safe padding, wraps evenly if narrow */
html body.pws-wc-design .pws-wc-page--cart .wc-proceed-to-checkout :is(a, button, #pws-cta).checkout-button {
	display: flex !important; align-items: center !important; justify-content: center !important; flex-wrap: wrap !important;
	width: 100% !important; max-width: 100% !important; box-sizing: border-box !important; float: none !important; position: relative !important;
	height: auto !important; min-height: 56px !important; margin: 0 !important; padding: 14px 22px !important;
	font-size: 14px !important; font-size: clamp(12px, 4.4cqi, 15px) !important; line-height: 1.25 !important; letter-spacing: 0 !important; text-indent: 0 !important;
	text-align: center !important; white-space: normal !important; text-wrap: balance; overflow-wrap: anywhere; vertical-align: middle !important;
}
html body.pws-wc-design .pws-wc-page--cart .wc-proceed-to-checkout { container-type: inline-size; }
html body.pws-wc-design .pws-wc-page--cart .wc-proceed-to-checkout :is(a, button, #pws-cta).checkout-button::before,
html body.pws-wc-design .pws-wc-page--cart .wc-proceed-to-checkout :is(a, button, #pws-cta).checkout-button::after { content: none !important; display: none !important; }
html body.pws-wc-design .pws-wc-page--cart .wc-proceed-to-checkout :is(a, button, #pws-cta).checkout-button > * { margin: 0 !important; padding: 0 !important; line-height: inherit !important; position: static !important; }

/* ---- Theme / page-builder hardening (v1.3.3) ---- */
/* Shortcode placed in an Elementor "Text editor" widget: wpautop adds <p>/<br> around WooCommerce markup */
html body.pws-wc-design .pws-wc-page :is(.button, .checkout-button, #place_order) br,
html body.pws-wc-design .pws-wc-page .woocommerce > br,
html body.pws-wc-design .pws-wc-page :is(.woocommerce, .actions, .wc-proceed-to-checkout, .cart-collaterals, .cart_totals, form.checkout) > p:not([class]) > br { display: none !important; }
html body.pws-wc-design .pws-wc-page :is(.woocommerce, .actions, .wc-proceed-to-checkout, .cart-collaterals, .cart_totals) > p:not([class]) { margin: 0 !important; padding: 0 !important; }
html body.pws-wc-design .pws-wc-page .wc-proceed-to-checkout > p:not([class]) { display: flex; flex-direction: column; gap: 10px; width: 100%; }
/* Themes that paint the totals column (background, padding, max-width) */
html body.pws-wc-design .pws-wc-page--cart .cart-collaterals { background: transparent !important; padding: 0 !important; max-width: none !important; min-width: 0 !important; border: 0 !important; box-shadow: none !important; }
html body.pws-wc-design .pws-wc-page--cart .woocommerce > .cart-collaterals { justify-self: stretch !important; width: 100% !important; flex: none !important; }
html body.pws-wc-design .pws-wc-page--cart .cart-collaterals .cart_totals { width: auto !important; max-width: none !important; float: none !important; }
/* Cart actions row: coupon left, "Update cart" right (also when wrapped in <p> by wpautop) */
html body.pws-wc-design .pws-wc-page--cart td.actions .coupon { margin: 0 !important; }
html body.pws-wc-design .pws-wc-page--cart td.actions > p:not([class]) { float: right !important; margin: 0 !important; }
html body.pws-wc-design .pws-wc-page--cart td.actions > p:not([class]):empty { display: none !important; }
/* Theme icon font added to the remove link (double ×) */
html body.pws-wc-design .pws-wc-page a.remove::before,
html body.pws-wc-design .pws-wc-page a.remove::after { content: none !important; display: none !important; }
/* Themes that turn table rows into flex boxes (misaligned cells/borders) */
@media (min-width: 641px) {
	html body.pws-wc-design .pws-wc-page table.shop_table { display: table !important; }
	html body.pws-wc-design .pws-wc-page table.shop_table > thead { display: table-header-group !important; }
	html body.pws-wc-design .pws-wc-page table.shop_table > tbody { display: table-row-group !important; }
	html body.pws-wc-design .pws-wc-page table.shop_table > tfoot { display: table-footer-group !important; }
	html body.pws-wc-design .pws-wc-page table.shop_table tr { display: table-row !important; }
	html body.pws-wc-design .pws-wc-page table.shop_table tr > :is(td, th) { display: table-cell !important; float: none !important; }
	html body.pws-wc-design .pws-wc-page table.shop_table tr > :is(td, th)::before { display: none !important; }
	html body.pws-wc-design .pws-wc-page--cart table.cart :is(td, th).product-remove { width: 44px !important; min-width: 0 !important; }
	html body.pws-wc-design .pws-wc-page--cart table.cart :is(td, th).product-thumbnail { width: 96px !important; min-width: 0 !important; }
	html body.pws-wc-design .pws-wc-page--cart table.cart :is(td, th).product-name { width: auto !important; }
	html body.pws-wc-design .pws-wc-page--cart table.cart :is(td, th):is(.product-price, .product-quantity, .product-subtotal) { width: 1% !important; white-space: nowrap !important; }
}
html body.pws-wc-design .pws-wc-page--cart .woocommerce-cart-form table.shop_table { margin: 0 !important; border: 0 !important; }
@media (max-width: 640px) {
	html body.pws-wc-design .pws-wc-page--cart table.cart tr { border-left: 0 !important; border-right: 0 !important; border-bottom: 0 !important; }
	html body.pws-wc-design .pws-wc-page--cart td.actions > p:not([class]) { float: none !important; }
}
