/**
 * Sparkle ACC — stable WooCommerce single-product experience v3.9.
 *
 * The layout is scoped to the deterministic regions in
 * woocommerce/content-single-product.php. WooCommerce keeps ownership of all
 * product data, variation logic, gallery behavior and purchase submission.
 */

body.single-product,
body.single-product * {
	box-sizing: border-box;
}

body.single-product {
	--sp-product-ink: #111820;
	--sp-product-paper: #fffdf7;
	--sp-product-cream: #fff7df;
	--sp-product-orange: #ffad27;
	--sp-product-coral: #f05b43;
	--sp-product-teal: #49b9b1;
	--sp-product-muted: #64717a;
	--sp-product-line: 2px solid var(--sp-product-ink);
	--sp-product-radius: 22px;
	color: var(--sp-product-ink);
	background: var(--sp-product-ink);
}

body.single-product .site-main {
	position: relative;
	isolation: isolate;
	width: 100%;
	max-width: none;
	margin: 0;
	padding: clamp(38px, 4.5vw, 68px) max(18px, calc((100vw - 1280px) / 2)) clamp(90px, 8vw, 128px);
	color: var(--sp-product-paper);
	background:
		radial-gradient(circle at 3% 16%, rgb(73 185 177 / 15%) 0 7.5%, transparent 7.7%),
		radial-gradient(circle at 97% 59%, rgb(240 91 67 / 13%) 0 9%, transparent 9.2%),
		linear-gradient(rgb(255 253 247 / 4.5%) 1px, transparent 1px),
		linear-gradient(90deg, rgb(255 253 247 / 4.5%) 1px, transparent 1px),
		var(--sp-product-ink);
	background-size: auto, auto, 40px 40px, 40px 40px, auto;
	font-family: "Vazirmatn", Tahoma, Arial, sans-serif;
}

body.single-product .site-main::before {
	content: "PRODUCT DESK / SPARKLE ACC";
	position: absolute;
	inset-block-start: 16px;
	inset-inline-end: max(18px, calc((100vw - 1280px) / 2));
	color: rgb(255 253 247 / 44%);
	font-size: 9px;
	font-weight: 800;
	letter-spacing: 1.1px;
}

body.single-product .woocommerce-breadcrumb,
body.single-product .woocommerce-notices-wrapper,
body.single-product .sparkleacc-product {
	width: min(100%, 1280px);
	margin-inline: auto;
}

body.single-product .woocommerce-breadcrumb {
	margin-block-end: 22px;
	padding: 10px 13px;
	color: rgb(255 253 247 / 72%);
	border: 1px solid rgb(255 253 247 / 22%);
	border-radius: 10px;
	font-size: 11px;
	font-weight: 700;
}

body.single-product .woocommerce-breadcrumb a {
	color: var(--sp-product-orange);
	text-decoration: none;
}

body.single-product .woocommerce-notices-wrapper {
	margin-block-end: 20px;
}

body.single-product .woocommerce-message,
body.single-product .woocommerce-error,
body.single-product .woocommerce-info {
	margin: 0 0 18px;
	padding: 14px 18px;
	color: var(--sp-product-ink);
	background: var(--sp-product-paper);
	border: var(--sp-product-line);
	border-top: var(--sp-product-line);
	border-radius: 12px;
	box-shadow: 5px 5px 0 var(--sp-product-teal);
	font-size: 13px;
	font-weight: 750;
	line-height: 1.8;
}

body.single-product .woocommerce-error {
	box-shadow: 5px 5px 0 var(--sp-product-coral);
}

body.single-product .woocommerce-message::before,
body.single-product .woocommerce-info::before {
	color: #147b73;
}

body.single-product .woocommerce-error::before {
	color: var(--sp-product-coral);
}

body.single-product .woocommerce-message .button,
body.single-product .woocommerce-info .button {
	color: var(--sp-product-ink);
	background: var(--sp-product-orange);
	border: var(--sp-product-line);
	border-radius: 8px;
	font-weight: 900;
}

/* Stable upper product frame ------------------------------------------ */

body.single-product .sparkleacc-product {
	float: none;
	clear: both;
}

body.single-product .sparkleacc-product::before,
body.single-product .sparkleacc-product::after,
body.single-product .sparkleacc-product__hero::before,
body.single-product .sparkleacc-product__hero::after {
	display: none;
	content: none;
}

