/**
 * Shadi Clinic homepage. Mobile first, RTL, loaded only on front-page.php.
 * Tokens come from tokens.css. Gold is reserved for authenticity. No gradients, no shadows.
 */

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

/* Astra boxes the content area; the homepage sections set their own width. */
.sc-home #content > .ast-container,
.sc-home .site-content > .ast-container {
	max-width: none;
	padding: 0;
	display: block;
}

.sc-home-main {
	font-family: var(--sc-font);
	color: var(--sc-ink);
	line-height: 1.8;
	direction: rtl;
	text-align: right;
}

.sc-home-main *,
.sc-home-main *::before,
.sc-home-main *::after {
	box-sizing: border-box;
}

.sc-home-main a {
	color: inherit;
	text-decoration: none;
}

.sc-home-main ul,
.sc-home-main ol {
	list-style: none;
	margin: 0;
	padding: 0;
}

.sc-home-main h1,
.sc-home-main h2,
.sc-home-main h3,
.sc-home-main p,
.sc-home-main figure,
.sc-home-main blockquote,
.sc-home-main fieldset {
	margin: 0;
}

/* sc-title-gap: section titles keep room above the box under them (the reset above would make it 0). */
.sc-home-main .sc-h2 {
	margin-bottom: 20px;
}

.sc-home-main fieldset {
	border: 0;
	padding: 0;
	min-width: 0;
}

.sc-home-main :focus-visible {
	outline: 2px solid var(--sc-petrol);
	outline-offset: 2px;
}

.sc-wrap {
	width: 100%;
	max-width: 1200px;
	margin-inline: auto;
	padding-inline: 16px;
}

/* Category circles */
.sc-cats {
	background: var(--sc-surface);
	border-bottom: 1px solid var(--sc-line);
}

.sc-cats__row {
	display: flex;
	gap: 14px;
	overflow-x: auto;
	padding-block: 14px;
	scrollbar-width: none;
}

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

.sc-cat {
	flex: none;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	width: 72px;
	font-size: .75rem;
	font-weight: 600;
	text-align: center;
	line-height: 1.4;
}

.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;
}

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

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

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

/* Hero */
.sc-hero {
	padding-top: 24px;
}

.sc-hero__grid {
	display: grid;
	gap: 20px;
}

.sc-hero__kicker {
	font-size: .875rem;
	font-weight: 700;
	color: var(--sc-coral-ink);
}

.sc-hero__title {
	font-size: 2.125rem;
	font-weight: 900;
	line-height: 1.35;
	color: var(--sc-petrol);
	margin: 8px 0 10px;
}

/* A coral smile under «اصلشه», echoing the logo. */
.sc-hero__accent {
	position: relative;
	display: inline-block;
}

.sc-hero__accent::after {
	content: "";
	position: absolute;
	inset-inline: 4%;
	bottom: -.1em;
	height: .2em;
	background: var(--sc-coral);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 12' preserveAspectRatio='none'%3E%3Cpath d='M3 3c28 9 66 9 94 0' fill='none' stroke='%23000' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 12' preserveAspectRatio='none'%3E%3Cpath d='M3 3c28 9 66 9 94 0' fill='none' stroke='%23000' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}

.sc-hero__lead {
	color: var(--sc-muted);
	font-size: 1rem;
}

.sc-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 20px;
}

.sc-hero__actions .sc-btn {
	flex: 1 1 140px;
	padding-inline: 12px;
	white-space: nowrap;
}

.sc-hero__visual {
	position: relative;
}

.sc-hero__img,
.sc-hero__art {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: var(--sc-r-xl);
}

.sc-hero__note {
	position: absolute;
	inset-inline-start: 12px;
	bottom: 12px;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: var(--sc-surface);
	border: 1px solid var(--sc-line);
	border-radius: 999px;
	padding: 4px 12px;
	font-size: .8125rem;
	font-weight: 700;
}

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

/* Trust tiles */
.sc-trust {
	margin-top: 20px;
}

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

.sc-trust__item,
.sc-trust__item a {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	text-align: center;
	font-size: .75rem;
	line-height: 1.5;
}

.sc-trust__item strong {
	font-weight: 700;
}

.sc-trust__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border-radius: 16px;
	background: var(--sc-surface);
	border: 1px solid var(--sc-line);
	color: var(--sc-petrol);
}

.sc-trust__icon .sc-i,
.sc-trust__icon .sc-genuine {
	width: 26px;
	height: 26px;
}

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

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

/* Concern tiles */
.sc-picker {
	background: var(--sc-surface);
	border: 1px solid var(--sc-line);
	border-radius: var(--sc-r-lg);
	padding: 20px 16px;
}

.sc-tiles {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
	margin-bottom: 16px;
}

.sc-tile {
	position: relative;
	cursor: pointer;
}

.sc-tile input {
	position: absolute;
	opacity: 0;
	inset: 0;
	margin: 0;
	cursor: pointer;
}

.sc-tile__box {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	padding: 14px 6px 10px;
	border-radius: var(--sc-r);
	border: 1.5px solid var(--sc-line);
	background: var(--sc-bg);
	transition: background-color .15s, border-color .15s;
}

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

.sc-tile--hair .sc-tile__icon {
	background: var(--sc-coral-soft);
	color: var(--sc-coral-ink);
}

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

.sc-tile__label {
	font-size: .875rem;
	font-weight: 700;
}

