@charset "utf-8";
/* CSS Document */
/* *{
    box-sizing: border-box;
} */
img{
    border: none;
}
a{
    text-decoration: none;
}
body{
	margin: 0;
	padding: 0;
	background: #1c1c1c;
}
input, textarea, select, button {
    text-rendering: auto;
    color: initial;
    letter-spacing: normal;
    word-spacing: normal;
    text-transform: none;
    text-indent: 0px;
    text-shadow: none;
    display: inline-block;
    text-align: start;
    margin: 0em;
    font: 400 13.3333px Arial;
}
/* header {
    min-height: 115px;
    background: url(../images/index-header.jpg) no-repeat center;
    background-size: cover;
    color: white;
    border-radius: 15px;
    margin-bottom: 15px;
    box-shadow: 0 15px 30px rgba(219, 95, 121, 0.3);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 40px;
} */
.logo-container {
    position: absolute;
    top: 25px;
    left: 40px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    z-index: 3;
    transition: opacity 0.3s ease;
    /* 為右側搜尋、會員按鈕留白，讓標題可觸發省略號 */
    max-width: calc(100% - 175px);
    box-sizing: border-box;
}

.logo-container.hidden {
    opacity: 0;
    pointer-events: none;
}

.logo-image {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.logo-text {
    display: flex;
    flex-direction: column;
    color: white;
    text-align: center;
    min-width: 0;
    flex: 1 1 auto;
    max-width: 100%;
    overflow: hidden;
}

.logo-title {
    font-size: 1.2rem;
    font-weight: 800;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
    color: #fff;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}

.logo-subtitle {
    font-size: 0.7rem;
    margin: 0;
    opacity: 0.9;
    font-weight: 400;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.user-menu {
    position: absolute;
    top: 35px;
    right: 20px;
    z-index: 15;
}
.user-menu a{
    text-decoration: none;
}
.user-btn {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.user-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.user-btn i {
    font-size: 2.0rem;
    font-weight: lighter;
}

.user-dropdown {
    position: absolute;
    top: 60px;
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    min-width: 250px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.user-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-info {
    display: flex;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #eee;
    background: #f8f9fa;
    border-radius: 12px 12px 0 0;
}

.user-avatar {
    margin-right: 12px;
}

.user-avatar i {
    font-size: 2rem;
    color: #6c757d;
}

.user-details {
    display: flex;
    flex-direction: column;
}

.user-name {
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.95rem;
}

.user-status {
    color: #6c757d;
    font-size: 0.8rem;
}

.user-actions {
    padding: 10px;
}

.user-action-btn {
    width: 100%;
    display: flex;
    align-items: center;
    padding: 12px 15px;
    border: none;
    background: transparent;
    color: #2c3e50;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.user-action-btn:hover {
    background: #f8f9fa;
    color: #f4bc03;
}

.user-action-btn i {
    margin-right: 10px;
    width: 16px;
}

.user-action-btn:last-child {
    margin-bottom: 0;
}



/* 搜尋圖示按鈕 */
.search-icon-btn {
    position: absolute;
    top: 35px;
    right: 80px;
    z-index: 100;
    transition: opacity 0.3s ease;
    pointer-events: auto;
}

.search-icon-btn.hidden {
    opacity: 0;
    pointer-events: none;
}

.search-toggle-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.search-toggle-btn i {
    font-size: 1.6rem;
    color: white;
}

.search-toggle-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.search-container {
    display: flex !important;
    justify-content: flex-end;
    align-items: center;
    position: absolute;
    top: 35px;
    right: 18px;
    z-index: 10;
    transform: translateX(100%);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    width: 450px;
    pointer-events: none;
}

.search-container.active {
    transform: translateX(-60px);
    opacity: 1;
    pointer-events: auto;
}

.search-box {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    padding: 8px 7px 8px 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    width: 352px;
    height: 50px;
    position: relative;
}

.search-input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-size: 1rem;
    color: white;
    padding: 8px 12px;
    font-family: inherit;
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.image-search-btn {
    background: linear-gradient(135deg, #f4bc03, #f4bc03);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
    /* box-shadow: 0 2px 8px rgba(231, 76, 60, 0.3); */
    margin-right: 8px;
}

.image-search-btn:hover {
    background: linear-gradient(135deg, #f4bc03, #f4bc03);
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.4);
}

.image-search-btn:active {
    transform: scale(0.95);
}

.image-search-btn i {
    font-size: 0.9rem;
}

.search-btn {
    /* background: linear-gradient(135deg, #ffe7e1, #f97f98); */
    background: #ff0051;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.3);
}

.search-btn:hover {
    background: #f4bc03;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.4);
}

.search-btn:active {
    transform: scale(0.95);
}

.search-btn i {
    font-size: 0.9rem;
}

.advanced-search-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    min-width: 50px;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    margin-left: 8px;
    flex-shrink: 0;

}

.advanced-search-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.advanced-search-btn:active {
    transform: scale(0.95);
}

.advanced-search-btn i {
    font-size: 1.6rem;
}
.breadcrumb {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    padding: 15px 20px;
    background: #1a3a5a;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.15);
}

.breadcrumb a {
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.breadcrumb a:hover {
    color: #1a5f8a;
    text-decoration: underline;
}

.breadcrumb span {
    margin: 0 10px;
    color: #7f8c8d;
}

.product-detail {
    display: grid;
    grid-template-columns: calc(50% - 20px) calc(50% + 20px);
    /* gap: 10px; */
    margin: 10px 0;
    /* 防止初始化時的佈局跳動 */
    align-items: start;
    overflow: hidden;
}

.product-gallery {
    position: relative;
    min-width: 0;
    /* 防止 grid 子元素溢位 */
    height: 670px; 
    overflow: hidden;
    /* box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2); */
    padding: 10px;
    background-image: linear-gradient(to right, #ffe14d, #ffc34d);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    /* 防止初始化時的佈局跳動 */
    width: 100%;
    box-sizing: border-box;
    contain: layout;
    /* border-top-left-radius: 3px;
    border-bottom-left-radius: 3px; */
}

/* 確保 product-gallery 中的 aside 顯示 */
.product-gallery aside {
    display: block !important;
    max-width: 100%;
    background: transparent;
    padding: 0;
    overflow: visible;
    height: 100%;
    border-radius: 3px;
}

/* 確保 product-gallery 中的 carousel-container 顯示 */
.product-gallery .carousel-container {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    height: 100%;
    border-radius: 3px;
}

/* 確保 product-gallery 中的 main-image 顯示 */
.product-gallery .main-image {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    height: calc(100% - 75px);
}

.product-detail .product-info {
    min-width: 0;
    /* 防止 grid 子元素溢位 */
}

.product-detail .carousel-track {
    height: 100%;
}

.main-image {
    width: 100%;
    height: 100%;
    position: relative;
    flex-shrink: 0;
    /* 防止在 flex/grid 佈局中收縮 */
}

.product-badge {
    position: absolute;
    bottom: 40px;
    left: 10px;
    background: linear-gradient(135deg, #FFA000, #f90);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.4);
    z-index: 2;
    border: 2px solid #fff;
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.4);
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    /* border-radius: 10px; */
}

.main-image:hover img {
    /* transform: scale(1.05); */
}

.main-image .details-slide {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    min-width: 100%;
}

.details-slide {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    min-width: 100%;
}

.details-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 浮動狀態下圖片完整顯示，不裁切 */
.main-image.float-active img {
    max-width: 100% !important;
    max-height: 100% !important;
    width: auto !important;
    height: 100% !important;
    object-fit: contain !important;
}

.details-slide.slide-anim {
    position: relative;
    flex-shrink: 0;
    width: 100%;
    z-index: 1;
    background: #000;
}

/* ==================== 拖拽時禁止頁面滾動 ==================== */
body.no-scroll {
    overflow: hidden;
    touch-action: none;
}

.main-image .video-container {
    height: 100%;
}
nav {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
}

nav .nav-row {
    width: 100%;
    height: 100px;
    display: flex;
    flex-direction: row;
    /* 左右排列 */
    justify-content: space-between;
    /* 左右分散 */
    align-items: center;
    /* 垂直居中，可選 */
    flex-wrap: nowrap;
    /* 禁止換行 */
}

nav .nav-row.left {
    width: 30%;
    align-items: first baseline;
    font-size: 24px;
    font-weight: 600;
    color: #fff;
    padding-left: 30px;
    padding-top: 25px;
}

nav .nav-row.right {
    width: 70%;
    display: flex;
    align-self: flex-end;
    align-items: flex-end;
    margin-bottom: 20px;
}

nav .welcome {
    width: 70%;
    height: 60px;
    color: var(--border);
    white-space: nowrap;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding-left: 30px;
}

nav .signup {
    position: absolute;
    top: 10px;
    right: 15px;
    width: 60px;
    display: flex;
    align-items: center;
    justify-content: right;
    cursor: pointer;
}

nav .signup img {
    width: 45%;
}

.index-search-input {
    width: 75%;
    height: 30px;
    line-height: 36px;
    font-size: 14px;
    color: #f4bc03;
    margin-top: 3px;
    border: none;
    outline: none;
    border-radius: 24px;
    padding-left: 14px;
}

.img-search {
    display: block;
    width: 30px;
    height: 30px;
    background: url(../images/img_s.png) center no-repeat;
    background-size: 100%;
    border: none;
    outline: none;
    float: right;
    margin-right: 4px;
    margin-top: 3px;
    cursor: pointer;
}

.index-search-button {
    width: 30px;
    height: 30px;
    background: url(../images/index-search.png) center no-repeat;
    background-size: 100%;
    border: none;
    outline: none;
    float: right;
    margin-right: 4px;
    margin-top: 3px;
    cursor: pointer;
}

section{
	max-width: 780px;
	margin: 0 auto;
    background-image: linear-gradient(to right, #ffe14d , #ffc34d);
	overflow: hidden;
	padding-bottom: 60px;
	padding: 0;
	position: relative;
}
.index-search input:-webkit-autofill {
    -webkit-transition-delay: 99999s;
    -webkit-transition: color 99999s ease-out, background-color 99999s ease-out;
    -webkit-box-shadow: 0 0 0 1000px #f1f1f1 inset;
}

input:focus {outline: none; } 
input:focus::-webkit-input-placeholder {opacity: 0; -webkit-transition: .4s; transition: .4s; } 
input:focus::-moz-placeholder {opacity: 0; -moz-transition: .4s; } 
input:focus:-ms-input-placeholder {opacity: 0; -webkit-transition: .4s; transition: .4s; }
textarea:focus {outline: none; } 
textarea:focus::-webkit-input-placeholder {opacity: 0; -webkit-transition: .4s; transition: .4s; } 
textarea:focus::-moz-placeholder {opacity: 0; -moz-transition: .4s; } 
textarea:focus:-ms-input-placeholder { opacity: 0; -webkit-transition: .4s; transition: .4s; }
@font-face {
    font-family: "fzch";
    src: url("fonts/fzch.eot"); /* IE9 */
    src: url("fonts/fzch.eot?#iefix") format("embedded-opentype"), /* IE6-IE8 */
    url("fonts/fzch.woff") format("woff"), /* chrome、firefox */
    url("fonts/fzch.ttf") format("truetype"), /* chrome、firefox、opera、Safari, Android, iOS 4.2+ */
    url("fonts/fzch.svg#FZFeiFTFU_Zhun") format("svg"); /* iOS 4.1- */
	font-style: normal;
    font-weight: normal;
}
@font-face {
    font-family: "FZDIHTFU_ZHONG";
    src: url("fonts/FZDIHTFU_ZHONG.eot"); /* IE9 */
    src: url("fonts/FZDIHTFU_ZHONG.eot?#iefix") format("embedded-opentype"), /* IE6-IE8 */
    
    url("fonts/FZDIHTFU_ZHONG.woff") format("woff"), /* chrome、firefox */
    url("fonts/FZDIHTFU_ZHONG.ttf") format("truetype"), /* chrome、firefox、opera、Safari, Android, iOS 4.2+ */
    
    url("fonts/FZDIHTFU_ZHONG.svg#FZDIHTFU_ZHONG") format("svg"); /* iOS 4.1- */
    font-style: normal;
    font-weight: normal;
}
/* loadding動畫 */
.l-wrapper {
    width: 100%;
    height: 100vh;
    position: fixed;
    overflow: hidden;
    top: 0;
    left: 0;
	z-index: 1000;
	display: none;
}
.loading_div{
	position: absolute;
	margin: auto;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	width: 300px;
	height: 300px;
	text-align: center;
}
.loading_div p{
	color: #fff;
}
.show_loading{
	display: block;
}
svg {
  height: 120px;
  width: 120px;
  margin: 0 2em 2em;
  overflow: visible;
  /*   border: 1px solid red; */
}

.g-circles {
  -webkit-transform: scale(0.9) translate(7px, 7px);
  -ms-transform: scale(0.9) translate(7px, 7px);
  transform: scale(0.9) translate(7px, 7px);
}

circle {
  fill: dodgerblue;
  fill-opacity: 0;
  -webkit-animation: opacity 1.2s linear infinite;
  animation: opacity 1.2s linear infinite;
}
circle:nth-child(12n + 1) {
  -webkit-animation-delay: -0.1s;
  animation-delay: -0.1s;
}
circle:nth-child(12n + 2) {
  -webkit-animation-delay: -0.2s;
  animation-delay: -0.2s;
}
circle:nth-child(12n + 3) {
  -webkit-animation-delay: -0.3s;
  animation-delay: -0.3s;
}
circle:nth-child(12n + 4) {
  -webkit-animation-delay: -0.4s;
  animation-delay: -0.4s;
}
circle:nth-child(12n + 5) {
  -webkit-animation-delay: -0.5s;
  animation-delay: -0.5s;
}
circle:nth-child(12n + 6) {
  -webkit-animation-delay: -0.6s;
  animation-delay: -0.6s;
}
circle:nth-child(12n + 7) {
  -webkit-animation-delay: -0.7s;
  animation-delay: -0.7s;
}
circle:nth-child(12n + 8) {
  -webkit-animation-delay: -0.8s;
  animation-delay: -0.8s;
}
circle:nth-child(12n + 9) {
  -webkit-animation-delay: -0.9s;
  animation-delay: -0.9s;
}
circle:nth-child(12n + 10) {
  -webkit-animation-delay: -1s;
  animation-delay: -1s;
}
circle:nth-child(12n + 11) {
  -webkit-animation-delay: -1.1s;
  animation-delay: -1.1s;
}
circle:nth-child(12n + 12) {
  -webkit-animation-delay: -1.2s;
  animation-delay: -1.2s;
}

.g-circles--v2 circle {
  fill-opacity: 0;
  stroke-opacity: 0;
  stroke-width: 1;
  stroke: yellowgreen;
  -webkit-animation-name: opacity-stroke, colors, colors-stroke, transform-2;
  animation-name: opacity-stroke, colors, colors-stroke, transform-2;
}

.g-circles--v3 circle {
  fill-opacity: 1;
  -webkit-animation-name: opacity, colors;
  animation-name: opacity, colors;
}

.g-circles--v4 circle {
  fill-opacity: 1;
  fill: orange;
  -webkit-transform-origin: 60px 60px;
  -ms-transform-origin: 60px 60px;
  transform-origin: 60px 60px;
  -webkit-animation-name: opacity, colors-3, transform;
  animation-name: opacity, colors-3, transform;
}

@-webkit-keyframes opacity {
  3% {
    fill-opacity: 1;
  }

  75% {
    fill-opacity: 0;
  }
}

@keyframes opacity {
  3% {
    fill-opacity: 1;
  }

  75% {
    fill-opacity: 0;
  }
}
@-webkit-keyframes opacity-stroke {
  10% {
    stroke-opacity: 1;
  }

  85% {
    stroke-opacity: 0;
  }
}
@keyframes opacity-stroke {
  10% {
    stroke-opacity: 1;
  }

  85% {
    stroke-opacity: 0;
  }
}
@-webkit-keyframes colors {
  0% {
    fill: yellowgreen;
  }

  10% {
    fill: gold;
  }

  75% {
    fill: crimson;
  }
}
@keyframes colors {
  0% {
    fill: yellowgreen;
  }

  10% {
    fill: gold;
  }

  75% {
    fill: crimson;
  }
}
@-webkit-keyframes colors-stroke {
  0% {
    stroke: yellowgreen;
  }

  10% {
    stroke: gold;
  }

  75% {
    stroke: crimson;
  }
}
@keyframes colors-stroke {
  0% {
    stroke: yellowgreen;
  }

  10% {
    stroke: gold;
  }

  75% {
    stroke: crimson;
  }
}
@-webkit-keyframes colors-2 {
  0% {
    fill: yellow;
  }

  50% {
    fill: red;
  }

  65% {
    fill: orangered;
  }

  95% {
    fill: gold;
  }
}
@keyframes colors-2 {
  0% {
    fill: yellow;
  }

  50% {
    fill: red;
  }

  65% {
    fill: orangered;
  }

  95% {
    fill: gold;
  }
}
@-webkit-keyframes colors-3 {
  0% {
    fill: yellowgreen;
  }

  50% {
    fill: turquoise;
  }

  65% {
    fill: yellow;
  }

  95% {
    fill: orange;
  }
}
@keyframes colors-3 {
  0% {
    fill: yellowgreen;
  }

  50% {
    fill: turquoise;
  }

  65% {
    fill: yellow;
  }

  95% {
    fill: orange;
  }
}
@-webkit-keyframes transform {
  10% {
    -webkit-transform: scale(0.75);
    transform: scale(0.75);
  }
}
@keyframes transform {
  10% {
    -webkit-transform: scale(0.75);
    transform: scale(0.75);
  }
}
@-webkit-keyframes transform-2 {
  40% {
    -webkit-transform: scale(0.85);
    transform: scale(0.85);
  }

  60% {
    stroke-width: 20;
  }
}
@keyframes transform-2 {
  40% {
    -webkit-transform: scale(0.85);
    transform: scale(0.85);
  }

  60% {
    stroke-width: 20;
  }
}
.toast_mask{
	width: 100%;
    height: 100vh;
    position: fixed;
    background-color: rgba(0,0,0,.5);
    z-index: 1000000;
    overflow: hidden;
    top: 0;
    left: 0;
	display: none;
}
.toast_button{
	width: 58px;
    height: 30px;
    background: #f4bc03;
    color: #333;
    line-height: 30px;
    text-align: center;
    cursor: pointer;
    position: absolute;
    right: 15px;
    bottom: 15px;
    border-radius: 3px;
	font-size:16px;
  }
.toast{
	width:450px;
	height: 130px;
	background: #fff;
	border-radius: 5px;
	box-shadow: 0px 10px 20px #000;
	position: fixed;
	margin: auto;
	top: 0;
	left:0;
	right: 0;
	bottom: 0;
	display: none;
	box-sizing: border-box;
	padding: 15px;
}
.toast_close{
    width: 25px;
    height: 25px;
    position: absolute;
    top: 10px;
    right: 10px;
    background: url(../images/jf_close.png) center no-repeat;
    cursor: pointer;
}
.main_info{
	width:100%;
	height: 100%;
	box-sizing: border-box;
	padding-top: 20px;
}
.toast_content{
    width: 80%;
    height: 30px;
    background: url(../images/warnning.png)left no-repeat;
    background-size: 8%;
    margin: 0 auto;
    vertical-align: middle;
    font-size: 14px;
    text-align: left;
    line-height: 30px;
    font-weight: 600;
    padding-left: 30px;
    box-sizing: border-box;
	margin-top: 25px;
	color: #000;
}

.main-mask_index {
    width: 100%;
    height: 100vh;
    background-color: rgba(0,0,0,0.6);
    z-index: 999;
    position: fixed;
    top: 0;
    display: none;
}
.warnning_diag {
    width: 600px;
    height: 400px;
    background: #fff;
    box-shadow: 0px 0px 15px #999;
    border-radius: 20px;
    padding: 20px;
	margin: 0 auto;
    margin-top: calc(50vh - 210px);
	position: relative;
}
.warnning_diag .close {
    width: 45px;
    height: 45px;
    position: absolute;
    right: 10px;
    top: 8px;
    background: url(../images/share_close.png) center no-repeat;
    background-size: contain;
    cursor: pointer;
}
.warnning_diag .warnning_top {
    width: 100%;
    height: 45px;
    margin-bottom: 10px;
    background: url(../images/ticrf.png) center no-repeat;
    background-size: contain;
}
.warnning_concent {
    width: 90%;
    font-size: 16px;
    height: auto;
    overflow: hidden;
    line-height: 36px;
    margin: 0 auto;
}
.not_prompt {
    font-size: 16px;
    font-weight: 600;
    text-align: right;
    margin-top: 20px;
}
.not_prompt input {
    width: 20px;
    height: 20px;
    margin: 0;
    padding: 0;
    outline: none;
}
.not_prompt span{
	display: inline-block;
	padding-left: 8px;
}
.wd_bottom .ok_btn {
    padding-left: 12px;
    padding-right: 12px;
    background-color: #d01b1b;
    text-align: center;
    line-height: 40px;
    font-size: 16px;
    font-weight: 600;
    border: 0;
    color: #fff;
    width: 90%;
    cursor: pointer;
	border-radius: 20px;
}
.wd_bottom {
    width: 100%;
    float: left;
    height: 45px;
    padding-top: 20px;
    text-align: center;
}
#list-wrap .c-neirong.is_delete{
/*	background-color: rgba(255,255,255,.4);*/
    color: #F8060A;
    box-sizing: border-box;
    padding: 20px;
    border-radius: 25px;
    width: auto;
    background: #ffe095 url(../images/warnning.png) no-repeat;
    background-size: 4%;
    background-position: 20px 10px;
    text-indent: 45px;
    padding-top: 15px;
}
.index_header{
	width:100%;
	height: 260px;
	overflow: hidden;
	background-image: linear-gradient(to right, #ffe14d , #ffc34d);
	position: relative;
}
.index_header.detail_header{
	height: auto;
	overflow: hidden;
	padding-top: 18px;
}
.index_header .header_bg{
	width: 30%;
	height: 105px;
	background:url("../images/header_top.png") center no-repeat;
	background-size: 100%;
	position: absolute;
	left: 16px;
	top: 78px;
	z-index: 10;
}
.index_header .header_div01{
	width:100%;
	height: 160px;
}
.index_header .header_left{
	width: 0px;
	height: 0px;
	overflow: hidden;
	float: left;
}
.index_header .header_right{
	width: 100%;
	height: 150px;
    position: relative;
}
.index_header .user_name_div{
	width:70%;
	height: 95px;
	font-size: 36px;
	color: #000;
	box-sizing: border-box;
	padding-top: 20px;
	display: flex;
	align-items: flex-start;
	flex-wrap: nowrap;
	overflow: hidden;
	padding-left: 10px;
}
.user_name_div .user_logo{
	width: 50px;
	height: 50px;
	border-radius: 50%;
	border: 4px solid rgba(255,255,255,.8);
	overflow: hidden;
	box-shadow: 0 0 10px 10px rgba(255,255,255,.6);
	margin-left: 10px;
	flex-shrink: 0;
}
.user_logo img{
	width:100%;
}
.user_name_div .user_name{
	flex: 1;
	min-width: 0;
	max-width: 100%;
	font-size: 20px;
	font-weight: 600;
	line-height: 56px;
	margin-left: 10px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.index_topbar{
    position: absolute;
    right: 30px;
    top: 20px;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
}
.index_topbar a{
	text-decoration: none;
	display: inline-block;
}
.index_topbar span{
	width:40px;
	height: 40px;
	display: flex;
    border: 3px solid rgba(255,255,255,.8);
	box-shadow: 0 0 4px 4px rgba(255,255,255,.6);
    background-color:rgba(255,255,255,.38);
    align-items: center;
    justify-content: center;
	box-sizing: border-box;
}
.index_topbar .login{
	width: 40px;
	height: 40px;
    border-radius: 100px;
	box-sizing: border-box;
}
.index_topbar .login img{
    width: 70%;
    height: 70%;
    object-fit: cover;
	display: block;
}
.index_topbar span.qiehuan{
	width: 50px;
	height: 50px;
	background: url("../images/qiehuan.png") center no-repeat;
	background-size: 50%;
}
.user_gg_div{
	width: 100%;
	height: 40px;
	float: left;
	display: flex;
	align-items: center;
	flex-wrap: nowrap;
}
.user_icon{
	width: 26px;
	height: 40px;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-left: 20px;
	background-size: 90%;
	background-position: 2px 2px;
}
.user_icon img {
	width: 24px;
	height: auto;
}
.usgg{
    width: 80%;
	line-height: 26px;
	margin-left: 10px;
	height: 40px;
	font-size: 13px;
	color: #000;
	box-sizing: border-box;
	overflow: hidden;
	position: relative;
}

.user_gg_city_row{
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
}

.user_gg_city_row .user_gg_div{
    flex: 1 1 auto;
    min-width: 0;
}

.city-switch-inline{
    display: none;
    flex: 0 0 auto;
    align-items: center;
    gap: 8px;
    margin-right: 16px;
    font-size: 14px;
    white-space: nowrap;
    cursor: pointer;
    background: #fff;
    border-radius: 999px;
    padding: 5px 14px;
    /* min-height: 34px; */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.14);
}

.main_div.page-home .city-switch-inline{
    display: inline-flex;
}

.city-switch-inline > span{
    flex: 0 0 auto;
    min-width: 2.2em;
    max-width: 80px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #000;
}

.city-switch-inline a{
    color: #5a5a5a;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    font-size: 14px;
    line-height: 1;
}
#marqueeWrapper {
	width: 100%;
	height: 100%;
	overflow: hidden;
}
.marquee-content {
	width: auto;
	height: 100%;
	white-space: nowrap;
	display: inline-flex;
	animation: scroll 9s linear infinite;
}
.marquee-item {
	height: 100%;
	display: inline-flex;
	align-items: center;
	padding: 0 60px;
	font-size: 13px;
	color: #000;
	white-space: nowrap;
	flex-shrink: 0;
}
@keyframes scroll {
	0% {
		transform: translateX(0);
	}
	100% {
		transform: translateX(-50%);
	}
}
.index-search-div{
	width: 100%;
    height: 135px;
	border-top-left-radius: 50px;
	border-top-right-radius: 50px;
	background: #fff;
	box-sizing: border-box;
	padding: 25px;
	float: left;
}

.index-search {
    width: 100%;
	height: 70px;
	position: relative;
	background: #f1f1f1;
	border-radius: 50px;
}
.detail_back {
    width: 12%;
    height: 100%;
    float: left;
    box-sizing: border-box;
    padding-left: 30px;
}
.detail_back span {
    display: block;
    width: 80px;
    height: 80px;
    background: url(../images/arrow_left.png)top center no-repeat;
    background-size: 60%;
    background-position: 0px 15px;
    cursor: pointer;
}
.index-search.detail_search{
    width: 85%;
	height: 70px;
	position: relative;
	background: #f1f1f1;
	border-radius: 50px;
	float: right;
}
.index-search-left{
	width:79.3%;
	height: 70px;
	float: left;
	position: relative;
}
.detail_search .index-search-left{
	width:470px;
	height: 70px;
	float: left;
	position: relative;
}
.index-search-right{
	width:140px;
	height: 70px;
	float: left;
	padding-top: 15px;
	box-sizing: border-box;
	padding-left: 14px
}
.index-search-right a{
	display: block;
	width:120px;
	height: 40px;
	border-radius: 35px;
	color: #fff;
	font-size: 18px;
	line-height: 40px;
	background: #ffc24d;
	text-decoration: none;
	text-align: center;
}
.index-search input{
	width:100%;
	height: 70px;
	border-radius: 50px;
	line-height: 70px;
	padding-left: 30px;
	font-size: 18px;
	color: #999;
	box-sizing: border-box;
	padding-right: 80px;
	border: 0;
	background-color: transparent;
}
.index-search input::-webkit-input-placeholder{
    color:#999;
	font-size: 16px;
	line-height: 70px;
}
/* 搜尋建議框樣式 */
.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    max-height: 300px;
    overflow-y: auto;
    margin-top: 5px;
}

.search-suggestions.active {
    display: block;
}

.suggestion-item {
    padding: 12px 20px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s;
}

.suggestion-item:last-child {
    border-bottom: none;
}

.suggestion-item:hover {
    background-color: #f8f9fa;
}

.suggestion-name {
    font-size: 15px;
    font-weight: 500;
    color: #333;
    margin-bottom: 4px;
}

.suggestion-meta {
    font-size: 12px;
    color: #999;
}

.index-search button{
    border: 0;
    width: 40px;
    height: 40px;
    background: url(../images/search.png) no-repeat;
    background-size: 60%;
    position: absolute;
    right: 0;
    top: 24px;
    cursor: pointer;
	outline: none;
}
.index-search .with-image-search input{
    padding-right: 118px;
}
.index-search .with-image-search .image-search-btn{
    width: 40px;
    height: 40px;
    right: 46px;
    top: 50%;
    transform: translateY(-50%);
    margin-right: 0;
    background-image: none;
    background-position: center;
    background-size: auto;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;

}
.index-search .with-image-search .image-search-btn:hover{
    transform: translateY(-50%) scale(1.05);
}
.index-search .with-image-search .image-search-btn:active{
    transform: translateY(-50%) scale(0.96);
}
.index-search .with-image-search .image-search-btn i{
    font-size: 20px;
}
main.main_list{
    min-height: calc(100vh - 545px);
    /* background-image: linear-gradient(to right, #ffe14d, #ffc34d); */
    background: #fff;
    padding-bottom: 30px;
}
.list_div_row{
	width:100%;
	height: auto;
	background: #fff;
	padding-bottom: 15px;
    box-sizing: border-box;
}
.list_area_01{
	width: 88%;
	height: auto;
	margin: 0 auto;
	position: relative;
	padding-left: 10px;
}

.list_area_01 span{
	display:inline-block;
	width:100%;
	text-decoration: none;
	color: #fff;
	text-align: center;
	font-size: 16px;
	cursor: pointer;
}


.list_area_01 a{
	display:block;
	width:100%;
	text-decoration: none;
	color: #999;
	background: #f2f2f2;
	text-align: center;
	font-size: 14px;
	line-height: 20px;
}
.list_area_01 a:hover{
	background: #ffc24d;
	color: #000;
	font-weight: 600;
}
.list_area_01 a.on{
	background: #ffc24d;
	color: #000;
	font-weight: 600;
}
/* 屏蔽 header 內城市／地區切換橫條（.area_div_row，見 partials/header.html） */
.area_div_row{
	display: none !important;
	width:100%;
	height: auto;
	background: #fff;
	overflow: hidden;
	padding-bottom: 15px;
	padding-top: 12px;
	padding-left: 2%;
}
.area_div{
	width:88%;
	height: auto;
	overflow: hidden;
	margin: 0 auto;
}
.area_div.area_div_float{
	width:100%;
	height: 45px;
	overflow-x:scroll;
	display: inline;
	white-space: nowrap;
	position: fixed;
	top:0;
	left: 0;
	z-index: 101;
	background: #fff;
	box-shadow: 0px 2px 2px #666;
	line-height: 42px;
	box-sizing: border-box;
	padding-left: 10px;
	padding-right: 10px;
}
.area_div::-webkit-scrollbar {
  /*捲軸整體樣式*/
	display: none;
}

.area_div span{
	display:inline-block;
	width:auto;
	min-width:40px;
	height: 20px;
	text-decoration: none;
	color: #999;
	background: #f2f2f2;
	border-radius: 15px;
	text-align: center;
	font-size: 16px;
	padding: 6px 16px;
	margin-bottom: 10px;
	line-height: 20px;
	cursor: pointer;
}
.area_div span:hover{
	background: #ffc24d;
	color: #000;
	font-weight: 600;
}
.area_div span.on{
	background: #ffc24d;
	color: #000;
	font-weight: 600;
}
.area_div a{
	display:inline-block;
	width:auto;
	min-width:40px;
	height: 20px;
	text-decoration: none;
	color: #999;
	background: #f2f2f2;
	border-radius: 15px;
	text-align: center;
	font-size: 16px;
	padding: 6px 16px;
	margin-bottom: 10px;
	line-height: 20px;
}
.area_div a:hover{
	background: #ffc24d;
	color: #000;
	font-weight: 600;
}
.area_div a.on{
	background: #ffc24d;
	color: #000;
	font-weight: 600;
}

.list_area_div{
	width:88%;
	height: auto;
	min-height: 100px;
	overflow: hidden;
	margin: 0 auto;
	background: #eee;
	border-radius: 20px;
	box-sizing: border-box;
	padding: 10px;
	padding-left: 18px;
	padding-bottom: 20px;
	box-shadow:inset 0px 15px 10px -15px #999;
	display: none;
}
.list_area_div.on{
	display: block;
}
.list_area_div a{
	display:inline-block;
	width:auto;
	min-width:40px;
	height: 20px;
	text-decoration: none;
	color: #000;
	background: #ccc;
	border-radius: 20px;
	text-align: center;
	font-size: 14px;
	padding: 4px 14px;
	margin-top: 10px;
	line-height: 20px;
}
.list_area_div a:hover{
	background: #ffc24d;
	color: #000;
	font-weight: 600;
}
.list_area_div a.on{
	background: #ffc24d;
	color: #000;
	font-weight: 600;
}
.list_row_01{
	width: 100%;
	height: auto;
	overflow: hidden;
	position: relative;
}
.main_div{
	width:100%;
    max-width: 780px;
	min-height: calc(100vh - 390px);
	height: auto;
	overflow: hidden;
    background: #f5f5f5;
}

.index_row_mask{
	width:100%;
	height: auto;
	background-image: linear-gradient(#fff, transparent);
	overflow: hidden;
}

.index_row{
	width:100%;
	height: auto;
	overflow: hidden;
	margin: 0 auto;
	padding: 8px;
	box-sizing: border-box;
	position: relative;
	background: #fff;
}
.index-swiper{
	width:96%;
	height: auto;
	margin: 0 auto;
}

.swiper-slide{
	width:100%;
}
.swiper-slide img{
	width:100%;
	border-radius: 0px;
	border-radius: 30px;
}

/* 首頁輪播圖 */
.carousel-container {
    /* position: relative; */
    width: 100%;
    max-width: var(--container);
    /* box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3); */
}

.carousel-container.subpage {
    border-radius: 8px;
    overflow: visible;
    max-width: 100%;
}

.carousel-container.subpage .main-image {
    overflow: hidden;
    border-radius: 8px 8px 0 0;
}



/* 確保 subpage 中的 carousel 也使用 100% 寬度 */
.carousel-container.subpage .main-image {
    max-width: 100%;
    white-space: nowrap;
    /* 防止內容折行 */
}

.carousel {
    position: relative;
    width: 100%;
    max-width: var(--container);
    overflow: hidden;
    perspective: 1200px;
    touch-action: pan-y;
    border-radius: 20px;
}

.carousel.float-active {
    position: fixed;
    margin: auto;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
}

.details-slide video {
    width: 100%;
}

/* 全屏容器樣式 */
.carousel-container.fullscreen-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 800px;
    max-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    overflow: hidden;
    animation: fullscreenEnter 1s cubic-bezier(0.34, 1.56, 0.64, 1);
    border-radius: 0;
}

.main-image.float-active {
    height: 100vh;
    object-fit: cover;
}

.main-image.float-active img {
    max-width: 100% !important;
    max-height: 100% !important;
    width: auto !important;
    height: 100% !important;
    object-fit: contain !important;
}

.float-active .carousel-track {
    height: 100%;
}

/* 全屏退出動畫 */
.carousel-container.fullscreen-exit {
    animation: fullscreenExit 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* 全屏進入動畫 */
@keyframes fullscreenEnter {
    0% {
        transform: translate(-50%, -50%) scale(0.3);
        opacity: 0;
    }

    60% {
        transform: translate(-50%, -50%) scale(1.05);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}

/* 全屏退出動畫 */
@keyframes fullscreenExit {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, -50%) scale(0.3);
        opacity: 0;
    }
}

.carousel.fullscreen-active {
    position: relative;
    width: 100%;
    height: 100%;
    max-width: 780px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 全屏模式下的輪播軌道 */
.carousel.fullscreen-active .carousel-track {
    height: 100%;
    display: flex;
    align-items: center;
}

/* 全屏模式下的幻燈片容器 */
.carousel.fullscreen-active .carousel-slide {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
}

/* 全屏模式下的圖片和影片樣式 */
.carousel.fullscreen-active img,
.carousel.fullscreen-active video {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100vh;
    object-fit: contain;
}

/* 全屏模式下的橫圖（寬>高）：寬度100% */
.carousel.fullscreen-active .carousel-slide img.landscape-img {
    width: 100% !important;
    height: auto !important;
    max-height: 100vh;
    object-fit: contain;
}

/* 全屏模式下的豎圖（寬<高）：高度100% */
.carousel.fullscreen-active .carousel-slide img.portrait-img {
    width: auto !important;
    height: 100% !important;
    max-height: 100vh;
    max-width: 100%;
    object-fit: contain;
}

/* 隱藏影片進度條 */
video::-webkit-media-controls-timeline {
    display: none;
}

video::-moz-progress-bar {
    display: none;
}

video::-webkit-media-controls-current-time-display,
video::-webkit-media-controls-time-remaining-display {
    display: none;
}

/* 隱藏影片右邊的三個點選單 */
video::-webkit-media-controls-overflow-button {
    display: none;
}

video::-internal-media-controls-overflow-button {
    display: none;
}

/* 隱藏手機 Chrome 中央暫停 / ±10 秒按鈕 */
video::-webkit-media-controls-overlay-play-button,
video::-webkit-media-controls-start-playback-button {
    display: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

video::-webkit-media-controls-overlay-enclosure {
    display: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* 全屏模式下顯示影片控制條 */
.carousel.fullscreen-active video::-webkit-media-controls-timeline,
.overlay-18 video::-webkit-media-controls-timeline {
    display: flex !important;
}

.carousel.fullscreen-active video::-moz-progress-bar,
.overlay-18 video::-moz-progress-bar {
    display: block !important;
}

.carousel.fullscreen-active video::-webkit-media-controls-current-time-display,
.carousel.fullscreen-active video::-webkit-media-controls-time-remaining-display,
.overlay-18 video::-webkit-media-controls-current-time-display,
.overlay-18 video::-webkit-media-controls-time-remaining-display {
    display: block !important;
}

.carousel.fullscreen-active video::-webkit-media-controls-overflow-button,
.overlay-18 video::-webkit-media-controls-overflow-button {
    display: block !important;
}

.carousel.fullscreen-active video::-internal-media-controls-overflow-button,
.overlay-18 video::-internal-media-controls-overflow-button {
    display: block !important;
}

/* 確保全屏模式下影片控制條可見 */
.carousel.fullscreen-active video,
.overlay-18 video {
    pointer-events: auto;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100vh;
    object-fit: contain;
}

.carousel.fullscreen-active video::-webkit-media-controls-panel,
.overlay-18 video::-webkit-media-controls-panel {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* 全屏模式下的指示器樣式 */
.carousel.fullscreen-active .dots,
.carousel.fullscreen-active .dots-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1002;
}


.yhzq-containe .carousel {
    height: 520px;
}

.carousel-track {
    width: 100%;
    display: flex;
    position: relative;
    transition: transform 0.6s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    transform: translateX(0%);
}

.yhzq-containe .carousel-track {
    height: auto;
}

.carousel-slide {
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Slide */
.carousel-slide.slide-anim {
    position: relative;
    flex-shrink: 0;
    width: 100%;
    z-index: 1;
}

.carousel-slide.slide-anim.active {
    z-index: 5;
}

/* Fade */
.carousel-slide.fade-anim {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: scale(0.95);
    z-index: 1;
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.carousel-slide.fade-anim.active {
    opacity: 1;
    transform: scale(1);
    z-index: 5;
}

.carousel-slide video {
    width: 100%;
}

/* CoverFlow */
.carousel-slide.coverflow-anim {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.6s ease;
}

.carousel-slide.left {
    transform: translateX(-30%) scale(0.7) rotateY(30deg);
    opacity: 0.6;
    z-index: 5;
}

.carousel-slide.right {
    transform: translateX(30%) scale(0.7) rotateY(-30deg);
    opacity: 0.6;
    z-index: 5;
}

.carousel-slide.active.coverflow-anim {
    transform: translateX(0) scale(1) rotateY(0deg);
    opacity: 1;
    z-index: 10;
}

/* 標題與簡介 */
.carousel-slide .caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    padding: 30px;
    z-index: 10;
    transition: transform 0.3s ease;
    pointer-events: none;
    /* 不阻擋點選 */
}

.details-slide .caption {
    display: none;

}

.carousel-slide .caption h2,
.carousel-slide .caption h3 {
    font-size: clamp(1rem, 2.2vw, 1.5rem);
    line-height: 1.25;
    margin-bottom: 10px;
}

.carousel-slide .caption p {
    font-size: clamp(0.75rem, 1.4vw, 0.95rem);
    line-height: 1.45;
    opacity: 0.9;
    color: white;
}

.carousel-slide.fade-anim .caption {
    opacity: 0;
}

.carousel-slide.fade-anim.active .caption {
    opacity: 1;
}

/* 按鈕與圓點 */
.prev,
.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    /* border: none; */
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    fill: #fff;
    color: #fff;
    font-size: 24px;
    /* box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); */
    -webkit-tap-highlight-color: transparent;
    outline: none;
}

.prev {
    left: 15px;
}

.next {
    right: 15px;
}

.prev:hover,
.next:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

/* 指示器 */

.dots {
    width: 30%;
    position: absolute;
    bottom: 20px;
    right: 10px;
    display: flex;
    justify-content: space-between;
    gap: 4px;
    z-index: 20;
}

.carousel-indicators {
    width: 100%;
    height: 75px;
    background-color: var(--hg);
    display: flex;
    align-items: center;
    justify-content: right;
    padding-right: 16px;
    border-radius: 0;
}

.carousel-indicators .dots {
    justify-content: right;
    gap: 8px;
}

.dots span {
    flex: 1;
    height: 5px;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.dots span.active {
    background: #f4bc03;
    /* transform: scale(1.3); */
}

.carousel-indicators .dots span {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.7);
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #777;
}

.carousel-indicators .dots span.active {
    background: #fff;
    color: var(--black);
    font-weight: bold;
    /* transform: scale(1.3); */
}

/* 縮圖 */
.dots-counter {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 20;
    background: rgba(0, 0, 0, 0.5);
    padding: 5px 10px;
    border-radius: 12px;
    font-size: 14px;
    color: #fff;
}

.video-container {
    width: 100%;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 全屏模式下的影片容器 */
.carousel.fullscreen-active .video-container,
.overlay-18 .video-container {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100vh;
    box-sizing: border-box;
}

.video-play-btn {
    width: 50px;
    height: 50px;
    font-size: 24px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    position: absolute;
    z-index: 999;
    margin: auto;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.65;
    cursor: pointer;
}

.video-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.thumbnails-container {
    display: flex;
    padding: 8px;
    gap: 10px;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    box-sizing: border-box;
    position: relative;
    margin-bottom: 0;
    min-height: fit-content;
    border-bottom-right-radius: 8px!important;
    border-bottom-left-radius: 8px;
    /* padding-bottom: 23px; */
}

.rank-thumbnails-container {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    padding: 0;
    gap: 4px;
    /* background: rgba(0, 0, 0, 0.3); 
    backdrop-filter: blur(10px);
     border-top: 1px solid rgba(255, 255, 255, 0.2); */
}




.thumbnail:hover {
    opacity: 0.8;
}

.thumbnail.active {
    opacity: 1;
    border-color: #f4bc03;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rank-thumbnail {
    height: 58px;
    flex: 0 0 58px;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.3s;
    border-radius: 5px;
    overflow: hidden;
    position: relative;
    background-color: #f4bc03;
}

.rank-thumbnail:hover {
    opacity: 0.8;
}

.rank-thumbnail.active {
    opacity: 1;
    border-color: #f4bc03;
}

.rank-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.close-carousel {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    /* font-size: 24px;*/
    z-index: 1001;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 0;
    outline: none;
    padding: 0;
    box-sizing: border-box;
}
.close-carousel svg{
    width: 60%;
    height: 60%;
    display: block;
    margin: auto;
    object-fit: contain;
}
.overlay-18 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
    transition: opacity 0.3s ease;
}

.video-poster-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.video-play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
}

.video-play-overlay:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: translate(-50%, -50%) scale(1.1);
}

.video-play-overlay i {
    color: #fff;
    font-size: 36px;
    margin-left: 4px;
}

.video-poster {
    position: relative;
    cursor: pointer;
    width: 100%;
    height: 100%;
    object-fit: cover;
}



@keyframes moveUpScale {
    0% {
        transform: translateY(10px) scale(0.5);
        /* 初始：小且低 */
        opacity: 0;
    }

    100% {
        transform: translateY(0) scale(1);
        /* 結束：正常大小，位置回正 */
        opacity: 1;
    }
}

/* -------優惠專區------ */
.slider-container {
    width: 100%;
    max-width: 900px;
    overflow: hidden;
    position: relative;
    padding-bottom: 15px;
    background-color: #fff;
}

.div_row .slider-container {
    max-width: 100%;
    padding-bottom: 0;
    background: transparent;
}

.div_row .slider-wrapper {
    margin-bottom: 0;
}

.div_row .slide.de_div {
    width: auto;
    margin: 0 4px 0 0;
}

.div_row .slide.de_div:last-child {
    margin-right: 0;
}

.slider-container.subcategory {
    display: none;
}

.slider-wrapper {
    display: flex;
    transition: transform 0.5s ease;
    will-change: transform;
    margin-bottom: 15px;
    opacity: 0;
    visibility: hidden;
}

.slider-wrapper.initialized {
    opacity: 1;
    visibility: visible;
}

.slide {
    flex: 0 0 auto;
    padding: 0;
    text-align: center;
    margin: 0 4px;
    max-width: calc(100% - 8px); /* 確保單個slide時不超出容器（減去左右margin） */
    box-sizing: border-box;
}

/* 指示器 */
.indicators {
    display: flex;
    justify-content: center;
    /* margin: 15px 0; */
}

.indicators span {
    width: 24px;
    height: 24px;
    margin: 0 5px;
    background: #ccc;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicators span.active {
    background: #ffc24d;
    transform: scale(1.2);
}

.jinrituijian{
	width:100%;
	height: 100px;
    background: url(../images/tuijie.png) center no-repeat;
	background-size:20%;
	position: relative;
	box-sizing: border-box;
}
.youhuizhuanqu{
	width:100%;
	height: 100px;
    background: url(../images/youhui.png) center no-repeat;
	background-size:20%;
	position: relative;
	box-sizing: border-box;
}
.paihangbang{
	width:100%;
	height: 100px;
    background: url(../images/paihangbang.png) center no-repeat;
	background-size:20%;
}
.paihangbang a{
	height: 100px;
	text-decoration: none;
	color: #333;
	font-size: 18px;
	float: right;
	line-height: 100px;
	padding-right: 30px;
	box-sizing: border-box;
	font-weight: 600;
}
.youhuizhuanqu a{
	height: 100px;
	text-decoration: none;
	color: #333;
	font-size: 18px;
	float: right;
	line-height: 100px;
	padding-right: 30px;
	box-sizing: border-box;
	font-weight: 600;
}
.jinrituijian a{
	height: 100px;
	text-decoration: none;
	color: #333;
	font-size: 18px;
	float: right;
	line-height: 100px;
	padding-right: 30px;
	box-sizing: border-box;
	font-weight: 600;
}
.img_list{
	width:95%;
	height: auto;
	overflow: hidden;
	margin: 0 auto;
	padding-bottom: 10px;
	border-radius: 12px;
}
.img_list ul,li{
	margin: 0;
	padding: 0;
	list-style: none;
}
.img_list li{
    width: 185.25px;
    height: 185.25px;
    background: #fff4d6;
	float: left;
	overflow: hidden;
	position: relative;
}
.img_list li>a{
	display: block;
	width:100%;
	height: 100%;
}
.img_list li:nth-child(1){
	background: #f4bc03;
}
.img_list li:nth-child(3){
	background: #889c29;
}
.img_list li:nth-child(4){
	background: #e7d5bd;
}
.img_list li:nth-child(6){
	background: #5f473b;
}
.img_list li:nth-child(8){
	background: #97152d;
}
.img_list li img{
	width:100%;
}
.ppiicc {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* 首頁排行榜：一行兩列 */
.phb_grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 8px;
    width: 95%;
    max-width: 100%;
    margin: 0 auto 16px;
    box-sizing: border-box;
}
.phb_grid .phb_row {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 0;
}

@media (max-width: 767px) {
    .phb_grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
    }
}

.phb_row{
	width:95%;
	height: auto;
    min-height: 195px;
	margin: 0 auto;
	margin-bottom: 20px;
	position: relative;
	background: #e7d5bd;
	border-radius: 12px;
	display: flex;
	flex-direction: row;
	align-items: stretch;
	gap: 0;
}

/* 排行榜名次：固定在卡片右下角（取代原左側 phb_row_left） */
.phb_rank_badge {
	position: absolute;
	right: 14px;
	bottom: 14px;
	z-index: 6;
	min-width: 42px;
	height: 42px;
	padding: 0 8px;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 22px;
	font-weight: 800;
	color: #cb9d05;
	text-shadow: 1px 1px 0 #fedc6d;
	background: rgba(255, 255, 255, 0.92);
	border-radius: 30px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
	line-height: 1;
	pointer-events: none;
}
.phb_rank_badge--1 {
	background: #d6032a;
	color: #fff;
	text-shadow: none;
}
.phb_rank_badge--2 {
	background: #f4bc03;
	color: #fff;
	text-shadow: none;
}
.phb_rank_badge--3 {
	background: #aacd04;
	color: #fff;
	text-shadow: none;
}
.phb_div_mask{
	display: none;
}
.phb_row_center{
	flex: 0 0 45%;
	height: 100%;
	overflow: hidden;
	position: relative;
	display: flex;
	flex-direction: column;
}
.phb_row_center a{
	display: flex;
	flex: 1;
	height: 100%;
}
.phb_row_center img{
	width:100%;
	height: 100%;
	object-fit: cover;
}
.phb_row_right{
	flex: 1;
	height:auto;
	overflow: hidden;
	padding-top: 15px;
	box-sizing: border-box;
	padding-right: 10px;
}
.phb_row_right_top{
	width:100%;
	height: 25px;
	color: #333;
}
.phb_row_right_title{
	font-size: 24px;
	line-height: 36px;
	padding-left: 20px;
	box-sizing: border-box;
	float: left;
}

.phb_row_center .toolbar{
    width: 100%;
    background-color: rgba(0,0,0,.7);
    color: #fff;
    position: absolute;
    bottom: 0;
    left: 0;
    height: 35px;
    line-height: 35px;
    font-size: 16px;
    box-sizing: border-box;
    z-index: 100;
    padding-left: 15px;
    padding-top: 5px;
}
.phb_row_center .toolbar span{
    width: 33%;
    height: 30px;
    display: block;
    float: left;
    line-height: 32px;
    overflow: hidden;
    font-size: 12px;
}
.phb_row_center .toolbar span.shoucang {
    background: url(../images/sc.png) left no-repeat;
    background-size: 33%;
    padding-left: 20px;
    box-sizing: border-box;
}
.phb_row_center .toolbar span.i_zan {
    background: url(../images/izan.png) left no-repeat;
    background-size: 33%;
    padding-left: 20px;
    box-sizing: border-box;
}
.phb_row_center .toolbar span.i_pinglun {
    background: url(../images/pinglun.png) left no-repeat;
    background-size: 30%;
    padding-left: 20px;
    box-sizing: border-box;
}
.phb_icon{
	float: right;
}
.phb_icon span{
	display: block;
	height: 32px;
	float: right;
    font-size: 14px;
    padding-left: 50px;
    box-sizing: border-box;
    line-height: 16px;
	color: #fff;
}

.detail_div{
	width:100%;
	height: auto;
	overflow: hidden;
    font-weight: 600;
    position: relative;
}
.detail_div dl {
    width: 100%;
    height: auto;
    box-sizing: border-box;
    font-size: 13px;
    font-weight: 500;
    padding-left: 10px;
	overflow: hidden;
	margin-top: 0;
}
 .detail_div dt {
    display: block;
    float: left;
    line-height: 30px;
	width:23%;
	color: #000;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.detail_div dt.long{
	width:32%;
}
.detail_div dt.new_long{
	width:100%;
}
/* phb_row 中的 detail_div 使用一行兩列布局 */
.phb_row .detail_div dt {
	width: 50%;
	box-sizing: border-box;
}
.phb_row .detail_div dt.long,
.phb_row .detail_div dt.single {
	width: 100%;
}
.detail_div dt span{
	display: inline-block;
	padding-left: 5px;
	color: #666;
    max-width: calc(100% - 3.8em);
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    vertical-align: bottom;
}
.detail_div dt span.price{
	color: #fff;
	font-weight: 600;
	font-size: 14px;
}
.detail_div dt span.price.yj{
    text-decoration: line-through;
    font-weight: 800;
    font-family: "fzch";
    letter-spacing: 1px;
    font-size: 14px!important;
    text-shadow: 0px 1px 1px #666;
}
.detail_div dt span.price.xj{
    /* color: #15803d; */
    font-weight: 800;
    font-family: "fzch";
    letter-spacing: 1px;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.35);
    font-size: 14px!important;
}
.title_row{
	width:100%;
	height: 100px;
	font-size: 30px;
	line-height: 100px;
	padding-left: 16px;
    font-family: "fzch";
	position: relative;
	box-sizing: border-box;
}
.title_row span{
	display: inline-block;
	padding-left: 6px;
	padding-right: 6px;
	color: #e2af05;
}
.title_row span.title_more{
	display: block;
	position: absolute;
	right: 0;
	top: 0;
	font-size: 18px;
	font-weight: 600;
	font-family: Cambria, "Hoefler Text", "Liberation Serif", Times, "Times New Roman", "serif";
}
.title_row span.title_more a{
	text-decoration: none;
	display: block;
	color: #000;
	padding-right: 20px;
	height: 100%;
}
.div_row{
	width:98%;
	min-height: 300px;
	overflow: hidden;
	margin: 0 auto;
	padding-bottom: 25px;
}
.de_div{
    width: 23.8%;
    height: auto;
    margin-left: 1%;
    float: left;
    margin-bottom: 6px;
    position: relative;
    overflow: hidden;
    background: #ffc34d;
    border-radius: 12px;
}

.de_div .ic_img{
    height: 220px;
    position: relative;
}
/* VIP 標籤樣式 */
.vip-badge,
.no-image-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    right: auto;
    bottom: auto;
    margin: 0;
    z-index: 10;
    width: auto;
    height: auto;
    padding: 6px 12px;
    border-radius: 30px;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    text-align: center;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.15;
    color: #fff;
    background: rgba(42, 32, 8, 0.9);
    border: 1px solid #fff;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    animation: none;
    text-shadow: none;
    box-shadow: none;
}
.no-image-badge{
    display: none!important;
}
.ic_img .update{
    width: 100%;
    background-color: rgba(0,0,0,.7);
    color: #fff;
    position: absolute;
    top: 0px;
    left: 0px;
    height: 35px;
    line-height: 35px;
    font-size: 16px;
    padding-left: 15px;
    box-sizing: border-box;
}
.de_div  .toolbar {
    width: 100%;
    background-color: rgba(0,0,0,.7);
    color: #fff;
    position: absolute;
    bottom: 0;
    left: 0;
    height: 35px;
    line-height: 32px;
    font-size: 16px;
    box-sizing: border-box;
	z-index: 30;
	padding-left: 15px;
	padding-top: 5px;
}
.de_div  .toolbar span{
	width:33%;
	height: 30px;
	display: block;
    float: left;
	line-height: 32px;
	overflow: hidden;
    font-size: 12px;
}
/* 圖示勿用 background-size 百分比：輪播內卡片較窄時 span 變窄，百分比會把圖標縮太小，與固定 padding 疊加後和定點寬卡視覺不一致 */
.de_div  .toolbar span.shoucang {
    background: url(../images/sc.png) left center no-repeat;
    background-size: 16px 16px;
    padding-left: 20px;
    box-sizing: border-box;
}
.de_div  .toolbar span.i_zan {
    background: url(../images/izan.png) left center no-repeat;
    background-size: 16px 16px;
    padding-left: 20px;
    box-sizing: border-box;
}
.de_div  .toolbar span.i_pinglun {
    background: url(../images/pinglun.png) left center no-repeat;
    background-size: 16px 16px;
    padding-left:20px;
    box-sizing: border-box;
}

.de_div_mask{
	width:100%;
	height: 100%;
	background-image: linear-gradient(to top, #ffc34d, transparent);
	position: absolute;
	z-index: 2;
	top: 0;
	left: 0;
	pointer-events: none;
}
.de_div.new_list{
	background: #fff4d6;
}
.de_div_mask.new_list_mask{
	width:100%;
	height: 100%;
	background-image: linear-gradient(to top, #fff4d6, transparent);
	position: absolute;
	z-index: 2;
	top: 0;
	left: 0;
	pointer-events: none;
}

/* 定點／外約 .ic_img：時間／折扣／VIP 標籤統一等高 */
.de_div .ic_img .yhzq-activity-time-badge,
.de_div .ic_img .product-badge,
.de_div .ic_img .vip-badge {
	height: 36px;
	min-height: 36px;
	max-height: 36px;
	padding: 0 12px;
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
	font-size: 12px;
	font-weight: 800;
    min-width:60px;
}

/* 活動時間標：左上角（配色與 moban-2） */
.de_div .ic_img .yhzq-activity-time-badge {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 5;
	max-width: calc(100% - 24px);
	width: auto;
	min-width: 0;
	border-radius: 999px;
	background: rgba(126, 73, 176, 0.56);
	color: #fff;
	letter-spacing: 0.04em;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
    border: 1px solid #fff;
}

/* 與左上角時間標分離：VIP 改至右上角 */
.de_div .ic_img .vip-badge {
	left: auto;
	right: 12px;
}

.de_div .detail_div{
	position:relative;
	z-index: 4;
	width:100%;
	height: 260px;
	left: 0;
    top:0;
}
.de_div .detail_div .countdown-timer-overlay{
    background: rgba(0, 0, 0, 0.5);
}
.de_div .detail_div .cp_name {
    width: 100%;
    height: 40px;
    font-size: 20px;
    line-height: 48px;
    padding-left: 10px;
    box-sizing: border-box;
	color: #000;
	font-family: "Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, "sans-serif";
/*	text-shadow: 0px 2px 2px #666;*/
	font-weight: 600;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.de_div .detail_div .cp_pingfen {
    display: block;
    height: 60px;
    line-height: 60px;
    font-size: 18px;
    color: #fff;
    font-weight: 600;
    right: 12px;
    top: -8px;
    position: absolute;
	font-family: "Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, "sans-serif";
	text-shadow: 0px 2px 2px #666;
    z-index: 101;
}
.cp_pingfen span{
	display: inline-block;
	padding-right: 5px;
	color: #fff;
	font-size: 20px;
	font-family:  "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", "DejaVu Sans", Verdana, "sans-serif"
}
.de_div .detail_div dl {
    width: 100%;
    height: auto;
    box-sizing: border-box;
    font-size: 0.8rem;
    font-weight: 500;
	padding-left: 10px;
    font-weight: 600;
    margin: 0;
    padding: 0;
    padding-left: 10px;
}
.de_div .detail_div dt {
    display: block;
    float: left;
    width: 50%;
    height: 24px;
    line-height: 24px;
    border-bottom: 0px dashed #666;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.de_div .detail_div dt.long {
    width: 100%;
}

.de_div .detail_div dt span {
    display: inline-block;
    max-width: calc(100% - 3.8em);
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    vertical-align: bottom;
}

/* -------底部導航------ */
footer {
    max-width: var(--container);
    height: 110px;
    margin: 0 auto;
    background-color: #000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    gap: 4px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    text-align: center;
    padding: 16px 0;
    color: #7f8c8d;
    font-size: 0.9rem;
    box-sizing: border-box;
}

footer div {
    flex: 1;
    height: 90%;
    font-size: 18px;
    color: #666;
}

footer div a {
    color: #666;
    text-decoration: none;
    display: block;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: end;
    justify-content: center;
    text-align: center;
}

.foot-home {
    background: url(../images/i-home.png) center no-repeat;
    background-size: 30px 30px;
    background-position-y: 10px;
}

.foot-home.active {
    background: url(../images/i-home-on.png) center no-repeat;
    background-size: 30px 30px;
    background-position-y: 10px;
    color: #f4bc03;
    font-weight: bold;
}

.foot-home.active a {
    color: #f4bc03;
}

.foot-home a:hover {
    background: url(../images/i-home-on.png) center no-repeat;
    background-size: 30px 30px;
    background-position-y: 10px;
    color: #f4bc03;
    font-weight: bold;
}


.foot-phb {
    background: url(../images/i-phb.png) center no-repeat;
    background-size: 30px 30px;
    background-position-y: 10px;
}

.foot-phb.active {
    background: url(../images/i-phb-on.png) center no-repeat;
    background-size: 30px 30px;
    background-position-y: 10px;
}

.foot-phb.active a {
    color: #f4bc03;
    font-weight: bold;
}

.foot-phb a:hover {
    background: url(../images/i-phb-on.png) center no-repeat;
    background-size: 30px 30px;
    background-position-y: 10px;
    color: #f4bc03;
    font-weight: bold;
}

.foot-kf a {
    background: url(../images/i-kefu.png) center no-repeat;
    background-size: 30px 30px;
    background-position-y: 10px;
}

.foot-kf.active {
    background: url(../images/i-kefu-on.png) center no-repeat;
    background-size: 30px 30px;
    background-position-y: 10px;
    color: #f4bc03;
    font-weight: bold;
}

.foot-kf.active a {
    color: #f4bc03;
}

.foot-kf a:hover {
    background: url(../images/i-kefu-on.png) center no-repeat;
    background-size: 30px 30px;
    background-position-y: 10px;
    color: #f4bc03;
    font-weight: bold;
}

.foot-new {
    background: url(../images/i-new.png) center no-repeat;
    background-size: 30px 30px;
    background-position-y: 10px;
}

.foot-new.active {
    background: url(../images/i-new-on.png) center no-repeat;
    background-size: 30px 30px;
    background-position-y: 10px;
    color: #f4bc03;
    font-weight: bold;
}

.foot-new.active a {
    color: #f4bc03;
}

.foot-new a:hover {
    background: url(../images/i-new-on.png) center no-repeat;
    background-size: 30px 30px;
    background-position-y: 10px;
    color: #f4bc03;
    font-weight: bold;
}

.foot-uc {
    background: url(../images/i-uc.png) center no-repeat;
    background-size: 30px 30px;
    background-position-y: 10px;
}

.foot-uc.active {
    background: url(../images/i-uc-on.png) center no-repeat;
    background-size: 30px 30px;
    background-position-y: 10px;
    color: #f4bc03;
    font-weight: bold;
}

.foot-uc.active a {
    color: #f4bc03;
}

.foot-uc a:hover {
    background: url(../images/i-uc-on.png) center no-repeat;
    background-size: 30px 30px;
    background-position-y: 10px;
    color: #f4bc03;
    font-weight: bold;
}

.detail_div.tuijian{
	position: absolute;
	left:0;
	top: 60px;
	z-index: 99;
}
.detail_div.tuijian .cp_name{
	padding-left: 15px;
	box-sizing: border-box;
	font-weight: 600;
}
.new_title_row {
    width: 100%;
    height: 80px;
    font-size: 30px;
    line-height: 90px;
    font-family: "fzch";
    position: relative;
    box-sizing: border-box;
	text-align: center;
}
.new_title_row a{
	color: #999;
	text-decoration: none;
    line-height: 20px;
}
.new_title_row a.on{
	color: #000;
}
.new_title_row span{
	display: inline-block;
	padding-left: 12px;
	color: #f00;
    /* text-shadow: 0px 2px 2px rgba(0, 0, 0, 0.2); */
}
.new_title_row span.bzxc{
	color: #999;
}

/* todaynewList：城市選擇器放入 new_title_row 並右對齊 */
.index_row_mask.index_row_mask--with-city {
    overflow: visible;
    position: relative;
    z-index: 1100;
}

.main_div.main_div--with-city-dropdown {
    overflow: visible;
}

.new_title_row.new_title_row--with-city {
    position: relative;
    padding-right: 180px;
    margin-bottom: 20px;
    z-index: 1101;
}

.new_title_row.new_title_row--with-city .new-title-tabs {
    display: inline-block;
    white-space: nowrap;
}

.new_title_row.new_title_row--with-city .todaynew-city-dropdown {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    margin-left: 0;
    z-index: 1200;
}

.new_title_row.new_title_row--with-city .todaynew-city-dropdown .dropdown-menu {
    left: auto;
    right: 0;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    z-index: 1300;
}
/* 分頁控制元件 - moban-3 風格 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: 100%;
    background: transparent;
    padding: 20px;
}

.page-btn {
    width: 40px;
    height: 40px;
    min-width: 30px;
    min-height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 0, 0, 0.5);
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.3);
    color: #999;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    border-color: #eee;
    border-radius: 50%;
}

.page-btn.active {
    background: linear-gradient(90deg,#fbbd39,#ff8a00);
    color: #fff;
    border-color: #faae52;
    font-weight: 600;
}

.page-btn:hover:not(.active):not(.disabled) {
    background-color: rgba(255, 255, 255, 0.5);
    border-color: #faae52;
    color: #000;
    font-weight: 600;
}

.page-btn.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    background-color: rgba(255, 255, 255, 0.5);
    border-color: rgba(0, 0, 0, 0.1);
    color: #999;
}

.page-ellipsis {
    padding: 0;
    color: #666;
}

.uc-pagination-mian{
	width: 100%;
	height: 75px;
	box-sizing: border-box;
	text-align: center;
	margin: 0 auto;
	padding-top: 15px;
	font-size: 0;
}
.uc-pagination-mian a{
	display: inline-block;
	text-align: center;
	background-color: rgba(0,0,0,.5);
	color: #fff;
	font-size: 20px;
	font-weight: 600;
	text-decoration: none;
	margin-left: 4px;
	margin-right: 4px;
	width:40px;
	height: 40px;
	line-height: 40px;
	border-radius: 40px;
}
.uc-pagination-mian a:hover{
	color: #000;
}
.uc-pagination-mian a.page_active{
	background-color: rgba(255,255,255,.5);
	color: #000;
}
.phb_list{
	width:98%;
	height: auto;
	overflow: hidden;
	margin: 0 auto;
    border-radius: 20px;
}
.phb_list li{
    width: 25%;
    height: 539px;
    background: #f6f2f1;
	float: left;
	overflow: hidden;
	position: relative;
}
.phb_list li>.pic_div>.phb_jianbian{
	width:100%;
	height: 260px;
	/* background-image: linear-gradient(to top, #fff4d6 50%, transparent ); */
	position: absolute;
	z-index: 5;
	bottom: 0;
	left: 0;
	pointer-events: none;
}
.phb_list li:nth-child(1){
	background: #fca704;
	border-top-left-radius: 20px;
}
/* .phb_list li:nth-child(1)>.pic_div>.phb_jianbian{
	background-image: linear-gradient(to top, #fca704 20%, transparent );
} */
.phb_list li:nth-child(3){
	background: #889c29;
}
.phb_list li:nth-child(3)>.pic_div>.phb_jianbian{
	/* background-image: linear-gradient(to top, #889c29 50%, transparent ); */
}

.phb_list li:nth-child(4){
	/* border-top-right-radius: 20px; */
}
.phb_list .nt_sort li:nth-child(4){
	border-top-right-radius: 20px;
}

.phb_list li:nth-child(5){
	background: #5f473b;
}
.phb_list li:nth-child(5)>.pic_div>.phb_jianbian{
	/* background-image: linear-gradient(to top, #5f473b 50%, transparent ); */
}
.phb_list li:nth-child(7){
	background: #97152d;
}
.phb_list li:nth-child(7)>.pic_div>.phb_jianbian{
	/* background-image: linear-gradient(to top, #97152d 50%, transparent ); */
}

.phb_list li:nth-child(9){
	background: #889c29;
}
.phb_list li:nth-child(9)>.pic_div>.phb_jianbian{
	/* background-image: linear-gradient(to top, #889c29 50%, transparent ); */
}
.phb_list li:nth-child(11){
	background: #f4bc03;
}
.phb_list li:nth-child(11)>.pic_div>.phb_jianbian{
	/* background-image: linear-gradient(to top, #f4bc03 50%, transparent ); */
}
.phb_list li:nth-child(13){
	background: #5f473b;
}
.phb_list li:nth-child(13)>.pic_div>.phb_jianbian{
	/* background-image: linear-gradient(to top, #5f473b 50%, transparent ); */
}

.phb_list li:nth-child(15){
	background: #97152d;
}
.phb_list li:nth-child(15)>.pic_div>.phb_jianbian{
	/* background-image: linear-gradient(to top, #97152d 50%, transparent ); */
}

.phb_list li:nth-child(17){
	background: #f4bc03;
	border-bottom-left-radius: 20px;
}
.phb_list li:nth-child(17)>.pic_div>.phb_jianbian{
	/* background-image: linear-gradient(to top, #f4bc03 50%, transparent ); */
}
.phb_list li:nth-child(19){
	background: #889c29;
}
.phb_list li:nth-child(19)>.pic_div>.phb_jianbian{
	/* background-image: linear-gradient(to top, #889c29 50%, transparent ); */
}



.phb_list li>.pic_div{
	width:100%;
	height: 255px;
	overflow: hidden;
	position: relative;
}
.phb_list li>.pic_div img{
	width:100%;
}
.phb_list .toolbar {
    width: 100%;
    background-color: rgba(0,0,0,.7);
    color: #fff;
    height: 33px;
    line-height: 33px;
    font-size: 16px;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-left: 10px;
}
.phb_list .toolbar span{
	width:22%;
	height: 30px;
	display: block;
	line-height: 30px;
	overflow: hidden;
    font-size: 12px;
	text-align: center;
	box-sizing: border-box;
}

.phb_list .toolbar .shoucang {
    background: url(../images/sc.png)left no-repeat;
    background-size: 35%;
    box-sizing: border-box;
    padding-left: 10px;
}
.phb_list .toolbar .i_zan {
    background: url(../images/izan.png)left no-repeat;
    background-size: 35%;
    box-sizing: border-box;
    padding-left: 10px;
}
.phb_list .toolbar .i_pinglun {
    background: url(../images/pinglun.png)left no-repeat;
    background-size: 35%;
    box-sizing: border-box;
    padding-left: 10px;
}
.phb_list .lable{
    display: block;
    text-align: center;
    color: #fff;
    font-size: 24px;
    font-weight: bold;
    position: absolute;
    top: -4px;
    left: -7px;
    width: 60px;
    height: 60px;
    background: url(../images/lable.png)center no-repeat;
    background-size: 90%;
    z-index: 4;
    line-height: 60px;
    text-shadow: 1px 1px 2px #fff, -1px -1px 2px #333;
}
.phb_list li:nth-child(-n+3)>.lable{
	color: #000;
    background: url(../images/lable_r.png)center no-repeat;
    background-size: 90%;
}
.phb_list .detail_div{
	height: auto;
	overflow:unset;
	position: absolute;
	z-index: 12;
	left: 0;
}
.phb_list .detail_div .cp_name {
    width: 100%;
    height: auto;
    font-size: 24px;
    line-height: 60px;
    padding-left: 10px;
    padding-top: 20px;
    box-sizing: border-box;
	color: #000;
	text-shadow: 1px 1px 2px 222, -1px -1px 2px white;
	font-weight: bold;
    line-height: 25px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.phb_list .detail_div .cp_pingfen {
    display: block;
    height: 60px;
    line-height: 60px;
    font-size: 18px;
    font-weight: 600;
    right: 16px;
    top: -10px;
    position: absolute;
    z-index: 101;
	font-family: "Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, "sans-serif";
	/* text-shadow: 0px 0px 2px #fff; */
}
/* 奇數列 cp_pingfen 顏色 */
.phb_list li:nth-child(odd) .detail_div .cp_pingfen {
	color: #fff;
}
/* 偶數列 cp_pingfen 顏色 */
.phb_list li:nth-child(even) .detail_div .cp_pingfen {
	color: #000;
}
.phb_list li>.detail_div>.cp_pingfen span{
	display: inline-block;
	padding-right: 5px;
	font-size: 26px;
	color: #fff;
	font-family:  "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", "DejaVu Sans", Verdana, "sans-serif";
	text-shadow: none;
}
/* 奇偶數列 cp_pingfen span 顏色 */
.phb_list li:nth-child(odd)>.detail_div>.cp_pingfen span {
	color: #fff;
}
.phb_list li:nth-child(even)>.detail_div>.cp_pingfen span {
	color: #000;
}
.phb_list .detail_div dl {
    width: 100%;
    height: 190px;
    box-sizing: border-box;
	color: #fff;
    font-size: 0.8rem;
    padding-left: 10px;
	margin: 0;
	margin-top: 16px;
	font-weight: 600;
	/*text-shadow: 0px 0px 2px #fff;*/
}
.phb_list .detail_div dt {
    display: block;
    float: left;
    width: 50%;
    height: 22px;
    line-height: 20px;
    border-bottom:0px dashed #fff;
	padding: 0;
	margin: 0;
	color: #fff;
	/* text-shadow: 0px 0px 4px #000; */
  }
.phb_list .detail_div dt.long {
    width: 100%;
}
.phb_list .detail_div dl dt:last-of-type {
    white-space: nowrap;
    overflow: visible;
}
.phb_list li>.detail_div dt span {
    display: inline-block;
    color: #fff;
    padding-left: 6px;
}
/* 偶數列文字顏色 */
.phb_list li:nth-child(even) .detail_div dt {
    color: #000;
}
.phb_list li:nth-child(even) .detail_div dt span {
    color: #333;
}
/* 奇數列 cp_name 文字顏色 */
.phb_list li:nth-child(odd) .detail_div .cp_name {
    color: #fff;
}
.phb_list .nt_sort {
    width: 100%;
    height: 60px;
    /* border-bottom: 1px solid #ddd; */
}
.phb_list ul, li {
    margin: 0;
    padding: 0;
    list-style: none;
}
.phb_list .nt_sort ul {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}
.phb_list .nt_sort li {
    width: 25%!important;
    height: 100%;
    float: left;
    text-align: center;
    color: #333;
    font-size: 20px;
    line-height: 60px;
    font-weight: 600;
    position: relative;
    cursor: pointer;
	background: #fff4d6;
}
.phb_list .nt_sort li:hover {
    background: #fca704;
}
.phb_list .nt_sort li.active,
.phb_list .nt_sort li.on {
    background: #fca704;
}
.phb_list .nt_sort li>a {
    display: block;
    width: 100%;
    height: 100%;
    color: #333;
    text-decoration: none;
}
.more_list li:nth-child(1) {
    border-top-left-radius: 0px;
}

/* .more_list li:nth-child(4) {
    border-top-right-radius: 0px;
} */
/* .phb_list .nt_sort li:nth-child(1) {
    background: #fca704;
}
.phb_list li:nth-child(3) {
    background: #889c29;
}
.phb_list .nt_sort li:nth-child(4) {
	border-top-right-radius: 0px;
} 
.phb_list .nt_sort li:nth-child(5) {
    background: #e7d5bd;
	border-top-right-radius: 25px;
}  */
.phb_list .nt_sort li .sort_arrow {
    display: block;
    position: absolute;
    right: 10px;
    top: 0;
    width: 30px;
    height: 60px;
    background: url(../images/sort_arrow.png) center no-repeat;
    background-size: 60%;
}
.phb_list .toolbar .new_long {
    width: 33%;
    padding-left: 24px;
}
.detail_main_div{
	width:100%;
	height: auto;
	background: #fff;

}
.top_swiper {
    width: 96%;
    height: 500px;
    position: absolute;
    margin: auto;
    left: 0;
    right: 0;
    top: 0;
    z-index: 2;
	border-radius: 25px;
	overflow: hidden;
}
.index_swiper_div {
    width: 96%;
    height: 500px;
    position: relative;
    overflow: hidden;
    opacity: 0.6;
    margin: 0 auto;
	border-radius: 25px;
}
.detail_bg {
    width: 100%;
    height: 100%;
    filter: blur(6px);
}
.detail_left {
    width: 43%;
    height: 100%;
    float: left;
    overflow: hidden;
    position: relative;
}
.detail_left img {
    width: 100%;
}

.detail_right {
    width: 57%;
    height: 100%;
    float: left;
    overflow: hidden;
    box-sizing: border-box;
    padding: 10px;
}
.detail_right_div {
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,.5);
    padding: 25px;
    box-sizing: border-box;
	border-top-right-radius: 20px;
	border-bottom-right-radius: 20px;
}
.detail_right_div dl, dt {
    padding: 0;
    margin: 0;
    list-style: none;
}
.detail_right_div dl{
	position: relative;
}
.detail_right_div dt {
    color: #fff;
    height: 33px;
    border-bottom: 1px dotted rgba(255,255,255,0.3);
    line-height: 35px;
}
.detail_right_div dt:last-child{
    border-bottom:0;
}
.detail_right_div dt.bianhao {
    width: auto;
    height: 60px;
    position: absolute;
    top:-10px;
    right: 0;
    color: #fff;
    font-size: 26px;
    text-shadow: 2px 2px 4px #222, -2px -2px 4px black;
    z-index: 2;
    text-align: center;
	border:0;
}
.detail_right_div .cp_name {
    height: 42px;
    font-size: 26px;
    color: #fff;
    border-bottom: 0;
}
.detail_topbar {
    background: #fff;
    width: 100%;
    height: 75px;
    box-sizing: border-box;
    padding-top: 10px;
    padding-left: 10px;
}
.d_tool_left {
    width: 75%;
    float: left;
}
.d_tool_left ul, li {
    list-style: none;
    padding: 0;
    margin: 0;
}
.d_tool_left li {
    float: left;
    margin-right: 25px;
}
.d_tool_left li>span {
    display: block;
    width: 50px;
    height: 30px;
    margin: 0 auto;
    cursor: pointer;
}
.yaofenxiang {
    background: url(../images/fenxiang.png)bottom center no-repeat;
    background-size: 50%;
}
.yaoshoucang {
    background: url(../images/d_sc.png)bottom center no-repeat;
    background-size: 50%;
}
.yaoshoucang.on {
    background: url(../images/d_sc_on.png)bottom center no-repeat;
    background-size: 50%;
}
.post_zan {
    background: url(../images/d_zan.png)bottom center no-repeat;
    background-size: 50%;
}
.d_tool_left p {
    display: block;
    text-align: center;
    box-sizing: border-box;
    color: #000;
    padding: 0;
    margin: 0;
    font-size: 14px;
    padding-top: 5px;
}
.d_tool_left p.ssjf {
    display: block;
    box-sizing: border-box;
    color: #000;
    padding: 0;
    margin: 0;
    font-size: 18px;
	line-height: 65px;
	font-weight: 600;
	text-align: left;
    padding-left: 40px;
    background: url("../images/yyt.png")left center no-repeat;
	background-size: 15%;
	background-position: 0 13px;
	cursor: pointer;
}
.zan-number {
    font-style: normal;
    color: #333;
}
.d_tool_right {
    width: 25%;
    float: left;
}
.yaoyueta {
    display: block;
    width: 100px;
    height: 40px;
    background: #ffc24d;
    font-size: 20px;
    text-align: center;
    line-height: 40px;
    margin-left: 75px;
    border-radius: 30px;
    margin-top: 8px;
}
.yaoyueta a {
    color: #000;
    text-decoration: none;
}
.de_tab {
    width: 100%;
    height: auto;
    background-image: linear-gradient(to right, #ffe14d , #ffc34d);
}
.de_con_div {
    width: 100%;
    height: auto;
    box-sizing: border-box;
}
.de_con_div .show {
    display: block;
}
.de_con {
    width: 100%;
    height: auto;
    display: none;
    overflow: hidden;
    padding: 8px;
    box-sizing: border-box;
}
.swiper-container {
    margin-left: auto;
    margin-right: auto;
    position: relative;
    overflow: hidden;
    list-style: none;
    padding: 0;
    z-index: 1;
}
.de_tab ul, li {
    list-style: none;
    margin: 0;
    padding: 0;
}
.gallery li {
    position: relative;
    float: left;
    width: calc(33.3333333333333% - 2px )!important;
    overflow: hidden;
    cursor: pointer;
    height: 260px;
    border-right: solid 2px rgba(255,255,255,0.6);
    border-bottom: solid 2px rgba(255,255,255,0.6);
}
.swiper-slide img {
    width: 100%;
}
.img_cover {
    width: 100%;
    position: fixed;
    background-color: rgba(0,0,0,1.0);
    z-index: 100;
    height: 0;
	overflow: hidden;
}
.galley-close {
    position: absolute;
    width: 10%;
    height: 10%;
    background: url(../images/share_close.png)center no-repeat;
    background-size: contain;
    top: 0;
    right: 10px;
    cursor: pointer;
    z-index: 1001;
}
.play-button {
    position: absolute;
    width: 40%;
    height: 40%;
    margin: auto;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 10;
    background: url(../images/play-button.png)center no-repeat;
    background-size: contain;
    pointer-events: none;
}
.main_reply_div {
    width: 100%;
    height: auto;
    box-sizing: border-box;
    padding: 15px;
    background: #fff;
	padding-top: 0;
	border-bottom: 0px dotted rgba(90,90,90,0.6);
}
.main_reply_list {
    width: 100%;
    height: auto;
    box-sizing: border-box;
    padding: 15px;
    background: #fff;
	padding-top: 0;
	padding-bottom: 0;
	border-bottom-left-radius: 50px;
	border-bottom-right-radius: 50px;
	overflow: hidden;
}
.main_zan_div {
    width: 100%;
    float: left;
    padding-left: 0;
    margin-left: -1.5em;
}
.main_zan_div .main_zan {
    width: 160px;
    height: 45px;
    background: url(../images/d_zan.png)left center no-repeat;
    background-size: 20%;
    background-position: 20% 6px;
    border: 1px solid #f4bc03;
    color: #666;
    text-align: center;
    line-height: 45px;
    font-weight: 600;
    font-size: 16px;
    margin: 0 auto;
    cursor: pointer;
	border-radius: 30px;
}
.index_title {
    width: 100%;
    text-align: center;
    font-size: 26px;
    color: #fff;
	height: 80px;
	line-height: 80px;
}
.more_title{
	width: 90%;
    text-align: center;
    font-size: 26px;
    color: #000;
	height: 80px;
	line-height: 80px;
	background: #fff;
	margin: 0 auto;
}
#list-wrap .m_list {
    margin: 0;
    padding: 0;
    height: auto;
    overflow: hidden;
    border: 0;
    margin-top: 30px;
	padding-left: 10px;
}
#list-wrap.m_comments{
    background: #f5f5f5;
    border-radius: 30px;
}
#list-wrap .main_commont{
	width: calc(100% - 90px);
    float: left;
    box-sizing: border-box;
    position: relative;
}
.main_reply_list .title {
    font-size: 24px;
    margin-bottom: 25px;
    color: #999;
	padding-top: 20px;
	text-align: center;
}

.list_uc_page{
	margin-top: 0;
}
.ssjg_div_y{
    height: 70px;
    font-size: 18px;
    line-height: 70px;
    padding-left: 30px;
    border-bottom: 1px solid #eee;
    background: #f1f1f1;
    font-weight: 600;
    box-shadow: inset 0px 15px 10px -15px #ccc;
    margin-bottom: 20px;
}

.results-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    padding-left: 30px;
    padding-right: 30px;
    border-bottom: 1px solid #eee;
    background: #f1f1f1;
    box-shadow: inset 0px 15px 10px -15px #ccc;
    margin-bottom: 20px;
}

.results-summary .ssjg_div_y {
    height: 70px;
    font-size: 18px;
    line-height: 70px;
    padding-left: 0;
    border-bottom: none;
    background: transparent;
    box-shadow: none;
    margin-bottom: 0;
    flex: 1;
}
.ssjg_div_y span {
    display: inline-block;
    margin-left: 10px;
    margin-right: 10px;
    color: #97152d;
	font-weight: bold;
}
.ssjg_div{
	height: 70px;
	color: #fff;
	font-size: 16px;
	line-height: 70px;
	padding-left: 16px;
}
.ssjg_div span {
    display: inline-block;
    margin-left: 10px;
    margin-right: 10px;
    color: #c6d449;
	font-weight: bold;
}


#thumbs{
	height: auto;
	overflow: hidden;
	border-radius: 20px;
}
.de_con_div .show {
    display: block;
}
.de_con {
    width: 100%;
    height: auto;
    display: none;
    overflow: hidden;
    padding: 8px;
    box-sizing: border-box;

}
.de_tab ul.fuwu {
    padding: 0px;
    box-sizing: border-box;
    margin: 0 auto;
	height: auto;
	overflow: hidden;
	border-radius: 20px;
}
.fuwu li {
    width: 100%;
    height: auto;
    border-bottom: solid 1px rgba(180,180,180,0.3);
    font-size: 18px;
    text-align: left;
    padding-top: 15px;
    line-height: 28px;
    padding-bottom: 10px;
    color: #000;
    background-color: rgba(255,255,255,0.5);
    padding-left: 20px;
    box-sizing: border-box;
}
.fuwu li span {
	font-weight: 500;
	color: #666;
}

.fuwu li:last-child{
    border-bottom: 0;
}
#box {
    margin: 0 auto;
    width: 48%;
    float: left;
    padding-left: 2%;
}
#myPoint {
    padding-right: 0;
    padding-left: 0;
    padding-bottom: 15px;
    overflow: hidden;
    padding-top: 0;
    border-bottom: #fff 1px solid;
    height: 50px;
    margin-bottom: 20px;
    margin-top: 12px;
}
#myPoint span {
    float: left;
    line-height: 64px;
    font-family: Tahoma;
    color: #fff;
}
#myPoint span big {
    font-weight: 700;
    font-size: 60px;
    color: #6bc414;
}
#myPoint span small {
    font-size: 30px;
    color: #6bc414;
}
#myPoint img {
    display: inline-block;
    margin-left: 20px;
    margin-top: 20px;
}
#myPoint em {
    margin-left: 10px;
    margin-top: -10px;
    font-weight: 700;
    font-size: 40px;
    font-style: normal;
    color: #fff;
}
#myPoint span {
    float: left;
    line-height: 64px;
    font-family: Tahoma;
    color: #333;
}
#doPoint {
    padding-top: 10px;
    padding-bottom: 10px;
    height: auto;
    overflow: hidden;
    color: #333;
}
#doPoint .biaoti {
    width: 180px;
    float: left;
    font-weight: 700;
    height: 24px;
}
#doPoint .fenshu {
    width: 140px;
    float: left!important;
    height: 24px;
}
#doPoint span small {
    font-size: 0;
    float: left;
    overflow: hidden;
    width: 12px;
    cursor: pointer;
    padding-top: 20px;
    height: 0;
}
#doPoint strong {
    font-size: 15px;
    color: #6bc414;
    font-weight: 700;
}
#doPoint span {
	display: block;
	background: url(../images/star_small.png) no-repeat 2px 0;
	width: 120px;
	height: 20px;
	margin-left: 50px;
	margin-top: -21px
}

