/* GGD page polish v1.8.2: door type pages, /our-doors/, Book a Service */

/* Hero: navy, real vertical room, readable measure */
body.ggd-polish .elementor .page-hero {
	background-color: var(--Navy, #0F172A);
	padding-block: clamp(56px, 8vw, 104px);
}
body.ggd-polish .elementor .page-hero .section-header {
	gap: clamp(16px, 2vw, 24px);
}
body.ggd-polish .elementor .page-hero .section-header > p,
body.ggd-polish .elementor .page-hero .section-header .e-paragraph-base {
	max-width: 62ch;
	line-height: 1.6;
}

/* Section rhythm: every content band gets top and bottom padding, mobile included */
body.ggd-polish .elementor .ggd-2col,
body.ggd-polish .elementor .ggd-default,
body.ggd-polish .elementor .ggd-svc,
body.ggd-polish .elementor .ggd-cta {
	padding-block: clamp(64px, 8vw, 112px);
}

/* Section heading sits clear of the grid below it */
body.ggd-polish .elementor .gc > .section-header:not(:last-child) {
	margin-block-end: clamp(32px, 4vw, 48px);
}

/* Option cards: even padding, icon and text spaced */
body.ggd-polish .elementor .ggd-sc {
	padding: clamp(24px, 3vw, 36px);
}
body.ggd-polish .elementor .ggd-sc-wrapper {
	display: flex;
	flex-direction: column;
	gap: 16px;
}
body.ggd-polish .elementor .ggd-svcgrid {
	row-gap: 16px;
}

/* Door cards: text block gets room */
body.ggd-polish .elementor .di {
	padding: clamp(20px, 2.5vw, 32px);
	gap: 10px;
}
body.ggd-polish .elementor .ggd-doorgrid + * {
	margin-block-start: clamp(24px, 3vw, 40px);
}

/* Button rows: consistent gap, wrap on narrow screens */
body.ggd-polish .elementor .hero-btns,
body.ggd-polish .elementor .cta-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}
body.ggd-polish .elementor .cta-buttons .elementor-button-wrapper,
body.ggd-polish .elementor .hero-btns .elementor-button-wrapper {
	margin: 0;
}

/* ---- Global ---- */

/* Cards that are not themselves links get no hover affordance */
.elementor .ggd-sc:not(a):hover,
.elementor .ggd-sc:not(a):focus-visible {
	border-color: var(--Border, rgba(30, 64, 175, 0.1));
}

/* Part finder: larger labels, fields and button */
.ggd-finder .ggd-finder__label { font-size: 15px !important; }
.ggd-finder .ggd-finder__opt { font-size: 14px !important; }
.ggd-finder .ggd-finder__select,
.ggd-finder .ggd-finder__input {
	font-size: 17px !important;
	min-height: 56px !important;
	padding-block: 14px !important;
}
.ggd-finder .ggd-finder__submit {
	font-size: 17px !important;
	min-height: 56px !important;
	padding: 16px 30px !important;
}
.ggd-finder .ggd-finder__row { align-items: end; }

