/* 手機／平板首頁先禁止整頁水平捲動，避免被拉出白邊 */
html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

/* 嚙賢�賂蕭嚙� */
main {
    width: 100%;
    max-width: 720px;
    padding: 2rem;
    margin: 0 auto;
}

.toggle-el {
    padding: 2rem;
    height: 240px;
    background: white;
    transition: all 0.2s ease;
    opacity: 1;
    margin-top: 1rem;
    overflow: hidden;
}

.dh-information-bar {
    /*display: none;*/
}

.margin-header {
    margin-top: 118px !important;
}

.dh-navbar.uk-active {
    top: 38px !important;
}

.ctl-content-group-serial .dh-button {
    border-radius: 87px;
}

.dh-form-quantity-plus::before {
    width: 4px;
}

.dh-form-quantity-dash::after,
.dh-form-quantity-plus::after {
    height: 4px;
}

input[type=checkbox].hide-input:checked+.toggle-el {
    height: 0;
    opacity: 0;
    padding-top: 0;
    padding-bottom: 0;
}

input.hide-input {
    position: absolute;
    left: -999em;
}

label.toggle {
    text-align: center;
    display: inline-block;
    cursor: pointer;
    padding: 0.5em 1em;
    font-size: 1rem;
    color: #242424;
    background: #b5b5b5;
    border-radius: 3px;
    user-select: none;
}

h3 {
    color: #ff8674;
    margin-left: 3px;
    padding-bottom: 10px;
}

h3 span {
    font-weight: 500;
    font-size: 16px;
    color: #6F7274;
}

.fixRightHistory {
    z-index: 11;
    position: fixed;
    bottom: 180px;
    right: 0;
    cursor: pointer;
}

.circleHis {
    background: #efbc92;
    width: 45px;
    height: 45px;
    font-size: 1.4rem;
}

.circleFBHis,
.circleHis {
    text-align: center;
    box-shadow: 2px 2px 6px rgba(0, 0, 0, .4);
    margin-right: 18px;
    padding-top: 1px;
    color: #fff;
    border-radius: 50%;
    border: 1px solid #fff;
}

/* dHSHOP */
.carousel-section {
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: none;
}

.carousel-section::-webkit-scrollbar {
    width: 10px;
}

.carousel-section::-webkit-scrollbar-button {
    background: transparent;
    border-radius: 4px;
}

.carousel-section::-webkit-scrollbar-track-piece {
    background: transparent;
}

.carousel-section::-webkit-scrollbar-thumb {
    border-radius: 20px;
    background-color: rgb(212 212 212);
    border: 1px solid white;
}

.carousel-section::-webkit-scrollbar-track {
    background-color: rgb(241 241 241);
    border-radius: 20px;
}

.carousel-slide {
    width: 45%;
}

.section-title {
    display: inline-block;
    width: 100%;
    margin-top: 50px;
}

.section-title h3 {
    float: left;
    color: #ff8674;
    font-size: 28px;
}

.section-title div {
    font-weight: 500;
    font-size: 18px;
    color: #6F7274;
    margin: 7px auto;
}

/*嚙踝蕭嚙踝蕭蝚䈑蕭��矋蕭*/
.wp-block-quote {
    margin: 10px 0 !important;
    padding: 30px !important;
    text-align: left;
    quotes: none;
    box-sizing: border-box;
    font-weight: 400;
    position: relative;
    border-left: 0 !important;
    background: #f4f7f6;
    border-radius: 20px;
}

.wp-block-quote {
    border-left: 0.25em solid;
    margin: 0 0 1.75em;
    padding-left: 1em;
}

