/*
 * Eye Revolution Quotes — front-end styles
 *
 * Layout model
 * ──────────────────────────────────────────────────────────────
 * The Quote template places all content inside .erq-scroller — a
 * scroll-snap y-mandatory container that fills the viewport. Each
 * top-level section from the post content becomes a full-viewport
 * panel that snaps to the top of the viewport on scroll.
 *
 * Long sections (e.g. the Estimate) may exceed 100vh; they still
 * snap to the top on entry and scroll naturally within.
 *
 * All screen behaviours here are reset to a flat, printable
 * document in print.css.
 */

/* ── Quote scroller ──────────────────────────────────────────── */

.erq-quote {
	margin: 0;
	padding: 0;
}

.erq-scroller {
	position: relative;
	height: 100vh;
	overflow-y: scroll;
	overflow-x: hidden;
	scroll-snap-type: y mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
	margin: 0;
	padding: 0;
}

.erq-scroller::-webkit-scrollbar {
	display: none;
}

/* Let panels space themselves — kill WP's inter-block blockGap
 * inside the scroller so nothing creates a snap dead-zone.
 */
.erq-scroller .wp-block-post-content,
.erq-scroller .wp-block-post-content > * {
	margin-block-start: 0 !important;
	margin-block-end:   0 !important;
}

/* ── Panels ──────────────────────────────────────────────────── */
/*
 * Any top-level section from a pattern is a snap target. Patterns
 * use `.erq-section` on their outer <div>; we make that the panel.
 */

.erq-scroller .erq-section {
	position: relative;
	width: 100%;
	min-height: 100vh;
	scroll-snap-align: start;
	scroll-snap-stop: always;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: stretch;
	overflow: hidden;
}

/* Modifier: allow a panel to flow taller than a viewport (used
 * on content-dense sections like the Estimate). Keeps vertical
 * centering when content fits; naturally flows past the fold
 * when content exceeds 100vh.
 */
.erq-scroller .erq-section--flow {
	min-height: 100vh;
	height: auto;
	overflow: visible;
}

/* ── Side navigation ────────────────────────────────────────── */
/*
 * Populated at runtime by panels.js from each panel's data-label
 * (or H4 eyebrow fallback). Fixed to the right edge, vertically
 * centered, above panel content.
 */

.erq-sidenav {
	position: fixed;
	right: 1.25rem;
	top: 50%;
	transform: translateY(-50%);
	z-index: 40;
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
	align-items: flex-end;
	font-family: var(--wp--preset--font-family--jost);
}

.erq-sidenav[hidden] {
	display: none;
}

.erq-sidenav__pill {
	display: inline-block;
	padding: 0.35rem 0.85rem;
	font-size: 0.62rem;
	font-weight: 300;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--wp--preset--color--text-muted);
	background: rgba(250, 250, 247, 0.72);
	border: 1px solid rgba(107, 98, 69, 0.22);
	border-radius: 8px;
	cursor: pointer;
	opacity: 0.6;
	white-space: nowrap;
	transition: opacity 0.25s ease, color 0.25s ease,
	            border-color 0.25s ease, transform 0.25s ease,
	            background-color 0.25s ease;
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
}

.erq-sidenav__pill:hover,
.erq-sidenav__pill:focus-visible {
	opacity: 0.9;
	border-color: rgba(107, 98, 69, 0.55);
	color: var(--wp--preset--color--charcoal);
	transform: translateX(-3px);
	outline: none;
}

.erq-sidenav__pill.is-active {
	opacity: 1;
	color: var(--wp--preset--color--gold-dark);
	border-color: var(--wp--preset--color--gold-mid);
	background: rgba(212, 201, 168, 0.25);
	transform: translateX(-3px);
}

/* Dark-panel pill inversions (when active panel has charcoal bg) */
.erq-sidenav.is-on-dark .erq-sidenav__pill {
	color: rgba(245, 243, 238, 0.65);
	background: rgba(30, 32, 40, 0.55);
	border-color: rgba(176, 162, 122, 0.25);
}

.erq-sidenav.is-on-dark .erq-sidenav__pill:hover,
.erq-sidenav.is-on-dark .erq-sidenav__pill:focus-visible {
	color: var(--wp--preset--color--off-white);
	border-color: rgba(176, 162, 122, 0.55);
}

