:root {
  --gold-deep: #a97a1f;
  --gold: #c99a3d;
  --gold-bright: #e8b84b;
  --gold-pale: #f6e6bd;
  --cream: #fdf7e6;
  --cream-2: #fbeecb;
  --red: #8c1b1b;
  --red-deep: #6e1212;
  --red-bright: #b32a24;
  --ink: #2c1a10;
  --ink-soft: #5a4327;
  --white: #fffdf7;
  --line: rgba(140, 27, 27, .18);
  --shadow: 0 10px 30px rgba(110, 70, 10, .18);
  --radius: 16px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

h1,
h2,
h3,
h4,
.serif {
  font-family: Arial;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 1000%;
  display: block;
}

button {
  font-family: Arial;
  cursor: pointer;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

::selection {
  background: var(--gold-bright);
  color: var(--ink);
}

.processing {
  padding: 50px 20px;
  text-align: center;
}

.processing .spinner-check {
  width: 74px;
  height: 74px;
  margin: 0 auto 22px;
  position: relative;
}

.processing .spinner-ring {
  width: 100%;
  height: 100%;
  border: 4px solid var(--gold-pale);
  border-top-color: var(--red-deep);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.processing.done .spinner-ring {
  display: none;
}

.processing .check-mark {
  display: none;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--gold-pale);
  align-items: center;
  justify-content: center;
  font-size: 34px;
  color: var(--red-deep);
  animation: popIn .4s ease;
}

.processing.done .check-mark {
  display: flex;
  position: absolute;
  top: 0;
  left: 0;
}

@keyframes popIn {
  from {
    transform: scale(0.5);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

.processing h4 {
  font-size: 16px;
  color: var(--red-deep);
  margin-top: 4px;
}

.processing p {
  font-size: 13px;
  color: var(--ink-soft);
  margin-top: 6px;
}

.bg-clouds {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 700px 400px at 10% 0%, rgba(233, 190, 100, .35), transparent 60%),
    radial-gradient(ellipse 700px 500px at 100% 20%, rgba(233, 190, 100, .3), transparent 60%),
    radial-gradient(ellipse 900px 600px at 50% 100%, rgba(233, 190, 100, .25), transparent 60%),
    linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%);
}

.top-ribbon {
  background: linear-gradient(90deg, var(--red-deep), var(--red-bright), var(--red-deep));
  color: var(--gold-pale);
  font-size: 12.5px;
  letter-spacing: .5px;
  text-align: center;
  padding: 7px 12px;
  position: sticky;
  top: 0;
  z-index: 61;
}

.top-ribbon strong {
  color: var(--gold-bright);
}

header {
  position: sticky;
  top: var(--header-h, 0px);
  z-index: 60;
  background: rgba(253, 247, 230, .97);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  display: flex;
  align-items: center;
  padding: 14px 24px;
  max-width: 1180px;
  margin: 0 auto;
  gap: 36px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  overflow: hidden;
  background: conic-gradient(from 180deg, var(--gold-bright), var(--red-bright), var(--gold-deep), var(--gold-bright));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 0 2px var(--white), var(--shadow);
  flex-shrink: 0;
}

.brand-mark span {
  font-family: Arial;
  font-weight: 900;
  color: var(--white);
  font-size: 18px;
}

.brand-text .cn {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1.2;
  color: var(--red-deep);
}

.brand-text .en {
  font-size: 10px;
  letter-spacing: 1.5px;
  color: var(--ink-soft);
  text-transform: uppercase;
}

nav.links {
  display: flex;
  gap: 2px;
  align-items: center;
}

nav.links>a,
.nav-drop .drop-trigger {
  padding: 10px 16px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-soft);
  border-radius: 999px;
  transition: .2s;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
}

nav.links>a:hover,
.nav-drop .drop-trigger:hover,
.nav-drop.open .drop-trigger {
  color: var(--red-deep);
  background: rgba(201, 154, 61, .12);
}

.nav-drop.current-group .drop-trigger {
  color: var(--red-deep);
}

nav.links>a.current {
  color: var(--red-deep);
  font-weight: 700;
}

.drop-trigger .chev {
  font-size: 11px;
  transition: transform .2s;
  color: var(--gold-deep);
}

.nav-drop.open .drop-trigger .chev {
  transform: rotate(180deg);
}

.nav-drop {
  position: relative;
}

.dropdown-panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 14px;
  min-width: 180px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s, transform .18s;
  z-index: 65;
}

.dropdown-panel.two-col {
  flex-direction: row;
  min-width: 320px;
  gap: 0;
}

.dropdown-panel.two-col .dcol {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dropdown-panel.two-col .dcol+.dcol {
  border-left: 1px solid var(--line);
  margin-left: 12px;
  padding-left: 12px;
}

.dropdown-panel a {
  padding: 9px 14px;
  border-radius: 9px;
  font-size: 13.5px;
  color: var(--ink-soft);
  white-space: nowrap;
  font-weight: 500;
  transition: .15s;
}

.dropdown-panel a.dparent.current {
  background: none;
  color: var(--red-deep);
}

.dropdown-panel a.current {
  background: var(--gold-pale);
  color: var(--red-deep);
}

@media (hover:hover) {
  .dropdown-panel a:hover {
    background: var(--gold-pale);
    color: var(--red-deep);
  }
}

.dropdown-panel .ddivider {
  height: 1px;
  background: var(--line);
  margin: 6px 6px;
}

.nav-drop::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 14px;
}

.nav-drop-sub {
  position: relative;
}

.sub-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 9px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--red-deep);
  cursor: pointer;
}

.sub-trigger:hover,
.nav-drop-sub.open .sub-trigger {
  background: var(--gold-pale);
}

.sub-trigger .chev-sub {
  font-size: 10px;
  color: var(--gold-deep);
  transition: transform .2s;
}

.sub-panel {
  position: absolute;
  top: -10px;
  left: calc(100% + 10px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 10px;
  min-width: 160px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s, transform .18s;
  transform: translateX(-6px);
  z-index: 66;
}

.nav-drop-sub::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 100%;
  width: 14px;
}

