@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@200&display=swap');

body {}

ul,
li {
    list-style: none;
}

header {
    font-weight: 400;
}

.hd_img {
    text-align: left;
    background: #f9f8f7;
}

.hamburger-box {
    background-color: transparent;
    width: 40px;
    height: 40px;
}

.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after {
    background-color: #333;
}

.hamburger-inner {
    position: relative;
    top: 80% !important;
    left: 50% !important;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    -webkit-backface-visibility: hidden;
}

.hamburger--collapse.is-active .hamburger-inner {

    left: 20% !important;

}

.promotion-item .img-box img {
    width: 80px;
    transition: transform .5s;
}

.promotion-item:hover .img-box img {
    transform: scale(1.1);
}

@media (max-width: 1023.9px) {
    .show .navbar-nav {
        background-color: #f5f5f5;
        transition: all 0.2s ease-in-out;
        color: #fff;
        max-height: 80vh;
        /* 高度限制 */
        overflow-y: auto;
    }

    .navbar-nav .show>.nav-link {
        color: #fff !important;
    }

    .dropdown-menu {
        text-align: center;
        font-weight: 400;
        box-shadow: none;
        border-radius: 0;
        position: static !important;
        max-height: 500px;
        /* 可自行調整高度 */
        overflow-y: auto;
        overflow-x: hidden;
        float: none;
        transform: translate3d(0px, 0px, 0px) !important;
    }

    .dropdown-menu .dropdown-item {
        font-weight: 700;
        color: #222;
        letter-spacing: 3px;
        border-bottom: 1px dotted #42ae94;
    }
}

/* service icon  */
.service_main {
    width: 100%;
    min-height: 320px;
    text-align: center;
    position: relative;
    cursor: pointer;
}

.service_main .service {
    width: 80%;
    /* background: #94DBAF; */
    padding: 30px;
    /* border-radius: 10px; */
    position: relative;
    bottom: -86px;
    left: 50%;
    transform: translate(-50%, 0%);
    z-index: 1;
    /* box-shadow: inset 0px 15px 5px -15px rgb(124, 124, 124), 0px 15px 5px -15px rgb(124, 124, 124); */
    transition: transform .8s;
    border: 2px solid #FFF;
}

.service-logo {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    margin: -90px auto 0;
    background: #42ae94;
    display: flex;
    justify-content: center;
    align-items: center;
}

.service_main .service h4 {
    height: 35px;
    width: 100%;
    margin: 20px auto;
    /* background: #94DBAF; */
    position: relative;
    color: #555;
}

.service_main .service .icon-btn {
    position: absolute;
    left: 50%;
    bottom: -18%;
    padding: 12px;
    transform: translate(-50%, 0%);
    border: 1px solid #42ae94;
    background-color: #fff;
    color: #42ae94;
}

.service_main:hover .service {
    transform: translate(-50%, -15%);
}

.service_main:hover .service .icon-btn {
    background-color: #42ae94;
    color: #fff;
    border: 1px solid #42ae94;
}

.service-logo i {
    transition: transform 1s;
    font-size: 4rem;
    color: #fff;
}

.service_main:hover .service-logo i {
    transform: scale(1.2);
    text-shadow: #42ae94 0em 0.1em 0.2em;
}

@media (max-width: 1199px) {
    .service_main {
        min-height: 300px;
    }
}

/* service icon end */

.title_page {
    text-shadow: rgba(213, 184, 150, 1) 0em 0.1em 0.2em;
}

.title_page::before {
    content: "";
    position: absolute;
    width: 1.5px;
    top: 0;
    height: calc(60% - 25%);
    background: #fff;
    bottom: calc(100% - 3%);
    left: calc(100% - 50%);
    margin-bottom: 5px;
}

.box_shadow_hover_v1:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 8px #f6f6f6;
    transition: .5s;
}

.text-right {
    text-align: right !important;
}

a:hover {
    color: #42ae94;
}

/* product */

.Product_intro_box {
    position: absolute;
    width: 100%;
    bottom: -100px;
    background-color: #fff;
    transition: all .5s ease-in-out;
}

