*{
    padding: 0px;
    margin: 0px;
    box-sizing: border-box;
}

html{
    background-color: #fff7d6;    
}

.row{    
    background-color: #fff7d6;

}
body{
    position: relative;
}

a{
    text-decoration: none;
}

/* 插圖 */
.bg{
    width: 100%; 
    position: absolute;
    top: 18%;   
   
}

.bg-1{
    position: absolute;    
}
.bg-2{
    position: absolute;
    top: 50%;
    right: 0px;         
}
.bg-3{    
    width: 40px;
    height: 40px;
    height: auto;
    position: fixed;
    top: 90%;
    right: 2%;
    z-index: 6;
}
.bg-3 img{
    width: 100%;
}
.bg-4{    
    width: 80px;
    height: 80px;
    height: auto;
    position: fixed;
    top: 75%;
    right: 2%;
    z-index: 6;
}

.bg-4 img{
    width: 100%;
}

@media (max-width:1700px){
    .bg{
        display: none;
    }
    
}

@media (max-width:768px){
    .bg-3{
        width: 40px;
        position: fixed;
        top:90%;
        right: 1%; 
        z-index: 6;
   }
   .bg-4 {
    width: 60px;
    position: fixed;
    top:80%;
    right: 1%; 
    z-index: 6;
    }
}


/* LOGO START */
.jhheader{   
    /* margin-top: -50px;  */
    background-color: #ffd62f;
}

.jhheader-top{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 60px;
    background-color: #ffd62f;
    margin: auto;    
}

.jhheader-logo img{
    width: 200px;
    margin: 30px 0px 0px 30px;
}
@media(max-width:768px){
    .jhheader-logo img{
        margin: 30px 0px 0px 20px;
    }
}

.jhheader-link{
    display: flex;    
    margin: 0px 30px 0px 0px;
}

@media(max-width:768px){
    .jhheader-link{
        display: none;
    }
}

.jhheader-link p{    
    padding: 6px;
}

.jhheader-link a{
    text-decoration: none;
}

.jhheader-link a:hover{
    color: #ea5a27;
}
/* LOGO END */


/* 切換選單START */
body {font-family: Arial;}

/* Style the tab */
.tablink {
  width: 100%;  
  background-color: #ffd62f;
  color:#000000;
  float: left;
  /* border:3px solid #6f00ff; */
  outline: none;
  cursor: pointer;
  padding: 14px 16px;
  font-size: 17px;  
  border-radius: 30px 30px 0 0;
  z-index: 50;
}

.tablink:hover {
  background-color: #ea5a27;
}


/* Style the tab content (and hide it by default) */
.tabcontent {
  display: none; 
  /* border: 1px solid #ccc; */
  border-top: none;
}

/* Style the active class, and buttons on mouse-over */
.tablink.active, .tablink:hover {
  background-color: #ea5a27;
}
/* 切換選單END */

/* BANNER輪播 */
.jhcontaint{
    /* max-width: 1200px; */
    background-color:#fff7d6;
    margin: auto;
    z-index: 50;
}

.jhcontaint-menu{
    width: 100%;
  max-width: 1200px;
    margin: auto;
    z-index: 50;
}

.tabs{
    width: 100%;
    padding: 30px;
    margin: auto;
}

.banner {
  position: relative;
  width: 100%;
  height: 40vh;
  /* Adjust based on requirement */
  overflow: hidden;
}

.dynamic-images img.active {
  display: block;
  /* Only display active image */
}

.overlay-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 輪播 */
.bannerImage {
    display: none;
}

.bannerImage.active {
    display: block;
    /* 加入過渡效果使圖片切換更平滑 */
    transition: opacity 0.5s ease-in-out;
    opacity: 0; /* 開始時不可見 */
}

/* 確保當圖片為active時可見 */
.bannerImage.active.fade-in {
    opacity: 1; /* 結束時完全可見 */
}

.dynamic-images img{
    position: absolute;
    top: 0%;
    left: 30%;
    width: 50%;    
}
/* BANNER輪播END */

/* BANNEER輪播　START */
.banner {
    width: 100%;
     height: 500px; /*根據需求調整 */
    /* background-image: url('../images/51banner.png'); 設置Banner背景圖 */
    /* background-size: cover; */
    background-position: center;
    position: relative;
    display: flex;
    justify-content: center; /* 將輪播小圖容器置中 */
    align-items: center; /* 垂直置中 */
    border-bottom: 3px solid #000000;
  }

  .mobile-banner img{
    width: 100%;
  }
  
  .carousel-container {
    width: 30%; /* 根據需求調整小圖輪播容器的大小 */
    height: 50%;
    overflow: hidden;
    position: relative;
    /* z-index: 1; */
  }

  /* .banner-front{
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    justify-content: center;
    align-items: center;
  } */
  
  .carousel-image {
    width: 100%;
    height: auto;
    object-fit: cover; /* 或其他適合的值 */
  }


  @media (max-width: 768px) {
    .banner{
      display: none;    
    } 
    .dynamic-images{
        display: none;
    }   
    .banner img{
        display: none;  
    }
  }
  
