/* Safe areas as variables: every rule below uses these, so the notch, the status bar, the
   rounded corners and the home indicator are handled in one place (and can be tested). */
:root {
	--safe-top: env(safe-area-inset-top, 0px);
	--safe-bottom: env(safe-area-inset-bottom, 0px);
	--safe-left: env(safe-area-inset-left, 0px);
	--safe-right: env(safe-area-inset-right, 0px);
}

/*
 * Noghte design system (brief §33, §37, §38).
 * Palette from the brand colour guide: coral #f66246 / #fb9b85 / #fce4e0, navy #162232, off-white #fcfcfe.
 * Mobile first, RTL, logical properties throughout.
 */

/* ---------- Fonts: Vazirmatn (OFL), self-hosted subsets ---------- */
@font-face {
	font-family: "Vazirmatn";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("../fonts/Vazirmatn-arabic.woff2") format("woff2");
	unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}
@font-face {
	font-family: "Vazirmatn";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("../fonts/Vazirmatn-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens ---------- */
:root {
	--coral: #f66246;
	--coral-600: #e24c30;
	--coral-300: #fb9b85;
	--coral-100: #fce4e0;
	--coral-50: #fef4f1;
	--navy: #162232;
	--navy-800: #1e2d41;
	--navy-700: #2a3b53;
	--ink: #162232;
	--muted: #5d6879;
	--subtle: #8a93a2;
	--line: #e8eaef;
	--line-strong: #d6dae1;
	--bg: #f5f6f9;
	--surface: #ffffff;
	--off-white: #fcfcfe;
	--success: #0f7a55;
	--success-bg: #e3f4ec;
	--warning: #a55800;
	--warning-bg: #fff2df;
	--danger: #c22f2f;
	--danger-bg: #fdeaea;
	--info: #2552c4;
	--info-bg: #e9effd;
	--neutral-bg: #edf0f4;

	--radius-sm: 8px;
	--radius: 12px;
	--radius-lg: 18px;
	--radius-xl: 26px;
	--shadow-sm: 0 1px 2px rgb(22 34 50 / 6%);
	--shadow: 0 6px 20px rgb(22 34 50 / 8%);
	--shadow-lg: 0 18px 44px rgb(22 34 50 / 14%);
	--ring: 0 0 0 3px rgb(246 98 70 / 22%);

	--header-h: 64px;
	--bottom-nav-h: 64px;
	--container: 1200px;
	--font: "Vazirmatn", Tahoma, "Segoe UI", sans-serif;
	--ease: cubic-bezier(.2, .8, .2, 1);
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: var(--font);
	font-size: 15px;
	line-height: 1.8;
	color: var(--ink);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

body.noghte-app {
	padding-bottom: calc(var(--bottom-nav-h) + var(--safe-bottom));
}

body.has-layer {
	overflow: hidden;
}

/* The hidden attribute always wins over component display rules (buttons, flex rows, badges). */
[hidden] {
	display: none !important;
}

img,
svg,
video {
	display: block;
	max-width: 100%;
}

img {
	height: auto;
}

a {
	color: inherit;
	text-decoration: none;
}

h1, h2, h3, h4 {
	margin: 0;
	line-height: 1.45;
	font-weight: 800;
}

p {
	margin: 0;
}

button,
input,
select,
textarea {
	font: inherit;
	color: inherit;
}

button {
	cursor: pointer;
}

:focus-visible {
	outline: 2px solid var(--coral);
	outline-offset: 2px;
}

::selection {
	background: var(--coral-100);
	color: var(--navy);
}

hr {
	border: 0;
	border-top: 1px solid var(--line);
	margin: 8px 0;
}

.sr-only {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.skip-link {
	position: absolute;
	inset-inline-start: 12px;
	top: -60px;
	z-index: 200;
	padding: 8px 14px;
	border-radius: var(--radius);
	background: var(--navy);
	color: #fff;
}

.skip-link:focus {
	top: 12px;
}

.container {
	width: min(100% - 32px, var(--container));
	margin-inline: auto;
}

.icon {
	width: 20px;
	height: 20px;
	flex-shrink: 0;
}

.text-coral {
	color: var(--coral);
}

.text-muted {
	color: var(--muted);
}

.site-main {
	min-height: 60vh;
}

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 44px;
	padding: 0 18px;
	border: 1px solid transparent;
	border-radius: var(--radius);
	background: transparent;
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
	white-space: nowrap;
	transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease), transform .1s;
}

.btn:active {
	transform: translateY(1px);
}

.btn[disabled],
.btn.is-loading {
	opacity: .7;
	cursor: not-allowed;
}

.btn--primary {
	background: var(--coral);
	color: #fff;
	box-shadow: 0 6px 16px rgb(246 98 70 / 28%);
}

.btn--primary:hover {
	background: var(--coral-600);
}

.btn--secondary {
	background: var(--navy);
	color: #fff;
}

.btn--secondary:hover {
	background: var(--navy-700);
}

.btn--ghost {
	color: var(--ink);
}

.btn--ghost:hover,
.btn--ghost[aria-current] {
	background: var(--neutral-bg);
}

.btn--outline {
	border-color: var(--line-strong);
	background: var(--surface);
	color: var(--ink);
}

.btn--outline:hover {
	border-color: var(--coral-300);
	color: var(--coral-600);
}

.btn--outline-light {
	border-color: rgb(255 255 255 / 35%);
	color: #fff;
}

.btn--outline-light:hover {
	background: rgb(255 255 255 / 10%);
}

.btn--light {
	background: #fff;
	color: var(--navy);
}

.btn--light:hover {
	background: var(--off-white);
	color: var(--coral-600);
}

.btn--danger {
	background: var(--danger);
	color: #fff;
}

.btn--danger:hover {
	background: #a82626;
}

.btn--danger-ghost {
	color: var(--danger);
}

.btn--danger-ghost:hover {
	background: var(--danger-bg);
}

.btn--sm {
	min-height: 36px;
	padding: 0 12px;
	font-size: 13px;
	border-radius: 10px;
}

.btn--lg {
	min-height: 52px;
	padding: 0 24px;
	font-size: 15px;
}

.btn--block {
	width: 100%;
}

.icon-btn {
	display: inline-grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--ink);
	transition: background-color .2s;
}

.icon-btn:hover {
	background: var(--neutral-bg);
}

.icon-btn--light {
	color: #fff;
	background: rgb(255 255 255 / 8%);
}

.icon-btn--light:hover {
	background: rgb(255 255 255 / 18%);
}

.spinner {
	width: 16px;
	height: 16px;
	border: 2px solid currentColor;
	border-inline-end-color: transparent;
	border-radius: 50%;
	animation: spin .7s linear infinite;
}

@keyframes spin {
	to { transform: rotate(360deg); }
}

/* ---------- Forms ---------- */
.field {
	display: grid;
	gap: 6px;
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
}

.field__label {
	padding: 0;
	font-size: 13px;
	font-weight: 700;
	color: var(--ink);
}

.field__label small,
.field__hint {
	font-size: 12px;
	font-weight: 400;
	color: var(--subtle);
}

.field__error {
	font-size: 12.5px;
	font-weight: 600;
	color: var(--danger);
}

input[type="text"],
input[type="search"],
input[type="tel"],
input[type="number"],
input[type="email"],
input[type="url"],
select,
textarea {
	width: 100%;
	min-height: 46px;
	padding: 0 14px;
	border: 1px solid var(--line-strong);
	border-radius: var(--radius);
	background-color: var(--surface);
	font-size: 15px;
	transition: border-color .2s, box-shadow .2s;
	appearance: none;
}

textarea {
	min-height: 140px;
	padding: 12px 14px;
	line-height: 1.9;
	resize: vertical;
}

select {
	padding-inline-end: 38px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%235d6879' stroke-width='2' stroke-linecap='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: left 12px center;
	background-size: 18px;
}

input:focus,
select:focus,
textarea:focus {
	border-color: var(--coral);
	box-shadow: var(--ring);
	outline: none;
}

input::placeholder,
textarea::placeholder {
	color: #a4acb8;
}

select:disabled,
input:disabled {
	background-color: var(--bg);
	color: var(--subtle);
	cursor: not-allowed;
}

.has-error input,
.has-error select,
.has-error textarea,
.has-error .uploader__drop {
	border-color: var(--danger);
}

.ltr {
	direction: ltr;
	text-align: right;
}

.field-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
}

.field--compact .field__label {
	font-size: 12px;
	color: var(--muted);
}

.chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.chip {
	position: relative;
	display: inline-flex;
}

.chip input {
	position: absolute;
	opacity: 0;
}

.chip span {
	display: inline-flex;
	align-items: center;
	min-height: 38px;
	padding: 0 14px;
	border: 1px solid var(--line-strong);
	border-radius: 999px;
	background: var(--surface);
	font-size: 13.5px;
	font-weight: 600;
	cursor: pointer;
	transition: all .2s;
}

.chip input:checked + span {
	border-color: var(--coral);
	background: var(--coral-50);
	color: var(--coral-600);
}

.chip input:focus-visible + span {
	box-shadow: var(--ring);
}

/* Device type: bigger targets with the English name underneath (change request §5). */
.chips--lg .chip span {
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 2px;
	min-width: 116px;
	min-height: 60px;
	border-radius: var(--radius-md);
	font-size: 15px;
}

.chips--lg .chip span small {
	font-size: 11.5px;
	font-weight: 500;
	color: var(--muted);
	direction: ltr;
}

.chips--lg .chip input:checked + span small {
	color: var(--coral-600);
}

.switch {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	cursor: pointer;
	font-weight: 600;
}

.switch input {
	position: relative;
	width: 44px;
	height: 26px;
	margin: 0;
	border-radius: 999px;
	background: var(--line-strong);
	appearance: none;
	cursor: pointer;
	transition: background-color .2s;
}

.switch input::after {
	content: "";
	position: absolute;
	top: 3px;
	inset-inline-start: 3px;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: #fff;
	box-shadow: var(--shadow-sm);
	transition: inset-inline-start .2s var(--ease);
}

.switch input:checked {
	background: var(--coral);
}

.switch input:checked::after {
	inset-inline-start: 21px;
}

/* ---------- Badges, pills, notices ---------- */
.badge {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 2px 10px;
	border-radius: 999px;
	background: var(--neutral-bg);
	color: var(--muted);
	font-size: 12px;
	font-weight: 700;
	line-height: 1.8;
	white-space: nowrap;
}

