/* ================================================================
   Skinmedics Diagnostic Gateway — Scanner & Results
   Brand tokens sourced from Elementor global CSS (post-5.css)
   Fonts: Fraunces (headings), Instrument Sans (body) — loaded by Elementor
   Prefix: skg-
   ================================================================ */

:root {
	--skg-teal:       #22a4d3;
	--skg-teal-dark:  #1a8ab4;
	--skg-dark:       #212426;
	--skg-text:       #272527;
	--skg-muted:      #817e7e;
	--skg-muted-light:#c5c1b9;
	--skg-bg-light:   #e7f0f3;
	--skg-bg-white:   #ffffff;
	--skg-border:     #d4e4ea;
	--skg-radius:     8px;
	--skg-shadow:     0 4px 24px rgba(34,164,211,.10);
}

/* Ensure [hidden] always wins over display:flex / display:grid rules below */
[hidden] { display: none !important; }

/* ── Diagnostic page wrapper ──────────────────────────────────── */
.skg-diagnostic-wrap {
	max-width: 860px;
	margin: 0 auto;
	padding: 0 0;
	font-family: 'Instrument Sans', 'Roboto', sans-serif;
	overflow-x: hidden; /* prevent horizontal scroll from .skg-results negative margin */
}

/* ── Hero ─────────────────────────────────────────────────────── */
.skg-hero {
	text-align: center;
	padding: 40px 24px 32px;
	background: var(--skg-bg-light);
	border-radius: 16px;
	margin-bottom: 32px;
}

.skg-hero__title {
	font-family: 'Fraunces', serif;
	font-size: clamp(30px, 5.5vw, 52px);
	font-weight: 400;
	color: var(--skg-text);
	margin: 0 0 20px;
	line-height: 1.15;
	letter-spacing: -.01em;
}

/* The theme highlights key words in brand colour — we replicate it */
.skg-hero__title em,
.skg-hero__title strong {
	font-style: normal;
	font-weight: inherit;
	color: var(--skg-teal);
}

.skg-hero__lede {
	font-size: 17px;
	color: var(--skg-muted);
	max-width: 520px;
	margin: 0 auto;
	line-height: 1.65;
	font-family: 'Instrument Sans', 'Roboto', sans-serif;
}

/* Feature bullets */
.skg-hero__features {
	list-style: none;
	padding: 0;
	margin: 16px 0 24px;
	display: inline-flex;
	flex-wrap: wrap;
	gap: 10px 24px;
	justify-content: center;
}

.skg-hero__features li {
	font-size: 14px;
	color: var(--skg-text);
	display: flex;
	align-items: center;
	gap: 8px;
	font-family: 'Instrument Sans', 'Roboto', sans-serif;
}

/* Outlined circle checkmark — matches theme icon style */
.skg-hero__features li::before {
	content: '';
	display: inline-flex;
	width: 20px;
	height: 20px;
	min-width: 20px;
	border: 2px solid var(--skg-teal);
	border-radius: 50%;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10' fill='none'%3E%3Cpath d='M1 5l3.5 3.5L11 1' stroke='%2322a4d3' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* ── Welcome-back panel ───────────────────────────────────────── */
.skg-welcome-back {
	margin-top: 8px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
}

.skg-welcome-back__greeting {
	font-size: 17px;
	color: var(--skg-text);
	margin: 0;
	font-family: 'Instrument Sans', 'Roboto', sans-serif;
}

.skg-welcome-back__error {
	font-size: 13px;
	color: #c0222c;
	margin: 0;
	font-family: 'Instrument Sans', 'Roboto', sans-serif;
}

.skg-welcome-back__actions {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	justify-content: center;
}

.skg-welcome-back__not-you {
	background: none;
	border: none;
	color: var(--skg-muted);
	font-family: 'Instrument Sans', 'Roboto', sans-serif;
	font-size: 13px;
	cursor: pointer;
	text-decoration: underline;
	padding: 0;
}

.skg-welcome-back__not-you:hover {
	color: var(--skg-text);
}

/* ── Buttons ──────────────────────────────────────────────────── */
.skg-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 15px 36px;
	border: none;
	border-radius: var(--skg-radius);
	font-size: 16px;
	font-weight: 600;
	font-family: 'Instrument Sans', 'Roboto', sans-serif;
	cursor: pointer;
	text-decoration: none;
	transition: background .18s ease, transform .1s ease, box-shadow .18s ease;
	min-height: 52px;
	line-height: 1;
	letter-spacing: .01em;
}

.skg-btn--primary {
	background: var(--skg-teal);
	color: #fff;
	box-shadow: 0 4px 14px rgba(34,164,211,.30);
}

.skg-btn--primary:hover {
	background: var(--skg-teal-dark);
	box-shadow: 0 6px 20px rgba(34,164,211,.35);
}

.skg-btn--primary:active {
	transform: scale(.98);
}

.skg-btn--secondary {
	background: var(--skg-bg-white);
	color: var(--skg-teal);
	border: 2px solid var(--skg-teal);
}

.skg-btn--secondary:hover {
	background: var(--skg-bg-light);
}

.skg-btn--full  { width: 100%; }
.skg-btn--large { padding: 14px 32px; font-size: 16px; min-height: 50px; }

.skg-btn:disabled,
.skg-btn[disabled] {
	opacity: .45;
	cursor: not-allowed;
	transform: none;
	box-shadow: none;
}

/* ── Scanner stage ────────────────────────────────────────────── */
.skg-scanner-stage {
	position: relative;
	min-height: 420px;
	margin: 0 0 40px;
}

/* Perfect Corp Camera Kit mount point — full-screen when visible */
#YMK-module:not([hidden]) {
	position: fixed !important;
	inset: 0 !important;
	width: 100vw !important;
	height: 100dvh !important;
	z-index: 9999 !important;
	border-radius: 0 !important;
	background: #000 !important;
	transform: none !important;
}

.skg-scanner-instruction {
	text-align: center;
	font-size: 14px;
	color: var(--skg-muted);
	margin: 0 0 6px;
	font-family: 'Instrument Sans', 'Roboto', sans-serif;
}

.skg-scanner-requirement {
	text-align: center;
	font-size: 12px;
	color: var(--skg-muted-light);
	margin: 0 0 14px;
	font-family: 'Instrument Sans', 'Roboto', sans-serif;
}

/* ── Pre-scan instructions ────────────────────────────────────── */
.skg-preflight {
	max-width: 520px;
	margin: 0 auto 24px;
	padding: 0;
}

