/* Songwriters Marketplace — light storefront (scoped to .sg-mp) */

/* ── Isolation: prevent theme button/input styles from overriding marketplace ── */
.sg-mp button,
.sg-mp [type="button"],
.sg-mp [type="submit"],
.sg-mp [type="reset"],
.sg-mp input,
.sg-mp select,
.sg-mp textarea {
	font-family: inherit;
	line-height: normal;
	text-transform: none;
	letter-spacing: normal;
	text-shadow: none;
	box-sizing: border-box;
}
/* Force full-width + consistent padding — defeats any theme/WooCommerce overrides */
.sg-mp input:not([type="checkbox"]):not([type="radio"]):not([type="button"]):not([type="submit"]):not([type="reset"]),
.sg-mp select,
.sg-mp textarea {
	display: block;
	width: 100%;
	max-width: 100%;
	padding: 10px 14px;
}
/* File inputs need less vertical padding so the browser "Choose File" fits */
.sg-mp input[type="file"] {
	padding: 8px 12px;
}

.sg-mp {
	--sg-mp-bg: #fff;
	--sg-mp-surface: #ffffff;
	--sg-mp-border: #e2e8f0;
	--sg-mp-muted: #64748b;
	--sg-mp-text: #0f172a;
	--sg-mp-primary: #007db3;
	--sg-mp-success: #10b981;
	font-family: Inter, system-ui, sans-serif;
	color: var(--sg-mp-text);
	padding-bottom: 3rem;
}

.sg-mp .sg-mp-text-primary {
	color: var(--sg-mp-text);
}

.sg-mp .sg-mp-muted {
	color: var(--sg-mp-muted) !important;
}

.sg-mp-surface {
	background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
	border: 1px solid var(--sg-mp-border);
	padding: 30px;
}

.sg-mp .form-label {
	color: var(--sg-mp-muted);
	font-size: 0.875rem;
}

.sg-mp-input,
.sg-mp .form-control,
.sg-mp .form-select {
	display: block;
	width: 100% !important;
	box-sizing: border-box;
	background: #ffffff;
	border: 1px solid var(--sg-mp-border);
	color: var(--sg-mp-text);
	border-radius: 8px;
}

.sg-mp .form-control::placeholder,
.sg-mp .form-control::-webkit-input-placeholder {
	color: #94a3b8;
	opacity: 1;
}

.sg-mp .form-control:focus,
.sg-mp .form-select:focus {
	border-color: var(--sg-mp-primary);
	box-shadow: 0 0 0 3px rgba(0, 162, 156, 0.25);
}

.sg-mp-card-profile {
	position: relative;
	background: var(--sg-mp-surface);
	border: 1px solid var(--sg-mp-border);
	border-radius: 12px;
	padding: 1.25rem;
	box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
	transition: box-shadow 0.2s ease, transform 0.2s ease;
	cursor: default;
	display: flex;
	flex-direction: column;
	height: 100%;
	min-height: 100%;
}

.sg-mp-card-profile > .sg-mp-badge-featured {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 2;
	box-shadow: 0 1px 3px rgba(15, 23, 42, 0.12);
}

.sg-mp-card-profile > .sg-mp-badge-online {
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 0.35rem 0.65rem;
	font-size: 0.75rem;
	font-weight: 600;
	line-height: 1;
	color: #fff;
	background: var(--sg-mp-success);
	border: 0;
	box-shadow: 0 1px 3px rgba(15, 23, 42, 0.12);
}

.sg-mp-online-dot {
	width: 8px;
	height: 8px;
	border-radius: 999px;
	background: #fff;
	box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.5);
	flex-shrink: 0;
}

.sg-mp-card-profile:hover {
	box-shadow: 0 8px 20px rgba(15, 23, 42, 0.1);
	transform: translateY(-2px);
}

.sg-mp-card-profile-inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	flex: 1 1 auto;
	width: 100%;
}

.sg-mp-card-avatar-wrap {
	width: 104px;
	height: 104px;
	margin: 0 auto 16px;
	border-radius: 50%;
	overflow: hidden;
	flex-shrink: 0;
	box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}

