:root {
  --paper: #FBF9F5;
  --ivory: #F3EDE3;
  --wood-50: #F5EFE8;
  --wood-100: #E8DDD0;
  --wood-600: #6B4C35;
  --wood-700: #4F3725;
  --wood-800: #3D2A1C;
  --wood-900: #2C1E14;
  --cinnabar-100: #EBF2EE;
  --cinnabar-500: #3B7A61;
  --cinnabar-600: #2D634D;
  --cinnabar-700: #214B3A;
  --ink: #241E1A;
  --text-muted: #5C534A;
  --text-light: #7E7469;
  --border: #E4DDD2;
  --white: #FFFFFF;
  --font-serif: "Noto Serif TC", "Songti TC", "PMingLiU", Georgia, serif;
  --font-sans: "Noto Sans TC", "PingFang HK", "Microsoft JhengHei", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

button, input, select {
  font-family: inherit;
}

.hidden {
  display: none !important;
}

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

/* Top Bar */
.top-bar {
  background: var(--wood-900);
  color: var(--wood-50);
  font-size: 12px;
  padding: 8px 0;
}

.top-bar-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px 20px;
}

.top-bar-group,
.top-bar-hours {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
}

.top-bar-hours {
  color: rgba(245, 239, 232, 0.85);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(251, 249, 245, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-logo img {
  height: 46px;
  width: auto;
  mix-blend-mode: multiply;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
}

.main-nav a:hover {
  color: var(--wood-700);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cart-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--cinnabar-500);
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
}

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 18px;
  color: var(--wood-800);
  cursor: pointer;
}

.mobile-menu {
  border-top: 1px solid var(--border);
  background: var(--paper);
  padding: 12px 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mobile-nav-link {
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 15px;
  color: var(--ink);
}

.mobile-nav-link:hover {
  background: var(--wood-50);
  color: var(--wood-700);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn-sm {
  padding: 8px 15px;
  font-size: 13px;
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background: var(--wood-700);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--wood-800);
}

.btn-primary:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.btn-outline {
  background: transparent;
  border-color: var(--wood-700);
  color: var(--wood-700);
}

.btn-outline:hover {
  background: var(--wood-50);
}

.btn-white {
  background: var(--white);
  border-color: #CFC6B8;
  color: var(--ink);
}

.btn-white:hover {
  border-color: var(--wood-700);
  color: var(--wood-700);
}

/* Sections */
.section {
  padding: 68px 0;
}

.section-white {
  background: var(--white);
}

.section-border {
  border-bottom: 1px solid var(--border);
}

.section-head {
  max-width: 680px;
  margin-bottom: 36px;
}

.section-head.no-margin {
  margin-bottom: 0;
}

.eyebrow {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cinnabar-700);
}

.section-title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(24px, 3vw, 32px);
  color: var(--wood-900);
  line-height: 1.3;
}

.section-sub {
  margin: 10px 0 0;
  color: var(--text-muted);
  font-size: 15px;
}

.body-copy {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.8;
}

/* Hero */
.hero {
  padding: 56px 0 68px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 44px;
  align-items: center;
}

.credential-tag {
  display: inline-block;
  padding: 5px 12px;
  background: var(--wood-50);
  border-left: 3px solid var(--cinnabar-600);
  border-radius: 4px;
  color: var(--wood-800);
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 18px;
}

.hero-title {
  margin: 0 0 18px;
  font-family: var(--font-serif);
  font-size: clamp(30px, 4.2vw, 46px);
  line-height: 1.25;
  color: var(--wood-900);
}

.hero-desc {
  margin: 0 0 24px;
  font-size: 16px;
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.specialties {
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.specialty-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.specialty-list span {
  padding: 6px 12px;
  border-radius: 8px;
  background: var(--ivory);
  border: 1px solid var(--border);
  color: var(--wood-900);
  font-size: 13px;
  font-weight: 500;
}

.hero-art-card {
  background: rgba(243, 237, 227, 0.78);
  border: 1px solid var(--wood-100);
  border-radius: 12px;
  padding: 22px;
}

.hero-art-img {
  width: 100%;
  mix-blend-mode: multiply;
}

.hero-art-caption {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--wood-100);
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
}

.serif-caption {
  font-family: var(--font-serif);
  letter-spacing: 0.08em;
}

.caption-en {
  color: var(--cinnabar-700);
  font-weight: 500;
}

/* Heritage Band */
.heritage-band {
  background: rgba(243, 237, 227, 0.65);
  padding: 52px 0;
}

.heritage-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 36px;
  align-items: center;
}

