/* Air and Water Care — Service Popup
   All selectors prefixed with .awc- to avoid clashing with theme CSS. */

.awc-trigger-btn{
  background:#e8382d;
  color:#fff;
  border:none;
  padding:14px 34px;
  border-radius:5px;
  font-size:15px;
  font-weight:700;
  font-family:'Segoe UI', Roboto, Arial, sans-serif;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  min-width:190px;
  line-height:1.2;
  transition:background .15s ease, opacity .15s ease;
}
.awc-trigger-btn:hover{background:#c92a20; color:#fff;}
.awc-trigger-btn:disabled{cursor:not-allowed; opacity:.85;}

.awc-spinner{
  width:16px;height:16px;
  border-radius:50%;
  border:2px solid rgba(255,255,255,.4);
  border-top-color:#fff;
  animation:awc-spin .7s linear infinite;
  display:none;
  flex:none;
}
.awc-trigger-btn.awc-loading .awc-spinner{display:inline-block;}
@keyframes awc-spin{ to { transform:rotate(360deg); } }

/* ---------- Overlay + modal ---------- */
.awc-overlay{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.45);
  display:none;
  align-items:center;
  justify-content:center;
  padding:24px;
  z-index:100000;
  opacity:0;
  transition:opacity .18s ease;
  box-sizing:border-box;
}
.awc-overlay *{ box-sizing:border-box; }
.awc-overlay.awc-show{ display:flex; opacity:1; }

.awc-modal{
  width:100%;
  max-width:860px;
  background:#fff;
  border-radius:6px;
  box-shadow:0 10px 40px rgba(0,0,0,.25);
  overflow:hidden;
  font-family:'Segoe UI', Roboto, Arial, sans-serif;
  max-height:102vh;
  display:flex;
  flex-direction:column;
  transform:translateY(10px) scale(.98);
  opacity:0;
  transition:transform .2s ease, opacity .2s ease;
}
.awc-overlay.awc-show .awc-modal{ transform:translateY(0) scale(1); opacity:1; }

.awc-modal-scroll{ overflow-y:auto; flex:1; }

