:root {
  --black: #080806;
  --near-black: #11120d;
  --forest: #123527;
  --forest-soft: #224b38;
  --gold: #d7b764;
  --gold-soft: #f0d993;
  --cream: #f3ead9;
  --paper: #fbf7ee;
  --muted: #8f846f;
  --line: rgba(215, 183, 100, 0.22);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--cream);
  background: var(--black);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--black);
}

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

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

button,
select,
input {
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 18px;
  left: 50%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: min(1120px, calc(100% - 32px));
  min-height: 62px;
  padding: 10px 12px 10px 18px;
  border: 1px solid rgba(243, 234, 217, 0.16);
  border-radius: 8px;
  background: rgba(8, 8, 6, 0.68);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
}

.brand,
h1,
h2 {
  font-family: Cinzel, Georgia, serif;
  font-weight: 800;
  letter-spacing: 0;
}

.brand {
  justify-self: start;
  color: var(--gold-soft);
  font-size: 1.08rem;
  text-transform: uppercase;
}

nav {
  display: flex;
  gap: 28px;
  justify-self: center;
  color: rgba(243, 234, 217, 0.78);
  font-size: 0.86rem;
  font-weight: 700;
}

.header-action {
  justify-self: end;
  padding: 12px 16px;
  border: 1px solid rgba(215, 183, 100, 0.35);
  border-radius: 6px;
  color: var(--gold-soft);
  font-size: 0.84rem;
  font-weight: 800;
}

.hero {
  position: relative;
  min-height: 92vh;
  overflow: hidden;
  isolation: isolate;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: 60% center;
  z-index: -2;
}

.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(8, 8, 6, 0.96) 0%, rgba(8, 8, 6, 0.82) 35%, rgba(8, 8, 6, 0.24) 72%),
    linear-gradient(180deg, rgba(8, 8, 6, 0.2), rgba(8, 8, 6, 0.82));
}

.hero-inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(1120px, calc(100% - 32px));
  min-height: 92vh;
  margin: 0 auto;
  padding: 112px 0 120px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--forest-soft);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 680px;
  margin-bottom: 8px;
  color: #fff7e5;
  font-size: clamp(4.5rem, 12vw, 10rem);
  line-height: 0.86;
}

.hero-line {
  margin: 0 0 22px;
  color: var(--gold-soft);
  font-family: Cinzel, Georgia, serif;
  font-size: clamp(1.25rem, 3vw, 2rem);
  font-weight: 700;
}

.hero-copy {
  max-width: 520px;
  margin-bottom: 0;
  color: rgba(243, 234, 217, 0.78);
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.primary-button,
.ghost-button,
.buy-box button,
.pay-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  border-radius: 6px;
  font-weight: 900;
}

.primary-button {
  padding: 0 24px;
  background: var(--gold);
  color: #16130a;
  box-shadow: 0 20px 50px rgba(215, 183, 100, 0.2);
}

.ghost-button {
  padding: 0 22px;
  border: 1px solid rgba(243, 234, 217, 0.24);
  color: var(--cream);
}

.hero-rail {
  position: absolute;
  right: 32px;
  bottom: 30px;
  left: 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  width: min(1120px, calc(100% - 64px));
  margin: 0 auto;
  border: 1px solid rgba(243, 234, 217, 0.12);
  background: rgba(243, 234, 217, 0.1);
}

.hero-rail span {
  padding: 18px;
  background: rgba(8, 8, 6, 0.58);
  color: rgba(243, 234, 217, 0.78);
  font-size: 0.84rem;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

.product-strip {
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  gap: 56px;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 84px 0;
  color: var(--near-black);
}

.product-strip h2,
.buy-panel h2,
.safety h2 {
  margin-bottom: 0;
  font-size: clamp(2.15rem, 4.6vw, 4.6rem);
  line-height: 0.98;
}

.product-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(18, 53, 39, 0.15);
}

.product-facts article {
  min-height: 250px;
  padding: 26px;
  background: var(--paper);
}

.product-facts span,
.buy-meta {
  color: var(--forest-soft);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.product-facts h3 {
  margin: 22px 0 12px;
  color: var(--forest);
  font-size: 1.1rem;
}

.product-facts p,
.buy-copy p,
.buy-box p,
.safety p {
  color: var(--muted);
  line-height: 1.72;
}

.buy-panel {
  display: grid;
  grid-template-columns: 1fr minmax(320px, 420px);
  gap: 56px;
  align-items: center;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto 32px;
  padding: 54px;
  border: 1px solid rgba(215, 183, 100, 0.2);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(18, 53, 39, 0.94), rgba(8, 8, 6, 0.98)),
    var(--forest);
}

.buy-copy p {
  max-width: 600px;
  color: rgba(243, 234, 217, 0.72);
}

.buy-box {
  display: grid;
  gap: 14px;
  padding: 24px;
  border: 1px solid rgba(243, 234, 217, 0.14);
  border-radius: 8px;
  background: rgba(251, 247, 238, 0.96);
  color: var(--near-black);
}

.buy-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.buy-box label {
  color: var(--forest);
  font-size: 0.84rem;
  font-weight: 900;
}

.buy-box select {
  min-height: 48px;
  padding: 0 12px;
  border: 1px solid rgba(18, 53, 39, 0.2);
  border-radius: 6px;
  background: #fffaf0;
  color: var(--near-black);
  font-weight: 800;
}

.buy-box button {
  border: 0;
  background: var(--near-black);
  color: var(--cream);
  cursor: pointer;
}

.buy-box p {
  margin-bottom: 0;
  font-size: 0.84rem;
}