#doPoint span small {
	font-size: 0;
	float: left;
	overflow: hidden;
	width: 12px;
	cursor: pointer;
	padding-top: 20px;
	height: 0
}
#doPoint .star10 {
	background: url(../images/star_small.png) no-repeat 2px 0
}

#doPoint .star9 {
	background: url(../images/star_small.png) no-repeat 2px -20px
}

#doPoint .star8 {
	background: url(../images/star_small.png) no-repeat 2px -40px
}

#doPoint .star7 {
	background: url(../images/star_small.png) no-repeat 2px -60px
}

#doPoint .star6 {
	background: url(../images/star_small.png) no-repeat 2px -80px
}

#doPoint .star5 {
	background: url(../images/star_small.png) no-repeat 2px -100px
}

#doPoint .star4 {
	background: url(../images/star_small.png) no-repeat 2px -120px
}

#doPoint .star3 {
	background: url(../images/star_small.png) no-repeat 2px -140px
}

#doPoint .star2 {
	background: url(../images/star_small.png) no-repeat 2px -160px
}

#doPoint .star1 {
	background: url(../images/star_small.png) no-repeat 2px -180px
}

#doPoint .star0 {
	background: url(../images/star_small.png) no-repeat 2px -200px
}
.pingfen-submit {
    width: 100%;
    height: 50px;
    float: left;
    margin-top: 10px;
}
.pingfen-submit button {
    width: 100%;
    height: 45px;
	background: #fff;
    /*background-color: rgba(118,118,118,.8);*/
    color: #000;
    font-size: 20px;
    line-height: 40px;
    border: none;
    cursor: pointer;    
	text-align: center;
	outline: none;
	border-radius: 22.5px;
}

