@charset "utf-8";
/* CSS Document */
body{
	margin: 0;
	padding: 0;
	background: #444 url("../images/07.png");
	font-family: "Microsoft Yahei";
}
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{
	max-width: 780px;
	margin: 0 auto;
	background-color: #f2f2f2;
}
header.detail{
	background-color: transparent;
}
section{
	max-width: 780px;
	margin: 0 auto;
	overflow: hidden;
	padding-bottom: 60px;
	padding: 0;
	position: relative;
}


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; }
select:-webkit-autofill:focus {
  border: 1px solid green;
  -webkit-text-fill-color: green;
  -webkit-box-shadow: 0 0 0px 1000px #000 inset;
  transition: background-color 5000s ease-in-out 0s;
}
a{-webkit-tap-highlight-color:transparent;}
@font-face {
    font-family: "AVANTI";
    src: url("fonts/AVANTI.eot"); /* IE9 */
    src: url("fonts/AVANTI.eot?#iefix") format("embedded-opentype"), /* IE6-IE8 */
    url("fonts/AVANTI.woff") format("woff"), /* chrome、firefox */
    url("fonts/AVANTI.ttf") format("truetype"), /* chrome、firefox、opera、Safari, Android, iOS 4.2+ */
    url("fonts/AVANTI.svg#AVANTI") format("svg"); /* iOS 4.1- */
	font-style: normal;
    font-weight: normal;
}
@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#fzch") format("svg"); /* iOS 4.1- */
	font-style: normal;
    font-weight: normal;
}
@font-face {
    font-family: "FZCUJINLFW";
    src: url("fonts/FZCUJINLFW.eot"); /* IE9 */
    src: url("fonts/FZCUJINLFW.eot?#iefix") format("embedded-opentype"), /* IE6-IE8 */
    
    url("fonts/FZCUJINLFW.woff") format("woff"), /* chrome、firefox */
    url("fonts/FZCUJINLFW.ttf") format("truetype"), /* chrome、firefox、opera、Safari, Android, iOS 4.2+ */
    
    url("fonts/FZCUJINLFW.svg#FZCUJINLFW") format("svg"); /* iOS 4.1- */
    font-style: normal;
    font-weight: normal;
}
.detail_main_div{
	width:780px;
	height: auto;
	overflow: hidden;
	margin: 0 auto;
	background:#f2f2f2 url("../images/index_h_bg.png")top center no-repeat;
	background-size:contain;
}
.index_header{
	width:100%;
	height: 307px;
	position: relative;
}

.index_header .header_bg{
	width:100%;
	height: 298px;
	background:url("../images/index_h_bg.webp") top right no-repeat;
	background-size: 90%;
	position: absolute;
	right:0;
	top: 0;
	z-index: 10;
}
.index_header .header_div_row{
	width:100%;
	height: 307px;
	overflow: hidden;
}
.index_topbar{
	width:70px;
	height: 60px;
	box-sizing: border-box;
    position: absolute;
    top: 10px;
    right: 20px;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    gap: 10px;
}
.index_topbar a{
	text-decoration: none;
}
.index_topbar span{
	width:60px;
	height: 60px;
	display: inline-block;
	cursor: pointer;
}
.index_topbar span.login{
	width: 50px;
	height: 50px;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	margin-left: auto;
    background-color: #fefee2;
    border-radius: 50%;
    margin-top: 10px;

}
.index_topbar span.login img{
	width: 60%;
	height: 60%;
	object-fit: contain;
}
.index_topbar span.qiehuan{
	width: 50px;
	height: 50px;
	background-size: 70%;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}
.index_topbar span.qiehuan img{
	width: 100%;
	height: 100%;
	object-fit: contain;
}
.index_h_d1{
	width:100%;
	height: 217px;
	overflow: hidden;
	box-sizing: border-box;
	padding-left: 18px;
}
.index_h_d1 .header_left{
	width:170px;
	height: 190px;
	overflow: hidden;
	float: left;
	text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}
.index_h_d1 .header_right{
	width: calc(100% - 170px);
	height: 160px;
	float: left;
	box-sizing: border-box;
	padding-left: 15px;
    padding-top: 50px;
}

.header_left .user_logo{
	display: inline-block;
	width:100px;
	height: 100px;
	border-radius: 50%;
	border: 6px solid rgba(169,192,110,.3);
    box-shadow: 0 0 10px 0 rgba(169,192,110,.6);
	overflow: hidden;
	margin-top: 20px;
}
.user_logo img{
	width:100%;
}
.header_right .user_name{
    width:100%;
	font-size: 30px;
	font-weight: 600;
	font-family: "FZCUJINLFW";
	color: #38570a;
}

.index-search {
	width: 100%;
    height: 90px;
	box-sizing: border-box;
	padding-top: 20px;

}
.index-search.detail_search{
    width:100%;
    height: 100%;
	padding-top: 27px;
}
.index-search-left{
	width:70%;
	height: 100%;
	float: left;
	position: relative;
}

.index-search-right{
	width:25%;
	height: 100%;
	float: left;
	box-sizing: border-box;
}
.index-search-right a{
	display: block;
	width:100%;
	height: 60px;
	color: #000;
	font-size: 18px;
	text-decoration: none;
	text-align: center;
	line-height: 60px;
	font-weight: 600;
}
.index-search input{
	width:100%;
	height: 60px;
	border-radius: 10px;
	line-height: 60px;
	padding-left: 30px;
	font-size: 18px;
	color: #3d5e35;
	box-sizing: border-box;
	padding-right: 80px;
	border: 0;
	background-color: rgba(210,230,150,.45);
    border: 2px solid #d3dfae;
}
.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 rgba(123,163,113,.1) inset;
}
.index-search input::-webkit-input-placeholder{
    color:#3d5e35;
	font-size: 16px;
	line-height: 70px;
}
.index-search button {
    border: 0;
    width: 60px;
    height: 60px;
    background: url(../images/search.png) no-repeat;
    background-size: 48%;
    position: absolute;
    background-position: 5px;
    right: 0;
    top: 0;
    cursor: pointer;
    outline: none;
}
.index-search .with-image-search input{
    padding-right: 138px;
}
.index-search .with-image-search .image-search-btn{
    right: 64px;
    top: 0;
    /* background: linear-gradient(135deg, #7ba371, #7ba371); */
    background-image: none;
    background-position: center;
    background-size: auto;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #38570a;
    /* box-shadow: 0 2px 8px rgba(61, 94, 53, 0.25); */
}


.index-search .with-image-search .image-search-btn i{
    font-size: 24px;
}

.tjzq .slider-container {
    width: 95%;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
}

.tjzq .slider-wrapper {
    display: flex;
    width: auto;
    margin: 0;
    padding: 0 0 10px;
    list-style: none;
    transition: transform 0.5s ease;
    opacity: 0;
    visibility: hidden;
    overflow: visible;
}

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

.tjzq .slider-wrapper > .slide {
    flex: 0 0 auto;
    width: auto !important;
    margin: 0 6px 0 0;
    list-style: none;
    margin-bottom: 0 !important;
}

.tjzq .slider-wrapper > .slide:last-child {
    margin-right: 0;
}

.tjzq .indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding-bottom: 8px;
}

.tjzq .indicators span {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.55);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tjzq .indicators span.active {
    background: #3bb9a1;
    color: #fff;
    transform: scale(1.1);
}
.detail_search .index-search-left{
	width:40%;
	height: 100%;
	float: left;
	position: relative;
}

.detail_search .index-search-right{
	width:25%;
	height: 100%;
	float: left;
	box-sizing: border-box;
}
.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;
}
#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%);
	}
}
.area_div_row{
	width:100%;
	height: auto;
	overflow: hidden;
	padding: 20px;
    /*background-image: linear-gradient(#f2f2f2 15%, #fff4e0);*/
	box-sizing: border-box;
	background: #eef2f3;
    padding-bottom: 45px;
}
.area_div_row.phb_bg{
    background-image: linear-gradient(#f2f2f2,#f2f2f2);
	padding: 0;
	padding-bottom: 40px;
}
.area_div{
	width:100%;
	height: auto;
    max-width: 780px;
    padding: 20px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(60px, 1fr));
    gap: 20px;
    box-sizing: border-box;
}
@keyframes breathing-shadow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(151, 200, 3, 0.5), 0 0 10px rgba(151, 200, 3, 0.3);
    }
    50% {
        box-shadow: 0 0 10px rgba(151, 200, 3, 0.8), 0 0 20px rgba(151, 200, 3, 0.5);
    }
}

.area_div a {
    width: 60px;
    height: 60px;
    color: #999;
	background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    text-align: center;
    font-size: 18px;
    font-family: "Microsoft JhengHei";
    font-weight:lighter;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.area_div a:hover{
	background: #97c803;
	color: #fff;
	font-weight: 600;
	animation: breathing-shadow 2s ease-in-out infinite;
}
.area_div a.on{
	background: #97c803;
	color: #fff;
	font-weight: 600;
	animation: breathing-shadow 2s ease-in-out infinite;
}
.list_area_row{
	width:100%;
	height: auto;
	overflow: hidden;
	background: #f2f2f2;
	padding-bottom: 40px;
}
.list_area_row .area_div{
	width:88%;
	height: auto;
	margin: 0 auto;
}
.list_area_row .area_div span {
    display: block;
	float: left;
    width:15%;
    height:60px;
    text-decoration: none;
    color: #999;
    text-align: center;
    font-size: 24px;
    line-height: 60px;
    margin-right:20px;
    font-family: "Microsoft JhengHei";
	font-weight:bolder;
	cursor: pointer;
}
.list_area_row .area_div span.on{
	height: 100%;
	background: url("../images/list_a_bg.png") center no-repeat;
	background-size:100%;
	color: #fff;
	font-weight:bolder;
	line-height: 60px;
	font-size: 24px;
}
.list_area_row .area_div span:hover{
	height: 100%;
	background: url("../images/list_a_bg.png") center no-repeat;
	background-size:100%;
	color: #fff;
	font-weight:bolder;
	line-height: 60px;
	font-size: 28px;
}
.list_area_div{
	width:88%;
	height: auto;
	min-height: 160px;
	overflow: hidden;
	margin: 0 auto;
	padding-bottom: 40px;
	display: none;
}
.list_area_div.on{
	display: block;
}
.list_area_div a {
    display: block;
	float: left;
    width:calc(100%/6 - 8px);
    height:40px;
    text-decoration: none;
    color: #999;
    text-align: center;
    font-size: 20px;
    line-height: 40px;
    margin-right: calc(8px*6 /5);
    font-family: "Microsoft JhengHei";
    font-weight:lighter;
}
.list_area_div a:nth-child(6n) {
    margin-right: 0;
}
.list_area_div a:hover {
	color: #3bb9a1;
	font-weight: bolder;
}
.list_area_div a.on {
	color: #3bb9a1;
	font-weight: bolder;
}
.wave_row{
	width:780px;
	height: 51px;
	margin: 0 auto;
	/* background: url("../images/wave.png")bottom center no-repeat; */
	background-size: contain;
	margin-top: -45px;
}
.wave_row.h_search_wave{
	height: 100px;
	margin-top: 0;
}
.jrtj_title{
	width:100%;
	height: 120px;
	overflow: hidden;
	box-sizing: border-box;
    background: #3bb9a1;
}
.jrtj_title_left{
	width:60%;
	height: 100%;
	font-size: 46px;
	font-weight: 800;
	color: #000;
	line-height: 100px;
	box-sizing: border-box;
	padding-left: 50px;
	float: left;
}
.jrtj_title_left span{
    color: #fff;
	display: inline-block;
	padding-right: 10px;
}
.jrtj_title_right{
	width:40%;
	height: 100%;
	font-size: 24px;
	font-weight: bolder;
	color: #97f2e1;
	box-sizing: border-box;
	padding-right: 30px;
	float: left;
	padding-top: 40px;
	text-align: right;
	font-style: italic;
	font-family: "Microsoft JhengHei";
}
.dingdian_header .jrtj_title_right,
.waiyue_header .jrtj_title_right{
	width:auto;
	height: 100%;
	font-size: 36px;
	font-weight: bolder;
	color: #97f2e1;
	box-sizing: border-box;
	float: left;
	text-align: right;
	font-style: italic;
	font-family: "Microsoft JhengHei";
    line-height: 180px;
    padding-top: 0;
    position: absolute;
    right: 0;
    top: 0;
}
.waiyue_header .jrtj_title_right{
    color: #3bb9a1;
}
.paihangbang{
    position: relative;
}
.paihangbang .jrtj_title_right{
    color: #3bb9a1;
    font-size: 36px;
    padding-top: 0;
    position: absolute;
    right: 0;
    top: 100px;
}
.jrtj_img_div{
	width:100%;
	height: auto;
	min-height: 0;
	position: relative;
	display: flex;
	gap: 12px;
	align-items: stretch;
	overflow: hidden;
	box-sizing: border-box;
	border-radius: 0 10px 10px 0;
}
.jrtj_row{
	width:100%;
	height: auto;
	overflow: hidden;
	box-sizing: border-box;
	background: #3bb9a1;
	/* padding-bottom: 20px; */
}
.jrtj_row ul{
	list-style: none;
	padding: 0;
	width:95%;
	margin: 0 auto;
	height: auto;
	overflow: hidden;
}
.jrtj_row li{
	list-style: none;
	margin: 0;
	padding: 0;
	width:100%;
	height: auto;
	min-height: 185px;
	border-radius: 10px;
    background: rgba(255, 255, 255, 0.5);
	margin-bottom: 24px;
	overflow: hidden;
	position: relative;
    display: flex;
    align-items: stretch;
}
.ppiicc{
	width:100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
}
.d_ppiicc{
	width:100%;
	height: 100%;
	object-fit:cover;
}

.jrtj_img{
	width:195px;
	height: auto;
	min-height: 0;
	flex-shrink: 0;
	overflow: hidden;
	position: relative;
	border-top-left-radius: 10px;
	border-bottom-left-radius: 10px;
	align-self: stretch;
}
.jrtj_img .product-badge{
	position: absolute;
	bottom: 40px;
	left: 10px;
	background: linear-gradient(135deg, #97c803, #82aa05);
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	padding: 6px 12px;
	border-radius: 20px;
	z-index: 10;
	box-shadow: 0 2px 4px rgba(255,255,255,0.5);
	text-shadow: 0 1px 2px rgba(0,0,0,0.2);
	white-space: nowrap;
}

/* VIP 標籤樣式 */
.jrtj_img .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: 10px;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.15;
    color: #fff;
    background: rgba(42, 32, 8, 0.9);
    border: 1px solid rgba(255, 215, 120, 0.45);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    animation: none;
    text-shadow: none;
    box-shadow: none;
    pointer-events: none;
}
.no-image-badge {
    display: none!important;
}

.jrtj_img .jianlue{
	position: absolute;
	width:100%;
	height: 55px;
	margin: auto;
	left: 0;
	bottom: 0;
	background-color: rgba(0,0,0,.3);
	border-radius: 0;
}
.jrtj_img .countdown-timer-overlay,
.dy_list_div li .img_div .countdown-timer-overlay,
#promotion-slider .slide .de_div.promotion-card.yhzq-list .ic_img .countdown-timer-overlay,
.promotion-grid .promotion-card .countdown-timer-overlay {
	position: absolute;
	left: 0 !important;
	right: 0 !important;
	bottom: 0;
	z-index: 10;
	background: rgba(0, 0, 0, 0.35);
	backdrop-filter: blur(10px);
	border-radius: 2px;
	padding: 6px 8px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
	box-sizing: border-box;
	overflow: hidden;
	clip-path: inset(0);
	max-width: 100%;
	width: auto !important;
}
.jrtj_img .countdown-display-mini,
.dy_list_div li .img_div .countdown-display-mini,
#promotion-slider .slide .de_div.promotion-card.yhzq-list .ic_img .countdown-display-mini,
.promotion-grid .promotion-card .countdown-display-mini {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 2px;
	flex-wrap: nowrap;
	min-width: 0;
	width: 100%;
	max-width: 100%;
	overflow: hidden;
	box-sizing: border-box;
	flex-shrink: 1;
	clip-path: inset(0);
}
.jrtj_img .time-unit-mini,
.dy_list_div li .img_div .time-unit-mini,
#promotion-slider .slide .de_div.promotion-card.yhzq-list .ic_img .time-unit-mini,
.promotion-grid .promotion-card .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: 2px 4px;
	gap: 1px;
	min-width: 0;
	flex: 1 1 0;
	max-width: 100%;
	overflow: hidden;
	box-sizing: border-box;
}
.jrtj_img .time-value-mini,
.dy_list_div li .img_div .time-value-mini,
#promotion-slider .slide .de_div.promotion-card.yhzq-list .ic_img .time-value-mini,
.promotion-grid .promotion-card .time-value-mini {
	font-size: clamp(0.5rem, 4vw, 0.8rem);
	font-weight: 800;
	color: white;
	font-family: avenir;
	line-height: 1;
	white-space: nowrap;
}
.jrtj_img .time-label-mini,
.dy_list_div li .img_div .time-label-mini,
#promotion-slider .slide .de_div.promotion-card.yhzq-list .ic_img .time-label-mini,
.promotion-grid .promotion-card .time-label-mini {
	font-size: clamp(0.4rem, 2.0vw, 0.65rem);
	color: rgba(255, 255, 255, 0.9);
	font-weight: 600;
	white-space: nowrap;
}
.jrtj_img .time-separator-mini,
.dy_list_div li .img_div .time-separator-mini,
#promotion-slider .slide .de_div.promotion-card.yhzq-list .ic_img .time-separator-mini,
.promotion-grid .promotion-card .time-separator-mini {
	flex-shrink: 0;
	min-width: 0;
	font-size: clamp(0.5rem, 2vw, 0.8rem);
	font-weight: 800;
	color: white;
	line-height: 1;
}
.jianlue_left{
	width:36%;
	height: 100%;
	border-right: 1px solid rgba(255,255,255, 0.3);
	float: left;
	color: #fff;
}
.jianlue_left span{
	height: 100%;
	display: inline-block;
	font-family: "AVANTI";
	font-size: 24px;
	font-weight: 700;
	padding-left: 6px;
	padding-right: 4px;
	line-height: 45px;
}
.jianlue_right{
	width:60%;
	height: 100%;
	margin-top: 5px;
	border-left: 1px solid rgba(0,0,0, 0.3);
	float: left;
	color: #000;
	font-family: "Microsoft JhengHei";	
}
.jrtj_row li:nth-child(2n-1) .jianlue_right{
	border-left: 1px solid #776bb5;
}
.jianlue_right span {
	display: block;	
	color:#edd9c1;
	padding-left: 6px;
}
.jrtj_row li:nth-child(2n-1) .jianlue_right span{
	color: #494758;
}
.jianlue_right .c_name{
	width:100%;
	height: 26px;
	font-size: 20px;
	font-weight: 500;
	font-weight: 600;
}
.jianlue_right .c_country{
	font-size: 14px;
}
.jrtj_nr{
	flex: 1;
	height: 100%;
	box-sizing: border-box;
    position: relative;
	overflow: hidden;
	max-width: 100%;
	min-width: 0;
    padding-top: 8px;
	border-radius: 0 10px 10px 0;
	display: flex;
	flex-direction: column;
}
.jrtj_nr .pinfen{
	font-size: 24px;
	font-weight: 600;
	color: #fff;
	position: absolute;
	top: 6px;
	right: 15px;
    text-shadow: 0 0 3px rgba(0,0,0,.7);
}
.jrtj_nr dl, dt{
	padding: 0;
	margin: 0;
	font-family: "Microsoft JhengHei";
	font-weight: 800;
	font-size: 14px;

}
.jrtj_nr dl{
	display: flex;
	flex-wrap: wrap;
	gap: 0;
}
.jrtj_nr dt{
	width:50%;
	float: left;
	height: 30px;
	color: #666;
	line-height: 28px;
	margin-bottom: 0;
	box-sizing: border-box;
	overflow: hidden;
}
.jrtj_nr dt:nth-child(2n){
	margin-right: 0;
}
.jrtj_nr dt.long{
	width: 100%;
	margin-right: 0;
	clear: both;
	overflow: hidden;
	white-space: nowrap;
}
.jrtj_nr dt.long em{
	display: inline-block;
	max-width: calc(100% - 60px);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	vertical-align: top;
}
.index_phb_row01 .jrtj_nr dt {
    width: 50%;
    float: left;
	border-bottom: 1px solid #ddd;
	color: #666;
}
.index_phb_row01 .jrtj_nr dt.long {
	width: 100%;
}
.index_phb_row01 li:nth-child(1) .jrtj_nr dt {
    color:#88294e; 
}
.index_phb_row01 li:nth-child(2) .jrtj_nr dt {
    color:#6f5a4d; 
}
.index_phb_row01 li:nth-child(3) .jrtj_nr dt {
    color:#2a4d5d; 
}
.index_phb_row01.tongyong_row .jrtj_nr dt {
    color:#2a4d5d; 
}
.index_phb_row01.tongyong_row li:nth-child(1) .jrtj_nr dt {
    color:#2a4d5d; 
}
.index_phb_row01.tongyong_row li:nth-child(2) .jrtj_nr dt {
    color:#2a4d5d; 
}
.index_phb_row01.tongyong_row li:nth-child(3) .jrtj_nr dt {
    color:#2a4d5d; 
}
.index_phb_row01 .jrtj_nr dt:last-child{
	border-bottom: 0!important;
}
.dy_list_div .jrtj_nr dt:last-child,
#promotion-slider .slide .de_div.promotion-card.yhzq-list .detail_div dt:last-child {
	border-bottom: 0!important;
}
.jrtj_nr dt >span{
	display: inline-block;
	margin-right: 6px;
	color: #000;
}
.jrtj_nr dt >em{
	font-style: normal;
	display: inline-block;
	padding-left: 8px;
	vertical-align: top;
	max-width: calc(100% - 50px);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.jrtj_nr dt:nth-of-type(4) em{
	max-width: calc(100% - 70px);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	display: inline-block;
}
.jrtj_nr dt:not(.long) em{
	max-width: calc(100% - 50px);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.jrtj_nr dt >em.num{
	font-family: "AVANTI";
	font-weight: 600;
}
.jrtj_nr dt >em.price{
	/* font-family: "AVANTI"; */
	font-weight: 600;
}
.jrtj_nr dt span.price.yj{
	text-decoration: line-through;
	color: #999;
}
.jrtj_nr dt span.price.yj{
	color: #c90404;
	font-weight: 800;
	/* font-family: "AVANTI"; */
	/* letter-spacing: 1px; */
	font-size: 16px;
    padding-left: 6px;
}
.jrtj_nr dt span.price.xj{
	color: #297901;
	font-weight: 800;
	/* font-family: "AVANTI"; */
	/* letter-spacing: 1px; */
	font-size: 16px;
    padding-left: 6px;
}
.jrtj_img .product-badge{
    font-size: 12px;
}
/* 優惠專區和推薦專區的toolbar：單行不折行，靠縮小圖標/字號/間距適配寬度 */
.jrtj_img_div .toolbar {
    width: 100%;
    max-width: 100%;
    color: #78492b;
    height: 30px;
    min-height: 30px;
    line-height: 30px;
    font-size: clamp(11px, 2.6vw, 14px);
    box-sizing: border-box;
	z-index: 30;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: clamp(2px, 1vw, 8px);
    overflow: hidden;
}
.jrtj_img_div .toolbar.yhzq{
    width: 100%;
    max-width: 100%;
}
.jrtj_img_div .toolbar span {
	height: 28px;
	min-height: 28px;
	display: flex;
	align-items: center;
	overflow: hidden;
    font-size: clamp(10px, 2.4vw, 13px);
    flex: 1 1 0;
    min-width: 0;
    padding-top: 0;
    white-space: nowrap;
}
.jrtj_img_div .toolbar span.shoucang {
    background: url(../images/sc.png) left center no-repeat;
    background-size: clamp(12px, 3.2vw, 16px);
    padding-left: clamp(16px, 4.2vw, 22px);
    box-sizing: border-box;
}
.jrtj_img_div .toolbar span.i_zan {
    background: url(../images/izan.png) left center no-repeat;
    background-size: clamp(12px, 3.2vw, 16px);
    padding-left: clamp(16px, 4.2vw, 22px);
    box-sizing: border-box;
}
.jrtj_img_div .toolbar span.i_pinglun {
    background: url(../images/pinglun.png) left center no-repeat;
    background-size: clamp(12px, 3.2vw, 16px);
    padding-left: clamp(16px, 4.2vw, 22px);
    box-sizing: border-box;
}
/* 直接使用首頁定點區域的toolbar樣式 */
.index_phb_row01 .jrtj_nr .toolbar,
.dy_list_div .jrtj_nr .toolbar,
#promotion-slider .slide .de_div.promotion-card.yhzq-list > .toolbar {
    width: 100%;
    max-width: 100%;
    color: #78492b;
    height: 30px;
    min-height: 30px;
    line-height: 30px;
    font-size: clamp(11px, 2.6vw, 14px);
    box-sizing: border-box;
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: clamp(2px, 1vw, 8px);
    overflow: hidden;
}
.index_phb_row01 .jrtj_nr .toolbar span,
.dy_list_div .jrtj_nr .toolbar span,
#promotion-slider .slide .de_div.promotion-card.yhzq-list > .toolbar span {
    height: 28px;
    min-height: 28px;
    display: flex;
    align-items: center;
    overflow: hidden;
    font-size: clamp(10px, 2.4vw, 13px);
    flex: 1 1 0;
    min-width: 0;
    padding-top: 0;
    white-space: nowrap;
}
.index_phb_row01 .jrtj_nr .toolbar span.shoucang,
.dy_list_div .jrtj_nr .toolbar span.shoucang,
#promotion-slider .slide .de_div.promotion-card.yhzq-list > .toolbar span.shoucang {
    background: url(../images/sc.png) left center no-repeat;
    background-size: clamp(12px, 3.2vw, 16px);
    padding-left: clamp(16px, 4.2vw, 22px);
    box-sizing: border-box;
}
.index_phb_row01 .jrtj_nr .toolbar span.i_zan,
.dy_list_div .jrtj_nr .toolbar span.i_zan,
#promotion-slider .slide .de_div.promotion-card.yhzq-list > .toolbar span.i_zan {
    background: url(../images/izan.png) left center no-repeat;
    background-size: clamp(12px, 3.2vw, 16px);
    padding-left: clamp(16px, 4.2vw, 22px);
    box-sizing: border-box;
}
.index_phb_row01 .jrtj_nr .toolbar span.i_pinglun,
.dy_list_div .jrtj_nr .toolbar span.i_pinglun,
#promotion-slider .slide .de_div.promotion-card.yhzq-list > .toolbar span.i_pinglun {
    background: url(../images/pinglun.png) left center no-repeat;
    background-size: clamp(12px, 3.2vw, 16px);
    padding-left: clamp(16px, 4.2vw, 22px);
    box-sizing: border-box;
}

