/*===== 主內容 Start =======*/
/* JW 2026/01/02：v14 多個會員頁原本用 inline <style> 放「標題字級」避免閃爍；依規則移到共用 CSS，讓 JSP 乾淨一點 */
.page_title h1,
.page_title > h1 {
	font-size: 24px !important;
	line-height: 1.5em !important;
	margin-bottom: 0 !important;
}
.account-title,
h4.account-title {
	font-size: 24px !important;
	font-weight: 700 !important;
	line-height: 1.5em !important;
}
.row_crumb h2,
#div_crumb h2 {
	line-height: 1.5em !important;
	margin-bottom: 0 !important;
}

/*區塊的灰色底*/
.member-gray-block{
	background:#FAFAFA;
	border-radius:12px;
	padding:32px;
}
@media(max-width:1199px){
.member-gray-block{
	padding:24px;
}
}
@media(max-width:767px){
.member-gray-block{
	padding:16px;
}
}
/* col 左右padding */
@media(max-width:767px){
.member-form-block .row > [class *='col-'] {
	padding-left:8px;
	padding-right:8px;
}	
}

/*修改密碼 區塊的灰色底*/
.member-content-block{
	display:flex;
	flex-direction:column;
	gap:16px;
	background:#FAFAFA;
	border-radius:12px;
	padding:32px;
}
.member-content-block.large{
	padding:56px;
	margin-top:40px;
}
.member-content-block.large .form-box__single-group{
	margin-top:16px;
}
@media(max-width:1199px){
.member-content-block{
	padding:24px;
}
}
@media(max-width:767px){
.member-content-block,
.member-content-block.large{
	padding:16px;
	margin-top:0;
}
}
/*Form 排版 */
.label-mt-16 label{
	margin-top:8px;
}
@media(max-width:767px){
.label-mt-16 label{
	margin-top:16px;
}
}
/*回上一頁*/
.previous-step{
	display:flex;
	gap:8px;
	align-items:center;
	color: #ff3c74;
}
@media(max-width:991px){
.previous-step{
	margin-top:24px;
}
}

/*===== 主內容 End =======*/

/*===== 共用 Start =======*/
/* 圓弧table */
table.member-table{
	border:0;
	width: 100%;
    border-collapse: collapse;
    table-layout: auto;
}
@media(max-width:767px){
table.member-table{
/*   border-collapse: separate; */
  border-spacing: 0;
/*收藏/到貨通知會有問題   border: 1px solid #d3d3d3; */
  border-radius: 8px;
  overflow: hidden;
}

table.member-table th, td {
  /* border-bottom: 1px solid #d3d3d3; */
  border-right: 1px solid #d3d3d3;
  padding: 8px;
  border-right: none;
}

/* 去掉最後一列的底線 */
table.member-table tbody tr:last-child td {
  border-bottom: none;
}

/* 去掉最後一欄的右線 */
table.member-table tr th:last-child,
table.member-table tr td:last-child {
  border-right: none;
}

/* 表頭圓角處理 */
table.member-table thead tr:first-child th:first-child {
  border-top-left-radius: 8px;
}

table.member-table thead tr:first-child th:last-child {
  border-top-right-radius: 8px;
}

/* 底部圓角處理 */
table.member-table tbody tr:last-child td:first-child {
  border-bottom-left-radius: 8px;
}

table.member-table tbody tr:last-child td:last-child {
  border-bottom-right-radius: 8px;
}
}

.member-table tbody > tr{
	border:0;
}

