:root {
  --ink: #241f21;
  --muted: #6f6668;
  --line: #eadfdd;
  --paper: #fffaf8;
  --soft: #f6eeee;
  --rose: #b76e79;
  --rose-dark: #7f3f4b;
  --sage: #667760;
  --gold: #b89462;
  --charcoal: #30282a;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(60, 42, 47, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Noto Serif TC", "PingFang TC", "Microsoft JhengHei", "Songti TC", serif;
  line-height: 1.7;
  overflow-x: hidden;
  overflow-wrap: anywhere;
}

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

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

figure {
  margin: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 16px clamp(18px, 5vw, 70px);
  background: rgba(255, 250, 248, 0.92);
  border-bottom: 1px solid rgba(234, 223, 221, 0.9);
  backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--white);
  background: var(--charcoal);
  border-radius: 50%;
  font-family: Arial, sans-serif;
  font-weight: 700;
}

.brand-logo {
  display: block;
  width: 58px;
  height: 56px;
  border-radius: 0;
  object-fit: contain;
  background: var(--white);
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.15;
}

.brand strong {
  font-size: 18px;
  letter-spacing: 0;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 32px);
  color: var(--muted);
  font-size: 15px;
  white-space: nowrap;
}

nav a:hover {
  color: var(--rose-dark);
}

.hero {
  display: grid;
  min-height: 640px;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.1fr);
  gap: clamp(26px, 5vw, 72px);
  align-items: center;
  padding: clamp(44px, 6vw, 76px) clamp(18px, 6vw, 86px) 46px;
  overflow: hidden;
}

.hero.compact {
  min-height: 58vh;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.85fr);
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--rose-dark);
  font-family: Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 18px;
  font-size: clamp(36px, 5.2vw, 64px);
  line-height: 1.08;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(30px, 4.2vw, 48px);
  line-height: 1.18;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 22px;
  line-height: 1.3;
}

.hero-copy p:not(.eyebrow) {
  max-width: 560px;
  color: var(--muted);
  font-size: 18px;
}

.hero-copy .official-badge {
  display: inline-flex;
  width: fit-content;
  margin: 0 0 16px;
  padding: 7px 12px;
  border: 1px solid #d9b5aa;
  color: var(--rose-dark);
  background: rgba(255, 255, 255, 0.74);
  font-size: 14px;
  font-weight: 700;
}

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

.hero-actions a,
.template-actions a,
.cert-window a,
.doc-card a {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border: 1px solid var(--rose-dark);
  color: var(--rose-dark);
  background: rgba(255, 255, 255, 0.72);
  font-weight: 700;
}

.hero-actions a:first-child,
.template-actions a:first-child {
  color: var(--white);
  background: var(--rose-dark);
}

.hero-media {
  position: relative;
  min-height: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: var(--shadow);
  background: #f3e6d7;
}

.hero-media img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
}

