/**
 * Shadi Clinic product page and cart. Mobile first, RTL. Tokens come from tokens.css, cards and
 * buttons from components.css. Gold is reserved for authenticity. No gradients, no shadows.
 */

body.sc-shop {
	background: var(--sc-bg);
}

/* Astra boxes and splits the content area; these pages set their own width. */
.sc-shop #content > .ast-container,
.sc-shop .site-content > .ast-container {
	max-width: 1200px;
	margin-inline: auto;
	padding-inline: 16px;
	display: block;
}

.sc-shop #primary {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
	border: 0;
}

.sc-shop #secondary {
	display: none;
}

.sc-shop .ast-article-single,
.sc-shop .ast-woocommerce-container,
.sc-shop .site-main > article {
	background: transparent;
	padding: 0;
	border: 0;
}

.sc-pd,
.sc-cat-page,
.sc-cartpage .entry-content,
.sc-cartpage .entry-header {
	font-family: var(--sc-font);
	color: var(--sc-ink);
	line-height: 1.8;
	direction: rtl;
	text-align: right;
}

.sc-pd *,
.sc-pd *::before,
.sc-pd *::after,
.sc-cat-page *,
.sc-cat-page *::before,
.sc-cat-page *::after {
	box-sizing: border-box;
}

.sc-pd a,
.sc-cat-page a {
	text-decoration: none;
}

.sc-pd :focus-visible,
.sc-cat-page :focus-visible,
.sc-cartpage :focus-visible {
	outline: 2px solid var(--sc-petrol);
	outline-offset: 2px;
}

/* Breadcrumbs */
.sc-crumbs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 8px;
	padding: 16px 0 12px;
	font-size: .8125rem;
	color: var(--sc-muted);
}

.sc-crumbs a {
	color: var(--sc-muted) !important;
}

.sc-crumbs a:hover {
	color: var(--sc-petrol) !important;
}

.sc-crumbs__sep {
	color: #b5aea4;
}

/* Photo and buy column */
.sc-pd__top {
	display: grid;
	gap: 20px;
	align-items: start;
}

.woocommerce div.product.sc-pd div.images,
.woocommerce div.product.sc-pd div.summary,
.sc-pd .woocommerce-product-gallery,
.sc-pd .sc-pd__info {
	float: none !important;
	width: 100% !important;
	max-width: none;
	margin: 0 !important;
	padding: 0;
}

.sc-pd__media {
	position: relative;
	min-width: 0;
}

.sc-pd .woocommerce-product-gallery {
	position: relative;
	opacity: 1 !important;
}

.sc-pd .woocommerce-product-gallery__wrapper {
	margin: 0;
}

.sc-pd .woocommerce-product-gallery .flex-viewport,
.sc-pd .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image:only-child,
.sc-pd .woocommerce-product-gallery:not(.woocommerce-product-gallery--with-images),
.sc-pd .woocommerce-product-gallery__wrapper:not(.flex-viewport .woocommerce-product-gallery__wrapper) > .woocommerce-product-gallery__image:first-child {
	background: var(--sc-surface);
	border: 1px solid var(--sc-line);
	border-radius: var(--sc-r-xl);
	overflow: hidden;
}

.sc-pd .woocommerce-product-gallery__image img,
.sc-pd .woocommerce-product-gallery__image--placeholder img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1;
	object-fit: contain;
}

.sc-pd .flex-control-thumbs {
	display: flex;
	gap: 8px;
	margin: 12px 0 0 !important;
	padding: 0;
	list-style: none;
	overflow-x: auto;
}

.sc-pd .flex-control-thumbs li {
	flex: none;
	width: 72px !important;
	margin: 0 !important;
	float: none !important;
}

.sc-pd .flex-control-thumbs img {
	border: 1px solid var(--sc-line);
	border-radius: var(--sc-r-sm);
	background: var(--sc-surface);
	opacity: .7;
	cursor: pointer;
}

.sc-pd .flex-control-thumbs img.flex-active,
.sc-pd .flex-control-thumbs img:hover {
	opacity: 1;
	border-color: var(--sc-petrol);
}

.sc-pd .woocommerce-product-gallery__trigger {
	position: absolute;
	top: 12px;
	inset-inline-end: 12px;
	z-index: 2;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--sc-surface);
	border: 1px solid var(--sc-line);
}

.sc-pd__media > .sc-badge {
	top: 14px;
	inset-inline-start: 14px;
	z-index: 2;
	width: 44px;
	height: 44px;
}

.sc-pd__media > .sc-badge .sc-genuine {
	width: 30px;
	height: 30px;
}

.sc-pd__media .onsale {
	position: absolute;
	top: 14px;
	inset-inline-end: 64px;
	inset-inline-start: auto;
	z-index: 2;
	min-width: 0;
	min-height: 0;
	margin: 0;
	padding: 2px 10px;
	border-radius: 8px;
	background: var(--sc-sale);
	color: #fff;
	font-size: .8125rem;
	font-weight: 800;
	line-height: 1.8;
}

.sc-pd__info {
	display: flex;
	flex-direction: column;
	gap: 14px;
	min-width: 0;
}

.sc-pd__info > * {
	margin: 0 !important;
}

/* Chips */
.sc-pd__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.sc-chip {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 2px 12px;
	border-radius: 999px;
	background: var(--sc-petrol-soft);
	color: var(--sc-petrol) !important;
	font-size: .8125rem;
	font-weight: 600;
	line-height: 1.9;
	white-space: nowrap;
}

.sc-chip--line {
	background: var(--sc-surface);
	border: 1px solid var(--sc-line);
	color: var(--sc-ink) !important;
}

a.sc-chip--line:hover {
	border-color: var(--sc-petrol);
}

.sc-chip--ok .sc-i {
	width: 14px;
	height: 14px;
}

/* Title */
.sc-pd .product_title {
	margin: 0;
	font-size: 1.375rem;
	font-weight: 800;
	line-height: 1.6;
	color: var(--sc-ink);
}

/* The English name keeps Latin digits: the font kit's Persian-digit feature is switched off
   here only, and a system font is used. Everywhere else the kit's digits stay as they are. */
.sc-pd__en {
	margin: 2px 0 0;
	font-size: .875rem;
	color: var(--sc-muted);
	text-align: right;
	font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif !important;
	font-feature-settings: normal !important;
}

.sc-pd .woocommerce-product-rating {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: .875rem;
}

.sc-pd .woocommerce-review-link {
	color: var(--sc-petrol) !important;
}

.sc-pd .woocommerce-product-details__short-description {
	font-size: 1rem;
	color: var(--sc-muted);
}

.sc-pd .woocommerce-product-details__short-description p {
	margin: 0;
}

/* Facts */
.sc-pd__facts {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	list-style: none;
	padding: 0;
}

.sc-pd__facts li {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 12px;
	border-radius: var(--sc-r-sm);
	background: var(--sc-surface);
	border: 1px solid var(--sc-line);
	font-size: .875rem;
}

.sc-pd__facts .sc-i {
	width: 18px;
	height: 18px;
	color: var(--sc-petrol);
}

/* Price */
.sc-pd__pricerow {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	padding-top: 4px;
}

.woocommerce div.product.sc-pd .sc-pd__pricerow .price,
.sc-pd .sc-pd__pricerow .price {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0 10px;
	margin: 0;
	font-size: 1.5rem;
	font-weight: 800;
	color: var(--sc-ink);
}

.sc-pd .price del {
	font-size: 1rem;
	font-weight: 400;
	color: var(--sc-muted);
	opacity: 1;
}

.sc-pd .price ins {
	text-decoration: none;
}

.sc-pd .sc-demo-note {
	font-size: .8125rem;
}

/* Add to cart */
.sc-pd form.cart {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	gap: 12px;
	margin: 0 !important;
	padding: 0;
	border: 0;
}

.sc-pd form.cart::before,
.sc-pd form.cart::after {
	display: none;
}

.sc-pd form.cart .quantity {
	float: none;
	margin: 0 !important;
	display: flex;
}

.sc-pd form.cart .quantity .qty,
.sc-pd form.cart .quantity input[type="number"] {
	width: 76px;
	height: 52px;
	min-height: 52px;
	padding: 0 8px;
	border: 1.5px solid var(--sc-line);
	border-radius: var(--sc-r);
	background: var(--sc-surface);
	color: var(--sc-ink);
	font: inherit;
	font-size: 1rem;
	font-weight: 700;
	text-align: center;
}

.sc-pd form.cart .single_add_to_cart_button,
.sc-pd form.cart .button.single_add_to_cart_button {
	flex: 1 1 180px;
	float: none;
	min-height: 52px;
	margin: 0 !important;
	padding: 10px 20px;
	border: 0;
	border-radius: var(--sc-r);
	background: var(--sc-petrol) !important;
	color: #fff !important;
	font: inherit;
	font-size: 1rem;
	font-weight: 800;
	line-height: 1.5;
	cursor: pointer;
}

.sc-pd form.cart .single_add_to_cart_button:hover {
	background: var(--sc-petrol-dark) !important;
}

.sc-pd form.cart .single_add_to_cart_button.disabled,
.sc-pd form.cart .single_add_to_cart_button:disabled {
	opacity: .5;
	cursor: not-allowed;
}

.sc-pd form.cart.variations_form,
.sc-pd form.cart.grouped_form {
	display: block;
}