.heritage-media img {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--border);
}

.heritage-text p {
  color: var(--text-muted);
  font-size: 15px;
  margin: 12px 0 0;
}

/* Doctors */
.doctors-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.doctor-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 26px;
  display: flex;
  gap: 22px;
  align-items: flex-start;
}

.doctor-photo {
  width: 136px;
  height: 184px;
  object-fit: cover;
  object-position: top;
  border-radius: 10px;
  border: 1px solid var(--border);
  flex-shrink: 0;
}

.role-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--wood-50);
  color: var(--wood-800);
  font-size: 12px;
  font-weight: 600;
}

.doctor-name {
  margin: 8px 0 12px;
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--wood-900);
}

.credential-list {
  margin: 0;
  padding-left: 18px;
  color: var(--text-muted);
  font-size: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* Online Shop */
.shop-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 24px;
}

.search-wrap {
  width: 310px;
  max-width: 100%;
}

.search-input {
  width: 100%;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid #CFC6B8;
  background: var(--paper);
  font-size: 14px;
  color: var(--ink);
}

.search-input:focus {
  outline: none;
  border-color: var(--wood-700);
}

.notice-banner {
  margin-bottom: 22px;
  padding: 12px 16px;
  border-radius: 10px;
  background: var(--cinnabar-100);
  border: 1px solid rgba(45, 99, 77, 0.22);
  color: var(--cinnabar-700);
  font-size: 13px;
}

.tabs-bar {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 28px;
}

.cat-tab,
.art-filter {
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  background: var(--paper);
  color: var(--text-muted);
  border: 1px solid var(--border);
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.18s ease;
}

.cat-tab:hover,
.art-filter:hover {
  border-color: var(--wood-600);
  color: var(--wood-800);
}

.cat-tab.active,
.art-filter.active {
  background: var(--wood-700);
  border-color: var(--wood-700);
  color: var(--white);
}

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

.product-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.product-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -10px rgba(79, 55, 37, 0.15);
  border-color: var(--cinnabar-500);
}

.product-thumb {
  width: 100%;
  height: 196px;
  background: var(--white);
  border: none;
  border-bottom: 1px solid #EFEAE0;
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.product-thumb img {
  max-height: 156px;
  width: auto;
  object-fit: contain;
}

.product-body {
  padding: 15px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
}

.product-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.product-series {
  font-size: 11px;
  color: var(--cinnabar-700);
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-spec-tag {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--wood-50);
  color: var(--wood-800);
  flex-shrink: 0;
}

.product-title-btn {
  background: none;
  border: none;
  padding: 0;
  text-align: left;
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 700;
  color: var(--wood-900);
  cursor: pointer;
  line-height: 1.35;
}

.product-title-btn:hover {
  color: var(--cinnabar-600);
}

.product-tagline {
  margin: 6px 0 0;
  font-size: 12px;
  color: var(--text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-foot {
  padding-top: 12px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.detail-link {
  background: none;
  border: none;
  padding: 0;
  font-size: 12px;
  color: var(--text-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.detail-link:hover {
  color: var(--wood-700);
}

.add-cart-btn {
  padding: 6px 12px;
  border-radius: 8px;
  border: none;
  font-size: 12px;
  font-weight: 500;
  background: var(--wood-700);
  color: var(--white);
  cursor: pointer;
}

.add-cart-btn:hover {
  background: var(--wood-800);
}

.add-cart-btn.in-cart {
  background: var(--cinnabar-600);
}

.empty-state {
  text-align: center;
  padding: 48px 20px;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text-muted);
}

/* Tianjiu */
.tianjiu-top {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 36px;
  align-items: start;
  margin-bottom: 40px;
}

.accent-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--cinnabar-100);
  color: var(--cinnabar-700);
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 12px;
}

.price-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 20px;
}

.price-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 18px;
  display: flex;
  flex-direction: column;
}

.price-box-dark {
  background: var(--wood-700);
  border-color: var(--wood-700);
  color: var(--white);
}

.price-label {
  font-size: 12px;
  color: var(--text-light);
}

.price-box-dark .price-label {
  color: var(--wood-100);
}

.price-val {
  font-size: 22px;
  font-weight: 700;
  color: var(--wood-800);
  margin-top: 2px;
}

.price-box-dark .price-val {
  color: var(--white);
}

.schedule-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px;
}

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

