/* ===========================
   HEADER
=========================== */

.desktop-header {
  background: #030712;
  width: 100%;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  
  position: sticky;
  top: 0;
  z-index: 999;
}

.desktop-header .container {
  
  display: flex;
  
  align-items: center;
  
  justify-content: space-between;
  
  gap: 40px;
  
  height: 90px;
  
}

/* ===========================
   LOGO
=========================== */


/* Ícone */

  .logo img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  display: block;
  
  /* Opcional: deixa a logo mais viva */
  filter: drop-shadow(0 0 10px rgba(59, 130, 246, .35));
}

.logo a {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none !important;
}

.logo img:hover {
  transform: scale(1.03);
}

.logo-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1;
}

.logo-text h1 {
  margin: 0;
  font-size: 30px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -1px;
}

.logo-text span {
  margin-top: 4px;
  font-size: 12px;
  color: #8b95a7;
  font-weight: 500;
}



.search {
  
  flex: 1;
  
  display: flex;
  
  max-width: 550px;
}

.search input {
  
  width: 100%;
  height: 52px;
  
  padding: 0 20px;
  
  border: 1px solid rgba(255, 255, 255, .08);
  border-right: none;
  
  border-radius: 14px 0 0 14px;
  
  background: #1b2436;
  color: #fff;
  
  font-size: 15px;
  
  transition: .3s;
  
}
.search input::placeholder {
  
  color: #94a3b8;
  font-size: 14px;
  
}

.search input:focus {
  outline: none;
  border-color: #3b82f6;
}
.search button {
  
  width: 55px;
  
  border: none;
  
  cursor: pointer;
  
  background: #2563eb;
  
  color: white;
  
  border-radius: 0 12px 12px 0;
}
.actions {
  
  display: flex;
  
  align-items: center;
  
  gap: 25px;
}

.actions a {
  display: flex;
  align-items: center;
  gap: 8px;
  
  height: 46px;
  padding: 0 18px;
  
  text-decoration: none;
  color: #fff;
  
  background: #162034;
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 12px;
  
  transition: .25s ease;
}

.actions a i {
  font-size: 17px;
}

.actions a span {
  font-size: 15px;
  font-weight: 600;
}
.actions a:hover {
  background: #1d2b45;
  border-color: rgba(59, 130, 246, .45);
  color: #fff;
  
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(59, 130, 246, .18);
}
.cart {
  position: relative;
}

.cart-count {
  position: absolute;
  
right: 7px;
top: 9px;
  
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  
  display: flex;
  align-items: center;
  justify-content: center;
  
  background: #2563eb;
  color: #fff;
  
  border: 2px solid #0f172a;
  border-radius: 999px;
  
  font-size: 11px;
  font-weight: 700;
  
  box-shadow: 0 0 12px rgba(37, 99, 235, .45);
}

.user-btn {
  
  display: flex;
  align-items: center;
  gap: 12px;
  
  height: 48px;
  padding: 0 16px;
  
  background: #1b2338;
  
  border: 1px solid rgba(255, 255, 255, .05);
  border-radius: 14px;
  
  cursor: pointer;
  
  color: #fff;
  
  transition: .25s;
}
/* ===========================
   STATUS DO USUÁRIO
=========================== */

.user-status {
  
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  
  line-height: 1.1;
  
}

.user-greeting {
  
  font-size: 11px;
  color: #94a3b8;
  
}

.user-name {
  
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  
}

.user-arrow {
  
  font-size: 12px;
  
  color: #94a3b8;
  
  margin-left: 2px;
  
}

.user-btn i:first-child {
  
  font-size: 20px;
  color: #fff;
  
}

.user-btn:hover {
  background: rgba(255, 255, 255, .08);
  color: var(--primary);
}






.user-dropdown-header {
  
  padding: 32px;
  
  text-align: center;
  
}



.user-auth-links a {
  
  color: var(--primary);
  
  text-decoration: none;
  
  font-weight: 600;
  
  transition: .2s;
  
}

.user-auth-links a:hover {
  
  color: #fff;
  
}

.dropdown-item {
  
  display: flex;
  
  align-items: center;
  
  gap: 16px;
  
  padding: 17px 24px;
  
  color: #fff;
  
  text-decoration: none;
  
  transition: .2s;
  
}

.dropdown-item i:first-child {
  
  width: 22px;
  
  color: var(--primary);
  
  font-size: 18px;
  
}

.dropdown-item span {
  
  flex: 1;
  
}

.dropdown-item i:last-child {
  
  margin-left: auto;
  
  color: rgba(255, 255, 255, .45);
  
  font-size: 13px;
  
}

.dropdown-item:hover {
  
  background: rgba(255, 255, 255, .05);
  
}

