:root {
  --ink: #242420;
  --muted: #6d675d;
  --line: #ded7ca;
  --paper: #fbf8f0;
  --panel: #ffffff;
  --green: #004634;
  --gold: #a78a45;
  --gold-soft: #eee2c3;
  --shadow: 0 18px 50px rgba(39, 33, 24, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
}

.mall-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(251, 248, 240, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 36px;
  padding: 0 44px;
  color: var(--muted);
  font-size: 13px;
  border-bottom: 1px solid var(--line);
}

.top-links {
  display: flex;
  align-items: center;
  gap: 18px;
  white-space: nowrap;
}

.brand-row {
  display: grid;
  grid-template-columns: 240px minmax(260px, 720px) 150px;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 16px 44px;
}

.site-search {
  display: grid;
  grid-template-columns: 92px 1fr 96px;
  min-height: 46px;
  border: 2px solid var(--green);
  background: #fff;
}

.site-search select,
.site-search input,
.site-search button {
  border: 0;
  background: transparent;
  outline: none;
}

.site-search select {
  padding: 0 12px;
  color: var(--muted);
  border-right: 1px solid var(--line);
}

.site-search input {
  padding: 0 14px;
}

.site-search button {
  background: var(--green);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.cart-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--green);
  font-weight: 700;
}

.mall-header .main-nav {
  display: flex;
  justify-content: center;
  gap: 0;
  padding: 0 44px;
  border-top: 1px solid var(--line);
}

.mall-header .main-nav a {
  min-width: 126px;
  padding: 14px 18px;
  text-align: center;
  color: var(--ink);
  font-weight: 700;
}

.mall-header .main-nav a:hover {
  background: var(--green);
  color: #fff;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 76px;
  padding: 0 44px;
  background: rgba(251, 248, 240, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 2px;
  white-space: nowrap;
}

.brand img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.mall-hero {
  display: grid;
  grid-template-columns: 260px 1fr;
  max-width: 1440px;
  margin: 0 auto;
  min-height: 560px;
  border-bottom: 1px solid var(--line);
}

.category-menu {
  background: var(--green);
  color: #fff;
  padding: 22px 18px;
}

.category-menu strong {
  display: block;
  margin-bottom: 18px;
  font-size: 18px;
}

.category-menu button {
  display: block;
  width: 100%;
  padding: 16px 12px;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  background: transparent;
  color: #fff;
  text-align: left;
  cursor: pointer;
  font-weight: 700;
}

.category-menu span {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 400;
}

.hero-stage {
  position: relative;
  overflow: hidden;
  min-height: 560px;
  background: #f3efe6;
}

.hero-stage > img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  right: 8%;
  top: 50%;
  width: min(430px, 42%);
  transform: translateY(-50%);
  padding: 34px 38px;
  background: rgba(251, 248, 240, 0.9);
  border: 1px solid var(--line);
}

.hero-overlay img {
  width: 112px;
  height: 112px;
  object-fit: contain;
  display: block;
  margin-bottom: 16px;
  border: 1px solid var(--line);
}

.hero-overlay p {
  margin-bottom: 8px;
  color: var(--gold);
  font-weight: 700;
}

.hero-overlay h1 {
  margin-bottom: 12px;
  font-size: 82px;
}

.hero-overlay span {
  display: block;
  color: var(--muted);
  line-height: 1.8;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-size: 15px;
}

.main-nav a:hover {
  color: var(--green);
}

.header-action,
.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 700;
}

.header-action,
.primary-button {
  background: var(--green);
  color: #fff;
}

.secondary-button {
  background: transparent;
  border-color: var(--gold);
  color: var(--green);
}

.hero {
  position: relative;
  min-height: calc(100vh - 76px);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-media {
  height: calc(100vh - 76px);
  min-height: 560px;
  background: #eee8dc;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-copy {
  max-width: 600px;
  padding: 80px 7vw;
}

.hero-logo {
  width: 138px;
  height: 138px;
  object-fit: contain;
  display: block;
  margin: 0 0 22px;
  border: 1px solid var(--line);
  background: #fbf8f0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(54px, 7vw, 104px);
  line-height: 1;
  letter-spacing: 0;
}

.hero-text {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 34px;
}

.stats-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.home-section {
  max-width: 1320px;
  margin: 0 auto;
  padding: 70px 44px;
}

.home-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.home-title p {
  margin-bottom: 6px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
}

.home-title h2 {
  margin: 0;
  font-size: 34px;
}

.home-title a {
  color: var(--green);
  font-weight: 700;
}

.category-showcase {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.category-tile {
  min-height: 210px;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
  overflow: hidden;
}

.category-tile img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  display: block;
}

.category-tile strong {
  display: block;
  padding: 14px 12px 4px;
}

.category-tile span {
  display: block;
  padding: 0 12px 14px;
  color: var(--muted);
  font-size: 13px;
}

.home-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.home-tabs button {
  border: 1px solid var(--line);
  background: #fff;
  padding: 10px 20px;
  cursor: pointer;
}

.home-tabs button.active {
  border-color: var(--green);
  background: var(--green);
  color: #fff;
}

.featured-grid,
.room-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.room-sale {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 24px;
  max-width: 1320px;
  margin: 0 auto;
  padding: 70px 44px;
  border-top: 1px solid var(--line);
}

.room-copy {
  padding: 34px;
  background: var(--green);
  color: #fff;
}

.room-copy p {
  color: var(--gold-soft);
  font-weight: 700;
}

.room-copy h2 {
  font-size: 40px;
}

.room-copy span {
  display: block;
  margin-bottom: 28px;
  color: rgba(255,255,255,.76);
  line-height: 1.8;
}

.room-copy .secondary-button {
  color: #fff;
  border-color: rgba(255,255,255,.65);
}

.collection-section {
  border-top: 1px solid var(--line);
}

.collection-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 20px;
}

.collection-focus {
  position: relative;
  min-height: 520px;
  background: #fff;
  border: 1px solid var(--line);
  overflow: hidden;
}

.collection-focus img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  display: block;
}

