/* The sell menu's «شروط القبول» row anchors here; clear the fixed header. */
.seller-hub-page [id] {
  scroll-margin-block-start: calc(var(--actual-header-height, var(--header-h, 80px)) + 18px);
}

.seller-hub-page {
	position: relative;
	background: transparent;
	color: var(--text);
}

.seller-hub-hero {
	padding: var(--s-9) var(--gutter-mobile) var(--s-8);
	background: var(--ink);
	color: var(--on-ink);
}

.seller-hub-hero__shell,
.seller-hub-section,
.seller-hub-quality__shell,
.seller-hub-cta__shell {
	inline-size: min(calc(100% - 0px), var(--container));
	margin-inline: auto;
}

.seller-hub-section--split,
.seller-hub-quality__shell,
.seller-hub-how__steps,
.seller-hub-cta__shell {
	position: relative;
}

.seller-hub-section--split > *,
.seller-hub-quality__shell > *,
.seller-hub-how__steps > *,
.seller-hub-cta__shell > * {
	position: relative;
	z-index: 1;
}

.seller-hub-section + .seller-hub-section,
.seller-hub-quality + .seller-hub-section,
.seller-hub-section + .seller-hub-quality,
.faq-section--seller-hub + .seller-hub-cta {
	border-block-start: 1px solid color-mix(in srgb, var(--line) 92%, var(--color-neutral));
	margin-block-start: var(--s-8);
	padding-block-start: var(--s-8);
}

.seller-hub-hero__shell,
.seller-hub-section--split,
.seller-hub-cta__shell {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--s-6);
	align-items: center;
}

.seller-hub-hero__copy {
	max-width: 62ch;
}

.seller-hub-hero__eyebrow {
	display: inline-flex;
	margin: 0 0 var(--s-4);
	padding: 7px 12px;
	border: 1px solid color-mix(in srgb, var(--on-ink) 18%, transparent);
	border-radius: var(--r-full);
	background: color-mix(in srgb, var(--surface) 10%, transparent);
	color: color-mix(in srgb, var(--on-ink) 78%, transparent);
	font-size: var(--fs-meta);
	font-weight: var(--fw-bold);
	letter-spacing: .08em;
	text-transform: uppercase;
}

.seller-hub-hero h1 {
	margin: 0 0 var(--s-4);
	color: var(--on-ink);
	font-size: clamp(2.4rem, 7vw, 4.6rem);
	line-height: 1.03;
	letter-spacing: -0.04em;
	max-width: 10ch;
}

.seller-hub-hero__lede,
.seller-hub-hero__note {
	margin: 0;
	color: var(--on-ink-muted);
	font-size: 1.05rem;
	line-height: 1.8;
}

.seller-hub-hero__actions,
.seller-hub-cta__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--s-3);
	margin-block: var(--s-5) var(--s-4);
}

.seller-hub-link {
	color: var(--on-ink);
	font-size: var(--fs-body-lg);
	font-weight: var(--fw-bold);
}

.seller-hub-link:hover {
	color: var(--lime);
}

.seller-hub-section {
	padding: var(--s-9) var(--gutter-mobile) 0;
}

.seller-hub-copy {
	max-width: 58ch;
}

.seller-hub-copy h2,
.seller-hub-quality__head h2,
.seller-hub-how__head h2,
.seller-hub-cta__copy h2 {
	margin: 0 0 var(--s-4);
	color: var(--ink);
	font-size: clamp(2rem, 4.6vw, 3.2rem);
	line-height: 1.08;
	letter-spacing: -0.04em;
}

.seller-hub-copy p,
.seller-hub-quality__head p,
.seller-hub-how__head p,
.seller-hub-cta__copy p {
	margin: 0;
	color: var(--text-muted);
	font-size: 1.02rem;
	line-height: 1.85;
}

.seller-hub-copy__note,
.seller-hub-cta__note {
	margin-block-start: var(--s-4);
	font-size: var(--fs-body);
	color: var(--text-soft);
}

.seller-hub-checks {
	display: grid;
	gap: var(--s-3);
	margin: var(--s-5) 0 0;
	padding: 0;
	list-style: none;
}

