.tsdm-app,
.tsdm-app * {
	box-sizing: border-box;
}

.tsdm-app {
	--tsdm-primary: #ff6b35;
	--tsdm-accent: #ffd166;
	--tsdm-bg: #0f0f10;
	--tsdm-surface: #18181b;
	--tsdm-surface-2: #222226;
	--tsdm-text: #f8f7f3;
	--tsdm-muted: #aaa9a3;
	--tsdm-line: rgba(255, 255, 255, 0.09);
	--tsdm-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
	position: relative;
	width: 100vw;
	max-width: none;
	min-height: 100vh;
	margin-inline: calc(50% - 50vw);
	overflow: clip;
	background:
		radial-gradient(circle at 92% 8%, color-mix(in srgb, var(--tsdm-primary) 12%, transparent), transparent 27rem),
		var(--tsdm-bg);
	color: var(--tsdm-text);
	font-family: Tahoma, Arial, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
	font-size: 15px;
	line-height: 1.7;
	text-align: right;
	color-scheme: dark;
	-webkit-font-smoothing: antialiased;
}

.tsdm-app[data-theme="light"] {
	--tsdm-bg: #f5f3ee;
	--tsdm-surface: #ffffff;
	--tsdm-surface-2: #ece9e2;
	--tsdm-text: #1b1b1b;
	--tsdm-muted: #6b6963;
	--tsdm-line: rgba(20, 20, 20, 0.1);
	--tsdm-shadow: 0 22px 50px rgba(47, 42, 33, 0.1);
	color-scheme: light;
}

.tsdm-menu-page .entry-header,
.tsdm-menu-page .page-header {
	display: none !important;
}

.tsdm-app button,
.tsdm-app input {
	font: inherit;
}

.tsdm-app button,
.tsdm-app a {
	-webkit-tap-highlight-color: transparent;
}

.tsdm-app button {
	color: inherit;
}

