
/* ==========================================================================
   Gallery Images
   ========================================================================== */
  
  .lightbox {
    position: fixed;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    height: 100%;
    width: 100%;
    left: 0;
    top: 0;
    transform: translateY(-100%);
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    z-index: 1010;
  }

  .lightbox:has(div:target) {
    transform: translateY(0%);
    opacity: 1;
  }

  .lightbox a.nav {
    text-decoration: none;
    color: white;
    font-size: 40px;
    text-shadow: 0 2px 2px rgba(0, 0, 0, 0.8);
    opacity: 0.5;
    font-weight: 200;
    transform: scale(3);
  }

  .lightbox a.nav:hover {
    opacity: 1;
  }

  .lightbox .target {
    position: absolute;
    height: 100%;
    width: 100%;
    display: flex;
    transform: scale(0);
    align-items: center;
    justify-content: space-between;
  }

  .lightbox .target *:first-child, .lightbox .target *:last-child {
    flex: 0 0 100px;
    text-align: center;
  }

  @media all and (max-width: 600px) {
    .lightbox .target *:first-child, .lightbox .target *:last-child {
      flex: 0 0 50px;
    }
  }

  .lightbox .target .content {
    transform: scale(1);
    background-color: #2f3335;
    opacity: 0;
    align-self: center;
    max-height: 100%;
    min-height: 0;
    min-width: 0;
    border-radius: 2px;
    overflow: hidden;
    box-shadow: 0 0 0 2px white, 0 3px 3px 2px rgba(0, 0, 0, 0.6);
    transition: transform 0.25s ease-in-out, opacity 0.25s ease-in-out;
  }

  .lightbox .target .content img {
    min-width: 80%;
    min-height: 80%;
    max-width: 100%;
    max-height: calc(80vh - 80px);
    display: block;
    margin: 0;
  }

  .lightbox .target:target {
    transform: scale(1);
  }

  .lightbox .target:target .content {
    transform: scale(1);
    opacity: 1;
  }

  .lightbox .close {
    position: absolute;
    color: white;
    right: 20px;
    top: 10px;
    text-decoration: none;
    font-size: 40px;
    text-shadow: 0 2px 2px rgba(0, 0, 0, 0.8);
    opacity: 0.6;
    font-weight: 200;
  }

  .lightbox .close:hover {
    opacity: 1;
  }

  .lightbox .flag {
    position: absolute;
    color: white;
    left: 10px;
    top: 5px;
    text-decoration: none;
    font-size: 30px;
    text-shadow: 0 2px 2px rgba(0, 0, 0, 0.8);
    opacity: 0.6;
    transform: scale(2);
    padding-left: 10px;
  }

  .lightbox .flag:hover {
    opacity: 1;
  }


  /* Estilos para os botões abaixo da imagem */
/* Estilos para os botões abaixo da imagem */
.button-container {
    display: flex;
    justify-content: space-between;
    width: 100%; /* Garantir que ocupe toda a largura */
    margin-top: 10px;
  }
  
  .button-container .btn {
    padding: 10px;
    font-size: 16px;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  
  .button-container .favorite-btn {
    background-color: #2196F3;
    flex: 0 0 20%; /* Favoritar ocupa 20% do espaço */
    min-width: 20%;
  }
  
  .button-container .cart-btn {
    background-color: #4CAF50; 
    flex: 0 0 80%; /* Adicionar ao Carrinho ocupa 80% do espaço */
    min-width: 80%;
  }
  
  .button-container .btn:hover {
    opacity: 0.8;
  }
  
  /* Responsividade */
  @media (max-width: 600px) {
    .button-container {
      flex-direction: column; /* Torna os botões empilhados em telas menores */
    }
  
    .button-container .btn {
      width: 100%; /* Faz os botões ocuparem toda a largura em dispositivos móveis */
      margin-bottom: 10px; /* Adiciona espaçamento entre os botões */
    }
  
    .button-container .favorite-btn {
      flex: 0 0 100%; /* Favoritar ocupa toda a largura em dispositivos móveis */
    }
  
    .button-container .cart-btn {
      flex: 0 0 100%; /* Adicionar ao Carrinho ocupa toda a largura em dispositivos móveis */
    }
  }
  
  