.member-table tbody > tr td{
	color: var(--header_main_f_color, #3B3B3B);
	padding: 16px 12px;
	box-sizing: border-box;
	border-top:1px solid #d3d3d3;
}
@media(max-width:767px){
	.member-table tbody > tr td{
		padding: 8px 2px;
	}
}

.member-table thead > tr{
	border-bottom:0;
	border-color:#d3d3d3;
}
.member-table thead > tr > th{
	font-size:14px;
	color:#999999;
	font-weight:normal;
	padding:5px 16px;
	box-sizing: border-box;
	text-align:center;
}
.member-table thead > tr{
	border-left:0;
	border-right:0;
}
.member-table tbody > tr:last-child{
	border-bottom:0;
}

/* 手機版 維修卡片 */
.member-list-card{
    border:1px solid #E2E2E2;
    padding:16px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap:16px;
    border-radius: 10px;
}
.member-list-card:hover{
    background-color: #ffffff;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    -webkit-box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    -ms-box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    color:unset;
    cursor:pointer;
}
.member-list-card .item-title{
    font-size:12px;
    line-height:24px;
}
.member-list-card .item-content{
	font-size:15px;
}

/*===== 共用 End =======*/

/*===== 時間篩選 Start =======*/
.date-selector-wrapper {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
}
@media(max-width:767px){
	.date-selector-wrapper {
	 gap:0;
	 }
}
.date-selector-container{
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    min-width: 0;
}

.date-hint{
    flex: 0 1 auto;
    width: auto;
    min-width: auto;
    font-size: 14px;
    line-height: 1;
}

@media(max-width:430px){
    .date-selector-container {
        display: block;
        text-align: center;
    }
}

.date-nav-btn {
	display:flex;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
    color: #666;
    padding: 5px;
}
@media(max-width:767px){
	.date-nav-btn {
	 padding:0;
	 }
}

.date-nav-btn:hover {
    color: var(--header_main_f_color, #3B3B3B);
}

.date-nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.date-range-display {
    display: flex;
    align-items: center;
    font-size: 18px;
    font-weight: normal;
    color: var(--header_main_f_color, #3B3B3B);
}
@media(max-width:767px){
	.date-range-display {
		font-size:15px;
	}
}

.date-clickable {
    cursor: pointer;
    padding: 2px 5px;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.date-clickable:hover {
    color: #FF3C74;
}

.date-separator {
    margin: 0 5px;
    color: #999;
}

/* 月份選擇器彈出視窗 */
.month-picker-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.month-picker-content {
    background: white;
    border-radius: 8px;
    padding: 20px;
    min-width: 320px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.month-picker-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.year-nav-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px 10px;
    font-size: 18px;
    color: #666;
    transition: all 0.3s ease;
}

.year-nav-btn:hover {
    color: #d32f2f;
}

.year-display {
    font-size: 20px;
    font-weight: bold;
    color: var(--header_main_f_color, #3B3B3B);
}

.month-picker-body {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 20px;
    color:#464646;
}

.month-btn {
    padding: 6px 12px;
    background: white;
    border-radius: 30px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.month-btn:hover {
    background: #f5f5f5;
    border-color: #999;
}

.month-btn:disabled,
.month-btn.disabled {
    opacity: 0.35;
    cursor: not-allowed;
    background: #f5f5f5;
    border-color: #ddd;
    color: #999;
}

.month-btn:disabled:hover,
.month-btn.disabled:hover {
    background: #f5f5f5;
    border-color: #ddd;
}

.month-btn.selected {
    background: linear-gradient(to bottom, #ff769d 0%, #ff3c74 100%);
    color: white;
}

.month-picker-footer {
    display: flex;
    justify-content: center;
}

.month-picker-cancel-btn {
    padding: 8px 56px;
    background: #ffffff;
    color: var(--header_link_hover_color ,#ff3c74);
    border: 1px solid var(--header_link_hover_color ,#ff3c74);
    border-radius: 30px;
    cursor: pointer;
}

.month-picker-cancel-btn:hover {
    opacity:0.7;
}
/*===== 時間篩選 End =======*/


/*===== 列表Tab Start =======*/
.member-sub-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 30px;
    border-bottom: 2px solid #d3d3d3;
}

.member-sub-tab {
    padding: 12px 24px;
    background: #f5f5f5;
    border: none;
    cursor: pointer;
    font-size: 16px;
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    margin-right: 4px;
    display: inline-block;
}

.member-sub-tab:hover {
    background: #e8e8e8;
    color: var(--header_main_f_color, #3B3B3B);
    text-decoration: none;
}

.member-sub-tab.active {
    background: #ffffff;
    color: var(--header_main_f_color, #3B3B3B);
    font-weight: bold;
    border-bottom: 3px solid #d32f2f;
}

.tab-member-sub-swiper .swiper-slide .tab-member-sub-swiper-slide-content{
    width: 100%;
    text-align: center;
}

.tab-member-sub-swiper .swiper-slide {
    font-size: 16px;
    font-weight: 400;
    display: inline-flex;
    align-items:center;
    justify-content:center;
    height:56px;
    border-right: 1px solid #FAFAFA;
    background: #D8D8D8;
}
.tab-member-sub-swiper .swiper-slide:first-child {
    border-top-left-radius: 12px ;
}

.tab-member-sub-swiper .swiper-slide.selected {
    font-weight: bold;
    background: #FAFAFA;
}

.tab-member-sub-swiper .swiper-slide:last-child {
    border-right: unset;
    border-top-right-radius: 12px ;
}

/* Fallback：若 Swiper JS 沒有成功初始化（例如腳本未載入或初始化噴錯），
 * Swiper 預設會把 .swiper-slide 設成 width:100% 導致手機只看到第一個 tab（「全部」）。
 * 這裡用 :not(.swiper-initialized) 做降級顯示：改成可水平滑動/點擊的 tab 列表。 */
.tab-member-sub-swiper:not(.swiper-initialized) {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.tab-member-sub-swiper:not(.swiper-initialized) .swiper-wrapper {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(88px, 1fr);
}
.tab-member-sub-swiper:not(.swiper-initialized) .swiper-slide {
    width: auto !important;
}

/* .tab-member-sub-swiper .swiper-slide a {
    padding: 15px 12px;
} */

/* @media(max-width:991px){
.tab-member-sub-swiper .swiper-slide a {
    padding: 6px 12px;
}
} */

.tab-member-sub-swiper .swiper-slide a:hover {
	color:unset;
	opacity:0.7;
}

.tab-member-sub-swiper .swiper-slide-active a:hover {
	color:unset;
	opacity:1!important;
}
/*===== 列表Tab End =======*/


/*===== 列表 Start =======*/
.div_member_list_area{
    background: #FAFAFA;
    border-radius:12px;
    overflow:hidden;
}
.div_member_list_table{
    padding: 32px;
}
@media(max-width:1099px){
	.div_member_list_table{
	    padding: 32px 27px;
	}
}

/* 平版 */
@media(max-width:991px){
	.div_member_list_block{
		display: grid;
		grid-template-columns:1fr 1fr;
		gap: 8px;
		padding: 16px;
	}
    .div_member_list_block .div_member_list_detail_area:not(.hasData),
    .div_member_list_block .empty-message{
        grid-column: 1 / -1;
    }
}
/* 手機版 */
@media(max-width:767px){
	.div_member_list_block.grid1{
	    display: grid;
	    grid-template-columns:1fr;
	}
}
@media(max-width:575px){
	.div_member_list_block{
	    display: grid;
	    grid-template-columns:1fr;
	}
}
.div_member_list_block .div_member_list_detail_area{
    padding: 16px;
}
.div_member_list_block .div_member_list_detail_area.hasData{
    display: grid;
    grid-template-columns: 1fr auto;
    border: 1px solid #E2E2E2;
    border-radius: 10px;
}
.div_member_list_block .div_member_list_detail_area.hasData .div_member_list_detail_info_area{
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 8px 24px;
}
/*===== 列表 End =======*/

/*===== 詳細頁 Start =======*/
.div_member_detail_content_area{
    border: 1px solid #E2E2E2;
    border-radius: 10px;
}
.div_member_detail_content_area .div_member_detail_content_block:last-child{
	border-bottom:0;
}
.div_member_detail_content_block{
    border-bottom: 1px solid #E2E2E2;
    gap: 24px;
    display: grid;
    padding:24px;
}
.div_member_detail_content_block.gap0{
	gap:0;
}
@media(max-width:767px){
	.div_member_detail_content_block{
		padding:16px;
	}
}
.div_member_detail_content_arrow{
    font-weight: 400;
    font-size: 25px;
}
.div_member_detail_content_title{
    font-weight: 400;
    font-size: 25px;
    line-height:38px;
    letter-spacing:2px;
}
@media(max-width:767px){
.div_member_detail_content_title{
    font-size: 22px;
    line-height:33px;
}
}
.div_member_detail_content_info_area{
    display: grid;
    grid-template-columns: 100px 1fr 100px 1fr;
    gap: 8px 24px;
    align-items:center;
}
.div_member_detail_content_block .div_member_list_table{
    padding: 0;
}
.div_member_detail_content_info_area .list-item {
	font-size:14px;
	line-height:30px;
	color:#787878;
}
.div_member_detail_content_info_area .list-content {
	font-size:14px;
	line-height:30px;
}
@media(max-width: 1299px){
    .div_member_detail_content_info_area{
        grid-template-columns: 100px 1fr;
        gap: 8px 8px;
    }
}

@media(max-width: 991px){
.div_member_detail_content_info_area .list-item {
	font-size:12px;
	line-height:22px;
}
.div_member_detail_content_info_area .list-content {
	font-size:15px!important;
}
}
@media(max-width:767px){
	.list-content.font22 {
		font-size:15px;
		line-height:22px;
	}
}
/* 備註樣式 */
.redmind{
    color: #D1254E;
}

.div_member_detail_img img{
    width: 72px;
    height: 72px;
    object-fit: scale-down;
}
/*===== 詳細頁 End =======*/

/*===== 編輯頁 End =======*/
.btn_inner_input{
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    text-decoration: underline;
    font-size: 14px;
    color: #999999;
    display: grid;
}
.btn_inner_input.no_underline{
    text-decoration: none;
}

.pic-upload-area.no_pic_search{
    padding: 8px;
}
/*===== 編輯頁 End =======*/


/*===== Nav Start =======*/
.v14_nav01 {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding: 0 8px;
}
/* Nav 外觀 */
.v14_nav01 .nav {
  position: relative;
  display: flex;
  flex-wrap: nowrap;
  background-color: #FAFAFA;
  box-shadow: inset 0 0px 4px rgba(0,0,0,0.25);
  border-radius: 30px;
  width: fit-content;
  margin: 0 auto;
  padding: 4px;
  overflow: hidden;
  min-width: max-content;
}
/* Nav Item */
.v14_nav01 .nav-item {
  font-size: 20px;
  line-height: 27px;
  padding: 0 40px;
  letter-spacing: 2px;
  position: relative;
  z-index: 2;
  white-space: nowrap;
}
@media(max-width:991px){
.v14_nav01 .nav-item {
    font-size:16px;
    padding: 0 32px;
}
}
@media(max-width:575px){
.v14_nav01 .nav-item {
    font-size:12px;
      padding: 0 16px;
}
.v14_nav01 .nav-item .nav-link {
      padding: 0;
}
}
.v14_nav01 .nav-link {
  display: block;
  color: var(--header_main_f_color, #3B3B3B);
  text-decoration: none;
  padding: 8px 0;
  transition: color 0.3s ease;
}
@media(max-width:991px){
.v14_nav01 .nav-link {
    padding: 6px 0;
}
}
@media(max-width:575px){
.v14_nav01 .nav-link {
    padding: 3px 0;
}
}
.v14_nav01 .nav-item.active .nav-link {
  color: #fff;
  font-weight: 500;
}
.v14_nav01 .slide-bg {
  position: absolute;
  top: 4px;
  left: 0;
  height: calc(100% - 8px);
  border-radius: 30px;
  background: var(--header_btn_top_bg_color,linear-gradient(to bottom, #ff769d 0%, #ff3c74 100%));
  transition: all 0.35s ease;
  z-index: 1;
}
/*===== Nav End =======*/


/*===== sweetalert Start =======*/
/* html 加上 灰色隔線 */
.sweetalert-body-border {
    border-top: 1px solid #E2E2E2;
    padding: 32px 32px 16px 32px;
}
/*===== sweetalert End =======*/

/*===== 主標題 Start =======*/
.member_page_main_title{
	font-size:40px;
	line-height:57px;
	font-weight:500;
	letter-spacing:6px;
	text-align:center;
	margin-bottom:40px;
}
.member_page_main_title h1{
	font-size:40px;
	line-height:57px;
	font-weight:500;
	letter-spacing:6px;
	text-align:center;
}
.member_page_main_title .member_page_main_sub_title{
    font-size:16px;
    line-height:1;
    font-weight:400;
    letter-spacing:2px;
}

.member_page_main_title .member_page_main_sub_title_desc{
    margin-top: 10px;
    font-size:14px;
    line-height:1.2;
    font-weight:400;
    letter-spacing:0;
}

@media(max-width:1199px){
.member_page_main_title,
.member_page_main_title h1{
	font-size:32px;
}
}
@media(max-width:991px){
.member_page_main_title{
	display:none;
}
}
/*===== 主標題 End =======*/

/*===== 子選單 Start =======*/
.memberMenuSubArea{
	margin:16px auto;
}
@media(max-width:767px){
	.memberMenuSubArea{
	    margin:24px auto;
	}
}

.memberMenuSubArea .swiper_area_board{
    border: 1px solid transparent;
    border-radius: 30px;
    position: relative;
    background-clip: padding-box;
    width: fit-content;
    max-width: 100%;
    margin: 0 auto;
    padding:4px 0;
    box-sizing: border-box;
    display: table;
    background-color: rgb(250, 250, 250);
    box-shadow: rgba(0, 0, 0, 0.25) 0 0 4px inset;
    overflow:hidden;
}
@media(max-width:767px){
	.memberMenuSubArea .swiper_area_board{
		padding:3px 0;
	}
}
/* Nav Item */
.memberMenuSubArea .swiper_memberSubMenu .swiper-slide:first-child {
	margin-left:4px;
}
.memberMenuSubArea .swiper_memberSubMenu .swiper-slide:last-child {
	margin-right:4px;
}
.memberMenuSubArea .swiper_memberSubMenu .swiper-slide .nav-item {
    font-size: 20px;
    line-height: 27px;
    padding: 0 56px;
    letter-spacing:1.5px;
}
@media(max-width:1199px){
    .memberMenuSubArea .swiper_memberSubMenu .swiper-slide .nav-item {
        font-size:16px;
        padding: 0 32px;
    }
}
@media(max-width:767px){
    .memberMenuSubArea .swiper_memberSubMenu .swiper-slide .nav-item {
        font-size:14px;
        padding: 0 24px;
    }
}
@media(max-width:575px){
    .memberMenuSubArea .swiper_memberSubMenu .swiper-slide .nav-item {
        font-size:12px;
        padding: 0 16px;
    }
    .memberMenuSubArea .swiper_memberSubMenu .swiper-slide a {
        padding: 0;
    }
}
@media(max-width:392px){
	.memberMenuSubArea .swiper_memberSubMenu .swiper-slide .nav-item {
        padding: 0 12px;
    }
}
.memberMenuSubArea .swiper_memberSubMenu .swiper-slide a {
    display: block;
    color: var(--header_main_f_color, #3B3B3B);
    text-decoration: none;
    padding: 8px 0;
    transition: color 0.3s ease;
}
@media(max-width:991px){
    .memberMenuSubArea .swiper_memberSubMenu .swiper-slide a {
        padding: 6px 0;
    }
}
@media(max-width:575px){
    .memberMenuSubArea .swiper_memberSubMenu .swiper-slide a {
        padding:0;
    }
}
.memberMenuSubArea .swiper_memberSubMenu .swiper-slide.selected a {
    color: #fff;
    font-weight: 500;
}
.memberMenuSubArea .swiper-slide.selected .nav-item {
    height: calc(100% - 8px);
    border-radius: 30px;
    background:linear-gradient(to bottom, #ff769d 0%, #ff3c74 100%);
}
/*===== 子選單 End =======*/

/*===== 頁碼 Start ======*/

/* V14 分頁樣式 - 圓形按鈕風格 */
.v14-pagination-container {
    margin-top: 32px;
    margin-bottom: 32px;
    position: relative;
}

.v14-pagination-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 50px;
}

/* 分頁列表 - 置中 */
.v14-pagination-list {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
    justify-content: flex-end;
}
@media(max-width:767px){
    .v14-pagination-list {
        justify-content:center;
    }
}

/* 數字按鈕群組容器 - 整體灰色圓底 */
.v14-numbers-group {
    display: flex;
    align-items: center;
    background-color: #FAFAFA;
    border-radius: 50px;
}


.v14-numbers-list {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    padding: 4px 16px;
    border-radius:30px;
    margin: 0;
    background:#f5f5f5;
}

.page-pagination__item{
    margin-bottom: 0px !important;
}

/* 分頁按鈕基礎樣式 - 圓形 */
.v14-page-link,
a.v14-page-link{
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height:30px;
    width: 30px;
    min-width:30px;
    border-radius: 50% !important;
    border: 1px solid transparent !important;
    background-color: #FFFFFF !important;
    color: #383838 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
    padding: 0 !important;
    line-height: 1 !important;
}
.v14-pagination-list .page-pagination__item{
    margin:0;
}
.v14-numbers-list .page-pagination__item .page-pagination__link a{
    width:30px;
    height:30px;
    max-width:30px!important;
}
.v14-pagination-list .page-pagination__item .page-pagination__link a{
    width:38px;
    height:38px;
    max-width:38px!important;
}

/* 數字按鈕 - 透明背景 */
.v14-page-number,
.page-pagination__link.v14-page-number {
    font-weight: 500 !important;
    background-color: transparent !important;
    border: 1px solid transparent !important;
    color: #666666 !important;
}

.v14-page-number:hover,
.page-pagination__link.v14-page-number:hover {
    background-color: rgba(0, 0, 0, 0.05) !important;
    color: #333333 !important;
}

.v14-page-number.active,
.page-pagination__link.v14-page-number.active {
    border: 1px solid #333333 !important;
    color: #333333 !important;
    font-weight: 600 !important;
}

/* 左右箭頭按鈕 - 可用時為紫色漸變 */
.v14-page-arrow,
.page-pagination__link.v14-page-arrow {
    background: linear-gradient(to bottom, #ff769d 0%, #ff3c74 100%) !important;
    border: none !important;
    color: #FFFFFF !important;
}

.v14-page-arrow:hover:not(.disabled),
.page-pagination__link.v14-page-arrow:hover:not(.disabled) {
    background: linear-gradient(to bottom, #ff8aae 0%, #ff5085 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(233, 100, 127, 0.4) !important;
}

.v14-page-arrow.disabled,
.page-pagination__link.v14-page-arrow.disabled {
    background: #FFFFFF !important;
    border: 1px solid #c2c2c2 !important;
    color: #c2c2c2  !important;
    cursor: not-allowed !important;
}

.v14-page-arrow i {
    font-size: 12px !important;
}

/* 省略號 - 在灰底內顯示 */
.v14-dots {
    display: flex;
    align-items: center;
    padding: 0 8px;
}

.v14-dots span {
    color: #999999;
    font-size: 14px;
    font-weight: 500;
}

/* 跳頁區域 - 右下角 */
.v14-jump-page {
    position: absolute;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.v14-jump-page-selector{
    display:flex;
    gap:10px;
    align-items:center;
}
@media(max-width:1199px){
    .v14-jump-page-selector{
        display:none;
    }
}
.v14-jump-label {
    color: #666;
    font-size: 14px;
    font-weight: 500;
}

.v14-page-select {
    padding: 7px 30px 7px 12px;
    border: 1px solid #d9d9d9;
    border-radius: 50px;
    font-size: 14px;
    cursor: pointer;
    min-width: 60px;
    background-color: white;
    color: var(--header_main_f_color, #3B3B3B);
    font-weight: 500;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233B3B3B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 16px;
    transition: all 0.3s ease;
    min-width:74px;
}

.v14-go-btn {
    height:38px;
    width:38px;
    font-size: 16px;
    font-weight:500;
    background: linear-gradient(to bottom, #ff769d 0%, #ff3c74 100%);
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 1px;
}
.v14-go-btn:hover {
    opacity:0.7;
}
.v14-go-btn:active {
    transform: translateY(0);
}

/* 響應式設計 - V14 收藏頁面 */
.v14-pagination-list {
    gap: 16px;
    margin-left: 159px;
    justify-content: center;
}
@media (max-width: 1199px) {
	.v14-pagination-list {
        gap: 6px;
        margin:auto;
        width:auto;
	    }
}
@media (max-width: 991px) {
    .v14-page-link {
        width: 36px;
        height: 36px;
        min-width:36px;
        font-size: 13px;
    }

    .v14-numbers-list {
        gap: 3px;
    }

    /* 跳頁區域在平板上保持右下 */
    .v14-jump-page {
        right: 10px;
    }
}

@media (max-width: 991px) {
    /* 跳頁區域在手機上移到下方置中 */
    .v14-pagination-container {
        display: flex;
        flex-direction: column;
        gap: 15px;
        margin:24px 0;
    }
}

@media (max-width: 767px) {
    .v14-pagination-list {
        margin-left:0;
    }

    .v14-jump-page {
        position: static;
        justify-content: center;
        width: 100%;
    }
}

@media (max-width: 575px) {
    /* 分頁響應式 */
    .v14-page-link {
        width: 32px;
        height: 32px;
        min-width:32px;
        font-size: 12px;
    }

    .v14-pagination-list {
        gap: 4px;
    }

    .v14-page-arrow i {
        font-size: 10px;
    }

    .v14-page-select {
        min-width: 50px;
        padding: 6px 24px 6px 10px;
        font-size: 13px;
    }

    .v14-jump-label {
        font-size: 13px;
    }
}


.pagination-wrapper-selector {
    display:grid;
    grid-template-columns:1fr auto;
}

.pagination-wrapper {
    margin-top: 30px;
    display: flex;
    justify-content: center;
}

.pagination {
    display: flex;
    list-style: none;
    gap: 5px;
    padding: 0;
    margin: 0;
}

.pagination li {
    list-style: none;
}

.pagination button {


    padding: 8px 12px;
    border: 1px solid #ddd;
    background: white;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s ease;



}

.pagination button:hover:not(:disabled) {
    background: #f5f5f5;
    border-color: #999;
}

.pagination button.active {
    background: #d32f2f;
    color: white;
    border-color: #d32f2f;
}

.pagination button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}





.pagination-selector {
    display: inline;
    list-style: none;
    gap: 5px;
    padding: 0;
    margin: 0;
}

.pagination-selector li {
    list-style: none;
}

.pagination-selector button {


    padding: 8px 12px;
    border: 1px solid #ddd;
    background: white;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s ease;



}

.pagination-selector button:hover:not(:disabled) {
    background: #f5f5f5;
    border-color: #999;
}

.pagination-selector button.active {
    background: #d32f2f;
    color: white;
    border-color: #d32f2f;
}

.pagination-selector button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/*===== 頁碼 End ======*/

/*===== 日期選單 START ======*/

#prev-year-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
#next-year-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
/*===== 日期選單 END ======*/

/*===== 表格內沒資料顯示 START ======*/
.member-table tbody > tr td .empty-message{
	color:#999999;
	padding:33px 0 1px;
}
table.border_none td .empty-message{
	color:#999999;
	padding:40px 0 20px;
}

/*===== 表格內沒資料顯示 END ======*/

/*===== MemberStoreOrder.action 無資料訊息（共用） START ======*/
/* 注意：此段樣式為「照抄」memberStoreOrder_753.css 的 .empty-order-message，避免各頁空資料樣式不一致 */
.empty-order-message {
    text-align: center;
    color: #999;
    padding:56px 0 36px!important;
    background: #f8f8f8;
}
/*===== MemberStoreOrder.action 無資料訊息（共用） END ======*/

/* 頁碼是空值就display:none */
.order-table:has(.empty-order-message) + .v14-pagination-container {
    display: none;
}
.v14-pagination-container:empty {
    display: none;
}

/* ==== MOVED FROM v14/member/memberInfo.css ==== */
/**
 * 會員資料頁面 753 版本樣式
 * 包含標籤按鈕樣式
 */

/* 標籤頁導航容器 */
.member-tabs {
    position: relative;
    display: flex;
    justify-content:center;
    flex-wrap: nowrap;
    background-color: #FAFAFA;
    box-shadow: inset 0 0px 4px rgba(0, 0, 0, 0.25);
    border-radius: 30px;
    width: fit-content;
    margin: 0 auto;
    padding: 4px;
    overflow: hidden;
    min-width: max-content;
}

/* 標籤按鈕基礎樣式 */
.member-tab {
    display: inline-block;
    padding: 12px 40px;
    background-color: transparent;
    text-decoration: none;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 400;
    transition: all 0.3s ease;
    white-space: nowrap;
}
.member-tabs a{
	font-size: 20px;
    padding: 4px 40px;
    letter-spacing: 2px;
    position: relative;
    z-index: 2;
    white-space: nowrap;
    }
@media(max-width:1199px){
.member-tabs a {
    font-size:16px;
    padding: 10px 32px;
}
}
@media(max-width:991px){
.member-tabs a {
    font-size:14px;
    padding: 8px 24px;
}
}
@media(max-width:575px){
.member-tabs a {
    font-size:12px;
      padding: 7px 16px;
}
}

/* 標籤按鈕 hover 效果 */
.member-tabs a:hover {
    text-decoration: none;
    transition: all 0.35s ease;
}

/* 標籤按鈕啟用狀態 */
.member-tab.active {
    background: linear-gradient(to bottom, #ff769d 0%, #ff3c74 100%);
    color: #ffffff;
    font-weight: 600;
}

/* 確保按鈕之間沒有間隙 */
.member-tab + .member-tab {
    margin-left: 0;
}

/* 響應式設計 - 平板 */
@media (max-width: 767px) {
    .member-tabs {
        width: 100%;
        justify-content: center;
        border-radius: 40px;
    }
    
    .member-tab {
        padding: 10px 25px;
        font-size: 14px;
        flex: 1;
        text-align: center;
    }
}

/* 響應式設計 - 手機 */
/* @media (max-width: 480px) {
    .member-tabs {
        flex-direction: column;
        border-radius: 20px;
        gap: 5px;
    }
    
    .member-tab {
        width: 100%;
        padding: 12px 20px;
        font-size: 15px;
        text-align: center;
    }
} */
/* 我的資料Form樣式 */
.basic-form{
	padding-bottom:48px;
}
@media(max-width:991px){
.basic-form{
	padding-bottom:32px;
}
}
@media(max-width:575px){
.basic-form{
	padding-bottom:24px;
}
}

.basic-form .form-box__single-group label{
	margin-top:32px;
}
@media(max-width:991px){
	.basic-form .form-box__single-group label{
		margin-top:24px;
	}
}
.basic-form .form-box__single-group label:empty {
    display: none;
}
.basic-form .form-box__single-group{
	margin:0;
}
.basic-form .form-control.min-62{
	min-width:62px;
}
@media(max-width:991px){
	.basic-form .form-control.min-62{
	min-width:auto;
}
}
.form-order{
	display:flex;
	flex-wrap:wrap;
}
.form-order .order01{
	order:1;
}
.form-order .order02{
	order:2;
}
.form-order .order03{
	order:3;
}
.form-order .order04{
	order:4;
}
@media(max-width:991px){
.form-order .order01{
	order:1;
}
.form-order .order02{
	order:4;
}
.form-order .order03{
	order:2;
}
.form-order .order04{
	order:3;
}
}



/* 顯示模式特定樣式 */
.view-mode-readonly, .form-control:disabled, .form-control[readonly] {
    background-color: #F5F5F5 !important;
    cursor: default !important;
}

.view-mode-hidden {
    display: none !important;
}

/* 編輯按鈕樣式 */
.edit-mode-buttons {
    text-align: right;
    margin-bottom: 16px;
    color:#3B3B3B;
}
@media(max-width:767px){
.edit-mode-buttons {
    margin-bottom: 24px;
}
}
.edit-mode-buttons i{
	color:#787878;
}
.edit-mode-buttons button{
	display:inline-flex;
	align-items:center;
}
.password-hint {
    color: #888888;
    font-size: 14px;
    margin-top: 10px;
}

.password__toggle {
    position: relative;
}

/* ==================== 服務門市相關樣式 ==================== */

/* 服務門市區塊 */
.service-store-section {
    padding: 48px 0;
/*    border-top: 1px solid #e0e0e0;*/
}
@media(max-width:991px){
.service-store-section {
    padding: 32px 0;
}
}
@media(max-width:575px){
	.service-store-section {
	    padding: 24px 0;
	}
}

.service-store-section .section-title,
.line-oa-bind-section .section-title,
.quick-login-section .section-title{
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 0;
}
@media(max-width:575px){
	.service-store-section .section-title {
    font-size: 12px;
	}
}

.store-info-card .store-name {
    font-size: 18px;
    font-weight: 500;
    color: var(--header_main_f_color, #3B3B3B);
    margin-bottom:4px;
}

.store-info-card .store-address,
.store-info-card .store-contact,
.store-info-card .store-hours {
    font-size: 14px;
     color: var(--header_main_f_color, #3B3B3B);
    margin-bottom: 4px;
    display: flex;
    align-items: center;
}

.store-info-card i {
    margin-right: 8px;
    color:#464646;
    font-size: 16px;
}

/* 門市資訊卡片中的地址連結 */
.store-info-card .store-addr-link {
    color: #1B71E9;
    text-decoration: underline;
}

.store-info-card .store-addr-link:hover {
	opacity:0.7;
}

/* 門市資訊卡片中的複製按鈕 */
.store-info-card .store-copy-btn {
    color: var(--header_link_hover_color ,#ff3c74);;
    cursor: pointer;
    margin-left: 8px;
    font-size: 16px;
}

/* ==================== 彈出視窗樣式 ==================== */

/* 彈出視窗遮罩 */
.store-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
}

/*JW 2025/12/23 753：門市選擇視窗本身 z-index 很高（9999），SweetAlert2 預設會被壓在下面導致看不到、點擊還會誤觸 overlay 把門市視窗關掉；只針對本頁「門市儲存確認」的 Swal 拉到最上層 */
.swal2-container.swal2-store-confirm-753 {
    z-index: 10050 !important;
}

/*JW 2025/12/18 tooltip 的預設 z-index 在 vendor.css 太低（會被 store-modal 遮罩蓋住），只在 store-modal 範圍內拉高避免影響全站 */
.store-modal .tooltip {
    z-index: 10002;
}

.store-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

/* 彈出視窗內容 */
.store-modal-content {
    position: relative;
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    margin: 5vh auto;
    background-color: white;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    overflow: auto;
}
@media(max-width:767px){
.store-modal-content button {
	font-size:17px;
}
}

/* 彈出視窗標題 */
.store-modal-header {
    padding: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
@media(max-width:767px){
	.store-modal-header{
	   padding: 16px;
	}
}

.store-modal-header h3 {
    font-size: 31px;
    font-weight: 500;
    color: var(--header_main_f_color, #3B3B3B);
    margin: 24px auto 0;
}
@media(max-width:1199px){
	.store-modal-header h3 {
	font-size:24px;
	}	
}

.store-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #999999;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
    position:absolute;
    top:16px;
    right:16px;
}

.store-modal-close i{
	font-size: 24px;
}

.store-modal-close:hover {
    color: var(--header_main_f_color, #3B3B3B);
}

/* 彈出視窗主體 */
.store-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 0 40px;
    display:flex;
    flex-direction:column;
    gap:16px;
}
@media(max-width:767px){
	.store-modal-body {
		gap:0;
		padding: 0 16px;
	}
}
.store-modal-footer{
	padding:40px;
}
@media(max-width:767px){
	.store-modal-footer{
		padding:8px 16px 16px;
	}	
}

/* 樓梯排版 */
.stairs-area{
	display: grid;
    gap: 8px;
    grid-template-columns: 24% 1fr;
    align-items: center;
}
@media(max-width:767px){
	.stairs-area{
		grid-template-columns:1fr;
		margin-bottom:4px;
	}
}

.stairs-block{
	display:grid;
	grid-template-columns:auto 1fr;
	gap:4px;
	align-items:center;
	height:44px;
	margin-top:5px;
}
@media(max-width:767px){
	.stairs-block{
		margin-top:0;
		height:auto;
	}
}
@media(max-width:767px){
	.stairs-m-t-16{
		margin-top:16px;
	}
}

/* 搜尋篩選區 */
.store-selection-filters {
    margin-bottom: 20px;
}

.filter-row {
    display: flex;
    gap: 10px;
    align-items: center;
}

.filter-row select,
.filter-row input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #d0d0d0;
    border-radius: 8px;
    font-size: 14px;
}

.filter-row .btn-search {
    background-color: var(--header_link_hover_color ,#ff3c74);;
    color: white;
    border: none;
    padding: 10px 30px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.filter-row .btn-search:hover {
    background-color: #d44965;
}

/* 搜尋結果區 */
.store-search-results {
    margin-top: 8px;
}
@media(max-width:767px){
	.store-search-results {
    margin-top: 16px;
	}
}

.result-count {
    font-size: 14px;
    color: #666666;
    margin-bottom: 15px;
}




/* ==================== 快速登入方式樣式 ==================== */

.quick-login-section {
    padding: 48px 0;
    border-top: 1px solid #e0e0e0;
}
@media(max-width:991px){
.quick-login-section {
    padding: 32px 0;
}
}
@media(max-width:575px){
.quick-login-section {
    padding: 24px 0;
}
}

/* 水平排列的社交登入列表 */
.social-login-list {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
}

/* 社交登入項目 */
.social-login-item {
    display: flex;
    flex-wrap:wrap;
    align-items: center;
    padding: 8px 30px;
    gap:16px;
    position:relative;
    justify-content:space-between;
}
@media(max-width:1299px){
	.social-login-item {
		padding: 8px 16px;
	}
}
@media(max-width:1199px){
.social-login-item {
	flex-direction:column;
}
}
@media(max-width:991px){
	.social-login-item {
		padding: 8px 16px;
	}
}
@media(max-width:767px){
	.social-login-item {
		padding: 8px 36px;
		flex-direction:revert;
	}
}

/* 分隔線 - 在項目之間 */
.social-login-item + .social-login-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 60px;
    background-color: #e0e0e0;
}

/* 社交平台圖示 */
.social-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.social-icon--img{
    /* 以圖片呈現快速登入 icon（753 需求） */
    background: transparent !important;
}

.social-icon-img{
    width: 32px;
    height: 32px;
    object-fit: contain;
    display: block;
}

.social-icon i {
    font-size: 24px;
    color: white;
}

.social-icon-line {
    background-color: #06C755;
}

.social-icon-facebook {
    background-color: #1877F2;
}

.social-icon-google {
    background-color: #757575;
}

/* 社交平台資訊 */
.social-info {
    display:flex;
    gap:16px;
}

.social-name {
    font-size: 14px;
    color: #464646;
}
@media(max-width:575px){
.social-name {
    font-size: 12px;
}
}

.social-status {
    font-size: 14px;
    color: #464646;
}
@media(max-width:575px){
.social-name {
    font-size: 12px;
}
}

/* 操作連結 */
.social-action {
    text-align: center;
    margin-left: 20px;
}

.action-link {
    font-size: 14px;
    text-decoration: none;
    cursor: pointer;
    text-decoration: underline;
}

.action-link.action-bind {
    color: #1B71E9;
    text-decoration: underline;
}

.action-link.action-bind:hover {
    opacity:0.7;
}

.action-link.action-unbind {
    color: #999999;
}

.action-link.action-unbind:hover {
    color: #666666;
    text-decoration: underline;
}

/* 響應式設計 - 快速登入 */
@media (max-width: 767px) {
    .social-login-list {
        flex-direction: column;
        gap: 15px;
    }
    
    .social-login-item {
        width: 100%;
    }
    
    .social-login-item + .social-login-item::before {
        display: none;
    }
    
    .social-icon {
        width: 45px;
        height: 45px;
    }

    .social-icon-img{
        width: 28px;
        height: 28px;
    }
    
    .social-icon i {
        font-size: 22px;
    }
    
    .social-name {
        font-size: 15px;
    }
    
    .social-status {
        font-size: 13px;
    }
}

/* ==================== 常用地址樣式 ==================== */
.member-gray-bg{
    background:#FAFAFA;
    padding:32px;
}
@media(max-width:392px){
	.member-gray-bg{
    padding:32px 16px;
	}
}
/* 常用資料查看全部按鈕區域 */
.common-data-header {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 16px;
}

/* 統一的查看全部按鈕 */
.btn-view-all-common {
    background: none;
    border: none;
    color: #999999;
    font-size: 14px;
    cursor: default;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 0;
    transition: all 0.3s ease;
}

.btn-view-all-common i {
    font-size: 16px;
}

/*JW 2025/12/29 V14：常用資料「查看全部」改為切換地址隱碼 ↔ 顯示；只要有地址就可點 */
.btn-view-all-common.active {
    color: var(--header_main_f_color, #3B3B3B);
    cursor: pointer;
}

.btn-view-all-common.active:hover {
    opacity: 0.7;
}

@media(max-width:767px){
    .btn-view-all-common {
        font-size: 12px;
    }
    
    .btn-view-all-common i {
        font-size: 14px;
    }
}

.address-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.address-header .section-title {
    font-size: 24px!important;
    font-weight: 500;
    color: var(--header_main_f_color, #3B3B3B);
    letter-spacing:1px;
    margin: 0;
}

@media(max-width:767px){
.address-header .section-title {
	font-size:20px!important;
}
}

.btn-add-address {
    background-color: var(--header_link_hover_color ,#ff3c74);;
    color: white;
    border: none;
    padding: 10px 30px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-add-address:hover {
    opacity:0.7;
}

/* 地址列表 */
.address-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

/* 地址卡片 */
.address-card {
    border-radius: 12px;
    padding: 20px;
    position: relative;
    background-color: #ffffff;
    border:1px solid #ffffff;
    display: grid;
    grid-template-columns:1fr auto;
    gap: 32px;
}

.address-card:hover {
    border: 1px solid var(--header_link_hover_color ,#ff3c74);
}

/* 預設地址保持紅框 */
.address-card.is-default {
    border: 1px solid var(--header_link_hover_color ,#ff3c74);
}

/* 隱藏項目 */
.address-card.hidden-item {
    display: none;
}

/* 地址內容區（左側） */
.address-content {
    flex: 1;
}

/* 標題列 */
.address-title-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

/* 預設標籤（在標題左邊） */
.address-title-badge {
    display: inline-block;
    background-color: var(--header_link_hover_color ,#ff3c74);;
    color: white;
    padding: 2px 10px 1px;
    border-radius: 4px;
    font-size: 12px;
    zoom: 0.83;
    font-weight: 500;
}

/* 標題文字 */
.address-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--header_main_f_color, #3B3B3B);
    margin: 0;
}

@media(max-width:767px){
	.address-title {
	    font-size: 17px;
	}
}

/* 收件人 + 電話 */
.address-recipient {
    font-size: 14px;
    font-weight: normal;
    color: var(--header_main_f_color, #3B3B3B);
    margin-bottom: 4px;
}

.address-recipient .color-gray {
    color: #999999;
    margin: 0 8px;
}

/* 地址詳情 */
.address-detail {
    font-size: 14px;
    color: var(--header_main_f_color, #3B3B3B);
    line-height: 1.5;
    margin-bottom: 4px;
}

.address-floor,
.address-elevator,
.memo {
    font-size: 14px;
    margin-bottom: 4px;
}

.memo {
    font-size: 14px;
    margin-bottom: 0;
}

/* 操作按鈕區（右側，垂直排列） */
.address-actions {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    text-align:center;
    min-width:48px;
}

.address-actions a {
    font-size: 12px;
    text-decoration: none;
    cursor: pointer;
}

.action-edit {
    color: #1B71E9;
}

.action-edit:hover {
    color: #1B71E9;
    opacity:0.7;
}

.action-set-default,
.action-delete-card,
.action-delete {
    color: #999999;
}

.action-set-default:hover,
.action-delete-card:hover,
.action-delete:hover {
	color:unset;
    opacity:0.7;
}

/* 無地址提示 */
.no-address {
    text-align: center;
    padding: 60px 20px;
    color: #999999;
    grid-column: 1 / -1;
}

/* 響應式設計 - 地址列表 */
@media (max-width: 767px) {
    .address-list {
        grid-template-columns: 1fr;
    }
}

/* ==================== 常用信用卡樣式 ==================== */
.div_consent_mycard {
	padding: 16px;
	background: #f5f5f5;
	border-radius: 8px;
}

#consent_mycard {
  padding: 0px 7.5px;
}
.flex_consent {
	display: flex;
	gap: 6px;
	font-weight: bold !important;
}
.ul_stmt_my_card {
	list-style: disc;
	padding-left: 44px;
	margin-top: 8px;
}

/* 信用卡列表 */
.card-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

/* 信用卡卡片 */
.card-item {
    border-radius: 12px;
    padding: 16px;
    position: relative;
    background-color: #ffffff;
    border:1px solid #ffffff;
    display: flex;
    align-items:center;
    gap: 19px;
}
@media(max-width:767px){
	.card-item {
		padding:8px;
	}
}

.card-item:hover {
    border: 1px solid var(--header_link_hover_color ,#ff3c74);
}

/* 預設信用卡保持紅框 */
.card-item.is-default {
    border: 1px solid var(--header_link_hover_color ,#ff3c74);
}

/* 隱藏項目 */
.card-item.hidden-item {
    display: none;
}

/* 卡片內容區（左側） */
.card-content {
    flex: 1;
}

/* 卡片標題列 */
.card-title-row {
    display: flex;
    flex-direction:column;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 8px;
}

/* 卡片類型圖示（最左側） */
/* .card-type-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-right: 15px;
} */

.card-icon {
    max-height: 40px;
    max-width: 60px;
    width: auto;
    height: auto;
}

.card-icon2{
    border-radius: 5px;
    border: 1px solid #999999;
    padding: 7px 8px;
    width: 62px;
}
@media(max-width:767px){
	.card-icon2{
	    width: 52px;
	}	
}

.card-icon-default {
    font-size: 32px;
    color: #999999;
}

/* 發卡銀行標題 */
.card-issuer-title {
    font-size: 15px;
    color: var(--header_main_f_color, #3B3B3B);
    margin: 0;
}

/* 卡號 */
.card-number {
    font-size: 14px;
    color: var(--header_main_f_color, #3B3B3B);
    letter-spacing: 1px;
}

/* CVV 顯示區 */
.cvv-display {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 60px;
}

.cvv-card-image {
    padding-top: 20px;
    width: 80%;
    float: right;
    position: relative;
}

.cvv-number {
    background-color: #f0f0f0;
    border: 2px dashed #999999;
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 20px;
    font-weight: bold;
    color: var(--header_link_hover_color ,#ff3c74);;
    
}

/* 響應式設計 - 信用卡列表 */
@media (max-width: 767px) {
    .card-list {
        grid-template-columns: 1fr;
    }
}

/* Email 和手機驗證狀態樣式 */
.verified_email,
.verified_cellphone {
    color: #4caf50;
    font-size: 13px;
    font-weight: normal;
}

   .unverified_email,
   .unverified_cellphone {
       color: #d32f2f;
       font-size: 13px;
       font-weight: normal;
       text-decoration: underline;
   }

   .unverified_email:hover,
   .unverified_cellphone:hover {
       color: #b71c1c;
   }

.address_top_height.form-check{
	padding-left:0;
}
@media(max-width:767px){
	.address_top_height{
	    height:0;
	}
	.mt-style{
		height:auto;
	}
	.elevator-flex {
        margin-top: 22px;
        align-items:center;
    }
    .label-empty-mt{
    	height:0;
    }
}

/* 通知相關樣式 */
.notification-section{
   display:flex;
   gap:8px;
   padding:48px 0 0;
/*   border-top:1px solid #e0e0e0;*/
}
@media(max-width:991px){
.notification-section{
   padding:32px 0 0;
   flex-direction:column;
}
}
@media(max-width:575px){
.notification-section{
   padding:24px 0 0;
}
}
.notification-section .form-check{
	padding-left:0!important;
}

/* 停用狀態的 checkbox 樣式 - 讓使用者知道無法點選 */
.notification-section input[type="checkbox"]:disabled,
.basic-form input[type="checkbox"]:disabled,
input[type="checkbox"]:disabled {
    background: #F5F5F5 !important;
    border-color: #999999 !important;
    cursor: not-allowed !important;
}

/* 停用狀態且已勾選的 checkbox - 顯示灰色勾勾 */
.notification-section input[type="checkbox"]:disabled:checked::after,
.basic-form input[type="checkbox"]:disabled:checked::after,
input[type="checkbox"]:disabled:checked::after {
    background: #F5F5F5 !important;
    border-color: #999999 !important;
    color: #fff !important;
}

/* 停用狀態的 checkbox label 樣式 */
.notification-section .form-check input[type="checkbox"]:disabled + label,
.basic-form .form-check input[type="checkbox"]:disabled + label {
    color: #999999 !important;
    cursor: not-allowed !important;
}

.link--blue{
    color: #007bff;
    text-decoration: underline;
    transition: color 0.3s ease;
    cursor: pointer;
}

.login--submit:disabled{
    background: #F5F5F5 !important;
    color: #999 !important;
    border: #E2E2E2 1px solid !important;
    padding: 15px;
    width: 100%;

}


.login--submit {
    background: linear-gradient(to bottom, #ff769d 0%, #ff3c74 100%);
    color: white;
    border: none;
    padding: 10px 30px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.login--submit:hover {
    background: linear-gradient(to bottom, #ff769d 0%, #ff3c74 100%);
    opacity:0.7;
    width: 100%;
}

.register-progress-bar{
    max-width:535px;
    margin:auto;
    display: flex;
    gap: 10px;
    align-items: center;
    padding-top:104px;
}
@media(max-width:767px){
.register-progress-bar{
	padding-top:56px;
}
}
.register-progress-bar .bar-list-active{
	flex: 1;
	height: 5px;
	background: linear-gradient(45deg, rgba(255,60,116,1) 0%,rgba(255,118,157,1) 100%);
}
.register-progress-bar .bar-list{
	flex: 1;
	height: 5px;
	background:#e0e0e0;
}

/* OTP 驗證碼輸入框樣式 */
.otp-input-container {
    display: flex;
    gap: 16px;
    justify-content: center;
    width: 60%;
    /*中央*/
    margin: 0 auto;
}

.otp-input {
    width: 48px;
    height: 48px;
    text-align: center;
    font-size: 24px!important;
    border: 1px solid #E2E2E2;
    border-radius: 8px;
    outline: none;
    transition: all 0.3s ease;
    background-color: #fff;
}

.otp-input:focus {
    border-color: #e91e63 !important;
    box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.1);
}

.otp-input:hover {
    border-color: #bbb;
}

/* 手機版響應式 */
@media (max-width: 575px) {
    .otp-input {
        width: 40px;
        height: 40px;
        font-size: 20px!important;
    }

    .otp-input-container {
        gap: 8px;
    }
}

.elevator-flex-for-register{
    position: relative;
    top: -4px;
}

.level-input-with-suffix{
    display:flex;
    align-items:center;
    gap:8px;
    min-width:0;
}

.level-input-with-suffix .form-control{
    flex:1 1 auto;
    min-width:0;
}

.level-input-with-suffix__unit{
    flex:0 0 auto;
    display:inline-flex;
    align-items:center;
    height:44px;
    font-size:16px;
    line-height:1;
    color:#3B3B3B;
    white-space:nowrap;
}



/* ==================== V14 收藏頁面樣式 ==================== */

/* V14 收藏控制區域 */
.v14-favorite-controls, .v14-arrival-controls {
    background: #FAFAFA;
    padding: 32px;
    border-radius: 12px;
/*    display: flex;*/
    justify-content: space-between;
}
@media(max-width:767px){
.v14-favorite-controls, .v14-arrival-controls {
	padding:16px 8px;
}
}

.v14-arrival-controls table tbody > tr{
    border: none;
}

.v14-arrival-controls table tbody .arrival_notice{
    border-top: 1px solid #C2C2C2;
    border-bottom: none;
}

.v14-select-controls label {
    font-size: 14px;
    color: var(--header_main_f_color, #3B3B3B);
    font-weight: 500;
}

.v14-remove-selected-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    color: var(--header_main_f_color, #3B3B3B);
    display: flex;
    align-items:center;
    border-left: 1px solid #C2C2C2;
    padding-left: 19px;
}

.v14-remove-selected-btn:hover {
    color: #FF3C74;
}

.v14-remove-selected-btn i{
	font-size:20px;
}

/* V14 收藏列表樣式 */
.v14-favorite-row td {
    border-bottom: 1px solid #ddd;
    text-align: left;
}

.v14-product-name {
    border-bottom: none !important;
}

.v14-checkbox-cell {
    width: 50px;
    padding: 15px 10px;
}

.v14-checkbox-cell input[type="checkbox"] {
    cursor: pointer;
    accent-color: var(--header_link_hover_color ,#ff3c74);;
}

.v14-product-img {
    width: 120px;
    padding: 15px 10px;
}

.v14-product-img img {
    max-width: 100px;
    border-radius: 8px;
    transition: opacity 0.3s ease;
}

/* 已下架商品的圖片變淡 */
#discontinued_img_memberFavorite_1 img,
td[id^="discontinued_img_memberFavorite_"] img {
    opacity: 0.2;
    filter: grayscale(50%);
}

.v14-discontinued-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(70, 70, 70, 0.6);
    color: white;
    text-shadow: 0px 2px 2px rgba(0, 0, 0, 0.25);
    padding: 2px 10px 0;
    border-radius: 30px;
    font-weight: bold;
    pointer-events: none;
    white-space: nowrap;
    font-size: 15px;
    letter-spacing: 1px;
    z-index: 1;
}

.v14-product-name {
    font-size: 16px;
    font-weight: 400;
    color: var(--header_main_f_color, #3B3B3B);
    padding: 15px 10px 5px 0px;
    text-align: left;
}

.v14-product-name:hover {
    color: var(--header_link_hover_color ,#ff3c74);;
}

.v14-price-cell {
    padding: 5px 10px 15px 10px;
}

.v14-price-area {
    font-size: 14px;
    line-height: 1.4;
    color: var(--header_link_hover_color ,#ff3c74);
    font-weight: 400;
    text-align: left;
}
.product-list-name{
	cursor:pointer;
	font-size:20px;
	line-height:24px;
	color:#464646;
}
@media(max-width:767px){
.product-list-name{
	font-size:17px;
}
}
.v14-price-area .productPrice{
    font-size: 16px;
}

.v14-cart-icon-cell {
    width: 80px;
    padding: 15px 10px;
    text-align: center;
}

.v14-favorite-date {
    font-size: 13px;
    color: #999;
}

@media (max-width: 767px) {
    .v14-favorite-controls {
        padding: 12px 15px;
    }

    .v14-price-area {
        font-size: 16px;
    }

    .v14-discontinued-watermark {
        font-size: 14px;
        padding: 6px 12px;
    }


}

@media (max-width: 575px) {
    .v14-checkbox-cell {
        width: 40px;
        padding: 10px 5px;
    }

    .v14-product-img {
        width: 90px;
        padding: 10px 5px;
    }

    .v14-product-img img {
        max-width: 80px;
    }

    .v14-product-name {
        font-size: 14px;
    }

    .v14-price-cell {
        padding: 3px 5px 12px 5px;
    }

    .v14-price-area {
        font-size: 15px;
    }

    .v14-cart-icon-cell {
        width: 60px;
        padding: 10px 5px;
    }

    .v14-cart-icon-cell .i_btn i {
        font-size: 18px !important;
    }

    .v14-discontinued-watermark {
        font-size: 12px;
        padding: 4px 10px;
    }


}

     /* 歡迎頁面專用樣式 */
	      .welcome-container {
	       max-width: 856px;
	       margin: 40px auto;
        }
        @media(max-width:767px){
        .welcome-container {
	       margin: 24px auto;
	       padding: 0 8px;
        }
        }

        .welcome-header {
            text-align: center;
            margin-bottom: 40px;
        }

        .welcome-title {
            font-size: 31px;
            font-weight: 500;
            margin-bottom: 16px;
            letter-spacing:3px;
        }

        .welcome-subtitle {
            font-size: 16px;
            color: #3B3B3B;
        }

        .welcome-subtitle a {
            color: #1B71E9;
            text-decoration: underline;
        }

        .welcome-subtitle a:hover {
            text-decoration: underline;
        }

        .member-badge {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 4px;
            margin-bottom: 16px;
            font-size: 18px;
        }

        .member-badge i {
            font-size: 20px;
        }

        /* 會員卡片樣式 */
        .member-card {
            border-radius: 12px;
            padding: 30px;
            margin-bottom: 20px;
            color: white;
            position: relative;
            width: 300px;
            margin: 0 auto;
        }

        .member-card-title {
            font-size: 24px;
            font-weight: 700;
            text-align: center;
            margin-top: 40px;
            margin-bottom: 50px;
            letter-spacing: 4px;
        }

        .member-card-footer {
            /*background: linear-gradient(90deg, #909090 0%, #C0C0C0 100%);*/
            margin: 20px -30px -28px;
            padding-left: 30px;
            padding-right: 30px;
            border-radius: 0 0 12px 12px;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .member-card-number {
        	display:flex;
        	gap:5px;
            font-size: 16px;
            letter-spacing: 2px;
        }

        .qrcode-trigger {
            width: 36px;
            height: 36px;
            border-radius: 6px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .qrcode-trigger:hover {
            transform: scale(1.1);
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
        }

        .qrcode-trigger i {
            color: #FFFFFF;
            font-size: 20px;
        }

        /* 資訊卡片 */
        .info-card {
            position: relative;
            margin-top: 40px;
        }

        .view-all-btn {
            background: none;
            border: none;
            color: #666;
            font-size: 14px;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 4px;
            padding: 8px 12px;
            border-radius: 6px;
            transition: all 0.3s ease;
        }

        .view-all-btn:hover {
            background: #f5f5f5;
            color: var(--header_main_f_color, #3B3B3B);
        }

        .view-all-btn i {
            font-size: 16px;
        }

        .info-grid {
            background: #FAFAFA;
            border-radius: 12px;
            padding: 48px;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 24px;
        }

        .info-item {
            display: flex;
            flex-direction: column;
            gap: 4px;
        }

        .info-label {
            font-size: 14px;
            line-height:30px;
            color: #787878;
        }
        @media(max-width:991px){
	        .info-label {
	            font-size: 12px;
	            line-height:22px;
	        }
        }

        .info-value {
            font-size: 18px;
            line-height:30px;
            color: #3B3B3B;
        }
        @media(max-width:991px){
        .info-value {
            font-size: 15px;
            line-height:22px;
        }
        }

        .info-value.with-status {
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        .info-value .is-not-set {
            color: #B3B3B3;
        }

        .status-badge {
            font-size: 14px;
            padding: 2px 8px;
            border-radius: 4px;
        }

        .status-verified {
            color: #53AD50;
        }

        .status-unverified {
            color:#CA0030;
        }

        /* 按鈕區域 */
        .action-buttons {
            display: flex;
            gap: 16px;
            justify-content: center;
            margin-top: 40px;
            max-width:856px;
        }
        .action-buttons button{
        	width:100%;
        	}
        @media(max-width:767px){
        .action-buttons {
            margin-top: 24px;
        }
       	.action-buttons .btn--large{
        	padding: 8px 0;
			height: 40px;
			font-size: 17px;
        	}
        }
        .btn-primary-welcome {
            background: linear-gradient(to bottom, #ff769d 0%, #ff3c74 100%);
            color: white;
            border: none;
            padding: 14px 48px;
            border-radius: 50px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }

        .btn-primary-welcome:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(233, 100, 127, 0.4);
        }

        .btn-secondary-welcome {
            background: white;
            color: var(--header_link_hover_color ,#ff3c74);;
            border: 2px solid var(--header_link_hover_color ,#ff3c74);;
            padding: 14px 48px;
            border-radius: 50px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }

        .btn-secondary-welcome:hover {
            background: var(--header_link_hover_color ,#ff3c74);;
            color: white;
        }

        /* 響應式設計 */
        @media (max-width: 767px) {
            .welcome-title {
                font-size: 22px;
            }

            .btn-primary-welcome,
            .btn-secondary-welcome {
                width: 100%;
                justify-content: center;
            }

            .member-card-footer {
                gap: 5px;
                align-items: center;
            }
        }
        @media(max-width:575px){
	        .info-grid {
	                background: #FAFAFA;
	                border-radius: 12px;
	                padding: 24px;
	                grid-template-columns: 1fr;
	                gap: 24px;
	            }
        }



/* ==================== 會員等級頁面 ==================== */
.member-level-page{
	display:grid;
	gap:24px;
    padding:32px;
    border-radius:12px;
    background:#FAFAFA;
}
@media(max-width:1200px){
	.member-level-page{
		gap:48px;
		grid-template-columns:1fr;
		padding:24px;
	}
}
@media(max-width:767px){
	.member-level-page{
		padding:16px;
	}
}


.member-level-hero{
    gap:24px;
    margin-bottom:40px;
}
.member-level-card .member-card-display{
    position:relative;
    border-radius:12px;
    cursor:pointer;
    width: fit-content;
    margin: auto;
}
.member-level-card .member-card-display .card-bg{
    width:100%;
    display:block;
}
@media(max-width:1200px){
.member-level-card .member-card-display .card-bg{
    width:300px;
    margin:auto;
}
}
.member-card-overlay{
    margin-top:16px;
    background:#fff;
    border-radius:16px;
    padding:20px 24px;
    box-shadow:0 10px 30px rgba(0,0,0,0.06);
}
.member-card-row{
    display:flex;
    justify-content:space-between;
    gap:16px;
    flex-wrap:wrap;
}
.member-card-row .card-category{
    font-size:14px;
    color:#8d8d8d;
    margin-bottom:4px;
}
.card-member-class{
    display:flex;
    align-items:center;
    gap:8px;
    font-size:18px;
    color:#3B3B3B;
}
.member-cardno{
    font-size:18px;
    color:#3B3B3B;
}
.member-card-hint{
    margin-top:14px;
    font-size:13px;
    color:var(--header_link_hover_color ,#ff3c74);;
    display:flex;
    align-items:center;
    gap:6px;
}
.member-level-summary-wrapper{
    display:flex;
    align-items:stretch;
}
.member-level-top{
	display:grid;
    border-radius:24px;
    grid-template-columns: minmax(0, 300px) 1fr;
    gap:72px;
}
@media(max-width:1299px){
	.member-level-top{
	    gap:24px;
	}
}
@media(max-width:1199px){
	.member-level-top{
	    grid-template-columns:1fr;
	    gap:24px;
	}
}

.member-level-summary-card{
    width:100%;
    display: flex;
    flex-direction:column;
    align-items: center;
    justify-content:center;
}
.summary-header{
    display:grid;
    grid-template-columns:1fr 1fr;
    justify-content:space-between;
    gap:24px;
    flex-wrap:wrap;
    width:100%;
}
@media(max-width:767px){
	.summary-header{
		grid-template-columns:1fr;
		gap:16px;
	}
}

.summary-label{
    font-size:14px;
    color:#464646;
}
.summary-level-pill{
    display:inline-flex;
    align-items:center;
    gap:8px;
    font-size:18px;
    color:#3B3B3B;
    letter-spacing:2px;
}
.summary-level-pill img{
    width:28px;
    height:auto;
}
.summary-amount .amount-value{
    font-size:12px;
    font-weight:600;
     color:var(--header_link_hover_color ,#ff3c74);;
}
.summary-amount .highlight{
    font-size:18px;
    color:var(--header_link_hover_color ,#ff3c74);;
    margin-left:6px;
}
.summary-amount .amount-divider{
    font-size:15px;
    color:#999999;
    font-weight:400;
    margin-left:6px;
}
.member-level-progress{
    margin-top:14px;
}
.progress-bar-container{
    display:flex;
    flex-direction:column;
}
.progress-bar{
    width:100%;
    height:5px;
    border-radius:999px;
    background:#E2E2E2;
    overflow:hidden;
}
.progress-bar-fill{
    height:100%;
    width:0;
    border-radius:999px;
    background:linear-gradient(90deg, #ff769d 0%, #ff3c74 100%);
    transition:width .4s ease;
}
.next-goal-icon-wrapper{
    display:flex;
    justify-content:flex-end;
    margin-top: -14px;
    margin-right: -10px;
}
.next-goal-icon{
    width:23px;
}
.progress-status{
    margin-top:12px;
    font-size:15px;
    color:#555;
}
.progress-status strong{
    color:var(--header_link_hover_color ,#ff3c74);;
}
#member-next-level-diff.is-max{
    color:#53AD50;
}
.member-level-benefits{
    margin-top:24px;
    width:100%;
}
@media(max-width:767px){
	.member-level-benefits{
	    margin-top:16px;
	}
}
.benefits-title{
    font-size:14px;
    margin-bottom:12px;
    color:#3B3B3B;
}
.benefits-list{
    display:flex;
    flex-wrap:wrap;
}
.benefits-list div{
	min-width:170px;
    color:#3B3B3B;
    border-radius:999px;
    font-size:18px;
    display:inline-flex;
    align-items:center;
    gap:8px;
}
@media(max-width:767px){
	.benefits-list div{
		font-size:15px;
		min-width:115px;
		gap:4px;
	}
}
@media(max-width:410px){
	.benefits-list div{
		min-width:107px;
	}
}
@media(max-width:393px){
	.benefits-list div{
		min-width:auto;
		gap:0;
	}
}

.benefits-list i{
	font-size:24px;
}
@media(max-width:767px){
	.benefits-list i{
	font-size:20px;
}
}

.member-level-note{
    margin-top:16px;
    font-size:13px;
    color:#777;
    display:flex;
    align-items:center;
    gap:6px;
}
.member-level-tier-section{
    display:grid;
    grid-template-columns:1fr 1fr 1fr;
    gap:24px;
    margin-top:24px;
    padding:24px 88px;
}
@media(max-width:1439px){
	.member-level-tier-section{
		padding:24px 44px;
	}
}
@media(max-width:1199px){
	.member-level-tier-section{
		padding:24px 24px;
	}
}
@media(max-width:991px){
	.member-level-tier-section{
		padding:24px 0;
	}
}
/* .tier-card{
    background:#fff;
    border-radius:20px;
    padding:24px;
    box-shadow:0 10px 30px rgba(0,0,0,0.06);
    height:100%;
} */
.tier-card-header{
    display:flex;
    justify-content:space-between;
    justify-content: center;
    align-items:center;
    margin-bottom:48px;
}
@media(max-width:1199px){
	.tier-card-header{
		margin-bottom:24px;
	}
}
@media(max-width:991px){
	.tier-card-header{
		justify-content: left;
		padding-left:8px;
		margin-bottom:16px;
	}
}
.tier-name{
    font-size:17px;
    font-weight:600;
    color:#3B3B3B;
    display:flex;
    align-items:center;
    gap:10px;
}
.tier-tag{
    font-size:12px;
    letter-spacing:2px;
    padding:4px 12px;
    border-radius:999px;
    border:1px solid var(--header_link_hover_color ,#ff3c74);;
    color:var(--header_link_hover_color ,#ff3c74);;
}
.tier-card.tier-platinum .tier-tag{
    border-color:#b98a4f;
    color:#b98a4f;
}
.tier-card.tier-diamond .tier-tag{
    border-color:#8665ff;
    color:#8665ff;
}
.tier-card-body{
    display:flex;
    flex-direction:column;
    gap:60px;
    padding-left:24px;
}
@media(max-width:1199px){
	.tier-card-body{
		gap:48px;
	}
}
@media(max-width:991px){
	.tier-card-body{
		gap:24px;
	}
}
@media(max-width:767px){
	.tier-card-body{
		gap:16px;
		padding-left:32px;
	}
}

.tier-block-title{
	position:relative;
    font-size:17px;
    font-weight:600;
    color:#3B3B3B;
    margin-bottom:16px;
    padding-left:20px;
    letter-spacing:2px;
}
.tier-block-title::before{
	position:absolute;
	content:"";
	top:0;
	left:0;
	width:4px;
	height:28px;
}

.tier-card:nth-child(1) .tier-block-title::before{
	background:#FFC5D6;
}
.tier-card:nth-child(2) .tier-block-title::before{
	background:#FF7979;
}
.tier-card:nth-child(3) .tier-block-title::before{
	background:#FF3C74;
}

.tier-block p{
    margin:0;
    font-size:12px;
    color:#3B3B3B;
}
.tier-list{
    margin:0;
    padding-left:18px;
    color:#555;
    line-height:1.6;
}
.tier-list li{
    list-style-type:disc;
}
.member-level-footnote{
    margin-top:24px;
    font-size:12px;
    color:#3B3B3B;
    text-align:center;
}
@media(max-width:991px){
    .member-level-summary-card{
        padding:24px;
    }
}
@media(max-width:767px){
    .member-level-hero{
        margin-bottom:32px;
    }
    .member-level-tier-section{
        grid-template-columns:1fr 1fr;
        grid-template-rows:auto;
    }
    .member-level-summary-card{
        padding:12px;
    }
}
@media(max-width:575px){
	.member-level-tier-section{
        grid-template-columns:1fr;
    }
    .member-level-summary-card{
        padding:0;
    }
}

/* ========== 會員碼模態視窗 ========== */
.member-code-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
}

.member-code-modal.show {
    display: block;
}

.member-code-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.member-code-modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    border-radius: 16px;
    padding: 56px 40px;
    max-width: 400px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    z-index: 10001;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

.member-code-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.member-code-modal-close i{
	font-size:24px;
}

.member-code-modal-close:hover {
    color: var(--header_main_f_color, #3B3B3B);
}

.member-code-header {
    text-align: center;
    margin-bottom: 24px;
    padding-top: 10px;
}

.member-code-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-bottom: 4px;
}

.member-code-badge i {
    font-size: 18px;
}

.member-code-level {
    font-size: 18px;
    color: #3B3B3B;
}

.member-code-name {
    font-size: 40px;
    letter-spacing:3px;
    font-weight:500;
    color: var(--header_main_f_color, #3B3B3B);
}

.member-code-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    margin-bottom: 40px;
}

#member-qrcode-display.member-qrcode-display img{
    width: auto;
    height: 200px!important;
    object-fit:contain;
    display: flex;
    align-items: center;
    justify-content: center;
}

#member-qrcode-display img{
  width: 100% !important;
  height: 100% !important;
  object-fit: contain;
}

.member-barcode-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom:16px;
}

.member-barcode-svg {
    width: 100%;
    max-width: 300px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.member-barcode-text {
    font-size: 14px;
    color: #464646;
    letter-spacing: 1px;
}

.member-code-footer {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
}

.member-code-refresh-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 56px;
    background-color: white;
    border: 1px solid var(--header_link_hover_color ,#ff3c74);;
    border-radius: 30px;
    color: var(--header_link_hover_color ,#ff3c74);;
    font-size: 17px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: fit-width;
    justify-content: center;
}

.member-code-refresh-btn:hover {
    background-color: var(--header_link_hover_color ,#ff3c74);;
    color: white;
}

.member-code-refresh-btn i {
    font-size: 14px;
}

.member-code-timer {
    display: flex;
    align-items: center;
    gap: 40px;
    font-size: 16px;
    color: #8E8E8E;
}

.member-code-countdown {
    font-size: 16px;
}


.v14-back-list {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    font-size: 16px;
    color: #FF3C74;
    cursor: pointer;
}


.contact-service-btn {
    color: #fff;
    background: #FF3C74;
    border: 1px solid #FF3C74;
    padding: 3px 12px;
    border-radius: 50px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;

}

.contact-service-btn:hover {
    background: #FFF;
    color: #FF3C74;
}





.cancel-order-btn {
    color: #FF3C74;
    border: 1px solid #FF3C74;
    padding: 3px 12px;
    border-radius: 50px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.cancel-order-btn:hover {
    background: #FF3C74;
    color: #fff;
}

.order-detail-action-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 16px;
    flex-wrap: wrap;
}

.order-detail-action-left {
    display: flex;
    align-items: center;
}

.order-detail-action-right {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
}

@media (max-width: 575px) {
    .order-detail-action-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .order-detail-action-right {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
        margin-left: 0;
        gap: 8px;
    }
}


.order-detail-card {
    border-radius: 12px !important;
    padding: 20px !important;
    border: 1px solid #F0F0F0 !important;
}

/* .div_m_info_ext {
    border-bottom: 1px solid #ccc;
} */
.order-detail-card h2.order_collapse .span_collapse[data-icon="chevron"] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}
.order-detail-card h2.order_collapse .span_collapse[data-icon="chevron"] i {
    transition: transform .2s ease;
}
/* 收合狀態時，h2 標題需要顯示底部分隔線 */
.order-detail-card h2.order_collapse.is_collapse {
    border-bottom: 1px dashed #ccc;
    padding-bottom: 20px;
}
/* 展開狀態時，移除 h2 的底部邊框（因為下面的 div 會有） */
.order-detail-card h2.order_collapse:not(.is_collapse) {
    border-bottom: none;
    padding-bottom: 10px;
}
.order-detail-card h2.order_collapse .span_collapse[data-icon="chevron"] .collapse-text {
    display: none;
}



/* OTP 驗證碼輸入框樣式 */
.otp-input-container {
    display: flex;
    gap: 16px;
    justify-content: center;
    width: 60%;
    margin: 0 auto;
}

.otp-input {
    width: 48px;
    height: 48px;
    text-align: center;
    font-size: 24px !important;
    border: 1px solid #E2E2E2;
    border-radius: 8px;
    outline: none;
    transition: all 0.3s ease;
    background-color: #fff;
}

.otp-input:focus {
    border-color: #e91e63 !important;
    box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.1);
}

.otp-input:hover {
    border-color: #bbb;
}

/* 手機版響應式 */
@media (max-width: 575px) {
    .otp-input {
        width: 40px;
        height: 40px;
        font-size: 20px !important;
    }

    .otp-input-container {
        gap: 8px;
    }
}

.dashboard-qrcode-icon {
        position: absolute;
        width: 20px;
        bottom: 10px;
        right:10px;
}
@media(max-width:1439px){
	.dashboard-qrcode-icon {
		bottom: 5px;
        right:5px;
	}
}
@media(max-width:1199px){
	.dashboard-qrcode-icon {
		bottom:10px;
		right:10px;
	}
}

/* ==================== 點數紀錄頁面樣式 ==================== */

/* 點數摘要區塊 */
.points-summary-section {
    margin-bottom: 32px;
}

.points-balance-card {
    padding: 32px 0;
    display: flex;
    justify-content: space-between;
}

.points-balance-left {
    flex: 1;
    margin:auto;
}

.points-label,
.points-unit {
    font-size: 20px;
    line-height:1.2;
    font-weight:500;
    color: #3B3B3B;
}

.no-point{
	text-align: center;
	padding-top: 32px;
    padding-bottom:0;
    color: #999;
}
@media(max-width:1199px){
	.no-point{
		padding-top: 24px;
	}	
}

.points-amount-row {
    display: flex;
    align-items: flex-end;
    gap: 16px;
    flex-wrap: wrap;
}

.points-amount {
    font-size: 41px;
    font-weight: 700;
    color: var(--header_link_hover_color ,#ff3c74);;
    line-height: 1;
}

.points-unit {
    margin-left: 4px;
}

.points-expire-note {
    font-size: 14px;
    color: #8E8E8E;
}

.points-balance-right {
    display: flex;
    align-items: center;
}

.btn-points-payment {
    background: linear-gradient(to bottom, #ff769d 0%, #ff3c74 100%);
    color: white;
    border: none;
    padding: 12px 32px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-points-payment:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(233, 100, 127, 0.4);
}

/* 點數記錄表格區塊 */
.points-change {
    display: inline-block;
}

.points-deduct {
	font-weight:600;
    color: var(--header_link_hover_color ,#ff3c74);
}

.points-add {
	font-weight:600;
    color:#53AD50;
}

/* 響應式設計 - 點數紀錄頁面 */
@media (max-width: 991px) {
    .points-balance-card {
        padding: 24px 28px;
    }

    .points-amount {
        font-size: 40px;
    }

    .btn-points-payment {
        padding: 10px 24px;
        font-size: 14px;
    }
}

@media (max-width: 767px) {
    .points-balance-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        padding: 20px 24px;
    }

    .points-balance-right {
        width: 100%;
        justify-content:center;
    }

    .btn-points-payment {
        width: 100%;
        justify-content: center;
    }

    .points-records-table thead th {
        padding: 12px 16px;
        font-size: 13px;
    }

    .points-records-table tbody td {
        padding: 16px;
        font-size: 13px;
    }

    .points-change {
        font-size: 15px;
    }
}

@media (max-width: 575px) {
    .points-summary-section {
        margin-bottom: 24px;
    }

    .points-balance-card {
        padding: 16px 20px;
    }

    .points-amount-row {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

    .points-amount {
        font-size: 32px;
    }

    .points-expire-note {
        font-size: 12px;
        padding-bottom: 0;
    }

    .btn-points-payment {
        padding: 10px 20px;
        font-size: 14px;
    }

    /* 表格在小屏幕上的優化 */
    .points-records-table {
        font-size: 12px;
    }

    .points-records-table thead th {
        padding: 10px 12px;
        font-size: 12px;
    }

    .points-records-table tbody td,
    .points-records-section tbody td{
        padding: 12px;
        font-size: 12px;
    }

    .points-change {
        font-size: 16px;
    }

    .expire-cell {
        font-size: 11px;
    }
}

/* 如果表格內容很少，置中顯示 */
.points-records-table tbody tr:only-child td {
    padding: 60px 20px;
}

.form-control.is-valid,
.was-validated-noborder .form-control:valid {
    padding-right: calc(1.5em + 0.75rem);
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}


.form-control.is-invalid,
.was-validated-noborder .form-control:invalid {
    padding-right: calc(1.5em + 0.75rem);
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

/* ==================== ESG 儀表板樣式 ==================== */

/* ESG 會員資訊卡片 */
@media(max-width:991px){
	.esg-member-card {
	margin:24px 0;
	}
}
@media(max-width:767px){
	.esg-member-card {
	margin-bottom:0;
	}
}

.esg-card-layout {
    display: flex;
    gap: 0;
}

/* 左側：會員資訊（白色背景） */
.esg-member-info-left {
    flex: 0 0 30%;
    background: white;
    padding: 30px 20px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
    border:1px solid #E4E4E4;
    border-radius:20px 0 0 20px;
    border:1px solid #E4E4E4;
}
@media(max-width:991px){
.esg-member-info-left {
	border-radius:20px;

    position: relative;
    z-index: 1;

}
}

.esg-icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.esg-icon {
    width: 68px;
    height: 68px;
}

.esg-member-basic {
    text-align: left;
    flex: 1;
}

.member-name {
    font-size: 20px;
    font-weight: bold;
    color: var(--header_main_f_color, #3B3B3B);
    margin: 0 0 5px 0;
}

.member-details {
    font-size: 14px;
    color: #666;
    margin: 0 0 2px 0;
}

.member-card-no {
    font-size: 14px;
    color: #666;
    margin: 0;
}

/* 右側：永續貢獻（淺綠色背景） */
.esg-contribution-right {
    flex: 1;
    background: #EEF7ED;
    padding: 30px;
    border-radius:0 20px 20px 0;
}
@media(max-width:991px){
	.esg-contribution-right {
		border-radius:0 0 20px 20px;
	    position: relative;
	    top: -15px;
	    z-index: 0;
	
	}
}

.contribution-title {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 16px;
}

.title-text {
    font-size: 18px;
    font-weight: bold;
    color: var(--header_main_f_color, #3B3B3B);
}

.contribution-date {
    font-size: 14px;
    line-height:20px;
    color: #464646;
}

.contribution-stats {
    display: flex;
    gap: 40px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 15px;
    width:100%;
    justify-content:center;
}

.stat-icon {
    font-size: 28px;
    color: #4caf50;
}

.contribution-stats .stat-content {
    display:flex;
    flex-direction:column;
    gap:16px;
}

.member-info-card .stat-content {
    gap:0;
}

.stat-label {
    font-size: 14px;
    color: #464646;
}

.stat-value {
    display: flex;
    align-items: baseline;
    gap: 5px;
}

.contribution-stats .stat-value {
    justify-content: center;
}

.value-number {
    font-size: 32px;
    line-height:24px;
    font-weight: bold;
    color: #4caf50;
}

.value-unit {
    font-size: 16px;
    color: #464646;
}

/* ESG 說明（外部白色區域） */
.esg-note {
    font-size: 12px;
    color: #8E8E8E;
    line-height: 1.6;
    padding-top: 8px;
    margin-bottom: 24px;
}

/* ESG 標籤頁樣式 */
.esg-tabs {
    display: flex;
    gap: 0;
}

.esg-tab {
    flex: 1;
    padding: 16px 20px;
    background: #e8e8e8;
    border: none;
    cursor: pointer;
    font-size: 18px;
    font-weight: normal;
    color: #666;
    transition: all 0.3s ease;
    border-bottom: none;
    text-align: center;
}

.esg-tab:hover {
    background: #d8d8d8;
    color: var(--header_main_f_color, #3B3B3B);
}

.esg-tab.active {
    background: #f8f8f8;
    color: var(--header_main_f_color, #3B3B3B);
    font-weight: bold;
    border-bottom: none;
}

/* ESG tab-content 容器 */
.esg-tab-content {
    display: none;
}

.tab-left {
    border-top-left-radius: 10px;
}


.tab-right {
    border-top-right-radius: 10px;
}

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


/* 商品名稱欄位（靠左對齊） */
.esg-table td.product-name {
    text-align: left;
    padding-left: 15px;
}

.product-name-wrapper {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.product-name-text {
    font-size: 14px;
    color: var(--header_main_f_color, #3B3B3B);
    line-height: 1.4;
    font-weight:700;
}
.carbon-content{
	font-size:22px;
	font-weight:bold;
	color: #4caf50;
}
@media(max-width:767px){
	.carbon-content{
		font-size:18px;
	}
}

/* 標籤樣式 */
.product-labels {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.product-label {
    display: inline-block;
    padding: 3px 10px;
    font-size: 11px;
    border-radius: 3px;
    font-weight: 600;
    white-space: nowrap;
}

.label-energy-saving {
	font-size:12px;
	line-height:16px;
	font-weight:500;
	padding:3px 10px 1px;
    border-radius:30px;
    color: #10B981;
    background-color: #E6F9F4;
}

.label-warranty {
	font-size:12px;
	line-height:16px;
	font-weight:500;
	padding:3px 10px 1px;
    border-radius:30px;
    color: #CA8A04;
    background-color: #FEF9C3;
}

.label-environmental {
	font-size:12px;
	line-height:16px;
	font-weight:500;
	padding:3px 10px 1px;
    border-radius:30px;
    color: #3B82F6;
    background-color: #EBF0FF;
}

/* ESG 按鈕樣式 */
.btn-energy-saving,
.btn-repurchase {
    background-color: #4caf50 !important;
    color: white !important;
    border: none !important;
    padding: 6px 16px;
    font-size: 13px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    margin: 2px;
    display: inline-block;
}

.btn-energy-saving:hover,
.btn-repurchase:hover {
    background-color: #388e3c !important;
    color: white !important;
}

/* 表格最後一欄（操作欄）的樣式 */
.esg-table td:last-child {
    white-space: nowrap;
}

/* ESG 空資料訊息 */
.empty-data-message {
    text-align: center;
    padding: 60px 20px;
    color: #999;
    font-size: 16px;
    background: #f8f8f8;
}

@media (max-width: 991px) {
    .esg-card-layout {
        flex-direction: column;
    }

    .esg-member-info-left {
        flex: 1;
        padding: 40px 56px;
        position: relative;
        z-index: 1;

    }

    .esg-icon-wrapper {
        width: 60px;
        height: 60px;
    }

    .esg-icon {
        width: 40px;
        height: 40px;
    }

    .value-number {
        font-size: 24px;
    }

    .esg-tab {
        font-size: 14px;
        padding: 12px 10px;
    }
}
@media (max-width: 575px) {
    /* Mobile 版本會員卡片：垂直排列（圖標在上，文字在下） */
    .esg-member-info-left {
        padding: 24px 20px;
        text-align: center;
        position: relative;
        z-index: 1;
	    gap:0;
    }
    
    .esg-icon-wrapper {
        width: 100px;
        height: 100px;
    }
    
    .esg-icon {
        width: 62px;
        height: 62px;
    }

    .contribution-title {
        gap: 8px;
    }
	.esg-contribution-right {
		    padding:32px 16px 16px;
		
		}    
	.contribution-stats-mobile-container{
	    position: relative; 
	    top: -10px;
	}

    /* 永續貢獻統計數據在 mobile 時的調整 */
    .contribution-stats {
/*        flex-direction: row;*/
        gap: 20px;
    }
    
    .stat-item {
        flex: 1;
    }
    
    .value-number {
        font-size: 26px;
    }
}

/* ==================== ESG Mobile 卡片式列表樣式 ==================== */

/* 桌面版預設：顯示表格欄位，隱藏 mobile 卡片 */
.esg-tab-content .member-table tbody td.esg-mobile-card-content {
    display: none;
}

.esg-tab-content .member-table tbody td.esg-desktop-cell {
    display: table-cell;
}

/* Mobile 版本：隱藏表格表頭，使用卡片式呈現 */
@media (max-width: 767px) {
    /* 隱藏表格表頭 */
    .esg-tab-content .member-table thead {
        display: none;
    }
    
    /* 表格容器樣式調整 */
    .esg-tab-content .div_member_list_table {
        background: #f8f8f8;
        border-radius: 0 0 12px 12px;
        padding: 16px;
    }
    
    /* 表格轉換為卡片容器 */
    .esg-tab-content .member-table {
        display: block;
        border: none;
    }
    
    .esg-tab-content .member-table tbody {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }
    
    /* 每一列轉換為卡片 */
    .esg-tab-content .member-table tbody tr {
        display: block;
        background: #ffffff;
        border: 1px solid #E4E4E4;
        border-radius: 12px;
        padding: 16px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    }
    
    .esg-tab-content .member-table tbody tr:hover {
        border-color: #4caf50;
    }
    
    /* 隱藏桌面版的表格欄位 */
    .esg-tab-content .member-table tbody td.esg-desktop-cell {
        display: none !important;
    }
    
    /* 顯示 mobile 專用的卡片內容 */
    .esg-tab-content .member-table tbody td.esg-mobile-card-content {
        display: block !important;
        border: none;
        padding: 0;
        background: transparent;
    }
}

/* ESG Mobile 卡片樣式 */
.esg-mobile-card {
    display: none;
}

@media (max-width: 767px) {
    .esg-mobile-card {
        display: block;
    }
    
    /* 卡片頭部：標籤 + 減碳量 */
    .esg-mobile-card-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 16px;
        padding-bottom: 12px;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .esg-mobile-card-labels {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
        align-items: center;
    }
    
    /* 複製 product-labels 中的標籤樣式到 mobile 卡片 */
    .esg-mobile-card-labels .product-labels {
        display: flex;
        flex-wrap: wrap;
        gap: 5px;
    }
    
    .esg-mobile-card-carbon {
        text-align: right;
        white-space: nowrap;
        flex-shrink: 0;
    }
    
    .esg-mobile-card-carbon .carbon-value {
        font-size: 22px;
        font-weight: bold;
        color: #4caf50;
    }
    
    .esg-mobile-card-carbon .carbon-unit {
        font-size: 13px;
        color: #464646;
    }
    
    /* 卡片內容：商品資訊 */
    .esg-mobile-card-body {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    
    .esg-mobile-card-row {
        display: grid;
        align-items: baseline;
        grid-template-columns: auto 1fr;
        gap: 12px;
    }
    
    .esg-mobile-card-row .label {
        font-size: 14px;
        color: #787878;
        flex-shrink: 0;
        min-width: 84px;
        text-align:left;
    }
    
    .esg-mobile-card-row .value {
        font-size: 15px;
        color: #3B3B3B;
        font-weight: 500;
        white-space: pre-wrap;
        text-align: left;
    }
    
    /* 商品名稱特別樣式 */
    .esg-mobile-card-row.product-name-row .value {
        font-size: 17px;
        font-weight: 600;
        color: #3B3B3B;
        line-height: 1.4;
    }
    
    /* 空資料訊息在 mobile 的樣式 */
    .esg-tab-content .empty-data-message {
        background: #ffffff;
        border-radius: 12px;
        padding: 40px 20px;
    }
}

/* ESG 分頁在 Mobile 的樣式調整 */
@media (max-width: 767px) {
    #energy-saving-pagination,
    #repurchase-pagination {
        padding: 16px;
        justify-content: center;
        background: #f8f8f8;
        border-radius: 0 0 12px 12px;
        margin-top: 0;
    }
    
    .esg-tab-content .v14-pagination-container {
        margin-top: 0;
        margin-bottom: 0;
    }
    
    /* 確保分頁在背景內正確顯示 */
    .esg-tab-content .v14-pagination-wrapper {
        justify-content: center;
    }
}

/* ==================== 特別提醒樣式 ==================== */
.special-remind{
	display:grid;
	grid-template-columns:auto 1fr;
	margin-top:40px;
}
.remind-title{
	font-size:19px;
	font-weight:bold;
	background:#D7003F;
	color:#ffffff;
	-webkit-writing-mode: vertical-rl;
	writing-mode: vertical-rl;
	border-top-left-radius:8px;
	border-bottom-left-radius:8px;
	padding:12px 8px 12px 4px;
	letter-spacing:3px;
	display:flex;
	justify-content:center;
}
@media(max-width:767px){
.remind-title{
	padding:12px 10px 12px 8px;
}
}
.remind-title i{
	font-size:28px;
}
.remind-content{
	padding:16px 32px;
	font-size:13px;
	line-height:23px;
	border:1px solid #D7003F;
	border-left:0;
	border-top-right-radius:8px;
	border-bottom-right-radius:8px;
}
@media(max-width:767px){
.remind-content{
	padding:16px 32px 16px 25px;
}
}
/* ==================== Select2 樣式修正 (符合 753 設計) ==================== */
.basic-form .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 100% !important;
    top: 0 !important;
    right: 10px !important;
    width: 20px !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 12px;
}

.basic-form .select2-container--default .select2-selection--single .select2-selection__arrow b {
    display: none !important;
}

.basic-form .select2-container .select2-selection--single {
    display: flex !important;
    align-items: center !important;
}

.basic-form .select2-container--default .select2-selection--single .select2-selection__rendered {
    padding-right: 30px !important;
    color: var(--header_main_f_color, #3B3B3B)!important;
    line-height: normal !important;
}

/* ==================== 註冊頁面 Select2 樣式修正 (與會員資料頁一致) ==================== */
.login-register-form .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 100% !important;
    top: 0 !important;
    right: 10px !important;
    width: 20px !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 12px;
}

.login-register-form .select2-container--default .select2-selection--single .select2-selection__arrow b {
    display: none !important;
}

.login-register-form .select2-container--default .select2-selection--single .select2-selection__rendered {
    padding-left: 12px !important;
    padding-right: 30px !important;
    color: #495057 !important;
    line-height: normal !important;
}

/* ==================== 輸入框內圖示樣式 ==================== */
.input-with-icon {
    position: relative;
    display: block;
}

.input-with-icon .form-control {
    padding-right: 40px;
}

.input-with-icon i {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 18px;
    pointer-events: none;
}

/* 隱藏 date input 原生的日曆圖示 */
.input-with-icon input[type="date"]::-webkit-calendar-picker-indicator {
    opacity: 0;
    position: absolute;
    right: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.input-valid {
    
    border:1px solid #53AD50 !important;
}

/* 必填欄位已填寫時的綠色勾勾樣式 */
.color-green {
    color: #53AD50 !important;
}

.btn-save-address{
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.v14-table-border-none{
    border: none !important;
}

.v14-checkbox-header{

    padding-left: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ddd !important;
}

/* ==================== V14 收藏頁面手機版樣式修正 ==================== */

/* V14 收藏列表 - 與到貨通知清單使用相同結構 */
#tbodyMemberFavoriteInfo .v14-favorite-row {
    border-top: 1px solid #C2C2C2;
    border-bottom: none;
}

#tbodyMemberFavoriteInfo .v14-favorite-row td {
    border-bottom: none;
}

/* 確保圖片欄位在手機版正確顯示 */
@media (max-width: 576px) {
    #tbodyMemberFavoriteInfo .product-display {
        display: table-cell !important;
    }
    
    #tbodyMemberFavoriteInfo .product-thumbnail.s1 {
        width: 100px;
    }
    
    #tbodyMemberFavoriteInfo .product-thumbnail.s1 img {
        max-width: 80px;
    }
}

@media (max-width: 767px) {
    #tbodyMemberFavoriteInfo .product-thumbnail.s1 {
        width: 100px;
        padding: 16px 10px 16px 0;
    }
}

/* JW 2026/01/05：753 註冊 Step2「服務門市」提示原本是 tooltip，但缺少 CSS 導致文字常駐顯示；只針對 info-tooltip-bind-store 補上隱藏/顯示規則，避免影響全站 tooltip（.tooltip） */
.info-tooltip-bind-store {
    position: relative;
    display: inline-flex;
    align-items: center;
    margin-left: 6px;
    outline: none;
}

.info-tooltip-bind-store .tooltip-text {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    min-width: 220px;
    max-width: 320px;
    padding: 10px 12px;
    border-radius: 10px;
    background: #3B3B3B;
    color: #ffffff;
    font-size: 13px;
    line-height: 1.45;
    white-space: normal;
    z-index: 1000;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

.info-tooltip-bind-store .tooltip-text::after {
    content: "";
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 0 7px 7px 7px;
    border-style: solid;
    border-color: transparent transparent #3B3B3B transparent;
}

.info-tooltip-bind-store:hover .tooltip-text,
.info-tooltip-bind-store:focus .tooltip-text,
.info-tooltip-bind-store:focus-within .tooltip-text {
    display: block;
}

/* 手機：避免 tooltip 超出畫面 */
@media (max-width: 576px) {
    .info-tooltip-bind-store .tooltip-text {
        left: 0;
        transform: none;
        max-width: 260px;
    }
    .info-tooltip-bind-store .tooltip-text::after {
        left: 18px;
        transform: none;
    }
}

.errorMessage {

    text-align: center;
    color: red;
}

/* ==================== iOS input focus zoom prevention (V14 memberPage) ==================== */
/* iOS Safari/Chrome：輸入框字體 < 16px 時，點選會自動放大頁面；forgot_step1/login 等有載入本檔時，需在本檔尾端保證覆寫生效 */
@media (max-width: 767px) {
    input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="button"]):not([type="submit"]):not([type="reset"]),
    select,
    textarea {
        font-size: 16px !important;
    }
}

/* JW 2026/02/10 V14 datepicker 樣式已移至 v14_datepicker.css */