#list-wrap .list {
    margin: 0;
    padding: 0;
    height: auto;
    overflow: hidden;
    border: 0;
    margin-top: 30px;
}

.commont_sm{
	width:100%;
	height: 30px;
	border-bottom: 1px dotted #eee;
	font-size: 24px;
	font-weight: 600;
	padding-bottom: 20px;
	margin-bottom: 20px;
	text-align: center;
	color: #999;
}
#list-wrap .user-pic {
    text-align: center;
    width: 82px;
    float: left;
}
.user-pic img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
}
#list-wrap .user-commont {
	width: calc(100% - 90px);
    float: left;
	box-sizing: border-box;
	border-bottom: 1px dotted rgba(90,90,90,0.4);
	position: relative;
}
.user-commont:last-child{
	border-bottom: 0;
}
.user-commont-top{
	width:100%;
	float: left;
}
.user-commont .zan{
	display: block;
	width:70px;
	padding-left: 50px;
	height: 40px;
	position: absolute;
	top: 0;
	right: 0;
	background: url("../images/d_zan.png") center no-repeat;
	background-size: 30%;
	cursor: pointer;
	font-size: 14px;
	line-height: 45px;
	font-weight: 700;
	box-sizing: border-box;
	color: #999;
}
.user-commont .wenda{
	display: block;
	font-size: 24px;
	color: #7a7a7a;
	line-height: 40px;
	height: 40px;
	position: absolute;
	top: 0;
	right:58px;
	font-weight:600;
	cursor: pointer;
}
.user-commont .reply{
	display: block;
	font-size: 18px;
	color: #5f473b;
	line-height: 40px;
	height: 40px;
	position: absolute;
	top: -9px;
	right: 78px;
	cursor: pointer;
	padding: 10px;
}

#list-wrap .c-name {
    font-size: 18px;
    color: #5f473b;
    height: 40px;
    overflow: hidden;
    line-height: 40px;
	float: left;
	font-weight: 600;
	min-width:50px;
}
#list-wrap .c-level {
    height: 40px;
	width:120px;
    overflow: hidden;
    line-height: 40px;
	font-size: 14px;
	display: inline-block;
	text-align: left;
}
#list-wrap .c-level .medal{
	display: inline-flex;
	width:22px;
	height: 40px;
	margin-left: 10px;
	vertical-align: middle;
	align-items: center;
}
.c-level .medal img{
	width:100%;
}

#list-wrap .c-time {
    font-size: 14px;
    color: #333;
    height: 40px;
    overflow: hidden;
    line-height: 40px;
	width:100%;
	float: left;
	text-align: right;
    padding-right: 10px;
    box-sizing: border-box;
	margin-top: 10px;
	margin-bottom: 10px;
}
#list-wrap .c-neirong {
    font-size: 16px;
    height: auto;
    overflow: hidden;
    line-height: 26px;
	width:100%;
	float: left;
}
.user-commont-list{
	width:100%;
	height: auto;
	overflow: hidden;
	margin-left: 0;
	color: #666;

}
.user-commont-list dl{
	padding: 20px;
	padding-bottom: 10px;
	box-sizing: border-box;
	position: relative;
    border-radius: 25px;
	background-color: rgba(255,255,255,.5)
}
.user-commont-list dt{
	height: auto;
	overflow: hidden;
	margin-bottom: 1px;
	border-bottom: 1px dotted rgba(90,90,90,0.4);
	padding-top: 10px;
}
.user-commont-list dt:last-child{
	border-bottom:0;
}
.list_arrow{
	position: absolute;
	top:-1.0rem;
    left:3.67vw;
    content: "";
    width: 0;
    height: 0;
    border-bottom: 0.9rem solid  rgba(255,255,255,.5);
    border-right: 0.9rem solid transparent;
    border-top: 0.1rem solid transparent;
    border-left: 0.9rem solid transparent;
}
.user-commont-list dt{
    width:100%;
	margin-bottom: 10px;
}
.user-commont-list dt a{
	color: #666;
	font-size: 18px;
	text-decoration: none;
	padding-top: 10px;
}
.user-commont-list .reply-name {
	display: block;
    font-size: 18px;
    color: #5f473b;
	margin-bottom: 5px;
}
/*.Dialog_page a{
	display: inline-block;
	padding: 15px;
	padding-top: 6px;
	padding-bottom: 6px;
	text-align: center;
	background-color: rgba(0,0,0,.5);
	color: #fff;
	font-size: 24px;
	font-weight: 600;
	text-decoration: none;
	margin-right: 6px;
	cursor: pointer;
}
.Dialog_page a.page_active{
	background-color: rgba(255,255,255,.7);
	color: #000;
	padding: 14px;
	padding-top: 5px;
	padding-bottom: 5px;
}*/
.user-commont-list .reply-time {
    font-size: 14px;
    color: #333;
    height: 40px;
    overflow: hidden;
    line-height: 40px;
    width: 100%;
    float: left;
    text-align: right;
    padding-right: 10px;
    box-sizing: border-box;
    margin-top: 10px;
}
.detail_pinglu-send {
    width: 95%;
    height: 95px;
	box-sizing: border-box;
	position: relative;
	margin: 0 auto;
}
.detail_pinglu-send textarea {
    width: calc(100% - 90px);
    height: 70px;
    border:0;
    box-sizing: border-box;
    padding: 30px;
    float: left;
    font-size: 14px;
	background: #fff;
	color: #000;
	line-height: 18px;
	resize : none;
	border-top-left-radius:35px;
	border-bottom-left-radius:35px;
}
.detail_pinglu-send textarea::-webkit-scrollbar {
  /*捲軸整體樣式*/
  width : 1px;  /*高寬分別對應橫豎捲軸的尺寸*/
  height: 1px;
  }
.detail_pinglu-send textarea::-webkit-input-placeholder{
    color:#999;
	font-size: 16px;
	line-height: 10px;
}
#comment_submit {
    width: 90px;
    height: 70px;
    display: block;
    border: 0;
    outline: none;
	background: #fff url("../images/push.png") center no-repeat;
	background-size: 50%;
	cursor: pointer;
	float: left;
	border-top-right-radius:35px;
	border-bottom-right-radius:35px;
}
.share-div {
    position: fixed;
	background-color:#fff;
    width: 538px;
    height: 220px;
    margin: auto;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    box-shadow: 0 10px 20px #000;
    z-index: 10;
    display: none;
    text-align: center;
	border: 1px #ccc solid;
	border-radius: 6px;
}
.share-div .share-close {
    width: 40px;
    height: 40px;
    position: absolute;
    right: 10px;
    top: 10px;
    background: url(../images/share_close.png)center no-repeat;
    background-size: contain;
    z-index: 100;
    cursor: pointer;
}
.share-div .title {
    height: 60px;
	border-bottom: 1px dotted rgba(90,90,90,0.6);
    font-size: 20px;
    line-height: 60px;
    padding-left: 20px;
    position: relative;
    text-align: left;
    font-weight: 500;
	color: #000;
}
.popover-share{
	padding-top: 20px;
}
.popover-share a {
    display: inline-block;
    width: 140px;
    height: 70px;
    color: #666;
    font-size: 18px;
    text-align: center;
    text-decoration: none;
    line-height: 180px;
    margin-top: 10px;
}
.popover-share a:nth-child(1) {
    background: url(../images/line_share.png) center no-repeat;
    background-size: 50%;
}
.popover-share a:nth-child(2) {
    background: url(../images/facebook.png) center no-repeat;
    background-size: 40%;
}
.popover-share a:nth-child(3) {
    background: url(../images/google.png) center no-repeat;
    background-size: 50%;
}
.more_list:last-child .user-commont{
    border-bottom: 0;
}
#DataForm {
    width: 780px;
    margin: 0 auto;
    min-height: calc(100% - 380px);
    position: relative;
}
/* 詳細頁面 */
.container {
    max-width: 780px;
    margin: 20px auto;
    padding: 20px;
    background: #1a1a1a;
    /* border-radius: 20px; */
    /* box-shadow: 0 15px 40px rgba(52, 152, 219, 0.2); */
}

.container.details-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 12px;
    background: #fff;
    border-radius: 0;
    margin-bottom: 0;
}

.breadcrumb {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    padding: 15px 20px;
    background: #eaf7ff;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.15);
    display: none;
}

.breadcrumb a {
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.breadcrumb a:hover {
    color: #1a5f8a;
    text-decoration: underline;
}

.breadcrumb span {
    margin: 0 10px;
    color: #7f8c8d;
}

.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 25px;
}

.product-gallery {
    position: relative;
    min-width: 0;
    /* 防止 grid 子元素溢位 */
    height: 540px;
    border-radius: 15px;
    overflow: visible;
    box-shadow: 0 10px 25px rgba(255, 198, 78, 0.2);
    padding: 10px;
}

/* 確保 product-gallery 中的 aside 顯示 */
.product-gallery aside {
    display: block !important;
    max-width: 100%;
    background: transparent;
    padding: 0;
    overflow: visible;
    height: 100%;
}

/* 確保 product-gallery 中的 carousel-container 顯示 */
.product-gallery .carousel-container {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    height: 100%;
    border-radius: 8px;
    overflow: hidden;
}

/* 確保 product-gallery 中的 main-image 顯示 */
.product-gallery .main-image {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    height: calc(100% - 82px);
}

.product-detail .product-info {
    min-width: 0;
    /* 防止 grid 子元素溢位 */
}

.product-info {
    padding: 0 20px;
    position: relative;
    min-height: 280px;
}

.product-info .countdown-timer-overlay {
    position: static;
    bottom: auto;
    right: auto;
    z-index: auto;
    background: transparent;
    backdrop-filter: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    margin-top: 15px;
    margin-bottom: 20px;
    box-sizing: border-box;
}

/* 當倒計時顯示時（不是 display: none），移除 product-actions 的上邊距 */
.product-info .countdown-timer-overlay:not([style*="display: none"]) ~ .product-details ~ .product-actions {
    margin-top: 0;
}

.product-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-bottom: 12px;
    font-size: 0.85rem;
    color: #7f8c8d;
}

.global-lable {
    color: #333;
    font-weight: 600;
    white-space: nowrap;
}

.product-actions {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding-top: 0;
    padding-bottom: 20px;
    margin-top: 95px;
}

.product-detail .carousel-track {
    height: 100%;
}

.main-image {
    width: 100%;
    height: 100%;
    position: relative;
    flex-shrink: 0;
    /* 防止在 flex/grid 佈局中收縮 */
}




.main-image:hover img {
    /* transform: scale(1.05); */
}

.main-image .details-slide {
    /* height: 550px; */
}

.main-image .video-container {
    height: 100%;
}

/* 美化捲軸 - 桌面端 */
.thumbnails-container::-webkit-scrollbar {
    height: 6px !important;
    display: block !important;
    visibility: visible !important;
    z-index: 100 !important;
    position: relative;
}

.thumbnails-container::-webkit-scrollbar-track {
    background: #ddd !important;
    border-radius: 10px;
    margin: 0 10px;
    visibility: visible !important;
    z-index: 100 !important;
}

/* Firefox 捲軸顏色 */
.thumbnails-container {
    scrollbar-width: thin;
    scrollbar-color: #666 #ddd;
}

