/* Header */
header {
  padding: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

header>h1,
header>a {
  word-wrap: none;
  display: block;
  width: 25%;
}

h1 {
  font-style: italic;
  white-space: nowrap;
}

h5 {
  font-size: 30pt;
  word-wrap: none;
  word-break: break-all;
  width: 100%;
  text-align: center;

}

.logo-search {
  display: flex;
  width: 70%;
}

/* Campo de busca */
div#search {
  display: flex;
  align-items: center;
  background-color: #FFF;
  border-radius: 50px;
  width: 95%;
  height: 50px;
  padding: 0 10px;
  border: #004AAD 1px solid;
}

div#search input {

  flex: 1;
  border: none;
  border-radius: 50px;
  padding: 8px 12px;
  font-size: 14px;
  outline: none;
}

div#search input::placeholder {
  color: #999;
}

.icones {
  width: 25%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.icones a {
  text-decoration: none;
  margin-right: 20px;
}

.icones i {
  padding-right: 0px;
  margin: 15px;
  scale: 3;
}

header i.bx.bx-user,
i.bx.bxs-user-circle,
i.bx.bxs-exit {
  border-radius: 100px;
  border: 1px #FFF solid;
  padding: 1px;
}

.search {
  background-color: transparent;
  display: block;
  color: #FFF;

  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.search:hover {
  background-color: transparent;
}

#searchBtn {
  display: block;
}

#searchBtn i.bx-search-alt-2 {
  color: #006dfa;
  font-size: 15pt;
}

.menu-main {
  height: 50px;
  width: 55%;
  position: absolute;
  display: block;
  padding: 10px;

  i {
    padding-top: 0px;
  }

  li {

    padding: 10px;
    white-space: nowrap;
  }
}

nav {
  display: block;
  height: 50px;

}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

nav ul li {
  border: 2px solid;
  border-radius: 7px;
  margin: 1px;
}

nav ul li a {
  position: relative;
  text-decoration: none;
  font-size: 16pt;
  color: inherit;

}

nav ul li a:hover {
  color: inherit;
}

nav ul li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #00f7ff;
  transition: width 0.4s ease;
}

nav ul li a:hover::after {
  width: 100%;
}

nav ul li a i {
  padding-top: 20px;
  display: block;
}

.opcoes,
.destaques {
  top: 20px;
  width: 25%;
  height: 90vh;
  overflow-x: scroll;
  scrollbar-width: none;
  position: relative;
}

div#carossel {
  position: relative;
  /* ou static */
  z-index: 1;
}

div#carossel>img {
  width: 100%;
  height: 100%;
  border-radius: 10px;
}

/* .destaques {
  margin-top: 70px;
} */

.destaques .monte-pc {
  margin: 10px;
  background-color: inherit;
  padding: 10px;

}

.destaques .monte-pc span {
  display: flex;
  justify-content: center;
  width: 100%;

}

.destaques .monte-pc img {
  width: 100%;
  height: 100%;
  margin-top: -20px;
  border-radius: 10px;
}


#opcoes_perfil,
#itens_carrinho {
  padding: 10px;
  background-color: #002752;
  display: none;
  width: 98%;
  margin: auto;
  overflow: hidden;
  z-index: 10;
  border-radius: 10px;
  position: absolute;
  top: 0px;

}

#opcoes_perfil {
  left: 0px;
}

#itens_carrinho {
  right: 0px;
}

#opcoes_perfil li,
#itens_carrinho li {
  list-style-type: none;
  color: #FFF;
  padding: 10px;
  font-size: 15pt;
}

#itens_carrinho li {
  padding: 5px;
  margin-top: -15px;
}

#finalizar_pedido {
  display: none;
  margin-left: 5px;
}

#opcoes_perfil a:hover,
#itens_carrinho a:hover {
  cursor: pointer;
  background-color: #007bff;
  color: #FFF;
}

p.carrinho-vazio-texto {
  height: 320px;
  text-align: center;
  justify-content: center;
  display: flex;
  align-items: center;
  font-size: 18px;
  padding: 20px;
  border-radius: 10px;
}


.card-carrinho {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  padding: 10px;
  transition: transform 0.2s ease-in-out;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  max-width: 280px;
  height: 320px;
  margin: 10px auto;
}

.card-carrinho:hover {
  transform: scale(1.05);
}

.card-carrinho-img {
  width: 50%;
  height: auto;
  display: block;
  padding-top: -100px;
  border-radius: 5px;
  object-fit: cover;
}

