* {
    outline: none;
    /*transition: .2s ease-out;*/
}
html {
    font-size: 16px;
}
body {
    width: 100%;
    margin: 0px;
    padding: 0px;
    overflow-x: hidden;
    background: #FFFFFF;
    color: #000000;
    font-family: 微軟正黑體, sans-serif;
    font-size: 1rem;
}
a {
    color: #8a5724;
    text-decoration: none;
    transition: .2s ease-out;
}
a:hover,
a:focus,
a:active {
    color: #66487c;
    text-decoration: none;
    transition: .2s ease-out;
}
button {
    cursor: pointer;
}
@media (min-width: 576px) {}
@media (min-width: 768px) {}
@media (min-width: 992px) {}
@media (min-width: 1200px) {}
@media (min-width: 1400px) {}

/* 電腦版選單 */
.navbar-desktop a.nav-link {
    font-size: 1rem;
    color: #8a5724;
    min-width: 100px;
    text-align: center;
}
.navbar-desktop a.nav-link:hover,
.navbar-desktop a.nav-link:focus,
.navbar-desktop a.nav-link:active {
    color: #66487c;
}
.navbar-desktop a.nav-link>* {
    transition: unset;
}

/* 手機版選單 - 全銀幕底色 */
.navbar-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1040;
    width: 100vw;
    height: 100vh;
    background-color: #000;
    opacity: 0;
    transition: opacity .15s linear;
}
.navbar-backdrop.show {
    opacity: 0.5;
}

/* 手機版選單 */
.navbar-mobile {
    height: 100%;
    width: 100%;
    top: 0;
    left: -100%;
    background-color: rgba( 176, 146, 92, 0.92);
    position: fixed;
    z-index: 1060;
    overflow-x: hidden;
    transition: .5s;
}
.navbar-mobile::-webkit-scrollbar {
    width: 6px;
    background-color: whitesmoke;
}
.navbar-mobile::-webkit-scrollbar-thumb {
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    background-color: #555555;
}
.navbar-mobile::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    background-color: whitesmoke;
}
.navbar-mobile.show {
    left: 0px;
}
.navbar-mobile .close:after {
    display: block;
    clear: both;
    content: '';
}
.navbar-mobile .close a {
    padding: 10px 10px;
    transition: .3s;
    font-size: 2rem;
    text-decoration: none !important;
    display: inline-block;
    color: #FFFFFF;
    text-align: center;
    float: right;
}

/* 手機版選單 - 選單 */
ul.navbar-nav-mobile {
    list-style: none;
    padding: 0px;
    margin: 0px;
    width: 100%;
}
ul.navbar-nav-mobile li a {
    padding: 10px 10px;
    transition: .3s;
    font-size: 1.125rem;
    text-decoration: none important;
    display: block;
    color: #FFFFFF;
    text-align: center;
}
ul.navbar-nav-mobile li > ul {
    padding: 0px;
    list-style: none;
}
ul.navbar-nav-mobile li > ul li a {
    padding-left: 68px;
}

/* 右下角工具列 */
.fixed-right-bottom-tools {
    position: fixed;
    right: 12px;
    bottom: 12px;
    z-index: 20;
}
.fixed-right-bottom-tools ul {
    margin: 0px;
    padding: 0px;
    list-style: none;
}
.fixed-right-bottom-tools ul li {
    width: 70px;
    height: 70px;
    margin-top: 10px;
}
.fixed-right-bottom-tools ul li a {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.25rem;
    color: #FFFFFF;
    background: #8a5724;
    border-radius: 100px;
    position: relative;
    box-shadow: 2px 1px 1px rgba(0, 0, 0, 0.15);
}
.fixed-right-bottom-tools ul li.line a {
}
.fixed-right-bottom-tools ul li.facebook a {
}
.fixed-right-bottom-tools ul li.scroll-top {
    display: none;
    transition: unset;
}
@media (min-width: 992px) {
    .fixed-right-bottom-tools {
        right: 24px;
        bottom: 24px;
    }
}

