/* 展開/收合商品 */
.product-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 16px;
    max-height: 500px; /* 限制初始高度 (假設兩行大約 250px) */
    overflow: hidden;
    transition: max-height 0.5s ease;
}

@media(max-width:750px){
    .product-container {    
    max-height: 1940px; /* 限制初始高度 (假設兩行大約 250px) */
    
}

}
.product-container.expanded {
    max-height: 15000px; /* 足夠大，能顯示所有商品 */
}
.product {
    background: #f5f5f5;
    padding: 20px;
    text-align: center;
    border-radius: 8px;
}
.toggle-btn {
    width: 25%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    padding: 15px 16px;
    border: none;
    border-radius: 6px;
    background-color: #861239;
    color: white;
    cursor: pointer;
    margin: 12px auto;
}
.toggle-btn:hover{
    font-weight: 700;
    background-color: #5e001f;
    color: rgb(255, 242, 206);
}
@media(max-width:840px){
    .toggle-btn {
        width: 90%;
        font-size: 1rem;
    }
}






.newContent{
    width: 100%; 
    margin-top: -20px; 
    background-image: url(../images/bg.jpg);
    background-position: top;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;  
    background-size:cover;  
}
.newContent-1{
    width: 100%;
    margin-top: -20px; 
    background-image: url(../images/bg-1.jpg);
    background-position: top;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed; 
    background-size:cover;     
}

/* 選單 */
.vacationMenu{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin: 10px 0px 100px 0px;
    padding: 0px 0px 10px 0px;
    position: sticky;
    top: 44px;
    background-color: #fff6df;
    opacity: 1;
    z-index: 1000;
}

.vacationCountry{
    width: 100px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    margin: 20px 10px;
    border-radius: 6px;
    background-color: #c73a22;
}

@media(max-width:430px){
    .vacationCountry{   
    margin: 10px;
}
}

.vacationCountry:hover{  
    color: rgb(0, 0, 0);  
    background-color: #fffed0;
    border: 2px solid #c73a22;
}

.vacationCountryTxt{
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
    margin: 0px;
}
.vacationCountryTxt:hover{
    color: rgb(0, 0, 0);  
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.7); 
}

.vacationMenuToggle{
    display: none;
    position: sticky;
    top: 44px;
    width: 100%;    
    font-size: 1.2rem;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    margin: 19px auto;
    transform: all 0.3s ease;
    background-color:#dcc76a;
    opacity: 1;
    z-index: 1000;
}

.vacationMenuTogglePlace{
    display: none;
    position: sticky;
    top: 44px;
    width: 100%;    
    color: #FFF;
    font-size: 1.2rem;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    margin: 19px auto;
    transform: all 0.3s ease;
    background-color:#5e529c;
    opacity: 1;  
}

.vacationMenuArea{
    width: 320px;
    position: relative;    
    border-radius: 360px !important;
    padding: 10px 20px;
    margin: 50px auto;
}


@media(max-width:800px){
    .vacationMenu{
        width: 100%;
        padding: 0px;
    }
    .vacationCountryTxt{
        font-size: 1.1rem;
    }
}
@media(max-width:600px){
      .vacationMenu{
        top: 72px;
    }
    .vacationMenuToggle{
    display: block;
}
   .vacationMenuTogglePlace{
    display: block;
}
    .vacationMenu{
       display: none;
    }
    .vacationCountryTxt{
        font-size: 1rem;
    }
    .vacationMenuArea{
    width: 80%;   
}
}







/* 標題 */
.vacationTitle{
    width: 100%;
    text-align: center;
    margin: 100px 0px 0px 0px;    
}

@media (max-width:800px) {
    .vacationTitle{
        width: 100%;
        max-width: 430px;
        margin: auto;
    }
     .vacationTitle img{
        width: 90%;
    }
    
}

/* 錨點 */
.menuToggle{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;  
    flex-wrap: wrap;   
    margin: 0px 0px 50px 0px;  
}
.menuTogglee a{  
    text-align: center; 
    margin: auto;
}
.menuToggleArea{
    font-size: 1.5rem;
    padding: 20px 30px;    
    border: 1px solid #000000;    
    margin: 20px 10px;
    padding: 8px;

}
.menuToggleArea:hover{
    font-weight: bold;
    background-color: #fffed0;
}
@media(max-width:600px){
    .menuToggle{
        display: none;
    }    
}

