@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');

/* ส่วน logo, ค้นหา, iconbasket, iconuser */

body {
   padding-top: 180px;
}


.search-bar-sticky {
   display: flex;
   justify-content: center;
   align-items: center;
   position: fixed;
   width: 100%;
   top: 0;
   background: #fff;
   z-index: 999;
   transition: all 0.3s ease;
}

/* ตอน scroll ลง ให้มีเงา */
.search-bar-sticky.scrolled {
   box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}


.logo-shop {
   display: flex;
   align-items: center;
   justify-content: space-between;
   width: 100%;
   height: 75px;
   margin: 0 100px;
}

.logo {
   a {
      text-decoration: none;
      font-size: 1.5rem;
      font-weight: bold;
      color: black;
   }
}

.icon-search {
   flex: 1;
   display: flex;
   justify-content: center;
}

.group-icon-search {
   input {
      border: 1px solid #e0e0e0;
      border-radius: 20px;
      font-size: 16px;
      outline: none;
      width: 100%;
      height: 50px;
      padding-left: 20px;
   }
}

.user-menu-container {
   position: relative;
   display: flex;
   align-items: center;
}



.icon-user {
   cursor: pointer;
   padding: 0 22px;
}

.dropdown-menu {
   display: none;
   position: absolute;
   top: 40px;
   right: 0;
   background-color: white;
   border: 1px solid #ccc;
   border-radius: 6px;
   box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
   min-width: 160px;
   z-index: 1000;
}

.dropdown-menu a {
   display: block;
   padding: 10px;
   text-decoration: none;
   color: #333;
}

.dropdown-menu a:hover {
   background-color: #f0f0f0;
}


.login-register-buttons {
   display: flex;
}

.header-login-if {
   margin-right: 15px;
   padding: 5px 10px;
   border: 1px solid #3366CC;
   border-radius: 5px;
   display: flex;
   align-items: center;

   a {
      color: #3366CC !important;
      text-decoration: none;
   }

}


.header-login-if:hover,
.header-login-if:hover a {
   background-color: #3366CC !important;
   color: white !important;
}

.header-register-if {
   padding: 7px 10px;
   border: 1px solid #3366CC;
   border-radius: 5px;
   background-color: #3668cc;
   display: flex;
   align-items: center;

   a {
      color: #ffffff !important;
      text-decoration: none;
      font-size: 13px;
   }

}

.header-register-if:hover,
.header-register-if:hover a {
   background-color: #1c56c9 !important;
   color: white !important;
}

/* ส่วน menu และประเภทสินค้า */
.main-nav {
   position: fixed;
   top: 75px;
   width: 100%;
   transition: top 0.8s ease;
   z-index: 998;
   box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
   background-color: #ffffff;
}

.type {
   display: flex;
   justify-content: space-between;
   align-items: center;
   padding: 15px 85px 15px 85px;
}

.category-dropdown-content {
   display: none;
   position: absolute;
   background: #fff;
   border: 1px solid #ddd;
   box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
   z-index: 999;
}

.category-dropdown-content a:hover {
   color: red;
}

.category-dropdown-container.show .category-dropdown-content {
   display: block;
}

.category-dropdown-container {
   position: relative;
   display: inline-block;
}

.category-dropdown-content {
   display: none;
   position: absolute;
   top: 100%;
   left: 0;
   background: #fff;
   border: 1px solid #ddd;
   box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
   min-width: 200px;
   z-index: 999;
}


.category-dropdown-container.show .category-dropdown-content {
   display: block;
}

.category-button {
   background-color: #f0f2f5;
   color: #333;
   padding: 12px 20px;
   font-size: 16px;
   font-weight: 600;
   border: none;
   cursor: pointer;
   border-radius: 8px;
   display: flex;
   align-items: center;
   gap: 10px;
   transition: background-color 0.3s ease;
   min-width: 200px;
   justify-content: space-between;
}

.category-button:hover {
   background-color: #e0e2e5;
}

.category-icon {
   display: flex;
   align-items: center;
}

.category-icon svg {
   color: #333;
}

