/* ==========================================================================
   HanBloom Heritage — Quiet Luxury Chinese Artistry Design System
   1:1 Aesthetic & Conversion Architecture inspired by SinoCultural
   ========================================================================== */

:root {
  --hb-bg: #F7F4EE;
  --hb-bg-soft: #FBFBEF;
  --hb-bg-card: #FFFFFF;
  --hb-bg-footer: #EFEBE3;
  --hb-ink: #000000;
  --hb-ink-soft: #3D3B38;
  --hb-muted: #76726C;
  --hb-border: #D2CFCA;
  --hb-gold: #BC8828;
  --hb-gold-soft: #E0AB75;
  --hb-red: #CD2128;
  --hb-green-tile: #2E5242;
  --hb-font-serif: 'EB Garamond', 'Noto Serif SC', Georgia, serif;
  --hb-font-sans: 'Poppins', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --hb-max: 1380px;
}

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

html, body {
  margin: 0;
  padding: 0;
  background-color: var(--hb-bg);
  color: var(--hb-ink);
  font-family: var(--hb-font-sans);
  font-size: 15px;
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s ease, opacity .2s ease; }

.hb-container {
  max-width: var(--hb-max);
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- 1. Announcement Bar ---------- */
.hb-announcement {
  background: var(--hb-gold);
  color: #FFFFFF;
  text-align: center;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  padding: 8px 16px;
  position: relative;
  z-index: 60;
}
.hb-announcement-slide { display: none; }
.hb-announcement-slide.is-active { display: block; }

/* ---------- 2. Double-Row Transparent -> Sticky Header ---------- */
.hb-header {
  position: relative;
  z-index: 50;
  background: #FFFFFF;
  color: var(--hb-ink);
  border-bottom: 1px solid var(--hb-border);
  transition: background .25s ease, color .25s ease, box-shadow .25s ease;
}
.home .hb-header {
  position: absolute;
  top: var(--hb-ann-h, 36px);
  left: 0;
  right: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.48) 0%, rgba(0,0,0,0) 100%);
  color: #FFFFFF;
  border-bottom-color: rgba(255,255,255,0.16);
}
.home .hb-header:hover {
  background: #FFFFFF;
  color: var(--hb-ink);
  border-bottom: 1px solid var(--hb-border);
  box-shadow: 0 6px 24px rgba(0,0,0,0.06);
}
.hb-header.is-sticky,
.home .hb-header.is-sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 80;
  background: #FFFFFF;
  color: var(--hb-ink);
  border-bottom: 1px solid var(--hb-border);
  box-shadow: 0 6px 24px rgba(0,0,0,0.06);
}

.hb-header-top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 14px 28px 10px;
  max-width: var(--hb-max);
  margin: 0 auto;
  gap: 16px;
}

.hb-search-form {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 280px;
  border-bottom: 1px solid currentColor;
  padding-bottom: 4px;
  opacity: 0.88;
}
.hb-search-form input {
  background: transparent;
  border: none;
  outline: none;
  color: inherit;
  font-size: 13px;
  width: 100%;
  font-family: inherit;
}
.hb-search-form input::placeholder { color: currentColor; opacity: 0.72; }
.hb-search-form button {
  background: transparent; border: none; color: inherit; cursor: pointer; padding: 0;
}

.hb-logo {
  font-family: var(--hb-font-serif);
  font-size: 32px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-align: center;
  line-height: 1;
}
.hb-logo-sub {
  display: block;
  font-family: var(--hb-font-sans);
  font-size: 9px;
  letter-spacing: 0.34em;
  opacity: 0.78;
  margin-top: 3px;
}

.hb-header-tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}

