.btn-more,
.product-name {
  line-height:1.8em;
  letter-spacing: 1pt;
}
.bd-row__header span,
.product-name {
  -webkit-text-fill-color: transparent;
}
.bd-row__header,
.module {
  position: relative;
}
#button:active,
#button:hover {
  background-color: #e7a118;
}
#header,
.key-visual,
.limitedList-content,
.limitedList-content:hover .image_area2,
.module .collapse,
.product-content2 {
  overflow: hidden;
}
.post_text,
.sponsor-title {
  font-family: "Noto Sans TC", sans-serif;
}
body {
  background: #fff;
  scroll-behavior: smooth;
}
.awardList-container {
  max-width: 1200px;
  margin: 0 auto;
}
.limitedList-container {
  max-width: 960px;
  margin: 0 auto;
}
.limitedList-Smallcontainer,
.row,
.section_background2 {
  margin: 0 auto;
}

.info_img {
  display: block;
  max-width: 100%;
  height: auto;
}
 #bg-2{
  margin: 0 auto;
  background-color: #802f2b;
  background-image: 
        radial-gradient(circle at 18% 25%, rgba(255, 255, 255, 0.25) 1.5px, transparent 2px),
        radial-gradient(circle at 78% 22%, rgba(255, 255, 255, 0.3) 2px, transparent 2.5px),
        radial-gradient(circle at 12% 78%, rgba(255, 255, 255, 0.15) 1px, transparent 1.5px),
        radial-gradient(circle at 88% 68%, rgba(255, 255, 255, 0.2) 2px, transparent 2.5px),
        repeating-linear-gradient(
          to right,
          #8b312c,
          #802f2b 42px,
          #8a3a36 42px,
          #8a3a36 84px
        );
}

.content_container_recommend{
  margin: 0 auto;
  background-color: #802f2b;
      background-image: 
        radial-gradient(circle at 18% 25%, rgba(255, 255, 255, 0.25) 1.5px, transparent 2px),
        radial-gradient(circle at 78% 22%, rgba(255, 255, 255, 0.3) 2px, transparent 2.5px),
        radial-gradient(circle at 12% 78%, rgba(255, 255, 255, 0.15) 1px, transparent 1.5px),
        radial-gradient(circle at 88% 68%, rgba(255, 255, 255, 0.2) 2px, transparent 2.5px),
        repeating-linear-gradient(
          to right,
          #8b312c,
          #802f2b 42px,
          #8a3a36 42px,
          #8a3a36 84px
        );
      overflow-x: hidden;
}
.content2_container {
  margin: 0 auto;
  background-image: url(../img/background-red-1.png);
  background-repeat: no-repeat;
  background-size: 100%;*/
}
.content3_container {
  margin: 0 auto;
  background-image: url(../img/background-red-1.png);
  background-repeat: repeat;
  background-size: 100%;
}
.banner-margin {
  margin-top: 60px;
}

#deco-left{
  width: 80%;
  position: absolute; 
  top:250%;
}
#deco-right{
  width: 80%;
  position: absolute;
   top:350%; 
   right:0;
}
@media screen and (max-width: 1000px) {
  #header span {
    font-size: 0.9rem;
  }
  
}

@media screen and (min-width: 320px) and (max-width: 767px) {
  .tag-img{
    width: 80% !important;
  }
  
  #deco-left{
    width: 80%;
    top: 200%;
    left: 0;
  }
  #deco-right{
    width: 80%;
     top:400%; 
     right:0;
  }
} 

