/* Defensive reset for the standalone /form/ page: some themes' global body
   styles (margin, max-width, font) would otherwise leak into this page. */
body.fgf-standalone-page {
	margin: 0;
	padding: 0;
	background: #fffdfb;
}

.fgf-page {
	--fgf-ink: #1e1c1a;
	--fgf-muted: #6b6560;
	--fgf-line: #c9beb2;
	--fgf-paper: #fffdfb;
	--fgf-accent: #b98b5e;

	min-height: 100vh;
	display: flex;
	flex-direction: column;
	background: var( --fgf-paper );
	color: var( --fgf-ink );
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
	box-sizing: border-box;
}

.fgf-page *,
.fgf-page *::before,
.fgf-page *::after {
	box-sizing: inherit;
}

.fgf-hero {
	position: relative;
	min-height: 260px;
	overflow: hidden;
}

.fgf-hero-image {
	position: absolute;
	/* Slightly oversized + clipped by .fgf-hero's overflow:hidden so a blur
	   filter never reveals a soft edge/halo at the container boundary. */
	inset: -24px;
	background-size: cover;
	background-position: center 20%;
}

.fgf-hero-overlay {
	position: absolute;
	inset: 0;
}

.fgf-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient( to bottom, rgba( 255, 253, 251, 0 ) 45%, var( --fgf-paper ) 100% );
}

.fgf-content {
	flex: 1;
	width: 100%;
	max-width: 620px;
	margin: 0 auto;
	padding: 36px 24px 56px;
}

@media ( min-width: 900px ) {
	.fgf-page {
		flex-direction: row;
		min-height: 100vh;
	}

	.fgf-hero {
		order: 2;
		flex: 0 0 44%;
		min-height: 100vh;
	}

	.fgf-hero::after {
		background: linear-gradient( to right, var( --fgf-paper ) 0%, rgba( 255, 253, 251, 0 ) 42% );
	}

	.fgf-content {
		order: 1;
		flex: 1;
		max-width: none;
		display: flex;
		flex-direction: column;
		justify-content: center;
		padding: 64px 72px;
	}

	.fgf-content > * {
		width: 100%;
		max-width: 520px;
	}
}

.fgf-header {
	text-align: center;
	margin-bottom: 28px;
}

.fgf-title {
	margin: 0;
	font-family: "Playfair Display", Georgia, "Times New Roman", serif;
	font-weight: 500;
	font-size: clamp( 26px, 6vw, 38px );
	letter-spacing: 4px;
	text-transform: uppercase;
	text-wrap: balance;
}

.fgf-studio {
	margin: 22px 0 4px;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 3px;
	text-transform: uppercase;
}

.fgf-tagline {
	margin: 0;
	font-size: 12px;
	letter-spacing: 2px;
	text-transform: uppercase;
	text-decoration: underline;
	text-underline-offset: 4px;
	color: var( --fgf-muted );
}

.fgf-intro {
	margin: 0 0 24px;
	font-size: 15px;
	line-height: 1.6;
	text-align: center;
	color: var( --fgf-muted );
}

.fgf-products {
	border-top: 1px solid var( --fgf-line );
	border-bottom: 1px solid var( --fgf-line );
	padding: 6px 0;
	margin-bottom: 28px;
}

.fgf-product-option {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 11px 2px;
	cursor: pointer;
}

.fgf-product-option input[type="checkbox"] {
	flex: none;
	width: 28px;
	height: 28px;
	accent-color: var( --fgf-ink );
	border: 2px solid var( --fgf-ink );
}

.fgf-product-name {
	flex: 1;
	font-size: 14px;
	letter-spacing: 0.3px;
	text-transform: uppercase;
}

.fgf-product-price {
	flex: none;
	font-size: 13px;
	color: var( --fgf-muted );
	white-space: nowrap;
}

.fgf-product-price.fgf-price-hidden:not( .fgf-is-free ) {
	display: none;
}

.fgf-product-price.fgf-is-free {
	color: #1a7a3c;
	font-weight: 600;
}

.fgf-product-option.fgf-is-free-item .fgf-product-name {
	color: #1a7a3c;
}

.fgf-product-children {
	margin-left: 34px;
	border-left: 2px solid var( --fgf-line );
	padding-left: 14px;
}

.fgf-product-option-sub {
	padding-top: 8px;
	padding-bottom: 8px;
}

.fgf-product-option-sub .fgf-product-name {
	font-size: 13px;
	text-transform: none;
	letter-spacing: 0;
}

.fgf-product-option-sub input[type="checkbox"] {
	width: 22px;
	height: 22px;
}

.fgf-fields {
	margin-bottom: 8px;
}

.fgf-field {
	display: flex;
	align-items: flex-end;
	gap: 10px;
	margin-bottom: 18px;
}

.fgf-field label {
	flex: 0 0 150px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: var( --fgf-muted );
	padding-bottom: 6px;
}

.fgf-field label::after {
	content: ":";
	margin-left: 3px;
}

.fgf-field input,
.fgf-field textarea {
	flex: 1;
	min-width: 0;
	border: none;
	border-bottom: 1px solid var( --fgf-line );
	background: transparent;
	padding: 6px 2px;
	font-size: 15px;
	color: var( --fgf-ink );
	font-family: inherit;
}