@media (min-width:761px) {

  .nav-drop:hover .dropdown-panel,
  .nav-drop.open .dropdown-panel {
    opacity: 1;
    pointer-events: all;
    transform: translateX(-50%) translateY(0);
  }

  .nav-drop-sub.open .sub-panel {
    opacity: 1;
    pointer-events: all;
    transform: translateX(0);
  }
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.lang-toggle {
  display: flex;
  border: 1.5px solid var(--gold-deep);
  border-radius: 999px;
  overflow: hidden;
  flex-shrink: 0;
}

.lang-toggle button {
  background: var(--white);
  border: none;
  padding: 8px 13px;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-soft);
  transition: .2s;
}

.lang-toggle button.active {
  background: var(--red-deep);
  color: #fff;
}

.cart-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--red-bright), var(--red-deep));
  color: var(--white);
  border: none;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: var(--shadow);
  transition: transform .2s;
}

.cart-btn:hover {
  transform: translateY(-2px);
}

.cart-count {
  background: var(--gold-bright);
  color: var(--red-deep);
  font-weight: 800;
  min-width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11.5px;
  padding: 0 4px;
}

.burger {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}

.burger span {
  width: 24px;
  height: 2.5px;
  background: var(--red-deep);
  border-radius: 2px;
}

.home-photo-frame {
  width: 100%;
  min-height: calc(100vh - 130px);
  max-height: 900px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream-2);
}

.home-photo-frame img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
}

.home-photo-placeholder {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
  max-width: 420px;
  padding: 40px;
  border: 2px dashed var(--gold-deep);
  border-radius: 20px;
  background: var(--white);
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.8;
  margin: 40px 20px;
}

.home-photo-placeholder .icon {
  font-size: 40px;
}

.home-photo-placeholder b {
  color: var(--red-deep);
}

.page {
  display: none;
}

.page.active {
  display: block;
  animation: pagein .35s ease;
}

@keyframes pagein {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.page-hero {
  padding: 0px 24px 10px;
  text-align: center;
}

.page-hero .tag {
  font-size: 12.5px;
  letter-spacing: 3px;
  color: var(--gold-deep);
  font-weight: 700;
  text-transform: uppercase;
}

.page-hero h2 {
  font-size: clamp(24px, 4vw, 38px);
  color: var(--red-deep);
  margin-top: 10px;
  font-weight: 800;
}

.page-hero p {
  color: var(--ink-soft);
  margin-top: 14px;
  line-height: 1.75;
  font-size: 15px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.simple-card {
  max-width: 860px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 36px;
}

.simple-card p {
  color: var(--ink-soft);
  line-height: 1.9;
  font-size: 15px;
  margin-bottom: 14px;
}

.simple-card p:last-child {
  margin-bottom: 0;
}

.placeholder-note {
  margin-top: 22px;
  background: var(--gold-pale);
  border: 1px dashed var(--gold-deep);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 13px;
  color: var(--red-deep);
  line-height: 1.7;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  max-width: 1000px;
  margin: 0 auto;
}

.gallery-tile {
  aspect-ratio: 4/3;
  border-radius: 14px;
  background: linear-gradient(160deg, var(--gold-pale), var(--cream-2));
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-deep);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  padding: 12px;
}

.committee-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  max-width: 960px;
  margin: 0 auto;
}

.committee-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 22px;
  text-align: center;
}

.committee-card .avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  margin: 0 auto 12px;
  background: conic-gradient(from 180deg, var(--gold-bright), var(--red-bright), var(--gold-deep), var(--gold-bright));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: Arial;
  font-weight: 800;
}

.committee-card b {
  display: block;
  color: var(--red-deep);
  font-family: Arial;
  font-size: 16px;
}

.committee-card span {
  font-size: 12.5px;
  color: var(--ink-soft);
  display: block;
  margin-top: 4px;
}

.committee-card .tel {
  font-size: 13px;
  color: var(--ink);
  margin-top: 8px;
  font-weight: 600;
}

.press-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.press-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 20px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  box-shadow: var(--shadow);
}

.press-item .ic {
  font-size: 20px;
  flex-shrink: 0;
}

.press-item b {
  display: block;
  color: var(--ink);
  font-size: 14.5px;
}

.press-item span {
  font-size: 12.5px;
  color: var(--ink-soft);
}

.hero {
  position: relative;
  padding: 75px 24px 70px;
  text-align: center;
  overflow: hidden;
}

.hero::before {
  left: 20px;
}

.hero::after {
  right: 20px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  letter-spacing: 3px;
  color: var(--red-deep);
  font-weight: 600;
  margin-bottom: 22px;
}

.eyebrow::before,
.eyebrow::after {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--red-bright);
}

.hero h1 {
  font-size: clamp(30px, 6vw, 64px);
  font-weight: 900;
  color: var(--red-deep);
  line-height: 1.15;
  letter-spacing: 1px;
  text-shadow: 0 2px 0 rgba(255, 255, 255, .5);
}

.hero h1 .accent {
  color: var(--gold-deep);
}

.hero p.sub {
  max-width: 560px;
  margin: 22px auto 0;
  font-size: 16.5px;
  color: var(--ink-soft);
  line-height: 1.8;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-top: 34px;
  flex-wrap: wrap;
}

.btn {
  padding: 14px 30px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  border: 2px solid transparent;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: .25s;
}

.btn-primary {
  background: linear-gradient(135deg, var(--red-bright), var(--red-deep));
  color: var(--white);
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 30px rgba(140, 27, 27, .28);
}

.btn-outline {
  border-color: var(--gold-deep);
  color: var(--red-deep);
  background: rgba(255, 255, 255, .5);
}

.btn-outline:hover {
  background: var(--gold-pale);
}

.hero-lanterns {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 56px;
  flex-wrap: wrap;
}

.mini-lantern {
  width: 64px;
  height: 78px;
  position: relative;
  animation: sway 4.5s ease-in-out infinite;
}

.mini-lantern:nth-child(2) {
  animation-delay: .6s;
}

.mini-lantern:nth-child(3) {
  animation-delay: 1.2s;
}

.mini-lantern:nth-child(4) {
  animation-delay: 1.8s;
}