.hb-lang-switcher {
  position: relative;
  font-size: 12.5px;
  cursor: pointer;
}
.hb-lang-current {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  border: 1px solid currentColor;
  border-radius: 2px;
  opacity: 0.9;
}
.hb-lang-menu {
  display: none;
  position: absolute;
  right: 0;
  top: 100%;
  margin-top: 6px;
  background: #FFFFFF;
  color: var(--hb-ink);
  border: 1px solid var(--hb-border);
  min-width: 148px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.12);
  z-index: 90;
}
.hb-lang-switcher:hover .hb-lang-menu,
.hb-lang-switcher.is-open .hb-lang-menu { display: block; }
.hb-lang-menu a {
  display: flex;
  justify-content: space-between;
  padding: 8px 14px;
  font-size: 13px;
  border-bottom: 1px solid #F1EDE5;
}
.hb-lang-menu a:hover, .hb-lang-menu a.is-active {
  background: var(--hb-bg);
  color: var(--hb-gold);
  font-weight: 500;
}

.hb-icon-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
}
.hb-cart-badge {
  position: absolute;
  top: -7px;
  right: -9px;
  background: var(--hb-gold);
  color: #FFFFFF;
  font-size: 10px;
  font-weight: 600;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Second Nav Row */
.hb-nav-bar {
  max-width: var(--hb-max);
  margin: 0 auto;
  padding: 0 28px;
}
.hb-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 20px;
}
.hb-nav-item {
  position: relative;
  flex-shrink: 0;
}
.hb-nav-link {
  display: inline-block;
  padding: 10px 2px 13px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  position: relative;
}
.hb-nav-link::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 8px;
  height: 1.5px;
  background: var(--hb-gold);
  transform: scaleX(0);
  transition: transform .22s ease;
}
.hb-nav-item:hover .hb-nav-link::after { transform: scaleX(1); }
.hb-nav-link.is-highlight { color: var(--hb-red) !important; font-weight: 600; }
.home .hb-header:not(.is-sticky):not(:hover) .hb-nav-link.is-highlight { color: #FFD27D !important; }

/* Mega Dropdown */
.hb-mega {
  display: none;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 100%;
  background: #FFFFFF;
  color: var(--hb-ink);
  border: 1px solid var(--hb-border);
  box-shadow: 0 18px 40px rgba(0,0,0,0.12);
  padding: 24px 28px;
  min-width: 500px;
  z-index: 80;
}
.hb-nav-item:first-child .hb-mega { left: 0; transform: none; }
.hb-nav-item:last-child .hb-mega { left: auto; right: 0; transform: none; }
.hb-nav-item:hover .hb-mega { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.hb-mega-title {
  font-family: var(--hb-font-serif);
  font-size: 16px;
  font-weight: 600;
  color: var(--hb-gold);
  margin: 0 0 10px;
  letter-spacing: 0.04em;
}
.hb-mega a {
  display: block;
  padding: 5px 0;
  font-size: 13.5px;
  color: var(--hb-ink-soft);
}
.hb-mega a:hover { color: var(--hb-gold); }

/* Mobile Menu Button */
.hb-mobile-toggle {
  display: none;
  background: transparent;
  border: 1px solid currentColor;
  color: inherit;
  padding: 5px 10px;
  font-size: 14px;
  cursor: pointer;
}

/* ---------- 3. Double-Line Octagon Oriental Button (SinoCultural Signature) ---------- */
.hb-btn-oct {
  display: inline-block;
  position: relative;
  padding: 13px 34px;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1px solid currentColor;
  background: rgba(0,0,0,0.35);
  color: #FFFFFF;
  cursor: pointer;
  transition: all .25s ease;
}
.hb-btn-oct::before {
  content: '';
  position: absolute;
  inset: 3px;
  border: 1px solid currentColor;
  opacity: 0.65;
  pointer-events: none;
}
.hb-btn-oct:hover {
  background: var(--hb-gold);
  border-color: var(--hb-gold);
  color: #FFFFFF;
}

.hb-btn-dark {
  display: inline-block;
  padding: 13px 32px;
  background: var(--hb-ink);
  color: #FFFFFF;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid var(--hb-ink);
  cursor: pointer;
  transition: all .2s ease;
}
.hb-btn-dark:hover { background: var(--hb-gold); border-color: var(--hb-gold); color: #FFFFFF; }

.hb-btn-outline {
  display: inline-block;
  padding: 12px 30px;
  background: transparent;
  color: var(--hb-ink);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid var(--hb-ink);
  cursor: pointer;
  transition: all .2s ease;
}
.hb-btn-outline:hover { background: var(--hb-ink); color: #FFFFFF; }

/* ---------- 4. Fullscreen Hero Slideshow ---------- */
.hb-hero {
  position: relative;
  height: 88vh;
  min-height: 600px;
  max-height: 860px;
  overflow: hidden;
  background: #1A1613;
}
.hb-hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .8s ease;
  pointer-events: none;
}
.hb-hero-slide.is-active { opacity: 1; pointer-events: auto; }
.hb-hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.74);
}
.hb-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(16,12,9,0.72) 0%, rgba(16,12,9,0.28) 55%, rgba(16,12,9,0.12) 100%);
  display: flex;
  align-items: flex-end;
  padding: 0 0 96px;
}
.hb-hero-content {
  max-width: 660px;
  color: #FFFFFF;
}
.hb-eyebrow {
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--hb-gold-soft);
  margin-bottom: 14px;
  display: block;
}
.hb-hero-title {
  font-family: var(--hb-font-serif);
  font-size: clamp(36px, 5vw, 62px);
  font-weight: 400;
  line-height: 1.12;
  margin: 0 0 18px;
}
.hb-hero-sub {
  font-size: 15px;
  opacity: 0.9;
  margin: 0 0 28px;
  max-width: 540px;
}
.hb-hero-dots {
  position: absolute;
  right: 40px;
  bottom: 42px;
  z-index: 15;
  display: flex;
  gap: 12px;
}
.hb-hero-dot {
  width: 11px;
  height: 11px;
  border: 1.5px solid #FFFFFF;
  transform: rotate(45deg);
  background: transparent;
  cursor: pointer;
  padding: 0;
}
.hb-hero-dot.is-active { background: var(--hb-gold); border-color: var(--hb-gold); }

