/*
Theme Name: Reddy - Bootstrap 5 Online shop HTML CSS Template
Theme URI: https://templatejungle.com/
Author: TemplatesJungle
Author URI: https://templatejungle.com/
Description: Reddy - Bootstrap 5 Online shop HTML CSS Template is specially designed product packaged for Online shop by TemplatesJungle.
Version: 1.1
*/

/*--------------------------------------------------------------
This is main CSS file that contains custom style rules used in this template
--------------------------------------------------------------*/

/*------------------------------------*\
    Table of contents
\*------------------------------------*/

/*------------------------------------------------
CSS STRUCTURE:

1. VARIABLES
2. GENERAL TYPOGRAPHY

--------------------------------------------------------------*/
body {
    --heading-font: "Poller One", Roboto, sans-serif;
    --heading-color: #E93E4B;
    --heading-line-height: 1.24;
    --swiper-theme-color: #A58C81;
    --swiper-pagination-color: #A58C81;
    /* bootstrap */
    --bs-body-font-family: 'Josefin Sans', 'Arial Black', 'Microsoft JhengHei', 'DFKai-SB', 'STHeiti', 'STKaiti', sans-serif;
    --bs-body-font-size: 16px;
    --bs-body-font-weight: 300;
    --bs-body-line-height: 1.5;
    --bs-body-color: #1A1A1A;
    --bs-body-color-rgb: 1.6, 1.6, 1.6;
    --bs-body-bg-rgb: 246, 244, 239;
    --bs-body-bg: #F6F4EF;
    --bs-primary: #E93E4B;
    --bs-secondary: #F6F4EF;
    --bs-black: #000;
    --bs-white: #fff;
    --bs-light: #f8f8f8;
    --bs-dark: #1A1A1A;
    --bs-gray: #9aa1a7;
    --bs-gray-100: #F8F8F8;
    --bs-gray-200: #E8E6E1;
    --bs-gray-300: #DCDAD4;
    --bs-gray-800: #3D3A38;
    --bs-orange: #F68A25;
    --bs-pink: #fddadd;
    --bs-primary-rgb: 233, 62, 75;
    --bs-secondary-rgb: 246, 244, 239;
    --bs-black-rgb: 17, 17, 17;
    --bs-light-rgb: 241, 241, 240;
    --bs-dark-rgb: 33, 37, 41;
    --bs-link-color: #111;
    --bs-link-color-rgb: 255, 255, 255;
    --bs-link-decoration: underline;
    --bs-link-hover-color: #111;
    --bs-link-hover-color-rgb: 255, 255, 255;
    --bs-border-color: #191919;
    --bs-border-radius: 2rem;
    --bs-accordion-btn-active-icon: url("data:image/svg+xml,%3Csymbol xmlns='http://www.w3.org/2000/svg' id='plus' viewBox='0 0 24 24'%3E%3Cpath fill='currentColor' d='M19 12.998h-6v6h-2v-6H5v-2h6v-6h2v6h6z'/%3E%3C/symbol%3E");
}

body {
  letter-spacing: 0.03rem;
}

h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6 {
  font-family: var(--heading-font);
  font-weight: var(--heading-font-weight);
  line-height: var(--heading-line-height);
}

h1.light,
.h1,
h2.light,
.h2,
h3.light,
.h3,
h4.light,
.h4,
h5.light,
.h5,
h6.light,
.h6 {
  color: var(--bs-light);
}

h1,
h2,
h3 {
  margin: 25px 0;
}

h5,
h6 {
  letter-spacing: 1px;
}

h1,
.h1 {
  font-size: 4.125rem;
}

h2,
.h2 {
  font-size: 3.6rem;
}

h3,
.h3 {
  font-size: 2.8rem;
}

h4,
.h4 {
  font-size: 1.8rem;
}

h5,
.h5 {
  font-size: 1.4rem;
}

h6,
.h6 {
  font-size: 1rem;
}

a {
  text-decoration: none;
}