.Product_box:hover .Product_intro_box {
    background: linear-gradient(to bottom, transparent, #42ae94 0%);
    bottom: 0px;
}

.project-intro h3 {
    font-size: 1.5rem;
    line-height: 1.6em;
    font-weight: 400;
    color: #101010;
}

.project-intro p {
    font-size: .875rem;
    color: #343434;
    line-height: 2;
}

.project-intro span {
    font-size: .875rem;
}

.project-intro .num {
    font-weight: 500;
    color: #b2240e;
}

.project-money {
    font-size: 1.8rem;
    /* font-weight: 700; */
    color: #cd1c1c;
    margin-top: 25px;

}

.money-style {
    font-family: 'Roboto Mono', monospace;
}

.card_counter {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 .4em;
    border: 1px solid #42ae94;
}

.card_numb {
    font-size: 2.1rem;
    background: transparent;
    padding: .1em .3em;
    appearance: none;
    border: none;
    cursor: pointer;
    outline: none !important;
    color: #434343;
}

.card_count {
    font-size: 1.5rem;
    font-weight: 500;
    text-align: center;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: none;
    margin: 0;
    width: 50%;
    color: #434343;
}

.card_count:focus,
.card_count:active {
    outline: none !important;
}

.project-btn {
    width: 100%;
    padding: 0.9rem 0.7rem;
    background-color: #42ae94;
    color: #fff;
    font-weight: 700;
}

.project-btn:hover {
    background-color: #09a37e;
    color: #fff;
}

.project-btn2 {
    width: 100%;
    padding: 0.9rem 0.7rem;
    background-color: #05ac84;
    color: #fff;
    font-weight: 700;
}

.project-btn2:hover {
    background-color: #09a37e;
    color: #fff;
}

.project-btn3 {
    /* width: 100%; */
    padding: 0 1.5rem;
    background-color: #fea343;
    color: #fff;
    font-weight: 700;
    border-radius: 50px;
}

.project-btn3:hover {
    background-color: #ff7823;
    color: #fff;
}

.project-btn-outline {
    width: 100%;
    padding: 0.9rem 0.7rem;
    background-color: transparent;
    color: #42ae94;
    border: 1px solid #42ae94;
    font-weight: 700;
}

.project-btn-outline:hover {
    background-color: #42ae94;
    color: #fff;
}

.heart-btn {
    width: 100%;
    padding: 0.7em 0.7rem;
    background-color: #fdf7f0;
    color: #42ae94;
    border: 1px solid #42ae94;
    font-weight: 700;
}

.heart-btn:hover,
.heart-btn:focus,
.heart-btn.focus {
    background-color: #bfa07b;
    color: #fff;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number] {
    -moz-appearance: textfield;
    /* Firefox */
}

.project-tabs {
    padding: 0;
    display: flex;
    list-style-type: none;
    border-bottom: 1px solid #42ae94;
    overflow-x: auto;
    margin-bottom: 0px;
}

.project-tabs a {
    display: block;
    padding: 10px 15px;
    text-decoration: none;
    text-transform: capitalize;
    border-bottom: 2px solid transparent;
    position: relative;
    margin-bottom: 0;
    font-size: 1.2rem;
}

.project-tabs:hover a {
    opacity: 0.8;
}

.project-tabs a.active::after {
    content: '';
    width: 90%;
    height: 3px;
    background-color: #42ae94;
    position: absolute;
    bottom: -2px;
    left: 5px;
    border-radius: 4px;
}

.project-tab-link:hover::after {
    content: '';
    width: 90%;
    height: 3px;
    text-align: center;
    background-color: #42ae94;
    position: absolute;
    bottom: -2px;
    left: 5px;
    border-radius: 4px;
}

.project-tab-panel {
    display: none;
    padding: 10px;
}

.project-tab-panel.active {
    display: block;
}

.cart_num {
    position: absolute;
    top: -0px;
    right: -12px;
    background-color: #ff6666;
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    line-height: 1;
    padding: 2px 4px;
    border-radius: 20px;
    display: inline-block;
    text-align: center;
}

/* end */

/* shoppingcart */

.shopping_list .circle {
    color: #fff;
    background: #e0e0e0;
    display: block;
    height: 80px;
    margin: 0 auto 10px;
    padding-top: 10px;
    width: 80px;
    border-radius: 50%;
    text-align: center;
}

.shopping_list .active .circle {
    /* background: #8b964a; */
    background: #42ae94;
}

.shopping_list p {
    color: #4e4e4e;
    text-align: center;
    font-weight: 600;
    letter-spacing: .2rem;
}

.order_content .product {
    display: flex;
    align-items: start;
}

.btn-remove {
    background-color: transparent;
}

.btn-remove i {
    transition: all 0.8s ease;
}

.btn-remove:hover i {
    color: tomato;
}

.btn_back,
.btn_forward {
    /* width: 250px; */
    padding: 10px 20px;
    text-align: center;
    border-radius: 2px;
}

.btn_back i,
.btn_forward i {
    transition: all 0.2s ease-in-out;
}

.btn_back:hover i {
    transform: translateX(-8px);
}

.btn_forward:hover i {
    transform: translateX(8px);
}

.Invo {
    display: none;
}

.InvoHide {
    display: none;
}

.InvoShow {
    display: block;
}

.buy-cart_2 legend {
    border-bottom: 1px solid rgb(199, 198, 198);
    padding: 10px 0px;
    margin-bottom: 10px;
}

.buy-cart_2 legend::before {
    /* content: url('../images/cart_icon.png'); */
    padding: 5px 10px 0px 0px;
    position: relative;
    top: 10px;
}



@media (max-width: 767px) {

    .shopping_list p {
        font-size: 1rem;
        letter-spacing: 0rem;
    }

    .order_content .product {
        display: flex;
        flex-direction: column;
        align-items: center;

    }

    .cart_detail {
        display: flex;
        flex-direction: column-reverse;
    }
}



/* end */


.pd_top_50 {
    padding-top: 50px;
}

.text_start {
    text-align: start;
}

.news {
    text-align: center;
    margin: auto;
}

.news>div {
    position: relative;
    padding: 10px 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.news>div:hover>.news_text_hover {
    display: flex;
    align-items: center;
    justify-content: center;
}

.news>div:hover>.news_text_text {
    display: none;
}

.news_text_hover {
    position: absolute;
    background: rgba(255, 255, 255, 0.7);
    width: 100%;
    height: calc(100% - 10px);
    display: none;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.news_text_hover>div {
    display: inline-block;
    font-size: 30px;
    font-weight: 700;
    line-height: 115px;
    padding: 0 10px;
}

.news_text_hover>span {
    display: none;
}

.news_text_text {
    position: absolute;
    color: #fff;
    background: #333333;
    border-radius: 4px;
    padding: 0 10px;
    font-size: 30px;
    font-weight: 700;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}


.news_title_img {
    width: 100%;
}

.container_new_w {
    max-width: 1200px;
}

.bg_f {
    background: #fff;
}

.commodity_text {
    border-bottom: 1px #000 solid;
}

.commodity_detailed {
    width: 100%;
    display: flex;
    align-items: center;
    text-align: center;
}

.commodity_detailed_img {
    width: 39%;
}

/* .commodity_detailed_img>img{
    width: 100%;
} */

.commodity_detailed_text {
    width: 60%;
}

.fb_icon {
    color: #4267B2;
}

.fb_icon--hover:hover {
    color: #334f88;
}

.line_icon {
    color: #00B900;
}

.line_icon--hover:hover {
    color: #027e02;
}

.ig_icon {
    color: transparent;
    background: #8A2387;
    /* fallback for old browsers */
    background: -webkit-linear-gradient(to top, #e23e60, #E94057, #723aba);
    /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to top, #e23e60, #E94057, #723aba);
    /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    background-clip: text;
    -webkit-background-clip: text;
}

.ig_icon--hover:hover {
    color: transparent;
    background: #8A2387;
    /* fallback for old browsers */
    background: -webkit-linear-gradient(to top, #e23e60, #E94057, #723aba);
    /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to top, #e23e60, #E94057, #723aba);
    /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-filter: brightness(85%);
    /* Safari */
    filter: brightness(85%);
}

.latestnews_img {
    width: 150px;
}

.share_all {
    display: flex;
    font-size: 17px;
}

.margin_a {
    margin: auto;
}

.ft_bg {
    background-color: #fff;
}

.ft_ul {
    /* padding-bottom: 10px; */
    font-weight: 400;
}

.ft_ul a h5 {
    color: #42ae94;
    font-size: 18px;
    font-weight: 700;
}

.ft_ul a h5:hover {
    text-decoration: underline;
}

.ft_ul span {
    font-size: 0.6rem;
    font-weight: normal;
    vertical-align: middle;
    display: inline-block;
    color: #42ae94;
}

.color_f {
    color: #fff;
}

.color_r {
    color: rgb(255, 0, 0);
}

.hd_color_blue {
    color: #006cb1;
}

.hd_color_r {
    color: #953734
}

.hd_color_o {
    color: rgb(214, 104, 0);
}

.hd_color_g {
    color: #95aa6a;
}

.hd_color_pink {
    color: #f2195b;
}

.return {
    background-color: #dc3545;
    color: #fff;
}

.return:hover {
    color: #fff;
}

.sendout {
    text-align: center;
}

.sendout_2 {
    text-align: center;
    width: 70px;
    line-height: 38px;
}

.sendout_2 span {
    border: 1px solid #ced4da;
    color: #495057;
    padding: 2px 6px;
    border-radius: 4px;
}

.border_c {
    border: 1px rgb(204, 204, 204) solid;
    padding: 10px;
    border-radius: 10px;
}

.hd_text {
    padding: 0 18px;
    font-size: 20px;
}

.bg_blue {
    background: rgb(19, 75, 187);
}

.bg_blue_2 {
    background: cornflowerblue;
}

.bg_blue_3 {
    background: #88c4ff;
}

.bg_or_1 {
    background: #ffc993;
}

.bg_ping_1 {
    background: #ffbfdf;
}

.bg_r {
    background: #dc3545;
}

.all_brd {
    border: 1px #000 solid;
}

.ft_brd {
    border-bottom: 1px #000 solid;
}

.icon_fz {
    font-size: 20px;
    top: 0;
}

.float_l {
    float: left;
}

.float_r {
    float: right;
}

.segmentation {
    position: relative;
}

.segmentation::before {
    content: '';
    width: 10%;
    height: 1px;
    background: #000;
    position: absolute;
    left: 10px;
    top: 50%;
}

.segmentation::after {
    content: '';
    width: 10%;
    height: 1px;
    background: #000;
    position: absolute;
    right: 10px;
    top: 50%;
}

hr.bang {
    border: 0;
    height: 1px;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
}

.table {
    display: table;
}

.tr_row {
    display: table-row;
}

.td_cell_1 {
    display: table-cell;
    width: 180px;
    background: #88c4ff;
    border-right: 2px solid #fff;
    text-align: center;
}

.td_cell_2 {
    display: table-cell;
    width: 180px;
    background: #ffc993;
    border-right: 2px solid #fff;
    text-align: center;
}

.td_cell_3 {
    display: table-cell;
    width: 180px;
    background: #ffbfdf;
    text-align: center;
}

.about_color_b {
    color: #0066d5;
    font-weight: 700;
    font-size: 22px;
}

.about_color_o {
    color: #a0522d;
    font-weight: 700;
    font-size: 22px;
}

.about_color_p {
    color: #d11585;
    font-weight: 700;
    font-size: 22px;
}

.bdr_btm_f {
    border-bottom: 2px solid #FFF;
}

.line_height_30_pl_50 {
    line-height: 30px;
    padding-left: 50px;
}

#page_input {
    width: 36px;
    height: 30px;
    color: #000;
    text-align: center;
    margin-left: 1px;
    margin-right: 1px;
    border: 1px solid rgb(0, 0, 0);
    position: relative;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    left: 0px;
    top: 0px;
    outline: none;
}

#page_go {
    width: 44px;
    height: 30px;
    border: 0px;
    margin-left: 10px;
    border-radius: 10px;
    overflow: hidden;
    padding: 0px;
    text-align: center;
    background-color: #31ACE2;
    color: #FFF;
}

.color_blue {
    color: #3b5998;
}

.contact_poa {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 30px;
    border-radius: 10px;
    border: 2px #fff solid;
}

.products_flex {
    display: flex;
    align-items: center;
    justify-content: center;
}

.g_flex {
    display: flex;
}

.justify_content {
    justify-content: center;
}

.justify_content_space_between {
    justify-content: space-between;
}

.download_title>div {
    padding: 10px 6px;
}

#table,
#table2 {
    display: table;
    width: 100%;
    margin: auto;
}

.tr,
.tr2 {
    display: table-row;
}

.tr:nth-child(odd) {
    background-color: rgb(240, 240, 240);
}


.td,
.td2 {
    display: table-cell;
    padding: 4px 6px;
    vertical-align: middle;
}

.btn-default {
    color: #ffffff;
    background-color: #00529B;
    border-color: #00529B;
}

.edm_flex,
.contact_flex,
.link_flex {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.edm_flex {
    height: 398px;
}

.contact_flex,
.link_flex {
    height: 400px;
}

.edm_border {
    -webkit-box-shadow: 0 5px 7px #999999;
    box-shadow: 0 5px 7px #999999;
    -webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.search_text {
    text-align: center;
    font-size: 20px;
    font-weight: 700;
}

.w_90 {
    width: 90px;
}


.products_none_block_1:hover>#group_1,
.products_none_block_2:hover>#group_2,
.products_none_block_3:hover>#group_3,
.products_none_block_4:hover>#group_4,
.products_none_block_5:hover>#group_1_1,
.products_none_block_6:hover>#group_1_2,
.products_none_block_7:hover>#group_1_3,
.products_none_block_8:hover>#group_1_4,
.products_none_block_9:hover>#group_1_5,
.products_none_block_10:hover>#group_2_1,
.products_none_block_11:hover>#group_2_2,
.products_none_block_12:hover>#group_2_3,
.products_none_block_13:hover>#group_2_4 {
    display: block;
}


.hd_link {
    position: absolute;
    top: 14px;
    right: 10px;
    padding: 10px 26px;
    background-image: url(../images/cloud.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}

.hd_link img {
    width: 40px;
}

.hd_link_2 {
    display: flex;
}

.hd_link>a {
    padding: 0 4px;
}

.hd_link_2>a {
    padding: 0 4px;
}

.w_200_p {
    width: 100%;
    max-width: 250px;
}

.link_box_1 {
    max-width: 500px;
    width: 100%;
    height: 500px;
    margin: auto;
}

.link_box_2 {
    max-width: 400px;
    width: 100%;
    max-height: 400px;
    height: 100%;
    margin: auto;
    display: flex;
    align-items: center;
}

.link_box_2 img {
    max-width: 400px;
    max-height: 400px;
}

.link_box_3 {
    max-width: 250px;
    width: 100%;
    /* height: 250px; */
    height: 270px;
    margin: auto;
}

.link_box_4 {
    max-width: 230px;
    width: 100%;
    max-height: 170px;
    height: 100%;
    margin: auto;
    display: flex;
    align-items: center;
}

.link_box_4 img {
    max-width: 230px;
    max-height: 170px;
}

.link_box_5 {
    max-width: 255px;
    width: 100%;
    height: 320px;
    margin: auto;
}

.link_box_6 {
    max-width: 255px;
    width: 100%;
    max-height: 255px;
    height: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin: auto;
}

.link_box_6>a {
    margin: auto;
}

.link_box_6 img {
    max-width: 255px;
    max-height: 255px;
}

.link_box_7 {
    width: 100%;
    height: 100%;
    margin: auto;
    /* margin-bottom: 10px; */
}

.link_box_8 {
    width: 100%;
    /* height: 100%; */
    margin: auto;
    display: flex;
    position: relative;
    padding-top: 75%;
    flex-direction: column;
    justify-content: space-between;
}

.link_box_8 img {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    /* max-height: 100%; */
    border-radius: 8px;
}

.link_box_pos_abs {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

.news_box_1 {
    max-width: 255px;
    width: 100%;
    height: 350px;
    margin: auto;
}

.news_box_2 {
    max-width: 250px;
    width: 100%;
    max-height: 250px;
    height: 100%;
    margin: auto;
    display: flex;
    align-items: center;
}

.news_box_2 img {
    max-width: 250px;
    max-height: 250px;
}

.select {
    display: block;
    width: 100%;
    padding: 0 8px;
    font-size: 1rem;
    line-height: 1.5;
    color: #495057;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    height: 38px;
}

.works_hover_1>li:hover>a {
    color: #FFF;
}

.index_flag_title {
    display: flex;
    justify-content: space-between;
}

.index_more {
    clip-path: polygon(100% 20%, 85% 49%, 100% 80%, 0 80%, 15% 49%, 0 20%);
    -webkit-clip-path: polygon(100% 20%, 85% 49%, 100% 80%, 0 80%, 15% 49%, 0 20%);
    display: flex;
    align-items: center;
}

.index_flag_title a {
    color: #fff;
}

.index_flag_title a:hover {
    color: #fff;
}

.index_flag {
    padding: 10px;
    color: #fff;
    font-weight: 700;
}

.index_pink_brd {
    border-left: 6px #f2195b solid;
}

.index_green_brd {
    border-left: 6px #95aa6a solid;
}

.index_orange_brd {
    border-left: 6px rgb(214, 104, 0) solid;
}

.index_red_brd {
    border-left: 6px #cc2620 solid;
}

.index_bg_pink {
    background: #f2195b;
}

.index_bg_green {
    background: #95aa6a;
}

.index_bg_orange {
    background: rgb(214, 104, 0);
}

.index_bg_red {
    background: #953734;
}

.index_bg_blue {
    background: #006cb1;
}

.overflow_hidden {
    overflow: hidden;
}

.index_icon_1_img_2,
.index_icon_2_img_2,
.index_icon_3_img_2 {
    display: none;
}

.index_icon_1:hover>.index_icon_1_img_1,
.index_icon_2:hover>.index_icon_2_img_1,
.index_icon_3:hover>.index_icon_3_img_1 {
    display: none;
}

.index_icon_1:hover>.index_icon_1_img_2,
.index_icon_2:hover>.index_icon_2_img_2,
.index_icon_3:hover>.index_icon_3_img_2 {
    display: block;
}

.index_btm_img {
    background: #fff;
    /* border-radius: 8px; */
}

.index_btm_img:hover img {
    opacity: .7 !important;
}

.index_title {
    font-weight: 700;
    letter-spacing: 1px;
    font-size: 1.75rem;
    width: 100%;
    color: #353535;
}

.index_title span {
    font-size: 1.5rem;
    font-weight: normal;
    vertical-align: top;
    display: inline-block;
}

.sub_title {
    font-size: 1.2rem;
    letter-spacing: 1px;
    margin-top: 4px;
    color: #42ae94;
    font-weight: 500;
}

.text-stroke-white {
    -webkit-text-stroke: 1px #fff !important;
    text-stroke: 1px #fff !important;
}

.read-more-btn {
    background-color: #42ae94;
    border-radius: 50px;
    font-weight: 500;
    color: #fff;
    padding: 12px;
}

.read-more-btn:hover {
    background-color: #42ae94;
    border-radius: 50px;
}


/* .index_title_more {
    position: absolute;
    top: -49px;
    right: 21px;
    padding: 10px;
    width: 136px;
    font-size: 20px;
    font-weight: 700;
    clip-path: polygon(0 0, 70% 0, 100% 100%, 0% 100%);
} */

.color_black {
    color: #000;
}

.index_btm_all {
    padding: 0 20px;
}

.index_btm_all>div>div {
    padding: 0 10px;
}

/* .index_btm_all>div>div>div{
    padding: 0 10px;
} */

.bg_line {
    background: #00b900;
    border-radius: 10px;
}

.bg_fb {
    background: #3b5998;
    border-radius: 10px;
}

.g_width_400p {
    max-width: 440px !important;
    width: 100% !important;
}

.g_height_a {
    height: auto !important;
}

.footer_logo {
    max-width: 250px;
}

.footer-content {
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    align-content: space-around;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: stretch;
}

.header-user-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 15px;
}

.action-btn {
    position: relative;
    font-size: 22px;
    color: #454545;
    padding: 5px;
    font-size: 1rem;
    font-weight: 700;
    transition: all 0.3s !important;
    display: flex;
}

.action-btn:hover,
.action-btn:focus,
.action-btn:active {
    box-shadow: none;
    color: #42ae94;
    border-color: #fff;
}

.action-btn:hover svg,
.action-btn:focus svg {
    stroke: #42ae94 !important;
}

.content-box h3 {
    color: #666;
    transition: all .5s ease;
}

.promotion-item .content-box p {
    color: #666;
}

.promotion-item:hover .content-box h3 {
    color: #42ae94;
}

.p_item {
    box-shadow: 0px 2px 5px 2px rgb(0 0 0 / 8%);
    border-radius: 8px;
    transition: all .5s ease;
    border: 1px solid #eaeaea;
}

.p_item:hover {
    box-shadow: 0px 2px 5px 2px rgb(0 0 0 / 15%);
    border-radius: 8px;
    cursor: pointer;
}

.p_item .p_img {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
}

.p_item .p_img:before {
    content: '';
    display: block;
    position: absolute;
    z-index: 2;
    width: 100%;
    height: 100%;
    /* background: rgba(0, 0, 0, .45); */
    background: rgba(255, 255, 255, 0.65);
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity .5s;
}

.p_item .p_img img {
    transition: transform .5s;
}

img,
video {
    max-width: 100%;
    height: auto;
}

.p_item:hover .p_img:before {
    opacity: 1;
}

.p_item:hover .p_img img {
    transform: scale(1.1);
}

.p_item .p_img::after {
    content: "檢視商品";
    display: block;
    position: absolute;
    z-index: 2;
    width: 100%;
    height: 60px;
    line-height: 60px;
    font-size: 1.4rem;
    color: rgb(255, 255, 255);
    background-color: #42ae94;
    bottom: 0px;
    left: 0px;
    font-weight: 700;
    text-align: center;
    opacity: 0;
    transform: translateY(40px);
    transition: all 250ms ease-out 0s;
}

.p_item:hover .p_img:after {
    /* opacity: 1; */
    transform: scale(1);
    -moz-transform: scale(1);
    -webkit-transform: scale(1);
}

.p_item .txt {
    position: relative;
    padding: 25px 10px;
    min-height: 179px;
}

.p_item:hover .text-primary--hover {
    color: #0DCAF0 !important;
}

.p_item:hover .project-btn3--hover {
    background-color: #ff7823 !important;
}

.ingredients-list {
    display: flex;
    flex-wrap: wrap;
    gap: .3rem;
    justify-content: space-between;
}

.media {
    display: inline-block;
    padding: 10px 16px 10px 47px;
    border-radius: 26px;
    color: white;
    background-color: #2c71a8 !important;
    font-size: .9rem;
    font-weight: bold !important;
    margin-right: 20px;
    text-align: center;
    line-height: normal;
    margin-bottom: 0;
}

.news-hover:hover h5 {
    color: #2c71a8;
}

.btn-contact:hover .icon-hover {
    animation-name: hvr-buzz-out;
    animation-duration: 0.75s;
    animation-fill-mode: both;
}

.media_t {
    background: url(/images/media.svg) left bottom no-repeat;
    background-position-x: 15px;
    background-position-y: 50%;
    background-size: auto 65%;
}

.brand {
    display: flex;
    flex: 0 0 calc(50% - 0.3rem);
    box-sizing: border-box;
    background: #42ae94;
    color: #fff;
    font-size: 1rem;
    text-align: center;
    font-weight: bold;
    padding: .55rem 1rem;
    line-height: 1.4;
    border-radius: 50px;
    justify-content: center;
    align-items: center;
}

/* 如果最後一個是奇數個（即最後一個落單），讓它撐滿一整列 */
.ingredients-list>.brand:nth-last-child(1):nth-child(odd) {
    flex: 0 0 100%;
}

.p_item .txt .name {
    line-height: 28px;
    font-size: 1.2rem;
    margin: 0;
    padding: 10px 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-weight: 500;
}

.p_item:hover .txt .name {
    color: #666;
}

.p_item .txt .info {
    line-height: 24px;
    font-size: 1rem;
    color: #444;
    margin: 0;
    padding: 0 0 3px 0;
    overflow: hidden;
    word-wrap: break-word;
    display: -webkit-box;
    text-align: center;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.p_item .txt .price .sale {
    line-height: 28px;
    font-size: 1.25rem;
    color: #b2240e;
    font-weight: 700;
}

.price span {
    display: inline-block;
    vertical-align: bottom;
}

.price .origin {
    line-height: 24px;
    font-size: 1rem;
    color: rgb(146, 144, 144);
    text-decoration: line-through;
    margin-left: 15px;
}

.p_item .txt .detail {
    display: block;
    position: absolute;
    width: 45px;
    padding-top: 45px;
    text-align: center;
    top: 120px;
    right: 20px;
    border: 1px solid #42ae94;
    border-radius: 100%;
    transition: background .2s;
    transition: all .5s ease;
}

.project-intro .detail {
    display: block;
    position: absolute;
    width: 45px;
    padding-top: 45px;
    text-align: center;
    top: 20px;
    right: 20px;
    border: 1px solid #42ae94;
    border-radius: 100%;
    transition: background .2s;
    transition: all .5s ease;
}

.p_item .txt .detail i {
    position: absolute;
    top: 55%;
    left: 50%;
    font-size: 1.2rem;
    transform: translate(-50%, -50%);
    color: #42ae94;
}

.p_project-intro .detail i {
    position: absolute;
    top: 55%;
    left: 50%;
    font-size: 1.2rem;
    transform: translate(-50%, -50%);
    color: #42ae94;
}

.p_item .txt .detail:hover,
.p_item .txt .detail:focus,
.p_item .txt .detail.focus {
    border: 1px solid #42ae94;
    background-color: #42ae94;
}

.p_item .txt .detail:hover i,
.p_item .txt .detail:focus i,
.p_item .txt .detail.focus i {
    color: #fff;
}

.project-intro .detail:hover {
    border: 1px solid #42ae94;
    background-color: #42ae94;
}

.p_project-intro .detail:hover i {
    color: #fff;
}

.btn-more {
    position: relative;
    border: 1px solid #42ae94;
    padding: .8rem 3rem;
    color: #42ae94;
    transition: all .5s ease;
}

.btn-more:after {
    position: absolute;
    top: 1;
    right: 1;
    height: 100%;
    width: 1.25rem;
    opacity: 0;
    content: ">";
    color: #fff;
    -webkit-transition: left .5s ease-in-out, opacity .5s ease-in-out;
    transition: left .5s ease-in-out, opacity .5s ease-in-out;
}

.btn-more:hover {
    background: #42ae94;
    padding-right: 3.5rem;
    padding-left: 2.5rem;
    color: #fff;
    border: 1px solid #42ae94;
}

.btn-more:hover:after {
    right: 1.5rem;
    opacity: 1;
    color: #fff;
}

.btn-contact {
    position: relative;
    border: 1px solid #42ae94;
    padding: 1rem 5.8rem;
    font-size: 1.3rem;
    color: #42ae94;
    font-weight: bold;
    transition: all .5s ease;
}

.btn-contact svg {
    fill: #42ae94 !important;
    transition: all .5s ease;
}

.btn-contact:hover {
    background: #42ae94;
    color: #fff;
    border: 1px solid #42ae94;
}

.btn-contact:hover svg {
    fill: #fff !important;
}


.adv_swiper .swiper-slide {
    overflow: hidden;
    border-radius: 10px;
}

.owl-theme .owl-nav [class*=owl-]:hover {
    background: #42ae94;
}

.g-brd-brown-opacity-0_3 {
    border-color: rgba(156, 128, 97, 0.3) !important;
}

.g-bg-brown2--hover:hover {
    background: #42ae94 !important;
}

.footer-list {
    font-weight: bold;
    margin-bottom: 0;
    font-size: 1.1rem;
    position: relative;
}

.footer-list::after {
    content: "|";
    position: absolute;
    right: -10px;
    color: #ececec;
}

/* 第一個連結前面不要 | */
.footer-list:first-child::before {
    content: "";
}

/* 最後一個連結不要顯示 | */
.footer-list:last-child::after {
    content: "";
}

.footer-block {
    border-bottom: 1px solid #e4e4e4;
}

@media (min-width: 1024px) {
    .d-1024-none {
        display: none !important;
    }
}

@media screen and (min-width: 1200px) {
    .news img {
        width: 550px;
    }

    .news>div {
        float: left;
    }
}

@media screen and (max-width: 1200px) {
    .news img {
        width: 100%;
        max-width: 900px;
    }
}

@media screen and (max-width: 1199px) {
    .link_box_7 {
        margin: 0;
    }

    .btn-contact {
        padding: 1rem 3.8rem;
    }
}

@media screen and (min-width: 1024px) {
    .hd_link_2 {
        display: none;
    }
}

@media screen and (max-width: 1024px) {
    .hd_img {
        display: none;
    }

    .hd_text {
        padding: 0;
        font-size: 20px;
    }

    .hd_pd {
        padding: 10px 0;
    }

}

@media screen and (max-width: 1000px) {
    .news img {
        width: 100%;
        max-width: 700px;
    }
}

@media screen and (max-width: 991px) {
    .page {
        display: inline;
    }

    .page>div {
        justify-content: center;
        padding: 10px 0;
    }

    .news_box_1,
    .news_box_2 {
        max-width: none;
        height: auto;
    }

    .news_box_2 {
        max-height: none;
    }

    .news_box_2 img {
        max-width: none;
        max-height: none;
    }

    .link_box_7 {
        max-width: 100%;
        height: auto;
        /* padding: 10px; */
    }

    .link_box_8 {
        max-width: 100%;
        max-height: 100%;
    }

    .link_box_8 img {
        max-width: 100%;
        max-height: 100%;
    }

    .d-md-center {
        justify-content: center;
    }
}

@media screen and (max-width: 768px) {
    .news img {
        width: 100%;
        max-width: 500px;
    }

    .nav {
        display: block;
    }

    .ft_txet_r {
        width: 100%;
    }

    .td_cell_1,
    .td_cell_2,
    .td_cell_3 {
        display: block;
        width: 100%;
    }

    .bdr_top_f {
        border-top: 2px solid #FFF;
    }

    .download_title>div {
        padding: 10px 0px;
    }

    .footer-list {
        font-size: 1.2rem;
        border-bottom: 1px solid #e4e4e4;
        padding: 1rem 1.5rem;
        position: relative;
    }

    .footer-list::after,
    .footer-list::before {
        content: none;
    }

    .footer-list:first-child::before {
        content: "";
    }

    /* 最後一個連結不要顯示 | */
    .footer-list:last-child::after {
        content: "\f105";
    }

    .footer-list::after {
        font-family: "Font Awesome 5 Free";
        content: "\f105";
        /* Unicode for fa-angle-right */
        font-weight: 900;
        position: absolute;
        right: 2.5rem;
        top: 50%;
        transform: translateY(-50%);
        color: #222;
        font-size: 1rem;
    }

    .footer-block {
        border-bottom: none;
    }

    .d-sm-column {
        flex-direction: column;
    }

    .d-md-center {
        justify-content: left;
    }
}

@media screen and (max-width: 767px) {

    .share {
        display: block;
    }

    .share_left {
        width: 100%;
    }

    .commodity_detailed {
        display: block;
    }

    .commodity_detailed_img,
    .commodity_detailed_text {
        width: 100%;
    }

    .td,
    .td2 {
        display: block;
        text-align: center;
    }

    .link_box_1,
    .link_box_3 {
        height: 100%;
        max-width: 400px;
    }

    .link_box_2 img,
    .link_box_4 img,
    .link_box_6 img {
        max-width: none;
        max-height: none;
    }

    .link_box_2 {
        height: auto;
    }

    .link_box_4 {
        height: auto;
        max-width: 400px;
        max-height: 400px;
    }

    .link_box_5 {
        height: 100%;
        max-width: none;
    }

    .link_box_6 {
        width: 100%;
        height: auto;
    }


    .p_item .p_img::after {
        display: none;
        height: 40px;
        line-height: 40px;
        font-size: 1.1rem;
    }

    .p_item .p_img:before {
        display: none;
    }

    .p_item .p_img:hover img {
        transform: none;
    }

    .p_item .txt {
        position: relative;
        padding: 15px 0;
    }

    .p_item .txt .brand {
        background: #42ae94;
        color: #fff;
        font-size: 0.9rem;
        /* display: inline-block; */
        padding: 7px 9px;
        line-height: 1.2;
        margin: 0;
        border-radius: 5px;
    }

    .p_item .txt .cart {
        width: 100%;
        background-color: rgb(211, 178, 138);
        color: #fff;
        text-align: center;
        font-size: 1.1rem;
        font-weight: 700;
        display: inline-block;
        padding: 7px 9px;
        line-height: 1.5;
        margin: 0;
        border-radius: 5px;
    }

    .p_item .txt .cart:hover,
    .p_item .txt .cart:focus,
    .p_item .txt .cart:active {
        background-color: rgb(199, 161, 114);
    }

    .p_item .txt .name {
        line-height: 28px;
        font-size: 1.05rem;
        padding: 8px 0;
    }

    .p_item:hover .txt .name {
        color: #666;
    }

    .p_item .txt .info {
        line-height: 22px;
        font-size: 0.9rem;
        color: #666;
        margin: 0;
        padding: 0 0 3px 0;
        overflow: hidden;
        word-wrap: break-word;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .p_item .txt .price .sale {
        line-height: 28px;
        font-size: 1.25rem;
        color: #b2240e;
        font-weight: 700;
    }

    .p_item .txt .price span {
        display: inline-block;
        vertical-align: bottom;
    }

    .p_item .txt .price .origin {
        line-height: 24px;
        font-size: 1rem;
        color: rgb(146, 144, 144);
        text-decoration: line-through;
        margin-left: 0;
    }

    .p_item .txt .detail {
        width: 32px;
        padding-top: 32px;
        top: 160px;
        right: 0;
    }

    .p_item .txt .detail i {
        position: absolute;
        top: 55%;
        left: 50%;
        font-size: 1.2rem;
        transform: translate(-50%, -50%);
        color: #42ae94;
    }

    .p_item .txt .detail:hover {
        border: 1px solid #42ae94;
        background-color: #42ae94;
    }

    .p_item .txt .detail:hover i {
        color: #fff;
    }

    .header-user-actions .action-btn {
        position: relative;
        font-size: .9rem;
        /* color: #454545; */
        padding: 1px;
        flex-direction: column;
    }

    .cart_num {
        right: revert-layer;
    }

    .hamburger {
        padding-top: 10px;
        padding: 3px;
    }
}

@media screen and (max-width: 414px) {
    .news img {
        width: 100%;
        max-width: 400px;
    }

    .news_text_text {
        font-size: 24px;
    }

    .search_text {
        font-size: 14px;
    }

    .col-2-5 {
        font-size: 14px;
    }

    .contact_flex,
    .link_flex {
        height: 330px;
    }

    .index_btm_all {
        padding: 0 10px;
    }
}

/*top鍵*/
.toTop-arrow {
    width: 3rem;
    height: 3rem;
    padding: 0;
    margin: 0;
    border: 0;
    border-radius: 10%;
    opacity: 0.6;
    background: #333;
    cursor: pointer;
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    display: none;
    z-index: 100;
}

.toTop-arrow::before {
    transform: rotate(-45deg) translate(0, -50%);
    left: 0.5rem;
}

.toTop-arrow::after {
    transform: rotate(45deg) translate(0, -50%);
    right: 0.5rem;
}

.toTop-arrow:focus,
.toTop-arrow:hover {
    outline: none;
    opacity: 1;
}

/*top鍵*/

.owl-carousel .banner-img {
    padding: 0 !important;
    /* height: 90vh !important; */
}

.owl-carousel .owl-item div {
    position: relative;
    overflow: hidden;
}

.owl-carousel .banner-img img {
    display: block;
    max-width: 100%;
    height: 70vh;
    object-fit: cover;
}

.footer-inner {
    background: url("/images/shadow_bg01.png") repeat-x center top;
}

.scroll-menu-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    overflow: hidden;
}

.scroll-menu {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    flex: 1;
    scrollbar-width: none;
    /* Firefox */
    transition: scroll-left 0.4s ease-in-out;
    /* 雖然不必要，但有助於自定動畫 */
    -webkit-overflow-scrolling: touch;

}

.scroll-menu::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}


.menu-item {
    flex: 0 0 auto;
    margin: 0 5px;
    white-space: nowrap;
    cursor: pointer;
    padding: .3rem .95rem;
    display: inline-flex;
    align-items: center;
    font-size: .9rem;
    font-weight: bold;
    /* letter-spacing: -0.05em; */
    color: #222222;
    border: 1px #cdcdcd solid;
    background: #fff;
    border-radius: 50px;
    text-decoration: none;
}

.menu-item:hover {
    color: #fff;
    background: #42ae94;
    border: 1px #42ae94 solid;
}

.scroll-btn {
    background: #fff;
    border: 1px #aaaaaa solid;
    /* font-size: 1.25rem; */
    width: 30px;
    height: 30px;
    cursor: pointer;
    border-radius: 50px;
    transition: background 0.3s ease;
}

.scroll-btn.left {
    margin-right: 5px;
}

.scroll-btn.right {
    margin-left: 5px;
}

.scroll-menu.dragging {
    cursor: grabbing;
    user-select: none;
}

.scroll-menu {
    cursor: grab;
}

.carousel-wrapper {
    position: relative;
    overflow: hidden;
}

.shadow-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 7px;
    /* 陰影高度，可調整 */
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), transparent);
    z-index: 10;
    pointer-events: none;
    /* 不要擋住點擊事件 */
}

.announcement-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border-radius: 4px;
    padding: 0.25rem 0.5rem;
    max-width: 100%;
    overflow: hidden;
}

