/* Homepage category cards: complete rows and ordinary mobile scrolling. */
.homepage .home-categories .home-category-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;overflow:visible;padding:0;scroll-snap-type:none;align-items:stretch}
.homepage .home-categories .home-category-grid>.home-photo-category{display:flex;flex-direction:column;min-width:0;width:auto;max-width:none;padding:0;gap:0;overflow:hidden;border:1px solid #e7d8cf;border-radius:12px;background:#fffaf7;text-decoration:none;scroll-snap-align:none}
.homepage .home-categories .home-category-photo{display:block;width:100%;aspect-ratio:4/3;overflow:hidden;background:#f6eee8}
.homepage .home-categories .home-category-photo img{display:block;width:100%;height:100%;object-fit:cover}
.homepage .home-categories .home-photo-category strong{display:flex;align-items:center;justify-content:center;flex:1;min-height:64px;padding:10px 8px;box-sizing:border-box;text-align:center;font-size:15px;line-height:1.5;white-space:normal;overflow-wrap:normal;color:#654b55}
.homepage .home-categories .home-photo-category:hover{border-color:#b79ba5;background:#fbf0ed}
.homepage .home-categories .home-photo-category:focus-visible{outline:3px solid #714658;outline-offset:4px}
@media(max-width:849px){.homepage .home-categories{padding:20px}.homepage .home-categories .home-section-head{padding:0}.homepage .home-categories .home-category-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.homepage .home-categories .home-photo-category strong{font-size:16px;min-height:68px}}