.icon_tool span.i_zan{
	background: url(../images/d_zan.png) no-repeat;
	background-size: 30%;
	font-size: 0;
	background-position: 10px 0px;
}
.icon_tool span.i_sc{
	background: url(../images/d_sc.png) no-repeat;
	background-size: 30%;
	font-size: 0;
	background-position: 10px 0px;
}
.icon_tool span.i_pl{
	background: url(../images/pinglun.png) no-repeat;
	background-size: 27%;
	font-size: 0;
	background-position: 10px 3px;
}
.swiper_section{
	margin-top: -48px;
}
.index_row{
	width:100%;
	height: auto;
	overflow: hidden;
	margin: 0 auto;
	padding: 8px;
	box-sizing: border-box;
	position: relative;
	background: #fff;
}
.swiper_section{
    background: linear-gradient(to bottom, transparent, #eef2f3);
}
.swiper_section .index_row{
    background:  #eef2f3;
}
.index-swiper{
	width:95%;
	height: auto;
	margin: 0 auto;
}

.swiper-slide{
	width:100%;
}
.swiper-slide img{
	width:100%;
	border-radius: 15px;
}
.jinrituijian{
	width:100%;
	height: 100px;
    background: url(../images/tuijie.png) center no-repeat;
	background-size:20%;
}
.paihangbang{
	width:100%;
	height: auto;
    background:#eef2f3 url(../images/wave003.jpg) top no-repeat;
	background-size:contain;
    padding-top: 50px;
}
.tjzq{
	width:100%;
	height: auto;
    background:#eef2f3;
	background-size:contain;
    /* padding-bottom: 20px; */
}
.tjzq .jrtj_title{
    background:#eef2f3;
    padding-top: 10px;
}
.tjzq .jrtj_title_left span{
    color: #3bb9a1;
}
.tjzq .jrtj_title_right{
    color: #3bb9a1;
}
.tjzq .jrtj_row{
    background:#eef2f3;
}
/* 確保今日推薦的jrtj_img與優惠專區一致 */
.tjzq .jrtj_img_div {
    width: 100%;
    height: auto;
    min-height: 0;
    position: relative;
    display: flex;
    gap: 12px;
    align-items: stretch;
    overflow: hidden;
    box-sizing: border-box;
    border-radius: 0 10px 10px 0;
}
.tjzq .jrtj_img {
    width: 195px;
    height: auto;
    min-height: 0;
    flex-shrink: 0;
    overflow: hidden;
    position: relative;
    border-radius: 10px 0 0 10px;
    align-self: stretch;
}
.tjzq .jrtj_nr {
    height: 100%;
    min-height: 100%;
    display: flex;
    flex-direction: column;
}
.tjzq .jrtj_row li {
    min-height: 185px;
    align-items: stretch;
}
.phb_t_row{
	width:100%;
	height: 265px;
	overflow: hidden;

}
.phb_t_row_left{
    width: 31%;
    height: 150px;
    box-sizing: border-box;
    font-size: 60px;
    color: #000;
    font-weight: bolder;
    position: relative;
    float: left;
    white-space: nowrap;
    border-bottom: 40px solid #f90;
    margin-left: 20px;
}
.phb_t_row_left .lg_title{
    display: block;
    position: absolute;
    z-index: 1;
    height: auto;
    overflow: hidden;
    line-height: 70px;
    bottom: -40px;
}
.phb_t_row_left .bottom_border{
	display: block;
	width:100%;
	height: 60px;
	background: #ff9324;
	position: absolute;
	left: 30px;
	bottom: 0;
}
.phb_t_row_right{
	width:50%;
	height: 100%;
	float: left;
	position: relative;
}
.phb_t_row_right a{
	display: block;
	width:130px;
	height: 45px;
	text-decoration: none;
	color: #fff;
	font-size: 20px;
	float: right;
	line-height: 45px;
	text-align: center;
	background: #000;
	border-radius: 60px;
	margin-right: 30px;
	margin-top: 100px;
}
.phb_main{
	width:100%;
	height: auto;
	min-height: 242px;
/*	background: url("../images/phb_bottom_bg.jpg")bottom no-repeat;*/
	overflow: hidden;
	/* padding-bottom: 30px; */
}
.phb_main.phb_index_div{
	background: #3bb9a1;
}
.index_phb_row{
	width:93%;
	height: 1000px;
	overflow: hidden;
	border-radius: 10px;
	margin: 0 auto;
    background-image: linear-gradient(#fff 15%, transparent);
}
.index_phb_row01{
	width:93%;
	height: auto;
	overflow: hidden;
	border-radius: 10px;
	margin: 0 auto;
	margin-bottom: 20px;
	min-height: 750px;
    margin-top: 20px;
}
.index_phb_row01 ul, li{
	list-style: none;
	margin: 0;
	padding: 0;
}
.index_phb_row01 ul{
	width:100%;
	height: auto;
	overflow: hidden;
}
.index_phb_row01 li{
    width: 100%; 
	height: auto;
	float: left;
	position: relative;
	margin-right: 3%;
	margin-bottom: 10px;
	box-sizing: border-box;
    overflow: hidden;
    display: flex;
    align-items: stretch;
}
.index_phb_row01 li:nth-child(2n){
	margin-right: 0;
}

.phb_list_div{
    width: 100%; 
	height: 255px;
	border-radius: 10px;
	background-color: rgba(221,221,221,.8);
}
.phb_lable{
	width:50px;
	height: 80px;
	background: url("../images/lable.png") top no-repeat;
	background-size: contain;
	position: absolute;
	top: 6px;
	left: 6px;
	z-index: 10;
	font-size: 24px;
    font-family: "AVANTI";
    font-weight: 800;
	color: #666;
	line-height: 50px;
	text-align: center;
	pointer-events: none!important;
}
.index_phb_row01 li:nth-child(1)>.phb_list_div{
	height: 100%;
	background-color: rgba(245,210,222,.9);
}
.index_phb_row01 li:nth-child(2)>.phb_list_div{
	height: 100%;
	background-color: rgba(250,220,170,.9);
}
.index_phb_row01 li:nth-child(3)>.phb_list_div{
	height: 100%;
	background-color: rgba(150,210,220,.8);
}
.index_phb_row01.tongyong_row li>.phb_list_div{
	height: 100%;
	background-color: rgba(150,210,220,.8);
}
/* 保留原來的卡片背景色 - 應用到新的 jrtj_img_div 結構 */
.index_phb_row01 li > .jrtj_img_div{
	border-radius: 10px;
	background-color: rgba(221,221,221,.8);
	display: flex;
	align-items: stretch;
	height: auto;
	min-height: 0;
}
.index_phb_row01 li > .jrtj_img_div > .jrtj_img {
	align-self: stretch;
	flex-shrink: 0;
	height: auto;
	min-height: 0;
}
.index_phb_row01 li:nth-child(1) > .jrtj_img_div{
	background-color: rgba(245,210,222,.9);
}
.index_phb_row01 li:nth-child(2) > .jrtj_img_div{
	background-color: rgba(250,220,170,.9);
}
.index_phb_row01 li:nth-child(3) > .jrtj_img_div{
	background-color: rgba(150,210,220,.8);
}
.index_phb_row01.tongyong_row li > .jrtj_img_div{
	background-color: rgba(150,210,220,.8);
}
/* top-bq 樣式 - 使用 moban-3 的樣式 */
.top-bq {
    width: 50px;
    display: flex;
    align-items: center;
    position: absolute;
    left: 8px;
    top: 0;
    z-index: 10;
}
.top-bq img{
    width: 100%;
}
.shake {
    display: inline-block;
    animation: shake 1.0s infinite ease-in-out;
    transform-origin: center center;
}

@keyframes shake {
    0% {
        transform: rotate(0deg);
    }
    20% {
        transform: rotate(2deg);
    }
    40% {
        transform: rotate(-2deg);
    }
    60% {
        transform: rotate(1.5deg);
    }
    80% {
        transform: rotate(-1.5deg);
    }
    100% {
        transform: rotate(0deg);
    }
}

.top-bq span {
    display: inline-block;
    color: #ffde00;
    font-size: var(--fs-hero);
    text-align: center;
    font-weight: bolder;
}
.index_phb_row01 li:nth-child(1) .phb_lable{
	width:80px;
	height: 140px;
	background: url("../images/lable_l.png") top no-repeat;
	background-size: contain;
	position: absolute;
	top: 4px;
	left: 6px;
	z-index: 10;
	font-size: 36px;
	line-height: 80px;
	font-weight: bolder;
	text-shadow: 0px 3px 3px #333;
	color: #fff;
}
.index_phb_row01 li:nth-child(2) .phb_lable{
	width:80px;
	height: 140px;
	background: url("../images/lable_c.png") top no-repeat;
	background-size: contain;
	position: absolute;
	top: 4px;
	left: 6px;
	z-index: 10;
	font-size: 36px;
	line-height: 80px;
	font-weight: bolder;
	text-shadow: 0px 3px 3px #333;
	color: #fff;
}
.index_phb_row01 li:nth-child(3) .phb_lable{
	width:80px;
	height: 140px;
	background: url("../images/lable_r.png") top no-repeat;
	background-size: contain;
	position: absolute;
	top: 4px;
	left: 6px;
	z-index: 10;
	font-size: 36px;
	line-height: 80px;
	font-weight: bolder;
	text-shadow: 0px 3px 3px #333;
	color: #fff;
}

.phb_list_div .jrtj_img{
	width:40%;
}
.jrtj_img a{
	display: block;
	width:100%;
	height: 100%;
}
.phb_list_div .jrtj_img .jianlue {
    width: calc(100% - 4px);
    left: 2px;
    bottom:2px;
    border-radius: 8px;
}
.phb_list_div .jrtj_img .jianlue_left {
    width: 46%;
	padding-top: 4px;
	box-sizing: border-box;
	color: #ddd;
}
.index_phb_row01 li:nth-child(1) .jianlue_left{
	color: #fff;
}
.index_phb_row01 li:nth-child(2) .jianlue_left{
	color: #fff;
}
.index_phb_row01 li:nth-child(3) .jianlue_left{
	color: #fff;
}
.index_phb_row01.tongyong_row .jianlue_left{
	color: #fff;
}
.index_phb_row01.tongyong_row .jianlue_left span{
	font-size: 24px;
}
.index_phb_row01.tongyong_row li:nth-child(1) .jianlue_left span{
	font-size: 24px;
}
.index_phb_row01.tongyong_row li:nth-child(2) .jianlue_left span{
	font-size: 24px;
}
.index_phb_row01.tongyong_row li:nth-child(3) .jianlue_left span{
	font-size: 24px;
}
.phb_list_div .jrtj_img .jianlue_right {
    width: 46%;
	height: 80%;
}
.phb_list_div .jianlue_right span {
	color: #000;
	font-family: "Microsoft JhengHei";	
}
.phb_list_div .jrtj_nr{
	width:50%;
	padding-left: 10px;

}
.phb_list_div .jrtj_nr dt{
	font-size: 15px;
	line-height: 32px
}
.phb_list_div .jrtj_nr dt >span {
    display: inline-block;
    width: 50px;
    text-align: justify;
    text-align-last: justify;
    margin-right: 6px;
    color: #000;
}

.phb_list_div .icon_tool{
	margin: auto;
	left:0;
	right: 0;
	bottom: 1px;
		
}
.index_phb_row01 li .jianlue{
	background-color:rgba(153,153,153,.9);
}
.index_phb_row01 li .jrtj_nr dt{
	border-bottom: 1px solid rgba(255,255,255,.3);
}
.index_phb_row01 li:nth-child(1) .jianlue{
    background-color: rgba(205,110,147,.9);
}
.index_phb_row01 li:nth-child(2) .jianlue{
    background-color: rgba(180,130,45,.9);
}
.index_phb_row01 li:nth-child(3) .jianlue{
    background-color: rgba(90,150,170,.9);
}
.index_phb_row01.tongyong_row li:nth-child(1) .jianlue{
    background-color: rgba(90,150,170,.9);
}
.index_phb_row01.tongyong_row li:nth-child(2) .jianlue{
    background-color: rgba(90,150,170,.9);
}
.index_phb_row01.tongyong_row li:nth-child(3) .jianlue{
    background-color: rgba(90,150,170,.9);
}
.index_phb_row01.tongyong_row .jianlue{
    background-color: rgba(90,150,170,.9);
}
.index_phb_row01 li .jrtj_img{
    height: auto !important;
    min-height: 0 !important;
    overflow: hidden !important;
    contain: layout style paint;
    clip-path: inset(0);
    align-self: stretch !important;
    flex-shrink: 0 !important;
}
.index_phb_row01 li:nth-child(1) .jrtj_img{
    border: 4px solid rgba(128,72,45,.3);
}
.index_phb_row01 li:nth-child(2) .jrtj_img{
    border: 4px solid rgba(128,72,45,.3);
}
.index_phb_row01 li:nth-child(3) .jrtj_img{
    border: 4px solid rgba(128,72,45,.3);
}
.phb_more{
 	width:40%; 
	color: #fff;
	text-align: center;
	font-size: 24px; 
	font-weight: bold;
	margin: 0 auto;
    height: 60px;
    /* margin-top: 40px; */
}
.phb_more a{
	text-decoration: none;
	color:#000;
	border: 0;
	outline: 0;
}
.phb_more:before,.phb_more:after{
	content: "";
	width: 20%;
	border-top: 2px #1d7c5a solid; 
	display: inline-block; 
	border-radius:2px;
    vertical-align: middle;
}
.phb_more:before{margin-right: 8px;}
.phb_more:after{margin-left: 8px;}
.dingdianwaiyue{
	width:100%;
	height: auto;
	overflow: hidden;
/*	background:#b4b4b4 url("../images/dy_bottom_bg.jpg") bottom no-repeat;*/
	/* padding-bottom: 120px; */
}
.dingdianwaiyue.dingdian{
	background:#3bb9a1;
}
.dingdianwaiyue.waiyue{
	background: #eef2f3;
/*	background-image: linear-gradient(#e6ccb1 15%, #fff);*/
	padding-bottom: 60px;
}
.dingdianwaiyue.dw_list{
	background: #3bb9a1;
/*	background-image: linear-gradient(#e6ccb1 15%, #fff);*/
	padding-top: 20px;
	padding-bottom: 60px;
}
.new_title_row{
	width:100%;
	height: 80px;
	line-height: 80px;
	font-size: 24px;
	color: #444;
	text-align: center;
}
.new_title_row span{
	display: inline-block;
	padding-left: 10px;
	padding-right: 10px;
	color: #fff;
}
.dingdian_header{
	width:100%;
	height: 168px;
/*	background:#b4b4b4 url("../images/dingdian_top.jpg")top no-repeat;*/
	background-size: contain;
	box-sizing: border-box;
	padding-top: 0px;
	margin-top: 0;
	background: #3bb9a1;
    position: relative;
}
.dy_t_row_left {
    width: 31%;
    height: 150px;
    box-sizing: border-box;
    font-size: 60px;
    color: #000;
    font-weight: bolder;
    position: relative;
    float: left;
    white-space: nowrap;
    border-bottom: 40px solid  rgba(255,255,255,0.4);
    margin-left: 20px;
}
.waiyue_header .dy_t_row_left{
    border-bottom: 40px solid #3bb9a1;
}
.dy_t_row_left .lg_title{
    display: block;
    position: absolute;
    z-index: 1;
    height: auto;
    overflow: hidden;
    line-height: 70px;
    bottom: -40px;
}
.dy_t_row_left .bottom_border{
	display: block;
	width:calc(100% - 10px);
	height: 38px;
	/* background: linear-gradient(to right, 
		transparent 0%, 
		rgba(255,255,255,.4) 20%, 
		rgba(255,255,255,.4) 80%, 
		transparent 100%); */
    background: rgba(255,255,255,.4);
	position: absolute;
	left: 20px;
	bottom: 1vw;
}

.waiyue_header .dy_t_row_left .bottom_border{
	/* background: linear-gradient(to right, 
		transparent 0%, 
		#3bb9a1 10%, 
		#3bb9a1 90%, 
		transparent 100%); */
    background: #3bb9a1;
	/* filter: blur(2px); */
}
.waiyue_header{
	width:100%;
	height: 168px;
	background:#eef2f3;
	background-size: contain;
	box-sizing: border-box;
	margin-top: -120px;
    overflow: hidden;
    position: relative;
}
.waiyue_header .dy_t_row_left {
	color: #000;
}
.dy_list_div{
	width:100%;
	height: auto;
	overflow: hidden;
}
.dy_list_div ul,li{
	list-style: none;
	margin: 0;
	padding: 0;
}
.dy_list_div ul{
	width:100%;
	height: auto;
	overflow: hidden;
	padding: 20px;
	box-sizing: border-box;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 10px;
}
.dy_list_div li{
	width: 100%;
	height: auto;
	background-color: rgba(255,255,255,.8);
	border-radius: 10px;
	overflow: hidden;
}
.dy_list_div li .img_div{
	width:100%;
	height: 240px;
	background: #d7eace;
	position: relative;
	overflow: hidden;
}
/* 定點/外約的product-badge、VIP和倒計時樣式 */
/* 左上角「時間」與右上角 VIP：同一高度（膠囊） */
.dy_list_div li .img_div .yhzq-activity-time-badge,
#promotion-slider .yhzq-list .ic_img .yhzq-activity-time-badge,
.dy_list_div li .img_div .vip-badge,
#promotion-slider .slide .de_div.promotion-card.yhzq-list .ic_img .vip-badge {
    height: 36px;
    min-height: 36px;
    max-height: 36px;
    padding: 0 12px;
    box-sizing: border-box;
    line-height: 1;
}

.dy_list_div li .img_div .yhzq-activity-time-badge,
#promotion-slider .yhzq-list .ic_img .yhzq-activity-time-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 11;
    max-width: calc(100% - 24px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-width: 44px;
    border-radius: 999px;
    background: rgba(126, 73, 176, 0.56);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.04em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.dy_list_div li .img_div .product-badge,
#promotion-slider .slide .de_div.promotion-card.yhzq-list .ic_img .product-badge {
	position: absolute;
	bottom: 40px;
	left: 10px;
	background: linear-gradient(135deg, #97c803, #82aa05);
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	padding: 6px 12px;
	border-radius: 20px;
	z-index: 10;
	box-shadow: 0 2px 4px rgba(255,255,255,0.5);
	text-shadow: 0 1px 2px rgba(0,0,0,0.2);
	white-space: nowrap;
}
.dy_list_div li .img_div .vip-badge,
#promotion-slider .slide .de_div.promotion-card.yhzq-list .ic_img .vip-badge {
    position: absolute;
    top: 12px;
    right: 12px;

    bottom: auto;
    margin: 0;
    z-index: 10;
    width: auto;
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    font-size: 14px;
    font-weight: 800;
    color: #fff;
    /* background: rgba(42, 32, 8, 0.9); */
    background: #f90;
    border: 1px solid rgba(255, 215, 120, 0.45);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    animation: none;
    text-shadow: none;
    box-shadow: none;
    pointer-events: none;
}
/* ============================================
   詳情 CTA：模板 5
   ============================================ */
   .detail-identity-block {
    display: grid;
    grid-template-columns: minmax(168px, max-content) minmax(0, 1fr);
    gap: 12px;
    align-items: end;
    margin: 12px 0 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: flex-start;
    gap: 6px;
    min-width: max-content;
    padding: 14px 12px;
    border-radius: 10px;
    background: linear-gradient(145deg, #fffdf9 0%, #ffffff 100%);
    border: 1px solid #3bb9a1;
    box-shadow: 0 10px 22px rgba(242, 113, 33, 0.1);
    white-space: nowrap;

    flex-shrink: 0;
    max-width: 100%;
    width: max-content;
    height: 45px;
    min-height: 45px;
    box-sizing: border-box;
}

.detail-code-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #f27121;
}

.detail-code-value {
    font-family: avenir;
    font-size: 1.3rem;
    line-height: 1;
    color: #2ea392;
    white-space: nowrap;
    flex-shrink: 0;
}

.detail-code-note {
    font-size: 12px;
    line-height: 1.3;
    color: #8b8f93;
    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: 14px;
    background: linear-gradient(135deg, #3bb9a1 0%, #2ea392 100%);
    color: #fff;
    box-shadow: 0 12px 24px rgba(59, 185, 161, 0.2);
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.detail-booking-btn:hover {
    transform: translateY(-1px);
    filter: saturate(1.05);
    box-shadow: 0 18px 34px rgba(59, 185, 161, 0.28);
}

.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;
    white-space: nowrap;
}

.detail-booking-btn-note {
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    opacity: 0.88;
    white-space: nowrap;
    text-align: left;
    flex-shrink: 0;
}
@media (max-width: 768px) {
    .dy_list_div li .img_div .yhzq-activity-time-badge,
    #promotion-slider .yhzq-list .ic_img .yhzq-activity-time-badge,
    .dy_list_div li .img_div .vip-badge,
    #promotion-slider .slide .de_div.promotion-card.yhzq-list .ic_img .vip-badge {
        height: 32px !important;
        min-height: 32px !important;
        max-height: 32px !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    .dy_list_div li .img_div .yhzq-activity-time-badge,
    #promotion-slider .yhzq-list .ic_img .yhzq-activity-time-badge {
        top: 11px !important;
        left: 11px !important;
        min-width: 40px !important;
        font-size: 11px !important;
    }

    .dy_list_div li .img_div .vip-badge,
    #promotion-slider .slide .de_div.promotion-card.yhzq-list .ic_img .vip-badge {
        top: 11px !important;
        right: 11px !important;
        font-size: 13px !important;
    }
}

@media (max-width: 480px) {
    .dy_list_div li .img_div .yhzq-activity-time-badge,
    #promotion-slider .yhzq-list .ic_img .yhzq-activity-time-badge,
    .dy_list_div li .img_div .vip-badge,
    #promotion-slider .slide .de_div.promotion-card.yhzq-list .ic_img .vip-badge {
        height: 28px !important;
        min-height: 28px !important;
        max-height: 28px !important;
        padding-left: 9px !important;
        padding-right: 9px !important;
    }

    .dy_list_div li .img_div .yhzq-activity-time-badge,
    #promotion-slider .yhzq-list .ic_img .yhzq-activity-time-badge {
        top: 10px !important;
        left: 10px !important;
        min-width: 38px !important;
        font-size: 11px !important;
    }

    .dy_list_div li .img_div .vip-badge,
    #promotion-slider .slide .de_div.promotion-card.yhzq-list .ic_img .vip-badge {
        top: 10px !important;
        right: 10px !important;
        font-size: 12px !important;
    }
}

.dy_list_div li .img_div:after {
    position: absolute;
    content: '';
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    box-shadow:0 0 50px 30px #d7eace inset;
}
.dy_list_div li .img_div a{
	display: block;
	outline: 0;
	width:100%;
	height: 100%;
	padding: 0;
	margin: 0;
}

