/**
 * BlueGam single-product presentation.
 *
 * WooCommerce remains responsible for product data, gallery behavior,
 * variation state, reviews, related-product queries, and add-to-cart actions.
 * The integration layer is responsible for enqueueing this stylesheet after
 * the UI system and WooCommerce commerce bridge.
 */

.bg-single-product {
	background-color: var(--wp--preset--color--surface);
	overflow-x: clip;
}

.bg-single-product img {
	height: auto;
	max-inline-size: 100%;
}

body.single-product .wp-site-blocks > .wp-block-group.woocommerce.product {
	background-color: var(--wp--preset--color--surface);
	margin-block-start: 0;
}

body.single-product {
	overflow-x: clip;
}

.bg-single-product.bluegam-shell {
	max-inline-size: none;
	padding-block: 0;
	padding-inline: 0;
}

.bg-single-product__inner,
.bg-single-product .wp-block-woocommerce-single-product,
.bg-single-product__summary,
.bg-single-product__visual,
.bg-single-product__purchase {
	min-inline-size: 0;
}

.bg-single-product__inner {
	--bg-single-product-hero-gutter: var(--wp--custom--layout--container-padding--desktop);

	padding-block: 0 var(--wp--preset--spacing--110);
	padding-inline: var(--wp--custom--layout--container-padding--desktop);
}

.bg-product-section-nav[hidden],
.bg-product-section-nav a[hidden] {
	display: none;
}

.bg-product-section-nav {
	background: color-mix(in srgb, var(--wp--preset--color--surface) 94%, transparent);
	border-block: 1px solid var(--wp--preset--color--border);
	box-shadow: 0 6px 18px rgba(3, 42, 87, 0.06);
	margin-inline: calc(-1 * var(--bg-single-product-hero-gutter));
	padding-inline: var(--bg-single-product-hero-gutter);
	position: sticky;
	inset-block-start: var(--wp-admin--admin-bar--height, 0px);
	z-index: 40;
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
}

.bg-product-section-nav__track {
	box-sizing: border-box;
	display: flex;
	gap: 4px;
	inline-size: 100%;
	justify-content: center;
	margin-inline: auto;
	max-inline-size: 900px;
	min-block-size: 58px;
	overflow-x: auto;
	overscroll-behavior-inline: contain;
	padding-block: 7px;
	scrollbar-width: none;
}

.bg-product-section-nav__track::-webkit-scrollbar {
	display: none;
}

.bg-product-section-nav a {
	align-items: center;
	border: 1px solid transparent;
	border-radius: 999px;
	color: var(--wp--preset--color--text-secondary);
	display: inline-flex;
	flex: 0 0 auto;
	font-size: 13px;
	font-weight: 700;
	justify-content: center;
	line-height: 1.3;
	min-block-size: 44px;
	padding-inline: 15px;
	text-decoration: none;
	transition: background-color 150ms ease-out, border-color 150ms ease-out, color 150ms ease-out;
}

.bg-product-section-nav a:hover,
.bg-product-section-nav a[aria-current="location"] {
	background-color: var(--wp--preset--color--blue-50);
	border-color: var(--wp--preset--color--blue-100);
	color: var(--wp--preset--color--primary);
}

.bg-product-section-nav a:focus-visible {
	outline: 3px solid var(--wp--preset--color--primary);
	outline-offset: -3px;
}

.bg-single-product [data-bg-product-section-anchor] {
	scroll-margin-block-start: calc(var(--wp-admin--admin-bar--height, 0px) + 72px);
}

.bg-single-product__breadcrumbs {
	color: var(--wp--preset--color--text-muted);
	font-size: 12px !important;
	isolation: isolate;
	margin-block: 0;
	padding-block: 10px;
	position: relative;
}

.bg-single-product__breadcrumbs::before {
	background-color: var(--wp--preset--color--surface);
	content: "";
	inset-block: 0;
	left: 50%;
	position: absolute;
	transform: translateX(-50%);
	width: 100vw;
	z-index: -1;
}

.bg-single-product__breadcrumbs :where(a, span) {
	line-height: var(--wp--custom--typography--line-height--compact);
}

.bg-single-product__breadcrumbs .woocommerce-breadcrumb {
	font-size: inherit;
	line-height: 1.6;
	margin: 0;
}

.bg-single-product__breadcrumbs a {
	color: var(--wp--preset--color--primary);
	font-weight: 600;
	text-decoration-line: underline;
	text-decoration-skip-ink: auto;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.22em;
}

.bg-single-product__breadcrumbs a:hover {
	color: var(--wp--preset--color--primary-hover);
	text-decoration-thickness: 2px;
}

.bg-single-product__breadcrumbs a:focus-visible,
.bg-single-product a:focus-visible,
.bg-product-faq__item summary:focus-visible {
	border-radius: var(--wp--custom--radius--small);
	outline: 3px solid var(--wp--preset--color--primary);
	outline-offset: 3px;
}

.bg-single-product__notices {
	margin-block: 0 var(--wp--preset--spacing--50);
}

.bg-single-product__notices:has(.woocommerce-notices-wrapper:empty) {
	display: none;
}

.bg-single-product .wp-block-woocommerce-single-product {
	display: grid;
	gap: clamp(var(--wp--preset--spacing--100), 8vw, var(--wp--preset--spacing--120));
	grid-template-columns: minmax(0, 1fr);
	inline-size: 100%;
	margin-block-start: 0;
}

/* Hero */

.bg-single-product__hero {
	align-items: stretch;
	background-color: var(--wp--preset--color--surface);
	border-block: 0;
	border-inline: 0;
	border-radius: 0;
	direction: ltr;
	display: grid;
	column-gap: clamp(32px, 3.5vw, 64px);
	grid-template-areas:
		"summary visual"
		"purchase visual";
	grid-template-columns: minmax(0, 1.7fr) minmax(380px, 1fr);
	inline-size: 100vw !important;
	max-inline-size: none !important;
	margin-block: 0;
	margin-left: calc(50% - 50vw) !important;
	margin-right: calc(50% - 50vw) !important;
	overflow: clip;
	padding-block: clamp(20px, 2.25vw, 32px);
	padding-inline: clamp(32px, 5vw, 96px);
	row-gap: 0;
}

.bg-single-product__summary {
	align-content: start;
	direction: rtl;
	display: grid;
	gap: 10px;
	grid-area: summary;
	position: relative;
}

.bg-single-product__hero > *,
.bg-single-product__summary > * {
	margin-block-start: 0;
	margin-block-end: 0;
}

.bg-single-product__visual {
	align-self: start;
	background-color: var(--wp--preset--color--surface);
	border: 0;
	border-radius: 0;
	box-shadow: none;
	direction: rtl;
	grid-area: visual;
	margin: 0;
	overflow: visible;
	padding: 0;
	position: static;
}

.bg-single-product__purchase {
	border-block-start: 1px solid var(--wp--preset--color--border);
	border-inline: 0;
	border-block-end: 0;
	border-radius: 0;
	direction: rtl;
	display: grid;
	gap: var(--wp--preset--spacing--10);
	grid-area: purchase;
	margin-block-start: var(--wp--preset--spacing--20);
	padding: var(--wp--preset--spacing--30) 0 0;
}

.bg-single-product__sale-badge {
	justify-self: start;
	margin: 0;
}

.bg-single-product__sale-badge .wc-block-components-product-sale-badge {
	background-color: color-mix(in srgb, var(--wp--preset--color--error) 8%, var(--wp--preset--color--surface));
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--error) 30%, var(--wp--preset--color--surface));
	border-radius: 6px;
	color: color-mix(in srgb, var(--wp--preset--color--error) 78%, var(--wp--preset--color--text-primary));
	font-size: var(--wp--preset--font-size--caption);
	font-weight: 700;
	line-height: var(--wp--custom--typography--line-height--compact);
	min-block-size: var(--wp--preset--spacing--60);
	padding-block: 2px;
	padding-inline: var(--wp--preset--spacing--20);
}

.bg-single-product__title {
	color: var(--wp--preset--color--text-primary);
	font-size: clamp(20px, 1.35vw, 23px);
	font-weight: 750;
	letter-spacing: -0.012em;
	line-height: 1.4;
	margin: 0;
	overflow-wrap: anywhere;
	padding-inline-end: 52px;
	text-align: start;
}

.bg-wishlist-toggle--single {
	align-items: center;
	background-color: var(--wp--preset--color--blue-50);
	border: 1px solid transparent;
	block-size: 44px;
	border-color: var(--wp--preset--color--border);
	border-radius: 8px;
	color: var(--wp--preset--color--text-secondary);
	cursor: pointer;
	display: inline-flex;
	font-family: inherit;
	font-size: 13px;
	font-weight: 700;
	gap: 0;
	inset-block-start: 0;
	inset-inline-end: 0;
	inline-size: 44px;
	justify-content: center;
	margin: 0;
	min-block-size: 44px;
	padding: 0;
	position: absolute;
}

.bg-wishlist-toggle--single .bg-wishlist-toggle__label {
	block-size: 1px;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	inline-size: 1px;
	overflow: hidden;
	position: absolute;
	white-space: nowrap;
}

.bg-wishlist-toggle--single:hover,
.bg-wishlist-toggle--single.is-active {
	background-color: var(--wp--preset--color--blue-50);
	border-color: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--primary);
}

.bg-wishlist-toggle--single:focus-visible {
	outline: 3px solid var(--wp--preset--color--primary);
	outline-offset: 2px;
}

.bg-wishlist-toggle--single svg {
	block-size: 19px;
	fill: transparent;
	inline-size: 19px;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.8;
}

.bg-wishlist-toggle--single.is-active svg {
	fill: currentColor;
}

.bg-single-product__short-description,
.bg-single-product__price {
	margin: 0;
}

