/**
 * Snusly cart + checkout.
 * Palette: white surfaces, black type, #8A4381 accent.
 * Loaded only on the cart and checkout pages.
 */

body.woocommerce-cart,
body.woocommerce-checkout,
.wp-block-woocommerce-cart,
.wp-block-woocommerce-checkout {
	--sc-accent: #8A4381;
	--sc-accent-dark: #6d3466;
	--sc-accent-soft: #f6edf4;
	--sc-ink: #000;
	--sc-muted: #6b6b6b;
	--sc-line: #d9d9de;
	--sc-line-soft: #ececef;
	--sc-shade: #f7f7f8;
	background: #fff !important;
	color: var(--sc-ink);
	font-family: "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
}

body.woocommerce-cart .site-main,
body.woocommerce-checkout .site-main,
body.woocommerce-cart .content-area,
body.woocommerce-checkout .content-area {
	background: #fff !important;
}

/* ---------------------------------------------------------------- *
 * Page heading
 * ---------------------------------------------------------------- */

.wp-block-woocommerce-cart h1,
.wp-block-woocommerce-checkout h1,
.woocommerce-cart .entry-title,
.woocommerce-checkout .entry-title,
.woocommerce-cart h1.wp-block-heading,
.woocommerce-checkout h1.wp-block-heading {
	font-size: clamp(28px, 3.4vw, 38px) !important;
	font-weight: 800 !important;
	color: #000 !important;
	letter-spacing: -0.02em !important;
	margin: 8px 0 26px !important;
}

/* ---------------------------------------------------------------- *
 * Free shipping progress (injected on cart + checkout)
 * ---------------------------------------------------------------- */

