/* Order page — sticky footer + checkout modal */
body.order-page-active {
	padding-bottom: 88px;
}

.order-sticky-footer {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 9000;
	background: #fff;
	border-top: 1px solid #e5e5e5;
	box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.08);
	padding: 12px 16px;
}

.order-sticky-footer__inner {
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
}

.order-sticky-footer__summary {
	display: flex;
	align-items: center;
	gap: 12px;
	flex: 1;
	min-width: 0;
}

.order-sticky-footer__price {
	font-size: 15px;
	color: #333;
}

.order-sticky-footer__price strong {
	color: #1a7f37;
	font-size: 17px;
}

.order-sticky-footer__badge {
	background: #1a7f37;
	color: #fff;
	font-size: 12px;
	min-width: 22px;
	height: 22px;
	border-radius: 11px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0 6px;
}

.order-sticky-footer__cta.custom-button.green {
	margin: 0;
	min-width: 140px;
	white-space: nowrap;
}

.order-sticky-footer__actions {
	display: flex;
	align-items: center;
	gap: 14px;
	flex-shrink: 0;
}

@media (min-width: 577px) {
	.order-sticky-footer.is-checkout-ready {
		border-top: 2px solid #1a7f37;
		background: linear-gradient(180deg, #f0fff4 0%, #fff 100%);
		box-shadow: 0 -8px 32px rgba(26, 127, 55, 0.16);
	}

	.order-sticky-footer.is-checkout-ready .order-sticky-footer__cta.custom-button.green {
		font-size: 16px;
		font-weight: 700;
		padding: 12px 28px;
		min-width: 170px;
	}

	.order-sticky-footer__hint {
		font-size: 14px;
		font-weight: 600;
		color: #1a7f37;
		white-space: nowrap;
		animation: orderFooterHintFade 2s ease-in-out infinite;
	}

	.order-sticky-footer__cta.is-highlighted {
		animation: orderCtaPulse 1.4s ease-in-out 4;
	}

	@keyframes orderCtaPulse {
		0%, 100% {
			transform: scale(1);
			box-shadow: 0 0 0 0 rgba(26, 127, 55, 0.45);
		}
		50% {
			transform: scale(1.06);
			box-shadow: 0 0 0 14px rgba(26, 127, 55, 0);
		}
	}

	@keyframes orderFooterHintFade {
		0%, 100% { opacity: 1; }
		50% { opacity: 0.55; }
	}
}

@media (max-width: 576px) {
	body.order-page-active {
		padding-bottom: 110px;
	}
	.order-sticky-footer__inner {
		flex-direction: column;
		align-items: stretch;
	}
	.order-sticky-footer__actions {
		width: 100%;
		flex-direction: column;
		align-items: stretch;
	}
	.order-sticky-footer__cta.custom-button.green {
		width: 100%;
		text-align: center;
	}
}

/* Select chevron */
.order-page select.form-control.order-select {
	appearance: none;
	-webkit-appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23666' d='M1.41 0 6 4.58 10.59 0 12 1.41l-6 6-6-6z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: left 12px center;
	padding-left: 32px;
}

/* Radio buttons */
.order-page .radio-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 8px 14px;
	margin: 4px 4px 4px 0;
	border: 2px solid #ddd;
	border-radius: 8px;
	background: #fff;
	cursor: pointer;
	transition: border-color 0.2s, background 0.2s;
	font-size: 14px;
}
.order-page .radio-button input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}
.order-page .radio-button.checked {
	border-color: #1a7f37;
	background: #f0fff4;
	color: #1a7f37;
}

.order-page .binding-count-wrap {
	display: none;
	margin-top: 8px;
}
.order-page .binding-count-wrap.is-visible {
	display: block;
}

