:root {
  --befu-red: #de0412;
  --befu-yellow: #fdd01d;
  --befu-dark: #1a1a1a;
  --befu-glass: rgba(255, 255, 255, 0.94);
}

body {
  padding-top: 100px;
  padding-bottom: 70px;
}

@media (min-width: 992px) {
  body { padding-bottom: 0; }
}

.befu-container {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}



















/* 1. HEADER GLASSMORPHISM */
.befu-header {
  background: var(--befu-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease-in-out;
  z-index: 1030;
}

.befu-header.nav-hidden { transform: translateY(-100%); }

.befu-top-bar {
  padding: 14px 16px 14px 0 !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  font-size: 0.8rem;
}

.befu-location-selector { cursor: pointer; }
.befu-main-nav { padding: 10px 0; }

















/* UTILITÁRIOS & LINKS */
.menu-item {
  display: flex;
  align-items: center;
  padding: 10px;
  background: #fff;
  border-radius: 10px;
  margin-bottom: 8px;
  text-decoration: none;
  color: #1a1a1a;
  font-weight: 600;
}

.icon-wrap {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  color: #fff;
}

.bg-red { background: #de0412; }
.bg-yellow { background: #fdd01d; color: #000; }

.menu-item-simple {
  display: block;
  padding: 10px 4px;
  color: #333;
  text-decoration: none;
  font-size: 0.9rem;
}

.drawer-divider {
  border: 0;
  height: 1px;
  background: #e4e6eb;
  margin: 15px 0;
}
.badge-count { margin-left: auto; background: var(--befu-red); color: #fff; padding: 2px 8px; border-radius: 10px; font-size: 0.75rem; }
/************************************************************************/




















.befu-logo-text {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--befu-red);
  text-decoration: none;
}

.befu-cart-btn {
  font-size: 1.4rem;
  color: var(--befu-dark);
}

.befu-badge-yellow {
  background-color: var(--befu-yellow);
  color: #000;
  font-weight: bold;
}

.befu-toggle-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--befu-dark);
  cursor: pointer;
}

.befu-toggle-btn:active {
  background: rgba(0, 0, 0, 0.06);
}










/* 2. BOTTOM NAV (MOBILE PWA) */
.befu-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 65px;
  background: var(--befu-glass);
  backdrop-filter: blur(12px);
  display: flex;
  justify-content: space-around;
  align-items: center;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease-in-out;
  z-index: 1030;
}

.befu-bottom-nav.nav-hidden { transform: translateY(100%); }

.befu-bottom-nav .nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #666;
  text-decoration: none;
  font-size: 0.72rem;
  width: 20%;
}

.befu-bottom-nav .nav-item i { font-size: 1.3rem; }
.befu-bottom-nav .nav-item.active { color: var(--befu-red); font-weight: bold; }


















/* 3. TOGGLE LATERAL DRAWER (80% MOBILE / 40% DESKTOP) */
.befu-drawer-overlay {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 1050;
  opacity: 0; visibility: hidden;
  transition: all 0.3s ease-in-out;
}

.befu-drawer-overlay.active { opacity: 1; visibility: visible; }

.befu-drawer {
  position: fixed;
  top: 0; right: -100%;
  width: 80%; /* 80% Tela Mobile */
  height: 100vh;
  background: #f7f8fa;
  z-index: 1060;
  box-shadow: -5px 0 25px rgba(0,0,0,0.15);
  transition: right 0.35s cubic-bezier(0.25, 1, 0.5, 1);
  display: flex; flex-direction: column;
}

@media (min-width: 992px) {
  .befu-drawer { width: 40%; } /* 40% Tela Desktop */
}

.befu-drawer.active { right: 0; }

.befu-drawer-header {
  padding: 16px; background: #fff;
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid #eee;
}

.user-profile { display: flex; align-items: center; gap: 10px; }

.user-avatar { width: 45px; height: 45px; border-radius: 50%; border: 2px solid var(--befu-red); }
.btn-close-drawer { background: #f0f2f5; border: none; width: 35px; height: 35px; border-radius: 50%; }

.btn-befu-login {
  background: var(--befu-red); color: #fff;
  border: none; padding: 6px 16px; border-radius: 20px; font-weight: bold;
}

.befu-drawer-body { padding: 16px; overflow-y: auto; flex: 1; }
.section-title { font-size: 0.8rem; font-weight: 700; color: #65676b; text-transform: uppercase; margin-bottom: 8px; display: block; }

.search-box, .track-box {
  display: flex; align-items: center; background: #fff;
  border: 1px solid #ddd; border-radius: 8px; padding: 8px;
}
.search-box input, .track-box input { border: none; outline: none; width: 100%; margin: 0 8px; font-size: 0.85rem; }
.track-box button { background: var(--befu-red); color: #fff; border: none; padding: 4px 10px; border-radius: 4px; }

























/* GRID ATALHOS FACEBOOK STYLE */
/* ==========================================
   ATALHOS COMPACTOS (EXATAMENTE 4 ITENS SEM SCROLL)
=========================================== */
.shortcuts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-bottom: 12px;
  width: 100%;
}

.shortcut-card {
  background: #ffffff;
  border-radius: 8px;
  padding: 4px;
  text-align: center;
  text-decoration: none;
  color: #333;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
}

.shortcut-card img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 6px;
  object-fit: cover;
}

.shortcut-card span {
  font-size: 0.65rem;
  line-height: 1.1;
  margin-top: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
  font-weight: 500;
}


















/* ==========================================
   INFORMAÇÕES (ESTILO GRUPO DE BOTÕES NATIVOS)
=========================================== */
.info-buttons-group {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.btn-info-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  text-decoration: none;
  color: #222;
  font-size: 0.88rem;
  font-weight: 500;
  border-bottom: 1px solid #f0f0f0;
  transition: background 0.2s ease;
}

.btn-info-item:last-child {
  border-bottom: none;
}

.btn-info-item:active, .btn-info-item:hover {
  background: #f8f9fa;
  color: var(--befu-red);
}

.btn-info-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-info-content i {
  font-size: 1.1rem;
  color: var(--befu-red);
}


















/* ==========================================
   REDES SOCIAIS (LISTA VERTICAL COLORIDA)
=========================================== */
.social-vertical-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.social-list-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  background: #ffffff;
  border-radius: 10px;
  text-decoration: none;
  color: #333;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
  transition: transform 0.1s ease;
}

