body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Jost', sans-serif;
  
}
html {
  scroll-behavior: smooth;
}
/* ✅ ป้องกันการล้นแนวนอน */
html, body {
  overflow-x: hidden;
}


.hero {
  background: url("img/banner_6.jpg") no-repeat center center/cover;
  min-height: 100vh; /* สูงเท่าหน้าจอ */
  display: flex;
  flex-direction: column;
  color: #003366;

}

.top-bar {
  background-color: #2d73b9;
  padding: 10px 80px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1010; /* Z-index ให้สูงกว่า navbar */
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  /* padding: 10px 20px; เพิ่ม padding ตามต้องการ */
  
}

.logo {
  height: 80px;
}

.navbar {
  display: flex;
  justify-content: center;
  margin-top: 80px;
  font-size: 33px;


  /* border-bottom: 3px solid #1a2b57;
  width: fit-content;
  margin: 0 auto; */
  
}
.menu-underline {
  border: none;
  border-top: 3px solid #031d67;
  width: 64%; /* หรือจะใช้ width: fit-content; แล้วครอบด้วย container */
  margin: -30px auto 20px auto; /* <— ขยับเส้นขึ้นด้วย margin-top ติดลบ */
  
}

.navbar ul {
  list-style: none;
  display: flex;
  gap: 30px;
  align-items: center;
  
}

.navbar li a {
  text-decoration: none;
  color: #003366;
  margin: 0 20px;
  font-weight: bold;
}

.paw-icon {
  height: 64px;
}

.content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex: 1;
  padding: 40px 10%;
  flex-wrap: wrap;
}

.left {
  flex: 1 200px;  
  
  
}

.catdog {
  max-width: 100%;
  height: auto;

}

.right {
  flex: 1 1 300px;
  color: #3878b8;
  text-align: right;
}

.right h1 {
  font-size: 3.8rem;
  /* margin-bottom: 60px; */
  line-height: 1.10;
  font-family: "Fraunces", serif;
}

.right p {
  color: #0b1e54;
  font-size: 2.3rem;
  /* margin-bottom: 60px; */
  line-height: 1.6;
  font-weight: bold;
}

