.nf-quote{font-family:Arial,Helvetica,sans-serif;color:#222222;max-width:1100px;margin:30px auto;padding:30px;box-sizing:border-box;background:#fff}.nf-quote *{box-sizing:border-box}.nf-head{text-align:center;margin:0 0 30px}.nf-eyebrow{font-size:12px;font-weight:800;letter-spacing:2px;color:#6b6b6b}.nf-head h2{font-size:clamp(28px,4vw,42px);margin:12px 0}.nf-head p,.nf-panel>p{color:#6f6f6f}.nf-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-bottom:32px}.nf-steps span{padding:15px 8px;background:#f0f3f2;text-align:center;border-radius:8px;color:#78827f;font-weight:bold}.nf-steps small{display:block;font-weight:normal;margin-top:5px}.nf-steps .active{background:#343434;color:white}.nf-steps .done{background:#e7e7e7;color:#343434}.nf-panel{display:none}.nf-panel.active{display:block}.nf-panel h3{font-size:27px;margin:0 0 8px}.nf-panel h4{margin:28px 0 14px;font-size:19px}.nf-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.nf-field{display:flex;flex-direction:column;gap:8px;font-weight:600;font-size:14px}.nf-field input,.nf-field select{width:100%;padding:14px;border:1px solid #cdd7d3;border-radius:8px;font:inherit;background:white;color:#272727}.nf-field em{color:#555555}.nf-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.nf-choice{position:relative;min-height:110px;border:2px solid #e0e6e3;border-radius:12px;padding:16px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;text-align:center;cursor:pointer;overflow:hidden}.nf-choice:has(input:checked){border-color:#525252;background:#f1f9f4}.nf-choice input{position:absolute;opacity:0;width:1px;height:1px}.nf-choice small{color:#717171;line-height:1.4}.nf-swatch{width:100%;height:90px;border-radius:8px;background:var(--swatch)}.nf-choice-icon{font-size:38px;color:#545454}.nf-check{display:none;color:#525252}.nf-choice:has(input:checked) .nf-check{display:block}.nf-hint{font-size:13px;color:#717171}.nf-line{padding:22px;border:1px solid #dbe4df;border-radius:12px;margin:16px 0;background:#fbfcfb}.nf-line-head{display:flex;justify-content:space-between;margin-bottom:15px}.nf-remove{border:0;background:none;color:#555555;cursor:pointer}.nf-add{padding:13px 20px;border:1px dashed #626262;border-radius:8px;background:white;color:#4b4b4b;cursor:pointer}.nf-total-line{font-weight:bold;margin:20px 0}.nf-summary{border:1px solid #dde5e0;border-radius:12px;overflow:hidden}.nf-summary>div{display:flex;justify-content:space-between;gap:20px;padding:15px 18px;border-bottom:1px solid #edf0ed}.nf-summary>div:last-child{border:0}.nf-summary span{text-align:right}.nf-actions{display:flex;justify-content:space-between;gap:12px;margin-top:35px;padding-top:24px;border-top:1px solid #e5eae6}.nf-actions button{padding:15px 28px;border-radius:8px;font-size:15px;font-weight:700;cursor:pointer}.nf-back{border:1px solid #ccd7d0;background:white}.nf-next,.nf-submit{background:#363636;border:1px solid #363636;color:white;margin-left:auto}.nf-actions button:disabled{opacity:.6;cursor:wait}.nf-message:not(:empty){padding:13px 16px;background:#f3f3f3;color:#3f3f3f;border-radius:8px;margin:12px 0}.nf-success{text-align:center;padding:60px 20px;background:#f1f9f4;border-radius:12px}.nf-success h3{font-size:30px}.nf-captcha{margin-top:25px}[hidden]{display:none!important}@media(max-width:650px){.nf-quote{padding:16px;margin:10px auto}.nf-grid,.nf-options{grid-template-columns:1fr}.nf-steps span{font-size:12px;padding:10px 2px}.nf-steps small{font-size:10px}.nf-colors{grid-template-columns:repeat(3,1fr)}.nf-swatch{height:55px}.nf-colors .nf-choice{padding:7px;font-size:12px}.nf-summary>div{font-size:13px}}

/* WordPress / Elementor theme isolation: keep labels and required stars together. */
#request-a-quote .nf-quote .nf-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:22px 20px; align-items:start; }
#request-a-quote .nf-quote label.nf-field { display:flex!important; flex-direction:column!important; align-items:stretch!important; justify-content:flex-start!important; gap:8px!important; margin:0!important; padding:0!important; width:100%; min-width:0; font-size:14px; line-height:1.45; font-weight:600; color:#222222; }
#request-a-quote .nf-quote .nf-label-text { display:block!important; margin:0!important; padding:0!important; line-height:1.45; font-weight:600; }
#request-a-quote .nf-quote .nf-label-text em { display:inline!important; position:static!important; margin:0 0 0 3px!important; padding:0!important; font-size:inherit!important; line-height:inherit!important; vertical-align:baseline!important; font-style:normal!important; color:#555555; }
#request-a-quote .nf-quote label.nf-field > input,
#request-a-quote .nf-quote label.nf-field > select { display:block!important; width:100%!important; min-width:0!important; height:52px!important; min-height:52px!important; margin:0!important; padding:12px 14px!important; border:1px solid #cdd7d3!important; border-radius:8px!important; background:#fff!important; box-shadow:none!important; color:#272727!important; font-size:15px!important; line-height:1.4!important; }
#request-a-quote .nf-quote label.nf-field > input:focus,
#request-a-quote .nf-quote label.nf-field > select:focus { outline:2px solid #616161!important; outline-offset:1px; }
#request-a-quote .nf-quote .nf-panel > h3 { margin:0 0 10px!important; }
#request-a-quote .nf-quote .nf-panel > p { margin:0 0 24px!important; }
@media(max-width:700px) { #request-a-quote .nf-quote .nf-grid { grid-template-columns:minmax(0,1fr); gap:18px; } }

/* Fence quote buttons and select arrows: override Elementor/theme styles */
#request-a-quote .nf-quote button.nf-next,
#request-a-quote .nf-quote button.nf-submit,
#request-a-quote .nf-quote button.nf-back,
#request-a-quote .nf-quote button.nf-add,
#request-a-quote .nf-quote button.nf-remove,
#request-a-quote .nf-quote button.nf-gate-add,
#request-a-quote .nf-quote button.nf-gate-remove {appearance:none!important; -webkit-appearance:none!important; display:inline-flex!important; align-items:center!important; justify-content:center!important; width:auto!important; min-height:44px!important; margin:0!important; padding:11px 20px!important; border-radius:8px!important; font-size:14px!important; font-weight:700!important; line-height:1.3!important; text-transform:none!important; letter-spacing:normal!important; box-shadow:none!important; cursor:pointer!important; transition:background .15s ease!important;}
#request-a-quote .nf-quote button.nf-next,#request-a-quote .nf-quote button.nf-submit {background:#333333!important;color:#fff!important;border:1px solid #333333!important;margin-left:auto!important;}
#request-a-quote .nf-quote button.nf-next:hover,#request-a-quote .nf-quote button.nf-submit:hover {background:#4e4e4e!important;}
#request-a-quote .nf-quote button.nf-back {background:#fff!important;color:#363636!important;border:1px solid #c7c7c7!important;}
#request-a-quote .nf-quote button.nf-add,#request-a-quote .nf-quote button.nf-gate-add {background:#eef7f1!important;color:#454545!important;border:1px solid #afafaf!important;}
#request-a-quote .nf-quote button.nf-remove,#request-a-quote .nf-quote button.nf-gate-remove {background:#fff!important;color:#494949!important;border:1px solid #bfbfbf!important;}
#request-a-quote .nf-quote .nf-actions {display:flex!important;align-items:center!important;gap:12px!important;}
#request-a-quote .nf-quote select {appearance:none!important;-webkit-appearance:none!important;background-color:#fff!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2317392f' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")!important;background-repeat:no-repeat!important;background-position:right 15px center!important;background-size:16px!important;padding-right:42px!important;cursor:pointer!important;}
#request-a-quote .nf-quote .nf-gates {margin-top:20px;padding-top:18px;border-top:1px solid #e0e7e2;}
#request-a-quote .nf-quote .nf-gates-heading {font-size:15px;font-weight:700;margin-bottom:12px;}
#request-a-quote .nf-quote .nf-gate-list {display:flex;flex-direction:column;gap:12px;margin-bottom:12px;}
#request-a-quote .nf-quote .nf-gate-row {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;align-items:end;gap:12px;padding:14px;border-radius:9px;background:#f3f7f5;}
#request-a-quote .nf-quote .nf-gate-row .nf-field {min-width:0;}
@media(max-width:700px){#request-a-quote .nf-quote .nf-gate-row {grid-template-columns:1fr;}#request-a-quote .nf-quote .nf-actions button {padding:11px 13px!important;}}

/* Navigation visibility: must override theme button display:inline-flex!important */
#request-a-quote .nf-quote .nf-actions button[hidden],
[data-newgen-fence-quote] .nf-quote .nf-actions button[hidden] {
  display: none !important;
}

/* NewGen Fence & Gates: black and gold branding, scoped to builder */
#request-a-quote .nf-quote, [data-newgen-fence-quote] .nf-quote {--nf-gold:#eaeaea;--nf-black:#080808;--nf-border:#d9d9d9;color:#171717;}
#request-a-quote .nf-quote .nf-eyebrow {color:#787878;}
#request-a-quote .nf-quote .nf-steps span {background:#f5f3ee;color:#5f5f5f;}
#request-a-quote .nf-quote .nf-steps .active {background:#080808;color:#fff;border-bottom:4px solid #eaeaea;}
#request-a-quote .nf-quote .nf-steps .done {background:#e8e8e8;color:#161616;}
#request-a-quote .nf-quote .nf-choice {border-color:#d9d9d9;background:#fff;}
#request-a-quote .nf-quote .nf-choice:has(input:checked) {border-color:#eaeaea;background:#eaeaea;box-shadow:0 0 0 1px #eaeaea;}
#request-a-quote .nf-quote .nf-check,#request-a-quote .nf-quote .nf-choice-icon {color:#7d7d7d;}
#request-a-quote .nf-quote .nf-line {border-color:#dddddd;background:#fcfbf8;}
#request-a-quote .nf-quote .nf-gates {border-color:#dddddd;}
#request-a-quote .nf-quote .nf-gate-row {background:#f7f5ef;}
#request-a-quote .nf-quote .nf-summary {border-color:#d9d9d9;}
#request-a-quote .nf-quote .nf-summary>div {border-color:#e8e8e8;}
#request-a-quote .nf-quote .nf-success {background:#f5f5f5;}
#request-a-quote .nf-quote .nf-actions {border-color:#dfdfdf;}
#request-a-quote .nf-quote label.nf-field {color:#171717!important;}
#request-a-quote .nf-quote label.nf-field > input,
#request-a-quote .nf-quote label.nf-field > select {border-color:#d3d3d3!important;color:#171717!important;background-color:#fff!important;}
#request-a-quote .nf-quote label.nf-field > input:focus,
#request-a-quote .nf-quote label.nf-field > select:focus {outline:2px solid #eaeaea!important;outline-offset:1px!important;}
#request-a-quote .nf-quote select {appearance:none!important;-webkit-appearance:none!important;-moz-appearance:none!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23080808' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")!important;background-position:right 16px center!important;background-size:20px 20px!important;background-repeat:no-repeat!important;padding-right:48px!important;}
#request-a-quote .nf-quote button.nf-next,
#request-a-quote .nf-quote button.nf-submit {background:#080808!important;border-color:#080808!important;color:#fff!important;}
#request-a-quote .nf-quote button.nf-next:hover,
#request-a-quote .nf-quote button.nf-submit:hover {background:#eaeaea!important;border-color:#eaeaea!important;color:#080808!important;}
#request-a-quote .nf-quote button.nf-back {background:#fff!important;border-color:#eaeaea!important;color:#080808!important;}
#request-a-quote .nf-quote button.nf-back:hover {background:#eaeaea!important;}
#request-a-quote .nf-quote button.nf-add,
#request-a-quote .nf-quote button.nf-gate-add {background:#eaeaea!important;border-color:#eaeaea!important;color:#171717!important;}
#request-a-quote .nf-quote button.nf-add:hover,
#request-a-quote .nf-quote button.nf-gate-add:hover {background:#e4e4e4!important;}
#request-a-quote .nf-quote button.nf-remove,
#request-a-quote .nf-quote button.nf-gate-remove {background:#fff!important;color:#494949!important;border-color:#bfbfbf!important;}
#request-a-quote .nf-quote .nf-actions button[hidden],
[data-newgen-fence-quote] .nf-quote .nf-actions button[hidden] {display:none!important;}
/* Expanded catalog / image cards / price breakdown */
#request-a-quote .nf-quote .nf-choice[hidden], [data-newgen-fence-quote] .nf-quote .nf-choice[hidden] {display:none!important}
#request-a-quote .nf-quote .nf-options {grid-template-columns:repeat(auto-fit,minmax(165px,1fr))}
#request-a-quote .nf-quote .nf-colors {grid-template-columns:repeat(4,minmax(0,1fr))}
#request-a-quote .nf-quote .nf-choice-visual {width:100%;min-height:85px;display:flex;align-items:center;justify-content:center}
#request-a-quote .nf-quote .nf-choice-visual img {display:block;width:100%;height:145px;object-fit:contain}
#request-a-quote .nf-quote .nf-swatch {display:block;width:100%;height:90px}
#request-a-quote .nf-quote .nf-visual-fallback {font-size:48px;color:#eaeaea}
#request-a-quote .nf-quote .nf-price-breakdown {border:1px solid #d9d9d9;border-radius:12px;padding:18px;margin-top:22px}
#request-a-quote .nf-quote .nf-price-breakdown>div {display:flex;justify-content:space-between;gap:20px;padding:12px 0;border-bottom:1px solid #e8e8e8}
#request-a-quote .nf-quote .nf-price-breakdown>div span {text-align:right}
#request-a-quote .nf-quote .nf-price-warning {background:#f5f5f5;padding:14px;border-left:4px solid #eaeaea;margin-top:15px}
#request-a-quote .nf-quote .nf-gate-row {grid-template-columns:minmax(0,2fr) minmax(110px,1fr) auto}
#request-a-quote .nf-quote .nf-choice:has(input:checked) {border-color:#eaeaea!important;background:#eaeaea!important}
@media(max-width:700px){#request-a-quote .nf-quote .nf-colors {grid-template-columns:repeat(2,minmax(0,1fr))}#request-a-quote .nf-quote .nf-gate-row {grid-template-columns:1fr}}

/* Oct 15 form refinements */
#request-a-quote .nf-quote .nf-line-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;align-items:start}
#request-a-quote .nf-quote .nf-line-layout>.nf-field{min-width:0}
#request-a-quote .nf-quote .nf-line-layout .nf-gates{margin:0;padding:0;border:0;min-width:0}
#request-a-quote .nf-quote .nf-line-layout .nf-gate-row{grid-template-columns:minmax(0,1fr) 95px;gap:10px;padding:10px;margin-bottom:8px}
#request-a-quote .nf-quote .nf-line-layout .nf-gate-remove{grid-column:1/-1;justify-self:start}
#request-a-quote .nf-quote button.nf-gate-add{background:transparent!important;border:0!important;box-shadow:none!important;min-height:unset!important;padding:5px 0!important;margin-top:8px!important;color:#707070!important;display:inline-flex!important;gap:6px!important;align-items:center!important}
#request-a-quote .nf-quote button.nf-gate-add:hover{text-decoration:underline!important;background:transparent!important}
#request-a-quote .nf-quote select{appearance:none!important;-webkit-appearance:none!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23333333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")!important;background-position:right 15px center!important;background-repeat:no-repeat!important;background-size:16px!important;padding-right:42px!important}
.pac-container{z-index:2147483647!important}
@media(max-width:850px){#request-a-quote .nf-quote .nf-line-layout{grid-template-columns:1fr}}

/* Visible native-style arrow for business type and state selectors */
#request-a-quote .nf-quote select[name="business_type"],
#request-a-quote .nf-quote select[name="state"] {
  appearance:none!important;-webkit-appearance:none!important;-moz-appearance:none!important;
  background-color:#fff!important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%23080808' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")!important;
  background-repeat:no-repeat!important;background-position:right 16px center!important;
  background-size:20px 20px!important;padding-right:50px!important;cursor:pointer!important;
}

/* Oct 15 v2: compact 3-column desktop measurement editor */
#request-a-quote .nf-quote .nf-line-layout,
[data-newgen-fence-quote] .nf-quote .nf-line-layout {
 display:grid!important;grid-template-columns:minmax(145px,0.7fr) minmax(230px,1.65fr) minmax(120px,0.65fr)!important;
 column-gap:16px!important;row-gap:12px!important;align-items:start!important;
}
#request-a-quote .nf-quote .nf-line-layout > .nf-field,
[data-newgen-fence-quote] .nf-quote .nf-line-layout > .nf-field {grid-column:1!important;max-width:210px!important;}
#request-a-quote .nf-quote .nf-line-layout .nf-gates,
[data-newgen-fence-quote] .nf-quote .nf-line-layout .nf-gates {grid-column:2/4!important;min-width:0!important;}
#request-a-quote .nf-quote .nf-line-layout .nf-gate-row,
[data-newgen-fence-quote] .nf-quote .nf-line-layout .nf-gate-row {
 display:grid!important;grid-template-columns:minmax(0,1fr) 100px 36px!important;
 gap:10px!important;align-items:end!important;padding:0!important;background:transparent!important;margin:0 0 12px!important;
}
#request-a-quote .nf-quote .nf-line-layout .nf-gate-row .nf-gate-remove,
[data-newgen-fence-quote] .nf-quote .nf-line-layout .nf-gate-row .nf-gate-remove {
 grid-column:3!important;align-self:end!important;width:36px!important;height:48px!important;
 padding:0!important;border:1px solid #cdcdcd!important;border-radius:8px!important;
 font-size:23px!important;line-height:1!important;cursor:pointer!important;
}
#request-a-quote .nf-quote .nf-gate-add,
[data-newgen-fence-quote] .nf-quote .nf-gate-add {margin-top:5px!important;}
body.nf-places-selected .pac-container {display:none!important;}
@media(max-width:700px){
 #request-a-quote .nf-quote .nf-line-layout,
 [data-newgen-fence-quote] .nf-quote .nf-line-layout {grid-template-columns:minmax(0,1fr)!important;}
 #request-a-quote .nf-quote .nf-line-layout > .nf-field,
 [data-newgen-fence-quote] .nf-quote .nf-line-layout > .nf-field {grid-column:1!important;max-width:none!important;}
 #request-a-quote .nf-quote .nf-line-layout .nf-gates,
 [data-newgen-fence-quote] .nf-quote .nf-line-layout .nf-gates {grid-column:1!important;}
 #request-a-quote .nf-quote .nf-line-layout .nf-gate-row,
 [data-newgen-fence-quote] .nf-quote .nf-line-layout .nf-gate-row {grid-template-columns:minmax(0,1fr)!important;}
 #request-a-quote .nf-quote .nf-line-layout .nf-gate-row .nf-gate-remove,
 [data-newgen-fence-quote] .nf-quote .nf-line-layout .nf-gate-row .nf-gate-remove {grid-column:1!important;justify-self:end!important;}
}

/* Optional gate: no heading, default unselected row aligned with length */
#request-a-quote .nf-quote .nf-gates-heading{display:none!important;}
#request-a-quote .nf-quote .nf-gate-row:first-child{margin-top:0!important;}

/* v2.7: gate quantity and remove icon share one aligned row; first gate cannot be deleted */
#request-a-quote .nf-quote .nf-line-layout .nf-gate-row,
[data-newgen-fence-quote] .nf-quote .nf-line-layout .nf-gate-row {
  grid-template-columns:minmax(0,1fr) minmax(0,158px)!important;
  align-items:end!important;
}
#request-a-quote .nf-quote .nf-gate-row > .nf-field:nth-child(2),
[data-newgen-fence-quote] .nf-quote .nf-gate-row > .nf-field:nth-child(2) {
  grid-column:2!important;grid-row:1!important;
  display:grid!important;grid-template-columns:minmax(0,1fr) 38px!important;
  column-gap:10px!important;align-items:end!important;
}
#request-a-quote .nf-quote .nf-gate-row > .nf-field:nth-child(2) .nf-label-text,
[data-newgen-fence-quote] .nf-quote .nf-gate-row > .nf-field:nth-child(2) .nf-label-text {
  grid-column:1/-1!important;
}
#request-a-quote .nf-quote .nf-gate-row > .nf-field:nth-child(2) input,
[data-newgen-fence-quote] .nf-quote .nf-gate-row > .nf-field:nth-child(2) input {
  grid-column:1!important;grid-row:2!important;min-width:0!important;
}
#request-a-quote .nf-quote .nf-line-layout .nf-gate-row .nf-gate-remove,
[data-newgen-fence-quote] .nf-quote .nf-line-layout .nf-gate-row .nf-gate-remove {
  grid-column:2!important;grid-row:1!important;justify-self:end!important;
  align-self:end!important;height:56px!important;width:38px!important;
  margin:0!important;transform:none!important;
}
#request-a-quote .nf-quote .nf-gate-row:first-child .nf-gate-remove,
[data-newgen-fence-quote] .nf-quote .nf-gate-row:first-child .nf-gate-remove {
  display:none!important;
}
@media(max-width:700px){
 #request-a-quote .nf-quote .nf-line-layout .nf-gate-row,
 [data-newgen-fence-quote] .nf-quote .nf-line-layout .nf-gate-row {
   grid-template-columns:minmax(0,1fr)!important;
 }
 #request-a-quote .nf-quote .nf-gate-row > .nf-field:nth-child(2),
 [data-newgen-fence-quote] .nf-quote .nf-gate-row > .nf-field:nth-child(2) {
   grid-column:1!important;grid-row:2!important;
   grid-template-columns:minmax(0,1fr) 44px!important;
 }
 #request-a-quote .nf-quote .nf-line-layout .nf-gate-row .nf-gate-remove,
 [data-newgen-fence-quote] .nf-quote .nf-line-layout .nf-gate-row .nf-gate-remove {
   grid-column:1!important;grid-row:2!important;justify-self:end!important;
 }
}

#request-a-quote .nf-quote .nf-gate-row > .nf-field:nth-child(2),
[data-newgen-fence-quote] .nf-quote .nf-gate-row > .nf-field:nth-child(2) {padding-right:48px!important;display:block!important;}
#request-a-quote .nf-quote .nf-gate-row > .nf-field:nth-child(2) input,
[data-newgen-fence-quote] .nf-quote .nf-gate-row > .nf-field:nth-child(2) input {width:100%!important;}

/* v2.8: delete button flush with the quantity input (desktop and mobile). */
#request-a-quote .nf-quote .nf-line-layout .nf-gate-row,
[data-newgen-fence-quote] .nf-quote .nf-line-layout .nf-gate-row {
  position:relative!important;
  align-items:end!important;
}
#request-a-quote .nf-quote .nf-line-layout .nf-gate-row > .nf-field:nth-child(2),
[data-newgen-fence-quote] .nf-quote .nf-line-layout .nf-gate-row > .nf-field:nth-child(2) {
  display:block!important;
  padding-right:48px!important;
  box-sizing:border-box!important;
}
#request-a-quote .nf-quote .nf-line-layout .nf-gate-row > .nf-field:nth-child(2) input,
[data-newgen-fence-quote] .nf-quote .nf-line-layout .nf-gate-row > .nf-field:nth-child(2) input {
  display:block!important;
  width:100%!important;
  height:56px!important;
  min-height:56px!important;
  box-sizing:border-box!important;
}
#request-a-quote .nf-quote .nf-line-layout .nf-gate-row > button.nf-gate-remove,
[data-newgen-fence-quote] .nf-quote .nf-line-layout .nf-gate-row > button.nf-gate-remove {
  position:absolute!important;
  top:auto!important;
  bottom:0!important;
  right:0!important;
  width:40px!important;
  height:56px!important;
  min-height:56px!important;
  margin:0!important;
  padding:0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  box-sizing:border-box!important;
  transform:none!important;
}
#request-a-quote .nf-quote .nf-line-layout .nf-gate-row:first-child > button.nf-gate-remove,
[data-newgen-fence-quote] .nf-quote .nf-line-layout .nf-gate-row:first-child > button.nf-gate-remove {
  display:none!important;
}
#request-a-quote .nf-quote .nf-line-layout .nf-gate-row:first-child > .nf-field:nth-child(2),
[data-newgen-fence-quote] .nf-quote .nf-line-layout .nf-gate-row:first-child > .nf-field:nth-child(2) {
  padding-right:0!important;
}

/* v2.9: Show Gate Type / Size label only on the first gate per fence line.
   Keep its space on desktop so subsequent gate inputs align with quantity. */
#request-a-quote .nf-quote .nf-gate-row:not(:first-child) > .nf-field:first-child .nf-label-text,
[data-newgen-fence-quote] .nf-quote .nf-gate-row:not(:first-child) > .nf-field:first-child .nf-label-text {
  visibility:hidden!important;
}
@media(max-width:700px){
  #request-a-quote .nf-quote .nf-gate-row:not(:first-child) > .nf-field:first-child .nf-label-text,
  [data-newgen-fence-quote] .nf-quote .nf-gate-row:not(:first-child) > .nf-field:first-child .nf-label-text {
    display:none!important;
  }
}

/* v3.0 — match delete button to existing 52px fields; hide repeated labels. */
#request-a-quote .nf-quote .nf-line-layout .nf-gate-row > .nf-field:nth-child(2) input,
[data-newgen-fence-quote] .nf-quote .nf-line-layout .nf-gate-row > .nf-field:nth-child(2) input {
  height:52px!important;min-height:52px!important;max-height:52px!important;
}
#request-a-quote .nf-quote .nf-line-layout .nf-gate-row > button.nf-gate-remove,
[data-newgen-fence-quote] .nf-quote .nf-line-layout .nf-gate-row > button.nf-gate-remove {
  height:52px!important;min-height:52px!important;max-height:52px!important;
  bottom:0!important;top:auto!important;
}
#request-a-quote .nf-quote .nf-gate-row:not(:first-child) > .nf-field:nth-child(2) .nf-label-text,
[data-newgen-fence-quote] .nf-quote .nf-gate-row:not(:first-child) > .nf-field:nth-child(2) .nf-label-text {
  visibility:hidden!important;
}
@media(max-width:700px){
  #request-a-quote .nf-quote .nf-gate-row:not(:first-child) > .nf-field:nth-child(2) .nf-label-text,
  [data-newgen-fence-quote] .nf-quote .nf-gate-row:not(:first-child) > .nf-field:nth-child(2) .nf-label-text {
    display:none!important;
  }
}


/* v3.1: keep at most 20px between successive gate field rows. */
#request-a-quote .nf-quote .nf-line-layout .nf-gate-list,
[data-newgen-fence-quote] .nf-quote .nf-line-layout .nf-gate-list {
  display:flex!important;
  flex-direction:column!important;
  gap:16px!important;
  margin-bottom:12px!important;
}
#request-a-quote .nf-quote .nf-line-layout .nf-gate-row,
[data-newgen-fence-quote] .nf-quote .nf-line-layout .nf-gate-row {
  margin:0!important;
  padding:0!important;
  row-gap:0!important;
}
/* Remove label space from gate rows 2+ (not just the visible text). */
#request-a-quote .nf-quote .nf-gate-row:not(:first-child) .nf-label-text,
[data-newgen-fence-quote] .nf-quote .nf-gate-row:not(:first-child) .nf-label-text {
  display:none!important;
}
#request-a-quote .nf-quote .nf-gate-row:not(:first-child) .nf-field,
[data-newgen-fence-quote] .nf-quote .nf-gate-row:not(:first-child) .nf-field {
  margin-top:0!important;
  margin-bottom:0!important;
  row-gap:0!important;
}

/* Review estimate disclaimer spacing */
#request-a-quote .nf-quote .nf-panel[data-step="3"] .nf-price-breakdown + .nf-hint { margin-top: 20px !important; line-height: 1.6; }

/* Grand total: final highlighted row in the review breakdown */
#request-a-quote .nf-quote .nf-price-breakdown > .nf-grand-total {
  margin-top: 12px; padding: 18px 12px !important;
  background: #eaeaea; border: 1px solid #eaeaea !important;
  border-radius: 8px; font-weight: 800; font-size: 18px;
  align-items: center;
}
#request-a-quote .nf-quote .nf-price-breakdown > .nf-grand-total span {
  font-weight: 800;
}
@media(max-width:650px){
  #request-a-quote .nf-quote .nf-price-breakdown > .nf-grand-total {font-size:16px;}
}

/* v3.5: consistent vertical rhythm for gate controls on mobile. */
@media (max-width:700px) {
  #request-a-quote .nf-quote .nf-line-layout .nf-gate-list,
  [data-newgen-fence-quote] .nf-quote .nf-line-layout .nf-gate-list {
    gap:18px!important;
  }
  #request-a-quote .nf-quote .nf-line-layout .nf-gate-row,
  [data-newgen-fence-quote] .nf-quote .nf-line-layout .nf-gate-row {
    display:flex!important;
    flex-direction:column!important;
    align-items:stretch!important;
    gap:14px!important;
    margin:0!important;
  }
  #request-a-quote .nf-quote .nf-line-layout .nf-gate-row > .nf-field,
  [data-newgen-fence-quote] .nf-quote .nf-line-layout .nf-gate-row > .nf-field {
    display:flex!important;
    flex-direction:column!important;
    gap:8px!important;
    width:100%!important;
    margin:0!important;
  }
  #request-a-quote .nf-quote .nf-line-layout .nf-gate-row > .nf-field:nth-child(2),
  [data-newgen-fence-quote] .nf-quote .nf-line-layout .nf-gate-row > .nf-field:nth-child(2) {
    position:relative!important;
    padding-right:0!important;
  }
  #request-a-quote .nf-quote .nf-line-layout .nf-gate-row:not(:first-child) > .nf-field:nth-child(2),
  [data-newgen-fence-quote] .nf-quote .nf-line-layout .nf-gate-row:not(:first-child) > .nf-field:nth-child(2) {
    padding-right:50px!important;
  }
  #request-a-quote .nf-quote .nf-line-layout .nf-gate-row > button.nf-gate-remove,
  [data-newgen-fence-quote] .nf-quote .nf-line-layout .nf-gate-row > button.nf-gate-remove {
    position:absolute!important;
    right:0!important;
    bottom:0!important;
    height:52px!important;
    min-height:52px!important;
    width:40px!important;
  }
  #request-a-quote .nf-quote .nf-line-layout .nf-gate-row > .nf-field input,
  #request-a-quote .nf-quote .nf-line-layout .nf-gate-row > .nf-field select,
  [data-newgen-fence-quote] .nf-quote .nf-line-layout .nf-gate-row > .nf-field input,
  [data-newgen-fence-quote] .nf-quote .nf-line-layout .nf-gate-row > .nf-field select {
    height:52px!important;
    min-height:52px!important;
    margin:0!important;
  }
}

/* Fence type imagery and image placeholders */
#request-a-quote .nf-quote .nf-choice-visual {display:flex;align-items:center;justify-content:center;width:100%;min-height:125px;overflow:hidden;}
#request-a-quote .nf-quote .nf-choice-visual img {display:block;width:100%;height:145px;object-fit:contain;object-position:center;}
#request-a-quote .nf-quote .nf-choice-visual .nf-visual-fallback {font-size:48px;color:#939393;}
#request-a-quote .nf-quote .nf-choice-visual .nf-visual-fallback[hidden]{display:none!important;}
#request-a-quote .nf-quote .nf-choice {gap:12px;}
@media(max-width:650px){#request-a-quote .nf-quote .nf-choice-visual img{height:115px;}#request-a-quote .nf-quote .nf-choice-visual{min-height:105px;}}

/* v39: compact three-column post options, full-width image presentation */
#request-a-quote .nf-quote .nf-posts,
[data-newgen-fence-quote] .nf-quote .nf-posts {
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:14px!important;
}
#request-a-quote .nf-quote .nf-posts .nf-choice,
[data-newgen-fence-quote] .nf-quote .nf-posts .nf-choice {
  width:100%!important;
  min-width:0!important;
  padding:5px!important;
  align-self:start!important;
}
#request-a-quote .nf-quote .nf-choice-visual,
[data-newgen-fence-quote] .nf-quote .nf-choice-visual {
  width:100%!important;
  margin:0!important;
  padding:0!important;
}
#request-a-quote .nf-quote .nf-choice-visual img,
[data-newgen-fence-quote] .nf-quote .nf-choice-visual img {
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  height:210px!important;
  object-fit:contain!important;
  object-position:center!important;
}
#request-a-quote .nf-quote .nf-posts + .nf-hint,
[data-newgen-fence-quote] .nf-quote .nf-posts + .nf-hint {
  margin-top:20px!important;
}
@media(max-width:650px){
  #request-a-quote .nf-quote .nf-posts,
  [data-newgen-fence-quote] .nf-quote .nf-posts {grid-template-columns:1fr!important;}
  #request-a-quote .nf-quote .nf-choice-visual img,
  [data-newgen-fence-quote] .nf-quote .nf-choice-visual img {height:190px!important;}
}


/* v40: edge-to-edge product images in all option cards */
#request-a-quote .nf-quote .nf-options .nf-choice:has(.nf-choice-visual),
[data-newgen-fence-quote] .nf-quote .nf-options .nf-choice:has(.nf-choice-visual) {
  padding:0!important;
  justify-content:flex-start!important;
  gap:0!important;
}
#request-a-quote .nf-quote .nf-options .nf-choice .nf-choice-visual,
[data-newgen-fence-quote] .nf-quote .nf-options .nf-choice .nf-choice-visual {
  width:100%!important;
  height:240px!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
  overflow:hidden!important;
  flex:none!important;
}
#request-a-quote .nf-quote .nf-options .nf-choice .nf-choice-visual img,
[data-newgen-fence-quote] .nf-quote .nf-options .nf-choice .nf-choice-visual img {
  width:100%!important;
  height:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
  display:block!important;
  object-fit:cover!important;
  object-position:center!important;
}
#request-a-quote .nf-quote .nf-options .nf-choice > span:not(.nf-choice-visual),
[data-newgen-fence-quote] .nf-quote .nf-options .nf-choice > span:not(.nf-choice-visual),
#request-a-quote .nf-quote .nf-options .nf-choice > small,
[data-newgen-fence-quote] .nf-quote .nf-options .nf-choice > small {
  margin:10px 12px!important;
}
@media(max-width:650px){
  #request-a-quote .nf-quote .nf-options .nf-choice .nf-choice-visual,
  [data-newgen-fence-quote] .nf-quote .nf-options .nf-choice .nf-choice-visual {height:220px!important;}
}

/* v41: preserve intrinsic image aspect ratios; never crop or force image heights. */
#request-a-quote .nf-quote .nf-options .nf-choice:has(.nf-choice-visual),
[data-newgen-fence-quote] .nf-quote .nf-options .nf-choice:has(.nf-choice-visual) {
  height:auto!important; min-height:0!important; align-self:start!important;
}
#request-a-quote .nf-quote .nf-options .nf-choice .nf-choice-visual,
[data-newgen-fence-quote] .nf-quote .nf-options .nf-choice .nf-choice-visual {
  height:auto!important; min-height:0!important; aspect-ratio:auto!important;
  overflow:visible!important; display:block!important;
}
#request-a-quote .nf-quote .nf-options .nf-choice .nf-choice-visual img,
[data-newgen-fence-quote] .nf-quote .nf-options .nf-choice .nf-choice-visual img {
  display:block!important; width:100%!important; height:auto!important;
  max-width:100%!important; max-height:none!important; aspect-ratio:auto!important;
  object-fit:contain!important; object-position:center!important;
}
/* Post options retain the three-column grid but follow the image's natural ratio. */
#request-a-quote .nf-quote .nf-posts .nf-choice-visual img,
[data-newgen-fence-quote] .nf-quote .nf-posts .nf-choice-visual img {
  width:100%!important; height:auto!important; max-height:none!important; object-fit:contain!important;
}

/* v42: overlay selection tick at the top-right without changing card/image height. */
#request-a-quote .nf-quote .nf-options .nf-choice,
[data-newgen-fence-quote] .nf-quote .nf-options .nf-choice {
  position:relative!important;
}
#request-a-quote .nf-quote .nf-options .nf-choice .nf-check,
[data-newgen-fence-quote] .nf-quote .nf-options .nf-choice .nf-check {
  display:none!important;
  position:absolute!important;
  top:10px!important;
  right:10px!important;
  left:auto!important;
  bottom:auto!important;
  width:28px!important;
  height:28px!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
  border-radius:50%!important;
  background:#eaeaea!important;
  color:#111!important;
  font-size:17px!important;
  font-weight:700!important;
  line-height:28px!important;
  text-align:center!important;
  box-shadow:0 2px 7px rgba(0,0,0,.16)!important;
  z-index:5!important;
  pointer-events:none!important;
}
#request-a-quote .nf-quote .nf-options .nf-choice:has(input:checked) .nf-check,
[data-newgen-fence-quote] .nf-quote .nf-options .nf-choice:has(input:checked) .nf-check {
  display:block!important;
}

/* v43: All cards within each options grid row share the tallest card's height.
   Preserve each image's natural aspect ratio and keep selection check overlay. */
#request-a-quote .nf-quote .nf-options .nf-choice:has(.nf-choice-visual),
[data-newgen-fence-quote] .nf-quote .nf-options .nf-choice:has(.nf-choice-visual) {
  align-self:stretch!important;
  height:100%!important;
  justify-content:flex-start!important;
}
#request-a-quote .nf-quote .nf-options .nf-choice:has(.nf-choice-visual) > span:not(.nf-choice-visual):not(.nf-check),
[data-newgen-fence-quote] .nf-quote .nf-options .nf-choice:has(.nf-choice-visual) > span:not(.nf-choice-visual):not(.nf-check) {
  margin-top:auto!important;
}

/* v45 — reference-inspired measurements and printable quote */
.nf-measure-mode{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:18px 0 24px}
.nf-measure-mode label{display:flex;justify-content:space-between;align-items:center;gap:12px;border:1px solid #cecece;border-radius:9px;padding:17px 20px;cursor:pointer;font-weight:600}
.nf-measure-mode label:has(input:checked){border-color:#eaeaea;background:#eaeaea}
.nf-diagram-wrap{padding:20px;border:1px solid #e0e0e0;border-radius:12px;margin-bottom:22px}
.nf-diagram-wrap[hidden]{display:none!important}
.nf-fence-diagram{display:grid;grid-template-columns:100px minmax(0,1fr) 100px;grid-template-rows:62px 200px 70px;max-width:750px;margin:16px auto;align-items:center;justify-items:center}
.nf-diagram-yard{grid-column:2;grid-row:2;border:7px solid #242424;background:#f1f1f1;width:100%;height:100%;position:relative}
.nf-diagram-house{position:absolute;bottom:-7px;left:50%;transform:translateX(-50%);background:#eef0f2;border:2px solid #333;width:140px;height:70px;display:grid;place-items:center;font-size:13px;text-align:center}
.nf-diagram-edge{font-size:12px;display:flex;align-items:center;gap:5px;flex-wrap:wrap;justify-content:center}
.nf-diagram-edge input{width:70px!important;max-width:70px!important;padding:8px!important;text-align:center}
.nf-diagram-edge strong{display:block;width:100%;text-align:center}
.nf-edge-a{grid-column:2;grid-row:3;justify-self:start;margin-left:10%}.nf-edge-e{grid-column:2;grid-row:3;justify-self:end;margin-right:10%}
.nf-edge-b{grid-column:1;grid-row:2}.nf-edge-c{grid-column:2;grid-row:1}.nf-edge-d{grid-column:3;grid-row:2}
.nf-measure-head{display:grid;grid-template-columns:1fr 1fr 2fr;padding:14px 20px;background:#f3f3f3;border-radius:8px;margin-bottom:10px}
.nf-lines .nf-line{padding:14px 18px;margin:0 0 10px;border:1px solid #dedede;border-radius:9px}
.nf-quote-document{border:1px solid #cecece;border-radius:12px;overflow:hidden;background:#fff;margin-top:20px}
.nf-doc-header{background:#101010;color:#fff;display:flex;justify-content:space-between;align-items:center;padding:22px 25px;border-bottom:5px solid #eaeaea}
.nf-doc-header strong{display:block;font-size:22px;color:#c2c2c2}.nf-doc-header small{display:block;margin-top:4px}
.nf-doc-columns{display:grid;grid-template-columns:1fr 1fr;gap:20px;padding:20px 25px;border-bottom:1px solid #e2e2e2}
.nf-quote-document>h4{margin:18px 25px 8px!important}
.nf-quote-document .nf-summary,.nf-quote-document .nf-price-breakdown,.nf-doc-items,.nf-doc-lines{padding:10px 25px 20px}
.nf-doc-items table,.nf-doc-lines table{width:100%;border-collapse:collapse;font-size:13px}
.nf-doc-items th,.nf-doc-lines th{background:#e7e7e7;text-align:left}
.nf-doc-items td,.nf-doc-items th,.nf-doc-lines td,.nf-doc-lines th{padding:11px;border-bottom:1px solid #e0e0e0}
.nf-doc-tools{display:flex;align-items:center;gap:16px;margin:20px 0}.nf-print{background:#111!important;color:white!important;border-radius:8px!important;padding:13px 20px!important}
@media(max-width:650px){.nf-fence-diagram{grid-template-columns:70px minmax(0,1fr) 70px;grid-template-rows:65px 145px 75px}.nf-diagram-edge input{width:56px!important}.nf-doc-columns{grid-template-columns:1fr}.nf-doc-items,.nf-doc-lines{overflow-x:auto}.nf-measure-head{display:none}}
@media print{body *{visibility:hidden!important}.nf-quote-document,.nf-quote-document *{visibility:visible!important}.nf-quote-document{position:absolute!important;top:0;left:0;width:100%!important;border:0!important;box-shadow:none!important}.nf-quote-document .nf-summary,.nf-quote-document .nf-price-breakdown{display:block!important}.nf-doc-tools{display:none!important}@page{size:letter;margin:12mm}}

/* v46 compact measurement controls */
.nf-measure-mode{grid-template-columns:repeat(2,minmax(0,240px));justify-content:start}
.nf-measure-mode label{justify-content:flex-start;gap:12px}
.nf-measure-mode label span{order:1}.nf-measure-mode label input{order:0;flex:none}
.nf-measure-head{grid-template-columns:minmax(0,1fr) minmax(0,2fr)}
.nf-lines .nf-line{display:grid;grid-template-columns:140px minmax(0,1fr);gap:14px;align-items:start}
.nf-lines .nf-line-head{display:flex;flex-direction:column;align-items:flex-start;gap:12px;padding-top:8px}
.nf-lines .nf-line-layout{display:grid!important;grid-template-columns:minmax(120px,1fr) minmax(0,2fr)!important;gap:14px!important;align-items:start}
.nf-lines .nf-gates{min-width:0}.nf-lines .nf-gate-count-field{max-width:190px}
.nf-lines .nf-gate-list{display:flex;flex-direction:column;gap:8px;margin-top:8px}
.nf-lines .nf-gate-row{display:grid!important;grid-template-columns:minmax(0,2fr) minmax(85px,1fr)!important;gap:10px!important}
.nf-lines .nf-gate-row .nf-field{min-width:0}
.nf-diagram-gate-count{display:block!important;flex-basis:100%;width:96px!important;max-width:96px!important;padding:5px!important;font-size:12px!important;margin:3px auto 0!important}
@media(max-width:700px){.nf-measure-mode{grid-template-columns:1fr 1fr}.nf-lines .nf-line{grid-template-columns:1fr}.nf-lines .nf-line-layout{grid-template-columns:1fr!important}.nf-diagram-gate-count{width:70px!important}}

/* v48: fence-line title and remove action share the top row; gate rows can be added independently. */
#request-a-quote .nf-quote .nf-lines .nf-line,
[data-newgen-fence-quote] .nf-quote .nf-lines .nf-line {display:block!important;}
#request-a-quote .nf-quote .nf-lines .nf-line-head,
[data-newgen-fence-quote] .nf-quote .nf-lines .nf-line-head {display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;padding-top:0!important;margin-bottom:15px!important;}
#request-a-quote .nf-quote .nf-lines .nf-line-head strong,
[data-newgen-fence-quote] .nf-quote .nf-lines .nf-line-head strong {font-size:16px!important;}
#request-a-quote .nf-quote .nf-lines .nf-line-head .nf-remove,
[data-newgen-fence-quote] .nf-quote .nf-lines .nf-line-head .nf-remove {margin-left:auto!important;}
#request-a-quote .nf-quote .nf-lines .nf-gate-add,
[data-newgen-fence-quote] .nf-quote .nf-lines .nf-gate-add {margin-top:10px!important;}

/* v49: Align measurement fields and compact icon-only remove-gate action */
#request-a-quote .nf-quote .nf-lines .nf-line-layout,
[data-newgen-fence-quote] .nf-quote .nf-lines .nf-line-layout {
  display:grid!important;
  grid-template-columns:minmax(145px,0.7fr) minmax(0,2.3fr)!important;
  gap:16px!important;
  align-items:start!important;
}
#request-a-quote .nf-quote .nf-lines .nf-line-layout > .nf-field,
[data-newgen-fence-quote] .nf-quote .nf-lines .nf-line-layout > .nf-field {
  grid-column:1!important;max-width:none!important;margin:0!important;
}
#request-a-quote .nf-quote .nf-lines .nf-line-layout .nf-gates,
[data-newgen-fence-quote] .nf-quote .nf-lines .nf-line-layout .nf-gates {
  grid-column:2!important;margin:0!important;padding:0!important;
}
#request-a-quote .nf-quote .nf-lines .nf-line-layout .nf-gate-row,
[data-newgen-fence-quote] .nf-quote .nf-lines .nf-line-layout .nf-gate-row {
  display:grid!important;grid-template-columns:minmax(0,1fr) 170px 38px!important;
  gap:10px!important;align-items:end!important;margin:0 0 12px!important;
}
#request-a-quote .nf-quote .nf-lines .nf-line-layout .nf-gate-row .nf-field,
[data-newgen-fence-quote] .nf-quote .nf-lines .nf-line-layout .nf-gate-row .nf-field {margin:0!important;min-width:0!important;}
#request-a-quote .nf-quote .nf-lines .nf-line-layout .nf-field > input,
#request-a-quote .nf-quote .nf-lines .nf-line-layout .nf-field > select,
[data-newgen-fence-quote] .nf-quote .nf-lines .nf-line-layout .nf-field > input,
[data-newgen-fence-quote] .nf-quote .nf-lines .nf-line-layout .nf-field > select {width:100%!important;box-sizing:border-box!important;min-height:54px!important;}
#request-a-quote .nf-quote .nf-lines .nf-gate-row .nf-gate-remove,
[data-newgen-fence-quote] .nf-quote .nf-lines .nf-gate-row .nf-gate-remove {
  grid-column:3!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;
  width:38px!important;height:54px!important;min-height:54px!important;
  padding:0!important;font-size:0!important;line-height:1!important;
}
#request-a-quote .nf-quote .nf-lines .nf-gate-row .nf-gate-remove svg,
[data-newgen-fence-quote] .nf-quote .nf-lines .nf-gate-row .nf-gate-remove svg {display:block!important;flex:none!important;}
/* Reserve icon column on first gate row to keep gate inputs aligned across rows. */
@media(max-width:700px){
 #request-a-quote .nf-quote .nf-lines .nf-line-layout,
 [data-newgen-fence-quote] .nf-quote .nf-lines .nf-line-layout {grid-template-columns:1fr!important;}
 #request-a-quote .nf-quote .nf-lines .nf-line-layout .nf-gates,
 [data-newgen-fence-quote] .nf-quote .nf-lines .nf-line-layout .nf-gates {grid-column:1!important;}
 #request-a-quote .nf-quote .nf-lines .nf-line-layout .nf-gate-row,
 [data-newgen-fence-quote] .nf-quote .nf-lines .nf-line-layout .nf-gate-row {grid-template-columns:minmax(0,1fr) 90px 38px!important;}
}

/* v50 — consistent labels, aligned inputs and equal-width gate quantities */
#request-a-quote .nf-quote .nf-lines .nf-line-layout,
[data-newgen-fence-quote] .nf-quote .nf-lines .nf-line-layout {
  align-items:start!important;
}
#request-a-quote .nf-quote .nf-lines .nf-line-layout > .nf-field,
[data-newgen-fence-quote] .nf-quote .nf-lines .nf-line-layout > .nf-field {
  display:flex!important;flex-direction:column!important;justify-content:flex-start!important;
}
#request-a-quote .nf-quote .nf-lines .nf-line-layout .nf-gate-row,
[data-newgen-fence-quote] .nf-quote .nf-lines .nf-line-layout .nf-gate-row {
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 170px 42px!important;
  align-items:end!important;
  gap:10px!important;
}
#request-a-quote .nf-quote .nf-lines .nf-line-layout .nf-gate-row > .nf-field,
[data-newgen-fence-quote] .nf-quote .nf-lines .nf-line-layout .nf-gate-row > .nf-field {
  display:flex!important;flex-direction:column!important;justify-content:flex-end!important;
  margin:0!important;padding:0!important;width:100%!important;
}
#request-a-quote .nf-quote .nf-lines .nf-line-layout .nf-label-text,
[data-newgen-fence-quote] .nf-quote .nf-lines .nf-line-layout .nf-label-text {
  display:block!important;height:25px!important;min-height:25px!important;
  line-height:20px!important;margin:0 0 7px!important;
  box-sizing:border-box!important;
}
#request-a-quote .nf-quote .nf-lines .nf-line-layout .nf-gate-row:not(:first-child) .nf-label-text,
[data-newgen-fence-quote] .nf-quote .nf-lines .nf-line-layout .nf-gate-row:not(:first-child) .nf-label-text {
  display:block!important;visibility:hidden!important;
}
#request-a-quote .nf-quote .nf-lines .nf-line-layout .nf-field > input,
#request-a-quote .nf-quote .nf-lines .nf-line-layout .nf-field > select,
[data-newgen-fence-quote] .nf-quote .nf-lines .nf-line-layout .nf-field > input,
[data-newgen-fence-quote] .nf-quote .nf-lines .nf-line-layout .nf-field > select {
  width:100%!important;height:54px!important;min-height:54px!important;max-height:54px!important;
  margin:0!important;padding-right:12px!important;box-sizing:border-box!important;
}
#request-a-quote .nf-quote .nf-lines .nf-line-layout .nf-gate-row .nf-gate-remove,
[data-newgen-fence-quote] .nf-quote .nf-lines .nf-line-layout .nf-gate-row .nf-gate-remove {
  position:static!important;grid-column:3!important;align-self:end!important;
  width:42px!important;height:54px!important;min-height:54px!important;max-height:54px!important;
}
@media(max-width:700px){
  #request-a-quote .nf-quote .nf-lines .nf-line-layout .nf-gate-row,
  [data-newgen-fence-quote] .nf-quote .nf-lines .nf-line-layout .nf-gate-row {
    grid-template-columns:minmax(0,1fr) 90px 36px!important;gap:6px!important;
  }
  #request-a-quote .nf-quote .nf-lines .nf-line-layout .nf-gate-row .nf-gate-remove,
  [data-newgen-fence-quote] .nf-quote .nf-lines .nf-line-layout .nf-gate-row .nf-gate-remove {width:36px!important;}
}

/* v51 — match compact, fully aligned Fence Line reference */
#request-a-quote .nf-quote .nf-lines .nf-line,
[data-newgen-fence-quote] .nf-quote .nf-lines .nf-line {padding:18px 20px 20px!important;}
#request-a-quote .nf-quote .nf-lines .nf-line-head,
[data-newgen-fence-quote] .nf-quote .nf-lines .nf-line-head {margin:0 0 12px!important;}
#request-a-quote .nf-quote .nf-lines .nf-line-layout,
[data-newgen-fence-quote] .nf-quote .nf-lines .nf-line-layout {grid-template-columns:minmax(0,1fr) minmax(0,3.25fr)!important;gap:16px!important;align-items:start!important;}
#request-a-quote .nf-quote .nf-lines .nf-line-layout .nf-gate-list,
[data-newgen-fence-quote] .nf-quote .nf-lines .nf-line-layout .nf-gate-list {margin:0 0 10px!important;gap:12px!important;}
#request-a-quote .nf-quote .nf-lines .nf-line-layout .nf-gate-row,
[data-newgen-fence-quote] .nf-quote .nf-lines .nf-line-layout .nf-gate-row {grid-template-columns:minmax(0,1fr) 170px 42px!important;gap:10px!important;margin:0!important;align-items:end!important;}
#request-a-quote .nf-quote .nf-lines .nf-line-layout .nf-gate-row > .nf-field:nth-child(2),
[data-newgen-fence-quote] .nf-quote .nf-lines .nf-line-layout .nf-gate-row > .nf-field:nth-child(2) {display:flex!important;padding:0!important;margin:0!important;}
#request-a-quote .nf-quote .nf-lines .nf-line-layout .nf-label-text,
[data-newgen-fence-quote] .nf-quote .nf-lines .nf-line-layout .nf-label-text {height:22px!important;min-height:22px!important;line-height:22px!important;margin:0 0 8px!important;visibility:visible!important;}
#request-a-quote .nf-quote .nf-lines .nf-line-layout .nf-gate-row:not(:first-child) .nf-label-text,
[data-newgen-fence-quote] .nf-quote .nf-lines .nf-line-layout .nf-gate-row:not(:first-child) .nf-label-text {display:none!important;}
#request-a-quote .nf-quote .nf-lines .nf-line-layout .nf-gate-row > .nf-field,
[data-newgen-fence-quote] .nf-quote .nf-lines .nf-line-layout .nf-gate-row > .nf-field {justify-content:flex-start!important;}
#request-a-quote .nf-quote .nf-lines .nf-line-layout .nf-field > input,
#request-a-quote .nf-quote .nf-lines .nf-line-layout .nf-field > select,
[data-newgen-fence-quote] .nf-quote .nf-lines .nf-line-layout .nf-field > input,
[data-newgen-fence-quote] .nf-quote .nf-lines .nf-line-layout .nf-field > select {height:54px!important;min-height:54px!important;max-height:54px!important;}
#request-a-quote .nf-quote .nf-lines .nf-line-layout .nf-gate-row .nf-gate-remove,
[data-newgen-fence-quote] .nf-quote .nf-lines .nf-line-layout .nf-gate-row .nf-gate-remove {position:static!important;grid-column:3!important;width:42px!important;height:54px!important;min-height:54px!important;max-height:54px!important;}
@media(max-width:700px){
 #request-a-quote .nf-quote .nf-lines .nf-line-layout,
 [data-newgen-fence-quote] .nf-quote .nf-lines .nf-line-layout {grid-template-columns:1fr!important;}
 #request-a-quote .nf-quote .nf-lines .nf-line-layout .nf-gates,
 [data-newgen-fence-quote] .nf-quote .nf-lines .nf-line-layout .nf-gates {grid-column:1!important;}
 #request-a-quote .nf-quote .nf-lines .nf-line-layout .nf-gate-row,
 [data-newgen-fence-quote] .nf-quote .nf-lines .nf-line-layout .nf-gate-row {grid-template-columns:minmax(0,1fr) 90px 36px!important;gap:7px!important;}
}

/* v52: compact invoice-style review, preserving existing fence-line layout */
#request-a-quote .nf-quote-document,[data-newgen-fence-quote] .nf-quote-document{max-width:100%;border-radius:12px;border:1px solid #d8d8d8;box-shadow:0 8px 26px rgba(0,0,0,.04)}
#request-a-quote .nf-quote-document .nf-doc-columns,[data-newgen-fence-quote] .nf-quote-document .nf-doc-columns{background:#fff;gap:32px;padding:24px 28px}
#request-a-quote .nf-doc-columns h4,[data-newgen-fence-quote] .nf-doc-columns h4{font-size:14px!important;text-transform:uppercase;letter-spacing:.04em;margin:0 0 12px!important;color:#363636}
#request-a-quote .nf-doc-customer,#request-a-quote .nf-doc-shipping,[data-newgen-fence-quote] .nf-doc-customer,[data-newgen-fence-quote] .nf-doc-shipping{font-size:13px;line-height:1.8;overflow-wrap:anywhere}
#request-a-quote .nf-quote-document .nf-summary,[data-newgen-fence-quote] .nf-quote-document .nf-summary{border:0!important;border-radius:0!important;padding:8px 28px 20px!important}
#request-a-quote .nf-config-tags,[data-newgen-fence-quote] .nf-config-tags{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin-bottom:14px}
#request-a-quote .nf-config-tags .nf-config-tag,[data-newgen-fence-quote] .nf-config-tags .nf-config-tag{display:flex!important;flex-direction:column!important;gap:7px!important;padding:14px 12px!important;border:1px solid #dedede!important;border-radius:8px;background:#fbfaf7;min-width:0}
#request-a-quote .nf-config-tag small,[data-newgen-fence-quote] .nf-config-tag small{font-size:11px;color:#6b6b6b;line-height:1.3}
#request-a-quote .nf-config-tag strong,[data-newgen-fence-quote] .nf-config-tag strong{font-size:13px;line-height:1.4;overflow-wrap:anywhere}
#request-a-quote .nf-config-metrics,[data-newgen-fence-quote] .nf-config-metrics{display:grid!important;grid-template-columns:repeat(3,1fr);gap:12px;padding:16px 0 0!important;border-top:1px solid #e7e7e7}
#request-a-quote .nf-config-metrics>div,[data-newgen-fence-quote] .nf-config-metrics>div{display:flex!important;flex-direction:column!important;align-items:center!important;gap:5px!important;padding:12px!important;background:#f0f0f0;border-radius:8px;border:0!important;text-align:center}
#request-a-quote .nf-config-metrics strong,[data-newgen-fence-quote] .nf-config-metrics strong{font-size:24px;color:#141414}
#request-a-quote .nf-config-metrics small,[data-newgen-fence-quote] .nf-config-metrics small{font-size:11px;color:#636363}
#request-a-quote .nf-doc-items,#request-a-quote .nf-doc-lines,[data-newgen-fence-quote] .nf-doc-items,[data-newgen-fence-quote] .nf-doc-lines{padding:8px 28px 20px!important}
#request-a-quote .nf-price-breakdown,[data-newgen-fence-quote] .nf-price-breakdown{margin:6px 28px 22px;padding:18px!important;background:#fcfaf5;border:1px solid #e0e0e0;border-radius:10px}
#request-a-quote .nf-grand-total,[data-newgen-fence-quote] .nf-grand-total{background:#eaeaea!important;border:1px solid #b4b4b4!important;border-radius:7px;padding:12px!important;font-weight:800}
@media(max-width:850px){#request-a-quote .nf-config-tags,[data-newgen-fence-quote] .nf-config-tags{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){#request-a-quote .nf-config-tags,[data-newgen-fence-quote] .nf-config-tags{grid-template-columns:1fr 1fr}#request-a-quote .nf-doc-columns,[data-newgen-fence-quote] .nf-doc-columns{grid-template-columns:1fr!important}#request-a-quote .nf-config-metrics strong,[data-newgen-fence-quote] .nf-config-metrics strong{font-size:19px}}
@media print{#request-a-quote .nf-config-tags,[data-newgen-fence-quote] .nf-config-tags{grid-template-columns:repeat(5,minmax(0,1fr))!important}#request-a-quote .nf-quote-document,[data-newgen-fence-quote] .nf-quote-document{box-shadow:none!important}#request-a-quote .nf-config-tag,#request-a-quote .nf-config-metrics>div,[data-newgen-fence-quote] .nf-config-tag,[data-newgen-fence-quote] .nf-config-metrics>div{break-inside:avoid;print-color-adjust:exact;-webkit-print-color-adjust:exact}}

/* v53: polished invoice review */
#request-a-quote .nf-quote-document>h4,[data-newgen-fence-quote] .nf-quote-document>h4{margin:20px 28px 8px!important;padding:0!important}
#request-a-quote .nf-quote-document .nf-summary,[data-newgen-fence-quote] .nf-quote-document .nf-summary{margin:0!important;padding:8px 28px 20px!important;width:100%!important;box-sizing:border-box!important}
#request-a-quote .nf-config-tags,[data-newgen-fence-quote] .nf-config-tags{width:100%!important;box-sizing:border-box!important}
#request-a-quote .nf-doc-items table,#request-a-quote .nf-doc-lines table,[data-newgen-fence-quote] .nf-doc-items table,[data-newgen-fence-quote] .nf-doc-lines table{border:1px solid #d8d8d8!important;border-radius:10px!important;border-collapse:separate!important;border-spacing:0!important;overflow:hidden!important;width:100%!important}
#request-a-quote .nf-doc-items table thead th,#request-a-quote .nf-doc-lines table thead th,[data-newgen-fence-quote] .nf-doc-items table thead th,[data-newgen-fence-quote] .nf-doc-lines table thead th{background:#111!important;color:#fff!important;border-color:#111!important;padding:13px 14px!important}
#request-a-quote .nf-doc-items table tbody td,#request-a-quote .nf-doc-lines table tbody td,[data-newgen-fence-quote] .nf-doc-items table tbody td,[data-newgen-fence-quote] .nf-doc-lines table tbody td{padding:12px 14px!important;border-bottom:1px solid #e9e9e9!important}
#request-a-quote .nf-doc-items table tbody tr:last-child td,#request-a-quote .nf-doc-lines table tbody tr:last-child td,[data-newgen-fence-quote] .nf-doc-items table tbody tr:last-child td,[data-newgen-fence-quote] .nf-doc-lines table tbody tr:last-child td{border-bottom:0!important}
#request-a-quote .nf-brand-logo,[data-newgen-fence-quote] .nf-brand-logo{display:block!important;max-width:200px!important;max-height:64px!important;object-fit:contain!important;object-position:left center!important;margin-bottom:5px!important}
@media print{#request-a-quote .nf-doc-items table thead th,#request-a-quote .nf-doc-lines table thead th{background:#111!important;color:white!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}}

/* v54: Material Estimate styled consistently with itemized tables */
#request-a-quote .nf-quote-document .nf-price-breakdown,
[data-newgen-fence-quote] .nf-quote-document .nf-price-breakdown {
  padding:0!important; margin:10px 28px 24px!important;
  background:#fff!important; border:1px solid #d8d8d8!important;
  border-radius:10px!important; overflow:hidden!important;
}
#request-a-quote .nf-quote-document .nf-price-breakdown>h4,
[data-newgen-fence-quote] .nf-quote-document .nf-price-breakdown>h4 {
  margin:0!important; padding:14px 16px!important;
  background:#111!important; color:#fff!important;
  font-size:16px!important; line-height:1.4!important;
}
#request-a-quote .nf-quote-document .nf-price-breakdown>div,
[data-newgen-fence-quote] .nf-quote-document .nf-price-breakdown>div {
  display:flex!important; justify-content:space-between!important;
  align-items:center!important; gap:16px!important;
  margin:0!important; padding:12px 16px!important;
  border:0!important; border-bottom:1px solid #e9e9e9!important;
  border-radius:0!important; background:#fff!important;
}
#request-a-quote .nf-quote-document .nf-price-breakdown>div strong,
[data-newgen-fence-quote] .nf-quote-document .nf-price-breakdown>div strong {
  font-weight:500!important; flex:1 1 auto; min-width:0;
}
#request-a-quote .nf-quote-document .nf-price-breakdown>div span,
[data-newgen-fence-quote] .nf-quote-document .nf-price-breakdown>div span {
  text-align:right!important; flex:0 1 auto; overflow-wrap:anywhere;
}
#request-a-quote .nf-quote-document .nf-price-breakdown>.nf-grand-total,
[data-newgen-fence-quote] .nf-quote-document .nf-price-breakdown>.nf-grand-total {
  background:#eaeaea!important; border:0!important;
  border-top:2px solid #eaeaea!important; border-radius:0!important;
  font-weight:800!important;
}
#request-a-quote .nf-quote-document .nf-price-breakdown>.nf-grand-total strong,
[data-newgen-fence-quote] .nf-quote-document .nf-price-breakdown>.nf-grand-total strong {font-weight:800!important;}
#request-a-quote .nf-quote .nf-doc-tools .nf-print,
[data-newgen-fence-quote] .nf-quote .nf-doc-tools .nf-print {
  display:inline-flex!important; align-items:center!important;
  justify-content:center!important; text-align:center!important;
  vertical-align:middle!important; line-height:1.3!important;
  min-height:48px!important; padding:12px 22px!important;
  white-space:normal!important;
}
@media print {
 #request-a-quote .nf-quote-document .nf-price-breakdown>h4,
 [data-newgen-fence-quote] .nf-quote-document .nf-price-breakdown>h4 {
  background:#111!important;color:#fff!important;-webkit-print-color-adjust:exact;print-color-adjust:exact;
 }
}


/* v57: mobile post cards, prevent input focus zoom and horizontal page overflow */
@media (max-width: 700px) {
  html,body {max-width:100%;overflow-x:clip!important;}
  #request-a-quote,[data-newgen-fence-quote],
  #request-a-quote .nf-quote,[data-newgen-fence-quote] .nf-quote {
    width:100%!important;max-width:100%!important;min-width:0!important;
    box-sizing:border-box!important;overflow-x:clip!important;
  }
  #request-a-quote .nf-quote .nf-posts,
  [data-newgen-fence-quote] .nf-quote .nf-posts {
    display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:10px!important;width:100%!important;
  }
  #request-a-quote .nf-quote .nf-posts .nf-choice,
  [data-newgen-fence-quote] .nf-quote .nf-posts .nf-choice {
    min-width:0!important;width:100%!important;padding:6px!important;
  }
  #request-a-quote .nf-quote .nf-posts .nf-choice-visual img,
  [data-newgen-fence-quote] .nf-quote .nf-posts .nf-choice-visual img {
    height:145px!important;max-width:100%!important;object-fit:contain!important;
  }
  #request-a-quote .nf-quote input:not([type=checkbox]):not([type=radio]):not([type=hidden]),
  #request-a-quote .nf-quote select,#request-a-quote .nf-quote textarea,
  [data-newgen-fence-quote] .nf-quote input:not([type=checkbox]):not([type=radio]):not([type=hidden]),
  [data-newgen-fence-quote] .nf-quote select,[data-newgen-fence-quote] .nf-quote textarea {
    font-size:16px!important;min-width:0;max-width:100%;
  }
  #request-a-quote .nf-quote .nf-diagram-wrap,
  [data-newgen-fence-quote] .nf-quote .nf-diagram-wrap {padding:10px!important;max-width:100%!important;min-width:0!important;overflow:hidden!important;}
  #request-a-quote .nf-quote .nf-fence-diagram,
  [data-newgen-fence-quote] .nf-quote .nf-fence-diagram {
    grid-template-columns:minmax(0,65px) minmax(0,1fr) minmax(0,65px)!important;
    grid-template-rows:85px 145px 100px!important;
    width:100%!important;max-width:100%!important;min-width:0!important;
  }
  #request-a-quote .nf-quote .nf-diagram-edge,
  [data-newgen-fence-quote] .nf-quote .nf-diagram-edge {min-width:0!important;max-width:100%!important;gap:2px!important;}
  #request-a-quote .nf-quote .nf-diagram-edge input,
  [data-newgen-fence-quote] .nf-quote .nf-diagram-edge input {width:52px!important;max-width:52px!important;padding:6px 2px!important;font-size:16px!important;}
  #request-a-quote .nf-quote .nf-diagram-gate-count,
  [data-newgen-fence-quote] .nf-quote .nf-diagram-gate-count {width:64px!important;max-width:64px!important;padding:5px 0!important;font-size:12px!important;}
  #request-a-quote .nf-quote .nf-diagram-house,
  [data-newgen-fence-quote] .nf-quote .nf-diagram-house {width:min(110px,65%)!important;height:60px!important;font-size:11px!important;}
  #request-a-quote .nf-quote .nf-lines,
  #request-a-quote .nf-quote .nf-line,
  #request-a-quote .nf-quote .nf-line-layout,
  #request-a-quote .nf-quote .nf-gates,
  #request-a-quote .nf-quote .nf-gate-list,
  #request-a-quote .nf-quote .nf-gate-row,
  [data-newgen-fence-quote] .nf-quote .nf-lines,
  [data-newgen-fence-quote] .nf-quote .nf-line,
  [data-newgen-fence-quote] .nf-quote .nf-line-layout,
  [data-newgen-fence-quote] .nf-quote .nf-gates,
  [data-newgen-fence-quote] .nf-quote .nf-gate-list,
  [data-newgen-fence-quote] .nf-quote .nf-gate-row {min-width:0!important;max-width:100%!important;}
  #request-a-quote .nf-quote .nf-doc-items,
  #request-a-quote .nf-quote .nf-doc-lines,
  [data-newgen-fence-quote] .nf-quote .nf-doc-items,
  [data-newgen-fence-quote] .nf-quote .nf-doc-lines {overflow-x:auto!important;max-width:100%!important;}
}
@media(max-width:390px){
  #request-a-quote .nf-quote .nf-posts .nf-choice-visual img,
  [data-newgen-fence-quote] .nf-quote .nf-posts .nf-choice-visual img {height:120px!important;}
  #request-a-quote .nf-quote .nf-fence-diagram,
  [data-newgen-fence-quote] .nf-quote .nf-fence-diagram {grid-template-columns:60px minmax(0,1fr) 60px!important;}
}

/* V58 — Mobile: gate type and quantity share one aligned row */
@media (max-width: 700px) {
  #request-a-quote .nf-quote .nf-lines .nf-line-layout .nf-gates,
  [data-newgen-fence-quote] .nf-quote .nf-lines .nf-line-layout .nf-gates {
    width:100%!important;min-width:0!important;max-width:100%!important;
  }
  #request-a-quote .nf-quote .nf-lines .nf-line-layout .nf-gate-row,
  [data-newgen-fence-quote] .nf-quote .nf-lines .nf-line-layout .nf-gate-row {
    display:grid!important;
    grid-template-columns:minmax(0, 1fr) minmax(86px, 30%)!important;
    column-gap:10px!important;row-gap:0!important;
    align-items:end!important;width:100%!important;max-width:100%!important;
    margin:0 0 12px!important;
  }
  #request-a-quote .nf-quote .nf-lines .nf-line-layout .nf-gate-row:has(.nf-gate-remove),
  [data-newgen-fence-quote] .nf-quote .nf-lines .nf-line-layout .nf-gate-row:has(.nf-gate-remove) {
    grid-template-columns:minmax(0, 1fr) minmax(76px, 25%) 36px!important;
    column-gap:7px!important;
  }
  #request-a-quote .nf-quote .nf-lines .nf-line-layout .nf-gate-row > .nf-field,
  [data-newgen-fence-quote] .nf-quote .nf-lines .nf-line-layout .nf-gate-row > .nf-field {
    display:flex!important;flex-direction:column!important;
    width:100%!important;min-width:0!important;max-width:100%!important;
    margin:0!important;padding:0!important;align-self:end!important;
  }
  #request-a-quote .nf-quote .nf-lines .nf-line-layout .nf-gate-row > .nf-field:nth-child(2),
  [data-newgen-fence-quote] .nf-quote .nf-lines .nf-line-layout .nf-gate-row > .nf-field:nth-child(2) {
    grid-column:2!important;grid-row:1!important;
  }
  #request-a-quote .nf-quote .nf-lines .nf-line-layout .nf-gate-row .nf-label-text,
  [data-newgen-fence-quote] .nf-quote .nf-lines .nf-line-layout .nf-gate-row .nf-label-text {
    display:block!important;visibility:visible!important;text-align:left!important;
    height:22px!important;min-height:22px!important;line-height:22px!important;
    margin:0 0 8px!important;white-space:nowrap!important;font-size:13px!important;
  }
  #request-a-quote .nf-quote .nf-lines .nf-line-layout .nf-gate-row:not(:first-child) .nf-label-text,
  [data-newgen-fence-quote] .nf-quote .nf-lines .nf-line-layout .nf-gate-row:not(:first-child) .nf-label-text {
    display:none!important;
  }
  #request-a-quote .nf-quote .nf-lines .nf-line-layout .nf-gate-row > .nf-field > select,
  #request-a-quote .nf-quote .nf-lines .nf-line-layout .nf-gate-row > .nf-field > input,
  [data-newgen-fence-quote] .nf-quote .nf-lines .nf-line-layout .nf-gate-row > .nf-field > select,
  [data-newgen-fence-quote] .nf-quote .nf-lines .nf-line-layout .nf-gate-row > .nf-field > input {
    width:100%!important;min-width:0!important;max-width:100%!important;
    box-sizing:border-box!important;height:54px!important;min-height:54px!important;
    margin:0!important;font-size:16px!important;
  }
  #request-a-quote .nf-quote .nf-lines .nf-line-layout .nf-gate-row .nf-gate-remove,
  [data-newgen-fence-quote] .nf-quote .nf-lines .nf-line-layout .nf-gate-row .nf-gate-remove {
    grid-column:3!important;grid-row:1!important;width:36px!important;height:54px!important;
    min-height:54px!important;margin:0!important;align-self:end!important;
  }
}

/* Additional post controls */
#request-a-quote .nf-additional-posts{margin-top:30px;padding:22px;border:1px solid #dedede;border-radius:12px;background:#fbfaf7}#request-a-quote .nf-extra-post-row{display:grid;grid-template-columns:minmax(0,2fr) minmax(110px,1fr) auto;gap:14px;align-items:end;margin:14px 0}#request-a-quote .nf-extra-post-add{background:#eaeaea;color:#636363;border:1px solid #eaeaea;border-radius:8px;padding:13px 20px;font-weight:700;cursor:pointer}#request-a-quote .nf-extra-post-remove{background:#fff;border:1px solid #c2c2c2;color:#434343;border-radius:8px;padding:14px;cursor:pointer}#request-a-quote .nf-extra-post-total{font-weight:700;margin-top:14px}@media(max-width:650px){#request-a-quote .nf-extra-post-row{grid-template-columns:minmax(0,1fr) 100px}#request-a-quote .nf-extra-post-remove{grid-column:1/-1;justify-self:end}}

/* Additional posts: match gate trash icon, center add button and provide top shortcut. */
#request-a-quote .nf-quote .nf-jump-posts,
[data-newgen-fence-quote] .nf-quote .nf-jump-posts{display:inline-flex!important;align-items:center!important;justify-content:center!important;background:#111!important;color:#fff!important;border:1px solid #111!important;border-radius:8px!important;padding:13px 22px!important;font-size:15px!important;font-weight:700!important;cursor:pointer!important;margin:12px 0 8px!important;min-height:48px!important}
#request-a-quote .nf-quote .nf-extra-post-add,
[data-newgen-fence-quote] .nf-quote .nf-extra-post-add{display:inline-flex!important;align-items:center!important;justify-content:center!important;text-align:center!important;line-height:1.2!important;min-height:52px!important;padding:12px 22px!important}
#request-a-quote .nf-quote .nf-extra-post-remove,
[data-newgen-fence-quote] .nf-quote .nf-extra-post-remove{display:flex!important;align-items:center!important;justify-content:center!important;align-self:end!important;width:42px!important;height:54px!important;min-width:42px!important;min-height:54px!important;max-height:54px!important;padding:0!important;border:1px solid #d5d5d5!important;border-radius:8px!important;background:#fff!important;color:#4b4b4b!important;cursor:pointer!important;margin:0!important}
#request-a-quote .nf-quote .nf-extra-post-remove svg,
[data-newgen-fence-quote] .nf-quote .nf-extra-post-remove svg{display:block!important;width:18px!important;height:18px!important;flex:none!important}
@media(max-width:650px){#request-a-quote .nf-quote .nf-extra-post-remove,[data-newgen-fence-quote] .nf-quote .nf-extra-post-remove{grid-column:3!important;grid-row:1!important;justify-self:end!important}#request-a-quote .nf-quote .nf-extra-post-row,[data-newgen-fence-quote] .nf-quote .nf-extra-post-row{grid-template-columns:minmax(0,1fr) minmax(75px,100px) 42px!important;gap:8px!important}}

/* Neutral, store-independent quote builder */
#request-a-quote .nf-steps .active,#request-a-quote .nf-next,#request-a-quote .nf-submit,#request-a-quote .nf-jump-posts{background:#111!important;color:#fff!important;border-color:#111!important}
#request-a-quote .nf-choice:has(input:checked){border-color:#111!important;box-shadow:0 0 0 1px #111!important}
#request-a-quote .nf-check{background:#111!important;color:#fff!important}
#request-a-quote .nf-extra-post-add{background:#fff!important;color:#111!important;border-color:#111!important}
#request-a-quote .nf-additional-posts{background:#fafafa!important;border-color:#ddd!important}
#request-a-quote .nf-grand-total{background:#f0f0f0!important;color:#111!important}

/* Monochrome theme overrides, scoped to the quote builder. */
#request-a-quote .nf-quote,[data-newgen-fence-quote] .nf-quote{--nf-gold:#111!important;--nf-black:#111!important;--nf-border:#ddd!important;color:#111!important;background:#fff!important}
#request-a-quote .nf-quote .nf-steps .active,#request-a-quote .nf-quote .nf-next,#request-a-quote .nf-quote .nf-submit{background:#111!important;border-color:#111!important;color:#fff!important}
#request-a-quote .nf-quote .nf-steps .done{background:#e5e5e5!important;color:#111!important}
#request-a-quote .nf-quote .nf-steps span{background:#f2f2f2;color:#444}
#request-a-quote .nf-quote .nf-choice,#request-a-quote .nf-quote .nf-line,#request-a-quote .nf-quote .nf-additional-posts{background:#fafafa!important;border-color:#ddd!important}
#request-a-quote .nf-quote .nf-choice:has(input:checked){background:#f0f0f0!important;border-color:#111!important;box-shadow:0 0 0 1px #111!important}
#request-a-quote .nf-quote .nf-check{background:#111!important;color:#fff!important}
#request-a-quote .nf-quote .nf-extra-post-add,#request-a-quote .nf-quote .nf-gate-add,#request-a-quote .nf-quote .nf-add,#request-a-quote .nf-quote .nf-back{background:#fff!important;border-color:#777!important;color:#111!important}
#request-a-quote .nf-quote .nf-grand-total,#request-a-quote .nf-quote .nf-config-metrics{background:#eee!important;border-color:#ccc!important;color:#111!important}
#request-a-quote .nf-quote .nf-doc-header{background:#111!important;border-bottom-color:#777!important}
#request-a-quote .nf-quote .nf-price-warning{background:#f2f2f2!important;border-left-color:#555!important}
#request-a-quote .nf-quote .nf-choice-icon,#request-a-quote .nf-quote .nf-visual-fallback{color:#555!important}
#request-a-quote .nf-quote input:focus,#request-a-quote .nf-quote select:focus{outline-color:#555!important;border-color:#555!important}
#request-a-quote .nf-quote .nf-summary,#request-a-quote .nf-quote .nf-quote-document{border-color:#ddd!important}
#request-a-quote .nf-quote button.nf-submit:hover{background:#333!important;border-color:#333!important;color:#fff!important}
#request-a-quote .nf-quote .nf-extra-post-total{color:#111!important}

/* FINAL UNIVERSAL MONOCHROME OVERRIDES — scoped to the quote builder */
#request-a-quote .nf-quote,[data-newgen-fence-quote] .nf-quote{--nf-gold:#111!important;--nf-black:#111!important;--nf-border:#dedede!important;color:#111!important;background:#fff!important}
#request-a-quote .nf-quote .nf-panel,#request-a-quote .nf-quote .nf-diagram-wrap,#request-a-quote .nf-quote .nf-line,#request-a-quote .nf-quote .nf-additional-posts,#request-a-quote .nf-quote .nf-quote-document{border-color:#dedede!important;background:#fafafa!important}
#request-a-quote .nf-quote .nf-choice{border-color:#d8d8d8!important;background:#fff!important}
#request-a-quote .nf-quote .nf-choice:has(input:checked){border:2px solid #111!important;box-shadow:0 0 0 1px #111!important;background:#f3f3f3!important}
#request-a-quote .nf-quote .nf-check{color:#fff!important;background:#111!important}
#request-a-quote .nf-quote .nf-steps span{background:#eee!important;color:#333!important;border-color:#ddd!important}
#request-a-quote .nf-quote .nf-steps .active{background:#111!important;color:#fff!important;border-color:#111!important}
#request-a-quote .nf-quote .nf-steps .done{background:#dedede!important;color:#111!important}
#request-a-quote .nf-quote .nf-config-tags .nf-config-tag{background:#fafafa!important;border-color:#dedede!important}
#request-a-quote .nf-quote .nf-config-metrics{background:#f1f1f1!important;border-color:#dedede!important}
#request-a-quote .nf-quote .nf-config-metrics>div{background:#ededed!important;border:1px solid #dedede!important;color:#111!important}
#request-a-quote .nf-quote .nf-config-metrics strong,#request-a-quote .nf-quote .nf-config-metrics small{color:#111!important}
#request-a-quote .nf-quote .nf-price-breakdown{background:#f7f7f7!important;border-color:#ddd!important}
#request-a-quote .nf-quote .nf-grand-total{background:#ededed!important;border-color:#ccc!important;color:#111!important}
#request-a-quote .nf-quote .nf-doc-items table,#request-a-quote .nf-quote .nf-doc-lines table{border-color:#ddd!important}
#request-a-quote .nf-quote .nf-doc-items th,#request-a-quote .nf-quote .nf-doc-lines th{background:#111!important;color:#fff!important}
#request-a-quote .nf-quote button.nf-gate-add{background:transparent!important;color:#111!important;border:0!important}
#request-a-quote .nf-quote button.nf-gate-add:hover{background:#111!important;color:#fff!important;border-radius:5px!important;text-decoration:none!important}
#request-a-quote .nf-quote button.nf-add,#request-a-quote .nf-quote button.nf-extra-post-add,#request-a-quote .nf-quote button.nf-back,#request-a-quote .nf-quote button.nf-print{background:#fff!important;color:#111!important;border:1px solid #777!important}
#request-a-quote .nf-quote button.nf-add:hover,#request-a-quote .nf-quote button.nf-extra-post-add:hover,#request-a-quote .nf-quote button.nf-back:hover,#request-a-quote .nf-quote button.nf-print:hover{background:#111!important;color:#fff!important;border-color:#111!important}
#request-a-quote .nf-quote button.nf-next,#request-a-quote .nf-quote button.nf-submit,#request-a-quote .nf-quote button.nf-jump-posts{background:#111!important;color:#fff!important;border-color:#111!important}
#request-a-quote .nf-quote button.nf-next:hover,#request-a-quote .nf-quote button.nf-submit:hover,#request-a-quote .nf-quote button.nf-jump-posts:hover{background:#333!important;color:#fff!important;border-color:#333!important}
#request-a-quote .nf-quote .nf-total-line,#request-a-quote .nf-quote .nf-extra-post-total{color:#111!important}
#request-a-quote .nf-quote input:focus,#request-a-quote .nf-quote select:focus{outline-color:#555!important;border-color:#555!important}

/* 2026-10-18: Keep the main step content area white on every store.
   Preserve gray backgrounds on individual cards, inputs and step indicators. */
#request-a-quote .nf-quote .nf-panel,
[data-newgen-fence-quote] .nf-quote .nf-panel,
#request-a-quote .nf-panel,
[data-newgen-fence-quote] .nf-panel {
  background: #fff !important;
  background-color: #fff !important;
}

/* Manual measurement additional posts and unboxed review metrics */
#request-a-quote .nf-quote .nf-config-metrics,
[data-newgen-fence-quote] .nf-quote .nf-config-metrics,
#request-a-quote .nf-quote .nf-config-metrics > div,
[data-newgen-fence-quote] .nf-quote .nf-config-metrics > div,
#request-a-quote .nf-quote-document .nf-config-metrics > div,
[data-newgen-fence-quote] .nf-quote-document .nf-config-metrics > div {
 background: transparent !important; background-color: transparent !important;
 border: 0 !important; box-shadow: none !important;
}
#request-a-quote .nf-quote .nf-config-metrics > div,
[data-newgen-fence-quote] .nf-quote .nf-config-metrics > div { border-radius: 0 !important; }

/* v60: Keep Add gate text-only on hover/focus/active (all storefronts). */
#request-a-quote .nf-quote button.nf-gate-add,
#request-a-quote .nf-quote button.nf-gate-add:hover,
#request-a-quote .nf-quote button.nf-gate-add:focus,
#request-a-quote .nf-quote button.nf-gate-add:active,
[data-newgen-fence-quote] .nf-quote button.nf-gate-add,
[data-newgen-fence-quote] .nf-quote button.nf-gate-add:hover,
[data-newgen-fence-quote] .nf-quote button.nf-gate-add:focus,
[data-newgen-fence-quote] .nf-quote button.nf-gate-add:active {
  background: transparent !important;
  background-color: transparent !important;
  color: #111 !important;
  border: 0 !important;
  box-shadow: none !important;
  text-decoration: none !important;
}

/* V61: Maintain white, neutral input fields in all browser states. */
#request-a-quote .nf-quote .nf-field input:not([type="radio"]),
#request-a-quote .nf-quote .nf-field select,
#request-a-quote .nf-quote .nf-field textarea,
#request-a-quote .nf-quote .nf-field input:not([type="radio"]):focus,
#request-a-quote .nf-quote .nf-field select:focus,
#request-a-quote .nf-quote .nf-field textarea:focus {
  background-color:#fff!important; color:#171717!important;
}
#request-a-quote .nf-quote input:-webkit-autofill,
#request-a-quote .nf-quote input:-webkit-autofill:hover,
#request-a-quote .nf-quote input:-webkit-autofill:focus,
#request-a-quote .nf-quote select:-webkit-autofill,
#request-a-quote .nf-quote select:-webkit-autofill:focus {
  -webkit-box-shadow:0 0 0 1000px #fff inset!important;
  box-shadow:0 0 0 1000px #fff inset!important;
  -webkit-text-fill-color:#171717!important;
  caret-color:#171717!important;
}

/* V62: consistent 20px spacing above the additional-post action. */
#request-a-quote .nf-quote .nf-additional-posts button.nf-extra-post-add,
[data-newgen-fence-quote] .nf-quote .nf-additional-posts button.nf-extra-post-add {
  display: inline-flex !important;
  margin-top: 20px !important;
}
/* V62: normal weight for editable controls throughout every quote step. */
#request-a-quote .nf-quote input:not([type="radio"]):not([type="checkbox"]):not([type="hidden"]),
#request-a-quote .nf-quote select,
#request-a-quote .nf-quote textarea,
[data-newgen-fence-quote] .nf-quote input:not([type="radio"]):not([type="checkbox"]):not([type="hidden"]),
[data-newgen-fence-quote] .nf-quote select,
[data-newgen-fence-quote] .nf-quote textarea {
  font-weight: 400 !important;
}

/* V61: red destructive actions and alerts; keep gate trash outside quantity input */
#request-a-quote .nf-quote .nf-remove,
#request-a-quote .nf-quote .nf-gate-remove,
#request-a-quote .nf-quote .nf-extra-post-remove,
[data-newgen-fence-quote] .nf-quote .nf-remove,
[data-newgen-fence-quote] .nf-quote .nf-gate-remove,
[data-newgen-fence-quote] .nf-quote .nf-extra-post-remove {
  color:#d62828!important;border:1px solid #f0b5b5!important;background:#fff!important;
}
#request-a-quote .nf-quote .nf-remove:hover,
#request-a-quote .nf-quote .nf-gate-remove:hover,
#request-a-quote .nf-quote .nf-extra-post-remove:hover,
[data-newgen-fence-quote] .nf-quote .nf-remove:hover,
[data-newgen-fence-quote] .nf-quote .nf-gate-remove:hover,
[data-newgen-fence-quote] .nf-quote .nf-extra-post-remove:hover {
  color:#b91c1c!important;background:#fff1f1!important;border-color:#d62828!important;
}
#request-a-quote .nf-quote .nf-message:not(:empty),
[data-newgen-fence-quote] .nf-quote .nf-message:not(:empty) {
  background:#fff1f1!important;color:#b91c1c!important;border:1px solid #f0b5b5!important;
}
/* Three independent grid tracks: gate type, quantity, remove icon. */
#request-a-quote .nf-quote .nf-lines .nf-line-layout .nf-gate-row:has(> .nf-gate-remove),
[data-newgen-fence-quote] .nf-quote .nf-lines .nf-line-layout .nf-gate-row:has(> .nf-gate-remove) {
  display:grid!important;grid-template-columns:minmax(0,1fr) minmax(90px,170px) 44px!important;
  column-gap:12px!important;align-items:end!important;
}
#request-a-quote .nf-quote .nf-lines .nf-line-layout .nf-gate-row:has(> .nf-gate-remove) > .nf-field,
[data-newgen-fence-quote] .nf-quote .nf-lines .nf-line-layout .nf-gate-row:has(> .nf-gate-remove) > .nf-field {
  min-width:0!important;max-width:100%!important;grid-row:1!important;
}
#request-a-quote .nf-quote .nf-lines .nf-line-layout .nf-gate-row:has(> .nf-gate-remove) > .nf-field:first-child,
[data-newgen-fence-quote] .nf-quote .nf-lines .nf-line-layout .nf-gate-row:has(> .nf-gate-remove) > .nf-field:first-child {grid-column:1!important;}
#request-a-quote .nf-quote .nf-lines .nf-line-layout .nf-gate-row:has(> .nf-gate-remove) > .nf-field:nth-child(2),
[data-newgen-fence-quote] .nf-quote .nf-lines .nf-line-layout .nf-gate-row:has(> .nf-gate-remove) > .nf-field:nth-child(2) {grid-column:2!important;}
#request-a-quote .nf-quote .nf-lines .nf-line-layout .nf-gate-row:has(> .nf-gate-remove) > .nf-gate-remove,
[data-newgen-fence-quote] .nf-quote .nf-lines .nf-line-layout .nf-gate-row:has(> .nf-gate-remove) > .nf-gate-remove {
  position:static!important;grid-column:3!important;grid-row:1!important;
  width:44px!important;min-width:44px!important;max-width:44px!important;
  height:54px!important;margin:0!important;padding:0!important;justify-self:end!important;
}
@media(max-width:700px){
  #request-a-quote .nf-quote .nf-lines .nf-line-layout .nf-gate-row:has(> .nf-gate-remove),
  [data-newgen-fence-quote] .nf-quote .nf-lines .nf-line-layout .nf-gate-row:has(> .nf-gate-remove){grid-template-columns:minmax(0,1fr) minmax(65px,26%) 38px!important;gap:7px!important;}
  #request-a-quote .nf-quote .nf-lines .nf-line-layout .nf-gate-row:has(> .nf-gate-remove) > .nf-gate-remove,
  [data-newgen-fence-quote] .nf-quote .nf-lines .nf-line-layout .nf-gate-row:has(> .nf-gate-remove) > .nf-gate-remove{width:38px!important;min-width:38px!important;max-width:38px!important;}
}

/* V62: Match gate remove icon to the red outlined additional-post delete button.
   Restore the original four-column gate layout (type, post, quantity, delete).
   Overrides V61's erroneous three-column :has() rule. */
#request-a-quote .nf-quote .nf-gate-row:has(>button.nf-gate-remove),
[data-newgen-fence-quote] .nf-quote .nf-gate-row:has(>button.nf-gate-remove),
#request-a-quote .nf-quote .nf-lines .nf-line-layout .nf-gate-row:has(>button.nf-gate-remove),
[data-newgen-fence-quote] .nf-quote .nf-lines .nf-line-layout .nf-gate-row:has(>button.nf-gate-remove) {
  display:grid!important;
  grid-template-columns:minmax(0,40fr) minmax(0,38fr) 86px 44px!important;
  gap:10px!important;
  align-items:end!important;
}
#request-a-quote .nf-quote .nf-gate-row:has(>button.nf-gate-remove) > .nf-field:nth-child(1),
[data-newgen-fence-quote] .nf-quote .nf-gate-row:has(>button.nf-gate-remove) > .nf-field:nth-child(1) {grid-column:1!important;grid-row:1!important;}
#request-a-quote .nf-quote .nf-gate-row:has(>button.nf-gate-remove) > .nf-field:nth-child(2),
[data-newgen-fence-quote] .nf-quote .nf-gate-row:has(>button.nf-gate-remove) > .nf-field:nth-child(2) {grid-column:2!important;grid-row:1!important;}
#request-a-quote .nf-quote .nf-gate-row:has(>button.nf-gate-remove) > .nf-field:nth-child(3),
[data-newgen-fence-quote] .nf-quote .nf-gate-row:has(>button.nf-gate-remove) > .nf-field:nth-child(3) {grid-column:3!important;grid-row:1!important;}
#request-a-quote .nf-quote .nf-gate-row > button.nf-gate-remove,
[data-newgen-fence-quote] .nf-quote .nf-gate-row > button.nf-gate-remove,
#request-a-quote .nf-quote .nf-lines .nf-line-layout .nf-gate-row > button.nf-gate-remove,
[data-newgen-fence-quote] .nf-quote .nf-lines .nf-line-layout .nf-gate-row > button.nf-gate-remove {
  grid-column:4!important;grid-row:1!important;
  position:static!important;justify-self:end!important;align-self:end!important;
  width:44px!important;min-width:44px!important;max-width:44px!important;
  height:54px!important;margin:0!important;padding:0!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  color:#e3342f!important;background:#fff!important;
  border:1px solid #ffb3b3!important;border-radius:9px!important;
  box-shadow:none!important;
}
#request-a-quote .nf-quote .nf-gate-row > button.nf-gate-remove:hover,
[data-newgen-fence-quote] .nf-quote .nf-gate-row > button.nf-gate-remove:hover {
  color:#c91f1f!important;background:#fff1f1!important;border-color:#e3342f!important;
}
@media(max-width:680px){
  #request-a-quote .nf-quote .nf-gate-row:has(>button.nf-gate-remove),
  [data-newgen-fence-quote] .nf-quote .nf-gate-row:has(>button.nf-gate-remove),
  #request-a-quote .nf-quote .nf-lines .nf-line-layout .nf-gate-row:has(>button.nf-gate-remove),
  [data-newgen-fence-quote] .nf-quote .nf-lines .nf-line-layout .nf-gate-row:has(>button.nf-gate-remove) {
    grid-template-columns:minmax(0,1fr) minmax(0,1fr) 68px 38px!important;gap:6px!important;
  }
  #request-a-quote .nf-quote .nf-gate-row > button.nf-gate-remove,
  [data-newgen-fence-quote] .nf-quote .nf-gate-row > button.nf-gate-remove {width:38px!important;min-width:38px!important;max-width:38px!important;}
}