.schedule-head h3 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--wood-900);
}

.archive-tag {
  font-size: 11px;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--ivory);
  color: var(--text-muted);
}

.schedule-cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.schedule-box {
  padding: 14px;
  border-radius: 10px;
  background: var(--wood-50);
  border: 1px solid var(--wood-100);
}

.schedule-box-alt {
  background: var(--ivory);
  border-color: var(--border);
}

.schedule-box h4 {
  margin: 0 0 8px;
  font-size: 13px;
  color: var(--wood-900);
}

.schedule-box ul {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.schedule-note {
  margin: 14px 0 0;
  font-size: 12px;
  color: var(--text-light);
}

.compare-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.compare-head {
  background: var(--wood-900);
  color: var(--white);
  padding: 16px 24px;
}

.compare-head h3 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 18px;
}

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

.compare-col {
  padding: 24px;
}

.compare-col + .compare-col {
  border-left: 1px solid var(--border);
}

.compare-col-highlight {
  background: rgba(245, 239, 232, 0.55);
}

.compare-item-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.compare-item-head img {
  width: 88px;
  height: 88px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--border);
}

.compare-kicker {
  font-size: 12px;
  color: var(--text-light);
}

.compare-kicker.accent {
  color: var(--cinnabar-600);
  font-weight: 600;
}

.compare-item-head h4 {
  margin: 2px 0 0;
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--wood-900);
}

.compare-list {
  margin: 0;
  padding-left: 18px;
  color: var(--text-muted);
  font-size: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.compare-list.highlight {
  color: var(--ink);
}

/* Articles */
.articles-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 18px;
  margin-bottom: 28px;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.article-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.article-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -10px rgba(79, 55, 37, 0.14);
  border-color: var(--cinnabar-500);
}

.article-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.article-author {
  font-size: 12px;
  color: var(--text-light);
}

.article-title {
  margin: 0 0 8px;
  font-family: var(--font-serif);
  font-size: 17px;
  color: var(--wood-900);
  line-height: 1.4;
}

.article-summary {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
}

.article-foot {
  padding-top: 12px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.article-source-label {
  font-size: 11px;
  color: var(--text-light);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.read-article-btn {
  background: none;
  border: none;
  padding: 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--cinnabar-600);
  cursor: pointer;
  flex-shrink: 0;
}

.read-article-btn:hover {
  color: var(--wood-900);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 36px;
  align-items: start;
}

.info-card,
.guide-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 26px;
}

.info-row {
  padding: 14px 0;
  border-bottom: 1px solid #EFEAE0;
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 12px;
  font-size: 14px;
}

.info-row:first-child {
  padding-top: 0;
}

.info-row:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.info-row strong {
  color: var(--wood-900);
}

.info-row p {
  margin: 0;
  color: var(--text-muted);
}

.info-link {
  color: var(--ink);
  font-weight: 500;
}

.info-link:hover,
.text-link:hover {
  color: var(--cinnabar-600);
}

.text-link {
  display: inline-block;
  margin-top: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--wood-700);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hours-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
  color: var(--text-muted);
}

.hours-list div {
  display: grid;
  grid-template-columns: 155px 1fr;
  gap: 12px;
  align-items: baseline;
}

.hours-list .muted {
  color: var(--text-light);
}

.guide-card h3 {
  margin: 10px 0 8px;
  font-family: var(--font-serif);
  font-size: 21px;
  color: var(--wood-900);
}

.guide-card > p {
  margin: 0 0 20px;
  font-size: 14px;
  color: var(--text-muted);
}

.guide-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 22px;
}

.pickup-steps {
  background: rgba(243, 237, 227, 0.8);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px;
}

.pickup-steps h4 {
  margin: 0 0 8px;
  font-size: 14px;
  color: var(--wood-900);
}

