/* =====================================================================
   Standard WooCommerce pages: cart, checkout, thank-you (order received), account notices, slide-out cart.
   Shared by the Superhero Design and Melissa Lunt themes (same file in both). Colors use the Kadence palette
   slots only (1 accent, 3 headings, 4 body/ink, 5 muted, 6 borders, 7 subtle bg, 8 page bg, 9 white), so each
   theme's palette applies. Fonts come from --shop-sans / --shop-label / --shop-serif, set in each theme.
   Classic WooCommerce templates ([woocommerce_cart] / [woocommerce_checkout]) + the WooCommerce Stripe plugin.
   ===================================================================== */
:root {
	--shop-ink: var(--global-palette4);
	--shop-muted: var(--global-palette5);
	--shop-line: var(--global-palette6);
	--shop-tint: var(--global-palette7);
	--shop-bg: var(--global-palette8);
	--shop-card: var(--global-palette9);
	--shop-radius: 16px;
	--shop-btn-font: var(--shop-sans); /* buttons: the main shop button font, semi-bold */
}

/* Page frame -------------------------------------------------------- */
.woocommerce-cart .content-container, .woocommerce-checkout .content-container, .woocommerce-account .content-container { max-width: 1240px; }
.woocommerce-cart .entry-content-wrap, .woocommerce-checkout .entry-content-wrap { padding-top: 0; }
.woocommerce-cart .entry-hero .entry-title, .woocommerce-checkout .entry-hero .entry-title,
.woocommerce-cart h1.entry-title, .woocommerce-checkout h1.entry-title {
	font-family: var(--shop-sans); font-weight: 600; text-transform: uppercase; letter-spacing: -0.02em; line-height: 1;
}
.woocommerce-cart .content-area, .woocommerce-checkout .content-area { margin-top: 48px; margin-bottom: 96px; }

