@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Monofett&family=Noto+Sans+TC:wght@350..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Jost:wght@300;500;700&display=swap');

:root {
  /* 字體基礎設定 */
  --font-size-base: 16px;

  /* 核心品牌色系 */
  --color-primary: #B9953F;
  --color-primary-light: #D0B688;
  --color-primary-20: #E1D4B3;

  --color-secondary: #1E2F5F;

  /* 中性色與背景色 */
  --color-black: #000000;
  --color-dark: #212121;
  --color-muted: #434343;
  --color-gray-deep: #5C5C5C;
  --color-gray-7f: #7F7F7F;
  --color-gray-medium: #AAAAAA;
  --color-border: #C8C8C8;
  --color-gray-df: #DFDFDF;

  --color-bg-mist: #F7EDED;
  --color-bg-darker: #E9E9E9;
  --color-hover-gray: #E2E2E2;
  --color-bg-light: #F0EFEE;
  --color-board: #F6F6F6;
  --color-bg-soft: #f8f8f8;
  --color-bg-ivory: #FDFCFA;

  /* 功能性與狀態色 */
  --color-placeholder: #B6B6B6;
  --color-alert: #D60000;
  --color-blue: #3563E3;

  /* 元件設定 */
  --arrow-btn-size: 40px;

  /* Bootstrap Compoent 自訂義 */
  --bs-border-color-translucent: var(--bs-white);

  /* 第三方套件自定義 (Swiper.js) */
  --swiper-pagination-color: var(--bs-white);
  --swiper-pagination-bullet-inactive-opacity: 1;
  --swiper-pagination-bullet-inactive-color: var(--color-gray-medium);
  --swiper-pagination-bullet-horizontal-gap: 3px;
  --swiper-pagination-bullet-width: 10px;
  --swiper-pagination-bullet-height: 10px;
  --swiper-navigation-size: 50px;  
  --swiper-navigation-sides-offset: clamp(8px, 2.5vw, 36px);

  --navbar-height: 70px
}
html {
  font-size: var(--font-size-base);
}
body, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Noto Sans TC", "微軟正黑體", "Microsoft JhengHei", "PingFang TC", "Helvetica Neue", Helvetica, Arial, sans-serif;
  width: 100%;
  overflow-x: hidden;
  font-size: 18px;
  font-style: normal;
  font-weight: 350;
  line-height: 28px;
  letter-spacing: 0.72px;
  color: var(--color-black);
  word-break: break-all;
  word-break: break-word;
  white-space: normal;
  background: var(--bs-white);
}
/* Gobal setting */
a {
  color: inherit;
  transition: all .25s;
  text-decoration: none;
}
a:focus, a:hover, a:active, a:visited {
  text-decoration: none;
  text-decoration: none;
}
ul, li {
  padding-left: 0;
  margin-bottom: 0;
}
dl, ol, ul {
  padding-inline-start: 20px;
}
button {
  background: none;
  border: 0;
  color: inherit;
  cursor: pointer;
  font: inherit;
  line-height: normal;
  overflow: visible;
  padding: 0;
  transition: all .25s;
  -webkit-appearance: button;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}
