/* ============================================================
   NOBILITY — Textile Marketplace
   Shared design system
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Jost:wght@300;400;500;600&display=swap');

:root {
  /* surfaces — warm espresso ladder */
  --bg:        #f4ebdd;
  --bg-2:      #211913;
  --panel:     #fff8ec;
  --panel-2:   #f1e3cc;
  --panel-3:   #e4d0ad;
  --raised:    #d7bd91;
  --paper:     #f4ead9;
  --paper-2:   #eadbc3;
  --paper-3:   #d9c29e;
  --sage:      #9caf93;
  --sage-deep: #425640;
  --espresso:  #211913;
  --espresso-2:#2d2118;
  --espresso-3:#3b2b1d;

  /* lines */
  --line:      rgba(83,58,32,0.16);
  --line-soft: rgba(83,58,32,0.09);
  --line-strong: rgba(83,58,32,0.28);

  /* gold — two-tone: champagne highlight + deep bronze fill */
  --champagne: #f2d9a4;
  --gold:      #d4a866;
  --gold-soft: #ebc783;
  --gold-dim:  #b98c4e;
  --gold-deep: #8f6734;

  /* jewel accents (used sparingly) */
  --jewel:        #2f4034;   /* bottle green */
  --jewel-soft:   #6f9079;
  --oxblood:      #4e2725;
  --oxblood-soft: #c08a7f;

  /* cream surface (atelier bands) */
  --cream:     #f6eddd;
  --cream-2:   #ead9bf;
  --ink:       #221910;   /* text on cream */
  --ink-soft:  #6a5840;

  /* text — warm ivory */
  --text:      #241b14;
  --text-2:    #4e3e2e;
  --text-dim:  #75644d;
  --text-faint:#9c896d;

  --shadow-card: 0 26px 64px -36px rgba(64,45,25,0.42);
  --glow: radial-gradient(120% 120% at 50% 0%, rgba(212,168,102,0.12), transparent 60%);

  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans:  'Jost', system-ui, -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background:
    radial-gradient(90% 70% at 84% 0%, rgba(212,168,102,0.18), transparent 55%),
    radial-gradient(75% 60% at 6% 16%, rgba(156,175,147,0.18), transparent 58%),
    linear-gradient(180deg, #faf3e8 0%, var(--bg) 42%, #eadcc6 100%);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-weight: 300;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }
:focus-visible {
  outline: 2px solid var(--gold-soft);
  outline-offset: 2px;
}
button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--gold-soft);
  outline-offset: 3px;
  border-color: var(--gold-soft);
}
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--gold-soft);
  outline-offset: 2px;
}

::selection { background: rgba(212,168,102,0.34); color: var(--ink); }

/* ---- scrollbar ---- */
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: #efe2cc; }
::-webkit-scrollbar-thumb { background: #c9ad7b; border-radius: 6px; border: 3px solid #efe2cc; }
::-webkit-scrollbar-thumb:hover { background: #b48f55; }

/* ============================================================
   Layout helpers
   ============================================================ */
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 40px; }

.site-head,
.site-foot,
.nb-drawer .drawer-panel,
#nb-search-ov {
  --bg:        #17130f;
  --bg-2:      #211913;
  --panel:     #2a2118;
  --panel-2:   #34291e;
  --panel-3:   #403224;
  --raised:    #4a3a29;
  --line:      rgba(228,198,150,0.18);
  --line-soft: rgba(228,198,150,0.09);
  --line-strong: rgba(228,198,150,0.34);
  --text:      #fff6e8;
  --text-2:    #e3d2b8;
  --text-dim:  #b7a78f;
  --text-faint:#857764;
  --shadow-card: 0 26px 64px -28px rgba(0,0,0,0.9);
}

.site-head,
.site-foot {
  --bg:        #080809;
  --bg-2:      #0b0b0c;
  --panel:     #151517;
  --panel-2:   #1c1d20;
  --panel-3:   #25262a;
  --raised:    #303136;
  --line:      rgba(255,255,255,0.13);
  --line-soft: rgba(255,255,255,0.08);
  --line-strong: rgba(255,255,255,0.26);
  --text:      #fffaf2;
  --text-2:    #e7dfd4;
  --text-dim:  #aaa39a;
  --text-faint:#77736d;
}