@keyframes sway {

  0%,
  100% {
    transform: rotate(-3deg);
  }

  50% {
    transform: rotate(3deg);
  }
}

.mini-lantern .body {
  width: 100%;
  height: 58px;
  border-radius: 14px;
  background: radial-gradient(circle at 50% 40%, var(--gold-bright), var(--red-bright) 75%);
  box-shadow: 0 0 22px rgba(233, 150, 50, .55), inset 0 0 0 2px var(--gold-pale);
}

.mini-lantern .cap {
  width: 40%;
  height: 6px;
  background: var(--gold-deep);
  margin: 0 auto;
  border-radius: 3px 3px 0 0;
}

.mini-lantern .tassel {
  width: 2px;
  height: 16px;
  background: var(--red-deep);
  margin: 0 auto;
}

section {
  padding: 78px 24px;
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 46px;
}

.section-head .tag {
  font-size: 12.5px;
  letter-spacing: 3px;
  color: var(--gold-deep);
  font-weight: 700;
  text-transform: uppercase;
}

.section-head h2 {
  font-size: clamp(24px, 4vw, 38px);
  color: var(--red-deep);
  margin-top: 10px;
  font-weight: 800;
}

.section-head p {
  color: var(--ink-soft);
  margin-top: 14px;
  line-height: 1.75;
  font-size: 15px;
}

.divider-orn {
  width: 120px;
  height: 14px;
  margin: 18px auto 0;
  position: relative;
}

.divider-orn::before {
  content: "◆";
  color: var(--gold-deep);
  font-size: 10px;
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
}

.divider-orn::after {
  content: "";
  position: absolute;
  top: 6px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.about-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow);
}

.about-card h3 {
  color: var(--red-deep);
  font-size: 20px;
  margin-bottom: 14px;
}

.about-card p {
  color: var(--ink-soft);
  line-height: 1.9;
  font-size: 14.5px;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 26px;
}

.stat {
  text-align: center;
  padding: 16px 8px;
  border-radius: 12px;
  background: var(--cream-2);
}

.stat b {
  display: block;
  font-size: 22px;
  color: var(--red-deep);
  font-family: Arial;
}

.stat span {
  font-size: 12px;
  color: var(--ink-soft);
}

.about-panel {
  background: linear-gradient(160deg, var(--red-deep), var(--red-bright));
  border-radius: var(--radius);
  padding: 40px;
  color: var(--gold-pale);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about-panel::before {
  content: "福";
  position: absolute;
  right: -20px;
  bottom: -40px;
  font-size: 220px;
  opacity: .08;
  font-family: Arial;
  color: var(--gold-bright);
}

.about-panel h3 {
  color: var(--gold-bright);
  font-size: 22px;
  margin-bottom: 16px;
}

.about-panel ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.about-panel li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14.5px;
  line-height: 1.7;
}

.about-panel li .ico {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 13px;
  color: var(--gold-bright);
}

.service-nav {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 0;
  flex-wrap: wrap;
}

.service-nav a {
  padding: 10px 22px;
  border: 1.5px solid var(--gold-deep);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--red-deep);
  background: var(--white);
  transition: .2s;
}

.service-nav a:hover {
  background: var(--red-deep);
  color: var(--white);
  border-color: var(--red-deep);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.offer-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform .25s, box-shadow .25s;
}

.offer-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 34px rgba(110, 70, 10, .22);
}

.offer-thumb {
  height: 150px;
  background: linear-gradient(160deg, var(--gold-pale), var(--cream-2));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.offer-thumb .glyph {
  font-family: Arial;
  font-weight: 700;
  font-size: 15px;
  color: var(--red-deep);
  background: var(--white);
  border: 1.5px solid var(--gold-deep);
  border-radius: 10px;
  padding: 8px 14px;
  box-shadow: 0 4px 10px rgba(110, 70, 10, .15);
  text-align: center;
}

.offer-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.offer-body h4 {
  font-size: 16.5px;
  color: var(--ink);
  font-family: Arial;
}

.offer-body .note {
  font-size: 12.5px;
  color: var(--ink-soft);
  line-height: 1.6;
  min-height: 32px;
}

.price-tag {
  display: inline-flex;
  align-self: flex-start;
  align-items: baseline;
  gap: 3px;
  background: var(--red-deep);
  color: var(--gold-pale);
  padding: 6px 14px;
  border-radius: 8px;
  font-family: Arial;
  font-weight: 700;
}

.price-tag small {
  font-size: 11px;
  font-weight: 500;
}

.price-tag b {
  font-size: 18px;
}

.offer-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
}

.qty-box {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
}

.qty-box button {
  width: 30px;
  height: 32px;
  background: var(--cream-2);
  border: none;
  font-size: 15px;
  color: var(--red-deep);
  font-weight: 700;
}

.qty-box input {
  width: 34px;
  text-align: center;
  border: none;
  font-size: 14px;
  font-weight: 600;
  background: var(--white);
}

.add-btn {
  flex: 1;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold-deep));
  color: var(--ink);
  border: none;
  padding: 9px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  transition: .2s;
  white-space: nowrap;
}

.add-btn:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.add-btn.added {
  background: linear-gradient(135deg, #7fbf7f, #4d9a4d);
  color: #fff;
}

.name-field {
  border: 1.5px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 12.5px;
  width: 100%;
  font-family: Arial;
}

.name-field:focus {
  outline: 2px solid var(--gold-bright);
  border-color: var(--gold-deep);
}

.renew-check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--ink-soft);
  cursor: pointer;
  padding: 2px 2px;
}

.renew-check input {
  width: 15px;
  height: 15px;
  accent-color: var(--red-deep);
  cursor: pointer;
}

.bundle-banner {
  margin-top: 26px;
  background: linear-gradient(90deg, var(--red-deep), var(--red-bright));
  color: var(--gold-pale);
  border-radius: 14px;
  padding: 18px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  box-shadow: var(--shadow);
}

.bundle-banner .txt strong {
  color: var(--gold-bright);
  font-family: Arial;
  font-size: 17px;
}

.bundle-banner .txt div {
  font-size: 12.5px;
  opacity: .85;
  margin-top: 4px;
}

