/*
Theme Name: FOCUS Spark
Theme URI: https://maisonrelic.com/
Author: Zhejiang Focus Smoking Set Co., Ltd.
Author URI: https://maisonrelic.com/
Description: Official export & wholesale theme for the FOCUS PF001 Spark Wand. Dark editorial layout built around verified product photography, patent documentation and factory transparency.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: Proprietary
Text Domain: focus-spark
Tags: business, manufacturing, b2b
*/

/* ---------------------------------------------------------------
   1. TOKENS
---------------------------------------------------------------- */
:root {
  --ink:        #0A0A0C;
  --ink-2:      #101013;
  --ink-3:      #17171B;
  --ink-4:      #1F1F24;
  --line:       #2B2B32;
  --line-soft:  #212127;
  --text:       #EDEAE3;
  --text-dim:   #B9B4AA;
  --muted:      #86817A;
  --gold:       #D9A24A;
  --gold-lt:    #F0C681;
  --gold-dk:    #8C6524;
  --danger:     #C4553F;
  --ok:         #5C8A5C;

  --wrap:       1240px;
  --wrap-narrow: 880px;
  --gutter:     clamp(20px, 4vw, 48px);
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  --serif: Georgia, "Times New Roman", "Songti SC", serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

/* ---------------------------------------------------------------
   2. RESET
---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 400; letter-spacing: -0.015em; }
p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0 0 1.15em; padding-left: 1.25em; }
li { margin-bottom: .45em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 0; }
::selection { background: var(--gold); color: #0A0A0C; }

/* ---------------------------------------------------------------
   3. LAYOUT PRIMITIVES
---------------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: var(--wrap-narrow); }
.section { padding: clamp(64px, 8vw, 128px) 0; }
.section--tight { padding: clamp(48px, 5vw, 76px) 0; }
.section--alt { background: var(--ink-2); }
.section--line { border-top: 1px solid var(--line-soft); }

.eyebrow {
  display: block;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.eyebrow--muted { color: var(--muted); }

.h-display {
  font-family: var(--serif);
  font-size: clamp(34px, 5.2vw, 68px);
  line-height: 1.06;
  letter-spacing: -0.025em;
  margin: 0 0 22px;
}
.h-section {
  font-family: var(--serif);
  font-size: clamp(26px, 3.4vw, 44px);
  line-height: 1.14;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
}
.h-sub {
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.42;
  font-weight: 500;
  margin: 0 0 12px;
}
.h-mini {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 14px;
}
.lede {
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.68;
  color: var(--text-dim);
  max-width: 68ch;
}
.small { font-size: 13.5px; line-height: 1.65; color: var(--muted); }
.mono { font-family: var(--mono); font-size: .92em; letter-spacing: -.01em; }
.gold { color: var(--gold); }

/* ---------------------------------------------------------------
   4. BUTTONS
---------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn--primary { background: var(--gold); color: #0A0A0C; border-color: var(--gold); }
.btn--primary:hover { background: var(--gold-lt); border-color: var(--gold-lt); }
.btn--ghost { background: transparent; color: var(--text); border-color: #3A3A42; }
.btn--ghost:hover { border-color: var(--text); background: rgba(255,255,255,.04); }
.btn--sm { padding: 11px 20px; font-size: 11px; letter-spacing: .12em; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* ---------------------------------------------------------------
   5. HEADER
---------------------------------------------------------------- */
.site-head {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(10,10,12,.92);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.site-head__in {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 66px;
}
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand__mark {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .16em;
  color: var(--text);
  line-height: 1;
}
.brand__rule { width: 1px; height: 20px; background: var(--line); }
.brand__sub {
  font-size: 9.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.3;
}
.nav { margin-left: auto; }
.nav ul { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav li { margin: 0; }
.nav a {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-dim);
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: color .16s, border-color .16s;
}
.nav a:hover, .nav .current-menu-item > a, .nav .current_page_item > a {
  color: var(--text);
  border-bottom-color: var(--gold);
}
.head-cta { flex-shrink: 0; }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  margin-left: auto;
  background: none; border: 1px solid var(--line);
  cursor: pointer;
  position: relative;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  position: absolute; left: 50%; width: 18px; height: 1.5px;
  background: var(--text); transform: translateX(-50%);
  content: "";
}
.nav-toggle span { top: 50%; margin-top: -.75px; }
.nav-toggle span::before { top: -6px; margin-top: 0; }
.nav-toggle span::after { top: 6px; margin-top: 0; }

/* ---------------------------------------------------------------
   6. HERO
---------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: min(88vh, 860px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border-bottom: 1px solid var(--line-soft);
}
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.hero__bg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(95% 85% at 10% 44%, rgba(10,10,12,.97) 0%, rgba(10,10,12,.62) 52%, rgba(10,10,12,0) 76%),
    linear-gradient(90deg, rgba(10,10,12,.97) 0%, rgba(10,10,12,.9) 38%, rgba(10,10,12,.52) 68%, rgba(10,10,12,.34) 100%),
    linear-gradient(0deg, rgba(10,10,12,.96) 0%, rgba(10,10,12,0) 46%);
}
.hero__in { position: relative; z-index: 2; width: 100%; padding-bottom: clamp(48px, 6vw, 84px); padding-top: 120px; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 10.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 24px;
  border: 1px solid var(--gold-dk); padding: 7px 14px;
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(36px, 5.6vw, 74px);
  line-height: 1.03;
  letter-spacing: -0.03em;
  margin: 0 0 24px;
  max-width: 16ch;
}
.hero__sub {
  font-size: clamp(15px, 1.5vw, 18.5px);
  line-height: 1.66;
  color: var(--text-dim);
  max-width: 54ch;
  margin: 0 0 8px;
}
.hero__meta {
  display: flex; flex-wrap: wrap; gap: 0;
  margin-top: 44px;
  border-top: 1px solid rgba(255,255,255,.14);
  padding-top: 22px;
}
.hero__meta div {
  padding-right: 34px; margin-right: 34px;
  border-right: 1px solid rgba(255,255,255,.12);
}
.hero__meta div:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.hero__meta dt {
  font-size: 9.5px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 5px;
}
.hero__meta dd {
  margin: 0; font-size: 14px; font-weight: 600; color: var(--text);
  letter-spacing: .01em;
}

/* ---------------------------------------------------------------
   7. TRUST STRIP
---------------------------------------------------------------- */
.trust-strip {
  background: var(--ink-3);
  border-bottom: 1px solid var(--line-soft);
}
.trust-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.trust-strip__cell {
  padding: 30px 26px;
  border-right: 1px solid var(--line-soft);
}
.trust-strip__cell:last-child { border-right: 0; }
.trust-strip__cell:first-child { padding-left: 0; }
.trust-strip__num {
  font-family: var(--serif);
  font-size: 26px; line-height: 1; color: var(--gold);
  margin-bottom: 8px; letter-spacing: -.02em;
}
.trust-strip__lbl {
  font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); line-height: 1.5;
}