.sc-tile__check {
	position: absolute;
	top: 6px;
	inset-inline-start: 6px;
	display: none;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: var(--sc-petrol);
	color: #fff;
	align-items: center;
	justify-content: center;
}

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

.sc-tile input:checked + .sc-tile__box {
	border-color: var(--sc-petrol);
	background: var(--sc-petrol-soft);
}

.sc-tile--hair input:checked + .sc-tile__box {
	border-color: var(--sc-coral);
	background: var(--sc-coral-soft);
}

.sc-tile--hair .sc-tile__check {
	background: var(--sc-coral-ink);
}

.sc-tile input:checked + .sc-tile__box .sc-tile__check {
	display: flex;
}

.sc-tile input:focus-visible + .sc-tile__box {
	outline: 2px solid var(--sc-petrol);
	outline-offset: 2px;
}

.sc-tile input:disabled + .sc-tile__box {
	opacity: .45;
	cursor: not-allowed;
}

.sc-picker .sc-tiles {
	margin-top: 16px;
}

.sc-picker .sc-btn {
	width: 100%;
	margin-top: 20px;
}

/* Tabs and product rail */
.sc-tabs {
	display: flex;
	align-items: center;
	gap: 6px;
	overflow-x: auto;
	scrollbar-width: none;
	border-bottom: 1px solid var(--sc-line);
	margin-bottom: 16px;
}

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

.sc-tab {
	flex: none;
	font: inherit;
	font-size: .9375rem;
	font-weight: 600;
	color: var(--sc-muted);
	background: none;
	border: 0;
	border-bottom: 2.5px solid transparent;
	padding: 10px 8px;
	min-height: 44px;
	cursor: pointer;
}

.sc-tab[aria-selected="true"] {
	color: var(--sc-petrol);
	border-bottom-color: var(--sc-petrol);
	font-weight: 800;
}

.sc-tab:first-child[aria-selected="true"] {
	color: var(--sc-coral-ink);
	border-bottom-color: var(--sc-coral);
}

.sc-tabs__all {
	flex: none;
	margin-inline-start: auto;
	display: inline-flex;
	align-items: center;
	gap: 2px;
	font-size: .875rem;
	color: var(--sc-petrol) !important;
	font-weight: 600;
}

.sc-tabs__all .sc-i {
	width: 16px;
	height: 16px;
}

.sc-rail {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: 46%;
	gap: 12px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	padding-bottom: 8px;
	scrollbar-width: thin;
}

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

/* Spotlight: two large boxes for the bestsellers (or the products starred as Featured). */
.sc-spots {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: 86%;
	gap: 12px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	padding-bottom: 8px;
	scrollbar-width: none;
}

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

.sc-spot {
	position: relative;
	scroll-snap-align: start;
	display: flex;
	flex-direction: column;
	min-width: 0;
	border-radius: var(--sc-r-xl);
	overflow: hidden;
	background: var(--sc-surface);
	border: 1.5px solid var(--sc-line);
	transition: border-color .15s;
}

.sc-spot--coral {
	background: var(--sc-surface);
}

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

.sc-spot__media {
	position: relative;
	display: block;
	aspect-ratio: 4 / 3;
	padding: 14px 14px 0;
}

.sc-spot__media img,
.sc-spot__noimg {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	object-fit: contain;
	border-radius: var(--sc-r-lg);
	background: var(--sc-surface);
	color: #c9c2b8;
}

.sc-spot__noimg .sc-i {
	width: 56px;
	height: 56px;
}

.sc-spot .sc-badge {
	top: 24px;
	inset-inline-start: 24px;
	width: 40px;
	height: 40px;
}

.sc-spot .sc-badge .sc-genuine {
	width: 28px;
	height: 28px;
}

.sc-spot__body {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
	padding: 14px 16px 18px;
}

.sc-spot__tag {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	background: var(--sc-petrol-soft);
	color: var(--sc-petrol);
	border-radius: 999px;
	padding: 2px 10px;
	font-size: .75rem;
	font-weight: 700;
}

.sc-spot--coral .sc-spot__tag {
	color: var(--sc-coral-ink);
}

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

.sc-spot__brand {
	color: var(--sc-muted);
	font-size: .8125rem;
}

.sc-spot__name {
	font-size: 1.125rem;
	font-weight: 800;
	line-height: 1.5;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	max-height: 3em; /* two lines at line-height 1.5 */
	overflow: hidden;
}

/* The text column must never be squeezed: a shrunk -webkit-box ignores its line
   clamp, so the name would paint over the line below it. Let the box grow instead. */
.sc-spot__body > * {
	flex: none;
}

.sc-spot__fit {
	font-size: .75rem;
	font-weight: 600;
	color: var(--sc-petrol);
}

.sc-spot--coral .sc-spot__fit {
	color: var(--sc-coral-ink);
}

.sc-spot__foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px 12px;
	width: 100%;
	margin-top: 10px;
}

.sc-spot__price {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	column-gap: 6px;
	font-size: 1.125rem;
	font-weight: 800;
	min-width: 0;
}

.sc-spot__price del {
	color: var(--sc-muted);
	font-size: .8125rem;
	font-weight: 400;
}

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

.sc-spot__btn {
	flex: none;
	min-height: 44px;
	padding: 8px 18px;
	font-size: .875rem;
	background: var(--sc-sage);
	color: #fff !important;
	box-shadow: 0 6px 16px -8px rgba(58, 127, 108, .55);
	transition: opacity .3s ease, transform .3s ease, background-color .2s ease;
}