.wp-block-quote:before {
    content: "";
    background-image: url(//blog.dhconcept.com/wp-content/themes/blog-prime/assets/icons/icon-quote-top.svg);
    width: 30px;
    height: 31px;
    position: absolute;
    top: 5px;
    left: 20px;
    padding: 0;
    background-color: transparent;
    margin: 0 auto;
}

/* ��僐�𡄯蕭�㜺��𡄯蕭閰刻�� */
.dh-filter-tag-bar {
    overflow: hidden;
    display: inline-block;
    white-space: nowrap;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 10px;
}

.dh-filter-tag-bar::-webkit-scrollbar {
    width: 10px;
}

.dh-filter-tag-bar::-webkit-scrollbar-button {
    background: transparent;
    border-radius: 4px;
}

.dh-filter-tag-bar::-webkit-scrollbar-track-piece {
    background: transparent;
}

.dh-filter-tag-bar::-webkit-scrollbar-thumb {
    border-radius: 20px;
    background-color: rgb(212 212 212);
    border: 1px solid white;
}

.dh-filter-tag-bar::-webkit-scrollbar-track {
    background-color: rgb(241 241 241);
    border-radius: 20px;
}

/* 嚙踝蕭嚙踝蕭嚙踝蕭 */
.fb-comments.fb_iframe_widget.fb_iframe_widget_fluid_desktop,
#itemComments,
#itemCommentsDetail {
    display: none;
}

.embed-responsive {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    overflow: hidden;
    height: 0;
    padding-bottom: 56.25%;
}

.embed-responsive-16by9::before {
    padding-top: 56.25%;
}

.embed-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.carousel-sheild {
    display: flex;
}

.card-text {
    font-weight: bolder;
    margin: 100px 0 60px 0px;
    padding: 0 10px;
    height: 50px;
}

.card-text-title {
    color: #4A4A4A;
    font-size: 20px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-top: 24px;
    margin-bottom: 0;
    font-weight: 700;
}

.card-text-des,
.card-text-des,
.style-list .card-text-des a {
    font-size: 16px;
    font-weight: 400;
    color: #6F7274;
    text-overflow: ellipsis;
    white-space: initial;
    /* display: -webkit-box; */
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    margin-top: 4px;
    min-height: 70px;
}

.card-film {
    box-shadow: 0px 0px 10px 0px #c1c1c1;
    margin: 5px;
    border-radius: 17px;
    width: 30%;
}

.more_btn {
    position: absolute;
    right: 0px;
    top: 58px;
}

.style-list-btn {
    background: #fff;
    border: 0;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.25);
    border-radius: 32px;
    width: 117px;
    height: 38px;
    position: absolute;
    right: 15px;
    bottom: 15px;
    text-align: center;
    padding-top: 5px;
    color: #000;
}

.product-section .carousel-slide {
    display: inline-block;
    vertical-align: top;
    max-width: 540px;
    height: 400px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.25);
    border-radius: 17px;
    margin: 0 10px;
    margin-bottom: 10px;
    background-size: cover;
}

.combinesection .style-list {
    float: initial;
}

.combinesection .carousel-sheild {
    display: block;
}

.style-list {
    position: relative;
    /* width: calc(100%/3 - 20px); */
    width: calc(100%/3.5);
    border-radius: 17px;
    /* box-shadow: 0px 0px 60px -10px #c1c1c1; */
    /* float: left; */
    margin: 0px 10px;
    display: inline-block;
}

.style-list img {
    width: 100%;
    border-radius: 17px;
}

.style-list-combine img {
    width: 100%;
    border-radius: 20px;
}

.style-list.style-list-combine {
    display: inline-block;
    width: 45%;
}

.style-list-combine div {
    width: calc(100% - 0%);
    float: left;
    padding: 0% 0;
}

.style-list-combine a.style-list-btn {
    /* right: 40px; */
    bottom: 50px;
    background: #ff8674;
    color: white;
}


.row {
    display: inline-block;
}

.style-list a {
    top: 82%;
    right: -10px;
    color: #4A4A4A;
    max-width: 100px;
}

.carousel-consult {
    float: left;
    flex: 4;
}