.badge--success { background: var(--success-bg); color: var(--success); }
.badge--warning { background: var(--warning-bg); color: var(--warning); }
.badge--danger { background: var(--danger-bg); color: var(--danger); }
.badge--info { background: var(--info-bg); color: var(--info); }
.badge--coral { background: var(--coral-100); color: var(--coral-600); }
.badge--dark { background: rgb(22 34 50 / 82%); color: #fff; }
.badge--muted { background: var(--neutral-bg); color: var(--muted); }

.count-pill {
	display: inline-grid;
	place-items: center;
	min-width: 22px;
	height: 22px;
	padding: 0 6px;
	margin-inline-start: auto;
	border-radius: 999px;
	background: var(--coral);
	color: #fff;
	font-size: 11.5px;
	font-weight: 800;
}

.notice {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 12px 16px;
	border-radius: 14px;
	background: var(--info-bg);
	color: var(--info);
	font-size: 14px;
	line-height: 1.9;
}

.notice .icon {
	margin-top: 3px;
}

.notice strong {
	font-weight: 800;
}

.notice--warning { background: var(--warning-bg); color: var(--warning); }
.notice--danger { background: var(--danger-bg); color: var(--danger); }
.notice--success { background: var(--success-bg); color: var(--success); }
.notice--neutral { background: var(--neutral-bg); color: var(--muted); }

/* ---------- Header ---------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	border-bottom: 1px solid rgb(22 34 50 / 7%);
	background: rgb(255 255 255 / 92%);
	backdrop-filter: saturate(1.4) blur(12px);
}

.admin-bar .site-header {
	top: 32px;
}

/* Installed PWA on notched phones: keep the header clear of the status bar and rounded corners. */
.site-header {
	padding-top: var(--safe-top);
	padding-inline: var(--safe-left) var(--safe-right);
}

.site-header__inner {
	display: flex;
	align-items: center;
	gap: 8px;
	height: var(--header-h);
}

.site-logo img {
	width: auto;
	height: 32px;
}

.main-nav {
	display: none;
}

.site-header__actions {
	display: flex;
	align-items: center;
	gap: 4px;
	margin-inline-start: auto;
}

.site-header__actions .btn--ghost {
	padding: 0 12px;
}

.notif-btn {
	position: relative;
}

.notif-btn__count {
	position: absolute;
	top: 4px;
	inset-inline-end: 4px;
	min-width: 18px;
	height: 18px;
	padding: 0 4px;
	border: 2px solid #fff;
	border-radius: 999px;
	background: var(--coral);
	color: #fff;
	font-size: 10px;
	font-weight: 800;
	line-height: 14px;
	text-align: center;
}

.hide-mobile {
	display: none !important;
}

/* ---------- Drawers & modals ---------- */
.drawer,
.modal {
	position: fixed;
	inset: 0;
	z-index: 100;
}

.drawer[hidden],
.modal[hidden] {
	display: none;
}

.drawer__backdrop,
.modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgb(22 34 50 / 48%);
	opacity: 0;
	transition: opacity .2s;
}

.is-open > .drawer__backdrop,
.is-open > .modal__backdrop {
	opacity: 1;
}

.drawer__panel {
	position: absolute;
	top: 0;
	bottom: 0;
	inset-inline-start: 0;
	display: flex;
	flex-direction: column;
	width: min(86vw, 340px);
	background: var(--surface);
	box-shadow: var(--shadow-lg);
	transform: translateX(100%);
	transition: transform .25s var(--ease);
	overflow-y: auto;
}

.drawer.is-open .drawer__panel {
	transform: none;
}

.drawer--start .drawer__panel {
	padding-top: var(--safe-top);
	padding-bottom: var(--safe-bottom);
}

.drawer__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 14px 16px;
	border-bottom: 1px solid var(--line);
}

.drawer-nav {
	display: grid;
	gap: 2px;
	padding: 12px;
}

.drawer-nav a,
.drawer-nav__install {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px;
	border: 0;
	border-radius: var(--radius);
	background: transparent;
	font-weight: 600;
	text-align: start;
}

.drawer-nav a:hover,
.drawer-nav a[aria-current] {
	background: var(--coral-50);
	color: var(--coral-600);
}

.drawer-nav__install[hidden] {
	display: none;
}

.modal {
	display: grid;
	place-items: center;
	padding: 16px;
}

.modal__panel {
	position: relative;
	width: min(100%, 520px);
	max-height: calc(100vh - 32px);
	padding: 24px;
	border-radius: var(--radius-xl);
	background: var(--surface);
	box-shadow: var(--shadow-lg);
	overflow-y: auto;
	transform: translateY(12px) scale(.98);
	opacity: 0;
	transition: transform .2s var(--ease), opacity .2s;
}

.modal.is-open .modal__panel {
	transform: none;
	opacity: 1;
}

.modal__panel--sm {
	width: min(100%, 400px);
}

.modal__title {
	margin-bottom: 8px;
	font-size: 18px;
}

.modal__text {
	color: var(--muted);
}

.modal__close {
	position: absolute;
	top: 12px;
	inset-inline-end: 12px;
}

.modal__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 20px;
}

.steps {
	margin: 12px 0 0;
	padding-inline-start: 20px;
	color: var(--muted);
}

/* ---------- Toasts ---------- */
.toasts {
	position: fixed;
	inset-inline: 16px;
	bottom: calc(var(--bottom-nav-h) + 16px + var(--safe-bottom));
	z-index: 150;
	display: grid;
	justify-items: center;
	gap: 8px;
	pointer-events: none;
}

.toast {
	max-width: 480px;
	padding: 12px 18px;
	border-radius: 14px;
	background: var(--navy);
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	box-shadow: var(--shadow-lg);
	transform: translateY(12px);
	opacity: 0;
	transition: all .25s var(--ease);
}

.toast.is-visible {
	transform: none;
	opacity: 1;
}

.toast--success { border-inline-start: 4px solid #37c48a; }
.toast--error { background: var(--danger); }
.toast--info { border-inline-start: 4px solid var(--coral); }

/* ---------- Sections ---------- */
.section {
	padding-block: 36px;
}

.section-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 18px;
}

.section-head h2 {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 20px;
}

.section-head h2::before {
	content: "";
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--coral);
	box-shadow: 0 0 0 5px var(--coral-100);
}

.section-head p {
	margin-top: 2px;
	color: var(--muted);
	font-size: 14px;
}

.link-more {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	color: var(--coral-600);
	font-size: 14px;
	font-weight: 700;
	white-space: nowrap;
}

.panel {
	padding: 20px;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	background: var(--surface);
}

.panel__title {
	margin-bottom: 14px;
	font-size: 17px;
}

/* ---------- Hero ---------- */
.hero-wrap {
	padding-top: 16px;
}

.hero {
	position: relative;
	display: grid;
	gap: 24px;
	padding: 32px 22px 72px;
	overflow: hidden;
	border-radius: var(--radius-xl);
	background:
		radial-gradient(420px 260px at 8% 105%, rgb(246 98 70 / 38%), transparent 70%),
		radial-gradient(320px 220px at 96% -10%, rgb(251 155 133 / 16%), transparent 70%),
		var(--navy);
	color: #fff;
	isolation: isolate;
}

/* Half ring from the logo mark, as a quiet brand motif. */
.hero::after {
	content: "";
	position: absolute;
	top: 50%;
	inset-inline-end: -170px;
	z-index: -1;
	width: 340px;
	height: 340px;
	border: 60px solid rgb(246 98 70 / 12%);
	border-inline-end-color: transparent;
	border-block-end-color: transparent;
	border-radius: 50%;
	transform: translateY(-50%) rotate(-45deg);
}

.hero__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	width: fit-content;
	padding: 4px 12px;
	border: 1px solid rgb(255 255 255 / 14%);
	border-radius: 999px;
	background: rgb(255 255 255 / 6%);
	color: var(--coral-300);
	font-size: 13px;
	font-weight: 700;
}

.hero__eyebrow::before {
	content: "";
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--coral);
}

.hero__title,
.cta-card h2,
.auth__side h2 {
	color: #fff;
}

.hero__title {
	margin-top: 16px;
	font-size: clamp(27px, 7vw, 46px);
	font-weight: 900;
	line-height: 1.4;
	letter-spacing: -.3px;
}

.hero__text {
	margin-top: 12px;
	max-width: 480px;
	color: #c5cdd9;
	font-size: 16px;
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 24px;
}

.hero__points {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 18px;
	margin: 24px 0 0;
	padding: 0;
	list-style: none;
	color: #dfe4eb;
	font-size: 13.5px;
}

.hero__points li {
	display: flex;
	align-items: center;
	gap: 6px;
}

.hero__points .icon {
	width: 18px;
	height: 18px;
	color: var(--coral-300);
}

.hero__media {
	display: none;
}

.home-search {
	position: relative;
	z-index: 2;
	margin-top: -48px;
	padding-inline: 10px;
	scroll-margin-top: calc(var(--header-h) + var(--safe-top) + 16px);
}

/* ---------- Search box ---------- */
.search-box {
	display: grid;
	gap: 12px;
	padding: 14px;
	border-radius: 22px;
	background: var(--surface);
	box-shadow: var(--shadow-lg);
}

.search-box__keyword {
	position: relative;
}

.search-box__keyword .icon {
	position: absolute;
	top: 50%;
	inset-inline-start: 14px;
	color: var(--subtle);
	transform: translateY(-50%);
}

.search-box__keyword input {
	min-height: 54px;
	padding-inline-start: 44px;
	border-color: var(--line);
	background: var(--bg);
	font-size: 15px;
}

.search-box__fields {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
}

.search-box__submit {
	grid-column: 1 / -1;
}

/* ---------- Brands ---------- */
.brand-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 10px;
}

.brand-tile {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	background: var(--surface);
	transition: border-color .2s, box-shadow .2s, transform .2s;
}

.brand-tile:hover {
	border-color: var(--coral-300);
	box-shadow: var(--shadow);
	transform: translateY(-2px);
}

.brand-tile__logo {
	display: grid;
	flex-shrink: 0;
	place-items: center;
	width: 46px;
	height: 46px;
	overflow: hidden;
	border-radius: 14px;
	background: var(--coral-50);
	color: var(--coral-600);
	font-size: 19px;
	font-weight: 900;
	direction: ltr;
}

.brand-tile__logo img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding: 6px;
}

.brand-tile__name {
	display: block;
	font-weight: 800;
	line-height: 1.5;
}

.brand-tile__meta {
	display: block;
	color: var(--subtle);
	font-size: 12.5px;
}

/* ---------- Listing cards ---------- */
.listing-grid {
	display: grid;
	gap: 12px;
}

.listing-card {
	min-width: 0;
}

.listing-card__link {
	display: grid;
	grid-template-columns: 124px 1fr;
	gap: 12px;
	height: 100%;
	padding: 10px;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	background: var(--surface);
	transition: box-shadow .2s, border-color .2s, transform .2s;
}

.listing-card__link:hover {
	border-color: rgb(246 98 70 / 35%);
	box-shadow: var(--shadow);
}

.listing-card__media {
	position: relative;
	aspect-ratio: 1;
	overflow: hidden;
	border-radius: 12px;
	background: var(--neutral-bg);
}

.listing-card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .4s var(--ease);
}

.listing-card__link:hover .listing-card__img {
	transform: scale(1.04);
}

.listing-card__placeholder {
	display: grid;
	place-items: center;
	height: 100%;
	color: var(--subtle);
}

.listing-card__placeholder .icon {
	width: 34px;
	height: 34px;
}