.skg-preflight__title {
	font-family: 'Fraunces', serif;
	font-size: clamp(20px, 4vw, 26px);
	font-weight: 400;
	color: var(--skg-text);
	text-align: center;
	margin: 0 0 8px;
	line-height: 1.25;
}

.skg-preflight__subtitle {
	font-family: 'Instrument Sans', 'Roboto', sans-serif;
	font-size: 14px;
	color: var(--skg-muted);
	text-align: center;
	margin: 0 0 20px;
	line-height: 1.5;
}

.skg-preflight .skg-preflight__list {
	list-style: none;
	padding: 0;
	margin: 0 0 16px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.skg-preflight__item {
	display: flex;
	align-items: center;
	gap: 16px;
	background: var(--skg-bg-light);
	border: 1px solid var(--skg-border);
	border-radius: 10px;
	padding: 16px;
}

.skg-preflight__icon {
	flex-shrink: 0;
	width: 48px;
	height: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--skg-teal);
}

.skg-preflight__icon svg {
	width: 100%;
	height: 100%;
}

.skg-preflight__text {
	font-family: 'Instrument Sans', 'Roboto', sans-serif;
	font-size: 14px;
	color: var(--skg-text);
	line-height: 1.5;
}

/* ── Capture preview ──────────────────────────────────────────── */
.skg-capture-preview {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
	padding: 32px 24px;
	background: var(--skg-bg-white);
	border: 1.5px solid var(--skg-border);
	border-radius: 12px;
}

.skg-capture-preview__img {
	width: 100%;
	max-width: 360px;
	aspect-ratio: 3 / 4;
	object-fit: cover;
	border-radius: 10px;
	display: block;
}

.skg-capture-preview__label {
	font-family: 'Fraunces', serif;
	font-size: 18px;
	font-weight: 400;
	color: var(--skg-text);
	text-align: center;
	margin: 0;
}

.skg-capture-preview__actions {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	justify-content: center;
	width: 100%;
}

.skg-capture-preview__actions .skg-btn {
	flex: 1;
	min-width: 140px;
}

/* ── Analyzing overlay ────────────────────────────────────────── */
.skg-analyzing {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 24px;
	padding: 64px 32px;
	background: var(--skg-bg-light);
	border-radius: 12px;
}

.skg-spinner {
	width: 56px;
	height: 56px;
	border: 4px solid #d4e4ea;
	border-top-color: var(--skg-teal);
	border-radius: 50%;
	animation: skg-spin .85s linear infinite;
}

@keyframes skg-spin { to { transform: rotate(360deg); } }

.skg-analyzing__text {
	font-family: 'Fraunces', serif;
	font-size: 20px;
	font-weight: 400;
	color: var(--skg-text);
	margin: 0;
}

.skg-progress-wrap {
	width: 100%;
	max-width: 300px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
}

.skg-progress-bar {
	width: 100%;
	height: 6px;
	background: rgba(34,164,211,.18);
	border-radius: 100px;
	overflow: hidden;
}

.skg-progress-bar__fill {
	height: 100%;
	width: 0%;
	background: var(--skg-teal);
	border-radius: 100px;
}

.skg-progress-label {
	font-family: 'Instrument Sans', 'Roboto', sans-serif;
	font-size: 13px;
	color: var(--skg-muted);
	margin: 0;
	text-align: center;
}

/* ── Results ──────────────────────────────────────────────────── */
.skg-results { padding: 40px 0; }

.skg-results__title {
	font-family: 'Fraunces', serif;
	font-size: clamp(24px, 4vw, 36px);
	font-weight: 400;
	color: var(--skg-text);
	margin: 0 0 12px;
	text-align: center;
}

.skg-results__intro {
	font-size: 15px;
	color: var(--skg-muted);
	text-align: center;
	margin: 0 auto 36px;
	max-width: 520px;
	line-height: 1.65;
	font-family: 'Instrument Sans', 'Roboto', sans-serif;
}

/* Concern cards */
.skg-concerns {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 16px;
	margin-bottom: 32px;
}

.skg-concern-card {
	background: var(--skg-bg-white);
	border: 1.5px solid var(--skg-border);
	border-radius: 4px;
	transition: border-color .18s, box-shadow .18s;
}

.skg-concern-card--primary {
	/* border-color: var(--skg-teal); */
}

.skg-concern-card__badge {
	display: inline-block;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .08em;
	padding: 3px 10px;
	border-radius: 100px;
	margin-bottom: 12px;
	font-family: 'Instrument Sans', 'Roboto', sans-serif;
}

.skg-concern-card--primary .skg-concern-card__badge {
	background: rgba(34,164,211,.12);
	color: var(--skg-teal);
}

.skg-concern-card--secondary .skg-concern-card__badge {
	background: #f0f0ee;
	color: var(--skg-muted);
}

.skg-concern-card__name {
	font-family: 'Fraunces', serif;
	font-size: 22px;
	font-weight: 400;
	color: var(--skg-text);
	margin: 0;
}

/* Focus prompt */
.skg-focus-prompt {
	text-align: center;
	padding: 32px;
	background: var(--skg-bg-light);
	border-radius: 12px;
	margin-bottom: 28px;
}

.skg-focus-prompt__label {
	font-family: 'Fraunces', serif;
	font-size: 18px;
	font-weight: 400;
	color: var(--skg-text);
	margin: 0 0 20px;
}

.skg-focus-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: center;
}

.skg-focus-btn {
	padding: 13px 32px;
	border: 2px solid var(--skg-teal);
	border-radius: 100px;
	background: transparent;
	color: var(--skg-teal);
	font-size: 15px;
	font-weight: 600;
	font-family: 'Instrument Sans', 'Roboto', sans-serif;
	cursor: pointer;
	transition: background .18s, color .18s;
	min-height: 48px;
}

.skg-focus-btn:hover,
.skg-focus-btn.skg-selected {
	background: var(--skg-teal);
	color: #fff;
}

/* Protocol preview */
.skg-protocol-preview {
	background: var(--skg-bg-white);
	border: 1.5px solid var(--skg-border);
	border-radius: 12px;
}

.skg-protocol-preview h3 {
	font-family: 'Fraunces', serif;
	font-size: 20px;
	font-weight: 400;
	color: var(--skg-text);
	margin: 0 0 12px;
}

/* ── Maintenance notice ───────────────────────────────────────── */
.skg-maintenance {
	background: #fff7ed;
	border: 1px solid #fed7aa;
	border-radius: var(--skg-radius);
	padding: 16px 20px;
	color: #92400e;
	font-size: 14px;
	text-align: center;
	font-family: 'Instrument Sans', 'Roboto', sans-serif;
}

