/* <--------- 系統色 ci #cc193e  #d8a1a6 ----------> */

/*  a hover style*/
.title-menu-dynamics a:hover, .title-menu-dynamics a:focus {
    color: #d8a1a6 !important;
}
.bg-color-badge {
    background-color: #d8a1a6;
}
.bg-color-gradient {
    background-color: #989898 !important;
}
.bg-light-yellow {
    background-color: #ffc10724;
    border-radius:3px;
    box-shadow: 1px 2px 5px #d5d5d5;
}
.blog-border-more a {
    color: #cc193e !important;
}
.blog-border-more a:hover {
    color: #cc193e !important;
    text-decoration: double;
    text-decoration: underline;
    text-underline-offset: 5px;
    text-decoration-thickness: 2px;
}
.system-color-ci {
    color: #d8a1a6 !important;
}
.system-color-red {
    color: #cb193e !important;
}
.line-share-border {
    background-color: #00C300;
    padding: .4375rem .75rem;
    color: #fff !important;
    font-size: 0.875rem;
    border-radius: .25rem;
}
.line-share-border:hover {
    box-shadow: 0px 1px 5px #ccc !important;
}
.bg-light-ci {
    color: #fff;
    padding: 2px 10px !important;
    background-color: #c7a598;
}
.box-show-ci {
    box-shadow: 0px 0px 6px #d8a1a6 !important;
}
.box-show-item {
    box-shadow: 0px 0px 6px #d8a1a6 !important;
    border: 1px #d8a1a6 solid;
}
.bg-light-gray {
    color: #000;
    padding: 2px 10px !important;
    background-color: #e7e7e7;
}
/*  swiper style*/
.swiper-button-next:after, .swiper-button-prev:after {
    font-size: 1.725rem !important;
    color: #151515 !important;
    font-weight: 600 !important;
    left: 20px;
}

/*  price style*/
.old-price {
    font-size: 14px;
    color: #929292;
    text-decoration: line-through;
}
.new-price {
    font-size: 18px;
    font-weight: 500;
    color: #cc193e;
}

/*  btn style*/

.btn-deafult-solid {
    font-weight: 600;
    color: #fff !important;
    border: 1px #d8a1a6 solid !important;
    background: #d8a1a6;
}
.btn-deafult-hollow {
    font-weight: 600;
    color: #d8a1a6 ;
    border: 1px #d8a1a6 solid !important;
    background: none !important;
}
.btn-deafult-system {
    font-weight: 600;
    color: #fff !important;
    background: #cb193e;
}
.btn-deafult-systemd:active {
    font-weight: 600;
    color: #fff !important;
    background: #cb193e;
}
.btn-deafult-system:hover, .btn-deafult-systemd:focus {
    font-weight: 600;
    color: #fff !important;
    background: #cb193e;
}
.btn-deafult-solid:hover, .btn-deafult-solid:focus {
    font-weight: 600;
    color: #ffffff !important;
    border: 1px #d8a1a6 solid !important;
    background: #cb193e;
}
.btn-deafult-hollow:hover, .btn-deafult-hollow:focus {
    color: #fff !important;
    background: #d8a1a6 !important;
}

#ckContent img, #ckContent input, #ckContent p {
    width: 100% !important;
    height: auto !important;
}
*, *::after, *::before {
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
  }

a, button {
    color: inherit;
    display: inline-block;
    line-height: inherit;
    text-decoration: none;
    cursor: pointer;
}
.fw-300 {
    font-weight: 300 !important;
}

/* input-disabled  */
.input-disabled-style {
    border: 1px #dddddd solid;
    padding: 4px 16px;
    font-size: 16px;
    background-color: #efefef4d;
    border-radius: 3px;
    width: 100%;
    height: 45px;
    line-height: 2.2;
    
}

/* 標題hover css*/
.fix-height-35{
    height: 35px !important;
    line-height: 2;
}
.fix-height-45 {
    height: 45px;
    line-height: 2;
}
.cursor-pointer {
    cursor: pointer !important;
}
.text-red {
    color: #ff0000; 
 }
.text-gray {
     color: gray;
 }
 .text-gray-2 {
    color: #494949;
}
.text-light-grey {
    color: #666666;
}
 .border-color-gray {
    border-color: gray;
 }
.bg-green-line {
    background-color: #00c300;
}
.bg-red-google {
    background-color: #DC4E42;  
}
.bg-blue-facebook {
    background-color: #3c599b;  
}
.bg-basic {
    background-color: #fad1ce78!important;
    border-radius: 5px;
    padding: 1.25rem;
}
.nav-link:focus, .nav-link:hover {
    color: #3a3a3a;
}
.my-10 {
    margin-bottom: 5rem;
    margin-top: 5rem;
}
/* top logo start*/
.main-wrapper {
    width: 100%;
}
.header.header {
    position: fixed !important;
    background-color: #ffffff;
    left: 0;
    top: 0;
    width: 100%;
    z-index: 999;
}
.header-logo {
    height: 80px;
    padding: 0px 0;
    display: flex;
    align-items: center;
}
.footer-logo-item {
    height: 100px;
    padding: 10px 0;
    display: flex;
    align-items: center;
}
.header-logo a, .footer-logo-item a {
    height: 100%;
}
.header-logo img, .footer-logo-item img {
    max-width: 100%;
    max-height: 100%;
}
/* top logo end*/
.title-menu-dynamics>a:after {
    content: '';
    top: calc(50% + 12px);
    left: 0%;
    width: 100%;
    height: 2px;
    border-top-width: 2px;
    border-top-style: solid;
    border-top-color: #8b0005;
    position: absolute;
}