.listing-card__type {
	position: absolute;
	top: 8px;
	inset-inline-start: 8px;
}

.listing-card__body {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.listing-card__brand {
	color: var(--subtle);
	font-size: 12px;
	font-weight: 600;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.listing-card__title {
	display: -webkit-box;
	overflow: hidden;
	font-size: 14.5px;
	font-weight: 800;
	line-height: 1.7;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.listing-card__specs {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 12px;
	margin: 4px 0 0;
	padding: 0;
	list-style: none;
	color: var(--muted);
	font-size: 12px;
}

.listing-card__specs li,
.listing-card__meta span {
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

.listing-card__specs .icon,
.listing-card__meta .icon {
	width: 14px;
	height: 14px;
}

.listing-card__price {
	margin-top: auto;
	padding-top: 6px;
	font-size: 15.5px;
	font-weight: 900;
}

.listing-card__meta {
	display: flex;
	justify-content: space-between;
	gap: 8px;
	color: var(--subtle);
	font-size: 11.5px;
}

/* ---------- About & CTA ---------- */
.about-block {
	display: grid;
	gap: 24px;
	padding: 28px 22px;
	border-radius: var(--radius-xl);
	background: var(--surface);
	border: 1px solid var(--line);
}

.about-block h2 {
	font-size: 24px;
}

.about-block__text {
	margin-top: 10px;
	color: var(--muted);
	font-size: 15.5px;
	line-height: 2.1;
}

.features {
	display: grid;
	gap: 12px;
	margin: 20px 0 0;
	padding: 0;
	list-style: none;
}

.feature {
	display: flex;
	gap: 12px;
}

.feature__icon {
	display: grid;
	flex-shrink: 0;
	place-items: center;
	width: 42px;
	height: 42px;
	border-radius: 12px;
	background: var(--coral-50);
	color: var(--coral-600);
}

.feature strong {
	display: block;
	font-weight: 800;
}

.feature span {
	color: var(--muted);
	font-size: 13.5px;
}

.about-block__media img {
	width: 100%;
	border-radius: var(--radius-lg);
}

.cta-card {
	position: relative;
	display: grid;
	gap: 16px;
	padding: 28px 22px;
	overflow: hidden;
	border-radius: var(--radius-xl);
	background: linear-gradient(135deg, #f66246 0%, #f27c5f 55%, #fb9b85 100%);
	color: #fff;
	isolation: isolate;
}

.cta-card::after {
	content: "";
	position: absolute;
	inset-inline-end: -60px;
	bottom: -80px;
	z-index: -1;
	width: 220px;
	height: 220px;
	border-radius: 50%;
	background: rgb(22 34 50 / 16%);
}

.cta-card h2 {
	font-size: 23px;
}

.cta-card p {
	color: rgb(255 255 255 / 88%);
}

/* ---------- Page head & breadcrumbs ---------- */
.page-head {
	padding-block: 20px 12px;
}

.page-head h1 {
	font-size: 22px;
}

.page-head p {
	color: var(--muted);
}

.breadcrumb {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px;
	margin: 0 0 8px;
	padding: 0;
	list-style: none;
	color: var(--subtle);
	font-size: 13px;
}

.breadcrumb li {
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

.breadcrumb li + li::before {
	content: "‹";
	color: var(--line-strong);
}

.breadcrumb a:hover {
	color: var(--coral-600);
}

/* ---------- Listings page ---------- */
.listings-layout {
	display: grid;
	gap: 20px;
	padding-bottom: 40px;
}

.keyword-form {
	display: flex;
	gap: 8px;
	margin-top: 14px;
}

.keyword-form input {
	min-height: 48px;
}

.results-bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin-bottom: 14px;
}

.results-bar__count {
	color: var(--muted);
	font-size: 14px;
}

.results-bar__sort {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-inline-start: auto;
}

.results-bar__sort select {
	min-height: 40px;
	width: auto;
	font-size: 14px;
}

.active-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 14px;
}

.active-filter {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 4px 6px 4px 10px;
	border-radius: 999px;
	background: var(--coral-50);
	color: var(--coral-600);
	font-size: 13px;
	font-weight: 700;
}

.active-filter .icon {
	width: 16px;
	height: 16px;
}

.filters {
	display: flex;
	flex-direction: column;
}

.drawer--filters .drawer__panel {
	top: auto;
	inset-inline: 0;
	width: 100%;
	max-height: 88vh;
	border-radius: 24px 24px 0 0;
	transform: translateY(100%);
}

.drawer--filters:not(.is-open) {
	visibility: hidden;
}

.drawer--filters.is-open {
	visibility: visible;
}

.filters__title {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 17px;
}

.filters__body {
	display: grid;
	gap: 16px;
	padding: 16px;
}

.filters__actions {
	position: sticky;
	bottom: 0;
	display: grid;
	gap: 6px;
	padding: 12px 16px calc(12px + var(--safe-bottom));
	border-top: 1px solid var(--line);
	background: var(--surface);
}

/* ---------- Pagination & empty states ---------- */
.pagination {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-top: 28px;
}

.pagination__pages {
	display: flex;
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.pagination__page,
.pagination__step {
	display: inline-grid;
	place-items: center;
	min-width: 42px;
	height: 42px;
	padding: 0 10px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--surface);
	font-weight: 700;
}

.pagination__step {
	display: inline-flex;
	gap: 4px;
}

.pagination__page:hover,
.pagination__step:hover {
	border-color: var(--coral-300);
	color: var(--coral-600);
}

.pagination__page.is-current {
	border-color: var(--coral);
	background: var(--coral);
	color: #fff;
}

.pagination__gap {
	display: grid;
	place-items: center;
	width: 24px;
	color: var(--subtle);
}

.empty-state {
	display: grid;
	justify-items: center;
	gap: 8px;
	padding: 48px 20px;
	border: 1px dashed var(--line-strong);
	border-radius: var(--radius-xl);
	background: var(--surface);
	text-align: center;
}

.empty-state__icon {
	display: grid;
	place-items: center;
	width: 72px;
	height: 72px;
	margin-bottom: 8px;
	border-radius: 50%;
	background: var(--coral-50);
	color: var(--coral);
}

.empty-state__icon .icon {
	width: 32px;
	height: 32px;
}

.empty-state__title {
	font-size: 17px;
}

.empty-state__text {
	max-width: 420px;
	color: var(--muted);
}

.empty-state .btn {
	margin-top: 10px;
}

/* ---------- Listing detail ---------- */
.listing-detail {
	display: grid;
	gap: 16px;
	padding-bottom: 32px;
}

/* Mobile: gallery, then title/price/contact, then details (brief §39: fewest steps to the seller). */
.listing-detail__main,
.listing-detail__aside {
	display: contents;
}

.listing-detail .gallery { order: 1; }
.listing-detail .listing-summary { order: 2; }
.listing-detail__main > .panel { order: 3; }
.listing-detail .seller-card { order: 4; }

.listing-detail > *,
.listing-detail__main > *,
.listing-detail__aside > * {
	min-width: 0;
}

.gallery__main {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	padding: 0;
	overflow: hidden;
	border: 0;
	border-radius: var(--radius-lg);
	background: var(--neutral-bg);
	cursor: zoom-in;
}

.gallery__main img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.gallery__zoom {
	position: absolute;
	bottom: 12px;
	inset-inline-end: 12px;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 10px;
	border-radius: 999px;
	background: rgb(22 34 50 / 72%);
	color: #fff;
	font-size: 12.5px;
}

.gallery__count {
	position: absolute;
	top: 12px;
	inset-inline-start: 12px;
}

.gallery__thumbs {
	display: flex;
	gap: 8px;
	margin-top: 8px;
	overflow-x: auto;
	scrollbar-width: thin;
}

.gallery__thumb {
	flex: 0 0 72px;
	width: 72px;
	height: 72px;
	padding: 0;
	overflow: hidden;
	border: 2px solid transparent;
	border-radius: 12px;
	background: var(--neutral-bg);
	opacity: .7;
}

.gallery__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.gallery__thumb.is-active,
.gallery__thumb:hover {
	border-color: var(--coral);
	opacity: 1;
}

.lightbox .modal__panel {
	display: grid;
	place-items: center;
	width: min(100%, 1100px);
	padding: 12px;
	background: transparent;
	box-shadow: none;
}

.lightbox .modal__backdrop {
	background: rgb(10 16 26 / 92%);
}

.lightbox img {
	max-height: 80vh;
	border-radius: var(--radius);
	object-fit: contain;
}

.lightbox__nav {
	display: flex;
	gap: 12px;
	margin-top: 12px;
}

.lightbox .icon-btn {
	background: rgb(255 255 255 / 12%);
	color: #fff;
}

.listing-summary {
	display: grid;
	gap: 12px;
}

.listing-summary__badges {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.listing-summary h1 {
	font-size: 21px;
	line-height: 1.6;
}

.listing-summary__price {
	font-size: 24px;
	font-weight: 900;
}

.listing-summary__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 16px;
	color: var(--subtle);
	font-size: 13px;
}

.listing-summary__meta span {
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

.listing-summary__meta .icon {
	width: 16px;
	height: 16px;
}

.listing-summary__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.contact-result {
	display: grid;
	gap: 8px;
	padding: 14px;
	border-radius: 14px;
	background: var(--coral-50);
}

.contact-result[hidden] {
	display: none;
}

.contact-result__number {
	font-size: 22px;
	font-weight: 900;
	letter-spacing: 1px;
	text-align: center;
	direction: ltr;
}

.contact-result__buttons {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
}

.spec-list {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
	margin: 0;
}

.spec-list div {
	display: flex;
	gap: 10px;
	padding: 10px 12px;
	border-radius: 12px;
	background: var(--bg);
}

.spec-list .icon {
	margin-top: 4px;
	color: var(--coral);
}

.spec-list dt {
	color: var(--subtle);
	font-size: 12px;
}

.spec-list dd {
	margin: 0;
	font-weight: 800;
	line-height: 1.6;
}

.description {
	color: #334055;
	font-size: 15px;
	line-height: 2.1;
	white-space: pre-line;
	overflow-wrap: anywhere;
}

.seller-card {
	display: grid;
	gap: 14px;
}

.seller-card__head {
	display: flex;
	align-items: center;
	gap: 12px;
}

.avatar {
	display: grid;
	flex-shrink: 0;
	place-items: center;
	width: 52px;
	height: 52px;
	overflow: hidden;
	border-radius: 50%;
	background: var(--coral-50);
	color: var(--coral-600);
}

.avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.avatar--lg {
	width: 88px;
	height: 88px;
}

.avatar--lg .icon {
	width: 36px;
	height: 36px;
}

.seller-card__name {
	font-weight: 800;
	line-height: 1.5;
}

.seller-card__meta {
	color: var(--subtle);
	font-size: 13px;
}

.safety {
	font-size: 13px;
}

.sticky-cta {
	position: fixed;
	inset-inline: 0;
	bottom: 0;
	z-index: 60;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 16px calc(10px + var(--safe-bottom));
	border-top: 1px solid var(--line);
	background: rgb(255 255 255 / 96%);
	backdrop-filter: blur(10px);
}

.sticky-cta__price {
	font-weight: 900;
	line-height: 1.4;
}

.sticky-cta__price small {
	display: block;
	color: var(--subtle);
	font-size: 11px;
	font-weight: 600;
}

.sticky-cta .btn {
	margin-inline-start: auto;
}

body.single-tbl_listing .bottom-nav {
	display: none;
}

.reason-list {
	display: grid;
	gap: 8px;
	margin: 14px 0;
}

.reason-list .chip span {
	width: 100%;
	border-radius: 12px;
}

/* ---------- Seller profile ---------- */
.profile-hero {
	display: grid;
	justify-items: center;
	gap: 10px;
	padding: 28px 20px;
	border-radius: var(--radius-xl);
	background: linear-gradient(180deg, var(--coral-50), var(--surface) 70%);
	border: 1px solid var(--line);
	text-align: center;
}

.profile-hero h1 {
	font-size: 22px;
}

.profile-hero__meta {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px 16px;
	color: var(--muted);
	font-size: 13.5px;
}

.profile-hero__meta span {
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

.profile-hero__desc {
	max-width: 620px;
	color: var(--muted);
	white-space: pre-line;
}

/* ---------- Auth ---------- */
.auth {
	display: grid;
	gap: 20px;
	padding-block: 24px 40px;
}

.auth__card {
	width: min(100%, 440px);
	margin-inline: auto;
	padding: 28px 22px;
	border: 1px solid var(--line);
	border-radius: var(--radius-xl);
	background: var(--surface);
	box-shadow: var(--shadow);
}

.auth__logo {
	width: auto;
	height: 34px;
	margin-bottom: 22px;
}

.auth__title {
	font-size: 22px;
}

.auth__lead {
	margin: 6px 0 22px;
	color: var(--muted);
}

.auth form {
	display: grid;
	gap: 16px;
}

.auth form[hidden] {
	display: none;
}

.auth__mobile {
	min-height: 54px !important;
	font-size: 19px !important;
	font-weight: 700;
	letter-spacing: 1px;
}

.otp-input {
	min-height: 58px !important;
	font-size: 26px !important;
	font-weight: 800;
	letter-spacing: 12px;
	text-align: center !important;
	direction: ltr;
}

.auth__legal {
	color: var(--subtle);
	font-size: 12.5px;
	text-align: center;
}

.auth__legal a {
	color: var(--coral-600);
	font-weight: 700;
}

.auth__resend {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	color: var(--muted);
	font-size: 13.5px;
}

.link-btn {
	padding: 0;
	border: 0;
	background: none;
	color: var(--coral-600);
	font-weight: 700;
}

.link-btn:disabled {
	color: var(--subtle);
	cursor: default;
}

.auth__side {
	display: none;
}

/* ---------- Dashboard ---------- */
.dashboard {
	display: grid;
	gap: 16px;
	padding-block: 16px 40px;
}

.dash-sidebar {
	min-width: 0;
}

.dash-user {
	display: none;
}

.dash-nav {
	display: flex;
	gap: 6px;
	padding-bottom: 4px;
	overflow-x: auto;
	scrollbar-width: none;
}

.dash-nav::-webkit-scrollbar {
	display: none;
}

.dash-nav a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 14px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: var(--surface);
	color: var(--muted);
	font-size: 13.5px;
	font-weight: 700;
	white-space: nowrap;
}

.dash-nav a[aria-current] {
	border-color: var(--coral);
	background: var(--coral-50);
	color: var(--coral-600);
}

.dash-nav .icon {
	width: 18px;
	height: 18px;
}

.dash-nav .count-pill {
	margin-inline-start: 4px;
}

.dash-nav__logout {
	color: var(--danger) !important;
}

.dash-main {
	display: grid;
	align-content: start;
	gap: 16px;
	min-width: 0;
}

.dash-head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.dash-head__title {
	font-size: 21px;
}

.dash-head__subtitle {
	color: var(--muted);
	font-size: 14px;
}

.stat-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 10px;
}

.stat-card {
	display: grid;
	gap: 6px;
	padding: 16px;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	background: var(--surface);
}

.stat-card__icon {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 12px;
	background: var(--neutral-bg);
	color: var(--muted);
}

.stat-card__value {
	font-size: 26px;
	font-weight: 900;
	line-height: 1.3;
}

.stat-card__label {
	color: var(--muted);
	font-size: 13px;
	font-weight: 600;
}

.stat-card--coral .stat-card__icon { background: var(--coral-50); color: var(--coral-600); }
.stat-card--success .stat-card__icon { background: var(--success-bg); color: var(--success); }
.stat-card--warning .stat-card__icon { background: var(--warning-bg); color: var(--warning); }
.stat-card--danger .stat-card__icon { background: var(--danger-bg); color: var(--danger); }

.tabs {
	display: flex;
	gap: 6px;
	overflow-x: auto;
	scrollbar-width: none;
}

.tab {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 7px 14px;
	border-radius: 999px;
	color: var(--muted);
	font-size: 13.5px;
	font-weight: 700;
	white-space: nowrap;
}

.tab[aria-current] {
	background: var(--navy);
	color: #fff;
}

.tab:not([aria-current]):hover {
	background: var(--neutral-bg);
}

.tab__count {
	opacity: .7;
	font-size: 12px;
}

.my-listings {
	display: grid;
	gap: 10px;
}

.my-listings__head {
	display: none;
}

.my-listing {
	display: grid;
	grid-template-columns: 72px 1fr;
	gap: 12px;
	padding: 12px;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	background: var(--surface);
}

.my-listing__thumb {
	width: 72px;
	height: 72px;
	overflow: hidden;
	border-radius: 12px;
	background: var(--neutral-bg);
}

.my-listing__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.my-listing__title {
	font-size: 14.5px;
	font-weight: 800;
	line-height: 1.6;
}

.my-listing__cells {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 14px;
	margin-top: 4px;
	color: var(--muted);
	font-size: 13px;
}

.my-listing__price {
	color: var(--ink);
	font-weight: 800;
}

.my-listing__reason {
	grid-column: 1 / -1;
}

.my-listing__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	grid-column: 1 / -1;
	padding-top: 10px;
	border-top: 1px solid var(--line);
}

.notif-list {
	display: grid;
	gap: 8px;
}

.notif-item {
	position: relative;
	display: flex;
	gap: 12px;
	padding: 14px 16px;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	background: var(--surface);
}

.notif-item.is-unread {
	border-color: rgb(246 98 70 / 35%);
	background: var(--coral-50);
}

.notif-item__icon {
	display: grid;
	flex-shrink: 0;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 12px;
	background: var(--neutral-bg);
	color: var(--muted);
}

.notif-item--success .notif-item__icon { background: var(--success-bg); color: var(--success); }
.notif-item--danger .notif-item__icon { background: var(--danger-bg); color: var(--danger); }
.notif-item--warning .notif-item__icon { background: var(--warning-bg); color: var(--warning); }

.notif-item__title {
	font-weight: 800;
}

.notif-item__body {
	color: var(--muted);
	font-size: 14px;
}

.notif-item__time {
	color: var(--subtle);
	font-size: 12px;
}

.notif-item__link::after {
	content: "";
	position: absolute;
	inset: 0;
}

/* Forms in the dashboard */
.form-stack {
	display: grid;
	gap: 16px;
}

.form-section {
	display: grid;
	gap: 16px;
}

.form-section__head h2 {
	font-size: 17px;
}

.form-section__head p {
	color: var(--muted);
	font-size: 13.5px;
}

.form-grid {
	display: grid;
	gap: 14px;
}

.form-actions {
	position: sticky;
	bottom: calc(var(--bottom-nav-h) + var(--safe-bottom));
	z-index: 5;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	padding: 12px;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	background: rgb(255 255 255 / 96%);
	backdrop-filter: blur(8px);
}

.form-actions .btn--primary {
	flex: 1;
}

.char-count {
	justify-self: end;
	color: var(--subtle);
	font-size: 12px;
}

.uploader__drop {
	display: grid;
	justify-items: center;
	gap: 6px;
	padding: 26px 16px;
	border: 2px dashed var(--coral-300);
	border-radius: var(--radius-lg);
	background: var(--coral-50);
	color: var(--muted);
	text-align: center;
	cursor: pointer;
	transition: background-color .2s, border-color .2s;
}

.uploader__drop:hover,
.uploader__drop.is-dragover {
	border-color: var(--coral);
	background: var(--coral-100);
}

.uploader__drop .icon {
	width: 32px;
	height: 32px;
	color: var(--coral);
}

.uploader__drop strong {
	color: var(--ink);
}

.uploader__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 8px;
}

.upload-thumb {
	position: relative;
	aspect-ratio: 1;
	overflow: hidden;
	border: 2px solid transparent;
	border-radius: 14px;
	background: var(--neutral-bg);
}

.upload-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.upload-thumb.is-primary {
	border-color: var(--coral);
}

.upload-thumb__primary {
	position: absolute;
	top: 6px;
	inset-inline-start: 6px;
}

.upload-thumb__tools {
	position: absolute;
	inset-inline: 6px;
	bottom: 6px;
	display: flex;
	justify-content: space-between;
}

.upload-thumb__tools button {
	display: grid;
	place-items: center;
	width: 32px;
	height: 32px;
	border: 0;
	border-radius: 50%;
	background: rgb(22 34 50 / 72%);
	color: #fff;
}

.upload-thumb__tools button:hover {
	background: var(--navy);
}

.upload-thumb__tools .icon {
	width: 16px;
	height: 16px;
}

.upload-thumb.is-primary [data-make-primary] {
	background: var(--coral);
}

.upload-thumb__progress {
	position: absolute;
	inset-inline: 10px;
	bottom: 10px;
	height: 6px;
	overflow: hidden;
	border-radius: 999px;
	background: rgb(255 255 255 / 70%);
}

.upload-thumb__progress span {
	display: block;
	width: 0;
	height: 100%;
	background: var(--coral);
	transition: width .2s;
}

.upload-thumb.is-uploading img {
	opacity: .5;
}

.image-field {
	display: flex;
	align-items: center;
	gap: 14px;
}

.image-field__preview {
	width: 72px;
	height: 72px;
	overflow: hidden;
	border-radius: 16px;
	background: var(--neutral-bg);
	display: grid;
	place-items: center;
	color: var(--subtle);
}

.image-field__preview img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.level-grid {
	display: grid;
	gap: 12px;
}

.level-card {
	display: grid;
	gap: 8px;
	padding: 18px;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	background: var(--surface);
}

.level-card.is-current {
	border-color: var(--coral);
	box-shadow: 0 0 0 3px var(--coral-100);
}

.level-card h2 {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 17px;
}

.level-card ul {
	margin: 0;
	padding-inline-start: 18px;
	color: var(--muted);
	font-size: 14px;
}

.info-list {
	display: grid;
	gap: 0;
	margin: 0;
}

.info-list div {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding: 12px 0;
	border-bottom: 1px solid var(--line);
}

.info-list div:last-child {
	border-bottom: 0;
}

.info-list dt {
	color: var(--muted);
}

.info-list dd {
	margin: 0;
	font-weight: 700;
}

.success-state {
	display: grid;
	justify-items: center;
	gap: 10px;
	padding: 40px 20px;
	text-align: center;
}

.success-state__icon {
	display: grid;
	place-items: center;
	width: 84px;
	height: 84px;
	border-radius: 50%;
	background: var(--success-bg);
	color: var(--success);
}

.success-state__icon .icon {
	width: 40px;
	height: 40px;
}

.skeleton {
	border-radius: var(--radius);
	background: linear-gradient(90deg, var(--neutral-bg) 25%, #f7f8fa 50%, var(--neutral-bg) 75%);
	background-size: 200% 100%;
	animation: shimmer 1.2s infinite;
}

@keyframes shimmer {
	to { background-position: -200% 0; }
}

/* ---------- Static pages ---------- */
.prose {
	max-width: 780px;
	padding: 24px 20px;
	border: 1px solid var(--line);
	border-radius: var(--radius-xl);
	background: var(--surface);
	color: #334055;
	font-size: 15.5px;
	line-height: 2.1;
}

.prose h2 {
	margin: 24px 0 8px;
	color: var(--ink);
	font-size: 18px;
}

.prose h2:first-child {
	margin-top: 0;
}

.prose p + p {
	margin-top: 10px;
}

.prose ul,
.prose ol {
	padding-inline-start: 22px;
}

.prose a {
	color: var(--coral-600);
	font-weight: 700;
}

.contact-cards {
	display: grid;
	gap: 12px;
	max-width: 780px;
}

.contact-card {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 18px;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	background: var(--surface);
}

.contact-card__icon {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border-radius: 14px;
	background: var(--coral-50);
	color: var(--coral-600);
}

.contact-card strong {
	display: block;
}

/* ---------- Footer & bottom nav ---------- */
.site-footer {
	margin-top: 32px;
	background: var(--navy);
	color: #b8c1ce;
	font-size: 14px;
}

.site-footer__grid {
	display: grid;
	gap: 28px;
	padding-block: 40px 28px;
}

.site-footer__brand img {
	width: auto;
	height: 34px;
}

.site-footer__slogan {
	margin: 12px 0 6px;
	color: #fff;
	font-weight: 800;
}

.site-footer__col {
	display: grid;
	align-content: start;
	gap: 8px;
}

.site-footer__col h2 {
	margin-bottom: 4px;
	color: #fff;
	font-size: 15px;
}

.site-footer__col a:hover {
	color: #fff;
}

.site-footer__contact {
	display: flex;
	align-items: center;
	gap: 8px;
}

.site-footer__contact .icon {
	width: 18px;
	height: 18px;
	color: var(--coral-300);
}

.socials {
	display: flex;
	gap: 8px;
	margin-top: 4px;
}

.site-footer [data-install-app] {
	width: fit-content;
	margin-top: 8px;
}

.site-footer [data-install-app][hidden] {
	display: none;
}

.site-footer__bottom {
	padding-block: 16px;
	border-top: 1px solid rgb(255 255 255 / 8%);
	color: #8b96a6;
	font-size: 13px;
}

.bottom-nav {
	position: fixed;
	inset-inline: 0;
	bottom: 0;
	z-index: 60;
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	height: calc(var(--bottom-nav-h) + var(--safe-bottom));
	padding-bottom: var(--safe-bottom);
	border-top: 1px solid var(--line);
	background: rgb(255 255 255 / 97%);
	backdrop-filter: blur(10px);
}

.bottom-nav a {
	display: grid;
	place-content: center;
	justify-items: center;
	gap: 2px;
	color: var(--subtle);
	font-size: 11px;
	font-weight: 700;
}

.bottom-nav a[aria-current] {
	color: var(--coral-600);
}

.bottom-nav__cta .icon {
	width: 44px;
	height: 44px;
	margin-top: -22px;
	padding: 10px;
	border: 4px solid var(--bg);
	border-radius: 50%;
	background: var(--coral);
	color: #fff;
	box-shadow: 0 6px 14px rgb(246 98 70 / 35%);
}

.bottom-nav__cta {
	color: var(--ink) !important;
}

/* Legacy WordPress content rendered inside the new header/footer. */
body:not(.noghte-app) .site-main {
	padding-block: 24px;
}

/* ---------- Breakpoints ---------- */
@media (min-width: 640px) {
	.container {
		width: min(100% - 48px, var(--container));
	}

	.search-box__fields {
		grid-template-columns: repeat(2, 1fr);
	}

	.brand-grid {
		grid-template-columns: repeat(4, 1fr);
	}

	.listing-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 16px;
	}

	.listing-card__link {
		display: flex;
		flex-direction: column;
		gap: 10px;
	}

	.listing-card__media {
		aspect-ratio: 4 / 3;
	}

	.uploader__grid {
		grid-template-columns: repeat(4, 1fr);
	}

	.contact-cards,
	.level-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 768px) {
	.form-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.form-grid .field--full {
		grid-column: 1 / -1;
	}

	.stat-grid {
		grid-template-columns: repeat(4, 1fr);
	}

	.cta-card {
		grid-template-columns: 1fr auto;
		align-items: center;
		padding: 36px 40px;
	}

	.site-footer__grid {
		grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
	}

	.prose {
		padding: 36px 40px;
	}

	.level-grid {
		grid-template-columns: repeat(3, 1fr);
	}

	.section {
		padding-block: 52px;
	}

	.section-head h2 {
		font-size: 24px;
	}
}

@media (min-width: 1024px) {
	body.noghte-app {
		padding-bottom: 0;
	}

	.site-header__inner {
		gap: 20px;
		height: 72px;
	}

	.site-logo img {
		height: 36px;
	}

	.site-header__menu,
	.bottom-nav,
	.sticky-cta,
	.hide-desktop {
		display: none !important;
	}

	.hide-mobile {
		display: inline-flex !important;
	}

	.main-nav {
		display: flex;
		gap: 4px;
	}

	.main-nav a {
		padding: 8px 14px;
		border-radius: 10px;
		color: var(--muted);
		font-weight: 700;
		transition: color .2s, background-color .2s;
	}

	.main-nav a:hover {
		color: var(--ink);
		background: var(--neutral-bg);
	}

	.main-nav a[aria-current] {
		color: var(--coral-600);
		background: var(--coral-50);
	}

	.toasts {
		bottom: 24px;
	}

	.hero {
		grid-template-columns: 1.15fr .85fr;
		align-items: center;
		padding: 56px 56px 96px;
	}

	.hero__media {
		display: block;
		align-self: stretch;
		position: relative;
	}

	.hero__media img {
		position: absolute;
		top: -24px;
		inset-inline-end: 12px;
		width: auto;
		height: calc(100% + 60px);
		max-height: 520px;
		filter: drop-shadow(0 30px 40px rgb(0 0 0 / 30%));
	}

	.home-search {
		margin-top: -58px;
		padding-inline: 40px;
	}

	.search-box {
		padding: 18px;
	}

	.search-box__fields {
		grid-template-columns: repeat(4, 1fr) auto;
		align-items: end;
	}

	.search-box__submit {
		grid-column: auto;
	}

	.brand-grid {
		grid-template-columns: repeat(8, 1fr);
	}

	.brand-grid .brand-tile {
		flex-direction: column;
		text-align: center;
		padding: 18px 10px;
	}

	.brand-grid--all {
		grid-template-columns: repeat(4, 1fr);
	}

	.brand-grid--all .brand-tile {
		flex-direction: row;
		text-align: start;
	}

	.listing-grid {
		grid-template-columns: repeat(3, 1fr);
		gap: 18px;
	}

	.listing-grid--wide {
		grid-template-columns: repeat(4, 1fr);
	}

	.about-block {
		grid-template-columns: 1fr 1fr;
		align-items: center;
		gap: 40px;
		padding: 44px;
	}

	.page-head {
		padding-block: 28px 16px;
	}

	.page-head h1 {
		font-size: 26px;
	}

	.listings-layout {
		grid-template-columns: 280px 1fr;
		align-items: start;
		gap: 24px;
	}

	.drawer--filters,
	.drawer--filters[hidden],
	.drawer--filters:not(.is-open) {
		position: sticky;
		top: 96px;
		display: block !important;
		visibility: visible;
		z-index: 1;
	}

	.drawer--filters .drawer__backdrop,
	.filters__close {
		display: none;
	}

	.drawer--filters .drawer__panel {
		position: static;
		width: 100%;
		max-height: none;
		border: 1px solid var(--line);
		border-radius: var(--radius-lg);
		box-shadow: none;
		transform: none;
		overflow: visible;
	}

	.filters__actions {
		position: static;
		border-radius: 0 0 var(--radius-lg) var(--radius-lg);
	}

	.listing-detail {
		grid-template-columns: minmax(0, 1.35fr) minmax(320px, .9fr);
		align-items: start;
		gap: 24px;
	}

	.listing-detail__main,
	.listing-detail__aside {
		display: grid;
		align-content: start;
		gap: 16px;
		min-width: 0;
	}

	.listing-detail__aside {
		position: sticky;
		top: 96px;
	}

	.spec-list {
		grid-template-columns: repeat(3, 1fr);
	}

	.auth {
		grid-template-columns: 1fr 1fr;
		align-items: stretch;
		gap: 0;
		width: min(100% - 48px, 1040px);
		margin-block: 32px 48px;
		padding: 0;
		overflow: hidden;
		border: 1px solid var(--line);
		border-radius: var(--radius-xl);
		background: var(--surface);
		box-shadow: var(--shadow-lg);
	}

	.auth__card {
		align-self: center;
		width: 100%;
		max-width: 440px;
		padding: 48px 40px;
		border: 0;
		box-shadow: none;
	}

	.auth__side {
		position: relative;
		display: grid;
		align-content: space-between;
		padding: 40px;
		overflow: hidden;
		background:
			radial-gradient(360px 240px at 10% 110%, rgb(246 98 70 / 40%), transparent 70%),
			var(--navy);
		color: #fff;
	}

	.auth__side h2 {
		font-size: 26px;
		line-height: 1.6;
	}

	.auth__side p {
		margin-top: 8px;
		color: #c5cdd9;
	}

	.auth__side img {
		width: 62%;
		margin: 24px auto -80px;
		filter: drop-shadow(0 20px 30px rgb(0 0 0 / 35%));
	}

	.dashboard {
		grid-template-columns: 250px minmax(0, 1fr);
		align-items: start;
		gap: 24px;
		padding-block: 28px 56px;
	}

	.dash-sidebar {
		position: sticky;
		top: 96px;
		padding: 16px;
		border: 1px solid var(--line);
		border-radius: var(--radius-lg);
		background: var(--surface);
	}

	.dash-user {
		display: flex;
		align-items: center;
		gap: 10px;
		padding: 4px 4px 16px;
		margin-bottom: 8px;
		border-bottom: 1px solid var(--line);
	}

	.dash-user strong {
		display: block;
		line-height: 1.5;
	}

	.dash-user span[dir] {
		color: var(--subtle);
		font-size: 13px;
	}

	.dash-nav {
		display: grid;
		gap: 2px;
		overflow: visible;
	}

	.dash-nav a {
		padding: 10px 12px;
		border: 0;
		border-radius: var(--radius);
		background: transparent;
	}

	.dash-nav a:hover {
		background: var(--bg);
		color: var(--ink);
	}

	.dash-nav .count-pill {
		margin-inline-start: auto;
	}

	.form-actions {
		bottom: 16px;
	}

	.form-actions .btn--primary {
		flex: 0 0 auto;
		min-width: 200px;
	}

	.uploader__grid {
		grid-template-columns: repeat(5, 1fr);
	}

	.my-listings__head,
	.my-listing {
		display: grid;
		grid-template-columns: 64px minmax(0, 2.2fr) 1fr 1fr 1fr minmax(210px, auto);
		align-items: center;
		gap: 14px;
	}

	.my-listings__head {
		padding: 0 12px;
		color: var(--subtle);
		font-size: 12.5px;
		font-weight: 700;
	}

	.my-listing__thumb {
		width: 64px;
		height: 64px;
	}

	.my-listing__cells {
		display: contents;
	}

	.my-listing__actions {
		grid-column: auto;
		justify-content: flex-end;
		padding-top: 0;
		border-top: 0;
	}

	.my-listing__reason {
		grid-column: 2 / -1;
	}
}

/* ---------- Installed app: launch splash and page loader (brief §34) ---------- */
.app-splash,
.app-loader {
	display: none;
}

.app-splash {
	position: fixed;
	inset: 0;
	z-index: 1000;
	place-items: center;
	overflow: hidden;
	background: var(--navy);
	transition: opacity .45s var(--ease), visibility .45s;
}

.is-app:not(.splash-seen) .app-splash {
	display: grid;
}

.splash-done .app-splash {
	opacity: 0;
	visibility: hidden;
}

/* Quiet brand rings in the corners, clear of the logo. */
.app-splash::before,
.app-splash::after {
	content: "";
	position: absolute;
	border-radius: 50%;
	border: 34px solid rgb(246 98 70 / 10%);
	animation: splash-fade 1.2s var(--ease) both;
}

.app-splash::before {
	top: -150px;
	inset-inline-start: -150px;
	width: 300px;
	height: 300px;
}

.app-splash::after {
	bottom: -190px;
	inset-inline-end: -170px;
	width: 380px;
	height: 380px;
	border-color: rgb(251 155 133 / 7%);
}

.app-splash__inner {
	display: grid;
	justify-items: center;
	gap: 12px;
	margin-top: -8vh;
}

.app-splash__mark {
	width: 108px;
	height: 108px;
	overflow: visible;
}

.app-splash__mark .mark-ring,
.app-splash__mark .mark-dot,
.app-loader__mark .mark-ring,
.app-loader__mark .mark-dot {
	fill: var(--coral);
	transform-box: fill-box;
	transform-origin: center;
}

.app-splash__mark .mark-ring {
	animation: splash-ring .9s var(--ease) both;
}

.app-splash__mark .mark-dot {
	animation: splash-dot .65s cubic-bezier(.3, 1.6, .5, 1) .55s both;
}

.app-splash__wordmark {
	width: auto;
	height: 42px;
	margin-top: 10px;
	animation: splash-up .6s var(--ease) .8s both;
}

.app-splash__slogan {
	color: #d7dee8;
	font-size: 17px;
	font-weight: 700;
	animation: splash-up .6s var(--ease) 1.05s both;
}

.app-splash__slogan b {
	color: var(--coral-300);
	font-weight: 900;
}

.app-splash__bar {
	width: 110px;
	height: 3px;
	margin-top: 22px;
	overflow: hidden;
	border-radius: 9px;
	background: rgb(255 255 255 / 12%);
	animation: splash-fade .4s 1.2s both;
}

.app-splash__bar::after {
	content: "";
	display: block;
	width: 40%;
	height: 100%;
	border-radius: inherit;
	background: var(--coral);
	animation: splash-bar 1.1s ease-in-out 1.25s infinite;
}

/*
 * Loading (request 2026-10-03): page changes show only a thin line at the top and leave the page
 * usable; buttons show their own spinner. The full layer - the Noghte mark spinning on frosted
 * glass - is kept for uploads, through Noghte.loading().
 */
.nav-progress {
	position: fixed;
	inset-block-start: 0;
	inset-inline: 0;
	z-index: 950;
	height: 3px;
	overflow: hidden;
	opacity: 0;
	pointer-events: none;
	transition: opacity .2s;
}

.nav-progress::after {
	content: "";
	position: absolute;
	inset-block: 0;
	left: -40%;
	width: 40%;
	border-radius: 3px;
	background: var(--coral);
	animation: nav-slide 1.1s ease-in-out infinite;
}

/* A short delay keeps fast page loads free of flicker. */
.is-navigating .nav-progress {
	opacity: 1;
	transition-delay: .12s;
}

/* After a successful action the next page is on its way: no second tap on the old one. */
.is-leaving body {
	pointer-events: none;
}

@keyframes nav-slide {
	from { left: -40%; }
	to { left: 100%; }
}

@media (prefers-reduced-motion: reduce) {
	.nav-progress::after {
		left: 0;
		width: 100%;
		animation: none;
	}
}

.app-loader {
	position: fixed;
	inset: 0;
	z-index: 900;
	display: grid;
	place-items: center;
	background: rgb(252 252 254 / 35%);
	-webkit-backdrop-filter: blur(6px) saturate(1.2);
	backdrop-filter: blur(6px) saturate(1.2);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity .2s, visibility 0s .2s;
}

/* Only work the visitor has to wait for (uploads with a percentage) puts the layer over the page. */
.is-busy .app-loader {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transition: opacity .25s .18s, visibility 0s .18s;
}

.app-loader__badge {
	display: grid;
	place-items: center;
	gap: 4px;
	min-width: 84px;
	height: 84px;
	padding: 0 12px;
	border-radius: 24px;
	background: rgb(255 255 255 / 72%);
	border: 1px solid rgb(255 255 255 / 80%);
	box-shadow: var(--shadow-lg);
}

.app-loader__label {
	font-size: 12px;
	font-weight: 700;
	color: var(--navy);
	direction: ltr;
}

.app-loader__label:empty {
	display: none;
}

/* The mark itself stays still — a ring turns around it, like the app's start screen. */
.app-loader__spinner {
	position: relative;
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
}

.app-loader__ring {
	position: absolute;
	inset: 0;
	width: 52px;
	height: 52px;
	animation: loader-spin 1.1s linear infinite;
}

.app-loader__ring circle {
	fill: none;
	stroke: var(--coral);
	stroke-width: 3;
	stroke-linecap: round;
	stroke-dasharray: 46 86;
	opacity: .9;
}

.app-loader__mark {
	width: 28px;
	height: 28px;
	overflow: visible;
	animation: loader-pulse 1.6s ease-in-out infinite;
}

@keyframes splash-ring {
	from { opacity: 0; transform: rotate(-140deg) scale(.55); }
	to { opacity: 1; transform: none; }
}

@keyframes splash-dot {
	from { opacity: 0; transform: scale(0); }
	to { opacity: 1; transform: none; }
}

@keyframes splash-up {
	from { opacity: 0; transform: translateY(14px); }
	to { opacity: 1; transform: none; }
}

@keyframes splash-fade {
	from { opacity: 0; }
	to { opacity: 1; }
}

@keyframes splash-bar {
	from { transform: translateX(170%); }
	to { transform: translateX(-270%); }
}

@keyframes loader-spin {
	to { transform: rotate(360deg); }
}

@keyframes loader-pulse {
	50% { opacity: .55; }
}

@media (prefers-reduced-motion: reduce) {
	.app-loader__ring,
	.app-loader__mark,
	.n-loading__ring,
	.n-loading__mark {
		animation-duration: 2.4s;
	}
}

/* ---------- Login intro on phones (and in the installed app) ---------- */
.auth__intro {
	position: relative;
	display: grid;
	justify-items: center;
	gap: 8px;
	padding: 30px 22px 76px;
	overflow: hidden;
	border-radius: var(--radius-xl);
	background:
		radial-gradient(260px 180px at 12% 115%, rgb(246 98 70 / 42%), transparent 70%),
		var(--navy);
	color: #fff;
	text-align: center;
	isolation: isolate;
}

.auth__intro::after {
	content: "";
	position: absolute;
	top: -90px;
	inset-inline-end: -90px;
	z-index: -1;
	width: 200px;
	height: 200px;
	border: 32px solid rgb(246 98 70 / 14%);
	border-radius: 50%;
}

.auth__intro img {
	width: auto;
	height: 36px;
}

.auth__intro-title {
	margin-top: 8px;
	font-size: 20px;
	font-weight: 900;
	line-height: 1.6;
}

.auth__intro-title span {
	color: var(--coral-300);
}

.auth__intro-text {
	color: #c5cdd9;
	font-size: 14px;
}

.auth__intro + .auth__card {
	position: relative;
	margin-top: -72px;
}

/* The intro already shows the logo on phones. */
.auth__intro + .auth__card .auth__logo {
	display: none;
}

@media (min-width: 1024px) {
	.auth__intro {
		display: none;
	}

	.auth__intro + .auth__card {
		margin-top: 0;
	}

	.auth__intro + .auth__card .auth__logo {
		display: block;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: .01ms !important;
		transition-duration: .01ms !important;
		scroll-behavior: auto !important;
	}
}

/* Search suggestions (change request §12) */
.search-box__keyword,
.keyword-form {
	position: relative;
}

.suggest {
	position: absolute;
	inset-inline: 0;
	top: calc(100% + 6px);
	z-index: 30;
	max-height: 320px;
	overflow-y: auto;
	margin: 0;
	padding: 6px;
	list-style: none;
	border: 1px solid var(--line);
	border-radius: var(--radius-md);
	background: var(--surface);
	box-shadow: var(--shadow-lg);
}

.suggest li {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 9px 12px;
	border-radius: var(--radius-sm);
	cursor: pointer;
}

.suggest li.is-active,
.suggest li:hover {
	background: var(--coral-50);
}

.suggest__label {
	font-weight: 600;
	font-size: 14px;
}

.suggest__kind {
	flex: none;
	font-size: 11.5px;
	color: var(--muted);
}

/* «درخواست کالا» (change request §14) */
.request-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 16px;
	margin-block: 20px;
}

.request-card {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 18px;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	background: var(--surface);
}

.request-card__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 10px;
}

