@charset "utf-8";

/*
關於CSS設定說明
CSS屬性是會繼承的，而且還是由上往下繼承。
同樣元素設定16px 後 12px 再 15px 最後會以最後設定的15px為準
但是有兩種情況除外:
1.絕對路徑命名. 如: .xx .yy .zz p {設定值;}
2.important.  如: .xx p {設定值 !important;}

CSS3選取器語法 :nth-child(n) 

*/


/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */


/*上方選單解除滑動固定
.header_area.sticky { position:relative;}
*/

.navigation {
    gap: 0 50px;
    transition: all ease 0.3s;
    display: flex;
    flex-flow: row;
    align-items: center;
}

.stellarnav {
    padding-left: 240px;
    transition: all ease 0.3s;
}

.sticky .stellarnav {
    padding-left: 200px;
}

.nav-header {
    max-width: 200px;
    padding: 25px;
    position: absolute;
    background: #F4F4DB;
    transition: all ease 0.3s;
}

body:not(.pageIndex) .nav-header {
    box-shadow: -10px 20px 20px rgba(0, 0, 0, .35);
}

body:not(.pageIndex) .sticky .nav-header {
    box-shadow: none;
}

.sticky .nav-header {
    max-width: 160px;
    padding: 20px;
}

.nav-brand,
.nav-brand img {
    display: block;
}

.header_area,
.header_area.sticky {
    background: #FFF;
    box-shadow: 0 0 16px rgba(0 0 0 / 8%);
    padding: 0;
}

.main_header_area .container {
    max-width: 100%;
}

.stellarnav>ul {
    font-family: 'Noto Sans TC', 'Microsoft JhengHei', sans-serif;
    text-align: left;
}

.stellarnav>ul>li:before {
    content: '';
    background: url(https://pic03.eapple.com.tw/lewisfondant/whipcream.svg) center / cover no-repeat;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    max-width: 69px;
    display: block;
    position: absolute;
    left: 2px;
    top: calc(50% + -2px);
    transform: translateY(-50%);
    filter: grayscale(0.5) hue-rotate(-3deg) brightness(1.05) opacity(0.75);
    opacity: 0;
    transition: all ease 0.3s;
}

.stellarnav>ul>li:hover:before,
.stellarnav>ul>li.open:before {
    opacity: 1;
}

.stellarnav li.has-sub>a:after {
    content: none;
}

.stellarnav>ul>li>a,
.stellarnav>ul>li.has-sub>a:not(.dd-toggle) {
    padding: 0 2px;
    line-height: 72px;
    height: 100%;
    color: #555;
    display: block;
    font-size: 15px;
    font-weight: 500;
    margin: 0 10px;
    transition: all ease 0.3s;
}

.stellarnav>ul>li:hover>a,
.stellarnav>ul>li.open>a:not(.dd-toggle),
.stellarnav>ul>li.has-sub:hover>a:not(.dd-toggle) {
    color: #CD8787;
}

.tp_links {
    display: none;
}

.me_tp_features {
    order: 1;
    position: absolute;
    right: 100px;
    top: 50%;
    transform: translateY(-50%);
    width: auto;
    z-index: 9999;
}

.shop_search_btn {
    background: #CD8787;
}

/*次分類*/
.stellarnav ul ul {
    background: transparent;
}

.stellarnav>ul>li>ul {
    right: auto;
    left: 50%;
    transform: translateX(-50%);
}

.stellarnav li li {
    background: #fff;
    margin-bottom: 0;
    text-align: center;
    transition: all ease .3s;
}

.stellarnav li li:hover {
    background: #CD8787;
}

.stellarnav li li a:not(.dd-toggle),
.stellarnav li li.has-sub>a:not(.dd-toggle),
.stellarnav li li.has-sub:hover li a:not(.dd-toggle) {
    color: #777;
    font-weight: 500;
    padding: 10px 18px;
    font-size: 14px;
    line-height: initial;
    height: auto;
    margin: 0;
    position: relative;
}

.stellarnav li li:hover a:not(.dd-toggle),
.stellarnav li li.has-sub:hover a:not(.dd-toggle),
.stellarnav li li.has-sub:hover li:hover a:not(.dd-toggle) {
    color: #fff;
}

/* 主分類超過30個但次分類直接顯示 
.stellarnav.desktop li.bigMenu>ul{grid-gap: 10px;}
.stellarnav.desktop li.bigMenu li{border: 0;}
.stellarnav.desktop li.bigMenu>ul>li>a{border: 1px solid #ddd;}
.stellarnav.desktop li.bigMenu ul ul{display: block !important; position: relative; top: 0; background: unset; border: 0;}
.stellarnav.desktop li.bigMenu ul ul li{border: 0;}
 主分類超過30個但次分類直接顯示-結束 */

/* 商品下拉超過30個--結束 */

/* 商品下拉超過30個變大 */
.stellarnav.desktop li.bigMenu>ul {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    left: 0;
    width: 100%;
    position: fixed;
    padding: 20px;
}

.stellarnav.desktop li.bigMenu ul ul {
    top: 100%;
    left: 0;
    width: 100%;
    background: #efefef;
    height: auto;
    max-height: 300px;
    overflow: auto;
}

.stellarnav.desktop li.bigMenu ul ul li {
    margin: 0;
}

.stellarnav.hasBigMenu li.bigMenu li.has-sub>a:after {
    border-left: 6px solid transparent;
    border-bottom: unset;
    border-right: 6px solid transparent;
    border-top: 6px solid #898989;
    right: 5px;
}

/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */

#content {
    font-family: 'Noto Sans TC', 'Microsoft JhengHei', sans-serif;
}

