/* مسيوم — صفحة تفاصيل المزاد /auction/{id}/ */

.mseom-auction-page {
	padding: 20px 0 48px;
	background: var(--mseom-bg);
}

/* مسار التنقل */
.mseom-auction-crumbs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	color: var(--mseom-muted);
	margin-bottom: 18px;
}

.mseom-auction-crumbs a {
	color: var(--mseom-green-700);
	text-decoration: none;
}

.mseom-auction-crumbs a:hover {
	text-decoration: underline;
}

.mseom-auction-crumbs strong {
	color: var(--mseom-green-900);
}

/* نظرة عامة: خريطة + معارض */
.mseom-auction-overview {
	display: grid;
	grid-template-columns: 1.4fr 1fr;
	gap: 16px;
	margin-bottom: 20px;
}

.mseom-auction-overview__map,
.mseom-auction-overview__dealers {
	background: var(--mseom-surface);
	border: 1px solid var(--mseom-border);
	border-radius: var(--mseom-radius);
	box-shadow: var(--mseom-shadow);
	padding: 16px;
}

.mseom-auction-overview__title {
	margin: 0 0 12px;
	font-size: 16px;
	color: var(--mseom-green-900);
	font-weight: 800;
}

/* الخريطة */
.mseom-ksa-map {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.mseom-ksa-map svg {
	width: 100%;
	height: auto;
	max-width: 100%;
	aspect-ratio: 4 / 3;
}

.mseom-ksa-map__land {
	filter: drop-shadow(0 4px 10px rgba(20, 83, 45, 0.12));
}

.mseom-ksa-pin__mark {
	fill: #9ca3af;
	transition: fill 0.2s ease;
}

.mseom-ksa-pin__dot {
	fill: #fff;
}

.mseom-ksa-pin__label {
	font-family: var(--mseom-font);
	font-size: 9px;
	font-weight: 700;
	fill: var(--mseom-green-900);
	text-anchor: middle;
	paint-order: stroke fill;
	stroke: #fff;
	stroke-width: 2.5px;
	stroke-linejoin: round;
	pointer-events: none;
	user-select: none;
}

.mseom-ksa-pin.is-active .mseom-ksa-pin__label {
	fill: var(--mseom-red);
}

.mseom-ksa-pin.is-active .mseom-ksa-pin__mark {
	fill: var(--mseom-red);
}

.mseom-ksa-pin__pulse {
	fill: rgba(220, 38, 38, 0.28);
	transform-origin: center;
	transform-box: fill-box;
	animation: mseom-pin-pulse 1.8s ease-out infinite;
}

@keyframes mseom-pin-pulse {
	0% { transform: scale(0.6); opacity: 0.9; }
	100% { transform: scale(2.4); opacity: 0; }
}

/* قائمة المعارض المصغّرة */
.mseom-dealer-mini-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
	max-height: 320px;
	overflow-y: auto;
}