/* container fluid */
.container-fluid {
  max-width: 1800px;
}

label {
    display: inline-block;
    margin-top: 0.5rem;
    margin-bottom: 0.2rem;
    margin-right: 0.5rem;
    line-height: 1.5;
}

@media (min-width: 1600px) {
.container, .container-lg {
    max-width: 1530px;
  }
.container, .container-md {
    max-width: 1200px;
  }
}

/* list group */
.list-group-item {
  --bs-list-group-item-padding-x: 0;
  --bs-list-group-border-width: 0;
}

/* btn */
.btn {
  --bs-btn-border-radius: 0;
}

.btn-primary {
  --bs-btn-color: var(--bs-light);
  --bs-btn-bg: var(--bs-primary);
  --bs-btn-border-color: var(--bs-primary);
  --bs-btn-hover-color: var(--bs-light);
  --bs-btn-hover-bg: var(--bs-dark);
  --bs-btn-hover-border-color: var(--bs-dark);
  --bs-btn-focus-shadow-rgb: 49, 132, 253;
  --bs-btn-active-color: var(--bs-light);
  --bs-btn-active-bg: var(--bs-dark);
  --bs-btn-active-border-color: var(--bs-dark);
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: var(--bs-light);
  --bs-btn-disabled-bg: var(--bs-primary);
  --bs-btn-disabled-border-color: var(--bs-primary);
}

.btn-outline-dark.btn-bg-light {
  --bs-btn-bg: var(--bs-light);
}

.btn-group-lg>.btn, .btn-lg {
  --bs-btn-padding-y: 1rem;
  --bs-btn-padding-x: 2.8rem;
  --bs-btn-font-size: 1.25rem;
}

.btn.btn-shadow {
  box-shadow: 0px 6px 39px 0px rgba(91, 45, 42, 0.20);
}

/* text white */
.text-white {
  --heading-color: var(--bs-light);
  --bs-breadcrumb-item-active-color: var(--bs-light);
  --bs-breadcrumb-divider-color: var(--bs-light);
  --bs-link-color-rgb: var(--bs-light-rgb);
  --bs-link-hover-color-rgb: var(--bs-light-rgb);
}

.text-white .nav-link {
  --bs-nav-link-color: var(--bs-light);
  --bs-nav-link-hover-color: var(--bs-light);
  --bs-nav-link-active-color: var(--bs-light);
  --bs-navbar-active-color: var(--bs-light);
}

/* open-up */
.open-up {
  clip-path: inset(48% 34% 36% 35%);
}
.aos-animate.open-up {
  animation: 1s open-up forwards;
}

@keyframes open-up {
  0% {
    clip-path: inset(48% 34% 36% 35%);
  }

  100% {
    clip-path: inset(0% 0% 0% 0%);
  }
}


/* preloader */
.preloader {
  position: fixed;
  z-index: 99;
  background: var(--bs-dark);
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: height 0.8s cubic-bezier(0.075, 0.82, 0.165, 1);
}

.preloader.loaded {
  height: 0;
}

/* navbar */
.navbar.fixed-top {
  transition: background-color 0.6s ease-out;
}

/* margin */
.my-lg-6 {
  margin-top: 4rem!important;
  margin-bottom: 4rem!important;
}
.my-lg-7 {
  margin-top: 6rem!important;
  margin-bottom: 6rem!important;
}
.my-lg-8 {
  margin-top: 8rem!important;
  margin-bottom: 8rem!important;
}
.my-lg-9 {
  margin-top: 10rem!important;
  margin-bottom: 9rem!important;
}
.my-lg-10 {
  margin-top: 12rem!important;
  margin-bottom: 12rem!important;
}
.mt-lg-0 {
  margin-top: 0rem!important;
}
.mt-lg-6 {
    margin-top: 4rem !important
}
.mt-lg-7 {
    margin-top: 6rem !important
}
.mt-lg-8 {
    margin-top: 8rem !important
}
.mb-lg-0 {
  margin-bottom: 0rem!important;
}