.main-menu>ul>li>a {
    margin: none;
    font-size: 16px;
    font-weight: 400;
    padding: 40px 0;
    margin: 0 13px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.seesaw-container-spacing {
    padding-top: 30px;
    padding-bottom: 30px;
}
.section-title {
    font-size: 1.875rem;
    font-weight: 600;
    margin-bottom: 30px;
    text-align: center;
}
.text-ellipsis {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
}
.text-ellipsis-2 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}
.single-grid-product .product-image {
    margin-bottom: 10px;
}

.single-grid-product .product-content .title {
    line-height: 1.25;
    font-size: 16px;
    margin-bottom: 0.5rem;
    min-height: 30px;
}
.single-grid-product .product-image {
    margin-bottom: 1rem;
}
.footer-widget .title {
    font-size: 18px;
}
.footer-widget p {
    font-size: 14px;
}
.footer-widget > .ft-menu > li > a {
    font-size: 16px;
    font-weight: 300 !important;
}
.ft-menu li span {
    font-weight: 300 !important;
}
.footer-social-flex {
    display: flex;
    align-items: center;
}
.footer-social-flex li {
    margin-right: 20px;
}
/* .footer-widget .company-info img {
    width: 30px;
    height: 30px;
    margin-right: 0.25rem;
} */
.offcanvas-widget-area .company-info img {
    width: 15px;
    height: 15px;
    margin-right: 0.25rem;
}
.footer-title-h3 {
    margin-bottom: 16px;
    font-size: 18px;
    font-weight: 600;
}
.scrollup-fixed {
    cursor: pointer;
    position: fixed;
    bottom: 25%;
    right: 2%;
    z-index: 99;
}

.offcanvas-navigation > ul > li > a {
    font-size: 17px;
    padding: 6px 0;
    font-weight: 500;
    color: #666666;
}
.offcanvas-navigation ul.submenu2 > li > a {
    font-size: 16px;
    line-height: 10px;
    padding: 10px 0;
    margin-left: 10px;
    color: #666666;
}
.sidebar-title {
    font-size: 20px;
}
.bottom_nav {
    position: fixed;
    bottom: 0;
    z-index: 2;
    overflow: auto;
    background-color: #fff;
    width: 100%;
    height: 55px;
    box-shadow: 0px 0px 3px 3px #c3b9af4a;
}

.header-mobile-navigation {
    padding: 5px 0;
}
.shop-distance-section {
    padding: 3.75rem 0;
}
.logout-topbtn {
    padding: 3px 24px;
    border: #000 solid 1px;
    border-radius: 3px;
}
.myaccount-tab-menu a svg {
    font-size: 14px;
    text-align: center;
    width: 25px;
}
.myaccount-tab-menu a:hover svg path,
.myaccount-tab-menu a.active svg path,
.edit-topbtn a.active svg path,
.edit-topbtn:hover svg path {
    fill: #ffffff;
}
/* svg {
    vertical-align: middle;
    margin-bottom: 4px;
    transition: all 0.6s ease-in-out;
}
svg path {
    transition: 1s all ease;
} */
.border-style-item {
    width: 35px;
    height: 35px;
    border: 1px #ccc solid;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4px;
}
/* svg  改變顏色  color css */

/* 鼠标悬停在class="currency-menu"元素内的div元素上时，添加緩慢渲染的动画 ，鼠标悬停在該元素内的SVG图标上时，更改填充颜色 */*/
li.currency-menu .border-style-item,
li.mini-cart .border-style-item {
    transition: border-color 0.3s ease-in-out;  /* 调整时间和过渡效果以满足您的需求 */
}

li.currency-menu:hover, 
li.currency-menu a:hover,
li.mini-cart:hover,
li.mini-cart a:hover {
    color: #d8a1a6;
}
li.currency-menu:hover .border-style-item,
li.mini-cart:hover .border-style-item {
    border-color: #d8a1a6;
}
li.currency-menu:hover svg, 
.svg-dynamic:hover svg path, 
.svg-dynamic:focus svg path,
.svg-dynamic-2 svg path,
li.mini-cart:hover svg, .btn-border-rounded:hover svg {
    fill: #d8a1a6 !important;
}
.svg-dynamic svg path, .svg-dynamic-2:hover svg path, .svg-dynamic-2:focus svg path {
    fill: #fff !important;
}