/* ── Desktop notice banner ────────────────────────────────────── */
.skg-desktop-notice {
	background: #fff7ed;
	border: 1px solid #fed7aa;
	border-radius: var(--skg-radius);
	padding: 14px 20px;
	color: #92400e;
	font-size: 14px;
	text-align: center;
	margin-bottom: 20px;
	font-family: 'Instrument Sans', 'Roboto', sans-serif;
	line-height: 1.5;
}

.skg-desktop-notice p { margin: 0; }

/* ── Skin age display ─────────────────────────────────────────── */
.skg-skin-age {
	text-align: center;
	font-family: 'Instrument Sans', 'Roboto', sans-serif;
	font-size: 15px;
	color: var(--skg-muted);
	margin: 0 0 28px;
}

/* ── Concern tab switcher ─────────────────────────────────────── */
.skg-concern-tabs {
	display: flex;
	flex-wrap: nowrap;
	gap: 10px;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	padding-bottom: 4px;
	margin-bottom: 24px;
}

.skg-concern-tabs::-webkit-scrollbar { display: none; }

.skg-concern-tab {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 11px 20px;
	border: 2px solid var(--skg-teal);
	border-radius: 100px;
	background: transparent;
	color: var(--skg-teal);
	font-family: 'Instrument Sans', 'Roboto', sans-serif;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: background .18s, color .18s, border-color .18s;
	min-height: 46px;
	flex-shrink: 0;
	white-space: nowrap;
}

.skg-concern-tab:not(.skg-concern-tab--active):hover {
	background: var(--skg-bg-light);
}

.skg-concern-tab--active {
	background: var(--skg-teal);
	color: #fff;
}

/* Priority 1 & 2 tabs — slightly stronger border when inactive */
.skg-concern-tab--priority-1:not(.skg-concern-tab--active),
.skg-concern-tab--priority-2:not(.skg-concern-tab--active) {
	border-color: var(--skg-teal-dark);
}

.skg-concern-tab--priority-1.skg-concern-tab--active {
	background: var(--skg-teal-dark);
	border-color: var(--skg-teal-dark);
}

/* Rank badge (1 or 2) inside priority tabs */
.skg-concern-tab__rank {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	font-size: 11px;
	font-weight: 700;
	flex-shrink: 0;
	background: rgba(255,255,255,.3);
	color: inherit;
}

.skg-concern-tab:not(.skg-concern-tab--active) .skg-concern-tab__rank {
	background: rgba(34,164,211,.15);
	color: var(--skg-teal-dark);
}

.skg-concern-tab__label {
	font-weight: 600;
}

.skg-concern-tab__score {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	font-size: 12px;
	font-weight: 700;
	flex-shrink: 0;
}

.skg-concern-tab--active .skg-concern-tab__score {
	background: rgba(255,255,255,.22);
	color: #fff;
}

.skg-concern-tab:not(.skg-concern-tab--active) .skg-concern-tab__score {
	background: rgba(34,164,211,.12);
	color: var(--skg-teal);
}

/* ── Mask display area ────────────────────────────────────────── */
.skg-mask-display {
	margin-bottom: 32px;
}

.skg-mask-display__empty {
	text-align: center;
	color: var(--skg-muted);
	font-size: 14px;
	font-family: 'Instrument Sans', 'Roboto', sans-serif;
	padding: 32px;
}

/* ── Mask image grid ──────────────────────────────────────────── */
.skg-mask-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 16px;
}

/* Single mask — full width, portrait ratio */
.skg-mask-grid:not(.skg-mask-grid--scroll) .skg-mask-cell__img {
	width: 100%;
	max-width: 480px;
	margin: 0 auto;
	display: block;
	border-radius: 12px;
	object-fit: cover;
}

/* Multiple masks — horizontal scrollable strip */
.skg-mask-grid--scroll {
	display: flex;
	flex-direction: row;
	overflow-x: auto;
	gap: 12px;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	padding-bottom: 4px;
}

.skg-mask-grid--scroll::-webkit-scrollbar { display: none; }

.skg-mask-grid--scroll .skg-mask-cell {
	flex: 0 0 240px;
}

.skg-mask-cell {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
}

.skg-mask-cell__img {
	width: 100%;
	border-radius: 10px;
	object-fit: cover;
	display: block;
	background: var(--skg-bg-light);
}

.skg-mask-cell__label {
	font-family: 'Instrument Sans', 'Roboto', sans-serif;
	font-size: 13px;
	color: var(--skg-muted);
	text-align: center;
	margin: 0;
	text-transform: capitalize;
}

/* ── Thank-you page additions ─────────────────────────────────── */
.skg-thankyou { margin-top: 28px; }
.skg-downloads { display: flex; flex-wrap: wrap; gap: 12px; margin: 20px 0; }
.skg-email-note { font-size: 13px; color: var(--skg-muted); }

/* ================================================================
   RESULTS — IMMERSIVE VIEWER
   Replaces the old card/tab layout with a full-width mask viewer
   + horizontal concern pill strip.
   ================================================================ */

/* ── Results section reset ──────────────────────────────────────── */
.skg-results {
	padding: 0;
	margin: 0 -16px;
	background: var(--skg-bg-white);
}

/* ── Report grid ─────────────────────────────────────────────────── */
.skg-report-grid {
	display: flex;
	flex-direction: column;
	min-height: 0;
}

/* ── Report header ───────────────────────────────────────────────── */
.skg-report-header {
	padding: 24px 20px 20px;
	background: var(--skg-bg-white);
	border-bottom: 1px solid var(--skg-border);
}

.skg-report-header__title {
	font-family: 'Fraunces', serif;
	font-size: 18px;
	font-weight: 600;
	color: var(--skg-text);
	margin: 0 0 16px;
	letter-spacing: -.01em;
}

.skg-report-metrics {
	display: flex;
	gap: 24px;
	flex-wrap: wrap;
	align-items: flex-start;
	margin-top: 16px;
	padding-top: 16px;
	border-top: 1px solid var(--skg-border);
}