/* Mouse users: the calm green button fades in when the pointer rests on the box.
   Touch screens have no hover, so there it stays visible and the whole box is tappable. */
@media (hover: hover) and (pointer: fine) {
	.sc-spot__btn {
		opacity: 0;
		transform: translateY(6px);
	}

	a.sc-spot:hover .sc-spot__btn,
	a.sc-spot:focus-visible .sc-spot__btn {
		opacity: 1;
		transform: none;
	}
}

/* Tests */
.sc-tests {
	display: grid;
	gap: 12px;
}

.sc-test {
	display: flex;
	align-items: center;
	gap: 14px;
	border-radius: var(--sc-r-lg);
	padding: 16px;
	border: 1.5px solid transparent;
	transition: border-color .15s;
}

.sc-test--skin {
	background: var(--sc-petrol-soft);
}

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

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

.sc-test--hair:hover {
	border-color: var(--sc-coral);
}

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

.sc-test--hair .sc-test__art {
	color: var(--sc-coral-ink);
}

.sc-test__art .sc-i {
	width: 38px;
	height: 38px;
}

.sc-test__body {
	display: flex;
	flex-direction: column;
	gap: 2px;
	font-size: .8125rem;
	color: var(--sc-muted);
}

.sc-test__body strong {
	font-size: 1.0625rem;
	color: var(--sc-ink);
}

.sc-test__go {
	display: inline-flex;
	align-items: center;
	gap: 2px;
	margin-top: 4px;
	font-weight: 800;
	color: var(--sc-petrol);
}

.sc-test--hair .sc-test__go {
	color: var(--sc-coral-ink);
}

.sc-test__go .sc-i {
	width: 16px;
	height: 16px;
}

/* Consultation */
.sc-consult {
	display: grid;
	grid-template-columns: auto 1fr;
	align-items: center;
	gap: 12px 14px;
	background: var(--sc-petrol);
	color: #fff;
	border-radius: var(--sc-r-lg);
	padding: 18px 16px;
}

.sc-consult__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .14);
}

.sc-consult__icon .sc-i {
	width: 30px;
	height: 30px;
}

.sc-consult h2 {
	font-size: 1.125rem;
	font-weight: 800;
	line-height: 1.5;
	color: #fff;
}

.sc-consult p {
	font-size: .8125rem;
	color: rgba(255, 255, 255, .85);
}

.sc-consult .sc-btn {
	grid-column: 1 / -1;
	background: var(--sc-coral);
	color: var(--sc-ink) !important;
}

/* Mood band */
.sc-mood {
	display: grid;
	background: var(--sc-coral-soft);
	border-radius: var(--sc-r-lg);
	overflow: hidden;
}

.sc-mood__img,
.sc-mood__art {
	display: block;
	width: 100%;
	height: auto;
}

.sc-mood__img {
	aspect-ratio: 16 / 10;
	object-fit: cover;
}

.sc-mood__text {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 14px;
	padding: 4px 16px 20px;
}

.sc-mood h2 {
	font-size: 1.375rem;
	font-weight: 900;
	line-height: 1.5;
	color: var(--sc-coral-ink);
}

/* Journey */
.sc-panel {
	background: var(--sc-surface);
	border: 1px solid var(--sc-line);
	border-radius: var(--sc-r-lg);
	padding: 20px 16px;
}

.sc-journey__smile {
	display: none;
	width: 100%;
	height: 60px;
	color: var(--sc-gold);
}

.sc-journey__stops {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 6px;
	margin-bottom: 16px;
}

.sc-journey__stops li {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	text-align: center;
	font-size: .6875rem;
	line-height: 1.5;
}

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

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

.sc-stop--seal {
	background: var(--sc-gold-soft);
	color: var(--sc-gold);
	border: 1.5px solid var(--sc-gold);
}

.sc-journey__end strong {
	color: var(--sc-gold-ink);
}

/* Reviews */
.sc-reviews {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: 82%;
	gap: 12px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	padding-bottom: 8px;
}

.sc-review {
	scroll-snap-align: start;
	background: var(--sc-surface);
	border: 1px solid var(--sc-line);
	border-radius: var(--sc-r-lg);
	padding: 16px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.sc-review__tag {
	align-self: flex-start;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: .75rem;
	font-weight: 700;
	color: var(--sc-petrol);
	background: var(--sc-petrol-soft);
	border-radius: 999px;
	padding: 2px 10px;
}

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

.sc-review blockquote {
	font-size: .875rem;
	border: 0;
	padding: 0;
	font-style: normal;
}

.sc-review figcaption {
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--sc-muted);
	font-size: .8125rem;
	margin-top: auto;
}

.sc-review__avatar {
	flex: none;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--sc-coral-soft);
	color: var(--sc-coral-ink);
	font-size: 1rem;
	font-weight: 800;
}

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

/* Brands: one row of logo cards, «مشاهده همه» opens the full grid (inc/brands.php). */
.sc-brands__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin-bottom: 12px;
}

.sc-brands__head .sc-h2 {
	margin: 0;
}

.sc-brands__more {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	flex: none;
	padding: 6px 12px;
	border: 1px solid var(--sc-petrol);
	border-radius: 999px;
	background: var(--sc-surface);
	color: var(--sc-petrol);
	font: inherit;
	font-size: .8125rem;
	font-weight: 700;
	line-height: 1.4;
	cursor: pointer;
}

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

.sc-brands__more:hover,
.sc-brands__more:focus-visible {
	background: var(--sc-petrol);
	color: #fff;
}