.main_part {
    width: 90%;
    max-width: 1500px;
    margin: auto;
    padding: 50px 0;
}

.path {
    padding: 0 0 20px;
}

.show_content,
.prod_part {
    padding: 0;
    font-family: 'Montserrat', 'Noto Sans TC', 'Microsoft JhengHei', sans-serif;
}

/*預設解除背景輪播*/
#content_main {
    margin: 0;
}

.bannerindex {
    position: relative;
    height: auto;
}

.swiper-banner {
    position: static;
    margin: 0;
    height: auto;
}

/* .swiper-slide img { height:auto;} */
@media screen and (max-width: 768px) {
    .bannerindex {
        padding: 0;
        margin: 0;
    }
}


/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */


/*內頁BANNER 設定*/
.banner {
    padding: 0;
    display: flex;
    align-items: center;
    width: 100%;
    height: auto;
    aspect-ratio: 8 / 1;
    position: relative;
    min-height: 150px;
}

.banner:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: url(https://pic03.eapple.com.tw/lewisfondant/banner.jpg) center no-repeat;
    background-size: cover;
}

.banner h5 {
    z-index: 9;
    color: #77522C;
    font-weight: 600;
    letter-spacing: 1px;
    font-size: 32px;
    position: relative;
    line-height: 1.8;
}

.banner h5:after {
    content: "LEWIS FONDANT CAKE";
    letter-spacing: 1px;
    display: block;
    font-family: 'Libre Baskerville', 'Times New Roman', serif;
    font-weight: bold;
    font-size: 16px;
    opacity: .35;
}

/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */


/*購物車*/
/*modify*/
.product_menu_list {
    margin-bottom: 0;
}

.products-list .item a:hover .more {
    background: #fff;
    color: #000;
    border: 1px solid #000;
    letter-spacing: 0;
}

.products-list .more {
    border: 1px solid #c0c0c0;
    color: #444;
    font-size: 14px;
    font-weight: 400;
    line-height: 32px;
}

/*預設*/
.product_page .show_content,
.product_info_page .show_content {
    width: 100%;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: stretch;
    align-content: flex-start;
}

.product_page .product_menu_list {
    position: relative;
    width: 220px;
    letter-spacing: 1px;
    border-right: 1px solid #ccc;
    height: auto;
}