/* ---------- 5. Glazed Green Tile Eaves Divider (SinoCultural Signature) ---------- */
.hb-eaves-divider {
  width: 100%;
  height: 28px;
  background: repeating-linear-gradient(
    90deg,
    #244235 0px, #244235 28px,
    #365E4C 28px, #365E4C 32px,
    #1D352B 32px, #1D352B 44px
  );
  border-top: 3px solid #BC8828;
  border-bottom: 2px solid #162820;
  position: relative;
}

/* ---------- 6. Sections & Headings ---------- */
.hb-section { padding: 76px 0; }
.hb-section-soft { background: var(--hb-bg-soft); }
.hb-section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 42px;
}
.hb-section-title {
  font-family: var(--hb-font-serif);
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 500;
  margin: 6px 0 12px;
  letter-spacing: 0.02em;
}
.hb-section-desc { color: var(--hb-ink-soft); font-size: 14.5px; margin: 0; }

/* Solar / Story Split */
.hb-story-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.hb-chamfer-frame {
  position: relative;
  padding: 12px;
  border: 1px solid var(--hb-border);
  background: #FFFFFF;
}
.hb-chamfer-frame::before {
  content: '';
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(188,136,40,0.45);
  pointer-events: none;
}

/* Tabs */
.hb-tabs {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 36px;
  border-bottom: 1px solid var(--hb-border);
}
.hb-tab-btn {
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 12px 6px;
  font-family: var(--hb-font-serif);
  font-size: 21px;
  color: var(--hb-muted);
  cursor: pointer;
  transition: all .2s ease;
}
.hb-tab-btn.is-active, .hb-tab-btn:hover {
  color: var(--hb-ink);
  border-bottom-color: var(--hb-gold);
}
.hb-tab-panel { display: none; }
.hb-tab-panel.is-active { display: block; }