.sc-brands__more-count {
	font-weight: 600;
	opacity: .8;
}

.sc-brands__more .sc-i {
	width: 16px;
	height: 16px;
	transition: transform .2s ease;
}

.sc-brands-sec.is-open .sc-brands__more .sc-i {
	transform: rotate(90deg);
}

.sc-brands-sec.is-open .sc-brands__more-count {
	display: none;
}

/* Collapsed: a single row that can also be swiped. */
.sc-brands {
	display: flex;
	gap: 12px;
	margin: 0;
	padding: 4px 2px 12px;
	list-style: none;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x proximity;
	scrollbar-width: none;
}

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

.sc-brands > li {
	flex: 0 0 112px;
	margin: 0;
	scroll-snap-align: start;
}

/* Open: every brand in a grid. */
.sc-brands-sec.is-open .sc-brands {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(104px, 1fr));
	overflow: visible;
}

.sc-brands-sec.is-open .sc-brands > li {
	flex: none;
}

/* Card: looks and behaves like a button. */
.sc-brand {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	height: 100%;
	padding: 12px 8px 10px;
	background: var(--sc-surface);
	border: 1px solid var(--sc-line);
	border-radius: var(--sc-r);
	box-shadow: 0 1px 2px rgba(31, 42, 46, .05);
	color: var(--sc-ink);
	text-decoration: none !important;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
	transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.sc-brand:hover,
.sc-brand:focus-visible {
	border-color: var(--sc-petrol);
	box-shadow: 0 6px 16px rgba(15, 92, 90, .12);
	transform: translateY(-2px);
}

.sc-brand:focus-visible {
	outline: 2px solid var(--sc-petrol);
	outline-offset: 2px;
}

.sc-brand:active {
	transform: scale(.97);
}

/* Fixed logo box: logos of any shape fit without moving the layout. */
.sc-brand__mark {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 44px;
}

.sc-brand__logo {
	display: block;
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: 40px;
	object-fit: contain;
}

.sc-brand__word {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-align: center;
	font-size: .875rem;
	font-weight: 800;
	line-height: 1.45;
	color: var(--sc-petrol);
}

.sc-brand__name {
	max-width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-size: .75rem;
	font-weight: 700;
	color: var(--sc-ink);
}

.sc-brand--name .sc-brand__name {
	display: none;
}

.sc-brand__go {
	display: inline-flex;
	align-items: center;
	gap: 2px;
	margin-top: auto;
	padding: 2px 8px 2px 6px;
	border-radius: 999px;
	background: var(--sc-petrol-soft);
	color: var(--sc-petrol);
	font-size: .6875rem;
	font-weight: 700;
	white-space: nowrap;
}

.sc-brand__go .sc-i {
	width: 12px;
	height: 12px;
}

@media (prefers-reduced-motion: reduce) {
	.sc-brand,
	.sc-brands__more .sc-i {
		transition: none;
	}

	.sc-brand:hover,
	.sc-brand:focus-visible {
		transform: none;
	}
}

/* Articles strip: deliberately small, the page is for shopping */
.sc-mindstrip {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 12px;
	background: var(--sc-surface);
	border: 1px solid var(--sc-line);
	border-radius: var(--sc-r);
	padding: 12px 14px;
}

.sc-mindstrip__title {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: .9375rem;
	font-weight: 800;
}

.sc-mindstrip__title .sc-i {
	color: var(--sc-coral);
}

.sc-mindstrip__links {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	flex: 1 1 100%;
}

.sc-mindstrip__links a {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 4px 10px;
	border-radius: 999px;
	background: var(--sc-bg);
	border: 1px solid var(--sc-line);
	font-size: .75rem;
}

.sc-mindstrip__links .sc-i {
	width: 14px;
	height: 14px;
	color: var(--sc-muted);
}

/* Ingredient dictionary */
.sc-ingr {
	background: var(--sc-surface);
	border: 1px solid var(--sc-line);
	border-radius: var(--sc-r-lg);
	padding: 20px 16px;
	display: grid;
	gap: 12px;
}

.sc-ingr__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--sc-petrol);
	font-size: .875rem;
	font-weight: 600;
}

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

.sc-ingr .sc-h2 {
	margin: 0 0 8px; /* with the 12px grid gap: 20px to the search box */
}

.sc-ingr__search {
	max-width: none;
	margin: 0;
}