/* 圖片輪播 */
.slick-prev,
.slick-next {
    position: absolute;
    top: 50%;
    display: block;
    margin: 0px;
    padding: 0px;
    -webkit-transform: translate(0, -50%);
    -ms-transform: translate(0, -50%);
    transform: translate(0, -50%);
    cursor: pointer;
    color: #805b9b;
    border: none;
    outline: none;
    background: transparent;
    font-size: 2rem;
    z-index: 1;
}
.slick-prev {
    left: 5px;
}
.slick-next {
    right: 5px;
}
.slick-dots {
    position: absolute;
    bottom: 0px;
    width: 100%;
    padding: 10px 0px;
    margin: 0;
    display: block;
    list-style: none;
    text-align: center;
}
.slick-dots li {
    position: relative;
    display: inline-block;
    margin: 0px 10px;
    padding: 0px;
}
.slick-dots li button {
    font-size: 0;
    line-height: 0;
    display: block;
    padding: 0px;
    border: 0;
    outline: none;
    background: transparent;
}
.slick-dots li button:hover,
.slick-dots li button:focus {
    outline: none;
}
.slick-dots li button:before {
    font-size: 20px;
    line-height: 20px;
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    content: '\f111';
    color: #CCCCCC;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.slick-dots li.slick-active button:before {
    color: #B0925B;
}
@media (min-width: 992px) {
    .slick-prev {
        left: 25px;
    }
    .slick-next {
        right: 25px;
    }
}

/* card */
.card,
.card .card-header,
.card .card-body,
.card .card-footer {
    border: none;
    border-radius: 0px;
    background: transparent;
}

/* card-category */
.card-category {
    max-width: 840px;
    background: #B0925B;
}
.card-category .card-header {
    position: relative;
    padding: 20px;
}
.card-category .card-header .text {
    width: 200px;
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 40px;
    color: #ffffff;
    padding: 0px 10px;
}
.card-category .card-header .link-more {
    color: #F4C162;
    font-size: 1.125rem;
    font-weight: bold;
    position: absolute;
    right: 20px;
    bottom: 20px;
}
.card-category .card-body {
    padding: 0px;
}
.card-category .card-body img {
    width: 100%;
    height: auto;
}
@media (min-width: 768px) {
    .card-category {
        flex-direction: row;
    }
    .card-category .card-header .text {
        padding: 20px 10px;
    }
    .card-category .card-header .link-more {
        font-size: 1.25rem;
        right: unset;
    }
    .card-category .card-body img {
        height: 310px;
        object-fit: cover;
    }
}

/* card-category-2 */
.card-category-2 .card-header {
    position: relative;
    padding: 0px;
}
.card-category-2 .card-header .text {
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 40px;
    color: #ffffff;
    background: #B0925B;
    display: inline-block;
    padding: 8px 16px;
}
.card-category-2 .card-header .link-more {
    color: #B0925B;
    font-size: 1.125rem;
    font-weight: bold;
}
.card-category-2 .card-header .description {
    margin-top: 30px;
    margin-bottom: 30px;
    font-size: 1rem;
    line-height: 30px;
    color: #2b2b2b;
}
.card-category-2 .card-body {
    padding: 0px;
}
.card-category-2 .card-body img {
    width: 100%;
    height: auto;
}
@media (min-width: 1200px) {
    .card-category-2 {
        flex-direction: row;
    }
    .card-category-2 .card-header {
        flex: 1 0 0%;
        margin-right: 100px;
    }
    .card-category-2 .card-header .text {
        padding: 16px 32px;
    }
    .card-category-2 .card-header .link-more {
        font-size: 1.25rem;
    }
    .card-category-2 .card-header .description {
        margin-bottom: 0px;
    }
    .card-category-2 .card-body {
        flex: 0 0 auto;
    }
    .card-category-2 .card-body img {
        height: 310px;
        width: 600px;
        object-fit: cover;
    }
}