.bg-single-product__short-description,
.bg-single-product__short-description .wc-block-components-product-summary {
	color: var(--wp--preset--color--text-secondary);
	font-size: 13px;
	font-weight: 450;
	line-height: 1.65;
	max-inline-size: 66ch;
}

.bg-single-product__short-description :where(p, ul, ol) {
	margin-block: 0 var(--wp--preset--spacing--20);
}

.bg-single-product__short-description > :last-child,
.bg-single-product__short-description .wc-block-components-product-summary > :last-child {
	margin-block-end: 0;
}

.bg-single-product__short-description.is-collapsible {
	max-block-size: 1.65em;
	overflow: hidden;
	-webkit-mask-image: linear-gradient(to right, transparent 0, #000 42px, #000 100%);
	mask-image: linear-gradient(to right, transparent 0, #000 42px, #000 100%);
	transition: max-block-size 220ms ease;
}

.bg-single-product__short-description.is-collapsible.is-expanded {
	max-block-size: 80rem;
	-webkit-mask-image: none;
	mask-image: none;
}

.bg-product-description-toggle {
	align-items: center;
	appearance: none;
	background: transparent;
	border: 0;
	border-radius: 6px;
	color: var(--wp--preset--color--primary);
	cursor: pointer;
	display: inline-flex;
	font: inherit;
	font-size: var(--wp--preset--font-size--caption);
	font-weight: 750;
	gap: 6px;
	justify-self: start;
	min-block-size: 30px;
	padding: 3px 0;
}

.bg-product-description-toggle:hover {
	color: var(--wp--preset--color--primary-hover);
}

.bg-product-description-toggle:focus-visible {
	outline: 3px solid color-mix(in srgb, var(--wp--preset--color--primary) 26%, transparent);
	outline-offset: 2px;
}

.bg-product-description-toggle svg {
	block-size: 16px;
	inline-size: 16px;
	transition: transform 180ms ease;
}

.bg-product-description-toggle[aria-expanded="true"] svg {
	transform: rotate(180deg);
}

.bg-single-product__price {
	border-block-start: 1px solid var(--wp--preset--color--border);
	border-block-end: 0;
	border-inline: 0;
	border-radius: 0;
	order: 5;
	padding-block: var(--wp--preset--spacing--20) 0;
	padding-inline: 0;
}

.bg-single-product__price .wc-block-components-product-price {
	align-items: baseline;
	color: var(--wp--preset--color--text-primary);
	display: flex;
	flex-wrap: wrap;
	gap: var(--wp--preset--spacing--10);
	line-height: var(--wp--custom--typography--line-height--compact);
}

.bg-product-primary-price__label {
	color: var(--wp--preset--color--text-muted);
	flex-basis: 100%;
	font-size: var(--wp--preset--font-size--caption);
	font-weight: 700;
	letter-spacing: 0;
}

.bg-product-primary-price__value,
.bg-product-primary-price__value > .price {
	align-items: baseline;
	display: inline-flex;
	flex-wrap: wrap;
	font-size: clamp(30px, 2.35vw, 36px);
	font-weight: 850;
	gap: var(--wp--preset--spacing--10);
	letter-spacing: -0.025em;
	line-height: var(--wp--custom--typography--line-height--compact);
	margin: 0;
}

.bg-single-product__price .woocommerce-Price-currencySymbol {
	color: var(--wp--preset--color--text-secondary);
	font-size: 0.48em;
	font-weight: 750;
	letter-spacing: 0;
}

.bg-single-product__price :where(bdi, .woocommerce-Price-amount),
.bg-plan-card__price :where(bdi, .woocommerce-Price-amount),
.bg-product-sticky-purchase__price :where(bdi, .woocommerce-Price-amount) {
	direction: ltr;
	unicode-bidi: isolate;
}

.bg-single-product__price del,
.bg-plan-card__price del,
.bg-product-sticky-purchase__price del {
	color: var(--wp--preset--color--text-muted);
	font-size: 0.62em;
	font-weight: 600;
	opacity: 1;
}

.bg-single-product__price ins,
.bg-plan-card__price ins,
.bg-product-sticky-purchase__price ins {
	color: var(--wp--preset--color--primary-active);
	text-decoration: none;
}

/* WooCommerce gallery bridge */

.bg-single-product__gallery {
	gap: var(--wp--preset--spacing--30);
	inline-size: min(100%, 560px);
	margin: 0 auto;
}

.bg-single-product__gallery .wc-block-product-gallery-large-image {
	aspect-ratio: 1 / 1;
	background-color: transparent;
	border: 0;
	border-radius: 0;
	min-block-size: 0;
	overflow: hidden;
}

.bg-single-product__gallery .wc-block-product-gallery-large-image__container {
	background-color: transparent;
	block-size: 100%;
	margin: 0;
	scroll-behavior: auto;
}

.bg-single-product__gallery .wc-block-product-gallery-large-image__wrapper,
.bg-single-product__gallery .wc-block-components-product-image,
.bg-single-product__gallery .wc-block-components-product-image__inner-container {
	block-size: 100%;
	inline-size: 100%;
}

.bg-single-product__gallery .wc-block-woocommerce-product-gallery-large-image__image,
.bg-single-product__gallery .wc-block-components-product-image img {
	block-size: 100%;
	cursor: default;
	display: block;
	inline-size: 100%;
	object-fit: contain;
	object-position: center;
	padding: clamp(10px, 1.5vw, 24px);
	transform: none !important;
	transition: none !important;
	will-change: auto;
}

.bg-single-product__gallery :where(
	.wc-block-product-gallery-large-image__placeholder,
	.wc-block-components-product-image__placeholder,
	.wc-block-components-product-image__image--placeholder
) {
	align-items: center;
	background-color: var(--wp--preset--color--surface-soft);
	color: var(--wp--preset--color--text-light);
	display: flex;
	justify-content: center;
	min-block-size: 360px;
}

.bg-single-product__gallery .wc-block-product-gallery-thumbnails__thumbnail {
	background-color: var(--wp--preset--color--surface);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: var(--wp--custom--radius--small);
	min-block-size: var(--wp--custom--control--min-size);
	min-inline-size: var(--wp--custom--control--min-size);
	overflow: hidden;
}

.bg-single-product__gallery .wc-block-product-gallery-thumbnails__thumbnail:focus-visible,
.bg-single-product__gallery .wc-block-next-previous-buttons__button:focus-visible {
	outline: 3px solid var(--wp--preset--color--primary);
	outline-offset: 2px;
}

.bg-single-product__gallery .wc-block-next-previous-buttons__button {
	min-block-size: var(--wp--custom--control--min-size);
	min-inline-size: var(--wp--custom--control--min-size);
}

/* Trust and plan selection */

.bg-product-purchase {
	display: contents;
}

.bg-product-trust {
	border-block-start: 1px solid var(--wp--preset--color--border);
	margin-block-start: var(--wp--preset--spacing--20);
	padding-block-start: var(--wp--preset--spacing--10);
}

.bg-product-trust__list {
	display: grid;
	list-style: none;
	margin: 0;
	padding: 0;
}

.bg-product-trust__row {
	align-items: center;
	display: grid;
	gap: var(--wp--preset--spacing--20);
	grid-template-columns: 28px minmax(88px, auto) minmax(0, 1fr);
	min-block-size: 44px;
	padding-block: var(--wp--preset--spacing--20);
}

.bg-product-trust__row + .bg-product-trust__row {
	border-block-start: 1px solid var(--wp--preset--color--border);
}

.bg-product-trust__icon {
	align-items: center;
	background-color: var(--wp--preset--color--blue-50);
	block-size: 28px;
	border: 1px solid var(--wp--preset--color--blue-100);
	border-radius: 6px;
	color: var(--wp--preset--color--primary);
	display: inline-flex;
	inline-size: 28px;
	justify-content: center;
}

.bg-product-trust__icon svg {
	block-size: 15px;
	inline-size: 15px;
}

.bg-product-trust__label,
.bg-product-trust__value {
	font-size: var(--wp--preset--font-size--caption);
	line-height: var(--wp--custom--typography--line-height--compact);
	min-inline-size: 0;
}

.bg-product-trust__label {
	color: var(--wp--preset--color--text-muted);
	font-weight: 650;
}

.bg-product-trust__value {
	color: var(--wp--preset--color--text-primary);
	font-weight: 750;
	overflow-wrap: anywhere;
	text-align: start;
}

.bg-product-trust__row[data-bg-trust-state="available"] .bg-product-trust__value {
	color: color-mix(in srgb, var(--wp--preset--color--success) 76%, var(--wp--preset--color--text-primary));
}

.bg-product-trust__row[data-bg-trust-state="unavailable"] .bg-product-trust__value {
	color: var(--wp--preset--color--error);
}

.bg-product-installments {
	background-color: var(--wp--preset--color--surface-soft);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 8px;
	display: grid;
	gap: var(--wp--preset--spacing--20);
	order: 6;
	padding: var(--wp--preset--spacing--20) var(--wp--preset--spacing--30);
}

.bg-product-installments__header {
	align-items: center;
	display: grid;
	gap: var(--wp--preset--spacing--20);
	grid-template-columns: 32px minmax(0, 1fr) auto;
}

.bg-product-installments__icon {
	align-items: center;
	background-color: var(--wp--preset--color--blue-50);
	border: 1px solid var(--wp--preset--color--blue-100);
	border-radius: var(--wp--custom--radius--small);
	color: var(--wp--preset--color--primary);
	display: inline-flex;
	block-size: 32px;
	inline-size: 32px;
	justify-content: center;
}

.bg-product-installments__icon svg {
	block-size: 16px;
	inline-size: 16px;
}

.bg-product-installments__heading {
	display: grid;
	gap: 2px;
	min-inline-size: 0;
}

.bg-product-installments :where(h2, p, dl, dt, dd) {
	margin: 0;
}

.bg-product-installments__eyebrow {
	color: var(--wp--preset--color--text-muted);
	font-size: var(--wp--preset--font-size--caption);
	font-weight: 600;
}

.bg-product-installments__title {
	color: var(--wp--preset--color--text-primary);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 800;
	line-height: var(--wp--custom--typography--line-height--compact);
}

.bg-product-installments__link {
	align-items: center;
	background-color: var(--wp--preset--color--surface);
	border: 1px solid var(--wp--preset--color--primary);
	border-radius: 6px;
	color: var(--wp--preset--color--primary-active);
	display: inline-flex;
	font-size: var(--wp--preset--font-size--caption);
	font-weight: 750;
	justify-content: center;
	min-block-size: 34px;
	padding-inline: var(--wp--preset--spacing--30);
	text-decoration: none;
	white-space: nowrap;
}

.bg-product-installments__link:focus-visible {
	border-radius: 4px;
	outline: 3px solid color-mix(in srgb, var(--wp--preset--color--primary) 28%, transparent);
	outline-offset: 2px;
}

.bg-product-installments__providers {
	display: grid;
	gap: var(--wp--preset--spacing--20);
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bg-product-installments__provider {
	align-items: center;
	background-color: var(--wp--preset--color--surface);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 6px;
	display: flex;
	gap: var(--wp--preset--spacing--20);
	min-inline-size: 0;
	padding: var(--wp--preset--spacing--20);
}

.bg-product-installments__provider strong {
	color: var(--wp--preset--color--text-secondary);
	font-size: var(--wp--preset--font-size--caption);
	font-weight: 750;
}

.bg-product-installments__provider-icon {
	align-items: center;
	background-color: color-mix(in srgb, var(--wp--preset--color--success) 12%, var(--wp--preset--color--surface));
	block-size: 22px;
	border-radius: 50%;
	color: var(--wp--preset--color--success);
	display: inline-flex;
	flex: 0 0 22px;
	font-size: 12px;
	font-weight: 850;
	inline-size: 22px;
	justify-content: center;
}

.bg-product-installments__notice {
	color: var(--wp--preset--color--text-muted);
	font-size: var(--wp--preset--font-size--caption);
	line-height: var(--wp--custom--typography--line-height--body);
}

/* Selectable products configured through WooCommerce > Linked Products. */

.bg-product-together {
	display: grid;
	gap: 6px;
	grid-column: 1 / -1;
	min-inline-size: 0;
}

.bg-product-together__title {
	color: var(--wp--preset--color--text-primary);
	font-size: 15px;
	font-weight: 800;
	line-height: var(--wp--custom--typography--line-height--compact);
	margin: 0;
	text-align: start;
}

.bg-product-together__list {
	display: grid;
	gap: 10px;
	grid-template-columns: repeat(3, minmax(0, 230px));
	justify-content: start;
	min-inline-size: 0;
}

.bg-product-together__card {
	background-color: var(--wp--preset--color--surface);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 8px;
	color: var(--wp--preset--color--text-primary);
	cursor: pointer;
	display: grid;
	grid-template-rows: 100px minmax(0, 1fr);
	min-block-size: 178px;
	min-inline-size: 0;
	overflow: hidden;
	position: relative;
	transition: border-color 140ms ease, box-shadow 140ms ease, background-color 140ms ease;
}

.bg-product-together__card:hover {
	border-color: var(--wp--preset--color--blue-200);
}

.bg-product-together__card:has(.bg-product-together__checkbox:checked) {
	background-color: color-mix(in srgb, var(--wp--preset--color--blue-50) 58%, var(--wp--preset--color--surface));
	border-color: var(--wp--preset--color--primary);
	box-shadow: inset 0 0 0 1px var(--wp--preset--color--primary);
}

.bg-product-together__checkbox {
	accent-color: var(--wp--preset--color--primary);
	block-size: 18px;
	cursor: pointer;
	inline-size: 18px;
	inset-block-start: 8px;
	inset-inline-end: 8px;
	margin: 0;
	position: absolute;
	z-index: 1;
}

.bg-product-together__checkbox:focus-visible {
	outline: 3px solid color-mix(in srgb, var(--wp--preset--color--primary) 28%, transparent);
	outline-offset: 2px;
}

.bg-product-together__image {
	align-items: center;
	background-color: var(--wp--preset--color--surface);
	display: flex;
	justify-content: center;
	overflow: hidden;
	padding: 8px 12px;
}

.woocommerce .bg-product-together__image-element {
	block-size: 100%;
	display: block;
	inline-size: 100%;
	max-block-size: 100%;
	max-inline-size: 100%;
	object-fit: contain;
	object-position: center;
}

.bg-product-together__content {
	display: grid;
	gap: 4px;
	grid-template-rows: minmax(34px, auto) auto;
	padding: 7px 8px 8px;
	text-align: start;
}

.bg-product-together__name {
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	display: -webkit-box;
	font-size: 11px;
	font-weight: 650;
	line-height: 1.55;
	overflow: hidden;
	overflow-wrap: anywhere;
}

.bg-product-together__price {
	align-items: baseline;
	display: flex;
	flex-wrap: wrap;
	font-size: 13px;
	font-weight: 850;
	gap: 5px;
	line-height: var(--wp--custom--typography--line-height--compact);
}

.bg-product-together__price del {
	color: var(--wp--preset--color--text-light);
	font-size: 10px;
	font-weight: 500;
}

.bg-product-together__price ins {
	color: var(--wp--preset--color--error);
	text-decoration: none;
}

.bg-product-together__selection,
.bg-product-together__choose-hint {
	display: block;
	font-size: 10px;
	font-weight: 650;
	line-height: 1.45;
}

.bg-product-together__selection {
	color: var(--wp--preset--color--success);
}

.bg-product-together__choose-hint {
	color: var(--wp--preset--color--text-muted);
}

.bg-product-together__selection[hidden],
.bg-product-together__choose-hint[hidden],
.bg-product-together-modal[hidden] {
	display: none !important;
}

html.has-bg-together-modal {
	overflow: hidden;
}

.bg-product-together-modal {
	align-items: center;
	direction: rtl;
	display: flex;
	inset: 0;
	justify-content: center;
	padding: 20px;
	position: fixed;
	z-index: 100010;
}

.bg-product-together-modal__backdrop {
	background: rgb(3 22 45 / 64%);
	border: 0;
	inset: 0;
	margin: 0;
	padding: 0;
	position: absolute;
}

.bg-product-together-modal__panel {
	background: var(--wp--preset--color--surface);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 16px;
	box-shadow: 0 22px 70px rgb(3 22 45 / 24%);
	display: grid;
	gap: 18px;
	inline-size: min(100%, 560px);
	max-block-size: min(760px, calc(100dvh - 40px));
	overflow: auto;
	padding: 24px;
	position: relative;
	z-index: 1;
}

.bg-product-together-modal__close {
	align-items: center;
	background: var(--wp--preset--color--blue-50);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 50%;
	color: var(--wp--preset--color--text-secondary);
	cursor: pointer;
	display: inline-flex;
	font-size: 24px;
	block-size: 36px;
	inset-block-start: 16px;
	inset-inline-end: 16px;
	justify-content: center;
	line-height: 1;
	padding: 0 0 3px;
	position: absolute;
	inline-size: 36px;
}

.bg-product-together-modal__close:hover {
	background: var(--wp--preset--color--blue-100);
	color: var(--wp--preset--color--text-primary);
}

.bg-product-together-modal__summary {
	align-items: center;
	display: grid;
	gap: 16px;
	grid-template-columns: 96px minmax(0, 1fr);
	padding-inline-end: 40px;
}

.bg-product-together-modal__image {
	align-items: center;
	background: var(--wp--preset--color--blue-50);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 10px;
	display: flex;
	block-size: 96px;
	justify-content: center;
	overflow: hidden;
	padding: 8px;
}

.bg-product-together-modal__image-element {
	block-size: 100%;
	display: block;
	inline-size: 100%;
	object-fit: contain;
}

.bg-product-together-modal__eyebrow {
	color: var(--wp--preset--color--primary-active);
	font-size: 12px;
	font-weight: 750;
	margin: 0 0 4px;
}

.bg-product-together-modal__title {
	color: var(--wp--preset--color--text-primary);
	font-size: 18px;
	font-weight: 800;
	line-height: 1.45;
	margin: 0;
}

.bg-product-together-modal__price {
	align-items: baseline;
	display: flex;
	flex-wrap: wrap;
	font-size: 15px;
	font-weight: 850;
	gap: 6px;
	margin-block-start: 7px;
}

.bg-product-together-modal__price del {
	color: var(--wp--preset--color--text-light);
	font-size: 12px;
}

.bg-product-together-modal__price ins {
	color: var(--wp--preset--color--error);
	text-decoration: none;
}

.bg-product-together-modal__options {
	display: grid;
	gap: 12px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bg-product-together-modal__field {
	display: grid;
	gap: 6px;
}

.bg-product-together-modal__field label {
	color: var(--wp--preset--color--text-secondary);
	font-size: 13px;
	font-weight: 750;
}

.bg-product-together-modal__field select {
	appearance: none;
	background-color: var(--wp--preset--color--surface);
	background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
	background-position: left 17px center, left 12px center;
	background-repeat: no-repeat;
	background-size: 5px 5px, 5px 5px;
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 8px;
	color: var(--wp--preset--color--text-primary);
	font: inherit;
	inline-size: 100%;
	min-block-size: 46px;
	padding: 8px 12px 8px 34px;
}

.bg-product-together-modal__field select:focus-visible,
.bg-product-together-modal__close:focus-visible,
.bg-product-together-modal__actions button:focus-visible {
	outline: 3px solid color-mix(in srgb, var(--wp--preset--color--primary) 28%, transparent);
	outline-offset: 2px;
}

.bg-product-together-modal__feedback {
	background: var(--wp--preset--color--blue-50);
	border-radius: 8px;
	color: var(--wp--preset--color--text-secondary);
	font-size: 12px;
	line-height: 1.6;
	margin: 0;
	min-block-size: 38px;
	padding: 9px 12px;
}

.bg-product-together-modal__actions {
	display: grid;
	gap: 10px;
	grid-template-columns: minmax(0, 1fr) auto;
}

.bg-product-together-modal__actions .bg-button {
	min-block-size: 46px;
	padding-inline: 20px;
}

.bg-product-together-modal__actions .bg-button:disabled {
	cursor: not-allowed;
	opacity: 0.5;
}

.bg-product-saudi-promo {
	align-items: center;
	background-color: color-mix(in srgb, var(--wp--preset--color--success) 8%, var(--wp--preset--color--surface));
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--success) 58%, var(--wp--preset--color--surface));
	border-radius: 8px;
	color: var(--wp--preset--color--text-secondary);
	display: grid;
	font-size: var(--wp--preset--font-size--small);
	gap: var(--wp--preset--spacing--20);
	grid-template-columns: 26px minmax(0, 1fr);
	line-height: var(--wp--custom--typography--line-height--compact);
	order: 7;
	padding: var(--wp--preset--spacing--30) var(--wp--preset--spacing--40);
}

.bg-product-saudi-promo[hidden] {
	display: none;
}

.bg-product-saudi-promo__icon {
	align-items: center;
	block-size: 26px;
	border-radius: 50%;
	color: var(--wp--preset--color--success);
	display: inline-flex;
	inline-size: 26px;
	justify-content: center;
}

.bg-product-saudi-promo__icon svg {
	block-size: 22px;
	inline-size: 22px;
}

.bg-product-saudi-promo p {
	margin: 0;
}

.bg-product-saudi-promo strong {
	color: color-mix(in srgb, var(--wp--preset--color--success) 78%, var(--wp--preset--color--text-primary));
	font-weight: 850;
	unicode-bidi: isolate;
}

.bg-product-plans,
.bg-product-information__section,
.bg-single-product__section {
	scroll-margin-block-start: calc(80px + var(--wp--preset--spacing--40));
}

.bg-product-plans {
	display: grid;
	gap: var(--wp--preset--spacing--50);
}

.bg-product-section-heading {
	display: grid;
	gap: var(--wp--preset--spacing--20);
}

.bg-product-section-heading__eyebrow {
	color: var(--wp--preset--color--primary-active);
	font-size: var(--wp--preset--font-size--caption);
	font-weight: 700;
	letter-spacing: 0.02em;
	margin: 0;
}

.bg-product-section-heading__title,
.bg-single-product__section-title {
	color: var(--wp--preset--color--text-primary);
	font-size: var(--wp--preset--font-size--heading-2);
	font-weight: 750;
	line-height: var(--wp--custom--typography--line-height--compact);
	margin: 0;
}

.bg-product-plans__heading .bg-product-section-heading__title {
	font-size: var(--wp--preset--font-size--heading-3);
}

.bg-product-section-heading__copy {
	color: var(--wp--preset--color--text-muted);
	font-size: var(--wp--preset--font-size--small);
	line-height: var(--wp--custom--typography--line-height--body);
	margin: 0;
}

.bg-product-plans__grid {
	grid-template-columns: minmax(0, 1fr);
}

.bg-product-plans__grid .bg-plan-card {
	padding: var(--wp--preset--spacing--40);
}

.bg-plan-card__price .price {
	align-items: baseline;
	color: var(--wp--preset--color--text-primary);
	display: flex;
	flex-wrap: wrap;
	font-size: var(--wp--preset--font-size--heading-3);
	font-weight: 850;
	gap: var(--wp--preset--spacing--10);
	line-height: var(--wp--custom--typography--line-height--compact);
	margin: 0;
}

.bg-product-plans__status {
	align-items: center;
	background-color: color-mix(in srgb, var(--wp--preset--color--success) 8%, var(--wp--preset--color--surface));
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--success) 26%, var(--wp--preset--color--surface));
	border-radius: 6px;
	color: var(--wp--preset--color--text-secondary);
	display: inline-flex;
	font-size: var(--wp--preset--font-size--caption);
	font-weight: 700;
	justify-self: start;
	min-block-size: var(--wp--preset--spacing--60);
	margin: 0;
	padding: 2px var(--wp--preset--spacing--20);
}