.eyebrow {
  font-size: 11.5px; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--gold); font-weight: 500;
}
.kicker {
  font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--text-dim); font-weight: 500;
}

.serif { font-family: var(--serif); }

/* ============================================================
   Logo — AURELEAN wordmark lockup
   ============================================================ */
.logo { display: inline-flex; flex-direction: column; align-items: center; gap: 6px; line-height: 1; }
.logo b {
  font-family: var(--serif); font-weight: 500; font-size: 20px;
  letter-spacing: 0.40em; line-height: 1; color: var(--text); padding-left: 0.40em;
  white-space: nowrap;
}
.logo .logo-sub {
  position: relative; font-size: 7px; letter-spacing: 0.36em; text-transform: uppercase;
  color: var(--gold); font-weight: 500; padding-left: 0.36em; padding-top: 8px; white-space: nowrap;
}
.logo .logo-sub::before {
  content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 24px; height: 1px; background: var(--gold-dim);
}
/* left-aligned variant (footer) */
.logo.logo-left { align-items: flex-start; }
.logo.logo-left .logo-sub::before { left: 0; transform: none; }

/* divider rule (sits below the wordmark) */
.logo .logo-rule { width: 24px; height: 1px; background: var(--gold-dim); margin-top: 2px; }

/* ============================================================
   Header
   ============================================================ */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: rgba(8,8,9,0.94);
  backdrop-filter: blur(16px) saturate(1.1);
  border-bottom: 1px solid var(--line-soft);
}
.site-head .bar {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  height: 96px;
}
.menu-btn { justify-self: start; }
.head-right { justify-self: end; }
.site-head .logo { justify-self: center; }

/* large centered header logo */
.site-head .logo b { font-size: 28px; letter-spacing: 0.46em; padding-left: 0.46em; }
.site-head .logo .logo-sub { font-size: 8.5px; letter-spacing: 0.42em; padding-left: 0.42em; padding-top: 10px; }
.site-head .logo .logo-sub::before { width: 34px; }
.site-head .logo .logo-rule { width: 40px; margin-top: 8px; }

/* menu button (opens drawer) */
.menu-btn {
  display: inline-flex; align-items: center; gap: 13px;
  background: none; border: none; color: var(--text-2); transition: color .2s; padding: 8px 2px;
}
.menu-btn:hover { color: var(--text); }
.menu-ico { display: inline-flex; flex-direction: column; gap: 4.5px; width: 22px; }
.menu-ico i { height: 1.5px; background: currentColor; display: block; transition: width .3s; }
.menu-ico i:nth-child(1) { width: 22px; }
.menu-ico i:nth-child(2) { width: 15px; }
.menu-ico i:nth-child(3) { width: 22px; }
.menu-btn:hover .menu-ico i:nth-child(2) { width: 22px; }
.menu-lbl { font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 500; }

/* RFQ bag badge */
.bag-badge {
  position: absolute; top: -5px; right: -5px; min-width: 17px; height: 17px; padding: 0 4px;
  display: grid; place-items: center; border-radius: 9px; background: var(--gold); color: #1a140c;
  font-size: 10px; font-weight: 600; border: 1.5px solid var(--bg);
}

.bag-badge[hidden], .d-badge[hidden] { display: none; }

.nav { display: flex; align-items: center; gap: 30px; margin-left: 14px; }
.nav a {
  font-size: 13.5px; letter-spacing: 0.04em; color: var(--text-2);
  font-weight: 400; transition: color .18s; position: relative; padding: 6px 0;
}
.nav a:hover { color: var(--text); }
.nav a.active { color: var(--gold-soft); }
.nav a.active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 1.5px;
  background: var(--gold);
}
.nav a.has-caret::after { content: ' ⌄'; }

.head-right { display: flex; align-items: center; gap: 12px; }

.searchbox {
  display: flex; align-items: center; gap: 9px;
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 4px; padding: 8px 14px; width: 248px;
  color: var(--text-dim); font-size: 13px;
  transition: border-color .2s, background .2s;
}
.searchbox:focus-within { border-color: var(--line-strong); background: var(--panel-2); }
.searchbox svg { width: 16px; height: 16px; flex: none; }
.searchbox input {
  background: none; border: none; outline: none; color: var(--text);
  font-family: var(--sans); font-size: 13px; font-weight: 300; width: 100%;
}
.searchbox input::placeholder { color: var(--text-faint); }