.carousel-consult-store img {
    width: 90%;
    max-width: 242px;
    margin: 10px;
    box-shadow: 0px 0px 40px -20px #000;
}

.carousel-social-btn {
    flex: 1;
    margin-left: 20px;
}

/* .carousel-social-btn {
    display: flex;
    border-radius: 21px;
    flex: none;
    box-shadow: 0px 2px 14px rgb(74 74 74 / 22%);
    padding: 22px;
    margin: 0 16px;
} */
.carousel-social-btn-i {}

.carousel-social-btn-i img {
    background: #ff8674;
    padding: 7px 8px 0px;
    border-radius: 50%;
}

.carousel-slide-consult .carousel-social-btn-t h3 {
    font-size: 20px;
}

.carousel-social-btn-a {
    transform: scale3d(1, 2.5, 2);
}

.carousel-social-btn-i,
.carousel-social-btn-a,
.carousel-slide-consult .carousel-social-btn-t h3 {
    color: #ff8674;
}

.carousel-social-btn-i,
.carousel-social-btn-t,
.carousel-social-btn-a {
    align-self: center;
    margin: 0 5px;
}

.carousel-slide .card-text-title {
    font-weight: 700;
    font-size: 32px;
    color: #1D1D1D;
    text-shadow: 0px 2px 14px rgba(74, 74, 74, 0.22);
}

.carousel-slide .card-text-des {
    font-weight: 400;
    font-size: 20px;
    color: #4A4A4A;
    text-shadow: 0px 2px 14px rgba(74, 74, 74, 0.22);
}

.carousel-slide label {
    margin: 0 30px;
    box-shadow: 0px 2px 14px rgba(74, 74, 74, 0.22);
}

.carousel-slide-consult-btn {
    width: 100%;
    display: flex;
    border-radius: 10px 10px 0 0;
    position: relative;
}

.carousel-slide-consult {
    display: inline-block;
    vertical-align: top;
}

.carousel-slide-consult h2 {
    margin: 0;
    /*    font-size: 28px;*/
    /*    color: #ff8674;*/
    /*    font-weight: 700;*/
    font-size: 33px;
    color: #efac92;
    font-weight: 600;
    line-height: 1.24;
    padding: 10px 0px 20px 0px;
}

.carousel-slide-consult h2 span {
    color: #ffdebc;
    font-size: 1.2rem;
}

.carousel-slide-consult h2 span.font-dh,
.carousel-slide-consult h2 span.font-shop {
    color: #efac92;
    font-size: 33px;
    letter-spacing: 0;
}

.carousel-slide-consult h3 {
    text-align: left;
    margin: 0px;
    /*    font-weight: 400;*/
    /*    color: #6F7274;*/
    /*    font-size: 24px;*/
    color: #000;
    margin-bottom: 10px;
    font-weight: 300;
}

/*.carousel-slide-consult:nth-child(2) {
    width: 34%;
}*/

/*.carousel-slide-consult:nth-child(0) {
    width: 65%;
}*/

/*.carousel-slide-consult:nth-child(1) {
    width: 65%;
    max-height: 381px;
}*/
.carousel-slide-consult:nth-child(1) {
    width: 100%;
    max-height: 381px;
    padding: 50px 0%;
    position: relative;
}

.carousel-slide.carousel-slide-consult:after {
    content: '';
    border: 1px solid #eaeaea;
    width: 20%;
    margin: 0 40%;
    position: absolute;
    bottom: -1px;
}



@media only screen and (min-width: 768px) {
    .visible-xs {
        display: none !important;
    }
}

@media only screen and (max-width: 850px) and (min-width: 768px) {
    .carousel-social-btn {
        margin: 10px 0;
        padding: 0px;
        width: calc(50% - 24px);
        float: left;
    }

    .carousel-slide-consult-btn {
        width: 100%;
        display: block;
        float: left;
        margin: 0;
    }

    .carousel-consult {
        display: block;
        flex: 1;
        width: 100%;
    }

    .carousel-slide-consult:nth-child(1) {
        padding: 0 20px;
        width: calc(100% - 40px);
        max-height: initial;
    }

    .section-title {
        width: calc(100% - 20px);
        margin: 10px;
        margin-top: 50px;
    }
}