@media screen and (min-width: 577px) and (max-width: 767px) {
  .awardInfo {
    min-height: 92px;
  }
}
@media screen and (min-width: 768px) and (max-width: 1099px) {
  .awardInfo {
    min-height: 125px;
  }
  
}
@media screen and (min-width: 1100px) {
  .awardInfo {
    min-height: 92px;
  }
}
@media screen and (max-width: 576px) {
 
  .btn-more {
    width: 90%!important;
  }
  .awardInfo {
    min-height: 110px;
  }
  .product-details2 {
    font-size: 11px;
  }
  .product-details {
    font-size: 13.5px;
  }
  .product-name {
    font-size: 16px;
  }
  .terms_conditions {
    font-size: 13.5px;
  }
  #christmas_calendar {
    padding: 5px;
  }
  #christmas_calendar > .col-sm-6 {
    padding-left: 5px !important;
    padding-right: 5px !important;
  }
  .limitedList-container {
    padding: 25px 10px;
  }
  .organizer-logo,
  .sponsor-logo {
    margin-right: 8px;
    margin-left: 8px;
  }
  .sponsor-title {
    padding: 0 8px;
  }
  .awardList-container {
    padding: 40px 15px;
  }
  .limitedList-Smallcontainer {
    padding: 20px 5px;
  }
  .bd-introduction,
  .sponsor-background {
    padding: 20px 15px;
  }
  .bd-row__header span {
    display: block;
    position: relative;
  }
  .description-container {
    padding: 10px 15px;
  }
  #button {
    right: 10px;
  }
  .description-main-Title {
    font-size: 22px;
  }
  .description-main-body {
    font-size: 16px;
  }
  
}
@media screen and (min-width: 577px) {

  .limitedList-container {
    padding: 40px 10px 0;
  }
  
  #christmas_calendar {
    padding: 30px 20px;
  }
  .organizer-logo,
  .sponsor-logo {
    margin-right: 25px;
  }
  .awardList-container {
    /*padding: 50px 20px;*/
  }
  .limitedList-Smallcontainer {
    padding: 20px;
  }
  .bd-introduction,
  .sponsor-background {
    padding: 40px 60px;
  }
  .description-container {
    padding: 10px 40px 20px;
  }
  #button {
    right: 30px;
  }
  .description-main-Title {
    font-size: 2rem;
  }
  .description-main-body {
    font-size: 1rem;
  }
}
@media screen and (max-width: 767px) {
  .desktop,
  .web_ugo_btn {
    display: none;
  }
  .row {
    justify-content: flex-start;
  }
  .bd-profile {
    margin: 55px auto 15px;
  }
  .banner-margin {
    margin-top: 85px;
  }
  .float-btn {
    width: 100px;
    height: 100px;
    bottom: 100px;
    right: 0;
    background-image: url(../img/flow-btn.png);
    background-size: cover;
  }
  .mobile {
    display: block;
  }
  
}
@media screen and (max-width: 1299px) {

  .content_container {
    margin: 0 auto;
    background-image: url(../img/background-tree.png),
    linear-gradient(180deg, #008a84 100%, #15514f 100%);
  background-repeat: no-repeat;
  background-size: 100%;
  }
}
@media screen and (min-width: 1300px) {
  .content_container {
    margin: 0 auto;
    background-image: url(../img/background-tree.png),
      linear-gradient(180deg, #008a84 100%, #15514f 100%);
    background-repeat: no-repeat;
    background-size: 100%;
  }
}
@media screen and (min-width: 768px) {

  .web_ugo_btn img {
    width: 15px;
    margin-right: 6px;
  }
  .web_ugo_btn {
    display: flex;
    color: #fff;
    background: #52b3dc;
    padding: 5px 10px;
    border-radius: 50px;
    margin: 0 10px;
    align-items: center;
  }
  .web_ugo_btn:hover {
    cursor: pointer;
    background-color: #1a7ebe;
    color: #fff;
  }
  .web_ugo_btn:active {
    background-color: #52b3dc;
    color: #fff!;
  }
  .web_ugo_btn:visited {
    color: #fff;
  }
  .row {
    justify-content: center;
  }
  .float-btn {
    width: 200px;
    height: 200px;
    bottom: 100px;
    right: 15px;
    background-image: url(../img/flow-btn.png);
    background-size: cover;
  }
  .desktop {
    display: block;
  }
  .mobile {
    display: none;
  }
}
.float-btn img {
  width: 100%;
}
.intro-container {
  max-width: 960px;
  display: block;
  width: 100%;
  margin: 0 auto;
}
.awardDetails {
  padding: 0 0 16px 0;
  text-align: center;
}
.special {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: -10px;
}
.product-name {
  font-size: 17px;
  font-weight: 700;
  background: -webkit-linear-gradient(#ffe79a, #ffc36f);
  -webkit-background-clip: text;
}
.product-details {
  font-size: 1.1em;
  line-height: 1.4em;
  font-weight: 600;
  color: #fff;
}
.product-details2 {
  font-size: 14px;
  line-height: 1.6em;
  color: #fff;
  font-weight: 300 !important;
}
.btn-more {
  /*
  background-image:url(../img/btn-bg.png);
  background: #cf2e26;
  background: linear-gradient(0deg, #cf2e26 0, #9e140d 100%);
  background: -webkit-linear-gradient(0deg, #cf2e26 0, #9e140d 100%);*/
  font-size: 14px;
  color: #ae9564;
  font-weight: 700;
  width: 60%;
  padding: 5px;
  transition: background-position 0.4s ease-in-out;
  background-size: 80%;
  background-position: left;
  border-radius: 30px;

  transition: transform 0.15s ease, box-shadow 0.15s ease;
  user-select: none;

  background: linear-gradient(180deg, #ffffff 0%, #f8eedb 18%, #f2e1c4 50%, #ebd5b3 82%, #ffffff 100%);

}

/* 內層立體漸變與金色邊框 */
.btn-more::before {
  content: "";
  position: absolute;
  top: 1px;
  left: 1px;
  right: 1px;
  bottom: 1px;
  border-radius: 9999px;

  /* 金色金屬反光細邊框 */
  border: 1px solid #ecc97b;
  


  /* 內頂部與底部金色高光發光邊界 */
  box-shadow: 
    inset 0 1px 2px rgba(255, 235, 175, 0.9),
    inset 0 -1px 2px rgba(240, 195, 110, 0.8),
    inset 0 0 8px rgba(230, 200, 150, 0.35);
  
  pointer-events: none;
}


.btn-more:active {
  transform: translateY(2px);
  box-shadow: inset 0 2px 4px rgba(160, 50, 60, 0.3);
  text-decoration: none;
  background-color: #f8eedb;
}

/* 按鈕文字及箭頭排版 */
.btn-text {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  
  /* 金駝色文字色彩 */
  color: #a88a53;
  font-size: 15px;
  font-weight: 600;

  letter-spacing: 2px;
  
  /* 文字柔和立體下沉陰影 */
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.8);
}



.btn-more:hover {
  transform: translateY(2px);
  background-position: right;
}
.limitedList-content {
  width: 100%;
  box-shadow: rgb(90 12 12 / 45%) 0 0 15px;
  border-radius: 8px;
}
.product-content {
  width: 100%;
  margin: 10px 0;
}
.product-content2 {
  /*background-color: #fff;
  box-shadow: 2px 2px 6px 0 rgba(0, 0, 0, 0.1);*/
  border-radius: 10px;
  width: 100%;
  margin: 15px 0;

}
.offset-sm-2{
  margin-left: 0!important;
}
.section_title,
.tc-section,
.terms_condition_canvas {
  width: 100%;
  margin: 0 auto;
  display: block;
}
.image_area img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}
.limitedList-content:hover .info_img {
  transform: scale(1.05);
  transition: 0.5s;
}
.bd-introduction {
  background-color: #ededed;
}
.bd-row__header {
  display: block;
}
.bd-row__header span {
  position: absolute;
  vertical-align: middle;
  text-align: center;
  font-size: 30px;
  font-weight: 900;
  left: 0;
  right: 0;
  bottom: 4%;
  color: #4c4cc2;
  margin: auto;
  background: -webkit-linear-gradient(#5f55cf, #3e68fa);
}
.tc-section {
  padding: 0 20px 20px;
  max-width: 370px;
  width: 100%;
  height: auto;
}

.section_title {
  max-width: 600px;
  height: auto;
  padding-bottom: 10px;
}
.terms_condition_canvas li a {
  color: #964d54;
}
.btn-terms,
.owl-nav div,
.read-more {
  position: absolute;
}
.module .collapse,
.module .collapsing {
  height: 10rem;
}
.module .collapse {
  display: block;
}
.module .collapse.show {
  height: auto;
}
.read-more {
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
  background-image: linear-gradient(to bottom, transparent 30%, #ededed 90%);
  opacity: 1;
  transition: 0.3s linear;
}
.read-more:not(.collapsed) {
  opacity: 1;
  background-image: none;
  height: 45px;
  top: calc(100% - 45px);
  transition-delay: -1s;
}
.read-more:not(.collapsed) .btn-terms {
  padding: 10px 72px 2px;
}
.read-more:not(.collapsed) .arrow {
  transform: rotate(-135deg);
}
.btn-terms {
  left: 50%;
  transform: translate(-50%, -50%);
  bottom: 0;
  padding: 2px 72px 10px;
  color: #fff;
  background: #964d54;
  border-style: none;
}
#header,
.sponsor-background {
  background-color: #fff;
}
.btn-secondary:hover .arrow,
a:hover .btn-secondary .arrow {
  border-bottom-width: 2px;
  border-right-width: 2px;
  border-color: #751812;
}
.btn-secondary:hover {
  background-color: #fff3f2;
}
a:hover .btn-secondary {
  color: #4a86d2;
  background: #fff;
}
.arrow {
  box-sizing: border-box;
  height: 14px;
  width: 14px;
  border-style: solid;
  border-color: #fff;
  border-width: 0 1px 1px 0;
  transform: rotate(45deg);
  transition: border-width 150ms ease-in-out;
}
#button,
.float-btn {
  transition: background-color 0.3s, opacity 0.5s, visibility 0.5s;
}
.intro-container span {
  font-size: 16px;
  color: #3d4b5a;
}
.intro-container b {
  font-weight: 550;
}
.terms_conditions {
  font-size: 16px;
}
.terms_conditions ul {
  list-style: none;
  padding-inline-start: 10px;
  padding-bottom: 20px;
}
.terms_conditions ul li {
  padding-bottom: 6px;
  text-align: justify;
}
.terms_conditions ul li:before {
  content: "*";
  margin-left: -10px;
  color: #751812;
}
.bottom {
  margin-top: 0;
}
.bottom .sponsors {
  padding-bottom: 20px;
  padding-left: 0;
  padding-right: 0;
}
.MoreButton {
  padding: 8px 5px 0 5px;
}
.MoreButton a,
.download_app_btn:visited,
.mobile_download_app_btn:visited,
.web_community_btn:visited {
  color: #fff;
}
.content-wrapper-last {
  width: 100%;
  max-width: 970px;
  margin: 0 auto;
}
.organizer-logo,
.sponsor-logo {
  margin-top: 10px;
  display: inline-block;
}
.sponsor-title {
  font-size: 14px;
  font-weight: 700;
  color: #182533;
}
.organizer-logo {
  margin-bottom: 20px;
}
.sponsor-logo img {
  max-width: 100px;
  width: 100%;
  height: auto;
}
.organizer-logo img {
  width: 100%;
  height: auto;
  max-width: 200px;
}
#button {
  display: inline-block;
  background-color: #ffcc40;
  width: 50px;
  height: 50px;
  text-align: center;
  border-radius: 4px;
  position: fixed;
  bottom: 30px;
  opacity: 0;
  visibility: hidden;
  z-index: 99;
}
#button::after {
  content: "\f077";
  font-family: FontAwesome;
  font-weight: 400;
  font-style: normal;
  font-size: 2em;
  line-height: 50px;
  color: #fff;
}
#button:hover {
  cursor: pointer;
}
#button.show {
  opacity: 1;
  visibility: visible;
}
.description-container {
  margin: 0 auto;
  background: #043449;
  background-image: url('/ulifestylexmas2026/assets/img/kv-snow-bg.png');
  background-repeat: no-repeat;
  background-position: center;
}
.description-container-2 {
  margin: 0 auto;
  background-repeat: no-repeat;
  background-position: center;
}
.description-main {
  position: relative;
  display: block;
  width: 100%;
  margin: 0 auto;
  max-width: 885px;
  padding: 0;
  text-align: center;
}
.content-wrapper,
.keyVisual1 img {
  /*max-width: 1440px;*/
  margin: 0 auto;
  display: block;
  width: 100%;
}
.description-main-Title {
  font-weight: 600;
  line-height: 1.6;
  color: #fff;
  text-align: center;
  margin-top: 0;
  margin-bottom: 1rem;
}
.description-main-body {
  font-weight: 400;
  line-height: 1.6;
  color: #fff;
  text-align: center;
}
.section__header {
  background: #024d71;
  position: relative;
}
.section__header-container {
  position: block;
  margin: 0 auto;
  overflow: hidden;
}
.key-visual,
.top {
  position: relative;
}
.top {
  z-index: 1;
}
.keyVisual1 img {
  height: auto;
}
.keyVisual2 img {
  display: block;
  margin: 0 auto;
  height: auto;
  width: 100%;
}
.key-visual .logo {
  padding: 10px 0 0 10px;
  width: 55%;
  display: inline-block;
}
.key-visual .logo img {
  width: 155px;
}
.key-overlap img {
  max-width: 100%;
  width: 100%;
  display: block;
  margin: 0 auto;
}
#header {
  position: fixed;
  top: 0;
  width: 100%;
  display: block;
  z-index: 10;
  min-height: 60px;
  box-shadow: rgba(0, 0, 0, 0.1) 0 6px 20px;
}
/*#christmas_calendar,
.postList_Info {
  box-shadow: rgba(0, 0, 0, 0.45) 0 0 15px;
}*/
#header .flex {
  display: flex;
  align-content: stretch;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}
