/**
 * 3DCentral Mystery Box — Public Styles
 */

/* ===== Single Product Template ===== */

.tdc-mb-single-product .tdc-mb-hero {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
	padding-bottom: 40px;
	border-bottom: 3px solid #1d2327;
	margin-bottom: 40px;
}

.tdc-mb-hero-image {
	position: relative;
}

/* Badges */
.tdc-mb-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 12px;
}

.tdc-mb-badge-mystery {
	display: inline-block;
	background: #1d2327;
	color: #fff;
	padding: 4px 12px;
	border-radius: 3px;
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.tdc-mb-badge-season {
	display: inline-block;
	color: #fff;
	padding: 4px 12px;
	border-radius: 3px;
	font-size: 12px;
	font-weight: 600;
}

.tdc-mb-badge-monthly {
	display: inline-block;
	background: transparent;
	color: #8c8f94;
	padding: 4px 12px;
	border: 1px solid #dcdcde;
	border-radius: 3px;
	font-size: 12px;
}

/* Tagline */
.tdc-mb-tagline {
	font-size: 16px;
	font-style: italic;
	color: #50575e;
	margin: 8px 0 16px;
}

/* What's Inside */
.tdc-mb-whats-inside {
	background: #f9f9f9;
	border-radius: 8px;
	padding: 24px;
	margin: 24px 0;
}

.tdc-mb-whats-inside h3 {
	margin-top: 0;
	font-size: 20px;
}

.tdc-mb-features {
	list-style: none;
	padding: 0;
	margin: 16px 0 0;
}

.tdc-mb-features li {
	position: relative;
	padding-left: 24px;
	margin-bottom: 8px;
	line-height: 1.5;
}

.tdc-mb-features li::before {
	content: '\2713';
	position: absolute;
	left: 0;
	color: #00a32a;
	font-weight: 700;
}

/* Benefits Grid */
.tdc-mb-benefits {
	margin: 24px 0;
}

.tdc-mb-benefits h3 {
	font-size: 20px;
}

.tdc-mb-benefit-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
	margin-top: 12px;
}

.tdc-mb-benefit {
	padding: 16px;
	border: 1px solid #e2e4e7;
	border-radius: 6px;
	text-align: center;
}

.tdc-mb-benefit strong {
	display: block;
	margin-bottom: 4px;
}

.tdc-mb-benefit p {
	font-size: 14px;
	color: #50575e;
	margin: 0;
}

/* Shop Loop Badge */
.tdc-mb-loop-badge {
	display: inline-block;
	background: #1d2327;
	color: #fff;
	padding: 2px 8px;
	border-radius: 3px;
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-bottom: 8px;
}

/* Price Label */
.tdc-mb-price-label {
	display: block;
	font-size: 13px;
	color: #8c8f94;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-bottom: 2px;
}

/* ===== CTA Block ===== */

.tdc-mb-cta-block {
	background: #f9f9f9;
	border-left: 4px solid #1d2327;
	border-radius: 0 8px 8px 0;
	padding: 24px;
	margin: 24px 0;
}

.tdc-mb-cta-block h3 {
	margin-top: 0;
}

.tdc-mb-cta-price {
	font-size: 20px;
	font-weight: 700;
	margin: 12px 0;
}

.tdc-mb-cta-button {
	display: inline-block;
	background: #1d2327;
	color: #fff;
	padding: 12px 32px;
	border-radius: 4px;
	text-decoration: none;
	font-weight: 600;
	transition: background-color 0.2s;
}

.tdc-mb-cta-button:hover {
	background: #2c3338;
	color: #fff;
}

/* ===== My Account Page ===== */

.tdc-mb-account {
	max-width: 800px;
}

/* Status Card */
.tdc-mb-status-card {
	background: #fff;
	border: 1px solid #e2e4e7;
	border-top: 4px solid #1d2327;
	border-radius: 0 0 8px 8px;
	padding: 24px;
	margin-bottom: 32px;
}

