:root {
  --primary: #8b1f17;
  --primary-soft: #f3e9e8;
  --background: #faf7f6;
  --surface: #ffffff;
  --text: #2f2a28;
  --muted: #796f6c;
  --border: #e8dfdc;
  --shadow: 0 8px 26px rgba(61, 31, 26, 0.08);
  --focus-ring: 0 0 0 3px rgba(139, 31, 23, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Sans SC", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--background);
  color: var(--text);
  text-rendering: optimizeLegibility;
}

button,
input {
  font: inherit;
}

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

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 0;
  box-shadow: var(--focus-ring);
}

.container {
  width: min(calc(100% - 32px), 1120px);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 8px rgba(50, 30, 24, 0.08);
  backdrop-filter: blur(10px);
}

.nav {
  min-height: 61px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-actions {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--primary);
  font-weight: 800;
  font-size: 18px;
  white-space: nowrap;
  border-radius: 6px;
}

.ip-link {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid rgba(139, 31, 23, 0.16);
  border-radius: 999px;
  background: rgba(243, 233, 232, 0.58);
  color: var(--primary);
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
  transition: background 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}

.douyin-link {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid rgba(22, 22, 22, 0.12);
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: 0 8px 18px rgba(17, 17, 17, 0.12);
  transition: opacity 0.16s ease, transform 0.16s ease;
}

.douyin-link:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

.shop-link {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
  transition: opacity 0.16s ease, transform 0.16s ease;
}

.tmall-link {
  background: #d81e06;
  box-shadow: 0 8px 18px rgba(216, 30, 6, 0.13);
}

.jd-link {
  background: #c81623;
  box-shadow: 0 8px 18px rgba(200, 22, 35, 0.13);
}

.shop-link:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

.ip-link:hover,
.ip-link.active {
  background: var(--primary);
  color: #fff;
}

.brand-cloud,
.shipping h2 svg {
  width: 24px;
  height: 24px;
}

.brand-cloud {
  object-fit: contain;
  filter: drop-shadow(0 0 6px rgba(78, 181, 200, 0.2));
}

.shipping h2 svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linejoin: round;
}

.nav-links {
  display: none;
  gap: 28px;
  color: #5e5350;
  font-size: 14px;
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--primary);
}

.hero {
  padding: 52px 0 66px;
  background: linear-gradient(180deg, rgba(139, 31, 23, 0.055), rgba(250, 247, 246, 0));
}

.mobile-home-only {
  display: none;
}

.brand-home .hero {
  min-height: calc(100vh - 126px);
  display: grid;
  align-items: center;
  padding: 70px 0;
}

.hero-grid {
  display: grid;
  gap: 34px;
  align-items: start;
}

.hero-copy {
  position: relative;
}

.hero h1,
.catalog h2,
.shipping h2 {
  margin: 0;
  color: var(--primary);
  font-family: "Playfair Display", "Noto Sans SC", serif;
  font-weight: 700;
}

.hero h1 {
  font-size: clamp(38px, 11vw, 56px);
  line-height: 1.05;
}

.hero-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-logo-mobile {
  width: 122px;
  max-width: 33vw;
  display: block;
  object-fit: contain;
  opacity: 0.98;
  filter:
    drop-shadow(0 0 14px rgba(78, 181, 200, 0.18))
    drop-shadow(0 10px 18px rgba(139, 31, 23, 0.08));
}

.hero h1,
.tagline,
.intro {
  position: relative;
  z-index: 1;
}

.tagline {
  margin: 10px 0 24px;
  color: rgba(139, 31, 23, 0.82);
  font-family: "Playfair Display", "Noto Sans SC", serif;
  font-size: clamp(24px, 6vw, 34px);
}

.intro {
  max-width: 700px;
  margin: 0;
  color: #48413f;
  font-size: 17px;
  line-height: 1.82;
}

.intro-toggle {
  display: none;
}

.logo-panel {
  margin: 0;
  display: flex;
  justify-content: center;
}

.logo-panel img {
  width: min(100%, 430px);
  display: block;
  filter:
    drop-shadow(0 0 18px rgba(78, 181, 200, 0.16))
    drop-shadow(0 14px 28px rgba(139, 31, 23, 0.08));
}

.catalog {
  padding: 46px 0 58px;
}

.catalog h1,
.catalog h2,
.shipping h2 {
  font-size: clamp(32px, 8vw, 42px);
  line-height: 1.15;
}

.catalog h1 {
  margin: 0;
  color: var(--primary);
  font-family: "Playfair Display", "Noto Sans SC", serif;
  font-weight: 700;
}

.search-box {
  height: 49px;
  margin: 30px 0 24px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.search-box:focus-within {
  border-color: rgba(139, 31, 23, 0.45);
  box-shadow: var(--focus-ring);
}

.search-box svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: #908986;
  stroke-width: 2;
}