.hero-media::after {
  position: absolute;
  right: 22px;
  bottom: 22px;
  padding: 9px 13px;
  color: var(--white);
  background: rgba(36, 31, 33, 0.72);
  content: "Wigs · Hairpieces · Curling Tools";
  font-family: Arial, sans-serif;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-studio {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 35% 24%, rgba(255,255,255,0.82), transparent 25%),
    linear-gradient(145deg, #f7e6e2, #efe9e2 45%, #d9c9bd);
  box-shadow: var(--shadow);
}

.wig-head {
  position: absolute;
  left: 24%;
  bottom: 54px;
  width: 210px;
  height: 296px;
  border-radius: 46% 46% 38% 38%;
  background: linear-gradient(#f1c8bb, #d99e91);
}

.wig-head::before {
  position: absolute;
  left: -30px;
  top: -58px;
  width: 270px;
  height: 250px;
  border-radius: 48% 52% 56% 44%;
  background: radial-gradient(circle at 58% 22%, #55464a 0 10%, transparent 11%), linear-gradient(145deg, #1d1719, #604a4d 56%, #211719);
  content: "";
}

.hair-strands {
  position: absolute;
  right: 12%;
  top: 64px;
  width: 156px;
  height: 350px;
  border-radius: 78px;
  background: repeating-linear-gradient(90deg, #2c2021 0 6px, #5a4140 7px 10px, #241819 11px 15px);
  box-shadow: -24px 28px 0 rgba(36, 24, 25, 0.14);
}

.curling-iron {
  position: absolute;
  right: 9%;
  bottom: 82px;
  width: 250px;
  height: 26px;
  border-radius: 20px;
  background: linear-gradient(90deg, #d8b274 0 46%, #2c292b 46% 100%);
  transform: rotate(-24deg);
}

.template-switch {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 24px clamp(18px, 6vw, 86px);
  background: var(--white);
  border-block: 1px solid var(--line);
}

.template-switch a {
  display: block;
  padding: 16px 18px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--muted);
}

.template-switch strong {
  display: block;
  color: var(--ink);
}

.brand-proof,
.certificate,
.products,
.quality,
.contact,
.template-intro,
.docs-strip,
.official-review,
.page-hero,
.info-panel,
.document-page,
.review-table {
  padding: clamp(54px, 8vw, 96px) clamp(18px, 6vw, 86px);
}

.official-review {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(26px, 5vw, 64px);
  align-items: start;
  background: #fbf5f3;
  border-block: 1px solid var(--line);
}

.review-intro p:not(.section-kicker),
.page-hero p,
.info-panel p,
.document-card p,
.review-table p {
  color: var(--muted);
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.review-grid article {
  min-height: 168px;
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--white);
}

.review-grid span {
  display: block;
  margin-bottom: 18px;
  color: var(--gold);
  font-family: Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
}

.review-grid h3 {
  font-size: 20px;
}

.review-grid p {
  margin: 0;
  color: var(--muted);
}

.page-hero {
  background: var(--white);
  text-align: center;
}

.page-hero p {
  max-width: 820px;
  margin-inline: auto;
  font-size: 18px;
}

.info-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: clamp(28px, 5vw, 70px);
  background: var(--soft);
}

.info-panel dl,
.review-table dl {
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
}

.page-products {
  padding-top: 0;
}

.document-page {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 28px);
  background: #fbf5f3;
}

.document-card {
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 10px 26px rgba(60, 42, 47, 0.045);
}

.document-card a {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  margin-top: 12px;
  padding: 12px 22px;
  border: 1px solid var(--rose-dark);
  color: var(--white);
  background: var(--rose-dark);
  font-weight: 700;
}

.review-table {
  background: var(--white);
}

.review-table h2 {
  text-align: center;
}

.review-table .section-kicker {
  text-align: center;
}

.review-table dl {
  max-width: 920px;
  margin-inline: auto;
}

.contact-page {
  background: var(--soft);
}

.brand-proof {
  text-align: center;
  background: var(--white);
}

.brand-proof p {
  max-width: 900px;
  margin-inline: auto;
  color: var(--muted);
  font-size: 18px;
}

.brand-proof strong {
  color: var(--ink);
}

.certificate {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: center;
  background: #fbf5f3;
}

.cert-copy p:not(.section-kicker) {
  max-width: 620px;
  color: var(--muted);
}

.cert-window {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
  padding: clamp(30px, 5vw, 54px);
  border: 2px solid #d9b5aa;
  background: rgba(255, 255, 255, 0.82);
}

.cert-window a {
  min-width: 164px;
  border-color: #b99383;
  color: #926c5c;
}

.cert-note {
  flex-basis: 100%;
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

.section-title {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-title p:not(.section-kicker) {
  color: var(--muted);
}

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

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 1160px;
  margin: 0 auto;
  gap: clamp(22px, 2.4vw, 32px);
}

.product-card {
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 10px 26px rgba(60, 42, 47, 0.045);
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.product-card:hover {
  border-color: #d9b5aa;
  transform: translateY(-2px);
}

.product-visual {
  position: relative;
  aspect-ratio: 3 / 4;
  min-height: 0;
  overflow: hidden;
  background: #f7f1ee;
}

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

.product-visual .tag {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 3;
  padding: 6px 10px;
  color: var(--white);
  background: rgba(36, 31, 33, 0.68);
  font-size: 13px;
  font-weight: 700;
}

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

.product-body h3 {
  margin-bottom: 7px;
  font-size: 20px;
}

.product-body p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.visual-wig .face {
  position: absolute;
  left: 50%;
  bottom: 42px;
  width: 130px;
  height: 170px;
  border-radius: 46% 46% 42% 42%;
  background: #efc8bd;
  transform: translateX(-50%);
}

.visual-wig .hair {
  position: absolute;
  left: 50%;
  bottom: 88px;
  width: 190px;
  height: 205px;
  border-radius: 48% 48% 28% 28%;
  background: linear-gradient(115deg, #151113, #433135 58%, #201719);
  transform: translateX(-50%);
}

.visual-wig .hair::after {
  position: absolute;
  left: 50%;
  top: 0;
  width: 2px;
  height: 92%;
  background: rgba(255, 255, 255, 0.22);
  content: "";
}

.visual-scalp {
  background: linear-gradient(130deg, #dfb2a3, #3d2b2d 48%, #171113);
}

.scalp-line {
  position: absolute;
  left: 50%;
  top: 32px;
  width: 30px;
  height: 230px;
  border-radius: 18px;
  background: linear-gradient(#e7b5a4, #9f6f65);
  transform: rotate(11deg);
}

.mesh {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.12) 1px, transparent 1px);
  background-size: 22px 22px;
  mix-blend-mode: screen;
}

.visual-topper .base {
  position: absolute;
  left: 50%;
  top: 50px;
  width: 190px;
  height: 210px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, #c0aaa2 0 18%, #796360 19% 24%, #211719 25% 100%);
  transform: translateX(-50%);
}

.topper-hair {
  position: absolute;
  left: 50%;
  top: 35px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: repeating-radial-gradient(circle at 50% 46%, #2b2022 0 9px, #574042 10px 13px);
  opacity: 0.9;
  transform: translateX(-50%);
}

.visual-extension {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  background: #efe0d9;
}

.visual-extension > span:not(.tag) {
  width: 54px;
  height: 240px;
  border-radius: 30px;
  background: repeating-linear-gradient(90deg, #171113 0 5px, #493739 6px 9px);
}

.visual-extension > span:nth-child(2) {
  height: 270px;
}

.visual-curl {
  background: linear-gradient(145deg, #f2ece4, #d8c0b7);
}

.barrel,
.handle {
  position: absolute;
  left: 50%;
  top: 50%;
  height: 36px;
  border-radius: 22px;
  transform: translate(-50%, -50%) rotate(-28deg);
}

.barrel {
  width: 180px;
  background: linear-gradient(90deg, #c99450, #ead1a6, #c99450);
}

.handle {
  left: 62%;
  width: 150px;
  background: #252225;
}

.visual-care {
  background: linear-gradient(145deg, #e9e9de, #d2d8ca);
}

.comb,
.spray {
  position: absolute;
}

.comb {
  left: 26%;
  top: 58px;
  width: 44px;
  height: 210px;
  background: repeating-linear-gradient(90deg, #2c292b 0 4px, transparent 5px 9px);
  transform: rotate(12deg);
}

.spray {
  right: 24%;
  top: 70px;
  width: 82px;
  height: 190px;
  border-radius: 18px 18px 12px 12px;
  background: linear-gradient(#fafafa 0 22%, #9c7580 22% 100%);
}

.quality {
  display: grid;
  grid-template-columns: minmax(240px, 0.85fr) minmax(0, 1.6fr);
  gap: clamp(24px, 5vw, 70px);
  background: var(--charcoal);
  color: var(--white);
}

.quality .section-kicker {
  color: #e3b8bf;
}

.quality-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.quality-list article {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
}

.quality-list p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1fr);
  gap: clamp(28px, 5vw, 76px);
  background: var(--white);
}

.contact p {
  color: var(--muted);
}

dl {
  display: grid;
  gap: 14px;
  margin: 0;
}

dl div {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

dt {
  color: var(--muted);
}

dd {
  margin: 0;
  font-weight: 700;
}

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 26px clamp(18px, 6vw, 86px);
  color: rgba(255, 255, 255, 0.72);
  background: var(--charcoal);
  font-size: 14px;
}

footer strong {
  color: var(--white);
}

.template-intro {
  background: var(--white);
  text-align: center;
}

.template-intro p {
  max-width: 780px;
  margin-inline: auto;
  color: var(--muted);
}

.docs-strip {
  background: #faf6f1;
}

.doc-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.doc-card {
  padding: 26px;
  border: 1px solid var(--line);
  background: var(--white);
}

.doc-card p {
  color: var(--muted);
}

.catalog-band {
  padding: clamp(46px, 7vw, 84px) clamp(18px, 6vw, 86px);
  background: var(--white);
}

.catalog-row {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(20px, 4vw, 48px);
  align-items: center;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}

.catalog-row:nth-child(even) {
  grid-template-columns: 1.15fr 0.85fr;
}

.catalog-row:nth-child(even) .catalog-copy {
  order: 2;
}

.catalog-thumb {
  min-height: 320px;
  background: linear-gradient(145deg, #e9d9d2, #cfc2b8);
}

.catalog-copy p {
  color: var(--muted);
}

.split-proof {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--white);
}

.split-proof > div {
  padding: clamp(42px, 7vw, 86px);
}

.split-proof > div:first-child {
  background: var(--soft);
}

.split-proof p {
  color: var(--muted);
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero,
  .hero.compact,
  .certificate,
  .quality,
  .contact,
  .catalog-row,
  .catalog-row:nth-child(even),
  .split-proof,
  .official-review,
  .info-panel {
    grid-template-columns: 1fr;
  }

  .catalog-row:nth-child(even) .catalog-copy {
    order: 0;
  }

  .product-grid,
  .quality-list,
  .doc-grid,
  .template-switch,
  .review-grid,
  .document-page {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 36px;
  }

  .hero-media,
  .hero-media img,
  .hero-studio {
    min-height: 0;
  }

  .hero-media::after {
    right: 12px;
    bottom: 12px;
    left: 12px;
    text-align: center;
  }

  .product-grid,
  .quality-list,
  .doc-grid,
  .template-switch,
  .review-grid,
  .document-page {
    grid-template-columns: 1fr;
  }

  .product-visual {
    min-height: 0;
  }

  .cert-window {
    gap: 14px;
  }

  .cert-window a {
    width: 100%;
  }

  dl div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}