.skg-report-metric {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.skg-report-metric__lbl {
	font-size: 10px;
	font-weight: 700;
	color: var(--skg-muted);
	text-transform: uppercase;
	letter-spacing: .06em;
}

.skg-report-metric__val {
	font-family: 'Fraunces', serif;
	font-size: 40px;
	font-weight: 700;
	color: var(--skg-teal-dark);
	line-height: 1;
}

.skg-report-metric__val--sm {
	font-size: 26px;
}

/* Overall skin score severity bar (header) */
.skg-overall-score-section {
	margin: 0 0 16px;
}

.skg-overall-score__title {
	font-family: 'Fraunces', serif;
	font-size: 16px;
	font-weight: 700;
	color: var(--skg-text);
	margin-bottom: 4px;
}

.skg-overall-score__status {
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .04em;
	margin-bottom: 6px;
}

/* Skin age interpretation guide */
.skg-skin-age-info {
	margin: 14px 0 0;
	padding: 12px 14px;
	background: var(--skg-bg-light);
	border-left: 3px solid var(--skg-border);
	border-radius: 0 6px 6px 0;
}

.skg-skin-age-info__item {
	font-size: 12px;
	line-height: 1.55;
	color: var(--skg-muted);
	margin: 0;
}

.skg-skin-age-info__item + .skg-skin-age-info__item {
	margin-top: 8px;
}

.skg-skin-age-info__condition {
	font-weight: 700;
	color: var(--skg-text);
}

/* Overall score / skin age interpretation text */
.skg-report-header__desc {
	font-size: 13px;
	line-height: 1.6;
	color: var(--skg-muted);
	margin: 14px 0 0;
	padding-top: 14px;
	border-top: 1px solid var(--skg-border);
}

.skg-report-metric__desc {
	font-size: 11px;
	line-height: 1.5;
	color: var(--skg-muted);
	margin: 4px 0 0;
	font-style: italic;
}

/* ── Radar chart ─────────────────────────────────────────────────── */
.skg-radar-wrap {
	padding: 20px;
	background: var(--skg-bg-light);
	border-bottom: 1px solid var(--skg-border);
}

.skg-radar-wrap svg {
	display: block;
	margin: 0 auto;
	max-width: 280px;
	width: 100%;
}

/* ── Concern cards ───────────────────────────────────────────────── */
.skg-concern-cards {
	display: flex;
	flex-direction: column;
	gap: 18px;
	padding: 18px;
	background: var(--skg-bg-light);
}

/* Each card: white + teal border + rounded, matching reference */
.skg-concern-card {
	border-radius: 16px;
	overflow: hidden;
	background: #fff;
	border: 3px solid #cde8ef;
	box-shadow: 0 4px 16px rgba(0,0,0,.06);
}

/* ── Top section ─────────────────────────────────────────────────── */
.skg-card__top {
	padding: 18px 20px 16px;
	background: #f7f7f7;
	display: flex;
	gap: 18px;
	align-items: center;
}

.skg-card__img-wrap {
	flex-shrink: 0;
	width: 100px;
	height: 100px;
	border-radius: 10px;
	overflow: hidden;
	background: var(--skg-bg-light);
}

.skg-card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.skg-card__content {
	flex: 1;
	min-width: 0;
}

/* Concern name */
.skg-card__name {
	font-size: 20px;
	font-weight: 700;
	color: #111;
	line-height: 1.1;
	margin: 0 0 3px;
	font-family: 'Instrument Sans', 'Roboto', sans-serif;
}

/* Priority badge (1st / 2nd) — shown before status line */
.skg-card__priority-badge {
	display: inline-block;
	font-size: 10px;
	font-weight: 700;
	color: var(--skg-teal-dark);
	background: rgba(34,164,211,.12);
	border-radius: 100px;
	padding: 2px 8px;
	margin-bottom: 4px;
}

.skg-concern-card--priority-1 .skg-card__priority-badge {
	background: var(--skg-teal);
	color: #fff;
}

/* Severity text (e.g. "Average") */
.skg-card__status {
	font-size: 14px;
	font-weight: 500;
	font-family: 'Instrument Sans', 'Roboto', sans-serif;
}

/* ── Score wrapper ────────────────────────────────────────────────── */
/* Relative so the absolute pointer can float above the bar */
.skg-card__score-wrap {
	position: relative;
	padding-top: 48px; /* vertical room for the pointer bubble */
}

/* Floating pointer: positioned at score% */
.skg-card__pointer {
	position: absolute;
	top: 0;
	transform: translate(-50%, 0);
	display: flex;
	flex-direction: column;
	align-items: center;
	z-index: 2;
}

/* Score bubble (circle) */
.skg-card__bubble {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--skg-teal);
	color: #fff;
	display: flex;
	justify-content: center;
	align-items: center;
	font-family: 'Instrument Sans', 'Roboto', sans-serif;
	font-size: 18px;
	font-weight: 700;
	box-shadow: 0 4px 14px rgba(34,164,211,.38);
}

/* Downward triangle caret below the bubble */
.skg-card__triangle {
	width: 0;
	height: 0;
	border-left: 8px solid transparent;
	border-right: 8px solid transparent;
	border-top: 10px solid var(--skg-teal);
	margin-top: -1px;
}

/* "0" and "100" axis labels */
.skg-card__axis-labels {
	display: flex;
	justify-content: space-between;
	color: #7c84a0;
	font-family: 'Instrument Sans', 'Roboto', sans-serif;
	font-size: 11px;
	font-weight: 500;
	margin-bottom: 6px;
	padding: 0 2px;
}

/* Two-tone progress bar — gradient set dynamically by JS */
.skg-card__track {
	height: 10px;
	border-radius: 999px;
}

/* Range labels: Poor / Average / Great */
.skg-card__range-labels {
	margin-top: 10px;
	display: flex;
	justify-content: space-between;
	color: #8a90a8;
	font-family: 'Instrument Sans', 'Roboto', sans-serif;
	font-size: 10px;
	font-weight: 500;
	padding: 0 2px;
}

.skg-card__range-labels .skg-cat--active {
	color: var(--skg-text);
	font-weight: 700;
}

/* ── Bottom section: description ────────────────────────────────── */
.skg-card__bottom {
	background: #d8edf3;
	padding: 16px 20px 20px;
}

.skg-card__desc {
	font-size: 15px;
	line-height: 1.6;
	color: #4f556d;
	font-weight: 500;
	margin: 0;
	font-family: 'Instrument Sans', 'Roboto', sans-serif;
}

/* ── Right viewer panel ──────────────────────────────────────────── */
/* Mobile: viewer + tabs sit above the card list */
.skg-report-right {
	background: var(--skg-dark);
	order: -1;
	overflow: hidden;  /* prevent tab strip or viewer from blowing out width */
	max-width: 100%;
}

.skg-report-right .skg-region-strip {
	background: var(--skg-dark);
}