.seller-hub-checks li {
	position: relative;
	padding-inline-start: 28px;
	color: var(--text);
	font-size: 1rem;
	line-height: 1.7;
}

.seller-hub-checks li::before {
	content: "";
	position: absolute;
	inset-inline-start: 0;
	inset-block-start: .55em;
	inline-size: 14px;
	block-size: 14px;
	border-radius: 50%;
	background: var(--accent-tint);
	box-shadow: inset 0 0 0 4px var(--accent);
}

.seller-hub-stage__browser {
	border: var(--border);
	border-radius: 28px;
	background: var(--surface);
	box-shadow: var(--shadow-card);
	overflow: hidden;
}

.seller-hub-stage__chrome {
	display: flex;
	gap: 8px;
	padding: 18px 18px 0;
}

.seller-hub-stage__chrome span {
	inline-size: 10px;
	block-size: 10px;
	border-radius: 50%;
	background: var(--line);
}

.seller-hub-stage__card-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--s-3);
	padding: 18px;
}

.seller-hub-stage__card-grid article {
	padding: 18px;
	border: var(--border);
	border-radius: 18px;
	background: color-mix(in srgb, var(--tint) 48%, var(--surface));
}

.seller-hub-stage__card-grid strong {
	display: block;
	margin-block-end: 8px;
	color: var(--ink);
	font-size: var(--fs-h3);
}

.seller-hub-stage__card-grid p {
	margin: 0;
	color: var(--text-muted);
	font-size: var(--fs-body);
	line-height: 1.7;
}

.seller-hub-visual-wrap {
	min-width: 0;
}

.seller-visual {
	position: relative;
	display: grid;
	place-items: center;
	min-height: 360px;
	margin: 0;
	padding: 18px;
	border: var(--border);
	border-radius: 28px;
	background: linear-gradient(180deg, color-mix(in srgb, var(--tint) 52%, var(--surface)) 0%, var(--surface) 100%);
	box-shadow: var(--shadow-card);
	overflow: hidden;
}

.seller-visual--hero {
	min-height: 460px;
}

.seller-visual img {
	inline-size: 100%;
	block-size: 100%;
	object-fit: cover;
	border-radius: 22px;
	/* A light lift rather than a look: screenshots and mock-ups photograph flat,
	   and a touch of saturation and contrast is enough to make them sit with the
	   rest of the page without reading as a filter. */
	filter: saturate(1.06) contrast(1.03);
	transition: transform .5s cubic-bezier(.2, .7, .2, 1), filter .3s ease;
}

/* A soft wash toward the bottom so pale artwork keeps an edge against the white
   card instead of dissolving into it. Inset to the padding so it lands on the
   image, not on the card's own border. */
.seller-visual.is-filled::after {
	content: "";
	position: absolute;
	inset: 18px;
	border-radius: 22px;
	pointer-events: none;
	background: linear-gradient(180deg, transparent 58%, color-mix(in srgb, var(--color-brand-forest) 13.0%, transparent) 100%);
}

.seller-visual.is-filled:hover img {
	transform: scale(1.02);
	filter: saturate(1.1) contrast(1.05);
}

@media (prefers-reduced-motion: reduce) {
	.seller-visual img,
	.seller-visual.is-filled:hover img {
		transform: none;
		transition: none;
	}
}

.seller-visual__placeholder {
	display: grid;
	place-items: center;
	gap: 10px;
	inline-size: 100%;
	block-size: 100%;
	min-height: 100%;
	border: 2px dashed var(--line);
	border-radius: 22px;
	background: var(--surface);
	text-align: center;
}

.seller-visual__placeholder strong {
	color: var(--ink);
	font-size: 1.1rem;
	line-height: 1.35;
}

.seller-visual__placeholder span {
	color: var(--text-soft);
	font-size: var(--fs-body);
}

.seller-hub-rates {
	display: grid;
	gap: var(--s-2);
	margin-block-start: var(--s-5);
}