/* Native variation and add-to-cart form */

.bg-single-product__native-purchase {
	background-color: var(--wp--preset--color--surface);
	margin: 0;
}

.bg-single-product__native-purchase form.cart {
	display: grid;
	gap: var(--wp--preset--spacing--30);
	margin: 0;
}

.woocommerce .bg-single-product__native-purchase form.cart:not(.variations_form) {
	grid-auto-flow: row !important;
	grid-template-areas:
		"offer offer"
		"quantity quantity"
		"add buy"
		"note note";
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

.woocommerce .bg-single-product__native-purchase form.cart:not(.variations_form) > .bg-product-together {
	grid-area: offer;
}

.woocommerce .bg-single-product__native-purchase form.cart:not(.variations_form) > .quantity {
	grid-area: quantity;
}

.woocommerce .bg-single-product__native-purchase form.cart:not(.variations_form) > .single_add_to_cart_button:not(.bg-product-buy-now) {
	grid-area: add;
}

.woocommerce .bg-single-product__native-purchase form.cart:not(.variations_form) > .bg-product-buy-now {
	grid-area: buy;
}

.woocommerce .bg-single-product__native-purchase form.cart:not(.variations_form) > .bg-product-purchase-confirmation-note {
	grid-area: note;
}

.woocommerce .bg-single-product__native-purchase form.cart:not(.variations_form) > :where(
	.stock,
	.bg-product-purchase-guidance
) {
	grid-column: 1 / -1;
}

.woocommerce .bg-single-product__native-purchase form.cart:not(.variations_form) > .single_add_to_cart_button {
	justify-self: stretch;
}

.bg-single-product__native-purchase .variations {
	border: 0;
	border-collapse: separate;
	border-spacing: 0 var(--wp--preset--spacing--30);
	inline-size: 100%;
	margin: 0;
}

.bg-single-product__native-purchase .variations :where(th, td) {
	border: 0;
	padding: 0;
	text-align: start;
	vertical-align: middle;
}

.bg-single-product__native-purchase .variations th {
	color: var(--wp--preset--color--text-secondary);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 700;
	inline-size: 30%;
	padding-inline-end: var(--wp--preset--spacing--30);
}

.bg-single-product__native-purchase :where(select, input.qty) {
	background-color: var(--wp--preset--color--surface);
	border: 1px solid var(--wp--preset--color--border-strong);
	border-radius: var(--wp--custom--radius--input);
	color: var(--wp--preset--color--text-primary);
	font: inherit;
	min-block-size: var(--wp--custom--control--min-size);
}

.bg-single-product__native-purchase select {
	inline-size: 100%;
	padding-block: var(--wp--preset--spacing--30);
	padding-inline: var(--wp--preset--spacing--40);
}

.bg-single-product__native-purchase .bg-variation-chips-ready .variations {
	border-spacing: 0;
}

.bg-single-product__native-purchase .bg-variation-chips-ready .variations tbody {
	display: grid;
	gap: 0;
}

.bg-single-product__native-purchase .bg-variation-chips-ready .variations tr.bg-variation-option-row {
	align-items: center;
	border-block-end: 1px solid var(--wp--preset--color--border);
	display: grid;
	gap: var(--wp--preset--spacing--30);
	grid-template-columns: minmax(64px, max-content) minmax(0, 1fr);
	min-block-size: 56px;
	padding-block: var(--wp--preset--spacing--20);
}

.bg-single-product__native-purchase .bg-variation-chips-ready .variations tr.bg-variation-option-row:last-child {
	border-block-end: 0;
}

.bg-single-product__native-purchase .bg-variation-chips-ready .variations tr.bg-variation-option-row > :where(th, td) {
	display: block;
	inline-size: auto;
	padding: 0;
}

.bg-single-product__native-purchase .bg-variation-chips-ready .variations tr.bg-variation-option-row > td.value {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: var(--wp--preset--spacing--10);
}

.bg-single-product__native-purchase .bg-variation-chips-ready .variations .label label {
	color: var(--wp--preset--color--text-primary);
	display: inline-flex;
	font-size: var(--wp--preset--font-size--caption);
	font-weight: 750;
	line-height: var(--wp--custom--typography--line-height--compact);
	white-space: nowrap;
}

.bg-single-product__native-purchase .bg-variation-chips-ready .variations .label label::after {
	content: ":";
}

.woocommerce .bg-single-product__native-purchase form.cart.bg-variation-chips-ready .variations select.bg-native-variation-select {
	display: none;
}

.bg-variation-options {
	display: flex;
	flex-wrap: wrap;
	gap: var(--wp--preset--spacing--10);
	min-inline-size: 0;
}

.bg-variation-option {
	align-items: center;
	appearance: none;
	background-color: var(--wp--preset--color--surface);
	border: 1px solid var(--wp--preset--color--border-strong);
	border-radius: 8px;
	box-shadow: none;
	color: var(--wp--preset--color--text-primary);
	cursor: pointer;
	display: inline-flex;
	font: inherit;
	font-size: var(--wp--preset--font-size--caption);
	font-weight: 700;
	gap: 6px;
	justify-content: center;
	line-height: var(--wp--custom--typography--line-height--compact);
	min-block-size: 40px;
	min-inline-size: 92px;
	padding-block: 7px;
	padding-inline: var(--wp--preset--spacing--40);
	transition: background-color 140ms ease, border-color 140ms ease, box-shadow 140ms ease, color 140ms ease;
}

.bg-variation-option:not(:disabled):not([aria-pressed="true"]):hover {
	background-color: color-mix(in srgb, var(--wp--preset--color--primary) 8%, var(--wp--preset--color--surface));
	border-color: var(--wp--preset--color--primary);
}

.bg-variation-option[aria-pressed="true"] {
	background-color: var(--wp--preset--color--blue-50);
	border-color: var(--wp--preset--color--primary);
	box-shadow: inset 0 0 0 1px var(--wp--preset--color--primary);
	color: var(--wp--preset--color--primary-active);
	font-weight: 800;
}

.bg-variation-option[aria-pressed="true"]::before {
	align-items: center;
	background-color: var(--wp--preset--color--primary);
	border-radius: 50%;
	color: var(--wp--preset--color--surface);
	content: "✓";
	display: inline-flex;
	font-size: 10px;
	font-weight: 900;
	block-size: 16px;
	inline-size: 16px;
	justify-content: center;
	line-height: 1;
}

.bg-variation-option:disabled {
	background-color: color-mix(in srgb, var(--wp--preset--color--border) 28%, var(--wp--preset--color--surface));
	border-color: var(--wp--preset--color--border);
	color: var(--wp--preset--color--text-muted);
	cursor: not-allowed;
	opacity: 0.72;
	text-decoration: line-through;
	text-decoration-thickness: 1px;
}

.bg-variation-option:focus-visible {
	border-color: var(--wp--preset--color--primary);
	outline: 3px solid color-mix(in srgb, var(--wp--preset--color--primary) 28%, transparent);
	outline-offset: 2px;
}

.bg-variation-option[aria-pressed="true"]:is(:hover, :focus-visible) {
	background-color: color-mix(in srgb, var(--wp--preset--color--primary) 14%, var(--wp--preset--color--surface));
	border-color: var(--wp--preset--color--primary-hover);
	color: var(--wp--preset--color--primary-active);
}

.bg-single-product__native-purchase .bg-variation-chips-ready .reset_variations {
	margin-block-start: 0;
}

.bg-single-product__native-purchase input.qty {
	inline-size: 76px;
	text-align: center;
}

.bg-single-product__native-purchase :where(select, input.qty, button):focus-visible {
	border-color: var(--wp--preset--color--primary);
	outline: 3px solid color-mix(in srgb, var(--wp--preset--color--primary) 28%, transparent);
	outline-offset: 2px;
}

.bg-single-product__native-purchase .reset_variations {
	display: inline-flex;
	font-size: var(--wp--preset--font-size--caption);
	margin-block-start: var(--wp--preset--spacing--20);
	min-block-size: var(--wp--custom--control--min-size);
	padding-block: var(--wp--preset--spacing--20);
}

.bg-single-product__native-purchase .single_variation_wrap,
.bg-single-product__native-purchase .woocommerce-variation-add-to-cart {
	display: grid;
	gap: var(--wp--preset--spacing--30);
}

.bg-single-product__native-purchase .woocommerce-variation-add-to-cart {
	border-block-start: 1px solid var(--wp--preset--color--border);
	grid-template-columns: repeat(2, minmax(0, 1fr));
	padding-block-start: var(--wp--preset--spacing--40);
}

.woocommerce .bg-single-product__native-purchase form.cart .woocommerce-variation-add-to-cart {
	grid-auto-flow: row;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.woocommerce .bg-single-product__native-purchase form.cart .woocommerce-variation-add-to-cart > .quantity.wc-block-components-quantity-selector {
	grid-column: 1 / -1;
	justify-self: start;
	margin: 0;
}

.woocommerce .bg-single-product__native-purchase form.cart .woocommerce-variation-add-to-cart > .single_add_to_cart_button {
	grid-column: auto;
	justify-self: stretch;
}

.bg-single-product__native-purchase .woocommerce-variation-description {
	color: var(--wp--preset--color--text-secondary);
	font-size: var(--wp--preset--font-size--small);
	line-height: var(--wp--custom--typography--line-height--body);
}

.bg-single-product__native-purchase .woocommerce-variation-price .price {
	color: var(--wp--preset--color--text-primary);
	font-size: var(--wp--preset--font-size--heading-2);
	font-weight: 850;
	letter-spacing: -0.02em;
}

/* WooCommerce keeps resolving this native price; the summary above is its only visible presentation. */
.bg-single-product__native-purchase .woocommerce-variation-price {
	display: none;
}

.bg-single-product__native-purchase .quantity {
	display: inline-flex;
	grid-column: 1 / -1;
	justify-self: start;
	max-inline-size: 132px;
}

.bg-single-product__native-purchase .single_add_to_cart_button {
	align-items: center;
	background-color: var(--wp--preset--color--primary);
	border: 1px solid transparent;
	border-radius: var(--wp--custom--radius--input);
	color: var(--wp--preset--color--surface);
	cursor: pointer;
	display: inline-flex;
	font: inherit;
	font-size: var(--wp--preset--font-size--small);
	font-weight: 800;
	inline-size: 100%;
	justify-content: center;
	line-height: var(--wp--custom--typography--line-height--compact);
	min-block-size: 48px;
	padding-block: var(--wp--preset--spacing--20);
	padding-inline: var(--wp--preset--spacing--30);
	transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease;
	white-space: nowrap;
}

.bg-single-product__native-purchase .single_add_to_cart_button:not(:disabled):hover {
	background-color: var(--wp--preset--color--primary-hover);
}

.bg-single-product__native-purchase .bg-product-buy-now {
	background-color: var(--wp--preset--color--surface);
	border-color: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--primary-active);
}

.bg-single-product__native-purchase .bg-product-buy-now:not(:disabled):not(.disabled):hover {
	background-color: var(--wp--preset--color--blue-50);
	border-color: var(--wp--preset--color--primary-hover);
	color: var(--wp--preset--color--primary-hover);
}

.bg-single-product__native-purchase .single_add_to_cart_button:is(:disabled, .disabled, [aria-disabled="true"]) {
	background-color: var(--wp--preset--color--surface-soft);
	border-color: var(--wp--preset--color--border);
	color: var(--wp--preset--color--text-light);
	cursor: not-allowed;
}

.bg-product-purchase-guidance {
	color: var(--wp--preset--color--text-muted);
	font-size: var(--wp--preset--font-size--caption);
	grid-column: 1 / -1;
	line-height: var(--wp--custom--typography--line-height--body);
	margin: 0;
}

.bg-product-purchase-confirmation-note {
	grid-column: 1 / -1;
	margin: 0;
	color: var(--wp--preset--color--text-light, #8aa4bb);
	font-size: 10px;
	font-weight: 400;
	line-height: 1.6;
	text-align: start;
}

.bg-product-purchase-guidance[hidden] {
	display: none;
}

.bg-single-product__native-purchase .stock {
	align-items: center;
	background-color: var(--wp--preset--color--surface-soft);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 6px;
	color: var(--wp--preset--color--text-secondary);
	display: inline-flex;
	font-size: var(--wp--preset--font-size--caption);
	font-weight: 700;
	justify-self: start;
	min-block-size: var(--wp--preset--spacing--60);
	padding: 2px var(--wp--preset--spacing--20);
}

.bg-single-product__native-purchase .stock.in-stock {
	background-color: color-mix(in srgb, var(--wp--preset--color--success) 8%, var(--wp--preset--color--surface));
	border-color: color-mix(in srgb, var(--wp--preset--color--success) 26%, var(--wp--preset--color--surface));
}

.bg-single-product__native-purchase .stock.out-of-stock {
	background-color: color-mix(in srgb, var(--wp--preset--color--error) 8%, var(--wp--preset--color--surface));
	border-color: color-mix(in srgb, var(--wp--preset--color--error) 26%, var(--wp--preset--color--surface));
	color: color-mix(in srgb, var(--wp--preset--color--error) 78%, var(--wp--preset--color--text-primary));
}

/* Open information sections */

.bg-product-information {
	display: grid;
	gap: 0;
	grid-template-columns: minmax(0, 1fr);
	inline-size: 100%;
	min-inline-size: 0;
}

.bg-product-information__section,
.bg-single-product__section {
	border-block-start: 1px solid var(--wp--preset--color--border);
	display: grid;
	gap: var(--wp--preset--spacing--60);
	grid-template-columns: minmax(0, 1fr);
	inline-size: 100%;
	min-inline-size: 0;
	padding-block: clamp(var(--wp--preset--spacing--90), 7vw, var(--wp--preset--spacing--110));
}

.bg-product-includes__description,
.bg-product-includes__description .wp-block-woocommerce-product-description {
	color: var(--wp--preset--color--text-secondary);
	direction: rtl;
	font-size: 15px;
	inline-size: 100%;
	line-height: 1.75;
	margin: 0;
	max-inline-size: 78ch;
	min-inline-size: 0;
	text-align: right;
}

.bg-product-includes__description :where(h1, h2, h3, h4, h5, h6, p, ul, ol, li, blockquote),
.bluegam-product-editor-content :where(h1, h2, h3, h4, h5, h6, p, ul, ol, li, blockquote) {
	direction: rtl;
	text-align: right;
}

/* Preserve deliberate editor direction and alignment choices. */
.bg-product-includes__description [dir="ltr"],
.bluegam-product-editor-content [dir="ltr"] {
	direction: ltr;
	text-align: left;
}

.bg-product-includes__description .has-text-align-left,
.bluegam-product-editor-content .has-text-align-left {
	text-align: left;
}

.bg-product-includes__description .has-text-align-center,
.bluegam-product-editor-content .has-text-align-center {
	text-align: center;
}

.bg-product-includes__description .has-text-align-right,
.bluegam-product-editor-content .has-text-align-right {
	text-align: right;
}

.bg-product-includes {
	gap: 24px;
	padding-block: clamp(32px, 4.5vw, 52px);
}

.bg-product-includes__description :where(h1, h2, h3, h4)::after {
	background: color-mix(in srgb, var(--wp--preset--color--primary) 38%, var(--wp--preset--color--border));
	block-size: 1px;
	bottom: 0;
	box-shadow: 0 1px 4px color-mix(in srgb, var(--wp--preset--color--primary) 10%, transparent);
	content: "";
	inset-inline: 14px;
	position: absolute;
}

.bg-product-includes__description :where(p, li) {
	font-size: 15px;
	line-height: 1.75;
}

.bg-product-includes__description :where(ul, ol),
.bluegam-product-editor-content :where(ul, ol) {
	background-color: color-mix(in srgb, var(--wp--preset--color--primary, #1b689d) 3%, #fff);
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--primary, #1b689d) 8%, var(--wp--preset--color--border, #d8eaf6));
	border-inline-start: 3px solid color-mix(in srgb, var(--wp--preset--color--primary, #1b689d) 58%, var(--wp--preset--color--blue-200, #a6d8ff));
	border-radius: 10px;
	display: grid;
	gap: 8px;
	list-style: none;
	margin-block: 12px 20px;
	padding-block: 12px;
	padding-inline: 14px 12px;
}

.bg-product-includes__description :where(ul, ol) > li,
.bluegam-product-editor-content :where(ul, ol) > li {
	min-block-size: 24px;
	padding-inline-start: 32px;
	position: relative;
}

.bg-product-includes__description ul > li::before,
.bluegam-product-editor-content ul > li::before {
	background-color: var(--wp--preset--color--primary, #1b689d);
	block-size: 8px;
	border-radius: 50%;
	box-shadow: 0 0 0 3px var(--wp--preset--color--blue-100, #ddf1ff);
	content: "";
	inline-size: 8px;
	inset-block-start: 0.82em;
	inset-inline-start: 8px;
	position: absolute;
	transform: translateY(-50%);
}

.bg-product-includes__description ol,
.bluegam-product-editor-content ol {
	counter-reset: bluegam-product-list;
}

.bg-product-includes__description ol > li,
.bluegam-product-editor-content ol > li {
	counter-increment: bluegam-product-list;
}

.bg-product-includes__description ol > li::before,
.bluegam-product-editor-content ol > li::before {
	align-items: center;
	background-color: var(--wp--preset--color--blue-100, #ddf1ff);
	block-size: 24px;
	border: 1px solid var(--wp--preset--color--blue-200, #a6d8ff);
	border-radius: 50%;
	color: var(--wp--preset--color--deep-navy, #0b2d5b);
	content: counter(bluegam-product-list);
	display: inline-flex;
	font-size: 11px;
	font-weight: 750;
	inline-size: 24px;
	inset-block-start: 0.08em;
	inset-inline-start: 0;
	justify-content: center;
	line-height: 1;
	position: absolute;
}

.bg-product-includes__description li > :where(ul, ol),
.bluegam-product-editor-content li > :where(ul, ol) {
	background: transparent;
	border-block: 0;
	border-inline-end: 0;
	border-inline-start-width: 1px;
	border-radius: 0;
	margin-block: 8px 2px;
	padding-block: 4px;
	padding-inline: 12px 0;
}

.bg-product-includes__description :where(h1, h2, h3, h4) {
	background: color-mix(in srgb, var(--wp--preset--color--primary) 3%, var(--wp--preset--color--surface));
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--primary) 7%, var(--wp--preset--color--border));
	border-radius: 8px;
	color: var(--wp--preset--color--text-primary);
	font-weight: 750;
	line-height: 1.4;
	margin-block: 26px 12px;
	overflow: hidden;
	padding: 8px 12px 10px;
	position: relative;
}

.bg-product-includes__description :where(h1, h2, h3, h4):first-child {
	margin-block-start: 0;
}

/*
 * Heading sizes are defaults for the semantic level selected by the editor.
 * A WordPress font-size preset or an inline custom size remains authoritative.
 */
.bg-product-includes__description h1:not([class*="-font-size"]) {
	font-size: clamp(26px, 2.3vw, 30px);
}

.bg-product-includes__description h2:not([class*="-font-size"]) {
	font-size: clamp(22px, 1.9vw, 25px);
}

.bg-product-includes__description h3:not([class*="-font-size"]) {
	font-size: clamp(18px, 1.55vw, 21px);
}

.bg-product-includes__description h4:not([class*="-font-size"]) {
	font-size: 17px;
}

.bg-product-includes__description :where(p, ul, ol, blockquote) + :where(h1, h2, h3, h4) {
	margin-block-start: 30px;
}

.bg-product-includes__description strong {
	color: var(--wp--preset--color--text-primary);
}

.bg-product-includes__description :where(img, video, iframe) {
	border-radius: var(--wp--custom--radius--card);
	max-inline-size: 100%;
}

/* Product-description tables */

.bg-product-includes__description :is(.TyagGW_tableWrapper, .wp-block-table, .bgm-table-wrap) {
	background-color: var(--wp--preset--color--surface);
	border: 1px solid var(--wp--preset--color--border-strong);
	border-radius: 14px;
	box-shadow: var(--wp--preset--shadow--sm);
	direction: rtl;
	inline-size: 100%;
	margin-block: var(--wp--preset--spacing--60);
	max-inline-size: 100%;
	overflow-x: auto;
	overflow-y: hidden;
	overscroll-behavior-inline: contain;
	-webkit-overflow-scrolling: touch;
	scrollbar-color: var(--wp--preset--color--primary) var(--wp--preset--color--blue-50);
	scrollbar-width: thin;
}

.bg-product-includes__description .TyagGW_tableWrapper::-webkit-scrollbar,
.bg-product-includes__description .wp-block-table::-webkit-scrollbar,
.bg-product-includes__description .bgm-table-wrap::-webkit-scrollbar {
	block-size: 8px;
}

.bg-product-includes__description .TyagGW_tableWrapper::-webkit-scrollbar-track,
.bg-product-includes__description .wp-block-table::-webkit-scrollbar-track,
.bg-product-includes__description .bgm-table-wrap::-webkit-scrollbar-track {
	background-color: var(--wp--preset--color--blue-50);
}

.bg-product-includes__description .TyagGW_tableWrapper::-webkit-scrollbar-thumb,
.bg-product-includes__description .wp-block-table::-webkit-scrollbar-thumb,
.bg-product-includes__description .bgm-table-wrap::-webkit-scrollbar-thumb {
	background-color: var(--wp--preset--color--primary);
	border: 2px solid var(--wp--preset--color--blue-50);
	border-radius: 999px;
}

.bg-product-includes__description :is(.TyagGW_tableWrapper, .wp-block-table, .bgm-table-wrap) table,
.bg-product-includes__description > table,
.bg-product-includes__description .wp-block-woocommerce-product-description > table {
	background-color: var(--wp--preset--color--surface);
	border: 0;
	border-collapse: separate;
	border-spacing: 0;
	color: var(--wp--preset--color--text-secondary);
	direction: rtl;
	font-size: 15px;
	inline-size: 100%;
	line-height: 1.55;
	margin: 0;
	min-inline-size: 520px;
	table-layout: fixed;
}

.bg-product-includes__description table:has(> thead > tr > :nth-child(3)) {
	min-inline-size: 660px;
}

.bg-product-includes__description table :where(th, td) {
	border: 0;
	border-block-end: 1px solid var(--wp--preset--color--border);
	border-inline-start: 1px solid var(--wp--preset--color--border);
	padding: 13px 16px;
	text-align: center;
	vertical-align: middle;
	word-break: normal;
}

.bg-product-includes__description table tr > :first-child {
	border-inline-start: 0;
	inline-size: 46%;
	text-align: start;
}

.bg-product-includes__description table thead {
	background: linear-gradient(135deg, var(--wp--preset--color--deep-navy), var(--wp--preset--color--primary));
	color: var(--wp--preset--color--white);
}

.bg-product-includes__description table thead th {
	border-color: color-mix(in srgb, var(--wp--preset--color--white) 20%, transparent);
	color: inherit;
	font-weight: 800;
	letter-spacing: 0;
}

.bg-product-includes__description table tbody tr:nth-child(even) {
	background-color: var(--wp--preset--color--blue-50);
}

.bg-product-includes__description table tbody tr {
	transition: background-color 140ms ease;
}

.bg-product-includes__description table tbody tr:hover {
	background-color: var(--wp--preset--color--blue-100);
}

.bg-product-includes__description table tbody tr:last-child td {
	border-block-end: 0;
}

.bg-product-includes__description table tbody td:first-child {
	color: var(--wp--preset--color--text-primary);
	font-weight: 700;
}

.bg-product-includes__description table img.emoji {
	block-size: 21px !important;
	border-radius: 0;
	box-shadow: none;
	display: inline-block !important;
	inline-size: 21px !important;
	margin: 0;
	vertical-align: -4px;
}

.bg-product-includes__description table caption {
	caption-side: bottom;
	color: var(--wp--preset--color--text-muted);
	font-size: var(--wp--preset--font-size--caption);
	padding: var(--wp--preset--spacing--30);
	text-align: start;
}

.bg-product-includes__list {
	display: grid;
	gap: 0;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	list-style: none;
	margin: 0;
	max-inline-size: 960px;
	padding: 0;
}

.bg-product-includes__list li {
	align-items: start;
	border-block-end: 1px solid var(--wp--preset--color--border);
	display: grid;
	gap: var(--wp--preset--spacing--30);
	grid-template-columns: auto minmax(0, 1fr);
	line-height: var(--wp--custom--typography--line-height--body);
	padding-block: var(--wp--preset--spacing--40);
}

.bg-product-includes__list li:nth-child(odd) {
	padding-inline-end: var(--wp--preset--spacing--60);
}

.bg-product-includes__list li:nth-child(even) {
	border-inline-start: 1px solid var(--wp--preset--color--border);
	padding-inline-start: var(--wp--preset--spacing--60);
}

.bg-product-includes__check {
	align-items: center;
	background-color: color-mix(in srgb, var(--wp--preset--color--success) 10%, var(--wp--preset--color--surface));
	block-size: var(--wp--preset--spacing--70);
	border-radius: var(--wp--custom--radius--pill);
	color: var(--wp--preset--color--success);
	display: inline-flex;
	font-weight: 800;
	inline-size: var(--wp--preset--spacing--70);
	justify-content: center;
}

.bg-spec__icon svg {
	block-size: 18px;
	inline-size: 18px;
}

.bg-product-facts__list {
	display: grid;
	gap: 0 var(--wp--preset--spacing--60);
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin: 0;
}

.bg-product-facts__item {
	align-items: center;
	border-block-end: 1px solid var(--wp--preset--color--border);
	display: grid;
	gap: var(--wp--preset--spacing--30);
	grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
	padding-block: var(--wp--preset--spacing--30);
}

.bg-product-facts__item dt {
	color: var(--wp--preset--color--text-muted);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 600;
}

.bg-product-facts__item dd {
	color: var(--wp--preset--color--text-primary);
	font-size: var(--wp--preset--font-size--body);
	font-weight: 700;
	margin: 0;
	overflow-wrap: anywhere;
}

/* FAQ */

.bg-product-faq__items {
	border-block-start: 1px solid var(--wp--preset--color--border);
	max-inline-size: 920px;
}

.bg-product-faq__item {
	border-block-end: 1px solid var(--wp--preset--color--border);
}

.bg-product-faq__item summary {
	align-items: center;
	cursor: pointer;
	display: flex;
	font-size: var(--wp--preset--font-size--body);
	font-weight: 700;
	gap: var(--wp--preset--spacing--30);
	justify-content: space-between;
	list-style: none;
	min-block-size: 64px;
	padding-block: var(--wp--preset--spacing--30);
}

.bg-product-faq__item summary::-webkit-details-marker {
	display: none;
}

.bg-product-faq__item summary::after {
	align-items: center;
	block-size: var(--wp--custom--control--min-size);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: var(--wp--custom--radius--pill);
	color: var(--wp--preset--color--primary);
	content: "+";
	display: inline-flex;
	flex: 0 0 auto;
	font-size: var(--wp--preset--font-size--heading-4);
	inline-size: var(--wp--custom--control--min-size);
	justify-content: center;
}

.bg-product-faq__item[open] summary::after {
	content: "−";
}

.bg-product-faq__answer {
	color: var(--wp--preset--color--text-secondary);
	line-height: var(--wp--custom--typography--line-height--body);
	max-inline-size: 72ch;
	padding-block: 0 var(--wp--preset--spacing--50);
}

.bg-product-faq__answer > :first-child {
	margin-block-start: 0;
}

.bg-product-faq__answer > :last-child {
	margin-block-end: 0;
}

/* Related products: structure only; card skin comes from Commerce Components. */

.bg-single-product__related {
	margin: 0;
}

.bg-single-product__related-collection {
	margin: 0;
}

.bg-single-product__related-grid {
	display: grid;
	gap: 12px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.bg-single-product__related-grid.wc-block-product-template__responsive {
	grid-template-columns: repeat(auto-fit, minmax(220px, 256px));
	justify-content: start;
}

/* Mobile purchase summary */

.bg-product-sticky-purchase {
	display: none;
}

@media (max-width: 1280px) {
	.bg-single-product__inner {
		--bg-single-product-hero-gutter: var(--wp--custom--layout--container-padding--tablet);

		padding-inline: var(--wp--custom--layout--container-padding--tablet);
	}
}

@media (max-width: 1024px) {
	.bg-single-product__hero {
		column-gap: 32px;
		grid-template-columns: minmax(0, 3fr) minmax(320px, 2fr);
		padding-block: 28px;
		padding-inline: max(var(--bg-single-product-hero-gutter), 28px);
	}

	.bg-single-product__summary,
	.bg-single-product__purchase,
	.bg-single-product__visual {
		padding-inline: 0;
	}
}

@media (max-width: 600px) {
	.bg-product-section-nav__track {
		justify-content: flex-start;
	}

	.bg-single-product__related-grid.wc-block-product-template__responsive {
		grid-template-columns: repeat(2, minmax(0, 163px));
		justify-content: space-between;
	}
}

@media (max-width: 350px) {
	.bg-single-product__related-grid.wc-block-product-template__responsive {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 1024px) {
	.bg-single-product__inner,
	.bg-single-product .wp-block-woocommerce-single-product {
		inline-size: 100%;
		max-inline-size: 100%;
	}

	.bg-single-product__hero {
		align-items: start;
		grid-template-areas:
			"visual"
			"summary"
			"purchase";
		grid-template-columns: minmax(0, 1fr);
		inline-size: 100% !important;
		margin-inline: 0 !important;
		max-inline-size: 100% !important;
		padding: 0;
	}

	.bg-single-product__hero > *,
	.bg-single-product__summary > *,
	.bg-single-product__visual > *,
	.bg-single-product__purchase > * {
		max-inline-size: 100%;
		min-inline-size: 0;
	}

	.bg-single-product__visual {
		border-block-end: 1px solid var(--wp--preset--color--border);
		inline-size: 100%;
		padding: var(--wp--preset--spacing--30) 0;
		position: static;
	}

	.bg-single-product__summary {
		padding: var(--wp--preset--spacing--40) 0 0;
	}

	.bg-single-product__purchase {
		margin-inline: 0;
		padding-block-end: var(--wp--preset--spacing--40);
	}

	.bg-single-product__gallery {
		inline-size: min(100%, 560px) !important;
		max-inline-size: 100%;
	}

	.bg-single-product__short-description,
	.bg-single-product__short-description * {
		overflow-wrap: anywhere;
		word-break: normal;
	}
}

@media (max-width: 600px) {
	.bg-single-product__inner {
		--bg-single-product-hero-gutter: var(--wp--custom--layout--container-padding--mobile);

		padding-block: 0 calc(116px + env(safe-area-inset-bottom));
		padding-inline: var(--wp--custom--layout--container-padding--mobile);
	}

	.bg-single-product .wp-block-woocommerce-single-product {
		gap: var(--wp--preset--spacing--90);
	}

	.bg-single-product__breadcrumbs {
		font-size: 11px !important;
		margin-block: 0;
		padding-block: 8px;
	}

	.bg-single-product__summary {
		gap: var(--wp--preset--spacing--20);
		padding: var(--wp--preset--spacing--30) 0 0;
	}

	.bg-single-product__purchase {
		margin-inline: 0;
		padding: var(--wp--preset--spacing--30) 0 var(--wp--preset--spacing--40);
	}

	.bg-single-product__title {
		font-size: clamp(20px, 5.6vw, 23px);
		padding-inline-end: 46px;
	}

	.bg-wishlist-toggle--single {
		block-size: 44px;
		inline-size: 44px;
		min-block-size: 44px;
	}

	.bg-single-product__short-description,
	.bg-single-product__short-description .wc-block-components-product-summary {
		font-size: var(--wp--preset--font-size--small);
		line-height: 1.6;
	}

	.bg-single-product__price .wc-block-components-product-price {
		font-size: var(--wp--preset--font-size--heading-2);
	}

	.bg-single-product__price {
		padding-block: var(--wp--preset--spacing--20) 0;
		padding-inline: 0;
	}

	.bg-single-product__visual {
		padding: var(--wp--preset--spacing--20) var(--bg-single-product-hero-gutter);
	}

	.bg-single-product__gallery {
		flex-direction: column-reverse;
	}

	.bg-product-plans__grid .bg-plan-card {
		padding: var(--wp--preset--spacing--50);
	}

	.bg-single-product__native-purchase .variations :where(tbody, tr, th, td) {
		display: block;
		inline-size: 100%;
	}

	.bg-single-product__native-purchase .variations th {
		padding-block-end: var(--wp--preset--spacing--20);
		padding-inline-end: 0;
	}

	.bg-single-product__native-purchase .bg-variation-chips-ready .variations tr.bg-variation-option-row {
		display: grid;
		gap: var(--wp--preset--spacing--20);
		grid-template-columns: minmax(0, 1fr);
		padding-block: var(--wp--preset--spacing--30);
	}

	.bg-single-product__native-purchase .bg-variation-chips-ready .variations tr.bg-variation-option-row > :where(th, td) {
		inline-size: 100%;
	}

	.bg-single-product__native-purchase .bg-variation-chips-ready .variations tr.bg-variation-option-row > th.label {
		padding-block-end: 0;
	}

	.bg-variation-options {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		inline-size: 100%;
	}

	.bg-variation-option {
		inline-size: 100%;
		min-inline-size: 0;
		padding-inline: var(--wp--preset--spacing--20);
	}

	.bg-product-installments {
		padding: var(--wp--preset--spacing--20);
	}

	.bg-product-together__list {
		grid-auto-columns: minmax(138px, 44%);
		grid-auto-flow: column;
		grid-template-columns: none;
		overflow-x: auto;
		overflow-y: hidden;
		padding-block-end: 4px;
		scroll-snap-type: inline proximity;
		scrollbar-width: none;
	}

	.bg-product-together__list::-webkit-scrollbar {
		display: none;
	}

	.bg-product-together__card {
		grid-template-rows: 90px minmax(0, 1fr);
		min-block-size: 168px;
		scroll-snap-align: start;
	}

	.bg-product-together-modal {
		align-items: flex-end;
		padding: 0;
	}

	.bg-product-together-modal__panel {
		border-radius: 16px 16px 0 0;
		gap: 16px;
		inline-size: 100%;
		max-block-size: calc(100dvh - 28px);
		padding: 20px var(--wp--custom--layout--container-padding--mobile) calc(20px + env(safe-area-inset-bottom));
	}

	.bg-product-together-modal__summary {
		gap: 12px;
		grid-template-columns: 76px minmax(0, 1fr);
		padding-inline-end: 34px;
	}

	.bg-product-together-modal__image {
		block-size: 76px;
	}

	.bg-product-together-modal__title {
		font-size: 16px;
	}

	.bg-product-together-modal__options {
		grid-template-columns: minmax(0, 1fr);
	}

	.bg-product-together-modal__actions {
		grid-template-columns: minmax(0, 1fr) minmax(92px, auto);
	}

	.bg-product-information__section,
	.bg-single-product__section {
		gap: var(--wp--preset--spacing--50);
		padding-block: var(--wp--preset--spacing--90);
	}

	.bg-product-section-heading__title,
	.bg-single-product__section-title {
		font-size: var(--wp--preset--font-size--heading-3);
	}

	.bg-product-includes__description,
	.bg-product-includes__description .wp-block-woocommerce-product-description {
		font-size: 14px;
		line-height: 1.75;
	}

	.bg-product-includes {
		gap: 20px;
		padding-block: 30px;
	}

	.bg-product-includes__description :where(p, li) {
		font-size: 14px;
		line-height: 1.75;
	}

	.bg-product-includes__description :where(h1, h2, h3, h4) {
		border-radius: 7px;
		margin-block: 22px 10px;
		padding: 7px 10px 9px;
	}

	.bg-product-includes__description h1:not([class*="-font-size"]) {
		font-size: 24px;
	}

	.bg-product-includes__description h2:not([class*="-font-size"]) {
		font-size: 21px;
	}

	.bg-product-includes__description h3:not([class*="-font-size"]) {
		font-size: 18px;
	}

	.bg-product-includes__description h4:not([class*="-font-size"]) {
		font-size: 16px;
	}

	.bg-product-includes__description :where(p, ul, ol, blockquote) + :where(h1, h2, h3, h4) {
		margin-block-start: 24px;
	}

	.bg-product-includes__description :is(.TyagGW_tableWrapper, .wp-block-table, .bgm-table-wrap) {
		border-radius: 10px;
		margin-block: var(--wp--preset--spacing--40);
		overflow-x: clip;
		overscroll-behavior-inline: auto;
		scrollbar-width: none;
	}

	.bg-product-includes__description :is(.TyagGW_tableWrapper, .wp-block-table, .bgm-table-wrap) table,
	.bg-product-includes__description > table,
	.bg-product-includes__description .wp-block-woocommerce-product-description > table,
	.bg-product-includes__description table:has(> thead > tr > :nth-child(3)) {
		inline-size: 100% !important;
		max-inline-size: 100%;
		min-inline-size: 0 !important;
		table-layout: fixed;
	}

	.bg-product-includes__description table:has(> thead > tr > :nth-child(3)) tr > :first-child {
		inline-size: 50%;
		width: 50%;
	}

	.bg-product-includes__description table:has(> thead > tr > :nth-child(3)) tr > :not(:first-child) {
		inline-size: 25%;
		width: 25%;
	}

	.bg-product-includes__description table :where(th, td) {
		font-size: 11px;
		line-height: 1.45;
		overflow-wrap: anywhere;
		padding: 9px 4px;
		white-space: normal;
		word-break: normal;
	}

	.bg-product-includes__description table thead th {
		font-size: 11px;
	}

	.bg-product-includes__description table img.emoji {
		block-size: 17px !important;
		inline-size: 17px !important;
	}

	.bg-product-includes__list,
	.bg-product-facts__list {
		grid-template-columns: minmax(0, 1fr);
	}

	.bg-product-includes__list li:nth-child(odd),
	.bg-product-includes__list li:nth-child(even) {
		border-inline-start: 0;
		padding-inline: 0;
	}

	.bg-product-sticky-purchase {
		align-items: center;
		background-color: color-mix(in srgb, var(--wp--preset--color--surface) 96%, transparent);
		border-block-start: 1px solid var(--wp--preset--color--border-strong);
		box-shadow: 0 -6px 18px rgba(16, 24, 40, 0.09);
		display: grid;
		gap: var(--wp--preset--spacing--20);
		grid-template-areas:
			"summary price"
			"add buy";
		grid-template-columns: minmax(0, 1fr) minmax(104px, 0.5fr);
		inset-block-end: 0;
		inset-inline: 0;
		inline-size: 100%;
		max-inline-size: 100vw;
		overflow: clip;
		padding-block: var(--wp--preset--spacing--20) calc(var(--wp--preset--spacing--20) + env(safe-area-inset-bottom));
		padding-inline: var(--wp--custom--layout--container-padding--mobile);
		position: fixed;
		z-index: 40;
	}

	.bg-product-sticky-purchase__summary {
		align-items: baseline;
		display: flex;
		gap: var(--wp--preset--spacing--20);
		grid-area: summary;
		min-inline-size: 0;
	}

	.bg-product-sticky-purchase__label {
		color: var(--wp--preset--color--text-muted);
		font-size: var(--wp--preset--font-size--caption);
		flex: 0 0 auto;
	}

	.bg-product-sticky-purchase__plan {
		font-size: var(--wp--preset--font-size--small);
		line-height: var(--wp--custom--typography--line-height--compact);
		min-inline-size: 0;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}

	.bg-product-sticky-purchase__price {
		color: var(--wp--preset--color--text-primary);
		font-size: var(--wp--preset--font-size--caption);
		font-weight: 800;
		grid-area: price;
		line-height: var(--wp--custom--typography--line-height--compact);
		text-align: end;
		white-space: nowrap;
	}

	.bg-product-sticky-purchase__price .price {
		margin: 0;
	}

	.bg-product-sticky-purchase__cta {
		grid-area: add;
	}

	.bg-product-sticky-purchase__buy-now {
		grid-area: buy;
	}

	.bg-product-sticky-purchase__cta,
	.bg-product-sticky-purchase__buy-now {
		font-size: var(--wp--preset--font-size--caption);
		font-weight: 800;
		inline-size: 100%;
		min-block-size: 44px;
		padding-block: var(--wp--preset--spacing--20);
		padding-inline: var(--wp--preset--spacing--20);
		white-space: nowrap;
	}
}

/* Preserve the reviewed visual scale while the Adobe outline uses H2/H3. */
.bg-product-includes__description h2.bg-product-description__section-title {
	font-size: clamp(18px, 1.55vw, 21px);
}

.bg-product-includes__description h3.bg-product-description__subsection-title {
	font-size: 17px;
}

@media (max-width: 767px) {
	.bg-product-includes__description h2.bg-product-description__section-title {
		font-size: 18px;
	}

	.bg-product-includes__description h3.bg-product-description__subsection-title {
		font-size: 16px;
	}
}

@media (max-width: 390px) {
	.bg-product-section-nav a {
		padding-inline: 13px;
	}

	.bg-product-sticky-purchase {
		grid-template-areas:
			"summary"
			"price"
			"add"
			"buy";
		grid-template-columns: minmax(0, 1fr);
		padding-inline: var(--wp--preset--spacing--30);
	}

	.bg-product-sticky-purchase__price {
		text-align: start;
	}

}

@media (max-width: 360px) {
	.bg-single-product__inner {
		--bg-single-product-hero-gutter: var(--wp--preset--spacing--30);

		padding-inline: var(--wp--preset--spacing--30);
	}

	.bg-product-sticky-purchase {
		gap: var(--wp--preset--spacing--10) var(--wp--preset--spacing--20);
	}

	.bg-product-sticky-purchase__cta,
	.bg-product-sticky-purchase__buy-now {
		font-size: var(--wp--preset--font-size--caption);
	}
}

@media (prefers-reduced-motion: reduce) {
	.bg-single-product *,
	.bg-single-product *::before,
	.bg-single-product *::after {
		animation-duration: 0s;
		scroll-behavior: auto;
		transition-duration: 0s;
	}
}

/* WooCommerce-backed duration saving helper. */

.bg-duration-savings {
	animation: bg-duration-savings-in 220ms ease;
	background: linear-gradient(135deg, var(--wp--preset--color--blue-50) 0%, var(--wp--preset--color--surface) 100%);
	border: 1px solid var(--wp--preset--color--blue-100);
	border-radius: 12px;
	box-shadow: 0 5px 18px rgba(18, 104, 243, 0.06);
	color: var(--wp--preset--color--text-primary);
	direction: rtl;
	display: grid;
	gap: 7px;
	margin: 6px 0 2px;
	padding: 14px 16px;
}

.bg-duration-savings__top {
	align-items: center;
	display: flex;
	gap: 8px;
}

.bg-duration-savings__icon {
	align-items: center;
	background-color: var(--wp--preset--color--primary);
	block-size: 28px;
	border-radius: 50%;
	color: var(--wp--preset--color--surface);
	display: inline-flex;
	flex: 0 0 28px;
	font-size: 14px;
	font-weight: 900;
	inline-size: 28px;
	justify-content: center;
}

.bg-duration-savings__title {
	color: var(--wp--preset--color--text-primary);
	font-size: 15px;
	font-weight: 850;
	line-height: 1.6;
}

.bg-duration-savings__accent {
	color: var(--wp--preset--color--primary-active);
}

.bg-duration-savings__details,
.bg-duration-savings__monthly {
	margin: 0;
}

.bg-duration-savings__details {
	color: var(--wp--preset--color--text-secondary);
	font-size: var(--wp--preset--font-size--caption);
	line-height: 1.8;
}

.bg-duration-savings__amount {
	color: var(--wp--preset--color--text-primary);
	direction: ltr;
	font-weight: 800;
	unicode-bidi: isolate;
}

.bg-duration-savings__monthly {
	background-color: color-mix(in srgb, var(--wp--preset--color--success) 10%, var(--wp--preset--color--surface));
	border-radius: 999px;
	color: color-mix(in srgb, var(--wp--preset--color--success) 76%, var(--wp--preset--color--text-primary));
	font-size: 12px;
	font-weight: 750;
	justify-self: start;
	line-height: 1.6;
	padding: 5px 10px;
}

@keyframes bg-duration-savings-in {
	from {
		opacity: 0;
		transform: translateY(-4px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}
