/*=== 通用 ===*/
html,
body {
	font-size: 10px;
	/* 昭源宋體作為全站主字體，延續臺南城市品牌文化識別 */
	font-family: var(--font-serif);
	background-color: var(--sgtn-warm-white);
	/* 宣紙細紋底紋：3% 透明度的細紋，增加視覺觸覺感 */
	background-image: var(--texture-paper);
	color: #333333;
	line-height: 1.7;
	overflow-x: hidden;
}

a {
	color: #333;
}

a:hover {
	color: #333;
	text-decoration: none;
}

/* === 字體層級系統（Typography Hierarchy）=== */
/* H1：主標題／主視覺入口（36–48px）*/
h1 {
	font-size: 3.6rem;
	line-height: 1.25;
	letter-spacing: -0.01em;
}

/* H2：區塊標題（24–30px）*/
h2 {
	font-size: 3rem;
	line-height: 1.3;
	letter-spacing: -0.01em;
}

/* H3：次標題／情境式引導句（18–22px）*/
h3 {
	font-size: 2.6rem;
	line-height: 1.4;
}

/* H4：輔助標題／卡片名稱（14–16px）*/
h4 {
	font-size: 2rem;
	line-height: 1.5;
}

/* H5：小標題 */
h5 {
	font-size: 1.8rem;
	line-height: 1.5;
}

/* Body：內文（提高行距，營造文化閱讀感）*/
a,
p,
span {
	font-size: 1.6rem;
	line-height: 1.75;
	margin: 0;
	padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0;
	font-family: var(--font-serif);
}

ul,
ol,
li {
	padding: 0;
}

img {
	width: 100%;
}

.container-l {
	width: 1520px;
	max-width: 1520px;
	margin: 0 auto;
}

.container-m {
	width: 1400px;
	max-width: 1400px;
	margin: 0 auto;
	position: relative;
}

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

.container-xs {
	width: 960px;
	max-width: 960px;
	margin: 0 auto;
}

.container-xxs {
	width: 800px;
	max-width: 800px;
	margin: 0 auto;
}

.form-group {
	margin-bottom: 0rem;
}

/*=== 表單 ===*/
.table {
	width: 100%;
	box-shadow: #00000020 0 1px 3px;
	border-radius: 15px;
}

.tr {
	border-bottom: 1px solid #ddd;
	display: flex;
	width: 100%;
	border-radius: 15px 15px 0 0;
}

.tr:first-child {
	background: linear-gradient(45deg, #8fd3f4 0%, #8AE7D1 100%) !important;
}

.tr:last-child {
	border-bottom: transparent;
	border-radius: 0 0 15px 15px;
}

.tr:nth-child(odd) {
	background-color: #ffffff;
}

.tr:nth-child(even) {
	background-color: #fafafa;
}

.tr:first-child {
	border: none;
}

.th {
	font-weight: bolder;
	color: #333;
	font-size: 1.8rem;
	padding: 1.5rem 0.5rem 1.5rem 0.5rem;
}

.th:first-child {
	font-size: 1.8rem;
	font-weight: bolder;
	color: #333;
	padding: 1.5rem 0.5rem 1.5rem 2.5rem;
}

.td {
	padding: 1.5rem 0.5rem 1.5rem 0.5rem;
	font-size: 1.6rem;
}

.td:first-child {
	font-size: 1.6rem;
	padding: 1.5rem 0.5rem 1.5rem 2.5rem;
}

.td p {
	line-height: 2.6rem;
	margin-bottom: .5rem;
}

.td span {
	font-size: 1.2rem;
}

label {
	font-size: 1.6rem;
	font-weight: 900;
}

.td-first {
	width: 30%;
}

.td-8 {
	width: 8%;
}

.td-10 {
	width: 10%;
}

.td-15 {
	width: 15%;
}

.td-20 {
	width: 20%;
}

.td-25 {
	width: 25%;
}

.td-75 {
	width: 75%;
}

.td-100 {
	width: 100%;
}

.td-btn {
	width: 10px;
}

.form-control {
	padding: 0 1rem;
	font-size: 1.6rem;
	border-radius: 5px;
	height: 4.5rem;
	margin-bottom: 3rem;
	margin-top: 0.5rem;
}

.form-control.auto {
	background: #eee;
}

.form-check-inline {
	margin-right: 2rem;
}

.form-control:focus {
	border-color: transparent;
	outline: none;
	border: none;
}

.tab-content {
	margin-top: 2rem;
}

.multiple-select {
	display: flex;
	flex-direction: column;
}

select#theSelect {
	display: none;
}

button.multiselect.dropdown-toggle.btn.btn-outline-secondary {
	height: 45px;
	border: 1px solid #ced4da;
	border-radius: 5px;
	color: #222;
	margin: 5px 0 30px 0;
}