/* card-store */
.card-store .card-header,
.card-store .card-body {
    padding: 0px;
}
.card-store .card-header .map {
    border: 10px solid #B0925B;
}
.card-store .card-header .map iframe {
    display: block;
    width: 100%;
    height: 250px;
}
.card-store .card-header .title {
    font-size: 22px;
    font-weight: bold;
    line-height: 50px;
    color: #B0925B;
    text-align: center;
    margin-top: 24px;
    margin-bottom: 0px;
}
.card-store .card-body {
    font-size: 1rem;
    line-height: 30px;
    color: #3e3a39;
    text-align: center;
    padding: 16px 0px;
}

/* card-news-item */
.card-news-item .card-header {
    padding: 0px;
}
.card-news-item .card-header img {
    width: 100%;
    height: auto;
}
.card-news-item .card-body {
    padding: 20px;
    border: 2px solid #d6d7d7;
}
.card-news-item .card-body .category {
}
.card-news-item .card-body .release {
    font-size: 0.875rem;
    color: #768080;
}
.card-news-item .card-body .title {
    font-size: 1rem;
    color: #3e3a39;
    text-align: left;
    margin: 30px 0px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}
.card-news-item .card-body .divider {
    border-top: 2px solid #afafb0;
    position: relative;
}
.card-news-item .card-body .divider:before {
    content: '';
    display: inline-block;
    width: 12px;
    height: 12px;
    background: #afafb0;
    transform: rotate(45deg);
    position: absolute;
    top: -7px;
    left: calc(50% - 4px);
}
.card-news-item .card-body .link-more {
    text-align: center;
    padding-top: 34px;
}
.card-news-item .card-body .link-more a {
    font-size: 1rem;
    color: #3e3a39;
}
@media (min-width: 768px) {
    .card-news-item {
        flex-direction: row;
    }
    .card-news-item .card-header {
        flex: 0 0 auto;
        width: auto;
    }
    .card-news-item .card-header img {
        width: 260px;
        height: 230px;
        object-fit: cover;
    }
    .card-news-item .card-body {
        margin-left: 20px;
    }
}

/* card-news */
.card-news {
    background-color: #FFFFFF;
    border-radius: 2px;
    border: 1px solid #d6d7d7;
}
.card-news .card-header {
    padding: 15px 15px 30px;
}
.card-news .card-header .category {
}
.card-news .card-header .title {
    font-size: 1.25rem;
    color: #3e3a39;
    margin-top: 20px;
}
.card-news .card-header .release {
    font-size: 1.125rem;
    color: #B0925B;
    text-align: right;
    margin-top: 20px;
}
.card-news .card-body {
    padding: 0px 15px 15px;
}
.card-news .card-body .image img {
    margin: 0 auto;
    display: block;
    max-width: 100%;
}
.card-news .card-body .content {
    font-size: 1rem;
    line-height: 28px;
    color: #595757;
    margin-top: 30px;
}
@media (min-width: 1200px) {
    .card-news .card-header {
        padding: 50px 15px 30px;
    }
    .card-news .card-body {
        padding: 0px 15px 50px;
    }
}

/* card-product-item */
.card-product-item ,
.card-product-item .card-header,
.card-product-item .card-body {
    padding: 0px;
}
.card-product-item .card-header a {
    position: relative;
    display: block;
}
.card-product-item .card-header a img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.card-product-item .card-header a:after {
    content: '';
    display: block;
    padding-bottom: 100%;
}
.card-product-item .card-body .badge-list {
    margin-top: 15px;
}
.card-product-item .card-body .badge-list .badge-secondary {
    margin-right: 8px;
}
.card-product-item .card-body .description {
    font-size: 1rem;
    line-height: 28px;
    color: #3e3a39;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    margin-top: 15px;
}