.collection-focus-copy {
  position: absolute;
  left: 28px;
  bottom: 28px;
  right: 28px;
  padding: 22px;
  background: rgba(251, 248, 240, 0.92);
  border: 1px solid var(--line);
}

.collection-focus-copy p {
  margin-bottom: 8px;
  color: var(--gold);
  font-weight: 700;
}

.collection-focus-copy h3 {
  margin-bottom: 10px;
  font-size: 30px;
}

.collection-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.compact-product .product-body {
  padding: 12px;
}

.compact-product .product-body h3 {
  min-height: 40px;
  font-size: 15px;
}

.compact-product .product-card,
.compact-product {
  min-height: 0;
}

.compact-product img {
  aspect-ratio: 1.16;
}

.float-tools {
  position: fixed;
  right: 18px;
  top: 46%;
  z-index: 25;
  display: grid;
  gap: 8px;
}

.float-tools a {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--green);
  font-weight: 700;
  box-shadow: var(--shadow);
}

.stats-band div {
  min-height: 112px;
  padding: 28px 40px;
  background: var(--panel);
}

.stats-band strong,
.stats-band span {
  display: block;
}

.stats-band strong {
  margin-bottom: 8px;
  color: var(--green);
  font-size: 28px;
}

.stats-band span {
  color: var(--muted);
}

.section {
  padding: 82px 44px;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  margin: 0 auto 34px;
  max-width: 1320px;
}

.section-heading h2 {
  margin: 0;
  font-size: 40px;
  letter-spacing: 0;
}

.section-heading > p {
  max-width: 520px;
  color: var(--muted);
  line-height: 1.8;
}

.toolbar {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr;
  gap: 12px;
  max-width: 1320px;
  margin: 0 auto 18px;
}

.search-box,
.select-box {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
}

.search-box input,
.select-box select,
.inquiry-form input,
.inquiry-form textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  color: var(--ink);
  padding: 0 14px;
  outline: none;
}

.search-box input:focus,
.select-box select:focus,
.inquiry-form input:focus,
.inquiry-form textarea:focus {
  border-color: var(--gold);
}

.category-strip {
  display: flex;
  gap: 8px;
  max-width: 1320px;
  margin: 0 auto 22px;
  overflow-x: auto;
  padding-bottom: 8px;
}

.category-chip {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  border-radius: 4px;
  padding: 10px 14px;
  cursor: pointer;
  white-space: nowrap;
}

.category-chip.active {
  border-color: var(--green);
  background: var(--green);
  color: #fff;
}

.result-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1320px;
  margin: 0 auto 18px;
  color: var(--muted);
}

.text-button {
  border: 0;
  background: transparent;
  color: var(--green);
  cursor: pointer;
  font-weight: 700;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  max-width: 1320px;
  margin: 0 auto;
}

.product-card {
  min-width: 0;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.product-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1.28;
  object-fit: cover;
  background: #ece6db;
}

.product-body {
  padding: 16px;
}

.product-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  color: var(--gold);
  font-size: 13px;
}

.product-body h3 {
  min-height: 44px;
  margin-bottom: 14px;
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: 0;
}

.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
}

.price-row strong {
  color: var(--green);
}

.load-row {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.factory,
.contact {
  background: #fff;
}

.factory-layout {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 1320px;
  margin: 0 auto;
}

.factory-gallery {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  grid-auto-rows: 260px;
  gap: 18px;
  max-width: 1320px;
  margin: 0 auto 28px;
}

.factory-photo {
  position: relative;
  overflow: hidden;
  margin: 0;
  min-height: 0;
  background: var(--paper);
}

.factory-photo-large {
  grid-row: span 2;
}

.factory-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transform: scale(1.01);
}

.factory-photo figcaption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  color: #fff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.42);
  z-index: 1;
}

.factory-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(22, 21, 19, 0) 45%, rgba(22, 21, 19, 0.62) 100%);
}

.factory-photo strong {
  font-size: 20px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.factory-photo span {
  max-width: 220px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 14px;
  line-height: 1.6;
  text-align: right;
}

.factory-panel,
.contact-card {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 26px;
  background: var(--paper);
}

.factory-panel h3 {
  color: var(--green);
}

.factory-panel p {
  color: var(--muted);
  line-height: 1.8;
}

.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  max-width: 1320px;
  margin: 0 auto;
  background: var(--line);
  border: 1px solid var(--line);
}

.process div {
  min-height: 148px;
  padding: 26px;
  background: #fff;
}

.process strong,
.process span {
  display: block;
}

.process strong {
  margin-bottom: 28px;
  color: var(--gold);
  font-size: 34px;
}

.process span {
  font-size: 18px;
  font-weight: 700;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1.4fr;
  gap: 18px;
  max-width: 1320px;
  margin: 0 auto;
}

.contact-card span {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
}

.contact-card strong {
  color: var(--green);
  font-size: 22px;
}

.inquiry-form {
  display: grid;
  gap: 12px;
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.inquiry-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
}

.inquiry-form textarea {
  min-height: 92px;
  padding-top: 12px;
  resize: vertical;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 44px;
  background: var(--green);
  color: #fff;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
}

.modal.open {
  display: block;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 18, 14, 0.58);
}