.sg-mp-card-avatar-wrap img,
.sg-mp-card-avatar-wrap .sg-mp-card-avatar {
	width: 100%;
	height: 100%;
	object-fit: cover;
	aspect-ratio: 1;
	border-radius: 0;
	display: block;
}

.sg-mp-card-profile .sg-mp-card-heading {
	font-size: 1.125rem;
	font-weight: 600;
	margin: 0 0 8px;
	color: var(--sg-mp-text);
	line-height: 1.35;
}

.sg-mp-card-profile .sg-mp-card-genre {
	font-size: 0.875rem;
	color: var(--sg-mp-muted);
	margin: 0;
	line-height: 1.45;
	min-height: 1.35em;
}

.sg-mp-card-profile .sg-mp-card-rating {
	font-size: 0.8125rem;
	margin: 10px 0 0;
	color: var(--sg-mp-muted);
	width: 100%;
	text-align: center;
}
.sg-mp-card-profile .sg-mp-card-rating strong {
	color: var(--sg-mp-text);
}

.sg-mp-card-profile .sg-mp-card-actions {
	width: 100%;
	margin-top: auto;
	padding-top: 24px;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	gap: 8px;
	align-items: stretch;
	justify-content: center;
}

.sg-mp-card-profile .sg-mp-card-actions > .btn {
	flex: 1 1 calc(50% - 4px);
	width: auto;
	min-width: 0;
}

.sg-mp-card-profile .sg-mp-card-actions > .sg-mp-card-view-profile {
	flex: 1 1 100%;
}

.sg-mp .sg-mp-card-view-profile {
	display: inline-block;
	width: auto;
	align-self: center;
	margin-top: 8px;
	font-size: 0.8125rem;
	font-weight: 500;
	color: var(--sg-mp-primary);
	text-decoration: underline;
	text-underline-offset: 2px;
	padding: 4px;
	background: none;
	border: none;
	cursor: pointer;
	transition: color 0.2s ease, opacity 0.2s ease;
	box-shadow: none;
	text-shadow: none;
	text-transform: none;
	letter-spacing: normal;
}

.sg-mp .sg-mp-card-view-profile:hover {
	color: #00a29c;
	opacity: 0.95;
}

.sg-mp-badge-featured {
	background: rgba(0, 162, 156, 0.12);
	color: #0c4a6e;
	border-radius: 999px;
	font-size: 0.75rem;
	padding: 0.15rem 0.6rem;
}

.sg-mp .btn-primary,
.sg-mp .sg-mp-btn-primary {
	color: #fff !important;
	background-color: transparent;
	background-image: -webkit-linear-gradient(180deg, #00a29c 0%, #007db3 100%);
	background-image: linear-gradient(180deg, #00a29c 0%, #007db3 100%);
	border-color: transparent;
	border-radius: 8px;
	transition: filter 0.2s ease;
}

.sg-mp .btn-primary:hover,
.sg-mp .sg-mp-btn-primary:hover {
	filter: brightness(1.05);
	color: #fff !important;
}

.sg-mp .btn-primary:focus-visible,
.sg-mp .sg-mp-btn-primary:focus-visible {
	box-shadow: 0 0 0 0.25rem rgba(0, 162, 156, 0.35);
}

.sg-mp .btn-outline-primary {
	color: #007db3;
	border-color: #00a29c;
	background-color: transparent;
	border-radius: 8px;
	transition: filter 0.2s ease, color 0.2s ease, border-color 0.2s ease;
	border: 1px solid #00a29c;
}

.sg-mp .btn-outline-primary:hover,
.sg-mp .btn-outline-primary:focus {
	color: #fff !important;
	background-color: transparent;
	background-image: -webkit-linear-gradient(180deg, #00a29c 0%, #007db3 100%);
	background-image: linear-gradient(180deg, #00a29c 0%, #007db3 100%);
	border-color: transparent;
}

.sg-mp-modal {
	background: var(--sg-mp-surface);
	color: var(--sg-mp-text);
	border: 1px solid var(--sg-mp-border);
	border-radius: 12px;
}

.sg-mp-song-list .list-group-item {
	background: transparent;
	color: var(--sg-mp-text);
	border-color: var(--sg-mp-border);
}

.sg-mp-avatar {
	max-height: 280px;
	object-fit: cover;
}

.sg-mp-wave-wrap .sg-mp-wave {
	min-height: 56px;
	margin-bottom: 8px;
}

.sg-mp-tier-packages-modal .sg-mp-tier-packages-body {
	max-height: min(85vh, 920px);
	overflow-y: auto;
	padding: 16px;
	background: #fff;
}

.sg-mp-tier-packages-modal .sg-marketplace-root {
	margin: 0;
}

.sg-creator-chat-shell {
	max-width: 560px;
	margin-left: auto;
	margin-right: auto;
}

/* ── Marketplace login modal ───────────────────────────────── */
.sg-mp-link-primary {
	color: #007db3;
	transition: opacity 0.15s ease;
}
.sg-mp-link-primary:hover {
	opacity: 0.75;
	color: #007db3;
}

.sg-mp-login-logo {
	width: 52px;
	height: 52px;
	border-radius: 12px;
	background: linear-gradient(180deg, #00a29c 0%, #007db3 100%);
	color: #fff;
	font-size: 22px;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 12px rgba(0, 125, 179, 0.3);
}

#sgMpLoginModal .input-group-text {
	border-color: #e2e8f0;
}

#sgMpLoginModal .form-control {
	border-color: #e2e8f0;
}

#sgMpLoginModal .form-control:focus {
	border-color: #007db3;
	box-shadow: 0 0 0 3px rgba(0, 125, 179, 0.2);
}

#sgMpLoginModal .input-group:focus-within .input-group-text {
	border-color: #007db3;
}

#sgMpLoginModal .form-check-input:checked {
	background-color: #007db3;
	border-color: #007db3;
}

