/* =========================================================
   GDS — B2B Wig Supplier · Stylesheet
   Palette: warm cream · espresso · camel gold · rose
   ========================================================= */

:root {
  --bg: #faf6ef;
  --bg-soft: #f3ece1;
  --card: #ffffff;
  --ink: #241b13;
  --ink-soft: #4a3d30;
  --muted: #8a7a68;
  --line: #e7ddce;
  --gold: #b98a4e;
  --gold-deep: #9a6f39;
  --rose: #c07a71;
  --rose-soft: #f6e3df;
  --green: #4f7d5e;
  --shadow-sm: 0 2px 10px rgba(60, 45, 25, 0.06);
  --shadow-md: 0 12px 34px rgba(60, 45, 25, 0.10);
  --shadow-lg: 0 24px 60px rgba(60, 45, 25, 0.14);
  --radius: 16px;
  --radius-sm: 10px;
  --serif: "Playfair Display", "Georgia", serif;
  --sans: "Inter", -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --maxw: 1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }

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

/* ---------- Typography ---------- */
h1, h2, h3, .serif { font-family: var(--serif); font-weight: 600; line-height: 1.15; }
.eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 600;
  margin-bottom: 14px;
}
.section-title { font-size: clamp(28px, 4vw, 40px); color: var(--ink); }
.section-sub { color: var(--muted); margin-top: 10px; max-width: 620px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border-radius: 999px; font-weight: 600; font-size: 15px;
  border: 1px solid transparent; transition: all .2s ease; white-space: nowrap;
}
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--gold-deep); transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: var(--gold-deep); transform: translateY(-1px); }
.btn-outline { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-outline:hover { border-color: var(--ink); }
.btn-ghost { color: var(--ink); padding: 10px 18px; }
.btn-ghost:hover { color: var(--gold-deep); }

/* ---------- Announcement bar ---------- */
.topbar {
  background: var(--ink); color: #f0e6d8; font-size: 13px; text-align: center;
  padding: 9px 20px; letter-spacing: 0.03em;
}
.topbar strong { color: #e8c98f; font-weight: 600; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 246, 239, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 32px; height: 74px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark {
  width: 38px; height: 38px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #e9c98f, var(--gold-deep));
  display: grid; place-items: center; color: #fff;
  font-family: var(--serif); font-size: 17px; font-weight: 700;
}
.logo-text { font-family: var(--serif); font-size: 22px; font-weight: 700; letter-spacing: 0.04em; }
.logo-text small { display: block; font-family: var(--sans); font-size: 10px; letter-spacing: 0.3em; color: var(--muted); font-weight: 600; text-transform: uppercase; }

.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { font-size: 15px; font-weight: 500; color: var(--ink-soft); position: relative; }
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px;
  background: var(--gold); transition: width .25s ease;
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after { width: 100%; }

.header-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; background: none; border: none; font-size: 24px; color: var(--ink); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(135deg, #f6efe3 0%, #efe4d3 100%); }
.hero-inner { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 20px; align-items: center; min-height: 560px; padding: 60px 0; }
.hero-copy { padding: 20px 0; }
.hero-copy h1 { font-size: clamp(38px, 5.4vw, 64px); margin-bottom: 20px; }
.hero-copy h1 em { font-style: italic; color: var(--gold-deep); }
.hero-copy p { color: var(--ink-soft); font-size: 18px; max-width: 520px; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-fig { position: relative; display: flex; align-items: center; justify-content: center; }
.hero-fig::before {
  content: ""; position: absolute; width: 430px; height: 430px; border-radius: 50%;
  background: radial-gradient(circle, rgba(185,138,78,0.22), rgba(185,138,78,0));
}
.hero-fig img { position: relative; max-height: 500px; object-fit: contain; filter: drop-shadow(0 30px 40px rgba(60,45,25,0.22)); }
.hero-stats { position: absolute; background: #fff; border-radius: var(--radius); padding: 16px 20px; box-shadow: var(--shadow-md); }
.hero-stats b { font-family: var(--serif); font-size: 24px; color: var(--gold-deep); display: block; }
.hero-stats span { font-size: 12px; color: var(--muted); }
.hs-1 { top: 18%; left: 2%; }
.hs-2 { bottom: 16%; right: 4%; }

/* ---------- Trust strip ---------- */
.trust { background: #fff; border-bottom: 1px solid var(--line); }
.trust-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 34px 0; }
.trust-item { display: flex; gap: 14px; align-items: flex-start; }
.trust-item .ico { font-size: 22px; }
.trust-item b { font-size: 15px; display: block; }
.trust-item span { font-size: 13px; color: var(--muted); }

/* ---------- Section shell ---------- */
.section { padding: 84px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 44px; flex-wrap: wrap; }
.section-head .link { font-size: 14px; font-weight: 600; color: var(--gold-deep); }

/* ---------- Product grid ---------- */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card {
  background: var(--card); border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); transition: transform .25s ease, box-shadow .25s ease;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.card-media {
  position: relative; height: 380px; display: grid; place-items: center;
  background: linear-gradient(180deg, #f7f1e7, #efe6d7); padding: 24px; overflow: hidden;
}
.card-media img {
  position: absolute; inset: 0; margin: auto;
  max-width: calc(100% - 48px); max-height: calc(100% - 48px);
  object-fit: contain; transition: transform .4s ease, opacity .35s ease;
}
.card-media .img-hover { opacity: 0; }
.card:hover .card-media .img-main { opacity: 0; transform: scale(1.06); }
.card:hover .card-media .img-hover { opacity: 1; transform: scale(1.06); }
.card-badge {
  position: absolute; top: 16px; left: 16px; font-size: 11px; font-weight: 700;
  letter-spacing: 0.08em; padding: 6px 12px; border-radius: 999px;
  background: var(--rose); color: #fff; text-transform: uppercase;
}
.card-badge.gold { background: var(--gold); }
.card-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.card-sku { font-size: 12px; letter-spacing: 0.12em; color: var(--muted); font-weight: 600; }
.card-title { font-family: var(--serif); font-size: 22px; margin: 6px 0 4px; }
.card-sub { color: var(--muted); font-size: 14px; }
.card-specs { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0; }
.chip {
  font-size: 12px; font-weight: 500; padding: 5px 12px; border-radius: 999px;
  background: var(--bg-soft); color: var(--ink-soft); border: 1px solid var(--line);
}
.card-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.moq { font-size: 13px; color: var(--muted); }
.moq b { color: var(--ink); }

/* ---------- Product filters ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.filter-btn {
  padding: 10px 22px; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; color: var(--ink-soft); font-weight: 600; font-size: 14px;
  transition: all .2s ease; cursor: pointer; font-family: inherit;
}
.filter-btn:hover { border-color: var(--ink); color: var(--ink); }
.filter-btn.active { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- Why us / capabilities ---------- */
.why { background: #fff; }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.why-card { padding: 28px; border-radius: var(--radius); background: var(--bg); border: 1px solid var(--line); }
.why-card .ico { font-size: 30px; }
.why-card h3 { font-size: 19px; margin: 14px 0 8px; }
.why-card p { color: var(--muted); font-size: 14px; }

/* ---------- Split (OEM/ODM) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split-list { display: grid; gap: 18px; margin-top: 28px; }
.split-list li { display: flex; gap: 14px; align-items: flex-start; }
.split-list .num {
  flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--ink);
  color: #fff; display: grid; place-items: center; font-size: 14px; font-weight: 700;
}
.split-list b { display: block; font-size: 16px; }
.split-list p { color: var(--muted); font-size: 14px; }
.split-visual { border-radius: var(--radius); overflow: hidden; background: var(--bg-soft); padding: 30px; display: grid; place-items: center; }
.split-visual img { max-height: 480px; object-fit: contain; }

/* ---------- Inquiry CTA ---------- */
.cta-band {
  background: linear-gradient(120deg, #2b2116, #4a3a27);
  color: #f3ead9; border-radius: var(--radius); padding: 60px 60px;
  display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; align-items: center;
}
.cta-band h2 { font-size: clamp(26px, 3.6vw, 38px); color: #fff; }
.cta-band p { color: #d8c9af; margin-top: 12px; }
.cta-band .btn { margin-top: 24px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #cfc2ae; padding: 70px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-brand .logo-text { color: #fff; }
.footer-brand p { margin-top: 16px; font-size: 14px; max-width: 300px; }
.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 18px; letter-spacing: 0.06em; }
.footer-col a, .footer-col li { display: block; font-size: 14px; padding: 6px 0; color: #cfc2ae; }
.footer-col a:hover { color: #e8c98f; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); margin-top: 50px; padding-top: 26px; display: flex; justify-content: space-between; gap: 16px; font-size: 13px; flex-wrap: wrap; }

/* =========================================================
   Product detail page
   ========================================================= */
.crumbs { font-size: 13px; color: var(--muted); padding: 22px 0; }
.crumbs a:hover { color: var(--gold-deep); }
.crumbs span { margin: 0 8px; color: var(--line); }

.pdp { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: start; }
.gallery-main {
  border-radius: var(--radius); background: linear-gradient(180deg, #f7f1e7, #efe6d7);
  display: grid; place-items: center; padding: 40px; min-height: 520px; position: relative;
  border: 1px solid var(--line);
}
.gallery-main img { max-height: 560px; object-fit: contain; }
.gallery-main .card-badge { left: 20px; top: 20px; }
.gallery-thumbs { display: flex; gap: 12px; margin-top: 16px; }
.gallery-thumbs .thumb {
  width: 86px; height: 108px; border-radius: var(--radius-sm); overflow: hidden;
  border: 2px solid var(--line); background: var(--bg-soft); display: grid; place-items: center; padding: 8px;
  transition: border-color .2s ease;
}
.gallery-thumbs .thumb.active { border-color: var(--gold); }
.gallery-thumbs .thumb img { object-fit: contain; max-height: 100%; }

.pdp-info .eyebrow { margin-bottom: 8px; }
.pdp-info h1 { font-size: clamp(30px, 4vw, 44px); }
.pdp-info .sku-line { color: var(--muted); font-size: 14px; margin: 8px 0 4px; letter-spacing: 0.05em; }
.pdp-price { display: flex; align-items: baseline; gap: 14px; margin: 18px 0; flex-wrap: wrap; }
.pdp-price .ref { font-family: var(--serif); font-size: 30px; color: var(--gold-deep); }
.pdp-price .note { font-size: 13px; color: var(--muted); }

.spec-table { width: 100%; border-collapse: collapse; margin: 22px 0 8px; }
.spec-table th, .spec-table td { text-align: left; padding: 12px 6px; font-size: 14px; border-bottom: 1px solid var(--line); }
.spec-table th { color: var(--muted); font-weight: 500; width: 160px; white-space: nowrap; }
.spec-table td { color: var(--ink-soft); font-weight: 500; }
.swatch { display: inline-block; width: 14px; height: 14px; border-radius: 50%; vertical-align: -2px; margin-right: 8px; border: 1px solid rgba(0,0,0,0.12); }

.points { display: grid; gap: 12px; margin: 24px 0; }
.points li { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; background: var(--bg-soft); border-radius: var(--radius-sm); }
.points .tick { color: var(--green); font-weight: 700; }
.points b { display: block; font-size: 14.5px; }
.points p { color: var(--muted); font-size: 13.5px; }

.moq-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; margin: 22px 0; }
.moq-box h3 { font-size: 18px; margin-bottom: 14px; }
.moq-row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.moq-row:last-child { border-bottom: none; }
.moq-row span { color: var(--muted); }
.moq-row b { font-weight: 600; }

/* ---------- Inquiry form ---------- */
.inquiry { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm); }
.inquiry h3 { font-size: 22px; margin-bottom: 6px; }
.inquiry .hint { color: var(--muted); font-size: 13.5px; margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--ink-soft); }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-family: inherit; font-size: 14.5px; background: var(--bg); color: var(--ink);
  transition: border-color .2s ease;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--gold); }
.field textarea { resize: vertical; min-height: 110px; }
.form-note { font-size: 12px; color: var(--muted); margin-top: 8px; }

/* ---------- Related ---------- */
.related { padding: 20px 0 90px; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .grid, .why-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { grid-template-columns: 1fr; text-align: center; min-height: auto; }
  .hero-copy p { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-fig img { max-height: 380px; }
  .trust-inner { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .cta-band { grid-template-columns: 1fr; padding: 44px 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .pdp { grid-template-columns: 1fr; gap: 36px; }
  .nav { display: none; position: absolute; top: 74px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 20px 28px; gap: 18px; border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
  .nav-toggle { display: block; margin-left: auto; }
}
@media (max-width: 560px) {
  .grid, .why-grid, .trust-inner, .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .container { padding: 0 18px; }
  .header-cta .btn-outline { display: none; }
}
