/* Nedclan RSVP — frontend styles. Colours/fonts pull from CSS vars set by
   Nedclan_Frontend::inline_theme_vars() so everything is admin-editable. */

.nedclan-rsvp-wrap {
	--radius: var(--nedclan-radius, 18px);
	/* Card margin (outside the border): a positive value is a gutter inside this wrapper; a
	   negative value lets the card reach out into the theme's own page padding. The width and
	   left margin are worked out together so the form always stays centred. */
	--nedclan-bleed: max(0px, calc(var(--nedclan-card-margin, 16px) * -1));
	--nedclan-wrap-w: min(calc(100% + 2 * var(--nedclan-bleed)), calc(640px + 2 * var(--nedclan-bleed)));
	width: var(--nedclan-wrap-w);
	max-width: none;
	margin: 0 0 0 calc((100% - var(--nedclan-wrap-w)) / 2);
	padding: var(--nedclan-wrap-space-y, 24px) max(0px, var(--nedclan-card-margin, 16px));
	font-family: var(--nedclan-font-body, 'Inter', sans-serif);
	color: var(--nedclan-body-text, #6B6560);
	line-height: var(--nedclan-body-lh, 1.6);
	letter-spacing: var(--nedclan-body-ls, 0px);
	box-sizing: border-box;
}
.nedclan-rsvp-wrap *, .nedclan-rsvp-wrap *::before, .nedclan-rsvp-wrap *::after { box-sizing: border-box; }

/* Hard guarantee that the native `hidden` attribute always wins, no matter
   what display value a component's own class sets (flex/grid/inline-flex
   etc normally beat the browser's built-in [hidden] rule at equal
   specificity because author CSS outranks the user-agent stylesheet).
   Without this, the yard/image modals and the conditional Continue/Submit
   buttons can render even while `hidden` is set. */
.nedclan-rsvp-wrap [hidden] { display: none !important; }

.nedclan-hero-card, .nedclan-form-card {
	background: var(--nedclan-card-bg, #fff);
	border: 1px solid var(--nedclan-border, #D9A054);
	border-radius: var(--radius);
	padding: var(--nedclan-card-pad-y, 48px) var(--nedclan-card-pad-x, 40px);
	text-align: center;
}

.nedclan-eyebrow {
	color: var(--eyebrow-color, var(--nedclan-accent, #C8862C));
	font-weight: 600;
	letter-spacing: calc(2px + var(--nedclan-heading-ls, 0px));
	font-size: var(--eyebrow-size, 12px);
	font-family: var(--eyebrow-font, inherit);
	text-transform: var(--eyebrow-case, uppercase);
	line-height: var(--nedclan-heading-lh, 1.3);
	margin: 0 0 16px;
}
.nedclan-eyebrow.nedclan-center { text-align: center; margin-bottom: 8px; }

.nedclan-heading {
	font-family: var(--heading-font, var(--nedclan-font-heading, 'Playfair Display', serif));
	font-weight: 400;
	font-style: italic;
	color: var(--heading-color, var(--nedclan-heading-text, #3B2A1E));
	font-size: var(--heading-size, 36px);
	text-transform: var(--heading-case, none);
	line-height: var(--nedclan-heading-lh, 1.3);
	letter-spacing: var(--nedclan-heading-ls, 0px);
	margin: 0 0 32px;
}

.nedclan-meta-row {
	display: flex;
	justify-content: center;
	gap: 60px;
	margin-bottom: 32px;
}
.nedclan-meta { text-align: left; border-left: 2px solid var(--nedclan-accent, #C8862C); padding-left: 14px; }
.nedclan-meta-label { display: block; font-size: 11px; letter-spacing: calc(1px + var(--nedclan-body-ls, 0px)); line-height: var(--nedclan-body-lh, 1.6); color: var(--nedclan-body-text); text-transform: uppercase; margin-bottom: 6px; }
.nedclan-meta-value { display: block; font-family: var(--nedclan-font-heading, serif); font-size: 20px; color: var(--nedclan-heading-text); }

.nedclan-subheading {
	font-family: var(--subheading-font, var(--nedclan-font-heading, serif));
	font-weight: 400;
	color: var(--subheading-color, var(--nedclan-heading-text));
	font-size: var(--subheading-size, 24px);
	text-transform: var(--subheading-case, none);
	line-height: var(--nedclan-heading-lh, 1.3);
	letter-spacing: var(--nedclan-heading-ls, 0px);
	margin: 0 0 8px;
}
.nedclan-intro-note {
	font-size: var(--intro-note-size, 14px);
	color: var(--intro-note-color, inherit);
	font-family: var(--intro-note-font, inherit);
	text-transform: var(--intro-note-case, none);
	margin: 0 0 28px;
}

.nedclan-toggle-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	justify-content: center;
	border: var(--hero-btn-border-w, 0) solid var(--hero-btn-border-color, var(--nedclan-accent));
	border-radius: var(--hero-btn-radius, 999px);
	padding: 14px 32px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: calc(1px + var(--nedclan-body-ls, 0px));
	line-height: var(--nedclan-body-lh, 1.6);
	cursor: pointer;
	color: #fff;
	background: var(--nedclan-accent, #C8862C);
	box-shadow: 0 0 0 6px rgba(200,134,44,0.12);
	transition: opacity .15s ease, transform .05s ease;
}
.nedclan-toggle-btn:hover { opacity: .92; }
.nedclan-toggle-btn:active { transform: translateY(1px); }
.nedclan-chevron-icon { transition: transform .2s ease; display:inline-block; color: #fff; flex-shrink: 0; }
.nedclan-toggle-btn[aria-expanded="true"] .nedclan-chevron-icon { transform: rotate(180deg); }

/* Continue / Submit / Back buttons — fully driven by Verify... no, RSVP Form Design settings */
.nedclan-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	justify-content: center;
	border: var(--rf-action-border-w, 0) solid var(--rf-action-bg, var(--nedclan-accent));
	border-radius: var(--rf-action-radius, 999px);
	padding: var(--rf-action-padding, 14px) 32px;
	font-size: var(--rf-action-text-size, 13px);
	font-weight: 700;
	letter-spacing: calc(1px + var(--nedclan-body-ls, 0px));
	line-height: var(--nedclan-body-lh, 1.6);
	text-transform: var(--rf-action-case, uppercase);
	cursor: pointer;
	color: var(--rf-action-text, #fff);
	background: var(--rf-action-bg, var(--nedclan-accent, #C8862C));
	box-shadow: 0 0 0 6px rgba(200,134,44,0.12);
	transition: background .12s ease, color .12s ease, transform .05s ease;
}
.nedclan-btn:hover { background: var(--rf-action-bg-hover, var(--rf-action-bg)); color: var(--rf-action-text-hover, var(--rf-action-text)); }
.nedclan-btn:active { transform: translateY(1px); }
.nedclan-form-nav { gap: var(--rf-action-gap, 16px); }

.nedclan-btn-green { background: var(--rf-submit-bg, var(--nedclan-green-button, #1FA855)); box-shadow: 0 0 0 6px rgba(31,168,85,0.12); }
.nedclan-btn-green:hover { background: var(--rf-submit-bg-hover, #188C46); }
.nedclan-btn:disabled { background: var(--rf-action-bg-disabled, var(--nedclan-accent)) !important; color: var(--rf-action-text-disabled, #fff) !important; opacity: .55; cursor: not-allowed; box-shadow: none; }
.nedclan-btn-link { background: none; border: none; color: var(--nedclan-body-text); font-size: var(--rf-action-text-size, 13px); text-transform: var(--rf-action-case, uppercase); letter-spacing: calc(.5px + var(--nedclan-body-ls, 0px)); line-height: var(--nedclan-body-lh, 1.6); cursor: pointer; opacity: .7; display: inline-flex; align-items: center; gap: 6px; }
.nedclan-btn-link:hover { opacity: 1; }
.nedclan-btn-icon { width: 1em; height: 1em; object-fit: contain; display: inline-block; vertical-align: -0.125em; }

.nedclan-return-home-btn {
	transition: background .12s ease, color .12s ease;
	cursor: pointer;
}
.nedclan-return-home-btn:hover {
	background: var(--rh-bg-hover, var(--nedclan-accent, #C8862C)) !important;
	color: var(--rh-text-hover, #fff) !important;
}

/* RSVP section */
.nedclan-rsvp-section { margin-top: 40px; }
.nedclan-rsvp-title {
	text-align: center;
	font-family: var(--nedclan-font-heading, serif);
	font-weight: 700;
	color: var(--nedclan-heading-text);
	font-size: 40px;
	letter-spacing: calc(2px + var(--nedclan-heading-ls, 0px));
	line-height: var(--nedclan-heading-lh, 1.3);
	margin: 0 0 24px;
}

.nedclan-form-card { text-align: left; padding: 40px 32px; }

/* stepper */
.nedclan-stepper { display: flex; align-items: center; justify-content: space-between; margin-bottom: 32px; }
.nedclan-step-node { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.nedclan-step-node .circle {
	width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--nedclan-accent);
	display: flex; align-items: center; justify-content: center; font-size: 13px; color: var(--nedclan-accent);
}
.nedclan-step-node.is-complete .circle { background: var(--nedclan-accent); color: #fff; border-color: var(--nedclan-accent); }
.nedclan-step-node .step-label {
	font-size: var(--rf-step-label-size, 11px); letter-spacing: calc(1px + var(--nedclan-body-ls, 0px)); line-height: var(--nedclan-body-lh, 1.6);
	color: var(--rf-step-label-color, var(--nedclan-body-text));
	font-family: var(--rf-step-label-font, inherit); text-transform: var(--rf-step-label-case, none);
}
.nedclan-step-line { flex: 1; height: 1px; background: var(--nedclan-border); margin: 0 8px 20px; }

/* fields */
.nedclan-field-label {
	display: block; font-size: var(--rf-label-size, 11px); letter-spacing: calc(1px + var(--nedclan-body-ls, 0px)); line-height: var(--nedclan-body-lh, 1.6); text-transform: var(--rf-label-case, uppercase);
	color: var(--rf-label-color, var(--nedclan-body-text)); margin: 0 0 var(--rf-label-margin, 8px);
	font-family: var(--rf-label-font, inherit);
}
.nedclan-field-label.nedclan-question {
	font-size: var(--rf-question-size, 13px); letter-spacing: var(--nedclan-body-ls, 0px); line-height: var(--nedclan-body-lh, 1.6);
	color: var(--rf-question-color, var(--nedclan-body-text));
	font-family: var(--rf-question-font, inherit); text-transform: var(--rf-question-case, none);
	margin-top: var(--rf-question-mt, 20px); margin-bottom: var(--rf-question-mb, 12px);
}
.nedclan-field-label.nedclan-accent-label { color: var(--nedclan-accent); font-weight: 700; text-transform: uppercase; }

.nedclan-input {
	width: 100%; border: var(--rf-field-border-w, 1px) solid var(--rf-field-border, var(--nedclan-border)) !important;
	border-radius: var(--rf-field-radius, 10px) !important;
	padding: var(--rf-field-padding, 12px) 14px; font-size: var(--rf-field-text-size, 14px); font-family: inherit;
	color: var(--rf-field-text, var(--nedclan-heading-text));
	background: var(--rf-field-bg, #fff) !important; margin-bottom: 4px;
}
.nedclan-input::placeholder { color: var(--rf-placeholder, #B8AFA6); font-size: var(--rf-placeholder-size, 14px); }
.nedclan-textarea { min-height: 80px; resize: vertical; }
.nedclan-underline-input {
	width: 100%; border: none; border-bottom: 1px solid var(--nedclan-border); background: none;
	padding: 8px 2px; font-size: 13px; letter-spacing: calc(.5px + var(--nedclan-body-ls, 0px)); line-height: var(--nedclan-body-lh, 1.6); margin: 8px 0 4px; text-transform: uppercase;
	color: var(--nedclan-heading-text);
}
.nedclan-underline-input::placeholder { color: #B8AFA6; }
.nedclan-select-trigger {
	display: flex !important; align-items: center; justify-content: space-between; gap: 10px;
	text-align: left; cursor: pointer; margin-top: 8px;
}
.nedclan-select-trigger span { color: var(--rf-placeholder, #B8AFA6); text-transform: uppercase; letter-spacing: calc(.5px + var(--nedclan-body-ls, 0px)); font-size: inherit; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nedclan-select-trigger.has-value span { color: var(--rf-field-text, var(--nedclan-heading-text)); }
.nedclan-select-trigger svg { flex-shrink: 0; color: var(--rf-placeholder, #B8AFA6); transition: transform .15s ease; }
.nedclan-select-trigger[aria-expanded="true"] svg { transform: rotate(180deg); }
.nedclan-hint { font-size: var(--rf-footnote-size, 12px); color: var(--rf-footnote-color, #9A9086); font-family: var(--rf-footnote-font, inherit); text-transform: var(--rf-footnote-case, none); margin: 4px 0 0; }
.nedclan-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.nedclan-divider { border: none; border-top: 1px solid #EFE4DA; margin: var(--rf-toggle-spacing, 20px) 0; }

.nedclan-row-between { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: var(--rf-plusone-spacing, 20px) 0; }
.nedclan-toggle-label {
	font-size: var(--rf-toggle-label-size, 14px); color: var(--rf-toggle-label-color, var(--nedclan-heading-text));
	font-family: var(--rf-toggle-label-font, inherit); text-transform: var(--rf-toggle-label-case, none); font-weight: 600;
}

/* switch — sized via --rf-toggle-size, which changes at the tablet/mobile breakpoints too */
.nedclan-switch {
	width: var(--rf-toggle-size, 44px); height: calc(var(--rf-toggle-size, 44px) * 0.545);
	border-radius: 999px; border: none; background: #E3DCD3;
	position: relative; cursor: pointer; padding: 0; flex-shrink: 0;
}
.nedclan-switch::after {
	content: ''; position: absolute; top: 9%; left: 4.5%;
	width: calc(var(--rf-toggle-size, 44px) * 0.455); height: calc(var(--rf-toggle-size, 44px) * 0.455);
	border-radius: 50%; background: #fff; transition: left .15s ease; box-shadow: 0 1px 2px rgba(0,0,0,.2);
}
.nedclan-switch[aria-checked="true"] { background: var(--nedclan-accent); }
.nedclan-switch[aria-checked="true"]::after {
	left: 50%; content: '✓'; display:flex; align-items:center; justify-content:center;
	font-size: calc(var(--rf-toggle-size, 44px) * 0.25); color: var(--nedclan-accent);
}

/* choice buttons (Bride/Groom/Both, Yes/Maybe/No) — shared styling, responsive padding */
.nedclan-choice-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--rf-choice-gap, 12px); margin-bottom: var(--rf-choice-spacing-bottom, 20px); }
.nedclan-choice {
	border: var(--rf-choice-border-w, 1px) solid var(--rf-choice-border, var(--nedclan-border));
	border-radius: var(--rf-choice-radius, 10px);
	background: var(--rf-choice-bg, #fff); padding: var(--rf-choice-padding, 12px) 8px;
	font-size: var(--rf-choice-text-size, 14px); color: var(--rf-choice-text, var(--nedclan-heading-text));
	letter-spacing: var(--rf-choice-letter-spacing, 0px); line-height: var(--rf-choice-line-height, 1.4);
	text-transform: var(--rf-choice-case, none);
	cursor: pointer; box-sizing: border-box; max-width: 100%; overflow-wrap: break-word; transition: background .12s ease, border-color .12s ease, color .12s ease;
}
.nedclan-choice:hover:not(.is-selected) { background: var(--rf-choice-bg-hover, #FDF6EF); color: var(--rf-choice-text-hover, var(--nedclan-heading-text)); }
.nedclan-choice.is-selected {
	background: var(--rf-choice-bg-selected, var(--nedclan-highlight-bg));
	border-color: var(--rf-choice-border-selected, var(--nedclan-accent));
	color: var(--rf-choice-text-selected, var(--nedclan-accent)); font-weight: 700;
}

/* invitation notice box */
.nedclan-invitation-box {
	background: var(--nedclan-green-bg); border: 1px solid var(--nedclan-green-text); border-radius: 10px;
	text-align: center; padding: 14px; margin-top: 24px;
}
.nedclan-invitation-box .title { font-size: 11px; letter-spacing: calc(1px + var(--nedclan-body-ls, 0px)); line-height: var(--nedclan-body-lh, 1.6); color: var(--nedclan-heading-text); margin: 0 0 4px; text-transform: uppercase; }
.nedclan-invitation-box .msg {
	font-size: var(--invitation-notice-size, 13px);
	color: var(--invitation-notice-color, var(--nedclan-green-text));
	font-family: var(--invitation-notice-font, inherit);
	text-transform: var(--invitation-notice-case, none);
	margin: 0;
}

.nedclan-form-nav { display: flex; align-items: center; justify-content: space-between; margin-top: 28px; }

/* materials grid (step 2) */
.nedclan-materials-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 20px; }
.nedclan-material-card {
	border: 1px solid var(--nedclan-border); border-radius: 12px; padding: 10px; display: flex; gap: 10px;
	position: relative; cursor: pointer; background: #fff; align-items: flex-start;
}
.nedclan-material-card.is-selected { background: var(--nedclan-highlight-bg); border-color: var(--nedclan-accent); }
.nedclan-material-thumb { width: 56px; height: 56px; border-radius: 8px; object-fit: cover; flex-shrink: 0; cursor: zoom-in; background:#eee; }
.nedclan-material-body { flex: 1; min-width: 0; }
.nedclan-material-name { font-size: 14px; font-weight: 700; color: var(--nedclan-heading-text); margin: 0 0 4px; }
.nedclan-material-desc { font-size: 11.5px; color: var(--nedclan-body-text); margin: 0 0 8px; line-height: 1.35; }
.nedclan-material-price { font-size: 13px; font-weight: 700; color: var(--nedclan-heading-text); }
.nedclan-material-checkmark {
	position: absolute; top: 8px; right: 8px; width: 20px; height: 20px; border-radius: 50%;
	background: var(--nedclan-green-button); color: #fff; display: none; align-items: center; justify-content: center; font-size: 12px;
}
.nedclan-material-card.is-selected .nedclan-material-checkmark { display: flex; }
.nedclan-qty-stepper { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; margin-left: 12px; }
.nedclan-qty-stepper button {
	width: var(--qty-stepper-size, 20px) !important;
	height: var(--qty-stepper-size, 20px) !important;
	min-width: var(--qty-stepper-size, 20px); min-height: var(--qty-stepper-size, 20px);
	max-width: var(--qty-stepper-size, 20px); max-height: var(--qty-stepper-size, 20px);
	box-sizing: border-box !important; padding: 0 !important; margin: 0; flex-shrink: 0;
	border-radius: 50% !important;
	border: var(--qty-stepper-border-w, 1px) solid var(--qty-stepper-border-color, var(--nedclan-border)) !important;
	background: var(--qty-stepper-bg, #fff) !important;
	color: var(--qty-stepper-icon-color, var(--nedclan-heading-text));
	cursor: pointer; line-height: 1; font-size: calc(var(--qty-stepper-size, 20px) * 0.55);
	display: inline-flex; align-items: center; justify-content: center;
	appearance: none; -webkit-appearance: none;
}
.nedclan-qty-stepper .qty-val { font-size: 12px; min-width: 14px; text-align: center; display: inline-block; }
.nedclan-per-yard-tag { font-size: 10px; color: var(--nedclan-accent); font-weight: 700; margin-top: 2px; }

.nedclan-order-summary {
	background: var(--nedclan-highlight-bg); border: 1px solid var(--nedclan-border);
	border-radius: 10px; padding: 16px 16px 0; margin: 20px 0;
}
.nedclan-summary-row {
	display: flex; align-items: center; gap: 12px; padding-bottom: 14px; margin-bottom: 14px;
	border-bottom: 1px solid rgba(0,0,0,.08); font-size: 14px; color: var(--nedclan-body-text);
}
.nedclan-summary-row .name { flex: 1 1 40%; color: var(--nedclan-body-text); min-width: 0; overflow-wrap: break-word; }
.nedclan-summary-row .qty { flex: 0 0 auto; color: var(--nedclan-body-text); white-space: nowrap; }
.nedclan-summary-row .price { flex: 0 0 auto; font-weight: 700; color: var(--nedclan-heading-text); white-space: nowrap; }
.nedclan-summary-remove {
	flex: 0 0 auto; background: none; border: none; cursor: pointer; padding: 4px; line-height: 0;
	color: var(--nedclan-body-text); opacity: .6; transition: opacity .12s ease, color .12s ease;
}
.nedclan-summary-remove:hover { opacity: 1; color: #B3392C; }
.nedclan-summary-empty { padding-bottom: 14px; color: var(--nedclan-body-text); font-size: 13px; }

.nedclan-total-row {
	display: flex; align-items: center; justify-content: space-between; background: var(--nedclan-highlight-bg);
	border: 1px solid var(--nedclan-border); border-radius: 10px; padding: 14px 16px; font-size: 12px;
	letter-spacing: calc(1px + var(--nedclan-body-ls, 0px)); line-height: var(--nedclan-body-lh, 1.6); text-transform: uppercase; color: var(--nedclan-heading-text);
}
.nedclan-order-summary .nedclan-total-row {
	background: none; border: none; border-radius: 0; padding: 0 0 16px; margin: 0;
}
.nedclan-total-row strong { font-size: 18px; letter-spacing: var(--nedclan-body-ls, 0px); }

.nedclan-form-error {
	margin-top: 16px; background: #FDEBEA; border: 1px solid #E0857A; color: #B3392C;
	border-radius: 8px; padding: 10px 14px; font-size: 13px;
}

.nedclan-panel-center { text-align: center; padding: 20px 10px 4px; }
/* Independent left/right margin for the materials + delivery step, separate from the overall card margin above. */
.nedclan-panel[data-panel="2"] { padding-left: var(--nedclan-material-section-margin, 0px); padding-right: var(--nedclan-material-section-margin, 0px); box-sizing: border-box; }
.nedclan-thankyou-icon {
	width: 56px; height: 56px; border-radius: 50%; background: var(--nedclan-accent); color: #fff;
	display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; font-size: 22px;
}
.nedclan-thankyou-heading {
	font-family: var(--thankyou-heading-font, var(--nedclan-font-heading, serif));
	text-transform: var(--thankyou-heading-case, uppercase);
	letter-spacing: calc(2px + var(--nedclan-heading-ls, 0px));
	line-height: var(--nedclan-heading-lh, 1.3);
	font-size: var(--thankyou-heading-size, 18px);
	color: var(--thankyou-heading-color, var(--nedclan-heading-text));
	margin: 0 0 10px;
}
.nedclan-thankyou-message {
	font-size: var(--thankyou-message-size, 14px);
	color: var(--thankyou-message-color, inherit);
	font-family: var(--thankyou-message-font, inherit);
	text-transform: var(--thankyou-message-case, none);
}

/* modals */
.nedclan-modal-overlay {
	position: fixed; inset: 0; background: rgba(30,20,10,0.45); display: flex; align-items: center; justify-content: center;
	z-index: 99999; padding: 20px;
}
.nedclan-modal {
	background: #fff; border: 1px solid var(--nedclan-border); border-radius: 16px; padding: 24px; max-width: 380px; width: 100%;
	max-height: 85vh; overflow-y: auto; position: relative;
}
.nedclan-modal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.nedclan-modal-header .nedclan-modal-title { margin: 0; flex: 1; text-align: center; }
.nedclan-modal-close {
	background: none; border: none; padding: 4px; margin-left: 12px; cursor: pointer;
	color: var(--nedclan-heading-text); opacity: .6; line-height: 0; flex-shrink: 0;
	transition: opacity .12s ease;
}
.nedclan-modal-close:hover { opacity: 1; }
.nedclan-modal-close-image {
	position: absolute; top: 12px; right: 12px; background: rgba(255,255,255,.9);
	border-radius: 50%; padding: 6px;
}
.nedclan-modal-title { text-align: center; font-size: 13px; letter-spacing: calc(1px + var(--nedclan-heading-ls, 0px)); line-height: var(--nedclan-heading-lh, 1.3); color: var(--nedclan-heading-text); text-transform: uppercase; margin: 0 0 16px; }
.nedclan-yard-options { display: flex; flex-direction: column; }
.nedclan-yard-option {
	display: flex; align-items: center; justify-content: space-between; padding: 12px 4px;
	border-bottom: 1px solid #F0E7DD; cursor: pointer; font-size: 14px; color: var(--nedclan-heading-text);
}
.nedclan-yard-option:last-child { border-bottom: none; }
.nedclan-yard-option .radio { width: 18px; height: 18px; border-radius: 50%; border: 1px solid var(--nedclan-border); position: relative; flex-shrink: 0; }
.nedclan-yard-option.is-selected .radio { border-color: var(--nedclan-accent); }
.nedclan-yard-option.is-selected .radio::after { content: ''; position: absolute; inset: 3px; border-radius: 50%; background: var(--nedclan-accent); }
.nedclan-image-modal { text-align: center; padding: 10px; }
.nedclan-image-modal img { max-width: 100%; border-radius: 10px; }

/* Guest verification page */
.nedclan-verify-card { max-width: 460px; margin: 40px auto; text-align: center; padding: 56px 44px; }

/* -- entry form (Verify Guest) -- */
.nedclan-verify-page-heading {
	font-family: var(--nedclan-font-heading, 'Playfair Display', serif);
	font-weight: 400; color: var(--nedclan-heading-text); font-size: 44px; line-height: 1.15; margin: 0 0 14px;
}
.nedclan-verify-page-sub { font-size: 15px; color: var(--nedclan-body-text); margin: 0 0 40px; }
.nedclan-verify-id-label {
	display: block; text-align: left; font-size: 12px; letter-spacing: calc(1px + var(--nedclan-body-ls, 0px)); line-height: var(--nedclan-body-lh, 1.6); text-transform: uppercase;
	color: var(--nedclan-body-text); margin: 0 0 10px;
}
.nedclan-verify-id-input {
	width: 100%; border: 1.5px solid var(--nedclan-border); border-radius: calc(var(--radius) * 0.85);
	padding: 18px 20px; font-size: 21px; font-family: inherit; color: var(--nedclan-heading-text);
	background: #fff; letter-spacing: calc(1px + var(--nedclan-body-ls, 0px)); line-height: var(--nedclan-body-lh, 1.6); text-align: left; margin-bottom: 32px;
}
.nedclan-verify-id-input::placeholder { color: #ADA69D; text-transform: uppercase; }
.nedclan-verify-submit-btn {
	width: 100%; justify-content: center; padding: 18px 24px; font-size: 15px;
}

/* -- result cards (Verified / Not Valid) -- */
.nedclan-verify-check-outer {
	width: calc(var(--nedclan-icon-size, 106px) * 1.415);
	height: calc(var(--nedclan-icon-size, 106px) * 1.415);
	border-radius: 50%;
	background: var(--nedclan-green-bg, #E6F6EA);
	display: flex; align-items: center; justify-content: center;
	margin: 0 auto 32px;
}
.nedclan-verify-check-inner {
	width: var(--nedclan-icon-size, 106px); height: var(--nedclan-icon-size, 106px); border-radius: 50%;
	background: var(--nedclan-green-button, #34C264);
	display: flex; align-items: center; justify-content: center;
}
.nedclan-verify-check-icon-svg { width: calc(var(--nedclan-icon-size, 106px) * 0.47); height: calc(var(--nedclan-icon-size, 106px) * 0.47); }
.nedclan-verify-check-icon-img { width: calc(var(--nedclan-icon-size, 106px) * 0.55); height: calc(var(--nedclan-icon-size, 106px) * 0.55); object-fit: contain; }
.nedclan-verify-check-outer.nedclan-verify-invalid { background: #FBE4E1; }
.nedclan-verify-check-inner.nedclan-verify-invalid { background: #D9534F; }

.nedclan-verify-heading {
	font-family: var(--nedclan-font-heading, 'Playfair Display', serif);
	font-weight: 400; color: var(--nedclan-heading-text); font-size: 32px; margin: 0 0 16px;
}
.nedclan-verify-id {
	font-family: var(--nedclan-font-heading, 'Playfair Display', serif);
	font-weight: 600; color: var(--nedclan-heading-text); font-size: 20px; margin: 0 0 40px;
}
.nedclan-verify-name {
	font-size: 13px; letter-spacing: calc(2px + var(--nedclan-body-ls, 0px)); line-height: var(--nedclan-body-lh, 1.6); text-transform: uppercase; color: #B0A8A0; margin: 0 0 44px;
}
.nedclan-verify-logo-img { width: var(--nedclan-logo-size, 130px); max-width: 100%; margin: 0 auto; display: block; height: auto; }
.nedclan-verify-logo-text {
	font-family: var(--nedclan-font-heading, 'Playfair Display', serif);
	color: var(--nedclan-accent); font-size: calc(var(--nedclan-logo-size, 130px) * 0.2); letter-spacing: calc(2px + var(--nedclan-heading-ls, 0px)); margin: 0;
}
.nedclan-verify-again {
	display: inline-flex; margin-top: 32px; text-decoration: none;
}

@media (max-width: 768px) {
	.nedclan-meta-row { gap: 30px; }
	.nedclan-choice { font-size: calc(var(--rf-choice-text-size, 14px) * 0.93); padding-left: 6px; padding-right: 6px; }
}

@media (max-width: 560px) {
	.nedclan-two-col, .nedclan-materials-grid { grid-template-columns: 1fr; }
	/* Date + Location stack, with both gold lines on the same left edge; the pair stays centred in the card. */
	.nedclan-meta-row { flex-direction: column; align-items: flex-start; gap: 18px; width: fit-content; max-width: 100%; margin-left: auto; margin-right: auto; }
	.nedclan-meta { max-width: 100%; }
	.nedclan-meta-value { overflow-wrap: anywhere; }
	.nedclan-heading { font-size: 26px; }
	.nedclan-rsvp-title { font-size: 30px; }
	.nedclan-choice-row { gap: calc(var(--rf-choice-gap, 12px) * 0.6); }
	.nedclan-choice {
		font-size: calc(var(--rf-choice-text-size, 14px) * 0.85);
		padding-left: 4px; padding-right: 4px; word-break: break-word; line-height: 1.25;
	}
	.nedclan-form-nav { flex-wrap: wrap; gap: calc(var(--rf-action-gap, 16px) * 0.6); }
	.nedclan-btn { padding-left: 20px; padding-right: 20px; font-size: calc(var(--rf-action-text-size, 13px) * 0.95); }
	.nedclan-stepper { margin-bottom: 24px; }
	.nedclan-modal { padding: 20px; }
	.nedclan-select-trigger span { font-size: calc(var(--rf-field-text-size, 14px) * 0.9); }
}

@media (max-width: 360px) {
	.nedclan-choice-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.nedclan-choice { padding-left: 2px; padding-right: 2px; font-size: calc(var(--rf-choice-text-size, 14px) * 0.75); }
}