.dy_list_div li:nth-child(n+1) .icon_toolbar{
	width:100%;
	height: 35px;
	background: #f9edd7;
	padding-left: 10px;
	box-sizing: border-box;
}
.dy_list_div li:nth-child(n+1) .img_div {
	width:100%;
	background: #f9edd7;
	position: relative;
}
.dy_list_div li:nth-child(n+1) .img_div:after {
    position: absolute;
    content: '';
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    box-shadow:0 0 80px 40px #f9edd7 inset;
	pointer-events: none;
}
.dy_list_div li:nth-child(2n+1) .icon_toolbar{
	width:100%;
	height: 35px;
	background: #c1bcdf;
	padding-left: 10px;
	box-sizing: border-box;
}
.dy_list_div .img_div {
    width:100%;
	position: relative;
}
.dy_list_div li:nth-child(2n+1) .img_div {
	width:100%;
	background: #d2cfe4;
	position: relative;
}
.dy_list_div li:nth-child(2n+1) .img_div:after {
    position: absolute;
    content: '';
    width: 100%;
    top: 0;
    left: 0;
    box-shadow:0 0 80px 40px #d2cfe4 inset;
	pointer-events: none;
}
.dy_list_div li:nth-child(3n+1) .img_div {
	width:100%;
	background: #d9e9ce;
	position: relative;
}
.dy_list_div li:nth-child(3n+1) .img_div:after {
    position: absolute;
    content: '';
    width: 100%;
    top: 0;
    left: 0;
    box-shadow:0 0 80px 40px #d9e9ce inset;
	pointer-events: none;
}
.dy_list_div li:nth-child(3n+1) .icon_toolbar{
	width:100%;
	height: 35px;
	background: #b7dcb3;
	padding-left: 10px;
	box-sizing: border-box;
}
.dy_list_div li .icon_toolbar span{
	display: block;
	width:80px;
	height: 50px;
	padding-left: 40px;
	float: left;
	box-sizing: border-box;
	font-size: 0;
}
.dy_list_div li .icon_toolbar p{
	display: block;
	width:100%;
	padding: 0;
	margin: 0;
	color: #526e48;
	font-family: "AVANTI";
	font-weight: 600;
	font-size: 16px;
	line-height: 35px;
}
.dy_list_div span.i_zan{
	background: url(../images/d_zan.png) no-repeat;
	background-size: 30%;
	background-position: 10px 8px;
}
.dy_list_div span.i_sc{
	background: url(../images/d_sc.png) no-repeat;
	background-size: 27%;
	background-position: 10px 7px;
}
.dy_list_div span.i_pl{
	background: url(../images/pinglun.png) no-repeat;
	background-size: 27%;
	background-position: 10px 9px;
}
.dy_list_div li .jianlue{
	position: absolute;
	width:calc(100% - 12px);
	height: 55px;
	margin: auto;
	left: 6px;
	bottom: 5px;
	background-color: rgba(100,165,90,.9);
	border-radius: 10px;
	z-index: 10;
}
.dy_list_div li:nth-child(n+1) .jianlue{
	position: absolute;
	width:calc(100% - 12px);
	height: 55px;
	margin: auto;
	left: 6px;
	bottom: 5px;
	background-color: rgba(179,126,25,.9);
	border-radius: 10px;
	z-index: 10;
}
.dy_list_div li:nth-child(2n+1) .jianlue{
	position: absolute;
	width:calc(100% - 12px);
	height: 55px;
	margin: auto;
	left: 6px;
	bottom: 5px;
	background-color: rgba(128,119,173,.9);
	border-radius: 10px;
	z-index: 10;
}
.dy_list_div li:nth-child(3n+1) .jianlue{
	position: absolute;
	width:calc(100% - 12px);
	height: 55px;
	margin: auto;
	left: 6px;
	bottom: 5px;
	background-color: rgba(90,155,70,.9);
	border-radius: 10px;
	z-index: 10;
}
/* .dy_list_div li:nth-child(n+1) .jrtj_nr dt{
	color: #7e560a;
}
.dy_list_div li:nth-child(2n+1) .jrtj_nr dt{
	color: #544a88;
}
.dy_list_div li:nth-child(3n+1) .jrtj_nr dt{
	color: #526e48;
} */
.dy_list_div li .jianlue_left{
	width:24%;
	height: 85%;
	margin-top: 5px;
	border-right: 1px solid rgba(255,255,255, 0.5);
	float: left;
	color: #fff;
	padding-left: 10px;
	box-sizing: border-box;
}
.dy_list_div .jianlue_right{
	width:24%;
	height:85%;
	float: left;
}
.dy_list_div .jianlue_right span {
	color: #000;
	font-family: "Microsoft JhengHei";	
}

.dy_list_div .jianlue_price{
	width:50%;
	height:100%;
	float: left;
	font-size:26px;
	color: #fff;
	font-family: "AVANTI";
	text-align: center;
	line-height: 55px;
}
.dy_list_div .jrtj_nr{
	width:100%;
	height: auto;
	overflow: hidden;
    padding: 10px;
    position: relative;
    display: flex;
    flex-direction: column;
}
.dy_list_div .jrtj_nr dl {
    margin-bottom: 10px;
    flex: 1;
}
.dy_list_div .jrtj_nr dt {
    width: 50%;
    float: left;
	border-bottom: 1px solid #ddd;
	color: #666;
}
.dy_list_div .jrtj_nr dt.long{
	width:100%;
}
/*.dy_list_div dt.long span{
	display: inline-block;
	width:80px;
}*/
.dy_list_div dt.long >em {
	display: inline-block;
    font-family: "Microsoft JhengHei";	
}
/*底部動畫*/
.marquee-box {
	overflow: hidden;
	width: 100%;
	position: absolute;
	left: 0;
	top: 0
}
.marquee {
	width: 8000%;
	height: 60px
}
.wave-list-box {
	float: left
}
.wave-list-box ul {
	float: left;
	height: 60px;
	overflow: hidden;
	zoom: 1;
	list-style: none;
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
.wave-list-box ul li {
	height: 60px;
	width: 100%;
	float: left;
	line-height: 30px;
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
.wave-box {
	position: relative;
	height: 60px;
	/*background-color: #e6ccb1;*/
	margin-top: -30px;
}
.footer_box{
	width:100%;
	height: 37px;
	background:url("../images/bottom_bg.png")top center no-repeat;
	background-size: cover;
	position: absolute;
	left: 0;
	bottom: 110px;
}
.footer {
	width: 100%;
    height: 110px;
	background:#1d7c5a;
	margin: 0 auto;
}
.footer a {
    display: block;
    width: 20%;
    height: 100%;
    position: relative;
    float: left;
}
.footer p{
	display: block;
	width:100%;
	height: 35px;
	font-size: 18px;
	color: rgba(255,255,255,.2);
	text-align: center;
	padding: 0;
	margin: 0;
	line-height: 35px;
	position: absolute;
	bottom: 15px;
    font-family: "Microsoft JhengHei";
}
.footer .on p{
	color: #fff;
	font-weight: 600;
}
.footer a.home{
	background:  url("../images/home.png")top center no-repeat;		
	background-size: 33%;
	background-position: 50% 10px;
}
.footer a.home:hover{
	background:  url("../images/home_on.png")top center no-repeat;		
	background-size: 33%;
	background-position: 50% 10px;
}
.footer a.home.on{
	background:  url("../images/home_on.png")top center no-repeat;		
	background-size: 33%;
	background-position: 50% 10px;
}
.footer a.new_caipin{
	background: url("../images/caipin.png") center no-repeat;		
	background-size: 33%;
	background-position: 50% 10px;
}
.footer a.new_caipin:hover{
	background: url("../images/caipin_on.png") center no-repeat;		
	background-size: 33%;
	background-position: 50% 10px;
}
.footer a.new_caipin:hover p{
    color: #fff;
    font-weight: 600;
}
.footer a.new_caipin.on{
	background: url("../images/caipin_on.png") center no-repeat;		
	background-size: 33%;
	background-position: 50% 10px;
}
.footer a.kefu{
	background: url("../images/kefu.png") center no-repeat;		
	background-size: 33%;
	background-position: 50% 10px;
}
.footer a.kefu:hover{
	background: url("../images/kefu_on.png") center no-repeat;		
	background-size: 33%;
	background-position: 50% 10px;
}
.footer a.kefu:hover p{
    color: #fff;
    font-weight: 600;
}
.footer a.kefu.on{
	background: url("../images/kefu_on.png") center no-repeat;		
	background-size: 33%;
	background-position: 50% 10px;
}
.footer a.phb{
    background: url("../images/phb.png") center no-repeat;		
    background-size: 33%;
    background-position: 50% 10px;
}
.footer a.phb:hover{
	background: url("../images/phb_on.png") center no-repeat;		
	background-size: 33%;
	background-position: 50% 10px;
}
.footer a.phb:hover p{
    color: #fff;
    font-weight: 600;
}
.footer a.phb.on{
	background: url("../images/phb_on.png") center no-repeat;		
	background-size: 33%;
	background-position: 50% 10px;
}

.footer a.u_center{
	background: url("../images/my.png") center no-repeat;		
	background-size: 30%;
	background-position: 50% 10px;
}
.footer a.u_center:hover{
	background: url("../images/my_on.png") center no-repeat;		
	background-size: 30%;
	background-position: 50% 10px;
}
.footer a.u_center:hover p{
    color: #fff;
    font-weight: 600;
}
.footer a.u_center.on{
	background: url("../images/my_on.png") center no-repeat;		
	background-size: 30%;
	background-position: 50% 10px;
}
.tbj{
	display: none;
}
/*排行榜頁*/
.phb_list_title{
    width:80%;
    height: 200px;
    background: #3bb9a1;
    position: relative;
    padding-top: 40px;
	text-align: center;
    margin: 0 auto;
}
.phb_list_title_left {
    width: auto;
    height: 100%;
    box-sizing: border-box;
    font-size: 86px;
    color: #000;
    font-weight: bolder;
    line-height: 86px;
    white-space: normal;
    word-break: break-word;
    display: block;
}
.phb_list_title_left a{
	color:rgba(255,255,255,.2);
	text-decoration: none;
	display: inline-block;
    width: 230px;
}
.phb_list_title_left a.on{
	color: #fff;
	border-right: 4px solid #fff;
	padding-right: 4vw;
    text-shadow: 0 0 5px rgba(0,0,0,0.8);
}
.phb_list_title_left a.ht_on{
	color: #fff;
	border-left: 4px solid #fff;
	padding-left: 4vw;
    text-shadow: 0 0 5px rgba(0,0,0,0.8);
}
.phb_list_title_right {
    width: 300px;
    height: 120px;
    box-sizing: border-box;
    font-size: 50px;
    line-height: 50px;
    font-weight: bolder;
    background: url(../images/arrow_right.png)no-repeat;
    background-position: 220px 3px;
    background-size: 16%;
    position: absolute;
    right: 0;
    top: 10px;
}
.phb_list_title_right  a{
	color: #ccc;
	text-decoration: none;
}
.uc-pagination-mian{
	width: 100%;
	height: auto;
	overflow: hidden;
	text-align: center;
	margin: 0 auto;
	font-size: 0;
}
.uc-pagination-mian a{
	display: inline-block;
	text-align: center;
	background-color: rgba(0,0,0,.5);
	color: #fff;
	font-size: 24px;
	text-decoration: none;
	border-radius: 5px;
	font-family: "AVANTI";
	min-width: 45px;
	height: 45px;
	line-height: 45px;
	margin-right: 6px;
	cursor: pointer;
}
.uc-pagination-mian a:hover{
	background-color: rgba(255,255,255,.5);
	color: #000;
}
.uc-pagination-mian a.page_active{
	background-color: rgba(255,255,255,.5);
	color: #000;
	font-weight: 600;
}
.nt_sort{
	width:95%;
	height: 60px;
	border-radius: 10px;
	background-color: rgba(255,255,255,.5);
	margin: 0 auto;
	box-sizing: border-box;
}
.nt_sort ul,.nt_sort li{
	list-style: none;
	margin: 0;
	padding: 0;
}
.nt_sort li{
	display: block;
	float: left;
	width:calc(20% - 1px);
	height: 60px;
	line-height: 60px;
	text-align: center;
	border-right: 1px solid rgba(255,255,255,0.5);
	box-sizing: border-box;
	position: relative;
}
.nt_sort li:last-child{
	border-right:0;
}
.nt_sort li a{
	color: #666;
	text-decoration: none;
	width:100%;
	height: 100%;
	display: block;
}
.nt_sort li a.on{
	color:#1e7c5a;
	font-weight: bolder;
}
.nt_sort li.on{
	background-color: rgba(145,245,255,0.5);
}
.nt_sort li.on a{
	color: #156b4c;
	font-weight: 600;
}
.dw_list .nt_sort li .sort_arrow {
    width: 30px;
    height: 30px;
    background: url(../images/sort_arrow.png) no-repeat;
    background-size: 45%;
    background-position: 18px 5px;
	position: absolute;
    top: 23%;
    right: 16px;
}
.dw_list .nt_sort li .sort_arrow_d {
    width: 30px;
    height: 30px;
    background: url(../images/sort_arrow_d.png) no-repeat;
    background-size: 45%;
    background-position: 18px 5px;
    position: absolute;
    top: 23%;
    right: 16px;
}
.dw_list .nt_sort li .sort_arrow_a {
    width: 30px;
    height: 30px;
    background: url(../images/sort_arrow_a.png) no-repeat;
    background-size: 45%;
    background-position: 18px 5px;
    position: absolute;
    top: 23%;
    right: 16px;
}
.search_title{
	width:100%;
	height: 120px;
	font-size: 24px;
	box-sizing: border-box;
	line-height: 60px;
	color: #666;
	text-align: center;
}
.search_title span{
	display: inline-block;
	padding-left: 6px;
	padding-right: 6px;
	color: #1e7c5a;
}
.img_cover{
	width:100%;
	position: fixed;
	background-color: rgba(0,0,0,1.0);
	z-index: 100000000000;
	height: 0;
}
.slide-galley {
	width:100%;

}

#gallery{
    height: 0;
}

.gallery li {
    float: left;
	width: 33%!important;
	overflow: hidden;
	position: relative;
	cursor: pointer;
}

.gallery li img {
    width:100%;
}
.galley-close{
	position: absolute;
	width:10%;
	height: 10%;
	background: url("../images/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;
}
.swiper-zoom-container video{
	width:100%;
}
#list-wrap {
    margin: 0 auto;
    padding: 0;
    width: 90%;
	height: auto;
	overflow: hidden;
	padding-top: 60px;
}
.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 .list {
    margin: 0;
    padding: 0;
    height: auto;
    overflow: hidden;
    border: 0;
	margin-bottom: 30px;
	border-bottom: 1px solid rgba(255,255,255,0.2);
}
#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;
	position: relative;
}
.user-commont-top{
	float: left;
	padding-top: 6px;
}
.user-commont-top .c-name{
	color:#06764d!important;
}
.user-commont .zan{
	display: block;
	width:70px;
	padding-left: 50px;
	height: 40px;
	position: absolute;
	top: 0;
	right: 0;
	background: url("../images/izan.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: 16px;
	color: #fff;
	line-height: 40px;
	height: 40px;
	position: absolute;
	top: -8px;
	right: 70px;
	cursor: pointer;
	padding: 10px;
}

#list-wrap .c-name {
    font-size: 18px;
    color: #fff;
    height: 40px;
    overflow: hidden;
    line-height: 40px;
	float: left;
}
#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: 12px;
    color: #ccc;
    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: 14px;
    color: #000;
    height: auto;
    overflow: hidden;
    line-height: 24px;
	width:100%;
	float: left;
}
.more_comment_list{
    background: #3bb9a1;
	width:100%!important;
	padding: 5%!important;
	box-sizing: border-box;
}
.main_reply_list .title{
	width:100%;
	height: 45px;
	font-size: 24px;
	line-height: 15px;
	color: #fff;
	text-align: center;
}
.user-commont-list{
	height: auto;
	overflow: hidden;
	padding: 5px;
	padding-bottom: 10px;
	box-sizing: border-box;
	padding-left: 0;
	margin-left: -3.8rem;
}
.user-commont-list dl{
	height: auto;
	background-color: rgba(255,255,255,.4);
	border-radius: 5px;
	position: relative;
	padding: 10px;
}
.list_arrow{
	position: absolute;
	top:-1.0rem;
    left:3.67vw;
    content: "";
    width: 0;
    height: 0;
    border-bottom: 0.9rem solid  rgba(255,255,255,.4);
    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;
	border-bottom: 1px solid rgba(0,0,0,.1);
	height: auto;
	overflow: hidden;
}
.user-commont-list dt:last-child{
	border-bottom: 0;
}
.user-commont-list dt a{
	color: #000;
	font-size: 16px;
	text-decoration: none;
	font-weight: 600;
}
.user-commont-list .reply-name {
	display: inline-block;
    font-size: 16px;
    color: #15573f;
 	font-weight: 700;
}
.share-div {
    position: fixed;
    background: #fff;

    width: 638px;
    height: 220px;
    border-radius:12px;
    margin: auto;
	top: 0;
	bottom: 0;
    left: 0;
    right: 0;
    box-shadow: 0 0 24px #666;
    z-index: 10;
	display: none;
	text-align: center;
}
.share-div .title {
    height: 60px;
    border-bottom: 1px dashed #ccc;
    font-size: 20px;
    line-height: 60px;
    padding-left: 20px;
    position: relative;
	text-align: left;
	font-weight: 600;
}
.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;
}
.popover-share a {
    display: inline-block;
    width: 200px;
	height: 100px;
    color: #666;
    font-size: 18px;
	text-align: center;
	text-decoration: none;
	line-height: 220px;
	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%;
}
.popover-share a img{
	width:100%;
}
#box {
	margin: 0 auto;
	width: 80%;
	height: auto;
	min-height: 500px;
	overflow: hidden;
}

#myPoint {
	padding-right: 0;
	padding-left: 0;
	padding-bottom: 15px;
	overflow: hidden;
	padding-top: 0;
	border-bottom: #ddd 1px solid;
	height: 50px;
	margin-bottom: 40px;
	margin-top: 12px
}

#myPoint span {
	float: left;
	line-height: 64px;
	font-family: Tahoma;
}

#myPoint span big {
	font-weight: 700;
	font-size: 60px;
	color: #fff;
}

#myPoint span small {
	font-size: 30px;
	color: #fff;
}

#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;
}
#doPoint{
	width:80%;
	padding-top: 10px;
	padding-bottom: 10px;
	height: auto;
	overflow: hidden;
}
#doPoint strong {
	font-size: 15px;
	color: #fff;
	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
}

#doPoint .biaoti {
	width: auto;
	float: left;
	font-weight: 700;
	height: 24px;
	padding-bottom: 20px;
}

#doPoint .fenshu {
	width: 180px;
	float: left!important;
	height: 24px;
	margin-left: 20px;
	padding-bottom: 20px;
}
.pingfen-submit {
	width: 100%;
	height: 50px;
	float: left;
	text-align: center;
	margin-top: 10px
}

.pingfen-submit button {
	width: 100%;
	height: 45px;
	background: #eee;
	color: #15453c;
	font-size: 20px;
	line-height: 40px;
	border: none;
	border-radius: 6px;
	cursor: pointer;
	outline: none;
	text-align: center;
	float: left;
	margin-top: 30px;
}
.detail_topmenu{
	position: relative;
	padding-left: 100px;
	box-sizing: border-box;
}
.detail_topmenu span{
	display: block;
	float: left;
	width:120px;
	height:60px;
	margin-right: 10px;
	line-height: 65px;
	padding-left: 65px;
	box-sizing: border-box;
	cursor: pointer;
}
.detail_topmenu span a{
	display: block;
	width:100%;
	height: 100%;
	text-decoration: none;
	color: #fff;
	margin-left: -65px;
	padding-left: 65px;
}
.detail_topmenu span.yaoyueta{
/*	background: url("../images/yyt.png")left center no-repeat;
	background-size: 50%;*/
    position: absolute;
    top: 6px;
    right: 26px;
    background: #fff;
    width: 120px;
    height: 50px;
    border-radius: 10px;
    text-align: center;
    line-height: 30px;
    /* font-size: 18px; */
    font-weight: 600;
}
.detail_topmenu span.yaoyueta a{
    padding-left: 30px;
    color: #db5f79;
    text-align: center;
    line-height: 50px;
    font-size: 30px;
}
.detail_topmenu span.yaoshoucang{
	background: url("../images/shoucang.png")left center no-repeat;
	background-size: 60%;
}
.detail_topmenu span.yaoshoucang.on{
	background: url("../images/shoucang_on.png")left center no-repeat;
	background-size: 60%;
}
.detail_topmenu span.yaofenxiang{
	background: url("../images/fenxiang.png")left center no-repeat;
	background-size: 40%;
}
.detail_topmenu span.zan{
	background: url("../images/d_zan.png")left center no-repeat;
	background-size: 40%;
}
.index_title{
	width:100%;
	text-align: center;
	font-size: 40px;
	color: #fff;
	position: absolute;
	top:260px;
	left: 0;
	z-index: 10000000000;
}
.ssjg_div{
	width:100%;
	height: 80px;
	line-height: 80px;
	font-size: 24px;
	color: #333;
/*	background-color: rgba(255,255,255,.5);*/
	padding-left: 40px;
	box-sizing: border-box;
}
.ssjg_div span{
	display: inline-block;
	margin-left: 10px;
	margin-right: 10px;
	color: #04613f;
}
.nt_result li{
	width:25%;
	height: auto;
	padding: 5px;
}
.nt_result .nt_content{
	width:100%;
	background: #fff;
	padding-bottom: 25px;
	border-bottom-left-radius: 15px;
	border-bottom-right-radius: 15px;
}
.nt_result .nt_img{
	width:100%;
	border-bottom-left-radius: 0px;
	border-bottom-right-radius: 0px;
}
.pinglun_clear{
	width:100%;
	height: 60px;
}
.detail_pinglu-send{
	width:80%;
	height: 60px;
	margin: 0 auto;
}
.detail_pinglu-send textarea{
	width:85%;
	height: 60px;
	border-radius: 5px;
	border:0;
	box-sizing: border-box;
	padding-left: 10px;
	float: left;
	font-size: 16px;
	resize: none;
}
.detail_pinglu-send	textarea::-webkit-input-placeholder{
    color:#999;
	font-size: 18px;
	line-height: 60px;
}
 .detail_pinglu-send textarea::-webkit-scrollbar {
	 display: none;
  }
#comment_submit{
	width:13%;
	height: 60px;
	display: block;
	margin-left: 10px;
	background: #1e7c5a url("../images/push.png") center no-repeat;
	background-size: 50%;
	color: #fff;
	text-align: center;
	line-height: 60px;
	border-radius: 5px;
	float: left;
	border: 0;
	outline: none;
	font-size: 24px;
	cursor: pointer;
}
.main_reply_div{
    width: 100%;
    height: auto;
    box-sizing: border-box;
    padding: 15px;
    background-color: rgba(60,185,160,.22);
	padding-bottom: 40px;
}
.more_title{
	width:100%;
	height: 40px;
	line-height: 40px;
	text-align: center;
	font-size: 24px;
	color: #06764d;
}
.main_commont{
	border-bottom: 0px;
}
#reply_submit{
	width:13%;
	height: 60px;
	display: block;
	margin-left: 10px;
	background: #559cfc;
	color: #fff;
	text-align: center;
	line-height: 60px;
	border-radius: 10px;
	float: left;
	border: 0;
	outline: none;
	font-size: 24px;
		
}
.list_uc_page{
	padding-bottom: 50px;
}
.main_commont{
	border-bottom: 0px!important;
}
.main_zan_div{
	width:100%;
	float: left;
	padding-top: 20px;
	padding-left: 0;
}
.main_zan_div .main_zan {
    width: 160px;
    height: 45px;
    background: #3bb9a1 url(../images/izan.png)left center no-repeat;
    background-size: 15%;
    background-position: 20% 10px;
    border-radius: 50px;
    border: 1px solid #a9ecdf;
    text-align: center;
    line-height: 45px;
    font-weight: 600;
    font-size: 16px;
    margin: 0 auto;
    cursor: pointer;
}
.main_zan_div .main_zan em{
	color: #fff;
    font-weight: bolder;
    font-family: "AVANTI";
	font-size: 18px;
}
.main_reply_div .title{
    font-size: 24px;
    padding-left: 25px;
	font-weight: 600;
	margin-bottom: 25px;
	color: #999;
}
.main_reply_div .list{
    margin: 0;
    padding: 0;
    height: auto;
    overflow: hidden;
    border: 0;
    margin-bottom: 30px;
}
.main_reply_div .user-pic {
    text-align: center;
    width: 82px;
    float: left;
}
.main_reply_div .user-pic img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
}
.main_reply_div .user-commont {
width: calc(100% - 90px);
    float: left;
    box-sizing: border-box;
    border-bottom: 1px dotted #eee;
    position: relative;
}
.main_reply_div .c-name {
   font-size: 18px;
    color: #4e7d9b;
    height: 40px;
    overflow: hidden;
    line-height: 40px;
    float: left;
    font-weight: 700;
}
.main_reply_div .c-level {
    height: 40px;
    width: 120px;
    overflow: hidden;
    line-height: 40px;
    font-size: 14px;
    display: inline-block;
    text-align: left;
}
.main_reply_div .c-neirong {
    font-size: 18px;
    color: #333;
    height: auto;
    overflow: hidden;
    line-height: 36px;
    width: 100%;
    float: left;
	padding-top: 16px;
 
}
.main_reply_div .c-time {
    font-size: 14px;
    color: #666!important;
    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;
}
#reply-send{
	display: none;
}
.nt_img .toolbar {
    width: 100%;
    background-color: rgba(0,0,0,.5);
    color: #fff;
    position: absolute;
    bottom: 0;
    left: 0;
    height: 35px;
    line-height: 35px;
    font-size: 16px;
    box-sizing: border-box;
}
.nt_img .toolbar span {
    margin-right: 10px;
    width: 50px;
}
.nt_img .toolbar .shoucang {
    display: block;
    float: left;
    background: url(../images/sc.png)center no-repeat;
    background-size: 40%;
    font-size: 14px;
    padding-left: 40px;
    box-sizing: border-box;
    line-height: 40px;
}
.nt_img .toolbar .i_zan {
    display: block;
    float: left;
    background: url(../images/i_zan.png)center no-repeat;
    background-size: 35%;
    font-size: 14px;
    padding-left: 40px;
    box-sizing: border-box;
    line-height: 40px;
}
.nt_img .toolbar .i_pinglun {
    display: block;
    float: left;
    background: url(../images/pinglun.png)center no-repeat;
    background-size: 35%;
    font-size: 14px;
    padding-left: 40px;
    box-sizing: border-box;
    line-height: 40px;
}