.order-alt-channels {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	margin-top: 12px;
}
.order-alt-channels a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 16px;
	border-radius: 8px;
	text-decoration: none;
	font-weight: 600;
	color: #fff;
}
.order-alt-channels a.order-channel-ruika { background: #6c5ce7; }
.order-alt-channels a.order-channel-eitaa { background: #00b894; }

/* Checkout modal */
.checkout-wizard-overlay {
	position: fixed;
	inset: 0;
	z-index: 10000;
	background: rgba(0, 0, 0, 0.5);
	display: flex;
	align-items: flex-end;
	justify-content: center;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.25s, visibility 0.25s;
}
.checkout-wizard-overlay.is-open {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}
.checkout-wizard {
	width: 100%;
	max-width: 860px;
	max-height: 94vh;
	background: #fff;
	border-radius: 16px 16px 0 0;
	display: flex;
	flex-direction: column;
	transform: translateY(100%);
	transition: transform 0.3s ease;
}
.checkout-wizard-overlay.is-open .checkout-wizard {
	transform: translateY(0);
}
@media (min-width: 768px) {
	.checkout-wizard-overlay {
		align-items: center;
		padding: 24px;
	}
	.checkout-wizard {
		border-radius: 16px;
		max-height: 85vh;
	}
}

.checkout-wizard__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 20px;
	border-bottom: 1px solid #eee;
	flex-shrink: 0;
}
.checkout-wizard__title {
	margin: 0;
	font-size: 1.1rem;
}
.checkout-wizard__footer--single {
	justify-content: stretch;
}
.checkout-wizard__footer--single .btn-wizard-pay {
	width: 100%;
}
.checkout-wizard__footer--actions {
	flex-wrap: wrap;
	align-items: stretch;
	gap: 10px;
}
.checkout-wizard__footer--actions .btn-wizard-edit-order {
	flex: 0 0 auto;
	margin: 0;
	padding: 10px 18px;
	border: 1px solid #c5d0c8;
	border-radius: 8px;
	background: #fff;
	color: #2d4a36;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.2s, border-color 0.2s;
}
.checkout-wizard__footer--actions .btn-wizard-edit-order:hover {
	background: #f4faf5;
	border-color: #1a7f37;
	color: #1a7f37;
}
.checkout-wizard__footer--actions .btn-wizard-pay {
	flex: 1;
	min-width: 180px;
}
@media (max-width: 576px) {
	.checkout-wizard__footer--actions {
		flex-direction: column;
	}
	.checkout-wizard__footer--actions .btn-wizard-edit-order,
	.checkout-wizard__footer--actions .btn-wizard-pay {
		width: 100%;
		min-width: 0;
	}
}
.wizard-summary-fallback {
	padding: 8px 0;
}
.wizard-summary-fallback__total {
	margin: 8px 0 0;
	font-size: 1.05rem;
}
.checkout-wizard__steps {
	display: none;
}

.checkout-wizard__close {
	border: none;
	background: #f0f0f0;
	width: 36px;
	height: 36px;
	border-radius: 8px;
	cursor: pointer;
}

.checkout-wizard__body {
	padding: 20px;
	overflow-y: auto;
	flex: 1;
}

.checkout-wizard__footer {
	padding: 12px 20px 20px;
	border-top: 1px solid #eee;
	display: flex;
	gap: 10px;
	flex-shrink: 0;
}
.checkout-wizard__footer .btn-prev {
	flex: 0 0 auto;
}
.checkout-wizard__footer .btn-wizard-pay,
.checkout-wizard__footer .btn-next {
	flex: 1;
}

.checkout-wizard .field-error {
	color: #c0392b;
	font-size: 12px;
	margin-top: 4px;
}
.checkout-wizard .form-group.has-error .form-control {
	border-color: #c0392b;
}

.order-basket-mini {
	max-height: 220px;
	overflow-y: auto;
	border: 1px solid #eee;
	border-radius: 10px;
	padding: 10px;
	margin-bottom: 12px;
	background: #fafafa;
}

.wizard-section {
	margin-bottom: 20px;
}
.wizard-section--compact {
	margin-bottom: 14px;
}
.wizard-section__title {
	font-size: 1rem;
	margin: 0 0 10px;
	padding-bottom: 8px;
	border-bottom: 2px solid #1a7f37;
}
.wizard-error {
	background: #fdecea;
	color: #c0392b;
	padding: 10px 14px;
	border-radius: 8px;
	margin-bottom: 12px;
	font-size: 14px;
}

/* کد تخفیف — فشرده */
.wizard-note-label {
	display: block;
	font-size: 13px;
	color: #666;
	margin-bottom: 6px;
}
.wizard-discount-toggle {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	cursor: pointer;
	margin: 0 0 10px;
	user-select: none;
	font-size: 14px;
	color: #333;
}
.wizard-discount-toggle__input {
	width: 18px;
	height: 18px;
	margin: 0;
	cursor: pointer;
	accent-color: #1a7f37;
	flex-shrink: 0;
}
.wizard-discount-toggle__label {
	font-weight: 600;
}
.wizard-discount-fields {
	margin-top: 4px;
}
.wizard-discount-fields[hidden] {
	display: none !important;
}
.wizard-discount-box {
	background: #f8f9fa;
	border: 1px solid #e8ecef;
	border-radius: 10px;
	padding: 10px 12px;
}
.wizard-discount-input-wrap {
	display: flex;
	align-items: stretch;
	gap: 6px;
}
.wizard-discount-input {
	flex: 1;
	min-width: 0;
	height: 36px;
	padding: 0 12px;
	border: 1px solid #ddd;
	border-radius: 8px;
	font-size: 13px;
	background: #fff;
}
.wizard-discount-input:focus {
	outline: none;
	border-color: #1a7f37;
	box-shadow: 0 0 0 2px rgba(26, 127, 55, 0.12);
}
.wizard-discount-btn {
	height: 36px;
	padding: 0 14px;
	border: none;
	border-radius: 8px;
	background: #1a7f37;
	color: #fff;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	white-space: nowrap;
	flex-shrink: 0;
}
.wizard-discount-btn:hover {
	background: #156b2e;
}
.wizard-discount-btn:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}
.wizard-discount-remove {
	display: inline-block;
	margin-top: 8px;
	padding: 0;
	border: none;
	background: none;
	color: #c0392b;
	font-size: 12px;
	cursor: pointer;
	text-decoration: underline;
}
.wizard-discount-message {
	margin-top: 6px;
	font-size: 12px;
	line-height: 1.5;
}
.wizard-discount-message p {
	margin: 0;
}
.wizard-note-input {
	width: 100%;
	padding: 8px 12px;
	border: 1px solid #ddd;
	border-radius: 8px;
	font-size: 13px;
	resize: vertical;
	min-height: 56px;
}
.wizard-note-input:focus {
	outline: none;
	border-color: #1a7f37;
}

