/*
 * Sytch Studio Commerce UI
 * Version 1.4.0
 * Storefront presentation only: cart, checkout, account pages (login, register,
 * lost/reset password), notices, empty basket and related services.
 */

body.woocommerce-cart,
body.scp-premium-cart-page,
body.scp-premium-account-page {
	--sytch-commerce-ink: #192438;
	--sytch-commerce-muted: #6d675f;
	--sytch-commerce-black: #050505;
	--sytch-commerce-cream: #f4ecdf;
	--sytch-commerce-panel: #fffaf2;
	--sytch-commerce-soft: #fbf6ee;
	--sytch-commerce-beige: #ead4af;
	--sytch-commerce-border: #dfd4c5;
	--sytch-commerce-shadow: 0 22px 58px rgba(57, 43, 25, .10);
	background: var(--sytch-commerce-cream) !important;
	color: var(--sytch-commerce-ink);
}

/* Reset Astra's page width only on the cart screen. */
body.woocommerce-cart #content,
body.woocommerce-cart .site-content,
body.woocommerce-cart #primary,
body.woocommerce-cart .site-main,
body.woocommerce-cart article,
body.woocommerce-cart .entry-content {
	width: 100% !important;
	max-width: none !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
	background: transparent !important;
}

body.woocommerce-cart .site-content > .ast-container,
body.woocommerce-cart #content > .ast-container {
	display: block !important;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

body.woocommerce-cart #primary,
body.woocommerce-cart .site-main,
body.woocommerce-cart .entry-content,
body.woocommerce-cart .wp-block-woocommerce-cart {
	margin-top: 0 !important;
}

body.woocommerce-cart .ast-article-single,
body.woocommerce-cart .ast-woocommerce-container {
	padding-top: 0 !important;
}

/* WooCommerce Block Cart: stable wrappers from the real cart markup. */
body.woocommerce-cart .entry-content > .wp-block-woocommerce-cart {
	box-sizing: border-box !important;
	width: min(1300px, calc(100% - 48px)) !important;
	max-width: 1300px !important;
	margin: 0 auto !important;
	padding: 28px 0 86px !important;
}

body.woocommerce-cart .wp-block-woocommerce-filled-cart-block {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) 380px !important;
	align-items: start !important;
	gap: 30px !important;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

body.woocommerce-cart .wp-block-woocommerce-cart-items-block,
body.woocommerce-cart .wp-block-woocommerce-cart-totals-block {
	box-sizing: border-box !important;
	min-width: 0 !important;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
}

body.woocommerce-cart .wp-block-woocommerce-cart-totals-block {
	position: sticky !important;
	top: 28px !important;
	padding: 34px 32px !important;
	border: 1px solid var(--sytch-commerce-border) !important;
	border-radius: 24px !important;
	background: var(--sytch-commerce-panel) !important;
	box-shadow: var(--sytch-commerce-shadow) !important;
	overflow: hidden !important;
}

/* Neutralise generated WooCommerce flex widths. */
body.woocommerce-cart .wc-block-components-sidebar-layout,
body.woocommerce-cart .wc-block-cart,
body.woocommerce-cart .wc-block-cart__main,
body.woocommerce-cart .wc-block-cart__sidebar,
body.woocommerce-cart .wc-block-components-main,
body.woocommerce-cart .wc-block-components-sidebar {
	box-sizing: border-box !important;
	min-width: 0 !important;
	width: 100% !important;
	max-width: none !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
}

body.woocommerce-cart .wc-block-components-sidebar-layout {
	display: block !important;
}

/* Product card/table */
body.woocommerce-cart .wc-block-cart-items {
	width: 100% !important;
	margin: 0 !important;
	border: 1px solid var(--sytch-commerce-border) !important;
	border-collapse: separate !important;
	border-spacing: 0 !important;
	border-radius: 24px !important;
	background: var(--sytch-commerce-panel) !important;
	box-shadow: var(--sytch-commerce-shadow) !important;
	overflow: hidden !important;
	table-layout: auto !important;
}

body.woocommerce-cart .wc-block-cart-items thead {
	background: var(--sytch-commerce-beige) !important;
}

body.woocommerce-cart .wc-block-cart-items thead th {
	padding: 19px 22px !important;
	border: 0 !important;
	color: #2b241c !important;
	font-size: 12px !important;
	font-weight: 850 !important;
	letter-spacing: .11em !important;
	line-height: 1.3 !important;
	text-transform: uppercase !important;
}

body.woocommerce-cart .wc-block-cart-items thead th:last-child {
	width: 120px !important;
	text-align: right !important;
}