/* ��嘥�㵪蕭藃３嚙踝蕭頦� */
@media only screen and (max-width: 600px) {
    .carousel-social-btn {
        margin: 0px 10%;
        margin-top: -10px;
        padding: 0px;
        float: left;
        width: 80%;
    }

}

@media only screen and (max-width: 1400px) {
    .hidden-l-bar {
        display: none !important;
    }

    .visible-s-bar {
        display: block;
    }

    .carousel-section-icon .item {
        width: 11%;
    }

    .carousel-slide.carousel-slide-consult:after {
        width: initial;
        margin: initial;
    }
}

@media only screen and (min-width: 1400px) {
    .hidden-s-bar {
        display: none !important;
    }

    .visible-l-bar {
        display: flex !important;
    }
}

/* 嚙踝蕭藃３嚙踝蕭頦� */
@media only screen and (max-width: 768px) {
    ul.uk-nav.uk-nav-primary.uk-nav-center.uk-margin-auto-vertical {
        margin: 20px auto !important;
    }

    .hidden-xs {
        display: none !important;
    }

    .visible-xs {
        display: block;
    }

    .section-title {
        width: calc(100% - 20px);
        margin: 10px;
        margin-top: 50px;
        padding-left: 15px;
        margin-right: 0px;
    }

    .carousel-section {
        margin-left: 20px;
    }

    .carousel-section-icon .item {
        width: 20%;
    }

    .section-title h3 {
        float: initial;
        margin-bottom: 0px;
        padding-bottom: 0px;
        font-size: 20px;
        margin-left: 0px;
    }

    .section-title div {
        font-size: 17px;
    }

    .more_btn {
        right: 10px;
        top: 83px;
    }

    .carousel-slide,
    .carousel-slide-consult:nth-child(2) {
        width: 59%;
    }

    .carousel-slide-consult:nth-child(1) {
        width: calc(100% - 40px);
        max-height: initial;
    }

    .carousel-slide label {
        display: block;
        width: 29%;
        margin: 20px 27%;
        font-size: 16px;
    }

    .carousel-slide-consult-btn {
        width: 100%;
        display: block;
        float: left;
        margin: 0;
    }

    .carousel-slide-consult h2 {
        /*        font-size: 1.4rem;*/
        /*        font-weight: 400;*/
        letter-spacing: 2px;
        padding: 10px 0px 20px 0px;
    }

    .carousel-slide-consult h3 {
        font-size: 1.1rem;
        white-space: break-spaces;
        text-align: center;
    }

    .carousel-slide-consult h3 span {
        font-size: 0.9rem;
    }

    .card-film {
        width: 45%;
    }

    .card-text {
        height: 70px;
        margin: 40px 0 30px 0px;
    }

    .card-text-title {
        font-size: 1.3rem;
        white-space: break-spaces;
        padding-bottom: 0;
        margin-top: 12px;
        /* min-height: 60px; */
    }

    .promotion-section .carousel-slide {
        margin: 0 10px;
        box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.25);
        border-radius: 17px;
        margin-bottom: 10px;
    }

    .product-section .carousel-slide {
        height: 260px;
    }

    .product-section .carousel-slide .card-text-title {
        font-size: 18px;
    }

    .product-section .carousel-slide .card-text-des {
        font-size: 14px;
        padding-top: 20px;
    }

    .combinesection .card-text-title {
        min-height: 60px;
    }

    .card-text-des {
        font-size: 1.1rem;
    }

    .card-text-des,
    .card-text-des,
    .style-list .card-text-des a {
        min-height: 100px;
    }

    .carousel-sheild {
        display: block;
    }

    .style-list {
        /* width: calc(100%/2 - 20px); */
        width: calc(100% - 34%);
        margin: 0px 8px;
    }

    .carousel-consult {
        display: block;
        flex: 1;
        width: 100%;
        text-align: center;
    }

    .carousel-slide-consult:nth-child(1) {
        /* max-height: 351px; */
        padding: 0 20px;
    }

    .carousel-social-btn {
        margin: 0px 25%;
        /* padding: 12px; */
        float: left;
        width: 50%;
    }

    .carousel-consult-store img {
        max-width: 210px;
    }

    .style-list.style-list-combine {
        /* width: 84%; */
        width: calc(100% - 34%);
    }

    .style-list-combine div {
        /* width: calc(96%); */
        width: calc(100%);
    }

    .style-list-combine a.style-list-btn {
        right: 10px;
        bottom: 0px;
        background: #ff8674;
        color: white;
    }

    .style-list-combine .card-text-des {
        margin: 0px 0 0px;
    }

    .style-list-combine img {
        width: 100%;
    }
}

