* {
    box-sizing: border-box;
}

input[readonly] {
    background-color: #e9ecef;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

form {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

ul.reset {
    margin-bottom: 0;
    padding-left: 0;
    list-style: none;
}

.header-desktop ul,
.header-mobile ul {
    margin-bottom: 0;
    padding-left: 0;
    list-style: none;
}

.form-group {
    margin-bottom: 1rem;
}

.flex-horizontal {
    display: flex;
    align-items: center;
}

.flex-horizontal label {
    flex: 0 0 100px;
}

.fs-s {
    font-size: 14px;
}

.wrapper-sm .container {
    padding: 0 100px;
}

.desktop-only {
    display: block;
}
  
.mobile-only {
    display: none;
}

@media (max-width: 991.98px) {
    .wrapper-sm .container {
        padding: 0 15px;
    }

    .desktop-only {
        display: none;
    }

    .mobile-only {
        display: block;
    }
}

.content-text-gray,
.content-text-gray * {
    color: #737474;
}

.section-title {
    margin-bottom: 15px;
    line-height: 1.5;
    letter-spacing: 2px;
    font-size: 22px;
}

.section-title-underline::after {
    content: '';
    display: block;
    width: 30%;
    height: 1px;
    background: #737474;
}

.section-title span {
    padding: 0 8px;
}

.subtitle-underline {
    margin-bottom: 15px;
    letter-spacing: 0.5px;
    font-size: 18px;
}

.subtitle-underline span {
    position: relative;
    padding-bottom: 2px;
}

.subtitle-underline span::after {
    content: "";
    position: absolute;
    height: 1.5px;
    left: -2px;
    right: -2px;
    bottom: 0;
    background: #737474;
}

.collapse-title {
    cursor: pointer;
}

.collapse-title + div {
    display: none;
}

.collapse-title span {
    position: relative;
    width: 30%;
    display: inline-block;
}

.collapse-title span::after {
    content: '▾';
    font-family: "Font Awesome 6 Free";
    font-weight: bold;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
}

.collapse-title.close span::after {
    transform: translateY(-50%) rotate(180deg);
}

@media (max-width: 991.98px) {
    .section-title::after {
        width: 50%;
    }

    .collapse-title span {
        width: 50%;
    }
}

@media (max-width: 767.98px) {
    .section-title::after {
        width: 70%;
    }

    .collapse-title span {
        width: 70%;
    }
}

.addr {
    margin-bottom: 8px;
    display: flex;
    column-gap: 8px;
}

.addr > * {
    width: 150px;
}

@media (max-width: 991.98px) {
    .addr > * {
        width: 100%;
    }
}

.tab-view .tab-body > *:not(:first-child) {
    display: none;
}

/* --------------------編輯器樣式-------------------- */
.editor p {
    margin-bottom: 5px;
}

.editor img {
    margin: 5px auto;
    max-width: 100%;
    display: block;
}

.editor tbody,
.editor td,
.editor tfoot,
.editor th, 
.editor thead,
.editor tr {
    border-color: #dddddd;
    border-width: 1px;
}

/* --------------------按鈕-------------------- */
.custom-btn-sm {
    max-width: 90px;
    width: 100%;
    padding: 7px 0;
    display: inline-block;
    text-align: center;
}

.custom-btn-lg {
    max-width: 150px;
    width: 100%;
    padding: 10px 0;
    display: inline-block;
    text-align: center;
}

.custom-btn-lg.radius {
    border-radius: 30px;
}

@media (max-width: 991.98px) { 
    .custom-btn-lg {
        max-width: 120px;
        font-size: 14px;
    }
}

.btn-outline-gray {
    border: 1px solid #dddddd;
    border-radius: 0;
    color: #000000;
    background: #ffffff;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

.btn-black {
    border: 1px solid #333333;
    border-radius: 0;
    color: #ffffff;
    background: #333333;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

.btn-black-block {
    width: 100%;
    border: 1px solid #333333;
    color: #ffffff;
    background: #333333;
    letter-spacing: 1.5px;
    transition: all 0.3s ease-in-out;
}

.btn-green-block {
    width: 100%;
    border: 1px solid #00B900;
    color: #ffffff;
    background: #00B900;
    letter-spacing: 1.5px;
    transition: all 0.3s ease-in-out;
}

.btn-blue-block {
    width: 100%;
    border: 1px solid #4267b2;
    color: #ffffff;
    background: #4267b2;
    letter-spacing: 1.5px;
    transition: all 0.3s ease-in-out;
}

.btn-milktea {
    width: 100%;
    padding: 8px 15px;
    border: 1px solid #9A6852;
    border-radius: 28px;
    letter-spacing: 2px;
    text-align: center;
    background-color: #9A6852;
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    transition: all 0.3s ease-in-out;
}

.btn-milktea-light {
    width: 100%;
    padding: 8px 15px;
    border: 1px solid #DABEA7;
    border-radius: 28px;
    letter-spacing: 2px;
    text-align: center;
    background-color: #DABEA7;
    color: #515151;
    font-size: 14px;
    font-weight: bold;
    transition: all 0.3s ease-in-out;
}

@media (min-width: 992px) {
    .btn-outline-gray:hover {
        background-color: #f2f2f2;
        color: #961923;
    }

    .btn-black:hover,
    .btn-black-block:hover {
        border: 1px solid #333333;
        background: #fff;
        color: #333333;
    }

    .btn-green-block:hover {
        border: 1px solid #00B900;
        background: #fff;
        color: #00B900;
    }

    .btn-blue-block:hover {
        border: 1px solid #4267b2;
        color: #4267b2;
        background: #fff;
    }

    .btn-milktea:hover {
        color: #9A6852;
        background-color: #fff;
    }

    .btn-milktea-light:hover {
        background-color: #fff;
    }
}

.btn-group-center {
    margin-top: 30px;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    column-gap: 15px;
}

/* --------------------表單樣式-------------------- */
.form-font {
    margin-bottom: 15px;
    line-height: 1;
    font-size: 14px;
    font-weight: 500;
    color: #333333;
}

.form-control-underline {
    display: block;
    padding: 8px;
    width: 100%;
    border: 0;
    outline: 0;
    border-bottom: 1px solid #dddddd;
    border-radius: 0;
    background-color: transparent;
    font-size: 13px;
}

.form-select-underline {
    display: block;
    padding: 8px;
    width: 100%;
    border: 0;
    outline: 0;
    border-bottom: 1px solid #dddddd;
    border-radius: 0;
    font-size: 13px;
    color: #504F51;
    appearance: none; /* 移除系統預設的箭頭樣式 */
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url(../images/arrow_icon.png);
    background-color: transparent;
    background-repeat: no-repeat;
    background-position: right .2rem center;
    background-size: 11px 11px;
}

.mobile-block {
    display: flex;
    column-gap: .5rem;
}

.mobile-block select {
    width: 6rem;
    flex-shrink: 0;
}

/* 單選 */
.custom.form-check-input {
    border-color: #000;
}

/* selectpicker */
.bootstrap-select.custom > .dropdown-toggle {
    border-color: #dddddd;
    background: #fff;
}

.bootstrap-select.custom > .dropdown-toggle,
.bootstrap-select.custom > .dropdown-toggle:active,
.bootstrap-select.custom .dropdown-toggle:focus {
    outline: none !important;
}

.bootstrap-select.custom .dropdown-toggle .filter-option,
.bootstrap-select.custom .dropdown-menu.inner,
.bootstrap-select.custom .dropdown-header {
    font-size: 14px;
}

/* selectpicker */
.bootstrap-select.custom-edges > .dropdown-toggle {
    padding: 0;
    border-radius: 0;
    border-color: #000;
    background: #fff;
}

.bootstrap-select.custom-edges > .dropdown-toggle:active,
.bootstrap-select.custom-edges > .dropdown-toggle:focus {
    outline: none !important;
    background: #fff;
}

.bootstrap-select.custom-edges > .dropdown-toggle:after {
    content: "▼";
    margin: 0;
    padding: 4px 0.375rem 0.375rem;
    border: none;
    border-left: 1px solid #000;
    font-size: 20px;
}

.bootstrap-select.custom-edges .dropdown-toggle .filter-option {
    padding: .375rem;
    text-align: center;
}

.bootstrap-select.custom-edges .dropdown-menu {
    padding: 0.375rem 0;
    border-radius: 0;
    border-color: #000;
}

/* --------------------麵包屑-------------------- */
.custom.breadcrumb {
    margin-bottom: 0;
}

.custom.breadcrumb a {
    color: #000000;
    text-decoration: none;
}

/* --------------------搜尋框-------------------- */
.search-block {
    margin-bottom: 10px;
    position: relative;
}

.search-block button {
    padding: 0;
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    background: #fff;
    border: none;
    outline: none;
}

/* --------------------首頁-------------------- */

/* 首頁輪播 */
.banner img {
    width: 100%;
}

/* 蓋版廣告_Start */
.overlay-ad {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    display: none;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 99;
}

.overlay-ad-content {
    width: 80%;
    max-width: 438px;
    position: relative;
}

.overlay-ad-img {
    margin: 0 auto;
    display: block;
    max-width: 100%;
    height: auto;
}

.overlay-ad-close-btn {
    position: absolute;
    top: -42px;
    right: -42px;
    width: 42px;
    height: 42px;
    border: 1px solid #FFF;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    color: #fff;
}

.overlay-ad-close-btn .close-text {
    font-size: 12px;
}

.overlay-ad-close-btn #countdown {
    font-size: 14px;
}

@media (max-width: 575.98px) {
    .overlay-ad-content {
        max-width: 280px;
    }
}
/* 蓋版廣告_End */


/* 底部隱私權提示_Start */
.privacy-card {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #fff;
    box-shadow: 0 0 6px 3px rgba(0, 0, 0, .4);
    opacity: .9;
    z-index: 99;
}

.privacy-body {
    padding: .5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.privacy-content {
    text-align: center;
    color: #444443;
    font-size: 14px;
}
/* 底部隱私權提示_End */


/* --------------------註冊、登入-------------------- */
.account-outline {
    padding: 15px 25px;
    border: 1px solid #c3c3c3;
}

.captcha,
.btn-send-otp {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
}

.separator {
    margin: 30px 0;
    text-align: center;
    line-height: 1;
    font-size: 14px;
    color: #333333;
}

.separator span {
    position: relative;
    display: block;
    color: #504F51;
}

.separator span::before,
.separator span::after {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 8%;
    height: 1px;
    background: #aaa;
}

.separator span::before {
    left: 28%;
}

.separator span::after {
    right: 28%;
}

.icon-pos {
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
    font-size: 1.5rem;
}

/* --------------------左邊選單-------------------- */
.custom.card {
    height: 100%;
    border: 0;
}

.custom.card .card-header {
    border-bottom: 0;
    border-radius: 0.5rem 0.5rem 0 0;
    background: #f5f5f5;
    text-align: center;
    color: #4C4C4C;
    font-weight: bold;
}

.custom.card .card-body {
    padding: 10px;
    border: 1px solid #c3c3c3;
    border-radius: 0 0 0.5rem 0.5rem;
}

.custom.card .menu-content {
    margin-bottom: 0;
    padding-left: 0;
    list-style-type: none;
}

.custom.card .menu-content a {
    display: block;
    padding: 15px;
    font-weight: 400;
    color: #444444;
    text-decoration: none;
    text-align: center;
}

.custom.card .menu-content li.active a {
    background-color: #E5E5E5;
}

.member-menu-title {
    margin-bottom: 10px;
    padding: 8px;
    border-radius: 3px;
    background-color: #f5f5f5;
    color: #4C4C4C;
}

@media (min-width: 992px) {
    .custom.card .menu-content li:hover a {
        font-weight: bold;
        color: #961923;
    }
}

@media (max-width: 991.98px) {
    .member-menu .card-body {
        display: none;
    }
}

/* --------------------共用-------------------- */

/* 分類tags */
.topic-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.topic-tags-light a {
    padding: 2px 10px;
    border: 1px solid #A27E6C;
    border-radius: 28px;
    text-decoration: none;
    color: #A27E6C;
    background-color: #fff;
    font-size: 12px;
    transition: all 0.3s ease-in-out;
}

.topic-tags-light a.active {
    background-color: #A27E6C;
    color: #fff;
}

@media (min-width: 992px) {
    .topic-tags-light a:hover {
        color: #fff;
        background-color: #A27E6C;
    }
}

/* --------------------產品列表(共用區塊)-------------------- */
.img-rectangle, .img-square {
    position: relative;
    overflow: hidden;
}

.img-rectangle img,
.img-square img {
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    object-fit: cover;
    transition: all 0.3s ease-in-out;
}

/* 長方形圖片 */
.img-rectangle {
    padding-bottom: 150%;
}

/* 正方形圖片 */
.img-square {
    padding-bottom: 100%;
}

/* --------------------產品列表-------------------- */

/* 商品左上標籤 */
.prod-badge {
    padding: 8px;
    position: absolute;
    top: 0;
    left: 0;
    font-weight: bold;
    background-color: #c32222;
    color: #fff;
}

.prod {
    display: block;
    position: relative;
    text-decoration: none;
}

@media (min-width: 992px) {
    .prod:hover .img-rectangle img,
    .prod:hover .img-square img {
        transform: scale(1.3,1.3);
    }
}

.prod-desc {
    margin: 8px 3px;
    letter-spacing: 2px;
    font-size: 16px;
    font-weight: bold;
    font-family: "KeepCalm";
    color: #757575;
}

.prod-desc .title,
.prod-desc .size,
.prod-desc .price {
    margin-bottom: 10px;
    line-height: 1;
}

.prod-desc .price del {
    margin-right: 5px;
    color: #BDBBB8;
}

.prod-desc .price .original-price {
    margin-right: 10px;
    color: red;
    text-decoration: line-through;
}

.prod-desc-fadeIn {
    margin: 0;
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: rgba(255,255,255,0.7);
    transition: all 0.5s;
    opacity: 0;
}

.prod-desc-fadeIn .title {
    margin-bottom: 18px;
    text-align: center;
    font-size: 18px;
}

.prod-desc-fadeIn .size {
    margin-bottom: 18px;
    text-align: center;
}

.prod-desc-fadeIn .size span {
    display: inline-block;
    margin: 5px;
    padding: 5px;
    font-size: 17px;
    border: 1px solid #fff;
}

.prod-desc-fadeIn .price {
    font-size: 20px;
}

@media (min-width: 992px) {
    .prod:hover .prod-desc-fadeIn {
        opacity: 1;
    }
}

@media (max-width: 991.98px) {
    .prod-desc-fadeIn {
        margin: 8px 3px;
        display: block;
        position: static;
        opacity: 1;
        background-color: #fff;
    }

    .prod-desc-fadeIn .title {
        margin-bottom: 7px;
        text-align: start;
        font-size: 15px;
    }

    .prod-desc-fadeIn .size {
        margin-bottom: 7px;
        text-align: start;
    }

    .prod-desc-fadeIn .size span {
        display: inline-block;
        margin: 0 3px 0 0;
        padding: 0;
        font-size: 15px;
        border: none;
    }

    .prod-desc-fadeIn .price {
        font-size: 15px;
    }
}

/* --------------------產品內頁-------------------- */

/* 上方左邊輪播 */
/* .product-gallery {
    height: 100%;
} */

.product-cover {
    margin-bottom: 25px;
}

.product-thumbnails .multi-img {
    padding: 0 10px;
}

.product-cover .single-img a,
.product-thumbnails .multi-img .img {
    display: block;
    position: relative;
}

.product-cover .square .single-img a,
.product-thumbnails .square .multi-img .img {
    padding-bottom: 100%;
}

.product-cover .rectangle .single-img a,
.product-thumbnails .rectangle .multi-img .img {
    padding-bottom: 140%;
}

.product-cover .single-img a img,
.product-thumbnails .multi-img .img img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slick_productImgList .slick-prev,
.slick_productImgList .slick-next {
    top: 0;
    height: 100%;
    transform: translateY(0);
    background: #fff;
    z-index: 2;
}

.slick_productImgList .slick-prev {
    left: 0;
    z-index: 2;
}

.slick_productImgList .slick-next {
    right: 0;
    z-index: 2;
}

.slick_productImgList .slick-prev::before,
.slick_productImgList .slick-next::before {
    content: '';
    display: block;
    width: 10px;
    height: 10px;
    border-width: 2px;
    border-style: solid;
    border-color: #868583 #868583 transparent transparent;
    color: transparent;
    opacity: 1;
}

.slick_productImgList .slick-prev::before {
    margin-left: 2px;
    transform: rotate(-135deg);
}

.slick_productImgList .slick-next:before {
    margin-left: 5px;
    transform: rotate(45deg);
}

/* 上方右邊商品介紹 */
.product-header .title-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-header .title-info .title {
    margin: 0;
    font-size: 20px;
    font-weight: bold;
    letter-spacing: 0.5px;
}

.product-header .title-info .pre-order {
    padding: 3px 10px;
    background-color: #eee;
    font-size: 14px;
    font-weight: bold;
}

.product-header .prodNO,
.product-header .stock {
    font-size: 13px;
    color: #aaa;
}

.product-header .price-block {
    display: flex;
    column-gap: 30px;
    font-weight: bold;
    font-size: 20px;
    letter-spacing: 1px;
    color: #DD2A2A;
}

.product-header .qty-wrap {
    flex-grow: 1;
    display: flex;
    align-items: center;
}

.lbProd {
    flex-shrink: 0;
    white-space: nowrap;
    font-size: 15px;
    color: #515151;
}

.flex-horizontal .lbProd,
.flex-horizontal .action-wish {
    flex-basis: auto;
}

.prodSel {
    padding: 0 30px 0 10px;
    border: 0;
    border-bottom: 1px solid #D6D6D6;
    outline: none;
    font-size: 15px;
    color: #504F51;
    appearance: none; /* 移除系統預設的箭頭樣式 */
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url(../images/arrow_icon.png);
    background-color: #fff;
    background-repeat: no-repeat;
    background-position: right .2rem center;
    background-size: 11px 11px;
}

.prodSel-qtyInput {
    margin-left: 15px;
    width: 80px;
    padding: 0;
    border: 0;
    border-bottom: 1px solid #D6D6D6;
    outline: none;
    font-size: 15px;
    color: #504F51;
    text-align: center;
}

.prodSel-qtyInput::placeholder {
    color: #d2d2d2;
}

/* 促銷折扣 */
.product-promo {
    margin-bottom: 5px;
    padding-left: 10px;
    position: relative;
    font-size: 14px;
    color: #504F51;
}

.product-promo::before {
    content: '';
    position: absolute;
    top: 2px;
    bottom: 2px;
    left: 0;
    width: 3px;
    background: #333333;
}

.product-promo p {
    margin-bottom: 0;
}

/* 加入收藏 */
.action-wish {
    margin-left: auto;
    font-size: 14px;
    color: #47403F;
    cursor: pointer;
    transition: all 0.3s ease;
}

.action-wish input[type="checkbox"] {
    opacity: 0;
    position: absolute;
    appearance: none;
}

.action-wish svg {
    transform: translateY(-1px);
}

.action-wish input[type="checkbox"]:checked ~ svg path {
    fill: #ec0404;
    stroke-width: 0;
}

.action-wish:has(input[type="checkbox"]:checked) {
    color: #ec0404;
}

@media (min-width: 992px) {
    .action-wish:hover svg {
        transform: translateY(-1px) scale(1.1);
    }
}

.cart-btn-group {
    display: flex;
    justify-content: space-between;
    column-gap: 20px;
}

/* 商品介紹-收合版型 */
.product-details .item {
    border-bottom: 1px solid #dddddd;
}

.product-details .item:first-child {
    border-top: 1px solid #dddddd;
}

.product-details .item .title {
    padding: 12px;
    cursor: pointer;
    position: relative;
}

.product-details .item .title.open {
    padding-bottom: 5px;
}

.product-details .item .title::after {
    content: "";
    margin-top: 2px;
    display: block;
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%) rotate(-45deg);
    width: 9px;
    height: 9px;
    border-width: 2px;
    border-style: solid;
    border-color: #999 #999 transparent transparent;
}

.product-details .item .title.open::after {
    transform: translateY(-50%) rotate(135deg);
}

.product-details .item .content {
    margin-bottom: 12px;
    padding: 0 12px;
}

.product-details .item:not(:first-child) .content {
    display: none;
}

/* --------------------產品共用(愛妮版)-------------------- */
/* 輪播樣式 */
.custom-slick .slick-prev:before,
.custom-slick .slick-next:before {
    content: '';
    display: block;
    width: 10px;
    height: 10px;
    border-width: 1px;
    border-style: solid;
    border-color: #000 #000 transparent transparent;
    color: transparent;
    opacity: 1;
}

.custom-slick .slick-prev {
    left: 0;
    z-index: 1;
}

.custom-slick .slick-prev:before {
    transform: rotate(-135deg);
}

.custom-slick .slick-next {
    right: 0;
    z-index: 1;
}

.custom-slick .slick-next:before {
    transform: rotate(45deg);
}

.custom-slick .slick-dots li button::before {
    content: '';
}

.custom-slick .slick-dots li button.dot-btn {
    padding: 0;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    border: 1px solid #000;
}

.custom-slick .slick-dots li.slick-active button.dot-btn {
    background-color: #000;
}

.custom-slick-white .slick-prev:before,
.custom-slick-white .slick-next:before {
    border-color: #fff #fff transparent transparent;
}

.custom-slick-white .slick-dots li button.dot-btn {
    border-color: #fff;
}

.custom-slick-white .slick-dots li.slick-active button.dot-btn {
    background-color: #fff;
}

.custom-slick-dots .slick-dots {
    margin-left: 20px;
    margin-right: 6.21px;
    display: inline-block;
    width: auto;
    position: static;
    text-align: start;
}

.custom-slick-dots .slick-prev {
    top: calc(100% - 9px);
    left: 0;
}

.custom-slick-dots .slick-next {
    display: inline-block;
    position: static;
    transform: translateY(6px);
}

@media (min-width: 992px) {
    .custom-slick-largeArrow .slick-prev,
    .custom-slick-largeArrow .slick-next,
    .custom-slick-largeArrow .slick-prev:before,
    .custom-slick-largeArrow .slick-next:before {
        width: 40px;
        height: 40px;
    }
}

/* 標題 */
.title-link-block {
    display: flex;
    column-gap: 15px;
}

.title-link-block h4 {
    margin-bottom: 0;
}

.title-link-block .line {
    flex-grow: 1;
    position: relative;
}

.title-link-block .line::after {
    content: '';
    height: 1px;
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    background: #000;
}

.prod-v2-badge {
    display: inline-block;
    position: absolute;
    top: 0;
    left: 0;
    border-bottom: 1px solid #313131;
    letter-spacing: 2px;
    line-height: 1.2;
    font-size: 20px;
}

/* 價格 */
.prod-full-v2 .pricebox {
    display: flex;
    column-gap: 10px;
    letter-spacing: 1px;
    font-size: 15px;
}

.prod-full-v2 .pricebox .price-original.del {
    text-decoration: line-through;
    text-decoration-color: red;
}

.prod-full-v2 .pricebox .price-discount,
.prod-full-v2 .soldout {
    color: red;
}

/* 數量 */
.prod-full-v2 .qty {
    border: 1px solid #313131;
}

.prod-full-v2 .qty .qtyMinus,
.prod-full-v2 .qty .qtyPlus {
    padding: 0 12px;
}

.prod-full-v2 .qty .qtyMinus::before,
.prod-full-v2 .qty .qtyPlus::before,
.prod-full-v2 .qty .qtyPlus::after {
    width: 10px;
    height: 1px;
    background-color: #313131;
}

.prod-full-v2 .qty .qtyMinus {
    border-right: 1px solid #313131;
}

.prod-full-v2 .qty .qtyPlus {
    border-left: 1px solid #313131;
}

.prod-full-v2 .qty .qtyInput {
    width: 40px;
    height: auto;
    border: none;
}

.prod-full-v2 .btn-black {
    padding: 2px 10px;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

@media (max-width: 991.98px) {
    .prod-full-v2 .qty .qtyMinus,
    .prod-full-v2 .qty .qtyPlus {
        padding: 0 15px;
        line-height: 1.3;
    }

    .prod-full-v2 .qty .qtyInput {
        line-height: 1.3;
    }
}

/* --------------------產品列表(愛妮版)-------------------- */
/* 上方背景圖 */
.brand-bg {
    padding-top: 42.86%;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
}

.bg-text {
    color: #000;
}

.bg-text > *:not(:last-child) {
    margin-bottom: 0.5rem;
}

.bg-text > *:last-child {
    margin-bottom: 0;
}

.bg-text span {
    display: inline-block;
    background-color: #fff;
    letter-spacing: 1px;
    font-size: 22px;
    line-height: 1;
}

.brand-bg-text {
    position: absolute;
    top: 15%;
    left: 7%;
}

.brand-bg-text h5 span {
    font-size: 28px;
}

.brand-bg-text span {
    font-size: 26px;
    letter-spacing: 3px;
}

.slogan-block {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50% , -50%);
}

.slogan-bg-text {
    line-height: 0.9;
    background: #fff;
    color: #000;
    font-size: 38px;
    font-weight: 300;
}

.slogan-bg-text > * {
    display: inline-block;
}

@media (max-width: 991.98px) {
    .brand-bg {
        padding-top: 56.25%;
    }
}

@media (max-width: 767.98px) {
    .brand-bg {
        padding-top: 150%;
    }

    .brand-bg-text {
        top: 17%;
    }

    .slogan-bg-text {
        display: flex;
        flex-direction: column;
        align-items: center;
        row-gap: 0.5rem;
        background: transparent;
    }

    .slogan-bg-text > * {
        background-color: #fff;
    }
}

/* 主要內容tab */
.prod-tab .tab-head {
    margin-bottom: 30px;
    display: flex;
    border-bottom: 1px solid #c9c9c9;
    white-space: nowrap;
    overflow-y: auto;
    scrollbar-width: none;
}

.prod-tab .tab-head a {
    padding: 10px 15px;
    position: relative;
    display: block;
    color: #c9c9c9;
    text-decoration: none;
}

.prod-tab .tab-head a::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 0;
    bottom: 10px;
    width: 1px;
    background-color: #c9c9c9;
}

.prod-tab .tab-head a:last-child::after {
    content: '';
    position: absolute;
    top: 10px;
    right: 0;
    bottom: 10px;
    width: 1px;
    background-color: #c9c9c9;
}

.prod-tab .tab-head a.active {
    border-bottom: 2px solid #000;
    color: #000;
}

.prod-tab .tab-head a.active::before,
.prod-tab .tab-head a:not(:last-child).active + a::before,
.prod-tab .tab-head a.active:last-child::after {
    background-color: #000;
}

/* 主要內容-上方 */
.prod-full-header {
    margin-bottom: 50px;
    display: flex;
    justify-content: space-between;
}

.prod-full-header .left {
    font-size: 15px;
}

.prod-full-header .left p {
    margin-bottom: 0.2rem;
}

@media (max-width: 991.98px) {
    .prod-full-header {
        flex-direction: column;
        align-items: center;
        row-gap: 20px;
    }
}

/* 主要內容-產品 */
.prod-full-block {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.prod-full {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    row-gap: 5px;
}

.prod-full .desc {
    width: 70%;
    margin-bottom: 20px;
}

.prod-full .desc .action-wish {
    margin-bottom: 5px;
}

.prod-full .desc h5 {
    margin-bottom: 6px;
    font-size: 1.1rem;
    line-height: 1.3;
}

.prod-full .action {
    margin-top: auto;
}

.prod-full .action .prod-volume {
    font-size: 15px;
}

.prod-volume .form-check-input:checked {
    background-color: transparent;
    border-color: #313131;
}

.prod-volume .form-check-input:checked[type=radio] {
    background-image: url('../../images/circle.png');
    background-size: 7px;
}

.prod-volume .form-check-input:focus {
    box-shadow: 0 0 0 .25rem transparent;
}

.prod-full .action .bottom {
    margin-top: 10px;
    display: flex;
    align-items: center;
    column-gap: 10px;
}

.prod-full .action .buybox {
    flex-grow: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media (max-width: 1199.98px) {
    .prod-full .desc {
        width: 100%;
    }

    .prod-full .action .bottom {
        flex-direction: column;
        align-items: stretch;
        row-gap: 15px;
    }

    .prod-full .action .cartbox .btn-black {
        width: 100%;
    }
}

@media (max-width: 991.98px) {
    .prod-full .desc {
        width: 80%;
        margin: 0 auto 20px auto;
    }

    .prod-full .action {
        width: 80%;
        margin: auto auto 0 auto;
    }

    .prod-full .action-wish {
        display: none;
    }
}

/* 排行榜 */
.ranking-wrap {
    padding: 40px 0;
    background-color: #a9aaac;
    color: #fff;
}

.ranking-wrap .title-block {
    padding-left: 20px;
}

.ranking-wrap h2 {
    letter-spacing: 1px;
}

.ranking-slick .prod-full {
    padding: 0 20px;
}

.ranking-slick .prod-ranking-badge {
    position: absolute;
}

.ranking-slick .prod-ranking-badge .top,
.ranking-slick .prod-ranking-badge .bottom {
    width: 0;
    height: 0;
    border: 20px solid #313131;
}

.ranking-slick .prod-ranking-badge .bottom {
    border-color: #313131 transparent transparent transparent;
}

.ranking-slick .prod-ranking-badge .txt {
    position: absolute;
    top: calc(50% - 15px);
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 25px;
}

.ranking-slick .action {
    text-align: end;
}

.ranking-slick .link {
    padding: 1px 3px;
    display: inline-block;
    line-height: 1;
    letter-spacing: 1px;
    color: #fff;
    background-color: #313131;
    text-decoration: none;
}

.ranking-slick .mobile-link {
    display: none;
}

.ranking-slick .slick-prev {
    left: 40px;
}

.ranking-slick .slick-next {
    right: 40px;
}

@media (max-width: 991.98px) {
    .ranking-wrap .title-block {
        padding-left: 0;
    }

    .ranking-slick .prod-full {
        position: relative;
        padding: 0 40px;
    }

    .ranking-slick .desc {
        text-align: center;
    }

    .ranking-slick .action-wish,
    .ranking-slick .action {
        display: none;
    }

    .ranking-slick .mobile-link {
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
    }
}

/* 閱覽履歷 */
.checkedList-slick .prod-full {
    position: relative;
    padding: 0 20px;
}

.checkedList-slick .link {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

@media (max-width: 991.98px) {
    .checkedList-slick .desc {
        width: 100%;
        text-align: center;
    }
}

/* 香氛版才有 */
.prod-full-v2-select {
    margin-bottom: 30px;
    text-align: end;
}

@media (max-width: 991.98px) {
    .prod-full-v2-select {
        text-align: center;
    }
}

@media (min-width: 768px) {
    .custom.container {
        max-width: 100%;
        padding-left: 0;
        padding-right: 0;
    }

    .prod-full-container .prod-full-wrap:nth-child(2n) .prod-full-v2-cate > .row {
        flex-direction: row-reverse;
    }
}

.prod-full-v2-cate {
    margin-top: 30px;
    margin-bottom: 20px;
}

.prod-full-v2-cate .cate-title-block {
    margin: 0 auto;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.prod-full-v2-cate .img {
    position: relative;
    padding-bottom: 56.25%;
}

.prod-full-v2-cate .img img {
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 767.98px) {
    .prod-full-v2-cate {
        margin-top: 20px;
    }

    .prod-full-v2-cate .cate-title-block {
        justify-content: flex-start;
        text-align: left;
    }
}

/* --------------------產品內頁(愛妮版)-------------------- */
.product-v2-gallery .title-block h3 {
    margin-bottom: 0;
}

.product-v2-gallery .wishlistbox {
    margin: 10px 0;
    display: flex;
}

.product-v2-gallery .wishlistbox .wishlist-icon {
    margin-right: 10px;
}

.product-v2-gallery .wishlistbox .wishlist-total {
    position: relative;
    padding-left: 10px;
}

.product-v2-gallery .wishlistbox .wishlist-total::before {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    top: 2px;
    bottom: 2px;
    width: 1px;
    background-color: #000;
}

.product-v2-img {
    margin: 0 auto;
    width: 80%;
}

.slick_productImg_v2.slick-dotted.slick-slider {
    margin-bottom: 26px;
}

.product-v2-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-v2-content .slogan {
    margin: 25px 0 30px 0;
    font-size: 1.5rem;
    letter-spacing: 0.1em;
}

.product-v2-info {
    display: flex;
    flex-direction: column;
    row-gap: 1rem;
    flex-grow: 1;
}

.product-v2-info .title-block {
    margin-bottom: 12px;
}

.product-v2-info .title-block h5 {
    letter-spacing: 1.5px;
}

.product-v2-info .intro-block .desc {
    margin-bottom: 5px;
    width: 70%;
}

.product-v2-info .notes-block p:not(:last-child) {
    margin-bottom: 0;
}

.product-v2-info .detail-block {
    margin-top: auto;
}

.product-v2-info .pricebox {
    margin-bottom: 20px;
}

.product-v2-info .action-block {
    margin: 15px 0;
    display: flex;
    align-items: center;
    column-gap: 20px;
}

.product-v2-info .cartbox {
    flex-grow: 1;
}

.product-v2-info .cartbox .btn-black {
    width: 100%;
}

.product-v2-info .detail-block .ship {
    font-size: 14px;
}

.policy-link-container {
    margin-top: 20px;
    display: flex;
    justify-content: flex-end;
    column-gap: 15px;
}

.policy-link-container a {
    font-size: 14px;
    color: #313131;
}

@media (max-width: 991.98px) {
    .product-v2-content {
        margin: 0 auto;
        width: 80%;
    }

    .product-v2-content .slogan {
        margin: 0 0 40px 0;
        font-size: 17px;
    }

    .product-v2-info .title-block {
        order: 1;
    }

    .product-v2-info .intro-block {
        order: 2;
    }

    .product-v2-info .notes-block {
        padding: 20px 0;
        border-top: 1px solid #313131;
        border-bottom: 1px solid #313131;
        order: 4;
    }

    .product-v2-info .detail-block {
        order: 3;
    }

    .product-v2-info .intro-block .desc {
        margin-bottom: 20px;
        width: 100%;
    }

    .product-v2-info .intro-block p:last-child,
    .product-v2-info .notes-block p {
        margin-bottom: 0;
    }

    .product-v2-info .detail-block .action-wish,
    .product-v2-info .detail-block .ship,
    .policy-link-container {
        display: none;
    }

    .product-v2-info .pricebox {
        margin-bottom: 30px;
    }

    .product-v2-info .action-block {
        flex-direction: column;
        align-items: flex-start;
        row-gap: 20px;
    }

    .product-v2-info .cartbox {
        align-self: stretch;
    }
}

/* 推薦商品 */
.suggestProd-slick .prod-full {
    position: relative;
    padding: 0 25px;
}

.suggestProd-slick .link {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.suggestProd-slick .desc {
    width: 100%;
}

@media (max-width: 991.98px) {
    .suggestProd-wrap {
        padding: 40px 20px;
        background-color: #a9aaac;
        color: #fff;
    }

    .suggestProd-wrap .title-link-block {
        flex-direction: column;
        align-items: center;
        row-gap: 5px;
    }

    .suggestProd-wrap .title-link-block h4 {
        font-size: 25px;
    }

    .suggestProd-wrap .title-link-block .line {
        display: none;
    }

    .suggestProd-wrap .slick-prev:before,
    .suggestProd-wrap .slick-next:before {
        border-color: #fff #fff transparent transparent;
    }

    .suggestProd-slick .desc {
        width: 80%;
        text-align: center;
    }

    .suggestProd-wrap .prod-full hr {
        display: none;
    }

    .suggestProd-wrap .pricebox {
        justify-content: center;
    }
}

/* --------------------表尾-------------------- */
footer {
    margin-top: auto;
    padding-top: 16px;
    box-shadow: 0 -5px 5px -5px rgba(0, 0, 0, 0.1);
}

@media (max-width: 767.98px) {
    footer {
        padding-top: 0;
    }
}

/* copyright */
.copyright {
    margin: 5px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    column-gap: 16px;
    font-size: 13px;
    color: #525252;
    white-space: nowrap;
}

.copyright p {
    margin-bottom: 0;
}

.copyright a {
    color: #525252;
    text-decoration: none;
}

.copyright-info {
    display: flex;
    flex-wrap: wrap;
}

.copyright-info > * {
    padding: 0 16px;
    position: relative;
    display: block;
    color: #525252;
}

.copyright-info > *::before {
    content: "";
    display: inline-block;
    position: absolute;
    left: 0;
    top: 3px;
    bottom: 3px;
    width: 1px;
    background: #525252;
}

@media (max-width: 991.98px) {
    .copyright {
        margin: 0;
        padding: 10px 0;
        flex-direction: column;
        row-gap: 5px;
        background-color: #333333;
        color: #fff;
        text-align: center;
    }

    .copyright-info {
        justify-content: center;
        row-gap: 3px;
    }
    
    .copyright .copyright-info > * {
        color: #fff;
    }

    .copyright-info > *::before {
        background: #fff;
    }

    .copyright-info > *:first-child::before {
        background: transparent;
    }
}

/* 固定按鈕(單獨圖片) */
.side-btn,
.contact-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 10px;
    position: fixed;
    right: 20px;
    bottom: 20px;
    margin-bottom: 0;
    padding-left: 0;
    list-style: none;
    z-index: 15;
}

.contact-icon {
    row-gap: 5px;
    left: 20px;
    right: auto;
}

.contact-icon.right {
    right: 20px;
    left: auto;
}

.contact-icon a {
    display: block;
}

.contact-icon img {
    width: 45px;
}

/* 固定按鈕(有對話框) */
.side-btn.left {
    left: 20px;
    right: auto;
}

.side-btn li {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 12px;
    background: #dbbda8;
}

.side-btn li a {
    display: block;
    font-size: 25px;
    color: #236ac7;
}

.side-btn li.go-top {
    display: none;
}

@media (min-width: 992px) {
    .side-btn li:hover a {
        opacity: 0.8;
    }
}

.side-btn .open-chat {
    position: relative;
}

.chat-content {
    display: none;
    position: absolute;
    right: 130%;
    bottom: 15px;
    border-radius: 12px;
    background: #F1F3F4;
    white-space: nowrap;
}

.side-btn.left .chat-content {
    left: 130%;
    right: auto;
}

.chat-content .top {
    padding: 16px 20px;
    border-radius: 12px 12px 0 0; 
    letter-spacing: 2px;
    font-size: 15px;
    background: #dabea7;
    color: #000;
}

.chat-content p {
    margin-bottom: 0;
}

.chat-content .middle {
    padding: 16px 20px;
}

.chat-content .middle a {
    margin-bottom: 1rem;
    padding: 8px 10px;
    display: flex;
    align-items: center;
    gap: 15px;
    border-radius: 12px;
    background: #fff;
    color: #212529;
    text-decoration: none;
    letter-spacing: 2px;
    font-size: 15px;
    font-weight: 600;
}

.chat-content .middle a:last-child {
    margin-bottom: 0;
}

@media (min-width: 992px) {
    .chat-content .middle a:hover {
        background: #fbf8f8;
    }
}

.chat-content .middle img {
    width: 40px;
}

.chat-content .bottom {
    padding: 0 20px 16px 20px;
    border-radius: 0 0 12px 12px; 
    letter-spacing: 2px;
    font-size: 14px;
    font-weight: 600;
}

@media (max-width: 991.98px) {
    .chat-content {
        right: 0;
        bottom: 120%;
    }
    
    .side-btn.left .chat-content {
        left: 0;
        right: auto;
    }
}

/* --------------------頁碼-------------------- */
.page-container {
    margin-top: auto;
    padding-top: 10px;
}

.page-nav {
    margin-bottom: 0;
    padding-left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 15px;
    list-style: none;
}

.page-nav a {
    display: inline-block;
    text-decoration: none;
    color: #2A2F24;
}

.page-nav a:not(.prev):not(.next) {
    width: 25px;
    height: 25px;
    line-height: 25px;
    border-radius: 50%;
    text-align: center;
}

.page-nav .page-item.active a {
    background-color: #E5E5E5;
    color: #fff;
}

@media (min-width: 992px) {
    .page-nav .page-item:hover a:not(.prev):not(.next) {
        background-color: #E5E5E5;
        color: #fff;
    }
}

/* 箭頭版型 */
.page-arrow {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    column-gap: 12px;
}

.page-arrow a {
    display: inline-block;
    text-decoration: none;
    color: #2A2F24;
}

.page-arrow .page-item.active a {
    color: #b60e14;
}

@media (max-width: 991.98px) {
    .page-arrow {
        column-gap: 15px;
    }
}

/* --------------------購物車第一步驟-------------------- */
.action-all {
    display: flex;
    align-items: center;
    column-gap: 16px;
    padding-bottom: 15px;
}

.action-all h6 {
    margin-bottom: 0;
    color: #333333;
    font-size: 20px;
    font-weight: bold;
}

@media (max-width: 991.98px) { 
    .action-all {
        border-bottom: 1px solid #C7C8C9;
    }
}

.cart-table .table thead tr th {
    padding: 15px .5rem;
    background: #f5f5f5;
    font-size: 14px;
    color: #333333;
    border: none;
    white-space: nowrap;
}

.cart-table .table tbody tr td {
    padding: 15px .5rem;
    vertical-align: middle;
    color: #333333;
}

.cart-table .img img {
    display: block;
    width: 100px;
    height: 100px;
    object-fit: cover;
}

.cart-prod > *:not(:last-child) {
    margin-bottom: 10px;
}

.cart-prod > *:last-child {
    margin-bottom: 0;
}

.cart-prod .prod-info {
    display: flex;
    flex-direction: column;
    row-gap: 10px;
    align-items: flex-start;
}

.cart-prod .prod-info .pre-order {
    padding: 0.25rem;
    border: 1px solid #dee2e6;
    color: rgb(220,53,69);
}

.cart-prod .prodNO {
    font-size: 12px;
    color: #A5A5A5;
}

@media (max-width: 991.98px) { 
    .cart-table .table thead tr th,
    .cart-table .table .wish {
        display: none;
    }

    .cart-table .table tbody tr {
        position: relative;
        padding: 15px 0;
        display: grid;
        grid-template-columns: 30px 120px 1fr;
        border-bottom: 1px solid #C7C8C9;
    }

    .cart-table .table tbody tr td {
        padding: 0;
        border-bottom: none;
    }

    .cart-table .table tbody tr td:first-child,
    .cart-table .table tbody tr td:nth-child(2) {
        grid-row: 1 / 6;
        place-self: center;
    }

    .cart-table .table tbody tr td:not(:first-child):not(:nth-child(2)):not(:last-child) {
        grid-column: 3;
        padding-left: 10px;
        padding-bottom: 5px;
        text-align: start !important;
    }

    .cart-table .table td[data-th]::before {
        content: attr(data-th) " : ";
        padding-right: 8px;
        display: inline-block;
        font-size: 14px;
        color: #333333;
    }

    .cart-table td[data-th="數量"]::before {
        transform: translateY(-20%);
    }

    .cart-table .table tbody tr td:last-child {
        position: absolute;
        right: 0;
        bottom: 15px;
    }

    .cart-table .table tbody tr td:nth-last-child(3) {
        padding-bottom: 0 !important;
    }

    .cart-prod > *:not(:last-child) {
        margin-bottom: 5px;
    }

    .cart-prod .prod-info {
        margin-bottom: 0;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .cart-prod .prod-info .pre-order {
        order: 1;
    }

    .cart-prod .prod-info .name {
        order: 0;
    }
}

/* 加減數量框 */
.qty {
    display: inline-flex;
}

.qty .qtyInput {
    width: 85px;
    height: 32px;
    border: 1px solid #6E6F7A;
    border-radius: 5px;
    text-align: center;
    outline: none;
}

.qty .qtyMinus,
.qty .qtyPlus {
    padding: 0 20px;
    display: block;
    position: relative;
    cursor: pointer;
}

.qty .qtyMinus::before,
.qty .qtyPlus::before,
.qty .qtyPlus::after {
    content: '';
    position: absolute;
    width: 15px;
    height: 2px;
    top: 50%;
    left: 50%;
    transform: translate(-50%);
    background-color: #00A94F;
}

.qty .qtyPlus::after {
    transform: translate(-50%) rotate(90deg);
}

@media (max-width: 991.98px) {
    .qty .qtyInput {
        height: 25px;
    }
}

/* 加入收藏 */
.add-wish {
    cursor: pointer;
    transition: 100ms;
    animation: like_effect 400ms ease;
}

.add-wish input[type="checkbox"] {
    opacity: 0;
    position: absolute;
    appearance: none;
}

.add-wish:has(input:checked) {
    transition: 100ms;
    animation: like_effect 400ms ease;
}

.add-wish input:checked ~ svg path {
    fill: #FF5353;
    stroke-width: 0;
}

@media (min-width: 992px) {
    .add-wish:hover {
        transform: scale(1.1);
    }
}

@keyframes like_effect {
    0% {
      transform: scale(0);
    }
  
    50% {
      transform: scale(1.2);
    }
  
    100% {
      transform: scale(1);
    }
}

/* 垃圾桶 */
.trash {
    color: #848484;
}

.cart-discount,
.cart-total {
    font-size: 14px;
    color: #4C4C4C;
}

.order-guidelines ol li {
    margin-bottom: 0.5rem;
}

.shop-btn-group {
    padding: 5px 0 85px;
    display: flex;
    justify-content: end;
    column-gap: 15px;
}

/* --------------------購物車第二步驟-------------------- */
.purchases-table thead tr th,
.purchases-table tbody tr td {
    border-bottom: 0;
    color: #333333;
}

.cart-divider {
    position: relative;
    height: 100%;
}

.cart-divider::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0.5px;
    background-color: #dee2e6;
}

.convenience,
.txtCouponMsg,
.LoveReceipt,
.Vehicle,
.TaxIDInvoice {
    display: none;
}

.convenience-wrap .item {
    display: flex;
    align-items: center;
    margin-top: 0.2rem;
}

.convenience-wrap .item label {
    margin-bottom: 0;
    flex-shrink: 0;
    white-space: nowrap;
}

.cart-total-wrap {
    margin-top: 1.5rem;
}

.cart-total-wrap .item {
    margin-bottom: 6px;
    display: grid;
    grid-template-columns: 50% 50%;
}

.cart-total-wrap .item span {
    text-align: end;
}

@media (max-width: 991.98px) {
    .purchases-table thead tr th {
        display: none;
    }

    .purchases-table tbody tr {
        padding: 5px 0;
        display: block;
        border-bottom: 1px solid #737474;
    }

    .purchases-table tbody td {
        display: block;
        padding: 5px 8px;
        text-align: start !important;
    }

    .purchases-table .table td[data-th]::before {
        content: attr(data-th) " : ";
        width: 50px;
        display: inline-block;
    }
}

.agreement .form-check-input {
    width: 0.8em;
    height: 0.8em;
    margin-top: .35em;
}

.agreement label {
    font-size: 13px;
    color: #2A2F24;
}

/* --------------------購物車最後步驟(訂單完成)-------------------- */
.order-success {
    display: flex;
    justify-content: center;
    align-items: center;
}

.order-success img {
    width: 4rem;
}

.order-success span {
    font-size: 1.5rem;
    color: #3d4246;
    letter-spacing: 0.5px;
}

.order-success-info {
    display: flex;
    justify-content: space-between;
}

@media (max-width: 991.98px) {
    .order-success-info {
        flex-direction: column;
    }
}

/* --------------------會員表格-------------------- */
.rwd-table,
.order-table,
.pay-info-table {
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: thin;
}

.rwd-table .table,
.order-table .table {
    margin-bottom: 0;
}

.rwd-table .table thead tr th,
.order-table .table thead tr th {
    font-weight: bold;
    font-size: 15px;
}

.rwd-table .table tbody tr td,
.order-table .table tbody tr td {
    vertical-align: middle;
    font-size: 14px;
    color: #4C4C4C;
}

@media (max-width: 991.98px) {
    .rwd-table,
    .rwd-table .table {
        overflow: hidden;
    }

    .rwd-table .table {
        min-width: 100%;
    }
    
    .rwd-table .table th,
    .order-table .table th {
        display: none;
    }

    .rwd-table .table tbody tr {
        margin-bottom: 15px;
        display: block;
        border: 1px solid #dee2e6;
    }

    .rwd-table .table td {
        padding: 8px;
        display: block;
        border: none;
        text-align: start !important;
    }

    .rwd-table .table td[data-th]::before {
        content: attr(data-th) " : ";
        width: 80px;
        display: inline-block;
    }
}

/* --------------------訂單內頁-------------------- */
.order-table img {
    width: 80px;
    height: 80px;
    object-fit: cover;
}

.order-table .prod-item p:not(:last-child) {
    margin-bottom: 5px;
}

.order-table .prod-item p:last-child {
    margin-bottom: 0;
}

.order-table .prod-item .pre-order {
    display: inline-block;
    padding: 0.25rem;
    border: 1px solid #dee2e6;
    color: rgb(220,53,69);
    line-height: 1;
}

.order-table .prod-item .prodNO {
    font-size: 12px;
    color: #A5A5A5;
}

@media (max-width: 991.98px) {
    .order-table .table tbody tr {
        padding: 15px 0;
        display: grid;
        grid-template-columns: 150px 1fr;
        border-bottom: 1px solid #d9d9d9;
    }

    .order-table .table tbody tr td {
        padding: 0;
        padding-bottom: 5px;
        border-bottom: none;
    }

    .order-table .table td:not(:first-child) {
        text-align: start !important;
    }

    .order-table .table tbody tr td:first-child {
        padding-bottom: 0;
        grid-row: 1 / 5;
        place-self: center;
    }

    .order-table .table tbody tr td:last-child {
        padding-bottom: 0;
    }

    .order-table .table tr:not(.total) td[data-th]::before {
        content: attr(data-th) " : ";
        display: inline-block;
        padding-right: 8px;
    }
}

.order-total {
    margin-left: auto;
}

.order-total td {
    padding: 12px 0;
    line-height: 1;
    text-align: end;
    color: #4C4C4C;
    font-size: 14px;
}

.order-total td:first-child {
    padding: 12px 30px;
}

.pay-info-block {
    padding: 15px;
    border: 1px solid #c3c3c3;
    border-radius: 0.5rem;
    font-size: 14px;
}

.pay-info-block p:last-child {
    margin-bottom: 0;
}

.custom-title {
    padding: 10px;
    border-bottom: 1px solid #c3c3c3;
    font-size: 17px;
}

.pay-info-table td:first-child {
    width: 100px;
}

.pay-info-table td {
    padding: 10px;
    font-size: 14px;
}

/* --------------------會員中心-------------------- */
.member-section {
    padding-bottom: 8px;
    border: 1px solid #c3c3c3;
    text-align: center;
    color: #4C4C4C;
}

.member-section .member-title {
    margin: 0;
    padding: 8px;
    background-color: #f5f5f5;
}

.member-section .member-summary {
    margin-top: 8px;
    display: block;
    font-size: 14px;
    color: #4C4C4C;
    text-decoration: none;
}

.member-section .member-amount {
    margin-top: 8px;
    font-size: 1.3rem;
}

/* --------------------點數歷程-------------------- */
.point-title {
    margin: 10px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    column-gap: 30px;
}

.point-title h6:first-child {
    font-size: 1.25rem;
    font-weight: bold;
}

.point-title h6:last-child {
    font-size: 1rem;
    font-weight: bold;
}

.point-title h6 span {
    color: #DC3545;
}

@media (max-width: 991.98px) {
    .point-title {
        flex-direction: column;
        column-gap: 0;
    }
}

/* --------------------基本資料-------------------- */
.verify-block {
    padding-left: 5px;
    white-space: nowrap;
    font-size: 14px;
    color: #707070;
}

.verify-block i {
    padding-right: 2px;
    font-size: 16px;
}

.verified i {
    color: #49cb75;
}

.unverified i {
    color: #d6d6d6;
}

.line-block {
    display: flex;
    align-items: center;
}

.line-block label {
    margin-right: 10px;
    margin-bottom: 0;
}

.line-block i {
    font-size: 30px;
    color: #8c8c8c;
}

.line-block i.already {
    color: #00B900;
}

.line-block button {
    margin-left: 10px;
    position: relative;
}

.line-block button::before {
    content: '';
    display: block;
    position: absolute;
    top: 50%;
    right: 100%;
    transform: translateY(-50%);
    width: 10px;
    height: 1px;
    background: #198754;
}

/* --------------------購物金-------------------- */
.border-block {
    margin: 15px 0 25px 0;
    padding: 20px 0;
    border: 1px solid #c3c3c3;
    text-align: center;
    color: #4C4C4C;
}

.border-block .price {
    margin-bottom: 0;
    font-weight: 500;
    font-size: 1.5rem;
}

.shpo-credit-tab .tab-head {
    margin-bottom: 20px;
}

.shpo-credit-tab .tab-head a {
    padding: 5px 20px;
    text-decoration: none;
    font-size: 17px;
    color: #727272;
    transition: all 0.1s ease-in-out;
}

.shpo-credit-tab .tab-head a.active {
    border-bottom: 1px solid #961923;
    font-weight: bold;
    color: #961923;
}

@media (max-width: 991.98px) {
    .shpo-credit-table .table td[data-th]::before {
        content: attr(data-th) " : ";
        width: auto;
        display: inline-block;
        padding-right: 10px;
    }
}

/* --------------------聯絡我們-------------------- */
.cmpy-info li {
    margin-bottom: 5px;
}

.cmpy-info i {
    margin-right: 5px;
    font-size: 13px;
    color: #737373;
}

.cmpy-info a {
    font-size: inherit;
    color: inherit;
    text-decoration: none;
}

/* --------------------最新消息-------------------- */
/* 分類 */
.topic-tags-light .tag-item a {
    padding: 5px 15px;
    border-radius: 0.3rem;
    line-height: 1.2;
    font-size: 13px;
}

.news-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.news-wrap .date {
    text-align: center;
    font-weight: bold;
}

.news-wrap .date .top {
    padding: 5px 10px;
    background-color: #DABEA7;
    color: #515151;
}

.news-wrap .date .month,
.news-wrap .date .year {
    font-size: 17.5px;
}

.news-wrap .title {
    font-size: 22px;
    font-weight: bold;
    color: #515151;
}

.news-item {
    margin-bottom: 50px;
    display: flex;
    column-gap: 20px;
    position: relative;
}

.news-wrap .news-item:nth-child(2n) {
    flex-direction: row-reverse;
}

.news-item .img {
    padding-bottom: 25%;
    flex: 0 0 45%;
    position: relative;
    overflow: hidden;
}

.news-item .img img {
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease-in-out;
}

.news-item .info {
    align-self: center;
}

.news-item .info .intro {
    margin-bottom: 40px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-item .info .btn-txt {
    letter-spacing: 1px;
    font-size: 14px;
    color: #9A6852;
}

.news-item .info .arrow {
    display: inline-block;
    transition: all 0.5s ease-in-out;
}

.news-item a {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

@media (min-width: 992px) {
    .news-item:hover .img img {
        transform: scale(1.3,1.3);
    }

    .news-item:hover .info .arrow {
        transform: translateX(8px);
    }
}

@media (max-width: 991.98px) {
    .news-item,
    .news-wrap .news-item:nth-child(2n) {
        flex-direction: column;
        align-items: flex-start;
    }

    .news-wrap .news-item:nth-child(2n) .date {
        align-self: flex-end;
    }

    .news-item .date {
        order: 2;
        margin-bottom: 10px;
        display: flex;
        align-items: center;
        column-gap: 10px;
    }

    .news-item .img {
        order: 1;
        flex: 0 0 auto;
        width: 100%;
        margin-bottom: 10px;
        padding-bottom: 56.25%;
    }

    .news-item .info {
        order: 3;
    }

    .news-item .info .intro {
        margin-bottom: 20px;
    }
    
}

@media (max-width: 767.98px) {
    .news-header {
        align-items: flex-start;
    }
}

/* --------------------最新消息-內頁-------------------- */
.news-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.news-content-header {
    display: flex;
    align-items: center;
    column-gap: 20px;
}

.news-content .back-btn {
    margin-top: auto;
    padding-top: 1.5rem;
    text-align: center;
}

/* --------------------問與答-------------------- */
.qa-accordion li {
    margin-bottom: 1rem;
}

.qa-accordion li:last-child {
    margin-bottom: 0;
}

.qa-accordion .qa-question {
    display: block;
    padding: 15px 25px;
    position: relative;
    line-height: 1;
    border: 1px solid #dddddd;
    border-radius: 0.25rem;
    color: #313131;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: bold;
}

.qa-accordion .qa-question::after {
    content: '';
    display: block;
    width: 8px;
    height: 8px;
    position: absolute;
    top: 50%;
    right: 25px;
    transform: translateY(-50%) rotate(45deg);
    border-width: 1.5px;
    border-style: solid;
    border-color: #313131 #313131 transparent transparent;
}

.qa-accordion .qa-answer {
    display: none;
    padding: 15px 25px;
    border-width: 1px;
    border-style: solid;
    border-color: transparent #dddddd #dddddd #dddddd;
    border-bottom-left-radius: 0.25rem;
    border-bottom-right-radius: 0.25rem;
}

.qa-accordion li.open .qa-question {
    border-bottom: none;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    background-color: #A27E6C;
    color: #fff;
}

.qa-accordion li.open .qa-question::after {
    transform: translateY(-50%) rotate(135deg);
    border-color: #fff #fff transparent transparent;
}

@media (max-width: 767.98px) {
    .qa-accordion .qa-question {
        font-size: 1rem;
    }
}