
.footer-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

main {
    padding-left: 150px;
    padding-right: 150px;
    background-color: #E4E4E7;
    z-index: 1;
}

.card {
    border: none;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
  }
  .price {
    color: #28a745;
    font-weight: bold;
  }
  .old-price {
    text-decoration: line-through;
    color: gray;
  }
  .quantity-selector {
    display: flex;
    align-items: center;
    gap: 5px;
  }

  .buttonColor1 {
    background-color: #E4E4E7;
  }

  .buttonColor {
    color: #FFFF;
    background-color: #00AFE9;
  }

  .buttonColor:hover {
    color: #FFFF;
    background-color: #0080aa;
  }

  .quantity-selector button {
    border: none;
    background-color: #f0f0f0;
    font-size: 18px;
    width: 35px;
    height: 35px;
    border-radius: 50%;
  }
  .card-main {
  border-radius: 10px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1); 
  overflow: hidden;
  position: relative;
}

.card-main img {
  height: 200px;
  object-fit: cover;
}

.discount-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: #dc3545;
  color: white;
  font-weight: bold;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 0.9rem;
}

.card-title {
  font-size: 1.2rem;
  font-weight: bold;
}

.card-body {
  margin-bottom: 100px;
}

.card-text {
  font-size: 0.9rem;
  color: #6c757d;
}

@media (max-width: 768px) {
    main {
        padding-left: 25px;
        padding-right: 25px;
    }

    .footer-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .footer-buttons button {
        width: 100%;
    }

    .col-md-6,
    .col-12 {
        padding: 0;
    }

    img {
        max-width: 100%;
        height: auto;
    }
}