/*�𪂹�糂湛蕭嚙�*/
.visible-xs img {
    width: 100%;
}

/* The Modal (background) */
.modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 99999;
    /* Sit on top */
    padding-top: 100px;
    /* Location of the box */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
    background-color: rgb(0, 0, 0);
    /* Fallback color */
    background-color: rgba(0, 0, 0, 0.4);
    /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
}

/* The Close Button */
.close {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.carousel-section .style-list {
    box-shadow: initial;
}

.carousel-section {
    margin-left: 0px;
}

/*body {  font-family: Arial, sans-serif;  background: url(http://www.shukatsu-note.com/wp-content/uploads/2014/12/computer-564136_1280.jpg) no-repeat;  background-size: cover;  height: 100vh;}*/
.overlay {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.5);
    transition: opacity 500ms;
    visibility: hidden;
    opacity: 0;
    z-index: 99999;
    display: flex;
}

.overlay:target {
    visibility: visible;
    opacity: 1;
}

.popup {
    margin: 70px auto;
    padding: 20px;
    background: #fff;
    border-radius: 5px;
    width: 30%;
    position: relative;
    transition: all 5s ease-in-out;
    align-self: center;
}

.popup .close {
    position: absolute;
    top: 20px;
    right: 30px;
    transition: all 200ms;
    font-size: 30px;
    font-weight: bold;
    text-decoration: none;
    color: #333;
}

.popup .close:hover {
    color: #ff8674;
}

.popup .content {
    max-height: 30%;
    overflow: auto;
}

.popup .content ul {
    float: left;
}

@media screen and (max-width: 1180px) {
    .popup {
        width: 65%;
    }
}

@media screen and (max-width: 700px) {
    .box {
        width: 70%;
    }

    .popup {
        width: 90%;
        margin: 20px auto;
        height: 600px;
    }

    .content h2 {
        font-size: calc(18px * var(--font-size-paragraph, 1));
    }

    .content li {
        font-size: calc(18px * var(--font-size-paragraph, 1));
    }

    .popup .content {
        max-height: 100%;
    }
}

@media only screen and (max-width: 576px) {
    .carousel-section-icon .item {
        width: 26%;
    }

    .uk-offcanvas-bar {
        padding: 20px 0px
    }

    #navbar-list .uk-offcanvas-bar .drawerLi a {
        padding: 0px;
    }
}

/* === 歐巴地板：特色六宮格圖 / GIF 排版 === */
/* 只調整 col-xs-4，不動外層 */
.col-lg-12.col-sm-12.mt-4>.col-xs-4 {
    box-sizing: border-box;
    padding: 10px !important;
    width: 100% !important;
    float: left;
    /* 讓它們乖乖排成格子 */
}

/* 640px 以上：一列兩張 */
@media (min-width: 640px) {
    .col-lg-12.col-sm-12.mt-4>.col-xs-4 {
        width: 50% !important;
    }
}

