/**
 * Tienda JS — design tokens + chrome (Phase 1 constitution)
 *
 * Platform chrome (landing + /panel + /super): honey-amber / sun-gold.
 * Semantic: WhatsApp #25D366 · Mercado Pago #009EE3
 * Storefront themes Sol / Vitrina / Galería: see 00-FILES/design-system.md
 */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Fraunces:opsz,wght@9..144,500;9..144,600;9..144,700&family=Source+Sans+3:wght@400;500;600;700&display=swap');

/* ---------- Platform token contract ---------- */
html {
	/* Brand — warm yellowish honey / sun-gold (not purple, not terracotta cream) */
	--color-brand: 196 112 8;
	--color-brand-end: 234 162 22;
	--color-brand-fg: 255 255 255;
	--color-brand-soft: 255 236 179;
	--color-accent: 154 82 6;

	--color-ink: 28 25 23;
	--color-muted: 110 98 86;
	--color-surface: 255 248 230;
	--color-surface-muted: 255 236 179;
	--color-panel: 255 253 247;
	--color-line: 240 208 120;

	--color-whatsapp: 37 211 102;
	--color-mp: 0 158 227;

	--chrome-style: brand-gradient;
	--gradient-brand: linear-gradient(135deg, rgb(var(--color-brand)) 0%, rgb(var(--color-brand-end)) 100%);
	--gradient-chrome: var(--gradient-brand);
	--gradient-wa: linear-gradient(135deg, #128C7E 0%, #25D366 20%, #25D366 80%, #075E54 100%);
	--gradient-hero: linear-gradient(
		165deg,
		rgb(255 248 230) 0%,
		rgb(255 236 179 / 0.85) 38%,
		rgb(254 215 120 / 0.55) 62%,
		rgb(255 247 237) 100%
	);

	--radius-card: 0.75rem;
	--shadow-card: 0 1px 2px rgb(28 25 23 / 0.06);
	--shadow-kpi: 0 10px 15px -3px rgb(196 112 8 / 0.18);
	--shadow-shell: 0 1px 0 rgb(28 25 23 / 0.06), 0 8px 24px rgb(28 25 23 / 0.04);

	--kpi-a-from: 196 112 8;
	--kpi-a-to: 234 162 22;
	--kpi-b-from: 154 82 6;
	--kpi-b-to: 196 112 8;
	--kpi-c-from: 110 98 86;
	--kpi-c-to: 168 152 130;
	--kpi-d-from: 0 158 227;
	--kpi-d-to: 56 189 248;

	--status-success-bg: 220 252 231;
	--status-success-border: 34 197 94;
	--status-success-ink: 22 101 52;
	--status-warning-bg: 254 243 199;
	--status-warning-border: 217 119 6;
	--status-warning-ink: 120 53 15;
	--status-danger-bg: 254 226 226;
	--status-danger-border: 239 68 68;
	--status-danger-ink: 153 27 27;
	--status-info-bg: 224 242 254;
	--status-info-border: 0 158 227;
	--status-info-ink: 7 89 133;

	--sidebar-w: 15rem;
	--bottom-tabs-h: 4.25rem;
	--topbar-h: 3.25rem;

	--radius: 0.5rem;
	--text-base: 1rem;
	--space-x: 1.5rem;
	--space-y: 1rem;
	--space-section: 2rem;
	--space-gap: 1.25rem;

	--font-display: "Fraunces", Georgia, serif;
	--font-ui: "Source Sans 3", "Segoe UI", "Helvetica Neue", sans-serif;
	--font-gallery: "Cormorant Garamond", Georgia, serif;

	--motion-ease-settle: cubic-bezier(0.22, 1, 0.36, 1);
	--motion-duration-settle: 280ms;
	--motion-duration-shell: 200ms;
	--motion-duration-affirm: 160ms;
	--font-body: var(--font-ui);
}

/* ---------- Phase 15 — a11y + shared polish ---------- */
:focus-visible {
	outline: 2px solid rgb(var(--color-brand));
	outline-offset: 2px;
}

.tjs-skip {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 100;
	padding: 0.55rem 1rem;
	border-radius: var(--radius);
	background: rgb(var(--color-brand));
	color: rgb(var(--color-brand-fg));
	font-family: var(--font-ui);
	font-weight: 600;
	font-size: 0.9rem;
	text-decoration: none;
	box-shadow: var(--shadow-kpi);
}

.tjs-skip:focus,
.tjs-skip:focus-visible {
	left: 0.75rem;
	top: 0.75rem;
	outline: 2px solid rgb(var(--color-ink));
	outline-offset: 2px;
}

.tjs-empty__cta:disabled,
.tjs-empty__cta[aria-busy='true'],
.tjs-auth__submit:disabled,
.tjs-auth__submit[aria-busy='true'],
.tjs-btn:disabled,
.tjs-btn[aria-busy='true'] {
	opacity: 0.55;
	cursor: wait;
	pointer-events: none;
	filter: none;
	transform: none;
}

.tjs-is-busy {
	position: relative;
}

.tjs-is-busy::after {
	content: "";
	display: inline-block;
	width: 0.85em;
	height: 0.85em;
	margin-left: 0.45em;
	border: 2px solid currentColor;
	border-right-color: transparent;
	border-radius: 999px;
	vertical-align: -0.1em;
	animation: tjs-spin 0.7s linear infinite;
}

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

@media (prefers-reduced-motion: reduce) {
	.tjs-is-busy::after {
		animation: none;
		opacity: 0.5;
	}
}

/* ---------- Density ---------- */
html[data-density='relaxed'] {
	--space-x: 1.5rem;
	--space-y: 1rem;
	--space-section: 2rem;
	--space-gap: 1.25rem;
	--radius: 0.5rem;
	--text-base: 1rem;
	--radius-card: 0.75rem;
}

html[data-density='normal'] {
	--space-x: 1rem;
	--space-y: 0.625rem;
	--space-section: 1.25rem;
	--space-gap: 0.875rem;
	--radius: 0.375rem;
	--text-base: 0.9375rem;
	--radius-card: 0.5rem;
}

html[data-density='condensed'] {
	--space-x: 0.75rem;
	--space-y: 0.5rem;
	--space-section: 1rem;
	--space-gap: 0.625rem;
	--radius: 0.25rem;
	--text-base: 0.875rem;
	--radius-card: 0.375rem;
}

/* ---------- Storefront theme token deltas (engine Phase 5) ---------- */
html[data-storefront='sol'] {
	--sf-surface: 255 248 230;
	--sf-ink: 28 25 23;
	--sf-panel: 255 253 247;
	--sf-line: 240 208 120;
	--sf-brand: 196 112 8;
	--sf-brand-end: 234 162 22;
	--font-sf-display: var(--font-display);
}

html[data-storefront='vitrina'] {
	--sf-surface: 12 10 9;
	--sf-ink: 250 245 235;
	--sf-panel: 22 20 18;
	--sf-line: 180 140 60;
	--sf-brand: 234 162 22;
	--sf-brand-end: 250 204 90;
	--font-sf-display: var(--font-display);
}

html[data-storefront='galeria'] {
	--sf-surface: 252 250 246;
	--sf-ink: 41 37 36;
	--sf-panel: 255 255 255;
	--sf-line: 220 214 205;
	--sf-brand: 196 112 8;
	--sf-brand-end: 196 112 8;
	--font-sf-display: var(--font-gallery);
}

/* ---------- Landing — brand-first hero + marketing (Phase 11) ---------- */
.tjs-home {
	min-height: 100vh;
	margin: 0;
	color: rgb(var(--color-ink));
	background: rgb(var(--color-surface));
	font-family: var(--font-ui);
	position: relative;
	overflow-x: clip;
}

.tjs-home__nav {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1rem 1.5rem;
	max-width: 72rem;
	margin: 0 auto;
}

.tjs-home__nav-brand {
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 1rem;
	color: rgb(var(--color-accent));
	text-decoration: none;
	opacity: 0.85;
}

.tjs-home__nav-links {
	display: flex;
	gap: 1.25rem;
	align-items: center;
}

.tjs-home__nav-links a {
	color: rgb(var(--color-muted));
	text-decoration: none;
	font-weight: 600;
	font-size: 0.95rem;
}

.tjs-home__nav-links a:hover {
	color: rgb(var(--color-accent));
}

.tjs-home__hero {
	position: relative;
	z-index: 1;
	min-height: 100vh;
	min-height: 100dvh;
	display: grid;
	grid-template-columns: 1fr;
	align-items: center;
	padding: 5.5rem 1.5rem 3rem;
	background: var(--gradient-hero);
	overflow: hidden;
}

.tjs-home__hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(900px 520px at 8% -10%, rgb(255 236 179 / 0.9) 0%, transparent 55%),
		radial-gradient(700px 420px at 92% 8%, rgb(234 162 22 / 0.28) 0%, transparent 50%);
	pointer-events: none;
	z-index: 0;
}