.thumbnails-container::-webkit-scrollbar-thumb {
    background: #666 !important;
    border-radius: 10px;
    border-bottom-left-radius: 6px !important;
    box-shadow: 0 2px 6px rgba(102, 102, 102, 0.3);
    min-width: 20px;
    visibility: visible !important;
    z-index: 100 !important;
}

.thumbnails-container::-webkit-scrollbar-thumb:hover {
    background: #555 !important;
    box-shadow: 0 3px 8px rgba(102, 102, 102, 0.5);
}

.thumbnail {
    flex-shrink: 0;
    width: 15%;
    aspect-ratio: 1;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 5px rgba(52, 152, 219, 0.15);
    border: 2px solid #eee;
    position: relative;
}

.thumbnail:hover {
    box-shadow: 0 8px 20px rgba(52, 152, 219, 0.25);
}

.product-header {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 0;
    margin-top: 10px;
}

.product-title {
    font-size: 2rem;
    font-weight: 800;
    color: #2c3e50;
    padding: 0;
    margin: 0;
    text-align: left;
    margin-top: 10px;
}

/* 特價標籤容器 */
.sale-tag-container {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    /* background: linear-gradient(135deg, rgb(255, 125, 125) 0%, rgb(255, 36, 66) 100%); */
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    border-radius: 20px;
    animation: sale-pulse 2s ease-in-out infinite;
}

/* 特價圖示 */
.sale-icon {
    width: 20px;
    height: 20px;
}

/* 特價文字 */
.sale-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    line-height: 1;
    white-space: nowrap;
}

@keyframes sale-pulse {
    0%,
    100% {
        transform: scale(1);
        /* box-shadow: 0 2px 8px rgba(115, 190, 200, 0.3); */
    }
    50% {
        transform: scale(1.05);
        /* box-shadow: 0 2px 8px rgba(115, 190, 200, 0.3); */
    }
}

.product-code {
    color: #999;
    border-radius: 0;
    font-size: 1.0rem;
    /* font-family: avenir; */
    width: 100%;
    flex-basis: 100%;
    text-align: left;
    white-space: nowrap;
}

.product-rating {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.stars {
    color: #FFA000;
    margin-right: 10px;
    font-size: 1.2rem;
}

.reviews {
    color: #7f8c8d;
    font-size: 0.9rem;
}

.product-price {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.current-price {
    font-size: 2rem;
    font-weight: 800;
    color: #FFA000;
    font-family: avenir;
}

.original-price {
    text-decoration: line-through;
    color: #95a5a6;
    font-weight: 600;
    font-size: 1.2rem;
    font-family: avenir;
}

.discount {
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 4px 12px rgba(39, 174, 96, 0.3);
}

.product-detail .original-price {
    margin-left: 15px;
}

.product-detail .discount {
    margin-left: 15px;
}

/* 倒計時器樣式 */
.countdown-timer {
    margin-top: 15px;
    margin-bottom: 20px;
}

.countdown-label {
    font-size: 0.85rem;
    color: #ff2442;
    font-weight: 600;
    margin-bottom: 8px;
    text-align: left;
}

.countdown-display {
    display: flex;
    align-items: center;
    gap: clamp(4px, 1vw, 8px);
    width: min(420px, 100%);
    justify-content: center;
}

.time-unit {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ff2442 0%, #ff6b6b 100%);
    border-radius: 6px;
    padding: clamp(4px, 1vw + 2px, 10px) clamp(6px, 1.5vw + 4px, 12px);
    flex: 1 1 clamp(90px, 22vw, 120px);
    box-shadow: 0 2px 8px rgba(255, 36, 66, 0.3);
    gap: 3px;
}

.time-value {
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    font-weight: 800;
    color: white;
    font-family: avenir;
    line-height: 1;
    white-space: nowrap;
}

.time-label {
    font-size: clamp(0.55rem, 1.4vw, 0.7rem);
    color: rgba(255, 255, 255, 0.9);
    margin-top: 2px;
    font-weight: 600;
    white-space: nowrap;
}

.time-separator {
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    font-weight: 800;
    color: #ff2442;
    font-family: avenir;
}

.time-separator.hidden {
    visibility: hidden;
    opacity: 0;
    width: 0;
    margin: 0;
    padding: 0;
    flex: 0 0 0;
}

/* 倒計時浮動樣式（用於優惠專區產品卡片） */
.countdown-timer-overlay {
    position: absolute; 
    margin: auto;
    left: 0;
    right: 0;
    bottom: 3px;
    z-index: 10;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(10px);
    border-radius: 2px;
    padding: 6px 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3); 
    width: fit-content;
    max-width: 100%;
    box-sizing: border-box;
}

.countdown-display-mini {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: nowrap;
    min-width: 0;
}

/* 當倒計時模組超出容器時允許折行 */
.countdown-timer-overlay .countdown-display-mini {
    flex-wrap: wrap;
}

.time-unit-mini {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ff2442 0%, #ff6b6b 100%);
    border-radius: 2px;
    padding: 4px 6px;
    gap: 2px;
    min-width: 0;
    white-space: nowrap;
}

.time-value-mini {
    font-size: clamp(0.5rem, 2vw, 0.9rem);
    font-weight: 800;
    color: white;
    font-family: avenir;
    line-height: 1;
    white-space: nowrap;
}

.time-label-mini {
    font-size: clamp(0.4rem, 1.2vw, 0.65rem);
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    white-space: nowrap;
}

.time-separator-mini {
    font-size: clamp(0.5rem, 2vw, 0.9rem);
    font-weight: 800;
    color: white;
    font-family: avenir;
    white-space: nowrap;
}

.product-description {
    color: #7f8c8d;
    margin-bottom: 25px;
    line-height: 1.6;
    font-size: 0.95rem;
}

.product-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    font-size: 0.95rem;
    color: #000;
    font-weight: 600;
    white-space: nowrap;
}

.feature-item span {
    color: #999;
}

.feature-item.full-width {
    grid-column: 1 / -1;
}

.feature-item i {
    color: #3498db;
    margin-right: 10px;
    font-size: 1rem;
}

.feature-item .price-highlight {
    color: #FFA000;
    font-weight: 700;
    padding-right: 4px;
}

.product-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    margin: 10px 0;
}

.stat-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: 8px;
}

.stat-item i {
    font-size: 1.4rem;
    color: #FFA000;
}

.stat-item:nth-child(2) i {
    font-size: 1.5rem;
}

.stat-value {
    font-size: 1rem;
    font-weight: 700;
    color: #2c3e50;
    font-family: avenir;
}

.product-options {
    margin-bottom: 25px;
}

.option-title {
    font-weight: 700;
    margin-bottom: 10px;
    color: #2c3e50;
}

.color-options,
.size-options {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.color-option,
.size-option {
    padding: 8px 15px;
    border: 2px solid #eaf7ff;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.color-option:hover,
.size-option:hover {
    border-color: #3498db;
}

.color-option.active,
.size-option.active {
    background: #3498db;
    color: white;
    border-color: #3498db;
}

.quantity-selector {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.quantity-btn {
    width: 40px;
    height: 40px;
    background: #1a3a5a;
    border: none;
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: 700;
    color: #3498db;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quantity-btn:hover {
    background: #3498db;
    color: white;
}

.quantity-input {
    width: 60px;
    height: 40px;
    text-align: center;
    margin: 0 10px;
    border: 2px solid #eaf7ff;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
}

.action-buttons {
    display: flex;
    gap: 15px;
}

.add-to-cart {
    flex-grow: 1;
    padding: 15px 0;
    background: linear-gradient(135deg, rgb(97, 209, 251), rgb(1, 184, 252));
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 800;
    transition: all 0.3s ease;
    box-shadow: 0 6px 12px rgba(52, 152, 219, 0.4);
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    text-align: center;
}

.add-to-cart::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: all 0.5s ease;
}

.add-to-cart:hover::before {
    left: 100%;
}

.add-to-cart:hover {
    background: linear-gradient(135deg, #1a5f8a 0%, #13496e 100%);
    /* transform: translateY(-2px);
    box-shadow: 0 10px 15px rgba(52, 152, 219, 0.5); */
}

.wishlist-btn {
    width: 60px;
    background: #f0f0f0;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #3498db;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.wishlist-btn:hover {
    background: #3498db;
    color: white;
    /* transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(52, 152, 219, 0.35); */
}

.product-specs {
    margin-bottom: 40px;
}

.duration-price-panel {
    /*margin: 20px 0 10px;
    padding: 18px;
    background: #eaf7ff;
    border-radius: 16px; */
    margin-top: 10px;
 
}

.duration-price-header {
    font-size: 1.1rem;
    font-weight: 700;
    color: #f27121;
    margin-bottom: 12px;
}

.duration-price-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.product-features .feature-item.full-width:has(.duration-price-list) {
    display: block;
    white-space: normal;
    margin-bottom: 0;
}

.duration-price-item {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 15px;
    padding: 12px 8px;
    border-left: 4px solid #ffc54d;
    box-shadow: 0 6px 14px rgba(242, 113, 33, 0.08);
}

.duration-time {
    font-weight: 600;
    color: #2c3e50;
}

.duration-label {
    display: inline-block;
    font-weight: 600;
    color: #999;
}

.duration-value {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-left: auto;
    font-weight: 700;
}

.feature-item span.duration-current {
    font-size: 1.05rem;
    color: #27ae60;
    font-weight: 700;
}

.feature-item span.duration-original {
    font-size: 1.05rem;
    color: #ff2442;
    text-decoration: line-through;
    font-weight: 700;
    padding-right: 12px;
}

.specs-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.spec-item {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 15px;
    background: #fff4d6;
    border-radius: 10px;
    font-size: 0.95rem;
    gap: 8px;
    font-weight: 600;
}

.specs-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-weight: 800;
    color: #000;
    padding-bottom: 10px;
    border-bottom: 2px solid #eaf7ff;
}

.spec-name {
    color: #000;
    padding-right: 2px;
    width: 70px;
    text-align: justify;
    text-align-last: justify;
    text-justify: distribute-all-lines;
    align-items: center;
    height: 20px;
}

.spec-value {
    color: #444;
    text-align: left;
    align-items: center;
    display: flex;
    flex: 1;
    border-left: 1px solid #ecd084;
    padding-left: 10px;
    font-size: 0.9rem;
    font-weight: 500;
}

.spec-value.region-list {
    flex-wrap: wrap;
    white-space: normal;
    line-height: 1.6;
}

.spec-member-locked {
    color: #ff2442;
}

.spec-member-locked a {
    color: #3498db;
    text-decoration: none;
}

.spec-member-locked a:hover {
    text-decoration: underline;
}

.customer-reviews {
    margin-top: 50px;
    grid-column: 1 / -1;
    /* 跨越所有grid列 */
}

.reviews-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 15px;
}

.reviews-title {
    font-size: 24px;
    margin-bottom: 0;
    font-weight: 800;
    color: #2c3e50;
    padding-top: 0;
    /* border-bottom: 2px solid #eaf7ff; */
    text-align: left;
    padding-left: 15px;
}

.pingfen-header-right {
    margin-left: auto;
    display: flex;
    align-items: center;
    padding-right: 15px;
    margin-top: 15px;
}

.current-rating {
    font-size: 16px;
    font-weight: 600;
    color: #666;
    margin-right: 15px;
}
.current-rating span{
    color: #f90;
    padding-right: 6px;
}
.rating-participants {
    font-size: 14px;
    color: #666;
}

.rating-count {
    color: #f90;
    font-weight: 600;
    font-family: 'avenir';
}

.rating-count.none {
    color: #ccc;
    font-weight: 600;
}

.review-item {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 14px 0;
    background: transparent;
    border-bottom: 1px solid #f5f5f5;
    margin-bottom: 0;
    box-shadow: none;
}

.review-item:last-child {
    border-bottom: 0;
}

.review-header-row {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
}

.review-avatar {
    flex-shrink: 0;
}

.review-avatar img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #f5f5f5;
}

.review-main {
    width: 100%;
    position: relative;
    /* 設定為相對定位，作為zhiding的定位容器 */
}

/* 置頂標籤 */
.zhiding {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 10;
}

.zhiding img {
    width: 40px;
    height: auto;
    display: block;
}

/* 精華標簽*/
.jinghua {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 10;
}

.jinghua img {
    width: 40px;
    height: auto;
    display: block;
}

.review-header {
    margin-bottom: 8px;
}

.review-user-info {
    display: flex;
    align-items: center;
    gap: 6px;
}

.reviewer {
    font-weight: 600;
    font-size: 14px;
    color: #333;
    font-family: pingfang;
    cursor: pointer;
    transition: color 0.2s ease;
}

.reviewer:hover {
    color: #007aff;
}

.review-date {
    color: #b3b3b3;
    font-size: 11px;
}

.review-content {
    color: #666;
    line-height: 1.5;
    text-align: left;
    font-size: 14px;
    margin-bottom: 10px;
    word-break: break-word;
    font-family: pingfang;
    margin-top: 6px;
    display: block;
    /* width: 100%; */
    border-bottom: 1px solid #f5f5f5;
    padding-left: 43px;
    padding-bottom: 30px;
}

.review-content.none {
    text-align: center;
    font-size: 16px;
    padding-left: 0;
}

.review-content.none i {
    color: #ccc;
    margin-right: 8px;
}

.products-empty {
    width: 100%;
    text-align: center;
    font-size: 16px;
    padding-left: 0;
    padding-bottom: 30px;
    color: #666;
    border-bottom: 1px solid #f5f5f5;
    /* 桌面端鋪滿整個grid容器 */
    grid-column: 1 / -1;
    padding: 40px 0;
    min-height: calc(100vh - 510px);
}

.products-empty span {
    color: #ccc;
    margin-right: 8px;
}

.general-empty {
    width: 100%;
    text-align: center;
    font-size: 16px;
    padding-left: 0;
    padding-bottom: 30px;
    color: #666;
    /* border-bottom: 1px solid #f5f5f5; */
    /* 桌面端鋪滿整個grid容器 */
    grid-column: 1 / -1;
}

.general-empty span {
    color: #ccc;
    margin-right: 8px;
}

/* 已刪除評論內容樣式 */
.deleted-content {
    color: #f44444;
    font-style: italic;
    background: #fce8ea;
    padding: 12px 16px;
    border-radius: 8px;
    display: block;
    border-left: 3px solid #ec1b21;
    font-size: 13px;
}

.pending-content {
    color: #b77900;
    font-style: italic;
    background: #fff4d6;
    padding: 12px 16px;
    border-radius: 8px;
    display: block;
    border-left: 3px solid #f3b300;
    font-size: 13px;
}

/* 當評論被刪除時，隱藏操作按鈕 */
.review-content:has(.deleted-content)~.review-actions {
    display: none !important;
}

/* 評論媒體列表 */
.comment-media-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}

.comment-media-item {
    width: 96px;
    height: 96px;
    object-fit: cover;
    border-radius: 14px;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    background: #f7f7f7;
    transition: transform 0.2s ease;
}

.comment-media-item:hover {
    transform: scale(1.05);
}

.comment-video-wrapper {
    width: 96px;
    height: 96px;
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.comment-video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.comment-video-wrapper .video-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    pointer-events: none;
}

/* 單張圖片時佔滿寬度，但保持寬高一致 */
.comment-media-list:has(.comment-media-item:only-child),
.comment-media-list:has(.comment-video-wrapper:only-child) {
    grid-template-columns: 1fr;
    max-width: 300px;
    /* 限制最大寬度 */
}

/* 兩張圖片時各佔一半 */
.comment-media-list:has(.comment-media-item:nth-child(2):last-child),
.comment-media-list:has(.comment-video-wrapper:nth-child(2):last-child) {
    grid-template-columns: repeat(2, 1fr);
}

/* 三張圖片時3列 */
.comment-media-list:has(.comment-media-item:nth-child(3):last-child),
.comment-media-list:has(.comment-video-wrapper:nth-child(3):last-child) {
    grid-template-columns: repeat(3, 1fr);
}

.review-actions {
    display: flex;
    flex-wrap: nowrap;
    /* 不折行 */
    gap: 18px;
    align-items: center;
    margin-top: 2px;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    background: none;
    border: none;
    color: #8a919f;
    font-size: 12px;
    cursor: pointer;
    padding: 0;
    transition: all 0.2s ease;
    flex-shrink: 0;
    /* 不收縮，保持按鈕完整 */
    white-space: nowrap;
    /* 按鈕文字不換行 */
}

.action-btn:hover {
    /* 滑鼠懸停時不改變顏色 */
}

.action-btn.active i,
.action-btn.liked i {
    color: #ff2442 !important;
}

.action-btn i {
    font-size: 15px;
}

.action-btn span {
    font-size: 12px;
    font-family: AVANTI;
}

.like-btn.active {
    color: #ff2442 !important;
}

.like-btn.active i {
    animation: likeAnimation 0.4s ease;
}

.like-btn.active i::before {
    content: '\f004';
    font-weight: 900;
}

@keyframes likeAnimation {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.3);
    }
}

.review-list {
    background: #fff;
    border-radius: 12px;
    padding: 0 16px;
    grid-column: 1 / -1;
    /* 跨越所有grid列 */
}

/* 底部評論輸入框 - 小紅書風格 */
.comment-input-footer {
    margin-top: 12px;
    padding: 16px;
    padding-top: 26px;
    background: #fff;
    border-radius: 0 0 12px 12px;
    border-top: 1px solid #f5f5f5;
}

.comment-input-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.comment-input-wrapper {
    flex: 1;
    position: relative;
    min-width: 0;
}

.comment-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 24px;
    background: #f8f9fa;
    font-size: 14px;
    color: #333;
    outline: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.comment-input:focus {
    background: #fff;
    border-color: #d0d0d0;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.05);
}

.comment-input::placeholder {
    color: #999;
}

.interaction-stats {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.interaction-stats .stat-item {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 4px 8px;
    border-radius: 6px;
}

.interaction-stats .stat-item:hover {
    transform: translateY(-1px);
}

.interaction-stats .stat-item i {
    font-size: 16px;
    color: #666;
}

.interaction-stats .stat-item.active i {
    color: #ff2442 !important;
}

.interaction-stats .stat-item span {
    font-size: 13px;
    color: #666;
    font-weight: 500;
}

.interaction-stats .stat-item:hover i,
.interaction-stats .stat-item:hover span {
    color: #333;
}

/* 分享按鈕特殊樣式 */
.interaction-stats .stat-item:last-child {
    gap: 0;
    padding: 6px;
}

.interaction-stats .stat-item:last-child i {
    font-size: 18px;
}

.interaction-stats.disabled .stat-item,
.interaction-stats.is-disabled .stat-item {
    pointer-events: none;
    opacity: 0.4;
}

.comment-input-footer.is-locked .comment-input,
.comment-input-footer.is-locked .interaction-stats {
    opacity: 0.6;
    pointer-events: none;
}

.interaction-locked-hint {
    margin-top: 12px;
    font-size: 13px;
    color: #9b1b30;
}

.reply-input-module[data-interactions-locked="true"] {
    opacity: 0.6;
    pointer-events: none;
}

/* 點贊動畫 */
.liked {
    animation: likeAnimation 0.6s ease-out;
}

.unliked {
    animation: unlikeAnimation 0.6s ease-out !important;
}

@keyframes likeAnimation {
    0% {
        transform: scale(1);
    }
    25% {
        transform: scale(1.2);
    }
    50% {
        transform: scale(1.1);
    }
    75% {
        transform: scale(1.15);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes unlikeAnimation {
    0% {
        transform: scale(1);
    }
    25% {
        transform: scale(0.7);
    }
    50% {
        transform: scale(0.8);
    }
    75% {
        transform: scale(0.75);
    }
    100% {
        transform: scale(1);
    }
}

/* 新的回覆輸入模組樣式 - 兩行佈局 */
.reply-input-module {
    margin-top: 12px;
    padding: 16px;
    background: #fff;
    border-radius: 0 0 12px 12px;
    border-top: 1px solid #f5f5f5;
    animation: slideUp 0.3s ease-out;
}

/* 回覆目標資訊 */
.reply-target-info {
    display: none;
    padding: 8px 12px;
}

.reply-target-header {
    font-size: 14px;
    color: #666;
    margin-bottom: 4px;
    text-align: left;
}

.reply-target-text {
    color: #999;
    margin-right: 4px;
}

.reply-target-user {
    color: #ff2442;
    font-weight: 500;
}

.reply-target-content {
    font-size: 14px;
    color: #000;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: left;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 輸入框行 */
.input-row {
    margin-bottom: 12px;
}

.reply-text-input {
    width: 100%;
    padding: 12px 32px;
    border: none;
    background: rgba(0, 0, 0, 0.03);
    border-radius: 60px;
    font-size: 14px;
    color: #333;
    outline: none;
    transition: all 0.2s ease;
    box-sizing: border-box;
    resize: none;
    min-height: 45px;
    max-height: 200px;
    font-family: inherit;
    line-height: 1.5;
    overflow-y: hidden;
    /* 隱藏捲軸 */
    resize: none;
    /* 禁止拖拉 */
    height: auto;
}

.reply-text-input:focus {
    background: rgba(0, 0, 0, 0.05);
}

.reply-text-input::placeholder {
    color: #999;
}

/* 控制行 */
/* 圖片預覽容器 */
.image-preview-container {
    padding: 10px 0;
    margin-bottom: 10px;
}

.image-preview-wrapper {
    position: relative;
    display: inline-block;
    max-width: 200px;
}

.preview-image {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    border: 2px solid #eaf7ff;
    object-fit: cover;
}

.remove-image-btn {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #ff4444;
    color: white;
    border: 2px solid white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: all 0.2s ease;
}

.remove-image-btn:hover {
    background: #cc0000;
    transform: scale(1.1);
}

.controls-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* 左側控制按鈕 */
.left-controls {
    display: flex;
    gap: 8px;
}

/* 右側控制按鈕 */
.right-controls {
    display: flex;
    gap: 8px;
}

/* 輸入按鈕 */
.input-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #666;
    font-size: 24px;
    border: 0;
    font-weight: lighter;
}

/* 傳送和取消按鈕 */
.review-main .action-btn {
    padding: 0;
    border: none;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: pingfang;
}

.controls-row .action-btn {
    padding: 8px 16px;
    border: none;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 60px;
    border-radius: 60px;
}

.send-btn {
    background: #ff2442;
    color: #fff;
    box-shadow: 0 2px 4px rgba(255, 36, 66, 0.2);
}

.send-btn:hover {
    background: #e61e3a;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(255, 36, 66, 0.3);
}

.send-btn:active {
    transform: translateY(0);
}

.controls-row .action-btn.cancel-btn {
    background: #fff;
    color: #666;
    border: 1px solid #d0d0d0;
}

.cancel-btn:hover {
    background: #f5f5f5;
    color: #333;
    border-color: #b0b0b0;
}

.cancel-btn:active {
    transform: scale(0.98);
}

/* 回覆列表樣式 - 小紅書風格 */
.reply-list {
    margin-top: 10px;
    padding: 10px 12px;
    background: #fdf3de;
    border-radius: 6px;
    text-align: left;
    display: block;
}

.reply-list .reply-item {
    border-bottom: 1px dashed #ddd;
    padding: 10px;
}

.reply-list .reply-item:last-child {
    border-bottom: none;
}

/* 空的回覆列表隱藏 */
.reply-list:empty {
    display: none;
}

/* 回覆操作按鈕 */
.reply-actions {
    display: flex;
    flex-wrap: nowrap;
    /* 不折行 */
    gap: 12px;
    margin-top: 6px;
    padding-top: 4px;
    align-items: center;
}

.reply-action-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    background: none;
    border: none;
    color: #8a919f;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 2px 0;
    flex-shrink: 0;
    /* 不收縮，保持按鈕完整 */
    white-space: nowrap;
    /* 按鈕文字不換行 */
}

.reply-action-btn:hover {
    /* 滑鼠懸停時不改變顏色 */
}

.reply-action-btn.active i,
.reply-action-btn.liked i {
    color: #ff2442 !important;
}

.reply-action-btn i {
    font-size: 13px;
}

.reply-action-btn span {
    font-size: 12px;
    font-weight: 500;
}

.reply-action-btn.like-btn.active {
    color: #ff2442;
}

.reply-action-btn.like-btn.active i {
    color: #ff2442;
}

.reply-item {
    font-size: 14px;
    line-height: 1.5;
    color: #666;
    margin-bottom: 6px;
    word-break: break-all;
    font-family: pingfang;
    display: block;
    /* 確保可以包含子元素 */
}

.reply-item:last-child {
    margin-bottom: 0;
}

/* reply-item內的直接文字和元素樣式 */
.reply-item>.reply-user,
.reply-item>.reply-text {
    display: inline-block;
}

.reply-item>.reply-time,
.reply-item>.reply-actions {
    display: block;
}

.reply-item>.reply-actions,
.reply-item-new>.reply-actions {
    display: flex;
    flex-wrap: nowrap;
    /* 確保reply-item內的按鈕也不折行 */
}

.reply-item-new {
    font-size: 14px;
    line-height: 1.5;
    color: #666;
    margin-bottom: 6px;
    margin-top: 8px;
    margin-left: 10px;
    /* 第一層縮排2個字元 */
    padding: 8px 10px;
    padding-left: 12px;
    word-break: break-all;
    font-family: pingfang;
    background: #fff;
    border-left: 2px solid #fdecc7;
    border-radius: 4px;
}

/* 巢狀的reply-item-new，每層再增加縮排 */
.reply-item-new .reply-item-new {
    margin-left: 10px;
    /* 相對於父級再縮排2em */
    border-left-color: #fbedcf;
    /* 更深的邊框顏色 */
}

.reply-item-new .reply-item-new .reply-item-new {
    margin-left: 10px;
    /* 第三層 */
    border-left-color: #fbdd9d;
    /* 更深的邊框顏色 */
}

.reply-item-new .reply-item-new .reply-item-new .reply-item-new {
    margin-left: 10px;
    /* 第四層及以後 */
    border-left-color: #fbcc69;
    /* 更深的邊框顏色 */
}

.reply-user {
    color: #000;
    font-weight: 600;
    font-size: 14px;
}

.reply-to {
    color: #b3b3b3;
    margin: 0 2px;
    font-size: 12px;
}

.reply-time {
    color: #b3b3b3;
    font-size: 11px;
    margin-top: 4px;
    margin-bottom: 8px;
}

.reply-target {
    color: #f4a704;
    font-size: 14px;
    font-weight: 600;
}

.reply-text {
    color: #000;
    font-size: 14px;
}

.reply-text.deleted-content {
    color: #f44444;
    font-size: 13px;
    background: #fce8ea;
}
.reply-text.pending-content {
    color: #b77900;
    font-size: 13px;
    background: #fff4d6;
}

.show-more-replies {
    display: inline-block;
    margin-top: 6px;
    padding: 2px 0;
    background: none;
    border: none;
    color: #043b88;
    font-size: 14px;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.show-more-replies:hover {
    opacity: 0.7;
}

/* 回覆輸入框樣式 - 小紅書風格 */
.reply-input-box {
    margin-top: 10px;
    padding: 0;
    background: transparent;
}

.reply-input {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #e3e3e3;
    border-radius: 18px;
    font-size: 12px;
    outline: none;
    transition: all 0.2s ease;
    background: #f7f8fa;
    box-sizing: border-box;
}

.reply-input:focus {
    background: #fff;
    border-color: #ff2442;
}

.reply-input::placeholder {
    color: #b3b3b3;
}

.reply-actions-box {
    display: flex;
    justify-content: flex-end;
    gap: 6px;
    margin-top: 8px;
}

.reply-cancel-btn,
.reply-submit-btn {
    padding: 5px 14px;
    border: none;
    border-radius: 14px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 500;
}

.reply-cancel-btn {
    background: #f5f5f5;
    color: #666;
}

.reply-cancel-btn:hover {
    background: #e8e8e8;
}

.reply-submit-btn {
    background: linear-gradient(135deg, #ff2442 0%, #ff6b6b 100%);
    color: #fff;
    box-shadow: 0 2px 8px rgba(255, 36, 66, 0.2);
}

.reply-submit-btn:hover {
    box-shadow: 0 4px 12px rgba(255, 36, 66, 0.3);
    transform: translateY(-1px);
}

.reply-submit-btn:active {
    transform: translateY(0);
}

.reply-submit-btn:disabled {
    background: #ffb3bf;
    cursor: not-allowed;
    box-shadow: none;
}

.sort-options {
    display: flex;
}

.sort-options h2 {
    display: inline-flex;
    align-items: flex-end;
    font-size: 24px;
    padding: 0 15px;
    height: 44px;
    margin: 0;
}

.review-count {
    display: inline-flex;
    align-items: flex-end;
    color: #7f8c8d;
    font-size: 13px;
    padding: 0 15px;
    height: 38px;
}

.review-count span {
    color: #f90;
    font-family: 'avenir';
    padding: 0 6px;
    font-weight: 800;
}

#averageScore {
    color: #f90;
    font-family: 'avenir';
    padding: 0 6px;
}

.rating-revision-tip {
    font-size: 12px;
    color: #ff2442;
    padding: 10px 0;
}

.product-status.removed {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 12px 0 0;
    padding: 6px 14px;
    border-radius: 999px;
    background: #ffecec;
    color: #d4380d;
    font-size: 13px;
    font-weight: 600;
}

.spec-member-locked {
    color: #8f8f8f;
    font-weight: 600;
}

.spec-member-locked .member-register-link {
    color: #7a3aed;
    font-weight: 700;
    margin-right: 4px;
    text-decoration: none;
}

.spec-member-locked .member-register-link:hover {
    text-decoration: underline;
}

.comment-badge-list {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-left: 12px;
    flex-wrap: wrap;
    display: none;
}

.comment-badge {
    font-size: 12px;
    padding: 2px 10px;
    border-radius: 999px;
    font-weight: 500;
}

.comment-badge.badge-featured {
    background: #fff0c2;
    color: #6b3d00;
}

.comment-badge.badge-pinned {
    background: #ffe1d4;
    color: #7b2b00;
}

.review-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    justify-content: space-between;
    margin-top: 24px;
    margin-bottom: 12px;
}

.comment-video-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    color: #fff;
    font-size: 18px;
    pointer-events: none;
}

.qianse-toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.qianse-toast {
    min-width: 200px;
    max-width: 320px;
    background: rgba(0, 0, 0, 0.82);
    color: #fff;
    padding: 12px 16px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    font-size: 14px;
    line-height: 1.4;
    pointer-events: auto;
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.qianse-toast.show {
    opacity: 1;
    transform: translateY(0);
}

.qianse-toast.success {
    background: rgba(0, 128, 64, 0.9);
}

.qianse-toast.error {
    background: rgba(204, 41, 54, 0.95);
}

.qianse-toast.info {
    background: rgba(30, 64, 175, 0.9);
}

.review-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding: 0 15px;
}

.review-controls .sort-options {
    display: flex;
    align-items: center;
    gap: 12px;
}

.comment-filter-tabs {
    display: flex;
    gap: 8px;
    margin-left: auto;
    flex-wrap: wrap;
}

.comment-filter-button {
    border: 1px solid #f4a704;
    background: #fff;
    color: #666;
    border-radius: 999px;
    padding: 4px 14px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.comment-filter-button.active {
    background: linear-gradient(135deg, #ffc64d, #ffb84d);
    color: #fff;
    font-weight: 600;
}

.comment-badge-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
    padding: 0 15px;
}

.comment-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    background: #f0f0f0;
    border-radius: 12px;
    font-size: 12px;
    color: #666;
}

.comment-badge.active {
    background: #ff2442;
    color: #fff;
}

.comment-video-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    color: #fff;
    font-size: 18px;
    pointer-events: none;
}

.rating-revision-tip {
    font-size: 13px;
    color: #666;
    text-align: center;
    margin-top: 10px;
}

/* 雷達圖樣式 */
.radar-chart-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
    padding: 30px;
    background: #fff;
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(255, 198, 77, 0.12),
        0 2px 10px rgba(255, 198, 77, 0.08);
    border: 1px solid rgba(255, 198, 77, 0.3);
    position: relative;
}

.radar-title {
    font-size: 1.4rem;
    margin-bottom: 20px;
    font-weight: 700;
    color: #000;
    text-align: center;
    text-shadow: 0 1px 2px rgba(255, 198, 77, 0.1);
    position: relative;
    z-index: 1;
}

.radar-chart {
    position: relative;
    width: 300px;
    height: 300px;
    margin: 0 auto 20px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    padding: 20px;
    box-shadow:
        inset 0 0 30px rgba(255, 198, 77, 0.08),
        0 4px 20px rgba(255, 198, 77, 0.12);
    border: 1px solid rgba(255, 198, 77, 0.3);
    z-index: 1;
}

.radar-canvas {
    width: 100%;
    height: 100%;
}

.radar-controls {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    width: 100%;
    max-width: 650px;
}

.radar-control {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(255, 198, 77, 0.1);
    border: 1px solid rgba(255, 198, 77, 0.25);
    position: relative;
    z-index: 1;
}

.radar-label {
    font-weight: 600;
    margin-bottom: 8px;
    color: #000;
    font-size: 0.9rem;
    text-shadow: 0 1px 2px rgba(255, 198, 77, 0.1);
}

.radar-slider {
    width: 100%;
    margin: 5px 0;
    background: rgba(255, 244, 214, 0.6);
    border-radius: 5px;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    height: 6px;
}

.radar-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffc64d, #ffb84d);
    cursor: pointer;
    box-shadow: 0 0 8px rgba(255, 198, 77, 0.4);
    border: 2px solid #fff4d6;
}

