.lojas-proximas {
  padding: 50px 70px;
  background-color: var(--bg);
  color: var(--brown);
}

.lojas-proximas h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  text-align: center;
  color: var(--brown);
}

.lojas-proximas h3 {
  margin-top: -8px;
  margin-bottom: 10px;
  font-size: 16px;
  margin-left: 10px;
}

.lojas-scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  cursor: grab;
  user-select: none;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.lojas-scroll::-webkit-scrollbar {
  display: none;
}

.lojas-scroll:active {
  cursor: grabbing;
}

.loja-card {
  position: relative;
  flex: 0 0 250px;
  background: var(--card);
  border: 2px solid var(--brown-3);
  font-family: "Nunito", sans-serif;
  border-radius: 14px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow);
  scroll-snap-align: start;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.loja-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 15px rgba(255, 200, 100, 0.35);
}

.logo-loja {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--brown-3);
  object-fit: cover;
  flex-shrink: 0;
  cursor: pointer;
  transition: transform 0.25s ease;
  margin-top: -30px;
}

.logo-loja:hover {
  transform: scale(1.15);
}

.info-loja {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-top: -10px;
  margin-bottom: 10px;
}

.info-loja h3 {
  font-size: 0.95rem;
  color: var(--brown);
  margin: 0 0 4px;
  font-weight: 700;
}

.info-loja p {
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0 0 6px;
}

.btn-loja {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: linear-gradient(90deg, var(--brown-3), var(--brown));
  color: var(--bg);
  border: none;
  padding: 4px 10px;
  border-radius: 20px;
  font-weight: 600;
  cursor: pointer;
  font-size: 0.8rem;
  transition: transform 0.2s ease, background 0.3s ease, opacity 0.3s ease;
  opacity: 0; 
  pointer-events: none; 
  margin-top: 200px;
}

.loja-card:hover .btn-loja {
  opacity: 1; 
  pointer-events: auto; 
}

.btn-loja:hover {
  background: var(--brown);
  transform: scale(1.08);
}

h3 {
  margin-top: 20px;
  margin-bottom: -18px;
  font-family: "Nunito", sans-serif;
  font-size: 16px;
  margin-left: 20px;
}
  
.carrossel-container {
  font-family: "Nunito", sans-serif;
  color: var(--cor-destaque);
  padding: 5px;
  max-width: 100%;
  margin: auto;
  padding: 20px 60px;
  margin-top: -30px;
  cursor: pointer;
}
    
.carrossel {
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  height: 155px;
  padding: 0 50px;
  cursor: pointer;
}
  
.doces, .categorias {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100px;
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 10px;
  padding-bottom: 20px;
}

.doce, .categoria {
  flex: 0 0 auto;
  margin: 10px;
  margin-top: 80px;
}

.hex-externo {
  width: 80px;         
  height: 46px;         
  background: #fff1a8;
  position: relative;
  margin: 20px auto;
  box-shadow: 0px 0px 6px rgba(252, 206, 0, 0.603);
}

.categoria .hex-externo{
  background: #FFD700;

}

.hex-externo::before,
.hex-externo::after {
  content: "";
  position: absolute;
  width: 0;
  border-left: 40px solid transparent;
  border-right: 40px solid transparent;
}

.hex-externo::before {
  bottom: 100%;
  border-bottom: 23px solid #fff1a8;
}

.categoria .hex-externo::before {
  border-bottom: 23px solid #FFD700;
}

.hex-externo::after {
  top: 100%;
  border-top: 23px solid #fff1a8;
}

.categoria .hex-externo::after {
  border-top: 23px solid #FFD700;
}

.hex-interno {
  width: 70px;
  height: 40px;
  background: white;
  position: absolute;
  top: 3px;
  left: 5px;
  z-index: 1;
}

.hex-interno::before,
.hex-interno::after {
  content: "";
  position: absolute;
  width: 0;
  border-left: 35px solid transparent;
  border-right: 35px solid transparent;
}

.hex-interno::before {
  bottom: 100%;
  border-bottom: 20px solid white;
}

.hex-interno::after {
  top: 100%;
  border-top: 20px solid white;
}
 