.tsdm-app svg {
	display: block;
	width: 1.35em;
	height: 1.35em;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.tsdm-hero {
	position: relative;
	min-height: 430px;
	isolation: isolate;
	background:
		linear-gradient(90deg, rgba(8, 8, 9, 0.94), rgba(8, 8, 9, 0.28)),
		var(--tsdm-hero-image, linear-gradient(135deg, #161619, #2b1d16));
	background-position: center;
	background-size: cover;
	color: #fff;
}

.tsdm-hero::before {
	position: absolute;
	z-index: -1;
	inset: 0;
	background:
		linear-gradient(0deg, var(--tsdm-bg) 0%, transparent 36%),
		radial-gradient(circle at 75% 28%, color-mix(in srgb, var(--tsdm-primary) 35%, transparent), transparent 35%);
	content: "";
}

.tsdm-hero-overlay {
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image: linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
	background-size: 38px 38px;
	mask-image: linear-gradient(to bottom, #000, transparent);
}

.tsdm-hero-inner {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	width: min(1180px, calc(100% - 40px));
	min-height: 430px;
	margin: 0 auto;
	padding: 80px 0 72px;
	gap: 30px;
}

.tsdm-brand {
	display: flex;
	align-items: center;
	max-width: 720px;
	gap: 22px;
}

.tsdm-logo,
.tsdm-logo-placeholder {
	flex: 0 0 auto;
	width: 104px;
	height: 104px;
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 28px;
	background: rgba(255, 255, 255, 0.1);
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
	object-fit: cover;
	backdrop-filter: blur(18px);
}

.tsdm-logo-placeholder {
	display: grid;
	place-items: center;
	font-size: 44px;
}

.tsdm-eyebrow {
	display: flex;
	align-items: center;
	margin: 0 0 6px;
	color: var(--tsdm-accent);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
}

.tsdm-eyebrow::before {
	width: 24px;
	height: 2px;
	margin-left: 9px;
	border-radius: 99px;
	background: currentColor;
	content: "";
}

.tsdm-brand h1 {
	margin: 0;
	color: #fff;
	font-size: clamp(34px, 5vw, 64px);
	font-weight: 800;
	line-height: 1.25;
	letter-spacing: -0.035em;
}

.tsdm-subtitle {
	margin: 8px 0 0;
	color: rgba(255, 255, 255, 0.68);
	font-size: 16px;
}

.tsdm-hero-actions {
	display: flex;
	align-items: center;
	padding-bottom: 4px;
	gap: 10px;
}

.tsdm-open-pill {
	display: inline-flex;
	align-items: center;
	min-height: 46px;
	padding: 0 17px;
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 999px;
	background: rgba(14, 14, 15, 0.42);
	color: rgba(255, 255, 255, 0.88);
	font-size: 13px;
	backdrop-filter: blur(18px);
}

.tsdm-open-pill i {
	width: 8px;
	height: 8px;
	margin-left: 9px;
	border-radius: 50%;
	background: #55d98b;
	box-shadow: 0 0 0 5px rgba(85, 217, 139, 0.12);
}

.tsdm-icon-button {
	display: grid;
	width: 46px;
	height: 46px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 50%;
	background: rgba(14, 14, 15, 0.42);
	color: #fff;
	cursor: pointer;
	place-items: center;
	backdrop-filter: blur(18px);
	transition: transform 180ms ease, background 180ms ease;
}

.tsdm-icon-button:hover {
	background: var(--tsdm-primary);
	transform: translateY(-2px);
}

.tsdm-shell {
	width: min(1180px, calc(100% - 40px));
	margin: -30px auto 0;
}

.tsdm-toolbar {
	position: relative;
	z-index: 5;
	padding: 18px;
	border: 1px solid var(--tsdm-line);
	border-radius: 24px;
	background: color-mix(in srgb, var(--tsdm-surface) 88%, transparent);
	box-shadow: var(--tsdm-shadow);
	backdrop-filter: blur(20px);
}

.tsdm-search {
	position: relative;
	display: flex;
	align-items: center;
	width: 100%;
}

.tsdm-search > svg {
	position: absolute;
	right: 17px;
	z-index: 1;
	color: var(--tsdm-muted);
	pointer-events: none;
}

.tsdm-search input {
	width: 100%;
	height: 54px;
	margin: 0;
	padding: 0 48px 0 46px;
	border: 1px solid transparent;
	border-radius: 16px;
	outline: 0;
	background: var(--tsdm-surface-2);
	color: var(--tsdm-text);
	box-shadow: none;
	transition: border-color 180ms ease, box-shadow 180ms ease;
}

.tsdm-search input::placeholder {
	color: var(--tsdm-muted);
	opacity: 0.78;
}

.tsdm-search input:focus {
	border-color: color-mix(in srgb, var(--tsdm-primary) 70%, transparent);
	box-shadow: 0 0 0 4px color-mix(in srgb, var(--tsdm-primary) 12%, transparent);
}

.tsdm-search-clear {
	position: absolute;
	left: 12px;
	width: 32px;
	height: 32px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--tsdm-muted);
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
}

.tsdm-filter-row {
	display: flex;
	margin-top: 13px;
	padding: 0 2px 2px;
	overflow-x: auto;
	gap: 8px;
	scrollbar-width: none;
}

.tsdm-filter-row::-webkit-scrollbar,
.tsdm-category-scroll::-webkit-scrollbar {
	display: none;
}

.tsdm-filter {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	height: 36px;
	padding: 0 14px;
	border: 1px solid var(--tsdm-line);
	border-radius: 999px;
	background: transparent;
	color: var(--tsdm-muted);
	font-size: 12px;
	font-weight: 700;
	cursor: pointer;
	gap: 6px;
	transition: 180ms ease;
}

.tsdm-filter svg {
	width: 15px;
}

.tsdm-filter:hover,
.tsdm-filter.is-active {
	border-color: var(--tsdm-primary);
	background: var(--tsdm-primary);
	color: #fff;
}

.tsdm-filter-favorite.is-active svg {
	fill: currentColor;
}

.tsdm-category-nav {
	position: sticky;
	z-index: 20;
	top: 0;
	margin: 0 -12px;
	padding: 16px 12px 12px;
	background: linear-gradient(var(--tsdm-bg) 70%, transparent);
}

.admin-bar .tsdm-category-nav {
	top: 32px;
}

.tsdm-category-scroll {
	display: flex;
	padding: 6px;
	overflow-x: auto;
	border: 1px solid var(--tsdm-line);
	border-radius: 18px;
	background: color-mix(in srgb, var(--tsdm-surface) 92%, transparent);
	box-shadow: 0 12px 36px rgba(0, 0, 0, 0.1);
	gap: 4px;
	scrollbar-width: none;
	backdrop-filter: blur(22px);
}

.tsdm-category {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	height: 42px;
	padding: 0 17px;
	border: 0;
	border-radius: 13px;
	background: transparent;
	color: var(--tsdm-muted);
	font-size: 13px;
	font-weight: 700;
	cursor: pointer;
	gap: 7px;
	transition: color 180ms ease, background 180ms ease;
}

.tsdm-category:hover {
	color: var(--tsdm-text);
}

.tsdm-category.is-active {
	background: var(--tsdm-primary);
	color: #fff;
}

.tsdm-menu-content {
	min-height: 360px;
}

.tsdm-section {
	padding: 34px 0 20px;
	scroll-margin-top: 82px;
}

.tsdm-section[hidden] {
	display: none;
}

.tsdm-section-heading {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	margin-bottom: 18px;
	padding: 0 3px;
	gap: 20px;
}

.tsdm-section-heading h2 {
	margin: 0;
	color: var(--tsdm-text);
	font-size: clamp(24px, 3vw, 32px);
	font-weight: 800;
	line-height: 1.35;
	letter-spacing: -0.025em;
}

.tsdm-section-heading p {
	margin: 4px 0 0;
	color: var(--tsdm-muted);
	font-size: 13px;
}

.tsdm-section-heading > span {
	flex: 0 0 auto;
	color: var(--tsdm-muted);
	font-size: 12px;
}

.tsdm-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.tsdm-card {
	position: relative;
	min-width: 0;
	overflow: hidden;
	border: 1px solid var(--tsdm-line);
	border-radius: 22px;
	background: var(--tsdm-surface);
	box-shadow: 0 12px 36px rgba(0, 0, 0, 0.08);
	transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.tsdm-card[hidden] {
	display: none;
}

.tsdm-card:hover {
	border-color: color-mix(in srgb, var(--tsdm-primary) 42%, var(--tsdm-line));
	box-shadow: 0 22px 52px rgba(0, 0, 0, 0.16);
	transform: translateY(-4px);
}

.tsdm-card-open {
	display: block;
	width: 100%;
	height: 100%;
	padding: 0;
	border: 0;
	background: transparent;
	text-align: right;
	cursor: pointer;
}

.tsdm-card-image {
	position: relative;
	height: 210px;
	overflow: hidden;
	background:
		radial-gradient(circle at 70% 25%, color-mix(in srgb, var(--tsdm-primary) 16%, transparent), transparent 45%),
		var(--tsdm-surface-2);
}

.tsdm-card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 450ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.tsdm-card:hover .tsdm-card-image img {
	transform: scale(1.045);
}

.tsdm-image-placeholder {
	display: grid;
	width: 100%;
	height: 100%;
	color: color-mix(in srgb, var(--tsdm-muted) 55%, transparent);
	place-items: center;
}

.tsdm-image-placeholder svg {
	width: 55px;
	height: 55px;
	stroke-width: 1.1;
}

.tsdm-badge,
.tsdm-sold-out {
	position: absolute;
	top: 14px;
	right: 14px;
	padding: 6px 11px;
	border-radius: 999px;
	background: var(--tsdm-primary);
	color: #fff;
	font-size: 10px;
	font-weight: 800;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.tsdm-sold-out {
	background: rgba(20, 20, 22, 0.82);
	backdrop-filter: blur(10px);
}

.tsdm-card.is-unavailable .tsdm-card-image img {
	filter: grayscale(0.75);
	opacity: 0.65;
}

.tsdm-card-body {
	display: flex;
	flex-direction: column;
	min-height: 218px;
	padding: 19px;
}

.tsdm-card-title-row {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 8px;
}

.tsdm-card h3 {
	margin: 0;
	color: var(--tsdm-text);
	font-size: 17px;
	font-weight: 800;
	line-height: 1.5;
}

.tsdm-diet-icon {
	display: inline-grid;
	flex: 0 0 auto;
	width: 22px;
	height: 22px;
	border: 1px solid #4fb878;
	border-radius: 6px;
	color: #4fb878;
	font-family: Arial, sans-serif;
	font-size: 10px;
	font-weight: 800;
	place-items: center;
}

.tsdm-card-body > p {
	display: -webkit-box;
	margin: 8px 0 0;
	overflow: hidden;
	color: var(--tsdm-muted);
	font-size: 12px;
	line-height: 1.85;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.tsdm-card-meta {
	display: flex;
	align-items: center;
	min-height: 27px;
	margin-top: 10px;
	color: var(--tsdm-muted);
	font-size: 10px;
	gap: 10px;
}

.tsdm-card-meta span {
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

.tsdm-card-meta svg {
	width: 14px;
	height: 14px;
}

.tsdm-card-meta .tsdm-spicy {
	font-size: 14px;
}

.tsdm-price-row {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	margin-top: auto;
	padding-top: 14px;
	border-top: 1px solid var(--tsdm-line);
	gap: 12px;
}

.tsdm-price {
	display: flex;
	flex-direction: column;
}

.tsdm-price del {
	color: var(--tsdm-muted);
	font-size: 10px;
}

.tsdm-price strong {
	color: var(--tsdm-text);
	font-size: 14px;
	font-weight: 800;
}

.tsdm-plus {
	display: grid;
	width: 34px;
	height: 34px;
	border-radius: 11px;
	background: color-mix(in srgb, var(--tsdm-primary) 13%, transparent);
	color: var(--tsdm-primary);
	font-family: Arial, sans-serif;
	font-size: 23px;
	line-height: 1;
	place-items: center;
}

.tsdm-card.is-unavailable .tsdm-plus {
	background: var(--tsdm-surface-2);
	color: var(--tsdm-muted);
}

.tsdm-favorite {
	position: absolute;
	z-index: 3;
	top: 14px;
	left: 14px;
	display: grid;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 50%;
	background: rgba(14, 14, 15, 0.48);
	color: #fff;
	cursor: pointer;
	place-items: center;
	backdrop-filter: blur(10px);
	transition: 180ms ease;
}

.tsdm-favorite svg {
	width: 17px;
	height: 17px;
}

.tsdm-favorite:hover,
.tsdm-favorite.is-active {
	border-color: #ff4d72;
	background: #ff4d72;
	color: #fff;
	transform: scale(1.06);
}

.tsdm-favorite.is-active svg {
	fill: currentColor;
}

.tsdm-no-results,
.tsdm-empty-menu {
	display: grid;
	min-height: 340px;
	padding: 50px 20px;
	text-align: center;
	place-content: center;
	justify-items: center;
}

.tsdm-no-results[hidden] {
	display: none;
}

.tsdm-no-results > span,
.tsdm-empty-menu > span {
	font-size: 54px;
	filter: grayscale(0.3);
}

.tsdm-no-results strong,
.tsdm-empty-menu h2 {
	margin: 14px 0 0;
	color: var(--tsdm-text);
	font-size: 22px;
}

.tsdm-no-results p,
.tsdm-empty-menu p {
	margin: 4px 0 0;
	color: var(--tsdm-muted);
}

.tsdm-empty-menu a {
	margin-top: 18px;
	padding: 10px 16px;
	border-radius: 12px;
	background: var(--tsdm-primary);
	color: #fff;
	text-decoration: none;
}

.tsdm-footer {
	display: grid;
	grid-template-columns: 1fr auto;
	margin-top: 64px;
	padding: 32px 0 42px;
	border-top: 1px solid var(--tsdm-line);
	gap: 18px 30px;
}

.tsdm-footer strong {
	color: var(--tsdm-text);
	font-size: 17px;
}

.tsdm-footer p {
	margin: 5px 0 0;
	color: var(--tsdm-muted);
	font-size: 12px;
}

.tsdm-footer-actions {
	display: flex;
	align-items: center;
	gap: 8px;
}

.tsdm-footer-actions a {
	padding: 8px 14px;
	border: 1px solid var(--tsdm-line);
	border-radius: 10px;
	color: var(--tsdm-text);
	font-size: 12px;
	font-weight: 700;
	text-decoration: none;
	transition: 180ms ease;
}

.tsdm-footer-actions a:hover {
	border-color: var(--tsdm-primary);
	background: var(--tsdm-primary);
	color: #fff;
}

.tsdm-footer small {
	grid-column: 1 / -1;
	color: var(--tsdm-muted);
	font-size: 10px;
}

.tsdm-modal[hidden] {
	display: none;
}

.tsdm-modal {
	position: fixed;
	z-index: 999999;
	inset: 0;
	display: grid;
	place-items: center;
	padding: 22px;
	visibility: hidden;
	overscroll-behavior: contain;
}

.tsdm-modal.is-open {
	visibility: visible;
}

.tsdm-modal-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.72);
	opacity: 0;
	backdrop-filter: blur(8px);
	transition: opacity 250ms ease;
}

.tsdm-modal.is-open .tsdm-modal-backdrop {
	opacity: 1;
}

.tsdm-sheet {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(280px, 0.85fr) minmax(360px, 1.15fr);
	width: min(820px, 100%);
	max-height: min(720px, calc(100vh - 44px));
	overflow: hidden;
	border: 1px solid var(--tsdm-line);
	border-radius: 28px;
	background: var(--tsdm-surface);
	box-shadow: 0 34px 90px rgba(0, 0, 0, 0.42);
	opacity: 0;
	transform: translateY(28px) scale(0.98);
	transition: opacity 250ms ease, transform 250ms ease;
}

.tsdm-modal.is-open .tsdm-sheet {
	opacity: 1;
	transform: translateY(0) scale(1);
}

.tsdm-sheet-close {
	position: absolute;
	z-index: 3;
	top: 14px;
	left: 14px;
	display: grid;
	width: 38px;
	height: 38px;
	padding: 0 0 3px;
	border: 1px solid rgba(255, 255, 255, 0.15);
	border-radius: 50%;
	background: rgba(10, 10, 11, 0.55);
	color: #fff;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
	place-items: center;
	backdrop-filter: blur(10px);
}

.tsdm-sheet-media {
	position: relative;
	display: grid;
	min-height: 460px;
	overflow: hidden;
	background: var(--tsdm-surface-2);
	place-items: center;
}

.tsdm-sheet-media img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 460px;
	max-height: 720px;
	object-fit: cover;
	object-position: center;
}

.tsdm-modal-placeholder {
	position: relative;
	display: grid;
	width: 100%;
	height: 100%;
	min-height: 460px;
	overflow: hidden;
	background:
		radial-gradient(circle at 72% 22%, color-mix(in srgb, var(--tsdm-primary) 30%, transparent), transparent 35%),
		linear-gradient(145deg, color-mix(in srgb, var(--tsdm-primary) 12%, var(--tsdm-surface-2)), var(--tsdm-surface-2));
	place-items: center;
}

.tsdm-modal-placeholder::before,
.tsdm-modal-placeholder::after {
	position: absolute;
	border: 1px solid color-mix(in srgb, var(--tsdm-text) 10%, transparent);
	border-radius: 50%;
	content: "";
}

.tsdm-modal-placeholder::before {
	top: -80px;
	right: -70px;
	width: 240px;
	height: 240px;
}

.tsdm-modal-placeholder::after {
	bottom: -65px;
	left: -55px;
	width: 170px;
	height: 170px;
}

.tsdm-modal-placeholder svg {
	position: relative;
	z-index: 1;
	width: 104px;
	height: 104px;
	padding: 25px;
	border: 1px solid color-mix(in srgb, var(--tsdm-text) 16%, transparent);
	border-radius: 34px;
	background: color-mix(in srgb, var(--tsdm-text) 8%, transparent);
	color: color-mix(in srgb, var(--tsdm-text) 74%, transparent);
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.35;
	box-shadow: 0 24px 55px rgba(0, 0, 0, 0.2);
	backdrop-filter: blur(10px);
}

.tsdm-sheet-content {
	display: flex;
	flex-direction: column;
	overflow: auto;
	padding: 42px 34px 30px;
	overscroll-behavior: contain;
}

.tsdm-sheet-content h2 {
	margin: 0;
	color: var(--tsdm-text);
	font-size: 30px;
	font-weight: 800;
	line-height: 1.45;
}

.tsdm-sheet-tags {
	display: flex;
	flex-wrap: wrap;
	margin-bottom: 14px;
	gap: 6px;
}

.tsdm-sheet-tags[hidden],
.tsdm-sheet-stats[hidden],
.tsdm-sheet-variants[hidden],
.tsdm-sheet-info[hidden] {
	display: none;
}

.tsdm-sheet-tags span {
	padding: 5px 9px;
	border-radius: 8px;
	background: color-mix(in srgb, var(--tsdm-primary) 12%, transparent);
	color: var(--tsdm-primary);
	font-size: 10px;
	font-weight: 700;
}

.tsdm-sheet-description {
	margin: 10px 0 0;
	color: var(--tsdm-muted);
	font-size: 13px;
	line-height: 2;
}

.tsdm-sheet-stats {
	display: flex;
	margin-top: 18px;
	gap: 8px;
}

.tsdm-sheet-stats span {
	padding: 7px 10px;
	border: 1px solid var(--tsdm-line);
	border-radius: 9px;
	color: var(--tsdm-muted);
	font-size: 10px;
}

.tsdm-sheet-variants {
	display: grid;
	margin-top: 18px;
	overflow: hidden;
	border: 1px solid var(--tsdm-line);
	border-radius: 13px;
}

.tsdm-sheet-variants > div {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 10px 13px;
	gap: 15px;
}

.tsdm-sheet-variants > div + div {
	border-top: 1px solid var(--tsdm-line);
}

.tsdm-sheet-variants span {
	color: var(--tsdm-muted);
	font-size: 12px;
}

.tsdm-sheet-variants strong {
	color: var(--tsdm-text);
	font-size: 12px;
}

.tsdm-sheet-info {
	display: grid;
	margin-top: 20px;
	gap: 8px;
}

.tsdm-sheet-info > div {
	padding: 12px 14px;
	border-radius: 12px;
	background: var(--tsdm-surface-2);
}

.tsdm-sheet-info > div.is-warning {
	background: color-mix(in srgb, #f0a43b 10%, var(--tsdm-surface-2));
}

.tsdm-sheet-info strong {
	color: var(--tsdm-text);
	font-size: 11px;
}

.tsdm-sheet-info p {
	margin: 3px 0 0;
	color: var(--tsdm-muted);
	font-size: 11px;
}

.tsdm-sheet-price {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	margin-top: auto;
	padding-top: 24px;
	gap: 14px;
}

.tsdm-sheet-price > div {
	display: flex;
	flex-direction: column;
}

.tsdm-sheet-price del {
	color: var(--tsdm-muted);
	font-size: 11px;
}

.tsdm-sheet-price strong {
	color: var(--tsdm-text);
	font-size: 20px;
}

.tsdm-sheet-price > span {
	padding: 7px 11px;
	border-radius: 9px;
	font-size: 10px;
	font-weight: 700;
}

.tsdm-sheet-price > span.is-available {
	background: rgba(70, 186, 119, 0.12);
	color: #4fbc7d;
}

.tsdm-sheet-price > span.is-unavailable {
	background: rgba(222, 75, 92, 0.12);
	color: #e56877;
}

.tsdm-modal-open {
	overflow: hidden;
}

.tsdm-toast {
	position: fixed;
	z-index: 1000000;
	right: 50%;
	bottom: 30px;
	padding: 10px 16px;
	border: 1px solid rgba(255, 255, 255, 0.15);
	border-radius: 12px;
	background: #171719;
	color: #fff;
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
	font-size: 12px;
	opacity: 0;
	pointer-events: none;
	transform: translate(50%, 14px);
	transition: 220ms ease;
}

.tsdm-toast.is-visible {
	opacity: 1;
	transform: translate(50%, 0);
}

.tsdm-back-top {
	position: fixed;
	z-index: 30;
	right: 24px;
	bottom: 24px;
	display: grid;
	width: 45px;
	height: 45px;
	padding: 0;
	border: 1px solid var(--tsdm-line);
	border-radius: 50%;
	background: var(--tsdm-primary);
	color: #fff;
	box-shadow: 0 12px 30px color-mix(in srgb, var(--tsdm-primary) 25%, transparent);
	cursor: pointer;
	place-items: center;
}

.tsdm-back-top[hidden] {
	display: none;
}

.tsdm-back-top svg {
	width: 18px;
}

@media (max-width: 900px) {
	.tsdm-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.tsdm-hero {
		min-height: 380px;
	}

	.tsdm-hero-inner {
		min-height: 380px;
	}
}

@media (max-width: 782px) {
	.admin-bar .tsdm-category-nav {
		top: 46px;
	}
}

@media (max-width: 640px) {
	.tsdm-app {
		font-size: 14px;
	}

	.tsdm-hero {
		min-height: 350px;
		background-image:
			linear-gradient(0deg, rgba(8, 8, 9, 0.94), rgba(8, 8, 9, 0.2)),
			var(--tsdm-hero-image, linear-gradient(135deg, #161619, #2b1d16));
	}

	.tsdm-hero-inner {
		align-items: flex-start;
		flex-direction: column;
		justify-content: flex-end;
		width: calc(100% - 28px);
		min-height: 350px;
		padding: 62px 0 52px;
		gap: 18px;
	}

	.tsdm-brand {
		align-items: flex-end;
		gap: 14px;
	}

	.tsdm-logo,
	.tsdm-logo-placeholder {
		width: 72px;
		height: 72px;
		border-radius: 20px;
	}

	.tsdm-logo-placeholder {
		font-size: 30px;
	}

	.tsdm-brand h1 {
		font-size: 31px;
	}

	.tsdm-subtitle {
		font-size: 13px;
	}

	.tsdm-hero-actions {
		width: 100%;
		padding: 0;
	}

	.tsdm-open-pill {
		flex: 1 1 auto;
		justify-content: center;
	}

	.tsdm-shell {
		width: calc(100% - 24px);
		margin-top: -22px;
	}

	.tsdm-toolbar {
		padding: 12px;
		border-radius: 20px;
	}

	.tsdm-search input {
		height: 50px;
		border-radius: 14px;
	}

	.tsdm-category-nav {
		margin: 0 -6px;
		padding-inline: 6px;
	}

	.tsdm-category-scroll {
		border-radius: 16px;
	}

	.tsdm-category {
		height: 39px;
		padding-inline: 13px;
		font-size: 11px;
	}

	.tsdm-section {
		padding-top: 28px;
	}

	.tsdm-section-heading {
		margin-bottom: 14px;
	}

	.tsdm-section-heading h2 {
		font-size: 23px;
	}

	.tsdm-grid {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	.tsdm-card {
		border-radius: 18px;
	}

	.tsdm-card:hover {
		transform: none;
	}

	.tsdm-card-open {
		display: grid;
		grid-template-columns: 122px minmax(0, 1fr);
		min-height: 154px;
	}

	.tsdm-card-image {
		grid-column: 1;
		grid-row: 1;
		height: 100%;
		min-height: 154px;
	}

	.tsdm-card-body {
		grid-column: 2;
		grid-row: 1;
		min-height: 154px;
		padding: 15px 14px 13px;
	}

	.tsdm-card h3 {
		font-size: 14px;
	}

	.tsdm-card-body > p {
		margin-top: 5px;
		font-size: 10px;
		line-height: 1.8;
	}

	.tsdm-card-meta {
		min-height: 20px;
		margin-top: 5px;
	}

	.tsdm-price-row {
		padding-top: 8px;
	}

	.tsdm-price strong {
		font-size: 12px;
	}

	.tsdm-plus {
		width: 29px;
		height: 29px;
		border-radius: 9px;
		font-size: 20px;
	}

	.tsdm-badge,
	.tsdm-sold-out {
		top: 9px;
		right: 9px;
		padding: 4px 7px;
		font-size: 8px;
	}

	.tsdm-favorite {
		top: 8px;
		left: auto;
		right: 86px;
		width: 30px;
		height: 30px;
	}

	.tsdm-favorite svg {
		width: 14px;
		height: 14px;
	}

	.tsdm-footer {
		grid-template-columns: 1fr;
		margin-top: 44px;
	}

	.tsdm-footer-actions {
		justify-content: flex-start;
	}

	.tsdm-sheet {
		display: block;
		width: 100%;
		max-height: calc(100vh - 18px);
		overflow: auto;
		border-radius: 24px 24px 0 0;
		transform: translateY(100%);
	}

	.tsdm-modal {
		align-items: end;
		justify-items: center;
		padding: 18px 0 0;
	}

	.tsdm-sheet-media,
	.tsdm-sheet-media img,
	.tsdm-modal-placeholder {
		min-height: 250px;
		height: 250px;
	}

	.tsdm-modal-placeholder svg {
		width: 82px;
		height: 82px;
		padding: 20px;
		border-radius: 27px;
	}

	.tsdm-sheet-content {
		min-height: 330px;
		padding: 26px 20px 22px;
	}

	.tsdm-sheet-content h2 {
		font-size: 24px;
	}

	.tsdm-back-top {
		right: 14px;
		bottom: 14px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.tsdm-app *,
	.tsdm-app *::before,
	.tsdm-app *::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
	}
}