.radar-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffc64d, #ffb84d);
    cursor: pointer;
    box-shadow: 0 0 8px rgba(255, 198, 77, 0.4);
    border: 2px solid #fff4d6;
}

.radar-value {
    font-weight: 700;
    color: #ffc64d;
    font-size: 1rem;
    font-family: avenir;
    /* text-shadow: 0 0 6px rgba(255, 198, 77, 0.4); */
}

.slider-ticks {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin: 5px 0;
    padding: 0 5px;
}

.tick {
    font-size: 0.65rem;
    color: #666;
    font-weight: 500;
    position: relative;
    text-shadow: 0 0 3px rgba(255, 198, 77, 0.3);
}

.tick::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 4px;
    background-color: #ffc64d;
    box-shadow: 0 0 2px rgba(255, 198, 77, 0.3);
}

.radar-average {
    text-align: center;
    margin-top: 15px;
    font-weight: 600;
    color: #000;
    font-size: 1.2rem;
    text-shadow: 0 1px 2px rgba(255, 198, 77, 0.1);
    position: relative;
    z-index: 1;
}

.radar-submit-container {
    text-align: center;
    margin-top: 20px;
}

.submit-rating-btn {
    background: linear-gradient(135deg, #ffc64d, #ffb84d);
    color: white;
    border: none;
    border-radius: 30px;
    padding: 12px 32px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 198, 77, 0.3);
}

.submit-rating-btn:hover {
    background: linear-gradient(135deg, #ffb84d 0%, #ffa84d 100%);
    box-shadow: 0 6px 16px rgba(255, 198, 77, 0.4);
    transform: translateY(-2px);
}

.submit-rating-btn:active {
    transform: translateY(0);
}

.product-status {
    padding: 15px;
    margin: 20px 0;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
}

.product-status.removed {
    background: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
    border: 1px solid rgba(231, 76, 60, 0.3);
}

.serach-down {
    width: 780px;
    margin: 0 auto;
    height: auto;
    overflow: hidden;
}
.search-result {
    width: 100%;
    height: auto;
    overflow: hidden;
}
.search_close{
	width:60px;
	height: 60px;
	background: url("../images/share_close.png") center no-repeat;
	background-size: 60%;
	position: absolute;
	top: 0;
	right: 0;
	z-index: 999;
	cursor: pointer;
}
.search-result-title {
    position: fixed;
    margin: auto;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 350px;
    height: 150px;
    background: #fff;
    box-shadow: 0px 0px 20px #f4bc03;
    color: #000;
    border-radius: 6px;
    box-sizing: border-box;
    line-height: 150px;
    z-index: 1000;
    font-size: 18px;
    text-align: center;
}
.ssjg_div_t2 {
    height: 70px;
    font-size: 18px;
    line-height: 70px;
    padding-left: 30px;
	border-bottom: 1px solid #eee;
	background: #f1f1f1;
	font-weight: 600;
	box-shadow:inset 0px 15px 10px -15px #ccc;
}
.ssjg_div_t1 {
    height: 70px;
    font-size: 18px;
    line-height: 70px;
    padding-left: 30px;
	border-bottom: 1px solid #eee;
	background: #f1f1f1;
	font-weight: 600;
	box-shadow:inset 0px 15px 10px -15px #ccc;
	display: none;
}
.ssjg_div_t1 span {
    display: inline-block;
    margin-left: 10px;
    margin-right: 10px;
    color: #e0ad04;
    font-weight: bold;
}
.h_search_div {
    width: 100%;
	height: 0;
    background-color: rgba(255,255,255,1.0);
}
.h_search_div.search_get{
    width: 100%;
	height: auto;
    background-color: rgba(255,255,255,1.0);
    padding-top: 30px;
    padding-bottom: 50px;
	border-bottom-left-radius: 50px;
	border-bottom-right-radius: 50px;
}
.layui-form {
    width: 94%;
    height: auto;
    overflow: hidden;
    margin: 0 auto;
    position: relative;
}
.s_article {
    width: 590px;
    height: 60px;
    background: #f4bc03;
    line-height: 60px;
    font-size: 24px;
    color: #000;
    text-align: center;
    border: 0;
    cursor: pointer;
    margin-left: 130px;
	border-radius: 30px;
}
#fail_filter{
	display: none;
}

.layui-form-item .layui-form-label.form-label-y{
	border-top-right-radius: 18px;
	border-bottom-right-radius: 18px;
}

.layui-anim .btn1 {
    width: 45%!important;
    float: left!important;
    text-align: left;
    height: 30px;
    padding-bottom: 10px;
    background: url(../images/duoxuan.png) left top no-repeat;
    background-size: 24%;
    border-bottom: 1px dashed #ccc;
    cursor: pointer;
    margin-top: 8px;
    box-sizing: border-box;
    padding-left: 22px;
	font-size: 12px;
	margin-left: 5%;
}
.layui-anim .btn2 {
    width: 45%!important;
    float: left!important;
    text-align: left;
    height: 30px;
    padding-bottom: 10px;
    background: url(../images/qingchu.png) left top no-repeat;
    background-size: 24%;
    border-bottom: 1px dashed #ccc;
    cursor: pointer;
    margin-top: 8px;
    box-sizing: border-box;
    padding-left: 22px;
	font-size: 12px;
}
.layui-anim-upbit::-webkit-scrollbar {
  /*捲軸整體樣式*/
  width : 0px;  /*高寬分別對應橫豎捲軸的尺寸*/
  height: 0px;
  }
#fuwu_area dd{
	font-size: 13px;
}
#fuwu_area .layui-form-checkbox[lay-skin=primary] i {
    display: block;
}
#fuwu_area .layui-form-checkbox {
    height: 27px;
    width: 100%;
    position: absolute;
}
#fuwu_area dd >span{
	margin-left: 36px;
    padding-top: 2px;
    display: inline-block;
}
span.search_top_button{
    height: 40px;
    line-height: 40px;
    font-size: 14px;
    cursor: pointer;
    border-radius: 20px;
    box-sizing: border-box;
    background: #f4bc03 url(../images/s_down.png) no-repeat;
    background-size: 16%;
    background-position: 88px 10px;
    right: 15px;
    top: 16px;
    width: 120px;
    padding-left: 18px;
    position: absolute;
	color: #000;
}
span.search_down_button{
    height: 40px;
    line-height: 40px;
    font-size: 14px;
    cursor: pointer;
    border-radius: 20px;
    box-sizing: border-box;
    background: #f4bc03 url(../images/s_up.png) no-repeat;
    background-size: 16%;
    background-position: 88px 10px;
    right: 15px;
    top: 16px;
    width: 120px;
    padding-left: 18px;
    position: absolute;
	color: #000;
}
.phb_list.mb_5_list{
	width:98%!important;
	margin: 0 auto!important;
	margin-top: 10px!important;
}
.uc-pagination-mian.s_page {
    display: none;
}
#list-wrap {
    margin: 0;
    padding: 0;
    width: 100%;
    height: auto;
    overflow: hidden;
}
.phb_list .nt_sort li .sort_arrow_d {
    display: block;
    position: absolute;
    right: 10px;
    top: 0;
    width: 30px;
    height: 60px;
    background: url(../images/paixu_d.png) center no-repeat;
    background-size: contain;
}
.phb_list .nt_sort li .sort_arrow_a {
    display: block;
    position: absolute;
    right: 10px;
    top: 0;
    width: 30px;
    height: 60px;
    background: url(../images/paixu_u.png) center no-repeat;
    background-size: contain;
}
.search_maggin{
	width:100%;
	height: 60px;
}
.jf_mask {
    width: 100%;
    height: 0;
    position: fixed;
    background-color: rgba(0,0,0,.5);
    z-index: 10000000000;
    overflow: hidden;
    top: 0;
    left: 0;
}
.myheight {
    height: 100vh;
}
.Dialog_cpdetail {
    height: 0;
    /* overflow: hidden; */
}
.jf_Dialog {
    width: 460px;
    height: 640px;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0px 0px 30px rgba(0,0,0,0.3);
    position: absolute;
    margin: auto;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 43px 27px;
    box-sizing: border-box;
}
.jf_Dialog .close {
    width: 35px;
    height: 35px;
    position: absolute;
    top: 10px;
    right: 10px;
    background: url(../images/jf_close.png) center no-repeat;
    cursor: pointer;
}
.Dialog_jflist .top {
    width: 100%;
    height: auto;
    overflow: hidden;
}
.Dialog_jflist .top_left {
    width: 120px;
    height: 120px;
    float: left;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid #fad3d3;
	position: relative;
}
.Dialog_cpdetail .top_left img {
    width: 100%;
    position: absolute;
    margin: auto;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}
.Dialog_jflist .top_right {
    width: calc(100% - 130px);
    float: left;
    height: auto;
    padding-left: 30px;
    box-sizing: border-box;
}
.Dialog_jflist .top_right .title {
    width: 100%;
    height: 30px;
    font-size: 24px;
    color: #333;
    font-weight: 600;
    line-height: 24px;
}
.Dialog_jflist .top_right ul, li {
    list-style: none;
    margin: 0;
    padding: 0;
}
.Dialog_jflist .top_right li {
	float: left;
    width: 100%;
    height: auto;
    border-bottom: 1px dotted #ddd;
    line-height: 30px;
    font-size: 16px;
    color: #333;
    font-weight: 600;
}
.Dialog_jflist .top_right li:last-child{
	border-bottom: 0;
}
.Dialog_jflist li span {
    width: 62%;
    color: #ff7878;
    display: inline-flex;
    padding-left: 2px;
    margin-right: 6px;
    height: auto;
    line-height: 15px;
	font-size: 14px;
}
.Dialog_jflist .phgz{
	width:100%;
	border-top: 1px dotted #ddd;
    line-height: 30px;
    font-size: 16px;
    color: #333;
    font-weight: 600;
	padding-top: 3px;
}
.Dialog_jflist .phgz span {
    width: 75%;
    color: #ff7878;
    display: inline-flex;
    padding-left: 2px;
    margin-right: 6px;
    height: auto;
    line-height: 15px;
	font-size: 14px;
}
.jf_Dialog .bottom{
	width:100%;
	height: 30vh;
	overflow-x: hidden;
	overflow-y: auto
}
.jf_Dialog .bottom::-webkit-scrollbar
{
    width: 12px;
   /* background-color: #bbe9fa;*/
	padding-top: 60px;
}
/*定義捲軸軌道 內陰影+圓角*/
.jf_Dialog .bottom::-webkit-scrollbar-track
{
    -webkit-box-shadow:#fff;
	background: url(../images/scrollbar-track.png) center;
/*  background-color: #F5F5F5;*/
}
 
/*定義滑塊 內陰影+圓角*/
.jf_Dialog .bottom::-webkit-scrollbar-thumb
{
    border-radius: 4px;
    -webkit-box-shadow: #fff;
	background: url(../images/scrollbar-thumb.png) center no-repeat;
/*    background-color: #ddd;*/
	height: 60px!important;
}
.jf_Dialog .bottom ul, li {
    list-style: none;
    margin: 0;
    padding: 0;
}
.jf_Dialog .bottom ul {
    width: 100%;
    height: 40px;
    padding-top: 20px;
}
.jf_Dialog .bottom li {
    width: 25%;
    padding: 5px;
    box-sizing: border-box;
    float: left;
    height: auto;
    overflow: hidden;
}
.jf_Dialog .bottom li .img_div {
    width: 100%;
    height: 0;
    padding-bottom: 100%;
    border-radius: 6px;
    overflow: hidden;
    margin: 0 auto;
}
.jf_Dialog .img_div img {
    width: 100%;
    cursor: pointer;
}
.jf_Dialog .bottom li p {
    width: 100%;
    height: 25px;
    color: #666;
    font-weight: 600;
    font-size: 16px;
    margin: 0;
    padding: 0;
    text-align: center;
    line-height: 25px;
}
.kefu_ca {
	width: 100%;
    max-width: 780px;
    height: auto;
    overflow: hidden;
    border-bottom: 1px solid #eee;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 105px;
    z-index: 10000;
    display: none;
    margin: auto;
	padding-top: 10px;
}
.kefu_ca .container{
	display: flex;
	width: 100%;
	background-color: rgba(0,0,0, 0.8);
	padding: 0;
	box-sizing: border-box;
	padding: 30px 0;
}

.kefu_ca .item {
	flex: 0 0 auto;  /* 關鍵屬性：根據內容自動計算基礎寬度 */
	margin: 0 auto;
	text-align: center;
	white-space: nowrap; /* 防止內容換行 */
}
.kefu_ca .slide_close {
    width: 60px;
    height: 60px;
	background-color: rgba(0,0,0, 0.8);
    border-radius: 50%;
    margin: 0 auto;
    cursor: pointer;
    background: #fff url(../images/share_close.png) center no-repeat;
    background-size: 60%;
    margin-bottom: 15px;
    box-shadow: 0 0 4px;
}
/* 客服彈窗樣式（與 moban-3 一致：自下而上滑入、深色面板、關閉鈕位置） */
.customer-service-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    max-width: 100vw;
    height: 100%;
    z-index: 9999;
    display: none;
    overflow-x: hidden;
    box-sizing: border-box;
}

.customer-service-modal .modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.customer-service-modal .modal-content {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: #1a1a1a;
    border-radius: 30px;
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    width: 100%;
    max-width: min(430px, 100vw);
    height: 430px;
    margin: auto;
    border: 1px solid #3d3d3d;
    box-shadow: 0 5px 20px rgba(255, 255, 255, 0.08);
    box-sizing: border-box;
}

.customer-service-modal.show .modal-overlay {
    opacity: 1;
}

.customer-service-modal.show .modal-content {
    transform: translateY(0);
}

.customer-service-modal .modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #444;
}

.customer-service-modal .modal-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #ccc;
}

.customer-service-modal .close-btn {
    background: none;
    border: none;
    font-size: 20px;
    color: #999;
    cursor: pointer;
    width: 30px;
    height: 30px;
    padding: 5px;
    border-radius: 200%;
    transition: background-color 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.customer-service-modal .close-btn:hover {
    background-color: #2a2a2a;
}

.customer-service-modal .modal-body {
    text-align: center;
}

.customer-service-modal .qr-codes-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-bottom: 20px;
    gap: 20px;
}

.customer-service-modal .qr-code-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.customer-service-modal .qr-code {
    width: 150px;
    height: 150px;
    border: 0;
    border-radius: 10px;
    background: #2a2a2a;
    margin-bottom: 10px;
}

.customer-service-modal .qr-label {
    margin: 0;
    font-size: 14px;
    color: #ccc;
    font-weight: 500;
}

.customer-service-modal .service-text {
    margin: 0;
    font-size: 16px;
    color: #999;
    line-height: 1.5;
}

.customer-service-modal .qr-code-item--link {
    text-decoration: none;
    color: inherit;
}

.customer-service-modal .qr-code--placeholder {
    object-fit: contain;
    padding: 24px;
    background: #fff;
}

.customer-service-modal .qr-code-item--telegram {
    max-width: min(190px, 44vw);
}

.customer-service-modal .qr-code--telegram-qr.is-telegram-qr-adapted {
    width: var(--telegram-qr-w, 150px);
    height: calc(var(--telegram-qr-w, 150px) * 1.1);
    object-fit: cover;
    object-position: center 43%;
    padding: 0;
    background: #fff;
    border-radius: 16px;
    display: block;
}

.dropdown-item {
    padding: 8px 0;
    cursor: pointer;
    transition: background-color 0.2s ease;
    border-bottom: 1px solid #f0f0f0;
    display: block;
    color:#999;
    font-size: 14px;
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
}

.dropdown-item.active {
    background-color: #f4bc03;
    color: #fff;
}

.category-btn i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.category-btn.active i {
    transform: rotate(180deg);
}

#customer-service-modal .modal-header {
    border-bottom: 0;
}

#customer-service-modal .close-modal {
    top: 0;
}

.close-modal {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #999;
    transition: color 0.2s;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    position: absolute;
    top: 10px;
    right: 10px;
}

.close-modal:hover {
    color: #ff4757;
    background-color: #f1f1f1;
}


.swiper-slide img{
	border-radius: 0;
}


.list_div_row.list_div_float{
	width:100%;
	height: auto;
	position: fixed;
	top:0;
	left: 0;
	z-index: 101;
	background: #fff;
	box-shadow: 0px 2px 2px #666;
	box-sizing: border-box;
	padding-left: 0;
	padding-top: 10px;
	padding-bottom: 0;
}
.list_area_01 .slide_down{
	width:80px;
	height: 30px;
    position: absolute;
    right: -13%;
	top: 0;
	background: url("../images/s_down.png") no-repeat;
	background-size: 30%;
	cursor: pointer;
	display: none;
}
.list_area_01 .slide_up{
	width:80px;
	height: 30px;
    position: absolute;
    right: -13%;
	top: 0;
	background: url("../images/s_up.png") no-repeat;
	background-size: 30%;
	cursor: pointer;
	display: none;
}
.detail_div.tuijian{
    padding-top: 40px;
}

.img_list{
    width:98%;
}
.img_list li{
    width:49vw;
	height:56vw;
}

.phb_div_mask{
    display: block;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(to top, #5f473b 15%, transparent);
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
	pointer-events: none;
}
.phb_row_right_top{
	width:100%;
	height: 25px;
	color: #fff;
}
.phb_row_right_title{
    font-size: 16px;
    line-height: 16px;
    font-weight: bold;
    color: #000;
	padding-left: 10px;
}
.phb_pingfen{
    background: #5f473b;
    line-height: 26px;
    font-size: 18px;
    font-style: normal;
    color: #fff;
    position: absolute;
    z-index: 3;
    top: 0;
    right: 0px;
    min-width: 66px;
    box-sizing: border-box;
    padding:2px 12px;
    text-shadow: 0 0 black;
    border-top-right-radius: 16px;
    border-bottom-left-radius: 16px;
}
.phb_icon{
    position: absolute;
    left: 11.5%;
    bottom: 5px;
    float: right;
    z-index: 99;
}
.phb_icon span{
	display: block;
	width:50px;
	height: 20px;
	float: right;
    font-size: 12px;
    padding-left: 20px;
    box-sizing: border-box;
    line-height: 16px;
}








.index-swiper {
    width: 100%;
    height: auto;
    margin: 0 auto;
}
.swiper-slide img{
    border-radius: 0;
}

.more_list li:nth-child(2) {
    border-top-right-radius: 0px;
}
.list_area_div.list_area_n {
    width: 100%;
    height: 49px;
    min-height: 45px;
    overflow: hidden;
    margin: 0 auto;
    background: #eee;
    border-radius: 0;
    box-sizing: border-box;
    box-shadow: inset 0px 0px 0px 0px #999;
    overflow-x: scroll;
    white-space: nowrap;
	padding: 0;
    padding-left: 10px;
    padding-right: 10px;
	padding-bottom: 0;
	border-top: 1px solid #ccc;
}
.list_area_div.list_area_n::-webkit-scrollbar{
	display: none;
}
.detail_back {
    width: 10%;
    padding-left: 15px;
}
.detail_back span {
    width: 40px;
    height: 40px;
    background-size: 75%;
    background-position: 0px 12px;
}
.index-search.detail_search {
    width: 85%;
    height: 50px;
    border-radius: 30px;
}
.detail_search .index-search-left {
    width: 74.5%;
    height: 50px;
}
.top_swiper {
    height: 260px;
    border-radius: 16px;
}
.index_swiper_div {
    width: 96%;
    height: 260px;
    border-radius: 16px;
}
.detail_left {
    width: 45%;
}
.detail_right {
	width:55%;
    padding: 0px;
}
.detail_right_div {
    padding: 10px;
	padding-left: 16px;
}
.detail_right_div dt.cp_name {
    width: 100%;
    height: 35px;
    font-size: 20px;
    line-height: 35px;
}
.detail_right_div dt {
    width: 50%;
    float: left;
    height: 25px;
    line-height: 25px;
    font-size: 13px;
}

.detail_right_div dt.long {
    width: 100%;
}
.detail_right_div dt.bianhao {
    height: 30px;
    top: 0;
    right: 5px;
    font-size: 14px;

}
.detail_topbar{
    height: 65px;
	padding-top: 0;
}
.d_tool_left li>span {
	width:40px;
}
.d_tool_left p {
    font-size: 14px;
    padding-top: 3px;
    line-height: 40px;
}
.d_tool_left p.ssjf {
    font-size: 14px;
	line-height: 65px;
	padding-left: 30px;
    background-size: 15%;
	background-position: 0 18px;
}
.yaoyueta {
    width: 70px;
    height: 30px;
    font-size: 14px;
    line-height: 30px;
	margin-left: 20px;
	margin-top: 14px;
}
.gallery li {
    height: 33.3333333333333vw;
}
.fuwu li {
    min-height: 30px;
    font-size: 14px;
    padding-top: 5px;
    line-height: 24px;
    padding-bottom: 5px;
    margin-top: 0px;
    padding-right: 9px;
    padding-left: 16px;
}
#box {
    width: 100%;
    padding: 10px;
	padding-left: 10px;
	box-sizing: border-box;
	margin-top: -35px;
}

#myPoint span big {
    font-size: 45px;
}
#myPoint span small {
    font-size: 18px;
}
#myPoint span {
    line-height: 64px;
    font-size: 12px;
}
#myPoint em {
    margin-left: 10px;
    margin-top: -10px;
    font-weight: 700;
    font-size: 1.5em;
}
#myPoint img {
    margin-left: 20px;
    margin-top: 25px;
    width: 43%;
    height: 43%;
}

#list-wrap {
 padding-top: 0;
}
#list-wrap .list {
	border-bottom: 1px dotted rgba(90,90,90,0.4);
}
#list-wrap .more_list:last-child{
    border-bottom: 0;
}
#list-wrap .user-pic {
    width: 3em;
}
#list-wrap .user-pic img {
    width: 2.5em;
    height: 2.5em;
}
#list-wrap .user-commont {
    width: calc(100% - 4em);
	padding-left: 5px;
	box-sizing: border-box;
	text-align: justify;
    border-bottom: 0;
}
.user-commont .reply {
    font-size: 14px;
    line-height: 0.1em;
    height: 1.5em;
    top: -0.2em;
    right: 63px;
}
.user-commont .zan {
    width: auto;
    min-width: 74px;
    height: 1.5em;
    line-height: 1.5em;
    top: -2px;
    background-size: 20%;
    font-size: 12px;
    padding-left: 50px;
}
#list-wrap .c-name {
    font-size: 1em;
    line-height: 1em;
    height: 1.5em;
}
#list-wrap .c-neirong {
    font-size: 0.9em;
    line-height: 1.5em;
}
#list-wrap .c-time {
    font-size: 0.7em;
    height: 1.5em;
    line-height: 1.5em;
}
.user-commont-list {
	width: calc(100% + 4em);
    padding-left: 10px;
    font-size: 14px;
	margin-left: -4em
}
.user-commont-list .reply-name {
    font-size: 14px;
}
.user-commont-list .reply-time {
    font-size: 0.7em;
    height: 2.5em;
    line-height: 1.5em;
}
.user-commont-list dt {
    width: 100%;
}
/*.Dialog_page a.page_active {
    padding: 11px;
    padding-top: 4px;
    padding-bottom: 4px;
}*/
.detail_pinglu-send {
	width:100%;
	height: 80px;
    position: fixed;
    left: 0;
    bottom: 60px;
    background: #a47e01;
    padding: 10px;
    box-sizing: border-box;
    box-shadow: 0px 2px 6px #000;
    z-index: 99;
}
.detail_pinglu-send textarea {
    width:calc(100% - 50px);
    height: 50px;
	line-height: 18px;
	padding: 10px;
	font-size: 12px;
	padding-left: 20px;
}
.detail_pinglu-send textarea::-webkit-input-placeholder{
    color:#999;
	font-size: 14px;
	line-height: 30px;
}
#comment_submit {
    height: 50px;
    background: #fff url(../images/push.png)left center no-repeat;
    background-size: 70%;
    width: 50px;
}
.pinglun_clear {
    width: 100%;
    height: 60px;
}
.user-commont-list dt a{
    font-size: 16px;
}
#list-wrap .c-level {
    height: 1.5em;
    line-height: 1.0em;
}
.user-commont-list dl{
    padding: 20px;
    padding-top: 10px;
	padding-bottom: 10px;
}
.share-div {
    width: 80%;
    height: 160px;
}
.share-div .share-close {
    width: 30px;
    height: 30px;
    right: 10px;
    top: 5px;
}
.share-div .title {
    height: 40px;
    font-size: 14px;
    line-height: 40px;
}
.popover-share{
	padding-top: 0px;
	}
.popover-share a {
    width: 30%;
    height: 90px;
    font-size: 14px;
    line-height: 160px;
	margin-top: 0;
}

/* ==================== 表情選擇器彈框樣式 ==================== */
.emoji-picker-popup {
    position: fixed;
    left: 50%;
    bottom: 145px;
    transform: translateX(-50%) translateY(100%);
    width: 360px;
    max-width: calc(100vw - 20px);
    max-height: 60vh;
    background: white;
    border-radius: 12px;
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.15);
    z-index: 10001;
    overflow: hidden;
    transition: transform 0.3s ease;
    opacity: 1;
    padding-bottom: 10px;
    box-sizing: border-box;
}

.emoji-picker-popup.show {
    transform: translateX(-50%) translateY(0);
}

.emoji-picker-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    border-bottom: 1px solid #e5e7eb;
    background: #f9fafb;
}

.emoji-picker-header span {
    font-size: 14px;
    font-weight: 600;
    color: #374151;
}

.emoji-close-btn {
    width: 28px;
    height: 28px;
    border: none;
    background: transparent;
    cursor: pointer;
    color: #6b7280;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.emoji-close-btn:hover {
    background: #e5e7eb;
    color: #374151;
}

.emoji-picker-body {
    padding: 10px;
    max-height: 340px;
    overflow: hidden;
    overflow-y: auto;
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 4px;
    row-gap: 35px;
    box-sizing: border-box;
    width: 100%;
}

.emoji-item {
    width: 100%;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    border-radius: 6px;
    border: 2px solid transparent;
    transition: all 0.2s ease;
    user-select: none;
    box-sizing: border-box;
    min-width: 0;
    overflow: hidden;
}

.emoji-item:hover {
    background: #fff4d6;
    transform: scale(1.2);
}

.emoji-item:active {
    background: #ffe14d;
    transform: scale(1.1);
}

.emoji-item.selected {
    background: #fff4d6;
    border: 2px solid #ffc64d;
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(255, 198, 77, 0.3);
}

/* 捲軸樣式 */
.emoji-picker-body::-webkit-scrollbar {
    width: 6px;
}

.emoji-picker-body::-webkit-scrollbar-track {
    background: #f3f4f6;
    border-radius: 3px;
}

.emoji-picker-body::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 3px;
}

.emoji-picker-body::-webkit-scrollbar-thumb:hover {
    background: #9ca3af;
}

/* ==================== Toast 確認框樣式 ==================== */
.confirm-toast {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(-150%);
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    z-index: 10002;
    min-width: 320px;
    max-width: 90%;
    transition: transform 0.3s ease;
}

.confirm-toast.show {
    transform: translateX(-50%) translateY(0);
}

.confirm-toast-content {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
}

.confirm-toast-content i {
    font-size: 22px;
    color: #f59e0b;
    flex-shrink: 0;
}

.confirm-toast-message {
    font-size: 14px;
    color: #374151;
    line-height: 1.5;
}

.confirm-toast-actions {
    display: flex;
    gap: 8px;
    padding: 0 20px 16px 20px;
    justify-content: flex-end;
}

.confirm-toast-btn {
    padding: 8px 20px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.confirm-toast-btn.cancel-confirm {
    background: #f3f4f6;
    color: #6b7280;
}

.confirm-toast-btn.cancel-confirm:hover {
    background: #e5e7eb;
    color: #374151;
}

.confirm-toast-btn.confirm-delete {
    background: #ef4444;
    color: white;
}

.confirm-toast-btn.confirm-delete:hover {
    background: #dc2626;
}

.confirm-toast-btn:active {
    transform: scale(0.95);
}

/* 代調確認彈框：文字/按鈕垂直分布，取消確定各半寬，右上角關閉 */
.confirm-toast.confirm-toast--daidiao {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -40%) scale(0.98);
    min-width: min(360px, 92vw);
    max-width: min(420px, 92vw);
}

.confirm-toast.confirm-toast--daidiao.show {
    transform: translate(-50%, -50%) scale(1);
}

.confirm-toast.confirm-toast--daidiao .confirm-toast-content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 20px 16px 16px;
}

.confirm-toast.confirm-toast--daidiao .confirm-toast-close {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 32px;
    height: 32px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: #9ca3af;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.confirm-toast.confirm-toast--daidiao .confirm-toast-close:hover {
    background: #f3f4f6;
    color: #4b5563;
}

.confirm-toast.confirm-toast--daidiao .confirm-toast-message {
    display: block;
    text-align: center;
    padding: 8px 28px 0;
    font-size: 15px;
    line-height: 1.6;
}

.confirm-toast.confirm-toast--daidiao .confirm-toast-actions {
    display: flex;
    flex-direction: row;
    gap: 10px;
    width: 100%;
    padding: 0;
    justify-content: stretch;
    box-sizing: border-box;
}

.confirm-toast.confirm-toast--daidiao .confirm-toast-btn {
    flex: 1 1 50%;
    width: 50%;
    min-width: 0;
    min-height: 42px;
    padding: 10px 12px;
    box-sizing: border-box;
}

.galley-close {
    background-size: contain;
    top: 0;
    right: 10px;
    cursor: pointer;
    z-index: 1001;
}
.index_title {
    font-size: 18px;
    height: 60px;
    line-height: 60px;
}
.more_title {
    font-size: 18px;
    height: 60px;
    line-height: 60px;
}
#list-wrap .main_commont {
    width: calc(100% - 4em);
    padding-left: 5px;
    box-sizing: border-box;
    text-align: justify;
    border-bottom: 0;
}
.main_reply_list .title {
    font-size: 18px;
    margin-bottom: 10px;
    padding-top: 10px;
}
.main_zan_div .main_zan {
    width: 120px;
    height: 35px;
    background-size: 20%;
    line-height: 35px;
    font-weight: 600;
    font-size: 14px;
	margin-bottom: 20px;
}
.list_arrow {
    top: -0.9999999rem;
    left: 8.67vw;
}
.main_reply_list {
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
}
#DataForm {
    width: 100%;
    min-height: calc(100% - 215px);
}
.serach-down {
    width: 100%;
    margin: 0 auto;
    height: auto;
    overflow: hidden;
}
.layui-form {
    width: 94%;
    height: auto;
    overflow: hidden;
    margin: 0 auto;
    position: relative;
	padding-bottom: 40px;
}
.h_search_div{
/*	padding-top: 16px;
	border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
    padding-bottom: 30px;*/
}
.h_search_div.search_get{
    padding-bottom: 50px;
}	
.ssjg_div_t1 {
    height: 50px;
    font-size: 14px;
    line-height: 50px;
    box-sizing: border-box;
    padding-left: 10px;
}
.ssjg_div_t2 {
    height: 50px;
    font-size: 14px;
    line-height: 50px;
    box-sizing: border-box;
    padding-left: 10px;
}
.s_article {
	display: block;
    width: 90%;
    height: 40px;
    line-height: 40px;
    font-size: 18px;
    cursor: pointer;
	margin: 0 auto;
	margin-top: 20px;
}
.toast{
    width:80%;
}
.warnning_diag {
    width:70%;
    box-shadow: 0px 0px 10px #999;
    padding: 10px;
}
.warnning_diag .close {
    width: 35px;
    height: 35px;
}
.warnning_diag .warnning_top {
    width: 100%;
    height: 45px;
}
.warnning_concent {
    width: 100%;
    font-size: 14px;
    line-height: 26px;
}
.not_prompt {
}

.wd_bottom .ok_btn {
    padding-left: 22px;
    padding-right: 22px;
    line-height: 30px;
    font-size: 14px;
}

.layui-anim .btn1 {
    background-size: 16%;
    background-position: 20px 0px;
    padding-left: 50px;
    font-size: 14px;
}
.layui-anim .btn2 {
    background-size: 16%;
    background-position: 20px 0px;
    padding-left: 50px;
    font-size: 14px;
}
span.search_top_button{
    height: 30px;
    line-height: 32px;
    font-size: 13px;
    cursor: pointer;
    border-radius: 20px;
    box-sizing: border-box;
    background: #f4bc03 url(../images/s_left.png) no-repeat;
    background-size: 16%;
    background-position: 68px 8px;
    right: 8px;
    top: 10px;
    width: 90px;
    padding-left: 12px;
    position: absolute;
}
span.search_down_button{
    height: 30px;
    line-height: 32px;
    font-size: 13px;
    cursor: pointer;
    border-radius: 20px;
    box-sizing: border-box;
    background: #f4bc03 url(../images/s_right.png) no-repeat;
    background-size: 16%;
    background-position: 68px 8px;
    right: 8px;
    top: 10px;
    width: 90px;
    padding-left: 12px;
    position: absolute;
}
.search_mask {
    width: 100%;
    height: 100vh;
    background-color: rgba(0,0,0,0.8);
    z-index: 70;
    position: fixed;
    top: 0;
    display: none;
}
.serach-down.search_tj_r {
    position: fixed;
    z-index: 100;
    left: 100%;
    top: 0;
    width: 80%;
    height:100vh;
    overflow-y: auto;
    box-shadow: 0px 0px 20px 10px #000;
}
.search-result {
    width: 100%;
    height: 50px;
    background: #1a1a1a;
}
.height-search-submit {
    position: fixed;
    left: 20%;
    bottom: 0;
    width: 80%;
    z-index: 101;
    border-top: 1px solid #cdbc83;
	background: #fff;
}
.search-result.slide_top {
    position: fixed;
    left: 20%;
    top: 0;
    width: 80%;
    box-shadow: 0px 4px 4px #ccc;
    z-index: 101;
}
.height-search-submit .s_article {
    width: 90%;
    height: 40px;
    line-height: 40px;
    font-size: 18px;
    cursor: pointer;
    margin: 0 auto;
    margin-bottom: 10px;
    margin-top: 10px;
}
.h_search_div.ss_height{
	padding-bottom: 80px;
}

