/* Plasma Stream 2026 — Signal Pass product cards */

/* ── Grid (CSS Grid — substitui row/col Bootstrap) ── */
.cart-products .hp-plan-grid {
	display: grid;
	grid-template-columns: repeat(var(--hp-plan-cols, 1), minmax(0, 1fr));
	align-items: stretch;
	gap: clamp(20px, 2.4vw, 28px);
	width: 100%;
	margin: 0;
	padding: 0;
}

.cart-products .hp-plan-grid::before,
.cart-products .hp-plan-grid::after {
	display: none;
	content: none;
}

.hp-plan-grid--cols-1 { --hp-plan-cols: 1; }
.hp-plan-grid--cols-2 { --hp-plan-cols: 2; }
.hp-plan-grid--cols-3 { --hp-plan-cols: 3; }
.hp-plan-grid--cols-4 { --hp-plan-cols: 4; }
.hp-plan-grid--cols-5 { --hp-plan-cols: 5; }
.hp-plan-grid--cols-6 { --hp-plan-cols: 6; }

.cart-products .hp-plan-grid__col {
	display: flex;
	flex-direction: column;
	min-width: 0;
	width: auto !important;
	max-width: none !important;
	padding: 0 !important;
	margin: 0 !important;
	float: none !important;
}

.cart-products .hp-plan-grid__col > .hp-plan-card {
	flex: 1 1 auto;
	width: 100%;
	height: 100%;
	min-height: 100%;
}

.hp-plan-card--details-open {
	height: auto;
}

