/* ==========================================================
   DT PROPERTY IMPROVEMENTS
   Photos on the quote request form
   ========================================================== */
.ep-drop {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  min-height: 6.5rem;
  padding: 1rem;
  text-align: center;
  cursor: pointer;
  border: 1px dashed rgba(127, 127, 127, 0.55);
  border: 1px dashed color-mix(in srgb, currentColor 35%, transparent);
  transition: border-color 0.25s, background-color 0.25s;
}
.ep-drop:hover,
.ep-drop:focus-within {
  border-color: #d3131b;
  background: rgba(211, 19, 27, 0.04);
}
.ep-drop-title {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.ep-drop small {
  font-size: 0.82rem;
  opacity: 0.65;
  text-transform: none;
  letter-spacing: 0;
}
.ep-drop input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.ep-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(78px, 1fr));
  gap: 0.5rem;
  margin-top: 0.6rem;
}
.ep-thumbs:empty { display: none; }
.ep-thumb {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: rgba(127, 127, 127, 0.15);
}
.ep-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ep-thumb button {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 26px;
  height: 26px;
  padding: 0;
  color: #fff;
  font-size: 0.75rem;
  line-height: 1;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
}
.ep-thumb button:hover {
  background: #d3131b;
  border-color: #d3131b;
}
