/* ============================================================
   COSMESS EDIFICA · Tu auto usado (formulario y panel)
   ============================================================ */
.campo select.selector { max-width: none; }
.campo textarea { font-weight: 400; }
.aviso-ficha { margin: 0 0 24px; padding: 12px 16px; border-left: 4px solid var(--verde); background: var(--gris-fondo); font-size: 15px; }
.auto-sino { display: flex; flex-wrap: wrap; gap: 0 40px; }
.auto-sugeridas { margin: 0 0 14px; line-height: 1.6; }

/* Fotos */
.subir-fotos.elegido .subir-archivo-caja { border-style: solid; border-color: var(--verde); }
.subir-fotos input:disabled + .subir-archivo-caja { opacity: .55; cursor: not-allowed; }
.fotos-auto { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; }
.fotos-auto li { position: relative; aspect-ratio: 4 / 3; border: 1px solid var(--gris-borde); border-radius: 4px; overflow: hidden; background: var(--gris-fondo); }
.fotos-auto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.foto-sin-vista { display: flex; align-items: center; justify-content: center; height: 100%; padding: 8px; font-size: 12px; text-align: center; overflow-wrap: anywhere; color: var(--gris-texto); }
.foto-quitar { position: absolute; top: 6px; right: 6px; width: 32px; height: 32px; border: 0; border-radius: 50%; background: rgba(20,20,20,.75); color: #fff; font-size: 14px; cursor: pointer; }
.foto-quitar:hover { background: var(--rojo); }

/* Panel */
.panel-fotos { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; margin: 4px 0 16px; }
.panel-fotos a { display: block; aspect-ratio: 4 / 3; border: 1px solid var(--gris-borde); overflow: hidden; background: var(--gris-fondo); }
.panel-fotos img { width: 100%; height: 100%; object-fit: cover; display: block; }
.panel-fotos .foto-heic { display: flex; align-items: center; justify-content: center; height: 100%; font-size: 13px; font-weight: 700; color: var(--negro); text-decoration: underline; }
.auto-titulo { font-family: var(--fuente-titulos); font-size: 18px; font-weight: 700; margin: 4px 0 0; }
@media (max-width: 720px) { .auto-sino { flex-direction: column; } }