.announcement-icon {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    white-space: nowrap;
    font-size: 1rem;
}

.announcement-container {
    flex: 1;
    overflow: hidden;
    height: 2rem;
}

.announcement-list {
    transition: transform 0.6s ease-in-out;
}

.announcement-item {
    height: 2rem;
    line-height: 2rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    /* 加上這行 */
    padding-left: 0.5rem;
    font-size: 1rem;
    color: #333;
}

.announcement-controls {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.nav-btn {
    background: #fff;
    border: 1px solid #42ae94;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-size: 1rem;
    cursor: pointer;
    /* display: flex; */
    align-items: center;
    justify-content: center;
}

.nav-btn:hover {
    background: #42ae94;
}

.nav-btn:hover i {
    color: #fff;
}

.nav-btn i {
    color: #42ae94;
    font-size: 16px;
}

.faq_q {
    min-height: 35px;
    font-size: 1.1rem;
    font-weight: bold;
    background: url(../images/icon_q.svg) left top no-repeat;
    background-size: 35px 35px;
}

p.faq_a {
    font-size: .95rem;
    background: url(../images/icon_a.svg) left top no-repeat;
    background-size: 25px 25px;
}

.faq-card {
    transition: all 0.3s ease;
    display: block;
    border-radius: 8px;
}

.faq-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
    text-decoration: none;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* 一列3個 */
    gap: 1rem;
}

