.hst-sticky-footer {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 99999;
	background: #ffcc00;
	box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.08);
}

.hst-sticky-footer__inner {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	padding: 0.75rem 1.5rem 0.85rem;
}

.hst-sticky-footer__button {
	border: none;
	border-radius: 3px;
	background: #002855;
	color: #fff;
	padding: 0.55rem 1.35rem;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.2;
	cursor: pointer;
	font-family: inherit;
}

.hst-sticky-footer__button:hover,
.hst-sticky-footer__button:focus {
	background: #001f42;
	color: #fff;
}

.hst-sticky-footer__note {
	margin: 0.35rem 0 0;
	font-size: 0.8125rem;
	line-height: 1.3;
	color: #1a1a1a;
	text-align: right;
}

body.hst-transcript-purchase,
body.hst-transcript-edit {
	padding-bottom: 5.5rem;
}

body.hst-transcript-purchase form.cart .quantity,
body.hst-transcript-purchase form.cart .single_add_to_cart_button,
body.hst-transcript-edit form.cart .quantity,
body.hst-transcript-edit form.cart .single_add_to_cart_button,
body.hst-transcript-edit form.cart .hst-save-transcript-button {
	display: none !important;
}

/* Edit mode: hide product-page chrome (Elementor + WooCommerce). */
body.hst-transcript-edit .cr-reviews-rating,
body.hst-transcript-edit span[data-mfp-src='#pricing-info'],
body.hst-transcript-edit .woocommerce-product-rating,
body.hst-transcript-edit .elementor-widget-woocommerce-product-rating,
body.hst-transcript-edit .summary > .star-rating,
body.hst-transcript-edit .summary .price,
body.hst-transcript-edit .elementor-widget-woocommerce-product-price,
body.hst-transcript-edit .tm-epo-totals,
body.hst-transcript-edit .tc-epo-totals,
body.hst-transcript-edit .summary .tc-lightbox-wrap,
body.hst-transcript-edit .summary [data-elementor-lightbox],
body.hst-transcript-edit .woocommerce-tabs,
body.hst-transcript-edit .elementor-widget-woocommerce-product-data-tabs,
body.hst-transcript-edit .woocommerce-Tabs-panel,
body.hst-transcript-edit #reviews,
body.hst-transcript-edit .elementor-widget-woocommerce-product-meta,
body.hst-transcript-edit .related.products,
body.hst-transcript-edit .upsells.products,
body.hst-transcript-edit .elementor-widget-woocommerce-product-related,
body.hst-transcript-edit .elementor-widget-woocommerce-product-additional-information,
body.hst-transcript-edit .elementor-widget-woocommerce-product-content,
body.hst-transcript-edit .elementor-widget-theme-post-content,
body.hst-transcript-edit .elementor-widget-posts {
	display: none !important;
}

/* Edit mode: hide specific Elementor sections on the transcript product page. */
body.hst-transcript-edit .elementor-element-4faa4d0f,
body.hst-transcript-edit .elementor-element-3cd556e1,
body.hst-transcript-edit .elementor-element-2b0a7dc6,
body.hst-transcript-edit .elementor-element-439eb9d6,
body.hst-transcript-edit .elementor-element-1dec4c37,
body.hst-transcript-edit .elementor-element-6799468a {
	display: none !important;
}

@media (max-width: 768px) {
	.hst-sticky-footer__inner {
		padding: 0.65rem 1rem 0.75rem;
	}

	.hst-sticky-footer__button {
		width: 100%;
		max-width: 18rem;
	}

	.hst-sticky-footer__note {
		max-width: 18rem;
	}
}

.hst-buy-modal {
	position: fixed;
	inset: 0;
	z-index: 100001;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.5rem;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
}

.hst-buy-modal[hidden] {
	display: none;
}

body.hst-buy-modal-open {
	overflow: hidden;
}

.hst-buy-modal__backdrop {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.55);
}

.hst-buy-modal__dialog {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 52rem;
	max-height: calc(100dvh - 3rem);
	overflow-y: auto;
	overscroll-behavior: contain;
	-webkit-overflow-scrolling: touch;
	background: #1a2b4a;
	color: #fff;
	border-radius: 4px;
	padding: 2rem 2.25rem 2.5rem;
	text-align: center;
	box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
}

.hst-buy-modal__dialog .hst-buy-modal__close,
.hst-buy-modal__dialog .hst-buy-modal__title,
.hst-buy-modal__dialog .hst-buy-modal__feature-title,
.hst-buy-modal__dialog .hst-buy-modal__feature-text {
	color: #fff !important;
}

.hst-buy-modal__close {
	position: absolute;
	top: 0.75rem;
	right: 0.85rem;
	border: none;
	background: transparent;
	font-size: 1.75rem;
	line-height: 1;
	cursor: pointer;
	padding: 0.25rem 0.5rem;
}

.hst-buy-modal__title {
	margin: 0 0 2rem;
	font-size: clamp(1.35rem, 3vw, 1.85rem);
	font-weight: 700;
	line-height: 1.25;
}

.hst-buy-modal__features {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 2rem;
	margin-bottom: 2rem;
	text-align: center;
}

.hst-buy-modal__feature-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 4.5rem;
	height: 4.5rem;
	margin: 0 auto 1rem;
	border: 2px solid #fff;
	border-radius: 50%;
	overflow: hidden;
	background: #1a2b4a;
}

.hst-buy-modal__feature-icon img {
	display: block;
	width: 2.35rem;
	height: 2.35rem;
	object-fit: contain;
	mix-blend-mode: lighten;
}

.hst-buy-modal__feature-title {
	margin: 0 0 0.5rem;
	font-size: 1.05rem;
	font-weight: 700;
}

.hst-buy-modal__feature-text {
	margin: 0;
	font-size: 0.9rem;
	line-height: 1.45;
}

.hst-buy-modal__cta {
	display: inline-block;
	min-width: 14rem;
	padding: 0.85rem 2rem;
	border: none;
	border-radius: 2px;
	background: #f2c94c;
	color: #1a2b4a;
	font-size: 1.1rem;
	font-weight: 700;
	cursor: pointer;
}

.hst-buy-modal__cta:hover,
.hst-buy-modal__cta:focus {
	background: #e6b83a;
	color: #1a2b4a;
}

@media (max-width: 768px) {
	.hst-buy-modal {
		align-items: flex-start;
		padding: 1rem;
	}

	.hst-buy-modal__features {
		grid-template-columns: 1fr;
		gap: 1.25rem;
		margin-bottom: 1.25rem;
	}

	.hst-buy-modal__dialog {
		max-height: calc(100dvh - 2rem);
		padding: 1.5rem 1.25rem 1.5rem;
	}

	.hst-buy-modal__title {
		margin-bottom: 1.5rem;
	}

	.hst-buy-modal__cta {
		display: block;
		width: 100%;
		min-width: 0;
	}
}