.hex-img {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.hex-img img {
  max-width: 50px;
  max-height: 50px;
}

.doce p,
.categoria p {
  margin-top: 25px;
  text-align: center;
  font-size: 13px;
}
 
.arrow img {
  width: 30px;
  height: 30px;
}
  
.arrow {
  background: none;
  border: none;
  position: absolute;
  top: 43%;
  transform: translateY(-50%);
  z-index: 10;
  height: 30px;
  cursor: pointer;
}
  
.arrow.left {
  left: 10px;
}
  
.arrow.right {
  right: 10px;
}
  
.arrow:hover {
  color: var(--cor-preco-icone);
}

.btn-ver-todos {
  display: inline-flex;
  flex-direction: row-reverse;
  align-items: center;
  margin-top: 10px;
  margin-left: 60px;
  gap: 6px;
  background: rgba(255, 216, 104, 0.12);
  color: var(--brown);
  font-family: "Nunito", sans-serif;
  font-size: 13px;
  font-weight: 700;
  border: 1px solid rgba(255, 196, 61, 0.25);
  cursor: pointer;
  padding: 12px 16px;
  border-radius: 999px;
  transition: all 0.25s ease;
  backdrop-filter: blur(4px);
}

.btn-ver-todos i {
  align-items: center;
  font-size: 17px;
  transition: transform 0.25s ease;
}

.btn-ver-todos:hover {
  background: linear-gradient(90deg, var(--accent-yellow), var(--accent-yellow-2));
  color: var(--brown-2);
  box-shadow: 0 4px 12px rgba(255, 196, 61, 0.35);
  transform: translateY(-1px);
}

.btn-ver-todos:hover i {
  transform: translateX(3px);
}

@media (max-width: 768px) {
  .lojas-proximas h3 {
    margin-top: -8px;
    margin-bottom: 10px;
    font-size: 16px;
    margin-left: 8px;
  }
  .lojas-proximas {
    padding: 30px 20px;
  }
  .loja-card {
    flex: 0 0 210px;
    padding: 15px 12px;
    height: 50px;
    display: flex;
    align-items: center;
    gap: 12px;
  }
  .logo-loja {
    width: 40px;
    height: 40px;
    margin-top: -20px;
  }
  .info-loja h3 {
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.2;
  }
  .info-loja p {
    font-size: 0.7rem;
    margin: -1px 0 0;
    line-height: 1.2;
  }
  .carrossel-container h3{
    font-size: 15px;
    margin-left: 2px;
    margin-top: 10px;
    margin-bottom: -1px;
  }
  .carrossel-container {
    padding: 15px 20px;
    margin-top: -10px;
  }
  .carrossel {
    padding: 0;
    height: 150px;
    margin-top: -30px;
    margin-bottom: -20px;
  }
  .doces, .categorias {
    grid-auto-columns: 80px;
    gap: 10px;
  }
  .doces .hex-externo, .categorias .hex-externo {
    width: 60px;
    height: 35px;
    margin: 15px auto;
  }
  .doces .hex-externo::before, .categorias .hex-externo::before {
    border-left-width: 30px;
    border-right-width: 30px;
    border-bottom-width: 17px;
  }
  .doces .hex-externo::after, .categorias .hex-externo::after {
    border-left-width: 30px;
    border-right-width: 30px;
    border-top-width: 17px;
  }
  .doces .hex-interno, .categorias .hex-interno {
    width: 52px;
    height: 30px;
    top: 2.5px;
    left: 4px;
  }
  .doces .hex-interno::before, .doces .hex-interno::after,
  .categorias .hex-interno::before, .categorias .hex-interno::after {
    border-left-width: 26px;
    border-right-width: 26px;
  }
  .doces .hex-interno::before, .categorias .hex-interno::before {
    border-bottom-width: 15px;
  }
  .doces .hex-interno::after, .categorias .hex-interno::after {
    border-top-width: 15px;
  }
  .doce p, .categoria p {
    margin-top: 30px;
    font-size: 11px;
    line-height: 1.2;
  }
  .arrow {
    display: none;
  }
  .btn-loja {
    opacity: 1;
    pointer-events: auto;
  }
  .btn-ver-todos {
    margin-left: 20px;
    font-size: 10px;
    padding: 6px 12px;
    margin-bottom: 10px;
  }
  .btn-ver-todos i {
    margin-top: 2px;
    font-size: 14px;
    transition: transform 0.25s ease;
  }
}