.btn-outline-secondary:hover {
	background-color: #fff !important;
}

.dropdown-menu {

	border-radius: .5rem;
	padding: 1rem 2rem 0.5rem;
}

.btn-outline-secondary:not(:disabled):not(.disabled).active,
.btn-outline-secondary:not(:disabled):not(.disabled):active,
.show>.btn-outline-secondary.dropdown-toggle {
	background-color: #fff;
}

input {
	border: 1px solid #d0d0d0;
	font-size: 1.4rem;
}

button {
	border: transparent;

}

/*=== 色彩 ===*/
:root {
	/* === 字體系統（Typography System）=== */
	/* 中文主字體：昭源宋體（臺南城市品牌識別字體） */
	--font-serif: 'Chiron Sung HK', 'Noto Serif TC', Georgia, serif;
	/* 英文主字體：EB Garamond */
	--font-en: 'EB Garamond', Garamond, Georgia, serif;
	/* 備用黑體（UI 輔助用途） */
	--font-sans: 'Noto Sans TC', 'Arial', sans-serif;

	--one-color: #3671B2;
	--two-color: #D9ECEF;
	--three-color: #CBBF02;
	--four-color: #222222;
	--five-color: #fff;
	--six-color: #ddd;
	--seven-color: #aaa;
	/* 臺南市品牌色彩 */
	--tn-red: #C8241A;
	--tn-ochre: #8B3A2A;
	--tn-gold: #C8A847;
	--tn-blue: #1B5FA8;
	--tn-green: #2E7D52;
	/* 拾光臺南品牌色 */
	--sgtn-brick-red: #8A2E2A;
	--sgtn-fort-gold: #C9A24A;
	--sgtn-charcoal: #333333;
	--sgtn-warm-white: #F7F2EA;   /* 暖奶油白：比舊版 #F7F4F0 再暖一點，年輕化基底 */
	--sgtn-celadon: #92B6A3;
	--sgtn-canal-blue: #5B829A;

	/* === 年輕化延伸色票（臺南新復古奶油系：奶油 70% + 陶土 10% + 可可 10% + 點綴 10%）=== */
	--sgtn-cream:            #FBF7EE;  /* 更淺奶油白 — 卡片底、區塊交替底（介於白與 warm-white 之間）*/
	--sgtn-warm-sand:        #EFE7DC;  /* 暖灰米 — 次背景、區塊交替底、商品區背景 */
	--sgtn-line-sand:        #DDD1C3;  /* 淺砂米 — 卡片邊框、分隔線 */
	--sgtn-muted-text:       #7A6A5F;  /* 內文輔助文字色 */
	--sgtn-cocoa:            #2B1712;  /* 深可可棕 — 主標題、深色文字 */
	--sgtn-coffee:           #3A1E17;  /* 烘焙咖啡 — footer、深色故事專區（取代 #1C0D0C 深褐） */
	--sgtn-terracotta:       #C95F4A;  /* 陶土紅 — 主 CTA、品牌延伸（比磚紅更年輕、明度更高） */
	--sgtn-terracotta-hover: #A94737;  /* 陶土紅 hover 態 */
	--sgtn-terracotta-soft:  #F2DDD6;  /* 陶土紅 hover 背景（次按鈕） */
	--sgtn-sage:             #A9B89F;  /* 鼠尾草綠 — 入厝、分類標籤、柔和裝飾 */
	--sgtn-sage-bg:          #EEF2E8;  /* 鼠尾草柔背 — 情境卡背景 */
	--sgtn-sage-deep:        #6F8068;  /* 鼠尾草深 — 情境卡標題 */
	--sgtn-water-blue:       #8DB7C7;  /* 水岸藍 — 旅人、活動 banner、hover 點綴 */
	--sgtn-water-bg:         #E2EEF1;  /* 水岸藍柔背 — 旅人情境卡 */
	--sgtn-water-deep:       #4D8190;  /* 水岸藍深 — 旅人情境卡標題 */
	--sgtn-corp-bg:          #E8EEF2;  /* 升遷情境柔背 */
	--sgtn-corp-deep:        #496979;  /* 升遷情境標題 */
	--sgtn-mustard:          #D9A441;  /* 芥末金 — 價格、徽章、限定標籤 */
	--sgtn-mustard-bg:       #F3E4D0;  /* 芥末金柔背 — 開業情境卡 */
	--sgtn-mustard-deep:     #A76D2A;  /* 芥末金深 — 開業情境卡標題 */
	--sgtn-peach:            #E8A39A;  /* 蜜桃粉 — 生日、女性向 */
	--sgtn-peach-bg:         #F8E3DD;  /* 蜜桃粉柔背 — 生日情境卡 */
	--sgtn-corp-warm-bg:     #EEE5DC;  /* 企業禮贈柔背 */
	/* 宣紙細紋底紋（SVG fractalNoise，baseFrequency=0.85，opacity=0.03） */
	--texture-paper: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='250' height='250'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='250' height='250' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
}