.social-list-item:active {
  transform: scale(0.99);
}

.social-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1rem;
}

.social-list-item.facebook .social-icon { background: #1877f2; }
.social-list-item.instagram .social-icon { background: #e4405f; }
.social-list-item.linkedin .social-icon { background: #0a66c2; }
.social-list-item.youtube .social-icon { background: #ff0000; }
.social-list-item.twitter .social-icon { background: #000000; }





















/* ==========================================
   DOWNLOAD DO APP (LARGURA COMPLETA - FULL WIDTH)
=========================================== */
.app-store-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.btn-store-full {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #111111;
  color: #ffffff;
  padding: 10px 16px;
  border-radius: 10px;
  text-decoration: none;
  width: 100%;
  transition: background 0.2s ease;
}

.btn-store-full:hover, .btn-store-full:active {
  background: var(--befu-red);
  color: #ffffff;
}

.btn-store-full i {
  font-size: 1.5rem;
}

.btn-store-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.btn-store-text small {
  font-size: 0.65rem;
  opacity: 0.75;
  text-transform: uppercase;
}

.btn-store-text strong {
  font-size: 0.85rem;
}














/* ==========================================
   BOTTOM NAVIGATION BAR (MOBILE)
=========================================== */
.befu-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 65px;
  background: var(--befu-glass-bg);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.08) !important;
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: space-around;
  align-items: center;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.03);
  transition: transform 0.3s ease-in-out;
  z-index: 1030;
}

/* Esconde a Navigation Bar ao rolar para baixo */
.befu-bottom-nav.nav-hidden {
  transform: translateY(100%);
}

.befu-bottom-nav .nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #777;
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 500;
  width: 20%;
  transition: color 0.2s ease;
}

.befu-bottom-nav .nav-item i {
  font-size: 1.3rem;
  margin-bottom: 2px;
}

.befu-bottom-nav .nav-item.active {
  color: #de0412 !important;
  font-weight: 700;
}

















 .space-bar {
    width: 100%;
    padding-bottom: 8rem;
  }


  .space_division{

    background-color: #eee;
    margin-top: 0.1rem;
    padding: 16px;
  }














/* Badge de status ativo */
.befu-badge-pulse {
  position: absolute;
  top: -2px;
  right: -4px;
  width: 10px;
  height: 10px;
  background-color: #de0412; /* Vermelho principal */
  border: 2px solid #ffffff;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(222, 4, 18, 0.7);
  animation: pulse-red 1.5s infinite;
  pointer-events: none;
}






/* Animação de pulsação suave */
@keyframes pulse-red {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(222, 4, 18, 0.7);
  }
  70% {
    transform: scale(1.1);
    box-shadow: 0 0 0 8px rgba(222, 4, 18, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(222, 4, 18, 0);
  }
}







/* ==========================================================================
   SISTEMA DE NOTIFICAÇÕES (TOASTS) - BEFU APP
   ========================================================================== */

/* Container fixo no canto superior direito */
#befu-toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 350px;
    width: calc(100% - 40px);
    pointer-events: none; /* Permite clicar nos elementos abaixo do container */
}

/* O Toast / Card da Notificação */
.befu-toast {
    position: relative;
    background: #1e1e1e; /* Fundo dark / alta visibilidade */
    color: #ffffff;
    border-left: 4px solid #de0412; /* Vermelho primário Befu */
    padding: 14px 16px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.35);
    display: flex;
    align-items: center;
    justify-content: space-between;
    pointer-events: auto; /* Reativa cliques dentro do toast */
    
    /* Animação de Entrada (Slide In) */
    animation: befuToastSlideIn 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
    transition: all 0.3s ease;
}

/* Texto da Mensagem */
.befu-toast .text {
    font-size: 0.9rem;
    line-height: 1.4;
    font-weight: 500;
    margin-right: 12px;
    word-break: break-word;
}

/* Botão Fechar (X) */
.befu-toast .close-btn {
    background: transparent;
    border: none;
    color: #aaaaaa;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    margin-left: 8px;
    transition: color 0.2s ease;
}

.befu-toast .close-btn:hover {
    color: #fdd01d; /* Amarelo secundário Befu no hover */
}

/* Animação de Saída (Slide Out) */
.befu-toast.slide-out {
    animation: befuToastSlideOut 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

/* Keyframes de Animação */
@keyframes befuToastSlideIn {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes befuToastSlideOut {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(100%);
    }
}

/* Ajustes para Dispositivos Móveis */
@media (max-width: 576px) {
    #befu-toast-container {
        top: 10px;
        right: 10px;
        left: 10px;
        width: auto;
        max-width: none;
    }
}