/* ---------------------------------------------------------------
   8. SPLIT (image + text)
---------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.split--rev .split__media { order: 2; }
.split__media img { width: 100%; border: 1px solid var(--line-soft); }
.split__media--pad { background: var(--ink-3); padding: clamp(16px, 2.4vw, 34px); }
.split__body { max-width: 56ch; }

/* ---------------------------------------------------------------
   9. FIGURE / CALLOUT
---------------------------------------------------------------- */
.figure { margin: 0; }
.figure img { width: 100%; border: 1px solid var(--line); background: #000; }
.figure figcaption {
  margin-top: 14px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--muted);
  padding-left: 14px;
  border-left: 2px solid var(--gold-dk);
}

/* ---------------------------------------------------------------
   10. ANATOMY CALLOUTS
---------------------------------------------------------------- */
.anatomy {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(28px, 4.5vw, 64px);
  align-items: center;
}
.anatomy__list { list-style: none; margin: 0; padding: 0; }
.anatomy__list li {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 16px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line-soft);
  margin: 0;
}
.anatomy__list li:first-child { border-top: 1px solid var(--line-soft); }
.anatomy__idx {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--gold);
  letter-spacing: .04em;
  padding-top: 3px;
}
.anatomy__name { font-size: 14.5px; font-weight: 600; margin-bottom: 3px; }
.anatomy__desc { font-size: 13px; line-height: 1.58; color: var(--muted); }

/* ---------------------------------------------------------------
   11. COLOR GRID
---------------------------------------------------------------- */
.colors {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}
.colors__item { background: var(--ink-2); margin: 0; }
.colors__item img { width: 100%; aspect-ratio: 454 / 900; object-fit: cover; }
.colors__cap {
  padding: 15px 14px 17px;
  border-top: 1px solid var(--line-soft);
}
.colors__name {
  font-size: 11.5px; font-weight: 700; letter-spacing: .13em;
  text-transform: uppercase; margin-bottom: 4px;
}
.colors__fin { font-size: 10.5px; color: var(--muted); letter-spacing: .04em; line-height: 1.45; }

/* ---------------------------------------------------------------
   12. SPEC TABLE
---------------------------------------------------------------- */
.spec-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.spec-table caption {
  text-align: left; font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold); padding-bottom: 16px; font-weight: 700;
}
.spec-table th, .spec-table td {
  padding: 15px 0;
  border-bottom: 1px solid var(--line-soft);
  text-align: left;
  vertical-align: top;
}
.spec-table th {
  width: 42%;
  font-weight: 500;
  color: var(--muted);
  font-size: 12.5px;
  letter-spacing: .04em;
  padding-right: 24px;
}
.spec-table td { color: var(--text); font-size: 14px; }
.spec-table td .mono { color: var(--text-dim); }

/* ---------------------------------------------------------------
   13. SCENE GRID
---------------------------------------------------------------- */
.scenes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(14px, 2vw, 26px);
}
.scene {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  margin: 0;
}
.scene img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.3,1); }
.scene:hover img { transform: scale(1.035); }
.scene__cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 46px 22px 20px;
  background: linear-gradient(0deg, rgba(6,6,8,.94) 12%, rgba(6,6,8,0) 100%);
}
.scene__title { font-size: 15px; font-weight: 600; margin-bottom: 3px; }
.scene__sub { font-size: 12px; color: var(--text-dim); line-height: 1.5; }

/* ---------------------------------------------------------------
   14. PATENT / CERT
---------------------------------------------------------------- */
.certs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(18px, 2.6vw, 32px);
}
.cert { margin: 0; border: 1px solid var(--line); background: #fff; padding: 10px; }
.cert img { width: 100%; display: block; }
.cert__cap {
  background: var(--ink);
  border: 1px solid var(--line);
  border-top: 0;
  padding: 20px 22px 22px;
  margin: 0 -10px -10px;
}
.cert__no {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--gold);
  letter-spacing: .05em;
  margin-bottom: 7px;
}
.cert__t { font-size: 14px; font-weight: 600; margin-bottom: 5px; line-height: 1.4; }
.cert__d { font-size: 12.5px; color: var(--muted); line-height: 1.58; }

/* ---------------------------------------------------------------
   15. DATA / FACT CARDS
---------------------------------------------------------------- */
.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}
.facts--4 { grid-template-columns: repeat(4, 1fr); }
.fact { background: var(--ink-2); padding: clamp(22px, 2.6vw, 32px); margin: 0; }
.fact__k {
  font-family: var(--serif);
  font-size: clamp(24px, 2.8vw, 34px);
  color: var(--text);
  line-height: 1;
  margin-bottom: 10px;
  letter-spacing: -.02em;
}
.fact__k small { font-size: 13px; font-family: var(--sans); color: var(--muted); letter-spacing: 0; margin-left: 3px; }
.fact__v { font-size: 11.5px; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); line-height: 1.55; }