.myaccount-content h3 {
    border-bottom: 0 solid #eeeeee;
} 
.myaccount-content {
    overflow-x: auto;
    padding: 15px !important;
}
.account-details-form {
    padding: 15px;
}
.member-lv {
    padding: 7px 32px;
    background-color: #000;
    border-radius: 5px;
    color: #fff;
}
.account-row {
    display: flex;
    align-items: center;
}
.form__input {
    width: 100%;
    padding: 0 15px !important;
    height: 45px;
    border: 1px solid #dddddd !important;
    color: #2b2b2b !important;
    border-radius: 3px !important;
}
.account-top,
.google-bind,
.line-bind {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
.qrcode-share {
    display: inline-grid;
}
.p-center, .modal-flex {
    display: flex;
    align-items: center;
}
.idcard {
    height: 205px !important;
    width: 100%;
    cursor: pointer;
}
.idcard img {
    height: 205px;
    width: 100%;
    border-radius: 0.375rem;
}
.idcard:hover {
    box-shadow: 2px 3px 6px #8F8F8F;
    border-radius: 5px;
    height: 205px;
    width: 100%;
}
.orderTable .border-bottom:last-child,
.walletTable .border-bottom:last-child {
    border-bottom: 1px solid #eeeeee00 !important;
}
.walletTable th {
    width: 20%;
}
.walletItem .card:hover {
    border-color: #000;
}
.wallet-item {
    border: 1px #CCC solid;
    padding: 1rem;
    border-radius: 3px;
}
.listactive .order-state-start, .listactive .order-state-middle, .listactive .order-state-end {
    background-color: #E2E2E2 !important;
}
.order-state-start {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 40px;
    border: 1px #E2E2E2 solid;
    border-radius: 3px 0px 0px 3px;
}
.order-state-middle {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 40px;
    border: 1px #E2E2E2 solid;
}
.order-state-end {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 40px;
    border: 1px #E2E2E2 solid;
    border-radius: 0px 3px 3px 0px;
}
.order-state-start:hover,
.order-state-middle:hover,
.order-state-end:hover,
.order-state-start:focus,
.order-state-middle:focus,
.order-state-end:focus {
    background-color: #E2E2E2;
}
.orderTable tr td {
    height: 90px;
}
.vm-tbody tbody {
    vertical-align: middle;
}
.nice-select {
    line-height: 45px;
    padding: 0.25rem 0.875rem;
}
.nice-select-2 {
    padding: 0.25rem 0.725rem;
    height: 35px;
    font-size: 14px;
    border: 1px #aeaeae solid;
    border-radius: 5px;
}
.breadcrumb-section {
    margin-top: 100px;
    padding: 15px 0;
    width: 100%;
    background-color: #F1F1F1;
}
.breadcrumb-section .page-breadcrumb li {
    margin-top: 0;
}
#check_buy {
    position: fixed;
    bottom: 65px;
    z-index: 1;
    overflow: auto;
    background-color: #fff;
    width: 100%;
    height: 55px;
    box-shadow: 0 0 3px 3px #00000016;
}
.section-title h2 {
    font-size: 26px;
    color: #151515;
}
.moblie-order-container {
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-left: 15px;
    padding-right: 15px;
}

.nice-select-2 .current {
    font-size: 14px !important;
}

.box-spacing-item {
    padding-top: 3.75rem;
    padding-bottom: 3.75rem;
}
.distance-section {
    padding: 3.75rem 1rem;
}
.blog-time-presentation {
    font-size: 14px;
    color: #737373;
}
.blog-border-show {
    box-shadow: 1px 1px 3px #ccc;
}
.blog-border-show:hover {
    border: 1px #ff0000 solid;
    box-shadow: #22222220 2px 3px 3px;
    transition: transform 0.3s;
}
.blog-media img {
    width: 100%;
    -webkit-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}
 

