:root {
  color: #171816;
  background: #f7f7f4;
  font-family: Arial, Helvetica, sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: #f7f7f4;
}

button,
a {
  color: inherit;
  font: inherit;
}

button {
  cursor: pointer;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 78px;
  padding: 0 38px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid #d9dad5;
  background: rgba(247, 247, 244, 0.96);
  backdrop-filter: blur(14px);
}

.brand {
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #171816;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 12px;
  line-height: 1.1;
  letter-spacing: 0.12em;
  text-decoration: none;
}

.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 4px;
  background: #16211c;
  color: #fff;
  font-size: 17px;
  letter-spacing: 0;
}

.site-header nav {
  display: flex;
  gap: 34px;
}

.site-header nav a {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-decoration: none;
  text-transform: uppercase;
}

.header-meta {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 16px;
}

.demo-label {
  padding: 5px 8px;
  border: 1px solid #c8a24f;
  border-radius: 3px;
  color: #75602c;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bag-button {
  min-height: 36px;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 12px;
  font-weight: 700;
}

.bag-button span {
  color: #75827b;
}

.product-stage {
  min-height: calc(100vh - 78px);
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(380px, 0.78fr);
  border-bottom: 1px solid #d9dad5;
}

.product-gallery {
  position: relative;
  min-height: 720px;
  padding: 58px 7vw 42px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-right: 1px solid #d9dad5;
  background: #e7ebe8;
}

.product-gallery::before {
  content: "";
  position: absolute;
  inset: 32px;
  border: 1px solid rgba(23, 24, 22, 0.11);
  pointer-events: none;
}

.product-gallery figure {
  width: min(680px, 88%);
  aspect-ratio: 1.18;
  margin: 0;
  display: grid;
  place-items: center;
}

.product-gallery img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 18px 18px rgba(33, 38, 35, 0.11));
}

.gallery-index {
  position: absolute;
  top: 52px;
  left: 52px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: #5e6863;
  font-size: 10px;
  font-weight: 700;
}

.gallery-line {
  width: 42px;
  height: 1px;
  background: #8d9691;
}

.gallery-caption {
  position: absolute;
  right: 52px;
  bottom: 48px;
  margin: 0;
  color: #5e6863;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-detail {
  padding: 8vh 6vw 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #fff;
}

.eyebrow,
.section-heading p,
.craft-band p {
  margin: 0 0 16px;
  color: #23785e;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.product-detail h1 {
  max-width: 620px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(40px, 4vw, 66px);
  font-weight: 400;
  line-height: 1.02;
}

.description {
  max-width: 560px;
  margin: 24px 0 0;
  color: #606861;
  font-size: 15px;
  line-height: 1.7;
}

.price-row {
  margin-top: 28px;
  padding-bottom: 25px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid #e0e2de;
}

.price-row strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 27px;
  font-weight: 400;
}

.price-row span {
  color: #6f7772;
  font-size: 11px;
}

.option-group {
  padding: 22px 0;
  display: grid;
  grid-template-columns: 70px 1fr;
  align-items: center;
  gap: 18px;
  border-bottom: 1px solid #e0e2de;
}

.option-group > span {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.option-group > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.option-group button {
  min-height: 36px;
  padding: 0 13px;
  border: 1px solid #cfd3cf;
  border-radius: 3px;
  background: #fff;
  font-size: 11px;
}

.option-group button[aria-pressed="true"] {
  border-color: #1b211e;
  background: #1b211e;
  color: #fff;
}

.product-actions {
  margin-top: 26px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.product-actions button {
  min-height: 54px;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.add-button {
  border: 1px solid #17201c;
  background: #17201c;
  color: #fff;
}

.try-on-button {
  border: 1px solid #b38a38;
  background: #f6eedc;
  color: #594318;
}

.service-list {
  margin: 26px 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.service-list div {
  padding-top: 13px;
  border-top: 1px solid #d7dad6;
}

.service-list dt {
  font-size: 11px;
  font-weight: 800;
}

.service-list dd {
  margin: 5px 0 0;
  color: #6e7571;
  font-size: 10px;
}

.collection {
  padding: 96px 5vw 110px;
  background: #f7f7f4;
}

.section-heading {
  max-width: 700px;
  margin-bottom: 46px;
}

.section-heading h2,
.craft-band h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 400;
  line-height: 1.08;
}

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

.product-card {
  position: relative;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid #d6d9d5;
  border-radius: 4px;
  background: #fff;
  text-align: left;
}

.product-card[aria-current="true"] {
  border-color: #1e6e55;
  box-shadow: inset 0 0 0 1px #1e6e55;
}

.product-card-image {
  height: 320px;
  padding: 28px;
  display: grid;
  place-items: center;
  background: #edf0ed;
}

.product-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-card-copy {
  min-height: 124px;
  padding: 20px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 8px 18px;
}

.product-card strong {
  min-width: 0;
  overflow-wrap: anywhere;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  font-weight: 400;
}

.product-card small {
  color: #6f7772;
  font-size: 10px;
  text-transform: uppercase;
}

.product-card .card-price {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  font-size: 13px;
  font-weight: 700;
}

.craft-band {
  min-height: 440px;
  padding: 94px 8vw;
  display: grid;
  align-content: center;
  background: #19231f;
  color: #fff;
}

.craft-band h2 {
  max-width: 930px;
}

footer {
  min-height: 74px;
  padding: 0 38px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  background: #fff;
  color: #676e69;
  font-size: 10px;
  text-transform: uppercase;
}

footer > span:first-child {
  color: #181b19;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  letter-spacing: 0.1em;
}

.integration-status {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.integration-status i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #b58e3c;
}

.integration-status.is-ready i {
  background: #18805b;
}

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

  .site-header nav {
    display: none;
  }

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

  .product-gallery {
    min-height: 54vh;
    border-right: 0;
    border-bottom: 1px solid #d9dad5;
  }

  .product-detail {
    padding: 54px 8vw 64px;
  }

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

  .product-card {
    display: grid;
    grid-template-columns: 180px 1fr;
  }

  .product-card-image {
    height: 180px;
  }

  footer {
    grid-template-columns: 1fr auto;
  }

  footer > span:nth-child(2) {
    display: none;
  }
}

@media (max-width: 560px) {
  .site-header {
    height: 68px;
  }

  .demo-label {
    display: none;
  }

  .product-stage {
    min-height: 0;
  }

  .product-gallery {
    min-height: 430px;
    padding: 54px 26px 40px;
  }

  .product-gallery::before {
    inset: 18px;
  }

  .gallery-index {
    top: 32px;
    left: 32px;
  }

  .gallery-caption {
    right: 32px;
    bottom: 30px;
  }

  .product-detail h1 {
    font-size: 39px;
  }

  .price-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .option-group {
    grid-template-columns: 1fr;
  }

  .product-actions,
  .service-list {
    grid-template-columns: 1fr;
  }

  .collection {
    padding: 68px 20px;
  }

  .product-card {
    grid-template-columns: 126px 1fr;
  }

  .product-card-image {
    height: 150px;
    padding: 14px;
  }

  .product-card-copy {
    min-height: 150px;
    padding: 15px;
    grid-template-columns: 1fr;
  }

  .product-card .card-price {
    grid-column: 1;
    grid-row: auto;
  }

  .craft-band {
    min-height: 360px;
    padding: 68px 24px;
  }

  footer {
    min-height: 92px;
    padding: 18px 20px;
    grid-template-columns: 1fr;
  }

  .integration-status {
    justify-self: start;
  }
}
