body {
  background: #fff9f2;
}

.product-page {
  min-height: 100vh;
  overflow: hidden;
  padding-bottom: 48px;
  background: #fff9f2;
}

.product-hero {
  overflow: hidden;
}

.product-hero__inner {
  position: relative;
  min-height: 205px;
  padding: 26px 0 20px;
}

.product-hero__copy {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 36px), 327px);
  margin: 0 auto;
}

.product-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  color: #ff721b;
  background: #fff0df;
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
}

.product-hero h1 {
  margin: 14px 0 0;
  color: #171717;
  font-family: var(--font-heading);
  font-size: 27px;
  font-weight: 800;
  line-height: 1.22;
}

.product-hero h1 span {
  color: #ff6518;
}

.product-hero p {
  width: 160px;
  margin: 13px 0 0;
  color: #342d28;
  font-size: 12px;
  line-height: 1.7;
}

.product-hero__accent {
  display: block;
  width: 38px;
  height: 3px;
  margin-top: 12px;
  border-radius: 999px;
  background: #ff6f1b;
}

.product-hero__art {
  position: absolute;
  top: 2px;
  right: max(0px, calc((100% - 355px) / 2));
  width: 181px;
  height: 203px;
  object-fit: cover;
}

.product-details {
  width: min(calc(100% - 28px), 327px);
  margin: 0 auto;
  overflow: hidden;
  padding: 0 14px 4px;
  border-radius: 15px;
  background: #fefefe;
}

.product-details h2 {
  display: flex;
  height: 58px;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: #1f1f1f;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 800;
  line-height: 26px;
}

.product-details h2 img {
  width: 22px;
  height: 28px;
  object-fit: contain;
}

.product-items {
  display: grid;
}

.product-items__empty {
  margin: 0;
  padding: 36px 0;
  border-top: 1px solid #f0ebe6;
  color: #6d6259;
  font-size: 13px;
  text-align: center;
}

.product-item {
  display: grid;
  min-height: 80px;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid #f0ebe6;
}

.product-item__image {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.product-item__copy {
  min-width: 0;
}

.product-item h3 {
  margin: 0 0 4px;
  color: #211c18;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.45;
  text-wrap: balance;
}

.product-item p {
  margin: 0;
  color: #3e3732;
  font-size: 11px;
  line-height: 1.6;
}

.product-item__download {
  display: inline-flex;
  height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  border-radius: 5px;
  color: #fff;
  background: #ff721b;
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.product-item a.product-item__download:hover {
  filter: brightness(1.06);
}

.product-item a.product-item__download:focus-visible {
  outline: 2px solid #9f3f12;
  outline-offset: 3px;
}

.product-item__download[aria-disabled="true"] {
  color: #61584f;
  background: #e9e2da;
  cursor: not-allowed;
  filter: none;
  pointer-events: none;
}

.product-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 20px 0 16px;
  border-top: 1px solid #f0ebe6;
}

.product-pagination[hidden] {
  display: none;
}

.product-pagination > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}

.product-pagination button {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  padding: 0;
  border: 1px solid #e7ddd4;
  border-radius: 6px;
  color: #4b423b;
  background: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
}

.product-pagination button:hover:not(:disabled) {
  border-color: #ff721b;
  color: #b74d12;
}

.product-pagination button[aria-current="page"] {
  border-color: #ff721b;
  color: #fff;
  background: #ff721b;
}

.product-pagination button:disabled {
  cursor: not-allowed;
  opacity: 0.4;
}

.product-pagination button:focus-visible {
  outline: 2px solid #9f3f12;
  outline-offset: 2px;
}

@media (min-width: 480px) and (max-width: 559px) {
  .product-page {
    padding-bottom: 64px;
  }

  .product-hero__inner {
    display: grid;
    width: calc(100% - 40px);
    min-height: 280px;
    grid-template-columns: minmax(220px, 1fr) 210px;
    align-items: center;
    margin: 0 auto;
    padding: 42px 0;
  }

  .product-hero__copy {
    width: auto;
    margin: 0;
  }

  .product-hero h1 {
    margin-top: 16px;
    font-size: 32px;
  }

  .product-hero p {
    width: auto;
    max-width: 220px;
    font-size: 13px;
  }

  .product-hero__art {
    top: 16px;
    right: 0;
    width: 200px;
    height: auto;
  }

  .product-details {
    width: calc(100% - 40px);
    padding: 0 20px 8px;
    border-radius: 18px;
  }

  .product-details h2 {
    height: 66px;
    font-size: 20px;
  }

  .product-item {
    min-height: 120px;
    grid-template-columns: 100px minmax(0, 1fr) auto;
    gap: 14px;
  }

  .product-item__image {
    width: 100px;
    height: 100px;
  }

  .product-item p {
    font-size: 13px;
    line-height: 1.7;
  }

  .product-item h3 {
    font-size: 14px;
  }

  .product-item__download {
    height: 44px;
    padding: 0 14px;
    font-size: 12px;
  }
}

@media (min-width: 560px) {
  .product-page {
    padding-bottom: 80px;
  }

  .product-hero__inner {
    display: grid;
    width: min(calc(100% - 64px), 768px);
    min-height: 320px;
    grid-template-columns: minmax(0, 1fr) 310px;
    align-items: center;
    margin: 0 auto;
    padding: 54px 0;
  }

  .product-hero__copy {
    width: auto;
    max-width: 420px;
    margin: 0;
  }

  .product-hero__eyebrow {
    height: 26px;
    padding: 0 10px;
    font-size: 12px;
  }

  .product-hero h1 {
    margin-top: 18px;
    font-size: 44px;
  }

  .product-hero p {
    width: auto;
    max-width: 420px;
    margin-top: 16px;
    font-size: 15px;
    line-height: 1.8;
  }

  .product-hero__accent {
    width: 52px;
    margin-top: 18px;
  }

  .product-hero__art {
    top: 10px;
    right: 0;
    width: 290px;
    height: auto;
  }

  .product-details {
    width: min(calc(100% - 64px), 768px);
    padding: 0 28px 12px;
    border-radius: 20px;
  }

  .product-details h2 {
    height: 72px;
    font-size: 22px;
  }

  .product-details h2 img {
    width: 28px;
    height: 35px;
  }

  .product-item {
    min-height: 150px;
    grid-template-columns: 130px minmax(0, 1fr) auto;
    gap: 28px;
    padding: 10px 4px;
  }

  .product-item__image {
    width: 130px;
    height: 130px;
  }

  .product-item p {
    max-width: 540px;
    font-size: 15px;
    line-height: 1.8;
  }

  .product-item h3 {
    margin-bottom: 6px;
    font-size: 16px;
  }

  .product-item__download {
    height: 44px;
    padding: 0 18px;
    border-radius: 7px;
    font-size: 14px;
  }
}
