
            <div class="container-xxl flex-grow-1 container-p-y" id="rt_main_content">
                <!-- START CONTENT -->



<style>

.receipt {
      background: white;
      width: 300px;
      padding: 10px;
      border-radius: 10px;
/*      box-shadow: 0 0 10px rgba(0,0,0,0.1);*/
    }

    .receipt header {
      text-align: center;
      border-bottom: 1px dashed #aaa;
      padding-bottom: 10px;
      margin-bottom: 10px;
    }

    .receipt header img {
      width: 40px;
      margin-bottom: 5px;
    }

    .receipt .info {
      font-size: 12px;
      line-height: 1.4;
    }

    .receipt .section {
      margin-bottom: 10px;
    }

    .receipt .section hr {
      border: none;
      border-top: 1px dashed #aaa;
      margin: 10px 0;
    }

    .receipt .product {
      font-weight: bold;
      font-size: 14px;
    }

    .receipt .product-info {
      display: flex;
      justify-content: space-between;
      font-size: 13px;
    }

    .receipt .totals {
      font-size: 14px;
      font-weight: bold;
    }

    .receipt .qr {
      text-align: center;
      margin-top: 10px;
    }

    .receipt .qr img {
      width: 80px;
    }

    .thankyou {
      text-align: center;
      font-size: 13px;
      margin-top: 10px;
    }




  /* Atur tinggi kontainer kanan agar sejajar */
.card-keranjang-wrapper {
  display: flex;
  flex-direction: column;
  height: 100%;
  max-height: 100%; /* Hindari terlalu tinggi */
}

.card-keranjang-body {
  flex: 1;
  overflow-y: auto; /* Scrollable jika isi melebihi */
  min-height: 0;
}


