.ghestihub-product-banner {
	--gh-banner-bg: linear-gradient(165deg, var(--gh-bg, #f3fbf9) 0%, var(--gh-bg-mid, #eef7f5) 48%, var(--gh-bg-soft, #f7fbfa) 100%);
	--gh-banner-border: var(--gh-border, #cde5df);
	--gh-banner-ink: var(--gh-text, #134e4a);
	--gh-banner-muted: var(--gh-muted, #5b6f6b);
	--gh-banner-accent: var(--gh-primary, #0f766e);
	--gh-banner-accent-strong: var(--gh-primary-dark, #115e59);
	box-sizing: border-box;
	width: 100%;
	margin: 14px 0 18px;
	padding: 16px;
	border: 1px solid var(--gh-banner-border);
	border-radius: 16px;
	background: var(--gh-banner-bg);
	color: var(--gh-banner-ink);
	box-shadow: 0 10px 28px rgba(var(--gh-primary-rgb, 15, 118, 110), 0.08);
	font-size: 14px;
	line-height: 1.6;
}

.ghestihub-product-banner--campaign {
	border-color: var(--gh-primary, #0f766e);
	box-shadow: 0 10px 28px rgba(var(--gh-primary-rgb, 15, 118, 110), 0.14);
}

.ghestihub-product-banner--campaign .ghestihub-product-banner__kicker {
	display: inline-block;
	padding: 2px 8px;
	border-radius: 999px;
	background: var(--gh-primary, #0f766e);
	color: var(--gh-on-primary, #fff);
	letter-spacing: 0;
}

.ghestihub-product-banner__empty {
	margin: 12px 0 0;
	padding: 10px 12px;
	border-radius: 10px;
	background: var(--gh-warning-bg, #fff7ed);
	color: var(--gh-warning-text, #9a3412);
}

.ghestihub-product-banner__urgency {
	margin: 14px 0 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
	direction: rtl;
	text-align: right;
}

.ghestihub-product-banner__countdown {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 8px;
	direction: rtl;
}

.ghestihub-product-banner__count {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 8px 4px;
	border-radius: 12px;
	background: var(--gh-primary, #0f766e);
	color: var(--gh-on-primary, #fff);
	text-align: center;
}

.ghestihub-product-banner__count b {
	font-size: 20px;
	font-weight: 800;
	line-height: 1.1;
	font-variant-numeric: tabular-nums;
}

.ghestihub-product-banner__count span {
	font-size: 11px;
	opacity: 0.9;
}

.ghestihub-product-banner__progress span {
	display: block;
	margin: 0 0 6px;
	font-size: 12px;
	color: var(--gh-banner-muted);
}

.ghestihub-product-banner__bar {
	height: 8px;
	border-radius: 999px;
	background: var(--gh-progress-track, #d5ebe6);
	overflow: hidden;
	direction: rtl;
}

.ghestihub-product-banner__bar i {
	display: block;
	height: 100%;
	border-radius: inherit;
	margin-inline-start: auto;
	background: linear-gradient(270deg, var(--gh-primary, #0f766e), var(--gh-primary-light, #14b8a6));
	transition: width 0.4s linear;
}

.ghestihub-product-banner__urgency.is-ended .ghestihub-product-banner__count {
	background: var(--gh-ended, #9ca3af);
}

.ghestihub-product-banner__urgency.is-ended .ghestihub-product-banner__bar i {
	background: var(--gh-ended, #9ca3af);
}

.ghestihub-product-banner *,
.ghestihub-product-banner *::before,
.ghestihub-product-banner *::after {
	box-sizing: border-box;
}

.ghestihub-product-banner__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
}

.ghestihub-product-banner__brand {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
}

.ghestihub-product-banner__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: var(--gh-primary, #0f766e);
	color: var(--gh-on-primary, #fff);
	flex: 0 0 auto;
}

.ghestihub-product-banner__kicker {
	margin: 0;
	color: var(--gh-banner-accent);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.04em;
}

.ghestihub-product-banner__title {
	margin: 0;
	font-size: 17px;
	font-weight: 800;
	line-height: 1.35;
	color: var(--gh-banner-ink);
}

.ghestihub-product-banner__from {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 2px;
	text-align: end;
}

.ghestihub-product-banner__from-label,
.ghestihub-product-banner__from-meta,
.ghestihub-product-banner__plan-per,
.ghestihub-product-banner__note {
	color: var(--gh-banner-muted);
}

.ghestihub-product-banner__from-label {
	font-size: 12px;
}

.ghestihub-product-banner__from-amount {
	font-size: 20px;
	font-weight: 800;
	color: var(--gh-banner-accent-strong);
	line-height: 1.2;
}

.ghestihub-product-banner__from-amount .woocommerce-Price-amount,
.ghestihub-product-banner__plan-amount .woocommerce-Price-amount {
	font-weight: 800;
}

.ghestihub-product-banner__from-meta {
	font-size: 12px;
}

.ghestihub-product-banner__tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 14px 0 0;
}

.ghestihub-product-banner__tab {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 7px 12px;
	border: 1px solid var(--gh-tab-border, #d5e8e3);
	border-radius: 999px;
	background: var(--gh-surface, #fff);
	color: var(--gh-banner-ink);
	font-size: 13px;
	font-weight: 600;
	line-height: 1.2;
	cursor: pointer;
	transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.ghestihub-product-banner__logo,
.ghestihub-product-banner__tab img,
.ghestihub-product-banner__gateway-label img {
	display: block;
	flex: 0 0 auto;
	width: auto !important;
	max-width: 72px !important;
	height: 20px !important;
	max-height: 20px !important;
	aspect-ratio: auto !important;
	object-fit: contain;
	border-radius: 0;
	box-shadow: none;
}

.ghestihub-product-banner__tab:hover,
.ghestihub-product-banner__tab:focus-visible {
	border-color: var(--gh-banner-accent);
	outline: none;
}

.ghestihub-product-banner__tab.is-active {
	background: var(--gh-banner-accent);
	border-color: var(--gh-banner-accent);
	color: var(--gh-on-primary, #fff);
	box-shadow: 0 6px 16px rgba(var(--gh-primary-rgb, 15, 118, 110), 0.22);
}

.ghestihub-product-banner__panels {
	margin-top: 14px;
}

.ghestihub-product-banner__gateway-label {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 10px;
	font-weight: 700;
}

.ghestihub-product-banner__gateway-label .ghestihub-product-banner__logo {
	height: 22px !important;
	max-height: 22px !important;
	max-width: 80px !important;
}

.ghestihub-product-banner__plans {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(128px, 1fr));
	gap: 10px;
}

.ghestihub-product-banner__plan {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
	padding: 12px;
	border-radius: 12px;
	background: var(--gh-surface, #fff);
	border: 1px solid var(--gh-plan-border, #dceee9);
}

.ghestihub-product-banner__plan-months {
	font-size: 12px;
	font-weight: 700;
	color: var(--gh-banner-accent);
}

.ghestihub-product-banner__plan-amount {
	font-size: 16px;
	line-height: 1.3;
	color: var(--gh-banner-ink);
}

.ghestihub-product-banner__plan-last {
	font-size: 11px;
	color: var(--gh-banner-muted);
	line-height: 1.4;
}

.ghestihub-product-banner__plan-last[hidden] {
	display: none;
}

.ghestihub-product-banner__note {
	margin: 12px 0 0;
	font-size: 12px;
}

.ghestihub-product-banner--compact .ghestihub-product-banner__from-amount {
	font-size: 18px;
}

@media (max-width: 600px) {
	.ghestihub-product-banner {
		padding: 14px;
	}

	.ghestihub-product-banner__from-amount {
		font-size: 18px;
	}

	.ghestihub-product-banner__plans {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