/* Shared form + table basics ---------------------------------------- */
.woocommerce form .form-row label, .woocommerce-page form .form-row label {
	font-family: var(--shop-label); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--shop-ink); margin-bottom: 8px; line-height: 1.4;
}
.woocommerce form .form-row .required { color: var(--shop-muted); text-decoration: none; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select,
.woocommerce-page form .form-row input.input-text, .woocommerce-page form .form-row textarea,
.woocommerce .select2-container .select2-selection--single, .woocommerce-cart .coupon .input-text,
.woocommerce-checkout .checkout_coupon .input-text {
	min-height: 52px; padding: 12px 16px; border: 1px solid var(--shop-line); border-radius: 10px; background: var(--shop-card);
	color: var(--shop-ink); font-family: var(--shop-sans); font-size: 16px; box-shadow: none;
}
.woocommerce .select2-container .select2-selection--single .select2-selection__rendered { line-height: 26px; padding: 0; color: var(--shop-ink); }
.woocommerce .select2-container .select2-selection--single .select2-selection__arrow { height: 50px; right: 10px; }
.woocommerce form .form-row input.input-text:focus, .woocommerce form .form-row textarea:focus, .woocommerce form .form-row select:focus,
.woocommerce-cart .coupon .input-text:focus, .woocommerce-checkout .checkout_coupon .input-text:focus { border-color: var(--shop-ink); outline: none; }
.woocommerce form .form-row.woocommerce-invalid input.input-text { border-color: var(--global-palette13, #b82105); }
.woocommerce form .form-row { margin-bottom: 18px; padding: 0; }

/* Buttons: primary (checkout, place order) solid ink pill; secondary outline pill. */
.woocommerce .button, .woocommerce button.button, .woocommerce a.button, .woocommerce input.button {
	min-height: 48px; padding: 0 26px; border: 1px solid var(--shop-ink); border-radius: 999px; background: transparent; color: var(--shop-ink);
	font-family: var(--shop-btn-font); font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; line-height: 1;
	display: inline-flex; align-items: center; justify-content: center; box-shadow: none;
}
.woocommerce .button:hover, .woocommerce .button:focus-visible { background: var(--shop-ink); color: var(--shop-bg); border-color: var(--shop-ink); }
.woocommerce .button:disabled, .woocommerce .button.disabled, .woocommerce button.button:disabled[disabled] { opacity: 0.45; padding: 0 26px; }
html body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
html body.woocommerce-checkout #payment #place_order,
html body .woocommerce-mini-cart__buttons a.checkout {
	display: flex !important; width: 100%; min-height: 58px; padding: 0 28px !important; border: 1px solid var(--shop-ink) !important; border-radius: 999px !important;
	background: var(--shop-ink) !important; color: var(--shop-bg) !important; font-family: var(--shop-btn-font); font-size: 13px !important;
	font-weight: 600 !important; letter-spacing: 0.12em; text-transform: uppercase; align-items: center; justify-content: center; box-shadow: none !important; white-space: nowrap;
}
html body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover,
html body.woocommerce-checkout #payment #place_order:hover,
html body .woocommerce-mini-cart__buttons a.checkout:hover { opacity: 0.86; }

/* Notices ------------------------------------------------------------- */
.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce .woocommerce-message, .woocommerce .woocommerce-info, .woocommerce .woocommerce-error,
.woocommerce-page .woocommerce-message, .woocommerce-page .woocommerce-info, .woocommerce-page .woocommerce-error {
	margin: 0 0 28px; padding: 18px 22px 18px 52px; border: 1px solid var(--shop-line); border-radius: 12px; background: var(--shop-card);
	color: var(--shop-ink); font-size: 15px; line-height: 1.5; list-style: none;
}
.woocommerce .woocommerce-message::before, .woocommerce .woocommerce-info::before, .woocommerce .woocommerce-error::before { color: var(--shop-ink); top: 18px; left: 20px; }
.woocommerce .woocommerce-error { border-color: var(--global-palette13, #b82105); }
.woocommerce .woocommerce-error::before { color: var(--global-palette13, #b82105); }
.woocommerce .woocommerce-message .button, .woocommerce .woocommerce-info .button { float: right; min-height: 36px; margin: -6px 0 -6px 16px; }
.woocommerce .woocommerce-message a:not(.button), .woocommerce .woocommerce-info a:not(.button) { color: var(--shop-ink); text-decoration: underline; text-underline-offset: 3px; }

/* Cart ---------------------------------------------------------------- */
.woocommerce-cart .kadence-woo-cart-form-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 0 56px; align-items: start; }
.woocommerce-cart form.woocommerce-cart-form { grid-column: 1; margin: 0; }
.woocommerce-cart .kadence-woo-cart-form-wrap .cart-collaterals { grid-column: 2; width: 100%; position: sticky; top: 120px; }
.woocommerce-cart .cart-collaterals .cart_totals { float: none; width: 100%; padding: 32px; background: var(--shop-card); border-radius: var(--shop-radius); box-sizing: border-box; }
.woocommerce-cart .cart-collaterals .cross-sells { display: none; }
.woocommerce-cart table.shop_table.cart { border: 0; border-top: 1px solid var(--shop-ink); border-radius: 0; margin: 0; border-collapse: collapse; width: 100%; }
.woocommerce-cart table.shop_table.cart thead th {
	padding: 14px 12px 14px 0; border: 0; border-bottom: 1px solid var(--shop-line); font-family: var(--shop-label); font-size: 10px; font-weight: 400;
	letter-spacing: 0.16em; text-transform: uppercase; color: var(--shop-muted); background: transparent;
}
.woocommerce-cart table.shop_table.cart td { padding: 24px 12px 24px 0; border: 0; border-bottom: 1px solid var(--shop-line); background: transparent; vertical-align: middle; }
.woocommerce-cart table.cart td.product-thumbnail { width: 116px; }
.woocommerce-cart table.cart img { width: 96px; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border: 1px solid var(--shop-line); border-radius: 0; display: block; }
.woocommerce-cart table.cart td.product-name { font-size: 17px; font-weight: 600; line-height: 1.3; }
.woocommerce-cart table.cart td.product-name a { color: var(--shop-ink); text-decoration: none; }
.woocommerce-cart table.cart td.product-name a:hover { text-decoration: underline; text-underline-offset: 3px; }
.woocommerce-cart table.cart td.product-name dl.variation { margin: 6px 0 0; font-size: 14px; font-weight: 400; color: var(--shop-muted); }
.woocommerce-cart table.cart td.product-name dl.variation dt, .woocommerce-cart table.cart td.product-name dl.variation dd { font-weight: 400; margin: 0; }
.woocommerce-cart table.cart td.product-name dl.variation dd p { margin: 0; }
.woocommerce-cart table.cart td.product-price, .woocommerce-cart table.cart td.product-subtotal { font-size: 16px; white-space: nowrap; }
.woocommerce-cart table.cart td.product-remove { width: 36px; }
.woocommerce-cart table.cart a.remove, .woocommerce-mini-cart a.remove {
	width: 28px; height: 28px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--shop-line); border-radius: 50%;
	color: var(--shop-ink) !important; font-size: 18px; font-weight: 300; line-height: 1; background: transparent;
}
.woocommerce-cart table.cart a.remove:hover, .woocommerce-mini-cart a.remove:hover { background: var(--shop-ink); color: var(--shop-bg) !important; border-color: var(--shop-ink); }
.woocommerce-cart table.cart .quantity .qty { width: 64px; min-height: 44px; border: 1px solid var(--shop-line); border-radius: 10px; background: var(--shop-card); text-align: center; }
.woocommerce-cart table.cart td.actions { padding: 24px 0 0; border-bottom: 0; }
.woocommerce-cart table.cart td.actions .coupon { display: flex; gap: 10px; align-items: center; }
.woocommerce-cart table.cart td.actions .coupon .input-text { width: 220px; min-height: 48px; margin: 0; }
.woocommerce-cart table.cart td.actions > .button { float: right; }
.woocommerce-cart .cart_totals h2 { margin: 0 0 18px; font-family: var(--shop-sans); font-size: 24px; font-weight: 600; text-transform: uppercase; letter-spacing: -0.01em; line-height: 1.1; }
.woocommerce-cart .cart_totals table.shop_table { border: 0; margin: 0 0 24px; border-radius: 0; }
.woocommerce-cart .cart_totals table.shop_table th, .woocommerce-cart .cart_totals table.shop_table td {
	padding: 14px 0; border: 0; border-top: 1px solid var(--shop-line); background: transparent; font-size: 15px; font-weight: 400; vertical-align: top;
}
.woocommerce-cart .cart_totals table.shop_table td { text-align: right; }
.woocommerce-cart .cart_totals tr.order-total th, .woocommerce-cart .cart_totals tr.order-total td { border-top-color: var(--shop-ink); padding-top: 18px; font-size: 18px; font-weight: 600; }
.woocommerce-cart .cart_totals tr.order-total td strong { font-weight: 600; }
.woocommerce-cart .wc-proceed-to-checkout { padding: 0; }
.woocommerce-cart .wc-proceed-to-checkout::after {
	content: "Secure checkout · Instant download"; display: block; margin-top: 14px; text-align: center; font-size: 13px; color: var(--shop-muted);
}
.woocommerce-cart .cart-empty.woocommerce-info { text-align: center; padding: 56px 24px; font-size: 20px; }
.woocommerce-cart .cart-empty.woocommerce-info::before { display: none; }
.woocommerce-cart .return-to-shop { text-align: center; }

/* Checkout ------------------------------------------------------------ */
.woocommerce-checkout form.checkout { display: grid; grid-template-columns: minmax(0, 1fr) 440px; gap: 0 56px; align-items: start; }
.woocommerce-checkout form.checkout > * { grid-column: 1; }
.woocommerce-checkout form.checkout #customer_details { grid-row: 1 / span 3; }
.woocommerce-checkout form.checkout #order_review_heading, .woocommerce-checkout form.checkout #order_review { grid-column: 2; float: none; width: 100%; }
.woocommerce-checkout form.checkout #order_review_heading { grid-row: 1; margin: 0; padding: 32px 32px 0; background: var(--shop-card); border-radius: var(--shop-radius) var(--shop-radius) 0 0; }
.woocommerce-checkout form.checkout #order_review { grid-row: 2; padding: 16px 32px 32px; background: var(--shop-card); border-radius: 0 0 var(--shop-radius) var(--shop-radius); box-sizing: border-box; }
.woocommerce-checkout #customer_details.col2-set { width: 100%; float: none; display: block; }
.woocommerce-checkout #customer_details .col-1, .woocommerce-checkout #customer_details .col-2 { width: 100%; float: none; max-width: none; }
.woocommerce-checkout #customer_details h3, .woocommerce-checkout #order_review_heading {
	font-family: var(--shop-sans); font-size: 24px; font-weight: 600; text-transform: uppercase; letter-spacing: -0.01em; line-height: 1.1; margin: 0 0 22px;
}
.woocommerce-checkout #customer_details .woocommerce-billing-fields { padding-top: 24px; border-top: 1px solid var(--shop-ink); }
.woocommerce-checkout #customer_details .woocommerce-additional-fields h3 { font-size: 18px; margin-top: 12px; }
.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info, .woocommerce-checkout .woocommerce-form-login-toggle .woocommerce-info { margin-bottom: 16px; }
.woocommerce-checkout form.checkout_coupon, .woocommerce-checkout form.woocommerce-form-login {
	margin: 0 0 28px; padding: 24px; border: 1px solid var(--shop-line); border-radius: 12px; background: transparent;
}
.woocommerce-checkout form.checkout_coupon { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.woocommerce-checkout form.checkout_coupon > p:first-child { flex-basis: 100%; margin: 0 0 4px; }
.woocommerce-checkout form.checkout_coupon .form-row { width: auto; float: none; margin: 0; }
.woocommerce-checkout form.checkout_coupon .form-row-first { flex: 1; }
.woocommerce-checkout form.checkout_coupon .clear { display: none; }
.woocommerce-checkout table.woocommerce-checkout-review-order-table { border: 0; margin: 0 0 24px; border-radius: 0; }
.woocommerce-checkout table.woocommerce-checkout-review-order-table th, .woocommerce-checkout table.woocommerce-checkout-review-order-table td {
	padding: 14px 0; border: 0; border-top: 1px solid var(--shop-line); background: transparent; font-size: 15px; font-weight: 400; vertical-align: top;
}
.woocommerce-checkout table.woocommerce-checkout-review-order-table thead th {
	border-top: 0; padding-top: 0; font-family: var(--shop-label); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--shop-muted);
}
.woocommerce-checkout table.woocommerce-checkout-review-order-table td:last-child, .woocommerce-checkout table.woocommerce-checkout-review-order-table th:last-child { text-align: right; }
.woocommerce-checkout table.woocommerce-checkout-review-order-table td.product-name { font-weight: 600; padding-right: 16px; }
.woocommerce-checkout table.woocommerce-checkout-review-order-table td.product-name .product-quantity { font-weight: 400; color: var(--shop-muted); }
.woocommerce-checkout table.woocommerce-checkout-review-order-table td.product-name dl.variation { margin: 4px 0 0; font-weight: 400; color: var(--shop-muted); font-size: 14px; }
.woocommerce-checkout table.woocommerce-checkout-review-order-table td.product-name dl.variation * { font-weight: 400; margin: 0; }
.woocommerce-checkout table.woocommerce-checkout-review-order-table tr.order-total th, .woocommerce-checkout table.woocommerce-checkout-review-order-table tr.order-total td {
	border-top-color: var(--shop-ink); padding-top: 18px; font-size: 18px; font-weight: 600;
}
.woocommerce-checkout #payment { background: transparent; border-radius: 0; }
.woocommerce-checkout #payment ul.payment_methods { padding: 0 0 8px; border: 0; }
.woocommerce-checkout #payment ul.payment_methods li { list-style: none; padding: 16px 0; border-top: 1px solid var(--shop-line); font-size: 15px; }
.woocommerce-checkout #payment ul.payment_methods li > label { font-weight: 600; }
.woocommerce-checkout #payment ul.payment_methods li img { max-height: 22px; margin-left: 6px; vertical-align: middle; }
.woocommerce-checkout #payment div.payment_box { margin: 12px 0 0; padding: 16px; background: var(--shop-bg); border-radius: 12px; color: var(--shop-ink); font-size: 14px; }
.woocommerce-checkout #payment div.payment_box::before { display: none; }
.woocommerce-checkout #payment div.form-row { padding: 0; margin: 16px 0 0; }
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper, .woocommerce-checkout .woocommerce-privacy-policy-text { font-size: 13px; line-height: 1.55; color: var(--shop-muted); }
.woocommerce-checkout .woocommerce-privacy-policy-text a, .woocommerce-checkout .woocommerce-terms-and-conditions-link { color: var(--shop-ink); }
.woocommerce-checkout #payment #place_order { margin-top: 18px; float: none; }

/* Thank-you (order received) ------------------------------------------ */
.woocommerce-order-received .woocommerce-order { max-width: 860px; margin: 0 auto; }
.woocommerce-order-received .woocommerce-thankyou-order-received {
	margin: 0 0 36px; padding: 0; border: 0; background: transparent; text-align: center; font-family: var(--shop-serif); font-style: italic; font-weight: 300;
	font-size: clamp(34px, 4.6vw, 56px); line-height: 1.05; color: var(--shop-ink);
}
.woocommerce-order-received .woocommerce-thankyou-order-received::before { display: none; }
.woocommerce-order-received ul.woocommerce-order-overview {
	display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); margin: 0 0 48px; padding: 0; border-top: 1px solid var(--shop-ink); border-bottom: 1px solid var(--shop-line);
}
.woocommerce-order-received ul.woocommerce-order-overview li {
	margin: 0; padding: 20px 16px 20px 0; border: 0; float: none; font-family: var(--shop-label); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--shop-muted);
}
.woocommerce-order-received ul.woocommerce-order-overview li strong {
	display: block; margin-top: 8px; font-family: var(--shop-sans); font-size: 16px; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--shop-ink); word-break: break-word;
}
.woocommerce-order-received .woocommerce-order h2, .woocommerce-account .woocommerce-MyAccount-content h2 {
	font-family: var(--shop-sans); font-size: 24px; font-weight: 600; text-transform: uppercase; letter-spacing: -0.01em; line-height: 1.1; margin: 0 0 18px;
}
.woocommerce-order-received section.woocommerce-order-downloads {
	margin: 0 0 48px; padding: 32px; background: var(--shop-card); border-radius: var(--shop-radius);
}
.woocommerce-order-received section, .woocommerce-order-received .woocommerce-order-details, .woocommerce-order-received .woocommerce-customer-details { margin-bottom: 48px; }
.woocommerce-order-received table.shop_table, .woocommerce-account table.shop_table { border: 0; border-top: 1px solid var(--shop-ink); border-radius: 0; margin: 0; border-collapse: collapse; }
.woocommerce-order-received table.shop_table th, .woocommerce-order-received table.shop_table td,
.woocommerce-account table.shop_table th, .woocommerce-account table.shop_table td {
	padding: 14px 12px 14px 0; border: 0; border-bottom: 1px solid var(--shop-line); background: transparent; font-size: 15px; font-weight: 400; vertical-align: middle;
}
.woocommerce-order-received table.shop_table thead th, .woocommerce-account table.shop_table thead th {
	font-family: var(--shop-label); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--shop-muted);
}
.woocommerce-order-received table.shop_table td.product-name a { color: var(--shop-ink); font-weight: 600; text-decoration: none; }
.woocommerce-order-received table.shop_table tfoot tr:last-child th, .woocommerce-order-received table.shop_table tfoot tr:last-child td { font-size: 18px; font-weight: 600; border-bottom-color: var(--shop-ink); }
.woocommerce-order-received .woocommerce-order-downloads table.shop_table { border-top-color: var(--shop-line); }
.woocommerce table.shop_table a.woocommerce-MyAccount-downloads-file, .woocommerce table.shop_table td.download-file a {
	display: inline-flex; min-height: 40px; padding: 0 20px; align-items: center; border-radius: 999px; background: var(--shop-ink); color: var(--shop-bg) !important;
	font-family: var(--shop-btn-font); font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none; white-space: nowrap;
}
.woocommerce-order-received .woocommerce-customer-details address {
	padding: 24px; border: 1px solid var(--shop-line); border-radius: 12px; font-style: normal; line-height: 1.7; font-size: 15px;
}
.woocommerce-order-received .woocommerce-customer-details .woocommerce-column__title { font-size: 18px; }