.request-card__title {
	margin: 0;
	font-size: 16px;
}

.request-card__title a {
	color: inherit;
	text-decoration: none;
}

.request-card__title a:hover {
	color: var(--coral-600);
}

.request-card__budget {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 0;
	font-weight: 700;
	color: var(--coral-600);
}

.request-card__facts {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0;
}

.request-card__text {
	margin: 0;
	font-size: 13.5px;
	line-height: 1.9;
	color: var(--muted);
}

.request-card__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin: 0;
	padding-top: 10px;
	border-top: 1px solid var(--line);
	font-size: 12.5px;
	color: var(--muted);
}

.request-card__meta span,
.request-card__budget {
	display: inline-flex;
	align-items: center;
	gap: 5px;
}

.request-summary {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.request-summary__head,
.request-summary__tools {
	display: flex;
	align-items: center;
	gap: 8px;
}

.request-summary__head {
	justify-content: space-between;
	flex-wrap: wrap;
}

.offer-list {
	display: grid;
	gap: 14px;
	margin-top: 18px;
}

.offer-item {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 16px 18px;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	background: var(--surface);
}

.offer-item--accepted {
	border-color: var(--success);
}

.offer-item__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
}

.offer-item__seller {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-weight: 700;
	color: inherit;
	text-decoration: none;
}

