    body {
      background-color: #f6f6fa;
      font-family: 'Segoe UI', sans-serif;
    }
    .search-container {
      position: sticky;
      top: 0;
      z-index: 1055;
      background-color: #f6f6fa;
      padding: 1rem;
      margin-bottom: 0;
      display: flex;
      justify-content: center;
      gap: 1rem;
      flex-wrap: wrap;
      box-shadow: none;
    }
    .search-box {
      max-width: 780px;
      width: 100%;
      position: relative;
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    }
    .search-box input {
      padding-left: 2.5rem;
      border-radius: 5px;
      border: none;
      box-shadow: 0 2px 6px rgba(0,0,0,0.05);
      height: 45px;
    }
    .search-box i {
      position: absolute;
      left: 10px;
      top: 50%;
      transform: translateY(-50%);
      color: #999;
      font-size: 18px;
    }
    .product-card {
      background-color: white;
      border-radius: 5px;
      padding: 0.75rem;
      text-align: left;
      box-shadow: 0 4px 10px rgba(0,0,0,0.03);
      transition: 0.2s;
      display: flex;
      flex-direction: column;
    }
    .product-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 6px 16px rgba(0,0,0,0.05);
    }
    .product-image {
      width: 100%;
      height: 180px;
      object-fit: contain;
      background-color: white;
      border-radius: 5px;
    }
    .product-card h5,
    .product-card p {
      margin-bottom: 0.5rem;
      line-height: 1.2;
    }
    .modal-body p {
      margin-bottom: 0.5rem;
      line-height: 1.2;
      font-size: 15px;
    }
    .modal-body strong {
      color: black;
    }  
    .modal-content {
      max-height: 90vh;
      overflow-y: auto ;
    }  
    .modal.fade .modal-dialog {
      transition: transform 0.3s ease-out, opacity 0.3s ease-out;
      transform: scale(0.95);
      opacity: 0;
    }
    .modal.fade.show .modal-dialog {
      transform: scale(1);
      opacity: 1;
    }
    .square-button {
      width: 45px;
      height: 45px;
      padding: 0;
      font-size: 18px;
      line-height: 1;
    }
    input.form-control,
    select.form-select,
    textarea.form-control,
    button {
      font-size: 1rem;
    }
    table img {
      border-radius: 5px;
    }
    .table td, .table th {
      white-space: nowrap;
    }
    .pagination .page-link {
      padding: 6px 12px;
      font-size: 14px;
    }
    .text-decoration-line-through {
      text-decoration: line-through;
    }
    .harga-wrapper {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 0.25rem;
      margin-bottom: 0.25rem; 
    }
    .harga-wrapper strong {
      font-weight: 600;
      font-size: 0.9rem;
    }
    .harga-lama {
      text-decoration: line-through;
      color: #888;
      font-size: 0.85rem;
    }
    .harga-baru {
      font-weight: bold;
      color: #000;
      font-size: 0.95rem;
    }
    .badge-diskon {
      background-color: #dc3545;
      color: white;
      font-size: 0.7rem;
      padding: 2px 6px;
      border-radius: 4px;
    }
    .card.out-of-stock {
      opacity: 0.7;
    }
    .sort-bar {
      position: sticky;
      top: 70px;
      z-index: 1055;
      justify-content: center;
      gap: 1rem;
      background-color: #f6f6fa;
      border-bottom: 1px solid #eee;
      padding: 0.5rem 1rem;
      margin-bottom: 1rem;
    }
    .sort-btn {
      background: none;
      border: none;
      font-size: 0.95rem;
      font-weight: 500;
      padding: 6px 8px;
      color: #555;
      cursor: pointer;
      border-bottom: 2px solid transparent;
      transition: all 0.2s ease-in-out;
    }
    .sort-btn .sort-arrow {
      font-size: 0.75rem;
      margin-left: 4px;
      display: inline-block;
      transition: transform 0.2s ease;
    }
    .sort-btn:hover {
      color: #001eff;
    }
    .sort-btn.active {
      color: #001eff;
      border-bottom: 2px solid #001eff;
    }
    .sort-arrow {
      font-size: 0.8rem;
      margin-left: 4px;
      color: #777;
    }
    .sort-btn.asc .sort-arrow {
      color: #001eff;
    }
    .sort-btn.desc .sort-arrow {
      color: #001eff;
    }

    @media (max-width: 576px) {
      body {
        font-size: 14px;
      }
      .search-container {
        padding: 0.75rem;
        gap: 0.5rem;
      }
      .search-box {
        max-width: 270px;
        width: 100%;
      }
      .square-button {
        width: 40px;
        height: 40px;
        font-size: 16px;
      }
      .product-card h5 {
        font-size: 15px;
      }
      .product-card p {
        font-size: 13px;
      }
      .product-card {
        cursor: pointer;
        transition: all 0.2s;
      }      
      .product-card:hover,
      .product-card:active {
        transform: translateY(-4px);
        box-shadow: 0 6px 16px rgba(0,0,0,0.05);
      }      
      .table td,
      .table th {
        white-space: normal;
      }
      .product-image {
        height: 140px;
      }
      #product-list > .col-12 {
        width: 50%;
        flex: 0 0 auto;
      }
      .form-control,
      .form-select,
      .btn {
        font-size: 12px;
        padding: 6px 10px;
      }
      .modal-dialog.modal-xl {
        width: 98% !important;
        margin: auto;
      }
      .modal .form-label {
        font-size: 13px;
      }
      td {
        font-size: x-small;
      }
      .cart-item-controls .btn {
        padding: 4px 6px;
        font-size: 11px;
      }
      .cart-item-controls input {
        font-size: 12px;
        width: 45px;
      }
      .toast-container {
        bottom: 1rem !important;
        right: 50% !important;
        transform: translateX(50%);
        width: 90vw;
        padding: 0;
      }
      #cartToast {
        width: 100%;
        font-size: 0.9rem;
      }
      #cartToast .toast-body {
        padding: 0.75rem 1rem;
      }
      .harga-wrapper {
        gap: 0.2rem;
        margin-bottom: 0.25rem;
      }
      .harga-lama {
        font-size: 0.75rem;
      }
      .harga-baru {
        font-size: 0.85rem;
      }
      .badge-diskon {
        font-size: 0.65rem;
        padding: 2px 5px;
      }
      .search-sort-container {
        padding: 0.5rem;
      }
      .search-box-wrapper {
        flex-direction: row;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 0.5rem;
      }
      .search-box {
        flex: 1;
        min-width: 160px;
      }
      .square-button {
        flex: 0 0 auto;
        width: 40px;
        height: 40px;
        font-size: 16px;
      }
      .sort-bar {
        justify-content: center;
        overflow-x: auto;
        padding-top: 0.25rem;
        padding-bottom: 0.25rem;
        gap: 0.75rem;
      }
      .sort-btn {
        flex: 0 0 auto;
        font-size: 0.90rem;
        padding: 4px 6px;
      }
      .sort-arrow {
        font-size: 0.7rem;
      }
    }