/* Wag & Clean — estimator price panel (r92, Sean-approved Option 3 layout).
   Two stacked blocks ("Your rate" / "Your first month") with aligned
   two-column rows, green discount rows, and a bold total row per block.
   The legacy metric boxes and first-month strip are superseded by the
   block totals and hidden here. Scoped to the summary container so the
   rules win over per-page stylesheets regardless of load order. */

#rLines .est-block {
  border: 1.5px solid #D8E2CB;
  border-radius: 12px;
  padding: 6px 14px 10px;
  margin: 0 0 12px;
  background: #fff;
}

#rLines .est-block-title {
  margin: 10px 0 4px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #62834C;
}

#rLines .summary-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
  padding: 7px 0;
  border-top: 0;
  border-bottom: 1px solid #EDF1E6;
  font-size: 15px;
  grid-template-columns: none;
}

#rLines .summary-row .k {
  color: #354D42;
  font-weight: 500;
  text-align: left;
}

#rLines .summary-row .v {
  color: #1B3A5E;
  font-weight: 700;
  text-align: right;
  white-space: nowrap;
}

#rLines .summary-row.save .k,
#rLines .summary-row.save .v {
  color: #2E7D32;
}

#rLines .est-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
  border-top: 2px solid #D8E2CB;
  margin-top: 5px;
  padding-top: 10px;
}

#rLines .est-total .k {
  font-weight: 800;
  color: #1B3A5E;
  font-size: 16px;
}

#rLines .est-total .v {
  font-weight: 900;
  color: #1B3A5E;
  font-size: 17px;
  white-space: nowrap;
  text-align: right;
}

/* Superseded by the block totals */
.price-preview { display: none; }
.first-month { display: none !important; }

/* The fine print now sits under the buttons: give it breathing room */
#rFine { margin-top: 12px; }

/* Receipt head: stack the doc-type, logo, site line, and thanks text
   (the per-page flex row interleaved the site line into the thanks text) */
#receiptInner .receipt-head{display:block;margin-bottom:12px}
#receiptInner .receipt-head .doc-type{display:block;margin:0 0 10px}
#receiptInner .receipt-head .logo{display:block;margin:0}
#receiptInner .receipt-head .site{display:block;margin:8px 0 6px}
#receiptInner .receipt-head .thanks{display:block;margin:0}

/* Receipt body: keep the text measure document-width on wide screens
   (matches the printed receipt instead of stretching edge to edge) */
#quoteConfirm #receiptInner{max-width:640px;margin-left:auto;margin-right:auto}
#quoteConfirm .receipt-actions{max-width:640px;margin-left:auto;margin-right:auto}

