:root {
    --primary-color: rgb(69,65,69);
    --bg-gray-color: #f1f2f2;
    --light-gray-color: #a2a2a2;
}

* {
    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;
}

.mb-6,
.mb-lg-6 {
    margin-bottom: 6rem !important;
}

.mb-15 {
    margin-bottom: 15rem;
}

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

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

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

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

.txt-primary {
    color: var(--primary-color);
}

.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;
    }

    .mb-6 {
        margin-bottom: 3.5rem !important;
    }

    .mb-lg-6 {
        margin-bottom: 0 !important;
    }

    .mb-lg-20 {
        margin-bottom: 20px !important;
    }

    .mb-15 {
        margin-bottom: 5rem;
    }
}

.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 var(--primary-color);
    border-radius: 0;
    color: #ffffff;
    background: var(--primary-color);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

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

.btn-black-block {
    width: 100%;
    border: 1px solid var(--primary-color);
    color: #ffffff;
    background: var(--primary-color);
    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 var(--primary-color);
        background: #fff;
        color: var(--primary-color);
    }

    .btn-outline-black:hover {
        color: #ffffff;
        background: var(--primary-color);
    }

    .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;
}

.form-control-border {
    display: block;
    padding: 20px 25px;
    width: 100%;
    height: 60px;
    border: 1px solid var(--light-gray-color);
    outline: 0;
    border-radius: 0;
    background-color: transparent;
    font-size: 13.5px;
}

.form-select-border {
    display: block;
    padding: 20px 25px;
    width: 100%;
    height: 60px;
    border: 1px solid var(--light-gray-color);
    outline: 0;
    border-radius: 0;
    background-color: transparent;
    font-size: 13.5px;
    appearance: none; /* 移除系統預設的箭頭樣式 */
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url(../images/arrow_triangle_icon.png);
    background-color: transparent;
    background-repeat: no-repeat;
    background-position: right 18px center;
    background-size: 11px 11px;
    color: var(--primary-color);
}

@media (max-width: 991.98px) {
    .form-control-border,
    .form-select-border {
        font-size: 14.5px;
    }

    .form-mobile-radius {
        border-radius: 0.25rem;
    }
}

.form-field {
    position: relative;
}

.form-field label {
    position: absolute;
    top: 7px;
    left: 11px;
    font-size: 13.5px;
    font-weight: 400;
    color: var(--light-gray-color);
}

.form-field input:valid + label {
    opacity: 0;
}

@media (max-width: 991.98px) {
    .form-field label {
        font-size: 14.5px;
    }
}

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

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

.custom-circle-check {
    border-color: var(--primary-color);
    font-size: 15px;
}

.custom-circle-check[type=checkbox] {
    border-radius: 50%;
}

.custom-circle-check:checked {
    background-color: transparent;
    border-color: var(--primary-color);
}

.custom-circle-check:checked[type=radio],
.custom-circle-check:checked[type=checkbox] {
    background-image: url('../../images/circle.png');
    background-size: 7px;
}

.custom-circle-check:focus {
    box-shadow: 0 0 0 .25rem transparent;
}

/* 單選 */
.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: var(--primary-color);
    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 {
    height: auto;
}

.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-line-block {
    display: flex;
    column-gap: 15px;
}

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

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

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

@media (max-width: 991.98px) {
    .title-line-block.pc-only {
        flex-direction: column;
        align-items: center;
        row-gap: 5px;
    }

    .title-line-block.pc-only h4 {
        font-size: 25px;
    }

    .title-line-block.pc-only .line {
        display: none;
    }
}

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

.qty.qty-border .qtyMinus,
.qty.qty-border .qtyPlus {
    padding: 0 11px;
}

.qty.qty-border .qtyMinus::before,
.qty.qty-border .qtyPlus::before,
.qty.qty-border .qtyPlus::after {
    width: 9px;
    height: 1px;
    background-color: #313131;
}

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

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

.qty.qty-border .qtyInput {
    width: 30px;
    height: auto;
    border: none;
    background: transparent;
}

@media (max-width: 991.98px) {
    .qty.qty-border .qtyMinus,
    .qty.qty-border .qtyPlus {
        padding: 0 14px;
        line-height: 1.3;
    }

    .qty.qty-border .qtyInput {
        line-height: 1.3;
    }
}

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

.pricebox .price-original.del {
    text-decoration: line-through;
    text-decoration-color: rgb(220,53,69);
}

.pricebox .price-discount,
.prod-full-v2 .soldout {
    color: rgb(220,53,69);
}

.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 .prod-volume .form-check-inline {
    margin-right: 0.3rem;
}

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

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

.bg-text {
    color: var(--primary-color);
}

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

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

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

.bg-text .title-en span {
    line-height: 0.7;
}

.bg-text > *:not(.title-en) span {
    font-size: 46px;
    font-weight: 300;
}

.bg-text .title-en span {
    font-size: 48px;
}

@media (max-width: 991.98px) {
    .bg-text > *:not(:last-child) {
        margin-bottom: 0.5rem;
    }

    .bg-text > *:not(.title-en) span,
    .bg-text .title-en span {
        font-size: 25px;
    }

    .bg-text > *:not(.title-en) span {
        font-weight: 400;
    }
}

.no-bg-text h3 {
    margin-bottom: 8px;
    line-height: 1.1;
    font-size: 46px;
    font-weight: 300 !important;
}

.no-bg-text h3.title-en {
    font-size: 48px;
}

@media (max-width: 991.98px) {
    .no-bg-text h3,
    .no-bg-text h3.title-en {
        font-size: 25px;
    }
}

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

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

.slogan-bg-text {
    line-height: 0.7;
    background: #fff;
    color: var(--primary-color);
    font-size: 65px;
}

@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 {
        line-height: inherit;
        text-align: center;
        background: transparent;
        font-size: 38px;
    }

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

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

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

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

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

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

.prod-tab .prod-tab-head a.active::before,
.prod-tab .prod-tab-head a:not(:last-child).active + a::before,
.prod-tab .prod-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 {
    flex-basis: 50%;
}

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

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

    .prod-full-header .left {
        flex-basis: auto;
    }
}