/* Tablet landscape / desktop estreito — reduz colunas altas */
@media (max-width: 1199px) {
	.cart-products .hp-plan-grid.hp-plan-grid--cols-5,
	.cart-products .hp-plan-grid.hp-plan-grid--cols-6 {
		--hp-plan-cols: 3;
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

/* Tablet — no máximo 2 cards por linha (cols-3+) */
@media (max-width: 1023px) {
	.cart-products .hp-plan-grid.hp-plan-grid--cols-3,
	.cart-products .hp-plan-grid.hp-plan-grid--cols-4,
	.cart-products .hp-plan-grid.hp-plan-grid--cols-5,
	.cart-products .hp-plan-grid.hp-plan-grid--cols-6 {
		--hp-plan-cols: 2;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* Mobile — 1 card por linha */
@media (max-width: 767px) {
	.cart-products .hp-plan-grid {
		gap: 16px;
	}

	.cart-products .hp-plan-grid.hp-plan-grid--cols-2,
	.cart-products .hp-plan-grid.hp-plan-grid--cols-3,
	.cart-products .hp-plan-grid.hp-plan-grid--cols-4,
	.cart-products .hp-plan-grid.hp-plan-grid--cols-5,
	.cart-products .hp-plan-grid.hp-plan-grid--cols-6 {
		--hp-plan-cols: 1;
		grid-template-columns: minmax(0, 1fr);
	}
}

/* Legacy row hooks (addons / fallback) */
.cart-products .hp-plan-grid.row,
.cart-products .row-eq-height.hp-plan-grid {
	margin-left: 0 !important;
	margin-right: 0 !important;
}

.control_outline_compare.products .cart-products .hp-plan-grid__col,
.control_outline_compare.products .cart-products .row-eq-height > .hp-plan-grid__col {
	display: flex !important;
	float: none !important;
	text-align: left;
}

html[dir='rtl'] .control_outline_compare.products .cart-products .hp-plan-grid__col {
	text-align: right;
}

/* ── Vendor resets ── */
section.cart .hp-plan-card span.price:not(.hp-plan-card__amount),
section.cart .hp-plan-card .product-price .price:not(.hp-plan-card__amount),
section.cart .hp-plan-card .product-price .price:not(.hp-plan-card__amount) strong {
	font-style: normal !important;
	text-align: inherit !important;
	float: none !important;
	font-weight: 800 !important;
	color: transparent !important;
	-webkit-text-fill-color: transparent !important;
	background-clip: text !important;
	-webkit-background-clip: text !important;
}

section.cart .hp-plan-card.panel-outline-default,
section.cart .hp-plan-card.panel-product {
	border: none !important;
	background: transparent !important;
	box-shadow: none !important;
}

section.cart .hp-plan-card .panel-heading h3.panel-title,
section.cart .hp-plan-card .panel-heading h3.panel-title.hp-plan-card__name {
	text-transform: none !important;
}

section.cart .hp-plan-card .panel-heading h3.panel-title:not(.hp-plan-card__name) {
	font-size: inherit !important;
}

.hp-plan-card.panel > .panel-footer {
	text-transform: none !important;
	font-size: inherit !important;
	font-weight: inherit !important;
}

.hp-plan-card .panel-title {
	text-transform: none !important;
}

.hp-plan-card.panel-outline-default:hover,
.hp-plan-card.panel-product:hover {
	transform: none;
}

/* ── Card root ── */
.hp-plan-card {
	--hp-plan-tilt-x: 0deg;
	--hp-plan-tilt-y: 0deg;
	--hp-plan-x: 50%;
	--hp-plan-y: 35%;
	position: relative;
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	width: 100%;
	height: 100%;
	min-height: 100%;
	padding: 0 !important;
	border: none !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	overflow: visible;
	perspective: 1200px;
	isolation: isolate;
	animation: hpPlanEnter 0.65s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.cart-products .hp-plan-grid__col:nth-child(1) .hp-plan-card { animation-delay: 0.04s; }
.cart-products .hp-plan-grid__col:nth-child(2) .hp-plan-card { animation-delay: 0.1s; }
.cart-products .hp-plan-grid__col:nth-child(3) .hp-plan-card { animation-delay: 0.16s; }
.cart-products .hp-plan-grid__col:nth-child(4) .hp-plan-card { animation-delay: 0.22s; }
.cart-products .hp-plan-grid__col:nth-child(5) .hp-plan-card { animation-delay: 0.28s; }
.cart-products .hp-plan-grid__col:nth-child(6) .hp-plan-card { animation-delay: 0.34s; }

@keyframes hpPlanEnter {
	from {
		opacity: 0;
		transform: translateY(28px) scale(0.96);
		filter: blur(4px);
	}
	to {
		opacity: 1;
		transform: translateY(0) scale(1);
		filter: blur(0);
	}
}

/* ── Shell (ticket frame) ── */
.hp-plan-card__shell {
	position: relative;
	display: flex;
	flex-direction: column;
	flex: 1;
	min-height: 100%;
	height: auto;
	border-radius: 20px;
	background: linear-gradient(148deg, rgba(255, 69, 0, 0.55) 0%, rgba(255, 255, 255, 0.07) 42%, rgba(255, 69, 0, 0.22) 100%);
	padding: 1px;
	box-shadow:
		0 20px 50px rgba(0, 0, 0, 0.55),
		inset 0 1px 0 rgba(255, 255, 255, 0.08);
	transform: rotateX(var(--hp-plan-tilt-x)) rotateY(var(--hp-plan-tilt-y));
	transform-style: preserve-3d;
	transition:
		transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
		box-shadow 0.35s ease;
	will-change: transform;
}

.hp-plan-card__inner {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	flex: 1;
	min-height: 100%;
	height: auto;
	border-radius: 19px;
	overflow: visible;
	background:
		radial-gradient(ellipse 120% 80% at 50% -20%, rgba(255, 69, 0, 0.16), transparent 55%),
		linear-gradient(168deg, rgba(20, 20, 26, 0.98) 0%, rgba(8, 8, 10, 0.99) 100%);
}

.hp-plan-card__inner::before {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: inherit;
	pointer-events: none;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.hp-plan-card--featured .hp-plan-card__inner {
	background:
		radial-gradient(ellipse 120% 80% at 50% -15%, rgba(255, 69, 0, 0.28), transparent 58%),
		linear-gradient(168deg, rgba(28, 18, 14, 0.99) 0%, rgba(10, 8, 8, 0.99) 100%);
	box-shadow: inset 0 1px 0 rgba(255, 140, 80, 0.12);
}

/* Decorative layers */
.hp-plan-card__aurora,
.hp-plan-card__grain,
.hp-plan-card__spotlight {
	position: absolute;
	inset: 0;
	border-radius: inherit;
	pointer-events: none;
}

.hp-plan-card__aurora {
	z-index: 0;
	background:
		conic-gradient(from 210deg at 80% 10%, rgba(255, 69, 0, 0.18), transparent 35%, rgba(255, 140, 80, 0.08) 55%, transparent 75%);
	opacity: 0.7;
	mix-blend-mode: screen;
}

.hp-plan-card__grain {
	z-index: 1;
	opacity: 0.35;
	background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
	background-size: 128px 128px;
	mix-blend-mode: overlay;
}

.hp-plan-card__spotlight {
	z-index: 1;
	background: radial-gradient(
		circle 240px at var(--hp-plan-x) var(--hp-plan-y),
		rgba(255, 120, 60, 0.16) 0%,
		transparent 68%
	);
	opacity: 0;
	transition: opacity 0.3s ease;
}

.hp-plan-card__rail {
	position: absolute;
	left: 0;
	top: 18%;
	bottom: 18%;
	width: 3px;
	z-index: 3;
	border-radius: 0 3px 3px 0;
	background: linear-gradient(180deg, transparent, var(--hp-orange, #ff4500), transparent);
	box-shadow: 0 0 18px var(--hp-orange-glow, rgba(255, 69, 0, 0.4));
}

.hp-plan-card__notch {
	display: none;
}

/* ── Featured flag ── */
.hp-plan-card__flag {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 10px 16px;
	font-family: var(--hp-font-display, 'Plus Jakarta Sans', sans-serif);
	font-size: 0.6875rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: #fff;
	background: linear-gradient(90deg, #e63900 0%, var(--hp-orange, #ff4500) 50%, #ff6a33 100%);
	border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.hp-plan-card__flag .fa-crown {
	font-size: 0.75rem;
	opacity: 0.95;
}

.hp-plan-card__flag-dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.6);
	animation: hpPlanLive 2s ease-out infinite;
}

.hp-plan-card:hover .hp-plan-card__shell,
.hp-plan-card:focus-within .hp-plan-card__shell {
	box-shadow:
		0 28px 64px rgba(0, 0, 0, 0.62),
		0 0 48px rgba(255, 69, 0, 0.12),
		inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.hp-plan-card:hover .hp-plan-card__spotlight,
.hp-plan-card:focus-within .hp-plan-card__spotlight {
	opacity: 1;
}

/* ── Featured ── */
.hp-plan-card--featured .hp-plan-card__shell {
	background: linear-gradient(148deg, rgba(255, 69, 0, 0.95) 0%, rgba(255, 180, 120, 0.45) 38%, rgba(255, 69, 0, 0.75) 100%);
	box-shadow:
		0 24px 60px rgba(0, 0, 0, 0.58),
		0 0 56px rgba(255, 69, 0, 0.22),
		inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

@media (min-width: 992px) {
	.hp-plan-card--featured .hp-plan-card__shell {
		transform: rotateX(var(--hp-plan-tilt-x)) rotateY(var(--hp-plan-tilt-y));
		box-shadow:
			0 28px 64px rgba(0, 0, 0, 0.62),
			0 0 64px rgba(255, 69, 0, 0.28),
			inset 0 1px 0 rgba(255, 255, 255, 0.16);
	}
}

.hp-plan-card__ribbon {
	display: none;
}

@keyframes hpPlanLive {
	0% { box-shadow: 0 0 0 0 rgba(255, 61, 0, 0.55); }
	70% { box-shadow: 0 0 0 8px rgba(255, 61, 0, 0); }
	100% { box-shadow: 0 0 0 0 rgba(255, 61, 0, 0); }
}

/* ── Hero (topo: meta + título + preço) ── */
.hp-plan-card__hero {
	position: relative;
	padding: 0 0 6px;
	background:
		radial-gradient(ellipse 90% 70% at 12% 0%, rgba(255, 69, 0, 0.14), transparent 58%),
		linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, transparent 100%);
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.hp-plan-card--featured .hp-plan-card__hero {
	background:
		radial-gradient(ellipse 90% 70% at 12% 0%, rgba(255, 69, 0, 0.22), transparent 58%),
		linear-gradient(180deg, rgba(255, 69, 0, 0.08) 0%, transparent 100%);
}

.hp-plan-card__head,
.hp-plan-card__body,
.hp-plan-card__foot {
	position: relative;
	background: transparent !important;
	border: none !important;
}

.hp-plan-card__head {
	padding: 20px 20px 8px !important;
	text-align: left;
}

.hp-plan-card--featured .hp-plan-card__head {
	padding-top: 16px !important;
}

.hp-plan-card__hero-cap {
	display: none;
}

.hp-plan-card__meta-row {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 10px;
	flex-wrap: wrap;
	margin-bottom: 14px;
}

.hp-plan-card__cycle {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 12px;
	font-family: var(--hp-font-display, 'Plus Jakarta Sans', sans-serif);
	font-size: 0.6875rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--hp-orange, #ff4500);
	background: rgba(255, 69, 0, 0.1);
	border: 1px solid rgba(255, 69, 0, 0.32);
	border-radius: 999px;
	box-shadow: 0 0 20px rgba(255, 69, 0, 0.08);
}

.hp-plan-card__cycle::before {
	content: '';
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--hp-orange, #ff4500);
	box-shadow: 0 0 8px rgba(255, 69, 0, 0.55);
	flex-shrink: 0;
}

.hp-plan-card__name {
	position: relative;
	margin: 6px 0 0 !important;
	padding: 8px 0 8px 18px;
	border-left: none;
	font-family: var(--hp-font-display, 'Plus Jakarta Sans', sans-serif) !important;
	font-size: clamp(1.22rem, 1rem + 0.65vw, 1.5rem) !important;
	font-weight: 800 !important;
	line-height: 1.2 !important;
	letter-spacing: -0.035em;
	color: #fff !important;
	text-wrap: balance;
	text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}

.hp-plan-card__name::before {
	content: '';
	position: absolute;
	left: 0;
	top: 6px;
	bottom: 6px;
	width: 3px;
	border-radius: 3px;
	background: linear-gradient(180deg, #ffc4a3 0%, var(--hp-orange, #ff4500) 45%, #e63900 100%);
	box-shadow:
		0 0 14px rgba(255, 69, 0, 0.55),
		0 0 4px rgba(255, 69, 0, 0.35);
	transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.hp-plan-card:hover .hp-plan-card__name::before,
.hp-plan-card:focus-within .hp-plan-card__name::before {
	box-shadow:
		0 0 22px rgba(255, 69, 0, 0.75),
		0 0 6px rgba(255, 69, 0, 0.45);
}

.hp-plan-card--featured .hp-plan-card__name {
	background: linear-gradient(118deg, #fff 15%, #ffe8d6 42%, #ffb088 78%, var(--hp-orange, #ff4500) 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent !important;
	text-shadow: none;
	filter: drop-shadow(0 2px 12px rgba(255, 69, 0, 0.25));
}

/* ── Price ── */
.hp-plan-card__price {
	margin: 0;
	padding: 8px 22px 16px;
	text-align: center;
}

.hp-plan-card__amount-row {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	padding: 22px 18px 20px;
	border-radius: 18px;
	overflow: hidden;
	background:
		linear-gradient(165deg, rgba(255, 255, 255, 0.06) 0%, rgba(0, 0, 0, 0.28) 100%);
	border: 1px solid rgba(255, 69, 0, 0.16);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.07),
		0 10px 28px rgba(0, 0, 0, 0.25);
	transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.hp-plan-card:hover .hp-plan-card__amount-row,
.hp-plan-card:focus-within .hp-plan-card__amount-row {
	border-color: rgba(255, 69, 0, 0.32);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.09),
		0 14px 36px rgba(0, 0, 0, 0.32),
		0 0 32px rgba(255, 69, 0, 0.08);
}

.hp-plan-card--featured .hp-plan-card__amount-row {
	border-color: rgba(255, 69, 0, 0.38);
	background:
		linear-gradient(165deg, rgba(255, 69, 0, 0.12) 0%, rgba(0, 0, 0, 0.32) 100%);
	box-shadow:
		inset 0 1px 0 rgba(255, 180, 120, 0.12),
		0 12px 36px rgba(0, 0, 0, 0.3),
		0 0 40px rgba(255, 69, 0, 0.12);
}

.hp-plan-card__amount-glow {
	position: absolute;
	inset: -45% -15%;
	background: radial-gradient(ellipse at 50% 0%, rgba(255, 69, 0, 0.22), transparent 62%);
	pointer-events: none;
}

.hp-plan-card__amount {
	position: relative;
	z-index: 1;
	display: block;
	width: 100%;
	line-height: 1;
}

.hp-plan-card__amount.price,
.hp-plan-card__amount.price strong,
.hp-plan-card__amount .price,
.hp-plan-card__amount .price strong {
	display: inline-block;
	font-family: var(--hp-font-display, 'Plus Jakarta Sans', sans-serif) !important;
	font-size: clamp(2.25rem, 5vw + 0.4rem, 3.1rem) !important;
	font-weight: 800 !important;
	font-style: normal !important;
	line-height: 1 !important;
	letter-spacing: -0.05em;
	white-space: nowrap;
	color: transparent !important;
	background: linear-gradient(118deg, #fff 10%, #ffe8d6 38%, var(--hp-orange, #ff4500) 68%, #ff9a5c 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	filter: drop-shadow(0 4px 20px rgba(255, 69, 0, 0.32));
}

/* WHMCS Price HTML — oculta sufixo de moeda (BRL/USD) se renderizado */
.hp-plan-card__amount .suffix,
.hp-plan-card__amount suffix {
	display: none !important;
}

.hp-plan-card--featured .hp-plan-card__amount.price,
.hp-plan-card--featured .hp-plan-card__amount.price strong,
.hp-plan-card--featured .hp-plan-card__amount .price,
.hp-plan-card--featured .hp-plan-card__amount .price strong {
	background: linear-gradient(118deg, #fff 5%, #ffd4bc 30%, #ff8a50 65%, #fff 95%);
	filter: drop-shadow(0 4px 24px rgba(255, 69, 0, 0.45));
}

.hp-plan-card__period {
	display: none;
}

.hp-plan-card__price-note {
	position: relative;
	z-index: 1;
	margin: 0;
	padding-top: 2px;
	max-width: 22ch;
	font-family: var(--hp-font-body, 'Inter', sans-serif);
	font-size: 0.75rem;
	font-weight: 500;
	line-height: 1.45;
	text-align: center;
	color: var(--hp-text-muted, rgba(244, 244, 246, 0.62));
}

.hp-plan-card__meta {
	margin: 12px 0 0;
	font-size: 0.8125rem;
	color: var(--hp-text-muted, rgba(244, 244, 246, 0.65));
}

.hp-plan-card__meta--ok {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 5px 12px;
	font-family: var(--hp-font-mono, 'IBM Plex Mono', monospace);
	font-size: 0.6875rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	color: var(--hp-green, #00e676);
	background: rgba(0, 230, 118, 0.07);
	border: 1px solid rgba(0, 230, 118, 0.2);
	border-radius: 999px;
}

/* ── Features ── */
.hp-plan-card__body {
	flex: 1 1 auto;
	min-height: 0;
	padding: 14px 22px 18px !important;
	color: var(--hp-text-muted, rgba(244, 244, 246, 0.65)) !important;
	overflow: visible;
}

.hp-plan-card__body-sync {
	min-height: 0;
}

.hp-plan-card__body-sync[style*="height"] {
	overflow: visible;
}

.hp-plan-card__features {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.hp-plan-card__feature {
	display: grid;
	grid-template-columns: auto 1fr;
	align-items: start;
	gap: 12px;
	padding: 10px 12px;
	font-size: 0.8125rem;
	line-height: 1.45;
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.02);
	border: 1px solid rgba(255, 255, 255, 0.05);
	opacity: 0;
	animation: hpFeatureIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
	animation-delay: calc(0.08s * var(--hp-f-i, 1));
}

@keyframes hpFeatureIn {
	from { opacity: 0; transform: translateX(-8px); }
	to { opacity: 1; transform: translateX(0); }
}

.hp-plan-card__feature-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	margin-top: 1px;
	border-radius: 50%;
	flex-shrink: 0;
	font-size: 0.55rem;
	color: #fff;
	background: linear-gradient(135deg, var(--hp-orange, #ff4500), #ff6a33);
	box-shadow: 0 0 12px rgba(255, 69, 0, 0.45);
}

.hp-plan-card__feature-mark {
	display: none;
}

.hp-plan-card__feature-value {
	color: var(--hp-text, #f4f4f6);
	font-weight: 700;
}

/* ── Details ── */
.hp-plan-card__details {
	position: relative;
	z-index: 3;
	margin: 10px 0 0;
}

.hp-plan-card__details[open] {
	margin-bottom: 4px;
}

.hp-plan-card__details-toggle {
	display: flex;
	align-items: center;
	gap: 8px;
	width: 100%;
	padding: 11px 14px;
	list-style: none;
	cursor: pointer;
	font-family: var(--hp-font-mono, 'IBM Plex Mono', monospace);
	font-size: 0.6875rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--hp-text-muted, rgba(244, 244, 246, 0.65));
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.07);
	border-radius: 10px;
	transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.hp-plan-card__details-toggle::-webkit-details-marker,
.hp-plan-card__details-toggle::marker {
	display: none;
	content: '';
}

.hp-plan-card__details-toggle:hover,
.hp-plan-card__details-toggle:focus-visible {
	color: var(--hp-orange, #ff4500);
	border-color: rgba(255, 69, 0, 0.35);
	outline: none;
}

.hp-plan-card__details[open] > .hp-plan-card__details-toggle {
	border-radius: 10px 10px 0 0;
	border-bottom-color: transparent;
	color: var(--hp-orange, #ff4500);
	background: rgba(255, 69, 0, 0.06);
}

.hp-plan-card__details-chevron {
	margin-left: auto;
	font-size: 0.7rem;
	opacity: 0.65;
	transition: transform 0.22s ease;
}

.hp-plan-card__details[open] .hp-plan-card__details-chevron {
	transform: rotate(180deg);
}

.hp-plan-card__details-content {
	padding: 14px;
	font-size: 0.875rem;
	line-height: 1.55;
	text-align: left;
	color: var(--hp-text-muted, rgba(244, 244, 246, 0.65));
	background: rgba(0, 0, 0, 0.28);
	border: 1px solid rgba(255, 255, 255, 0.07);
	border-top: none;
	border-radius: 0 0 10px 10px;
}

/* ── Tear line (legacy) ── */
.hp-plan-card__tear {
	display: none;
}

/* ── Footer / CTA ── */
.hp-plan-card__foot {
	position: relative;
	z-index: 2;
	flex-shrink: 0;
	padding: 8px 22px 22px !important;
	text-align: center;
	margin-top: auto;
}

.hp-plan-card__btn {
	position: relative;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	min-height: 54px;
	padding: 14px 22px !important;
	overflow: hidden;
	font-family: var(--hp-font-display, 'Plus Jakarta Sans', sans-serif) !important;
	font-size: 0.9375rem !important;
	font-weight: 800 !important;
	text-transform: none !important;
	letter-spacing: -0.01em;
	color: #fff !important;
	border: none !important;
	border-radius: 14px !important;
	background: linear-gradient(135deg, var(--hp-orange, #ff4500) 0%, #ff5722 48%, #e63900 100%) !important;
	box-shadow:
		0 12px 32px rgba(255, 69, 0, 0.42),
		0 0 0 1px rgba(255, 255, 255, 0.12) inset !important;
	transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
}

.hp-plan-card--featured .hp-plan-card__btn {
	background: linear-gradient(135deg, #ff5722 0%, var(--hp-orange, #ff4500) 50%, #ff8a50 100%) !important;
	box-shadow:
		0 14px 40px rgba(255, 69, 0, 0.55),
		0 0 48px rgba(255, 69, 0, 0.18),
		0 0 0 1px rgba(255, 255, 255, 0.16) inset !important;
	animation: hpCtaPulse 3s ease-in-out infinite;
}

@keyframes hpCtaPulse {
	0%, 100% { box-shadow: 0 12px 32px rgba(255, 69, 0, 0.42), 0 0 0 1px rgba(255, 255, 255, 0.12) inset; }
	50% { box-shadow: 0 16px 44px rgba(255, 69, 0, 0.58), 0 0 32px rgba(255, 69, 0, 0.22), 0 0 0 1px rgba(255, 255, 255, 0.16) inset; }
}

.hp-plan-card__btn-shine {
	position: absolute;
	inset: 0;
	background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.28) 50%, transparent 65%);
	transform: translateX(-120%);
	transition: transform 0.65s ease;
	pointer-events: none;
}

.hp-plan-card__btn-label {
	position: relative;
	z-index: 1;
}

.hp-plan-card__btn-arrow {
	position: relative;
	z-index: 1;
	font-size: 0.8rem;
	transition: transform 0.22s ease;
}

.hp-plan-card__btn:hover,
.hp-plan-card__btn:focus {
	color: #fff !important;
	transform: translateY(-3px);
	box-shadow:
		0 18px 44px rgba(255, 69, 0, 0.55),
		0 0 0 1px rgba(255, 255, 255, 0.18) inset !important;
}

.hp-plan-card__btn:hover .hp-plan-card__btn-shine,
.hp-plan-card__btn:focus .hp-plan-card__btn-shine {
	transform: translateX(120%);
}

.hp-plan-card__btn:hover .hp-plan-card__btn-arrow,
.hp-plan-card__btn:focus .hp-plan-card__btn-arrow {
	transform: translateX(4px);
}

.hp-plan-card__cta-note {
	margin: 10px 0 0;
	font-family: var(--hp-font-mono, 'IBM Plex Mono', monospace);
	font-size: 0.625rem;
	font-weight: 500;
	letter-spacing: 0.04em;
	color: var(--hp-text-dim, rgba(244, 244, 246, 0.42));
}

/* Trust strip */
.hp-plan-card__trust {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 8px;
	margin-top: 14px;
	padding: 12px 10px;
	background: rgba(255, 255, 255, 0.02);
	border: 1px solid rgba(255, 255, 255, 0.06);
	border-radius: 12px;
}

.hp-plan-card__trust-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	padding: 4px 6px;
	font-family: var(--hp-font-mono, 'IBM Plex Mono', monospace);
	font-size: 0.5625rem;
	font-weight: 600;
	line-height: 1.3;
	text-align: center;
	letter-spacing: 0.03em;
	color: var(--hp-text-dim, rgba(244, 244, 246, 0.48));
}

.hp-plan-card__trust-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	font-size: 0.7rem;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.08);
}

.hp-plan-card__trust-icon--green {
	color: var(--hp-green, #00e676);
	border-color: rgba(0, 230, 118, 0.25);
	background: rgba(0, 230, 118, 0.08);
}

.hp-plan-card__trust-icon--orange {
	color: var(--hp-orange, #ff4500);
	border-color: rgba(255, 69, 0, 0.28);
	background: rgba(255, 69, 0, 0.08);
}

.hp-plan-card__trust-icon--blue {
	color: var(--hp-blue, #42a5f5);
	border-color: rgba(66, 165, 245, 0.28);
	background: rgba(66, 165, 245, 0.08);
}

.hp-plan-card__trust span:not(.hp-plan-card__trust-icon) {
	display: block;
}

.hp-plan-card__trust-sep {
	display: none;
}

/* Legacy CTA parts */
.hp-plan-card__btn-ring,
.hp-plan-card__btn-core,
.hp-plan-card__btn-icons,
.hp-plan-card__btn-play {
	display: none;
}

/* Stock */
.hp-plan-card__stock {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 12px 0 0;
	padding: 6px 12px;
	font-size: 0.75rem;
	font-weight: 600;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.04);
	color: var(--hp-text-dim, rgba(244, 244, 246, 0.45));
}

.hp-plan-card__stock--hot {
	color: #ffb74d;
	background: rgba(255, 152, 0, 0.1);
	border: 1px solid rgba(255, 152, 0, 0.25);
}

.hp-plan-card__stock--out {
	color: #ef5350;
	background: rgba(239, 83, 80, 0.1);
	border: 1px solid rgba(239, 83, 80, 0.22);
}

/* RTL */
html[dir='rtl'] .hp-plan-card__head,
html[dir='rtl'] .hp-plan-card__details-content {
	text-align: right;
}

html[dir='rtl'] .hp-plan-card__name {
	padding-left: 0;
	padding-right: 18px;
}

html[dir='rtl'] .hp-plan-card__name::before {
	left: auto;
	right: 0;
}

html[dir='rtl'] .hp-plan-card__rail {
	left: auto;
	right: 0;
	border-radius: 3px 0 0 3px;
}

html[dir='rtl'] .hp-plan-card__flag,
html[dir='rtl'] .hp-plan-card__ribbon {
	direction: rtl;
}

html[dir='rtl'] .hp-plan-card__feature {
	animation-name: hpFeatureInRtl;
}

@keyframes hpFeatureInRtl {
	from { opacity: 0; transform: translateX(8px); }
	to { opacity: 1; transform: translateX(0); }
}

/* Responsive */
@media (max-width: 767px) {
	.hp-plan-card--featured .hp-plan-card__shell {
		transform: rotateX(var(--hp-plan-tilt-x)) rotateY(var(--hp-plan-tilt-y));
	}

	.hp-plan-card__head,
	.hp-plan-card__price,
	.hp-plan-card__body,
	.hp-plan-card__foot,
	.hp-plan-card__tear {
		padding-left: 18px;
		padding-right: 18px;
	}

	.hp-plan-card__price {
		padding-left: 18px;
		padding-right: 18px;
	}

	.hp-plan-card__amount-row {
		padding: 18px 14px 16px;
		border-radius: 16px;
	}

	.hp-plan-card__amount.price,
	.hp-plan-card__amount.price strong,
	.hp-plan-card__amount .price,
	.hp-plan-card__amount .price strong {
		font-size: clamp(1.9rem, 8vw, 2.6rem) !important;
		white-space: normal;
	}

	.hp-plan-card__trust {
		grid-template-columns: 1fr;
		gap: 10px;
	}

	.hp-plan-card__trust-item {
		flex-direction: row;
		justify-content: flex-start;
		text-align: left;
	}
}

@media (prefers-reduced-motion: reduce) {
	.hp-plan-card,
	.hp-plan-card__feature,
	.hp-plan-card__live,
	.hp-plan-card__flag-dot,
	.hp-plan-card--featured .hp-plan-card__btn {
		animation: none !important;
	}

	.hp-plan-card__feature {
		opacity: 1;
	}

	.hp-plan-card__shell,
	.hp-plan-card__btn:hover,
	.hp-plan-card__btn:focus {
		transform: none !important;
	}

	.hp-plan-card__btn-shine {
		display: none;
	}
}
