
.barra-app {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #fff;
  border-top: 1px solid #ccc;
  z-index: 10001;
  box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
}

.btn-app {
  flex: 1;
  border: none;
  background: none;
  text-align: center;
  padding: 8px 0;
  font-size: 18px;
  color: #333;
}

.btn-app:hover {
  background-color: #f1f1f1;
}

    .carrinho-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.4);
  display: none;
  z-index: 2000;
}

.carrinho-ativo {
  display: block !important;
}

#carrinho {
  transition: right 0.3s ease;
  position: fixed;
  top: 0;
  right: -100%;
  width: 320px;
  height: 100%;
  background-color: white;
  z-index: 9999;
  padding: 1rem;
  box-shadow: -2px 0 5px rgba(0,0,0,0.2);
}

#carrinho.aberto {
  right: 0;
}

    .carrinho-lateral {
      position: fixed;
      top: 0;
      right: 0;
      width: 300px;
      height: 100%;
      background-color: #f8f9fa;
      border-left: 1px solid #ddd;
      padding: 15px;
      overflow-y: auto;
      z-index: 9999;
      transition: all 0.3s ease-in-out;
    }
    .carrinho-minimizado {
      display: none;
    }
    .botao-expandir {
      position: fixed;
      bottom: 20px;
      right: 20px;
      z-index: 9990;
      background-color: #ffb700 !important;
  color: #fff !important;
  border: none;
  font-weight: bold;
  font-size: 1.1rem;
  height: 48px;
  transition: background 0.2s;
}
.botao-expandir:hover,
.botao-expandir:focus {
  background-color: #e6a600 !important;
  color: #fff !important;
}
    
    .produto-longneck {
      display: none;
    }
    .produto-longneck.visivel {
      display: block !important;
      max-width: 350px;
      ;
    }

    .cerv-tamanho {
  max-height: 220px;
  min-height: 220px;
  width: auto;
  object-fit: contain;
  margin: 0 auto;
  display: block;
  padding-top: 20px;  
}

#carouselExample {
  max-height: 300px;
  overflow: hidden;
}
#carouselExample .carousel-item img {
  max-height: 300px;
  width: 100%;
  object-fit: cover;
}

#itens-carrinho .item {
  border-bottom: 1px solid #ccc;
  padding: 5px 0;
  font-size: 0.9rem;
}

    .categoria-btn {
  background-color: #ffffff; /* cor personalizada */
  color: #2e2e2e;
  border-bottom: 1px solid #e0e0e0;
  height: 80px;
  margin: 2px;
}
.categoria-btn:hover {
  background-color: #ffffff;
  border: 2px solid #fab403;
  
}

.btn-app img {
  margin-bottom: 4px;
}

.menu-lateral {
  position: fixed;
  top: 0;
  left: -320px;
  width: 300px;
  height: 100%;
  background: white;
  z-index: 1100;
  transition: left 0.3s ease;
  box-shadow: 2px 0 5px rgba(0,0,0,0.2);
}

.menu-lateral.aberto {
  left: 0;
}

.overlay-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.4);
  display: none;
  z-index: 1090;
}

.btn-enviar-pedido {
  background-color: #ffb700;
  color: #fff;
  border: none;
  font-weight: bold;
  font-size: 1.1rem;
  height: 48px;
  transition: background 0.2s;
}
.btn-enviar-pedido:hover,
.btn-enviar-pedido:focus {
  background-color: #e6a600;
  color: #fff;
}

.btn-adicionar-carrinho {
  background-color: #ffb700 !important;
  color: #fff !important;
  border: none;
  /* font-weight: bold;*/
  font-size: 1rem;
  transition: background 0.2s;
}
.btn-adicionar-carrinho:hover,
.btn-adicionar-carrinho:focus {
  background-color: #e6a600 !important;
  color: #fff !important;
}


  #stories-container::-webkit-scrollbar {
    display: none;
  }

  #stories-container > div {
    scroll-snap-align: center;
  }

  @media (max-width: 768px) {
    #stories-container {
      justify-content: flex-start;
    }
  }

  #story-modal {
    position: fixed;
    inset: 0;
    background-color: #000;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 10002;
  }

  #story-modal img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
  }

  .story-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: transparent; /* Fundo totalmente transparente */
  border: none;
  padding: 0;
  cursor: pointer;
  z-index: 10001;
}

.story-nav img {
  width: 30px;            /* Tamanho menor */
  height: 30px;
  object-fit: contain;
  opacity: 0.8;           /* Leve transparência da imagem */
  transition: opacity 0.2s ease;
}

