/* ================================================================
   فرم سفارش تمیزک — استایل (سبک اپلیکیشن موبایل)
   ================================================================ */

/* رفع باگ شناخته‌شده: وقتی المانی هم اتریبیوت hidden داره و هم کلاسی با
   display:flex/block/grid روش تعریف شده (مثل tzo-counter-row یا tzo-branch)،
   بعضی مرورگرها کلاس رو به hidden ترجیح می‌دن و المان مخفی نمی‌شه.
   این قانون با !important این مشکل را همیشه و برای هر المانی رفع می‌کند. */
[hidden] {
	display: none !important;
}

.tzo-wrap {
	width: 100%;
	margin: 0 auto;
	padding: 0 0 90px;
	font-family: inherit;
	position: relative;
	color: #2b3a4a;
	background: #ffffff;
}

/* رفع باگ «گوشه‌های تیز موقع لمس»: مرورگرهای موبایل یک هایلایت
   مستطیلیِ پیش‌فرض موقع تپ نشون می‌دن که border-radius رو رعایت
   نمی‌کنه. با این قانون اون هایلایت پیش‌فرض حذف می‌شه. */
.tzo-wrap * {
	-webkit-tap-highlight-color: transparent;
}
.tzo-list__item,
.tzo-chip,
.tzo-day,
.tzo-hour,
.tzo-num {
	overflow: hidden;
	outline: none;
	-webkit-user-select: none;
	user-select: none;
}
/* تذکر: tzo-day--grid عمداً overflow:hidden نداره چون بج «امروز/فردا»
   با top منفی بیرون از کارت قرار می‌گیره و با overflow:hidden قطع می‌شد.
   چون این المان هم‌زمان کلاس tzo-day هم داره (که overflow:hidden می‌ده)،
   اینجا صریحاً override می‌کنیم. */
.tzo-day--grid {
	overflow: visible;
	outline: none;
	-webkit-user-select: none;
	user-select: none;
}
.tzo-list__item:focus,
.tzo-chip:focus,
.tzo-day:focus,
.tzo-hour:focus,
.tzo-num:focus,
.tzo-list__item input:focus,
.tzo-chip input:focus,
.tzo-day input:focus,
.tzo-hour input:focus,
.tzo-num input:focus {
	outline: none;
	box-shadow: none;
}
.tzo-wrap label,
.tzo-wrap button {
	-webkit-touch-callout: none;
}

/* روی صفحه‌های بزرگ (دسکتاپ) عرض محدود و وسط‌چین شود */
@media (min-width: 780px) {
	.tzo-wrap {
		max-width: 760px;
		border-radius: 22px;
		overflow: hidden;
		box-shadow: 0 10px 40px rgba(20, 60, 90, 0.08);
	}
}