/* Slide-out cart (Kadence drawer + WooCommerce mini cart) ------------- */
#cart-drawer.popup-drawer .drawer-inner { width: min(440px, 100vw); max-width: 100%; background: var(--shop-bg); color: var(--shop-ink); }
#cart-drawer .drawer-header { padding: 24px 28px; border-bottom: 1px solid var(--shop-line); }
#cart-drawer .drawer-header .side-cart-header {
	margin: 0; font-family: var(--shop-sans); font-size: 20px; font-weight: 600; text-transform: uppercase; letter-spacing: -0.01em; color: var(--shop-ink);
}
#cart-drawer .drawer-header .cart-toggle-close { color: var(--shop-ink); }
#cart-drawer .drawer-content { padding: 8px 28px 28px; display: flex; flex-direction: column; min-height: calc(100% - 80px); box-sizing: border-box; }
#cart-drawer .mini-cart-container, #cart-drawer .kadence-mini-cart-refresh, #cart-drawer .widget_shopping_cart_content { display: flex; flex-direction: column; flex: 1; }
.woocommerce-mini-cart.cart_list { margin: 0; padding: 0; list-style: none; }
.woocommerce-mini-cart .woocommerce-mini-cart-item {
	position: relative; display: block; min-height: 96px; margin: 0; padding: 20px 36px 20px 92px; border-bottom: 1px solid var(--shop-line); font-size: 15px; line-height: 1.35;
}
.woocommerce-mini-cart .woocommerce-mini-cart-item a:not(.remove) { color: var(--shop-ink); font-weight: 600; text-decoration: none; display: block; }
.woocommerce-mini-cart .woocommerce-mini-cart-item img {
	position: absolute; left: 0; top: 20px; width: 72px !important; height: 90px !important; margin: 0 !important; object-fit: cover; border: 1px solid var(--shop-line); float: none;
}
.woocommerce-mini-cart .woocommerce-mini-cart-item a.remove { position: absolute; right: 0; top: 20px; left: auto; width: 26px; height: 26px; font-size: 16px; }
.woocommerce-mini-cart .woocommerce-mini-cart-item dl.variation { margin: 4px 0 0; font-size: 13px; color: var(--shop-muted); }
.woocommerce-mini-cart .woocommerce-mini-cart-item dl.variation * { margin: 0; font-weight: 400; }
.woocommerce-mini-cart .woocommerce-mini-cart-item .quantity { display: block; margin-top: 6px; color: var(--shop-muted); font-size: 14px; }
.widget_shopping_cart .woocommerce-mini-cart__total, #cart-drawer .woocommerce-mini-cart__total {
	display: flex; justify-content: space-between; margin: auto 0 0; padding: 22px 0 18px; border-top: 1px solid var(--shop-ink); border-bottom: 0; font-size: 18px;
}
#cart-drawer .woocommerce-mini-cart__total strong { font-weight: 600; }
#cart-drawer ul.woocommerce-mini-cart + .woocommerce-mini-cart__total { margin-top: 24px; }
.woocommerce-mini-cart__buttons { display: flex; flex-direction: column-reverse; gap: 10px; margin: 0; }
.woocommerce-mini-cart__buttons a.button { width: 100%; margin: 0 !important; }
.woocommerce-mini-cart__buttons a.button:not(.checkout) { min-height: 50px; }
/* Kadence's mini-cart layout is more specific; these win inside the drawer. */
#cart-drawer .woocommerce-mini-cart .woocommerce-mini-cart-item { display: block !important; position: relative; min-height: 132px; padding: 20px 40px 20px 96px !important; }
#cart-drawer .woocommerce-mini-cart .woocommerce-mini-cart-item a:not(.remove) { display: block; padding: 0 !important; font-size: 15px; line-height: 1.35; }
#cart-drawer .woocommerce-mini-cart .woocommerce-mini-cart-item img { position: absolute !important; left: 0; top: 20px; width: 76px !important; height: 95px !important; max-width: none; margin: 0 !important; }
#cart-drawer .woocommerce-mini-cart .woocommerce-mini-cart-item a.remove { position: absolute !important; right: 0; left: auto !important; top: 18px; }
#cart-drawer .woocommerce-mini-cart .woocommerce-mini-cart-item .quantity { display: block; margin-top: 8px; font-size: 14px; color: var(--shop-muted); }
#cart-drawer .woocommerce-mini-cart .woocommerce-mini-cart-item .quantity del { opacity: 0.7; margin-right: 4px; }
#cart-drawer .woocommerce-mini-cart .woocommerce-mini-cart-item .quantity ins { text-decoration: none; color: var(--shop-ink); font-weight: 600; }
.woocommerce-mini-cart__empty-message { margin: 40px 0; text-align: center; font-size: 17px; color: var(--shop-muted); }