.story-nav img:hover {
  opacity: 1;             /* Totalmente visível ao passar o mouse */
}

.story-nav.esquerda {
  left: 10px;
}

.story-nav.direita {
  right: 10px;
}


  .fechar-modal {
    position: absolute;
    top: 8px;
    right: 16px;
    font-size: 24px;
    color: white;
    cursor: pointer;
    z-index: 10001;
  }

  .barra-progresso {
    position: absolute;
    top: 0;
    left: 0;
    height: 4px;
    background-color: #ffb700;
    width: 0%;
    transition: width 0.1s linear;
    z-index: 10000;
  }

  
.oculto {
  display: none !important;
}

/* Container principal */
#atalhos-categorias {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 16px;
  gap: 16px;
}

/* Bloco de cada atalho */
.atalho {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 30%; /* ~3 por linha no mobile */
  max-width: 100px;
}

/* Botão quadrado */
.btn-atalho {
  width: 100%;
  aspect-ratio: 1 / 1; /* garante quadrado */
  padding: 0;
  border: 1px solid #ccc;
  border-radius: 12px;
  background-color: #fff;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  transition: transform 0.15s ease;
}

.btn-atalho:hover {
  transform: scale(1.03);
}

/* Imagem no botão */
.btn-atalho img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

/* Legenda */
.atalho-label {
  margin-top: 6px;
  font-size: 13px;
  color: #333;
  text-align: center;
  line-height: 1.2;
}

/* DESKTOP: tudo em uma linha */
@media (min-width: 768px) {
  #atalhos-categorias {
    justify-content: center;
    gap: 20px;
    padding: 24px;
  }

  .atalho {
    width: 70px; /* todos em linha */
  }

  .btn-atalho {
    width: 70px;
    height: 70px;
  }

  .atalho-label {
    font-size: 12px;
  }
}

.voltar-container {
  display: none;
  background-color: #f8f9fa;
  padding: 10px 16px;
  margin: 0;
  text-align: right; /* botão à direita */
}

.btn-voltar {
  background-color: #2b2b2b;
  color: white;
  border: none;
  padding: 6px 12px;
  font-size: 16px; /* ajuste aqui conforme necessário */
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.btn-voltar:hover {
  background-color: #1f1f1f;
}

/* Layout flexível só no mobile */
.card-body-flex {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 12px;
}
.card-img-mobile {
  width: 170px;
  height: 200px;
  object-fit: contain;
  flex-shrink: 0;
  margin-bottom: 0;
}
.conteudo-card {
  flex: 1 1 0%;
}

/* No desktop, volta ao padrão coluna */
@media (min-width: 768px) {
  .card-body-flex {
    display: block;
  }
  .card-img-mobile {
    width: 100%;
    height: auto;
    margin-bottom: 12px;
  }
}

/* Classe de animação */
.preco-animado {
  display: inline-block;
  position: relative;
  font-weight: bold;
  animation: destaquePreco 0.3s ease-out forwards;
  overflow: visible;
}

.preco-animado .particle {
  position: absolute;
  width: 6px;
  height: 6px;
  background: yellow;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  animation: particula 0.8s ease-out forwards;
}

@keyframes destaquePreco {
  0% {
    transform: scale(1);
    color: yellow;
    text-shadow: 0 0 5px yellow, 0 0 15px orange, 0 0 25px red;
  }
  40% {
    transform: scale(1.2);
    text-shadow: 0 0 15px yellow, 0 0 30px orange, 0 0 45px red;
  }
  70% {
    transform: scale(1.1);
    color: orange;
  }
  100% {
    transform: scale(1);
    color: black;
    text-shadow: none;
  }
}

@keyframes particula {
  0% {
    opacity: 1;
    transform: translate(0, 0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(var(--x), var(--y)) scale(0.3);
  }
}

#card-ofertas{
  background-color: #ff415a;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}

#card-cervejas{
  background-color: #dbdbdb;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}

#card-destilados{
  background-color: #e5b65b;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}

#card-vinhos{
  background-color: #532f50;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}

#card-whisky{
  background-color: #ca8a1a;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}

#card-vodka{
  background-color: #0d8ede;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}

#card-gin{
  background-color: #1c9052;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}

#card-naoalcoolicos{
  background-color: #ce410f;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}

#card-energeticos{
  background-color: #171823;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}

#card-bomboniere{
  background-color: #e8cba7;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}

#card-churrasco{
  background-color: #000000;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}