.floating-sample-btn {
    position: fixed;
    bottom: 1%;
    left: 20px;
    z-index: 999;
    transition: transform 0.3s, box-shadow 0.3s;
    animation: float 2s ease-in-out infinite;
}

.floating-sample-btn:hover {
    transform: translateY(-5px);
}

.g-color-brown {
    color: #42ae94 !important;
}

.footer-link {
    opacity: .7;
    transition: all .3s ease;
}

.footer-link:hover {
    opacity: 1;
}

details {
    width: 100%;
    border-radius: 5px;
    overflow: hidden;
    transition: 0.5s;
}

summary {
    padding: .5rem;
    display: block;
    position: relative;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

summary::before,
summary::after {
    width: 0.75em;
    height: 1.5px;
    position: absolute;
    top: 50%;
    right: 20px;
    content: "";
    background-color: currentColor;
    text-align: right;
    transform: translateY(-50%);
    transition: transform 0.2s ease-in-out;
}

summary::after {
    transform: translateY(-50%) rotate(90deg);
}

[open] summary {
    color: #42ae94 !important;
}

[open] summary::after {
    transform: translateY(-50%) rotate(180deg);
}

details div {
    margin: 0 0 1em 1.5em;
    line-height: 1.5;
    font-size: 1.1rem;
}

/* details[open] p {
    border-left: 2px solid #42ae94;
    opacity: 100;
    transition: all 3s ease;
} */

details[open] summary~* {
    animation: open 0.3s ease-in-out;
}

.qa {
    border: none !important;
    position: relative;
    margin: 3rem auto 2.5rem;
    font-size: 2.1rem;
    font-weight: bold;
    display: inline-block;
    padding-bottom: 1.2rem;
}

.qa::before {
    content: "";
    position: absolute;
    width: 10vw;
    left: 50%;
    bottom: 0px;
    transform: translateX(-50%);
    border-bottom: solid 2px #222;
}

.qa-list a {
    font-weight: bold;
    color: #0072EF !important;
}

.qa-list a:hover {
    color: #00bbff !important;
}

.h-3 {
    min-height: 3.1rem;
}

.editor-content-box {
    max-height: 500px;
    /* 或你想要的高度 */
    overflow-y: auto;
    padding: 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
}

/* 一開始預設樣式 */
#mainHeader {
    position: relative;
    transition: all 0.3s ease;
}

