@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500&family=Poppins:wght@500;600&display=swap');

.cotizador-wrapper {
  max-width: 1000px;
  margin: auto;
  font-family: 'Inter', sans-serif;
}

.cotizador-item {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 15px;
  padding: 15px;
  border-bottom: 1px solid #eee;
  cursor: pointer;
  transition: 0.25s ease;
}

.cotizador-item:hover {
  background: #fafafa;
}

.cotizador-item.selected {
  border: 2px solid #e10600;
  background: #fff3f3;
}

.cotizador-img img {
  width: 100%;
  border-radius: 10px;
  cursor: zoom-in;
}

.cotizador-info {
  align-self: center;
}

.cotizador-title {
  font-family: 'Poppins', sans-serif;
  font-size: 17px;
  font-weight: 600;
  margin: 0 0 6px;
  color: #111;
}

.cotizador-short-desc {
  font-size: 14px;
  color: #555;
  line-height: 1.5;
  margin-bottom: 6px;
}

.sku {
  font-size: 12px;
  color: #888;
}

.cotizador-price {
  font-size: 18px;
  font-weight: 600;
  color: #e10600;
  align-self: center;
  white-space: nowrap;
}

.cotizador-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 10px;
  border-top: 2px solid #eee;
  margin-top: 20px;
}

.cotizador-total {
  font-size: 18px;
  font-weight: 600;
}

#cotizador-checkout {
  background: #e10600;
  color: #fff;
  border: none;
  padding: 12px 26px;
  font-size: 16px;
  border-radius: 8px;
  cursor: pointer;
}

#cotizador-checkout:hover {
  background: #b50400;
}

/* LIGHTBOX */
#cotizador-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: 0.3s ease;
  z-index: 9999;
}

#cotizador-lightbox.active {
  opacity: 1;
  pointer-events: all;
}

#cotizador-lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 14px;
  transform: scale(0.85);
  transition: 0.3s ease;
}

#cotizador-lightbox.active img {
  transform: scale(1);
}

.cotizador-close {
  position: absolute;
  top: 20px;
  right: 25px;
  color: #fff;
  font-size: 34px;
  cursor: pointer;
}

/* MÓVIL */
@media (max-width: 768px) {
  .cotizador-item {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .cotizador-price {
    font-size: 20px;
  }

  .cotizador-footer {
    flex-direction: column;
    gap: 15px;
  }
}