.tjs-home__hero-copy {
	position: relative;
	z-index: 1;
	max-width: 36rem;
	margin: 0 auto;
	width: 100%;
}

.tjs-home__hero-visual {
	display: none;
	position: relative;
	z-index: 1;
	min-height: 18rem;
}

.tjs-home__sunfield {
	position: absolute;
	inset: 8% 6% 12% 10%;
	border-radius: 40% 60% 55% 45% / 45% 40% 60% 55%;
	background:
		radial-gradient(circle at 40% 35%, rgb(255 236 179 / 0.95) 0%, transparent 55%),
		radial-gradient(circle at 70% 60%, rgb(234 162 22 / 0.55) 0%, transparent 50%),
		linear-gradient(145deg, rgb(254 215 120 / 0.45), rgb(196 112 8 / 0.2));
	box-shadow: 0 24px 48px rgb(196 112 8 / 0.18);
	animation: tjs-sun-glow 4.5s var(--motion-ease-settle) infinite alternate;
	overflow: hidden;
}

.tjs-home__sunfield-shelf {
	position: absolute;
	left: 12%;
	right: 18%;
	bottom: 18%;
	height: 38%;
	border-radius: 0.35rem;
	background:
		linear-gradient(180deg, rgb(255 253 247 / 0.55) 0%, rgb(255 248 230 / 0.2) 100%),
		repeating-linear-gradient(
			90deg,
			rgb(196 112 8 / 0.08) 0,
			rgb(196 112 8 / 0.08) 1px,
			transparent 1px,
			transparent 22%
		);
	box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.35);
}

.tjs-home__sunfield-glow {
	position: absolute;
	inset: 18% 22% 42% 28%;
	border-radius: 50%;
	background: radial-gradient(circle, rgb(255 236 179 / 0.85) 0%, transparent 70%);
	filter: blur(2px);
}

@keyframes tjs-sun-glow {
	from { transform: scale(1); filter: brightness(1); }
	to { transform: scale(1.03); filter: brightness(1.06); }
}

@media (min-width: 900px) {
	.tjs-home__hero {
		grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
		padding: 6rem 3rem 4rem;
		max-width: none;
		gap: 2rem;
	}

	.tjs-home__hero-copy {
		margin: 0 0 0 max(0px, calc((100vw - 72rem) / 2));
		padding-left: 1.5rem;
	}

	.tjs-home__hero-visual {
		display: block;
		min-height: 70vh;
	}
}

.tjs-home__brand {
	margin: 0 0 1rem;
	font-family: var(--font-display);
	font-size: clamp(2.75rem, 8vw, 4.5rem);
	font-weight: 700;
	letter-spacing: -0.03em;
	line-height: 1.05;
	/* Deep honey for contrast on sun-wash (not pale gold-on-gold) */
	background: linear-gradient(135deg, rgb(120 64 4) 0%, rgb(196 112 8) 55%, rgb(154 82 6) 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: rgb(var(--color-accent));
	-webkit-text-fill-color: transparent;
	animation: tjs-brand-settle var(--motion-duration-settle) var(--motion-ease-settle) both;
}

.tjs-home__headline {
	margin: 0 0 0.75rem;
	font-family: var(--font-display);
	font-size: clamp(1.35rem, 3.5vw, 1.85rem);
	font-weight: 600;
	letter-spacing: -0.02em;
	line-height: 1.2;
	color: rgb(var(--color-ink));
	animation: tjs-brand-settle var(--motion-duration-settle) var(--motion-ease-settle) both;
	animation-delay: 60ms;
}

.tjs-home__lead {
	margin: 0 0 1.75rem;
	font-size: 1.125rem;
	line-height: 1.5;
	color: rgb(var(--color-muted));
	max-width: 28rem;
	animation: tjs-brand-settle var(--motion-duration-settle) var(--motion-ease-settle) both;
	animation-delay: 100ms;
}

.tjs-home__cta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem 1.25rem;
	animation: tjs-brand-settle var(--motion-duration-settle) var(--motion-ease-settle) both;
	animation-delay: 140ms;
}

.tjs-home__cta a,
.tjs-home__btn {
	display: inline-flex;
	align-items: center;
	padding: 0.7rem 1.2rem;
	border-radius: var(--radius);
	background: var(--gradient-brand);
	color: rgb(var(--color-brand-fg));
	font-weight: 600;
	text-decoration: none;
	box-shadow: var(--shadow-kpi);
	transition: transform var(--motion-duration-affirm) var(--motion-ease-settle), filter 180ms ease;
}

.tjs-home__cta a:hover,
.tjs-home__btn:hover {
	filter: brightness(1.05);
	transform: translateY(-1px);
}

.tjs-home__cta a:active,
.tjs-home__btn:active {
	transform: scale(0.98);
}

.tjs-home__cta-link {
	background: transparent !important;
	color: rgb(var(--color-accent)) !important;
	box-shadow: none !important;
	padding-left: 0.25rem !important;
	padding-right: 0.25rem !important;
	font-weight: 600;
}

.tjs-home__cta-link:hover {
	filter: none !important;
	text-decoration: underline;
	transform: none !important;
}

.tjs-home__section {
	position: relative;
	z-index: 1;
	max-width: 42rem;
	margin: 0 auto;
	padding: 4rem 1.5rem;
}

.tjs-home__section--wash {
	max-width: none;
	background: rgb(var(--color-surface-muted) / 0.45);
}

.tjs-home__section--wash > * {
	max-width: 48rem;
	margin-left: auto;
	margin-right: auto;
}

.tjs-home__section-title {
	margin: 0 0 0.75rem;
	font-family: var(--font-display);
	font-size: clamp(1.75rem, 4vw, 2.5rem);
	font-weight: 600;
	letter-spacing: -0.02em;
	line-height: 1.15;
	color: rgb(var(--color-ink));
}

.tjs-home__section-lead {
	margin: 0 0 1.75rem;
	font-size: 1.05rem;
	line-height: 1.55;
	color: rgb(var(--color-muted));
	max-width: 36rem;
}

.tjs-home__section-cta {
	margin: 2rem 0 0;
}

.tjs-home__plans {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 1.25rem 1.5rem;
	grid-template-columns: 1fr 1fr;
}

@media (min-width: 640px) {
	.tjs-home__plans {
		grid-template-columns: repeat(3, 1fr);
	}
}

.tjs-home__plan {
	padding: 0;
	border: 0;
	background: transparent;
}

.tjs-home__plan-name {
	margin: 0 0 0.2rem;
	font-weight: 700;
	color: rgb(var(--color-ink));
}

.tjs-home__plan-price {
	margin: 0 0 0.15rem;
	font-family: var(--font-display);
	font-size: 1.35rem;
	font-weight: 600;
	color: rgb(var(--color-accent));
}

.tjs-home__plan-price span {
	font-family: var(--font-ui);
	font-size: 0.85rem;
	font-weight: 500;
	color: rgb(var(--color-muted));
}

.tjs-home__plan-meta {
	margin: 0;
	font-size: 0.875rem;
	color: rgb(var(--color-muted));
}

.tjs-home__plan--trial .tjs-home__plan-price {
	color: rgb(var(--color-brand));
}

.tjs-home__themes {
	margin: 1.75rem 0 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 1rem;
	max-width: 48rem;
}

@media (min-width: 720px) {
	.tjs-home__themes {
		grid-template-columns: repeat(3, 1fr);
		gap: 1.25rem;
	}
}

.tjs-home__themes li {
	margin: 0;
	padding: 0;
}

.tjs-home__theme {
	display: block;
	height: 100%;
	padding: 1rem 1rem 1.15rem;
	border-radius: var(--radius-card);
	border: 1px solid rgb(var(--color-line) / 0.55);
	background: rgb(var(--color-panel));
}

.tjs-home__theme-swatch {
	display: block;
	height: 4.5rem;
	margin: 0 0 0.85rem;
	border-radius: calc(var(--radius-card) - 0.15rem);
}

.tjs-home__theme-swatch--sol {
	background:
		radial-gradient(80% 90% at 20% 10%, rgb(255 236 179) 0%, transparent 55%),
		linear-gradient(135deg, rgb(255 248 230), rgb(234 162 22 / 0.55));
}