.sc-pd .variations_form .woocommerce-variation-add-to-cart {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.sc-pd table.variations {
	width: 100%;
	margin-bottom: 12px;
	border: 0;
}

.sc-pd table.variations th,
.sc-pd table.variations td {
	display: block;
	padding: 0 0 6px;
	border: 0;
	text-align: right;
	background: none;
}

.sc-pd table.variations select {
	width: 100%;
	min-height: 48px;
	padding: 0 12px;
	border: 1.5px solid var(--sc-line);
	border-radius: var(--sc-r);
	background: var(--sc-surface);
	font: inherit;
}

.woocommerce div.product.sc-pd .stock,
.sc-pd .stock {
	margin: 0;
	font-size: .875rem;
	font-weight: 700;
	color: var(--sc-petrol);
}

.woocommerce div.product.sc-pd .stock.out-of-stock,
.sc-pd .stock.out-of-stock {
	color: var(--sc-coral-ink);
}

.sc-pd__consult {
	width: 100%;
	border-color: var(--sc-coral) !important;
	background: var(--sc-coral-tint) !important;
	color: var(--sc-coral-ink) !important;
}
.sc-pd__consult:hover {
	background: #f7dccf !important;
}

/* Title line: the gold mark for documented products, the store promise for the rest. */
.sc-pd__seal {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 6px 0 0;
	padding: 3px 10px 3px 6px;
	border-radius: 999px;
	background: var(--sc-petrol-soft);
	color: var(--sc-petrol);
	font-size: .75rem;
	font-weight: 700;
	line-height: 1.6;
}
.sc-pd__seal .sc-i,
.sc-pd__seal .sc-genuine {
	width: 18px;
	height: 18px;
}
.sc-pd__seal--gold {
	background: var(--sc-gold-tint);
	color: var(--sc-gold-text);
	border: 1px solid var(--sc-gold-line);
}

/* «قیمت واردکنندهٔ رسمی» under the price. */
.sc-pd__pricenote {
	flex-basis: 100%;
	margin-top: -4px;
	font-size: .75rem;
	color: var(--sc-muted);
}

/* The authenticity card now sits inside the buy box, under the price. */
.sc-buybox .sc-auth {
	border-radius: var(--sc-r);
}
.sc-buybox .sc-auth summary {
	padding: 12px 12px;
}
.sc-buybox .sc-auth__body {
	padding: 0 12px 12px;
}
.sc-buybox .sc-auth__icon {
	width: 36px;
	height: 36px;
}
.sc-buybox .sc-auth__icon .sc-i {
	width: 20px;
	height: 20px;
}
.sc-buybox .sc-auth__icon .sc-genuine {
	width: 26px;
	height: 26px;
}
/* Inside the buy box only the title shows; the explanation waits under the fold. */
.sc-buybox .sc-auth__t > span,
.sc-buybox .sc-auth__more-t {
	display: none;
}
.sc-buybox .sc-auth__t b {
	font-size: .875rem;
	line-height: 1.6;
}
.sc-buybox .sc-auth summary {
	gap: 10px;
	padding: 10px 12px;
}
.sc-pd__trust:empty {
	display: none;
}

/* Authenticity box: neutral by default, gold only for documented products. */
.sc-auth {
	border: 1px solid var(--sc-line);
	border-radius: var(--sc-r-lg);
	background: var(--sc-surface);
}

.sc-auth--gold {
	border-color: var(--sc-gold-line);
	background: var(--sc-gold-soft);
}

.sc-auth summary {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 16px;
	cursor: pointer;
	list-style: none;
}

.sc-auth summary::-webkit-details-marker {
	display: none;
}

.sc-auth__icon {
	flex: none;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--sc-petrol-soft);
	color: var(--sc-petrol);
}

.sc-auth--gold .sc-auth__icon {
	background: var(--sc-surface);
	border: 1px solid var(--sc-gold-line);
}

.sc-auth__icon .sc-genuine {
	width: 30px;
	height: 30px;
}

.sc-auth__icon .sc-i {
	width: 24px;
	height: 24px;
}

.sc-auth__t {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	font-size: .8125rem;
	color: var(--sc-muted);
	line-height: 1.7;
}

.sc-auth__t b {
	font-size: .9375rem;
	color: var(--sc-ink);
}

.sc-auth--gold .sc-auth__t b {
	color: var(--sc-gold-ink);
}

.sc-auth__more {
	flex: none;
	display: inline-flex;
	align-items: center;
	gap: 2px;
	font-size: .8125rem;
	font-weight: 700;
	color: var(--sc-petrol);
}

.sc-auth__more-t {
	display: none;
}

.sc-auth--gold .sc-auth__more {
	color: var(--sc-gold-ink);
}

.sc-auth__more .sc-i,
.sc-fold summary > .sc-i {
	width: 18px;
	height: 18px;
	transform: rotate(-90deg);
	transition: transform .2s;
}

.sc-auth[open] .sc-auth__more .sc-i,
.sc-fold[open] summary > .sc-i {
	transform: rotate(90deg);
}

.sc-auth__body {
	padding: 0 16px 16px;
	font-size: .875rem;
}

.sc-auth__rows {
	display: grid;
	gap: 0;
	margin: 0 0 12px;
	border-top: 1px solid var(--sc-gold-line);
}

.sc-auth__rows > div {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding: 8px 0;
	border-bottom: 1px solid var(--sc-gold-line);
}

.sc-auth__rows dt {
	color: var(--sc-muted);
	font-weight: 400;
}

.sc-auth__rows dd {
	margin: 0;
	font-weight: 700;
	text-align: left;
}

.sc-auth__steps {
	margin: 0 0 12px;
	padding: 0;
	list-style: none;
	counter-reset: sc-step;
	display: grid;
	gap: 8px;
}

.sc-auth__steps li {
	counter-increment: sc-step;
	display: flex;
	gap: 10px;
	align-items: flex-start;
}

.sc-auth__steps li::before {
	content: counter(sc-step, persian);
	flex: none;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: var(--sc-petrol-soft);
	color: var(--sc-petrol);
	font-size: .75rem;
	font-weight: 800;
}

/* Folding details */
.sc-pd__folds {
	margin-top: 32px;
	border-top: 1px solid var(--sc-line);
}

.sc-fold {
	border-bottom: 1px solid var(--sc-line);
}

.sc-fold summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 16px 0;
	cursor: pointer;
	list-style: none;
}

.sc-fold summary::-webkit-details-marker {
	display: none;
}

.sc-fold summary h2 {
	flex: 1;
	min-width: 0;
	margin: 0;
	font-size: 1.0625rem;
	font-weight: 800;
	line-height: 1.6;
	color: var(--sc-ink);
}

.sc-fold summary > .sc-i {
	color: var(--sc-petrol);
	flex: none;
}

.sc-fold__in {
	padding: 0 0 20px;
	max-width: 760px;
	font-size: 1rem;
}

.sc-fold__in > :first-child {
	margin-top: 0;
}

.sc-fold__in p,
.sc-fold__in ul,
.sc-fold__in ol {
	margin: 0 0 12px;
}

.sc-fold__in ul,
.sc-fold__in ol {
	padding-inline-start: 22px;
}

.sc-fold__in li {
	margin-bottom: 6px;
}

.sc-fold__in li::marker {
	color: var(--sc-petrol);
}

.sc-fold__in h3 {
	margin: 18px 0 6px;
	font-size: 1rem;
	font-weight: 800;
}

.sc-pd__sku {
	font-size: .875rem;
	color: var(--sc-muted);
}

.sc-pd table.shop_attributes {
	width: 100%;
	margin: 0;
	border: 0;
	border-collapse: collapse;
	font-size: .9375rem;
}

.sc-pd table.shop_attributes th,
.sc-pd table.shop_attributes td {
	padding: 10px 0;
	border: 0;
	border-bottom: 1px solid var(--sc-line);
	background: none !important;
	text-align: right;
	vertical-align: top;
	font-style: normal;
}

.sc-pd table.shop_attributes th {
	width: 38%;
	color: var(--sc-muted);
	font-weight: 400;
}

.sc-pd table.shop_attributes td p {
	margin: 0;
	padding: 0;
}

/* Reviews (WooCommerce markup inside the fold) */
/* The fold already says «نظر خریداران». */
.sc-pd .woocommerce-Reviews-title {
	display: none;
}

.sc-pd .woocommerce-noreviews {
	margin: 0 0 8px;
	color: var(--sc-muted);
}

.sc-pd #reviews .star-rating,
.sc-pd #reviews p.stars a {
	color: var(--sc-petrol) !important;
}

.sc-pd #reviews .commentlist {
	margin: 0;
	padding: 0;
	list-style: none;
}

.sc-pd #reviews .comment_container {
	padding: 12px 0;
	border-bottom: 1px solid var(--sc-line);
}

.sc-pd #reviews .avatar {
	display: none;
}

.sc-pd #reviews .comment-text {
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
}

.sc-pd #review_form_wrapper {
	margin-top: 12px;
	padding: 16px;
	border-radius: var(--sc-r-lg);
	background: var(--sc-surface);
	border: 1px solid var(--sc-line);
}

.sc-pd #review_form textarea,
.sc-pd #review_form input[type="text"],
.sc-pd #review_form input[type="email"] {
	width: 100%;
	padding: 10px 12px;
	border: 1.5px solid var(--sc-line);
	border-radius: var(--sc-r-sm);
	font: inherit;
}

.sc-pd #review_form .comment-reply-title {
	display: block;
	margin-bottom: 4px;
	font-size: 1rem;
	font-weight: 800;
}

.woocommerce .sc-pd #review_form #respond .form-submit input#submit,
.sc-pd #review_form .submit {
	min-height: 48px;
	padding: 10px 24px;
	border: 0;
	border-radius: var(--sc-r);
	background: var(--sc-petrol);
	color: #fff;
	font: inherit;
	font-weight: 700;
}

/* Similar products */
.sc-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px 14px;
}

.sc-pd__similar {
	padding-bottom: 32px;
}

.sc-pd__similar .sc-card a,
.sc-pd__similar a.sc-card {
	color: inherit;
}

/* Sticky buy bar on phones, above the bottom menu */
.sc-buybar {
	position: fixed;
	inset-inline: 0;
	bottom: 0;
	z-index: 51;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
	background: var(--sc-surface);
	border-top: 1px solid var(--sc-line);
	font-family: var(--sc-font);
	direction: rtl;
	transform: translateY(140%);
	visibility: hidden;
	transition: transform .2s, visibility .2s;
}

.sc-buybar.is-on {
	transform: none;
	visibility: visible;
}

.sc-buybar[hidden] {
	display: none;
}

.sc-buybar__info {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	line-height: 1.6;
}