.erq-sidenav.is-on-dark .erq-sidenav__pill.is-active {
	color: var(--wp--preset--color--gold-light);
	background: rgba(176, 162, 122, 0.2);
	border-color: var(--wp--preset--color--gold-mid);
}

/* ── Reveal animation ────────────────────────────────────────── */

.erq-scroller .erq-section > * {
	opacity: 0;
	transform: translateY(16px);
	transition: opacity 0.65s ease, transform 0.65s ease;
}

.erq-scroller .erq-section.is-visible > * {
	opacity: 1;
	transform: none;
}

/* Stagger child animation slightly (best-effort, capped to first 6) */
.erq-scroller .erq-section.is-visible > *:nth-child(1) { transition-delay: 0.00s; }
.erq-scroller .erq-section.is-visible > *:nth-child(2) { transition-delay: 0.08s; }
.erq-scroller .erq-section.is-visible > *:nth-child(3) { transition-delay: 0.16s; }
.erq-scroller .erq-section.is-visible > *:nth-child(4) { transition-delay: 0.24s; }
.erq-scroller .erq-section.is-visible > *:nth-child(5) { transition-delay: 0.32s; }
.erq-scroller .erq-section.is-visible > *:nth-child(6) { transition-delay: 0.40s; }

/* Respect motion preferences */
@media (prefers-reduced-motion: reduce) {
	.erq-scroller,
	.erq-scroller *,
	.erq-scroller .erq-section > * {
		scroll-behavior: auto !important;
		transition: none !important;
		animation: none !important;
		transform: none !important;
		opacity: 1 !important;
	}
}

/* ── Header (floats above the scroller, fully transparent) ──── */

.erq-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 50;
	background: transparent;
	border-bottom: 0;
	padding-inline: var(--wp--preset--spacing--50);
	/* Deliberately no backdrop-filter or gradient — keeps the
	 * panel backgrounds clean through to the top edge. */
}

/* Site-root wrapper WP generates — don't let it constrain us */
body.erq-quote-body,
body.page-template-page-quote {
	margin: 0;
	padding: 0;
	overflow: hidden;
}

/* ── Logo / site title in header ─────────────────────────────── */

.erq-logo,
.erq-logo:hover,
.erq-logo:focus-visible {
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	text-decoration: none;
	color: inherit;
}

.erq-logo:hover .erq-logo__wordmark,
.erq-logo:focus-visible .erq-logo__wordmark {
	color: var(--wp--preset--color--gold-dark);
}

.erq-logo__mark {
	width: 32px;
	height: 32px;
	flex: 0 0 32px;
}

.erq-logo__mark svg {
	display: block;
	width: 100%;
	height: 100%;
}

.erq-logo__wordmark {
	font-family: var(--wp--preset--font-family--jost);
	font-weight: 300;
	font-size: 0.6875rem;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	color: var(--wp--preset--color--gold-mid);
	transition: color 0.2s ease;
}

/* ── Scroll hint (animated down arrow on first panel) ────────── */

.erq-scroll-hint {
	position: fixed;
	bottom: var(--wp--preset--spacing--50);
	left: 50%;
	z-index: 40;
	color: var(--wp--preset--color--gold-mid);
	opacity: 0.65;
	pointer-events: none;
	transform: translateX(-50%);
	transition: opacity 0.5s ease;
	animation: erq-scroll-hint-bounce 2.2s ease-in-out infinite;
}

.erq-scroll-hint.is-hidden {
	opacity: 0;
}

.erq-scroll-hint svg {
	display: block;
}

@keyframes erq-scroll-hint-bounce {
	0%, 100% { transform: translate(-50%, 0); }
	50%      { transform: translate(-50%, 6px); }
}

@media (prefers-reduced-motion: reduce) {
	.erq-scroll-hint {
		animation: none;
		transform: translateX(-50%);
	}
}

/* ── Print / Download PDF button (outline variant) ────────────── */