/* ---------------------------------------------------------------
   16. TIER TABLE (wholesale pricing)
---------------------------------------------------------------- */
.tiers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.tier { background: var(--ink-2); padding: 26px 22px 28px; margin: 0; }
.tier--hot { background: var(--ink-4); }
.tier__qty {
  font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 14px;
}
.tier__price {
  font-family: var(--serif);
  font-size: 27px; line-height: 1; color: var(--text); margin-bottom: 6px;
}
.tier__price small { font-size: 12px; font-family: var(--sans); color: var(--muted); }
.tier__note { font-size: 11.5px; color: var(--gold); letter-spacing: .04em; }

/* ---------------------------------------------------------------
   17. STEPS / PROCESS
---------------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(18px, 2.5vw, 30px); counter-reset: s; }
.step { margin: 0; padding-top: 20px; border-top: 2px solid var(--gold-dk); position: relative; }
.step__n {
  font-family: var(--mono); font-size: 11px; color: var(--gold);
  letter-spacing: .1em; margin-bottom: 12px;
}
.step__t { font-size: 15px; font-weight: 600; margin-bottom: 7px; }
.step__d { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* ---------------------------------------------------------------
   18. FAQ
---------------------------------------------------------------- */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 24px;
  padding: 24px 0;
  cursor: pointer;
  font-size: 15.5px;
  font-weight: 500;
  line-height: 1.5;
  list-style: none;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after {
  content: "+";
  font-family: var(--sans);
  font-size: 20px;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  flex-shrink: 0;
  transition: transform .2s;
}
.faq__item[open] .faq__q::after { content: "\2212"; }
.faq__a { padding: 0 0 26px; max-width: 78ch; }
.faq__a p { font-size: 14px; line-height: 1.72; color: var(--text-dim); }

/* ---------------------------------------------------------------
   19. FORMS
---------------------------------------------------------------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 22px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-size: 10.5px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted);
}
.field label .req { color: var(--gold); }
.field input, .field select, .field textarea {
  background: var(--ink);
  border: 1px solid var(--line);
  padding: 13px 15px;
  font-size: 14px;
  color: var(--text);
  width: 100%;
  transition: border-color .16s;
  -webkit-appearance: none;
  appearance: none;
  border-radius: 0;
}
.field textarea { min-height: 130px; resize: vertical; line-height: 1.6; }
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='7' viewBox='0 0 11 7'%3E%3Cpath d='M1 1l4.5 4.5L10 1' stroke='%2386817A' stroke-width='1.4' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  padding-right: 38px;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold-dk);
}
.field input::placeholder, .field textarea::placeholder { color: #565149; }
.hp { position: absolute !important; left: -9999px !important; opacity: 0; }
.form-note { font-size: 12px; color: var(--muted); line-height: 1.6; margin-top: 16px; }
.form-msg { padding: 15px 18px; font-size: 13.5px; margin-bottom: 24px; border-left: 2px solid; }
.form-msg--ok { background: rgba(92,138,92,.1); border-color: var(--ok); color: #9BC79B; }
.form-msg--err { background: rgba(196,85,63,.1); border-color: var(--danger); color: #E0998C; }

/* contact side panel */
.contact-panel { border: 1px solid var(--line); padding: clamp(24px, 3vw, 36px); background: var(--ink-2); }
.contact-row { padding: 16px 0; border-bottom: 1px solid var(--line-soft); }
.contact-row:first-of-type { padding-top: 0; }
.contact-row:last-of-type { border-bottom: 0; padding-bottom: 0; }
.contact-row__k {
  font-size: 10px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 6px;
}
.contact-row__v { font-size: 14.5px; line-height: 1.6; color: var(--text); word-break: break-word; }
.contact-row__v a:hover { color: var(--gold); }

/* ---------------------------------------------------------------
   20. CTA BAND
---------------------------------------------------------------- */
.cta-band {
  background: var(--ink-3);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(48px, 6vw, 84px) 0;
}
.cta-band__in {
  display: flex; align-items: center; justify-content: space-between;
  gap: 40px; flex-wrap: wrap;
}
.cta-band h2 {
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.16;
  letter-spacing: -.02em;
  margin: 0 0 10px;
  max-width: 24ch;
}
.cta-band p { color: var(--text-dim); font-size: 14.5px; max-width: 52ch; margin: 0; }

/* ---------------------------------------------------------------
   21. PROSE (policy pages / editor content)
---------------------------------------------------------------- */
.prose { max-width: 76ch; }
.prose h2 {
  font-family: var(--serif);
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.2;
  margin: 2.2em 0 .7em;
  padding-top: .2em;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 16.5px; font-weight: 600; margin: 1.9em 0 .6em; }
