/*#ea6157 #ff9085 #fba94a #ffc444*/
/*#4b8983 #4bb7a2 #309cad #86e3bc*/

/*-------------------- common --------------------*/
html{
  scroll-behavior: smooth;
}

.fc-b { color: #4195D0 !important; }
.fc-r { color: #F33746 !important; }
/*.fc-db { color: #003974 !important; }*/
.fc-ly { color: #FEEE7F !important; }
.fc-db { color: #010E39 !important; }
.fc-dg { color: #595757 !important; }
.fc-ipass { color: #10a83b !important; }

.bg-ww { background-color: #FFFFFF !important; }
.bg-g { background-color: #8CCECE !important; }
.bg-r { background-color: #F79C99 !important; }
.bg-lr { background-color: #F8DDC0 !important; }
.bg-db { background-color: #010E39 !important; }

.btn-db { background-color: #010E39; color:#fff; border-radius: 50px; }
.btn-db:hover { background-color: #598fb6; }


.btn-bd-db {
  border: 1px solid #010E39 !important;
  color: #010E39 !important;
}


.sec-btn {
	display: block;
	background-color: #003974;
	font-size: 1.5rem;
	color: #FFF;
	border: 1px solid;
	border-radius: 1em;
	text-align: center;
	line-height: 1;
	padding: 1em 0.5em;
	font-weight: bold;
	box-shadow: 0 10px 0 #598fb6, 0 10px 0 1px #FFF !important;
}
a.sec-btn:hover {
	background-color: #010E39;
	color: #FFF;
}

.sec-btn p {
	font-size: 0.65em;
	font-weight: normal;
}

.sec-btn .arrow-animate {
	position: relative;
	padding-top: calc(0.2em * 6);
}

.sec-btn .arrow-animate span {
	position: absolute;
	top: 0;
	left: 50%;
	width: calc(0.2em * 2);
	height: calc(0.2em * 2);
	margin-left: -0.2em;
	border-left: 1px solid #fff;
	border-bottom: 1px solid #fff;
	-webkit-transform: rotate(-45deg);
			transform: rotate(-45deg);
	-webkit-animation: arrow-animate 2s infinite;
			animation: arrow-animate 2s infinite;
	opacity: 0;
	box-sizing: border-box;
}
.sec-btn .arrow-animate span:nth-of-type(1) {
	-webkit-animation-delay: 0s;
		animation-delay: 0s;
}
.sec-btn .arrow-animate span:nth-of-type(2) {
	top: calc(0.2em * 1.5);
	-webkit-animation-delay: .15s;
			animation-delay: .15s;
}
.sec-btn .arrow-animate span:nth-of-type(3) {
	top: calc(0.2em * 3);
	-webkit-animation-delay: .3s;
			animation-delay: .3s;
}

@-webkit-keyframes arrow-animate {
	0% { opacity: 0; }
	50% { opacity: 1; }
	100% { opacity: 0; }
}
@keyframes arrow-animate {
	0% { opacity: 0; }
	50% { opacity: 1; }
	100% { opacity: 0; }
}

@media (min-width: 576px) {
	.sec-btn { font-size: 2rem; }
}

@media (min-width: 768px) {
	.sec-btn { font-size: 2.75rem; }
}


#esg-society-ipass .button { font-size: 1.25rem; }

/*---------- sec_title ----------*/
.sec-title h2 {
	position: relative;
	display: inline-block;
	color: #FFF;
	font-size: 1.5em;
	font-weight: bold;
	border: 1px solid;
	margin-bottom: 0;
	padding: 0.4em 1em;
	letter-spacing: 1px;
}

.sec-title h2::before {
	content: "";
	position: absolute;
	left: -7px;
	top: -7px;
	display: block;
	border: 1px solid #010E39;
	width: 100%;
	height: 100%;
	box-sizing: content-box;
}

.sec-title p {
	font-size: 1.125em;
	margin-top: 1em;
}

@media (min-width: 576px) {
	.sec-title h2 { font-size: 2.5em; }
}

/*---------- //sec_title ----------*/

/* =========================================================
   sec_banner 臺南健康幣
   ========================================================= */

.tainan-health-hero {
	position: relative;
	width: 100%;
	min-height: 500px;
	padding: 20px 25px;
	overflow: hidden;
	background:
		linear-gradient(
			90deg,
			rgba(255, 244, 241, 0.94) 0%,
			rgba(255, 239, 235, 0.82) 52%,
			rgba(255, 235, 232, 0.92) 100%
		),
		center bottom / cover no-repeat;
}

.th-hero-container {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns:
		minmax(0, 1fr)
		minmax(280px, 0.9fr)
		minmax(350px, 0.85fr);
	align-items: center;
	width: 100%;
	max-width: 1280px;
	min-height: 475px;
	margin: 0 auto;
}

/* 左側活動文字 */
.th-hero-content {
	position: relative;
	z-index: 3;
	padding-bottom: 55px;
}

.th-hero-content h1 {
	margin: 0 0 8px;
	color: #07385a;
	font-size: clamp(40px, 4vw, 56px);
	font-weight: 900;
	line-height: 1.2;
	letter-spacing: 1px;
}

.th-hero-content h1 span {
	color: #ff573c;
}

.th-hero-content h2 {
	margin: 0 0 18px;
	color: #07385a;
	font-size: clamp(24px, 2.3vw, 32px);
	font-weight: 800;
	line-height: 1.35;
}

.th-hero-content h2 span {
	color: #ff5d3f;
	white-space: nowrap;
}

.th-hero-content p {
	margin: 0 0 25px;
	color: #173d5a;
	font-size: 19px;
	font-weight: 600;
	line-height: 1.7;
}

/* Banner 按鈕 */
.th-hero-buttons {
	display: flex;
	align-items: center;
	gap: 16px;
}

.th-hero-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 205px;
	height: 55px;
	padding: 0 25px;
	border: 2px solid #ff6948;
	border-radius: 30px;
	font-size: 17px;
	font-weight: 700;
	text-decoration: none !important;
	transition: all 0.25s ease;
}

.th-hero-btn i {
	margin-right: 9px;
}

.th-hero-btn-primary {
	color: #fff !important;
	background: linear-gradient(90deg, #ff593f, #ff8b35);
	box-shadow: 0 8px 18px rgba(255, 92, 61, 0.24);
}

.th-hero-btn-outline {
	color: #ff6849 !important;
	background: rgba(255, 255, 255, 0.88);
}

.th-hero-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 22px rgba(255, 92, 61, 0.25);
}

/* 中間人物 */
.th-hero-person {
	position: relative;
	z-index: 2;
	align-self: end;
	height: 465px;
	margin-bottom: -20px;
}

.th-hero-person img {
	position: absolute;
	left: -35px;
	bottom: 0;
	display: block;
	width: 115%;
	max-width: none;
	max-height: 465px;
	object-fit: contain;
	object-position: center bottom;
}

.th-hero-handwriting {
	position: absolute;
	z-index: 4;
	top: 25px;
	right: -10px;
	color: #ff4f69;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.4;
	text-align: center;
	transform: rotate(-7deg);
}
.th-hero-ai {
	height: 110%;
	width: 380px;
    overflow: visible;
	
}
.th-hero-ai > * {
	transform: scale(0.9);
	min-height:0;
}
.th-hero-ai iframe {
	border-radius:1rem;
	padding-top: 4px;
	border: 2px solid var(--color-primary) !important;
}

.organizer_actions {
	border-left: 1px solid #fff;
	padding-left: 1.5rem;
}
/* Banner 平板版 */
@media (max-width: 1100px) {
	.th-hero-container {
        display: grid;

        grid-template-columns:
            minmax(0, 2fr)
            minmax(300px, .5fr);

        grid-template-areas:
            "content ai"
            "person  ai"
            "banner  banner";

        gap: 16px 24px;

        align-items: stretch;
    }
	 .th-hero-content {
        grid-area: content;
        min-width: 0;
		padding-bottom: 2.5rem;
		padding-top: 1rem;
    }

    .th-hero-person {
        grid-area: person;
        min-width: 0;
		height: 200px;
    }
	.th-hero-person img {
		position: absolute;

		left: 50%;
		right: auto;

		transform: translateX(-50%);
        width: auto;
        height: auto;
        max-height: 250px;
        max-width: 100%;
        object-fit: contain;
    }
    .th-hero-ai {
        grid-area: ai;
        min-width: 0;
        width: 100%;
        height: 100%;
    }
	.th-hero-handwriting {
		font-size: 14px;
	}
	.th-hero-ai-image {
		display: none;
	}

	.th-hero-content h1 {
		font-size: 44px;
	}

	.th-hero-content h2 {
		font-size: 26px;
	}
	.th-hero-buttons {
		gap:8px;
	}
	.organizer_info {
		flex-direction: column !important;
		padding-bottom: 2rem;
		gap: 0;
	}
	.organizer_actions {
		border-left: none;
		padding-left: 0;
	}
	
}

/* Banner 手機版 */
@media (max-width: 767px) {
	.tainan-health-hero {
        min-height: auto;
        padding: 35px 20px 30px;
    }

    


    /* 第一塊：文字 */
    .th-hero-content {
        grid-area: content;
        min-width: 0;
    }


    /* 第二塊：人物 */
    .th-hero-person {
        grid-area: person;

        min-width: 0;

        display: flex;
        align-items: flex-end;
        justify-content: center;
		height: auto;
    }
	.th-hero-person img {
		right:-12px;
		left:auto;
		bottom: -1rem;
		width: 120%;
        height: auto;
        max-height: auto;
		max-width: 120%;
		transform: translateX(0%);
	}
	.th-hero-handwriting {
		top:-240px;
		font-size: 14px;
	}
    /* 第三塊：AI */
    .th-hero-ai {
        grid-area: ai;

        width: 100%;
        max-width: 100%;

        margin: 0 auto;
		margin-top: 2rem;
    }

	.th-hero-content {
		width: 100%;
		padding-bottom: 10px;
		text-align: center;
	}

	.th-hero-content h1 {
		font-size: 35px;
	}

	.th-hero-content h2 {
		font-size: 21px;
	}

	.th-hero-content p {
		font-size: 16px;
	}
	.th-hero-buttons {
		flex-direction: column;
	}
	#chatFrame {
		height: 450px !important;
		width: 95dvw !important;
		margin-top: 1.5rem;
	}
}

@media (max-width: 576px) {
	.th-hero-container {
        display: grid;

        grid-template-columns:
            minmax(0, 1.35fr)
            minmax(80px, 0.65fr);

        grid-template-areas:
            "content person"
            "ai ai";

        align-items: end;

        width: 100%;
        min-height: auto;

        gap: 20px 12px;
    }
	#chatFrame {
		margin-top: -4px;
		transform: translateX(-.6rem);
	}
}

/*------------- sec_steps (台南健康幣步驟) -------------*/

.tainan-health-steps {
	position: relative;
	padding: 28px 20px 38px;
	background: #fff;
}

.th-steps-container {
	width: 100%;
	max-width: 1280px;
	margin: 0 auto;
}

.th-steps-title {
	margin: 0 0 30px;
	color: #07385a;
	font-size: 27px;
	font-weight: 900;
	text-align: center;
}

.th-steps-list {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	align-items: start;
	gap: 34px;
}

.th-step-item {
	position: relative;
	min-width: 0;
	text-align: center;
}

/* 步驟之間的箭頭 */
.th-step-item:not(:last-child)::after {
	position: absolute;
	top: 72px;
	right: -25px;
	color: #07385a;
	content: "›";
	font-size: 38px;
	font-weight: 900;
	line-height: 1;
}

.th-step-number {
	position: absolute;
	z-index: 2;
	top: 0;
	left: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 25px;
	height: 25px;
	border-radius: 50%;
	color: #fff;
	background: #ff5065;
	font-size: 13px;
	font-weight: 800;
}

.th-step-image {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 105px;
	margin-bottom: 8px;
}

.th-step-image img {
	display: block;
	width: auto;
	max-width: 115px;
	height: auto;
	max-height: 100px;
	object-fit: contain;
}

.th-step-item h3 {
	margin: 0 0 6px;
	color: #123b59;
	font-size: 17px;
	font-weight: 800;
	line-height: 1.4;
}

.th-step-item p {
	margin: 0;
	color: #557084;
	font-size: 12px;
	line-height: 1.55;
}


/* Steps 平板版 */
@media (max-width: 1024px) {
	.th-steps-list {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 35px 25px;
	}

	.th-step-item:not(:last-child)::after {
		display: none;
	}
}

/* Steps 手機版 */
@media (max-width: 640px) {
	.tainan-health-steps {
		padding: 30px 15px;
	}

	.th-steps-title {
		font-size: 23px;
	}

	.th-steps-list {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 30px 18px;
	}

	.th-step-number {
		left: 5px;
	}
}

/*------------- sec_store_search (台南健康幣店家搜尋) -------------*/
.store-map-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 16px;

    align-items: start;

    margin-top: 20px;
}
.store-list-panel {
    min-width: 0;
}
.store-map-panel {
    min-width: 0;
	min-height: 0;
	/* 關鍵 */
    align-self: start;
	height: calc(108vh - 48px);
    position: sticky;
    top: 20px;
}
.store-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  scroll-margin-top: 86px;
}

.mobile-store-fab {
  display: none;
}

.store-card {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 9px 30px rgba(9,43,97,.075);
  transition: transform .25s ease, box-shadow .25s ease;
}
/* 整張卡片透明連結 */
.store-card-cover-link {
    position: absolute;
    inset: 0;
    z-index: 1;

    display: block;
}


/*
 * 一般內容不攔截滑鼠，
 * 點圖片、店名、地址、空白處都會穿透到 cover link
 */
.store-photo,
.store-info {
    position: relative;
    z-index: 2;

    pointer-events: none;
}


/*
 * 真正有自己功能的元件重新允許操作
 */
.store-favorite,
.store-events,
.store-events select,
.store-actions,
.store-action-link,
.store-address-link {
    pointer-events: auto;
}
.store-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 38px rgba(9,43,97,.14);
}

.store-card:focus-visible {
    outline: 3px solid var(--color-primary);
    outline-offset: 3px;
}
.store-photo {
  position: relative;
  aspect-ratio: 2.1 / 1;
  overflow: hidden;
  background: var(--sky);
}

.store-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.store-card:hover .store-photo img {
  transform: scale(1.035);
}

.store-photo > span {
  position: absolute;
  top: 11px;
  left: 11px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(9,43,97,.88);
  color: #fff;
  font-size: .68rem;
  font-weight: 900;
  backdrop-filter: blur(6px);
}

.store-info {
  padding: 0;
  flex: 1;
  display: flex;
    flex-direction: column;

    min-height: 0;
}
.store-actions {
    display: flex;
    flex-direction: column;

    flex: 1;
}
.store-map-link {
	position: static;

    margin-top: auto;

	border: none;
	background: none;
	padding: 4px;
	color: var(--color-tertiary);
	font-size: .85rem;
	font-weight: 800;
	text-align: center;
	width: 100%;
	height: 2.5rem;
}
.store-info h3 {
  min-height: 3em;
  padding: 4px 16px;
  margin: 0;
  color: var(--navy);
  font-size: .98rem;
  line-height: 1.38;
}

.store-info p {
  padding: 4px 16px;
  color: var(--muted);
  font-size: .78rem;
}

.store-info a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 4px;
  margin: 0 12px;
  border: 1px solid var(--color-primary);
  border-radius: 50px;
  color: var(--color-primary);
  font-size: .78rem;
  font-weight: 900;
}

.store-info a span {
  font-size: .8rem;
  transition: transform .2s;
}
.custom-select {
	
	margin-bottom: 8px;
}
.store-address {
    margin-bottom: 8px;
}

.store-address-link {
    position: relative;
    z-index: 3;

    padding: 0;
    border: 0;
    background: transparent;

    color: inherit;
    font: inherit;
    text-align: left;

    cursor: pointer;

    pointer-events: auto;
}

.store-address-link:hover {
    color: var(--color-primary);
    text-decoration: underline;
}
.store-info a:hover span, .store-info a:focus-visible span {
  transform: translate(2px, -2px);
}
.store-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
  padding: 15px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #f7fbfe;
  color: var(--muted);
  font-size: .82rem;
}

.store-toolbar > div {
  display: flex;
  align-items: center;
  gap: 9px;
}

.store-toolbar b {
  color: var(--navy);
  font-size: .94rem;
}

.store-toolbar small {
  padding-left: 9px;
  border-left: 1px solid var(--line);
  color: #74869a;
}

.live-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(21,147,102,.13);
}
.store_search_title {
  text-align: center !important;
}
/*------------- store-list -------------*/
/* 移除 sec_info 可能從其他 CSS 繼承的上方間距 */
.sec_info {
	margin-top: 0 !important;
	padding-top: 0 !important;
}

/* 標題到查詢列保留約 15px 間距 */
#store-list {
	padding-top: 15px !important;
}

.store-list .input-group .input-group-text {
	border-radius: 50rem 0 0 50rem;
	background: #FFF;
	border-right: 0 !important;
}

.store-list .input-group input {
	border-radius: 0 50rem 50rem 0;
	border-left: 0;
}

.store-list .search-block .btn-group {
	padding-top: 0.5rem;
	border-top: 2px solid #FFF;
}
.store-list .store-pic img {
	width: 4em;
	height: 4em;
	border-radius: 40%;
	margin-bottom: 0;
	object-fit: cover;
	border: 2px solid #ffffff;
}
.store-list .store-pic:hover img {
	border: 2px solid #f86259;
	filter: brightness(1.2);
	transform: scale(1.1);
	transition: all .8s ease-in-out;
}

.store-list .categoryName {
	font-size: .8em;
}


.store-list .table i.fa-heart { cursor: pointer; }

.store-list .pagination {
	margin: 30px 0;
}

.store-list .pagination .page-item .page-link {
	background-color: #f5f5f5;
	border-color: #ddd;
	color: #666;
	width: 2.5em;
	height: 2.5em;
	margin: 0 5px;
	padding: 0;
	text-align: center;
	line-height: 2.5em;
	border-radius: 50%;
	font-weight: 600;
	transition: all 0.3s;
}

.store-list .pagination .page-item .page-link:hover {
	background-color: #FF6B6B;
	color: white;
	border-color: #FF6B6B;
	transform: scale(1.1);
}

.store-list .pagination .page-item.disabled .page-link { 
	border-color: transparent;
	background-color: transparent;
	color: #ccc;
}

.store-list .pagination .page-item.active .page-link {
	background-color: linear-gradient(135deg, #FF6B6B 0%, #FF8E72 100%);
	background: linear-gradient(135deg, #FF6B6B 0%, #FF8E72 100%);
	color: white;
	border-color: #FF6B6B;
	box-shadow: 0 3px 10px rgba(255, 107, 107, 0.3);
}

@media (min-width: 576px) {
	.store-list .search-block .btn-group {
		border-top: 0;
		border-left: 2px solid #FFF;
		padding-top: 0;
		padding-left: 0.5rem;
	}
	.store-list .table .tbody .tr .btn-coupon {font-size: .8em;}
	.store-list .table .tbody .tr .btn-text{ font-size: 1rem;	}
/*	.store-list .table, #esg-ipass .store-list .button { font-size: 1.2rem; }*/
/*	.store-list .table .th, .store-list .table .td, .store-list .table .td .btn { font-size: 1rem; padding: .75em; }*/

	.store-list .table .tbody .tr .th, .store-list .table .tbody .tr .td {
		padding: 0.75em;
	}
}
/*------------- 更多 to B 資訊 -------------*/
.bottom_info_wrap {
    position: relative;
    display: inline-block;
	z-index: 9999;
}

.bottom_info_panel {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, .16);
}

.bottom_info_close {
    display: none;
}

.bottom_info_backdrop {
    display: none;
}
.bottom_btn .fa-info {
	display: block;
	margin-right: 0;
}
@media only screen and (min-width: 1100px) {

    .bottom_info_panel {
        position: absolute;

        /* 往按鈕上方展開 */
        bottom: calc(100% + 12px);
        right: 0;

        width: min(900px, 85vw);
        padding: 24px;

        z-index: 1000;

        opacity: 0;
        visibility: hidden;

        transform: translateY(-8px);

        pointer-events: none;

        transition:
            opacity .2s ease,
            transform .2s ease,
            visibility .2s ease;
    }

    /*
     * 填補按鈕與彈窗中間的間距，
     * 避免滑鼠移下去時 hover 突然消失
     */
    .bottom_info_panel::before {
        content: "";

        position: absolute;
        top: -14px;
        left: 0;

        width: 100%;
        height: 14px;
    }


    .bottom_info_wrap:hover .bottom_info_panel,
    .bottom_info_wrap:focus-within .bottom_info_panel {
        opacity: 1;
        visibility: visible;

        transform: translateY(0);

        pointer-events: auto;
    }

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

    .bottom_info_backdrop {
        display: none;

        position: fixed;
        inset: 0;

        background: rgba(0, 0, 0, .5);

        z-index: 2147483646;
    }

    .bottom_info_panel {
        display: none;

        position: fixed;

        top: 50%;
        left: 16px;
        right: 16px;

        transform: translateY(-50%);

        max-height: calc(100dvh - 40px);
        overflow-y: auto;

        background: #fff;
        border-radius: 20px;

        z-index: 2147483647;
    }

    .bottom_info_backdrop.is-open,
    .bottom_info_panel.is-open {
        display: block;
    }



    .bottom_info_close {
        display: flex;

        position: absolute;
        top: 10px;
        right: 10px;

        width: 36px;
        height: 36px;

        align-items: center;
        justify-content: center;

        border: 0;
        border-radius: 50%;

        background: #f4f4f4;

        font-size: 18px;

        cursor: pointer;

        z-index: 2;
    }


}
/*------------- sec_bonus -------------*/
.sec_usepay {
	padding: 8% 0;
}

.sec_usepay h3 {
	position: relative;
	z-index: 1;
	font-size: 1.5em;
	padding-left: 30vw;
	text-align: left;
}

.sec_usepay .usepay-block {
	background-color: rgba(255, 255, 255, .75);
	text-align: center;
	border-radius: 2em;
	margin: 1em auto;
	padding: 1em;
	z-index: 1;
}

.sec_usepay .usepay-block h4 { letter-spacing: 2px; }

.sec_usepay .usepay-block img { width: 80%; }

@media (min-width: 576px) {
	.sec_usepay h3 {
		font-size: 2.25em;
	}

	.sec_usepay .usepay-block {
		margin: 1em;
		width: 340px;
	}
}


/*------------- sec_featured (精選健康好康) -------------*/
.sec_featured {
	background: #FFFBF0;
	padding: 60px 20px;
}

.featured_container {
	max-width: 1200px;
	margin: 0 auto;
}

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

.featured_title h2 {
	font-size: 28px;
	font-weight: 700;
	color: #333;
	margin-bottom: 10px;
}

.featured_title .subtitle {
	font-size: 14px;
	color: #FF6B6B;
}

.featured_grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}

.featured_card {
	background: white;
	border-radius: 15px;
	overflow: hidden;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	transition: all 0.3s;
}

.featured_card:hover {
	transform: translateY(-5px);
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.featured_card img {
	width: 100%;
	height: 180px;
	object-fit: cover;
}

.featured_card_content {
	padding: 15px;
}

.featured_card_title {
	font-size: 14px;
	font-weight: 600;
	color: #333;
	margin-bottom: 8px;
}

.featured_card_desc {
	font-size: 12px;
	color: #FF6B6B;
	font-weight: 600;
	margin-bottom: 10px;
}

.featured_card_location {
	font-size: 12px;
	color: #999;
	display: flex;
	align-items: center;
	gap: 5px;
	margin-bottom: 10px;
}

.featured_card_btn {
	width: 100%;
	padding: 8px;
	background: linear-gradient(135deg, #FF6B6B 0%, #FF8E72 100%);
	color: white;
	border: none;
	border-radius: 20px;
	font-size: 12px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s;
}

.featured_card_btn:hover {
	transform: scale(1.02);
}

@media (max-width: 1024px) {
	.featured_grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 640px) {
	.featured_grid {
		grid-template-columns: 1fr;
	}
}

/*------------- sec_bottom (底部區塊) -------------*/
.sec_bottom {
	position: relative;
	padding: 4% 0;
	padding-bottom: 0;
	overflow: visible;
	color: #fff;
	background:
		radial-gradient(
			circle at 50% 0%,
			rgba(67, 137, 190, 0.45),
			transparent 45%
		),
		linear-gradient(
			135deg,
			#0a3157 0%,
			#174f7e 55%,
			#0c3a64 100%
		);
}

.bottom_container {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
}


/* =========================================================
   區塊標題
   ========================================================= */

.bottom_title {
	margin-bottom: 8px;
	text-align: center;
}

.bottom_title h2 {
	margin: 0 0 8px;
	color: #fff;
	font-size: 30px;
	font-weight: 800;
	line-height: 1.4;
	letter-spacing: 1px;
}

.bottom_title p {
	margin: 0;
	color: rgba(255, 255, 255, 0.88);
	font-size: 15px;
	line-height: 1.7;
}


/* =========================================================
   左側服務卡＋右側合作好處
   ========================================================= */

.bottom_content {
	display: grid;
	grid-template-columns: minmax(0, 3fr) minmax(240px, 1fr);
	align-items: stretch;
	gap: 20px;
}


/* =========================================================
   三項服務卡片
   ========================================================= */

.plans_grid {
	padding: 20px 18px;
	border-radius: 22px;
	background: #fff;
	box-shadow: 0 12px 30px rgba(0, 28, 55, 0.22);
}
.plans_grid img{
	display: block;
	height: 120%;
	width: auto;
	max-width: 120%;
}
.plan_card {
	position: relative;
	display: flex;
	min-width: 0;
	padding: 15px 12px 18px;
	overflow: hidden;
	border: 1px solid #e8edf1;
	border-radius: 17px;
	color: #123b59;
	background: #fff;
	flex-direction: column;
	align-items: center;
	text-align: center;
	transition:
		transform 0.25s ease,
		box-shadow 0.25s ease;
}

.plan_card:hover {
	z-index: 2;
	transform: translateY(-4px);
	box-shadow: 0 10px 24px rgba(1, 35, 66, 0.16);
}


/* 卡片上方彩色標題 */
.plan_title {
	position: relative;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 130px;
	margin: 0 auto 10px;
	padding: 7px 18px;
	border-radius: 18px 18px 6px 6px;
	color: #fff;
	font-size: 20px;
	font-weight: 800;
	line-height: 1.2;
	box-shadow: 0 5px 12px rgba(25, 60, 95, 0.14);
}

/* 線上點餐 */
.plan_title_order {
	background: linear-gradient(135deg, #10a65b, #0c873f);
}

/* 線上預訂 */
.plan_title_booking {
	background: linear-gradient(135deg, #1682ee, #075ac5);
}

/* AI 虛擬人 */
.plan_title_ai {
	background: linear-gradient(135deg, #a15bd5, #6b3ca6);
}


/* 服務圖片 */
.plan_image {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 245px;
	margin-bottom: 8px;
	overflow: hidden;
}

.plan_image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center;
}


/* 服務說明 */
.plan_desc {
	display: flex;
	margin-top: auto;
	color: #173f5d;
	font-size: 14px;
	line-height: 1.55;
	flex-direction: column;
	align-items: center;
}

.plan_desc strong {
	display: block;
	margin-bottom: 2px;
	color: #123b59;
	font-size: 16px;
	font-weight: 800;
}

.plan_desc span {
	display: block;
	color: #455f72;
	font-weight: 600;
}


/* =========================================================
   右側合作店家獲得好處
   ========================================================= */

.partner_benefits {
	padding: 20px 18px;
	border: 2px solid rgba(255, 214, 115, 0.65);
	border-radius: 20px;
	color: #173f5d;
	background: linear-gradient(180deg, #fff9df 0%, #fff 100%);
	box-shadow: 0 12px 30px rgba(0, 28, 55, 0.2);
}

.partner_benefits h3 {
	margin: 0 0 18px;
	padding-bottom: 12px;
	border-bottom: 1px solid #ecdca5;
	color: #123b59;
	font-size: 21px;
	font-weight: 800;
	text-align: center;
}

.partner_benefits ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.partner_benefits li {
	display: flex;
	align-items: center;
	gap: 11px;
	margin-bottom: 15px;
	color: #294a62;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.45;
}

.partner_benefits li:last-child {
	margin-bottom: 0;
}


/* 合作好處圖示 */
.benefit_icon {
	display: inline-flex;
	flex: 0 0 30px;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: 9px;
	color: #fff;
	font-size: 15px;
}

.benefit_icon_partner {
	background: #f4a62a;
}

.benefit_icon_resource {
	background: #3788d8;
}

.benefit_icon_google {
	color: #fff;
	background: #4285f4;
}

.benefit_icon_customer {
	background: #ff8b36;
}

.benefit_icon_health {
	background: #ff5267;
}


/* =========================================================
   下方行動按鈕
   ========================================================= */


.bottom_btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-grow:1;
	min-height: 48px;
	padding: 10px 25px;
	border: 2px solid #fff;
	border-radius: 26px;
	font-size: 15px;
	font-weight: 700;
	text-decoration: none !important;
	transition:
		transform 0.25s ease,
		box-shadow 0.25s ease,
		background-color 0.25s ease;
}

.bottom_btn i {
	margin-right: 8px;
}

.bottom_btn .fa-arrow-right {
	margin-right: 0;
	margin-left: 7px;
}

.bottom_btn_primary {
	color: #17476d !important;
	background: #fff;
}

.bottom_btn_outline {
	color: #fff !important;
	background: transparent;
}

.bottom_btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 18px rgba(0, 19, 39, 0.28);
}

.bottom_btn_primary:hover {
	color: #17476d !important;
	background: var(--color-primary-100);
}

.bottom_btn_outline:hover {
	color: #17476d !important;
	background: #fff;
}
.bottom_btn.btn-line {
	background-color: #10a83b;
	color: #fff;
}
.bottom_btn.btn-line:hover {
	color: var(--color-gray-400) !important;
	border-color: var(--color-gray-400) !important;
}

/* =========================================================
   平板版
   ========================================================= */

@media (max-width: 991px) {
	.bottom_content {
		grid-template-columns: 1fr;
	}

	.partner_benefits {
		max-width: none;
	}

	.partner_benefits ul {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 15px 25px;
	}

	.partner_benefits li {
		margin-bottom: 0;
	}
}


/* =========================================================
   手機版
   ========================================================= */

@media (max-width: 767px) {
	.sec_bottom {
		padding: 38px 15px 35px;
	}

	.bottom_title {
		margin-bottom: 22px;
	}

	.bottom_title h2 {
		font-size: 24px;
	}

	.bottom_title p {
		font-size: 14px;
	}

	.plans_grid {
		grid-template-columns: 1fr;
		gap: 12px;
		padding: 10px;
	}

	.plan_card {
		padding: 15px 12px 20px;
	}

	.plan_image {
		height: 260px;
	}

	.partner_benefits ul {
		display: block;
	}

	.partner_benefits li {
		margin-bottom: 15px;
	}

	.bottom_buttons {
		gap: 12px;
	}

	.bottom_btn {
		width: 100%;
		max-width: 320px;
	}
}


/*------------- sec_map -------------*/
#map-box {
	position: relative;
	flex: 1;
	width: 100%;
	min-width: 268px;
	/*height: calc(100vh - 70px - 230px);*/
	/*height: 100vh;*/
	height: calc(100vh - 70px);
	top: 0;
	right: 0;
	margin-left: 0;
	transition: opacity 0.3s;
}

@media only screen and (min-width: 1200px) {
	#map-box {
		width: auto;
		height: calc(100vh - 70px);
		/* margin-left: 350px; */
	}
}

.map-container {
	height: 100%;
	width: 100%;
	position: absolute;
	top: 0px;
	left: 0px;
	background-color: rgb(229, 227, 223);
}


/*------------- sec_notice -------------*/
.sec_notice {
	background-color: #fbece7;
	padding: 4% 0;
	color: #010E39;
	font-size: 0.8rem;
}

.sec_notice p {
	line-height: 1.7;
	text-align: center;
}


.sec_notice h2 {
	font-size: 2.5em;
	font-weight: bold;
	letter-spacing: 1px;
	text-align: center;
	margin: 0.5em auto;
}

.sec_notice ol li {
	font-size: 1.125em;
	padding: 0.5em;
	margin-left: 1.5em;
}

@media (min-width: 576px) {
	.sec_notice { font-size: 1rem; }
}

@media (min-width: 768px) {
	.sec_notice .act-list { padding: 2em 5em; }
}

/* =========================================================
   主辦單位 Logo 區塊
   ========================================================= */

.organizer_section {
	width: 100%;
	padding: 30px 20px 10px;
	text-align: center;
}

.organizer_title {
	margin: 0;
	color: #07385a;
	font-size: 28px;
	font-weight: 800;
	letter-spacing: 1px;
	text-align: center;
}

.organizer_title_line {
	width: 80%;
	max-width: 400px;
	height: 1px;
	margin: 15px auto 28px;
	background: #07385a;
}


/* Logo 橫向排列 */
.organizer_info {
	display: flex;
	align-items: center;
	flex-direction: row;
	justify-content: center;
	gap:24px;
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
}
.organizer_info img {
	display: block;
	max-width: 100%;
	height: auto;
	min-height: 0;
	min-width: 0;
}

/* =========================================================
   主辦單位平板版
   ========================================================= */

@media (max-width: 991px) {
	.organizer_logos {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.organizer_item:last-child {
		grid-column: 1 / -1;
		width: calc(50% - 11px);
		margin: 0 auto;
	}
}


/* =========================================================
   主辦單位手機版
   ========================================================= */

@media (max-width: 640px) {
	.organizer_section {
		padding: 25px 0 5px;
	}

	.organizer_title {
		font-size: 24px;
	}

	.organizer_title_line {
		margin-bottom: 20px;
	}

	.organizer_logos {
		grid-template-columns: 1fr;
		gap: 14px;
	}

	.organizer_item:last-child {
		grid-column: auto;
		width: 100%;
	}

	.organizer_logo_box {
		height: 90px;
	}

	.organizer_logo {
		max-height: 80px;
	}

	.organizer_item p {
		font-size: 14px;
	}
}

/*------------- //sec_notice -------------*/





/*----- animations (B) ----- */
.jump {
	-webkit-animation: jump 1.5s infinite ease-in alternate;
	animation: jump 1.5s infinite ease-in alternate;
}

.pulse {
	-webkit-animation: pulse 2s infinite;
	animation: pulse 2s infinite;
}


@keyframes jump {
	from {
		-webkit-transform: translateY(0);
		-moz-transform: translateY(0);
		-ms-transform: translateY(0);
		-o-transform: translateY(0);
		transform: translateY(0);
	}
	to {
		-webkit-transform: translateY(5%);
		-moz-transform: translateY(5%);
		-ms-transform: translateY(5%);
		-o-transform: translateY(5%);
		transform: translateY(5%);
	}
}

@-webkit-keyframes pulse {
	from {
		-webkit-transform: scale3d(1, 1, 1);
		transform: scale3d(1, 1, 1);
	}
	50% {
		-webkit-transform: scale3d(1.05, 1.05, 1.05);
		transform: scale3d(1.05, 1.05, 1.05);
	}
	100% {
		-webkit-transform: scale3d(1, 1, 1);
		transform: scale3d(1, 1, 1);
	}
}

@keyframes pulse {
	from {
		-webkit-transform: scale3d(1, 1, 1);
		transform: scale3d(1, 1, 1);
	}
	50% {
		-webkit-transform: scale3d(1.05, 1.05, 1.05);
		transform: scale3d(1.05, 1.05, 1.05);
	}
	100% {
		-webkit-transform: scale3d(1, 1, 1);
		transform: scale3d(1, 1, 1);
	}
}
@media only screen and (max-width: 1100px) {
	.plans_grid {
		padding-top: 24px;
		box-shadow: none;
	}
	.plans_grid img {
		height: 90%;
		max-width: 100%;
	}
}
@media only screen and (max-width: 768px) {
	.bottom_title {
		margin-bottom: 0;
	}
	.organizer_info {
		flex-direction: column;
		gap: 0;
		padding-bottom: 1.5rem;
	}
	.organizer_info img {
		max-width: 70% !important;
	}
}
@media only screen and (max-width: 767.98px) {
	.store-map-layout {
        grid-template-columns: 1fr;
    }
	.organizer_info {
		flex-direction: column;
	}
	.organizer_info img {
		max-width: 100% !important;
	}
	/* 按鈕區改成兩欄 Grid */
    .organizer_actions {
        display: grid !important;

        grid-template-columns: minmax(0, 1fr) auto;

        gap: 8px !important;

        width: 100%;
        max-width: 320px;
    }


    /* 第一列：合作申請，橫跨兩欄 */
    .organizer_actions > .bottom_btn_primary {
        grid-column: 1 / -1;

        width: 100%;
        max-width: none;
		margin-bottom: 4px;
    }


    /* 第二列左：LINE */
    .organizer_actions > .btn-line {
        grid-column: 1;

        width: 100%;
        max-width: none;
    }


    /* 第二列右：i */
    .organizer_actions > .bottom_info_wrap {
        grid-column: 2;

        width: fit-content !important;
        min-width: 48px;
    }


    /* i 按鈕填滿自己的格子 */
    .organizer_actions > .bottom_info_wrap > #bottomInfoBtn {
        height: 100%;
		width: fit-content;
        min-width: 48px;

        margin: 0;
		
    }
	
	.bottom_content {
		gap:0;
	}
	.th-hero-person {
		margin-bottom: 0;
	}
}

/* ----- animations (E) ----- */
.banner-carousel,
.banner-track,
.banner-slide,
.banner-slide a {
    width: 100%;
}
.banner-carousel {
    margin-top: 1rem;
}

.banner-slide img {
    display: block;
    width: 100%;
    height: auto;
}
.banner-carousel {
    grid-column: 1 / -1;
    width: 100%;
	border-radius: .75rem;
	border: 2px solid #fff;
	overflow: hidden;
}

.banner-track,
.banner-slide,
.banner-slide a {
    display: block;
    width: 100%;
}

.banner-slide img {
    display: block;
    width: 100%;
    max-width: none;
    height: auto;
}
@media only screen and (max-width: 767.98px) {
	.banner-carousel {
		margin-top: 0;
	}
}