.head-link {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13px; color: var(--text-2); transition: color .18s;
}
.head-link:hover { color: var(--text); }
.head-link svg { width: 16px; height: 16px; }

.icon-btn {
  width: 38px; height: 38px; display: grid; place-items: center;
  background: var(--panel); border: 1px solid var(--line); border-radius: 4px;
  color: var(--text-2); transition: all .18s;
}
.icon-btn:hover { border-color: var(--line-strong); color: var(--text); }
.icon-btn svg { width: 17px; height: 17px; }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--sans); font-size: 12px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  padding: 15px 28px; border-radius: 3px; border: 1px solid transparent;
  transition: all .2s ease; white-space: nowrap;
}
.btn svg { width: 15px; height: 15px; }

.btn-gold {
  color: #24170a;
  background: linear-gradient(176deg, #fff1ca 0%, #eec77f 42%, #d5a45e 74%, #b98243 100%);
  box-shadow: inset 0 1px 0 rgba(255,248,229,0.8), 0 12px 28px -12px rgba(212,168,102,0.78);
}
.btn-gold:hover {
  background: linear-gradient(176deg, #fff6d9 0%, #f2cf8b 42%, #dcad66 74%, #c08c4c 100%);
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255,247,228,0.8), 0 18px 34px -12px rgba(199,154,88,0.8);
}

.btn-ghost {
  color: var(--text); background: rgba(255,248,236,0.40); border-color: var(--line-strong);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-deep); background: rgba(255,248,236,0.70); }

.site-head .btn-ghost:hover,
.site-foot .btn-ghost:hover,
.nb-drawer .btn-ghost:hover,
#nb-search-ov .btn-ghost:hover {
  color: var(--gold-soft);
  background: rgba(246,237,221,0.08);
}

/* ============================================================
   Fabric swatch textures  (CSS placeholders)
   ============================================================ */
