/* ==========================================================================
   افزونه‌ی مناقصات و مزایدات سیمان — استایل فرانت‌اند
   ========================================================================== */

.smt-wrap {
	/* سبز برند سیمان قاین */
	--smt-primary: #019A5A;
	--smt-primary-dark: #01824c;
	--smt-primary-soft: #eaf7f0;
	--smt-ring: rgba(1, 154, 90, .2);

	/* سورمه‌ای برند سیمان قاین */
	--smt-navy: #0F0D35;
	--smt-navy-dark: #191645;
	--smt-navy-soft: #eef2f7;
	--smt-success: #15803d;
	--smt-success-soft: #ecfdf3;
	--smt-danger: #b91c1c;
	--smt-danger-soft: #fef2f2;
	--smt-warning: #b45309;
	--smt-warning-soft: #fffbeb;
	--smt-text: #23253f;
	--smt-muted: #6b7280;
	--smt-border: #e5e7eb;
	--smt-bg: #ffffff;
	--smt-bg-soft: #f9fafb;
	--smt-radius: 14px;
	--smt-shadow: 0 1px 3px rgba(16, 24, 40, .06);
	--smt-shadow-lg: 0 12px 32px rgba(16, 24, 40, .12);

	direction: rtl;
	text-align: right;
	color: var(--smt-text);
	font-size: 15px;
	line-height: 1.9;
	box-sizing: border-box;
}

.smt-wrap *,
.smt-wrap *::before,
.smt-wrap *::after {
	box-sizing: border-box;
}

/* ---------- پیام‌ها ---------- */

.smt-notice {
	border-radius: var(--smt-radius);
	padding: 14px 18px;
	margin: 0 0 20px;
	border: 1px solid transparent;
	font-size: 14px;
}

.smt-notice ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.smt-notice li + li {
	margin-top: 6px;
}

.smt-notice--error {
	background: var(--smt-danger-soft);
	border-color: #fecaca;
	color: var(--smt-danger);
}

.smt-notice--info {
	background: var(--smt-navy-soft);
	border-color: #d6d6ea;
	color: var(--smt-navy);
}

.smt-notice--success {
	background: var(--smt-success-soft);
	border-color: #bbf7d0;
	color: var(--smt-success);
}

/* ---------- دکمه‌ها ---------- */

.smt-wrap .smt-btn,
.smt-wrap a.smt-btn,
.smt-wrap button.smt-btn,
.smt-wrap input[type="submit"].smt-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	padding: 12px 24px;
	border-radius: 10px;
	border: 1px solid transparent;
	font-size: 14px;
	font-weight: 700;
	font-family: inherit;
	line-height: 1.4;
	letter-spacing: normal;
	text-transform: none;
	min-width: 0;
	min-height: 0;
	width: auto;
	cursor: pointer;
	text-decoration: none;
	text-shadow: none;
	box-shadow: none;
	transition: all .18s ease;
	white-space: nowrap;
}

.smt-wrap a.smt-btn:hover,
.smt-wrap a.smt-btn:focus {
	text-decoration: none;
}