.modal-card {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(1080px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  transform: translate(-50%, -50%);
}

.modal-close {
  position: absolute;
  right: 14px;
  top: 12px;
  z-index: 2;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  font-size: 28px;
}

.modal-gallery {
  background: #eee8dc;
}

.modal-gallery > img {
  display: block;
  width: 100%;
  height: 520px;
  object-fit: cover;
}

.modal-thumbs {
  display: flex;
  gap: 8px;
  padding: 12px;
  overflow-x: auto;
}

.modal-thumbs img {
  width: 74px;
  height: 58px;
  object-fit: cover;
  border: 2px solid transparent;
  border-radius: 4px;
  cursor: pointer;
}

.modal-thumbs img.active {
  border-color: var(--green);
}

.modal-info {
  padding: 52px 42px 40px;
  overflow-y: auto;
}

.modal-info h2 {
  font-size: 32px;
  line-height: 1.25;
}

.modal-info dl {
  display: grid;
  gap: 14px;
  margin: 28px 0;
}

.modal-info dl div {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.modal-info dt {
  color: var(--muted);
}

.modal-info dd {
  margin: 0;
  font-weight: 700;
}

.modal-note {
  color: var(--muted);
  line-height: 1.8;
}

@media (max-width: 980px) {
  .topbar,
  .brand-row {
    padding-left: 18px;
    padding-right: 18px;
  }

  .brand-row {
    grid-template-columns: 1fr;
  }

  .mall-header .main-nav {
    justify-content: flex-start;
    overflow-x: auto;
    padding: 0 18px;
  }

  .mall-hero,
  .room-sale {
    grid-template-columns: 1fr;
  }

  .category-menu {
    display: none;
  }

  .hero-overlay {
    position: static;
    width: auto;
    transform: none;
    margin: 0;
  }

  .category-showcase,
  .featured-grid,
  .room-grid,
  .collection-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .collection-layout {
    grid-template-columns: 1fr;
  }

  .float-tools {
    display: none;
  }

  .site-header {
    height: auto;
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 14px 18px;
  }

  .main-nav {
    order: 3;
    width: 100%;
    gap: 18px;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .hero-media {
    height: 52vh;
    min-height: 360px;
  }

  .hero-copy {
    padding: 44px 22px;
  }

  .stats-band,
  .toolbar,
  .factory-gallery,
  .factory-layout,
  .process,
  .contact-layout,
  .modal-card {
    grid-template-columns: 1fr;
  }

  .factory-gallery {
    grid-auto-rows: 320px;
  }

  .factory-photo-large {
    grid-row: span 1;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section {
    padding: 56px 18px;
  }

  .section-heading {
    display: block;
  }
}

@media (max-width: 560px) {
  .product-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
  }

  .modal-gallery > img {
    height: 320px;
  }

  .modal-info {
    padding: 30px 22px;
  }
}

/* Tianmei refined visual direction */
:root {
  --ink: #25231f;
  --muted: #706b63;
  --line: #e4ddd2;
  --paper: #f7f3ec;
  --panel: #fffdf8;
  --green: #0f4b3f;
  --green-deep: #07352e;
  --gold: #b18f4f;
  --gold-soft: #ead9b4;
  --clay: #a66f55;
  --mist: #eef0eb;
  --shadow: 0 22px 60px rgba(31, 27, 20, 0.14);
}

body {
  background: linear-gradient(180deg, #fbfaf6 0, var(--paper) 520px, #f6f1e8 100%);
}

.mall-header {
  background: rgba(255, 253, 248, 0.94);
  box-shadow: 0 10px 28px rgba(38, 32, 24, 0.06);
}

.topbar {
  background: #fbfaf6;
  color: #7b7469;
}

.brand-row {
  padding-top: 14px;
  padding-bottom: 14px;
}

.site-search {
  min-height: 48px;
  border: 1px solid #d2c4ad;
  border-radius: 2px;
  box-shadow: 0 8px 24px rgba(49, 43, 34, 0.05);
}

.site-search button,
.primary-button,
.home-tabs button.active,
.category-chip.active {
  background: var(--green-deep);
}

.cart-link,
.secondary-button {
  border-color: #c7ad78;
  background: #fffdf8;
}

.mall-header .main-nav {
  background: #fffdf8;
}

.mall-header .main-nav a:hover {
  background: #102f2b;
}

.mall-hero {
  grid-template-columns: 244px 1fr;
  max-width: none;
  min-height: 610px;
  background: #fbfaf6;
}

.category-menu {
  padding: 28px 22px;
  background: linear-gradient(180deg, #06382f 0%, #0f4b3f 100%);
}

.category-menu strong {
  margin-bottom: 22px;
  font-size: 17px;
}

.category-menu button {
  padding: 18px 10px;
}

.hero-stage {
  min-height: 610px;
  background:
    radial-gradient(circle at 78% 18%, rgba(177, 143, 79, 0.14), transparent 30%),
    linear-gradient(120deg, #fbfaf6 0%, #f0ebe1 100%);
}

.hero-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(251,250,246,.35) 0%, rgba(251,250,246,.06) 45%, rgba(251,250,246,.38) 100%);
}

.hero-stage > img {
  min-height: 610px;
  object-fit: contain;
  object-position: 58% center;
  padding: 36px 4vw 42px 15vw;
  filter: drop-shadow(0 30px 40px rgba(30, 26, 20, 0.12));
  transform: scale(1.05);
}

.hero-overlay {
  left: clamp(34px, 5.8vw, 92px);
  right: auto;
  top: 50%;
  z-index: 2;
  width: min(475px, 42vw);
  padding: 26px;
  border: 1px solid rgba(177, 143, 79, 0.34);
  background: rgba(255, 253, 248, 0.86);
  box-shadow: 0 24px 70px rgba(38, 32, 24, 0.16);
  backdrop-filter: blur(18px);
}

.hero-overlay::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(177, 143, 79, 0.16);
  pointer-events: none;
}

.hero-logo-lockup {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 76px 1fr;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
}

.hero-logo-lockup img,
.hero-overlay img {
  width: 76px;
  height: 76px;
  margin: 0;
  border: 1px solid rgba(177, 143, 79, 0.28);
  background: rgba(255, 255, 255, 0.72);
}

.hero-logo-lockup p,
.hero-overlay p {
  margin: 0 0 8px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
}

.hero-logo-lockup strong {
  display: block;
  color: #34302a;
  font-size: 15px;
  line-height: 1.55;
}

.hero-overlay h1 {
  position: relative;
  z-index: 1;
  margin: 0 0 14px;
  color: #201f1b;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.12;
}

.hero-overlay > span {
  position: relative;
  z-index: 1;
  color: #5f5a52;
  font-size: 16px;
  line-height: 1.9;
}

.hero-mini-stats {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 22px 0 4px;
  background: rgba(177, 143, 79, 0.24);
}

.hero-mini-stats b {
  display: grid;
  gap: 4px;
  min-height: 66px;
  padding: 12px 10px;
  background: rgba(255, 253, 248, 0.78);
  color: var(--green-deep);
  font-size: 20px;
}

.hero-mini-stats small {
  color: #777167;
  font-size: 12px;
  font-weight: 400;
}

.hero-actions {
  position: relative;
  z-index: 1;
  margin-top: 22px;
}

.primary-button,
.secondary-button,
.cart-link,
.home-tabs button,
.category-chip,
.product-card {
  border-radius: 2px;
}

.stats-band {
  background: #ddd3c4;
}

.stats-band div,
.category-tile,
.product-card,
.collection-focus,
.factory-panel,
.contact-card,
.inquiry-form {
  background: #fffdf8;
  border-color: #e0d6c8;
}

.stats-band strong {
  color: var(--green-deep);
}

.home-section,
.section,
.room-sale {
  padding-top: 78px;
  padding-bottom: 78px;
}

.home-title h2,
.section-heading h2 {
  color: #25231f;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 45px rgba(34, 29, 22, 0.13);
}

.room-copy,
.site-footer {
  background: linear-gradient(135deg, #07352e 0%, #164d43 100%);
}

.float-tools {
  right: 20px;
  top: auto;
  bottom: 34px;
}

.float-tools a {
  width: 58px;
  height: 58px;
  border-color: rgba(177, 143, 79, 0.34);
  background: rgba(255, 253, 248, 0.92);
  color: var(--green-deep);
  backdrop-filter: blur(14px);
}

@media (max-width: 980px) {
  .mall-hero {
    grid-template-columns: 1fr;
  }

  .hero-stage,
  .hero-stage > img {
    min-height: 620px;
  }

  .hero-stage > img {
    padding: 24px 6vw 250px;
    object-position: center 28%;
    transform: none;
  }

  .hero-overlay {
    left: 18px;
    right: 18px;
    top: auto;
    bottom: 22px;
    width: auto;
    transform: none;
  }
}

@media (max-width: 560px) {
  .hero-overlay {
    padding: 20px;
  }

  .hero-logo-lockup {
    grid-template-columns: 58px 1fr;
  }

  .hero-logo-lockup img,
  .hero-overlay img {
    width: 58px;
    height: 58px;
  }

  .hero-overlay h1 {
    font-size: 30px;
  }

  .hero-mini-stats {
    grid-template-columns: 1fr;
  }
}
/* Tianmei mobile hero correction */
@media (max-width: 980px) {
  .hero-stage {
    position: relative;
    min-height: 760px;
  }

  .hero-stage > img {
    height: 100%;
    min-height: 760px;
    padding: 22px 5vw 330px;
  }

  .hero-overlay {
    position: absolute;
    left: 18px;
    right: 18px;
    top: auto;
    bottom: 24px;
    width: auto;
    transform: none;
  }
}

@media (max-width: 560px) {
  .hero-stage {
    min-height: 720px;
  }

  .hero-stage > img {
    min-height: 720px;
    padding: 18px 4vw 360px;
  }

  .hero-overlay > span {
    font-size: 14px;
    line-height: 1.7;
  }

  .hero-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

/* Tianmei NORHOR-inspired editorial direction */
:root {
  --ink: #24221f;
  --muted: #77716a;
  --line: #e3ded5;
  --paper: #f3f0ea;
  --panel: #fffdfa;
  --green: #2d2b27;
  --green-deep: #1d1c19;
  --gold: #9a7a55;
  --gold-soft: #e5d4bd;
  --wood: #8f6449;
  --stone: #d8d3ca;
  --shadow: 0 18px 46px rgba(34, 30, 25, 0.10);
}

body {
  background: #f3f0ea;
  color: var(--ink);
}

.mall-header {
  background: rgba(249, 247, 242, 0.96);
  border-bottom: 1px solid #e5ded3;
  box-shadow: none;
}

.topbar {
  background: #efebe3;
  color: #7b746c;
}

.brand-row {
  grid-template-columns: 260px minmax(280px, 680px) 150px;
  padding-top: 18px;
  padding-bottom: 18px;
}

.brand span {
  color: #24221f;
  letter-spacing: 1px;
}

.site-search {
  border: 1px solid #cfc5b8;
  background: #fffdfa;
  box-shadow: none;
}

.site-search button {
  background: #24221f;
}

.cart-link,
.secondary-button {
  border-color: #b69b7c;
  color: #24221f;
}

.mall-header .main-nav {
  background: #f9f7f2;
  border-top: 1px solid #e5ded3;
}

.mall-header .main-nav a {
  color: #33302b;
}

.mall-header .main-nav a:hover {
  background: #24221f;
  color: #fffdfa;
}

.mall-hero {
  grid-template-columns: 236px 1fr;
  min-height: 650px;
  background: #e8e2d8;
}

.category-menu {
  background: #f9f7f2;
  color: #25231f;
  border-right: 1px solid #ded6ca;
}

.category-menu strong {
  color: #24221f;
  font-size: 16px;
}

.category-menu button {
  color: #24221f;
  border-bottom: 1px solid #dfd7ca;
}

.category-menu button:hover {
  background: #eee8de;
}

.category-menu span {
  color: #77716a;
}

.hero-stage {
  min-height: 650px;
  background:
    linear-gradient(90deg, rgba(243,240,234,.95) 0%, rgba(243,240,234,.52) 38%, rgba(235,229,219,.86) 100%),
    #ebe5dc;
}

.hero-stage::before {
  background:
    linear-gradient(180deg, rgba(255,255,255,.2) 0%, rgba(255,255,255,0) 45%),
    linear-gradient(90deg, rgba(146,104,76,.10) 0%, transparent 35%);
}

.hero-stage > img {
  min-height: 650px;
  padding: 42px 5vw 54px 25vw;
  object-fit: contain;
  object-position: 64% center;
  transform: none;
  filter: drop-shadow(0 28px 34px rgba(55, 45, 34, 0.12));
}

.hero-overlay {
  left: clamp(42px, 6vw, 104px);
  width: min(500px, 43vw);
  padding: 34px 36px;
  background: rgba(255, 253, 250, 0.82);
  border: 1px solid rgba(154, 122, 85, 0.26);
  box-shadow: 0 26px 70px rgba(43, 36, 29, 0.13);
}

.hero-overlay::after {
  inset: 12px;
  border-color: rgba(154, 122, 85, 0.13);
}

.hero-logo-lockup {
  grid-template-columns: 68px 1fr;
  margin-bottom: 24px;
}

.hero-logo-lockup img,
.hero-overlay img {
  width: 68px;
  height: 68px;
  border-color: rgba(154, 122, 85, 0.22);
}

.hero-logo-lockup p,
.hero-overlay p,
.home-title p,
.eyebrow {
  color: #9a7a55;
  letter-spacing: 2.6px;
}

.hero-logo-lockup strong {
  color: #3b3833;
  font-weight: 600;
}

.hero-overlay h1 {
  max-width: 420px;
  color: #24221f;
  font-size: clamp(36px, 4.2vw, 56px);
  font-weight: 700;
  line-height: 1.08;
}

.hero-overlay > span {
  color: #665f56;
  font-size: 15px;
  line-height: 2;
}

.hero-mini-stats {
  background: rgba(154, 122, 85, 0.16);
}

.hero-mini-stats b {
  background: rgba(255, 253, 250, 0.68);
  color: #24221f;
}

.primary-button,
.home-tabs button.active,
.category-chip.active {
  background: #24221f;
  color: #fffdfa;
}

.primary-button,
.secondary-button,
.cart-link,
.home-tabs button,
.category-chip,
.product-card,
.category-tile {
  border-radius: 0;
}

.stats-band {
  background: #ded6ca;
}

.stats-band div,
.category-tile,
.product-card,
.collection-focus,
.factory-panel,
.contact-card,
.inquiry-form {
  background: #fffdfa;
  border-color: #ded6ca;
}

.stats-band strong,
.price-row strong,
.contact-card strong,
.factory-panel h3,
.home-title a,
.text-button {
  color: #24221f;
}

.home-section,
.section,
.room-sale {
  max-width: 1360px;
}

.home-title {
  margin-bottom: 30px;
}

.home-title h2,
.section-heading h2 {
  font-weight: 700;
  letter-spacing: 0;
}

.category-showcase {
  gap: 18px;
}

.category-tile img {
  background: #f4f0e8;
}

.product-card {
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.product-card:hover {
  border-color: #c9b8a4;
  transform: translateY(-3px);
  box-shadow: 0 16px 42px rgba(34, 30, 25, .10);
}

.product-card img {
  background: #f4f0e8;
}

.product-meta {
  color: #9a7a55;
}

.room-copy,
.site-footer {
  background: #24221f;
}

.float-tools a {
  border-color: #d5cabd;
  background: rgba(255, 253, 250, .94);
  color: #24221f;
}

@media (max-width: 980px) {
  .mall-hero {
    grid-template-columns: 1fr;
  }

  .hero-stage,
  .hero-stage > img {
    min-height: 760px;
  }

  .hero-stage > img {
    padding: 24px 5vw 350px;
    object-position: center 22%;
  }

  .hero-overlay {
    left: 18px;
    right: 18px;
    width: auto;
  }
}

@media (max-width: 560px) {
  .hero-overlay {
    padding: 22px 20px;
  }

  .hero-overlay h1 {
    font-size: 31px;
  }

  .hero-mini-stats {
    grid-template-columns: 1fr;
  }
}
/* Tianmei mobile overflow cleanup */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

@media (max-width: 560px) {
  .topbar {
    gap: 10px;
    padding-left: 14px;
    padding-right: 14px;
  }

  .top-links {
    gap: 12px;
  }

  .site-search {
    width: 100%;
    grid-template-columns: 82px minmax(0, 1fr) 72px;
  }

  .site-search input {
    min-width: 0;
  }

  .mall-header .main-nav a {
    min-width: auto;
    flex: 0 0 auto;
    padding-left: 18px;
    padding-right: 18px;
  }

  .home-title {
    display: block;
  }

  .home-title h2,
  .section-heading h2 {
    font-size: 30px;
    line-height: 1.2;
  }

  .home-title a {
    display: inline-block;
    margin-top: 10px;
  }
}
/* Tianmei editorial product cards */
.product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px 22px;
}

.featured-grid,
.room-grid {
  gap: 22px;
}

.product-card {
  position: relative;
  background: #fffdfa;
  border: 1px solid #ded6ca;
  box-shadow: none;
}

.product-visual {
  position: relative;
  overflow: hidden;
  background: #f4f0e8;
}

.product-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(36,34,31,0) 52%, rgba(36,34,31,.28) 100%);
  opacity: 0;
  transition: opacity .22s ease;
}

.product-visual img,
.product-card > img {
  display: block;
  width: 100%;
  aspect-ratio: 1.05;
  object-fit: contain;
  padding: 24px;
  background: #f4f0e8;
  transition: transform .28s ease;
}

.product-visual span {
  position: absolute;
  left: 18px;
  bottom: 16px;
  z-index: 2;
  color: #fffdfa;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .22s ease, transform .22s ease;
}

.product-card:hover .product-visual::after,
.product-card:hover .product-visual span {
  opacity: 1;
}

.product-card:hover .product-visual span {
  transform: translateY(0);
}

.product-card:hover .product-visual img {
  transform: scale(1.035);
}

.product-body {
  padding: 18px 18px 20px;
}

.product-meta {
  align-items: center;
  margin-bottom: 12px;
  color: #9a7a55;
  font-size: 12px;
  letter-spacing: .6px;
}

.product-meta span:last-child {
  color: #9a938a;
  font-size: 11px;
  letter-spacing: 0;
}

.product-body h3 {
  min-height: 46px;
  margin-bottom: 18px;
  color: #24221f;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.45;
}

.price-row {
  padding-top: 14px;
  border-top: 1px solid #ebe4da;
}

.price-row strong {
  color: #24221f;
  font-size: 16px;
}

.price-row span {
  color: #9a938a;
  font-size: 12px;
}

.compact-product .product-visual img,
.compact-product img {
  aspect-ratio: 1.15;
  padding: 20px;
}

.compact-product .product-body {
  padding: 15px;
}

.compact-product .product-body h3 {
  min-height: 42px;
  font-size: 15px;
}

.category-tile {
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.category-tile:hover {
  border-color: #c9b8a4;
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(34, 30, 25, .08);
}

.category-tile img {
  height: 170px;
  object-fit: contain;
  padding: 18px;
}

.category-tile strong {
  padding-top: 16px;
  text-align: center;
}

.category-tile span {
  text-align: center;
}

.collection-focus-copy {
  background: rgba(255,253,250,.88);
  border-color: rgba(154,122,85,.24);
  backdrop-filter: blur(14px);
}

@media (max-width: 980px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .factory-gallery {
    grid-auto-rows: 240px;
    gap: 12px;
  }

  .factory-photo figcaption {
    left: 14px;
    right: 14px;
    bottom: 14px;
    display: block;
  }

  .factory-photo strong {
    display: block;
    margin-bottom: 4px;
  }

  .factory-photo span {
    display: block;
    max-width: none;
    text-align: left;
  }

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

  .product-visual img,
  .product-card > img {
    aspect-ratio: 1.18;
  }
}
/* Tianmei editorial product detail modal */
.modal-backdrop {
  background: rgba(31, 28, 24, 0.62);
  backdrop-filter: blur(8px);
}

.modal-card {
  width: min(1180px, calc(100vw - 44px));
  max-height: calc(100vh - 44px);
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, .92fr);
  background: #fffdfa;
  border: 1px solid rgba(222, 214, 202, .92);
  border-radius: 0;
  box-shadow: 0 30px 90px rgba(26, 23, 20, .28);
}

.modal-close {
  right: 18px;
  top: 18px;
  width: 42px;
  height: 42px;
  border-radius: 0;
  background: rgba(255, 253, 250, .92);
  border: 1px solid #ded6ca;
  color: #24221f;
  font-size: 26px;
  line-height: 1;
}

.modal-gallery {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  min-height: 650px;
  background: #f3f0ea;
}

.modal-gallery > img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: contain;
  padding: 44px;
  background: linear-gradient(135deg, #f8f5ef 0%, #ebe5dc 100%);
}

.modal-thumbs {
  gap: 10px;
  padding: 14px 18px 18px;
  background: #fffdfa;
  border-top: 1px solid #ded6ca;
}

.modal-thumbs img {
  width: 86px;
  height: 66px;
  object-fit: contain;
  padding: 6px;
  border: 1px solid #ded6ca;
  border-radius: 0;
  background: #f7f3ec;
}

.modal-thumbs img.active {
  border-color: #24221f;
  box-shadow: inset 0 0 0 1px #24221f;
}

.modal-info {
  padding: 64px 48px 42px;
  background: #fffdfa;
}

.modal-info .eyebrow {
  margin-bottom: 14px;
}

.modal-info h2 {
  margin-bottom: 16px;
  color: #24221f;
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.18;
  letter-spacing: 0;
}

.modal-lead {
  max-width: 520px;
  margin-bottom: 26px;
  color: #686159;
  font-size: 15px;
  line-height: 1.9;
}

.modal-specs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 0 0 28px;
  background: #ded6ca;
  border: 1px solid #ded6ca;
}

.modal-specs div,
.modal-info dl div {
  display: block;
  padding: 18px 16px;
  background: #f8f5ef;
  border: 0;
}

.modal-specs dt,
.modal-info dt {
  margin-bottom: 8px;
  color: #8b8379;
  font-size: 12px;
}

.modal-specs dd,
.modal-info dd {
  margin: 0;
  color: #24221f;
  font-size: 16px;
  font-weight: 700;
  word-break: break-word;
}

.modal-detail-block {
  padding: 22px 0;
  border-top: 1px solid #e6dfd5;
}

.modal-detail-block h3 {
  margin: 0 0 10px;
  color: #24221f;
  font-size: 17px;
}

.modal-detail-block p,
.modal-note {
  margin: 0;
  color: #6f6860;
  font-size: 14px;
  line-height: 1.9;
}

.modal-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid #e6dfd5;
}

.modal-action-row .primary-button,
.modal-action-row .secondary-button {
  min-height: 46px;
  padding-left: 24px;
  padding-right: 24px;
}

@media (max-width: 980px) {
  .modal-card {
    width: min(720px, calc(100vw - 24px));
    grid-template-columns: 1fr;
    overflow-y: auto;
  }

  .modal-gallery {
    min-height: 0;
  }

  .modal-gallery > img {
    min-height: 360px;
    height: 420px;
    padding: 28px;
  }

  .modal-info {
    padding: 34px 26px 30px;
  }
}

@media (max-width: 560px) {
  .modal-card {
    width: calc(100vw - 16px);
    max-height: calc(100vh - 16px);
  }

  .modal-gallery > img {
    height: 320px;
    min-height: 320px;
    padding: 20px;
  }

  .modal-thumbs img {
    width: 72px;
    height: 58px;
  }

  .modal-specs {
    grid-template-columns: 1fr;
  }

  .modal-action-row .primary-button,
  .modal-action-row .secondary-button {
    width: 100%;
  }
}
/* Tianmei layout alignment pass */
:root {
  --page-max: 1320px;
  --page-pad: 44px;
  --category-width: 220px;
}

.brand-row,
.mall-header .main-nav,
.mall-hero,
.stats-band,
.home-section,
.room-sale,
.section-heading,
.toolbar,
.category-strip,
.result-line,
.product-grid,
.factory-layout,
.process,
.contact-layout {
  width: min(var(--page-max), calc(100vw - (var(--page-pad) * 2)));
  max-width: var(--page-max);
  margin-left: auto;
  margin-right: auto;
}

.brand-row,
.mall-header .main-nav,
.home-section,
.room-sale,
.section {
  padding-left: 0;
  padding-right: 0;
}

.mall-header .main-nav {
  justify-content: flex-start;
}

.mall-header .main-nav a:first-child {
  margin-left: var(--category-width);
}

.mall-hero {
  grid-template-columns: var(--category-width) minmax(0, 1fr);
  min-height: 650px;
  border-left: 1px solid #ded6ca;
  border-right: 1px solid #ded6ca;
}

.category-menu {
  border-right: 1px solid #ded6ca;
}

.hero-stage {
  min-width: 0;
}

.stats-band {
  border-left: 1px solid #ded6ca;
  border-right: 1px solid #ded6ca;
}

.home-section,
.room-sale,
.section {
  max-width: none;
}

.section-heading,
.toolbar,
.category-strip,
.result-line,
.product-grid,
.factory-layout,
.process,
.contact-layout {
  max-width: var(--page-max);
}

.category-showcase,
.featured-grid,
.room-grid,
.collection-layout,
.collection-list {
  width: 100%;
}

.product-grid {
  max-width: var(--page-max);
}

@media (max-width: 980px) {
  :root {
    --page-pad: 18px;
  }

  .brand-row,
  .mall-header .main-nav,
  .mall-hero,
  .stats-band,
  .home-section,
  .room-sale,
  .section-heading,
  .toolbar,
  .category-strip,
  .result-line,
  .product-grid,
  .factory-layout,
  .process,
  .contact-layout {
    width: calc(100vw - (var(--page-pad) * 2));
  }

  .mall-header .main-nav a:first-child {
    margin-left: 0;
  }

  .mall-hero {
    grid-template-columns: 1fr;
  }

  .section {
    padding-left: 0;
    padding-right: 0;
  }
}

@media (max-width: 560px) {
  :root {
    --page-pad: 14px;
  }
}
/* Tianmei hero image only after removing overlay */
.hero-stage > img {
  padding-left: 6vw;
  padding-right: 6vw;
  object-position: center center;
}

@media (max-width: 980px) {
  .hero-stage,
  .hero-stage > img {
    min-height: 520px;
  }

  .hero-stage > img {
    padding: 28px 5vw;
  }
}

@media (max-width: 560px) {
  .hero-stage,
  .hero-stage > img {
    min-height: 390px;
  }

  .hero-stage > img {
    padding: 18px 4vw;
  }
}
/* Tianmei full lifestyle hero */
.mall-hero {
  display: block;
  min-height: 760px;
  border: 0;
  background: #ede8df;
}

.mall-hero .category-menu {
  display: none;
}

.hero-stage {
  min-height: 760px;
  background: #ede8df;
  border: 1px solid #ded6ca;
}

.hero-stage::before {
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(0,0,0,.10));
}

