/*=========== navbar ==============*/
a.navbar-brand img {
    width: 130px;
    height: auto;
    max-width: 100%;
}

nav.navbar.navbar-default.navbar-fixed.white {
    background-color: #fff;
    height: 90px;
}

.navbar-collapse.collapse {
    position: absolute;
    top: 20px;
    right: 0;
    z-index: 1;
}

nav.navbar.bootsnav ul.nav>li>a {
    font-weight: 600;
    font-size: 1.8rem;
    margin: 5px 0 10px;
}

nav.navbar.bootsnav ul.nav>li>a:hover {
    color: #ba8080;
}

nav.navbar.bootsnav li.dropdown a.dropdown-toggle:before {
    font-size: 2rem;
}

nav.navbar.bootsnav li.dropdown ul.dropdown-menu {
    background: rgb(255 255 255 / 67%) none repeat scroll 0 0;
    margin-top: 15px;
    width: 80%;
}

.sm-block {
    display: none;
}

.col-auto {
    flex: 0 0 auto;
    width: auto
}

.col-1 {
    flex: 0 0 auto;
    width: 8.33333333%
}

.col-2 {
    flex: 0 0 auto;
    width: 16.66666667%
}

.col-3 {
    flex: 0 0 auto;
    width: 25%
}

.col-4 {
    flex: 0 0 auto;
    width: 33.33333333%
}

.col-5 {
    flex: 0 0 auto;
    width: 41.66666667%
}

.col-6 {
    flex: 0 0 auto;
    width: 50%
}

.col-7 {
    flex: 0 0 auto;
    width: 58.33333333%
}

.col-8 {
    flex: 0 0 auto;
    width: 66.66666667%
}

.col-9 {
    flex: 0 0 auto;
    width: 75%
}

.col-10 {
    flex: 0 0 auto;
    width: 83.33333333%
}

.col-11 {
    flex: 0 0 auto;
    width: 91.66666667%
}

.col-12 {
    flex: 0 0 auto;
    width: 100%
}


/*=========== item-container-section  ==============*/

.pb-48 {
    padding-bottom: 48px;
}

.pt-96 {
    padding-top: 96px;
}

.heading {
    margin-bottom: 65px;
}

.heading h2 {
    font-weight: 400;
    font-size: 3rem;
    line-height: 1px;
    color: #8c8c8c;
    font-family: "黑體-繁", "微軟正黑體", sans-serif;
    text-align: center;
}

.Products .heading h2 {
    color: #000;
}

.heading p {
    color: #333;
    font-size: 1.6rem;
}

.product-card {
    margin-bottom: 2px;
    display: inline-grid;
    justify-items: center;
}

.product-card .showcase-box {
    position: relative;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    margin-bottom: 16px;
    border-radius: 25px 0 25px 0;
}

.product-card .showcase-box img {
    object-fit: cover;
    -webkit-transition: all 0.6s linear 0s;
    transition: all 0.6s linear 0s;
}


.item-container {
    position: relative;
    width: 270px;
    /* 依你圖片大小調整 */
    height: 270px;
}

.item-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.item-img-hover {
    opacity: 0;
}

.item-container:hover .item-img-hover {
    opacity: 1;
}

.item-container:hover .img-default {
    opacity: 0;
}

.product-card .title {
    display: inline-flex;
    font-weight: 400;
    font-size: 2rem;
    line-height: 2;
    color: #2C2D2F;
    margin-bottom: 10px;
}

.product-card a:hover {
    color: #e8bbc0;
}

/*=========== Products-container-section  ==============*/

.Products .owl-carousel {
    max-height: 100% !important;
}

.owl-nav {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100vw;
    /* 滿版寬度 */
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    pointer-events: none;
    /* 避免擋到 carousel 滑動事件 */
    z-index: 99999;
}

.owl-carousel .owl-dots.disabled,
.owl-carousel .owl-nav.disabled {
    display: block !important;
}

.owl-theme .owl-nav {
    width: 100% !important;
}