@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}




  .skeleton {
      background-color: #e0e0e0;
      border-radius: 4px;
      animation: pulse 1.5s infinite ease-in-out;
    }

    @keyframes pulse {
      0% {
        background-color: #e0e0e0;
      }
      50% {
        background-color: #f0f0f0;
      }
      100% {
        background-color: #e0e0e0;
      }
    }

    .card-skeleton {
      border-radius: 16px;
      box-shadow: 0 2px 8px rgba(0,0,0,0.05);
      padding: 12px;
      background: white;
      height: 100%;
      width: 100%;
    }

    .skeleton-img {
      width: 100%;
      height: 120px;
      border-radius: 12px;
    }

    .skeleton-line {
      height: 16px;
      margin-top: 8px;
      border-radius: 4px;
    }

    .skeleton-line.short {
      width: 40%;
    }

    .skeleton-line.medium {
      width: 60%;
    }

    .skeleton-line.long {
      width: 80%;
    }





    .layout-container{
        background-color: #efefef;
    }

    .bg-footer-theme{
/*        background-color: #efefef;*/
    }

    .search-filter-wrapper {
      background-color: #f5f5f5;
      border-radius: 12px;
      padding: 6px;
      display: flex;
      align-items: center;
      width: 100%;
      max-width: 400px;
      box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    }

    .search-box {
      flex-grow: 1;
      border: none;
      outline: none;
      background: transparent;
      padding: 8px 12px;
    }

    .search-icon {
      color: #888;
      margin-left: 8px;
      font-size: 20px;
    }

    .filter-btn {
      background-color: #e8e8f0;
      border-radius: 12px;
      border: none;
      padding: 8px;
      margin-left: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .filter-btn i {
      font-size: 20px;
      color: #444;
    }

    .filter-btn:hover {
      background-color: #dcdce6;
    }


    .filter-btn-active {
      background-color: #e7e7ff;
      border-radius: 12px;
      border: none;
      padding: 8px;
      margin-left: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .filter-btn-active i {
      font-size: 20px;
      color: #2849b1;
    }



    .category-scroll {
      display: flex;
      overflow-x: auto;
      gap: 12px;
      padding: 20px 0 10px;
      scrollbar-width: none; /* Firefox */

    }

    .category-scroll::-webkit-scrollbar {
      display: none; /* Chrome, Safari, Opera */
    }


    .category-btn.active {
      background-color: #0349b1;
      color: #fff;
    }

    .category-btn:hover {
      background-color: #023e91;
      color: white;
    }


    .category-btn {
      flex: 0 0 auto;
      border: none;
      border-radius: 14px;
      padding: 8px 20px;
      background-color: #f8f8f8;
      color: #000;
      font-weight: 500;
      transition: all 0.3s;
      font-size: 12px;
    }



    .product-card {
      border-radius: 16px;
      border: 1px solid #eee;
      padding: 16px;
      background-color: #fff;
      box-shadow: 0 0 8px rgba(0, 0, 0, 0.02);
      transition: 0.3s;
      height: 100%;
    }

    .product-card:hover {
      box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    }

    .product-img {
      width: 100%;
      height: 150px;
      object-fit: cover;
      border-radius: 12px;
      margin-bottom: 12px;
    }

    .product-title {
      font-weight: 500;
      font-size: 1rem;
      margin-bottom: 6px;
      white-space: nowrap;
      overflow: hidden;   
      text-overflow: ellipsis;
    }

    .product-price {
      font-weight: 700;
      font-size: 1rem;
    }

    .add-btn {
      background-color: #1e1e1e;
      color: white;
      border-radius: 50%;
      border: none;
      width: 36px;
      height: 36px;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .add-btn:hover {
      background-color: #000;
    }

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


    .label-discount{
        font-weight: 500;
        font-size: 10px;
    }

    .label-price-discount{
        text-decoration: line-through;
        font-size: 10px;
    }

    .label-price{
        font-size: 14px;
        font-weight: bold;
    }


    .receipt-box {
      background-color: #f5f5f5;
      border-radius: 1rem;
      padding: 1.5rem;
      max-width: 100%;
/*      margin: auto;*/
      box-shadow: 0 2px 10px rgba(0,0,0,0.05);
      padding: 10px;
    }

    .receipt-box .row + .row {
      margin-top: 0.1rem;
    }

    .receipt-box .total-row {
      border-top: 1px solid #dee2e6;
      margin-top: 1rem;
      padding-top: 1rem;
      font-weight: bold;
    }

    .receipt-box .total-value {
      color: #000;
      font-weight: 700;
    }

    .label-normal-text, .label-normal-value {
        font-size: 14px;
    }

    .item-card {
      border-radius: 12px;
      background: #f9f9f9;
      padding: 12px;
      display: flex;
      align-items: center;
      gap: 12px;
      box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    }

    .item-image {
      width: 60px;
      height: 60px;
      object-fit: cover;
      border-radius: 10px;
    }

    .item-info {
      flex: 1;
      color: #343a40;
    }

    .item-price {
      font-weight: 700;
    }

    .qty-control {
      display: flex;
      align-items: center;
      gap: 8px;
      color: #343a40;
      font-size: 18px;
      font-weight: 500;
    }

    .qty-btn {
      width: 25px;
      height: 25px;
      border-radius: 50%;
      border: none;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #fff;
      font-weight: bold;
    }

    .btn-minus {
      background-color: #6c757d;
    }

    .btn-plus {
      background-color: #000;
    }

  </style>






<style type="text/css">
    

    @media only screen and (max-width: 575.98px) {
         
        .search-filter-wrapper {
          background-color: #f5f5f5;
          border-radius: 12px;
          padding: 6px;
          display: flex;
          align-items: center;
          width: 100%;
          box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
        }


        .product-img {
          width: 100%;
          height: 100px;
          object-fit: cover;
          border-radius: 12px;
          margin-bottom: 12px;
        }

        .product-title {
          font-weight: 500;
          font-size: 12px;
          margin-bottom: 6px;
        }

        .label-discount{
            font-weight: 500;
            font-size: 10px;
        }


    }

    /* Small devices (landscape phones, 576px and up) */
    @media only screen and (min-width: 576px) {
      /* Styles for small tablets/large phones */
    }

    /* Medium devices (tablets, 768px and up) */
    @media only screen and (min-width: 768px)  {
          

        .qty-control {
          display: flex;
          align-items: center;
          gap: 8px;
          color: #343a40;
          font-size: 14px;
          font-weight: 500;
        }

        .qty-btn {
          width: 20px;
          height: 20px;
          border-radius: 50%;
          border: none;
          display: flex;
          align-items: center;
          justify-content: center;
          color: #fff;
          font-weight: bold;
        }


        .item-image {
          width: 40px;
          height: 40px;
          object-fit: cover;
          border-radius: 10px;
        }

        .search-filter-wrapper {
          background-color: #f5f5f5;
          border-radius: 12px;
          padding: 6px;
          display: flex;
          align-items: center;
          width: 100%;
          max-width: 300px;
          box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
        }


        .category-btn {
          flex: 0 0 auto;
          border: none;
          border-radius: 14px;
          padding: 8px 20px;
          background-color: #f8f8f8;
          color: #000;
          font-weight: 500;
          font-size: 14px;
        }


        .label-discount{
            font-weight: 500;
            font-size: 12px;
        }


        .product-img {
          width: 100%;
          height: 140px;
          object-fit: cover;
          border-radius: 12px;
          margin-bottom: 12px;
        }


    }

    /* Large devices (desktops, 992px and up) */
    @media only screen and (min-width: 992px) {
          

        .qty-control {
          display: flex;
          align-items: center;
          gap: 8px;
          color: #343a40;
          font-size: 14px;
          font-weight: 500;
        }

        .qty-btn {
          width: 20px;
          height: 20px;
          border-radius: 50%;
          border: none;
          display: flex;
          align-items: center;
          justify-content: center;
          color: #fff;
          font-weight: bold;
        }


        .item-image {
          width: 40px;
          height: 40px;
          object-fit: cover;
          border-radius: 10px;
        }

        .search-filter-wrapper {
          background-color: #f5f5f5;
          border-radius: 12px;
          padding: 6px;
          display: flex;
          align-items: center;
          width: 100%;
          max-width: 400px;
          box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
        }
    }

    /* Extra large devices (large desktops, 1200px and up) */
    @media only screen and (min-width: 1200px) {
      
        .qty-control {
          display: flex;
          align-items: center;
          gap: 8px;
          color: #343a40;
          font-size: 18px;
          font-weight: 500;
        }

        .qty-btn {
          width: 25px;
          height: 25px;
          border-radius: 50%;
          border: none;
          display: flex;
          align-items: center;
          justify-content: center;
          color: #fff;
          font-weight: bold;
        }


        .item-image {
          width: 60px;
          height: 60px;
          object-fit: cover;
          border-radius: 10px;
        }

    }

</style>



<style type="text/css">
  
  .select2-container {
    width: 100% !important;
  }

  .select2-container--default .select2-selection--single {
    height: 38px !important;
    padding: 6px 12px !important;
    border: 1px solid #ced4da !important;
    border-radius: 0.25rem !important;
    font-size: 1rem !important;
    background-color: #fff !important;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out !important;
  }

  .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 24px !important;
    color: #495057 !important;
  }

  .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 36px !important;
    right: 10px !important;
  }

  /* Untuk teks yang ditampilkan di select box setelah dipilih */
.select2-container--default .select2-selection--single .select2-selection__rendered {
  font-size: 14.5px !important; /* Sesuaikan ukuran sesuai kebutuhan */
  line-height: 1.5 !important;
}

/* Untuk dropdown options */
.select2-container--default .select2-results__option {
  font-size: 14px !important; /* Sesuaikan ukuran sesuai kebutuhan */
  padding: 6px 12px !important;
}

/* Untuk placeholder */
.select2-container--default .select2-selection--single .select2-selection__placeholder {
  font-size: 14px !important;
  color: #6c757d !important;
}

/* Solusi lebih agresif */
.select2-container .select2-selection--single {
  display: flex !important;
  align-items: center !important;
  height: 38px !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  width: 100% !important;
  position: relative !important;
  top: auto !important;
  transform: none !important;
}

/* Menyamakan tinggi dengan input bootstrap */
.select2-container--default .select2-selection--single {
  height: 38px !important; /* Sama dengan tinggi input form-control */
  border: 1px solid #ced4da !important;
  border-radius: 0.25rem !important;
  padding: 0.375rem 0.75rem !important;
}


</style>


<style>
  .skeleton {
    background-color: #e2e5e7;
    border-radius: 4px;
    animation: skeleton-loading 1.5s infinite linear;
  }

  .skeleton-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
  }

  .skeleton-line {
    height: 12px;
    margin-bottom: 8px;
    border-radius: 4px;
  }

  .skeleton-sm {
    width: 40%;
  }

  .skeleton-md {
    width: 70%;
  }

  .skeleton-lg {
    width: 100%;
  }

  @keyframes skeleton-loading {
    0% {
      background-color: #e2e5e7;
    }
    50% {
      background-color: #f3f3f3;
    }
    100% {
      background-color: #e2e5e7;
    }
  }

  
.lds-ring-md,
.lds-ring-md div {
  box-sizing: border-box;
}
.lds-ring-md {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}
.lds-ring-md div {
  box-sizing: border-box;
  display: block;
  position: absolute;
  width: 64px;
  height: 64px;
  margin: 8px;
  border: 8px solid #0349b1;
  border-radius: 50%;
  animation: lds-ring-md 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  border-color: #0349b1 transparent transparent transparent;
}
.lds-ring-md div:nth-child(1) {
  animation-delay: -0.45s;
}
.lds-ring-md div:nth-child(2) {
  animation-delay: -0.3s;
}
.lds-ring-md div:nth-child(3) {
  animation-delay: -0.15s;
}
@keyframes lds-ring {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}


  
</style>
