.ui-autocomplete-loading { background: #fff url('../img/ui-anim_basic_16x16.gif') right 14px center no-repeat; }
.breed-page { max-width: 1180px; margin: 0 auto; }
.breed-animal-nav { display: grid; grid-template-columns: repeat(auto-fit, minmax(105px, 1fr)); gap: 10px; margin: 0 0 24px; }
.breed-animal-link { display: flex; min-height: 82px; flex-direction: column; align-items: center; justify-content: center; gap: 5px; padding: 9px; border: 1px solid #e1e9e3; border-radius: 12px; background: #fff; color: #315746; font-weight: 700; text-align: center; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.breed-animal-link:hover, .breed-animal-link.is-current { border-color: #9dc5a8; background: #f1f8f2; color: #234b3c; }
.breed-animal-link:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(35, 75, 60, .1); }
.breed-animal-link:focus-visible { outline: 3px solid #247a56 !important; outline-offset: 3px; }
.breed-animal-link img { width: 36px; height: 36px; object-fit: contain; }
.breed-hero { margin: 10px 0 24px; padding: 30px 32px; border: 1px solid #e0ebe3; border-radius: 18px; background: linear-gradient(135deg, #f1f8f2, #fff 72%); }
.breed-eyebrow { margin: 0 0 5px; color: #438061; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.breed-hero h1 { margin: 0 0 8px; color: #234b3c; font-size: 32px; }
.breed-hero p { margin: 0; color: #607066; font-size: 16px; }
.breed-search-panel, .breed-list-panel { margin-bottom: 24px; padding: 24px; border: 1px solid #e5ebe6; border-radius: 16px; background: #fff; box-shadow: 0 8px 26px rgba(32, 63, 45, .05); }
.breed-search-panel h2, .breed-list-panel h2 { margin: 0 0 5px; color: #2b4337; font-size: 21px; }
.breed-search-help, .breed-list-intro { margin: 0 0 16px; color: #69766d; }
.breed-search-form { display: flex; gap: 10px; align-items: flex-start; }
.breed-search-input-wrap { position: relative; flex: 1; }
.breed-suggestions { position: absolute; z-index: 20; top: 100%; right: 0; left: 0; max-height: 260px; overflow-y: auto; margin: 3px 0 0; padding: 5px 0; border: 1px solid #d7e2d9; border-radius: 9px; background: #fff; box-shadow: 0 8px 20px rgba(32, 63, 45, .12); list-style: none; }
.breed-suggestions[hidden] { display: none; }
.breed-suggestions [role="option"] { padding: 9px 13px; color: #344b3d; cursor: pointer; }
.breed-suggestions [role="option"]:hover, .breed-suggestions [role="option"][aria-selected="true"] { background: #eff6f0; color: #234b3c; }
.breed-search-form label { display: block; margin-bottom: 6px; color: #344b3d; font-weight: 700; }
.breed-search-form .form-control { height: 46px; border-color: #d7e2d9; border-radius: 9px; box-shadow: none; }
.breed-search-form .form-control:focus { border-color: #4b936a; box-shadow: 0 0 0 3px rgba(75, 147, 106, .14); }
.breed-search-form .btn { min-height: 46px; margin-top: 27px; padding: 10px 20px; border: 0; border-radius: 9px; background: #347653; font-weight: 700; }
.breed-search-form .btn:hover { background: #285d40; }
#loading, #msj-error { min-height: 0; margin-top: 10px; color: #48604f; }
#msj-error:empty, #loading:empty { display: none; }
.breed-letter-group { margin: 0 0 28px; }
.breed-letter-heading { display: flex; align-items: center; gap: 9px; margin: 0 0 14px; padding-bottom: 9px; border-bottom: 1px solid #e8eee9; color: #344b3d; font-size: 17px; }
.breed-letter-heading span { display: inline-grid; width: 30px; height: 30px; place-items: center; border-radius: 9px; background: #eaf4ec; color: #347653; font-weight: 800; }
.breed-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(142px, 1fr)); gap: 14px; }
.breed-card { display: flex; min-width: 0; flex-direction: column; overflow: hidden; border: 1px solid #e3eae4; border-radius: 12px; background: #fff; color: #344b3d; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.breed-card:hover { transform: translateY(-3px); border-color: #a8c9b0; box-shadow: 0 10px 22px rgba(32, 63, 45, .12); color: #234b3c; }
.breed-card:focus-visible { outline: 3px solid #347653 !important; outline-offset: 3px; }
.breed-card-image { display: block; width: 100%; height: 150px; object-fit: cover; background: #f3f6f3; }
.breed-card-name { display: block; overflow: hidden; padding: 11px 12px 12px; font-size: 14px; font-weight: 700; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }

@media (max-width: 767px) {
	.breed-animal-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
	.breed-animal-link { min-height: 76px; }
	.breed-hero { margin-top: 0; padding: 23px 20px; border-radius: 14px; }
	.breed-hero h1 { font-size: 26px; }
	.breed-hero p { font-size: 15px; }
	.breed-search-panel, .breed-list-panel { padding: 18px 15px; border-radius: 13px; }
	.breed-search-form { flex-direction: column; }
	.breed-search-input-wrap, .breed-search-form .btn { width: 100%; }
	.breed-search-form .btn { margin-top: 0; }
	.breed-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.breed-card-image { height: 138px; }
}

@media (prefers-reduced-motion: reduce) {
	.breed-animal-link, .breed-card { transition: none; }
}