/* 主要內容-產品 */
.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: 1rem;
    line-height: 1.1;
}

.prod-full .desc h5.title-en {
    font-size: 14px;
}

.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;
}

.prod-full .qty.qty-border .qtyInput {
    font-size: 14px;
}

.prod-full .btn-black {
    font-size: 0.8rem;
}

@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: 85%;
        margin: 5px auto 20px auto;
    }

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

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

    .prod-full:not(.no-resize) .desc h5,
    .prod-full:not(.no-resize) .desc h5.title-en {
        font-size: 1.25rem;
    }
}

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

.ranking-wrap.scent {
    background-color: #9e9387;
}

.ranking-wrap .title-block {
    margin-bottom: 24px;
}

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

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

.ranking-slick .prod-full .img-square {
    margin: 0 auto;
    width: 90%;
}

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

.ranking-slick .prod-ranking-badge .square-triangle {
    margin-bottom: 20px;
    width: 42px;
    height: 42px;
    background-color: var(--primary-color);
    position: relative;
}

.ranking-slick .prod-ranking-badge .square-triangle::after {
    content: "";
    position: absolute;
    bottom: -16px;
    left: 0;
    right: 0;
    margin: auto;
    width: 0;
    height: 0;
    border-left: 21px solid transparent;
    border-right: 21px solid transparent;
    border-top: 16px solid var(--primary-color);
}

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

.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: var(--primary-color);
    text-decoration: none;
    font-size: 14px;
}

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

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

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

@media (min-width: 768px) {
    .ranking-slick {
        margin-left: -20px;
        margin-right: -20px;
    }
}

@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: 40px;
}

.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 .cate-title-block .cate-title h4 {
    font-size: 2.1rem;
    font-weight: 300;
    letter-spacing: 1px;
}

.prod-full-v2-cate .cate-title-block .cate-title .title-en {
    font-size: 2.3rem;
}

.prod-full-v2-cate .cate-title-block .cate-title > *:last-child {
    margin-bottom: 0;
}

.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: 991.98px) {
    .prod-full-v2-cate .cate-title-block .cate-title {
        margin-bottom: 10px;
    }

    .prod-full-v2-cate .cate-title-block .cate-title h4 {
        font-size: 1.25rem;
    }

    .prod-full-v2-cate .cate-title-block .cate-title .title-en {
        margin-bottom: 2px;
        font-size: 1.3rem;
    }
}

@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;
    font-size: 32px;
    line-height: 34px;
}

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

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

.product-v2-gallery .wishlistbox .wishlist-total {
    position: relative;
    padding-left: 10px;
    font-size: 12px;
    letter-spacing: 0.5px;
}

.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%;
    font-weight: 350;
}

.product-v2-content .slogan {
    margin: 25px 0 15px 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: 25px;
}

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

.product-v2-info .intro-block {
    margin-bottom: 1rem;
    width: 80%;
}

.product-v2-info .intro-block p {
    margin-bottom: 5px;
}

.product-v2-info .notes-block {
    margin-bottom: 1rem;
    font-size: 14px;
}

.product-v2-info .notes-block p {
    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: 12px;
    font-weight: 400;
    color: var(--primary-color);
}

