/**
 * LabelSwift Cart & Checkout v6
 * Brand: #499CC2 teal · #252531 dark · #E8833A orange
 */

/* ========================================================================
   CONTENT AREA — widen on cart + checkout
   ======================================================================== */

/* Widen ONLY the page content area on cart/checkout — NOT header/footer */
body.woocommerce-cart .page-content .elementor-container,
body.woocommerce-cart .site-content .elementor-container,
body.woocommerce-cart .elementor-element-f857063,
body.woocommerce-cart .entry-content .elementor-container {
	max-width: 1320px !important;
}

body.woocommerce-checkout .page-content .elementor-container,
body.woocommerce-checkout .site-content .elementor-container,
body.woocommerce-checkout .elementor-element-f857063,
body.woocommerce-checkout .entry-content .elementor-container {
	max-width: 1320px !important;
}

/* Cart page — ensure the woocommerce container wraps properly for notices */
body.woocommerce-cart .woocommerce {
	flex-wrap: wrap !important;
}

/* Fix mega menu image-box layout on cart/checkout — labelswift.css (child theme)
   doesn't load on these pages, missing the display:flex rule for image boxes */
.elementor-widget-image-box.elementor-position-left .elementor-image-box-wrapper,
.elementor-widget-image-box.elementor-position-right .elementor-image-box-wrapper {
	display: flex !important;
}

/* ========================================================================
   CART TABLE — hide unneeded columns, keep remove column for buttons
   ======================================================================== */

/* Hide thumbnail, price, quantity, subtotal columns */
.woocommerce-cart-form .shop_table.cart .product-thumbnail,
.woocommerce-cart-form .shop_table.cart .product-price,
.woocommerce-cart-form .shop_table.cart .product-quantity,
.woocommerce-cart-form .shop_table.cart .product-subtotal,
.woocommerce-cart-form .shop_table.cart th.product-thumbnail,
.woocommerce-cart-form .shop_table.cart th.product-price,
.woocommerce-cart-form .shop_table.cart th.product-quantity,
.woocommerce-cart-form .shop_table.cart th.product-subtotal {
	display: none !important;
}

/* Hide ALL extra columns including remove (buttons moved to card footer via JS) */
.woocommerce-cart-form .shop_table.cart .product-remove,
.woocommerce-cart-form .shop_table.cart th.product-remove {
	display: none !important;
}

/* Product column takes remaining space */
.woocommerce-cart-form .shop_table.cart .product-name {
	width: auto !important;
}

