.mvh-portal-shell {
	max-width: 1360px;
	margin: 0 auto;
	padding: 0 0 2rem;
}

.mvh-portal-shell--guest {
	max-width: 620px;
}

.mvh-notice {
	margin-bottom: 1rem;
	padding: 1rem 1.1rem;
	border: 1px solid rgba(17, 14, 10, 0.08);
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.92);
	box-shadow: 0 16px 34px rgba(17, 14, 10, 0.08);
}

.mvh-notice-success {
	border-color: rgba(37, 123, 73, 0.18);
	background: #eef9f1;
	color: #23663f;
}

.mvh-notice-error {
	border-color: rgba(181, 43, 39, 0.18);
	background: #fff1f0;
	color: #9d2521;
}

.mvh-auth-card,
.mvh-portal-header,
.mvh-coupon-card,
.mvh-empty-state {
	border: 1px solid rgba(17, 14, 10, 0.08);
	border-radius: 26px;
	background: rgba(255, 255, 255, 0.94);
	box-shadow: 0 20px 42px rgba(17, 14, 10, 0.08);
}

.mvh-auth-card--single {
	padding: 2rem;
}

.mvh-auth-step,
.mvh-coupon-badge {
	display: inline-flex;
	align-items: center;
	padding: 0.46rem 0.86rem;
	border-radius: 999px;
	background: #f5e8d3;
	color: #755324;
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.mvh-coupon-badge {
	background: #181719;
	color: #f2ddae;
}

.mvh-auth-card h3,
.mvh-portal-header h3,
.mvh-coupon-card h3 {
	margin: 0.85rem 0 0.45rem;
	color: #171411;
	font-family: "Roboto", sans-serif;
	font-size: clamp(1.45rem, 2.2vw, 2rem);
	font-weight: 900;
	letter-spacing: -0.04em;
	line-height: 1.02;
	text-transform: uppercase;
}

.mvh-portal-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1rem;
	padding: 1.4rem 1.5rem;
}

.mvh-portal-header p,
.mvh-auth-card p,
.mvh-empty-state p,
.mvh-feature-status {
	margin: 0;
	color: #6b645c;
}

.mvh-portal-header p {
	font-size: 0.88rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.mvh-empty-state {
	padding: 1.6rem;
	text-align: center;
}

.mvh-access-form {
	display: grid;
	gap: 1rem;
	margin-top: 1.2rem;
}

.mvh-field-group {
	display: grid;
	gap: 0.45rem;
}

.mvh-field-group label {
	color: #6b645c;
	font-size: 0.8rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.mvh-field-group input {
	width: 100%;
	min-height: 56px;
	padding: 0.9rem 1rem;
	border: 1px solid #dac9b2;
	border-radius: 15px;
	background: #fffefb;
	color: #171411;
}

.mvh-field-group input:focus {
	outline: none;
	border-color: #c39c5d;
	box-shadow: 0 0 0 4px rgba(211, 167, 96, 0.12);
}

.mvh-form-note {
	margin-top: 1rem;
	font-size: 0.92rem;
	color: #6b645c;
}

.mvh-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0.78rem 1.2rem;
	border: 1px solid transparent;
	border-radius: 999px;
	background: #111112;
	color: #fff;
	font-size: 0.86rem;
	font-weight: 800;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	cursor: pointer;
	box-shadow: 0 14px 28px rgba(17, 14, 10, 0.16);
	transition: transform 0.18s ease, background 0.18s ease;
}

.mvh-button:hover {
	transform: translateY(-1px);
	background: #202022;
}

.mvh-button-secondary {
	background: transparent;
	border-color: #d6c7b1;
	color: #171411;
	box-shadow: none;
}

.mvh-button-muted {
	background: #ece6dd;
	color: #8d857c;
	box-shadow: none;
	cursor: not-allowed;
}

.mvh-auth-shell {
	display: grid;
	justify-items: center;
}

.mvh-coupon-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1rem;
}

.mvh-coupon-card--tile {
	display: flex;
	flex-direction: column;
	min-height: 310px;
	padding: 1.2rem;
}

.mvh-coupon-card__top {
	display: grid;
	gap: 0.5rem;
	padding-bottom: 1rem;
	border-bottom: 1px solid rgba(17, 14, 10, 0.08);
}

.mvh-coupon-card__top p {
	color: #6b645c;
	font-size: 0.93rem;
}

.mvh-feature-tile__status {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 1;
	padding: 1.1rem 0;
	text-align: center;
}

.mvh-feature-status {
	font-size: 0.95rem;
	font-weight: 700;
}

.mvh-countdown {
	color: #8a5a11;
}

.mvh-coupon-card__action {
	margin-top: auto;
}

.mvh-coupon-card__action form,
.mvh-coupon-card__action .mvh-button {
	width: 100%;
}

.mvh-coupon-card__action .mvh-button {
	min-height: 50px;
}