/* آدرس‌ها در wizard */
.wizard-addressbook-placeholder .simple-border-title {
	font-size: 0.95rem;
	margin-bottom: 10px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	flex-wrap: wrap;
}
.wizard-addressbook-placeholder .wizard-add-addressbook {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
	padding: 4px 10px;
	border-radius: 6px;
	background: #f0fff4;
	border: 1px solid #c8e6c9;
	cursor: pointer;
	font-family: inherit;
	line-height: 1.4;
}
.wizard-addressbook-placeholder .wizard-add-addressbook:hover {
	background: #e2f5e8;
}
/* فرم آدرس inline (کاربر بدون addressbook) */
.wizard-addressbook-placeholder .inline-address-form,
.addressbook-placeholder .inline-address-form {
	background: #f8faf9;
	border: 1px solid #e2ebe4;
	border-radius: 12px;
	padding: 14px 16px;
	margin-bottom: 12px;
}
.inline-address-form__lead {
	margin: 0 0 14px;
	font-size: 13px;
	line-height: 1.6;
	color: #5a6b5e;
}
.inline-address-form__error:not(:empty) {
	margin-bottom: 12px;
	padding: 8px 12px;
	border-radius: 8px;
	background: #fdecea;
	color: #c0392b;
	font-size: 12px;
}
.inline-address-form__field.has-error .inline-address-form__input,
.inline-address-form__field.has-error .inline-address-form__select,
.inline-address-form__field.has-error .inline-address-form__textarea {
	border-color: #d9534f !important;
	box-shadow: 0 0 0 3px rgba(217, 83, 79, 0.15);
}
.inline-address-form__field-error,
.wizard-send-methods .field-error,
.wizard-send-ranges .field-error {
	color: #c0392b;
	font-size: 12px;
	margin-top: -8px;
	margin-bottom: 8px;
}
.wizard-addressbook-placeholder .addressbook.has-error {
	border-color: #d9534f;
	box-shadow: 0 0 0 2px rgba(217, 83, 79, 0.12);
}
.wizard-send-methods.has-error,
.wizard-send-ranges.has-error {
	border: 1px solid #d9534f;
	border-radius: 8px;
	padding: 8px;
}
.inline-address-form__grid {
	display: grid;
	gap: 12px;
}
.inline-address-form__grid--2 {
	grid-template-columns: 1fr 1fr;
}
@media (max-width: 520px) {
	.inline-address-form__grid--2 {
		grid-template-columns: 1fr;
	}
}
.inline-address-form__field {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
}
.inline-address-form__label {
	font-size: 13px;
	font-weight: 600;
	color: #333;
	margin: 0;
}
.inline-address-form__req {
	color: #1a7f37;
	font-weight: 700;
}
.inline-address-form__optional {
	font-size: 11px;
	font-weight: 400;
	color: #888;
}
.inline-address-form__input,
.inline-address-form__select,
.inline-address-form__textarea {
	width: 100%;
	box-sizing: border-box;
	padding: 10px 12px !important;
	margin-bottom: 15px;
	border: 1px solid #d5ddd7 !important;
	border-radius: 8px !important;
	font-size: 14px !important;
	font-family: inherit;
	background: #fff;
	color: #222;
	transition: border-color 0.2s, box-shadow 0.2s;
}
.inline-address-form__select {
	appearance: none;
	-webkit-appearance: none;
	padding-left: 32px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23666' d='M1.41 0 6 4.58 10.59 0 12 1.41l-6 6-6-6z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: left 12px center;
}
.inline-address-form__textarea {
	resize: vertical;
	min-height: 72px;
	line-height: 1.5;
}
.inline-address-form__input:focus,
.inline-address-form__select:focus,
.inline-address-form__textarea:focus {
	outline: none;
	border-color: #1a7f37;
	box-shadow: 0 0 0 3px rgba(26, 127, 55, 0.12);
}
.inline-address-form__mobile-wrap {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 12px;
}
.inline-address-form__input--mobile {
	flex: 1;
	min-width: 140px;
	max-width: 200px;
	direction: ltr;
	text-align: left;
	font-weight: 600;
	letter-spacing: 0.5px;
}
.inline-address-form__mobile-hint {
	display: block;
	width: 100%;
	font-size: 12px;
	color: #666;
	margin: 0;
}

