@charset "UTF-8";
/* Extraído de templates/base.html (linha 4201). Mantenha a ordem dos <link> no template. */
        /* ============================== */
        /* Central de Notificações (sino) */
        /* ============================== */
        .notif-bell {
            position: relative;
            background: transparent;
            border: 0;
            color: rgba(255,255,255,.92);
            width: 40px;
            height: 40px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border-radius: 0;
            cursor: pointer;
            transition: background .15s ease, color .15s ease;
        }
        .notif-bell:hover,
        .notif-bell:focus-visible {
            background: rgba(255,255,255,.12);
            color: #fff;
            outline: none;
        }
        .notif-bell:active { transform: scale(.96); }
        .notif-bell i { font-size: 1.1rem; }

        .notif-bell--navbar { color: #fff; }

        /* Sino no card do usuário / fundo claro (menu lateral) */
        .notif-bell--sidebar {
            position: relative;
            color: #1a1a1a;
            background: transparent;
            border: 0;
            width: 40px;
            height: 40px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border-radius: 0.5rem;
            cursor: pointer;
            flex-shrink: 0;
        }
        .notif-bell--sidebar:hover,
        .notif-bell--sidebar:focus-visible {
            background: rgba(26, 26, 26, 0.08);
            outline: none;
        }
        .notif-bell--sidebar .notif-badge {
            box-shadow: 0 0 0 2px #fff;
        }

        /* Desktop: ações na topbar (sidebar mantém só perfil + trocar loja) */
        @media (min-width: 992px) {
            .sidebar-user-section .notif-bell--sidebar,
            .sidebar-user-section .carteirinha-bell--sidebar {
                display: none !important;
            }
        }

        /* Indicador de loja ativa (navbar desktop + header mobile) */
        .loja-ativa-chip {
            display: inline-flex;
            align-items: center;
            gap: 0.45rem;
            max-width: min(420px, 42vw);
            min-width: 0;
            padding: 0.32rem 0.72rem;
            margin: 0;
            border: 1px solid rgba(255, 255, 255, 0.22);
            border-radius: 999px;
            background: rgba(255, 255, 255, 0.1);
            color: #fff;
            font: inherit;
            line-height: 1.2;
            text-align: left;
            -webkit-tap-highlight-color: transparent;
            transition: background 0.15s ease, border-color 0.15s ease;
        }

        .loja-ativa-chip--clickable {
            cursor: pointer;
        }

        .loja-ativa-chip--clickable:hover,
        .loja-ativa-chip--clickable:focus-visible {
            background: rgba(255, 255, 255, 0.16);
            border-color: rgba(255, 255, 255, 0.32);
            outline: none;
        }

        .loja-ativa-chip__icon {
            flex-shrink: 0;
            font-size: 0.82rem;
            opacity: 0.92;
        }

        .loja-ativa-chip__logo {
            flex-shrink: 0;
            width: 22px;
            height: 22px;
            object-fit: contain;
            border-radius: 4px;
            background: rgba(255, 255, 255, 0.92);
            padding: 1px;
            box-sizing: border-box;
        }

        .loja-ativa-chip--mobile .loja-ativa-chip__logo {
            width: 24px;
            height: 24px;
        }

        .loja-ativa-chip__marca {
            display: inline-flex;
            flex-shrink: 0;
            width: 22px;
            height: 22px;
        }

        .loja-ativa-chip--mobile .loja-ativa-chip__marca {
            width: 24px;
            height: 24px;
        }

        .loja-ativa-chip__mono {
            font-size: 0.6rem;
            box-shadow: inset 0 0 0 1px rgba(233, 196, 106, .6);
        }

        .loja-ativa-chip__body {
            display: flex;
            flex-direction: column;
            min-width: 0;
            gap: 0.05rem;
        }

        .loja-ativa-chip__label {
            font-size: 0.62rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.06em;
            opacity: 0.72;
            line-height: 1;
        }

        .loja-ativa-chip__name {
            min-width: 0;
            font-size: 0.84rem;
            font-weight: 600;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            line-height: 1.15;
        }

        .loja-ativa-chip__chev {
            flex-shrink: 0;
            font-size: 0.62rem;
            opacity: 0.75;
        }

        .loja-ativa-chip--mobile {
            max-width: 100%;
            width: 100%;
            padding: 0.28rem 0.62rem;
            background: rgba(255, 255, 255, 0.08);
        }

        .loja-ativa-chip--mobile .loja-ativa-chip__label {
            display: none;
        }

        .loja-ativa-chip--mobile .loja-ativa-chip__name {
            font-size: 0.78rem;
        }

        .mobile-header-center {
            flex: 1 1 auto;
            min-width: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 0 0.35rem;
        }

        .mobile-header-center .mobile-logo-fallback {
            height: 36px;
            width: auto;
            max-width: 120px;
            object-fit: contain;
        }

        /* Sino no header mobile */
        .mobile-header-actions {
            display: flex;
            align-items: center;
            margin-left: auto;
            flex-shrink: 0;
            gap: 0;
        }
        .notif-bell--mobile-header {
            color: #fff;
        }
        .notif-bell--mobile-header i { font-size: 1.35rem; }
        .notif-bell--mobile-header:hover,
        .notif-bell--mobile-header:focus-visible {
            background: rgba(255,255,255,.18);
        }

        .notif-badge {
            position: absolute;
            top: 4px;
            right: 4px;
            min-width: 18px;
            height: 18px;
            padding: 0 5px;
            border-radius: 999px;
            background: #dc3545;
            color: #fff;
            font-size: .68rem;
            font-weight: 700;
            line-height: 18px;
            text-align: center;
            box-shadow: 0 0 0 2px var(--bs-primary, #1a1a1a);
            pointer-events: none;
            animation: notifPulse 1.8s ease-in-out infinite;
        }
        .notif-bell--mobile-header .notif-badge {
            box-shadow: 0 0 0 2px #1a1a1a;
        }
        .notif-badge[hidden] { display: none !important; }

        /* Carteirinha maçônica — botão discreto (mesmo tamanho do sino) */
        .carteirinha-bell {
            position: relative;
            background: transparent;
            border: 0;
            color: rgba(255,255,255,.92);
            width: 40px;
            height: 40px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border-radius: 0;
            cursor: pointer;
            transition: background .15s ease, color .15s ease, transform .15s ease;
            flex-shrink: 0;
        }
        .carteirinha-bell:hover,
        .carteirinha-bell:focus-visible {
            background: rgba(255,255,255,.12);
            color: #fff;
            outline: none;
        }
        .carteirinha-bell:active { transform: scale(.96); }
        .carteirinha-bell i { font-size: 1.05rem; }
        .carteirinha-bell--navbar { color: #fff; }
        .carteirinha-bell--mobile-header i { font-size: 1.25rem; }
        .carteirinha-bell--mobile-header:hover,
        .carteirinha-bell--mobile-header:focus-visible {
            background: rgba(255,255,255,.18);
        }
        .carteirinha-bell--sidebar {
            color: #1a1a1a;
            border-radius: 0.5rem;
        }
        .carteirinha-bell--sidebar:hover,
        .carteirinha-bell--sidebar:focus-visible {
            background: rgba(26, 26, 26, 0.08);
        }
        .user-info .carteirinha-bell--sidebar {
            margin-right: 0.15rem;
        }
        @keyframes notifPulse {
            0%, 100% { transform: scale(1); }
            50%      { transform: scale(1.08); }
        }

        /* Confirmação SweetAlert acima do painel (z-index 1200) no mobile */
        body .swal2-container {
            z-index: 1300 !important;
        }
    