.pickup-steps ol {
  margin: 0;
  padding-left: 18px;
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* Footer */
.site-footer {
  background: var(--wood-900);
  color: var(--wood-100);
  padding: 36px 0;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.footer-brand {
  margin: 0;
  font-family: var(--font-serif);
  color: var(--white);
  font-size: 16px;
  font-weight: 600;
}

.footer-sub {
  margin: 4px 0 0;
  font-size: 12px;
  color: rgba(232, 221, 208, 0.8);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 13px;
}

.footer-links a:hover {
  color: var(--white);
}

/* Modals & Drawer */
.modal-backdrop,
.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(36, 30, 26, 0.52);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.drawer-backdrop {
  justify-content: flex-end;
  padding: 0;
}

.modal-box {
  background: var(--white);
  border-radius: 12px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  border: 1px solid var(--border);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.22);
}

.modal-lg { max-width: 780px; }
.modal-sm { max-width: 520px; }

.modal-head {
  position: sticky;
  top: 0;
  background: var(--white);
  padding: 16px 22px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.modal-kicker {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--cinnabar-700);
}

.modal-title {
  margin: 2px 0 0;
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--wood-900);
}

.icon-close {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
}

.icon-close:hover {
  border-color: var(--wood-700);
}

.modal-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.pm-top {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 22px;
  align-items: start;
}

.pm-media {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pm-media img {
  max-height: 220px;
  width: auto;
}

.pm-tagline {
  margin: 0 0 10px;
  font-weight: 600;
  color: var(--wood-800);
}

.pm-desc {
  margin: 0 0 14px;
  font-size: 14px;
  color: var(--text-muted);
  white-space: pre-line;
}

.pm-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.tag-pill {
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--wood-50);
  color: var(--wood-800);
}

.tag-pill.muted {
  background: var(--ivory);
  color: var(--text-muted);
}

.pm-cta-row {
  padding-top: 12px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.small-label {
  display: block;
  font-size: 11px;
  color: var(--text-light);
}

.price-pending {
  font-size: 14px;
  font-weight: 600;
  color: var(--cinnabar-700);
}

.pm-details-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.detail-box {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 15px;
  font-size: 13px;
}

.detail-box-accent {
  background: var(--wood-50);
  border-color: var(--wood-100);
}

.detail-box h4 {
  margin: 0 0 6px;
  font-size: 14px;
  color: var(--wood-900);
}

.detail-box p {
  margin: 0;
  color: var(--text-muted);
  white-space: pre-line;
}

.article-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 15px;
  color: var(--ink);
  line-height: 1.85;
}

.article-body p {
  margin: 0;
  white-space: pre-line;
}

.article-source {
  padding-top: 14px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  color: var(--text-light);
}

/* Cart Drawer */
.drawer-panel {
  background: var(--white);
  width: 100%;
  max-width: 430px;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: -12px 0 36px rgba(0, 0, 0, 0.18);
}

.drawer-title-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.drawer-items {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cart-empty {
  text-align: center;
  padding: 48px 16px;
  color: var(--text-muted);
  font-size: 14px;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 10px;
}

.cart-item img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 4px;
  flex-shrink: 0;
}

.cart-item-info {
  flex: 1;
  min-width: 0;
}

.cart-item-name {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--wood-900);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-item-spec {
  margin: 2px 0 8px;
  font-size: 11px;
  color: var(--text-light);
}

.qty-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.qty-btn {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  border: 1px solid #CFC6B8;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
}

.qty-btn:hover {
  border-color: var(--wood-700);
}

.remove-btn {
  background: none;
  border: none;
  font-size: 12px;
  color: var(--text-light);
  cursor: pointer;
}

.remove-btn:hover {
  color: var(--cinnabar-600);
}

.drawer-footer {
  border-top: 1px solid var(--border);
  background: var(--paper);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pickup-box {
  background: var(--wood-50);
  border: 1px solid var(--wood-100);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 12px;
  color: var(--wood-900);
}

.pickup-box p {
  margin: 3px 0 0;
  color: var(--text-muted);
}

.field-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--wood-900);
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.field-input {
  width: 100%;
  padding: 9px 11px;
  border-radius: 8px;
  border: 1px solid #CFC6B8;
  background: var(--white);
  font-size: 13px;
  color: var(--ink);
}

.field-input:focus {
  outline: none;
  border-color: var(--wood-700);
}

.order-pre {
  margin: 0;
  padding: 14px;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--ink);
  white-space: pre-wrap;
  max-height: 240px;
  overflow-y: auto;
}

.order-actions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 60;
  padding: 10px 20px;
  border-radius: 8px;
  background: var(--wood-900);
  color: var(--white);
  font-size: 13px;
  font-weight: 500;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