.category-arrow {
   display: flex;
   align-items: center;
}

.category-arrow svg {
   color: #666;
}

.category-dropdown-content {
   display: none;
   position: absolute;
   background-color: #f9f9f9;
   min-width: 200px;
   box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
   border-radius: 8px;
   margin-top: 5px;
   left: 0;
}

.category-dropdown-content a {
   color: black;
   padding: 12px 16px;
   text-decoration: none;
   display: block;
   transition: background-color 0.3s ease;
}

.category-dropdown-content a:hover {
   background-color: #ddd;
   border-radius: 8px;
}

.category-dropdown-container.show .category-dropdown-content {
   display: block;
}

.menu {
   display: flex;

   a {
      font-size: 16px;
   }
}

.menu li {
   border-radius: 5px;
   transition: background-color 0.3s ease;
   list-style: none;
}


.menu li.active a {
   color: rgb(255, 0, 0);
}

.menu li:hover:not(.active) {
   background-color: none;
}

.menu li a {
   text-decoration: none;
   padding: 10px 20px;
   display: block;
   color: black;
   transition: color 0.3s;
}

.menu li a:hover {
   color: red;
}

.icon-basket {
   position: relative;
}

.basket-count {
   position: absolute;
   top: -8px;
   right: -8px;
   background: red;
   color: white;
   font-size: 12px;
   font-weight: bold;
   padding: 2px 6px;
   border-radius: 50%;
   box-shadow: 0 0 2px rgba(0, 0, 0, 0.5);
}

.group-icon-search {
   position: relative;
   /* เพื่อให้ ul position absolute อิง input */
}

#searchInputHeader {
   width: 850px;
   /* ปรับตามต้องการ */
   padding: 10px;
   padding-left: 20px;
   box-sizing: border-box;
}

.search-results {
   position: absolute;
   top: 100%;
   left: 0;
   width: 100%;
   background: #fff;
   list-style: none;
   padding: 0;
   margin: 0;
   max-height: 200px;
   overflow-y: auto;
   z-index: 1000;
   margin-top: 5px;
   background-color: #ffffff;
   border: none;
   border-radius: 5px;
}

.search-results li {
   padding: 8px 10px;
   cursor: pointer;
   color: #000;
}

.search-results li:hover {
   background-color: #eeeeee;
   color: red;
   border-radius: 3px;
}

/* Hamburger Menu CSS */
.ham-menu {
   display: inline-block;
   cursor: pointer;
}

.bar1,
.bar2,
.bar3 {
   width: 35px;
   height: 5px;
   background-color: #ffffff;
   margin: 6px 0;
   transition: 0.4s;
}

.change .bar1 {
   transform: translate(0, 11px) rotate(-45deg);
}

.change .bar2 {
   opacity: 0;
}

.change .bar3 {
   transform: translate(0, -11px) rotate(45deg);
}

/* มือถือ */
@media (max-width: 500px) {

   body {
      padding-top: 150px;
   }

   .logo-shop {
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0;
      gap: 40px;
      padding: 0 10px;
   }

   .header-register-if {
      display: none;
   }

   .icon-search {
      display: none;
   }

   .icon-user {
      display: none;
   }

   /* ส่วน MenuHame */
   .type {
      display: none;

   }

   .category-button {
      display: none;
   }

   .menu-active {
      display: block;
   }

   .main-nav {
      display: flex;
      height: auto;
      padding: 0.5rem 1rem;
      background-color: #333;
      justify-content: space-between;
   }

   .typemenu-active {
      display: flex;
      align-items: center;
      width: 100%;
   }

   .con-menu {
      width: 100%;
   }

   .menu {
      display: flex;
      flex-direction: column;
      justify-content: right;
      padding: 10px 0;

      li {
         border-radius: 0;

         a {
            color: white;
            padding-left: 0;
         }
      }
   }

   .menu li.active a {
      color: rgb(255, 255, 255);
   }

   .menu li a:hover {
      color: rgb(141, 141, 141);
   }

   .logoutHam hr {
      color: white;
   }
}

