.public-products {
  position: relative;
  background: #ffffff;
  color: #14171f;
  padding: 28px 0 70px;
}

.pp-container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.pp-breadcrumb {
  display: flex;
  gap: 9px;
  align-items: center;
  flex-wrap: wrap;
  margin: 0 0 36px;
  color: #6b7280;
  font-size: 13px;
}

.pp-breadcrumb a {
  color: #374151;
  text-decoration: none;
}

.pp-breadcrumb a:hover {
  color: #000000;
}

.pp-intro {
  max-width: 980px;
  margin-bottom: 28px;
}

.pp-eyebrow {
  margin: 0 0 10px;
  color: #5f6b7a;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.pp-intro h1,
.pp-detail-info h1,
.pp-empty h1 {
  margin: 0 0 22px;
  color: #111827;
  font-size: 30px;
  line-height: 1.18;
  letter-spacing: 0;
}

.pp-intro p {
  margin: 0 0 15px;
  color: #323946;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.8;
}

.pp-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 18px 0 34px;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
  padding: 18px 0;
}

.pp-strip div {
  min-width: 0;
}

.pp-strip b {
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
}

.pp-strip span {
  color: #6b7280;
  font-size: 13px;
}

.pp-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px 28px;
  align-items: start;
}

.pp-card {
  display: grid;
  gap: 13px;
  color: #151820;
  text-align: center;
  text-decoration: none;
}

.pp-card-image {
  display: block;
  aspect-ratio: 1 / 1;
  border: 1px solid #dedede;
  background: #fafafa;
  overflow: hidden;
}

.pp-card-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform .22s ease;
}

.pp-card:hover .pp-card-image img {
  transform: scale(1.035);
}

.pp-card-title {
  display: block;
  min-height: 38px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
  text-transform: uppercase;
}

.pp-card-more {
  display: block;
  color: #777f8c;
  font-size: 14px;
}

.pp-card-price {
  display: inline-flex;
  justify-self: center;
  min-height: 32px;
  align-items: center;
  border: 1px solid #111827;
  border-radius: 6px;
  padding: 0 11px;
  color: #111827;
  font-size: 12px;
  font-weight: 800;
}

.pp-loader {
  min-height: 54px;
  display: grid;
  place-items: center;
  margin: 28px 0 0;
  color: #6b7280;
  font-size: 14px;
}

.pp-empty {
  max-width: 680px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 26px;
  background: #fafafa;
}

.pp-empty p {
  color: #4b5563;
}

.pp-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
  gap: 42px;
  align-items: start;
}

.pp-gallery {
  min-width: 0;
}

.pp-main-image {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 1 / 1;
  border: 1px solid #e0e0e0;
  background: #fafafa;
  padding: 0;
  cursor: zoom-in;
}

.pp-main-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.pp-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000000;
  display: none;
  place-items: center;
  padding: 26px;
  background: rgba(10, 12, 16, .92);
  cursor: zoom-out;
}

.pp-lightbox.is-open {
  display: grid;
}

.pp-lightbox img {
  display: block;
  max-width: min(1200px, 96vw);
  max-height: 92vh;
  object-fit: contain;
  background: #ffffff;
}

.pp-lightbox-close {
  position: fixed;
  top: 18px;
  right: 20px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 50%;
  background: rgba(0,0,0,.35);
  color: #ffffff;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

.pp-thumbs {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.pp-thumb {
  aspect-ratio: 1 / 1;
  padding: 0;
  border: 1px solid #d9dde5;
  border-radius: 6px;
  background: #ffffff;
  overflow: hidden;
  cursor: pointer;
}

.pp-thumb.is-active {
  border-color: #111827;
  box-shadow: 0 0 0 2px #111827 inset;
}

.pp-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.pp-detail-info {
  position: sticky;
  top: 88px;
}

.pp-price-locked {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  margin: 0 0 20px;
  border: 1px solid #111827;
  border-radius: 6px;
  padding: 0 14px;
  color: #111827;
  font-size: 14px;
  font-weight: 850;
}

.pp-detail-lead {
  margin: 0 0 22px;
  color: #404957;
  font-size: 15px;
  line-height: 1.75;
}

.pp-cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 0 0 24px;
}

.pp-btn {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.pp-btn-dark {
  border: 1px solid #111827;
  background: #111827;
  color: #ffffff;
}

.pp-btn-light {
  border: 1px solid #cfd5df;
  background: #ffffff;
  color: #111827;
}

.pp-meta {
  display: grid;
  gap: 0;
  margin: 0;
  border-top: 1px solid #e5e7eb;
}

.pp-meta div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 12px;
  border-bottom: 1px solid #e5e7eb;
  padding: 12px 0;
}

.pp-meta dt {
  color: #6b7280;
  font-size: 13px;
}

.pp-meta dd {
  margin: 0;
  color: #111827;
  font-size: 14px;
  font-weight: 750;
}

.pp-description {
  margin-top: 48px;
  border-top: 1px solid #e5e7eb;
  padding-top: 30px;
}

.pp-description h2 {
  margin: 0 0 18px;
  color: #111827;
  font-size: 24px;
  letter-spacing: 0;
}

.pp-description-body {
  max-width: 980px;
  color: #252b36;
  font-size: 15px;
  line-height: 1.75;
}

.pp-description-body h1,
.pp-description-body h2,
.pp-description-body h3 {
  margin: 22px 0 10px;
  color: #111827;
  letter-spacing: 0;
}

.pp-description-body p {
  margin: 0 0 14px;
}

.pp-description-body ul,
.pp-description-body ol {
  padding-left: 22px;
}

.pp-description-body img {
  max-width: 100%;
  height: auto;
}

@media (max-width: 900px) {
  .pp-grid,
  .pp-strip,
  .pp-detail {
    grid-template-columns: 1fr;
  }

  .pp-detail-info {
    position: static;
  }

  .pp-thumbs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .public-products {
    padding-top: 22px;
  }

  .pp-container {
    width: min(100% - 22px, 1180px);
  }

  .pp-intro h1,
  .pp-detail-info h1,
  .pp-empty h1 {
    font-size: 25px;
  }

  .pp-grid {
    gap: 28px;
  }

  .pp-card-title {
    min-height: 0;
  }

  .pp-main-image {
    aspect-ratio: 4 / 5;
  }

  .pp-meta div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}
