#xerf {
    overflow-x: hidden;
}

.page_title {
    font-size: 33px;
    letter-spacing: unset;
}
.font_highlight {
    color: #7E343C;
}
.text_m {
    font-size: 26px;
    line-height: 1.4em;
}
.text_bg {
    color: white;
    padding: 0 6px;
    font-weight: 700;
}
.yello {
    background-color: #FDD16D;
}
.blue {
    background-color: #2F68A6;
}
.red {
    background-color: #C53128;
}
/* banner */
.section_banner_area {
    background-image: url("/images/xerf/banner.jpg");
    padding-bottom: 0;
    background-position: 23%;
}

.section_banner_content_gp {
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
}

.section_banner_content {
    text-shadow: 0px 3px 6px #ffffff, 0px 3px 6px #ffffff , 0px 0px 6px #ffffff;
    text-align: center;
    display: flex;
    flex-direction: column;
    margin-top: 6%;
    width: 40%;
    align-items: center;
    gap: 8px;
}
.ambassador {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: absolute;
    left: 8%;
    top: 30%;
}

.luxury-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.deco-asset {
  display: block;
  width: 180px; 
  height: auto;
}

.badge-text {
    color: #91672C; 
    font-size: 38px;
    letter-spacing: 0.15em; 
    padding-left: 0.15em; 
    margin: 6px 0;
}

.bottom-asset {
  margin-top: 2px;
}

.logo {
    width: 50%;
    max-width: 320px;
    margin: 15px 0;
}

.section_banner_subtitle {
    font-size: 36px;
    letter-spacing: .2em;
}
.section_banner_title {
    font-size: 43px;
    display: flex;
    align-items: center;
    gap:5px;
    letter-spacing: 2px;
}
.section_banner_title .title_badge {
    padding: 5px 12px;
    border-radius: 50px;
    color: white;
    font-size: 30px;
    text-shadow:none;
    background: linear-gradient(126deg,rgba(126, 52, 60, 0.68) 0%, rgba(181, 123, 129, 1) 11%, rgba(63, 26, 30, 0.98) 100%);
}
.banner_product {
    position: absolute;
    right: 7%;
    bottom: 0;
    left: 67%;
    max-width: 500px;
}
.banner_product_img {
    position: relative;
}

.fda {
    max-width: 160px;
    display: flex;
    align-items: center;
    flex-direction: column;
    font-size: 2vw;
    border-bottom: 5px solid #E3708C;
    padding: 10px;
    position: absolute;
    top: 30%;
    right: 61%;
    left: 7%;
    z-index: 2;
}

/* intro */
.theory_img {
    width: 100%;
    max-width: 780px;
    margin: 0 auto;
    margin-top: 30px;
    margin-bottom: 10px;
}
.bg_ani:after {
    background: #FFF5F5;
}