.offer-item__seller:hover {
	color: var(--coral-600);
}

.offer-item__price {
	font-weight: 800;
	color: var(--coral-600);
}

.offer-item__message,
.offer-item__listing {
	margin: 0;
	font-size: 13.5px;
	line-height: 1.9;
	color: var(--muted);
}

.offer-item__listing {
	display: flex;
	align-items: center;
	gap: 6px;
}

.offer-item__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	flex-wrap: wrap;
	padding-top: 10px;
	border-top: 1px solid var(--line);
	font-size: 12.5px;
}

.offer-item__actions {
	display: inline-flex;
	gap: 8px;
}

/* «ویترین» — the promotional strip under the header (change request §7) */
/* A store logo is artwork, not a portrait: show it whole on white instead of cropping it round. */
.avatar--logo img {
	object-fit: contain;
	background: #fff;
	padding: 6px;
}

.showcase {
	padding-block: 26px 10px;
	background: linear-gradient(180deg, var(--coral-50), transparent);
}

.showcase__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 14px;
}

.showcase__title {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	font-size: 20px;
}

.showcase__title svg {
	color: var(--coral);
}

.showcase__all {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 13.5px;
	font-weight: 600;
	color: var(--coral-600);
	text-decoration: none;
}

.showcase__strip {
	display: flex;
	gap: 16px;
	overflow-x: auto;
	padding-bottom: 10px;
	scroll-snap-type: x mandatory;
	scroll-padding-inline: 0;
	scrollbar-width: thin;
	overscroll-behavior-x: contain;
}

