@import url('variaveis.css');
@import url('skeleton.css');

/* produto.css — página de detalhe do produto */

* {
  box-sizing: border-box;
  border: 0;
  margin: 0;
  font-family: var(--font-principal);
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.menu-hamburguer,
.menu-mobile,
.overlay-mobile {
    display: none;
}

/* ===== HEADER (idêntico ao produtos.css) ===== */

header {
    width: 100%;
    height: 10vh;

    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 11;

    position: fixed;
    top: 0;
    background-color: var(--cor-branco);
    opacity: 80%;
}

.header{
    width: 90%;
    height: 100%;

    display: flex;
    align-items: center;
    
}

.logo-section {
  display: flex;
  align-items: center;
  width: 5%;
  height: 100%;
}

.logo-section img {
  width: 50px;
  height: 50px;
}

.categoria-section {
  width: 80%;
  height: 100%;
}

.categoria-section .menu-principal {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.categoria-section a {
  text-decoration: none;
  color: var(--cor-preto);
  transition: 0.5s;
}

.categoria-section a:hover {
  color: var(--cor-vermelho-primario);
  transition: 0.5s;
}

.dropdown {
  position: relative;
}

.dropdown-btn {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  font: inherit;
  color: var(--cor-preto);
  transition: 0.5s;
}

.dropdown-btn:hover {
  color: var(--cor-vermelho-primario);
}

.dropdown-btn img {
  width: 12px;
  transition: transform 0.3s ease;
}

.submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 150px;
  background: var(--cor-branco);
  list-style: none;
  padding: 10px 0;
  margin: 8px 0 0 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  border-radius: 6px;
  z-index: 10;
  width: 100%;
}

.submenu li {
  padding: 8px 15px;
}

.submenu li:hover {
  background: var(--cor-cinza-hover);
}

.dropdown.ativo .submenu {
  display: block;
}

.dropdown.ativo .dropdown-btn img {
  transform: rotate(180deg);
}

.carrinho-section {
  width: 5%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.usuario-section {
  color: var(--cor-preto);
  width: 20%;
  height: 100%;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  text-decoration: none;
  transition: 0.5s;
}

.usuario-section:hover {
  color: var(--cor-vermelho-primario);
}

/* ===== MAIN ===== */

main {
  padding-top: 12vh;
  padding-bottom: 6vh;
  width: 100%;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  /* "Produtos semelhantes" quebra para a linha de baixo do produto */
  flex-wrap: wrap;
  align-content: flex-start;
}

#produto-detalhe {
  width: 90%;
  max-width: 1100px;
  padding: 40px 0;
}

.produto-detalhe-card {
  display: flex;
  gap: 60px;
  align-items: flex-start;
}

/* Imagem */
.produto-detalhe-img {
  flex: 1;
  max-width: 480px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.produto-detalhe-img img {
  width: 100%;
  height: 550px;
  object-fit: cover;
  display: block;
}

/* Galeria */
.produto-galeria {
  flex: 1;
  max-width: 480px;
}

.produto-galeria-miniaturas {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.produto-miniatura {
  width: 64px;
  height: 64px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  background: transparent;
  transition: border-color 0.2s, opacity 0.2s;
}

.produto-miniatura img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.produto-miniatura:hover {
  opacity: 0.8;
}

.produto-miniatura.ativa {
  border-color: var(--cor-vermelho-primario);
}

/* Produtos semelhantes (sem "display" aqui: o atributo hidden precisa continuar escondendo a seção) */
.semelhantes {
  width: 90%;
  max-width: 1100px;
  margin-top: 56px;
}

.semelhantes-topo {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 20px;
}

.semelhantes-topo h2 {
  font-size: 1.4rem;
  color: var(--cor-preto);
}

.semelhantes-ver-todos {
  font-size: 14px;
  font-weight: 600;
  color: var(--cor-vermelho-primario);
  text-decoration: none;
  white-space: nowrap;
}

.semelhantes-ver-todos:hover {
  text-decoration: underline;
}

.semelhantes-lista {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.semelhante-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-bottom: 16px;
  background: var(--cor-branco);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  color: var(--cor-preto);
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.semelhante-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.semelhante-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.semelhante-nome {
  padding: 0 14px;
  font-size: 14px;
  line-height: 1.35;
  min-height: 2.7em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.semelhante-preco {
  padding: 0 14px;
  font-weight: 700;
  color: var(--cor-verde-primario);
}

.semelhante-preco s {
  margin-right: 6px;
  font-size: 12px;
  font-weight: 400;
  color: var(--cor-cinza-texto-secundario);
}

.semelhante-card .unidade-de-medida {
  padding: 0 14px;
  font-size: 12px;
}

.semelhante-skeleton .skeleton-semelhante-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 0;
}

.semelhante-skeleton .skeleton-texto {
  width: auto;
  margin: 0 14px;
}

.semelhante-skeleton .skeleton-texto.curto {
  width: 40%;
}

/* Link do produto esgotado: só aparece se a seção de semelhantes tiver cards de verdade */
.link-semelhantes {
  display: none;
  align-self: flex-start;
  font-size: 14px;
  font-weight: 600;
  color: var(--cor-vermelho-primario);
}

body:has(#produtos-semelhantes:not([hidden]) .semelhante-card:not(.semelhante-skeleton)) .link-semelhantes {
  display: inline-block;
}

/* Skeleton: mesma estrutura do .produto-detalhe-card real */
.skeleton-detalhe-img {
  flex: 1;
  max-width: 480px;
  height: 550px;
  border-radius: 12px;
}

.skeleton-detalhe-titulo {
  width: 80%;
  height: 36px;
}

.skeleton-detalhe-preco {
  width: 30%;
  height: 32px;
}

.skeleton-detalhe-botao {
  width: 100%;
  max-width: 460px;
  height: 48px;
  border-radius: 8px;
}

/* Info */
.produto-detalhe-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.produto-categoria {
  text-transform: capitalize;
  font-size: 13px;
  color: var(--cor-cinza-texto-secundario);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.produto-detalhe-info h1 {
  font-size: 2rem;
  line-height: 1.2;
  color: var(--cor-preto);
}

.produto-preco-antigo {
  font-size: 1rem;
  color: var(--cor-cinza-texto-secundario);
  text-decoration: line-through;
  margin-bottom: 4px;
}

.div-preço-e-qual-unidade{
  display: flex;
  align-items: center;
  justify-content: start;
  gap:10px;
}

.unidade-de-medida{
  font-size: 15px;
  color: var(--cor-cinza-texto-secundario);
}

.produto-preco {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--cor-vermelho-primario);
}

.produto-estoque {
  margin: 10px 0;
}

.produto-estoque h3 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--cor-cinza-texto-secundario);
  margin-bottom: 8px;
}

.estoque-disponivel {
  color: var(--cor-verde-primario);
  font-weight: 600;
}

.estoque-indisponivel {
  color: var(--cor-vermelho-primario);
  font-weight: 600;
}

.produto-descricao h3,
.produto-ingredientes h3 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--cor-cinza-texto-secundario);
  margin-bottom: 8px;
}

