/**
 * WooCommerce — thin compatibility layer after theme dist.
 * Premium layout lives in src/styles/blocks/_woocommerce-*.scss (Vite build).
 */

/* ——— Forms & buttons: touch-friendly baseline ——— */
.whoop-wc-wrap .woocommerce .button,
.whoop-wc-wrap .woocommerce button.button,
.whoop-wc-wrap .woocommerce a.button,
.whoop-wc-wrap .woocommerce input[type="submit"].button {
	min-height: 44px;
	padding: 0.65rem 1.1rem;
}

.whoop-wc-page-inner .wc-block-components-text-input input,
.whoop-wc-page-inner .input-text,
.whoop-wc-wrap .woocommerce .input-text {
	min-height: 44px;
	font-size: 1rem;
}

.whoop-wc-wrap .woocommerce-notices-wrapper,
.whoop-wc-page-inner .woocommerce-notices-wrapper {
	margin-bottom: 1rem;
}

/* ——— Table horizontal scroll (My Account orders; Lenis nested) ——— */
.whoop-wc-table-x {
	display: block;
	width: 100%;
	max-width: 100%;
	overflow-x: auto;
	overflow-y: visible;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior-x: contain;
	touch-action: pan-x pan-y pinch-zoom;
	scrollbar-width: thin;
}

.whoop-wc-table-x table.shop_table {
	display: table;
	width: 100%;
	min-width: 520px;
}

