/*
 * UAVP Equipment Catalog — neutral base styles.
 * Just enough layout for the catalog to be usable under any theme.
 * The UAVP child theme restyles all of this; another theme can dequeue
 * the "uavp-catalog" handle and start from scratch.
 */
.uavp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px; }
.uavp-card { display: flex; flex-direction: column; border: 1px solid rgba(127,127,127,.3); }
.uavp-card__media { display: block; aspect-ratio: 4 / 3; background: rgba(127,127,127,.12); overflow: hidden; }
.uavp-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.uavp-card__body { padding: 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.uavp-card__title { margin: 0; font-size: 17.6px; }
.uavp-card__spec, .uavp-card__price { margin: 0; }
.uavp-card .uavp-add { margin-top: auto; }
.uavp-add { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.uavp-add__qty input { width: 4.5em; }
.uavp-add__status { flex-basis: 100%; font-size: 14px; min-height: 1.25em; }
.uavp-cats { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.uavp-specs { width: 100%; border-collapse: collapse; }
.uavp-specs caption { text-align: left; font-weight: 700; padding: 8px 0; }
.uavp-specs th, .uavp-specs td { text-align: left; padding: 8px; border-top: 1px solid rgba(127,127,127,.3); }
.uavp-quote__table { width: 100%; border-collapse: collapse; }
.uavp-quote__table th, .uavp-quote__table td { padding: 9.6px 8px; border-bottom: 1px solid rgba(127,127,127,.3); text-align: left; vertical-align: middle; }
.uavp-quote__table .uavp-num { text-align: right; }
.uavp-qty-form { display: flex; gap: 8px; align-items: center; }
.uavp-qty-form input { width: 4.5em; }
.uavp-link-button { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; cursor: pointer; font: inherit; }
.uavp-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 24px; }
.uavp-field { display: flex; flex-direction: column; gap: 5.6px; }
.uavp-field--wide { grid-column: 1 / -1; }
.uavp-field input, .uavp-field select, .uavp-field textarea { width: 100%; box-sizing: border-box; }
.uavp-field fieldset { border: 0; margin: 0; padding: 0; }
.uavp-choice { display: block; margin: 4px 0; }
.uavp-field__error { color: #b00020; margin: 0; font-size: 14px; }
.uavp-notice { padding: 16px 20px; margin: 0 0 24px; border-left: 4px solid currentColor; }
.uavp-notice--error { color: #b00020; }
.uavp-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.uavp-submit { margin-top: 20px; }
.uavp-quote { display: grid; gap: 40px; }
.screen-reader-text { border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; word-wrap: normal !important; }
@media (max-width: 640px) {
	.uavp-form__grid { grid-template-columns: 1fr; }
	.uavp-quote__table thead { display: none; }
	.uavp-quote__table tr { display: grid; grid-template-columns: 1fr auto; padding: 12px 0; border-bottom: 1px solid rgba(127,127,127,.3); }
	.uavp-quote__table td { border: 0; padding: 4px 0; }
	.uavp-quote__table td:first-child { grid-column: 1 / -1; }
	.uavp-quote__table tfoot tr { display: flex; justify-content: space-between; }
}