.hero-stage > img {
  width: 100%;
  height: 760px;
  min-height: 760px;
  padding: 0;
  object-fit: cover;
  object-position: center center;
  filter: none;
  transform: none;
}

.stats-band {
  margin-top: 0;
}

@media (max-width: 980px) {
  .mall-hero,
  .hero-stage,
  .hero-stage > img {
    min-height: 560px;
  }

  .hero-stage > img {
    height: 560px;
    padding: 0;
  }
}

@media (max-width: 560px) {
  .mall-hero,
  .hero-stage,
  .hero-stage > img {
    min-height: 430px;
  }

  .hero-stage > img {
    height: 430px;
    object-position: center center;
  }
}
.price-stack {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.price-stack small,
.modal-info dd small {
  display: block;
  margin-top: 5px;
  color: #9a7a55;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
}

.modal-info dd strong {
  display: block;
}

/* Tianmei brand refinement */
.brand {
  gap: 14px;
}

.brand img {
  width: 58px;
  height: 58px;
}

.brand .brand-word,
.footer-brand-word {
  font-family: "STSong", "SimSun", "Noto Serif SC", serif;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: .18em;
  line-height: 1;
  color: #24221f;
}

.brand small {
  display: block;
  margin-left: -4px;
  color: #9a7a55;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .24em;
  line-height: 1.2;
}

.category-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, .2);
}