/* Category 4-Card Grid & Journal 3-Card Grid */
.hb-cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.hb-journal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.hb-cat-card {
  display: block;
  background: #FFFFFF;
  border: 1px solid var(--hb-border);
  padding: 10px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.hb-cat-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(0,0,0,0.07); }
.hb-cat-card-img { aspect-ratio: 1 / 1; overflow: hidden; background: var(--hb-bg); }
.hb-cat-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.hb-cat-card:hover .hb-cat-card-img img { transform: scale(1.05); }
.hb-cat-card-meta { text-align: center; padding: 14px 8px 6px; }
.hb-cat-card-title { font-family: var(--hb-font-serif); font-size: 20px; margin: 0 0 4px; }
.hb-cat-card-sub { font-size: 12px; color: var(--hb-muted); letter-spacing: 0.08em; text-transform: uppercase; }

/* Product Grid & Cards */
.hb-product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.hb-product-card {
  background: #FFFFFF;
  border: 1px solid #E6E2DA;
  display: flex;
  flex-direction: column;
  transition: box-shadow .25s ease, transform .25s ease;
}
.hb-product-card:hover { box-shadow: 0 14px 28px rgba(0,0,0,0.07); transform: translateY(-3px); }
.hb-product-thumb {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--hb-bg);
}
.hb-product-thumb img {
  width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease;
}
.hb-product-card:hover .hb-product-thumb img { transform: scale(1.05); }
.hb-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--hb-gold);
  color: #FFFFFF;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 3px 9px;
  text-transform: uppercase;
}
.hb-badge.is-nfc { background: #244235; }
.hb-badge.is-diy { background: #8B4E2A; }

.hb-product-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.hb-product-craft {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--hb-gold);
  margin-bottom: 5px;
}
.hb-product-title {
  font-family: var(--hb-font-serif);
  font-size: 18px;
  line-height: 1.3;
  margin: 0 0 8px;
  color: var(--hb-ink);
}
.hb-product-price {
  margin-top: auto;
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 15px;
  font-weight: 500;
}
.hb-product-price del { color: var(--hb-muted); font-weight: 400; font-size: 13px; }
.hb-product-price ins { text-decoration: none; color: var(--hb-ink); }
.hb-card-actions { margin-top: 12px; }
.hb-card-add {
  display: block;
  width: 100%;
  text-align: center;
  padding: 9px 12px;
  background: var(--hb-ink);
  color: #FFFFFF;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.hb-card-add:hover { background: var(--hb-gold); color: #FFFFFF; }

/* NFC Showcase Section */
.hb-nfc-section {
  background: #1C2621;
  color: #F7F4EE;
  padding: 76px 0;
}
.hb-nfc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.hb-nfc-pills {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 24px 0 30px;
}
.hb-nfc-pill {
  border: 1px solid rgba(224,171,117,0.35);
  padding: 14px 16px;
  background: rgba(255,255,255,0.04);
}
.hb-nfc-pill strong { display: block; color: var(--hb-gold-soft); font-family: var(--hb-font-serif); font-size: 18px; }
.hb-nfc-pill span { font-size: 12.5px; opacity: 0.82; }

/* Heritage Seamless Auto-Scrolling Logo/Seal Marquee (SinoCultural #splide04-track) */
.hb-marquee {
  background: #FBF8F2;
  border-top: 1px solid var(--hb-border);
  border-bottom: 1px solid var(--hb-border);
  padding: 26px 0;
  overflow: hidden;
  position: relative;
}
.hb-marquee-viewport {
  overflow: hidden;
  width: 100%;
}
.hb-marquee-track {
  display: flex;
  align-items: center;
  gap: 54px;
  width: max-content;
  animation: hb-marquee-scroll 30s linear infinite;
}
.hb-marquee:hover .hb-marquee-track { animation-play-state: paused; }
@keyframes hb-marquee-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.hb-seal-item {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 136px;
  color: var(--hb-ink-soft);
  opacity: 0.85;
  transition: opacity .2s ease;
}
.hb-seal-item:hover { opacity: 1; color: var(--hb-gold); }
.hb-seal-icon {
  width: 34px;
  height: 34px;
  border: 1.5px solid currentColor;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--hb-font-serif);
  font-size: 16px;
  font-weight: 600;
}
.hb-seal-label {
  font-family: var(--hb-font-serif);
  font-size: 14px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

/* Horizontal Sliding Carousel (Products & Legacy in Motion) */
.hb-carousel-wrap {
  position: relative;
}
.hb-carousel-track {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 4px 2px 12px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.hb-carousel-track::-webkit-scrollbar { display: none; }
.hb-carousel-track > .hb-product-card {
  flex: 0 0 calc((100% - 66px) / 4);
  scroll-snap-align: start;
}
.hb-carousel-btn {
  position: absolute;
  top: 42%;
  transform: translateY(-50%);
  z-index: 12;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--hb-border);
  background: rgba(255,255,255,0.94);
  color: var(--hb-ink);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.09);
  transition: all .2s ease;
}
.hb-carousel-btn:hover { background: var(--hb-ink); color: #FFFFFF; border-color: var(--hb-ink); }
.hb-carousel-prev { left: -16px; }
.hb-carousel-next { right: -16px; }

/* Signature Split Showcase (Left Editorial Poster + Right Sliding Products) */
.hb-split-carousel {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 28px;
  align-items: stretch;
}
.hb-split-poster {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  background: #1A1613;
}
.hb-split-poster img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.76); }
.hb-split-poster-body {
  position: absolute;
  inset: 0;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #FFFFFF;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.75) 100%);
}
.hb-split-carousel .hb-carousel-track > .hb-product-card {
  flex: 0 0 calc((100% - 44px) / 3);
}