body.woocommerce-cart .wc-block-cart-items__row:not(:last-child) td {
	border-bottom: 1px solid var(--sytch-commerce-border) !important;
}

body.woocommerce-cart .wc-block-cart-item__image,
body.woocommerce-cart .wc-block-cart-item__product,
body.woocommerce-cart .wc-block-cart-item__total {
	box-sizing: border-box !important;
	vertical-align: top !important;
	padding-top: 28px !important;
	padding-bottom: 28px !important;
}

body.woocommerce-cart .wc-block-cart-item__image {
	width: 124px !important;
	padding-left: 24px !important;
	padding-right: 14px !important;
}

body.woocommerce-cart .wc-block-cart-item__image img {
	display: block !important;
	width: 86px !important;
	height: 86px !important;
	max-width: 86px !important;
	border: 1px solid #e5dbcf !important;
	border-radius: 16px !important;
	background: #fff !important;
	object-fit: cover !important;
}

body.woocommerce-cart .wc-block-cart-item__product {
	width: auto !important;
	padding-left: 10px !important;
	padding-right: 22px !important;
}

body.woocommerce-cart .wc-block-cart-item__total {
	width: 120px !important;
	padding-left: 12px !important;
	padding-right: 24px !important;
	color: var(--sytch-commerce-ink) !important;
	font-size: 17px !important;
	font-weight: 850 !important;
	text-align: right !important;
	white-space: nowrap !important;
}

body.woocommerce-cart .wc-block-components-product-name {
	display: inline-block !important;
	max-width: 100% !important;
	margin: 0 !important;
	color: var(--sytch-commerce-ink) !important;
	font-size: clamp(20px, 1.7vw, 25px) !important;
	font-weight: 850 !important;
	letter-spacing: -.025em !important;
	line-height: 1.2 !important;
	text-decoration: none !important;
	overflow-wrap: anywhere !important;
}

body.woocommerce-cart .wc-block-cart-item__prices,
body.woocommerce-cart .wc-block-components-product-price {
	margin: 7px 0 0 !important;
	color: var(--sytch-commerce-ink) !important;
	font-size: 15px !important;
	font-weight: 800 !important;
}

/* Product options are readable cards, not cramped columns. */
body.woocommerce-cart .wc-block-components-product-metadata {
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
	margin: 20px 0 18px !important;
	color: var(--sytch-commerce-muted) !important;
	font-size: 14px !important;
	line-height: 1.55 !important;
}