/* 滾動到一定距離後啟用固定 */
.fixed-header {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1030;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.cart-preview-box {
    position: absolute;
    right: 0;
    top: 110%;
    width: 320px;
    background: #fff;
    border: 1px solid #ccc;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    z-index: 999;
    padding: 15px;
    border-radius: 8px;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.cart-preview-box.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.cart-img {
    width: 4.5rem;
    height: 4.5rem;
    object-fit: cover;
    border-radius: 6px;
}


.qa-item {
    cursor: pointer;
}

.qa-question {
    display: flex;
    font-weight: bold;
}

.qa-answer {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.4s ease;
    margin-left: 1.5rem;
    font-size: 0.95rem;
    color: #555;
}

.qa-item.active .qa-answer {
    max-height: 200px;
    /* 根據內容高度調整 */
    opacity: 1;
    margin-top: 0.5rem;
}


/* 產品圖 */
.product-gallery {
    /* max-width: 700px; */
}

.thumbs-container {
    width: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.thumbs-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* 根據縮圖高度調整 */
    overflow: hidden;
}

#thumbs-list {
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-height: 100%;
    scroll-behavior: smooth;
}

#thumbs-list img {
    width: 70px;
    height: 70px;
    margin: 5px 0;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border 0.3s;
}

#thumbs-list img.active {
    border-color: #007bff;
}