.sch-co-ship {
	position: relative !important;
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 0 24px !important;
	padding: 15px 18px 16px !important;
	background: linear-gradient(135deg, #fbf3fa 0%, #fff 55%, #fbf3fa 100%) !important;
	border: 1px solid rgba(138, 67, 129, 0.2) !important;
	border-radius: 12px !important;
	box-shadow: 0 2px 14px rgba(138, 67, 129, 0.1) !important;
	box-sizing: border-box !important;
	text-align: center !important;
	overflow: hidden !important;
}

.sch-co-ship__msg {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 9px !important;
	margin: 0 0 12px !important;
	font-size: 14px !important;
	font-weight: 700 !important;
	line-height: 1.35 !important;
	letter-spacing: -0.01em !important;
	color: #000 !important;
}

.sch-co-ship__msg svg {
	flex-shrink: 0 !important;
	box-sizing: content-box !important;
	width: 15px !important;
	height: 15px !important;
	padding: 4px !important;
	border-radius: 50% !important;
	color: #fff !important;
	background: linear-gradient(135deg, var(--sc-accent-dark) 0%, var(--sc-accent) 55%, #c169b4 100%) !important;
	box-shadow: 0 2px 7px rgba(138, 67, 129, 0.42) !important;
}

.sch-co-ship__msg .woocommerce-Price-amount {
	font-weight: 800 !important;
	color: var(--sc-accent) !important;
}

.sch-co-ship__track {
	position: relative !important;
	height: 9px !important;
	border-radius: 999px !important;
	background: #ece7ee !important;
	overflow: hidden !important;
	box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.09) !important;
}

.sch-co-ship__fill {
	position: relative !important;
	display: block !important;
	height: 100% !important;
	overflow: hidden !important;
	border-radius: 999px !important;
	background: linear-gradient(90deg, #4d2247 0%, var(--sc-accent) 45%, #c169b4 100%) !important;
	box-shadow: 0 0 14px rgba(138, 67, 129, 0.6) !important;
	transition: width 0.5s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

/* Light sweep travelling along the filled portion */
.sch-co-ship__fill::after {
	content: "" !important;
	position: absolute !important;
	inset: 0 !important;
	background: linear-gradient(100deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.62) 50%, rgba(255, 255, 255, 0) 100%) !important;
	transform: translateX(-100%);
	animation: sch-co-ship-shine 2.6s ease-in-out infinite;
}

@keyframes sch-co-ship-shine {
	0% {
		transform: translateX(-100%);
	}
	55%,
	100% {
		transform: translateX(100%);
	}
}

/* Unlocked: brighter panel and a slow flowing gradient */
.sch-co-ship.is-complete {
	border-color: rgba(138, 67, 129, 0.35) !important;
	background: linear-gradient(135deg, #f6eaf4 0%, #fff 55%, #f6eaf4 100%) !important;
}

.sch-co-ship.is-complete .sch-co-ship__fill {
	background: linear-gradient(90deg, var(--sc-accent-dark) 0%, #c169b4 25%, var(--sc-accent) 50%, #c169b4 75%, var(--sc-accent-dark) 100%) !important;
	background-size: 200% 100% !important;
	animation: sch-co-ship-flow 3.2s linear infinite;
}

@keyframes sch-co-ship-flow {
	to {
		background-position: -200% 0;
	}
}

/* ---------------------------------------------------------------- *
 * Sidebar / order summary
 * ---------------------------------------------------------------- */

.wc-block-cart__sidebar,
.wc-block-checkout__sidebar,
.wc-block-components-sidebar,
.cart_totals,
.woocommerce-checkout-review-order {
	background: #fafafa !important;
	border: 1px solid var(--sc-line-soft) !important;
	border-radius: 12px !important;
	padding: 22px !important;
	box-sizing: border-box !important;
}

.wc-block-checkout__sidebar .wc-block-components-sidebar,
.wc-block-cart__sidebar .wc-block-components-sidebar {
	background: transparent !important;
	border: 0 !important;
	padding: 0 !important;
}

.wc-block-components-totals-item__label,
.wc-block-cart .wc-block-components-title,
.cart_totals h2,
#order_review_heading {
	font-size: 13px !important;
	font-weight: 600 !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
	color: var(--sc-muted) !important;
}

.wc-block-components-totals-item__value,
.woocommerce-checkout-review-order-table .amount {
	font-weight: 600 !important;
	color: #000 !important;
}

.wc-block-components-totals-footer-item,
.woocommerce-checkout-review-order-table tr.order-total {
	border-top: 1px solid var(--sc-line) !important;
	padding-top: 14px !important;
	margin-top: 6px !important;
}

.wc-block-components-totals-footer-item .wc-block-components-totals-item__label,
.woocommerce-checkout-review-order-table tr.order-total th {
	font-size: 16px !important;
	font-weight: 800 !important;
	color: #000 !important;
	text-transform: none !important;
}

.wc-block-components-totals-footer-item .wc-block-components-totals-item__value,
.order-total .woocommerce-Price-amount {
	font-size: 24px !important;
	font-weight: 800 !important;
	color: #000 !important;
}

.wc-block-components-totals-discount .wc-block-components-totals-item__value,
.wc-block-components-totals-discount__coupon-list {
	color: var(--sc-accent) !important;
	font-weight: 700 !important;
}

/* Order summary line items */
.wc-block-components-order-summary-item__image img,
.wc-block-cart-item__image img,
.woocommerce-cart-form .product-thumbnail img {
	border-radius: 50% !important;
	background: var(--sc-shade) !important;
	border: 1px solid var(--sc-line-soft) !important;
}

.wc-block-components-order-summary-item__quantity {
	background: #000 !important;
	color: #fff !important;
	border: 2px solid #fff !important;
	box-shadow: none !important;
	font-weight: 700 !important;
}

.wc-block-cart-item__product a,
.woocommerce-cart-form .product-name a,
.wc-block-components-product-name {
	color: #000 !important;
	font-weight: 700 !important;
	text-decoration: none !important;
}

.wc-block-cart-item__product a:hover,
.woocommerce-cart-form .product-name a:hover,
a.wc-block-components-product-name:hover {
	color: var(--sc-accent) !important;
}

.wc-block-components-product-price__value,
.wc-block-cart-item__total-price-and-sale-badge-wrapper .wc-block-components-product-price__value {
	font-weight: 700 !important;
	color: #000 !important;
}

.wc-block-components-product-price del,
.wc-block-components-sale-badge {
	color: var(--sc-muted) !important;
}

.wc-block-components-sale-badge {
	background: var(--sc-accent-soft) !important;
	color: var(--sc-accent) !important;
	border-radius: 999px !important;
	font-weight: 700 !important;
}

.wc-block-cart-items__header,
.shop_table.cart thead th {
	font-size: 11px !important;
	font-weight: 700 !important;
	letter-spacing: 0.08em !important;
	text-transform: uppercase !important;
	color: var(--sc-muted) !important;
	border-bottom: 1px solid var(--sc-line-soft) !important;
}

/* ---------------------------------------------------------------- *
 * Section headings + steps
 * ---------------------------------------------------------------- */

.wc-block-components-checkout-step__title,
.wc-block-components-title.wc-block-components-title,
.woocommerce-billing-fields h3,
.woocommerce-shipping-fields h3,
.woocommerce-additional-fields h3 {
	font-size: 18px !important;
	font-weight: 800 !important;
	color: #000 !important;
	letter-spacing: -0.01em !important;
}

.wc-block-components-checkout-step {
	border-bottom: 0 !important;
	padding-bottom: 8px !important;
}

.wc-block-components-checkout-step__heading {
	margin-bottom: 12px !important;
}

.wc-block-components-checkout-step__description,
.wc-block-components-checkout-step__heading-content {
	color: var(--sc-muted) !important;
	font-size: 13.5px !important;
}

.wc-block-components-checkout-step__heading-content a,
.wc-block-components-checkout-step__description a {
	color: #000 !important;
	font-weight: 600 !important;
	text-decoration: underline !important;
	text-underline-offset: 3px !important;
}

.wc-block-components-checkout-step__heading-content a:hover,
.wc-block-components-checkout-step__description a:hover {
	color: var(--sc-accent) !important;
}

/* ---------------------------------------------------------------- *
 * Express checkout block
 * ---------------------------------------------------------------- */

.wc-block-components-express-payment,
.wc-block-checkout__express-payment {
	border: 0 !important;
	background: transparent !important;
	padding: 0 !important;
	margin: 0 0 8px !important;
}

.wc-block-components-express-payment__title-container {
	margin-bottom: 12px !important;
}

.wc-block-components-express-payment__title {
	background: #fff !important;
	color: var(--sc-muted) !important;
	font-size: 13px !important;
	font-weight: 600 !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
}

.wc-block-components-express-payment__event-buttons > li {
	border-radius: 8px !important;
	overflow: hidden !important;
}

.wc-block-components-express-payment-continue-rule {
	color: var(--sc-muted) !important;
	font-size: 12px !important;
	font-weight: 700 !important;
	letter-spacing: 0.06em !important;
	text-transform: uppercase !important;
	margin: 16px 0 !important;
}

.wc-block-components-express-payment-continue-rule::before,
.wc-block-components-express-payment-continue-rule::after {
	border-color: var(--sc-line) !important;
	background: var(--sc-line) !important;
}

/* ---------------------------------------------------------------- *
 * Form fields
 * ---------------------------------------------------------------- */

.wc-block-components-text-input input,
.wc-block-components-combobox input,
.wc-block-components-textarea,
.woocommerce-checkout .form-row input.input-text,
.woocommerce-checkout .form-row textarea,
.woocommerce-checkout .form-row select,
.select2-container .select2-selection--single {
	background: #fff !important;
	border: 1px solid var(--sc-line) !important;
	border-radius: 8px !important;
	min-height: 50px !important;
	font-size: 15px !important;
	color: #000 !important;
	box-shadow: none !important;
}

.wc-block-components-text-input input:focus,
.wc-block-components-combobox input:focus,
.wc-block-components-textarea:focus,
.woocommerce-checkout .form-row input.input-text:focus,
.woocommerce-checkout .form-row textarea:focus,
.woocommerce-checkout .form-row select:focus {
	border-color: var(--sc-accent) !important;
	box-shadow: 0 0 0 3px rgba(138, 67, 129, 0.18) !important;
	outline: none !important;
}

.wc-block-components-text-input label,
.wc-block-components-combobox label,
.woocommerce-checkout label {
	color: var(--sc-muted) !important;
}

.wc-block-components-text-input.is-active label,
.wc-block-components-combobox.is-active label {
	color: var(--sc-accent) !important;
}

.wc-block-components-checkbox .wc-block-components-checkbox__label,
.woocommerce-checkout .wc-block-components-checkbox__label {
	color: #000 !important;
}

.wc-block-components-checkbox input[type="checkbox"],
.woocommerce-checkout input[type="checkbox"],
.woocommerce-cart input[type="checkbox"] {
	accent-color: var(--sc-accent) !important;
}

.wc-block-components-checkbox .wc-block-components-checkbox__input:checked,
.wc-block-components-radio-control__input:checked {
	background-color: var(--sc-accent) !important;
	border-color: var(--sc-accent) !important;
}

.wc-block-components-radio-control-accordion-option,
.wc-block-components-radio-control__option {
	border-color: var(--sc-line) !important;
}

.wc-block-components-radio-control-accordion-option:has(.wc-block-components-radio-control__input:checked),
.wc-block-components-radio-control__option--checked-option-highlighted {
	border-color: var(--sc-accent) !important;
	background: var(--sc-accent-soft) !important;
}

.wc-block-components-validation-error {
	color: #b42318 !important;
}

/* Panels: shipping method, payment methods, notices */
.wc-block-components-shipping-rates-control,
.wc-block-components-radio-control,
.wc-block-checkout__payment-method .wc-block-components-radio-control,
.wc-block-components-shipping-rates-control__package {
	border: 1px solid var(--sc-line) !important;
	border-radius: 10px !important;
	overflow: hidden !important;
	background: #fff !important;
}

.wc-block-components-notice-banner {
	border-radius: 10px !important;
	border-color: var(--sc-line) !important;
}

.wc-block-components-notice-banner.is-info {
	background: var(--sc-accent-soft) !important;
	border-color: rgba(138, 67, 129, 0.35) !important;
	color: #000 !important;
}

.wc-block-components-notice-banner.is-info svg {
	fill: var(--sc-accent) !important;
}

/* Coupon / discount code */
.wc-block-components-totals-coupon__form,
.woocommerce-checkout .checkout_coupon .form-row {
	gap: 8px !important;
}

.wc-block-components-totals-coupon__input input {
	background: #fff !important;
	border-radius: 8px !important;
}

.wc-block-components-panel__button {
	color: #000 !important;
	font-weight: 600 !important;
}

/* ---------------------------------------------------------------- *
 * Buttons
 * ---------------------------------------------------------------- */

.wc-block-cart__submit-button,
.wc-block-components-checkout-place-order-button,
.wp-block-woocommerce-cart .wc-block-components-button.contained,
.wp-block-woocommerce-checkout .wc-block-components-button.contained,
.wc-block-components-totals-coupon__button,
.wc-proceed-to-checkout .checkout-button,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
#place_order,
.woocommerce #place_order,
.woocommerce-page #place_order {
	background: var(--sc-accent) !important;
	background-color: var(--sc-accent) !important;
	color: #fff !important;
	border: 1px solid var(--sc-accent) !important;
	border-radius: 8px !important;
	font-weight: 700 !important;
	font-size: 15px !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
	min-height: 52px !important;
	box-shadow: none !important;
	position: relative !important;
	overflow: hidden !important;
	transition: background 0.18s ease, border-color 0.18s ease !important;
}

.wc-block-cart__submit-button,
.wc-block-components-checkout-place-order-button,
.wc-proceed-to-checkout .checkout-button,
#place_order {
	width: 100% !important;
}

/* buttons.css forces black label text on hover, so the hover fill must stay light */
.wc-block-cart__submit-button:hover,
.wc-block-components-checkout-place-order-button:hover,
.wp-block-woocommerce-cart .wc-block-components-button.contained:hover,
.wp-block-woocommerce-checkout .wc-block-components-button.contained:hover,
.wc-block-components-totals-coupon__button:hover,
.wc-proceed-to-checkout .checkout-button:hover,
#place_order:hover,
.woocommerce #place_order:hover {
	background: #fff !important;
	background-color: #fff !important;
	border-color: #000 !important;
}