.produto-descricao p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--cor-preto);
  white-space: pre-line;
}

.produto-ingredientes ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
}

.produto-ingredientes ul li {
  background: var(--cor-cinza-hover);
  border-radius: 20px;
  padding: 5px 14px;
  font-size: 13px;
  color: var(--cor-preto);
  text-transform: capitalize;
}

/* Ações */
/* Quantidade e "Adicionar ao carrinho" sempre lado a lado */
.produto-acoes {
  display: flex;
  align-items: stretch;
  gap: 12px;
  flex-wrap: nowrap;
  width: 100%;
  max-width: 460px;
}

.produto-quantidade {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 0;
  border: 2px solid var(--cor-cinza-borda);
  border-radius: 8px;
  overflow: hidden;
}

.produto-quantidade button {
  width: 40px;
  height: 44px;
  background: var(--cor-cinza-hover);
  font-size: 20px;
  cursor: pointer;
  border: none;
  transition: background 0.2s;
}

.produto-quantidade button:hover {
  background: var(--cor-cinza-borda);
}

.produto-quantidade span {
  min-width: 48px;
  text-align: center;
  font-size: 18px;
  font-weight: 700;
}

.btn-add-carrinho {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  border: none;
  border-radius: 8px;
  background: transparent;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
  font-size: 15px;
  font-family: var(--font-principal);
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
  font-weight: 600;
}