/* ---- Non-Elementor pages (Request a Quote, Contact, Showroom Appointment) ---- */
body.ggd-polish main.site-main:has(> .page-header) {
	max-width: none;
	width: 100%;
	padding: 0;
	margin: 0;
}
body.ggd-polish main.site-main > .page-header {
	background-color: var(--Navy, #0F172A);
	padding: clamp(56px, 8vw, 104px) var(--ggd-gutter, 24px);
	margin: 0;
}
body.ggd-polish main.site-main > .page-header .entry-title {
	max-width: var(--ggd-content, 1144px);
	margin: 0 auto;
	color: #fff;
	font-family: Heebo, sans-serif;
	font-weight: 800;
	font-size: clamp(36px, 5vw, 56px);
	line-height: 1.1;
	letter-spacing: -0.02em;
}
body.ggd-polish main.site-main:has(> .page-header) > .page-content {
	max-width: var(--ggd-shell, 1240px);
	margin: 0 auto;
	padding: clamp(64px, 8vw, 112px) var(--ggd-gutter, 24px);
}

/* ---- Full-bleed Elementor pages: theme .page-content was boxing them at 1336px ---- */
body.ggd-polish main.site-main > .page-content:has(> .elementor) {
	max-width: none;
	width: 100%;
	padding: 0;
	margin: 0;
}
body.ggd-polish main.site-main > .page-content > .elementor {
	width: 100%;
}

/* ---- Breadcrumbs: off site-wide (backstop for templates and plugins) ---- */
.woocommerce-breadcrumb,
.ggd-breadcrumb,
.elementor-widget-woocommerce-breadcrumb {
	display: none !important;
}

/* ---- Fluent Forms on light cards: theme text colour was leaking white ---- */
.fluentform,
.fluentform label,
.fluentform .ff-el-input--label label,
.fluentform .ff-el-form-check-label,
.fluentform .ff-el-form-check-label span,
.fluentform legend,
.fluentform .ff-el-help-message {
	color: var(--Navy, #0F172A) !important;
}
.fluentform .ff-el-form-control,
.fluentform select.ff-el-form-control {
	color: var(--Navy, #0F172A) !important;
	-webkit-text-fill-color: var(--Navy, #0F172A) !important;
	background-color: #fff !important;
}
.fluentform .ff-el-form-control::placeholder {
	color: var(--Slate-Light, #94A3B8) !important;
	-webkit-text-fill-color: var(--Slate-Light, #94A3B8) !important;
}
.fluentform .ff-el-input--label {
	font-weight: 600;
}

/* ---- Book a Service / Insurance: contact column sticks beside the form (layout itself is the gc-2col global class) ---- */
@media (min-width: 1025px) {
	body.ggd-polish .elementor .gc-2col > .gc-col_40 {
		position: sticky;
		top: 147px;
		align-self: flex-start;
	}
}

/* ---- About hero: subtitle reads as a statement ---- */
body.ggd-polish .elementor [data-id="87de1b1"] {
	font-size: clamp(22px, 2.4vw, 30px) !important;
	font-weight: 600 !important;
	line-height: 1.3 !important;
	color: #fff !important;
	max-width: 30ch;
}

/* ---- Form notices and Contact page layout ---- */
.fluentform .ggd-form-notice {
	padding: 16px 20px;
	border-left: 4px solid var(--Blue, #1D4ED8);
	background: var(--Blue-Tint, #EFF6FF);
	border-radius: 8px;
	color: var(--Navy, #0F172A);
}
.fluentform .ggd-form-notice p { margin: 0; }
.ggd-contact-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: clamp(32px, 4vw, 56px);
	align-items: start;
}
@media (min-width: 1024px) {
	.ggd-contact-grid { grid-template-columns: minmax(300px, 400px) minmax(0, 1fr); }
}
.ggd-contact-details h2 { margin: 0 0 20px; color: var(--Navy, #0F172A); }
.ggd-contact-details ul { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 16px; }
.ggd-contact-details li { display: grid; gap: 2px; color: var(--Slate, #475569); }
.ggd-contact-details li strong { color: var(--Navy, #0F172A); font-size: 14px; text-transform: uppercase; letter-spacing: .04em; }
.ggd-contact-details a { color: var(--Blue, #1D4ED8); text-decoration: none; }
.ggd-contact-map { width: 100%; aspect-ratio: 4 / 3; border: 0; border-radius: 8px; }
.ggd-contact-form {
	background: #fff;
	border: 1.5px solid var(--Border, rgba(30, 64, 175, 0.1));
	border-radius: 8px;
	padding: clamp(24px, 3vw, 40px);
}

/* ---- Start-here popup: secondary contact route, always shown ---- */
.ggd-start .ggd-start__alt,
.ggd-start .ggd-start__alt:visited {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 52px;
	margin-top: 10px;
	padding: 14px 20px;
	border: 1.5px solid var(--Border-Strong, #CBD5E1);
	border-radius: 10px;
	background: #fff;
	color: var(--Navy, #0F172A) !important;
	font-weight: 700;
	text-decoration: none !important;
	transition: border-color .15s, color .15s;
}
.ggd-start .ggd-start__alt:hover,
.ggd-start .ggd-start__alt:focus-visible {
	border-color: var(--Blue, #1D4ED8);
	color: var(--Blue, #1D4ED8) !important;
}

/* ---- Showroom: FluentBooking repeats the page title as an H1 ---- */
.fcal_slot_heading { display: none !important; }

/* ---- Theme-page content: lead paragraph and tick list ---- */
.page-content .ggd-lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.6; color: var(--Slate, #475569); max-width: 62ch; margin: 0 0 24px; }
.page-content .ggd-ticks { list-style: none; padding: 0; margin: 0 0 clamp(32px, 4vw, 48px); display: grid; gap: 12px; }
.page-content .ggd-ticks li { position: relative; padding-left: 32px; color: var(--Navy, #0F172A); font-weight: 600; }
.page-content .ggd-ticks li::before { content: ""; position: absolute; left: 0; top: .2em; width: 20px; height: 20px; border-radius: 50%; background: var(--Blue, #1D4ED8) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat; }

/* ---- FAQBot answers: lite YouTube thumbnails (swapped for the player on click) ---- */
.faqbot-widget .ggd-yt-row {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 12px;
	margin: 12px 0 16px;
}
.faqbot-widget a.ggd-yt {
	position: relative;
	display: block;
	border-radius: 8px;
	overflow: hidden;
	background: var(--Navy, #0F172A);
	text-decoration: none !important;
	aspect-ratio: 16 / 9;
}
.faqbot-widget a.ggd-yt img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	opacity: .85;
	transition: opacity .15s;
}
.faqbot-widget a.ggd-yt:hover img { opacity: 1; }
.faqbot-widget a.ggd-yt::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 56px;
	height: 40px;
	margin: -20px 0 0 -28px;
	border-radius: 10px;
	background: var(--Red-Bright, #DC2626) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='18' viewBox='0 0 16 18'%3E%3Cpath d='M0 0l16 9-16 9z' fill='white'/%3E%3C/svg%3E") center / 16px no-repeat;
	z-index: 1;
}
.faqbot-widget .ggd-yt__label {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 24px 12px 10px;
	background: linear-gradient(transparent, rgba(15, 23, 42, .85));
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.3;
}
.faqbot-widget .ggd-yt__frame {
	width: 100%;
	aspect-ratio: 16 / 9;
	border: 0;
	border-radius: 8px;
}

/* FAQBot inherits currentColor; the theme sets --color-text to white, so pin FAQBot's own text variables */
.faqbot-widget.faqbot-theme-inherit {
	--faqbot-text: var(--Navy, #0F172A);
	--faqbot-title-color: var(--Navy, #0F172A);
	--faqbot-title-color-active: var(--Blue, #1D4ED8);
	--faqbot-text-muted: var(--Slate, #475569);
	--faqbot-content-color: var(--Slate, #475569);
	color: var(--Navy, #0F172A);
}
.faqbot-widget.faqbot-theme-inherit .faqbot-accordion-header { font-weight: 700; font-size: 17px; }

/* ---- Theme pages: content sits on off-white, not the navy body background ---- */
body.ggd-polish main.site-main:has(> .page-header) {
	background-color: var(--Off-White, #F8FAFC);
}

/* ---- Contact page: details as a card beside the form ---- */
.ggd-contact-details {
	background: #fff;
	border: 1.5px solid var(--Border, rgba(30, 64, 175, 0.1));
	border-radius: 8px;
	padding: clamp(24px, 3vw, 40px);
}
.ggd-contact-details h2 {
	font-family: Heebo, sans-serif;
	font-size: clamp(24px, 2.4vw, 30px);
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: -0.01em;
	color: var(--Navy, #0F172A) !important;
	margin: 0 0 24px;
}
.ggd-contact-details ul { gap: 20px; }
.ggd-contact-details li strong {
	color: var(--Slate, #475569) !important;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .08em;
}
.ggd-contact-details li a,
.ggd-contact-details li span {
	color: var(--Navy, #0F172A) !important;
	font-size: 17px;
	font-weight: 600;
	text-decoration: none;
}
.ggd-contact-details li a:hover { color: var(--Red-Bright, #DC2626) !important; }
.ggd-contact-map { margin-top: 8px; }

/* ---- Fluent Forms: every submit button is the on-brand red hero button ---- */
.fluentform .ff-btn-submit,
.fluentform button[type="submit"] {
	background-color: var(--Red-Bright, #DC2626) !important;
	color: #fff !important;
	border: 0 !important;
	border-radius: 8px !important;
	padding: 20px 30px !important;
	font-family: Heebo, sans-serif !important;
	font-size: 16px !important;
	font-weight: 700 !important;
	line-height: 1 !important;
	letter-spacing: 0.7px !important;
	text-transform: uppercase !important;
	box-shadow: none !important;
	opacity: 1 !important;
	transition: background-color .3s !important;
}
.fluentform .ff-btn-submit:hover,
.fluentform .ff-btn-submit:focus-visible,
.fluentform button[type="submit"]:hover,
.fluentform button[type="submit"]:focus-visible {
	background-color: var(--Red, #BE1E2D) !important;
	color: #fff !important;
}

/* ---- Showroom Appointment: intro + ticks left, showroom booking card right ---- */
@media (min-width: 1025px) {
	body.page-id-3361 main.site-main > .page-content {
		display: grid;
		grid-template-columns: minmax(0, 1fr) 520px;
		column-gap: clamp(40px, 5vw, 80px);
		align-items: start;
	}
	body.page-id-3361 main.site-main > .page-content > .ggd-lead { grid-column: 1; grid-row: 1; }
	body.page-id-3361 main.site-main > .page-content > .ggd-ticks { grid-column: 1; grid-row: 2; }
	body.page-id-3361 main.site-main > .page-content > .ggd-widget-wrap { grid-column: 2; grid-row: 1 / span 3; margin: 0; }
}
body.page-id-3361 .ggd-widget-wrap--showroom { justify-content: flex-start; }

/* ---- Request a Quote: form card left, contact card right (sticky) ---- */
@media (min-width: 1024px) {
	.ggd-contact-grid.ggd-quote-grid { grid-template-columns: minmax(0, 1fr) minmax(300px, 380px); }
	.ggd-quote-aside { position: sticky; top: 147px; }
}
/* Submit only once the visitor says they're an existing customer */
.fluentform_wrapper_4 form:not(:has(input[name="existing_customer"][value="Yes"]:checked)) .ff_submit_btn_wrapper { display: none; }

/* ---- Fluent Forms: radios and checkboxes as bordered tiles ---- */
.fluentform .ff-el-group:has(> .ff-el-input--content > .ff-el-form-check) > .ff-el-input--content {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 10px;
}
.fluentform .ff-el-form-check { margin: 0 !important; }
.fluentform .ff-el-form-check > .ff-el-form-check-label {
	display: flex !important;
	align-items: center;
	gap: 12px;
	min-height: 52px;
	margin: 0 !important;
	padding: 12px 16px;
	border: 1.5px solid #E2E8F0;
	border-radius: 8px;
	background: #fff;
	color: var(--Navy, #0F172A) !important;
	font-size: 16px;
	line-height: 1.35;
	cursor: pointer;
	transition: border-color .15s, background-color .15s;
}
.fluentform .ff-el-form-check > .ff-el-form-check-label:hover { border-color: var(--Blue-Bright, #3B82F6); }
.fluentform .ff-el-form-check > .ff-el-form-check-label:has(input:checked) {
	border-color: var(--Blue, #1D4ED8);
	background: var(--Blue-Tint, #EFF6FF);
}
.fluentform .ff-el-form-check input.ff-el-form-check-input {
	width: 18px;
	height: 18px;
	margin: 0 !important;
	flex: 0 0 auto;
	accent-color: var(--Blue, #1D4ED8);
}
.fluentform .ff-el-input--label label { font-size: 16px; font-weight: 700; }
.fluentform .ff-el-group { margin-bottom: 24px; }

/* ---- [ggd_contact]: the one contact card, site-wide ---- */
.ggd-contact-card {
	background: #fff;
	border: 1.5px solid var(--Border, rgba(30, 64, 175, 0.1));
	border-radius: 8px;
	padding: clamp(24px, 3vw, 36px);
	color: var(--Navy, #0F172A);
	text-align: left;
}
.ggd-contact-card__title {
	margin: 0 0 24px !important;
	font-family: Heebo, sans-serif !important;
	font-size: 24px !important;
	font-weight: 700 !important;
	line-height: 1.4 !important;
	color: var(--Navy, #0F172A) !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
}
.ggd-contact-card__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.ggd-contact-card__item { margin: 0; padding: 0; }
.ggd-contact-card__item > a,
.ggd-contact-card__item > .ggd-contact-card__icon { text-decoration: none !important; }
.ggd-contact-card__item > a,
.ggd-contact-card__item {
	display: flex;
	align-items: center;
	gap: 14px;
	color: inherit !important;
}
.ggd-contact-card__icon {
	flex: 0 0 20px;
	width: 20px;
	height: 20px;
	display: inline-flex;
}
.ggd-contact-card__icon svg { width: 20px; height: 20px; fill: var(--Blue, #1D4ED8); }
.ggd-contact-card__text { display: grid; gap: 2px; min-width: 0; }
.ggd-contact-card__text strong {
	font-size: 15px;
	font-weight: 700;
	line-height: 1.3;
	color: var(--Navy, #0F172A) !important;
}
.ggd-contact-card__text span {
	font-size: 15px;
	line-height: 1.4;
	color: var(--Slate, #475569) !important;
	overflow-wrap: anywhere;
}
.ggd-contact-card__item > a:hover .ggd-contact-card__text span { color: var(--Red-Bright, #DC2626) !important; }
.ggd-contact-card__map {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	border: 0;
	border-radius: 8px;
	margin-top: 24px;
}
/* sticky beside long forms */
@media (min-width: 1024px) {
	.ggd-quote-grid > .ggd-contact-card { position: sticky; top: 147px; }
}

/* ---- Our Doors: "A big range of doors..." as lead text with room below ---- */
body.ggd-polish .elementor [data-id="f759e51"] {
	font-size: clamp(18px, 1.6vw, 21px) !important;
	line-height: 1.6 !important;
	color: var(--Slate, #475569) !important;
	max-width: 62ch;
	margin-block-end: clamp(32px, 4vw, 48px) !important;
}