.wc-block-components-button.outlined,
.woocommerce-cart .wc-block-cart__submit-container .wc-block-components-button.outlined {
	border: 1px solid #000 !important;
	color: #000 !important;
	background: #fff !important;
	border-radius: 8px !important;
}

.wc-block-components-totals-coupon__button {
	min-height: 50px !important;
	font-size: 14px !important;
}

/* Cross-sells / empty cart CTAs */
.woocommerce-cart .cross-sells .button.add_to_cart_button,
.woocommerce-cart .wp-block-button__link,
.wp-block-woocommerce-empty-cart-block .add_to_cart_button {
	background: var(--sc-accent) !important;
	color: #fff !important;
	border: 1px solid var(--sc-accent) !important;
	border-radius: 8px !important;
	font-weight: 700 !important;
}

/* buttons.css turns these labels black on hover, so the hover fill must stay light */
.woocommerce-cart .cross-sells .button.add_to_cart_button:hover,
.woocommerce-cart .wp-block-button__link:hover,
.wp-block-woocommerce-empty-cart-block .add_to_cart_button:hover {
	background: #fff !important;
	border-color: #000 !important;
}

/* Quantity selector */
.wc-block-components-quantity-selector,
.woocommerce-cart-form .quantity {
	border: 1px solid var(--sc-line) !important;
	border-radius: 8px !important;
	background: #fff !important;
	overflow: hidden !important;
}