#list-wrap .c-neirong.is_delete{
    background-size: 7%;
    background-position: 20px 10px;
    text-indent: 30px;
    padding-top: 10px;
}
.search-result-title {
    width: 70%;
    height: 30vw;
    border-radius: 18px;
    line-height: 30vw;
    font-size: 16px;
}
.search_close {
    width: 60px;
    height: 60px;
    background: url(../images/share_close.png) center no-repeat;
    background-size: 60%;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 999;
    cursor: pointer;
}
.search_close {
    width: 45px;
    height: 45px;
    top: 5px;
}
.search_maggin{
	height:30px;
}
.jf_mask {
    width: 100vw;
}
.myheight {
    height: 100vh;
}
.jf_Dialog {
    width: 95%;
    height: 98vh;
    border-radius: 10px;
    padding: 43px 15px;
}
.Dialog_jflist .top_left {
    width: 100px;
    height: 100px;
    margin-top: 30px;
}
.Dialog_jflist .top_right {
    width: 62%;
    padding-left: 20px;
}
.Dialog_jflist .top_right .title {
    font-size: 20px;
}
.Dialog_jflist .top_right li {
    font-size: 13px;
}
.Dialog_jflist li span {
    width: 25vw;
}
.jf_Dialog .bottom {
	height: 40vh;
}

/* ----選擇城市---- */
.picker-container {
    width: 100%;
    max-width: 320px;
    /* background: rgba(28, 28, 30, 0.95); */
    background: #f4f3fd;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    margin: 0 auto;
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    transition: all 0.4s ease;
    height: 0;
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 1000;
}

.picker-container.show {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    height: auto;
}

.header {
    padding: 10px;
    text-align: center;
    color: #56646a;
    font-weight: 600;
    font-size: 16px;
    border-bottom: 1px solid #e3e3e5;
    /* background: rgba(44, 44, 46, 0.8); */
    background: #fdfdff;
    position: relative;
}

.picker-container .close-btn {
    width: 30%;
    height: 30%;
    background-image: url("data:image/svg+xml,<svg viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg'><path d='M825 770 563 509 825 248c15-15 15-39 0-54s-39-15-54 0L510 455 249 194c-15-15-39-15-54 0s-15 39 0 54l261 261-261 261c-15 15-15 39 0 54s39 15 54 0l261-261 261 261c15 15 39 15 54 0s15-39 0-54z' fill='%23999'/></svg>");
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    top: 15px;
    right: -50px;
    cursor: pointer;
}

.picker {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
    -webkit-overflow-scrolling: touch;
}

.picker-list {
    list-style: none;
    padding: 0;
    margin: 0;
    transform: translateY(0);
    transition: transform 0.2s ease-out;
    /* background: -webkit-linear-gradient(#000 0%, #333 35%, #888 50%, #333 65%, #000 100%); */
}

.picker-list li {
    height: 40px;
    line-height: 40px;
    text-align: center;
    color: #56646a;
    font-size: 16px;
    user-select: none;
    transition: all 0.3s ease;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    padding: 0 10px;
}

.picker-list li.selected {
    color: #000;
    font-size: 18px;
    font-weight: bold;
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.6);
    box-shadow: 0 0 20px rgba(255, 155, 5, 0.1);
}

.picker-list li a{
    color: #56646a;
    text-decoration: none;
}

.picker-list li.selected a{
    color: #000;
    text-decoration: none;
}

.highlight {
    position: absolute;
    width: 100%;
    top: 85px;
    left: 0;
    right: 0;
    height: 0;
    /* background: url(../images/hightLight.png) center no-repeat; */
    background-size: contain;
    /* border-top: 1px solid rgba(255, 155, 5, 0.4);
    border-bottom: 1px solid #fff;
    box-shadow: 0 0 3px rgba(255, 155, 5, 0.6); */
    pointer-events: none;
    border-radius: 0;
    z-index: 10;
    transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}



.picker-footer {
    text-align: center;
    border-top: 1px solid #e3e3e5;
    background: #fdfdff;
    margin-top: 20px;
}

.confirm-btn {
    background: linear-gradient(135deg, rgb(219, 95, 121), rgb(230, 120, 143));
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(155, 115, 50, 0.3);
    width: 100%;
    text-align: center;
}

.confirm-btn:hover {
    background: linear-gradient(135deg, #f4bc03, #e6788f);
    box-shadow: 0 6px 15px rgba(85, 15, 15, 0.4);
}

.confirm-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 5px rgba(225, 135, 5, 0.3);
}

.city-switch-row .loaction,
.city-switch-row .loaction a {
    cursor: pointer;
}

.selected-city {
    margin-top: 25px;
    padding: 15px 25px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    color: #fff;
    font-size: 16px;
    text-align: center;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 1;
    position: relative;
}

.selected-city span {
    color: #f4bc03;
    font-weight: 600;
    text-shadow: 0 0 8px rgba(219, 95, 121, 0.5);
}

.instructions {
    margin-top: 20px;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    font-size: 14px;
    max-width: 320px;
    z-index: 1;
    position: relative;
}

.api-response {
    position: fixed;
    z-index: 99;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    height: 50px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #fff;
    font-size: 14px;
    text-align: center;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    max-width: 320px;
    width: 90%;
    display: none;
}

.api-response.show {
    display: block;
    animation: fadeInOut 2s ease;
}

.api-response.success {
    background: rgba(76, 175, 80, 0.9);
}

.api-response.error {
    background: rgba(244, 67, 54, 0.9);
}

.api-response.fade-out {
    animation: fadeOut 0.5s ease forwards;
}

@keyframes fadeInOut {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }
    20% {
        opacity: 1;
        transform: translateY(0);
    }
    80% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateY(-20px);
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

/* 倒計時模組樣式 - 適配moban-4色調 */
.countdown-timer-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    margin: 0 auto;
    z-index: 100;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    border-radius: 0;
    padding: 6px 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
}
.more_list .countdown-timer-overlay {
    bottom: 0;
}
.more_list .product-badge{
    bottom: 40px;
}
.more_list .vip-badge{
    padding: 8px 16px;
    left:auto;
    right:10px;
}
.countdown-display-mini {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
    min-width: 0;
}



.time-unit-mini {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #fb4e4e 0%, #f00 100%);
    border-radius: 2px;
    padding: 4px 6px;
    gap: 2px;
    min-width: 0;
    white-space: nowrap;
}

.time-value-mini {
    font-size: clamp(0.5rem, 2vw, 0.9rem);
    font-weight: 800;
    color: white;
    font-family: avenir;
    line-height: 1;
    white-space: nowrap;
}

.time-label-mini {
    font-size: clamp(0.4rem, 1.2vw, 0.65rem);
    color: white;
    font-weight: 600;
    white-space: nowrap;
}

.time-separator-mini {
    font-size: clamp(0.6rem, 2.5vw, 1rem);
    font-weight: 800;
    color: #fff;
    font-family: avenir;
    white-space: nowrap;
    flex: 0 0 auto;
    font-family: "fzch";
}

/* ============================================
   排行榜 sub-section 樣式 (來自 moban-1)
   ============================================ */
.sub-section {
    /* background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%); */
    background: #fff;
    padding: 20px;
    border-radius: 0;
    min-height: calc(100vh - 567px);
}

.details-section {
    background-color: #fff;
    padding: 0;
}

.sub-header {
    text-align: center;
    margin-bottom: 2rem;
}

.sub-header-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.sub-header-title h1 {
    margin: 0;
    flex: 1;
}

.sub-header h1 {
    font-size: 1.8rem;
    /* background: linear-gradient(90deg, #ff8a00, #e52e71); */
    -webkit-background-clip: text;
    background-clip: text;
    color: #333;
    /* text-shadow: 0 0 10px rgba(229, 46, 113, 0.5); */
}
.range-tabs a{
    color:#333;
    font-size: 1.8rem;
    border-right: 2px solid #ccc;
    padding: 0 20px;
    font-weight: 600;
}
.range-tabs a:last-child{
    border-right: none;
}
.sub-header i {
    font-size: 2.0rem;
    color: transparent;
    background: linear-gradient(90deg, #ff8a00, #e52e71);
    -webkit-background-clip: text;
    background-clip: text;
}

.sub-header span {
    color: #f90;
    margin: 0 6px;
}

.sub-header .subtitle {
    color: #a9a9a9;
    margin-bottom: 1.5rem;
}

.sub-container {
    width: 100%;
    margin-bottom: 25px;
    /* background: #fff; */
}

.tabs {
    display: flex;
    /* background: #e8f3f7; */
    background: #ffc54d;
    border-radius: 50px;
    padding: 5px;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 600;
}

.tab {
    padding: 10px 20px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
    z-index: 1;
    width: 25%;
    text-align: center;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
}

.tab.active {
    color: #000;
    background: rgba(255, 255, 255, .6);
}

.leaderboard {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.leaderboard-header {
    display: grid;
    grid-template-columns: 80px 1fr 100px 100px 100px 100px 100px;
    padding: 15px 20px;
    background: #e6f3fb;
    font-weight: 600;
    color: #333;
}

.leaderboard-item {
    display: grid;
    grid-template-columns: 80px 1fr 100px 100px 100px 100px 100px;
    padding: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    align-items: center;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.leaderboard-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(120, 200, 240, 0.1), transparent);
    transition: left 0.7s ease;
}

.leaderboard-item:hover::before {
    left: 100%;
}

.leaderboard-item:hover {
    background: rgba(215, 240, 250, 0.16);
    transform: translateY(-2px);
}

.leaderboard-item:active {
    transform: scale(0.99);
    background: rgba(50, 150, 210, 0.24);
}

.rank {
    font-size: 1.2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
}

.top-rank {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #bbb;
    font-weight: bold;
    margin: auto;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    font-family: "avenir";
    font-size: 18px;
    background: linear-gradient(135deg, #eee, #ddd);
}

tr:first-child .top-rank {
    background: linear-gradient(135deg, #a899f8, #7e09d8);
    box-shadow: 0 0 10px rgba(80, 65, 130, 0.5);
    color:#fff;
}

tr:nth-child(2) .top-rank {
    background: linear-gradient(135deg, #fc7844, #ff4800);
    box-shadow: 0 0 10px rgba(205, 127, 50, 0.5);
    color:#fff;
}

tr:nth-child(3) .top-rank {
    background: linear-gradient(135deg, #fc6bc2, #ff0099);
    box-shadow: 0 0 10px rgba(180, 5, 115, 0.5);
    color:#fff;
}

.player {
    display: flex;
    align-items: center;
}

.avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
    border: 3px solid rgba(85, 200, 250, 0.1);
    transition: transform 0.3s ease;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    position: relative;
}

.leaderboard-item:hover .avatar {
    transform: scale(1.1);
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.phb-vip{
    position: absolute;
    top: 0;
    right: 0;
    background-color: #65bd07;
    color: #fff;
    font-size: 10px;
    padding: 2px 5px;
    border-radius: 5px;
}
.player-info {
    display: flex;
    flex-direction: column;
    text-align: left;
    font-size: 13px;
    position: relative;
}

.name {
    font-weight: 600;
    margin-bottom: 4px;

}

.level {
    color: #a9a9a9;
    font-size: 12px;
}
.meta{
    font-size: 12px;  
}
.points-table td[data-label="菜品"] {
    overflow: visible;
}

.points-table .player {
    min-width: 0;
}

.points-table .player-info {
    display: grid;
    grid-template-columns: minmax(max-content, 1fr) auto;
    grid-template-areas:
        "name vip"
        "meta meta";
    align-items: center;
    column-gap: 6px;
    row-gap: 2px;
    flex: 1 1 auto;
    min-width: 0;
}

.points-table .player-info .phb-vip {
    grid-area: vip;
    position: static;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    border-radius: 999px;
}

.points-table .player-info .name {
    grid-area: name;
    flex: 1 1 auto;
    min-width: 0;
    margin-bottom: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: clip;
}

.points-table .player-info .meta {
    grid-area: meta;
    width: 100%;
    min-width: 0;
    overflow: hidden;
    text-overflow: clip;
    white-space: nowrap;
}
.general-detail{
    white-space: nowrap;
}
.general-detail svg{
    width:24px;
    height:24px;
    color:#65bd07;
}
.general-detail  .general-icons {
    display: flex;
    width: 100%;
    height: 40px;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 0 10px;
    margin-top: 5px;
    font-size: 14px;
    font-family: 'AVANTI';
    font-weight: 600;
}
.general-icons .lar{
    margin-left: 10px;
}
.points-table .stat {
    font-weight: 700;
    text-align: center;
    transition: transform 0.3s ease;
    font-family: 'AVANTI';
    font-size: 24px;
    color: #bbb;
}
.points-table th{
    white-space: nowrap;
}
.leaderboard-item:hover .stat {
    transform: translateY(-2px);
}

.points-table tr:nth-child(1) .attack {
    color: #7e09d8;
}

.points-table tr:nth-child(2) .attack {
    color: #ff4800;
}

.points-table tr:nth-child(3) .attack {
    color: #ff0099;
}

.defense {
    color: #2ed573;
}

.overall {
    color: #ffa502;
}

.skill {
    color: #1e90ff;
}

.popularity {
    color: #ff6b81;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

.progress-container {
    width: 80%;
    position: relative;
}

.progress-bar {
    height: 8px;
    /* background: rgba(255, 255, 255, 0.1); */
    background: #eee;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.progress {
    height: 100%;
    border-radius: 4px;
    width: 0;
    position: relative;
    transition: width 1.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.progress.normal {
    /* background: linear-gradient(90deg, #1e90ff, #4b9fff); */
    background: linear-gradient(90deg, #eee, #ccc);

}

.progress.hot {
    background: linear-gradient(90deg, #ffa502, #ff8a00);
}

.progress.very-hot {
    background: linear-gradient(90deg, #ff4757, #ff0000);
}

.progress.explode {
    background: linear-gradient(90deg, #ff4757, #ff0000);
    animation: pulse 2s infinite;
}

.progress-value {
    position: absolute;
    top: -20px;
    right: 0;
    font-size: 0.75rem;
    font-weight: 600;
}

.hot-text {
    font-size: 0.7rem;
    font-weight: 600;
    margin-top: 5px;
    opacity: 0;
    transition: opacity 0.5s ease;

}

.hot-text.normal {
    color: #999;
}

.hot-text.hot {
    color: #ffa502;
}

.hot-text.very-hot {
    color: #ff4757;
}

.hot-text.explode {
    color: #ff0000;
    animation: blink 1s infinite;
}

.trend-indicator {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 6px;
}

.trend-text {
    opacity: 1;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.2;
}

.trend-text.up {
    color: #188038;
}

.trend-text.down {
    color: #d93025;
}

.points-table .trend-text.up,
.points-table .trend-text.up span {
    color: #188038 !important;
    font-size: 0.8125rem;
}

.points-table .trend-text.down,
.points-table .trend-text.down span {
    color: #d93025 !important;
    font-size: 0.8125rem;
}

.points-table .trend-text.new,
.points-table .trend-text.new span,
.points-table .trend-text.flat,
.points-table .trend-text.flat span {
    font-size: 0.8125rem;
}

.points-table .trend-indicator .trend-text {
    white-space: nowrap;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.points-table .trend-indicator .trend-detail {
    font-size: 0.6875rem;
    white-space: nowrap;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.trend-text.new {
    color: #ff8c00;
}

.trend-text.flat {
    color: #666;
}

.trend-detail {
    position: static;
    font-size: 0.78rem;
    color: #8a8a8a;
    line-height: 1.2;
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes pulse {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }

    100% {
        opacity: 1;
    }
}

@keyframes blink {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }

    100% {
        opacity: 1;
    }
}

/* ===============================
    表格樣式
=============================== */
.points-table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    font-size: 14px;
    margin-bottom: 60px;
}

.points-table th {
    padding: 8px;
    text-align: center;
    height: 45px;
}

.points-table td {
    padding: 20px;
    text-align: center;
    height: 40px;
}

.points-table th {
    /* background: #e6f3fb; */
    background: #fff4d6;
    border-bottom: 1px solid #f6e6bc;
    color: #333;
    position: relative;
    font-size: 16px;
    font-weight: normal;
}

.points-table th.Order {
    width: 10%;
}

.points-table th.Goods {
    width: 40%;
}

.points-table th.Rating {
    width: 10%;
}

.points-table th.Trending {
    width: 30%;
}

.points-table th::before {
    content: "";
    position: absolute;
    top: 25%;
    right: 1px;
    height: 60%;
    border-right: 1px solid #fff;
}

.points-table th::after {
    content: "";
    position: absolute;
    top: 25%;
    right: 0;
    height: 60%;
    border-right: 1px solid #e2c471;
}

.points-table th:nth-child(1) {
    border-top-left-radius: 12px;
}

.points-table th:last-child {
    border-top-right-radius: 12px;
}

.points-table th:last-child::before,
.points-table th:last-child::after {
    border-right: 0;
}

.points-table tr {
    /* border: 1px solid #f0ecec; */
    border-bottom: 1px solid #f0ecec;
}

.points-table tr:last-child {
    border-bottom: 0;
}

.points-table td:last-child {
    text-align: left;
    border-right: 0;
}

.points-table td:first-child {
    border-left: 0;
}

.points-table .bottom-icons {
    gap: 16px;
    padding-left: 0;
    margin-top: 0;
    font-size: 12px;
    font-family: 'AVANTI';
}

.points-table span.i-sc {
    background: url(../images/i-sc.png) no-repeat left;
    background-size: 14px 14px;
}

.points-table span.i-zan {
    background: url(../images/i-zan.png) no-repeat left;
    background-size: 14px 14px;
}

.points-table span.i-pl {
    background: url(../images/i-pl.png) no-repeat left;
    background-size: 14px 14px;
}

.points-table .bottom-icons span {
    padding-left: 15px;
    font-size: 12px;

}

.stat.trend {
    font-weight: 700;
    text-align: center;
    transition: transform 0.3s ease;
    font-family: 'AVANTI';
    font-size: 24px;
    color: #bbb;
}

/* ============================================
   移動端樣式覆蓋 - 所有 @media (max-width: 768px) 合併
   ============================================ */
@media (max-width: 767px) {
    .index_header {
        height: 220px;
    }

    .de_div .ic_img .yhzq-activity-time-badge,
    .de_div .ic_img .product-badge,
    .de_div .ic_img .vip-badge {
        min-height: 32px;
        height: 32px;
        max-height: 32px;
        padding: 0 8px;
        font-size: 11px;
        border-width: 1px;
        box-sizing: border-box;
    }

    .de_div .ic_img .yhzq-activity-time-badge {
        top: 8px;
        left: 8px;
        max-width: calc(100% - 16px);
    }

    .de_div .ic_img .vip-badge {
        top: 8px;
        right: 8px;
    }

    .index-search-div {
        width: 100%;
        height: 85px;
        border-top-left-radius: 30px;
        border-top-right-radius: 30px;
        padding: 10px;
        float: left;
    }
    .index-search {
        height: 50px;
        border-radius: 25px;
    }
    .index-search-left {
        width: 74.5%;
        height: 50px;
    }
    .index-search input {
        height: 50px;
        border-radius: 25px;
        line-height: 50px;
        padding-left: 20px;
        font-size: 18px;
        padding-right: 60px;
    }
    .index-search input::-webkit-input-placeholder{
        font-size: 13px;
    }
    .index-search button {
        width: 36px;
        height: 36px;
        right: 6px;
        top: 14px;
    }
    .index-search-right {
        width: 25%;
        height: 50px;
        padding-top: 10px;
        padding-left: 0px;
    }
    .index-search-right a {
        width: 85%;
        height: 30px;
        border-radius: 15px;
        color: #fff;
        font-size: 14px;
        line-height: 30px;
    }
	/* area_div 相關 */
	.area_div span {
		width: 15%;
		min-width: 0; 
		border-radius: 13px;
		font-size: 14px;
		padding: 0; 
		margin-bottom: 10px;
		line-height: 26px;
		height: 26px;
	}
	.area_div a {
		width: 15%;
		min-width: 0; 
		border-radius: 13px;
		font-size: 14px;
		padding: 0; 
		margin-bottom: 10px;
		line-height: 26px;
		height: 26px;
	}
	
	/* list_area_div 相關 */
	.list_area_div {
		width: 93%;
		min-height: 60px;
		padding-left: 10px;
		margin-left: 1.5%;
	}
	.list_area_div a {
		min-width: 18.8%;
		height: 20px;
		border-radius: 20px;
		font-size: 13px;
		padding: 0;
		padding-top: 4px;
		padding-bottom: 4px;
	}
	
	/* footer：移動端固定在視窗底部，避免捲動後消失 */
	#footer,
	footer {
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		width: 100%;
		max-width: none;
		margin: 0;
		z-index: 520;
		box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.35);
		padding-bottom: env(safe-area-inset-bottom, 0px);
		box-sizing: border-box;
	}
    #footer div{
        font-size: 14px;
        line-height: 50px;
    }

	body:has(#footer) {
		padding-bottom: calc(110px + env(safe-area-inset-bottom, 0px));
	}

	/* 客服彈窗：貼底抽屜，限制在視口內（dvh/svh + safe-area，避免橫向與縱向超出） */
	body.no-scroll {
		width: 100%;
		overflow: hidden !important;
	}

	.customer-service-modal {
		left: 0;
		right: 0;
		width: 100%;
		max-width: 100vw;
		overflow-x: hidden;
		box-sizing: border-box;
	}

	.customer-service-modal .modal-content {
		top: auto;
		bottom: 0;
		left: 0 !important;
		right: 0;
		width: 100%;
		max-width: 100%;
		height: auto;
		max-height: calc(100vh - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px) - 16px);
		max-height: calc(100dvh - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px) - 16px);
		max-height: calc(100svh - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px) - 16px);
		margin: 0 auto;
		padding: 12px max(12px, env(safe-area-inset-left, 0px)) max(12px, env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-right, 0px));
		border-radius: 16px 16px 0 0;
		box-sizing: border-box;
		overflow: hidden;
		display: flex;
		flex-direction: column;
	}

	.customer-service-modal .modal-header {
		flex-shrink: 0;
		margin-bottom: 8px;
		padding-bottom: 8px;
		min-height: 0;
	}

	.customer-service-modal .modal-body {
		flex: 1 1 auto;
		min-height: 0;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: flex-start;
		overflow-y: auto;
		overflow-x: hidden;
		-webkit-overflow-scrolling: touch;
		text-align: center;
        padding-top: 60px;
	}

	.customer-service-modal .qr-codes-container {
		/* flex-wrap: wrap; */
		justify-content: center;
		align-items: center;
		gap: 20px;
		margin-bottom: 8px;
		max-width: 100%;
		box-sizing: border-box;
	}

    .customer-service-modal .qr-code {
        width: 120px;
        height: 120px;
    }

	.customer-service-modal .qr-code--placeholder {
		padding: clamp(8px, 2.5vw, 16px);
	}

	.customer-service-modal .qr-label {
		font-size: clamp(11px, 3.1vw, 13px);
		line-height: 1.2;
	}

	.customer-service-modal .service-text {
		font-size: clamp(11px, 3.2vw, 14px);
		line-height: 1.35;
		margin: 0;
		flex-shrink: 0;
		padding: 8px 0 4px;
	}

	
	/* new_title_row */
	.new_title_row {
		height: 40px;
		font-size: 20px;
		line-height: 45px;
	}
	
	/* pagination */
	.pagination {
		padding: 15px 10px;
		gap: 5px;
	}
	.page-btn {
		width: 35px;
		height: 35px;
		min-width: 30px;
		min-height: 30px;
		font-size: 14px;
	}
	
	/* uc-pagination-mian */
	.uc-pagination-mian {
		height: 65px;
		padding-top: 15px;
	}
	.uc-pagination-mian a {
		font-size: 14px;
		width:30px;
		height: 30px;
		line-height: 30px;
		border-radius: 30px;
		margin-left: 2px;
		margin-right: 2px;
	}
	
	/* phb_list 相關 */
	.phb_list {
		border-bottom-left-radius: 15px;
		border-bottom-right-radius: 15px;
	}
	.phb_list li:nth-child(17) {
		border-bottom-left-radius: 0;
	}
	.phb_list li:nth-child(19) {
		border-bottom-left-radius: 20px;
	}
	.phb_list.mb_5_list {
		margin-top: 5px!important;
	}
	.phb_list .nt_sort {
		height: 40px;
	}
	.phb_list .nt_sort li {
		text-align: left;
		font-size: 14px;
		box-sizing: border-box;
		line-height: 40px;
	}
	.phb_list .nt_sort li>a {
		padding-left: 12px;
	}
	.phb_list .nt_sort li:nth-child(2) {
		border-top-right-radius: 0;
	}
	.phb_list .nt_sort li .sort_arrow {
		width: 25px;
		height: 40px;
		background-size: 50%;
		right: 0;
		top: 0;
	}
	.phb_list .nt_sort li .sort_arrow_d {
		width: 25px;
		height: 40px;
		background: url(../images/paixu_d.png) top right no-repeat;
		background-size: contain;
		right: 0;
		top: 25%;
	}
	.phb_list .nt_sort li .sort_arrow_a {
		width: 25px;
		height: 40px;
		background: url(../images/paixu_u.png) top right no-repeat;
		background-size: contain;
		right: 0;
		top: 25%;
	}
	
	/* kefu_ca 相關 */
	.kefu_ca {
		bottom: 65px;
	}
	.kefu_ca .container{
		padding: 20px 0;
	}
	.kefu_ca .item {
		flex: 0 0 auto;  /* 關鍵屬性：根據內容自動計算基礎寬度 */
		margin: 0 auto;
		text-align: center;
		white-space: nowrap; /* 防止內容換行 */
	}
	.kefu_ca .item img {
		width:50%;
	}
	.kefu_ca .slide_close {
		width: 8.5vw;
		height: 8.5vw;
	}
	
	/* user_name_div 佈局最佳化 */
	.index_header .user_name_div {
		display: flex;
		align-items: center;
		flex-wrap: nowrap;
		overflow: hidden;
        padding-top: 5px;
	}
	.user_name_div .user_name {
		flex: 1;
		min-width: 0;
		max-width: 100%;
		margin-left: 10px;
	}
	
	/* time-value-mini 相關 */
	.time-value-mini {
		font-size: clamp(0.5rem, 4vw, 0.9rem);
		white-space: nowrap;
	}
	.time-label-mini {
		font-size: clamp(0.4rem, 4vw, 0.65rem);
		white-space: nowrap;
	}
	.time-separator-mini {
		font-size: clamp(0.5rem, 4vw, 0.8rem);
	}
    .de_div{
        width:48%;
        margin-left: 1.3%;
        margin-bottom: 5px;
    }
    
    /* 詳細頁面樣式 */
    .container {
        padding: 0;
    }

    .container.details-container {
        border-radius: 0;
        box-shadow: none;
        margin: 0;
        padding-top: 0; 
    }

    .product-detail {
        grid-template-columns: 1fr;
        gap: 0;
        margin-bottom: 0;
        margin-top: 0;
    }

    .product-detail .product-info {
        margin-left: 0;
        width: 100%;
        padding: 0;
    }

    .thumbnail-container {
        grid-template-columns: repeat(4, 1fr);
        gap: 6px;
    }

    .thumbnail {
        aspect-ratio: 1;
    }

    .specs-grid {
        grid-template-columns: 1fr;
    }

    .action-buttons {
        flex-direction: column;
    }

    .global-modal.top-list .action-buttons {
        flex-direction: row;
    }

    .radar-controls {
        grid-template-columns: 1fr;
    }

    .product-header {
        gap: 10px;
        /* justify-content: space-between; */
    }

    .product-title {
        font-size: 1.3rem;
        margin: 10px 0;
    }

    .product-title .nickname {
        display: block;
        width: 100%;
        font-size: 20px;
    }

    .product-title .code {
        display: block;
        margin-top: 0;
    }

    .detail-item.sub-pingfen {
        flex-wrap: wrap;
        justify-content: flex-end;
        top: 8px;
        right: 10px;
    }

    .product-code {
        font-size: 1.0rem;
        padding: 4px 8px;
    }

    .current-price {
        font-size: 1.6rem;
    }

    .detail-item.sub-price {
        grid-column: 1 / -1;
        width: 100%;
    }

    .detail-item.sub-price .original-price {
        font-size: 13px;
        margin-left: 0;
    }

    .radar-chart {
        width: 250px;
        height: 250px;
    }

    .product-stats {
        gap: 0;
        border-top: 1px solid #eaf7ff;
        border-bottom: 1px solid #eaf7ff;
        padding: 15px 0;
        margin: 0;
    }

    .product-features {
        margin-bottom: 10px;
    }

    .detail-item .detail-city {
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
        display: block !important;
        flex: 1;
        min-width: 0;
        max-width: 100%;
    }

    .product-actions {
        padding: 0;
        gap: 0;
        margin-top: 0;
    }

    .add-to-cart {
        box-shadow: none;
        border-bottom-right-radius: 0;
        border-top-left-radius: 0;
        border-top-right-radius: 0;
    }

    .wishlist-btn {
        box-shadow: none;
        border-bottom-left-radius: 0;
        border-top-left-radius: 0;
        border-top-right-radius: 0;
    }

    .stat-item i {
        font-size: 1rem;
    }

    .stat-value {
        font-size: 0.9rem;
    }

    .carousel-container.subpage {
        border-radius: 6px;
    }

    /* Fade */
    .carousel-slide.fade-anim {
        width: 100vw;
    }

    .carousel-slide video {
        width: 100vw;
    }

    /* CoverFlow */
    .carousel-slide.coverflow-anim {
        width: 100vw;
    }

    .carousel-container {
        max-height: 100%;
    }

    .product-gallery {
        /* background: #fff; */
        height: 60vh;
        min-height: 540px;
        /* border-radius: 0; */
    }

    /* 倒計時模組在小屏防止溢位，保持在視界中 */
    .countdown-timer {
        margin-top: 10px;
        margin-bottom: 14px;
        width: 100%;
        box-sizing: border-box;
        overflow: hidden;
    }

    .countdown-label {
        font-size: clamp(0.75rem, 3vw, 0.85rem);
        margin-bottom: 6px;
    }

    .countdown-display {
        flex-wrap: nowrap;
        width: 100%;
        max-width: 100%;
        gap: clamp(2px, 1vw, 6px);
        justify-content: center;
        box-sizing: border-box;
        overflow: hidden;
    }

    .time-unit {
        flex: 1 1 0;
        min-width: 0;
        max-width: 100%;
        padding: clamp(3px, 1vw + 2px, 7px) clamp(5px, 1.5vw + 2px, 9px);
        box-sizing: border-box;
    }

    .time-value {
        font-size: clamp(0.9rem, 6vw, 1.1rem);
    }

    .time-label {
        font-size: clamp(0.55rem, 5vw, 0.9rem);
    }

    .time-separator {
        font-size: clamp(0.8rem, 3vw, 1rem);
        flex-shrink: 0;
    }

    /* 倒計時 MINI 版防溢位 */
    .countdown-display-mini {
        flex-wrap: nowrap;
        width: 100%;
        max-width: 100%;
        gap: clamp(2px, 1vw, 5px);
        box-sizing: border-box;
        overflow: hidden;
    }

    .time-unit-mini {
        flex: 1 1 0;
        min-width: 0;
        max-width: 100%;
        box-sizing: border-box;
    }

    .product-gallery .main-image {
        height: calc(100% - 72px);
    }

    .customer-reviews {
        border-radius: 0;
        padding: 15px;
        padding-bottom: 0;
        margin-top: 10px;
    }

    .reviews-title {
        /* border-bottom: 1px solid #eaf7ff; 
        padding-left: 16px;*/
        font-size: 20px;
    }

    .sort-options h2 {
        font-size: 20px;
        padding-left: 0;
    }

    .reviewer {
        font-size: 13px;
    }

    .review-user-info {
        flex-wrap: wrap;
    }

    .review-date {
        flex-basis: 100%;
        width: 100%;
        text-align: left;
    }

    .reply-user {
        font-size: 12px;
    }

    .reply-target {
        font-size: 12px;
    }

    .reply-text {
        width: 100%;
        font-size: 13px;
    }

    .deleted-content {
        font-size: 12px;
    }

    .reply-text.deleted-content {
        font-size: 12px;
    }

    .comment-filter-tabs {
        margin-left: 0;
    }

    .duration-price-list {
        margin-bottom: 20px;
    }
    .phb_row_center{
        flex: 0 0 38%;
    }
    .phb_row_right{
        flex: 0 0 60%;
    }
    .youhuizhuanqu{
        background-size: 28%;
    }
    .jinrituijian{
        background-size: 28%;
    }
    .jinrituijian a{
        font-size: 0.9rem;
    }
    .paihangbang{
        background-size: 28%;
    }   
    .paihangbang a{
        font-size: 0.9rem;
    }
    .youhuizhuanqu a{
        font-size: 0.9rem;
    }
    .title_row span.title_more a{
        font-size: 0.9rem;
    }
}

/* ============================================
   小螢幕樣式 - 小於480px 卡片一行2列
   ============================================ */
@media (max-width: 479px) {
	.phb_list li {
		width: 50%;
	}
	.phb_list li:nth-child(2) {
		/* border-top-right-radius: 20px; */
	}
	.phb_list li:nth-child(4) {
		border-top-right-radius: 0;
	}
    .phb_list .nt_sort li:nth-child(4){
        border-top-right-radius: 20px !important;
    }
    .close-carousel svg{
        width: 60%;
        height: 60%;
        display: block;
        margin: auto;
        object-fit: contain;
    }
    .feature-item{
        font-size: 13px;
    }
    .product-features{
        padding: 12px 18px;
        padding-bottom: 0;
    }
    .duration-price-panel{
        font-size: 13px;
        padding: 0 18px;
    }
    .feature-item{
        font-weight: normal;
    }
    .duration-original{
        font-size: 0.95rem;
    }
    .feature-item span.duration-current{
        font-size: 14px;
    }
    .duration-time{
        font-weight: normal;
    }
    .duration-label{
        font-weight: normal;
    }
    .duration-value{
        font-weight: normal;
    }
    .feature-item span.duration-original{
        font-size: 14px;
    }
    .spec-item{
        font-size: 13px;
 
    }
    .spec-value{
        font-size: 13px;
        font-weight: normal;
    }
    .reviews-title {
        font-size: 16px;
    }
    .product-specs{
        margin-bottom: 10px;
    }
    .radar-title{
        font-size: 16px;
    }
    .radar-average{
        font-size: 16px;
    }
    .sort-options h2{
        font-size: 16px;
    }
    .phb_list .detail_div .cp_name{
        font-size: 18px;
    }
    .phb_list li>.detail_div>.cp_pingfen span{
        font-size: 20px;
    }
}
@media (max-width: 376px) {
    .new_title_row{
        font-size: 16px;
    }
}
/* ============================================
   中等螢幕樣式 - 480px-767px 卡片一行3列
   ============================================ */
@media (min-width: 480px) and (max-width: 768px) {
	/* 首頁 .de_div 卡片 3列布局 */
	.de_div {
		width: calc((100% - 2%) / 3) !important;
		margin-left: 1% !important;
		margin-right: 0 !important;
		margin-bottom: 6px;
		box-sizing: border-box;
	}
	.de_div:nth-child(3n+1) {
		margin-left: 0 !important;
	}
	.de_div:nth-child(3n) {
		margin-right: 0 !important;
	}
	
	/* moreList 頁面 .phb_list li 卡片 3列布局 */
	.phb_list li {
		width: 33.33333333333333333333% !important;
		box-sizing: border-box;
	}
	.phb_list li:nth-child(3n) {
		margin-right: 0 !important;
	}
	.phb_list li:nth-child(2) {
		border-top-right-radius: 0 !important;
	}
	.phb_list li:nth-child(3) {
		/* border-top-right-radius: 20px !important; */
	}
    .phb_list .nt_sort li:nth-child(3){
        border-top-right-radius: 0 !important;
    }
	.phb_list li:nth-child(4) {
		border-top-right-radius: 0 !important;
	}
    .phb_list .nt_sort li:nth-child(4){
        border-top-right-radius: 20px !important;
    }
	.phb_list li:nth-child(6) {
		border-top-right-radius: 20px !important;
	}
    .close-carousel svg{
        width: 60%;
        height: 60%;
        display: block;
        margin: auto;
        object-fit: contain;
    }
}



.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: linear-gradient(135deg, #2c3e50, #1a1a2e); */
    /* background: rgba(44, 62, 80, 0.7); */
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    z-index: 10000000;
    display: none;
}

.overlay.show {
    opacity: 1;
    visibility: visible;
}

/* ------- 18禁 ------- */
.container {
    max-width: 600px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    padding: 30px;
    text-align: center;
}

h1 {
    color: #db5f79;
    margin-bottom: 20px;
    font-size: 2.2rem;
}

p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.overlay-18 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
    transition: opacity 0.3s ease;
}

#agreementBox.agreement-box, .agreement-box {
    background: white;
    border-radius: 12px;
    width: 90%;
    height: 80%;
    --agreement-box-ratio: 5 / 7;
    --agreement-btn-ratio: 9 / 3;
    max-width: 500px;
    padding: 25px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    transition: transform 0.4s ease;
    position: fixed;
    margin: auto;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    max-height: 630px;
    display: none;
}

#agreementBox .warnning-logo, .warnning-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16%;
    height: 16%;
    margin: 0 auto;
}

#agreementBox .warnning-logo img, .warnning-logo img {
    width: 100%;
    height: auto;
    display: block;
}

#agreementBox.agreement-box.show, .agreement-box.show {
    transform: scale(1);
    display: flex;
    flex-direction: column;
}