.safety {
  width: min(900px, calc(100% - 32px));
  margin: 0 auto;
  padding: 54px 0 82px;
  color: var(--near-black);
}

.safety h2 {
  margin-bottom: 18px;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: space-between;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 38px;
  border-top: 1px solid rgba(18, 53, 39, 0.15);
  color: var(--forest);
  font-weight: 800;
}

.checkout-body {
  min-height: 100vh;
  background:
    linear-gradient(135deg, rgba(8, 8, 6, 0.98), rgba(18, 53, 39, 0.94)),
    var(--black);
}

.checkout-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0;
}

.return-link {
  padding: 12px 16px;
  border: 1px solid rgba(215, 183, 100, 0.28);
  border-radius: 6px;
  color: var(--gold-soft);
  font-size: 0.84rem;
  font-weight: 900;
}

.checkout-page {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 80px;
}

.checkout-intro {
  max-width: 780px;
  margin-bottom: 36px;
}

.checkout-intro h1 {
  margin-bottom: 18px;
  font-size: clamp(3.2rem, 8vw, 7rem);
}

.checkout-intro p {
  max-width: 660px;
  color: rgba(243, 234, 217, 0.74);
  line-height: 1.7;
}

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 410px);
  gap: 24px;
  align-items: start;
}

.checkout-form,
.order-summary {
  border: 1px solid rgba(243, 234, 217, 0.12);
  border-radius: 8px;
  background: rgba(251, 247, 238, 0.96);
  color: var(--near-black);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.22);
}

.checkout-form {
  display: grid;
  gap: 18px;
  padding: clamp(22px, 4vw, 34px);
}

.checkout-form fieldset {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0 0 18px;
  border: 0;
  border-bottom: 1px solid rgba(18, 53, 39, 0.12);
}

.checkout-form fieldset:last-of-type {
  border-bottom: 0;
}

.checkout-form legend {
  margin-bottom: 6px;
  color: var(--forest);
  font-family: Cinzel, Georgia, serif;
  font-size: 1.3rem;
  font-weight: 800;
}

.checkout-form label {
  display: grid;
  gap: 8px;
  color: #3d3a2f;
  font-size: 0.86rem;
  font-weight: 900;
}

.checkout-form input,
.checkout-form select {
  width: 100%;
  min-height: 48px;
  padding: 0 13px;
  border: 1px solid rgba(18, 53, 39, 0.2);
  border-radius: 6px;
  background: #fffaf0;
  color: var(--near-black);
  font-weight: 700;
}

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

.field-grid.three {
  grid-template-columns: 1.4fr 0.8fr 0.8fr;
}

.payment-box {
  display: grid;
  gap: 6px;
  padding: 18px;
  border: 1px solid rgba(215, 183, 100, 0.28);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(18, 53, 39, 0.94), rgba(8, 8, 6, 0.96));
  color: var(--cream);
}

.payment-box span {
  color: var(--gold-soft);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.payment-box strong {
  font-size: 1.1rem;
}

.payment-box p {
  margin: 0;
  color: rgba(243, 234, 217, 0.7);
  line-height: 1.55;
}

.checkbox-line {
  display: flex !important;
  grid-template-columns: none !important;
  align-items: flex-start;
  gap: 10px !important;
  line-height: 1.5;
}

.checkbox-line input {
  width: 18px;
  min-height: 18px;
  margin-top: 2px;
}

.pay-button {
  width: 100%;
  border: 0;
  background: var(--forest);
  color: var(--cream);
  cursor: pointer;
}

.checkout-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.6;
}

.order-summary {
  position: sticky;
  top: 24px;
  overflow: hidden;
}

.order-summary img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: center;
}

.summary-line,
.summary-total {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 22px;
  border-bottom: 1px solid rgba(18, 53, 39, 0.12);
}

.summary-total {
  color: var(--forest);
  font-size: 1.2rem;
  font-weight: 900;
}

.order-summary p {
  margin: 0;
  padding: 18px 22px 22px;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.65;
}

main {
  background: linear-gradient(180deg, transparent 0, transparent 92vh, var(--paper) 92vh, var(--paper) 100%);
}

@media (max-width: 860px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  nav {
    display: none;
  }

  .header-action {
    padding: 10px 12px;
  }

  .hero-image {
    object-position: 64% center;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(8, 8, 6, 0.96), rgba(8, 8, 6, 0.44)),
      linear-gradient(180deg, rgba(8, 8, 6, 0.22), rgba(8, 8, 6, 0.86));
  }

  .hero-inner {
    padding-bottom: 184px;
  }

  .hero-rail,
  .product-strip,
  .buy-panel,
  .checkout-layout {
    grid-template-columns: 1fr;
  }

  .hero-rail {
    right: 16px;
    left: 16px;
    width: calc(100% - 32px);
  }

  .product-facts {
    grid-template-columns: 1fr;
  }

  .product-facts article {
    min-height: 0;
  }

  .buy-panel {
    padding: 28px;
  }

  .order-summary {
    position: static;
  }
}

@media (max-width: 540px) {
  .brand {
    font-size: 1rem;
  }

  .header-action {
    max-width: 148px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  h1 {
    font-size: clamp(4rem, 20vw, 5.2rem);
  }

  .hero-actions {
    flex-direction: column;
  }

  .primary-button,
  .ghost-button {
    width: 100%;
  }

  .hero-rail span {
    padding: 13px 10px;
    font-size: 0.72rem;
  }

  .field-grid,
  .field-grid.three {
    grid-template-columns: 1fr;
  }

  .checkout-header {
    gap: 16px;
  }

  .return-link {
    padding: 10px 12px;
  }
}