body.single-product .sparkleacc-product__hero {
	display: grid;
	direction: ltr;
	grid-template-columns: minmax(0, 1.03fr) minmax(390px, 0.97fr);
	grid-template-areas: "media summary";
	align-items: stretch;
	overflow: visible;
	color: var(--sp-product-ink);
	background: var(--sp-product-paper);
	border: 3px solid var(--sp-product-paper);
	border-radius: 26px;
	box-shadow: 11px 12px 0 var(--sp-product-teal);
}

body.single-product .sparkleacc-product__media,
body.single-product .sparkleacc-product__summary {
	float: none !important;
	width: auto !important;
	min-width: 0;
	margin: 0 !important;
	direction: rtl;
}

body.single-product .sparkleacc-product__media {
	grid-area: media;
	position: relative;
	padding: clamp(16px, 2vw, 24px);
	background:
		linear-gradient(135deg, rgb(17 24 32 / 4%) 25%, transparent 25%) 0 0 / 18px 18px,
		var(--sp-product-cream);
	border-radius: 22px 0 0 22px;
}

body.single-product .sparkleacc-product__media-label {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-block-end: 13px;
	direction: ltr;
	color: var(--sp-product-ink);
	font: 900 10px/1 "Lilita One", Impact, sans-serif;
	letter-spacing: 0.75px;
}

body.single-product .sparkleacc-product__media-label span {
	display: inline-flex;
	align-items: center;
	min-height: 29px;
	padding: 6px 10px;
	background: var(--sp-product-orange);
	border: var(--sp-product-line);
	border-radius: 8px;
	box-shadow: 3px 3px 0 var(--sp-product-coral);
}

body.single-product .sparkleacc-product__media-label b {
	color: var(--sp-product-muted);
	font: inherit;
	font-size: 9px;
}

body.single-product .sparkleacc-product__media > .onsale {
	position: absolute;
	inset-block-start: 58px;
	inset-inline-end: 34px;
	z-index: 8;
	display: grid;
	place-items: center;
	min-width: 0;
	min-height: 0;
	margin: 0;
	padding: 8px 10px;
	color: var(--sp-product-paper);
	background: var(--sp-product-coral);
	border: var(--sp-product-line);
	border-radius: 9px;
	box-shadow: 3px 3px 0 var(--sp-product-ink);
	font-size: 10px;
	font-weight: 900;
	line-height: 1;
}

body.single-product .sparkleacc-product__media .woocommerce-product-gallery {
	position: sticky;
	inset-block-start: 116px;
	float: none !important;
	width: 100% !important;
	margin: 0 !important;
}

body.single-product .sparkleacc-product__media .woocommerce-product-gallery__wrapper {
	margin: 0;
	overflow: hidden;
	background: var(--sp-product-ink);
	border: 3px solid var(--sp-product-ink);
	border-radius: 16px;
}

body.single-product .sparkleacc-product__media .woocommerce-product-gallery__image {
	overflow: hidden;
}

body.single-product .sparkleacc-product__media .woocommerce-product-gallery__image a {
	display: block;
}

body.single-product .sparkleacc-product__media .woocommerce-product-gallery img {
	display: block;
	width: 100%;
	height: auto;
	margin: 0;
	aspect-ratio: 1 / 1;
	object-fit: cover;
}

body.single-product .sparkleacc-product__media .woocommerce-product-gallery__trigger {
	inset-block-start: 16px;
	inset-inline-end: 16px;
	z-index: 9;
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	background: var(--sp-product-paper);
	border: var(--sp-product-line);
	border-radius: 10px;
	box-shadow: 3px 3px 0 var(--sp-product-orange);
}

body.single-product .sparkleacc-product__media .flex-control-thumbs {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 9px;
	margin: 11px 0 0;
	padding: 0;
	list-style: none;
}

body.single-product .sparkleacc-product__media .flex-control-thumbs li {
	float: none;
	width: auto;
	margin: 0;
	padding: 0;
}

body.single-product .sparkleacc-product__media .flex-control-thumbs img {
	aspect-ratio: 1 / 1;
	border: var(--sp-product-line);
	border-radius: 9px;
	opacity: 0.55;
	transition: opacity 150ms ease, transform 150ms ease;
}

body.single-product .sparkleacc-product__media .flex-control-thumbs img.flex-active,
body.single-product .sparkleacc-product__media .flex-control-thumbs img:hover {
	opacity: 1;
	transform: translateY(-2px);
}

/* Purchase panel ------------------------------------------------------ */