.prose p, .prose li { color: var(--text-dim); font-size: 14.5px; line-height: 1.78; }
.prose strong { color: var(--text); font-weight: 600; }
.prose a { color: var(--gold); border-bottom: 1px solid var(--gold-dk); }
.prose a:hover { color: var(--gold-lt); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose table { width: 100%; border-collapse: collapse; font-size: 13.5px; margin: 1.6em 0; }
.prose th, .prose td { border: 1px solid var(--line); padding: 11px 14px; text-align: left; }
.prose th { background: var(--ink-3); font-weight: 600; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.prose blockquote {
  margin: 1.8em 0; padding: 4px 0 4px 22px;
  border-left: 2px solid var(--gold); color: var(--text); font-size: 16px; line-height: 1.68;
}

/* page hero (inner pages) */
.page-hero {
  padding: clamp(56px, 7vw, 104px) 0 clamp(36px, 4vw, 56px);
  border-bottom: 1px solid var(--line-soft);
}
.page-hero h1 {
  font-family: var(--serif);
  font-size: clamp(30px, 4.2vw, 56px);
  line-height: 1.08;
  letter-spacing: -.025em;
  margin: 0 0 18px;
  max-width: 22ch;
}
.page-hero__sub { font-size: clamp(15px, 1.5vw, 18px); color: var(--text-dim); max-width: 62ch; line-height: 1.68; margin: 0; }

/* breadcrumb */
.crumb { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 22px; }
.crumb a:hover { color: var(--gold); }
.crumb span { color: var(--line); margin: 0 8px; }

/* ---------------------------------------------------------------
   22. FOOTER
---------------------------------------------------------------- */
.site-foot { background: var(--ink-2); border-top: 1px solid var(--line); padding: clamp(48px, 6vw, 84px) 0 0; }
.foot-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: clamp(28px, 4vw, 56px);
  padding-bottom: clamp(36px, 4vw, 52px);
}
.foot-col h3 {
  font-size: 10px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 18px; font-weight: 700;
}
.foot-col ul { list-style: none; margin: 0; padding: 0; }
.foot-col li { margin-bottom: 11px; }
.foot-col a, .foot-col p { font-size: 13.5px; color: var(--text-dim); line-height: 1.65; }
.foot-col a:hover { color: var(--gold); }
.foot-brand .brand { margin-bottom: 16px; }
.foot-brand p { font-size: 13px; color: var(--muted); line-height: 1.72; max-width: 34ch; }
.foot-bottom {
  border-top: 1px solid var(--line-soft);
  padding: 22px 0 26px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
  font-size: 12px; color: var(--muted);
}
.foot-bottom__legal { display: flex; gap: 22px; flex-wrap: wrap; }
.foot-bottom__legal a:hover { color: var(--gold); }

/* disclosure strip */
.disclosure {
  background: var(--ink-3);
  border-top: 1px solid var(--line-soft);
  padding: 18px 0;
  font-size: 11.5px;
  line-height: 1.7;
  color: #6E6961;
}
.disclosure strong { color: var(--muted); font-weight: 600; }

/* ---------------------------------------------------------------
   23. UTIL
---------------------------------------------------------------- */
.stack > * + * { margin-top: 18px; }
.stack-lg > * + * { margin-top: 34px; }
.mt-0 { margin-top: 0; }
.mt-s { margin-top: 14px; }
.mt-m { margin-top: 26px; }
.mt-l { margin-top: 44px; }
.mt-xl { margin-top: clamp(40px, 5vw, 72px); }
.center { text-align: center; }
.center .lede, .center .page-hero__sub { margin-left: auto; margin-right: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(24px, 3.5vw, 48px); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(22px, 3vw, 38px); }

/* notice box */
.notice {
  border: 1px solid var(--line);
  border-left: 2px solid var(--gold);
  background: var(--ink-2);
  padding: 22px 26px;
}
.notice p { font-size: 13.5px; line-height: 1.7; color: var(--text-dim); }
.notice strong { color: var(--text); }

/* warning list */
.warn-list { list-style: none; margin: 0; padding: 0; counter-reset: w; }
.warn-list li {
  counter-increment: w;
  display: grid; grid-template-columns: 26px 1fr; gap: 14px;
  padding: 13px 0; border-bottom: 1px solid var(--line-soft);
  margin: 0; font-size: 13.5px; line-height: 1.66; color: var(--text-dim);
}
.warn-list li::before {
  content: counter(w, decimal-leading-zero);
  font-family: var(--mono); font-size: 11px; color: var(--gold-dk);
  padding-top: 2px;
}

/* ---------------------------------------------------------------
   24. RESPONSIVE
---------------------------------------------------------------- */
@media (max-width: 1024px) {
  .nav { display: none; }
  .nav-toggle { display: block; }
  .head-cta { display: none; }
  .site-head.is-open .nav {
    display: block;
    position: absolute; left: 0; right: 0; top: 66px;
    background: var(--ink);
    border-bottom: 1px solid var(--line);
    padding: 12px var(--gutter) 24px;
  }
  .site-head.is-open .nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-head.is-open .nav a {
    display: block; padding: 14px 0; border-bottom: 1px solid var(--line-soft); font-size: 13px;
  }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .colors { grid-template-columns: repeat(3, 1fr); }
  .tiers { grid-template-columns: repeat(2, 1fr); }
  .facts--4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .split, .anatomy { grid-template-columns: 1fr; }
  .split--rev .split__media { order: 0; }
  .split__body { max-width: none; }
  .trust-strip__grid { grid-template-columns: repeat(2, 1fr); }
  .trust-strip__cell { border-bottom: 1px solid var(--line-soft); padding: 24px 20px; }
  .trust-strip__cell:nth-child(2n) { border-right: 0; }
  .trust-strip__cell:first-child { padding-left: 20px; }
  .trust-strip__cell:nth-last-child(-n+2) { border-bottom: 0; }
  .grid-3 { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr 1fr; }
  .certs { grid-template-columns: 1fr; }
  .scenes { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .cta-band__in { flex-direction: column; align-items: flex-start; }
  .hero__meta div { padding-right: 22px; margin-right: 22px; margin-bottom: 14px; }
}

@media (max-width: 620px) {
  body { font-size: 15px; }
  .hero { min-height: auto; }
  .hero__in { padding-top: 92px; padding-bottom: 44px; }
  .hero__bg img { object-position: 66% 50%; }
  .colors { grid-template-columns: repeat(2, 1fr); }
  .tiers, .facts, .facts--4, .steps, .grid-2 { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 32px; }
  .foot-bottom { flex-direction: column; align-items: flex-start; }
  .btn-row .btn { width: 100%; }
  .spec-table th { width: 46%; font-size: 11.5px; }
  .spec-table td { font-size: 13px; }
  .brand__sub { display: none; }
  .brand__rule { display: none; }
}

@media print {
  .site-head, .site-foot, .cta-band, .btn-row { display: none; }
  body { background: #fff; color: #000; }
}

/* ---------------------------------------------------------------
   25. SHOP — header cart, sample store, WooCommerce dark skin
---------------------------------------------------------------- */
.head-cart {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--text-dim); margin-right: 14px; position: relative;
}
.head-cart:hover { color: var(--gold); }
.head-cart__n {
  background: var(--gold); color: #121014; font-size: 10.5px; font-weight: 700;
  min-width: 16px; height: 16px; line-height: 16px; text-align: center;
  border-radius: 9px; padding: 0 4px;
}

/* sample cards */
.sample-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 26px); margin-top: 34px;
}
.sample-card {
  display: flex; flex-direction: column;
  background: var(--ink-2); border: 1px solid var(--line-soft);
  transition: border-color .18s, transform .18s;
}
.sample-card:hover { border-color: var(--gold-dk); transform: translateY(-2px); }
.sample-card--hot { border-color: var(--gold-dk); }
.sample-card__media { display: block; background: #0d0d10; overflow: hidden; }
.sample-card__media img { width: 100%; height: 300px; object-fit: cover; display: block; }
.sample-card__body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.sample-card__badge {
  font-size: 9.5px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold); border: 1px solid var(--gold-dk); padding: 3px 8px;
  align-self: flex-start; margin-bottom: 12px;
}
.sample-card__title { font-family: var(--serif); font-size: 21px; line-height: 1.2; margin: 0 0 10px; }
.sample-card__inc { font-size: 13px; color: var(--text-dim); line-height: 1.75; flex: 1; }
.sample-card__inc p { margin: 0 0 8px; }
.sample-card__foot {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line-soft);
}
.sample-card__price { font-family: var(--serif); font-size: 25px; color: var(--text); line-height: 1.1; }
.sample-card__price span {
  display: block; font-family: var(--sans); font-size: 10px;
  letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 4px;
}
.ship-note {
  border: 1px solid var(--line-soft); background: var(--ink-2);
  padding: 20px 24px; margin-top: 26px; font-size: 13px; color: var(--text-dim); line-height: 1.75;
}
.ship-note strong { color: var(--text); }

