/* 上海攸彩新材料科技有限公司 — 中文官网 */
:root {
  --brand: #e6007a;
  --brand-deep: #b80062;
  --ink: #0b1220;
  --ink-soft: #1a2740;
  --navy: #0e1f3d;
  --paper: #f7f5f2;
  --paper-2: #efeae4;
  --muted: #5c6578;
  --line: rgba(11, 18, 32, 0.1);
  --cyan: #00c2d8;
  --yellow: #f5c518;
  --orange: #ff7a1a;
  --white: #ffffff;
  --shadow: 0 24px 60px rgba(11, 18, 32, 0.12);
  --radius: 4px;
  --font-display: "Noto Serif SC", "Songti SC", serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-brand: "Outfit", "Noto Sans SC", sans-serif;
  --container: min(1180px, calc(100% - 3rem));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

/* Announcement */
.announce {
  background: linear-gradient(90deg, var(--brand), #ff4d9a 50%, var(--brand-deep));
  color: var(--white);
  text-align: center;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  padding: 0.55rem 1rem;
  position: relative;
  z-index: 40;
}

.announce button {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: var(--white);
  cursor: pointer;
  font-size: 1.1rem;
  opacity: 0.85;
}

.announce.hidden {
  display: none;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 245, 242, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.site-header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px rgba(11, 18, 32, 0.06);
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 0;
}

.logo {
  justify-self: center;
  display: grid;
  place-items: center;
  gap: 0.15rem;
}

.logo img {
  height: 52px;
  width: auto;
}

.logo-fallback {
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: 1.85rem;
  letter-spacing: 0.08em;
  color: var(--brand);
  line-height: 1;
}

.logo-fallback span {
  display: block;
  text-align: center;
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--muted);
  letter-spacing: 0.35em;
  margin-top: 0.15rem;
  font-weight: 500;
}

.nav {
  display: flex;
  gap: 1.6rem;
  justify-content: flex-start;
}

.nav a {
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  position: relative;
  padding: 0.25rem 0;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s ease;
}

.nav a:hover::after,
.nav a.active::after {
  transform: scaleX(1);
}

.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.lang-switch {
  font-size: 0.82rem;
  padding: 0.4rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  transition: all 0.25s;
}

.lang-switch:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: var(--radius);
  cursor: pointer;
  place-items: center;
  gap: 5px;
  flex-direction: column;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
}

/* Hero */
.hero {
  position: relative;
  min-height: min(88vh, 820px);
  display: grid;
  align-items: center;
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.08);
  animation: heroZoom 14s ease-out forwards;
  filter: saturate(1.12) contrast(1.04);
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(115deg, rgba(8, 13, 22, 0.88) 0%, rgba(8, 13, 22, 0.62) 45%, rgba(184, 0, 98, 0.45) 100%),
    linear-gradient(0deg, rgba(8, 13, 22, 0.72), transparent 48%);
}

.hero-content {
  width: var(--container);
  margin: 4rem auto 3.5rem;
  max-width: 720px;
  justify-self: start;
  margin-left: max(1.5rem, calc((100% - min(1180px, 100% - 3rem)) / 2));
}

.hero-brand {
  font-family: var(--font-brand);
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 0.95;
  margin: 0 0 0.35rem;
  animation: riseIn 0.9s 0.15s ease both;
}

.hero-brand small {
  display: block;
  font-family: var(--font-display);
  font-size: 0.38em;
  font-weight: 600;
  letter-spacing: 0.28em;
  margin-top: 0.55rem;
  color: rgba(255, 255, 255, 0.9);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.4vw, 2.35rem);
  font-weight: 600;
  line-height: 1.35;
  margin: 1.1rem 0 0.85rem;
  max-width: 14em;
  animation: riseIn 0.9s 0.35s ease both;
}

.hero p {
  margin: 0 0 1.6rem;
  font-size: 1.02rem;
  color: rgba(255, 255, 255, 0.86);
  max-width: 28em;
  animation: riseIn 0.9s 0.5s ease both;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  animation: riseIn 0.9s 0.65s ease both;
}

.color-strip {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--cyan), var(--yellow), var(--orange), var(--brand));
  animation: stripSlide 8s linear infinite;
  background-size: 200% 100%;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.25s, background 0.25s, color 0.25s, border-color 0.25s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--brand);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--brand-deep);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
}

.btn-dark {
  background: var(--ink);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}

.btn-outline:hover {
  background: var(--ink);
  color: var(--white);
}

/* Sections */
section {
  padding: 5.5rem 0;
}