.tjs-home__theme-swatch--vitrina {
	background:
		radial-gradient(70% 60% at 50% 0%, rgb(234 162 22 / 0.35) 0%, transparent 55%),
		linear-gradient(160deg, #0c0a09, #161412);
	border: 1px solid rgb(180 140 60 / 0.45);
}

.tjs-home__theme-swatch--galeria {
	background: linear-gradient(180deg, #fcfaf6 0%, #fff 100%);
	border: 1px solid rgb(220 214 205);
	box-shadow: inset 0 -2.2rem 0 0 #fff;
}

.tjs-home__themes strong {
	display: block;
	margin: 0 0 0.35rem;
	font-family: var(--font-display);
	font-size: 1.1rem;
	font-weight: 600;
	color: rgb(var(--color-ink));
}

.tjs-home__theme span {
	display: block;
	font-size: 0.9rem;
	line-height: 1.45;
	color: rgb(var(--color-muted));
}

.tjs-home__faq {
	margin: 0;
}

.tjs-home__faq > div {
	margin: 0 0 1.25rem;
}

.tjs-home__faq dt {
	font-weight: 700;
	margin: 0 0 0.25rem;
	color: rgb(var(--color-ink));
}

.tjs-home__faq dd {
	margin: 0;
	color: rgb(var(--color-muted));
	line-height: 1.5;
}

.tjs-home__footer {
	padding: 2.5rem 1.5rem 3rem;
	text-align: center;
	color: rgb(var(--color-muted));
	font-size: 0.9rem;
	border-top: 1px solid rgb(var(--color-line) / 0.5);
}

.tjs-home__footer a {
	color: rgb(var(--color-accent));
	font-weight: 600;
	text-decoration: none;
}

.tjs-home__footer a:hover {
	text-decoration: underline;
}

@keyframes tjs-brand-settle {
	from {
		opacity: 0;
		transform: translateY(12px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (prefers-reduced-motion: reduce) {
	.tjs-home__brand,
	.tjs-home__headline,
	.tjs-home__lead,
	.tjs-home__cta {
		animation: none;
	}

	.tjs-home__brand {
		-webkit-text-fill-color: rgb(var(--color-accent));
		background: none;
		color: rgb(var(--color-accent));
	}

	.tjs-home__sunfield {
		animation: none;
	}

	.tjs-home__cta a,
	.tjs-home__btn {
		transition: none;
	}

	.tjs-home__cta a:hover,
	.tjs-home__cta a:active,
	.tjs-home__btn:hover,
	.tjs-home__btn:active {
		transform: none;
	}
}

/* Enrollment form extras */
.tjs-enroll__brand-link {
	color: inherit;
	text-decoration: none;
}

.tjs-enroll__slug {
	display: flex;
	align-items: center;
	gap: 0.25rem;
}

.tjs-enroll__slug-prefix {
	font-weight: 600;
	color: rgb(var(--color-muted));
}

.tjs-enroll__slug .tjs-auth__input {
	flex: 1;
}

.tjs-enroll__hint {
	margin: -0.35rem 0 0.85rem;
	font-size: 0.8rem;
	color: rgb(var(--color-muted));
}

.tjs-enroll__footer {
	margin: 1rem 0 0;
	font-size: 0.9rem;
	color: rgb(var(--color-muted));
	text-align: center;
}

.tjs-enroll__footer a {
	color: rgb(var(--color-accent));
	font-weight: 600;
}

/* Onboarding checklist (panel) */
.tjs-onboard {
	margin: 0 0 1.75rem;
	padding: 0 0 1.5rem;
	border-bottom: 1px solid rgb(var(--color-line) / 0.55);
}

.tjs-onboard__title {
	margin: 0 0 0.35rem;
	font-family: var(--font-display);
	font-size: 1.35rem;
	font-weight: 600;
}

.tjs-onboard__meta {
	margin: 0 0 1rem;
	font-size: 0.9rem;
	color: rgb(var(--color-muted));
}

.tjs-onboard__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.tjs-onboard__item {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem 1rem;
	padding: 0.55rem 0;
	border-top: 1px solid rgb(var(--color-line) / 0.35);
}

.tjs-onboard__item:first-child {
	border-top: 0;
}

.tjs-onboard__check {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.35rem;
	height: 1.35rem;
	border-radius: 999px;
	font-size: 0.75rem;
	font-weight: 700;
	flex-shrink: 0;
	background: rgb(var(--color-surface-muted));
	color: rgb(var(--color-muted));
}

.tjs-onboard__item--done .tjs-onboard__check {
	background: rgb(var(--status-success-bg));
	color: rgb(var(--status-success-ink));
}

.tjs-onboard__label {
	flex: 1;
	min-width: 12rem;
	font-weight: 500;
}

.tjs-onboard__item--done .tjs-onboard__label {
	color: rgb(var(--color-muted));
}

.tjs-onboard__cta {
	font-size: 0.9rem;
	font-weight: 600;
	color: rgb(var(--color-accent));
	text-decoration: none;
}

.tjs-onboard__cta:hover {
	text-decoration: underline;
}

.tjs-onboard__done-msg {
	margin: 0.75rem 0 0;
	font-size: 0.9rem;
	color: rgb(var(--color-muted));
}

.tjs-logo-preview {
	display: block;
	max-width: 160px;
	max-height: 80px;
	object-fit: contain;
	margin: 0.75rem 0 1rem;
}

/* ---------- Panel / super shell ---------- */
.tjs-shell {
	min-height: 100vh;
	margin: 0;
	display: flex;
	background: rgb(var(--color-surface));
	color: rgb(var(--color-ink));
	font-family: var(--font-ui);
	font-size: var(--text-base);
}

.tjs-shell__sidebar {
	display: none;
	flex-direction: column;
	width: var(--sidebar-w);
	flex-shrink: 0;
	background: rgb(var(--color-panel));
	border-right: 1px solid rgb(var(--color-line) / 0.55);
	box-shadow: var(--shadow-shell);
	padding: 1.25rem 0.75rem 1rem;
	animation: tjs-shell-in var(--motion-duration-shell) var(--motion-ease-settle) both;
}

.tjs-shell__brand {
	padding: 0.25rem 0.75rem 1.25rem;
	border-bottom: 1px solid rgb(var(--color-line) / 0.45);
	margin-bottom: 0.75rem;
}

.tjs-shell__brand-name {
	margin: 0;
	font-family: var(--font-display);
	font-size: 1.35rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	background: var(--gradient-brand);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	line-height: 1.15;
}

.tjs-shell__brand-store {
	margin: 0.2rem 0 0;
	font-size: 0.8rem;
	color: rgb(var(--color-muted));
	font-weight: 500;
}

.tjs-shell__brand-badge {
	display: inline-block;
	margin-top: 0.35rem;
	padding: 0.1rem 0.45rem;
	font-size: 0.65rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: rgb(var(--color-accent));
	background: rgb(var(--color-brand-soft) / 0.65);
	border-radius: 999px;
}

.tjs-shell__nav {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	flex: 1;
	padding: 0 0.25rem;
}

.tjs-shell__nav a {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	padding: 0.55rem 0.75rem;
	border-radius: var(--radius);
	color: rgb(var(--color-ink));
	text-decoration: none;
	font-weight: 500;
	font-size: 0.9375rem;
	border-left: 3px solid transparent;
	transition: background 150ms ease, color 150ms ease;
}

.tjs-shell__nav a:hover {
	background: rgb(var(--color-brand-soft) / 0.45);
}

.tjs-shell__nav a.is-active {
	background: rgb(var(--color-brand-soft) / 0.7);
	color: rgb(var(--color-accent));
	border-left-color: rgb(var(--color-brand));
	font-weight: 600;
}

.tjs-shell__nav-ico {
	width: 1.25rem;
	height: 1.25rem;
	flex-shrink: 0;
	opacity: 0.75;
	background: currentColor;
	mask-size: contain;
	mask-repeat: no-repeat;
	mask-position: center;
	-webkit-mask-size: contain;
	-webkit-mask-repeat: no-repeat;
	-webkit-mask-position: center;
}

.tjs-shell__footer {
	padding: 0.75rem 0.75rem 0.25rem;
	border-top: 1px solid rgb(var(--color-line) / 0.45);
	margin-top: 0.75rem;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.tjs-shell__plan {
	font-size: 0.75rem;
	font-weight: 600;
	color: rgb(var(--color-accent));
	background: rgb(var(--color-brand-soft) / 0.55);
	padding: 0.35rem 0.6rem;
	border-radius: var(--radius);
	text-align: center;
}

.tjs-shell__user {
	font-size: 0.8rem;
	color: rgb(var(--color-muted));
	padding: 0 0.25rem;
}

.tjs-shell__main {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	padding-bottom: calc(var(--bottom-tabs-h) + 0.5rem);
	animation: tjs-main-in 180ms var(--motion-ease-settle) both;
}

.tjs-shell__topbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: var(--topbar-h);
	padding: 0.75rem var(--space-x);
	border-bottom: 1px solid rgb(var(--color-line) / 0.4);
	background: rgb(var(--color-panel) / 0.72);
	backdrop-filter: blur(8px);
}

.tjs-shell__topbar h1 {
	margin: 0;
	font-family: var(--font-display);
	font-size: 1.25rem;
	font-weight: 600;
	letter-spacing: -0.02em;
}

.tjs-shell__content {
	flex: 1;
	padding: var(--space-section) var(--space-x);
}

/* Empty state — impress, no dashed junk */
.tjs-empty {
	max-width: 28rem;
	margin: 8vh auto 0;
	text-align: left;
}

.tjs-empty__title {
	margin: 0 0 0.5rem;
	font-family: var(--font-display);
	font-size: clamp(1.75rem, 4vw, 2.25rem);
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.15;
	color: rgb(var(--color-ink));
}

.tjs-empty__text {
	margin: 0 0 1.5rem;
	font-size: 1.05rem;
	line-height: 1.5;
	color: rgb(var(--color-muted));
}

.tjs-empty__cta {
	display: inline-flex;
	align-items: center;
	padding: 0.65rem 1.1rem;
	border-radius: var(--radius);
	background: var(--gradient-brand);
	color: rgb(var(--color-brand-fg));
	font-weight: 600;
	text-decoration: none;
	box-shadow: var(--shadow-kpi);
	transition: transform var(--motion-duration-affirm) var(--motion-ease-settle), filter 180ms ease;
}

.tjs-empty__cta:hover {
	filter: brightness(1.05);
	transform: translateY(-1px);
}

.tjs-empty__cta:active {
	transform: scale(1.02);
}

/* Mobile bottom tabs */
.tjs-shell__tabs {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 40;
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	height: var(--bottom-tabs-h);
	padding: 0.35rem 0.25rem calc(0.35rem + env(safe-area-inset-bottom, 0));
	background: rgb(var(--color-panel) / 0.96);
	border-top: 1px solid rgb(var(--color-line) / 0.55);
	box-shadow: 0 -4px 20px rgb(28 25 23 / 0.06);
	animation: tjs-tabs-up var(--motion-duration-shell) var(--motion-ease-settle) both;
}

.tjs-shell__tabs a {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.2rem;
	text-decoration: none;
	color: rgb(var(--color-muted));
	font-size: 0.65rem;
	font-weight: 600;
	border-radius: var(--radius);
	position: relative;
}

.tjs-shell__tabs a.is-active {
	color: rgb(var(--color-accent));
}

.tjs-shell__tabs-ico {
	width: 1.35rem;
	height: 1.35rem;
	background: currentColor;
	mask-size: contain;
	mask-repeat: no-repeat;
	mask-position: center;
	-webkit-mask-size: contain;
	-webkit-mask-repeat: no-repeat;
	-webkit-mask-position: center;
	opacity: 0.9;
}

.tjs-shell__tabs-badge {
	position: absolute;
	top: 0.15rem;
	right: calc(50% - 1.1rem);
	min-width: 1rem;
	height: 1rem;
	padding: 0 0.25rem;
	border-radius: 999px;
	background: rgb(var(--status-danger-border));
	color: #fff;
	font-size: 0.6rem;
	line-height: 1rem;
	text-align: center;
}

@keyframes tjs-shell-in {
	from {
		opacity: 0;
		transform: translateX(-10px);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

@keyframes tjs-main-in {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

@keyframes tjs-tabs-up {
	from {
		opacity: 0;
		transform: translateY(8px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (min-width: 768px) {
	.tjs-shell__sidebar {
		display: flex;
		position: sticky;
		top: 0;
		height: 100vh;
	}

	.tjs-shell__main {
		padding-bottom: 0;
	}

	.tjs-shell__tabs {
		display: none;
	}

	.tjs-shell__topbar {
		background: transparent;
		backdrop-filter: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.tjs-shell__sidebar,
	.tjs-shell__main,
	.tjs-shell__tabs {
		animation: none;
	}

	.tjs-empty__cta {
		transition: none;
	}

	.tjs-empty__cta:hover,
	.tjs-empty__cta:active {
		transform: none;
	}
}

/* ---------- Auth screens (panel / super login) ---------- */
.tjs-auth {
	min-height: 100vh;
	margin: 0;
	font-family: var(--font-body);
	color: rgb(var(--color-ink));
	background: var(--gradient-hero);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 2rem 1rem;
}

.tjs-auth__wrap {
	width: 100%;
	max-width: 24rem;
}

.tjs-auth__brand {
	text-align: center;
	margin-bottom: 1.25rem;
}

.tjs-auth__name {
	font-family: var(--font-display);
	font-size: clamp(2rem, 4vw, 2.5rem);
	font-weight: 700;
	letter-spacing: -0.03em;
	color: rgb(var(--color-brand));
	margin: 0;
}

.tjs-auth__sub {
	margin: 0.35rem 0 0;
	font-size: 0.95rem;
	color: rgb(var(--color-muted));
}

.tjs-auth__card {
	background: rgb(var(--color-panel));
	border: 1px solid rgb(var(--color-line) / 0.7);
	border-radius: var(--radius-card);
	box-shadow: var(--shadow-shell);
	padding: 1.5rem;
	display: grid;
	gap: 0.65rem;
}

.tjs-auth__label {
	font-size: 0.875rem;
	font-weight: 600;
	display: grid;
	gap: 0.35rem;
}

.tjs-auth__input {
	width: 100%;
	box-sizing: border-box;
	border: 1px solid rgb(var(--color-line));
	border-radius: var(--radius);
	padding: 0.55rem 0.7rem;
	background: rgb(var(--color-surface));
	color: rgb(var(--color-ink));
	font: inherit;
}

.tjs-auth__input:focus {
	outline: 2px solid rgb(var(--color-brand) / 0.35);
	outline-offset: 1px;
}

.tjs-auth__check {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.875rem;
	color: rgb(var(--color-muted));
}

.tjs-auth__submit {
	appearance: none;
	border: 0;
	border-radius: var(--radius);
	padding: 0.7rem 1rem;
	font: inherit;
	font-weight: 600;
	color: rgb(var(--color-brand-fg));
	background: var(--gradient-brand);
	cursor: pointer;
	margin-top: 0.35rem;
}

.tjs-auth__submit:hover {
	filter: brightness(1.03);
}

.tjs-auth__error {
	margin: 0;
	padding: 0.6rem 0.75rem;
	border-radius: var(--radius);
	background: rgb(var(--status-danger-bg));
	border: 1px solid rgb(var(--status-danger-border));
	color: rgb(var(--status-danger-ink));
	font-size: 0.875rem;
}

.tjs-auth__flash {
	margin: 0 0 1rem;
	padding: 0.6rem 0.75rem;
	border-radius: var(--radius);
	background: rgb(var(--status-success-bg));
	border: 1px solid rgb(var(--status-success-border));
	color: rgb(var(--status-success-ink));
	font-size: 0.875rem;
}

/* Simple mask icons (geometric) */
.tjs-ico-home {
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='black'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M3 10.5 12 3l9 7.5V21a1 1 0 0 1-1 1h-5v-6H9v6H4a1 1 0 0 1-1-1v-10.5z'/%3E%3C/svg%3E");
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='black'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M3 10.5 12 3l9 7.5V21a1 1 0 0 1-1 1h-5v-6H9v6H4a1 1 0 0 1-1-1v-10.5z'/%3E%3C/svg%3E");
}
.tjs-ico-box {
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='black'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M21 8.5 12 3 3 8.5v7L12 21l9-5.5v-7zM3 8.5l9 5.5 9-5.5M12 14v7'/%3E%3C/svg%3E");
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='black'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M21 8.5 12 3 3 8.5v7L12 21l9-5.5v-7zM3 8.5l9 5.5 9-5.5M12 14v7'/%3E%3C/svg%3E");
}
.tjs-ico-orders {
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='black'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M9 5h12M9 12h12M9 19h12M4 5h.01M4 12h.01M4 19h.01'/%3E%3C/svg%3E");
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='black'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M9 5h12M9 12h12M9 19h12M4 5h.01M4 12h.01M4 19h.01'/%3E%3C/svg%3E");
}
.tjs-ico-users {
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='black'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2M9 11a4 4 0 1 0 0-8 4 4 0 0 0 0 8zM22 21v-2a4 4 0 0 0-3-3.87M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E");
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='black'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2M9 11a4 4 0 1 0 0-8 4 4 0 0 0 0 8zM22 21v-2a4 4 0 0 0-3-3.87M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E");
}
.tjs-ico-more {
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='black'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M5 12h.01M12 12h.01M19 12h.01M6 12a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm7 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm7 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0z'/%3E%3C/svg%3E");
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='black'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M5 12h.01M12 12h.01M19 12h.01M6 12a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm7 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm7 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0z'/%3E%3C/svg%3E");
}

/* ---------- Storefront shell + themes (Phase 5) ---------- */
.tjs-sf {
	--sf-radius: 0.35rem;
	margin: 0;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	font-family: var(--font-ui);
	font-size: var(--text-base);
	color: rgb(var(--sf-ink, var(--color-ink)));
	background: rgb(var(--sf-surface, var(--color-surface)));
}

.tjs-sf__skip {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 100;
	padding: 0.5rem 1rem;
	background: rgb(var(--sf-brand));
	color: #fff;
}
.tjs-sf__skip:focus {
	left: 0.75rem;
	top: 0.75rem;
}

.tjs-sf__header {
	border-bottom: 1px solid rgb(var(--sf-line, var(--color-line)));
	position: sticky;
	top: 0;
	z-index: 20;
	backdrop-filter: blur(10px);
	background: rgb(var(--sf-surface, var(--color-surface)) / 0.92);
}

.tjs-sf__header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	width: min(72rem, 100%);
	margin: 0 auto;
	padding: 0.9rem 1.5rem;
	box-sizing: border-box;
}

.tjs-sf__brand {
	font-family: var(--font-sf-display, var(--font-display));
	font-size: clamp(1.2rem, 2.5vw, 1.5rem);
	font-weight: 600;
	color: inherit;
	text-decoration: none;
	letter-spacing: -0.02em;
}

.tjs-sf__nav {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 0.75rem 1.25rem;
}

@media (max-width: 640px) {
	.tjs-sf__header-inner {
		align-items: flex-start;
		flex-wrap: wrap;
		padding: 0.75rem 1rem;
	}

	.tjs-sf__nav {
		width: 100%;
		justify-content: flex-start;
		gap: 0.55rem 0.85rem;
		font-size: 0.9rem;
	}

	.tjs-sf__main {
		padding: 1.25rem 1rem 3rem;
	}

	.tjs-sf__grid {
		grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr));
		gap: 1.15rem 0.85rem;
	}
}

.tjs-sf__nav a {
	color: inherit;
	text-decoration: none;
	opacity: 0.88;
	font-weight: 500;
}
.tjs-sf__nav a:hover,
.tjs-sf__nav a:focus-visible {
	opacity: 1;
	text-decoration: underline;
	text-underline-offset: 0.18em;
}

.tjs-sf__cart-link {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
}

.tjs-sf__cart-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 1.35rem;
	height: 1.35rem;
	padding: 0 0.35rem;
	border-radius: 999px;
	font-size: 0.75rem;
	font-weight: 700;
	line-height: 1;
	background: rgb(var(--sf-brand));
	color: #fff;
}
.tjs-sf__cart-link:not(.is-active) .tjs-sf__cart-badge {
	background: rgb(var(--sf-ink) / 0.18);
	color: rgb(var(--sf-ink));
}

.tjs-sf__main {
	flex: 1;
	width: min(72rem, 100%);
	margin: 0 auto;
	padding: 1.75rem 1.5rem 3.5rem;
	box-sizing: border-box;
}

.tjs-sf__footer {
	padding: 1.1rem 1.5rem;
	border-top: 1px solid rgb(var(--sf-line, var(--color-line)));
	font-size: 0.8rem;
	opacity: 0.7;
	text-align: center;
}

.tjs-sf__footer-nav {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.75rem 1.25rem;
	margin: 0 0 0.65rem;
}

.tjs-sf__footer-nav a {
	color: inherit;
	text-decoration: none;
	font-weight: 600;
	opacity: 0.95;
}

.tjs-sf__footer-nav a:hover {
	text-decoration: underline;
}

.tjs-sf__page .tjs-sf__prose {
	max-width: 40rem;
	line-height: 1.65;
}

.tjs-sf__prose p {
	margin: 0 0 1rem;
}

.tjs-sf__coupon-form {
	display: grid;
	gap: 0.5rem;
	max-width: 20rem;
}

.tjs-sf__coupon-form label {
	display: grid;
	gap: 0.25rem;
	font-size: 0.9rem;
}

.tjs-sf__coupon-form input[type="text"] {
	padding: 0.5rem 0.65rem;
	border: 1px solid rgb(var(--sf-line, var(--color-line)));
	border-radius: 0.35rem;
	background: rgb(var(--sf-panel, var(--color-panel)));
	color: inherit;
	font: inherit;
}

.tjs-sf__hero {
	margin-bottom: 1.75rem;
}

.tjs-sf__hero--home {
	padding: 1.25rem 0 0.5rem;
}

.tjs-sf__title {
	font-family: var(--font-sf-display, var(--font-display));
	font-size: clamp(1.75rem, 4vw, 2.65rem);
	margin: 0 0 0.5rem;
	font-weight: 600;
	letter-spacing: -0.02em;
	line-height: 1.15;
}

.tjs-sf__lead,
.tjs-sf__price {
	margin: 0 0 1rem;
	font-size: 1.1rem;
}

.tjs-sf__price {
	font-weight: 700;
	font-size: 1.35rem;
	color: rgb(var(--sf-brand, var(--color-brand)));
}

.tjs-sf__compare {
	margin: -0.5rem 0 1rem;
	opacity: 0.65;
}

.tjs-sf__crumb {
	margin: 0 0 0.75rem;
	font-size: 0.875rem;
	opacity: 0.75;
}

.tjs-sf__crumb a {
	color: inherit;
}

.tjs-sf__cats {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem 1rem;
	margin: 0 0 1.75rem;
}

.tjs-sf__cats a {
	color: inherit;
	text-decoration: none;
	border-bottom: 1px solid rgb(var(--sf-line));
	padding-bottom: 0.1rem;
	opacity: 0.9;
}
.tjs-sf__cats a:hover {
	border-bottom-color: rgb(var(--sf-brand));
	opacity: 1;
}

.tjs-sf__grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));
	gap: 1.5rem 1.25rem;
}

.tjs-sf__card a {
	display: block;
	color: inherit;
	text-decoration: none;
}

.tjs-sf__card-media {
	display: block;
	margin-bottom: 0.65rem;
	overflow: hidden;
	border-radius: var(--sf-radius);
	background: rgb(var(--sf-panel, var(--color-surface-muted)));
}

.tjs-sf__card-img {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	transition: opacity 320ms var(--motion-ease-settle), transform 320ms var(--motion-ease-settle);
}

.tjs-sf__card a:hover .tjs-sf__card-img,
.tjs-sf__card a:focus-visible .tjs-sf__card-img {
	transform: scale(1.02);
}

.tjs-sf__card-ph {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	background:
		linear-gradient(145deg, rgb(var(--sf-panel)) 0%, rgb(var(--sf-line) / 0.35) 100%);
}
.tjs-sf__card-ph--lg {
	min-height: 16rem;
	aspect-ratio: 1 / 1;
	border-radius: var(--sf-radius);
}

.tjs-sf__card-name {
	display: block;
	font-weight: 600;
	margin-bottom: 0.3rem;
	letter-spacing: -0.01em;
}

.tjs-sf__card-price {
	display: block;
	color: rgb(var(--sf-brand, var(--color-brand)));
	font-weight: 600;
}

.tjs-sf__empty {
	padding: 2.5rem 0;
	max-width: 28rem;
}
.tjs-sf__empty h2 {
	font-family: var(--font-sf-display, var(--font-display));
	font-size: 1.65rem;
	margin: 0 0 0.5rem;
}

.tjs-sf__desc {
	margin: 1.5rem 0 0;
	max-width: 40rem;
	line-height: 1.6;
	opacity: 0.92;
}

.tjs-sf__note {
	margin-top: 1.25rem;
	font-size: 0.875rem;
	opacity: 0.65;
	max-width: 28rem;
}

.tjs-sf__flash {
	margin: 0 0 1.25rem;
	padding: 0.7rem 0.9rem;
	border-radius: var(--sf-radius);
	font-size: 0.95rem;
	border: 1px solid rgb(var(--sf-line));
	background: rgb(var(--sf-panel));
}
.tjs-sf__flash--success {
	border-color: rgb(var(--status-success-border));
	background: rgb(var(--status-success-bg));
	color: rgb(var(--status-success-ink));
}
.tjs-sf__flash--error {
	border-color: rgb(var(--status-danger-border));
	background: rgb(var(--status-danger-bg));
	color: rgb(var(--status-danger-ink));
}
.tjs-sf__flash--info {
	border-color: rgb(var(--status-info-border));
	background: rgb(var(--status-info-bg));
	color: rgb(var(--status-info-ink));
}

.tjs-sf__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	padding: 0.7rem 1.15rem;
	border-radius: var(--sf-radius);
	border: 1px solid transparent;
	font: inherit;
	font-weight: 600;
	cursor: pointer;
	text-decoration: none;
	color: inherit;
	background: transparent;
}
.tjs-sf__btn:disabled {
	opacity: 0.45;
	cursor: not-allowed;
}
.tjs-sf__btn--primary {
	background: linear-gradient(135deg, rgb(var(--sf-brand)) 0%, rgb(var(--sf-brand-end)) 100%);
	color: #fff;
	border-color: transparent;
}
.tjs-sf__btn--primary:hover:not(:disabled),
.tjs-sf__btn--primary:focus-visible:not(:disabled) {
	filter: brightness(1.05);
}
.tjs-sf__btn--ghost {
	border-color: rgb(var(--sf-line));
	background: transparent;
}
.tjs-sf__btn--ghost:hover {
	border-color: rgb(var(--sf-brand));
}

.tjs-sf__pdp-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
}
@media (min-width: 768px) {
	.tjs-sf__pdp-grid {
		grid-template-columns: 1.05fr 0.95fr;
		gap: 2.5rem;
		align-items: start;
	}
}

.tjs-sf__gallery-main {
	margin: 0;
	overflow: hidden;
	border-radius: var(--sf-radius);
	background: rgb(var(--sf-panel));
}
.tjs-sf__gallery-main img {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	transition: opacity 180ms ease;
}
.tjs-sf__gallery-main img.is-fading {
	opacity: 0.35;
}

.tjs-sf__gallery-thumbs {
	list-style: none;
	margin: 0.75rem 0 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}
.tjs-sf__thumb {
	padding: 0;
	border: 1px solid rgb(var(--sf-line));
	border-radius: calc(var(--sf-radius) - 2px);
	background: transparent;
	cursor: pointer;
	overflow: hidden;
}
.tjs-sf__thumb img {
	display: block;
	width: 72px;
	height: 72px;
	object-fit: cover;
}
.tjs-sf__thumb:hover,
.tjs-sf__thumb:focus-visible {
	border-color: rgb(var(--sf-brand));
}

.tjs-sf__variants,
.tjs-sf__buy {
	display: grid;
	gap: 0.85rem;
	margin: 0 0 1.25rem;
	max-width: 22rem;
}
.tjs-sf__opt,
.tjs-sf__qty {
	display: grid;
	gap: 0.35rem;
	font-size: 0.9rem;
	font-weight: 600;
}
.tjs-sf__opt-select,
.tjs-sf__qty input,
.tjs-sf__cart-qty input {
	font: inherit;
	font-weight: 400;
	padding: 0.55rem 0.65rem;
	border: 1px solid rgb(var(--sf-line));
	border-radius: var(--sf-radius);
	background: rgb(var(--sf-panel));
	color: rgb(var(--sf-ink));
	width: 100%;
	box-sizing: border-box;
}
.tjs-sf__qty input,
.tjs-sf__cart-qty input {
	max-width: 5.5rem;
}
.tjs-sf__variant-status {
	margin: 0;
	font-size: 0.85rem;
	font-weight: 400;
	opacity: 0.8;
}
.tjs-sf__digital {
	margin: 0 0 0.75rem;
}

/* Cart */
.tjs-sf__cart-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 1.25rem;
}
.tjs-sf__cart-line {
	display: grid;
	grid-template-columns: 5rem 1fr;
	gap: 0.75rem 1rem;
	padding-bottom: 1.25rem;
	border-bottom: 1px solid rgb(var(--sf-line));
	align-items: start;
}
@media (min-width: 640px) {
	.tjs-sf__cart-line {
		grid-template-columns: 5.5rem 1fr auto auto auto;
		align-items: center;
	}
}
.tjs-sf__cart-thumb img {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border-radius: var(--sf-radius);
	background: rgb(var(--sf-panel));
}
.tjs-sf__cart-name {
	font-weight: 600;
	color: inherit;
	text-decoration: none;
}
.tjs-sf__cart-variant,
.tjs-sf__cart-unit {
	margin: 0.2rem 0 0;
	font-size: 0.875rem;
	opacity: 0.75;
}
.tjs-sf__cart-qty {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	flex-wrap: wrap;
}
.tjs-sf__cart-line-total {
	margin: 0;
	font-weight: 700;
	color: rgb(var(--sf-brand));
}
.tjs-sf__cart-summary {
	margin-top: 2rem;
	max-width: 24rem;
}
.tjs-sf__cart-subtotal {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	font-size: 1.2rem;
	margin: 0 0 1rem;
}
.tjs-sf__cart-subtotal strong {
	color: rgb(var(--sf-brand));
	font-size: 1.4rem;
}

/* Checkout (Phase 6) */
.tjs-sf__checkout {
	display: grid;
	gap: 2rem;
	margin-bottom: 3rem;
}
@media (min-width: 900px) {
	.tjs-sf__checkout {
		grid-template-columns: 1.2fr 0.8fr;
		align-items: start;
	}
}
.tjs-sf__fieldset {
	border: 0;
	margin: 0 0 1.75rem;
	padding: 0;
}
.tjs-sf__fieldset legend {
	font-family: var(--font-display, Georgia, serif);
	font-size: 1.25rem;
	margin-bottom: 0.85rem;
	color: rgb(var(--sf-ink));
}
.tjs-sf__checkout-form label {
	display: block;
	margin-bottom: 0.85rem;
}
.tjs-sf__checkout-form label > span {
	display: block;
	font-size: 0.9rem;
	margin-bottom: 0.3rem;
}
.tjs-sf__checkout-form input[type="text"],
.tjs-sf__checkout-form input[type="email"],
.tjs-sf__checkout-form input[type="tel"],
.tjs-sf__checkout-form textarea {
	width: 100%;
	max-width: 28rem;
	padding: 0.55rem 0.7rem;
	border: 1px solid rgba(var(--sf-ink), 0.18);
	background: rgb(var(--sf-surface));
	color: rgb(var(--sf-ink));
	font: inherit;
}
.tjs-sf__radio {
	display: flex !important;
	gap: 0.65rem;
	align-items: flex-start;
	max-width: 32rem;
	margin-bottom: 0.85rem !important;
}
.tjs-sf__radio input {
	margin-top: 0.35rem;
}
.tjs-sf__checkout-summary {
	padding: 1.25rem 0;
}
.tjs-sf__cart-list--compact .tjs-sf__cart-line {
	grid-template-columns: 1fr auto;
	gap: 0.75rem;
}
.tjs-sf__flash--info {
	background: rgba(var(--sf-brand), 0.12);
}

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* Motion beats (honor reduced motion) */
html.tjs-motion-ready .tjs-sf__brand--settle,
html.tjs-motion-ready .tjs-sf__title--settle {
	animation: tjs-sf-settle var(--motion-duration-settle) var(--motion-ease-settle) both;
}
html.tjs-motion-ready .tjs-sf__lead--settle {
	animation: tjs-sf-settle var(--motion-duration-settle) var(--motion-ease-settle) both;
	animation-delay: 60ms;
}
html.tjs-motion-ready .tjs-sf__card-img {
	animation: tjs-sf-img-fade 320ms var(--motion-ease-settle) both;
}
html.tjs-motion-ready .tjs-sf__btn--affirm:active:not(:disabled) {
	animation: tjs-sf-affirm var(--motion-duration-affirm) var(--motion-ease-settle);
}

@keyframes tjs-sf-settle {
	from {
		opacity: 0;
		transform: translateY(0.45rem);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}
@keyframes tjs-sf-img-fade {
	from { opacity: 0; }
	to { opacity: 1; }
}
@keyframes tjs-sf-affirm {
	0% { transform: scale(1); }
	40% { transform: scale(1.02); }
	100% { transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
	html.tjs-motion-ready .tjs-sf__brand--settle,
	html.tjs-motion-ready .tjs-sf__title--settle,
	html.tjs-motion-ready .tjs-sf__lead--settle,
	html.tjs-motion-ready .tjs-sf__card-img,
	html.tjs-motion-ready .tjs-sf__btn--affirm:active:not(:disabled) {
		animation: none;
	}
	.tjs-sf__card-img,
	.tjs-sf__gallery-main img {
		transition: none;
	}
}

/* Theme A — Sol de Plaza */
html[data-storefront='sol'] .tjs-sf {
	--sf-radius: 0.45rem;
	background:
		radial-gradient(120% 80% at 10% -10%, rgb(var(--sf-brand-end) / 0.22) 0%, transparent 55%),
		radial-gradient(90% 60% at 100% 0%, rgb(var(--sf-brand) / 0.12) 0%, transparent 50%),
		rgb(var(--sf-surface));
}
html[data-storefront='sol'] .tjs-sf__hero--home {
	border-bottom: 1px solid rgb(var(--sf-line) / 0.65);
	padding-bottom: 1.25rem;
}
html[data-storefront='sol'] .tjs-sf__card-media {
	box-shadow: 0 10px 24px -18px rgb(196 112 8 / 0.55);
}

/* Theme B — Vitrina Nocturna */
html[data-storefront='vitrina'] .tjs-sf {
	--sf-radius: 0.2rem;
	background:
		radial-gradient(80% 50% at 50% -20%, rgb(var(--sf-brand) / 0.14) 0%, transparent 60%),
		rgb(var(--sf-surface));
}
html[data-storefront='vitrina'] .tjs-sf__header {
	background: rgb(var(--sf-panel) / 0.82);
	border-bottom-color: rgb(var(--sf-line) / 0.45);
}
html[data-storefront='vitrina'] .tjs-sf__card-media {
	border: 1px solid rgb(var(--sf-line) / 0.35);
	background: rgb(var(--sf-panel));
}
html[data-storefront='vitrina'] .tjs-sf__btn--primary {
	background: transparent;
	border: 1px solid rgb(var(--sf-brand));
	color: rgb(var(--sf-brand-end));
	box-shadow: inset 0 0 0 1px rgb(var(--sf-brand) / 0.15), 0 0 24px rgb(var(--sf-brand) / 0.12);
}
html[data-storefront='vitrina'] .tjs-sf__btn--primary:hover:not(:disabled) {
	background: rgb(var(--sf-brand) / 0.12);
	filter: none;
}
html[data-storefront='vitrina'] .tjs-sf__cart-badge {
	background: rgb(var(--sf-brand));
	color: #0c0a09;
}
html[data-storefront='vitrina'] .tjs-sf__flash--success {
	background: rgb(22 20 18);
	border-color: rgb(var(--sf-brand) / 0.55);
	color: rgb(var(--sf-ink));
}

/* Theme C — Galería Clara */
html[data-storefront='galeria'] .tjs-sf {
	--sf-radius: 0;
	background: rgb(var(--sf-surface));
}
html[data-storefront='galeria'] .tjs-sf__brand,
html[data-storefront='galeria'] .tjs-sf__title {
	font-weight: 600;
	letter-spacing: -0.03em;
	color: rgb(var(--sf-ink));
}
html[data-storefront='galeria'] .tjs-sf__header {
	background: rgb(var(--sf-surface) / 0.96);
	border-bottom-color: rgb(var(--sf-line));
}
html[data-storefront='galeria'] .tjs-sf__grid {
	gap: 2.25rem 1.75rem;
}
html[data-storefront='galeria'] .tjs-sf__card-name {
	font-family: var(--font-sf-display);
	font-weight: 500;
	font-size: 1.15rem;
}
html[data-storefront='galeria'] .tjs-sf__card-price {
	font-size: 0.95rem;
}
html[data-storefront='galeria'] .tjs-sf__btn--primary {
	background: rgb(var(--sf-brand));
	border-radius: 0;
}
html[data-storefront='galeria'] .tjs-sf__card a:hover .tjs-sf__card-img {
	transform: none;
	opacity: 0.92;
}

/* ---------- Panel forms / tables (Phase 3 catalog) ---------- */
.tjs-form label {
	display: block;
	margin-bottom: 0.9rem;
	font-size: 0.875rem;
	font-weight: 600;
	color: rgb(var(--color-ink));
}

.tjs-form input[type='text'],
.tjs-form input[type='number'],
.tjs-form textarea,
.tjs-form select {
	display: block;
	width: 100%;
	max-width: 32rem;
	margin-top: 0.35rem;
	box-sizing: border-box;
	border: 1px solid rgb(var(--color-line));
	border-radius: var(--radius);
	padding: 0.55rem 0.7rem;
	background: rgb(var(--color-panel));
	color: rgb(var(--color-ink));
	font: inherit;
	font-weight: 400;
}

.tjs-form textarea {
	resize: vertical;
}

.tjs-table-wrap {
	overflow-x: auto;
}

.tjs-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.9rem;
}

.tjs-table th,
.tjs-table td {
	text-align: left;
	padding: 0.65rem 0.5rem;
	border-bottom: 1px solid rgb(var(--color-line));
	vertical-align: top;
}

.tjs-table th {
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: rgb(var(--color-muted));
}

.tjs-auth__flash--error {
	background: rgb(var(--status-danger-bg));
	border-color: rgb(var(--status-danger-border));
	color: rgb(var(--status-danger-ink));
}

/* ---------- Phase 4: catalog depth ---------- */
.tjs-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 1rem;
	align-items: flex-end;
	margin-bottom: 1.25rem;
}

.tjs-filters label {
	font-size: 0.875rem;
	font-weight: 600;
}

.tjs-filters input,
.tjs-filters select {
	display: block;
	margin-top: 0.3rem;
	border: 1px solid rgb(var(--color-line));
	border-radius: var(--radius);
	padding: 0.45rem 0.6rem;
	background: rgb(var(--color-panel));
	font: inherit;
}

.tjs-cap-meter {
	margin-bottom: 1rem;
	padding: 0.65rem 0.85rem;
	border: 1px solid rgb(var(--color-line));
	border-radius: var(--radius);
	background: rgb(var(--color-panel));
}

.tjs-cap-meter__bar {
	margin-top: 0.45rem;
	height: 0.35rem;
	border-radius: 999px;
	background: rgb(var(--color-surface-muted));
	overflow: hidden;
}

.tjs-cap-meter__bar > span {
	display: block;
	height: 100%;
	background: linear-gradient(90deg, rgb(var(--color-brand)), rgb(var(--color-brand-end)));
}

.tjs-badge {
	display: inline-block;
	margin-left: 0.35rem;
	padding: 0.1rem 0.4rem;
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	border-radius: 0.25rem;
	vertical-align: middle;
}

.tjs-badge--digital {
	background: rgb(var(--color-brand-soft));
	color: rgb(var(--color-accent));
}

html[data-storefront] .tjs-badge--digital {
	background: rgb(var(--sf-brand) / 0.16);
	color: rgb(var(--sf-brand));
}
html[data-storefront='vitrina'] .tjs-badge--digital {
	background: rgb(var(--sf-brand) / 0.18);
	color: rgb(var(--sf-brand-end));
}

.tjs-panel-section {
	margin-top: 2.25rem;
	padding-top: 1.5rem;
	border-top: 1px solid rgb(var(--color-line));
}

.tjs-panel-section h2 {
	font-size: 1.15rem;
	margin: 0 0 0.75rem;
}

.tjs-form__fieldset {
	border: 1px solid rgb(var(--color-line));
	border-radius: var(--radius);
	padding: 0.85rem 1rem 0.25rem;
	margin: 0 0 1rem;
	max-width: 32rem;
}

.tjs-form__fieldset legend {
	padding: 0 0.35rem;
	font-size: 0.875rem;
	font-weight: 700;
}

.tjs-form__check {
	display: flex !important;
	align-items: center;
	gap: 0.5rem;
	font-weight: 500 !important;
}

.tjs-form__check input {
	width: auto;
	margin: 0;
}

.tjs-form input[type='file'] {
	display: block;
	width: 100%;
	max-width: 32rem;
	margin-top: 0.35rem;
	font: inherit;
	font-weight: 400;
}

.tjs-img-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.85rem;
}

.tjs-img-list__item {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	padding: 0.5rem;
	border: 1px solid rgb(var(--color-line));
	border-radius: var(--radius);
	background: rgb(var(--color-panel));
}

.tjs-img-list__item.is-cover {
	border-color: rgb(var(--color-brand));
	box-shadow: 0 0 0 1px rgb(var(--color-brand) / 0.35);
}

.tjs-img-list__item img {
	width: 96px;
	height: 96px;
	object-fit: cover;
	border-radius: calc(var(--radius) - 2px);
	background: rgb(var(--color-surface-muted));
}

.tjs-img-list__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem 0.4rem;
	max-width: 10rem;
}