.search-box input {
  min-width: 0;
  width: 100%;
  border: 0;
  outline: 0;
  color: var(--text);
  background: transparent;
  font-size: 16px;
}

.search-box input::placeholder {
  color: #948b88;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.filter-button {
  border: 0;
  border-radius: 6px;
  min-height: 40px;
  padding: 0 17px;
  background: var(--primary-soft);
  color: #1f1b19;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.16s ease, color 0.16s ease, transform 0.16s ease;
}

.filter-button:hover {
  transform: translateY(-1px);
}

.filter-button.active {
  background: var(--primary);
  color: white;
}

.product-list {
  display: grid;
  gap: 16px;
}

.product-card {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.product-card:hover {
  border-color: rgba(139, 31, 23, 0.26);
  box-shadow: var(--shadow);
}

.product-card.expanded {
  border-color: rgba(139, 31, 23, 0.32);
  box-shadow: var(--shadow);
}

.product-summary {
  width: 100%;
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr) 22px;
  gap: 16px;
  align-items: start;
  padding: 16px;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
  border-radius: 8px;
}

.product-summary:hover {
  background: rgba(243, 233, 232, 0.35);
}

.product-img {
  position: relative;
  width: 82px;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 8px;
  background: var(--primary-soft);
}

.product-img.image-error::after {
  content: "云蕾";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--primary);
  font-size: 16px;
  font-weight: 800;
}

.product-img img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.category {
  display: inline-block;
  margin-bottom: 8px;
  padding: 4px 9px;
  border-radius: 4px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
}

.product-title {
  margin: 0 0 8px;
  color: #2b2522;
  font-size: 18px;
  line-height: 1.45;
  font-weight: 700;
}

.features {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  margin-top: 9px;
  color: rgba(139, 31, 23, 0.66);
  font-size: 12px;
  font-weight: 700;
}

.price {
  color: var(--primary);
  font-size: 20px;
  font-weight: 800;
}

.chevron {
  color: var(--primary);
  font-size: 24px;
  line-height: 1;
  transition: transform 0.18s ease;
}

.product-card.expanded .chevron {
  transform: rotate(180deg);
}

.product-detail {
  display: none;
  border-top: 1px solid var(--border);
  padding: 24px;
  background: rgba(250, 247, 246, 0.76);
}

.product-card.expanded .product-detail {
  display: block;
  animation: detail-in 0.18s ease;
}

@keyframes detail-in {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }

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

.detail-section + .detail-section {
  margin-top: 26px;
}

.detail-section h4 {
  margin: 0 0 12px;
  color: var(--primary);
  font-size: 16px;
}

.selling-points {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
  list-style: none;
  color: #5f5552;
  font-size: 14px;
  line-height: 1.55;
}

.selling-points li::before {
  content: "•";
  margin-right: 8px;
  color: var(--primary);
  font-weight: 800;
}

.spec-grid {
  display: grid;
  gap: 12px;
}

.spec-item {
  padding: 12px;
  background: var(--surface);
  border: 1px solid rgba(232, 223, 220, 0.82);
  border-radius: 6px;
}

.spec-key {
  display: block;
  margin-bottom: 5px;
  color: #7a706d;
  font-size: 12px;
  font-weight: 700;
}

.spec-value {
  color: #322c29;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.55;
}

.price-table-wrap {
  overflow-x: auto;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 470px;
  font-size: 14px;
}

.price-table th,
.price-table td {
  padding: 12px;
  border-bottom: 1px solid rgba(232, 223, 220, 0.88);
}

.price-table th {
  color: #786e6b;
  text-align: left;
  border-bottom: 2px solid rgba(139, 31, 23, 0.2);
}

.price-table th:not(:first-child),
.price-table td:not(:first-child) {
  text-align: right;
}

.price-table .live {
  color: var(--primary);
  font-weight: 800;
}

.empty-state {
  padding: 48px 0;
  text-align: center;
  color: var(--muted);
}

.empty-state p {
  margin: 0 0 8px;
  font-size: 18px;
}

.shipping {
  padding: 50px 0 66px;
  background: rgba(243, 233, 232, 0.38);
}

.shipping h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 30px;
}

.shipping h2 svg {
  width: 31px;
  height: 31px;
}

.service-grid {
  display: grid;
  gap: 18px;
}

.service-card {
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(61, 31, 26, 0.05);
}

.service-card h3 {
  margin: 0 0 14px;
  color: var(--primary);
  font-size: 17px;
}

.service-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  color: #514947;
  font-size: 14px;
  line-height: 1.55;
}

.footer {
  padding: 32px 16px;
  border-top: 1px solid var(--border);
  background: rgba(47, 42, 40, 0.04);
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}

.footer p {
  margin: 0 0 8px;
}

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

.footer strong {
  color: var(--text);
}