.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;
}
.detail_div{
	position: relative;
}
.nt_content{
	position: relative;
}
.nt_content span.cp_pingfen{
    display: block;
    height: 60px;
    line-height: 60px;
    font-size: 30px;
    color: #db5f79;
    font-weight: 600;
    right: 6px;
    top: 0px;
    position: absolute;
}
/* loadding動畫 */
.l-wrapper {
    width: 100%;
    height: 100vh;
    position: fixed;
    overflow: hidden;
    top: 0;
    left: 0;
	z-index: 100000000000000000000;
	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: #4285f4;
    color: #fff;
    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 20px 40px rgba(0,0,0,.2);
	position: fixed;
	margin: auto;
	top: 0;
	left:0;
	right: 0;
	bottom: 0;
	display: none;
	box-sizing: border-box;
	padding: 15px;
	border: 1px solid #eee;
}
.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;
    color: #000;
    text-align: left;
    line-height: 30px;
    font-weight: 600;
    padding-left: 30px;
    box-sizing: border-box;
	margin-top: 25px;
}
.zan-number{
	display: inline-block!important;
	padding-left: 6px;
	padding-right: 6px;
	color: #fff;
	font-style: normal;
}
.user-commont .zan-number{
	display: inline-block!important;
	font-size: 16px;
	padding-left: 6px;
	padding-right: 6px;
	color: #fff;
	font-style: normal;
}
.user-commont-list .reply-time{
    font-size: 12px;
    color: #666;
    height: 40px;
    overflow: hidden;
    line-height: 40px;
    width: 100%;
    float: left;
    text-align: right;
    padding-right: 10px;
    box-sizing: border-box;
    margin-top: 10px;
}
.is_delete{
    background: #f7d7da!important;
    color:#5c202a!important;
    text-align: left;
    border: 1px solid #eee;
    border-radius: 5px;
	padding: 5px;
	box-sizing: border-box;
	display: block;
	margin-top: 8px;
}
.main-mask {
    width: 100%;
    height: 100vh;
    background-color: rgba(0,0,0,0.6);
    z-index: 98;
    position: fixed;
    top: 0;
    display: none;
}
.main-mask_index {
    width: 100%;
    height: 100vh;
    background-color: rgba(0,0,0,0.6);
    z-index: 999999;
    position: fixed;
    top: 0;
    display: none;
}
.warnning_diag {
    width: 600px;
    height: 400px;
    background: #fff;
    box-shadow: 0px 0px 15px #999;
    position: fixed;
    z-index: 99999;
    margin: auto;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 6px;
    padding: 20px;
}
.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 {
    width: 85px;
    font-size: 16px;
    font-weight: 600;
    text-align: left;
    float: right;
    margin-top: 20px;
}
.not_prompt input {
    width: 20px;
    height: 20px;
    margin: 0;
    padding: 0;
    outline: none;
    display: block;
    float: left;
}
.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: 100%;
    cursor: pointer;
}
.wd_bottom {
    width: 100%;
    float: left;
    height: 45px;
    padding-top: 20px;
    text-align: center;
}

.detail_header{
	width:100%;
	height: 115px;
	overflow: hidden;
}
.detail_back{
	width:15%;
	height: 100%;
	float: left;
}
.detail_back span{
	display: block;
	width:100;
	height: 100%;
	background: url("../images/arrow_left.png") center no-repeat;
	background-size:38%;
	cursor: pointer;
}
.top_swiper{
	width:100%;
	height: 480px;
	overflow: hidden;
	background-color: rgba(60,185,160,.22);
}
.detail_left{
	width:32%;
	height: 100%;
	float: left;
	position: relative;
	background-color: rgba(255,255,255,0.5)
}
.detail_left a{
	width:100%;
	height: 100%;
}
.detail_left .yaoyueta{
	display: block;
	width:86%;
	height: 50px;
	position: absolute;
	left: 7%;
	bottom: 60px;
	background: #04613f;
	text-align: center;
	color: #fff;
	line-height: 50px;
	font-size: 24px;
	border-radius: 60px;
	cursor: pointer;
}
.detail_left a{
    color: #fff;
    text-decoration: none;
}
.detail_right{
	width:68%;
	height: 100%;
	float: left;
	box-sizing: border-box;
	padding-left: 20px;
	padding-top: 20px;
	padding-right: 30px;
}
.detail_right dl,.detail_right dt{
	padding: 0;
	margin: 0;
}
.detail_right dl{
	position: relative;
	width:100%;
	height: auto;
	overflow: hidden;
}
.detail_right dt{
	width:50%;
	height: 30px;
	float: left;
	border-bottom: 1px solid rgba(30,120,90,.1);

	line-height: 30px;
}

.detail_left .bianhao{
	width:100%;
	box-sizing: border-box;
	text-align: center;
	background-color: rgba(255,255,255,0.5);
	padding: 10px;
}
.detail_left .bianhao span{
	display: inline-block;
	color: #1e7c5a;
	font-weight: bolder;
    font-family: "AVANTI"; 
}
.detail_right dt.long{
	width:100%;
}

.detail_right dt.cp_name{
	width:100%;
	height: 60px;
	font-size: 40px;
	color:#1e7c5a;
	line-height: 60px;
	border-bottom: 0;
}
.detail_right dt span{
	color:#666;
	display: inline-block;
	padding-left: 10px;
}
.detail_right dt span.price{
	display: inline-block;
    color: #1e7c5a;
    font-weight: bolder;
    font-family: "AVANTI";
}
.dettail_row{
	width:100%;
	height: 70px;
	margin-top: -40px;
	position: relative;
}
.dettail_row .left{
	width:120px;
	height:50px;
	background: #1e7c5a;
	float: left;
}
.dettail_row .right{
	width: calc(100% - 120px);
	height:50px;
	background-color: rgba(0,0,0,.2);
	position: absolute;
	right: 0;
	bottom: 0;
}
.detail_wave{
	width:100%;
	height: 100%;
	position: absolute;
	background: url("../images/d_wave.png") no-repeat;
	background-size:100%;
	z-index: 10;
	top: 0;
	left: 0;
}
.de_con_div{
	width:100%;
	height: auto;
	background: #04613f;
	overflow: hidden;
}
.de_con_left{
	width:100%;
	height: 100px;
	float: left;
	overflow: hidden;
	background: #2f9481;
}
.de_con_left ul, .de_con_left li{
	list-style: none;
	margin: 0;
	padding: 0;
}
.de_con_left ul{
	width:60%;
	margin: 0 auto;
	height: auto;
	overflow: hidden;
}

.de_con_left li{
	width:33.333%;
	height: 105px;
	text-align: center;
	color: rgba(255,255,255,.5);
	cursor: pointer;
	float: left;
	line-height: 145px;
}
.de_con_left li:nth-child(1){
	background:url("../images/pic_fill.png")top center no-repeat;
	background-size: 30%;
}
.de_con_left li:nth-child(1).on{
	background:url("../images/pic_fill_on.png")top center no-repeat;
	background-size: 30%;
	color: #0a3928;
}
.de_con_left li:nth-child(2){
	background:url("../images/jifen_fill.png")top center no-repeat;
	background-size: 30%;
}
.de_con_left li:nth-child(2).on{
	background:url("../images/jifen_fill_on.png")top center no-repeat;
	background-size: 30%;
	color: #0a3928;
}
.de_con_left li:nth-child(3){
	background:url("../images/pencil_fill.png")top center no-repeat;
	background-size: 30%;
}
.de_con_left li:nth-child(3).on{
	background:url("../images/pencil_fill_on.png")top center no-repeat;
	background-size: 30%;
	color: #0a3928;
}
.de_con_right{
	width: 100%;
	height: auto;
	min-height: 480px;
	background: #3bb9a1;
	overflow: hidden;
	padding-bottom: 70px;
}
.detail_bar{
	width:100%;
	height: 75px;
	margin-top: 20px;
}
.detail_bar .left{
	width:80%;
	height: 100%;
	margin: 0 auto;
}
.detail_bar .ssjf{
    width: 100%;
    height: 40px;
    font-weight: 600;
    font-size: 20px;
    background: url(../images/yyt.png)left center no-repeat;
    background-size: 8%;
    padding-left: 50px;
    cursor: pointer;
    display: block;
    line-height: 45px;
}
.detail_bar .ssjf span{
	float: left;
	text-align: center;
	line-height: 85px;
	color: rgba(0,0,0,.5);
	cursor: pointer;
	font-size: 14px;
	font-weight: bold;
}
.detail_bar .left span{
	width:33%;
	height: 100%;
	float: left;
	text-align: center;
	line-height: 85px;
	color: rgba(0,0,0,.5);
	cursor: pointer;
}
.detail_bar .left span.yaofenxiang {
    background: url(../images/fenxiang.png)top center no-repeat;
    background-size: 25%;
}
.detail_bar .left span.yaoshoucang {
    background: url(../images/shoucang.png)top center no-repeat;
    background-size: 19%;
}
.detail_bar .left span.yaoshoucang.on {
    background: url(../images/shoucang_on.png)top center no-repeat;
    background-size: 32%;
}
.detail_bar .left span.zan {
    background: url(../images/good.png)top center no-repeat;
    background-size: 18%;
}
.detail_bar .left em{
	font-style: normal;
	color: rgba(0,0,0,.5);
}
.detail_bar .right{
	width:25%;
	height: 100%;
	float: left;
}
.detail_bar .right span{
	display: block;
	width:80%;
	height: 45px;
	background: #3bb9a1;
	border-radius: 50px;
	color: #fff;
	font-size: 24px;
	text-align: center;
	line-height: 45px;
	margin: 0 auto;
	cursor: pointer;
}
.de_con_right .d_tab{
	width:100%;
	height: auto;
	overflow: hidden;
	display: none;
}
.d_tab.on{
	display: block;
}
.de_con_tool{
	width:100%;
	height: auto;
	background: rgba(0,0,0,.3);
	box-sizing: border-box;
	overflow: hidden;
	padding: 15px;
	padding-bottom:10px;
}
#thumbs ul ,#thumbs li{
	list-style: none;
	margin: 0;
	padding: 0;
}
#thumbs li {
    display: block;
    float: left;
    width: calc(100%/6 - 5px)!important;
    height: 98px;
    border-radius: 0px;
    margin-bottom: calc(5px*6 /5);
    margin-right: calc(5px*6 /5);
}
#thumbs li:nth-child(6){
    margin-right:0;
}
#thumbs li img{
	border-radius: 0;
}
.de_con {
	width:100%;
	height: auto;
	overflow: hidden;
	box-sizing: border-box;
	padding: 30px;
}
.de_con ul ,.de_con li{
	list-style: none;
	padding: 0;
	margin: 0;
}
.de_con li{
	width:100%;
	height: auto;
	overflow: hidden;
	padding: 10px 0px;
	color: #15453c;
	border-bottom: 1px solid rgba(20,70,60,.1);
}
.de_con li span{
	width:calc(100% - 100px);
	color: #fff;
	display: block;
	float: left;
}
.de_con li a{
	color: #0cfdf4;
	text-decoration: none;
	display: inline-block;
	padding-left: 10px;
	padding-right: 10px;
}
.de_con li span.fwxm{
	width:90px;
	text-align: justify;
    text-align-last: justify;
	color: #15453c;
	padding-right: 10px;
	font-weight: 600;
}
#DataForm {
    width: 780px;
    margin: 0 auto;
    min-height: calc(100% - 380px);
    position: relative;
}
.serach-down {
    width: 780px;
    margin: 0 auto;
    height: auto;
    overflow: hidden;
}
.search-result {
    width: 100%;
    height: auto;
    overflow: hidden;
}
.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: 24px;
    line-height: 70px;
    padding-left: 30px;
	color: #fff;
	background: #3bb9a1;
	text-align: center;
}
.ssjg_div_t1 {
    height: 70px;
    font-size: 18px;
    line-height: 70px;
    padding-left: 30px;
	background: #3bb9a1;
	font-weight: 600;
	display: none;
}
.ssjg_div_t1 span {
    display: inline-block;
    margin-left: 10px;
    margin-right: 10px;
    color: #fff;
    font-weight: bold;
}
.h_search_div {
    width: 100%;
	height: 0;
}
.layui-form {
    width: 94%;
    height: auto;
    overflow: hidden;
    margin: 0 auto;
    position: relative;
}
.h_article {
    width: 590px;
    height: 60px;
    background: #3bb9a1;
    line-height: 60px;
    font-size: 24px;
    color: #000;
    text-align: center;
    border: 0;
    cursor: pointer;
    margin-left: 130px;
	border-radius: 5px;
}
#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: 50%!important;
    float: left!important;
    text-align: left;
    height: 30px;
    padding-bottom: 10px;
    background: url(../images/duoxuan.png) no-repeat;
    background-position: 6px 0px;
    background-size: 24%;
    border-bottom: 1px dashed #ccc;
    cursor: pointer;
    margin-top: 8px;
    box-sizing: border-box;
    padding-left: 25px;
    font-size: 12px;
    line-height: 16px;
}
.layui-anim .btn2 {
    width: 50%!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: 20px;
	font-size: 12px;
	line-height: 16px;
}
.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: #ffcf2f 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: #ffcf2f 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;
}

.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;
}
.list_area_01 .slide_down{
	display: none;
}
.list_area_01 .slide_up{
	display: none;
}
.list_marggin{
    width:100%;
    height: 0;
}
.phb_list{
	background: #3bb9a1;
    padding-top: 0;
}
.phb_list ul{
	width:100%;
	height: auto;
	overflow: hidden;
	margin: 0 auto;
	margin-bottom: 20px;
	min-height: 750px;
}
.phb_list li {
    width: 100%;
    height: auto;
    float: left;
    position: relative;
    margin-right: 20px;
    margin-top: 20px;
    box-sizing: border-box;
    background-color: rgba(150,210,220,.8);
    border-radius: 10px;
}
.phb_list li:nth-child(2n) {
    margin-right: 0;
}

/* 列表頁 phb_main 內的定點式卡片：抵消舊版 .phb_list ul / .phb_list li（排行榜等舊結構仍用該樣式） */
.phb_main .dy_list_div ul {
    min-height: 0;
    margin-bottom: 0;
}
.phb_main .dy_list_div li {
    float: none;
    clear: none;
    margin-right: 0;
    margin-top: 0;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    position: relative;
}

.phb_list .pic_div{
	width:40%;
	height: 185px;
    float: left;
    overflow: hidden;
    position: relative;
    border-radius: 10px;
    margin-left: 6px;
    margin-top: 6px;
    border: 4px solid rgba(128,72,45,.3);
}
.pic_div .phb_jianbian{
	position: absolute;
    height: 55px;
    margin: auto;
    width: calc(100% - 4px);
    left: 2px;
    bottom: 2px;
    border-radius: 8px;
    background-color: rgba(90,150,170,.9);
}
.phb_list li .cp_pingfen{
    position: absolute;
    width: 70px;
    height: 45px;
    padding-top: 4px;
    box-sizing: border-box;
    border-right: 1px solid rgba(255,255,255, 0.5);
    color: #fff;
    left: -146px;
    top: 142px;
    padding-left: 16px;
	text-align: center;
}
.phb_list li .cp_pingfen span {
    height: 100%;
    display: inline-block;
    font-family: "AVANTI";
    font-size: 18px;
    font-weight: 700;
    padding-left: 6px;
    padding-right: 4px;
    line-height: 45px;
}
.phb_list li .cp_name{
    position: absolute;
    width: 70px;
    height: 45px;
    border-left: 1px solid rgba(0,0,0, 0.3);
    color: #000;
    font-family: "Microsoft JhengHei";
    left: -78px;
    top: 143px;
    font-size: 20px;
    line-height: 45px;
    box-sizing: border-box;
    font-weight: 600;
	text-align: center;
}

.phb_list li .detail_div {
    width: 50%;
    padding-left: 10px;
    height: 205px;
    float: left;
    padding-top: 10px;
    box-sizing: border-box;
}
.detail_div dl, dt {
    padding: 0;
    margin: 0;
    font-family: "Microsoft JhengHei";
    font-weight: 800;
    font-size: 14px;
}
.detail_div dt {
	width: 100%;
    height: 25px;
	color: #2a4d5d;
    border-bottom: 1px solid rgba(255,255,255,.3);
}
.detail_div dt >span {
    display: inline-block;
    margin-right: 6px;
    color: #000;
    padding-left: 8px;
    line-height: 30px;
}
.detail_div dt .price {
    font-family: "AVANTI";
    font-weight: 600;
}
.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;
}
/* hl-search 表單樣式 - 來自 moban-4 */
.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: 5px;
    transition: all 0.3s ease;
    background: white;
    font-size: 13px;
    box-sizing: border-box;
}

.h_search_div .form-control:focus {
    outline: none;
    border-color: #47bca5;
    box-shadow: 0 0 0 3px rgba(2, 110, 90, 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: 5px;
    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: #47bca5;
    box-shadow: 0 0 0 3px rgba(2, 110, 90, 0.2);
}

.h_search_div .custom-select:focus {
    outline: none;
    border-color: #47bca5;
    box-shadow: 0 0 0 3px rgba(2, 110, 90, 0.2);
}

.h_search_div .custom-select-placeholder {
    color: #7f8c8d;
}

.h_search_div .select-wrapper.active .custom-select {
    border-color: #47bca5;
    box-shadow: 0 0 0 3px rgba(2, 110, 90, 0.2);
}

.h_search_div .area-selector.active .form-control {
    border-color: #47bca5;
    box-shadow: 0 0 0 3px rgba(2, 110, 90, 0.2);
}

.h_search_div .select-wrapper.active:after,
.h_search_div .area-selector.active:after {
    border-top-color: #47bca5;
}

.h_search_div .select-option.selected {
    background: #47bca5;
    color: #fff;
}

.h_search_div .select-option:hover {
    background: #fff9e6;
    color: #000;
}

.h_search_div .checkbox-container {
    display: block;
    margin-top: 15px;
    padding-bottom: 110px;
}

.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: 5px;
    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: #07bc99;
    color: white;
    border-color: #03af8e;
}

.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: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.h_search_div .btn-primary {
    background: linear-gradient(135deg, #94d6c9, #10a185);
    color: white;
    text-align: center;
}

.h_search_div .btn-primary:hover {
    background: #10a185;
    transform: translateY(-2px);
}

.h_search_div .btn-outline {
    background: transparent;
    border: 1px solid #10a185;
    color: #10a185;
    text-align: center;
}

.h_search_div .btn-outline:hover {
    background: #10a185;
    color: #fff;
}

.h_search_div .area-selector {
    position: relative;
}

.h_search_div .area-selector:hover {
    border-color: #10a185;
}

.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: min(60vh, 420px);
    opacity: 1;
    transform: translateY(0);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.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;
    flex-shrink: 0;
}

.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;
    flex: 1 1 auto;
    min-height: 0;
    max-height: none;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    font-size: 13px;
}

/* 地區下拉開啓時勿被外層 overflow:hidden 裁切 */
.serach-down:has(.area-dropdown.show),
.h_search_div:has(.area-dropdown.show),
.layui-form:has(.area-dropdown.show) {
    overflow: visible;
}

.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: #f1f8ff;
}

.h_search_div .area-option label {
    font-weight: normal;
    margin-bottom: 0;
}

.h_search_div .area-option input {
    margin-right: 10px;
    cursor: pointer;
}

.h_search_div .btn-link {
    background: none;
    border: none;
    color: #f90;
    cursor: pointer;
    font-size: 14px;
    margin-left: 10px;
    transition: color 0.2s ease;
}

.h_search_div .btn-link:hover {
    text-decoration: underline;
}

.h_search_div .loading {
    text-align: center;
    padding: 20px;
    color: #7f8c8d;
}

.h_search_div .loading i {
    animation: spin 1s linear infinite;
    margin-right: 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.h_search_div .hidden-input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.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 .select-all-btn {
    position: absolute;
    right: 40px;
    top: 0;
    background: none;
    border: none;
    color: #027c65;
    cursor: pointer;
    font-size: 14px;
    padding: 0 5px;
    font-weight: 600;
}

.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: #027c65;
    cursor: pointer;
    font-size: 14px;
    padding: 0 5px;
    font-weight: 600;
}

.h_search_div .invert-selection-btn:hover {
    text-decoration: underline;
}

.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: #f1f8ff;
    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-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: #fdb956;
    border-color: #e2982b;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 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 .area-options {
    padding: 8px;
    margin: 5px;
    background: #fff;
}

.h_search_div .area-options::-webkit-scrollbar {
    width: 8px;
}

.h_search_div .area-options::-webkit-scrollbar-track {
    background: #f5f5f5;
    border-radius: 4px;
}

.h_search_div .area-options::-webkit-scrollbar-thumb {
    background: #3bb9a1;
    border-radius: 4px;
}

.h_search_div .area-options::-webkit-scrollbar-thumb:hover {
    background: #94d6c9;
}

.h_search_div .select-dropdown::-webkit-scrollbar {
    width: 8px;
}

.h_search_div .select-dropdown::-webkit-scrollbar-track {
    background: #f5f5f5;
    border-radius: 4px;
}

.h_search_div .select-dropdown::-webkit-scrollbar-thumb {
    background: #3bb9a1;
    border-radius: 4px;
}

.h_search_div .select-dropdown::-webkit-scrollbar-thumb:hover {
    background: #94d6c9;
}

.h_search_div .select-dropdown {
    scrollbar-width: thin;
    scrollbar-color: #3bb9a1 #f5f5f5;
}

.h_search_div .message {
    padding: 15px;
    margin: 15px 0;
    border-radius: 6px;
    text-align: center;
    transition: all 0.3s ease;
}

.h_search_div .message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.h_search_div .message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.h_search_div .message.info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

.h_search_div .error-toast {
    position: fixed;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    color: #f00;
    padding: 15px 25px;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    transition: top 0.5s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 2px solid #f00;
}

.h_search_div .error-toast.show {
    top: 20px;
}

.h_search_div .error-toast i {
    font-size: 18px;
}

.h_search_div .select-option.error {
    color: #dc3545;
    cursor: not-allowed;
    background: #f8f9fa;
}

.h_search_div .select-option.error:hover {
    background: #f8f9fa;
}
.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 {
    width: 100%;
    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: 100px;
    z-index: 89;
    display: none;
    margin: auto;
	padding-top: 10px;
}
.kefu_ca .container{
	display: flex;
	width: 100%;
	background-color: rgba(29,124,90, 0.5);
	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-1 一致） */
.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: white;
    border-radius: 20px;
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    width: 100%;
    max-width: min(430px, 100vw);
    height: 430px;
    margin: auto;
    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 #eee;
}

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

.customer-service-modal .close-btn {
    background: none;
    border: none;
    font-size: 20px;
    color: #666;
    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: #f0f0f0;
}

.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: #f9f9f9;
    margin-bottom: 10px;
}

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

.customer-service-modal .service-text {
    margin: 0;
    font-size: 16px;
    color: #666;
    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: 20px;
    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;
}

#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;
}
/* 首頁輪播圖 - 使用moban-4的佈局和樣式 */
.carousel-container {
    width: 100%;
    max-width: var(--container);
}

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

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

.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: 18px;
}

.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;
    text-shadow: 0 0 3px rgba(0,0,0,.7);
}

.details-slide .caption {
    display: none;
}

.carousel-slide .caption h2 {
    font-size: clamp(1.125rem, 3.2vw + 0.35rem, 1.75rem);
    line-height: 1.22;
    margin-bottom: clamp(6px, 1.5vw, 10px);
    font-weight: 700;
}

.carousel-slide .caption h3 {
    font-size: clamp(1rem, 2.6vw + 0.3rem, 1.5rem);
    line-height: 1.22;
    margin-bottom: clamp(6px, 1.5vw, 10px);
    font-weight: 600;
}

.carousel-slide .caption p {
    font-size: 14px;
    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-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;
}

.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;
}

.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;
}

/* 縮圖 */
.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;
}


.main_list{
    background: #3bb9a1;
    padding-bottom: 50px;
}
.breadcrumb{
    display: none;
}
/* sub-header 樣式 - 來自 moban-1 */
.sub-header {
    text-align: center;
    background: linear-gradient(to bottom, #f2f2f2, #eef2f3);
    padding: 20px 0;
}

.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;
    -webkit-background-clip: text;
    background-clip: text;
    color: #333;
}