.text-color-g {
	color: #86ac31;
}

.text-color-r {
	color: #d1495b;
}

.text-color-one {
	color: var(--one-color);
}

.bk-color-black {
	background: var(--sgtn-terracotta);
}

.bk-color-primary {
	background: #3671B2;
}

.bk-color-secondary {
	background: #CBBF02;
}

.bk-color-r {
	background: #d1495b;
}

/*=== 按鈕 ===*/
.btn-groups {
	width: 100%;
	margin: 0 auto;
	display: flex;
	justify-content: center;
	flex-direction: column;
}

.btn-groups .btn:first-child {
	margin-right: 1.5rem;
}

.btn {
	transition: 0.3s ease;
	font-size: 1.6rem;
	font-weight: bold;
	color: #333;
	border: none;
	width: 100%;
	padding: 1.5rem;
	margin-bottom: 1.5rem;
}

.btn-one {
	background: var(--one-color);
	color: #fff;
}

.btn-two {
	background: var(--two-color);
}

.btn-one:hover,
.btn-two:hover,
.btn-three:hover {
	background-size: 320%;
	background-position: right center;
}

.btn:hover {
	color: #333;
}

.btn:focus {
	box-shadow: none;
}

.btn-xl {
	width: 24rem;
	padding: 1rem;
}

.btn-l {
	width: 18rem;
	padding: 1rem;
}

.btn-s {
	padding: 0.8rem 2.4rem;
}

.btn-100 {
	width: 100%;
}

.end-btn {
	display: flex;
	justify-content: center;
	width: 100%;
}

.border-g {
	border: 1px solid #d0d0d0;
}

.box-sha {
	box-shadow: #00000030 0px 1px 3px;
}

/*=== display ===*/
.display-1400 {
	display: none;
}

.display-1280 {
	display: none;
}

.display-1200 {
	display: none;
}

.display-992 {
	display: none;
}

.display-768 {
	display: none;
}

.display-576 {
	display: none;
}

.display-480 {
	display: none;
}

/*=== header ===*/
.top-nav {
	background: #d0d0d0;
	color: var(--four-color);
	padding: 0;
}

.top-nav .container-l{
	display: flex;
	justify-content:space-between;
	align-items: center;
}

.language-group {
    display: flex;
}

.language-item {
    display: flex;
}

.language-item a {
    width: 3.5rem;
    background: #666;
    display: inline-block;
    text-align: center;
    line-height: 3.5rem;
    color: #fff;
}

.bg-light {
	background-color: #fff !important;
}

.navbar {
	padding: 0;
}

.navbar-light .navbar-nav .nav-link {
	color: #222222;
	line-height: 8rem;
}

.navbar-light .navbar-nav .nav-link i {
	font-size: 1.2rem;
	padding: 0 0 0.5rem 0.25rem
}

nav {
	margin: 0;
	border-bottom: 1px solid #d0d0d0;
}

.logo {
	padding: 0 0 0 4rem;
}

.logo img {
	width: 20rem;
}

.navbar-expand-xl .navbar-nav .nav-link {
	padding: 0 2rem;
	display: block;
	font-size: 1.6rem;
	font-family: var(--font-serif);
	font-weight: 500;
	letter-spacing: 0.02em;
}

.nav-login {
	display: flex;
	justify-content: center;
	align-items: center;
}

.nav-login > a,
.nav-login > button,
.nav-login > .lang-switch > a {
	font-size: 2.4rem;
	color: #fff;
	display: block;
	width: 8rem;
	height: 8rem;
	line-height: 8rem;
	text-align: center;
}

.nav-login > a,
.nav-login > button,
.nav-login > .lang-switch > a {
	width: 8rem;
	height: 8rem;
	line-height: 8rem;
	font-size: 1.8rem;
}

/*=== Banner ===*/
.banner-block {
	position: relative;
	overflow: hidden;
	margin: 0;
	/* background: #f2f2f2; */
	padding: 2.2rem 0 3.6rem;
}

.banner-track-wrapper {
	overflow: hidden;
	width: min(1860px, 98vw);
	margin: 0 auto;
}

.banner-track {
	display: flex;
	align-items: center;
	gap: 2rem;
	padding: 0 22vw;
	transition: transform 0.45s ease;
	will-change: transform;
}

.banner-slide {
	flex: 0 0 clamp(20rem, 20vw, 32rem);
	overflow: hidden;
	transform: scale(0.86);
	opacity: 0.62;
	transition: transform 0.35s ease, opacity 0.35s ease, filter 0.35s ease;
	filter: saturate(0.8);
	cursor: pointer;
	position: relative;
}

