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

.awc-trigger-btn{
  --awc-red:#e8382d;
  --awc-red-dark:#c92a20;
  background:var(--awc-red);
  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:var(--awc-red-dark); 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;}
.awc-trigger-btn.awc-loading .awc-btn-label{opacity:.85;}
@keyframes awc-spin{ to { transform:rotate(360deg); } }

/* Overlay */
.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;
}

/* Modal card */
.awc-modal{
  width:100%;
  max-width:540px;
  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:92vh;
  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;
}

/* 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:#111;
  border-radius:6px;
  padding:6px 10px;
  display:flex;
  align-items:center;
  gap:6px;
}
.awc-logo .awc-dot{
  width:16px;height:16px;border-radius:50%;
  background:#e8382d;
  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:12px;
  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;}

/* Stepper */
.awc-stepper{
  display:flex;
  align-items:flex-start;
  justify-content:center;
  padding:6px 20px 18px 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;
}
.awc-step .awc-circle svg{width:15px;height:15px;}
.awc-step.awc-active .awc-circle{
  border-color:#e8382d;
  color:#e8382d;
}
.awc-step label{
  font-size:11px;
  color:#555;
  text-align:center;
  margin:0;
  font-weight:400;
}
.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;
}

/* Body */
.awc-body{
  padding:20px 22px 6px 22px;
}
.awc-body h2{
  font-size:16.5px;
  margin:0 0 14px 0;
  color:#2b2b2b;
  font-weight:700;
}

.awc-grid{
  display:grid;
  grid-template-columns:repeat(5, 1fr);
  gap:8px;
}
@media (max-width:420px){
  .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:#e8382d !important;
  box-shadow:0 0 0 1px #e8382d, 0 4px 14px rgba(232,56,45,.18) !important;
}
.awc-check-badge{
  position:absolute;
  top:-7px; left:-7px;
  width:18px;height:18px;
  border-radius:50%;
  background:#e8382d;
  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:11.5px; color:#3a3a3a; line-height:1.2; }

/* Follow-up questions */
.awc-followup{
  display:none;
  padding-top:6px;
  animation:awc-fade-in .25s ease;
}
.awc-followup.awc-show{ display:block; }
@keyframes awc-fade-in{ from{opacity:0; transform:translateY(-4px);} to{opacity:1; transform:translateY(0);} }

.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 #dcdcdc !important;
  background:#fff !important;
  color:#3a3a3a !important;
  padding:9px 16px;
  border-radius:5px;
  font-size:12.5px;
  cursor:pointer;
  transition:border-color .15s ease, color .15s ease, background .15s ease !important;
}
.awc-chip:hover{ border-color:#f2a091 !important; }
.awc-chip.awc-selected{
  border-color:#e8382d !important;
  color:#e8382d !important;
  background:#fdf1f0 !important;
  font-weight:600 !important;
}

/* Footer */
.awc-footer{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 22px 18px 22px;
  flex:none;
  gap:12px;
  flex-wrap:wrap;
}
.awc-call-link{
  display:flex;
  align-items:center;
  gap:8px;
  color:#e8382d;
  font-size:13px;
  font-weight:600;
  text-decoration:none;
  cursor:pointer;
}
.awc-call-link:hover{ color:#c92a20; }
.awc-call-link svg{width:14px;height:14px; flex:none;}
.awc-continue-btn{
  background:#f2a091;
  color:#fff;
  border:none;
  padding:11px 28px;
  border-radius:5px;
  font-size:14px;
  font-weight:700;
  cursor:pointer;
  transition:background .15s ease;
}
.awc-continue-btn:hover{background:#e8382d;}
.awc-continue-btn:disabled{opacity:.6; cursor:not-allowed;}