/* ใฟ้แฮมเบอร์เกอรหายไป */
@media only screen and (min-width: 780px) {
   .ham-menu {
      display: none;
   }

   .profileHam {
      display: none;
   }

   .logoutHam {
      display: none;
   }


}

/* แท็บเล็ต */
@media only screen and (min-width: 500px) and (max-width: 780px) {
   body {
      padding-top: 150px;
   }
   .logo-shop {
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0;
      gap: 80px;
      padding: 0 10px;
   }

   .icon-search {
      display: none;
   }

   .icon-user {
      display: none;
   }

   /* ส่วน MenuHame */
   .type {
      display: none;

   }

   .category-button {
      display: none;
   }

   .menu-active {
      display: block;
   }

   .main-nav {
      display: flex;
      height: auto;
      padding: 0.5rem 1rem;
      background-color: #333;
      justify-content: space-between;
   }

   .typemenu-active {
      display: flex;
      align-items: center;
      width: 100%;
   }

   .con-menu {
      width: 100%;
   }

   .menu {
      display: flex;
      flex-direction: column;
      justify-content: right;
      padding: 10px 0;

      li {
         border-radius: 0;

         a {
            color: white;
            padding-left: 0;
         }
      }
   }

   .menu li.active a {
      color: rgb(255, 255, 255);
   }

   .menu li a:hover {
      color: rgb(141, 141, 141);
   }

   .logoutHam hr {
      color: white;
   }



}

/* เดสก์ท็อปกลาง */
@media (min-width: 769px) and (max-width: 1199px) {
   .logo-shop {
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0;
      gap: 100px;
   }

   .icon-search {
      display: none;
   }
}

/* เดสก์ท็อปใหญ่ */
@media only screen and (min-width: 1200px) and (max-width: 1500px) {

   .logo-shop {
      padding-top: 0 !important;
      min-width: 350px;
      margin: 0;
      margin: 0 50px;
   }

   .logo {
      min-width: 190px;
      text-align: center;

      a {
         font-size: 1.4rem;
      }
   }

   .icon-search {
      width: auto;
   }

   .group-icon-search {
      input {
         max-width: 650px;
      }
   }

   .user-menu-container {
      width: auto;
   }


}

/* ส่วน banner -------------------------------------------------*/
.banner-wrapper {
   display: flex;
   align-items: center;
   justify-content: center;
}

.banner {
   position: relative;
   width: 98%;
   height: 78vh;
   overflow: hidden;
   border-radius: 20px;
   background-color: rgba(255, 255, 255, 0.3);
   h1 {
       font-size: 45px;
   }
   p {
       font-size: 18px;
   }
}

.bg-video-1 {
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   object-fit: cover;
   z-index: 0;
   transform: scale(1.4);
   transform-origin: center;
   transition: transform 0.5s ease;
}

.banner-content {
   position: relative;
   height: 100%;
}

.text-box {
   width: auto;
   height: 100%;
   display: flex;
   flex-direction: column;
   justify-content: center;
   color: white;
   padding-left: 10%;
}

.text-box a {
   border: 1px solid rgb(255, 255, 255);
   width: 130px;
   text-align: center;
   padding: 12px 20px;
   border-radius: 5px;
   text-decoration: none;
   color: white;
   font-size: 17px;
}

.text-box a:hover {
   background-color: rgb(24, 24, 199);
   transition: 0.5s;
   color: white;
   border: none;
}

/* --------------------------------------------- */

/* สินต้าแนะนำ */
.Theme2 {
   margin-top: 50px;
}

.con-bax-h1 {
   padding: 30px 0 30px 50px;
}

.head-menu {
   text-align: center;
   padding: 0 20px 0 20px;
}

.head-content {
   display: flex;
   overflow-x: auto;
   gap: 16px;
   padding: 15px;
   margin: 25px 50px 40px 50px;
   align-items: center;

   a {
      text-decoration: none;
      color: black;
   }
}

