/* Страница «Купить QR-код» */

.prices-page {
  --prices-bg: #f5f7f3;
  --prices-bg-muted: #e9efe7;
  --prices-ink: #17261d;
  --prices-green: #243f2c;
  --prices-gold: #b88a2f;
  --prices-border: #dbe4d8;
  color: var(--app-text);
  background: var(--prices-bg);
}

.prices-page.public-page {
  padding: 0;
}

.prices-main {
  padding-top: 0;
  padding-bottom: 0;
  background: var(--prices-bg);
}

.prices-hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, #f8faf7 0%, var(--prices-bg) 100%);
}

.prices-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.74fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding-top: clamp(3rem, 6vw, 5rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.prices-hero__content {
  width: 100%;
  max-width: 720px;
}

.prices-hero .public-eyebrow {
  color: var(--prices-gold);
}

.prices-hero__title {
  margin: 0;
  color: var(--prices-green);
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: clamp(2.4rem, 4.6vw, 4.4rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: 0;
}

.prices-hero__lead {
  max-width: 680px;
  margin: 1.25rem 0 0;
  color: var(--app-muted);
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  line-height: 1.7;
}

.prices-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  align-items: center;
  margin-top: 1.6rem;
}

.prices-secondary-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0.62rem 1.15rem;
  border: 1px solid var(--prices-border);
  border-radius: 999px;
  background: #fff;
  color: var(--prices-green);
  font-weight: 700;
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.prices-secondary-link:hover {
  border-color: var(--prices-gold);
  color: var(--prices-green);
  box-shadow: 0 10px 26px rgba(24, 36, 51, 0.08);
}

.prices-hero__media {
  overflow: hidden;
  align-self: stretch;
  min-height: 420px;
  margin: 0;
  border: 1px solid var(--prices-border);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 22px 54px rgba(24, 36, 51, 0.12);
}

.prices-hero__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.prices-hero__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 2rem;
}

.prices-hero__facts div {
  min-width: 0;
  padding: 1rem;
  border: 1px solid var(--prices-border);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(24, 36, 51, 0.05);
}

.prices-hero__facts strong,
.prices-hero__facts span {
  display: block;
}

.prices-hero__facts strong {
  color: var(--prices-green);
  font-size: 1rem;
  line-height: 1.25;
}

.prices-hero__facts span {
  margin-top: 0.25rem;
  color: var(--app-muted);
  font-size: 0.92rem;
  line-height: 1.35;
}

.prices-section {
  padding: clamp(3.5rem, 7vw, 6rem) 0;
  background: var(--prices-bg);
}

.prices-section--compact {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
}

.prices-section--muted {
  background: var(--prices-bg-muted);
}

.prices-product,
.prices-order {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.prices-product__showcase {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(140px, 0.38fr);
  gap: 1rem;
  align-items: stretch;
}

.prices-product__photo {
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--prices-border);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(24, 36, 51, 0.12);
}

.prices-product__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.prices-product__photo--main {
  grid-row: span 2;
  min-height: 520px;
}

.prices-product__photo--small {
  min-height: 250px;
}

.prices-product__content,
.prices-order__content {
  width: 100%;
  max-width: 640px;
}

.prices-section-intro {
  margin-top: 0.9rem;
  margin-bottom: 0;
}

.prices-specs {
  display: grid;
  gap: 0;
  margin: 1.6rem 0 0;
  border-top: 1px solid var(--prices-border);
}

.prices-specs div {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 1rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--prices-border);
}

.prices-specs dt {
  color: var(--app-muted);
  font-weight: 600;
}

.prices-specs dd {
  margin: 0;
  color: var(--app-text);
  font-weight: 700;
}

.prices-check-list {
  display: grid;
  gap: 0.7rem;
  margin: 1.5rem 0 0;
  padding: 0;
  color: var(--app-muted);
  list-style: none;
}

.prices-check-list li {
  position: relative;
  padding-left: 1.45rem;
  line-height: 1.6;
}

.prices-check-list li::before {
  content: "";
  position: absolute;
  top: 0.7em;
  left: 0;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--prices-green);
}

.prices-heading {
  max-width: 820px;
  margin-bottom: 2rem;
}

.prices-heading .public-text {
  max-width: 760px;
  margin-top: 1rem;
}

.prices-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.prices-card,
.prices-marketplace-card {
  min-width: 0;
  padding: 1.35rem;
  border: 1px solid var(--prices-border);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(24, 36, 51, 0.06);
}

.prices-card .public-text {
  margin-bottom: 0;
}

.prices-installation {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.prices-installation__content {
  max-width: 520px;
}

.prices-installation__content .public-text {
  margin-top: 0.95rem;
}

.prices-installation__grid {
  display: grid;
  gap: 1rem;
}

.prices-installation__grid .prices-card {
  padding: 1.15rem;
}

.prices-installation__grid .public-card-title {
  margin-bottom: 0.55rem;
  font-size: 1.18rem;
}

.prices-faq {
  display: grid;
  gap: 0.85rem;
}

.prices-faq__item {
  padding: 1.1rem 1.25rem;
  border: 1px solid var(--prices-border);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(24, 36, 51, 0.05);
}

.prices-faq__item h3 {
  margin: 0;
  color: var(--prices-green);
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: 1.28rem;
  font-weight: 700;
  line-height: 1.15;
}

.prices-faq__item p {
  margin: 0.75rem 0 0;
  color: var(--app-muted);
  line-height: 1.65;
}

.prices-order {
  align-items: stretch;
}

.prices-marketplace-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  text-align: center;
}

.prices-product-card__logo {
  display: inline-flex;
  width: min(100%, 260px);
  min-height: 110px;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  border: 1px solid var(--prices-border);
  border-radius: 8px;
  background: #fff;
}

.prices-product-card__logo img {
  display: block;
  width: 100%;
  max-width: 190px;
  height: auto;
  object-fit: contain;
}

.prices-marketplace-card .btn {
  width: min(100%, 340px);
  justify-content: center;
}

@media (max-width: 992px) {
  .prices-hero__inner {
    grid-template-columns: 1fr;
  }

  .prices-product,
  .prices-order,
  .prices-installation {
    grid-template-columns: 1fr;
  }

  .prices-hero__content,
  .prices-product__content,
  .prices-order__content,
  .prices-installation__content {
    max-width: none;
  }

  .prices-product__showcase {
    grid-template-columns: minmax(0, 1fr) minmax(120px, 0.32fr);
  }

  .prices-benefits {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .prices-hero__inner {
    padding-top: 2.75rem;
    padding-bottom: 2.75rem;
  }

  .prices-hero__media {
    min-height: 0;
    aspect-ratio: 16 / 11;
  }

  .prices-hero__facts,
  .prices-product__showcase {
    grid-template-columns: 1fr;
  }

  .prices-hero__actions {
    align-items: stretch;
  }

  .prices-hero__actions .btn,
  .prices-secondary-link {
    width: 100%;
  }

  .prices-product__photo--main,
  .prices-product__photo--small {
    grid-row: auto;
    min-height: 0;
  }

  .prices-product__photo img {
    aspect-ratio: 16 / 11;
  }

  .prices-specs div {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }

  .prices-marketplace-card .btn {
    width: 100%;
  }

  .prices-faq__item {
    padding: 1rem;
  }
}