/* Responsive */
@media (max-width: 1024px) {
  .main-nav { display: none; }
  .mobile-menu-btn { display: inline-flex; }
  .hero-grid,
  .heritage-grid,
  .tianjiu-top,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .articles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .top-bar-hours,
  .hide-mobile { display: none; }
  .doctors-grid,
  .compare-grid,
  .articles-grid,
  .pm-top,
  .pm-details-grid,
  .schedule-cols,
  .order-actions {
    grid-template-columns: 1fr;
  }
  .compare-col + .compare-col {
    border-left: none;
    border-top: 1px solid var(--border);
  }
  .doctor-card {
    flex-direction: column;
  }
  .product-grid {
    grid-template-columns: 1fr;
  }
  .info-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}


/* Acupoint Diagrams & Magazine Scans */
.pm-diagrams {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 10px 0 14px;
  align-items: flex-start;
}

.pm-diagrams img {
  max-height: 240px;
  width: auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 6px;
}

.article-scans {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.article-scans img {
  width: 100%;
  border-radius: 8px;
  border: 1px solid var(--border);
}

.btn-whatsapp {
  background: #1F7A4C;
  color: var(--white);
  border-color: #1F7A4C;
}

.btn-whatsapp:hover {
  background: #17613C;
}

/* Grouped Collection Layout (Series -> Products) */
.shop-sections {
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.series-block {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.series-block + .series-block {
  padding-top: 44px;
  border-top: 1px solid var(--border);
}

/* Large Hero Banner for Series WITH a KV */
.series-hero {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(280px, 48%) 1fr;
  align-items: stretch;
}

.series-hero-wide {
  grid-template-columns: minmax(320px, 56%) 1fr;
}

.series-hero-media {
  position: relative;
  background: var(--white);
  border-right: 1px solid var(--border);
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: zoom-in;
}

.series-hero-media img {
  width: 100%;
  max-height: 460px;
  object-fit: contain;
  border-radius: 6px;
}

.series-hero-wide .series-hero-media {
  padding: 0;
  background: var(--ivory);
}

.series-hero-wide .series-hero-media img {
  width: 100%;
  height: 100%;
  max-height: 360px;
  object-fit: cover;
  border-radius: 0;
}

.zoom-chip {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 6px 12px;
  border-radius: 6px;
  background: rgba(44, 30, 20, 0.84);
  color: var(--white);
  font-size: 12px;
  font-weight: 500;
  border: none;
  cursor: zoom-in;
}

.series-hero-body {
  padding: 32px 34px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.series-count {
  display: inline-block;
  align-self: flex-start;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--wood-50);
  color: var(--wood-800);
  font-size: 12px;
  font-weight: 600;
}

.series-heading {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(21px, 2.4vw, 26px);
  color: var(--wood-900);
  line-height: 1.3;
}

.series-desc {
  margin: 0;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
}

.series-highlights {
  margin: 4px 0 0;
  padding-left: 18px;
  font-size: 13px;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  gap: 5px;
}

/* Clean Typographic Header for Series WITHOUT a Group KV */
.series-typo-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px 24px;
  padding: 4px 0 14px 16px;
  border-left: 3px solid var(--cinnabar-600);
  border-bottom: 1px solid var(--border);
}

.series-typo-head .series-desc {
  margin-top: 6px;
  max-width: 680px;
}

.product-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

/* Lightbox */
.lightbox-box {
  background: var(--white);
  border-radius: 12px;
  max-width: 960px;
  width: 100%;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.35);
}

.lightbox-body {
  padding: 18px;
  overflow: auto;
  display: flex;
  justify-content: center;
  background: var(--paper);
}

.lightbox-body img {
  max-height: 78vh;
  width: auto;
  object-fit: contain;
}

@media (max-width: 900px) {
  .series-hero,
  .series-hero-wide {
    grid-template-columns: 1fr;
  }
  .series-hero-media {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  .series-hero-body {
    padding: 22px;
  }
  .product-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .product-grid-3 {
    grid-template-columns: 1fr;
  }
}


.modal-head-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.standalone-wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px 72px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--wood-700);
  margin-bottom: 24px;
  font-weight: 500;
}

.back-link:hover {
  color: var(--cinnabar-600);
}

.standalone-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}



/* === Mature-Reader Typography & Compact Anti-Scroll UX Optimization === */
:root {
  --ink: #1D1815;
  --text-muted: #4A423A;
  --text-light: #696056;
}

body {
  font-size: 17px;
  line-height: 1.7;
}