.btn-add-carrinho:hover {
  background: var(--cor-cinza-hover);
}

.btn-add-carrinho img {
  width: 22px;
  height: 22px;
}

.btn-voltar {
  display: inline-block;
  color: var(--cor-cinza-texto-secundario);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}

.btn-voltar:hover {
  color: var(--cor-vermelho-primario);
}

/* Estados de carregamento/erro */
.erro-produto {
  font-size: 18px;
  color: var(--cor-cinza-texto-secundario);
  text-align: center;
  margin-top: 80px;
}

/* ===== FOOTER ===== */

footer {
  background-color: var(--cor-footer-fundo);
  width: 100%;
  height: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
}

.redes-section {
  width: 30%;
  height: 10vh;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}

.redes-section img {
  width: 1.5vw;
}

.navegacao-section,
.navegacao-section a {
  width: 80%;
  height: 10vh;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  list-style-type: none;
  color: var(--cor-footer-texto);
  text-decoration: none;
}

.pagamentos-section {
  width: 50%;
  height: 10vh;
  display: flex;
  justify-content: space-evenly;
  align-items: start;
}

.pagamentos-section div {
  width: 7%;
  height: 50%;
  border: 0.5px solid var(--cor-footer-texto);
  display: flex;
  justify-content: center;
  align-items: center;
}

.pagamentos-section div img {
  width: 100%;
  height: 100%;
}

footer p {
  font-size: 15px;
  color: var(--cor-footer-texto);
}

/* ===== CARRINHO DRAWER (idêntico ao produtos.css) ===== */

.carrinho-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s ease;
  z-index: 2;
}

.carrinho-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 400px;
  max-width: 90%;
  height: 100vh;
  background: var(--cor-branco);
  box-shadow: -2px 0 12px rgba(0, 0, 0, 0.12);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  z-index: 999;
  display: flex;
  flex-direction: column;
}

.carrinho-drawer.ativo {
  transform: translateX(0);
}

.carrinho-overlay.ativo {
  opacity: 1;
  visibility: visible;
}

.carrinho-topo {
  width: 100%;
  min-height: 80px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--cor-cinza-borda);
}

