html,
body {
    max-width: 100%;
    overflow-x: hidden;
}


/* Estilo Global */
body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    background-color: #FFFFFF;
    color: #333333;
    margin: 0;
    padding: 0;
}

/* 🔹 Seção de Aviso */
#warning-notification {
    text-align: center;
    padding: 0px 20px;
    border-bottom: 2px solid #FFFF;
    width: 100%;
    max-width: 1200px;
    margin: 10px auto;
    box-sizing: border-box;
}

.warning-board {
    background-color: #fff3cd;
    color: #856404;
    border: 2px solid #ffc107;
    border-radius: 8px;
    padding: 15px 20px;
    margin: 20px auto;
    max-width: 600px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    animation: glow 1s ease-in-out infinite;
}

.warning-board h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.warning-board h4 {
    font-size: 1rem;
    margin-top: 12px;
}

.warning-board p {
    font-size: 0.95rem;
    margin-bottom: 8px;
}

@keyframes glow {
    0% {
        text-shadow: 0 0 5px #1E90FF, 0 0 10px #1E90FF, 0 0 15px #1E90FF;
    }

    50% {
        text-shadow: none;
    }

    100% {
        text-shadow: 0 0 5px #1E90FF, 0 0 10px #1E90FF, 0 0 15px #1E90FF;
    }
}

/* Seção de Produtos */
#produtos {
    padding: 15px 20px;
    text-align: center;
    background-color: #F9F9F9;
}

 /* 🔥 Layout em linha (horizontal) para os produtos */
 #product-container {
    display: flex;
    flex-wrap: wrap;
    overflow: hidden;
    transition: max-height 0.5s ease;
    justify-content: center;
    gap: 20px;
 }

 .product-details label {
     display: block;
     font-weight: bold;
     margin-top: 10px;
     color: #333;
     font-size: 14px;
 }

.compact {
    max-height: 400px;
    /* Ajuste conforme necessário */
}

.expanded {
    max-height: none;
    /* Sem limite de altura para mostrar todos os produtos */
}

#toggle-btn {
    display: block;
    margin: 20px auto;
    padding: 12px;
    background-color: #007bff;
    color: white;
    font-size: 1rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s;
}

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

/* 🔹 Container do botão "Finalizar Pedido" */
.finalizar-pedido-container {
    text-align: center;
    margin-top: 10px;
}

.checkout-button {
    padding: 14px;
    background: #28a745;
    color: white;
    font-size: 1rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s;
    display: block;
    margin: 0 auto;
}

.checkout-button:hover {
    background: #218838;
}

/* 🔹 Responsivo */
@media (max-width: 768px) {
    #toggle-btn {
        width: 100%;
    }

    .checkout-button {
        width: 100%;
    }
}

/* 🔹 Garantir altura fixa para todas as imagens no carousel */
.product-carousel .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 250px;
    background: #fff;
}

/* 🔹 Ajustar as imagens dentro do Swiper */
.product-carousel .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-height: 250px;
    border-radius: 8px;
}

.product-carousel {
    flex: 1 1 300px;
    max-width: 380px;
    background: #fff;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    min-height: 450px;
}

/* 🔹 Estilizando o dropdown de seleção de cores */
.product-color {
    width: 50%;
    padding: 8px;
    margin-top: 5px;
    font-size: 14px;
    border: 2px solid #ccc;
    border-radius: 6px;
    background-color: #f9f9f9;
    cursor: pointer;
    transition: border 0.3s ease;
    text-align: center;
}

/* 🔹 Efeito ao passar o mouse */
.product-color:hover {
    border-color: #007bff;
}

 .swiper {
     margin-bottom: 20px;
 }

 .swiper-slide {
     display: flex;
     justify-content: center;
     align-items: center;
     height: 250px;
     background: #fff;
 }

 .swiper-slide img {
     max-width: 100%;
     max-height: 100%;
     object-fit: contain;
     cursor: pointer;
 }

 .cta-buy {
     display: inline-block;
     margin-top: 10px;
     padding: 10px 15px;
     background-color: #28a745;
     color: white;
     text-decoration: none;
     border-radius: 5px;
 }

 .cta-buy:hover {
     background-color: #218838;
 }

 /* 🔥 Responsividade: Ajusta para telas menores */
 @media (max-width: 768px) {
     #product-container {
         flex-direction: column;
         align-items: center;
     }
 }

 @media (max-width: 768px) {
     .product-carousel {
         max-width: 300px;
     }
 }

 /* 🔥 Lightbox */
 .lightbox {
     display: none;
     position: fixed;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     background: rgba(0, 0, 0, 0.8);
     justify-content: center;
     align-items: center;
     z-index: 1000;
 }

 .lightbox img {
     max-width: 90%;
     max-height: 90%;
     border-radius: 10px;
 }

 .lightbox.active {
     display: flex;
 }

 .lightbox .close {
     position: absolute;
     top: 20px;
     right: 20px;
     font-size: 30px;
     color: white;
     cursor: pointer;
     font-weight: bold;
 }

  /* 🔹 Botões de Navegação */
  .lightbox .prev,
  .lightbox .next {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      background: rgba(255, 255, 255, 0.5);
      color: black;
      border: none;
      font-size: 2rem;
      padding: 10px 15px;
      cursor: pointer;
      border-radius: 50%;
      transition: background 0.3s;
  }

  .lightbox .prev {
      left: 20px;
  }

  .lightbox .next {
      right: 20px;
  }

  .lightbox .prev:hover,
  .lightbox .next:hover {
      background: rgba(255, 255, 255, 0.8);
  }

/* Estilos para a seção de projetos */
#projetos {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

#projetos h2 {
    margin-bottom: 20px;
    color: #333;
}

.galeria {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.galeria figure {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 300px;
    text-align: center;
}

.galeria img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.galeria figcaption {
    margin-top: 10px;
    font-size: 16px;
    color: #555;
}

/* Seção de Mídias */
#midias {
    padding: 40px 20px;
    background-color: #FFFFFF;
    text-align: center;
}

.media-gallery {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 20px;
    padding: 10px 0;
    justify-content: center;
}

.media-item {
    flex: 0 0 auto;
    width: 300px;
    text-align: center;
}

.media-item img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.media-item p {
    margin-top: 10px;
    font-size: 16px;
    color: #555555;
}