#sgMpLoginModal .sg-mp-login-pending {
	background: #fffbeb !important;
	border-color: #fcd34d !important;
	border-left: 4px solid #f59e0b !important;
	color: #78350f !important;
}

/* ── Filter bar ───────────────────────────────────────────────── */
.sg-mp .sg-mp-filter-bar {
	display: block;
	width: 100%;
	background: #fff;
	border: 1px solid var(--sg-mp-border);
	border-radius: 14px;
	padding: 20px 22px 16px;
	margin-bottom: 28px;
	box-shadow: 0 1px 4px rgba(15,23,42,.06);
	box-sizing: border-box;
}

.sg-mp .sg-mp-filter-row--main {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	align-items: flex-end;
}

.sg-mp .sg-mp-filter-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
	flex: 1 1 160px;
	min-width: 0;
}

.sg-mp .sg-mp-filter-field--search { flex: 2 1 220px; }
.sg-mp .sg-mp-filter-field--verified { flex: 0 0 auto; justify-content: flex-end; }

.sg-mp .sg-mp-filter-label {
	display: block !important;
	font-size: 11px !important;
	font-weight: 700 !important;
	color: var(--sg-mp-muted) !important;
	text-transform: uppercase !important;
	letter-spacing: .06em !important;
	line-height: 1.2 !important;
	margin: 0 0 2px !important;
	padding: 0 !important;
	font-family: Inter, system-ui, sans-serif !important;
}

/* search icon */
.sg-mp .sg-mp-input-icon-wrap { position: relative; display: block; }
.sg-mp .sg-mp-input-icon {
	position: absolute !important;
	left: 12px !important;
	top: 50% !important;
	transform: translateY(-50%) !important;
	color: #94a3b8 !important;
	font-size: 13px !important;
	pointer-events: none !important;
	z-index: 1 !important;
}

/* inputs & selects */
.sg-mp .sg-mp-filter-bar .sg-mp-input {
	display: block !important;
	width: 100% !important;
	height: 42px !important;
	padding: 0 14px !important;
	font-size: 14px !important;
	font-family: Inter, system-ui, sans-serif !important;
	font-weight: 400 !important;
	color: var(--sg-mp-text) !important;
	background: #f8fafc !important;
	background-image: none !important;
	border: 1.5px solid var(--sg-mp-border) !important;
	border-radius: 9px !important;
	box-shadow: none !important;
	outline: none !important;
	line-height: normal !important;
	-webkit-appearance: none !important;
	appearance: none !important;
	box-sizing: border-box !important;
	margin: 0 !important;
	transition: border-color .15s, box-shadow .15s !important;
}

