* {
  box-sizing: border-box;
}

:root {
  color-scheme: light;
  --ink: #111111;
  --muted: #525252;
  --line: #e5e5e5;
  --paper: #fcfcfa;
  --soft: #f5f5f3;
  --blue: #1e3a5f;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

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

.site-header,
.site-main,
.site-footer {
  max-width: 1120px;
  margin: 0 auto;
  padding: 28px 24px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
}

.brand {
  font-weight: 800;
  letter-spacing: .16em;
  font-size: 13px;
  text-decoration: none;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: var(--muted);
}

.site-nav a {
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--blue);
}

.eyebrow {
  margin: 54px 0 10px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 6vw, 58px);
  line-height: .98;
  margin: 0 0 18px;
  font-weight: 400;
}

h2 {
  font-size: 18px;
  margin: 34px 0 10px;
}

h3 {
  font-size: 15px;
  margin: 0 0 8px;
}

p {
  margin: 0 0 14px;
  color: #3f3f46;
}

ul {
  margin: 0 0 18px;
  padding-left: 20px;
  color: #3f3f46;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0 26px;
  background: #ffffff;
}

th,
td {
  border: 1px solid var(--line);
  padding: 12px;
  text-align: left;
  vertical-align: top;
  font-size: 14px;
}

th {
  background: var(--soft);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.note,
.contact-card,
.policy-card {
  background: var(--soft);
  border: 1px solid var(--line);
  padding: 18px;
  margin: 24px 0;
}

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

.card {
  background: #ffffff;
  border: 1px solid var(--line);
  padding: 16px;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  background: #111111;
  color: #ffffff;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.button.secondary {
  background: #ffffff;
  color: #111111;
  border: 1px solid #111111;
}

.site-footer {
  border-top: 1px solid var(--line);
  color: #71717a;
  font-size: 13px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 12px 0 0;
}

.filter-bar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 24px 0;
}

.filter-bar label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #737373;
}

.filter-bar select {
  width: 100%;
  height: 42px;
  margin-top: 6px;
  padding: 0 12px;
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--ink);
}

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

.product-card {
  background: #ffffff;
  min-width: 0;
  content-visibility: auto;
  contain-intrinsic-size: 520px;
}

.product-card picture,
.detail-image picture {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--soft);
}

.product-card img,
.detail-image img {
  width: 100%;
  height: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top center;
  background: var(--soft);
}

.product-body {
  padding: 14px;
}

.sku {
  color: #737373;
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.price {
  font-size: 20px;
  font-weight: 800;
  color: var(--blue);
}

.detail-layout {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 34px;
  align-items: start;
  margin-top: 28px;
}

.detail-image {
  background: #ffffff;
  border: 1px solid var(--line);
  padding: 10px;
}

.detail-image img {
  width: 100%;
}

.specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin: 22px 0;
}

.spec {
  background: #ffffff;
  padding: 12px;
}

.spec span {
  display: block;
  color: #737373;
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.spec strong {
  display: block;
  margin-top: 4px;
}

@media (max-width: 820px) {
  .site-header {
    display: block;
  }

  .site-nav {
    margin-top: 14px;
  }

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

  .filter-bar,
  .specs {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