.smt-wrap .smt-btn--primary,
.smt-wrap a.smt-btn--primary,
.smt-wrap button.smt-btn--primary {
	background: var(--smt-b1-bg, var(--smt-primary));
	color: var(--smt-b1-color, #fff);
	border-color: var(--smt-b1-border, transparent);
}

.smt-wrap .smt-btn--primary:hover,
.smt-wrap a.smt-btn--primary:hover,
.smt-wrap button.smt-btn--primary:hover {
	background: var(--smt-b1-bg-h, var(--smt-primary-dark));
	color: var(--smt-b1-color-h, var(--smt-b1-color, #fff));
	border-color: var(--smt-b1-border-h, var(--smt-b1-border, transparent));
	transform: translateY(-1px);
	box-shadow: 0 6px 18px var(--smt-ring);
}

.smt-wrap .smt-btn--ghost,
.smt-wrap a.smt-btn--ghost,
.smt-wrap button.smt-btn--ghost {
	background: var(--smt-b2-bg, transparent);
	border-color: var(--smt-b2-border, var(--smt-border));
	color: var(--smt-b2-color, var(--smt-text));
}

.smt-wrap .smt-btn--ghost:hover,
.smt-wrap a.smt-btn--ghost:hover,
.smt-wrap button.smt-btn--ghost:hover {
	background: var(--smt-b2-bg-h, var(--smt-bg-soft));
	border-color: var(--smt-b2-border-h, var(--smt-primary));
	color: var(--smt-b2-color-h, var(--smt-primary));
}

.smt-wrap .smt-btn--danger,
.smt-wrap a.smt-btn--danger,
.smt-wrap button.smt-btn--danger {
	background: transparent;
	border-color: #fecaca;
	color: var(--smt-danger);
}

.smt-wrap .smt-btn--danger:hover,
.smt-wrap button.smt-btn--danger:hover {
	background: var(--smt-danger);
	border-color: var(--smt-danger);
	color: #fff;
}

.smt-btn--block {
	width: 100%;
}

.smt-btn--sm {
	padding: 8px 16px;
	font-size: 13px;
}

.smt-btn--xs {
	padding: 5px 12px;
	font-size: 12px;
	border-radius: 8px;
}

/* ---------- دکمه‌ی حساب کاربری (هدر) ---------- */

.smt-wrap--inline {
	display: inline-block;
	line-height: normal;
}

.smt-account {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

.smt-account .smt-btn {
	transform: none;
}

.smt-account .smt-btn:hover {
	transform: translateY(-1px);
}

.smt-account--center {
	justify-content: center;
}

.smt-account--left {
	justify-content: flex-end;
}

.smt-icon {
	width: 17px;
	height: 17px;
	flex: 0 0 auto;
	display: inline-block;
	vertical-align: middle;
}

/* ---------- فرم‌ها ---------- */

.smt-form {
	background: var(--smt-bg);
	border: 1px solid var(--smt-border);
	border-radius: var(--smt-radius);
	padding: 28px;
	box-shadow: var(--smt-shadow);
	max-width: 100%;
}

.smt-form--login,
.smt-form--register {
	max-width: 460px;
	margin: 0 auto;
}

.smt-form__title {
	margin: 0 0 22px;
	font-size: 19px;
	font-weight: 800;
	color: var(--smt-navy);
}

.smt-field {
	margin-bottom: 18px;
}

.smt-field > label {
	display: block;
	margin-bottom: 7px;
	font-size: 14px;
	font-weight: 700;
}

.smt-req {
	color: var(--smt-danger);
}

.smt-wrap input[type="text"],
.smt-wrap input[type="email"],
.smt-wrap input[type="password"],
.smt-wrap input[type="search"],
.smt-wrap input[type="number"],
.smt-wrap textarea,
.smt-wrap select {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid var(--smt-border);
	border-radius: 10px;
	background: var(--smt-bg);
	font-family: inherit;
	font-size: 14px;
	color: var(--smt-text);
	transition: border-color .18s ease, box-shadow .18s ease;
}

.smt-wrap input:focus,
.smt-wrap textarea:focus,
.smt-wrap select:focus {
	outline: none;
	border-color: var(--smt-primary);
	box-shadow: 0 0 0 3px var(--smt-ring);
	background: var(--smt-bg);
}

.smt-wrap input::placeholder,
.smt-wrap textarea::placeholder {
	color: #b3bac5;
	opacity: 1;
	font-size: 13.5px;
}

.smt-wrap textarea {
	resize: vertical;
	min-height: 140px;
	line-height: 2;
}

.smt-hint {
	display: block;
	margin-top: 6px;
	font-size: 12.5px;
	color: var(--smt-muted);
}

.smt-hint--block {
	margin-top: 16px;
	padding: 10px 14px;
	background: var(--smt-warning-soft);
	border-radius: 10px;
	color: var(--smt-warning);
}

.smt-field--inline {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
}

.smt-check,
.smt-radio {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-size: 13.5px;
	font-weight: 500;
	cursor: pointer;
	margin: 0;
}

.smt-check input,
.smt-radio input {
	width: auto;
	margin: 0;
}

.smt-check--danger {
	color: var(--smt-danger);
}

.smt-radios {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

.smt-radio {
	padding: 10px 18px;
	border: 1px solid var(--smt-border);
	border-radius: 10px;
	transition: all .18s ease;
}

.smt-radio:has(input:checked) {
	border-color: var(--smt-primary);
	background: var(--smt-primary-soft);
	color: var(--smt-primary);
	font-weight: 700;
}

.smt-link {
	font-size: 13.5px;
	color: var(--smt-primary);
	text-decoration: none;
}

.smt-grid-2 {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0 16px;
}

.smt-password {
	position: relative;
}

.smt-password input {
	padding-left: 46px !important;
}

.smt-wrap .smt-password__toggle,
.smt-wrap button.smt-password__toggle {
	position: absolute;
	left: 6px;
	top: 50%;
	transform: translateY(-50%);
	background: none !important;
	border: 0 !important;
	box-shadow: none !important;
	border-radius: 8px;
	cursor: pointer;
	color: var(--smt-muted);
	opacity: .7;
	padding: 6px;
	margin: 0;
	width: auto;
	min-width: 0;
	min-height: 0;
	line-height: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: opacity .18s ease, color .18s ease;
}

.smt-wrap .smt-password__toggle:hover {
	opacity: 1;
	color: var(--smt-primary);
	background: none !important;
}

.smt-password__toggle .smt-icon {
	width: 19px;
	height: 19px;
}

.smt-password__toggle .smt-eye-off,
.smt-password__toggle.is-visible .smt-eye {
	display: none;
}

.smt-password__toggle.is-visible .smt-eye-off {
	display: inline-flex;
}

.smt-password__toggle .smt-eye,
.smt-password__toggle .smt-eye-off {
	display: inline-flex;
	line-height: 0;
}

.smt-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.smt-inline-form {
	display: inline-block;
	margin: 0;
}

.smt-actions {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	align-items: center;
	margin-top: 22px;
}

.smt-actions--center {
	justify-content: center;
	margin-top: 18px;
}

/* ---------- آپلود ---------- */

.smt-upload {
	position: relative;
	border: 2px dashed var(--smt-border);
	border-radius: var(--smt-radius);
	background: var(--smt-bg-soft);
	transition: all .18s ease;
}

.smt-upload:hover,
.smt-upload.is-drag {
	border-color: var(--smt-primary);
	background: var(--smt-primary-soft);
}

.smt-upload input[type="file"] {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	cursor: pointer;
}

.smt-upload__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	padding: 30px 20px;
	text-align: center;
	pointer-events: none;
}

.smt-upload__icon {
	font-size: 26px;
	color: var(--smt-primary);
}

.smt-upload__text {
	font-weight: 700;
	font-size: 14.5px;
}

.smt-upload__hint {
	font-size: 12.5px;
	color: var(--smt-muted);
}

.smt-selected {
	list-style: none;
	margin: 12px 0 0;
	padding: 0;
}

.smt-selected li {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 8px 12px;
	background: var(--smt-bg-soft);
	border: 1px solid var(--smt-border);
	border-radius: 9px;
	font-size: 13px;
	margin-bottom: 6px;
}

.smt-selected li.is-invalid {
	background: var(--smt-danger-soft);
	border-color: #fecaca;
	color: var(--smt-danger);
}

/* ---------- لیست فایل ---------- */

.smt-filelist {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 10px;
}

.smt-filelist__item {
	display: flex;
	align-items: center;
	gap: 14px;
	flex-wrap: wrap;
	padding: 14px 16px;
	border: 1px solid var(--smt-border);
	border-radius: 12px;
	background: var(--smt-bg);
	transition: border-color .18s ease, background .18s ease;
}

.smt-filelist__item:hover {
	border-color: #d7dbe2;
	background: var(--smt-bg-soft);
}

.smt-filelist__icon {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 10px;
	background: var(--smt-danger-soft);
	color: var(--smt-danger);
	font-size: 11px;
	font-weight: 800;
}

.smt-filelist__icon .smt-icon {
	width: 19px;
	height: 19px;
}

.smt-filelist__info {
	flex: 1 1 160px;
	display: flex;
	flex-direction: column;
	gap: 3px;
	min-width: 0;
}

.smt-filelist__name {
	font-size: 14px;
	font-weight: 700;
	color: var(--smt-navy);
	word-break: break-word;
	line-height: 1.7;
}

.smt-filelist__size {
	font-size: 12px;
	color: var(--smt-muted);
}

.smt-filelist__item .smt-icon {
	flex: 0 0 auto;
}

/* ---------- کارت ورود و ثبت‌نام ---------- */

.smt-auth {
	display: flex;
	justify-content: center;
	padding: 40px 16px 56px;
}

.smt-auth__card {
	width: 100%;
	max-width: 470px;
	background: var(--smt-bg);
	border: 1px solid var(--smt-border);
	border-radius: 20px;
	padding: 34px 32px 30px;
	box-shadow: 0 18px 50px rgba(16, 24, 40, .08);
}

.smt-auth__head {
	text-align: center;
	margin-bottom: 28px;
	padding-bottom: 22px;
	border-bottom: 1px solid var(--smt-border);
}

.smt-auth__title {
	margin: 0 0 8px;
	font-size: 22px;
	font-weight: 800;
	line-height: 1.6;
	color: var(--smt-navy);
}

.smt-auth__sub {
	margin: 0;
	font-size: 13.5px;
	line-height: 1.9;
	color: var(--smt-muted);
}

/* فرم داخل کارت، کادر مستقل ندارد */

.smt-auth__card .smt-form {
	border: 0;
	padding: 0;
	box-shadow: none;
	background: transparent;
	max-width: none;
	margin: 0;
}

.smt-auth__card .smt-form__title {
	display: none;
}

/* لینک جابه‌جایی بین ورود و ثبت‌نام */

.smt-form__foot {
	margin: 26px 0 0;
	padding-top: 22px;
	text-align: center;
	font-size: 13.5px;
	color: var(--smt-muted);
	border-top: 1px solid var(--smt-border);
}

.smt-wrap .smt-form__foot a {
	color: var(--smt-primary);
	font-weight: 800;
	text-decoration: none;
	border-bottom: 1px dashed currentColor;
	padding-bottom: 1px;
	transition: opacity .18s ease;
}

.smt-wrap .smt-form__foot a:hover {
	opacity: .7;
}

.smt-auth .smt-btn--block {
	margin-top: 4px;
	padding-top: 14px;
	padding-bottom: 14px;
	font-size: 15px;
}

.smt-gate {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
	margin-top: 14px;
	padding: 16px 18px;
	border: 1px dashed var(--smt-border);
	border-radius: 12px;
	background: var(--smt-bg-soft);
	font-size: 13.5px;
	color: var(--smt-muted);
}

.smt-gate > span {
	flex: 1 1 220px;
	line-height: 1.9;
}

.smt-gate > .smt-icon {
	width: 20px;
	height: 20px;
	color: var(--smt-navy);
	flex: 0 0 auto;
}

/* ---------- تب‌ها ---------- */

.smt-tabs {
	display: flex;
	gap: 8px;
	margin-bottom: 22px;
	border-bottom: 1px solid var(--smt-border);
	flex-wrap: wrap;
}

.smt-tab {
	background: none;
	border: 0;
	border-bottom: 3px solid transparent;
	padding: 12px 20px;
	font-family: inherit;
	font-size: 15px;
	font-weight: 700;
	color: var(--smt-muted);
	cursor: pointer;
	text-decoration: none !important;
	transition: all .18s ease;
	margin-bottom: -1px;
}

.smt-tab:hover {
	color: var(--smt-primary);
}

.smt-tab.is-active {
	color: var(--smt-primary);
	border-bottom-color: var(--smt-primary);
}

.smt-tab-panel {
	display: none;
}

.smt-tab-panel.is-active {
	display: block;
}

/* ---------- پنل خالی ---------- */

.smt-panel {
	background: var(--smt-bg);
	border: 1px dashed var(--smt-border);
	border-radius: 16px;
	padding: 50px 28px;
}

.smt-panel--center {
	text-align: center;
}

.smt-panel__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 62px;
	height: 62px;
	margin-bottom: 16px;
	border-radius: 50%;
	background: var(--smt-bg-soft);
	font-size: 27px;
	line-height: 1;
}

.smt-panel__title {
	margin: 0 0 8px;
	font-size: 18px;
	font-weight: 800;
	color: var(--smt-navy);
}

.smt-panel__lead {
	margin: 0;
	color: var(--smt-muted);
	font-size: 14.5px;
}

/* ---------- داشبورد ---------- */

.smt-dash-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	margin-bottom: 22px;
}

.smt-dash-head__title {
	margin: 0 0 4px;
	font-size: 22px;
	font-weight: 800;
	color: var(--smt-navy);
}

.smt-dash-head__sub {
	margin: 0;
	color: var(--smt-muted);
	font-size: 14px;
}

.smt-stats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 14px;
	margin-bottom: 26px;
}

.smt-stat {
	background: var(--smt-bg);
	border: 1px solid var(--smt-border);
	border-radius: 14px;
	padding: 20px 22px;
	transition: border-color .18s ease;
}

.smt-stat:hover {
	border-color: #d7dbe2;
}

.smt-stat__num {
	display: block;
	font-size: 28px;
	font-weight: 800;
	color: var(--smt-navy);
	line-height: 1.5;
}

.smt-stat__label {
	display: block;
	font-size: 13px;
	color: var(--smt-muted);
}

/* ---------- جدول ---------- */

.smt-table-wrap {
	overflow-x: auto;
	border: 1px solid var(--smt-border);
	border-radius: 14px;
	background: var(--smt-bg);
}

.smt-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
	margin: 0;
}

