.modal-content {
  border-radius: 20px;
  border: none;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}
.modal-header {
  border-bottom: none;
  padding: 30px 30px 10px;
}
.modal-body {
  padding: 10px 30px 30px;
}
.modal-content {
  width: 75% !important;
}

.close-btn {
  background: #f8f9fa;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #666;
  transition: all 0.3s ease;
}
.close-btn:hover {
  background: #e9ecef;
  color: #333;
}
.img-cont img {
  width: 100% !important;
  height: 150px !important;
  object-fit: cover;
  border-radius: 15px;
  border: 3px solid #f8f9fa;
}
.color-selector {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
}
.color-option {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  cursor: pointer;
  border: 3px solid transparent;
  transition: all 0.3s ease;
}
.color-option.selected {
  border-color: #333;
  transform: scale(1.2);
}
.color-red {
  background: #dc3545;
}
.color-green {
  background: #28a745;
}
.color-blue {
  background: #007bff;
}
.size-selector {
  display: flex;
  gap: 20px;
  margin-bottom: 25px;
}
.size-option {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.size-radio {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #dee2e6;
  display: flex;
  align-items: center;
  justify-content: center;
}
.size-radio.selected {
  border-color: #28a745;
}
.size-radio.selected::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #28a745;
}
.quantity-selector {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 30px;
}
.modal-body .quantity-btn {
  width: 40px !important;
  height: 40px !important;
  border: 2px solid #dee2e6;
  background: white;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}
.quantity-btn:hover {
  border-color: #007bff;
  color: #007bff;
}

.quantity-btn:active {
  opacity: 0.7;
}

.quantity-input {
  width: 45px;
  height: 40px;
  text-align: center;
  border: 2px solid #dee2e6;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
}
.quantity-input:focus {
  outline: none;
  border-color: #007bff;
}
.action-buttons {
  display: flex;
  gap: 15px;
}
.btn-add-cart {
  background: #28a745;
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 25px;
  font-weight: 600;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: background 0.3s ease;
  flex: 1;
}
.btn-add-cart:hover {
  background: #218838;
}
.btn-cancel {
  background: white;
  color: #666;
  border: 2px solid #dee2e6;
  padding: 12px 30px;
  border-radius: 25px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  flex: 1;
}
.btn-cancel:hover {
  border-color: #007bff;
  color: #007bff;
}
.section-title {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin-bottom: 15px;
}
.product-title {
  margin-bottom: 10px;
}
.product-price-modal {
  font-size: 24px;
  font-weight: 700;
  color: #e74c3c;
  margin-bottom: 30px;
}


@media screen and (max-width: 991.5px) {
  .modal-dialog {
    width: 100% !important;
  }
  .modal-content {
    width: 100%;
    margin: auto;
  }

  .modal-body .close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 35px;
    height: 35px;
    font-size: 18px;
  }

  .pizza-img {
    height: 300px !important;
  }
  .action-buttons {
    flex-direction: column;
    gap: 10px;
  }
  .btn-add-cart, .btn-cancel {
    width: 100%;
  }
  
}

@media screen and (max-width: 767px) {
  .img-cont img {
    height: 230px !important;
  }

  .product-title {
    font-size: 16px !important;
  }
}

@media screen and (max-width: 575px) {
  .modal-dialog {
    width: 100% !important;
  }

  .modal-content {
    width: 90% !important;
  }

  
}

@media screen and (max-width: 400px) {
  .img-cont img {
    height: 180px !important;
  }
}