.fechar-carrinho {
  width: 20%;
  height: 100%;
  border: none;
  background: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.fechar-carrinho img {
  width: 20px;
  height: 20px;
}

.txtCarrinho {
  width: 80%;
  height: 100%;
  display: flex;
  align-items: center;
}

.txtCarrinho h1 {
  font-size: 24px;
  margin: 0;
}

.produto-carrinho {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
}

.item-carrinho {
  display: flex;
  gap: 15px;
  padding: 15px 0;
  border-bottom: 1px solid var(--cor-cinza-borda);
}

.item-carrinho-img {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
}

.item-carrinho-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.item-carrinho-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

.item-carrinho-info h3 {
  font-size: 16px;
  margin: 0;
}

.item-carrinho-info p {
  margin: 0;
  font-size: 14px;
}

.item-carrinho-info button {
  background-color: transparent;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.item-carrinho-info button:hover {
  background-color: var(--cor-cinza-borda);
  transition: 0.5s;
}

.item-carrinho-info button img {
  width: 20px;
}

.carrinho-vazio {
  font-size: 16px;
  text-align: center;
  margin-top: 30px;
}

.carrinho-login-aviso {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
  gap: 20px;
  padding: 40px 20px;
}
.carrinho-login-aviso p {
  font-size: 18px;
  color: var(--cor-preto);
  margin: 0;
}
.btn-carrinho-login {
  display: inline-block;
  padding: 12px 32px;
  background: var(--cor-preto);
  color: var(--cor-branco);
  text-decoration: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s;
}
.btn-carrinho-login:hover {
  background: var(--cor-preto-hover);
}

.controle-qtd {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 8px 0;
}

.controle-qtd button {
  width: 28px;
  height: 28px;
  border: none;
  background: transparent;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  color: var(--cor-preto);
  border-radius: 6px;
  cursor: pointer;
}

.controle-qtd span {
  font-size: 16px;
  min-width: 20px;
  text-align: center;
}

.carrinho-rodape {
  width: 100%;
  padding: 20px;
  border-top: 1px solid var(--cor-cinza-borda);
  background: var(--cor-branco);
}

.total-carrinho {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  font-size: 18px;
}

.btn-finalizar-pedido {
  width: 100%;
  height: 45px;
  border: none;
  background: transparent;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  color: var(--cor-preto);
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
}

.btn-finalizar-pedido:hover {
  background-color: rgb(235, 235, 235);
  transition: 0.5s;
}

.carrinho-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.badge-carrinho {
  position: absolute;
  top: -5px;
  right: -8px;
  background: var(--cor-vermelho-primario);
  color: var(--cor-branco);
  font-size: 12px;
  font-weight: bold;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

/* ===== RESPONSIVO ===== */

@media (max-width: 900px) {
  .produto-detalhe-card {
    flex-direction: column;
    gap: 30px;
  }

  .produto-detalhe-img {
    max-width: 100%;
  }

  .produto-galeria {
    max-width: 100%;
  }

  .produto-acoes {
    max-width: 100%;
  }

  /* semelhantes viram uma fileira com rolagem lateral; o próximo card aparece cortado */
  .semelhantes {
    margin-top: 40px;
  }

  .semelhantes-topo {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .semelhantes-topo h2 {
    font-size: 1.2rem;
  }

  .semelhantes-lista {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 42%;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 10px;
  }

  .semelhante-card {
    scroll-snap-align: start;
  }

  /* em coluna o skeleton não tem conteúdo que defina largura/altura */
  .skeleton-detalhe-img,
  .produto-detalhe-skeleton .produto-detalhe-info {
    flex: none;
    width: 100%;
    max-width: 100%;
  }

  header {
    width: 100%;
    left: 0;
    padding: 0 16px;
    justify-content: space-between;
  }

  .categoria-section {
    display: none;
  }

  .redes-section img {
    width: 24px;
    height: 24px;
  }

  .navegacao-section,
  .navegacao-section a {
    width: 100%;
    flex-direction: column;
    height: auto;
    gap: 10px;
    text-align: center;
  }

  footer {
    height: auto;
    padding: 32px 16px;
    gap: 20px;
  }

  .pagamentos-section {
    width: 80%;
  }

    .pagamentos-section div {
      width: 14%;
      height: auto;
    }
}

/* ===== MOBILE MENU (≤ 1000px) ===== */
@media (max-width: 1000px) {

    /* Header */
    header {
        width: 100%;
        height: 10vh;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .header{
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .logo-section {
        order:1;
        width: auto;
    }

    .categoria-section {
        display: none;
    }

    .carrinho-section{
        order:2;
    }

    .usuario-section {
        display: none;
    }

    .produto-galeria{
      width: 100%;
    }

    /* Hamburger button */
    .menu-hamburguer {
        display: flex;
        align-items: center;
        justify-content: center;
        margin-left: 0;
        background: none;
        border: none;
        cursor: pointer;
        color: var(--cor-preto);
    }

    /* Mobile nav panel */
    .menu-mobile {
        display: flex;
        position: fixed;
        top: 0;
        left: 0;
        width: 280px;
        height: 100vh;
        background: var(--cor-branco);
        flex-direction: column;
        z-index: 1000;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        box-shadow: 2px 0 12px rgba(0, 0, 0, 0.12);
        overflow-y: auto;
    }

    .menu-mobile.ativo {
        transform: translateX(0);
    }

    /* Overlay */
    .overlay-mobile {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.4);
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transition: 0.3s ease;
    }

    .overlay-mobile.ativo {
        opacity: 1;
        visibility: visible;
    }

    /* Mobile nav top */
    .menu-mobile-topo {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 16px;
        border-bottom: 1px solid var(--cor-cinza-borda);
    }

    .menu-mobile-topo .logo-section {
        width: auto;
        height: auto;
    }

    .menu-fechar {
        background: none;
        border: none;
        cursor: pointer;
        color: var(--cor-preto);
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Mobile nav links */
    .menu-mobile-links {
        list-style: none;
        padding: 0;
        margin: 0;
        flex: 1;
    }

    .menu-mobile-links li {
        border-bottom: 1px solid var(--cor-cinza-hover);
    }

    .menu-mobile-links a {
        display: block;
        padding: 14px 20px;
        text-decoration: none;
        color: var(--cor-preto);
        font-size: 15px;
    }

    .menu-mobile-links a:hover {
        background: var(--cor-cinza-hover);
        color: var(--cor-vermelho-primario);
    }

    /* Mobile dropdown */
    .dropdown-mobile-btn {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 14px 20px;
        background: none;
        border: none;
        cursor: pointer;
        font: inherit;
        font-size: 15px;
        color: var(--cor-preto);
    }

    .dropdown-mobile-btn:hover {
        background: var(--cor-cinza-hover);
        color: var(--cor-vermelho-primario);
    }

    .dropdown-mobile-btn svg {
        transition: transform 0.3s ease;
    }

    .dropdown-mobile.ativo .dropdown-mobile-btn svg {
        transform: rotate(180deg);
    }

    .submenu-mobile {
        display: none;
        list-style: none;
        padding: 0;
        background: var(--cor-off-white);
    }

    .dropdown-mobile.ativo .submenu-mobile {
        display: block;
    }

    .submenu-mobile li a {
        padding-left: 40px;
        font-size: 14px;
    }

    /* Mobile nav footer */
    .menu-mobile-footer {
        border-top: 1px solid var(--cor-cinza-borda);
        padding: 16px;
    }

    .menu-mobile-usuario {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 12px 20px;
        text-decoration: none;
        color: var(--cor-preto);
        border-radius: 8px;
    }

    .menu-mobile-usuario:hover {
        background: var(--cor-cinza-hover);
        color: var(--cor-vermelho-primario);
    }

    footer {
        width: 100%;
        height: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }
.redes-section {
        width: 80%;
        height: 150px;
    }

    .navegacao-section,
    .navegacao-section a {
        width: 100%;
        height: 100%;
        padding: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        font-size: 15px;
        padding-bottom: 20px;
    }

      .pagamentos-section {
        display: flex;
        justify-content: space-around;
        align-items: center;
        width: 90%;
        height: 100px;
    }

    .pagamentos-section div {
        width: 15%;
        height: 40%;
        padding: 0.5%;
        border: 0.5px solid var(--cor-footer-texto);
    }

    .pagamentos-section div img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

     footer p{
        display: flex;
        justify-content: center;
        align-items: center;
        width: 90%;
        height: 100px;
        text-align: center;
    }
}

/* ===== CELULARES PEQUENOS (≤ 480px) ===== */
@media (max-width: 480px) {

    .produto-acoes {
      gap: 8px;
    }

    .produto-quantidade button {
      width: 34px;
    }

    .produto-quantidade span {
      min-width: 36px;
      font-size: 16px;
    }

    .btn-add-carrinho {
      padding: 10px 12px;
      gap: 6px;
      font-size: 14px;
      line-height: 1.2;
    }

    .btn-add-carrinho img {
      width: 18px;
      height: 18px;
      flex-shrink: 0;
    }
}