.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;
}

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

.sub-container {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    background-color: #3bb9a1;
    padding: 50px;
    box-sizing: border-box;
    /* PC 寬屏下表格列較多時，限制在容器內橫向捲動，避免撐出視窗 */
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    min-height: 410px;
}

@media (min-width: 769px) {
    .sub-container {
        padding: 32px 16px 40px;
    }
}

/* tabs 樣式 - 來自 moban-1 */
.tabs {
    display: flex;
    background: #57e9cc;
    border-radius: 10px;
    padding: 5px;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    color: #fff;
    font-weight: 600;
}
.tabs a{
    text-decoration: none;
    color: rgba(255,255,255,0.7);
}
.tab {
    padding: 10px 20px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
    z-index: 1;
    width: 25%;
    text-align: center;
    font-weight: 600;
    color: #69888d;
}

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

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

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

.sub-container .tab-content,
.sub-container .tab-content.active {
    max-width: 100%;
    min-width: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    margin-top: 10px;
}

.filter-option {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
}

.filter-option:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

.filter-option.active {
    background: rgba(255, 255, 255, 0.8);
    color: #000;
    font-weight: 600;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* 排行榜表格樣式 - 來自 moban-1 */
.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: 60px;
    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;
    box-sizing: border-box;
    flex-shrink: 0;
}

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

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.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: #0a8a71;
    font-size: 12px;
}

.meta{
    font-size: 12px;
    color: #0a8a71;  
}

.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;
}

.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;
    min-width: 0;
    box-sizing: border-box;
}

.points-table .general-detail .general-icons {
    gap: 10px;
    padding: 0 4px;
}

.points-table .general-detail .general-icons ul,
.points-table .general-detail .general-icons uL {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 0;
}

.points-table td .general-detail,
.points-table td .trend-indicator {
    min-width: 0;
    max-width: 100%;
}

.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: #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, #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: clip;
}

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

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

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

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

@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%;
    max-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;
    background: rgba(255,255,255,0.7);
    table-layout: fixed;
}

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

.points-table td {
    padding: 12px 8px;
    text-align: center;
    height: 40px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: clip;
    vertical-align: top;
    box-sizing: border-box;
}

.points-table th {
    background: #eaf7ff;
    border-bottom: 1px solid #dde9f1;
    color: #333;
    position: relative;
    font-size: 16px;
    font-weight: normal;
}

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

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

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

.points-table th.General {
    width: 28%;
    min-width: 13rem;
}

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

.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 #c3d6e2;
}

.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-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 th.General,
.points-table td[data-label="綜合"] {
    display: table-cell !important;
}

/* PC：綜合列收藏/讚/留言完整顯示（不受全表 td overflow:hidden 與 max-width 限制） */
.points-table td[data-label="綜合"] {
    overflow: visible;
    white-space: nowrap;
}

.points-table td[data-label="綜合"] .general-detail {
    max-width: none;
    overflow: visible;
}

.points-table td[data-label="綜合"] .general-detail .general-icons,
.points-table td[data-label="綜合"] .general-detail .general-icons ul,
.points-table td[data-label="綜合"] .general-detail .general-icons uL {
    min-width: max-content;
    flex-shrink: 0;
}

/* 移動端適配：評分排行等（參照 moban-4；內容單行完整顯示時可橫向捲動） */
@media (max-width: 768px) {
    .sub-section {
        /* padding: 13px; */
        padding-top: 0;
        min-height: calc(100vh - 234px);
    }

    .sub-header {
        padding-top: 2rem;
    }

    .sub-header h1 {
        font-size: 24px;
    }

    .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;
        table-layout: auto;
    }

    .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 / td[data-label="綜合"] 的 table-cell !important */
    .points-table th.General,
    .points-table td[data-label="綜合"] {
        display: none !important;
    }

    .points-table td {
        padding: 8px;
    }

    .top-rank {
        width: 30px;
        height: 30px;
        font-size: 16px;
    }

    .player {
        justify-content: left;
        gap: 6px;
    }

    .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;
    }
}

.general-empty{
    width:100%;
    text-align: center;
    font-size: 16px;
    padding-left: 0;
    padding-bottom: 30px;
    color: #666;
    grid-column: 1 / -1;
}

.general-empty span{
    color: #ccc;
    margin-right: 8px;
}
/* 排序容器和按鈕樣式 - 從 moban-1 複製 */
.sort-container {
    width: 96%;
    margin: 0 auto;
}

.sort-buttons {
    width: 100%;
    display: flex;
    background: #57e9cc;
    border-radius: 10px;
    overflow: hidden;
}

.sort-btn {
    flex: 1;
    padding: 10px 0;
    background: transparent;
    border: none;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 16px;
    font-weight: normal;
    position: relative;
    z-index: 100;
    text-decoration: none;
}

.sort-btn:hover {
    background: rgba(52, 152, 219, 0.15);
}

.sort-btn.active {
    background: rgba(255, 255, 255, .6);
    color:#000;
    font-weight: 600;
}

.sort-btn .arrow {
    transition: transform 0.3s ease;
}

.sort-btn.desc .arrow {
    transform: rotate(180deg);
}
.list_div_row{
    padding-top: 30px;
}
.list_area_01{
    width:96%;
    margin:0 auto;

}
/* search-results 樣式 - 來自 moban-4 */
.results-header {
    text-align: center;
    color: rgb(86, 100, 106);
    font-size: 14px;
    background: rgb(253, 253, 255);
    padding-bottom: 30px;
}

.results-header h1 {
    font-size: 1.8rem;
    color: #000;
}

.homepage_logo {
    top: 109px;
}

.filter-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #3bb9a1;
    color: white;
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s;
}

.filter-toggle:hover {
    background: #079f82;
    transform: translateY(-2px);
}

.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: #3bb9a1;
    margin-right: 6px;
}

.sidebar-header svg {
    width: 24px;
    height: 24px;
    cursor: pointer;
    fill: #666;
}

.search-criteria {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.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;
}
.filter-sidebar .facet-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 8px;
    padding: 0 6px;
    height: 20px;
    border-radius: 60px;
    background: #c8fbf1;
    font-size: 11px;
    color: #333;
    margin-left: 3px;
}
.filter-sidebar .criteria-value.active .facet-count {
    background: #fff;
    color: #048f74;
}
.sidebar-footer {
    margin-bottom: 40px;
    padding-top: 20px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 15px;
}
.filter-sidebar .btn-primary {
    background-color: #3bb9a1;
    color: white;
    text-align: center;
    border: none;
    padding: 8px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}
.filter-sidebar .btn-secondary {
    background: transparent;
    border: 1px solid #333;
    color: #aaa;
    text-align: center;
    padding: 8px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}
.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: 6px;
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
    min-height: 60px;
    text-align: left;
}

.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: 4px;
    background: #029176;
    color: #fff;
    border: 1px solid #94d6c9;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 12px;
    font-weight: 500;
}

.criteria-value:not(.active) {
    background: #e3fbf6;
    color: #666;
    border: 1px solid #acf4e6;
}

.criteria-value:hover {
    background: #e3f2fd;
    border-color: #2196f3;
    color: #015b4a;
    transform: translateY(-1px);
}

.criteria-value:not(.active):hover {
    background: #b5f9ec;
    border-color: #000;
    color: #3bb9a1;
}

.criteria-item strong {
    display: block;
    margin-bottom: 5px;
    color: #000;
    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;
}

.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禁 -------
   實際容器是 #agreementBox.agreement-box，
   不可再用全域 .container / h1 / p，以免覆蓋業務頁版面。 */
.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);
    }
}


.container.result-container {
    max-width: 780px;
    margin: 0 auto;
    border-radius: 0;
}
.main_list.serach{
    padding-top: 30px;
}
.results-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin: 0 auto;
    width:91%;
    margin-bottom: 1.5rem;
}

.results-count {
    font-size: 15px;
    color: #333;
    display: flex;
    width: 50%;
    height: 100%;
    align-items: center;
}

.results-count i {
    color: #6ec902;
    margin-right: 6px;
}

.results-count strong {
    color: #f90;
    font-weight: 600;
    padding: 0 4px;
}

.sort-filter {
    display: flex;
    gap: 1rem;
    align-items: center;
    width: 50%;
    justify-content: end;
}

.sort-filter button {
    border-radius: 5px;
    background: #3498db;
    color: white;
    border: none;
    cursor: pointer;
}

.sort-filter button:hover {
    background: #2980b9;
    transform: translateY(-2px);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.product-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-image {
    height: 200px;
    background: linear-gradient(135deg, rgb(97, 209, 251), rgb(1, 184, 252));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
}

.product-image .no-images {
    width: 40%;
}

.product-info {
    padding: 1.5rem;
    padding-top: 0;
}

.product-name {
    font-size: 1.3rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 0.5rem;
    text-align: left;
}

.product-brand {
    color: #667eea;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.product-details {
    display: grid;
    gap: 0.5rem;
    margin: 1rem 0;
}

.detail-item {
    display: flex;
    padding: 0.3rem 0;
    border-bottom: 1px solid #eee;
    font-size: 14px;
}

.detail-label {
    color: #000;
    font-weight: 600;
}

.detail-value {
    color: #999;
    font-weight: 600;
    margin-left: 6px;
}

.product-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.favorited {
    color: #fff;
    background: #3498db;
}

.pagination {
    display: flex;
    justify-content: center;
    margin: 2rem 0;
}

.page-btn.active {
    margin: 0 5px;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #bad8d2;
    border-radius: 4px;
    background: white;
    color: #3bb9a1;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
}

.page-btn i {
    font-size: 18px;
}

.page-btn:hover {
    border: 1px solid #bad8d2;
    border-radius: 4px;
    background: white;
    color: #3bb9a1;
}

.page-btn {
    background: #3bb9a1;
    color: white;
    border-color: #94d6c9;
    margin: 0 5px;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #bad8d2;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
}

.page-btn:disabled,
.page-btn[disabled] {
    opacity: 0.5;
    cursor: not-allowed;
    background: #f5f5f5;
    color: #999;
    border-color: #ddd;
}

.page-btn:disabled:hover,
.page-btn[disabled]:hover {
    background: #f5f5f5;
    color: #999;
    border-color: #ddd;
}

.page-ellipsis {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 5px;
    width: 40px;
    height: 40px;
    color: #666;
    font-size: 16px;
}

.loading {
    text-align: center;
    padding: 3rem;
    color: #666;
    grid-column: 1 / -1;
}

.loading i {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #3bb9a1;
}

.no-results {
    text-align: center;
    padding: 3rem;
    color: #ddd;
    grid-column: 1 / -1;
}

.no-results h3 {
    font-size: 24px;
}

.no-results p {
    color: #ddd;
    font-size: 14px;
}

.no-results i {
    font-size: 4rem;
    color: #ddd;
    margin-bottom: 1rem;
}

.product-actions .btn {
    font-size: 14px;
    padding: 9px 20px;
}
/* ============================================
   moban-4 leda-details.html 樣式整合
   ============================================ */

/* 容器樣式 */
.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;
    height: 540px;
    border-radius: 15px;
    overflow: visible;
    box-shadow: 0 10px 25px rgba(210, 247, 239, 0.8);
    padding: 10px;
}

.product-gallery aside {
    display: block !important;
    max-width: 100%;
    background: transparent;
    padding: 0;
    overflow: visible;
    height: 100%;
}

.product-gallery .carousel-container {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    height: 100%;
    border-radius: 8px;
    overflow: hidden;
}

.product-gallery .main-image {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    height: calc(100% - 82px);
}

.product-detail .product-info {
    min-width: 0;
}

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

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

/* 詳情頁：移動端輪播與文案上下排列（與 PC 雙欄區分） */
@media (max-width: 768px) {
    .product-detail {
        grid-template-columns: 1fr;
        gap: 18px;
    }



    .product-detail .product-info {
        width: 100%;
        max-width: 100%;
        min-height: 0;
        padding: 16px;
        box-sizing: border-box;
    }
}

.main-image {
    width: 100%;
    height: 100%;
    position: relative;
    flex-shrink: 0;
}

/* 產品頭部 */
.product-header {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 0;
}

.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, #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);
    }
    50% {
        transform: scale(1.05);
    }
}

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

/* 倒計時器樣式 */
.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;
}

/* 產品特性 */
.product-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 20px;
}

.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-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);
}

/* 時長價格面板 */
.duration-price-panel {
    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;
}

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

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

.duration-label {
    font-weight: 600;
    color: #2c3e50;
    margin-right: 10px;
}

.duration-value {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 8px;
}

.duration-original {
    text-decoration: line-through;
    color: #95a5a6;
    font-size: 0.9rem;
}

.duration-current {
    color: #2ea392;
    font-weight: 700;
    font-size: 1rem;
}

/* 產品規格 */
.product-specs {
    margin-bottom: 40px;
}

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

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

.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 #3bb9a1;
    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;
}

.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;
    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;
}
.rating-value{
    color: #05ab67;
    padding: 0 5px;
}
.rating-participants {
    font-size: 14px;
    color: #666;
}

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

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

/* 雷達圖樣式 */
.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(150, 215, 200, 0.12),
        0 2px 10px rgba(150, 215, 200, 0.08);
    border: 1px solid rgba(150, 215, 200, 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(150, 215, 200, 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(150, 215, 200, 0.08),
        0 4px 20px rgba(150, 215, 200, 0.12);
    border: 1px solid rgba(150, 215, 200, 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;
}

@media (max-width: 768px) {
    .radar-controls {
        grid-template-columns: 1fr;
        gap: 12px;
        max-width: 100%;
    }
}

.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(150, 215, 200, 0.1);
    border: 1px solid rgba(150, 215, 200, 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(150, 215, 200, 0.1);
}

.radar-slider {
    width: 100%;
    margin: 5px 0;
    background: rgba(60, 185, 160, 0.3);
    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, #94d6c9, #3bb9a1);
    cursor: pointer;
    box-shadow: 0 0 8px rgba(150, 215, 200, 0.4);
    border: 2px solid #b5f9ec;
}

.radar-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, #94d6c9, #3bb9a1);
    cursor: pointer;
    box-shadow: 0 0 8px rgba(150, 215, 200, 0.4);
    border: 2px solid #b5f9ec;
}

.radar-value {
    font-weight: 700;
    color: #03836b;
    font-size: 1rem;
    font-family: avenir;
}

.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;
    box-shadow: 0 0 8px rgba(150, 215, 200, 0.3);
}

.tick::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 4px;
    background-color: #33b199;
    box-shadow: 0 0 2px rgba(150, 215, 200, 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(150, 215, 200, 0.1);
    position: relative;
    z-index: 1;
}

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

.submit-rating-btn {
    background: linear-gradient(135deg, #94d6c9, #3bb9a1);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 12px 32px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(150, 215, 200, 0.3);
}

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

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

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

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

/* 評價控制區域 */
.review-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    justify-content: space-between;
    margin-top: 24px;
    margin-bottom: 12px;
    padding: 0 15px;
}

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

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

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

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

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

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

/* 評論列表 */
.review-list {
    background: #fff;
    border-radius: 12px;
    padding: 0 16px;
    grid-column: 1 / -1;
}

/* 評論輸入框 */
.comment-input-footer {
    margin-top: 12px;
    padding: 16px;
    padding-top: 26px;
    padding-bottom: 140px;
    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 #c8e7e1;
    border-radius: 6px;
    background: #e8fefa;
    font-size: 14px;
    color: #000;
    outline: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

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

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

.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.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 {
    margin-top: 12px;
    padding: 16px;
    background: #fff;
    border-radius: 0 0 12px 12px;
    border-top: 1px solid #f5f5f5;
    animation: slideUp 0.3s ease-out;
    padding-bottom: 80px;
}

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

.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: #03d17c;
    font-weight: 500;
}

.reply-target-content {
    font-size: 13px;
    color: #999;
    padding: 8px 12px;
    background: #f5f5f5;
    border-radius: 6px;
    margin-top: 4px;
    border-left: 3px solid #3bb9a1;
}

.input-row {
    margin-bottom: 12px;
}

.reply-text-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #b6e4db;
    border-radius: 12px;
    background: #f8f9fa;
    font-size: 14px;
    color: #333;
    outline: none;
    transition: all 0.3s ease;
    resize: vertical;
    min-height: 80px;
    font-family: inherit;
    box-sizing: border-box;
}

.reply-text-input:focus {
    background: #fff;
    border-color: #93cbc0;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.05);
}

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

.media-preview-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.attachment-upload-indicator {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #ffb400;
    line-height: 1.4;
}

.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;
}

.input-btn:hover {
    background: #f5f5f5;
    color: #333;
}

/* 傳送和取消按鈕 */
.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);
}

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

/* ============================================
   縮圖樣式 (moban-4)
   ============================================ */

/* 縮圖容器 */
.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;
}

/* 美化捲軸 - 桌面端 */
.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 {
    opacity: 0.8;
    box-shadow: 0 8px 20px rgba(52, 152, 219, 0.25);
}

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

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

/* 排行榜縮圖容器 */
.rank-thumbnails-container {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    padding: 0;
    gap: 4px;
}

.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;
}

/* 輪播指示器 - 點 */
.dots {
    width: 30%;
    position: absolute;
    bottom: 20px;
    right: 10px;
    display: flex;
    justify-content: space-between;
    gap: 4px;
    z-index: 20;
}

.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;
}

/* 輪播指示器容器 */
.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;
}

.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;
}

/* 計數器 */
.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;
}

/* 全屏模式下的指示器樣式已在下方定義 */

/* ============================================
   輪播大圖樣式 (moban-4)
   ============================================ */

/* 輪播容器 */
.carousel-container {
    width: 100%;
    max-width: var(--container);
}

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

.carousel-container.subpage .main-image {
    overflow: hidden;
    border-radius: 8px 8px 0 0;
    max-width: 100%;
    white-space: nowrap;
}

/* 輪播主體 */
.carousel {
    position: relative;
    width: 100%;
    max-width: var(--container);
    overflow: hidden;
    perspective: 1200px;
    touch-action: pan-y;
}

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

/* 主圖容器 */
.main-image {
    width: 100%;
    height: 100%;
    position: relative;
    flex-shrink: 0;
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* .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%;
}

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

/* 浮動狀態下圖片完整顯示，不裁切 */
.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;
}

/* 輪播軌道 */
.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%);
}

.float-active .carousel-track {
    height: 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;
}

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

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

.details-slide .caption {
    display: none;
}

/* 輪播幻燈片 */
.carousel-slide {
    display: flex;
    align-items: center;
    justify-content: center;
}

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

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

/* 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;
}

/* 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;
}

.carousel-slide .caption h2 {
    font-size: clamp(1.125rem, 3.2vw + 0.35rem, 1.75rem);
    line-height: 1.22;
    margin-bottom: clamp(6px, 1.5vw, 10px);
    font-weight: 700;
}

.carousel-slide .caption h3 {
    font-size: clamp(1rem, 2.6vw + 0.3rem, 1.5rem);
    line-height: 1.22;
    margin-bottom: clamp(6px, 1.5vw, 10px);
    font-weight: 600;
}

.carousel-slide .caption p {
    font-size: 14px;
    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-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;
}

.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);
}

/* 全屏容器樣式 */
.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;
}

/* 全屏退出動畫 */
.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;
}

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

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

/* 影片播放按鈕 */
.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;
}

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

/* ============================================
   全屏模式關閉按鈕樣式 (moban-4)
   ============================================ */

.close-carousel {
    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: 0;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

.close-carousel:hover {
    background: rgba(0, 0, 0, 0.5);
    transform: scale(1.1);
}

.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;
}

/* ============================================
   評論列表樣式 (moban-4)
   ============================================ */

/* 評論列表容器 */
.review-list {
    background: #fff;
    border-radius: 12px;
    padding: 0 16px;
    grid-column: 1 / -1;
}

/* 評論項 */
.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 {
    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;
    box-sizing: border-box;
}

.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-column: 1 / -1;
}

.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;
    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;
    box-sizing: border-box;
}

/* 當評論被刪除時，隱藏操作按鈕 */
.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.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);
    }
}

/* 評論影片覆蓋層 */
.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;
}

/* ============================================
   回覆列表樣式 (moban-4)
   ============================================ */

/* 回覆列表 */
.reply-list {
    margin-top: 10px;
    padding: 10px 12px;
    background: #e6fef9;
    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.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-new {
    font-size: 14px;
    line-height: 1.5;
    color: #666;
    margin-bottom: 6px;
    margin-top: 8px;
    margin-left: 10px;
    padding: 8px 10px;
    padding-left: 12px;
    word-break: break-all;
    font-family: pingfang;
    background: #f3fdfb;
    border-left: 2px solid #adfdee;
    border-radius: 4px;
}

/* 巢狀的reply-item-new，每層再增加縮排 */
.reply-item-new .reply-item-new {
    margin-left: 10px;
    border-left-color: #97d6ca;
    background-color: #fff;
}

.reply-item-new .reply-item-new .reply-item-new {
    margin-left: 10px;
    border-left-color: #73bfb0;
}

.reply-item-new .reply-item-new .reply-item-new .reply-item-new {
    margin-left: 10px;
    border-left-color: #248976;
}

.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: #01997c;
    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: color 0.2s ease;
}

.show-more-replies:hover {
    color: #007aff;
    text-decoration: underline;
}

/* ============================================
   回覆輸入模組按鈕樣式 (moban-4)
   ============================================ */

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

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

.reply-input-module .cancel-btn {
    background: #fff;
    color: #666;
    border: 1px solid #d0d0d0;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 60px;
}

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

.reply-input-module .send-btn {
    background: #ff2442;
    color: #fff;
    box-shadow: 0 2px 4px rgba(255, 36, 66, 0.2);
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 60px;
    border: none;
}

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

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

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

/* 回覆提交按鈕 */
.reply-submit-btn {
    background: linear-gradient(135deg, #ff2442 0%, #ff6b6b 100%);
    color: #fff;
    box-shadow: 0 2px 8px rgba(255, 36, 66, 0.2);
    padding: 5px 14px;
    border: none;
    border-radius: 6px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 500;
}

.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);
}

/* ============================================
   表情選擇器彈框樣式 (moban-4)
   ============================================ */

.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;
}

/* ============================================
   圖片上傳預覽樣式 (moban-4)
   ============================================ */

/* 圖片預覽容器 */
.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);
}

/* 媒體預覽列表 */
.media-preview-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 12px;
    padding: 0;
}

/* 媒體項容器 */
.media-preview-list .media-item {
    position: relative;
    width: 96px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    cursor: move;
    transition: all 0.2s ease;
}

.media-preview-list .media-item:hover {
    transform: translateY(-2px);
}

.media-preview-list .media-item.dragging {
    opacity: 0.5;
    cursor: grabbing;
}

/* 媒體包裝器 */
.media-preview-list .media-wrapper {
    position: relative;
    width: 96px;
    height: 96px;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid #eaf7ff;
    background: #f7f7f7;
    cursor: pointer;
}

/* 媒體預覽圖片/影片 */
.media-preview-list .media-preview {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 影片預覽容器 */
.media-preview-list .video-preview {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.media-preview-list .video-preview video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 播放圖示 */
.media-preview-list .play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 32px;
    height: 32px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    z-index: 2;
}

.media-preview-list .play-icon i {
    margin-left: 2px;
}

/* 檔名 */
.media-preview-list .file-name {
    font-size: 11px;
    color: #666;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 96px;
    line-height: 1.3;
}

/* 媒體操作按鈕 */
.media-preview-list .media-action-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;
    z-index: 10;
    padding: 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.media-preview-list .media-action-btn:hover {
    background: #cc0000;
    transform: scale(1.1);
}

.media-preview-list .media-action-btn.delete-btn {
    background: #ff4444;
}

.media-preview-list .media-action-btn.delete-btn:hover {
    background: #cc0000;
}

/* 上傳狀態徽章 */
.media-preview-list .media-upload-status {
    position: absolute;
    top: 8px;
    left: 8px;
    background: rgba(0, 0, 0, 0.65);
    color: #fff;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
    z-index: 5;
    font-weight: 500;
}

.media-preview-list .media-upload-status i {
    font-size: 10px;
}

/* 上傳中遮罩層 */
.media-preview-list .media-uploading-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: #fff;
    font-size: 12px;
    letter-spacing: 0.5px;
    z-index: 3;
}

.media-preview-list .media-uploading-overlay i {
    font-size: 18px;
}

/* 相容舊的 media-preview-item 類名 */
.media-preview-list .media-preview-item {
    position: relative;
    width: 96px;
    height: 96px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid #eaf7ff;
    background: #f7f7f7;
}

.media-preview-list .media-preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.media-preview-list .media-preview-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.media-preview-list .remove-media-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;
    z-index: 10;
}

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

/* 附件上傳指示器 */
.attachment-upload-indicator {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #ffb400;
    line-height: 1.4;
    margin-top: 8px;
}

.attachment-upload-indicator .indicator-icon {
    font-size: 14px;
}

.attachment-upload-indicator .indicator-text {
    font-size: 12px;
}

/* ============================================
   Toast 確認框樣式 (moban-4)
   ============================================ */

