/* 卡片元件樣式 */
/* 開頭介紹 區塊*/
.vibe-des-board{
    background-color:rgba(255, 255, 255, 1);
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding:16px;
    margin-bottom:32px;
}
.board-title{
    font-size: 20px;
    font-weight: 500;
}
.board-des{
    font-size: 16px;
    font-weight: 300;
    color:rgba(34, 34, 34, 0.6);
}
/* 綜合共用 */
.common-card-block{
    position: relative;
}
.common-card-block .common-card,
.common-card-block .product-card{
    display: flex;
    flex-direction: column;
    gap:16px;
}
.article-card{
    cursor: pointer;
    position: relative;
}
.common-card .common-card-content,
.product-card .common-card-content{
    display: flex;
    flex-direction: column;
    gap:12px;
    background-color:rgba(255, 255, 255, 1);
}
.common-card-block .common-card-content{
    background-color: transparent;
}
.common-card-content .s-text-list ul,
.article-block-b .s-text-list ul,
.article-block-s .s-text-list ul,
.media-block-s .s-text-list ul,
.article-skmedia-s .s-text-list ul{
    display: flex;
    gap:8px;
    list-style:none;
}
.common-card-content .s-text-list ul li:first-child,
.article-block-b  .s-text-list ul li:first-child,
.article-block-s  .s-text-list ul li:first-child,
.media-block-s  .s-text-list ul li:first-child,
.article-skmedia-s  .s-text-list ul li:first-child
{
    padding-right:8px;
    border-right:1px solid #D9D9D9;
}
.s-text-list ul{
    justify-content: flex-start;
}
.s-text-list ul li{
    font-size:12px;
    width: fit-content;
    font-weight:300;
}
/* =========== 商品卡樣式 =========== */
.tag-style{
    font-size:12px;
    font-weight:400;
    line-height:140%;
    background-color:#B81C2B;
    color:rgba(255, 255, 255, 1);
    border-radius: 4px;
    position: absolute;
    top:12px;
    left:12px;
    padding:3px 8px;
    z-index:1;
}
.product-card .price-point-area{
    font-size:16px;
    line-height:24px;
    font-weight:500;
    color:rgba(229, 0, 18, 1);
    display: flex;
    align-items: center;
    gap:8px;
    cursor: pointer;
    justify-content: space-between;
}
.product-card .common-card-content .original-price{
    color:rgba(34, 34, 34, 1);
    text-decoration:line-through;
    font-size:12px;
    font-weight:300;
}
.product-card .sale-point-area .card-price{
    color:rgba(229, 0, 18, 1);
    font-size: 16px;
    font-weight:500;
    line-height: 24px;
}
.common-card-content .card-brand{
    font-size: 12px;
    color:rgba(34, 34, 34, 0.6);
}
.sale-point-area ul{
    display: flex;
    gap:12px;
    align-items: center;
}
.sale-point-area ul li{
    list-style: none;
    font-size: 12px;
    color:rgba(34, 34, 34, 1);
    border:1px dashed rgba(34, 34, 34, 1);
    cursor: pointer;
    padding:1px 10px;
}
.sale-point-area ul li.active{
    color:rgba(229, 0, 18, 1);
    border:1px solid rgba(229, 0, 18, 1);
}
.article-block-b{
    background: rgba(255, 255, 255, 0.95);
    padding: 16px;
    margin-top: -18px;
    margin-left: 20px;
    position: relative;
    z-index: 1;
    width:auto;
    backdrop-filter: blur(16px);
    display: flex;
    flex-direction: column;
    gap:8px;
}
@media(max-width:743px){
.article-block-b{
	margin-top: -10px;
}
}
@media(min-width:744px){
    .article-block-b{
        margin-left: 40px;
    }
}
.article-block-s,
.article-skmedia-s,
.media-block-s{
    background: rgba(255, 255, 255, 0.95);
    padding: 16px;
    margin-top: -18px;
    margin-left: 20px;
    position: relative;
    z-index: 1;
    width:auto;
    backdrop-filter: blur(16px);
    display: flex;
    flex-direction: column;
    gap:8px;
    width:97%;
}
@media(max-width:743px){
.article-block-s,
.article-skmedia-s,
.media-block-s{
	margin-top: -10px;
}
}
@media(max-width:743px) {
    .article-skmedia-s .card-title {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        white-space: normal;
        Overflow:hidden;
    }
}
.special-item{
    font-size: 12px;
    color:#B81C2B;
}
/* =========== Online 商品卡樣式 =========== */
.product-card-block {
    position: relative;
}
.product-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    cursor: pointer;
    min-width: 264px;
}
.product-pic {
    width: 100%;
    min-width: 264px;
    position: relative;
    overflow: hidden;
}
.product-pic img{
    transform: scale(100%, 100%);
    transition: all 1s ease-out;
}
.product-pic:hover img{
    transform: scale(105%, 105%);
}
.product-card:hover .new-card-title{
    color: rgba(208, 52, 61, 1);
    transition: all 0.2s ease-out;
}
.product-card .product-card-content .mix-price{
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}
.product-card .product-card-content .original-price{
    color: rgba(34, 34, 34, 1);
    text-decoration: line-through;
    font-size: 12px;
    font-weight: 300;
}
.product-card-content .card-brand{
    font-size: 12px;
    color: rgba(34, 34, 34, 0.6);
}
.product-card-content .card-price{
    color: rgba(229, 0, 18, 1);
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
}
.product-card .product-card-content{
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.product-card-content .product-title{
    font-size: 20px;
    font-weight: 500;
    line-height: 30px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    white-space: normal;
    overflow: hidden;
}
.product-card:hover .product-title {
    color: rgba(229, 0, 18, 1);
    transition: all 0.2s ease-out;
}
/* 加入購物車/快速瀏覽樣式 */
.hover-btn {
    height: 20px;
}
.btn-box {
    display: none;
}
.product-card:hover .btn-box {
    display: block;
}
.btn-box ul {
    display: flex;
    gap: 12px;
    padding: 0;
    margin: 0;
    font-size: 14px;
    line-height: 24px;
}
.btn-box ul li {
    color: rgba(34, 34, 34, 1);
    cursor: pointer;
    line-height: 1;
}
.btn-box ul li:first-child {
    border-right: 1px solid rgba(34, 34, 34, 0.6);
    padding-right: 12px;
}

/* 商品卡左上角優惠標籤 */
.tag-list {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 8px;
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 1;
}
.tag-bg01 {
    font-size: 12px;
    font-weight: 400;
    line-height: 140%;
    background-color: #b81c2b;
    color: rgba(255, 255, 255, 1);
    border: 1px solid #b81c2b;
    border-radius: 4px;
    padding: 3px 8px;
}
.tag-bg02 {
    font-size: 12px;
    font-weight: 400;
    line-height: 140%;
    background-color: rgba(229, 0, 18, 1);
    color: rgba(255, 255, 255, 1);
    border: 1px solid rgba(229, 0, 18, 1);
    border-radius: 4px;
    padding: 3px 8px;
}
.tag-border01 {
    font-size: 12px;
    font-weight: 400;
    line-height: 140%;
    background-color: rgba(255, 255, 255, 1);
    color: #b81c2b;
    border: 1px solid #b81c2b;
    border-radius: 4px;
    padding: 3px 8px;
}

/* 商品卡圖上已售完遮罩 */
.tag-sold-out {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(34, 34, 34, 0.3);
    color: rgba(255, 255, 255, 1);
    font-size: 40px;
    font-weight: 900;
    z-index: 1;
    width: 100%;
    height: 100%;
}
.tag-sold-out span {
    transform: rotate(-45deg);
    opacity: 0.6;
}

/* 主題 case2. 自訂主題 (品牌 + 商品) 區塊*/
.common-card-content .customize-title{
    font-size: 20px;
    font-weight: 500;
    color:rgba(68, 68, 68, 1);
    line-height:100%;
}
.common-card-content .customize-sub-title{
    font-size:16px;
    font-weight:300;
    line-height:100%;
    color:rgba(68, 68, 68, 1);
    padding:0;
}
.common-card-content .customize-des{
    font-size:16px;
    font-weight:300;
    color:rgba(34, 34, 34, 1);
    padding:0;
}
/* eats 餐廳主題 */
/* Grid1 */
.eat-card{
    display: flex;
    flex-direction: column;
    gap:16px;
    background-color:rgba(255, 255, 255, 1);
    padding:16px;
    cursor: pointer;
}
.eat-card img{
    max-width: 100%;
    height: auto;
}
.eat-card .common-card-content{
    display: flex;
    flex-direction: column;
    gap: 12px;
    background-color:rgba(255, 255, 255, 1);
}
.common-card-content .btn--border-black02{
    padding: 11px 18px;
    font-size:16px;
}
.common-card-content .card-brand,
.common-card-content .eat-category,
.common-card-content .s-text-list,
.article-block-b .s-text-list,
.article-block-s .s-text-list,
.media-block-s .s-text-list,
.article-skmedia-s .s-text-list,
.common-card-content .eat-memo,
.common-card-content .eat-date{
    color:rgba(34, 34, 34, 0.6);
    font-size:12px;
}
.common-card-content .eat-memo.empty-seats{
    color:rgba(34, 34, 34, 1);
}
.common-card-content .product-title{
    font-size:20px;
    font-weight:500;
    line-height:30px;
}
.common-card-content .card-title,
.article-block-b .card-title,
.article-block-s .card-title,
.media-block-s .card-title,
.article-skmedia-s .card-title{
    font-size:20px;
    font-weight:500;
    line-height:148%;
    margin-bottom:0;
}
.common-card-content .card-des{
    font-size: 16px;
    font-weight: 300;
    color:rgba(34, 34, 34, 0.6);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    white-space: normal;
    Overflow:hidden;
}
.article-block-b .card-des{
    display: none;
}
@media(min-width:744px){
.article-block-b .card-des{
    display: block;
    font-size: 16px;
    font-weight: 300;
    color:rgba(34, 34, 34, 0.6);
}
}
.media-block-s .card-des{
    font-size: 16px;
    font-weight: 300;
    color:rgba(34, 34, 34, 1);
    margin-bottom:4px;
}
.eat-state ul{          
    display: inline-flex;
    flex-wrap: wrap;
    gap:8px;
}
.eat-state ul li{
    display: inline-flex;
    width: fit-content;
    font-size: 12px;
    font-weight: 500;
    line-height:100%;
    color:rgba(34, 34, 34, 1);
    border:1px solid rgba(34, 34, 34, 0.6);
    padding: 4px 10px;
    cursor: pointer;
}
@media(min-width:744px){
    .eat-state ul li{
        font-size: 16px;
    }
}
.eat-state ul li:hover{
    color:rgba(255, 255, 255, 1);
    border-color:rgba(208, 52, 61, 1);
    background-color: rgba(208, 52, 61, 1);
    transition: all 0.3s ease;
}
.eat-state ul li.disable{
    cursor: default;
    border:1px solid rgba(34, 34, 34, 0.4);
    color:rgba(34, 34, 34, 0.4);
}
.eat-state ul li.disable:hover{
    border:1px solid rgba(34, 34, 34, 0.4);
    color:rgba(34, 34, 34, 0.4);
    background: initial;
}

/* 餐點主題 區塊*/
/* Grid2 */
.common-card.grid2{
    display: grid;
    grid-template-columns: 1fr 1fr;
    background-color: transparent;
    padding:0;
    gap:24px;
    cursor: pointer;
}
.common-card.grid2:last-child{
    align-items: end;
    margin-top:-120px;
}
.common-card.grid2  .common-card-content{
    background-color:rgba(255, 255, 255, 1);
    padding:16px;
}
.common-card.grid2  .card-title{
    font-size:24px;
    font-weight: 700;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}
.common-card.grid2 .eat-list ul{
    margin-top:12px;
    justify-content: flex-start;
    flex-direction: column;
}
.common-card.grid2 .eat-list ul li{
    font-size: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    white-space: normal;
    Overflow:hidden;
    width: 100%;
    color:rgba(34, 34, 34, 1);
}
@media(min-width:744px){
    .common-card.grid2 .eat-list ul li{
        font-size: 16px;
    } 
}
/* 商品卡hover樣式 */
.common-card{
    display: flex;
    flex-direction: column;
    gap:8px;
    cursor: pointer;
    min-width:264px;
    width: 100%;
}
.product-card{
    display: flex;
    flex-direction: column;
    gap:8px;
    cursor: pointer;
}
.product-card{
    width: 100%;
    max-width:264px;
}
.eat-card,
.article-card
{   width: 100%;
    min-width:264px;
}
/* .eat-card, */
.eat-pic,
.common-pic{
    overflow: hidden;
    display: flex;
}
.article-pic{
    overflow: hidden;
}
#div_swiper_online_new_content_menu .article-card {
    overflow: clip;
}
.common-card img,
.product-pic img,
.eat-pic img,
.article-card img{
    transform:scale(100%,100%);
    transition: all 0.3s ease-out;
}
.common-pic:hover img,
.product-pic:hover img,
.eat-pic:hover img,
.article-pic:hover img{
    transform:scale(105%,105%);
}
.common-card:hover .card-title,
.common-card:hover .product-title,
.common-card:hover .customize-title,
.common-card:hover .counter-info,
.article-card:hover .card-title,
.eat-card:hover .card-title{
    color:rgba(208, 52, 61, 1) !important;
    transition: all 0.2s ease-out;
}
/*卡片比例*/
.common-pic{
  aspect-ratio: 3 / 2;
}
.common-pic img{
  height: 100%;
  object-fit:cover;
  }
