.nash {
	--nash-accent: #1f1f1f;
	--nash-accent-ink: #fff;
	--nash-line: #e2ddd5;
	--nash-muted: #6b665e;
	--nash-tile: #f5f3ef;
	--nash-radius: 10px;
	margin: 0 0 56px;
	color: #222;
}
.nash *, .nash *::before, .nash *::after { box-sizing: border-box; }

/* Elementor's global button style (.elementor-kit-N button) is more specific than a single class,
   so reset it here and scope every button rule below with the wrapper class. */
.nash button { padding: 0; margin: 0; border: 0; border-radius: 0; background: none; color: inherit; font: inherit; text-transform: none; letter-spacing: normal; box-shadow: none; }
.nash-head { max-width: 760px; margin: 0 0 20px; }
.nash-head h2 { margin: 0 0 8px; }
.nash-head p { margin: 0; color: #444; }
.nash-hint { font-size: 14px; color: var(--nash-muted); margin: 8px 0 0; }
.nash-svg { display: block; width: 100%; height: auto; color: #3b3732; overflow: visible; }
.nash-btn {
	display: inline-block; padding: 13px 22px; border-radius: 999px; border: 2px solid var(--nash-accent);
	background: var(--nash-accent); color: var(--nash-accent-ink) !important; font-weight: 600; text-decoration: none !important; text-align: center;
}
.nash-btn-ghost { background: transparent; color: var(--nash-accent) !important; }
.nash-btn.is-disabled { opacity: .45; cursor: not-allowed; }

/* ---------- Builder ---------- */
.nash-b { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.nash-step { border: 1px solid var(--nash-line); border-radius: var(--nash-radius); padding: 18px 18px 20px; margin: 0 0 16px; min-width: 0; }
.nash-step legend { padding: 0 6px; font-weight: 700; font-size: 17px; display: flex; align-items: center; gap: 8px; }
.nash-step legend span {
	display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%;
	background: var(--nash-accent); color: var(--nash-accent-ink); font-size: 14px;
}
.nash-step legend small { font-weight: 400; color: var(--nash-muted); }

.nash-shapes { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 8px; }
.nash-shape, .nash-card { position: relative; cursor: pointer; }
.nash-shape input, .nash-card input { position: absolute; opacity: 0; pointer-events: none; }
.nash-shape {
	display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 6px 8px;
	border: 1.5px solid var(--nash-line); border-radius: 8px; background: #fff; text-align: center; font-size: 13px; line-height: 1.2;
}
.nash-shape-ico { width: 56px; height: 46px; display: block; }
.nash-shape:has(input:checked), .nash-card:has(input:checked) { border-color: var(--nash-accent); box-shadow: 0 0 0 1.5px var(--nash-accent); }
.nash-shape:has(input:focus-visible), .nash-card:has(input:focus-visible) { outline: 3px solid #7aa7ff; outline-offset: 2px; }

.nash-dim-row { display: grid; grid-template-columns: 130px minmax(0, 1fr) 104px; align-items: center; gap: 12px; padding: 6px 0; }
.nash-dim-row label { font-weight: 600; font-size: 15px; }
.nash-dim-row input[type=range] { width: 100%; accent-color: var(--nash-accent); }
.nash-num { display: flex; align-items: center; gap: 6px; }
.nash-num input { width: 72px; height: 40px; padding: 0 8px; font: inherit; font-size: 16px; border: 1px solid #cfc9bf; border-radius: 6px; }
.nash-num span { color: var(--nash-muted); font-size: 14px; }
.nash-msgs { list-style: none; margin: 8px 0 0; padding: 0; font-size: 14px; }
.nash-msgs li { padding: 8px 10px; border-radius: 6px; background: #fff7e0; color: #6a4b00; margin-top: 6px; }
.nash-msgs li.is-err { background: #fde8e6; color: #8a1c12; }

.nash-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 8px; }
.nash-card {
	display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 8px; text-align: center;
	border: 1.5px solid var(--nash-line); border-radius: 8px; background: #fff; font-size: 13px; line-height: 1.25;
}
.nash-card img { width: 100%; height: 72px; object-fit: contain; }
.nash-finishes .nash-card img { object-fit: cover; border-radius: 4px; }
.nash-card-q {
	width: 100%; height: 72px; display: flex; align-items: center; justify-content: center;
	background: var(--nash-tile); border-radius: 4px; font-size: 26px; color: var(--nash-muted);
}
.nash-inline { display: flex; flex-direction: column; gap: 4px; font-size: 14px; font-weight: 600; margin-top: 12px; }
.nash-inline small { font-weight: 400; color: var(--nash-muted); }
.nash-inline select, .nash-inline input, .nash-inline textarea {
	font: inherit; font-weight: 400; font-size: 15px; padding: 8px 10px; min-height: 42px;
	border: 1px solid #cfc9bf; border-radius: 6px; background: #fff; color: #222; max-width: 100%;
}
.nash-inline[hidden] { display: none; }
.nash-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.nash-mat { display: flex; gap: 12px; align-items: center; }
.nash-mat select { flex: 1; min-width: 0; font: inherit; font-size: 15px; padding: 8px 10px; min-height: 42px; border: 1px solid #cfc9bf; border-radius: 6px; background: #fff; }
.nash-mat-thumb { width: 56px; height: 56px; flex: none; border-radius: 6px; background: var(--nash-tile) center / cover; border: 1px solid var(--nash-line); }

.nash-b-preview { position: relative; min-width: 0; }
.nash-sticky { position: sticky; top: 24px; border: 1px solid var(--nash-line); border-radius: var(--nash-radius); padding: 18px; background: #fdfcfa; }
.nash-draw { max-width: 400px; margin: 0 auto; }
.nash-plan { max-width: 190px; margin: 4px auto 0; }
.nash-plan:empty { display: none; }
.nash-code { text-align: center; margin: 10px 0 6px; font-size: 15px; }
.nash-spec { margin: 0 0 14px; font-size: 14px; }
.nash-spec > div { display: grid; grid-template-columns: 110px 1fr; gap: 8px; padding: 6px 0; border-top: 1px solid var(--nash-line); }
.nash-spec dt { color: var(--nash-muted); }
.nash-spec dd { margin: 0; overflow-wrap: anywhere; }
.nash-error { color: #8a1c12; font-size: 14px; margin: 0 0 8px; }
.nash-quote { display: block; }
.nash-actions { display: flex; gap: 8px; margin-top: 10px; }
.nash .nash-actions button {
	flex: 1; font: inherit; font-size: 14px; padding: 10px 8px; border-radius: 999px; cursor: pointer;
	border: 1.5px solid #cfc9bf; background: #fff; color: #222;
}
.nash .nash-actions button:hover { border-color: var(--nash-accent); }
.nash-copied { font-size: 13px; color: #2d6a2d; text-align: center; margin: 8px 0 0; min-height: 1em; }

/* ---------- Shape guide ---------- */
.nash-guide-grid, .nash-info-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.nash-guide-grid { grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); }
.nash-guide-card, .nash-info-grid > li { margin: 0; border: 1px solid var(--nash-line); border-radius: var(--nash-radius); padding: 16px; background: #fff; display: flex; flex-direction: column; }
.nash-guide-draw { background: var(--nash-tile); border-radius: 8px; padding: 8px; margin-bottom: 12px; }
.nash-guide-plan { max-width: 170px; margin: -4px auto 0; }
.nash-guide-card h3, .nash-info-grid h3 { margin: 0 0 6px; font-size: 18px; }
.nash-guide-card p, .nash-info-grid p { margin: 0 0 8px; font-size: 14px; color: #444; }
.nash-guide-sizes { font-size: 13px !important; color: var(--nash-muted) !important; }
.nash-guide-uses { margin-top: auto !important; }
.nash-guide-go { font-weight: 600; font-size: 14px; }

/* ---------- Washers, finishes ---------- */
.nash-info-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.nash-info-grid img { width: 100%; height: 150px; object-fit: contain; background: #fff; margin-bottom: 10px; }
.nash-info-grid img.nash-photo { object-fit: cover; border-radius: 6px; }
.nash-drop-draw { height: 150px; margin-bottom: 10px; display: flex; align-items: center; }

/* ---------- Before / after ---------- */
.nash-ba-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.nash-ba-pair { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.nash-ba-pair img { width: 100%; height: auto; aspect-ratio: 3 / 4.6; object-fit: cover; border-radius: 6px; display: block; }

/* ---------- Process ---------- */
.nash-process-list { list-style: none; counter-reset: nash; margin: 0 0 24px; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.nash-process-list li { counter-increment: nash; margin: 0; padding: 0 0 0 48px; position: relative; }
.nash-process-list li::before {
	content: counter(nash); position: absolute; left: 0; top: 0; width: 34px; height: 34px; border-radius: 50%;
	background: var(--nash-accent); color: var(--nash-accent-ink); display: flex; align-items: center; justify-content: center; font-weight: 700;
}
.nash-process-list h3 { margin: 4px 0 6px; font-size: 17px; }
.nash-process-list p { margin: 0; font-size: 14px; color: #444; }
.nash-cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

@media (max-width: 900px) {
	.nash-b { grid-template-columns: minmax(0, 1fr); }
	.nash-b-preview { order: -1; }
	.nash-sticky { position: static; }
	.nash-draw { max-width: 320px; }
}
@media (max-width: 560px) {
	.nash-dim-row { grid-template-columns: 1fr 96px; }
	.nash-dim-row input[type=range] { grid-column: 1 / -1; grid-row: 2; }
	.nash-row2 { grid-template-columns: 1fr; }
	.nash-step { padding: 14px 12px 16px; }
	.nash-spec > div { grid-template-columns: 96px 1fr; }
}

/* ---------- Intro ---------- */
.nash-intro .nash-lead { font-size: 19px; line-height: 1.5; max-width: 780px; margin: 0 0 16px; }
.nash-points { list-style: none; margin: 0 0 22px; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 10px 24px; }
.nash-points li { position: relative; padding-left: 26px; margin: 0; }
.nash-points li::before { content: "✓"; position: absolute; left: 0; top: 0; font-weight: 700; }
.nash-jump { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; margin: 18px 0 0; }
