   @import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Thai:wght@100;200;300;400;500;600;700&family=Noto+Serif+Thai:wght@100..900&display=swap');

   * {
      font-family: "Noto Serif Thai", serif;
      padding: 0;
      margin: 0;
      box-sizing: border-box;
   }

   @import url('https://fonts.googleapis.com/css2?family=Noto+Serif+Thai:wdth,wght@62.5..100,100..900&display=swap');

   .con-product-shop {
      display: flex;
      align-items: center;
      justify-content: center;
   }

   .img-text {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      padding: 20px 0 80px 0;
   }

   .img-carvs {
      margin-bottom: 30px;

      img {
         width: 600px;
         height: 350px;
         object-fit: cover;
         padding: 0 0 10px 0;
      }
   }

   .text-pros {
      max-width: 1400px;
      p {
         font-size: 1.2rem;
      }
   }


   /* ส่วนสินค้า */

   .con-content {
      display: flex;
      justify-content: center;
      width: 100%;
      max-width: 1500px;
   }

   .choose-category {
      border: 1px solid rgba(150, 150, 150, 0.699);
      max-width: 300px;
      overflow: hidden;
      border-radius: 20px;
      display: flex;
      height: 100%;
      padding: 0 15px;
      align-items: center;
      flex-direction: column;
      margin-bottom: 50px;
   }

   .choose-category .list-category {
      flex-direction: column;
      width: 100%;
      display: flex;
      align-items: center;
      gap: 8px;
   }

   .choose-category .list-category h2 {
      align-self: flex-start !important;
      padding: 20px 0 12px 5px;
      margin: 0;
      color: #313131;
   }

   .choose-category .category-btn {
      width: 200px;
      padding: 8px 12px;
      font-size: 16px;
      border-radius: 5px;
      text-decoration: none;
      display: flex;
      color: #000000;
      background-color: #ffffff;
      transition: background-color 0.3s;
      margin-bottom: 15px;
      border: 1px solid rgb(190, 190, 190);
      align-items: center;
      justify-content: center;
   }


   .choose-category .category-btn:hover {
      background-color: #cfcfcf75;
      border: 1px solid rgb(148, 148, 148);
   }

   .choose-category .category-btn.active {
      background-color: #0066ff;
      color: white;
      outline: none;
   }

   /* ------------------------------------------- */

   .card-select {
      display: flex;
      flex-direction: column;
      gap: 20px;
      padding: 0 30px;
   }

   .price-inputs {
      display: flex;
      flex-direction: column;

      div {
         input {
            border: 1px solid rgb(163, 163, 163);
            border-radius: 3px;
            padding-left: 5px;
            margin-left: 5px;
         }
      }
   }

   .slider-wrapper {
      display: flex;
      gap: 10px;
      width: 100%;
      flex-direction: column;
      align-items: center;
   }

   input[type=range] {
      -webkit-appearance: none;
      width: 250px;
      max-width: 250px;
      height: 6px;
      background: #ddd;
      border-radius: 3px;
      outline: none;
   }

   input[type=range]::-webkit-slider-thumb {
      -webkit-appearance: none;
      width: 16px;
      height: 16px;
      background: #0066ff;
      border-radius: 50%;
      border: 2px solid #0044cc;
      cursor: pointer;
   }



   /* ------------------------------------------------------- */
   .con-search-listproduct {
      overflow: hidden;
      width: 100%;
      border-radius: 10px;
   }

   #searchProductsForm {
      width: 100%;
   }

   .search-products-list {
      input {
         border-radius: 80px;
         width: 100%;
         max-width: 850px;
         height: 55px;
         padding-left: 35px;
         border: 1px solid rgb(155, 155, 155);
         outline: none;
      }
   }

   .search-products-list button {
      border-radius: 5px;
   }

   #sortPriceSelect {
      border: none;
      background-color: #fff;
      outline: none;
   }

   .card-list-products .head-content {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      width: 100%;
      justify-content: center;
   }

   .form-acs-desc {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 20px 20px 40px 20px;
   }

   .card-list-products .main-link {
      display: flex;
      text-decoration: none;
      color: inherit;
      align-items: center;
      justify-content: center;
   }

   .card-list-products .img {
      height: 200px;
   }

   .card-list-products .img img {
      width: 100%;
      height: 100%;
      border-radius: 5px;
      object-fit: cover;
      margin-bottom: 10px;
   }

   .card-list-products .main-content {
      display: flex;
      flex-direction: column;
      flex-grow: 1;
      align-items: center;
   }

   .card-list-products .main {
      border: 1px solid #ccc;
      padding: 10px;
      border-radius: 8px;
      background-color: #fff;
      display: flex;
      flex-direction: column;
      align-items: stretch;
      width: 260px;
      height: 400px;
      overflow: hidden;
      text-align: left;
   }

   .content {
      width: 100%;
   }

   .card-list-products .content h5,
   .card-list-products .content h6,
   .card-list-products .content p {
      display: -webkit-box;
      -webkit-box-orient: vertical;
      overflow: hidden;
      text-overflow: ellipsis;
      word-break: break-word;
      width: 100%;
   }

   .card-list-products .content {
      display: flex;
      flex-direction: column;
      flex-grow: 1;
      padding: 0 5px;
   }

   .card-list-products .content h5 {
      -webkit-line-clamp: 1;
      padding-top: 5px;
   }

   .card-list-products .content h6 {
      margin-top: auto;
      -webkit-line-clamp: 1;
      color: red;
      padding-left: 5px;
   }

   .card-list-products .content p {
      padding-top: 5px;
      -webkit-line-clamp: 3;
   }

   .no-products {
      width: 100%;
      font-size: 16px;
      color: #555;
      padding-left: 25px;
      text-align: center;
   }

   /* ใฟ้แฮมเบอร์เกอรหายไป */
   @media only screen and (max-width: 500px) {
      .con-product-shop {
         padding: 0 20px;
      }

      .con-search-listproduct {
         padding: 0;
      }

      .card-list-products .head-content {
         margin: 0;
         padding: 0;
      }

      .img-carvs {
         img {
            width: 330px;
            height: 250px;
         }
      }

      .text-pros {
         p {
            font-size: 15px;
            padding: 0 15px;
            text-align: center;
         }
      }

      .img-text {
         padding: 0;
         margin: 0;
      }

      .con-content {
         display: flex;
         flex-direction: column;
         align-items: center;
      }

      /* ส่วนกรอง */
      .choose-category {
         padding: 0 15px;
         min-width: 100%;
         margin: 0;
      }

      .list-category {
         a {
            width: 100% !important;
            margin: 0 !important;
         }
      }


      .list-category h2 {
         width: 100%;
         text-align: center;
      }

      .card-select {
         min-width: 100%;
         padding: 0;
         margin: 0;
         text-align: center;

         p {
            display: none;
         }
      }

      .price-inputs {
         margin-bottom: 25px;

         div {
            input {
               width: 100%;
            }
         }
      }


      .slider-wrapper {
         width: 100%;

         input {
            min-width: 50%;
         }
      }

      /* ส่วนแสดงสินค้า */

      .form-acs-desc {
         padding: 20px 0;
         text-align: center;

         #searchInputProduct {
            height: 45px;
         }
      }

      .card-list-products .main {
         width: 140px;
         height: 240px;
      }

      .card-list-products .img {
         height: 100px;
      }

      .card-list-products .img img {
         width: 100%;
         height: 100%;
      }

      .content {
         h5 {
            font-size: 11px !important;
         }

         p {
            font-size: 10px !important;
         }

         h6 {
            font-size: 10px !important;
         }
      }
   }

   /* แท็บเล็ต */
   @media only screen and (min-width: 500px) and (max-width: 769px) {

      .con-product-shop {
         padding: 0 20px;
      }

      .con-search-listproduct {
         padding: 0;
      }

      .card-list-products .head-content {
         margin: 0;
         padding: 0;
      }

      .img-carvs {
         img {
            width: 450px;
            height: 300px;
         }
      }

      .img-text {
         padding: 0;
         margin: 0;
      }

      .con-content {
         display: flex;
         flex-direction: column;
         align-items: center;
      }

      /* ส่วนกรอง */
      .choose-category {
         padding: 0 15px;
         min-width: 100%;
         margin: 0;
      }

      .list-category {
         a {
            width: 100% !important;
            margin: 0 !important;
         }
      }


      .list-category h2 {
         width: 100%;
         text-align: center;
      }

      .card-select {
         min-width: 100%;
         padding: 0;
         margin: 0;
         text-align: center;

         p {
            display: none;
         }
      }

      .price-inputs {
         margin-bottom: 25px;

         div {
            input {
               width: 100%;
            }
         }
      }


      .slider-wrapper {
         width: 100%;

         input {
            min-width: 50%;
         }
      }

      /* ส่วนแสดงสินค้า */

      .form-acs-desc {
         padding: 20px 0;
         text-align: center;

         #searchInputProduct {
            height: 45px;
         }
      }

      .card-list-products .main {
         width: 140px;
         height: 240px;
      }

      .card-list-products .img {
         height: 100px;
      }

      .card-list-products .img img {
         width: 100%;
         height: 100%;
      }

      .content {
         h5 {
            font-size: 11px !important;
         }

         p {
            font-size: 10px !important;
         }

         h6 {
            font-size: 10px !important;
         }
      }
   }

   /* เดสก์ท็อปกลาง */
   @media only screen and (min-width: 769px) and (max-width: 1199px) {

      .con-content {
         display: flex;
         flex-direction: column;
         align-items: center;
      }

      /* ส่วนกรอง */
      .choose-category {
         padding: 0 15px;
         min-width: 100%;
         margin: 0;
      }

      .list-category {
         a {
            width: 100% !important;
            margin: 0 !important;
         }
      }


      .list-category h2 {
         width: 100%;
         text-align: center;
      }

      .card-select {
         min-width: 100%;
         padding: 0;
         margin: 0;
         text-align: center;

         p {
            display: none;
         }
      }

      .price-inputs {
         margin-bottom: 25px;

         div {
            input {
               width: 100%;
            }
         }
      }


      .slider-wrapper {
         width: 100%;

         input {
            min-width: 50%;
         }
      }

      /* ส่วนแสดงสินค้า */

      .form-acs-desc {
         text-align: center;
      }

      .card-list-products .main {
         width: 220px;
         height: 350px;
      }

      .card-list-products .img {
         height: 180px;
      }

      .card-list-products .img img {
         width: 100%;
         height: 100%;
      }
   }

   /* เดสก์ท็อปใหญ่ */
   @media only screen and (min-width: 1200px) and (max-width: 1500px) {

      /* ส่วนกรอง */
      .list-category {
         a {
            width: 85% !important;
         }
      }

      .choose-category {
         padding: 0 15px;
         width: 350px;
      }

      .card-select {
         width: 100%;
         padding: 0;
         margin: 0;
      }

      .slider-wrapper {
         width: 100%;

         input {
            width: 100%;
         }
      }

      /* ส่วนแสดงสินค้า */

      .card-list-products .main {
         width: 240px;
         height: 350px;
      }

      .card-list-products .img {
         height: 180px;
      }

      .card-list-products .img img {
         width: 100%;
         height: 100%;
      }
   }