@media (max-width: 490px) {
    .col-xxs-1 { width: 8.33%; float: left; }
    .col-xxs-6 { width: 16.66%; float: left; }
    .col-xxs-3 { width: 25%; float: left; }
    .col-xxs-4 { width: 33.33%; float: left; }
    .col-xxs-5 { width: 41.66%; float: left; }
    .col-xxs-6 { width: 50%; float: left; }
    .col-xxs-7 { width: 58.33%; float: left; }
    .col-xxs-8 { width: 66.66%; float: left; }
    .col-xxs-9 { width: 75%; float: left; }
    .col-xxs-10 { width: 83.33%; float: left; }
    .col-xxs-11 { width: 91.66%; float: left; }
    .col-xxs-12 { width: 100%; float: left; }

    /* Ensure proper clearing */
    .col-xxs-1, .col-xxs-6, .col-xxs-3, .col-xxs-4, .col-xxs-5, .col-xxs-6,
    .col-xxs-7, .col-xxs-8, .col-xxs-9, .col-xxs-10, .col-xxs-11, .col-xxs-12 {
        position: relative;
        min-height: 1px;
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (min-width: 1600px) {
    .col-xl-1  { width: 11.11%;  float: left; }
    /* .col-xl-1  { width: 16.66%; float: left; } */
    .col-xl-3  { width: 25%;    float: left; }
    .col-xl-4  { width: 33.33%; float: left; }
    .col-xl-5  { width: 41.66%; float: left; }
    .col-xl-6  { width: 50%;    float: left; }
    .col-xl-7  { width: 58.33%; float: left; }
    .col-xl-8  { width: 66.66%; float: left; }
    .col-xl-9  { width: 75%;    float: left; }
    .col-xl-10 { width: 83.33%; float: left; }
    .col-xl-11 { width: 91.66%; float: left; }
    .col-xl-12 { width: 100%;   float: left; }
}



.roboto-condensed-bold {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 700; /* Roboto Condensed Bold */
}



.cart-header{
    background-color: #ec2027;
    color: #fff;
    padding: 0px;
    border-radius: 5px;
}
.cart-header > div{
    padding: 9px 15px;
}
.border > div{
    border:1px solid red;
}
.pos-page #page-content-wrapper .panel-heading{
    margin-bottom: 0px!important;
    padding-bottom: 0px!important;

}

.pos-page #page-content-wrapper .panel-heading .form-group {
    margin-bottom: 0px!important;
}




.form-control:focus {
  border-color: #cdcaca;
  outline: 0;
  -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);
  box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);
}

.select2-dropdown{
    border: 1px solid rgb(147,147,147)!important;
    border-radius: 3px!important;
    margin-top: -5px;
}
.form-group.has-search, 
.form-group.has-category,
.form-group.has-icon{
  position: relative;
}

.form-group .form-control-search, 
.form-group .form-control-category,
.form-group .form-control-barcode,
.form-group .form-control-icon{
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  color: #aaa;
  font-size: 16px;
}

.form-group .form-control{
  padding-right: 20px;
}


.has-category{
  width: 100%;
  height: 35px;
  overflow: hidden;
  vertical-align: middle !important;
  border: 1px solid #b4b2b2;
  border-radius: 3px;
}





  .product-card {
      border: 1px solid #ddd;
      border-radius: 3px;
      padding: 5px;
      
      background-color: #e6e7e8;
      transition: box-shadow 0.3s ease;
  }
  .thumb-gap{
      padding:8px;
  }

  .product-card:hover {
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }

  .product-image {
      
      height: 120px;
      width: 100%!important;
      object-fit: contain;
      margin-bottom: 5px;
  }
.product-card img{
border-radius: 5px;
/* background-color: #CCCCCC; */
}

  .product-info {
      text-align: center;
  }

  .product-name {
      font-size: 18px;
      font-weight: 600;
      margin-bottom: 10px;
  }

  .product-details {
      display: flex;
      justify-content: space-between;
  }

  .product-price {
      font-size: 16px;
      font-weight: 500;
      color: #28a745;
      text-align: left;
  }

  .product-stock {
      font-size: 14px;
      color: #888;
      text-align: right;
  }


.product-card{
  cursor: pointer;
}
.product-card *{
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 12px;
}
.product-card .product-name{
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 12px;
    font-weight: 500;
    color: #000000;
    line-height: 1.1;
    border: 0px solid red;
    margin-top: 5px;
    height: 30px;
    margin-bottom: 5px;
    border-bottom: 1px solid rgb(216,216,216);
}
.product-card .product-photo {
    border-radius: 12px;
    border: 0px solid red;
    background-size: cover !important;
    background-repeat: no-repeat;
    border: 1px solid #d1cece;
  }