.section-head {
  max-width: 640px;
  margin-bottom: 2.5rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--brand);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.7rem;
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--brand);
}

.section-head h2,
.page-hero h1,
.panel h2 {
  font-family: var(--font-display);
  font-weight: 650;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  line-height: 1.25;
  margin: 0 0 0.75rem;
}

.section-head p,
.lede {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

/* Feature band */
.feature-band {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.25rem;
  min-height: 420px;
}

.feature-visual {
  position: relative;
  overflow: hidden;
  min-height: 360px;
}

.feature-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s ease;
}

.feature-visual:hover img {
  transform: scale(1.04);
}

.feature-copy {
  background: var(--navy);
  color: var(--white);
  padding: clamp(1.8rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
}

.feature-copy::before {
  content: "";
  position: absolute;
  inset: auto -20% -30% auto;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(230, 0, 122, 0.35), transparent 70%);
}

.feature-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  margin: 0 0 0.85rem;
  position: relative;
}

.feature-copy p {
  margin: 0 0 1.4rem;
  color: rgba(255, 255, 255, 0.78);
  position: relative;
  max-width: 28em;
}

/* Products */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.product-item {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.35rem 1.35rem 1.5rem;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  position: relative;
  overflow: hidden;
}

.product-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--accent, var(--brand));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.35s ease;
}

.product-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: transparent;
}

.product-item:hover::before {
  transform: scaleY(1);
}

.product-code {
  font-family: var(--font-brand);
  font-weight: 700;
  color: var(--brand);
  letter-spacing: 0.04em;
  font-size: 0.92rem;
  margin-bottom: 0.45rem;
}

.product-item h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 0 0 0.7rem;
  line-height: 1.35;
}

.product-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1.1rem;
}

.tag {
  font-size: 0.75rem;
  padding: 0.28rem 0.55rem;
  background: var(--paper-2);
  color: var(--ink-soft);
}

/* Highlights */
.highlights {
  background:
    radial-gradient(circle at 12% 20%, rgba(230, 0, 122, 0.08), transparent 28%),
    radial-gradient(circle at 88% 70%, rgba(0, 194, 216, 0.08), transparent 30%),
    var(--white);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.stat {
  padding: 1.4rem 1.1rem;
  border-top: 2px solid var(--brand);
}

.stat strong {
  display: block;
  font-family: var(--font-brand);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1;
  margin-bottom: 0.55rem;
}

.stat span {
  color: var(--muted);
  font-size: 0.92rem;
}

/* Factory */
.factory {
  background: var(--ink);
  color: var(--white);
}

.factory .section-head p {
  color: rgba(255, 255, 255, 0.7);
}

.factory-gallery {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: 220px 220px;
  gap: 0.85rem;
}

.factory-gallery figure {
  margin: 0;
  overflow: hidden;
  position: relative;
  min-height: 180px;
  background: #0b1220;
}

.factory-gallery figure:first-child {
  grid-row: 1 / span 2;
}

.factory-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.factory-gallery-text figure:first-child,
.factory-gallery-text figure:last-child {
  background: #eef1f5;
}

.factory-gallery-text figure:first-child img,
.factory-gallery-text figure:last-child img {
  object-fit: contain;
  object-position: center;
}

.factory-gallery figure:hover img {
  transform: scale(1.05);
}

.factory-gallery-text figure:first-child:hover img,
.factory-gallery-text figure:last-child:hover img {
  transform: none;
}

/* CTA */
.cta-band {
  padding: 0 0 5.5rem;
}

.cta-panel {
  background:
    linear-gradient(120deg, rgba(11, 18, 32, 0.88), rgba(184, 0, 98, 0.78)),
    url("../assets/pigment.jpg") center/cover;
  color: var(--white);
  padding: clamp(2.2rem, 5vw, 3.6rem);
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: 1.5rem;
  align-items: center;
}

.cta-panel h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin: 0 0 0.55rem;
}

.cta-panel p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

/* Page hero */
.page-hero {
  padding: 4.5rem 0 2.5rem;
  background:
    linear-gradient(180deg, rgba(230, 0, 122, 0.06), transparent 70%),
    var(--paper);
  border-bottom: 1px solid var(--line);
}

.breadcrumb {
  color: var(--muted);
  font-size: 0.88rem;
  margin-bottom: 1rem;
}

.breadcrumb a:hover {
  color: var(--brand);
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: start;
}

.about-copy p + p {
  margin-top: 1rem;
}

.values {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.value {
  padding: 1.2rem 1.25rem;
  background: var(--white);
  border-left: 3px solid var(--brand);
}

.value h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  font-family: var(--font-display);
}