/* Legacy in Motion (UGC / Editorial Story Carousel) */
.hb-legacy-card {
  flex: 0 0 calc((100% - 44px) / 3);
  scroll-snap-align: start;
  background: #FFFFFF;
  border: 1px solid var(--hb-border);
  display: flex;
  flex-direction: column;
}
.hb-legacy-img { aspect-ratio: 4 / 3; overflow: hidden; }
.hb-legacy-img img { width: 100%; height: 100%; object-fit: cover; }
.hb-legacy-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.hb-legacy-handle { font-size: 12px; color: var(--hb-gold); font-weight: 600; letter-spacing: 0.06em; margin-bottom: 6px; }
.hb-legacy-title { font-family: var(--hb-font-serif); font-size: 21px; margin: 0 0 8px; line-height: 1.25; }
.hb-legacy-quote { font-size: 13.5px; color: var(--hb-ink-soft); margin: 0 0 16px; flex: 1; }

/* Impact Stats */
.hb-impact-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 26px;
}
.hb-stat {
  border-top: 2px solid var(--hb-gold);
  padding-top: 12px;
}
.hb-stat strong { font-family: var(--hb-font-serif); font-size: 32px; display: block; line-height: 1.1; }
.hb-stat span { font-size: 12.5px; color: var(--hb-muted); }

/* Trust Bar */
.hb-trust-bar {
  background: #FFFFFF;
  border-top: 1px solid var(--hb-border);
  border-bottom: 1px solid var(--hb-border);
  padding: 34px 0;
}
.hb-trust-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  text-align: center;
}
.hb-trust-item strong { display: block; font-size: 13px; margin-top: 8px; font-weight: 500; }
.hb-trust-icon { font-size: 24px; color: var(--hb-gold); }

/* ---------- 7. Shop / Archive Page (with Sidebar Filter) ---------- */
.hb-shop-hero {
  background: #EFEBE3;
  padding: 46px 0 38px;
  text-align: center;
  border-bottom: 1px solid var(--hb-border);
}
.hb-distinction-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 28px;
}
.hb-distinction-card {
  background: #FFFFFF;
  border: 1px solid var(--hb-border);
  padding: 16px;
  text-align: center;
}
.hb-distinction-card strong { font-family: var(--hb-font-serif); font-size: 18px; display: block; color: var(--hb-gold); }
.hb-distinction-card span { font-size: 12.5px; color: var(--hb-muted); }