:focus:not(:focus-visible) {
  outline: 0;
}
.form-group {
  margin-bottom: 20px;
}
legend {
  font-size: 1.25rem;
}
.form-control,
.form-control:focus,
.form-select,
select {
  font-size: 18px;
  font-weight: 350;
  line-height: 28px;
  letter-spacing: 0.72px;
  padding: 6px 10px;
  color: var(--color-black);
  background-color: var(--bs-white);
  border: 1px solid var(--color-border);
  border-radius: 5px;
  box-shadow: none;
}
.form-control:not(textarea),
.form-control:not(textarea):focus,
.form-select,
select {
  height: calc(2.375rem + 2px);
}
.form-control::placeholder,
.form-control::-webkit-input-placeholder,
input::-webkit-input-placeholder,
::-webkit-input-placeholder {
  color: var(--color-placeholder);
}
.form-group .form-control[disabled],
.form-group .form-control:disabled {
  background-color: var(--color-border);
  color: #797877;
}
.form-check-input:checked {
  background-color: var(--bs-white);
  border-color: var(--color-black);
}
.form-check-input:checked[type=radio] {
  --bs-form-check-bg-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHZpZXdCb3g9IjAgMCAyMCAyMCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGNpcmNsZSBjeD0iMTAiIGN5PSIxMCIgcj0iOS41IiBzdHJva2U9ImJsYWNrIi8+CjxjaXJjbGUgY3g9IjEwIiBjeT0iMTAiIHI9IjUiIGZpbGw9ImJsYWNrIi8+Cjwvc3ZnPgo=");
}
.form-check-input:checked[type=checkbox] {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
}
.row.form-row  {
  margin-left: -4px;
  margin-right: -4px;
}
.row.form-row > [class^="col"] {
  padding-left: 4px;
  padding-right: 4px;
}
.custom-control-label::after {
  width: 18px;
  height: 18px;
  top: 3px;
}
.custom-checkbox .custom-control-label::before {
  border-radius: 0;
}
.custom-control-input:checked~.custom-control-label::before {
  border-color: transparent;
  background-color: #23d2b4;
}
.form-select {
  padding: 5px 10px;
  background-size: 20px;
  --bs-form-select-bg-img: url(../images/icon/icon-dashicons_arrow-down-alt2.svg);
}
.form-select:focus {
  --bs-form-select-bg-img: url(../images/icon/icon-dashicons_arrow-up-alt2.svg);
}
.form-group input[type="submit"] {
  border: 0;
  padding: 0;
}
.form-group label.error {
  font-weight: normal;
}
button:focus {
  outline: 0;
}
.modal .btn-close {
  text-shadow: none;
  opacity: 1;
  width: 20px;
  height: 20px;
  z-index: 9;
  padding: 0;
}
.modal-open ::-webkit-scrollbar {
  background-color: transparent;
}
.modal-content {
  border: 0;
  border-radius: 20px;
  padding: 30px 40px;
}
.modal-body {
  padding: 1.25rem 0 40px;
}
.modal-backdrop {
  background-color: rgba(0,0,0,0.85);
}
nav[aria-label="Page navigation"] {
  margin-top: 70px;
}
.pagination {
  gap: 20px;
}
.page-link[aria-label] span {
  width: 24px;
  height: 24px;
  background-size: 100%;
  display: block;
}
.page-link[aria-label] span {
  background-image: url(../images/icon/icon-chevron-right.svg);
}
.page-link[aria-label="Previous"] span {
  transform: rotate(-180deg);
}
.disabled .page-link[aria-label] span {
  opacity: .2;
}
.page-item:first-child .page-link,
.page-item:last-child .page-link { padding: 0; }
.page-item.disabled .page-link {
  background-color: transparent;
  border: 0;
}
.page-link {
  --bs-pagination-hover-bg: transparent;
  --bs-pagination-bg: transparent;
  --bs-pagination-font-size: 1.125rem;
  padding: 10px;
  line-height: 1;
  font-weight: 500;
  border: 0;
  color: var(--color-black);
  min-width: 44px;
  width: 44px;
  height: 44px;
}
.page-link:not([aria-label]) {
  border-radius: 100%;
  padding: 0;
}
.page-item.active .page-link:not([aria-label]),
.page-link.num:hover {
  color: var(--bs-white);
  background-color: var(--color-primary);
}
.page-link:focus {
  box-shadow: none;
}
.nav-pills {
}
.nav-pills .nav-item + .nav-item .nav-link {
  border-left: 0;
}
.nav-pills .nav-link {
  padding: 9px 4px;
  background-color: var(--bs-white);
  color: var(--color-black);
  border: 1px solid transparent;
  border-radius: 28px;
}
.nav-pills .nav-link:hover {
  background-color: var(--color-hover-gray);
}
.nav-pills .nav-link.active,
.nav-pills .show>.nav-link {
  color: var(--color-primary);
  background-color: #F2EFE8;
  border-color: var(--color-primary);
}
nav[aria-label="breadcrumb"] {
  margin-bottom: 30px;
}
.breadcrumb {
  padding: 2px 0;
  margin-bottom: 20px;
  --bs-breadcrumb-divider-color: var(--color-primary);
  --bs-breadcrumb-item-padding-x: 11px;
}
.breadcrumb-item a {
  color: var(--color-black)!important;
  padding: 0 6px;
  background: #F1F1F1;
  border-radius: 15px;
  line-height: normal;
  font-size: 14px;
}
.popover {
  border: 0 !important;
}
.popover-body {
  padding: 12px 8px;
}
.offcanvas {
  --bs-offcanvas-width: 440px;
  max-width: calc(100vw - 10%);
  box-shadow: 0 4px 6px 0 rgba(0, 0, 0, 0.25);
}
.offcanvas-body {
  --bs-offcanvas-padding-y: 25px;
  --bs-offcanvas-padding-x: 20px;
}
.invalid-feedback {
  color: var(--color-alert);
  margin-top: 8px;
}
.truncate {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  /* white-space: nowrap; */
  -webkit-line-clamp: 2;
  -moz-line-clamp: 2;
}
.truncate-3 {
  -webkit-line-clamp: 3;
  -moz-line-clamp: 3;
}
.bg-wrapper {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.border-dashed {
  padding-bottom: 8px;
  border-bottom: 2px dashed var(--border-color-dashed);
}
.p-2x2 {
  padding: 20px;
}
.px-40 {
  padding-left: 40px;
  padding-right: 40px;
}
.mt-02 {
  margin-top: 2px;
}
.mt-32 {
  margin-top: 32px;
}
.mb-20 {
  margin-bottom: 20px;
}
.g-2 {
  gap: 2px;
}
.gap-10 {
  gap: 10px!important;
}
.gap-12 {
  gap: 12px!important;
}
.gap-14 {
  gap: 14px!important;
}
.gap-18 {
  gap: 18px!important;
}
.gap-20 {
  gap: 20px!important;
}
.gap-30 {
  gap: 30px!important;
}
.gap-40 {
  gap: 40px!important;
}
.gap-50 {
  gap: 50px!important;
}

/*CSS layout*/
.frss {
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	justify-content: flex-start;
}
.frcs {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: flex-start;
}
.frcc {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
}
.frcb {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
}
.frca {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-around;
}
.frce {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: flex-end;
}
.frsb {
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	justify-content: space-between;
}
.frsc {
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	justify-content: center;
}
.fres {
	display: flex;
	flex-direction: row;
	align-items: flex-end;
	justify-content: flex-start;
}
.frths {
	display: flex;
	flex-direction: row;
	align-items: stretch;
	justify-content: flex-start;
}
.fcss {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-start;
}
.fccs {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
}
.fcsb {
  display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: space-between;
}
.fccs {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
}
.fccc {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}
.fccb {
  display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
}
.fcsc {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
}
.fcsb {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: space-between;
}
.fces {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	justify-content: flex-start;
}
.fceb {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	justify-content: space-between;
}
.fcec {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	justify-content: center;
}
.fcce {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-end;
}

h1,.h1,h2,.h2,h3,.h3,h4,.h4,h5,.h5,h6,.h6 {
  margin-bottom: 0;
}
.h1 {
  font-size: 26px;
  line-height: 30px;
  font-weight: 700;
}
.h2 {
  font-size: 20px;
  line-height: 1.2;
  font-weight: 700;
}
.h3 {
  font-size: 16px;
  line-height: 21px;
  font-weight: 400;
  letter-spacing: 0;
}
.h4 {
  font-size: 18px;
  line-height: 24px;
}
.h5 {
}
.h6 {
  font-size: 14px;
  line-height: 24px;
  font-weight: 350;
}
.txt-def { font-size: 18px; line-height: 28px; } /* Default */
.txt-ins, .label-prm { font-size: 14px; line-height: 24px; } /* Instruction */
.txt-sub, .product-li, .button-sec { font-size: 16px; line-height: 24px; } /* SubSection */
.txt-bcd { font-size: 15px; line-height: 24px; text-transform: uppercase; } /* Breadcrumb */
.txt-pdcode { font-size: 12px; line-height: 2; font-weight: 300; }
.label-tag { font-size: 9px; line-height: 12px; font-weight: 400;}
.label-bcd { font-size: 14px; line-height: normal; }
.price-o-li { font-size: 20px; line-height: 1; font-weight: 700; text-decoration-line: line-through; }
.price-o-dt { font-size: 30px; line-height: 20px; text-decoration-line: line-through; color: #B2B2B2; }
.price-p-li { font-size: 28px; font-weight: 700; }
.price-p-dt { font-size: 33px; font-weight: 700; }
.product-dt { font-size: 30px; line-height: 35px; }
.button-pri { font-size: 18px!important; line-height: 20px!important; font-weight: 350; }
.button-small { font-size: 14px!important; line-height: 20px!important; font-weight: 350; }
p:last-child {
  margin-bottom: 0;
}
span.require {
  color: #ff0000;
}
.num {
  font-family: "Jost", "Noto Sans TC", sans-serif;
}
.price-primary {
  font-size: 33px;
}
.badge {
  --bs-badge-font-weight: normal;
  --bs-badge-font-size: 1.0625rem;
  --bs-badge-padding-x: 12px;
  --bs-badge-padding-y: 6px;
  --bs-badge-border-radius: 11px;
  letter-spacing: 0.68px;
  border: 1px solid var(--color-primary-80);
}
.fw-350 {
  font-weight: 350!important;
}
.fw-500 {
  font-weight: 500!important;
}
.text-primary {
  color: var(--color-primary)!important;
}
.text-dark {
  color: var(--color-dark)!important;
}
.text-blue {
  color: var(--color-blue)!important;
}
.text-muted {
  color: var(--color-muted)!important;
}
.text-alert {
  color: var(--color-alert)!important;
}
.text-gray-d {
  color: var(--color-gray-deep)!important;
}
.bg-primary {
  background-color: var(--color-primary)!important;
}
.bg-light {
  background-color: var(--bs-white)!important;
  color: var(--color-dark)!important;
}
.bg-darker {
  background-color: var(--color-bg-darker);
}
.bg-ivory {
  background-color: var(--color-bg-ivory)!important;
}
.bg-soft {
  background-color: var(--color-bg-soft)!important;
}
.bg-ec {
  background-color: #ECECEC!important;
}
.bg-dark {
  background-color: var(--color-muted)!important;
}
.bg-mist {
  background-color: var(--color-bg-mist)!important;
}
.border-black {
  border-color: var(--color-black)!important;
}
.border-primary {
  border-color: var(--color-primary)!important;
  color: var(--color-primary)!important;
}
.border-c-primary {
  border-color: var(--color-primary)!important;
}
.border-c-dark {
  border-color: #424242!important;
}
.border-gray {
  border-color: var(--color-gray-medium)!important;
  color: var(--color-gray-medium)!important;
}
.border-alert {
  border-color: var(--color-alert)!important;
  color: var(--color-alert)!important;
}
.link-underline {
  text-decoration: underline!important;
  text-underline-offset: 0.2em !important;
}
.link-underline:hover {
  color: var(--color-primary);
}
.btn-base {
  text-decoration: none;
  border-radius: 33px;
  padding: 15px;
  text-align: center;
  font-size: 1.125rem;
  line-height: 20px;
  font-weight: 350;
  transition: all 0.2s ease;
  border-radius: 14px;
  color: var(--bs-white);
  border: 1px solid transparent;
}
.btn-base:hover {
  border: 1px solid var(--color-primary)!important;
}
.btn-base.active {
  border: 1px solid var(--color-primary)!important;
  color: var(--color-primary)!important;
  background: var(--color-primary-20)!important;
}
.btn-rounded {
  border-radius: 37px;
}
.btn-pill {
  padding: 20px;
  color: var(--color-primary-90);
  background-color: var(--bs-white);
  border: 1px solid var(--color-primary-90);
  border-radius: 48px;
  line-height: 1.5;
  min-width: 170px;
  text-align: center;
}
.btn-pill.small {
  padding: 4px 18px;
  min-width: initial;
}
.btn-section-label {
  justify-content: center;
  display: inline-flex;
  padding: 4px 10px;
  color: var(--color-primary-90)!important;
  background-color: var(--bs-white);
  border: 1px solid var(--color-primary-90);
  font-weight: bold;
}
.btn-ghost {
  background-color: var(--bg-pale);
  border: none;
  border-radius: 999px;
  padding: 4px 13px; /* 可由其他 class 覆蓋 */
  font-size: .875rem;
  line-height: 1.29;
  display: inline-block;
  transition: background-color 0.2s ease;
}
.btn-outline {
  background-color: var(--bs-white);
  border: 1px solid var(--color-dark);
  border-radius: 35px;
  padding:4px 15px;
  font-size: .875rem;
  line-height: 1.29;
  letter-spacing: 0.56px;
  color: var(--color-dark);
  font-weight: 500;
  text-align: center;
}
.btn-pill-img {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 22px 20px;
  background: no-repeat center center / 100% 100% url(../images/bg/bg-day.png);
  color: var(--color-primary-90);
}
.btn--locate {
  min-width: 141px;
}
.btn--vertical,
.btn--vertical-all {
  padding: 10px 4px;
  border-radius: 999px;
  line-height: 18px;
  font-size: .875rem;
  font-weight: normal;
  letter-spacing: 3.5px;
}
.btn--primary {
  color: var(--color-button-primary)!important;
  border-color: var(--color-primary-80)!important;
  box-shadow: 4px 4px 0px var(--color-primary-80)!important;
}
.btn--fill {
  color: var(--bs-white)!important;
  background-color: var(--color-primary-90)!important;
}
.btn-base:hover,
.btn-pill:hover,
.btn-section-label:hover,
.btn-outline:hover {
  background-color: var(--bg-soft);
}
.btn-primary-rounded {
  color: #9A6D03;
  border: 1px solid var(--color-primary);
  background-color: #E1D4B3;
}
.c-login-btn + .c-login-btn {
  margin-top: 10px;
}
.c-login-btn {
  border: 1px solid var(--color-border);
  border-radius: 11px;
  background-color: var(--bs-white);
  padding: 16px 40px;
}
.c-login-btn__logo {
  width: 75px;
  height: 30px;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}
.c-login-btn--101 .c-login-btn__logo {
  background-image: url(../images/icon/logo/logo-footer-stage101.svg);
}
.c-login-btn--google .c-login-btn__logo {
  background-image: url(../images/icon/logo/logo-google.png);
}
.c-login-btn--line .c-login-btn__logo {
  background-image: url(../images/icon/logo/logo-line.png);
}
.topic-item .btn-pill:hover {
  background-color: var(--bs-white)!important;
}
.icon.eye {
  width: 18px;
  height: 18px;
  background: no-repeat center / auto 100% url(../images/icon/icon-eye_open.svg);
}
.icon.eye-slash {
  width: 18px;
  height: 18px;
  background: no-repeat center / auto 100% url(../images/icon/icon-eye.svg);
}
.icon.star {
  width: 18px;
  height: 18px;
  background: no-repeat center / auto 100% url(../images/icon/icon-star.svg);
}
.icon.star.active {
  background-image: url(../images/icon/icon-star_active.svg);
}
.icon-category {
  width: 24px;
  height: 24px;
}
.icon.activity_announcement {
    background: no-repeat url(../images/icon/icon-megaphone.svg);
}
.icon.facility_maintenance {
    background: no-repeat url(../images/icon/icon-road-cone.svg);
}
.icon.government_achievement {
    background: no-repeat url(../images/icon/icon-trophy.svg);
}
.icon.attachment {
  width: 20px;
  height: 20px;
  background: no-repeat url(../images/icon/icon-attach.svg);
}
.icon.navigate {
  width: 12px;
  height: 12px;
  background: no-repeat center / 100% url(../images/icon/icon-navigate.svg);
}
.icon.car {
  width: 20px;
  height: 20px;
  background: no-repeat center / 100% auto url(../images/icon/icon-car.svg);
}
.active .icon.car {
  background: no-repeat center / 100% auto url(../images/icon/icon-car_active.svg);
}
.icon.bus_b {
  width: 20px;
  height: 20px;
  background: no-repeat center / 100% auto url(../images/icon/icon-bus_b.svg);
}
.active .icon.bus_b {
  background: no-repeat center / 100% auto url(../images/icon/icon-bus_b_active.svg);
}
.icon.bike {
  width: 20px;
  height: 20px;
  background: no-repeat center / 100% auto url(../images/icon/icon-bike.svg);
}
.active .icon.bike {
  background: no-repeat center / 100% auto url(../images/icon/icon-bike_active.svg);
}
.social-icon {
  width: 32px;
  height: 32px;
}
.facebook-icon {
  background-image: url(../images/icon/icon-facebook.svg);
}
.instagram-icon {
  background-image: url(../images/icon/icon-instagram.svg);
}
.mail-icon {
  background-image: url(../images/icon/icon-mail.svg);
}

/*** plugin component ***/
.swiper-button-next, .swiper-button-prev {
  width: clamp(20px, 3.47vw, 50px);
  height: clamp(20px, 3.47vw, 50px);
  text-indent: -99px;
  text-indent: -9999px;
  background: no-repeat center / 100% url(../images/icon/icon-button-left.svg);
  transition: all .25s ease-out;
}
.swiper-button-next:hover, .swiper-button-prev:hover {
  opacity: .8;
}
.swiper-button-next {
  transform: rotate(180deg);
}
/*** plugin component END ***/

/*** custom component ***/
.row {
  --bs-gutter-x: .75rem;
}
.layout {
  max-width: 1324px;
  width: 100%;
  margin: auto;
}
.min-w-auto { min-width: auto!important; }
.max-w-auto { max-width: fit-content; }
/* ratio */
.ratio > img { object-fit: cover; }
.ratio-slider::before { padding-top: calc( ( 568 / 1440 ) * 100%); }
.ratio-show::before { padding-top: calc( ( 413 / 616 ) * 100%); }
.ratio-event::before { padding-top: calc( ( 335 / 645 ) * 100%); }
.ratio-event img { border-radius: 14px; }
.ratio-orderpd::before { padding-top: calc( ( 221 / 190 ) * 100%); }
/* backTop按鈕 */
.back-top {
  position: fixed;
  bottom: 26px;
  left: 22px;
  z-index: 999;
  display: none;
  width: 40px;
  height: 40px;
  background: no-repeat url(../images/icon/icon-arrow-T.svg);
  transition: all .25s ease-out;
}
.back-top:hover {
  background: no-repeat url(../images/icon/icon-arrow-T_active.svg);
}
/* 步驟導覽 */
.checkout-steps {
  width: 100%;
  margin-bottom: 65px;
}
.steps {
  display: flex;
  align-items: center;
  padding: 0;
  margin: 0;
}
.step {
  text-align: center;
  align-items: center;
}
.step-indicator {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: #D0D0D0;
  font-size: 14px;
  font-weight: 500;
}
.step-indicator.is-active {
  background-color: var(--color-primary);
}
.step-label {
  margin: 0;
  white-space: nowrap;
}
.step-arrow span {
  display: inline-flex;
  width: 10px;
  height: 20px;
  background: no-repeat center / 100% url(../images/icon/icon-arrow-right-primary.svg);
}
/* 支付表單 */
.board {
  border-radius: 20px;
  background: var(--color-board);
}
.auth-layout {
  min-height: calc(100dvh - var(--navbar-height));
}
/* 智富寶的登入 */
.auth.board {
  border-radius: 0;
  padding: 20px;
}
/* stage101的登入 */
.authstage .board:not(.auth) {
  padding: 100px 40px;
}
.authstage-content {
  width: 100%;
  max-width: 425px;
  margin: 0 auto;
}
.auth-main .layout {
  width: 676px;
}
.payment-option {
  padding: 40px;
  width: 100%;
}
.payment-option + .payment-option {
  border-top: 1px solid var(--color-border);
}
.payment-option-header,
.payment-option-body {
  max-width: 574px;
  width: 100%;
}
.discount-input input {
  width: 60px;
}
.summary-list dt {
  flex-shrink: 0;
}
.summary-list .summary-row {
  gap: 8px;
}
.password-group {
  position: relative;
}
.password-toggle {
  position: absolute;
  width: 18px;
  height: 18px;
  top: calc(50%);
  right: 10px;
}
.auth .col-form-label {
  width: 230px;
  flex-shrink: 0;
}
.auth .col-form-input {
  width: 100%;
}
.btn-group {
  gap: 10px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

/* table */
.table-primary {
  border: 1px solid var(--color-black);
}
.table-primary tbody tr + tr {
  border-top: 1px solid var(--color-black);
}
.table-primary thead th + th,
.table-primary tbody td + td {
  border-left: 1px solid var(--color-black);
}
.table-primary th,
.table-primary td {
  padding: 10px;
}
.table-primary thead th {
  background-color: var(--color-primary);
}
.table-primary thead th:last-child,
.table-primary tbody td:last-child {
  text-align: right;
}
.divider {
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  gap: 4px;
  font-size: 16px;
  font-weight: 350;
  line-height: 1.5;
  margin: 30px 0;
}
.divider div {
  flex-shrink: 0;
}
.divider span {
  flex-grow: 1;
  height: 1px;
  background: #C0C0C0;
}
/*** custom component END ***/

/* navbar */
header {
  background-color: var(--color-bg-light);
}
.navbar {
  padding: 0;
  z-index: 99;
  width: 100%;
}
.navbar>.container-fluid {
  justify-content: flex-start;
}
.navbar-brand {
  padding: 0;
}
.navbar .nav-link {
  color: var(--color-black);
  line-height: normal;
  overflow: hidden;
  position: relative;
  transition: all .35s ease-out;
}
.navbar .nav-link:hover,
.navbar .nav-link:focus,
.navbar .nav-link.active {
  color: var(--color-black);
}
.navbar-nav .dropdown-menu {
  padding: 15px 0;
  background-color: transparent;
  border: 0;
  border-radius: 0;
}
.dropdown-item {
  font-size: .9375rem;
  line-height: 1.73;
  font-weight: bold;
  padding: 0 15px;
  color: var(--bs-white)!important;
}
.dropdown-item:focus,
.dropdown-item:hover {
  background-color: transparent;
  color: var(--bs-white);
}
.dropdown-toggle::after {
  border: 0;
  background: no-repeat center / 100% url(../images/icon/icon-arrow-down-primary.svg);
  width: 16px;
  height: 8px;
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateX(-50%);
}
.navbar-toggler-icon {
  width: 24px;
  height: 24px;
  --bs-navbar-toggler-icon-bg: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMTkiIHZpZXdCb3g9IjAgMCAyNCAxOSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTI0IDAuMjI2NTYySDBWMi40MDgzOEgyNFYwLjIyNjU2MloiIGZpbGw9IiMwQjA5MEEiLz4KPHBhdGggZD0iTTI0IDguNDA4MkgwVjEwLjU5SDI0VjguNDA4MloiIGZpbGw9IiMwQjA5MEEiLz4KPHBhdGggZD0iTTI0IDE2LjU4OThIMFYxOC43NzE3SDI0VjE2LjU4OThaIiBmaWxsPSIjMEIwOTBBIi8+Cjwvc3ZnPgo=");
}
[aria-expanded="true"] .navbar-toggler-icon {
  background-size: 100%;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTkiIGhlaWdodD0iMTkiIHZpZXdCb3g9IjAgMCAxOSAxOSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTE5IDEuNTQyOTdMMTEuMjIxNyA5LjMyMTI5TDE4Ljg3MTEgMTYuOTcwN0wxNy4zMjgxIDE4LjUxMzdMOS42Nzg3MSAxMC44NjQzTDIuMDI5MyAxOC41MTM3TDAuNDg2MzI4IDE2Ljk3MDdMOC4xMzU3NCA5LjMyMTI5TDAuMzU3NDIyIDEuNTQyOTdMMS45MDAzOSAwTDkuNjc4NzEgNy43NzgzMkwxNy40NTcgMEwxOSAxLjU0Mjk3WiIgZmlsbD0iIzBCMDkwQSIvPgo8L3N2Zz4K")
}
.board .form-control:focus {
  border-radius: 5px;
}
.search-bar__input, .search-bar__input:focus {
  border-radius: 24px;
}
.search-bar__input {
  height: calc(2.1875rem + 2px)!important;
}
.search-bar__input::-webkit-search-cancel-button,
.search-bar__input::-webkit-search-decoration {
  -webkit-appearance: none;
  appearance: none;
}
.search-bar__btn {
  color: var(--color-text-dark);
  border: none;
  height: 100%;
  display: flex;
  align-items: center;
}
/* header-tools */
.header-tools {
  gap: 18px;
}
.header-tools__icon,
.header-tools__link {
  position: relative;
  text-decoration: none;
  display: flex;
  align-items: center;
  line-height: 1;
}
.header-tools__icon:focus,
.header-tools__link:focus {
  outline: 2px solid var(--color-primary-gold);
  outline-offset: 2px;
}
.header-tools__badge {
  font-size: 1rem;
  line-height: .9;
}
.js-popover-template-menu__link + .js-popover-template-menu__link {
  margin-top: 10px;
}
.js-popover-template-menu__link {
  padding: 4px 10px;
  display: block;
  text-align: center;
  border-radius: 6px;
}
.js-popover-template-menu__link:hover {
  background-color: var(--color-primary-light);
}
.js-popover-template-menu__link:focus {
  background-color: var(--bs-white);
}

/*** footer ***/
.footer {
  background-color: var(--color-gray-df);
  border-top: 2px solid var(--color-primary);
  padding: 2.5rem 0;
}
.footer__brand {
  margin-bottom: 2.5rem;
}
.footer__info,
.footer__link {
  font-size: 14px;
  font-weight: 350;
  line-height: 24px;
  display: block;
}
.footer__title {
  color: var(--color-primary);
  font-size: 18px;
  line-height: 17px;
  letter-spacing: 0.13px;
  margin-bottom: 1.25rem;
}
.footer__list {
  margin-bottom: 0;
  display: grid;
  gap: 6px;
}
.footer__link {
  text-decoration: none;
  color: color-mix(in srgb, var(--color-black), transparent 20%);
}
.footer__link:hover, 
.footer__link:focus {
  color: var(--footer-accent);
  outline: 2px solid var(--footer-accent); /* 無障礙焦點提示 */
  outline-offset: 4px;
}
.footer__social-link {
  transition: opacity 0.3s ease;
}
.footer__social-link:hover {
  opacity: 0.8;
}
.footer__bottom {
  margin-top: 2.5rem;
}
.footer__copyright {
  font-size: 13px;
  font-weight: 400;
  line-height: 20px;
  color: var(--color-secondary);
}
/*** footer END ***/

main {
  /* padding: 50px 0 70px; */
}
/*** index ***/
/* 自定義樣式表 */
.c-category-nav {
  border-top: 1px solid var(--color-primary);
  background-color: var(--color-bg-soft);
  padding-top: 10px;
  padding-bottom: 10px;
  position: absolute;
  top: 70px;
  z-index: 1025;
  width: inherit;
  left: 0;
  right: 0;
}
.c-category-nav__link {
  font-size: 16px;
  font-weight: 350;
  line-height: 21px;
  transition: all 0.2s ease-in-out;
  padding: 12px 20px;
  display: flex;
}
.c-category-nav__link:hover {
  color: var(--color-primary);
}
.c-category-nav__link:focus-visible {
  outline: 2px solid #b08d4b;
  outline-offset: 4px;
}
/* Swiper 基礎高度設定 */
.c-hero-slider {
  width: 100%;
  overflow: hidden;
}
.sec-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 150px;
}
.index .sec-main {
  padding: 70px 0 50px;
}
[class*="row-cols"] > * {
  min-width: 0;
}
.product-card {
  height: 100%;
}
.product-card .swiper-wrapper + .product-card__actions {
  margin-top: 28px;
}
.product-card-index__gallery {
    position: relative;
    background-color: var(--color-bg-darker);
    border-radius: 22px;
    overflow: hidden;
    padding: 8px;
    height: calc(100% - 131px);
}
.product-card-list__gallery {
  position: relative;
  background-color: var(--color-bg-darker);
  border-radius: 22px;
  overflow: hidden;
  padding: 8px;
  height: calc(100% - 161px);
}
.product-card__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 18px;
}
.product-card .swiper-pagination {
  position: relative;
  bottom: initial !important;
}
.product-card .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: var(--color-gray-medium);
  opacity: 1;
  margin: 0 3px !important;
}
.product-card .swiper-pagination-bullet-active {
  background: var(--color-primary);
}
/* Action Buttons */
.product-card__actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}
.btn-action {
  line-height: .5;
  cursor: pointer;
}
.btn-action:hover {
  background-color: var(--color-hover-gray)!important;
}
.btn-action.active svg path {
  fill: var(--color-black);
}
.product-card__title {
  font-size: 1rem;
  font-weight: 400;
  line-height: 21px;
  margin-top: 20px;
  height: 42px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.product-card__title a {
  color: var(--text-dark);
  text-decoration: none;
}
.product-card__price-group {
  margin-top: 20px;
}
.price-label {
  font-size: 9px;
  line-height: 12px;
  height: 12px;
  margin-bottom: 8px;
  color: var(--color-alert);
  display: block;
}
.price-current {
  font-size: 28px;
  font-weight: 700;
}
.price-original {
  color: var(--color-gray-7f);
  font-size: 20px;
  line-height: 1;
  font-weight: 700;
  text-decoration: line-through;
  margin-left: 10px;
}
.c-arrow-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--arrow-btn-size);
  height: var(--arrow-btn-size);
  border-radius: 50%;
}
.c-arrow-btn__icon {
  width: 8px;
  height: 16px;
  fill: none;
}
.c-arrow-btn--primary {
  background-color: var(--color-primary);
  color: var(--bs-white);
}
.c-arrow-btn--secondary {
  background-color: var(--color-bg-darker);
  color: var(--color-primary);
}
.c-arrow-btn:focus-visible {
  outline: 3px solid rgba(194, 162, 77, 0.5);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 1);
}
.series-shows .container > .row {
  border-radius: 22px;
  padding: 6px;
}
.series-shows__title {
  padding: 16px 24px;
}
.series-shows__title p {
  color: #616161;
}
.series-shows__link {
  padding: 10px;
  text-decoration: none;
  display: block;
}
.series-shows__img-container {
  border-radius: 18px;
  overflow: hidden;
}
.series-shows__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 18px;
}
.event-card__title {
  max-height: 48px!important;
  overflow: hidden;
}
/*** index END ***/