/* Fixes after the first check on staging (Kadence's own cart and checkout widths). */
.woocommerce-cart .entry.single-entry, .woocommerce-checkout .entry.single-entry, .woocommerce-account .entry.single-entry { box-shadow: none; }
.woocommerce-cart .kadence-woo-cart-form-wrap form.woocommerce-cart-form, .woocommerce-cart .kadence-woo-cart-form-wrap .cart-collaterals,
.woocommerce-cart .kadence-woo-cart-form-wrap .cart-collaterals .cart_totals, .woocommerce-cart .cart-summary { width: 100% !important; max-width: none !important; float: none !important; margin: 0; }
.woocommerce-cart .kadence-woo-cart-form-wrap .cart-collaterals { padding: 0 !important; }
.woocommerce-cart table.shop_table.cart { width: 100% !important; }
.woocommerce-cart .cart-summary h2 { margin: 0 0 14px; font-family: var(--shop-label); font-size: 11px !important; font-weight: 400; letter-spacing: 0.16em; text-transform: uppercase; color: var(--shop-muted); border: 0; padding: 0; line-height: 1.4; }
.woocommerce-cart .cart_totals td, .woocommerce-checkout table.woocommerce-checkout-review-order-table td:last-child { white-space: nowrap; }
/* Long product names wrap inside the order card (they used to push the table outside it). */
.woocommerce-checkout table.woocommerce-checkout-review-order-table { width: 100%; table-layout: fixed; }
.woocommerce-checkout table.woocommerce-checkout-review-order-table th:first-child, .woocommerce-checkout table.woocommerce-checkout-review-order-table td:first-child { width: 68%; white-space: normal; overflow-wrap: anywhere; }
.woocommerce-checkout form.checkout #order_review_heading, .woocommerce-checkout form.checkout #order_review { min-width: 0; box-sizing: border-box; }
.woocommerce-checkout form.checkout { grid-template-rows: auto 1fr; }
.woocommerce-checkout form.checkout #customer_details { grid-row: 1 / span 2; }
.woocommerce-checkout form.checkout #order_review_heading { align-self: end; }
.woocommerce-checkout form.checkout #order_review { align-self: start; }
.woocommerce-checkout form.checkout > .woocommerce-NoticeGroup, .woocommerce-checkout form.checkout > .wc-stripe-express-checkout-element, .woocommerce-checkout form.checkout > #wc-stripe-express-checkout-element { grid-column: 1 / -1; }
.woocommerce form .woocommerce-terms-and-conditions-wrapper label, .woocommerce-checkout #payment label.checkbox {
	font-family: var(--shop-sans); font-size: 14px; letter-spacing: 0; text-transform: none; line-height: 1.5; display: flex; gap: 10px; align-items: flex-start;
}
.woocommerce-checkout #payment label.checkbox input { margin-top: 4px; }
.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info { padding-left: 22px; }
.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info::before { display: none; }
#cart-drawer .woocommerce-mini-cart .woocommerce-mini-cart-item .quantity { padding-left: 0 !important; margin-left: 0 !important; }