.category-brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  padding: 3px;
  background: rgba(255, 253, 250, .96);
}

.category-brand span {
  display: block;
  margin: 0;
  color: rgba(255, 255, 255, .86);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .22em;
}

.hero-brand-stamp {
  position: absolute;
  right: 28px;
  bottom: 26px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px 10px 10px;
  background: rgba(255, 253, 250, .82);
  border: 1px solid rgba(222, 214, 202, .75);
  backdrop-filter: blur(10px);
}

.hero-brand-stamp img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.hero-brand-stamp span {
  color: #24221f;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .24em;
  white-space: nowrap;
}

.product-visual {
  position: relative;
}

.product-brand-mark {
  position: absolute;
  right: 12px;
  top: 12px;
  width: 34px !important;
  height: 34px !important;
  min-height: 0 !important;
  aspect-ratio: 1 !important;
  padding: 3px !important;
  object-fit: contain !important;
  background: rgba(255, 253, 250, .86) !important;
  border: 1px solid rgba(222, 214, 202, .75);
  opacity: .78;
  z-index: 2;
}

.product-card:hover .product-brand-mark {
  opacity: 1;
}

.modal-brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid #e6dfd5;
}

.modal-brand-lockup img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.modal-brand-lockup span {
  color: #9a7a55;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .24em;
}