/*** list ***/
.category-nav {
  --nav-bg: #F1F1F1;
  --nav-active-bg: #E2E2E2;
  width: 100%;
  max-width: 300px;
  background-color: var(--nav-bg);
  overflow: hidden;
}
.category-nav__header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 25px;
  background: none;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s;
}
.category-nav__header:hover {
  background-color: var(--color-bg-darker);
}
.category-nav__title,
.category-nav__link {
  font-size: 1rem;
  line-height: normal;
  font-weight: 400;
  letter-spacing: 0.96px;
}
.category-nav__icon {
  color: var(--nav-gold);
  font-size: 1.1rem;
  transition: transform 0.3s ease;
}
.category-nav__header[aria-expanded="false"] .category-nav__icon {
  transform: rotate(180deg);
}
.category-nav__list {
  display: grid;
  gap: 18px;
  list-style: none;
  padding: 18px 10px;
  margin: 0;
}
.category-nav__link {
  display: block;
  padding: 0 25px;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.2s ease;
}
.category-nav__link:hover,
.category-nav__link:focus {
  background-color: var(--nav-active-bg);
  color: #000;
  outline: none;
}
.category-nav__link--active {
  background-color: var(--nav-active-bg);
}
.category-nav__header:focus-visible,
.category-nav__link:focus-visible {
  outline: 2px solid var(--nav-gold);
  outline-offset: -4px;
}
.listP main {
  padding: 90px 0 130px;
}
.listP-main .row-cols-lg-4.row-cols-2 {
  row-gap: 70px;
}
.product-swiper .swiper-slide { 
  width: 100%!important;
  overflow: hidden;
  backface-visibility: hidden;
}
/*** list END ***/