#header .flex .logo img {
  max-width: 170px;
  width: 100%;
  height: auto;
  padding: 10px;
  display: block;
}
.flex {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.mobile_download_app_btn {
  text-align: center;
  background: #3087d9;
  justify-content: center;
  color: #fff;
  padding: 5px;
  font-size: 14px;
  width: 100%;
  display: flex;
  align-items: center;
}
.download_app_btn,
.web_community_btn {
  display: flex;
  border-radius: 50px;
  margin: 0 10px;
  align-items: center;
  color: #fff;
}
.mobile_download_app_btn img {
  margin-right: 6px;
}
.download_app_btn img {
  width: 8px;
  margin-right: 6px;
}
.download_app_btn {
  background: #3087d9;
  padding: 5px 10px 6px;
}
.download_app_btn:hover {
  cursor: pointer;
  background-color: #155ea2;
  color: #fff;
}
.download_app_btn:active {
  background-color: #3087d9;
  color: #fff;
}
.web_community_btn img {
  width: 15px;
  margin-right: 6px;
}
.web_community_btn {
  background: #05c791;
  padding: 5px 10px;
}
.web_community_btn:hover {
  cursor: pointer;
  background-color: #0f936e;
  color: #fff;
}
.web_community_btn:active {
  background-color: #05c791;
  color: #fff!;
}
.float-btn {
  position: fixed;
  z-index: 99;
}
#image-effect:hover {
  transform: scale(0.98, 0.98);
}
.title {
  margin: 0 auto;
  display: block;
  width: 100%;
  height: auto;
  max-width: 700px;
  padding: 15px;
}
.awardInfo {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
}
.postList1,
.sectionBg {
  display: block;
  margin: 0 auto;
}
.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0.2rem 0;
}
#christmas_calendar {
  
  border-radius: 15px;
  width: 100%;
  z-index: 3;
}
.awardInfo h5:empty,
.awardInfo h6:empty {
  margin: 0;
}
.sectionBg {
  max-width: 100%;
  height: auto;
  
}
.section_background {
  background-color: #033549;
}
.section2 {
  margin: 0 auto;
  padding: 20px;
  background: #89d8a9;
}
.postList1 {
  max-width: 1200px;
  padding: 0;
}
.owl-nav {
  position: initial;
}
.owl-nav div {
  top: 45%;
  width: 40px;
  height: 40px;
  border-radius: 50%;
}
#owl-carousel1 .owl-prev {
  left: -25px;
  display: flex;
}
#owl-carousel1 .owl-next {
  right: -25px;
  display: flex;
}


