/*
 * Digital Room commerce site system.
 * Loaded last on DRWE frontend routes. Layout-only rules for WooCommerce
 * Blocks deliberately leave native shipping/payment DOM and Store API state
 * untouched so CurieRO/GLS locker integrations keep full ownership.
 */

:root {
	--drwe-site-container: 1440px;
	--drwe-site-gutter-desktop: 64px;
	--drwe-site-gutter-tablet: 48px;
	--drwe-site-gutter-mobile: 32px;
	--drwe-type-body: 16px;
	--drwe-type-commerce: 15px;
	--drwe-type-small: 14px;
	--drwe-type-micro: 12px;
	--drwe-type-product: 16px;
	--drwe-type-product-mobile: 15px;
	--drwe-type-button: 15px;
}

body.drwe-flow-page,
body.drwe-cart-page,
body.drwe-checkout-page,
body.drwe-surface-thank-you-page,
body.drwe-account-page,
body.woocommerce-account,
body.woocommerce-cart:has(.wc-block-cart),
body.woocommerce-checkout:has(.wc-block-checkout) {
	--drwe-bg: var(--ct-bg, var(--drwe-c-tint, #fdfcfe));
	--drwe-surface: var(--ct-surface, #ffffff);
	--drwe-surface-soft: var(--ct-bg-soft, var(--drwe-c-tint, #f7f2f9));
	--drwe-border: var(--ct-border, var(--drwe-c-line, #e6dde9));
	--drwe-border-strong: var(--ct-border-strong, var(--drwe-c-line, #d7cadc));
	--drwe-text: var(--ct-heading, #2f2936);
	--drwe-text-soft: var(--ct-body, #4f4656);
	--drwe-muted: var(--ct-muted, #716a78);
	--drwe-muted-2: var(--ct-brand-placeholder, #958a9b);
	--drwe-primary: var(--ct-primary, var(--drwe-c-brand, #806399));
	--drwe-primary-hover: var(--ct-primary-dark, var(--drwe-c-deep, #5c3e83));
	--drwe-primary-soft: var(--ct-lavender, var(--drwe-c-soft, #f4eff7));
	--drwe-accent: var(--ct-primary-soft, var(--drwe-c-mid, #a88cbc));
	--drwe-button: var(--ct-buy, #f3d46f);
	--drwe-button-text: var(--ct-buy-text, #2f2936);
	--drwe-success: var(--ct-success, #4f7a61);
	--drwe-success-soft: var(--ct-notice-success-bg, #edf5f0);
	--drwe-warning: var(--ct-warning, #b27a2a);
	--drwe-warning-soft: var(--ct-peach, #fbf5df);
	--drwe-danger: var(--ct-danger, #b65555);
	--drwe-danger-soft: var(--ct-notice-error-bg, #f8eceb);
	--drwe-focus: 0 0 0 3px color-mix(in srgb, var(--drwe-primary) 22%, transparent);
	--drwe-flow-container: var(--drwe-site-container);
	color: var(--drwe-text);
	font-family:var(--drwe-font-family, var(--drwe-font, "Manrope", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif));
	font-size: var(--drwe-type-body);
	line-height: 1.6;
}

body.drwe-flow-page :where(button, input, select, textarea),
body.drwe-cart-page :where(button, input, select, textarea),
body.drwe-checkout-page :where(button, input, select, textarea),
body.drwe-surface-thank-you-page :where(button, input, select, textarea),
body.woocommerce-account :where(button, input, select, textarea) {
	font-family: inherit;
}

/* Shared focus-flow chrome. */
.drwe-flow-container,
.drwe-focus-header__inner,
.drwe-focus-footer__inner,
.drwe-flow-notices,
.drwe-flow-footer-inner,
.drwe-shell,
.drwe-flow-main,
body.drwe-flow-page :where(.dr-checkout-header-inner, .dr-checkout-main) {
	width: min(calc(100% - var(--drwe-site-gutter-desktop)), var(--drwe-site-container)) !important;
	max-width: var(--drwe-site-container) !important;
	margin-inline: auto !important;
}

.drwe-flow-header {
	--drwe-flow-purple: var(--drwe-primary);
	--drwe-flow-purple-dark: var(--drwe-primary-hover);
	--drwe-flow-text: var(--drwe-text);
	--drwe-flow-muted: var(--drwe-muted);
	--drwe-flow-border: var(--drwe-border);
}

.drwe-flow-header .checkout-step,
.drwe-flow-header .checkout-step strong,
.drwe-flow-header .secure-header,
.drwe-focus-step,
.drwe-focus-secure,
.drwe-focus-back,
.drwe-focus-help {
	font-size: var(--drwe-type-small);
}

.drwe-flow-footer .benefits strong,
.drwe-focus-footer__inner {
	font-size: var(--drwe-type-small);
}

.drwe-flow-footer .benefits span {
	font-size: var(--drwe-type-small);
}

/* ---------------------------------------------------------------------
 * Native Cart and Checkout Blocks — styling only, no DOM replacement.
 * ------------------------------------------------------------------ */
body.woocommerce-cart .wc-block-cart,
body.woocommerce-checkout .wc-block-checkout {
	width: min(calc(100% - var(--drwe-site-gutter-desktop)), var(--drwe-site-container)) !important;
	max-width: var(--drwe-site-container) !important;
	margin-right: auto !important;
	margin-left: auto !important;
}

body.woocommerce-cart .entry-content:has(.wc-block-cart),
body.woocommerce-checkout .entry-content:has(.wc-block-checkout),
body.woocommerce-cart .wp-block-post-content:has(.wc-block-cart),
body.woocommerce-checkout .wp-block-post-content:has(.wc-block-checkout) {
	width: 100% !important;
	max-width: none !important;
	margin-inline: auto !important;
	padding-inline: 0 !important;
}

body.woocommerce-cart .wc-block-cart .wc-block-components-sidebar-layout,
body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar-layout {
	width: 100% !important;
	max-width: var(--drwe-site-container) !important;
	margin-inline: auto !important;
}

body.woocommerce-cart .wc-block-cart,
body.woocommerce-checkout .wc-block-checkout {
	--drwe-blocks-sidebar-width: clamp(420px, 30vw, 460px);
	font-size: var(--drwe-type-body);
}

body.woocommerce-cart .wc-block-cart .wc-block-components-sidebar-layout,
body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar-layout {
	grid-template-columns: minmax(0, 1fr) var(--drwe-blocks-sidebar-width);
	gap: clamp(32px, 3vw, 48px);
}

body.woocommerce-cart .wc-block-cart :where(
	.wc-block-components-product-name,
	.wc-block-cart-item__product a
),
body.woocommerce-checkout .wc-block-checkout :where(
	.wc-block-components-product-name,
	.wc-block-components-order-summary-item__description a
) {
	color: var(--drwe-text) !important;
	font-size: var(--drwe-type-product) !important;
	font-weight: 750 !important;
	line-height: 1.4 !important;
}

body.woocommerce-cart .wc-block-cart :where(
	.wc-block-components-title,
	.wc-block-cart__totals-title
),
body.woocommerce-checkout .wc-block-checkout :where(
	.wc-block-components-title,
	.wc-block-components-checkout-step__title,
	.wc-block-components-order-summary__button-text
) {
	color: var(--drwe-text) !important;
	font-size: var(--fs-20, 20px) !important;
	font-weight: 800 !important;
	line-height: 1.3 !important;
}

body.woocommerce-cart .wc-block-cart :where(
	label,
	input,
	select,
	textarea,
	.wc-block-components-radio-control__label,
	.wc-block-components-checkbox__label,
	.wc-block-components-totals-item,
	.wc-block-components-shipping-rates-control__package-title
),
body.woocommerce-checkout .wc-block-checkout :where(
	label,
	input,
	select,
	textarea,
	.wc-block-components-radio-control__label,
	.wc-block-components-checkbox__label,
	.wc-block-components-totals-item,
	.wc-block-components-shipping-rates-control__package-title
) {
	font-size: var(--drwe-type-commerce) !important;
	line-height: 1.5 !important;
}

body.woocommerce-cart .wc-block-cart :where(
	.wc-block-components-radio-control__description,
	.wc-block-components-checkbox__description,
	.wc-block-components-formatted-money-amount,
	small
),
body.woocommerce-checkout .wc-block-checkout :where(
	.wc-block-components-radio-control__description,
	.wc-block-components-checkbox__description,
	.wc-block-components-formatted-money-amount,
	small
) {
	font-size: var(--drwe-type-small) !important;
}

body.woocommerce-cart .wc-block-cart :where(
	.wc-block-components-totals-footer-item .wc-block-components-formatted-money-amount,
	.wc-block-components-totals-footer-item-tax-value
),
body.woocommerce-checkout .wc-block-checkout :where(
	.wc-block-components-totals-footer-item .wc-block-components-formatted-money-amount,
	.wc-block-components-totals-footer-item-tax-value
) {
	font-size: var(--fs-20, 20px) !important;
	font-weight: 800 !important;
}

body.woocommerce-cart .wc-block-cart button,
body.woocommerce-checkout .wc-block-checkout button,
body.woocommerce-cart .wc-block-cart .wc-block-components-button,
body.woocommerce-checkout .wc-block-checkout .wc-block-components-button {
	font-size: var(--drwe-type-button) !important;
	font-weight: 800 !important;
}

.drwe-blocks-card {
	border-color: var(--drwe-border);
	background: var(--drwe-surface);
}

.drwe-blocks-eyebrow {
	font-size: var(--drwe-type-micro);
}

.drwe-blocks-bump__name {
	font-size: var(--drwe-type-product);
	font-weight: 750;
}

.drwe-blocks-bump__button {
	background: var(--drwe-button);
	color: var(--drwe-button-text);
	font-size: var(--drwe-type-button);
}

.drwe-blocks-trust li,
.drwe-blocks-error {
	font-size: var(--drwe-type-small);
}

/* ---------------------------------------------------------------------
 * Supplied classic cart reference.
 * ------------------------------------------------------------------ */
body.drwe-cart-page {
	--container-width: var(--drwe-site-container);
	--color-primary: var(--drwe-primary);
	--color-primary-dark: var(--drwe-primary-hover);
	--color-primary-soft: var(--drwe-primary-soft);
	--color-text: var(--drwe-text);
	--color-muted: var(--drwe-muted);
	--color-success: var(--drwe-success);
	--color-success-soft: var(--drwe-success-soft);
	--color-border: var(--drwe-border);
	--color-surface: var(--drwe-surface);
}

body.drwe-cart-page :where(.site-header__inner, .cart-page),
body.drwe-cart-page :where(.dr-checkout-header-inner, .dr-checkout-main) {
	width: min(calc(100% - var(--drwe-site-gutter-desktop)), var(--drwe-site-container)) !important;
	max-width: var(--drwe-site-container) !important;
	margin-inline: auto !important;
}

body.drwe-cart-page .cart-layout,
body.drwe-cart-page .dr-checkout-layout {
	grid-template-columns: minmax(0, 1fr) minmax(400px, 420px) !important;
	gap: 32px !important;
}

body.drwe-cart-page :where(
	.cart-item__details h3,
	.recommendation-card h3,
	.dr-checkout-product-title,
	.dr-checkout-product-title a,
	.dr-cart__reco-title,
	.drwe-recommendation-title
) {
	color: var(--drwe-text) !important;
	font-size: var(--drwe-type-product) !important;
	font-weight: 750 !important;
	line-height: 1.4 !important;
}

body.drwe-cart-page :where(
	.stock,
	.delivery,
	.save-later,
	.product-meta,
	.dr-checkout-product-meta,
	.cart-recommendations header p,
	.dr-cart__section-subtitle,
	.dr-cart__summary-subtitle,
	.dr-cart__shipping-note,
	.dr-cart__benefit span,
	.secure-note
) {
	font-size: var(--drwe-type-small) !important;
	line-height: 1.45 !important;
}

body.drwe-cart-page :where(
	.add-recommendation,
	.checkout-button,
	.dr-cart__reco-button,
	.dr-cart__checkout,
	.drwe-cart-secondary-cta,
	.dr-checkout-place-order,
	.dr-checkout-secondary-button,
	button[type="submit"]
) {
	font-size: var(--drwe-type-button) !important;
	font-weight: 800 !important;
}

body.drwe-cart-page :where(.checkout-button, .dr-cart__checkout, .dr-checkout-place-order) {
	border-color: var(--drwe-primary) !important;
	background: var(--drwe-primary) !important;
	color: var(--drwe-surface) !important;
}

/* ---------------------------------------------------------------------
 * Supplied classic checkout reference.
 * ------------------------------------------------------------------ */
body.drwe-flow-checkout .checkout-page {
	--container-width: var(--drwe-site-container);
	--checkout-container: var(--drwe-site-container);
	--checkout-primary: var(--drwe-primary);
	--checkout-primary-dark: var(--drwe-primary-hover);
	--checkout-primary-soft: var(--drwe-primary-soft);
	--checkout-text: var(--drwe-text);
	--checkout-muted: var(--drwe-muted);
	--checkout-success: var(--drwe-success);
	--checkout-success-soft: var(--drwe-success-soft);
	--checkout-error: var(--drwe-danger);
	--checkout-error-soft: var(--drwe-danger-soft);
	--checkout-border: var(--drwe-border);
	--checkout-surface: var(--drwe-surface);
	width: min(calc(100% - var(--drwe-site-gutter-desktop)), var(--drwe-site-container)) !important;
	max-width: var(--drwe-site-container) !important;
	font-size: var(--drwe-type-commerce) !important;
	line-height: 1.5 !important;
}

body.woocommerce-checkout.drwe-flow-checkout .checkout-page .checkout-layout {
	grid-template-columns: minmax(0, 1fr) minmax(420px, 460px) !important;
	gap: 0 !important;
}

body.woocommerce-checkout.drwe-flow-checkout .checkout-page :where(h1, h2, legend) {
	font-size: var(--fs-18, 18px) !important;
	font-weight: 800 !important;
	line-height: 1.3 !important;
}

body.woocommerce-checkout.drwe-flow-checkout .checkout-page :where(
	.checkout-field label,
	.check-label,
	.checkout-consents .check-label,
	.field-control input,
	.field-control select,
	.field-control textarea,
	.select2-selection__rendered
) {
	font-size: var(--drwe-type-commerce) !important;
	line-height: 1.45 !important;
}

body.woocommerce-checkout.drwe-flow-checkout .checkout-page :where(
	.shipping-method-card__content strong,
	#payment .payment-method .method-copy strong,
	.summary-product-name,
	.order-bump .bump-copy > strong
) {
	color: var(--drwe-text) !important;
	font-size: var(--drwe-type-commerce) !important;
	font-weight: 800 !important;
	line-height: 1.4 !important;
}

body.woocommerce-checkout.drwe-flow-checkout .checkout-page :where(
	.shipping-method-card__content small,
	#payment .payment-method .method-copy small,
	.shipping-method-extra,
	.payment_box,
	.summary-product .variation,
	.summary-product .wc-item-meta,
	.order-bump .bump-copy > small,
	.secure-message,
	.checkout-message,
	.drwe-checkout-coupon-result
) {
	font-size: var(--drwe-type-small) !important;
	line-height: 1.45 !important;
}

body.woocommerce-checkout.drwe-flow-checkout .checkout-page :where(
	.shipping-method-card__price,
	.method-price,
	.summary-totals,
	.summary-product small,
	.accepted-payments > span
) {
	font-size: var(--drwe-type-small) !important;
}

body.woocommerce-checkout.drwe-flow-checkout .checkout-page :where(
	.place-order-button,
	.bump-button,
	button,
	.button
) {
	font-size: var(--drwe-type-button) !important;
	font-weight: 800 !important;
}

body.woocommerce-checkout.drwe-flow-checkout .checkout-page :where(.place-order-button, .bump-button) {
	border-color: var(--drwe-primary) !important;
	background: var(--drwe-primary) !important;
	color: var(--drwe-surface) !important;
	box-shadow: 0 8px 18px color-mix(in srgb, var(--drwe-primary) 20%, transparent) !important;
}

body.woocommerce-checkout.drwe-flow-checkout .checkout-page .order-bump {
	border-color: color-mix(in srgb, var(--drwe-primary) 48%, var(--drwe-border)) !important;
	background: linear-gradient(135deg, var(--drwe-primary-soft), var(--drwe-surface)) !important;
}

/* ---------------------------------------------------------------------
 * Thank-you / order received.
 * ------------------------------------------------------------------ */
.dr-ty-site-header__inner,
.dr-ty-container,
body.drwe-flow-thank_you :where(.dr-layout, .dr-layout-single),
body.drwe-surface-thank-you-page :where(.dr-ty-shell, .drwe-thank-you-page) {
	width: min(calc(100% - var(--drwe-site-gutter-desktop)), var(--drwe-site-container)) !important;
	max-width: var(--drwe-site-container) !important;
	margin-inline: auto !important;
}

.drwe-thank-you-page,
.dr-ty-shell {
	--dr-ty-primary: var(--drwe-primary);
	--dr-ty-primary-dark: var(--drwe-primary-hover);
	--dr-ty-ink: var(--drwe-text);
	--dr-ty-muted: var(--drwe-muted);
	--dr-ty-bg: var(--drwe-bg);
	--dr-ty-card: var(--drwe-surface);
	--dr-ty-border: var(--drwe-border);
	font-size: var(--drwe-type-body);
}

.drwe-thank-you-page :where(p, li, address, .dr-ty-summary-line, .dr-ty-summary-row),
.dr-ty-shell :where(p, li, address, .dr-ty-summary-line, .dr-ty-summary-row) {
	font-size: var(--drwe-type-commerce) !important;
	line-height: 1.55 !important;
}

.drwe-thank-you-page :where(small, .dr-ty-section-subtitle, .dr-ty-product-meta, .dr-ty-step-copy),
.dr-ty-shell :where(small, .dr-ty-section-subtitle, .dr-ty-product-meta, .dr-ty-step-copy) {
	font-size: var(--drwe-type-small) !important;
}

.drwe-thank-you-page :where(.dr-ty-product-title, .drwe-thank-you-item-main strong),
.dr-ty-shell :where(.dr-ty-product-title, .drwe-thank-you-item-main strong) {
	color: var(--drwe-text) !important;
	font-size: var(--drwe-type-product) !important;
	font-weight: 750 !important;
	line-height: 1.4 !important;
}

.drwe-thank-you-page :where(button, .button, .dr-ty-button),
.dr-ty-shell :where(button, .button, .dr-ty-button) {
	font-size: var(--drwe-type-button) !important;
	font-weight: 800 !important;
}

/* ---------------------------------------------------------------------
 * My Account and all account endpoints.
 * ------------------------------------------------------------------ */
body.woocommerce-account {
	--dra-purple: var(--drwe-primary);
	--dra-purple-dark: var(--drwe-primary-hover);
	--dra-purple-soft: var(--drwe-primary-soft);
	--dra-navy: var(--drwe-text);
	--dra-text: var(--drwe-text-soft);
	--dra-muted: var(--drwe-muted);
	--dra-border: var(--drwe-border);
	--dra-border-strong: var(--drwe-border-strong);
	--dra-green: var(--drwe-success);
	--dra-green-soft: var(--drwe-success-soft);
}

body.woocommerce-account .dr-account-v2 {
	width: min(calc(100% - var(--drwe-site-gutter-desktop)), var(--drwe-site-container)) !important;
	max-width: var(--drwe-site-container) !important;
	font-size: var(--drwe-type-commerce) !important;
	line-height: 1.55 !important;
}

body.woocommerce-account .dr-account {
	width: min(calc(100% - var(--drwe-site-gutter-desktop)), var(--drwe-site-container)) !important;
	max-width: var(--drwe-site-container) !important;
	margin-inline: auto !important;
	font-size: var(--drwe-type-commerce) !important;
}

body.woocommerce-account .dr-account-v2 :where(p, label, input, select, textarea, address) {
	font-size: var(--drwe-type-commerce) !important;
	line-height: 1.55 !important;
}

body.woocommerce-account .dr-account-v2 :where(small, .dr-account-user-copy > span) {
	font-size: var(--drwe-type-small) !important;
}

body.woocommerce-account .dr-account-nav-link,
body.woocommerce-account .dr-account-button {
	font-size: var(--drwe-type-button) !important;
}

body.woocommerce-account .dr-account-v2 :where(
	.dr-account-latest-order-main strong,
	.dr-account-order-id a,
	.dr-account-order-products strong,
	.dr-account-order-product-main strong,
	.dr-account-return-row strong
) {
	color: var(--drwe-text) !important;
	font-size: var(--drwe-type-product) !important;
	font-weight: 750 !important;
	line-height: 1.4 !important;
}

body.woocommerce-account .dr-account-v2 :where(
	.dr-account-latest-order-main p,
	.dr-account-latest-order-main small,
	.dr-account-address-grid address,
	.dr-account-address-grid p,
	.dr-account-order-id small,
	.dr-account-order-products p,
	.dr-account-order-product-main small,
	.dr-account-return-row small,
	.dr-account-support-card small,
	.dr-account-trust-card small
) {
	font-size: var(--drwe-type-small) !important;
	line-height: 1.45 !important;
}

body.woocommerce-account .dr-account-status,
body.woocommerce-account .dr-account-user-copy em,
body.woocommerce-account .dr-account-order-filters a span {
	font-size: var(--drwe-type-micro) !important;
}

@media (max-width: 1023px) {
	.drwe-flow-container,
	.drwe-focus-header__inner,
	.drwe-focus-footer__inner,
	.drwe-flow-notices,
	.drwe-flow-footer-inner,
	.drwe-shell,
	.drwe-flow-main,
	body.drwe-flow-page :where(.dr-checkout-header-inner, .dr-checkout-main),
	body.woocommerce-cart .entry-content:has(.wc-block-cart),
	body.woocommerce-checkout .entry-content:has(.wc-block-checkout),
	body.woocommerce-cart .wp-block-post-content:has(.wc-block-cart),
	body.woocommerce-checkout .wp-block-post-content:has(.wc-block-checkout),
	body.woocommerce-cart .wc-block-cart,
	body.woocommerce-checkout .wc-block-checkout,
	body.drwe-cart-page :where(.site-header__inner, .cart-page),
	body.drwe-cart-page :where(.dr-checkout-header-inner, .dr-checkout-main),
	body.drwe-flow-checkout .checkout-page,
	.dr-ty-site-header__inner,
	.dr-ty-container,
	body.drwe-flow-thank_you :where(.dr-layout, .dr-layout-single),
	body.drwe-surface-thank-you-page :where(.dr-ty-shell, .drwe-thank-you-page),
	body.woocommerce-account :where(.dr-account-v2, .dr-account) {
		width: min(calc(100% - var(--drwe-site-gutter-tablet)), var(--drwe-site-container)) !important;
	}

	body.woocommerce-cart .wc-block-cart,
	body.woocommerce-checkout .wc-block-checkout {
		--drwe-blocks-sidebar-width: 100%;
	}

	body.woocommerce-cart .wc-block-cart .wc-block-components-sidebar-layout,
	body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar-layout,
	body.drwe-cart-page .cart-layout,
	body.drwe-cart-page .dr-checkout-layout,
	body.woocommerce-checkout.drwe-flow-checkout .checkout-page .checkout-layout {
		display: block !important;
	}

	body.drwe-cart-page :where(
		.cart-item__details h3,
		.recommendation-card h3,
		.dr-checkout-product-title,
		.dr-checkout-product-title a,
		.dr-cart__reco-title,
		.drwe-recommendation-title
	),
	.drwe-thank-you-page :where(.dr-ty-product-title, .drwe-thank-you-item-main strong),
	.dr-ty-shell :where(.dr-ty-product-title, .drwe-thank-you-item-main strong),
	body.woocommerce-cart .wc-block-cart :where(.wc-block-components-product-name, .wc-block-cart-item__product a),
	body.woocommerce-checkout .wc-block-checkout :where(.wc-block-components-product-name, .wc-block-components-order-summary-item__description a) {
		font-size: var(--drwe-type-product-mobile) !important;
	}
}

@media (max-width: 767px) {
	.drwe-flow-container,
	.drwe-focus-header__inner,
	.drwe-focus-footer__inner,
	.drwe-flow-notices,
	.drwe-flow-footer-inner,
	.drwe-shell,
	.drwe-flow-main,
	body.drwe-flow-page :where(.dr-checkout-header-inner, .dr-checkout-main),
	body.woocommerce-cart .entry-content:has(.wc-block-cart),
	body.woocommerce-checkout .entry-content:has(.wc-block-checkout),
	body.woocommerce-cart .wp-block-post-content:has(.wc-block-cart),
	body.woocommerce-checkout .wp-block-post-content:has(.wc-block-checkout),
	body.woocommerce-cart .wc-block-cart,
	body.woocommerce-checkout .wc-block-checkout,
	body.drwe-cart-page :where(.site-header__inner, .cart-page),
	body.drwe-cart-page :where(.dr-checkout-header-inner, .dr-checkout-main),
	body.drwe-flow-checkout .checkout-page,
	.dr-ty-site-header__inner,
	.dr-ty-container,
	body.drwe-flow-thank_you :where(.dr-layout, .dr-layout-single),
	body.drwe-surface-thank-you-page :where(.dr-ty-shell, .drwe-thank-you-page),
	body.woocommerce-account :where(.dr-account-v2, .dr-account) {
		width: min(calc(100% - var(--drwe-site-gutter-mobile)), var(--drwe-site-container)) !important;
	}

	body.drwe-flow-checkout .checkout-page {
		width: min(calc(100% - var(--drwe-site-gutter-mobile)), 560px) !important;
		max-width: 560px !important;
		padding-inline: 0 !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	.drwe-site-system,
	.drwe-site-system * {
		scroll-behavior: auto !important;
	}
}