/* ── Mask viewer ────────────────────────────────────────────────── */
.skg-viewer {
	position: relative;
	width: 100%;
	height: 65vh;
	height: 65dvh;
	min-height: 320px;
	max-height: 680px;
	overflow: hidden;
	background: #111;
}

.skg-viewer__img-wrap {
	width: 100%;
	height: 100%;
	transform-origin: center center;
	transition: transform .22s ease;
}

.skg-viewer__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: opacity .3s ease;
}

/* Concern label — top right */
.skg-viewer__label {
	position: absolute;
	top: 14px;
	right:30px;
	background: var(--skg-teal);
	color: #fff;
	font-family: 'Instrument Sans', 'Roboto', sans-serif;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	padding: 5px 14px;
	border-radius: 100px;
	pointer-events: none;
	z-index: 3;
	box-shadow: 0 2px 8px rgba(0,0,0,.35);
}

/* Zoom controls — right edge */
.skg-zoom {
	position: absolute;
	right: 30px;
	bottom: 30px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	z-index: 3;
}

.skg-zoom__btn {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: rgba(255,255,255,.88);
	border: none;
	font-size: 22px;
	font-weight: 300;
	color: var(--skg-dark);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
	box-shadow: 0 2px 10px rgba(0,0,0,.30);
	transition: background .14s, transform .1s;
}

.skg-zoom__btn:active {
	background: #fff;
	transform: scale(.93);
}

.skg-zoom__btn:disabled {
	opacity: .35;
	cursor: default;
	transform: none;
}

/* Skin age badge — bottom left */
.skg-age-badge {
	position: absolute;
	bottom: 18px;
	left: 18px;
	z-index: 3;
	pointer-events: none;
}

.skg-age-badge__lbl {
	display: block;
	font-family: 'Instrument Sans', 'Roboto', sans-serif;
	font-size: 11px;
	font-weight: 600;
	color: rgba(255,255,255,.75);
	letter-spacing: .04em;
	text-transform: uppercase;
	line-height: 1.3;
	text-shadow: 0 1px 4px rgba(0,0,0,.55);
}

.skg-age-badge__val {
	display: block;
	font-family: 'Fraunces', serif;
	font-size: 52px;
	font-weight: 700;
	color: #fff;
	line-height: 1;
	text-shadow: 0 2px 10px rgba(0,0,0,.5);
}

/* ── Concern tab strip ──────────────────────────────────────────── */
.skg-results .skg-concern-tabs {
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	gap: 6px;
	padding: 18px 16px 14px;
	background: var(--skg-dark);
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	margin: 0;
}

.skg-results .skg-concern-tabs::-webkit-scrollbar { display: none; }

@media (min-width: 860px) {
	.skg-results .skg-concern-tabs {
		justify-content: center;
		flex-wrap: wrap;
	}
}

/* Tab button — no pill border; only the circle is the visual element */
.skg-results .skg-concern-tab {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 7px;
	padding: 0;
	border: none;
	border-radius: 0;
	background: transparent;
	color: rgba(255,255,255,.55);
	cursor: pointer;
	transition: color .18s;
	min-width: 56px;
	flex-shrink: 0;
	white-space: nowrap;
	min-height: unset;
}

.skg-results .skg-concern-tab:hover:not(.skg-concern-tab--active) {
	color: rgba(255,255,255,.85);
}

.skg-results .skg-concern-tab--active {
	color: #fff;
}

/* Score circle — the interactive visual element */
.skg-results .skg-concern-tab__score {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	font-size: 15px;
	font-weight: 700;
	border: 2px solid rgba(255,255,255,.22);
	background: rgba(255,255,255,.08);
	color: rgba(255,255,255,.65);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background .18s, border-color .18s, color .18s;
}

.skg-results .skg-concern-tab:hover:not(.skg-concern-tab--active) .skg-concern-tab__score {
	background: rgba(255,255,255,.15);
	border-color: rgba(255,255,255,.4);
	color: #fff;
}

.skg-results .skg-concern-tab--active .skg-concern-tab__score {
	background: var(--skg-teal);
	border-color: var(--skg-teal);
	color: #fff;
}

/* Label sits beneath the circle */
.skg-results .skg-concern-tab__label {
	font-size: 10px;
	font-weight: 600;
	letter-spacing: .03em;
	text-align: center;
	max-width: 64px;
	white-space: normal;
	line-height: 1.3;
}

/* Hide the rank badge in this layout */
.skg-results .skg-concern-tab__rank { display: none; }

/* ── Region sub-strip ───────────────────────────────────────────── */
.skg-region-strip {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 8px;
	padding: 10px 16px;
	background: rgba(0,0,0,.6);
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
}

.skg-region-strip::-webkit-scrollbar { display: none; }

.skg-region-pill {
	padding: 7px 16px;
	border-radius: 100px;
	border: 1.5px solid rgba(255,255,255,.22);
	background: rgba(255,255,255,.06);
	color: rgba(255,255,255,.65);
	font-family: 'Instrument Sans', 'Roboto', sans-serif;
	font-size: 12px;
	font-weight: 600;
	cursor: pointer;
	transition: background .15s, border-color .15s, color .15s;
	flex-shrink: 0;
	text-transform: capitalize;
	min-height: 36px;
}

.skg-region-pill--active,
.skg-region-pill:hover {
	background: var(--skg-teal);
	border-color: var(--skg-teal);
	color: #fff;
}

/* ── Focus prompt — inside results wrapper ──────────────────────── */
.skg-results .skg-focus-prompt {
	margin: 0;
	border-radius: 0;
	border-top: 1px solid var(--skg-border);
}

/* ── Protocol preview — inside results wrapper ──────────────────── */
.skg-results .skg-protocol-preview {
	border-radius: 0;
	border-top: 1px solid var(--skg-border);
}

/* ── Mode selection buttons (HD / SD) ───────────────────────────── */
.skg-mode-buttons {
	display: flex;
	flex-direction: row;
	gap: 12px;
	justify-content: center;
	margin-top: 8px;
}

.skg-mode-btn {
	flex: 1;
	max-width: 220px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	padding: 18px 16px;
	border-radius: var(--skg-radius);
	border: 2px solid var(--skg-border);
	background: var(--skg-bg-white);
	cursor: pointer;
	transition: border-color .18s, box-shadow .18s, background .18s;
	font-family: 'Instrument Sans', 'Roboto', sans-serif;
	text-align: center;
}

.skg-mode-btn:hover,
.skg-mode-btn:focus-visible {
	border-color: var(--skg-teal);
	background: var(--skg-teal);
	box-shadow: 0 0 0 3px rgba(34,164,211,.18);
	outline: none;
}