body.woocommerce-cart .wc-block-components-product-details {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	gap: 10px 12px !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

body.woocommerce-cart .wc-block-components-product-details li {
	display: block !important;
	min-width: 0 !important;
	margin: 0 !important;
	padding: 12px 13px !important;
	border: 1px solid #e7ddd0 !important;
	border-radius: 12px !important;
	background: var(--sytch-commerce-soft) !important;
	font-size: 13px !important;
	line-height: 1.5 !important;
	overflow-wrap: anywhere !important;
}

body.woocommerce-cart .wc-block-components-product-details__name {
	display: inline !important;
	margin-right: 4px !important;
	color: #845c29 !important;
	font-weight: 850 !important;
}

body.woocommerce-cart .wc-block-components-product-details__value {
	display: inline !important;
	color: #504941 !important;
	font-weight: 500 !important;
}

body.woocommerce-cart .wc-block-components-product-details li:nth-last-child(-n+3) {
	grid-column: 1 / -1 !important;
}

body.woocommerce-cart .wc-block-components-product-metadata a {
	color: #075fb8 !important;
	font-weight: 700 !important;
}

/* Quantity / remove */
body.woocommerce-cart .wc-block-cart-item__quantity {
	display: flex !important;
	align-items: center !important;
	flex-wrap: wrap !important;
	gap: 10px !important;
	margin-top: 4px !important;
}

body.woocommerce-cart .wc-block-components-quantity-selector {
	display: inline-grid !important;
	grid-template-columns: 38px 42px 38px !important;
	width: 118px !important;
	min-width: 118px !important;
	height: 42px !important;
	border: 1px solid #d7ccbe !important;
	border-radius: 999px !important;
	background: #fff !important;
	box-shadow: none !important;
	overflow: hidden !important;
}

body.woocommerce-cart .wc-block-components-quantity-selector input,
body.woocommerce-cart .wc-block-components-quantity-selector button {
	width: 100% !important;
	min-width: 0 !important;
	height: 40px !important;
	min-height: 40px !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	color: var(--sytch-commerce-ink) !important;
	font-size: 14px !important;
	line-height: 40px !important;
	box-shadow: none !important;
}

body.woocommerce-cart .wc-block-cart-item__remove-link {
	display: inline-flex !important;
	align-items: center !important;
	min-height: 40px !important;
	margin: 0 !important;
	padding: 0 4px !important;
	color: #645b51 !important;
	font-size: 13px !important;
	font-weight: 750 !important;
	text-decoration: underline !important;
	text-underline-offset: 3px !important;
}

/* Totals / express payments */
body.woocommerce-cart .wp-block-woocommerce-cart-order-summary-block,
body.woocommerce-cart .wp-block-woocommerce-cart-express-payment-block,
body.woocommerce-cart .wp-block-woocommerce-proceed-to-checkout-block,
body.woocommerce-cart .wp-block-woocommerce-cart-accepted-payment-methods-block {
	width: 100% !important;
	max-width: none !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

body.woocommerce-cart .wc-block-cart__totals-title,
body.woocommerce-cart .wp-block-woocommerce-cart-order-summary-heading-block {
	margin: 0 0 20px !important;
	padding: 4px 8px 20px !important;
	border-bottom: 1px solid var(--sytch-commerce-border) !important;
	color: #95682f !important;
	font-size: 12px !important;
	font-weight: 900 !important;
	letter-spacing: .14em !important;
	line-height: 1.4 !important;
	text-align: left !important;
	text-transform: uppercase !important;
	white-space: normal !important;
	word-break: normal !important;
}

body.woocommerce-cart .wc-block-components-totals-item {
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	gap: 24px !important;
	width: 100% !important;
	padding: 22px 10px !important;
	border-color: var(--sytch-commerce-border) !important;
}

body.woocommerce-cart .wc-block-components-totals-item__label,
body.woocommerce-cart .wc-block-components-totals-item__value {
	min-width: 0 !important;
	color: var(--sytch-commerce-ink) !important;
	font-size: 16px !important;
	font-weight: 800 !important;
	line-height: 1.35 !important;
	word-break: normal !important;
}

body.woocommerce-cart .wc-block-components-totals-item__value {
	flex: 0 0 auto !important;
	padding-left: 18px !important;
	text-align: right !important;
	white-space: nowrap !important;
}

body.woocommerce-cart .wc-block-components-totals-footer-item .wc-block-components-totals-item__label,
body.woocommerce-cart .wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
	font-size: 22px !important;
	font-weight: 900 !important;
}

body.woocommerce-cart .wc-block-components-express-payment__event-buttons {
	display: grid !important;
	grid-template-columns: 1fr !important;
	gap: 10px !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
}

body.woocommerce-cart .wc-block-components-express-payment__event-buttons > li,
body.woocommerce-cart .wc-block-components-express-payment__event-buttons button,
body.woocommerce-cart .wc-block-components-express-payment__event-buttons iframe,
body.woocommerce-cart .wc-block-components-express-payment__event-buttons > li > div {
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0 !important;
	margin: 0 !important;
	border-radius: 9px !important;
	overflow: hidden !important;
}

body.woocommerce-cart .wp-block-woocommerce-proceed-to-checkout-block .wc-block-components-button,
body.woocommerce-cart .wc-block-cart__submit-button {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 100% !important;
	min-height: 54px !important;
	margin: 0 !important;
	padding: 15px 22px !important;
	border: 0 !important;
	border-radius: 999px !important;
	background: var(--sytch-commerce-black) !important;
	color: #fff !important;
	font-size: 15px !important;
	font-weight: 850 !important;
	line-height: 1.2 !important;
	text-align: center !important;
	white-space: normal !important;
	box-shadow: none !important;
}

/* Classic cart fallback */
body.woocommerce-cart .woocommerce {
	box-sizing: border-box;
	width: min(1300px, calc(100% - 48px)) !important;
	max-width: 1300px !important;
	margin: 0 auto !important;
	padding: 64px 0 86px !important;
}

body.woocommerce-cart form.woocommerce-cart-form {
	box-sizing: border-box;
	float: left;
	width: calc(100% - 420px) !important;
	margin: 0 !important;
	padding: 28px !important;
	border: 1px solid var(--sytch-commerce-border) !important;
	border-radius: 24px !important;
	background: var(--sytch-commerce-panel) !important;
	box-shadow: var(--sytch-commerce-shadow) !important;
}

body.woocommerce-cart .cart-collaterals {
	box-sizing: border-box;
	float: right;
	width: 390px !important;
	margin: 0 !important;
}

body.woocommerce-cart .cart-collaterals .cart_totals {
	box-sizing: border-box;
	width: 100% !important;
	padding: 28px !important;
	border: 1px solid var(--sytch-commerce-border) !important;
	border-radius: 24px !important;
	background: var(--sytch-commerce-panel) !important;
	box-shadow: var(--sytch-commerce-shadow) !important;
}

/* Premium add-to-basket notices. */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
	position: relative !important;
	max-width: 1300px !important;
	margin: 28px auto !important;
	padding: 20px 190px 20px 52px !important;
	border: 1px solid var(--sytch-commerce-border, #dfd4c5) !important;
	border-radius: 16px !important;
	background: #fffaf2 !important;
	color: #3f3932 !important;
	box-shadow: 0 12px 32px rgba(57, 43, 25, .07) !important;
}

.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before {
	left: 20px !important;
	top: 50% !important;
	transform: translateY(-50%) !important;
	color: #95682f !important;
}

.woocommerce-message .button,
.woocommerce-info .button,
.woocommerce-error .button {
	position: absolute !important;
	right: 16px !important;
	top: 50% !important;
	transform: translateY(-50%) !important;
	margin: 0 !important;
	border: 0 !important;
	border-radius: 999px !important;
	background: #050505 !important;
	color: #fff !important;
	font-weight: 800 !important;
}

/* Related service cards */
.related.products,
.upsells.products {
	max-width: 1300px !important;
	margin: 54px auto 0 !important;
	padding: 0 20px 70px !important;
}

.related.products > h2,
.upsells.products > h2 {
	color: #192438 !important;
	font-size: clamp(30px, 4vw, 46px) !important;
	line-height: 1.05 !important;
	letter-spacing: -.035em !important;
	margin: 0 0 26px !important;
}

.woocommerce ul.products,
.wc-block-grid__products {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	gap: 20px !important;
}

.woocommerce ul.products li.product.sytch-service-product-card,
.wc-block-grid__product.sytch-service-product-card,
.wc-block-product.sytch-service-product-card {
	width: auto !important;
	margin: 0 !important;
	float: none !important;
	display: flex !important;
	flex-direction: column !important;
	min-height: 310px !important;
	padding: 26px !important;
	text-align: left !important;
	background: linear-gradient(145deg, #ecd9bb 0%, #dfc195 100%) !important;
	border: 1px solid rgba(129, 92, 42, .28) !important;
	border-radius: 22px !important;
	overflow: hidden !important;
	position: relative !important;
}

.sytch-service-card-icon-wrap {
	width: 54px !important;
	height: 54px !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	border-radius: 50% !important;
	background: #000 !important;
	margin: 0 0 18px !important;
}

.sytch-service-card-icon {
	width: 29px !important;
	height: 29px !important;
	display: flex !important;
	color: #fff !important;
}

.sytch-service-card-icon svg {
	width: 100% !important;
	height: 100% !important;
}

.sytch-service-product-card img {
	display: none !important;
}

.sytch-service-product-card .woocommerce-loop-product__title,
.sytch-service-product-card .wc-block-grid__product-title,
.sytch-service-product-card .wc-block-components-product-name,
.sytch-service-product-card h2,
.sytch-service-product-card h3 {
	color: #000 !important;
	font-size: 24px !important;
	line-height: 1.15 !important;
	font-weight: 850 !important;
	margin: 0 0 12px !important;
}

.sytch-service-card-description {
	color: #5e554b !important;
	font-size: 15px !important;
	line-height: 1.55 !important;
	margin: 0 0 22px !important;
	flex: 1 !important;
}

.sytch-service-product-card .button,
.sytch-service-product-card .wp-block-button__link,
.sytch-service-product-card .wc-block-components-product-button__button {
	width: max-content !important;
	margin-top: auto !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	color: #000 !important;
	font-size: 15px !important;
	font-weight: 900 !important;
	box-shadow: none !important;
}

/* Empty basket service chooser */
.sytch-empty-cart-host > .wc-block-cart__empty-cart__title,
.sytch-empty-cart-host > .cart-empty,
.sytch-empty-cart-host > .wc-block-cart__empty-cart__description,
.sytch-empty-cart-host > .wc-block-grid,
.sytch-empty-cart-host > .wp-block-heading,
.sytch-empty-cart-host > .wp-block-woocommerce-product-new {
	display: none !important;
}

.sytch-empty-cart-panel {
	max-width: 1300px !important;
	margin: 0 auto !important;
	padding: clamp(30px, 5vw, 58px) !important;
	border: 1px solid var(--sytch-commerce-border) !important;
	border-radius: 28px !important;
	background: var(--sytch-commerce-panel) !important;
	box-shadow: var(--sytch-commerce-shadow) !important;
	text-align: center !important;
	position: relative !important;
	overflow: hidden !important;
}

.sytch-empty-cart-panel h2 {
	margin: 6px 0 10px !important;
	color: var(--sytch-commerce-ink) !important;
	font-size: clamp(36px, 4vw, 58px) !important;
	letter-spacing: -.04em !important;
	line-height: 1.05 !important;
}

.sytch-empty-cart-panel > p {
	margin: 0 0 32px !important;
	color: var(--sytch-commerce-muted) !important;
	font-size: 17px !important;
}

.sytch-empty-services-grid {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	gap: 18px !important;
}

.sytch-empty-service-card {
	display: flex !important;
	flex-direction: column !important;
	min-height: 290px !important;
	padding: 26px !important;
	color: #fff !important;
	text-align: left !important;
	text-decoration: none !important;
	border-radius: 22px !important;
	background: #000 !important;
	border: 1px solid rgba(255, 255, 255, .14) !important;
	transition: transform .22s ease, box-shadow .22s ease !important;
}

.sytch-empty-service-card:hover {
	transform: translateY(-4px) !important;
	box-shadow: 0 20px 42px rgba(0, 0, 0, .28) !important;
}

.sytch-empty-service-card .sytch-service-card-icon-wrap {
	background: rgba(255, 255, 255, .12) !important;
	border: 1px solid rgba(255, 255, 255, .3) !important;
}

.sytch-empty-service-card .sytch-service-card-icon {
	color: #fff !important;
}

.sytch-empty-service-title {
	color: #fff !important;
	font-size: 23px !important;
	line-height: 1.15 !important;
	font-weight: 900 !important;
	margin: 0 0 12px !important;
}

.sytch-empty-service-description {
	color: rgba(255, 255, 255, .72) !important;
	font-size: 15px !important;
	line-height: 1.55 !important;
	margin-bottom: 22px !important;
	flex: 1 !important;
}

.sytch-empty-service-cta {
	color: #fff !important;
	font-weight: 900 !important;
}

/* ==========================================================================
   Checkout — rolled back to default WooCommerce design.
   Only two overrides remain: page background color and a black Place Order
   button. Everything else (layout, cards, inputs, labels, radios, sidebar,
   etc.) uses WooCommerce's own default checkout styling.
   ========================================================================== */
body.woocommerce-checkout,
body.woocommerce-checkout .site-content {
	background: #F2EBE1 !important;
}

/* Astra wraps the page content in several layers (#page, #content,
   .ast-container, #primary, .site-main, article, .entry-content) that each
   carry their own opaque (white) background by default. Without making
   them transparent here, they sit on top of body/.site-content and hide
   the background color above — this does not change width, padding, or
   layout, only background-color. */
body.woocommerce-checkout #page,
body.woocommerce-checkout #content,
body.woocommerce-checkout .ast-container,
body.woocommerce-checkout #primary,
body.woocommerce-checkout .site-main,
body.woocommerce-checkout article,
body.woocommerce-checkout .entry-content {
	background: transparent !important;
}

body.woocommerce-checkout .wc-block-components-checkout-place-order-button,
body.woocommerce-checkout #place_order {
	background: #000 !important;
}

/* Responsive */
@media (max-width: 1020px) {
	body.woocommerce-cart .wp-block-woocommerce-filled-cart-block {
		grid-template-columns: 1fr !important;
		gap: 24px !important;
	}

	body.woocommerce-cart .wp-block-woocommerce-cart-totals-block {
		position: static !important;
	}

	body.woocommerce-cart form.woocommerce-cart-form,
	body.woocommerce-cart .cart-collaterals {
		float: none !important;
		width: 100% !important;
	}

	body.woocommerce-cart .cart-collaterals {
		margin-top: 24px !important;
	}

	.woocommerce ul.products,
	.wc-block-grid__products,
	.sytch-empty-services-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
}

@media (max-width: 680px) {
	body.woocommerce-cart .entry-content > .wp-block-woocommerce-cart,
	body.woocommerce-cart .woocommerce {
		width: calc(100% - 20px) !important;
		padding-top: 22px !important;
		padding-bottom: 40px !important;
	}

	body.woocommerce-cart .wp-block-woocommerce-filled-cart-block {
		display: block !important;
	}

	body.woocommerce-cart .wp-block-woocommerce-cart-items-block,
	body.woocommerce-cart .wp-block-woocommerce-cart-totals-block {
		width: 100% !important;
		max-width: 100% !important;
	}

	body.woocommerce-cart .wp-block-woocommerce-cart-totals-block {
		position: static !important;
		margin-top: 18px !important;
		padding: 22px 18px !important;
		border-radius: 20px !important;
	}

	body.woocommerce-cart .wc-block-cart-items {
		display: block !important;
		border: 0 !important;
		background: transparent !important;
		box-shadow: none !important;
		overflow: visible !important;
	}

	body.woocommerce-cart .wc-block-cart-items thead {
		display: none !important;
	}

	body.woocommerce-cart .wc-block-cart-items tbody,
	body.woocommerce-cart .wc-block-cart-items__row {
		display: block !important;
		width: 100% !important;
	}

	body.woocommerce-cart .wc-block-cart-items__row {
		display: grid !important;
		grid-template-columns: 74px minmax(0, 1fr) auto !important;
		grid-template-areas:
			"image product total"
			"meta meta meta"
			"actions actions actions";
		gap: 0 12px !important;
		margin: 0 0 16px !important;
		padding: 18px !important;
		border: 1px solid var(--sytch-commerce-border) !important;
		border-radius: 20px !important;
		background: var(--sytch-commerce-panel) !important;
		box-shadow: 0 14px 34px rgba(57, 43, 25, .08) !important;
		overflow: hidden !important;
	}

	body.woocommerce-cart .wc-block-cart-item__image {
		grid-area: image !important;
		width: 74px !important;
		padding: 0 !important;
		border: 0 !important;
	}

	body.woocommerce-cart .wc-block-cart-item__image img {
		width: 64px !important;
		height: 64px !important;
		max-width: 64px !important;
		border-radius: 14px !important;
	}

	body.woocommerce-cart .wc-block-cart-item__product {
		grid-area: product !important;
		width: auto !important;
		padding: 0 !important;
		border: 0 !important;
	}

	body.woocommerce-cart .wc-block-components-product-name {
		font-size: 20px !important;
		line-height: 1.12 !important;
		margin: 0 0 6px !important;
	}

	body.woocommerce-cart .wc-block-cart-item__prices,
	body.woocommerce-cart .wc-block-components-product-price {
		margin-top: 4px !important;
		font-size: 14px !important;
	}

	body.woocommerce-cart .wc-block-cart-item__total {
		grid-area: total !important;
		align-self: start !important;
		width: auto !important;
		padding: 2px 0 0 !important;
		border: 0 !important;
		background: transparent !important;
		font-size: 16px !important;
		text-align: right !important;
		white-space: nowrap !important;
	}

	body.woocommerce-cart .wc-block-components-product-metadata {
		grid-area: meta !important;
		margin: 18px 0 0 !important;
		padding-top: 16px !important;
		border-top: 1px solid var(--sytch-commerce-border) !important;
	}

	body.woocommerce-cart .wc-block-components-product-details {
		display: grid !important;
		grid-template-columns: 1fr !important;
		gap: 8px !important;
	}

	body.woocommerce-cart .wc-block-components-product-details li,
	body.woocommerce-cart .wc-block-components-product-details li:nth-last-child(-n+3) {
		grid-column: auto !important;
		padding: 10px 12px !important;
		border-radius: 11px !important;
		font-size: 13px !important;
	}

	body.woocommerce-cart .wc-block-cart-item__quantity {
		grid-area: actions !important;
		justify-content: space-between !important;
		margin-top: 16px !important;
		padding-top: 14px !important;
		border-top: 1px solid var(--sytch-commerce-border) !important;
	}

	body.woocommerce-cart .wc-block-components-quantity-selector {
		width: 112px !important;
		min-width: 112px !important;
		height: 40px !important;
		grid-template-columns: 36px 40px 36px !important;
	}

	body.woocommerce-cart .wc-block-cart-item__remove-link {
		min-height: 38px !important;
		font-size: 12px !important;
	}

	body.woocommerce-cart .wc-block-cart__totals-title,
	body.woocommerce-cart .wp-block-woocommerce-cart-order-summary-heading-block {
		padding: 0 2px 16px !important;
		margin-bottom: 10px !important;
		font-size: 11px !important;
	}

	body.woocommerce-cart .wc-block-components-totals-item {
		padding: 18px 2px !important;
		gap: 16px !important;
	}

	body.woocommerce-cart .wc-block-components-totals-item__label,
	body.woocommerce-cart .wc-block-components-totals-item__value {
		font-size: 16px !important;
	}

	body.woocommerce-cart .wc-block-components-totals-footer-item .wc-block-components-totals-item__label,
	body.woocommerce-cart .wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
		font-size: 20px !important;
	}

	body.woocommerce-cart .wp-block-woocommerce-cart-express-payment-block {
		margin-top: 14px !important;
	}

	body.woocommerce-cart .wc-block-components-express-payment__event-buttons {
		gap: 8px !important;
	}

	body.woocommerce-cart .wp-block-woocommerce-proceed-to-checkout-block {
		position: sticky !important;
		bottom: 0 !important;
		z-index: 10 !important;
		margin: 16px -18px -22px !important;
		padding: 16px 18px !important;
		border-top: 1px solid var(--sytch-commerce-border) !important;
		background: rgba(255, 250, 242, .96) !important;
		backdrop-filter: blur(10px) !important;
	}

	body.woocommerce-cart .wp-block-woocommerce-proceed-to-checkout-block .wc-block-components-button,
	body.woocommerce-cart .wc-block-cart__submit-button {
		min-height: 54px !important;
		font-size: 15px !important;
	}

	.woocommerce-message,
	.woocommerce-info,
	.woocommerce-error {
		padding: 18px 18px 76px 48px !important;
		margin-left: 10px !important;
		margin-right: 10px !important;
	}

	.woocommerce-message .button,
	.woocommerce-info .button,
	.woocommerce-error .button {
		top: auto !important;
		right: auto !important;
		bottom: 16px !important;
		left: 18px !important;
		transform: none !important;
	}

	.woocommerce ul.products,
	.wc-block-grid__products,
	.sytch-empty-services-grid {
		grid-template-columns: 1fr !important;
	}
}