.mseom-dealer-mini a {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 12px;
	border: 1px solid var(--mseom-border);
	border-radius: var(--mseom-radius-sm);
	text-decoration: none;
	transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.mseom-dealer-mini a:hover {
	border-color: var(--mseom-green-700);
	background: #f0fdf4;
	transform: translateY(-1px);
}

.mseom-dealer-mini.is-current a {
	border-color: var(--mseom-green-700);
	background: #ecfdf5;
	box-shadow: inset 0 0 0 1px var(--mseom-green-700);
}

.mseom-dealer-mini__logo {
	flex-shrink: 0;
	width: 40px;
	height: 40px;
	border-radius: 10px;
	display: grid;
	place-items: center;
	background: #f3f4f6;
	color: var(--mseom-green-800);
	font-weight: 800;
	overflow: hidden;
}

.mseom-dealer-mini__logo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.mseom-dealer-mini__body {
	min-width: 0;
}

.mseom-dealer-mini__name {
	display: block;
	font-size: 14px;
	color: var(--mseom-green-900);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.mseom-dealer-mini__meta {
	font-size: 12px;
	color: var(--mseom-muted);
}

/* ترويسة المزاد */
.mseom-auction-hero {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 22px;
	margin-bottom: 22px;
	border-radius: var(--mseom-radius);
	background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%);
	border: 1px solid var(--mseom-border);
	box-shadow: var(--mseom-shadow);
}

.mseom-auction-hero.is-live {
	background: linear-gradient(135deg, #052e16 0%, #166534 60%, #15803d 100%);
	border-color: #16a34a;
}

.mseom-auction-hero__dealer {
	display: flex;
	align-items: center;
	gap: 16px;
	min-width: 0;
}

.mseom-auction-hero__logo {
	flex-shrink: 0;
	width: 72px;
	height: 72px;
	border-radius: 16px;
	display: grid;
	place-items: center;
	background: #fff;
	border: 1px solid var(--mseom-border);
	color: var(--mseom-green-800);
	font-size: 28px;
	font-weight: 800;
	overflow: hidden;
}

.mseom-auction-hero__logo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.mseom-auction-hero__badge {
	display: inline-flex;
	align-items: center;
	padding: 3px 10px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 800;
	background: #e2e8f0;
	color: #334155;
	margin-bottom: 6px;
}

.mseom-auction-hero__badge--live {
	background: var(--mseom-red);
	color: #fff;
}

.mseom-auction-hero__title {
	margin: 0 0 4px;
	font-size: 22px;
	font-weight: 800;
	color: var(--mseom-green-900);
	line-height: 1.3;
}

.mseom-auction-hero__dealer-name {
	margin: 0 0 8px;
	color: var(--mseom-muted);
	font-size: 14px;
}

.mseom-auction-hero__facts {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	font-size: 13px;
	color: var(--mseom-text);
}

.mseom-auction-hero__facts li {
	display: inline-flex;
	align-items: center;
	gap: 5px;
}

.mseom-auction-hero.is-live .mseom-auction-hero__title,
.mseom-auction-hero.is-live .mseom-auction-hero__dealer-name,
.mseom-auction-hero.is-live .mseom-auction-hero__facts {
	color: #fff;
}

.mseom-auction-hero.is-live .mseom-auction-hero__dealer-name {
	color: #d1fae5;
}

.mseom-auction-hero__aside {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 10px;
	min-width: 220px;
}

.mseom-auction-hero__countdown {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 12px 16px;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.9);
	border: 1px solid var(--mseom-border);
	text-align: center;
}

.mseom-auction-hero.is-live .mseom-auction-hero__countdown {
	background: rgba(255, 255, 255, 0.14);
	border-color: rgba(255, 255, 255, 0.28);
}

.mseom-auction-hero__countdown-label {
	font-size: 12px;
	font-weight: 700;
	color: var(--mseom-muted);
}

.mseom-auction-hero__countdown-value {
	font-size: 18px;
	font-weight: 800;
	color: var(--mseom-green-900);
	font-variant-numeric: tabular-nums;
}

.mseom-auction-hero.is-live .mseom-auction-hero__countdown-label {
	color: #d1fae5;
}

.mseom-auction-hero.is-live .mseom-auction-hero__countdown-value {
	color: #fff;
}

.mseom-auction-hero__cta {
	justify-content: center;
	font-weight: 800;
	font-size: 15px;
	padding: 12px 20px;
}

/* جدول المزاد */
.mseom-auction-schedule {
	margin-bottom: 26px;
}

.mseom-auction-schedule__head,
.mseom-auction-all h2 {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 14px;
}

.mseom-auction-schedule__head h2,
.mseom-auction-all h2 {
	margin: 0;
	font-size: 18px;
	font-weight: 800;
	color: var(--mseom-green-900);
}

.mseom-auction-schedule__note {
	margin: 6px 0 0;
	font-size: 13px;
	color: var(--mseom-muted);
	line-height: 1.5;
}

.mseom-auction-cars__link {
	font-size: 13px;
	font-weight: 700;
	color: var(--mseom-green-700);
	text-decoration: none;
	white-space: nowrap;
}

.mseom-auction-cars__link:hover {
	text-decoration: underline;
}

.mseom-auction-schedule__wrap {
	overflow-x: auto;
	background: var(--mseom-surface);
	border: 1px solid var(--mseom-border);
	border-radius: var(--mseom-radius);
	box-shadow: var(--mseom-shadow);
}

.mseom-auction-schedule__table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
}

.mseom-auction-schedule__table thead th {
	text-align: start;
	padding: 12px 14px;
	background: #f8faf9;
	color: var(--mseom-muted);
	font-size: 12px;
	font-weight: 700;
	border-bottom: 1px solid var(--mseom-border);
	white-space: nowrap;
}