/* White title + sub on hover (against the teal fill). */
.skg-mode-btn:hover .skg-mode-btn__title,
.skg-mode-btn:focus-visible .skg-mode-btn__title,
.skg-mode-btn:hover .skg-mode-btn__sub,
.skg-mode-btn:focus-visible .skg-mode-btn__sub {
	color: #fff;
}

.skg-mode-btn--hd {
	border-color: var(--skg-teal);
}

/* SD "Start Scan" button — solid teal fill to match the primary CTA. */
.skg-mode-btn--sd {
	background: var(--skg-teal);
	border-color: var(--skg-teal);
	box-shadow: 0 4px 14px rgba(34,164,211,.30);
}

.skg-mode-btn--sd .skg-mode-btn__title,
.skg-mode-btn--sd .skg-mode-btn__sub {
	color: #fff;
}

.skg-mode-btn--sd:hover,
.skg-mode-btn--sd:focus-visible {
	background: var(--skg-teal-dark);
	border-color: var(--skg-teal-dark);
}

.skg-mode-btn__title {
	display: block;
	font-size: 15px;
	font-weight: 700;
	color: var(--skg-teal-dark);
}

.skg-mode-btn__sub {
	display: block;
	font-size: 12px;
	color: var(--skg-muted);
	font-weight: 400;
	line-height: 1.3;
}

@media (max-width: 480px) {
	/* Vertically centre the landing (hero) in the viewport on mobile. Uses
	   min-height so tall views (results) simply grow and top-align instead of
	   being clipped. */
	.skg-diagnostic-wrap {
		display: flex;
		flex-direction: column;
		justify-content: center;
		min-height: 100vh;
		min-height: 100svh;
	}

	/* Keep the hero card and its content centred on mobile (override theme). */
	.skg-diagnostic-wrap .skg-hero {
		text-align: center;
		width: 100%;
	}
	.skg-diagnostic-wrap .skg-hero__inner {
		margin-left: auto;
		margin-right: auto;
	}
	.skg-diagnostic-wrap .skg-hero__title,
	.skg-diagnostic-wrap .skg-hero__lede {
		text-align: center;
		margin-left: auto;
		margin-right: auto;
	}
	.skg-diagnostic-wrap .skg-hero__features {
		justify-content: center;
	}

	.skg-mode-buttons {
		flex-direction: column;
		align-items: stretch;
	}
	.skg-mode-btn {
		max-width: none;
		flex-direction: row;
		justify-content: center;
		gap: 10px;
	}
}

/* ── Skin type badge (SD scans only) ────────────────────────────── */
.skg-skin-type-badge {
	position: absolute;
	bottom: 18px;
	right: 18px;
	z-index: 3;
	pointer-events: none;
	text-align: right;
}

.skg-skin-type-badge__lbl {
	display: block;
	font-family: 'Instrument Sans', 'Roboto', sans-serif;
	font-size: 11px;
	font-weight: 600;
	color: rgba(255,255,255,.75);
	letter-spacing: .04em;
	text-transform: uppercase;
	line-height: 1.3;
	text-shadow: 0 1px 4px rgba(0,0,0,.55);
}

.skg-skin-type-badge__val {
	display: block;
	font-family: 'Fraunces', serif;
	font-size: 32px;
	font-weight: 700;
	color: #fff;
	line-height: 1.1;
	text-shadow: 0 2px 10px rgba(0,0,0,.5);
}

/* ── Re-scan wrap ───────────────────────────────────────────────── */
.skg-rescan-wrap {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	padding: 28px 24px;
	border-top: 1px solid var(--skg-border);
	text-align: center;
}

.skg-rescan-note {
	margin: 0;
	font-size: 14px;
	color: var(--skg-muted);
}