/* Product title — bigger and bold */
.woocommerce-cart-form .shop_table.cart .product-name > a {
	font-size: 18px !important;
	font-weight: 700 !important;
	color: #252531 !important;
	text-decoration: none !important;
	display: block;
	margin-bottom: 4px;
	font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Hide the Product header text */
.woocommerce-cart-form .shop_table.cart th.product-name {
	font-size: 0;
	padding: 0;
	height: 0;
	border: none;
}

/* Hide coupon + update cart */
.woocommerce-cart-form .coupon,
.woocommerce-cart-form .actions .coupon,
.woocommerce-cart-form .actions button[name="update_cart"],
.woocommerce-cart-form .actions input[name="update_cart"] { display: none !important; }
.woocommerce-cart-form .shop_table.cart td.actions { padding: 0 !important; border: none !important; }

/* Old product-remove column button styles removed — buttons now live in card footer */

/* ========================================================================
   WC variation dt/dd cleanup
   ======================================================================== */

dt.variation-lscc_spec_card,
dl.variation dt.variation-lscc_spec_card { display: none !important; }
dd.variation-lscc_spec_card,
dl.variation dd.variation-lscc_spec_card { margin: 0 !important; padding: 0 !important; }
dl.variation { margin: 0 !important; }

.woocommerce-checkout-review-order-table dt.variation-lscc_spec_card { display: none !important; }
.woocommerce-checkout-review-order-table dd.variation-lscc_spec_card { margin: 0 !important; padding: 0 !important; }

/* Hide the product-total (Subtotal) column on checkout — price moved to card footer via JS */
.woocommerce-checkout-review-order-table th.product-total,
.woocommerce-checkout-review-order-table td.product-total {
	display: none !important;
}

/* Hide the cart-subtotal row — redundant with card footers */
.woocommerce-checkout-review-order-table tr.cart-subtotal {
	display: none !important;
}

/* Hide the table header row — self-explanatory */
.woocommerce-checkout-review-order-table thead {
	display: none !important;
}

/* Product name column takes full width */
.woocommerce-checkout-review-order-table td.product-name {
	width: 100% !important;
	display: block !important;
}

/* Force the table to block layout so hidden columns don't reserve space */
.woocommerce-checkout-review-order-table,
.woocommerce-checkout-review-order-table tbody,
.woocommerce-checkout-review-order-table tfoot,
.woocommerce-checkout-review-order-table tr {
	display: block !important;
	width: 100% !important;
}

/* Tfoot rows (shipping, total) — make them flex for label/value layout */
.woocommerce-checkout-review-order-table tfoot tr {
	display: flex !important;
	justify-content: space-between;
	align-items: center;
	padding: 10px 14px;
	border-bottom: 1px solid #eef2f5;
}

.woocommerce-checkout-review-order-table tfoot th,
.woocommerce-checkout-review-order-table tfoot td {
	display: inline !important;
	padding: 0 !important;
	border: none !important;
	width: auto !important;
}

/* Spec card fills full width inside checkout */
.woocommerce-checkout-review-order-table .lscc-spec-card {
	max-width: 100% !important;
	width: 100% !important;
}

/* The DL.variation that WooCommerce wraps item data in — kill grid display */
.woocommerce-checkout-review-order-table dl.variation {
	display: block !important;
	width: 100% !important;
}

.woocommerce-checkout-review-order-table dd.variation-lscc_spec_card {
	width: 100% !important;
}

/* ========================================================================
   SPEC CARD
   ======================================================================== */

.lscc-spec-card {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	overflow: hidden;
	margin: 10px 0 4px;
	font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
	font-size: 14px;
	line-height: 1.5;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

/* Section headers */
.lscc-section-header {
	background: linear-gradient(135deg, rgba(73, 156, 194, 0.07) 0%, rgba(73, 156, 194, 0.03) 100%);
	border-left: 3px solid #499CC2;
	padding: 7px 14px;
	font-size: 12px; font-weight: 700;
	text-transform: uppercase; letter-spacing: 0.06em; color: #499CC2;
}

.lscc-section-header--charges {
	background: linear-gradient(135deg, rgba(232, 131, 58, 0.07) 0%, rgba(232, 131, 58, 0.03) 100%);
	border-left-color: #E8833A; color: #E8833A;
}

/* Rows */
.lscc-project-row { padding: 10px 14px; border-bottom: 1px solid #eef2f5; }
.lscc-project-name { font-size: 16px; font-weight: 700; color: #252531; }

.lscc-spec-row { display: flex; justify-content: space-between; align-items: center; padding: 9px 14px; border-bottom: 1px solid #eef2f5; }
.lscc-spec-row:last-child { border-bottom: none; }
.lscc-spec-label { font-size: 14px; font-weight: 400; color: #6b7280; }
.lscc-spec-value { font-size: 14px; font-weight: 600; color: #252531; text-align: right; max-width: 60%; }

.lscc-version-row { display: flex; justify-content: space-between; align-items: center; padding: 9px 14px; border-bottom: 1px solid #eef2f5; }
.lscc-version-row:last-child { border-bottom: none; }
.lscc-version-name { font-size: 14px; font-weight: 500; color: #252531; }
.lscc-version-qty { font-size: 12px; font-weight: 600; color: #499CC2; background: #e8f4fa; padding: 3px 12px; border-radius: 10px; }

.lscc-charge-row { display: flex; justify-content: space-between; align-items: center; padding: 9px 14px; border-bottom: 1px solid #eef2f5; }
.lscc-charge-row:last-child { border-bottom: none; }
.lscc-charge-label { font-size: 14px; font-weight: 400; color: #374151; }
.lscc-charge-value { font-size: 14px; font-weight: 700; color: #E8833A; }

/* Card footer — actions left, subtotal grouped right */
.lscc-card-footer {
	display: flex; justify-content: space-between; align-items: center;
	padding: 12px 18px; background: #f8fafb; border-top: 1px solid #eef2f5;
}

/* Actions container (delete + edit) — left side, inline */
.lscc-footer-actions {
	display: flex;
	align-items: center;
	gap: 4px;
}

/* Subtotal group — right side */
.lscc-footer-subtotal {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-left: auto;
}

.lscc-footer-label { font-size: 13px; font-weight: 500; color: #6b7280; text-transform: uppercase; letter-spacing: 0.04em; }
.lscc-footer-price { font-size: 22px; font-weight: 700; color: #252531; }
.lscc-footer-price .woocommerce-Price-amount { font-size: inherit; font-weight: inherit; color: inherit; }

/* ---- Buttons inside footer (moved from product-remove column via JS) ---- */

/* WC remove button (a.remove) inside footer */
.lscc-card-footer a.remove,
.lscc-footer-actions a.remove {
	display: flex !important;
	align-items: center;
	justify-content: center;
	width: 34px !important;
	min-width: 34px !important;
	max-width: 34px !important;
	height: 34px !important;
	min-height: 34px !important;
	max-height: 34px !important;
	box-sizing: border-box !important;
	overflow: hidden !important;
	border-radius: 0 !important;
	background: none !important;
	color: transparent !important;
	font-size: 0px !important;
	text-indent: -9999px;
	border: none !important;
	margin: 0 !important;
	padding: 0 !important;
	transition: all 0.15s ease !important;
	position: relative;
	float: none !important;
	top: auto !important;
	right: auto !important;
	line-height: 0 !important;
}

.lscc-card-footer a.remove::before,
.lscc-footer-actions a.remove::before {
	content: '';
	display: block;
	width: 16px;
	height: 16px;
	background-color: #6b7280;
	transition: background-color 0.15s ease;
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='3 6 5 6 21 6'/%3E%3Cpath d='M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6m3 0V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2'/%3E%3Cline x1='10' y1='11' x2='10' y2='17'/%3E%3Cline x1='14' y1='11' x2='14' y2='17'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='3 6 5 6 21 6'/%3E%3Cpath d='M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6m3 0V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2'/%3E%3Cline x1='10' y1='11' x2='10' y2='17'/%3E%3Cline x1='14' y1='11' x2='14' y2='17'/%3E%3C/svg%3E");
	-webkit-mask-size: contain; mask-size: contain;
	-webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
	-webkit-mask-position: center; mask-position: center;
}

.lscc-card-footer a.remove:hover,
.lscc-footer-actions a.remove:hover {
	background: none !important;
	border: none !important;
}

.lscc-card-footer a.remove:hover::before,
.lscc-footer-actions a.remove:hover::before {
	background-color: #6b7280;
}

/* UniCPO edit button — MUST override UniCPO's .uni-cpo-cart-action base styles */
.lscc-card-footer .uni-cpo-cart-action.uni-cpo-action-edit,
.lscc-footer-actions .uni-cpo-cart-action.uni-cpo-action-edit,
.lscc-footer-actions span.uni-cpo-action-edit {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 34px !important;
	min-width: 34px !important;
	max-width: 34px !important;
	height: 15px !important;
	min-height: 15px !important;
	max-height: 15px !important;
	box-sizing: border-box !important;
	overflow: hidden !important;
	border-radius: 0 !important;
	background: none !important;
	color: transparent !important;
	font-size: 0px !important;
	text-indent: -9999px !important;
	border: none !important;
	margin: 0 !important;
	padding: 0 !important;
	cursor: pointer;
	transition: all 0.15s ease !important;
	position: relative !important;
	float: none !important;
	top: auto !important;
	right: auto !important;
	left: auto !important;
	bottom: auto !important;
	line-height: 0 !important;
	font-weight: normal !important;
	-webkit-appearance: none !important;
}

.lscc-card-footer .uni-cpo-cart-action.uni-cpo-action-edit::before,
.lscc-footer-actions .uni-cpo-cart-action.uni-cpo-action-edit::before {
	content: '' !important;
	display: block !important;
	width: 16px !important;
	height: 16px !important;
	background-color: #6b7280 !important;
	transition: background-color 0.15s ease !important;
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7'/%3E%3Cpath d='M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z'/%3E%3C/svg%3E") !important;
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7'/%3E%3Cpath d='M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z'/%3E%3C/svg%3E") !important;
	-webkit-mask-size: contain !important; mask-size: contain !important;
	-webkit-mask-repeat: no-repeat !important; mask-repeat: no-repeat !important;
	-webkit-mask-position: center !important; mask-position: center !important;
	position: static !important;
	float: none !important;
	top: auto !important;
	left: auto !important;
}

/* Kill any UniCPO ::after icon */
.lscc-footer-actions .uni-cpo-cart-action::after {
	display: none !important;
	content: none !important;
}

.lscc-card-footer .uni-cpo-action-edit:hover,
.lscc-footer-actions .uni-cpo-action-edit:hover {
	background: none !important;
	border: none !important;
}

.lscc-card-footer .uni-cpo-action-edit:hover::before,
.lscc-footer-actions .uni-cpo-action-edit:hover::before {
	background-color: #6b7280 !important;
}

/* ========================================================================
   ARTWORK NOTICE
   ======================================================================== */

.lscc-artwork-notice {
	display: inline-flex; align-items: center; gap: 6px;
	margin-top: 10px; padding: 6px 12px;
	background: #e8f4fa; border: 1px solid rgba(73, 156, 194, 0.25); border-radius: 6px;
	font-size: 12px; color: #1e5f80; font-weight: 500;
	font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

.lscc-artwork-icon {
	display: inline-block; width: 14px; height: 14px; background-color: #499CC2; flex-shrink: 0;
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpolyline points='14 2 14 8 20 8'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpolyline points='14 2 14 8 20 8'/%3E%3C/svg%3E");
	-webkit-mask-size: contain; mask-size: contain;
}

/* ========================================================================
   CART TOTALS — sticky sidebar
   ======================================================================== */

.cart-collaterals,
.cart-collaterals .cart_totals {
	position: sticky !important;
	top: 20px !important;
	align-self: flex-start !important;
}

/* ========================================================================
   TRUST BAR — hidden to save space in cart totals
   ======================================================================== */

.lscc-trust-bar {
	display: none !important;
}

/* ========================================================================
   PROCEED TO CHECKOUT — match Add to Cart orange button style, centered
   ======================================================================== */

.wc-proceed-to-checkout {
	text-align: center !important;
	padding: 0 !important;
}

.wc-proceed-to-checkout p {
	text-align: center !important;
	margin: 0 !important;
}

.wc-proceed-to-checkout a.checkout-button,
.wc-proceed-to-checkout .checkout-button {
	background-color: #E07A2D !important;
	color: #ffffff !important;
	border: none !important;
	border-radius: 4px !important;
	font-size: 15px !important;
	font-weight: 700 !important;
	text-transform: uppercase !important;
	font-family: Roboto, sans-serif !important;
	padding: 18px 24px !important;
	text-decoration: none !important;
	display: block !important;
	text-align: center !important;
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
	transition: background-color 0.15s ease !important;
	letter-spacing: 0.02em;
	box-sizing: border-box !important;
}

.wc-proceed-to-checkout a.checkout-button:hover,
.wc-proceed-to-checkout .checkout-button:hover {
	background-color: #c96a22 !important;
	color: #ffffff !important;
}

/* Hide the checkmark icon if the theme adds one */
.wc-proceed-to-checkout a.checkout-button::before {
	display: none !important;
}

/* ========================================================================
   CHECKOUT TRUST SIGNALS
   ======================================================================== */

.lscc-checkout-trust {
	display: flex; justify-content: center; flex-wrap: wrap; gap: 20px;
	padding: 12px 0; margin-bottom: 12px;
	border-top: 1px solid #e2e8f0; border-bottom: 1px solid #e2e8f0;
	font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}
.lscc-checkout-trust-item { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 500; color: #499CC2; }
.lscc-checkout-trust-icon { display: flex; align-items: center; }
.lscc-checkout-trust-icon svg { width: 16px; height: 16px; }

/* ========================================================================
   THANK-YOU PAGE
   ======================================================================== */

.lscc-thankyou-artwork { text-align: center; padding: 32px 24px; margin: 24px 0; background: linear-gradient(135deg, #e8f4fa 0%, #ffffff 100%); border: 2px solid #499CC2; border-radius: 12px; font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif; }
.lscc-thankyou-icon { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; background: #499CC2; color: #ffffff; font-size: 24px; border-radius: 50%; margin-bottom: 16px; }
.lscc-thankyou-heading { font-size: 20px; font-weight: 700; color: #252531; margin: 0 0 8px; }
.lscc-thankyou-text { font-size: 14px; color: #4b5563; margin: 0 0 20px; max-width: 480px; margin-left: auto; margin-right: auto; }
.lscc-thankyou-cta { display: inline-block; padding: 12px 32px; background: #E8833A; color: #ffffff !important; font-size: 15px; font-weight: 600; text-decoration: none !important; border-radius: 8px; transition: background 0.15s ease; }
.lscc-thankyou-cta:hover { background: #d4722f; color: #ffffff !important; }
.lscc-thankyou-note { font-size: 12px; color: #9ca3af; margin: 12px 0 0; }

/* ========================================================================
   CART TOTALS — shipping radio spacing + hide package number
   ======================================================================== */

/* Add spacing between radio buttons and labels */
.cart_totals .woocommerce-shipping-methods label {
	display: inline-flex !important;
	align-items: center;
	gap: 8px;
	cursor: pointer;
}

.cart_totals .woocommerce-shipping-methods input[type="radio"] {
	margin-right: 6px !important;
}

/* Hide the shipping package number ("1" next to "Shipment") */
.cart_totals .woocommerce-shipping-totals .shipping-name-suffix,
.cart_totals .woocommerce-shipping-totals th small {
	display: none !important;
}

/* If the "1" is part of the th text, hide it via font-size trick */
.cart_totals .woocommerce-shipping-totals[data-title*="Shipment"] th {
	font-size: 0;
}

.cart_totals .woocommerce-shipping-totals[data-title*="Shipment"] th::before {
	content: 'Shipping';
	font-size: 14px;
}

/* Hide the "Edit" tooltip from the UniCPO edit button */
.lscc-footer-actions .uni-cpo-action-edit[title] {
	pointer-events: auto;
}

/* Remove any native tooltip by clearing title attribute visually */
.lscc-footer-actions [title]::after {
	content: none !important;
}

/* ========================================================================
   CHECKOUT — two-column layout matching reference screenshot
   ======================================================================== */

/* Make the checkout form use the full container width */
body.woocommerce-checkout .woocommerce {
	max-width: 100% !important;
	width: 100% !important;
}

/* Two-column grid: billing left, order review right */
body.woocommerce-checkout form.woocommerce-checkout {
	display: grid !important;
	grid-template-columns: 55% 1fr !important;
	gap: 0 40px !important;
	width: 100% !important;
	max-width: 100% !important;
}

/* Express checkout (GPay etc) spans both columns */
body.woocommerce-checkout .wcpay-express-checkout-wrapper {
	grid-column: 1 / -1;
}

/* Billing details — left column */
body.woocommerce-checkout #customer_details {
	grid-column: 1;
	grid-row: 2;
	width: auto !important;
}

/* Force single column inside billing (not the WC col2-set split) */
body.woocommerce-checkout #customer_details .col-1 {
	width: 100% !important;
	float: none !important;
}

body.woocommerce-checkout #customer_details .col-2 {
	width: 100% !important;
	float: none !important;
}

/* "Your Order" heading — right column, top */
body.woocommerce-checkout #order_review_heading {
	grid-column: 2;
	grid-row: 2;
	margin-top: 0;
	font-size: 20px !important;
	font-weight: 800 !important;
	font-family: Montserrat, sans-serif !important;
	color: rgb(17, 17, 17) !important;
	align-self: start;
}

/* Order review (table + payment + place order) — right column, below heading */
body.woocommerce-checkout #order_review {
	grid-column: 2;
	grid-row: 2;
	margin-top: 48px; /* space for the heading above */
	position: sticky;
	top: 20px;
	align-self: start;
}

/* Order review table — clean styling, full width */
body.woocommerce-checkout .woocommerce-checkout-review-order-table {
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	overflow: hidden;
	font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
	width: 100% !important;
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table th,
body.woocommerce-checkout .woocommerce-checkout-review-order-table td {
	padding: 10px 14px;
	border-color: #eef2f5;
}

/* Place Order button — dark, centered under the order review */
body.woocommerce-checkout #place_order {
	background-color: #252531 !important;
	color: #ffffff !important;
	border: none !important;
	border-radius: 4px !important;
	font-size: 15px !important;
	font-weight: 700 !important;
	text-transform: uppercase !important;
	font-family: Roboto, sans-serif !important;
	padding: 16px 24px !important;
	width: 100% !important;
	max-width: 100% !important;
	display: block !important;
	margin: 0 auto !important;
	transition: background-color 0.15s ease !important;
}

body.woocommerce-checkout #place_order:hover {
	background-color: #3a3a4a !important;
}

/* Center the payment section and place order wrapper */
body.woocommerce-checkout #order_review .woocommerce-checkout-payment {
	width: 100%;
}

body.woocommerce-checkout .form-row.place-order {
	padding-left: 0 !important;
	padding-right: 0 !important;
}

/* Hide the coupon notice on checkout if desired */
body.woocommerce-checkout .woocommerce-form-coupon-toggle {
	margin-bottom: 0;
}

/* ========================================================================
   TOAST MESSAGES — restyle WooCommerce notices to match LS brand
   ======================================================================== */

/* Notices must span full width — override any flex/grid parent */
.woocommerce-message,
.woocommerce-info,
.woocommerce-notices-wrapper,
.wc-empty-cart-message {
	width: 100% !important;
	flex: 0 0 100% !important;
	max-width: 100% !important;
}

.woocommerce-message,
.woocommerce-info {
	background-color: #e8f4fa !important;
	border: 1px solid #499CC2 !important;
	border-left: 4px solid #499CC2 !important;
	border-top: 1px solid #499CC2 !important;
	color: #252531 !important;
	padding: 14px 20px 14px 80px !important;
	border-radius: 6px !important;
	font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
	font-size: 14px;
	line-height: 1.5;
	margin-bottom: 16px !important;
	position: relative !important;
	width: 100% !important;
	box-sizing: border-box !important;
	display: block !important;
}

/* Space between the icon and text */
.woocommerce-message::before,
.woocommerce-info::before {
	color: #499CC2 !important;
	background: none !important;
	-webkit-text-fill-color: #499CC2 !important;
	margin-right: 10px !important;
	flex-shrink: 0;
}

.woocommerce-message a,
.woocommerce-info a {
	color: #499CC2 !important;
	font-weight: 600;
	text-decoration: underline;
}

/* Hide the "View Cart" button inside notices on the cart page — redundant */
body.woocommerce-cart .woocommerce-message a.button,
body.woocommerce-cart .woocommerce-message a.wc-forward {
	display: none !important;
}

.woocommerce-error {
	background-color: #fef2f2 !important;
	border: 1px solid #dc2626 !important;
	border-left: 4px solid #dc2626 !important;
	border-top: 1px solid #dc2626 !important;
	color: #252531 !important;
	padding: 14px 20px 14px 80px !important;
	border-radius: 6px !important;
	font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
	width: 100% !important;
	flex: 0 0 100% !important;
	margin-bottom: 16px !important;
	position: relative !important;
}

.woocommerce-error::before {
	color: #dc2626 !important;
}

/* Return to Shop — full width row, button aligned right */
.return-to-shop {
	width: 100% !important;
	flex: 0 0 100% !important;
	text-align: right !important;
	margin-top: 8px !important;
}

.woocommerce .return-to-shop a.button,
.return-to-shop a.wc-backward {
	background-color: #E07A2D !important;
	color: #ffffff !important;
	border: none !important;
	border-radius: 4px !important;
	font-size: 15px !important;
	font-weight: 700 !important;
	text-transform: uppercase !important;
	font-family: Roboto, sans-serif !important;
	padding: 16px 32px !important;
	text-decoration: none !important;
	display: inline-block !important;
	transition: background-color 0.15s ease !important;
}

.woocommerce .return-to-shop a.button:hover,
.return-to-shop a.wc-backward:hover {
	background-color: #c96a22 !important;
}

/* ========================================================================
   RESPONSIVE
   ======================================================================== */

@media (max-width: 1024px) {
	/* Stack checkout columns on tablet */
	body.woocommerce-checkout form.woocommerce-checkout {
		grid-template-columns: 1fr !important;
	}

	body.woocommerce-checkout #customer_details,
	body.woocommerce-checkout #order_review_heading,
	body.woocommerce-checkout #order_review {
		grid-column: 1 !important;
		grid-row: auto !important;
		margin-top: 0 !important;
		position: static !important;
	}
}

@media (max-width: 640px) {
	.lscc-spec-row, .lscc-version-row, .lscc-charge-row { padding: 8px 12px; }
	.lscc-section-header { padding: 6px 12px; }
	.lscc-project-row { padding: 8px 12px; }
	.lscc-card-footer { padding: 10px 12px; }
	.lscc-footer-price { font-size: 18px; }
	.lscc-checkout-trust { flex-direction: column; align-items: center; gap: 8px; }

	/* Sticky off on mobile */
	.cart-collaterals, .cart-collaterals .cart_totals {
		position: static !important;
	}
}