.sc-ingr__chips {
	margin: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.sc-ingr__chip {
	display: inline-block;
	padding: 7px 14px;
	border-radius: 999px;
	background: var(--sc-petrol-soft);
	color: var(--sc-petrol);
	font-size: .875rem;
	font-weight: 500;
	text-decoration: none;
	transition: background-color .2s, color .2s;
}

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

.sc-ingr__chip:hover,
.sc-ingr__chip:focus-visible {
	background: var(--sc-petrol);
	color: #fff;
}

/* Tablet */
@media (min-width: 600px) {
	.sc-rail {
		grid-auto-columns: 30%;
		gap: 16px;
	}

	.sc-tests {
		grid-template-columns: 1fr 1fr;
	}

	.sc-reviews {
		grid-auto-columns: 48%;
	}

	.sc-brands > li {
		flex-basis: 132px;
	}

	.sc-brand__mark {
		height: 52px;
	}

	.sc-brand__logo {
		max-height: 46px;
	}

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

	.sc-hero__actions .sc-btn {
		flex: 0 1 auto;
	}

	.sc-picker .sc-btn {
		width: auto;
	}

	.sc-trust__item,
	.sc-trust__item a {
		font-size: .8125rem;
	}

	.sc-journey__stops li {
		font-size: .8125rem;
	}

	.sc-mindstrip__links {
		flex: 1 1 auto;
	}
}

/* Desktop */
@media (min-width: 768px) {
	.sc-section {
		margin-top: 56px;
	}

	.sc-cats__row {
		justify-content: center;
		gap: 28px;
	}

	.sc-cat {
		width: 88px;
		font-size: .8125rem;
	}

	.sc-cat__icon {
		width: 72px;
		height: 72px;
	}

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

	.sc-hero {
		padding-top: 40px;
	}

	.sc-hero__grid {
		grid-template-columns: 1.05fr 1fr;
		align-items: center;
		gap: 48px;
	}

	.sc-hero__title {
		font-size: 3rem;
	}

	.sc-hero__lead {
		font-size: 1.125rem;
	}

	.sc-h2 {
		font-size: 1.5rem;
	}

	.sc-trust {
		margin-top: 32px;
	}

	.sc-trust__list {
		gap: 16px;
	}

	.sc-trust__item,
	.sc-trust__item a {
		flex-direction: row;
		justify-content: center;
		gap: 10px;
		background: var(--sc-surface);
		border: 1px solid var(--sc-line);
		border-radius: var(--sc-r);
		padding: 12px;
		font-size: .875rem;
	}

	.sc-trust__item a {
		border: 0;
		padding: 0;
	}

	.sc-trust__icon {
		width: 44px;
		height: 44px;
		border-radius: 12px;
	}

	.sc-picker,
	.sc-panel {
		padding: 28px 32px;
	}

	.sc-tile__icon {
		width: 64px;
		height: 64px;
	}

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

	.sc-consult {
		grid-template-columns: auto 1fr auto;
		padding: 22px 28px;
	}

	.sc-consult .sc-btn {
		grid-column: auto;
	}

	.sc-spots {
		grid-auto-flow: row;
		grid-template-columns: 1fr 1fr;
		gap: 24px;
		overflow: visible;
	}

	.sc-spot {
		flex-direction: row;
		align-items: stretch;
	}

	.sc-spot__media {
		flex: 0 0 48%;
		aspect-ratio: 1;
		padding: 20px;
		padding-inline-end: 0;
	}

	.sc-spot .sc-badge {
		top: 30px;
		inset-inline-start: 30px;
	}

	.sc-spot__body {
		flex: 1;
		justify-content: center;
		gap: 6px;
		padding: 24px;
	}

	.sc-spot__name {
		font-size: 1.375rem;
	}

	.sc-spot__foot {
		flex-direction: column;
		align-items: flex-start;
		margin-top: 14px;
	}

	.sc-spot__price {
		font-size: 1.25rem;
	}

	.sc-mood {
		grid-template-columns: 1fr 1fr;
		align-items: center;
	}

	.sc-mood__img,
	.sc-mood__art {
		height: 100%;
		min-height: 260px;
	}

	.sc-mood__text {
		gap: 20px;
		padding: 32px 40px;
	}

	.sc-mood h2 {
		font-size: 1.875rem;
	}

	.sc-journey__smile {
		display: block;
		margin-bottom: -40px;
	}

	.sc-stop {
		width: 64px;
		height: 64px;
		position: relative;
		background: var(--sc-petrol-soft);
	}

	.sc-stop .sc-i {
		width: 30px;
		height: 30px;
	}

	.sc-journey__stops li {
		font-size: .875rem;
	}
}

@media (min-width: 1024px) {
	.sc-rail {
		grid-auto-flow: row;
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 32px 24px;
		overflow: visible;
	}

	.sc-reviews {
		grid-auto-flow: row;
		grid-template-columns: repeat(3, 1fr);
		overflow: visible;
	}
}

@media (prefers-reduced-motion: reduce) {
	.sc-home-main * {
		transition: none !important;
		scroll-behavior: auto !important;
	}
}

/* sc-title-gap, desktop */
@media (min-width: 1024px) {
	.sc-home-main .sc-h2 {
		margin-bottom: 24px;
	}

	.sc-ingr .sc-h2 {
		margin-bottom: 12px;
	}
}

/* ===== Spotlight v2 (0.3.48): calmer text column, always-visible button ===== */
.sc-spot__body {
	gap: 8px;
}

.sc-spot__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 10px;
	min-width: 0;
}

.sc-spot__brand {
	font-size: .8125rem;
	font-weight: 600;
	color: var(--sc-muted);
}

.sc-spot__name {
	font-size: 1.0625rem;
	font-weight: 800;
	line-height: 1.6;
	max-height: 3.2em; /* exactly two lines */
	color: var(--sc-ink);
}

.sc-spot__fit {
	display: flex;
	align-items: flex-start;
	gap: 6px;
	font-size: .8125rem;
	font-weight: 500;
	line-height: 1.7;
}

.sc-spot__fit .sc-i {
	flex: none;
	width: 16px;
	height: 16px;
	margin-top: 3px;
}

.sc-spot__fit > span {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	max-height: 3.4em;
	overflow: hidden;
}

.sc-spot__foot {
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: space-between;
	margin-top: auto;
	padding-top: 14px;
	border-top: 1px solid rgba(15, 92, 90, .12);
}

.sc-spot--coral .sc-spot__foot {
	border-top-color: rgba(138, 62, 31, .14);
}