.owl-theme .owl-nav [class*=owl-],
.Products .owl-prev,
.Products .owl-next {
    pointer-events: all;
    color: #fff;
    border: none;
    padding: 8px;
    font-size: 2rem;
    cursor: pointer;
    border-radius: 50%;
    margin: 0 8px;
    background: #d6d6d694;
    width: 50px;
}

.Products .owl-prev {
    margin-left: 10px;
    /* 可以視情況調整 */
    position: absolute;
    left: 0px;
}

.owl-prev::before {
    content: "\f104";
    /* ← Font Awesome 左箭頭的 unicode */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    /* solid 樣式 */
    font-size: 24px;
    color: #fff;
}

.Products .owl-next {
    margin-right: 10px;
    position: absolute;
    right: 0px;
}

.owl-next::before {
    content: "\f105";
    /* ← Font Awesome 左箭頭的 unicode */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    /* solid 樣式 */
    font-size: 24px;
    color: #fff;
}

/*=========== 最新資訊 ==============*/
.mb-3 {
    margin-bottom: 3rem;
}

.justify-content-center {
    justify-content: center !important;
}

.blog-text .heading p {
    color: #bfbfbf;
    font-size: 1.6rem;
}

.mb-24 {
    margin-bottom: 24px;
}

.blog-card .image-block img {
    width: 100%;
    height: auto;
    object-fit: cover;
    /*    -webkit-transition: all 0.6s linear 0s;
    transition: all 0.6s linear 0s;*/
}

/*.blog-card:hover .image-block img {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
    -webkit-transition: all 0.6s linear 0s;
    transition: all 0.6s linear 0s;
}*/

.blog-card .text-block {
    padding: 0 20px 20px;
}

.blog-card .text-block .ab-blog {
    display: flex;
    align-items: center;
    margin: 0;
}

.blog-card .text-block .ab-blog p {
    font-size: 1.6rem;
    font-weight: 400;
    margin: 0 0 16px 0;
    line-height: 150%;
    letter-spacing: 0.03em;
}

.blog-card .text-block a {
    color: #ba8080;
    font-size: 1.8rem;
}

.blog-card .text-block a:hover {
    color: #717071;
}

.skin-container {
    position: relative;
    width: 300px;
    /* 依你圖片大小調整 */
    height: 336px;
}

.skin-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.Products .owl-carousel .owl-item img {
    border: none;
}

/*=========== 部落格blog ==============*/
.top-image {
    width: 100%;
    padding: 120px;
}

.g-py-100 {
    padding-top: 7.14286rem !important;
    padding-bottom: 7.14286rem !important;
}

.ml-auto,
.mx-auto {
    margin-left: auto !important;
}

.mr-auto,
.mx-auto {
    margin-right: auto !important;
}

.g-bg-white {
    background-color: #fff !important;
}

.g-pos-rel {
    position: relative !important;
}

.g-z-index-1 {
    z-index: 1;
}

.g-width-80x {
    width: 80% !important;
    max-width: 80%;
}

.g-pa-30 {
    padding: 30px !important;
}

.g-mt-minus-50 {
    margin-top: -3.57143rem !important;
}

.mtb-5 {
    margin-top: 5px;
    margin-bottom: 5px;
}



h2.g-color-black {
    font-size: 1.9rem;
    line-height: 1.4;
    color: #333;
}

h2.g-color-black a:hover {
    color: #ba8080;
}

.g-font-weight-600 {
    font-weight: 600 !important;
}

.g-font-size-17 {
    font-size: 1.7rem;
    color: #ba8080;
}

.g-font-size-17:hover {
    color: #717071;
}

/*=========== social-sidebar ==============*/
.social-sidebar {
    position: fixed;
    top: 30%;
    right: 55px;
    width: 50px;
    /* ⚡拉寬一點，避免卡住圖片 */
    padding: 10px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1000;
    background: url(../images/icon/icon-social-sidebar.png) no-repeat center;
    
    border-radius: 50px;
    border: 1px solid #e3c0ba;
    background-color: #fff;
}