.product-card .product-details > div{
    display: block;
    line-height: 1;
    color: #535252;
}

  .cart-panel-heading, .cart-wrapper{
    background-color: #F1F1F2!important;
    padding-top: 2px;
  }
  .cart-header{
      margin-bottom: 10px;
  }
  .cart-wrapper .cart-item{
      width: 100%;
      font-family: 'Roboto Condensed', sans-serif;
      font-size: 12px;
      display: flex;
      align-items: center!important;
      border:0px solid #d9d8d8;
      padding: 4px;
      background-color: #fff!important;
      border-radius: 3px;
      margin-bottom: 6px;
  }
  .cart-item .product-thumb{
      border-radius: 3px;
      width: 58px;
      height: 58px;
      background-size: cover;
      background-repeat: no-repeat;
      border:1px solid #9c9b9b;
      margin-right: 8px;
      
  }
  .product-wap{
      white-space: normal!important;
      padding-right: 8px;
      flex-grow: 1;
  }
  .cart-product-name{
      font-family: 'Roboto Condensed', sans-serif;
      color: #544d4f;
      font-size: 12px;
      line-height: 1;
      display: block!important;
      border:0px solid #9c9b9b;
      padding-bottom: 0px;
      
  }
  .cart-sale-price{
      font-family: 'Roboto Condensed', sans-serif;
      color: #6d6c6c;
      font-size: 11px;
      line-height: 1;
      display: block!important; 
      border:0px solid #9c9b9b;
  }

  .cart-item .col-xs-4 {
          display: flex;
          align-items: center!important;
          justify-content: center!important;
          height: 50px;
      }
  .cart-item button{
      width: 32px;
      height: 32px;
      font-weight: bold;
      font-size: 12px;
      display: block;
      padding: 0!important;
      border:1px solid var(--reverse);
      
  }
  .cart-item button:first-child{
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
  }

  .cart-item button:last-child{
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
  }


  .cart-item .quantity{
      height:32px; 
      width: 40px;
      font-size: 15px;
      font-weight: normal;
      border:1px solid #b5b5b5;
      background-color: #fff;
      margin: 0 0px;
      border-radius: 0;
      padding: 0;
  }
  .cart-item .unit-total{
      position: relative;
  }

  .cart-item .unit-total{
      position: relative;
      font-size: 12px;
      min-width: 110px;
      padding: 0px;
      color: #717070;
      text-align: right;
      margin-left: 15px;
      border-left:0px solid rgb(193,193,193);
  }
  .cart-item  .remove-wrap{
      padding: 10px;
  }

  .cart-item .unit-total:after{
      position: absolute;
      content: "";
      background-color: rgb(184,184,184);
      width: 1px;
      height: 25px;
      left: 0px;
  }


  .cart-item .btn-default {
    background-color: var(--reverse);
  }



 
  .cart-footer{
      font-family: 'Roboto Condensed', sans-serif;
      font-weight: bold;
      font-size: 16px;
      display: block;
      padding: 10px 8px 6px 8px;
      border-radius: 5px;   
      margin-bottom: 5px;
  }
  .subtotal-wrap{
      background-color: #d1d3d4;
      color: #000;
  }

  .service-wrap{
    background-color: #e6e7e8;
      color: #000;
      font-weight: normal;
  }
  .payable-wrap{
      background-color: #d1d3d4;
      color: #000;
      font-weight: normal;
      font-size: 25px;
      font-weight: bold;
      margin-bottom: 0;
  }

  .makepayment-wrap, 
  .makepayment-wrap .row > div{
      border: 0px solid red;
  }

  .makepayment-wrap .row > div{
      padding: 8px!important;
      padding-top: 0!important;
  }
  .makepayment-wrap input{
      width:100%;
      font-size: 25px;
  }


  .cart-item {
         padding: 15px;
         border-bottom: 1px solid #ddd;
         margin-bottom: 15px;
     }

     .cart-item img {
         width: 50px;
         height: 50px;
         object-fit: cover;
     }

   

     .cart-sale-price {
         color: #5e5e5e;
         font-size: 14px;
     }

     .sale-price{
        width: 70px;
    }

     .quantity-container {
         display: flex;
         align-items: center;
     }

     .quantity-container input {
         width: 50px;
         text-align: center;
     }

     .quantity-btn {
         background-color: #ddd;
         border: 1px solid #ccc;
         padding: 5px 10px;
         cursor: pointer;
     }

     .unit-total {
         font-size: 16px;
         font-weight: bold;
     }
.unit-total-input{
    line-height: 2;
    width: 80px;
    border: 0px solid red;
    text-align: right;
}

.cdiscount{
    max-width: 120px;
    text-align: right;
    background-color: transparent;
    border: 0!important;
}


     .remove-item {
         color: #d9534f;
         cursor: pointer;
         font-size: 20px;
     }
     .remove-all-items{
        cursor: pointer;
    }
    
     /* Ensure cart items are aligned properly */
     .cart-item .col-xs-2, .cart-item .col-xs-3, .cart-item .col-xs-4 {
         display: flex;
         align-items: center!important;
         justify-content: center!important;
     }

     .cart-item .col-xs-7 {
         display: flex;
         flex-direction: column;
         justify-content: center;
     }


     .pos-page .panel{
    margin-bottom: 0;
  }
  
  .footer-wrap {
    margin-top: 0px;
  
  }
  footer{
      padding-top: 0px!important;
  }

  .pos-page {
      overflow-y: auto; /* Disable vertical scrolling */
  }
 


  



  /* responsive */
