.products-beta-page,
.product-beta-detail {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 90px;
}

.pb-panel {
  border: 1px solid rgba(255, 255, 255, .08);
  background: linear-gradient(180deg, #111c28, #0b141d);
  border-radius: 10px;
  box-shadow: 0 18px 54px rgba(0, 0, 0, .24);
}

.pb-eyebrow,
.pb-products-head span {
  display: inline-flex;
  color: #ff7a32;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.pb-products-head {
  min-height: 230px;
  padding: 38px 42px;
  border: 1px solid rgba(255, 122, 50, .18);
  border-radius: 10px;
  background:
    linear-gradient(90deg, rgba(5, 12, 18, .96), rgba(5, 12, 18, .72)),
    radial-gradient(circle at 76% 20%, rgba(32, 212, 123, .12), transparent 38%),
    #090f16;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.pb-products-head h1 {
  max-width: 760px;
  margin: 10px 0;
  color: #fff;
  font-size: clamp(34px, 5vw, 64px);
  line-height: .98;
}

.pb-products-head p,
.pb-products-summary p,
.pb-product-card__body p,
.pb-last-check {
  color: #9eb5cf;
  line-height: 1.45;
}

.pb-products-summary {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin: 28px 0 14px;
}

.pb-products-summary h2 {
  color: #fff;
  margin: 0 0 4px;
}

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

.pb-product-card {
  overflow: hidden;
  border: 1px solid rgba(255, 122, 50, .18);
  border-radius: 10px;
  background: #101a25;
  text-decoration: none;
}

.pb-product-card__media {
  display: block;
  height: 210px;
  background: #edf2f6;
}

.pb-product-card__media img,
.pb-main-image img,
.pb-thumbs img,
.pb-about-image img,
.pb-related-card__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.pb-product-card__body {
  padding: 18px;
}

.pb-product-card h2 {
  margin: 7px 0 6px;
  color: #fff;
  font-size: 22px;
  line-height: 1.08;
}

.pb-product-card__price {
  display: flex;
  align-items: baseline;
  gap: 9px;
  flex-wrap: wrap;
  margin: 14px 0 7px;
}

.pb-product-card__price strong {
  color: #20d47b;
  font-size: 30px;
  line-height: 1;
}

.pb-product-card__price span {
  color: #7f8da0;
  text-decoration: line-through;
  font-weight: 800;
}

.pb-product-card__price em {
  color: #ff7a32;
  font-style: normal;
  font-weight: 900;
}

.pb-product-card__meta {
  display: grid;
  gap: 4px;
  color: #9eb5cf;
  font-size: 13px;
}

.pb-product-card__meta strong {
  color: #20d47b;
}

.pb-button,
.pb-offer-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 7px;
  background: #ff7a32;
  color: #111;
  font-weight: 900;
  text-decoration: none;
}

.pb-button {
  margin-top: 16px;
}

.pb-a4-grid {
  display: grid;
  grid-template-columns: minmax(250px, .75fr) minmax(420px, 1.15fr) minmax(320px, .9fr);
  gap: 18px;
  align-items: start;
}

.pb-product-summary,
.pb-offer-panel,
.pb-gallery-panel,
.pb-history-panel,
.pb-about-panel,
.pb-detail-grid .pb-panel,
.pb-related-panel {
  padding: 22px;
}

.pb-product-summary h1 {
  margin: 14px 0 22px;
  color: #fff;
  font-size: clamp(30px, 3.8vw, 48px);
  line-height: .96;
}

.pb-product-summary p {
  color: #9eb5cf;
  line-height: 1.45;
}

.pb-main-price-card {
  position: relative;
  margin-top: 30px;
  padding: 22px 18px 16px;
  border: 1px solid rgba(255, 122, 50, .18);
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(255, 122, 50, .13), rgba(255, 255, 255, .03));
}

.pb-main-price-card small {
  color: #9eb5cf;
  font-weight: 900;
  text-transform: uppercase;
}

.pb-main-price-card strong {
  display: block;
  color: #20d47b;
  font-size: 46px;
  line-height: 1;
  margin-top: 6px;
}

.pb-main-price-card p {
  margin: 7px 0 0;
  color: #d6e5f4;
  font-weight: 800;
}

.pb-discount-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 7px 9px;
  border-radius: 999px;
  background: #ff7a32;
  color: #111;
  font-weight: 900;
  font-size: 13px;
}

.pb-offer-panel h2,
.pb-about-panel h2,
.pb-detail-grid h2,
.pb-related-panel h2 {
  margin: 8px 0 16px;
  color: #fff;
  font-size: 26px;
  line-height: 1.08;
}

.pb-offer-list {
  display: grid;
}