.mseom-auction-schedule__row {
	cursor: pointer;
	transition: background 0.15s ease;
}

.mseom-auction-schedule__row:hover,
.mseom-auction-schedule__row:focus-visible {
	background: #f0fdf4;
	outline: none;
}

.mseom-auction-schedule__row.is-live {
	background: #fef2f2;
}

.mseom-auction-schedule__row td {
	padding: 12px 14px;
	border-bottom: 1px solid var(--mseom-border);
	vertical-align: middle;
}

.mseom-auction-schedule__row:last-child td {
	border-bottom: none;
}

.mseom-auction-schedule__order {
	min-width: 120px;
}

.mseom-auction-schedule__thumb {
	position: relative;
	width: 72px;
	height: 54px;
	border-radius: 10px;
	overflow: hidden;
	background: #f3f4f6;
	margin-bottom: 6px;
}

.mseom-auction-schedule__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.mseom-auction-schedule__noimg {
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	font-size: 24px;
	opacity: 0.55;
}

.mseom-auction-schedule__order-no {
	position: absolute;
	inset-inline-end: 6px;
	bottom: 6px;
	min-width: 24px;
	height: 24px;
	padding: 0 6px;
	border-radius: 999px;
	background: rgba(20, 83, 45, 0.92);
	color: #fff;
	font-size: 12px;
	font-weight: 800;
	display: grid;
	place-items: center;
}

.mseom-auction-schedule__order-label {
	display: block;
	font-size: 12px;
	font-weight: 700;
	color: var(--mseom-green-800);
}

.mseom-auction-schedule__car strong {
	display: block;
	color: var(--mseom-green-900);
	font-size: 15px;
	margin-bottom: 4px;
}

.mseom-auction-schedule__car-meta {
	display: block;
	font-size: 12px;
	color: var(--mseom-muted);
}

.mseom-auction-schedule__start {
	white-space: nowrap;
	font-variant-numeric: tabular-nums;
}

.mseom-auction-schedule__countdown,
.mseom-auction-lot-countdown {
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
	font-weight: 700;
	color: var(--mseom-green-900);
}

.mseom-auction-schedule__countdown-static {
	font-weight: 700;
	color: var(--mseom-muted);
}

.mseom-auction-schedule__badge {
	display: inline-flex;
	align-items: center;
	padding: 4px 10px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 700;
	background: #e2e8f0;
	color: #334155;
}

.mseom-auction-schedule__badge--live {
	background: #fee2e2;
	color: var(--mseom-red);
}

.mseom-auction-schedule__badge--live::before {
	content: '';
	display: inline-block;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--mseom-red);
	margin-inline-end: 5px;
}

.mseom-auction-schedule__badge--upcoming {
	background: #ecfdf5;
	color: var(--mseom-green-800);
}

.mseom-auction-schedule__badge--waiting {
	background: #fef3c7;
	color: #92400e;
}

.mseom-auction-schedule__badge--done {
	background: #f3f4f6;
	color: #6b7280;
}