.smt-table th,
.smt-table td {
	padding: 13px 16px;
	text-align: right;
	border-bottom: 1px solid var(--smt-border);
	vertical-align: middle;
}

.smt-table thead th {
	background: var(--smt-navy-soft);
	font-size: 13px;
	font-weight: 800;
	color: var(--smt-navy);
	white-space: nowrap;
}

.smt-table tbody tr:last-child td {
	border-bottom: 0;
}

.smt-row-actions {
	display: flex;
	gap: 6px;
	flex-wrap: wrap;
	align-items: center;
}

/* ---------- برچسب‌ها ---------- */

.smt-badge {
	display: inline-block;
	padding: 4px 12px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 800;
	line-height: 1.8;
}

.smt-badge--tender {
	background: var(--smt-navy-soft);
	color: var(--smt-navy);
}

.smt-badge--auction {
	background: var(--smt-primary-soft);
	color: var(--smt-primary-dark);
}

.smt-status {
	font-size: 12.5px;
	font-weight: 700;
	padding: 3px 10px;
	border-radius: 999px;
	display: inline-block;
}

.smt-status--publish {
	background: var(--smt-success-soft);
	color: var(--smt-success);
}

.smt-status--pending {
	background: var(--smt-warning-soft);
	color: var(--smt-warning);
}