.banner-slide::after {
	content: '';
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.45);
	border-radius: 0.8rem;
	transition: background 0.35s ease;
	pointer-events: none;
}

.banner-slide.is-near::after {
	background: rgba(0, 0, 0, 0.25);
}

.banner-slide.is-active::after {
	background: transparent;
}

.banner-slide a {
	display: block;
	text-decoration: none;
}

.banner-slide img {
	width: 100%;
	display: block;
	border-radius: 0.8rem;
}

.banner-slide.is-near {
	transform: scale(0.92);
	opacity: 0.82;
	filter: saturate(0.95);
}

.banner-slide.is-active {
	flex-basis: clamp(32rem, 30vw, 54rem);
	transform: scale(1);
	opacity: 1;
	filter: saturate(1);
	z-index: 2;
	cursor: default;
}

/* 前後箭頭 */
.banner-prev,
.banner-next {
	display: none;
}

.banner-prev {
	left: 1.8rem;
}

.banner-next {
	right: 1.8rem;
}

.banner-prev:hover,
.banner-next:hover {
	background: rgba(0, 0, 0, 0.7);
	color: #fff;
}

.banner-dots {
	margin-top: 1.8rem;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.8rem;
	padding: 0 1.2rem;
}

.banner-dot {
	display: block;
	min-width: 0.9rem;
	height: 0.9rem;
	width: 0.9rem;
	border-radius: 50%;
	border: 0;
	background: #c8c8c8;
	padding: 0;
	opacity: 0.9;
	-webkit-appearance: none;
	appearance: none;
	box-shadow: none;
	cursor: pointer;
	transition: transform 0.2s ease, background-color 0.2s ease, width 0.2s ease, border-radius 0.2s ease, opacity 0.2s ease;
}

.banner-dot:hover {
	background: #a9a9a9;
	opacity: 1;
}

.banner-dot.is-active {
	background: var(--sgtn-terracotta);
	width: 2.6rem;
	border-radius: 999px;
	transform: none;
	opacity: 1;
}

.banner-dot:focus-visible {
	outline: 2px solid rgba(201, 95, 74, 0.35);
	outline-offset: 3px;
}

/*=== footer ===*/
.footer-block {
	/* 烘焙咖啡（#3A1E17）取代深褐黑（#1C0D0C），降低厚重感 */
	background-color: var(--sgtn-coffee);
	position: relative;
	padding: 6rem 0 0rem;
	border-top: 3px solid var(--sgtn-mustard);
	color: #fff;
}

.footer-info img {
	width: 20rem;
	margin-bottom: 3.5rem;
}

.footer-group {
	display: flex;
	justify-content: space-between;
	align-items: stretch;
}

.footer-item h4 {
	font-family: var(--font-serif);
	font-size: 2rem;
	font-weight: 700;
	line-height: 1.4;
	color: var(--sgtn-fort-gold);
	margin-bottom: 1.8rem;
	padding-bottom: 0.8rem;
	border-bottom: 1px solid rgba(201, 162, 74, 0.35);
}

.footer-item {
	width: 16%;
}

.footer-item a {
	color: rgba(255, 255, 255, 0.86);
	display: block;
	font-size: 1.5rem;
	line-height: 2;
	transition: color .2s ease, padding-left .2s ease;
}

.footer-item a:hover,
.footer-item a:focus {
	color: var(--sgtn-fort-gold);
	padding-left: 4px;
}

.footer-info {
	text-align: left;
}

