/* ============================================================
   AddiPress Listings — category fields (form, specs, builder).
   ============================================================ */

/* --- Form fields (front) --- */
.apl-catfields { margin: 8px 0 4px; }
.apl-catfields__title { font-size: 15px; font-weight: 700; margin: 6px 0 12px; color: var(--apl-ink, #0f172a); }
.apl-catfields__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; }
.apl-catfields.is-loading { opacity: .5; pointer-events: none; }
.apl-field--cf .apl-cf-check { display: flex; align-items: center; gap: 8px; font-size: 14px; }

/* --- Specs table on single --- */
.apl-specs { margin: 24px 0; }
.apl-specs__title { font-size: 18px; font-weight: 800; letter-spacing: -.01em; margin: 0 0 12px; }
.apl-specs__table { width: 100%; border-collapse: collapse; border: 1px solid var(--apl-line, #e2e8f0); border-radius: 12px; overflow: hidden; }
.apl-specs__table th, .apl-specs__table td { padding: 11px 16px; text-align: left; font-size: 14px; border-bottom: 1px solid var(--apl-line, #e2e8f0); }
.apl-specs__table th { width: 40%; color: var(--apl-muted, #64748b); font-weight: 600; background: var(--apl-bg-2, #f8fafc); }
.apl-specs__table tr:last-child th, .apl-specs__table tr:last-child td { border-bottom: none; }

/* --- Field filters in the sidebar --- */
.apl-cf-filters { margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--apl-line, #e2e8f0); display: grid; gap: 14px; }

/* --- Builder (admin) --- */
.apl-builder__table td input[type="text"], .apl-builder__table td select { padding: 6px 8px; }
.apl-builder__row td { vertical-align: middle; }