.scroll-btn2 {
    width: 100%;
    background: #d8d8d8;
    color: #fff;
    border: none;
    font-size: 1rem;
    cursor: pointer;
    padding: 3px;
}

.scroll-btn2:hover {
    background: #9e9e9e;
}

.main-image img {
    max-width: 100%;
    object-fit: contain;
    border: 1px solid #ccc;
    transition: all 0.4s ease;
}

/* 淡入動畫 */
#main-img {
    transition: opacity 0.4s ease;
    opacity: 1;
}

/* 淡出時會短暫隱形（透過 JS 控制） */
#main-img.fade-out {
    opacity: 0;
}

.navbar-nav .dropdown-menu {
    position: absolute;
}



/* 手機版：縮圖改為橫向滾動 */
@media (max-width: 1400px) {
    .product-gallery {
        flex-direction: column-reverse;
    }

    .thumbs-container {
        width: 100%;
        flex-direction: row;
        overflow-x: auto;
        justify-content: center;
    }

    .thumbs-wrapper {
        flex-direction: row;
        height: auto;
        overflow-x: auto;
        gap: 10px;
        padding: 10px 0;
    }

    #thumbs-list {
        flex-direction: row;
        overflow-x: auto;
        max-height: none;
        max-width: 100%;
        scroll-behavior: smooth;
    }

    #thumbs-list img {
        margin: 0 5px;
        width: 60px;
        height: 60px;
        flex-shrink: 0;
    }

    .scroll-btn2 {
        display: none;
    }

    .main-image {
        width: 100%;
        display: flex;
        justify-content: center;
        margin-top: 10px;
    }
}