body.single-product .sparkleacc-product__summary {
	grid-area: summary;
	position: relative;
	padding: clamp(26px, 3.5vw, 50px);
	background:
		radial-gradient(circle, rgb(17 24 32 / 5%) 1px, transparent 1.3px) 0 0 / 13px 13px,
		var(--sp-product-paper);
	border-inline-start: 3px solid var(--sp-product-ink);
	border-radius: 0 22px 22px 0;
}

body.single-product .sparkleacc-product__summary > * {
	max-width: 100%;
}

body.single-product .sparkleacc-product-signal {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 7px;
	margin: 0 0 15px;
}

body.single-product .sparkleacc-product-signal span {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 29px;
	padding: 5px 9px;
	color: var(--sp-product-ink);
	background: var(--sp-product-cream);
	border: 1.5px solid var(--sp-product-ink);
	border-radius: 999px;
	font-size: 9px;
	font-weight: 850;
	line-height: 1;
}

body.single-product .sparkleacc-product-signal span:first-child {
	background: #dff5e8;
}

body.single-product .sparkleacc-product-signal .is-unavailable {
	background: #ffe2dc;
}

body.single-product .sparkleacc-product-signal i {
	width: 7px;
	height: 7px;
	background: #16865c;
	border: 1px solid var(--sp-product-ink);
	border-radius: 50%;
}

body.single-product .sparkleacc-product-signal .is-unavailable i {
	background: var(--sp-product-coral);
}

body.single-product .sparkleacc-product-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin: 0 0 13px;
	padding: 7px 10px;
	color: var(--sp-product-ink);
	background: var(--sp-product-orange);
	border: var(--sp-product-line);
	border-radius: 999px;
	box-shadow: 3px 3px 0 var(--sp-product-teal);
	font: 900 10px/1 "Lilita One", Impact, sans-serif;
	letter-spacing: 0.8px;
}

body.single-product .sparkleacc-product-eyebrow span {
	color: var(--sp-product-coral);
}

body.single-product .sparkleacc-product__summary .product_title {
	margin: 0 0 13px;
	color: var(--sp-product-ink);
	font-size: clamp(34px, 3.4vw, 51px);
	font-weight: 900;
	line-height: 1.18;
	letter-spacing: -1.7px;
}

body.single-product .sparkleacc-product__summary .woocommerce-product-rating {
	display: flex;
	align-items: center;
	gap: 9px;
	margin: 0 0 13px;
	font-size: 11px;
	font-weight: 800;
}

body.single-product .sparkleacc-product__summary .star-rating {
	float: none;
	color: var(--sp-product-coral);
}

body.single-product .sparkleacc-product__summary .woocommerce-review-link {
	color: var(--sp-product-ink);
	text-underline-offset: 3px;
}

body.single-product .sparkleacc-product__summary p.price,
body.single-product .sparkleacc-product__summary span.price {
	margin: 0 0 16px;
	color: var(--sp-product-coral);
	font-size: clamp(21px, 2.2vw, 30px);
	font-weight: 900;
	line-height: 1.55;
}

body.single-product .sparkleacc-product__summary .price del {
	opacity: 0.4;
	font-size: 0.65em;
}

body.single-product .sparkleacc-product__summary .price ins {
	text-decoration: none;
}

body.single-product .sparkleacc-from-price {
	display: inline-flex;
	direction: rtl;
	unicode-bidi: isolate;
}

body.single-product .sparkleacc-product__summary .woocommerce-product-details__short-description {
	margin-block-end: 18px;
	color: #34414a;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.95;
}

body.single-product .sparkleacc-product__summary .woocommerce-product-details__short-description > :last-child {
	margin-block-end: 0;
}

body.single-product .sparkleacc-product-assurances {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 7px;
	margin: 18px 0 21px;
}

body.single-product .sparkleacc-product-assurances span {
	display: flex;
	align-items: center;
	gap: 7px;
	min-height: 48px;
	padding: 7px;
	background: var(--sp-product-cream);
	border: 1.5px solid var(--sp-product-ink);
	border-radius: 9px;
}

body.single-product .sparkleacc-product-assurances b {
	display: grid;
	place-items: center;
	flex: 0 0 27px;
	width: 27px;
	height: 27px;
	background: var(--sp-product-teal);
	border: 1.5px solid var(--sp-product-ink);
	border-radius: 7px;
	font: 900 9px/1 "Lilita One", Impact, sans-serif;
}