#agreementBox .agreement-title, .agreement-title {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    color: #e74c3c;
    margin-bottom: 15px;
    font-size: 1.8rem;
    margin-bottom: 20px;
    margin-top: 6px;
}

#agreementBox .agreement-title img, .agreement-title img {
    width: 38px;
    margin-right: 16px;
}

#agreementBox .agreement-content, .agreement-content {
    color: #555;
    font-size: 16px;
    font-weight: 400;
    flex: 1 1 auto;
    min-height: 0;
    max-height: none;
    overflow-y: auto;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: justify;
    border: 1px solid #eee;
    line-height: 40px;
    text-indent: 1.8rem;
}

#agreementBox .agreement-content p, .agreement-content p {
    margin-bottom: 10px;
    color: #555;
}

/* 18 禁彈窗：移動端高度與內容區流體適配 */
@media (max-width: 768px) {
    #agreementBox.agreement-box, .agreement-box {
        width: min(92vw, 520px);
        height: auto;
        aspect-ratio: var(--agreement-box-ratio);
        max-height: 90vh;
        padding: clamp(14px, 3.2vw, 22px);
        border-radius: 10px;
    }

    #agreementBox .warnning-logo, .warnning-logo {
        width: clamp(48px, 12vw, 72px);
        height: clamp(48px, 12vw, 72px);
    }

    #agreementBox .agreement-title, .agreement-title {
        margin: 8px 0 14px;
        font-size: clamp(1.15rem, 4.8vw, 1.55rem);
    }

    #agreementBox .agreement-title img, .agreement-title img {
        width: clamp(24px, 6.2vw, 34px);
        margin-right: clamp(8px, 2vw, 12px);
    }

    #agreementBox .agreement-content, .agreement-content {
        flex: 1 1 auto;
        min-height: 0;
        max-height: none;
        line-height: clamp(26px, 5.4vw, 34px);
        text-indent: 1.4rem;
        padding: clamp(10px, 2.5vw, 14px);
        margin-bottom: clamp(12px, 2.8vw, 18px);
    }

    #agreementBox .checkbox-container {
        margin-bottom: clamp(10px, 2.6vw, 16px);
        font-size: clamp(13px, 3.4vw, 15px);
    }

    #agreementBox .checkbox-container input {
        width: clamp(16px, 4.5vw, 18px);
        height: clamp(16px, 4.5vw, 18px);
    }

    #agreementBox .buttons {
        gap: clamp(8px, 2.4vw, 14px);
    }

    #agreementBox .btn {
        width: clamp(112px, 31vw, 156px);
        aspect-ratio: var(--agreement-btn-ratio);
        min-height: 0;
        height: auto;
        padding: 0;
        font-size: clamp(0.88rem, 3.2vw, 1rem);
        line-height: 1.15;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        white-space: nowrap;
    }
}

@media (max-width: 540px) {
    #agreementBox.agreement-box, .agreement-box {
        width: 94vw;
        aspect-ratio: var(--agreement-box-ratio);
        max-height: 92vh;
        padding: clamp(12px, 3vw, 18px);
    }

    #agreementBox .agreement-content, .agreement-content {
        max-height: none;
        line-height: 38px;
        text-indent: 1.2rem;
        font-size: 14px;
        padding: 30px;
    }
}

@media (max-width: 375px) {
    #agreementBox.agreement-box, .agreement-box {
        width: 95vw;
        aspect-ratio: var(--agreement-box-ratio);
        max-height: 94vh;
        padding: 12px;
    }

    #agreementBox .agreement-content, .agreement-content {
        max-height: none;
        line-height: 32px;
        text-indent: 1.2rem;
        font-size: 14px;
        padding: 30px;
    }

    #agreementBox .btn {
        width: clamp(100px, 34vw, 132px);
        font-size: 0.86rem;
    }
}

#agreementBox .checkbox-container {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    justify-content: center;
    cursor: pointer;
    color: #333;
    font-size: 15px;
    font-weight: 400;
}

#agreementBox .checkbox-container label {
    cursor: pointer;
    color: #333;
    font-size: inherit;
    font-weight: 400;
}

#agreementBox .checkbox-container input {
    margin-right: 10px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

#agreementBox .buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

#agreementBox .btn {
    padding: 12px 25px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

#agreementBox .btn-accept, .btn-accept {
    background: #2ecc71;
    color: white;
}

#agreementBox .btn-accept:hover, .btn-accept:hover {
    background: #27ae60;
    transform: translateY(-2px);
}

#agreementBox .btn-reject, .btn-reject {
    background: #e74c3c;
    color: white;
}

#agreementBox .btn-reject:hover, .btn-reject:hover {
    background: #c0392b;
    transform: translateY(-2px);
}

/* 18 禁彈窗按鈕：使用更高選擇器優先級，避免被全域 .btn 覆蓋 */
#agreementBox .buttons .btn, .agreement-box .buttons .btn {
    width: 118px;
    aspect-ratio: var(--agreement-btn-ratio, 10 / 3);
    min-height: 0;
    height: auto;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1.15;
    white-space: nowrap;
}

@media (max-width: 768px) {
    #agreementBox .buttons, .agreement-box .buttons {
        gap: clamp(8px, 2.4vw, 14px);
    }

    #agreementBox .buttons .btn, .agreement-box .buttons .btn {
        width: clamp(84px, 24vw, 116px);
        font-size: clamp(0.76rem, 2.7vw, 0.86rem);
    }
}

@media (max-width: 540px) {
    #agreementBox .buttons .btn, .agreement-box .buttons .btn {
        width: clamp(78px, 26vw, 102px);
        font-size: clamp(0.80rem, 2.5vw, 0.85rem);
    }
}

@media (max-width: 375px) {
    #agreementBox .buttons .btn, .agreement-box .buttons .btn {
        width: clamp(72px, 24vw, 92px);
        font-size: clamp(0.68rem, 2.3vw, 0.76rem);
    }
}
@media (max-width: 768px) {
    .phb_list .nt_sort li {
        width: 25% !important;
        font-size: 14px;
    }
}

/* ============================================
   篩選彈框樣式 - 參照 moban-1
   ============================================ */
.filter-sidebar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 350px;
    height: 100%;
    background: white;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    z-index: 1000;
    transition: right 0.3s ease;
    overflow-y: auto;
    padding: 20px;
}

.filter-sidebar.open {
    right: 0;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 15px;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.sidebar-title {
    font-size: 16px;
    color: #333;
}

.close-sidebar {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #777;
}

.sidebar-title i {
    color: #ffc64d;
    margin-right: 6px;
}

.sidebar-header svg {
    width: 24px;
    height: 24px;
    cursor: pointer;
    fill: #666;
}

.search-criteria {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

/* criteria-item底部操作資訊樣式 */
.operation-info {
    margin-top: 8px;
    padding: 6px 30px 6px 10px;
    border-radius: 4px;
    font-size: 12px;
    position: relative;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.operation-info.show {
    opacity: 1;
    transform: translateY(0);
}

.operation-info.success {
    background: rgba(76, 175, 80, 0.1);
    color: #2e7d32;
    border: 1px solid rgba(76, 175, 80, 0.2);
}

.operation-info.info {
    background: #eee;
    color: #888;
    border: 1px solid #eee;
}

.operation-info-content {
    display: block;
}

.operation-info-close {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    opacity: 0.7;
    padding: 2px;
    font-size: 10px;
}

.operation-info-close:hover {
    opacity: 1;
}

/* 側邊欄底部按鈕樣式 */
.sidebar-footer {
    margin-top: 20px;
    margin-bottom: 20px;
    padding-top: 20px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 15px;
}

.back-to-search-btn {
    background: linear-gradient(135deg, #5ec7f8, #3498db);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 16px;
    width: calc(50% - 16px);
}

.back-to-search-btn:hover {
    background: linear-gradient(135deg, #a4dffb, #5ec7f8);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(33, 150, 243, 0.3);
}

#resetSearch.back-to-search-btn {
    background: linear-gradient(135deg, #b4df6f, #8bc82c);
}

#resetSearch.back-to-search-btn:hover {
    background: linear-gradient(135deg, #a5cc66, #b4df6f);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(80, 125, 10, 0.3);
}

/* 切換按鈕樣式 */
.criteria-item {
    position: relative;
    padding: 15px;
    margin: 8px 0;
    border-radius: 30px;
    transition: all 0.3s ease;
    border: 1px solid #ffc64d;
    min-height: 60px;
    text-align: left;
    background-color: #ffd34d;
}

.criteria-item.active {
    background-color: #f0f9ff;
    border-color: #cfebfd;
    box-shadow: 0 2px 8px rgba(33, 150, 243, 0.1);
}

.criteria-toggle-btn {
    position: absolute;
    right: 5px;
    top: 5px;
    width: 20px;
    height: 20px;
    border: none;
    border-radius: 50%;
    background: #8bc82c;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 20;
    font-size: 10px;
}

.criteria-toggle-btn:hover {
    background: #f0f0f0;
    color: #666;
    transform: scale(1.1);
}

.criteria-toggle-btn:not(.active) {
    background: #f0f0f0;
    color: #666;
}

.criteria-toggle-btn:not(.active):hover {
    background: #e0e0e0;
    color: #333;
}

.criteria-toggle-btn i {
    font-size: 10px;
}

.criteria-values {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 5px;
    position: relative;
    z-index: 5;
}

.criteria-value {
    padding: 4px 8px;
    border-radius: 20px;
    background: #fff;
    color: #000;
    border: 1px solid #ffc54d;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 12px;
    font-weight: 500;
}

.criteria-value:not(.active) {
    background: rgba(255, 255, 255, 0.2);
    color: #999;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.criteria-value.active:hover {
    background: #fff9e6;
    border-color: #ffc54d;
    color: #000;
    transform: translateY(-1px);
}

.criteria-value:not(.active):hover {
    background: #fff9e6;
    border-color: #ffc54d;
    color: #666;
}

.filter-sidebar .criteria-value {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.filter-sidebar .facet-count {
    display: inline-block;
    margin-left: 2px;
    font-size: 12px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: #f90;
    white-space: nowrap;
}

.filter-sidebar .criteria-value:not(.active) .facet-count {
    color: #d8d8d8;
}

.filter-sidebar .criteria-value.active .facet-count {
    color: #ffb300;
}

.criteria-item strong {
    display: block;
    margin-bottom: 5px;
    color: #fff;
    font-weight: 600;
    position: relative;
    z-index: 5;
    padding-right: 25px;
}

.criteria-item strong.active {
    color: #333;
    font-weight: 700;
}

.criteria-item.active strong {
    color: #333;
    font-weight: 700;
}

.plus-one {
    position: absolute;
    font-size: 14px;
    color: #ff5252;
    font-weight: bold;
    pointer-events: none;
    opacity: 1;
    transition: transform 0.8s ease-out, opacity 0.8s ease-out;
    z-index: 1000;
}

.plus-one.animate {
    transform: translateY(-30px) scale(1.3);
    opacity: 0;
}

/* 篩選彈框內的按鈕樣式 */
.filter-sidebar .btn-primary {
    background-color: #fcac01;
    color: white;
    text-align: center;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.filter-sidebar .btn-primary:hover {
    background: #f90;
    transform: translateY(-2px);
}

.filter-sidebar .btn-secondary {
    background: transparent;
    border: 1px solid #333;
    color: #aaa;
    text-align: center;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.filter-sidebar .btn-secondary:hover {
    background: #2d2d2d;
}

.filter-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #000;
    color: white;
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s;
    white-space: nowrap;
    border:1px solid #333;
}

.filter-toggle:hover {
    background: #666;
    transform: translateY(-2px);
}

/* 篩選彈框移動端適配 */
@media (max-width: 768px) {
    .filter-sidebar {
        width: 85%;
    }
    
    .results-summary {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .ssjg_div_y {
        font-size: 14px;
    }
    
    .filter-toggle {
        padding: 0.5rem 1rem;
        font-size: 14px;
    }
}

/* ============================================
   篩選下拉選單樣式 - moreList.html (參照 moban-2)
   ============================================ */
.list_area_01 .categories {
    display: flex;
    gap: 10px;
    width: 100%;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

/* moreList 全部菜品：四個篩選一行四列，不換行、不橫向捲動（見 moreList.html .categories--morelist-4col） */
.list_area_01 .categories.categories--morelist-4col {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    flex-wrap: nowrap;
    overflow: visible;
    box-sizing: border-box;
}

.list_area_01 .categories.categories--morelist-4col .category-dropdown {
    min-width: 0;
}

.list_area_01 .categories.categories--morelist-4col .category-btn {
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
    padding-left: 6px;
    padding-right: 6px;
}

.list_area_01 .categories.categories--morelist-4col .category-btn .btn-text {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: center;
}

.list_area_01 .categories.categories--morelist-4col .category-btn i {
    margin-left: 0;
    transform: translateX(-12px);
}

.list_area_01 .categories.categories--morelist-4col .category-btn.active i {
    transform: translateX(-12px) rotate(180deg);
}

.category-btn {
    padding: 8px 10px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    transition: all 0.3s ease;
    color: #fff;
    font-size: 16px;
    background: #ffc54d;
}

.category-dropdown {
    position: relative;
    display: flex;
}

.category-dropdown.todaynew-city-dropdown {
    /* width: 150px;
    margin-left: auto; */
    flex-shrink: 0;
    min-width:82px;
    margin-right: 16px;
}

.category-dropdown.todaynew-city-dropdown span {
    color: #fff;
    font-size: 16px;
    width: 100%;
    text-align: center;
}

.category-dropdown.todaynew-city-dropdown i {
    color: #fff;
    font-size: 16px;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 10;
    min-width: 150px;
    max-height: 200px;
    overflow: hidden;
    opacity: 0;
    margin-top: 5px;
    transition: all 0.3s ease;
    transform: translateY(-10px);
    scrollbar-width: thin;
    scrollbar-color: #c4c4c4 #f8f8f8;
    pointer-events: none;
    box-sizing: border-box;
}

.category-dropdown.todaynew-city-dropdown .dropdown-menu {
    left: auto;
    right: 0;
    width: max-content;
    max-width: calc(100vw - 24px);
}

.dropdown-menu.show {
    max-height: 200px;
    opacity: 1;
    transform: translateY(0);
    overflow-y: auto;
    z-index: 1001;
    pointer-events: auto;
}





.category-btn i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.category-btn.active i {
    transform: rotate(180deg);
}

.dropdown-menu::-webkit-scrollbar {
    width: 8px;
}

.dropdown-menu::-webkit-scrollbar-track {
    background: #f8f8f8;
    border-radius: 4px;
}

.dropdown-menu::-webkit-scrollbar-thumb {
    background: #c4c4c4;
    border-radius: 4px;
}

.dropdown-menu::-webkit-scrollbar-thumb:hover {
    background: #a0a0a0;
}

body.dropdown-open {
    overflow: hidden;
}

/* 移動端適配 */
@media (max-width: 768px) {



    .category-dropdown.todaynew-city-dropdown {
        flex: none;
    }
    
    .category-btn {
        min-width: calc(25% - 10px);
        font-weight: normal;
        padding: 5px 9px;
        font-size: 14px;
    }
    .category-dropdown.todaynew-city-dropdown span{
        font-size: 14px;
    }
    .list_area_01 .categories.categories--morelist-4col .category-dropdown {
        width: auto;
        min-width: 0;
    }

    .list_area_01 .categories.categories--morelist-4col .category-btn {
        min-width: 0;
        padding: 8px 4px;
        font-size: 12px;
    }
}

/* ============================================
   高階搜尋頁面樣式 - hl-search.html (參照 moban_5)
   ============================================ */
.serach-down {
    width: 780px;
    margin: 0 auto;
    height: auto;
    overflow: hidden;
}

.search-result {
    width: 100%;
    height: auto;
    overflow: hidden;
}

.search_close {
    width: 60px;
    height: 60px;
    background: url("../images/share_close.png") center no-repeat;
    background-size: 60%;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 999;
    cursor: pointer;
}

.search-result-title {
    position: fixed;
    margin: auto;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 350px;
    height: 150px;
    background: #fff;
    box-shadow: 0px 0px 20px #ffcf2f;
    color: #000;
    border-radius: 6px;
    box-sizing: border-box;
    line-height: 150px;
    z-index: 1000;
    font-size: 18px;
    text-align: center;
}

.ssjg_div_t2 {
    height: 70px;
    font-size: 18px;
    line-height: 70px;
    padding-left: 30px;
    border-bottom: 1px solid #eee;
    background: #f1f1f1;
    font-weight: 600;
    box-shadow: inset 0px 15px 10px -15px #ccc;
}

.ssjg_div_t1 {
    height: 70px;
    font-size: 18px;
    line-height: 70px;
    padding-left: 30px;
    border-bottom: 1px solid #eee;
    background: #f1f1f1;
    font-weight: 600;
    box-shadow: inset 0px 15px 10px -15px #ccc;
    display: none;
    position: relative;
}

.ssjg_div_t1 span {
    display: inline-block;
    margin-left: 10px;
    margin-right: 10px;
    color: #e0ad04;
    font-weight: bold;
}

.h_search_div {
    width: 100%;
    height: 0;
    background-color: rgba(255, 255, 255, 1.0);
    overflow: hidden;
}

.h_search_div.search_get {
    width: 100%;
    height: auto;
    background-color: rgba(255, 255, 255, 1.0);
    padding-top: 30px;
    padding-bottom: 50px;
    border-bottom-left-radius: 50px;
    border-bottom-right-radius: 50px;
}

.layui-form {
    width: 94%;
    height: auto;
    overflow: hidden;
    margin: 0 auto;
    position: relative;
}

.layui-form-item {
    margin-bottom: 15px;
}

.layui-form-label {
    width: 100px;
    text-align: right;
    padding-right: 10px;
    line-height: 38px;
    font-size: 14px;
    color: #333;
}

.layui-form-label.long {
    width: 120px;
}

.layui-input-inline {
    width: 200px;
    margin-right: 10px;
    vertical-align: middle;
}

.layui-input-inline.query_show {
    border: 1px solid #ffcf2f;
}

.layui-input-block {
    margin-left: 110px;
}

.layui-input-block.long {
    margin-left: 130px;
}

.layui-input {
    width: 100%;
    height: 38px;
    line-height: 38px;
    border: 1px solid #e6e6e6;
    border-radius: 2px;
    padding: 0 15px;
    font-size: 14px;
    box-sizing: border-box;
}

.layui-form-select {
    position: relative;
}

.layui-select-title {
    position: relative;
    padding: 0 15px;
    height: 38px;
    line-height: 38px;
    border: 1px solid #e6e6e6;
    border-radius: 2px;
    cursor: pointer;
    background: #fff;
}

.layui-select-title.query_show {
    border-color: #ffcf2f;
}

.layui-edge {
    position: absolute;
    right: 10px;
    top: 50%;
    margin-top: -3px;
    width: 0;
    height: 0;
    border-width: 6px;
    border-style: solid;
    border-color: #c2c2c2 transparent transparent transparent;
}

.layui-form-selected .layui-edge {
    margin-top: -9px;
    border-color: transparent transparent #c2c2c2 transparent;
}

.layui-anim {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 100%;
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 2px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12);
    z-index: 999;
    display: none;
    max-height: 300px;
    overflow-y: auto;
}

.layui-form-selected .layui-anim {
    display: block;
}

.layui-anim .btn1,
.layui-anim .btn2 {
    width: 45% !important;
    float: left !important;
    text-align: left;
    height: 30px;
    padding-bottom: 10px;
    border-bottom: 1px dashed #ccc;
    cursor: pointer;
    margin-top: 8px;
    box-sizing: border-box;
    padding-left: 22px;
    font-size: 12px;
    margin-left: 5%;
}

.layui-anim .btn2 {
    margin-left: 0;
}

#fuwu_area dd {
    font-size: 13px;
    padding: 5px 15px;
    position: relative;
}

#fuwu_area .layui-form-checkbox {
    height: 27px;
    width: 100%;
    position: absolute;
    left: 0;
    top: 0;
}

#fuwu_area dd > span {
    margin-left: 36px;
    padding-top: 2px;
    display: inline-block;
}

.s_article {
    width: 590px;
    height: 60px;
    background: #ffcf2f;
    line-height: 60px;
    font-size: 24px;
    color: #000;
    text-align: center;
    border: 0;
    cursor: pointer;
    margin-left: 130px;
    border-radius: 30px;
}

#fail_filter {
    display: none;
}

.search_top_button {
    height: 40px;
    line-height: 40px;
    font-size: 14px;
    cursor: pointer;
    border-radius: 20px;
    box-sizing: border-box;
    background: #ffcf2f;
    right: 15px;
    top: 16px;
    width: 120px;
    padding-left: 18px;
    position: absolute;
    color: #000;
}

.search_down_button {
    height: 40px;
    line-height: 40px;
    font-size: 14px;
    cursor: pointer;
    border-radius: 20px;
    box-sizing: border-box;
    background: #ffcf2f;
    right: 15px;
    top: 16px;
    width: 120px;
    padding-left: 18px;
    position: absolute;
    color: #000;
    display: none;
}

.search_mask {
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 70;
    position: fixed;
    top: 0;
    left: 0;
    display: none;
}

.search_maggin {
    height: 20px;
}

.close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    cursor: pointer;
    z-index: 100;
}

.height-search-submit {
    position: fixed;
    left: 20%;
    bottom: 0;
    width: 80%;
    z-index: 101;
    border-top: 1px solid #cdbc83;
    background: #fff;
    display: none;
}

.height-search-submit .s_article {
    width: 90%;
    height: 40px;
    line-height: 40px;
    font-size: 18px;
    cursor: pointer;
    margin: 0 auto;
    margin-bottom: 10px;
    margin-top: 10px;
    margin-left: auto;
}

.moshi {
    margin-left: 130px;
}

/* 移動端適配 */
@media (max-width: 768px) {
    .serach-down {
        width: 100%;
    }
    
    .layui-form {
        width: 88%;
        padding-bottom: 40px;
    }
    
    .ssjg_div_t1,
    .ssjg_div_t2 {
        height: 50px;
        font-size: 14px;
        line-height: 50px;
        box-sizing: border-box;
        padding-left: 10px;
    }
    
    .s_article {
        display: block;
        width: 90%;
        height: 40px;
        line-height: 40px;
        font-size: 18px;
        cursor: pointer;
        margin: 0 auto;
        margin-top: 20px;
        margin-left: auto;
    }
    
    .serach-down.search_tj_r {
        position: fixed;
        z-index: 100;
        left: 100%;
        top: 0;
        width: 80%;
        height: 100vh;
        overflow-y: auto;
        box-shadow: 0px 0px 20px 10px #000;
    }
    
    .search-result {
        width: 100%;
        height: 50px;
        background: #1a1a1a;
    }
    
    .search-result.slide_top {
        position: fixed;
        left: 20%;
        top: 0;
        width: 80%;
        box-shadow: 0px 4px 4px #ccc;
        z-index: 101;
    }
    
    .search-result-title {
        width: 70%;
        height: 30vw;
        border-radius: 18px;
        line-height: 30vw;
        font-size: 16px;
    }
}

/* ============================================
   高階搜尋表單樣式 - hl-search.html (參照 moban_2)
   ============================================ */
.h_search_div .form-row {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 20px;
    gap: 20px;
}

.h_search_div .form-group {
    flex: 1;
    font-size: 14px;
}

.h_search_div .form-row label {
    display: block;
    font-weight: 700;
    text-align: left;
    color: #2c3e50;
    margin-bottom: 8px;
}

.h_search_div .form-control {
    width: 100%;
    padding: 9px 15px;
    padding-right: 35px;
    border: 1px solid #ddd;
    border-radius: 30px;
    transition: all 0.3s ease;
    background: white;
    font-size: 13px;
    box-sizing: border-box;
}

.h_search_div .form-control:focus {
    outline: none;
    border-color: #ffc54d;
    box-shadow: 0 0 0 3px rgba(255, 197, 77, 0.2);
}

.h_search_div .select-wrapper {
    position: relative;
}

.h_search_div .select-wrapper:after {
    content: "";
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%) rotate(0deg);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #7f8c8d;
    pointer-events: none;
    transition: transform 0.3s ease;
}

.h_search_div .select-wrapper.active:after {
    transform: translateY(-50%) rotate(180deg);
}

.h_search_div .custom-select {
    width: 100%;
    padding: 9px 15px;
    border: 1px solid #ddd;
    border-radius: 30px;
    font-size: 13px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
}

.h_search_div .custom-select.active {
    border-color: #ffc54d;
    box-shadow: 0 0 0 3px rgba(255, 197, 77, 0.2);
}

.h_search_div .custom-select:focus {
    outline: none;
    border-color: #ffc54d;
    box-shadow: 0 0 0 3px rgba(255, 197, 77, 0.2);
}

.h_search_div .custom-select-placeholder {
    color: #7f8c8d;
}

.h_search_div .select-wrapper.active .custom-select {
    border-color: #ffc54d;
    box-shadow: 0 0 0 3px rgba(255, 197, 77, 0.2);
}

.h_search_div .area-selector.active .form-control {
    border-color: #ffc54d;
    box-shadow: 0 0 0 3px rgba(255, 197, 77, 0.2);
}

.h_search_div .select-wrapper.active:after,
.h_search_div .area-selector.active:after {
    border-top-color: #ffc54d;
}

.h_search_div .select-option.selected {
    background: #ffc54d;
    color: #fff;
}

.h_search_div .select-option:hover {
    background: #fff9e6;
    color: #000;
}

.h_search_div .checkbox-container {
    display: block;
    margin-top: 15px;
}

.h_search_div .checkbox-section {
    margin-bottom: 20px;
    position: relative;
    font-size: 14px;
    padding: 12px 0;
}

.h_search_div .checkbox-section-title {
    font-weight: 700;
    margin-bottom: 10px;
    color: #2c3e50;
    display: flex;
    align-items: center;
}

.h_search_div .checkbox-section-title i {
    margin-right: 8px;
    color: #ffc54d;
}

.h_search_div .custom-checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.h_search_div .custom-checkbox-item {
    display: flex;
    align-items: center;
    background: #f8f9fa;
    padding: 6px 15px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid #ddd;
}

.h_search_div .custom-checkbox-item:hover {
    background: #fdf1df;
    border-color: #f9c57a;
}

.h_search_div .custom-checkbox-item.checked {
    background: #f90;
    color: white;
    border-color: #f9c57a;
}

.h_search_div .custom-checkbox-item input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.h_search_div .btn-group {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.h_search_div .btn {
    padding: 10px 20px;
    border: none;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.h_search_div .btn-primary {
    background: linear-gradient(135deg, #ffe14d, #f9a900);
    color: white;
    text-align: center;
}

.h_search_div .btn-primary:hover {
    background: #f9a900;
    transform: translateY(-2px);
}

.h_search_div .btn-outline {
    background: transparent;
    border: 1px solid #f9a900;
    color: #f9a900;
    text-align: center;
}

.h_search_div .btn-outline:hover {
    background: #f9a900;
    color: #fff;
}

.h_search_div .area-selector {
    position: relative;
}

.h_search_div .area-selector:hover {
    border-color: #ffc54d;
}

.h_search_div .area-selector:after {
    content: "";
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%) rotate(0deg);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #7f8c8d;
    pointer-events: none;
    transition: transform 0.3s ease;
    z-index: 5;
}

.h_search_div .area-selector.active:after {
    transform: translateY(-50%) rotate(180deg);
}

.h_search_div .area-selector input {
    cursor: pointer;
}

.h_search_div .area-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    border: 1px solid #ddd;
    border-radius: 6px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 100;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.3s ease;
    transform: translateY(-10px);
}

.h_search_div .area-dropdown.show {
    max-height: 300px;
    opacity: 1;
    transform: translateY(0);
    overflow: hidden;
}

.h_search_div .area-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    gap: 8px;
    padding: 10px 15px;
    border-bottom: 1px solid #eee;
    background: #f8f9fa;
    font-weight: 500;
}

.h_search_div .area-header button,
.h_search_div .area-header .btn-link {
    white-space: nowrap;
    flex-shrink: 0;
    margin-left: 0;
}

.h_search_div .area-options {
    padding: 10px;
    max-height: 200px;
    overflow-y: auto;
    font-size: 13px;
}

.h_search_div .area-option {
    padding: 8px 15px;
    display: flex;
    align-items: center;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.h_search_div .area-option:hover {
    background: #fff9e6;
}

.h_search_div .area-option label {
    font-weight: normal;
}

.h_search_div .area-option input {
    margin-right: 10px;
    cursor: pointer;
}

.h_search_div .btn-link {
    background: none;
    border: none;
    color: #ffc54d;
    cursor: pointer;
    font-size: 14px;
    transition: color 0.2s ease;
    white-space: nowrap;
}

.h_search_div .btn-link:hover {
    color: #f9a900;
}

.h_search_div .select-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    border: 1px solid #ddd;
    border-radius: 6px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 100;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.3s ease;
    transform: translateY(-10px);
}

.h_search_div .select-dropdown.show {
    max-height: 200px;
    opacity: 1;
    transform: translateY(0);
    overflow-y: auto;
}

.h_search_div .select-option {
    padding: 10px 15px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 13px;
    color: #999;
    text-align: left;
}

.h_search_div .select-option:hover {
    background: #fff9e6;
    color: #000;
}



.h_search_div .area-options .custom-checkbox-item {
    position: relative;
    padding: 8px 12px 8px 32px;
    margin: 2px 0;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 0;
    background: none;
    color: #999;
}

.h_search_div .area-options .custom-checkbox-item:hover {
    background: #fff9e6;
    color: #000;
}

.h_search_div .area-options .custom-checkbox-item.checked {
    background: none;
    border: 0;
    color: #000;
}

.h_search_div .area-options .hidden-input {
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    opacity: 0;
    z-index: 1;
    cursor: pointer;
}

.h_search_div .area-options .custom-checkbox-label {
    cursor: pointer;
    display: block;
}

.h_search_div .area-options .custom-checkbox-item:before {
    content: '';
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 14px;
    height: 14px;
    border: 1px solid #d9d9d9;
    border-radius: 3px;
    background-color: white;
}

.h_search_div .area-options .custom-checkbox-item.checked:before {
    background-color: #ffc54d;
    border-color: #f9a900;
    box-shadow: 0 0 0 2px rgba(255, 197, 77, 0.2);
}

.h_search_div .area-options .custom-checkbox-item.checked:after {
    content: '';
    position: absolute;
    left: 13.5px;
    top: 46%;
    transform: translateY(-50%) rotate(45deg);
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
}

.h_search_div .select-all-btn {
    position: absolute;
    right: 40px;
    top: 0;
    background: none;
    border: none;
    color: #f90;
    cursor: pointer;
    font-size: 14px;
    padding: 0 5px;
}

.h_search_div .select-all-btn:hover {
    text-decoration: underline;
}

.h_search_div .invert-selection-btn {
    position: absolute;
    right: 0;
    top: 0;
    background: none;
    border: none;
    color: #f90;
    cursor: pointer;
    font-size: 14px;
    padding: 0 5px;
}

.h_search_div .invert-selection-btn:hover {
    text-decoration: underline;
}

.h_search_div .select-dropdown::-webkit-scrollbar,
.h_search_div .area-options::-webkit-scrollbar {
    width: 8px;
}

.h_search_div .select-dropdown::-webkit-scrollbar-track,
.h_search_div .area-options::-webkit-scrollbar-track {
    background: #f5f5f5;
    border-radius: 4px;
}

.h_search_div .select-dropdown::-webkit-scrollbar-thumb,
.h_search_div .area-options::-webkit-scrollbar-thumb {
    background: #d7d5d5;
    border-radius: 4px;
}

.h_search_div .select-dropdown::-webkit-scrollbar-thumb:hover,
.h_search_div .area-options::-webkit-scrollbar-thumb:hover {
    background: #f9a900;
}

/* seller-tools 樣式 */
.seller-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 12px 4px;
}

.seller-jifang-link,
.seller-daidiao-btn {
    font-size: 14px;
    line-height: 1.2;
    border-radius: 12px;
    padding: 8px 14px;
    cursor: pointer;
    border: none;
    font-weight: 600;
}

/* 詳情頁機房 / 代調按鈕：覆蓋共用 50px 圓角 */
.details-container .seller-jifang-link,
.details-container .seller-jifang-above-region .seller-jifang-link,
.product-specs .seller-jifang-above-region .seller-jifang-link,
.details-container .seller-daidiao-btn,
.details-container .seller-detail-cta > .seller-daidiao-btn {
    border-radius: 12px;
}

.seller-jifang-link {
    background: #f5f5f5;
    color: #333;
    border: 1px solid #e3e3e3;
}

.seller-jifang-link:hover {
    background: #ededed;
}

.seller-daidiao-btn {
    background: #ffc24d;
    color: #fff;
    box-shadow: 0 6px 12px rgba(255, 194, 77, 0.2);
}

/* 詳情頁代調：覆蓋共用橘色背景 */
.details-container .seller-daidiao-btn,
.details-container .seller-detail-cta > .seller-daidiao-btn {
    background: #ffc24d;
    box-shadow: 0 6px 12px rgba(255, 194, 77, 0.2);
}

.jifang-modal-mask {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 16px;
}

.jifang-modal-mask.is-open {
    display: flex;
}

.jifang-detail-modal {
    background: #fff;
    width: min(760px, 100%);
    max-height: 90vh;
    overflow: hidden;
    border-radius: 16px;
    padding: 20px;
    position: relative;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
}

.jifang-modal-close {
    position: absolute;
    right: 16px;
    top: 12px;
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    font-size: 24px;
    cursor: pointer;
    color: #666;
}

.jifang-modal-header {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.jifang-modal-logo img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid #eee;
}

.jifang-modal-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #222;
}

