/* ── My Account - Add-Ons page ───────────────────────────────────────────── */

.switch-mobile-addons__category {
	margin-bottom: 32px;
}

.switch-mobile-addons__category-title {
	margin: 0 0 14px;
	font-size: 1.25rem;
	font-weight: 700;
	padding-bottom: 8px;
	border-bottom: 1px solid #e0e0e0;
}

.switch-mobile-addons__grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	gap: 20px;
}

.switch-mobile-addons__card {
	flex: 0 0 260px;
	width: 260px;
	box-sizing: border-box;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	padding: 20px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.switch-mobile-addons__card-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 8px;
}

.switch-mobile-addons__card-title {
	margin: 0;
	font-size: 1rem;
}

.switch-mobile-addons__card-price {
	font-weight: 700;
	white-space: nowrap;
}

.switch-mobile-addons__card-details {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.switch-mobile-addons__card-desc {
	flex-basis: 100%;
	margin: 0;
	font-size: .85rem;
	color: #666;
}

.switch-mobile-addons__badge {
	display: inline-block;
	background: #f0f0f0;
	border-radius: 4px;
	padding: 2px 8px;
	font-size: .8rem;
	font-weight: 600;
}

.switch-mobile-addons__badge--muted {
	background: #fafafa;
	color: #999;
	font-weight: 400;
}

.sm-addon-buy-btn {
	margin-top: auto!important;
}

.switch-mobile-addons__no-lines {
	margin-top: auto;
	font-size: .85em;
	color: #888;
}

/* ── Line selector modal ──────────────────────────────────────────────────── */

#sm-addon-modal {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
}

.sm-addon-line-options {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: 16px;
}

.sm-addon-line-option {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	border: 2px solid #e0e0e0;
	border-radius: 8px;
	padding: 12px 14px;
	cursor: pointer;
}

.sm-addon-line-option:has(input:checked) {
	border-color: #7b2cbf;
}

.sm-addon-line-option input {
	margin-top: 3px;
	flex-shrink: 0;
}

.sm-addon-line-option span {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.sm-addon-line-option small {
	color: #666;
	font-size: .85em;
}

/* ── Line select dropdown ─────────────────────────────────────────────────── */

.sm-addon-line-select-wrap {
	margin: 12px 0 4px;
}

.sm-addon-line-select {
	width: 100%;
	padding: 8px 10px;
	border: 1px solid #ccc;
	border-radius: 6px;
	font-size: .95em;
}

/* ── Availability message ─────────────────────────────────────────────────── */

#sm-addon-line-msg {
	font-size: .88em;
	margin: 6px 0 0;
}

.sm-addon-line-msg--error {
	color: #c00;
}

.sm-addon-line-msg--checking {
	color: #666;
	font-style: italic;
}
