/* sertifikat: компоненты страницы (разделено из reviews.css) */

/* ===== sertifikat: подарочный сертификат ===== */
/* ---------- подарочный сертификат ---------- */

.rv-cert {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  max-width: 980px;
  margin: 0 auto;
  padding: 30px;
  background: #fff;
  border: 1px solid var(--rv-line);
  border-radius: var(--radius-6);
  box-shadow: var(--shadow-sm);
}

.rv-cert__image {
  flex: none;
  width: 300px;
  background: var(--color-surface-soft);
  border-radius: var(--radius-3);
  overflow: hidden;
}

.rv-cert__image img { display: block; width: 100%; height: auto; }

.rv-cert__rules {
  margin: 0;
  padding: 0 0 0 0;
  list-style: none;
  counter-reset: rv-cert;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.rv-cert__rules li {
  position: relative;
  padding-left: 40px;
  font-size: var(--fs-15);
  line-height: 1.6;
  color: var(--color-text);
  counter-increment: rv-cert;
}

.rv-cert__rules li::before {
  content: counter(rv-cert);
  position: absolute;
  left: 0;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-surface-alt);
  color: var(--rv-blue);
  font-size: var(--fs-13);
  font-weight: 700;
}

@media (max-width: 760px) {
  .rv-cert { flex-direction: column; padding: 20px; }
  .rv-cert__image { width: 100%; max-width: 320px; margin: 0 auto; }
}