@media (max-width: 991.98px) {
    .product-v2-content,
    .product-v2-dragContainer {
        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 rgba(69,65,69,0.25);
        border-bottom: 1px solid rgba(69,65,69,0.25);
        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 .slick-prev:before,
    .suggestProd-wrap .slick-next:before {
        border-color: #fff #fff transparent transparent;
    }

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

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

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

/* --------------------喜愛清單(亞洲香研所版)-------------------- */
@media (min-width: 992px) {
    .custom-lg.container-lg {
        max-width: 100%;
        padding-left: 0;
        padding-right: 0;
    }
}

.bg-block {
    padding-top: 30%;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.bg-block .bg-text {
    position: absolute;
    top: 50%;
    left: 8.33333333%;
    transform: translateY(-50%);
    z-index: 1;
}

.wish-list-header {
    margin: 52px 0;
    text-align: center;
}

.wish-list-header .title {
    margin-bottom: 17px;
    font-size: 1.75rem;
}

.wish-list-header .desc {
    font-size: 18px;
}

.wish-count {
    margin-bottom: 70px;
    padding: 4px 15px;
    background: #a9aaab;
    font-size: 13.5px;
    color: #000;
    font-weight: 400;
}

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

    .wish-list-header {
        margin: 28px 0;
    }

    .wish-list-header .title {
        margin-bottom: 12px;
        font-size: 1.35rem;
    }

    .wish-list-header .desc {
        font-size: 16px;
    }

    .wish-count {
        margin-bottom: 30px;
        padding: 10px 15px;
        text-align: center;
        font-size: 14px;
    }

    .wish-prod-wrap .prod-full .desc,
    .wish-prod-wrap .prod-full .action {
        width: 100%;
    }

    .wish-prod-wrap .prod-full .action .bottom {
        row-gap: 20px;
    }

    .wish-prod-wrap .prod-full .action-wish {
        display: block;
    }

    .wish-prod-wrap .prod-full .btn-black {
        padding: 7px 15px;
        font-size: 15.5px;
        letter-spacing: 4px;
    }
}

.wish-suggest h4 {
    font-size: 30px;
}

.ship-title {
    margin-bottom: 28px;
    display: flex;
    justify-content: center;
    font-size: 13px;
    color: #000;
}

.prodCate-link-block .bg-text {
    position: absolute;
    top: 8%;
    left: 8%;
}

.prodCate-link-block a {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

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

.bg-text-sm > *:not(.title-en) span,
.bg-text-sm .title-en span {
    font-size: 25px;
}

@media (max-width: 991.98px) {
    .ship-wrap {
        padding-left: 0;
        padding-right: 0;
    }

    .ship-title {
        margin-top: 13px;
        margin-bottom: 42px;
        flex-direction: column;
        align-items: center;
        row-gap: 3px;
        font-size: 16px;
    }

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

    .bg-text-sm > *:not(.title-en) span,
    .bg-text-sm .title-en span {
        font-size: 23px;
    }
}

/* --------------------表尾-------------------- */
/* 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: #000;
    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-table .table tbody tr td.price {
    white-space: nowrap;
}

.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;
    }
}

/* --------------------購物車第一、二、三步驟亞洲香研所版共用-------------------- */
/* 產品圖片 */
.cart-details .img img {
    display: block;
    object-fit: cover;
    border: 1px solid var(--light-gray-color);
}

/* 產品內容 */
.cart-details .prod-info *:not(.name),
.cart-details .pricebox * {
    letter-spacing: 1px;
}

.cart-details .prod-info .top span {
    display: block;
}

.cart-details .prod-info .top .size {
    line-height: 1.3;
}

.cart-details .prod-info .top .price,
.cart-details .price-original {
    color: var(--light-gray-color);
}

.cart-details .prod-info .bottom {
    font-size: 12px;
    font-weight: 400;
}

.cart-details .prod-info .bottom .discount-apply {
    display: flex;
}

.cart-details .pricebox .price-original.del {
    text-decoration-color: var(--light-gray-color);
}

@media (min-width: 992px) {
    .cart-details .prod-info .pricebox {
        display: none;
    }
}

@media (max-width: 991.98px) {
    .cart-details .img img {
        border: none;
    }

    /* 產品內容 */
    .cart-details .prod-info {
        display: flex;
        flex-direction: column;
        row-gap: 8px;
    }

    .cart-details .prod-info .bottom .discount-apply {
        display: block;
    }

    /* 數量 */
    .cart-details .qty.qty-border .qtyMinus,
    .cart-details .qty.qty-border .qtyPlus {
        padding: 0 12px;
    }

    .cart-details .qty.qty-border .qtyInput {
        width: 30px;
    }
}

/* --------------------購物車第一步驟(亞洲香研所版)-------------------- */
.cart-full-container {
    padding: 3rem;
    background-color: var(--bg-gray-color);
}

.cart-title {
    margin-bottom: 3rem;
    font-size: 44px;
}

@media (max-width: 991.98px) {
    .cart-full-container {
        padding: 2.3rem 1rem;
    }

    .cart-title {
        margin-bottom: 1.5rem;
        font-size: 26px;
    }
}

.cart-full-table .table thead tr th,
.cart-full-table .table tbody tr td {
    vertical-align: middle;
    background-color: transparent;
}

.cart-full-table .table thead tr th {
    border-bottom-color: var(--primary-color);
    font-weight: 400;
}

.cart-full-table .table tbody tr td {
    padding: 1.5rem;
    border-bottom: none;
}

.cart-full-table .table tbody tr td:nth-child(2):has(.bottom) {
    vertical-align: bottom;
}

.cart-full-table .prod-thumb {
    display: flex;
    align-items: center;
    column-gap: 20px;
}

/* 刪除按鈕 */
.cart-full-table .trash {
    display: block;
    position: relative;
    width: 20px;
    height: 20px;
    border: 1px solid var(--light-gray-color);
    border-radius: 50%;
}

.cart-full-table .trash::before,
.cart-full-table .trash::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 1px;
    background-color: var(--light-gray-color);
    transform-origin: center;
}

.cart-full-table .trash::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.cart-full-table .trash::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

/* 產品圖片 */
.cart-full-table .img img {
    margin: 0 auto;
    width: 155px;
    height: 155px;
}

/* 產品內容 */
.cart-full-table .prod-info,
.cart-full-table .pricebox {
    font-size: 13px;
}

.cart-full-table .prod-info .top .name {
    margin-bottom: 6px;
    font-size: 18px;
}

.cart-full-table .prod-info .bottom {
    margin-top: 25px;
}

@media (min-width: 992px) {
    .cart-full-table .table thead tr th:first-child {
        padding-left: 45px;
    }

    .cart-full-table .table tbody tr:first-child td {
        padding-top: 3rem;
    }

    /* 數量 */
    .cart-full-table .qty.qty-border {
        border-color: var(--light-gray-color);
    }

    .cart-full-table .qty.qty-border .qtyInput {
        font-size: 13px;
    }

    .cart-full-table .qty.qty-border .qtyMinus,
    .cart-full-table .qty.qty-border .qtyPlus {
        padding: 19px 16px;
        border: none;
    }

    .cart-full-table .qty.qty-border .qtyMinus::before,
    .cart-full-table .qty.qty-border .qtyPlus::before,
    .cart-full-table .qty.qty-border .qtyPlus::after {
        background-color: var(--light-gray-color);
    }

    /* 小計 */
    .cart-full-table .pricebox {
        flex-direction: column;
    }
}

@media (max-width: 991.98px) {
    .cart-full-table .table thead tr th:nth-child(2),
    .cart-full-table .table tbody tr td:last-child,
    .cart-full-table .prod-info .top .price {
        display: none;
    }

    .cart-full-table .table thead tr,
    .cart-full-table .table tbody tr {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
    }

    .cart-full-table .table thead tr {
        padding: 5px 5px 8px 5px;
        border-bottom: 1px solid var(--primary-color);
    }

    .cart-full-table .table thead tr th {
        width: auto;
        border-bottom: none;
        font-size: 17px;
    }

    .cart-full-table .table thead tr th:last-child {
        text-align: center !important;
    }

    .cart-full-table .table tbody tr {
        padding: 16px 5px;
        position: relative;
    }

     .cart-full-table .table tbody tr:first-child {
        padding-top: 32px;
    }

     .cart-full-table .table tbody tr:last-child {
        padding-bottom: 32px;
    }

    .cart-full-table .table tbody tr td,
    .cart-full-table .table thead tr th {
        padding: 0;
    }

    .cart-full-table .table tbody tr td:first-child {
        place-self: center;
    }

    .cart-full-table .table tbody tr td:nth-child(2) {
        grid-column-start: 3;
    }

    .cart-full-table .table tbody tr td:nth-child(3) {
        grid-row: 1;
        grid-column-start: 2;
        place-self: center;
    }

    .cart-full-table .prod-thumb {
        position: relative;
    }

    /* 刪除按鈕 */
    .cart-full-table .prod-thumb .trash {
        position: absolute;
        top: -10px;
        left: -10px;
        width: 23px;
        height: 23px;
    }

    .cart-full-table .trash::before,
    .cart-full-table .trash::after {
        width: 14px;
    }

    /* 圖片 */
    .cart-full-table .img img {
        width: 130px;
        height: 130px;
    }

    /* 數量 */
    .cart-full-table .qty.qty-border .qtyMinus,
    .cart-full-table .qty.qty-border .qtyPlus,
    .cart-full-table .qty.qty-border .qtyInput {
        background-color: #fff;
    }

    /* 產品內容 */
    .cart-full-table .prod-info .top .name {
        margin-bottom: 0;
        line-height: 1.1;
        font-size: 14.5px;
    }

    .cart-full-table .prod-info .bottom {
        margin-top: 0;
    }
}

@media (max-width: 767.98px) {
    .cart-full-table .table thead tr,
    .cart-full-table .table tbody tr {
        grid-template-columns: 110px 110px 1fr;
    }

    /* 產品圖片 */
    .cart-full-table .img img {
        width: 100px;
        height: 100px;
    }
}

/* -----下半部----- */
.cart-summary-area {
    display: grid;
    grid-template-columns: 45% 25% 30%;
    letter-spacing: 1px;
}

.add-on-section {
    grid-row: 1 / 3;
    width: 80%;
}

.discount-section {
    margin-bottom: 55px;
    grid-column: 3;
}

.checkout-summary {
    grid-column: 3;
    grid-row: 2 / 5;
}

.threshold-gift {
    grid-column: 1;
}

.cart-summary-area .desc-block {
    margin-bottom: 10px;
    padding-left: 25px;
}

.cart-summary-area .desc-block,
.cart-summary-area .desc-block h6 span:last-child,
.discount-section .member-points {
    font-size: 14px;
    color: var(--light-gray-color);
}

.cart-summary-area .desc-block h6 {
    margin-bottom: 14px;
}

.cart-summary-area .desc-block h6 .title {
    font-size: 15px;
    font-weight: bold;
    color: var(--primary-color);
}

.add-on-section,
.threshold-gift .desc-block {
    margin-bottom: 50px;
}

/* 加購區 */
.add-on-slick .slick-prev,
.add-on-slick .slick-next {
    top: 50px;
}

.add-on-slick .item {
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 6px;
    text-align: center;
    font-size: 12px;
}

.add-on-slick .item .img {
    margin-bottom: 5px;
}

.add-on-slick .item img {
    margin: 0 auto;
    width: 80px;
    height: 80px;
}

.add-on-slick .item .add-on-tag {
    color: rgb(220,53,69);
}

.add-on-slick .item .add-on-tag.free {
    color: var(--primary-color);
}

.add-on-slick .item .name {
    width: 75px;
}

.add-on-slick .item .name .en {
    display: block;
}

.add-on-slick .item .add-on-price {
    color: rgb(220,53,69);
}

.add-on-slick .item .add-on-btn {
    margin-top: 4px;
    padding: 2.5px 7px;
    border: 1px solid var(--primary-color);
    border-radius: 0.2rem;
    outline: none;
    background-color: transparent;
    color: var(--primary-color);
    font-size: 12px;
}

@media (max-width: 991.98px) {
    .cart-summary-area {
        margin-top: 30px;
        display: block;
    }

    .cart-summary-area .desc-block,
    .cart-summary-area .desc-block h6 span:last-child,
    .discount-section .member-points {
        font-size: 15px;
    }

    .cart-summary-area .desc-block h6 {
        margin-bottom: 10px;
    }

    .cart-summary-area .desc-block h6 .title {
        font-size: 16px;
    }

    .add-on-section {
        width: 100%;
        margin-bottom: 0;
    }

    .add-on-section .desc-block {
        margin-bottom: 15px;
    }

    .add-on-slick .item {
        font-size: 14.5px;
    }

    .add-on-slick .item img {
        width: 115px;
        height: 115px;
    }

    .add-on-slick .slick-prev, .add-on-slick .slick-next {
        top: 67.5px;
    }

    .add-on-slick .item .name {
        width: 90px;
    }

    .add-on-slick .item .add-on-btn {
        font-size: 16px;
    }
}

@media (max-width: 767.98px) {
    .add-on-section .desc-block {
        padding-left: 0;
        display: flex;
        justify-content: center;
    }

    .add-on-slick .item img {
        width: 100px;
        height: 100px;
    }
}

/* 優惠券+點數區 */
.discount-section {
    text-align: end;
}

.discount-section .flex-horizontal {
    justify-content: flex-end;
    padding-right: 15px;
}

.discount-section .flex-horizontal label {
    flex-basis: auto;
    font-size: 15px;
    font-weight: bold;
}

.discount-section .flex-horizontal input {
    width: 120px;
    padding: 5px 15px;
    border-width: 1px;
    border-radius: 0;
    background-color: transparent;
    outline: none;
    text-align: center;
    font-size: 20px;
}

.discount-section .member-points {
    margin-top: 5px;
    padding-right: 15px;
}

@media (max-width: 991.98px) {
    .discount-section {
        margin-bottom: 70px;
    }

    .discount-section .flex-horizontal label {
        font-size: 16px;
    }

    .discount-section .flex-horizontal input {
        width: 130px;
        padding: 7px 15px;
    }

    .discount-section .member-points {
        margin-top: 8px;
    }
}

/* 滿額贈區 */
.threshold-gift .prod-volume {
    color: var(--primary-color);
}

.threshold-gift .prod-volume .form-check-input {
    background-color: transparent;
    border-color: var(--primary-color);
}

.threshold-gift .remark-block {
    font-size: 15px;
}

.threshold-gift .remark-block label {
    margin-bottom: 10px;
}

.threshold-gift .remark-block textarea::placeholder {
    color: var(--light-gray-color);
}

.threshold-gift .remark-block textarea {
    padding: 12px 15px;
    width: 100%;
    border-radius: 0;
    outline: none;
    resize: none;
    background: transparent;
    font-size: 14px;
    color: var(--light-gray-color);
}

@media (max-width: 991.98px) {
    .threshold-gift .desc-block h6 span:not(.title),
    .threshold-gift .desc-block > div:not(.prod-volume) {
        font-size: 14px;
    }

    .threshold-gift .desc-block {
        margin-bottom: 65px;
        padding-left: 0;
    }

    .threshold-gift .remark-block {
        font-size: 16px;
    }

    .threshold-gift .remark-block textarea {
        height: 120px;
        font-size: 15px;
    }
}

/* 小計區 */
.checkout-summary {
    font-size: 15px;
}

.checkout-summary > * {
    margin-bottom: 12px;
}

.checkout-summary .summary-item {
    padding: 0 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.checkout-summary .summary-item .summary-label {
    flex: 0 0 120px;
    text-align: end;
}

.checkout-summary .summary-item.total-block .summary-value {
    color: var(--light-gray-color);
}

.checkout-summary .discount-detail {
    padding: 12px;
    background-color: #dedede;
}

.checkout-summary .discount-detail .discount-item {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--light-gray-color);
}

.checkout-summary .discount-detail .summary-item {
    padding: 0 0 0 35px;
}

.checkout-summary > .grandTotal {
    margin-top: 60px;
    padding: 0 12px;
    text-align: end;
    font-size: 27px;
    font-weight: 600;
}

.checkout-summary > .grandTotal span {
    font-size: 30px;
}

@media (max-width: 991.98px) {
    .checkout-summary {
        margin-bottom: 100px;
        font-size: 16px;
    }

    .checkout-summary > * {
        margin-bottom: 10px;
    }

    .checkout-summary .summary-item.total-block .summary-label {
        text-align: start;
    }

    .checkout-summary .summary-item .summary-label {
        flex: 0 0 105px;
    }

    .checkout-summary .discount-detail {
        padding: 13px;
    }

    .checkout-summary .discount-detail .discount-item {
        font-size: 14.5px;
    }

    .checkout-summary .discount-detail .summary-item {
        padding: 0;
    }

    .checkout-summary .discount-detail .summary-item .summary-label {
        flex: 0 0 auto;
    }

    .checkout-summary > .grandTotal {
        margin-top: 0;
        font-size: 20px;
    }
}

.cart-action-section {
    font-size: 14px;
}

.cart-action-section .brand-message {
    margin: 30px 0;
}

.cart-action-section .btn-black,
.cart-action-section .btn-outline-black {
    display: block;
    padding: 8px;
    width: 100%;
    font-size: 15px;
    font-weight: 500;
    text-align: center;
    letter-spacing: 3px;
}

.cart-action-section .payment-methods {
    margin-top: 10px;
}

.payment-methods {
    display: flex;
    column-gap: 8px;
}

.payment-methods img {
    height: 30px;
}

@media (max-width: 991.98px) {
    .cart-action-section {
        font-size: 15px;
    }

    .cart-action-section .brand-message {
        margin-top: 22px;
        margin-bottom: 75px;
    }

    .cart-action-section .btn-black,
    .cart-action-section .btn-outline-black {
        padding: 5.5px;
    }

    .cart-action-section .payment-methods {
        column-gap: 18px;
    }

    .cart-action-section .payment-methods img {
        height: 40px;
    }
}

/* --------------------購物車第二、三、四步驟亞洲香研所版共用-------------------- */
.checkout-header {
    margin-bottom: 42px;
}

.checkout-header .step-title {
    letter-spacing: 3.5px;
    font-size: 46px;
}

.account-title {
    color: var(--light-gray-color);
}

.account-title .label {
    font-weight: 450;
    color: var(--primary-color);
}

@media (max-width: 991.98px) {
    .checkout-header {
        margin-bottom: 1.1rem;
    }

    .checkout-header .step-title {
        font-size: 26px;
    }

    .account-title {
        font-size: 15px;
    }
}

.checkout-page {
    position: relative;
    display: flex;
    flex-grow: 1;
}

.checkout-page > .left {
    width: 60%;
    padding: 5rem 3.8rem 3.8rem 5rem;
}

.checkout-page > .right {
    width: 40%;
    padding: 5rem 5rem 3rem 3.8rem;
    background-color: var(--bg-gray-color);
}

/* 左下方連結 */
.checkout-policy-wrap {
    position: absolute;
    width: calc(60% - 8.8rem);
    left: 5rem;
    bottom: 2rem;
}

.checkout-policy-wrap .policy-link-container {
    margin-top: 25px;
    justify-content: flex-start;
}

.checkout-policy-wrap .policy-link-container a {
    font-size: 13.5px;
}

@media (max-width: 991.98px) {
    .checkout-page {
        display: block;
    }

    .checkout-page > .left {
        width: 100%;
        padding: 2rem 1.5rem;
    }

    .checkout-page > .right {
        width: 100%;
        padding: 0;
        background-color: #fff;
    }

    .checkout-policy-wrap {
        padding: 3rem 1.5rem 1.5rem 1.5rem;
        position: static;
        width: 100%;
    }

    .checkout-policy-wrap .responsive-hr {
        margin-bottom: 0.7rem !important;
    }

    .checkout-policy-wrap .policy-link-container {
        margin-top: 0px;
        display: flex;
    }
}

/* 左邊填寫資料 */
.checkout-page .checkout-header {
    position: relative;
}

.checkout-page .checkout-header .step-back {
    margin-bottom: 0;
    display: block;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.checkout-page .checkout-header .step-back img {
    width: 70px;
    object-fit: contain;
}

.checkout-page .checkout-header .step-title {
    padding-left: 70px;
}

.checkout-page .account-title {
    margin-bottom: 3.3rem;
}

.checkout-title {
    margin-bottom: 0;
    font-size: 23px;
    font-weight: 450 !important;
}

@media (max-width: 991.98px) {
    .checkout-page .responsive-hr {
        margin-bottom: 10px;
    }

    .checkout-page .checkout-header .step-title {
        padding-left: 0;
        text-align: center;
    }

    .checkout-page .account-title {
        margin-bottom: 1.6rem;
    }

    .checkout-title {
        font-size: 18px;
    }
}

/* 手機版購物車收合 */
.cart-details-collapse {
    display: none;
}

@media (max-width: 991.98px) {
    .cart-details-content {
        padding: 2rem 1.5rem;
        border-top: 1px solid var(--light-gray-color);
        border-bottom: 1px solid var(--light-gray-color);
        background-color: #dedede;
    }

    .cart-details-collapse {
        padding: 1.05rem 1.5rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
        background-color: var(--bg-gray-color);
        font-weight: 400;
    }

    .cart-details-collapse .txt {
        display: flex;
        align-items: center;
        column-gap: 8px;
        font-size: 14.5px;
    }

    .cart-details-collapse .txt img {
        width: 11px;
        transition: all 0.3s ease-in-out;
    }

    .cart-details-collapse.close img {
        transform: rotate(180deg);
    }

    .cart-details-collapse .grandTotal {
        letter-spacing: 0.5px;
        font-size: 18.5px;
        font-weight: 600;
    }
}

/* 商品明細 */
.orderItem .qty-border,
.orderItem .orderItem-prod .bottom:not(.promoItem) {
    display: none;
}

.orderItems-container {
    padding: 50px 28px 50px 0;
}

.orderItem {
    margin-bottom: 45px;
    display: flex;
    align-items: center;
    column-gap: 20px;
}

.orderItem:last-child {
    margin-bottom: 0;
}

.orderItem img {
    width: 80px;
    height: 80px;
}

.orderItem .orderItem-prod {
    flex-grow: 1;
}

.orderItem .orderItem-prod,
.orderItem .pricebox {
    font-size: 12px;
}

.orderItem .orderItem-prod:has(.promoItem) {
    align-self: flex-end;
}

.orderItem .orderItem-prod .name {
    margin-bottom: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13.5px;
}

.orderItem .orderItem-prod .orderItem-qty {
    font-size: 15px;
    color: var(--light-gray-color);
}

@media (max-width: 991.98px) {
    .cart-details .prod-info .top span.orderItem-qty,
    .cart-details .prod-info .top .price {
        display: none;
    }

    .orderItem .qty-border {
        display: inline-flex;
    }

    .orderItem .orderItem-prod .bottom:not(.promoItem) {
        display: block;
    }

    .orderItems-container {
        padding: 0;
    }

    .orderItem {
        margin-bottom: 2rem;
        column-gap: 50px;
    }

    .orderItem:last-child {
        margin-bottom: 2rem;
    }

    .orderItem .orderItem-prod:has(.promoItem) {
        align-self: center;
    }

    .orderItem .img img {
        width: 115px;
        height: 115px;
    }

    .orderItem .qty-border,
    .orderItem  .qty.qty-border .qtyMinus,
    .orderItem  .qty.qty-border .qtyPlus {
        border-color: var(--light-gray-color);
        cursor: default;
    }

    .orderItem .qty .qtyMinus::before,
    .orderItem .qty .qtyPlus::before,
    .orderItem .qty .qtyPlus::after {
        background-color: var(--light-gray-color);
    }

    .orderItem .qty.qty-border .qtyInput {
        color: var(--light-gray-color);
        cursor: default;
    }

    .orderItem .orderItem-prod .name {
        margin-bottom: 0;
        line-height: 1;
    }
}

@media (max-width: 767.98px) {
    .orderItem {
        justify-content: space-between;
        column-gap: 20px;
    }
}

/* 小計 */
.checkout-page .checkout-summary {
    margin-top: 58px;
    margin-left: auto;
    width: 80%;
}

.checkout-page .checkout-summary .summary-item {
    color: var(--light-gray-color);
    font-weight: 400;
}

.checkout-page .checkout-summary > .grandTotal {
    margin-top: 20px;
    margin-bottom: 0;
}

.checkout-page .cart-action-section {
    margin-top: 22px;
}

@media (max-width: 991.98px) {
    .checkout-page .checkout-summary {
        margin: 0;
        width: 100%;
    }

    .checkout-page .checkout-summary > * {
        margin-bottom: 3px;
    }

    .checkout-page .checkout-summary .summary-item {
        padding-left: 25px;
        padding-right: 0;
        color: var(--primary-color);
        font-weight: 500;
    }

    .checkout-page .checkout-summary .summary-item .summary-label {
        text-align: start;
        flex: 0 0 auto;
    }

    .checkout-page .checkout-summary .summary-item .summary-value {
        color: var(--primary-color);
    }

    .checkout-page .checkout-summary .discount-detail {
        padding: 0;
    }

    .checkout-page .checkout-summary .discount-detail .discount-item {
        display: none;
    }

    .checkout-page .checkout-summary > .grandTotal {
        margin-top: 0;
        padding: 0;
    }

    .checkout-page .cart-action-section {
        margin-top: 30px;
        padding: 0 2rem;
    }
}

/* --------------------購物車第二步驟(亞洲香研所版)-------------------- */
.orderInfo-page .notice {
    font-size: 11.5px;
    font-weight: 400;
    color: var(--light-gray-color);
}

.section-recipient,
.section-ship select,
.shipFee-block,
.section-ship,
.section-pay {
    margin-bottom: 25px;
}

@media (max-width: 991.98px) {
    .orderInfo-page .notice {
        font-size: 12.5px;
    }

    .section-recipient {
        margin-bottom: 29px;
    }

    .section-ship select {
        margin-bottom: 15px;
    }

    .section-ship {
        margin-bottom: 37px;
    }

    .section-pay {
        margin-bottom: 60px;
    }
}

.add-icon-block,
.tick-icon-block {
    display: inline-flex;
    align-items: center;
    column-gap: 7px;
    cursor: pointer;
}

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

.add-icon-block .icon {
    display: inline-block;
    position: relative;
    width: 19px;
    height: 19px;
    border: 1px solid var(--primary-color);
    border-radius: 50%;
}

.add-icon-block .icon::before,
.add-icon-block .icon::after {
    content: '';
    display: block;
    position: absolute;
    width: 11px;
    height: 1px;
    top: 50%;
    left: 50%;
    transform: translate(-50% , -50%);
    background-color: var(--primary-color);
}

.add-icon-block .icon::after {
    display: none;
    transform: translate(-50% , -50%) rotate(90deg);
}

.add-icon-block input[type="checkbox"]:checked + .icon::after {
    display: block;
}

.tick-icon-block .icon {
    display: inline-block;
    position: relative;
    width: 15px;
    height: 15px;
    border: 1px solid var(--primary-color);
}

.tick-icon-block input[type="checkbox"]:checked + .icon::before {
    content: '\f00c';
    display: block;
    position: absolute;
    top: -2px;
    left: 1px;
    font-family: "Font Awesome 6 Free";
    font-weight: 600;
    font-size: 13px;
    color: var(--primary-color);
}

.userInfo-title-block {
    padding-bottom: 18px;
    position: relative;
}

.userInfo-title-block .left {
    display: flex;
    align-items: center;
    column-gap: 7px;
}

.userInfo-title-block .left .btn-black {
    font-size: 13px;
}

.userInfo-title-block .right {
    position: absolute;
    right: 0;
    bottom: 4px;
    font-size: 14px;
    font-weight: 400;
}

@media (max-width: 991.98px) {
    .userInfo-title-block {
        padding-bottom: 10px;
    }

    .userInfo-title-block .left {
        column-gap: 5px;
    }

    .userInfo-title-block .right {
        line-height: 1;
        font-size: 13.5px;
    }

    .section-recipient .userInfo-title-block {
        display: flex;
        justify-content: space-between;
        align-items: flex-end;
    }

    .section-recipient .userInfo-title-block .right {
        position: static;
    }
}

/* 運送方式 */
.section-ship .checkout-title {
    margin-bottom: 18px;
}

.shipFee-block {
    padding: 20px;
    font-weight: 400;
    background-color: var(--bg-gray-color);
}

.shipFee-block .shipFee {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13.5px;
}

.shipFee-block .shipFee .price {
    color: var(--light-gray-color);
}

.shipFee-block .deliveryDate {
    font-size: 20px;
}

.shipFee-block .deliveryLeadTime {
    margin-top: 12px;
    font-size: 13.5px;
    color: var(--light-gray-color);
}

.shipNote-block {
    margin-bottom: 15px;
    margin-left: 15px;
    font-weight: 400;
}

.shipNote-block label {
    margin-bottom: 15px;
    font-size: 13.5px;
}

.shipNote-block .input-block {
    margin-left: 24px;
    display: none;
}

.shipNote-block .shipNote .icon {
    width: 15px;
    height: 15px;
}

.shipNote-block .shipNote .icon::before,
.shipNote-block .shipNote .icon::after {
    width: 8px;
}

@media (max-width: 991.98px) {
    .section-ship .checkout-title {
        margin-bottom: 13px;
    }

    .shipFee-block {
        margin-bottom: 10px;
        padding: 15px 40px;
    }

    .shipFee-block .deliveryDate {
        margin-top: 1.5px;
        font-size: 18px;
    }

    .shipFee-block .deliveryLeadTime {
        margin-top: 17px;
    }

    .shipFee-block .shipFee,
    .shipFee-block .deliveryLeadTime,
    .shipNote-block label {
        font-size: 14px;
    }
}

/* 付款 */
.section-pay .checkout-title {
    line-height: 1;
}

.pay-block {
    margin-top: 4px;
}

.pay-block .form-check {
    height: 60px;
    margin-bottom: 0;
    padding: 20px 50px 20px 15px;
    display: flex;
    align-items: center;
    column-gap: 7px;
    border: 1px solid var(--light-gray-color);
    font-size: 13.5px;
}

.pay-block .custom-circle-check {
    margin-left: 0;
    margin-top: 0;
}

.pay-block .form-check-label {
    flex-grow: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pay-block .form-check:has(input[type="radio"]:checked) {
    border: 1.5px solid #000;
}

@media (max-width: 991.98px) {
    .pay-block .form-check {
        font-size: 14.5px;
        border-radius: 0.25rem;
    }
}

/* 訂購人資訊 */
.section-buyer {
    margin-bottom: 90px;
}

.buyer-block {
    margin-top: 18px;
    margin-left: 15px;
    font-size: 13.5px;
}

.section-buyer .userInfo-title-block .right,
.buyer-content {
    display: none;
}

.recipient-fullAddr {
    margin-left: 16px;
    display: inline-block;
    color: var(--light-gray-color);
}

.eInvoice-block .input-block {
    margin-left: 20px; 
    display: none;
}

@media (max-width: 991.98px) {
    .section-buyer {
        margin-bottom: 0;
    }

    .section-buyer .checkout-title {
        font-size: 22px;
    }

    .section-buyer .userInfo-title-block .right {
        bottom: 12px;
    }

    .buyer-block {
        font-size: 14px;
    }

    .recipient-fullAddr {
        display: none;
    }
}

/* 常用地址彈跳視窗 */
#savedAddrModal .btn-black {
    padding: 3px 15px;
    font-size: 15px;
}

/* --------------------購物車第三步驟(亞洲香研所版)-------------------- */
#orderView-page,
#orderView-page-btn,
.checkout-page.orderView > .checkout-policy-wrap,
.prev-step-wrap {
    display: none;
}

.orderView-content {
    display: flex;
    flex-direction: column;
}

.orderView-content > div:not(.tax-view) .orderView-info {
    color: var(--light-gray-color);
}

.orderView-content .orderView-info p {
    margin-top: 3px;
    margin-bottom: 0;
    font-weight: 350;
}

.orderView-content .buyer-view {
    margin-bottom: 25px;
}

.orderView-content  .recipient-view {
    margin-bottom: 50px;
}

.orderView-content .ship-view {
    margin-bottom: 53px;
}

.orderView-content .tax-view {
    margin-bottom: 35px;
}

#orderView-page .checkout-policy-wrap {
    position: static;
    width: 100%;
}

@media (max-width: 991.98px) {
    #orderView-page-btn {
        margin-top: 69px;
    }

    #orderView-page .checkout-policy-wrap {
        display: none;
    }

    .checkout-page.orderView > .checkout-policy-wrap,
    .prev-step-wrap {
        display: block;
    }

    .orderView-content .checkout-title {
        margin-bottom: 8px;
    }

    .orderView-content .orderView-info p {
       font-size: 15px;
    }

    .orderView-content .buyer-view {
        order: 1;
        margin-top: 42px;
        margin-bottom: 30px;
    }

    .orderView-content  .recipient-view {
        order: 2;
        margin-bottom: 0;
    }

    .orderView-content .ship-view {
        order: 4;
    }

    .orderView-content .tax-view {
        order: 3;
        margin-bottom: 22px;
        color: var(--light-gray-color);
    }

    .orderView-content .prev-step-wrap {
        order: 5;
    }

    .prev-step-wrap .cart-action-section {
        padding: 0 0.5rem;
    }

    .checkout-page.orderView > .checkout-policy-wrap {
        padding-top: 17px;
    }
}

