:root {
  font-family: Arial, Helvetica, sans-serif;
  color: #20201c;
  background: #f8f7f3;
  font-synthesis: none;
  --line: #d8d7d0;
  --muted: #74746e;
  --green: #d5e6a4;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
}
button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
button,
input,
select {
  font: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.5;
}
a:focus-visible,
button:focus-visible,
select:focus-visible,
input:focus-visible {
  outline: 3px solid #608121;
  outline-offset: 4px;
}
.hidden {
  display: none !important;
}
.notice {
  text-align: center;
  background: #22231e;
  color: #fff;
  font-size: 12px;
  padding: 10px 16px;
  line-height: 1.5;
}
.notice.demo {
  background: var(--green);
  color: #273218;
}
header {
  height: 95px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 5%;
  border-bottom: 1px solid var(--line);
}
.wordmark {
  font-weight: 900;
  letter-spacing: -3px;
  font-size: 38px;
}
.wordmark span {
  font-size: 12px;
  vertical-align: top;
  letter-spacing: 0;
  margin-left: 4px;
}
nav {
  display: flex;
  gap: 30px;
  align-items: center;
  font-size: 13px;
}
nav button {
  border: 0;
  background: transparent;
  font-size: 12px;
}
main {
  margin: auto;
  max-width: 1600px;
}
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 45px 5% 65px;
  min-height: 650px;
  gap: 5%;
}
.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 2px;
  font-weight: 700;
  margin-bottom: 24px;
}
h1 {
  font-size: clamp(48px, 6.4vw, 100px);
  font-weight: 500;
  letter-spacing: -6px;
  line-height: 0.99;
  margin: 0 0 25px;
}
.hero-copy > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 16px;
  margin: 4px 0 30px;
}
.button {
  display: inline-block;
  border: 1px solid #22231e;
  background: #22231e;
  color: white;
  padding: 18px 23px;
  min-height: 52px;
  font-size: 13px;
  text-align: center;
}
.button:hover {
  background: #404335;
}
.hero-image {
  position: relative;
  background: #e7e7df;
  overflow: hidden;
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 500px;
}
.image-caption {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: #f8f7f3dd;
  padding: 10px;
  font-size: 9px;
  letter-spacing: 1px;
}
.collection {
  padding: 40px 5% 80px;
  border-top: 1px solid var(--line);
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
}
.section-heading > p {
  font-size: 13px;
  color: var(--muted);
  max-width: 280px;
  line-height: 1.6;
}
h2 {
  font-weight: 500;
  letter-spacing: -2px;
  font-size: 42px;
  line-height: 1.08;
  margin: 0 0 12px;
}
.filters {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 30px 0;
}
.filters button {
  border: 1px solid var(--line);
  border-radius: 30px;
  background: none;
  padding: 10px 20px;
  font-size: 12px;
}
.filters button.selected {
  background: #22231e;
  color: white;
  border-color: #22231e;
}
#product-count {
  margin-left: auto;
  font-size: 11px;
  color: var(--muted);
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 34px 20px;
}
.product-card {
  border: 0;
  background: transparent;
  padding: 0;
  text-align: left;
  color: inherit;
  width: 100%;
}
.product-photo {
  position: relative;
  background: #e9e9e2;
  aspect-ratio: 4/5;
  overflow: hidden;
}
.product-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s;
}
.product-card:hover img {
  transform: scale(1.04);
}
.badge {
  position: absolute;
  left: 12px;
  top: 12px;
  background: #f8f7f3ed;
  font-size: 9px;
  padding: 6px 8px;
  letter-spacing: 1px;
}
.product-meta {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  margin: 15px 0 5px;
  font-size: 12px;
  line-height: 1.4;
}
.product-card .muted {
  font-size: 11px;
  margin: 0;
}
.muted {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}
.price {
  font-size: 18px;
}
.how {
  background: #e9eddf;
  padding: 65px 5%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8%;
}
.how ol {
  list-style: none;
  counter-reset: steps;
  padding: 0;
  margin: 0;
}
.how li {
  position: relative;
  counter-increment: steps;
  padding: 0 0 20px 45px;
  border-bottom: 1px solid #cdd2c2;
  margin: 0 0 25px;
}
.how li:before {
  content: '0' counter(steps);
  position: absolute;
  left: 0;
  font-size: 11px;
  color: #687356;
}
.how strong {
  font-size: 15px;
  font-weight: 500;
}
.how p {
  font-size: 13px;
  color: #63695c;
  line-height: 1.7;
  margin-bottom: 0;
}
footer {
  margin: 0 5%;
  padding: 50px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
footer p,
footer a {
  font-size: 11px;
  color: var(--muted);
}
dialog {
  border: 0;
  padding: 50px;
  max-width: 950px;
  width: calc(100% - 30px);
  background: #f8f7f3;
  color: inherit;
}
dialog::backdrop {
  background: #1119;
}
.close {
  position: absolute;
  right: 16px;
  top: 14px;
  background: none;
  border: 0;
  font-size: 20px;
}
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 35px;
}
.product-detail > img {
  width: 100%;
  height: 100%;
  max-height: 480px;
  object-fit: cover;
  background: #e9e9e2;
}
.product-detail h2 {
  font-size: 33px;
}
.product-detail p {
  font-size: 13px;
  line-height: 1.7;
}
.product-detail h3 {
  font-size: 14px;
  margin: 25px 0 12px;
}
.bundle {
  display: block;
  border-top: 1px solid var(--line);
  padding: 14px 0;
  font-size: 12px;
}
.bundle span {
  display: block;
  margin-bottom: 8px;
}
.bundle a {
  display: inline-block;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.checkout {
  padding: 60px 5%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8%;
}
.checkout h1 {
  font-size: 60px;
  letter-spacing: -3px;
}
.checkout > div > p:not(.eyebrow) {
  line-height: 1.7;
  color: var(--muted);
  font-size: 14px;
  max-width: 440px;
}
.order-image {
  display: block;
  width: 100%;
  max-width: 420px;
  height: 340px;
  object-fit: cover;
  margin-top: 28px;
}
.checkout-panel {
  background: #fff;
  padding: 30px;
  border: 1px solid var(--line);
  align-self: start;
}
.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  padding: 15px 0;
  font-size: 13px;
}
.summary-row.total {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
}
.checkout-panel h2 {
  font-size: 28px;
  letter-spacing: -1px;
}
.checkout-panel label {
  display: block;
  font-size: 12px;
  margin: 18px 0 8px;
}
.checkout-panel select {
  display: block;
  width: 100%;
  background: #fff;
  border: 1px solid var(--line);
  padding: 12px;
}
.checkout-panel .button {
  width: 100%;
}
#order-status {
  font-size: 13px;
  line-height: 1.7;
}
.text-link {
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.error {
  color: #a02d27;
}
#catalogue-error {
  font-size: 13px;
}
@media (max-width: 1000px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  h1 {
    letter-spacing: -4px;
  }
  .hero {
    min-height: 520px;
  }
  .hero-image img {
    min-height: 400px;
  }
}
@media (max-width: 700px) {
  header {
    height: 75px;
  }
  .wordmark {
    font-size: 30px;
  }
  nav {
    gap: 13px;
    font-size: 11px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding-top: 35px;
    gap: 30px;
  }
  .hero h1 {
    font-size: 70px;
  }
  .hero-image img {
    height: 400px;
    min-height: 0;
  }
  .section-heading {
    display: block;
  }
  h2 {
    font-size: 35px;
  }
  .section-heading > p {
    max-width: 100%;
  }
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px 12px;
  }
  .product-meta {
    font-size: 11px;
    display: block;
  }
  .product-meta strong {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
  }
  .filters {
    gap: 5px;
  }
  .filters button {
    padding: 9px 12px;
    font-size: 11px;
  }
  #product-count {
    display: none;
  }
  .how {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .how h2 {
    font-size: 40px;
  }
  footer {
    flex-wrap: wrap;
    padding: 30px 0;
  }
  dialog {
    padding: 40px 20px 25px;
  }
  .product-detail {
    grid-template-columns: 1fr;
  }
  .product-detail > img {
    height: 270px;
  }
  .checkout {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-top: 35px;
  }
  .checkout h1 {
    font-size: 50px;
  }
  .checkout-panel {
    padding: 20px;
  }
  .order-image {
    max-width: none;
    height: 250px;
  }
  .badge {
    left: 7px;
    top: 7px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
  }
}

.dialog-language {
  position: absolute;
  right: 52px;
  top: 14px;
  padding: 4px 8px;
  background: transparent;
  border: 1px solid currentColor;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}