.wizard-addressbook-placeholder .addressbook {
	display: block;
	border: 1px solid #e8e8e8;
	border-radius: 10px;
	padding: 10px;
	margin-bottom: 8px;
	cursor: pointer;
	font-weight: normal;
	transition: border-color 0.2s, box-shadow 0.2s;
}
.wizard-addressbook-placeholder .addressbook:has(input:checked) {
	border-color: #1a7f37;
	box-shadow: 0 0 0 1px #1a7f37;
}
.wizard-send-methods .form-group,
.wizard-send-ranges .form-group {
	margin-bottom: 8px;
}
.wizard-confirm-summary {
	display: flex;
	flex-direction: column;
	gap: 14px;
}
.wizard-confirm-summary__block {
	padding: 12px 14px;
	background: #f8faf8;
	border: 1px solid #e8efe8;
	border-radius: 10px;
}
.wizard-confirm-summary__heading {
	margin: 0 0 8px;
	font-size: 14px;
	font-weight: 700;
	color: #1a5c2e;
}
.wizard-confirm-summary__list {
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 14px;
	line-height: 1.7;
}
.wizard-confirm-summary__list li span {
	color: #666;
}
.wizard-confirm-summary__note {
	margin: 0;
	font-size: 14px;
	color: #333;
	line-height: 1.6;
}
.wizard-confirm-summary__mobile {
	font-weight: 600;
	direction: ltr;
	text-align: right;
}
.wizard-confirm-summary__block--amount {
	background: #fff;
}