.lamp-info {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
}

.lamp-info .li-item {
  background: var(--white);
  border-radius: 12px;
  padding: 16px 18px;
  border-left: 4px solid var(--gold-deep);
}

.lamp-info .li-item b {
  color: var(--red-deep);
  font-family: Arial;
  font-size: 14.5px;
}

.lamp-info .li-item p {
  font-size: 12.5px;
  color: var(--ink-soft);
  margin-top: 4px;
  line-height: 1.6;
}

.term-strip {
  margin-top: 26px;
  text-align: center;
  background: var(--white);
  border: 1px dashed var(--gold-deep);
  border-radius: 12px;
  padding: 14px;
  font-size: 13.5px;
  color: var(--red-deep);
  font-weight: 600;
}

.process {
  background: var(--cream-2);
}

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

.p-step {
  text-align: center;
  position: relative;
}

.p-step .circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  margin: 0 auto 16px;
  background: var(--white);
  border: 2px solid var(--gold-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Arial;
  font-weight: 800;
  font-size: 22px;
  color: var(--red-deep);
  box-shadow: var(--shadow);
}

.p-step h4 {
  font-size: 15.5px;
  margin-bottom: 6px;
  color: var(--ink);
}

.p-step p {
  font-size: 12.5px;
  color: var(--ink-soft);
  line-height: 1.6;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 44px;
}

.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.contact-row .ic {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--gold-pale);
  color: var(--red-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.contact-row b {
  display: block;
  font-size: 14px;
  color: var(--ink);
}

.contact-row span {
  font-size: 13.5px;
  color: var(--ink-soft);
}

.contact-row a.link-btn {
  color: var(--red-deep);
  font-weight: 600;
  font-size: 13px;
}

.map-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  min-height: 340px;
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 340px;
  border: 0;
}

footer {
  background: var(--red-deep);
  color: var(--gold-pale);
  padding: 50px 24px 26px;
}

.footer-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
}

footer h5 {
  color: var(--gold-bright);
  font-size: 14.5px;
  margin-bottom: 16px;
  letter-spacing: 1px;
}

footer p,
footer li {
  font-size: 13px;
  opacity: .85;
  line-height: 2;
}

footer ul {
  list-style: none;
}

footer a:hover {
  color: var(--gold-bright);
}

.foot-bottom {
  max-width: 1180px;
  margin: 36px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12px;
  opacity: .7;
}

.foot-brand {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
}

.foot-brand .brand-mark {
  width: 64px;
  height: 64px;
}

.foot-brand .cn {
  color: var(--gold-bright);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.8;
  text-align: justify;
  text-justify: inter-word;
}

.foot-tagline-mobile {
  display: none;
}

.float-cart {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 70;
  background: linear-gradient(135deg, var(--red-bright), var(--red-deep));
  color: var(--white);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: none;
  box-shadow: 0 12px 28px rgba(140, 27, 27, .4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.float-cart .cart-count {
  position: absolute;
  top: -2px;
  right: -2px;
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(30, 15, 5, .45);
  backdrop-filter: blur(2px);
  z-index: 80;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}

.overlay.open {
  opacity: 1;
  pointer-events: all;
}

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: 420px;
  max-width: 92vw;
  background: var(--cream);
  z-index: 90;
  box-shadow: -14px 0 40px rgba(0, 0, 0, .25);
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.4, 0, .2, 1);
  display: flex;
  flex-direction: column;
}

.drawer.open {
  transform: translateX(0);
}

.drawer-head {
  padding: 22px 24px;
  background: linear-gradient(135deg, var(--red-deep), var(--red-bright));
  color: var(--gold-pale);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.drawer-head h3 {
  font-size: 18px;
  color: var(--white);
}

.drawer-head button {
  background: rgba(255, 255, 255, .15);
  border: none;
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 16px;
}

.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px 22px;
}

.drawer-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--ink-soft);
}

.drawer-empty .ic {
  font-size: 44px;
  margin-bottom: 14px;
}

.cart-item {
  display: flex;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.cart-item .ci-thumb {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: var(--gold-pale);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--red-deep);
  text-align: center;
}

.cart-item .ci-info {
  flex: 1;
}

.cart-item .ci-info b {
  font-size: 14px;
}

.cart-item .ci-info .meta {
  font-size: 11.5px;
  color: var(--ink-soft);
  margin-top: 2px;
}

.cart-item .ci-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

.cart-item .ci-actions .qty-box button {
  width: 24px;
  height: 24px;
  font-size: 12px;
}

.cart-item .ci-actions .qty-box input {
  width: 26px;
  font-size: 12px;
}

.ci-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  flex-shrink: 0;
}

.ci-remove {
  background: none;
  border: none;
  color: var(--red-bright);
  font-size: 11.5px;
  text-decoration: underline;
}

.ci-price {
  font-weight: 700;
  color: var(--red-deep);
  font-family: Arial;
  font-size: 14px;
  white-space: nowrap;
}

.drawer-foot {
  padding: 20px 22px;
  border-top: 1px solid var(--line);
  background: var(--white);
}

.sum-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  margin-bottom: 8px;
  color: var(--ink-soft);
}

.sum-row.total {
  font-size: 19px;
  font-weight: 800;
  color: var(--red-deep);
  font-family: Arial;
  margin: 12px 0 16px;
}

.checkout-btn {
  width: 100%;
  background: linear-gradient(135deg, var(--red-bright), var(--red-deep));
  color: #fff;
  border: none;
  padding: 15px;
  border-radius: 12px;
  font-size: 15.5px;
  font-weight: 700;
  box-shadow: var(--shadow);
}

.checkout-btn:disabled {
  opacity: .45;
  cursor: not-allowed;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(30, 15, 5, .55);
  z-index: 95;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow-y: auto;
}

.modal-overlay.open {
  display: flex;
}

.modal {
  background: var(--cream);
  border-radius: 20px;
  max-width: 560px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 30px 70px rgba(0, 0, 0, .4);
  animation: pop .3s ease;
}

