/* ANB Motorcycles — catalog-mode UI (price on request, CTAs) + Brands page. Loaded on bike pages and pages with [anb_brands]. */
.anb-moto-por { font-weight: 600; }
.anb-moto-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0; }
.anb-moto-ctas .btn { flex: 1 1 calc(50% - 10px); min-width: 160px; text-align: center; }
.anb-moto-cta--whatsapp { background-color: #25d366; border-color: #25d366; color: #fff; }
.anb-moto-cta--whatsapp:hover { background-color: #1ebe5b; color: #fff; }
.anb-moto-enquiry { margin: 40px 0; scroll-margin-top: 120px; }

/* Enquiry form (CF7) */
.anb-moto-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; }
.anb-moto-form__grid label { display: block; font-weight: 600; }
.anb-moto-form__grid .wpcf7-form-control-wrap { display: block; margin-top: 6px; font-weight: 400; }
.anb-moto-form__full { grid-column: 1 / -1; }
/* CF7 auto-wraps each label in <p>: make the <p> the grid item. */
.anb-moto-form__grid > p { margin: 0; }
.anb-moto-form__grid > p:has(.anb-moto-form__full) { grid-column: 1 / -1; }
/* CF7's hidden-inputs fieldset picks up Woodmart's fieldset border. */
.anb-moto-enquiry fieldset.hidden-fields-container { display: none; }
.anb-moto-form__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 767px) { .anb-moto-form__grid { grid-template-columns: 1fr; } }
.anb-moto-condition { display: block; margin-top: 4px; font-size: .9em; font-weight: 600; color: #1f5f3a; }

/* Brands page ([anb_brands], /brands/) */
.anb-brands { --anb-b-line: rgba(0,0,0,.08); --anb-b-accent: var(--wd-primary-color, #ff6600); }
.anb-brands__title { margin-bottom: 8px; }
.anb-brands__lead { max-width: 720px; margin-bottom: 28px; color: #777; }
.anb-brands__featured { margin-bottom: 64px; }
.anb-brands__cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.anb-brands__card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--anb-b-line); box-shadow: 0 6px 20px rgba(0,0,0,.05); transition: transform .2s ease, box-shadow .2s ease; }
.anb-brands__card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(0,0,0,.10); }
.anb-brands__card-logo { display: flex; align-items: center; justify-content: center; height: 190px; background: #f4f4f4; overflow: hidden; }
.anb-brands__card-logo img { width: 142px; height: auto; transition: transform .25s ease; } /* logo tiles are 142x128: shown 1:1, crisp */
.anb-brands__card:hover .anb-brands__card-logo img { transform: scale(1.06); }
.anb-brands__card-body { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 20px; }
.anb-brands__card-name { margin: 0 0 4px; font-size: 20px; }
.anb-brands__card-tag { margin: 0 0 6px; color: #777; font-size: 14px; }
.anb-brands__card-count { margin: 0 0 14px; font-size: 13px; font-weight: 600; color: var(--anb-b-accent); text-transform: uppercase; letter-spacing: .04em; }
.anb-brands__card-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.anb-brands__btn { flex: 1 1 auto; display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 8px 14px; border: 2px solid var(--anb-b-accent); color: var(--anb-b-accent); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .03em; transition: background-color .2s ease, color .2s ease; }
.anb-brands__btn:hover, .anb-brands__btn:focus-visible { background: var(--anb-b-accent); color: #fff; }
.anb-brands__btn--primary { background: var(--anb-b-accent); color: #fff; }
.anb-brands__btn--primary:hover, .anb-brands__btn--primary:focus-visible { background: #222; border-color: #222; color: #fff; }

.anb-brands__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.anb-brands__head .anb-brands__title { margin: 0; }
.anb-brands__total { display: inline-block; min-width: 28px; margin-left: 6px; padding: 2px 8px; border-radius: 14px; background: var(--anb-b-accent); color: #fff; font-size: 13px; vertical-align: middle; text-align: center; }
.anb-brands__search input { width: 280px; max-width: 100%; }
.anb-brands__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.anb-brands__item { margin: 0; }
.anb-brands__item[hidden] { display: none; }
.anb-brands__item a { display: flex; flex-direction: column; height: 100%; padding: 14px; border: 1px solid var(--anb-b-line); background: #fff; text-align: center; color: inherit; transition: border-color .2s ease, box-shadow .2s ease; }
.anb-brands__item a:hover, .anb-brands__item a:focus-visible { border-color: var(--anb-b-accent); box-shadow: 0 8px 22px rgba(0,0,0,.08); }
.anb-brands__tile { display: flex; align-items: center; justify-content: center; height: 96px; margin-bottom: 12px; }
.anb-brands__tile img { max-width: 100%; max-height: 96px; width: auto; height: auto; object-fit: contain; }
.anb-brands__wordmark { font-size: 20px; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; color: #333; }
.anb-brands__name { font-weight: 600; }
.anb-brands__count { margin-top: 2px; font-size: 12px; color: #999; }
.anb-brands__empty { margin-top: 20px; color: #777; }
@media (max-width: 1024px) { .anb-brands__cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) {
	.anb-brands__cards { grid-template-columns: 1fr; }
	.anb-brands__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
	.anb-brands__search, .anb-brands__search input { width: 100%; }
}