.product-pic{
  aspect-ratio: 1 / 1;
}
.product-pic img{
  height: 100%;
  object-fit:cover;
  }
.eat-pic{
  aspect-ratio: 2 / 3;
}
.eat-pic img{
  height: 100%;
  object-fit:cover;
  }
.article-pic{
  aspect-ratio: 3 / 2;
  }
#div_swiper_online_store_content_menu .article-pic ,
.div_swiper_online_product_content_menu .common-card,
.div_swiper_online_product_content_menu .article-pic {
    aspect-ratio: unset;
}

.article-pic img{
  height: 100%;
  object-fit:cover;
  }
.article-pic.vertical{
    aspect-ratio: 2 / 3;
}
.article-pic.vertical img{
  height: 100%;
  object-fit:cover;
}

@media (max-width: 767px) {
    #main-container {
        padding-top: unset;
    }
}

@media (max-width: 743px) {
    .footer {
        margin-top: 80px;
    }

    .index-content .footer {
        margin-top: 0; /* 覆蓋掉 */
    }
}

@media (min-width: 744px) {
    .footer {
        margin-top: 120px;
    }

    .index-content .footer {
        margin-top: 0; /* 覆蓋掉 */
    }
}

.main {
    padding-bottom: 0;
}

.wrap {
    min-height: unset !important;
}