.seller-hub-rates span {
	display: inline-flex;
	align-items: center;
	min-height: 48px;
	padding-inline: 16px;
	border: var(--border);
	border-radius: 16px;
	background: color-mix(in srgb, var(--accent-tint) 60%, var(--surface));
	color: var(--ink);
	font-weight: var(--fw-bold);
}

.seller-hub-quality {
	padding: var(--s-9) var(--gutter-mobile) 0;
}

.seller-hub-quality__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--s-4);
	margin-block-start: var(--s-5);
}

.seller-hub-quality__card {
	padding: 28px 26px;
	border: var(--border);
	border-radius: 24px;
	background: var(--surface);
	box-shadow: var(--shadow-card);
}

.seller-hub-quality__card h3 {
	margin: 0 0 12px;
	color: var(--ink);
	font-size: clamp(1.3rem, 2vw, 1.7rem);
	line-height: 1.2;
}

.seller-hub-quality__card p {
	margin: 0;
	color: var(--text-muted);
	font-size: 1rem;
	line-height: 1.85;
}

.seller-hub-section--how {
	padding-inline: var(--gutter-mobile);
}

.seller-hub-how__head {
	max-width: 62ch;
	margin-inline: auto;
	text-align: center;
}

.seller-hub-how__steps {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--s-4);
	margin: var(--s-6) 0 0;
	padding: 0;
	list-style: none;
}

.seller-hub-how__step {
	padding: 22px 20px 20px;
	border: var(--border);
	border-radius: 22px;
	background: var(--surface);
}

.seller-hub-how__number {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	inline-size: 44px;
	block-size: 44px;
	margin-block-end: var(--s-4);
	border-radius: 14px;
	background: var(--ink);
	color: var(--on-ink);
	font-size: var(--fs-body-lg);
	font-weight: var(--fw-bold);
}

.seller-hub-how__step h3 {
	margin: 0 0 10px;
	color: var(--ink);
	font-size: 1.25rem;
	line-height: 1.25;
}

.seller-hub-how__step p {
	margin: 0;
	color: var(--text-muted);
	font-size: var(--fs-body);
	line-height: 1.75;
}

.faq-section--seller-hub {
	padding-inline: var(--gutter-mobile);
	max-width: 762px;
	margin-inline: auto;
}

.seller-hub-cta {
	padding: var(--s-9) var(--gutter-mobile) var(--s-10);
}

.seller-hub-cta__shell {
	padding: 28px;
	border: var(--border);
	border-radius: 32px;
	background: var(--surface);
	box-shadow: var(--shadow-card);
}

.seller-hub-cta__visual .seller-visual {
	min-height: 320px;
	background: transparent;
	box-shadow: none;
}

@media (min-width: 768px) {
	.seller-hub-hero {
		padding-inline: var(--gutter-tablet);
	}

	.seller-hub-section,
	.seller-hub-quality,
	.seller-hub-cta,
	.faq-section--seller-hub {
		padding-inline: var(--gutter-tablet);
	}

	.seller-hub-stage__card-grid,
	.seller-hub-quality__grid,
	.seller-hub-how__steps {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1100px) {
	.seller-hub-hero {
		padding-inline: var(--gutter);
	}

	.seller-hub-section,
	.seller-hub-quality,
	.seller-hub-cta,
	.faq-section--seller-hub {
		padding-inline: var(--gutter);
	}

	.seller-hub-hero__shell,
	.seller-hub-section--split,
	.seller-hub-cta__shell {
		grid-template-columns: minmax(0, 1fr) minmax(420px, .95fr);
		gap: var(--s-8);
	}

	.seller-hub-section--reverse > :first-child {
		order: 1;
	}

	.seller-hub-section--reverse > :last-child {
		order: 0;
	}

	.seller-hub-quality__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.seller-hub-how__steps {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.seller-hub-hero h1,
	.seller-hub-copy h2,
	.seller-hub-quality__head h2,
	.seller-hub-how__head h2,
	.seller-hub-cta__copy h2 {
		max-width: none;
	}

	.seller-visual,
	.seller-visual--hero {
		min-height: 280px;
	}

	.seller-hub-cta__shell {
		padding: 20px;
		border-radius: 24px;
	}
}