.main {
   width: 280px;
   height: 420px;
   flex-shrink: 0;
   background: #ffffff;
   border-radius: 8px;
   box-shadow: 0 4px 12px rgba(0, 0, 0, 0.123);
   text-align: center;
   display: flex;
   flex-direction: column;
   position: relative;
}

.main:hover {
   transform: scale(1.02);
   z-index: 10;
   box-shadow: 0 0 5px rgba(0, 0, 0, 0.432);
   color: black;
}

.main-content {
   padding: 10px;
   display: flex;
   flex-direction: column;
   gap: 10px;
   flex: 1;
}

.img img {
   width: 100%;
   height: 175px;
   border-radius: 5px;
   object-fit: cover;
}

.content {
   display: flex;
   flex-direction: column;
   flex: 1;
   text-align: left;
}

.content h5 {
   font-size: 14px;
   font-weight: bold;
   margin: 5px 0;
   word-wrap: break-word;
}

.content p {
   font-size: 11px;
   color: #666;
   margin: 5px 0;
   word-wrap: break-word;
   flex: 1;
}

.content h6 {
   font-weight: 700;
   color: red;
   font-size: 15px;
   margin-top: auto;
   padding-left: 10px;
}

.ViewAllProduct {
   display: flex;
   align-items: center;
   justify-content: center;
   margin-bottom: 50px;

   a {
      text-decoration: none;
      color: rgb(255, 255, 255);
      padding: 11px 20px 9px 20px;
      border-radius: 3px;
      background-color: #ff0000d2;
      transition: background-color 0.3s, color 0.3s;
      display: flex;
      align-items: center;
   }
}

.ViewAllProduct a:hover {
   background-color: #ff0000;
   color: #fff;
}

/* ส่วน Video */
.text-video {
   padding: 30px 0 30px 50px;
}

.bg-video-2 {
   padding-bottom: 60px;

}

.Video {
   display: block;
   overflow: hidden;

   iframe {
      border-radius: 25px;
      display: flex;
      justify-content: left;
   }
}

.promote {
   display: flex;
   flex-direction: column;
   width: 100%;
   margin: 0 auto;
   justify-content: center;
}

.iframe {
   display: flex;
   padding: 30px;
   justify-content: center;
   align-items: center;
}

.content-iframe {
   padding: 35px;
   max-width: 750px;
}

.img-show {
   display: flex;
   justify-content: center;
   gap: 50px;

   img {
      border-radius: 10px;
      width: 450px;
      height: 250px;
   }
}

.carousel-container {
   padding-top: 50px;
   overflow: hidden;
   width: 100%;
   padding: 20px 0;
   box-shadow: 0 0 5px rgba(0, 0, 0, 0.432);

}

.con-carousel-brand {
   margin: 0 auto;
   overflow: hidden;
}

.carousel-track {
   display: flex;
   width: max-content;
   animation: scroll 25s linear infinite;
}

.carousel-track a {
   flex: 0 0 auto;
   margin: 0 40px;
   transition: transform 0.3s;
}

.carousel-track a:hover {
   transform: scale(1.1);
}

.carousel-track img {
   height: 60px;
   object-fit: contain;
}

@keyframes scroll {
   from {
      transform: translateX(0);
   }

   to {
      transform: translateX(-50%);
   }
}

/* ส่วนของ promote ------------------------------------- */
.promote-wrapper {
   display: flex;
   flex-direction: column;
   justify-content: center;
   align-items: center;
   margin: 20px 0 10px 0;
}

.address-contact {
   align-self: flex-start;
   padding: 30px 0 30px 50px;
}

.card-promote {
   position: relative;
   display: flex;
   justify-content: space-between;
   background: url('../image/promote.jpg');
   margin: 50px 0;
   border-radius: 10px;
   overflow: hidden;
   width: 100%;
   z-index: 1;
}

.card-promote::before {
   content: "";
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   background-color: rgba(0, 0, 0, 0.5);
   /* ขาวโปร่ง */
   z-index: -1;
   /* ให้อยู่ใต้ข้อความ */
}

.contect-card {
   display: flex;
   justify-content: center;
   align-items: center;
   margin: 30px;

}