@keyframes pop {
  from {
    transform: scale(.94);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

.modal-head {
  padding: 26px 28px 18px;
  text-align: center;
  border-bottom: 1px solid var(--line);
  position: relative;
}

.modal-head h3 {
  color: var(--red-deep);
  font-size: 21px;
}

.modal-head p {
  font-size: 13px;
  color: var(--ink-soft);
  margin-top: 6px;
}

.modal-close {
  position: absolute;
  right: 18px;
  top: 18px;
  background: var(--cream-2);
  border: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-size: 15px;
}

.modal-body {
  padding: 24px 28px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}

.form-group label .req {
  color: var(--red-bright);
}

.form-group input:not([type="radio"]):not([type="checkbox"]),
.form-group textarea,
.form-group select {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 11px 14px;
  font-size: 14px;
  font-family: Arial;
  background: var(--white);
}

.pay-opt input[type="radio"] {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 3px;
  accent-color: var(--red-deep);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold-deep);
  box-shadow: 0 0 0 3px rgba(201, 154, 61, .18);
}

.form-row2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.pay-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 6px;
}

.pay-opt {
  border: 1.5px solid var(--line);
  border-radius: 14px;
  padding: 0;
  display: block;
  cursor: pointer;
  transition: .2s;
  overflow: hidden;
}

.pay-opt.active {
  border-color: var(--gold-deep);
}

.pay-opt-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
}

.pay-opt.active .pay-opt-head {
  background: var(--gold-pale);
}

.pay-opt input {
  margin: 0;
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  accent-color: var(--red-deep);
}

.pay-opt b {
  font-size: 14px;
}

.pay-opt-content {
  display: none;
  flex-direction: column;
  align-items: center;
  padding: 18px 16px 20px;
  border-top: 1px solid var(--line);
  background: var(--white);
}

.pay-opt-content .bank-details {
  display: grid;
  grid-template-columns: auto 1fr;
  row-gap: 5px;
  column-gap: 4px;
  width: fit-content;
  margin: 0 auto;
}

.pay-opt-content .b-row {
  display: contents;
}

.pay-opt-content .b-row span {
  color: var(--ink-soft);
  font-family: Arial;
  text-align: right;
  white-space: nowrap;
}

.pay-opt-content .b-row b {
  color: var(--red-deep);
  font-family: Arial;
  font-weight: 700;
  margin-top: 2px;
}

.pay-opt.active .pay-opt-content {
  display: flex;
}

.pay-opt-content .qr-wrap {
  text-align: center;
  align-self: center;
  width: 100%;
}

.pay-opt-content .qr-wrap img {
  max-width: 150px;
  border-radius: 10px;
  margin: 0 auto;
  box-shadow: 0 4px 14px rgba(110, 70, 10, .15);
}

.pay-opt-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
}

.pay-opt-head-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.pay-opt-head-text b {
  font-size: 14px;
}

.pay-opt-head-text span {
  font-size: 12px;
  color: var(--ink-soft);
  font-weight: 400;
}

.modal-submit {
  width: 100%;
  background: linear-gradient(135deg, var(--red-bright), var(--red-deep));
  color: #fff;
  border: none;
  padding: 15px;
  border-radius: 12px;
  font-size: 15.5px;
  font-weight: 700;
  margin-top: 6px;
}

.note-box {
  background: var(--cream-2);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 12px;
  color: var(--ink-soft);
  line-height: 1.7;
  margin-top: 14px;
}

.review-box {
  border: 1.5px dashed var(--gold-deep);
  border-radius: 14px;
  padding: 18px 20px;
  margin-bottom: 20px;
  background: var(--cream-2);
}

.review-item {
  padding: 10px 0;
}

.review-item:last-of-type {
  border-bottom: none;
}

.review-item-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.review-item-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}

.review-item-price {
  font-size: 14px;
  font-weight: 700;
  color: var(--red-deep);
  font-family: Arial;
  white-space: nowrap;
}

.review-item-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

.review-item-offerer {
  font-size: 12.5px;
  color: var(--ink-soft);
}

.renew-badge {
  display: inline-block;
  background: var(--red-deep);
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 999px;
  letter-spacing: .5px;
}

.review-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  margin-top: 6px;
  border-top: 1.5px dashed var(--gold-deep);
  font-size: 16px;
  font-weight: 800;
  color: var(--red-deep);
}

.receipt {
  padding: 6px 0;
}

.receipt .ok-badge {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #cdf8d3;
  color: #156729;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  margin: 6px auto 16px;
}

.receipt h3 {
  text-align: center;
  color: var(--red-deep);
}

.receipt-id {
  text-align: center;
  font-size: 12.5px;
  color: var(--ink-soft);
  margin-top: 4px;
}

.receipt-id-big {
  text-align: center;
  font-family: Arial;
  font-weight: 800;
  font-size: 26px;
  color: var(--red-deep);
  letter-spacing: 1px;
  margin-top: 10px;
  background: var(--gold-pale);
  border-radius: 10px;
  padding: 10px;
  border: 1.5px dashed var(--gold-deep);
}

.receipt-id-note {
  text-align: center;
  font-size: 12px;
  color: var(--ink-soft);
  margin-top: 8px;
  line-height: 1.6;
  padding: 0 10px;
}

.receipt-list {
  margin-top: 18px;
  border-top: 1px dashed var(--line);
  padding-top: 14px;
}

.receipt-list .r-item {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  padding: 6px 0;
  color: var(--ink-soft);
}

.receipt-list .r-item b {
  color: var(--ink);
  font-weight: 500;
}

.receipt-total {
  display: flex;
  justify-content: space-between;
  font-size: 17px;
  font-weight: 800;
  color: var(--red-deep);
  padding-top: 12px;
  border-top: 1px dashed var(--line);
  margin-top: 8px;
}

.receipt-actions {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.receipt-actions .btn {
  flex: 1;
  justify-content: center;
  font-size: 13.5px;
  padding: 12px;
}

.copy-btn {
  background: var(--gold-pale);
  border: 1px solid var(--gold-deep);
  border-radius: 8px;
  font-size: 11px;
  padding: 4px 10px;
  color: var(--red-deep);
  font-weight: 700;
}

.toast {
  position: fixed;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  z-index: 120;
  background: var(--ink);
  color: var(--cream);
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 13.5px;
  opacity: 0;
  transition: .3s;
  pointer-events: none;
  box-shadow: var(--shadow);
  white-space: nowrap;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}

.fade-in.in {
  opacity: 1;
  transform: translateY(0);
}

.video-section {
  padding: 60px 24px 90px;
}

.video-section .section-head {
  margin-bottom: 36px;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.video-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .25s, box-shadow .25s;
}

.video-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 34px rgba(110, 70, 10, .22);
}