/* 960px 以上：一列三張 */
@media (min-width: 960px) {
    .col-lg-12.col-sm-12.mt-4>.col-xs-4 {
        width: 33.3333% !important;
    }
}

/* 圖片 & GIF 撐滿格子 */
.col-lg-12.col-sm-12.mt-4>.col-xs-4 img {
    display: block;
    width: 100% !important;
    height: auto !important;
}

/* 歐巴地板客服按鈕圖置中 */
.col-lg-12.col-sm-12>a[href="https://dhshop.today/CS9Ju"] {
    display: block;
    text-align: center;
}

.col-lg-12.col-sm-12>a[href="https://dhshop.today/CS9Ju"] img.img-responsive {
    display: inline-block;
    max-width: 100%;
    height: auto;
}


/* 先暫時關閉壞掉的「我家需要多少」浮動按鈕 */
#oppa-calc-btn {
    display: none !important;
}

/* 把整個失效的地板計算器區塊隱藏起來 */
#calculatorModal,
.calc-modal-overlay,
.calc-modal-container {
    display: none !important;
}


/* 手機：避免所有輪播往旁邊推造成超出 */
@media (max-width: 768px) {
    .carousel-section {
        margin-left: 0 !important;
        max-width: 100vw !important;
        box-sizing: border-box;
    }
}


/* 修正案例按鈕跑版問題 */
@media (max-width: 640px) {

    /* 只影響「這組樣式選擇區」 */
    .uk-grid.uk-child-width-1-2.uk-grid-small .uk-height-small {
        margin-bottom: 10px;
        height: 50px !important;
        min-height: 50px !important;
    }

    .uk-grid.uk-child-width-1-2.uk-grid-small .uk-height-small .check-div {
        height: 50px !important;
    }

}

/* === 相似度貼紙徽章（只限 dh-concept-list.dh-graphic） === */

/* 卡片本體作為定位基準 */
.dh-concept-list.dh-graphic {
    position: relative;
    overflow: visible;
    /* 避免貼紙被裁掉 */
}

/* 相似度圓形貼紙 */
.dh-concept-list.dh-graphic .case-similarity {
    position: absolute;
    top: -6px;
    /* 貼近角落，微微外貼 */
    right: -6px;

    width: 60px;
    height: 60px;
    border-radius: 999px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #FF8674;
    /* 指定顏色 */
    color: #ffffff;
    /* 白字 */

    font-weight: 500;
    letter-spacing: 0.8;
    font-size: 12.5px;
    line-height: 1.5;
    text-align: center;

    z-index: 30;
    /* 確保壓在圖片 / 播放 icon 上 */

    /* 貼紙感：陰影＋白邊 */
    box-shadow:
        0 6px 14px rgba(0, 0, 0, .18),
        0 0 0 3px #ffffff;
}

/* === 手機版微調（避免太擠） === */
@media (max-width: 640px) {
    .dh-concept-list.dh-graphic .case-similarity {
        width: 36px;
        height: 52px;
        font-size: 12px;
        top: -4px;
        padding-right: 12px;
        right: -10px;
    }
}

/* =====================================================
   改造案例橫向滑動：完全隔離 + 不影響後面內容
   ===================================================== */

/* (A) carousel 本體隔離：切斷 layout/paint 影響 */
.case-carousel {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    margin: 0 0 20px;

    isolation: isolate;
    /* ✅ 建立新的堆疊/隔離上下文 */
    contain: layout paint;
    /* ✅ 切斷對外部排版與繪製的影響 */
}

/* (B) 可滑動軌道 */
.case-carousel__track {
    display: flex;
    gap: 14px;

    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;

    padding: 0 12px 12px;
    margin: 0;

    scroll-snap-type: x mandatory;
    scroll-padding-left: 12px;
    scroll-padding-right: 12px;

    max-width: 100%;
    min-width: 0;
}