.smt-status--draft {
	background: var(--smt-bg-soft);
	color: var(--smt-muted);
}

/* ---------- آرشیو و کارت‌ها ---------- */

.smt-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	flex-wrap: wrap;
	margin-bottom: 28px;
	padding-bottom: 20px;
	border-bottom: 1px solid var(--smt-border);
}

.smt-filters {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}

.smt-filters {
	display: flex;
	gap: 4px;
	flex-wrap: wrap;
	padding: 4px;
	background: var(--smt-bg-soft);
	border: 1px solid var(--smt-border);
	border-radius: 11px;
}

.smt-wrap a.smt-chip {
	padding: 8px 20px;
	border: 0;
	border-radius: 8px;
	font-size: 13.5px;
	font-weight: 700;
	color: var(--smt-muted);
	text-decoration: none;
	transition: all .18s ease;
	background: transparent;
}

.smt-wrap a.smt-chip:hover {
	color: var(--smt-navy);
}

.smt-wrap a.smt-chip.is-active {
	background: var(--smt-bg);
	color: var(--smt-primary);
	box-shadow: 0 2px 7px rgba(16, 24, 40, .09);
}

.smt-search {
	display: flex;
	gap: 8px;
	align-items: center;
	margin: 0;
}

.smt-search input[type="search"] {
	min-width: 220px;
}