.site-footer {
  align-items: center;
  gap: 14px;
}

.site-footer img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  background: rgba(255, 253, 250, .9);
  border: 1px solid rgba(222, 214, 202, .35);
}

@media (max-width: 980px) {
  .brand .brand-word {
    font-size: 24px;
  }

  .brand small,
  .category-brand span,
  .hero-brand-stamp span {
    letter-spacing: .16em;
  }

  .hero-brand-stamp {
    right: 14px;
    bottom: 14px;
  }
}

@media (max-width: 560px) {
  .brand img {
    width: 50px;
    height: 50px;
  }

  .brand small {
    display: none;
  }

  .hero-brand-stamp {
    padding: 7px;
  }

  .hero-brand-stamp img {
    width: 34px;
    height: 34px;
  }

  .hero-brand-stamp span {
    display: none;
  }
}

/* Tianmei header lockup adjustment */
.brand-row {
  grid-template-columns: 280px minmax(260px, 700px) 150px;
}

.brand {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 14px;
  row-gap: 3px;
  align-items: center;
}

.brand img {
  grid-row: 1 / 3;
}

.brand .brand-word {
  align-self: end;
}

.brand small {
  align-self: start;
  margin-left: 1px;
}

@media (max-width: 980px) {
  .brand-row {
    grid-template-columns: 1fr;
  }
}