/* padding top and bottom */
.py-lg-6 {
  padding-top: 4rem!important;
  padding-bottom: 4rem!important;
}
.py-lg-7 {
  padding-top: 6rem!important;
  padding-bottom: 6rem!important;
}
.py-lg-8 {
  padding-top: 8rem!important;
  padding-bottom: 8rem!important;
}
.py-lg-9 {
  padding-top: 10rem!important;
  padding-bottom: 9rem!important;
}
.py-lg-10 {
  padding-top: 12rem!important;
  padding-bottom: 12rem!important;
}
.py-lg-11 {
  padding-top: 14rem!important;
  padding-bottom: 14rem!important;
}
.py-lg-12 {
  padding-top: 16rem!important;
  padding-bottom: 16rem!important;
}

/* padding left and right */
.px-lg-6 {
  padding-left: 4rem!important;
  padding-right: 4rem!important;
}
.px-lg-7 {
  padding-left: 6rem!important;
  padding-right: 6rem!important;
}
.px-lg-8 {
  padding-left: 8rem!important;
  padding-right: 8rem!important;
}
.px-lg-9 {
  padding-left: 10rem!important;
  padding-right: 9rem!important;
}
.px-lg-10 {
  padding-left: 12rem!important;
  padding-right: 12rem!important;
}
.px-lg-11 {
  padding-left: 14rem!important;
  padding-right: 14rem!important;
}
.px-lg-12 {
  padding-left: 16rem!important;
  padding-right: 16rem!important;
}

/* padding none */
.pt-lg-0 {
  padding-top: 0rem!important;
}
.pb-lg-0 {
  padding-bottom: 0rem!important;
}

/* - Border Radius
------------------------------------------------------------- */ 
.rounded-6 {
  border-radius: 3rem;
}
.rounded-7 {
  border-radius: 4rem;
}
.rounded-8 {
  border-radius: 5rem;
}
.rounded-9 {
  border-radius: 6rem;
}
.rounded-10 {
  border-radius: 7rem;
}
.rounded-11 {
  border-radius: 8rem;
}

/* - Background Color
------------------------------------------------------------- */ 
.bg-orange {
  background-color: var(--bs-orange);
  opacity: 0.9;
}
.bg-white-trans {
  --bs-bg-opacity: 0.6;
  background-color: rgba(var(--bs-white-rgb),var(--bs-bg-opacity))!important;
}
.bg-gray-2 {
  background-color: var(--bs-gray-200);
}


/* - Font Family
------------------------------------------------------------- */ 
.heading-font {
  font-family: var(--heading-font);
}
.body-font {
  font-family: var(--bs-body-font-family);
}

/* - Display Header
------------------------------------------------------------- */ 
@media (min-width: 1200px) {
  .display-1 {
     font-size: 4.125rem;
  }
 }

/* - Svg Color
------------------------------------------------------------- */ 
.svg-primary {
  fill: var(--bs-primary);
  color: var(--bs-primary);
}
.svg-secondary {
  fill: var(--bs-secondary);
  color: var(--bs-secondary);
}
.svg-gray-2 {
  fill: var(--bs-gray-200);
  color: var(--bs-gray-200);
}
.svg-link-color {
  color: var(--bs-gray-300);
}
.svg-link-color:hover {
  color: var(--bs-primary);
}

/* - flex
------------------------------------------------------------- */
.flex-wrap-0 {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;

    -webkit-flex-wrap: wrap;
    -moz-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    -o-flex-wrap: wrap;
    flex-wrap: wrap;
}

/* - font
------------------------------------------------------------- */

.fs-7 {
    font-size: 0.9rem !important
}


/* - Header
------------------------------------------------------------- */
.head-top {
    width: 100%;
    height: 46px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding: 0 20px;
}
.head-top-bg {
    background-color: var(--bs-gray-800);
}

.head-botton{

}

