/* ARTERNATIVAS Exposiciones · panel del artista y lista pública (móvil primero) */
.aex { --am: #fcb800; --az: #2c5f8a; --tx: #1d1d1f; --gr: #6b6b70; --bd: #e6e3dc; --r: 14px; font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; color: var(--tx); max-width: 1080px; margin: 0 auto; font-size: 16px; line-height: 1.5; }
.aex *, .aex *::before, .aex *::after { box-sizing: border-box; }
.aex-top { display: flex; align-items: baseline; gap: 10px; padding: 14px 16px; border-bottom: 3px solid var(--am); }
.aex-marca { font-weight: 800; letter-spacing: .08em; color: var(--az); }
.aex-sub { color: var(--gr); font-size: 14px; }
.aex-main { padding: 18px 16px 28px; }
.aex-pie { text-align: center; color: var(--gr); font-size: 13px; padding: 14px; border-top: 1px solid var(--bd); }
.aex-h1 { font: 700 clamp(26px, 6vw, 36px)/1.15 'Playfair Display', Georgia, serif; margin: 6px 0 10px; }
.aex-h2 { font: 700 22px/1.2 'Playfair Display', Georgia, serif; margin: 26px 0 10px; }
.aex-lead { font-size: 17px; color: #333; margin: 0 0 12px; max-width: 760px; }
.aex-nota { color: var(--gr); font-size: 14px; margin: 6px 0 12px; }
.aex-libre { color: #1f7a3a; font-weight: 600; }
.aex-ocupada { color: #a33; font-weight: 600; }
.aex-link { background: none; border: 0; padding: 0; color: var(--az); text-decoration: underline; font: inherit; cursor: pointer; }
.aex-err { background: #fdecec; border: 1px solid #f3b9b9; color: #8a1f1f; border-radius: 10px; padding: 12px 14px; }
.aex-ok { background: #eaf6ee; border: 1px solid #b7e0c3; color: #1f6a35; border-radius: 10px; padding: 12px 14px; }
.aex-volver { display: inline-block; color: var(--az); text-decoration: none; font-weight: 600; margin-bottom: 4px; }

.aex-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--bd); background: #fff; color: var(--tx) !important; font-weight: 600; font-size: 15px; text-decoration: none !important; cursor: pointer; line-height: 1.1; }
.aex-pri { background: var(--am); border-color: var(--am); }
.aex-sec:hover { border-color: var(--az); }
.aex-btn:disabled { opacity: .45; cursor: not-allowed; }
.aex-btn:focus-visible, .aex-obra:focus-visible, .aex-sala:focus-within { outline: 3px solid var(--az); outline-offset: 2px; }

/* tarjetas */
.aex-lista { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; margin-top: 16px; }
.aex-card { border: 1px solid var(--bd); border-radius: var(--r); overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.aex-card img, .aex-sin { width: 100%; aspect-ratio: 16/10; object-fit: cover; background: #f4f1e8; display: block; }
.aex-card-t { padding: 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.aex-card h2 { font-size: 19px; margin: 0; line-height: 1.25; }
.aex-card p { margin: 0; color: var(--gr); font-size: 14px; }
.aex-acc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 8px; }
.aex-acc .aex-btn { min-height: 40px; padding: 0 14px; font-size: 14px; }
.aex-chip { align-self: flex-start; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: #f1efe9; }
.aex-abierta { background: #e3f4e8; color: #1f6a35; }
.aex-programada { background: #e5eef7; color: var(--az); }
.aex-pendiente { background: #fff3cc; color: #7a5a00; }
.aex-cerrada, .aex-cancelada { background: #eee; color: #666; }

/* formulario */
.aex-paso { border: 1px solid var(--bd); border-radius: var(--r); padding: 16px; margin: 14px 0; background: #fff; }
.aex-paso h2 { display: flex; align-items: center; gap: 10px; font-size: 19px; margin: 0 0 12px; }
.aex-paso h2 > span { width: 30px; height: 30px; border-radius: 50%; background: var(--am); display: inline-flex; align-items: center; justify-content: center; font-size: 15px; flex: none; }
.aex-paso h2 small { font-weight: 500; color: var(--gr); font-size: 14px; }
.aex-f { display: block; font-weight: 600; margin-bottom: 12px; }
.aex-f small { font-weight: 400; color: var(--gr); }
.aex-f input, .aex-f textarea, .aex-f select { display: block; width: 100%; margin-top: 6px; padding: 12px 14px; border: 1px solid #cfcac0; border-radius: 10px; font: inherit; font-weight: 400; background: #fff; color: var(--tx); min-height: 48px; }
.aex-fila { display: grid; grid-template-columns: 1fr; gap: 0 14px; }
@media (min-width: 560px) { .aex-fila { grid-template-columns: 1fr 1fr; } }

.aex-salas { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.aex-sala { position: relative; display: flex; flex-direction: column; gap: 2px; border: 2px solid var(--bd); border-radius: 12px; padding: 8px; cursor: pointer; }
.aex-sala input { position: absolute; opacity: 0; }
.aex-sala.on { border-color: var(--am); box-shadow: 0 0 0 3px rgba(252,184,0,.25); }
.aex-maq { height: 56px; border-radius: 8px; background: linear-gradient(to bottom, var(--p) 0 62%, var(--s) 62% 100%); border: 1px solid rgba(0,0,0,.08); margin-bottom: 4px; }
.aex-sala b { font-size: 14px; }
.aex-sala small { color: var(--gr); font-size: 12px; line-height: 1.3; }
.aex-bloq .aex-sala:not(.on) { opacity: .45; cursor: not-allowed; }

.aex-obras { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 10px; }
.aex-obra { position: relative; border: 2px solid var(--bd); border-radius: 12px; padding: 4px; background: #fff; cursor: pointer; text-align: left; font: inherit; color: var(--tx); }
.aex-obra img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; display: block; height: auto; }
.aex-obra small { display: block; font-size: 12px; line-height: 1.25; padding: 4px 2px 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.aex-obra.on { border-color: var(--am); }
.aex-obra.lleno { opacity: .45; }
.aex-num { position: absolute; top: 8px; left: 8px; min-width: 26px; height: 26px; border-radius: 13px; background: var(--am); font-weight: 800; font-size: 13px; display: none; align-items: center; justify-content: center; padding: 0 6px; }
.aex-obra.on .aex-num { display: inline-flex; }

.aex-precio { border-radius: 10px; background: #faf8f3; padding: 6px 14px; }
.aex-pf { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px dashed var(--bd); font-size: 15px; }
.aex-pf:last-child { border-bottom: 0; }
.aex-total { font-size: 18px; }
.aex-total b { color: var(--az); }
.aex-botones { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0 4px; }
@media (max-width: 480px) { .aex-botones .aex-btn { flex: 1 1 100%; } }