.video-card video {
  width: 100%;
  aspect-ratio: 16/9;
  background: #000;
  display: block;
}

.video-card .vc-caption {
  padding: 16px 18px;
}

.video-card .vc-caption h4 {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink);
  font-family: Arial;
  font-weight: 600;
}

.history-multi {
  max-height: 0;
  overflow: hidden;
  transition: max-height .5s ease;
  display: flex;
  flex-direction: column;
}

.history-multi-desc p {
  margin-bottom: 12px;
}

.history-multi-desc p:last-child {
  margin-bottom: 0;
}

.history-multi-desc b {
  color: var(--red-deep);
  font-family: Arial;
}

.history-card.open .history-multi {
  max-height: 20000px;
}

.history-multi-item {
  border-top: 1px solid var(--line);
  padding: 20px 30px;
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 20px;
  align-items: start;
}

.history-multi-item-no-descript {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  padding-bottom: 20px;
  display: flex;
  align-items: flex-start;
}

.history-multi-item-no-descript>div {
  width: 100%;
}

.history-multi-item-no-descript .photo-slider {
  max-width: 600px;
  aspect-ratio: auto;
  height: 500px;
}

#page-history .history-multi-item {
  grid-template-columns: 430px 1fr;
  gap: 24px;
}

#page-history .photo-slider {
  max-width: 430px;
}

#slider2009-5 .slider-slide img {
  object-fit: contain;
  transform: scale(1.35);
}

.history-photo-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.history-photo-thumb {
  width: 160px;
  height: 160px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  background: var(--cream-2);
  flex-shrink: 0;
}

.history-photo-thumb-no-descript img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  position: absolute;
  inset: 0;
}

.history-photo-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.history-photo-thumb .history-photo-ph {
  display: none;
  position: absolute;
  inset: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  text-align: center;
  padding: 8px;
  color: var(--ink-soft);
  font-size: 10px;
  line-height: 1.4;
}

.history-photo-thumb .history-photo-ph .icon {
  font-size: 22px;
}

.history-multi-desc {
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.85;
}

.history-timeline {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 1080px;
  margin: 0 auto;
}

.history-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.history-card .history-body {
  cursor: pointer;
  user-select: none;
  padding: 22px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.history-card .history-body>div:first-child {
  display: flex;
  flex-direction: column;
}

.history-card .card-toggle-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gold-pale);
  color: var(--red-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
  transition: transform .3s ease;
}

.history-card.open .card-toggle-icon {
  transform: rotate(180deg);
}

.history-card .history-photo {
  max-height: 0;
  aspect-ratio: unset;
  overflow: hidden;
  transition: max-height .4s ease;
}

.history-card.open .history-photo {
  max-height: 400px;
  aspect-ratio: 4/3;
}

.history-photo {
  aspect-ratio: 4/3;
  background: var(--cream-2);
  position: relative;
  overflow: hidden;
}

.history-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.history-photo-ph {
  display: none;
  position: absolute;
  inset: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  padding: 16px;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.6;
}

.history-photo-ph .icon {
  font-size: 26px;
}

.history-year {
  display: inline-block;
  font-family: Arial;
  font-weight: 800;
  color: var(--red-deep);
  font-size: 15px;
  margin-bottom: 6px;
}

.history-title {
  font-size: 14.5px;
  color: var(--ink);
  font-weight: 600;
}

.photo-slider {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 5/4;
}

#photoGroup2022 .photo-slider {
  max-width: 550px;
  height: 500px;
}

#photoGroup2022 .photo-slider .slider-slide img {
  object-fit: contain;
}

#photoGroup2018 .photo-slider {
  max-width: 600px;
  height: 500px;
}

#photoGroup2018 .photo-slider .slider-slide img {
  object-fit: contain;
}

.photo-slider .slider-track {
  display: flex;
  height: 100%;
  transition: transform .4s ease;
}

.photo-slider .slider-slide {
  min-width: 100%;
  height: 100%;
  position: relative;
  flex-shrink: 0;
}

.photo-slider .slider-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  position: absolute;
  inset: 0;
}

.photo-slider .slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, .35);
  color: #fff;
  border: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  z-index: 2;
  touch-action: manipulation;
}

.photo-slider .slider-nav:hover {
  background: rgba(0, 0, 0, .55);
}

.photo-slider .slider-prev {
  left: 10px;
}

.photo-slider .slider-next {
  right: 10px;
}

.photo-slider .slider-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 2;
}

.photo-slider .slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .55);
  cursor: pointer;
  border: none;
  padding: 0;
}

.photo-slider .slider-dot.active {
  background: #fff;
}

.roster-card {
  max-width: 3000px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 44px 34px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.roster-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('../media/logo.png') center center no-repeat;
  background-size: 70%;
  opacity: .06;
  z-index: 0;
  pointer-events: none;
}

.roster-card>* {
  position: relative;
  z-index: 1;
}

.roster-title {
  font-size: 26px;
  font-weight: 800;
  color: var(--red-deep);
  line-height: 1.5;
}