.owl-theme .owl-nav {
  margin-top: 0 !important;
}
.owl-theme .owl-nav [class*="owl-"] {
  position: absolute;
  font-size: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: rgba(220, 220, 220, 0.72);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  cursor: pointer;
  z-index: 50;
  /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35); */
  user-select: none;
  transition: background-color 0.2s, transform 0.2s;
}
.owl-theme .owl-nav [class*="owl-"]:hover {
  background: rgba(255, 255, 255, 0.95);
  color: #691519;
  transform: translateY(-50%) scale(1.08);
}

.tag-img{
  width:50%;
  margin: 0 auto;
}


/*card slider*/

 /* 隱藏 Radio Buttons 控制核心 */
 .slider-radio {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* 輪播主外框 (固定視窗可見兩張卡片) */
.carousel-container-1 {
  position: relative;
  width: 100%;
  max-width: 680px; /* 兩張卡片 (310px*2) + 間距 (24px) + 緩衝 = 680px */
  margin: 0 auto;
  padding: 10px 0;
}

/* 裁切視窗，讓軌道平滑移動 */
.viewport {
  width: 100%;
  overflow: hidden;
  border-radius: 28px;
  padding: 12px 2px;
}

/* 卡片橫向軌道 (用 CSS Transform 實現 100% 可靠的滑動) */
.track {
  display: flex;
  gap: 24px;
  width: max-content;
  transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

/* 單張卡片樣式 */
.card-item {
  width: 320px;
  flex-shrink: 0;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 1px 12px rgb(89 8 8 / 40%);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
 /* border: 1px solid rgba(255, 255, 255, 0.2);*/
}

/* 卡片圖片容器 */
.card-img-box {
  width: 100%;
  height: 195px;
  background-color: #222;
  overflow: hidden;
  position: relative;
}

.card-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.card-item:hover .card-img-box img {
  transform: scale(1.03);
}

/* 卡片文字內容區 + 兩側波浪齒輪花邊 (Scalloped Edge Mask) */
.card-body {
  padding: 12px 22px 12px;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  position: relative;
  flex-grow: 1;

  /* CSS Mask 實現兩側向內凹的花邊凹槽 */
  --cutout-radius: 10px;
  --pos-1: 26px;
  --pos-2: 60px;
  --pos-3: 94px;
  mask-image: 
    radial-gradient(circle at 0 var(--pos-1), transparent var(--cutout-radius), #000 calc(var(--cutout-radius) + 0.5px)),
    radial-gradient(circle at 0 var(--pos-2), transparent var(--cutout-radius), #000 calc(var(--cutout-radius) + 0.5px)),
    radial-gradient(circle at 0 var(--pos-3), transparent var(--cutout-radius), #000 calc(var(--cutout-radius) + 0.5px)),
    radial-gradient(circle at 100% var(--pos-1), transparent var(--cutout-radius), #000 calc(var(--cutout-radius) + 0.5px)),
    radial-gradient(circle at 100% var(--pos-2), transparent var(--cutout-radius), #000 calc(var(--cutout-radius) + 0.5px)),
    radial-gradient(circle at 100% var(--pos-3), transparent var(--cutout-radius), #000 calc(var(--cutout-radius) + 0.5px));
  -webkit-mask-image: 
    radial-gradient(circle at 0 var(--pos-1), transparent var(--cutout-radius), #000 calc(var(--cutout-radius) + 0.5px)),
    radial-gradient(circle at 0 var(--pos-2), transparent var(--cutout-radius), #000 calc(var(--cutout-radius) + 0.5px)),
    radial-gradient(circle at 0 var(--pos-3), transparent var(--cutout-radius), #000 calc(var(--cutout-radius) + 0.5px)),
    radial-gradient(circle at 100% var(--pos-1), transparent var(--cutout-radius), #000 calc(var(--cutout-radius) + 0.5px)),
    radial-gradient(circle at 100% var(--pos-2), transparent var(--cutout-radius), #000 calc(var(--cutout-radius) + 0.5px)),
    radial-gradient(circle at 100% var(--pos-3), transparent var(--cutout-radius), #000 calc(var(--cutout-radius) + 0.5px));
  mask-composite: intersect;
  -webkit-mask-composite: source-in;
}

/* 「聖誕限時搶」金黃標籤 */
.badge-promo {
  align-self: flex-start;
  font-size: 13px;
  font-weight: 700;
  color: #9b6200;
  background-color: #fff9e6;
  border: 1px solid #ebcf86;
  padding: 3px 8px;
  border-radius: 6px;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

/* 標題 */
.card-title {
  font-size: 18px;
  font-weight: 700;
  color: #0f2d3d;
  line-height: 1.42;
  /*margin-bottom: 14px;*/
  min-height: 48px;
}

/* 價格欄位 */
.price-row {
  display: flex;
  align-items: baseline;
  margin-bottom: 12px;
  color: #c44742;
  font-weight: 800;
}

.price-currency {
  font-size: 18px;
  margin-right: 4px;
}

.price-amount {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.price-unit {
  font-size: 13px;
  color: #7d8b94;
  font-weight: 500;
  margin-left: 2px;
}

/* 珠光粉紅「立即預定」按鈕 */
.btn-submit {
  display: block;
  width: 100%;
  text-align: center;
  text-decoration: none;
  padding: 8px 0;
  font-size: 17px;
  font-weight: 600;
  color: #c4665e;
  border-radius: 50px;
  background: linear-gradient(180deg, #ffffff 0%, #fde7e7 18%, #f6bfbf 50%, #f0b2b5 82%, #ffdddd 100%);
  
  /*box-shadow: 
  background: linear-gradient(180deg, #ffffff 0%, #fde7e7 20%, #f6bfbf 80%, #f0b2b5 100%);
    inset 0 1px 2px rgba(255, 255, 255, 0.95),
    inset 0 -2px 3px rgba(175, 75, 85, 0.25),
    0 3px 8px rgba(120, 20, 30, 0.2);*/
  border: 1.3px solid #ecc2c5;
  cursor: pointer;
  letter-spacing: 1.8px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  user-select: none;
}

.btn-submit:hover {
  background: linear-gradient(180deg, #ffffff 0%, #ffeded 25%, #f9c9c9 75%, #f3babc 100%);
  transform: translateY(-1px);
  text-decoration: none;
  color: #FFF;
}

.btn-submit:active {
  transform: translateY(1px);
  box-shadow: inset 0 2px 4px rgba(160, 50, 60, 0.3);
  text-decoration: none;
}

/* 左右箭頭控制按鈕 (使用 Label 觸發，無須 JS) */
.arrow-btn {
  position: absolute;
  font-size: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: rgba(220, 220, 220, 0.72);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-radius: 50%;
  display: none; /* 根據 checked 狀態顯示對應的 label */
  align-items: center;
  justify-content: center;
  color: #ffffff;
  cursor: pointer;
  z-index: 50;
  /*box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);*/
  user-select: none;
  transition: background-color 0.2s, transform 0.2s;
}

.arrow-btn:hover {
  background: rgba(255, 255, 255, 0.95);
  color: #691519;
  transform: translateY(-50%) scale(1.08);
}

.arrow-btn:active {
  transform: translateY(-50%) scale(0.96);
}

.arrow-btn svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.arrow-prev {
  left: -20px;
}

.arrow-next {
  right: -20px;
}

/* ========================================================
   純 CSS 切換核心邏輯 (Pure CSS Radio Logic)
   Card Width: 320px + Gap: 22px = 342px 移動步長
   ======================================================== */

/* Slide 1 被選中時 */
#slide-1:checked ~ .viewport .track {
  transform: translateX(0px);
}
#slide-1:checked ~ .nav-controls .btn-to-2.arrow-next {
  display: flex; /* 右箭頭指向第 2 頁 */
}

/* Slide 2 被選中時 */
#slide-2:checked ~ .viewport .track {
  transform: translateX(-342px);
}
#slide-2:checked ~ .nav-controls .btn-to-1.arrow-prev {
  display: flex; /* 左箭頭指向第 1 頁 */
}
#slide-2:checked ~ .nav-controls .btn-to-3.arrow-next {
  display: flex; /* 右箭頭指向第 3 頁 */
}

/* Slide 3 被選中時 */
#slide-3:checked ~ .viewport .track {
  transform: translateX(-684px);
}
#slide-3:checked ~ .nav-controls .btn-to-2.arrow-prev {
  display: flex; /* 左箭頭指向第 2 頁 */
}

/* 底部輔助指示圓點 (純 CSS 狀態連動，可直接點擊換頁) */
.dots-nav {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}

.dot-label {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: all 0.25s ease;
}

#slide-1:checked ~ .dots-nav .dot-1,
#slide-2:checked ~ .dots-nav .dot-2,
#slide-3:checked ~ .dots-nav .dot-3 {
  background: #ffffff;
  transform: scale(1.3);
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
}

/* 手機螢幕優化 (寬度低於 680px) */
@media (max-width: 680px) {
  .carousel-container {
    max-width: 320px;
  }
  .arrow-prev {
    left: -12px;
  }
  .arrow-next {
    right: -12px;
  }
}

/*card slider*/












/*card slider2*/
   .carousel-container {
    position: relative;
    width: 100%;
    max-width: 1060px;
    margin: 0 auto;
  }

  .carousel-viewport {
    width: 100%;
    overflow: hidden;
    border-radius: 20px;
    padding: 12px 0;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
  }

  .carousel-viewport:active {
    cursor: grabbing;
  }

  .carousel-track {
    display: flex;
    gap: 16px;
    height: 280px; /* fix height */
    will-change: transform;
    width: max-content;
    transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
  }

 
  .slide-item {
    height: 100%;
    border-radius: 16px;
    overflow: hidden;
    background-color: #1e293b;
    flex-shrink: 0;
    position: relative;

  }

  .slide-16-9 {
    aspect-ratio: 16 / 9;
  }

  .slide-4-5 {
    aspect-ratio: 4 / 5;
  }

  .slide-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
    transition: transform 0.4s ease;
  }

  .slide-item:hover img {
    transform: scale(1.04);
  }

  /* arrow button */
  .nav-arrow {
    position: absolute;
    font-size: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: rgba(220, 220, 220, 0.72);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFF;
    cursor: pointer;
    z-index: 30;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  }

  .nav-arrow:hover {
    background: #ffffff;
    color: #b91c1c;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
  }

  .nav-arrow.prev {
    left: -20px;
  }

  .nav-arrow.next {
    right: -20px;
  }


  @media (max-width: 640px) {
    .carousel-track {
      height: 200px;
    }
    .nav-arrow.prev {
      left: -10px;
    }
    .nav-arrow.next {
      right: -10px;
    }
    .nav-arrow {
      width: 44px;
      height: 44px;
    
    }
  }

  .indicator-dots-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 8px;
    padding: 8px 16px;
  }


  .dot-item {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.42);
    border: none;
    padding: 0;
    cursor: pointer;
    position: relative;
    transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
  }

  .dot-item:hover {
    background: rgba(255, 255, 255, 0.75);
    transform: scale(1.1);
  }


  .dot-item.active {
    width: 12px;
    height: 12px;
    background: #ffffff;
 
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
    transform: scale(1.08);
  }

 
  .badge-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 10;
  }
  .nav-arrow.next:focus{
    outline: none;
  }
  .nav-arrow.prev:focus{
    outline: none;
  }





















.item {
  margin: 10px auto;
}
.postList_Info:hover {
  transform: translateY(-5px);
  transition: transform 0.2s;
}
.community_card_img {
  border-radius: 8px;
  width: 100%;
  height: auto;
}
.col-md-6,
.postList_text {
  padding: 10px;
}
.post_text {
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
  color: #262626;
}
.UcreatorName {
  font-size: 0.75rem;
  line-height: 1rem;
  color: #3d3d3d;
  padding: 5px 0;
}

/* gift-box */
.gift-box {
  position: relative;
  background: #fcf9f2;
  background: linear-gradient(
    -27deg,
    rgba(252, 249, 242, 1) 0%,
    rgba(252, 247, 233, 1) 100%
  );
  max-width: 784px;
  width: 90%;
  box-shadow: 0px 0px 5px #515151;
  border-radius: 15px;
  corner-shape: scoop;
  margin: 30px auto;
  color: #425b3e;
  text-align: center;
}
.post-box {
  margin: 30px auto;
  margin-top: -150px;
}

.gift-box .label-date {
  position: absolute;
  top: -36px;
  left: -60px;
  width: 120px;
  height: 130px;
}

.gift-box .label-date img {
  width: 60%;
  height: auto;
}

.gift-box .flex-container {
  flex-direction: column;
}

.gift-box.decTwo-box {
  padding-bottom: 100px;
}

.gift-box.decOne-box .item-img {
  order: 1;
}

.gift-box.decTwo-box .item-img {
  order: 1;
}

.gift-box .item-img img {
  width: 85%;
  height: auto;
}

.gift-box.decOne-box .item-txt-box {
  order: 2;
  margin: 0 auto 30px;
  width: 90%;
}

.gift-box.decTwo-box .item-txt-box {
  order: 1;
  margin: 0 auto 15px;
  width: 90%;
}

.box-title {
  max-width: 402px;
  width: 100%;
  height: auto;
  margin: 0 auto;
}

.box-title img,
.line img {
  width: 100%;
  height: auto;
}

.line {
  max-width: 384px;
  width: 100%;
  height: auto;
  margin: 0 auto;
}

.line-bar2 {
  padding: 0 20px 30px 20px;
}

.joinButton {
  padding: 10px 0;
  width: 180px;
  margin: 0 auto;
}

.joinButton2 {
  display: flex;
  align-items: center;
}
.btn-join {
  appearance: button;
  background-color: #ffc271;
  background-image: none;
  background: radial-gradient(
    circle,
    rgba(255, 194, 113, 1) 0%,
    rgba(255, 226, 148, 1) 60%,
    rgba(255, 182, 92, 1) 100%
  );
  background: -webkit-radial-gradient(
    circle,
    rgba(255, 194, 113, 1) 0%,
    rgba(255, 226, 148, 1) 60%,
    rgba(255, 182, 92, 1) 100%
  );
  border: 0 solid #ffc271;
  border-radius: 0px;
  box-shadow: #fcf9f2 4px 4px 0 0, #ffc271 4px 4px 0 1px;
  box-sizing: border-box;
  color: #810508;
  cursor: pointer;
  display: inline-block;
  font-size: 18px;
  font-weight: 700;
  line-height: 24px;
  overflow: visible;
  padding: 10px;
  text-align: center;
  text-transform: none;
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
  vertical-align: middle;
  white-space: nowrap;
  transition: background-position 0.4s ease-in-out;
  background-size: 200%;
  background-position: left;
}

.btn-join:focus {
  text-decoration: none;
}

.btn-join:hover {
  text-decoration: none;
  transform: translateY(2px);
}

.btn-join:active {
  box-shadow: rgba(0, 0, 0, 0.125) 0 3px 5px inset;
  outline: 0;
}

.btn-join:not([disabled]):active {
  background-color: #ffc271;
  /* box-shadow: #fcf9f2 2px 2px 0 0, #ffc271 2px 2px 0 1px;
  transform: translate(2px, 2px); */
}

.box-tips {
  margin-top: 5px;
}

.box-tips .tips-title {
  color: #d10000;
  font-size: 18px;
  font-family: 700;
  margin-bottom: 10px;
}

.box-tips .tips-title span {
  background: linear-gradient(to bottom, transparent 50%, #ffcbcc 50%);
  background: -webkit-linear-gradient(to bottom, transparent 50%, #ffcbcc 50%);
}

br.br-mobile {
  display: none;
}

.gift-box.decTwo-box .box-tips .box-desc {
  text-align: left;
}

.box-desc a.smalltxt {
  font-size: 12px;
  color: #929497;
}

.post-box .post-content {
  width: 100%;
}

.post-box .post {
  padding-left: 0;
  padding-right: 0;
}

@media (min-width: 425px) {
  .gift-box .label-date img {
    width: 80%;
  }

}

@media (min-width: 768px) {
 
  .btn-join {
    padding: 12px 50px;
  }
  .gift-box .label-date img {
    width: 90%;
  }
}

@media (min-width: 992px) {
  
  .gift-box {
    max-width: 784px;
  }
  .post-box {
    max-width: 904px;
  }

  .gift-box.decTwo-box {
    padding-bottom: 100px;
  }

  .gift-box.decTwo-box .flex-container {
    position: relative;
    left: -113px;
  }
  .gift-box .label-date img {
    width: 120px;
    height: 130px;
  }
  .gift-box .flex-container {
    flex-direction: row;
  }

  .gift-box.decOne-box .item-img {
    order: 2;
  }

  .gift-box.decTwo-box .item-img {
    order: 1;
  }

  .gift-box .item-img img {
    width: 428px;
    height: 420px;
  }

  .gift-box.decTwo-box .item-img img[src*="1202-post"] {
    width: 221px;
    height: 293px;
  }

  .post-box .post {
    padding-left: 0;
    padding-right: 0;
  }

  .gift-box.decOne-box .item-txt-box {
    order: 1;
    margin: 20px 0 20px 60px;
  }

  .gift-box.decTwo-box .item-txt-box {
    order: 2;
    margin: 20px 60px 20px 0;
  }

  .box-title.title-community {
    width: 402px;
  }

  .box-title.title-ugo {
    width: 428px;
  }
  br.br-mobile {
    display: block;
  }
}
.flexContent {
  align-items: center;
}
button {
  font-size: 18px;
}