.wizard-summary-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
}
.wizard-summary-table th,
.wizard-summary-table td {
	padding: 10px 8px;
	border-bottom: 1px solid #eee;
	text-align: right;
}
.wizard-summary-table tr.wizard-summary-total th,
.wizard-summary-table tr.wizard-summary-total td {
	font-size: 16px;
	font-weight: 700;
	color: #1a7f37;
	border-bottom: none;
}
.wizard-address-summary {
	background: #f8f9fa;
	border-radius: 10px;
	padding: 12px;
	line-height: 1.7;
}
.wizard-pay-option {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px;
	border: 2px solid #e8e8e8;
	border-radius: 10px;
	margin-bottom: 8px;
	cursor: pointer;
	transition: border-color 0.2s;
}
.wizard-pay-option:has(input:checked) {
	border-color: #1a7f37;
	background: #f0fff4;
}
.wizard-pay-option input {
	margin: 0;
}
.wizard-pay-option__body {
	display: flex;
	align-items: center;
	gap: 10px;
}
.wizard-pay-option .gateway-image {
	height: 32px;
	width: auto;
}
body.checkout-modal-open {
	overflow: hidden;
}

/* پیام بازگشت از درگاه — صفحه سفارشات من */
.payment-result-flash {
	margin: 0 0 20px;
	border-radius: 12px;
	padding: 16px 18px;
	border: 1px solid transparent;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
	animation: paymentFlashIn 0.35s ease;
}
.payment-result-flash--success {
	background: #e8f8ec;
	border-color: #b8dfc4;
	color: #1a5c2e;
}
.payment-result-flash--error {
	background: #fdecea;
	border-color: #f5c6cb;
	color: #8b2e2e;
}
.payment-result-flash__title {
	display: block;
	font-size: 16px;
	margin-bottom: 8px;
}
.payment-result-flash__message {
	margin: 0 0 10px;
	font-size: 14px;
	line-height: 1.6;
}
.payment-result-flash__list {
	margin: 0;
	padding: 0 18px 0 0;
	font-size: 14px;
	line-height: 1.8;
}
.payment-result-flash__bar {
	height: 4px;
	margin-top: 12px;
	background: rgba(0, 0, 0, 0.08);
	border-radius: 4px;
	overflow: hidden;
}
.payment-result-flash__bar-fill {
	display: block;
	height: 100%;
	width: 100%;
	background: currentColor;
	opacity: 0.45;
	transform-origin: right center;
	animation: paymentFlashCountdown 10s linear forwards;
}
@keyframes paymentFlashIn {
	from { opacity: 0; transform: translateY(-8px); }
	to { opacity: 1; transform: translateY(0); }
}
@keyframes paymentFlashCountdown {
	from { transform: scaleX(1); }
	to { transform: scaleX(0); }
}

