/* =========================================
   MightyPress Custom Styles
   Supplements theme.json with effects
   that can't be expressed declaratively.
   ========================================= */

/* --- CSS Custom Properties --- */
:root {
	--mp-primary-glow: rgba(21, 114, 182, 0.2);
	--mp-accent-glow: rgba(0, 229, 255, 0.25);
	--mp-gradient-cyan: linear-gradient(135deg, #1e88c9, #67bfff);
	--mp-gradient-orange: linear-gradient(135deg, #ff8c1a, #ffc34d);
}

/* --- Global --- */
html {
	scroll-behavior: smooth;
	scroll-padding-top: 5rem;
}

/* --- Scroll Reveal Animations --- */
.mp-reveal {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity 0.65s ease, transform 0.65s ease;
	transition-delay: var(--mp-delay, 0ms);
}

.mp-reveal.mp-in-view {
	opacity: 1;
	transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
	.mp-reveal {
		opacity: 1;
		transform: none;
		transition: none;
	}
}

body {
	overflow-x: clip;
}

/* --- Gradient Text --- */
.gradient-text {
	background: var(--mp-gradient-cyan);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.gradient-text-accent {
	background: var(--mp-gradient-orange);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

/* --- Glow Effects --- */
.text-glow {
	filter: drop-shadow(0 0 20px rgba(21, 114, 182, 0.3))
	        drop-shadow(0 0 40px rgba(21, 114, 182, 0.15));
}

.border-glow {
	box-shadow: 0 0 15px rgba(21, 114, 182, 0.15),
	            inset 0 0 15px rgba(21, 114, 182, 0.05);
}

/* --- Card Hover --- */
.card-hover {
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-hover:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 30px rgba(21, 114, 182, 0.12);
}

/* --- Pulse Animation --- */
@keyframes pulse-glow {
	0%, 100% { opacity: 1; }
	50% { opacity: 0.6; }
}

.animate-pulse-glow {
	animation: pulse-glow 3s ease-in-out infinite;
}

/* --- Icon Styles (CSS mask – inherits currentColor) --- */
.mp-icon {
	display: inline-block;
	vertical-align: middle;
	flex-shrink: 0;
	background-color: currentColor;
	-webkit-mask: var(--mp-icon-url) no-repeat center / contain;
	mask: var(--mp-icon-url) no-repeat center / contain;
}

.mp-icon--xs { width: 13px; height: 13px; }
.mp-icon--sm { width: 16px; height: 16px; }
.mp-icon--md { width: 20px; height: 20px; }
.mp-icon--lg { width: 28px; height: 28px; }
.mp-icon--xl { width: 40px; height: 40px; }
.mp-icon--primary { color: var(--wp--preset--color--primary); }
.wp-block-column .mp-icon { display: block; margin-left: auto; margin-right: auto; }
.mp-icon--accent { color: var(--wp--preset--color--accent); }
.mp-icon--muted { color: var(--wp--preset--color--muted-foreground); }

/* =========================================
   Activity Dropdown (Header Bell)
   Only visible for logged-in users.
   ========================================= */

/* Hidden for guests */
.mp-activity-nav {
	display: none;
	position: relative;
}

body.logged-in .mp-activity-nav {
	display: flex;
	align-items: center;
}

.mp-activity-trigger {
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	width: 36px;
	height: 36px;
	padding: 0;
	border: none;
	border-radius: 50%;
	background: transparent;
	color: var(--wp--preset--color--foreground, #212630);
	cursor: pointer;
	transition: background 0.15s ease, color 0.15s ease;
}

.mp-activity-trigger:hover {
	background: rgba(21, 114, 182, 0.1);
	color: var(--wp--preset--color--primary, #1572b6);
}

.mp-activity-trigger svg,
.mp-activity-trigger .mp-icon {
	pointer-events: none;
}

/* Unread badge */
.mp-activity-badge {
	display: none;
	position: absolute;
	top: 2px;
	right: 2px;
	min-width: 16px;
	height: 16px;
	padding: 0 4px;
	border-radius: 999px;
	background: #ef4444;
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	line-height: 16px;
	text-align: center;
}

.mp-activity-badge.is-visible {
	display: block;
}

/* Dropdown panel */
.mp-activity-dropdown {
	display: none;
	position: absolute;
	top: calc(100% + 8px);
	right: 0;
	width: 360px;
	max-height: 420px;
	background: #ffffff;
	border: 1px solid var(--wp--preset--color--border, #dcdee2);
	border-radius: 0.75rem;
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
	overflow: hidden;
	z-index: 9999;
}

.mp-activity-dropdown.is-open {
	display: flex;
	flex-direction: column;
}

.mp-activity-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0.875rem 1rem;
	border-bottom: 1px solid var(--wp--preset--color--border, #dcdee2);
	font-size: 0.8125rem;
	font-weight: 700;
	color: var(--wp--preset--color--foreground, #212630);
}

.mp-activity-list {
	flex: 1;
	overflow-y: auto;
	overscroll-behavior: contain;
}

.mp-activity-item {
	display: block;
	padding: 0.75rem 1rem;
	border-bottom: 1px solid rgba(0, 0, 0, 0.05);
	text-decoration: none;
	color: inherit;
	transition: background 0.1s ease;
	cursor: pointer;
}

.mp-activity-item:last-child {
	border-bottom: none;
}

.mp-activity-item:hover {
	background: rgba(21, 114, 182, 0.04);
}

.mp-activity-item-header {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 0.5rem;
	margin-bottom: 0.25rem;
}

.mp-activity-item-subject {
	font-size: 0.8125rem;
	font-weight: 600;
	color: var(--wp--preset--color--foreground, #212630);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	min-width: 0;
}

.mp-activity-item-time {
	font-size: 0.6875rem;
	color: var(--wp--preset--color--muted-foreground, #676e7d);
	white-space: nowrap;
	flex-shrink: 0;
}

.mp-activity-item-body {
	font-size: 0.8125rem;
	color: var(--wp--preset--color--muted-foreground, #676e7d);
	line-height: 1.45;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.mp-activity-item-sender {
	font-weight: 600;
	color: var(--wp--preset--color--primary, #1572b6);
}

.mp-activity-empty {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 2rem 1rem;
	color: var(--wp--preset--color--muted-foreground, #676e7d);
	font-size: 0.8125rem;
	text-align: center;
}

.mp-activity-empty svg {
	opacity: 0.35;
}

.mp-activity-footer {
	display: block;
	padding: 0.75rem 1rem;
	border-top: 1px solid var(--wp--preset--color--border, #dcdee2);
	font-size: 0.8125rem;
	font-weight: 600;
	color: var(--wp--preset--color--primary, #1572b6) !important;
	text-align: center;
	text-decoration: none;
	transition: background 0.1s ease;
}

.mp-activity-footer:hover {
	background: rgba(21, 114, 182, 0.06);
	opacity: 1;
}

/* Responsive: narrower dropdown on mobile */
@media (max-width: 600px) {
	.mp-activity-dropdown {
		width: 300px;
		right: -60px;
	}
}

/* =========================================
   Support Page (My Account)
   ========================================= */

.mp-support-page h2 {
	margin: 0 0 0.25rem;
	font-size: 1.25rem;
	border: none;
	padding: 0;
}

.mp-support-page-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1.5rem;
}

.mp-support-page-desc {
	margin: 0;
	font-size: 0.875rem;
	color: var(--wp--preset--color--muted-foreground, #676e7d);
}

/* Shared button styles */
.mp-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.375rem;
	padding: 0.5rem 1rem;
	border: none;
	border-radius: 0.5rem;
	font-size: 0.875rem;
	font-weight: 600;
	cursor: pointer;
	transition: opacity 0.15s ease, box-shadow 0.15s ease;
	white-space: nowrap;
}

.mp-btn svg {
	width: 16px;
	height: 16px;
	flex-shrink: 0;
}

.mp-btn-primary {
	background: var(--wp--preset--color--primary, #1572b6);
	color: #fff;
}

.mp-btn-primary:hover {
	opacity: 0.9;
	box-shadow: 0 4px 12px rgba(21, 114, 182, 0.3);
}

.mp-btn-primary:disabled {
	opacity: 0.6;
	cursor: not-allowed;
	box-shadow: none;
}

.mp-btn-secondary {
	background: var(--wp--preset--color--muted, #f0f1f3);
	color: var(--wp--preset--color--foreground, #212630);
}

.mp-btn-secondary:hover {
	background: var(--wp--preset--color--border, #dcdee2);
}

/* Ticket list */
.mp-support-tickets {
	border: 1px solid var(--wp--preset--color--border, #dcdee2);
	border-radius: 0.75rem;
	overflow: hidden;
	background: var(--wp--preset--color--muted, #f0f1f3);
}

.mp-support-loading {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 2.5rem;
	color: var(--wp--preset--color--muted-foreground, #676e7d);
	font-size: 0.875rem;
}

.mp-spinner {
	display: inline-block;
	width: 18px;
	height: 18px;
	border: 2px solid var(--wp--preset--color--border, #dcdee2);
	border-top-color: var(--wp--preset--color--primary, #1572b6);
	border-radius: 50%;
	animation: mp-spin 0.6s linear infinite;
}

@keyframes mp-spin {
	to { transform: rotate(360deg); }
}

.mp-ticket-row {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 1rem 1.25rem;
	background: #fff;
	border-bottom: 1px solid var(--wp--preset--color--border, #dcdee2);
	text-decoration: none;
	color: inherit;
	transition: background 0.1s ease;
	cursor: pointer;
}

.mp-ticket-row:last-child {
	border-bottom: none;
}

.mp-ticket-row:hover {
	background: rgba(21, 114, 182, 0.03);
}

.mp-ticket-status-col {
	flex-shrink: 0;
}

.mp-ticket-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
}

.mp-ticket-dot-open {
	background: var(--wp--preset--color--success, #059669);
}

.mp-ticket-dot-closed {
	background: var(--wp--preset--color--muted-foreground, #676e7d);
}

.mp-ticket-main {
	flex: 1;
	min-width: 0;
}

.mp-ticket-subject {
	font-weight: 600;
	font-size: 0.875rem;
	color: var(--wp--preset--color--foreground, #212630);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	margin-bottom: 0.125rem;
}

.mp-ticket-preview {
	font-size: 0.8125rem;
	color: var(--wp--preset--color--muted-foreground, #676e7d);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.mp-ticket-meta-col {
	flex-shrink: 0;
	text-align: right;
}

.mp-ticket-time {
	font-size: 0.75rem;
	color: var(--wp--preset--color--muted-foreground, #676e7d);
	white-space: nowrap;
}

.mp-ticket-badge {
	display: inline-block;
	padding: 2px 8px;
	border-radius: 999px;
	font-size: 0.6875rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-top: 0.25rem;
}

.mp-ticket-badge-open {
	background: rgba(5, 150, 105, 0.1);
	color: var(--wp--preset--color--success, #059669);
}

.mp-ticket-badge-closed {
	background: var(--wp--preset--color--muted, #f0f1f3);
	color: var(--wp--preset--color--muted-foreground, #676e7d);
}

.mp-support-empty {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 3rem 1rem;
	text-align: center;
	color: var(--wp--preset--color--muted-foreground, #676e7d);
}

.mp-support-empty svg {
	width: 48px;
	height: 48px;
	opacity: 0.3;
	margin-bottom: 0.5rem;
}

.mp-support-empty-title {
	font-size: 1rem;
	font-weight: 600;
	color: var(--wp--preset--color--foreground, #212630);
}

.mp-support-empty-desc {
	font-size: 0.875rem;
}

/* ---- Modal ---- */

.mp-modal-overlay {
	position: fixed;
	inset: 0;
	z-index: 10000;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, 0.5);
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
	padding: 1rem;
}

.mp-modal {
	width: 100%;
	max-width: 520px;
	background: #fff;
	border-radius: 0.75rem;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
	overflow: hidden;
	animation: mp-modal-in 0.2s ease;
}

@keyframes mp-modal-in {
	from { opacity: 0; transform: translateY(16px) scale(0.97); }
	to   { opacity: 1; transform: translateY(0) scale(1); }
}

.mp-modal-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1.25rem 1.5rem;
	border-bottom: 1px solid var(--wp--preset--color--border, #dcdee2);
}

.mp-modal-header h3 {
	margin: 0;
	font-size: 1.0625rem;
	font-weight: 700;
	color: var(--wp--preset--color--foreground, #212630);
	border: none;
	padding: 0;
}

.mp-modal-close {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	padding: 0;
	border: none;
	border-radius: 0.375rem;
	background: transparent;
	color: var(--wp--preset--color--muted-foreground, #676e7d);
	cursor: pointer;
	transition: background 0.1s ease, color 0.1s ease;
}

.mp-modal-close:hover {
	background: var(--wp--preset--color--muted, #f0f1f3);
	color: var(--wp--preset--color--foreground, #212630);
}

.mp-modal-close svg {
	width: 18px;
	height: 18px;
}

.mp-modal-body {
	padding: 1.5rem;
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

.mp-form-group {
	display: flex;
	flex-direction: column;
	gap: 0.375rem;
}

.mp-form-label {
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--wp--preset--color--foreground, #212630);
}

.mp-required {
	color: #ef4444;
}

.mp-form-input,
.mp-form-textarea,
.mp-form-select {
	width: 100%;
	padding: 0.625rem 0.875rem;
	border: 1px solid var(--wp--preset--color--border, #dcdee2);
	border-radius: 0.5rem;
	background: var(--wp--preset--color--muted, #f0f1f3);
	color: var(--wp--preset--color--foreground, #212630);
	font-size: 0.875rem;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.mp-form-input:focus,
.mp-form-textarea:focus,
.mp-form-select:focus {
	outline: none;
	border-color: var(--wp--preset--color--primary, #1572b6);
	box-shadow: 0 0 0 3px rgba(21, 114, 182, 0.15);
	background: #fff;
}

.mp-form-textarea {
	resize: vertical;
	min-height: 100px;
	max-height: 300px;
}

.mp-char-count {
	font-size: 0.75rem;
	color: var(--wp--preset--color--muted-foreground, #676e7d);
	text-align: right;
}

.mp-form-error {
	padding: 0.625rem 0.875rem;
	border-radius: 0.375rem;
	background: rgba(239, 68, 68, 0.08);
	color: #dc2626;
	font-size: 0.8125rem;
	font-weight: 500;
}

.mp-modal-actions {
	display: flex;
	justify-content: flex-end;
	gap: 0.75rem;
	padding-top: 0.25rem;
}

@media (max-width: 600px) {
	.mp-support-page-header {
		flex-direction: column;
		gap: 0.75rem;
	}

	.mp-ticket-row {
		flex-wrap: wrap;
	}

	.mp-ticket-meta-col {
		width: 100%;
		text-align: left;
		display: flex;
		align-items: center;
		gap: 0.5rem;
	}

	.mp-modal-actions {
		flex-direction: column;
	}

	.mp-modal-actions .mp-btn {
		width: 100%;
		justify-content: center;
	}
}

/* --- Site Logo Icon (lightning bolt before site title) --- */
.site-header .mp-logo-link {
	display: flex;
	align-items: center;
	gap: 8px;
	text-decoration: none;
}

.site-header .mp-logo-link::before {
	content: "";
	display: inline-block;
	width: 34px;
	height: 34px;
	background-image: url("../images/mightypress-logo.png");
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	flex-shrink: 0;
}

/* --- Sticky Header --- */
.site-header {
	position: sticky !important;
	top: 0 !important;
	z-index: 1000 !important;
	background: rgba(255, 255, 255, 0.85) !important;
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	border-bottom: 1px solid var(--wp--preset--color--border);
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}


.home #features, .home #woo-features, .home #pricing {
	border-bottom: 1px solid #dcdcdc;
}

/* Navigation overlay mobile menu styling */
.wp-block-navigation__responsive-container.is-menu-open {
	background: rgba(255, 255, 255, 0.97) !important;
}

.wp-block-navigation__responsive-container.is-menu-open
.wp-block-navigation__responsive-container-content {
	padding-top: 2rem;
}

/* Hide the buttons on mobile inside header flex */
@media (max-width: 600px) {
	.site-header .wp-block-buttons {
		display: none;
	}
}

/* --- Header Dashboard Button Icon --- */
.site-header .wp-block-button__link .mp-btn-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	vertical-align: middle;
	font-size: 18px;
	width: 20px;
	height: 20px;
	line-height: 1;
}

.site-header .wp-block-button__link .mp-btn-divider {
	display: inline-block;
	width: 1px;
	height: 16px;
	background: currentColor;
	opacity: 0.35;
	vertical-align: middle;
	margin: 0 8px;
}

/* Hide mini-cart when empty (badge is hidden) */
.wc-block-mini-cart:not(:has(.wc-block-mini-cart__badge:not([hidden]))) {
	display: none;
}

/* --- Provisioning Status Rocket --- */
.mp-icon--rocket {
	width: 64px;
	height: 64px;
	display: block;
	margin: 0 auto;
	color: var(--wp--preset--color--primary);
}

/* --- Hero Section --- */
.hero-section .wp-block-cover {
	min-height: 100vh !important;
}

.hero-section .wp-block-cover__image-background {
	opacity: 1 !important;
	margin-block-start: 0 !important;
}

.about-hero .wp-block-cover__image-background {
	will-change: transform;
	transform-origin: center top;
	/* Scale up slightly so the image never shows a gap when shifted down on page load */
	scale: 1.15;
}

.hero-section .wp-block-cover__background {
	opacity: 0 !important;
}

.page-template-page-about .about-hero.hero-section::after {
	content: '';
	position: absolute;
	inset: 0;
		background: radial-gradient(ellipse at center, #00000094 30%, rgb(0 0 0 / 80%) 75%, rgb(0 0 0 / 83%) 100%);
	z-index: 0;
}

.page-template-page-hosting-features .hosting-features-hero.hero-section::after {
	content: '';
	position: absolute;
	inset: 0;
	background: radial-gradient(ellipse at center, #000000b0 30%, rgb(0 0 0 / 70%) 75%, rgb(0 0 0 / 29%) 100%);
	z-index: 0;
}

.page-template-page-hosting-features .wp-site-blocks>* {
		margin-block-start: 0rem;
}

.hero-section .wp-block-cover__inner-container {
	position: relative;
	z-index: 2;
}

/* drop-shadow on the container shadows all rendered pixels uniformly —
   works with gradient-text, icons, and normal text alike. */
.hero-section .wp-block-cover__inner-container {
	filter: drop-shadow(0 2px 30px rgba(0, 0, 0, 0.7))
	drop-shadow(0 9px 30px rgba(0, 0, 0, 0.5));
}

/* --- About Hero Text Readability --- */
.about-hero .wp-block-cover__inner-container {
	/* background: rgb(0 0 0 / 46%); */
	/* backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px); */
	border-radius: 1.25rem;
	padding: 3rem 2.5rem;
}

/* --- Logos Ticker --- */
.logos-ticker {
	overflow: hidden;
	-webkit-mask-image: linear-gradient(to right, transparent 0%, #000 12%, #000 88%, transparent 100%);
	mask-image: linear-gradient(to right, transparent 0%, #000 12%, #000 88%, transparent 100%);
}

.logos-ticker__track {
	display: flex;
	align-items: center;
	gap: 3.5rem;
	width: max-content;
	animation: logos-scroll 35s linear infinite;
}

.logos-ticker__track:hover {
	animation-play-state: paused;
}

.logos-ticker__item {
	display: flex;
	align-items: center;
	flex-shrink: 0;
	opacity: 0.4;
	transition: opacity 0.3s;
}

.logos-ticker__item:hover {
	opacity: 0.75;
}

.logos-ticker__logo {
	height: 28px;
	width: auto;
	display: block;
}

@keyframes logos-scroll {
	from { transform: translateX(0); }
	to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
	.logos-ticker__track {
		animation: none;
	}
}

/* --- Feature Grid --- */
.feature-grid {
	display: grid !important;
	grid-template-columns: repeat(4, 1fr);
	gap: 1rem;
}

@media (max-width: 1024px) {
	.feature-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 600px) {
	.feature-grid {
		grid-template-columns: 1fr;
	}
}

/* --- Pricing Table (Dark) --- */
.pricing-table--dark {
	background: #1a2332;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 0.75rem;
	overflow: hidden;
	max-width: 64rem;
	margin: 0 auto;
}

.pricing-table--dark .pricing-row {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1fr;
	align-items: center;
	padding: 1.125rem 1.75rem;
	font-size: 0.9375rem;
	font-family: 'JetBrains Mono', monospace;
	transition: background-color 0.2s;
}

.pricing-table--dark .pricing-row span {
	color: rgba(255, 255, 255, 0.85);
	text-align: center;
}

.pricing-table--dark .pricing-row span:first-child {
	text-align: left;
	font-weight: 600;
	font-family: inherit;
	color: #fff;
}

.pricing-table--dark .pricing-row:hover {
	background: rgba(255, 255, 255, 0.03);
}

.pricing-table--dark .pricing-row--header {
	background: rgba(255, 255, 255, 0.06);
	font-weight: 700;
	font-size: 0.9375rem;
}

.pricing-table--dark .pricing-row--header span {
	color: #7ec8f0;
	font-family: inherit;
}

.pricing-table--dark .pricing-row--header span:first-child {
	color: #7ec8f0;
}

.pricing-table--dark .pricing-row--popular {
	background: rgba(21, 114, 182, 0.1);
	border-left: 3px solid var(--wp--preset--color--primary);
}

.pricing-table--dark .pricing-row + .pricing-row {
	border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.pricing-badge--popular {
	margin-left: 0.5rem;
	display: inline-block;
	background: rgba(255, 193, 7, 0.15);
	color: #ffc107 !important;
	padding: 2px 10px;
	border-radius: 9999px;
	font-size: 0.75rem;
	font-weight: 600;
	font-family: inherit;
}

@media (max-width: 768px) {
	.pricing-table--dark .pricing-row {
		grid-template-columns: 1fr;
		gap: 0.25rem;
		text-align: center;
		padding: 1rem;
	}

	.pricing-table--dark .pricing-row span,
	.pricing-table--dark .pricing-row span:first-child {
		text-align: center;
	}
}

/* --- Compare Features Table --- */
.mp-compare-table {
	background: var(--wp--preset--color--card);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 0.75rem;
	overflow: hidden;
}

.mp-compare-table table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.9375rem;
}

.mp-compare-table thead tr {
	background: rgba(0, 0, 0, 0.02);
}

.mp-compare-table th {
	padding: 1.25rem 1.5rem;
	text-align: center;
	font-size: 0.875rem;
	font-weight: 400;
	color: var(--wp--preset--color--muted-foreground);
	border-bottom: 1px solid var(--wp--preset--color--border);
	vertical-align: bottom;
	line-height: 1.5;
}

.mp-compare-table th strong {
	display: block;
	font-size: 0.9375rem;
	font-weight: 700;
	color: var(--wp--preset--color--foreground);
	margin-top: 0.125rem;
}

.mp-compare-table__feature-col {
	text-align: left !important;
	font-weight: 600 !important;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--wp--preset--color--primary) !important;
	font-size: 0.75rem !important;
}

.mp-compare-table__popular {
	background: rgba(255, 248, 230, 0.5);
}

.mp-compare-table__popular-label {
	color: var(--wp--preset--color--primary);
	font-weight: 600;
}

.mp-compare-table__badge {
	display: inline-block;
	font-size: 0.6875rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--wp--preset--color--muted-foreground);
	margin-top: 0.25rem;
}

.mp-compare-table td {
	padding: 0.875rem 1.5rem;
	border-bottom: 1px solid var(--wp--preset--color--border);
	text-align: center;
	color: var(--wp--preset--color--foreground);
}

.mp-compare-table td:first-child {
	text-align: left;
	font-weight: 500;
	color: var(--wp--preset--color--foreground);
}

.mp-compare-table tbody tr:hover {
	background: rgba(0, 0, 0, 0.02);
}

/* Tier 2 column highlight */
.mp-compare-table td:nth-child(3) {
	background: rgba(255, 248, 230, 0.3);
}

.mp-compare-table thead th:nth-child(3) {
	background: rgba(255, 248, 230, 0.5);
}

/* Tier 3 column subtle highlight */
.mp-compare-table td:nth-child(4),
.mp-compare-table thead th:nth-child(4) {
	background: rgba(0, 0, 0, 0.02);
}

/* Section header rows */
.mp-compare-table__section td {
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--wp--preset--color--primary) !important;
	background: rgba(0, 0, 0, 0.03) !important;
	padding: 0.75rem 1.5rem;
}

/* Check and dash icons */
.mp-check {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	font-size: 0.8125rem;
	font-weight: 700;
}

.mp-check--blue {
	background: rgba(21, 114, 182, 0.12);
	color: var(--wp--preset--color--primary);
}

.mp-check--gold {
	background: rgba(255, 193, 7, 0.15);
	color: #d4a017;
}

.mp-dash {
	color: var(--wp--preset--color--muted-foreground);
	opacity: 0.4;
	font-size: 1rem;
}

/* Mobile responsive */
@media (max-width: 768px) {
	.mp-compare-table {
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}

	.mp-compare-table table {
		min-width: 600px;
	}

	.mp-compare-table th,
	.mp-compare-table td {
		padding: 0.75rem 1rem;
		font-size: 0.8125rem;
	}
}

/* --- CTA Card --- */

#cta-full-card h2, #cta-full-card p{
	color:#fff;
}

#cta-full-card .mp-icon--primary{
	color: #56daf4;
}

.cta-card {
	background: linear-gradient(135deg, rgb(0 229 255 / 0%), #ffffff26, rgb(160 217 255 / 0%)) !important;
	transition: box-shadow 0.8s ease;
}

.cta-card .wp-block-button:not(.is-style-outline) .wp-block-button__link {
	transition: box-shadow 0.8s ease, background 0.8s ease, border-color 0.8s ease;
	border: 1px solid transparent;
}

.cta-card:hover {
	box-shadow: 0 0 20px rgba(0, 229, 255, 0.3),
	            0 0 40px rgba(0, 229, 255, 0.15);
}

.cta-card:hover .wp-block-button:not(.is-style-outline) .wp-block-button__link {
	box-shadow: 0 0 15px rgba(0, 229, 255, 0.4),
	            0 0 30px rgba(0, 229, 255, 0.2);
	background: #03416f;
	border-color: #56b7ff;
}

/* --- Button Enhancements --- */
.wp-block-button__link {
	transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
}

.wp-block-button__link:hover {
}

.wp-block-button:not(.is-style-outline) .wp-block-button__link:hover {
	box-shadow: 0 12px 40px var(--mp-primary-glow);
}

/* --- Advantages Grid --- */
.advantages-grid {
	display: grid !important;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
	max-width: 70rem;
	margin-left: auto;
	margin-right: auto;
}

@media (max-width: 1024px) {
	.advantages-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 600px) {
	.advantages-grid {
		grid-template-columns: 1fr;
	}
}

/* --- InnerBlocks Component Styles --- */

/* Badge pill (hero sections) */
.mp-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	border: 1px solid rgba(0, 229, 255, 0.3);
	background: rgba(0, 229, 255, 0.1);
	color: #d8d8d8;
	padding: 0.375rem 1rem;
	border-radius: 9999px;
	font-size: 0.875rem;
	width: fit-content;
	margin-top: 1rem;
	margin-left: auto;
	margin-right: auto;
}
.mp-badge p {
	margin: 0;
	font-size: inherit;
	color: inherit;
}

/* Icon box (advantage/value card grids) */
.mp-icon-box {
	width: 2.5rem;
	height: 2.5rem;
	display: flex !important;
	align-items: center;
	justify-content: center;
	border-radius: 0.5rem;
	background: rgba(0, 229, 255, 0.1);
	margin-bottom: 1rem;
}
.mp-icon-box--accent {
	background: rgba(255, 140, 25, 0.1);
	border: 1px solid rgba(255, 140, 25, 0.2);
}
.mp-icon-box--bordered {
	border: 1px solid rgba(0, 229, 255, 0.2);
	width: 3rem;
	height: 3rem;
	border-radius: 0.75rem;
}

/* Hero quote with decorative lines */
.hero-quote {
	text-align: center;
	margin-top: 1.25rem;
}
.hero-quote p {
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	font-style: italic;
	font-size: 0.875rem;
	color: #dddddd;
	margin: 0;
}
.hero-quote p::before,
.hero-quote p::after {
	content: '';
	display: block;
	width: 2rem;
	height: 1px;
	background: var(--wp--preset--color--primary);
	flex-shrink: 0;
}

/* --- WooCommerce --- */
.woocommerce {
	color: var(--wp--preset--color--foreground);
}

.woocommerce a {
	color: var(--wp--preset--color--primary);
}

.woocommerce a:hover {
	opacity: 0.8;
}

.woocommerce .woocommerce-MyAccount-navigation ul {
	list-style: none;
	padding: 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul{
	margin:0;
}

.woocommerce .woocommerce-MyAccount-navigation ul li {
	border-bottom: 1px solid #f1f1f1;
}

.woocommerce .woocommerce-MyAccount-navigation ul li a {
	display: block;
	padding: 0.5rem 1rem;
	border-radius: 0.375rem;
	color: var(--wp--preset--color--muted-foreground);
	transition: all 0.2s;
}

.woocommerce .woocommerce-MyAccount-navigation ul li.is-active a,
.woocommerce .woocommerce-MyAccount-navigation ul li a:hover {
	background: rgba(21, 114, 182, 0.1);
	color: var(--wp--preset--color--primary);
}

.woocommerce form .form-row label {
	display: block;
	margin-bottom: 0.25rem;
	color: var(--wp--preset--color--foreground);
	font-weight: 500;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
	width: 100%;
	padding: 0.5rem 0.75rem;
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 0.375rem;
	background: var(--wp--preset--color--background);
	color: var(--wp--preset--color--foreground);
	font-size: 0.875rem;
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus {
	outline: none;
	border-color: var(--wp--preset--color--primary);
	box-shadow: 0 0 0 2px rgba(21, 114, 182, 0.2);
}

.woocommerce .button,
.woocommerce button.button {
	background: var(--wp--preset--color--primary) !important;
	color: var(--wp--preset--color--primary-foreground) !important;
	padding: 0.5rem 1.5rem !important;
	border-radius: 0.375rem !important;
	font-weight: 500 !important;
	border: none !important;
	cursor: pointer;
	transition: opacity 0.2s !important;
}

.woocommerce .button:hover,
.woocommerce button.button:hover {
	opacity: 0.9;
}

.woocommerce-message,
.woocommerce-info {
	border-top-color: var(--wp--preset--color--primary) !important;
	background: rgba(21, 114, 182, 0.05);
	color: var(--wp--preset--color--foreground);
	padding: 1rem !important;
	margin-bottom: 1rem !important;
}

.woocommerce-error {
	border-top-color: #ef4444 !important;
	background: rgba(239, 68, 68, 0.05);
	color: var(--wp--preset--color--foreground);
	padding: 1rem !important;
	margin-bottom: 1rem !important;
}

.woocommerce-MyAccount-content {
	color: var(--wp--preset--color--foreground);
}

.woocommerce table.shop_table {
	border-color: var(--wp--preset--color--border);
}

.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
	border-color: var(--wp--preset--color--border);
	padding: 0.75rem;
	color: var(--wp--preset--color--foreground);
}

/* =========================================
   My Account — Modern Design
   Scoped to body.woocommerce-account so the
   dark landing page is untouched.
   ========================================= */

/* --- Design tokens --- */
body.woocommerce-account {
	--mp-account-sidebar-width: 260px;

	--wp--preset--color--background: #f0f2f5;
	--wp--preset--color--foreground: #212630;
	--wp--preset--color--card: #ffffff;
	--wp--preset--color--primary: #1572b6;
	--wp--preset--color--primary-foreground: #ffffff;
	--wp--preset--color--secondary: #f0f1f3;
	--wp--preset--color--muted: #f0f1f3;
	--wp--preset--color--muted-foreground: #676e7d;
	--wp--preset--color--accent: #00e5ff;
	--wp--preset--color--accent-foreground: #ffffff;
	--wp--preset--color--border: #dcdee2;
	--wp--preset--color--success: #059669;

	--mp-primary-glow: rgba(21, 114, 182, 0.15);
	--mp-gradient-cyan: linear-gradient(135deg, #1572b6, #1e88c9);

	background-color: var(--wp--preset--color--background);
	color: var(--wp--preset--color--foreground);
}

/* Widen FSE constrained layout */

#our-values {
	border-bottom: 1px solid #dcdcdc;
}

/* =========================================
   My Account — Layout & Component Overrides
   ========================================= */

/* Widen FSE constrained layout on account pages */
body.woocommerce-account .is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
	max-width: 1400px !important;
}

/* Hide FSE page title — WooCommerce provides its own heading */
body.woocommerce-account .wp-block-post-title {
	display: none !important;
}

/* --- Light header --- */
body.woocommerce-account .site-header {
	background: rgba(255, 255, 255, 0.9) !important;
	border-bottom: 1px solid var(--wp--preset--color--border);
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

body.woocommerce-account .wp-block-navigation__responsive-container.is-menu-open {
	background: rgba(255, 255, 255, 0.97) !important;
}

body.woocommerce-account .gradient-text {
	background: linear-gradient(135deg, #1572b6, #1e88c9);
	-webkit-background-clip: text;
	background-clip: text;
}

body.woocommerce-account .site-header .mp-icon--primary {
	color: #00e5ff;
}

/* ---- Unwrap default WooCommerce flex so our layout takes over ---- */
/* Inputs use muted bg per style guide */
body.woocommerce-account .woocommerce form .form-row input.input-text,
body.woocommerce-account .woocommerce form .form-row textarea,
body.woocommerce-account .woocommerce form .form-row select {
	background: var(--wp--preset--color--muted);
}

/* --- Narrower nav layout --- */
body.woocommerce-account .woocommerce {
	display: block;
}

.woocommerce-account .woocommerce-MyAccount-content{
	float: none;
	width: auto;
}

.woocommerce-account .woocommerce-MyAccount-navigation {
	float: none;
	width: auto;
	padding:10px;
}

.woocommerce .woocommerce-MyAccount-navigation ul li a {
	font-size: 1em;
}

/* ================================================
   Two-column account layout
   ================================================ */

.mp-account-layout {
	display: flex;
	gap: 1.5rem;
	align-items: flex-start;
	padding: 2rem 0;
}

/* ---- Sidebar ---- */

.mp-account-sidebar {
	flex: 0 0 var(--mp-account-sidebar-width);
	width: var(--mp-account-sidebar-width);
	position: sticky;
	top: 90px;
}

/* User profile card */
.mp-account-profile {
	display: flex;
	align-items: center;
	gap: 0.875rem;
	padding: 1.125rem;
	background: #ffffff;
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 0.75rem;
	margin-bottom: 0.625rem;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.page-id-98 main{
	padding-top: 0;
}

/* Initials avatar */
.mp-account-avatar {
	flex-shrink: 0;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: var(--mp-gradient-cyan);
	color: #ffffff;
	font-size: 0.9375rem;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	letter-spacing: 0.03em;
}

.mp-account-profile-info {
	display: flex;
	flex-direction: column;
	gap: 0.125rem;
	min-width: 0;
}

.mp-account-display-name {
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--wp--preset--color--foreground);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.mp-account-email {
	font-size: 0.75rem;
	color: var(--wp--preset--color--muted-foreground);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* ---- Navigation card ---- */

.woocommerce-MyAccount-navigation {
	background: #ffffff;
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 0.75rem;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
	overflow: hidden;
}

.woocommerce-MyAccount-navigation ul {
	list-style: none;
	padding: 0.5rem;
	margin: 0;
}

.woocommerce-MyAccount-navigation ul li {
	margin: 0;
}

.woocommerce-MyAccount-navigation ul li a {
	display: flex;
	align-items: center;
	gap: 0.625rem;
	padding: 0.625rem 0.875rem;
	border-radius: 0.5rem;
	color: var(--wp--preset--color--muted-foreground);
	font-size: 0.875rem;
	font-weight: 500;
	text-decoration: none;
	transition: background 0.15s ease, color 0.15s ease;
}

.woocommerce-MyAccount-navigation ul li.is-active a,
.woocommerce-MyAccount-navigation ul li a[aria-current="page"] {
	background: rgba(21, 114, 182, 0.1);
	color: var(--wp--preset--color--primary);
}

.woocommerce-MyAccount-navigation ul li a:hover:not([aria-current="page"]) {
	background: var(--wp--preset--color--muted);
	color: var(--wp--preset--color--foreground);
	opacity: 1;
}

/* Logout gets a red tint on hover */
.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--customer-logout a:hover {
	background: rgba(239, 68, 68, 0.08);
	color: #dc2626;
}

/* Nav SVG icons */
.mp-nav-icon {
	width: 16px;
	height: 16px;
	flex-shrink: 0;
	opacity: 0.75;
	transition: opacity 0.15s ease;
}

.woocommerce-MyAccount-navigation ul li.is-active .mp-nav-icon,
.woocommerce-MyAccount-navigation ul li a[aria-current="page"] .mp-nav-icon {
	opacity: 1;
}

/* ---- Main content column ---- */

.mp-account-main {
	flex: 1;
	min-width: 0;
}

.woocommerce-MyAccount-content {
	background: #ffffff;
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 0.75rem;
	padding: 2rem;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
	color: var(--wp--preset--color--foreground);
}

/* ================================================
   Dashboard
   ================================================ */

.mp-dashboard-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1.75rem;
}

.mp-dashboard-greeting {
	font-size: 1.375rem;
	font-weight: 700;
	color: var(--wp--preset--color--foreground);
	margin: 0 0 0.3rem;
	line-height: 1.3;
}

.mp-dashboard-subtext {
	font-size: 0.875rem;
	color: var(--wp--preset--color--muted-foreground);
	margin: 0;
}

.mp-dashboard-subtext a {
	color: var(--wp--preset--color--primary);
	text-decoration: none;
}

.mp-dashboard-subtext a:hover {
	text-decoration: underline;
	opacity: 1;
}

.mp-dashboard-date {
	font-size: 0.8125rem;
	color: var(--wp--preset--color--muted-foreground);
	white-space: nowrap;
	padding-top: 0.25rem;
}

/* Quick-action cards grid */
.mp-dashboard-cards {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
	gap: 1rem;
	margin-bottom: 2rem;
}

.mp-dashboard-card {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 1.25rem;
	background: var(--wp--preset--color--muted);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 0.625rem;
	text-decoration: none;
	color: var(--wp--preset--color--foreground);
	transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.mp-dashboard-card:hover {
	border-color: var(--wp--preset--color--primary);
	box-shadow: 0 4px 12px rgba(21, 114, 182, 0.1);
	background: #ffffff;
	color: var(--wp--preset--color--foreground);
	opacity: 1;
}

.mp-dashboard-card-icon {
	flex-shrink: 0;
	width: 40px;
	height: 40px;
	border-radius: 0.5rem;
	display: flex;
	align-items: center;
	justify-content: center;
}

.mp-dashboard-card-icon svg {
	width: 20px;
	height: 20px;
}

.mp-dashboard-card-icon--orders {
	background: rgba(21, 114, 182, 0.12);
	color: #1572b6;
}

.mp-dashboard-card-icon--address {
	background: rgba(5, 150, 105, 0.12);
	color: #059669;
}

.mp-dashboard-card-icon--account {
	background: rgba(124, 58, 237, 0.12);
	color: #7c3aed;
}

.mp-dashboard-card-body {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
	min-width: 0;
}

.mp-dashboard-card-label {
	font-size: 0.6875rem;
	color: var(--wp--preset--color--muted-foreground);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.mp-dashboard-card-value {
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--wp--preset--color--foreground);
	line-height: 1;
}

.mp-dashboard-card-arrow {
	width: 16px;
	height: 16px;
	color: var(--wp--preset--color--muted-foreground);
	flex-shrink: 0;
	transition: transform 0.15s ease, color 0.15s ease;
}

.mp-dashboard-card:hover .mp-dashboard-card-arrow {
	transform: translateX(3px);
	color: var(--wp--preset--color--primary);
}

/* ================================================
   Content area: forms, tables, headings
   ================================================ */

/* Section headings */
.woocommerce-MyAccount-content h2,
.woocommerce-MyAccount-content h3 {
	font-size: 1.0625rem;
	font-weight: 700;
	color: var(--wp--preset--color--foreground);
	margin-top: 0;
	margin-bottom: 1.25rem;
	padding-bottom: 0.75rem;
	border-bottom: 1px solid var(--wp--preset--color--border);
}

/* Form labels */
body.woocommerce-account .woocommerce form .form-row label {
	display: block;
	margin-bottom: 0.375rem;
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--wp--preset--color--foreground);
}

/* Inputs */
body.woocommerce-account .woocommerce form .form-row input.input-text,
body.woocommerce-account .woocommerce form .form-row textarea,
body.woocommerce-account .woocommerce form .form-row select {
	width: 100%;
	padding: 0.625rem 0.875rem;
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 0.5rem;
	background: var(--wp--preset--color--muted);
	color: var(--wp--preset--color--foreground);
	font-size: 0.875rem;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

body.woocommerce-account .woocommerce form .form-row input.input-text:focus,
body.woocommerce-account .woocommerce form .form-row textarea:focus,
body.woocommerce-account .woocommerce form .form-row select:focus {
	outline: none;
	border-color: var(--wp--preset--color--primary);
	box-shadow: 0 0 0 3px rgba(21, 114, 182, 0.15);
	background: #ffffff;
}

/* Buttons */
body.woocommerce-account .woocommerce .button,
body.woocommerce-account .woocommerce button.button {
	background: var(--wp--preset--color--primary) !important;
	color: #ffffff !important;
	padding: 0.625rem 1.5rem !important;
	border-radius: 0.5rem !important;
	font-weight: 600 !important;
	font-size: 0.875rem !important;
	border: none !important;
	cursor: pointer;
	transition: opacity 0.15s ease, box-shadow 0.15s ease !important;
}

body.woocommerce-account .woocommerce .button:hover,
body.woocommerce-account .woocommerce button.button:hover {
	opacity: 0.9;
	box-shadow: 0 4px 12px rgba(21, 114, 182, 0.3) !important;
}

/* Notices */
body.woocommerce-account .woocommerce-message,
body.woocommerce-account .woocommerce-info {
	border-top-color: var(--wp--preset--color--primary) !important;
	background: rgba(21, 114, 182, 0.06);
	border-radius: 0.5rem;
	color: var(--wp--preset--color--foreground);
	padding: 1rem 1.25rem !important;
	margin-bottom: 1.25rem !important;
}

body.woocommerce-account .woocommerce-error {
	border-top-color: #ef4444 !important;
	background: rgba(239, 68, 68, 0.05);
	border-radius: 0.5rem;
	color: var(--wp--preset--color--foreground);
	padding: 1rem 1.25rem !important;
	margin-bottom: 1.25rem !important;
}

/* Orders table */
body.woocommerce-account .woocommerce table.shop_table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 0.5rem;
	overflow: hidden;
	/* font-size: 0.875rem; */
}

body.woocommerce-account .woocommerce table.shop_table th {
	background: var(--wp--preset--color--muted);
	border-color: var(--wp--preset--color--border);
	padding: 0.75rem 1rem;
	font-size: 0.6875rem;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--wp--preset--color--muted-foreground);
	font-weight: 600;
}

body.woocommerce-account .woocommerce table.shop_table td {
	border-color: var(--wp--preset--color--border);
	padding: 0.875rem 1rem;
	color: var(--wp--preset--color--foreground);
}

body.woocommerce-account .woocommerce table.shop_table tr:hover td {
	background: rgba(21, 114, 182, 0.03);
}

/* --- My Hosting Plans Title --- */
.my-hosting-plans-title {
	font-size: 2.25rem;
	font-weight: 700;
	margin: 0 0 1.5rem;
	padding: 0;
	border: none;
	color: #111827;
}

/* --- Subscriptions Table: Product Name link --- */
.woocommerce-orders-table .subscription-product-name a {
	color: #111827;
	font-weight: inherit;
	font-size: 0.875rem;
	text-decoration: none;
}

.woocommerce-orders-table .subscription-product-name a:hover {
	color: #1572b6;
}

/* --- Subscription Product Header --- */
body.woocommerce-account .subscription-product-header {
	display: flex;
	align-items: center;
	gap: 1rem;
	flex-wrap: wrap;
	margin-bottom: 1.5rem;
}

body.woocommerce-account .subscription-product-name {
	font-size: 2.5rem;
	font-weight: 700;
	margin: 0;
	border: none;
	padding: 0;
}

/* Status badge */
.subscription-status-badge {
	display: inline-flex;
	align-items: center;
	padding: 0.25rem 0.875rem;
	border-radius: 999px;
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	line-height: 1.5;
	white-space: nowrap;
}

.subscription-status-badge--active {
	background: rgba(5, 150, 105, 0.1);
	color: #059669;
	border: 1px solid #059669;
}

.subscription-status-badge--on-hold {
	background: rgba(234, 179, 8, 0.12);
	color: #b45309;
	border: 1px solid #b45309;
}

.subscription-status-badge--cancelled {
	background: rgba(239, 68, 68, 0.1);
	color: #dc2626;
	border: 1px solid #dc2626;
}

.subscription-status-badge--expired {
	background: rgba(107, 114, 128, 0.1);
	color: #6b7280;
	border: 1px solid #6b7280;
}

.subscription-status-badge--pending-cancel {
	background: rgba(249, 115, 22, 0.1);
	color: #c2410c;
	border: 1px solid #c2410c;
}

.subscription-status-badge--pending {
	background: rgba(21, 114, 182, 0.1);
	color: #1572b6;
	border: 1px solid #1572b6;
}

.subscription-status-badge--switched {
	background: rgba(124, 58, 237, 0.1);
	color: #7c3aed;
	border: 1px solid #7c3aed;
}

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

@media (max-width: 900px) {
	.mp-account-layout {
		flex-direction: column;
	}

	.mp-account-sidebar {
		flex: none;
		width: 100%;
		position: static;
	}

	.mp-account-main {
		width: 100%;
	}

	/* Horizontal scrollable nav on tablet */
	.woocommerce-MyAccount-navigation ul {
		display: flex;
		flex-wrap: wrap;
		gap: 0.25rem;
	}

	.woocommerce-MyAccount-navigation ul li a {
		padding: 0.5rem 0.75rem;
		font-size: 0.8125rem;
	}

	.woocommerce-MyAccount-content {
		padding: 1.5rem;
	}
}

@media (max-width: 600px) {
	.mp-dashboard-cards {
		grid-template-columns: 1fr;
	}

	.mp-dashboard-header {
		flex-direction: column;
		gap: 0.5rem;
	}

	.mp-dashboard-date {
		display: none;
	}

	.mp-account-layout {
		padding: 1rem 0;
	}

	.woocommerce-MyAccount-content {
		padding: 1.25rem;
	}
}

/* =========================================
   Checkout & Cart — Component Overrides
   ========================================= */

/* --- Block Checkout form inputs --- */
body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-text-input textarea,
body.woocommerce-checkout .wc-block-components-combobox .components-form-token-field__input,
body.woocommerce-cart .wc-block-components-text-input input,
body.woocommerce-cart .wc-block-components-text-input textarea {
	background: var(--wp--preset--color--muted);
	border-color: var(--wp--preset--color--border);
	color: var(--wp--preset--color--foreground);
}

body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-text-input textarea:focus,
body.woocommerce-cart .wc-block-components-text-input input:focus,
body.woocommerce-cart .wc-block-components-text-input textarea:focus {
	border-color: var(--wp--preset--color--primary);
	box-shadow: 0 0 0 2px rgba(21, 114, 182, 0.2);
}

/* Labels */
body.woocommerce-checkout .wc-block-components-text-input label,
body.woocommerce-cart .wc-block-components-text-input label {
	color: var(--wp--preset--color--muted-foreground);
}

/* --- Checkout / Cart sections --- */
body.woocommerce-checkout .wc-block-checkout,
body.woocommerce-cart .wc-block-cart {
	color: var(--wp--preset--color--foreground);
}

/* Section headings */
body.woocommerce-checkout .wc-block-components-checkout-step__title,
body.woocommerce-cart .wc-block-components-title {
	color: var(--wp--preset--color--foreground);
}

/* Dividers between sections */
body.woocommerce-checkout .wc-block-components-checkout-step::after {
	border-color: var(--wp--preset--color--border);
}

/* --- Order summary sidebar --- */
body.woocommerce-checkout .wc-block-components-order-summary,
body.woocommerce-cart .wc-block-cart__totals-title {
	color: var(--wp--preset--color--foreground);
}

body.woocommerce-checkout .wc-block-components-order-summary .wc-block-components-order-summary-item__description,
body.woocommerce-checkout .wc-block-components-totals-item__label,
body.woocommerce-cart .wc-block-components-totals-item__label {
	color: var(--wp--preset--color--foreground);
}

body.woocommerce-checkout .wc-block-components-totals-item__value,
body.woocommerce-cart .wc-block-components-totals-item__value {
	color: var(--wp--preset--color--foreground);
}

body.woocommerce-checkout .wc-block-components-totals-wrapper,
body.woocommerce-cart .wc-block-components-totals-wrapper {
	border-color: var(--wp--preset--color--border);
}

/* --- Primary buttons (Place Order / Proceed to Checkout) --- */
body.woocommerce-checkout .wc-block-components-button:not(.is-link),
body.woocommerce-cart .wc-block-components-button:not(.is-link),
body.woocommerce-checkout .wc-block-checkout__actions .wp-element-button,
body.woocommerce-cart .wc-block-cart__submit-button .wp-element-button {
	background: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--primary-foreground);
	border: none;
	border-radius: 0.375rem;
	font-weight: 600;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

body.woocommerce-checkout .wc-block-components-button:not(.is-link):hover,
body.woocommerce-cart .wc-block-components-button:not(.is-link):hover {
	transform: translateY(-1px);
	box-shadow: 0 8px 24px var(--mp-primary-glow);
}

/* --- Link-style buttons / text buttons --- */
body.woocommerce-checkout .wc-block-components-button.is-link,
body.woocommerce-cart .wc-block-components-button.is-link {
	color: var(--wp--preset--color--primary);
}

/* --- Payment methods --- */
body.woocommerce-checkout .wc-block-components-radio-control__option,
body.woocommerce-checkout .wc-block-components-payment-method-label {
	color: var(--wp--preset--color--foreground);
}

body.woocommerce-checkout .wc-block-components-radio-control .wc-block-components-radio-control__input {
	border-color: var(--wp--preset--color--border);
}

body.woocommerce-checkout .wc-block-components-radio-control .wc-block-components-radio-control__input:checked {
	border-color: var(--wp--preset--color--primary);
	background: var(--wp--preset--color--primary);
}

/* --- Notices --- */
body.woocommerce-checkout .wc-block-components-notice-banner.is-success,
body.woocommerce-cart .wc-block-components-notice-banner.is-success {
	background: rgba(5, 150, 105, 0.06);
	color: var(--wp--preset--color--foreground);
}

body.woocommerce-checkout .wc-block-components-notice-banner.is-error,
body.woocommerce-cart .wc-block-components-notice-banner.is-error {
	background: rgba(239, 68, 68, 0.06);
	color: var(--wp--preset--color--foreground);
}

body.woocommerce-checkout .wc-block-components-notice-banner.is-info,
body.woocommerce-cart .wc-block-components-notice-banner.is-info {
	background: rgba(21, 114, 182, 0.06);
	color: var(--wp--preset--color--foreground);
}

/* --- Coupon form --- */
body.woocommerce-checkout .wc-block-components-totals-coupon__form .wc-block-components-text-input input,
body.woocommerce-cart .wc-block-components-totals-coupon__form .wc-block-components-text-input input {
	background: var(--wp--preset--color--muted);
	border-color: var(--wp--preset--color--border);
}

/* --- Cart item details --- */
body.woocommerce-cart .wc-block-cart-item__product .wc-block-components-product-name,
body.woocommerce-cart .wc-block-cart-item__product .wc-block-components-product-metadata {
	color: var(--wp--preset--color--foreground);
}

body.woocommerce-cart .wc-block-cart-item__total .wc-block-components-product-price {
	color: var(--wp--preset--color--foreground);
}

/* --- Quantity selector --- */
body.woocommerce-cart .wc-block-components-quantity-selector {
	border-color: var(--wp--preset--color--border);
}

body.woocommerce-cart .wc-block-components-quantity-selector input {
	color: var(--wp--preset--color--foreground);
}

/* --- Checkbox / terms --- */
body.woocommerce-checkout .wc-block-checkout__terms .wc-block-components-checkbox__label,
body.woocommerce-checkout .wc-block-components-checkbox__label {
	color: var(--wp--preset--color--foreground);
}

/* --- Wide layout for checkout --- */
body.woocommerce-checkout .is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)),
body.woocommerce-cart .is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
	max-width: 1200px !important;
}

/* --- Hosting Features Showcase --- */
.hosting-feature-row {
	display: flex;
	align-items: center;
	gap: 3rem;
}

.hosting-feature-row--reversed {
	flex-direction: row-reverse;
}

.hosting-feature-text {
	flex: 1;
	min-width: 0;
}

.hosting-feature-text a:hover {
	opacity: 0.8;
}

.hosting-feature-image {
	flex: 1;
	min-width: 0;
}

.hosting-feature-placeholder {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	aspect-ratio: 16 / 10;
	background: var(--wp--preset--color--card);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 0.75rem;
	box-shadow: 0 4px 24px rgba(21, 114, 182, 0.08);
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hosting-feature-placeholder span {
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--wp--preset--color--muted-foreground);
}

.hosting-feature-placeholder:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 30px rgba(21, 114, 182, 0.12);
}

@media (max-width: 768px) {
	.hosting-feature-row,
	.hosting-feature-row--reversed {
		flex-direction: column;
		gap: 2rem;
	}

	#pricing-table {
		display: none;
	}
}

/* --- Tier Slider --- */
.tier-slider {
	position: relative;
}

/* Tier Tabs */
.tier-tabs {
	display: flex;
	justify-content: center;
	gap: 0.5rem;
	margin-bottom: .1rem;
}

.tier-tab {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.25rem;
	padding: 0.875rem 2rem;
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 0.5rem;
	background: var(--wp--preset--color--card);
	cursor: pointer;
	transition: all 0.25s ease;
	min-width: 180px;
}

.tier-tab:hover {
	border-color: var(--wp--preset--color--primary);
}

.tier-tab--active {
	border-color: var(--wp--preset--color--primary);
	background: rgba(21, 114, 182, 0.08);
	box-shadow: 0 0 0 1px var(--wp--preset--color--primary);
}

.tier-tab__label {
	font-size: 0.6875rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--wp--preset--color--muted-foreground);
	transition: color 0.25s ease;
}

.tier-tab--active .tier-tab__label {
	color: var(--wp--preset--color--primary);
}

.tier-tab__title {
	font-size: 0.9375rem;
	font-weight: 600;
	color: var(--wp--preset--color--foreground);
}

/* Slider Viewport */
.tier-slider__viewport {
	overflow: hidden;
}

.tier-slider__track {
	display: flex;
	transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
	will-change: transform;
}

.tier-slider__slide {
	flex: 0 0 100%;
	min-width: 0;
}

/* Slide Header */
.tier-slider__header {
	margin-bottom: 1.5rem;
}

.tier-slider__eyebrow {
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 3px;
	text-transform: uppercase;
	margin: 0 0 0.5rem;
}

.tier-slider__heading {
	font-size: clamp(1.5rem, 3vw, 2rem);
	font-weight: 700;
	color: var(--wp--preset--color--foreground);
	margin: 0 0 0.5rem;
}

.tier-slider__desc {
	font-size: 1rem;
	color: var(--wp--preset--color--muted-foreground);
	margin: 0;
	line-height: 1.6;
}

/* Arrows */
.tier-slider__arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 2;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 1px solid var(--wp--preset--color--border);
	background: var(--wp--preset--color--card);
	color: var(--wp--preset--color--foreground);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.2s ease;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.tier-slider__arrow:hover:not(:disabled) {
	border-color: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--primary);
	box-shadow: 0 4px 16px rgba(21, 114, 182, 0.15);
}

.tier-slider__arrow:disabled {
	opacity: 0.3;
	cursor: default;
}

.tier-slider__arrow--prev {
	left: -54px;
}

.tier-slider__arrow--next {
	right: -54px;
}

.tier-slider__arrow .mp-icon {
	width: 20px;
	height: 20px;
}

/* Tier Tooltip */
.tier-tooltip {
	position: relative;
	display: inline-flex;
	align-items: center;
	cursor: pointer;
	vertical-align: middle;
}

.tier-tooltip .mp-icon {
	width: 20px;
	height: 20px;
	opacity: 0.4;
	transition: opacity 0.2s ease;
}

.tier-tooltip:hover .mp-icon,
.tier-tooltip:focus .mp-icon {
	opacity: 0.7;
}

.tier-tooltip__content {
	display: none;
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	top: calc(100% + 8px);
	background: var(--wp--preset--color--foreground);
	color: var(--wp--preset--color--background);
	font-size: 0.8125rem;
	font-weight: 400;
	line-height: 1.5;
	padding: 0.625rem 0.875rem;
	border-radius: 0.375rem;
	white-space: normal;
	width: max-content;
	max-width: 280px;
	z-index: 10;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	pointer-events: none;
}

.tier-tooltip__content::before {
	content: '';
	position: absolute;
	bottom: 100%;
	left: 50%;
	transform: translateX(-50%);
	border: 6px solid transparent;
	border-bottom-color: var(--wp--preset--color--foreground);
}

.tier-tooltip:hover .tier-tooltip__content,
.tier-tooltip:focus .tier-tooltip__content {
	display: block;
}

/* Tier Includes Badges */
.tier-includes {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-top: 2rem;
	flex-wrap: wrap;
}

.tier-includes__label {
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--wp--preset--color--primary);
}

.tier-includes__badge {
	display: inline-flex;
	align-items: center;
	gap: 0.375rem;
	padding: 0.5rem 1rem;
	border-radius: 2rem;
	font-size: 0.8125rem;
	font-weight: 500;
}

.tier-includes__badge .mp-icon {
	width: 14px;
	height: 14px;
}

.tier-includes__badge--tier1 {
	border: 1px solid var(--wp--preset--color--primary);
	color: var(--wp--preset--color--primary);
	background: rgba(21, 114, 182, 0.06);
}

.tier-includes__badge--tier2 {
	border: 1px solid var(--wp--preset--color--primary);
	color: var(--wp--preset--color--primary);
	background: rgba(21, 114, 182, 0.06);
}

.tier-includes__plus {
	font-size: 0.875rem;
	color: var(--wp--preset--color--muted-foreground);
	font-weight: 500;
}

@media (max-width: 768px) {
	.tier-tabs {
		gap: 0.375rem;
	}

	.tier-tab {
		min-width: 0;
		flex: 1;
		padding: 0.75rem 0.5rem;
	}

	.tier-tab__title {
		font-size: 0.75rem;
		text-align: center;
	}

	.tier-tab__label {
		font-size: 0.625rem;
	}

	.tier-slider__arrow--prev {
		left: -4px;
	}

	.tier-slider__arrow--next {
		right: -4px;
	}

	.tier-slider__arrow {
		width: 36px;
		height: 36px;
	}

	.tier-includes {
		gap: 0.5rem;
	}

	.tier-includes__badge {
		font-size: 0.75rem;
		padding: 0.375rem 0.75rem;
	}
}