.top-bar {
  font-size: 13.5px;
  padding: 6px 0;
}

.header-inner {
  height: 64px;
}

.main-nav {
  gap: 22px;
  font-size: 15.5px;
}

.btn {
  padding: 10px 20px;
  font-size: 15.5px;
}

.btn-sm {
  padding: 8px 14px;
  font-size: 14.5px;
}

/* Tighter vertical rhythm — eliminate wasted white space */
.hero {
  padding: 28px 0 34px;
}

.hero-grid {
  gap: 28px;
}

.credential-tag {
  font-size: 14.5px;
  margin-bottom: 12px;
}

.hero-title {
  font-size: clamp(30px, 3.8vw, 44px);
  margin-bottom: 14px;
}

.hero-desc {
  font-size: 17px;
  line-height: 1.75;
  margin-bottom: 18px;
}

.hero-actions {
  margin-bottom: 18px;
}

.specialties {
  padding-top: 14px;
}

.specialty-list span {
  font-size: 14.5px;
  padding: 5px 11px;
}

.hero-art-card {
  padding: 16px;
}

.hero-art-caption {
  font-size: 13.5px;
  margin-top: 10px;
  padding-top: 8px;
}

.heritage-band {
  padding: 28px 0;
}

.heritage-grid {
  gap: 24px;
}

.heritage-text p {
  font-size: 16px;
  margin-top: 8px;
}

.section {
  padding: 38px 0;
}

.section-head {
  margin-bottom: 20px;
}

.eyebrow {
  font-size: 13px;
}

.section-title {
  font-size: clamp(24px, 2.8vw, 32px);
}

.section-sub,
.body-copy {
  font-size: 16px;
  margin-top: 6px;
}

/* Keep Doctors Side-by-Side down to 540px with compact spacing */
.doctors-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.doctor-card {
  padding: 18px;
  gap: 16px;
}

.doctor-photo {
  width: 118px;
  height: 160px;
}

.role-badge {
  font-size: 13px;
}

.doctor-name {
  font-size: 22px;
  margin: 6px 0 8px;
}

.credential-list {
  font-size: 15.5px;
  gap: 4px;
}

/* Online Shop: larger text, tighter gaps, compact Series KV */
.shop-header {
  gap: 14px;
  margin-bottom: 14px;
}

.search-input {
  font-size: 15.5px;
  padding: 10px 14px;
}

.notice-banner {
  font-size: 14.5px;
  padding: 10px 14px;
  margin-bottom: 14px;
}

.tabs-bar {
  margin-bottom: 18px;
}

.cat-tab,
.art-filter {
  font-size: 15px;
  padding: 8px 14px;
}

.shop-sections {
  gap: 30px;
}

.series-block {
  gap: 16px;
}

.series-block + .series-block {
  padding-top: 26px;
}

.series-hero {
  grid-template-columns: minmax(220px, 42%) 1fr;
}

.series-hero-wide {
  grid-template-columns: minmax(260px, 50%) 1fr;
}

.series-hero-media {
  padding: 12px;
}

.series-hero-media img {
  max-height: 290px;
}

.series-hero-wide .series-hero-media img {
  max-height: 240px;
}

.series-hero-body {
  padding: 20px 24px;
  gap: 8px;
}

.series-heading {
  font-size: clamp(20px, 2.2vw, 25px);
}

.series-desc {
  font-size: 15.5px;
  line-height: 1.7;
}

.series-highlights {
  font-size: 14.5px;
}

.series-count {
  font-size: 13.5px;
}

.product-grid {
  gap: 16px;
}

.product-grid-3 {
  gap: 16px;
}

.product-thumb {
  height: 168px;
  padding: 12px;
}

.product-thumb img {
  max-height: 140px;
}

.product-body {
  padding: 13px;
  gap: 10px;
}

.product-series,
.product-spec-tag {
  font-size: 12.5px;
}

.product-title-btn {
  font-size: 17px;
}

.product-tagline {
  font-size: 14px;
  line-height: 1.5;
}

.detail-link {
  font-size: 13.5px;
}

.add-cart-btn {
  font-size: 13.5px;
  padding: 7px 12px;
}

/* Tianjiu Compact & Readable */
.tianjiu-top {
  gap: 24px;
  margin-bottom: 24px;
}

.price-row {
  margin-top: 14px;
  gap: 10px;
}

.price-label {
  font-size: 13.5px;
}

.price-val {
  font-size: 24px;
}