@media (max-width: 900px) {
  .sample-grid { grid-template-columns: 1fr; }
  .sample-card__media img { height: 240px; }
}

/* ---------- WooCommerce: cart / checkout / product / account ---------- */
.woocommerce .woocommerce-message,
.woocommerce .woocommerce-info,
.woocommerce .woocommerce-error,
.woocommerce-message, .woocommerce-info, .woocommerce-error {
  background: var(--ink-3); color: var(--text-dim); border-top: 2px solid var(--gold);
  padding: 16px 20px; font-size: 13.5px; list-style: none; margin: 0 0 24px;
}
.woocommerce .woocommerce-message::before,
.woocommerce .woocommerce-info::before { color: var(--gold); }

.woocommerce table.shop_table {
  border: 1px solid var(--line); border-collapse: collapse;
  background: var(--ink-2); color: var(--text-dim); border-radius: 0;
}
.woocommerce table.shop_table th {
  background: var(--ink-3); color: var(--muted); font-size: 10.5px;
  letter-spacing: .12em; text-transform: uppercase; border-bottom: 1px solid var(--line);
  padding: 13px 14px;
}
.woocommerce table.shop_table td { border-top: 1px solid var(--line-soft); padding: 14px; font-size: 13.5px; }
.woocommerce table.shop_table td.product-name a { color: var(--text); }
.woocommerce table.shop_table td.product-name a:hover { color: var(--gold); }
.woocommerce a.remove {
  color: var(--muted) !important; background: transparent !important;
  border: 1px solid var(--line) !important; width: 22px; height: 22px; line-height: 20px;
}
.woocommerce a.remove:hover { color: #fff !important; background: #7a2e22 !important; }

.woocommerce .cart_totals h2,
.woocommerce h2, .woocommerce h3 { color: var(--text); font-family: var(--serif); font-weight: 400; }
.woocommerce .cart_totals table.shop_table { background: var(--ink-2); }

.woocommerce a.button, .woocommerce button.button,
.woocommerce input.button, .woocommerce #respond input#submit,
.woocommerce .wc-proceed-to-checkout a.checkout-button {
  background: var(--gold); color: #12100d !important; border: 1px solid var(--gold);
  border-radius: 0; font-size: 11.5px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; padding: 14px 24px; line-height: 1; transition: background .16s;
}
.woocommerce a.button:hover, .woocommerce button.button:hover,
.woocommerce input.button:hover, .woocommerce .wc-proceed-to-checkout a.checkout-button:hover {
  background: var(--gold-lt); color: #12100d !important;
}
.woocommerce a.button.alt, .woocommerce button.button.alt { background: var(--gold); }
.woocommerce button.button:disabled { background: var(--line); color: var(--muted) !important; }

.woocommerce form .form-row label { color: var(--muted); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce .select2-container .select2-selection--single {
  background: var(--ink); border: 1px solid var(--line); color: var(--text);
  border-radius: 0; padding: 12px 14px; font-size: 14px; height: auto; line-height: 1.4;
}
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus { border-color: var(--gold-dk); outline: none; }
.woocommerce .select2-container--default .select2-selection--single .select2-selection__rendered { color: var(--text); line-height: 1.4; }
.woocommerce .select2-dropdown { background: var(--ink-2); border-color: var(--line); color: var(--text); }
.woocommerce .select2-results__option--highlighted { background: var(--gold-dk) !important; }

.woocommerce #payment { background: var(--ink-2); border: 1px solid var(--line); border-radius: 0; }
.woocommerce #payment ul.payment_methods { border-bottom: 1px solid var(--line-soft); }
.woocommerce #payment ul.payment_methods li { color: var(--text-dim); }
.woocommerce #payment div.payment_box {
  background: var(--ink-3); color: var(--text-dim); font-size: 13px;
}
.woocommerce #payment div.payment_box::before { border-bottom-color: var(--ink-3); }
.woocommerce #payment div.place-order { padding-top: 6px; }

.woocommerce-checkout-review-order table.shop_table,
.woocommerce-checkout-review-order { color: var(--text-dim); }
.woocommerce ul.order_details { background: var(--ink-2); border: 1px solid var(--line); padding: 18px 22px; }
.woocommerce ul.order_details li { color: var(--text-dim); border-right: 1px solid var(--line); }
.woocommerce .woocommerce-order p { color: var(--text-dim); }

.woocommerce div.product .product_title { color: var(--text); font-family: var(--serif); }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--gold); font-size: 26px; }
.woocommerce div.product .woocommerce-product-details__short-description { color: var(--text-dim); }
.woocommerce .quantity .qty { background: var(--ink); border: 1px solid var(--line); color: var(--text); padding: 10px; }
.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span { color: var(--text-dim); }
.woocommerce .woocommerce-result-count, .woocommerce .woocommerce-ordering select { color: var(--text-dim); }
.woocommerce ul.products li.product a img { border: 1px solid var(--line-soft); }
.woocommerce ul.products li.product .woocommerce-loop-product__title { color: var(--text); font-size: 15px; }
.woocommerce ul.products li.product .price { color: var(--gold) !important; }