.jifang-modal-list {
    list-style: none;
    padding: 0;
    margin: 0;
    color: #444;
    text-align: left;
}

.jifang-modal-list li {
    margin-bottom: 6px;
    font-size: 14px;
}

.jifang-modal-list span {
    color: #ff6b6b;
    font-weight: 600;
}

.jifang-modal-rules {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px dashed #e6e6e6;
    font-size: 14px;
    color: #444;
}

.jifang-modal-rules span {
    color: #ff6b6b;
    font-weight: 600;
}

/* ========== 公用彈框樣式 ========== */
.global-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.global-overlay.active {
    visibility: visible;
    opacity: 1;
}

#login-prompt-modal-overlay .global-modal {
    max-width: 420px;
}

.global-modal {
    width: 90%;
    max-width: 618px;
    padding: 25px;
    background-color: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
    transform: translateY(30px) scale(0.95);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.18, 0.89, 0.32, 1.28);
}

.global-overlay.active .global-modal {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    border-bottom: 1px solid #eee;
    margin-bottom: 25px;
    min-height: 48px;
}

.modal-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: #333;
}

.close-modal {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #999;
    transition: color 0.2s;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    position: absolute;
    top: -10px;
    right: 0;
}

.close-modal:hover {
    color: #ff4757;
    background-color: #f1f1f1;
}

.modal-body {
    margin-bottom: 25px;
    color: #666;
    line-height: 1.6;
    font-size: 16px;
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.modal-btn {
    padding: 12px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s;
    font-size: 14px;
}

.modal-btn.gray {
    background-color: #f1f1f1;
    color: #666;
}

.modal-btn.gray:hover {
    border-color: #333;
    box-shadow: 0 0 0 1px rgba(100, 100, 100, 0.3);
    background-color: #fff;
}

.modal-btn.blue {
    background-color: #3498db;
    color: white;
}

.modal-btn.blue:hover {
    background-color: #2980b9;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(52, 152, 219, 0.3);
}

@media (max-width: 768px) {
    .global-modal {
        width: 95%;
        padding: 20px;
    }
    
    .modal-header h3 {
        font-size: 18px;
    }
    
    .modal-body {
        font-size: 14px;
    }
    
    .modal-btn {
        padding: 10px 16px;
        font-size: 13px;
    }
}
/* ========== 公用彈框樣式結束 ========== */

.jifang-modal-body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
}

.jifang-modal-header,
.jifang-modal-rules {
    flex-shrink: 0;
}

.jifang-modal-caipins {
    margin-top: 16px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 12px;
    flex: 1 1 auto;
    height: 158px;
    max-height: min(48vh, 420px);
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    padding-right: 4px;
}

.jifang-caipin-card {
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    background: #fafafa;
    padding: 6px;
    text-align: center;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.jifang-caipin-card img {
    width: 100%;
    height: 110px;
    object-fit: cover;
    border-radius: 8px;
}

.jifang-caipin-card span {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    color: #333;
}

.jifang-caipin-card:hover {
    transform: translateY(-2px);
}

.jifang-modal-empty {
    font-size: 14px;
    color: #888;
    padding: 12px 4px;
}

/* 全屏輪播樣式 */
.jifang-gallery-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
}

.jifang-gallery-overlay.is-open {
    display: flex;
}

.jifang-gallery-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.jifang-gallery-track {
    display: flex;
    transition: transform 0.4s ease;
    height: 100%;
    width: 100%;
}

.jifang-gallery-slide {
    min-width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    box-sizing: border-box;
}

.jifang-gallery-slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

.jifang-gallery-close {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    z-index: 1001;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 0;
    outline: none;
    padding: 10px;
    transition: all 0.3s ease;
}

.jifang-gallery-close:hover {
    background: rgba(0, 0, 0, 0.5);
    transform: scale(1.1);
}

.jifang-gallery-prev,
.jifang-gallery-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0.12) 100%);
    backdrop-filter: blur(5px) saturate(1.12) brightness(1);
    -webkit-backdrop-filter: blur(5px) saturate(1.12) brightness(1);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    fill: #fff;
    color: #fff;
    font-size: 24px;
    -webkit-tap-highlight-color: transparent;
    outline: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.jifang-gallery-prev::before,
.jifang-gallery-prev::after,
.jifang-gallery-next::before,
.jifang-gallery-next::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: inherit;
}

.jifang-gallery-prev::before,
.jifang-gallery-next::before {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), inset 0 -1px 0 rgba(0, 0, 0, 0.06);
    mix-blend-mode: overlay;
    opacity: 0.9;
}

.jifang-gallery-prev::after,
.jifang-gallery-next::after {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0));
    opacity: 0.7;
}

.jifang-gallery-prev {
    left: 15px;
}

.jifang-gallery-next {
    right: 15px;
}

.jifang-gallery-prev:hover,
.jifang-gallery-next:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.jifang-gallery-prev i,
.jifang-gallery-next i {
    position: relative;
    z-index: 1;
    display: block;
}

.jifang-gallery-close svg {
    width: 100%;
    height: 100%;
    display: block;
}

.jifang-gallery-prev.disabled,
.jifang-gallery-next.disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.jifang-gallery-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 16px;
    background: rgba(0, 0, 0, 0.5);
    padding: 8px 16px;
    border-radius: 20px;
    z-index: 10001;
}

/* 移動端適配 */
@media (max-width: 768px) {
    .sub-section {
        padding: 13px;
        padding-top: 0;
        min-height: calc(100vh - 234px);
        /* padding-bottom: 98px; */
    }

    .sub-header {
        padding-top: 2rem;
    }

    .sub-header h1 {
        font-size: 24px;
        /* font-weight: normal; */
    }

    .sub-header .subtitle {
        padding: 0;
        margin: 0;
        padding-left: 5%;
        margin-bottom: 20px;
        font-size: 18px;
    }

    .tab {
        font-size: 16px;
    }

    .points-table {
        margin-bottom: 20px;
    }

    .points-table th {
        padding: 0;
        white-space: nowrap;
        font-size: 15px;
    }

    .points-table th.Order {
        width: 15%;
    }

    .points-table th.Goods {
        width: 50%;
    }

    .points-table th.General {
        display: none;
    }

    .points-table td {
        padding: 8px;
    }

    td[data-label="綜合"] {
        display: none;
    }

    .top-rank {
        width: 30px;
        height: 30px;
        font-size: 16px;
    }

    .points-table td[data-label="菜品"] {
        overflow: visible;
    }

    .points-table .player {
        justify-content: left;
        gap: 4px;
        width: 100%;
    }

    .avatar {
        width: 45px;
        min-width: 45px;
        height: 45px;
        border: 2px solid rgba(85, 200, 250, 0.1);
        box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
        margin-right: 0;
    }

    .name {
        margin-bottom: 0;
        font-size: 13px;
        text-align: left;
    }

    .level {
        font-size: 12px;
    }

    .points-table .stat {
        font-family: "avenir";
        font-size: 20px;
    }

    .hot-text {
        font-style: normal;
    }

    .progress-value {
        font-style: normal;
        top: -14px;
    }

    .points-table .bottom-icons {
        flex-direction: column;
        gap: 4px;
    }

    .bottom-icons i {
        width: 100%;
        text-align: left;
        padding-right: 6px;
    }

    .popularity {
        margin-top: 10px;
        font-weight: normal;
    }

    .h_search_div .form-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .h_search_div .form-group {
        min-width: 100%;
    }
    
    .h_search_div .btn-group {
        flex-direction: column;
    }
    
    .h_search_div .custom-checkbox-group {
        gap: 8px;
    }
    
    .h_search_div .custom-checkbox-item {
        padding: 6px 12px;
        font-size: 14px;
    }
    
    .h_search_div .area-dropdown.show {
        max-height: 250px;
    }
    
    .h_search_div .invert-selection-btn {
        right: 0;
    }

    .jifang-modal-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .jifang-modal-logo img {
        width: 96px;
        height: 96px;
    }

    .jifang-gallery-prev,
    .jifang-gallery-next {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }

    .jifang-gallery-prev {
        left: 10px;
    }

    .jifang-gallery-next {
        right: 10px;
    }

    .jifang-gallery-close {
        width: 45px;
        height: 45px;
        top: 10px;
        right: 10px;
    }

    /* 移動端表情選擇器彈框樣式 - 只修復水平溢位 */
    .emoji-picker-popup {
        width: calc(100vw - 20px);
        max-width: 360px;
        left: 50%;
        right: auto;
    }

    .emoji-picker-popup.show {
        transform: translateX(-50%) translateY(0);
    }

    .emoji-picker-body {
        width: 100%;
        box-sizing: border-box;
    }

    /* 確認提示框 */
    .confirm-toast {
        min-width: 280px;
        top: 20px;
    }

    .confirm-toast-content {
        padding: 14px 16px;
    }

    .confirm-toast-message {
        font-size: 13px;
    }

    .confirm-toast-actions {
        padding: 0 16px 14px 16px;
    }

    .confirm-toast-btn {
        padding: 10px 18px;
        border-radius: 20px;
        font-size: 14px;
    }

    /* 代調確認彈框移動端保持垂直居中與半寬按鈕 */
    .confirm-toast.confirm-toast--daidiao {
        top: 50%;
        min-width: min(320px, 92vw);
        max-width: min(420px, 92vw);
    }

    .confirm-toast.confirm-toast--daidiao .confirm-toast-content {
        flex-direction: column;
        align-items: stretch;
        padding: 20px 14px 14px;
    }

    .confirm-toast.confirm-toast--daidiao .confirm-toast-message {
        font-size: 14px;
        padding: 8px 28px 0;
    }

    .confirm-toast.confirm-toast--daidiao .confirm-toast-actions {
        padding: 0;
        gap: 10px;
    }

    .confirm-toast.confirm-toast--daidiao .confirm-toast-btn {
        flex: 1 1 50%;
        width: 50%;
        border-radius: 20px;
    }

}

/* ============================================
   詳情 CTA：模板 4
   ============================================ */
.detail-identity-block {
    display: grid;
    grid-template-columns: minmax(168px, max-content) minmax(0, 1fr);
    gap: 12px;
    align-items: end;
    margin: 12px 4px 16px;
}

.detail-identity-block.is-seller-session {
    grid-template-columns: minmax(168px, max-content);
}

.detail-code-card {


    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: max-content;
    max-width: 100%;
    min-width: max-content;
    box-sizing: border-box;
    padding: 12px;
    border-radius: 12px;
    background: transparent;
    border: 1px solid rgba(255, 170, 0, 0.32);
    box-shadow: 0 14px 28px rgba(255, 153, 0, 0.3);
    white-space: nowrap;

    flex-shrink: 0;
    height: 45px;
    min-height: 45px;
}

.detail-code-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #f27190;
}

.detail-code-value {
    font-family: avenir;
    font-size: 1.2rem;
    line-height: 1.15;
    font-weight: 700;
    color: #ffb733;
    white-space: nowrap;
    flex-shrink: 0;
}

.detail-code-note {
    font-size: 12px;
    line-height: 1.3;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: #999;
    white-space: nowrap;
    flex-shrink: 0;
}

.detail-booking-card {
    display: block;
    width: auto;
    min-width: 0;
    align-self: stretch;
}

.detail-booking-eyebrow {
    display: none;
}

.detail-booking-btn {
    display: flex;
    width: 100%;
    min-height: 45px;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 0 18px;
    box-sizing: border-box;
    text-decoration: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #ff9900 0%, #ffad1f 55%, #ffbf47 100%);
    border: 1px solid rgba(255, 153, 0, 0.42);
    color: #fff;
    box-shadow: 0 14px 28px rgba(255, 153, 0, 0.3);
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.detail-booking-btn:hover {
    transform: translateY(-1px);
    border-color: rgba(255, 153, 0, 0.62);
    box-shadow: 0 20px 36px rgba(255, 153, 0, 0.36);
}

.detail-booking-btn.is-disabled {
    pointer-events: none;
    opacity: 0.58;
    box-shadow: none;
}

.detail-booking-btn-text {
    font-size: 1.18rem;
    font-weight: 800;
    line-height: 1.1;
    color: #fff;
    white-space: nowrap;
}

.detail-booking-btn-note {
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    color: #5f3a00;
    white-space: nowrap;
    text-align: left;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .detail-identity-block {
        grid-template-columns: minmax(168px, max-content) minmax(0, 1fr);
        gap: 10px;
        margin: 10px 0 14px;
    }



}

/* qianse code case preserve */
.code,
.product-title .code,
.details-containe .information .code,
.yhzq-list .code,
.phb-list .code {
    text-transform: none !important;
    font-variant-caps: normal !important;
}

/* 首頁優惠專區輪播（與 moban-1：切屏、gap、末屏占位、指示器） */
.div_row.promotion-home-row .slider-container#promotion-slider,
#promotion-slider.slider-container {
    max-width: 100%;
    width: 100%;
    margin-top: 8px;
    overflow: hidden;
    position: relative;
    padding-bottom: 12px;
    /* background-color: #fff; */
    box-sizing: border-box;
}

#promotion-slider .slider-wrapper,
#recommendation-slider .slider-wrapper {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 10px;
    margin-bottom: 10px;
    transition: transform 0.5s ease;
    will-change: transform;
}

#promotion-slider .slide,
#recommendation-slider .slide {
    flex: 0 0 auto;
    display: flex;
    align-items: stretch;
    box-sizing: border-box;
    height: auto;
    margin: 0;
    max-width: none;
    padding: 0;
}

#promotion-slider .slide.promotion-slide-placeholder,
#recommendation-slider .slide.promotion-slide-placeholder {
    flex: 0 0 auto;
    align-self: stretch;
    min-height: 1px;
    border-radius: 18px;
    background-color: #fff4d6;
    border: 1px solid rgba(59, 130, 246, 0.1);
    box-shadow: none;
    pointer-events: none;
}

/* 優惠專區輪播內卡片：與首頁定點相同 de_div 結構，僅覆寫網格／輪播下的寬度與排版 */
#promotion-slider .slide .de_div.promotion-card.yhzq-list,
#recommendation-slider .slide .de_div.promotion-card.yhzq-list {
    flex: 1 1 auto;
    width: 100% !important;
    max-width: 100%;
    min-width: 0;
    flex-shrink: 0;
    float: none !important;
    margin-left: 0 !important;
    margin-bottom: 0 !important;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
    margin-top: 0;
    box-sizing: border-box;
    overflow: hidden;
}

#promotion-slider .slide .de_div.promotion-card.yhzq-list .ic_img,
#recommendation-slider .slide .de_div.promotion-card.yhzq-list .ic_img {
    flex: 0 0 auto;
}

#promotion-slider .slide .de_div.promotion-card.yhzq-list .ic_img .ppiicc,
#promotion-slider .slide .de_div.promotion-card.yhzq-list .ic_img img,
#recommendation-slider .slide .de_div.promotion-card.yhzq-list .ic_img .ppiicc,
#recommendation-slider .slide .de_div.promotion-card.yhzq-list .ic_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

#promotion-slider .slide .de_div.promotion-card.yhzq-list .detail_div,
#recommendation-slider .slide .de_div.promotion-card.yhzq-list .detail_div {
    flex: 1 1 auto;
    min-height: 0;
    text-align: left;
}

/* 優惠專區輪播底欄：加 .toolbar--pickup-sync，數值與首頁定點 .de_div .toolbar 一致（固定圖標 px，避免輪播窄卡與網格列寬卡視覺不一致） */
#promotion-slider .slide .de_div.promotion-card.yhzq-list .toolbar.toolbar--pickup-sync,
#recommendation-slider .slide .de_div.promotion-card.yhzq-list .toolbar.toolbar--pickup-sync {
    width: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    position: absolute;
    bottom: 0;
    left: 0;
    height: 35px;
    line-height: 32px;
    font-size: 16px;
    box-sizing: border-box;
    z-index: 30;
    padding-left: 15px;
    padding-top: 5px;
}

#promotion-slider .slide .de_div.promotion-card.yhzq-list .toolbar.toolbar--pickup-sync span,
#recommendation-slider .slide .de_div.promotion-card.yhzq-list .toolbar.toolbar--pickup-sync span {
    width: auto;
    min-width: 56px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    float: none;
    line-height: 32px;
    overflow: hidden;
    font-size: 12px;
    flex: 0 0 auto;
    white-space: nowrap;
}

#promotion-slider .slide .de_div.promotion-card.yhzq-list .toolbar.toolbar--pickup-sync,
#recommendation-slider .slide .de_div.promotion-card.yhzq-list .toolbar.toolbar--pickup-sync {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
}

#promotion-slider .slide .de_div.promotion-card.yhzq-list .toolbar.toolbar--pickup-sync span.shoucang,
#recommendation-slider .slide .de_div.promotion-card.yhzq-list .toolbar.toolbar--pickup-sync span.shoucang {
    background: url(../images/sc.png) left center no-repeat;
    background-size: 16px 16px;
    padding-left: 20px;
    box-sizing: border-box;
}

#promotion-slider .slide .de_div.promotion-card.yhzq-list .toolbar.toolbar--pickup-sync span.i_zan,
#recommendation-slider .slide .de_div.promotion-card.yhzq-list .toolbar.toolbar--pickup-sync span.i_zan {
    background: url(../images/izan.png) left center no-repeat;
    background-size: 16px 16px;
    padding-left: 20px;
    box-sizing: border-box;
}

#promotion-slider .slide .de_div.promotion-card.yhzq-list .toolbar.toolbar--pickup-sync span.i_pinglun,
#recommendation-slider .slide .de_div.promotion-card.yhzq-list .toolbar.toolbar--pickup-sync span.i_pinglun {
    background: url(../images/pinglun.png) left center no-repeat;
    background-size: 16px 16px;
    padding-left: 20px;
    box-sizing: border-box;
}

#promotion-slider .promotion-slider__indicators,
#recommendation-slider .promotion-slider__indicators {
    margin-top: 6px;
    padding-bottom: 4px;
}

/* 優惠/推薦底部 toolbar 圖標間距與定點 .de_div .toolbar 完全一致（強制對齊） */
.de_div .toolbar span.shoucang,
#promotion-slider .slide .de_div.promotion-card.yhzq-list .toolbar.toolbar--pickup-sync span.shoucang,
#recommendation-slider .slide .de_div.promotion-card.yhzq-list .toolbar.toolbar--pickup-sync span.shoucang {
    background: url(../images/sc.png) left center no-repeat;
    background-size: 16px 16px !important;
    padding-left: 20px !important;
    box-sizing: border-box;
}

.de_div .toolbar span.i_zan,
#promotion-slider .slide .de_div.promotion-card.yhzq-list .toolbar.toolbar--pickup-sync span.i_zan,
#recommendation-slider .slide .de_div.promotion-card.yhzq-list .toolbar.toolbar--pickup-sync span.i_zan {
    background: url(../images/izan.png) left center no-repeat;
    background-size: 16px 16px !important;
    padding-left: 20px !important;
    box-sizing: border-box;
}

.de_div .toolbar span.i_pinglun,
#promotion-slider .slide .de_div.promotion-card.yhzq-list .toolbar.toolbar--pickup-sync span.i_pinglun,
#recommendation-slider .slide .de_div.promotion-card.yhzq-list .toolbar.toolbar--pickup-sync span.i_pinglun {
    background: url(../images/pinglun.png) left center no-repeat;
    background-size: 16px 16px !important;
    padding-left: 20px !important;
    box-sizing: border-box;
}

@media (max-width: 640px) {
    #promotion-slider .slide .de_div.promotion-card.yhzq-list .detail_div dt {
        font-size: 0.75rem;
    }
}

/* promotion grid */
.promotion-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
}

.promotion-grid--standalone {
    margin-top: 18px;
}

.promotion-grid .promotion-card {
    flex: none !important;
    width: 100% !important;
    inline-size: 100% !important;
    max-width: none !important;
    min-width: 100% !important;
    height: auto;
    margin: 0;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    align-self: stretch;
    justify-self: stretch !important;
    box-sizing: border-box;
    border-radius: 24px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}

.promotion-grid .promotion-card .img-containe,
.promotion-grid .promotion-card__media {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5;
    overflow: hidden;
}

.promotion-grid .promotion-card .img-containe img,
.promotion-grid .promotion-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.promotion-grid .promotion-card .product-badge {
    top: 18px;
    right: 18px;
    z-index: 3;
}

.promotion-grid .vip-badge {
    position: absolute;
    top: 18px;
    left: 18px;
    z-index: 3;
    padding: 10px 18px;
    border-radius: 10px;
    background: linear-gradient(135deg, #f7d774, #f3bf42);
    color: #3a2a00;
    font-size: 28px;
    font-weight: 800;
    line-height: 1;
    box-shadow: none;
}

.promotion-grid .promotion-card .countdown-timer-overlay {
    left: 16px;
    right: 16px;
    bottom: 18px;
    width: auto;
    transform: none;
    z-index: 3;
}

.promotion-grid .promotion-card__details,
.promotion-grid .promotion-card .details-containe {
    width: 100% !important;
    float: none;
    padding: 22px 20px 18px;
    background: #fff;
    display: flex;
    flex-direction: column;
    gap: 14px;
    flex: 1;
}

.promotion-grid .promotion-card .details-containe ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}

.promotion-grid .promotion-card .details-containe .information {
    height: auto;
    line-height: 1.45;
    margin: 0;
    font-size: 15px;
    color: #64748b;
}

.promotion-grid .promotion-card .details-containe .information span {
    color: #0f172a;
    font-weight: 600;
}

.promotion-grid .promotion-card .details-containe .information.first .nickname {
    font-size: 28px;
    font-weight: 800;
    line-height: 1.1;
}

.promotion-grid .promotion-card .details-containe .information.yj span {
    color: #ef4444;
    text-decoration: line-through;
    font-size: 24px;
    font-weight: 800;
}

.promotion-grid .promotion-card .details-containe .information.xj {
    color: #f97316;
    font-weight: 700;
}

.promotion-grid .promotion-card .details-containe .information.xj span {
    color: #16a34a;
    font-size: 24px;
    font-weight: 800;
}

.promotion-grid .promotion-card__stats {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid #e2e8f0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.promotion-grid .promotion-card__stats span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #334155;
    font-size: 14px;
    font-weight: 700;
}

.promotion-grid .promotion-card__stats i {
    font-size: 16px;
}

@media (max-width: 1024px) {
    .promotion-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }

    .promotion-grid .promotion-card .details-containe .information.first .nickname {
        font-size: 24px;
    }
}

@media (max-width: 640px) {
    .promotion-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .promotion-grid .promotion-card {
        border-radius: 20px;
    }

    .promotion-grid .vip-badge {
        top: 14px;
        left: 14px;
        padding: 8px 14px;
        font-size: 20px;
        border-radius: 10px;
        box-shadow: none;
    }

    .promotion-grid .promotion-card .product-badge {
        top: 14px;
        right: 14px;
    }

    .promotion-grid .promotion-card .countdown-timer-overlay {
        left: 12px;
        right: 12px;
        bottom: 14px;
    }

    .promotion-grid .promotion-card__details,
    .promotion-grid .promotion-card .details-containe {
        padding: 18px 16px 16px;
        gap: 12px;
    }

    .promotion-grid .promotion-card .details-containe .information {
        font-size: 14px;
    }

    .promotion-grid .promotion-card .details-containe .information.first .nickname {
        font-size: 22px;
    }

    .promotion-grid .promotion-card .details-containe .information.xj span {
        font-size: 20px;
    }

    .promotion-grid .promotion-card .details-containe .information.yj span {
        font-size: 20px;
    }

    .promotion-grid .promotion-card__stats span {
        font-size: 13px;
        gap: 6px;
    }
}

/* 屏蔽前台轮播 caption */
.caption {
    display: none !important;
}

/* 菜品详情页：视频缩略图播放标识 */
.thumbnails-container .thumbnail.is-video .video-play-icon,
.thumbnails-container .thumbnail .video-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    pointer-events: none;
}

.details-slide .video-play-overlay,
.main-image .video-play-overlay,
.video-play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    pointer-events: none;
}

.details-slide .video-play-overlay i,
.main-image .video-play-overlay i,
.video-play-overlay i {
    color: #fff;
    font-size: 36px;
    margin-left: 4px;
}

.details-slide .video-poster-wrapper,
.main-image .video-poster-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

/* ===== 18禁彈窗最終鎖定（對齊 moban-2，防止後續全域樣式覆蓋） ===== */
#agreementBox.agreement-box {
    background: #fff;
    color: #333;
}
#agreementBox .agreement-title {
    color: #e74c3c;
    font-size: 1.8rem;
}
#agreementBox .agreement-content {
    color: #555;
    font-size: 16px;
    line-height: 40px;
    background: #f9f9f9;
    border: 1px solid #eee;
}
#agreementBox .checkbox-container {
    display: flex !important;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    margin-top: 0;
    color: #333;
    font-size: 15px;
}
#agreementBox .checkbox-container input {
    display: inline-block !important;
    margin-right: 10px;
    width: 18px;
    height: 18px;
    visibility: visible !important;
}
#agreementBox .checkbox-container label {
    color: #333;
    font-size: inherit;
    cursor: pointer;
}
#agreementBox .btn-accept {
    background: #2ecc71;
    color: #fff;
}
#agreementBox .btn-reject {
    background: #e74c3c;
    color: #fff;
}
#agreementBox .buttons .btn {
    width: 118px;
    padding: 0;
    font-size: 1rem;
    font-weight: 600;
}
@media (max-width: 768px) {
    #agreementBox .agreement-title {
        font-size: clamp(1.15rem, 4.8vw, 1.55rem);
    }
    #agreementBox .agreement-content {
        line-height: clamp(26px, 5.4vw, 34px);
    }
    #agreementBox .checkbox-container {
        margin-bottom: clamp(10px, 2.6vw, 16px);
        font-size: clamp(13px, 3.4vw, 15px);
    }
    #agreementBox .buttons .btn {
        width: clamp(84px, 24vw, 116px);
        font-size: clamp(0.76rem, 2.7vw, 0.86rem);
    }
}
@media (max-width: 540px) {
    #agreementBox .agreement-content {
        line-height: 38px;
        font-size: 14px;
    }
    #agreementBox .buttons .btn {
        width: clamp(78px, 26vw, 102px);
        font-size: clamp(0.80rem, 2.5vw, 0.85rem);
    }
}
@media (max-width: 375px) {
    #agreementBox .agreement-content {
        line-height: 32px;
        font-size: 14px;
    }
    #agreementBox .buttons .btn {
        width: clamp(72px, 24vw, 92px);
        font-size: clamp(0.68rem, 2.3vw, 0.76rem);
    }
}

/* mobile width lock: 無全域 border-box 時防止 95vw+padding 溢出 */
#agreementBox.agreement-box {
    box-sizing: border-box !important;
    max-width: min(500px, 95vw);
}
@media (max-width: 768px) {
    #agreementBox.agreement-box {
        width: min(92vw, 520px) !important;
        max-width: 95vw !important;
        box-sizing: border-box !important;
    }
}
@media (max-width: 540px) {
    #agreementBox.agreement-box {
        width: 94vw !important;
        max-width: 95vw !important;
        padding: clamp(12px, 3vw, 18px) !important;
        box-sizing: border-box !important;
    }
}
@media (max-width: 375px) {
    #agreementBox.agreement-box {
        width: 95vw !important;
        max-width: 95vw !important;
        padding: 12px !important;
        box-sizing: border-box !important;
        left: 0;
        right: 0;
        margin-left: auto;
        margin-right: auto;
    }
}

/* ===== 18禁彈窗層級鎖定 ===== */
#agreementOverlay,
#agreementOverlay.overlay,
#agreementOverlay.overlay.show {
    z-index: 10000000 !important;
}
#agreementBox,
#agreementBox.agreement-box,
#agreementBox.agreement-box.show {
    z-index: 10000001 !important;
}

/* 以圖搜尋預覽關閉按鈕 */
.preview-close {
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    padding: 0;
    color: #999;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    line-height: 0;
    box-sizing: border-box;
    backdrop-filter: blur(10px);
}
.preview-close svg {
    width: 18px;
    height: 18px;
    display: block;
    flex: 0 0 auto;
    margin: auto;
}
.preview-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg) scale(1.1);
}
.preview-search-btn,
.preview-cancel-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