.fgf-field input:focus,
.fgf-field textarea:focus {
	outline: none;
	border-bottom-color: var( --fgf-accent );
}

.fgf-field-textarea {
	align-items: flex-start;
}

.fgf-field-textarea textarea {
	resize: vertical;
}

.fgf-date-input-wrap {
	position: relative;
	flex: 1;
	min-width: 0;
}

.fgf-date-input-wrap .fgf-date-input {
	width: 100%;
	padding-right: 26px;
	cursor: pointer;
}

.fgf-date-icon {
	position: absolute;
	right: 2px;
	top: 50%;
	transform: translateY( -50% );
	width: 17px;
	height: 17px;
	color: var( --fgf-muted );
	pointer-events: none;
}

.fgf-datepicker-panel {
	position: absolute;
	z-index: 30;
	top: calc( 100% + 8px );
	left: 0;
	width: 280px;
	max-width: min( 280px, 90vw );
	background: var( --fgf-paper );
	border: 1px solid var( --fgf-line );
	border-radius: 6px;
	box-shadow: 0 8px 24px rgba( 30, 28, 26, 0.14 );
	padding: 14px;
}

.fgf-datepicker-panel[hidden] {
	display: none;
}

.fgf-datepicker-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 10px;
}

.fgf-datepicker-title {
	font-family: "Playfair Display", Georgia, "Times New Roman", serif;
	font-size: 15px;
	letter-spacing: 0.5px;
	color: var( --fgf-ink );
	text-transform: capitalize;
}

.fgf-datepicker-nav {
	appearance: none;
	border: 1px solid var( --fgf-line );
	background: transparent;
	color: var( --fgf-ink );
	width: 26px;
	height: 26px;
	border-radius: 4px;
	font-size: 15px;
	line-height: 1;
	cursor: pointer;
}

.fgf-datepicker-nav:hover {
	background: var( --fgf-line );
}

.fgf-datepicker-weekdays,
.fgf-datepicker-days {
	display: grid;
	grid-template-columns: repeat( 7, 1fr );
	gap: 2px;
	text-align: center;
}

.fgf-datepicker-weekdays span {
	font-size: 10.5px;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	color: var( --fgf-muted );
	padding-bottom: 6px;
}

.fgf-datepicker-day {
	appearance: none;
	border: none;
	background: transparent;
	font-family: inherit;
	font-size: 13px;
	color: var( --fgf-ink );
	padding: 7px 0;
	border-radius: 4px;
	cursor: pointer;
}

.fgf-datepicker-day:hover {
	background: var( --fgf-line );
}

.fgf-datepicker-day.is-outside {
	color: var( --fgf-muted );
	opacity: 0.5;
}

.fgf-datepicker-day.is-today {
	box-shadow: inset 0 0 0 1px var( --fgf-accent );
}

.fgf-datepicker-day.is-selected {
	background: var( --fgf-ink );
	color: #fff;
}

.fgf-datepicker-footer {
	margin-top: 10px;
	padding-top: 10px;
	border-top: 1px solid var( --fgf-line );
	text-align: center;
}

.fgf-datepicker-today {
	appearance: none;
	border: none;
	background: transparent;
	font-family: inherit;
	font-size: 12px;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	color: var( --fgf-accent );
	cursor: pointer;
	padding: 2px 6px;
}

.fgf-datepicker-today:hover {
	text-decoration: underline;
}

@media ( max-width: 600px ) {
	.fgf-field {
		flex-direction: column;
		align-items: stretch;
		gap: 4px;
	}

	.fgf-field label {
		flex: none;
		padding-bottom: 0;
	}
}

.fgf-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 26px;
}

.fgf-btn {
	flex: 1 1 auto;
	padding: 14px 18px;
	border: none;
	border-radius: 4px;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 1px;
	text-transform: uppercase;
	cursor: pointer;
	transition: opacity 0.2s ease;
}

.fgf-btn:hover {
	opacity: 0.88;
}

.fgf-btn:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

.fgf-btn-whatsapp {
	background: #25d366;
	color: #06301a;
}

.fgf-btn-submit {
	background: var( --fgf-ink );
	color: #fff;
}

.fgf-message {
	margin-top: 16px;
	font-size: 14px;
	min-height: 1em;
	text-align: center;
}

.fgf-message.is-error {
	color: #b3261e;
}

.fgf-message.is-success {
	color: #1a7a3c;
}

.fgf-footnote {
	margin-top: 32px;
	text-align: center;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: var( --fgf-muted );
}

/* Honeypot: kept in normal layout flow (not display:none/visibility:hidden,
   which some bots specifically detect and skip) but moved fully off-screen
   and out of the tab order so no real visitor ever sees or reaches it. */
.fgf-hp-field {
	position: absolute;
	left: -9999px;
	top: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.fgf-security-note {
	margin-top: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	text-align: center;
	font-size: 12px;
	line-height: 1.5;
	color: var( --fgf-muted );
}

.fgf-security-icon {
	flex: none;
	width: 15px;
	height: 15px;
}