.mvh-feature-active {
	background: linear-gradient(180deg, rgba(255, 244, 219, 0.92), rgba(255, 255, 255, 0.94));
	border-color: rgba(195, 156, 93, 0.28);
}

.mvh-feature-redeemed {
	opacity: 0.74;
}

@media (max-width: 1180px) {
	.mvh-coupon-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 900px) {
	.mvh-portal-header {
		flex-direction: column;
		align-items: stretch;
	}

	.mvh-coupon-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.mvh-portal-shell {
		padding-bottom: 1.25rem;
	}

	.mvh-auth-card--single,
	.mvh-portal-header,
	.mvh-coupon-card--tile,
	.mvh-empty-state {
		padding: 1.2rem;
	}

	.mvh-coupon-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0.85rem;
	}

	.mvh-coupon-card--tile {
		min-height: 260px;
	}

	.mvh-button {
		width: 100%;
	}
}

/* Apple-inspired portal refresh */
.garage-deals-theme .mvh-portal-shell {
	max-width: 1200px;
}

.garage-deals-theme .mvh-portal-shell,
.garage-deals-theme .mvh-auth-card,
.garage-deals-theme .mvh-portal-header,
.garage-deals-theme .mvh-coupon-card,
.garage-deals-theme .mvh-empty-state,
.garage-deals-theme .mvh-notice {
	font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.garage-deals-theme .mvh-notice,
.garage-deals-theme .mvh-auth-card,
.garage-deals-theme .mvh-portal-header,
.garage-deals-theme .mvh-coupon-card,
.garage-deals-theme .mvh-empty-state {
	border: none;
	border-radius: 12px;
	background: #ffffff;
	box-shadow: rgba(0, 0, 0, 0.22) 3px 5px 30px 0;
}

.garage-deals-theme .mvh-notice-success {
	background: #eef6ff;
	color: #005bbf;
}

.garage-deals-theme .mvh-notice-error {
	background: #fff1f0;
	color: #b52b27;
}

.garage-deals-theme .mvh-auth-step,
.garage-deals-theme .mvh-coupon-badge {
	padding: 0;
	background: transparent;
	color: rgba(0, 0, 0, 0.48);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: -0.12px;
	text-transform: none;
}

.garage-deals-theme .mvh-auth-card h3,
.garage-deals-theme .mvh-portal-header h3,
.garage-deals-theme .mvh-coupon-card h3 {
	margin: 0.5rem 0 0.35rem;
	color: #1d1d1f;
	font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: clamp(1.5rem, 2vw, 2rem);
	font-weight: 600;
	line-height: 1.1;
	letter-spacing: -0.28px;
	text-transform: none;
}

.garage-deals-theme .mvh-portal-header p,
.garage-deals-theme .mvh-auth-card p,
.garage-deals-theme .mvh-empty-state p,
.garage-deals-theme .mvh-feature-status,
.garage-deals-theme .mvh-coupon-card__top p {
	color: rgba(0, 0, 0, 0.8);
	font-size: 0.875rem;
	line-height: 1.43;
	letter-spacing: -0.224px;
	text-transform: none;
}

.garage-deals-theme .mvh-field-group label {
	color: rgba(0, 0, 0, 0.48);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: -0.12px;
	text-transform: none;
}

.garage-deals-theme .mvh-field-group input {
	min-height: 52px;
	border: 1px solid rgba(0, 0, 0, 0.12);
	border-radius: 11px;
	background: #ffffff;
	color: #1d1d1f;
	font-size: 1rem;
}

.garage-deals-theme .mvh-field-group input:focus {
	border-color: #0071e3;
	box-shadow: 0 0 0 2px rgba(0, 113, 227, 0.18);
}

.garage-deals-theme .mvh-button {
	min-height: 44px;
	padding: 8px 18px;
	border-radius: 980px;
	background: #0071e3;
	color: #ffffff;
	font-size: 1.0625rem;
	font-weight: 400;
	letter-spacing: normal;
	text-transform: none;
	box-shadow: none;
}

.garage-deals-theme .mvh-button:hover {
	background: #0077ed;
}

.garage-deals-theme .mvh-button-secondary {
	background: transparent;
	color: #0066cc;
	border-color: currentColor;
}

.garage-deals-theme .mvh-button-secondary:hover {
	background: rgba(0, 102, 204, 0.06);
	color: #0066cc;
}

.garage-deals-theme .mvh-button-muted {
	background: #e8e8ed;
	color: rgba(0, 0, 0, 0.48);
}

.garage-deals-theme .mvh-coupon-grid {
	gap: 1.25rem;
}

.garage-deals-theme .mvh-coupon-card--tile {
	min-height: 280px;
	padding: 1.25rem;
}

.garage-deals-theme .mvh-coupon-card__top {
	padding-bottom: 0.9rem;
	border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
