:root {
  --ink: #0b0b0b;
  --panel: #151515;
  --panel-soft: #202020;
  --line: #333333;
  --gold: #d7ac48;
  --gold-strong: #f0c95c;
  --silver: #d8d8d8;
  --paper: #f8f6ef;
  --muted: #686868;
  --success: #257a52;
  --danger: #a83d3d;
  --radius: 8px;
  --shadow: 0 20px 60px rgba(0, 0, 0, .18);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #ffffff;
  font-size: 16px;
  line-height: 1.55;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 255, 255, .09);
  background: rgba(8, 8, 8, .94);
  color: #ffffff;
  backdrop-filter: blur(14px);
}

.nav-shell {
  width: min(1180px, calc(100% - 32px));
  min-height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

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

.brand img {
  width: 46px;
  height: 46px;
  border-radius: var(--radius);
  object-fit: contain;
}

.brand-logo {
  min-width: 0;
}

.brand-logo img {
  width: 56px;
  height: 56px;
  border-radius: 6px;
  background: #111111;
}

.brand > span {
  display: block;
}

.brand strong {
  display: block;
  color: #ffffff;
  font-size: .92rem;
  line-height: 1.1;
  letter-spacing: .08em;
}

.brand > span > span {
  display: block;
  margin-top: 4px;
  color: var(--gold-strong);
  font-size: .72rem;
  letter-spacing: .22em;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-wrap: wrap;
}

.nav-links a,
.cart-link {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: var(--radius);
  color: rgba(255, 255, 255, .82);
  font-size: .92rem;
}

.nav-links a:hover,
.nav-links a.active,
.cart-link:hover {
  color: #ffffff;
  background: rgba(215, 172, 72, .16);
}

.cart-count {
  min-width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: var(--gold);
  color: #111111;
  font-size: .78rem;
  font-weight: 800;
}

.utility-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.utility-link {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 10px;
  border-radius: var(--radius);
  color: rgba(255, 255, 255, .76);
  font-size: .9rem;
  font-weight: 800;
}

.utility-link:hover,
.utility-link.active {
  color: #ffffff;
  background: rgba(255, 255, 255, .08);
}

.hero {
  position: relative;
  min-height: min(78vh, 760px);
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #ffffff;
  background: #080808;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .88) 0%, rgba(0, 0, 0, .72) 36%, rgba(0, 0, 0, .22) 76%),
    url("hero-products.jpg") center right / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 110px;
  background: linear-gradient(0deg, rgba(0, 0, 0, .42), transparent);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 80px 0 96px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold-strong);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 38px;
  height: 2px;
  background: var(--gold);
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
}

.hero h1 {
  max-width: 760px;
  margin-top: 18px;
  font-size: clamp(2.65rem, 7vw, 5.7rem);
  letter-spacing: 0;
}

.hero-copy {
  max-width: 620px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, .82);
  font-size: 1.13rem;
}

.hero-proof {
  max-width: 780px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 34px;
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .16);
}

.hero-proof span {
  min-height: 76px;
  display: grid;
  align-content: center;
  padding: 14px;
  background: rgba(0, 0, 0, .54);
  color: rgba(255, 255, 255, .74);
  font-size: .82rem;
  font-weight: 800;
}

.hero-proof strong {
  display: block;
  color: #ffffff;
  font-size: .95rem;
}

.hero-actions,
.section-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: var(--ink);
  color: #ffffff;
  font-weight: 800;
  line-height: 1.2;
}

.button.gold {
  background: var(--gold);
  color: #111111;
}

.button.light {
  border-color: rgba(255, 255, 255, .35);
  background: rgba(255, 255, 255, .08);
  color: #ffffff;
}

.button.ghost {
  border-color: #cfc8b5;
  background: #ffffff;
  color: var(--ink);
}

.button.danger {
  background: var(--danger);
}

.button:disabled {
  cursor: not-allowed;
  opacity: .55;
}