/*** detail ***/
.detailP .sec-main {
  padding: 90px 0 216px;
}
.product-gallery {
  --gallery-height: 42.71vw;
  --thumb-nav-size: 95px;
  --thumb-gap: 5px;

  display: grid;
  grid-template-columns: clamp(60px, 12.9%, var(--thumb-nav-size)) 1fr;
  gap: 12px;
}
.product-swiper-main,
.product-swiper-thumbs {
  width: 100%;
  height: 100%;
}
.swiper-thumbs-wrapper {
  position: relative;
  width: 100%;
  height: inherit;
}
.product-swiper-thumbs {
  width: 100%;
  height: calc(100% - 64px);
  margin: 12px 0;
}
.product-swiper-thumbs .swiper-slide {
  display: flex;
  align-items: center;
}
.product-swiper-thumbs .swiper-slide img {
  cursor: pointer;
  transition: 0.3s;
  border: 1px solid transparent;
  border-radius: 10px;
  overflow: hidden;
}
.product-swiper-thumbs .swiper-slide-thumb-active img {
  border-color: var(--color-primary);
}
.product-swiper-thumbs .swiper-slide .ratio::before {
  padding-top: calc( (108 / 95) * 100%);
}
.product-swiper-main .swiper-slide {
  display: flex;
  align-items: center;
}
.product-swiper-main .swiper-slide .ratio::before {
  padding-top: calc( (615 / 644) * 100%);
}
.product-swiper-main .swiper-slide img {
  object-fit: contain;
}
.thumb-nav-btn {
  width: 97px;
  height: 32px;
}
.thumb-nav-btn::after {
  display: none !important;
}
.breadcrumb-item {
  font-size: 0.85rem;
}
.product-info__card .spec {
  margin-top: 20px;
  border-top: 1px solid var(--color-black);
}
.product-info__card .spec .product-spec-input {
  padding: 20px 0;
  display: grid;
  gap: 8px;
  grid-template-columns: min(55.1%, 255px) 124px;
}
.product-info__card .spec .product-spec-input .form-select {
  border-color: var(--color-primary);
}
.promo-box {
  background-color: var(--tp-gold-light);
  border-radius: 8px;
}
.badge-gold {
  background-color: var(--color-primary-20);
  color: var(--color-primary);
  font-weight: 500;
  padding: 0 4px;
}
.btn-spec {
  border: 0;
  border-radius: 26px;
  padding: 4px 16px;
  background: var(--bs-white);
}
.btn-spec.active {
  background-color: var(--color-primary);
  color: var(--bs-white);
}
.btn-spec[disabled] {
  background-color: var(--color-hover-gray);
  color: var(--color-black);
}
.rounded-box {
  border: 1px solid var(--color-primary);
  border-radius: 26px!important;
  padding: 6px 24px!important;
}
.product-details .board {
  padding: 40px;
}
/*** detail END ***/

