/* JSIPTV — plan / bundle pricing cards
   Palette pulled from main.css: dark panels + crimson accent (#d54857). */

.plan {
	max-width: 40rem;
	margin: 0 auto;
	text-align: left;
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.09);
	border-radius: 6px;
	padding: 2.5rem;
}

.plan--bundle {
	max-width: 46rem;
}

/* Header: name + term eyebrow */
.plan-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 0.75rem 1.5rem;
	flex-wrap: wrap;
	margin: 0 0 1.75rem 0;
	padding: 0 0 1.5rem 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.plan-name {
	margin: 0;
	font-size: 2rem;
	line-height: 1.15;
}

.plan-term {
	font-size: 0.75rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: #d54857;
	white-space: nowrap;
}

/* Price block */
.plan-price {
	margin: 0 0 1.75rem 0;
}

.plan-usd {
	display: block;
	color: #ffffff;
	font-weight: 700;
	font-size: 3.25rem;
	line-height: 1;
}

.plan-usd .cur {
	font-size: 1.6rem;
	vertical-align: top;
	margin-right: 0.08em;
	color: rgba(255, 255, 255, 0.7);
}

.plan-usd .unit {
	font-size: 0.9rem;
	font-weight: 400;
	letter-spacing: 0.12em;
	color: rgba(255, 255, 255, 0.5);
	margin-left: 0.4em;
}

.plan-cad {
	display: block;
	margin-top: 0.55rem;
	font-size: 1rem;
	color: rgba(255, 255, 255, 0.75);
}

.plan-cad small {
	color: rgba(255, 255, 255, 0.45);
}

/* Specs list — replaces the old stacked <h4> lines */
.plan-specs {
	list-style: none;
	margin: 0 0 1.75rem 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 0.55rem 1.5rem;
}

.plan-specs li {
	position: relative;
	padding-left: 1.35rem;
	font-size: 0.95rem;
	color: rgba(255, 255, 255, 0.85);
}

.plan-specs li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.5em;
	width: 0.5rem;
	height: 0.5rem;
	border-radius: 50%;
	background: #d54857;
}

/* Description + highlighted note */
.plan-desc {
	margin: 0 0 2rem 0;
	color: rgba(255, 255, 255, 0.7);
}

.plan-desc .note {
	display: block;
	margin-top: 0.85rem;
	color: #e46270;
	font-weight: 600;
}

/* Bundle sub-services */
.bundle-items {
	display: grid;
	gap: 1rem;
	margin: 0 0 2rem 0;
}

.bundle-item {
	padding: 1.25rem 1.35rem;
	background: rgba(255, 255, 255, 0.02);
	border: 1px solid rgba(255, 255, 255, 0.07);
	border-radius: 5px;
}

.bundle-item-name {
	margin: 0 0 0.85rem 0;
	font-weight: 700;
	font-size: 1.1rem;
	letter-spacing: 0.02em;
	color: #ffffff;
}

.plan-cta {
	margin: 0;
}

/* Action buttons (Contact + per-service PDF) */
.plan-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin: 0;
	list-style: none;
	padding: 0;
}

.plan-actions li {
	margin: 0;
	padding: 0;
}

.plan-actions .button {
	margin: 0;
}

/* Per-service downloads inside a bundle card */
.bundle-pdf {
	margin-top: 0.9rem;
}

/* PDF picker: a single button, or a button that opens a category menu */
.pdf-menu {
	position: relative;
	display: inline-block;
}

.pdf-menu > summary {
	list-style: none;
	cursor: pointer;
}

.pdf-menu > summary::-webkit-details-marker {
	display: none;
}

.pdf-menu > summary::after {
	content: none !important;    /* hide the template button's arrow icon */
	display: none !important;
}

.pdf-caret {
	display: inline-block;
	margin-left: 0.5em;
	font-size: 0.8em;
}

.pdf-menu[open] .pdf-caret {
	transform: rotate(180deg);
}

.pdf-menu-list {
	position: absolute;
	z-index: 20;
	top: calc(100% + 0.4rem);
	left: 0;
	min-width: 100%;
	padding: 0.35rem;
	display: grid;
	gap: 0.1rem;
	white-space: nowrap;
	background: #2e2e35;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 6px;
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
}

.pdf-menu-list a {
	display: block;
	padding: 0.55rem 0.9rem;
	border-radius: 4px;
	font-size: 0.9rem;
	color: rgba(255, 255, 255, 0.85) !important;
	border-bottom: 0 !important;
	text-decoration: none !important;
}

.pdf-menu-list a:hover {
	background: rgba(255, 255, 255, 0.07);
	color: #ffffff !important;
}

/* Footnote */
.plan-foot {
	margin: 1.5rem 0 0 0;
	font-size: 0.8rem;
	color: rgba(255, 255, 255, 0.4);
}

@media screen and (max-width: 736px) {
	.plan {
		padding: 2rem 1.75rem;
	}
	.plan-usd {
		font-size: 2.75rem;
	}
}

@media screen and (max-width: 480px) {
	.plan-specs {
		grid-template-columns: 1fr;
	}
	.plan-head {
		gap: 0.35rem;
	}
}
