/* SHIPAA Checkout 1.2 — یک صفحه، سه بخش تاشو؛ هم‌زبان با خانه یادگیری و مرکز فرمان
   پالت: سفید · سبز چمنی · یاسی · آبی آسمانی — همه کلاس‌ها با پیشوند shpco- */
.shpco {
	--white: #fff; --bg: #f6faf5; --ink: #1c3226; --muted: #617468; --line: #e3ece2;
	--grass: #5cb946; --grass-d: #2c8538; --grass-t: #e9f7e3;
	--lilac: #a98be6; --lilac-d: #6c4cbd; --lilac-t: #f3edfd;
	--sky: #52b9ea; --sky-d: #1c78a8; --sky-t: #e4f5fd;
	--r-lg: 24px; --r: 18px; --r-sm: 13px;
	--sh-1: 0 1px 2px rgba(28, 50, 38, .05), 0 6px 18px -8px rgba(28, 50, 38, .12);
	--sh-2: 0 2px 6px rgba(28, 50, 38, .06), 0 18px 40px -16px rgba(28, 50, 38, .22);
	--ease: cubic-bezier(.2, .8, .2, 1); --spring: cubic-bezier(.34, 1.45, .55, 1);

	position: relative; isolation: isolate; overflow-x: clip;
	direction: rtl; text-align: right; color: var(--ink);
	font: inherit; font-size: 14.5px; line-height: 1.75;
	max-width: 540px; margin: 0 auto; padding: 8px 2px 28px;
	-webkit-tap-highlight-color: transparent;
}
.shpco *, .shpco *::before, .shpco *::after { box-sizing: border-box; }
.shpco [hidden] { display: none !important; }
.shpco :where(h1, h2, p, ol, li) { margin: 0; padding: 0; color: inherit; letter-spacing: 0; text-transform: none; line-height: 1.6; }
.shpco :where(ol) { list-style: none; }
.shpco :where(a) { color: inherit; text-decoration: none; }
.shpco :where(button) { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; margin: 0; letter-spacing: normal; text-transform: none; box-shadow: none; }
.shpco :where(img) { max-width: 100%; display: block; }
.shpco :focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 12px; }
.shpco svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.shpco-orb { position: absolute; z-index: -1; width: 300px; height: 300px; border-radius: 50%; pointer-events: none; animation: shpco-float 18s ease-in-out infinite; }
.shpco-orb.o1 { top: -70px; left: 6px; background: radial-gradient(closest-side, rgba(191, 232, 174, .55), rgba(191, 232, 174, 0)); }
.shpco-orb.o2 { top: 360px; right: 6px; background: radial-gradient(closest-side, rgba(217, 201, 251, .5), rgba(217, 201, 251, 0)); animation-delay: -7s; }

/* ---------- سربرگ ---------- */
.shpco-head { display: flex; align-items: center; gap: 12px; padding: 4px 4px 16px; animation: shpco-in .5s var(--ease) both; }
.shpco-thumb { flex: none; width: 58px; height: 58px; border-radius: 16px; overflow: hidden; background: var(--grass-t); box-shadow: var(--sh-1); }
.shpco-thumb img { width: 100%; height: 100%; object-fit: cover; }
.shpco-head__text { min-width: 0; }
.shpco-kicker { display: inline-block; font-size: 11.5px; font-weight: 800; color: var(--grass-d); background: var(--grass-t); padding: 0 10px; border-radius: 99px; line-height: 1.9; }
.shpco .shpco-title { margin: 2px 0 0 !important; font-size: clamp(17px, 4.6vw, 21px) !important; font-weight: 900 !important; line-height: 1.55 !important; color: var(--ink) !important; }