.erq-print-btn {
	display: inline-block;
	font-family: var(--wp--preset--font-family--jost);
	font-weight: 300;
	font-size: var(--wp--preset--font-size--cta);
	line-height: 1;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--wp--preset--color--gold-mid);
	background: transparent;
	border: 1px solid var(--wp--preset--color--gold-mid);
	border-radius: 8px;
	padding: 0.9em 2.25em;
	cursor: pointer;
	transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.erq-print-btn:hover,
.erq-print-btn:focus-visible {
	color: #ffffff;
	background-color: var(--wp--preset--color--gold-mid);
	border-color: var(--wp--preset--color--gold-mid);
}

/* ── Eyebrow label (H4 above titles) ─────────────────────────── */

.erq-eyebrow {
	margin-top: 0;
	margin-bottom: 0;
}

/* ── Cover section ───────────────────────────────────────────── */

.erq-cover-brand {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	align-items: center;
	text-align: center;
}

.erq-cover-brand__mark {
	display: block;
	width: clamp(112px, 12vw, 144px);
	aspect-ratio: 295.2 / 304.2;
}

.erq-cover-brand__mark svg,
.erq-cover-brand__mark img {
	display: block;
	width: 100%;
	height: 100%;
}

.erq-cover-brand__wordmark {
	font-family: var(--wp--preset--font-family--jost);
	font-weight: 300;
	font-size: 0.75rem;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	color: var(--wp--preset--color--gold-mid);
}

/* ── Cover meta (two columns, label above value) ─────────────── */

.erq-meta-cols {
	margin-top: 0;
	width: 100% !important;
	max-width: 720px !important;
	margin-inline: auto !important;
	column-gap: 0 !important;
}

.erq-meta-cols .wp-block-column {
	flex: 1 1 50% !important;
}

.erq-meta-cols .wp-block-column:first-child {
	text-align: right;
	padding-right: var(--wp--preset--spacing--60);
	padding-left: 0;
	border-left: 0;
}

.erq-meta-cols .wp-block-column:last-child {
	text-align: left;
	padding-left: var(--wp--preset--spacing--60);
	padding-right: 0;
	border-left: 1px solid rgba(107, 98, 69, 0.18);
}

.erq-meta__label {
	margin: 0 0 0.25rem 0;
	font-size: var(--wp--preset--font-size--section-label);
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--wp--preset--color--gold-dark);
	line-height: 1.6;
}

.erq-meta__value {
	margin: 0;
	font-size: 1rem;
	color: var(--wp--preset--color--charcoal);
	line-height: 1.5;
}

/* ── Gold rule ───────────────────────────────────────────────── */

.erq-rule {
	border: 0;
	height: 1px;
	width: 48px;
	margin-left: auto;
	margin-right: auto;
}

/* ── Zero-gutter 50/50 split (image left / text right etc) ───── */

.erq-split {
	margin: 0;
}

.erq-split > .wp-block-column {
	margin: 0;
}

.erq-split__media {
	align-self: stretch;
}

.erq-split__media .wp-block-cover,
.erq-split__media .wp-block-image,
.erq-split__media img {
	height: 100%;
	min-height: 100%;
	width: 100%;
	object-fit: cover;
}

/* Stack on mobile */
@media (max-width: 781px) {
	.erq-split .wp-block-column {
		flex-basis: 100% !important;
	}
	.erq-split__media .wp-block-cover {
		min-height: 320px !important;
	}
}

/* ── Stats band ──────────────────────────────────────────────── */

.erq-stat__n {
	margin: 0 0 0.5rem 0;
	font-family: var(--wp--preset--font-family--cormorant-garamond);
	font-weight: 300;
	font-size: clamp(2rem, 4vw, 2.75rem);
	line-height: 1;
	color: var(--wp--preset--color--gold-mid);
	letter-spacing: -0.01em;
}

.erq-stat__l {
	margin: 0;
	font-size: var(--wp--preset--font-size--section-label);
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--wp--preset--color--text-muted);
}

/* ── Hint text (editorial instruction inside a pattern) ──────── */

.erq-hint {
	margin: 0;
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--text-muted);
	font-style: italic;
}

/* Editor-only image size hint — invisible on front-end + print.
 * Visible + styled in the block editor via editor.css.
 */
.erq-image-hint {
	display: none !important;
}

/* ── Services grid ───────────────────────────────────────────── */

.erq-services {
	gap: var(--wp--preset--spacing--60) var(--wp--preset--spacing--60) !important;
}