.icon-button {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #cfc6b3;
  border-radius: var(--radius);
  padding: 7px 10px;
  background: #ffffff;
  color: #111111;
  font-weight: 800;
}

.icon-button.danger {
  border-color: #d8aaa7;
  color: #8f2525;
}

.band {
  padding: 76px 0;
}

.band.dark {
  background: var(--ink);
  color: #ffffff;
}

.band.warm {
  background: var(--paper);
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}

.section-head h2 {
  font-size: clamp(1.9rem, 3vw, 3rem);
}

.section-head p {
  max-width: 560px;
  margin: 10px 0 0;
  color: var(--muted);
}

.dark .section-head p {
  color: rgba(255, 255, 255, .68);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: #d5d0c1;
  border: 1px solid #d5d0c1;
}

.metric {
  min-height: 126px;
  padding: 24px;
  background: #ffffff;
}

.metric strong {
  display: block;
  color: var(--ink);
  font-size: 1.5rem;
}

.metric span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
}

.trust-grid,
.category-grid,
.why-grid,
.insight-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.trust-card,
.category-card,
.why-card,
.insight-card {
  min-height: 176px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 1px solid #ded8c8;
  border-radius: var(--radius);
  padding: 20px;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .05);
}

.dark .trust-card,
.dark .why-card {
  border-color: #373737;
  background: #111111;
}

.trust-icon,
.why-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: #111111;
  color: var(--gold-strong);
  font-weight: 900;
}

.dark .trust-icon,
.dark .why-icon {
  background: var(--gold);
  color: #111111;
}

.trust-card h3,
.category-card h3,
.why-card h3,
.insight-card h3 {
  font-size: 1.08rem;
}

.trust-card p,
.category-card p,
.why-card p,
.insight-card p {
  margin: 0;
  color: var(--muted);
}

.dark .trust-card p,
.dark .why-card p {
  color: rgba(255, 255, 255, .66);
}

.category-card {
  min-height: 220px;
  justify-content: space-between;
  background:
    linear-gradient(135deg, rgba(215, 172, 72, .12), transparent 45%),
    #ffffff;
}

.category-card span {
  color: #6f5a24;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

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

.product-card {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid #dfdccf;
  border-radius: var(--radius);
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .06);
}

.product-media {
  aspect-ratio: 4 / 3;
  background: #111111;
  overflow: hidden;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(215, 172, 72, .28), transparent 42%),
    #121212;
}

.product-placeholder img {
  width: 82px;
  height: 82px;
  opacity: .92;
}

.product-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px;
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: .86rem;
}

.pill {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 4px 9px;
  border: 1px solid #d8d2bd;
  border-radius: 999px;
  color: #5b4a1d;
  background: #fbf4dc;
  font-size: .78rem;
  font-weight: 800;
}

.product-card h3 {
  font-size: 1.18rem;
}

.product-card p {
  margin: 0;
  color: var(--muted);
}

.product-foot {
  margin-top: auto;
  display: grid;
  gap: 12px;
}

.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.price {
  font-size: 1.35rem;
  font-weight: 900;
}

.stock {
  color: var(--success);
  font-size: .88rem;
  font-weight: 800;
}

.stock.out {
  color: var(--danger);
}

.market-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.market-links a {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  padding: 6px 9px;
  border: 1px solid #d6d0be;
  border-radius: var(--radius);
  color: #4d4021;
  font-size: .82rem;
  font-weight: 800;
}

.workflow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid #383838;
  background: #383838;
}

.workflow-step {
  min-height: 210px;
  padding: 26px;
  background: #111111;
}

.workflow-step span {
  color: var(--gold-strong);
  font-weight: 900;
}

.workflow-step h3 {
  margin-top: 26px;
  font-size: 1.35rem;
}

.workflow-step p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, .68);
}

.page-hero {
  padding: 74px 0 48px;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .9), rgba(0, 0, 0, .52)),
    url("hero-products.jpg") center right / cover no-repeat;
  color: #ffffff;
}