/* (C) 每張圖：第一張完整、第二張露一點 */
.case-carousel__item {
    flex: 0 0 85%;
    min-width: 0;
    margin: 0;
    scroll-snap-align: start;
}

/* (D) 圖片 */
.case-carousel__item img {
    width: 100%;
    height: auto;
    display: block;
    max-width: 100%;
    border-radius: 14px;
}

/* (E) 滾輪 */
.case-carousel__track::-webkit-scrollbar {
    height: 8px;
}

.case-carousel__track::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, .08);
    border-radius: 999px;
}

.case-carousel__track::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, .25);
    border-radius: 999px;
}

/* (F) ✅ 強制「重開排版」：讓後面的 Bootstrap 區塊不被牽連 */
.case-carousel-break {
    display: block;
    clear: both;
    /* ✅ 專治浮動/排版上下文殘留 */
    height: 0;
    overflow: hidden;
}

/* 桌機：一次看到更多 */
@media (min-width: 1024px) {
    .case-carousel__item {
        flex-basis: 45%;
    }
}

/* ✅ 只針對這塊內容的外層容器，避免整頁水平滾輪 */
/* .carousel-section-case,
.carousel-section-case .style-list,
.carousel-section-case .embed-responsive,
.carousel-section-case .col-lg-12,
.carousel-section-case .col-sm-12 {
  max-width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
} */

/* ===== FB 外掛：變成「可點的膠囊按鈕」且可並排 ===== */

/* 1) 讓 FB 外掛本體像按鈕：不要 100% 寬，改成跟其他按鈕一樣可並排 */
/* .fb-page,
.fb_iframe_widget{
  position: relative !important;
  display: inline-block !important;  
  vertical-align: middle !important;

  width: 160px !important;            
  height: 48px !important;

  border-radius: 999px !important;
  background: #fff !important;
  overflow: hidden !important;

  margin: 0 10px 10px 0 !important; 
  box-shadow: 0 4px 12px rgba(0,0,0,.12) !important;
} */

/* 2) 把 FB 外掛內層 span / iframe 全部鎖成同高度 */
/* .fb-page span,
.fb_iframe_widget span{
  display: block !important;
  width: 100% !important;
  height: 52px !important;
  overflow: hidden !important;
} */

/* 3) iframe：用「幾乎透明」而不是 0，確保仍可點擊 */
/* .fb-page iframe,
.fb_iframe_widget iframe,
iframe[src*="facebook.com/plugins"]{
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 52px !important;

  opacity: 0.01 !important;           
  z-index: 5 !important;            
} */

/* 4) 視覺層：白底＋FB logo＋文字（不吃點擊） */
/* .fb-page::before,
.fb_iframe_widget::before{
  content: "";
  position: absolute;
  inset: 0;
  background: #fff;
  z-index: 2;
  pointer-events: none;
}

.fb-page::after,
.fb_iframe_widget::after{
  content: "facebook";
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);

  padding-left: 26px;
  background: url("https://upload.wikimedia.org/wikipedia/commons/5/51/Facebook_f_logo_%282019%29.svg")
              no-repeat left center;
  background-size: 20px 20px;

  color: #1877f2;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.8px;

  z-index: 3;
  pointer-events: none;
} */

/* 5) 手機版：縮小一點，文字置中（你之前要的） */
/* @media (max-width: 640px){
  .fb-page,
  .fb_iframe_widget{
    width: 160px !important;
    height: 48px !important;
    margin: 0 8px 10px 0 !important;
  }

  .fb-page span,
  .fb_iframe_widget span,
  .fb-page iframe,
  .fb_iframe_widget iframe,
  iframe[src*="facebook.com/plugins"]{
    height: 48px !important;
  } */

/* 手機版文字置中 */
/* .fb-page::after,
  .fb_iframe_widget::after{
    left: 50%;
    transform: translate(-50%, -50%);
  }
} */