.showcase__strip > * {
	scroll-snap-align: start;
}

/* One card shape for adverts and for listings people paid or earned a place with. */
.showcase-card {
	display: flex;
	flex: none;
	flex-direction: column;
	width: 300px;
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	background: var(--surface);
	box-shadow: var(--shadow-sm);
	color: inherit;
	text-decoration: none;
	transition: border-color .2s, transform .2s, box-shadow .2s;
}

.showcase-card:hover {
	border-color: var(--coral);
	box-shadow: var(--shadow-md);
	transform: translateY(-3px);
}

.showcase-card__media {
	position: relative;
	display: grid;
	place-items: center;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: #fff;
	color: var(--muted);
}

/* An advert is a banner, so it keeps the wide shape. */
.showcase-card--slide .showcase-card__media {
	aspect-ratio: 16 / 10;
}

/* An advert with no picture is just its words, on the brand's colour. */
.showcase-card--text {
	justify-content: center;
	background: linear-gradient(140deg, var(--navy), #223247);
	border-color: transparent;
}

.showcase-card--text .showcase-card__body {
	gap: 10px;
	padding: 20px 18px;
}

.showcase-card--text .showcase-card__body strong {
	color: #fff;
	font-size: 16px;
	-webkit-line-clamp: 3;
}

.showcase-card--text .showcase-card__body small {
	color: #cfd6e2;
}

/* The whole phone, never a slice of it: photos are taken upright and in all sorts of shapes, so
   the picture is fitted inside the box instead of being cropped to fill it (reported 2026-09-29). */
.showcase-card__media img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding: 6px;
}