/* Phones -------------------------------------------------------------- */
@media (max-width: 960px) {
	.woocommerce-cart .kadence-woo-cart-form-wrap, .woocommerce-checkout form.checkout { grid-template-columns: 1fr; gap: 32px; }
	.woocommerce-cart form.woocommerce-cart-form, .woocommerce-cart .cart-collaterals,
	.woocommerce-checkout form.checkout > *, .woocommerce-checkout form.checkout #order_review_heading, .woocommerce-checkout form.checkout #order_review { grid-column: 1; grid-row: auto; }
	.woocommerce-checkout form.checkout #order_review_heading { margin-bottom: -32px; }
	.woocommerce-cart .cart-collaterals { position: static; }
}
@media (max-width: 720px) {
	.woocommerce-cart .content-area, .woocommerce-checkout .content-area { margin-top: 24px; margin-bottom: 64px; }
	.woocommerce-cart table.shop_table_responsive.cart tr { position: relative; display: block; padding: 20px 0 20px 108px; min-height: 120px; border-bottom: 1px solid var(--shop-line); }
	.woocommerce-cart table.shop_table_responsive.cart tr td { display: block; padding: 2px 0; border: 0; text-align: left !important; }
	.woocommerce-cart table.shop_table_responsive.cart tr td::before { display: none; }
	.woocommerce-cart table.shop_table_responsive.cart td.product-thumbnail { display: block !important; position: absolute; left: 0; top: 20px; width: 92px; }
	.woocommerce-cart table.shop_table_responsive.cart td.product-thumbnail img { width: 92px; }
	.woocommerce-cart table.shop_table_responsive.cart td.product-remove { position: absolute; right: 0; top: 20px; width: auto; }
	.woocommerce-cart table.shop_table_responsive.cart td.product-name { padding-right: 40px; }
	.woocommerce-cart table.shop_table_responsive.cart td.product-price { display: none; }
	.woocommerce-cart table.shop_table_responsive.cart tr:has(td.actions) { padding: 20px 0 0; min-height: 0; border-bottom: 0; }
	.woocommerce-cart table.cart td.actions .coupon { flex-wrap: wrap; }
	.woocommerce-cart table.cart td.actions .coupon .input-text { flex: 1; width: auto; }
	.woocommerce-cart table.cart td.actions > .button { float: none; width: 100%; margin-top: 10px; }
	.woocommerce-cart .cart-collaterals .cart_totals, .woocommerce-checkout form.checkout #order_review { padding-left: 20px; padding-right: 20px; }
	.woocommerce-checkout form.checkout #order_review_heading { padding: 24px 20px 0; }
	.woocommerce-order-received section.woocommerce-order-downloads { padding: 20px; }
	.woocommerce .woocommerce-message .button, .woocommerce .woocommerce-info .button { float: none; display: flex; margin: 12px 0 0; }
	#cart-drawer .drawer-header { padding: 20px; }
	#cart-drawer .drawer-content { padding: 4px 20px 20px; }
}

