:root {
  --black: #060606;
  --ink: #121212;
  --paper: #f2f2f2;
  --muted: #777;
  --line: #c9c9c9;
  --panel: #e7e7e7;
  --accent: #1d4f8f;
  --stamp-red: #b11218;
  --font: "Courier New", ui-monospace, SFMono-Regular, Menlo, monospace;
  --condensed: "Arial Narrow", "Helvetica Neue Condensed", "Roboto Condensed", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  letter-spacing: 0;
}

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

a:hover {
  color: var(--accent);
}

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid var(--black);
  background: rgba(242, 242, 242, 0.96);
}

.brand-lockup,
.nav,
.cart-button {
  min-height: 64px;
  display: flex;
  align-items: center;
}

.brand-lockup {
  gap: 12px;
  padding: 0 18px;
  font-weight: 700;
}

.brand-lockup img {
  width: 28px;
  height: 40px;
  border: 1px solid var(--black);
}

.nav {
  gap: 22px;
  justify-content: center;
  font-size: 12px;
  text-transform: uppercase;
}

.cart-button {
  justify-self: end;
  border: 0;
  border-left: 1px solid var(--black);
  background: transparent;
  padding: 0 18px;
  cursor: pointer;
  text-transform: uppercase;
}

.cart-count {
  display: inline-grid;
  min-width: 22px;
  min-height: 22px;
  margin-left: 10px;
  place-items: center;
  border: 1px solid var(--black);
}

.hero {
  min-height: calc(100vh - 64px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 40vw);
  border-bottom: 1px solid var(--black);
}

.hero-copy {
  display: flex;
  min-height: 620px;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(24px, 5vw, 72px);
}

.corp-code {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: var(--condensed);
  margin: 0;
  text-transform: uppercase;
}

h1 {
  max-width: 760px;
  font-size: clamp(52px, 12vw, 162px);
  line-height: 0.82;
  font-stretch: condensed;
}

.tagline {
  max-width: 520px;
  margin: 24px 0 0;
  font-size: clamp(16px, 2vw, 24px);
  line-height: 1.25;
}

.hero-figure {
  position: relative;
  display: grid;
  place-items: end center;
  min-height: 620px;
  overflow: hidden;
  border-left: 1px solid var(--black);
  background: #dedede;
}

.hero-figure img {
  width: min(70%, 330px);
  margin-bottom: 48px;
  mix-blend-mode: multiply;
  filter: contrast(1.2);
}

.barcode {
  position: absolute;
  inset: 36px 30px auto auto;
  display: flex;
  align-items: stretch;
  gap: 5px;
  height: 86px;
}

.barcode span {
  width: var(--w);
  background: var(--black);
}

.drop-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: end;
  padding: 22px;
  border-top: 1px solid var(--black);
  background: var(--panel);
}

.drop-timer {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.time-box {
  min-width: 86px;
  border: 1px solid var(--black);
  background: var(--paper);
  padding: 12px;
}

.time-box strong {
  display: block;
  font-size: 30px;
}

.time-box span {
  color: var(--muted);
  font-size: 10px;
  text-transform: uppercase;
}

.status-field {
  border: 1px solid var(--black);
  padding: 14px 18px;
  background: var(--black);
  color: var(--paper);
  text-transform: uppercase;
}

.status-field.processing {
  color: var(--accent);
}

.notify-form {
  display: flex;
  width: min(100%, 520px);
  margin-top: 22px;
  border: 1px solid var(--black);
}

.notify-form input {
  min-width: 0;
  flex: 1;
  border: 0;
  background: var(--paper);
  padding: 15px;
}

.notify-form button {
  border: 0;
  border-left: 1px solid var(--black);
  background: var(--black);
  color: var(--paper);
  padding: 0 18px;
  cursor: pointer;
  text-transform: uppercase;
}

.form-message {
  min-height: 22px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
}

.section {
  padding: clamp(28px, 5vw, 70px);
  border-bottom: 1px solid var(--black);
}

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

.section-head h2 {
  font-size: clamp(32px, 6vw, 72px);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--black);
  border-left: 1px solid var(--black);
}

.product-card {
  position: relative;
  display: flex;
  min-height: 100%;
  flex-direction: column;
  border-right: 1px solid var(--black);
  border-bottom: 1px solid var(--black);
  background: var(--paper);
}

.product-media {
  position: relative;
  aspect-ratio: 1 / 1.16;
  overflow: hidden;
  border-bottom: 1px solid var(--black);
  background: #e9e9e9;
}

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