.roster-title .underline {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.roster-sub {
  font-size: 15px;
  color: var(--gold-deep);
  font-weight: 600;
  margin-top: 4px;
  letter-spacing: 1px;
}

.roster-divider {
  width: 90px;
  height: 2px;
  background: var(--gold-deep);
  margin: 18px auto 26px;
}

.roster-row {
  margin-bottom: 15px;
  font-size: 14.5px;
  line-height: 1.9;
}

.roster-row .role {
  font-weight: 700;
  color: var(--red-deep);
}

.roster-row .names {
  color: var(--ink);
}

.roster-row .names b {
  font-weight: 600;
}

/* .offer-thumb {
  position: relative;
  overflow: hidden;
  height: 200px;
}

.offer-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  position: absolute;
  inset: 0;
}

.offer-thumb .glyph {
  position: absolute;
  inset: 0;
  align-items: center;
  justify-content: center;
} */

@media (max-width:900px) {

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width:761px) and (max-width:1024px) {
  .video-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width:1024px) {
  html {
    height: 100%;
  }

  body {
    min-height: 100%;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
  }

  main#pageRoot {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
  }

  main#pageRoot .page.active {
    flex: 1 0 auto;
  }

  footer {
    flex-shrink: 0;
  }

  #page-history .history-multi-item {
    grid-template-columns: 320px 1fr;
    gap: 24px;
  }

  footer {
    padding: 50px 24px 50px;
  }

  .video-section {
    padding: 100px 24px 50px;
  }

  .history-multi-item-no-descript {
    padding-right: 10px;
    padding-left: 10px;
  }

  #page-history .history-multi-item-no-descript .photo-slider {
    max-width: 500px;
    padding-top: 20px;
    padding-bottom: 20px;
    height: auto;
    aspect-ratio: 5/4;
  }

  #page-events-celebration .history-multi-item-no-descript .photo-slider {
    max-width: 500px;
    padding-top: 20px;
    padding-bottom: 20px;
    height: auto;
    aspect-ratio: 5/4;
    margin: 0 auto;
  }

  #page-events-celebration .video-card {
    max-width: 85% !important;
  }

  #page-events-celebration .history-multi-item-no-descript {
    padding-left: 16px;
    padding-right: 16px;
  }

  .home-photo-frame {
    min-height: auto;
    max-height: none;
    height: auto;
  }

  .home-photo-frame img {
    position: static;
    object-fit: contain;
    width: 100%;
    height: auto;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .nav-wrap {
    gap: 16px;
    padding: 20px 30px;
  }

  nav.links>a,
  .nav-drop .drop-trigger {
    padding: 9px 10px;
    font-size: 13.5px;
  }

  .card-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    max-width: 600px !important;
    margin: 0 auto;
    gap: 30px;
  }

  .lamp-info {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  #page-donate {
    margin-top: 30px;
  }

  #page-donate .simple-card {
    margin-top: 60px;
  }
}