.sc-spot__price {
	font-size: 1.125rem;
	white-space: nowrap;
}

.sc-spot__btn {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	min-height: 44px;
	padding: 8px 14px 8px 10px;
	border-radius: 999px;
	font-size: .8125rem;
	white-space: nowrap;
}

.sc-spot__btn .sc-i {
	width: 16px;
	height: 16px;
}

@media (hover: hover) and (pointer: fine) {
	.sc-spot__btn {
		opacity: 1;
		transform: none;
		background: var(--sc-petrol-soft);
		color: var(--sc-petrol) !important;
		box-shadow: none;
	}

	.sc-spot--coral .sc-spot__btn {
		color: var(--sc-coral-ink) !important;
	}

	a.sc-spot:hover .sc-spot__btn,
	a.sc-spot:focus-visible .sc-spot__btn {
		background: var(--sc-sage);
		color: #fff !important;
	}
}

@media (min-width: 768px) {
	.sc-spot__body {
		justify-content: flex-start;
		gap: 8px;
		padding: 24px 24px 20px;
	}

	.sc-spot__name {
		font-size: 1.1875rem;
	}

	.sc-spot__foot {
		flex-direction: row;
		align-items: center;
		margin-top: auto;
	}

	.sc-spot__price {
		font-size: 1.1875rem;
	}
}