@media (min-width: 769px) {
    .mobile-banner{
      display: none;
    }
  }
  /* BANNEER輪播　END */


.active {
    display: block;
}
/* 表單切換控制 END */


/* 表單控制裝飾 start */
   .jhmenu{
    padding: 50px;
    position: relative;
    margin: auto;
   }
   .menu{  
        width: 100px;
        height: 1000px; 
        margin: 150px;
        background-color: #777;
        border: 1px solid #000000;
    }

    .content-d{
        margin: auto;
    }  
/* 表單控制裝飾 END */

/* 分類區 */
.category{
    max-width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px;
    background-color: #fcde64;
    height: 100px;     
    margin: auto;
    /* margin-top: 30px; */
    /* border-radius: 45px 0px 45px 0px; */
    /* border: 1px solid hsl(0, 100%, 47%); */
     
  }

  .category_ul{
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    list-style: none;
    margin-bottom: 0px;    
    /* border: 1px solid #222; */
  }

  .category_ul p{
    font-weight: bold;
    font-size: 20px;
    margin-bottom: 0px;    
  }

  .category_ul a{
    text-decoration: none;
  }

  .category_ul .category_li:hover{
    color: orangered;
  }

  .category_div{
    display: flex;
  }

  .category_li{
    color: #2a28ac;
    text-align: center;
    margin-right: 25px;
  }

  .category_txt{
    font-size: 20px;
    font-weight: bold;
  }

  .category_txt:hover{
    color: orangered;
    font-size: 25px;
  }

  @media (max-width:1122px) {
    
  }

  @media (max-width:980px) {   
    .category_ul{
        display: block;    
  }
    .category_txt,  .category_txt_city{
        font-size: 18px;
        margin: 0;
        padding: 0px;
  }

}

/* 選單 START */
  #hover-area{
    display: block;
    justify-content: center;
    align-items: center;
    text-align: center;
  }
  #hover-area p{
    font-weight: bold;
  }

  @media (min-width:768px){
    #hover-area p{
        padding: 0px;
        margin: 0px;
        font-size: 18px;
    }
  }

  @media (max-width:768px){
    #hover-area p{
        font-size: 0.8rem;        
        margin-bottom: 0px;        
    }
    .tablink{
        padding: 8px;
    }
    #text{
        font-size: 0.8rem;   
    }
  }

  #text{
    color: rgb(255, 255, 255);
    text-align: center;
    font-weight: bold;
  }
  #content {
    display: none;
  }  
  #hover-area:hover + #content {
    display: block;
  }
  /* 選單 END */

/* 優惠區 */
.jhsale-cont{
    width: 100%;
    position: relative;
    margin-top: 30px;
}
.jhsale{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 50px;
}

.jhsale a{   
    width: 35%;
    margin-left: -100px; 
}
.jhsale-title{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: auto;
}
.jhsale-title img{
    width: 20%;
    margin: auto;
}

@media (max-width:768px){
    .jhsale-cont{
        width: 100%;
        justify-content: center;
        align-items: center;
        /* border: 1px solid #000000; */
    }
    .jhsale{
        width: 100%;
        margin: 0px;
        /* border: 1px solid #000000; */
        margin: auto;
    } 
    .jhsale img{   
        width:200%;
        margin-left: -25px; 
    }  
    .jhsale-title img{
        width: 50%;
    }
}

.featured_title_price p{
    margin-bottom: 0px;
    font-size: 18px;
    text-align: center;
}


  /* content1 */
  .content{
    background-color: #fff7d6;
    padding: 10px;
  }
  .content-title{
    width: 100%;  
    height: 100px;  
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 150px;
    margin: auto;    
    }  
    
@media(max-width:768px){
    .content-title{
        display: none;
    }
    .mob-content-title{
        margin: 30px;
        padding: 0;
    }
}