.sc-buybar__name {
	font-size: .75rem;
	color: var(--sc-muted);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.sc-buybar__price {
	font-size: 1rem;
	font-weight: 800;
	color: var(--sc-ink);
}

.sc-buybar__price del {
	display: none;
}

.sc-buybar__price ins {
	text-decoration: none;
}

.sc-buybar__btn {
	flex: none;
	min-height: 46px;
}

/* Astra's own sticky add-to-cart would repeat ours. */
.sc-product .ast-sticky-add-to-cart {
	display: none !important;
}

/* One bar at a time on phones: the bottom menu slides away while the buy bar shows. */
.sc-product .sc-bottombar {
	transition: transform .2s;
}

.sc-buybar-on .sc-bottombar {
	transform: translateY(110%);
}

/* Product page on phones, Digikala-style: the buy bar always replaces the bottom menu;
   button (or the in-cart stepper) on the right, price on the left. */
@media (max-width: 899.98px) {

	.sc-pd-bar .sc-bottombar {
		display: none;
	}

	.sc-pd-bar .sc-buybar {
		transform: none;
		visibility: visible;
		justify-content: space-between;
	}

	.sc-pd-bar .sc-buybar__btn,
	.sc-pd-bar .sc-buybar .sc-incart--bar {
		order: -1;
	}

	.sc-pd-bar .sc-buybar__btn {
		min-width: 46%;
		justify-content: center;
	}

	.sc-pd-bar .sc-buybar__info {
		flex: 0 1 auto;
		align-items: flex-end;
		text-align: left;
	}

	.sc-pd-bar .sc-buybar__name {
		display: none;
	}

	.sc-pd-bar .sc-buybar__price del {
		display: block;
		font-size: .75rem;
		font-weight: 400;
		color: var(--sc-muted);
	}
}

/* ---------- Cart ---------- */
.sc-cartpage .entry-header {
	margin: 0;
	padding: 20px 0 8px;
}

.sc-cartpage .entry-title {
	margin: 0;
	font-size: 1.375rem;
	font-weight: 800;
	color: var(--sc-ink);
}

.sc-cartpage .entry-content > .wp-block-woocommerce-cart,
.sc-cartpage .entry-content > .woocommerce {
	margin-top: 8px;
}

/* Block cart */
.sc-cartpage .wc-block-cart {
	font-family: var(--sc-font);
	color: var(--sc-ink);
}

.sc-cartpage .wc-block-cart-items,
.sc-cartpage .wc-block-cart .wc-block-components-sidebar > * {
	font-size: .9375rem;
}

.sc-cartpage table.wc-block-cart-items {
	background: var(--sc-surface);
	border: 1px solid var(--sc-line) !important;
	border-radius: var(--sc-r-lg);
	border-collapse: separate;
	border-spacing: 0;
	overflow: hidden;
}

.sc-cartpage table.wc-block-cart-items .wc-block-cart-items__header th {
	padding: 14px 16px !important;
	border: 0 !important;
	font-size: .8125rem;
	font-weight: 700;
	color: var(--sc-muted);
	text-transform: none;
	background: none;
}

.sc-cartpage table.wc-block-cart-items td {
	border-top: 0 !important;
	border-bottom: 1px solid var(--sc-line) !important;
	padding-top: 16px !important;
	padding-bottom: 16px !important;
}

.sc-cartpage table.wc-block-cart-items tr:last-child td {
	border-bottom: 0 !important;
}

.sc-cartpage .wc-block-cart-items .wc-block-cart-item__image {
	padding-inline-start: 16px !important;
}

.sc-cartpage .wc-block-cart-item__image img {
	border: 1px solid var(--sc-line);
	border-radius: var(--sc-r-sm);
	background: var(--sc-surface);
	aspect-ratio: 1;
	object-fit: contain;
}

.sc-cartpage .wc-block-cart-item__total {
	padding-inline-end: 16px !important;
}

.sc-cartpage .wc-block-components-product-name {
	font-size: .9375rem;
	font-weight: 700;
	line-height: 1.7;
	color: var(--sc-ink) !important;
	text-decoration: none !important;
}

.sc-cartpage .wc-block-components-product-name:hover {
	color: var(--sc-petrol) !important;
}

.sc-cartpage .wc-block-components-product-metadata {
	font-size: .8125rem;
	color: var(--sc-muted);
}

.sc-cartpage .wc-block-components-product-price,
.sc-cartpage .wc-block-cart-item__total .wc-block-components-formatted-money-amount {
	font-weight: 800;
}

.sc-cartpage .wc-block-components-quantity-selector {
	border: 1.5px solid var(--sc-line) !important;
	border-radius: var(--sc-r-sm) !important;
	background: var(--sc-surface);
	overflow: hidden;
	width: 112px;
}

.sc-cartpage .wc-block-components-quantity-selector::after {
	display: none;
}

.sc-cartpage .wc-block-components-quantity-selector input.wc-block-components-quantity-selector__input {
	font-weight: 700;
	font-size: .9375rem;
	color: var(--sc-ink);
	box-shadow: none !important;
}

.sc-cartpage .wc-block-components-quantity-selector__button {
	color: var(--sc-petrol) !important;
	opacity: 1;
	min-width: 34px;
}

.sc-cartpage .wc-block-cart-item__remove-link {
	color: var(--sc-coral-ink) !important;
	font-size: .8125rem !important;
	text-decoration: none !important;
}

.sc-cartpage .wc-block-components-sidebar-layout .wc-block-cart__sidebar {
	align-self: flex-start;
	margin-top: 0;
	padding: 16px !important;
	background: var(--sc-surface);
	border: 1px solid var(--sc-line) !important;
	border-radius: var(--sc-r-lg);
}

/* The product's short description repeats in every cart row; the name is enough. */
.sc-cartpage .wc-block-components-product-metadata__description {
	display: none;
}

/* Woo's sticky checkout button on phones sits above our bottom menu. */
.sc-cartpage .wc-block-cart__submit-container--sticky {
	bottom: calc(66px + env(safe-area-inset-bottom)) !important;
}

.sc-cartpage .wc-block-cart__sidebar .wc-block-components-totals-wrapper:first-of-type {
	border-top: 0;
}

.sc-cartpage .wc-block-cart__totals-title {
	font-size: 1rem !important;
	font-weight: 800 !important;
	text-transform: none !important;
	color: var(--sc-ink) !important;
	padding: 0 0 8px !important;
	text-align: right !important;
}

.sc-cartpage .wc-block-components-totals-wrapper {
	border-color: var(--sc-line) !important;
	padding-inline: 0 !important;
}

.sc-cartpage .wc-block-components-totals-footer-item .wc-block-components-totals-item__label,
.sc-cartpage .wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
	font-size: 1.125rem;
	font-weight: 800;
}

.sc-cartpage .wc-block-components-panel__button {
	font-size: .9375rem;
	color: var(--sc-petrol);
}

.sc-cartpage .wc-block-cart__submit-button,
.sc-cartpage .wc-block-components-button:not(.is-link) {
	min-height: 52px;
	border: 0 !important;
	border-radius: var(--sc-r) !important;
	background: var(--sc-petrol) !important;
	color: #fff !important;
	font-family: var(--sc-font);
	font-size: 1rem;
	font-weight: 800;
	text-decoration: none !important;
}

.sc-cartpage .wc-block-cart__submit-button:hover,
.sc-cartpage .wc-block-components-button:not(.is-link):hover {
	background: var(--sc-petrol-dark) !important;
}

.sc-cartpage .wc-block-components-notice-banner {
	border-radius: var(--sc-r);
	font-size: .875rem;
	line-height: 1.8;
}

/* Cart notices (such as «prices are still samples») read as calm information, not alarms. */
.sc-cartpage .wc-block-components-notice-banner.is-error,
.sc-cartpage .woocommerce-error {
	border: 1px solid #f1cdbd;
	background: var(--sc-coral-soft);
	color: var(--sc-coral-ink);
}

.sc-cartpage .wc-block-components-notice-banner.is-error > svg {
	background: var(--sc-coral);
	fill: #fff;
}

.sc-cartpage .wc-block-components-notice-banner__summary {
	font-weight: 700;
}

/* While prices are samples there is no payment, so the cart shows no way to it. */
.sc-cart-sample .wc-block-cart__submit,
.sc-cart-sample .wc-block-cart__submit-container,
.sc-cart-sample .wc-proceed-to-checkout {
	display: none !important;
}

.sc-cartpage .wc-block-components-text-input input,
.sc-cartpage .wc-block-components-text-input label {
	font-family: var(--sc-font);
}

/* Classic cart */
.sc-cartpage .woocommerce-cart-form table.shop_table {
	background: var(--sc-surface);
	border: 1px solid var(--sc-line);
	border-radius: var(--sc-r-lg);
	border-collapse: separate;
	overflow: hidden;
}

.sc-cartpage .woocommerce-cart-form .product-thumbnail img {
	width: 72px;
	border: 1px solid var(--sc-line);
	border-radius: var(--sc-r-sm);
}

.sc-cartpage .woocommerce-cart-form .product-name a {
	color: var(--sc-ink);
	font-weight: 700;
}

.sc-cartpage .cart_totals {
	background: var(--sc-surface);
	border: 1px solid var(--sc-line);
	border-radius: var(--sc-r-lg);
	padding: 16px;
}

.sc-cartpage .wc-proceed-to-checkout .checkout-button,
.sc-cartpage .woocommerce-cart-form .button {
	border-radius: var(--sc-r) !important;
	background: var(--sc-petrol) !important;
	color: #fff !important;
	font-weight: 700;
}

.sc-cartpage .cart-empty.woocommerce-info,
.sc-cartpage .return-to-shop {
	display: none;
}

/* Trust strip under the cart */
.sc-cart-trust {
	display: grid;
	gap: 12px;
	margin: 24px 0 32px;
	padding: 0;
	list-style: none;
	font-family: var(--sc-font);
	direction: rtl;
}

.sc-cart-trust li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 14px 16px;
	border-radius: var(--sc-r-lg);
	background: var(--sc-surface);
	border: 1px solid var(--sc-line);
}

.sc-cart-trust__icon {
	flex: none;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--sc-petrol-soft);
	color: var(--sc-petrol);
}

.sc-cart-trust li:first-child .sc-cart-trust__icon {
	background: var(--sc-gold-soft);
	color: var(--sc-gold-ink);
}

.sc-cart-trust__icon .sc-i {
	width: 24px;
	height: 24px;
}

.sc-cart-trust__t {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	font-size: .8125rem;
	line-height: 1.7;
	color: var(--sc-muted);
}

.sc-cart-trust__t b {
	font-size: .9375rem;
	color: var(--sc-ink);
}

.sc-cart-trust .sc-link {
	margin-top: 2px;
	text-decoration: none;
}

/* Empty cart */
.sc-empty {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	padding: 32px 16px;
	border-radius: var(--sc-r-xl);
	background: var(--sc-surface);
	border: 1px solid var(--sc-line);
	font-family: var(--sc-font);
	color: var(--sc-ink);
	text-align: center;
	direction: rtl;
}

.sc-empty__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 72px;
	height: 72px;
	border-radius: 50%;
	background: var(--sc-petrol-soft);
	color: var(--sc-petrol);
}

.sc-empty__icon .sc-i {
	width: 34px;
	height: 34px;
}

.sc-empty__t {
	margin: 0;
	font-size: 1.25rem;
	font-weight: 800;
}

.sc-empty__p {
	margin: 0;
	max-width: 420px;
	font-size: .9375rem;
	color: var(--sc-muted);
}

.sc-empty__cats {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	margin: 8px 0;
}

.sc-empty .sc-cat {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	width: 76px;
	font-size: .75rem;
	font-weight: 600;
	line-height: 1.4;
	color: var(--sc-ink) !important;
	text-decoration: none !important;
}