.hb-shop-layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 36px;
  padding: 42px 0 72px;
}
.hb-filter-box {
  border-bottom: 1px solid var(--hb-border);
  padding: 16px 0;
}
.hb-filter-box h4 {
  font-family: var(--hb-font-serif);
  font-size: 18px;
  margin: 0 0 10px;
}
.hb-filter-list { list-style: none; margin: 0; padding: 0; }
.hb-filter-list li { margin-bottom: 6px; }
.hb-filter-list a { font-size: 13.5px; color: var(--hb-ink-soft); }
.hb-filter-list a:hover, .hb-filter-list a.is-active { color: var(--hb-gold); font-weight: 600; }
.hb-shop-layout .hb-product-grid { grid-template-columns: repeat(3, 1fr); }

/* ---------- 8. Single Product Page (1:1 SinoCultural Conversion Layout) ---------- */
.hb-pdp-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  padding: 44px 0 56px;
  align-items: start;
}
.hb-pdp-gallery {
  background: #FFFFFF;
  border: 1px solid var(--hb-border);
  padding: 14px;
}
.hb-pdp-trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 14px;
  text-align: center;
  font-size: 11.5px;
  color: var(--hb-ink-soft);
}
.hb-pdp-trust div { background: var(--hb-bg); padding: 10px 6px; border: 1px solid #E5E0D6; }
.hb-pdp-title { font-family: var(--hb-font-serif); font-size: 36px; line-height: 1.2; margin: 6px 0 10px; }
.hb-pdp-meta { font-size: 12.5px; color: var(--hb-muted); display: flex; gap: 16px; margin-bottom: 14px; }
.hb-pdp-price { font-size: 24px; font-weight: 500; margin-bottom: 16px; }
.hb-pdp-price del { color: var(--hb-muted); font-size: 17px; margin-right: 10px; font-weight: 400; }
.hb-promo-box {
  border: 1px dashed var(--hb-gold);
  background: #FBF6EC;
  padding: 12px 16px;
  margin-bottom: 20px;
  font-size: 13px;
}
.hb-promo-box strong { color: var(--hb-red); }

.hb-pdp-form .quantity { display: inline-flex; margin-right: 10px; }
.hb-pdp-form input.qty {
  width: 66px; padding: 12px 8px; border: 1px solid var(--hb-ink); text-align: center; font-size: 14px;
}
.hb-pdp-form button.single_add_to_cart_button {
  width: calc(100% - 82px);
  padding: 14px 20px !important;
  background: var(--hb-ink) !important;
  color: #FFFFFF !important;
  border: 1px solid var(--hb-ink) !important;
  border-radius: 0 !important;
  font-size: 13px !important;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
}
.hb-pdp-form button.single_add_to_cart_button:hover { background: var(--hb-gold) !important; border-color: var(--hb-gold) !important; }

/* Accordion */
.hb-accordions { margin-top: 26px; border-top: 1px solid var(--hb-border); }
.hb-acc-item { border-bottom: 1px solid var(--hb-border); }
.hb-acc-btn {
  width: 100%;
  background: transparent;
  border: none;
  padding: 15px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--hb-font-serif);
  font-size: 19px;
  color: var(--hb-ink);
  cursor: pointer;
  text-align: left;
}
.hb-acc-panel { display: none; padding: 0 0 16px; font-size: 14px; color: var(--hb-ink-soft); }
.hb-acc-item.is-open .hb-acc-panel { display: block; }