/* مودال آدرس جدید در checkout */
.wizard-addressbook-modal {
	position: fixed;
	inset: 0;
	z-index: 10200;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.2s, visibility 0.2s;
}
.wizard-addressbook-modal.is-open {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}
.wizard-addressbook-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.45);
}
.wizard-addressbook-modal__panel {
	position: relative;
	width: 100%;
	max-width: 420px;
	max-height: 90vh;
	overflow-y: auto;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
	padding: 16px;
}
.wizard-addressbook-modal__header {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 12px;
}
.wizard-addressbook-modal__close {
	width: 32px;
	height: 32px;
	border: none;
	border-radius: 8px;
	background: #f0f0f0;
	cursor: pointer;
	font-size: 18px;
	line-height: 1;
	flex-shrink: 0;
}
.wizard-addressbook-modal__title {
	margin: 0;
	font-size: 1rem;
	flex: 1;
}
.wizard-addressbook-modal__form input,
.wizard-addressbook-modal__form select,
.wizard-addressbook-modal__form textarea {
	width: 100%;
	margin-bottom: 8px;
	padding: 8px 10px;
	border: 1px solid #ddd;
	border-radius: 8px;
	font-size: 13px;
	box-sizing: border-box;
}
.wizard-addressbook-modal__grid {
	display: grid;
	gap: 8px;
	margin-bottom: 0;
}
.wizard-addressbook-modal__grid--2 {
	grid-template-columns: 1fr 1fr;
}
@media (max-width: 480px) {
	.wizard-addressbook-modal__grid--2 {
		grid-template-columns: 1fr;
	}
}
.wizard-addressbook-modal__error {
	font-size: 13px;
	color: #a94442;
	margin-bottom: 8px;
	padding: 8px 10px;
	background: #fff5f5;
	border: 1px solid #f1b0b7;
	border-radius: 6px;
	line-height: 1.6;
}
.wizard-addressbook-modal__form .is-invalid {
	border-color: #c0392b !important;
	box-shadow: 0 0 0 1px rgba(192, 57, 43, 0.2);
}
.wizard-addressbook-modal__error:empty {
	display: none;
}
.wizard-addressbook-modal__submit {
	width: 100%;
	margin-top: 4px;
	padding: 10px;
	border: none;
	border-radius: 8px;
	background: #1a7f37;
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
}
.wizard-addressbook-modal__submit:hover {
	background: #156b2e;
}

.address-mobile-readonly {
	background: #eef8f0 !important;
	border-color: #b8dfc4 !important;
	cursor: default;
	color: #1a5c2e;
}

.profile-toast {
	position: fixed;
	top: 80px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 11000;
	background: #1a7f37;
	color: #fff;
	padding: 14px 24px;
	border-radius: 8px;
	box-shadow: 0 4px 20px rgba(0,0,0,0.15);
	max-width: 90%;
	text-align: center;
}