/* ==========================================================================
   Account pages: login, register, lost password, reset password
   Brings the default WooCommerce My Account screens (in particular the
   native "lost password" and "reset password" forms, which are not routed
   through the custom Sytch Portal login/register screens) in line with the
   black + cream branding used across the rest of the site.
   ========================================================================== */
body.scp-premium-account-page .site-content {
	background: linear-gradient(135deg, #f7f1e8 0%, #efe7dc 100%) !important;
	padding: 56px 20px 72px !important;
}

body.scp-premium-account-page #content,
body.scp-premium-account-page .site-content,
body.scp-premium-account-page #primary,
body.scp-premium-account-page .site-main,
body.scp-premium-account-page article,
body.scp-premium-account-page .entry-content {
	width: 100% !important;
	max-width: none !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
	background: transparent !important;
	float: none !important;
}

body.scp-premium-account-page .ast-container {
	box-sizing: border-box !important;
	width: 100% !important;
	max-width: 620px !important;
	margin: 0 auto !important;
	float: none !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
}

body.scp-premium-account-page .entry-header,
body.scp-premium-account-page .page-title,
body.scp-premium-account-page .ast-woocommerce-container > .page-title,
body.scp-premium-account-page .woocommerce-breadcrumb {
	display: none !important;
}

body.scp-premium-account-page .woocommerce {
	background: var(--sytch-commerce-panel) !important;
	border: 1px solid var(--sytch-commerce-border) !important;
	border-radius: 26px !important;
	padding: clamp(28px, 5vw, 46px) !important;
	box-shadow: var(--sytch-commerce-shadow) !important;
}

/* Lost-password and reset/set-password screens render a single form with
   no sibling column, so center it with flexbox on the wrapper (robust even
   if something upstream floats or left-aligns the form itself), on top of
   the max-width + margin auto centering on the form. */
body.scp-premium-account-page.scp-premium-lost-password-page .woocommerce,
body.scp-premium-account-page .woocommerce:has(form.lost_reset_password),
body.scp-premium-account-page .woocommerce:has(.woocommerce-ResetPassword) {
	display: flex !important;
	flex-direction: column !important;
	align-items: center !important;
}

body.scp-premium-account-page .woocommerce-form-login,
body.scp-premium-account-page .woocommerce-form-register,
body.scp-premium-account-page .woocommerce-ResetPassword,
body.scp-premium-account-page form.lost_reset_password {
	display: block !important;
	float: none !important;
	width: 100% !important;
	max-width: 460px !important;
	margin: 0 auto !important;
	text-align: left !important;
}

body.scp-premium-account-page .woocommerce-form-login p:first-child,
body.scp-premium-account-page .woocommerce-ResetPassword > p:first-child {
	color: var(--sytch-commerce-muted) !important;
	font-size: 16px !important;
	line-height: 1.65 !important;
}

body.scp-premium-account-page h1,
body.scp-premium-account-page .entry-title {
	color: var(--sytch-commerce-ink) !important;
	font-size: clamp(30px, 4vw, 44px) !important;
	font-weight: 800 !important;
	letter-spacing: -.03em !important;
	line-height: 1.1 !important;
	margin: 0 0 22px !important;
	text-align: center !important;
}

body.scp-premium-account-page .woocommerce form .form-row label {
	display: block !important;
	color: #080808 !important;
	font-weight: 800 !important;
	margin: 14px 0 8px !important;
}

body.scp-premium-account-page .woocommerce form .form-row label .required {
	color: #9a1f1f !important;
	text-decoration: none !important;
}

body.scp-premium-account-page .woocommerce form .password-input {
	width: 100% !important;
}

body.scp-premium-account-page .woocommerce form input.input-text,
body.scp-premium-account-page .woocommerce form input[type="text"],
body.scp-premium-account-page .woocommerce form input[type="email"],
body.scp-premium-account-page .woocommerce form input[type="password"] {
	width: 100% !important;
	border: 1px solid rgba(0, 0, 0, .16) !important;
	border-radius: 14px !important;
	background: #fff !important;
	padding: 15px 16px !important;
	margin: 0 0 4px !important;
	outline: none !important;
	box-shadow: 0 3px 0 rgba(0, 0, 0, .02) !important;
	transition: .18s ease !important;
}

body.scp-premium-account-page .woocommerce form input.input-text:focus,
body.scp-premium-account-page .woocommerce form input[type="password"]:focus {
	border-color: #000 !important;
	box-shadow: 0 0 0 4px rgba(0, 0, 0, .06) !important;
}

body.scp-premium-account-page .woocommerce form .show-password-input {
	top: 14px !important;
}

body.scp-premium-account-page .woocommerce-password-strength {
	border-radius: 999px !important;
	overflow: hidden !important;
	font-weight: 800 !important;
	text-align: center !important;
	padding: 8px 0 !important;
}

body.scp-premium-account-page .woocommerce form .form-row {
	margin: 0 0 14px !important;
}

body.scp-premium-account-page .woocommerce form .woocommerce-form-login__rememberme {
	display: flex !important;
	align-items: center !important;
	gap: 8px !important;
	font-weight: 700 !important;
	color: #353535 !important;
}

body.scp-premium-account-page .woocommerce form button.button,
body.scp-premium-account-page .woocommerce form input[type="submit"],
body.scp-premium-account-page .woocommerce-ResetPassword button {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 100% !important;
	border: 0 !important;
	border-radius: 999px !important;
	background: #000 !important;
	color: #fff !important;
	font-weight: 800 !important;
	font-size: 16px !important;
	padding: 15px 24px !important;
	margin-top: 8px !important;
	box-shadow: none !important;
	text-decoration: none !important;
	transition: transform .2s ease, box-shadow .2s ease !important;
}

body.scp-premium-account-page .woocommerce form button.button:hover,
body.scp-premium-account-page .woocommerce form input[type="submit"]:hover,
body.scp-premium-account-page .woocommerce-ResetPassword button:hover {
	transform: translateY(-1px) !important;
	box-shadow: 0 10px 22px rgba(0, 0, 0, .18) !important;
}

body.scp-premium-account-page .woocommerce form .lost_password,
body.scp-premium-account-page .u-column2.get-started {
	text-align: center !important;
	margin-top: 18px !important;
}

body.scp-premium-account-page .woocommerce form .lost_password a,
body.scp-premium-account-page a.woocommerce-Button.button {
	color: #000 !important;
	font-weight: 800 !important;
	text-decoration: underline !important;
	text-underline-offset: 4px !important;
}

/* WooCommerce's default account layout splits login/register into two
   columns; the register-disabled cases (or lost/reset password screens)
   only render a single column, so keep it centered either way. */
body.scp-premium-account-page .u-columns.woocommerce-Addresses,
body.scp-premium-account-page .col2-set.woocommerce-form-login {
	display: block !important;
}

body.scp-premium-account-page .col2-set.woocommerce-form-login .col-1,
body.scp-premium-account-page .col2-set.woocommerce-form-login .col-2 {
	float: none !important;
	width: 100% !important;
	max-width: 460px !important;
	margin: 0 auto 30px !important;
}

body.scp-premium-account-page .woocommerce-notices-wrapper {
	max-width: 620px !important;
	margin: 0 auto 20px !important;
}

@media (max-width: 640px) {
	body.scp-premium-account-page .woocommerce {
		padding: 26px 20px !important;
		border-radius: 22px !important;
	}
}