.tdc-mb-status-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 8px;
}

.tdc-mb-status-header h3 {
	margin: 0;
}

.tdc-mb-status-badge {
	display: inline-block;
	padding: 4px 12px;
	border-radius: 20px;
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
}

.tdc-mb-status-active {
	background: #edf8ee;
	color: #00a32a;
}

.tdc-mb-status-cancelled {
	background: #fcf0f1;
	color: #d63638;
}

.tdc-mb-status-pending {
	background: #fff8e5;
	color: #996800;
}

.tdc-mb-status-on-hold {
	background: #f0f6fc;
	color: #2271b1;
}

.tdc-mb-status-expired {
	background: #f0f0f1;
	color: #8c8f94;
}

/* Details Table */
.tdc-mb-details-table {
	width: 100%;
	margin: 16px 0;
	border-collapse: collapse;
}

.tdc-mb-details-table th {
	text-align: left;
	padding: 8px 16px 8px 0;
	color: #8c8f94;
	font-weight: 400;
	width: 140px;
	vertical-align: top;
}

.tdc-mb-details-table td {
	padding: 8px 0;
}

.tdc-mb-season-dot {
	display: inline-block;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	margin-right: 6px;
	vertical-align: middle;
}

/* Cancel Section */
.tdc-mb-cancel-section {
	border-top: 1px solid #e2e4e7;
	margin-top: 20px;
	padding-top: 20px;
}

.tdc-mb-cancel-btn {
	color: #d63638 !important;
	border-color: #d63638 !important;
}

.tdc-mb-cancel-btn:hover {
	background: #fcf0f1 !important;
}

/* Resubscribe */
.tdc-mb-resubscribe {
	border-top: 1px solid #e2e4e7;
	margin-top: 20px;
	padding-top: 20px;
}

.tdc-mb-resubscribe-btn,
.tdc-mb-subscribe-btn {
	background: #1d2327 !important;
	color: #fff !important;
	border: none !important;
	padding: 10px 24px !important;
}

.tdc-mb-resubscribe-btn:hover,
.tdc-mb-subscribe-btn:hover {
	background: #2c3338 !important;
}

/* No Subscription */
.tdc-mb-no-subscription {
	text-align: center;
	padding: 48px 24px;
	background: #f9f9f9;
	border-radius: 8px;
}

.tdc-mb-no-subscription h3 {
	margin-top: 0;
}

/* Order Note */
.tdc-mb-order-note {
	background: #f9f9f9;
	border-left: 4px solid #1d2327;
	padding: 16px;
	margin: 16px 0;
	border-radius: 0 4px 4px 0;
}

.tdc-mb-order-note h3 {
	margin-top: 0;
}

.tdc-mb-catalog-examples,
.tdc-mb-offer-truth,
.tdc-mb-account-support {
	margin: 24px 0;
	padding: 20px;
	border: 1px solid #e2e4e7;
	border-radius: 8px;
	background: #fff;
}

.tdc-mb-catalog-examples__list {
	list-style: none;
	padding: 0;
	margin: 12px 0 0;
}

.tdc-mb-catalog-examples__list li {
	margin: 0 0 8px;
}

.tdc-mb-catalog-examples__family {
	color: #8c8f94;
	font-size: 13px;
}

.tdc-mb-offer-truth p,
.tdc-mb-account-support p {
	margin: 0 0 8px;
}

.tdc-mb-support-link {
	margin: 12px 0 0;
}

.tdc-mb-account-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 16px 0;
}

/* ===== Responsive ===== */

@media (max-width: 768px) {
	.tdc-mb-single-product .tdc-mb-hero {
		grid-template-columns: 1fr;
	}

	.tdc-mb-benefit-grid {
		grid-template-columns: 1fr;
	}

	.tdc-mb-status-header {
		flex-direction: column;
		align-items: flex-start;
		gap: 8px;
	}
}