/* list-category */
.list-category {
    width: 100%;
    min-width: 280px;
    list-style: none;
    padding: 0px;
    margin-bottom: 40px;
}
.list-category li.title {
    font-size: 1.125rem;
    font-weight: bold;
    color: #B0925B;
    background: #F9E0BB;
    border-radius: 3px;
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.list-category li.item a {
    padding: 12px 16px;
    display: block;
    font-size: 1rem;
    color: #595757;
}
.list-category li.item:hover a,
.list-category li.item:focus a,
.list-category li.item:active a,
.list-category li.item.active a {
    color: #B0925B;
}

/* nav-previous-next */
.nav-previous-next {
    margin: 50px auto 0px;
}
.nav-previous-next a {
    font-size: 1.5rem;
}

/* 彈跳視窗 */
/* modal */
.modal-backdrop.show {
    opacity: .85;
}
.modal .modal-dialog .modal-content {
    border-radius: 0px;
}

/* modal-product */
.modal-product .modal-dialog {
    margin: 16px;
}
.modal-product .modal-header,
.modal-product .modal-body,
.modal-product .modal-footer {
    padding: 0px;
}
.modal-product .modal-content {
    background: transparent;
    border: none;
}
.modal-product .modal-header {
    padding: 15px 0px;
}
.modal-product .modal-header button {
    font-size: 1.25rem;
    background-color: #FFFFFF;
    margin-right: 0px;
}
.modal-product .modal-body img {
    width: 100%;
}
.modal-product .modal-body .badge-list {
    margin-top: 30px;
}
.modal-product .modal-body .badge-list .badge-purple {
    margin-right: 8px;
}
.modal-product .modal-body  .description {
    font-size: 1rem;
    line-height: 28px;
    color: #ffffff;
    margin-top: 30px;
}
@media (min-width: 576px) {
    .modal-product .modal-dialog {
        max-width: 450px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* 分頁 */
.pagination {
    margin-top: 16px;
    margin-bottom: 16px;
}
.page-item {
    margin: 0px 4px;
}
.page-item .page-link {
    color: #805b9a;
    background-color: transparent;
    border: none;
    border-radius: 50% !important;
    padding: 6px;
    height: 36px;
    min-width: 36px;
    text-align: center;
}
.page-item .page-link:hover,
.page-item .page-link:focus,
.page-item .page-link:active,
.page-item.active .page-link {
    color: #B0925B;
    background-color: #FFFFFF;
    border: none;
    font-weight: bold;
}
.page-item.disabled .page-link {
    color: #B0925B;
    background-color: transparent;
    border: none;
}

/* badge */
.badge-secondary {
    font-size: 1rem;
    color: #ffffff;
    background: #B0925B;
    border-radius: 3px;
    display: inline-block;
    padding: 4px 10px;
}
.badge-purple {
    font-size: 1rem;
    color: #ffffff;
    background: #B0925B;
    border-radius: 3px;
    display: inline-block;
    padding: 4px 10px;
}

/* alert */
.alert {
    border-radius: 0px;
}

/* 表單 */
.form-control {
    font-size: 1rem;
    color: #3e3a39;
    border: 1px solid #B0925B;
    border-radius: 0px;
}
.form-control::placeholder {
    font-size: 1rem;
    color: #3e3a39;
}
.form-control:focus,
.form-control:active,
.form-select:focus,
.form-select:active {
    box-shadow: none;
}
.form-error-message {}

/* 按鈕 */
.btn {
    border-radius: 100px;
}

/* btn-custom-primary */
.btn-custom-primary,
.btn-custom-primary:hover,
.btn-custom-primary:focus,
.btn-custom-primary:active {
    display: inline-block;
    text-align: center;
    background: #B0925B;
    color: #FFFFFF;
    transition: .2s ease-out;
    outline: none;
    box-shadow: none;
}
.btn-custom-primary:hover,
.btn-custom-primary:focus,
.btn-custom-primary:active {
    background: #B0925B;
}

/* 工具類 */
.max-w-140 {
    max-width: 140px;
}
.max-w-720 {
    max-width: 720px;
}
.max-w-880 {
    max-width: 880px;
}

/* 背景 */
.background-white {
    background: #FFFFFF;
}
.background-grey {
    background: #F2F3F3;
}

/* 主體 */
.page-container {
    position: relative;
}

/* 上方區塊 */
.page-header {
    position: sticky;
    top: 0px;
    z-index: 10;
    background-color: #FFFFFF;
}
.page-header .navbar {
    padding: 10px 0px;
}
.page-header .navbar .logo img {
    width: 160px;
    height: auto;
}
.page-header .navbar-toggler {
    color: #B0925B;
    border: none;
    outline: none;
}
.page-header .navbar-toggler:hover,
.page-header .navbar-toggler:focus,
.page-header .navbar-toggler:active {
    border: none;
    box-shadow: none;
    color: #B0925B;
}

/* 中間區塊 */
.page-content {
    min-height: calc(100vh - 80px - 486px);
}
@media (min-width: 768px) {
    .page-content {
        min-height: calc(100vh - 80px - 264px);
    }
}

/* 下方區塊 */
.page-footer .body {
    background: #B0925B;
    padding: 40px 0px;
}
.page-footer .body .logo {
    text-align: center;
}
.page-footer .body .store {
    margin-top: 40px;
}
.page-footer .body .store .title {
    line-height: 50px;
    font-size: 1.125rem;
    font-weight: bold;
    color: #FFFFFF;
     text-align: center; /* 新增文字置中 */
}
.page-footer .body .store .info {
    line-height: 30px;
    font-size: 1rem;
    color: #FFFFFF;
     text-align: center; /* 新增文字置中 */
}
.page-footer .footer {
    text-align: center;
    padding: 6px 0px;
    background: #FFFFFF;

}
.page-footer .footer .copyright,
.page-footer .footer .design,
.page-footer .footer a,
.page-footer .footer a:hover,
.page-footer .footer a:focus,
.page-footer .footer a:active {
    color: #B0925B;
    font-size: 0.875rem;
}
.page-footer .footer .copyright,
.page-footer .footer .design {
    padding: 2px 0px;
    
}


/* 中間區塊 */
.section .section-header,
.section .section-body,
.section .section-footer {
    padding: 25px 0px;
}
.section>section:first-child {
    padding-top: 50px;
}
.section>section:last-child {
    padding-bottom: 50px;
}
.section .section-header .section-title {
    text-align: center;
    font-size: 2rem;
    margin: 0px;
}
@media (min-width: 768px) {
    .section .section-header,
    .section .section-body,
    .section .section-footer {
        padding: 40px 0px;
    }
    .section>section:first-child {
        padding-top: 80px;
    }
    .section>section:last-child {
        padding-bottom: 80px;
    }
}

/* section-cover-slick */
section.section-cover-slick {
    position: relative;
}
section.section-cover-slick .section-header,
section.section-cover-slick .section-body,
section.section-cover-slick .section-footer {
    padding: 0px;
}
section.section-cover-slick .section-header {
    display: none;
}
section.section-cover-slick .section-body * {
    transition: unset;
}
section.section-cover-slick .section-body img {
    height: 300px;
    width: 100%;
    object-fit: cover;
}
@media (min-width: 768px) {
    section.section-cover-slick .section-body img {
        height: 450px;
    }
}

/* section-cover */
section.section-cover .section-header,
section.section-cover .section-body,
section.section-cover .section-footer {
    padding: 0px;
}
section.section-cover .section-header {
    display: none;
}
section.section-cover .section-body img {
    height: 240px;
    width: 100%;
    object-fit: cover;
    object-position: center center;
}
@media (min-width: 768px) {
    section.section-cover .section-body img {
        height: 400px;
    }
}

/* section-home-text */
section.section-home-text {}

/* section-home-price */
section.section-home-price {
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

/* section-home-category */
section.section-home-category {
    background: #FFFFFF;
}
section.section-home-category .section-body > div:first-child {
    padding-top: 0px !important;
}
section.section-home-category .section-body > div:last-child {
    padding-bottom: 0px !important;
}
section.section-home-category .list .card-category {
    margin-bottom: 45px;
}
section.section-home-category .list .card-category:last-child {
    margin-bottom: 0px;
}
@media (min-width: 768px) {
    section.section-home-category .list .card-category:nth-child(2) {
        margin-left: auto;
    }
    section.section-home-category .list .card-category:nth-child(2) .card-header {
        order: 2;
    }
}

/* section-about */
section.section-about {
    background: #FFFFFF;
}
section.section-about > section:last-child {
    padding-bottom: 0px;
}
section.section-about .section-body .text {
    font-size: 1rem;
    line-height: 2rem;
}

/* section-product-category-list */
section.section-product-category-list {
    margin-bottom: -80px;
}
section.section-product-category-list .section-body .card-category-2 {
    margin-bottom: 80px;
}
section.section-product-category-list .section-body .card-category-2:nth-child(even) .card-header .text {
    background: ##B0925B;
}

/* section-product-category */
section.section-product-category .section-body .card-product-item {
    margin-bottom: 40px;
}

/* section-case */
section.section-case .section-body .card-product-item {
    margin-bottom: 40px;
}

/* section-news-list */
section.section-news-list .section-body {
    margin-bottom: -40px;
}
section.section-news-list .section-body .card-news-item {
    margin-bottom: 40px;
}

/* section-news */
section.section-news {}

/* section-store */
section.section-store .section-body {
    margin-bottom: -40px;
}
section.section-store .section-body .card-store {
    margin-bottom: 40px;
}

/* section-contact */
section.section-contact .section-body .text-slogan {
    text-align: center;
    font-size: 1.125rem;
    font-weight: bold;
    line-height: 38px;
    color: #B0925B;
    margin-bottom: 50px;
}
section.section-contact .section-body .left .box {
    border: 2px solid #B0925B;
    font-size: 1rem;
    line-height: 38px;
    letter-spacing: 4px;
    color: #474747;
    padding: 30px 40px;
}
section.section-contact .section-body .left .arrow {
    margin: 50px auto;
    display: block;
}
section.section-contact .section-body .right .map {
    margin-top: 36px;
    padding: 15px;
    background: #ddd9e2;
}
section.section-contact .section-body .right .map iframe {
    width: 100%;
    height: 250px;
    display: block;
}
section.section-contact .section-body .right .information {
    margin-top: 40px;
    font-size: 1rem;
    line-height: 36px;
    color: #3e3a39;
    padding: 0px 30px;
}
@media (min-width: 768px) {
    section.section-contact .section-body .text-slogan {
        margin-bottom: 80px;
    }
}
@media (min-width: 992px) {
    section.section-contact .section-body .line-lg-right {
        border-right: 2px solid #B0925B;
    }
    section.section-contact .section-body .left {
        margin-left: 30px;
        margin-right: 50px;
    }
    section.section-contact .section-body .left .box {
        margin-top: 36px;
    }
    section.section-contact .section-body .right {
        margin-left: 50px;
        margin-right: 30px;
    }
}

/* fix */
.form-control.is-invalid,
.was-validated .form-control:invalid {
    background-position: right calc(.375em + 0.4rem) center;
}
.was-validated textarea.form-control:invalid,
textarea.form-control.is-invalid {
    background-position: top calc(.375em + .1875rem) right calc(.375em + 0.4rem);
}
.form-control.is-valid,
.was-validated .form-control:valid {
    border-color: #ced4da;
    padding-right: .75rem;
    background-image: none;
}
.form-check-input.is-valid~.form-check-label,
.was-validated .form-check-input:valid~.form-check-label {
    color: #231815;
}

/* FIX: 多重彈跳視窗顯示 */
/* TODO SHENG: 非完美處理 */
.modal-backdrop:nth-last-of-type(2) {
    z-index: 1080;
}
.modal:nth-last-of-type(1) {
    z-index: 1100;
}
