.myModal {
    display: none;
    position: fixed; 
    top: 50%; 
    left: 50%;
    transform: translate(-50%, -50%);
z-index:100;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.2);
  }
  
  /* Modal Content */
  .modal-content {
    position: relative;
    background-color: #fefefe;
    min-height: 200px;
    margin: 5px auto;
    padding: 0;
    max-width: 750px;
    animation-name: animatetop;
    animation-duration: 0.4s;
    border-radius: 15px;
  }
  
  @keyframes animatetop {
    from {
      top: -300px;
      opacity: 0;
    }
  
    to {
      top: 0;
      opacity: 1;
    }
  }
  
  /* The Close Button */
  #close {
    color: rgb(0, 0, 0);
    float: right;
    font-size: 35px;
    font-weight: bold;
    margin-right: 12px;
  }
  
  #close:hover,
  #close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
  }
  
  .modal-header {
    padding: 7px 10px;
    background-color:#d2d0d0;;
    color: rgb(96, 95, 95);
    border-radius: 15px 15px 0 0;
  }

   .modal-header h2{
    font-size: 25px;
   }
  
  .modal-body {

    display: flex;
    flex-direction:column;
    justify-content: center;
    width:97%;
    height:100%;
    padding: 30px 10px 10px 10px;
    justify-content: space-between;
    align-items: center;
   }
  


  .warning-icon {
    position: relative;
    height: 80px;
    width: 80px;
    margin-right: 25px;
  }
  
  .message {
    text-align: center;
    line-height: 100px;
    font-size: 30px;
    margin: 0;
  }
  
  h2 {
    font-size: 30px;
    margin: 0;
  }

  #b_minus, #b_plus {
    background-color:#EFEFEF;
    border: none;
    color: rgb(0, 0, 0);
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 26px;
    margin: 4px 5px;
    cursor: pointer;
    border-radius: 5px;
    transition-duration: 0.4s;
}

#b_minus:hover, #b_plus:hover {
    background-color: #d2d0d0; /* Темно-зеленый при наведении */
}

#b_minus:active, #b_plus:active {
    background-color: #818181; /* Еще темнее при нажатии */
    transform: scale(0.95);
}

#math{
    display: flex;
    align-items: center;
}

#value_in_cart{
    text-align: center;
    width:35px;
}

#ad_in_cart{
    width:250px;
    padding:10px;
    margin:10px 3px;

}