.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;
}


/* ============================================
   移動端響應式樣式 (moban-4)
   ============================================ */
.div_mar{
    height: 110px;
}
@media only screen and (max-width: 767px) {
    /* 移動端表情選擇器彈框樣式 */
    .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;
    }


    /* 媒體預覽列表移動端適配 */
    .media-preview-list {
        gap: 8px;
    }

    .media-preview-list .media-item {
        width: 80px;
    }

    .media-preview-list .media-wrapper {
        width: 80px;
        height: 80px;
    }

    .media-preview-list .file-name {
        font-size: 10px;
        max-width: 80px;
    }

    .media-preview-list .media-preview-item {
        width: 80px;
        height: 80px;
    }

    /* 客服彈窗：底部上滑；限制在視口內（避免 left:-17px / 雙欄 QR 撐出橫向捲動） */
    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: 10px max(12px, env(safe-area-inset-left, 0px)) max(10px, env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-right, 0px));
        border-radius: 20px 20px 0 0;
        box-sizing: border-box;
        overflow: hidden;
        display: flex;
        flex-direction: column;
    }

    .customer-service-modal .modal-header {
        flex-shrink: 0;
        margin-bottom: 6px;
        padding-bottom: 6px;
        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: center;
        overflow: hidden;
        text-align: center;
        padding-top: 60px;
    }

    .customer-service-modal .qr-codes-container {
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: clamp(6px, 2vw, 10px);
        margin-bottom: 6px;
        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;
    }
}
@media only screen and (max-width: 767px) {
    .comment-input-footer {
        padding-bottom: 160px;
    }
    .reply-input-module{
        padding-bottom: 120px; 
    }

    /* 新菜頁面標題移動端適配 */
    .phb_list_title {
        width: 100%;
        height: auto;
        min-height: 120px;
        padding: 15px 10px;
        box-sizing: border-box;
    }

    .phb_list_title_left {
        width: 100%;
        height: auto;
        font-size: 48px;
        line-height: 48px;
        text-align: center;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 15px;
        flex-wrap: wrap;
        font-weight: bolder;
    }

    .phb_list_title_left a {
        width: 2em;
        min-width: 2em;
        max-width: 2em;
        font-size: 48px;
        line-height: 48px;
        padding: 0;
        text-align: center;
        font-weight: bolder;
        color: rgba(255,255,255,.2);
        display: inline-block;
    }

    .phb_list_title_left a.on {
        color: #fff;
        text-shadow: 0 0 5px rgba(0,0,0,0.8);
    }

    .phb_list_title_left a.ht_on {
        color: #fff;
        text-shadow: 0 0 5px rgba(0,0,0,0.8);
    }
}
/* 定點/外約 Grid佈局媒體查詢 */
@media only screen and (max-width: 680px) {
	.dy_list_div ul {
		grid-template-columns: repeat(2, 1fr);
        padding: 10px;
	}
    .ppiicc{
        min-height: auto;
    }
}

/* index_header：平板 / 手機流體適配（541px–767px 與小屏共用基線，≤540px 再收緊） */
@media only screen and (max-width: 767px) {
    .index_header {
        --ih-logo: clamp(56px, 15vw, 80px);
        --ih-name: clamp(16px, 4.8vw, 22px);
        --ih-search-h: clamp(38px, 10.5vw, 48px);
        --ih-search-fs: clamp(13px, 3.6vw, 16px);
        --ih-adv-fs: clamp(12px, 3.2vw, 15px);
        --ih-marquee-fs: clamp(11px, 3vw, 13px);
        --ih-login: clamp(38px, 10.5vw, 50px);
        height: auto;
        min-height: clamp(188px, 50vw, 260px);
    }

    .index_header .header_bg {
        height: clamp(195px, 52vw, 268px);
        background-size: clamp(72%, 88vw, 92%);
    }

    .index_header .header_div_row {
        height: auto;
        min-height: inherit;
        overflow: visible;
    }

    .index_h_d1 {
        display: flex;
        flex-wrap: nowrap;
        align-items: flex-start;
        width: 100%;
        height: auto;
        min-height: clamp(148px, 40vw, 210px);
        padding-left: clamp(6px, 2vw, 14px);
        overflow: visible;
        box-sizing: border-box;
    }

    .index_h_d1 .header_left {
        float: none;
        flex: 0 0 auto;
        width: clamp(72px, 22vw, 108px);
        height: auto;
        min-height: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .index_h_d1 .header_right {
        float: none;
        flex: 1 1 0;
        min-width: 0;
        width: auto;
        height: auto;
        min-height: clamp(128px, 34vw, 168px);
        padding-top: clamp(22px, 6.5vw, 44px);
        padding-left: clamp(4px, 1.5vw, 12px);
        padding-right: clamp(52px, 15vw, 76px);
        box-sizing: border-box;
    }

    .header_left .user_logo {
        width: var(--ih-logo);
        height: var(--ih-logo);
        border-width: clamp(3px, 0.9vw, 5px);
        margin-top: clamp(14px, 4vw, 22px);
    }

    .header_right .user_name {
        font-size: var(--ih-name);
        line-height: 1.2;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .index_topbar {
        top: clamp(2px, 1vw, 8px);
        right: clamp(4px, 1.5vw, 12px);
        width: auto;
        height: auto;
        min-width: 0;
        padding: 0;
    }

    .index_topbar span.login {
        width: var(--ih-login);
        height: var(--ih-login);
        margin-top: clamp(4px, 1.2vw, 10px);
    }

    .index_topbar span.login img {
        width: 58%;
        height: 58%;
    }

    .index-search {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        gap: clamp(4px, 1.2vw, 8px);
        height: auto;
        min-height: calc(var(--ih-search-h) + 12px);
        padding-top: clamp(6px, 2vw, 12px);
    }

    .index-search-left,
    .index-search-right {
        float: none;
        height: auto;
    }

    .index-search-left {
        flex: 1 1 0;
        min-width: 0;
        width: auto;
    }

    .index-search-right {
        flex: 0 0 auto;
        width: auto;
        min-width: clamp(52px, 15vw, 72px);
    }

    .index-search-right a {
        height: var(--ih-search-h);
        font-size: var(--ih-adv-fs);
        line-height: var(--ih-search-h);
        text-align: right;
        padding-right: 2px;
        white-space: nowrap;
    }

    .index-search .with-image-search input,
    .index-search input {
        height: var(--ih-search-h);
        line-height: var(--ih-search-h);
        font-size: var(--ih-search-fs);
        padding-left: clamp(12px, 3.5vw, 20px);
        padding-right: clamp(64px, 18vw, 88px);
    }

    .index-search input::-webkit-input-placeholder {
        font-size: var(--ih-search-fs);
        line-height: var(--ih-search-h);
    }

    .index-search .with-image-search .image-search-btn {
        width: clamp(28px, 8vw, 36px);
        height: 100%;
        right: clamp(40px, 11.5vw, 52px);
    }

    .index-search .with-image-search .image-search-btn i {
        font-size: clamp(14px, 4vw, 18px);
    }

    .index-search button {
        width: var(--ih-search-h);
        height: var(--ih-search-h);
        background-size: 46%;
    }

    .user_gg_div {
        width: 100%;
        height: clamp(34px, 9.5vw, 42px);
        margin-top: clamp(4px, 1.2vw, 8px);
    }

    .user_icon {
        width: clamp(22px, 6.5vw, 28px);
        height: 100%;
        margin-left: clamp(6px, 2vw, 12px);
    }

    .user_icon img {
        width: clamp(18px, 5.2vw, 24px);
    }

    .usgg {
        flex: 1;
        min-width: 0;
        width: auto;
        height: 100%;
        font-size: var(--ih-marquee-fs);
        line-height: clamp(34px, 9.5vw, 42px);
        margin-left: clamp(6px, 2vw, 10px);
    }

    .marquee-item {
        font-size: var(--ih-marquee-fs);
        padding: 0 clamp(20px, 6vw, 40px);
    }

    /* area_div：地區國籍 — 平板 / 手機流體適配 */
    .area_div_row {
        padding: clamp(12px, 3.5vw, 18px) clamp(10px, 3vw, 16px);
        padding-bottom: clamp(32px, 9vw, 48px);
        box-sizing: border-box;
    }

    .area_div_row.phb_bg {
        padding-bottom: clamp(28px, 8vw, 40px);
    }

    .area_div {
        --area-chip: clamp(46px, 12.5vw, 58px);
        --area-fs: clamp(12px, 3.4vw, 16px);
        --area-gap: clamp(10px, 2.8vw, 16px);
        width: 100%;
        max-width: 100%;
        padding: clamp(8px, 2.5vw, 14px);
        gap: var(--area-gap);
        grid-template-columns: repeat(auto-fill, minmax(var(--area-chip), 1fr));
        justify-items: center;
        align-items: center;
        box-sizing: border-box;
    }

    .area_div::after {
        display: none;
    }

    .area_div a {
        width: var(--area-chip);
        height: var(--area-chip);
        max-width: 100%;
        font-size: var(--area-fs);
        line-height: 1.15;
        padding: 2px;
        box-sizing: border-box;
        justify-self: center;
        word-break: keep-all;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    /* 列表頁頂部地區 Tab（span） */
    .list_area_row .area_div {
        width: 94%;
        display: flex;
        flex-wrap: wrap;
        gap: clamp(8px, 2.2vw, 12px);
        justify-content: flex-start;
        align-items: center;
        padding: clamp(8px, 2.5vw, 12px) 0;
    }

    .list_area_row .area_div span {
        float: none;
        width: auto;
        flex: 1 1 calc(20% - clamp(8px, 2.2vw, 12px));
        min-width: clamp(56px, 16vw, 72px);
        max-width: calc(33.333% - clamp(8px, 2.2vw, 12px));
        height: clamp(40px, 11vw, 52px);
        margin-right: 0;
        font-size: clamp(14px, 4vw, 20px);
        line-height: clamp(40px, 11vw, 52px);
        box-sizing: border-box;
    }

    .list_area_row .area_div span.on,
    .list_area_row .area_div span:hover {
        font-size: clamp(15px, 4.2vw, 22px);
        line-height: clamp(40px, 11vw, 52px);
        background-size: 100% 100%;
    }

    .list_area_div {
        width: 94%;
        min-height: clamp(80px, 22vw, 120px);
        padding-bottom: clamp(20px, 5.5vw, 32px);
    }

    .list_area_div a {
        width: calc(33.333% - clamp(6px, 1.8vw, 10px));
        min-width: clamp(52px, 15vw, 68px);
        height: clamp(32px, 9vw, 38px);
        font-size: clamp(12px, 3.4vw, 14px);
        line-height: clamp(32px, 9vw, 38px);
        margin-right: clamp(6px, 1.8vw, 10px);
        margin-bottom: clamp(6px, 1.8vw, 10px);
        box-sizing: border-box;
        text-align: center;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .list_area_div a:nth-child(6n) {
        margin-right: clamp(6px, 1.8vw, 10px);
    }

    .list_area_div a:nth-child(3n) {
        margin-right: 0;
    }
}

@media only screen and (max-width: 390px) {
    .index_header {
        --ih-logo: clamp(44px, 12.5vw, 52px);
        --ih-name: clamp(13px, 3.8vw, 16px);
        --ih-search-h: clamp(32px, 9vw, 36px);
        --ih-login: clamp(32px, 9vw, 38px);
        min-height: clamp(160px, 46vw, 188px);
    }

    .index_header .header_bg {
        height: clamp(168px, 48vw, 198px);
    }

    .index_h_d1 .header_right {
        padding-right: clamp(40px, 12vw, 52px);
    }

    .index-search-right {
        min-width: clamp(48px, 14vw, 58px);
    }

    .area_div {
        --area-chip: clamp(42px, 11.5vw, 50px);
        --area-fs: clamp(11px, 3.1vw, 14px);
        --area-gap: clamp(8px, 2.4vw, 12px);
    }
}

@media only screen and (max-width: 540px) {

    .results-summary{
        width: 86%;
    }
    .filter-options{
        gap: 7px;
        padding-bottom: 27px;
    }
    .filter-option {
        padding: 5px 10px;
        font-size: 14px;
        margin-top: 12px;
    }
    #totalCount{
        padding: 0 6px;
        color:#3bb9a1;
        font-weight: 600;
    }
    .sub-container {
        padding: 5vw;
        padding-bottom: 110px;
    }
    .phb_main{
        padding-bottom: 20px;
    }

    /* 新菜頁面標題小螢幕適配 */
    .phb_list_title {
        min-height: 100px;
        padding: 10px 5px;
    }

    .phb_list_title_left {
        font-size: 36px;
        line-height: 36px;
        gap: 12px;
    }



    .phb_list_title_left a.on,
    .phb_list_title_left a.ht_on {
        color: #fff;
        text-shadow: 0 0 5px rgba(0,0,0,0.8);
    }
    .jrtj_nr dt{
        height: 24px;
        font-size: 12px;
    }
    .jrtj_nr dt span.price.yj{
        font-size: 12px;
    }
    .jrtj_nr dt span.price.xj{
        font-size: 12px;
    }
    /* area_div：小屏（≤540px）在 767px 基線上再收緊 */
    .area_div_row {
        padding: clamp(10px, 3vw, 14px) clamp(8px, 2.5vw, 12px);
        padding-bottom: clamp(28px, 8vw, 40px);
    }

    .area_div {
        --area-chip: clamp(40px, 11vw, 48px);
        --area-fs: clamp(11px, 3vw, 14px);
        --area-gap: clamp(8px, 2.2vw, 12px);
        padding: clamp(6px, 2vw, 10px);
    }

    .list_area_row .area_div span {
        flex: 1 1 calc(25% - var(--area-gap, 8px));
        min-width: clamp(48px, 14vw, 64px);
        max-width: calc(50% - var(--area-gap, 8px));
        height: clamp(36px, 10vw, 46px);
        line-height: clamp(36px, 10vw, 46px);
        font-size: clamp(13px, 3.6vw, 17px);
    }

    .list_area_row .area_div span.on,
    .list_area_row .area_div span:hover {
        line-height: clamp(36px, 10vw, 46px);
        font-size: clamp(14px, 3.8vw, 18px);
    }

    .list_area_div a {
        width: calc(50% - clamp(5px, 1.5vw, 8px));
        min-width: 0;
    }

    .list_area_div a:nth-child(3n) {
        margin-right: clamp(6px, 1.8vw, 10px);
    }

    .list_area_div a:nth-child(2n) {
        margin-right: 0;
    }

	.kefu_ca {
		bottom: 70px;
	}
	.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;
	}
    /* index_header：小屏（≤540px）在 767px 基線上再收緊 */
    .index_header {
        --ih-logo: clamp(48px, 13.5vw, 62px);
        --ih-name: clamp(14px, 4.2vw, 18px);
        --ih-search-h: clamp(34px, 9.5vw, 40px);
        --ih-search-fs: clamp(12px, 3.4vw, 14px);
        --ih-adv-fs: clamp(11px, 3vw, 13px);
        --ih-marquee-fs: clamp(10px, 2.8vw, 12px);
        --ih-login: clamp(34px, 9.5vw, 42px);
        min-height: clamp(172px, 48vw, 210px);
    }

    .index_header .header_bg {
        height: clamp(178px, 50vw, 218px);
        background-size: clamp(68%, 92vw, 88%);
    }

    .index_h_d1 {
        min-height: clamp(132px, 38vw, 168px);
        padding-left: clamp(4px, 1.2vw, 8px);
    }

    .index_h_d1 .header_left {
        width: clamp(64px, 20vw, 88px);
    }

    .index_h_d1 .header_right {
        min-height: clamp(118px, 32vw, 148px);
        padding-top: clamp(18px, 5.5vw, 28px);
        padding-right: clamp(44px, 13vw, 60px);
    }

    .index_topbar span.qiehuan {
        width: clamp(28px, 8vw, 36px);
        height: clamp(28px, 8vw, 36px);
        background-size: 90%;
        margin-left: clamp(6px, 2vw, 10px);
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
    }

    .index_topbar span.qiehuan img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

.index_row {
	height: auto;
	overflow: hidden;
}
.area_div_row {
	padding-bottom: clamp(48px, 14vw, 65px);
}
.tjzq{
    padding-bottom: 20px;
}
/* .jrtj_row {
    padding-bottom: 20px;
} */
.jrtj_title {
    height: 90px;
}
.jrtj_title_left {
    font-size: 28px;
    font-weight: 800;
    line-height: 80px;
    padding-left: 18px;
}
.jrtj_title_right {
    width: 40%;
    font-size: 18px;
    font-weight: 600;
    padding-right: 20px;
    padding-top: 40px;
}
.jrtj_row li{
	height: 215px;
	margin-bottom: 12px;
}
.jrtj_row li .jrtj_img {
    width: 35vw;
    height: auto !important;
    min-height: 0 !important;
    align-self: stretch !important;
}
.jrtj_row li .jianlue {
    width: calc(100% - 6px);
    height: 45px;
    left: 3px;
    bottom: 3px;
    border-radius: 6px;
}
.jrtj_row li .jianlue_left {
	width:40%;
    height: 80%;
    font-size: 12px;
	text-align: center;
}
.jrtj_row li .jianlue_right{
    width:58%;
	height: 80%;
}
.jrtj_row li .jianlue_left span {
    font-size: 20px;
    padding-left: 4px;
    line-height: 35px;
}
.jrtj_row li .jianlue_right .c_name {
    height: 20px;
    font-size: 18px;
    font-weight: 600;
    line-height: 18px;
}
.jrtj_row li .jianlue_right .c_country{
    font-size: 13px;
}

.jrtj_row li .jrtj_nr dt {
    height: 21px;
    font-size: 12.5px;
    line-height: 21px;
}


.jrtj_row li .toolbar {
    position: absolute;
    left: auto;
    right: 6px;
    bottom: 4px;
    width: calc(100% - 12px);
    max-width: calc(100% - 12px);
    min-width: 0;
    height: 26px;
    min-height: 26px;
    line-height: 26px;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: clamp(2px, 1vw, 6px);
    justify-content: space-between;
    overflow: hidden;
    box-sizing: border-box;
}
.jrtj_row li .toolbar span {
    width: auto;
    min-width: 0;
    flex: 1 1 0;
    min-height: 24px;
    height: 24px;
    font-size: clamp(9px, 2.2vw, 12px);
    overflow: hidden;
    white-space: nowrap;
}
.jrtj_row li .toolbar span.shoucang,
.jrtj_row li .toolbar span.i_zan,
.jrtj_row li .toolbar span.i_pinglun {
    background-size: clamp(10px, 2.8vw, 14px);
    padding-left: clamp(14px, 3.8vw, 18px);
}
.index_phb_row01 .jrtj_nr .toolbar span.shoucang,
.dy_list_div .jrtj_nr .toolbar span.shoucang,
#promotion-slider .slide .de_div.promotion-card.yhzq-list > .toolbar span.shoucang {
    background-size: clamp(12px, 7vw, 16px);
    padding-left: clamp(16px, 7vw, 22px);
}
.index_phb_row01 .jrtj_nr .toolbar span.i_zan,
.dy_list_div .jrtj_nr .toolbar span.i_zan,
#promotion-slider .slide .de_div.promotion-card.yhzq-list > .toolbar span.i_zan {
    background-size: clamp(12px, 7vw, 16px);
    padding-left: clamp(16px, 7vw, 22px);
}
.index_phb_row01 .jrtj_nr .toolbar span.i_pinglun,
.dy_list_div .jrtj_nr .toolbar span.i_pinglun,
#promotion-slider .slide .de_div.promotion-card.yhzq-list > .toolbar span.i_pinglun {
    background-size: clamp(12px, 7vw, 16px);
    padding-left: clamp(16px, 7vw, 22px);
}
.paihangbang{
    padding-top: 0;
}
.phb_t_row {
    height: 185px;
}
.phb_t_row_left {
    width: 45%;
    padding-left: 15px;
    font-size: 57px;
	line-height: 57px;
}
.phb_t_row_left .lg_title{
	line-height: 10vw;
    font-size: 9.5vw;
}
.phb_t_row_left .bottom_border {
    height: 50px;
    left: 16px;
	bottom: 4vw;
}
.paihangbang .jrtj_title_right{
    top: 50px;
}
/* .phb_main {
	min-height: 350px;
} */
.index_phb_row01 {
    width: 94%;
	min-height: 350px;
}

.index_phb_row01 li:nth-child(1) .phb_lable {
    width: 60px;
    height: 70px;
    top: 4px;
    left: 6px;
    font-size: 30px;
    line-height: 60px;
}
.index_phb_row01 li:nth-child(2) .phb_lable {
    width: 60px;
    height: 70px;
    top: 4px;
    left: 6px;
    font-size: 30px;
    line-height: 60px;
}
.index_phb_row01 li:nth-child(3) .phb_lable {
    width: 60px;
    height: 70px;
    top: 4px;
    left: 6px;
    font-size: 30px;
    line-height: 60px;
}


.phb_list_div .jianlue {
    width: calc(100% - 6px);
    height: 45px;
    left: 3px;
    bottom: 3px;
    border-radius: 6px;
}
.phb_list_div .jianlue_left {
	width:40%;
    height: 80%;
    font-size: 13px;
	text-align: center;
}
.phb_list_div .jianlue_right{
    width:58%;
}
.phb_list_div .jianlue_left span {
    font-size: 24px;
    padding-left: 4px;
    line-height: 35px;
}
.phb_list_div .jianlue_right .c_name {
    height: 20px;
    font-size: 18px;
    font-weight: 600;
    line-height: 18px;
}
.phb_list_div .jianlue_right .c_country{
    font-size: 13px;
}
.phb_list_div .jrtj_nr dt {
    font-size: 13px;
    line-height: 20px;
    height: 20px;
}

.index_phb_row01 li .icon_tool {
    margin: auto;
    left: 42%;
    bottom: 4px; 
    width: 45vw;
	height: 20px;
}
.phb_list_div .icon_tool span {
    width: 33%;
    height: 20px;
    padding-left: 28px;
}
.phb_list_div .icon_tool p {
    font-size: 12px;
    line-height: 18px;
}
.index_phb_row01 li .jrtj_img {
    width: 40vw;
    height: auto !important;
    min-height: 0 !important;
    overflow: hidden !important;
    align-self: stretch !important;
    flex-shrink: 0 !important;
}
.index_phb_row01 li .jianlue_left {
    text-align: center;
    font-size: 16px;
}
.index_phb_row01 li:nth-child(1) .jianlue_left span {
    font-size: 30px;
}
.index_phb_row01 li:nth-child(2) .jianlue_left span {
    font-size: 30px;
}
.index_phb_row01 li:nth-child(3) .jianlue_left span {
    font-size: 30px;
}
.index_phb_row01 li .jrtj_nr {
    width: 48vw;
    box-sizing: border-box;
    padding-left: 3%;
    height: auto;
    min-height: 100%;
    position: relative;
    align-self: stretch;
}
.index_phb_row01 li {
    width: 48.5%;
    height: auto;
	overflow: hidden;
    display: flex !important;
    align-items: stretch !important;
    margin-right: 3%;
}
.index_phb_row01 .jrtj_nr dl{
    margin-top: 15px;
}
.index_phb_row01 .jrtj_nr .pinfen{
    font-size: 24px;
    font-weight: 600;
    color: #fff;
    position: absolute;
    top: 6px;
    right: 15px;
    text-shadow: 0 0 3px rgba(0,0,0,.7);
}
.index_phb_row01 .toolbar.yhzq,
.dy_list_div .jrtj_nr .toolbar.yhzq{
    width:100%;
}