.value p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.about-visual {
  position: sticky;
  top: 6.5rem;
  background: var(--white);
  border: 1px solid var(--line);
  overflow: hidden;
}

.about-visual img {
  width: 100%;
  height: auto;
  min-height: 0;
  object-fit: contain;
  object-position: left center;
  display: block;
}

/* Contact */
.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
}

.contact-card {
  background: var(--ink);
  color: var(--white);
  padding: clamp(1.6rem, 3vw, 2.2rem);
}

.contact-card h2 {
  font-family: var(--font-display);
  margin: 0 0 1rem;
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.1rem;
}

.contact-list li span {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 0.25rem;
}

.contact-list a:hover {
  color: #ff7eb8;
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  padding: clamp(1.4rem, 3vw, 2rem);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.field {
  display: grid;
  gap: 0.4rem;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 0.88rem;
  color: var(--muted);
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 0.8rem 0.9rem;
  border-radius: var(--radius);
  outline: none;
  transition: border-color 0.25s, background 0.25s;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--brand);
  background: var(--white);
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.form-note {
  margin: 0.85rem 0 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.form-success {
  display: none;
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  background: rgba(0, 194, 216, 0.12);
  color: var(--ink);
  border-left: 3px solid var(--cyan);
}

.form-success.show {
  display: block;
}

/* Products page list */
.product-detail {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 1.5rem;
  margin-bottom: 1.25rem;
  background: var(--white);
  border: 1px solid var(--line);
  overflow: hidden;
}

.product-detail.full {
  grid-template-columns: 1fr;
}

.product-detail-media {
  min-height: 240px;
  background: linear-gradient(135deg, #1a2740, #0b1220);
  position: relative;
}

.product-detail-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
}

.product-detail-body {
  padding: 1.5rem 1.5rem 1.6rem;
}

.product-detail-body h2 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  margin: 0.3rem 0 0.7rem;
}

/* Footer */
.site-footer {
  background: #080d16;
  color: rgba(255, 255, 255, 0.78);
  padding: 3.5rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.9fr 0.9fr 0.9fr 1.2fr;
  gap: 1.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand img {
  height: 44px;
  width: auto;
  margin-bottom: 0.9rem;
  filter: brightness(1.05);
}

.footer-brand p {
  margin: 0;
  max-width: 28em;
  font-size: 0.95rem;
}

.site-footer h3 {
  color: var(--white);
  font-size: 0.92rem;
  letter-spacing: 0.12em;
  margin: 0 0 1rem;
  font-weight: 600;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.site-footer a:hover {
  color: #ff7eb8;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1.25rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* Animations */
@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-brand,
  .hero h1,
  .hero p,
  .hero-ctas,
  .hero-media img {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@keyframes heroZoom {
  to {
    transform: scale(1);
  }
}

@keyframes stripSlide {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 200% 50%;
  }
}

/* Advantage list */
.advantage-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.advantage-item {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.4rem 1.25rem;
}

.advantage-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 0.45rem;
}

.advantage-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Hot selling strip */
.hotsale-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.hotsale-card {
  background: var(--white);
  border: 1px solid var(--line);
  overflow: hidden;
  display: grid;
  grid-template-rows: 180px auto;
  transition: transform 0.3s, box-shadow 0.3s;
}

.hotsale-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.hotsale-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hotsale-card .body {
  padding: 1.15rem 1.2rem 1.35rem;
}

.hotsale-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0.2rem 0 0.55rem;
}

.hotsale-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

/* Application */
.app-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.app-item {
  padding: 1.4rem 1.25rem;
  background: linear-gradient(180deg, #fff, var(--paper-2));
  border-top: 3px solid var(--brand);
}

.app-item h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0 0 0.45rem;
}

.app-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Spec table */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  margin: 1.5rem 0 0;
  font-size: 0.95rem;
}

.spec-table th,
.spec-table td {
  border: 1px solid var(--line);
  padding: 0.85rem 1rem;
  text-align: left;
  vertical-align: top;
}

.spec-table th {
  background: var(--paper-2);
  font-weight: 600;
  white-space: nowrap;
}

.spec-table .code {
  font-family: var(--font-brand);
  color: var(--brand);
  font-weight: 700;
}

/* Policy page */
.policy-content {
  max-width: 820px;
}

.policy-content h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 2rem 0 0.75rem;
}

.policy-content p,
.policy-content li {
  color: var(--muted);
}

.policy-content ul {
  padding-left: 1.2rem;
}

