main {
    flex: 1;
}
@media (max-width: 1312px){
    .BuyBulkPage-section {
        padding: 0 15px;
        width: 100%;
        max-width: unset !important ;
    }
}
.BuyBulkPage-section {
    display: flex;
    flex-direction: column;
    max-width: 1282px;
    width: 100%;
    flex: 1;
    margin: 0 auto;
}


.table {
    width: 100%;
    /* display: grid; */
    /* grid-template-columns: repeat(4, 1fr); */
    /* grid-template-columns: 1fr 1fr 1fr 2fr; */
    text-align: left;
    margin-top: 15px;
  }
  
  .table-row-card {
        position: relative !important;
        height: fit-content;
        width: fit-content;
  }

  
  .table-row-card:nth-child(odd) {
    background-color: rgba(249, 249, 249, 1); /* White background color for even rows */

   
   }
   
   .table-row-card:nth-child(even) {
    background-color: #ffffff; /* Light background color for odd rows */
   
   }

  .table .table-row {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 2fr;

  }


  

  .table-row:hover .table-cell {
    background-color: rgba(255, 241, 215, 1) !important;
}
  

  .table .table-head {
    display: flex;
    align-items: center;
    height: 51px;
    font-size: 18px;
    color: rgba(127, 127, 127, 1);
    font-weight: 500;
    padding: 15px;
    background-color: rgba(242, 242, 242, 1);
  }
  
  .table .table-cell {
    display: flex;
    align-items: center;
    transition: background-color 0.4s;

    padding: 0 15px;
    
    
    min-height: 59px;
    border-bottom: 1px solid #ddd;
  }

  .price-txt {
    font-size: 20px;
  }
  @media (max-width: 1200px) {
    .table .table-row {
        grid-template-columns: 1fr 1fr 150px 2fr;
    }
  }

  @media (max-width: 1000px) {
    .table .table-row {
        grid-template-columns: 104px 208px 125px 2fr;
    }
  }

  @media(max-width: 850px) {
    .table .table-row {
        grid-template-columns: 104px 150px 115px 2fr;
    }
    .art-text, .quantity-label span, .price-txt ,  .quantity-btn, .table-head{
        font-size: 15px !important;
    }
  }

  @media(max-width: 750px) {
    .table .table-row {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .table .table-cell {
        
        
    }

    .table-head-phone, .table-cell-phone {
        display: none !important;
        

    
    }

    .table-cell-phone {
        height: fit-content !important;
        border-bottom: none !important;
        padding-top: 0 !important;
        padding-bottom: 10px;
        
        width: 100%;
    }

    .table-row:hover  .table-cell-phone {
        background-color: none !important;
    }

    .table-row:hover .table-cell-phone {
        display: flex !important;
        position: absolute;
        /* margin-top: 107px; */
        top: 60px;
        align-items: center;
        min-height: fit-content !important;
        
     }
     .table-row:hover .table-cell {
        min-height: 117px;
       
        padding-top: 17px;
        align-items: flex-start;
     }

    

    
      
  }


  @media(max-width: 550px) {
    .table .table-row { 
        grid-template-columns: 90px 140px 1fr;
    }
    .table .table-head {
        font-size: 14px !important;
        padding: 13px 10px;
    }
    .table .table-cell {
        padding: 0 10px;
    }
  }


.art-text {
    font-size: 20px;
    line-height: 23.87px;
    font-weight: 500;
    border-bottom: 1.5px solid black;
}


.quantity-label input[type="radio"] {
    display: none; /* Скрываем радиокнопки */
}

.quantity-label span {
    text-align: center;
    margin-right: 5px;
    font-size: 20px;
    line-height: 23.87px;
    font-weight: 500;
    color: black;
    background-color: unset;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
    user-select: none;
    -webkit-user-drag: none;
    -webkit-touch-callout: none;
}

.quantity-label input[type="radio"]:checked + span {
    /* Стили для выбранной кнопки */
    color: rgba(255, 138, 0, 1);
    border-bottom: 1.5px solid black;
}



.input-cell {
    transition: opacity 0.5s ease;
    opacity: 0;
    /* display: flex;
    align-items: center; */
}
.input-cell {
    width: 440px;
}

.inpt-con {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.inpt-tel {
    padding: 5px;
    max-width: 172px;
    padding-left: unset;
    /* margin-right: 10px; */
    border: unset;
    background: unset;
    border-radius: 3px;
    font-size: 18px;
    color: rgba(194, 174, 137, 1);
}

.inpt-tel::placeholder {
    font-size: 18px;
    color: rgba(194, 174, 137, 1);
    
}
.inpt-tel:focus, .inpt-tel:not(:placeholder-shown) {
    opacity: 1 !important;
}

.quantity-label {
    user-select: none;
    -webkit-user-drag: none;
    -webkit-touch-callout: none;
}

.btn {
    background-color: rgba(255, 138, 0, 1);
    color: white;
    border: none;
    height: 43px;
    font-size: 18px;
    font-weight: 600;
    padding: 0 25px;
    border-radius: 10px;
    cursor: pointer;

    user-select: none;
    -webkit-user-drag: none;
    -webkit-touch-callout: none;
}


.btn:hover {
    background-color: #e68a00;
}


@media(max-width: 1000px) {
    .inpt-tel {
        width: 120px;

    }

    
    .input-cell {
        width: 340px;
    }
    /* .mob-th {
        width: 179px !important;
    } */
}



@media(max-width: 810px) {
    .mob-th {
        display: none;
        
    }

    .inpt-con {
        
    }
    
    .value-th {
        min-width: fit-content !important;
    }

    .BuyBulkPage-section {
        padding: 0 !important;
    }

    

    .thead-th {
        font-size: 14px;
        padding: 13px 10px !important ;
    }
    tr .tbody-td {
        padding: 0 10px ;
    }


    tr th:first-child, tr .tbody-td:first-child {
        padding-left: 15px !important;
    }

    .input-cell {
        opacity: 1 !important;
        padding: 0 !important;
        padding-top: 17px !important;
        display: none;
        height: fit-content !important;
        border-bottom: unset !important;
        width: 100%;
        
    }
    .quantity-btn, .inpt-tel, .btn, .inpt-tel::placeholder  {
        font-size: 15px !important;
        line-height: 19.00px;
    }

    input[type="tel"] {
        width: 131px !important;
    }

    .inpt-tel {

    }

    .btn {
        padding: 0 15px !important;
        width: fit-content;
    }


    tr:hover .input-cell {
        top: 41px;
        /* display: unset; */
        position: absolute;
        left: 0;

        display: flex;
        justify-content: space-between;

    }

    tr:hover .tbody-td {
        height: 120px;
        padding-top: 17px ;
        vertical-align:top;
    }

    tr:hover {

    }
}


.pagination-section {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pagination-con {
    display: flex;
padding: 15px 0;
}

.pagination-con a {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(229, 229, 229, 1);
    border-radius: 5px;
    font-size: 16px;
    line-height: 19px;
    height: 40px;
    width: 40px;
    margin-right: 10px;
    color: black;
    user-select: none;
    -webkit-user-drag: none;
    -webkit-touch-callout: none;

}
.pagination-con a:last-child {
    margin-right: 0;
}

.pagination-con a:hover {
    border-color: rgba(255, 138, 0, 1);
}

.pagination-con a.active {
color: white;
background-color: rgba(255, 138, 0, 1);
border-color: rgba(255, 138, 0, 1);
}


@media(max-width: 550px) {
    .pagination-con a {
        height: 30px;
        width: 30px;
    }
}