/**
 * Empty-cart recommendations use Product Collection blocks, outside the theme loop.
 */
body.ssf-commerce-shell.woocommerce-cart .wp-block-woocommerce-empty-cart-block {
	max-width: 1200px;
	margin-inline: auto;
}

body.ssf-commerce-shell.woocommerce-cart .wp-block-woocommerce-empty-cart-block h2 {
	font-size: clamp(24px, 3vw, 32px);
	line-height: 1.2;
}

body.ssf-commerce-shell.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-product-template {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
	padding: 0;
	list-style: none;
}

body.ssf-commerce-shell.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-product {
	display: flex;
	flex-direction: column;
	min-width: 0;
	margin: 0;
	padding: 16px;
	border: 1px solid #e3e3e3;
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 2px 8px rgb(0 0 0 / 4%);
	text-align: left;
}

body.ssf-commerce-shell.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-components-product-image {
	margin: 0 0 16px;
	background: #fff;
}

body.ssf-commerce-shell.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-components-product-image img {
	width: 100%;
	height: 220px;
	object-fit: contain;
	object-position: center;
}

body.ssf-commerce-shell.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wp-block-post-title {
	margin: 0 0 10px;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.35;
	text-align: left;
}

body.ssf-commerce-shell.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wp-block-post-title a {
	color: #202020;
	text-decoration: none;
}

body.ssf-commerce-shell.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wp-block-woocommerce-product-price {
	margin: auto 0 12px;
	font-size: 17px;
	font-weight: 700;
	text-align: left;
}

body.ssf-commerce-shell.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wp-block-woocommerce-product-price ins {
	background: transparent;
	text-decoration: none;
}

@media (max-width: 900px) {
	body.ssf-commerce-shell.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-product-template {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 480px) {
	body.ssf-commerce-shell.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-product-template {
		grid-template-columns: minmax(0, 1fr);
	}
}

/**
 * FullDip purchase flow.
 *
 * Cart, checkout and order-confirmation interfaces are styled on top of
 * WooCommerce Blocks while keeping a small compatibility layer for classic
 * WooCommerce templates. Commerce data and interactions remain native.
 */

/* =========================================================
   PAGE SHELL
   ========================================================= */

body.ssf-commerce-shell.woocommerce-cart,
body.ssf-commerce-shell.woocommerce-checkout {
	background: var(--ssf-color-white);
}

body.ssf-commerce-shell.woocommerce-cart .entry-hero,
body.ssf-commerce-shell.woocommerce-checkout .entry-hero {
	padding: clamp(32px, 5vw, 58px) 0 0;
	background: var(--ssf-color-white);
}

body.ssf-commerce-shell.woocommerce-cart .entry-hero .hero-section-overlay,
body.ssf-commerce-shell.woocommerce-checkout .entry-hero .hero-section-overlay {
	display: none;
}

body.ssf-commerce-shell.woocommerce-cart .entry-hero .hero-container,
body.ssf-commerce-shell.woocommerce-checkout .entry-hero .hero-container {
	width: min(1220px, calc(100% - 40px));
	max-width: none;
	margin: 0 auto;
	padding: 0;
}

body.ssf-commerce-shell.woocommerce-cart .entry-hero .entry-header,
body.ssf-commerce-shell.woocommerce-checkout .entry-hero .entry-header {
	display: flex;
	align-items: flex-start;
	justify-content: flex-start;
	min-height: 0;
	height: auto;
	margin: 0;
	padding: 0;
	text-align: left;
}

body.ssf-commerce-shell.woocommerce-cart .entry-hero .entry-title,
body.ssf-commerce-shell.woocommerce-checkout .entry-hero .entry-title {
	margin: 0;
	color: var(--ssf-color-text);
	font-family: var(--ssf-font-family);
	font-size: clamp(32px, 4vw, 48px);
	font-weight: 800;
	line-height: 1.04;
	letter-spacing: -0.04em;
	text-align: left;
}

body.ssf-commerce-shell.woocommerce-cart .content-area,
body.ssf-commerce-shell.woocommerce-checkout .content-area,
body.ssf-commerce-shell.woocommerce-cart .content-container,
body.ssf-commerce-shell.woocommerce-checkout .content-container,
body.ssf-commerce-shell.woocommerce-cart .site-main,
body.ssf-commerce-shell.woocommerce-checkout .site-main,
body.ssf-commerce-shell.woocommerce-cart .content-wrap,
body.ssf-commerce-shell.woocommerce-checkout .content-wrap,
body.ssf-commerce-shell.woocommerce-cart .entry,
body.ssf-commerce-shell.woocommerce-checkout .entry,
body.ssf-commerce-shell.woocommerce-cart .entry-content-wrap,
body.ssf-commerce-shell.woocommerce-checkout .entry-content-wrap,
body.ssf-commerce-shell.woocommerce-cart .entry-content,
body.ssf-commerce-shell.woocommerce-checkout .entry-content {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
	background: transparent;
	box-shadow: none;
}

body.ssf-commerce-shell.woocommerce-cart .content-container.site-container,
body.ssf-commerce-shell.woocommerce-checkout .content-container.site-container {
	width: min(1220px, calc(100% - 40px));
	margin: 0 auto;
	padding: clamp(24px, 3.4vw, 44px) 0 clamp(64px, 8vw, 108px);
}

body.ssf-commerce-shell.woocommerce-cart :is(
	.wp-block-woocommerce-cart,
	.wc-block-cart,
	.woocommerce
),
body.ssf-commerce-shell.woocommerce-checkout :is(
	.wp-block-woocommerce-checkout,
	.wc-block-checkout,
	.woocommerce
) {
	color: var(--ssf-color-text);
	font-family: var(--ssf-font-family);
}

/* =========================================================
   SHARED CONTROLS AND MESSAGES
   ========================================================= */

body.ssf-commerce-shell :is(
	.wc-block-components-text-input input,
	.wc-blocks-components-select__select,
	.wc-block-components-combobox .components-combobox-control__input,
	.wc-block-components-textarea,
	.woocommerce form .form-row input.input-text,
	.woocommerce form .form-row textarea,
	.woocommerce form .form-row select
) {
	min-height: 52px;
	border: 1px solid var(--ssf-color-border-dark);
	border-radius: var(--ssf-radius-small);
	background: var(--ssf-color-white);
	box-shadow: none;
	color: var(--ssf-color-text);
	font-family: var(--ssf-font-family);
	font-size: 15px;
	font-weight: 550;
	transition:
		border-color var(--ssf-transition-fast),
		box-shadow var(--ssf-transition-fast),
		background-color var(--ssf-transition-fast);
}

body.ssf-commerce-shell .wc-block-components-text-input input,
body.ssf-commerce-shell .wc-block-components-textarea {
	padding: 19px 13px 7px;
}

body.ssf-commerce-shell .wc-block-components-text-input label,
body.ssf-commerce-shell .wc-blocks-components-select__label,
body.ssf-commerce-shell .woocommerce form .form-row label {
	color: var(--ssf-color-muted);
	font-family: var(--ssf-font-family);
	font-size: 12px;
	font-weight: 750;
	letter-spacing: 0.01em;
}

body.ssf-commerce-shell :is(
	.wc-block-components-text-input input,
	.wc-blocks-components-select__select,
	.wc-block-components-combobox .components-combobox-control__input,
	.wc-block-components-textarea,
	.woocommerce form .form-row input.input-text,
	.woocommerce form .form-row textarea,
	.woocommerce form .form-row select
):hover {
	border-color: var(--ssf-color-text);
}

body.ssf-commerce-shell :is(
	.wc-block-components-text-input input,
	.wc-blocks-components-select__select,
	.wc-block-components-combobox .components-combobox-control__input,
	.wc-block-components-textarea,
	.woocommerce form .form-row input.input-text,
	.woocommerce form .form-row textarea,
	.woocommerce form .form-row select
):focus {
	border-color: var(--ssf-color-primary);
	outline: 3px solid rgba(185, 42, 34, 0.14);
	outline-offset: 1px;
}

body.ssf-commerce-shell :is(
	.wc-block-components-button:not(.is-link),
	.fs-free-shipping-notice-and-button-wrapper a.flexible-shipping-free-shipping-button,
	.wp-block-woocommerce-cart .wp-element-button,
	.wp-block-woocommerce-checkout .wp-element-button,
	.woocommerce a.button,
	.woocommerce button.button,
	.woocommerce input.button,
	.woocommerce input[type="submit"]
) {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 50px;
	padding: 13px 20px;
	border: 1px solid var(--ssf-color-primary);
	border-radius: var(--ssf-radius-small);
	background: var(--ssf-color-primary);
	box-shadow: none;
	color: var(--ssf-color-white);
	font-family: var(--ssf-font-family);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.025em;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
	transition:
		background-color var(--ssf-transition-fast),
		border-color var(--ssf-transition-fast),
		transform var(--ssf-transition-fast),
		box-shadow var(--ssf-transition-fast);
}

body.ssf-commerce-shell :is(
	.wc-block-components-button:not(.is-link),
	.fs-free-shipping-notice-and-button-wrapper a.flexible-shipping-free-shipping-button,
	.wp-block-woocommerce-cart .wp-element-button,
	.wp-block-woocommerce-checkout .wp-element-button,
	.woocommerce a.button,
	.woocommerce button.button,
	.woocommerce input.button,
	.woocommerce input[type="submit"]
):hover,
body.ssf-commerce-shell :is(
	.wc-block-components-button:not(.is-link),
	.fs-free-shipping-notice-and-button-wrapper a.flexible-shipping-free-shipping-button,
	.wp-block-woocommerce-cart .wp-element-button,
	.wp-block-woocommerce-checkout .wp-element-button,
	.woocommerce a.button,
	.woocommerce button.button,
	.woocommerce input.button,
	.woocommerce input[type="submit"]
):focus-visible {
	border-color: var(--ssf-color-primary-hover);
	background: var(--ssf-color-primary-hover);
	color: var(--ssf-color-white);
	box-shadow: 0 6px 16px rgba(185, 42, 34, 0.18);
	transform: translateY(-1px);
}

body.ssf-commerce-shell :is(
	.wc-block-components-button:not(.is-link),
	.fs-free-shipping-notice-and-button-wrapper a.flexible-shipping-free-shipping-button,
	.wp-block-woocommerce-cart .wp-element-button,
	.wp-block-woocommerce-checkout .wp-element-button,
	.woocommerce a.button,
	.woocommerce button.button,
	.woocommerce input.button,
	.woocommerce input[type="submit"]
):focus-visible {
	outline: 3px solid rgba(185, 42, 34, 0.24);
	outline-offset: 3px;
}

body.ssf-commerce-shell .wc-block-components-button:disabled,
body.ssf-commerce-shell .wc-block-components-button[aria-disabled="true"],
body.ssf-commerce-shell .woocommerce :is(button, input)[disabled] {
	border-color: var(--ssf-color-border);
	background: var(--ssf-color-background-soft);
	box-shadow: none;
	color: var(--ssf-color-muted);
	cursor: not-allowed;
	transform: none;
}

body.ssf-commerce-shell :is(
	.wc-block-components-notice-banner,
	.wc-block-components-notice-snackbar,
	.woocommerce-message,
	.woocommerce-info,
	.woocommerce-error
) {
	margin: 0 0 var(--ssf-space-5);
	padding: 14px 16px;
	border: 1px solid var(--ssf-color-border);
	border-left: 4px solid var(--ssf-color-primary);
	border-radius: var(--ssf-radius-small);
	background: var(--ssf-color-white);
	box-shadow: var(--ssf-shadow-small);
	color: var(--ssf-color-text);
	font-size: 14px;
	font-weight: 650;
	line-height: 1.5;
}

body.ssf-commerce-shell :is(
	.wc-block-components-notice-banner.is-error,
	.woocommerce-error
) {
	border-left-color: #b42318;
	background: #fff8f7;
}

body.ssf-commerce-shell :is(
	.wc-block-components-notice-banner.is-success,
	.woocommerce-message
) {
	border-left-color: #197a3e;
	background: #f5fbf7;
}

body.ssf-commerce-shell :is(
	.wc-block-components-notice-banner a,
	.woocommerce-message a,
	.woocommerce-info a,
	.woocommerce-error a,
	.added_to_cart.wc-forward
) {
	color: var(--ssf-color-primary);
	font-weight: 800;
	text-underline-offset: 0.16em;
}

body.ssf-commerce-shell .added_to_cart.wc-forward {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	margin: 12px 0 0;
	padding: 10px 14px;
	border: 1px solid var(--ssf-color-primary);
	border-radius: var(--ssf-radius-small);
	background: var(--ssf-color-white);
	text-decoration: none;
}

/* =========================================================
   CART
   ========================================================= */

body.ssf-commerce-shell .wc-block-components-sidebar-layout {
	gap: clamp(24px, 4vw, 52px);
}

body.ssf-commerce-shell.woocommerce-cart .wp-block-woocommerce-cart {
	width: 100%;
	margin: 0;
}

body.ssf-commerce-shell.woocommerce-cart .wc-block-components-sidebar-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(340px, 390px);
	align-items: start;
}