.tjs-sf__pdp-grid {
	display: grid;
	gap: 1.5rem;
}

@media (min-width: 768px) {
	.tjs-sf__pdp-grid {
		grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
		align-items: start;
	}
}

.tjs-sf__gallery-main {
	margin: 0;
	border-radius: var(--radius);
	overflow: hidden;
	background: rgb(var(--sf-panel, var(--color-panel)));
}

.tjs-sf__gallery-main img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	object-fit: cover;
}

.tjs-sf__gallery-thumbs {
	list-style: none;
	margin: 0.65rem 0 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
}

.tjs-sf__thumb {
	padding: 0;
	border: 2px solid transparent;
	border-radius: 0.35rem;
	background: none;
	cursor: pointer;
	overflow: hidden;
}

.tjs-sf__thumb:hover,
.tjs-sf__thumb:focus-visible {
	border-color: rgb(var(--color-brand));
	outline: none;
}

.tjs-sf__thumb img {
	display: block;
	width: 72px;
	height: 72px;
	object-fit: cover;
}

.tjs-sf__digital {
	margin: 0.35rem 0 0.75rem;
	font-size: 0.9rem;
	color: rgb(var(--color-muted));
}

.tjs-sf__variants {
	margin: 1rem 0;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.tjs-sf__opt {
	display: flex;
	flex-direction: column;
	gap: 0.3rem;
	font-size: 0.875rem;
	font-weight: 600;
}

.tjs-sf__opt-select {
	font: inherit;
	font-weight: 400;
	padding: 0.5rem 0.65rem;
	border: 1px solid rgb(var(--sf-line, var(--color-line)));
	border-radius: var(--radius);
	background: rgb(var(--sf-panel, var(--color-panel)));
	color: inherit;
	max-width: 16rem;
}

.tjs-sf__variant-status {
	margin: 0;
	font-size: 0.85rem;
	color: rgb(var(--color-muted));
	min-height: 1.25em;
}

/* Phase 8 — dashboard KPIs + order status chips */
.tjs-kpi-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.85rem;
	margin: 0 0 0.5rem;
}