@media (min-width:767px){
    .mob-content-title{
        display:none;
    }
}

  .content-title-bg{
    width: 100%;     
    display: flex;
    justify-content: center;
    align-items: center;    
  }

  @media (max-width:768px){
    .content-title-bg img{
        width: 60%;
    }
  }

  .content-title h1{
    position: absolute;
    top: 0%;
    left: 45%;
  }

  /* 分類 */
  .Classification{
    width: 100%;
  }
  .ClassificationDiv{
    display: flex;
    justify-content: center;
    align-items: center;
  }
    .ClassificationDiv a{
        color: #000000;
        font-weight: bold;
        background: #b9dcff;
        /* background: linear-gradient(270deg,rgba(44, 144, 247, 1) 37%, rgba(242, 216, 82, 1) 100%); */
        border-radius: 10px;
        text-decoration: none;
        padding: 10px 20px;
        margin-left: 10px;
  }

     .ClassificationDiv a:hover{
        color: #004b88;
        /* text-shadow: 1px 2px #000000ce; */
        font-weight: bold;
        background: #b9dcff;
        /* background: linear-gradient(270deg,rgba(44, 144, 247, 1) 37%, rgba(242, 216, 82, 1) 100%); */
        border-radius: 10px;
        text-decoration: none;
        padding: 10px 20px;
        margin-left: 10px;
  }
  
  
  

  /* 商品區 */
  .featured {
    width: 100%;
    max-width: 1440px;
    position: relative;
    margin: 0 auto;
}

.featured .ul_box {
    width: 100%;
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.featured img {
    width: 100%;
    display: block;
    font-size: 0;
    margin: 0 auto;
}

.featured .li_box {
    width: 31%;
    margin: 10px 10px 50px 10px;    
    border: 1px solid #000000;
    border-radius: 12px ;
    position: relative;    
}


/* .featured .li_box:nth-child(2) {
    margin: 0 40px 25px 40px;
}

.featured .li_box:nth-child(5) {
    margin: 0 40px 0 40px;
}

.featured .li_box:nth-child(4) {
    margin: 0;
}

.featured .li_box:nth-child(6) {
    margin: 0;
}
*/

.featured .li_box a {
    display: block;
    text-decoration: none;
    color: #222;
    font-weight: 700;
}

.featured_bg{
    background-color: #ea5b27;
    width: auto;
    height: auto;
    padding: 5px;
    margin-left: 5px;
    border-radius: 5px;
    color: #fff;
}

.featured_bg1{
    border:1px solid red;
    color: red;    
    padding: 5px;
    margin-left: 5px;    
    border-radius: 5px;
}

.featured_day {
    position: absolute;
    right: 0px;
}

@media(max-width:1390px){
    .featured_day{
        display: none;
    }
}


.featured_title_price{
    color: rgb(255, 255, 255);
    background-color: #0e70c9;
    text-align: right; 
    font-size: 18px; 
    border-radius: 0px 0px 12px 12px;
    padding: 8px;  
}

.featured_title_price p{
    margin-bottom: 0px;
    font-size: 18px;
    text-align: center;
}

.featured_small {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    color: #40b0af;
}

.featured_small img{
  width: 20px;
}

.featured_small .date_icon{
    width: 20px;
    margin: 0 8px 0 0;
}

.featured .featured_img {
    border-top-right-radius: 10px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-top-left-radius: 10px;
    overflow: hidden;
    position: relative;
}

.featured .featured_img::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    background: rgba(0, 0, 0, .3);
    transition: all 1s;
}


.featured .li_box a:hover {
    color: #EB5A26;
}

.featured .li_box a:hover>.featured_img::before {
    background: rgba(0, 0, 0, .0);
}

.featured .featured_title {
    display: flex;
    justify-content: space-between;
    align-content: center;
    font-size: 18px;
}

.featured .featured_txt {
    padding: 15px 15px 30px 15px;
    background:#fff7d6 ;
    border-top-right-radius: 0;
    border-top-left-radius: 0;
    justify-content: space-between;
    align-items: center;
    margin: 0;  
}


.featured .ul_box {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.featured img {
    width: 100%;
    display: block;
    font-size: 0;
    margin: 0 auto;
}

.featured .li_box a {
    display: block;
    text-decoration: none;
    color: #222;
    font-weight: 700;
}


.featured_small {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    color: #40b0af;
}

.featured_small .date_icon {
    width: 20px;
    margin: 0 8px 0 0;
}

.featured .featured_img {
    border-top-right-radius: 10px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-top-left-radius: 10px;
    overflow: hidden;
    position: relative;
}

.featured .featured_img::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    background: rgba(0, 0, 0, .3);
    transition: all 1s;
}


.featured .li_box a:hover {
    color: #EB5A26;
}

.featured .li_box a:hover>.featured_img::before {
    background: rgba(0, 0, 0, .0);
}

.featured_icon{
    position: relative;
    display: flex;
    justify-content: left;
    align-items: center;

}

@media (max-width:1450px) {
    .featured .li_box {
        width: 30%;
    }
}