.order-status-timeline {
	display: flex;
	flex-direction: column;
	gap: 0;
	padding: 16px;
	margin: 0 0 16px;
	background: #f8faf8;
	border: 1px solid #e2ebe4;
	border-radius: 10px;
}
.order-status-timeline__title {
	margin: 0 0 10px;
	font-size: 15px;
	font-weight: 700;
	color: #1a3d24;
}
.order-status-timeline__notice {
	margin: 0 0 10px;
	font-size: 13px;
	color: #5a6b5f;
}
.order-status-timeline__tracking {
	margin: 12px 0 0;
	padding-top: 10px;
	border-top: 1px dashed #cfe0d4;
	font-size: 13px;
	color: #333;
}
.order-status-timeline--cancelled {
	background: #faf5f5;
	border-color: #ecd9d9;
}
.order-timeline-step {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 13px;
	padding: 6px 0;
}
.order-timeline-step.pending {
	color: #9aa39c;
}
.order-timeline-label {
	flex: 1;
}
.order-timeline-date {
	font-size: 11px;
	color: #5a6b5f;
	white-space: nowrap;
}
.order-timeline-dot {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: #ddd;
	flex-shrink: 0;
	border: 2px solid #fff;
	box-shadow: 0 0 0 1px #ddd;
}
.order-timeline-step.done .order-timeline-dot,
.order-timeline-line.done { background: #1a7f37; box-shadow: 0 0 0 1px #1a7f37; }
.order-timeline-step.active { font-weight: 700; color: #1a7f37; }
.order-timeline-step.active .order-timeline-dot { background: #1a7f37; box-shadow: 0 0 0 1px #1a7f37; }
.order-timeline-line {
	width: 2px;
	height: 14px;
	margin-right: 5px;
	background: #ddd;
}
.order-payment-toast,
.profile-toast {
	position: fixed;
	top: 80px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 11000;
	padding: 14px 24px;
	border-radius: 8px;
	box-shadow: 0 4px 20px rgba(0,0,0,0.15);
	max-width: 90%;
	text-align: center;
}
.profile-toast {
	background: #1a7f37;
	color: #fff;
}

/* ——— profile-orders (سبک سبک، بدون تغییر ساختار کلی) ——— */
body.profile-orders-modal-open {
	overflow: hidden;
}

.profile-orders-page__content > .row > .col-lg-12 > h3 {
	margin-bottom: 0;
	font-weight: 700;
	color: #1a3d24;
}

.profile-orders-page .panel-container2 {
	border-radius: 10px;
	box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
}

.profile-orders-page .responsiveTable {
	margin-bottom: 0;
}

.profile-orders-page .responsiveTable th {
	background: #f0f5f1;
	color: #2d4a36;
	font-weight: 600;
	font-size: 13px;
	border-bottom: 2px solid #d4e5d9;
}

.profile-orders-page .responsiveTable td {
	font-size: 13px;
	vertical-align: middle !important;
}

.profile-orders-page tr.paid {
	background-color: #f8fcf9;
}

.profile-orders-page tr.notpaid {
	background-color: #fffaf8;
}

.profile-orders-btn {
	display: inline-block;
	padding: 6px 14px;
	font-size: 13px;
	font-weight: 600;
	color: #fff !important;
	background: #1a7f37;
	border: none;
	border-radius: 8px;
	text-decoration: none !important;
	transition: background 0.2s, transform 0.15s;
}

.profile-orders-btn:hover {
	background: #156b2e;
	color: #fff !important;
	transform: translateY(-1px);
}

.profile-orders-btn--reorder {
	color: #1a7f37 !important;
	background: #fff;
	border: 1px solid #1a7f37;
}

.profile-orders-btn--reorder:hover {
	color: #fff !important;
	background: #1a7f37;
}

.profile-orders-page #detailPopup.profile-orders-modal {
	padding: 0;
	border: none;
	border-radius: 14px;
	box-shadow: 0 16px 48px rgba(0, 0, 0, 0.18);
	max-width: 720px;
	width: calc(100% - 32px);
	max-height: 88vh;
	overflow: hidden;
}

.profile-orders-modal__inner {
	display: flex;
	flex-direction: column;
	max-height: 88vh;
}

.profile-orders-modal__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 14px 18px;
	background: linear-gradient(180deg, #f4faf5 0%, #fff 100%);
	border-bottom: 1px solid #e2ebe4;
	flex-shrink: 0;
}

.profile-orders-modal__title {
	margin: 0;
	font-size: 16px;
	font-weight: 700;
	color: #1a3d24;
}

.profile-orders-modal__close {
	flex-shrink: 0;
	width: 38px;
	height: 38px;
	margin: 0;
	padding: 0;
	border: 1px solid #e0e8e2;
	border-radius: 50%;
	background: #fff;
	color: #4a5c50;
	font-size: 26px;
	line-height: 34px;
	text-align: center;
	cursor: pointer;
	transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.profile-orders-modal__close:hover {
	background: #fff5f5;
	border-color: #e8c4c4;
	color: #b33;
}

.profile-orders-modal__body {
	padding: 16px 18px 20px;
	overflow-y: auto;
	flex: 1;
	min-height: 120px;
}

.profile-orders-modal__loading {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 160px;
}

.profile-orders-detail__table {
	margin-bottom: 12px;
	border-radius: 8px;
	overflow: hidden;
	font-size: 13px;
}

.profile-orders-detail__table td:first-child {
	width: 38%;
	font-weight: 600;
	color: #4a5c50;
	background: #f8faf8;
}

.profile-orders-detail__table--products th {
	background: #eef5ef;
}

.profile-orders-modal .payButton {
	display: inline-block;
	margin-top: 6px;
	padding: 8px 14px;
	border-radius: 8px;
	background: #1a7f37;
	color: #fff !important;
	font-size: 13px;
	text-decoration: none !important;
}

.profile-orders-modal .payButton:hover {
	background: #156b2e;
	color: #fff !important;
}

body.profile-orders-page #fade {
	opacity: 0.45;
}

@media (max-width: 767px) {
	.profile-orders-page #detailPopup.profile-orders-modal {
		width: calc(100% - 16px);
		max-height: 92vh;
		border-radius: 12px 12px 0 0;
		top: auto;
		bottom: 0;
		transform: translate(-50%, 0);
	}

	.profile-orders-modal__inner {
		max-height: 92vh;
	}
}