/* Frequently Bought Together */
.hb-fbt {
  background: #FFFFFF;
  border: 1px solid var(--hb-border);
  padding: 28px;
  margin: 12px 0 56px;
}
.hb-fbt-row {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.hb-fbt-item {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid #EAE5DC;
  padding: 10px 14px;
  background: var(--hb-bg);
}
.hb-fbt-item img { width: 64px; height: 64px; object-fit: cover; }

/* ---------- 9. Footer (4-Column SinoCultural Layout) ---------- */
.hb-footer {
  background: var(--hb-bg-footer);
  border-top: 1px solid var(--hb-border);
  padding: 64px 0 32px;
  color: var(--hb-ink-soft);
}
.hb-footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1.35fr;
  gap: 36px;
  padding-bottom: 42px;
  border-bottom: 1px solid var(--hb-border);
}
.hb-footer h4 {
  font-family: var(--hb-font-sans);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hb-ink);
  margin: 0 0 16px;
}
.hb-footer ul { list-style: none; margin: 0; padding: 0; }
.hb-footer li { margin-bottom: 9px; font-size: 13.5px; }
.hb-footer li a:hover { color: var(--hb-gold); }
.hb-newsletter-form {
  display: flex;
  gap: 0;
  margin: 14px 0 18px;
}
.hb-newsletter-form input {
  flex: 1;
  padding: 11px 14px;
  border: 1px solid var(--hb-ink);
  background: #FFFFFF;
  font-size: 13px;
}
.hb-newsletter-form button {
  padding: 11px 20px;
  background: var(--hb-ink);
  color: #FFFFFF;
  border: 1px solid var(--hb-ink);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}
.hb-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 24px;
  font-size: 12.5px;
  color: var(--hb-muted);
}
.hb-pay-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.hb-pay-pill {
  background: #FFFFFF;
  border: 1px solid var(--hb-border);
  padding: 3px 9px;
  font-size: 11px;
  font-weight: 600;
  color: var(--hb-ink-soft);
}