.wc-block-components-quantity-selector::after {
	display: none !important;
}

.wc-block-components-quantity-selector input,
.woocommerce-cart-form .quantity input.qty {
	border: 0 !important;
	box-shadow: none !important;
	font-weight: 700 !important;
	color: #000 !important;
}

.wc-block-components-quantity-selector__button {
	color: #000 !important;
	font-weight: 700 !important;
}

.wc-block-components-quantity-selector__button:hover {
	background: #000 !important;
	color: #fff !important;
}

.wc-block-cart-item__remove-link,
.woocommerce-cart-form .product-remove a {
	color: var(--sc-muted) !important;
	text-decoration: underline !important;
}

.wc-block-cart-item__remove-link:hover,
.woocommerce-cart-form .product-remove a:hover {
	color: var(--sc-accent) !important;
}

/* Empty cart */
.wc-block-cart__empty-cart,
.cart-empty.woocommerce-info,
.wc-empty-cart-message {
	text-align: center !important;
	color: var(--sc-muted) !important;
	border: 0 !important;
	background: transparent !important;
}

/* ---------------------------------------------------------------- *
 * 18+ verification
 * ---------------------------------------------------------------- */

.sch-age-verify {
	display: block !important;
	margin: 0 0 16px !important;
	padding: 16px 16px 14px !important;
	border: 1px solid rgba(138, 67, 129, 0.3) !important;
	border-radius: 12px !important;
	background: var(--sc-accent-soft) !important;
}