.card-carrinho-title {
  font-size: 14px;
  font-weight: bold;
  margin: 5px 0;
  color: #333;
  text-align: center;
}

.card-carrinho-brand {
  font-size: 12px;
  color: #666;
  margin-bottom: 5px;
  text-align: center;
}

.card-carrinho-price {
  font-size: 14px;
  font-weight: bold;
  color: #007bff;
  text-align: center;
  margin: 5px 0;
}

.card-carrinho-quantity {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.card-carrinho-quantity strong {
  font-size: 12px;
  color: #333;
}

.card-carrinho-quantity span {
  font-size: 12px;
  color: #666;
}

.card-carrinho-quantity input {
  width: 35px;
  height: 25px;
  text-align: center;
  font-size: 12px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

#btn-cart {
  width: 100%;
  margin-top: 5px;
  display: flex;
  justify-content: center;
}

.btn-cart {
  background-color: #007bff;
  color: #fff;
  padding: 8px 12px;
  border: none;
  border-radius: 5px;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin: 2px;
}

.btn-cart:hover {
  background-color: #0056b3;
}

/* Container geral das opções */
.opcoes {
  position: relative;

}

/* Carrossel */
#carrossel-container {
  border-radius: 10px;
  display: block;
  position: relative;
  width: 100%;
  max-width: 1080px;
  margin: auto;
  overflow: hidden;
  z-index: 1;
}

/* Imagem e Skeleton */
.img-wrapper {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 9/16;
  /* Para manter 1080x1920 corretamente */
  overflow: hidden;
  background: #f0f0f0;
}

#carrossel-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  pointer-events: auto;
  cursor: pointer;
}

.skeleton {
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #e0e0e0 25%, #f0f0f0 50%, #e0e0e0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  pointer-events: none;
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }

  100% {
    background-position: 200% 0;
  }
}

/* Discos ogivais sobre a imagem */
#carrossel-nav {
  position: absolute;
  bottom: 12px;
  /* mais para baixo */
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  /* espaçamento entre discos */
  z-index: 5;
  pointer-events: auto;
}

.carrossel-dot {
  background-color: rgba(255, 255, 255, 0.4);
  border-radius: 20px;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.2s;
  /* larguras e alturas serão definidas pelo JS para serem dinâmicas */
  width: 28px;
  /* fallback */
  height: 14px;
  /* fallback */
}

.carrossel-dot:hover,
.carrossel-dot:focus {
  background-color: rgba(255, 255, 255, 0.8);
}

.carrossel-dot.active {
  background-color: white;
  transform: scale(1.1);
}

/* Itens flutuantes do carrinho */
.itens_carrinho {
  position: absolute;
  top: 10px;
  right: 10px;
  background: white;
  padding: 10px;
  z-index: 10;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  display: none;
}

/* Outras opções flutuantes (perfil, etc.) */
.opcoes_perfil {
  position: absolute;
  top: 10px;
  left: 10px;
  background: white;
  padding: 10px;
  z-index: 10;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  display: none;
}

/* Novo Menu */

/* CSS */
.destaques-sem-links {
  margin-top: 0;
}

.sidebar {
  top: 0;
  left: 0;
  width: 250px;
  background: #0b3d91;
  transition: 0.3s;
  overflow: hidden;
}

.sidebar.close {
  width: 70px;
}

.sidebar .logo-details {
  display: flex;
  align-items: center;
  height: 60px;
  padding: 0 20px;
}

.sidebar i {
  font-size: 28px;
  cursor: pointer;
}

.logo-details {
  display: flex;
  align-items: center;
}

.sidebar .logo_name {
  font-size: 22px;
  color: #fff;
  margin-left: 10px;
  transition: 0.3s;
}

.sidebar.close .logo_name {
  opacity: 0;
  pointer-events: none;
}

.sidebar ul.nav-list {
  margin-top: 20px;
}

.sidebar ul.nav-list li {
  position: relative;
  list-style: none;
  width: 100%;
}

.sidebar ul.nav-list li a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #fff;
  padding: 15px 20px;
  transition: 0.3s;
}

.sidebar ul.nav-list li a i {
  min-width: 30px;
  font-size: 24px;
}

.sidebar ul.nav-list li a .links_name {
  font-size: 16px;
  transition: 0.3s;
}

.sidebar.close ul.nav-list li a .links_name {
  opacity: 0;
  pointer-events: none;
}

.home-content {
  position: relative;
  left: 250px;
  width: calc(100% - 250px);
  padding: 20px;
  transition: 0.3s;
}

.sidebar.close~.home-content {
  left: 70px;
  width: calc(100% - 70px);
}