@media (max-width:1200px) {

    .featured .li_box:nth-child(2) {
        margin: 0 30px 25px 30px;
    }

    .featured .li_box:nth-child(5) {
        margin: 0 30px 0 30px;
    }
    .featured_bg1{
        font-size: 0.7rem;
    }
}

@media (max-width:1100px) {
    .featured_txt {
        flex-wrap: wrap;
    }

    .featured .featured_title {
        margin: 0 0 4px 0;
    }  
   
}

@media (max-width:900px) {
    .featured .li_box {
        width: 45%;
        margin: 0 20px 25px 20px;
    }

    .featured .li_box:nth-child(2),
    .featured .li_box:nth-child(3),
    .featured .li_box:nth-child(4) {
        margin: 0 20px 25px 20px;
    }

    .featured .li_box:nth-child(6),
    .featured .li_box:nth-child(5) {
        margin: 0 20px 0 20px;
    }
}

@media (max-width:816px) {
    .featured .li_box {
        margin: 0 10px 25px 10px;
    }

    .featured .li_box:nth-child(2),
    .featured .li_box:nth-child(3),
    .featured .li_box:nth-child(4) {
        margin: 0 10px 25px 10px;
    }

    .featured .li_box:nth-child(6),
    .featured .li_box:nth-child(5) {
        margin: 0 10px 0 10px;
    }

}

@media (max-width:768px) {
    .featured .li_box {
        width: 90%;
        margin: 0 12px 25px 12px;
    }

    .featured .li_box:nth-child(2),
    .featured .li_box:nth-child(5) {
        margin: 0 12px 25px 12px;
    }
    .featured_bg1{
        font-size:0.85rem;
    }
}

.more_link {
    width: 100%;
    max-width: 1440px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin: 10px auto 60px auto; 
    padding-bottom: 10px;   
}

.more_link a {
    /* width: 100%; */
    display: flex;
    justify-content: flex-end;
    align-items: center;
    color: #595757;
    text-decoration: none;
    font-weight: 700;
}

.more_link a:hover {
    color: #EB5A26;
    border-bottom: 1px solid #EB5A26;
}

.more_link a .txt_inline {
    display: inline-block;
    font-size: 20px;    
}

.more_link a .img_inline {
    display: inline-block;
    width: 20px;
    margin: 0 0 0 7px;
}

@media (max-width:1440px) {
    .more_link {
        padding: 0 15px 0 0;
    }
}

@media (max-width:1415px) {
    .more_link {
        width: 98%;
    }
}

@media (max-width:980px) {
    .more_link {
        width: 94%;

    }
}

/* 兒童節連假START */

.dbf-banner{
    width: 100%;
    overflow: hidden;
}
.dbf-banner img{
    width: 100%;
    overflow: hidden;
}
.mob-dbf-banner{
    display: none;
    width: 100%;
}
.mob-dbf-banner img{
    display: none;
    width: 100%;
}

@media(max-width:768px){
    .mob-dbf-banner{
        display: block;
    }
    .mob-dbf-banner img{
        display: block;
    }
    .dbf-banner{
        display: none;
    }
}

/* 選單 */
.dbf-category{
    margin-top: -5px;
    background-color: #008cbb;
}
.dbf-category_ul{
    color: #FFF;
}
.dbf-category_txt{
    color: #FFF;
}
.dbf-category_txt:hover{
    color: #e5ff00;
}
/* 選單END */

/* 商品區 START */
.dbf-tab{
    background-color: #73ff00;
    position: absolute;
    top: 0%;
    left: 3%;
    padding: 8px;
    font-size: 16px;
    text-align: center;
}
.dbf-tab p{
    margin: 0px;
}

.dbf_title_price{
    background-color: #3fb9e1;
    padding: 8px;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    color: #000000;
    border-radius: 0 0 13px 13px;
}
/* 商品區END */
/* 底圖 */

.jhfooter-bottom{
    width: 100%;
    overflow: hidden;     
    padding: 0px;
    margin-bottom: -10px;
    z-index: 15;
}
.jhfooter-bottom img{
    width: 100%;
    overflow: hidden;  
    z-index: 15;      
}
/* 端午節連假END */

.jhfooter{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;    
    background-color: #ea5a27;
    color: #FFF;
    padding: 20px;
    font-size: 18px;
    font-weight: bold;
    text-align: center;    
}

.jhfooter-div {  
    padding-left: 50px;
}

@media (max-width:768px){
    .jhfooter{
        display: block;
        padding: 6px;
        margin: 0px;
    }
    .jhfooter-div{
        padding: 0px;
    }
    .jhfooter-div p{
        font-size: 16px;
    }
}

.areaPlace{
    color: #FFF;
    text-align: center;
}