.am-category-directory { padding: 28px 0 40px; background: #f7f9fc; }
.am-category-directory h1 { color: #122b46; font-size: 28px; font-weight: 700; }
.am-category-directory > .container-fluid-lg > p { color: #536479; }
.am-category-browser { display: grid; grid-template-columns: 240px minmax(0, 1fr); background: white; border: 1px solid #e4e9ef; border-radius: 12px; overflow: hidden; color: #122b46; }
.am-category-rail { background: #f3f5f8; overflow-y: auto; max-height: 70vh; }
.am-category-rail a { display: flex; align-items: center; min-height: 60px; padding: 14px 18px; border-left: 4px solid transparent; color: #34455b; font-size: 16px; line-height: 1.4; overflow-wrap: anywhere; }
.am-category-rail a.is-active { background: #fff; border-left-color: #ff9900; color: #122b46; font-weight: 700; }
.am-category-content { min-width: 0; padding: 24px; max-height: 70vh; overflow-y: auto; }
.am-category-panel[hidden] { display: none !important; }
.am-category-panel h2 { font-size: 22px; line-height: 1.4; font-weight: 700; color: #122b46; overflow-wrap: anywhere; }
.am-category-panel p { color: #536479; font-size: 15px; }
.am-category-view-all { display: inline-flex; gap: 16px; align-items: center; min-height: 44px; background: #ff9900; color: #122b46; font-size: 15px; font-weight: 700; padding: 10px 16px; border-radius: 8px; margin: 8px 0 24px; }
.am-category-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(135px, 1fr)); gap: 24px 18px; }
.am-category-tiles > p { grid-column: 1 / -1; }
.am-category-tile { display: flex; flex-direction: column; align-items: center; gap: 10px; min-width: 0; color: #122b46; text-align: center; }
.am-category-picture { display: flex; align-items: center; justify-content: center; width: 100%; max-width: 140px; aspect-ratio: 1; background: #f3f5f8; border-radius: 50%; overflow: hidden; color: #122b46; font-size: 32px; font-weight: 700; }
.am-category-picture img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.am-category-name { font-size: 15px; line-height: 1.4; overflow-wrap: anywhere; }
.am-category-browser a:hover { color: #875000; }
.am-category-browser a:focus-visible { outline: 3px solid #c77300; outline-offset: -3px; border-radius: 4px; }
.am-mobile-categories { display: flex; flex-direction: column; height: 100vh; height: 100dvh; overflow: hidden; }
.am-mobile-categories .header-area { position: relative; flex-shrink: 0; }
.am-mobile-categories .page-content-wrapper { display: flex; flex-direction: column; flex: 1; min-height: 0; margin: 0; padding: 0; }
.am-mobile-categories .footer-nav-area { position: relative; flex-shrink: 0; padding-bottom: env(safe-area-inset-bottom); }
.am-mobile-category-heading { margin: 0; padding: 12px 16px; font-size: 20px; font-weight: 700; color: #122b46; background: #fff; flex-shrink: 0; }
.am-mobile-categories .am-category-browser { flex: 1; min-height: 0; border-radius: 0; }
.am-mobile-categories .am-category-rail, .am-mobile-categories .am-category-content { max-height: none; }
@media (max-width: 767px) {
    .am-category-directory { padding: 16px 0; }
    .am-category-browser { grid-template-columns: 100px minmax(0, 1fr); }
    .am-category-rail a { padding: 14px 8px; min-height: 58px; font-size: 12px; border-left-width: 3px; }
    .am-category-content { padding: 14px 10px 24px; }
    .am-category-panel h2 { font-size: 17px; }
    .am-category-panel p { font-size: 13px; }
    .am-category-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 8px; }
    .am-category-tile { gap: 7px; }
    .am-category-name { font-size: 12px; line-height: 1.4; }
    .am-category-view-all { font-size: 13px; padding: 10px; gap: 8px; margin-bottom: 20px; }
}
@media (max-width: 359px) {
    .am-category-browser { grid-template-columns: 92px minmax(0, 1fr); }
    .am-category-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