/* ---------- Header ---------- */
.awc-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:16px 20px 12px 20px;
  flex:none;
}
.awc-brand{ display:flex; align-items:center; gap:12px; }
.awc-logo{
  background:#fff;
  border-radius:6px;
  padding:6px 10px;
  display:flex;
  align-items:center;
  gap:6px;
}
.awc-logo .awc-dot{
  width:20px;height:35px;border-radius:50%;
  background:#ffffff;
  display:flex;align-items:center;justify-content:center;
}
.awc-logo .awc-dot svg{width:10px;height:10px;}
.awc-logo span{
  color:#fff; font-weight:800; font-size:13px;
  letter-spacing:.2px; white-space:nowrap;
}
.awc-brand-text{line-height:1.2;}
.awc-brand-text .awc-b1{font-size:20px; font-weight:700; letter-spacing:1px; color:#2b2b2b;}
.awc-brand-text .awc-b2{font-size:11px; font-weight:700; letter-spacing:.5px; color:#e8382d;}
.awc-close-btn{
  background:none; border:none; font-size:20px; line-height:1;
  color:#333; cursor:pointer; padding:4px;
}
.awc-close-btn:hover{color:#e8382d !important;}

/* ---------- Stepper ---------- */
.awc-stepper{
  display:flex;
  align-items:flex-start;
  justify-content:center;
  padding:6px 20px 16px 20px;
  flex:none;
}
.awc-step{
  display:flex; flex-direction:column; align-items:center;
  gap:6px; width:74px;
}
.awc-step .awc-circle{
  width:34px;height:34px;
  border-radius:50%;
  border:1.5px solid #8a8a8a;
  display:flex;align-items:center;justify-content:center;
  color:#8a8a8a;
  transition:border-color .15s ease, color .15s ease, background .15s ease;
}
.awc-step .awc-circle svg{width:25px;height:25px;}
.awc-step.awc-active .awc-circle{ border-color:#F68F31; color:#F68F31; }
.awc-step.awc-done .awc-circle{ border-color:#F68F31; background:#F68F31; color:#fff; cursor:pointer; }
.awc-step.awc-done{ cursor:pointer; }
.awc-step label{ font-size:14px; color:#555; text-align:center; margin:0; font-weight:500; }
.awc-step.awc-active label{color:#2b2b2b; font-weight:600;}
.awc-connector{ height:1.5px; background:#e3e3e3; flex:1; margin-top:17px; max-width:30px; }

.awc-divider{ border:none; border-top:1px solid #e3e3e3; margin:0; flex:none; }

/* ---------- Selected service card (under header) ---------- */
.awc-summary{ padding:0 20px 14px 20px; flex:none; }
.awc-summary[hidden]{ display:none; }
.awc-summary-card{
  display:flex;
  align-items:center;
  gap:12px;
  border:1px solid #F68F31;
  border-left:4px solid #00FF00 ;
  background:#fdf5f4;
  border-radius:5px;
  padding:10px 12px;
}
.awc-summary-icon{
  width:40px;height:40px;
  border-radius:50%;
  background:#fff;
  display:flex;align-items:center;justify-content:center;
  flex:none;
  border:1px solid #f0d5d2;
}
.awc-summary-icon svg{ width:22px; height:22px; }
.awc-summary-text{ flex:1; min-width:0; }
.awc-summary-name{ font-size:13.5px; font-weight:700; color:#2b2b2b; }
.awc-summary-meta{ font-size:11.5px; color:#7a7a7a; margin-top:2px; line-height:1.35; }
.awc-summary-edit{
  background:none; border:1px solid #184177 !important;
  color:#184177!important; font-size:11.5px; font-weight:600;
  padding:6px 12px; border-radius:4px; cursor:pointer;
  flex:none;
}
.awc-summary-edit:hover{ background:#F68F31 !important; border:#F68F31 !important; color:#fff !important; }

/* ---------- Panels ---------- */
.awc-panel{ display:none; }
.awc-panel.awc-active{ display:block; animation:awc-fade-in .22s ease; }
@keyframes awc-fade-in{ from{opacity:0; transform:translateY(-4px);} to{opacity:1; transform:translateY(0);} }

.awc-body{ padding:20px 22px 14px 22px; }
.awc-body h2{ font-size:16.5px; margin:0 0 6px 0; color:#2b2b2b; font-weight:700; }
.awc-help{ font-size:12.5px; color:#777; margin:0 0 16px 0; line-height:1.45; }
.awc-body h2 + .awc-grid{ margin-top:12px; }

/* ---------- Service grid ---------- */
.awc-grid{
  display:grid;
  grid-template-columns:repeat(5, 1fr);
  gap:8px;
}
@media (max-width:440px){
  .awc-grid{grid-template-columns:repeat(3, 1fr);}
}

.awc-card{
  position:relative;
  border:1px solid #dcdcdc;
  border-radius:4px;
  padding:12px 4px 8px 4px;
  text-align:center;
  cursor:pointer;
  background:#fff;
  transition:box-shadow .15s ease, border-color .15s ease, transform .1s ease;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:flex-start;
  gap:6px;
  min-height:104px;
}
.awc-card:hover{ border-color:#f2a091; transform:translateY(-1px); }
.awc-card.awc-selected{
  border-color:#f69543;
  box-shadow:0 0 0 1px #f69543, 0 4px 14px rgba(232,56,45,.18);
}
.awc-check-badge{
  position:absolute;
  top:-7px; left:-7px;
  width:18px;height:18px;
  border-radius:50%;
  background:#3CB371;
  display:none;
  align-items:center;
  justify-content:center;
}
.awc-check-badge svg{ width:10px; height:10px; }
.awc-card.awc-selected .awc-check-badge{ display:flex; }

.awc-icon-wrap{
  width:50px;height:50px;
  border-radius:50%;
  background:#f2f2f2;
  display:flex;align-items:center;justify-content:center;
  flex:none;
}
.awc-card svg.awc-service-icon{width:26px;height:26px;}
.awc-card span{ font-size:14px; color:#3a3a3a; line-height:1.2; }

/* ---------- Follow-up question blocks ---------- */
.awc-followup{
  display:none;
  padding-top:6px;
  animation:awc-fade-in .25s ease;
}
.awc-followup.awc-show{ display:block; }

.awc-q-block{ margin:18px 0; }
.awc-q-block h3{
  font-size:14px;
  margin:0 0 10px 0;
  color:#2b2b2b;
  font-weight:700;
}
.awc-chip-row{ display:flex; flex-wrap:wrap; gap:8px; }
.awc-chip{
  border:1px solid #184177 !important;
  background:#fff !important;
  color:#184177 !important;
  padding:9px 16px;
  border-radius:5px;
  font-size:12.5px;
  cursor:pointer;
  font-family:inherit;
  transition:border-color .15s ease, color .15s ease, background .15s ease;
}
.awc-chip:hover{ border-color:#F68F31 !important; color:#FFFFFF !important; background:#F68F31 !important; }
.awc-chip.awc-selected{
  border-color:#F68F31 !important;
  color:#ffffff!important;
  background:#F68F31 !important;
  font-weight:600;
}

/* ---------- Form fields ---------- */
.awc-field-label{
  display:block;
  font-size:14px;
  font-weight:600;
  color:#3a3a3a;
  margin:14px 0 6px 0;
}
.awc-input,
.awc-textarea{
  width:100%;
  border:1px solid #dcdcdc;
  border-radius:5px;
  padding:11px 12px;
  font-size:13.5px;
  font-family:inherit;
  color:#2b2b2b;
  background:#fff;
  transition:border-color .15s ease, box-shadow .15s ease;
  resize:vertical;
}
.awc-input:focus,
.awc-textarea:focus{
  outline:none;
  border-color:#e8382d;
  box-shadow:0 0 0 3px rgba(232,56,45,.12);
}
.awc-field-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}
@media (max-width:440px){
  .awc-field-grid{ grid-template-columns:1fr; gap:0; }
}

.awc-verify-btn{
  margin-top:14px;
  background:#ffffff !important;
  border:1px solid #184177 !important;
  color:#184177 !important;
  font-size:13px;
  font-weight:700;
  font-family:inherit;
  padding:10px 22px;
  border-radius:5px;
  cursor:pointer;
  transition:background .15s ease, color .15s ease;
}
.awc-verify-btn:hover{ background:#F68F31 !important; color:#ffffff !important; border-color:#F68F31 !important; }

/* ---------- Messages ---------- */
.awc-zip-msg,
.awc-error-msg{
  display:none;
  font-size:12.5px;
  margin-top:8px;
  padding:9px 12px;
  border-radius:4px;
  line-height:1.4;
  background:#fdecea;
  color:#c92a20;
  border:1px solid #f5c6c2;
}
.awc-zip-msg.awc-visible,
.awc-error-msg.awc-visible{ display:block; }
.awc-zip-msg.awc-ok,
.awc-error-msg.awc-ok{
  background:#eef8f0;
  color:#237a3a;
  border-color:#c3e6ca;
}

/* ---------- Done screen ---------- */
.awc-done{ text-align:center;  }
.awc-done-check{
  width:54px;height:54px;
  border-radius:50%;
  background:#00FF00;
  display:flex;align-items:center;justify-content:center;
  margin:0 auto 16px auto;
}
.awc-done-check svg{ width:26px; height:26px; }
.awc-done h2{ margin-bottom:8px; }
.awc-email-note{
  display:none;
  margin:16px auto 0 auto;
  max-width:420px;
  font-size:12.5px;
  line-height:1.45;
  padding:10px 14px;
  border-radius:4px;
  background:#eef8f0;
  color:#237a3a;
  border:1px solid #c3e6ca;
}
.awc-email-note.awc-visible{ display:block; }
.awc-email-note.awc-warn{
  background:#fff8e6;
  color:#F68F31;
  border-color:#F68F31;
}

.awc-done-close{
  margin-top:22px;
  background:#e8382d;
  color:#184177 !important;
  border: 1px solid #184177 !important;
  padding:11px 34px;
  border-radius:5px;
  font-size:14px;
  font-weight:700;
  font-family:inherit;
  cursor:pointer;
  transition:background .15s ease;
}
.awc-done-close:hover{ background:#F68F31 !important; color:#ffffff !important; border: 1px solid #F68F31 !important;  }

.awc-recap{
  margin-top:20px;
  text-align:left;
  border:1px solid #e3e3e3;
  border-radius:5px;
  overflow:hidden;
}
.awc-recap-row{
  display:flex;
  justify-content:space-between;
  gap:16px;
  padding:9px 13px;
  font-size:14px !important;
  border-bottom:1px solid #f0f0f0;
}
.awc-recap-row:last-child{ border-bottom:none; }
.awc-recap-row span{ color:#888; }
.awc-recap-row strong{ color:#2b2b2b; font-weight:600; text-align:right; }

/* ---------- Footer ---------- */
.awc-footer{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 22px 18px 22px;
  flex:none;
  gap:10px;
  flex-wrap:wrap;
}
.awc-back-btn{
  background:#FFFFFF !important;
  border:none;
  color:#184177 !important;
  border-color:#184177 !important;
  font-size:13px;
  font-weight:600;
  font-family:inherit;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  gap:4px;
  padding:6px 4px;
}
.awc-back-btn:hover{ color:#F68F31 !important; border-color:#F68F31 !important; }
.awc-back-btn svg{ width:14px; height:14px; }
.awc-back-btn[hidden]{ display:none; }

.awc-call-link{
  display:flex; align-items:center; gap:8px;
  color:#F68F31; font-size:13px; font-weight:600;
  text-decoration:none; cursor:pointer;
  margin-right:auto;
}
.awc-call-link:hover{ color:#F68F31 !important; }
.awc-call-link svg{width:14px;height:14px; flex:none;}
@media (max-width:440px){
  .awc-call-link span{ display:none; }
}

.awc-continue-btn{
  background:#F68F31 !important;
  color:#fff !important;
  border-color:#F68F31 !important;
  border:none;
  padding:11px 28px;
  border-radius:5px;
  font-size:14px;
  font-weight:700;
  font-family:inherit;
  cursor:pointer;
  transition:background .15s ease;
}
.awc-continue-btn:hover{border:#184177 1px solid !important; background:#FFFFFF !important; color:#184177 !important;}
.awc-continue-btn:disabled{opacity:.6; cursor:not-allowed;}
.awc-continue-btn[hidden]{ display:none; }