.page-hero h1 {
  max-width: 760px;
  margin-top: 12px;
  font-size: clamp(2.35rem, 5vw, 4.6rem);
}

.page-hero p {
  max-width: 680px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, .8);
}

.toolbar {
  display: grid;
  grid-template-columns: 1fr 220px 170px;
  gap: 12px;
  margin-bottom: 24px;
}

.search-wrap {
  position: relative;
}

.suggestions {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  z-index: 10;
  display: none;
  border: 1px solid #d7d0c0;
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.suggestions.show {
  display: block;
}

.suggestions a,
.suggestions button {
  width: 100%;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 0;
  border-bottom: 1px solid #eee7d7;
  padding: 10px 12px;
  background: #ffffff;
  color: #111111;
  text-align: left;
}

.suggestions a:hover,
.suggestions button:hover {
  background: #f9f4e6;
}

.suggestions small {
  color: var(--muted);
}

.field,
.form-grid label,
.contact-form label,
.checkout-form label,
.admin-form label {
  display: grid;
  gap: 7px;
  color: #303030;
  font-size: .86rem;
  font-weight: 800;
}

.field input,
.field select,
.form-grid input,
.form-grid select,
.form-grid textarea,
.contact-form input,
.contact-form textarea,
.checkout-form input,
.checkout-form textarea,
.admin-form input,
.admin-form select,
.admin-form textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid #cbc7bb;
  border-radius: var(--radius);
  padding: 10px 12px;
  background: #ffffff;
  color: #111111;
}

textarea {
  resize: vertical;
}

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .55fr);
  gap: 28px;
  align-items: start;
}

.content-panel {
  border: 1px solid #ded8c8;
  border-radius: var(--radius);
  background: #ffffff;
  padding: 24px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .05);
}

.product-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(360px, .7fr);
  gap: 28px;
  align-items: start;
}

.product-gallery {
  display: grid;
  gap: 12px;
}

.product-main-image {
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  border: 1px solid #ded8c8;
  border-radius: var(--radius);
  background: #111111;
  overflow: hidden;
}

.product-main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .25s ease;
}

.product-main-image:hover img {
  transform: scale(1.06);
}

.thumb-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.thumb-row button {
  aspect-ratio: 1;
  border: 1px solid #d8d0bd;
  border-radius: var(--radius);
  background: #ffffff;
  overflow: hidden;
  cursor: pointer;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.thumb-row button:hover,
.thumb-row button.active {
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(202, 164, 74, .25);
}

.thumb-row button:hover {
  transform: translateY(-1px);
}

.thumb-row img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-stack {
  display: grid;
  gap: 18px;
}

.detail-price {
  font-size: 2rem;
  font-weight: 900;
}

.variant-choice {
  display: grid;
  gap: 8px;
  margin: 1rem 0;
  padding: 1rem;
  border: 1px solid #ded8c8;
  border-radius: var(--radius);
  background: #fbf8ef;
}

.variant-choice select {
  width: 100%;
}

.variant-choice p {
  margin: 0;
  color: #6d6658;
  font-size: .9rem;
}

.benefit-list,
.spec-list,
.faq-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.benefit-list li,
.spec-list li,
.faq-list li {
  padding: 11px 12px;
  border: 1px solid #e0d8c7;
  border-radius: var(--radius);
  background: #fffaf0;
}

.spec-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

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

.commerce-strip span {
  min-height: 62px;
  display: grid;
  align-content: center;
  border: 1px solid #e0d8c7;
  border-radius: var(--radius);
  padding: 10px;
  background: #ffffff;
  color: #4f4735;
  font-size: .86rem;
  font-weight: 800;
}

.article-list {
  display: grid;
  gap: 16px;
}

.article-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 18px;
  border: 1px solid #ded8c8;
  border-radius: var(--radius);
  padding: 18px;
  background: #ffffff;
}