/* ——— Token overrides (account + block edge cases) ——— */
body.woocommerce-cart .wc-block-components-sidebar-layout,
body.woocommerce-checkout .wc-block-components-sidebar-layout,
body.woocommerce-page .wc-block-components-sidebar-layout,
body.whoop-account-page .woocommerce-MyAccount-navigation,
body.whoop-account-page .woocommerce-MyAccount-content {
	color: var(--text, #000);
}

.whoop-wc-wrap .woocommerce,
.whoop-wc-page-inner,
body.whoop-account-page .woocommerce {
	color: var(--text, #000);
}

.whoop-wc-page-inner a:not(.wc-block-components-button):not(.button),
.whoop-wc-wrap .woocommerce a:not(.button):not(.wc-block-components-button),
body.whoop-account-page .woocommerce a:not(.button) {
	color: var(--primary, #2fa3f2);
}

.whoop-wc-page-inner a:not(.wc-block-components-button):not(.button):hover,
.whoop-wc-wrap .woocommerce a:not(.button):not(.wc-block-components-button):hover,
body.whoop-account-page .woocommerce a:not(.button):hover {
	color: var(--primary-hover, #b810ae);
}

.whoop-wc-page-inner .wc-block-components-text-input input,
.whoop-wc-page-inner .wc-block-components-text-input textarea,
.whoop-wc-wrap .woocommerce input.input-text,
.whoop-wc-wrap .woocommerce textarea,
.whoop-wc-wrap .woocommerce select,
body.whoop-account-page .woocommerce input.input-text {
	color: var(--text, #000);
	background-color: var(--bg, #fff);
	border-color: var(--line-strong, rgba(0, 0, 0, 0.16));
}

.whoop-wc-page-inner .wc-block-components-label,
.whoop-wc-surface .wc-block-components-label {
	color: var(--text-muted, rgba(0, 0, 0, 0.62));
}

.whoop-wc-page-inner .wc-block-components-text-input input,
.whoop-wc-page-inner .wc-block-components-text-input textarea {
	width: 100%;
	min-width: 0;
	box-sizing: border-box;
}

.whoop-wc-page-inner.whoop-wc-surface {
	width: 100%;
	max-width: 100%;
	padding: 0;
	margin: 0;
}

body.woocommerce-page .page-article .entry-content,
.whoop-wc-surface .entry-content {
	width: 100%;
	max-width: 100%;
}

/* ——— Header cart badge ——— */
.whoop-header-cart .whoop-cart-icon-wrap {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.whoop-header-cart .whoop-cart-count-badge {
	position: absolute;
	top: -6px;
	right: -8px;
	min-width: 1.1rem;
	height: 1.1rem;
	padding: 0 4px;
	border-radius: 999px;
	background: var(--primary, #2fa3f2);
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	line-height: 1.1rem;
	text-align: center;
	display: inline-block;
}

.whoop-header-cart .whoop-cart-count-badge:empty {
	display: none;
}

/* ——— Cart + checkout block polish (solid surfaces; no gradients) ——— */
body.woocommerce-cart,
body.woocommerce-checkout {
	background: var(--bg);
	color: var(--text);
}

body.woocommerce-cart .page-article,
body.woocommerce-checkout .page-article {
	width: min(var(--container, 1440px), calc(100% - (var(--gutter, 32px) * 2)));
	margin: 0 auto;
	padding-top: calc(var(--header-h, 109px) + 24px);
	padding-bottom: clamp(32px, 6vw, 72px);
}

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

body.woocommerce-cart .wc-block-components-sidebar-layout,
body.woocommerce-checkout .wc-block-components-sidebar-layout {
	gap: clamp(18px, 2.4vw, 32px);
	align-items: start;
}

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-cart .wc-block-components-sidebar,
body.woocommerce-checkout .wc-block-components-main,
body.woocommerce-checkout .wc-block-components-sidebar {
	min-width: 0;
	max-width: 100%;
	overflow-wrap: anywhere;
}

body.woocommerce-cart :where(
	.wc-block-cart-items,
	.wc-block-cart__submit,
	.wc-block-components-totals-wrapper,
	.wc-block-components-order-summary,
	.wc-block-components-order-summary__content,
	.wc-block-components-checkout-step,
	.wc-block-components-checkout-return-to-cart-button,
	.wc-block-components-totals-coupon,
	.wc-block-components-address-card,
	.wc-block-components-shipping-rates-control,
	.wc-block-components-radio-control__option,
	.wc-block-components-validation-error,
	.wc-block-components-notice-banner
),
body.woocommerce-checkout :where(
	.wc-block-cart-items,
	.wc-block-cart__submit,
	.wc-block-components-totals-wrapper,
	.wc-block-components-order-summary,
	.wc-block-components-order-summary__content,
	.wc-block-components-checkout-step,
	.wc-block-components-checkout-return-to-cart-button,
	.wc-block-components-totals-coupon,
	.wc-block-components-address-card,
	.wc-block-components-shipping-rates-control,
	.wc-block-components-radio-control__option,
	.wc-block-components-validation-error,
	.wc-block-components-notice-banner
) {
	background: #fff;
	border: 1px solid var(--line-strong, rgba(0, 0, 0, 0.16));
	border-radius: 24px;
	box-shadow: 0 18px 48px rgba(15, 23, 42, 0.08);
}

body.woocommerce-cart .wc-block-cart__main,
body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-cart .wc-block-components-main,
body.woocommerce-checkout .wc-block-components-main {
	display: grid;
	gap: 18px;
}

body.woocommerce-cart .wc-block-cart__sidebar,
body.woocommerce-checkout .wc-block-checkout__sidebar,
body.woocommerce-cart .wc-block-components-sidebar,
body.woocommerce-checkout .wc-block-components-sidebar {
	position: sticky;
	top: calc(var(--header-h, 109px) + 20px);
	display: grid;
	gap: 16px;
	padding: clamp(18px, 2vw, 28px);
	background: var(--bg-elev-1, #f4f5f9);
	border: 1px solid var(--line-strong, rgba(0, 0, 0, 0.16));
	border-radius: 28px;
	box-shadow: 0 22px 56px rgba(15, 23, 42, 0.1);
}

body.woocommerce-cart .wc-block-cart-items,
body.woocommerce-checkout .wc-block-components-checkout-step {
	padding: clamp(18px, 2.4vw, 28px);
}

body.woocommerce-cart .wc-block-components-product-name,
body.woocommerce-checkout .wc-block-components-product-name,
body.woocommerce-cart .wc-block-components-totals-item__label,
body.woocommerce-checkout .wc-block-components-totals-item__label,
body.woocommerce-cart .wc-block-components-checkout-step__heading h2,
body.woocommerce-checkout .wc-block-components-checkout-step__heading h2 {
	color: var(--text);
	font-weight: 800;
	letter-spacing: -0.02em;
}

body.woocommerce-cart .wc-block-components-product-metadata,
body.woocommerce-checkout .wc-block-components-product-metadata,
body.woocommerce-cart .wc-block-components-totals-item__value,
body.woocommerce-checkout .wc-block-components-totals-item__value,
body.woocommerce-cart .wc-block-components-checkout-step__description,
body.woocommerce-checkout .wc-block-components-checkout-step__description {
	color: var(--text-muted, rgba(0, 0, 0, 0.62));
}

body.woocommerce-cart .wc-block-components-product-details,
body.woocommerce-checkout .wc-block-components-product-details {
	min-width: 0;
}

body.woocommerce-cart .wc-block-cart-item__image img,
body.woocommerce-checkout .wc-block-components-order-summary-item__image img {
	border-radius: 18px;
	background: var(--bg-elev-1, #f4f5f9);
}

body.woocommerce-cart .wc-block-components-quantity-selector,
body.woocommerce-checkout .wc-block-components-quantity-selector {
	border: 1px solid var(--line-strong, rgba(0, 0, 0, 0.16));
	border-radius: 999px;
	background: #fff;
	min-height: 46px;
}

body.woocommerce-cart .wc-block-components-quantity-selector input,
body.woocommerce-checkout .wc-block-components-quantity-selector input {
	font-weight: 700;
}

body.woocommerce-cart .wc-block-components-text-input input,
body.woocommerce-cart .wc-block-components-text-input select,
body.woocommerce-cart .wc-block-components-text-input textarea,
body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-text-input select,
body.woocommerce-checkout .wc-block-components-text-input textarea {
	min-height: 54px;
	border: 1px solid var(--line-strong, rgba(0, 0, 0, 0.16));
	border-radius: 18px;
	background: #fff;
	box-shadow: none;
	color: var(--text);
	font-size: 16px;
}

body.woocommerce-cart .wc-block-components-text-input textarea,
body.woocommerce-checkout .wc-block-components-text-input textarea {
	min-height: 120px;
	padding-top: 16px;
}

body.woocommerce-cart .wc-block-components-text-input.is-active input,
body.woocommerce-cart .wc-block-components-text-input.is-active textarea,
body.woocommerce-checkout .wc-block-components-text-input.is-active input,
body.woocommerce-checkout .wc-block-components-text-input.is-active textarea {
	border-color: var(--primary, #2fa3f2);
	box-shadow: 0 0 0 4px rgba(47, 163, 242, 0.14);
}

body.woocommerce-cart .wc-block-components-totals-coupon,
body.woocommerce-checkout .wc-block-components-totals-coupon {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 12px;
	padding: 14px;
}

body.woocommerce-cart .wc-block-components-radio-control__option,
body.woocommerce-checkout .wc-block-components-radio-control__option {
	padding: 14px 16px;
}

body.woocommerce-cart .wc-block-components-radio-control__option:hover,
body.woocommerce-checkout .wc-block-components-radio-control__option:hover,
body.woocommerce-cart .wc-block-components-radio-control__input:checked + .wc-block-components-radio-control__option,
body.woocommerce-checkout .wc-block-components-radio-control__input:checked + .wc-block-components-radio-control__option {
	border-color: var(--primary, #2fa3f2);
	box-shadow: 0 0 0 4px rgba(47, 163, 242, 0.1);
}

body.woocommerce-checkout .wc-block-components-checkout-step--payment-method,
body.woocommerce-checkout .wc-block-components-checkout-step--shipping-method {
	background: #fff;
}

body.woocommerce-checkout .wc-block-components-payment-method-icons,
body.woocommerce-checkout .wc-block-components-payment-method-label {
	flex-wrap: wrap;
	row-gap: 8px;
}

body.woocommerce-cart .wc-block-components-button,
body.woocommerce-checkout .wc-block-components-button {
	min-height: 56px;
	border: 1px solid transparent;
	border-radius: 18px;
	background: var(--primary, #2fa3f2);
	color: #fff;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	box-shadow: none;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

body.woocommerce-cart .wc-block-components-button:hover,
body.woocommerce-checkout .wc-block-components-button:hover {
	background: var(--primary-hover, #b810ae);
	box-shadow: none;
	transform: none;
}

body.woocommerce-cart .wc-block-components-button.wc-block-components-button--text,
body.woocommerce-checkout .wc-block-components-button.wc-block-components-button--text,
body.woocommerce-cart .wc-block-components-checkout-return-to-cart-button,
body.woocommerce-checkout .wc-block-components-checkout-return-to-cart-button {
	background: transparent;
	color: var(--text);
	border-color: var(--line-strong, rgba(0, 0, 0, 0.16));
}

body.woocommerce-cart .wc-block-components-button.wc-block-components-button--text:hover,
body.woocommerce-checkout .wc-block-components-button.wc-block-components-button--text:hover,
body.woocommerce-cart .wc-block-components-checkout-return-to-cart-button:hover,
body.woocommerce-checkout .wc-block-components-checkout-return-to-cart-button:hover {
	background: var(--bg-elev-1, #f4f5f9);
	color: var(--text);
}

body.woocommerce-cart .wc-block-cart-item__prices,
body.woocommerce-checkout .wc-block-components-order-summary-item__total-price {
	font-weight: 800;
	color: var(--text);
}

body.woocommerce-cart .wc-block-components-totals-footer-item,
body.woocommerce-checkout .wc-block-components-totals-footer-item {
	padding-top: 18px;
	margin-top: 4px;
	border-top: 1px solid var(--line-strong, rgba(0, 0, 0, 0.16));
	font-size: 1.15rem;
	font-weight: 800;
	color: var(--text);
}

body.woocommerce-cart .wc-block-components-validation-error,
body.woocommerce-checkout .wc-block-components-validation-error,
body.woocommerce-cart .wc-block-components-notice-banner,
body.woocommerce-checkout .wc-block-components-notice-banner {
	padding: 16px 18px;
}

body.woocommerce-cart iframe,
body.woocommerce-checkout iframe,
body.woocommerce-cart .wc-block-components-formatted-money-amount,
body.woocommerce-checkout .wc-block-components-formatted-money-amount,
body.woocommerce-cart .wc-block-components-text-input,
body.woocommerce-checkout .wc-block-components-text-input {
	max-width: 100%;
}

@media (max-width: 1100px) {
	body.woocommerce-cart .page-article,
	body.woocommerce-checkout .page-article {
		width: min(100%, calc(100% - 28px));
	}

	body.woocommerce-cart .wc-block-components-sidebar-layout,
	body.woocommerce-checkout .wc-block-components-sidebar-layout {
		grid-template-columns: minmax(0, 1fr);
	}

	body.woocommerce-cart .wc-block-cart__sidebar,
	body.woocommerce-checkout .wc-block-checkout__sidebar,
	body.woocommerce-cart .wc-block-components-sidebar,
	body.woocommerce-checkout .wc-block-components-sidebar {
		position: static;
		order: -1;
	}
}

@media (max-width: 782px) {
	body.woocommerce-cart .page-article,
	body.woocommerce-checkout .page-article {
		width: min(100%, calc(100% - 20px));
		padding-bottom: 104px;
	}

	body.woocommerce-cart .wc-block-cart-items,
	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-cart .wc-block-components-sidebar,
	body.woocommerce-checkout .wc-block-components-main,
	body.woocommerce-checkout .wc-block-components-sidebar {
		padding: 18px 16px;
		border-radius: 22px;
	}

	body.woocommerce-cart .wc-block-cart-items__row,
	body.woocommerce-checkout .wc-block-components-order-summary-item {
		grid-template-columns: 88px minmax(0, 1fr);
		column-gap: 14px;
	}

	body.woocommerce-cart .wc-block-components-totals-coupon,
	body.woocommerce-checkout .wc-block-components-totals-coupon {
		grid-template-columns: 1fr;
	}

	body.woocommerce-cart .wc-block-components-totals-coupon .wc-block-components-button,
	body.woocommerce-checkout .wc-block-components-totals-coupon .wc-block-components-button,
	body.woocommerce-checkout .wc-block-components-checkout-place-order-button,
	body.woocommerce-cart .wc-block-cart__submit-button {
		width: 100%;
	}
}

@media (max-width: 600px) {
	body.woocommerce-cart .page-article,
	body.woocommerce-checkout .page-article {
		width: min(100%, calc(100% - 16px));
		padding-top: calc(var(--header-h, 109px) + 16px);
	}

	body.woocommerce-cart .wc-block-cart-item__wrap,
	body.woocommerce-checkout .wc-block-components-order-summary-item {
		min-width: 0;
	}

	body.woocommerce-cart .wc-block-components-product-name,
	body.woocommerce-checkout .wc-block-components-product-name {
		font-size: 0.98rem;
	}

	body.woocommerce-cart .wc-block-components-quantity-selector,
	body.woocommerce-checkout .wc-block-components-quantity-selector,
	body.woocommerce-cart .wc-block-components-button,
	body.woocommerce-checkout .wc-block-components-button {
		width: 100%;
	}
}

/* ——— Single product reset + layout polish ——— */
body.single-product {
	background: #fff;
	color: var(--text, #000);
}

body.single-product .page-article {
	width: min(var(--container, 1440px), calc(100% - (var(--gutter, 32px) * 2))) !important;
	margin: 0 auto !important;
	padding-top: var(--header-h, 109px) !important;
	padding-bottom: clamp(40px, 6vw, 88px) !important;
}

body.single-product .woocommerce-breadcrumb {
	display: none;
}

body.single-product .woocommerce-notices-wrapper {
	margin: 0 !important;
	padding: 0 !important;
}

body.single-product .woocommerce-notices-wrapper:not(:empty) {
	margin-bottom: 8px !important;
}

body.single-product div.product .whoop-product-hero {
	display: block !important;
	margin-bottom: clamp(28px, 4vw, 52px) !important;
	margin-top: 0 !important;
	padding-top: 0 !important;
}

body.single-product div.product .whoop-product-panel,
body.single-product div.product .whoop-product-details {
	background: #fff;
	border: 1px solid rgba(15, 23, 42, 0.08);
	border-radius: 28px;
	box-shadow: 0 14px 34px rgba(15, 23, 42, 0.04);
}

body.single-product div.product .whoop-product-panel {
	border-radius: 30px !important;
	overflow: visible !important;
	background: #fff !important;
	height: auto !important;
	min-height: 0 !important;
	max-height: none !important;
	padding: 0 !important;
}

body.single-product div.product .whoop-product-panel > .tier-shell {
	border-radius: 30px !important;
	overflow: visible !important;
}

body.single-product div.product .tier-shell,
body.single-product div.product .whoop-product-panel-shell {
	display: grid !important;
	grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr) !important;
	align-items: stretch !important;
	gap: 0 !important;
	background: #fff !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
	border-radius: 0 !important;
	border: 0 !important;
	box-shadow: none !important;
	overflow: visible !important;
}

body.single-product div.product .tier-media,
body.single-product div.product .whoop-product-panel-media {
	display: flex !important;
	align-items: stretch !important;
	justify-content: stretch !important;
	padding: 0 !important;
	background: #f6f8fc !important;
	border-right: 1px solid rgba(15, 23, 42, 0.08) !important;
	min-width: 0 !important;
	min-height: auto !important;
	flex-direction: row !important;
}

body.single-product div.product .whoop-product-panel-body,
body.single-product div.product .summary.entry-summary,
body.single-product div.product .summary.entry-summary.whoop-product-summary-card,
body.single-product div.product div.summary,
body.single-product div.product .summary,
body.single-product div.product .tier-body,
body.single-product div.product .tier-body.whoop-product-panel-body {
	float: none !important;
	width: 100% !important;
	max-width: none !important;
	clear: none !important;
	margin: 0 !important;
	padding: 12px 22px 12px !important;
	align-self: stretch !important;
}

body.single-product div.product .images,
body.single-product div.product .woocommerce-product-gallery,
body.single-product div.product .woocommerce-product-gallery__wrapper {
	float: none !important;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
}

body.single-product div.product .woocommerce-product-gallery__wrapper {
	min-height: 100% !important;
}

body.single-product div.product .whoop-product-panel-visual,
body.single-product div.product .whoop-product-panel-visual--custom {
	display: flex !important;
	width: 100% !important;
	min-height: 100% !important;
}

body.single-product div.product .whoop-product-panel-visual img,
body.single-product div.product .whoop-product-panel-visual--custom img {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
	object-position: center !important;
}

body.single-product div.product .woocommerce-product-gallery {
	display: flex !important;
	align-items: stretch !important;
	justify-content: stretch !important;
	padding: 0 !important;
	min-height: 100% !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	background: transparent !important;
	width: 100% !important;
	overflow: hidden !important;
}

body.single-product div.product .woocommerce-product-gallery .woocommerce-product-gallery__wrapper {
	position: relative !important;
	top: auto !important;
	left: auto !important;
	opacity: 1 !important;
	width: 100% !important;
	height: auto !important;
	max-width: 100% !important;
	max-height: none !important;
	border-width: 0 !important;
}

body.single-product div.product .woocommerce-product-gallery__wrapper {
	width: 100% !important;
	border-radius: 0 !important;
	overflow: hidden !important;
	background: transparent !important;
}

body.single-product div.product .woocommerce-product-gallery__image {
	border-radius: 0 !important;
	overflow: hidden !important;
	background: transparent !important;
	height: 100% !important;
	display: flex !important;
}

body.single-product div.product .woocommerce-product-gallery__image img {
	width: 100% !important;
	height: 100% !important;
	max-height: none !important;
	object-fit: contain !important;
}

body.single-product div.product .woocommerce-product-gallery .flex-control-thumbs {
	display: grid !important;
	grid-template-columns: repeat(auto-fit, minmax(82px, 1fr)) !important;
	gap: 12px !important;
	margin-top: 16px !important;
}

body.single-product div.product .woocommerce-product-gallery .flex-control-thumbs li {
	border: 1px solid rgba(15, 23, 42, 0.1) !important;
	border-radius: 16px !important;
	overflow: hidden !important;
	background: #fff !important;
}

body.single-product div.product .woocommerce-product-gallery .woocommerce-product-gallery__trigger,
body.single-product div.product span.onsale {
	display: none !important;
}

body.single-product div.product .whoop-product-summary-card {
	display: grid !important;
	grid-template-columns: 1fr 1fr !important;
	grid-template-rows: auto auto auto auto auto auto !important;
	grid-template-areas:
		"certs    bundles"
		"title    bundles"
		"features bundles"
		"price    bundles"
		"actions  actions"
		".        ." !important;
	column-gap: 18px !important;
	row-gap: 0 !important;
	align-content: start !important;
	align-items: start !important;
	padding: 0 !important;
	margin: 0 !important;
	position: relative !important;
	min-height: auto !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	background: #fff !important;
}

body.single-product div.product .whoop-product-summary-card > .whoop-product-panel-certs { grid-area: certs !important; }
body.single-product div.product .whoop-product-summary-card > .product_title { grid-area: title !important; }
body.single-product div.product .whoop-product-summary-card > .whoop-product-panel-features { grid-area: features !important; }
body.single-product div.product .whoop-product-summary-card > .price { grid-area: price !important; }
body.single-product div.product .whoop-product-summary-card > .woocommerce-product-details__short-description { display: none !important; }
body.single-product div.product .whoop-product-summary-card > .whoop-product-panel-actions { grid-area: actions !important; }
body.single-product div.product .whoop-product-summary-card > .whoop-product-bundle-offers { grid-area: bundles !important; align-self: start !important; margin-top: 0 !important; }

body.single-product div.product .product_title {
	margin: 0 0 6px;
	font-size: clamp(1.85rem, 1.6vw, 2.3rem);
	line-height: 1;
	letter-spacing: -0.05em;
	font-weight: 800;
	color: #261246;
	max-width: none;
	white-space: normal;
	text-wrap: balance;
}

body.single-product div.product .whoop-product-panel-certs {
	display: flex;
	flex-wrap: nowrap;
	gap: 8px;
	margin: 0 0 4px;
	align-self: flex-start;
}

body.single-product div.product .whoop-product-panel-certs .tier-cert {
	width: 46px;
	height: 46px;
	padding: 4px;
	border: 1px solid rgba(47, 163, 242, 0.18);
	border-radius: 12px;
	background: #fff;
	flex: 0 0 46px;
}

body.single-product div.product .whoop-product-panel-certs img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

body.single-product div.product .whoop-product-panel-features {
	display: grid;
	gap: 4px;
	margin: 0 0 6px;
	padding: 0;
	color: #5b4f84;
	max-width: 100%;
	width: 100%;
}

body.single-product div.product .whoop-product-panel-features li {
	display: grid;
	grid-template-columns: 18px minmax(0, 1fr);
	gap: 8px;
	align-items: start;
	font-size: 0.89rem;
	line-height: 1.18;
	max-width: none;
}

body.single-product div.product .whoop-product-panel-features svg {
	margin-top: 4px;
	color: var(--primary, #2fa3f2);
}

body.single-product div.product .price {
	display: flex;
	flex-wrap: nowrap;
	align-items: baseline;
	gap: 12px;
	margin: 0 0 6px;
	font-size: clamp(1.08rem, 1vw, 1.34rem);
	font-weight: 800;
	color: #261246;
	white-space: nowrap;
}

body.single-product div.product .price del {
	color: #b8bec8;
	font-size: 0.74em;
}

body.single-product div.product .price ins {
	color: #261246;
	text-decoration: none;
}

body.single-product div.product .summary p {
	color: rgba(15, 23, 42, 0.72);
}

body.single-product div.product .woocommerce-product-details__short-description {
	display: none;
}

body.single-product div.product .woocommerce-product-details__short-description p:last-child {
	margin-bottom: 0;
}

body.single-product div.product .summary .cart {
	display: grid !important;
	grid-template-columns: 1fr !important;
	gap: 6px !important;
	align-items: stretch !important;
	margin: 0 0 6px !important;
}

body.single-product div.product form.cart {
	display: grid !important;
	grid-template-columns: 1fr !important;
	grid-template-areas:
		"quantity"
		"button" !important;
	gap: 6px !important;
	align-items: start !important;
	justify-items: start !important;
	width: 100% !important;
}

body.single-product div.product .summary .quantity {
	margin: 0;
}

body.single-product div.product form.cart .quantity,
body.single-product div.product .summary .quantity {
	display: inline-flex !important;
	flex-direction: row !important;
	align-items: center;
	justify-content: flex-start;
	gap: 10px;
	min-height: 44px;
	padding: 0;
	border: 0;
	border-radius: 0;
	overflow: visible;
	background: transparent;
	flex-wrap: nowrap !important;
	width: auto !important;
	grid-area: quantity;
}

body.single-product div.product form.cart .quantity.whoop-qty-inline {
	display: inline-flex !important;
	flex-direction: row !important;
	align-items: center !important;
	justify-content: flex-start !important;
}

body.single-product div.product .summary .quantity .qty {
	width: 72px;
	min-height: 44px;
	border: 1px solid rgba(15, 23, 42, 0.14);
	border-radius: 16px;
	background: #fff;
	padding: 0;
	font-weight: 700;
	text-align: center;
	appearance: textfield;
	-moz-appearance: textfield;
}

body.single-product div.product .summary .quantity .qty::-webkit-outer-spin-button,
body.single-product div.product .summary .quantity .qty::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

body.single-product div.product .whoop-qty-step {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 1px solid rgba(15, 23, 42, 0.12);
	border-radius: 999px;
	background: #f6f8fc;
	color: #22123f;
	font-size: 18px;
	font-weight: 500;
	line-height: 1;
	padding: 0;
	flex: 0 0 44px;
	order: 0;
}

body.single-product div.product .single_add_to_cart_button.button {
	width: 100% !important;
	min-width: 0 !important;
	min-height: 46px !important;
	border: 0 !important;
	border-radius: 16px !important;
	background: #261246 !important;
	box-shadow: none !important;
	color: #fff !important;
	font-weight: 800 !important;
	letter-spacing: 0.08em !important;
	text-transform: uppercase !important;
	grid-area: button !important;
	transition: all 0.2s ease !important;
}

body.single-product div.product .single_add_to_cart_button.button:hover {
	background: #2FA3F2 !important;
	box-shadow: 0 4px 16px rgba(47, 163, 242, 0.3) !important;
	transform: translateY(-1px) !important;
}

body.single-product div.product .whoop-product-panel-actions {
	display: flex !important;
	flex-direction: column !important;
	gap: 4px !important;
}

body.single-product div.product .whoop-product-bundle-offers {
	display: grid;
	gap: 6px;
	margin-top: 0;
}

body.single-product div.product .whoop-product-bundle-offers__heading {
	margin: 0;
	font-size: 1rem;
	font-weight: 800;
	letter-spacing: -0.02em;
	color: #261246;
}

body.single-product div.product .whoop-product-bundle-offers__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 6px;
}

body.single-product div.product .whoop-product-bundle-offer {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	align-items: center;
	gap: 4px;
	padding: 6px 8px;
	border-radius: 10px;
	background: linear-gradient(180deg, rgba(47, 163, 242, 0.08), rgba(38, 18, 70, 0.06));
	border: 1px solid rgba(47, 163, 242, 0.18);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

body.single-product div.product .whoop-product-bundle-offer__visual {
	display: flex;
	align-items: center;
	gap: 8px;
	min-width: 0;
}

body.single-product div.product .whoop-product-bundle-offer__visual img {
	width: 34px;
	height: 34px;
	object-fit: contain;
}

body.single-product div.product .whoop-product-bundle-offer__quantity {
	font-size: clamp(1.1rem, 1.4vw, 1.5rem);
	font-weight: 800;
	line-height: 0.9;
	letter-spacing: -0.06em;
	color: #261246;
}

body.single-product div.product .whoop-product-bundle-offer__body {
	min-width: 0;
}

body.single-product div.product .whoop-product-bundle-offer__title {
	margin: 0;
	font-size: 0.72rem;
	font-weight: 800;
	line-height: 1.02;
	color: #261246;
}

body.single-product div.product .whoop-product-bundle-offer__badge {
	display: inline-flex;
	align-items: center;
	min-height: 18px;
	padding: 0 6px;
	margin-top: 2px;
	border-radius: 999px;
	background: #2FA3F2;
	color: #fff;
	font-size: 0.62rem;
	font-weight: 800;
}

body.single-product div.product .whoop-product-bundle-offer__prices {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 6px;
	margin-top: 3px;
}

body.single-product div.product .whoop-product-bundle-offer__price {
	font-size: 0.9rem;
	font-weight: 800;
	color: #261246;
}

body.single-product div.product .whoop-product-bundle-offer__compare-price {
	font-size: 0.74rem;
	font-weight: 700;
	text-decoration: line-through;
	color: rgba(38, 18, 70, 0.46);
}

body.single-product div.product .whoop-product-bundle-offer__unit {
	display: inline-flex;
	align-items: center;
	min-height: 20px;
	padding: 0 5px;
	border-radius: 999px;
	background: rgba(38, 18, 70, 0.08);
	color: rgba(38, 18, 70, 0.72);
	font-size: 0.64rem;
	font-weight: 700;
}

body.single-product div.product .whoop-product-panel-secondary-cta {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 100% !important;
	min-height: 46px !important;
	border: 1px solid rgba(177, 129, 219, 0.8) !important;
	border-radius: 16px !important;
	background: #fff !important;
	color: #5a477f !important;
	font-size: 1rem !important;
	font-weight: 700 !important;
	letter-spacing: 0.04em !important;
	transition: all 0.2s ease !important;
	text-decoration: none !important;
}

body.single-product div.product .whoop-product-panel-secondary-cta:hover {
	background: #261246 !important;
	color: #fff !important;
	border-color: #261246 !important;
	box-shadow: 0 4px 16px rgba(38, 18, 70, 0.25) !important;
	transform: translateY(-1px) !important;
}

body.single-product div.product .whoop-product-panel-trust-strip {
	margin-top: 16px;
	padding-top: 0;
	border-top: 0;
	color: #6b5c92;
}

body.single-product div.product .product_meta {
	margin-top: 0;
	padding-top: 0;
	border-top: 0;
	color: rgba(15, 23, 42, 0.68);
	font-size: 0.96rem;
	display: none;
}

body.single-product div.product .product_meta > span {
	display: block;
}

body.single-product div.product .summary.entry-summary {
	display: flex;
	flex-direction: column;
	height: 100%;
}

body.single-product div.product .summary.entry-summary > .price,
body.single-product div.product .summary.entry-summary > form.cart,
body.single-product div.product .summary.entry-summary > .product_meta {
	width: 100%;
}

body.single-product div.product .summary.entry-summary > form.cart {
	margin-top: 4px;
}

body.single-product div.product .whoop-product-details {
	padding: clamp(22px, 2.5vw, 34px);
}

body.single-product div.product .woocommerce-tabs {
	margin: 0;
}

body.single-product div.product .woocommerce-tabs ul.tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0 0 20px;
	padding: 0;
	border: 0;
}

body.single-product div.product .woocommerce-tabs ul.tabs::before,
body.single-product div.product .woocommerce-tabs ul.tabs::after {
	display: none;
}

body.single-product div.product .woocommerce-tabs ul.tabs li {
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	border-radius: 999px;
}

body.single-product div.product .woocommerce-tabs ul.tabs li::before,
body.single-product div.product .woocommerce-tabs ul.tabs li::after {
	display: none;
}

body.single-product div.product .woocommerce-tabs ul.tabs li a {
	display: inline-flex;
	align-items: center;
	min-height: 46px;
	padding: 0 18px;
	border: 1px solid rgba(15, 23, 42, 0.12);
	border-radius: 999px;
	background: #f6f8fc;
	color: rgba(15, 23, 42, 0.68);
	font-size: 0.95rem;
	font-weight: 700;
}

body.single-product div.product .woocommerce-tabs ul.tabs li.active a,
body.single-product div.product .woocommerce-tabs ul.tabs li a:hover {
	background: #000;
	border-color: #000;
	color: #fff;
}

body.single-product div.product .woocommerce-Tabs-panel {
	margin: 0;
	padding: 28px;
	border: 0 !important;
	border-radius: 24px;
	background: #fff;
	box-shadow: none;
}

body.single-product div.product .woocommerce-Tabs-panel--description.panel.entry-content.wc-tab {
	border: 0 !important;
	box-shadow: none !important;
}

body.single-product div.product .woocommerce-Tabs-panel > h2:first-child {
	display: none;
}

body.single-product div.product .woocommerce-Tabs-panel p,
body.single-product div.product .woocommerce-Tabs-panel li {
	color: rgba(15, 23, 42, 0.8);
	font-size: 1rem;
	line-height: 1.75;
}

body.single-product div.product .woocommerce-Tabs-panel img {
	width: 100%;
	height: auto;
	border-radius: 20px;
	margin-top: 18px;
}

body.single-product .product-steps,
body.single-product .product-note {
	margin-top: 22px;
}

body.single-product .product-steps .container,
body.single-product .product-note .container {
	max-width: none;
	padding: 0;
}

body.single-product .product-steps-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
}

body.single-product .product-steps-card {
	padding: 22px 20px;
	border: 1px solid rgba(15, 23, 42, 0.08);
	border-radius: 22px;
	background: #fff;
	box-shadow: none;
}

body.single-product .product-steps-card-bar {
	display: none;
}

body.single-product .product-steps-label {
	display: inline-flex;
	align-items: center;
	min-height: 28px;
	padding: 0 10px;
	margin-bottom: 14px;
	border-radius: 999px;
	background: #edf3fb;
	color: rgba(15, 23, 42, 0.7);
	font-size: 0.74rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

body.single-product .product-steps-copy h3 {
	margin: 0 0 10px;
	font-size: 1.1rem;
	line-height: 1.35;
	color: var(--text, #000);
}

body.single-product .product-steps-copy p {
	margin: 0;
	color: rgba(15, 23, 42, 0.74);
	line-height: 1.65;
}

body.single-product .product-note-row {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 18px 20px;
	border: 1px solid rgba(15, 23, 42, 0.08);
	border-radius: 18px;
	background: #f7fafc;
}

body.single-product .product-note-icon {
	flex: 0 0 auto;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: rgba(47, 163, 242, 0.12);
	color: var(--primary, #2fa3f2);
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

/* ——— Mobile hero cleanup ——— */
@media (max-width: 880px) {
	body.single-product .hero :where(.logo, .custom-logo-link, .custom-logo, .hero-brandmark, .hero-logo) {
		display: none !important;
	}

	body.single-product .page-article {
		width: min(100%, calc(100% - 18px)) !important;
		padding-top: calc(var(--header-h, 101px) + 8px) !important;
	}

	body.single-product div.product .whoop-product-hero {
		display: block;
	}

	body.single-product div.product .tier-shell,
	body.single-product div.product .whoop-product-panel-shell {
		grid-template-columns: 1fr !important;
	}

	body.single-product div.product .tier-media,
	body.single-product div.product .whoop-product-panel-media {
		border-right: 0 !important;
		border-bottom: 1px solid rgba(15, 23, 42, 0.08) !important;
		min-height: 280px !important;
		flex-direction: column !important;
		align-items: center !important;
		justify-content: center !important;
	}

	body.single-product div.product .whoop-product-panel-visual,
	body.single-product div.product .whoop-product-panel-visual--custom {
		width: 100% !important;
		justify-content: center !important;
		align-items: center !important;
	}

	body.single-product div.product .whoop-product-panel-visual img,
	body.single-product div.product .whoop-product-panel-visual--custom img {
		width: 100% !important;
		max-width: 400px !important;
		height: auto !important;
		object-fit: contain !important;
		margin: 0 auto !important;
	}

	body.single-product div.product .woocommerce-product-gallery {
		align-items: center !important;
		justify-content: center !important;
	}

	body.single-product div.product .woocommerce-product-gallery__image {
		justify-content: center !important;
		align-items: center !important;
	}

	body.single-product div.product .woocommerce-product-gallery__image img {
		max-height: 340px !important;
		width: auto !important;
		max-width: 100% !important;
		margin: 0 auto !important;
		object-fit: contain !important;
	}

	body.single-product div.product .woocommerce-product-gallery,
	body.single-product div.product .whoop-product-summary-card {
		min-height: auto !important;
	}

	body.single-product div.product .woocommerce-product-gallery {
		padding: 0 !important;
		min-height: auto !important;
	}

	body.single-product div.product .whoop-product-summary-card {
		grid-template-columns: 1fr !important;
		grid-template-areas:
			"certs"
			"title"
			"features"
			"price"
			"actions"
			"bundles" !important;
		padding: 16px 14px 18px !important;
		margin-top: 0 !important;
		row-gap: 0 !important;
	}

	body.single-product div.product .whoop-product-summary-card > .whoop-product-bundle-offers {
		margin-top: 14px !important;
	}

	body.single-product div.product .whoop-product-bundle-offers__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}

	body.single-product div.product .tier-body,
	body.single-product div.product .tier-body.whoop-product-panel-body {
		padding: 14px 14px 18px !important;
	}

	body.single-product div.product .whoop-product-panel-features li {
		max-width: none;
		font-size: 0.95rem;
	}

	body.single-product div.product .whoop-product-panel-certs .tier-cert {
		width: 56px;
		height: 56px;
		flex-basis: 56px;
	}

	body.single-product div.product .summary .cart {
		grid-template-columns: 1fr;
	}

	body.single-product div.product form.cart {
		grid-template-columns: 1fr;
		justify-items: stretch;
	}

	body.single-product div.product .summary .quantity {
		justify-content: center;
		width: 100% !important;
		gap: 10px;
	}

	body.single-product div.product .whoop-qty-step {
		width: 50px;
		height: 50px;
		flex-basis: 50px;
	}

	body.single-product div.product .summary .quantity .qty {
		width: 84px;
		min-height: 50px;
	}

	body.single-product div.product .single_add_to_cart_button.button,
	body.single-product div.product .whoop-product-panel-secondary-cta {
		width: 100%;
		min-width: 0;
		min-height: 44px;
	}

	body.single-product div.product .whoop-product-panel-actions {
		gap: 4px;
	}

	body.single-product div.product .whoop-product-bundle-offers {
		margin-top: 12px;
	}

	body.single-product div.product .whoop-product-bundle-offers__grid {
		grid-template-columns: 1fr;
	}

	body.single-product div.product .whoop-product-bundle-offer {
		grid-template-columns: 1fr;
		gap: 10px;
		padding: 14px;
	}

	body.single-product div.product .whoop-product-bundle-offer__visual {
		justify-content: flex-start;
	}

	body.single-product div.product .whoop-product-details {
		padding: 18px;
	}

	body.single-product div.product .woocommerce-Tabs-panel {
		padding: 18px;
	}

	body.single-product .product-steps-grid {
		grid-template-columns: 1fr;
	}
}