.sc-empty .sc-cat__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background: var(--sc-petrol-soft);
	color: var(--sc-petrol);
	transition: background-color .15s, color .15s;
}

.sc-empty .sc-cat--hair .sc-cat__icon {
	background: var(--sc-coral-soft);
	color: var(--sc-coral-ink);
}

.sc-empty .sc-cat__icon .sc-i {
	width: 28px;
	height: 28px;
}

.sc-empty .sc-cat:hover .sc-cat__icon {
	background: var(--sc-petrol);
	color: #fff;
}

.sc-empty__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
}

.sc-empty__actions .sc-btn {
	text-decoration: none;
}

/* ---------- Product page: buy box and the folding sections ---------- */
.sc-buybox {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 16px;
	border: 1px solid var(--sc-line);
	border-radius: var(--sc-r-lg);
	background: var(--sc-surface);
}

.sc-buybox > * {
	margin: 0 !important;
}

.sc-buybox .sc-pd__pricerow {
	padding-top: 0;
}

.sc-fold summary {
	justify-content: flex-start;
}

.sc-fold__icon {
	flex: none;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--sc-petrol-soft);
	color: var(--sc-petrol);
}

.sc-fold__icon .sc-i {
	width: 20px;
	height: 20px;
}

.sc-fold--care .sc-fold__icon {
	background: var(--sc-coral-soft);
	color: var(--sc-coral-ink);
}

/* Key ingredients: one small card per ingredient, its name on top. */
.sc-fold--ingr .sc-fold__in ul {
	display: grid;
	gap: 10px;
	padding: 0;
	list-style: none;
}

.sc-fold--ingr .sc-fold__in li {
	margin: 0;
	padding: 12px 14px;
	border: 1px solid var(--sc-line);
	border-inline-start: 3px solid var(--sc-petrol);
	border-radius: var(--sc-r);
	background: var(--sc-surface);
	font-size: .9375rem;
	line-height: 1.8;
}

.sc-fold--ingr .sc-fold__in li > strong:first-child,
.sc-fold--ingr .sc-fold__in li > b:first-child {
	display: block;
	color: var(--sc-petrol);
	font-weight: 800;
}

/* How to use: numbered steps. */
.sc-fold--use .sc-fold__in ul,
.sc-fold--use .sc-fold__in ol {
	display: grid;
	gap: 12px;
	padding: 0;
	list-style: none;
	counter-reset: sc-use;
}

.sc-fold--use .sc-fold__in li {
	counter-increment: sc-use;
	display: flex;
	gap: 12px;
	align-items: flex-start;
	margin: 0;
}

.sc-fold--use .sc-fold__in li::before {
	content: counter(sc-use, persian);
	flex: none;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: var(--sc-petrol);
	color: #fff;
	font-size: .875rem;
	font-weight: 800;
	line-height: 1;
}

/* Cautions: a calm coral note. */
.sc-fold--care .sc-fold__in > ul,
.sc-fold--care .sc-fold__in > p {
	padding: 14px 16px 14px 14px;
	padding-inline-start: 34px;
	border-radius: var(--sc-r);
	background: var(--sc-coral-soft);
	color: var(--sc-ink);
}

.sc-fold--care .sc-fold__in > p {
	padding-inline-start: 16px;
}

.sc-fold--care .sc-fold__in li::marker {
	color: var(--sc-coral-ink);
}

/* Questions: each question with a small mark, its answer under it. */
.sc-fold--faq .sc-fold__in h3 {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	margin: 0 0 6px;
	font-size: .9375rem;
	line-height: 1.8;
}

.sc-fold--faq .sc-fold__in h3::before {
	content: "؟";
	flex: none;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: var(--sc-petrol-soft);
	color: var(--sc-petrol);
	font-weight: 800;
	line-height: 1;
}

.sc-fold--faq .sc-fold__in h3 ~ p {
	margin: 0 0 16px;
	padding-inline-start: 36px;
	color: var(--sc-muted);
}

/* «محصولات دیگر با این ترکیب‌ها» */
.sc-ingr-links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-top: 14px;
	font-size: .8125rem;
	color: var(--sc-muted);
}

.sc-ingr-links .sc-chip {
	font-size: .8125rem;
}

/* ---------- Shop, category and search pages ---------- */
.sc-cat-page {
	padding: 16px 0 40px;
}

.sc-cat-page a.sc-card,
.sc-cart-more a.sc-card {
	color: inherit;
	text-decoration: none !important;
}

/* Title band */
.sc-cathead {
	padding: 14px 16px 16px;
	border-radius: var(--sc-r-xl);
	background: var(--sc-petrol-soft);
}

.sc-cathead--coral {
	background: var(--sc-coral-soft);
}

.sc-cathead .sc-crumbs {
	margin: 0 0 8px;
}

.sc-cathead__row {
	display: flex;
	align-items: center;
	gap: 12px;
}

.sc-cathead__icon {
	flex: none;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: var(--sc-surface);
	color: var(--sc-petrol);
}

.sc-cathead--coral .sc-cathead__icon {
	color: var(--sc-coral-ink);
}

.sc-cathead__icon .sc-i {
	width: 26px;
	height: 26px;
}

.sc-cathead__t {
	min-width: 0;
}

.sc-cathead h1 {
	margin: 0;
	font-size: 1.375rem;
	font-weight: 800;
	line-height: 1.5;
	color: var(--sc-ink);
}

.sc-cathead__t p {
	margin: 0;
	font-size: .875rem;
	color: var(--sc-muted);
}

/* Category chips: one scrolling row on phones */
.sc-subcats {
	display: flex;
	gap: 8px;
	margin: 14px -16px 0;
	padding: 2px 16px;
	overflow-x: auto;
	scroll-snap-type: x proximity;
	scrollbar-width: none;
}

.sc-subcats::-webkit-scrollbar {
	display: none;
}

.sc-subcat {
	flex: none;
	scroll-snap-align: start;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 44px;
	padding: 4px 6px 4px 14px;
	border: 1px solid transparent;
	border-radius: 999px;
	background: var(--sc-surface);
	color: var(--sc-ink) !important;
	font-size: .875rem;
	font-weight: 600;
	white-space: nowrap;
	transition: border-color .15s, background-color .15s;
}

.sc-subcat:hover {
	border-color: var(--sc-petrol);
}

.sc-subcat__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--sc-petrol-soft);
	color: var(--sc-petrol);
}

.sc-subcat__icon .sc-i {
	width: 18px;
	height: 18px;
}

.sc-subcat.is-on {
	background: var(--sc-petrol-soft);
	color: var(--sc-petrol) !important;
	box-shadow: inset 0 0 0 1.5px var(--sc-petrol);
}

.sc-subcat.is-on .sc-subcat__icon {
	background: rgba(255, 255, 255, .16);
	color: #fff;
}

.sc-cathead--coral .sc-subcat.is-on {
	background: var(--sc-coral-ink);
}

.sc-cat-page > .woocommerce-notices-wrapper:not(:empty) {
	margin-top: 16px;
}

.sc-catalog {
	margin-top: 16px;
}

.sc-catalog__main {
	min-width: 0;
}

/* Toolbar: filters button and sorting */
.sc-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin-bottom: 12px;
}

.sc-toolbar__filters {
	min-height: 44px;
	padding: 6px 16px;
	border-radius: 999px;
	background: var(--sc-surface);
	font-size: .875rem;
}

.sc-toolbar__n {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 22px;
	height: 22px;
	padding: 0 6px;
	border-radius: 999px;
	background: var(--sc-petrol);
	color: #fff;
	font-size: .75rem;
	line-height: 1;
}

.sc-sort {
	display: flex;
	align-items: center;
	gap: 8px;
	min-width: 0;
}

.sc-sort__label {
	display: none;
	align-items: center;
	gap: 4px;
	font-size: .875rem;
	color: var(--sc-muted);
	white-space: nowrap;
}

.sc-sort__label .sc-i {
	width: 18px;
	height: 18px;
}

.sc-sort__links {
	display: none;
	flex-wrap: wrap;
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.sc-sort__links a {
	display: inline-flex;
	align-items: center;
	min-height: 36px;
	padding: 2px 12px;
	border-radius: 999px;
	color: var(--sc-ink) !important;
	font-size: .875rem;
}

.sc-sort__links a:hover {
	background: var(--sc-surface);
}

.sc-sort__links a[aria-current] {
	background: var(--sc-petrol-soft);
	color: var(--sc-petrol) !important;
	font-weight: 700;
}

.sc-sort__select {
	appearance: none;
	min-height: 44px;
	max-width: 100%;
	padding: 0 16px 0 38px;
	border: 1.5px solid var(--sc-line);
	border-radius: 999px;
	background: var(--sc-surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f5c5a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9.5l6 6 6-6'/%3E%3C/svg%3E") no-repeat left 12px center / 18px;
	color: var(--sc-ink);
	font: inherit;
	font-size: 1rem;
	font-weight: 600;
	cursor: pointer;
}

/* Chosen filters */
.sc-achips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 16px;
	padding: 0;
	list-style: none;
}

.sc-achips a {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	min-height: 32px;
	padding: 2px 12px 2px 8px;
	border-radius: 999px;
	background: var(--sc-petrol-soft);
	color: var(--sc-petrol) !important;
	font-size: .8125rem;
	font-weight: 600;
}

.sc-achips a:hover {
	background: var(--sc-petrol);
	color: #fff !important;
}

.sc-achips .sc-i {
	width: 14px;
	height: 14px;
}

/* Filters: a bottom sheet on phones */
html.sc-filters-lock,
body.sc-filters-open {
	overflow: hidden;
}

.sc-filters {
	position: fixed;
	inset-inline: 0;
	bottom: 0;
	z-index: 1000;
	display: flex;
	flex-direction: column;
	max-height: 86vh;
	max-height: 86dvh;
	border-radius: var(--sc-r-xl) var(--sc-r-xl) 0 0;
	background: var(--sc-surface);
	transform: translateY(102%);
	visibility: hidden;
	transition: transform .25s, visibility .25s;
}

.sc-filters-open .sc-filters {
	transform: none;
	visibility: visible;
}

.sc-filters__shade {
	position: fixed;
	inset: 0;
	z-index: 999;
	background: rgba(31, 42, 46, .45);
}

.sc-filters__shade[hidden] {
	display: none;
}

.sc-filters__head {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 16px;
	border-bottom: 1px solid var(--sc-line);
}

.sc-filters__head b {
	flex: 1;
	font-size: 1.0625rem;
	font-weight: 800;
}

.sc-filters__reset {
	font-size: .8125rem;
	font-weight: 700;
	color: var(--sc-coral-ink) !important;
}

.sc-filters__close {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin-inline-end: -10px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--sc-ink);
	cursor: pointer;
}