.article-row span {
  color: #7a6427;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

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

.account-card,
.support-card,
.ops-card {
  border: 1px solid #ded8c8;
  border-radius: var(--radius);
  padding: 20px;
  background: #ffffff;
}

.ops-card strong {
  display: block;
  font-size: 1.7rem;
}

.content-panel h2,
.content-panel h3 {
  margin-bottom: 12px;
}

.content-panel p,
.content-panel li {
  color: #555555;
}

.content-panel ul {
  padding-left: 20px;
}

.contact-form,
.checkout-form,
.admin-form {
  display: grid;
  gap: 14px;
}

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

.full {
  grid-column: 1 / -1;
}

.notice {
  min-height: 44px;
  display: none;
  align-items: center;
  padding: 10px 12px;
  border-radius: var(--radius);
  background: #f6efd6;
  color: #4f3b0d;
  font-weight: 700;
}

.notice.show {
  display: flex;
}

.notice.error {
  background: #f7dddd;
  color: #7a2020;
}

.cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 28px;
  align-items: start;
}

.cart-list {
  display: grid;
  gap: 12px;
}

.cart-item {
  display: grid;
  grid-template-columns: 94px 1fr auto;
  gap: 14px;
  align-items: center;
  border: 1px solid #dfdccf;
  border-radius: var(--radius);
  padding: 12px;
  background: #ffffff;
}

.cart-item-media {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--radius);
  background: #111111;
}

.cart-item-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item h3 {
  font-size: 1rem;
}

.quantity-controls {
  display: inline-flex;
  align-items: center;
  border: 1px solid #d7d0c0;
  border-radius: var(--radius);
  overflow: hidden;
}

.quantity-controls button {
  width: 38px;
  height: 38px;
  border: 0;
  background: #f4f0e4;
  font-weight: 900;
}

.quantity-controls span {
  min-width: 38px;
  text-align: center;
  font-weight: 900;
}

.summary-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid #e6e1d4;
}

.summary-line strong {
  font-size: 1.25rem;
}

#payment-element {
  margin-top: 16px;
}

.site-footer {
  padding: 46px 0;
  background: #080808;
  color: #ffffff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, minmax(0, .7fr));
  gap: 28px;
}

.site-footer h3 {
  margin-bottom: 12px;
  font-size: 1rem;
}

.site-footer p,
.site-footer a {
  color: rgba(255, 255, 255, .68);
}

.site-footer a {
  display: block;
  margin-top: 8px;
}

.fineprint {
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .14);
  color: rgba(255, 255, 255, .54);
  font-size: .86rem;
}

.empty-state {
  border: 1px dashed #cfc7b2;
  border-radius: var(--radius);
  padding: 28px;
  background: #fffaf0;
  color: #5d512f;
}

@media (max-width: 920px) {
  .nav-shell {
    min-height: auto;
    padding: 12px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .metrics,
  .workflow,
  .product-grid,
  .trust-grid,
  .category-grid,
  .why-grid,
  .insight-grid,
  .product-detail-layout,
  .account-grid,
  .support-grid,
  .ops-grid,
  .footer-grid,
  .two-col,
  .cart-layout {
    grid-template-columns: 1fr;
  }

  .toolbar {
    grid-template-columns: 1fr;
  }

  .commerce-strip {
    grid-template-columns: 1fr;
  }

  .section-head {
    display: block;
  }
}

@media (max-width: 620px) {
  .brand {
    min-width: 0;
  }

  .brand strong {
    font-size: .82rem;
  }

  .brand > span > span {
    letter-spacing: .12em;
  }

  .hero {
    min-height: 72vh;
  }

  .hero::before {
    background:
      linear-gradient(90deg, rgba(0, 0, 0, .9), rgba(0, 0, 0, .62)),
      url("hero-products.jpg") center / cover no-repeat;
  }

  .form-grid,
  .cart-item,
  .article-row,
  .hero-proof {
    grid-template-columns: 1fr;
  }

  .cart-item-media {
    max-width: 140px;
  }

  .button {
    width: 100%;
  }
}