/* T&M product image mark: selected direction 2 + 3 */
.tm-card-mark {
  position: absolute;
  right: 12px;
  top: 12px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-width: 76px;
  height: 34px;
  padding: 0 10px 0 12px;
  background: rgba(35, 33, 30, .92);
  border: 1px solid rgba(166, 130, 68, .88);
  color: #fffdf8;
  box-shadow: 0 8px 18px rgba(36, 34, 31, .14);
  opacity: .9;
  pointer-events: none;
}

.tm-card-mark b {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .02em;
}

.tm-card-mark i {
  width: 7px;
  height: 7px;
  background: #a68244;
  border-radius: 50%;
}

.product-card:hover .tm-card-mark {
  opacity: 1;
  transform: translateY(-1px);
}

.modal-gallery {
  position: relative;
}

.modal-tm-signature {
  position: absolute;
  right: 44px;
  bottom: 118px;
  z-index: 4;
  min-width: 176px;
  padding: 18px 0 0 22px;
  color: rgba(255, 253, 248, .96);
  text-shadow: 0 2px 12px rgba(0, 0, 0, .22);
  pointer-events: none;
}

.modal-tm-signature::before,
.modal-tm-signature::after {
  content: "";
  position: absolute;
  background: rgba(255, 253, 248, .9);
}