body.ssf-commerce-shell.woocommerce-cart :is(
	.wc-block-cart__main,
	.wc-block-cart__sidebar
) {
	width: auto;
	min-width: 0;
}

body.ssf-commerce-shell.woocommerce-cart .wc-block-cart__sidebar {
	position: sticky;
	top: 24px;
	align-self: start;
}

body.ssf-commerce-shell .wc-block-cart__main,
body.ssf-commerce-shell .wc-block-checkout__main {
	min-width: 0;
}

body.ssf-commerce-shell .wc-block-cart-items {
	width: 100%;
	margin: 0;
	border: 1px solid var(--ssf-color-border);
	border-radius: 12px;
	border-collapse: separate;
	border-spacing: 0;
	overflow: hidden;
	background: var(--ssf-color-white);
	box-shadow: var(--ssf-shadow-small);
}

body.ssf-commerce-shell .wc-block-cart-items thead {
	background: var(--ssf-color-background-soft);
}

body.ssf-commerce-shell .wc-block-cart-items :is(th, td) {
	border-color: var(--ssf-color-border);
}

body.ssf-commerce-shell .wc-block-cart-items th {
	padding: 13px 18px;
	color: var(--ssf-color-muted);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

body.ssf-commerce-shell .wc-block-cart-items td {
	padding: 20px 18px;
	vertical-align: top;
}

body.ssf-commerce-shell .wc-block-cart-item__image img {
	display: block;
	width: min(112px, 100%);
	border: 1px solid var(--ssf-color-border);
	border-radius: var(--ssf-radius-medium);
	background: var(--ssf-color-background-soft);
	object-fit: contain;
}

body.ssf-commerce-shell .wc-block-cart-item__product :is(
	.wc-block-components-product-name,
	.wc-block-cart-item__product-title
),
body.ssf-commerce-shell .wc-block-cart-item__product a {
	color: var(--ssf-color-text);
	font-size: 16px;
	font-weight: 800;
	line-height: 1.3;
	text-decoration: none;
}

body.ssf-commerce-shell .wc-block-cart-item__product a:hover,
body.ssf-commerce-shell .wc-block-cart-item__product a:focus-visible {
	color: var(--ssf-color-primary);
}

body.ssf-commerce-shell :is(
	.wc-block-cart-item__prices,
	.wc-block-components-product-price,
	.wc-block-cart-item__total
) {
	color: var(--ssf-color-text);
	font-size: 15px;
	font-weight: 800;
}

body.ssf-commerce-shell .wc-block-components-product-metadata {
	margin-top: 8px;
	color: var(--ssf-color-muted);
	font-size: 12px;
	line-height: 1.5;
}

body.ssf-commerce-shell .wc-block-components-quantity-selector {
	display: inline-flex;
	min-height: 42px;
	margin-top: 14px;
	border: 1px solid var(--ssf-color-border-dark);
	border-radius: var(--ssf-radius-small);
	background: var(--ssf-color-white);
}

body.ssf-commerce-shell .wc-block-components-quantity-selector :is(button, input) {
	min-height: 40px;
	border: 0;
	background: transparent;
	color: var(--ssf-color-text);
	font-family: var(--ssf-font-family);
	font-size: 14px;
	font-weight: 800;
	box-shadow: none;
}

body.ssf-commerce-shell .wc-block-components-quantity-selector button:hover,
body.ssf-commerce-shell .wc-block-components-quantity-selector button:focus-visible {
	background: var(--ssf-color-background-soft);
	color: var(--ssf-color-primary);
	outline: 0;
}

body.ssf-commerce-shell .wc-block-cart-item__remove-link {
	margin-top: 10px;
	color: var(--ssf-color-muted);
	font-size: 12px;
	font-weight: 700;
	text-underline-offset: 0.16em;
}

body.ssf-commerce-shell .wc-block-cart-item__remove-link:hover,
body.ssf-commerce-shell .wc-block-cart-item__remove-link:focus-visible {
	color: var(--ssf-color-primary);
}

/* =========================================================
   ORDER SUMMARY
   ========================================================= */

body.ssf-commerce-shell :is(
	.wp-block-woocommerce-cart-order-summary-block,
	.wp-block-woocommerce-checkout-order-summary-block,
	.cart-collaterals .cart_totals,
	.woocommerce-checkout-review-order
) {
	overflow: hidden;
	border: 1px solid var(--ssf-color-border);
	border-radius: 12px;
	background: var(--ssf-color-white);
	box-shadow: 0 4px 22px rgba(17, 17, 17, 0.07);
}

body.ssf-commerce-shell :is(
	.wc-block-cart__totals-title,
	.wc-block-components-checkout-order-summary__title,
	.cart-collaterals .cart_totals h2,
	.woocommerce-checkout-review-order-table thead th
) {
	margin: 0;
	padding: 20px 22px;
	border-bottom: 1px solid var(--ssf-color-border);
	color: var(--ssf-color-text);
	font-size: 18px;
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: -0.015em;
}

body.ssf-commerce-shell :is(
	.wp-block-woocommerce-cart-order-summary-block,
	.wp-block-woocommerce-checkout-order-summary-block
) .wc-block-components-totals-wrapper {
	margin: 0;
	padding: 0 22px;
	border-bottom: 1px solid var(--ssf-color-border);
}

body.ssf-commerce-shell .wc-block-components-totals-item {
	padding: 13px 0;
	color: var(--ssf-color-muted);
	font-size: 14px;
	font-weight: 650;
}

body.ssf-commerce-shell .wc-block-components-totals-item__value,
body.ssf-commerce-shell .wc-block-components-totals-item__label {
	color: inherit;
}

body.ssf-commerce-shell .wc-block-components-totals-footer-item {
	padding: 18px 0 20px;
	color: var(--ssf-color-text);
	font-size: 18px;
	font-weight: 800;
}

body.ssf-commerce-shell .wc-block-components-totals-footer-item .wc-block-formatted-money-amount {
	color: var(--ssf-color-primary);
	font-size: 20px;
}

body.ssf-commerce-shell .wc-block-components-panel__button {
	width: 100%;
	padding: 16px 0;
	color: var(--ssf-color-text);
	font-family: var(--ssf-font-family);
	font-size: 13px;
	font-weight: 800;
}

body.ssf-commerce-shell .wc-block-components-panel__button:hover,
body.ssf-commerce-shell .wc-block-components-panel__button:focus-visible {
	color: var(--ssf-color-primary);
}

body.ssf-commerce-shell .wc-block-components-totals-coupon-link,
body.ssf-commerce-shell .wc-block-components-totals-coupon__button {
	color: var(--ssf-color-primary);
	font-size: 13px;
	font-weight: 800;
}

body.ssf-commerce-shell .wc-block-cart__submit {
	margin-top: 18px;
}

body.ssf-commerce-shell .wc-block-cart__submit-button,
body.ssf-commerce-shell .wc-block-components-checkout-place-order-button {
	width: 100%;
	min-height: 56px;
	border-radius: var(--ssf-radius-small);
	font-size: 14px;
}

body.ssf-commerce-shell .wc-block-cart__payment-options {
	margin-top: 14px;
	color: var(--ssf-color-muted);
	font-size: 12px;
	line-height: 1.5;
	text-align: center;
}

/* =========================================================
   CHECKOUT
   ========================================================= */

body.ssf-commerce-shell .wc-block-components-checkout-step,
body.ssf-commerce-shell :is(
	.wp-block-woocommerce-checkout-shipping-method-block,
	.wp-block-woocommerce-checkout-pickup-options-block
) {
	margin: 0 0 var(--ssf-space-4);
	padding: clamp(18px, 2.4vw, 28px);
	border: 1px solid var(--ssf-color-border);
	border-radius: 12px;
	background: var(--ssf-color-white);
	box-shadow: var(--ssf-shadow-small);
}

body.ssf-commerce-shell .wc-block-components-checkout-step__heading-container {
	margin: 0 0 20px;
	padding: 0 0 14px;
	border-bottom: 1px solid var(--ssf-color-border);
}

body.ssf-commerce-shell .wc-block-components-checkout-step__title {
	margin: 0;
	color: var(--ssf-color-text);
	font-family: var(--ssf-font-family);
	font-size: 20px;
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.02em;
}

body.ssf-commerce-shell .wc-block-components-checkout-step__description,
body.ssf-commerce-shell .wc-block-checkout__guest-checkout-notice {
	margin: 7px 0 0;
	color: var(--ssf-color-muted);
	font-size: 13px;
	line-height: 1.55;
}

body.ssf-commerce-shell .wc-block-checkout__guest-checkout-notice {
	padding: 11px 13px;
	border-left: 3px solid var(--ssf-color-primary);
	background: var(--ssf-color-background-soft);
}

body.ssf-commerce-shell .wc-block-components-address-form {
	row-gap: 16px;
}

body.ssf-commerce-shell .wc-block-components-checkbox {
	align-items: flex-start;
	gap: 10px;
	color: var(--ssf-color-text);
	font-size: 13px;
	line-height: 1.5;
}

body.ssf-commerce-shell .wc-block-components-checkbox input[type="checkbox"] {
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	margin-top: 1px;
	accent-color: var(--ssf-color-primary);
}

body.ssf-commerce-shell .wc-block-checkout__payment-method .wc-block-components-radio-control,
body.ssf-commerce-shell .wc-block-components-radio-control {
	display: grid;
	gap: 10px;
}

body.ssf-commerce-shell .wc-block-components-radio-control__option {
	padding: 14px;
	border: 1px solid var(--ssf-color-border);
	border-radius: var(--ssf-radius-small);
	background: var(--ssf-color-white);
}

body.ssf-commerce-shell .wc-block-components-radio-control__option:has(input:checked) {
	border-color: var(--ssf-color-primary);
	box-shadow: 0 0 0 2px rgba(185, 42, 34, 0.11);
}

body.ssf-commerce-shell .wc-block-checkout__terms {
	margin: 4px 0 20px;
	padding: 16px 0 0;
	border-top: 1px solid var(--ssf-color-border);
}

body.ssf-commerce-shell .wc-block-checkout__actions {
	margin-top: 0;
}

/* =========================================================
   EMPTY CART, ORDER RECEIVED, CLASSIC FALLBACK
   ========================================================= */

body.ssf-commerce-shell .wc-block-cart__empty-cart {
	padding: clamp(28px, 5vw, 60px);
	border: 1px solid var(--ssf-color-border);
	border-radius: 12px;
	background: var(--ssf-color-background-soft);
	text-align: center;
}

body.ssf-commerce-shell .wc-block-cart__empty-cart .wc-block-cart__empty-cart__title {
	margin: 0 0 12px;
	color: var(--ssf-color-text);
	font-size: clamp(24px, 3vw, 32px);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.03em;
}

body.ssf-commerce-shell .wc-block-cart__empty-cart .wc-block-grid {
	margin-top: clamp(40px, 6vw, 72px);
}

body.ssf-commerce-shell :is(
	.wc-block-order-confirmation,
	.woocommerce-order
) {
	padding: clamp(24px, 5vw, 52px);
	border: 1px solid var(--ssf-color-border);
	border-radius: 12px;
	background: var(--ssf-color-white);
	box-shadow: 0 4px 22px rgba(17, 17, 17, 0.07);
}

body.ssf-commerce-shell :is(
	.wc-block-order-confirmation-status,
	.woocommerce-thankyou-order-received
) {
	margin: 0 0 24px;
	color: var(--ssf-color-text);
	font-size: clamp(24px, 3vw, 34px);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.03em;
}

body.ssf-commerce-shell .woocommerce-order-overview {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1px;
	margin: 0 0 24px;
	padding: 1px;
	border: 1px solid var(--ssf-color-border);
	border-radius: var(--ssf-radius-small);
	background: var(--ssf-color-border);
	list-style: none;
}

body.ssf-commerce-shell .woocommerce-order-overview li {
	margin: 0;
	padding: 14px;
	background: var(--ssf-color-white);
	color: var(--ssf-color-muted);
	font-size: 11px;
	font-weight: 800;
	line-height: 1.35;
	text-transform: uppercase;
}

body.ssf-commerce-shell .woocommerce-order-overview li strong {
	display: block;
	margin-top: 5px;
	color: var(--ssf-color-text);
	font-size: 14px;
	text-transform: none;
}

body.ssf-commerce-shell :is(
	.woocommerce table.shop_table,
	.woocommerce-checkout-review-order-table
) {
	border: 1px solid var(--ssf-color-border);
	border-radius: var(--ssf-radius-small);
	border-collapse: separate;
	border-spacing: 0;
	overflow: hidden;
}

body.ssf-commerce-shell :is(
	.woocommerce table.shop_table th,
	.woocommerce table.shop_table td,
	.woocommerce-checkout-review-order-table th,
	.woocommerce-checkout-review-order-table td
) {
	padding: 14px;
	border-color: var(--ssf-color-border);
}

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

@media (max-width: 900px) {
	body.ssf-commerce-shell.woocommerce-cart .wc-block-components-sidebar-layout {
		display: block;
	}

	body.ssf-commerce-shell.woocommerce-cart .wc-block-cart__sidebar {
		position: static;
		margin-top: 20px;
	}
}

@media (max-width: 780px) {
	body.ssf-commerce-shell.woocommerce-cart .entry-hero,
	body.ssf-commerce-shell.woocommerce-checkout .entry-hero {
		padding-top: 30px;
	}

	body.ssf-commerce-shell.woocommerce-cart .entry-hero .hero-container,
	body.ssf-commerce-shell.woocommerce-checkout .entry-hero .hero-container,
	body.ssf-commerce-shell.woocommerce-cart .content-container.site-container,
	body.ssf-commerce-shell.woocommerce-checkout .content-container.site-container {
		width: min(100% - 28px, 1220px);
	}

	body.ssf-commerce-shell.woocommerce-cart .content-container.site-container,
	body.ssf-commerce-shell.woocommerce-checkout .content-container.site-container {
		padding-top: 22px;
		padding-bottom: 58px;
	}

	body.ssf-commerce-shell .wc-block-components-sidebar-layout {
		gap: 20px;
	}

	body.ssf-commerce-shell .wc-block-cart-items {
		border-radius: var(--ssf-radius-medium);
	}

	body.ssf-commerce-shell .wc-block-cart-items th {
		padding: 11px 12px;
	}

	body.ssf-commerce-shell .wc-block-cart-items td {
		padding: 14px 12px;
	}

	body.ssf-commerce-shell .wc-block-cart-item__image img {
		width: 78px;
	}

	body.ssf-commerce-shell :is(
		.wp-block-woocommerce-cart-order-summary-block,
		.wp-block-woocommerce-checkout-order-summary-block
	) .wc-block-components-totals-wrapper,
	body.ssf-commerce-shell :is(
		.wc-block-cart__totals-title,
		.wc-block-components-checkout-order-summary__title
	) {
		padding-right: 16px;
		padding-left: 16px;
	}

	body.ssf-commerce-shell .wc-block-components-checkout-step,
	body.ssf-commerce-shell :is(
		.wp-block-woocommerce-checkout-shipping-method-block,
		.wp-block-woocommerce-checkout-pickup-options-block
	) {
		padding: 18px;
	}

	body.ssf-commerce-shell .woocommerce-order-overview {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 480px) {
	body.ssf-commerce-shell.woocommerce-cart .entry-hero .entry-title,
	body.ssf-commerce-shell.woocommerce-checkout .entry-hero .entry-title {
		font-size: 32px;
	}

	body.ssf-commerce-shell .wc-block-components-checkout-step__title {
		font-size: 18px;
	}

	body.ssf-commerce-shell .wc-block-cart-item__product :is(
		.wc-block-components-product-name,
		.wc-block-cart-item__product-title
	),
	body.ssf-commerce-shell .wc-block-cart-item__product a {
		font-size: 14px;
	}

	body.ssf-commerce-shell .wc-block-cart__submit-button,
	body.ssf-commerce-shell .wc-block-components-checkout-place-order-button {
		min-height: 54px;
	}

	body.ssf-commerce-shell .woocommerce-order-overview {
		grid-template-columns: 1fr;
	}
}

@media (prefers-reduced-motion: reduce) {
	body.ssf-commerce-shell :is(
		.wc-block-components-button:not(.is-link),
		.fs-free-shipping-notice-and-button-wrapper a.flexible-shipping-free-shipping-button,
		.wp-block-woocommerce-cart .wp-element-button,
		.wp-block-woocommerce-checkout .wp-element-button,
		.woocommerce a.button,
		.woocommerce button.button,
		.woocommerce input.button,
		.woocommerce input[type="submit"]
	) {
		transition: none;
	}

	body.ssf-commerce-shell :is(
		.wc-block-components-button:not(.is-link),
		.fs-free-shipping-notice-and-button-wrapper a.flexible-shipping-free-shipping-button,
		.wp-block-woocommerce-cart .wp-element-button,
		.wp-block-woocommerce-checkout .wp-element-button,
		.woocommerce a.button,
		.woocommerce button.button,
		.woocommerce input.button,
		.woocommerce input[type="submit"]
	):hover,
	body.ssf-commerce-shell :is(
		.wc-block-components-button:not(.is-link),
		.fs-free-shipping-notice-and-button-wrapper a.flexible-shipping-free-shipping-button,
		.wp-block-woocommerce-cart .wp-element-button,
		.wp-block-woocommerce-checkout .wp-element-button,
		.woocommerce a.button,
		.woocommerce button.button,
		.woocommerce input.button,
		.woocommerce input[type="submit"]
	):focus-visible {
		transform: none;
	}
}

/* =========================================================
   FINAL QA — COMPACT PURCHASE FLOW
   ========================================================= */

body.ssf-commerce-shell.woocommerce-cart .entry-hero,
body.ssf-commerce-shell.woocommerce-checkout .entry-hero {
	padding-top: clamp(26px, 3vw, 38px);
}

body.ssf-commerce-shell.woocommerce-cart .entry-hero .entry-title,
body.ssf-commerce-shell.woocommerce-checkout .entry-hero .entry-title {
	font-size: clamp(30px, 3.2vw, 42px);
}

body.ssf-commerce-shell.woocommerce-cart .content-container.site-container,
body.ssf-commerce-shell.woocommerce-checkout .content-container.site-container {
	padding-top: clamp(18px, 2.4vw, 28px);
}

/* Cart: product, totals and recommended product stay compact at desktop. */
body.ssf-commerce-shell.woocommerce-cart .wc-block-components-sidebar-layout {
	grid-template-columns: minmax(0, 1fr) minmax(320px, 360px);
	gap: clamp(24px, 3vw, 36px);
}

body.ssf-commerce-shell.woocommerce-cart .wc-block-cart__sidebar {
	padding: 0;
}

body.ssf-commerce-shell .wc-block-cart-items {
	border-radius: 10px;
}

body.ssf-commerce-shell .wc-block-cart-items th {
	padding: 10px 14px;
	font-size: 10px;
}

body.ssf-commerce-shell .wc-block-cart-items td {
	padding: 14px;
}

body.ssf-commerce-shell .wc-block-cart-item__image img {
	width: min(76px, 100%);
	border-radius: 8px;
}

body.ssf-commerce-shell .wc-block-cart-item__product :is(
	.wc-block-components-product-name,
	.wc-block-cart-item__product-title
),
body.ssf-commerce-shell .wc-block-cart-item__product a {
	font-size: 15px;
	line-height: 1.25;
}

body.ssf-commerce-shell :is(
	.wc-block-cart-item__prices,
	.wc-block-components-product-price,
	.wc-block-cart-item__total
) {
	font-size: 14px;
}

body.ssf-commerce-shell .wc-block-components-product-metadata {
	margin-top: 6px;
	font-size: 11px;
	line-height: 1.4;
}

body.ssf-commerce-shell .wc-block-components-quantity-selector {
	min-height: 38px;
	margin-top: 10px;
}

body.ssf-commerce-shell .wc-block-components-quantity-selector :is(button, input) {
	min-height: 36px;
	font-size: 13px;
}

body.ssf-commerce-shell .wc-block-cart-item__remove-link {
	margin-top: 6px;
}

/* Shared totals card scale. */
body.ssf-commerce-shell :is(
	.wp-block-woocommerce-cart-order-summary-block,
	.wp-block-woocommerce-checkout-order-summary-block,
	.cart-collaterals .cart_totals,
	.woocommerce-checkout-review-order
) {
	border-radius: 10px;
	box-shadow: 0 3px 16px rgba(17, 17, 17, 0.06);
}

body.ssf-commerce-shell :is(
	.wc-block-cart__totals-title,
	.wc-block-components-checkout-order-summary__title,
	.cart-collaterals .cart_totals h2,
	.woocommerce-checkout-review-order-table thead th
) {
	padding: 16px 18px;
	font-size: 16px;
}

body.ssf-commerce-shell :is(
	.wp-block-woocommerce-cart-order-summary-block,
	.wp-block-woocommerce-checkout-order-summary-block
) .wc-block-components-totals-wrapper {
	padding: 0 18px;
}

body.ssf-commerce-shell .wc-block-components-totals-item {
	padding: 10px 0;
	font-size: 13px;
}

body.ssf-commerce-shell .wc-block-components-totals-footer-item {
	padding: 14px 0 16px;
	font-size: 16px;
}

body.ssf-commerce-shell .wc-block-components-totals-footer-item .wc-block-formatted-money-amount {
	font-size: 18px;
}

body.ssf-commerce-shell .wc-block-components-panel__button {
	padding: 12px 0;
	font-size: 12px;
}

body.ssf-commerce-shell .wc-block-cart__submit {
	margin-top: 12px;
}

body.ssf-commerce-shell .wc-block-cart__submit-button,
body.ssf-commerce-shell .wc-block-components-checkout-place-order-button {
	min-height: 48px;
	font-size: 13px;
}

/* Native Woo cross-sells move under the order totals and become immediately visible. */
body.ssf-commerce-shell.woocommerce-cart .ssf-cart-cross-sells {
	margin-top: 18px;
	padding: 16px;
	border: 1px solid var(--ssf-color-border);
	border-radius: 10px;
	background: var(--ssf-color-background-soft);
}

body.ssf-commerce-shell.woocommerce-cart .ssf-cart-cross-sells :is(
	.wc-block-cart-cross-sells-block__title,
	h2
) {
	margin: 0 0 12px;
	color: var(--ssf-color-text);
	font-size: 15px;
	font-weight: 800;
	line-height: 1.25;
	letter-spacing: -0.015em;
}

body.ssf-commerce-shell.woocommerce-cart .ssf-cart-cross-sells .wc-block-grid__products {
	display: block;
	margin: 0;
}

body.ssf-commerce-shell.woocommerce-cart .ssf-cart-cross-sells .wc-block-grid__product {
	display: grid;
	grid-template-columns: 72px minmax(0, 1fr);
	gap: 8px 12px;
	width: 100%;
	margin: 0;
	padding: 0;
	text-align: left;
}

body.ssf-commerce-shell.woocommerce-cart .ssf-cart-cross-sells .wc-block-grid__product-image {
	grid-row: 1 / span 3;
	margin: 0;
}

body.ssf-commerce-shell.woocommerce-cart .ssf-cart-cross-sells .wc-block-grid__product-image img {
	display: block;
	width: 72px;
	height: 72px;
	border: 1px solid var(--ssf-color-border);
	border-radius: 8px;
	object-fit: contain;
}

body.ssf-commerce-shell.woocommerce-cart .ssf-cart-cross-sells :is(
	.wc-block-grid__product-title,
	.wc-block-components-product-name
) {
	margin: 0;
	color: var(--ssf-color-text);
	font-size: 13px;
	font-weight: 800;
	line-height: 1.35;
}

body.ssf-commerce-shell.woocommerce-cart .ssf-cart-cross-sells :is(
	.wc-block-grid__product-price,
	.wc-block-components-product-price
) {
	margin: 0;
	font-size: 13px;
	font-weight: 800;
}

body.ssf-commerce-shell.woocommerce-cart .ssf-cart-cross-sells .wp-block-button {
	margin: 0;
}

body.ssf-commerce-shell.woocommerce-cart .ssf-cart-cross-sells :is(
	.wp-block-button__link,
	.wc-block-components-product-button__button,
	button
) {
	min-height: 36px;
	padding: 8px 10px;
	font-size: 11px;
}

/* Checkout: make the main form and order summary sit side by side again. */
body.ssf-commerce-shell.woocommerce-checkout .wp-block-woocommerce-checkout {
	width: 100%;
	margin: 0;
}

body.ssf-commerce-shell.woocommerce-checkout .wc-block-components-sidebar-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(320px, 360px);
	gap: clamp(24px, 3vw, 36px);
	align-items: start;
}

body.ssf-commerce-shell.woocommerce-checkout :is(
	.wc-block-checkout__main,
	.wc-block-checkout__sidebar
) {
	width: auto;
	min-width: 0;
}

body.ssf-commerce-shell.woocommerce-checkout .wc-block-checkout__sidebar {
	position: sticky;
	top: 24px;
	align-self: start;
}

body.ssf-commerce-shell.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block {
	width: 100%;
	margin: 0;
}

/* Woo outputs these wrappers empty when no delivery option is available. */
body.ssf-commerce-shell.woocommerce-checkout :is(
	.wp-block-woocommerce-checkout-shipping-method-block,
	.wp-block-woocommerce-checkout-pickup-options-block
):not(:has(input, label, .wc-block-components-radio-control)) {
	display: none;
}

body.ssf-commerce-shell.woocommerce-checkout .wc-block-components-checkout-step {
	margin-bottom: 14px;
	padding: clamp(16px, 1.8vw, 20px);
	border-radius: 10px;
}

body.ssf-commerce-shell.woocommerce-checkout :is(
	.wp-block-woocommerce-checkout-shipping-method-block,
	.wp-block-woocommerce-checkout-pickup-options-block
) {
	margin-bottom: 14px;
	padding: 16px 20px;
	border-radius: 10px;
}

body.ssf-commerce-shell.woocommerce-checkout .wc-block-components-checkout-step__heading-container {
	margin-bottom: 14px;
	padding-bottom: 10px;
}

body.ssf-commerce-shell.woocommerce-checkout .wc-block-components-checkout-step__title {
	font-size: 17px;
}

body.ssf-commerce-shell.woocommerce-checkout :is(
	.wc-block-components-checkout-step__description,
	.wc-block-checkout__guest-checkout-notice
) {
	margin-top: 5px;
	font-size: 12px;
	line-height: 1.45;
}

body.ssf-commerce-shell.woocommerce-checkout :is(
	.wc-block-components-text-input input,
	.wc-blocks-components-select__select,
	.wc-block-components-combobox .components-combobox-control__input,
	.wc-block-components-textarea
) {
	min-height: 46px;
	font-size: 14px;
}

body.ssf-commerce-shell.woocommerce-checkout .wc-block-components-text-input input,
body.ssf-commerce-shell.woocommerce-checkout .wc-block-components-textarea {
	padding: 16px 12px 6px;
}

body.ssf-commerce-shell.woocommerce-checkout :is(
	.wc-block-components-text-input label,
	.wc-blocks-components-select__label
) {
	font-size: 11px;
}

body.ssf-commerce-shell.woocommerce-checkout .wc-block-components-address-form {
	row-gap: 12px;
}

body.ssf-commerce-shell.woocommerce-checkout .wc-block-components-radio-control {
	gap: 8px;
}

body.ssf-commerce-shell.woocommerce-checkout .wc-block-components-radio-control__option {
	padding: 12px;
}

@media (max-width: 900px) {
	body.ssf-commerce-shell.woocommerce-checkout .wc-block-components-sidebar-layout {
		display: block;
	}

	body.ssf-commerce-shell.woocommerce-checkout .wc-block-checkout__sidebar {
		position: static;
		margin-top: 20px;
	}
}

@media (max-width: 780px) {
	body.ssf-commerce-shell.woocommerce-cart .entry-hero,
	body.ssf-commerce-shell.woocommerce-checkout .entry-hero {
		padding-top: 24px;
	}

	body.ssf-commerce-shell.woocommerce-cart .wc-block-cart-items td {
		padding: 12px;
	}

	body.ssf-commerce-shell.woocommerce-cart .wc-block-cart-item__image img {
		width: 64px;
	}

	body.ssf-commerce-shell.woocommerce-cart .ssf-cart-cross-sells {
		padding: 14px;
	}
}


/* =========================================================
   CART DENSITY AND CROSS-SELL VISIBILITY
   ========================================================= */

/* Keep the cart heading purposeful, without a large blank intro band. */
body.ssf-commerce-shell.woocommerce-cart .entry-hero {
	padding-top: clamp(16px, 2vw, 24px);
}

body.ssf-commerce-shell.woocommerce-cart .entry-hero .entry-title {
	font-size: clamp(28px, 2.7vw, 36px);
	line-height: 1.08;
}

body.ssf-commerce-shell.woocommerce-cart .content-container.site-container {
	padding-top: clamp(14px, 1.8vw, 20px);
}

/* A tighter sidebar gives the cart lines more useful width. */
body.ssf-commerce-shell.woocommerce-cart .wc-block-components-sidebar-layout {
	grid-template-columns: minmax(0, 1fr) minmax(300px, 328px);
	gap: clamp(22px, 2.5vw, 30px);
}

body.ssf-commerce-shell.woocommerce-cart .wc-block-cart__sidebar {
	top: 18px;
}

/* Compact the order summary without reducing its hierarchy or click targets. */
body.ssf-commerce-shell.woocommerce-cart .wp-block-woocommerce-cart-order-summary-block {
	border-radius: 9px;
}

body.ssf-commerce-shell.woocommerce-cart .wc-block-cart__totals-title {
	padding: 14px 16px;
	font-size: 15px;
}

body.ssf-commerce-shell.woocommerce-cart
	.wp-block-woocommerce-cart-order-summary-block
	.wc-block-components-totals-wrapper {
	padding-right: 16px;
	padding-left: 16px;
}

body.ssf-commerce-shell.woocommerce-cart
	.wp-block-woocommerce-cart-order-summary-block
	.wc-block-components-totals-item {
	padding: 8px 0;
	font-size: 12px;
}

body.ssf-commerce-shell.woocommerce-cart
	.wp-block-woocommerce-cart-order-summary-block
	.wc-block-components-totals-footer-item {
	padding: 12px 0 14px;
	font-size: 15px;
}

body.ssf-commerce-shell.woocommerce-cart
	.wp-block-woocommerce-cart-order-summary-block
	.wc-block-components-totals-footer-item
	.wc-block-formatted-money-amount {
	font-size: 17px;
}

body.ssf-commerce-shell.woocommerce-cart
	.wp-block-woocommerce-cart-order-summary-block
	.wc-block-components-panel__button {
	padding: 10px 0;
	font-size: 12px;
}

body.ssf-commerce-shell.woocommerce-cart .wc-block-cart__submit {
	margin-top: 10px;
}

body.ssf-commerce-shell.woocommerce-cart .wc-block-cart__submit-button {
	min-height: 46px;
	font-size: 12px;
}

/*
 * Woo's current Product Collection cross-sell is moved by cart-cross-sells.js.
 * Treat it as a concise complement to the total, not as a product grid at the
 * bottom of the cart.
 */
body.ssf-commerce-shell.woocommerce-cart .ssf-cart-cross-sells {
	margin-top: 12px;
	padding: 14px;
	border: 1px solid var(--ssf-color-border);
	border-radius: 9px;
	background: var(--ssf-color-background-soft);
}

body.ssf-commerce-shell.woocommerce-cart .ssf-cart-cross-sells > h2 {
	margin: 0 0 10px;
	color: var(--ssf-color-text);
	font-size: 14px;
	font-weight: 800;
	line-height: 1.3;
	letter-spacing: -0.01em;
}

body.ssf-commerce-shell.woocommerce-cart .ssf-cart-cross-sells
	.wc-block-product-template {
	display: block;
	margin: 0;
	padding: 0;
	list-style: none;
}

body.ssf-commerce-shell.woocommerce-cart .ssf-cart-cross-sells .wc-block-product {
	display: grid;
	grid-template-columns: 64px minmax(0, 1fr);
	gap: 5px 10px;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
	text-align: left;
}

body.ssf-commerce-shell.woocommerce-cart .ssf-cart-cross-sells
	.wc-block-components-product-image {
	grid-row: 1 / span 3;
	margin: 0;
}

body.ssf-commerce-shell.woocommerce-cart .ssf-cart-cross-sells
	.wc-block-components-product-image img {
	display: block;
	width: 64px;
	height: 64px;
	border: 1px solid var(--ssf-color-border);
	border-radius: 7px;
	object-fit: contain;
}

body.ssf-commerce-shell.woocommerce-cart .ssf-cart-cross-sells
	.wp-block-post-title {
	margin: 0;
	font-size: 13px;
	font-weight: 800;
	line-height: 1.3;
	text-align: left;
}

body.ssf-commerce-shell.woocommerce-cart .ssf-cart-cross-sells
	.wp-block-post-title a {
	color: var(--ssf-color-text);
	text-decoration: none;
}

body.ssf-commerce-shell.woocommerce-cart .ssf-cart-cross-sells
	.wp-block-woocommerce-product-price,
body.ssf-commerce-shell.woocommerce-cart .ssf-cart-cross-sells
	.wc-block-components-product-price {
	margin: 0;
	color: var(--ssf-color-text);
	font-size: 13px;
	font-weight: 800;
	line-height: 1.25;
	text-align: left;
}

body.ssf-commerce-shell.woocommerce-cart .ssf-cart-cross-sells
	.wc-block-components-product-button {
	margin: 1px 0 0;
	text-align: left;
}

body.ssf-commerce-shell.woocommerce-cart .ssf-cart-cross-sells
	.wc-block-components-product-button__button {
	width: auto;
	min-height: 34px;
	padding: 7px 9px;
	font-size: 10px;
}

@media (max-width: 900px) {
	body.ssf-commerce-shell.woocommerce-cart .ssf-cart-cross-sells {
		margin-top: 14px;
	}
}


/* =========================================================
   CART PRICING AND RECOMMENDATIONS
   ========================================================= */

/* Keep the cart heading in proportion with the commerce navigation. */
body.ssf-commerce-shell.woocommerce-cart .entry-hero .entry-title {
	font-size: clamp(26px, 2.2vw, 32px);
	letter-spacing: -0.03em;
}

/* Product names and explanatory lines must stay compact inside a cart row. */
body.ssf-commerce-shell.woocommerce-cart .wc-block-cart-item__product :is(
	h1,
	h2,
	h3,
	h4,
	.wp-block-post-title,
	.wc-block-components-product-name,
	.wc-block-cart-item__product-title
) {
	margin: 0;
	color: var(--ssf-color-text);
	font-family: var(--ssf-font-family);
	font-size: 16px;
	font-weight: 800;
	line-height: 1.32;
	letter-spacing: 0;
}

body.ssf-commerce-shell.woocommerce-cart .wc-block-cart-item__product :is(
	p,
	.wc-block-components-product-metadata,
	.wc-block-cart-item__product-description
) {
	max-width: 58ch;
	font-size: 13px;
	line-height: 1.45;
}

/*
 * WooCommerce supplies <del> and <ins> only for genuine sale prices.
 * No list price is invented for products that are not discounted.
 */
body.ssf-commerce-shell.woocommerce-cart .wc-block-cart-item__prices .wc-block-components-product-price,
body.ssf-commerce-shell.woocommerce-cart .wc-block-cart-item__prices .price {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 5px 8px;
}

body.ssf-commerce-shell.woocommerce-cart .wc-block-cart-item__prices del {
	color: var(--ssf-color-muted);
	font-size: 13px;
	font-weight: 650;
	text-decoration-thickness: 1px;
}

body.ssf-commerce-shell.woocommerce-cart .wc-block-cart-item__prices ins {
	color: var(--ssf-color-primary);
	font-size: 16px;
	font-weight: 850;
	text-decoration: none;
}

/* Native Woo cross-sells belong after the cart lines, not beneath the checkout CTA. */
body.ssf-commerce-shell.woocommerce-cart .ssf-cart-cross-sells {
	margin: 28px 0 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
}

body.ssf-commerce-shell.woocommerce-cart .ssf-cart-cross-sells > h2,
body.ssf-commerce-shell.woocommerce-cart .ssf-cart-cross-sells .wc-block-cart-cross-sells-block__title {
	margin: 0 0 14px;
	color: var(--ssf-color-text);
	font-size: 20px;
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: -0.02em;
}

body.ssf-commerce-shell.woocommerce-cart .ssf-cart-cross-sells .wc-block-product-template {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

body.ssf-commerce-shell.woocommerce-cart .ssf-cart-cross-sells .wc-block-product {
	display: grid;
	grid-template-columns: 88px minmax(0, 1fr);
	grid-template-rows: auto auto 1fr;
	gap: 5px 12px;
	margin: 0;
	padding: 14px;
	border: 1px solid var(--ssf-color-border);
	border-radius: 10px;
	background: var(--ssf-color-white);
	box-shadow: var(--ssf-shadow-small);
	text-align: left;
}

body.ssf-commerce-shell.woocommerce-cart .ssf-cart-cross-sells .wc-block-components-product-image {
	grid-row: 1 / span 3;
	margin: 0;
}

body.ssf-commerce-shell.woocommerce-cart .ssf-cart-cross-sells .wc-block-components-product-image img {
	display: block;
	width: 88px;
	height: 88px;
	border: 1px solid var(--ssf-color-border);
	border-radius: 8px;
	object-fit: contain;
}

body.ssf-commerce-shell.woocommerce-cart .ssf-cart-cross-sells .wp-block-post-title,
body.ssf-commerce-shell.woocommerce-cart .ssf-cart-cross-sells .wp-block-post-title a {
	margin: 0;
	color: var(--ssf-color-text);
	font-size: 13px;
	font-weight: 800;
	line-height: 1.3;
	text-align: left;
	text-decoration: none;
}

body.ssf-commerce-shell.woocommerce-cart .ssf-cart-cross-sells .wp-block-woocommerce-product-price,
body.ssf-commerce-shell.woocommerce-cart .ssf-cart-cross-sells .wc-block-components-product-price {
	margin: 0;
	color: var(--ssf-color-text);
	font-size: 13px;
	font-weight: 800;
	line-height: 1.25;
	text-align: left;
}

body.ssf-commerce-shell.woocommerce-cart .ssf-cart-cross-sells .wc-block-components-product-button {
	align-self: end;
	margin: 3px 0 0;
	text-align: left;
}

body.ssf-commerce-shell.woocommerce-cart .ssf-cart-cross-sells .wc-block-components-product-button__button {
	width: auto;
	min-height: 34px;
	padding: 7px 9px;
	font-size: 10px;
}

@media (max-width: 900px) {
	body.ssf-commerce-shell.woocommerce-cart .ssf-cart-cross-sells .wc-block-product-template {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 580px) {
	body.ssf-commerce-shell.woocommerce-cart .ssf-cart-cross-sells {
		margin-top: 22px;
	}

	body.ssf-commerce-shell.woocommerce-cart .ssf-cart-cross-sells .wc-block-product-template {
		grid-template-columns: 1fr;
	}
}


/* A lone native recommendation should fill its row instead of leaving empty grid slots. */
@media (min-width: 581px) {
	body.ssf-commerce-shell.woocommerce-cart .ssf-cart-cross-sells .wc-block-product-template:has(
		.wc-block-product:only-child
	) {
		grid-template-columns: 1fr;
	}

	body.ssf-commerce-shell.woocommerce-cart .ssf-cart-cross-sells .wc-block-product:only-child {
		grid-template-columns: 104px minmax(0, 1fr) auto;
		grid-template-rows: auto auto;
		align-items: center;
		min-height: 120px;
		gap: 7px 16px;
		padding: 16px;
	}

	body.ssf-commerce-shell.woocommerce-cart .ssf-cart-cross-sells
		.wc-block-product:only-child
		.wc-block-components-product-image {
		grid-column: 1;
		grid-row: 1 / span 2;
	}

	body.ssf-commerce-shell.woocommerce-cart .ssf-cart-cross-sells
		.wc-block-product:only-child
		.wc-block-components-product-image img {
		width: 96px;
		height: 96px;
	}

	body.ssf-commerce-shell.woocommerce-cart .ssf-cart-cross-sells
		.wc-block-product:only-child
		.wp-block-post-title {
		grid-column: 2;
		grid-row: 1;
		align-self: end;
	}

	body.ssf-commerce-shell.woocommerce-cart .ssf-cart-cross-sells
		.wc-block-product:only-child
		:is(.wp-block-woocommerce-product-price, .wc-block-components-product-price) {
		grid-column: 2;
		grid-row: 2;
		align-self: start;
	}

	body.ssf-commerce-shell.woocommerce-cart .ssf-cart-cross-sells
		.wc-block-product:only-child
		.wc-block-components-product-button {
		grid-column: 3;
		grid-row: 1 / span 2;
		align-self: center;
		margin: 0;
	}
}


/* =========================================================
   LONE CART CROSS-SELL BALANCE
   ========================================================= */

/*
 * A single native cross-sell has generous room. Keep its action compact and
 * on one line, while preserving the larger 44px touch target.
 */
@media (min-width: 581px) {
	body.ssf-commerce-shell.woocommerce-cart .ssf-cart-cross-sells
		.wc-block-product:only-child
		.wc-block-components-product-button {
		justify-self: end;
		align-self: center;
	}

	body.ssf-commerce-shell.woocommerce-cart .ssf-cart-cross-sells
		.wc-block-product:only-child
		.wc-block-components-product-button__button {
		box-sizing: border-box;
		min-width: 168px;
		height: 44px;
		min-height: 44px;
		padding: 0 14px;
		font-size: 11px !important;
		line-height: 1.15;
		white-space: nowrap;
	}
}


/* =========================================================
   CART RECOMMENDATION HIERARCHY
   ========================================================= */

/* The title, current price and selected variation already identify a cart item. */
body.ssf-commerce-shell.woocommerce-cart
	.wc-block-cart-item__product-description,
body.ssf-commerce-shell.woocommerce-cart
	.wc-block-components-product-metadata__description {
	display: none;
}

/* This section is rendered immediately after Woo Blocks cart rows. */
body.ssf-commerce-shell.woocommerce-cart .ssf-cart-recommendations {
	display: none;
	margin: 28px 0 0;
}

body.ssf-commerce-shell.woocommerce-cart .ssf-cart-recommendations.is-placed {
	display: block;
}

body.ssf-commerce-shell.woocommerce-cart .ssf-cart-recommendations__header {
	margin: 0 0 14px;
}

body.ssf-commerce-shell.woocommerce-cart .ssf-cart-recommendations__eyebrow {
	display: block;
	margin-bottom: 4px;
	color: var(--ssf-color-primary);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

body.ssf-commerce-shell.woocommerce-cart .ssf-cart-recommendations__title {
	margin: 0;
	color: var(--ssf-color-text);
	font-family: var(--ssf-font-family);
	font-size: 20px;
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: -0.02em;
}

body.ssf-commerce-shell.woocommerce-cart .ssf-cart-recommendations__grid {
	display: grid;
	grid-template-columns: repeat( 3, minmax( 0, 1fr ) );
	gap: 16px;
}

body.ssf-commerce-shell.woocommerce-cart .ssf-cart-recommendations__card {
	min-width: 0;
	height: 100%;
}

body.ssf-commerce-shell.woocommerce-cart
	.ssf-cart-recommendations__card
	.ssf-product-card__favorite {
	display: none;
}

body.ssf-commerce-shell.woocommerce-cart
	.ssf-cart-recommendations__card
	.ssf-product-card__media {
	height: 190px;
	background: var(--ssf-color-white);
}

body.ssf-commerce-shell.woocommerce-cart
	.ssf-cart-recommendations__card
	.ssf-product-card__image {
	width: auto;
	height: auto;
	max-width: min( 100%, 180px );
	max-height: 164px;
	padding: 0;
}

body.ssf-commerce-shell.woocommerce-cart
	.ssf-cart-recommendations__card
	.ssf-product-card__body {
	gap: 8px;
	padding: 12px 14px 14px;
}

body.ssf-commerce-shell.woocommerce-cart
	.ssf-cart-recommendations__card
	.ssf-product-card__title {
	min-height: 40px;
	font-size: 16px;
	line-height: 1.25;
}

body.ssf-commerce-shell.woocommerce-cart
	.ssf-cart-recommendations__card
	.ssf-product-card__price-row {
	min-height: 24px;
	padding-top: 0;
}

body.ssf-commerce-shell.woocommerce-cart
	.ssf-cart-recommendations__card
	.ssf-product-card__price {
	font-size: 18px;
}

body.ssf-commerce-shell.woocommerce-cart
	.ssf-cart-recommendations__card
	.ssf-product-card__footer {
	margin-top: 2px;
	padding-top: 0;
}

body.ssf-commerce-shell.woocommerce-cart
	.ssf-cart-recommendations__card
	.ssf-button {
	--ssf-button-height: 40px;
	--ssf-button-padding-y: 9px;
	--ssf-button-font-size: 14px;
}

/* Native WooCommerce cross-sells are an optional final action in the sidebar. */
body.ssf-commerce-shell.woocommerce-cart
	.wc-block-cart__sidebar
	.ssf-cart-cross-sells--sidebar {
	margin: 14px 0 0;
	padding: 14px;
	border: 1px solid var(--ssf-color-border);
	border-radius: 10px;
	background: var(--ssf-color-background-soft);
	box-shadow: none;
}

body.ssf-commerce-shell.woocommerce-cart
	.wc-block-cart__sidebar
	.ssf-cart-cross-sells--sidebar
	> h2,
body.ssf-commerce-shell.woocommerce-cart
	.wc-block-cart__sidebar
	.ssf-cart-cross-sells--sidebar
	.wc-block-cart-cross-sells-block__title {
	margin: 0 0 10px;
	font-size: 14px;
	font-weight: 800;
	line-height: 1.3;
	letter-spacing: -0.01em;
}

body.ssf-commerce-shell.woocommerce-cart
	.wc-block-cart__sidebar
	.ssf-cart-cross-sells--sidebar
	.wc-block-product-template {
	display: grid;
	grid-template-columns: 1fr;
	gap: 10px;
	margin: 0;
	padding: 0;
}

body.ssf-commerce-shell.woocommerce-cart
	.wc-block-cart__sidebar
	.ssf-cart-cross-sells--sidebar
	.wc-block-product,
body.ssf-commerce-shell.woocommerce-cart
	.wc-block-cart__sidebar
	.ssf-cart-cross-sells--sidebar
	.wc-block-product:only-child {
	display: grid;
	grid-template-columns: 72px minmax( 0, 1fr );
	grid-template-rows: auto auto auto;
	gap: 4px 12px;
	min-height: 0;
	margin: 0;
	padding: 12px;
	border: 1px solid var(--ssf-color-border);
	border-radius: 8px;
	background: var(--ssf-color-white);
	box-shadow: none;
}

body.ssf-commerce-shell.woocommerce-cart
	.wc-block-cart__sidebar
	.ssf-cart-cross-sells--sidebar
	.wc-block-components-product-image,
body.ssf-commerce-shell.woocommerce-cart
	.wc-block-cart__sidebar
	.ssf-cart-cross-sells--sidebar
	.wc-block-product:only-child
	.wc-block-components-product-image {
	grid-column: 1;
	grid-row: 1 / span 2;
	margin: 0;
}

body.ssf-commerce-shell.woocommerce-cart
	.wc-block-cart__sidebar
	.ssf-cart-cross-sells--sidebar
	.wc-block-components-product-image img,
body.ssf-commerce-shell.woocommerce-cart
	.wc-block-cart__sidebar
	.ssf-cart-cross-sells--sidebar
	.wc-block-product:only-child
	.wc-block-components-product-image img {
	width: 72px;
	height: 72px;
	border-radius: 7px;
}

body.ssf-commerce-shell.woocommerce-cart
	.wc-block-cart__sidebar
	.ssf-cart-cross-sells--sidebar
	.wp-block-post-title,
body.ssf-commerce-shell.woocommerce-cart
	.wc-block-cart__sidebar
	.ssf-cart-cross-sells--sidebar
	.wc-block-product:only-child
	.wp-block-post-title {
	grid-column: 2;
	grid-row: 1;
	align-self: end;
	margin: 0;
	font-size: 13px;
	line-height: 1.3;
}

body.ssf-commerce-shell.woocommerce-cart
	.wc-block-cart__sidebar
	.ssf-cart-cross-sells--sidebar
	:is( .wp-block-woocommerce-product-price, .wc-block-components-product-price ),
body.ssf-commerce-shell.woocommerce-cart
	.wc-block-cart__sidebar
	.ssf-cart-cross-sells--sidebar
	.wc-block-product:only-child
	:is( .wp-block-woocommerce-product-price, .wc-block-components-product-price ) {
	grid-column: 2;
	grid-row: 2;
	align-self: start;
	margin: 0;
	font-size: 13px;
}

body.ssf-commerce-shell.woocommerce-cart
	.wc-block-cart__sidebar
	.ssf-cart-cross-sells--sidebar
	.wc-block-components-product-button,
body.ssf-commerce-shell.woocommerce-cart
	.wc-block-cart__sidebar
	.ssf-cart-cross-sells--sidebar
	.wc-block-product:only-child
	.wc-block-components-product-button {
	grid-column: 1 / -1;
	grid-row: 3;
	justify-self: stretch;
	align-self: end;
	margin: 8px 0 0;
	text-align: left;
}

body.ssf-commerce-shell.woocommerce-cart
	.wc-block-cart__sidebar
	.ssf-cart-cross-sells--sidebar
	.wc-block-components-product-button__button,
body.ssf-commerce-shell.woocommerce-cart
	.wc-block-cart__sidebar
	.ssf-cart-cross-sells--sidebar
	.wc-block-product:only-child
	.wc-block-components-product-button__button {
	width: 100%;
	min-width: 0;
	height: 40px;
	min-height: 40px;
	padding: 0 12px;
	font-size: 11px;
	line-height: 1.15;
	white-space: nowrap;
}

@media (max-width: 780px) {
	body.ssf-commerce-shell.woocommerce-cart .ssf-cart-recommendations__grid {
		grid-template-columns: repeat( 2, minmax( 0, 1fr ) );
	}
}

@media (max-width: 560px) {
	body.ssf-commerce-shell.woocommerce-cart .ssf-cart-recommendations {
		margin-top: 22px;
	}

	body.ssf-commerce-shell.woocommerce-cart .ssf-cart-recommendations__grid {
		grid-template-columns: 1fr;
	}

	body.ssf-commerce-shell.woocommerce-cart
		.wc-block-cart__sidebar
		.ssf-cart-cross-sells--sidebar {
		margin-top: 12px;
	}
}


/* =========================================================
   CHECKOUT SUMMARY CLARITY
   ========================================================= */

/* The product title already identifies the item in the checkout summary. */
body.ssf-commerce-shell.woocommerce-checkout .wc-block-components-product-metadata__description {
	display: none;
}

/* Keep the checkout heading as compact as the cart heading. */
body.ssf-commerce-shell.woocommerce-checkout .entry-hero .entry-title {
	font-size: clamp(26px, 2.2vw, 32px);
	line-height: 1.08;
}


/* =========================================================
   PAYMENT LABELS AND LOYALTY SPACING
   ========================================================= */

/* Woo Blocks positions the radio absolutely, so its column needs reserved space. */
body.ssf-commerce-shell.woocommerce-checkout
	.wc-block-checkout__payment-method
	.wc-block-components-radio-control__option {
	padding: 14px 16px 14px 52px;
}

body.ssf-commerce-shell.woocommerce-checkout
	.wc-block-checkout__payment-method
	.wc-block-components-radio-control-accordion-content {
	padding: 0 16px 16px 52px;
	line-height: 1.5;
}

/* Keep the credit action below its amount field even in a narrow sidebar. */
body.ssf-commerce-shell.woocommerce-checkout
	.fdl-loyalty-checkout-block > label {
	display: block;
	margin-bottom: 6px;
}

body.ssf-commerce-shell.woocommerce-checkout
	.fdl-loyalty-checkout-block > input {
	display: block;
	box-sizing: border-box;
	max-width: 100%;
}

body.ssf-commerce-shell.woocommerce-checkout
	.fdl-loyalty-checkout-block > .wc-block-components-button {
	display: flex;
	width: fit-content;
	max-width: 100%;
	margin-top: 14px;
}

/* A subtle warm tint distinguishes the earned-points card from the white summary. */
body.ssf-commerce-shell.woocommerce-checkout .fdl-points-preview:not(tr) {
	background: #faf5f2;
	border-color: #e8dcd5;
}

/* Shipping and payment choices reserve the same column for Woo Blocks radios. */
body.ssf-commerce-shell.woocommerce-checkout
	:is(.wc-block-checkout__shipping-option, .wc-block-checkout__payment-method)
	.wc-block-components-radio-control__option {
	position: relative;
	min-height: 52px;
	padding: 16px 16px 16px 52px;
	line-height: 1.4;
}

body.ssf-commerce-shell.woocommerce-checkout
	:is(.wc-block-checkout__shipping-option, .wc-block-checkout__payment-method)
	.wc-block-components-radio-control__input {
	top: 18px;
	left: 16px;
	width: 20px;
	height: 20px;
	min-height: 20px;
	margin: 0;
	transform: none;
}

body.ssf-commerce-shell.woocommerce-checkout
	:is(.wc-block-checkout__shipping-option, .wc-block-checkout__payment-method)
	.wc-block-components-radio-control__option-layout {
	min-width: 0;
}

body.ssf-commerce-shell.woocommerce-checkout
	.wc-block-checkout__shipping-option
	.wc-block-components-radio-control__label-group {
	align-items: baseline;
	gap: 8px 16px;
	flex-wrap: wrap;
}

body.ssf-commerce-shell.woocommerce-checkout
	.wc-block-checkout__shipping-option
	.wc-block-components-radio-control__label {
	min-width: 0;
	overflow-wrap: anywhere;
}

body.ssf-commerce-shell.woocommerce-checkout
	.wc-block-checkout__shipping-option
	.wc-block-components-radio-control__secondary-label {
	margin-left: auto;
	white-space: nowrap;
}

/* One payment card encloses the label and its expanded description. */
body.ssf-commerce-shell.woocommerce-checkout
	.wc-block-checkout__payment-method
	.wc-block-components-radio-control-accordion-option {
	border: 1px solid var(--ssf-color-border);
	border-radius: var(--ssf-radius-small);
	background: var(--ssf-color-white);
	box-shadow: none;
}

body.ssf-commerce-shell.woocommerce-checkout
	.wc-block-checkout__payment-method
	.wc-block-components-radio-control-accordion-option:has(input:checked) {
	border-color: var(--ssf-color-primary);
	background: #fff8f7;
	box-shadow: 0 0 0 2px rgba(185, 42, 34, 0.11);
}

body.ssf-commerce-shell.woocommerce-checkout
	.wc-block-checkout__payment-method
	.wc-block-components-radio-control-accordion-option
	.wc-block-components-radio-control__option {
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}

body.ssf-commerce-shell.woocommerce-checkout
	.wc-block-checkout__payment-method
	.wc-block-components-radio-control-accordion-content {
	padding: 0 16px 16px 52px;
	color: var(--ssf-color-muted);
	font-size: 13px;
	line-height: 1.5;
	overflow-wrap: anywhere;
}

/* Disable the native connected-row outline; each choice has its own card. */
body.ssf-commerce-shell.woocommerce-checkout
	:is(.wc-block-checkout__shipping-option, .wc-block-checkout__payment-method)
	.wc-block-components-radio-control::after,
body.ssf-commerce-shell.woocommerce-checkout
	.wc-block-checkout__payment-method
	.wc-block-components-radio-control-accordion-option::after {
	display: none;
}


/* Match the shipping CTA to the checkout button, including notice link overrides. */
body.ssf-commerce-shell .fs-free-shipping-notice-and-button-wrapper {
	gap: 16px;
}

body.ssf-commerce-shell .fs-free-shipping-notice-and-button-wrapper
	a.flexible-shipping-free-shipping-button {
	margin: 0;
}

@media (max-width: 600px) {
	body.ssf-commerce-shell .fs-free-shipping-notice-continue-shopping-button-wrapper,
	body.ssf-commerce-shell .fs-free-shipping-notice-and-button-wrapper
		a.flexible-shipping-free-shipping-button {
		width: 100%;
	}
}


@media (max-width: 767px) {
  body.ssf-commerce-shell.woocommerce-cart .ssf-cart-cross-sells { margin: 20px 0; }
  body.ssf-commerce-shell.woocommerce-cart .ssf-cart-recommendations { margin: 28px 0; }
  body.ssf-commerce-shell.woocommerce-cart .ssf-cart-recommendations__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  body.ssf-commerce-shell.woocommerce-cart .ssf-cart-recommendations__card { padding: 12px; min-width: 0; }
  body.ssf-commerce-shell.woocommerce-cart .ssf-cart-recommendations__card h3 { font-size: 14px; }
}

/* Avoid the native cart table's minimum-content overflow on narrow phones. */
@media (max-width: 480px) {
  body.ssf-commerce-shell.woocommerce-cart table.wc-block-cart-items,
  body.ssf-commerce-shell.woocommerce-cart table.wc-block-cart-items tbody { display: block; width: 100%; max-width: 100%; }
  body.ssf-commerce-shell.woocommerce-cart table.wc-block-cart-items thead { display: none; }
  body.ssf-commerce-shell.woocommerce-cart table.wc-block-cart-items tr.wc-block-cart-items__row { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 8px 12px; width: 100%; padding: 14px; }
  body.ssf-commerce-shell.woocommerce-cart table.wc-block-cart-items tr.wc-block-cart-items__row > td { width: auto; min-width: 0; padding: 0; }
  body.ssf-commerce-shell.woocommerce-cart .wc-block-cart-item__image { grid-column: 1; grid-row: 1; }
  body.ssf-commerce-shell.woocommerce-cart .wc-block-cart-item__product { grid-column: 2; grid-row: 1; }
  body.ssf-commerce-shell.woocommerce-cart .wc-block-cart-item__total { grid-column: 2; grid-row: 2; text-align: left; }
  body.ssf-commerce-shell.woocommerce-cart .wc-block-cart-item__quantity { flex-wrap: wrap; gap: 8px; }
  body.ssf-commerce-shell.woocommerce-cart .wc-block-components-product-name { overflow-wrap: anywhere; }
}
@media (max-width: 480px) {
  body.ssf-commerce-shell.woocommerce-cart table.wc-block-cart-items tr.wc-block-cart-items__row .wc-block-cart-item__total { position: static; inset: auto; transform: none; justify-self: start; grid-column: 2; grid-row: 2; align-self: start; }
}
@media (max-width: 767px) {
  body.ssf-commerce-shell.woocommerce-cart .ssf-cart-recommendations__card .ssf-product-card__media { height: 150px; }
  body.ssf-commerce-shell.woocommerce-cart .ssf-cart-recommendations__card .ssf-product-card__body { padding: 10px 0 0; }
  body.ssf-commerce-shell.woocommerce-cart .ssf-cart-recommendations__card .ssf-product-card__footer .ssf-button { width: 100%; min-height: 44px; padding: 8px; font-size: 12px; line-height: 1.35; }
}