.social-sidebar .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    /* 稍微大一點，方便圓形效果 */
    height: 45px;
    margin: 10px 0;
    background-color: transparent;
    border-radius: 50%;
    transition: all 0.3s;
    background-repeat: no-repeat;
    background-size: 40px 40px;
    /* 小圖尺寸 */
    background-position: center center;
}



/* 每個按鈕設定自己的小圖 */
.btn-line {
    background: url('../images/icon/icon-social-btn-line.png') no-repeat center;
}

.btn-facebook {
    background: url('../images/icon/icon-social-btn-facebook.png') no-repeat center;
}

.btn-instagram {
    background: url('../images/icon/icon-social-btn-instagram.png') no-repeat center;
}

.btn-top {
    background: url('../images/icon/icon-social-btn-top.png') no-repeat center;
    transition: opacity 0.5s, transform 0.5s, background-color 0.3s;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
}

.btn-top.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* hover效果：每個平台專屬顏色 */
.btn-line:hover {
    background: url('../images/icon/icon-social-btn-line-hover.png') no-repeat center;
}

.btn-facebook:hover {
    background: url('../images/icon/icon-social-btn-facebook-hover.png') no-repeat center;
}

.btn-instagram:hover {
    background: url('../images/icon/icon-social-btn-instagram-hover.png') no-repeat center;
}

.btn-top:hover {
    background: url('../images/icon/icon-social-btn-top-hover.png') no-repeat center;
}


/*=========== footer ==============*/

.pd-non {
    padding: unset !important;
}

Footer .hidden,
div .hidden {
    overflow: hidden;
    display: block !important;
}

.footer-info1 {
    background: url(../images/footer/footer1.jpg) no-repeat center top;
    background-size: cover;
    padding: 40px 170px;
}

.footer-info2 {
    background: url(../images/footer/footer2.jpg) no-repeat center top;
    background-size: cover;
    padding: 40px 170px;
}

.f-main {
    background-color: #ffffff91;
    padding: 25px 20px;
    position: relative;
    z-index: 10;
    border-radius: 20px;
}

.f-main img {
    max-width: 150px;
    display: block;
    margin: 0 auto;
}

.f-title {
    padding: 5px;
    border-bottom: 1px solid #000;
    display: block;
    width: 100px;
    margin: 0 auto 20px auto;
    color: #333;
    font-weight: 500;
    letter-spacing: 1px;
}

.f-main p {
    text-align: center;
    font-size: 1.5rem;
    line-height: 2;
    color: #333;
}

.copyright-pa-30 {
    padding: 14px 10px;
    background-color: #e3c0ba;
    position: relative;
    bottom: 0;
}

.align-self-md-center p {
    font-size: 1.5rem !important;
    color: #000;
    margin: 0;
}



/*=========== media ==============*/

@media (min-width: 576px) {

    .container,
    .container-sm {
        max-width: 540px;
    }

    .tutorial-img img {}

    .sm-tutorial-img img {
        display: none;
    }
}


@media (min-width: 768px) {
    nav.navbar.bootsnav .navbar-toggle {
        top: -80px;
        right: 0;
    }

    nav.navbar.bootsnav .navbar-collapse.collapse.in {
        right: 0;
    }

    .container,
    .container-md,
    .container-sm {
        max-width: 720px;
    }
}




@media (min-width: 992px) {

    .container,
    .container-lg,
    .container-md,
    .container-sm {
        max-width: 960px;
    }
}


@media (min-width: 1200px) {

    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl {
        max-width: 1140px;
    }
}


@media screen and (min-width: 1200px) {
    .container {
        max-width: 1200px;
    }
}

@media (min-width: 1400px) {

    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl,
    .container-xxl {
        max-width: 1320px;
    }
}