/*** profile ***/
.main-board {
  border-radius: 18px;
  border: 1px solid var(--color-primary-light);
}
.profile-main {
  padding: 50px 0 79px;
}
.profile-board {
  padding: 30px 40px;
}
/*** profile END ***/

/*** coupon ***/
.cols2-list li {
  padding: 9px 0;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  border-bottom: 1px solid #E4E4E4;
}
.cols2-list-action { text-align: center; }

.coupon-list .cols2-list-ctx {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 12px;
}
.coupon-list .cols2-list-ctx .label {
  padding: 12px;
  text-align: center;
}
/*** coupon END ***/

/*** order_detail ***/
li.orderpd {
  gap: 15px;
}
.orderpd .ratio {
  flex-basis: 27.3%;
  max-width: 190px;
  align-items: stretch;
}
.upload-group input[type="file"] {
  display: none;
}
.upload-group label {
  position: relative;
  cursor: pointer;
  width: 107px;
}
#files-list li + li {
  margin-top: 16px;
}
.preview-card .ratio {
  flex-basis: 125px;
}
/*** order_detail END ***/

/* cart1 */
.checkout-layout {
  padding: 50px 0 124px;
}
.cart li.orderpd:last-child { border-bottom: 0; }
.pdSet-list .ratio-orderpd {
  width: 96px;
}
/* cart1 END */

