.listing-small-badge.sold-badge-listeo { background: #e74c3c !important; color: #fff !important; }

/* Reduce the page's default top spacing, but only on pages where the sold
   banner is actually present — regular (non-sold) listings keep their
   normal spacing untouched. */
.container.classifieds:has(> .lsl-sold-banner) {
	padding-top: 15px !important;
}

.lsl-sold-banner {
	position: relative !important;
	z-index: 999 !important;
	display: flex !important;
	align-items: center;
	justify-content: center;
	gap: 10px;
	background: #e74c3c !important;
	color: #fff !important;
	opacity: 1 !important;
	text-align: center;
	padding: 10px 18px;
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1.5px;
	margin: 0 0 10px;
	border-radius: 8px;
	box-shadow: 0 4px 14px rgba(231, 76, 60, 0.3);
}

/* The gap here comes from the theme's own row/gallery spacing, not our
   banner's margin — pull it up, scoped to only right after our banner so
   nothing else on the site is affected. */
.lsl-sold-banner + .row {
	margin-top: -40px !important;
}
.lsl-sold-banner-icon {
	width: 22px;
	height: 22px;
	flex-shrink: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.25) !important;
	display: flex;
	align-items: center;
	justify-content: center;
}
.lsl-sold-banner-icon i { font-size: 11px; color: #fff !important; }
.list-box-listing-img { position: relative !important; overflow: hidden !important; display: block !important; }
.sold-thumb-overlay { position: absolute !important; top: 0 !important; left: 0 !important; right: 0 !important; bottom: 0 !important; width: 100% !important; height: 100% !important; background: rgba(0,0,0,0.55) !important; display: flex !important; align-items: center !important; justify-content: center !important; z-index: 99 !important; border-radius: 3px !important; }
.sold-thumb-overlay span { color: #fff !important; font-size: 12px !important; font-weight: 900 !important; letter-spacing: 3px !important; text-transform: uppercase !important; border: 2px solid rgba(255,255,255,0.85) !important; padding: 3px 9px !important; border-radius: 3px !important; transform: rotate(-15deg) !important; display: block !important; }

/* ---- Bulk-select checkboxes on the My Listings dashboard ---- */

/* Shared custom checkbox look (replaces the raw native checkbox) */
.lsl-checkbox {
	appearance: none;
	-webkit-appearance: none;
	margin: 0;
	width: 20px;
	height: 20px;
	border-radius: 5px;
	border: 2px solid #d6d6da;
	background: #fff;
	cursor: pointer;
	position: relative;
	flex-shrink: 0;
	transition: background 0.12s ease, border-color 0.12s ease;
}
.lsl-checkbox:hover { border-color: #e74c3c; }
.lsl-checkbox:checked { background: #e74c3c; border-color: #e74c3c; }
.lsl-checkbox:checked::after {
	content: '';
	position: absolute;
	left: 6px;
	top: 2px;
	width: 5px;
	height: 10px;
	border: solid #fff;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}
.lsl-checkbox:focus-visible { outline: 2px solid #e74c3c; outline-offset: 2px; }

/* "Select all" bar above the list — a proper bar, not a floating checkbox */
.lsl-select-all-row {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 15px;
	padding: 12px 16px;
	background: #f7f7f8;
	border-radius: 6px;
	font-size: 13px;
	font-weight: 500;
	color: #555;
}
.lsl-select-all-row label {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	cursor: pointer;
	white-space: nowrap;
}

/* Per-card checkbox: top-right corner, clear of the diagonal SOLD stamp,
   with its own backing so it reads on any thumbnail. */
.lsl-bulk-checkbox {
	position: absolute;
	top: 8px;
	right: 8px;
	left: auto;
	z-index: 100;
	width: 22px;
	height: 22px;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}

/* Highlight the whole row once its checkbox is checked */
.lsl-row-selected {
	background: #fdf1f0;
	box-shadow: inset 3px 0 0 #e74c3c;
	border-radius: 4px;
}

.lsl-bulk-bar {
	position: sticky;
	bottom: 0;
	left: 0;
	right: 0;
	background: #222;
	color: #fff;
	padding: 12px 20px;
	border-radius: 6px;
	display: none;
	align-items: center;
	justify-content: space-between;
	gap: 15px;
	margin-top: 15px;
	box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.15);
	z-index: 200;
}
.lsl-bulk-bar.is-visible { display: flex; }
.lsl-bulk-bar .lsl-bulk-count { font-weight: 600; }
.lsl-bulk-bar button {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: #e74c3c;
	color: #fff;
	border: none;
	padding: 8px 16px;
	border-radius: 4px;
	cursor: pointer;
	font-size: 13px;
	font-weight: 600;
}
.lsl-bulk-bar button:disabled { opacity: 0.6; cursor: not-allowed; }
.lsl-bulk-bar button.lsl-bulk-cancel { background: transparent; border: 1px solid rgba(255, 255, 255, 0.4); }