@media (min-width: 640px) {
	.tjs-kpi-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1024px) {
	.tjs-kpi-grid {
		grid-template-columns: repeat(4, 1fr);
	}
}

.tjs-kpi {
	padding: 1rem 1.1rem;
	background: linear-gradient(160deg, rgb(var(--color-panel)), rgb(var(--color-surface-muted) / 0.55));
	border: 1px solid rgb(var(--color-line));
	border-radius: var(--radius);
}

.tjs-kpi__label {
	margin: 0;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: rgb(var(--color-muted));
}

.tjs-kpi__value {
	margin: 0.35rem 0 0;
	font-size: 1.55rem;
	font-weight: 800;
	line-height: 1.15;
	color: rgb(var(--color-ink));
	letter-spacing: -0.02em;
}

.tjs-kpi__hint {
	margin: 0.35rem 0 0;
	font-size: 0.8rem;
	color: rgb(var(--color-muted));
	line-height: 1.35;
}

.tjs-status {
	display: inline-block;
	padding: 0.15rem 0.45rem;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	border-radius: 0.25rem;
	border: 1px solid transparent;
	vertical-align: middle;
}

.tjs-status--success {
	background: rgb(var(--status-success-bg));
	border-color: rgb(var(--status-success-border));
	color: rgb(var(--status-success-ink));
}