.product_page .products-list {
    width: calc(100% - 280px);
}

ul.page {
    width: 100%;
}

.product-layer-two li ul {
    position: static;
    margin: 0;
    width: 100%;
}

.product-layer-two li:hover ul {
    border: none !important;
    /*display:block !important;*/
}

.product-layer-two>li {
    width: 100%;
    max-width: 100%;
    text-align: left;
    border-bottom: 1px dotted #ccc;
    padding: 5px 5px 5px 0;
}

.product-layer-two li i {
    right: 15px;
    top: 18px;
    width: 20px;
    height: 20px;
    font-size: 20px;
    color: #444;
    transition: all ease .3s;
}

.product-layer-two>li.active i {
    color: white;
}

.product-layer-two>li:hover i {
    color: #CD8787;
}

.product_info_page .product_menu_list {
    display: none;
}

.product-wrapper {
    width: 100%;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
}

.product_main {
    padding: 0 60px 0 0;
    width: 60%;
}

.sidebarBtn {
    padding: 0;
    border: none;
    width: 40%;
}

.product-layer-two li li>a:before {
    content: "";
    position: absolute;
    width: 12px;
    height: 8px;
    background: transparent;
    left: 0;
    margin-left: -18px;
    top: 50%;
    margin-top: -4px;
    clip-path: polygon(0 0, 100% 50%, 0 100%);
}

/*預設結束*/
.product-layer-two li li {
    display: block;
    background: none;
    border: none;
    padding: 0 14px;
    margin: 10px 0 0;
    transition: all ease .3s;
}

.product-layer-two li li:hover {
    padding-left: 34px;
}

.product-layer-two>li>ul li+li {
    margin-top: 0;
}

.product-layer-two>li>ul li:last-of-type {
    margin-bottom: 5px;
}

.product-layer-two li.active li {
    display: block;
}

.product-layer-two li li a,
.product-layer-two li.active li a {
    background: none;
    padding: 2px;
    color: #444;
}

.product-layer-two li li:hover>a {
    color: #CD8787;
    border: none;
}

.product_info_page .product-layer-two {
    display: none;
}

.product-layer-two li li:hover>a:before {
    background: #CD8787;
}

.product-layer-two li:hover>a:before,
.product-layer-two li.active>a:before {
    background: white;
    color: #174389;
}

.product-layer-two li a {
    padding: 10px 48px 10px 15px;
    color: #444;
    letter-spacing: 0px;
    border: 1px solid transparent;
    font-weight: 500 !important;
    background: transparent;
    transition: all 0.3s;
    line-height: 160%;
    font-size: 15px;
    transition: all 0.3s;
}

.product-layer-two>li:hover>a {
    border-color: #CD8787;
    color: #CD8787;
}

.product-layer-two li.active>a {
    background: #CD8787;
    border: none;
    color: #fff;
}

.products-list .name {
    font-weight: 500;
    margin: 10px 0 0;
    -webkit-line-clamp: 1;
    height: auto;
}

.products-list .price {
    margin: 0 0 10px;
}

.products-list .price * {
    display: inline-block;
    margin: 0;
}

.products-list .price b {
    color: #CD8787;
    font-size: 15px;
    line-height: 2;
}

.products-list .item a:hover img {
    opacity: 0.5;
}