.offcanvas-body .navbar-nav a.nav-link.active,
.offcanvas-body .navbar-nav a.nav-link:hover {
  color: var(--bs-primary);
}

.top-bar {
    /*width: 100%;*/
    height: 100%;
    float: right;
}
    .top-bar a {
        font-family: Poppins-Regular;
       /* font-size: 12px;*/
        line-height: 2.3;
        /* height: 100%;*/
        color: #b2b2b2;
        border-left: 1px solid rgba(255, 255, 255, 0.3);
        color: var(--bs-white);
    }

.js-show-cart {
    position: relative;
    display: inline-block;
}
.head-top .cart_count {
    background-color: var(--bs-pink);
    color: var(--bs-black);
    font-family: "Opensans-Regular";
     position: absolute;
  /*  position: fixed;*/
    top: 2px;
    right: 10px;
    width: 20px;
    height: 20px;
    text-align: center;
    line-height: 20px;
    border-radius: 50%;
    font-size: 12px;
}

.js-show-favorite {
    position: relative;
    display: inline-block;
}
.head-top .heart_count {
    background-color: var(--bs-pink);
    color: var(--bs-black);
    font-family: "Opensans-Regular";
     position: absolute;
    /*position: fixed;*/
    top: 2px;
    right: 10px;
    width: 20px;
    height: 20px;
    text-align: center;
    line-height: 20px;
    border-radius: 50%;
    font-size: 12px;
}

.head-top .account-name {
    margin: 0px 5px;
    font-size: 0.9rem;
    max-width: 120px;
    overflow: hidden;
}

.head-top .dropdown-menu {
    width: 150px;
}

/* - Billboard
------------------------------------------------------------- */
#intro .pattern-overlay {
    bottom: 0;
}
.content-box {
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}


/* - Product
------------------------------------------------------------- */ 
.product-card .card-detail {
  width: 70%;
  right: 0;
  bottom: -45px;
  left: 0;
}
#product .swiper {
  overflow-y: visible;
}
#product .swiper-pagination {
  bottom: -60px;
}
.swiper-pagination span.swiper-pagination-bullet {
  width: 16px;
  height: 16px;
  transition: 0.2s ease-in-out;
  background: transparent;
  border: 2px solid var(--bs-gray);
  opacity: var(--swiper-pagination-bullet-inactive-opacity, 1);
}
.swiper-pagination span.swiper-pagination-bullet-active {
  background-color: var(--bs-primary);
  border: 2px solid var(--bs-primary);
}

#product .product-card .cart-concern {
  bottom: 0;
  transition: 0.6s ease-in-out;
  cursor: pointer;
}
#product .product-card:hover .cart-concern {
  bottom: 70px;
}



/*聯名周邊-專屬頁*/
#product .swiper-pagination {
    bottom: 100px;
}

#product .product-card .card-detail {
    width: 70%;
    right: 0;
    bottom: -45px;
    left: 0;
}

#product .swiper {
    overflow-y: visible;
}

#product .swiper-slide {
    max-width: 100%;
    max-height: 300px;
    overflow: hidden;
}

#product .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /*overflow: hidden;*/ /* 超出容器的圖片部分會被隱藏 */
}

.product-map {
    max-width: 100%;
    max-height: 500px;
    overflow: hidden;
}
    .product-map img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transform: scale(1,1);
        transition: all 1s ease-out;
    }

        .product-map img:hover {
            transform: scale(1.2,1.2);
        }
    

#product .swiper-pagination {
    bottom: -40px;
}

    #product .swiper-pagination span.swiper-pagination-bullet {
        width: 16px;
        height: 16px;
        transition: 0.2s ease-in-out;
        background: transparent;
        border: 2px solid var(--bs-gray);
        opacity: var(--swiper-pagination-bullet-inactive-opacity, 1);
    }

    #product .swiper-pagination span.swiper-pagination-bullet-active {
        background-color: var(--bs-primary);
        border: 2px solid var(--bs-primary);
    }