/* --- Info pop cards for add-ons & plans (r98) --- */
.addon-info-btn{flex:none;border:1.6px solid #62834C;color:#62834C;background:#fff;border-radius:999px;font-size:12.5px;font-weight:800;padding:6px 13px;cursor:pointer;line-height:1.25;font-family:inherit}
.addon-info-btn:hover,.addon-info-btn:focus-visible{background:#eef4e8}
.plan-info-btn{margin-top:7px}
.addon-row .addon-info-btn{margin-left:auto}
.addon-plan-wrap{position:relative}
.addon-plan-wrap .addon-info-btn{position:absolute;right:78px;top:50%;transform:translateY(-50%);margin:0;z-index:2}
.info-overlay{position:fixed;inset:0;background:rgba(27,58,94,.5);z-index:3000;display:flex;align-items:center;justify-content:center;padding:16px}
.info-overlay[hidden]{display:none}
.info-card{position:relative;background:#fff;border-radius:14px;max-width:430px;width:100%;max-height:calc(100vh - 48px);overflow:auto;padding:22px 22px 18px;box-shadow:0 18px 50px rgba(0,0,0,.3)}
.info-card h3{margin:0 36px 2px 0;color:#1B3A5E;font-size:19px;font-weight:800}
.info-card .info-price{color:#62834C;font-weight:900;font-size:14px;margin:0 0 10px}
.info-card .info-body{font-size:14.5px;line-height:1.5;color:#354D42;margin:0 0 10px}
.info-card ul{margin:0 0 14px;padding-left:19px;font-size:14.5px;line-height:1.55;color:#354D42}
.info-x{position:absolute;top:12px;right:12px;width:32px;height:32px;border-radius:50%;border:0;background:#eef1ee;color:#1B3A5E;font-size:15px;font-weight:900;cursor:pointer;line-height:1}
.info-add{display:block;width:100%;border:0;border-radius:999px;background:linear-gradient(135deg,#79c25f,#4c8f3a);color:#fff;font-size:15px;font-weight:900;padding:13px;cursor:pointer;font-family:inherit}
.info-close{display:block;margin:10px auto 0;background:none;border:0;color:#1B3A5E;font-weight:700;font-size:13.5px;text-decoration:underline;cursor:pointer;font-family:inherit}
@media(max-width:400px){.addon-info-btn{font-size:11.5px;padding:5px 10px}.addon-plan-wrap .addon-info-btn{right:64px}}

/* Pricing sheet rows with a Details button: name | Details | price.
   The sheet is a two-column grid at every width, so the button needs its
   own grid column on desktop and its own line under the name on mobile. */
.addon-row:has(> .addon-info-btn){grid-template-columns:1fr auto auto;align-items:center}
.addon-row:has(> .addon-info-btn) .addon-info-btn{margin:0}
@media(max-width:700px){
  .addon-row:has(> .addon-info-btn){grid-template-columns:1fr auto;grid-template-areas:'name price' 'btn price';align-items:start}
  .addon-row:has(> .addon-info-btn) .addon-name{grid-area:name}
  .addon-row:has(> .addon-info-btn) .addon-info-btn{grid-area:btn;justify-self:start;margin-top:5px}
  .addon-row:has(> .addon-info-btn) .addon-price{grid-area:price}
  .addon-plan-wrap .addon-info-btn{position:static;transform:none;display:inline-block;margin-top:6px}
}

/* Monthly-rate explainer note, directly under the rate block's total */
#rLines .est-block-note { margin-top: 8px; font-size: 13.5px; line-height: 1.45; color: #4C5F55; }

/* Trust lines above the estimator step-2 / step-3 action buttons */
.est-trust{font-size:13.5px;line-height:1.55;color:#33463B;font-weight:500;margin:14px 0 10px}

/* Mobile only: a touch more air between the two consent rows on the information step */
@media(max-width:700px){
  .est-step[data-est-step="3"] .step-consents + .step-consents{margin-top:7px}
}

/* Keep the phone number on one line in the estimator's call line */
.est-send-line a[href^="tel:"]{white-space:nowrap}

/* Desktop: keep add-on labels to two lines in the narrow fields column (Nov 5, 2026) */
@media (min-width:760px){
  .est-form label.checkrow:has(.amt){gap:5px}
  .est-form label.checkrow:has(.amt) .addon-info-btn{padding:6px 8px}
}

/* ===== Estimator redesign (Nov 2026): plan/yard tiles, intro proof lines,
   add-on column alignment, tightened spacing ===== */
.estimator-intro .est-proof{font-size:15.5px;font-weight:700;color:#354D42;text-align:center;margin:2px 0 4px}
.estimator-intro .est-stars{color:#E8A33D;letter-spacing:2px}
.estimator-dialog .est-fork{background:none!important;border:none!important;box-shadow:none!important;padding:0!important;margin:5px auto 2px!important;font-size:12px!important;line-height:1.45}
.estimator-dialog .est-fork a{white-space:normal}
.estimator-intro .eyebrow{margin-bottom:5px}
.estimator-intro #estimatorTitle{margin-bottom:5px}
.estimator-intro .lede{line-height:1.37!important}
@media (max-width:760px){.estimator-dialog #estimatorTitle{font-size:27px!important;line-height:1.18!important}}
.est-form .form-grid{gap:11px!important}
.estimator-dialog .est-stepper{margin-bottom:10px!important}
.estimator-dialog .est-step-title{margin-bottom:9px!important}
.estimator-dialog{padding-top:10px!important;padding-bottom:9px!important}
.est-form .hint{margin-top:2px;line-height:1.38}
.est-form .field{position:relative}
.est-form .field>label{margin-bottom:1px}
.est-native-select{position:absolute!important;opacity:0!important;pointer-events:none!important;width:1px!important;height:1px!important}
.mt-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:6px;width:100%}
.mt-grid-3{grid-template-columns:1fr 1fr 1fr}
.mt-tile{position:relative;display:block;width:100%;box-sizing:border-box;text-align:left;font:inherit;cursor:pointer;background:#fff;border:1.5px solid #d8e2d8;border-radius:13px;padding:8px 11px 7px;color:#354D42}
.mt-tile:focus-visible{outline:3px solid #62834C;outline-offset:2px}
.mt-tile .mt-ck{position:absolute;top:7px;right:7px;width:19px;height:19px;border-radius:50%;background:#62834C;color:#fff;font-size:11px;font-weight:900;display:none;align-items:center;justify-content:center;line-height:1}
.mt-tile.sel{border-color:#62834C;background:#f2f7ef;box-shadow:0 0 0 1px #62834C inset}
.mt-tile.sel .mt-ck{display:flex}
.mt-tile .mt-nm{display:block;font-size:14.5px;font-weight:800;color:#1B3A5E;padding-right:22px}
.mt-tile .mt-pr{display:block;font-size:21px;font-weight:900;color:#1B3A5E;margin-top:1px}
.mt-tile .mt-unit{font-size:12.5px;font-weight:800;color:#62834C}
.mt-tile .mt-mo{display:block;font-size:12.5px;font-weight:700;color:#5c6f63;margin-top:1px}
.mt-tile .mt-mo2{display:block;font-size:13px;font-weight:800;color:#5c6f63;margin-top:4px}
.mt-tile .mt-ds{display:block;font-size:11.5px;color:#5c6f63;margin-top:3px;line-height:1.3}
.mt-tile .mt-ds2{display:block;font-size:11.5px;color:#5c6f63;margin-top:2px;line-height:1.3}
.tiles-bad{outline:2px solid #c0392b;outline-offset:3px;border-radius:14px}
.est-form label.checkrow:has(.amt){display:flex;align-items:center;gap:8px}
.est-form label.checkrow:has(.amt) .amt{margin-left:auto;min-width:46px;text-align:right}
.est-form label.checkrow:has(.amt) .addon-info-btn{flex:0 0 auto;min-width:78px;text-align:center}
@media (min-width:761px){
  .est-form .field:has(#planTiles),.est-form .field:has(#yardTiles){grid-column:1/-1}
  .est-form .mt-grid{grid-template-columns:repeat(4,1fr)}
  .est-form .mt-grid-3{grid-template-columns:repeat(3,1fr)}
}

/* Desktop: Google stars line — slightly larger, left-aligned under the headline */
@media (min-width:761px){
  .estimator-intro .est-proof:has(.est-stars){text-align:left;font-size:17px}
  .estimator-intro .est-stars{font-size:18px}
}

/* Mobile: yard tiles — three truly equal columns (minmax(0,1fr) beats min-content drift) */
@media (max-width:760px){
  .est-form .mt-grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}
  .est-form .mt-grid-3 .mt-tile{min-width:0}
}

/* Desktop experiment (Sean, Nov 7): plan tiles 2x2 like the pricing page cards */
@media (min-width:761px){
  .est-form #planTiles{grid-template-columns:repeat(2,minmax(0,1fr))}
}

/* Mobile: stars line matches desktop (left-aligned under the headline, larger);
   commercial fork line back to readable size/ink so it can't be missed */
@media (max-width:760px){
  .estimator-intro .est-proof:has(.est-stars){text-align:left;font-size:17px!important}
  .estimator-intro .est-stars{font-size:18px!important}
}

/* Fine print under the price-step button: subordinate to body text (15px -> 13px) */
.estimator-dialog .est-fine{font-size:13px!important;line-height:1.5!important}

/* Estimator guarantee line under SEE MY PRICE + step-2 checklist (Nov 10, 2026) */
.est-guarantee{font-size:15.5px;font-weight:700;color:#354D42;text-align:center;margin:12px 0 4px}
.est-checks{list-style:none;margin:10px auto 2px;padding:0;display:inline-block;text-align:left}
.est-checks li{position:relative;padding-left:27px;margin:7px 0;font-size:14.5px;line-height:1.45;color:#33463B;font-weight:500}
.est-checks li::before{content:"\2713";position:absolute;left:3px;top:0;color:#62834C;font-weight:800}

/* Step-2 spacing tightening candidate (Nov 10, 2026) */
[data-est-step="2"] .est-trust{margin:8px 0 6px}
[data-est-step="2"] .est-checks{margin:6px auto 0}
[data-est-step="2"] .est-checks li{margin:5px 0}

/* Step-2 spacing tightening v2 (Nov 10, 2026) */
[data-est-step="2"] .est-actions{margin-top:4px}
[data-est-step="2"] .est-trust{margin:4px 0}
[data-est-step="2"] .est-checks{margin:2px auto 0}
[data-est-step="2"] .est-checks li{margin:3px 0}
[data-est-step="2"] .est-step-actions{margin-top:6px}
[data-est-step="2"] .est-fine{margin-top:8px}
[data-est-step="2"] .est-block{margin-bottom:6px;padding-bottom:6px}