@media (max-width:760px) {
  html {
    height: 100%;
  }

  body {
    min-height: 100%;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
  }

  main#pageRoot {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
  }

  main#pageRoot .page.active {
    flex: 1 0 auto;
  }

  footer {
    flex-shrink: 0;
  }

  .nav-wrap {
    padding: 20px 30px;
  }

  .nav-drop .drop-trigger {
    border-radius: 0px;
  }

  #page-donate {
    margin-top: 0px;
  }

  #page-donate .simple-card {
    margin-top: 0px;
  }

  .card-grid {
    grid-template-columns: 1fr !important;
    max-width: 300px !important;
    margin: 0 auto;
  }

  .foot-brand .cn {
    font-size: 12px;
  }

  .foot-brand .brand-mark {
    width: 80px;
    height: 80px;
  }

  .home-photo-frame {
    min-height: auto;
    max-height: none;
    height: auto;
  }

  .home-photo-frame img {
    position: static;
    object-fit: contain;
    width: 100%;
    height: auto;
  }

  .modal-overlay {
    padding: 16px 14px;
  }

  .modal {
    max-height: calc(100dvh - 32px);
    margin-top: 0;
  }

  .video-grid {
    grid-template-columns: 1fr;
  }

  .hf-entry {
    grid-template-columns: 1fr;
  }

  nav.links {
    position: fixed;
    top: var(--header-h, 130px);
    right: 0;
    width: 280px;
    max-width: 80vw;
    background: var(--cream);
    flex-direction: column;
    align-items: stretch;
    padding: 20px 20px 20px;
    box-shadow: -10px 0 30px rgba(0, 0, 0, .25);
    transform: translateX(100%);
    transition: transform .3s;
    z-index: 91;
    overflow-y: auto;
    height: calc(var(--vh, 100vh) - var(--header-h, 130px));
  }

  nav.links.open {
    transform: translateX(0);
  }

  .nav-back-btn {
    display: none;
    align-items: center;
    gap: 8px;
    width: 100%;
    text-align: left;
    padding: 13px 10px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--line);
    font-size: 14.5px;
    font-weight: 600;
    color: var(--red-deep);
    background: none;
    border-left: none;
    border-right: none;
    border-top: none;
  }

  nav.links.open .nav-back-btn {
    display: flex;
  }

  .nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(30, 15, 5, .45);
    z-index: 90;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s;
  }

  .nav-overlay.open {
    opacity: 1;
    pointer-events: all;
  }

  nav.links>a {
    padding: 13px 10px;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
  }

  .nav-drop {
    width: 100%;
  }

  .drop-trigger {
    width: 100%;
    justify-content: space-between;
    padding: 13px 10px;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
  }

  .dropdown-panel {
    position: static;
    transform: none;
    opacity: 1;
    pointer-events: all;
    box-shadow: none;
    border: none;
    border-radius: 0;
    display: none;
    padding: 6px 0 6px 14px;
    background: var(--cream-2);
  }

  .nav-drop.open .dropdown-panel {
    display: flex;
    background-color: var(--white);
  }

  .dropdown-panel.two-col {
    flex-direction: column;
  }

  .dropdown-panel.two-col .dcol+.dcol {
    border-left: none;
    margin-left: 0;
    padding-left: 0;
    border-top: 1px solid var(--line);
    padding-top: 6px;
    margin-top: 6px;
  }

  .nav-drop::after,
  .nav-drop-sub::after {
    content: none;
  }

  .sub-trigger {
    width: 100%;
  }

  .sub-trigger .chev-sub {
    transition: transform .2s;
  }

  .nav-drop-sub.open .sub-trigger .chev-sub {
    transform: rotate(90deg);
  }

  .sub-panel {
    position: static;
    transform: none;
    opacity: 1;
    pointer-events: all;
    box-shadow: none;
    border: none;
    border-radius: 0;
    display: none;
  }

  .sub-panel a {
    font-size: 12.5px;
    padding: 7px 10px;
  }

  .nav-drop-sub.open .sub-panel {
    display: flex;
  }

  .burger {
    display: flex;
  }

  .nav-actions .cart-btn span.txt {
    display: none;
  }

  .cart-btn {
    padding: 10px 14px;
  }

  .hero {
    padding: 64px 20px 46px;
  }

  .hero::before,
  .hero::after {
    display: none;
  }

  section {
    padding: 20px 10px;
    padding-bottom: 60px;
  }

  #page-home {
    margin-top: 30px;
  }

  .section-head {
    margin-top: 44px;
  }

  .page-hero {
    padding: 20px 20px 6px;
  }

  .form-row2 {
    grid-template-columns: 1fr;
  }

  .drawer {
    width: 100%;
    max-width: 100%;
  }

  .float-cart {
    display: none;
  }

  .lang-toggle button {
    padding: 7px 10px;
    font-size: 11px;
  }

  .history-year {
    font-size: 12px;
  }

  .history-title {
    font-size: 13px;
  }

  .history-multi-item-no-descript {
    padding-right: 10px;
    padding-left: 10px;
    padding-bottom: 48px;
  }

  .history-multi-desc p {
    font-size: 11.5px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 26px;
  }

  .footer-grid>div:first-child {
    grid-column: 1 / -1;
  }

  .foot-tagline-desktop {
    display: none;
  }

  .foot-tagline-mobile {
    display: block;
    grid-column: 1 / -1;
    font-size: 13px;
    opacity: .85;
    line-height: 2;
    margin-bottom: 30px;
    margin-top: 15px;
  }

  .roster-title {
    font-size: 24px;
  }

  .drawer {
    position: fixed;
    top: 25px;
    right: 20px;
    bottom: 25px;
    left: 20px;
    width: auto;
    max-width: none;
    height: auto;
    min-height: 0;
    max-height: none;
    border-radius: 20px;
    transform: translateX(120%);
    display: grid;
    grid-template-rows: auto 1fr auto;
    overflow: hidden;
  }

  .drawer.open {
    transform: translateX(0);
  }

  .form-group {
    margin-bottom: 19px;
  }

  .form-group label {
    margin-bottom: 4px;
  }

  .form-group input:not([type="radio"]):not([type="checkbox"]),
  .form-group textarea,
  .form-group select {
    padding: 9px 12px;
    font-size: 13px;
  }

  .pay-opt-head {
    padding: 11px 12px;
  }

  .pay-opt-head-text b {
    font-size: 13px;
  }

  .pay-opt-head-text span {
    font-size: 11px;
  }

  .pay-opt-content {
    padding: 20px;
  }

  .pay-opt-content .qr-wrap img {
    max-width: 120px;
  }

  .pay-opt-content .b-row {
    font-size: 11px;
  }

  .pay-opt-content .b-row b {
    font-size: 11px;
  }

  .review-box {
    padding: 14px 16px;
    margin-bottom: 14px;
  }

  .modal-submit {
    padding: 13px;
    font-size: 14px;
  }

  .contact-card {
    padding: 20px;
    gap: 14px;
  }

  .contact-row {
    gap: 10px;
  }

  .contact-row .ic {
    width: 34px;
    height: 34px;
    font-size: 15px;
    border-radius: 10px;
  }

  .contact-row b {
    font-size: 12.5px;
  }

  .contact-row span {
    font-size: 12px;
  }

  .contact-row a.link-btn {
    font-size: 11.5px;
  }

  #c-wa-list {
    font-size: 12px;
  }

  .sub-trigger {
    width: 100%;
    background: var(--white);
    border-radius: 0px;
    margin-bottom: 4px;
  }

  @media (hover:hover) {
    .sub-trigger:hover {
      background: var(--gold-pale);
    }
  }

  .nav-drop-sub.open .sub-trigger {
    background: var(--white) !important;
  }

  .sub-trigger.current {
    background: none !important;
    color: var(--red-deep) !important;
  }

  .sub-panel {
    background: var(--white);
    margin: 2px 10px 10px 0px;
    padding: 6px 6px 6px 6px;
  }

  .sub-panel a {
    border-radius: 8px;
  }

  .sub-panel a:hover {
    background: var(--gold-pale);
    color: var(--red-deep);
  }

  .sub-panel a.current {
    background: var(--gold-deep);
    color: var(--white);
  }

  .roster-card {
    padding: 24px 16px;
  }

  .roster-card::before {
    background-size: 85%;
  }

  .roster-title {
    font-size: 15px;
  }

  .roster-sub {
    font-size: 10.5px;
  }

  .roster-divider {
    width: 69px;
    margin: 12px auto 18px;
  }

  .roster-row {
    font-size: 10.5px;
    line-height: 1.5;
    margin-bottom: 9px;
  }

  .top-ribbon {
    font-size: 10px;
  }

  .video-section {
    padding: 50px 24px 50px;
  }

  #page-home .video-grid {
    max-width: 320px;
    margin: 0 auto;
  }

  #page-history .history-multi-item-no-descript .photo-slider {
    max-width: 450px;
    padding-top: 20px;
    padding-bottom: 20px;
    height: auto;
    aspect-ratio: 5/4;
  }

  .photo-slider .slider-slide img {
    object-fit: contain;
    width: 100%;
    height: 100%;
  }

  #page-events-celebration .history-multi-item-no-descript .photo-slider {
    max-width: 450px;
    padding-top: 20px;
    padding-bottom: 20px;
    height: auto;
    aspect-ratio: 5/4;
  }
}

@media (max-width:600px) {
  .history-multi-item {
    grid-template-columns: 1fr;
  }

  #page-history .history-multi-item {
    grid-template-columns: 1fr;
  }

  #page-history .photo-slider {
    max-width: 100%;
  }

  .history-multi-item-no-descript .photo-slider {
    height: 70vh;
    max-height: 400px;
  }
}

@media (min-width:761px) {
  .float-cart {
    display: none;
  }

  .nav-back-btn {
    display: none !important;
  }

  .modal-body .form-row2 {
    grid-template-columns: 1fr 1fr;
  }

  .modal-body .form-row2 {
    display: contents;
  }
}