@keyframes float {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }

    100% {
        transform: translateY(0);
    }
}


@media screen and (max-width: 1199px) {
    .owl-carousel .banner-img {
        /* height: 80vh !important; */
    }

    .faq-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media screen and (max-width: 1280px) {
    .headerlogo {
        /* width: 3.8rem; */
    }
}

@media screen and (max-width: 999px) {
    .owl-carousel .banner-img {
        /* height: 60vh !important; */
    }

    .owl-carousel .banner-img img {
        height: auto;
    }

    .faq-grid {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 1rem;
    }
}

@media screen and (max-width: 768px) {
    .owl-carousel .banner-img {
        /* height: 45vh !important; */
    }

    .scroll-menu-wrapper .scroll-btn {
        display: none !important;
    }

    .announcement-controls {
        display: none !important;
    }

    .floating-sample-btn {
        padding: 0;
        left: 10px;
    }

    .menu-item {
        margin: 0 3px;
        padding: .25rem .9rem;
        font-size: .8rem;
    }

    .announcement-bar {
        gap: 0;
        padding: 0;
    }

    .announcement-icon,
    .announcement-item {
        font-size: .9rem;
    }

    .navbar-nav .show>.nav-link {
        color: #fff !important;
        background-color: #42ae94 !important;
    }

    .media_t {
        background-size: auto 55%;
    }

    .media {
        padding: 8px 18px 8px 40px;
    }

    .btn-more {
        padding: .7rem 2rem;
        font-size: 1rem;
    }

    .h-3 {
        min-height: auto;
    }
}

@media screen and (max-width: 587px) {
    .owl-carousel .banner-img {
        /* height: 30vh !important; */
    }

    .ingredients-list {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 992px) {
    .g-pt-25--lg {
        padding-top: 0 !important;
    }
}

@media (min-width: 1024px) {
    .navbar-expand-xl .navbar-collapse {
        display: flex;
        flex-wrap: nowrap !important;
        justify-content: flex-start !important;
    }

    .navbar-expand-xl .navbar-nav {
        flex-direction: row !important;
    }

    .navbar-expand-xl .navbar-toggler {
        display: none !important;
    }

    .text-xl-center {
        text-align: center !important;
    }

    .g-pt-25--lg {
        padding-top: 1.78571rem !important;
    }
}



@media (min-width: 768px) {
    .y-px-md-5 {
        padding-right: 5% !important;
        padding-left: 5% !important;
    }

    .y-px-md-10 {
        padding-right: 10% !important;
        padding-left: 10% !important;
    }

    .y-px-md-15 {
        padding-right: 15% !important;
        padding-left: 15% !important;
    }

    .y-px-md-20 {
        padding-right: 20% !important;
        padding-left: 20% !important;
    }

    .y-px-md-25 {
        padding-right: 25% !important;
        padding-left: 25% !important;
    }

    .y-px-md-30 {
        padding-right: 30% !important;
        padding-left: 30% !important;
    }



}

@media (max-width: 768px) {
    .y-container-sm {
        width: 100%;
        padding-right: 0.75rem !important;
        padding-left: 0.75rem !important;
        margin-right: auto;
        margin-left: auto;
    }
}