@media (max-width: 1023px) {

    .navbar-header {
        position: relative;
    }

    nav.navbar.bootsnav.navbar-fixed .logo-scrolled {
        width: 100%;
        height: auto !important;
    }

    .navbar-brand>img {
        position: relative;
        left: -300px;
    }

    nav.navbar.bootsnav .navbar-header {
        height: 100px;
    }

    nav.navbar.bootsnav .navbar-toggle {
        float: right;
        margin-right: 0;
        margin-top: 0;
        font-size: 3.5rem;
        position: absolute;
        top: 30px;
        right: 0;
        z-index: 99;
    }

    nav.navbar.bootsnav .navbar-collapse.collapse {
        background-color: #fff;
    }

    nav.navbar.bootsnav .navbar-collapse.collapse.in {
        padding-top: 0;
        right: 32px;
        top: 90px;
        width: 50%;
    }

    nav.navbar.bootsnav .navbar-brand {
        height: 100px !important;
    }

    nav.navbar.bootsnav ul.nav li.dropdown ul.dropdown-menu>li>a {
        font-size: 1.7rem;
        padding: 15px;
    }

}

@media (max-width: 991px) {
    nav.navbar.bootsnav .navbar-toggle {
        top: -70px !important;
        right: 15px !important;
    }

    nav.navbar.bootsnav .navbar-collapse.collapse.in {
        right: 80px;
        top: 90px;
    }

    .lg-block {
        display: none;
    }

    .sm-block {
        display: block !important;
    }
}

@media (max-width: 767px) {
    nav.navbar.bootsnav .navbar-nav {
        margin-bottom: 5px;
    }

    .footer-info1,
    .footer-info2 {
        padding: 40px 50px;
    }

    .navbar-brand>img {
        position: relative;
        left: -250px;
    }

    nav.navbar.bootsnav .navbar-toggle {
        top: -80px;
        right: 0;
    }

    nav.navbar.bootsnav .navbar-collapse.collapse.in {
        right: 30px;
    }

    .smt-30 {
        margin-top: 30px;
    }

    .skin-container img {
        width: 90%;
    }
}

@media (max-width: 590px) {
    nav.navbar.bootsnav .navbar-toggle {
        right: -20px !important;
    }

    .social-sidebar {
        right: 80px;
    }
}


@media (max-width: 575px) {
    .tutorial-img img {
        display: none;
    }

    .sm-tutorial-img img {
        width: 100%;
        height: auto;
    }

    .navbar-brand>img {
        position: relative;
        left: -175px;
    }

    nav.navbar.bootsnav .navbar-nav {
        padding-right: 40px;
    }

    .skin-container img {
        width: 75%;
    }

    nav.navbar.bootsnav .navbar-toggle {
        right: 35px !important;
    }

    nav.navbar.bootsnav .navbar-collapse.collapse.in {
        right: 90px;
    }

    .social-sidebar {
        top: 475px;
    }
}


@media (max-width: 500px) {


    .navbar-brand>img {
        position: relative;
        left: -130px;
    }

    .skin-container img {
        width: 80%;
    }

    .spr-10 {
        padding-right: 10px;
    }
}

@media (max-width: 445px) {
    nav.navbar.bootsnav .navbar-toggle {
        right: 10px !important;
    }

    .social-sidebar {
        right: 22px;
    }

    nav.navbar.bootsnav .navbar-collapse.collapse.in {
        right: 20px;
    }
}



.content img {
    height: unset !important;
}

/*box-img 1x1*/
.box-img {
    overflow: hidden;
    width: 100%;
    padding-top: 100%;
    position: relative;
}

.box-img img {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/*box-img 16x9*/
.box-img-16-9 {
    overflow: hidden;
    width: 100%;
    /* ✅ 關鍵：限制在 col-md-4 寬度內 */
    padding-top: calc(9 / 16 * 100%);
    /* 16:9 比例 */
    position: relative;
}

.box-img-16-9 img {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    max-width: unset;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    /* 避免圖片底部多一點空隙（inline bug）*/
}