.swatch {
  position: relative; overflow: hidden;
  background-color: var(--t1, #2b2c30);
  background-image:
    radial-gradient(125% 100% at 72% 4%, rgba(255,248,234,0.16), transparent 52%),
    repeating-linear-gradient(46deg, rgba(255,255,255,0.030) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(-44deg, rgba(0,0,0,0.20) 0 1px, transparent 1px 4px),
    linear-gradient(150deg, var(--t1, #2b2c30) 0%, var(--t2, #16171a) 100%);
}
.swatch::before {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(118deg, transparent 32%, rgba(255,246,230,0.10) 47%, transparent 60%),
    radial-gradient(80% 120% at 18% 96%, rgba(0,0,0,0.35), transparent 55%);
  mix-blend-mode: screen; opacity: .9;
}
.swatch::after {
  content: ''; position: absolute; inset: 0;
  box-shadow: inset 0 0 60px rgba(0,0,0,0.45);
  pointer-events: none;
}

/* tones */
.t-charcoal { --t1:#34353a; --t2:#191a1d; }
.t-navy     { --t1:#2a3142; --t2:#141823; }
.t-camel    { --t1:#7a5c3f; --t2:#3c2c1c; }
.t-taupe    { --t1:#6a6052; --t2:#352f26; }
.t-brown    { --t1:#4d3c2d; --t2:#241b13; }
.t-grey     { --t1:#45464a; --t2:#222326; }
.t-black    { --t1:#222224; --t2:#0d0d0e; }
.t-oat      { --t1:#8b7c63; --t2:#4b4131; }
.t-ink      { --t1:#283036; --t2:#12161a; }
.t-rust     { --t1:#6f4a35; --t2:#321f15; }
.t-stone    { --t1:#5a5b5d; --t2:#2c2d2f; }
.t-olive    { --t1:#4f5040; --t2:#262619; }

/* nav badge + dropdown */
.nav a { position: relative; }
.nav-badge {
  display: inline-grid; place-items: center; min-width: 17px; height: 17px; padding: 0 5px;
  margin-left: 6px; border-radius: 9px; background: var(--gold); color: #1a140c;
  font-size: 10px; font-weight: 600; letter-spacing: 0; vertical-align: middle;
}
.nav-drop { position: relative; }
.nav-drop .drop {
  position: absolute; top: calc(100% + 14px); left: -16px; min-width: 200px;
  background: var(--panel-2); border: 1px solid var(--line); border-radius: 6px;
  padding: 8px; box-shadow: var(--shadow-card);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: all .2s;
}
.nav-drop:hover .drop { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-drop .drop::before { content:''; position:absolute; top:-14px; left:0; right:0; height:14px; }
.nav-drop .drop a {
  display: block; padding: 9px 12px; border-radius: 4px; font-size: 13px; color: var(--text-2);
}
.nav-drop .drop a:hover { background: var(--panel-3); color: var(--gold-soft); }
.nav-drop .drop a.active::after { display: none; }

/* avatar */
.avatar {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  border: 1.5px solid var(--gold-dim); color: var(--gold-soft);
  font-family: var(--serif); font-size: 14px; font-weight: 600; letter-spacing: 0.04em;
  background: rgba(189,138,79,0.08); transition: all .2s;
}
.avatar:hover { border-color: var(--gold); background: rgba(189,138,79,0.16); }
.icon-btn .dot-badge {
  position: absolute; top: 7px; right: 8px; width: 7px; height: 7px; border-radius: 50%;
  background: var(--gold); border: 1.5px solid var(--bg);
}

/* ---- status pills ---- */
.pill-st {
  display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 500;
  letter-spacing: 0.04em; padding: 4px 10px; border-radius: 3px; white-space: nowrap;
}
.pill-st::before { content:''; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.st-progress  { color: #c89a5b; background: rgba(189,138,79,0.12); }
.st-completed { color: #6fae7d; background: rgba(95,155,106,0.12); }
.st-approved  { color: #6fae7d; background: rgba(95,155,106,0.12); }
.st-pending   { color: #c89a5b; background: rgba(189,138,79,0.12); }
.st-confirmed { color: #6fae7d; background: rgba(95,155,106,0.12); }
.st-quality   { color: #8aa4c8; background: rgba(120,150,200,0.12); }
.st-production{ color: #c89a5b; background: rgba(189,138,79,0.12); }
.pill-st.no-dot::before { display: none; }

/* verified badge — jewel foil */
.verified {
  display: inline-flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--jewel-soft);
  padding: 6px 12px; border: 1px solid rgba(111,144,121,0.4); border-radius: 3px;
  background: rgba(47,64,52,0.22);
}
.verified svg { width: 14px; height: 14px; }

/* ---- progress bar ---- */
.bar-track { height: 3px; border-radius: 3px; background: var(--line-strong); overflow: hidden; }
.bar-fill { height: 100%; border-radius: 3px; background: linear-gradient(90deg, var(--gold-deep), var(--gold)); }

/* ---- panels ---- */
.panel {
  background: var(--panel); border: 1px solid var(--line); border-radius: 6px; padding: 24px 26px;
  min-width: 0;
}
.panel-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.panel-head h3 { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-dim); font-weight: 500; }
.panel-head .view-all { font-size: 12px; color: var(--gold-soft); display: inline-flex; align-items: center; gap: 5px; }
.panel-head .view-all:hover { color: var(--gold); }
.panel-head .view-all svg { width: 13px; height: 13px; }

/* ---- search overlay ---- */
#nb-search-ov {
  position: fixed; inset: 0; z-index: 200; background: rgba(10,9,7,0.86); backdrop-filter: blur(8px);
  opacity: 0; visibility: hidden; transition: opacity .25s; display: grid; place-items: start center;
}
#nb-search-ov.open { opacity: 1; visibility: visible; }
.nb-search-inner { width: min(720px, 90vw); margin-top: 16vh; position: relative; }
.nb-search-close { position: absolute; top: -44px; right: 0; background: none; border: none; color: var(--text-dim); font-size: 30px; line-height: 1; }
.nb-search-close:hover { color: var(--text); }
.nb-search-inner .eyebrow { display: block; margin-bottom: 18px; }
.nb-search-inner form { display: flex; align-items: center; gap: 16px; border-bottom: 1px solid var(--line-strong); padding-bottom: 18px; }
.nb-search-inner form svg { width: 26px; height: 26px; color: var(--gold); flex: none; }
.nb-search-inner input { flex: 1; background: none; border: none; outline: none; color: var(--text); font-family: var(--serif); font-size: 34px; font-weight: 400; }
.nb-search-inner input::placeholder { color: var(--text-faint); }
.nb-search-sug { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.nb-search-sug span { font-size: 13px; color: var(--text-2); padding: 8px 15px; border: 1px solid var(--line); border-radius: 40px; cursor: pointer; transition: all .18s; }
.nb-search-sug span:hover { border-color: var(--gold-dim); color: var(--gold-soft); }

/* ---- left drawer (categories menu) ---- */
.nb-drawer { position: fixed; inset: 0; z-index: 160; visibility: hidden; display: none; }
.nb-drawer .scrim { position: absolute; inset: 0; background: rgba(8,7,5,0.62); backdrop-filter: blur(3px); opacity: 0; transition: opacity .4s; }
.nb-drawer .drawer-panel {
  position: absolute; top: 0; left: 0; bottom: 0; width: 412px; max-width: 88vw;
  background: var(--bg-2); border-right: 1px solid var(--line);
  transform: translateX(-101%); transition: transform .46s cubic-bezier(.2,.8,.2,1);
  display: flex; flex-direction: column; padding: 26px 40px 38px; overflow-y: auto;
  box-shadow: 30px 0 80px -40px rgba(0,0,0,0.9);
}
.nb-drawer.open { visibility: visible; display: block; }
.nb-drawer.open .scrim { opacity: 1; }
.nb-drawer.open .drawer-panel { transform: none; }

.drawer-top { display: flex; align-items: flex-start; justify-content: space-between; padding-bottom: 8px; }
.drawer-top .logo b { font-size: 19px; letter-spacing: 0.34em; padding-left: 0.34em; }
.drawer-top .logo .logo-sub { font-size: 7px; }
.drawer-close { background: none; border: none; color: var(--text-dim); font-size: 30px; line-height: 1; transition: color .2s; margin-top: -4px; }
.drawer-close:hover { color: var(--text); }

.drawer-nav { display: grid; margin-top: 26px; }
.drawer-nav a {
  display: flex; align-items: center; gap: 18px; padding: 19px 0;
  border-top: 1px solid var(--line-soft); color: var(--text); transition: padding .25s, color .2s;
}
.drawer-nav a:hover { padding-left: 8px; color: var(--gold-soft); }
.drawer-nav a .idx { font-family: var(--sans); font-size: 10.5px; letter-spacing: 0.1em; color: var(--text-faint); padding-top: 6px; }
.drawer-nav a:hover .idx, .drawer-nav a.active .idx { color: var(--gold-dim); }
.drawer-nav a .d-label { flex: 1; font-family: var(--serif); font-size: 29px; font-weight: 500; line-height: 1; display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 10px; }
.drawer-nav a .d-label em { width: 100%; font-family: var(--sans); font-style: normal; font-size: 12px; font-weight: 300; letter-spacing: 0.02em; color: var(--text-dim); margin-top: 8px; }
.drawer-nav a.active .d-label { color: var(--gold-soft); }
.drawer-nav a .d-arrow { color: var(--text-faint); opacity: 0; transform: translateX(-6px); transition: all .25s; }
.drawer-nav a:hover .d-arrow { opacity: 1; transform: none; color: var(--gold); }
.drawer-nav a .d-arrow svg { width: 20px; height: 20px; }
.d-badge { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--gold); color: #1a140c; font-family: var(--sans); font-size: 11px; font-weight: 600; }

.drawer-sec { margin-top: 36px; }
.drawer-sec h5 { font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-dim); font-weight: 500; margin-bottom: 8px; }
.drawer-sec a { display: block; font-size: 14px; color: var(--text-2); padding: 9px 0; transition: color .16s, padding .2s; }
.drawer-sec a:hover { color: var(--gold-soft); padding-left: 6px; }

.drawer-foot { margin-top: auto; padding-top: 30px; }
.drawer-coord { font-family: var(--serif); font-style: italic; font-size: 13px; letter-spacing: 0.18em; color: var(--gold-dim); text-align: center; margin-top: 22px; }

/* ---- toast ---- */
#nb-toast {
  position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%) translateY(20px);
  z-index: 300; display: inline-flex; align-items: center; gap: 10px;
  background: var(--espresso-3); border: 1px solid var(--gold-deep); color: #fff6e8;
  padding: 14px 22px; border-radius: 5px; font-size: 13.5px; box-shadow: var(--shadow-card);
  opacity: 0; visibility: hidden; transition: all .3s cubic-bezier(.2,.8,.2,1); white-space: nowrap;
}
#nb-toast.show { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
#nb-toast svg { width: 16px; height: 16px; color: var(--gold); }

/* ============================================================
   Shared product card (base — pages may extend)
   ============================================================ */
.card {
  background: var(--panel); border: 1px solid var(--line); border-radius: 5px;
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .35s cubic-bezier(.2,.7,.2,1), border-color .3s, box-shadow .35s;
}
.card:hover { transform: translateY(-6px); border-color: var(--line-strong); box-shadow: var(--shadow-card); }
.card .ph { position: relative; aspect-ratio: 4/5; }
.card .ph .swatch { position: absolute; inset: 0; }
.card .tag { position: absolute; top: 13px; left: 13px; z-index: 2; font-size: 9.5px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 500; padding: 5px 10px; border-radius: 2px; background: rgba(19,18,16,0.78); backdrop-filter: blur(4px); color: var(--gold-soft); border: 1px solid var(--line); }
.card .body { padding: 17px 17px 19px; display: flex; flex-direction: column; flex: 1; }
.card .mill { font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-dim); margin-bottom: 7px; }
.card h4 { font-family: var(--serif); font-weight: 600; font-size: 20px; color: var(--text); line-height: 1.15; margin-bottom: 8px; }
.card .attr { font-size: 12.5px; color: var(--text-dim); display: flex; gap: 7px; flex-wrap: wrap; }
.card .attr span::after { content: '·'; margin-left: 7px; color: var(--text-faint); }
.card .attr span:last-child::after { content: ''; }
.card .price-row { display: flex; align-items: baseline; justify-content: space-between; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line-soft); }
.card .price b { font-family: var(--serif); font-size: 21px; font-weight: 600; color: var(--text); }
.card .price span { font-size: 12px; color: var(--text-dim); }
.card .moq { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-faint); }

/* ============================================================
   Footer
   ============================================================ */
.site-foot {
  border-top: 1px solid var(--line-soft);
  background: linear-gradient(180deg, #111113 0%, #080809 100%);
  padding: 56px 0 40px;
  margin-top: 0;
}
.foot-grid { display: flex; justify-content: space-between; gap: 60px; flex-wrap: wrap; }
.foot-col h5 {
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--text-dim); font-weight: 500; margin-bottom: 18px;
}
.foot-col a { display: block; font-size: 13.5px; color: var(--text-2); margin-bottom: 11px; transition: color .16s; }
.foot-col a:hover { color: var(--gold-soft); }
.foot-base {
  margin-top: 48px; padding-top: 26px; border-top: 1px solid var(--line-soft);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12.5px; color: var(--text-faint); letter-spacing: 0.03em;
}
.foot-coord {
  font-family: var(--serif); font-style: italic; font-size: 13px;
  letter-spacing: 0.16em; color: var(--gold-dim);
}

@media (max-width: 560px) {
  .wrap { padding-left: 18px; padding-right: 18px; }
  .site-head .bar {
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    height: 72px;
    gap: 8px;
  }
  .site-head .logo b {
    font-size: 18px;
    letter-spacing: 0.28em;
    padding-left: 0.28em;
  }
  .site-head .logo .logo-sub { display: none; }
  .site-head .logo .logo-rule { width: 28px; margin-top: 5px; }
  .head-right { gap: 0; min-width: 0; }
  .head-right > :not([href="rfq.html"]) { display: none; }
  .icon-btn { width: 36px; height: 36px; }
  .nb-drawer { overflow: hidden; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
  .trust .wrap { flex-wrap: wrap; justify-content: center; gap: 12px 22px; }
  .foot-base { flex-direction: column; gap: 10px; text-align: center; }
}