.sg-mp .sg-mp-filter-bar .sg-mp-input--has-icon { padding-left: 36px !important; }

.sg-mp .sg-mp-filter-bar .sg-mp-input:focus {
	border-color: var(--sg-mp-primary) !important;
	box-shadow: 0 0 0 3px rgba(0,125,179,.15) !important;
	background: #fff !important;
	outline: none !important;
}

/* chevron on selects */
.sg-mp .sg-mp-filter-bar select.sg-mp-input {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%2394A3B8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M4 6l4 4 4-4'/%3E%3C/svg%3E") !important;
	background-repeat: no-repeat !important;
	background-position: right 11px center !important;
	background-size: 14px !important;
	padding-right: 32px !important;
}

/* ── DSP Verified toggle ──────────────────────────────────────── */
.sg-mp .sg-mp-toggle-label {
	display: inline-flex !important;
	align-items: center !important;
	gap: 9px !important;
	cursor: pointer !important;
	font-size: 13px !important;
	font-weight: 500 !important;
	color: #334155 !important;
	white-space: nowrap !important;
	margin: 0 !important;
	padding: 8px 0 !important;
	user-select: none !important;
	-webkit-user-select: none !important;
}

.sg-mp .sg-mp-toggle-input {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	opacity: 0 !important;
	clip: rect(0,0,0,0) !important;
	margin: 0 !important;
}

.sg-mp .sg-mp-toggle-track {
	display: inline-flex !important;
	flex-shrink: 0 !important;
	width: 36px !important;
	height: 20px !important;
	border-radius: 10px !important;
	background: #cbd5e1 !important;
	position: relative !important;
	transition: background .2s !important;
}

.sg-mp .sg-mp-toggle-thumb {
	position: absolute !important;
	top: 2px !important;
	left: 2px !important;
	width: 16px !important;
	height: 16px !important;
	border-radius: 50% !important;
	background: #fff !important;
	box-shadow: 0 1px 3px rgba(0,0,0,.2) !important;
	transition: transform .18s !important;
}

.sg-mp .sg-mp-toggle-input:checked + .sg-mp-toggle-track {
	background: var(--sg-mp-primary) !important;
}

.sg-mp .sg-mp-toggle-input:checked + .sg-mp-toggle-track .sg-mp-toggle-thumb {
	transform: translateX(16px) !important;
}

/* ── Action buttons ───────────────────────────────────────────── */
.sg-mp .sg-mp-filter-actions {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: 16px;
	padding-top: 14px;
	border-top: 1px solid #f1f5f9;
}

.sg-mp .sg-mp-filter-apply {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	height: 40px !important;
	padding: 0 22px !important;
	font-size: 14px !important;
	font-family: Inter, system-ui, sans-serif !important;
	font-weight: 600 !important;
	color: #fff !important;
	background-image: linear-gradient(180deg, #00a29c 0%, #007db3 100%) !important;
	border: none !important;
	border-radius: 9px !important;
	cursor: pointer !important;
	text-shadow: none !important;
	box-shadow: 0 2px 6px rgba(0,125,179,.28) !important;
	transition: filter .15s !important;
	white-space: nowrap !important;
	line-height: 1 !important;
}

.sg-mp .sg-mp-filter-apply:hover {
	filter: brightness(1.05) !important;
	color: #fff !important;
}

.sg-mp .sg-mp-filter-reset {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 7px !important;
	height: 40px !important;
	padding: 0 16px !important;
	font-size: 13px !important;
	font-family: Inter, system-ui, sans-serif !important;
	font-weight: 500 !important;
	color: var(--sg-mp-muted) !important;
	background: transparent !important;
	border: 1.5px solid var(--sg-mp-border) !important;
	border-radius: 9px !important;
	cursor: pointer !important;
	line-height: 1 !important;
	white-space: nowrap !important;
	text-shadow: none !important;
	transition: border-color .15s, color .15s !important;
}

.sg-mp .sg-mp-filter-reset:hover {
	border-color: #94a3b8 !important;
	color: #334155 !important;
}

/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 600px) {
	.sg-mp .sg-mp-filter-bar { padding: 14px; }
	.sg-mp .sg-mp-filter-field,
	.sg-mp .sg-mp-filter-field--verified { flex: 1 1 100% !important; }
	.sg-mp .sg-mp-filter-actions { flex-direction: column; }
	.sg-mp .sg-mp-filter-apply,
	.sg-mp .sg-mp-filter-reset { width: 100% !important; }
}