.erq-card {
	text-align: center;
	padding: var(--wp--preset--spacing--50) var(--wp--preset--spacing--40);
}

.erq-card__icon {
	width: 44px;
	height: 44px;
	margin: 0 auto var(--wp--preset--spacing--40);
	color: var(--wp--preset--color--gold-mid);
}

.erq-card__icon svg {
	display: block;
	width: 100%;
	height: 100%;
}

.erq-card__title {
	margin: 0 0 0.5rem 0;
	font-family: var(--wp--preset--font-family--jost);
	font-weight: 300;
	font-size: 1.0625rem;
	letter-spacing: 0.02em;
	color: var(--wp--preset--color--charcoal);
}

.erq-card__desc {
	margin: 0;
	font-size: var(--wp--preset--font-size--small);
	line-height: 1.7;
	color: var(--wp--preset--color--text-muted);
}

/* ── Dark-section overrides ──────────────────────────────────── */

.erq-section--dark {
	color: var(--wp--preset--color--off-white);
}

.erq-section--dark .erq-eyebrow {
	color: var(--wp--preset--color--gold-mid);
}

.erq-section--dark a {
	color: var(--wp--preset--color--gold-light);
}

.erq-section--dark a:hover,
.erq-section--dark a:focus-visible {
	color: #ffffff;
}

.erq-section--dark :is(h1, h2, h3):not([class*="has-"]) {
	color: var(--wp--preset--color--off-white);
}

/* ── Estimate tables ──────────────────────────────────────────
 *
 * Layout is:
 *   [category label paragraph]
 *   [wp:table: thead + line items + last row = subtotal]
 *   (repeat per category)
 *   [grand total flex group]
 *
 * Each table is a valid core/table block (no colspan, no row classes),
 * so the block editor never throws "unexpected content". Row-type
 * styling comes from :last-child + column index selectors.
 */

.erq-estimate__cat {
	margin: var(--wp--preset--spacing--50) 0 0.5rem 0;
	font-family: var(--wp--preset--font-family--jost);
	font-weight: 400;
	font-size: 0.625rem;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--wp--preset--color--gold-dark);
}

.erq-estimate__cat:first-of-type {
	margin-top: 0;
}

.erq-estimate table {
	border-collapse: collapse;
	width: 100%;
	font-size: var(--wp--preset--font-size--small);
	margin: 0;
}

.erq-estimate thead th {
	font-family: var(--wp--preset--font-family--jost);
	font-weight: 400;
	font-size: 0.6875rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--wp--preset--color--text-muted);
	background: transparent;
	text-align: left;
	padding: 0.5rem 0.6rem;
	border-bottom: 1px solid var(--wp--preset--color--gold-dark);
}

/* Right-align numeric columns (Qty, Rate, Amount = cols 3-5) */
.erq-estimate thead th:nth-child(3),
.erq-estimate thead th:nth-child(4),
.erq-estimate thead th:nth-child(5),
.erq-estimate tbody td:nth-child(3),
.erq-estimate tbody td:nth-child(4),
.erq-estimate tbody td:nth-child(5) {
	text-align: right;
}

.erq-estimate tbody td {
	padding: 0.6rem 0.6rem;
	border-bottom: 1px solid rgba(107, 98, 69, 0.12);
	vertical-align: top;
	line-height: 1.45;
	color: var(--wp--preset--color--text-body);
}

/* Subtotal row = last row of each tbody */
.erq-estimate tbody tr:last-child td {
	font-style: italic;
	color: var(--wp--preset--color--text-muted);
	border-bottom: 2px solid var(--wp--preset--color--gold-dark);
	background: rgba(107, 98, 69, 0.03);
	padding-top: 0.75rem;
	padding-bottom: 0.75rem;
}

.erq-estimate tbody tr:last-child td:nth-child(4) {
	font-weight: 400;
	color: var(--wp--preset--color--charcoal);
	font-style: normal;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-size: 0.6875rem;
}

/* Grand total block */

.erq-estimate__grand {
	border-top: 2px solid var(--wp--preset--color--gold-dark);
	border-bottom: 1px solid var(--wp--preset--color--gold-dark);
	background: rgba(176, 162, 122, 0.08);
	align-items: baseline !important;
}

