:root {
  --bg: #09090b;
  --bg-2: #111114;
  --card: #16161a;
  --ink: #f5f5f4;
  --muted: #a1a1aa;
  --line: rgba(255, 255, 255, 0.08);
  --accent: #f4f4f5;
  --accent-ink: #09090b;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(900px 480px at 80% -10%, rgba(120, 140, 180, 0.18), transparent 55%),
    radial-gradient(700px 400px at -10% 20%, rgba(212, 101, 47, 0.12), transparent 50%),
    var(--bg);
  color: var(--ink);
  font-family: Manrope, sans-serif;
}
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 6vw;
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(9, 9, 11, 0.78);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.logo {
  font-family: "Instrument Serif", serif;
  font-size: 32px;
  letter-spacing: -0.03em;
  text-decoration: none;
}
nav { display: flex; align-items: center; gap: 6px; }
nav a, .nav-btn, .text-btn {
  background: none;
  border: 0;
  text-decoration: none;
  padding: 8px 12px;
  cursor: pointer;
  color: var(--muted);
}
nav a:hover, .nav-btn:hover, .text-btn:hover { color: var(--ink); }
.cart-link {
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px 8px 14px;
}
.cart-link b {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  margin-left: 6px;
  border-radius: 99px;
  background: var(--ink);
  color: var(--bg);
  font-size: 12px;
}
main { padding: 8px 6vw 72px; }
.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: end;
  padding: 54px 0 36px;
}
.eyebrow {
  margin: 0 0 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 12px;
  color: #d8b48a;
}
h1 {
  margin: 0;
  font-family: "Instrument Serif", serif;
  font-weight: 400;
  font-size: clamp(46px, 6vw, 84px);
  letter-spacing: -0.04em;
  line-height: 0.92;
}
.hero p { font-size: 18px; line-height: 1.55; color: var(--muted); max-width: 46ch; }
.hero-side {
  justify-self: end;
  display: grid;
  gap: 10px;
  width: min(280px, 100%);
}
.hero-side a {
  text-decoration: none;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 18px;
  padding: 16px 18px;
}
.hero-side strong { display: block; font-size: 18px; }
.hero-side span { color: var(--muted); font-size: 14px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  background: var(--accent);
  color: var(--accent-ink);
  border-radius: 999px;
  padding: 14px 22px;
  font-weight: 700;
}
.band { margin: 10px 0 22px; }
.band h2 {
  margin: 28px 0 14px;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 650;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 14px;
}
.card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-decoration: none;
  background: linear-gradient(180deg, #1c1c21, var(--card));
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 12px;
  min-height: 280px;
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.card:hover { transform: translateY(-3px); border-color: rgba(255, 255, 255, 0.18); }
.shot {
  display: grid;
  place-items: center;
  height: 150px;
  border-radius: 18px;
  background:
    radial-gradient(120px 80px at 50% 30%, rgba(255, 255, 255, 0.16), transparent 70%),
    #0e0e12;
  overflow: hidden;
}
.shot img {
  width: 78%;
  height: 92%;
  object-fit: contain;
  filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.45));
}
.card-copy { display: flex; flex-direction: column; gap: 4px; padding: 0 6px 8px; margin-top: auto; }
.card-copy em { font-style: normal; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.card-copy strong { font-size: 18px; letter-spacing: -0.03em; }
.card-copy span { color: var(--muted); display: flex; align-items: center; gap: 8px; }
.dot {
  width: 10px;
  height: 10px;
  border-radius: 99px;
  background: var(--swatch);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
}
.card-copy b { margin-top: 6px; font-size: 18px; }
.product {
  display: grid;
  grid-template-columns: minmax(280px, 460px) 1fr;
  gap: 42px;
  align-items: center;
  padding-top: 28px;
}
.product .shot { height: 300px; border-radius: 28px; }
.product .shot img { width: 70%; }
.price { font-family: "Instrument Serif", serif; font-size: 52px; margin: 8px 0 18px; }
.specs { padding: 0; margin: 0 0 18px; list-style: none; display: grid; gap: 8px; color: var(--muted); }
.specs li { border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.product form, .qty { display: flex; gap: 10px; align-items: end; }
label { display: grid; gap: 6px; font-size: 14px; color: var(--muted); }
input, select, textarea {
  background: #0e0e12;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  color: var(--ink);
}
textarea { resize: vertical; min-height: 96px; white-space: pre-wrap; }
.fine, .chat-note { color: var(--muted); font-size: 14px; }
.panel { max-width: 860px; padding-top: 28px; }
.panel h1 { font-size: 56px; margin-bottom: 18px; }
.lines { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.lines li {
  display: grid;
  grid-template-columns: 72px 1fr auto auto auto;
  gap: 12px;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px;
}
.thumb {
  width: 72px;
  height: 72px;
  object-fit: contain;
  background: #0e0e12;
  border-radius: 12px;
}
.lines span, .lines strong { display: block; }
.lines span { color: var(--muted); }
.payrow { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 18px; }
.foot {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
  padding: 28px 6vw 40px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}
.foot div { display: grid; }
.foot strong { color: var(--ink); font-family: "Instrument Serif", serif; font-size: 26px; }
.foot p { max-width: 52ch; margin: 0; }
.chat {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: min(400px, calc(100vw - 24px));
  background: #141418;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
  z-index: 20;
  padding: 16px;
}
.chat-head, .chat-head div { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.chat-head p { margin: 0; color: var(--muted); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; }
.chat-log { margin: 12px 0; color: var(--muted); }
.chat-log p, .chat-log article { white-space: pre-wrap; overflow-wrap: anywhere; }
.chat-form { display: grid; gap: 10px; }
.chat-form button, .qty button {
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  padding: 12px 16px;
  cursor: pointer;
  font-weight: 700;
}
@media (max-width: 800px) {
  .top, .foot, .hero { flex-direction: column; display: flex; align-items: flex-start; }
  .hero-side { justify-self: start; width: 100%; }
  .product, .payrow { grid-template-columns: 1fr; display: grid; }
  .lines li { grid-template-columns: 72px 1fr; }
  .product .shot { height: 220px; }
}