/* cart1 */
.form-check-tab {
  border-radius: 11px;
  border: 1px solid var(--color-border);
  background-color: var(--bs-white);
}
.form-check-tab.active {
  border: 1px solid var(--color-border);
  background-color: #E3E3E3;
  color: #535353;
}
/* cart2 END */

/* event */
.type1 .event-hero__banner .ratio::before {
  padding-top: calc(  ( 453 / 1080 ) * 100% );
}
.type2 .event-hero__banner .ratio::before {
  padding-top: calc(  ( 354 / 1080 ) * 100% );
}
.type3 .event-hero__banner .ratio::before {
  padding-top: calc(  ( 299 / 530 ) * 100% );
}
.type1 .promotion-card > div,
.type3 .promotion-card > div {
  width: 100%;
}
.type1 .promotion-card__banner .ratio::before,
.type3 .promotion-card__banner .ratio::before {
  padding-top: calc(  ( 250 / 530 ) * 100% );
}
.type2 .promotion-card__banner .ratio::before {
  padding-top: calc(  ( 354 / 310 ) * 100% );
}
.eventP-main {
  padding: 45px 0 124px;
}
/* event END */

/* news */
.newsP-main {
  padding: 90px 0 174px;
}
.news-list.border-b li {
  margin-bottom: 20px;
  border-bottom: 1px solid var(--color-primary-light);
}
.news-list__link {
  padding: 10px 20px;
}
.news-list__ctx {
  grid-template-columns: 38.8% 47.6%;
}
/* news END */

/* news_detail */
.newsD-main {
  padding: 90px 0 116px;
}
.newsD-wrapper {
  padding: 40px 20px;
}
.newsD-header {
  margin-bottom: 60px;
}
.editor-content a {
  color: var(--color-blue);
}
.editor-content img {
  max-width: 100%!important;
  height: auto;
}
/* news_detail END */

/* personal_info_protection */
.pipP-main {
  padding: 50px 0 180px;
}
.pipP-wrapper {
  padding: 20px;
  border-bottom: 1px solid var(--color-primary-light);
}
.pipP-header {
  background-color: #F4F1E9;
  margin-bottom: 20px;
}
.pipP-wrapper .editor-content {
  padding: 30px;
}
/* personal_info_protection END */