/* An advert is designed to fill its banner, so it still covers. */
.showcase-card--slide .showcase-card__media img {
	object-fit: cover;
	padding: 0;
}

.showcase-card__media > svg {
	width: 38px;
	height: 38px;
}

.showcase-card__badge {
	position: absolute;
	inset-block-start: 10px;
	inset-inline-start: 10px;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 3px 10px;
	border-radius: 999px;
	background: rgba(22, 34, 50, .82);
	color: #fff;
	font-size: 11.5px;
	font-weight: 600;
	backdrop-filter: blur(6px);
}

.showcase-card__badge svg {
	width: 13px;
	height: 13px;
	color: var(--coral-200, #ffb8a6);
}

.showcase-card__body {
	display: grid;
	gap: 8px;
	padding: 14px 16px 16px;
}

.showcase-card__body strong {
	display: -webkit-box;
	font-size: 15px;
	line-height: 1.7;
	overflow: hidden;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.showcase-card__body small {
	font-size: 13px;
	color: var(--muted);
}

.showcase-card__meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}

.showcase-card__price {
	font-size: 15px;
	font-weight: 700;
	color: var(--coral-600);
}

.showcase-card__city {
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

.showcase-card__city svg {
	width: 14px;
	height: 14px;
}

/* ---------- App install: Android and iPhone side by side (request 2026-10-03) ---------- */
.app-install {
	margin-bottom: 22px;
	padding: 18px;
	border: 1px solid rgb(255 255 255 / 12%);
	border-radius: var(--radius-lg);
	background: linear-gradient(135deg, rgb(255 255 255 / 8%), rgb(255 255 255 / 3%));
	color: #fff;
}

.app-install__head {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 14px;
}

.app-install__icon {
	display: grid;
	flex: 0 0 auto;
	place-items: center;
	width: 52px;
	height: 52px;
	border-radius: 14px;
	background: var(--coral);
	color: #fff;
}

.app-install__icon .icon {
	width: 26px;
	height: 26px;
}

.app-install__head h2 {
	margin: 0;
	font-size: 16px;
	color: #fff;
}

.app-install__head p {
	margin: 4px 0 0;
	font-size: 13.5px;
	line-height: 1.8;
	color: #cfd6e2;
}

.app-install__grid {
	display: grid;
	gap: 12px;
}

.app-card {
	display: flex;
	flex-direction: column;
	gap: 10px;
	min-width: 0;
	padding: 14px;
	border: 1px solid rgb(255 255 255 / 10%);
	border-radius: var(--radius);
	background: rgb(255 255 255 / 5%);
}

.app-card__title {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	font-size: 15px;
	color: #fff;
}

.app-card__title .icon {
	width: 22px;
	height: 22px;
	color: var(--coral);
}

.app-card__meta,
.app-card__soon,
.app-card__note {
	margin: 0;
	font-size: 12.5px;
	line-height: 1.9;
	color: #9aa6b8;
}

.app-card__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.app-card__help {
	font-size: 13px;
	color: #cfd6e2;
}

.app-card__help summary {
	cursor: pointer;
	font-weight: 700;
	color: #fff;
}

.app-steps {
	margin: 10px 0 0;
	padding-inline-start: 22px;
	line-height: 2;
}

.app-steps li {
	margin-bottom: 6px;
	overflow-wrap: anywhere;
}

.app-steps b {
	color: #fff;
}

/* Words the visitor will read on their own phone's screen (English): one unbroken piece, so the
   line never splits them in the middle of a right-to-left sentence. */
.app-steps .en {
	display: inline-block;
	padding: 0 6px;
	border-radius: 6px;
	background: rgb(255 255 255 / 10%);
	color: #fff;
	font-weight: 700;
	line-height: 1.7;
	unicode-bidi: isolate;
}

.app-steps .icon--inline {
	display: inline-block;
	width: 18px;
	height: 18px;
	vertical-align: -3px;
}

@media (min-width: 900px) {
	.app-install__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		align-items: start;
	}
}

/* The visitor's own phone comes first when the two cards are stacked. */
.is-ios [data-install-card="ios"] {
	order: -1;
}

/* Inside the installed app there is nothing left to install. */
.is-app .app-install {
	display: none;
}

/* ---------- Who to call after an offer is accepted ---------- */
.contact-card {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin-top: 12px;
	padding: 14px;
	border: 1px solid var(--success-bg);
	border-radius: var(--radius-lg);
	background: var(--success-bg);
}

.contact-card__icon {
	display: grid;
	flex-shrink: 0;
	place-items: center;
	width: 42px;
	height: 42px;
	border-radius: 12px;
	background: #fff;
	color: var(--success);
}

.contact-card__body {
	flex: 1 1 140px;
	min-width: 0;
}

.contact-card__body p {
	margin: 0;
	overflow-wrap: anywhere;
}

.contact-card__label {
	font-size: 12.5px;
	color: var(--muted);
}

.contact-card__name {
	font-weight: 700;
}

.contact-card__phone {
	font-size: 17px;
	font-weight: 800;
	letter-spacing: .02em;
}

/* ---------- Packages (request 2026-09-29 §5) ---------- */
.plan-grid {
	display: grid;
	gap: 18px;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
	align-items: stretch;
}

.plan-card {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 22px;
	border: 1px solid var(--line);
	border-radius: var(--radius-xl);
	background: var(--surface);
	box-shadow: var(--shadow-sm);
}

.plan-card.is-current {
	border-color: var(--coral);
	box-shadow: 0 0 0 3px var(--coral-50);
}

.plan-card__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}

.plan-card__head h3 {
	margin: 0;
	font-size: 18px;
}

.plan-card__price {
	margin: 0;
	font-size: 15px;
	color: var(--muted);
}

.plan-card__price strong {
	font-size: 26px;
	color: var(--navy);
}

.plan-card__price small {
	display: block;
	margin-top: 2px;
	font-size: 12.5px;
}

.plan-card__desc {
	margin: 0;
	color: var(--muted);
	font-size: 14px;
	line-height: 1.9;
}

.plan-card__features {
	display: grid;
	gap: 10px;
	margin: 0;
	padding: 16px 0 0;
	border-top: 1px solid var(--line);
	list-style: none;
	font-size: 14px;
	line-height: 1.8;
}

.plan-card__features li {
	display: flex;
	align-items: flex-start;
	gap: 8px;
}

.plan-card__features .icon {
	flex-shrink: 0;
	width: 18px;
	height: 18px;
	color: var(--coral);
}

.plan-card__foot {
	margin-top: auto;
	display: grid;
	gap: 10px;
}

.plan-card__until {
	margin: 0;
	font-size: 13px;
	font-weight: 600;
	color: var(--success);
}

.btn.is-disabled {
	opacity: .6;
	cursor: default;
	pointer-events: none;
}