.tjs-status--warning {
	background: rgb(var(--status-warning-bg));
	border-color: rgb(var(--status-warning-border));
	color: rgb(var(--status-warning-ink));
}

.tjs-status--danger {
	background: rgb(var(--status-danger-bg));
	border-color: rgb(var(--status-danger-border));
	color: rgb(var(--status-danger-ink));
}

.tjs-status--info {
	background: rgb(var(--status-info-bg));
	border-color: rgb(var(--status-info-border));
	color: rgb(var(--status-info-ink));
}

.tjs-status--muted {
	background: rgb(var(--color-surface-muted));
	border-color: rgb(var(--color-line));
	color: rgb(var(--color-muted));
}

.tjs-ops-links {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.45rem;
}

.tjs-ops-links a {
	font-weight: 600;
	text-decoration: none;
	color: rgb(var(--color-accent));
}

.tjs-ops-links a:hover {
	text-decoration: underline;
}

.tjs-timeline {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.85rem;
}

.tjs-timeline li {
	padding-left: 0.85rem;
	border-left: 2px solid rgb(var(--color-line));
}

.tjs-wa-link {
	color: rgb(var(--color-whatsapp));
	font-weight: 700;
	text-decoration: none;
}

.tjs-wa-link:hover {
	text-decoration: underline;
}