.address-contect {
   border: 1px solid black;
   background-color: #ffffff;
   border-radius: 10px;
   display: flex;
   flex-direction: column;
   justify-content: space-between;
   height: 100%;
   padding: 10px 20px 0 20px;

   p {
      font-size: 16px;
      display: flex;
      color: black;
   }
}

/* ส่วนของ youtube */
.con-youtube {
   margin: 60px 0;
}

.section-youtube {
   text-align: left;
   padding: 0 0 30px 50px;
}

.youtube {
   display: flex;
   justify-content: center;
   gap: 10px;

}

.card-1 {
   height: 100%;
   background-color: rgb(44, 44, 44);
   border-radius: 10px;
   overflow: hidden;
   padding: 0;


   p {
      color: white;
      padding: 15px;
      margin: 0;
   }
}

.iframe-card1 {
   justify-content: center;
   display: flex;

   iframe {
      width: 500px;
      height: 280px;
   }
}

.con-card1 {
   display: flex;
   align-items: center;
   justify-content: space-between;
   padding: 15px 20px;
}

.logo-youtube {
   display: flex;
   align-items: center;

   img {
      border-radius: 50%;
   }
}

.card-1-text {
   color: white;
   padding-left: 10px;
}

.button-follow {
   display: flex;
   align-items: center;

   a {
      background-color: blue;
      padding: 7px 20px;
      color: white;
      border-radius: 5px;
      text-decoration: none;
   }
}

.button-follow a:hover {
   background-color: darkblue;
   color: white;
}

/* ใฟ้แฮมเบอร์เกอรหายไป */
@media only screen and (max-width: 500px) {
   .banner {
      height: 40vh;
   }

   .text-box {
      padding: 0;
      display: flex;
      align-items: center;
      font-size: 15px;

      h1 {
         font-size: 28px;
      }

      p {
         width: 350px;
         text-align: center;
      }
   }

   .text-box h1 {
      text-align: center;
   }

   /* ส่วนสินค้าแนะนำ */
   .main {
      width: 200px;
      height: 340px;
   }

   .img {
      img {
         height: 150px;
         object-position: top;
      }
   }

   .head-menu {
      padding: 0;
   }

   .head-content {
      margin-left: 10px;
      margin-right: 10px;
   }

   /* ส่วน video และ โปรโมชัน */
   .iframe {
      flex-direction: column;
   }

   .main-iframe {
      iframe {
         width: 350px;
         height: 220px;
      }
   }

   .content-iframe {
      width: 420px;
      padding-bottom: 0;
      text-align: center;
   }


   .img-show {
      display: flex;
      flex-wrap: wrap;
      gap: 20px;
      align-items: center;
      text-align: center;

      img {
         width: 330px;
         height: 200px;
      }
   }

   .text-video {
      padding: 15px 0 10px 50px;
   }

   /* ส่วนสปอนเซอร์ */
   .carousel-track {
      a {
         img {
            width: 45px;
         }
      }
   }

   /* ส่วนที่อยู่เบื้องต้น */
   .img-card {
      text-align: center;

      img {
         width: 90%;
         height: 200px;
         border-radius: 20px;
         margin-top: 20px;
         object-fit: cover;
         object-position: top;
      }
   }


   .con-promote {
      width: 100%;
      display: flex;
      justify-content: center;
      padding: 0 20PX;
   }

   .card-promote {
      margin: 0;
      margin-bottom: 40px;
      flex-direction: column;
      width: 100%;
      align-items: center;
   }

   .card-promote::before {
      background-color: rgba(0, 0, 0, 0.76);
   }

   .contect-card {
      padding: 0 20px;
      width: 100%;
   }

   .address-contect {
      width: 100%;
      padding: 15px;
   }

   /* ส่วนวิดีโอจาก youtube */

   .youtube {
      flex-direction: column;
      align-items: center;
   }

   .card-1 {
      width: 330px;
   }

   .con-card1 {
      padding: 10px 10px;
   }

   .iframe-card1 {
      justify-content: center;
      display: flex;

      iframe {
         width: 450px;
         height: 200px;
      }
   }

   .con-youtube {
      margin: 40px 0 50px 0;
   }

   .cut-youtube {
      display: none;
   }

}