.erq-estimate__grand-label {
	margin: 0;
	font-family: var(--wp--preset--font-family--jost);
	font-weight: 400;
	font-size: 0.875rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--wp--preset--color--charcoal);
	padding-left: 0.6rem;
}

.erq-estimate__grand-value {
	margin: 0;
	font-family: var(--wp--preset--font-family--cormorant-garamond);
	font-weight: 300;
	font-size: 1.75rem;
	color: var(--wp--preset--color--charcoal);
	padding-right: 0.6rem;
}

.erq-estimate__note {
	color: var(--wp--preset--color--text-muted);
}

/* ── Estimate notes list ─────────────────────────────────────── */

.erq-notes__list {
	padding-left: 1.2em;
	line-height: 1.75;
}

.erq-notes__list li {
	margin-bottom: 0.5em;
}

/* ── CTA section ─────────────────────────────────────────────── */

.erq-section--cta {
	text-align: center;
}

.erq-cta__primary .wp-block-button__link,
.wp-block-button__link {
	font-family: var(--wp--preset--font-family--jost);
	font-weight: 300;
	font-size: var(--wp--preset--font-size--cta);
	letter-spacing: 0.1em;
	text-transform: uppercase;
	background: var(--wp--preset--color--gold-mid);
	color: #ffffff;
	border-radius: 15px;
	padding: 0.8em 2.2em;
	text-decoration: none !important;
	transition: background 0.2s ease, transform 0.2s ease;
}

.erq-cta__primary .wp-block-button__link:hover,
.erq-cta__primary .wp-block-button__link:focus-visible {
	background: var(--wp--preset--color--gold-dark);
	transform: translateY(-1px);
}

.erq-cta__secondary {
	color: var(--wp--preset--color--text-muted);
}

.erq-cta__secondary a {
	color: var(--wp--preset--color--gold-mid);
}

/* ── Thank You ───────────────────────────────────────────────── */