/* ---------------------------------------------------------------
   26. MOTION — scroll reveal, page transition, parallax, micro-interactions
   (pattern borrowed from formlabs/AOS + Barba; no third-party library)
---------------------------------------------------------------- */
:root {
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-soft: cubic-bezier(.22, .61, .36, 1);
  --dur-1: .45s;
  --dur-2: .9s;
  --dur-3: 1.25s;
}

/* page enter: settle instead of flash */
@keyframes fsPageIn { from { opacity: 0 } to { opacity: 1 } }
body.fs { animation: fsPageIn .45s var(--ease-soft) both; }

/* scroll reveal */
.reveal {
  opacity: 0;
  transform: translate3d(0, 26px, 0);
  transition: opacity var(--dur-2) var(--ease-out), transform var(--dur-2) var(--ease-out);
  transition-delay: calc(var(--i, 0) * 90ms);
  will-change: opacity, transform;
}
.reveal.is-in { opacity: 1; transform: none; }

.reveal-img { overflow: hidden; }
.reveal-img img {
  clip-path: inset(0 0 100% 0);
  transform: scale(1.06);
  transition: clip-path var(--dur-3) var(--ease-out), transform var(--dur-3) var(--ease-out);
  transition-delay: calc(var(--i, 0) * 80ms);
}
.reveal-img.is-in img { clip-path: inset(0 0 0 0); transform: none; }

/* line-by-line headline entrance */
.line-in { display: block; overflow: hidden; }
.line-in > span {
  display: block;
  transform: translate3d(0, 110%, 0);
  transition: transform var(--dur-2) var(--ease-out);
  transition-delay: calc(var(--i, 0) * 110ms);
}
.is-in .line-in > span, .line-in.is-in > span { transform: none; }

/* hero settles on load, no scroll needed */
.hero__in .reveal, .hero__in .line-in > span { animation-fill-mode: both; }
.hero.is-ready .line-in > span { transform: none; }
.hero.is-ready .reveal { opacity: 1; transform: none; }

/* reading progress */
.fs-progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 0;
  background: linear-gradient(90deg, var(--gold-dk), var(--gold-lt));
  z-index: 9999; pointer-events: none;
  transition: width .08s linear;
}

/* micro-interactions */
.btn { position: relative; overflow: hidden; transition: color .3s var(--ease-soft), border-color .3s, background-color .3s; }
.btn::after {
  content: ""; position: absolute; inset: 0;
  background: currentColor; opacity: .08;
  transform: translateY(101%);
  transition: transform .45s var(--ease-out);
}
.btn:hover::after { transform: translateY(0); }
.btn--primary:hover { background: var(--gold-lt); }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; }
.link-arrow svg, .link-arrow::after {
  transition: transform .35s var(--ease-out);
}
.link-arrow:hover svg, .link-arrow:hover::after { transform: translateX(5px); }

/* image hover lift inside cards */
.figure img, .split__media img, .scene img { transition: transform 1.1s var(--ease-out), filter .6s; }
.figure:hover img, .split__media:hover img, .scene:hover img { transform: scale(1.028); filter: brightness(1.04); }

/* card lift */
.sample-card, .contact-panel, .tier, .step, .faq__item {
  transition: transform .5s var(--ease-out), border-color .4s, box-shadow .5s;
}
.sample-card:hover, .tier:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -28px rgba(0,0,0,.9);
}

/* faq marker rotate */
.faq__item summary::after { transition: transform .35s var(--ease-out); }
.faq__item[open] summary::after { transform: rotate(45deg); }

/* marquee strip */
.marquee { overflow: hidden; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.marquee__track {
  display: flex; gap: 56px; width: max-content; padding: 16px 0;
  animation: fsMarquee 38s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span {
  font-family: var(--mono); font-size: 11px; letter-spacing: .22em;
  text-transform: uppercase; color: var(--muted); white-space: nowrap;
}
@keyframes fsMarquee { to { transform: translateX(-50%) } }

@media (prefers-reduced-motion: reduce) {
  body.fs { animation: none; }
  .reveal, .reveal-img img, .line-in > span { opacity: 1 !important; transform: none !important; clip-path: none !important; transition: none !important; }
  .marquee__track { animation: none; }
  .fs-progress { display: none; }
  * { scroll-behavior: auto !important; }
}

/* ---------------------------------------------------------------
   27. UI REFINEMENT — typographic scale, hairlines, quieter gold
---------------------------------------------------------------- */
:root {
  --hair: rgba(237, 234, 227, .09);
  --hair-strong: rgba(237, 234, 227, .16);
}

/* bigger, tighter display type */
.hero h1, .h-display {
  font-size: clamp(40px, 6.6vw, 88px) !important;
  line-height: .98 !important;
  letter-spacing: -.035em !important;
}
.h-section { font-size: clamp(27px, 3.5vw, 50px) !important; line-height: 1.04 !important; letter-spacing: -.028em !important; }
.page-hero h1 { font-size: clamp(34px, 5vw, 66px) !important; line-height: 1.02 !important; letter-spacing: -.03em !important; }
.lede { font-size: clamp(15px, 1.35vw, 17.5px) !important; line-height: 1.72 !important; }

/* section rhythm: more air, hairline separators */
.section { padding: clamp(64px, 8vw, 132px) 0 !important; }
.section--line { border-top: 1px solid var(--hair); }

/* eyebrow with rule */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 10px; letter-spacing: .24em;
}
.eyebrow::before {
  content: ""; width: 22px; height: 1px; background: var(--gold); opacity: .55;
}
.eyebrow--muted::before { background: var(--muted); }

/* numbered section index (01 — 02 — …) */
.sec-index {
  font-family: var(--mono); font-size: 10px; letter-spacing: .24em;
  color: var(--muted); margin-bottom: 14px; display: block;
}

/* quieter cards: hairline instead of heavy border */
.contact-panel, .sample-card, .tier, .fact, .cert { border-color: var(--hair); }
.contact-panel:hover, .sample-card:hover { border-color: var(--hair-strong); }

/* spec tables: hairlines, no zebra */
.spec-table th, .spec-table td { border-color: var(--hair); }
.spec-table tr:hover td { background: rgba(237, 234, 227, .025); }

/* buttons: sharper, arrow-aware */
.btn { letter-spacing: .16em; font-size: 10.5px; padding: 15px 26px; }
.btn--primary { background: var(--gold); border-color: var(--gold); }
.btn--ghost { border-color: var(--hair-strong); }

/* header: thinner, blurred, hides on scroll down */
.site-head { transition: transform .5s var(--ease-soft), background-color .4s, border-color .4s; }
.site-head.is-scrolled { background: rgba(10,10,12,.86); backdrop-filter: blur(18px) saturate(140%); border-bottom: 1px solid var(--hair); }
.site-head.is-hidden { transform: translateY(-100%); }

/* footer: quieter links with underline reveal */
.foot-col a { position: relative; }
.foot-col a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 100%; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease-out);
}
.foot-col a:hover::after { transform: scaleX(1); }