.dropdown-item:hover i:last-child {
  
  transform: translateX(4px);
  
  transition: .2s;
  
}
.user-dropdown-divider {
  
  height: 1px;
  
  background: rgba(255, 255, 255, .07);
  
}
.user-menu {
  position: relative;
}

/* ===========================
   AVATAR HEADER
=========================== */

.header-avatar {
  
  width: 34px;
  height: 34px;
  
  border-radius: 50%;
  
  overflow: hidden;
  
  display: flex;
  align-items: center;
  justify-content: center;
  
  background: #2b3550;
  
  flex-shrink: 0;
  
}





/* ===========================
   AVATAR DROPDOWN
=========================== */

.logo img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  display: block;
  transition: .25s ease;
}
/* ===========================
   RESPONSIVO
=========================== */

.mobile-header {
  display: none;
}

@media(max-width:768px) {
  
  .desktop-header {
    display: none;
  }
  
  .mobile-header {
    display: flex;
  }
  
}

/* ===========================
   DROPDOWN PERFIL
=========================== */

.user-dropdown {
  
  position: absolute;
  
  top: calc(100% + 14px);
  
  right: 0;
  
  width: 340px;
  
  background: #111827;
  
  border: 1px solid rgba(255, 255, 255, .08);
  
  border-radius: 20px;
  
  overflow: hidden;
  
  box-shadow:
    0 25px 60px rgba(0, 0, 0, .45);
  
  z-index: 9999;
  
  opacity: 0;
  visibility: hidden;
  
  transform: translateY(15px);
  
  transition: .25s ease;
  
}


.user-menu.active .user-dropdown {
  
  opacity: 1;
  
  visibility: visible;
  
  transform: translateY(0);
  
}


/* ===========================
   CABEÇALHO DO DROPDOWN
=========================== */


.user-dropdown-header {
  
  padding: 28px 20px;
  
  text-align: center;
  
}


/* ===========================
   AVATAR GRANDE DO MENU
=========================== */


.desktop-user-avatar {
  
  width: 90px;
  
  height: 90px;
  
  margin: 0 auto 15px;
  
  border-radius: 50%;
  
  overflow: hidden;
  
  display: flex;
  
  align-items: center;
  
  justify-content: center;
  
  background: #1e293b;
  
  border: 3px solid rgba(59, 130, 246, .5);
  
}


/* imagem do usuário */

.desktop-user-avatar img {
  
  width: 100%;
  
  height: 100%;
  
  object-fit: cover;
  
  border-radius: 50%;
  
  display: block;
  
}


/* ícone padrão */

.desktop-user-avatar i {
  
  font-size: 35px;
  
  color: #fff;
  
}


/* ===========================
   NOME NO MENU
=========================== */


.user-dropdown-header h3 {
  
  margin: 0;
  
  color: #fff;
  
  font-size: 22px;
  
  font-weight: 700;
  
}


/* cargo */

.user-role {
  
  margin-top: 8px;
  
  color: #94a3b8;
  
  font-size: 14px;
  
}



/* ===========================
   BANNER DO MENU
=========================== */


#dropdownBanner {
  
  width: 100%;
  
  height: 100px;
  
  object-fit: cover;
  
  display: block;
  
}



/* ===========================
   AVATAR PEQUENO HEADER
=========================== */




.header-avatar img {
  
  width: 100%;
  
  height: 100%;
  
  object-fit: cover;
  
  border-radius: 50%;
  
}


.header-avatar i {
  
  color: white;
  
  font-size: 18px;
  
}
/* ===========================
   BANNER DROPDOWN PERFIL
=========================== */

.user-dropdown {
  overflow: hidden;
}


.user-dropdown-header {
  position: relative;
  padding: 0 20px 25px;
  text-align: center;
}


/* Banner ocupando topo inteiro */

#dropdownBanner {

  width: 100%;
  height: 140px;

  object-fit: cover;

  display: block;

  position: relative;

}


/* Fade do banner */

.user-dropdown-header::after {

  content: "";

  position: absolute;

  top: 80px;
  left: 0;

  width: 100%;
  height: 70px;

  background: linear-gradient(
    transparent,
    #111827
  );

  pointer-events: none;

}



/* Avatar por cima do banner */

.desktop-user-avatar {

  width: 90px;
  height: 90px;

  margin: -45px auto 15px;

  position: relative;

  z-index: 2;


  border-radius: 50%;

  overflow: hidden;

  background: #1e293b;

  border: 3px solid #111827;

  box-shadow:
    0 0 20px rgba(0,0,0,.5);

}


.desktop-user-avatar img {

  width:100%;
  height:100%;

  object-fit:cover;

  border-radius:50%;

}



/* Nome */

.user-dropdown-header h3 {

  position: relative;

  z-index: 3;

  margin:0;

  color:#fff;

  font-size:22px;

}