body {
  font-family: Arial, sans-serif;
  text-align: center;
}
main {
  margin-top: 40px;
}
button {
  background-color: #4caf50;
  color: white;
  padding: 10px 20px;
  border: none;
  padding: 3px 16px;
  cursor: pointer;
  border-radius: 3px;
}
main h2 {
  font-size: 24px;
  text-align: start;
  position: relative;
}

button:hover {
  background-color: #45a049;
}
.cart-items {
  margin-top: 50px;
}
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.3s ease;
}

.modal-content {
  background: white;
  padding: 20px;
  border-radius: 5px;
  width: 461px;
  max-height:100%;
  text-align: left;
  text-align: center;
}
.modal-content input {
  width: 100%;
  border: 0;
  padding: 5px;
  font-size: 16px ;
  border-bottom: 1px solid black;
}
#customer-comment{
    width: 100%;
    height: 150px;
    padding: 5px;
    font-size: 16px;
}
#confirmOrder{
    height: 40px;
    font-size: 16px;
}
.hidden {
  display: none;
}
 .basketFooter{
margin-top: 100px;}

.opacity-0 {
  opacity: 0;
}

.opacity-100 {
  opacity: 1;
}

.close {
  float: right;
  cursor: pointer;
  font-size: 24px;
}

.product_main_box {
  display: flex;
  align-items: center;
  width: 100%;
}
.product_main_box {
  border: 2px solid black;
  border-radius: 10px;
  padding: 15px;
  gap: 50px;
  margin-bottom: 40px;
}

.left_img img {
  height: 100%;
  width: 180px;
}
.right_blocks {
  text-align: start;
  width: 100%;
}

.right_blocks h1 {
  font-size: 22px;
  font-weight: 800;
}
.desription {
  font-size: 15px;
  font-weight: 400;
  line-height: 24px;
  color: #5e5e5e;
  margin: 17px 0 25px;
}

.price_deletBlock {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 50px;
}
.price_deletBlock p {
}

.remove-item {
  height: 30px;
  border-radius: 5px;
  background-color: red;
  color: white;
  font-weight: 600;
  transition: 0.4s ease-in;
}
.remove-item:hover {
  background-color: gainsboro;
  transition: 0.4s ease-in;
}

.xazrat {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.clear-cart {
  height: 35px;
  background-color: red;
  transition: 0.4s ease;
  font-weight: 600;
}
.clear-cart:hover {
  background-color: gainsboro;
  transition: 0.4s ease;
  color: black;
}
.quantity-controls {
  display: flex;
  align-items: center;
  gap: 15px;
}
.litakk {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.checkout-btn {
  max-width: 100%;
}
.checkout-btn {
  background: linear-gradient(135deg, #007a29, #35a700);
  color: white;
  font-size: 16px;
  font-weight: bold;
  padding: 12px 20px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  display: inline-block;

  transition: 0.4s ease-in-out;
}

.checkout-btn:hover {
  background: linear-gradient(135deg, #35a700, #007a29);
  transition: 0.4s ease-in-out;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
}

.checkout-btn:active {
  transform: translateY(1px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
  .right_blocks h1 {
    font-size: 18px;
    font-weight: 800;
  }
  .desription {
    font-size: 13px;
    font-weight: 400;
    line-height: 18px;
    color: #5e5e5e;
    margin: 12px 0 25px;
  }
}

@media (max-width: 550px) {
  .product_main_box {
    flex-direction: column;
  }

  .modal-content{
    width: 90%;
  }
}

@media (max-width: 450px) {
  .litakk {
    flex-direction: column;


  }
  .litakk button {
    margin-top: 20px;
  }
}