.pb-offer-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(126px, auto) auto;
  gap: 16px;
  align-items: center;
  padding: 15px 0;
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.pb-offer-row:first-child {
  border-top: 0;
}

.pb-offer-row.is-best {
  margin: 0 -10px;
  padding: 15px 10px;
  border-left: 4px solid #ff7a32;
  background: linear-gradient(90deg, rgba(255, 122, 50, .16), transparent 72%);
}

.pb-offer-row strong {
  color: #fff;
  font-size: 20px;
}

.pb-offer-row small {
  display: block;
  margin-top: 3px;
  color: #8fa8c3;
  font-weight: 800;
}

.pb-offer-price {
  text-align: right;
  display: grid;
  gap: 2px;
}

.pb-offer-price span {
  color: #ff7a32;
  font-weight: 900;
}

.pb-offer-price span.is-muted {
  color: #7f8da0;
}

.pb-offer-price b {
  color: #fff;
  font-size: 25px;
  line-height: 1;
}

.pb-offer-price small {
  color: #20d47b;
}

.pb-product-side {
  display: grid;
  gap: 18px;
}

.pb-gallery-panel {
  display: grid;
  gap: 12px;
}

.pb-main-image {
  height: 300px;
  border-radius: 9px;
  overflow: hidden;
  background: #edf2f6;
}

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

.pb-thumbs img {
  height: 82px;
  border-radius: 7px;
  background: #edf2f6;
}

.pb-history-panel {
  min-height: 160px;
}

.pb-history-line {
  height: 96px;
  margin-top: 22px;
  border-radius: 8px;
  background: linear-gradient(170deg, transparent 47%, rgba(32, 212, 123, .95) 48%, rgba(32, 212, 123, .95) 51%, transparent 52%), linear-gradient(180deg, rgba(32, 212, 123, .14), transparent);
  opacity: .74;
}

.pb-about-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, .9fr);
  gap: 24px;
  margin-top: 18px;
  align-items: center;
}

.pb-about-panel ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  color: #d8e8f8;
  font-weight: 800;
}

.pb-about-panel li::before {
  content: "\2713";
  color: #20d47b;
  margin-right: 8px;
}

.pb-about-image {
  min-height: 230px;
  border-radius: 9px;
  overflow: hidden;
  background: #edf2f6;
}

.pb-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.pb-detail-grid dl {
  display: grid;
  gap: 13px;
  margin: 0;
}

.pb-detail-grid dl div {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 12px;
}

.pb-detail-grid dt {
  color: #8fa8c3;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.pb-detail-grid dd {
  margin: 0;
  color: #fff;
  font-weight: 900;
}

.pb-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pb-chip-list span {
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  color: #d8e8f8;
  font-weight: 900;
}

.pb-related-panel {
  margin-top: 18px;
}

.pb-related-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.pb-related-card {
  overflow: hidden;
  border-radius: 8px;
  background: rgba(255, 255, 255, .04);
}

.pb-related-card__media {
  height: 145px;
  background: #edf2f6;
}

.pb-related-card > div:last-child {
  padding: 12px;
  display: grid;
  gap: 5px;
}

.pb-related-card strong {
  color: #fff;
}

.pb-related-card span {
  color: #20d47b;
  font-weight: 900;
}

.pb-last-check {
  margin: 18px 0 0;
  font-size: 13px;
}

.pb-empty {
  color: #9eb5cf;
}

@media (max-width: 980px) {
  .pb-products-grid,
  .pb-a4-grid,
  .pb-about-panel,
  .pb-detail-grid {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 720px) {
  .products-beta-page,
  .product-beta-detail {
    width: min(100% - 20px, 1180px);
    margin-bottom: 60px;
  }

  .pb-products-head {
    min-height: 190px;
    padding: 24px;
  }

  .pb-products-head h1 {
    font-size: 36px;
  }

  .pb-products-summary {
    display: block;
  }

  .pb-product-side,
  .pb-related-grid {
    grid-template-columns: 1fr;
  }

  .pb-product-summary,
  .pb-offer-panel,
  .pb-gallery-panel,
  .pb-history-panel,
  .pb-about-panel,
  .pb-detail-grid .pb-panel,
  .pb-related-panel {
    padding: 16px;
  }

  .pb-main-price-card strong {
    font-size: 38px;
  }

  .pb-offer-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .pb-offer-price {
    text-align: left;
  }

  .pb-offer-row a {
    width: 100%;
  }

  .pb-main-image {
    height: 260px;
  }

  .pb-thumbs img {
    height: 74px;
  }

  .pb-detail-grid dl div {
    grid-template-columns: 1fr;
    gap: 3px;
  }
}