.erq-thank__title {
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.erq-thank__contact {
	line-height: 1.8;
}

.erq-thank__copyright {
	color: var(--wp--preset--color--text-muted);
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

/* ── Sustainability grid ────────────────────────────────────── */

.erq-sustain__grid p {
	line-height: 1.65;
	margin-bottom: 0.75em;
}

.erq-sustain__grid p strong {
	color: var(--wp--preset--color--charcoal);
	font-weight: 400;
}

/* ── Spherical example caption ──────────────────────────────── */

.erq-spherical__caption p {
	color: var(--wp--preset--color--off-white);
}

.erq-section--spherical .erq-spherical__caption a {
	color: var(--wp--preset--color--gold-light);
	text-decoration: underline;
}

/* ── Estimate — Summary (compact totals table) ─────────────── */

.erq-estimate-summary {
	margin: 0;
	width: 100%;
}

.erq-estimate-summary table {
	width: 100%;
	border-collapse: collapse;
	font-family: var(--wp--preset--font-family--jost);
	font-weight: 300;
}

.erq-estimate-summary td {
	padding: var(--wp--preset--spacing--40) 0;
	vertical-align: baseline;
	border: 0;
}

.erq-estimate-summary tr + tr td {
	border-top: 1px solid rgba(30, 32, 40, 0.06);
}

.erq-estimate-summary td:first-child {
	color: var(--wp--preset--color--text-body);
	text-transform: uppercase;
	letter-spacing: 0.16em;
	font-size: var(--wp--preset--font-size--section-label);
}

.erq-estimate-summary td:last-child {
	color: var(--wp--preset--color--text-muted);
	text-align: right;
	font-variant-numeric: tabular-nums;
}

.erq-estimate-summary__grand {
	width: 100%;
	border-top: 1px solid var(--wp--preset--color--gold-dark);
	align-items: baseline;
}

.erq-estimate-summary__grand-label,
.erq-estimate-summary__grand-value {
	margin: 0;
	font-family: var(--wp--preset--font-family--cormorant-garamond);
	font-weight: 300;
	font-size: var(--wp--preset--font-size--h2);
	color: var(--wp--preset--color--charcoal);
	line-height: 1;
}

.erq-estimate-summary__grand-label {
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-size: calc(var(--wp--preset--font-size--h2) * 0.6);
	font-family: var(--wp--preset--font-family--jost);
}

.erq-estimate-summary__grand-value {
	font-variant-numeric: tabular-nums;
}

/* ── Estimate — Full detail (one unified line-item table) ──── */

.erq-estimate-full {
	width: 100%;
	border-collapse: collapse;
	table-layout: fixed;
	font-family: var(--wp--preset--font-family--jost);
	font-weight: 300;
	font-size: var(--wp--preset--font-size--body);
	color: var(--wp--preset--color--text-body);
}

.erq-estimate-full .col-item   { width: 15%; }
.erq-estimate-full .col-desc   { width: 50%; }
.erq-estimate-full .col-qty    { width: 8%;  text-align: center; }
.erq-estimate-full .col-rate   { width: 12%; text-align: right; }
.erq-estimate-full .col-amount { width: 15%; text-align: right; }

.erq-estimate-full thead th {
	font-weight: 300;
	font-size: var(--wp--preset--font-size--section-label);
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--wp--preset--color--text-muted);
	text-align: left;
	padding: var(--wp--preset--spacing--30) var(--wp--preset--spacing--30) var(--wp--preset--spacing--40);
	border-bottom: 1px solid var(--wp--preset--color--gold-dark);
}

.erq-estimate-full td {
	padding: var(--wp--preset--spacing--30);
	vertical-align: top;
}

.erq-estimate-full .erq-estimate-row td {
	border-bottom: 1px solid rgba(30, 32, 40, 0.08);
}

.erq-estimate-full .erq-estimate-row td:nth-child(3) { text-align: center; }
.erq-estimate-full .erq-estimate-row td:nth-child(4),
.erq-estimate-full .erq-estimate-row td:nth-child(5) {
	text-align: right;
	font-variant-numeric: tabular-nums;
}

.erq-estimate-full .erq-estimate-category td {
	font-weight: 300;
	color: var(--wp--preset--color--gold-mid);
	background: var(--wp--preset--color--off-white);
	text-transform: uppercase;
	letter-spacing: 0.22em;
	font-size: var(--wp--preset--font-size--section-label);
	padding-top: var(--wp--preset--spacing--40);
	padding-bottom: var(--wp--preset--spacing--40);
	-webkit-print-color-adjust: exact;
	print-color-adjust: exact;
}

.erq-estimate-full .erq-estimate-subtotal td {
	color: var(--wp--preset--color--text-muted);
	font-style: italic;
	border-top: 1px solid var(--wp--preset--color--gold-dark);
}

.erq-estimate-full .erq-estimate-subtotal td:first-child { text-align: right; }
.erq-estimate-full .erq-estimate-subtotal td:last-child  { text-align: right; font-variant-numeric: tabular-nums; }

.erq-estimate-full .erq-estimate-discount td {
	color: var(--wp--preset--color--gold-mid);
	font-style: italic;
	padding-top: var(--wp--preset--spacing--40);
}

.erq-estimate-full .erq-estimate-discount td:first-child { text-align: right; }
.erq-estimate-full .erq-estimate-discount td:last-child  { text-align: right; font-variant-numeric: tabular-nums; }

.erq-estimate-full .erq-estimate-total td {
	font-family: var(--wp--preset--font-family--cormorant-garamond);
	font-size: var(--wp--preset--font-size--h2);
	font-weight: 300;
	color: var(--wp--preset--color--charcoal);
	border-top: 2px solid var(--wp--preset--color--charcoal);
	border-bottom: 2px solid var(--wp--preset--color--charcoal);
	padding-top: var(--wp--preset--spacing--50);
	padding-bottom: var(--wp--preset--spacing--50);
}

.erq-estimate-full .erq-estimate-total td:first-child {
	text-align: left;
	letter-spacing: 0.04em;
}

.erq-estimate-full .erq-estimate-total td:last-child {
	text-align: right;
	font-variant-numeric: tabular-nums;
}

/* ── Footer ──────────────────────────────────────────────────── */

.erq-footer a {
	color: var(--wp--preset--color--gold-mid);
}

.erq-footer a:hover,
.erq-footer a:focus-visible {
	color: var(--wp--preset--color--gold-light);
}