.products-list .pic img {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

/*內頁*/
.product_info_page .main_part {
    max-width: 1300px;
}

.product_info li span {
    width: 100%;
    margin-left: 0;
    letter-spacing: 0;
    font-size: 14px;
    margin-bottom: 8px;
    color: #000;
    font-weight: 500;
    font-family: 'Montserrat', 'Noto Sans TC', 'Microsoft JhengHei', sans-serif;
}

.product_info li .txt_box {
    font-size: 14px;
    color: #666;
    line-height: 160%;
}

.sidebarBtn .price span {
    color: #ccc;
    letter-spacing: 0px;
    font-size: 18px;
}

.sidebarBtn .price span.sp_price {
    color: #CD8787;
}

.prod_tabs {
    width: 100%;
}

.proImgSwiper {
    aspect-ratio: 4 / 5;
}

.proImgSwiper li {
    align-items: flex-start;
    clip-path: inset(0 2px);
}

.pd_tabInner_contain {
    padding-top: 0;
}

.prod_related {
    padding: 48px 0;
    background: none;
    border-top: 1px solid #eee;
}

.prod_related h6 span:before {
    font-size: 20px;
    font-weight: 600;
    color: #222;
}

.related_list li a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.related_list li a:hover img {
    opacity: 0.5;
}

.related_list li a p {
    margin: 8px auto 0;
    border-bottom: 1px solid #c6c6c6;
    padding-bottom: 8px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: 0.5s;
}

.related_list li a:hover p {
    border-color: #000;
}

.related_list li a {
    padding: 0;
    background: none;
}

.pd_tabTitle li.activeTab a {
    font-size: 16px;
    font-weight: 500;
    color: #222;
}

.pd_tabTitle li.activeTab::after {
    height: 1px;
    background: #222;
}

.pd_tabTitle li::after {
    height: 1px;
    background: #c9c9c9;
}

.pd_tabTitle li {
    border: none;
}

.radio-inline__input:checked+.radio-inline__label {
    background: #f5f5f5;
}

.product_info_page .edit {
    color: #555;
    font-size: 15px;
    line-height: 180%;
}

.related_list {
    max-width: 1300px;
    width: 90%;
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    gap: 20px;
}

.related_list li {
    width: calc((100% - 60px) / 4);
}

.lastPage,
.animated-arrow {
    background: #CD8787;
}

/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */


/*首頁*/
.pageIndex .products-list .item:nth-of-type(n+9) {
    display: none;
}

.prod_part section {
    width: 90%;
    padding: 80px 0 100px;
}

.i_prod_b b {
    font-weight: 500;
    font-size: 15px;
}

.i_prod_tit span {
    font-weight: 500;
    color: #CD8787;
}

.i_prod_tit span:after {
    display: block;
    content: '無論是婚禮蛋糕、生日蛋糕、母親父親節蛋糕、節慶造型蛋糕等，都可以在這裡找到您想要的 (價格僅供參考，訂製報價)';
    color: #666;
    font-size: 16px;
    margin-top: 20px;
    line-height: 1.6;
}

.i_prod_tit h2:before {
    content: 'PRODUCT';
    letter-spacing: 1px;
    display: block;
    font-family: 'Libre Baskerville', 'Times New Roman', serif;
    font-weight: bold;
    color: #E5B4B4;
}

/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */


/*頁碼*/
.page li:hover a {
    opacity: 1;
}

.page strong,
.page a:hover {
    background: #CD8787;
}

.page li {
    font-family: 'Arial';
}

.page li a {
    display: flex;
    justify-content: center;
    align-content: center;
    align-items: center;
    width: 30px;
    height: auto;
    aspect-ratio: 1 / 1;
}

.page strong,
.page a {
    border-radius: 100%;
    border: 1px #ccc solid;
}

.page a:hover {
    border-color: #CD8787;
}



/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */

/*footer*/
.footer_info li p.taxid:before {
    content: 'Lewisfondant｜路易士客製蛋糕｜統編：';
}

.footer_info li p.line:before {
    content: '🎁 蛋糕訂製｜';
}

.footer_info li p.add2:before {
    content: '🎁 營業時間｜';
}

.footer_info li p.add:before {
    content: '🎁 工作室地址｜';
}

.footer_info li p.taxid {
    order: 1;
}

.footer_info li p.line {
    order: 2;
}

.footer_info li p.add2 {
    order: 3;
}

.footer_info li p.add {
    order: 4;
}

.footer_info li p.tel,
.footer_info li p.phone,
.footer_info li p.mail,
.box_link,
.footer_menu a:first-of-type {
    display: none;
}

.footer_logo {
    display: none;
}

.footer {
    padding: 44px 0 0;
    background: #FBEFEF;
}

.footer .center {
    max-width: 1500px;
    padding: 0 5%;
}

.footer_info {
    font-family: 'Noto Sans TC', Microsoft JhengHei, sans-serif;
    font-weight: 400;
    display: block;
}

.footer_info,
.footer_info li {
    padding: 0;
}

.footer_info ul {
    display: flex;
    width: 100%;
    letter-spacing: 0;
    padding: 24px 0 36px;
}

.footer_info li:nth-child(1) {
    width: 100%;
    display: flex;
    flex-flow: column wrap;
}

.footer_info li p,
.footer_info li p a {
    color: #777;
    pointer-events: none;
}

.footer_info li p {
    display: inline-block;
    width: 100%;
    letter-spacing: 0px;
    line-height: 2;
}

.footer_info li:nth-child(2) {
    width: 100%;
    position: relative;
}

.footer_menu {
    width: max-content;
    position: absolute;
    right: 0;
}

.footer_menu a {
    padding: 6px 12px 8px;
    border: none;
    color: #777;
    background: transparent;
    margin: 0;
    margin-left: 6px;
    line-height: 1;
    transition: all 0.3s;
}

.footer_menu a:hover {
    background: #CD8787;
    color: #fff;
    font-weight: 500;
}

.copy,
.copy a,
.copy a:hover {
    color: rgba(0, 0, 0, .25);
    font-family: 'Noto Sans TC';
}

.copy {
    text-align: left;
    padding: 5px 5% 60px;
    border-top: none;
    max-width: 1500px;
    margin: 0 auto;
    justify-content: flex-start;
}

@media screen and (max-width: 1360px) {
    .me_tp_features {
        right: 20px;
    }

    .nav-header {
        max-width: 160px;
        padding: 20px;
    }

    .stellarnav,
    .sticky .stellarnav {
        padding-left: 180px;
    }

    .stellarnav>ul>li>a,
    .stellarnav>ul>li.has-sub>a:not(.dd-toggle) {
        margin: 0 4px;
    }
}

@media screen and (max-width: 1024px) {
    .footer {
        padding-top: 5px;
    }

    .footer_info ul {
        flex-flow: column;
        padding: 24px 0;
    }

    .footer_menu {
        position: relative;
        margin: 0 auto;
        width: 100%;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(min(110px, 100%), auto));
        gap: 5px;
    }

    .footer_menu a {
        margin: 0;
    }

    .footer_info li,
    .copy {
        text-align: center;
        justify-content: center;
    }

    .footer_info li:nth-child(2) {
        margin-top: 12px;
    }

    .copy {
        padding: 5px 2% 32px;
    }

    .navigation {
        flex-direction: column;
    }

    .nav-header,
    .me_tp_features {
        position: static;
        transform: none;
    }

    .stellarnav,
    .sticky .stellarnav {
        padding-left: 0;
        order: 2;
    }

    .stellarnav>ul {
        text-align: center;
    }

    .pageIndex .products-list {
        grid-template-columns: repeat(3, 1fr);
    }

    body:not(.pageIndex) .nav-header {
        box-shadow: none;
    }

    .banner:before {
        background-position: center left 40%;
    }

    .product_main,
    .sidebarBtn {
        padding: 0;
        width: 100%;
    }

    .product-wrapper {
        gap: 20px;
    }

    .nav-header {
        background: none;
    }
}