.shpco-note { display: grid; gap: 2px; margin-bottom: 12px; padding: 12px 14px; border-radius: var(--r); background: var(--lilac-t); color: var(--lilac-d); font-size: 13.5px; animation: shpco-in .45s var(--ease) both; }
.shpco-note strong { font-weight: 900; }
.shpco-note a { font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- بخش‌های تاشو ---------- */
.shpco-acc { display: grid; gap: 10px; }
.shpco-step {
	border-radius: var(--r-lg);
	background: rgba(255, 255, 255, .94);
	box-shadow: var(--sh-1), inset 0 0 0 1px rgba(227, 236, 226, .8);
	transition: box-shadow .35s, background .35s;
	animation: shpco-in .5s var(--ease) both;
}
.shpco-step:nth-child(2) { animation-delay: .06s; }
.shpco-step:nth-child(3) { animation-delay: .12s; }
.shpco-step[data-status="open"] { box-shadow: var(--sh-2), inset 0 0 0 1.5px rgba(92, 185, 70, .35); }
.shpco-step[data-status="locked"] { background: rgba(255, 255, 255, .55); box-shadow: inset 0 0 0 1px var(--line); }

.shpco-step__head { display: flex !important; align-items: center; gap: 12px; width: 100%; padding: 14px 16px !important; text-align: right; cursor: default !important; border-radius: var(--r-lg) !important; }
.shpco-step[data-status="done"] .shpco-step__head { cursor: pointer !important; }
.shpco-step__num { position: relative; flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--grass); color: #fff; font-weight: 900; font-size: 14px; box-shadow: 0 0 0 5px var(--grass-t); transition: background .3s, box-shadow .3s, transform .4s var(--spring); }
.shpco-step__num i { font-style: normal; transition: opacity .2s, transform .3s var(--spring); }
.shpco-step__num svg { position: absolute; font-size: 17px; stroke-width: 3; opacity: 0; transform: scale(.4); transition: opacity .2s, transform .35s var(--spring); }
.shpco-step[data-status="locked"] .shpco-step__num { background: #fff; color: #9fb0a4; box-shadow: inset 0 0 0 1.5px var(--line); }
.shpco-step[data-status="done"] .shpco-step__num { background: var(--grass-t); color: var(--grass-d); box-shadow: none; }
.shpco-step[data-status="done"] .shpco-step__num i { opacity: 0; transform: scale(.4); }
.shpco-step[data-status="done"] .shpco-step__num svg { opacity: 1; transform: none; }
.shpco-step.is-ticked .shpco-step__num { animation: shpco-pop .45s var(--spring); }
.shpco-step__titles { flex: 1; min-width: 0; display: grid; }
.shpco-step__titles strong { font-size: 15.5px; font-weight: 900; color: var(--ink); line-height: 1.5; }
.shpco-step__titles small { font-size: 12.5px; color: var(--muted); font-weight: 600; line-height: 1.6; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.shpco-step__titles small:empty { display: none; }
.shpco-step[data-status="locked"] .shpco-step__titles strong { color: #8a9a8f; }
.shpco-step[data-status="done"] .shpco-step__titles small { color: var(--grass-d); }
.shpco-step__edit { flex: none; font-size: 12.5px; font-weight: 800; color: var(--sky-d); opacity: 0; transition: opacity .2s; }
.shpco-step[data-status="done"] .shpco-step__edit:not(:empty) { opacity: 1; }
.shpco.is-order-locked [data-shpco-step="1"] .shpco-step__edit { display: none; }
.shpco.is-order-locked [data-shpco-step="1"] .shpco-step__head { cursor: default !important; }

.shpco-step__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.shpco-step[data-status="open"] .shpco-step__body { grid-template-rows: 1fr; }
.shpco-step__inner { min-height: 0; overflow: hidden; padding: 0 16px; opacity: 0; transform: translateY(-6px); transition: opacity .3s, transform .4s var(--ease), padding .45s var(--ease); }
.shpco-step[data-status="open"] .shpco-step__inner { padding: 2px 16px 18px; opacity: 1; transform: none; transition-delay: .08s; }

/* ---------- بخش ۱ ---------- */
.shpco-step__inner > * + * { margin-top: 12px !important; }
.shpco-plans { display: grid; gap: 8px; }
.shpco-plan {
	position: relative; overflow: hidden;
	display: grid; grid-template-columns: auto 1fr auto; align-items: center; column-gap: 10px;
	padding: 12px 14px; margin: 0; border-radius: var(--r);
	background: #fff; box-shadow: inset 0 0 0 1.5px var(--line);
	cursor: pointer; transition: box-shadow .25s, background .25s, transform .2s var(--ease);
}
.shpco-plan:active { transform: scale(.985); }
.shpco-plan input { position: absolute; opacity: 0; pointer-events: none; }
.shpco-plan__dot { width: 20px; height: 20px; border-radius: 50%; box-shadow: inset 0 0 0 2px #c3d3c6; background: #fff; transition: box-shadow .3s var(--spring); }
.shpco-plan__label { font-weight: 800; font-size: 14.5px; min-width: 0; }
.shpco-plan__price { display: grid; justify-items: end; line-height: 1.35; white-space: nowrap; }
.shpco-plan__price b { font-weight: 900; font-size: 14.5px; color: var(--ink); transition: color .25s; }
.shpco-plan__price s { font-size: 11.5px; color: var(--muted); }
.shpco-plan__desc { grid-column: 2 / 4; font-size: 12.5px; color: var(--muted); line-height: 1.6; margin-top: 2px; }
.shpco-plan:has(input:checked) { background: linear-gradient(135deg, #f4fbf1, #fff); box-shadow: inset 0 0 0 2px var(--grass), 0 10px 22px -16px rgba(44, 133, 56, .55); }
.shpco-plan:has(input:checked) .shpco-plan__dot { box-shadow: inset 0 0 0 6px var(--grass); }
.shpco-plan:has(input:checked) .shpco-plan__price b { color: var(--grass-d); }
.shpco-plan:has(input:focus-visible) { outline: 3px solid var(--sky); outline-offset: 2px; }

.shpco-total { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border-radius: var(--r); background: var(--grass-t); }
.shpco-total span { font-size: 13px; font-weight: 700; color: var(--grass-d); }
.shpco-total strong { font-size: 18px; font-weight: 900; color: var(--grass-d); white-space: nowrap; }

.shpco-auth { padding: 14px; border-radius: var(--r); background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); }
.shpco-auth__title { font-size: 13.5px; font-weight: 900; margin-bottom: 10px !important; }
.shpco-form { display: grid; gap: 10px; }
.shpco-field { display: grid; gap: 4px; margin: 0; }
.shpco-field > span { font-size: 12.5px; font-weight: 700; color: var(--muted); }
.shpco .shpco-field input {
	width: 100%; height: 48px; margin: 0; padding: 0 14px;
	border: 0 !important; border-radius: 14px !important;
	background: #fff !important; box-shadow: inset 0 0 0 1.5px var(--line) !important;
	color: var(--ink); font: inherit; font-size: 16px;
	transition: box-shadow .2s;
}
.shpco .shpco-field input[dir="ltr"] { text-align: left; letter-spacing: .03em; }
.shpco .shpco-field input::placeholder { color: #a7b7ab; text-align: left; }
.shpco .shpco-field input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--grass), 0 0 0 4px rgba(92, 185, 70, .14) !important; }
.shpco .shpco-field.is-invalid input { box-shadow: inset 0 0 0 2px #d9604f, 0 0 0 4px rgba(217, 96, 79, .12) !important; }
.shpco-field.is-invalid { animation: shpco-shake .38s var(--ease); }
.shpco-newbie { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.shpco-newbie.is-in { animation: shpco-in .45s var(--spring) both; }
.shpco-tip { margin-top: 10px !important; font-size: 12.5px; color: var(--muted); }
.shpco-tip.is-info { color: var(--sky-d); font-weight: 700; }
.shpco-link { display: inline-block; margin-top: 4px; font-size: 12.5px; font-weight: 800; color: var(--sky-d) !important; }
.shpco-link--muted { color: var(--muted) !important; font-weight: 700; }
.shpco-link.is-armed { color: #b8382a !important; }
.shpco-me { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--muted); }
.shpco-me b { color: var(--ink); font-weight: 900; }
.shpco-me__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--grass); box-shadow: 0 0 0 4px var(--grass-t); }
.shpco-me.is-new { animation: shpco-in .45s var(--spring) both; }

/* ---------- دکمه‌ها ---------- */
.shpco-btn {
	position: relative; overflow: hidden;
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 50px; padding: 0 22px !important; border-radius: 16px !important;
	background: linear-gradient(135deg, #34963f, var(--grass-d)) !important;
	color: #fff !important; font-weight: 900 !important; font-size: 15px !important;
	box-shadow: 0 10px 22px -10px rgba(44, 133, 56, .7) !important;
	text-decoration: none !important; white-space: nowrap;
	transition: transform .2s var(--ease), box-shadow .3s, opacity .3s;
}
.shpco-btn:hover { transform: translateY(-1px); }
.shpco-btn:active { transform: scale(.98); }
.shpco-btn:disabled { opacity: .6; cursor: default; transform: none; }
.shpco-btn--main { display: flex; width: 100%; min-height: 54px; font-size: 16px !important; border-radius: 18px !important; }
.shpco-btn.is-busy::before { content: ""; width: 17px; height: 17px; border-radius: 50%; border: 2.5px solid rgba(255, 255, 255, .4); border-top-color: #fff; animation: shpco-rot .7s linear infinite; }
.shpco-btn--eitaa { display: flex; width: 100%; flex-direction: column; gap: 0; min-height: 58px; line-height: 1.35; background: linear-gradient(135deg, #f59a3b, #e07812) !important; box-shadow: 0 12px 24px -12px rgba(224, 120, 18, .8) !important; }
.shpco-btn--eitaa small { font-size: 12.5px; font-weight: 700; opacity: .92; }

.shpco-msg { padding: 10px 14px; border-radius: 14px; background: #fdecea; color: #8d2b22; font-size: 13.5px; font-weight: 700; text-align: center; animation: shpco-in .3s var(--ease) both; }
.shpco-msg.is-ok { background: var(--grass-t); color: var(--grass-d); }
.shpco-msg.is-info { background: var(--sky-t); color: var(--sky-d); }

/* ---------- بخش ۲ ---------- */
.shpco-pay, .shpco-receipt { display: grid; gap: 12px; }
.shpco-pay > *, .shpco-receipt > * { margin: 0 !important; }
.shpco-amount { display: grid; justify-items: center; text-align: center; }
.shpco-amount small { font-size: 12.5px; font-weight: 700; color: var(--muted); }
.shpco-amount strong {
	display: inline-block; font-size: clamp(28px, 8.4vw, 36px); font-weight: 900; line-height: 1.35;
	background: linear-gradient(135deg, var(--grass-d), #3fa64a 60%, var(--sky-d));
	-webkit-background-clip: text; background-clip: text; color: transparent;
}
.shpco-card {
	position: relative; overflow: hidden; isolation: isolate;
	display: grid !important; gap: 14px; width: 100%;
	min-height: 164px; padding: 16px 18px !important; border-radius: 20px !important;
	color: #fff !important; text-align: right;
	background:
		radial-gradient(120% 120% at 0% 0%, rgba(82, 185, 234, .9) 0%, rgba(82, 185, 234, 0) 55%),
		radial-gradient(110% 130% at 100% 100%, rgba(169, 139, 230, .95) 0%, rgba(169, 139, 230, 0) 58%),
		linear-gradient(135deg, #2c8538, #44a34b) !important;
	box-shadow: 0 16px 34px -18px rgba(44, 133, 56, .75), inset 0 1px 0 rgba(255, 255, 255, .25) !important;
	transition: transform .25s var(--ease);
}
.shpco-card:active { transform: scale(.985); }
.shpco-card__top, .shpco-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 13px; font-weight: 700; }
.shpco-card__chip { width: 34px; height: 25px; border-radius: 7px; background: linear-gradient(135deg, #f8e7a8, #d9b85c); }
.shpco-card__num { display: block; text-align: center; font-size: clamp(21px, 6.6vw, 27px); font-weight: 900; letter-spacing: .07em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.shpco-card__copy { display: inline-flex; align-items: center; gap: 5px; padding: 3px 12px; border-radius: 99px; background: rgba(255, 255, 255, .95); color: var(--grass-d); font-size: 12.5px; font-weight: 900; }
.shpco-card__copy svg { font-size: 15px; }
.shpco-card__shine { position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .28) 50%, transparent 65%); transform: translateX(120%); }
.shpco-step[data-status="open"] .shpco-card__shine { animation: shpco-shine 1.4s .4s var(--ease) both; }
.shpco-card.is-copied .shpco-card__shine { animation: shpco-shine .9s var(--ease) both; }
.shpco-card.is-copied .shpco-card__copy { animation: shpco-pop .4s var(--spring); }
.shpco-hint { text-align: center; font-size: 13px; color: var(--muted); }

.shpco-receipt { justify-items: center; text-align: center; }
.shpco-receipt__ok { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 800; color: var(--grass-d); }
.shpco-receipt__ok span { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--grass); color: #fff; font-size: 13px; }
.shpco-receipt .shpco-btn--eitaa { width: 100%; }
.shpco-receipt__links { display: flex; justify-content: center; gap: 4px 20px; flex-wrap: wrap; }
.shpco-code {
	position: relative; overflow: hidden;
	display: inline-flex !important; align-items: center; gap: 10px;
	padding: 9px 16px !important; border-radius: 16px !important;
	background: var(--lilac-t) !important; color: var(--lilac-d) !important;
	box-shadow: inset 0 0 0 1.5px rgba(169, 139, 230, .45) !important;
	transition: transform .2s var(--ease);
}
.shpco-code small { font-size: 12px; font-weight: 700; }
.shpco-code strong { font: 900 19px/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .08em; color: var(--ink); white-space: nowrap; }
.shpco-code svg { font-size: 17px; }
.shpco-code.is-copied { animation: shpco-pop .4s var(--spring); }

/* ---------- بخش ۳: خیالتان راحت ---------- */
.shpco-final { display: grid; justify-items: center; gap: 12px; text-align: center; }
.shpco-final > * { margin: 0 !important; }
.shpco-panel { padding: 26px 18px; border-radius: var(--r-lg); background: #fff; box-shadow: var(--sh-2); }
.shpco .shpco-final h2 { font-size: 20px !important; font-weight: 900 !important; color: var(--ink) !important; line-height: 1.5 !important; }
.shpco-final__lead { font-size: 14px; color: var(--muted); line-height: 1.9; max-width: 400px; }
.shpco-check { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--grass-t); }
.shpco-check svg { width: 50px; height: 50px; stroke-width: 3.2; }
.shpco-check circle { stroke: var(--grass); fill: var(--grass); }
.shpco-check path { stroke: #fff; }
.shpco-final.is-animated .shpco-check { animation: shpco-pop .55s var(--spring) both; }
.shpco-final.is-animated .shpco-check circle { stroke-dasharray: 151; stroke-dashoffset: 151; fill-opacity: 0; animation: shpco-draw .6s .15s var(--ease) forwards, shpco-fill .3s .6s var(--ease) forwards; }
.shpco-final.is-animated .shpco-check path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: shpco-draw .35s .75s var(--ease) forwards; }

.shpco-track { display: grid; gap: 0; width: 100%; max-width: 360px; text-align: right; }
.shpco-track li { position: relative; display: flex; align-items: center; gap: 10px; padding: 7px 0; font-size: 13.5px; font-weight: 700; color: #8a9a8f; }
.shpco-track li + li::before { content: ""; position: absolute; right: 11px; top: -9px; width: 2px; height: 16px; background: var(--line); }
.shpco-track li span { flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); font-size: 12px; font-weight: 900; }
.shpco-track li.is-done { color: var(--ink); }
.shpco-track li.is-done span { background: var(--grass-t); color: var(--grass-d); box-shadow: none; }
.shpco-track li.is-done + li::before { background: var(--grass); }
.shpco-track li.is-now { color: var(--sky-d); }
.shpco-track li.is-now span { background: var(--sky-t); box-shadow: none; }
.shpco-track li.is-now span::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--sky); animation: shpco-breathe 1.6s ease-in-out infinite; }
.shpco-final__code { font-size: 13px; color: var(--muted); }
.shpco-final__code b { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: var(--lilac-d); letter-spacing: .06em; }
.shpco-final .shpco-btn { width: 100%; max-width: 360px; }

/* ---------- اعلان و برگه (خارج از جریان صفحه) ---------- */
.shpco.shpco-portal { position: static; max-width: none; margin: 0 !important; padding: 0 !important; height: 0; overflow: visible; isolation: auto; }
.shpco-toast {
	position: fixed; z-index: 99999; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px));
	transform: translateX(-50%); padding: 9px 18px; border-radius: 99px;
	background: rgba(28, 50, 38, .92); color: #fff; font-size: 13.5px; font-weight: 800; white-space: nowrap;
	box-shadow: var(--sh-2); animation: shpco-toast .3s var(--spring) both; pointer-events: none;
}
.shpco-ripple { position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .45); transform: scale(0); animation: shpco-ripple .6s var(--ease); pointer-events: none; }
.shpco-plan .shpco-ripple, .shpco-code .shpco-ripple { background: rgba(92, 185, 70, .18); }
.shpco .shpco-swap { animation: shpco-swap .42s var(--spring); }

@keyframes shpco-in { from { opacity: 0; transform: translateY(14px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes shpco-swap { from { opacity: 0; transform: translateY(10px); filter: blur(3px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes shpco-pop { from { transform: scale(.5); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes shpco-draw { to { stroke-dashoffset: 0; } }
@keyframes shpco-fill { to { fill-opacity: 1; } }
@keyframes shpco-shine { from { transform: translateX(120%); } to { transform: translateX(-120%); } }
@keyframes shpco-rot { to { transform: rotate(360deg); } }
@keyframes shpco-ripple { to { transform: scale(2.6); opacity: 0; } }
@keyframes shpco-shake { 20%, 60% { transform: translateX(-5px); } 40%, 80% { transform: translateX(5px); } }
@keyframes shpco-toast { from { opacity: 0; transform: translate(-50%, 10px) scale(.95); } to { opacity: 1; transform: translate(-50%, 0); } }
@keyframes shpco-breathe { 50% { transform: scale(1.5); opacity: .5; } }
@keyframes shpco-float { 0%, 100% { transform: translate(0, 0) scale(1); } 33% { transform: translate(30px, 24px) scale(1.06); } 66% { transform: translate(-24px, 16px) scale(.96); } }

/* ---------- چک‌لیست، بلیت، راهنمای ایتا، برگه تأیید ---------- */
.shpco-todo { display: grid; gap: 6px; padding: 2px 4px; }
.shpco-todo li { display: flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 700; color: var(--muted); transition: color .3s; }
.shpco-todo li span { flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); font-size: 11.5px; font-weight: 900; transition: background .3s, color .3s, box-shadow .3s; }
.shpco-todo li.is-done { color: var(--grass-d); }
.shpco-todo li.is-done span { background: var(--grass); color: #fff; box-shadow: none; animation: shpco-pop .4s var(--spring); }

.shpco-ticket { position: relative; width: 100%; border-radius: 20px; background: #fff; box-shadow: var(--sh-2), inset 0 0 0 1.5px rgba(169, 139, 230, .35); overflow: visible; }
.shpco-ticket::before, .shpco-ticket::after { content: ""; position: absolute; top: calc(50% + 14px); width: 22px; height: 22px; border-radius: 50%; background: #f8fbf7; box-shadow: inset 0 0 0 1.5px rgba(169, 139, 230, .35); }
.shpco-ticket::before { right: -11px; clip-path: inset(0 50% 0 0); }
.shpco-ticket::after { left: -11px; clip-path: inset(0 0 0 50%); }
.shpco-ticket__top { display: grid; justify-items: center; gap: 2px; padding: 16px 16px 14px; border-bottom: 2px dashed rgba(169, 139, 230, .35); }
.shpco-ticket__ok { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--grass); color: #fff; font-weight: 900; box-shadow: 0 0 0 6px var(--grass-t); margin-bottom: 6px; }
.shpco-ticket__top strong { font-size: 16px; font-weight: 900; color: var(--ink); }
.shpco-ticket__top small { font-size: 12.5px; color: var(--muted); font-weight: 700; }
.shpco-ticket__code { display: flex !important; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 14px 16px !important; border-radius: 0 0 20px 20px !important; color: var(--lilac-d) !important; position: relative; overflow: hidden; }
.shpco-ticket__code small { font-size: 12px; font-weight: 700; }
.shpco-ticket__code strong { font: 900 21px/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .1em; color: var(--ink); white-space: nowrap; }
.shpco-ticket__code svg { font-size: 18px; }
.shpco-ticket__code.is-copied strong { animation: shpco-pop .4s var(--spring); }
.shpco-ticket.is-printing { animation: shpco-print .7s var(--spring) both; }
.shpco-ticket.is-printing .shpco-ticket__ok { animation: shpco-pop .5s .25s var(--spring) both; }
.shpco-confetti { position: absolute; left: 50%; top: 30px; width: 0; height: 0; pointer-events: none; }
.shpco-confetti i { position: absolute; width: 7px; height: 11px; border-radius: 2px; opacity: 0; animation: shpco-confetti 1.2s var(--d, 0s) cubic-bezier(.15, .7, .3, 1) forwards; }

.shpco-howto { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; width: 100%; }
.shpco-howto li { display: grid; justify-items: center; gap: 4px; padding: 8px 4px; border-radius: 14px; background: var(--bg); font-size: 12px; font-weight: 800; color: var(--muted); text-align: center; line-height: 1.5; }
.shpco-howto li span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 10px; background: #fff; color: #e07812; font-size: 17px; box-shadow: var(--sh-1); }
.shpco-btn--eitaa small { font-weight: 600; }
.shpco-btn--go { flex-direction: column; gap: 0 !important; min-height: 62px; line-height: 1.4; }
.shpco-btn--go small { font-size: 12px; font-weight: 600; opacity: .9; }
.shpco-btn--go.is-busy small { display: none; }
.shpco-btn--go.is-busy { flex-direction: row; gap: 8px !important; }
.shpco-final__links { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 20px; }
.shpco-final .shpco-ticket { max-width: 380px; }
.shpco-btn--soft { background: var(--bg) !important; color: var(--ink) !important; box-shadow: inset 0 0 0 1.5px var(--line) !important; }

.shpco-sheet { position: fixed; inset: 0; z-index: 99998; display: grid; align-items: end; justify-items: center; }
.shpco-sheet__back { position: absolute; inset: 0; background: rgba(20, 36, 27, .38); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); animation: shpco-fade .25s ease both; }
.shpco-sheet__card { position: relative; width: min(100%, 460px); padding: 10px 20px calc(20px + env(safe-area-inset-bottom, 0px)); border-radius: 26px 26px 0 0; background: #fff; box-shadow: var(--sh-2); display: grid; gap: 12px; text-align: center; animation: shpco-sheet .38s var(--spring) both; }
.shpco-sheet__grip { justify-self: center; width: 42px; height: 5px; border-radius: 5px; background: var(--line); }
.shpco .shpco-sheet h2 { font-size: 18px !important; font-weight: 900 !important; color: var(--ink) !important; margin: 0 !important; }
.shpco-sheet__sum { display: grid; gap: 2px; padding: 12px; border-radius: 16px; background: var(--grass-t); }
.shpco-sheet__sum b { font-size: 22px; font-weight: 900; color: var(--grass-d); }
.shpco-sheet__sum span { font-size: 13px; color: #3b6f45; font-weight: 700; }
.shpco-sheet__actions { display: grid; grid-template-columns: 1.4fr 1fr; gap: 8px; }
.shpco-sheet__actions .shpco-btn { width: 100%; }
html.shpco-lock { overflow: hidden; }
@media (min-width: 720px) {
	.shpco-sheet { align-items: center; }
	.shpco-sheet__card { border-radius: 26px; padding-bottom: 20px; }
}
@keyframes shpco-print { from { opacity: 0; transform: translateY(-14px) scaleY(.6); transform-origin: top; clip-path: inset(0 0 100% 0); } to { opacity: 1; transform: none; clip-path: inset(0 0 0 0); } }
@keyframes shpco-confetti { 0% { opacity: 1; transform: translate(0, 0) rotate(0); } 70% { opacity: 1; } 100% { opacity: 0; transform: translate(var(--x), calc(var(--y) + 140px)) rotate(var(--r)); } }
@keyframes shpco-sheet { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes shpco-fade { from { opacity: 0; } to { opacity: 1; } }

@media (min-width: 720px) {
	.shpco { padding-top: 18px; }
	.shpco-step__head { padding: 16px 20px !important; }
	.shpco-step[data-status="open"] .shpco-step__inner { padding: 2px 20px 20px; }
	.shpco-thumb { width: 70px; height: 70px; }
}
@media (max-width: 350px) {
	.shpco-newbie { grid-template-columns: 1fr; }
	.shpco-card__num { letter-spacing: .03em; }
}
@media (prefers-reduced-motion: reduce) {
	.shpco *, .shpco *::before, .shpco *::after { animation: none !important; transition: none !important; }
	.shpco-orb { display: none; }
}

/* ---------- 2.0: یک فرم حساب با دو حالت (حساب دارم / حساب ندارم) ---------- */
.shpco-seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; margin-bottom: 12px; border-radius: var(--r-sm); background: var(--white); box-shadow: inset 0 0 0 1px var(--line); }
.shpco-seg__btn { min-height: 42px; border: 0; border-radius: 10px; background: transparent; font-size: 13.5px !important; font-weight: 800; color: var(--muted); cursor: pointer; transition: background .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease); }
.shpco-seg__btn[aria-selected="true"] { background: var(--grass-t); color: var(--grass-d); box-shadow: inset 0 0 0 1px rgba(92, 185, 70, .35); }
.shpco-seg__btn:focus-visible { outline: 2px solid var(--grass); outline-offset: 2px; }
.shpco-auth .shpco-newbie { margin-bottom: 10px; }

/* ---------- 2.0: ثبت‌نام رایگان ---------- */
.shpco-free { display: grid; gap: 14px; }
.shpco-free .shpco-amount strong { color: var(--grass-d); }
.shpco-final--free .shpco-ticket { margin-bottom: 14px; }
.shpco-me { display: flex; align-items: center; gap: 8px; margin-top: 12px !important; font-size: 13px; color: var(--muted); }
.shpco-me strong { color: var(--ink); font-weight: 800; }
.shpco-me__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--grass); flex: none; }
@media (prefers-reduced-motion: reduce) { .shpco-seg__btn { transition: none; } }