/* TDS actions */
.tds-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.15rem;
}

.btn-sm {
  padding: 0.65rem 1.05rem;
  font-size: 0.88rem;
}

.btn-soft {
  background: var(--paper-2);
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn-soft:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.spec-table .tds-link {
  white-space: nowrap;
}

.spec-table .tds-link a {
  color: var(--brand);
  font-weight: 600;
  margin-right: 0.55rem;
}

.spec-table .tds-link a:hover {
  text-decoration: underline;
}

/* TDS document page */
.tds-page {
  background: var(--paper);
}

.tds-sheet {
  max-width: 880px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--line);
  padding: clamp(1.5rem, 4vw, 2.5rem);
}

.tds-sheet-header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  border-bottom: 2px solid var(--brand);
  padding-bottom: 1.1rem;
  margin-bottom: 1.4rem;
}

.tds-sheet-header img {
  height: 42px;
  width: auto;
}

.tds-sheet-header h1 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.8rem);
  margin: 0 0 0.35rem;
}

.tds-meta {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0;
}

.tds-sheet h2 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 1.5rem 0 0.65rem;
  color: var(--ink);
}

.tds-sheet p,
.tds-sheet li {
  color: var(--muted);
  line-height: 1.75;
}

.tds-sheet ul {
  margin: 0.4rem 0 0;
  padding-left: 1.2rem;
}

.tds-kv {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0.5rem;
}

.tds-kv th,
.tds-kv td {
  border: 1px solid var(--line);
  padding: 0.7rem 0.85rem;
  text-align: left;
  font-size: 0.95rem;
}

.tds-kv th {
  width: 32%;
  background: var(--paper-2);
  font-weight: 600;
  color: var(--ink);
}

.tds-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 1.5rem 0 0;
}

.tds-note {
  margin-top: 1.25rem;
  padding: 0.85rem 1rem;
  background: rgba(230, 0, 122, 0.06);
  border-left: 3px solid var(--brand);
  color: var(--muted);
  font-size: 0.9rem;
}

@media print {
  .announce,
  .site-header,
  .site-footer,
  .tds-toolbar,
  .tds-note,
  .breadcrumb {
    display: none !important;
  }

  .tds-sheet {
    border: none;
    max-width: none;
    padding: 0;
  }

  body {
    background: white;
  }
}

/* SKU / color rows */
.sku-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  font-size: 0.92rem;
  background: var(--white);
}

.sku-table th,
.sku-table td {
  border: 1px solid var(--line);
  padding: 0.7rem 0.8rem;
  text-align: left;
  vertical-align: middle;
}

.sku-table th {
  background: #e8f1fa;
  font-weight: 600;
}

.sku-swatch {
  width: 52px;
  height: 28px;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 2px;
  display: inline-block;
}

.sku-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.sku-actions a {
  font-size: 0.82rem;
  color: var(--brand);
  font-weight: 600;
}

.sku-actions a:hover {
  text-decoration: underline;
}

.sku-note {
  margin: 0.75rem 0 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.bilingual {
  color: var(--muted);
  font-size: 0.92rem;
}

/* Mobile */
@media (max-width: 960px) {
  .header-inner {
    grid-template-columns: auto 1fr auto;
  }

  .logo {
    justify-self: start;
  }

  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--paper);
    flex-direction: column;
    padding: 1rem 1.5rem 1.25rem;
    border-bottom: 1px solid var(--line);
    gap: 0.85rem;
  }

  .nav.open {
    display: flex;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .feature-band,
  .products-grid,
  .stats,
  .about-grid,
  .contact-layout,
  .footer-grid,
  .product-detail,
  .cta-panel,
  .form-grid,
  .advantage-grid,
  .hotsale-band,
  .app-grid {
    grid-template-columns: 1fr;
  }

  .factory-gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 200px 160px 160px;
  }

  .factory-gallery figure:first-child {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 220px;
  }

  .hero {
    min-height: 78vh;
  }

  .hero-content {
    margin-left: 1.5rem;
    margin-right: 1.5rem;
    margin-bottom: 4rem;
  }

  .about-visual {
    position: static;
  }
}

@media (max-width: 640px) {
  :root {
    --container: calc(100% - 2rem);
  }

  .logo img {
    height: 42px;
  }

  .header-actions .lang-switch {
    display: none;
  }

  .factory-gallery {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .factory-gallery figure {
    min-height: 180px;
  }

  .stats,
  .advantage-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hotsale-band,
  .app-grid {
    grid-template-columns: 1fr;
  }
}
