.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(10, 25, 41, 0.95);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal.show {
  display: block;
  opacity: 1;
}

.modal-content {
  background: linear-gradient(145deg, #132540, #0e1e35);
  margin: 5% auto;
  padding: 0;
  border-radius: 15px;
  width: 90%;
  max-width: 800px;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.5);
  position: relative;
  transform: translateY(-50px);
  transition: transform 0.3s ease;
}

.modal.show .modal-content {
  transform: translateY(0);
}

.close-modal {
  position: absolute;
  top: 20px;
  right: 25px;
  font-size: 28px;
  font-weight: bold;
  color: #f0f6fc;
  cursor: pointer;
  z-index: 10;
  transition: color 0.3s ease;
}

.close-modal:hover {
  color: #f48835;
}

.modal-body {
  display: flex;
  flex-direction: column;
}

@media (min-width: 992px) {
  .modal-body {
    flex-direction: row;
  }
}

.modal-image {
  flex: 1;
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.1);
}

.modal-image img {
  max-width: 100%;
  max-height: 300px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.modal-info {
  flex: 1;
  padding: 30px;
}

.modal-info h2 {
  text-align: left;
  margin-bottom: 15px;
  color: #f0f6fc;
  font-size: 2rem;
}

.modal-price {
  font-size: 1.8rem;
  font-weight: 700;
  color: #f48835;
  margin-bottom: 20px;
}

.modal-description {
  color: #a8b3cf;
  margin-bottom: 30px;
  line-height: 1.6;
}

.modal-actions {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

/* Estilos para cards de produtos */
.produtos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 50px;
}

.produto-card {
  background: linear-gradient(145deg, #132540, #0e1e35);
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  position: relative;
  display: flex;
  flex-direction: column;
}

.produto-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.produto-image {
  height: 200px;
  overflow: hidden;
}

.produto-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.produto-card:hover .produto-image img {
  transform: scale(1.05);
}

.produto-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.produto-content h3 {
  font-size: 1.3rem;
  color: #f0f6fc;
  margin-bottom: 10px;
  min-height: 60px;
}

.produto-price {
  font-size: 1.4rem;
  font-weight: 700;
  color: #f48835;
  margin-bottom: 15px;
}

.produto-actions {
  margin-top: auto;
  display: flex;
  gap: 10px;
}

.btn-detalhes {
  background: transparent;
  color: #f48835;
  border: 1px solid #f48835;
  padding: 8px 15px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  flex: 1;
  text-align: center;
  cursor: pointer;
}

.btn-detalhes:hover {
  background: rgba(244, 136, 53, 0.1);
}

.btn-comprar {
  background: #f48835;
  color: #0b2034;
  border: none;
  padding: 8px 15px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  flex: 1;
  text-align: center;
  cursor: pointer;
}

.btn-comprar:hover {
  background: #ff9a52;
  transform: translateY(-2px);
}