/* ---------- نوار بالای فرم: عکس خدمت + عنوان + ضربدر ---------- */
.tzo-form-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 14px 16px;
	background: #ffffff;
}
.tzo-form-header__info {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
}
.tzo-form-header__thumb {
	flex-shrink: 0;
	width: 60px;
	height: 60px;
	border-radius: 12px;
	overflow: hidden;
	background: #eaf7fd;
}
.tzo-form-header__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.tzo-form-header__title {
	font-size: 15px;
	font-weight: 800;
	color: #223142;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.tzo-form-header__close {
	flex-shrink: 0;
	width: 34px;
	height: 34px;
	border: none;
	border-radius: 50%;
	background: #f1f4f6;
	color: #56636e;
	font-size: 15px;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
}
.tzo-form-header__close:hover { background: #e4e9ec; }

/* ---------- پاپ‌آپ تایید خروج وسط فرم ---------- */
.tzo-exit-confirm {
	position: fixed;
	inset: 0;
	background: rgba(20, 30, 40, 0.45);
	z-index: 9999;
	display: flex;
	align-items: flex-end;
	justify-content: center;
}
.tzo-exit-confirm[hidden] {
	display: none;
}
@media (min-width: 780px) {
	.tzo-exit-confirm { align-items: center; }
}
.tzo-exit-confirm__box {
	width: 100%;
	max-width: 420px;
	background: #ffffff;
	border-radius: 18px 18px 0 0;
	padding: 22px 20px;
	box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.15);
}
@media (min-width: 780px) {
	.tzo-exit-confirm__box { border-radius: 18px; margin: 0 16px; }
}
.tzo-exit-confirm__text {
	margin: 0 0 18px;
	font-size: 14px;
	line-height: 1.9;
	color: #2b3a4a;
	text-align: center;
}
.tzo-exit-confirm__actions {
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.tzo-exit-confirm__leave,
.tzo-exit-confirm__stay {
	width: 100%;
	padding: 13px;
	border-radius: 12px;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
	border: none;
}
.tzo-exit-confirm__leave {
	background: #fde8e8;
	color: #c0392b;
}

/* ---------- پاپ‌آپ راستی‌آزمایی مینیمال (جایگزین alert مرورگر) ---------- */
.tzo-alert {
	position: fixed;
	inset: 0;
	background: rgba(20, 30, 40, 0.45);
	z-index: 10000;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	font-family: inherit;
}
.tzo-alert[hidden] { display: none; }
@media (min-width: 780px) {
	.tzo-alert { align-items: center; }
}
.tzo-alert__box {
	width: 100%;
	max-width: 380px;
	background: #ffffff;
	border-radius: 20px 20px 0 0;
	padding: 26px 22px 22px;
	box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.15);
	text-align: center;
	direction: rtl;
}
@media (min-width: 780px) {
	.tzo-alert__box { border-radius: 20px; margin: 0 16px; }
}
.tzo-alert__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin: 0 auto 14px;
	border-radius: 50%;
	background: #fff4e0;
	color: #d9822b;
	font-size: 20px;
	font-weight: 800;
}
.tzo-alert__text {
	margin: 0 0 20px;
	font-size: 14px;
	line-height: 1.9;
	color: #2b3a4a;
}
.tzo-alert__ok {
	width: 100%;
	padding: 13px;
	border-radius: 12px;
	font-size: 14px;
	font-weight: 700;
	font-family: inherit;
	cursor: pointer;
	border: none;
	background: linear-gradient(90deg, #17c1f0, #0a93cf);
	color: #fff;
}
.tzo-exit-confirm__stay {
	background: linear-gradient(90deg, #17c1f0, #0a93cf);
	color: #ffffff;
}

/* ---------- نوار پیشرفت بالا ---------- */
.tzo-progress-label {
	padding: 10px 16px 0;
	background: #fff;
	font-size: 11.5px;
	font-weight: 700;
	color: #8095a3;
	text-align: center;
}
.tzo-progress {
	display: flex;
	gap: 5px;
	padding: 8px 16px 14px;
	background: #fff;
}
.tzo-progress__seg {
	flex: 1;
	height: 3px;
	border-radius: 99px;
	background: #e7ebf1;
	transition: background 0.3s ease;
}
.tzo-progress__seg.is-done {
	background: #1E88E5;
}

/* ---------- کارت مرحله ---------- */
.tzo-step { display: none; }
.tzo-step.is-active {
	display: block;
	animation: tzoSlideDown 0.45s ease;
}
@keyframes tzoSlideDown {
	from { opacity: 0; transform: translateY(-24px); }
	to   { opacity: 1; transform: translateY(0); }
}

.tzo-card {
	background: #fff;
	padding: 18px 16px 22px;
	margin-bottom: 8px;
}

.tzo-title {
	font-size: 19px;
	font-weight: 900;
	margin: 4px 0 16px;
	color: #0a6ea8;
}
.tzo-h3 {
	font-size: 15px;
	font-weight: 800;
	margin: 22px 0 5px;
}
.tzo-h3:first-child { margin-top: 0; }

.tzo-required-badge {
	display: inline-block;
	background: #fdeaea;
	color: #d64545;
	font-size: 10.5px;
	font-weight: 700;
	padding: 3px 9px;
	border-radius: 20px;
	margin-right: 6px;
	vertical-align: middle;
}

.tzo-hint {
	font-size: 12.5px;
	color: #7b93a2;
	margin: 0 0 14px;
	line-height: 1.9;
}
.tzo-hint--warn { color: #d98324; }

/* ---------- اعتمادسازی ---------- */
.tzo-trust__item {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 12px 0;
	border-bottom: 1px solid #f0f3f5;
	font-size: 13.5px;
	line-height: 1.9;
}
.tzo-trust__item:last-child { border-bottom: none; }

.tzo-trust-illustration {
	display: block;
	max-width: 200px;
	width: 60%;
	margin: 20px auto 0;
}

.tzo-check {
	flex-shrink: 0;
	width: 22px;
	height: 22px;
	background: #e3f7ea;
	color: #00a854;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 12px;
	font-weight: bold;
	margin-top: 1px;
}

/* ---------- روزها ---------- */
.tzo-days { display: flex; flex-direction: column; gap: 8px; }
.tzo-day {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 13px 14px;
	border-radius: 14px;
	cursor: pointer;
	transition: 0.15s;
	background: #f4f7f9;
}
.tzo-day.is-active { background: #e3f4fc; }
.tzo-day__label { font-weight: 700; font-size: 13.5px; }
.tzo-day__badge {
	font-size: 11px;
	background: #00a854;
	color: #fff;
	padding: 3px 11px;
	border-radius: 20px;
}
.tzo-day:nth-child(2) .tzo-day__badge { background: #17c1f0; }
.tzo-day--calendar { position: relative; }
.tzo-date-hidden { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }

/* ---------- گرید کارتی روزها (۳ در ۳) ---------- */
.tzo-days--grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 8px;
}
.tzo-day--grid {
	position: relative;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 4px;
	padding: 12px 6px;
	text-align: center;
	background: #f4f7f9;
	border: 1px solid transparent;
}
.tzo-day--grid .tzo-day__weekday {
	font-size: 12px;
	color: #6b7280;
	font-weight: 500;
}
.tzo-day--grid .tzo-day__date {
	font-size: 14px;
	font-weight: 700;
	color: #1f2937;
}
.tzo-day--grid.is-active {
	background: #2563eb;
	border-color: #2563eb;
}
.tzo-day--grid.is-active .tzo-day__weekday,
.tzo-day--grid.is-active .tzo-day__date {
	color: #fff;
}
.tzo-day--grid .tzo-day__badge {
	position: absolute;
	top: -8px;
	left: 8px;
	font-size: 10px;
	padding: 2px 9px;
	background: #17c1f0;
	white-space: nowrap;
}
/* روز اول (امروز) بج سبز دارد، بقیه (فردا/پس‌فردا) آبی */
.tzo-day--grid:first-child .tzo-day__badge {
	background: #25b420;
}

/* ---------- چیپ‌ها ---------- */
.tzo-chips {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 8px;
}
.tzo-chips--2 { grid-template-columns: repeat(2, 1fr); }

/* ---------- شمارنده‌ی تعداد نفرات ---------- */
.tzo-counter-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 14px;
	background: #f7fbfd;
	border-radius: 12px;
	margin-bottom: 8px;
}
.tzo-counter-row__label { font-size: 13.5px; font-weight: 700; color: #223142; }
.tzo-counter {
	display: flex;
	align-items: center;
	gap: 10px;
}
.tzo-counter__btn {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	border: none;
	background: #eaf7fd;
	color: #0a6ea8;
	font-size: 18px;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
}
.tzo-counter__btn:active { transform: scale(0.93); }
.tzo-counter__display {
	display: inline-block;
	width: 30px;
	text-align: center;
	font-size: 15px;
	font-weight: 800;
	color: #223142;
	font-family: inherit;
}

.tzo-chip {
	text-align: center;
	padding: 13px 8px;
	border-radius: 14px;
	cursor: pointer;
	font-weight: 700;
	font-size: 13.5px;
	transition: 0.15s;
	background: #f4f7f9;
}
.tzo-chip.is-active {
	background: #e3f4fc;
	color: #0a6ea8;
	box-shadow: inset 0 0 0 1.5px #17c1f0;
}

/* ---------- ساعت‌ها (اسکرول افقی) ---------- */
.tzo-hours-scroll {
	display: flex;
	gap: 8px;
	overflow-x: auto;
	padding: 2px 2px 10px;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: thin;
}
.tzo-hours-scroll::-webkit-scrollbar { height: 5px; }
.tzo-hours-scroll::-webkit-scrollbar-thumb { background: #dbe4ea; border-radius: 10px; }
.tzo-hour {
	flex: 0 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 4px;
	min-width: 66px;
	padding: 12px 8px;
	border-radius: 14px;
	cursor: pointer;
	text-align: center;
	background: #f4f7f9;
	border: 1px solid transparent;
	transition: 0.15s;
}
.tzo-hour[hidden] { display: none; }
.tzo-hour__time {
	font-size: 14px;
	font-weight: 800;
	color: #1f2937;
}
.tzo-hour__label {
	font-size: 11px;
	color: #7b93a2;
}
.tzo-hour.is-active {
	background: #00aeef;
	border-color: #00a3d9;
}
.tzo-hour.is-active .tzo-hour__time,
.tzo-hour.is-active .tzo-hour__label {
	color: #fff;
}

/* ---------- لیست انتخابی ---------- */
.tzo-list { display: flex; flex-direction: column; gap: 8px; }
.tzo-list__item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 15px 14px;
	border-radius: 14px;
	cursor: pointer;
	font-weight: 700;
	font-size: 13.5px;
	transition: 0.15s;
	background: #f4f7f9;
}
.tzo-list__item.is-active { background: #e3f4fc; }

.tzo-terms-agree { margin-top: 16px; }

.tzo-list--check .tzo-list__item > span:first-child {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}
.tzo-service-extra {
	font-size: 11px;
	font-weight: 700;
	color: #0a93cf;
	background: #eaf7fd;
	padding: 2px 8px;
	border-radius: 10px;
	white-space: nowrap;
}

.tzo-radio {
	width: 20px;
	height: 20px;
	border: 2px solid #c9d6de;
	border-radius: 50%;
	flex-shrink: 0;
	position: relative;
	background: #fff;
}
.tzo-list__item.is-active .tzo-radio { border-color: #17c1f0; }
.tzo-list__item.is-active .tzo-radio::after {
	content: '';
	position: absolute;
	inset: 3px;
	background: #17c1f0;
	border-radius: 50%;
}
.tzo-checkbox {
	width: 20px;
	height: 20px;
	border: 2px solid #c9d6de;
	border-radius: 50%;
	flex-shrink: 0;
	position: relative;
	background: #fff;
}
.tzo-list__item.is-active .tzo-checkbox {
	border-color: #17c1f0;
	background: #17c1f0;
}
.tzo-list__item.is-active .tzo-checkbox::after {
	content: '✓';
	position: absolute;
	inset: 0;
	color: #fff;
	font-size: 13px;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* ---------- اعداد (طبقات) ---------- */
.tzo-nums {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 6px;
	margin-bottom: 18px;
}
.tzo-num {
	text-align: center;
	padding: 11px 0;
	border-radius: 12px;
	cursor: pointer;
	font-weight: 700;
	transition: 0.15s;
	background: #f4f7f9;
}
.tzo-num.is-active {
	background: #e3f4fc;
	color: #0a6ea8;
	box-shadow: inset 0 0 0 1.5px #17c1f0;
}

/* ---------- ورودی‌ها ---------- */
/* ---------- کارت‌هایِ انتخابِ آدرسِ ذخیره‌شده (برایِ مشتریِ لاگین‌شده) ---------- */
.tzo-saved-address-list {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-bottom: 4px;
}
.tzo-saved-address-card {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	width: 100%;
	padding: 14px 16px;
	border: 1.5px solid #e3edf4;
	border-radius: 14px;
	background: #fff;
	font-family: inherit;
	text-align: right;
	cursor: pointer;
}
.tzo-saved-address-card.is-selected {
	border-color: #17c1f0;
	background: #eaf9fe;
}
.tzo-saved-address-card__check {
	flex: none;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	border: 1.5px solid #cdd9e2;
	margin-top: 2px;
}
.tzo-saved-address-card.is-selected .tzo-saved-address-card__check {
	border-color: #17c1f0;
	background: #17c1f0
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E")
		center / 13px no-repeat;
}
.tzo-saved-address-card--new .tzo-saved-address-card__check {
	display: flex;
	align-items: center;
	justify-content: center;
	color: #17c1f0;
	font-size: 15px;
	font-weight: 700;
	border-style: dashed;
}
.tzo-saved-address-card__body { flex: 1; min-width: 0; }
.tzo-saved-address-card__title {
	display: block;
	font-size: 13px;
	font-weight: 800;
	color: #223142;
	margin-bottom: 3px;
}
.tzo-saved-address-card__text {
	display: block;
	font-size: 12.5px;
	color: #7a8a99;
	line-height: 1.8;
}
.tzo-saved-address-card--new .tzo-saved-address-card__title { color: #17c1f0; margin-bottom: 0; }

.tzo-input, .tzo-textarea {
	width: 100%;
	padding: 14px 16px;
	border: none;
	border-radius: 14px;
	font-size: 13.5px;
	font-family: inherit;
	direction: rtl;
	text-align: right;
	margin-bottom: 10px;
	background: #f4f7f9;
	transition: 0.15s;
	box-sizing: border-box;
}
.tzo-input:focus, .tzo-textarea:focus {
	outline: none;
	box-shadow: inset 0 0 0 1.5px #17c1f0;
	background: #fff;
}
.tzo-input::placeholder, .tzo-textarea::placeholder {
	text-align: right;
	direction: rtl;
	opacity: 1;
}
.tzo-textarea { resize: vertical; }
.tzo-textarea--address { min-height: 90px; }

/* ---------- خانه‌های کد تایید (OTP) ---------- */
.tzo-otp {
	display: flex;
	justify-content: center;
	gap: 12px;
	margin: 6px 0 4px;
}
.tzo-otp__box {
	width: 52px;
	height: 58px;
	text-align: center;
	font-size: 22px;
	font-weight: 700;
	color: #2b3a4a;
	border: none;
	border-radius: 14px;
	background: #f4f7f9;
	box-shadow: inset 0 0 0 1.5px transparent;
	transition: 0.15s;
	-moz-appearance: textfield;
}
.tzo-otp__box::-webkit-outer-spin-button,
.tzo-otp__box::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}
.tzo-otp__box:focus {
	outline: none;
	background: #fff;
	box-shadow: inset 0 0 0 1.8px #17c1f0;
}
.tzo-otp__box.is-filled {
	background: #e3f4fc;
	box-shadow: inset 0 0 0 1.5px #b7e6f7;
}
.tzo-otp__box.is-error {
	background: #fdeceb;
	box-shadow: inset 0 0 0 1.5px #e5675b;
	animation: tzoOtpShake 0.35s ease;
}
.tzo-otp__box.is-success {
	background: #e6f7ee;
	box-shadow: inset 0 0 0 1.5px #22b573;
	color: #159a5f;
}
@keyframes tzoOtpShake {
	10%, 90% { transform: translateX(-1px); }
	20%, 80% { transform: translateX(2px); }
	30%, 50%, 70% { transform: translateX(-4px); }
	40%, 60% { transform: translateX(4px); }
}

/* ---------- شمارشِ معکوس + دکمه‌ی ارسالِ مجدد کد ---------- */
.tzo-otp-resend {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-top: 4px;
	font-size: 12px;
	color: #7a8a99;
}
.tzo-otp-resend b {
	font-size: 12.5px;
	font-weight: 800;
	color: #2b3a4a;
	font-variant-numeric: tabular-nums;
}
.tzo-otp-resend__dial {
	display: block;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: conic-gradient(#17c1f0 var(--tzo-resend-pct, 100%), #e6eef3 0);
	position: relative;
	flex-shrink: 0;
}
.tzo-otp-resend__dial::after {
	content: '';
	position: absolute;
	inset: 3px;
	border-radius: 50%;
	background: #fff;
}
.tzo-otp-resend__btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	width: 100%;
	margin-top: 4px;
	padding: 9px;
	border: none;
	border-radius: 12px;
	background: #eaf7fd;
	color: #0a6ea8;
	font-family: inherit;
	font-size: 12.5px;
	font-weight: 800;
	cursor: pointer;
}
.tzo-otp-resend__btn:active { transform: scale(0.97); }

/* ---------- نشانه‌ی «در حال بررسی کد» ---------- */
.tzo-otp-verifying {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
}
.tzo-otp-verifying__spin {
	display: block;
	width: 13px;
	height: 13px;
	border: 2px solid #d3eefb;
	border-top-color: #0a93cf;
	border-radius: 50%;
	animation: tzoSpin 0.7s linear infinite;
}

/* ---------- پیام ایاب‌وذهاب ---------- */
.tzo-transport-msg {
	background: #fff4e5;
	color: #b06f16;
	padding: 12px 14px;
	border-radius: 14px;
	font-size: 12.5px;
	line-height: 1.8;
	margin-bottom: 14px;
	display: flex;
	align-items: center;
	gap: 8px;
	animation: tzoSlideDown 0.3s ease;
}
.tzo-transport-msg::before { content: '🚕'; font-size: 17px; }
.tzo-transport-msg[hidden] { display: none; }

/* ---------- پیام هشدار پارکینگ (مدت‌زمان پیشنهادی) ---------- */
.tzo-parking-msg::before { content: '🅿️'; font-size: 17px; }
.tzo-parking-msg {
	background: #eaf7fd;
	color: #0a6ea8;
}

/* ---------- گزینه‌ی مدت‌زمانی که با توجه به تعداد پارکینگ توصیه نمی‌شود ---------- */
.tzo-chip.is-not-recommended {
	opacity: 0.45;
	background-image: repeating-linear-gradient(
		-45deg,
		#f4f7f9,
		#f4f7f9 6px,
		#e9edf1 6px,
		#e9edf1 12px
	);
}
.tzo-chip.is-not-recommended.is-active {
	opacity: 0.75;
}

/* ---------- خلاصه‌ی سفارش (استایل دفتر یادداشت نخودی) ---------- */
#tzoSummary {
	background: #f7f1e3;
	border-radius: 18px;
	padding: 6px 4px 14px;
	position: relative;
}
/* حس اسپیرال دفترچه: چند دایره‌ی کوچیک بالای برگه */
#tzoSummary::before {
	content: '';
	display: block;
	height: 18px;
	margin: 0 20px;
	background-image: radial-gradient(circle, #d8cca6 3px, transparent 3px);
	background-size: 22px 100%;
	background-repeat: repeat-x;
	background-position: top center;
	opacity: 0.9;
}

/* ================================================================
   بازبینی سفارش — مرحله‌ی ۹ (طراحی 2a، طبق design handoff)
   ================================================================ */
.tzo-review {
	display: flex;
	flex-direction: column;
	background: #f6f7f9;
	padding: 16px 19px;
	margin: -16px -12px;
}

/* ---------- کارت قیمت (گرادیانت آبی) ---------- */
.tzo-review-price {
	background: linear-gradient(90deg, #17c1f0, #0a93cf);
	border-radius: 22px;
	padding: 14px 20px;
	color: #fff;
	box-shadow: 0 12px 26px rgba(10, 147, 207, 0.3);
	margin-bottom: 14px;
	text-align: center;
}
.tzo-review-price__label {
	font-size: 15.5px;
	font-weight: 400;
	color: rgba(255, 255, 255, 0.8);
	white-space: nowrap;
}
.tzo-review-price__amount {
	display: flex;
	align-items: baseline;
	justify-content: center;
	gap: 6px;
	margin-top: 4px;
}
.tzo-review-price__original {
	font-size: 15px;
	font-weight: 500;
	opacity: 0.7;
	text-decoration-thickness: 1.5px;
	margin-inline-end: 4px;
}
#tzoFinalPrice {
	font-size: 28px;
	font-weight: 700;
	letter-spacing: -0.5px;
	line-height: 1;
}
.tzo-review-price__unit {
	font-size: 13px;
	font-weight: 400;
	color: rgb(255 255 255 / 95%);
}
.tzo-review-price__divider {
	height: 1px;
	background: rgba(255, 255, 255, 0.22);
	margin: 10px 0 10px;
}
.tzo-review-price__footer {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px 14px;
	font-size: 11.5px;
	font-weight: 400;
	color: rgba(255, 255, 255, 0.85);
}
.tzo-review-price__footer span { white-space: nowrap; }

/* ---------- کارت‌های سفید عمومی (خدمت، آدرس) ---------- */
.tzo-review-card {
	background: #fff;
	border-radius: 20px;
	padding: 16px;
	box-shadow: 0 2px 10px rgba(18, 33, 58, 0.05);
	margin-top: 12px;
}
.tzo-review-price + .tzo-review-card { margin-top: 0; }

/* ---------- کارت خدمت: تصویر + عنوان + تاریخ/ساعت ---------- */
.tzo-review-service {
	display: flex;
	gap: 13px;
	align-items: center;
	padding-bottom: 14px;
	border-bottom: 1px solid #f2f5f9;
}
.tzo-review-service__img {
	padding: 2px;
	width: 80px;
	height: 80px;
	border-radius: 15px;
	flex-shrink: 0;
	overflow: hidden;
	background: #eaf7fd;
}
.tzo-review-service__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.tzo-review-service__info { flex: 1; min-width: 0; }
.tzo-review-service__title {
	font-size: 14px;
	font-weight: 700;
	color: #16202e;
}
.tzo-review-service__sub {
	font-size: 11.5px;
	font-weight: 400;
	color: #8994a4;
	margin-top: 4px;
}
.tzo-review-service__sub div + div {
	margin-top: 3px;
}
.tzo-review-tiles {
	display: flex;
	gap: 12px;
	padding-top: 14px;
}
.tzo-review-tile {
	flex: 1;
	background: #eaf7fd;
	border-radius: 14px;
	padding: 12px;
}
.tzo-review-tile__label { font-size: 10.5px; font-weight: 400; color: #8994a4; }
.tzo-review-tile__value {
	font-size: 14px;
	font-weight: 700;
	margin-top: 4px;
	white-space: nowrap;
	color: #0a93cf;
	text-align: center;
}

/* ---------- کارت‌های آکاردئونی (مشخصات محل، خدمات، یادداشت/تخفیف) ---------- */
.tzo-review-collapse {
	background: #fff;
	border-radius: 20px;
	padding: 4px 16px;
	box-shadow: 0 2px 10px rgba(18, 33, 58, 0.05);
	margin-top: 12px;
}
.tzo-review-collapse__head {
	width: 100%;
	border: none;
	background: none;
	padding: 14px 0;
	display: flex;
	align-items: center;
	gap: 8px;
	cursor: pointer;
	font-family: inherit;
}
.tzo-review-collapse__title {
	flex: 1;
	text-align: right;
	font-size: 13px;
	font-weight: 700;
	color: #16202e;
	white-space: nowrap;
}
.tzo-review-collapse__summary {
	font-size: 11.5px;
	font-weight: 400;
	color: #8994a4;
	white-space: nowrap;
}
.tzo-review-collapse__caret {
	font-size: 12px;
	color: #b3bcc8;
	transition: transform 0.18s ease;
	flex-shrink: 0;
}
.tzo-review-collapse.is-open .tzo-review-collapse__caret { transform: rotate(180deg); }
.tzo-review-collapse__body {
	display: none;
	padding-bottom: 4px;
}
.tzo-review-collapse.is-open .tzo-review-collapse__body { display: block; }
.tzo-review-collapse__edit {
	width: 100%;
	border: none;
	background: none;
	padding: 12px 0;
	font-size: 12px;
	font-weight: 700;
	color: #1E88E5;
	text-align: right;
	cursor: pointer;
	border-top: 1px solid #f4f6fa;
	font-family: inherit;
}

/* ردیف‌های مشخصات محل */
.tzo-review-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 9px 0;
	border-top: 1px solid #f4f6fa;
}
.tzo-review-row span:first-child { font-size: 12.5px; font-weight: 400; color: #8994a4; white-space: nowrap; }
.tzo-review-row span:last-child { font-size: 12.5px; font-weight: 700; color: #16202e; white-space: nowrap; }

/* خدمات شامل سفارش */
.tzo-review-tasks {
	padding: 14px 0 10px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	border-top: 1px solid #f4f6fa;
	margin-top: 2px;
}
.tzo-review-tasks__item {
	display: flex;
	gap: 9px;
	align-items: center;
}
.tzo-review-tasks__item svg { flex-shrink: 0; }
.tzo-review-tasks__item span {
	font-size: 12.5px;
	line-height: 1.75;
	font-weight: 400;
	color: rgb(61, 74, 92);
	background: rgb(244, 246, 250);
	border-radius: 10px;
	padding: 8px 11px;
}

/* ---------- کارت آدرس ---------- */
.tzo-review-address {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 10px;
}
.tzo-review-address__info { flex: 1; min-width: 0; }
.tzo-review-address__name { font-size: 12.5px; font-weight: 700; color: #16202e; }
.tzo-review-address__text {
	font-size: 12.5px;
	line-height: 1.85;
	font-weight: 400;
	color: #6b7788;
	margin-top: 4px;
}
.tzo-review-address__edit {
	border: none;
	background: none;
	padding: 0;
	font-size: 11.5px;
	font-weight: 700;
	color: #1E88E5;
	cursor: pointer;
	white-space: nowrap;
	font-family: inherit;
}

/* ---------- یادداشت + کد تخفیف ---------- */
.tzo-review-collapse__plus-icon {
	font-size: 16px;
	font-weight: 400;
	color: #1E88E5;
	line-height: 1;
	flex-shrink: 0;
}
.tzo-review-textarea {
	width: 100%;
	min-height: 70px;
	resize: none;
	border: none;
	border-radius: 14px;
	background: #f7f9fc;
	padding: 12px;
	font-size: 12.5px;
	line-height: 1.8;
	font-weight: 400;
	color: #16202e;
	font-family: inherit;
	margin-bottom: 16px;
}
.tzo-review-discount-row { display: flex; gap: 8px; }
.tzo-review-discount-input {
	flex: 1;
	height: 44px;
	border: none;
	border-radius: 14px;
	background: #f7f9fc;
	padding: 0 13px;
	font-size: 12.5px;
	font-weight: 500;
	color: #16202e;
	font-family: inherit;
}
.tzo-review-discount-btn {
	height: 44px;
	padding: 0 18px;
	border: none;
	border-radius: 14px;
	background: #eaf3fd;
	color: #1873c4;
	font-size: 12.5px;
	font-weight: 700;
	cursor: pointer;
	font-family: inherit;
}
.tzo-review-discount-btn:hover { background: #dceafb; }
.tzo-review-discount-msg {
	font-size: 11.5px;
	font-weight: 500;
	margin-top: 10px;
	padding-bottom: 16px;
}
.tzo-review-discount-msg.is-ok { color: #1c8b5f; }
.tzo-review-discount-msg.is-empty { color: #c0392b; }

/* ---------- باکس شرایط سرویس (کارت مسطح، دکمه‌ی مشاهده‌ی کامل) ---------- */
.tzo-terms-box {
	margin-top: 12px;
	padding: 14px 16px;
	background: #f7fbfd;
	border-radius: 14px;
}
.tzo-terms-box__title {
	font-size: 14px;
	font-weight: 800;
	color: #223142;
	margin: 0 0 8px;
}
.tzo-terms-box__content {
	max-height: 78px;
	overflow: hidden;
	position: relative;
	transition: max-height 0.25s ease;
}
.tzo-terms-box__content::after {
	content: '';
	position: absolute;
	bottom: 0; right: 0; left: 0;
	height: 28px;
	background: linear-gradient(to bottom, rgba(247, 251, 253, 0), #f7fbfd);
	pointer-events: none;
}
.tzo-terms-box.is-open .tzo-terms-box__content {
	max-height: 1200px;
}
.tzo-terms-box.is-open .tzo-terms-box__content::after {
	display: none;
}
.tzo-terms-box__item {
	position: relative;
	padding-right: 16px;
	font-size: 12.5px;
	line-height: 2;
	color: #52616f;
	margin: 0 0 4px;
}
.tzo-terms-box__item::before {
	content: '';
	position: absolute;
	right: 0;
	top: 10px;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #17c1f0;
}
.tzo-terms-box__toggle {
	display: block;
	margin: 8px auto 0;
	background: none;
	border: none;
	color: #0a92c9;
	font-size: 12.5px;
	font-weight: 700;
	cursor: pointer;
	padding: 4px 10px;
	font-family: inherit;
}


/* ---------- دکمه‌ی دانلود قرارداد ---------- */
.tzo-contract-link {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-top: 14px;
	padding: 13px;
	border-radius: 12px;
	background: #eaf7fd;
	color: #0a6ea8 !important;
	text-decoration: none !important;
	font-size: 13.5px;
	font-weight: 700;
}

/* ---------- سوییچ ایمیل رسید ---------- */
.tzo-email-toggle {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: 16px;
	padding: 12px 14px;
	background: #f7fbfd;
	border-radius: 12px;
	font-size: 13px;
	color: #2b3a4a;
	cursor: pointer;
}
.tzo-email-toggle__text {
	flex: 1;
	min-width: 0;
	line-height: 1.8;
}
.tzo-email-toggle__switch-wrap {
	flex-shrink: 0;
	display: block;
	position: relative;
}
.tzo-email-toggle__switch {
	display: block;
	width: 40px;
	height: 22px;
	border-radius: 20px;
	background: #d9dfe3;
	position: relative;
	transition: background 0.2s ease;
}
.tzo-email-toggle__switch::before {
	content: '';
	position: absolute;
	top: 2px;
	right: 2px;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: #fff;
	transition: transform 0.2s ease;
	box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.tzo-email-toggle input:checked + .tzo-email-toggle__switch { background: #17c1f0; }
.tzo-email-toggle input:checked + .tzo-email-toggle__switch::before { transform: translateX(-18px); }

/* ---------- آپلود عکس محل ---------- */
.tzo-photo-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 10px;
}
.tzo-photo-drop {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 6px;
	aspect-ratio: 1;
	border: 2px dashed #cfe3ec;
	border-radius: 14px;
	cursor: pointer;
	color: #7b93a2;
	text-align: center;
}
.tzo-photo-drop.is-hidden { display: none; }
.tzo-photo-drop__icon {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: #eaf7fd;
	color: #0a93cf;
	display: flex;
	align-items: center;
	justify-content: center;
}
.tzo-photo-drop__text { font-size: 11px; }
.tzo-photo-item {
	position: relative;
	aspect-ratio: 1;
	border-radius: 14px;
	overflow: hidden;
}
.tzo-photo-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.tzo-photo-item__remove {
	position: absolute;
	top: 5px;
	left: 5px;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	border: none;
	background: rgba(20, 30, 45, 0.6);
	color: #fff;
	font-size: 14px;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
}
.tzo-photo-error {
	color: #c0392b;
}

/* ---------- موفقیت (مینیمال) ---------- */
.tzo-done { text-align: center; padding: 44px 24px 30px; }
.tzo-done__icon {
	width: 64px;
	height: 64px;
	background: #e3f7ea;
	color: #00a854;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 20px;
}
.tzo-done__title {
	font-size: 17px;
	font-weight: 800;
	color: #223142;
	margin: 0 0 10px;
}
.tzo-done__text {
    font-size: 14px;
    line-height: 2;
    color: #474b53;
    max-width: 320px;
    margin: 0 auto;
    background: #f5f8fc;
    padding: 10px;
    border-radius: 14px;
}
.tzo-done__illustration {
	display: block;
	width: 70%;
	margin: 30px auto 0;
}
.tzo-done__back {
	display: inline-block;
	margin-top: 28px;
	padding: 13px 26px;
	border-radius: 12px;
	background: #eaf7fd;
	color: #0a6ea8 !important;
	text-decoration: none !important;
	font-size: 13.5px;
	font-weight: 700;
}

/* ---------- دکمه ثانویه ---------- */
/* ---------- باکس نمایش شماره در مرحله‌ی تایید ---------- */
.tzo-verify-number {
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: #f4f7f9;
	border-radius: 14px;
	padding: 14px 16px;
	margin-bottom: 14px;
}
.tzo-verify-number__value {
	font-size: 16px;
	font-weight: 800;
	color: #223142;
}
.tzo-verify-number__edit {
	background: none;
	border: none;
	color: #0a93cf;
	font-size: 12.5px;
	font-weight: 700;
	font-family: inherit;
	cursor: pointer;
	padding: 4px 8px;
}

.tzo-btn-secondary {
	display: block;
	width: 100%;
	box-sizing: border-box;
	background: linear-gradient(135deg, #1fb37e 0%, #0e8a5f 100%);
	box-shadow: 0 6px 16px rgba(14, 138, 95, 0.25);
	color: #ffffff;
	border: none;
	padding: 14px 16px;
	border-radius: 14px;
	font-weight: 700;
	font-family: inherit;
	cursor: pointer;
	font-size: 13.5px;
	margin-top: -4px;
	margin-bottom: 10px;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.tzo-btn-secondary:active {
	transform: scale(0.98);
}

/* ---------- نوار پایین ---------- */
.tzo-footer {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	width: 100%;
	background: #fff;
	box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
	z-index: 50;
}
.tzo-footer__inner {
	max-width: 760px;
	margin: 0 auto;
	display: flex;
	align-items: stretch;
	gap: 8px;
	padding: 14px 18px;
	padding-bottom: max(20px, env(safe-area-inset-bottom));
}
.tzo-back {
	background: #eaf7fd;
	border: none;
	border-radius: 14px;
	flex: 0 0 30%;
	font-size: 13.5px;
	font-weight: 700;
	font-family: inherit;
	cursor: pointer;
	color:#0a93cf;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
}
.tzo-back[hidden] { display: none; }
.tzo-back::before {
	content: '';
	width: 5px;
	height: 5px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(-45deg);
	flex-shrink: 0;
}
.tzo-next {
	flex: 0 0 70%;
	background: linear-gradient(90deg, #17c1f0, #0a93cf);
	color: #fff;
	border: none;
	border-radius: 14px;
	font-size: 15px;
	font-weight: 800;
	font-family: inherit;
	cursor: pointer;
	padding: 14px;
}
/* فقط در مرحله‌ی خلاصه‌ی سفارش (۹)، دکمه‌ها هم‌عرض می‌شوند چون متن
   دکمه‌ی برگشت («بازبینی مجدد سوالات») طولانی‌تر از حالت معمول است. */
.tzo-footer.is-equal-buttons .tzo-back,
.tzo-footer.is-equal-buttons .tzo-next {
	flex: 1 1 50%;
}
.tzo-next:active { transform: scale(0.99); }
.tzo-next:disabled {
	background: #c7d2d8;
	color: #8a99a3;
	cursor: not-allowed;
	box-shadow: none;
}
.tzo-back[hidden] + .tzo-next { flex: 0 0 100%; }
.tzo-price-box[hidden] { display: none; }
/* مخفی شد به درخواست کاربر (۱۴۰۵/۰۵/۲۶). برای برگردوندن، این خط رو حذف کن. */
.tzo-price-box { display: none !important; }
.tzo-price-box {
	background: #00a854;
	color: #fff;
	border-radius: 14px;
	padding: 8px 14px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	min-width: 100px;
}
.tzo-price-box span { font-size: 10.5px; opacity: 0.9; }
.tzo-price-box b { font-size: 14px; }

/* ---------- لودینگ ---------- */
.tzo-loading {
	display: none;
	position: fixed;
	inset: 0;
	background: rgba(255,255,255,0.75);
	z-index: 100;
	align-items: center;
	justify-content: center;
}
.tzo-loading.is-active { display: flex; }
.tzo-spinner {
	width: 46px;
	height: 46px;
	border: 5px solid #e6eef3;
	border-top-color: #17c1f0;
	border-radius: 50%;
	animation: tzoSpin 0.8s linear infinite;
}
@keyframes tzoSpin { to { transform: rotate(360deg); } }

/* ---------- تقویم شمسی (اورراید ظاهر پیش‌فرض persian-datepicker) ---------- */
body .datepicker {
	font-family: inherit;
	direction: rtl;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* ---------- مخفی کردن بخش «درباره تمیس» قالب، فقط در صفحه‌ی سفارش ----------
   این بخش (لوگوها، آدرس، کپی‌رایت) از قالب سایت میاد، نه از این افزونه.
   page-id-135 = شناسه‌ی صفحه‌ی سفارش آنلاین. اگه شورت‌کد رو به صفحه‌ی
   دیگه‌ای هم اضافه کردی، شناسه‌ی اون صفحه رو هم به همین‌شکل اضافه کن. */
body.page-id-135 #about.tw-about {
	display: none !important;
}