.sc-filters__body {
	flex: 1;
	min-height: 0;
	padding: 4px 16px 8px;
	overflow-y: auto;
	overscroll-behavior: contain;
}

.sc-filters__foot {
	padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
	border-top: 1px solid var(--sc-line);
}

.sc-filters__foot .sc-btn {
	width: 100%;
}

/* Yes/no filters */
.sc-ftoggle {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 52px;
	padding: 8px 0;
	border-bottom: 1px solid var(--sc-line);
	color: var(--sc-ink) !important;
	font-size: .9375rem;
	font-weight: 600;
	line-height: 1.6;
}

.sc-ftoggle > span:first-of-type {
	flex: 1;
}

.sc-ftoggle small,
.sc-check small {
	color: var(--sc-muted);
	font-size: .75rem;
	font-weight: 400;
}

.sc-ftoggle--gold {
	margin: 12px 0 4px;
	padding: 10px 12px;
	border: 1px solid var(--sc-gold-line);
	border-radius: var(--sc-r);
	background: var(--sc-gold-soft);
	color: var(--sc-gold-ink) !important;
}

.sc-ftoggle--gold .sc-genuine {
	width: 26px;
	height: 26px;
}

.sc-switch {
	position: relative;
	flex: none;
	width: 42px;
	height: 26px;
	border-radius: 999px;
	background: #d6d0c7;
	transition: background-color .15s;
}

.sc-switch::after {
	content: "";
	position: absolute;
	top: 3px;
	inset-inline-start: 3px;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: #fff;
	transition: inset-inline-start .15s;
}

.sc-ftoggle.is-on .sc-switch {
	background: var(--sc-petrol);
}

.sc-ftoggle--gold.is-on .sc-switch {
	background: var(--sc-gold);
}

.sc-ftoggle.is-on .sc-switch::after {
	inset-inline-start: 19px;
}

/* Option groups */
.sc-fgroup {
	border-bottom: 1px solid var(--sc-line);
}

.sc-fgroup summary {
	display: flex;
	align-items: center;
	gap: 8px;
	min-height: 52px;
	padding: 8px 0;
	font-size: .9375rem;
	font-weight: 700;
	cursor: pointer;
	list-style: none;
}

.sc-fgroup summary::-webkit-details-marker {
	display: none;
}

.sc-fgroup summary > .sc-i {
	width: 18px;
	height: 18px;
	margin-inline-start: auto;
	color: var(--sc-petrol);
	transform: rotate(-90deg);
	transition: transform .2s;
}

.sc-fgroup[open] summary > .sc-i {
	transform: rotate(90deg);
}

.sc-fgroup__n {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 20px;
	height: 20px;
	padding: 0 6px;
	border-radius: 999px;
	background: var(--sc-petrol);
	color: #fff;
	font-size: .6875rem;
	line-height: 1;
}

.sc-fgroup__opts {
	margin: 0 0 12px;
	padding: 0;
	list-style: none;
}

.sc-fgroup__opts.is-long:not(.is-all) > li:nth-child(n+9) {
	display: none;
}

.sc-fgroup__more {
	margin: -6px 0 12px;
	padding: 6px 0;
	border: 0;
	background: transparent;
	color: var(--sc-petrol);
	font: inherit;
	font-size: .875rem;
	font-weight: 700;
	cursor: pointer;
}

.sc-ftoggle--stock {
	border-bottom: 0;
}

.sc-price.is-busy {
	opacity: .6;
	pointer-events: none;
	transition: opacity .15s;
}

.sc-check {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 40px;
	padding: 4px 0;
	color: var(--sc-ink) !important;
	font-size: .9375rem;
	line-height: 1.6;
}

.sc-check__t {
	flex: 1;
	min-width: 0;
}

.sc-check__box {
	flex: none;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	border: 1.5px solid #b9b1a6;
	border-radius: 7px;
	background: var(--sc-surface);
	color: transparent;
	transition: background-color .15s, border-color .15s;
}

.sc-check__box .sc-i {
	width: 15px;
	height: 15px;
	stroke-width: 3;
}

.sc-check:hover .sc-check__box {
	border-color: var(--sc-petrol);
}

.sc-check.is-on .sc-check__box {
	border-color: var(--sc-petrol);
	background: var(--sc-petrol);
	color: #fff;
}

.sc-check.is-on .sc-check__t {
	font-weight: 700;
}

.sc-check.is-empty {
	opacity: .5;
}

/* Price range: «از … تومان» / «تا … تومان» and a two-handle bar in the site green */
.sc-price {
	padding: 0 0 14px;
}

.sc-price__row {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 6px;
	padding: 2px 0;
	border-bottom: 1px solid var(--sc-line);
	cursor: text;
	transition: border-color .15s;
}

.sc-price__row:focus-within {
	border-bottom-color: var(--sc-petrol);
}

.sc-price__k {
	flex: none;
	width: 20px;
	color: var(--sc-muted);
	font-size: .875rem;
}

.sc-price__v {
	flex: 1;
	min-width: 0;
	height: 44px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--sc-ink);
	font: inherit;
	font-size: 1.3125rem;
	font-weight: 700;
	letter-spacing: .5px;
	text-align: center;
	box-shadow: none;
}

.sc-price__v:focus {
	outline: 0;
}

.sc-price__u {
	flex: none;
	color: var(--sc-muted);
	font-size: .6875rem;
	font-weight: 700;
}

/* The bar: one shared track, two inputs on top whose handles only take the touch.
   Selectors are strong enough to beat Astra's own input[type=range] look (blue handles, grey shadow). */
.sc-range {
	position: relative;
	height: 28px;
	margin: 16px 2px 0;
	transform: scaleX(-1); /* lowest price on the right, as read in Persian */
}

.sc-range__track {
	position: absolute;
	left: 14px;
	right: 14px;
	top: 12px;
	height: 4px;
	border-radius: 4px;
	background: var(--sc-line);
}

.sc-range__fill {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	border-radius: 4px;
	background: var(--sc-petrol);
}

.sc-range input.sc-range__in[type="range"] {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 28px;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	pointer-events: none;
	outline: 0;
	-webkit-appearance: none;
	appearance: none;
	-webkit-tap-highlight-color: transparent;
}

.sc-range input.sc-range__in[type="range"]::-webkit-slider-runnable-track {
	height: 28px;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}

.sc-range input.sc-range__in[type="range"]:focus::-webkit-slider-runnable-track {
	background: transparent;
}

.sc-range input.sc-range__in[type="range"]::-webkit-slider-thumb {
	width: 28px;
	height: 28px;
	margin: 0;
	border: 4px solid #fff;
	border-radius: 50%;
	background: var(--sc-petrol);
	box-shadow: 0 1px 6px rgba(15, 92, 90, .35);
	pointer-events: auto;
	cursor: grab;
	-webkit-appearance: none;
	appearance: none;
}

.sc-range input.sc-range__in[type="range"]::-moz-range-track {
	height: 28px;
	border: 0;
	background: transparent;
	box-shadow: none;
}

.sc-range input.sc-range__in[type="range"]::-moz-range-thumb {
	box-sizing: border-box;
	width: 28px;
	height: 28px;
	border: 4px solid #fff;
	border-radius: 50%;
	background: var(--sc-petrol);
	box-shadow: 0 1px 6px rgba(15, 92, 90, .35);
	pointer-events: auto;
	cursor: grab;
}

.sc-range input.sc-range__in[type="range"]:active::-webkit-slider-thumb {
	cursor: grabbing;
	box-shadow: 0 0 0 8px rgba(15, 92, 90, .14);
}

.sc-range input.sc-range__in[type="range"]:focus-visible::-webkit-slider-thumb {
	box-shadow: 0 0 0 4px rgba(15, 92, 90, .3);
}

.sc-range input.sc-range__in[type="range"]:focus-visible::-moz-range-thumb {
	box-shadow: 0 0 0 4px rgba(15, 92, 90, .3);
}

/* Grey until the visitor sets a price, then the site green. Small marks under the bar. */
.sc-price {
	--sc-range-c: #9aa2a6;
}

.sc-price.is-set {
	--sc-range-c: var(--sc-petrol);
}

.sc-price .sc-range__fill {
	background: var(--sc-range-c);
	transition: background-color .15s;
}

.sc-range input.sc-range__in[type="range"]::-webkit-slider-thumb {
	background: var(--sc-range-c);
	box-shadow: 0 1px 4px rgba(31, 42, 46, .25);
}

.sc-range input.sc-range__in[type="range"]::-moz-range-thumb {
	background: var(--sc-range-c);
	box-shadow: 0 1px 4px rgba(31, 42, 46, .25);
}

.sc-range__ticks {
	position: absolute;
	left: 14px;
	right: 14px;
	top: 21px;
	display: flex;
	justify-content: space-between;
	pointer-events: none;
}

.sc-range__ticks i {
	width: 1.5px;
	height: 6px;
	border-radius: 1px;
	background: #cfd4d6;
}

.sc-range__ends {
	display: flex;
	justify-content: space-between;
	margin-top: 4px;
	color: var(--sc-muted);
	font-size: .75rem;
}

/* While a filtered list loads in place */
.sc-filtering .sc-catalog__main {
	opacity: .45;
	pointer-events: none;
	transition: opacity .15s .1s;
}

.sc-filtering .sc-filters__head {
	background: linear-gradient(90deg, var(--sc-petrol), var(--sc-petrol)) no-repeat bottom right / 40% 2px;
	animation: sc-filtering 1s linear infinite;
}

@keyframes sc-filtering {
	from { background-position: right -40% bottom; }
	to { background-position: right 140% bottom; }
}

/* Product grid */
.sc-grid--catalog {
	gap: 28px 14px;
}

.sc-card--ghost .sc-card__media,
.sc-ghost {
	background: #efebe5;
	border-color: transparent;
	animation: sc-pulse 1.2s ease-in-out infinite alternate;
}

.sc-ghost {
	display: block;
	height: 12px;
	margin-top: 6px;
	border-radius: 6px;
}

.sc-ghost--short {
	width: 55%;
}

@keyframes sc-pulse {
	to {
		opacity: .45;
	}
}

/* Load more */
.sc-more {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	margin: 36px auto 8px;
	text-align: center;
}

.sc-more__n {
	margin: 0;
	font-size: .875rem;
	color: var(--sc-muted);
}

.sc-more__bar {
	display: block;
	width: 200px;
	height: 4px;
	border-radius: 999px;
	background: var(--sc-line);
	overflow: hidden;
}

