/* Homepage category directory only. WooCommerce names/counts/links remain dynamic. */
.fhh-category-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.fhh-category-card{height:258px;display:flex;flex-direction:column;background:#fff;transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease}
.fhh-category-photo{height:166px;min-height:166px;aspect-ratio:auto;padding:8px 10px;overflow:hidden}
.fhh-category-photo img{width:100%;height:100%;object-fit:contain;object-position:center}
.fhh-category-caption{flex:1;min-height:0;padding:12px 14px;display:flex;flex-direction:column;justify-content:space-between}
.fhh-category-caption h3{font-size:19px;line-height:1.3;margin:0 0 7px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.fhh-category-caption span{display:flex;align-items:center;justify-content:space-between;gap:6px;font-size:12px;line-height:1.35}
.fhh-category-caption b{float:none;flex:none;font-size:18px}
.fhh-category-card:hover{transform:translateY(-2px);border-color:var(--fh-blue);box-shadow:0 4px 12px rgba(17,49,72,.09)}
.fhh-category-card:focus-visible{outline:2px solid var(--fh-blue);outline-offset:3px}
.fhh-paired-photo img{width:50%;object-fit:contain}
@media(min-width:1600px){.fhh-category-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(min-width:700px) and (max-width:1099px){.fhh-category-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}}
@media(max-width:699px){.fhh-category-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.fhh-category-card{height:240px}.fhh-category-photo{height:150px;min-height:150px;padding:7px}.fhh-category-caption{padding:10px}.fhh-category-caption h3{font-size:16px;line-height:1.3}.fhh-category-caption span{font-size:11px}}
@media(prefers-reduced-motion:reduce){.fhh-category-card{transition:none}.fhh-category-card:hover{transform:none}}
