/* EDD Free Downloads modal — Station Admin messaging */

.sat-edd-fd-notice {
	margin: 0 0 1em;
	padding: 0.75em 1em;
	font-size: 0.92em;
	line-height: 1.45;
	background: #f4f8fc;
	border-left: 3px solid #2271b1;
	border-radius: 2px;
}

.sat-edd-fd-notice--windows {
	color: #1d2327;
}

.sat-edd-fd-newsletter {
	margin: 0 0 1em;
	padding: 0;
	font-size: 0.92em;
	line-height: 1.45;
}

.sat-edd-fd-newsletter label {
	display: flex;
	gap: 0.5em;
	align-items: flex-start;
	cursor: pointer;
	font-weight: 600;
	color: #1d2327;
}

.sat-edd-fd-newsletter input[type='checkbox'] {
	margin-top: 0.2em;
	flex-shrink: 0;
}

.sat-edd-fd-newsletter-hint {
	display: block;
	margin: 0.35em 0 0 1.6em;
	font-weight: 400;
	font-size: 0.92em;
	color: #50575e;
}

.sat-edd-fd-optional-email {
	margin: 0 0 1em;
	padding: 0.65em 0.85em;
	font-size: 0.9em;
	line-height: 1.45;
	color: #1d2327;
	background: #f6f7f7;
	border-radius: 2px;
}

.sat-edd-fd-optional-email--top {
	margin: 0 0 1.1em;
	border-left: 3px solid #2271b1;
}

/* EDD 2.x loads modal markup into <dialog id="edd-free-downloads-modal"> */
#edd-free-downloads-modal .sat-edd-fd-optional-email--top,
#edd-free-download-modal .sat-edd-fd-optional-email--top,
.edd-free-download-modal .sat-edd-fd-optional-email--top {
	margin-top: 0;
}

/* Combined on-page panel (newsletter + notices) below product description */
.sat-edd-product-panel {
	margin: 2em 0 1.5em;
	padding: 1.35em 1.45em;
	background: #fff;
	border: 1px solid #c3c4c7;
	border-radius: 4px;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.sat-edd-product-panel__title {
	margin: 0 0 0.85em;
	font-size: 1.25em;
	color: #1d2327;
}

.sat-edd-product-panel__notice {
	margin: 0;
}

.sat-edd-product-panel__notice .sat-edd-fd-notice {
	margin-bottom: 0;
}

.sat-edd-product-panel__newsletter {
	margin-top: 1.35em;
	padding-top: 1.25em;
	border-top: 1px solid #dcdcde;
}

.sat-edd-product-panel .sat-edd-newsletter-signup {
	margin: 0;
	padding: 0;
	background: transparent;
	border: none;
	box-shadow: none;
}

.sat-edd-product-panel .sat-edd-newsletter-signup__title {
	margin: 0 0 0.65em;
	font-size: 1.12em;
}

.sat-edd-product-panel__privacy {
	margin: 0.85em 0 0;
	font-size: 0.88em;
	color: #50575e;
}

.sat-edd-product-panel__download-hint {
	margin: 0.65em 0 0;
	font-size: 0.92em;
	line-height: 1.45;
	color: #1d2327;
}

/* Trust block on single free download product pages */
.sat-edd-product-trust {
	margin: 0 0 1.5em;
	padding: 1em 1.1em;
	font-size: 0.95em;
	line-height: 1.5;
	background: #f4f8fc;
	border-left: 3px solid #2271b1;
	border-radius: 2px;
	color: #1d2327;
}

.sat-edd-product-trust p {
	margin: 0 0 0.65em;
}

.sat-edd-product-trust p:last-child {
	margin-bottom: 0;
}

.sat-edd-product-trust__newsletter {
	font-size: 0.92em;
	color: #50575e;
}

/* Product-page newsletter signup (Mailchimp) */
.sat-edd-newsletter-signup {
	margin: 2em 0 1.5em;
	padding: 1.25em 1.35em;
	background: #fff;
	border: 1px solid #c3c4c7;
	border-radius: 4px;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.sat-edd-newsletter-signup__title {
	margin: 0 0 0.5em;
	font-size: 1.1em;
	color: #1d2327;
}

.sat-edd-newsletter-signup__desc {
	margin: 0 0 1em;
	font-size: 0.95em;
	line-height: 1.5;
	color: #50575e;
}

.sat-edd-newsletter-signup__label {
	display: block;
	margin-bottom: 0.35em;
	font-weight: 600;
	font-size: 0.92em;
	color: #1d2327;
}

.sat-edd-newsletter-signup__row {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5em;
	align-items: stretch;
}

.sat-edd-newsletter-signup__input {
	flex: 1 1 220px;
	min-width: 0;
	padding: 0.55em 0.75em;
	font-size: 1em;
	border: 1px solid #8c8f94;
	border-radius: 3px;
}

.sat-edd-newsletter-signup__button {
	flex: 0 0 auto;
	padding: 0.55em 1.1em;
	font-size: 1em;
	font-weight: 600;
	color: #fff;
	background: #2271b1;
	border: none;
	border-radius: 3px;
	cursor: pointer;
}

.sat-edd-newsletter-signup__button:hover,
.sat-edd-newsletter-signup__button:focus {
	background: #135e96;
}

.sat-edd-newsletter-signup__button:disabled {
	opacity: 0.65;
	cursor: not-allowed;
}

.sat-edd-newsletter-signup__privacy {
	margin: 0.75em 0 0;
	font-size: 0.88em;
	color: #50575e;
}

.sat-edd-newsletter-signup__status {
	margin: 0.75em 0 0;
	font-size: 0.92em;
	color: #1d2327;
}

.sat-edd-newsletter-signup__status--error {
	color: #b32d2e;
}

/* SAM download page: title row + jump link to Take Notice panel */
body.sat-free-download-page .entry-header {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem 1.25rem;
}

body.sat-free-download-page .entry-title {
	margin-bottom: 0;
	flex: 1 1 auto;
	min-width: min(100%, 16rem);
}

.sat-free-download-jump {
	flex: 0 0 auto;
}

.sat-free-download-jump__button {
	display: inline-block;
	padding: 0.55em 1.15em;
	font-size: 0.95em;
	font-weight: 600;
	line-height: 1.35;
	color: #fff;
	background: #2271b1;
	border-radius: 4px;
	text-decoration: none;
	white-space: nowrap;
}

.sat-free-download-jump__button:hover,
.sat-free-download-jump__button:focus {
	color: #fff;
	background: #135e96;
	text-decoration: none;
}

#sat-take-notice.sat-edd-product-panel,
.sat-free-download-notice {
	scroll-margin-top: 1.5rem;
}

/* Products listing — prominent Free price for $0 downloads */
body.sat-edd-hide-listing-buy-buttons .edd_downloads_list .edd_price,
body.sat-edd-hide-listing-buy-buttons .wp-block-edd-products .edd-price,
body.sat-edd-hide-listing-buy-buttons .wp-block-edd-products .edd-product__price {
	margin: 0.4em 0 0.65em;
}

body.sat-edd-hide-listing-buy-buttons .sat-edd-listing-free-label {
	display: inline-block;
	padding: 0.15em 0.7em 0.2em;
	font-size: clamp(1.45rem, 2.8vw, 2rem);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: 0.02em;
	color: #135e96;
	background: #e8f4fc;
	border: 2px solid #2271b1;
	border-radius: 6px;
	box-shadow: 0 1px 2px rgba(19, 94, 150, 0.12);
}

.sat-edd-fd-direct-download {
	font-weight: 600;
}