/* Phones: one column. Stronger selectors than the desktop grid placement above. */
@media (max-width: 960px) {
	html body.woocommerce-cart .kadence-woo-cart-form-wrap, html body.woocommerce-checkout form.checkout { display: block !important; }
	html body.woocommerce-cart .kadence-woo-cart-form-wrap .cart-collaterals { position: static; margin-top: 32px !important; }
	html body.woocommerce-checkout form.checkout #order_review_heading { margin: 40px 0 0 !important; }
	html body.woocommerce-cart article.entry, html body.woocommerce-checkout article.entry, html body.woocommerce-account article.entry { margin-left: 0 !important; margin-right: 0 !important; }
	html body.woocommerce-checkout form .form-row-first, html body.woocommerce-checkout form .form-row-last { width: 100%; float: none; }
	html body.woocommerce-cart table.cart td.actions .coupon .button { flex: 0 0 auto; }
	html body.woocommerce-cart table.cart td.actions { background: transparent; }
	html body.woocommerce-cart .entry-content > .woocommerce.alignwide, html body.woocommerce-checkout .entry-content > .woocommerce.alignwide { margin-left: 0 !important; margin-right: 0 !important; width: auto; }
	html body.woocommerce-cart .entry-content-wrap, html body.woocommerce-checkout .entry-content-wrap { padding-left: 0; padding-right: 0; }
	html body.woocommerce-checkout table.woocommerce-checkout-review-order-table { width: 100%; table-layout: fixed; }
	html body.woocommerce-checkout table.woocommerce-checkout-review-order-table td.product-name { white-space: normal; }
	html body.woocommerce-checkout table.woocommerce-checkout-review-order-table th:first-child, html body.woocommerce-checkout table.woocommerce-checkout-review-order-table td:first-child { width: 62%; }
	html body.woocommerce-cart .cart_totals table.shop_table tr td, html body.woocommerce-cart .cart_totals table.shop_table tr th { background: transparent !important; }
}