@media (min-width: 1440px) {
    .ecover-area-block {
        padding-left: calc((100vw - 1288px) / 2);
        padding-right: calc((-100vw + 1288px) / 2);
    }
}
@media (min-width: 1200px) and (max-width: 1439px) {
    .ecover-area-block {
        padding-left: calc((100vw - 1128px) / 2);
        padding-right: calc((-100vw + 1128px) / 2);
    }
}
@media (min-width: 992px) and (max-width: 1199px){
    .ecover-area-block {
        padding-left:  24px;
        padding-right: -24px;
    }
}
@media (max-width: 993px)  {
    .ecover-area-block {
        padding-left:  20px;
        padding-right: -20px;
    }
}

@media (min-width: 744px) {
    body .tab-menu-swiper02 .swiper-slide {
        margin-bottom: 24px ;
    }
}
@media (max-width: 743px) {
    body .tab-menu-swiper02 .swiper-slide {
        margin-bottom: 16px ;
    }
}

.footer__menu .footer__form a.btn {
    color: #383838 !important;
}

.index-v2_banner {
    border: unset !important;
    background-color: unset !important;
}

.slider-dot.slider-dot--right.v2 .slick-dots {
    margin: 10px auto 0;
}

.search-key form {
    display: flex;
    align-items: center;
}
#div_side_menu_4_v2 .close__toggle--btn {
    color: unset;
    border-left: unset;
}

@media (max-width: 768px) {
    #div_side_menu_4_v2 .close__toggle--btn {
        right: 10px;
    }
}
@media (min-width: 769px) {
    #div_side_menu_4_v2 .close__toggle--btn {
        right: 20px;
    }
}