.footer-other {
	text-align: right;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.footer-info span {
	display: block;
	margin-bottom: 1.5rem;
}

.footer-info span:last-child {
	margin-bottom: 0rem;
}

.footer-info span i {
	margin-right: 0.8rem;
}

.footer-social {
	display: flex;
	justify-content: end;
}

.footer-social i {
	color: var(--one-color);
	font-size: 3.2rem;
	margin-left: 4rem;
}

.social-item {
	margin: 0 1rem;
}

.footer-link {
	display: flex;
	flex-direction: column;
	justify-content: end;
}

.footer-count {
	display: flex;
	justify-content: left;
}

.footer-count div {
	margin-right: 3rem;
}

.footer-bottom {
	border-top: 1px solid rgba(200, 168, 71, 0.3);
	padding: 1.5rem 0;
	margin-top: 4rem;
}

.footer-bottom .container-l {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.footer-bottom-a11y {
	display: inline-flex;
	align-items: center;
	gap: 1.2rem;
}

.footer-bottom-note {
	font-size: 1.4rem;
	color: rgba(51, 51, 51, 0.78);
}

.footer-a11y-img {
	width: 11.2rem;
	height: auto;
}

/* ===== Footer 廠商/創作者專區橫帶 ===== */
.footer-biz-strip {
    /* 陶土紅 → 烘焙咖啡漸層，比舊版「磚紅 → 深褐黑」更年輕、暖且不黯沉 */
    background: linear-gradient(135deg, var(--sgtn-terracotta) 0%, var(--sgtn-terracotta-hover) 55%, var(--sgtn-coffee) 100%);
    border-top: 1px solid rgba(217, 164, 65, 0.32);
    padding: 2.4rem 0;
    margin-top: 3rem;
}

.footer-biz-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-biz-text {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.footer-biz-label {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--sgtn-fort-gold);
    letter-spacing: 0.05em;
}

.footer-biz-label i {
    margin-right: 6px;
}

.footer-biz-desc {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
}

.footer-biz-actions {
    display: flex;
    gap: 1.2rem;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.footer-biz-btn {
    font-family: var(--font-serif);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 1.4rem;
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: 6px;
    text-decoration: none;
    transition: opacity .2s ease, transform .2s ease;
    white-space: nowrap;
}

.footer-biz-btn:hover, .footer-biz-btn:focus {
    opacity: 0.88;
    transform: translateY(-2px);
    text-decoration: none;
}

.footer-biz-btn--primary {
    background: var(--sgtn-mustard);
    color: var(--sgtn-coffee);
}

.footer-biz-btn--primary:hover, .footer-biz-btn--primary:focus {
    color: var(--sgtn-cocoa);
}

/* IP footer item 特殊標色 */
.footer-item--ip h4 {
    color: var(--sgtn-fort-gold);
}

.footer-item--ip a:hover {
    color: var(--sgtn-fort-gold);
}

.footer-count span {
	border: 1px solid #222;
	margin: 0;
	padding: 0;
	width: 30px;
	height: 30px;
	display: flex;
	justify-content: center;
	align-items: center;
}

.footer-count-item {
	display: flex;
}

.footer-count-item span {
	border-right: 0;
}

.footer-count-item span:last-child {
	border-right: 1px solid #222;
	border-radius: 0 0 10px 0;
}

/*=== popup ===*/
.modal-body p {
	margin-bottom: 0.5rem;
}

.modal-footer {
	justify-content: center;
	padding: 1.5rem 0;
}

/*=== float ===*/
.floating-button {
	position: fixed;
	z-index: 999;
	right: 60px;
	bottom: 10%;
	z-index: 998;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translateY(12px);
	transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}

.floating-button.is-visible {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translateY(0);
}

.f-search a,
.f-top a {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	background: linear-gradient(45deg, #f5ab60 0%, #fee140 100%);
	border-radius: 99px;
	width: 60px;
	height: 60px;
	color: #333;
	box-shadow: #00000020 0 1px 3px;
	margin-top: 1.5rem;
}

a.f-item-top {
	background: linear-gradient(45deg, #6a2220 0%, var(--sgtn-terracotta) 100%);
	color: #fff;
}

.f-top {
	margin-top: 2rem;
	transition: 0.3 ease;
}

.f-top a:hover {
	transform: scale(1.1);
}

.f-top i {
	padding-top: 0.5rem;
}

.f-top span {
	font-size: 1.4rem;
	line-height: 2.5rem;
}

/*=== Content ===*/
.bookmark {
	position: absolute;
	top: 1rem;
	color: #d0d0d0;
	right: 2rem;
	transition: opacity 0.3s ease-in-out;
	z-index: 9;
}

.bookmark i {
	font-size: 2rem;
	transition: 0.3s ease;
	color: #d0d0d0;
}

.bookmark a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #d0d0d0;
	text-decoration: none;
	transition: transform 0.2s ease, color 0.2s ease;
}

.bookmark a:hover,
.bookmark a:focus-visible {
	color: var(--sgtn-terracotta);
	transform: scale(1.08);
	text-decoration: none;
}

.bookmark a.is-active {
	color: var(--sgtn-terracotta);
}

.bookmark a.is-active i {
	filter: drop-shadow(0 6px 12px rgba(201, 95, 74, 0.28));
}

.bookmark i:hover {
	color: var(--sgtn-terracotta);
}

.products-group {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 9rem 0;
    flex-wrap: wrap;
    gap: 2rem 0;
}

.products-item a {
	width: 100%;
	display: block;
	position: relative;
}

.products-item img {
	border: 1px solid #f0f0f0;
}

p.product-category {
	font-size: 1.4rem;
	line-height: 1.4rem;
	margin: 1rem 0 0.5rem;
}

.product-name h4 {
	font-size: 1.6rem;
	font-weight: bold;
}

.rank-badge {
	position: absolute;
	left: 15px;
	top: 1.5rem;
	padding: 0.25rem 1rem;
	color: #fff;
}

.rank-badge.top {
	background: var(--sgtn-terracotta);
}

.rank-badge.other {
	background: var(--one-color);
}

/* 文化小知識 標籤 — 窗花青瓷，平衡紅金配色 */
.badge-cultural-tip {
	position: absolute;
	left: 0;
	bottom: 9.2rem;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	background: rgba(146, 182, 163, 0.88);
	color: #fff;
	font-size: 1.1rem;
	font-weight: 500;
	padding: 3px 10px 3px 8px;
	border-radius: 0 4px 4px 0;
	letter-spacing: 0.04em;
	z-index: 5;
	pointer-events: none;
}

.badge-cultural-tip i {
	font-size: 1rem;
}

.pagination-ctrl {
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 0 auto;
	position: absolute;
	left: 50%;
	transform: translateX(-59%);
	top: 0;
}

.pagination-ctrl span {
	font-size: 1.6rem;
	color: #222;
	margin-right: 0.5rem;
	line-height: 1;
}

.pagination-ctrl button {
	width: 6rem;
	height: 6rem;
	border: 1px solid #d0d0d0;
	background: #fff;
	color: #222;
	font-size: 1.8rem;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: 0.3s ease;
	line-height: 1;
}

.pagination-ctrl button:hover {
	background: #222;
	color: #fff;
}

.ip-group {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 4rem 4rem;
	flex-wrap: wrap;
	margin-top: 2rem;
}

.ip-item {
	flex: 1;
	display: flex;
	justify-content: space-evenly;
	align-items: center;
	background-size: cover;
}

.ip-item h3 {
	font-size: 2.2rem;
	font-weight: bold;
}

.ip-item:nth-child(1) {
	background-image: url('../images/index/IP-2.jpg');
	height: 16.5rem;
}

.ip-item:nth-child(2) {
	background-image: url('../images/index/IP-3.jpg');
	height: 16.5rem;
}

.ip-item:nth-child(3) {
	background-image: url('../images/index/IP-4.jpg');
	height: 16.5rem;
}

.new-products-block {
	position: relative;
	margin-top: 4rem;
	height: 50rem;
	z-index: 0;
}

.pagination-number span {
	font-family: "Times New Roman";
	padding-right: 1rem;
}

.pagination-number span:first-child {
	font-size: 4.2rem;
	color: var(--one-color);
}

.pagination-number span:nth-child(2) {
	font-size: 3.2rem;
}

.pagination-number span:last-child {
	font-size: 2.2rem;
}

.content-block {
	padding: 8rem 0;
}

.products-group.sp-2 {
	padding-top: 2rem;
}

.sp-3 {
	padding: 8rem 0;
}

.sp-4 {
	font-size: 2.6rem;
}

.sp-5{
border-left: 1px solid #d0d0d0;
border-right: 1px solid #d0d0d0;
}

.sp-6{
	width: 10rem;
}

/*================================ RWD ================================*/
@media(max-width:1600px) {

	/*====== 1600 ======*/
	.container-l {
		width: 95%;
	}
}

@media(max-width:1500px) {
	/*====== 1500 ======*/

}

@media(max-width:1400px) {

	/*====== 1400 ======*/
	/*=== 通用 ===*/
	.container-m {
		width: 95%;
	}

	.nav-login {
		display: flex;
	}

	.logo img {
		width: 15rem;
	}

	.navbar-expand-xl .navbar-nav .nav-link {
		font-size: 1.4rem;
	}

	/*=== 表單 ===*/
	/*=== 按鈕 ===*/
	/*=== display ===*/
	.displaynone-1400 {
		display: none;
	}

	.display-1400 {
		display: block;
	}

	/*=== header ===*/
	.navbar-expand-xl .navbar-nav .nav-link {
		padding: 0 1.35rem;
	}

	/*=== footer ===*/
	/*=== popup ===*/
	/*=== float ===*/
	/*=== table ===*/
	/*=== content ===*/
	/*=== crumbs ===*/
}

@media(max-width:1280px) {

	/*====== 1280 ======*/
	/*=== 通用 ===*/
	.container-s {
		width: 95%;
	}

	/*=== 表單 ===*/
	/*=== 按鈕 ===*/
	/*=== display ===*/
	.display-1280 {
		display: block;
	}

	.displaynone-1280 {
		display: none !important;
	}

	/*=== header ===*/

}

@media(max-width:1200px) {

	/*====== 1200 ======*/
	/*=== 通用 ===*/
	h4 {
		font-size: 1.6rem;
	}

	a,
	p,
	span {
		font-size: 1.4rem;
		line-height: 26px;
	}

	/*=== 表單 ===*/
	.tr {
		border-bottom: 1px solid #ddd;
		display: flex;
		width: 100%;
		border-radius: 15px 15px 0 0;
		align-items: center;
	}

	.td-first {
		width: calc(100% - 120px);
	}

	/*=== 按鈕 ===*/
	/*=== display ===*/
	.display-1200 {
		display: block;
	}

	.displaynone-1200 {
		display: none !important;
	}

	/*=== header ===*/
	.top-nav p {
		font-size: 1.4rem;
		overflow: hidden;
		white-space: nowrap;
		text-overflow: ellipsis;
	}

	.logo img {
		width: 15rem;
	}

	.navbar-expand-xl .navbar-nav .nav-link {
		padding: 0 1.4rem;
		font-size: 1.4rem;
	}

	.navbar {
		line-height: 8rem;
	}

	.navbar-light .navbar-nav .nav-link {
		line-height: 5.5rem;
		border-top: 1px solid #ddd;
	}

	.navbar-light .navbar-toggler {
		background: #333;
		margin-right: 2rem;
		border-radius: 0;
		color: #fff;
	}

	.navbar-light .navbar-toggler-icon {
		filter: invert(1);
	}

	.left-nav {
		display: flex !important;
		justify-content: space-between;
		align-items: center;
		width: 100%;
	}

	.nav-login {
		height: 5.5rem;
		width: auto;
		display: flex;
	}

	.logo {
		padding: 0 0 0 1rem;
	}

	.products-group {
		padding: 8rem 0;
	}

	.sp-1 {
		display: flex;
		justify-content: center;
	}



	/*=== footer ===*/
	/*=== popup ===*/
	/*=== float ===*/
	/*=== table ===*/
	/*=== content ===*/
	.new-products-block {
		margin-top: 4rem;

	}

	.ip-group {
		gap: 4rem 0rem;
		margin-top: 2rem;
	}

	.ip-item {
		height: 10rem !important;
	}
}

@media(max-width:992px) {

	/*====== 992 ======*/
	/*=== 通用 ===*/
	.display-992 {
		display: block;
	}

	.displaynone-992 {
		display: none;
	}

	.container-xs {
		width: 90%;
	}

	/*=== 表單 ===*/
	/*=== 按鈕 ===*/
	/*=== display ===*/
	/*=== header ===*/
	/*=== footer ===*/
	/*=== popup ===*/
	/*=== float ===*/
	/*=== table ===*/
	/*=== content ===*/
	.new-products-block {
		margin-top: 4rem;
		background-position: top;
		height: auto;
	}

	.products-group {
		padding: 6rem 0 4rem;
		width: 90%;
		margin: 0 auto;
	}

	/*=== crumbs ===*/
	.rank-badge {
		top: 0;
	}
}

@media(max-width:850px) {

	/*====== 850 ======*/
	/*=== 通用 ===*/
	h1 {
		font-size: 2.6rem;
	}

	h2 {
		font-size: 2.2rem;
	}

	h3 {
		font-size: 2rem;
	}

	h4 {
		font-size: 1.8rem;
	}

	.container-xxs {
		width: 90%;
	}

	/*=== footer ===*/
	.footer-group {
		flex-wrap: wrap;
		align-items: flex-start;
	}

	.footer-item {
		width: 45%;
		margin-bottom: 4rem;
	}

	.footer-item.footer-other {
		text-align: left;
		margin: 2rem 0 0 0;
	}

	.footer-biz-inner {
		flex-direction: column;
		align-items: flex-start;
	}

	.footer-biz-actions {
		width: 100%;
	}

	.footer-biz-btn {
		flex: 1;
		justify-content: center;
	}

	.footer-social {
		display: flex;
		justify-content: flex-start;
	}

	.footer-social i {
		font-size: 2.6rem;
		margin-left: 0rem;
		margin-right: 3rem;
	}

	.footer-item.footer-other p {
		font-size: 1.2rem;
	}

	.footer-link {
		margin-top: 1rem;
		flex-direction: row;
		flex-wrap: wrap;
	}

	.footer-link a {
		width: 50%;
		margin-bottom: 1.5rem;
	}

	.footer-bottom .container-l {
		flex-direction: column;
		align-items: flex-start;
		gap: 1.2rem;
	}

	span.copyright {
		margin-top: 2rem;
	}

	.footer-bottom-a11y {
		align-items: center;
	}

	.footer-a11y-img {
		width: 9.6rem;
	}

	.sp-6{
		margin-top: 2rem;
	}
}

@media(max-width:768px) {

	/*====== 768 ======*/
	/*=== 通用 ===*/
	/*=== 表單 ===*/
	tr th {
		border-radius: 1rem 1rem 0 0 !important;
	}

	td span {
		font-size: 1.6rem;
		display: block;
		margin-bottom: .5rem;
	}

	/*=== 按鈕 ===*/
	/*=== display ===*/
	.display-768 {
		display: block;
	}

	.displaynone-768 {
		display: none;
	}

	/*=== header ===*/

	nav {
		border-radius: 0;
	}

	.nav-login > a,
	.nav-login > button,
	.nav-login > .lang-switch > a {
		width: 6rem;
		height: 6rem;
		line-height: 6rem;
		font-size: 1.4rem;
	}

	.navbar {
		line-height: 6rem;
	}

	/*=== footer ===*/


	/*=== popup ===*/
	/*=== float ===*/
	.floating-button {
		right: 60px;
		bottom: 5%;
	}

	/*=== content ===*/
	.content-block {
		padding: 6rem 0;
	}

	.pagination-ctrl button {
		width: 4rem;
		height: 4rem;
	}

	.new-products-block {
		margin-top: 0rem;
		height: auto;
	}

}

@media(max-width:650px) {
	.pagination-ctrl button {
		width: 4rem;
		height: 4rem;
	}

	.pagination-number span:first-child {
		font-size: 2.2rem;
	}

	.pagination-number span:nth-child(2) {
		font-size: 1.6rem;
	}

	.pagination-number span:last-child {
		font-size: 1.6rem;
	}

	.pagination-ctrl {
		left: auto;
		transform: none;
		right: 0;
	}
}

@media(max-width:576px) {

	/*====== 576 ======*/
	/*=== 通用 ===*/
	/*=== 表單 ===*/
	th,
	td {
		padding: 1.25rem;
	}

	.tr {
		flex-direction: column;
	}

	.th:first-child {
		padding: 1.5rem;
	}

	.td-first {
		width: 100%;
	}

	.td:first-child {
		font-size: 1.6rem;
		padding: 1.5rem;
		padding-top: 2.5rem;
	}

	.td:last-child {
		width: 100%;
		padding: 0;
	}

	.td:last-child a {
		width: 100%;
		display: block;
		border-radius: 0;
		padding: 1.5rem;
	}

	.tr:last-child a {
		border-radius: 0 0 1rem 1rem;
	}


	/*=== 按鈕 ===*/
	/*=== display ===*/
	.display-576 {
		display: block;
	}

	.displaynone-576 {
		display: none;
	}

	/*=== header ===*/
	.navbar-light .navbar-toggler {
		margin-right: 0rem;
	}

	.nav-login {
		height: 4rem;
	}

	.nav-login > a,
	.nav-login > button,
	.nav-login > .lang-switch > a {
		width: 4rem;
		height: 4rem;
		line-height: 4rem;
		font-size: 1.2rem;
	}

	.navbar {
		line-height: 4rem;
	}

	/*=== footer ===*/
	.footer-block {
		margin-top: 0rem;
		padding-top: 4rem;
		padding-bottom: 6rem;
	}

	.footer-biz-actions {
		flex-direction: column;
	}

	.footer-count {
		justify-content: space-between;
		width: 100%;
	}

	/*=== float ===*/
	.floating-button {
		position: fixed;
		bottom: 0;
		display: flex;
		justify-content: space-between;
		align-items: baseline;
		width: 100%;
		right: 0;
		left: 0;
	}

	.f-top {
		width: 100%;
		border-radius: 0;
		margin-top: 0rem;
	}

	.f-top a {
		width: 100%;
		border-radius: 0;
		background: linear-gradient(45deg, #6a2220 0%, var(--sgtn-terracotta) 100%);
		border-top: 2px solid var(--sgtn-fort-gold);
		box-shadow: 0 -4px 14px rgba(0, 0, 0, 0.14);
		color: #fff;
	}

	/* content */
	.content-block {
		padding: 4rem 0;
	}

}

@media(max-width:480px) {

	/*====== 480 ======*/
	/*=== 通用 ===*/
	.logo img {
		width: 12rem;
	}

	/*=== 按鈕 ===*/

	.modal-footer .btn-groups {
		width: 90%;
	}

	.btn-groups .btn {
		margin-bottom: 0rem;
	}

	.btn-groups .btn:first-child {
		margin-right: 1rem;
	}

	.btn-s {
		padding: 0.8rem 2rem;
	}

	.btn-l {
		width: 100%;
	}

	.end-btn a {
		width: 100%;
	}

	/*=== display ===*/
	.display-480 {
		display: block;
	}

	.displaynone-480 {
		display: none;
	}

}

@media(max-width:420px) {

	/*====== 420 ======*/
	/*=== 通用 ===*/
	.footer-item {
		width: 100%;
		margin-bottom: 3rem;
		text-align: center;
	}

	.footer-item h4 {
		justify-content: center;
	}

}