body.single-product .sparkleacc-product-assurances small {
	font-size: 9px;
	font-weight: 850;
	line-height: 1.4;
}

body.single-product .sparkleacc-product__summary form.cart,
body.single-product .sparkleacc-product__summary form.variations_form {
	clear: both;
	float: none;
	width: 100%;
	margin: 0;
	padding: 17px;
	background: var(--sp-product-cream);
	border: var(--sp-product-line);
	border-radius: 14px;
	box-shadow: 5px 5px 0 var(--sp-product-orange);
}

body.single-product .sparkleacc-product__summary table.variations {
	width: 100%;
	margin: 0 0 14px;
	border: 0;
}

body.single-product .sparkleacc-product__summary table.variations tbody,
body.single-product .sparkleacc-product__summary table.variations tr {
	display: block;
}

body.single-product .sparkleacc-product__summary table.variations tr + tr {
	margin-block-start: 12px;
}

body.single-product .sparkleacc-product__summary table.variations th,
body.single-product .sparkleacc-product__summary table.variations td {
	display: block;
	width: 100%;
	padding: 0;
	background: transparent;
	border: 0;
	text-align: start;
}

body.single-product .sparkleacc-product__summary table.variations th label {
	display: block;
	margin-block-end: 7px;
	color: var(--sp-product-ink);
	font-size: 11px;
	font-weight: 900;
}

body.single-product .sparkleacc-product__summary table.variations select {
	width: 100%;
	min-height: 50px;
	padding: 8px 12px;
	color: var(--sp-product-ink);
	background: var(--sp-product-paper);
	border: var(--sp-product-line);
	border-radius: 9px;
	outline: 0;
	font-family: inherit;
	font-size: 13px;
	font-weight: 750;
}

body.single-product .sparkleacc-product__summary table.variations select:focus {
	box-shadow: 0 0 0 3px rgb(73 185 177 / 30%);
}

body.single-product .sparkleacc-product__summary .reset_variations {
	display: inline-block;
	margin-block-start: 7px;
	color: var(--sp-product-coral);
	font-size: 10px;
	font-weight: 850;
}

body.single-product .sparkleacc-product__summary .single_variation_wrap {
	margin-block-start: 12px;
}

body.single-product .sparkleacc-product__summary .woocommerce-variation-description {
	margin-block-end: 10px;
	padding: 9px 11px;
	background: var(--sp-product-paper);
	border-inline-start: 3px solid var(--sp-product-teal);
	border-radius: 7px;
	font-size: 11px;
	line-height: 1.8;
}

body.single-product .sparkleacc-product__summary .woocommerce-variation-price {
	margin-block-end: 9px;
}

body.single-product .sparkleacc-product__summary .woocommerce-variation-availability {
	font-size: 11px;
	font-weight: 800;
}

body.single-product .sparkleacc-product__summary .woocommerce-variation-add-to-cart,
body.single-product .sparkleacc-product__summary form.cart:not(.variations_form) {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 9px;
}

body.single-product .sparkleacc-product__summary form.cart:not(.variations_form) {
	margin-block-start: 16px;
}

body.single-product .sparkleacc-product__summary .quantity {
	float: none;
	margin: 0;
}

body.single-product .sparkleacc-product__summary .quantity .qty {
	width: 64px;
	min-height: 50px;
	padding: 7px;
	color: var(--sp-product-ink);
	background: var(--sp-product-paper);
	border: var(--sp-product-line);
	border-radius: 9px;
	font-family: inherit;
	font-weight: 900;
}

body.single-product .sparkleacc-product__summary button.button.alt,
body.single-product .sparkleacc-product__summary .single_add_to_cart_button {
	flex: 1 1 190px;
	min-height: 50px;
	padding: 10px 18px;
	color: var(--sp-product-ink);
	background: var(--sp-product-orange);
	border: var(--sp-product-line);
	border-radius: 9px;
	box-shadow: 4px 4px 0 var(--sp-product-ink);
	outline: 0;
	font-family: inherit;
	font-size: 13px;
	font-weight: 900;
	transition: transform 150ms ease, box-shadow 150ms ease, background-color 150ms ease;
}

body.single-product .sparkleacc-product__summary button.button.alt:hover,
body.single-product .sparkleacc-product__summary button.button.alt:focus-visible,
body.single-product .sparkleacc-product__summary .single_add_to_cart_button:hover,
body.single-product .sparkleacc-product__summary .single_add_to_cart_button:focus-visible {
	color: var(--sp-product-ink);
	background: var(--sp-product-teal);
	box-shadow: 1px 1px 0 var(--sp-product-ink);
	transform: translate(3px, 3px);
}

