/* RESET E BASE */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Inter', sans-serif;
  background: #fffdfd;
  color: #333;
  line-height: 1.5;
}

h1, h2, h3, .container h1, .kit-info h2 {
  font-family: 'Inter', sans-serif;
}

a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  display: block;
}

/* CONTAINER GERAL */
.container {
  max-width: 1320px;
  margin: auto;
  padding: 40px 20px;
}
.container h1 {
  text-align: center;
  font-size: 32px;
  margin-bottom: 40px;
  color: #333;
}

/* GRID DE KITS */
.kits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
@media (max-width: 1024px) {
  .kits-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 768px) {
  .kits-grid {
    grid-template-columns: 1fr;
  }
}
.kit-card.escondido {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  width: 0;
  height: 0;
  margin: 0;
  padding: 0;
}


/* CARD DO KIT */
.kit-card {
  background: #fff;
  border-radius: 16px;
  overflow: visible;
  position: relative;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  transition: transform 0.3s ease;
  padding: 8px;
}
.kit-card:hover {
  transform: translateY(-5px);
}

/* ÁREA DAS IMAGENS */
.kit-images {
  position: relative;
  width: 100%;
  height: 300px;
  background: #f5f5f5;
  overflow: hidden;
  border-radius: 10px;
}
.kit-images img {
  position: absolute;
  width: 92%;
  height: 92%;
  top: 4%;
  left: 4%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.kit-images img.show {
  opacity: 1;
}

/* SETAS DE NAVEGAÇÃO DAS IMAGENS */
.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: white;
  font-size: 18px;
  padding: 8px 12px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  z-index: 10;
}
.arrow-left {
  left: 4px;
}
.arrow-right {
  right: 4px;
}
.arrow:hover {
  background: rgba(0,0,0,0.75);
}
@media (max-width: 768px) {
  .arrow {
    display: none;
  }
}

/* INFORMAÇÕES DO KIT */
.kit-info {
  padding: 20px;
  text-align: center;
}
.kit-info h2 {
  font-size: 20px;
  color: #b30000;
  margin-bottom: 12px;
}
.kit-info .descricao {
  font-size: 14px;
  color: #555;
  margin: 12px 0;
  line-height: 1.4;
  text-align: left;
}
.kit-info .preco {
  font-size: 26px;
  font-weight: bold;
  color: #111;
  margin-bottom: 20px;
}

/* GRUPO PREÇO + VER DETALHES */
.kit-info .preco-detalhes {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 12px 0;
}
.kit-info .preco-detalhes .preco {
  font-size: 24px;
  font-weight: bold;
  color: #111;
}
.kit-info .preco-detalhes .ver-detalhes {
  font-size: 14px;
  color: #b30000;
  text-decoration: none;
  transition: color 0.3s;
}
.kit-info .preco-detalhes .ver-detalhes:hover {
  color: #8a0000;
}