.smt-grid {
	display: grid;
	gap: 24px;
}

.smt-grid--1 { grid-template-columns: 1fr; }
.smt-grid--2 { grid-template-columns: repeat(2, 1fr); }
.smt-grid--3 { grid-template-columns: repeat(3, 1fr); }
.smt-grid--4 { grid-template-columns: repeat(4, 1fr); }

.smt-card {
	position: relative;
	display: flex;
	flex-direction: column;
	background: var(--smt-bg);
	border: 1px solid var(--smt-border);
	border-radius: 16px;
	overflow: hidden;
	transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
	box-shadow: 0 4px 18px rgba(0, 0, 0, .04);
}

.smt-card--tender {
	border-top: 3.5px solid var(--smt-navy);
}

.smt-card--auction {
	border-top: 3.5px solid var(--smt-primary);
}

.smt-card:hover {
	transform: translateY(-4px);
	border-color: #d7dbe2;
	box-shadow: 0 14px 34px rgba(16, 24, 40, .1);
}

.smt-card__thumb {
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: var(--smt-bg-soft);
}

.smt-card__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .4s ease;
}

.smt-card:hover .smt-card__thumb img {
	transform: scale(1.04);
}

.smt-card__body {
	display: flex;
	flex-direction: column;
	flex-grow: 1;
	padding: 24px;
}