/* Condensed checkout fields (theme inc/checkout.php): two or three fields per row, labels inside the fields. */
.woocommerce-checkout .woocommerce-billing-fields > h3 { display: none; }
.woocommerce-checkout .woocommerce-billing-fields { padding-top: 0 !important; border-top: 0 !important; }
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper > * { grid-column: span 6; margin: 0 !important; width: auto !important; float: none !important; }
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper > .sh-col-3 { grid-column: span 3; }
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper > .sh-col-2 { grid-column: span 2; }
.woocommerce-checkout .sh-co-head { margin: 18px 0 2px !important; padding: 0; font-family: var(--shop-sans); font-size: 22px; font-weight: 600; text-transform: uppercase; letter-spacing: -0.01em; line-height: 1.1; }
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper > .sh-co-head:first-child { margin-top: 0 !important; }
.woocommerce-checkout .sh-co-note .sh-co-head { font-size: 18px; text-transform: none; }
.woocommerce-checkout .sh-co-note p { margin: 4px 0 0; font-size: 14px; color: var(--shop-muted); }
.woocommerce-checkout #customer_details .col-1 { padding-top: 24px; border-top: 1px solid var(--shop-ink); }
.woocommerce-checkout .woocommerce-additional-fields:not(:has(*:not(h3))) { display: none; }
@media (max-width: 600px) {
	.woocommerce-checkout .woocommerce-billing-fields__field-wrapper > .sh-col-3 { grid-column: span 6; }
	.woocommerce-checkout .woocommerce-billing-fields__field-wrapper > .sh-col-2 { grid-column: span 3; }
	.woocommerce-checkout .woocommerce-billing-fields__field-wrapper > .sh-col-2:first-of-type, .woocommerce-checkout #billing_postcode_field { grid-column: span 6; }
}

/* ---------- Focused checkout (inc/checkout-focus.php) ---------- */
body.sh-checkout-focus #masthead, body.sh-checkout-focus .site-footer, body.sh-checkout-focus .sh-promo, body.sh-checkout-focus .sh-promo-ticker,
body.sh-checkout-focus .ml-promo, body.sh-checkout-focus #mobile-header, body.sh-checkout-focus .entry-hero, body.sh-checkout-focus .entry-header { display: none !important; }
body.sh-checkout-focus .content-area { margin-top: 8px !important; }
.sh-cf-head { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; max-width: 1240px; margin: 0 auto; padding: 22px 24px; box-sizing: border-box; border-bottom: 1px solid var(--shop-line); }
.sh-cf-back { justify-self: start; color: var(--shop-ink); text-decoration: none; font-size: 14px; }
.sh-cf-back:hover { text-decoration: underline; text-underline-offset: 3px; }
.sh-cf-logo { justify-self: center; line-height: 0; }
.sh-cf-logo img { max-height: 40px; width: auto; }
.sh-cf-name { color: var(--shop-ink); text-decoration: none; font-family: var(--shop-serif); font-style: italic; font-weight: 300; font-size: 26px; text-transform: uppercase; line-height: 1; }
.sh-cf-secure { justify-self: end; font-family: var(--shop-label); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--shop-muted); }
.sh-cf-secure::before { content: "🔒 "; letter-spacing: 0; }

/* Coupon: a small link, no box */
.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info { margin: 0 0 16px !important; padding: 0 !important; border: 0 !important; background: transparent !important; font-size: 14px; color: var(--shop-muted); }
.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info::before { display: none !important; }
.woocommerce-checkout .woocommerce-form-coupon-toggle a { color: var(--shop-ink); text-decoration: underline; text-underline-offset: 3px; }
.woocommerce-checkout form.checkout_coupon { max-width: 520px; padding: 16px !important; }