/* 隱藏原始 radio，但保留鍵盤操作能力 */
.product-radio input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

/* 定義外框樣式 (看起來像按鈕) */
.product-radio {
    display: inline-block;
    padding: 10px 20px;
    border: 2px solid #ccc;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
}

    /* 當 Radio 被選中時的樣式變化 */
    .product-radio input[type="radio"]:checked + span {
        font-weight: bold;
    }

    .product-radio:has(input:checked) {
        color: #333;
        border: 1px solid #797979 !important;
        border-top: 0 !important;
        border-left: 0 !important;
        border-right: 0 !important;
        border-radius: 0px;
        /* border-bottom: 1px !important;
        border-color: #797979;*/
        font-weight: bold;
    }


/* - Testimonials
------------------------------------------------------------- */
#testimonials .swiper-pagination {
    bottom: 160px;
}


/* - Overview
------------------------------------------------------------- */ 
.video-content .player {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}
.video-content .player a.play-btn {
  width: 123px;
  height: 123px;
}


/* - content
------------------------------------------------------------- */
#contact .content {
    box-shadow: 0px 6px 39px 0px rgba(91, 45, 42, 0.20);
    justify-content: center;
}

#contact button.btn-contact {
    background-color: var(--bs-dark) !important;
    width: 100%;
    min-height: 45px;
    font-size: 1.11rem;
}

#contact button:hover {
    /*color: var(--bs-primary) !important;*/
    box-shadow: 0px 6px 39px 0px rgba(91, 45, 42, 0.20);
}


/* - Event
------------------------------------------------------------- */
#event .swiper-pagination {
    bottom: 160px;
}

#event .event-card .card-detail {
    width: 70%;
    right: 0;
    bottom: -45px;
    left: 0;
}

#event .swiper {
    overflow-y: visible;
}

#event .swiper-pagination {
    bottom: -60px;
}

    #event .swiper-pagination span.swiper-pagination-bullet {
        width: 16px;
        height: 16px;
        transition: 0.2s ease-in-out;
        background: transparent;
        border: 2px solid var(--bs-gray);
        opacity: var(--swiper-pagination-bullet-inactive-opacity, 1);
    }

    #event .swiper-pagination span.swiper-pagination-bullet-active {
        background-color: var(--bs-primary);
        border: 2px solid var(--bs-primary);
    }

#event .event-card .cart-concern {
    bottom: 0;
    transition: 0.6s ease-in-out;
    cursor: pointer;
}

#event .event-card:hover .cart-concern {
    bottom: 70px;
}


/* - login
------------------------------------------------------------- */
#login-modal {
   /* position: fixed;
    right: 0;
    top: 0;*/
}

#login-modal button.btn-login {
    /* right: 10px;
    bottom: 55px;
    height: 50px;*/
    background-color: var(--bs-dark) !important;
    width: 100%;
}

#login-modal button:hover {    
    box-shadow: 0px 6px 39px 0px rgba(91, 45, 42, 0.20);
}

#login-modal .line {   
    text-align: center;
}

/* - Footer
------------------------------------------------------------- */
#footer {
    background-image: url(../images/footer-bg.jpg);
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
    height: 380px;
    background-size: cover;
}
#footer .pattern-overlay {
    transform: rotate(180deg);
    top: -60px;
}


/* - Register
------------------------------------------------------------- */
#register button.btn-register {
    background-color: var(--bs-dark) !important;
    width: 100%;
    min-height: 45px;
    font-size: 1.11rem;
}
#register a {
    font-weight: 500;
    color: #999;
}
    #register a:hover {
        font-size: 1.1rem;
    }

/* - Forget
------------------------------------------------------------- */
#forget button.btn-forget {
    background-color: var(--bs-dark) !important;
    width: 100%;
    min-height: 45px;
    font-size: 1.11rem;
}

#forget a {
    font-weight: 500;
    color: #999;
}

    #forget a:hover {
        font-size: 1.1rem;
    }