@media (min-width: 769px) {
    .index_phb_row01 .jrtj_nr {
        position: relative;
        padding-bottom: 36px;
    }

    .index_phb_row01 .jrtj_nr .toolbar {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        justify-content: flex-start;
        gap: 10px;
        padding-right: 8px;
    }

    .index_phb_row01 .jrtj_nr .toolbar span {
        flex: 0 0 auto;
        width: auto;
        min-width: 58px;
        max-width: none;
        font-size: 12px;
    }
}
.index_phb_row01 li:nth-child(2n) {
    margin-right: 0;
}
.phb_list_div {
    height: 100%;
    overflow: hidden;
}
.index_phb_row01 li > .jrtj_img_div {
    height: auto !important;
    min-height: 0 !important;
    display: flex !important;
    align-items: stretch !important;
}
.index_phb_row01 li > .jrtj_img_div > .jrtj_img {
    align-self: stretch !important;
    flex-shrink: 0 !important;
    height: auto !important;
    min-height: 0 !important;
}
.phb_more {
    width: 94%;
    height: 40px;
    line-height: 40px;
    font-size: 18px;
    margin-top: 0;
}
.phb_more:before,.phb_more:after{
	border-top: 1px #1d7c5a solid; 
	border-radius:0;
}
.dingdian_header {
    width: 100%;
    height: 160px;
    padding-top: 0;
    margin-top: 0;
}
.dy_t_row_left {
    width: 55%;
}
.dy_t_row_left .lg_title{
	line-height: 10vw;
	bottom: -35px;
    font-size: 9.5vw;
}
.dy_t_row_left .bottom_border {
    height: 50px;
    left: 10px;
	bottom: 4vw;
}
.dy_list_div ul {
    padding: 10px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.dy_list_div li {
    width: 100%;
}
.dy_list_div li:nth-child(3n+1) .icon_toolbar {
    width: 100%;
    height: 30px;
    padding-left: 0px;
}
.dy_list_div li:nth-child(n+1) .icon_toolbar {
    width: 100%;
    height: 30px;
    padding-left: 0;
}
.dy_list_div li:nth-child(2n+1) .icon_toolbar {
    width: 100%;
    height: 30px;
    padding-left: 0;
}
.dy_list_div li .icon_toolbar span {
	padding-left: 28px;
    width: 33%;
}
.dy_list_div li .icon_toolbar p {
    font-size: 13px;
    line-height: 32px;
}
.dy_list_div li:nth-child(n+1) .img_div:after {
    box-shadow:0 0 20px 10px #f9edd7 inset;
}
.dy_list_div li:nth-child(2n+1) .img_div:after {
    box-shadow:0 0 20px 10px #d2cfe4 inset;
}
.dy_list_div li:nth-child(3n+1) .img_div:after {
    box-shadow:0 0 20px 10px #d7eace inset;
}

.dy_list_div .jrtj_nr {
    /* width: 94%; */
    height: auto;
	padding-left: 12px;
}
.dy_list_div .jrtj_nr dt {
    width: 100%;
    font-size: 12px;
}

/* 移動端對齊 PC：優惠/推薦/定點/外約卡片文字保持原有雙欄/單欄規則 */
.dingdianwaiyue .dy_list_div .jrtj_nr dt,
#promotion-slider .jrtj_nr dt,
#recommendation-slider .jrtj_nr dt,
.phb_main .dy_list_div .jrtj_nr dt {
    width: 50%;
}

.dingdianwaiyue .dy_list_div .jrtj_nr dt.long,
#promotion-slider .jrtj_nr dt.long,
#recommendation-slider .jrtj_nr dt.long,
.phb_main .dy_list_div .jrtj_nr dt.long {
    width: 100%;
}

/* 優惠輪播：與首頁定點卡片文案欄位一致（雙欄 dt，字級與 moban-4 .de_div .detail_div 對齊） */
#promotion-slider .slide .de_div.promotion-card.yhzq-list .detail_div dt {
    display: block;
    float: left;
    width: 50%;
    height: 24px;
    line-height: 24px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #666;
    box-sizing: border-box;
}

#promotion-slider .slide .de_div.promotion-card.yhzq-list .detail_div dt.long {
    width: 100%;
}
.dy_list_div .jianlue_price{
    display: none;
}
.dy_list_div li:nth-child(n+1) .jianlue {
    width: calc(100% - 6px);
    height: 45px;
    left: 3px;
    bottom: 3px;
    border-radius: 6px;
}
.dy_list_div li .jianlue_left {
    width: 46%;
	text-align: center;
	padding-left: 0;
	font-size: 13px;
	padding-top: 5px;
}
.dy_list_div li .jianlue_left span{
    line-height: 35px;
}
.dy_list_div .jianlue_right {
    width: 46%;
	height: 80%;
}
.dy_list_div .jianlue_right .c_name {
    width: 100%;
    height: 20px;
    font-size: 18px;
	line-height: 18px;
}
.dy_list_div .jianlue_right .c_country {
    font-size: 13px;
}
.dy_list_div .jrtj_nr dt >span,
#promotion-slider .slide .de_div.promotion-card.yhzq-list .detail_div dt > span {
	width:auto;
}
.waiyue_header {
    height: 190px;
    padding-top: 30px;
    margin-top: 0;
}
.dingdianwaiyue.waiyue {
    padding-bottom: 30px;
}

.index_marggin{
    width:100%;
    height: 70px;
}
.list_marggin{
    width:100%;
    height: 40px;
}
.wave-box {
    position: fixed;
    width: 100%;
    height: 60px;
    bottom: 0;
    z-index: 99;
    left: 0;
	background-color: transparent;
	margin-top: 0;
}
#footer {
    position: fixed;
    width: 100%;
    max-width:780px;
    left:0;
    bottom: 0;
    z-index: 99;
	height:90px;
}
.footer {
    height: 70px;
    padding-bottom: 10px;
}

.footer p {
    font-size: 14px;
	bottom: 0.8vw;
}

.tbj{
	display: block;
}
/*排行榜頁*/
.phb_list_title{
    height: 50vw;
    padding-top: 20px;
}
.phb_list_title_left {
    width: 100%;
    height: 30vw;
    font-size: 14vw;
    line-height: 14vw;
    left: 4vw;
    white-space: normal;
    word-break: break-word;
}
.phb_list_title_right {
    width: 40vw;
    height: 15vw;
    font-size: 6.8vw;
    line-height: 6.8vw;
    background: url(../images/arrow_right.png)no-repeat;
    background-position: 30vw 0px;
    background-size: 16%;
    right: 10px;
    top: 0;
}
.uc-pagination-mian a{
	font-size: 18px;
	min-width: 35px;
	height: 35px;
	line-height: 37px;
	margin-right: 4px;
}
/* .wave_row {
    width: 100%;
    height: 0;
    margin-top: -28px;
} */
.footer_box{
    width: 100%;
    height: 24px;
    background: url(../images/bottom_bg.png) center no-repeat;
    background-size: contain;
    position: fixed;
    z-index: 90;
    left: 0;
    bottom: 66px;
	display: none;
}
.dingdianwaiyue{
    padding-bottom: 20px;
}
.list_area_div{
    padding-bottom: 20px;
	min-height: 120px;
}
.list_area_row .area_div span{
    width:20%;
	margin-right: 10px;
	font-size: 4.5vw;
}
.list_area_row .area_div span.on{
	font-size: 5vw;
}

.list_area_div a {
    width: 20%;
    height: 30px;
    text-align: left;
    font-size: 3.5vw;
    line-height: 30px;
    margin-right:0;
}
.list_area_div a:nth-child(5n) {
    margin-right: 0;
}
.new_title_row {
    height: 60px;
    line-height: 40px;
    font-size: 18px;
}
.nt_sort{
	width:95%;
	height: 40px;
	border-radius: 6px;
	padding-top: 0;
}

.nt_sort li{
	line-height: 20px;
	text-align: left;
	padding-left: 10px;
	padding-top: 10px;
	height: 40px;
	box-sizing: border-box;

}
.nt_sort li a{
	font-size: 13px;
}
.dw_list .nt_sort li .sort_arrow {
    width: 30px;
    height: 30px;
    background: url(../images/sort_arrow.png) no-repeat;
    background-size: 45%;
    background-position: 18px 5px;
	position: absolute;
	top:2px;
	right: 8px;
}
.dw_list .nt_sort li .sort_arrow_a {
    width: 30px;
    height: 30px;
    background: url(../images/sort_arrow_a.png) no-repeat;
    background-size: 45%;
    background-position: 18px 5px;
	position: absolute;
	top:2px;
	right: 8px;
}
.dw_list .nt_sort li .sort_arrow_d {
    width: 30px;
    height: 30px;
    background: url(../images/sort_arrow_d.png) no-repeat;
    background-size: 45%;
    background-position: 18px 5px;
	position: absolute;
	top:2px;
	right: 8px;
}
.search_title{
	width:100%;
	height: 80px;
	font-size: 14px;
	line-height: 40px;
}
.detail_main_div{
    width:100%;
}
.detail_header {
    height: 65px;
}
.index-search.detail_search{
    padding-top: 12px;
}
.detail_search .index-search-left {
    width: 60%;
}
.detail_search .index-search-right {
    width: 20%;
}
.top_swiper {
    height: 350px;
}
.detail_left {
    width: 40%;
}
.detail_right {
    width: 60%;
    padding-left: 10px;
    padding-top: 10px;
    padding-right: 5px;
}
.detail_left .bianhao {
    font-size: 13px;
}
.detail_right dt.cp_name {
    width: 100%;
    height: 30px;
    font-size: 24px;
    line-height: 30px;
}
.detail_right dt {
    height: 24px;
	font-size: 13px;
}
.dettail_row {
    height: 30px;
    margin-top: -28px;
}
.de_con_left {
    padding-top: 10px;
	height: 75px;
}
.de_con_left ul {
    width: 100%;
}
.de_con_left li {
    width: 33.3%;
    height: 100%;
    line-height: 95px;
    font-size: 14px;
}
.de_con_left li:nth-child(1) {
    background-size: 25%;
}
.de_con_left li:nth-child(1).on {
    background-size: 25%;
}
.de_con_left li:nth-child(2) {
    background-size: 25%;
}
.de_con_left li:nth-child(2).on {
    background-size: 25%;
}
.de_con_left li:nth-child(3) {
    background-size: 25%;
}
.de_con_left li:nth-child(3).on {
    background-size: 25%;
}
.detail_bar {
    height: 45px;
	margin-top: 10px;
}

.detail_bar .left span {
    line-height: 65px;
    font-size: 12px;
	width:33.3%;
}
.detail_bar .left span.yaofenxiang{
    background-size: 38%;
}
.detail_bar .left span.yaoshoucang {
    background-size: 32%;
}
.detail_bar .left span.zan {
    background-size: 32%;
}
.detail_bar .right span {
    width: 90%;
    height: 30px;
    font-size: 16px;
    line-height: 30px;
    margin-top: 4px;
}
.de_con_tool{
    padding: 10px;
	padding-bottom: 5px;
}
#thumbs li {
    width: calc(100%/4 - 5px)!important;
    height: 22.5vw;
    margin-bottom: calc(5px*4 /3);
    margin-right: calc(5px*4 /3);
}
#thumbs li:nth-child(4){
    margin-right:0;
}
.de_con{
	padding: 10px;
    font-size: 12px;
}
.de_con li span.fwxm {
    width: 60px;
}
.de_con li span{
    width: calc(100% - 80px);
}
#box {
	width:90%;
    padding-left: 0;
}
#doPoint {
    width: 90%;
    padding-bottom: 5px;
    font-size: 14px;
}
#doPoint .biaoti {
    padding-bottom: 10px;
}
#doPoint .fenshu {
	width:20px;
    padding-bottom: 10px;
}
#myPoint{
    margin-bottom: 20px;
}
#myPoint img {
    display: inline-block;
    margin-left: 20px;
    margin-top: 25px;
    width: 43%;
    height: 43%;
}
#myPoint em {
    margin-left: 10px;
    margin-top: -10px;
    font-weight: 700;
    font-size: 1.0em;
}
#myPoint span big {
	font-size: 45px;
}
#myPoint span small {
    font-size: 18px;
}
#myPoint span {
    line-height: 64px;
	font-size: 12px;
}
#myPoint img {
    margin-left: 20px;
    margin-top: 25px;
    width: 43%;
    height: 43%;
}
.de_con .fuwu{
    padding-bottom: 130px;
}
.pingfen-submit button {
    height: 35px;
    font-size: 16px;
    line-height: 30px;
    border-radius: 3px;
    margin-top: 0;
}
#list-wrap {
    width: 96%;
    padding-top: 15px;
	margin: 0 auto;
}
#list-wrap .user-pic {
    width: 3em;
}
#list-wrap .user-commont {
    width: calc(100% - 30px);
    margin-left: -2rem;
}
#list-wrap .user-pic img {
    width: 2.5em;
    height: 2.5em;
}
#list-wrap .c-name {
    font-size: 0.8em;
    line-height: 2em;
    padding-left: 3em;
}
#list-wrap .c-neirong {
    font-size: 0.8em;
    line-height: 1.6em;
	text-indent:0;
	padding-left: 1.5rem;
    box-sizing: border-box;
}
#list-wrap .c-time {
    font-size: 0.7em;
	height: 1.5em;
	line-height: 1.5em;
}

.user-commont .reply {
    font-size: 0.8em;
    line-height: 40px;
    height: 40px;
    top: -17px;
    right: 50px;
    padding: 10px;
}
.user-commont .zan {
    width: 50px;
    padding-left: 35px;
    height: 40px;
    top: -7px;
    right: 0;
    background-size: 33%;
    font-size: 0.6em;
    line-height: 42px;
    font-weight: 500;
}
.user-commont-list {
    padding: 5px;
	margin-left: 0;
}
.user-commont-list dl {
    border-radius: 5px;
    padding: 15px;
    padding-top: 20px;
	padding-bottom: 0;
}
.user-commont-list dt{

}
.list_arrow {
    position: absolute;
    top: -0.8rem;
    left: 5.67vw;
    content: "";
    width: 0;
    height: 0;
    border-bottom: 0.7rem solid rgba(255,255,255,.4);
    bor: 0.6rem solid transparent;
    border-right: 0.6rem solid transparent;
    order-top: 0.1rem solid transparent;
    border-left: 0.6rem solid transparent;
}
.user-commont-list .reply-name {
    font-size: 0.9em;
}
.user-commont .zan-number{
    font-size: 12px;
}
.user-commont-list dt a {
    color: #09910f;
    font-size: 14px;
    display: block;
    padding: 6px;
	padding-top: 0;
}
.reply-body{
    font-size: 12px;
}
.detail_pinglu-send{
    position: fixed;
	width:100%;
	left: 0;
	bottom: 70px;
	background: #1d7c5a;
	padding: 10px;
	box-sizing: border-box;
	box-shadow:0px -3px 3px #333;
	z-index: 99;
	border-bottom: 1px solid rgba(255,255,255,.1)
}
.detail_pinglu-send textarea{
	width:83%;
	height: 40px;
	border-radius: 3px;
	border: 1px solid #ddd;
	box-sizing: border-box;
	padding-left: 10px;
	float: left;
	font-size: 14px;
	padding-top: 10px;
}
.detail_pinglu-send	textarea::-webkit-input-placeholder{
    color:#999;
	font-size: 14px;
	line-height: 20px;
	padding-top: -10px!important;
}
#comment_submit{
	width:10%;
	height: 38px;
	background-position: 6px 6px;
	background-size: 80%;
}
#reply_submit{
	width:15%;
	height: 38px;
	line-height: 38px;
	border-radius: 5px;
	font-size: 16px;

}
.pinglun_clear{
    height: 90px;
}
.detail_left .yaoyueta {
    height: 40px;
    bottom: 40px;
    line-height: 40px;
    font-size: 18px;
}

.more_title {
    height: 30px;
    line-height: 30px;
    font-size: 16px;
	font-weight: 600;
}
.main_reply_div .c-name{
    padding-left: 6px!important;
}
.main_reply_list .title {
    height: 35px;
    font-size: 16px;
    line-height: 15px;
	font-weight: 600;
}
.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;
}


.wd_bottom .ok_btn {
    padding-left: 22px;
    padding-right: 22px;
    line-height: 30px;
    font-size: 14px;
}
.ssjg_div_y{
	height: 50px;
    font-size: 14px;
    line-height: 50px;
    box-sizing: border-box;
    padding-left: 10px;
	margin-bottom: 5px;
}
.layui-anim .btn1 {
    background-size: 14%;
    background-position: 20px 0px;
    padding-left: 50px;
    font-size: 14px;
	line-height: 20px;
}
.layui-anim .btn2 {
    background-size: 14%;
    background-position: 20px 0px;
    padding-left: 50px;
    font-size: 14px;
	line-height: 20px;
}
.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;
}
.galley-close {
    background-size: contain;
    top: 0;
    right: 10px;
    cursor: pointer;
    z-index: 1001;
}
#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;
}

.ssjg_div_t1 {
    height: 50px;
    font-size: 14px;
    line-height: 45px;
    box-sizing: border-box;
    padding-left: 20px;
    font-weight: 600;
}
.ssjg_div_t2 {
    height: 50px;
    font-size: 16px;
    line-height: 45px;
    box-sizing: border-box;
    padding-left: 10px;
    font-weight: 600;
}
.s_article {
	display: block;
    width: 90%;
    height: 40px;
    line-height: 40px;
    font-size: 18px;
    cursor: pointer;
	margin: 0 auto;
	margin-top: 20px;
}
.wave_row.h_search_wave{
    background: url(../images/wave.png) bottom no-repeat;
    background-size: contain;
	height: 68px;
}
.ssjg_div_y{
	height: 50px;
    font-size: 14px;
    line-height: 50px;
    box-sizing: border-box;
    padding-left: 10px;
	margin-bottom: 5px;
}


span.search_top_button{
    height: 30px;
    line-height: 32px;
    font-size: 13px;
    cursor: pointer;
    border-radius: 20px;
    box-sizing: border-box;
    background: #ffcf2f 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: #ffcf2f 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 #1e7c5a;
	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;
}
.pic_div .phb_jianbian{
    height: 45px;
}
.phb_list li{
    width:100%;

	padding-top: 0;
}
.phb_list .pic_div{
    height: 90%;
}
.phb_list li .cp_pingfen{
	top:172px;
	height: 35px;
	line-height: 35px;
	padding-left: 10px;
}
.phb_list li .cp_name{
	top:172px;
	height: 35px;
	line-height: 35px;
}
.phb_list li .toolbar {
    left: 8px;
    right: 8px;
    bottom: -8px;
    width: auto;
    max-width: calc(100% - 16px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: clamp(2px, 1vw, 8px);
    overflow: hidden;
    box-sizing: border-box;
}
.phb_list li .toolbar span {
    width: auto;
    flex: 1 1 0;
    min-width: 0;
	padding-left: clamp(18px, 4vw, 26px);
	font-size: clamp(10px, 2.4vw, 13px);
    white-space: nowrap;
    overflow: hidden;
}
.phb_list li .toolbar span.shoucang {
    background-size: clamp(12px, 6.2vw, 16px);
    background-position: left center;
}
.phb_list li .toolbar span.i_zan {
    background-size: clamp(12px, 6.2vw, 16px);
    background-position: left center;
}
.phb_list li .toolbar span.i_pinglun {
    background-size: clamp(12px, 6.2vw, 16px);
    background-position: left center;
}
.phb_list li .cp_pingfen span{
    line-height: 23px;
}
.detail_bar .ssjf{
   height: 30px;
   font-size: 16px;
	background-size: 10%;
    padding-left: 30px;
    line-height: 35px;
}
.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;
}

/* ============================================
   波浪特效
   ============================================ */
.marquee-box {
	overflow: hidden;
	width: 100%;
	position: absolute;
	left: 0;
	top: 0
}
.marquee {
	width: 8000%;
	height: 60px
}
.wave-list-box {
	float: left
}
.wave-list-box ul {
	float: left;
	height: 60px;
	overflow: hidden;
	zoom: 1
}
.wave-list-box ul li {
	height: 60px;
	width: 100%;
	float: left;
	line-height: 30px;
	list-style: none
}
.wave-box {
	position: relative;
	height: 60px;
}
/* Footer導航中的wave樣式 - 獨立設定，不影響其他地方的wave */
.footer_wave_row {
	width: 100%;
	height: 30px;
	margin: 0;
	margin-top: -15px;
	overflow: hidden;
	position: relative;
}
.footer_wave_row .wave-box {
	position: relative;
	height: 60px;
	margin-top: 0;
	width: 100%;
}
.footer_wave_row .marquee-box {
	overflow: hidden;
	width: 100%;
	position: absolute;
	left: 0;
	top: 0;
}
.footer_wave_row .marquee {
	width: 8000%;
	height: 60px;
}
.footer_wave_row .wave-list-box {
	float: left;
}
.footer_wave_row .wave-list-box ul {
	float: left;
	height: 60px;
	overflow: hidden;
	zoom: 1;
	list-style: none;
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
.footer_wave_row .wave-list-box ul li {
	height: 60px;
	width: 100%;
	float: left;
	line-height: 30px;
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
.footer_wave_row .wave-list-box ul li img {
	height: 60px;
	width: auto;
	display: block;
}
/* 中等螢幕移動端 (360px–479px) */
@media only screen and (max-width: 479px) {
    .area_div {
        --area-chip: clamp(38px, 10.5vw, 44px);
        --area-fs: clamp(10px, 2.9vw, 13px);
        grid-template-columns: repeat(auto-fill, minmax(var(--area-chip), 1fr));
    }

    .list_area_row .area_div span {
        min-width: clamp(44px, 13vw, 58px);
    }
}

/* 小螢幕移動端 (<360px) */
@media only screen and (max-width: 359px) {
    .area_div {
        --area-chip: clamp(36px, 10vw, 42px);
        --area-fs: clamp(10px, 2.8vw, 12px);
        --area-gap: clamp(6px, 2vw, 10px);
    }

    .area_div a {
        padding: 1px;
    }

    .list_area_div a {
        width: 100%;
        margin-right: 0;
    }

    .list_area_div a:nth-child(2n),
    .list_area_div a:nth-child(3n) {
        margin-right: 0;
    }
}



.dingdian_header .jrtj_title_right, .waiyue_header .jrtj_title_right {
    width: auto;
    height: unset;
    font-size: 24px;
    line-height: 100px;
}
.jrtj_nr .pinfen{
    font-size: 5vw;
}
.page-btn.active {
    width:30px;
    height: 30px;
}
.page-btn{
    width:30px;
    height: 30px;
}
.sub-header i{
    font-size: 1.5rem;
}
.sub-header h1{
    font-size: 22px;
}
.product-title{
    font-size: 1.5rem;
}
.detail-code-value{
    font-size: 1.3rem;
}
.feature-item{
    font-size: 13px;
}
.duration-price-panel{
    font-size: 13px;
}
.spec-item{
    font-size: 13px;
}
.spec-value{
    font-size: 13px;
}
.reviews-title{
    font-size: 18px;
}
.radar-title{
    font-size: 18px;
}
.radar-average{
    font-size: 1.0rem;
}
}
/* 小螢幕：定點/外約仍為雙列（與 767px 一致，避免被覆蓋成單列） */
@media only screen and (max-width: 375px) {
	.dy_list_div ul {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 8px;
	}
}

/* hl-search 移動端響應式樣式 - 來自 moban-4 */
@media (max-width: 480px) {
    .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: min(55vh, 360px);
    }
    
    .h_search_div .error-toast {
        width: 60%;
        max-width: 400px;
        white-space: nowrap;
    }
    
    .h_search_div .invert-selection-btn {
        right: 0;
    }
    .container.result-container {
        height: auto;
        min-height: calc(100vh - 96px);
        padding: 20px;
    }
    
    .results-header {
        padding-bottom: 0;
    }
    
    .filter-sidebar {
        width: 85%;
    }
    
    .results-header h1 {
        font-size: 20px;
    }
    
    .results-count {
        font-size: clamp(12px, 3.2vw, 14px);
        width: 50%;
        max-width: 50%;
        flex: 1 1 50%;
        min-width: 0;
        height: auto;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .results-summary {
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: space-between;
        gap: 0.5rem;
    }
    
    .sort-filter {
        flex-wrap: nowrap;
        justify-content: flex-end;
        width: 50%;
        max-width: 50%;
        flex: 1 1 50%;
        min-width: 0;
        gap: 0.5rem;
    }
    
    .pagination {
        margin: 0;
    }
}

@media (max-width: 376px) {
    .h_search_div .custom-checkbox-item {
        padding: 5px 10px;
        font-size: 13px;
    }
    .no-results h3 {
        font-size: 22px;
    }
    .page-btn{
        width:30px;
        height: 30px;
    }
    .page-btn.active{
        width:30px;
        height: 30px;
    }
}

@media (max-width: 320px) {
    .results-count {
        font-size: 12px;
        width: 50%;
        max-width: 50%;
        flex: 1 1 50%;
        min-width: 0;
    }
    
    .sort-filter button {
        border-radius: 3px;
    }
    
    .filter-toggle {
        border-radius: 3px;
        padding: 7px 12px;
    }
    
    .container.result-container {
        padding: 15px;
    }
    
    .no-results {
        padding: 1.5rem;
    }
    
    .no-results i {
        font-size: 40px;
        margin-bottom: 0;
    }
    
    .no-results h3 {
        font-size: 18px;
    }
    
    .no-results p {
        font-size: 13px;
    }
    .h_search_div .select-wrapper {
        min-width: 100px;
    }
    
    .h_search_div .custom-select {
        padding: 6px 12px;
        font-size: 13px;
    }
    
    .h_search_div .select-wrapper:after {
        right: 8px;
    }
}

/* ============================================
   商家工具樣式 (seller-tools)
   ============================================ */

.seller-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 12px 0 4px;
}

.seller-jifang-link,
.seller-daidiao-btn {
    font-size: 14px;
    line-height: 1;
    border-radius: 10px;
    padding: 8px 14px;
    cursor: pointer;
    border: none;
    font-weight: 600;
}

/* 詳情頁編號 / 機房 / 代調按鈕：覆蓋共用大圓角 */
.details-container .detail-code-card,
.details-container .seller-detail-cta .detail-code-card,
.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: 10px;
}

.seller-jifang-link {
    background: #d2f7ef;
    color: #333;
    border: 1px solid #3bb9a1;
}

.seller-jifang-link:hover {
    background: #ededed;
}

.seller-daidiao-btn {
    background: #3bb9a1;
    color: #fff;
    box-shadow: 0 6px 12px rgba(59, 185, 161, 0.2);
}