.sch-age-verify__row {
	display: flex !important;
	gap: 12px !important;
	align-items: flex-start !important;
	margin: 0 0 12px !important;
}

.sch-age-verify__badge {
	flex-shrink: 0 !important;
	width: 44px !important;
	height: 44px !important;
	border: 2px solid var(--sc-accent) !important;
	border-radius: 50% !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	font-size: 13px !important;
	font-weight: 800 !important;
	color: var(--sc-accent) !important;
	background: #fff !important;
	line-height: 1 !important;
}

.sch-age-verify__text {
	margin: 0 !important;
	font-size: 13px !important;
	line-height: 1.45 !important;
	color: #000 !important;
}

.sch-age-verify__check {
	display: flex !important;
	align-items: flex-start !important;
	gap: 10px !important;
	cursor: pointer !important;
	font-size: 14px !important;
	font-weight: 700 !important;
	color: #000 !important;
	margin: 0 !important;
}

.sch-age-verify__check input[type="checkbox"] {
	width: 18px !important;
	height: 18px !important;
	margin-top: 2px !important;
	accent-color: var(--sc-accent) !important;
	flex-shrink: 0 !important;
}

.sch-age-verify__err {
	margin: 10px 0 0 !important;
	color: #b42318 !important;
	font-size: 13px !important;
	font-weight: 700 !important;
}

.sch-age-verify.is-error {
	border-color: #f0b4b0 !important;
	background: #fff6f5 !important;
}

.sch-age-verify.is-error .sch-age-verify__err {
	display: block !important;
}

.sch-age-verify.has-woo {
	margin-bottom: 0 !important;
	border-bottom: 0 !important;
	border-radius: 12px 12px 0 0 !important;
	padding-bottom: 8px !important;
}

