/* Seletor de modelos de casa no simulador de tintas */
.cp-modelos-wrap { margin: 10px 0 0; }

.cp-btn-modelos {
  width: 100%;
  border: 1px dashed #2f6f5e;
  background: #f2faf7;
  color: #1f5f4f;
  border-radius: 12px;
  padding: 10px 14px;
  font-weight: 700;
  font-size: 13.5px;
  line-height: 1.2;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background .18s, border-color .18s, transform .18s;
}
.cp-btn-modelos:hover { background: #e6f6ef; border-color: #1f5f4f; transform: translateY(-1px); }
.cp-btn-modelos[aria-expanded="true"] { background: #e6f6ef; border-style: solid; }

.cp-modelos-row { margin-top: 10px; }
.cp-modelos-hint { margin: 0 0 8px; font-size: 12.5px; color: #4b5563; }

.cp-modelos-thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.cp-modelo-thumb {
  padding: 0;
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: border-color .15s, transform .15s, box-shadow .15s;
}
.cp-modelo-thumb img { width: 100%; height: 64px; object-fit: cover; display: block; }
.cp-modelo-thumb span {
  font-size: 10px;
  line-height: 1.15;
  padding: 4px 2px;
  color: #374151;
  text-align: center;
  font-weight: 600;
}
.cp-modelo-thumb:hover { border-color: #2f6f5e; transform: translateY(-1px); }
.cp-modelo-thumb.active { border-color: #1f5f4f; box-shadow: 0 0 0 3px rgba(47,111,94,.18); }
.cp-modelo-thumb.carregando { opacity: .55; pointer-events: none; }
.cp-modelo-thumb:focus-visible { outline: 2px solid #1f5f4f; outline-offset: 2px; }

@media (max-width: 560px) {
  .cp-modelos-thumbs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cp-modelo-thumb img { height: 78px; }
}