.stamp {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(-18deg);
  border: 5px solid var(--stamp-red);
  background: rgba(242, 242, 242, 0.78);
  color: var(--stamp-red);
  padding: 8px 16px;
  font-size: clamp(25px, 4vw, 54px);
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 0 0 2px rgba(242, 242, 242, 0.72);
  text-transform: uppercase;
  white-space: nowrap;
}

.product-info {
  display: grid;
  gap: 12px;
  padding: 16px;
}

.product-title-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  text-transform: uppercase;
}

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

.product-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  min-height: calc(100vh - 64px);
  border-bottom: 1px solid var(--black);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-right: 1px solid var(--black);
}

.gallery .product-media {
  border-right: 1px solid var(--black);
}

.purchase-panel {
  position: sticky;
  top: 65px;
  align-self: start;
  padding: clamp(24px, 4vw, 54px);
}

.purchase-panel h1 {
  font-size: clamp(42px, 7vw, 92px);
}

.price-line {
  margin: 18px 0;
  font-size: 22px;
}

.description {
  max-width: 560px;
  line-height: 1.55;
}

.button-stack {
  display: grid;
  gap: 10px;
  margin: 28px 0;
}

.primary-button,
.secondary-button,
.disabled-button {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--black);
  padding: 14px;
  text-align: center;
  text-transform: uppercase;
}

.primary-button {
  background: var(--black);
  color: var(--paper);
  cursor: pointer;
}

.secondary-button {
  background: transparent;
  cursor: pointer;
}

.disabled-button {
  background: #d8d8d8;
  color: #555;
  cursor: not-allowed;
}

.integration-hidden {
  display: none;
}

.cart-drawer {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 50;
  width: min(100%, 430px);
  display: flex;
  transform: translateX(100%);
  transition: transform 180ms linear;
  flex-direction: column;
  border-left: 1px solid var(--black);
  background: var(--paper);
}

.cart-drawer.open {
  transform: translateX(0);
}

.cart-head,
.cart-foot {
  padding: 18px;
  border-bottom: 1px solid var(--black);
}

.cart-head {
  display: flex;
  justify-content: space-between;
}

.icon-button {
  width: 34px;
  height: 34px;
  border: 1px solid var(--black);
  background: transparent;
  cursor: pointer;
}

.cart-items {
  flex: 1;
  overflow: auto;
}

.cart-item {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 14px;
  padding: 14px;
  border-bottom: 1px solid var(--black);
}

.cart-item img {
  width: 82px;
  height: 96px;
  object-fit: cover;
  border: 1px solid var(--black);
}

.qty-row {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 10px;
}

.qty-row button {
  width: 30px;
  height: 30px;
  border: 1px solid var(--black);
  background: transparent;
}

.cart-page {
  min-height: 70vh;
}

.checkout-note {
  margin-top: 12px;
  color: var(--muted);
  font-size: 12px;
}

.legal-doc {
  max-width: 900px;
  margin: 0 auto;
  padding: clamp(28px, 6vw, 76px);
  line-height: 1.6;
}

.legal-doc h1 {
  font-size: clamp(40px, 8vw, 88px);
  line-height: 0.95;
}

.legal-doc h2,
.legal-doc h3 {
  margin-top: 34px;
}

.legal-doc code {
  display: block;
  margin: 8px 0;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  padding: 24px;
  border-top: 1px solid var(--black);
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

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

  .nav {
    grid-column: 1 / -1;
    min-height: 44px;
    border-top: 1px solid var(--black);
  }

  .hero,
  .product-detail {
    grid-template-columns: 1fr;
  }

  .hero-copy,
  .hero-figure {
    min-height: auto;
  }

  .hero-figure {
    min-height: 420px;
    border-left: 0;
    border-top: 1px solid var(--black);
  }

  .drop-panel {
    grid-template-columns: 1fr;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery {
    border-right: 0;
  }

  .purchase-panel {
    position: static;
  }
}

@media (max-width: 560px) {
  .brand-lockup,
  .cart-button {
    min-height: 56px;
    padding: 0 12px;
  }

  .brand-lockup span {
    max-width: 132px;
  }

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

  .notify-form {
    display: grid;
  }

  .notify-form button {
    min-height: 48px;
    border-left: 0;
    border-top: 1px solid var(--black);
  }

  .site-footer,
  .section-head {
    grid-template-columns: 1fr;
    display: grid;
  }
}
