/* Moved out of resources/views/storefront/layout/header/partials/categories-offcanvas.blade.php (inline block) so browsers cache it. Edit here. */
.sfd-cats-backdrop { position: fixed; inset: 0; z-index: 90; background: rgba(7, 19, 68, .5); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.sfd-cats { position: fixed; left: 0; right: 0; bottom: 0; z-index: 91; display: flex; flex-direction: column; max-height: min(80vh, 680px); max-height: min(80dvh, 680px); padding-bottom: env(safe-area-inset-bottom); border-radius: 26px 26px 0 0; background: #fff; box-shadow: 0 -20px 60px -20px rgba(7, 19, 68, .5); }
.sfd-cats-grip { display: flex; justify-content: center; width: 100%; padding: 10px 0 4px; border: 0; background: none; }
.sfd-cats-grip span { width: 40px; height: 4px; border-radius: 999px; background: #D5DBEE; }
.sfd-cats-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 4px 20px 12px; }
.sfd-cats-head h2 { margin: 0; color: #0B1F68; font-size: 20px; font-weight: 900; letter-spacing: -.01em; }
.sfd-cats-head p { margin: 2px 0 0; color: #56608A; font-size: 13px; font-weight: 600; }
.sfd-cats-close { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; flex: 0 0 36px; border: 0; border-radius: 999px; background: #F1F4FB; color: #0B1F68; }
.sfd-cats-body { flex: 1; overflow-y: auto; padding: 4px 14px 18px; overscroll-behavior: contain; }
.sfd-cats-empty { padding: 36px 0; text-align: center; color: #56608A; font-size: 14px; }
.sfd-cats-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 8px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 420px) { .sfd-cats-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.sfd-cat { display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 8px 4px; border-radius: 16px; color: #2A3566; text-align: center; text-decoration: none; transition: background .15s ease; }
.sfd-cat:active { background: #F6F8FD; }
.sfd-cat-ring { display: flex; align-items: center; justify-content: center; width: 72px; height: 72px; overflow: hidden; border-radius: 999px; background: #F1F4FB; color: #0B1F68; font-size: 22px; box-shadow: 0 0 0 2px #fff, 0 0 0 4px #E3E8F5; transition: box-shadow .15s ease, transform .15s ease; }
.sfd-cat:active .sfd-cat-ring { transform: scale(.95); }
.sfd-cat-ring img { width: 100%; height: 100%; object-fit: cover; }
.sfd-cat-ring.is-all { background: linear-gradient(135deg, #0B1F68, #1D3FB8); color: #fff; }
.sfd-cat-ring.is-deal { background: linear-gradient(135deg, #FF3B30, #FF8A4C); color: #fff; }
.sfd-cat.is-on .sfd-cat-ring { box-shadow: 0 0 0 2px #fff, 0 0 0 4px #FF6C36; }
.sfd-cat-letter { font-weight: 900; }
.sfd-cat-name { display: -webkit-box; max-width: 100%; overflow: hidden; color: #0B1F68; font-size: 12.5px; font-weight: 800; line-height: 1.25; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.sfd-cat.is-on .sfd-cat-name { color: #E85A24; }
.sfd-cat-count { color: #8A93B8; font-size: 11px; font-weight: 700; }