/* ---------- Phase 15 — shell Más sheet + storefront polish ---------- */
.tjs-shell__tabs a:focus-visible,
.tjs-shell__nav a:focus-visible,
.tjs-shell__more-btn:focus-visible {
	outline: 2px solid rgb(var(--color-brand));
	outline-offset: 2px;
}

.tjs-shell__more-btn {
	appearance: none;
	border: 0;
	background: transparent;
	padding: 0;
	margin: 0;
	font: inherit;
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.2rem;
	color: rgb(var(--color-muted));
	font-size: 0.65rem;
	font-weight: 600;
	border-radius: var(--radius);
	cursor: pointer;
}

.tjs-shell__more-btn.is-active,
.tjs-shell__more-btn[aria-expanded='true'] {
	color: rgb(var(--color-accent));
}

.tjs-shell__sheet {
	position: fixed;
	left: 0;
	right: 0;
	bottom: var(--bottom-tabs-h);
	z-index: 39;
	padding: 0.85rem 1rem calc(0.85rem + env(safe-area-inset-bottom, 0));
	background: rgb(var(--color-panel));
	border-top: 1px solid rgb(var(--color-line) / 0.55);
	box-shadow: 0 -12px 32px rgb(28 25 23 / 0.1);
	transform: translateY(110%);
	opacity: 0;
	pointer-events: none;
	transition: transform var(--motion-duration-shell) var(--motion-ease-settle),
		opacity var(--motion-duration-shell) var(--motion-ease-settle);
}