.mseom-grade--a { background: #166534; }
.mseom-grade--b { background: #65a30d; }
.mseom-grade--c { background: #eab308; color: #14532d; }
.mseom-grade--d { background: #f97316; }
.mseom-grade--f { background: #dc2626; }

/* ممر البث */
.mseom-auction-schedule--runway .mseom-auction-schedule__head {
	margin-bottom: 18px;
}

.mseom-auction-runway {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.mseom-auction-runway__spotlight {
	background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 45%, #fff 100%);
	border: 1px solid var(--mseom-border);
	border-radius: calc(var(--mseom-radius) + 4px);
	box-shadow: var(--mseom-shadow);
	overflow: hidden;
}

.mseom-runway-lot--spotlight {
	display: grid;
	grid-template-columns: minmax(220px, 42%) 1fr;
	gap: 0;
	min-height: 220px;
}

.mseom-runway-lot--spotlight.is-live,
.mseom-runway-lot--spotlight.mseom-runway-lot--live {
	background: linear-gradient(135deg, #fef2f2 0%, #fff5f5 40%, #fff 100%);
}

.mseom-runway-lot__media {
	position: relative;
	background: #f3f4f6;
	min-height: 160px;
}

.mseom-runway-lot--spotlight .mseom-runway-lot__media {
	min-height: 220px;
}

.mseom-runway-lot__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.mseom-runway-lot--spotlight .mseom-runway-lot__media img {
	min-height: 220px;
}

.mseom-runway-lot__placeholder {
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	min-height: inherit;
	font-size: 42px;
	opacity: 0.45;
}

.mseom-runway-lot__order {
	position: absolute;
	inset-inline-end: 10px;
	bottom: 10px;
	min-width: 28px;
	height: 28px;
	padding: 0 8px;
	border-radius: 999px;
	background: rgba(20, 83, 45, 0.92);
	color: #fff;
	font-size: 13px;
	font-weight: 800;
	display: grid;
	place-items: center;
}

.mseom-runway-lot__grade {
	position: absolute;
	top: 10px;
	inset-inline-start: 10px;
	min-width: 28px;
	padding: 4px 8px;
	border-radius: 6px;
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	text-align: center;
}

.mseom-runway-lot__live-pill {
	position: absolute;
	top: 10px;
	inset-inline-end: 10px;
	padding: 4px 10px;
	border-radius: 999px;
	background: var(--mseom-red);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
}

.mseom-runway-lot__body {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 18px 20px;
	justify-content: center;
}

.mseom-runway-lot__eyebrow {
	font-size: 12px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--mseom-green-700);
}

.mseom-runway-lot--live .mseom-runway-lot__eyebrow,
.mseom-runway-lot.is-live .mseom-runway-lot__eyebrow {
	color: var(--mseom-red);
}

.mseom-runway-lot__title {
	font-size: 20px;
	font-weight: 800;
	color: var(--mseom-green-900);
	line-height: 1.35;
}

.mseom-runway-lot__meta {
	font-size: 13px;
	color: var(--mseom-muted);
	line-height: 1.5;
}

.mseom-runway-lot__warranty {
	font-size: 12px;
	font-weight: 700;
	color: var(--mseom-green-800);
}

.mseom-runway-lot__timing {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin-top: 4px;
	font-size: 13px;
	font-weight: 700;
	color: var(--mseom-green-900);
}

.mseom-runway-lot__start,
.mseom-runway-lot__countdown {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-variant-numeric: tabular-nums;
}

.mseom-runway-lot__status-label {
	padding: 4px 10px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 700;
}

.mseom-runway-lot__status-label--live {
	background: #fee2e2;
	color: var(--mseom-red);
}

.mseom-runway-lot__status-label--upcoming {
	background: #ecfdf5;
	color: var(--mseom-green-800);
}

.mseom-runway-lot__status-label--waiting {
	background: #fef3c7;
	color: #92400e;
}

.mseom-runway-lot__status-label--done {
	background: #f3f4f6;
	color: #6b7280;
}

.mseom-runway-lot__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 10px;
}

.mseom-auction-runway__progress {
	background: var(--mseom-surface);
	border: 1px solid var(--mseom-border);
	border-radius: var(--mseom-radius);
	padding: 14px 16px;
	box-shadow: var(--mseom-shadow);
}

.mseom-auction-runway__progress-meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 10px;
	font-size: 13px;
	font-weight: 700;
	color: var(--mseom-green-900);
}

.mseom-auction-runway__progress-bar {
	height: 6px;
	border-radius: 999px;
	background: #e5e7eb;
	overflow: hidden;
	margin-bottom: 14px;
}

.mseom-auction-runway__progress-bar > span {
	display: block;
	height: 100%;
	border-radius: inherit;
	background: linear-gradient(90deg, var(--mseom-green-700), var(--mseom-green-500));
	transition: width 0.35s ease;
}

.mseom-auction-runway__strip {
	display: flex;
	align-items: center;
	gap: 0;
	margin: 0;
	padding: 0 4px 4px;
	list-style: none;
	overflow-x: auto;
	scroll-behavior: smooth;
	scrollbar-width: thin;
}

.mseom-auction-runway__node {
	flex: 1 0 auto;
	display: flex;
	align-items: center;
	min-width: 28px;
}

.mseom-auction-runway__node:not(:last-child)::after {
	content: '';
	flex: 1;
	height: 2px;
	background: #e5e7eb;
	margin-inline: 2px;
}

.mseom-auction-runway__node.is-done:not(:last-child)::after {
	background: var(--mseom-green-600);
}

.mseom-auction-runway__node-dot {
	flex: 0 0 auto;
	width: 28px;
	height: 28px;
	border-radius: 999px;
	border: 2px solid #d1d5db;
	background: #fff;
	color: var(--mseom-muted);
	font-size: 11px;
	font-weight: 800;
	display: grid;
	place-items: center;
}

.mseom-auction-runway__node.is-done .mseom-auction-runway__node-dot {
	border-color: var(--mseom-green-600);
	background: var(--mseom-green-600);
	color: #fff;
}

.mseom-auction-runway__node.is-current .mseom-auction-runway__node-dot {
	border-color: var(--mseom-red);
	background: var(--mseom-red);
	color: #fff;
	box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.18);
}

.mseom-auction-runway__queue-head h3 {
	margin: 0 0 4px;
	font-size: 16px;
	font-weight: 800;
	color: var(--mseom-green-900);
}

.mseom-auction-runway__queue-head p {
	margin: 0;
	font-size: 12px;
	color: var(--mseom-muted);
}

.mseom-auction-runway__queue-scroll {
	display: flex;
	gap: 14px;
	overflow-x: auto;
	padding: 12px 2px 6px;
	scroll-snap-type: x mandatory;
	scrollbar-width: thin;
}

.mseom-runway-lot--queue {
	flex: 0 0 220px;
	scroll-snap-align: start;
	display: flex;
	flex-direction: column;
	background: var(--mseom-surface);
	border: 1px solid var(--mseom-border);
	border-radius: var(--mseom-radius);
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	box-shadow: var(--mseom-shadow);
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.mseom-runway-lot--queue:hover,
.mseom-runway-lot--queue:focus-visible {
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
	outline: none;
}

.mseom-runway-lot--queue .mseom-runway-lot__media {
	height: 130px;
}

.mseom-runway-lot--queue .mseom-runway-lot__body {
	padding: 12px 14px;
}

.mseom-runway-lot--queue .mseom-runway-lot__title {
	font-size: 14px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.mseom-runway-lot--queue .mseom-runway-lot__meta {
	font-size: 11px;
}

.mseom-runway-lot--queue .mseom-runway-lot__timing {
	font-size: 12px;
}

.mseom-auction-runway__archive {
	border: 1px solid var(--mseom-border);
	border-radius: var(--mseom-radius);
	background: #f8faf9;
	overflow: hidden;
}

.mseom-auction-runway__archive summary {
	padding: 12px 16px;
	font-size: 13px;
	font-weight: 700;
	color: var(--mseom-green-800);
	cursor: pointer;
	list-style: none;
}

.mseom-auction-runway__archive summary::-webkit-details-marker {
	display: none;
}

.mseom-auction-runway__archive summary::after {
	content: '▾';
	float: inline-end;
	opacity: 0.6;
}

.mseom-auction-runway__archive[open] summary::after {
	content: '▴';
}

.mseom-auction-runway__archive-list {
	margin: 0;
	padding: 0 8px 8px;
	list-style: none;
}

.mseom-auction-runway__archive-item {
	display: grid;
	grid-template-columns: 32px 1fr auto;
	align-items: center;
	gap: 10px;
	padding: 10px 8px;
	border-radius: 8px;
	text-decoration: none;
	color: inherit;
	transition: background 0.15s ease;
}

.mseom-auction-runway__archive-item:hover,
.mseom-auction-runway__archive-item:focus-visible {
	background: #ecfdf5;
	outline: none;
}

.mseom-auction-runway__archive-order {
	width: 28px;
	height: 28px;
	border-radius: 999px;
	background: #e5e7eb;
	color: #6b7280;
	font-size: 12px;
	font-weight: 800;
	display: grid;
	place-items: center;
}

.mseom-auction-runway__archive-title {
	font-size: 14px;
	font-weight: 700;
	color: var(--mseom-green-900);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.mseom-auction-runway__archive-status {
	font-size: 12px;
	font-weight: 700;
	color: var(--mseom-muted);
	white-space: nowrap;
}

/* صفحة عرض السيارة في جدول المزاد */
.mseom-auction-car-page .mseom-live-bid-zone {
	gap: 14px;
}

.mseom-auction-car-page__hint {
	margin: 10px 0 0;
	font-size: 12px;
	color: var(--mseom-muted);
	line-height: 1.5;
	text-align: center;
}

.mseom-auction-car-page__pricing-note {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 14px 16px;
	border: 1px solid var(--mseom-border);
	border-radius: 12px;
	background: #f8faf9;
}

.mseom-auction-car-page__pricing-note-icon {
	flex: 0 0 auto;
	font-size: 20px;
	line-height: 1.2;
}

.mseom-auction-car-page__pricing-note p {
	margin: 0;
	font-size: 14px;
	line-height: 1.6;
	color: var(--mseom-green-900);
	font-weight: 600;
}

.mseom-auction-car-gallery-wrap {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.mseom-auction-car-gallery {
	position: relative;
}

.mseom-auction-car-gallery__lot {
	display: inline-flex;
	align-items: center;
	padding: 4px 10px;
	border-radius: 999px;
	background: rgba(15, 23, 42, 0.72);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
}

.mseom-auction-car-gallery__nav {
	position: absolute;
	inset-inline: 0;
	top: 50%;
	transform: translateY(-50%);
	display: flex;
	justify-content: space-between;
	padding: 0 10px;
	pointer-events: none;
	z-index: 2;
}

.mseom-auction-car-gallery__btn {
	pointer-events: auto;
	width: 40px;
	height: 40px;
	border: none;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.92);
	color: var(--mseom-green-900);
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
	box-shadow: 0 4px 14px rgba(15, 23, 42, 0.18);
}

.mseom-auction-car-gallery__btn:disabled {
	opacity: 0.45;
	cursor: default;
}

.mseom-auction-car-gallery__counter {
	position: absolute;
	inset-inline-end: 12px;
	bottom: 12px;
	padding: 4px 10px;
	border-radius: 999px;
	background: rgba(15, 23, 42, 0.72);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	z-index: 2;
}

.mseom-auction-car-gallery__thumbs {
	display: flex;
	gap: 8px;
	overflow-x: auto;
	padding-bottom: 2px;
}

.mseom-auction-car-gallery__thumb {
	flex: 0 0 auto;
	width: 84px;
	height: 62px;
	padding: 0;
	border: 2px solid transparent;
	border-radius: 10px;
	overflow: hidden;
	cursor: pointer;
	background: #f3f4f6;
}

.mseom-auction-car-gallery__thumb.is-active {
	border-color: var(--mseom-green-700);
}

.mseom-auction-car-gallery__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.mseom-auction-car-nav {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.mseom-auction-car-nav .mseom-live-next__card {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px;
	border: 1px solid var(--mseom-border);
	border-radius: 12px;
	background: #fff;
	text-decoration: none;
	color: inherit;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.mseom-auction-car-nav .mseom-live-next__card:hover {
	border-color: var(--mseom-green-700);
	box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

.mseom-live-countdown-bar__simple {
	font-weight: 800;
	font-variant-numeric: tabular-nums;
	color: var(--mseom-green-900);
}

/* جدول كل المزادات */
.mseom-auction-all__wrap {
	overflow-x: auto;
	background: var(--mseom-surface);
	border: 1px solid var(--mseom-border);
	border-radius: var(--mseom-radius);
	box-shadow: var(--mseom-shadow);
}

.mseom-auction-all__table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
}

.mseom-auction-all__table thead th {
	text-align: start;
	padding: 12px 14px;
	background: #f8faf9;
	color: var(--mseom-muted);
	font-size: 12px;
	font-weight: 700;
	border-bottom: 1px solid var(--mseom-border);
	white-space: nowrap;
}

.mseom-auction-all__table tbody td {
	padding: 12px 14px;
	border-bottom: 1px solid var(--mseom-border);
	color: var(--mseom-text);
	vertical-align: middle;
}

.mseom-auction-all__table tbody tr:last-child td {
	border-bottom: none;
}

.mseom-auction-all__table tbody tr:hover {
	background: #f0fdf4;
}

.mseom-auction-all__table tr.is-current {
	background: #ecfdf5;
}

.mseom-auction-all__status {
	display: inline-flex;
	align-items: center;
	padding: 3px 10px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 700;
	background: #e2e8f0;
	color: #334155;
}

.mseom-auction-all__status.is-live {
	background: #fee2e2;
	color: var(--mseom-red);
}

.mseom-auction-all__status.is-live::before {
	content: '';
	display: inline-block;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--mseom-red);
	margin-inline-end: 5px;
}

.mseom-countdown {
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

/* استجابة الجوال */
@media (max-width: 860px) {
	.mseom-auction-overview {
		grid-template-columns: 1fr;
	}

	.mseom-auction-hero {
		flex-direction: column;
		align-items: stretch;
	}

	.mseom-auction-hero__aside {
		min-width: 0;
	}
}

@media (max-width: 640px) {
	.mseom-auction-schedule__table thead,
	.mseom-auction-all__table thead {
		display: none;
	}

	.mseom-auction-schedule__table,
	.mseom-auction-schedule__table tbody,
	.mseom-auction-schedule__table tr,
	.mseom-auction-schedule__table td,
	.mseom-auction-all__table,
	.mseom-auction-all__table tbody,
	.mseom-auction-all__table tr,
	.mseom-auction-all__table td {
		display: block;
		width: 100%;
	}

	.mseom-auction-schedule__table tr,
	.mseom-auction-all__table tr {
		border-bottom: 8px solid var(--mseom-bg);
		padding: 6px 0;
	}

	.mseom-auction-schedule__table td,
	.mseom-auction-all__table td {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 12px;
		border: none;
		padding: 8px 14px;
	}

	.mseom-auction-schedule__table td::before,
	.mseom-auction-all__table td::before {
		content: attr(data-label);
		font-size: 12px;
		font-weight: 700;
		color: var(--mseom-muted);
	}

	.mseom-auction-car-nav {
		grid-template-columns: 1fr;
	}

	.mseom-runway-lot--spotlight {
		grid-template-columns: 1fr;
	}

	.mseom-runway-lot--spotlight .mseom-runway-lot__media,
	.mseom-runway-lot--spotlight .mseom-runway-lot__media img {
		min-height: 180px;
	}

	.mseom-runway-lot__title {
		font-size: 17px;
	}

	.mseom-runway-lot--queue {
		flex-basis: 190px;
	}
}

/* صفحة السيارة — مراقبة المزاد المباشر */
.mseom-auction-car-watch {
	margin: 0 0 16px;
	padding: 14px 16px;
	border-radius: 14px;
	border: 1px solid rgba(34, 139, 87, 0.25);
	background: linear-gradient(135deg, rgba(34, 139, 87, 0.12), rgba(34, 139, 87, 0.04));
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
	animation: mseom-auction-car-watch-in 0.35s ease;
}

.mseom-auction-car-watch.is-live {
	border-color: rgba(220, 38, 38, 0.35);
	background: linear-gradient(135deg, rgba(220, 38, 38, 0.12), rgba(220, 38, 38, 0.04));
}

.mseom-auction-car-watch__body {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
}

.mseom-auction-car-watch__text strong {
	display: block;
	font-size: 15px;
	margin-bottom: 4px;
}

.mseom-auction-car-watch__text p {
	margin: 0;
	font-size: 13px;
	color: var(--mseom-muted, #64748b);
	line-height: 1.5;
}

.mseom-auction-car-watch__actions {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-shrink: 0;
}

.mseom-auction-car-page--just-live .mseom-live-bid-zone .mseom-btn.is-pulsing {
	animation: mseom-auction-car-cta-pulse 1.4s ease-in-out infinite;
}

.mseom-auction-car-page .mseom-btn.is-pulsing {
	box-shadow: 0 0 0 0 rgba(34, 139, 87, 0.45);
}

@keyframes mseom-auction-car-watch-in {
	from {
		opacity: 0;
		transform: translateY(-8px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes mseom-auction-car-cta-pulse {
	0%,
	100% {
		box-shadow: 0 0 0 0 rgba(34, 139, 87, 0.45);
	}
	50% {
		box-shadow: 0 0 0 10px rgba(34, 139, 87, 0);
	}
}

@media (max-width: 640px) {
	.mseom-auction-car-watch__body {
		flex-direction: column;
		align-items: stretch;
	}

	.mseom-auction-car-watch__actions {
		width: 100%;
	}

	.mseom-auction-car-watch__actions .mseom-btn {
		flex: 1;
	}
}