.blog-content {
    padding: 1rem;
}
.blog-time-presentation {
    font-size: 14px;
    color: #737373;
}
.title-part {
    font-size: 18px;
    font-weight: 600;
}
.blog-content .title-part {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    margin-bottom: 8px;
}
.content .tags {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}
.content .tags li {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    line-height: 24px;
    margin-right: 15px;
    font-size: 14px;
}
.sub-menu {
    width: 18rem;
    border-top: 3px solid;
    border-image: linear-gradient(to right, #aeaeae, #666666) 1;
}
.sub-menu li a {
    font-size: 16px;
    line-height: 30px;
    font-weight: 500;
}
.header-cart, .currency-dropdown {
    margin-top: 25px;
    border-top: 3px solid;
    border-image: linear-gradient(to right, #d8a1a6, #cb193e) 1;
}
.text-letter-spacing {
    letter-spacing:2px;
}
.text-letter-spacing p {
   color: #666;
}

.map-item iframe {
    width: 100%;
    height: 450px;
}
.mbase-section {
    background-color: #ffffff;
    font-size: 16px;
    border: 1px solid #eeeeee;
    padding: 15px;
}
.nav-pills .nav-link.active {
    color: #ffffff;
    background-color: #cb193e;
    text-align: center;
    font-weight: 500;
    border: 0px #000 solid;
}
.nav-pills-all .nav-pills .nav-link.active {
    color: #cb193e;
    background-color: #ccb78c00;
    text-align: center;
    font-weight: 500;
    border: 0px #000 solid;
}
.nav-pills-all .nav-link img {
    width: 45px;
    height: 45px;
}
.nav-pills .nav-link {
    color: #333;
    font-weight: 500;
}
.navs-tabs-btn {
    font-size: 1.125rem;
    color: #000000;
    font-weight: 700;
    width: 100%;
    background-color: #D9D9D9;
    text-align: center;
    padding: 8px 16px !important;
    border-top-left-radius: 3px !important;
    border-bottom-left-radius: 3px !important;
    border-top-right-radius: 3px !important;
    border-bottom-right-radius: 3px !important;
    -webkit-appearance: none;
    -webkit-border-radius: 0;
    -webkit-padding-start: 0;
}
.navs-tabs-btn-mobile {
    padding: 0.5rem;
    font-size: 0.875rem;
    color: #000000;
    width: 100%;
    /* background-color: #D9D9D9; */
    text-align: center;
    border-top-left-radius: 3px !important;
    border-bottom-left-radius: 3px !important;
    border-top-right-radius: 3px !important;
    border-bottom-right-radius: 3px !important;
}
.mobile-sub-menu {
    width: 25%;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    text-align: center;
    line-height: 1 !important;
    padding-left: 0.875rem;
    padding-right: 0.875rem;
}
.mobile-sub-menu img.active {
    background-color: #EAEAEA;
    padding: 5px;
    border-radius: 50%;
}

/* .modal  */
.modal-header-2 {
    padding: var(--bs-modal-header-padding);
    border-bottom: var(--bs-modal-header-border-width) solid var(--bs-modal-header-border-color);
    border-top-left-radius: var(--bs-modal-inner-border-radius);
    border-top-right-radius: var(--bs-modal-inner-border-radius);
}

/* <---------------  優惠劵css  ---------------> */
.coupon-item {
    width: 100%;
    height: 120px;
    border-radius: 5px;
    overflow: hidden;
    position: relative;
    display: flex;
}
.coupon-item-start {
    width: 80px;
    height: 120px;
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    /* background: radial-gradient(circle farthest-corner at right,#f44504,#8a0005); */
    /* background: radial-gradient(circle farthest-corner at left,#efdb80,#be9f54); */
    background-color: #DC3545;
    
}
.coupon-item-center {
    width: 80%;
    height: 120px;
    right: 40px;
    left: 80px;
    padding: 15px;
    flex: 1;
    position: absolute;
    color: #FFF;
    border-top: 1px #DC3545 solid;
    border-bottom: 2px #DC3545 solid;
    background-color: #ffefbe4f;
    /* background-image: linear-gradient(315deg, #ff8325 0%, #ffc156 60%, #ffe06d 100%); */
}
.coupon-item-end {
    position: absolute;
    right: 0px;
    top: 0px;
    bottom: 0px;
    /* width: 40px; */
    height: 100%;
    font-size: 20px;
    color: #fff;
    font-weight: 600;
    border-right: 2px #DC3545 solid;
    /* border-left: 3px dashed white; */
    /* background: radial-gradient(circle farthest-corner at left,#f44504,#8a0005); */
    /* background: radial-gradient(circle farthest-corner at left,#efdb80,#be9f54); */
    background-color: #DC3545;
    -webkit-writing-mode: vertical-rl;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    
}
.coupon-text {
    display: -webkit-box; 
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 20px;
    color: #363636;
    font-weight: bold;
}
.coupon-text-2 {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    padding-top:3px ;
    text-overflow: ellipsis;
    font-size: 12px;
    color:#363636;
    word-wrap:break-word;
    font-weight: bold;
}
.coupon-text-3 {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden ;
    text-overflow: ellipsis;
    font-size: 12px;
    color: #838383;
    word-wrap:break-word;
}
.coupon-item:after {
    content: "";
    position: absolute;
    display: block;
    width: 10px;
    height: 10px;
    z-index: 2;
    top: -5px;
    left: 35%;
    background: #fff;
    border-radius: 5px;
    border: 1px #DC3545 solid;
}
.coupon-item:before {
    bottom: -5px;
    content: "";
    position: absolute;
    display: block;
    width: 10px;
    height: 10px;
    z-index: 2;
    left: 35%;
    background: #fff;
    border-radius: 5px;
    border: 1px #DC3545 solid;
}

/* 按鈕 btn start*/
.btn-check:checked+.btn, .btn.active, .btn.show, .btn:first-child:active, :not(.btn-check)+.btn:active {
    color: #151515 !important;
}
.btn_2 {
    line-height: 2;
    padding: 5px 10px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border-radius: 3px;
    transition: 0.3s ease;
    display: inline-block;
}
.btn-round {
    height: 40px;
    width: 40px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.btn-full {
    height: 45px;
    width: 100%; 
    line-height: 45px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border-radius: 3px;
    transition: 0.3s ease;
    display: inline-block;
}



/* 綁定 */
.to-bind-bg {
    display: flex;
    align-items: center;
    background-color: #f4fffc;
    padding: 10px 20px;
    border-radius: 3px;
    box-shadow: 1px 1px 3px #ccc;
}
/* checkbox  單選框*/

.checkbox-1 {
    width: 16px;
    height: 16px;
    border: 1px solid #A6A6A6;
    border-radius: 50%;
    background-color:#DEDEDE;
}
.checkbox-auto {
    display: flex;
    align-items: center;
}
.checkbox-auto input {
    margin-left: 0.25rem;
    width: auto !important;
    height: auto !important;
    cursor: pointer !important;
    vertical-align: baseline;
}
.checkbox-auto label {
    margin-left: 0.25rem;
    /* font-size: 1rem !important; */
    cursor: pointer !important;
}
.payment-options-item input, .payment-options-item label {
    cursor: pointer !important;
}
/* checkbox 點擊後效果 */
/* #check:checked + label {
    color: #000;
    font-weight: bold;
} */

.login-style {
    border: 1px solid #ccc;
    height: 45px;
    line-height: 45px;
    border-radius: 3px;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    width: 100%;
    color: #fff !important;
}
.share-community {
    height: 30px;
    width: 30px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}
/* 購物車流程 */
.quantity-minus {
    height: 35px;
    width: 35%;
    border: 1px #ccc solid;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom-left-radius: 3px !important;
    border-top-left-radius: 3px !important
}
.quantity-plus {
    height: 35px;
    width: 35%;
    border: 1px #ccc solid;
    display: flex;
    align-items: center;
    justify-content: center;
    border-top-right-radius: 3px !important;
    border-bottom-right-radius: 3px !important
}
.quantity-input {
    height: 35px;
    width: 100%;
    padding: 3px 10px;
    border: 1px solid #dddddd;
    color: #151515;
    text-align: center;
    border-left: none;
    border-right: none;
    border-radius: 0px !important;
}
.quantity-minus-h30, .quantity-plus-h30 {
    height: 30px !important;
    width: 25%;
}
.quantity-input-h30 {
    height: 30px !important;
    width: 100%;
}
.quantity-minus-h45, .quantity-plus-h45 {
    height: 45px !important;
    width: 30%;
}
.quantity-input-h45 {
    height: 45px !important;
    width: 100%;
}

.quantity-minus img, .quantity-plus img {
    width: 12px;
}
.quantity-btn {
    color: #fff;
    height: 35px;
    width: 100%;
    line-height: 2;
    text-align: center;
    border-radius: 3px;
    transition: 0.3s ease;
    display: inline-block;
}

.quantity-btn:hover {
    border: 1px #151515 solid;
    background-color: #fff;
    color: #151515;
}

/* <--------------- 購物步驟  ---------------> */

.shopping-steps-section {
    width: 100%;
    margin: 0 0 1.5rem 0;
    border: 1px #ccc solid;
    padding: 3.75rem 0.5rem;
    border-radius: 3px;
}
.progress {
    counter-reset: step;
    background-color: #00000000;
    font-size: 18px;
    font-weight: 600;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.progress li {
    list-style-type: none;
    width: 33.33%;
    position:relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column
}
.progress li:before {
   content:counter(step);
   counter-increment: step;
   width: 50px;
   height: 50px;
   border-radius: 50%;
   border: 1px #ccc solid;
   display: flex;
   align-items: center;
   justify-content: center;
   margin: 0 auto 10px auto;
   background-color: #fff;
}
.progress li:after {
    content:"";
    position: absolute;
    top: 25px;
    left: -50%;
    z-index: -1;
    width: 100%;
    height: 1px;
    background-color: #ccc;

 }
 .progress li:first-child:after {
    content: none;
 }
 .progress li.active {
    color: #151515;
 }
 .progress li.active:before {
    border-color: #ff0000;
    border: 5px #ff0000 solid;
 }
 .progress li.active + li:after {
    background-color: #ff0000;
 }

 
/* 彈性盒子 */
.flex-start-between {
    display: flex;
    align-items:flex-start;
    justify-content: space-between;
}
.flex-center {
    display: flex !important;
    align-items: center !important;
}
.flex-center-start {
    display: flex;
    align-items: center;
    justify-content:flex-start;
}
.flex-start-end {
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
}


/* swiper 輪播 按鈕 */
.swiper-button-next {
    right: 20px !important;
}
.swiper-button-prev {
    left: 20px !important;
}

.swiper-button-next:after {
    font-size: 1.725rem !important;
    margin-right: -28px;
    font-weight: bold;
}
.product-area-img .mySwiper .swiper-slide {
    width: 25%;
    height: 100%;
    opacity: 0.4;
    cursor: pointer;
  }
.product-area-img .mySwiper .swiper-slide-thumb-active {
    opacity: 1;
    cursor: pointer;
  }
.product-area-img .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* .carousel-block .swiper-slide img {
    display: block;
    width: 100% !important;
    object-fit: cover;
} */

/* 標題  */
.title-block {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}
.sidebar-list li {
    margin-bottom: 5px;
}
.sidebar-list li a {
    font-size: 18px;
    line-height: 26px;
    padding: 3px 0;
}

.common-sidebar-widget {
    margin-bottom: 30px;
    padding-bottom: 40px;
}
.shop-topbar-wrapper {
    margin: 0 0 30px;
}
.product-name {
    white-space: normal;
    text-transform: uppercase;
    color: #151515;
    font-size: 14px;
    line-height: 20px;
    text-overflow: ellipsis;
    word-wrap: break-word;
    overflow: hidden;
    width: 155px;
}
.multiline-ellipsis {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
    letter-spacing: 1px;
}

.multiline-ellipsis-2 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    letter-spacing: 1px;
}

.login-register-section hr {
    color: #B7B7B7;
    margin: 1.875rem 0;
}
.form-fild {
    margin-bottom: 1.25rem;
}
.form-login-title {
    text-align: center;
    margin-bottom: 30px;
}

.icon-facebook img, .icon-line img {
    width: 30px;
    margin-right: 10px;
}
.icon-position-section {
    position: relative;
    display: inline-block;
    width: 100%;
}
.icon-position-section svg {
    position: absolute;
    left: 15px;
    top: calc(50% - 0.5em);
}
.icon-position-section input, .icon-position-section select {
    padding: 0 30px 0px 35px !important;
}
.text-embossing p {
    text-align: center;
    margin: 1.875rem;
    font-size: 0.875rem;
    width: 80% !important;
    color: #888787;
    line-height: 100%;
    background-image: url(https://image.mycard520.com/globalmycard/images/member_aside_title_line.png);
    background-position: center center;
}

/* table  */
.table-row {
    display: table-row;
}

.display-table {
    display: table;
    width: 100%;
    border-collapse: collapse;
}

.table-cell {
    display: table-cell;
    word-wrap: break-word;
    padding-bottom: 0.5rem;
}
.table-hr-w {
    /* border-bottom: 1px #ccc solid; */
    width: 90%;
    margin-bottom: 16px;
}

.table-cell-w25 {
    width: 25%;
    display: table-cell;
    word-wrap: break-word;
    padding-bottom: 0.5rem;
}


/* 貨態 timeline */
.timeline-sessions li.active {
    border-left: 1px solid #222222;
}
.timeline-sessions li {
    padding: 0px 0px 15px 20px;
    border-left: 1px solid #e2e2e2;
    position: relative;
    &:last-child{
        border: 0px;
        padding-bottom: 0;
      }
}
.timeline-sessions li.active:before {
    content: '';
    background: #222222;
}

.timeline-sessions li.active2:before{
    content: '';
    background: #222222;
    position: absolute;
    left: -6px;
    top: 0px;
}
.timeline-sessions li:before {
    content: '';
    width: 15px;
    height: 15px;
    background-color: #e2e2e2;
    border-radius: 50%;
    position: absolute;
    left: -8px;
    top: 0px;
}

.accordion-button {
    color: #000;
    text-align: left;
    background-color: #EAEAEA;
    border-left: 5px #B7B7B7 solid;
    border-radius: 3px;
    overflow-anchor: none;
    transition: var(--bs-accordion-transition);
    margin: 1rem 0;
    padding: 0.875rem;
}
.accordion-item:first-of-type .accordion-button {
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
}
.accordion-button:not(.collapsed) {
    padding: 0.875rem;
    color: #000;
    font-weight: 600;
    border-left: 5px #000 solid;
    background-color: #EAEAEA;
}
.accordion-button:focus {
    border-color: #000;
}

.badge {
    font-size: 0.75rem;
    width: 1.3rem;
    height: 1.3rem;
    /* background-color: #ff0000; */
    border-radius: 50%;
    transform: translate(-50%, -50%);
    position: absolute;
    top: 5%;
    left: 85%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.header-search-cart-area {
    text-align: none;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 15px 0;
}
.header-search-cart-area > ul > li > a {
    font-size: 24px;
    height: auto;
    width: 100%;
    display: block;
    align-items: center;
    justify-content: flex-end;
    line-height: unset;
    text-align: center;
}
.member-sub-menu {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
}
.boeder-item-wallet {
    border: 1px #CCC solid;
    padding: 1.25rem 1rem;
    border-radius: 3px;
    /* width: 100%; */
}

.wallet-item-icon a img {
    width: 30px !important;
    height: 30px !important;
}

/* 影片 */
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 0px;
    overflow: hidden;
}
.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

}
.default-address-item {
    background-color: #F9BC00;
    color: #fff;
    border-radius: 3px;
    padding: 3px 8px;
    font-size: 12px;
    letter-spacing: 2px;
    margin-left: 4px;
    /* border: 1px #fff solid; */
    /* box-shadow: 0px 1px 3px #cf9c01; */
}
.product-spacing-item {
    padding-top: 2.5rem !important;
    padding-bottom: 2.5rem !important;
}
@media (max-width:575px) {
    .web {
        display: none !important;
    }
    .phone-bottom {
        padding-bottom: 65px;
    }
    .carousel-block {
        margin-top: 4.5rem;
        /* margin-top: 0; */
        padding-bottom: 1.875rem;
    }
    .breadcrumb-section {
        margin-top: 65px;
        /* margin-top: 0px; */
    }
    .mbase-section {
        background-color: #ffffff;
        font-size: 16px;
        border: 1px solid #eeeeee;
        padding: 0;
    }
    .myaccount-tab-menu a {
        font-size: 1rem;
        border-bottom: none;
        border-left: none;
        border-right: none;
    }
    .rwd-show {
        display: none !important;
    }
    .seesaw-container-spacing {
        padding-top: 10px !important;
        padding-bottom: 10px !important;
    }
    .offcanvas-inner-content {
        padding: 0px 12px  0 20px;
    }
    .header-logo {
        height: 50px !important;
        padding: 5px 0 !important;
    }
    .header-mobile-navigation {
        padding: 5px 0 !important;
    }
    .shop-distance-section {
        padding: 3.75rem 0;
    }
    .box-spacing-item {
        padding-top: 2.5rem !important;
        padding-bottom: 2.5rem !important;
    }
    
    .product-spacing-item {
        padding-top: 0rem !important;
        padding-bottom: 2.5rem !important;
    }
    .login-form {
        padding: 3.75rem 1.25rem;
        border-radius: 3px;
        background-color: #fff;
        border: 0px solid #d8a1a6;
        box-shadow: 0px 0px 8px #d8a1a6;
        margin: 80px 0;
    }
    .timeline-text {
        font-size: 14px;
        font-weight: 500;
    }
    .timeline-span {
        font-size: 12px;
        font-weight: 500;   
    }
    .table-cell-w25 {
        width: 45% !important;
        display: table-cell;
        word-wrap: break-word;
        padding-bottom: 0.5rem;  
    }
    .table-hr-w {
        /* border-bottom: 1px #ccc solid; */
        width: 100% !important;
        margin-bottom: 12px; 
    }
    .border-style-item {
        width: 30px;
        height: 30px;
        border: 1px #ccc solid;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 4px;
    }
    .badge {
        font-size: 0.75rem;
        width: 1.3rem;
        height: 1.3rem;
        /* background-color: #ff0000; */
        border-radius: 50%;
        transform: translate(-50%, -50%);
        position: absolute;
        top: 10%;
        left: 75%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    #line-bg-all {
        width: 100vw;
        height: 100vh;
        /* background: linear-gradient(to right, #F3A7A7 50%, #D96680 100%); */
        background:  #FFFFFF;
    }
    .lottery-text-5 {
        width: 5.5rem !important;
        height: 4.25rem !important;
    }
   
}
@media (min-width:576px) {
    .mobile {
        display: none  !important;
    }
    .carousel-block {
        margin-top: 5.5rem;
        padding-bottom: 1.875rem;
    }
    .login-form {
        padding: 3.75rem 1.5rem;
        border-radius: 3px;
        background-color: #fff;
        box-shadow: 2px 3px 4px #ccc;
    }
    .timeline-text {
        font-size: 1.125rem;
        font-weight: 600;   
    }
    .timeline-span {
        font-size: 1rem;
        font-weight: 600;   
    }
    
}




/* <-----------  mobile css  phone  手機版css------------> */



#bottom_nav {
    position: fixed;
    bottom: 0;
    z-index: 2;
    overflow: auto;
    background-color: #fff;
    width: 100%;
    height: 55px;
    box-shadow: 0px 0px 3px 3px #c3b9af4a;
}
.line-member-avatar img {
    width: 50px !important;
    height: 50px !important;
    border-radius: 50%;
    background-color: #fff;
    margin-right: 10px;
    padding: 2px;
    box-shadow: 0px 0px 6px #d8a1a6;
}
.line-member-avatar-2 {
    display: flex;
    align-items: center;
    flex-direction: column;
}
.border-dashed {
    border-bottom-style:dashed;
    border-bottom-color:#d77e7b80;
    margin: 10px auto;
}

.sec_style {
    border: 1px #d8a1a6 solid;
    border-radius: 50px;
    padding: 0.5rem 1.3rem;
    word-break: break-all;
    flex-grow: 2;
    text-align: center;
    margin-left: 0.25rem;
    margin-right: 0.25rem;
}
.sec_style:active, .sec_style.active  {
   background-color: #d8a1a6;
   color: #fff;
}
.min-height-110px {
    min-height: 110px !important;
}
.searchform-3 {
    max-width: 100%;
    padding: 0px 15px;
}
.search-input-3 {
    height: 60px;
    width: 100%;
    border: none;
    border-radius: 5px;
}
.search-input-3-position {
    position: absolute;
    top: 30px;
    right: 10px;
    transform: translate(-50%, -50%);
    /* calc(100% - 200px - 2em); */
}

/* <---------------  紅包 css  ---------------> */
.lottery-item {
    width: 100%;
    height: 140px;
    border-radius: 5px;
    overflow: hidden;
    position: relative;
    display: flex;
    letter-spacing:2px;
}
.lottery-item-start {
    padding: 12px;
    flex: 1;
    width: 65%;
    height: 140px;
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    position: absolute;
    background-color: #cb193ede;
}
.lottery-item-center {
    width: 80px;
    height: 140px;
    padding: 12px;
    flex: 1;
    position: absolute;
    color: #FFF;
    background-color: #cb193ede;
}
.lottery-item-end {
    width: 35%;
    height: 140px;
    right: 0;
    bottom: 0;
    padding: 12px;
    font-size: 20px;
    color: #fff;
    position: absolute;
    font-weight: 600;
    /* border-right: 1px #DC3545 solid;
    border-top: 1px #DC3545 solid;
    border-bottom: 1px #DC3545 solid; */
    background-color: #cb193ede;   
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    
}
.lottery-text {
    display: -webkit-box; 
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 22px;
    text-shadow: 0px 3px 6px #535353;
    color: #F5D258;
    font-weight: bold;
    text-align: center;
    margin-bottom: 0.5rem;
}
.lottery-text-2 {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: .725rem;
    color:#fff;
    word-wrap:break-word;
    text-align: center;
}
.lottery-text-3 {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden ;
    text-overflow: ellipsis;
    font-size: 1rem;
    color: #fff;
    word-wrap:break-word;
    text-align: center;
}
.lottery-text-4 {
    box-shadow: 0px 3px 3px #ccc;
    background-color: #fff;
    border-radius: 0.5rem;
    width: 4.875rem;
    height: 3.725rem;
    padding: 0.25rem;
    font-size: 1.25rems !important;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.lottery-text-5 {
    box-shadow: 0px 3px 3px #ccc;
    background-color: #fff;
    border-radius: 0.5rem;
    width: 8.725rem;
    height: 4.125rem;
    padding: 0.25rem;
    font-size: 1.25rem !important;
    display: flex;
    align-items: center !important;
    justify-content: center !important;
    flex-direction: column;
}
.lottery-item-end  div {
    text-align: center;
}
.lottery-item:after {
    content: "";
    position: absolute;
    display: block;
    width: 10px;
    height: 10px;
    z-index: 2;
    top: -5px;
    left: 65%;
    background: #fff;
    border-radius: 5px;
    border: 1px #cb193ede solid;
}
.lottery-item:before {
    bottom: -5px;
    content: "";
    position: absolute;
    display: block;
    width: 10px;
    height: 10px;
    z-index: 2;
    left: 65%;
    background: #fff;
    border-radius: 5px;
    border: 1px #cb193ede solid;
}
.scheme-border .row {
    border: 1px #e7e6e6 solid;
}
.scheme-border .row.active {
    border: 2px #cc193e solid;
}
.norm-show {
    border: 1px solid #ccc;
    background-color: #95959500;
    border-radius: 5px;
    position: relative;
}
.norm-show:hover,.norm-show:focus {
    border: 2px solid #cc193e;
    border-radius: 5px;
}
.norm-show-active {
    position: absolute;
    bottom: 0;
    right: -1px;
    width: 0;
    height: 0;
    border: 15px solid;
    border-bottom-right-radius: 3px;
    border-color: transparent #cc193e #cc193e transparent;
}
.norm-show-check {
    position: absolute;
    bottom: -4px;
    right: 0;
}


/* 分頁效果 pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 20px 0;
    font-family: Arial, sans-serif;
    font-size: 12px; /* 将字体大小从 14px 改为 12px */
}

.pagination button {
    padding: 5px 8px; /* 稍微减小按钮的内边距 */
    border: 1px solid #ddd;
    background-color: white;
    color: #333;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 12px; /* 将按钮字体大小从 14px 改为 12px */
}

.pagination button:hover:not([disabled]) {
    background-color: #f0f0f0;
}

.pagination button.active {
    background-color: #553c1e;
    color: white;
    border-color: #553c1e;
}

.pagination button:disabled {
    background-color: #f5f5f5;
    color: #999;
    cursor: not-allowed;
}

.pagination .dots {
    padding: 5px 8px; /* 调整省略号的内边距以匹配按钮 */
    color: #333;
}
.white-space-pre-wrap {
    white-space:pre-wrap !important;
}
.word-break-break-all {
    word-break:break-all
}