body.single-product .sparkleacc-product__summary button.button.alt.disabled,
body.single-product .sparkleacc-product__summary .single_add_to_cart_button.disabled {
	color: rgb(17 24 32 / 60%);
	background: #d7d5cc;
	opacity: 1;
	box-shadow: none;
	cursor: not-allowed;
	transform: none;
}

body.single-product .sparkleacc-product-support {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 10px;
	margin-block-start: 16px;
	padding: 10px;
	background: rgb(73 185 177 / 13%);
	border: 1.5px dashed var(--sp-product-ink);
	border-radius: 10px;
}

body.single-product .sparkleacc-product-support__icon {
	display: grid;
	place-items: center;
	width: 32px;
	height: 32px;
	background: var(--sp-product-teal);
	border: 1.5px solid var(--sp-product-ink);
	border-radius: 50%;
	font: 900 16px/1 "Lilita One", Impact, sans-serif;
}

body.single-product .sparkleacc-product-support strong {
	display: block;
	margin-block-end: 2px;
	font-size: 10px;
	font-weight: 900;
}

body.single-product .sparkleacc-product-support p {
	margin: 0;
	color: #43515a;
	font-size: 9px;
	font-weight: 650;
	line-height: 1.65;
}

body.single-product .sparkleacc-product-support a {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 7px 9px;
	color: var(--sp-product-ink);
	background: var(--sp-product-paper);
	border: 1.5px solid var(--sp-product-ink);
	border-radius: 7px;
	font-size: 9px;
	font-weight: 900;
	text-decoration: none;
}

body.single-product .sparkleacc-product__summary .product_meta {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	margin-block-start: 19px;
	color: #45525a;
	font-size: 9px;
	font-weight: 700;
}

body.single-product .sparkleacc-product__summary .product_meta > span {
	padding: 6px 9px;
	background: var(--sp-product-cream);
	border: 1.5px solid var(--sp-product-ink);
	border-radius: 999px;
}

body.single-product .sparkleacc-product__summary .product_meta a {
	color: var(--sp-product-ink);
	font-weight: 850;
}

/* Lower content: tabs, route and related products --------------------- */

body.single-product .sparkleacc-product__lower {
	display: flow-root;
	width: 100%;
	margin-block-start: 38px;
}

body.single-product .sparkleacc-product__lower > * {
	float: none !important;
	clear: both !important;
	width: 100% !important;
}

body.single-product .sparkleacc-product__lower .woocommerce-tabs {
	margin: 0;
	padding: clamp(23px, 3.5vw, 40px);
	color: var(--sp-product-ink);
	background: var(--sp-product-cream);
	border: 3px solid var(--sp-product-paper);
	border-radius: 20px;
	box-shadow: 9px 10px 0 var(--sp-product-coral);
}

body.single-product .sparkleacc-product__lower .woocommerce-tabs ul.tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 24px;
	padding: 0;
}

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

body.single-product .sparkleacc-product__lower .woocommerce-tabs ul.tabs li {
	float: none;
	margin: 0;
	padding: 0;
	background: var(--sp-product-paper);
	border: var(--sp-product-line);
	border-radius: 9px;
}

body.single-product .sparkleacc-product__lower .woocommerce-tabs ul.tabs li.active {
	background: var(--sp-product-orange);
	box-shadow: 3px 3px 0 var(--sp-product-ink);
}

body.single-product .sparkleacc-product__lower .woocommerce-tabs ul.tabs li a {
	display: block;
	padding: 9px 14px;
	color: var(--sp-product-ink);
	font-size: 11px;
	font-weight: 900;
	outline: 0;
}

body.single-product .sparkleacc-product__lower .woocommerce-tabs .panel {
	float: none;
	width: 100%;
	margin: 0;
	padding: 0;
	font-size: 14px;
	line-height: 2.1;
}

body.single-product .sparkleacc-product__lower .woocommerce-tabs .panel h2 {
	margin: 0 0 13px;
	font-size: clamp(25px, 2.8vw, 38px);
	font-weight: 900;
}

body.single-product .sparkleacc-product__lower .woocommerce-product-attributes {
	overflow: hidden;
	border: var(--sp-product-line);
	border-radius: 10px;
}