@media screen and (min-width: 576px) {
  .modal-dialog {
    --bs-modal-width: 630px;
  }
}
@media screen and (min-width: 768px) {
  .nav-pills .nav-link {
    min-width: 180px;
  }
  .p-md-2x4 {
    padding: 20px 40px;
  }
  .gap-md-18 {
    gap: 18px;
  }
  .gap-10 {
    gap: 10px;
  }
  .gap-14 {
    gap: 14px;
  }
  .gap-md-70 {
    gap: 70px!important;
  }
  .btn--vertical {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    height: auto;
    white-space: nowrap;
  }
  /*** custom component ***/
  /* 支付表單 */
  .authstage {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .auth .col-form-input {
    width: 384px;
  }
  /*** custom component END ***/

  /* footer */
  .footer-container {
    grid-template-columns: 60.42% 1fr;
    gap: 20px;
  }
  .footer-primary__top {
    margin-bottom: 18px;
    gap: 50px;
  }
  .nav-list {
    width: 100px;
  }
  .branding-section {
    height: 100%;
  }
  /* footer END */

  /*** list ***/
  .category-nav,
  .aside-nav {
    border-radius: 18px;
    border: 1px solid var(--color-primary-light);
  }
  .category-nav__icon {
    margin-right: -13px;
  }
  .category-nav__header + .collapse.show {
    border-top: 1px solid var(--color-primary);
  }
  /*** list END ***/
  /*** profile ***/
  .aside-nav-layout {
    padding: 25px 30px;
  }
  .aside-nav-layout ul {
    border-top: 1px solid var(--color-primary);
  }
  .aside-nav-layout .category-nav__item {
    border-bottom: 1px solid var(--color-primary);
  }
  .aside-nav-layout .category-nav__item a {
    padding: 10px 16px;
  }
  .aside-nav-layout .category-nav__item a.active {
    color: var(--color-primary);
  }
  .profile-layout .main-board { min-height: 74vh; }
  /*** profile END ***/

  /* cart1 */
  .cart .orderpd .detail .h4 {
    min-height: 52px;
  }
  .cart .orderpd .detail .product-spec-input {
    min-height: 40px;
    height: 100%;
  }
  .cart .orderpd .detail .quantity-input {
    max-width: 132px;
    width: 100%;
  }
  /* cart1 END */

  /* news */
  .news-list__link {
    padding-top: 40px;
    padding-bottom: 40px;
  }
  /* news END */
}
@media screen and (min-width: 992px) {
  /*** custom component ***/
  /* 字級設定 */
  /*** custom component END ***/

  /*** detail ***/
  .product-gallery {
    height: clamp(400px, var(--gallery-height), 615px);
  }
  .product-swiper-main {
    flex: 1;
    height: 100%;
  }
  /*** detail END ***/

  /* event */
  .type1 .promotion-card,
  .type3 .promotion-card {
    gap: 20px;
  }
  .type1 .promotion-card > div {
    flex: 1 0 calc(50% - 10px);
    width: 50%;
  }
  /* event END */
}
@media screen and (min-width: 1200px) {
  .layout {
    padding-left: clamp(40px, 4.03vw, 58px);
    padding-right: clamp(40px, 4.03vw, 58px);
    max-width: 1464px;
    width: 100%;
    margin: auto;
  }
  /*** navbar component ***/
  .dropdown-menu.c-category-nav__list.show {
    display: none!important;
  }
  .navbar {
    padding-top: 12px;
    padding-bottom: 12px;
  }
  .navbar-brand {
    padding: 9px 0;
  }
  .navbar-expand-xl .navbar-collapse {
    gap: 10px;
  }
  .navbar-expand-xl .navbar-nav .nav-item {
    transition: all .35s;
    padding: 6px 0;
  }
  .navbar-expand-xl .navbar-nav .nav-link {
    padding: 0 10px;
  }
  .navbar .nav-link:hover::after,
  .navbar .nav-link[aria-expanded="true"]::after {
    transform: rotate(180deg);
  }
  .navbar .nav-link:hover::after,
  .navbar .nav-link[aria-expanded="true"]::after { display: none; }
  .dropdown-item+.dropdown-item {
    margin-top: 10px;
  }
  .navbar .dropdown-toggle::after { display: none; }
  .search-bar__input {
    width: 226px;
  }
  #c-categoryNav:not(.c-category-nav--active) {
    display: none;
  }  
  /*** navbar component END ***/
}
@media screen and (min-width: 1400px) {
  .container {
    max-width: 1464px;
  }
}
@media screen and (max-width: 1199px) {
  /*** navbar component ***/
  .navbar>.container-fluid,
  .footer>.container-fluid {
    padding: 6px 20px;
  }
  .navbar-nav {
    width: 100%;
    gap: 4px;
  }
  .navbar-brand {
    padding: 10px;
    margin-right: 0;
  }
  .navbar-toggler {
    border: 0;
    padding: 0 10px 0 0;
    position: relative;
    z-index: 1060;
    box-shadow: none;
  }
  .navbar-toggler:focus {
    box-shadow: none;
    outline: none;
  }
  .navbar-collapse {
    gap: 10px;
  }
  .site-navbar__overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--color-bg-soft);
    box-shadow: 0 4px 6px 0 rgba(0, 0, 0, 0.25);
    z-index: 1050;
    padding: 5.1875rem .9375rem 1.5625rem;
    display: flex !important;
    flex-direction: column;
    align-items: flex-start;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                opacity 0.4s linear, 
                visibility 0.4s;
  }
  .site-navbar__overlay.show {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }
  body:has(.site-navbar__overlay.show) {
    overflow: hidden;
  }
  .navbar-expand-xl .navbar-nav .nav-link {
    font-size: 1.125rem;
    font-weight: 350;
    line-height: 28px;
    letter-spacing: 0.72px;
    padding: 12px 10px;
  }
  .navbar-nav .nav-item.dropdown + .nav-item.dropdown {
    border-top: 1px solid var(--bs-white);
  }
  .navbar-nav .dropdown-menu {
    padding: 0 0 9px;
  }
  .dropdown-item {
    font-size: 1.125rem;
    line-height: 1.73;
    padding: 7px 50px;
    white-space: pre-wrap;
  }
  .search-bar {
    order: -1;
    width: 100%;
  }
  /* header-tools */
  #c-categoryNav { display: none; }
  .site-navbar__overlay .header-tools {
    width: 100%;
    flex-direction: column;
    margin-top: auto;
  }
  .site-navbar__overlay #notification-template ul {
    display: flex;
    flex-direction: row;
  }
  /*** navbar component END ***/
}
@media screen and (max-width: 991px) {
  /*** custom component ***/
  /* 字級設定 */
  .thumb-nav-btn {
    width: 60px;
    height: 20px;
  }
  /*** custom component END ***/

  /*** detail ***/
  /*** detail ***/
  .detailP .sec-main {
    padding: 30px 0 127px;
  }
  .product-gallery {
    --thumb-nav-size: 60px;

    grid-template-columns: var(--thumb-nav-size) 1fr;
    width: min(100%, 100%, 550px);
    height: clamp(400px, calc(95vw - 12px - 40px), 500px);
    margin: 0 auto 30px;
  }
  .product-swiper-thumbs {
    margin: 5px 0;
  }
  /*** detail END ***/

  /* event */
  .type2 .promotion-card__banner .ratio::before {
    padding-top: calc(  ( 354 / 380 ) * 100% );
  }
  /* event END */
}
@media screen and (max-width: 767px) {
  body {
    font-size: 16px;
    line-height: 26px;
    letter-spacing: 0.64px;
  }
  .p-l-2x2 {
    padding: 20px;
  }
  .form-control, .form-control:focus, .form-select {
    font-size: 1rem;
  }
  .nav-pills .nav-link {
    padding: 5px 12px;
  }
  nav[aria-label="breadcrumb"] {
    margin-bottom: 20px;
  }
  .breadcrumb {
    margin: 28px 0 20px;
  }
  .modal-content {
    padding: 30px 20px;
  }
  nav[aria-label="Page navigation"] {
    margin-top: 50px;
  }
  .page-link {
    --bs-pagination-font-size: 1.125rem;
    min-width: 36px;
    width: 36px;
    height: 36px;
  }
  .h1 {
    font-size: 24px;
    line-height: 27px;
  }
  .h2 {
    font-size: 18px;
    line-height: 24px;
  }
  .h3 {
    font-size: 14px;
    line-height: 18px;
  }
  .h4 {
    font-size: 16px;
  }
  .h6 {
    font-size: 12px;
  }
  .txt-def { font-size: 16px; line-height: 26px; } /* Default */
  .txt-ins, .label-prm { font-size: 12px; line-height: 24px; } /* Instruction */
  .txt-sub, .button-sec { font-size: 14px; line-height: 24px; } /* SubSection */
  .txt-bcd { font-size: 12px; line-height: 24px; } /* Breadcrumb */
  .price-o-li { font-size: 18px; }
  .price-o-dt { font-size: 28px; }
  .price-p-li { font-size: 24px; }
  .price-p-dt { font-size: 30px; }
  .product-dt { font-size: 24px; line-height: 28px; }
  .product-li { font-size: 14px; line-height: 18px; }
  .button-pri { font-size: 16px!important; }
  .button-small { letter-spacing: 0.84px!important; }
  .price-primary {
    font-size: 30px;
  }
  .btn-base {
    font-size: 1rem;
    padding: 10px;
  }
  .btn-base.has-icon {
    padding: 10px 15px;
    width: 190px;
  }
  .btn--vertical {
    padding: 6px 14px;
    letter-spacing: 0.56px;
    line-height: 1;
  }
  /*** custom component ***/
  /* ratio */
  .ratio-slider::before { padding-top: calc( ( 335 / 402 ) * 100%); }
  .orderpd .ratio { flex-basis: 25%; }
  /* 步驟導覽 */
  .checkout-steps {
    margin-bottom: 40px;
  }
  .steps {
    gap: 10px;
  }
  .step-indicator {
    width: 26px;
    height: 26px;
    font-size: 12px;
  }
  .step-arrow span {
    width: 5px;
    height: 10px;
  }
  .step-label {
    font-size: 14px;
  }
  /* 支付表單 */
  .payment-option {
    padding: 10px;
  }
  .authstage {
    padding: 40px 4px 72px;
  }
  .authstage .board:not(.auth) {
    padding: 40px 20px;
  }
  .auth-main .layout {
    max-width: 520px;
    width: 100%;
  }
  .btn-group {
    grid-template-columns: repeat(2, 1fr);
  }
  .c-login-btn {
    padding: 16px 20px;
  }
  /*** custom component END ***/
  
  /* navbar */
  .navbar-brand img {
    width: clamp(137px, 34.1vw, 180px)
  }

  /* footer */
  .site-footer {
    padding: 30px 5px 60px;
  }
  .footer-about-nav {
    margin: 20px 0 50px;
  }
  .footer-primary__bottom {
    gap: 20px;
  }
  .branding-section {
    margin-top: 30px;
  }
  .mascot-image {
    width: clamp(111px, 28.24vw, 140px);
  }

  /*** index ***/
  .c-hero-slider .swiper-button-prev,
  .c-hero-slider .swiper-button-next { display: none; }
  
  .index .sec-main {
    padding: 30px 0;
    gap: 60px;
  }
  .price-current {
    font-size: 24px;
    line-height: 20px;
  }
  .series-shows .container > .row {
    border-radius: 18px;
    padding: 10px;
  }
  .series-shows__title {
    padding: 10px;
  }
  .series-shows__link {
    padding: 5px;
  }
  /*** index END ***/

  .listP main {
    padding-top: 0;
  }
  .category-nav {
    margin: 0 -12px;
    width: calc(100% + 24px);
    max-width: calc(100% + 24px);
    border-top: 1px solid var(--color-primary-light);
  }
  .category-nav__header {
    padding: 10px;
  }
  .category-nav__title, .category-nav__link {
    font-size: 14px;
  }
  .category-nav__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
  }
  .category-nav__link {
    border-radius: 16px;
    padding: 4px;
    text-align: center;
    border: 1px solid transparent;
  }
  .category-nav__link--active {
    background-color: var(--bs-white);
    border-color: var(--color-primary);
  }
  .listP-main .row-cols-lg-4.row-cols-2 {
    row-gap: 6px;
  }

  /*** detail ***/
  .detailP .sec-main {
    padding: 28px 0 127px;
    gap: 30px;
  }
  .product-details .board {
    padding: 10px;
  }
  .product-tabs__content {
    padding: 0 10px;
  }
  .c-mobile-actions {
    left: 0;
    right: 0;
    width: inherit;
    z-index: 1030;
    background: rgba(233, 233, 233, 0.70);
    backdrop-filter: blur(2px);
    padding-bottom: env(safe-area-inset-bottom);
    padding: 10px;
    text-align: center;
  }
  /*** detail END ***/

  /*** profile ***/
  .profile-main {
    padding: 10px 0 90px;
  }
  .profile-main .aside-nav {
    padding: 10px 0;
   }
  .aside-nav-layout .category-nav__item a {
    padding: 6px 2px;
  }
  .aside-nav-layout .category-nav__item a.active {
    border-bottom: 2px solid var(--color-primary);
  }
  .aside-nav-layout ul {
    display: flex;
    gap: 2px;
  }
  .profile-board {
    padding: 20px 10px;
  }
  /*** profile END ***/

  /*** coupon ***/
  .cols2-list li {
    gap: 10px;
  }

  .coupon-list .cols2-list-ctx {
    grid-template-columns: 58px 1fr;
  }
  /*** coupon END ***/

  /* cart1 */
  .checkout-layout {
    padding: 40px 0 28px;
  }
  .pdSet-list .ratio-orderpd {
    width: 80px;
  }
  /* cart1 END */

  /* event */
  .eventP-main {
    padding: 20px 0 50px;
  }
  /* event END */

  /* news */
  .newsP-main {
    padding: 30px 0 103px;
  }
  .news-list__ctx { 
    grid-template-columns: 1fr;
  }
  .news-list.border-b li {
    margin-bottom: 10px;
  }
  /* news END */

  /* news_detail */
  .newsD-main {
    padding: 20px 0 47px;
  }
  .newsD-wrapper {
    padding: 20px 10px;
  }
  .newsD-header {
    margin-bottom: 20px;
  }
  /* news_detail END */

  /* personal_info_protection */
  .pipP-main {
    padding: 30px 0 90px;
  }
  .pipP-wrapper {
    padding: 10px 8px;
  }
  .pipP-wrapper .editor-content {
    padding: 10px;
  }
  /* personal_info_protection END */
}

/* ==================== coupon reminder ==================== */
.coupon-reminder {
  display: inline-block;
  background: linear-gradient(135deg, #dc3545, #d9534f);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 20px;
  line-height: 1.4;
  max-width: 100%;
  white-space: normal;
  box-shadow: 0 2px 8px rgba(217, 83, 79, 0.35);
  text-decoration: none;
}
.coupon-reminder:hover {
  color: #fff;
  opacity: 0.9;
  text-decoration: none;
}