/* BOTÕES */
.kit-buttons {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
.kit-buttons a,
.kit-buttons span {
  background: #b30000;
  color: white;
  padding: 10px 18px;
  font-size: 15px;
  border-radius: 10px;
  transition: background 0.3s;
}
.kit-buttons a:hover,
.kit-buttons span:hover {
  background: #8a0000;
}
.kit-buttons a.comprar {
  display: block;
  width: 100%;
  text-align: center;
  background: #b30000;
  color: #fff;
  padding: 14px 0;
  font-size: 16px;
  border-radius: 10px;
  transition: background 0.3s;
  font-weight: bold;
}
.kit-buttons a.comprar:hover {
  background: #8a0000;
}

/* EXPANSÃO DOS PRODUTOS */
.produtos-kit {
  width: 100%;
  flex-basis: 100%;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
  padding: 0 20px;
  border-top: 1px solid #eee;
  text-align: left;
}
.produtos-kit.aberto {
  padding: 20px;
  max-height: 600px;
}
.produtos-kit ul {
  margin: 0;
  padding-left: 20px;
}
.produtos-kit li {
  margin-bottom: 8px;
  font-size: 14px;
}

/* MODAL DE ZOOM */
.modal-zoom {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.85);
  justify-content: center;
  align-items: center;
  flex-direction: column;
  overflow: hidden;
}
.modal-zoom-content {
  position: relative;
  width: 90%;
  max-width: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-zoom img {
  max-width: 100%;
  max-height: 90vh;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.modal-zoom img.show {
  opacity: 1;
}
.modal-zoom .fechar-zoom {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 32px;
  color: white;
  cursor: pointer;
  font-weight: bold;
  z-index: 1000;
}
.modal-zoom .arrow-zoom {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  border: none;
  color: white;
  font-size: 24px;
  padding: 10px 14px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 1000;
}
.modal-zoom .arrow-zoom-left {
  left: 10px;
}
.modal-zoom .arrow-zoom-right {
  right: 10px;
}
.modal-zoom .arrow-zoom:hover {
  background: rgba(0,0,0,0.8);
}
.modal-zoom-text {
  color: #fff;
  font-size: 14px;
  margin-bottom: 10px;
  opacity: 0.8;
}
@media (max-width: 768px) {
  .modal-zoom .arrow-zoom {
    display: none;
  }
}

/* RESPONSIVIDADE MOBILE */
@media (max-width: 768px) {
  .kit-card {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 16px;
    padding: 14px;
  }

  .kit-images {
    width: 140px;
    height: 140px;
    flex-shrink: 0;
    border-radius: 12px;
  }

  .kit-images img {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    position: absolute;
    border-radius: 12px;
  }

  .kit-info {
    flex: 1;
    padding: 0;
    text-align: left;
  }

  .kit-info h2 {
    font-size: 18px;
    margin-bottom: 6px;
    line-height: 1.3;
  }

  .kit-info .descricao {
    font-size: 13px;
    margin-bottom: 8px;
    line-height: 1.4;
    color: #555;
  }

  .kit-info .preco {
    font-size: 20px;
    margin-bottom: 12px;
    font-weight: bold;
  }

  .kit-info .preco-detalhes {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    margin: 12px 0;
  }

  .kit-info .preco-detalhes .preco {
    font-size: 26px;
    font-weight: bold;
    color: #111;
  }

  .kit-info .preco-detalhes .ver-detalhes {
    font-size: 14px;
    color: #b30000;
    text-decoration: none;
    transition: color 0.3s;
  }

  .kit-info .preco-detalhes .ver-detalhes:hover {
    color: #8a0000;
  }

  .kit-buttons {
    width: 100%;
    padding-top: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }

  .kit-buttons a.comprar {
    width: 100%;
    padding: 14px 0;
    font-size: 16px;
    text-align: center;
    background: #b30000;
    color: #fff;
    border-radius: 10px;
    margin-top: 10px;
    font-weight: bold;
    transition: background 0.3s;
  }

  .kit-buttons a.comprar:hover {
    background: #8a0000;
  }

  .kit-buttons a:not(.comprar),
  .kit-buttons span {
    font-size: 13px;
    padding: 8px 14px;
    border-radius: 8px;
    background: #b30000;
    color: white;
    transition: background 0.3s;
  }

  .kit-buttons a:not(.comprar):hover,
  .kit-buttons span:hover {
    background: #8a0000;
  }

  .produtos-kit {
    flex-basis: 100%;
    width: 100%;
    padding: 0 10px;
    margin-top: 10px;
    border-top: 1px solid #eee;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.5s ease;
  }

  .produtos-kit.aberto {
    padding: 10px;
    max-height: 600px;
  }
}
/* PREÇO DESTACADO */
.preco-destaque {
  font-size: 30px;
  color: #b30000;
  font-weight: bold;
  margin: 16px 0 10px;
  line-height: 1.2;
  text-align: center;
}

/* Responsivo para mobile */
@media (max-width: 768px) {
  .preco-destaque {
    font-size: 30px;
    text-align: left;
    margin: 12px 0 6px;
  }
}
.ver-mais-wrapper {
  margin-top: 12px;
  text-align: center;
}

.ver-mais-wrapper .ver-detalhes {
  font-size: 14px;
  color: #b30000;
  text-decoration: underline;
  transition: color 0.3s;
}

.ver-mais-wrapper .ver-detalhes:hover {
  color: #8a0000;
}

/* Mobile: alinhamento à esquerda se desejar */
@media (max-width: 768px) {
  .ver-mais-wrapper {
    text-align: left;
    margin-top: 8px;
  }
}