/* Test banner (#sc-tests): passing waves on #10323A. */
.sc-qb {
	--qb-bg: #10323A;
	position: relative;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border-radius: 16px;
	background: var(--qb-bg);
	color: #FAF8F5;
}
.sc-qb__vis {
	order: -1;
	position: relative;
	height: 230px;
	overflow: hidden;
	background:
		radial-gradient(circle at 68% 20%, #5E7F7A 0, #2C5258 30%, rgba(16, 50, 58, 0) 64%),
		radial-gradient(circle at 18% 45%, #3A5F63 0, rgba(16, 50, 58, 0) 48%);
}
.sc-qb__vis::before,
.sc-qb__vis::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
}
.sc-qb__vis::before {
	z-index: 0;
	background: linear-gradient(rgba(16, 50, 58, .2) 15%, var(--qb-bg) 100%);
}
.sc-qb__vis::after {
	z-index: 2;
	background: linear-gradient(rgba(16, 50, 58, .35) 0%, rgba(16, 50, 58, 0) 30%, rgba(16, 50, 58, 0) 72%, var(--qb-bg) 100%);
}
.sc-qb__div {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 50%;
	z-index: 1;
	width: 2px;
	margin-left: -1px;
	background: repeating-linear-gradient(transparent 0 10px, rgba(255, 255, 255, .2) 10px 13px);
}
.sc-qb__svg {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 1;
	width: 100%;
	height: 200px;
	overflow: visible;
}
.sc-qb__lbl {
	fill: #FAF8F5;
	font-family: var(--sc-font, inherit);
	font-size: 15px;
	transition: opacity .35s;
}
.sc-qb__dot {
	fill: #E8916E;
}
.sc-qb__txt {
	position: relative;
	z-index: 3;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
	padding: 28px 24px 32px;
	text-align: center;
}
.sc-qb__h {
	max-width: 340px;
	margin: 0;
	color: #FAF8F5;
	font-size: 20px;
	font-weight: 400;
	line-height: 1.75;
}
.sc-qb__go summary {
	list-style: none;
}
.sc-qb__go summary::-webkit-details-marker {
	display: none;
}
.sc-qb__cta,
.sc-qb__opt {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	min-height: 44px;
	padding: 8px 12px 8px 10px;
	border-radius: 8px;
	background: #FAF8F5;
	color: var(--qb-bg);
	font-size: 15px;
	font-weight: 500;
	text-decoration: none;
	cursor: pointer;
}
.sc-qb__arw {
	display: inline-flex;
	border-radius: 4px;
	background: #0F5C5A;
}
.sc-qb__go[open] .sc-qb__cta {
	display: none;
}
.sc-qb__pick {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
}
/* Both quiz options look exactly like the «شروع تست» button: white, dark text, arrow chip. */
.sc-qb__opt,
.sc-qb__opt--main {
	padding: 8px 12px 8px 10px;
	background: #FAF8F5;
	box-shadow: none;
	color: #10323A !important;
}
.sc-qb__cta {
	color: #10323A !important;
}
.sc-qb__cta:focus-visible,
.sc-qb__opt:focus-visible {
	outline: 2px solid #E8916E;
	outline-offset: 3px;
}
.sc-qb__meta {
	margin: -6px 0 0;
	color: #8DAAA9;
	font-size: 12px;
}
@media (min-width: 900px) {
	.sc-qb {
		flex-direction: row;
		min-height: 330px;
	}
	.sc-qb__txt {
		order: 1;
		width: 50%;
		align-items: flex-start;
		justify-content: center;
		gap: 26px;
		padding: 48px 64px;
		text-align: right;
	}
	.sc-qb__h {
		max-width: 400px;
		font-size: 26px;
		line-height: 1.7;
	}
	.sc-qb__vis {
		order: 2;
		width: 50%;
		height: auto;
	}
	.sc-qb__vis::after {
		background: linear-gradient(90deg, rgba(16, 50, 58, 0) 0%, rgba(16, 50, 58, .1) 50%, rgba(16, 50, 58, .2) 60%, var(--qb-bg) 100%);
	}
	.sc-qb__svg {
		height: 290px;
	}
}

/* 1405-08-20: shorter hero on phones; weekly picks as a 2-column grid instead of a rail. */
@media (max-width: 767px) {
	.sc-hero__img,
	.sc-hero__art {
		aspect-ratio: 16 / 11;
	}
	.sc-hero__actions {
		margin-top: 14px;
	}
}
.sc-rail {
	grid-auto-flow: row;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	grid-auto-columns: auto;
	overflow: visible;
	scroll-snap-type: none;
	gap: 14px 12px;
	padding-bottom: 0;
}
@media (min-width: 768px) {
	.sc-rail {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 18px 16px;
	}
}
.sc-rail[hidden] {
	display: none;
}

/* 1405-08-20: the spotlight text column overflowed the card on tablets/desktop (min-width:auto
   from the no-wrap price/button row). Let it shrink and wrap instead of being clipped. */
.sc-spot__body {
	min-width: 0;
}
@media (min-width: 768px) {
	.sc-spot__media {
		flex: 0 0 44%;
	}
	.sc-spot__foot {
		flex-wrap: wrap;
		gap: 10px 12px;
	}
	.sc-spot__name {
		font-size: 1.125rem;
	}
}

/* 1405-08-20: room under the buy button; hover uses brand dark teal #10323A, not link blue / sage. */
.sc-spot__body {
	padding-bottom: 24px !important;
}
a.sc-spot:hover {
	border-color: #10323A;
}
a.sc-spot:hover .sc-spot__name,
a.sc-spot:hover .sc-spot__price,
a.sc-spot:hover .sc-spot__price * {
	color: #10323A !important;
}
@media (hover: hover) and (pointer: fine) {
	a.sc-spot:hover .sc-spot__btn,
	a.sc-spot:focus-visible .sc-spot__btn {
		background: #10323A;
		color: #fff !important;
	}
}

/* ===== Spotlight v3 (1405-08-22): taller boxes, name up to 3 lines, full-width «مشاهده و خرید کالای اصل» ===== */
.sc-spot__name {
	-webkit-line-clamp: 3;
	max-height: 4.8em;
}
.sc-spot__foot {
	flex-direction: column;
	align-items: stretch;
	gap: 10px;
}
.sc-spot__btn {
	width: 100%;
	justify-content: center;
	padding: 10px 16px;
	font-size: .875rem;
	font-weight: 700;
}
@media (min-width: 768px) {
	.sc-spot {
		min-height: 400px;
	}
	.sc-spot__media {
		aspect-ratio: auto;
		align-self: stretch;
	}
	.sc-spot__foot {
		flex-direction: column;
		align-items: stretch;
	}
}

/* ===== Home «دانشنامهٔ پوست و مو» strip v2 (1405-08-22): small cover cards ===== */
.sc-mindstrip__links.sc-mindstrip__cards {
	display: grid;
	grid-template-columns: 1fr;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.sc-mindstrip__cards li {
	min-width: 0;
}
.sc-mindstrip__links a.sc-mindcard {
	display: flex;
	align-items: center;
	gap: 12px;
	height: 100%;
	padding: 8px;
	border-radius: var(--sc-r);
	background: var(--sc-bg);
	border: 1px solid var(--sc-line);
	font-size: inherit;
	color: inherit;
	text-decoration: none;
}
.sc-mindcard__img {
	flex: 0 0 96px;
	aspect-ratio: 4 / 3;
	border-radius: 10px;
	overflow: hidden;
	background: var(--sc-surface);
	display: flex;
	align-items: center;
	justify-content: center;
}
.sc-mindcard__img img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.sc-mindcard__body {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}
.sc-mindcard__title {
	font-size: 13px;
	font-weight: 700;
	line-height: 1.7;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	transition: color .15s;
}
.sc-mindcard__rev {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 12px;
	color: var(--sc-muted);
}
.sc-mindstrip__links .sc-mindcard__rev .sc-i {
	width: 14px;
	height: 14px;
	color: var(--sc-petrol);
}
@media (min-width: 768px) {
	.sc-mindstrip__links.sc-mindstrip__cards {
		grid-template-columns: repeat(3, 1fr);
	}
}
@media (hover: hover) {
	a.sc-mindcard:hover .sc-mindcard__title {
		color: var(--sc-petrol);
	}
}

/* ===== Spotlight v3.1 (1405-08-22): photo on top at every width, wide photo, text and full-width button below ===== */
@media (min-width: 768px) {
	.sc-spot {
		flex-direction: column;
		min-height: 0;
	}
	.sc-spot__media {
		flex: none;
		align-self: auto;
		aspect-ratio: 16 / 10;
		max-height: 320px;
		padding: 16px 16px 0;
	}
	.sc-spot .sc-badge {
		top: 26px;
		inset-inline-start: 26px;
	}
	.sc-spot__body {
		flex: 1;
		padding: 18px 24px 22px;
	}
}

/* Brands row: line under the title (genuine guides) */
.sc-brands__sub{margin:-4px 0 12px;font-size:14px;color:var(--sc-muted,#5c676b);line-height:1.8}

/* ---- Concern map + ingredient periodic table (#sc-lab, 2026-11-22) ---- */
.sc-lab{background:#f1eee8;padding:48px 0;margin:32px 0}
.sc-lab__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px;align-items:stretch}
.sc-lab__card{background:var(--sc-bg,#faf8f5);border:1px solid var(--sc-line,#e4dfd8);border-radius:28px;padding:32px;display:flex;flex-direction:column;gap:14px;min-width:0}
.sc-lab__eyebrow{font-size:13px;color:var(--sc-muted,#5c676b)}
.sc-lab__title{margin:0;font-size:30px;line-height:1.4;font-weight:900;color:#10323a}
.sc-lab__head{display:flex;justify-content:space-between;align-items:baseline;gap:12px;flex-wrap:wrap}
.sc-lab__all{font-size:14px;font-weight:700;color:var(--sc-petrol,#0f5c5a);text-decoration:none}
.sc-lab__radio{position:absolute;opacity:0;width:1px;height:1px;pointer-events:none}
.sc-lab__body{display:flex;flex-wrap:wrap;align-items:center;gap:24px}
.sc-lab__map{position:relative;flex:0 0 auto;width:min(320px,100%);aspect-ratio:320/300}
.sc-lab__map svg{display:block;width:100%;height:100%}
.sc-lab__dot{position:absolute;width:40px;height:40px;margin:-20px 0 0 -20px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:15px;cursor:pointer;background:var(--sc-bg,#faf8f5);color:var(--sc-petrol,#0f5c5a);border:1.5px solid var(--sc-petrol,#0f5c5a);transition:background .15s,box-shadow .15s}
.sc-lab__panels{flex:1 1 180px;min-width:0}
.sc-lab__panel{display:none;flex-direction:column;gap:12px}
.sc-lab__zone{font-size:12px;color:var(--sc-muted,#5c676b)}
.sc-lab__zname{font-size:20px;color:#10323a}
.sc-lab__chips{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.sc-lab__chips a{min-height:44px;display:flex;align-items:center;padding:0 16px;border-radius:999px;background:#fff;border:1px solid var(--sc-line,#e4dfd8);color:#10323a;text-decoration:none;font-size:14px;font-weight:600}
.sc-lab__chips a:hover{border-color:var(--sc-petrol,#0f5c5a)}
#sc-lab-z0:checked~.sc-lab__body .sc-lab__dot--0,#sc-lab-z1:checked~.sc-lab__body .sc-lab__dot--1,#sc-lab-z2:checked~.sc-lab__body .sc-lab__dot--2,#sc-lab-z3:checked~.sc-lab__body .sc-lab__dot--3{background:var(--sc-coral,#e8916e);color:#10323a;border-color:transparent;box-shadow:0 0 0 8px rgba(232,145,110,.25)}
#sc-lab-z0:checked~.sc-lab__body .sc-lab__panel--0,#sc-lab-z1:checked~.sc-lab__body .sc-lab__panel--1,#sc-lab-z2:checked~.sc-lab__body .sc-lab__panel--2,#sc-lab-z3:checked~.sc-lab__body .sc-lab__panel--3{display:flex}
#sc-lab-z0:focus-visible~.sc-lab__body .sc-lab__dot--0,#sc-lab-z1:focus-visible~.sc-lab__body .sc-lab__dot--1,#sc-lab-z2:focus-visible~.sc-lab__body .sc-lab__dot--2,#sc-lab-z3:focus-visible~.sc-lab__body .sc-lab__dot--3{outline:2px solid #10323a;outline-offset:3px}
.sc-lab__table{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.sc-lab__el{aspect-ratio:1/1.1;border-radius:16px;padding:12px;display:flex;flex-direction:column;justify-content:space-between;text-decoration:none;color:#faf8f5;transition:transform .15s}
.sc-lab__el:hover{transform:translateY(-2px);color:#faf8f5}
.sc-lab__el--ink{background:#10323a}.sc-lab__el--petrol{background:#0f5c5a}.sc-lab__el--teal{background:#1e6f6c}
.sc-lab__el--coral,.sc-lab__el--coral:hover{background:#e8916e;color:#10323a}
.sc-lab__n{font-size:11px;opacity:.8}
.sc-lab__sym{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,"Liberation Mono",monospace;font-size:40px;font-weight:600;line-height:1}
.sc-lab__fa{font-size:13px;font-weight:700;line-height:1.4;text-align:right}
.sc-lab__cat{font-size:11.5px;opacity:.85;text-align:right}
@media (max-width:900px){.sc-lab__grid{grid-template-columns:minmax(0,1fr)}}
@media (max-width:600px){
.sc-lab{padding:28px 0;margin:20px 0}
.sc-lab__card{padding:20px 16px;border-radius:22px}
.sc-lab__title{font-size:22px}
.sc-lab__map{margin:0 auto}
.sc-lab__panels{flex-basis:100%}
.sc-lab__table{gap:6px}
.sc-lab__el{padding:7px;border-radius:12px;aspect-ratio:1/1.25}
.sc-lab__sym{font-size:24px}
.sc-lab__fa{font-size:10.5px}
.sc-lab__cat{font-size:9.5px}
.sc-lab__n{font-size:9.5px}
}
/* #sc-lab tile text: one solid colour per tile so every label reads clearly (2026-11-22) */
.sc-lab .sc-lab__table a.sc-lab__el,.sc-lab .sc-lab__table a.sc-lab__el:hover,.sc-lab .sc-lab__table a.sc-lab__el span{color:#fff !important;opacity:1 !important}
.sc-lab .sc-lab__table a.sc-lab__el--coral,.sc-lab .sc-lab__table a.sc-lab__el--coral:hover,.sc-lab .sc-lab__table a.sc-lab__el--coral span{color:#10323a !important}
.sc-lab .sc-lab__table .sc-lab__cat,.sc-lab .sc-lab__table .sc-lab__n{font-weight:500}