.buttons {
  display: flex;
  gap: 80px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.btn {
  background-color: #2d73b9;
  font-size: 24px;
  color: #fff;
  border: 4px solid gold;
  padding: 15px 35px;
  text-decoration: none;
  border-radius: 5px;
  transition: background 0.3s;
  font-family: "Young Serif", serif;

}
.btn:hover {
  background-color: #009acc;
}

.hamburger {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: #003366;
  padding: 10px;
  position: absolute;
  right: 20px;
  top: 25px;
}

/* Responsive for Mobile */
@media (max-width: 768px) {
  .hero {
    background-image: url('img/banner_7.jpg');
  }

  .navbar ul {
    display: none;
    flex-direction: column;
    gap: 10px;
    background-color: white;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    padding: 20px 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    z-index: 999;
  }
  .menu-underline {
    display: none;
    width: 90%;
    margin: -20px auto 16px auto;
  }


  .navbar ul.show {
    display: flex;
  }




/* 🌟 เพิ่มโค้ดสำหรับปรับขนาดตัวอักษรตรงนี้ 🌟 */
    
    .right h1 {
        /* ปรับขนาดจาก 3.8rem ให้เป็นขนาดที่เล็กลง */
        font-size: 25px; /* ลองเปลี่ยนเป็น 2.5rem หรือ 2rem */
        line-height: 1.2;
        margin-top: 20px; /* อาจจะต้องเพิ่ม margin ด้านบน */
    }

    .right p {
        /* ปรับขนาดจาก 2.3rem ให้เป็นขนาดที่เล็กลง */
        font-size: 20px; /* ลองเปลี่ยนเป็น 1.2rem หรือ 1.5rem */
        line-height: 1.4;
        margin-bottom: 20px;
    }

    /* ปรับ padding ของ content เพื่อให้ข้อความมีพื้นที่มากขึ้น */
    .content {
        padding: 20px 5%; /* ลด padding ด้านข้างจาก 10% เหลือ 5% */
        text-align: center; /* จัดข้อความให้อยู่ตรงกลางบนมือถือ (ถ้าต้องการ) */
        justify-content: center;
    }
    
    .right {
        text-align: center; /* จัดข้อความให้อยู่ตรงกลางบนมือถือ */
    }

    .btn {
        /* ลดขนาดตัวอักษรในปุ่มจาก 24px */
        font-size: 18px; 
        /* ลด padding รอบตัวอักษรในปุ่ม */
        padding: 10px 15px; 
        /* ลดความหนาของขอบ (border) */
        border: 2px solid gold; 
    }

    .buttons {
        justify-content: center;
        gap: 15px; /* ลดช่องว่างระหว่างปุ่ม */
        margin-top: 10px;
    }







  @media (max-width: 768px) {
  .hamburger {
    display: block !important;
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 2000;
    color: #003366;
  }
}

}
.section1_1 {
      background-color: #fff8d9;
      display: block;
      font-size: 42px;
      text-align: center; 
     
      /* สีพื้นหลัง */
}


 .section1-1 img  {
        width: 100%;
        height: auto;
        display: flex;
    }
    .section1-2 img  {
        width: 100%;
        height: auto;
        display: flex;
    }
    .section1-3 img  {
        width: 100%;
        height: auto;
        display: flex;
    }
    .section1-4 img  {
        width: 100%;
        height: auto;
        display: flex;
    }

    .section-image1 img {
      width: 100%;
      height: auto;
      padding: 20px;
    }

  .section1 {
    background-color: #fff8d9;
    font-size: 50px;
    
  }

    .section1-img1 img  {
        width: 100%;
        height: auto;
        
    }
     .section1-img2 img  {
        width: 100%;
        height: auto;
        
    }
     .section1-img3 img  {
        display: block;
        width: 50%;        /* ขนาดภาพ */
        margin: 0 auto;     /* จัดกึ่งกลาง */
        height: auto;
        
    }
    
.product-section {

    background-color: #f0eee5; /* สีครีม */
    text-align: center;
    padding: 40px 20px;
    font-family: Arial, sans-serif;
  }

  .section-title {
    font-size: 60px;
    font-weight: bold;
    color: #3878b8;
    text-shadow: 1px 1px #b0c4de;
    position: relative;
    display: inline-block;
    margin-bottom: 40px;
    font-family: "Jost", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
  }

  .section-title::before,
  .section-title::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 700px;
    height: 5px;
    background-color: #3878b8;
  }

  .section-title::before {
    right: 100%;
    margin-right: 20px;
  }

  .section-title::after {
    left: 100%;
    margin-left: 20px;
  }

  .product-list {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 30px;
  }

  .product-item {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 12px;
    width: 300px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  }

  .product-item img {
    width: 100%;
    height: auto;
    margin-bottom: 15px;
  }

  .product-name {
    font-weight: bold;
    color: #3878b8;
    font-size: 24px;
    font-family: "Jost", sans-serif;
  }

  .view-all-button {
    background-color: #2f78ba;
    color: white;
    font-weight: bold;
    font-family: "Young Serif", serif;
    font-size: 18px;
    padding: 10px 30px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 0 0 3px gold; /* 0 0 0 6px white; */
    transition: background-color 0.3s ease;
  }

  .view-all-button:hover {
    background-color: #1f3760;
  }


  .product-section1 {
    background-color: #f0eee5; /* สีครีม */
    text-align: center;
    padding: 40px 20px;
    font-family: Arial, sans-serif;
  }

  .section-title1 {
    font-size: 60px;
    font-weight: bold;
    color: #3878b8;
    text-shadow: 1px 1px #b0c4de;
    position: relative;
    display: inline-block;
    margin-bottom: 40px;
    font-family: "Jost", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
  }

  .section-title1::before,
  .section-title1::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 700px;
    height: 5px;
    background-color: #3878b8;
  }

  .section-title1::before {
    right: 100%;
    margin-right: 20px;
  }

  .section-title1::after {
    left: 100%;
    margin-left: 20px;
  }

  .product-list1 {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 30px;
  }

  .product-item1 {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 12px;
    width: 300px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

  .product-item1 img {
    width: auto; /*100*/
    max-height: auto; /*450px*/
    object-fit: cover;
    
    /*border-radius: 8px;
    /*margin-bottom: 5px;*/
  }



.product-image-wrapper {
  width: 100%;
  aspect-ratio: 1 / 1; /* ปรับเป็น 4/3, 3/4 ตามความเหมาะสม */
  overflow: hidden;
  margin-bottom: 15px;
  display: flex; /*จัดกึ่งกลางรูป*/
  align-items: center; /*จัดกึ่งกลางแนวตั้ง*/
  justify-content: center;/*จัดกึ่งกลางแนวนอน*/
}

.product-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* ใช้ contain แทน cover ถ้าไม่อยากตัดรูป */
  border-radius: 8px;
  margin-bottom: 0;
}
  .product-name1 {
    font-weight: bold;
    color: #3878b8;
    font-size: 24px;
    font-family: "Jost", sans-serif;
    
  }



  .view-all-button1 {
    background-color: #2f78ba;
    color: white;
    font-weight: bold;
    font-size: 18px;
    font-family: "Young Serif", serif;
    padding: 10px 30px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 0 0 3px gold; /* 0 0 0 6px white; */
    transition: background-color 0.3s ease;
  }

  .view-all-button1:hover {
    background-color: #1f3760;
    
  }