.schedule-card {
  padding: 18px;
}

.schedule-box h4 {
  font-size: 15px;
}

.schedule-box ul {
  font-size: 14px;
}

.schedule-note {
  font-size: 13.5px;
}

.compare-col {
  padding: 18px 20px;
}

.compare-list {
  font-size: 15.5px;
  gap: 6px;
}

/* Articles Compact & Readable */
.articles-header {
  margin-bottom: 18px;
}

.articles-grid {
  gap: 16px;
}

.article-card {
  padding: 18px;
  gap: 12px;
}

.article-author,
.article-source-label {
  font-size: 13px;
}

.article-title {
  font-size: 18px;
}

.article-summary {
  font-size: 14.5px;
  line-height: 1.6;
}

.read-article-btn {
  font-size: 14px;
}

/* Contact Compact & Readable */
.contact-grid {
  gap: 24px;
}

.info-card,
.guide-card {
  padding: 20px;
}

.info-row {
  padding: 11px 0;
  font-size: 15.5px;
  grid-template-columns: 105px 1fr;
}

.guide-card > p,
.pickup-steps ol {
  font-size: 15px;
}

.pickup-steps h4 {
  font-size: 15.5px;
}

/* Modals & Cart Drawer: larger readable text for mature users */
.modal-title {
  font-size: 21px;
}

.pm-tagline {
  font-size: 16.5px;
}

.pm-desc,
.detail-box,
.detail-box p {
  font-size: 15.5px;
  line-height: 1.7;
}

.detail-box h4 {
  font-size: 16px;
}

.article-body {
  font-size: 17px;
  line-height: 1.85;
}

.cart-item-name {
  font-size: 15.5px;
}

.cart-item-spec,
.pickup-box,
.field-label {
  font-size: 13.5px;
}

.field-input {
  font-size: 15px;
  padding: 10px 12px;
}

.order-pre {
  font-size: 14.5px;
}

.site-footer {
  padding: 24px 0;
}

.footer-sub,
.footer-links {
  font-size: 14px;
}

/* Keep side-by-side layouts longer so users don't scroll needlessly on tablets / split screens */
@media (max-width: 960px) {
  .doctors-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .doctor-card {
    flex-direction: column;
    align-items: flex-start;
  }
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .articles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .doctors-grid,
  .articles-grid,
  .product-grid,
  .product-grid-3 {
    grid-template-columns: 1fr;
  }
  .doctor-card {
    flex-direction: row;
  }
  .doctor-photo {
    width: 96px;
    height: 130px;
  }
}



/* === Enlarged Clinic Logo & Calm Non-Error Notice Styling === */
.header-inner {
  height: 86px;
}

.brand-logo img {
  height: 68px;
  width: auto;
  object-fit: contain;
}

.notice-banner {
  background: var(--wood-50);
  border: 1px solid var(--wood-100);
  border-left: 4px solid var(--wood-700);
  color: var(--wood-900);
  font-size: 15px;
  line-height: 1.75;
  padding: 14px 18px;
}

@media (max-width: 720px) {
  .header-inner {
    height: 72px;
  }
  .brand-logo img {
    height: 54px;
  }
}



/* === Hero Calligraphic Motto & Single-Column Contact === */
.hero-motto {
  margin: 0 0 12px;
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--cinnabar-700);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.hero-motto::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 2px;
  background: var(--cinnabar-600);
}

.contact-single {
  max-width: 1200px;
}



/* === Final Logo Size, Clean Motto & Zero Horizontal Overflow Fix === */
html, body {
  overflow-x: clip;
}

.header-inner {
  height: 100px;
}

.brand-logo img {
  height: 84px;
  width: auto;
  object-fit: contain;
}

.hero-motto {
  letter-spacing: 0.12em;
  display: block;
}

.hero-motto::before {
  display: none;
  content: none;
}

/* Prevent CSS Grid children with nowrap text from causing horizontal overflow */
.articles-grid > *,
.product-grid > *,
.product-grid-3 > *,
.doctors-grid > *,
.series-block > *,
.article-card,
.article-foot,
.product-card,
.product-body {
  min-width: 0;
  max-width: 100%;
}

.article-source-label {
  min-width: 0;
  flex: 1 1 auto;
}

@media (max-width: 720px) {
  .header-inner {
    height: 80px;
  }
  .brand-logo img {
    height: 64px;
  }
}