.skg-rescan-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 22px;
	border-radius: var(--skg-radius);
	border: 1.5px solid var(--skg-accent, #1ba7d4);
	background: var(--skg-accent, #1ba7d4);
	color: #fff;
	font-family: 'Instrument Sans', 'Roboto', sans-serif;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
}

.skg-rescan-btn:disabled {
	border-color: var(--skg-border);
	background: var(--skg-bg-white);
	color: var(--skg-muted);
	cursor: not-allowed;
	opacity: .65;
}

/* ═══════════════════════════════════════════════════════════════════
   Re-scan progress report
   ═══════════════════════════════════════════════════════════════════ */

.skg-progress {
	margin: 20px;
}

.skg-progress__toggle {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 9px 18px;
	border-radius: var(--skg-radius);
	border: 1.5px solid var(--skg-accent, #1ba7d4);
	background: var(--skg-bg-white);
	color: var(--skg-accent, #1ba7d4);
	font-family: 'Instrument Sans', 'Roboto', sans-serif;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
}

.skg-progress__panel {
	margin-top: 12px;
	padding: 16px 18px;
	background: var(--skg-bg-white);
	border: 1px solid var(--skg-border);
	border-radius: 12px;
}

.skg-progress__head {
	margin: 0 0 4px;
	font-size: 13px;
	color: var(--skg-muted);
}

.skg-progress__summary {
	margin: 0 0 12px;
	font-size: 15px;
	font-weight: 600;
	color: var(--skg-text, #272527);
}

.skg-progress__row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	padding: 8px 0;
	border-top: 1px solid var(--skg-border);
	font-size: 14px;
}

.skg-progress__name {
	color: var(--skg-text, #272527);
}

.skg-progress__val {
	font-variant-numeric: tabular-nums;
	font-weight: 600;
}

.skg-progress__row--improved .skg-progress__val { color: #1a9d57; }
.skg-progress__row--declined .skg-progress__val { color: #c0392b; }
.skg-progress__row--stable   .skg-progress__val { color: var(--skg-muted); }

/* ═══════════════════════════════════════════════════════════════════
   Protocol preview
   ═══════════════════════════════════════════════════════════════════ */

.skg-protocol-block {
	background: var(--skg-bg-white);
	border: 1px solid var(--skg-border);
	border-radius: 12px;
	margin: 20px;
	overflow: hidden;
}

/* Header */
.skg-protocol-header {
	align-items: center;
	background: var(--skg-bg-light);
	border-bottom: 1px solid var(--skg-border);
	display: flex;
	gap: 10px;
	padding: 16px 20px;
}

.skg-protocol-title {
	color: var(--skg-text);
	font-family: 'Fraunces', serif;
	font-size: 17px;
	font-weight: 700;
	margin: 0;
}

.skg-protocol-badge {
	background: var(--skg-teal);
	border-radius: 100px;
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .04em;
	padding: 3px 10px;
	text-transform: uppercase;
}

/* Video link */
.skg-protocol-video {
	border-bottom: 1px solid var(--skg-border);
	padding: 12px 20px;
}

.skg-protocol-video__link {
	align-items: center;
	color: var(--skg-teal-dark);
	display: inline-flex;
	font-size: 13px;
	font-weight: 600;
	gap: 8px;
	text-decoration: none;
}
.skg-protocol-video__link:hover { text-decoration: underline; }

.skg-protocol-video__icon {
	background: var(--skg-teal);
	border-radius: 50%;
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 10px;
	height: 28px;
	width: 28px;
	flex-shrink: 0;
}

.skg-protocol-video__label {
	align-items: center;
	color: var(--skg-teal-dark);
	display: flex;
	font-size: 13px;
	font-weight: 600;
	gap: 8px;
	margin: 0 0 10px;
}

.skg-protocol-video__player {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	background: #000;
	border-radius: 10px;
	overflow: hidden;
}

.skg-protocol-video__player iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.skg-protocol-video__desc {
	color: var(--skg-muted, #666);
	font-size: 12px;
	line-height: 1.55;
	margin: 8px 0 0;
}

/* Empty protocol state */
.skg-protocol-block--empty { opacity: .85; }
.skg-protocol-empty-msg {
	color: var(--skg-muted, #666);
	font-size: 14px;
	line-height: 1.6;
	margin: 0;
	padding: 20px;
}

/* Booking CTA */
.skg-protocol-booking {
	padding: 20px;
	text-align: center;
}

.skg-protocol-booking__btn {
	background: var(--skg-teal);
	border-radius: 8px;
	color: #fff;
	display: inline-block;
	font-size: 15px;
	font-weight: 700;
	padding: 14px 28px;
	text-decoration: none;
	transition: background .15s;
}
.skg-protocol-booking__btn:hover { background: var(--skg-teal-dark); color: #fff; }

/* Product sections */
.skg-protocol-section {
	border-bottom: 1px solid var(--skg-border);
	padding: 16px 20px;
}
.skg-protocol-section:last-child { border-bottom: none; }

.skg-protocol-section--full { background: #f9feff; }

.skg-protocol-section__title {
	align-items: center;
	color: var(--skg-text);
	display: flex;
	font-family: 'Instrument Sans', 'Roboto', sans-serif;
	font-size: 13px;
	font-weight: 700;
	gap: 8px;
	margin: 0 0 12px;
	text-transform: uppercase;
	letter-spacing: .04em;
}

.skg-discount-badge {
	background: #2e9e5e;
	border-radius: 100px;
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	padding: 2px 8px;
}

/* Product grid */
.skg-product-grid {
	display: grid;
	gap: 12px;
	grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
}

/* Product card */
.skg-product-card {
	background: var(--skg-bg-white);
	border: 1px solid var(--skg-border);
	border-radius: 10px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

.skg-product-card__img-wrap {
	aspect-ratio: 1;
	background: var(--skg-bg-light);
	overflow: hidden;
}
.skg-product-card__img-wrap img {
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.skg-product-card__name {
	color: var(--skg-text);
	font-family: 'Instrument Sans', 'Roboto', sans-serif;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.3;
	margin: 0;
	padding: 8px 10px 4px;
}

.skg-product-card__price {
	color: var(--skg-muted);
	font-size: 12px;
	font-weight: 500;
	padding: 0 10px 6px;
	flex: 1;
}
.skg-product-card__original { color: var(--skg-muted); }
.skg-product-card__discounted { color: #2e9e5e; font-weight: 700; }

.skg-product-card__cart-btn {
	background: var(--skg-teal);
	border-top: 1px solid var(--skg-border);
	color: #fff;
	display: block;
	font-size: 12px;
	font-weight: 600;
	padding: 8px;
	text-align: center;
	text-decoration: none;
	transition: background .15s;
}
.skg-product-card__cart-btn:hover { background: var(--skg-teal-dark); color: #fff; }

.skg-add-all-btn {
	display: block;
	width: 100%;
	margin-top: 16px;
	padding: 14px 20px;
	background: var(--skg-dark);
	color: #fff;
	border: none;
	border-radius: var(--skg-radius);
	font-family: inherit;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background .15s, opacity .15s;
}
.skg-add-all-btn:hover { background: #3a3d40; }
.skg-add-all-btn:disabled { opacity: .6; cursor: not-allowed; }

/* ═══════════════════════════════════════════════════════════════════ */

.skg-rescan-btn__tag {
	display: inline-block;
	padding: 2px 8px;
	border-radius: 100px;
	background: var(--skg-bg-light);
	color: var(--skg-muted);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .03em;
	text-transform: uppercase;
}

/* ── Video trigger button ─────────────────────────────────────────── */

.skg-protocol-video__link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: none;
	border: none;
	padding: 0;
	font-family: inherit;
	font-size: 13px;
	font-weight: 600;
	color: var(--skg-accent);
	cursor: pointer;
	text-decoration: underline;
	text-underline-offset: 3px;
}
.skg-protocol-video__link:hover { opacity: .75; }

/* ── Video modal overlay ──────────────────────────────────────────── */

.skg-video-overlay {
	position: fixed;
	inset: 0;
	z-index: 9999;
	background: rgba(0,0,0,.82);
	display: flex;
	align-items: center;
	justify-content: center;
}
.skg-video-box {
	position: relative;
	width: min(90vw, 900px);
	aspect-ratio: 16 / 9;
	background: #000;
	border-radius: var(--skg-radius);
	overflow: hidden;
}
.skg-video-iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: none;
}
.skg-video-close {
	position: absolute;
	top: -36px;
	right: 0;
	z-index: 1;
	background: none;
	border: none;
	color: #fff;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
	padding: 4px 8px;
}
.skg-video-close:hover { opacity: .7; }

/* ── Booking form ─────────────────────────────────────────────────── */

.skg-booking-wrap {
	margin-top: 20px;
	padding: 20px;
	background: var(--skg-bg-light);
	border-radius: var(--skg-radius);
	border: 1px solid var(--skg-border);
}
.skg-booking-heading {
	margin: 0 0 16px;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: var(--skg-dark);
}
.skg-booking-form { display: flex; flex-direction: column; gap: 12px; }
.skg-booking-field { display: flex; flex-direction: column; gap: 4px; }
.skg-booking-label {
	font-size: 12px;
	font-weight: 600;
	color: var(--skg-muted);
	text-transform: uppercase;
	letter-spacing: .04em;
}
.skg-booking-input,
.skg-booking-select,
.skg-booking-textarea {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid var(--skg-border);
	border-radius: var(--skg-radius);
	background: #fff;
	font-family: inherit;
	font-size: 14px;
	color: var(--skg-dark);
	box-sizing: border-box;
	transition: border-color .15s;
}
.skg-booking-input:focus,
.skg-booking-select:focus,
.skg-booking-textarea:focus {
	outline: none;
	border-color: var(--skg-accent);
}
.skg-booking-textarea { resize: vertical; min-height: 70px; }
.skg-booking-error {
	margin: 0;
	font-size: 13px;
	color: #c0392b;
}
.skg-booking-success {
	margin: 0;
	font-size: 14px;
	color: #27ae60;
	font-weight: 600;
}

.skg-booking-date-hint {
	color: var(--skg-muted, #6b7a8d);
	font-size: 11px;
	margin: 2px 0 0;
}

/* ── Time slot picker ──────────────────────────────────── */
.skg-time-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}
.skg-time-slot {
	background: var(--skg-surface, #f4f7fa);
	border: 1px solid var(--skg-border, #dde3ea);
	border-radius: 20px;
	color: var(--skg-text, #1a2634);
	cursor: pointer;
	font-size: 12px;
	padding: 6px 10px;
	white-space: nowrap;
}
.skg-time-slot:hover { border-color: var(--skg-teal, #1ba7d4); color: var(--skg-teal, #1ba7d4); }
.skg-time-slot--selected {
	background: var(--skg-teal, #1ba7d4);
	border-color: var(--skg-teal, #1ba7d4);
	color: #fff;
	font-weight: 600;
}

/* ── Pre-cart intent modal ─────────────────────────────── */
.skg-cart-intent-overlay {
	align-items: center;
	background: rgba(0,0,0,.55);
	bottom: 0;
	display: flex;
	justify-content: center;
	left: 0;
	padding: 20px;
	position: fixed;
	right: 0;
	top: 0;
	z-index: 9999;
}
.skg-cart-intent-box {
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 16px 48px rgba(0,0,0,.18);
	max-width: 420px;
	padding: 32px 28px 24px;
	position: relative;
	width: 100%;
}
.skg-cart-intent-close {
	background: none;
	border: none;
	color: var(--skg-muted, #6b7a8d);
	cursor: pointer;
	font-size: 22px;
	line-height: 1;
	padding: 4px;
	position: absolute;
	right: 14px;
	top: 14px;
}
.skg-cart-intent-close:hover { color: var(--skg-text, #1a2634); }
.skg-cart-intent-heading {
	font-size: 17px;
	font-weight: 700;
	margin: 0 0 6px;
	color: var(--skg-text, #1a2634);
}
.skg-cart-intent-sub {
	color: var(--skg-muted, #6b7a8d);
	font-size: 13px;
	margin: 0 0 20px;
}
.skg-cart-intent-form { display: flex; flex-direction: column; gap: 12px; }
.skg-cart-intent-skip {
	background: none;
	border: none;
	color: var(--skg-muted, #6b7a8d);
	cursor: pointer;
	display: block;
	font-size: 12px;
	margin: 14px auto 0;
	text-decoration: underline;
}
.skg-cart-intent-skip:hover { color: var(--skg-text, #1a2634); }

/* Prevent background scroll when video modal is open */
body.skg-scroll-locked { overflow: hidden; }

/* ── Deposit booking card ──────────────────────────────────────────── */
.skg-deposit-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
	padding: 24px 0 8px;
}

.skg-deposit-card__flier-wrap {
	display: flex;
	justify-content: center;
	width: 100%;
}

.skg-deposit-card__flier {
	display: block;
	width: auto;
	max-width: 100%;
	max-height: 260px;
	object-fit: contain;
	border-radius: 10px;
}

@media ( max-width: 600px ) {
	.skg-deposit-card__flier {
		max-height: none;
		width: 100%;
	}
}

.skg-deposit-card__info {
	display: flex;
	gap: 12px;
	width: 100%;
	padding: 0 20px;
}

.skg-deposit-card__info-col {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	background: #f7f9fb;
	border: 1px solid var(--skg-border, #e4e9f0);
	border-radius: 10px;
	padding: 16px 12px;
}

.skg-deposit-card__info-val {
	font-size: 20px;
	font-weight: 700;
	color: var(--skg-text, #1a2634);
	letter-spacing: -0.3px;
}

.skg-deposit-card__info-lbl {
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--skg-muted, #6b7a8d);
	font-weight: 500;
}

.skg-deposit-card__btn {
	width: calc(100% - 40px);
	margin: 4px 20px 0;
	padding-left: 20px;
	padding-right: 20px;
}

.skg-deposit-card__paid-badge {
	display: inline-block;
	background: #dcfce7;
	color: #15803d;
	border: 1px solid #86efac;
	border-radius: 20px;
	padding: 4px 14px;
	font-size: 13px;
	font-weight: 600;
	margin: 0 auto 12px;
	text-align: center;
}

.skg-deposit-card__paid-note {
	font-size: 14px;
	color: var(--skg-muted, #6b7a8d);
	text-align: center;
	margin: 0 0 20px;
	line-height: 1.55;
}

/* ── Add-to-cart toast ─────────────────────────────────────────────── */
.skg-toast {
	position: fixed;
	bottom: 24px;
	left: 50%;
	transform: translateX(-50%) translateY(20px);
	z-index: 99999;
	display: flex;
	align-items: center;
	gap: 16px;
	background: #1a2634;
	color: #fff;
	padding: 14px 20px;
	border-radius: 10px;
	box-shadow: 0 8px 28px rgba(0,0,0,.28);
	font-family: 'Instrument Sans', 'Roboto', sans-serif;
	font-size: 14px;
	max-width: calc(100vw - 32px);
	opacity: 0;
	transition: opacity .3s ease, transform .3s ease;
	pointer-events: none;
}

.skg-toast--visible {
	opacity: 1;
	transform: translateX(-50%) translateY(0);
	pointer-events: auto;
}

.skg-toast__msg { line-height: 1.4; }

.skg-toast__link {
	flex-shrink: 0;
	color: #5fd0f5;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
	border-left: 1px solid rgba(255,255,255,.2);
	padding-left: 16px;
}

.skg-toast__link:hover { color: #8ddef8; text-decoration: underline; }