@media screen and (max-width: 768px) {

    .footer.with_shopping_mode {
        padding: 30px 0 70px;
    }

    #to_top {
        bottom: 65px;
    }

    .me_tp_features {
        display: none;
    }

    .header_area,
    .header_area.sticky {
        background: #fff;
    }

    .nav-header,
    .sticky .nav-header {
        max-width: 100px;
        padding: 10px;
    }

    .sticky .nav-header {
        max-width: 80px;
    }

    .stellarnav.mobile .menu-toggle {
        padding: 16px 10px;
    }

    .stellarnav>ul>li>a,
    .stellarnav>ul>li.has-sub>a:not(.dd-toggle),
    .stellarnav.mobile>ul>li>a,
    .stellarnav>ul>li:last-of-type>a,
    .stellarnav>ul>li:last-of-type:hover>a {
        height: auto;
        line-height: 185%;
        margin: 0 8px;
    }

    .stellarnav.mobile li li.has-sub a:not(.dd-toggle) {
        padding: 10px 44px 10px 18px;
    }

    .stellarnav.mobile.right .close-menu,
    .stellarnav.mobile.left .close-menu {
        background: #CD8787;
    }

    .stellarnav.mobile>ul {
        border-top: none;
        border-right: none;
        box-shadow: 0 0 10px rgba(0 0 0 / 12%);
    }

    .stellarnav>ul>li>a,
    .stellarnav>ul>li.has-sub>a:not(.dd-toggle),
    .stellarnav.mobile>ul>li>a,
    .stellarnav>ul>li:last-of-type>a,
    .stellarnav>ul>li:last-of-type:hover>a {
        padding: 10px 44px 10px 10px;
    }

    .stellarnav .icon-close:after,
    .stellarnav .icon-close:before {
        border-color: #fff;
    }

    .stellarnav a,
    .stellarnav.mobile>ul>li>ul>li.has-sub.open>a {
        color: #fff;
    }

    .stellarnav>ul>li:before {
        left: 8px;
        top: 1px;
        transform: none;
    }

    .stellarnav li li {
        text-align: left;
    }

    .stellarnav.mobile li.open li.open {
        background: #CD8787;
    }

    .stellarnav.mobile li.open {
        background: #fff;
    }

    .stellarnav.mobile>ul>li>a.dd-toggle {
        padding: 8px;
    }

    .stellarnav.mobile>ul>li.open>a.dd-toggle {
        margin-top: 7px;
    }

    .stellarnav.mobile li li a.dd-toggle {
        margin-right: 5px;
    }

    .stellarnav.mobile li.open li.open a.dd-toggle {
        margin-top: 4px;
    }

    .stellarnav.mobile li.open li.open a.dd-toggle .icon-plus:after,
    .stellarnav.mobile li.open li.open a.dd-toggle .icon-plus:before,
    .stellarnav.mobile li.open li:hover a.dd-toggle .icon-plus:after,
    .stellarnav.mobile li.open li:hover a.dd-toggle .icon-plus:before {
        border-color: #fff;
    }

    .pageIndex .products-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .prod_part section {
        padding: 50px 0;
    }

    .i_prod_tit h2 {
        font-size: 28px;
    }

    .i_prod_tit span {
        font-size: 20px;
    }

    .i_prod_tit span:after {
        font-size: 15px;
    }

    .pageIndex .productsListBox {
        padding: 30px 0 0;
    }

    .products-list .price b {
        line-height: 1.4;
    }

    .products-list .name {
        margin: 10px 0 5px;
    }

    .product_menu_list>h5 {
        font-size: 22px;
        color: #444;
        display: block;
        padding-left: 8px;
    }

    .product_page .product_menu_list,
    .product_page .products-list {
        width: 100%;
        letter-spacing: 0;
        border-right: none;
    }

    .product_page .product_menu_list {
        margin-bottom: 30px;
    }

    .product-layer-two li a {
        padding: 5px 48px 5px 9px;
    }

    .product-layer-two li i {
        right: 6px;
        top: 14px;
    }

    .product-layer-two>li {
        padding-right: 0;
    }

    .product-layer-two li li {
        margin-left: -6px;
    }

    .main_part {
        padding: 20px 0 0;
    }

    .banner h5 {
        font-size: 26px;
    }

    .banner h5:after {
        font-size: 15px;
    }

    .mobile_product_name {
        display: none;
    }

    .related_list li {
        width: calc((100% - 20px) / 2);
    }

    .lastPage {
        margin: 20px auto 0;
    }
}