/* The rule for every row that scrolls sideways (reported 2026-10-02, twice): flex items may shrink
   by default, so on a narrow phone each pill was squeezed narrower than its own text and the words
   hung out of the box. Items in a scrolling row keep their natural width and the row scrolls. A new
   scrolling row only needs the `scroll-row` class to get this; FrontendAssetsTest fails if one of the
   known rows loses it. */
.scroll-row,
.dash-nav,
.tabs,
.showcase__strip,
.gallery__thumbs,
.block-slider {
	display: flex;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	-webkit-overflow-scrolling: touch;
}

.scroll-row > *,
.dash-nav > *,
.tabs > *,
.showcase__strip > *,
.gallery__thumbs > *,
.block-slider > * {
	flex: 0 0 auto;
	min-width: 0;
}

.scroll-row > *,
.dash-nav a,
.tab {
	white-space: nowrap;
}

/* Rows that scroll sideways (dashboard menu, status tabs, the showcase) run to both screen edges
   on phones. A pill cut in half by the page margin looks broken; cut by the screen edge, with the
   last one fading out, it reads as "there is more this way" (reported 2026-09-29). */
@media (max-width: 640px) {
	.dash-nav,
	.tabs {
		margin-inline: -16px;
		padding-inline: 16px;
		scroll-padding-inline: 16px;
		-webkit-mask-image: linear-gradient(to left, transparent 0, #000 18px, #000 calc(100% - 18px), transparent 100%);
		mask-image: linear-gradient(to left, transparent 0, #000 18px, #000 calc(100% - 18px), transparent 100%);
	}

	.dash-nav > *,
	.tabs > * {
		scroll-snap-align: start;
	}
}

/* On phones the strip runs to both screen edges: one card fills the screen and the next one
   peeks in, so it reads as a carousel instead of a card cut in half. */
@media (max-width: 640px) {
	.showcase {
		padding-block: 18px 4px;
	}

	.showcase__title {
		font-size: 17px;
	}

	.showcase__strip {
		gap: 12px;
		margin-inline: -16px;
		padding-inline: 16px;
		scroll-padding-inline-start: 16px;
		scrollbar-width: none;
	}

	.showcase__strip::-webkit-scrollbar {
		display: none;
	}

	.showcase-card {
		width: min(78vw, 290px);
	}

	.showcase-card__body {
		padding: 12px 14px 14px;
	}
}

/* Blog and generic pages (phase-next brief §24) */
.post-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
	gap: 16px;
}

.post-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	background: var(--surface);
}

.post-card__media img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

.post-card__body {
	display: grid;
	gap: 6px;
	padding: 16px;
}

.post-card__title {
	margin: 0;
	font-size: 16px;
}

.post-card__title a {
	color: inherit;
	text-decoration: none;
}

.post-card__excerpt,
.post-card__date {
	margin: 0;
	font-size: 13px;
	color: var(--muted);
}

.prose__cover {
	width: 100%;
	height: auto;
	margin-bottom: 18px;
	border-radius: var(--radius-lg);
}

/* ---------- Page builder blocks (phase-next brief §10) ---------- */
.block { position: relative; }
.block--space-sm { padding-block: 14px; }
.block--space-md { padding-block: 28px; }
.block--space-lg { padding-block: 52px; }
.block--bg-white { background: var(--surface); }
.block--bg-soft { background: var(--coral-50); }
.block--bg-navy { background: var(--navy); color: #fff; }
.block--bg-navy .section-head p,
.block--bg-navy .prose { color: rgb(255 255 255 / 82%); }
.block--bg-navy h1, .block--bg-navy h2 { color: #fff; }
.block--hero.block--space-md { padding-top: 0; }
.builder-page { padding-top: 12px; }

.prose--center { margin-inline: auto; text-align: center; }

.section-head--center { justify-content: center; text-align: center; }

.block-image { margin: 0; }
.block-image img { width: 100%; border-radius: var(--radius-lg); }
.block-image figcaption { margin-top: 8px; font-size: 13px; color: var(--muted); text-align: center; }

.block-button { display: flex; justify-content: center; }

.split { display: grid; gap: 24px; align-items: center; }
.split__media img { width: 100%; border-radius: var(--radius-lg); }
@media (min-width: 900px) {
	.split { grid-template-columns: 1fr 1fr; }
	.split--reverse .split__media { order: -1; }
}

.card-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.info-card {
	display: grid; gap: 6px; align-content: start; min-width: 0;
	padding: 18px; border: 1px solid var(--line); border-radius: var(--radius-lg);
	background: var(--surface); color: inherit; text-decoration: none;
}
a.info-card:hover { border-color: var(--coral); }
.info-card__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--coral-50); color: var(--coral-600); }
.info-card span:last-child { color: var(--muted); font-size: 13.5px; line-height: 1.9; overflow-wrap: anywhere; }

.brand-tile--all .brand-tile__logo { background: var(--navy); color: #fff; }
.brand-grid--featured { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 700px) { .brand-grid--featured { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.block-banner { display: block; overflow: hidden; border-radius: var(--radius-lg); }
.block-banner img { width: 100%; height: auto; display: block; }

.block-slider { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
.block-slider__slide { position: relative; flex: 0 0 min(88%, 720px); scroll-snap-align: center; overflow: hidden; border-radius: var(--radius-lg); color: #fff; text-decoration: none; }
.block-slider__slide img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; display: block; }
.block-slider__slide span { position: absolute; inset-inline: 0; bottom: 0; padding: 24px 16px 12px; background: linear-gradient(transparent, rgb(22 34 50 / 75%)); font-weight: 700; }

.faq { display: grid; gap: 10px; max-width: 820px; margin-inline: auto; }
.faq__item { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.faq__item summary { padding: 14px 16px; font-weight: 700; cursor: pointer; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; float: inline-end; color: var(--coral); font-size: 20px; line-height: 1; }
.faq__item[open] summary::after { content: "−"; }
.faq__item .prose { padding: 0 16px 14px; }

.quote-card { display: grid; gap: 12px; margin: 0; padding: 20px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); }
.quote-card blockquote { margin: 0; line-height: 2; }
.quote-card figcaption { display: grid; font-size: 13px; }
.quote-card figcaption span { color: var(--muted); }

/* «درخواست کالا» on the home page (phase-next brief §17) */
.request-cta {
	display: grid; gap: 16px; align-items: center;
	padding: 22px; border-radius: var(--radius-xl);
	background: linear-gradient(135deg, var(--coral-50), #fff 70%);
	border: 1px solid var(--coral-100);
}
.request-cta__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; background: var(--coral); color: #fff; }
.request-cta__icon .icon { width: 28px; height: 28px; }
.request-cta__text h2 { margin: 0 0 4px; font-size: 20px; }
.request-cta__text p { margin: 0; color: var(--muted); }
.request-cta__actions { display: flex; flex-wrap: wrap; gap: 10px; }
@media (min-width: 860px) {
	.request-cta { grid-template-columns: auto 1fr auto; padding: 26px 30px; }
}

.site-footer__bottom-inner { display: flex; flex-wrap: wrap; gap: 6px 16px; justify-content: space-between; align-items: center; }
.site-footer__credit a { color: var(--coral-300); font-weight: 700; text-decoration: none; direction: ltr; unicode-bidi: isolate; }
.site-footer__credit a:hover { color: #fff; }

/* Listing video (phase-next brief §18) */
.video-field__pick { display: flex; flex-wrap: wrap; gap: 10px; }
.video-field__preview { display: grid; gap: 10px; max-width: 420px; }
.video-field__preview video { width: 100%; max-height: 320px; border-radius: var(--radius); background: #000; }
.video-field .upload-thumb__progress { position: static; }

/* Grade, battery health and cycles (phase-next brief §20) */
.health-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 8px; margin: 4px 0 14px; }
.health-strip div { min-width: 0; padding: 10px; border-radius: var(--radius); background: var(--neutral-bg); text-align: center; }
.health-strip dt { display: flex; align-items: center; justify-content: center; gap: 4px; font-size: 12px; color: var(--muted); }
.health-strip dt .icon { width: 16px; height: 16px; }
.health-strip dd { margin: 2px 0 0; font-weight: 800; font-size: 15px; overflow-wrap: anywhere; }
.listing-video video { width: 100%; max-height: 520px; border-radius: var(--radius); background: #000; }

/* Support tickets (phase-next brief §7) */
.ticket-list { display: grid; gap: 10px; }
.ticket-row { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); color: inherit; text-decoration: none; }
.ticket-row:hover { border-color: var(--coral); }
.ticket-row.is-unread { border-color: var(--coral-300); background: var(--coral-50); }
.ticket-row__icon { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--neutral-bg); color: var(--muted); }
.ticket-row__body { display: grid; flex: 1; min-width: 0; }
.ticket-row__body strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ticket-row__body small { color: var(--muted); font-size: 12.5px; }
.ticket-row .badge { flex: none; }
.thread { display: grid; gap: 12px; }
.thread__msg { max-width: 92%; padding: 12px 14px; border-radius: 16px; background: var(--neutral-bg); }
.thread__msg--staff { justify-self: end; background: var(--coral-50); border: 1px solid var(--coral-100); }
.thread__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 4px; font-size: 12px; color: var(--muted); }
.thread__body { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.9; }
.thread__files { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.thread__files img { width: 84px; height: 84px; object-fit: cover; border-radius: 10px; }
.ticket-files { display: flex; flex-wrap: wrap; gap: 8px; }
.ticket-file { display: inline-flex; align-items: center; gap: 6px; max-width: 220px; padding: 4px 10px; border-radius: 999px; background: var(--neutral-bg); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ticket-file.is-uploading { opacity: .6; }
.ticket-file button { border: 0; background: none; color: var(--danger); font-size: 16px; cursor: pointer; }

/* ---------- Web Push opt-in (phase-next brief §23) ---------- */
.push-state {
	margin: 12px 0;
	font-weight: 600;
}

.push-groups {
	display: grid;
	gap: 12px;
	margin: 18px 0 0;
	padding: 16px 0 0;
	border: 0;
	border-top: 1px solid var(--line);
}

.push-groups legend {
	float: inline-start;
	width: 100%;
	margin-bottom: 4px;
	font-weight: 700;
}

.push-groups .switch {
	align-items: flex-start;
	font-weight: 500;
	line-height: 1.7;
}

.push-groups .switch input,
.push-invite .icon {
	flex-shrink: 0;
}

.push-invite > div {
	min-width: 0;
}

.push-invite__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 10px;
}

/* Phone numbers are for members only (request 2026-10-07). */
.listing-summary__lock {
	margin: 8px 0 0;
	font-size: 12.5px;
	line-height: 1.9;
	color: var(--muted, #6b7685);
	text-align: center;
}

/* The signed-in person's name where «ورود / ثبت‌نام» was (request 2026-10-08). */
.account-btn {
	max-width: 190px;
	min-width: 0;
}

.account-btn__text,
.account-btn [data-account-text] {
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.account-btn.is-member {
	font-weight: 700;
}

@media (max-width: 480px) {
	.account-btn {
		max-width: 150px;
		padding-inline: 10px;
	}
}
