
/* FINAL: Select The Type Of Roof cards use only the image. No yellow block, no yellow label/line. */
#stepRoofType .roof-type-grid,
.roof-type-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 22px !important;
  align-items: stretch !important;
}

#stepRoofType .roof-type-card,
.roof-type-card {
  background: transparent !important;
  border: 0 !important;
  border-radius: 18px !important;
  overflow: hidden !important;
  padding: 0 !important;
  box-shadow: 0 10px 24px rgba(5,31,61,.12) !important;
  position: relative !important;
}

#stepRoofType .roof-type-card::before,
#stepRoofType .roof-type-card::after,
.roof-type-card::before,
.roof-type-card::after {
  display: none !important;
  content: none !important;
}

#stepRoofType .roof-type-card img,
.roof-type-card img {
  width: 100% !important;
  height: 220px !important;
  object-fit: cover !important;
  object-position: center center !important;
  display: block !important;
  border: 0 !important;
  border-radius: 18px !important;
  margin: 0 !important;
}

#stepRoofType .roof-type-label,
#stepRoofType .roof-type-card span,
#stepRoofType .roof-type-card p,
.roof-type-label {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  min-height: 0 !important;
  max-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  background: transparent !important;
  line-height: 0 !important;
  overflow: hidden !important;
}

#stepRoofType .roof-type-card.selected,
.roof-type-card.selected {
  outline: 4px solid #051f3d !important;
  border: 0 !important;
  box-shadow: 0 12px 30px rgba(5,31,61,.25) !important;
}

@media (max-width: 900px) {
  #stepRoofType .roof-type-grid,
  .roof-type-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  #stepRoofType .roof-type-card img,
  .roof-type-card img {
    height: 185px !important;
  }
}

@media (max-width: 560px) {
  #stepRoofType .roof-type-grid,
  .roof-type-grid {
    grid-template-columns: 1fr !important;
  }
  #stepRoofType .roof-type-card img,
  .roof-type-card img {
    height: 210px !important;
  }
}

/* Hide address suggestion dropdowns on the instant quote page */
.pac-container,
.address-suggestions,
.autocomplete-suggestions,
.suggestions,
.datalist-suggestions,
datalist,
[class*="suggestion"],
[id*="suggestion"] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