/* แท็บเล็ต */
@media only screen and (min-width: 500px) and (max-width: 769px) {
   .banner {
      height: 40vh;
   }

   .text-box {
      padding: 0;
      display: flex;
      align-items: center;

      p {
         width: 400px;
         text-align: center;
      }
   }

   .text-box h1 {
      text-align: center;
   }

   /* ส่วนสินค้าแนะนำ */
   .main {
      width: 200px;
      height: 360px;
   }

   .head-menu {
      padding: 0;
   }

   .head-content {
      margin-left: 10px;
      margin-right: 10px;
   }

   /* ส่วน video และ โปรโมชัน */
   .iframe {
      flex-direction: column;
   }

   .main-iframe {
      iframe {
         width: 400px;
         height: 220px;
      }
   }

   .content-iframe {
      width: 480px;
      padding-bottom: 0;
      text-align: center;
   }


   .img-show {
      display: flex;
      flex-wrap: wrap;
      gap: 20px;
      align-items: center;
      text-align: center;

      img {
         width: 330px;
         height: 200px;
      }
   }

   .text-video {
      padding: 15px 0 10px 50px;
   }

   /* ส่วนสปอนเซอร์ */
   .carousel-track {
      a {
         img {
            width: 50px;
         }
      }
   }

   /* ส่วนที่อยู่เบื้องต้น */
   .img-card {
      img {
         width: 100%;
         height: 200px;
         border-radius: 20px;
         margin-top: 20px;
         object-fit: cover;
         object-position: top;
      }
   }


   .con-promote {
      width: 100%;
      display: flex;
      justify-content: center;
      padding: 0 20PX;
   }

   .card-promote {
      margin: 0;
      margin-bottom: 40px;
      flex-direction: column;
      width: 100%;
      align-items: center;
   }

   .card-promote::before {
      background-color: rgba(0, 0, 0, 0.76);
   }

   .contect-card {
      padding: 0 20px;
      width: 100%;
   }

   .address-contect {
      width: 100%;
      padding: 15px;
   }

   /* ส่วนวิดีโอจาก youtube */

   .youtube {
      flex-direction: column;
      align-items: center;
   }

   .card-1 {
      width: 450px;
   }

   .con-card1 {
      padding: 10px 10px;
   }

   .iframe-card1 {
      justify-content: center;
      display: flex;

      iframe {
         width: 450px;
         height: 250px;
      }
   }

   .con-youtube {
      margin: 40px 0 50px 0;
   }

   .cut-youtube {
      display: none;
   }

}

/* เดสก์ท็อปกลาง */
@media only screen and (min-width: 769px) and (max-width: 1199px) {
   .banner {
      height: 60vh;
   }

   /* ส่วนสินค้าแนะนำ */
   .main {
      width: 200px;
      height: 360px;
   }

   /* ส่วน video และ โปรโมชัน */
   .iframe {
      flex-direction: column;
   }

   .main-iframe {
      iframe {
         width: 550px;
         height: 300px;
      }
   }

   .content-iframe {
      width: 480px;
      padding-bottom: 0;
      text-align: center;
   }


   .img-show {
      display: flex;
      flex-wrap: wrap;
      gap: 20px;
      align-items: center;
      text-align: center;

      img {
         width: 450px;
         height: 250px;
      }
   }

   .text-video {
      padding: 15px 0 10px 50px;
   }

   /* ส่วนสปอนเซอร์ */
   .carousel-track {
      a {
         img {
            width: 100px;
         }
      }
   }

   /* ส่วนที่อยู่เบื้องต้น */
   .img-card {
      img {
         width: 550px;
         height: 260px;
         border-radius: 20px;
         margin-top: 20px;
         object-fit: cover;
         object-position: top;
      }
   }


   .con-promote {
      width: 100%;
      display: flex;
      justify-content: center;
      padding: 0 20PX;
   }

   .card-promote {
      margin: 0;
      margin-bottom: 40px;
      flex-direction: column;
      width: 100%;
      align-items: center;
   }

   .card-promote::before {
      background-color: rgba(0, 0, 0, 0.76);
   }

   .contect-card {
      padding: 0 20px;
      width: 100%;
   }

   .address-contect {
      width: 100%;
      padding: 15px;
   }

   /* ส่วนวิดีโอจาก youtube */
   .con-card1 {
      padding: 10px 10px;
   }

   .iframe-card1 {
      justify-content: center;
      display: flex;

      iframe {
         width: 360px;
         height: 200px;
      }
   }

   .con-youtube {
      margin: 40px 0 50px 0;
   }

   .cut-youtube {
      display: none;
   }

}