/* 詳情頁代調：覆蓋共用橘色背景 */
.details-container .seller-daidiao-btn,
.details-container .seller-detail-cta > .seller-daidiao-btn {
    background: #3bb9a1;
    box-shadow: 0 6px 12px rgba(59, 185, 161, 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;
}



@media (max-width: 768px) {
    .detail-identity-block {
        grid-template-columns: 1fr;
        gap: 10px;
        margin: 10px 0 14px;
    }

    /* 移動端：編號卡水平鋪滿（覆蓋共用 width:max-content） */
    .detail-code-card,
    .details-container .detail-code-card,
    .details-container .seller-detail-cta .detail-code-card,
    .details-container .detail-identity-block .detail-code-card {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box;
        padding: 14px 16px;
        flex-direction: row;
        align-items: center;
        justify-content: center;
    }

    .detail-booking-btn {
        min-height: 45px;
        padding: 0 16px;
    }

    .detail-booking-btn-note {
        font-size: 11px;
        white-space: normal;
        text-align: right;
    }
}

.jifang-modal-list {
    list-style: none;
    padding: 0;
    margin: 0;
    color: #444;
}

.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;
}

.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;
}

body.no-scroll {
    overflow: hidden;
}

@media (max-width: 640px) {
    .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;
    }
}

/* ========== 公用彈框樣式 ========== */
.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;
    }
}
/* ========== 公用彈框樣式結束 ========== */



/* 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;
}

/* 首頁優惠／推薦專區輪播（切屏、gap、末屏占位、指示器） */
.promotion-section .slider-container#promotion-slider,
.recommend-section .slider-container#recommendation-slider,
#promotion-slider.slider-container,
#recommendation-slider.slider-container {
    max-width: 100%;
    width: 100%;
    margin-top: 8px;
    overflow: hidden;
    position: relative;
    padding-bottom: 12px;
    box-sizing: border-box;
}

/* 與 moban-1 `.slider-wrapper` 一致：位移過渡 + 初始化前隱藏（避免閃爍） */
#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;
    opacity: 0;
    visibility: hidden;
    list-style: none;
    width: auto;
    overflow: visible;
    margin-left: 0;
    padding: 0;
    box-sizing: border-box;
}

#promotion-slider .slider-wrapper.initialized,
#recommendation-slider .slider-wrapper.initialized {
    opacity: 1;
    visibility: visible;
}

#promotion-slider .slide,
#recommendation-slider .slide {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    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: rgba(245, 245, 235, 0.35);
    border: 1px solid rgba(59, 130, 246, 0.1);
    box-shadow: none;
    pointer-events: none;
}

#promotion-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;
    background-color: rgba(255,255,255,.8);
    border-radius: 10px;
    position: relative;
}

/* 優惠輪播圖區：與首頁定點 .dy_list_div li .img_div 一致（無底部漸層遮罩、尺寸與內陰影輪替相同） */
#promotion-slider .slide .de_div.promotion-card.yhzq-list .ic_img {
    width: 100%;
    height: 240px;
    background: #d7eace;
    position: relative;
    overflow: hidden;
}

#promotion-slider .slide .de_div.promotion-card.yhzq-list .ic_img .de_div_mask {
    display: none;
}

#promotion-slider .slide .de_div.promotion-card.yhzq-list .ic_img > a {
    display: block;
    outline: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    position: relative;
}

#promotion-slider .slide .de_div.promotion-card.yhzq-list .ic_img .ppiicc,
#promotion-slider .slide .de_div.promotion-card.yhzq-list .ic_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 與 .dy_list_div li .img_div:after 底層一致，再由下列 nth 覆寫 */
#promotion-slider .slide .de_div.promotion-card.yhzq-list .ic_img::after {
    position: absolute;
    content: '';
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    box-shadow: 0 0 50px 30px #d7eace inset;
    pointer-events: none;
}

#promotion-slider .slide:nth-child(n+1) .de_div.promotion-card.yhzq-list .ic_img {
    background: #f9edd7;
}

#promotion-slider .slide:nth-child(n+1) .de_div.promotion-card.yhzq-list .ic_img:after {
    position: absolute;
    content: '';
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    box-shadow: 0 0 80px 40px #f9edd7 inset;
    pointer-events: none;
}

#promotion-slider .slide:nth-child(2n+1) .de_div.promotion-card.yhzq-list .ic_img {
    background: #d2cfe4;
}

#promotion-slider .slide:nth-child(2n+1) .de_div.promotion-card.yhzq-list .ic_img:after {
    position: absolute;
    content: '';
    width: 100%;
    top: 0;
    left: 0;
    box-shadow: 0 0 80px 40px #d2cfe4 inset;
    pointer-events: none;
}

#promotion-slider .slide:nth-child(3n+1) .de_div.promotion-card.yhzq-list .ic_img {
    background: #d9e9ce;
}

#promotion-slider .slide:nth-child(3n+1) .de_div.promotion-card.yhzq-list .ic_img:after {
    position: absolute;
    content: '';
    width: 100%;
    top: 0;
    left: 0;
    box-shadow: 0 0 80px 40px #d9e9ce inset;
    pointer-events: none;
}

/* 優惠輪播卡片文案區：與 moban-4 首頁定點 .de_div .detail_div 一致 */
#promotion-slider .slide .de_div.promotion-card.yhzq-list .detail_div {
    position: relative;
    z-index: 4;
    width: 100%;
    height: 240px;
    left: 0;
    top: -20px;
    box-sizing: border-box;
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
}

#promotion-slider .slide .de_div.promotion-card.yhzq-list .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;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#promotion-slider .slide .de_div.promotion-card.yhzq-list .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: 0 2px 2px #666;
    z-index: 101;
}

#promotion-slider .slide .de_div.promotion-card.yhzq-list .detail_div .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;
}

#promotion-slider .slide .de_div.promotion-card.yhzq-list .detail_div dl {
    width: 100%;
    height: auto;
    box-sizing: border-box;
    font-size: 0.8rem;
    font-weight: 600;
    margin: 0;
    padding: 0;
    padding-left: 10px;
}

#promotion-slider .slide .de_div.promotion-card.yhzq-list .detail_div dt span.price.yj {
    text-decoration: line-through;
    color: #999;
}

#promotion-slider .slide .de_div.promotion-card.yhzq-list .detail_div dt span.price.xj {
    color: #297901;
    font-weight: 800;
    font-family: "AVANTI", sans-serif;
    letter-spacing: 1px;
    font-size: 16px;
}

#promotion-slider .slide .de_div.promotion-card.yhzq-list > .toolbar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 35px;
    margin-top: 0;
    line-height: 32px;
    font-size: 16px;
    padding-left: 15px;
    padding-top: 5px;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    box-sizing: border-box;
    z-index: 30;
    display: block;
}

#promotion-slider .slide .de_div.promotion-card.yhzq-list > .toolbar span {
    width: 33%;
    height: 30px;
    display: block;
    float: left;
    line-height: 32px;
    overflow: hidden;
    font-size: 12px;
    flex: none;
    min-width: 0;
}

/* 優惠／推薦專區輪播指示器（適配 .dingdian 青綠底） */
#promotion-slider .promotion-slider__indicators,
#recommendation-slider .promotion-slider__indicators {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
    margin-bottom: 0;
    padding: 8px 12px 14px;
    box-sizing: border-box;
    list-style: none;
}

#promotion-slider .promotion-slider__indicators span,
#recommendation-slider .promotion-slider__indicators span {
    min-width: 26px;
    height: 26px;
    padding: 0 6px;
    margin: 0;
    box-sizing: border-box;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
    color: rgba(0, 0, 0, 0.55);
    font-size: 12px;
    font-weight: 800;
    line-height: 26px;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    user-select: none;
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

#promotion-slider .promotion-slider__indicators span:hover,
#recommendation-slider .promotion-slider__indicators span:hover {
    background: rgba(255, 255, 255, 0.65);
    color: rgba(0, 0, 0, 0.75);
    transform: scale(1.05);
}

#promotion-slider .promotion-slider__indicators span.active,
#recommendation-slider .promotion-slider__indicators span.active {
    background: #ffc24d;
    color: #3a2600;
    border-color: rgba(255, 255, 255, 0.6);
    transform: scale(1.15);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
}

#promotion-slider .promotion-slider__indicators span:focus-visible,
#recommendation-slider .promotion-slider__indicators span:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.95);
    outline-offset: 2px;
}

@media (max-width: 768px) {
    #promotion-slider .promotion-slider__indicators,
    #recommendation-slider .promotion-slider__indicators {
        gap: 8px;
        padding: 6px 10px 12px;
    }

    #promotion-slider .promotion-slider__indicators span,
    #recommendation-slider .promotion-slider__indicators span {
        min-width: 24px;
        height: 24px;
        font-size: 11px;
        line-height: 24px;
    }
}

@media (max-width: 480px) {
    #promotion-slider .promotion-slider__indicators span,
    #recommendation-slider .promotion-slider__indicators span {
        min-width: 22px;
        height: 22px;
        font-size: 10px;
        line-height: 22px;
    }
}

/*
 * 首頁優惠／推薦輪播卡片（實際 DOM：li.slide.yhzq-list > .img_div + .jrtj_nr）
 * 移動端各分辨率元素縮放；寬度由 yhzq.js 計算（≤319 每屏 1 張，≥320 每屏 2 張）
 */
#promotion-slider li.slide.yhzq-list,
#recommendation-slider li.slide.yhzq-list {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    box-sizing: border-box;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    overflow: hidden;
    list-style: none;
    margin: 0;
    padding: 0;
    min-width: 0;
}

#promotion-slider li.slide.yhzq-list > .img_div,
#recommendation-slider li.slide.yhzq-list > .img_div {
    width: 100%;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

#promotion-slider li.slide.yhzq-list > .jrtj_nr,
#recommendation-slider li.slide.yhzq-list > .jrtj_nr {
    flex: 1 1 auto;
    min-height: 0;
    width: 100%;
    max-width: 100%;
    padding-top: 6px;
    box-sizing: border-box;
}

@media (max-width: 767px) {
    #promotion-slider .slider-wrapper,
    #recommendation-slider .slider-wrapper {
        gap: 8px;
    }

    #promotion-slider li.slide.yhzq-list > .img_div,
    #recommendation-slider li.slide.yhzq-list > .img_div {
        height: clamp(150px, 38vw, 200px);
    }

    #promotion-slider li.slide.yhzq-list .img_div .yhzq-activity-time-badge,
    #recommendation-slider li.slide.yhzq-list .img_div .yhzq-activity-time-badge,
    #promotion-slider li.slide.yhzq-list .img_div .product-badge,
    #recommendation-slider li.slide.yhzq-list .img_div .product-badge,
    #promotion-slider li.slide.yhzq-list .img_div .vip-badge,
    #recommendation-slider li.slide.yhzq-list .img_div .vip-badge {
        --m5-slider-badge-h: 26px;
        --m5-slider-badge-fs: 10px;
        --m5-slider-badge-px: 7px;
        box-sizing: border-box !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        min-height: var(--m5-slider-badge-h) !important;
        height: var(--m5-slider-badge-h) !important;
        max-height: var(--m5-slider-badge-h) !important;
        padding: 0 var(--m5-slider-badge-px) !important;
        border-radius: 999px !important;
        border-width: 0 !important;
        font-size: var(--m5-slider-badge-fs) !important;
        font-weight: 800 !important;
        line-height: 1 !important;
        letter-spacing: 0.04em;
        white-space: nowrap;
    }

    #promotion-slider li.slide.yhzq-list .img_div .yhzq-activity-time-badge,
    #recommendation-slider li.slide.yhzq-list .img_div .yhzq-activity-time-badge {
        top: 8px !important;
        left: 8px !important;
        max-width: calc(100% - 12px);
    }

    #promotion-slider li.slide.yhzq-list .img_div .product-badge,
    #recommendation-slider li.slide.yhzq-list .img_div .product-badge {
        bottom: 34px !important;
        left: 8px !important;
        padding: 0 var(--m5-slider-badge-px) !important;
    }

    #promotion-slider li.slide.yhzq-list .img_div .vip-badge,
    #recommendation-slider li.slide.yhzq-list .img_div .vip-badge {
        top: 8px !important;
        right: 8px !important;
        left: auto !important;
    }

    #promotion-slider li.slide.yhzq-list .img_div .countdown-timer-overlay,
    #recommendation-slider li.slide.yhzq-list .img_div .countdown-timer-overlay {
        padding: 4px 6px;
    }

    #promotion-slider li.slide.yhzq-list .img_div .time-unit-mini,
    #recommendation-slider li.slide.yhzq-list .img_div .time-unit-mini {
        padding: 2px 3px;
    }

    #promotion-slider li.slide.yhzq-list .img_div .time-value-mini,
    #recommendation-slider li.slide.yhzq-list .img_div .time-value-mini {
        font-size: clamp(0.5rem, 3vw, 0.75rem);
    }

    #promotion-slider li.slide.yhzq-list .img_div .time-label-mini,
    #recommendation-slider li.slide.yhzq-list .img_div .time-label-mini {
        font-size: clamp(0.42rem, 2.2vw, 0.6rem);
    }

    #promotion-slider li.slide.yhzq-list > .jrtj_nr .pinfen,
    #recommendation-slider li.slide.yhzq-list > .jrtj_nr .pinfen {
        font-size: 14px;
        top: 4px;
        right: 8px;
    }

    #promotion-slider li.slide.yhzq-list > .jrtj_nr dt,
    #recommendation-slider li.slide.yhzq-list > .jrtj_nr dt {
        height: 20px;
        line-height: 20px;
        font-size: 0.72rem;
    }

    #promotion-slider li.slide.yhzq-list > .jrtj_nr dt.long,
    #recommendation-slider li.slide.yhzq-list > .jrtj_nr dt.long {
        height: auto;
        min-height: 20px;
        line-height: 1.25;
    }

    #promotion-slider li.slide.yhzq-list > .jrtj_nr dt span.price.xj,
    #recommendation-slider li.slide.yhzq-list > .jrtj_nr dt span.price.xj {
        font-size: 13px;
    }

    #promotion-slider li.slide.yhzq-list > .jrtj_nr .toolbar,
    #recommendation-slider li.slide.yhzq-list > .jrtj_nr .toolbar {
        height: 30px;
        line-height: 28px;
        font-size: 11px;
        padding-left: 8px;
    }

    #promotion-slider li.slide.yhzq-list > .jrtj_nr .toolbar span,
    #recommendation-slider li.slide.yhzq-list > .jrtj_nr .toolbar span {
        font-size: 10px;
        line-height: 28px;
        height: 28px;
    }
}

@media (max-width: 391px) {
    #promotion-slider .slider-wrapper,
    #recommendation-slider .slider-wrapper {
        gap: 6px;
    }

    #promotion-slider li.slide.yhzq-list > .img_div,
    #recommendation-slider li.slide.yhzq-list > .img_div {
        height: clamp(128px, 40vw, 168px);
    }

    #promotion-slider li.slide.yhzq-list .img_div .yhzq-activity-time-badge,
    #recommendation-slider li.slide.yhzq-list .img_div .yhzq-activity-time-badge,
    #promotion-slider li.slide.yhzq-list .img_div .product-badge,
    #recommendation-slider li.slide.yhzq-list .img_div .product-badge,
    #promotion-slider li.slide.yhzq-list .img_div .vip-badge,
    #recommendation-slider li.slide.yhzq-list .img_div .vip-badge {
        --m5-slider-badge-h: 22px;
        --m5-slider-badge-fs: 9px;
        --m5-slider-badge-px: 5px;
    }

    #promotion-slider li.slide.yhzq-list .img_div .product-badge,
    #recommendation-slider li.slide.yhzq-list .img_div .product-badge {
        bottom: 28px !important;
    }

    #promotion-slider li.slide.yhzq-list > .jrtj_nr,
    #recommendation-slider li.slide.yhzq-list > .jrtj_nr {
        padding-top: 4px;
    }

    #promotion-slider li.slide.yhzq-list > .jrtj_nr .pinfen,
    #recommendation-slider li.slide.yhzq-list > .jrtj_nr .pinfen {
        font-size: 12px;
    }

    #promotion-slider li.slide.yhzq-list > .jrtj_nr dt,
    #recommendation-slider li.slide.yhzq-list > .jrtj_nr dt {
        height: 18px;
        line-height: 18px;
        font-size: 0.68rem;
    }

    #promotion-slider li.slide.yhzq-list > .jrtj_nr dt span.price.xj,
    #recommendation-slider li.slide.yhzq-list > .jrtj_nr dt span.price.xj {
        font-size: 11px;
    }

    #promotion-slider li.slide.yhzq-list > .jrtj_nr .toolbar,
    #recommendation-slider li.slide.yhzq-list > .jrtj_nr .toolbar {
        height: 28px;
        line-height: 26px;
    }

    #promotion-slider li.slide.yhzq-list > .jrtj_nr .toolbar span,
    #recommendation-slider li.slide.yhzq-list > .jrtj_nr .toolbar span {
        font-size: 9px;
        line-height: 26px;
        height: 26px;
    }
}

@media (max-width: 376px) {
    #promotion-slider li.slide.yhzq-list > .img_div,
    #recommendation-slider li.slide.yhzq-list > .img_div {
        height: clamp(120px, 38vw, 156px);
    }

    #promotion-slider li.slide.yhzq-list .img_div .yhzq-activity-time-badge,
    #recommendation-slider li.slide.yhzq-list .img_div .yhzq-activity-time-badge,
    #promotion-slider li.slide.yhzq-list .img_div .product-badge,
    #recommendation-slider li.slide.yhzq-list .img_div .product-badge,
    #promotion-slider li.slide.yhzq-list .img_div .vip-badge,
    #recommendation-slider li.slide.yhzq-list .img_div .vip-badge {
        --m5-slider-badge-h: 20px;
        --m5-slider-badge-fs: 8.5px;
        --m5-slider-badge-px: 4px;
    }
}

@media (max-width: 319px) {
    #promotion-slider .slider-wrapper,
    #recommendation-slider .slider-wrapper {
        gap: 0;
    }

    #promotion-slider li.slide.yhzq-list,
    #recommendation-slider li.slide.yhzq-list {
        flex: 0 0 100% !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    #promotion-slider li.slide.yhzq-list > .img_div,
    #recommendation-slider li.slide.yhzq-list > .img_div {
        height: clamp(160px, 50vw, 220px);
    }

    #promotion-slider li.slide.yhzq-list .img_div .yhzq-activity-time-badge,
    #recommendation-slider li.slide.yhzq-list .img_div .yhzq-activity-time-badge,
    #promotion-slider li.slide.yhzq-list .img_div .product-badge,
    #recommendation-slider li.slide.yhzq-list .img_div .product-badge,
    #promotion-slider li.slide.yhzq-list .img_div .vip-badge,
    #recommendation-slider li.slide.yhzq-list .img_div .vip-badge {
        --m5-slider-badge-h: 24px;
        --m5-slider-badge-fs: 10px;
        --m5-slider-badge-px: 7px;
    }

    #promotion-slider li.slide.yhzq-list .img_div .product-badge,
    #recommendation-slider li.slide.yhzq-list .img_div .product-badge {
        bottom: 36px !important;
    }

    #promotion-slider li.slide.yhzq-list > .jrtj_nr .pinfen,
    #recommendation-slider li.slide.yhzq-list > .jrtj_nr .pinfen {
        font-size: 15px;
    }

    #promotion-slider li.slide.yhzq-list > .jrtj_nr dt,
    #recommendation-slider li.slide.yhzq-list > .jrtj_nr dt {
        height: 22px;
        line-height: 22px;
        font-size: 0.75rem;
    }

    #promotion-slider li.slide.yhzq-list > .jrtj_nr dt span.price.xj,
    #recommendation-slider li.slide.yhzq-list > .jrtj_nr dt span.price.xj {
        font-size: 12px;
    }

    #promotion-slider li.slide.yhzq-list > .jrtj_nr .toolbar span,
    #recommendation-slider li.slide.yhzq-list > .jrtj_nr .toolbar span {
        font-size: 10px;
    }
}

/* promotion grid */
.promotion-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    padding: 20px;
    box-sizing: border-box;
}

.promotion-grid--standalone {
    margin-top: 0;
}

.promotion-grid .promotion-card {
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
    border-radius: 10px;
    overflow: hidden;
    background-color: rgba(255,255,255,.8);
}

.promotion-grid .promotion-card.promotion-card--hidden {
    display: none;
}

.promotion-grid .promotion-card .img-containe,
.promotion-grid .promotion-card__media {
    position: relative;
    width: 100%;
    height: 360px;
    background: #d7eace;
    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 {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #97c803, #82aa05);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 20px;
    z-index: 10;
    box-shadow: 0 2px 4px rgba(255,255,255,0.5);
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
    white-space: nowrap;
}

.promotion-grid .vip-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 10;
    width: auto;
    height: auto;
    padding: 6px 12px;
    border-radius: 10px;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.15;
    color: #fff;
    background: rgba(42, 32, 8, 0.9);
    border: 1px solid rgba(255, 215, 120, 0.45);
    box-shadow: none;
    text-shadow: none;
}

.promotion-grid .promotion-card__details,
.promotion-grid .promotion-card .details-containe {
    width: 100%;
    overflow: hidden;
    padding: 10px;
    position: relative;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.promotion-grid .promotion-card .details-containe ul {
    margin: 0 0 10px;
    padding: 0;
    list-style: none;
    flex: 1;
}

.promotion-grid .promotion-card .details-containe .information {
    width: 50%;
    float: left;
    border-bottom: 1px solid #ddd;
    color: #666;
    line-height: 1.6;
    margin: 0;
    font-size: 22px;
}

.promotion-grid .promotion-card .details-containe .information span {
    color: #333;
    font-weight: 400;
}

.promotion-grid .promotion-card .details-containe .information.first .nickname {
    font-size: 24px;
    font-weight: 600;
    color: #444;
}

.promotion-grid .promotion-card .details-containe .information.yj span {
    color: #e75858;
    text-decoration: line-through;
}

.promotion-grid .promotion-card .details-containe .information.xj {
    color: #666;
    font-weight: 400;
}

.promotion-grid .promotion-card .details-containe .information.xj span {
    color: #3f9f2f;
    font-size: 24px;
    font-weight: 600;
}

.promotion-grid .promotion-card__stats {
    width: 100%;
    height: 30px;
    border-radius: 5px;
    box-sizing: border-box;
    margin-top: auto;
    padding: 0;
    border: 0;
    background-color: #f4f4f4;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
}

.promotion-grid .promotion-card__stats span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: #666;
    font-size: 14px;
    font-weight: 600;
    line-height: 30px;
}

.promotion-grid .promotion-card__stats i {
    font-size: 14px;
}

@media (max-width: 1024px) {
    .promotion-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        padding: 16px;
    }

    .promotion-grid .promotion-card .details-containe .information.first .nickname {
        font-size: 22px;
    }
}

@media (max-width: 640px) {
    .promotion-grid {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 12px;
    }

    .promotion-grid .promotion-card {
        border-radius: 10px;
    }

    .promotion-grid .vip-badge {
        top: 12px;
        left: 12px;
        padding: 6px 12px;
        font-size: 14px;
        border-radius: 10px;
        box-shadow: none;
    }

    .promotion-grid .promotion-card .product-badge {
        top: 10px;
        right: 10px;
    }

    .promotion-grid .promotion-card__details,
    .promotion-grid .promotion-card .details-containe {
        padding: 10px;
    }

    .promotion-grid .promotion-card .details-containe .information {
        font-size: 20px;
    }

    .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__stats span {
        font-size: 13px;
        gap: 6px;
    }

}

/* 排行榜（.paihangbang）：移動端每行一條，覆蓋 767px 內雙列 */
@media only screen and (max-width: 767px) {
    .paihangbang .index_phb_row01 ul {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .paihangbang .index_phb_row01 li {
        width: 100% !important;
        max-width: 100%;
        margin-right: 0 !important;
        margin-left: 0 !important;
        float: none;
        clear: both;
        box-sizing: border-box;
    }

    .paihangbang .index_phb_row01 li:nth-child(2n) {
        margin-right: 0 !important;
    }

    .paihangbang .index_phb_row01 li .jrtj_img {
        width: 38%;
        max-width: 220px;
        min-width: 100px;
    }

    .paihangbang .index_phb_row01 li .jrtj_nr {
        width: auto !important;
        flex: 1 1 0;
        min-width: 0;
    }
}

/* 排行榜 PC 端 toolbar 強制貼底並收緊三項間距 */
@media (min-width: 769px) {
    .paihangbang .index_phb_row01 .jrtj_nr {
        position: relative !important;
        padding-bottom: 38px !important;
    }

    .paihangbang .index_phb_row01 .jrtj_nr .toolbar,
    .paihangbang .index_phb_row01 .jrtj_nr .toolbar.yhzq {
        position: absolute !important;
        left: 10px !important;
        right: 10px !important;
        bottom: 4px !important;
        width: auto !important;
        justify-content: flex-start !important;
        gap: 6px !important;
        padding-right: 0 !important;
    }

    .paihangbang .index_phb_row01 .jrtj_nr .toolbar span,
    .paihangbang .index_phb_row01 .jrtj_nr .toolbar.yhzq span {
        flex: 0 0 auto !important;
        width: auto !important;
        min-width: 54px !important;
        max-width: none !important;
    }
}

/* 屏蔽前台轮播 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;
}