body.single-product .sparkleacc-product__lower .woocommerce-product-attributes th,
body.single-product .sparkleacc-product__lower .woocommerce-product-attributes td {
	padding: 11px 13px;
	background: var(--sp-product-paper);
	border-color: rgb(17 24 32 / 18%);
	font-style: normal;
}

body.single-product .sparkleacc-product-journey {
	display: grid;
	grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1.7fr) auto;
	align-items: center;
	gap: clamp(18px, 3vw, 38px);
	margin-block-start: 36px;
	padding: clamp(23px, 3.5vw, 38px);
	color: var(--sp-product-ink);
	background:
		linear-gradient(135deg, transparent 0 49%, rgb(17 24 32 / 5%) 49% 51%, transparent 51%) 0 0 / 18px 18px,
		var(--sp-product-paper);
	border: 3px solid var(--sp-product-paper);
	border-radius: 19px;
	box-shadow: 9px 10px 0 var(--sp-product-orange);
}

body.single-product .sparkleacc-product-journey header > span {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-block-end: 8px;
	color: var(--sp-product-coral);
	font-size: 9px;
	font-weight: 900;
	letter-spacing: 0.7px;
}

body.single-product .sparkleacc-product-journey header h2 {
	margin: 0 0 7px;
	font-size: clamp(23px, 2.3vw, 34px);
	font-weight: 900;
	line-height: 1.28;
}

body.single-product .sparkleacc-product-journey header p {
	margin: 0;
	color: var(--sp-product-muted);
	font-size: 11px;
	font-weight: 700;
}

body.single-product .sparkleacc-product-journey ol {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

body.single-product .sparkleacc-product-journey li {
	position: relative;
	display: flex;
	align-items: flex-start;
	gap: 9px;
	min-height: 102px;
	padding: 12px 10px;
	background: var(--sp-product-cream);
	border: var(--sp-product-line);
	border-radius: 10px;
}

body.single-product .sparkleacc-product-journey li:not(:last-child)::after {
	content: "←";
	position: absolute;
	inset-block-start: 50%;
	inset-inline-end: -14px;
	z-index: 2;
	display: grid;
	place-items: center;
	width: 20px;
	height: 20px;
	color: var(--sp-product-paper);
	background: var(--sp-product-ink);
	border-radius: 50%;
	font-size: 10px;
	transform: translateY(-50%);
}

body.single-product .sparkleacc-product-journey li > b {
	display: grid;
	place-items: center;
	flex: 0 0 29px;
	width: 29px;
	height: 29px;
	background: var(--sp-product-teal);
	border: 1.5px solid var(--sp-product-ink);
	border-radius: 7px;
	font: 900 9px/1 "Lilita One", Impact, sans-serif;
}

body.single-product .sparkleacc-product-journey li:nth-child(2) > b {
	background: var(--sp-product-orange);
}

body.single-product .sparkleacc-product-journey li:nth-child(3) > b {
	background: var(--sp-product-coral);
}

body.single-product .sparkleacc-product-journey li strong,
body.single-product .sparkleacc-product-journey li span {
	display: block;
}

body.single-product .sparkleacc-product-journey li strong {
	margin-block: 2px 5px;
	font-size: 10px;
	font-weight: 900;
}

body.single-product .sparkleacc-product-journey li span {
	color: #4c5a63;
	font-size: 9px;
	font-weight: 650;
	line-height: 1.65;
}

body.single-product .sparkleacc-product-journey > a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	min-height: 46px;
	padding: 9px 12px;
	color: var(--sp-product-ink);
	background: var(--sp-product-orange);
	border: var(--sp-product-line);
	border-radius: 9px;
	box-shadow: 4px 4px 0 var(--sp-product-ink);
	font-size: 10px;
	font-weight: 900;
	text-align: center;
	text-decoration: none;
}

body.single-product .sparkleacc-product__lower section.related,
body.single-product .sparkleacc-product__lower section.upsells {
	margin-block-start: 42px;
}

body.single-product .sparkleacc-product__lower section.related > h2,
body.single-product .sparkleacc-product__lower section.upsells > h2 {
	margin: 0 0 18px;
	color: var(--sp-product-paper);
	font-size: clamp(27px, 3.5vw, 43px);
	font-weight: 900;
}

body.single-product .sparkleacc-product__lower section.related ul.products,
body.single-product .sparkleacc-product__lower section.upsells ul.products {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 15px;
	margin: 0;
	padding: 0;
}