/* ══════════════════════════════════════════════════════════════════
   SIGNUP FORM — self-contained layout (Bootstrap not required)
   ══════════════════════════════════════════════════════════════════ */

/* Outer wrapper vertical spacing */
.sg-mp.py-5 { padding-top: 3rem; padding-bottom: 3rem; }

/* Container — wider for the profile-marketplace grid (signup form narrows it inline) */
.sg-mp .container {
	width: 100%;
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 16px;
	padding-right: 16px;
}

/* Card surface — padding, shape, shadow (Bootstrap utility replacements) */
.sg-mp .sg-mp-surface.p-4,
.sg-mp .sg-mp-surface.p-md-5 {
	padding: 1.75rem 2rem;
}
.sg-mp .sg-mp-surface.rounded-3 { border-radius: 16px; }
.sg-mp .sg-mp-surface.shadow-sm {
	box-shadow: 0 4px 28px rgba(15, 23, 42, 0.09);
}
@media (min-width: 768px) {
	.sg-mp .sg-mp-surface.p-md-5 { padding: 2.75rem 3rem; }
}

/* Typography utilities */
.sg-mp .h3     { font-size: 1.6rem; line-height: 1.25; margin: 0; }
.sg-mp .fw-bold { font-weight: 700; }
.sg-mp .mb-3   { margin-bottom: 1rem; }
.sg-mp .mt-4   { margin-top: 1.5rem; }

/* ── Grid (flexbox columns, replaces Bootstrap row/col) ── */
.sg-mp .row {
	display: flex;
	flex-wrap: wrap;
	margin-left: -8px;
	margin-right: -8px;
}
.sg-mp .row.g-3 > [class*="col"] {
	padding: 8px;
}
/* Mobile-first: all cols full-width */
.sg-mp .col-12,
.sg-mp .col-md-12,
.sg-mp .col-md-6,
.sg-mp .col-md-4 {
	flex: 0 0 100%;
	width: 100%;
	box-sizing: border-box;
}
/* Tablet & up: break into 2-col / 3-col */
@media (min-width: 768px) {
	.sg-mp .col-md-6 { flex: 0 0 50%;       width: 50%; }
	.sg-mp .col-md-4 { flex: 0 0 33.3333%;  width: 33.3333%; }
}

/* ── Labels ── */
.sg-mp .form-label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	color: #475569;
	margin-bottom: 6px;
	line-height: 1.4;
}

/* ── Inputs & Selects ── */
.sg-mp .form-control,
.sg-mp .form-select {
	display: block;
	width: 100% !important;
	box-sizing: border-box;
	padding: 10px 14px !important;
	font-size: 14px;
	font-family: inherit;
	line-height: 1.5;
	color: #0f172a;
	background: #ffffff;
	border: 1.5px solid #e2e8f0;
	border-radius: 8px;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.sg-mp .form-select {
	padding-right: 36px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7'%3E%3Cpath fill='%2364748b' d='M0 0l6 7 6-7z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center;
	-webkit-appearance: none;
	appearance: none;
	cursor: pointer;
}

.sg-mp textarea.form-control {
	resize: vertical;
	min-height: 90px;
}

.sg-mp input[type="file"].form-control {
	padding: 8px 12px;
	cursor: pointer;
	line-height: 1.5;
}

.sg-mp .form-control:focus,
.sg-mp .form-select:focus {
	outline: none;
	border-color: #007db3;
	box-shadow: 0 0 0 3px rgba(0, 125, 179, 0.18);
}

.sg-mp .form-control::placeholder {
	color: #94a3b8;
	opacity: 1;
}

/* ── Alert banners ── */
.sg-mp .alert {
	padding: 12px 16px;
	border-radius: 8px;
	font-size: 14px;
	line-height: 1.55;
	margin-top: 1rem;
}
.sg-mp .alert-success {
	background: #f0fdf4;
	border: 1px solid #86efac;
	color: #166534;
}
.sg-mp .alert-warning {
	background: #fffbeb;
	border: 1px solid #fcd34d;
	color: #92400e;
}

/* ── Submit button (base + brand gradient already above) ── */
.sg-mp .btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 24px;
	font-size: 15px;
	font-weight: 600;
	font-family: inherit;
	line-height: 1.5;
	border: 1px solid transparent;
	border-radius: 8px;
	cursor: pointer;
	text-decoration: none;
	transition: filter 0.2s ease, box-shadow 0.2s ease;
}
.sg-mp .btn-primary,
.sg-mp .sg-mp-btn-primary {
	padding: 12px 32px;
	border-radius: 10px;
	box-shadow: 0 2px 10px rgba(0, 125, 179, 0.28);
}
.sg-mp .btn-primary:hover,
.sg-mp .sg-mp-btn-primary:hover {
	box-shadow: 0 4px 18px rgba(0, 125, 179, 0.36);
}