/* floating WhatsApp (industry standard for export buyers) */
.fs-wa {
  position: fixed; right: 20px; bottom: 22px; z-index: 900;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 18px 13px 14px;
  background: #1F6F4A; color: #fff !important;
  border: 1px solid rgba(255,255,255,.14);
  font-size: 12px; letter-spacing: .06em;
  box-shadow: 0 14px 34px -18px rgba(0,0,0,.9);
  transition: transform .4s var(--ease-out), background-color .3s;
}
.fs-wa:hover { transform: translateY(-2px); background: #248052; }
.fs-wa svg { flex: 0 0 auto; }
@media (max-width: 620px) {
  .fs-wa span { display: none; }
  .fs-wa { padding: 14px; border-radius: 50%; }
}

/* focus visibility (accessibility) */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--gold-lt); outline-offset: 3px;
}

/* ---------------------------------------------------------------
   28. SAMPLE CARD FIX — button must never overflow the card
---------------------------------------------------------------- */
.btn.btn--sm { padding: 12px 16px !important; font-size: 9.5px !important; letter-spacing: .12em !important; }
.sample-card__foot { flex-wrap: wrap; gap: 10px 12px; }
.sample-card__price { font-size: 22px; }
.sample-card__foot .btn {
  flex: 0 1 auto; white-space: nowrap;
  padding: 12px 14px !important; font-size: 9px !important; letter-spacing: .1em !important;
}
@media (max-width: 1100px) and (min-width: 901px) {
  .sample-card__foot { flex-direction: column; align-items: flex-start; }
  .sample-card__foot .btn { width: 100%; text-align: center; }
}

/* full-width layout for storefront pages */
.fs-wide .wrap--narrow { max-width: var(--wrap); }
.fs-wide .prose { max-width: none; }

/* buttons inside .prose must keep their own colour (shortcode output lands there) */
.prose a.btn, .prose a.btn:visited, .prose .sample-card a.btn {
  color: #12100D !important;
  border-bottom: 0 !important;
  text-decoration: none;
  display: inline-flex; align-items: center; justify-content: center;
}
.prose a.btn--ghost, .prose a.btn--ghost:visited { color: var(--text) !important; }
.prose a.btn:hover { color: #12100D !important; }
.prose .sample-card__foot .btn { justify-content: center; }

/* comparison tables: scroll on small screens instead of squeezing into columns */
@media (max-width: 760px) {
  .spec-table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .spec-table caption { display: block; text-align: left; }
  .spec-table thead, .spec-table tbody { display: table; width: 100%; min-width: 540px; }
}

/* ---------------------------------------------------------------
   29. SINGLE PRODUCT — WC template has no theme container, fix it
---------------------------------------------------------------- */
body.single-product .content-area {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: clamp(28px, 4vw, 56px) var(--gutter) clamp(48px, 6vw, 96px);
}
body.single-product .woocommerce-breadcrumb {
  font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 26px;
}
body.single-product .woocommerce-breadcrumb a { color: var(--text-dim); }
body.single-product .woocommerce-breadcrumb a:hover { color: var(--gold); }

/* two columns: gallery left, summary right; tabs and related span both */
body.single-product div.product {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: start;
  position: relative;
}
body.single-product div.product > .woocommerce-product-gallery {
  width: 100% !important; float: none !important; margin: 0 !important;
}
body.single-product div.product > .summary.entry-summary,
body.single-product div.product > .entry-summary {
  width: 100% !important; float: none !important; margin: 0 !important;
}
body.single-product div.product > .woocommerce-tabs,
body.single-product div.product > .related,
body.single-product div.product > .upsells,
body.single-product div.product > section.related {
  grid-column: 1 / -1;
  margin-top: clamp(36px, 5vw, 64px) !important;
}
body.single-product .woocommerce-product-gallery img { border: 1px solid var(--hair); }
body.single-product .flex-control-thumbs { display: flex; gap: 10px; margin-top: 12px; }
body.single-product .flex-control-thumbs li { width: 84px !important; }
body.single-product .flex-control-thumbs img { border: 1px solid var(--hair); opacity: .55; }
body.single-product .flex-control-thumbs img.flex-active { opacity: 1; border-color: var(--gold-dk); }

/* title, price, buy row */
body.single-product h1.product_title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(26px, 3vw, 38px); line-height: 1.1;
  letter-spacing: -.02em; margin: 0 0 14px; color: var(--text);
}
body.single-product p.price,
body.single-product span.price {
  color: var(--gold) !important; font-size: clamp(24px, 2.6vw, 32px) !important;
  font-family: var(--serif); margin: 0 0 18px !important;
}
body.single-product .woocommerce-product-details__short-description {
  font-size: 14px; line-height: 1.75; color: var(--text-dim);
  border-top: 1px solid var(--hair); padding-top: 18px; margin-bottom: 22px;
}
body.single-product .woocommerce-product-details__short-description strong { color: var(--text); }
body.single-product form.cart { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 0 0 18px !important; }
body.single-product .quantity .qty { width: 74px; text-align: center; }
body.single-product button.single_add_to_cart_button {
  background: var(--gold) !important; color: #12100D !important;
  border: 1px solid var(--gold) !important; border-radius: 0 !important;
  padding: 15px 28px !important; font-size: 10.5px !important;
  letter-spacing: .16em; text-transform: uppercase; font-weight: 700;
}
body.single-product button.single_add_to_cart_button:hover { background: var(--gold-lt) !important; }
body.single-product .product_meta {
  font-size: 11.5px; color: var(--muted); border-top: 1px solid var(--hair);
  padding-top: 14px; margin-top: 6px;
}
body.single-product .product_meta a { color: var(--text-dim); }