body.single-product .sparkleacc-product__lower ul.products::before,
body.single-product .sparkleacc-product__lower ul.products::after {
	display: none;
	content: none;
}

body.single-product .sparkleacc-product__lower ul.products li.product {
	float: none;
	width: auto;
	margin: 0;
	padding: 9px 9px 14px;
	color: var(--sp-product-ink);
	background: var(--sp-product-cream);
	border: var(--sp-product-line);
	border-radius: 14px;
	box-shadow: 5px 6px 0 var(--sp-product-teal);
}

body.single-product .sparkleacc-product__lower ul.products li.product:nth-child(even) {
	box-shadow: 5px 6px 0 var(--sp-product-coral);
}

body.single-product .sparkleacc-product__lower ul.products li.product a img {
	width: 100%;
	margin: 0 0 10px;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border: var(--sp-product-line);
	border-radius: 9px;
}

body.single-product .sparkleacc-product__lower ul.products li.product .woocommerce-loop-product__title {
	padding: 0;
	color: var(--sp-product-ink);
	font-size: 14px;
	font-weight: 900;
	line-height: 1.6;
}

body.single-product .sparkleacc-product__lower ul.products li.product .price {
	margin: 6px 0;
	color: var(--sp-product-coral);
	font-size: 12px;
	font-weight: 900;
}

body.single-product .sparkleacc-product__lower ul.products li.product .button {
	width: 100%;
	margin-block-start: 8px;
	padding: 9px;
	color: var(--sp-product-ink);
	background: var(--sp-product-orange);
	border: var(--sp-product-line);
	border-radius: 8px;
	box-shadow: 3px 3px 0 var(--sp-product-ink);
	font-size: 10px;
	font-weight: 900;
	text-align: center;
}

/* Mobile purchase rail ------------------------------------------------ */

body.single-product .sparkleacc-mobile-buy {
	display: none;
}