.modal-tm-signature::before {
  left: 0;
  top: 0;
  width: 152px;
  height: 2px;
}

.modal-tm-signature::after {
  left: 0;
  top: 0;
  width: 2px;
  height: 74px;
}

.modal-tm-signature b {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 58px;
  font-weight: 700;
  line-height: .9;
  letter-spacing: .02em;
}

.modal-tm-signature span {
  display: block;
  margin-top: 2px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .22em;
}

@media (max-width: 980px) {
  .modal-tm-signature {
    right: 28px;
    bottom: 102px;
    min-width: 136px;
    padding: 14px 0 0 18px;
  }

  .modal-tm-signature::before {
    width: 126px;
  }

  .modal-tm-signature::after {
    height: 58px;
  }

  .modal-tm-signature b {
    font-size: 44px;
  }

  .modal-tm-signature span {
    font-size: 11px;
  }
}

@media (max-width: 560px) {
  .tm-card-mark {
    right: 9px;
    top: 9px;
    min-width: 62px;
    height: 28px;
    padding: 0 8px;
  }

  .tm-card-mark b {
    font-size: 18px;
  }

  .tm-card-mark i {
    width: 5px;
    height: 5px;
  }

  .modal-tm-signature {
    right: 18px;
    bottom: 92px;
    opacity: .88;
  }
}

/* T&M product card mark option 1 */
.tm-card-mark {
  right: 14px;
  top: 13px;
  min-width: 0;
  height: auto;
  padding: 0 0 7px;
  background: transparent;
  border: 0;
  border-bottom: 2px solid #a68244;
  color: #24221f;
  box-shadow: none;
  opacity: .96;
}

.tm-card-mark b {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .015em;
}

.tm-card-mark i {
  display: none;
}

.product-card:hover .tm-card-mark {
  opacity: 1;
  transform: translateY(-1px);
}

@media (max-width: 560px) {
  .tm-card-mark {
    right: 12px;
    top: 12px;
    height: auto;
    min-width: 0;
    padding: 0 0 5px;
  }

  .tm-card-mark b {
    font-size: 22px;
  }
}

/* CY025 card spacing correction: reduce the blank band between image and title */
.product-card[data-code="TM-CY025-CY"] .product-visual img {
  aspect-ratio: 1.34;
  padding-top: 16px;
  padding-bottom: 6px;
  object-position: center bottom;
}

.product-card[data-code="TM-CY025-CY"] .product-body {
  padding-top: 12px;
}

.compact-product[data-code="TM-CY025-CY"] .product-visual img {
  aspect-ratio: 1.3;
  padding-top: 14px;
  padding-bottom: 4px;
}

@media (max-width: 560px) {
  .product-card[data-code="TM-CY025-CY"] .product-visual img {
    aspect-ratio: 1.24;
  }
}

/* Updated launch contact section */
.contact-layout-updated {
  grid-template-columns: minmax(280px, 1.05fr) minmax(280px, .95fr) minmax(300px, .9fr);
  align-items: stretch;
}

.contact-panel,
.qr-panel {
  border: 1px solid #ded6ca;
  background: #fffdfa;
}

.contact-main-card {
  padding: 30px;
}

.contact-main-card h3 {
  margin: 8px 0 24px;
  color: #24221f;
  font-size: 28px;
  letter-spacing: 0;
}

.contact-list {
  display: grid;
  gap: 14px;
  margin: 0;
}

.contact-list div {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid #ebe4da;
}

.contact-list dt {
  color: #8b8379;
  font-size: 13px;
}

.contact-list dd {
  margin: 0;
  color: #24221f;
  font-size: 16px;
  font-weight: 700;
  word-break: break-word;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid #ded6ca;
  color: #24221f;
  font-size: 13px;
  font-weight: 700;
}

.qr-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: #ded6ca;
}

.qr-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 22px;
  background: #fffdfa;
  text-align: center;
}

.qr-card img {
  width: min(100%, 210px);
  aspect-ratio: 1;
  object-fit: contain;
  background: #fff;
  border: 1px solid #ebe4da;
}

.qr-card strong {
  color: #24221f;
  font-size: 18px;
}

.qr-card span {
  color: #9a7a55;
  font-size: 14px;
  font-weight: 700;
}

@media (max-width: 1100px) {
  .contact-layout-updated {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .contact-main-card {
    padding: 22px;
  }

  .contact-list div,
  .qr-panel {
    grid-template-columns: 1fr;
  }
}
