[v-cloak] {
    display: none;
}

* {
    position: relative;
}

scrollbar,
*::-webkit-scrollbar {
    width: 0px;
    height: 0px;
}

.btn:focus,
.btn:active {
    outline: none;
    box-shadow: none;
}

a,
a:hover {
    color: #333;
    text-decoration: none;
}

select:focus,
input:focus,
textarea:focus {
    box-shadow: none !important;
    outline: none !important;
}

@media (min-width: 1320px){
    .container {
        max-width: 1200px;
    }
}
.hide-phone{
    display: block;
}
.hide-web{
    display: none;
}
.blockUI{
    z-index: 9999999999 !important;
}
.blockUI.blockOverlay{
    background-color: rgba(38, 30, 24, 0.45) !important;
    opacity: 1 !important;
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    animation: blockUIFadeIn 0.25s ease-out;
}
.blockUI.blockMsg{
    width: auto !important;
    min-width: 220px;
    max-width: calc(100% - 40px);
    left: 50% !important;
    top: 45% !important;
    transform: translate(-50%, -50%);
    padding: 62px 36px 26px !important;
    border: none !important;
    border-radius: 16px !important;
    color: #5a4a3c !important;
    font-size: 15px;
    letter-spacing: 1px;
    background: rgba(255, 255, 255, 0.96) !important;
    box-shadow: 0 12px 40px rgba(38, 30, 24, 0.22) !important;
    animation: blockUIPopIn 0.25s ease-out;
}
.blockUI.blockMsg::before{
    content: '';
    position: absolute;
    top: 22px;
    left: 50%;
    margin-left: -14px;
    width: 28px;
    height: 28px;
    border: 3px solid rgba(199, 154, 121, 0.25);
    border-top-color: #c79a79;
    border-radius: 50%;
    animation: blockUISpin 0.8s linear infinite;
}
@keyframes blockUIFadeIn{
    from{ background-color: rgba(38, 30, 24, 0); }
    to{ background-color: rgba(38, 30, 24, 0.45); }
}
@keyframes blockUIPopIn{
    from{
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.9);
    }
    to{
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}
@keyframes blockUISpin{
    to{ transform: rotate(360deg); }
}
body {
    font-family: "微軟正黑體";
    /* 前台官網背景色與文字顏色：後台「商城選單 > 導覽樣式」設定 */
    background-color: var(--store-site-background, #f9f9f9);
    color: var(--store-site-text, #212529);
}
header{
    position: fixed;
    top: 0px;
    left: 0px;
    background-color: #f9f9f9;
    width: 100%;
    height: 180px;
    z-index: 1000;
    box-shadow: 0 20px 20px -20px #00000026;
}
header .cartNum{
    width: 24px;
    height: 24px;
    font-size: 14px;
    transform: scale(0.8);
    font-family: Arial;
    background-color: #c79b79;
    color: #fff;
    margin-left: 5px;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.navTop {
    height: 40px;
    background-color: var(--store-nav-top-background, #fbeccd);
    width: 100%;
}

.navTop .navTopInner {
    display: flex;
    align-items: center;
    justify-content: end;
    height: 100%;
}
.navTop .navTopInner .btn{
    font-size: 14px;
    color: var(--store-nav-top-text, #c79b79);
    height: 35px;
    padding: 0px;
    margin-left: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.navTop .navTopInner .btn i{
    font-size: 16px;
    margin-right: 5px;
}
.navTop .navTopInner .search{
    margin: 0px 15px;
}
.navTop .navTopInner .search i{
    position: absolute;
    z-index: 1;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    right: 0px;
    cursor: pointer;
}
.navTop .navTopInner .search .form-control{
    background-color: transparent;
    border: none;
    border-radius: 0px;
    border-bottom: 1px solid #000;
    padding-left: 0px;
    height: 35px;
}
.navTop .navTopInner .search .form-control::placeholder {
    color: #ccc;
    font-size: 14px;
}
.navTop .navTopInner .btn.btn-menu{
    width: 50px;
    padding: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0px;
}
.navTop .navTopInner .btn.btn-menu i{
    margin: 0px;
    font-size: 20px;
}
header .logo{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100px;
}
header .logo img{
    max-height: 80px;
}
header .navMenu ul{
    width: 100%;
    list-style-type: none;
    padding: 0px;
    margin: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
}
header .navMenu ul li a{
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px 25px;
    transition: all .3s;
    min-height: 35px;
    font-size: 14px;
}
header .navMenu ul li > a:hover{
    /*background-color: #fbeccd;*/
}
header .navMenu ul li .subMenu{
  position: absolute;
  width: 100%;
  background-color: #c79b79;
  z-index: -1;
  padding: 15px 0px;
  transition: all .5s;
  opacity: 0;
  visibility: hidden;
  top: 50px;
  border-radius: 15px;
  min-width: 120px;
  left: 50%;
  transform: translateX(-50%);
}
header .navMenu ul li .subMenu a{
    padding: 5px 10px;
    font-size: 14px;
}
header .navMenu ul li .subMenu a{
    color: #fff;
}
header .navMenu ul li:hover .subMenu{
    top: 35px;
    opacity: 1;
    visibility: visible;
    z-index: 1;
}
header .navMenu ul li:hover .subMenu a:hover{
    background-color: #fbeccd;
    color: #c79b79;
}
main{
    width: 100%;
    margin-top: 200px;
    min-height: 200px;
}
.error404{
    width: 100%;
    height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: #838689;
}
.error404 i{
    font-size: 5em;
    border: 5px solid;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}
.error404 p{
    margin-bottom: 5px;
}
.menu-mask{
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0,0,0,0.5);
    /*backdrop-filter: blur(10px);*/
    z-index: -1;
    opacity: 0;
    visibility: hidden;
}
.menu-mask.open{
    z-index: 9998;
    opacity: 1;
    visibility: visible;
}
.menu-fixed{
    position: fixed;
    top: 0px;
    width: 300px;
    height: 100vh;
    height: 100svh;
    z-index: -1;
    background-color: #fff;
    padding: 30px;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.3);
    left: -320px;
    visibility: hidden;
    opacity: 0;
    transition: all .5s;
}
.menu-fixed.open{
    z-index: 99999;
    left: 0px;
    visibility: visible;
    opacity: 1;
}
.menu-fixed .btn-close{
    margin-bottom: 30px;
    background-color: #fff;
    font-size: 18px;
}
.menu-fixed ul{
    list-style-type: none;
    padding: 0px;
    margin: 0px;
    width: 100%;
    height: 100%;
    overflow-y: auto;
}
.menu-fixed ul > li > a{
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    font-weight: bold;
    color: #c79b79;
    background-color: #fff;
    padding: 7px 15px;
    margin-bottom: 10px;
    /*border-radius: 20px;*/
    border: 1px solid transparent;
    transition: all .5s;
}
.menu-fixed ul > li > a i{
    font-size: 12px;
}

.menu-fixed ul > li .subMenu{
    margin-left: 25px;
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-bottom: 15px;
}
.menu-fixed ul > li .subMenu a{
    padding: 5px;
    font-size: 14px;
}
section.prod{
    margin: 40px 0px;
}
/* 商品區以 Grid 管理留白；分類頁預設間距 24px、圓角 12px，首頁沿用區塊設定。 */
.boxs > .container-fluid.product-container{
    padding-inline: clamp(16px, 4vw, 60px);
}
.boxs .box.box-products{
    padding: 24px 0;
}
.box-products .box-title,
section.prod .title{
    gap: 16px;
    margin-bottom: 24px;
}
.prodBanner{
    margin-bottom: 28px;
    overflow: hidden;
    border-radius: var(--product-radius, 12px);
}
.prodBanner img{
    display: block;
    width: 100%;
    height: auto;
}

.box-title,
section.prod .title{
    display: flex;
    align-items: end;
    justify-content: space-between;
    width: 100%;
}
.box-title h4,
section.prod .title h1,
section.prod .title h4{
    font-size: 20px;
    color: #333;
}
/* 分類頁標題為 h1，沿用原 h4 的字重、行高與間距 */
section.prod .title h1{
    font-weight: 500;
    line-height: 1.2;
    margin-top: 0;
    margin-bottom: .5rem;
}
.box-title ul,
section.prod .title ul{
    list-style-type: none;
    padding: 0px;
    margin: 0px;
    display: flex;
    align-items: center;
    justify-content: end;
    font-size: 14px;
    color: #666;
}
.box-title li,
section.prod .title li{
    /*margin-left: 15px;*/
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 20px;
}
section.prod .title li:before{
    content: '|';
    padding: 0px 10px;
}
section.prod .title li:nth-child(1):before{
    content: '';
    padding: 0px;
}
.box-title li a,
section.prod .title li a{
    /*border-bottom: 1px solid #000;*/
    display: flex;
    align-items: center;
    line-height: 20px;
}
.box-title li a i,
section.prod .title li a i{
    margin-left: 5px;
}
.prods{
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--product-gap, 24px);
    margin: 0;
}
.prods .prodBox{
    display: flex;
    flex-direction: column;
    min-width: 0;
    cursor: pointer;
    border-radius: var(--product-radius, 12px);
}
.prods .prodBox:focus-visible{
    outline: 2px solid #333;
    outline-offset: 4px;
}
.prods .prodBox:active{
    opacity: .8;
}
.prods .prodBox .photo{
    flex-shrink: 0;
    width: 100%;
    aspect-ratio: 1;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-color: #eee;
    border-radius: var(--product-radius, 12px);
    transition: opacity .2s;
}
.prods .prodBox:hover .photo{
    opacity: .92;
}
.prods .prodBox .content{
    display: flex;
    flex-direction: column;
    flex: 1;
    font-size: 14px;
    padding: 14px 0 20px;
}
.prods .prodBox .content .prodName{
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-height: 1.6;
    overflow: hidden;
    overflow-wrap: anywhere;
}
.prods .prodBox .content .price{
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 8px;
    color: #0E2430;
    font-family: 'AR One Sans', sans-serif;
    line-height: 1.5;
    margin-top: auto;
    padding-top: 8px;
}
.prods .prodBox .content .price.red{
    color: #ba4747;
}

.prods .prodBox .content .price span{
    color: #666;
    font-size: 12px;
    white-space: nowrap;
    text-decoration: line-through;
}
.pageNav .page{
    list-style-type: none;
    padding: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.pageNav .page li{
    cursor: pointer;
    width: 28px;
    height: 28px;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
    margin: 0px 5px;
    background-color: #eee;
    transition: all .5s;
}
.pageNav .page li:hover,
.pageNav .page li.active{
    background-color: #000;
    color: #fff;
}
.prodContent{
    width: 100%;
    background-color: #fff;
    margin-top: 30px;
    border-radius: 15px;
    margin-bottom: 50px;
}
.prodContent .photo{
    display: flex;
    align-items: center;
    justify-content: center;
}
.prodContent .photo img{
    max-width: 100%;
    height: auto;
    width: 100%;
}
.prodDetail{
    display: flex;
    justify-content: space-between;
}
.prodDetail .prod-info{
    width: 50%;
    flex-shrink: 0;
    background-color: #fff;
    border-radius: 15px;
    padding-left: 50px;
    padding: 30px;
    margin-left: 15px;
}
.prodDetail .prod-info h1.prodName{
    font-size: 26px;
    margin-bottom: 15px;
    color: #000;
}
.prodDetail .prod-info .description{
    margin: 30px 0px;
    color: #333;
    border-left: 3px solid #fbeccd;
    padding-left: 10px;
    font-size: 14px;
}
.prodDetail .prod-photo{
    width: 50%;
}
.prodDetail .prod-photo .photo{
    width: 100%;
    padding-top: 100%;
    border-radius: 15px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}
.prodDetail .prod-info .price{
    font-size: 24px;
    font-family: 'AR One Sans', sans-serif;
    font-weight: bold;
    color: #ED6464;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}
.prodDetail .prod-info .price .old{
    font-size: 16px;
    font-weight: initial;
    text-decoration: line-through;
    color: #999;
    margin-left: 15px;
}
.prodDetail .chooseBox{
    margin-bottom: 15px;
}
.prodDetail .chooseBox p{
    font-size: 14px;
    margin: 0px;
    margin-bottom: 5px;
    color: #999;
}
.prodDetail .chooseBox .form-control{
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 10px;
    height: 40px;
    font-size: 14px;
}
.prodDetail .chooseBox .numBox{
    display: flex;
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 10px;
    height: 40px;
    overflow: hidden;
    width: 150px;
}
.prodDetail .chooseBox .numBox .btn{
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
}
.prodDetail .chooseBox .numBox .form-control{
    border: none;
    text-align: center;
}
.prodDetail .prod-info .btns{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 30px;
}
.prodDetail .prod-info .btns .btn{
    width: calc(50% - 5px);
    height: 45px;
    background-color: #c79b79;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #c79b79;
    font-size: 14px;
    transition: all .5s;
}
.prodDetail .prod-info .btns .btn:hover{
    box-shadow: 2px 2px 2px rgba(0,0,0,0.2);
}
.prodDetail .prod-info .btns .btn i{
    margin-right: 5px;
}
.prodDetail .prod-info .btns .btn.btn-checkout{
    background-color: #fff;
    color: #c79b79;
}
.prodDetail .prod-info .specBox .specs{
    display: flex;
    flex-wrap: wrap;
}
.prodDetail .prod-info .specBox .btn{
    font-size: 14px;
    border: 1px solid #c79b79;
    color: #c79b79;
    height: 40px;
    padding: 5px 20px;
    border-radius: 10px;
    margin-right: 5px;
    margin-bottom: 5px;
}
.prodDetail .prod-info .specBox .btn.active{
    background-color: #c79b79;
    color: #fff;
}
.prodDetail .share a{
    font-size: 36px;
    margin-right: 5px;
}
.prodDetail .share a.fb{
    color: #337ab7;
}
.prodDetail .share a.line{
    color: #7ad61a;
}
.prodDetail{
    overflow-x: hidden;
}
@media(max-width: 1024px){
    .prods{
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    header .logo{
        height: 100px;
    }
    header{
        height: 200px;
    }
    main{
        margin-top: 200px;
    }
}
@media(max-width: 820px){
    .prodDetail .prod-info{
        width: 60%;
    }
    .prodDetail .prod-photo{
        width: 40%;
    }
    .prodDetail .prod-info{
        padding: 25px;
    }
    .prodDetail .prod-photo .swiper-slide{
        width: calc(100% / 2 - 10px);
        border-radius: 15px;
    }
    .prodDetail .prod-photo .swiper-slide > div{
        border-radius: 10px;
    }
    .prodContent{
        padding: 25px;
    }
}
@media(max-width: 820px){
    header{
        height: 110px;
    }
    main{
        margin-top: 110px;
    }
    .navTop{
        height: 40px;
    }
    header .logo{
        height: 70px;
    }
    header .logo img{
        max-height: 90%;
        max-width: 70%;
    }
    .navMenu{
        display: none;
    }
    .navTop .navTopInner .btn{
        padding: 0px 5px;
        font-size: 13px;
    }
    .navTop .navTopInner .search{
        display: none;
    }
    section.prod .title h1,
    section.prod .title h4{
        font-size: 18px;
        margin: 0px;
    }
    section.prod .title ul li{
        font-size: 12px;
    }
    .prods.slide{
        grid-template-columns: none;
        grid-auto-flow: column;
        grid-auto-columns: 42%;
        overflow-x: auto;
        scroll-snap-type: x proximity;
        padding-bottom: 8px;
    }
    .prods.slide .prodBox{
        scroll-snap-align: start;
    }
    .blockUI.blockMsg{
        max-width: calc(100% - 30px);
        padding: 56px 24px 22px !important;
    }
    .prodDetail{
        flex-direction: column;
    }
    .prodDetail .prod-info{
        width: 100%;
        order: 2;
        margin-left: 0px;
        margin-top: 15px;
    }
    .prodDetail .prod-photo{
        width: 100%;
        padding: 0px;
        order: 1;
    }
    .prodDetail .prod-photo .swiper-slide{
        width: calc(100% / 3 - 10px);
    }
    .prodDetail .specs .btn{
        height: auto;
        min-height: 45px;
        padding: 5px 15px;
    }
    .prodDetail .specs .btn span:nth-child(1){
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: start;
        text-align: left;
    }
    .prodDetail .specs .btn span.price{
        font-size: 14px;
        flex-shrink: 0;
    }
    .prodContent{
        padding: 10px;
        margin-top: 15px;
    }
    .miniWindow{
        position: fixed;
        left: 0px;
        width: 100vw;
        padding: 15px;
        background-color: #fff;
        border-top-left-radius: 10px;
        border-top-right-radius: 10px;
        box-shadow: 0px -2px 5px #000;
        transition: all .5s;
        opacity: 0;
        bottom: -100vh;
        z-index: -1;
        visibility: hidden;
    }
    .miniWindow.open{
        opacity: 1;
        bottom: 0px;
        z-index: 100010000;
        visibility: visible;
    }
    .miniWindowMask{
        position: fixed;
        left: 0px;
        top: 0px;
        z-index: 1000;
        width: 100vw;
        height: 100vh;
        background-color: rgba(0,0,0,0.7);
        display: none;
    }
    .miniWindowMask.open{
        display: block;
    }
    .miniWindow .topBox{
        display: flex;
        align-items: end;
        border-bottom: 1px solid #ccc;
        padding-bottom: 5px;
        margin-bottom: 15px;
    }
    .miniWindow .topBox i.fa-xmark{
        cursor: pointer;
        position: absolute;
        right: 0px;
        top: 0px;
        color: #999;
    }
    .miniWindow .topBox .photo{
        width: 100px;
        height: 100px;
        border-radius: 15px;
        background-size: cover;
        background-position: center;
        margin-top: -40px;
        border: 1px solid #ccc;
        margin-right: 15px;
    }
    .miniWindow .specBox{
        display: flex;
        flex-wrap: wrap;
        max-height: 45vh;
        overflow-y: auto;
    }
    .miniWindow .specBox p{
        width: 100%;
        font-size: 14px;
        margin-bottom: 5px;
    }
    .miniWindow .specBox .btn{
        border: 1px solid;
        margin-right: 5px;
        margin-bottom: 5px;
        border-radius: 0px;
        font-size: 14px;
        background-color: #fff;
        color: #000;
        padding: 10px 15px;
        border-radius: 15px;
        min-width: calc((100% / 3) - 10px);
        text-align: left;
    }
    .miniWindow .specBox .btn.active{
        background-color: #000;
        color: #fff;
    }
    .miniWindow .specBox .btn span.price{
        margin-left: 15px;
    }
    .miniWindow .priceBox{
        margin: 15px 0px;
        border-top: 1px solid #eee;
        border-bottom: 1px solid #eee;
        padding: 15px 0px;
    }
    .miniWindow .btnAddCart{
        width: 100%;
        background-color: #c79b79;
        color: #fff;
        border-radius: 15px;
        height: 50px;
        margin-top: 15px;
    }
    .prodDetail .priceBox {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin: 15px 0px;
        border-top: 1px solid #eee;
        border-bottom: 1px solid #eee;
        padding: 15px 0px;
    }
    .prodDetail .priceBox .price {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        margin: 0px;
    }
    .prodDetail .priceBox .price del {
         color: #ccc; 
        margin-right: 15px;
        margin-top: 5px;
        font-size: 20px;
    }
    .prodDetail .fixBtn{
        position: fixed;
        left: 0px;
        bottom: 0px;
        z-index: 100;
        width: 100vw;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    .prodDetail .fixBtn .btn{
        width: 50%;
        background-color: #c79b79;
        color: #fff;
        border-radius: 0px;
        height: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .prodDetail .fixBtn .btn i{
        margin-right: 5px;
    }
    .prodDetail .fixBtn .btn.btn-checkOut{
        background-color: #FF7474;
        color: #fff;
    }
    .miniWindow .specBox .form-control{
        font-size: 14px;
        border-radius: 10px;
        height: 40px;
    }
}
@media(max-width: 767px){
    section.prod{
        margin: 28px 0;
    }
    .boxs .box.box-products{
        padding: 20px 0;
    }
    .box-products .box-title,
    section.prod .title{
        align-items: baseline;
        flex-wrap: wrap;
        gap: 8px 16px;
        margin-bottom: 20px;
    }
    .prodBanner{
        margin-bottom: 20px;
    }
    .prods{
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: var(--product-gap, 12px);
    }
    .prods .prodBox .content{
        padding: 12px 0 16px;
    }
}
@media(prefers-reduced-motion: reduce){
    .prods .prodBox .photo{
        transition: none;
    }
}
@media(max-width: 640px){
    .hide-phone{
        display: none !important;
    }
    .hide-web{
        display: block;
    }    
}

/* 商城選單：導覽顯示寬度（滿版）與對齊 */
header .container-fluid.navFull{
    padding-left: 0px;
    padding-right: 0px;
}
header .navFull .navMenu ul{
    padding: 0px 15px;
}
header .navMenu ul.navAlign-left{
    justify-content: flex-start;
}
header .navMenu ul.navAlign-center{
    justify-content: center;
}
header .navMenu ul.navAlign-right{
    justify-content: flex-end;
}

/* 商城選單：Logo 排列與自訂導覽色彩 */
header .navMenu{
    background-color: var(--store-nav-background, #f9f9f9);
}
header.navLayout-stacked .navMenu{
    position: relative;
    z-index: 0;
}
header.navLayout-stacked .navMenu::before{
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 100vw;
    transform: translateX(-50%);
    background-color: var(--store-nav-background, #f9f9f9);
    z-index: -1;
}
header .navMenu ul li > a{
    color: var(--store-nav-text, #333333);
}
header .navMenu ul li > a:hover{
    color: var(--store-nav-text, #333333);
    opacity: .72;
}
header .navMenu ul li .subMenu{
    background-color: var(--store-nav-submenu-background, #c79b79);
}
header .navMenu ul li .subMenu a,
header .navMenu ul li:hover .subMenu a:hover{
    color: var(--store-nav-submenu-text, #ffffff);
}
header .navMenu ul li:hover .subMenu a:hover{
    background-color: rgba(255,255,255,.16);
}
.menu-fixed{
    background-color: var(--store-nav-background, #ffffff);
}
.menu-fixed .btn-close,
.menu-fixed ul > li > a{
    color: var(--store-nav-text, #c79b79);
    background-color: transparent;
}
.menu-fixed ul > li .subMenu{
    margin-left: 15px;
    padding: 8px 10px;
    width: calc(100% - 15px);
    border-radius: 10px;
    background-color: var(--store-nav-submenu-background, #c79b79);
}
.menu-fixed ul > li .subMenu a{
    color: var(--store-nav-submenu-text, #ffffff);
}
@media(min-width:821px){
    header.navLayout-inline{
        height: 140px;
        background-color: var(--store-nav-background, #f9f9f9);
    }
    header.navLayout-inline ~ main{
        margin-top: 140px;
    }
    header.navLayout-inline .navShell{
        display: flex;
        align-items: stretch;
        height: 100px;
        background-color: var(--store-nav-background, #f9f9f9);
    }
    header.navLayout-inline .logo{
        width: 190px;
        height: 100px;
        flex: 0 0 190px;
        justify-content: flex-start;
        padding: 10px 20px;
    }
    header.navLayout-inline .logo img{
        max-width: 100%;
        max-height: 80px;
    }
    header.navLayout-inline .navMenu{
        display: flex;
        align-items: center;
        flex: 1;
        min-width: 0;
        background-color: transparent;
    }
    header.navLayout-inline .navShell:not(.navFull) .navMenu ul{
        justify-content: flex-end;
    }
}
@media(min-width:821px) and (max-width:1024px){
    header.navLayout-inline .logo{
        width: 150px;
        flex-basis: 150px;
        padding-left: 10px;
        padding-right: 10px;
    }
    header.navLayout-inline .navMenu ul li a{
        padding-left: 12px;
        padding-right: 12px;
    }
}

/* 商城選單內容頁（輸入內容 / 自訂HTML） */
.navPage{
    padding-bottom: 50px;
}
.navPage .navPageTitle{
    font-size: 28px;
    font-weight: 700;
    margin: 20px 0px;
}
.navPage .navPageContent{
    line-height: 1.8;
}
.navPage .navPageContent img{
    max-width: 100%;
    height: auto;
}
.navPage .navPageFrame{
    width: 100%;
    border: none;
    min-height: 160px;
    margin-top: 20px;
}

/* 內頁返回上一頁按鈕 */
.backBar{
    margin: 15px 0px;
}
.backBar .btn-goBack{
    display: inline-block;
    padding: 6px 18px 6px 14px;
    border-radius: 20px;
    background-color: #fff;
    border: 1px solid #ddd;
    color: #333;
    font-size: 14px;
    text-decoration: none;
    transition: 0.2s;
}
.backBar .btn-goBack i{
    margin-right: 6px;
}
.backBar .btn-goBack:hover{
    background-color: #f5f5f5;
    color: #000;
    text-decoration: none;
}

/* 商品頁內容間距與響應式雙欄排版 */
.productDetailPage{
    padding-top: 24px;
}
.productDetailPage .prodDetail{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 15px;
    overflow: visible;
}
.productDetailPage .prod-photo{
    width: 100%;
    min-width: 0;
}
.productDetailPage .prod-info{
    width: 100%;
    min-width: 0;
    margin-left: 0;
}
@media(max-width: 820px){
    .productDetailPage{
        padding-top: 16px;
    }
    .productDetailPage .prodDetail{
        grid-template-columns: minmax(0, 1fr);
    }
}