.sc-more__bar span {
	display: block;
	height: 100%;
	border-radius: 999px;
	background: var(--sc-petrol);
	transition: width .3s;
}

.sc-more__btn {
	min-width: 240px;
	margin-top: 4px;
	background: var(--sc-surface);
}

.sc-more__btn[hidden] {
	display: none;
}

.sc-more.is-busy .sc-more__btn {
	opacity: .7;
	pointer-events: none;
}

.sc-more__from {
	margin: 0 0 14px;
	font-size: .875rem;
}

.sc-more__from a {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-weight: 700;
	color: var(--sc-petrol) !important;
}

.sc-more__from .sc-i {
	width: 16px;
	height: 16px;
	transform: rotate(90deg);
}

/* Page numbers: only without JavaScript, the load-more list replaces them. */
.sc-more-js .sc-pager {
	display: none;
}

.sc-pager {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px;
	margin: 20px 0 0;
}

.sc-pager .page-numbers {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 44px;
	padding: 0 8px;
	border: 1px solid var(--sc-line);
	border-radius: 50%;
	background: var(--sc-surface);
	color: var(--sc-ink) !important;
	font-weight: 700;
}

.sc-pager .page-numbers.current {
	border-color: var(--sc-petrol);
	background: var(--sc-petrol);
	color: #fff !important;
}

.sc-pager .page-numbers.dots {
	border: 0;
	background: none;
}

.sc-pager .prev .sc-i {
	transform: rotate(180deg);
}

/* Category description at the end */
.sc-catdesc {
	margin-top: 40px;
	padding: 20px;
	border: 1px solid var(--sc-line);
	border-radius: var(--sc-r-lg);
	background: var(--sc-surface);
	font-size: .9375rem;
	color: var(--sc-muted);
}

.sc-catdesc > :first-child {
	margin-top: 0;
}

.sc-catdesc > :last-child {
	margin-bottom: 0;
}

.sc-catdesc h2,
.sc-catdesc h3 {
	color: var(--sc-ink);
	font-size: 1.0625rem;
	font-weight: 800;
}

.sc-empty--catalog {
	margin-top: 8px;
}

/* ---------- Cart: buying steps and suggestions ---------- */
.sc-steps {
	display: flex;
	margin: 4px 0 20px;
	padding: 0;
	list-style: none;
	font-family: var(--sc-font);
	direction: rtl;
}

.sc-steps li {
	position: relative;
	flex: 1 1 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	min-width: 0;
	margin: 0;
	color: var(--sc-muted);
	font-size: .8125rem;
	font-weight: 600;
	line-height: 1.5;
	text-align: center;
}

.sc-steps li:not(:last-child)::after {
	content: "";
	position: absolute;
	top: 18px;
	inset-inline-start: calc(50% + 26px);
	inset-inline-end: calc(-50% + 26px);
	height: 2px;
	border-radius: 2px;
	background: var(--sc-line);
}

.sc-steps__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border: 1.5px solid var(--sc-line);
	border-radius: 50%;
	background: var(--sc-surface);
}

.sc-steps__icon .sc-i {
	width: 20px;
	height: 20px;
}

.sc-steps__t {
	display: flex;
	flex-direction: column;
}

.sc-steps__t small {
	display: none;
	font-size: .6875rem;
	font-weight: 400;
}

.sc-steps li.is-on {
	color: var(--sc-ink);
	font-weight: 800;
}

.sc-steps li.is-on .sc-steps__icon {
	border-color: var(--sc-petrol);
	background: var(--sc-petrol);
	color: #fff;
}

.sc-steps[hidden],
.sc-cart-more[hidden] {
	display: none;
}

.sc-cart-more {
	padding-bottom: 8px;
}