/* Order summary: thumbnails + was/now prices */
.sh-co-item { display: flex; align-items: center; gap: 14px; }
.sh-co-thumb { flex: 0 0 56px; }
.sh-co-thumb img { display: block; width: 56px !important; height: 56px !important; object-fit: cover; border: 1px solid var(--shop-line); border-radius: 0; }
.sh-co-name { min-width: 0; }
.woocommerce-checkout table.woocommerce-checkout-review-order-table td.product-name .product-quantity { white-space: nowrap; }
.woocommerce-checkout table.woocommerce-checkout-review-order-table td.product-total { vertical-align: middle; }
.sh-co-was { display: block; font-size: 13px; font-weight: 400; color: var(--shop-muted); opacity: 0.8; }
.sh-co-now { text-decoration: none; font-weight: 600; }

/* Beside Place order */
.sh-co-instant { margin: 12px 0 0 !important; text-align: center; font-size: 13px; line-height: 1.5; color: var(--shop-muted); }
.sh-co-instant::before { content: "⚡ "; }

/* Phones: total + Place order bar near the top */
.sh-co-topbar { display: none; }
@media (max-width: 960px) {
	.sh-co-topbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 20px; padding: 14px 16px; background: var(--shop-card); border: 1px solid var(--shop-line); border-radius: 14px; }
	.sh-co-topbar__total { font-size: 15px; }
	.sh-co-topbar__amount { font-size: 18px; font-weight: 600; margin-left: 4px; }
	.sh-co-topbar__btn { min-height: 46px; padding: 0 22px; border: 1px solid var(--shop-ink); border-radius: 999px; background: var(--shop-ink); color: var(--shop-bg); font-family: var(--shop-btn-font); font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; cursor: pointer; }
	.sh-cf-head { grid-template-columns: auto 1fr; padding: 16px 20px; }
	.sh-cf-logo { justify-self: end; }
	.sh-cf-secure { display: none; }
	.sh-cf-logo img { max-height: 32px; }
	.sh-cf-name { font-size: 22px; }
}

/* ---------- Thank-you page polish (Nov 13 2026) ---------- */
.woocommerce-order-received .entry-hero, .woocommerce-order-received .entry-header { display: none !important; }
.woocommerce-order-received .content-area { margin-top: 72px !important; }
.woocommerce-order-received .woocommerce-thankyou-order-received { margin-bottom: 12px; }
.woocommerce-order-received p.sh-ty-sub { margin: 0 0 40px; text-align: center; font-size: 17px; color: var(--shop-muted); }
.woocommerce-order-received ul.woocommerce-order-overview { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.woocommerce-order-received ul.woocommerce-order-overview li strong { overflow-wrap: anywhere; word-break: normal; }
.woocommerce-order-received .woocommerce-order-details .product-purchase-note td, .woocommerce-order-received td.product-purchase-note { padding-top: 0 !important; font-size: 15px; line-height: 1.6; }
.woocommerce-order-received .product-purchase-note a, .woocommerce-order-received .woocommerce-order-details td p a[style], .woocommerce-order-received .woocommerce-order-details a.button {
	display: inline-flex !important; align-items: center; min-height: 48px; padding: 0 26px !important; border-radius: 999px !important; background: var(--shop-ink) !important;
	color: var(--shop-bg) !important; border: 1px solid var(--shop-ink) !important; font-family: var(--shop-btn-font); font-weight: 600; font-size: 12px !important; letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none !important;
}
.woocommerce-order-received .woocommerce-customer-details address { background: var(--shop-card); }
@media (max-width: 720px) {
	.woocommerce-order-received ul.woocommerce-order-overview { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.woocommerce-order-received .content-area { margin-top: 40px !important; }
}
/* Stripe "save payment information" checkbox: normal text, not a field label. */
.woocommerce-checkout #payment .woocommerce-SavedPaymentMethods-saveNew, .woocommerce-checkout #payment .woocommerce-SavedPaymentMethods-saveNew label,
.woocommerce-checkout #payment p.form-row.woocommerce-SavedPaymentMethods-saveNew label { font-family: var(--shop-sans) !important; font-size: 14px !important; letter-spacing: 0 !important; text-transform: none !important; font-weight: 400 !important; border: 0 !important; padding: 0 !important; }
/* Thank-you fixes (Nov 14 2026): WooCommerce's clearfix ::before took the first grid cell (overview started one column in);
   download buttons: the site button style (black 1px outline, black text), not light text on white. */
.woocommerce-order-received ul.woocommerce-order-overview::before, .woocommerce-order-received ul.woocommerce-order-overview::after { display: none !important; content: none !important; }
html body .woocommerce table.shop_table td.download-file a.woocommerce-MyAccount-downloads-file, html body .woocommerce table.shop_table a.woocommerce-MyAccount-downloads-file.button,
html body .woocommerce table.shop_table td.download-file a {
	background: transparent !important; border: 1px solid var(--shop-ink) !important; color: var(--shop-ink) !important; box-shadow: none !important; opacity: 1 !important;
}
html body .woocommerce table.shop_table td.download-file a:hover, html body .woocommerce table.shop_table td.download-file a:focus-visible {
	background: rgba(0, 0, 0, 0.06) !important; color: var(--shop-ink) !important;
}
