/* ── Layout ── */
.browse-container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

/* ── Page Banner ── */
.browse-hero {
    background: linear-gradient(135deg, var(--primary) 0%, #0a3d5c 100%);
    padding: 1.25rem 0;
}
.browse-breadcrumb {
    display: flex; align-items: center; gap: 0.5rem;
    font-size: 0.8rem; color: rgba(255,255,255,0.5); margin-bottom: 0;
}
.browse-breadcrumb a { color: rgba(255,255,255,0.65); text-decoration: none; }
.browse-breadcrumb a:hover { color: var(--white); }

/* ── Search bar (always visible, both mobile and desktop) — sits in the same
   .browse-hero-section as the H1 (see browse.blade.php), so no longer sticky:
   position:sticky can only stay pinned within its own parent's height, and that
   shared section is only as tall as the H1 + this bar. ── */
.browse-search-bar {
    border-bottom: 1px solid var(--gray-200);
    padding: 0.85rem 0;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.browse-search-bar-inner { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; }
.browse-search-input-wrap { flex: 1; min-width: 200px; }
.browse-search-input-wrap input { width: 100%; }

/* ── Filters Section ──
   Two behaviors share this class: /search keeps the original "always visible,
   sticky on desktop / collapsible on mobile" bar (base + mobile-only rules below).
   /browse and /category/* opt into always-collapsed-until-toggled (at every width,
   via the Filters button in .browse-search-bar) with the .browse-filters-section--
   toggle-all modifier, since their search box now lives outside this section
   entirely and this panel only holds the secondary Category/Subcategory/Region
   fields. ── */
.browse-filters-section {
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    padding: 1.5rem 0;
    position: sticky; top: 64px; z-index: 90;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.browse-filters-section--toggle-all {
    position: static;
    max-height: 0; overflow: hidden; padding: 0;
    border-bottom: none; box-shadow: none;
    transition: max-height 0.32s ease, padding 0.32s ease, box-shadow 0.32s ease;
}
.browse-filters-section--toggle-all.filters-open {
    max-height: 700px; padding: 1.25rem 0;
    border-bottom: 1px solid var(--gray-200);
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    /* Once fully open, let a field's dropdown (Category/Subcategory/Region — each
       an absolutely-positioned child inside this section) escape past this
       section's own bottom edge instead of being clipped by the collapse
       animation's overflow:hidden. */
    overflow: visible;
}
.filters-form {
    display: flex; align-items: flex-end; gap: 1rem; flex-wrap: wrap;
}
.filter-group { display: flex; flex-direction: column; gap: 0.35rem; flex: 1; min-width: 160px; }
.filter-group--search { flex: 2; min-width: 220px; }
.filter-group label { font-size: 0.72rem; font-weight: 700; color: var(--gray-600); letter-spacing: 0.06em; text-transform: uppercase; }
.filter-input-icon { position: relative; }
.filter-input-icon svg { position: absolute; top: 50%; transform: translateY(-50%); inset-inline-start: 0.75rem; color: var(--gray-400); pointer-events: none; }
.filter-input-icon input {
    width: 100%; padding: 0.6rem 0.85rem 0.6rem 2.2rem;
    border: 1.5px solid var(--gray-200); border-radius: var(--radius);
    font-size: 0.875rem; font-family: inherit; color: var(--gray-900);
    background: var(--gray-50); outline: none; transition: border-color 0.15s;
}
.filter-input-icon input:focus { border-color: var(--primary); background: var(--white); }
[dir="rtl"] .filter-input-icon svg { inset-inline-start: auto; inset-inline-end: 0.75rem; }
[dir="rtl"] .filter-input-icon input { padding-inline-start: 0.85rem; padding-inline-end: 2.2rem; }
.filter-group select {
    width: 100%; padding: 0.6rem 0.85rem;
    border: 1.5px solid var(--gray-200); border-radius: var(--radius);
    font-size: 0.875rem; font-family: inherit; color: var(--gray-900);
    background: var(--gray-50); outline: none; cursor: pointer;
    transition: border-color 0.15s; appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 0.75rem center;
    padding-right: 2rem;
}
[dir="rtl"] .filter-group select { background-position: left 0.75rem center; padding-right: 0.85rem; padding-left: 2rem; }
.filter-group select:focus { border-color: var(--primary); background-color: var(--white); }
.filter-actions { display: flex; align-items: center; gap: 0.75rem; }
.filter-btn {
    display: inline-flex; align-items: center; gap: 0.4rem;
    background: var(--primary); color: var(--white);
    border: none; padding: 0.625rem 1.4rem; border-radius: var(--radius);
    font-size: 0.875rem; font-weight: 600; font-family: inherit;
    cursor: pointer; white-space: nowrap; transition: background 0.2s;
}
.filter-btn:hover { background: var(--primary-light); }
.filter-clear {
    font-size: 0.8rem; color: var(--gray-400); text-decoration: none;
    white-space: nowrap; transition: color 0.15s;
}
.filter-clear:hover { color: var(--gray-900); }

/* ── Results Section ── */
.browse-results { padding: 2.5rem 0 4rem; background: var(--gray-50); min-height: 60vh; }
.results-meta {
    display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
    margin-top: 0.5rem; margin-bottom: 0.75rem;
}
.results-count { font-size: 0.875rem; font-weight: 600; color: var(--gray-600); }
.results-tags { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.result-tag {
    background: rgba(1,48,71,0.08); color: var(--primary);
    font-size: 0.75rem; font-weight: 600; padding: 0.2rem 0.75rem;
    border-radius: 50px; border: 1px solid rgba(1,48,71,0.15);
}

/* ── Listings Grid ── */
.listings-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.25rem; }
.listing-card {
    background: var(--white); border: 1.5px solid var(--gray-200);
    border-radius: 16px; overflow: hidden; text-decoration: none;
    transition: all 0.25s; display: flex; flex-direction: column;
}
.listing-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.12); transform: translateY(-4px); border-color: transparent; }
.listing-img {
    width: 100%; aspect-ratio: 1/1; position: relative;
    background: var(--gray-100); overflow: hidden;
    display: flex; align-items: center; justify-content: center;
}
.listing-img img { width: 100%; height: 100%; object-fit: cover; }
.listing-feat-badge {
    position: absolute; top: 0.6rem; inset-inline-start: 0.6rem;
    background: var(--accent); color: var(--primary);
    font-size: 0.65rem; font-weight: 700; padding: 0.2rem 0.6rem;
    border-radius: 50px; letter-spacing: 0.04em;
}
.listing-body { padding: 1rem; flex: 1; display: flex; flex-direction: column; gap: 0.3rem; }
.listing-badge {
    display: inline-block; background: rgba(77,200,232,0.12);
    color: var(--primary); font-size: 0.7rem; font-weight: 600;
    padding: 0.15rem 0.6rem; border-radius: 50px; width: fit-content;
}
.listing-name { font-size: 0.95rem; font-weight: 700; color: var(--gray-900); line-height: 1.35; }
.listing-meta {
    font-size: 0.78rem; color: var(--gray-400);
    display: flex; align-items: center; gap: 0.35rem;
}

/* ── Pagination ── */
.browse-pagination { margin-top: 2.5rem; display: flex; justify-content: center; }
.browse-pagination nav { display: flex; align-items: center; gap: 0.4rem; }
.browse-pagination span, .browse-pagination a {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 36px; height: 36px; padding: 0 0.6rem;
    border: 1.5px solid var(--gray-200); border-radius: 10px;
    font-size: 0.85rem; color: var(--gray-700, #353A45); text-decoration: none;
    transition: all 0.15s; background: var(--white);
}
.browse-pagination a:hover { border-color: var(--primary); color: var(--primary); }
.browse-pagination [aria-current="page"] span,
.browse-pagination .bg-white.border-indigo-500,
.browse-pagination span[aria-current="page"] {
    background: var(--primary); color: var(--white);
    border-color: var(--primary);
}

/* ── No Results ── */
.no-results {
    text-align: center; padding: 5rem 1rem;
    display: flex; flex-direction: column; align-items: center; gap: 0.75rem;
}
.no-results__icon { font-size: 3rem; }
.no-results h3 { font-size: 1.25rem; font-weight: 700; color: var(--gray-900); margin: 0; }
.no-results p { color: var(--gray-500, #6D7380); margin: 0; font-size: 0.95rem; }
.no-results__cta {
    margin-top: 0.5rem; display: inline-block;
    background: var(--primary); color: var(--white);
    padding: 0.6rem 1.5rem; border-radius: var(--radius);
    font-size: 0.875rem; font-weight: 600; text-decoration: none;
    transition: background 0.2s;
}
.no-results__cta:hover { background: var(--primary-light); }

/* ── Infinite scroll (replaces page-number pagination) ── */
#infinite-scroll-sentinel { height: 1px; }
.infinite-scroll-loading { display: flex; justify-content: center; padding: 2rem 0; }
/* An author-origin display value always wins over the UA [hidden] rule regardless
   of specificity, so without this, setting the .hidden property in JS to stop
   showing the spinner once there's nothing left to load has no visual effect. */
.infinite-scroll-loading[hidden] { display: none; }
.infinite-scroll-spinner {
    width: 28px; height: 28px; border-radius: 50%;
    border: 3px solid var(--gray-200); border-top-color: var(--primary);
    animation: infinite-scroll-spin 0.7s linear infinite;
}
@keyframes infinite-scroll-spin { to { transform: rotate(360deg); } }
.infinite-scroll-end {
    text-align: center; padding: 1.5rem 0;
    font-size: 0.85rem; color: var(--gray-400);
}

/* ── Mobile filter toggle bar — still used as-is by /search (hidden on desktop,
   toggles the always-sticky .browse-filters-section open/closed on mobile only).
   /browse and /category/* instead place .mobile-filter-toggle/.mobile-filter-count/
   .mobile-active-chip directly in .browse-search-bar (visible at every width, no
   wrapping .mobile-filter-bar), which is why those three are separate selectors
   below rather than nested under this one. ── */
.mobile-filter-bar {
    display: none;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    padding: 0 0 5px;
}
.mobile-filter-toggle {
    display: inline-flex; align-items: center; gap: 0.45rem;
    background: var(--white); border: 1.5px solid var(--gray-200);
    border-radius: 8px; padding: 0.5rem 0.9rem;
    font-size: 0.82rem; font-weight: 600; color: var(--gray-700, #353A45);
    cursor: pointer; transition: all 0.15s; font-family: inherit; white-space: nowrap;
}
.mobile-filter-toggle:hover,
.mobile-filter-toggle.is-open { background: var(--primary); color: var(--white); border-color: var(--primary); }
.mobile-filter-count {
    background: var(--accent); color: var(--primary);
    font-size: 0.7rem; font-weight: 800; border-radius: 50px;
    padding: 0.1rem 0.42rem; min-width: 1.2rem; text-align: center; line-height: 1.4;
}
.mobile-active-chip {
    display: inline-flex; align-items: center;
    font-size: 0.78rem; font-weight: 500; color: var(--primary);
    background: rgba(77,200,232,0.1); border: 1px solid rgba(77,200,232,0.25);
    padding: 0.28rem 0.65rem; border-radius: 50px; white-space: nowrap;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    /* /search only (see the comment on .browse-filters-section above): its filters
       section isn't given the --toggle-all modifier, so it needs its own
       mobile-only collapse — /browse and /category/* get this at every width
       already, unconditionally, via .browse-filters-section--toggle-all. */
    .browse-filters-section:not(.browse-filters-section--toggle-all) {
        position: static;
        max-height: 0; overflow: hidden; padding: 0;
        border-bottom: none; box-shadow: none;
        transition: max-height 0.32s ease, padding 0.32s ease, box-shadow 0.32s ease;
    }
    .browse-filters-section:not(.browse-filters-section--toggle-all).filters-open {
        max-height: 700px; padding: 1.25rem 0;
        border-bottom: 1px solid var(--gray-200);
        box-shadow: 0 2px 12px rgba(0,0,0,0.06);
        overflow: visible;
    }
    .mobile-filter-bar { display: flex; }
    .filters-form { flex-direction: column; }
    .filter-group { min-width: 100%; }
    .filter-group--search { flex: 1; }
    .filter-actions { width: 100%; }
    .filter-btn { flex: 1; justify-content: center; }

    /* iOS Safari auto-zooms the page when a tapped text input's font-size is under
       16px — bumping these three filter inputs (search keyword, and the Category/
       Region combobox trigger inputs from searchable-select.css/region-hierarchy-
       select.css) to 16px on mobile stops that regardless of the viewport meta tag. */
    .filter-input-icon input,
    .ssel-input,
    .rh-input { font-size: 16px; }

    /* Results: half the desktop top padding */
    .browse-results { padding-top: 10px; }

    .listings-grid { grid-template-columns: repeat(3, 1fr); }

    /* Pagination: wrap and shrink on mobile */
    .browse-pagination nav { flex-wrap: wrap; justify-content: center; gap: 0.3rem; }
    .browse-pagination span,
    .browse-pagination a { min-width: 34px; height: 34px; font-size: 0.8rem; padding: 0 0.4rem; }
}
@media (max-width: 480px) {
    .listings-grid { grid-template-columns: 1fr 1fr; gap: 0.75rem; }

    /* Pagination: tighter buttons on smallest screens, wrapping already handled above */
    .browse-pagination { margin-top: 1.5rem; }
    .browse-pagination span,
    .browse-pagination a { min-width: 30px; height: 30px; font-size: 0.75rem; padding: 0 0.3rem; border-radius: 7px; }
}

/* ══════════════════════════════════════════════════════════════════════ */
/* Unified result card — shared by /search and /browse. Every result is   */
/* one person: name/region/profession, followed by all of their listings. */
/* ══════════════════════════════════════════════════════════════════════ */
.sr-results-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    /* A listing's own name always stays the site's navy brand color; a member's
       name (Member Card header, or the "By ..." byline on a Listing Card) uses
       teal instead, so the two read as distinct kinds of name at a glance no
       matter which card style is showing. */
    --sr-listing-name-color: var(--primary, #013047);
    --sr-member-name-color: #0e7a94;
}

.sr-result-card {
    background: var(--white);
    border: 1px solid var(--border, #e2e8f0);
    border-radius: 16px;
    overflow: hidden;
    transition: box-shadow 0.18s, border-color 0.18s;
}
.sr-result-card:hover {
    box-shadow: 0 6px 22px rgba(0,0,0,0.08);
    border-color: var(--accent);
}

mark.sr-hl {
    background: #fde047;
    color: inherit;
    padding: 0 0.1em;
    border-radius: 3px;
}

.sr-result-header {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 1rem 1.1rem;
    text-decoration: none;
}

.sr-result-thumb {
    position: relative;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    flex-shrink: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.02rem;
    font-weight: 700;
    color: #fff;
}
/* Positioned absolutely so it overlays the initials fallback underneath;      */
/* if the image 404s, its onerror handler removes it and the initials show.   */
.sr-result-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* A listing's logo (unlike a member's headshot) must never be cropped — a logo
   that isn't already square would otherwise lose part of its mark/wordmark to
   the circular mask. `contain` shows the whole logo, centered, letting the
   circle's own background color show through as padding; the circle shape
   itself (border-radius: 50% on .sr-result-thumb) is unchanged. */
.sr-result-listing-row--split .sr-result-thumb img { object-fit: cover; }

.sr-result-main { flex: 1; min-width: 0; }
.sr-result-title {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 1rem;
    font-weight: 700;
    color: var(--sr-member-name-color);
}
/* The name text truncates on its own — kept separate from .sr-result-title so
   the verified badge and call button (flex-shrink: 0 siblings) never get clipped
   by the name's ellipsis regardless of how long the name is. */
.sr-result-title-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}
.sr-verified { color: #22c55e; flex-shrink: 0; }
.sr-result-call-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(77,200,232,0.14);
    color: var(--accent-dark, #1aa8cc);
    cursor: pointer;
    transition: background 0.15s;
}
.sr-result-call-btn:hover { background: var(--accent, #4DC8E8); color: var(--white); }

.sr-result-sub {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin-top: 0.3rem;
    flex-wrap: wrap;
}
.sr-result-sub-item {
    display: inline-flex;
    align-items: center;
    gap: 0.28rem;
    font-size: 0.8rem;
    color: var(--text-muted, #6b7280);
    white-space: nowrap;
}
.sr-result-sub-item svg { flex-shrink: 0; }
.sr-result-profession {
    padding: 0.12rem 0.6rem;
    background: var(--bg-light, #f8fafc);
    border-radius: 50px;
    font-weight: 600;
    color: #64748b;
}
.sr-result-arrow {
    color: var(--gray-300, #cbd5e1);
    flex-shrink: 0;
}

/* ── Nested listings — every business linked to this person ── */
.sr-result-listings {
    border-top: 1px solid var(--border, #e2e8f0);
    /* Same background as the Member Card above it (.sr-result-card) — the row
       hover state and this border are what separate sections now, not a color
       change between the two. */
    background: var(--white);
    padding: 0.45rem 0.6rem;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}
.sr-result-listing-row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.55rem 0.6rem;
    border-radius: 10px;
    text-decoration: none;
    transition: background 0.15s;
}
.sr-result-listing-row:hover { background: rgba(77,200,232,0.1); }
.sr-result-listing-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    flex-shrink: 0;
}
.sr-result-listing-name {
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--sr-listing-name-color);
    flex-shrink: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.sr-result-listing-meta {
    font-size: 0.78rem;
    color: var(--text-muted, #6b7280);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.sr-result-listing-meta::before {
    content: '·';
    margin-inline-end: 0.4rem;
    color: var(--gray-300, #cbd5e1);
}
.sr-result-listing-featured {
    font-size: 0.68rem;
    font-weight: 700;
    color: #b45309;
    background: rgba(245,158,11,0.15);
    padding: 0.1rem 0.5rem;
    border-radius: 50px;
    flex-shrink: 0;
}

/* ── Listing Card — Food & Grocery, Restaurants & Food Service, Retail & */
/* Shops, and Pharmacy: listing name + "By [Member]" leads; region and the  */
/* listing's own phone number follow underneath.                           */
.sr-result-listings--no-header { border-top: none; }
.sr-result-listing-row--split {
    align-items: flex-start;
    gap: 0.65rem;
    padding: 0.6rem 0.65rem;
}
.sr-result-listing-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 0;
    flex: 1;
}
.sr-result-listing-line {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.sr-result-listing-line--primary .sr-result-listing-name {
    font-size: 1rem;
    white-space: normal;
    overflow: visible;
}
.sr-result-listing-line--secondary {
    font-size: 0.8rem;
    color: var(--text-muted, #6b7280);
}
.sr-result-listing-line--secondary .sr-result-listing-meta:first-child::before { content: none; margin: 0; }
/* "By" stays a small muted label; the actual member name(s) — wrapped in their own
   span, .sr-result-listing-by-name — get the same size/color as the Member Card's
   own title (.sr-result-title) so a member's name reads consistently everywhere. */
.sr-result-listing-by {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-muted, #6b7280);
}
.sr-result-listing-by-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--sr-member-name-color);
}
/* ── Event Card (/search only) — same shape as the Member Card above, just linking */
/* straight to the event and showing a date/status instead of a profession line.   */
.sr-result-event-status {
    font-size: 0.68rem;
    font-weight: 700;
    padding: 0.1rem 0.5rem;
    border-radius: 50px;
    flex-shrink: 0;
}
.sr-result-event-status--ongoing { color: #15803d; background: rgba(34,197,94,0.15); }
.sr-result-event-status--ended { color: #6b7280; background: rgba(107,114,128,0.14); }

/* ── No results fallback ── */
.sr-no-listings {
    color: var(--text-muted, #6b7280);
    font-size: 0.9rem;
    margin: 0.5rem 0;
}

@media (max-width: 640px) {
    .sr-result-header { padding: 0.85rem 0.9rem; gap: 0.7rem; }
    .sr-result-thumb { width: 44px; height: 44px; }
    .sr-result-arrow { display: none; }
    .sr-result-listing-row { flex-wrap: wrap; row-gap: 0.15rem; }
}
@media (max-width: 400px) {
    .sr-result-title { font-size: 0.92rem; }
    .sr-result-sub-item { font-size: 0.75rem; }
    .sr-result-listing-line--primary .sr-result-listing-name,
    .sr-result-listing-by-name { font-size: 0.92rem; }
}

/* ── Category browse-page widget (resources/views/partials/category-widgets/*) ── */
.cat-widget-icon-row-wrap { position: relative; margin-bottom: 1rem; }
.cat-widget-icon-row {
    display: flex; flex-wrap: nowrap; overflow-x: auto;
    gap: 0.85rem; scrollbar-width: none; -webkit-overflow-scrolling: touch;
    padding-bottom: 2px;
}
.cat-widget-icon-row::-webkit-scrollbar { display: none; }
.cat-widget-icon-pill {
    display: flex; flex-direction: column; align-items: center; gap: 0.4rem;
    flex-shrink: 0; width: 72px;
    text-decoration: none; color: var(--gray-700, #353A45);
}
.cat-widget-icon-badge {
    width: 56px; height: 56px; border-radius: 16px;
    background: rgba(1,48,71,0.07); border: 1.5px solid rgba(1,48,71,0.12);
    display: flex; align-items: center; justify-content: center; overflow: hidden;
    transition: background 0.15s, border-color 0.15s;
}
.cat-widget-icon-badge img { width: 100%; height: 100%; object-fit: cover; }
.cat-widget-icon-badge--profession { background: rgba(77,200,232,0.12); border-color: rgba(77,200,232,0.25); }
.cat-widget-icon-fallback { font-size: 1.1rem; font-weight: 800; color: var(--primary); }
.cat-widget-icon-label {
    font-size: 0.72rem; font-weight: 600; text-align: center; line-height: 1.25;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.cat-widget-icon-pill:hover .cat-widget-icon-badge { background: rgba(1,48,71,0.12); border-color: rgba(1,48,71,0.25); }
.cat-widget-icon-pill--active .cat-widget-icon-badge { background: var(--primary); border-color: var(--primary); }
.cat-widget-icon-pill--active .cat-widget-icon-fallback { color: var(--white); }
.cat-widget-icon-pill--active .cat-widget-icon-label { color: var(--primary); font-weight: 700; }

@media (max-width: 640px) {
    .cat-widget-icon-pill { width: 64px; }
    .cat-widget-icon-badge { width: 50px; height: 50px; border-radius: 14px; }
}