@media (min-width: 600px) {

	.sc-cartpage .wc-block-cart__submit-container--sticky {
		bottom: 0 !important;
	}

	.sc-auth__more-t {
		display: inline;
	}

	.sc-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.sc-cart-trust {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (min-width: 900px) {

	.sc-pd__top {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		gap: 40px;
	}

	.sc-pd__media {
		position: sticky;
		top: 96px;
	}

	.sc-pd .product_title {
		font-size: 1.625rem;
	}

	.sc-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 32px 24px;
	}

	.sc-buybar {
		display: none !important;
	}
}

@media (min-width: 600px) {

	.sc-fold--ingr .sc-fold__in ul {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.sc-cathead {
		padding: 18px 24px 20px;
	}

	.sc-subcats {
		flex-wrap: wrap;
		margin-inline: 0;
		padding-inline: 0;
		overflow: visible;
	}

	.sc-steps__t small {
		display: block;
	}
}

@media (min-width: 960px) {

	.sc-cathead h1 {
		font-size: 1.75rem;
	}

	.sc-cathead__icon {
		width: 60px;
		height: 60px;
	}

	.sc-catalog {
		display: grid;
		grid-template-columns: 264px minmax(0, 1fr);
		align-items: start;
		gap: 32px;
		margin-top: 24px;
	}

	.sc-filters {
		position: sticky;
		top: 136px;
		z-index: auto;
		max-height: none;
		border: 1px solid var(--sc-line);
		border-radius: var(--sc-r-lg);
		transform: none;
		visibility: visible;
		transition: none;
	}

	.admin-bar .sc-filters {
		top: 168px;
	}

	.sc-filters__close,
	.sc-filters__foot,
	.sc-filters__shade,
	.sc-toolbar__filters {
		display: none !important;
	}

	.sc-filters__head {
		min-height: 56px;
	}

	/* No scroll box inside the panel: the mouse wheel moves the page (catalog.js keeps the end in view). */
	.sc-filters__body {
		overflow: visible;
	}

	.sc-toolbar {
		justify-content: flex-start;
		min-height: 44px;
		padding-bottom: 12px;
		border-bottom: 1px solid var(--sc-line);
	}

	.sc-sort__label {
		display: inline-flex;
	}

	.sc-sort__links {
		display: flex;
	}

	.sc-sort__select {
		display: none;
	}

	.sc-grid--catalog {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 32px 20px;
	}
}

@media (min-width: 1140px) {

	.sc-grid--catalog {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

@media (prefers-reduced-motion: reduce) {

	.sc-buybar,
	.sc-product .sc-bottombar,
	.sc-filters,
	.sc-auth__more .sc-i,
	.sc-fold summary > .sc-i,
	.sc-fgroup summary > .sc-i,
	.sc-switch::after {
		transition: none;
	}

	.sc-card--ghost .sc-card__media,
	.sc-ghost {
		animation: none;
	}
}

/* ---------- Product page v2 (0.3.49): key ingredients as tappable rows (assets/js/ingredients.js
   wraps each item: icon, text, evidence dots, chevron); calmer type ---------- */
.sc-fold--ingr .sc-fold__in li.sc-ki {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 14px;
	border: 1px solid var(--sc-line);
	border-radius: var(--sc-r);
	background: var(--sc-surface);
	color: var(--sc-muted);
	font-size: max(.89rem, 13.5px);
	line-height: 1.8;
	cursor: pointer;
	transition: border-color .15s;
}
.sc-fold--ingr .sc-fold__in li.sc-ki:hover {
	border-color: var(--sc-petrol);
}
.sc-fold--ingr .sc-fold__in li.sc-ki.is-plain {
	cursor: default;
}
.sc-fold--ingr .sc-fold__in li.sc-ki.is-plain:hover {
	border-color: var(--sc-line);
}
.sc-ki__ico {
	flex: none;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--sc-petrol-soft);
	color: var(--sc-petrol);
}
.sc-ki.is-plain .sc-ki__ico {
	background: var(--sc-bg);
	color: var(--sc-muted);
}
.sc-ki__ico .sc-i {
	width: 20px;
	height: 20px;
}
.sc-ki__body {
	flex: 1;
	min-width: 0;
}
.sc-fold--ingr .sc-fold__in li.sc-ki .sc-ki__body > strong:first-child,
.sc-fold--ingr .sc-fold__in li.sc-ki .sc-ki__body > b:first-child {
	display: block;
	color: var(--sc-ink);
	font-size: max(1rem, 15px);
	font-weight: 700;
	line-height: 1.75;
}
.sc-ki .sc-term {
	font-weight: 800;
	text-decoration: none !important;
}
.sc-ki__side {
	flex: none;
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--sc-muted);
}
.sc-ki__side > .sc-i {
	width: 18px;
	height: 18px;
}
.sc-ki__ev {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2px;
}
.sc-ki__evl {
	font-size: max(.82rem, 12.5px);
	line-height: 1.5;
}
.sc-fold__in p {
	font-size: max(1rem, 15px);
	line-height: 2;
}
/* Nothing on the product page below 12.5px; review form labels at body size. */
.sc-pd .sc-crumbs,
.sc-pd .sc-pd__chips .sc-chip,
.sc-pd .sc-pd__pricerow .sc-chip,
.sc-pd .sc-bb-lines small,
.sc-pd .sc-auth__t,
.sc-pd .sc-ingr-links .sc-chip,
.sc-card__brand,
.sc-card__fit {
	font-size: max(.82rem, 12.5px);
}
.sc-pd .sc-bb-lines__t,
.sc-pd .sc-ingr-links > span {
	font-size: max(.89rem, 13.5px);
}
.sc-pd .comment-form label,
.sc-pd .comment-form .required {
	font-size: max(1rem, 15px);
}


/* «اصالت کالا تضمین می‌شود»: neutral pill, gold mark. */
.sc-pd__seal--promise {
	font-weight: 600;
}

/* Authenticity box, photo close-ups (products without documents). */
.sc-auth__shots {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 2px 0 10px;
}
.sc-auth__shot {
	width: 76px;
	height: 76px;
	padding: 0;
	border: 1px solid var(--sc-line);
	border-radius: 10px;
	background-color: #fff;
	background-image: var(--sc-shot);
	background-size: var(--sc-shot-size);
	background-position: var(--sc-shot-pos);
	background-repeat: no-repeat;
	cursor: zoom-in;
}
.sc-auth__shot:focus-visible {
	outline: 2px solid var(--sc-petrol);
	outline-offset: 2px;
}
.sc-auth__note {
	margin: 0 0 8px;
	color: var(--sc-muted);
	font-size: .8125rem;
	line-height: 1.8;
}
.sc-shot-dlg {
	width: min(92vw, 440px);
	padding: 0;
	border: 0;
	border-radius: 16px;
	background: #fff;
}
.sc-shot-dlg::backdrop {
	background: rgba(16, 50, 58, .6);
}
.sc-shot-dlg__img {
	width: 100%;
	aspect-ratio: 1;
	background-repeat: no-repeat;
}
.sc-shot-dlg__close {
	display: block;
	width: 100%;
	padding: 12px;
	border: 0;
	border-top: 1px solid var(--sc-line);
	background: #fff;
	color: var(--sc-ink);
	font: inherit;
	cursor: pointer;
}

/* Gold mark in the authenticity box for every product. */
.sc-auth__icon--gold {
	background: var(--sc-gold-tint);
	box-shadow: inset 0 0 0 1px var(--sc-gold-line);
}
.sc-auth__icon--gold .sc-genuine {
	width: 22px;
	height: 22px;
}
/* ===== Gallery CLS: until the slider has built its thumbnail row, show only the main photo and keep that row's space (12px + 72px), so nothing moves when the thumbnails arrive. ===== */
.sc-pd .woocommerce-product-gallery:not(:has(.flex-control-nav)) .woocommerce-product-gallery__image:nth-child(n+2),
.sc-pd .woocommerce-product-gallery .woocommerce-product-gallery__image:nth-child(n+2):not([style*="width"]) { display: none !important; }
/* While the slider sets itself up (one frame), slides have no width yet and stack full-size: hold the box to one square photo. */
.sc-pd .woocommerce-product-gallery .flex-viewport:not(:has(.woocommerce-product-gallery__image[style*="width"])) { aspect-ratio: 1; overflow: hidden; }
.sc-pd .woocommerce-product-gallery:not(:has(.flex-control-nav)):has(.woocommerce-product-gallery__image:nth-child(2))::after {
	content: ""; display: block; width: calc(var(--sc-gn, 2) * 80px - 8px); max-width: 100%; height: 72px; margin-top: 12px;
	background: repeating-linear-gradient(to left, var(--sc-line) 0 72px, transparent 72px 80px); border-radius: var(--sc-r-sm); opacity: .6;
}
.sc-pd .woocommerce-product-gallery:has(.woocommerce-product-gallery__image:nth-child(3)) { --sc-gn: 3; }
.sc-pd .woocommerce-product-gallery:has(.woocommerce-product-gallery__image:nth-child(4)) { --sc-gn: 4; }
.sc-pd .woocommerce-product-gallery:has(.woocommerce-product-gallery__image:nth-child(5)) { --sc-gn: 5; }
.sc-pd .woocommerce-product-gallery:has(.woocommerce-product-gallery__image:nth-child(6)) { --sc-gn: 12; }
/* ===== /Gallery CLS ===== */

/* ===== Routine step: «جای این محصول در روتین» (inc/routine-step.php) — one look per routine: skin layers, hair strand, body ring ===== */
.sc-rstep { margin: 0 0 14px; padding: 14px 12px 12px; background: var(--sc-bg); border: 1px solid var(--sc-line); border-radius: var(--sc-r); overflow: hidden; }
.sc-fold__in .sc-rstep ol { margin: 0; padding: 0; list-style: none; counter-reset: none; background: none; border: 0; box-shadow: none; }
.sc-fold__in .sc-rstep ol > li { margin: 0; padding: 0; min-height: 0; counter-increment: none; }
.sc-fold__in .sc-rstep ol > li::before, .sc-fold__in .sc-rstep ol > li::after { content: none; display: none; }
.sc-fold__in .sc-rstep ol > li::marker { content: none; }
.sc-rstep figcaption { margin: 12px 0 0; font-size: 13px; line-height: 1.9; color: var(--sc-muted); }
.sc-rstep__more { color: var(--sc-petrol); font-weight: 700; white-space: nowrap; }
.sc-rstep__tag { display: inline-block; font-size: 10.5px; font-weight: 400; line-height: 1; padding: 4px 8px; border-radius: 999px; background: var(--sc-coral-soft); color: var(--sc-coral-ink); white-space: nowrap; }
.sc-rs-ic { display: block; width: 20px; height: 20px; }

/* Skin: layers settling on the skin, thin to thick. */
.sc-rs-skin { position: relative; max-width: 560px; margin-inline: auto; padding-inline-end: 42px; }
.sc-fold__in .sc-rstep ol.sc-rs-skin__stack, .sc-rstep ol.sc-rs-skin__stack { display: flex; flex-direction: column-reverse; gap: 5px; }
.sc-fold__in .sc-rstep .sc-rs-skin__stack > li { position: relative; display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 10px; border-radius: 12px; background: #fff; border: 1px solid var(--sc-line); }
.sc-rs-skin__no { flex: none; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 700; background: var(--sc-bg); color: var(--sc-muted); }
.sc-rs-skin__lb { font-size: 13px; color: var(--sc-ink); white-space: nowrap; }
.sc-rs-skin__sw { margin-inline-start: auto; display: flex; align-items: center; gap: 6px; color: var(--sc-coral); }
.sc-rs-skin__sw i { display: block; width: 56px; height: var(--th); border-radius: 999px; background: var(--c); box-shadow: inset 0 0 0 1px rgba(15, 92, 90, .1); transform-origin: right center; }
.sc-rs-skin__sw .sc-rs-ic { width: 16px; height: 16px; }
.sc-fold__in .sc-rstep .sc-rs-skin__stack > li.is-past .sc-rs-skin__no { background: var(--sc-petrol-soft); color: var(--sc-petrol); }
.sc-fold__in .sc-rstep .sc-rs-skin__stack > li.is-here { background: var(--sc-petrol-soft); border: 1.5px solid var(--sc-petrol); }
.sc-fold__in .sc-rstep .sc-rs-skin__stack > li.is-here .sc-rs-skin__no { background: var(--sc-petrol); color: #fff; }
.sc-fold__in .sc-rstep .sc-rs-skin__stack > li.is-here .sc-rs-skin__lb { font-weight: 700; }
.sc-fold__in .sc-rstep .sc-rs-skin__stack > li.is-next { background: transparent; border-style: dashed; opacity: .55; }
.sc-rs-skin__base { position: relative; height: 22px; margin-top: 8px; border-radius: 4px 4px 12px 12px; background: linear-gradient(#f6e3d8, #efd3c4); }
.sc-rs-skin__base::before { content: ""; position: absolute; inset-inline: 0; top: -5px; height: 6px; background: radial-gradient(circle at 8px 6px, #f6e3d8 5.5px, transparent 6px) 0 0 / 16px 6px repeat-x; }
.sc-rs-skin__base span { position: absolute; inset-inline-start: 12px; top: 4px; font-size: 10.5px; line-height: 1.2; color: var(--sc-coral-ink); }
.sc-rs-skin__scale { position: absolute; inset-inline-end: 0; top: 0; bottom: 30px; width: 36px; display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 9.5px; line-height: 1.3; color: var(--sc-muted); white-space: nowrap; }
.sc-rs-skin__scale i { position: relative; flex: 1; width: 3px; border-radius: 3px; background: linear-gradient(to top, var(--sc-petrol-soft), var(--sc-petrol)); transform-origin: center bottom; }
.sc-rs-skin__scale i::before { content: ""; position: absolute; top: -5px; left: 50%; margin-left: -4px; border: 4px solid transparent; border-bottom: 5px solid var(--sc-petrol); border-top: 0; }

/* Hair: one strand from scalp to tip. */
.sc-rs-hair { max-width: 440px; margin-inline: auto; }
.sc-rs-hair__svg { display: block; width: 100%; height: auto; overflow: visible; }
.sc-rs-hair__scalp { fill: #f6e3d8; }
.sc-rs-hair__skin { fill: none; stroke: #e5bfac; stroke-width: 1.5; }
.sc-rs-hair__bulb { fill: #3b2d26; }
.sc-rs-hair__strand { fill: none; stroke: url(#scHairStrand); stroke-width: 4.5; stroke-linecap: round; }
.sc-rs-hair__zone { fill: none; stroke: var(--sc-coral-soft); stroke-width: 18; stroke-linecap: round; }
.sc-rs-hair__fx--drop path { fill: var(--sc-coral); }
.sc-rs-hair__fx--bub circle { fill: #fff; stroke: var(--sc-petrol); stroke-width: 1.2; }
.sc-rs-hair__ripple { fill: none; stroke: var(--sc-coral); stroke-width: 1.5; opacity: 0; }
.sc-rs-hair__mk circle { fill: #fff; stroke: var(--sc-line); stroke-width: 1.5; }
.sc-rs-hair__mk text { font: 700 10px var(--sc-font); fill: var(--sc-muted); text-anchor: middle; }
.sc-rs-hair__mk.is-past circle { fill: var(--sc-petrol-soft); stroke: var(--sc-petrol-soft); }
.sc-rs-hair__mk.is-past text { fill: var(--sc-petrol); }
.sc-rs-hair__mk.is-here circle { fill: var(--sc-petrol); stroke: var(--sc-petrol); }
.sc-rs-hair__mk.is-here text { fill: #fff; }
.sc-rs-hair__mk, .sc-rs-hair__fx, .sc-rs-hair__ripple { transform-box: fill-box; transform-origin: center; }
.sc-fold__in .sc-rstep ol.sc-rs-hair__legend, .sc-rstep ol.sc-rs-hair__legend { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-top: 8px; }
.sc-fold__in .sc-rstep .sc-rs-hair__legend > li { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; font-size: 11.5px; line-height: 1.5; color: var(--sc-muted); }
.sc-rs-hair__legend b { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 10.5px; background: #fff; border: 1px solid var(--sc-line); }
.sc-fold__in .sc-rstep .sc-rs-hair__legend > li.is-past b { background: var(--sc-petrol-soft); border-color: var(--sc-petrol-soft); color: var(--sc-petrol); }
.sc-fold__in .sc-rstep .sc-rs-hair__legend > li.is-here b { background: var(--sc-petrol); border-color: var(--sc-petrol); color: #fff; }
.sc-fold__in .sc-rstep .sc-rs-hair__legend > li.is-here span { color: var(--sc-ink); font-weight: 700; }

/* Body: a ring around the shower routine. */
.sc-rs-body { display: flex; align-items: center; gap: 14px; max-width: 520px; margin-inline: auto; }
.sc-rs-body__ring { position: relative; flex: none; width: 112px; height: 112px; }
.sc-rs-body__svg { display: block; width: 112px; height: 112px; }
.sc-rs-body__track { fill: none; stroke: #ece6de; stroke-width: 9; }
.sc-rs-body__seg { fill: none; stroke: transparent; stroke-width: 9; }
.sc-rs-body__seg.is-past { stroke: #9fc7c1; }
.sc-rs-body__seg.is-here { stroke: var(--sc-petrol); }
.sc-rs-body__mid { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: var(--sc-petrol); }
.sc-rs-body__mid .sc-rs-ic { width: 30px; height: 30px; }
.sc-rs-body__mid span { font-size: 10.5px; line-height: 1.3; color: var(--sc-muted); }
.sc-fold__in .sc-rstep ol.sc-rs-body__list, .sc-rstep ol.sc-rs-body__list { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.sc-fold__in .sc-rstep .sc-rs-body__list > li { display: flex; align-items: center; gap: 8px; height: 30px; padding: 0 8px; border-radius: 10px; font-size: 13px; color: var(--sc-muted); white-space: nowrap; }
.sc-rs-body__ic { flex: none; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: #fff; border: 1px solid var(--sc-line); color: var(--sc-muted); }
.sc-rs-body__ic .sc-rs-ic { width: 14px; height: 14px; }
.sc-fold__in .sc-rstep .sc-rs-body__list > li.is-past .sc-rs-body__ic { background: var(--sc-petrol-soft); border-color: var(--sc-petrol-soft); color: var(--sc-petrol); }
.sc-fold__in .sc-rstep .sc-rs-body__list > li.is-here { background: #fff; box-shadow: inset 0 0 0 1.5px var(--sc-petrol); color: var(--sc-ink); font-weight: 700; }
.sc-fold__in .sc-rstep .sc-rs-body__list > li.is-here .sc-rs-body__ic { background: var(--sc-petrol); border-color: var(--sc-petrol); color: #fff; }
.sc-rs-body__list .sc-rstep__tag { margin-inline-start: auto; }

/* Motion: product.js sets is-pre (start state) and then is-run once the strip is in view. Without it, the end state shows. */
@keyframes sc-rs-drop { from { opacity: 0; transform: translateY(-16px); } }
@keyframes sc-rs-fade { from { opacity: 0; } }
@keyframes sc-rs-grow { from { transform: scaleX(0); } }
@keyframes sc-rs-growy { from { transform: scaleY(0); } }
@keyframes sc-rs-pop { from { opacity: 0; transform: scale(.5); } }
@keyframes sc-rs-slide { from { opacity: 0; transform: translateX(10px); } }
@keyframes sc-rs-draw { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
@keyframes sc-rs-arc { from { stroke-dasharray: 0 100; } }
@keyframes sc-rs-fall { from { opacity: 0; transform: translateY(-16px); } 60% { opacity: 1; } }
@keyframes sc-rs-ripple { from { opacity: .9; transform: scale(.7); } to { opacity: 0; transform: scale(2.3); } }
@keyframes sc-rs-bubble { 0% { opacity: 0; transform: translateY(8px) scale(.4); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(-24px) scale(1.15); } }
@keyframes sc-rs-ping { from { box-shadow: 0 0 0 0 rgba(232, 145, 110, .55); } to { box-shadow: 0 0 0 11px rgba(232, 145, 110, 0); } }

.sc-rstep.is-pre .sc-rstep__tag { opacity: 0; }
.sc-rstep.is-run .sc-rstep__tag { animation: sc-rs-pop .4s cubic-bezier(.3, 1.4, .5, 1) both; }

.sc-fold__in .sc-rstep--skin.is-pre .sc-rs-skin__stack > li { opacity: 0; transform: translateY(-16px); }
.sc-rstep--skin.is-pre .sc-rs-skin__sw i { transform: scaleX(0); }
.sc-rstep--skin.is-pre .sc-rs-skin__scale i { transform: scaleY(0); }
.sc-fold__in .sc-rstep--skin.is-run .sc-rs-skin__stack > li { animation: sc-rs-drop .55s cubic-bezier(.2, .8, .3, 1.2) both; animation-delay: calc(.15s + var(--i) * .32s); }
.sc-fold__in .sc-rstep--skin.is-run .sc-rs-skin__stack > li.is-here { animation: sc-rs-drop .55s cubic-bezier(.2, .8, .3, 1.2) both, sc-rs-ping 1s ease-out 1; animation-delay: calc(.15s + var(--t) * .32s), calc(.65s + var(--t) * .32s); }
.sc-fold__in .sc-rstep--skin.is-run .sc-rs-skin__stack > li.is-next { animation: sc-rs-fade .5s ease both; animation-delay: calc(.6s + var(--t) * .32s + (var(--i) - var(--t)) * .12s); }
.sc-rstep--skin.is-run .sc-rs-skin__sw i { animation: sc-rs-grow .5s ease-out both; animation-delay: calc(.4s + var(--i) * .32s); }
.sc-rstep--skin.is-run .sc-rs-skin__scale i { animation: sc-rs-growy 1.3s ease both .2s; }
.sc-rstep--skin.is-run .sc-rstep__tag { animation-delay: calc(.8s + var(--t) * .32s); }

.sc-rstep--hair.is-pre .sc-rs-hair__strand, .sc-rstep--hair.is-pre .sc-rs-hair__zone { stroke-dasharray: 100; stroke-dashoffset: 100; }
.sc-rstep--hair.is-pre .sc-rs-hair__mk, .sc-rstep--hair.is-pre .sc-rs-hair__fx { opacity: 0; }
.sc-fold__in .sc-rstep--hair.is-pre .sc-rs-hair__legend > li { opacity: 0; }
.sc-rstep--hair.is-run .sc-rs-hair__strand { stroke-dasharray: 100; animation: sc-rs-draw 1.1s ease-in-out both .1s; }
.sc-rstep--hair.is-run .sc-rs-hair__mk { animation: sc-rs-pop .4s cubic-bezier(.3, 1.4, .5, 1) both; animation-delay: calc(.35s + var(--i) * .25s); }
.sc-fold__in .sc-rstep--hair.is-run .sc-rs-hair__legend > li { animation: sc-rs-fade .4s ease both; animation-delay: calc(.4s + var(--i) * .25s); }
.sc-rstep--hair.is-run .sc-rs-hair__zone { stroke-dasharray: 100; animation: sc-rs-draw .8s ease both 1.35s; }
.sc-rstep--hair.is-run .sc-rs-hair__fx--drop { animation: sc-rs-fall .7s cubic-bezier(.5, 0, .8, .6) both 1.35s; }
.sc-rstep--hair.is-run .sc-rs-hair__ripple { animation: sc-rs-ripple .9s ease-out 2.05s 2; }
.sc-rstep--hair.is-run .sc-rs-hair__fx--bub { opacity: 1; }
.sc-rstep--hair.is-run .sc-rs-hair__fx--bub circle { transform-box: fill-box; transform-origin: center; animation: sc-rs-bubble 1.3s ease-out backwards 3; animation-delay: 1.35s; }
.sc-rstep--hair.is-run .sc-rs-hair__fx--bub circle:nth-child(2) { animation-delay: 1.55s; }
.sc-rstep--hair.is-run .sc-rs-hair__fx--bub circle:nth-child(3) { animation-delay: 1.75s; }
.sc-rstep--hair.is-run .sc-rs-hair__fx--bub circle:nth-child(4) { animation-delay: 1.95s; }
.sc-rstep--hair.is-run .sc-rstep__tag { animation-delay: 1.5s; }

.sc-rstep--body.is-pre .sc-rs-body__seg { stroke-dasharray: 0 100; }
.sc-rstep--body.is-pre .sc-rs-body__mid { opacity: 0; transform: scale(.6); }
.sc-fold__in .sc-rstep--body.is-pre .sc-rs-body__list > li { opacity: 0; transform: translateX(10px); }
.sc-rstep--body.is-run .sc-rs-body__seg:not(.is-next) { animation: sc-rs-arc .45s ease-out both; animation-delay: calc(.15s + var(--i) * .4s); }
.sc-rstep--body.is-run .sc-rs-body__mid { animation: sc-rs-pop .5s cubic-bezier(.3, 1.4, .5, 1) both; animation-delay: calc(.35s + var(--t) * .4s); }
.sc-fold__in .sc-rstep--body.is-run .sc-rs-body__list > li { animation: sc-rs-slide .4s ease both; animation-delay: calc(.15s + var(--i) * .4s); }
.sc-fold__in .sc-rstep--body.is-run .sc-rs-body__list > li.is-here { animation: sc-rs-slide .4s ease both, sc-rs-ping 1s ease-out 1; animation-delay: calc(.15s + var(--t) * .4s), calc(.6s + var(--t) * .4s); }
.sc-rstep--body.is-run .sc-rstep__tag { animation-delay: calc(.7s + var(--t) * .4s); }

@media (max-width: 374px) { .sc-rs-body { gap: 10px; } .sc-rs-body__ring, .sc-rs-body__svg { width: 96px; height: 96px; } .sc-rs-body__mid .sc-rs-ic { width: 26px; height: 26px; } .sc-fold__in .sc-rstep .sc-rs-body__list > li { gap: 6px; padding: 0 6px; font-size: 12.5px; } }
@media (prefers-reduced-motion: reduce) { .sc-rstep, .sc-rstep * { animation: none !important; transition: none !important; } }
/* ===== /Routine step ===== */

/* «تجربهٔ کاربران در فروشگاه‌های خارجی» (inc/ext-reviews.php) */
.sc-extrev__lead{font-size:.86rem;color:#6b6b6b;line-height:1.9;margin:0 0 .8rem}
.sc-extrev__list{list-style:none;margin:0;padding:0;display:grid;gap:.6rem}
.sc-extrev__item{background:#f4f3f1;border-radius:12px;padding:.75rem .9rem}
.sc-extrev__t{margin:0 0 .45rem;line-height:1.95;font-size:.92rem;color:#2b2b2b}
.sc-extrev__m{margin:0;display:flex;flex-wrap:wrap;align-items:center;gap:.35rem .7rem;font-size:.76rem;color:#777}
.sc-extrev__v{color:#0F5C5A}
.sc-extrev__v::before{content:"✓ "}
.sc-extrev__src{color:#0F5C5A;text-decoration:underline;text-underline-offset:3px;margin-inline-start:auto}
.sc-extrev__note{font-size:.78rem;color:#888;line-height:1.8;margin:.7rem 0 0}

/* Authenticity promises (0.3.88) */
.sc-auth__promise {
	margin: 10px 0 12px;
	padding: 10px 12px;
	border: 1px solid #e3eeec;
	border-radius: 12px;
	background: #faf8f5;
	font-size: .8125rem;
	line-height: 1.8;
}
.sc-auth__promise b { display: block; margin-bottom: 4px; color: var(--sc-petrol); font-size: .875rem; }
.sc-auth__promise ul { margin: 0; padding: 0 18px 0 0; }
.sc-auth__promise li { margin: 2px 0; }
.sc-auth__promise a { color: var(--sc-petrol); text-decoration: underline; }
.sc-auth__brand { margin: 8px 0 0; color: var(--sc-muted); }