/* เดสก์ท็อปใหญ่ */
@media only screen and (min-width: 1200px) and (max-width: 1500px) {
   .banner {
      height: 70vh;
   }

   /* ส่วนสินค้าแนะนำ */
   .main {
      width: 250px;
      height: 420px;
   }

   /* ส่วน video และ โปรโมชัน */
   .main-iframe {
      iframe {
         width: 550px;
         height: 300px;
      }
   }

   .content-iframe {
      width: 480px;
   }

   .img-show {
      img {
         width: 340px;
         height: 220px;
      }
   }

   .text-video {
      padding: 15px 0 10px 50px;
   }

   /* ส่วนสปอนเซอร์ */
   .carousel-track {
      a {
         img {
            width: 100px;
         }
      }
   }

   /* ส่วนที่อยู่เบื้องต้น */
   .img-card {
      img {
         width: 500px;
         height: 100%;
         object-fit: cover;
      }
   }

   .card-promote {
      margin: 0;
      margin-bottom: 40px;
   }

   /* ส่วนวิดีโอจาก youtube */
   .con-card1 {
      padding: 10px 10px;
   }

   .iframe-card1 {
      border: 1px solid red;
      justify-content: center;
      display: flex;

      iframe {
         width: 360px;
         height: 200px;
      }
   }

   .con-youtube {
      margin: 40px 0 50px 0;
   }


}

/* ส่วน footer */

.con-footer {
   display: flex;
   gap: 50px;
   padding: 50px;
   background: #222;
   justify-content: center;
}

.con-if-about {
   display: flex;
   gap: 50px;
}

.con-nav-logo {
   display: flex;
   gap: 50px;
}

.nav-logo {
   display: flex;
   gap: 50px;
}

.about-content {
   max-width: 550px;
   min-width: auto;
}

.con-navpage {
   min-width: 120px;
}

.logo-conntact {
   min-width: 120px;
}

.tiktok {
   margin: 10px 0 5px 0;

   a {
      img {
         border-radius: 50%;
      }
   }
}

@media only screen and (max-width:500px) {
   .con-footer {
      display: flex;
      flex-direction: column;
      justify-content: center;
   }

   .con-if-about {
      justify-content: center;
   }

   .con-nav-logo {
      display: flex;
      flex-direction: column;
   }

   .nav-logo {
      display: flex;
      flex-direction: column;
      justify-content: center;
   }

   .con-iframe {
      iframe {
         width: 350px;
         height: 250px;
         border: 1px solid red;
      }
   }

}



@media only screen and (min-width:500px) and (max-width:730px) {
   .con-footer {
      display: flex;
      flex-direction: column;
      justify-content: center;
   }

   .con-if-about {
      justify-content: center;
   }

   .con-nav-logo {
      display: flex;
      flex-direction: column;
   }

   .nav-logo {
      justify-content: center;
   }

   .con-iframe {
      iframe {
         width: 400px;
         height: 300px;
         border: 1px solid red;
      }
   }

}


@media only screen and (min-width: 600px) and (max-width: 1500px) {
   .con-footer {
      display: flex;
      flex-direction: column;
      justify-content: center;
   }

   .con-if-about {
      justify-content: center;
   }

   .con-nav-logo {
      justify-content: center;
   }

   .con-iframe {
      iframe {
         width: 600px;
         border: 1px solid red;
      }
   }

}