/* ซ่อน banner mobile 2 ในสถานะปกติ (Desktop) */
.section-banner-2-mobile {
  display: none; 
  width: 100%;
  height: auto;
  
}

.section-banner-2-mobile img {
  width: 100%;
  height: auto;
  display: block;
}

/* ซ่อน banner mobile 2 ในสถานะปกติ (Desktop) */
.section-banner-3-mobile {
  display: none; 
  width: 100%;
  height: auto;
   /* ปรับระยะห่างตามต้องการ */
}

.section-banner-3-mobile img {
  width: 100%;
  height: auto;
  display: block;
}


@media (max-width: 768px) {
  .section-title1::before,
  .section-title1::after {
    display: none;
    width: 90%;
    margin: -20px auto 16px auto;
  }
  .section-title::before,
  .section-title::after {
    display: none;
    width: 90%;
    margin: -20px auto 16px auto
  }







/* 🌟 ซ่อน  เมื่อหน้าจอเล็ก 🌟 */
  .section1-1, 
  .section1-2,
  .section1-3 {
    display: none;
  }
  
  /* 🌟 แสดง  เมื่อหน้าจอเล็ก 🌟 */
  .section-banner-2-mobile {
    display: block;
  }

/* 🌟 ซ่อน  เมื่อหน้าจอเล็ก 🌟 */
  .section1-4 {
    display: none;
  }
  
  /* 🌟 แสดง  เมื่อหน้าจอเล็ก 🌟 */
  .section-banner-3-mobile {
    display: block;
  }



}


.footer {
  background-color: #f0eee5;
  padding:   0;
  font-family: 'Jost', sans-serif;
  color: #1a1a1a;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  text-align: center;
  padding-bottom: 20px;
}

.footer-section {
  max-width: 300px;
  margin-bottom: 30px;
}

.footer-section h3 {
  color: #3366b8;
  margin-bottom: 10px;
  font-weight: bold;
}

.footer-section h4 {
  color: #3366b8;
  margin: 20px 0 10px;
  font-weight: bold;
}

.footer-section a {
  color: inherit;
  text-decoration: none;
}

.social-icons img,
.shop-icons img {
  width: 60px;
  height: 60px;
  margin: 3px;
}

.footer-bottom {
  background-color: #3375b9;
  color: white;
  width: 100%;
  text-align: center;
  padding: 10px 0px;
  font-size: 14px;
  
}


 /*background-color: #2d73b9;
  padding: 10px 80px;
   position: fixed;
  top: 0;
  left: 0;
  width: 100%;