.ip-page {
  min-height: calc(100vh - 61px);
  padding: 48px 0 72px;
  background: linear-gradient(180deg, rgba(139, 31, 23, 0.055), rgba(250, 247, 246, 0));
}

.ip-stage {
  display: grid;
  gap: 28px;
}

.ip-heading {
  text-align: center;
}

.ip-heading h1 {
  margin: 0;
  color: var(--primary);
  font-family: "Playfair Display", "Noto Sans SC", serif;
  font-size: clamp(42px, 8vw, 76px);
  line-height: 1.05;
}

.ip-heading p {
  margin: 14px 0 0;
  color: rgba(139, 31, 23, 0.78);
  font-family: "Playfair Display", "Noto Sans SC", serif;
  font-size: clamp(22px, 4.5vw, 34px);
}

.video-shell {
  overflow: hidden;
  border: 1px solid rgba(139, 31, 23, 0.14);
  border-radius: 8px;
  background: #111;
  box-shadow: 0 18px 46px rgba(61, 31, 26, 0.15);
}

.video-shell video {
  width: 100%;
  max-height: min(70vh, 760px);
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #111;
}

@media (max-width: 767px) {
  .mobile-home-only {
    display: block;
  }

  .brand-home .hero {
    min-height: 0;
    display: block;
    padding: 52px 0 66px;
  }

  .site-header {
    overflow: hidden;
  }

  .nav {
    width: 100%;
    min-height: 66px;
    padding: 10px 0;
    justify-content: flex-start;
  }

  .brand-actions {
    width: 100%;
    gap: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0 16px 2px;
    margin: 0 -16px;
    scroll-padding: 16px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .brand-actions::-webkit-scrollbar {
    display: none;
  }

  .brand-mark,
  .ip-link,
  .douyin-link,
  .shop-link {
    flex: 0 0 auto;
  }

  .brand-mark {
    gap: 8px;
    min-height: 36px;
    font-size: 17px;
  }

  .brand-cloud {
    width: 24px;
    height: 24px;
  }

  .ip-link,
  .douyin-link,
  .shop-link {
    min-height: 32px;
    padding: 0 11px;
    font-size: 13px;
    border-radius: 16px;
    font-weight: 700;
    box-shadow: none;
  }

  .ip-link {
    background: rgba(243, 233, 232, 0.48);
    border-color: rgba(139, 31, 23, 0.12);
  }

  .douyin-link {
    background: rgba(47, 42, 40, 0.86);
  }

  .tmall-link {
    background: rgba(216, 30, 6, 0.82);
  }

  .jd-link {
    background: rgba(200, 22, 35, 0.82);
  }

  .logo-panel {
    display: none;
  }

  .hero h1 {
    font-size: clamp(38px, 10.5vw, 48px);
    white-space: nowrap;
  }

  .tagline {
    margin-top: 10px;
  }

  .intro-panel {
    margin-top: 26px;
  }

  .intro-toggle {
    min-height: 0;
    padding: 0;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border: 0;
    border-radius: 4px;
    background: transparent;
    color: var(--primary);
    font-weight: 800;
    cursor: pointer;
  }

  .intro-toggle-icon {
    display: inline-block;
    font-size: 18px;
    line-height: 1;
    transition: transform 0.18s ease;
  }

  .intro-content {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition:
      max-height 1.35s cubic-bezier(0.2, 0.75, 0.18, 1),
      opacity 1s ease,
      transform 1.1s ease;
  }

  .intro-panel.open .intro-content {
    max-height: 360px;
    opacity: 1;
    transform: translateY(0);
  }

  .intro-panel.open .intro-toggle-icon {
    transform: rotate(180deg);
  }

  .intro-panel.open .intro {
    padding-top: 18px;
  }
}

@media (max-width: 390px) {
  .container {
    width: min(calc(100% - 28px), 1120px);
  }

  .product-summary {
    grid-template-columns: 72px minmax(0, 1fr) 18px;
    gap: 12px;
  }

  .product-img {
    width: 72px;
  }

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

  .hero h1 {
    font-size: clamp(34px, 10vw, 44px);
  }

  .hero-title-row {
    gap: 6px;
  }

  .hero-logo-mobile {
    width: 96px;
  }

}

@media (min-width: 960px) {
  .nav-links {
    display: flex;
  }
}

@media (min-width: 768px) {
  .hero {
    padding: 78px 0 86px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(290px, 0.85fr);
    align-items: center;
  }

  .hero-title-row {
    display: block;
  }

  .hero-logo-mobile {
    display: none;
  }

  .catalog,
  .shipping {
    padding: 76px 0;
  }

  .product-summary {
    grid-template-columns: 96px minmax(0, 1fr) 24px;
    padding: 24px;
  }

  .product-img {
    width: 96px;
  }

  .spec-grid,
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
