@charset "UTF-8";

@page {
  margin: 0;
  size: 1470px 2113px;
}

* {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-width: 320px;
  background: #f6f2f1;
  color: #58565e;
  font-family: "Tilda Sans", Arial, Helvetica, sans-serif;
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: none;
     -moz-text-size-adjust: none;
      -ms-text-size-adjust: none;
          text-size-adjust: none;
}

body {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

a {
  color: #ef8772;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.08em;
}

p,
h1,
h2 {
  margin: 0;
}

.certificate-pdf {
  position: relative;
  container-type: inline-size;
  width: min(100vw, 1470px);
  aspect-ratio: 1470/2113;
  min-height: 100vh;
  overflow: hidden;
  border: 4px solid #ef8772;
  border-radius: 4.0816326531cqw;
  background: #fff;
}

.certificate-pdf__hero {
  position: absolute;
  top: 7.4829931973cqw;
  left: 7.4829931973cqw;
  width: 85.1700680272cqw;
  height: 51.4965986395cqw;
  border-radius: 4.3530612245cqw;
  background: #fbe4e0;
  color: #ef8772;
}

.certificate-pdf__hero-title {
  position: absolute;
  top: 4.2857142857cqw;
  left: 6.2585034014cqw;
  font-family: "Druk Wide Cyr", "Tilda Sans", sans-serif;
  font-weight: 700;
  font-size: 2.1768707483cqw;
  line-height: 1.05;
  color: #ef8772;
}

.certificate-pdf__hero-logo {
  position: absolute;
  top: 2.925170068cqw;
  right: 6.462585034cqw;
  width: 43.1972789116cqw;
}

.certificate-pdf__hero-logo svg {
  display: block;
  width: 100%;
  height: auto;
}

.certificate-pdf__hero-text {
  position: absolute;
  top: 14.4217687075cqw;
  left: 6.2585034014cqw;
  width: 40.0680272109cqw;
  font-size: 1.9047619048cqw;
  line-height: 1.3;
  color: #ef8772;
}

.certificate-pdf__hero-text p + p {
  margin-top: 0.1020408163cqw;
}

.certificate-pdf__hero-note {
  position: absolute;
  left: 6.1224489796cqw;
  bottom: 5.4421768707cqw;
  width: 35.3741496599cqw;
  font-size: 1.156462585cqw;
  line-height: 1.15;
  color: #dfa79b;
  letter-spacing: -0.01em;
}

.certificate-pdf__hero-amount {
  position: absolute;
  right: 5.9863945578cqw;
  bottom: 5.4421768707cqw;
  text-align: right;
}

.certificate-pdf__amount-label {
  margin-bottom: 0.4761904762cqw;
  font-size: 1.306122449cqw;
  line-height: 1.2;
  color: #dfa79b;
}

.certificate-pdf__amount-value {
  font-family: "Druk Wide Cyr", "Tilda Sans", sans-serif;
  font-weight: 700;
  font-size: 5.1020408163cqw;
  line-height: 0.9;
  color: #fff;
  white-space: nowrap;
}

.certificate-pdf__usage {
  position: absolute;
  top: 65.1700680272cqw;
  left: 12.925170068cqw;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 3.1292517007cqw;
  width: 74.2176870748cqw;
}

.certificate-pdf__promo {
  width: 35.5782312925cqw;
  -webkit-box-flex: 0;
      -ms-flex: 0 0 35.5782312925cqw;
          flex: 0 0 35.5782312925cqw;
  text-align: center;
}

.certificate-pdf__mini-card {
  position: relative;
  height: 21.2925170068cqw;
  overflow: hidden;
  border-radius: 1.768707483cqw;
  background: #fbe4e0;
}

.certificate-pdf__mini-title {
  position: absolute;
  top: 2.1088435374cqw;
  left: 2.7210884354cqw;
  z-index: 1;
  font-family: "Druk Wide Cyr", "Tilda Sans", sans-serif;
  font-weight: 700;
  font-size: 0.9054421769cqw;
  line-height: 1.05;
  color: #fff;
  text-align: left;
}

.certificate-pdf__mini-logo {
  position: absolute;
  left: 0.612244898cqw;
  right: 0.8163265306cqw;
  bottom: -0.6802721088cqw;
}

.certificate-pdf__mini-logo svg {
  display: block;
  width: 100%;
  height: auto;
}

.certificate-pdf__code-label {
  margin-top: 2.7210884354cqw;
  margin-bottom: 0.4761904762cqw;
  font-size: 1.0884353741cqw;
  line-height: 1.2;
}

.certificate-pdf__code {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: 25.3741496599cqw;
  min-height: 5.306122449cqw;
  border: 2px dashed #ef8772;
  border-radius: calc(0.6802721088ю4px * 1cqw / 1px);
  font-family: "Helvetica", "Tilda Sans", sans-serif;
  font-weight: 700;
  font-size: 1.768707483cqw;
  line-height: 0.5;
  color: #ef8772;
}

.certificate-pdf__terms {
  -webkit-box-flex: 1;
      -ms-flex: 1 1 auto;
          flex: 1 1 auto;
  margin-top: -0.0680272109cqw;
}

.certificate-pdf__terms h1 {
  margin-bottom: 2.1088435374cqw;
  font-family: "Druk Wide Cyr", "Tilda Sans", sans-serif;
  font-weight: 700;
  font-size: 2.0544217687cqw;
  line-height: 0.95;
  color: #000;
}

.certificate-pdf__terms p {
  max-width: 34.0136054422cqw;
  font-size: 1.2244897959cqw;
  line-height: 1.3;
  letter-spacing: -0.01em;
  letter-spacing: 0;
  font-weight: 500;
  color: #58565e;
}

.certificate-pdf__terms p + p {
  margin-top: 1.5646258503cqw;
}

.certificate-pdf__terms .certificate-pdf__notice {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  gap: 0.8163265306cqw;
  font-weight: 700;
  padding-top: 0.8163265306cqw;
  font-size: 1.074829932cqw;
  line-height: 1.3;
}

.certificate-pdf__notice-icon {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-flex: 0;
      -ms-flex: 0 0 1.1cqw;
          flex: 0 0 1.1cqw;
  width: 1.1cqw;
  height: 1.1cqw;
  margin-top: 0.3401360544cqw;
  margin-left: 0.2721088435cqw;
  border-radius: 50%;
  background: #ef8772;
  font-size: 0.612244898cqw;
  line-height: 1;
  color: #fff;
}

.certificate-pdf__return {
  position: absolute;
  left: 7.4829931973cqw;
  right: 7.4829931973cqw;
  bottom: 5.4421768707cqw;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  gap: 4.0136054422cqw;
  padding-top: 5.4421768707cqw;
  border-top: 1px solid #d9d9d9;
}

.certificate-pdf__return-text {
  width: 61.768707483cqw;
}

.certificate-pdf__return-text h2 {
  margin-bottom: 2.1088435374cqw;
  font-family: "Druk Wide Cyr", "Tilda Sans", sans-serif;
  font-weight: 700;
  font-size: 2.0408163265cqw;
  line-height: 1.05;
  color: #000;
}

.certificate-pdf__return-text p {
  font-size: 1.2244897959cqw;
  line-height: 1.36;
  letter-spacing: 0;
  letter-spacing: -0.01em;
}

.certificate-pdf__return-text p + p {
  margin-top: 1.3605442177cqw;
}

.certificate-pdf__qr {
  -webkit-box-flex: 0;
      -ms-flex: 0 0 15.9183673469cqw;
          flex: 0 0 15.9183673469cqw;
  width: 15.9183673469cqw;
  margin-top: 1.6326530612cqw;
  position: relative;
  top: -2.7210884354cqw;
  left: 0.3401360544cqw;
}

.certificate-pdf__qr svg {
  display: block;
  width: 100%;
  height: auto;
}

@media print {
  .certificate-pdf {
    width: 1470px;
    min-height: auto;
  }
}