.tjs-shell__sheet.is-open {
	transform: translateY(0);
	opacity: 1;
	pointer-events: auto;
}

.tjs-shell__sheet-title {
	margin: 0 0 0.65rem;
	font-family: var(--font-display);
	font-size: 1.05rem;
	font-weight: 600;
}

.tjs-shell__sheet-nav {
	display: grid;
	gap: 0.15rem;
}

.tjs-shell__sheet-nav a {
	display: block;
	padding: 0.7rem 0.35rem;
	text-decoration: none;
	color: rgb(var(--color-ink));
	font-weight: 600;
	border-bottom: 1px solid rgb(var(--color-line) / 0.35);
}

.tjs-shell__sheet-nav a:last-child {
	border-bottom: 0;
}

.tjs-shell__sheet-nav a.is-active {
	color: rgb(var(--color-accent));
}

.tjs-shell__sheet-backdrop {
	position: fixed;
	inset: 0;
	z-index: 38;
	background: rgb(28 25 23 / 0.28);
	opacity: 0;
	pointer-events: none;
	transition: opacity var(--motion-duration-shell) ease;
}

.tjs-shell__sheet-backdrop.is-open {
	opacity: 1;
	pointer-events: auto;
}

@media (min-width: 768px) {
	.tjs-shell__sheet,
	.tjs-shell__sheet-backdrop,
	.tjs-shell__more-btn {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.tjs-shell__sheet,
	.tjs-shell__sheet-backdrop {
		transition: none;
	}
}

.tjs-sf__brand {
	display: inline-flex;
	align-items: center;
	gap: 0.65rem;
}

.tjs-sf__brand-logo {
	display: block;
	width: auto;
	height: 2rem;
	max-width: 7rem;
	object-fit: contain;
}

.tjs-sf__brand-text {
	display: inline;
}

html[data-storefront='galeria'] .tjs-sf__main {
	padding-top: 2.25rem;
}

html[data-storefront='galeria'] .tjs-sf__card-media {
	background: #fff;
}

html[data-storefront='galeria'] .tjs-sf__card-img {
	aspect-ratio: 4 / 5;
}

html[data-storefront='galeria'] .tjs-sf__card-ph {
	aspect-ratio: 4 / 5;
}

html[data-storefront='galeria'] .tjs-sf__hero--home {
	padding-bottom: 1.5rem;
	margin-bottom: 2rem;
	border-bottom: 1px solid rgb(var(--sf-line));
}

html[data-storefront='galeria'] .tjs-sf__pdp-grid {
	gap: 2.5rem;
}

html[data-storefront='galeria'] .tjs-sf__gallery-main {
	background: #fff;
}

html[data-storefront='galeria'] .tjs-sf__empty {
	padding: 3.5rem 0;
}

html[data-storefront='vitrina'] .tjs-sf__card-img {
	aspect-ratio: 3 / 4;
}

html[data-storefront='vitrina'] .tjs-sf__skip:focus {
	background: rgb(var(--sf-brand));
	color: #0c0a09;
}

html[data-storefront='sol'] .tjs-sf__cats a {
	border-radius: 999px;
	border: 1px solid rgb(var(--sf-line) / 0.75);
	padding: 0.25rem 0.75rem;
	border-bottom-width: 1px;
}

html[data-storefront='sol'] .tjs-sf__cats a:hover {
	background: rgb(var(--sf-brand) / 0.08);
}

.tjs-home__cta a:focus-visible,
.tjs-home__btn:focus-visible,
.tjs-home__nav-links a:focus-visible,
.tjs-home__nav-brand:focus-visible {
	outline: 2px solid rgb(var(--color-brand));
	outline-offset: 3px;
}

.tjs-auth__submit:focus-visible {
	outline: 2px solid rgb(var(--color-ink));
	outline-offset: 2px;
}

.tjs-auth__footer-link {
	display: block;
	margin-top: 1rem;
	text-align: center;
	font-size: 0.9rem;
}

.tjs-auth__footer-link a {
	color: rgb(var(--color-accent));
	font-weight: 600;
}