/* tabs */
body.single-product .woocommerce-tabs ul.tabs {
  padding: 0 !important; margin: 0 0 22px !important; border-bottom: 1px solid var(--hair);
  display: flex; gap: 26px;
}
body.single-product .woocommerce-tabs ul.tabs::before { display: none; }
body.single-product .woocommerce-tabs ul.tabs li {
  background: none !important; border: 0 !important; border-radius: 0 !important;
  margin: 0 !important; padding: 0 !important;
}
body.single-product .woocommerce-tabs ul.tabs li a {
  padding: 12px 0 !important; color: var(--muted) !important;
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  border-bottom: 1px solid transparent;
}
body.single-product .woocommerce-tabs ul.tabs li.active a { color: var(--gold) !important; border-bottom-color: var(--gold); }
body.single-product .woocommerce-tabs .panel {
  background: var(--ink-2); border: 1px solid var(--hair);
  padding: clamp(20px, 3vw, 32px); color: var(--text-dim); font-size: 14px; line-height: 1.75;
}
body.single-product .woocommerce-tabs .panel h2 { font-family: var(--serif); color: var(--text); font-size: 20px; margin-top: 0; }
body.single-product table.shop_attributes { width: 100%; border-collapse: collapse; }
body.single-product table.shop_attributes th,
body.single-product table.shop_attributes td { border: 1px solid var(--hair); padding: 10px 14px; font-size: 13px; }
body.single-product table.shop_attributes th { background: var(--ink-3); color: var(--muted); text-align: left; width: 30%; }

/* related products grid */
body.single-product .related > h2,
body.single-product .upsells > h2 {
  font-family: var(--serif); font-size: clamp(20px, 2.2vw, 28px);
  color: var(--text); margin-bottom: 20px;
}
body.single-product ul.products {
  display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 28px) !important; margin: 0 !important; padding: 0 !important;
  list-style: none;
}
body.single-product ul.products li.product {
  width: 100% !important; float: none !important; margin: 0 !important;
  background: var(--ink-2); border: 1px solid var(--hair); padding: 0 0 18px;
  display: flex; flex-direction: column;
}
body.single-product ul.products li.product a img { width: 100% !important; height: 220px; object-fit: cover; border: 0; margin: 0 0 14px !important; }
body.single-product ul.products li.product .woocommerce-loop-product__title {
  font-size: 14px !important; padding: 0 18px !important; color: var(--text);
  line-height: 1.4; min-height: 40px;
}
body.single-product ul.products li.product .price { font-size: 17px !important; padding: 0 18px; margin: 6px 0 14px !important; }
body.single-product ul.products li.product .button {
  margin: auto 18px 0 !important; padding: 11px 14px !important;
  font-size: 9px !important; letter-spacing: .1em; text-align: center;
}

/* no default sidebar on shop pages */
body.single-product #secondary,
body.single-product .widget-area,
body.single-product .woocommerce-sidebar { display: none !important; }

/* back link + shipping note injected by functions.php */
.fs-back {
  display: inline-block; font-size: 11px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 22px;
}
.fs-back:hover { color: var(--gold); }
.fs-shipnote {
  font-size: 12.5px; line-height: 1.7; color: var(--text-dim);
  border-left: 2px solid var(--gold); padding: 8px 0 8px 14px;
  margin: 0 0 20px; background: rgba(217,162,74,.06);
}
.fs-shipnote strong { color: #F0C681; }

@media (max-width: 860px) {
  body.single-product div.product { grid-template-columns: 1fr; }
  body.single-product ul.products { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 560px) {
  body.single-product ul.products { grid-template-columns: 1fr; }
}

/* shop archive container (same fix as single product) */
.fs-shop-wrap { max-width: var(--wrap); margin: 0 auto; padding: clamp(28px,4vw,56px) var(--gutter); }
.fs-shop-wrap ul.products {
  display: grid !important; grid-template-columns: repeat(3, minmax(0,1fr));
  gap: clamp(16px,2.4vw,28px) !important; margin: 0 !important; padding: 0 !important; list-style: none;
}
.fs-shop-wrap ul.products li.product { width: 100% !important; float: none !important; margin: 0 !important; }

/* WC injects <div id="sidebar"> inside main — hide it on product pages */
body.single-product #sidebar,
body.single-product div#sidebar { display: none !important; }

/* related products: stretch to the actual number of items */
body.single-product ul.products {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
}

/* related products: keep the row visually centred instead of hugging the left */
body.single-product ul.products {
  grid-template-columns: repeat(auto-fit, minmax(280px, 360px)) !important;
  justify-content: center;
}

/* WC template injects a default sidebar on shop + product pages; we use none */
#sidebar { display: none !important; }