/*//////////////////////////////////////////////////////////////////
[ Header favorite ]*/
.wrap-header-favorite {
    position: fixed;
    z-index: 1100;
    width: 100%;
    height: 100vh;
    top: 0;
    right: 0;
    background-color: rgba(0,0,0,0.0);
    visibility: hidden;
    -webkit-transition: all 0.4s;
    -o-transition: all 0.4s;
    -moz-transition: all 0.4s;
    transition: all 0.4s;
}

.header-favorite {
    position: fixed;
    z-index: 1100;
    width: 390px;
    max-width: calc(100% - 30px);
    height: 100vh;
    top: 0;
    right: -400px;
    background-color: #fff;
    -webkit-transition: all 0.4s;
    -o-transition: all 0.4s;
    -moz-transition: all 0.34;
    transition: all 0.4s;
    box-shadow: 0 3px 6px 0px rgba(0, 0, 0, 0.18);
    -moz-box-shadow: 0 3px 6px 0px rgba(0, 0, 0, 0.18);
    -webkit-box-shadow: 0 3px 6px 0px rgba(0, 0, 0, 0.18);
    -o-box-shadow: 0 3px 6px 0px rgba(0, 0, 0, 0.18);
    -ms-box-shadow: 0 3px 6px 0px rgba(0, 0, 0, 0.18);
}

    .header-favorite::after {
        content: "";
        display: block;
        width: 100%;
        height: 9%;
        min-height: 30px;
    }

.show-header-favorite {
    visibility: visible;
    background-color: rgba(0,0,0,0.6);
}

    .show-header-favorite .header-favorite {
        right: 0;
    }

/*---------------------------------------------*/
.header-favorite-title {
    width: 300px;
    max-width: 100%;
    height: 16.5%;
    min-height: 85px;
}

.header-favorite-content {
    height: 99.9vh;
    flex-grow: 1;
    overflow: auto;
    align-content: space-between;
    width: 95%;
}

.header-favorite-wrapitem {
    flex-grow: 1;
    padding: 3px;
}

/*---------------------------------------------*/
.header-favorite-item-img {
    width: 60px;
    position: relative;
    margin-right: 20px;
    cursor: pointer;
}

    .header-favorite-item-img img {
        width: 100%;
    }

    .header-favorite-item-img::after {
        content: '\e870';
        font-family: Linearicons-Free;
        font-size: 16px;
        display: -webkit-box;
        display: -webkit-flex;
        display: -moz-box;
        display: -ms-flexbox;
        display: flex;
        justify-content: center;
        align-items: center;
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        background-color: rgba(0,0,0,0.5);
        color: #fff;
        transition: all 0.3s;
        -webkit-transition: all 0.3s;
        -o-transition: all 0.3s;
        -moz-transition: all 0.3s;
        opacity: 0;
    }

    .header-favorite-item-img:hover:after {
        opacity: 1;
    }

/*---------------------------------------------*/
.header-favorite-item-txt {
    width: calc(100% - 80px);
}

.header-favorite-item-name {
    display: block;
    font-family: Poppins-Regular;
    font-size: 0.95rem;
    color: #555;
    line-height: 1.3;
}

.header-favorite-item-info {
    display: block;
    font-family: Poppins-Regular;
    font-size: 0.8rem;
    color: #888;
    line-height: 1.5;
}

.header-favorite-total {
    font-family: Poppins-Regular;
    font-size: 18px;
    color: #222;
    line-height: 1.3;
}

/*---------------------------------------------*/
@media (max-width: 575px) {
    .header-favorite {
        padding: 30px;
    }

    .header-favorite-title {
        padding-bottom: 35px;
    }
}

/*//////////////////////////////////////////////////////////////////
[ Modal ]*/
.wrap-modal {
    position: fixed;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    z-index: 9000;
    overflow: auto;
    -webkit-transition: all 0.4s;
    -o-transition: all 0.4s;
    -moz-transition: all 0.4s;
    transition: all 0.4s;
    visibility: hidden;
    opacity: 0;
}