.intro_card {
    display: flex;
    background: white;
    padding: 30px;
    margin-bottom: 35px;
    gap: 3%;
}
.intro_card_img {
    margin-top: -70px;
    width: 45%;
    max-width: 350px;
}
.intro_card p {
    width: 55%;
}
.font_highlight_pink {
    color: #F27EA6;
    font-size: 38px;
    margin: 0 8px;
}
/* description section */
.description_section {
    overflow: hidden;
    background: url(/images//xerf/effect_bg.jpg) no-repeat center / cover;
}
.description_content {
    width: 100%;
    max-width: 880px;
    margin: 0 auto;
}
.effect_block {
    position: relative;
    color: black;
}

.effect_img {
    position: relative;
    z-index: 2;
    pointer-events: none;
}
.effect_gp {
    position: absolute;
    text-align: left;
    letter-spacing: 1px;
    overflow: hidden;
}
.effect_gp1 {
    top: 26%;
    left: -20%;
    right: 50%;
}
.effect_gp2{
    top: 40%;
    left: 50%;
    right: -20%;
}
.effect {
    padding-top: 5px;
    padding-bottom: 5px;
    margin-bottom: 12px;
}
.effect1 {
    background: linear-gradient(92deg, #f37a7100 0%,#f37171d3 80%);
    padding-left: 40%;
    padding-right: 20%;
}
.effect2 {
    background: linear-gradient(92deg, #f37a7100 0%,#f0ad6fc7 80%);
    padding-left: 30%;
    padding-right: 20%;
}

.effect3 {
    background: linear-gradient(269deg, #f37a7100 0%,#f37171ab 80%);
    padding-right: 20%;
    padding-left: 30%;
}
.effect4 {
    background: linear-gradient(269deg, #f9c8cf00 0%, #F7CFD3 20%,#CB9C69 100%);
    padding-right: 20%;
    padding-left: 40%;
}
.effect5 {
    background: linear-gradient(269deg, #f37a7100 0%,#F8BDAB 80%);
    padding-right: 20%;
    padding-left: 46%;
}

.arrow_left {
    position: absolute;
    width: 244px;
    top: 2%;
    left: -25%;
}
.arrow_right {
    width: 265px;
    position: absolute;
    right: -20%;
    top: 13%;
    z-index: 0;
}
/* feature_section */

.feature_section {
    background: url(/images/xerf/slide_bg.jpg) no-repeat center / cover;
}
.owl-carousel_wrapper {
    width: 100%;
    max-width: 800px;
    margin: 30px auto;
}

.owl-item {
cursor: unset;
}
.item {
    width: 100%;
    padding: 30px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    background: #ffffffbe;
    border-radius: 32px;

}
.owl-stage-outer {
    width: 100%;
    background-color: unset;
}
.slide_title {
    color: #E65F5F;
    display: flex;
    align-items: center;
    font-size: 30px;
    font-weight: 700;
}
.slide_subtitle {
    color: #918D8D;
}
.slide_icon {
    width: 90px;
    margin-right: 10px;
}
.slide_img {
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
    /* flex: 1; */
}
.slide_6_img_gp {
    display: flex;
    max-width: 330px;
    gap: 2em;
}

/* 容器：主體排版與置中 */
.features-stats-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 80px; /* 左右兩區塊的間距 */
    padding: 10px 20px;
/* font-family: "PingFang HK", "Microsoft JhengHei", sans-serif; */
    background-color: transparent; /* 可依需求改為背景圖或漸層色 */
}

/* 單個數據字卡 */
.stat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* 上方小標題文字 */
.stat-label {
    color: #df6d6d; /* 莫蘭迪粉紅色 */
    font-size: 20px;
    font-weight: bold;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

/* 下方數字區塊：使用 baseline 確保大數字和小單位底部對齊 */
.stat-value {
    color: #df6d6d;
    display: flex;
    align-items: baseline; 
    line-height: 1;
}

/* 大數字樣式 */
.stat-value .number {
    font-size: 65px; /* 數字放大 */
    font-weight: 500; /* 偏細體，營造高級感 */
}

/* 單位 (cm) 樣式 */
.stat-value .unit {
    font-size: 42px;
    font-weight: 400;
    margin-left: 4px;
}

/* 平方標記 (2) 樣式 */
.stat-value .unit sup {
    font-size: 24px;
    top: -0.4em; /* 微調上方距離 */
}

.owl-nav .owl-prev, .owl-nav .owl-next {
    filter: drop-shadow(2px 3px 5px #27272723);
}
.owl-nav .owl-prev:before {
    width: 86px;
    height: 65px;
    background: url(/images/xerf/slider_arrow.png) no-repeat center center / contain;
}
.owl-nav .owl-next::before {
    width: 86px;
    height: 65px;
    background: url(/images/xerf/slider_arrow.png) no-repeat center center / contain;
}

.owl-carousel {
    display: flex !important;
    flex-direction: column;
}

.owl-carousel .owl-stage {
    display: flex;
}
.owl-carousel .owl-stage-outer {
    order: 2; /* 輪播內容放下面 */
}
 .owl-carousel .owl-item {
    display: flex;
    flex: 1;
} 
.owl-carousel .owl-dots {
    order: 1; /* 點點進度條移到上面 */
    position: relative;
    display: flex !important;
    justify-content: center;
    align-items: center;
    counter-reset: dot-counter; /* 初始化 CSS 計數器 */
    margin-top: 0;
    margin-bottom: 5px;
}

/* ---------------------------------------------------
   2. 繪製橫向連接線
--------------------------------------------------- */
.owl-carousel .owl-dots::before {
    content: '';
    position: absolute;
    bottom: 14px;
    left: 23%;
    right: 0%;
    height: 2px;
    background-color: #f5c2c2;
    z-index: 1;
}

/* ---------------------------------------------------
   3. 自訂每個點點的容器尺寸與點擊範圍
--------------------------------------------------- */
.owl-theme .owl-dots .owl-dot {
    position: relative;
    width: 65px;
    height: 65px;
    margin: 0 10px !important;
    z-index: 2;
    background: none !important;
} 

/* ---------------------------------------------------
   4. 小圓點 本體樣式 (未選中狀態)
--------------------------------------------------- */
.owl-theme .owl-dots .owl-dot span {
    display: block;
    width: 20px !important;
    height: 20px !important;
    background: #FAA8A8 !important; /* 未選中的粉色點 */
    border-radius: 50%;
    position: absolute;
    bottom: 5px; /* 居中在線上 */
    left: 50%;
    transform: translateX(-50%);
    margin: 0 !important;
    transition: all 0.3s ease !important;
    opacity: unset;
}

/* ---------------------------------------------------
   5. 利用 CSS 自動生成數字 (未選中狀態在上方)
--------------------------------------------------- */
.owl-theme .owl-dots .owl-dot::after {
    counter-increment: dot-counter; /* 數字累加 */
    content: counter(dot-counter); /* 顯示數字 */
    position: absolute;
    left: 50%;
    top: -8px; /* 未選中時，數字浮在上方 */
    transform: translateX(-50%);
    color: #D96B85;
    font-size: 30px;
    font-weight: bold;
    transition: all 0.3s ease;
    width: 100%;
}

/* ---------------------------------------------------
   6. 啟動狀態 (Active) 樣式變化
--------------------------------------------------- */
/* 圓圈變大，顏色變深 */
 .owl-theme .owl-dots .owl-dot.active span {
    width: 65px !important;
    height: 65px !important;
    background: #F47171 !important;
    top:24%;
    overflow: hidden;
} 

/* 數字掉進大圓圈內，變成白色 */
.owl-theme .owl-dots .owl-dot.active::after {
    color: #ffffff;
    font-size: 40px;
    left: 50%;
    top: 28%;
    z-index: 3;
}

/* 1. 當第一個 slide 有 .active，隱藏 prev 按鈕 */
.owl-carousel:has(.owl-stage .owl-item:first-child.active) .owl-prev {
    opacity: 0 !important;
    pointer-events: none !important;
    transition: opacity 0.3s ease;
}

/* 2. 當最後一個 slide 有 .active，隱藏 next 按鈕 */
.owl-carousel:has(.owl-stage .owl-item:last-child.active) .owl-next {
    opacity: 0 !important;
    pointer-events: none !important;
    transition: opacity 0.3s ease;
}
.owl-carousel .owl-nav button,
.owl-carousel button.owl-dot {
    -webkit-appearance: none!important;
    appearance: none!important;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
}

/* Optional: Active state fix (when clicked) */
.owl-carousel .owl-nav button,
.owl-carousel .owl-nav button:focus,
.owl-carousel button.owl-dot:focus {
    outline: 0 !important;
    border: 0 !important;
}
/* compare */
.half_tick {
    position: relative;
}
.half_tick::after {
    content: '';
    width: 14px;
    height: 3px;
    position: absolute;
    top: 55%;
    left: 50%;
    background-color: #7E343C;
    transform: rotate(41deg) translate(-50%);
}
.xerf-table-border {
  position: relative;
 
  padding: 0;              /* 邊框粗細 */
    border-radius: 30px;

  /* 🚀 升級版：將圓角由 3 點增加到 5 點，用微積分密鋪平面，肉眼睇落就會係完美圓弧 */
  clip-path: polygon(
    /* 左上角：保持型格直線斜切 */
    0px 73px, 77px 0px,
     
    /* 右上角：5點極致流暢圓角過渡 */
    calc(100% - 24px) 0px,
    calc(100% - 15px) 2px,
    calc(100% - 7px) 7px,
    calc(100% - 2px) 15px,
    100% 24px,
    
    /* 右下角：保持型格直線斜切 */
    100% calc(100% - 67px), calc(100% - 71px) 100%,
      
    /* 左下角：5點極致流暢圓角過渡 */
    24px 100%,
    15px calc(100% - 2px),
    7px calc(100% - 7px),
    2px calc(100% - 15px),
    0px calc(100% - 24px)
  );

  /* 🚀 核心優化：逼瀏覽器啟動顯示卡 3D 加速，強制執行 Anti-aliasing（抗鋸齒） */
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
  will-change: clip-path;
}
.xerf_table_wrapper {
    position: relative;
    width: 100%;
    max-width: 1050px;
    margin: 70px auto 10px;
}
.floating-image-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  pointer-events: none;
}

.overlap-img {
    position: absolute;
    bottom: calc(100% - 99px);
    transform: translateX(-50%);
    width: 13%;
}

.xerf-position {
  left: 40%;
}
.xerf_table_wrapper::before{
    content: '';
    background-image: url(/images/xerf/table_corner.svg);
    background-size: cover;
    width: 85px;
    aspect-ratio: 16 / 15;
    position: absolute;
    top: -1px;
    left: -1px;
    z-index: 5;
}
.xerf_table_wrapper::after{
    content: '';
    background-image: url(/images/xerf/table_corner.svg);
    background-size: cover;
    width: 82px;
    aspect-ratio: 16 / 15;
    position: absolute;
    bottom: -1px;
    right: -1px;
    transform: rotate(180deg);
    z-index: 5;
}
/* 記得內層都要同步繼承個完美裁剪 */
.xerf-table-container {
  background-color: #FBF7F5;
  clip-path: inherit;
  overflow: hidden;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
  border-radius: 0 60px 0 60px;
  border: 3px solid #956a63;
}
.compare_section table {
    width: 100%;
    overflow-x: scroll;
    margin: 0 auto;
    min-width: 768px;
    cursor: auto;
}

.custom-table-content {
    padding: 0;
}
.compare_table {
    padding: 0;
}

tr:nth-child(even), tr.bg-dark {background-color: #EEE7E5;}
tr.bg-light{
    background-color: #FBF7F5;
}
.compare_table td {
    text-align: center;
    padding: 18px;
    border-right: 1px solid #7E343C;
}
.compare_table td:last-child {border-right: unset;}

.compare_table td>img {
    width: 150px;
    margin-top: 15px;
    margin-bottom: 15px;
}

.compare_table h3 {
    color: #7E343C;
    font-weight: 600;
    margin: 12px 0;
    line-height: 1.5em;
}

.compare_table p.for_seo {
    display: block;
}
.compare_table .page_con02 {
    font-size: 20px;
    font-weight: 500;
    width: 20%;
}
.compare_table .col-1 {
    padding-left: 45px;
    padding-right: 45px;
    position: relative;
}
.compare_table .col-1, .compare_table .col-2 {
    width: 40%;
}
.compare_table .icon::after {
    content: '';
    width: 73px;
    aspect-ratio: 13 / 11;
    background-image: url(/images/xerf/compare-icon.png);
    background-size: cover;
    position: absolute;
    top: -5px;
    right: -2px;
}
.compare_img {
    width: 100%;
    padding-right: 6.5px;
    padding-left: 5px;
}

td:has(.xerf_logo_compare) {
    border-right: 0!important;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
}
.xerf_logo_compare {
    height: 100%;
}
.xerf_logo_compare img {
    opacity: 0;
    max-width: 100px;
}
.xerf_logo_compare::after{
    content: 'VS';
    font-size: 30px;
    font-weight: 700;
    position: absolute;
    right: -15px;
    top: 50%;
    transform: translatey(-50%);
}
.authentic_section {
    background: url(/images/xerf/authentic_bg.jpg) no-repeat center / cover;
}
.authentic_img {
    margin: 0 auto;
    width: 100%;
    max-width: 600px;
    position: relative;
}
.authentic_text {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: absolute;
    left: 40%;
    right: 7%;
    top: 0px;
    bottom: 53%;
}
.authentic_text img {
    max-width: 130px;
}
#xerf label.mLabel {
    border-color: #D96B85;
    background-color: #D96B85;
}

#xerf label.mLabel:hover {
    color: #D96B85!important;
}

#xerf .share_people_section {
    background-color: #FFDDDD;
}

#xerf .share_people_box:before {
    background-color: #FFFCF7;
}

.share_people_img {
    margin-bottom: 10px;
    border-radius: 6px;
    overflow: hidden;
}
.people_img_gp {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap:3%;
    position: relative;
}
.people_img_block {
    width: 40%;
    max-width: 360px;
}
.people_arrow {
    width: 3%;
    aspect-ratio: 39 / 80;
    margin-bottom: 6%;
}


@media (max-width: 1279.98px) {
   
    .section_banner_area {
        height: 52vh;
        min-height: 600px;
        position: relative;
        background-position: 10%;
    }
    .section_banner_content_gp {
        height: 100%;
    }
    .banner_product {
        right: 0;
        left: 75%;
    }
    .section_banner_subtitle {
        font-size: 18px;
    }
    .section_banner_title .title_badge {
        font-size: 16px;
        padding: 4px 8px;
    }
    .section_banner_title {
        font-size: 33px;
    }
    .section_banner_content {
        margin-left: 150px;
        width: 60%;
    }
}

@media (max-width: 991.98px) {
    .text_m {
        font-size: 24px;
    }
    .intro_card {
        flex-direction: column-reverse;
        justify-content: center;
        margin-bottom: 60px;
    }
    .intro_card_img {
        width: 100%;
        margin:0 auto -60px auto;
    }
    .intro_card p {
        text-align: center;
        width: 100%;
    }
   .floating-image-layer {
    display: none;
   }

   .xerf_logo_compare img {
    opacity: 1;
   }
   .xerf-table-container {
    overflow: auto;
   }
  /* .compare_table .page_con02 , .compare_table p.for_seo {
    font-size: 16px;
    line-height: 1.4em;
   }*/
   .compare_table .page_con03 , .compare_table h3 {
    font-size: 20px;
    line-height: 1.4em;
   }  
   .compare_table .col-1 {
    padding: 12px;
   }
   .compare_table td {
    padding: 8px;
   }
    .compare_table .icon::after {
        width: 53px;
    }
        .description_section .text-center > p > br {
        display: none;
    }
    .effect_img {
        padding-right: 30%;
        margin-left: -30%;
        margin-bottom: -20px;
    }
    .effect_gp1 {
        width: 100%;
        right: -20%;
        top: 35px;
        left: unset;
    }
    .effect_gp2  {
        left: 10%;
    }
}

@media (max-width: 768px) {
    .owl-carousel_wrapper {
        padding: 10px;
    }
    .owl-carousel .owl-dots {
        justify-content: flex-start;
    }
    .owl-carousel .owl-dots::before {
        left: 38px;
    }
     .features-stats-container {
        align-items: center;
        gap: 50px;
    }
    .stat-label {
        font-size: 16px;
    }
    .item {
    padding: 30px;
    }
    .slide_icon {
        width: 55px;
    }
    .slide_title {
        font-size: 26px;
    }
    .owl-nav .owl-next {
        right: -3%;
    }
    .owl-nav .owl-prev {
        left: -3%;
    }
    .effect_block {
        font-size: 20px;
        line-height: 1.3em;
    }
    .effect_gp2 {
        top: 50%;
    }
    .effect_img {
        padding-top: 160px;
    }
    .effect1 {
        padding-left: 20%;
    }
    .effect2 {
        padding-left: 15%;
    }
    .effect3 {
        padding-left: 36%;
    }
    .arrow_left {
        width: 125px;
        top: 3%;
        left: 2%;
    }
    .arrow_right {
        width: 125px;
        right: -3%;
        top: 30%;
    }
}

@media (max-width:640px) {
    .container {
        width: 100%;
        max-width: unset;
        overflow: hidden;
    }
    .section_banner_area {
        background-image: url("/images/xerf/banner_m.jpg");
        background-position: bottom;
        height: unset;
    }

     .section_banner_content {
        margin-top: 100px;
    }

    .section_banner_content_gp {
        margin-left: unset;
        justify-content: flex-start;
    }

    .badge-text {
        font-size: 20px;
    }
    .deco-asset {
        width: 100px;
    }
    .logo {
        width: 45%;
        margin: 6px;
    }
    .section_banner_subtitle {
        font-size: 18px;
    }
    .section_banner_title .title_badge {
        font-size: 16px;
        padding: 4px 8px;
    }
    .section_banner_title {
        font-size: 33px;
    }
    .section_banner_content {
        width: 70%;
        margin-left: unset;
    }
 
    .ambassador {
        left: unset;
        right: 20px;
        bottom: 16%;
        top: unset;
    }
    .banner_product {
        right: 58%;
        top: 104%;
        left: 27%;
    }
    .fda{
        top: 21%;
        right: 69%;
        left: -47%;
        font-size: 3vw;
    }
    .owl-nav .owl-next {
        right: -6%;
    }
    .owl-nav .owl-prev {
        left: -6%;
    }
    .owl-theme .owl-dots .owl-dot {
        width: 16%;
    }
   
}