.am-shopfront {
  --am-black: #080808;
  --am-ink: #171717;
  --am-muted: #666;
  --am-line: #e6e2dc;
  --am-soft: #f6f4f0;
  --am-olive: #5e6249;
  background: #fff;
  color: var(--am-ink);
  font-family: Arial, Helvetica, sans-serif;
}

.am-shopfront * {
  box-sizing: border-box;
}

.am-shopfront a {
  color: inherit;
  text-decoration: none;
}

.am-customer-hero {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  min-height: 650px;
  background: var(--am-soft);
  border-bottom: 1px solid var(--am-line);
}

.am-customer-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(40px, 6vw, 90px);
}

.am-kicker {
  margin: 0 0 16px;
  color: var(--am-olive);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
}

.am-customer-copy h1 {
  margin: 0;
  max-width: 660px;
  font-size: clamp(44px, 6vw, 82px);
  line-height: .96;
  font-weight: 800;
  letter-spacing: .02em;
}

.am-customer-copy > p:not(.am-kicker) {
  max-width: 520px;
  margin: 22px 0 30px;
  color: #3d3d3d;
  font-size: clamp(17px, 1.4vw, 22px);
  line-height: 1.42;
}

.am-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.am-primary,
.am-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 28px;
  border: 1px solid var(--am-black);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .04em;
}

.am-primary {
  background: var(--am-black);
  color: #fff !important;
}

.am-secondary {
  background: transparent;
}

.am-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 36px;
}

.am-proof span {
  padding: 9px 12px;
  border: 1px solid var(--am-line);
  background: #fff;
  font-size: 12px;
  font-weight: 700;
}

.am-hero-products {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: clamp(18px, 3vw, 42px);
  align-content: center;
}

.am-hero-product {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  background: #eee;
}

.am-hero-product:nth-child(1),
.am-hero-product:nth-child(4) {
  transform: translateY(34px);
}

.am-hero-product img,
.am-product-tile img,
.am-category-link img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.am-hero-product span {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 7px 9px;
  background: rgba(255, 255, 255, .9);
  font-size: 12px;
  font-weight: 800;
}

.am-categories,
.am-products,
.am-value {
  max-width: 1440px;
  margin: 0 auto;
  padding: 54px 36px;
}

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

.am-section-title h2 {
  margin: 0;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1;
  font-weight: 800;
  letter-spacing: .04em;
}

.am-section-title p {
  margin: 0;
  color: var(--am-muted);
  font-size: 15px;
}

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

.am-category-link {
  position: relative;
  min-height: 310px;
  overflow: hidden;
  background: #eee;
}

.am-category-link::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.48));
}

.am-category-link strong {
  position: absolute;
  z-index: 1;
  left: 22px;
  bottom: 22px;
  color: #fff;
  font-size: 24px;
  letter-spacing: .04em;
}

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

.am-product-tile {
  border: 1px solid var(--am-line);
  background: #fff;
}

.am-product-tile__image {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #f3f3f1;
}

.am-product-tile__body {
  padding: 14px 14px 16px;
}

.am-tag {
  display: inline-block;
  margin-bottom: 10px;
  padding: 5px 8px;
  background: var(--am-soft);
  color: #494949;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
}

.am-product-tile h3 {
  min-height: 42px;
  margin: 0 0 8px;
  font-size: 16px;
  line-height: 1.3;
  font-weight: 600;
}

.am-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.am-price strong {
  font-size: 18px;
}

.am-price s {
  color: #888;
  font-size: 13px;
}

.am-value {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  padding-top: 20px;
}

.am-value div {
  min-height: 110px;
  padding: 24px 20px;
  border: 1px solid var(--am-line);
  border-right: 0;
}

.am-value div:last-child {
  border-right: 1px solid var(--am-line);
}

.am-value strong {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  letter-spacing: .06em;
}

.am-value span {
  color: var(--am-muted);
  font-size: 14px;
  line-height: 1.4;
}

@media (max-width: 749px) {
  .am-customer-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .am-customer-copy {
    padding: 34px 18px 24px;
  }

  .am-customer-copy h1 {
    font-size: 42px;
  }

  .am-actions a {
    flex: 1 1 100%;
  }

  .am-proof {
    margin-top: 24px;
  }

  .am-hero-products {
    gap: 10px;
    padding: 12px 12px 28px;
  }

  .am-hero-product {
    min-height: 190px;
  }

  .am-hero-product:nth-child(1),
  .am-hero-product:nth-child(4) {
    transform: none;
  }

  .am-categories,
  .am-products,
  .am-value {
    padding: 36px 16px;
  }

  .am-section-title {
    display: block;
  }

  .am-section-title h2 {
    margin-bottom: 8px;
    font-size: 28px;
  }

  .am-category-row {
    grid-template-columns: 1fr;
  }

  .am-category-link {
    min-height: 230px;
  }

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

  .am-product-tile__body {
    padding: 11px;
  }

  .am-product-tile h3 {
    min-height: 54px;
    font-size: 14px;
  }

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

  .am-value div,
  .am-value div:last-child {
    border: 1px solid var(--am-line);
    margin: -1px 0 0 -1px;
  }
}