.overlay-modal {
    position: fixed;
    z-index: -1;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: #000;
    opacity: 0.8;
}

.show-modal {
    visibility: visible;
    opacity: 1;
}

.colse-modal {
    background: transparent;
}

/*-------------------home index--------------------------*/
.index-img {
   /* background-image: url('/images/banner-image1.jpg');*/
    background-size: cover;
    /* cover;縮放並填滿，不變形但可能裁切 */
    background-position: 20% center; /* 圖片置中 */
    background-repeat: no-repeat;
    width: 100%;
    height: 1080px;
}
/* 當螢幕寬度小於或等於 768px 時（手機裝置常見斷點） */
@media screen and (max-width: 768px) {
    .index-img {
        background-size: cover;
       /*  background-position: left 17% top 60px;*/
        background-position: right 20% top 60px;
        height: auto;
        aspect-ratio: 0.5; /* 讓容器自動維持 4:3 比例 */
        max-height: 85vh;
    }
}



/*--------------------Member---------------------------*/
.member {
    width: 100%; /* 設定父層 div 的寬度 */
    height: 100%; /* 讓高度自動調整 */
}

.user-info {
    min-height: 280px;
}

    .user-info img {
        max-width: 60%; /* 圖片寬度不超過父層的 100% */
        height: auto; /* 保持圖片的原始比例 */
        text-align: center;
        border-radius: 50%; /* 圓形關鍵 */
        object-fit: cover;
    }



.input-wrapper {
    position: relative; /* 父層設為 relative */
    display: inline-block;
}

    .input-wrapper .input-text {
        position: absolute;
        top: 37px;
        right: 13px;
        height: calc(100% - 38px);
        display: flex;
        align-items: center;
        pointer-events: none;
        padding: 0 0.85rem;
        text-align: center;
        white-space: nowrap;
        background-color: #e9ecef;
        border-left: 1px solid #ced4da;
        border-top-right-radius: .15rem;
        border-bottom-right-radius: .15rem;
        z-index: 3; /* 確保層級高於其他元素 */
        pointer-events: auto;
    }

.input-wrapper-login {
    position: relative;
    /*display: inline-block;*/
}

    .input-wrapper-login .input-text {
        position: absolute;
        top: 41px;
        right: 1px;
        height: calc(100% - 42px);
        display: flex;
        align-items: center;
        pointer-events: none;
        padding: 0 0.85rem;
        text-align: center;
        white-space: nowrap;
        background-color: #e9ecef;
        border-left: 1px solid #ced4da;
        border-top-right-radius: .15rem;
        border-bottom-right-radius: .15rem;
        z-index: 3; /* 確保層級高於其他元素 */
        pointer-events: auto;
    }

.input-wrapper-login2 {
    position: relative;
    /*display: inline-block;*/
}

    .input-wrapper-login2 .input-img {
        position: absolute;
        top: 41px;
        right: 38px;
        height: calc(100% - 42px);
        display: flex;
        align-items: center;
        pointer-events: none;
        padding: 0 0.85rem;
        text-align: left;
        white-space: nowrap;
        border-left: 1px solid #ced4da;
        z-index: 2;
    }

    .input-wrapper-login2 .input-btn {
        position: absolute;
        top: 40px;
        right: 0px;
        height: calc(100% - 40px);
        display: flex;
        align-items: center;
        pointer-events: none;
        padding: 0 0.85rem;
        text-align: center;
        white-space: nowrap;
        border-top-right-radius: .2rem;
        border-bottom-right-radius: .2rem;
        z-index: 3; /* 確保層級高於其他元素 */
        pointer-events: auto;
    }