@media (max-width: 1080px) {
	body.single-product .sparkleacc-product__hero {
		grid-template-columns: minmax(0, 0.96fr) minmax(350px, 1.04fr);
	}

	body.single-product .sparkleacc-product__summary {
		padding: 28px;
	}

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

	body.single-product .sparkleacc-product-journey > a {
		justify-self: start;
	}

	body.single-product .sparkleacc-product__lower section.related ul.products,
	body.single-product .sparkleacc-product__lower section.upsells ul.products {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 820px) {
	body.single-product .sparkleacc-product__hero {
		grid-template-columns: minmax(0, 1fr);
		grid-template-areas:
			"media"
			"summary";
		box-shadow: 8px 9px 0 var(--sp-product-teal);
	}

	body.single-product .sparkleacc-product__media {
		border-radius: 22px 22px 0 0;
	}

	body.single-product .sparkleacc-product__media .woocommerce-product-gallery {
		position: relative;
		inset-block-start: auto;
	}

	body.single-product .sparkleacc-product__summary {
		border-block-start: 3px solid var(--sp-product-ink);
		border-inline-start: 0;
		border-radius: 0 0 22px 22px;
	}

	body.single-product .sparkleacc-product__lower section.related ul.products,
	body.single-product .sparkleacc-product__lower section.upsells ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	body.single-product .site-main {
		padding: 42px 12px 110px;
	}

	body.single-product .site-main::before {
		inset-block-start: 12px;
		inset-inline-end: 12px;
	}

	body.single-product .woocommerce-breadcrumb {
		margin-block-end: 18px;
		padding: 8px 10px;
		font-size: 9px;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	body.single-product .sparkleacc-product__hero {
		border-width: 2px;
		border-radius: 18px;
		box-shadow: 6px 7px 0 var(--sp-product-teal);
	}

	body.single-product .sparkleacc-product__media {
		padding: 11px;
		border-radius: 16px 16px 0 0;
	}

	body.single-product .sparkleacc-product__media-label {
		margin-block-end: 9px;
	}

	body.single-product .sparkleacc-product__media > .onsale {
		inset-block-start: 49px;
		inset-inline-end: 22px;
	}

	body.single-product .sparkleacc-product__media .woocommerce-product-gallery__wrapper {
		border-width: 2px;
		border-radius: 11px;
	}

	body.single-product .sparkleacc-product__summary {
		padding: 22px 15px 24px;
		border-block-start-width: 2px;
		border-radius: 0 0 16px 16px;
	}

	body.single-product .sparkleacc-product__summary .product_title {
		font-size: clamp(32px, 10.5vw, 44px);
		letter-spacing: -1.25px;
	}

	body.single-product .sparkleacc-product-assurances {
		gap: 5px;
	}

	body.single-product .sparkleacc-product-assurances span {
		flex-direction: column;
		align-items: flex-start;
		min-height: 70px;
	}

	body.single-product .sparkleacc-product__summary form.cart,
	body.single-product .sparkleacc-product__summary form.variations_form {
		padding: 13px;
	}

	body.single-product .sparkleacc-product-support {
		grid-template-columns: auto minmax(0, 1fr);
	}

	body.single-product .sparkleacc-product-support a {
		grid-column: 1 / -1;
		justify-content: center;
	}

	body.single-product .sparkleacc-product__lower {
		margin-block-start: 28px;
	}

	body.single-product .sparkleacc-product__lower .woocommerce-tabs {
		padding: 18px 13px;
		border-width: 2px;
		border-radius: 15px;
		box-shadow: 6px 7px 0 var(--sp-product-coral);
	}

	body.single-product .sparkleacc-product__lower .woocommerce-tabs ul.tabs {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	body.single-product .sparkleacc-product__lower .woocommerce-tabs ul.tabs li a {
		text-align: center;
	}

	body.single-product .sparkleacc-product-journey {
		margin-block-start: 28px;
		padding: 20px 13px;
		border-width: 2px;
		box-shadow: 6px 7px 0 var(--sp-product-orange);
	}

	body.single-product .sparkleacc-product-journey ol {
		grid-template-columns: 1fr;
	}

	body.single-product .sparkleacc-product-journey li {
		min-height: 0;
	}

	body.single-product .sparkleacc-product-journey li:not(:last-child)::after {
		content: "↓";
		inset-block-start: auto;
		inset-block-end: -15px;
		inset-inline-end: 50%;
		transform: translateX(50%);
	}

	body.single-product .sparkleacc-product-journey > a {
		justify-self: stretch;
	}

	body.single-product .sparkleacc-mobile-buy {
		position: fixed;
		inset-inline: 9px;
		inset-block-end: max(9px, env(safe-area-inset-bottom));
		z-index: 80;
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 10px;
		padding: 9px;
		color: var(--sp-product-ink);
		background: rgb(255 253 247 / 96%);
		border: var(--sp-product-line);
		border-radius: 13px;
		box-shadow: 5px 5px 0 var(--sp-product-coral);
		backdrop-filter: blur(8px);
		transition: opacity 160ms ease, transform 160ms ease;
	}

	body.single-product .sparkleacc-mobile-buy[hidden],
	body.single-product .sparkleacc-mobile-buy.is-native-form-visible {
		display: none;
	}

	body.single-product .sparkleacc-mobile-buy div {
		min-width: 0;
	}

	body.single-product .sparkleacc-mobile-buy small,
	body.single-product .sparkleacc-mobile-buy strong {
		display: block;
	}

	body.single-product .sparkleacc-mobile-buy small {
		margin-block-end: 2px;
		color: var(--sp-product-muted);
		font-size: 8px;
		font-weight: 750;
	}

	body.single-product .sparkleacc-mobile-buy strong {
		color: var(--sp-product-coral);
		font-size: 11px;
		font-weight: 900;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	body.single-product .sparkleacc-mobile-buy strong del {
		display: none;
	}

	body.single-product .sparkleacc-mobile-buy strong ins {
		text-decoration: none;
	}

	body.single-product .sparkleacc-mobile-buy button {
		flex: 0 0 auto;
		min-height: 43px;
		padding: 8px 12px;
		color: var(--sp-product-ink);
		background: var(--sp-product-orange);
		border: var(--sp-product-line);
		border-radius: 8px;
		box-shadow: 3px 3px 0 var(--sp-product-ink);
		font-family: inherit;
		font-size: 10px;
		font-weight: 900;
	}
}

@media (max-width: 390px) {
	body.single-product .sparkleacc-product-signal span {
		font-size: 8px;
	}

	body.single-product .sparkleacc-product__lower section.related ul.products,
	body.single-product .sparkleacc-product__lower section.upsells ul.products {
		grid-template-columns: 1fr;
	}
}

@media (prefers-reduced-motion: reduce) {
	body.single-product .sparkleacc-product__media img,
	body.single-product .sparkleacc-product button,
	body.single-product .sparkleacc-product a,
	body.single-product .sparkleacc-mobile-buy {
		transition: none !important;
		transform: none !important;
	}
}