/* Default height for 1920px monitors */



.scroll-cart {
    height: 48vh !important;
    overflow-y: scroll !important;
}

/* For laptops with screens 14" or 15.5" (1366px to 1600px) */
@media (max-width: 1600px) {
    .product-mainwrapper {
        height: 70vh;
    }
    
    .scroll-cart {
        height: 42vh;
    }
}

/* For smaller laptops (below 1366px width) */
@media (max-width: 1366px) {
    .product-mainwrapper {
        height: 65vh;
    }
    
    .scroll-cart {
        height: 38vh;
    }
}

/* For tablets (below 1024px width) */
@media (max-width: 1024px) {
    .product-mainwrapper {
        height: 60vh;
    }
    
    .scroll-cart {
        height: 35vh;
    }
}

/* For smaller tablets or mobile phones (below 768px width) */
@media (max-width: 768px) {
    .product-mainwrapper {
        height: 55vh;
    }
    
    .scroll-cart {
        height: 30vh;
    }
}




#page-content-wrapper .panel .panel-body{
    min-height: 79vh;
}
  /* end responsive */


  .no-thumb .product-name{
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    padding: 3px;
    line-height: 1.2;
    background-color: #f1f1f1;
    border-radius: 5px;
    margin-top: 0;
    margin-bottom: 10px;
}

.sale-price {
    border: 0;
  }





.pos-customer-select .form-group,
.pos-customer-select  .input-group{
    margin-bottom: 0px!important;
}
.gap-15{
    padding: 0px;
}


.pos-customer-select
.select2-container--default 
.select2-selection--single 
.select2-selection__rendered
{
    background-color: #fff;
}

.pos-customer-select .form-control{
    border: 0px solid rgb(198,198,198);
    background-color: #fff;
}


.cTotalPayable{
    border: 0;
    width: 100%;
    background: transparent;
}

@media (min-width: 768px) {
    .customer-modal-width .modal-dialog {
        width: 800px;
        margin: 20px auto;
    }
}

@media (min-width: 768px) {
    .contact-modal-width .modal-dialog {
        width: 800px;
        margin: 20px auto;
    }
}

.no-title-bar .modal-header {
    display: none;
}

.no-title-bar .modal-body {
    padding: 25px 10px 0px 10px;
  }

  .modal-body {
    padding: 15px 22px;
    margin: 0px;
    padding: 0;
  }

  .scrollable-content .form-control {
    margin-bottom: 15px;
  }

  .add-new-table tfoot .form-group {
    border-bottom: 0px solid #e0dcdc;
  }

 

  .scrollable-content {
    max-height: 80vh; /* Set the maximum height of the content area */
    overflow-y: auto;  /* Enable vertical scrolling */
    padding: 25px;     /* Optional padding */
    box-sizing: border-box; /* Ensure padding doesn’t increase width */
}

/* new */


.panel-heading.col-pad-5 .row > div:first-child {
    padding-left: 10px !important;
  }
  .panel-heading.col-pad-5 .row > div:last-child {
    padding-right: 10px !important;
  }
  .card-panel .row > div:first-child {
    padding-left: 5px !important;
  }
  
  .card-panel .row > div:last-child {
    padding-right: 10px !important;
  }
  
  .pos-page #page-content-wrapper .panel.card-panel .panel-body {
    padding: 0px 20px !important;
  }
  
  .pos-page #page-content-wrapper .panel.card-panel .panel-body{
      border-bottom-left-radius: 10px!important;
      border-bottom-right-radius: 10px!important;
      height:81vh!important;
  }
  
  .pos-page #page-content-wrapper .panel.card-panel{
      border-radius: 10px;
      border: 1px solid #dbdbdb;
  }

  .panel-heading.col-pad-5 .row > div:first-child {
    padding-left: 10px !important;
  }
  .panel-heading.col-pad-5 .row > div:last-child {
    padding-right: 10px !important;
  }
  .cart-panel-heading .row > div:first-child {
    padding-left: 5px !important;
  }
  .cart-panel-heading{
      padding: 0;
  }
  .cart-panel-heading{
      padding: 10px;
      padding-top: 0px;
  }
  
  .pos-customer-select{
      padding: 0;
  }
  
  .col-pad-5 .row > div{
      padding-right:5px;
      padding-left: 5px;
  }
  .pos-customer-select .row > div:first-child{
      padding-left: 5px!important;
  }
  .pos-customer-select .row > div:last-child{
       padding-right: 6px!important;
  }
  .barcode-div{
      margin-top: 10px;
  }
  .pos-page #page-content-wrapper .panel .cart-wrapper{
      padding: 0!important;
      padding-top: 10px!important;
  }
  
    .scroll-card{
        height:80vh;
        overflow: hidden;
        overflow-y: scroll;
    }
  
  /* end new */