.input-wrapper-register {
    position: relative;
    display: inline-block;
}

    .input-wrapper-register .input-btn {
        position: absolute;
        top: 35px;
        right: 12px;
        height: calc(100% - 35px);
        display: flex;
        align-items: center;
        pointer-events: none;
        padding: 0 0.85rem;
        text-align: center;
        white-space: nowrap;
        border-top-right-radius: .2rem;
        border-bottom-right-radius: .2rem;
        z-index: 3; /* 確保層級高於其他元素 */
        pointer-events: auto;
    }

.input-wrapper-register2 {
    position: relative;
    /*display: inline-block;*/
}

    .input-wrapper-register2 .input-img {
        position: absolute;
        top: 41px;
        right: 50px;
        height: calc(100% - 42px);
        display: flex;
        align-items: center;
        pointer-events: none;
        padding: 0 0.85rem;
        text-align: left;
        white-space: nowrap;
        border-left: 1px solid #ced4da;
        z-index: 2;
    }

    .input-wrapper-register2 .input-btn {
        position: absolute;
        top: 40px;
        right: 12px;
        height: calc(100% - 40px);
        display: flex;
        align-items: center;
        pointer-events: none;
        padding: 0 0.85rem;
        text-align: center;
        white-space: nowrap;
        border-top-right-radius: .2rem;
        border-bottom-right-radius: .2rem;
        z-index: 3; /* 確保層級高於其他元素 */
        pointer-events: auto;
    }

.swal2-container {
    z-index: 9001;
}

.hr-white {
    color: #FFFFFF; /* 針對舊版 IE */
    background-color: #FFFFFF; /* 針對 Chrome, Firefox, Safari */
    height: 1px;
    border: none;
}

.shipping > ul {
    list-style-type: decimal !important;
}

    .shipping > ul a {
        --bs-text-opacity: 1;
        color: rgba(255, 117, 117,var(--bs-text-opacity));
      
    }

        .shipping > ul a:hover {
            font-weight: 600;
        }

/*-----------------other----------------------------*/
.line-rf {
    width: 98%;
    /*height: 36px;*/
    /* line-height: 15px;*/
    text-align: center;
    /* border: 1px;*/
    position: relative;
}

    .line-rf:before, .line-rf:after {
        position: absolute;
        background: #ccc;
        content: "";
        height: 1px;
        top: 50%;
        width: 30%;
    }

    .line-rf:before {
        left: 10px;
    }

    .line-rf:after {
        right: 10px;
    }

/* 分頁樣式 */
.pagination {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    padding-top: 10px;
}

    .pagination li a {
        /*display: block;
        padding: 8px 12px;
        text-decoration: none;
        border: 1px solid gray;
        color: black;
        margin: 0 4px;
        border-radius: 10px;*/
        /* 1. 設定為 Flex 佈局以利置中 */
        display: flex;
        align-items: center;
        justify-content: center;
        /* 2. 固定寬高確保正圓形 (根據字體大小調整，36-40px 是常見最小值) */
        width: 36px;
        height: 36px;
        /* 3. 圓角設為 50% */
        border-radius: 50%;
        /* 4. 原有樣式微調 */
        text-decoration: none;
        border: 1px solid #D0D0D0;
        color: black;
        margin: 0 4px;
        padding: 0; /* 圓形通常不靠 padding 撐開，靠固定寬高 */
        cursor: pointer;
    }

        .pagination li a:hover {
            color: white;
            background-color: #FF9797;
        }

        .pagination li a.active {
            background-color: #FF9797;
            color: white;
            font-weight: 600;
            border-color: #9D9D9D;
        }

        .pagination li a.disabled {
            color: #dddddd;
            cursor: not-allowed;
            pointer-events: none;
        }


/* - pay off
------------------------------------------------------------- */
#pay-modal {
    /* position: fixed;
    right: 0;
    top: 0;*/
}

    #pay-modal button.btn-pay {
        /* right: 10px;
    bottom: 55px;
    height: 50px;*/
        background-color: var(--bs-dark) !important;
        width: 100%;
    }

    #pay-modal button:hover {
        box-shadow: 0px 6px 39px 0px rgba(91, 45, 42, 0.20);
    }

