
/* Reset simples */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  background: #f4f6f8;
  color: #333;
}

/* ===== HEADER ===== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #fafcfd;
  border-bottom: 1px solid #ddd;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  z-index: 1000;
}

header img {
  height: 50px;
}

header form {
  display: flex;
  align-items: center;
}

header input[type="search"] {
  padding: 6px 10px;
  border: 1px solid #ccc;
  border-radius: 4px 0 0 4px;
  outline: none;
}

header button {
  padding: 6px 12px;
  border: none;
  background: #1e4a85; /* azul do banner */
  color: #fff;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
  transition: background 0.3s;
}

header button:hover {
  background: #1e4a85; /* azul mais escuro ao passar o mouse */
}

header nav {
  display: flex;
}

header nav a {
  text-decoration: none;
  color: #03cc0b;
  font-weight: bold;
  transition: color 0.3s;
}

header nav a:hover {
  color: #029b08;
}
/* ===== CARROSSEL ===== */
.banner-area {
  /* width: 100%;
  background: #07244b; 
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 0; */
}

.banner {
  width: 100%;
  background: #07254d; /* cor pedida */
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 30px 0;
}

.carousel {
  position: relative;
  width: 90%;
  max-width: 900px;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.slides {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.slides img {
  width: 100%;
  flex-shrink: 0;
  border-radius: 10px;
}

/* Botões de navegação */
.carousel button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: #fff;
  border: none;
  font-size: 24px;
  padding: 8px 12px;
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.3s;
}

.carousel button:hover {
  background: rgba(0,0,0,0.8);
}

.carousel .prev {
  left: 10px;
}

.carousel .next {
  right: 10px;
}
/* Para não esconder conteúdo atrás do header fixo */
main {
  margin-top: 80px;
}

/* ===== BANNER ===== */
.banner img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-bottom: 3px solid #03cc0b;
}

/* ===== PRODUTOS ===== */
.produtos {
  padding: 40px 20px;
  text-align: center;
}

.produtos h2 {
  margin-bottom: 20px;
  font-size: 24px;
  color: #222;
}

.produtos .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.produtos .grid img {
  width: 100%;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #fff;
  transition: transform 0.3s, box-shadow 0.3s;
}

.produtos .grid img:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* ===== FOOTER ===== */
footer {
  background: #333;
  color: #fff;
  text-align: center;
  padding: 15px 10px;
  margin-top: 40px;
  font-size: 14px;
}

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    gap: 10px;
    padding: 15px;
  }

  header nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .banner img {
    max-height: 250px;
  }
}

 .buy-sizes__image {
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.buy-sizes__image img {
    max-width: 100%;
    max-height: 100%;
} 
.buy-sizes {
  text-align: center; /* centraliza o título */
  margin: 0 auto;     /* garante centralização do bloco */
  position: fixed;
  top: 85%;
  left: 50%;
  transform: translate(-50%, -50%);
    
  /* efeito vidro  */
  background: rgba(255, 255, 255, 0.15); 
  /* branco translúcido */
  backdrop-filter: blur(8px);            
  /* desfoque */
  -webkit-backdrop-filter: blur(8px);    
  /* compatibilidade Safari */
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.message-top__content {
    display: flex;          /* coloca os itens lado a lado */
    flex-wrap: wrap;        /* quebra linha se necessário */
    justify-content: center; /* centraliza os itens no container */
    gap: 20px;              /* espaço entre os blocos */
}

.item {
    flex: 0 0 150px;        /* largura fixa para cada bloco */
    text-align: center;     /* centraliza o conteúdo dentro do bloco */
    flex: 1 1 calc(25% - 20px); /* 4 colunas por linha */
    min-width: 120px;           /* garante que não fique muito pequeno */
}

.grid img {
  width: 200px;     /* largura fixa */
  height: 250px;    /* altura fixa */
  object-fit: cover; /* corta a imagem para caber no espaço */
  border-radius: 8px; /* opcional: cantos arredondados */
}

/* modal */
.modal {
  display: none; /* escondido por padrão */
  position: fixed;
  z-index: 1000;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.8);
}
.modal-content {
  margin: auto;
  display: block;
  max-width: 80%;
  max-height: 70%;
}
#caption {
  margin: 10px auto;
  text-align: center;
  color: #fff;
  font-size: 16px;
}
.close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}
.close:hover {
  color: #ccc;
}

.whatsapp {
    position: fixed;
    bottom: 3%;
    right: 1%;
    padding: 2px;
    z-index: 10000000;
}

/* Colunas fixas das marcas com efeito vidro */
.colunas-marcas .coluna-esquerda,
.colunas-marcas .coluna-direita {
  position: fixed;
  top: 100px;
  width: 140px;                  /* um pouco mais largo para destacar o vidro */
  padding: 15px;
  border-radius: 12px;
  z-index: 999;

  /* efeito vidro */
  background: rgba(255, 255, 255, 0.15); /* branco translúcido */
  backdrop-filter: blur(8px);            /* desfoque */
  -webkit-backdrop-filter: blur(8px);    /* compatibilidade Safari */
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.colunas-marcas .coluna-esquerda {
  left: 10px;
}

.colunas-marcas .coluna-direita {
  right: 10px;
}

.colunas-marcas img {
  width: 100%;
  height: auto;
  margin: 10px 0;
  cursor: pointer;
  transition: transform 0.2s;
}

.colunas-marcas img:hover {
  transform: scale(1.08);
}

.marcas {
  display: flex;
  justify-content: center;
  margin: 30px 0;
  /* removido position fixed, volta ao normal */
}

.buy-sizes {
  display: fixed;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  width: 85%;          /* ocupa 90% da largura */
  max-width: 1200px;   /* limite para telas grandes */
}

.buy-sizes .item {
  flex: 1 1 100px;     /* base mínima 100px */
  max-width: 100px;    /* evita ficar gigante em telas largas */
  text-align: center;
}

.buy-sizes__image img {
  width: 100%;
  height: auto;
  max-width: 100px;    /* tamanho padrão das logos */
  margin: 0 auto;
  display: block;
}

.buy-sizes__name {
  margin-top: 5px;
  font-size: 14px;
  font-weight: bold;
}

@media (max-width: 600px) {
  .buy-sizes {
    flex-wrap: nowrap;
    gap: 2px;
    height: 60px;
    min-height: 30px;
    align-items: center;
    overflow-y: auto;
  }
  .buy-sizes .item {
    flex: 0 0 11vw;
    max-width: 11vw;
    min-width: 24px;
    padding: 0px;
  }
  .item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1px;
  }
  .buy-sizes__image {
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
  margin-top: 5px;
    margin-bottom: 1px;
  }
  .buy-sizes__image img {
    max-width: 14px;
    height: 14px;
    margin-bottom: 0;
  }
  .buy-sizes__name {
    font-size: 8px;
    margin-top: 2px;
    line-height: 1.1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    min-width: 0;
  }
  .produtos .grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  .produtos .grid img {
    width: 180px;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    border-radius: 6px;
    display: block;
    margin: 0 auto;
  }
}