/* --------------------購物車第四步驟訂單完成(亞洲香研所版)-------------------- */
/* 上半部 */
.order-success-v2-page {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.order-success-v2-page .account-title {
    margin-top: 20px;
}

.order-success-v2-page .message {
    margin-top: 57px;
    font-size: 32px;
    font-weight: 350;
}

.order-success-v2-page .btn-group-center {
    margin-top: 57px;
    margin-bottom: 65px;
    column-gap: 24px;
}

.order-success-v2-page .btn-group-center > * {
    padding: 8px;
    width: 210px;
    letter-spacing: 3px;
    font-weight: 500;
    font-size: 15px;
}

@media (max-width: 991.98px) {
    .order-success-v2-page {
        padding: 2rem 1.5rem;
    }

    .order-success-v2-page .account-title {
        margin-top: 0;
    }

    .order-success-v2-page .checkout-title {
        font-weight: bold !important;
    }

    .order-success-v2-page .responsive-hr {
        margin-bottom: 0.7rem;
    }

    .order-success-v2-page .message {
        margin-top: 62px;
        line-height: 1.8;
        letter-spacing: 3px;
        font-size: 18px;
    }

    .order-success-v2-page .btn-group-center {
        margin-top: 26px;
    }

    .order-success-v2-page .btn-group-center > * {
        padding: 6px;
        width: 170px;
    }
}

@media (max-width: 767.98px) {
    .order-success-v2-page .account-title {
        text-align: start;
    }
}

/* 下半部 */
.order-success-wrap {
    margin-top: 5.5rem;
}

.order-success-content {
    padding-left: 3.5rem;
    padding-right: 3.5rem;
}

.order-success-wrap .policy-link-container {
    margin-top: 53px;
    padding-left: 3.5rem;
    justify-content: flex-start;
}

.order-success-wrap .policy-link-container a {
    font-size: 13.5px;
}

@media (max-width: 991.98px) {
    .order-success-wrap {
        margin-top: 1.7rem;
    }

    .order-success-content {
        padding: 0;
    }

    .order-success-wrap .policy-link-container {
        margin-top: 0;
        padding-left: 0;
        display: flex;
    }
}

/* 訂單編號 */
.order-success-content .order-number {
    margin-bottom: 47px;
    font-size: 23px;
    font-weight: 450;
}

.order-success-content .order-number > * {
    margin-bottom: 5px;
}

.order-success-content .order-number .ship,
.order-success-content .order-number .order-tracking {
    font-size: 16px;
    color: var(--primary-color);
}

@media (max-width: 991.98px) {
    .order-success-content .order-number {
        margin-bottom: 43px;
        font-size: 18px;
    }

    .order-success-content .order-number > * {
        margin-bottom: 10px;
        letter-spacing: 1.5;
    }

    .order-success-content .order-number .ship,
    .order-success-content .order-number .order-tracking {
        font-size: 14px;
    }
}

/* 訂購資訊 */
.order-success-content .buyer-view {
    margin-bottom: 52px;
}

.order-success-content .buyer-view .checkout-title {
    margin-bottom: 12px;
}

.order-success-content .buyer-view .buyer-info,
.order-success-content .buyer-view .tax-info {
    color: var(--light-gray-color);
    font-weight: 400;
}

.order-success-content .buyer-view .buyer-info p {
    margin-bottom: 9px;
}

.order-success-content .buyer-view .tax-info p {
    margin-bottom: 0;
}

@media (max-width: 991.98px) {
    .order-success-content .buyer-view {
        margin-bottom: 50px;
    }

    .order-success-content .buyer-view .checkout-title {
        margin-bottom: 9px;
    }

    .order-success-content .buyer-view .buyer-info,
    .order-success-content .buyer-view .tax-info {
        font-size: 15px;
    }

    .order-success-content .buyer-view .buyer-info p,
    .order-success-content .buyer-view .tax-info p {
        margin-bottom: 5px;
    }
}

/* 購買清單 */
.order-success-content .order-items-view {
    width: 70%;
}

.order-success-content .order-items-view .checkout-title {
    margin-bottom: 27px;
}

.order-success-content .order-items-view .orderItem {
    margin-bottom: 28px;
}

.order-items-view .orderItem .size {
    color: var(--light-gray-color);
}

@media (max-width: 991.98px) {
    .order-success-content .order-items-view {
        width: 90%;
    }

    .order-success-content .order-items-view .checkout-title {
        margin-bottom: 15px;
    }

    .order-success-content .order-items-view .cart-details {
        padding-left: 1rem;
    }

    .order-success-content .order-items-view .orderItem img {
        width: 80px;
        height: 80px;
        border: 1px solid var(--light-gray-color);
    }

    .order-success-content .order-items-view .orderItem .orderItem-prod:has(.promoItem) {
        align-self: flex-end;
    }

    .order-success-content .order-items-view .orderItem span.orderItem-qty,
    .order-success-content .order-items-view .orderItem .top .price {
        display: block;
    }

    .order-success-content .order-items-view .prod-info {
        row-gap: 0;
    }

    .order-success-content .order-items-view .orderItem .name {
        margin-bottom: 5px;
    }
}

/* 右邊圖片 */
.order-success-img .img {
    position: relative;
    padding-bottom: 100%;
}

.order-success-img .img img {
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    object-fit: cover;
}

/* --------------------會員表格-------------------- */
.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;
}