.smt-card__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 14px;
}

.smt-card__date {
	font-size: 12.5px;
	color: var(--smt-muted);
}

.smt-card__title {
	margin: 0 0 10px;
	font-size: 17px;
	font-weight: 800;
	line-height: 1.75;
	color: var(--smt-navy);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.smt-card__title a {
	position: relative;
	z-index: 1;
	color: inherit;
	text-decoration: none;
}

.smt-card__title a:hover {
	color: var(--smt-primary);
}

.smt-card__excerpt {
	margin: 0 0 16px;
	font-size: 13.5px;
	line-height: 2;
	color: var(--smt-muted);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.smt-card__meta {
	list-style: none;
	margin: 0 0 18px;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.smt-card__meta li {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 5px 11px;
	border-radius: 8px;
	background: var(--smt-bg-soft);
	font-size: 12.5px;
	font-weight: 600;
	color: var(--smt-muted);
	max-width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.smt-card__meta .smt-icon {
	width: 14px;
	height: 14px;
	opacity: .7;
}

.smt-card__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: auto;
	padding-top: 16px;
	border-top: 1px solid var(--smt-border);
}

.smt-card__files {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 12.5px;
	font-weight: 600;
	color: var(--smt-muted);
}

.smt-card__files .smt-icon {
	width: 14px;
	height: 14px;
	opacity: .7;
}

.smt-wrap a.smt-card__cta {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13.5px;
	font-weight: 800;
	color: var(--smt-primary);
	text-decoration: none;
}

/* کل کارت قابل کلیک */
.smt-card__cta::after {
	content: "";
	position: absolute;
	inset: 0;
}

.smt-card__cta .smt-icon {
	width: 16px;
	height: 16px;
	transition: transform .2s ease;
}

.smt-card:hover .smt-card__cta .smt-icon {
	transform: translateX(-3px);
}

/* ---------- صفحه‌بندی ---------- */

.smt-pagination {
	display: flex;
	justify-content: center;
	gap: 6px;
	margin-top: 32px;
	flex-wrap: wrap;
}

.smt-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	border: 1px solid var(--smt-border);
	border-radius: 10px;
	font-size: 14px;
	font-weight: 700;
	color: var(--smt-text);
	text-decoration: none;
	transition: all .18s ease;
}

.smt-pagination .page-numbers:hover,
.smt-pagination .page-numbers.current {
	background: var(--smt-primary);
	border-color: var(--smt-primary);
	color: #fff;
}

/* ---------- هدر برجسته‌ی تک‌نوشته ---------- */

.smt-single-hero {
	margin: 6px 0 30px;
}

.smt-hero {
	position: relative;
	overflow: hidden;
	border-radius: 18px;
	padding: 26px 28px;
	background: linear-gradient(135deg, var(--smt-navy) 0%, var(--smt-navy-dark) 100%);
	box-shadow: 0 8px 24px rgba(15, 13, 53, 0.12);
	color: #fff;
}

.smt-hero::after {
	display: none;
}

.smt-hero__top {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
	margin-bottom: 22px;
}

.smt-hero__badge {
	display: inline-block;
	padding: 6px 18px;
	border-radius: 999px;
	font-size: 12.5px;
	font-weight: 800;
	line-height: 1.8;
	background: rgba(255, 255, 255, .16);
	color: #fff;
	backdrop-filter: blur(4px);
}

.smt-hero__badge--auction {
	background: var(--smt-primary);
}

.smt-hero__date {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 12.5px;
	font-weight: 600;
	color: rgba(255, 255, 255, .72);
}

.smt-hero__date .smt-icon {
	width: 15px;
	height: 15px;
}

.smt-hero__grid {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
	gap: 14px;
}

.smt-hero__item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 16px;
	border-radius: 12px;
	background: rgba(255, 255, 255, .07);
	border: 1px solid rgba(255, 255, 255, .1);
}

.smt-hero__item.is-highlight {
	background: rgba(255, 255, 255, .12);
	border-color: rgba(255, 255, 255, .22);
}

.smt-hero__icon {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 10px;
	background: rgba(255, 255, 255, .13);
	color: #fff;
}

.smt-hero__item.is-highlight .smt-hero__icon {
	background: var(--smt-primary);
}

.smt-hero__icon .smt-icon {
	width: 18px;
	height: 18px;
}

.smt-hero__text {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.smt-hero__label {
	font-size: 11.5px;
	font-weight: 600;
	color: rgba(255, 255, 255, .62);
}

.smt-hero__value {
	font-size: 14.5px;
	font-weight: 800;
	color: #fff;
	line-height: 1.7;
	word-break: break-word;
}

/* توضیحات آگهی */

.smt-single-body {
	font-size: 15px;
	line-height: 2.1;
	color: var(--smt-text);
	padding-right: 16px;
	border-right: 3px solid var(--smt-primary-soft);
	margin-bottom: 34px;
}

.smt-single-body > *:first-child {
	margin-top: 0;
}

.smt-single-body > *:last-child {
	margin-bottom: 0;
}

/* شمارنده کنار عنوان بخش */

.smt-count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 24px;
	height: 24px;
	padding: 0 8px;
	border-radius: 999px;
	background: var(--smt-primary-soft);
	color: var(--smt-primary-dark);
	font-size: 12.5px;
	font-weight: 800;
}

.smt-single-foot {
	padding-top: 22px;
	border-top: 1px solid var(--smt-border);
}

/* ---------- تک‌نوشته ---------- */

.smt-single {
	margin-top: 38px;
}

.smt-block {
	margin-bottom: 34px;
}

.smt-section-title {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 18px;
	font-size: 17px;
	font-weight: 800;
	line-height: 1.6;
	color: var(--smt-navy);
}

.smt-section-title::before {
	content: "";
	width: 4px;
	height: 18px;
	border-radius: 99px;
	background: var(--smt-primary);
	flex: 0 0 auto;
}

.smt-specs {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
	gap: 12px;
}

.smt-spec {
	display: flex;
	flex-direction: column;
	gap: 7px;
	padding: 16px 18px;
	border: 1px solid var(--smt-border);
	border-radius: 12px;
	background: var(--smt-bg);
}

.smt-spec__key {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 12.5px;
	font-weight: 600;
	color: var(--smt-muted);
}

.smt-spec__key .smt-icon {
	width: 15px;
	height: 15px;
	opacity: .65;
}

.smt-spec__val {
	font-size: 15px;
	font-weight: 700;
	color: var(--smt-navy);
	line-height: 1.7;
}

.smt-empty-line {
	margin: 0;
	padding: 18px 20px;
	border: 1px dashed var(--smt-border);
	border-radius: 12px;
	font-size: 13.5px;
	color: var(--smt-muted);
	text-align: center;
}

.smt-wrap a.smt-back {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	font-weight: 700;
	color: var(--smt-muted);
	text-decoration: none;
	transition: color .18s ease;
}

.smt-wrap a.smt-back:hover {
	color: var(--smt-primary);
}

.smt-back .smt-icon {
	width: 17px;
	height: 17px;
	transition: transform .2s ease;
}

.smt-wrap a.smt-back:hover .smt-icon {
	transform: translateX(-3px);
}

/* ---------- واکنش‌گرا ---------- */

@media (max-width: 860px) {
	.smt-grid--3,
	.smt-grid--4 {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 640px) {
	.smt-grid--2,
	.smt-grid--3,
	.smt-grid--4 {
		grid-template-columns: 1fr;
	}

	.smt-grid-2 {
		grid-template-columns: 1fr;
	}

	.smt-stats {
		grid-template-columns: 1fr;
	}

	.smt-form {
		padding: 20px;
	}

	.smt-auth {
		padding: 24px 12px 40px;
	}

	.smt-auth__card {
		padding: 26px 20px 22px;
		border-radius: 16px;
	}

	.smt-auth__title {
		font-size: 19px;
	}

	.smt-field--inline {
		flex-direction: column;
		align-items: flex-start;
		gap: 8px;
	}

	.smt-search input[type="search"] {
		min-width: 0;
		flex: 1;
	}

	.smt-search {
		width: 100%;
	}

	.smt-hero {
		padding: 20px 18px;
		border-radius: 14px;
	}

	.smt-hero__grid {
		grid-template-columns: 1fr;
		gap: 10px;
	}

	.smt-card__body {
		padding: 20px;
	}

	.smt-single-body {
		padding-right: 12px;
	}

	.smt-table thead {
		display: none;
	}

	.smt-table,
	.smt-table tbody,
	.smt-table tr,
	.smt-table td {
		display: block;
		width: 100%;
	}

	.smt-table tr {
		border-bottom: 1px solid var(--smt-border);
		padding: 8px 0;
	}

	.smt-table td {
		border: 0;
		display: flex;
		justify-content: space-between;
		gap: 12px;
		padding: 7px 16px;
	}

	.smt-table td::before {
		content: attr(data-label);
		font-weight: 800;
		color: var(--smt-muted);
		font-size: 13px;
	}
}

/* ==========================================================================
   چیدمان چپ‌به‌راست (انگلیسی و روسی)
   وردپرس فقط برای زبان‌های راست‌به‌چپ dir="rtl" را روی <html> می‌گذارد،
   پس هر چیز دیگری یعنی LTR.
   ========================================================================== */

html:not([dir="rtl"]) .smt-wrap {
	direction: ltr;
	text-align: left;
}

html:not([dir="rtl"]) .smt-table th,
html:not([dir="rtl"]) .smt-table td {
	text-align: left;
}

html:not([dir="rtl"]) .smt-single-body {
	padding-right: 0;
	padding-left: 16px;
	border-right: 0;
	border-left: 3px solid var(--smt-primary-soft);
}

html:not([dir="rtl"]) .smt-password input {
	padding-left: 14px !important;
	padding-right: 46px !important;
}

html:not([dir="rtl"]) .smt-password__toggle {
	left: auto;
	right: 6px;
}

/* فلش «مشاهده جزئیات» در LTR باید به راست اشاره کند */
html:not([dir="rtl"]) .smt-card__cta .smt-icon {
	transform: scaleX(-1);
}

html:not([dir="rtl"]) .smt-card:hover .smt-card__cta .smt-icon {
	transform: scaleX(-1) translateX(-3px);
}

html:not([dir="rtl"]) .smt-wrap a.smt-back:hover .smt-icon {
	transform: translateX(-3px);
}

html:not([dir="rtl"]) .smt-hero::after {
	left: auto;
	right: -60px;
}

html:not([dir="rtl"]) .smt-account--left {
	justify-content: flex-start;
}

html:not([dir="rtl"]) .smt-account--right {
	justify-content: flex-end;
}