/* ══════════════════════════════════════════════════════════════════
   PROFILE MARKETPLACE — Bootstrap 5 coexistence fixes
   Bootstrap is now loaded, so we only need targeted overrides to
   keep the branded colour scheme and prevent Kadence theme bleed.
   ══════════════════════════════════════════════════════════════════ */

/* ── Hero section ─────────────────────────────────────────────── */
.sg-mp .sg-mp-hero {
	background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
	border: 1px solid var(--sg-mp-border);
	border-radius: 16px;
	padding: 2.5rem 1.5rem;
	margin-bottom: 1.75rem;
}

.sg-mp .sg-mp-hero .display-6 {
	font-size: clamp(1.5rem, 3vw, 2rem);
	font-weight: 700;
	color: var(--sg-mp-text);
	line-height: 1.25;
	margin-bottom: 0.5rem;
}

/* ── Override Bootstrap's btn colours to use our brand gradient ── */
.sg-mp .btn-primary {
	color: #fff !important;
	background-color: #00a29c !important;
	background-image: linear-gradient(180deg, #00a29c 0%, #007db3 100%) !important;
	border-color: transparent !important;
}
.sg-mp .btn-primary:hover,
.sg-mp .btn-primary:focus {
	color: #fff !important;
	filter: brightness(1.06);
}

.sg-mp .btn-outline-primary {
	color: #007db3 !important;
	border-color: #00a29c !important;
	background: transparent !important;
}
.sg-mp .btn-outline-primary:hover,
.sg-mp .btn-outline-primary:focus {
	color: #fff !important;
	background-image: linear-gradient(180deg, #00a29c 0%, #007db3 100%) !important;
	background-color: transparent !important;
	border-color: transparent !important;
}

/* ── Card grid gap (Bootstrap g-4 = 1.5rem, we add it explicitly) ── */
.sg-mp .row.g-4 {
	--bs-gutter-x: 1.5rem;
	--bs-gutter-y: 1.5rem;
}

/* ── Card column sizing — ensure cards are at least visually correct
      even if Bootstrap's responsive prefixes don't fire for some reason ── */
@media (min-width: 576px) {
	.sg-mp [class*="col-sm-6"] { flex: 0 0 auto; width: 50%; }
}
@media (min-width: 992px) {
	.sg-mp [class*="col-lg-4"] { flex: 0 0 auto; width: 33.3333%; }
}

/* ── Prevent Bootstrap's modal backdrop from being clipped by theme ── */
.modal-backdrop { z-index: 1040; }
#sgMpLoginModal,
#sgMpTierPackagesModal { z-index: 1050; }

/* ── Bootstrap btn-close in modals — use theme-safe filter ── */
.sg-mp-modal .btn-close { filter: none; opacity: 0.6; }
.sg-mp-modal .btn-close:hover { opacity: 1; }

/* ── Suppress Bootstrap's default link underline inside cards ── */
.sg-mp .sg-mp-card-view-profile:hover { text-decoration: underline; }

/* ── Unread badge colour override ── */
.sg-mp .text-bg-info {
	background-color: var(--sg-mp-primary) !important;
	color: #fff !important;
}
