:root {
  --pr-ink: #16121f;
  --pr-plum: #665290;
  --pr-deep: #2a1f41;
  --pr-mist: #f3f0f8;
  --pr-line: rgba(102, 82, 144, 0.16);
  --pr-font: "Vazirmatn", Tahoma, sans-serif;
}

.products-page {
  font-family: var(--pr-font);
  color: var(--pr-ink);
  background: #faf8fc;
  overflow-x: hidden;
}

.pr-container {
  width: min(1120px, 90%);
  margin: 0 auto;
}

.pr-hero {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 140px 24px 80px;
}

.pr-hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.pr-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
}

.pr-hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(160deg, rgba(22, 18, 31, 0.9) 0%, rgba(42, 31, 65, 0.78) 45%, rgba(102, 82, 144, 0.55) 100%);
}

.pr-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.pr-brand {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: 0.06em;
  margin: 0 0 14px;
  color: #efe8ff;
}

.pr-hero h1 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.25;
}

.pr-hero-sub {
  margin: 0 auto 28px;
  max-width: 34em;
  line-height: 1.9;
  opacity: 0.92;
  font-size: clamp(1rem, 2vw, 1.15rem);
}

.pr-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.pr-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.pr-btn-primary {
  background: #fff;
  color: var(--pr-deep);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.pr-btn-primary:hover {
  transform: translateY(-2px);
  background: #f3edff;
}

.pr-btn-ghost {
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
}

.pr-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

.pr-section {
  padding: 88px 0;
}

.pr-section-head {
  text-align: center;
  margin-bottom: 40px;
}

.pr-section-head h2 {
  margin: 0 0 10px;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--pr-deep);
  font-weight: 800;
}

.pr-section-head p {
  margin: 0 auto;
  max-width: 34em;
  color: #5a5268;
  line-height: 1.8;
}

.pr-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.pr-grid-compact {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.pr-card {
  background: #fff;
  border: 1px solid var(--pr-line);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 14px 36px rgba(42, 31, 65, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pr-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 44px rgba(42, 31, 65, 0.12);
}

.pr-card-media {
  display: block;
  aspect-ratio: 16 / 10;
  background: linear-gradient(145deg, var(--pr-deep), var(--pr-plum));
  overflow: hidden;
}

.pr-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.pr-card:hover .pr-card-media img {
  transform: scale(1.05);
}

.pr-card-placeholder {
  width: 100%;
  height: 100%;
  min-height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 3rem;
  font-weight: 800;
}

.pr-card-body {
  padding: 22px 20px 24px;
}

.pr-card-body h3 {
  margin: 0 0 8px;
  font-size: 1.2rem;
}

.pr-card-body h3 a {
  color: var(--pr-deep);
  text-decoration: none;
}

.pr-card-tag {
  margin: 0 0 10px;
  color: var(--pr-plum);
  font-weight: 700;
  font-size: 0.95rem;
}

.pr-card-summary {
  margin: 0 0 16px;
  line-height: 1.75;
  color: #5a5268;
  font-size: 0.98rem;
}

.pr-card-link {
  color: var(--pr-plum);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(102, 82, 144, 0.35);
  padding-bottom: 2px;
}

.pr-card-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
}

.pr-card-catalog {
  color: var(--pr-deep);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  background: rgba(102, 82, 144, 0.1);
  padding: 6px 12px;
  border-radius: 999px;
}

.pr-card-catalog:hover {
  background: rgba(102, 82, 144, 0.18);
}

.pr-list-top {
  padding-top: 120px;
}

.pr-brand-inline {
  margin: 0 0 8px;
  color: var(--pr-plum);
  font-weight: 800;
  letter-spacing: 0.04em;
}

.pr-section-head h1 {
  margin: 0 0 10px;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--pr-deep);
  font-weight: 800;
}

.pr-empty {
  text-align: center;
  color: #5a5268;
}

.pr-video {
  background: var(--pr-mist);
}

.h_iframe-aparat_embed_frame {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 18px 48px rgba(42, 31, 65, 0.14);
  background: #000;
}

.h_iframe-aparat_embed_frame .ratio {
  display: block;
  width: 100%;
  padding-top: 57%;
  height: auto;
}

.h_iframe-aparat_embed_frame iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.pr-catalog {
  padding-top: 40px;
  padding-bottom: 100px;
}

.pr-catalog-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: linear-gradient(135deg, var(--pr-deep), var(--pr-plum));
  color: #fff;
  border-radius: 28px;
  padding: 36px 32px;
}

.pr-catalog-box h2 {
  margin: 0 0 10px;
  font-size: 1.5rem;
}

.pr-catalog-box p {
  margin: 0;
  line-height: 1.8;
  opacity: 0.92;
  max-width: 36em;
}

.pr-catalog-box .pr-btn-primary {
  flex-shrink: 0;
}

.pr-catalog-note {
  margin: 0;
  opacity: 0.85;
}

/* Detail */
.pr-detail-page {
  padding: 120px 0 80px;
}

.pr-detail-shell {
  display: grid;
  gap: 28px;
}

.pr-back {
  color: var(--pr-plum);
  text-decoration: none;
  font-weight: 700;
}

.pr-detail-grid {
  display: grid;
  gap: 28px;
}

@media (min-width: 860px) {
  .pr-detail-grid {
    grid-template-columns: 1.05fr 1fr;
    align-items: center;
  }
}

.pr-detail-media {
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(145deg, var(--pr-deep), var(--pr-plum));
  aspect-ratio: 16 / 11;
}

.pr-detail-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pr-detail-placeholder {
  min-height: 280px;
}

.pr-detail-copy h1 {
  margin: 0 0 10px;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--pr-deep);
}

.pr-detail-summary {
  line-height: 1.9;
  color: #5a5268;
  margin: 0 0 22px;
}

.pr-detail-section {
  background: #fff;
  border: 1px solid var(--pr-line);
  border-radius: 22px;
  padding: 28px;
}

.pr-detail-section h2 {
  margin: 0 0 14px;
  color: var(--pr-deep);
  font-size: 1.3rem;
}

.pr-detail-section > p {
  margin: 0;
  line-height: 1.95;
  color: #4a4258;
}

.pr-detail-rich {
  line-height: 1.95;
  color: #4a4258;
}

.pr-detail-rich p {
  margin: 0 0 1em;
}

.pr-detail-rich p:last-child {
  margin-bottom: 0;
}

.pr-detail-rich ul,
.pr-detail-rich ol {
  margin: 0 0 1em;
  padding-right: 1.25em;
}

.pr-detail-rich img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

.pr-detail-rich h2,
.pr-detail-rich h3 {
  color: var(--pr-deep);
  margin: 1.2em 0 0.5em;
}

.pr-features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.pr-features li {
  position: relative;
  padding-right: 22px;
  line-height: 1.7;
}

.pr-features li::before {
  content: "";
  position: absolute;
  right: 0;
  top: 0.65em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pr-plum);
}

[data-animate] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 700px) {
  .pr-hero {
    min-height: 62vh;
    padding-top: 120px;
  }

  .pr-section {
    padding: 64px 0;
  }

  .pr-catalog-box {
    padding: 28px 22px;
  }
}
