/* Hot Shop — Telegram-style storefront */

:where(#hotshop-app, #hotshop-app *) { box-sizing: border-box; margin: 0; padding: 0; }

#hotshop-app {
	--bg: #0d0b10;
	--side: #15111a;
	--surface: #1c1723;
	--surface2: #262031;
	--border: rgba(255, 255, 255, .07);
	--text: #f3eef7;
	--muted: #9b91a8;
	--fire: linear-gradient(135deg, #ffa03d, #ff6a2b 55%, #ff3d3d);
	--accent: #ff7a35;
	--accent-soft: rgba(255, 122, 53, .16);
	--bubble: #201a29;
	--bubble-mine: #35202a;
	--ok: #4fd06b;
	direction: rtl;
	display: flex;
	flex-direction: row;
	width: 100%;
	height: 100vh;
	overflow: hidden;
	background: var(--bg);
	color: var(--text);
	font-family: Vazirmatn, Vazir, Tahoma, sans-serif;
	font-size: 15px;
	line-height: 1.7;
}
#hotshop-app[data-theme="light"] {
	--bg: #f4ede6;
	--side: #fdf7f1;
	--surface: #ffffff;
	--surface2: #f6eee6;
	--border: rgba(80, 40, 10, .12);
	--text: #33222a;
	--muted: #8a7466;
	--accent: #f4692a;
	--accent-soft: rgba(244, 105, 42, .14);
	--bubble: #ffffff;
	--bubble-mine: #ffe8d6;
}
#hotshop-app { position: relative; }
.hotshop-embed { height: 92vh; position: relative; width: 100vw; left: 50%; margin-left: -50vw; }
body.hotshop-fullpage { background: #0d0b10; }
body.hotshop-fullpage #hotshop-app { height: 100vh; height: 100dvh; }

#hotshop-app a { color: var(--accent); text-decoration: none; }
#hotshop-app button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
#hotshop-app img { max-width: 100%; }
#hotshop-app ::-webkit-scrollbar { width: 6px; height: 6px; }
#hotshop-app ::-webkit-scrollbar-thumb { background: rgba(150, 130, 160, .35); border-radius: 8px; }

/* ============ Sidebar ============ */
.hs-side {
	width: 330px;
	min-width: 330px;
	height: 100%;
	background: var(--side);
	border-left: 1px solid var(--border);
	display: flex;
	flex-direction: column;
	overflow: hidden;
}
.hs-side-head {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 14px 16px 10px;
}
.hs-logo {
	width: 42px; height: 42px; border-radius: 14px;
	background: var(--fire);
	display: flex; align-items: center; justify-content: center;
	font-size: 21px;
	animation: hs-flame 2.6s ease-in-out infinite;
	box-shadow: 0 4px 18px rgba(255, 106, 43, .45);
}
.hs-side-title { font-weight: 800; font-size: 17px; }
.hs-side-sub { font-size: 12px; color: var(--muted); }
.hs-theme-btn {
	margin-right: auto;
	width: 38px; height: 38px; border-radius: 50%;
	background: var(--surface2);
	border: 1px solid var(--border);
	font-size: 17px;
	transition: transform .25s;
}
.hs-theme-btn:hover { transform: rotate(20deg) scale(1.08); }
.hs-theme-btn:active { transform: scale(.9); }

.hs-side-scroll { flex: 1; overflow-y: auto; padding: 4px 8px 20px; }
.hs-section-label {
	font-size: 11px; font-weight: 700; color: var(--muted);
	padding: 12px 12px 4px; letter-spacing: .4px;
	display: flex; align-items: center; gap: 6px;
}

.hs-chat-item {
	display: flex; align-items: center; gap: 11px;
	padding: 9px 10px;
	border-radius: 13px;
	cursor: pointer;
	transition: background .18s, transform .18s;
	position: relative;
	width: 100%;
	text-align: right;
}
.hs-chat-item:hover { background: var(--surface2); }
.hs-chat-item.active { background: var(--accent-soft); }
.hs-chat-item:active { transform: scale(.98); }
.hs-av {
	width: 46px; height: 46px; min-width: 46px;
	border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	font-size: 21px;
	background: var(--surface2);
	overflow: hidden;
}
.hs-av img { width: 100%; height: 100%; object-fit: cover; }
.hs-av.av-news { background: linear-gradient(135deg, #ff9a3d, #ff5436); }
.hs-av.av-reviews { background: linear-gradient(135deg, #ffb300, #ff7a35); }
.hs-av.av-hottg { background: linear-gradient(135deg, #2AABEE, #0E1621); }
.hs-chat-info { flex: 1; min-width: 0; }
.hs-chat-name { font-weight: 700; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: flex; align-items: center; gap: 5px; }
.hs-pin { font-size: 11px; opacity: .7; }
.hs-chat-last { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hs-badge-count {
	background: var(--fire);
	color: #fff; font-size: 11px; font-weight: 700;
	min-width: 21px; height: 21px; border-radius: 11px;
	display: flex; align-items: center; justify-content: center;
	padding: 0 6px;
}

/* Search */
.hs-search-wrap { padding: 8px 10px 2px; }
.hs-search {
	display: flex; align-items: center; gap: 8px;
	background: var(--surface2);
	border: 1px solid var(--border);
	border-radius: 22px;
	padding: 8px 14px;
	transition: border-color .2s, box-shadow .2s;
}
.hs-search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.hs-search input {
	flex: 1; background: none; border: 0; outline: none;
	color: var(--text); font-family: inherit; font-size: 13.5px;
}
.hs-search input::placeholder { color: var(--muted); }

/* Categories accordion */
.hs-cat { margin: 2px 0; }
.hs-cat-head {
	display: flex; align-items: center; gap: 11px;
	width: 100%; text-align: right;
	padding: 9px 10px; border-radius: 13px;
	transition: background .18s;
}
.hs-cat-head:hover { background: var(--surface2); }
.hs-cat-arrow { margin-right: auto; font-size: 11px; color: var(--muted); transition: transform .25s; }
.hs-cat.open .hs-cat-arrow { transform: rotate(180deg); }
.hs-cat-items { max-height: 0; overflow: hidden; transition: max-height .35s ease; padding-right: 14px; }
.hs-cat.open .hs-cat-items { max-height: 900px; }
.hs-cat-items .hs-chat-item { padding: 7px 10px; }
.hs-cat-items .hs-av { width: 40px; height: 40px; min-width: 40px; font-size: 18px; }
.hs-price-tag { font-size: 11.5px; color: var(--accent); font-weight: 700; white-space: nowrap; }
.hs-mini-badge {
	font-size: 10px; background: var(--accent-soft); color: var(--accent);
	border-radius: 8px; padding: 1px 7px; font-weight: 700; white-space: nowrap;
}
.hs-search-results { padding: 4px 2px; }
.hs-no-results { text-align: center; color: var(--muted); font-size: 13px; padding: 22px 10px; }

/* ============ Main pane ============ */
.hs-main { flex: 1; height: 100%; display: flex; flex-direction: column; min-width: 0; background: var(--bg); position: relative; }
.hs-chat-head {
	display: flex; align-items: center; gap: 11px;
	padding: 10px 18px;
	background: var(--side);
	border-bottom: 1px solid var(--border);
	min-height: 62px;
	z-index: 3;
}
.hs-back { display: none; font-size: 20px; padding: 4px 8px; border-radius: 10px; }
.hs-back:hover { background: var(--surface2); }
.hs-head-name { font-weight: 800; font-size: 15px; }
.hs-head-sub { font-size: 12px; color: var(--muted); }

.hs-chat-body {
	flex: 1; overflow-y: auto;
	padding: 22px 20px 30px;
	background:
		radial-gradient(700px 420px at 85% 0%, rgba(255, 122, 53, .07), transparent 60%),
		radial-gradient(600px 480px at 10% 100%, rgba(255, 61, 61, .06), transparent 60%);
}
#hotshop-app[data-theme="light"] .hs-chat-body {
	background:
		radial-gradient(700px 420px at 85% 0%, rgba(244, 105, 42, .08), transparent 60%),
		radial-gradient(600px 480px at 10% 100%, rgba(255, 170, 90, .1), transparent 60%);
}

/* ============ Empty state / stats ============ */
.hs-empty {
	max-width: 640px;
	margin: 0 auto;
	text-align: center;
	padding-top: 5vh;
	animation: hs-fade .5s ease both;
}
.hs-empty-logo {
	width: 92px; height: 92px; border-radius: 30px;
	background: var(--fire);
	display: flex; align-items: center; justify-content: center;
	font-size: 44px; margin: 0 auto 18px;
	animation: hs-flame 2.6s ease-in-out infinite;
	box-shadow: 0 10px 40px rgba(255, 106, 43, .4);
}
.hs-empty h2 { font-size: 24px; font-weight: 900; margin-bottom: 6px; }
.hs-empty p { color: var(--muted); font-size: 14px; }
.hs-typing { display: inline-flex; gap: 4px; margin-top: 10px; }
.hs-typing span {
	width: 7px; height: 7px; border-radius: 50%;
	background: var(--accent);
	animation: hs-dot 1.2s infinite;
}
.hs-typing span:nth-child(2) { animation-delay: .18s; }
.hs-typing span:nth-child(3) { animation-delay: .36s; }

.hs-stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 13px;
	margin-top: 30px;
}
.hs-stat {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 18px;
	padding: 18px 14px;
	transition: transform .22s, border-color .22s;
	animation: hs-pop .45s ease both;
}
.hs-stat:nth-child(2) { animation-delay: .08s; }
.hs-stat:nth-child(3) { animation-delay: .16s; }
.hs-stat:nth-child(4) { animation-delay: .24s; }
.hs-stat:hover { transform: translateY(-5px); border-color: var(--accent); }
.hs-stat-icon { font-size: 26px; margin-bottom: 6px; }
.hs-stat-num { font-size: 22px; font-weight: 900; color: var(--accent); }
.hs-stat-label { font-size: 12px; color: var(--muted); margin-top: 2px; }

/* ============ Channel messages ============ */
.hs-msgs { max-width: 680px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.hs-date-chip {
	align-self: center;
	background: rgba(0, 0, 0, .28);
	color: #eee; font-size: 11.5px;
	border-radius: 12px; padding: 3px 12px;
	margin: 8px auto;
}
#hotshop-app[data-theme="light"] .hs-date-chip { background: rgba(90, 60, 30, .18); color: #5a4638; }
.hs-bubble {
	background: var(--bubble);
	border: 1px solid var(--border);
	border-radius: 17px 17px 17px 5px;
	padding: 10px 14px 7px;
	max-width: 82%;
	align-self: flex-start;
	animation: hs-pop .35s ease both;
	box-shadow: 0 2px 10px rgba(0, 0, 0, .12);
}
.hs-bubble-author { font-size: 13px; font-weight: 800; color: var(--accent); margin-bottom: 2px; display: flex; align-items: center; gap: 7px; }
.hs-stars { color: #ffb300; font-size: 12px; letter-spacing: 1px; }
.hs-bubble-body { font-size: 14px; }
.hs-bubble-body p { margin: 0 0 6px; }
.hs-bubble-body p:last-child { margin-bottom: 0; }
.hs-bubble-time { text-align: left; font-size: 10.5px; color: var(--muted); margin-top: 3px; }

/* ============ Product view ============ */
.hs-product { max-width: 760px; margin: 0 auto; padding-bottom: 90px; animation: hs-fade .4s ease both; }
.hs-product-hero {
	display: flex; align-items: center; gap: 18px;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 22px;
	padding: 20px;
	margin-bottom: 16px;
	position: relative;
	overflow: hidden;
}
.hs-product-hero::after {
	content: "";
	position: absolute; inset: 0;
	background: radial-gradient(420px 200px at 90% 0%, var(--accent-soft), transparent 70%);
	pointer-events: none;
}
.hs-product-logo {
	width: 84px; height: 84px; min-width: 84px;
	border-radius: 22px;
	background: var(--surface2);
	display: flex; align-items: center; justify-content: center;
	font-size: 38px; overflow: hidden;
	border: 1px solid var(--border);
}
.hs-product-logo img { width: 100%; height: 100%; object-fit: cover; }
.hs-product-title { font-size: 21px; font-weight: 900; display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.hs-badge {
	font-size: 11px; font-weight: 800;
	background: var(--fire); color: #fff;
	border-radius: 10px; padding: 2px 10px;
	animation: hs-shimmer 2.4s linear infinite;
	background-size: 200% 200%;
}
.hs-product-price { color: var(--accent); font-weight: 800; font-size: 15px; margin-top: 4px; }
.hs-product-sales { font-size: 12px; color: var(--muted); margin-top: 2px; }

.hs-product .hs-bubble { max-width: 100%; }
.hs-plans { display: flex; flex-direction: column; gap: 9px; margin: 16px 0; }
.hs-plan {
	display: flex; align-items: center; gap: 12px;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 16px;
	padding: 12px 15px;
	cursor: pointer;
	transition: transform .2s, border-color .2s, background .2s;
	width: 100%; text-align: right;
}
.hs-plan:hover { transform: translateY(-3px); border-color: var(--accent); }
.hs-plan.selected { border-color: var(--accent); background: var(--accent-soft); }
.hs-plan-radio {
	width: 20px; height: 20px; min-width: 20px;
	border-radius: 50%;
	border: 2px solid var(--muted);
	display: flex; align-items: center; justify-content: center;
	transition: border-color .2s;
}
.hs-plan.selected .hs-plan-radio { border-color: var(--accent); }
.hs-plan.selected .hs-plan-radio::after {
	content: ""; width: 10px; height: 10px; border-radius: 50%;
	background: var(--fire);
}
.hs-plan-name { font-weight: 700; font-size: 14px; }
.hs-plan-note { font-size: 12px; color: var(--muted); }
.hs-plan-price { margin-right: auto; font-weight: 800; color: var(--accent); font-size: 14px; white-space: nowrap; }

.hs-product-actions { display: flex; gap: 11px; margin-top: 18px; flex-wrap: wrap; }
.hs-btn {
	border-radius: 15px;
	padding: 13px 22px;
	font-weight: 800; font-size: 14.5px;
	transition: transform .18s, box-shadow .18s, filter .18s;
	display: inline-flex; align-items: center; gap: 8px; justify-content: center;
}
.hs-btn:active { transform: scale(.97); }
.hs-btn-fire {
	background: var(--fire); color: #fff;
	box-shadow: 0 8px 24px rgba(255, 106, 43, .38);
	flex: 1; min-width: 190px;
}
.hs-btn-fire:hover { filter: brightness(1.08); box-shadow: 0 10px 30px rgba(255, 106, 43, .5); }
.hs-btn-ghost { background: var(--surface); border: 1px solid var(--border); color: var(--text); }
.hs-btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* ============ Skeleton loaders ============ */
.hs-skel-wrap { max-width: 680px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.hs-skel {
	border-radius: 17px;
	background: linear-gradient(90deg, var(--surface) 25%, var(--surface2) 50%, var(--surface) 75%);
	background-size: 400% 100%;
	animation: hs-shimmer 1.3s linear infinite;
	border: 1px solid var(--border);
}
.hs-skel.s1 { height: 66px; width: 62%; }
.hs-skel.s2 { height: 92px; width: 78%; }
.hs-skel.s3 { height: 58px; width: 48%; }
.hs-skel.s4 { height: 110px; width: 100%; }

/* ============ Modal ============ */
.hs-modal-overlay {
	position: fixed; inset: 0; z-index: 99990;
	background: rgba(5, 3, 8, .66);
	backdrop-filter: blur(4px);
	display: flex; align-items: center; justify-content: center;
	padding: 18px;
	animation: hs-fade .2s ease both;
}
.hs-modal {
	background: var(--surface);
	color: var(--text);
	border: 1px solid var(--border);
	border-radius: 22px;
	width: 100%; max-width: 480px;
	max-height: 88vh; overflow-y: auto;
	padding: 22px;
	direction: rtl;
	font-family: Vazirmatn, Vazir, Tahoma, sans-serif;
	animation: hs-modal-pop .28s cubic-bezier(.34, 1.4, .64, 1) both;
	box-shadow: 0 24px 70px rgba(0, 0, 0, .5);
}
.hs-modal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.hs-modal-title { font-weight: 900; font-size: 17px; display: flex; align-items: center; gap: 8px; }
.hs-modal-close {
	width: 34px; height: 34px; border-radius: 50%;
	background: var(--surface2); border: 1px solid var(--border);
	font-size: 15px;
	transition: transform .2s;
}
.hs-modal-close:hover { transform: rotate(90deg); }

.hs-faq-item { border: 1px solid var(--border); border-radius: 14px; margin-bottom: 9px; overflow: hidden; }
.hs-faq-q {
	width: 100%; text-align: right;
	padding: 12px 14px;
	font-weight: 700; font-size: 13.5px;
	display: flex; align-items: center; justify-content: space-between; gap: 8px;
	background: var(--surface2);
}
.hs-faq-q span.arr { transition: transform .25s; font-size: 11px; color: var(--muted); }
.hs-faq-item.open .hs-faq-q span.arr { transform: rotate(180deg); }
.hs-faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; font-size: 13px; color: var(--muted); }
.hs-faq-item.open .hs-faq-a { max-height: 400px; }
.hs-faq-a-inner { padding: 11px 14px; }

/* ============ Hot Telegram section ============ */
.hottg {
	max-width: 900px; margin: 0 auto;
	padding-bottom: 80px;
	--tg-blue: #2AABEE;
	--tg-bg: #0E1621;
	--tg-surface: #17212B;
	--tg-surface2: #1E2C3A;
	--tg-gold: #FFB300;
	--tg-ton: #0098EA;
	--tg-trx: #EF0027;
	--tg-border: rgba(255, 255, 255, .06);
	color: #eef4f9;
	animation: hs-fade .4s ease both;
}
.hs-chat-body.hottg-body {
	background: var(--tg-bg, #0E1621);
	background-image:
		radial-gradient(640px 420px at 8% 0%, rgba(42, 171, 238, .14), transparent 62%),
		radial-gradient(560px 420px at 92% 42%, rgba(255, 179, 0, .1), transparent 62%);
}
#hotshop-app[data-theme="light"] .hs-chat-body.hottg-body {
	background: #0E1621;
	background-image:
		radial-gradient(640px 420px at 8% 0%, rgba(42, 171, 238, .14), transparent 62%),
		radial-gradient(560px 420px at 92% 42%, rgba(255, 179, 0, .1), transparent 62%);
}

.hottg-hero { text-align: center; padding: 26px 10px 8px; }
.hottg-plane { width: 74px; height: 74px; margin: 0 auto 6px; animation: hottg-float 3.2s ease-in-out infinite; filter: drop-shadow(0 10px 24px rgba(42, 171, 238, .45)); }
.hottg-hero h1 { font-size: 27px; font-weight: 900; margin-bottom: 6px; color: #fff; }
.hottg-hero h1 .b { color: var(--tg-blue); }
.hottg-hero h1 .g { color: var(--tg-gold); }
.hottg-hero .sub { color: #8fa6b8; font-size: 14px; }
.hottg-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; max-width: 640px; margin: 22px auto 0; }
.hottg-feature {
	background: var(--tg-surface);
	border: 1px solid var(--tg-border);
	border-radius: 18px;
	padding: 15px 10px;
	text-align: center;
	transition: transform .22s, border-color .22s;
}
.hottg-feature:hover { transform: translateY(-5px); border-color: rgba(42, 171, 238, .5); }
.hottg-feature .ic { font-size: 24px; margin-bottom: 5px; }
.hottg-feature .t { font-weight: 800; font-size: 13px; color: #fff; }
.hottg-feature .d { font-size: 11px; color: #8fa6b8; margin-top: 2px; }

.hottg-panel {
	background: rgba(23, 33, 43, .82);
	border: 1px solid var(--tg-border);
	border-radius: 22px;
	padding: 20px;
	margin-top: 24px;
	backdrop-filter: blur(6px);
}
.hottg-panel-head { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.hottg-panel-head .ic {
	width: 40px; height: 40px; border-radius: 13px;
	display: flex; align-items: center; justify-content: center;
	font-size: 19px;
	background: rgba(42, 171, 238, .15);
}
.hottg-panel-head.gold .ic { background: rgba(255, 179, 0, .14); }
.hottg-panel-head h2 { font-size: 17px; font-weight: 900; color: #fff; }

.hottg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(155px, 1fr)); gap: 12px; }
.hottg-card {
	background: var(--tg-surface2);
	border: 1px solid var(--tg-border);
	border-radius: 18px;
	padding: 16px 12px;
	text-align: center;
	position: relative;
	transition: transform .22s, border-color .22s, box-shadow .22s;
}
.hottg-card:hover { transform: translateY(-5px); border-color: rgba(42, 171, 238, .55); box-shadow: 0 12px 30px rgba(0, 0, 0, .3); }
.hottg-card.hot { border-color: rgba(42, 171, 238, .65); box-shadow: 0 0 0 3px rgba(42, 171, 238, .14); }
.hottg-card .ic { font-size: 25px; }
.hottg-card .qty { font-size: 19px; font-weight: 900; color: #fff; margin-top: 4px; }
.hottg-card .usd { color: var(--tg-blue); font-weight: 800; font-size: 14px; margin-top: 2px; }
.hottg-card .toman { color: #8fa6b8; font-weight: 700; font-size: 11.5px; margin-top: 3px; }
.hottg-card.gold-card .toman { color: #cfa65a; }
.hottg-card .ribbon {
	position: absolute; top: -10px; right: 50%; transform: translateX(50%);
	background: var(--tg-blue); color: #fff;
	font-size: 10.5px; font-weight: 800;
	border-radius: 10px; padding: 2px 10px;
	white-space: nowrap;
}
.hottg-card.gold-card .ribbon { background: var(--tg-gold); color: #2a1c00; }
.hottg-card.gold-card:hover { border-color: rgba(255, 179, 0, .6); }
.hottg-card.gold-card.hot { border-color: rgba(255, 179, 0, .7); box-shadow: 0 0 0 3px rgba(255, 179, 0, .13); }
.hottg-buy {
	margin-top: 10px; width: 100%;
	background: linear-gradient(135deg, #3fbcf7, #2AABEE 55%, #1d92d3);
	color: #fff;
	border: 1px solid rgba(255, 255, 255, .28);
	border-radius: 12px; padding: 10px 6px;
	font-weight: 800; font-size: 13px;
	cursor: pointer;
	box-shadow: 0 4px 14px rgba(42, 171, 238, .38), inset 0 1px 0 rgba(255, 255, 255, .3);
	transition: filter .2s, transform .18s, box-shadow .2s;
}
.hottg-buy:hover { filter: brightness(1.1); transform: translateY(-1px); box-shadow: 0 7px 20px rgba(42, 171, 238, .5), inset 0 1px 0 rgba(255, 255, 255, .3); }
.hottg-buy:active { transform: scale(.97); }
.hottg-buy.gold {
	background: linear-gradient(135deg, #ffc843, #FFB300 55%, #e59e00);
	color: #2a1c00;
	border-color: rgba(255, 255, 255, .35);
	box-shadow: 0 4px 14px rgba(255, 179, 0, .38), inset 0 1px 0 rgba(255, 255, 255, .4);
}
.hottg-buy.gold:hover { box-shadow: 0 7px 20px rgba(255, 179, 0, .5), inset 0 1px 0 rgba(255, 255, 255, .4); }

/* Premium cards */
.hottg-grid.premium { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 640px; margin: 0 auto; }
.hottg-grid.premium .hottg-card { padding: 22px 12px; }
.hottg-grid.premium .qty { font-size: 17px; }
.hottg-grid.premium .usd { color: var(--tg-gold); font-size: 16px; }

/* Custom amount bar */
.hottg-custom {
	margin-top: 16px;
	border: 1px solid rgba(255, 179, 0, .35);
	background: linear-gradient(135deg, rgba(255, 179, 0, .1), rgba(255, 179, 0, .03));
	border-radius: 18px;
	padding: 16px;
	display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
}
.hottg-custom .right { flex: 1; min-width: 210px; }
.hottg-custom h3 { font-size: 15px; font-weight: 900; color: var(--tg-gold); }
.hottg-custom .d { font-size: 12px; color: #8fa6b8; margin: 3px 0 9px; }
.hottg-chips { display: flex; gap: 7px; flex-wrap: wrap; }
.hottg-chip {
	background: rgba(255, 179, 0, .12);
	border: 1px solid rgba(255, 179, 0, .3);
	color: var(--tg-gold);
	border-radius: 11px; padding: 4px 12px;
	font-size: 12.5px; font-weight: 700;
	transition: background .18s, transform .18s;
}
.hottg-chip:hover { background: rgba(255, 179, 0, .24); }
.hottg-chip:active { transform: scale(.94); }
.hottg-custom .left { display: flex; flex-direction: column; align-items: center; gap: 9px; min-width: 230px; flex: 1; }
.hottg-stepper { display: flex; align-items: center; gap: 10px; }
.hottg-step-btn {
	width: 40px; height: 40px; border-radius: 50%;
	background: var(--tg-surface2);
	border: 1px solid var(--tg-border);
	color: #fff; font-size: 19px; font-weight: 800;
	transition: border-color .18s, transform .15s;
}
.hottg-step-btn:hover { border-color: var(--tg-gold); color: var(--tg-gold); }
.hottg-step-btn:active { transform: scale(.9); }
.hottg-qty-input {
	width: 130px;
	background: transparent;
	border: 0; border-bottom: 2px solid rgba(255, 179, 0, .5);
	color: var(--tg-gold);
	font-size: 30px; font-weight: 900; text-align: center;
	outline: none; font-family: inherit;
	-moz-appearance: textfield; appearance: textfield;
}
.hottg-qty-input::-webkit-outer-spin-button,
.hottg-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.hottg-live-usd { color: var(--tg-blue); font-weight: 800; font-size: 15px; min-height: 22px; }
.hottg-custom .hottg-buy.gold { width: 100%; padding: 11px; font-size: 14px; border-radius: 14px; }

.hottg-fail { text-align: center; color: #8fa6b8; padding: 26px 12px; font-size: 13.5px; }

/* Hot Telegram modal (always dark) */
.hs-modal.hottg-modal {
	background: #17212B;
	color: #eef4f9;
	border-color: rgba(255, 255, 255, .08);
	--tg-blue: #2AABEE; --tg-gold: #FFB300; --tg-ton: #0098EA; --tg-trx: #EF0027;
}
.hottg-modal .hs-modal-close { background: #1E2C3A; border-color: rgba(255, 255, 255, .08); color: #eef4f9; }
.hottg-input {
	width: 100%;
	background: #0E1621;
	border: 1px solid rgba(255, 255, 255, .1);
	border-radius: 14px;
	padding: 13px 15px;
	color: #fff; font-family: inherit; font-size: 15px;
	outline: none; direction: ltr; text-align: center;
	transition: border-color .2s, box-shadow .2s;
}
.hottg-input:focus { border-color: var(--tg-blue); box-shadow: 0 0 0 3px rgba(42, 171, 238, .18); }
.hottg-modal .hint { font-size: 12px; color: #8fa6b8; margin-top: 8px; text-align: center; }
.hottg-error {
	background: rgba(239, 0, 39, .12);
	border: 1px solid rgba(239, 0, 39, .3);
	color: #ff8f9f;
	border-radius: 13px; padding: 10px 13px;
	font-size: 13px; margin-top: 11px;
	animation: hs-pop .3s ease both;
}
.hottg-note {
	background: rgba(255, 179, 0, .1);
	border: 1px solid rgba(255, 179, 0, .3);
	color: #ffd27a;
	border-radius: 13px; padding: 9px 13px;
	font-size: 12px; margin-top: 9px;
}
.hottg-btn {
	width: 100%;
	border-radius: 14px;
	padding: 13px;
	font-weight: 800; font-size: 14.5px;
	margin-top: 11px;
	color: #fff;
	display: flex; align-items: center; justify-content: center; gap: 8px;
	transition: filter .2s, transform .18s;
}
.hottg-btn:hover { filter: brightness(1.1); }
.hottg-btn:active { transform: scale(.97); }
.hottg-btn.blue { background: var(--tg-blue); }
.hottg-btn.ton { background: var(--tg-ton); }
.hottg-btn.trx { background: var(--tg-trx); }
.hottg-btn.gold { background: var(--tg-gold); color: #2a1c00; }
.hottg-btn.ghost { background: #1E2C3A; border: 1px solid rgba(255, 255, 255, .1); }
.hottg-btn[disabled] { opacity: .55; cursor: wait; }

.hottg-profile {
	display: flex; align-items: center; gap: 13px;
	background: #0E1621;
	border: 1px solid rgba(255, 255, 255, .08);
	border-radius: 16px; padding: 13px;
	animation: hs-pop .35s ease both;
}
.hottg-profile .pic {
	width: 54px; height: 54px; min-width: 54px;
	border-radius: 50%;
	background: #1E2C3A;
	overflow: hidden;
	display: flex; align-items: center; justify-content: center;
	font-size: 23px;
}
.hottg-profile .pic img { width: 100%; height: 100%; object-fit: cover; }
.hottg-profile .nm { font-weight: 800; font-size: 15px; color: #fff; display: flex; align-items: center; gap: 6px; }
.hottg-profile .nm .ok { color: #4fd06b; font-size: 15px; }
.hottg-profile .un { direction: ltr; text-align: right; font-size: 12.5px; color: #8fa6b8; }
.hottg-summary {
	display: flex; justify-content: space-between; align-items: center;
	background: #1E2C3A;
	border-radius: 14px; padding: 11px 14px;
	margin-top: 11px; font-size: 13.5px;
}
.hottg-summary .amt { color: var(--tg-blue); font-weight: 900; font-size: 16px; }

.hottg-pay-amount {
	text-align: center;
	background: #0E1621;
	border: 1px solid rgba(255, 255, 255, .08);
	border-radius: 16px; padding: 14px;
}
.hottg-pay-amount .a { font-size: 24px; font-weight: 900; color: var(--tg-gold); direction: ltr; }
.hottg-pay-amount .w { font-size: 12px; color: #ffd27a; margin-top: 4px; }
.hottg-qr {
	display: block;
	width: 190px; height: 190px;
	margin: 14px auto;
	border-radius: 16px;
	background: #fff;
	padding: 8px;
}
.hottg-addr {
	display: flex; align-items: center; gap: 8px;
	background: #0E1621;
	border: 1px solid rgba(255, 255, 255, .08);
	border-radius: 13px; padding: 9px 11px;
}
.hottg-addr code {
	flex: 1; direction: ltr; text-align: left;
	font-size: 11.5px; word-break: break-all;
	color: #bcd3e4; font-family: monospace;
}
.hottg-copy {
	background: #1E2C3A;
	border: 1px solid rgba(255, 255, 255, .1);
	border-radius: 10px; padding: 7px 12px;
	font-size: 12px; color: #fff; white-space: nowrap;
	transition: background .2s;
}
.hottg-copy:hover { background: #26394b; }
.hottg-waiting { display: flex; align-items: center; justify-content: center; gap: 9px; color: #8fa6b8; font-size: 13px; margin-top: 13px; }
.hottg-spinner {
	width: 17px; height: 17px;
	border: 2.5px solid rgba(42, 171, 238, .25);
	border-top-color: var(--tg-blue);
	border-radius: 50%;
	animation: hottg-spin .8s linear infinite;
}
.hottg-status { text-align: center; padding: 10px 0; }
.hottg-status .big { font-size: 54px; animation: hs-pop .4s ease both; }
.hottg-status h3 { font-size: 18px; font-weight: 900; margin-top: 9px; color: #fff; }
.hottg-status p { font-size: 13.5px; color: #8fa6b8; margin-top: 5px; }
.hottg-status .key {
	display: inline-block;
	background: #0E1621; border: 1px dashed rgba(255, 255, 255, .18);
	border-radius: 11px; padding: 6px 14px;
	margin-top: 11px;
	font-family: monospace; direction: ltr; font-size: 13px; color: var(--tg-gold);
}

/* ============ Animations ============ */
@keyframes hs-flame {
	0%, 100% { transform: scale(1) rotate(0deg); }
	35% { transform: scale(1.06) rotate(-3deg); }
	65% { transform: scale(.97) rotate(3deg); }
}
@keyframes hs-pop {
	0% { opacity: 0; transform: scale(.92) translateY(8px); }
	100% { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes hs-fade {
	from { opacity: 0; transform: translateY(10px); }
	to { opacity: 1; transform: translateY(0); }
}
@keyframes hs-modal-pop {
	0% { opacity: 0; transform: scale(.85); }
	100% { opacity: 1; transform: scale(1); }
}
@keyframes hs-shimmer {
	0% { background-position: 100% 0; }
	100% { background-position: -100% 0; }
}
@keyframes hs-dot {
	0%, 60%, 100% { transform: translateY(0); opacity: .5; }
	30% { transform: translateY(-6px); opacity: 1; }
}
@keyframes hottg-float {
	0%, 100% { transform: translateY(0) rotate(-4deg); }
	50% { transform: translateY(-12px) rotate(4deg); }
}
@keyframes hottg-spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
	#hotshop-app *, .hs-modal-overlay, .hs-modal { animation: none !important; transition: none !important; }
}

/* ============ Mobile ============ */
@media (max-width: 920px) {
	.hs-side { width: 100%; min-width: 0; border-left: 0; }
	.hs-main {
		position: absolute; inset: 0;
		transform: translateX(-102%);
		transition: transform .3s ease;
		z-index: 5;
		box-shadow: 12px 0 40px rgba(0, 0, 0, .4);
	}
	#hotshop-app.chat-open .hs-main { transform: translateX(0); }
	.hs-back { display: inline-flex; }
	.hottg-features { grid-template-columns: 1fr; }
	.hottg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.hottg-grid.premium { grid-template-columns: 1fr; max-width: 340px; }
	.hottg-custom { flex-direction: column; align-items: stretch; }
	.hottg-custom .left { min-width: 0; }
	.hs-product-hero { flex-direction: column; text-align: center; }
	.hs-product-title { justify-content: center; }
}