.wc-block-components-checkbox.sch-age-woo-check {
	margin: 0 0 16px !important;
	padding: 0 16px 14px !important;
	border: 1px solid rgba(138, 67, 129, 0.3) !important;
	border-top: 0 !important;
	border-radius: 0 0 12px 12px !important;
	background: var(--sc-accent-soft) !important;
	font-weight: 700 !important;
}

.wc-block-components-checkbox.sch-age-woo-check.is-error,
.sch-age-verify.has-woo.is-error + .sch-age-woo-check {
	border-color: #f0b4b0 !important;
	background: #fff6f5 !important;
}

.wc-block-components-checkbox.sch-age-woo-check input[type="checkbox"] {
	accent-color: var(--sc-accent) !important;
}

/* Lock primary actions until 18+ is ticked */
body.sch-age-locked .wc-block-cart__submit-button,
body.sch-age-locked .wc-block-components-checkout-place-order-button,
body.sch-age-locked .checkout-button,
body.sch-age-locked #place_order {
	opacity: 0.55 !important;
}

/* ---------------------------------------------------------------- *
 * Mobile: force full-width, single column
 * ---------------------------------------------------------------- */

@media (max-width: 900px) {
	body.woocommerce-cart,
	body.woocommerce-checkout,
	body.sch-checkout-mobile {
		overflow-x: hidden !important;
	}

	/* Full bleed page wrappers — kill theme/Elementor boxed gutters */
	body.woocommerce-cart #page,
	body.woocommerce-checkout #page,
	body.woocommerce-cart #content,
	body.woocommerce-checkout #content,
	body.woocommerce-cart .site,
	body.woocommerce-checkout .site,
	body.woocommerce-cart .site-content,
	body.woocommerce-checkout .site-content,
	body.woocommerce-cart .site-main,
	body.woocommerce-checkout .site-main,
	body.woocommerce-cart .content-area,
	body.woocommerce-checkout .content-area,
	body.woocommerce-cart .entry-content,
	body.woocommerce-checkout .entry-content,
	body.woocommerce-cart .wp-block-post-content,
	body.woocommerce-checkout .wp-block-post-content,
	body.woocommerce-cart .wp-site-blocks,
	body.woocommerce-checkout .wp-site-blocks,
	body.woocommerce-cart .elementor,
	body.woocommerce-checkout .elementor,
	body.woocommerce-cart .elementor-section,
	body.woocommerce-checkout .elementor-section,
	body.woocommerce-cart .elementor-section.elementor-section-boxed > .elementor-container,
	body.woocommerce-checkout .elementor-section.elementor-section-boxed > .elementor-container,
	body.woocommerce-cart .e-con,
	body.woocommerce-checkout .e-con,
	body.woocommerce-cart .e-con-boxed,
	body.woocommerce-checkout .e-con-boxed {
		width: 100% !important;
		max-width: 100% !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
		padding-left: 12px !important;
		padding-right: 12px !important;
		box-sizing: border-box !important;
	}

	body.woocommerce-cart .elementor-container,
	body.woocommerce-checkout .elementor-container,
	body.woocommerce-cart .e-con-inner,
	body.woocommerce-checkout .e-con-inner,
	body.woocommerce-cart .elementor-column,
	body.woocommerce-checkout .elementor-column,
	body.woocommerce-cart .elementor-col-50,
	body.woocommerce-checkout .elementor-col-50,
	body.woocommerce-cart .elementor-widget-wrap,
	body.woocommerce-checkout .elementor-widget-wrap,
	body.woocommerce-cart .elementor-widget-container,
	body.woocommerce-checkout .elementor-widget-container,
	body.woocommerce-cart .wp-block-group,
	body.woocommerce-checkout .wp-block-group,
	body.woocommerce-cart .wp-block-group__inner-container,
	body.woocommerce-checkout .wp-block-group__inner-container {
		width: 100% !important;
		max-width: 100% !important;
		flex: 0 0 100% !important;
		flex-basis: 100% !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
		padding-left: 0 !important;
		padding-right: 0 !important;
		float: none !important;
		box-sizing: border-box !important;
	}

	/* Cart / checkout blocks — always stacked, full width */
	body.woocommerce-cart .wp-block-woocommerce-cart,
	body.woocommerce-checkout .wp-block-woocommerce-checkout,
	body.woocommerce-cart .wc-block-cart,
	body.woocommerce-checkout .wc-block-checkout,
	body.woocommerce-cart .wc-block-cart.is-large,
	body.woocommerce-checkout .wc-block-checkout.is-large,
	body.woocommerce-cart .wc-block-components-sidebar-layout,
	body.woocommerce-checkout .wc-block-components-sidebar-layout,
	body.woocommerce-cart .woocommerce,
	body.woocommerce-checkout .woocommerce,
	body.woocommerce-cart form.woocommerce-cart-form,
	body.woocommerce-checkout form.woocommerce-checkout {
		display: flex !important;
		flex-direction: column !important;
		flex-wrap: nowrap !important;
		align-items: stretch !important;
		width: 100% !important;
		max-width: 100% !important;
		margin: 0 !important;
		padding: 0 !important;
		gap: 14px !important;
		float: none !important;
		box-sizing: border-box !important;
	}

	/* Kill 65% / 35% desktop split even when is-large stays */
	body.woocommerce-cart .wc-block-components-sidebar-layout .wc-block-components-main,
	body.woocommerce-checkout .wc-block-components-sidebar-layout .wc-block-components-main,
	body.woocommerce-cart .wc-block-components-sidebar-layout .wc-block-components-sidebar,
	body.woocommerce-checkout .wc-block-components-sidebar-layout .wc-block-components-sidebar,
	body.woocommerce-cart .wc-block-cart.is-large .wc-block-cart__main,
	body.woocommerce-cart .wc-block-cart.is-large .wc-block-cart__sidebar,
	body.woocommerce-checkout .wc-block-checkout.is-large .wc-block-checkout__main,
	body.woocommerce-checkout .wc-block-checkout.is-large .wc-block-checkout__sidebar,
	body.woocommerce-cart .wc-block-cart__main,
	body.woocommerce-cart .wc-block-cart__sidebar,
	body.woocommerce-checkout .wc-block-checkout__main,
	body.woocommerce-checkout .wc-block-checkout__sidebar,
	body.woocommerce-cart .wc-block-components-main,
	body.woocommerce-checkout .wc-block-components-main,
	body.woocommerce-cart .wc-block-components-sidebar,
	body.woocommerce-checkout .wc-block-components-sidebar,
	body.woocommerce-cart .wp-block-woocommerce-cart-order-summary-block,
	body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block,
	body.woocommerce-cart .wc-block-cart__submit-container,
	body.woocommerce-checkout .wc-block-checkout__actions,
	body.woocommerce-cart .wc-block-components-totals-wrapper,
	body.woocommerce-checkout .wc-block-components-totals-wrapper,
	body.woocommerce-cart .cart_totals,
	body.woocommerce-checkout #order_review,
	body.woocommerce-checkout #customer_details,
	body.woocommerce-checkout .col2-set,
	body.woocommerce-checkout .col2-set .col-1,
	body.woocommerce-checkout .col2-set .col-2 {
		display: block !important;
		width: 100% !important;
		max-width: 100% !important;
		min-width: 0 !important;
		flex: 0 0 auto !important;
		float: none !important;
		margin: 0 0 12px !important;
		padding-left: 0 !important;
		padding-right: 0 !important;
		box-sizing: border-box !important;
	}

	body.woocommerce-cart .wc-block-components-main,
	body.woocommerce-checkout .wc-block-components-main,
	body.woocommerce-cart .wc-block-cart.is-large .wc-block-cart__main,
	body.woocommerce-checkout .wc-block-checkout.is-large .wc-block-checkout__main {
		padding-right: 0 !important;
	}

	body.woocommerce-cart h1,
	body.woocommerce-checkout h1,
	body.woocommerce-cart .wp-block-heading,
	body.woocommerce-checkout .wp-block-heading,
	body.woocommerce-cart .entry-title,
	body.woocommerce-checkout .entry-title {
		font-size: 28px !important;
		width: 100% !important;
		max-width: 100% !important;
		margin: 8px 0 16px !important;
	}

	body.woocommerce-checkout .wc-block-components-address-form,
	body.woocommerce-checkout .wc-block-components-checkout-step,
	body.woocommerce-checkout .wc-block-components-checkout-step__content,
	body.woocommerce-checkout .wc-block-components-checkout-step__container,
	body.woocommerce-checkout .wc-block-components-text-input,
	body.woocommerce-checkout .wc-block-components-combobox,
	body.woocommerce-checkout .wc-block-components-text-input input,
	body.woocommerce-checkout .wc-block-components-combobox input,
	body.woocommerce-checkout .form-row,
	body.woocommerce-checkout .form-row-first,
	body.woocommerce-checkout .form-row-last,
	body.woocommerce-checkout .form-row input.input-text,
	body.woocommerce-checkout .form-row select,
	body.woocommerce-checkout .form-row textarea,
	body.woocommerce-checkout .select2-container {
		width: 100% !important;
		max-width: 100% !important;
		float: none !important;
		box-sizing: border-box !important;
	}

	body.woocommerce-checkout .wc-block-components-address-form,
	body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper {
		display: grid !important;
		grid-template-columns: 1fr !important;
		gap: 12px !important;
	}

	body.woocommerce-cart .wc-block-cart-items,
	body.woocommerce-cart .wc-block-cart-items__row,
	body.woocommerce-cart .wc-block-cart-item,
	body.woocommerce-checkout .wc-block-components-order-summary,
	body.woocommerce-checkout .wc-block-components-order-summary-item {
		width: 100% !important;
		max-width: 100% !important;
		box-sizing: border-box !important;
	}

	body.woocommerce-cart .wc-block-cart-items__row,
	body.woocommerce-cart .wc-block-cart-item,
	body.woocommerce-checkout .wc-block-components-order-summary-item {
		display: grid !important;
		grid-template-columns: 72px minmax(0, 1fr) !important;
		gap: 12px !important;
	}

	body.woocommerce-cart .wc-block-components-sidebar,
	body.woocommerce-checkout .wc-block-components-sidebar,
	body.woocommerce-cart .wc-block-cart__sidebar,
	body.woocommerce-checkout .wc-block-checkout__sidebar,
	body.woocommerce-cart .cart_totals {
		padding: 16px !important;
		overflow: visible !important;
	}

	body.woocommerce-cart .wc-block-components-totals-item,
	body.woocommerce-checkout .wc-block-components-totals-item,
	body.woocommerce-cart .wc-block-components-totals-footer-item {
		display: flex !important;
		justify-content: space-between !important;
		align-items: center !important;
		gap: 8px !important;
		width: 100% !important;
		overflow: visible !important;
	}

	body.woocommerce-cart .wc-block-components-totals-item__label,
	body.woocommerce-checkout .wc-block-components-totals-item__label {
		flex: 1 1 auto !important;
		white-space: normal !important;
		overflow: visible !important;
		text-overflow: unset !important;
	}

	body.woocommerce-cart .wc-block-cart__submit-button,
	body.woocommerce-checkout .wc-block-components-checkout-place-order-button,
	body.woocommerce-cart .checkout-button,
	body.woocommerce-checkout #place_order {
		width: 100% !important;
		max-width: 100% !important;
		min-height: 50px !important;
	}

	body.woocommerce-cart .sch-age-verify,
	body.woocommerce-checkout .sch-age-verify,
	body.woocommerce-checkout .wc-block-components-checkbox.sch-age-woo-check {
		width: 100% !important;
		max-width: 100% !important;
		box-sizing: border-box !important;
	}

	.sch-co-ship {
		padding: 10px 12px 12px !important;
		margin-bottom: 14px !important;
	}
}

/* Desktop: keep the summary card in view while the form scrolls */
@media (min-width: 901px) {
	body.woocommerce-checkout .wc-block-checkout__sidebar,
	body.woocommerce-cart .wc-block-cart__sidebar {
		position: sticky !important;
		top: 24px !important;
		align-self: flex-start !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	.sch-co-ship__fill {
		transition: none !important;
	}

	.sch-co-ship__fill,
	.sch-co-ship.is-complete .sch-co-ship__fill {
		animation: none !important;
	}

	.sch-co-ship__fill::after {
		display: none !important;
		animation: none !important;
	}
}