/* Standard Content Pages (Cart, Checkout, Story, B2B) */
.hb-page-wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 54px 28px 80px;
}
.hb-page-wrap h1 { font-family: var(--hb-font-serif); font-size: 40px; margin: 0 0 24px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hb-cat-grid, .hb-product-grid, .hb-distinction-grid { grid-template-columns: repeat(2, 1fr); }
  .hb-journal-grid { grid-template-columns: repeat(2, 1fr); }
  .hb-shop-layout { grid-template-columns: 1fr; }
  .hb-shop-layout .hb-product-grid { grid-template-columns: repeat(2, 1fr); }
  .hb-pdp-grid, .hb-story-grid, .hb-nfc-grid { grid-template-columns: 1fr; gap: 32px; }
  .hb-footer-grid { grid-template-columns: repeat(2, 1fr); }
  .hb-trust-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
  .hb-container { padding: 0 16px; }
  .hb-section { padding: 48px 0; }
  .hb-section-head { margin-bottom: 26px; }
  .hb-announcement { font-size: 11.5px; padding: 7px 12px; }

  .hb-header-top { grid-template-columns: auto 1fr auto; padding: 14px 14px; gap: 8px; }
  .home .hb-header {
    position: relative !important;
    top: 0 !important;
    background: #FFFFFF !important;
    color: var(--hb-ink) !important;
    border-bottom: 1px solid var(--hb-border) !important;
  }
  .home .hb-header.is-sticky {
    position: fixed !important;
    top: 0 !important;
  }
  .hb-tabs::-webkit-scrollbar { display: none; }
  .hb-tabs { scrollbar-width: none; }
  .hb-carousel-btn { display: none; }
  .hb-carousel-track { gap: 12px; }
  .hb-carousel-track > .hb-product-card { flex: 0 0 68%; }
  .hb-split-carousel { grid-template-columns: 1fr; gap: 18px; }
  .hb-split-poster { min-height: 260px; }
  .hb-split-carousel .hb-carousel-track > .hb-product-card { flex: 0 0 68%; }
  .hb-legacy-card { flex: 0 0 82%; }
  .hb-seal-item { min-width: 112px; }
  .hb-marquee-track { gap: 32px; }
  .hb-search-form { display: none; }
  .hb-mobile-toggle { display: inline-block; padding: 4px 9px; }
  .hb-logo { font-size: 20px; letter-spacing: 0.16em; }
  .hb-logo-sub { font-size: 7.5px; letter-spacing: 0.22em; }
  .hb-header-tools { gap: 10px; }
  .hb-lang-current { padding: 3px 6px; font-size: 11.5px; }

  .hb-nav-bar { display: none; background: #FFFFFF; color: var(--hb-ink); padding: 12px 16px; border-top: 1px solid var(--hb-border); }
  .hb-nav-bar.is-open { display: block; }
  .hb-nav-list { flex-direction: column; gap: 4px; align-items: flex-start; flex-wrap: wrap; }
  .hb-nav-link { padding: 8px 0; font-size: 13px; }
  .hb-mega { position: static; transform: none; min-width: 0; box-shadow: none; border: none; padding: 6px 0 10px 14px; }
  .hb-nav-item:hover .hb-mega { grid-template-columns: 1fr; gap: 12px; }

  .hb-hero {
    height: calc(100vh - 104px);
    height: calc(100dvh - 104px);
    min-height: 560px;
    max-height: none;
  }
  .hb-hero-overlay { padding: 0 0 76px; }
  .hb-hero-title { font-size: 32px; }
  .hb-hero-sub { font-size: 13.5px; margin-bottom: 20px; }
  .hb-hero-dots { right: 18px; bottom: 22px; }

  .hb-tabs { gap: 18px; overflow-x: auto; justify-content: flex-start; padding-bottom: 2px; -webkit-overflow-scrolling: touch; }
  .hb-tab-btn { font-size: 16.5px; white-space: nowrap; flex-shrink: 0; padding: 10px 4px; }

  .hb-cat-grid, .hb-product-grid, .hb-shop-layout .hb-product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .hb-cat-card { padding: 6px; }
  .hb-cat-card-meta { padding: 10px 4px 4px; }
  .hb-cat-card-title { font-size: 16px; line-height: 1.25; }
  .hb-cat-card-sub { font-size: 10.5px; letter-spacing: 0.04em; }

  .hb-product-body { padding: 11px; }
  .hb-product-craft { font-size: 10px; }
  .hb-product-title {
    font-size: 15px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .hb-product-price { font-size: 13.5px; }
  .hb-card-add { padding: 8px 6px; font-size: 11px; letter-spacing: 0.08em; }

  /* Cultural Journal: clean single-column editorial cards on mobile */
  .hb-journal-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .hb-journal-grid .hb-cat-card {
    display: grid;
    grid-template-columns: 116px 1fr;
    align-items: center;
    gap: 14px;
    padding: 10px;
  }
  .hb-journal-grid .hb-cat-card-img { width: 116px; height: 116px; aspect-ratio: 1 / 1; }
  .hb-journal-grid .hb-cat-card-meta { text-align: left; padding: 0 4px; }
  .hb-journal-grid .hb-cat-card-title { font-size: 18px; line-height: 1.3; margin-top: 4px; }

  .hb-nfc-section { padding: 48px 0; }
  .hb-nfc-pills { grid-template-columns: 1fr 1fr; gap: 10px; }
  .hb-nfc-pill { padding: 11px 12px; }
  .hb-nfc-pill strong { font-size: 15px; }

  .hb-impact-stats { gap: 12px; }
  .hb-stat strong { font-size: 24px; }
  .hb-marquee-track { gap: 20px; font-size: 14px; }

  .hb-distinction-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .hb-distinction-card { padding: 12px 8px; }
  .hb-distinction-card strong { font-size: 16px; }

  .hb-pdp-trust { grid-template-columns: repeat(2, 1fr); }
  .hb-pdp-title { font-size: 28px; }
  .hb-fbt { padding: 18px; }
  .hb-fbt-row { flex-direction: column; align-items: stretch; gap: 10px; }
  .hb-fbt-row > span { display: none; }

  .hb-trust-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .hb-footer { padding: 44px 0 24px; }
  .hb-footer-grid { grid-template-columns: 1fr; gap: 26px; }
}