/* 次錨點 */
.anchorPoint{
    width: 0;
    padding: 0px;
    margin: -10px;
}

.anchorPointTw{
    margin-top: -900px !important;
}


/* 商品 */
.vacationProduct{
    width: 85%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin: auto;
}
.Product-container{
    position: relative;
    width: 300px;
    height: 440px;
    border:1px solid #000000;
    box-shadow: 1px 1px 5px rgba(0,0,0,0.5);
    overflow: hidden;    
    transition: transform 0.3s ease;
    margin-top: 20px;
   opacity: 0.85;
}
.Product-container:hover{
    border: 1px solid rgb(0, 0, 0);
    box-shadow: 2px 2px 10px rgba(0,0,0,0.5);
    animation: moveup 0.3s ease forwards;
    opacity: 1;
}

/* 動畫 */
@keyframes  moveup {
    0% { transform: translateY(0%);}
    100% { transform: translateY(-2%);}
}

/* 商品430px兩格化 */
/* @media(max-width:430px){
    .vacationProduct{
        display: flex;
    }
    .vacationProduct a{
        width: 150px;
    }
    .newContent{
        width: 100%;
    }
    .Product-container a{
    width: 100%;
}
 .Product-container{
    width: 100%;
}
.ProductImg img{
    width: 100%;
    height: auto;
    object-fit: cover;
}
.ProductInfo h3,p{
    font-size: 0.9rem;
}
.ProductPrice h1{
    font-size: 1rem;
}
.ProductPrice p{
    font-size: 0.8rem;
    padding: 0px !important;
}
} */

/* 可上車標籤 */
.vacation-tab{
    position: absolute;
    left: 0px;
    top: 10px;
    padding: 5px 10px;
    color: #FFF;
    background-color: #c73a22;
    border-radius: 0px 360px 360px 0px;
    z-index: 1;
}

/* 優惠標籤 */
.vacation-tabSale{
   background-color: rgb(255, 244, 89);
   color: #c01f03;
   padding: 5px 0px !important; 
}

.ProductInfo{
    height: 260px;
    object-fit: hidden;
    overflow: hidden;
}

.ProductImg{
    position: relative;
    width: 300px;
    height: 180px;
    background-color: wheat;
    overflow: hidden;
}
/* .ProductImg-overlay{
    width: 100%;
    position: absolute;
    top: 0px;
    left: 0px;   
} */

.ProductImg-overlay img{
    width: 40% !important;
}
.ProductImg img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.ProductInfo{
    position: relative;
    text-align: center;
    background-color: rgb(252, 236, 208);
    transition: all 0.3s ease;
}
.ProductInfo:hover{
    background-color: rgb(255, 255, 255);
}
.ProductInfo h3,.ProductInfo p{
    margin: 0px;
    padding: 0px 10px;
}

/* 日期 */
.ProductInfoDate{
    white-space: normal;    
    color: #550d00;
    padding: 6px 5px;
    font-weight: bold;
    background-color: burlywood;
}


/* 價格 */
.ProductPrice{
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 6px 0px;
}
.ProductPrice p{
    color: #c73a22;
    padding-top: 12px;
}
.ProductPrice h1{
    color: #c73a22;
}

/* 連結 */
.ProductBtn{
    position: absolute;
    bottom: 0px;
    width: 100%; 
    font-size: 1.2rem;
    text-align: center;
    color: #FFF;
    padding: 10px 0px;
    background-color: #c73a22;
}
.ProductBtn:hover{
    color: #000000;
    font-weight: bold;
}

/* 看更多 */
.more{
    width: 85%;  
    display: flex;
    justify-content: flex-end;
    align-items: center;  
    padding: 30px 0px;
    margin: auto;
}
.moreTxt{
    margin-right: 10px;
     border-bottom: 2px solid black;
    transform: all 0.3s ease;
}
.moreTxt:hover{
    padding: 6px;
    color: #c73a22;
    font-size: 1rem;
     border-bottom: 2px solid #c73a22;
}
.moreCircle{
    position: relative;
    width: 6px;
    height: 6px;
    border-radius: 360px;
    padding: 15px;
    color: #FFF;
    font-weight: bold;
    background-color:#c73a22;
}
.moreCircle p{
    position: absolute;
    top: 1px;
    left: 5px;
    font-size: 1.5rem;
}