@font-face {
  font-family: "a_AvanteInt Book";
  src: local("a_AvanteInt Book"), local("AAvanteIntBook");
  font-display: swap;
}

.ma-delivery,
.ma-delivery * {
  box-sizing: border-box;
}

.ma-delivery {
  --ma-delivery-ink: #172b42;
  --ma-delivery-navy: #112b3a;
  --ma-delivery-gold: #c99b4d;
  --ma-delivery-gold-dark: #b7822f;
  --ma-delivery-line: #e1e5e8;
  position: relative;
  left: 50%;
  width: 100vw;
  max-width: none !important;
  margin: 0 0 0 -50vw !important;
  overflow-x: clip;
  overflow-y: visible;
  background: #fff;
  color: var(--ma-delivery-ink);
  font-family: "a_AvanteInt Book", "Avenir Next", Avenir, Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
}

.ma-delivery img {
  display: block;
  max-width: 100%;
  border: 0 !important;
  border-radius: 0 !important;
}

.ma-delivery a {
  color: inherit;
  text-decoration: none;
}

.ma-delivery button,
.ma-delivery input,
.ma-delivery textarea {
  font: inherit;
}

.ma-delivery__container {
  width: 100%;
  max-width: 1320px !important;
  margin-right: auto !important;
  margin-left: auto !important;
  padding-right: 24px;
  padding-left: 24px;
}

.ma-delivery__hero {
  position: relative;
  width: 100%;
  min-height: 510px;
  background: #eee url("/dostavka-i-oplata/assets/hero.png") center center / cover no-repeat;
}

.ma-delivery__hero-inner {
  position: relative;
  min-height: 510px;
}

.ma-delivery__breadcrumbs {
  display: flex;
  gap: 12px;
  margin: 0;
  padding-top: 34px;
  color: #68757c;
  font-size: 14px;
  line-height: 1.4;
}

.ma-delivery__breadcrumbs a:hover {
  color: var(--ma-delivery-gold-dark);
}

.ma-delivery__hero-copy {
  max-width: 670px;
  padding-top: 86px;
}

.ma-delivery .ma-delivery__hero h1 {
  margin: 0 !important;
  color: var(--ma-delivery-ink) !important;
  font-size: 56px !important;
  font-weight: 700 !important;
  line-height: 1.05 !important;
}

.ma-delivery__title-rule {
  display: block;
  width: 68px;
  height: 3px;
  margin: 28px 0;
  background: var(--ma-delivery-gold);
}

.ma-delivery .ma-delivery__hero-copy p {
  max-width: 620px;
  margin: 0 0 12px !important;
  color: var(--ma-delivery-ink) !important;
  font-size: 19px !important;
  line-height: 1.6 !important;
}

.ma-delivery__section {
  width: 100%;
  padding: 76px 0;
}

.ma-delivery .ma-delivery__section-title {
  margin: 0 0 42px !important;
  color: var(--ma-delivery-ink) !important;
  font-size: 38px !important;
  font-weight: 700 !important;
  line-height: 1.1 !important;
  text-align: center;
}

.ma-delivery__payment-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.ma-delivery__payment-card {
  min-height: 345px;
  padding: 36px 28px 30px;
  border: 1px solid #f0f0ef;
  background: linear-gradient(135deg, #fbfbfb, #fff);
  box-shadow: 0 12px 35px rgba(27, 37, 42, 0.045);
  text-align: center;
}

.ma-delivery__payment-card > img {
  width: 70px;
  height: 70px;
  margin: 0 auto 22px;
  object-fit: contain;
}

.ma-delivery .ma-delivery__payment-card h3 {
  margin: 0 0 7px !important;
  color: var(--ma-delivery-ink) !important;
  font-size: 22px !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
}

.ma-delivery__payment-card strong {
  display: block;
  margin-bottom: 18px;
  font-size: 16px;
}

.ma-delivery .ma-delivery__payment-card p {
  max-width: 290px;
  margin: 0 auto !important;
  color: #26394c !important;
  font-size: 15px !important;
  line-height: 1.55 !important;
}

.ma-delivery__secure-note {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(620px, 100%);
  margin: 28px auto 0;
  padding: 18px 28px;
  gap: 17px;
  background: #fbfaf8;
  box-shadow: 0 8px 24px rgba(27, 37, 42, 0.04);
}

.ma-delivery__line-icon {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  color: var(--ma-delivery-gold);
}

.ma-delivery__line-icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  stroke-width: 2;
}

.ma-delivery .ma-delivery__secure-note p,
.ma-delivery .ma-delivery__secure-note strong,
.ma-delivery .ma-delivery__secure-note span {
  display: block;
  margin: 0 !important;
}

.ma-delivery__secure-note strong {
  font-size: 18px;
}

.ma-delivery__secure-note p > span {
  color: #39454b;
  font-size: 14px;
}

.ma-delivery__delivery-section {
  width: 100%;
  background: #fafafa;
}

.ma-delivery__delivery-grid {
  display: grid;
  min-height: 520px;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  padding-right: 0;
}

.ma-delivery__delivery-copy {
  align-self: center;
  padding: 64px 54px 60px 0;
}

.ma-delivery .ma-delivery__delivery-copy h2,
.ma-delivery .ma-delivery__card-rules-copy h2,
.ma-delivery .ma-delivery__questions h2 {
  margin: 0 0 28px !important;
  color: var(--ma-delivery-ink) !important;
  font-size: 38px !important;
  font-weight: 700 !important;
  line-height: 1.12 !important;
}

.ma-delivery__check-list {
  display: grid;
  margin: 0 !important;
  padding: 0 !important;
  gap: 18px;
  list-style: none !important;
}

.ma-delivery__check-list li {
  display: grid;
  margin: 0 !important;
  padding: 0 !important;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 12px;
  color: #26394c;
  font-size: 16px;
  line-height: 1.48;
}

.ma-delivery__check-icon {
  display: block;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  color: var(--ma-delivery-gold);
}

.ma-delivery__check-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.ma-delivery__delivery-image {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.ma-delivery__card-rules-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  align-items: center;
  gap: 64px;
}

.ma-delivery .ma-delivery__card-rules-copy p {
  margin: 0 0 13px !important;
  color: #26394c !important;
  font-size: 16px !important;
  line-height: 1.55 !important;
}

.ma-delivery .ma-delivery__card-rules-copy h3 {
  margin: 24px 0 14px !important;
  color: var(--ma-delivery-ink) !important;
  font-size: 17px !important;
  font-weight: 700 !important;
}

.ma-delivery__numbered-list {
  display: grid;
  margin: 0 !important;
  padding: 0 !important;
  gap: 10px;
  list-style: none !important;
}

.ma-delivery__numbered-list li {
  display: grid;
  align-items: start;
  margin: 0 !important;
  padding: 0 !important;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 12px;
  color: #26394c;
  font-size: 15px;
  line-height: 1.45;
}

.ma-delivery__rule-number {
  display: grid;
  width: 23px;
  height: 23px;
  place-items: center;
  border: 1.5px solid var(--ma-delivery-gold);
  border-radius: 50%;
  color: var(--ma-delivery-gold-dark);
  font-size: 12px;
  font-weight: 700;
}

.ma-delivery__numbered-list small {
  font-size: inherit;
  font-weight: 400;
}

.ma-delivery__card-rules-image {
  width: 100%;
  max-height: 520px;
  object-fit: contain;
}

.ma-delivery__details {
  padding-top: 30px;
}

.ma-delivery__details-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.ma-delivery__detail-card {
  display: flex;
  min-height: 306px;
  padding: 28px 25px 24px;
  flex-direction: column;
  align-items: flex-start;
  border: 1px solid var(--ma-delivery-line);
  border-radius: 5px;
  background: #fff;
}

.ma-delivery__detail-card > img,
.ma-delivery__detail-icon {
  display: block;
  width: 58px;
  height: 58px;
  margin-bottom: 17px;
  color: var(--ma-delivery-gold);
  object-fit: contain;
}

.ma-delivery__detail-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.ma-delivery .ma-delivery__detail-card h3 {
  margin: 0 0 11px !important;
  color: var(--ma-delivery-ink) !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
}

.ma-delivery .ma-delivery__detail-card p {
  margin: 0 0 22px !important;
  color: #26394c !important;
  font-size: 15px !important;
  line-height: 1.5 !important;
}

.ma-delivery__detail-button {
  min-height: 44px;
  margin-top: auto;
  padding: 0 20px;
  border: 1px solid var(--ma-delivery-gold) !important;
  background: #fff !important;
  color: #23282b !important;
  cursor: pointer;
  font-size: 12px !important;
  font-weight: 700 !important;
  text-transform: uppercase;
}

.ma-delivery__detail-button:hover {
  background: var(--ma-delivery-gold) !important;
  color: #fff !important;
}

.ma-delivery__questions {
  width: 100%;
  padding: 26px 0 48px;
}

.ma-delivery__questions-inner {
  display: flex;
  min-height: 130px;
  align-items: center;
  justify-content: space-between;
  padding: 26px 56px;
  gap: 40px;
  border: 1px solid var(--ma-delivery-line);
  border-radius: 6px;
  background: #fff;
}

.ma-delivery .ma-delivery__questions h2 {
  margin-bottom: 5px !important;
  font-size: 32px !important;
}

.ma-delivery .ma-delivery__questions p {
  margin: 0 !important;
  color: #26394c !important;
  font-size: 16px !important;
}

.ma-delivery__questions-actions {
  display: flex;
  gap: 18px;
}

.ma-delivery__button {
  display: inline-flex !important;
  min-width: 220px;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  padding: 13px 28px !important;
  border-radius: 0 !important;
  cursor: pointer;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  text-align: center;
  text-transform: uppercase;
}

.ma-delivery__button--gold {
  border: 1px solid var(--ma-delivery-gold) !important;
  background: var(--ma-delivery-gold) !important;
  color: #fff !important;
}

.ma-delivery__button--outline {
  border: 1px solid var(--ma-delivery-gold) !important;
  background: #fff !important;
  color: var(--ma-delivery-gold-dark) !important;
}

.ma-delivery__button--gold:hover,
.ma-delivery__button--outline:hover {
  border-color: var(--ma-delivery-gold-dark) !important;
  background: var(--ma-delivery-gold-dark) !important;
  color: #fff !important;
}

.ma-delivery__modal[hidden] {
  display: none !important;
}

#ma-delivery .ma-delivery__modal:not([hidden]) {
  position: fixed !important;
  z-index: 2147483000 !important;
  inset: 0 !important;
  display: grid !important;
  width: 100% !important;
  height: 100% !important;
  padding: 20px !important;
  place-items: center !important;
}

#ma-delivery .ma-delivery__modal-backdrop {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  background: rgba(10, 24, 37, 0.72) !important;
}

#ma-delivery .ma-delivery__dialog {
  position: relative !important;
  z-index: 1 !important;
  display: block !important;
  width: min(100%, 540px) !important;
  max-width: 540px !important;
  max-height: calc(100vh - 40px) !important;
  margin: 0 !important;
  padding: 32px !important;
  overflow: auto !important;
  float: none !important;
  border: 0 !important;
  border-radius: 4px !important;
  background: #fff !important;
  box-shadow: 0 24px 80px rgba(7, 24, 39, 0.28) !important;
}

#ma-delivery .ma-delivery__dialog--wide {
  width: min(100%, 760px) !important;
  max-width: 760px !important;
}

#ma-delivery .ma-delivery__dialog h2 {
  margin: 0 40px 14px 0 !important;
  color: var(--ma-delivery-ink) !important;
  font-size: 27px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
}

#ma-delivery .ma-delivery__dialog > p,
#ma-delivery .ma-delivery__info-content p,
#ma-delivery .ma-delivery__info-content li {
  color: #26394c !important;
  font-size: 15px !important;
  line-height: 1.55 !important;
}

#ma-delivery .ma-delivery__dialog > p {
  margin: 0 0 20px !important;
}

#ma-delivery .ma-delivery__dialog-close {
  position: absolute !important;
  z-index: 2 !important;
  top: 14px !important;
  right: 16px !important;
  left: auto !important;
  display: block !important;
  width: 36px !important;
  min-width: 0 !important;
  height: 36px !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  border: 0 !important;
  background: transparent !important;
  color: var(--ma-delivery-ink) !important;
  font: 300 30px/34px Arial, sans-serif !important;
  text-align: center !important;
}

#ma-delivery .ma-delivery__form {
  position: static !important;
  display: grid !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 14px !important;
  float: none !important;
}

#ma-delivery .ma-delivery__form label {
  position: static !important;
  display: grid !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 6px !important;
  float: none !important;
}

#ma-delivery .ma-delivery__form label > span {
  display: block !important;
  margin: 0 !important;
  color: var(--ma-delivery-ink) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
}

#ma-delivery .ma-delivery__form input:not([type="hidden"]):not(.ma-delivery__honeypot),
#ma-delivery .ma-delivery__form textarea {
  position: static !important;
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 10px 12px !important;
  float: none !important;
  border: 1px solid #cbd3da !important;
  border-radius: 2px !important;
  outline: none !important;
  background: #fff !important;
  color: var(--ma-delivery-ink) !important;
  font-size: 15px !important;
}

#ma-delivery .ma-delivery__form input:not([type="hidden"]):not(.ma-delivery__honeypot) {
  height: 43px !important;
}

#ma-delivery .ma-delivery__form textarea {
  height: 105px !important;
  min-height: 105px !important;
  resize: vertical !important;
}

#ma-delivery .ma-delivery__honeypot,
#ma-delivery .ma-delivery__form input[type="hidden"] {
  display: none !important;
}

#ma-delivery .ma-delivery__form-submit {
  display: flex !important;
  width: 100% !important;
  min-width: 0 !important;
  margin-top: 4px !important;
}

#ma-delivery .ma-delivery__form small {
  display: block !important;
  margin: 0 !important;
  color: #5d676c !important;
  font-size: 12px !important;
  line-height: 1.4 !important;
}

#ma-delivery .ma-delivery__form-status {
  min-height: 20px !important;
  margin: 0 !important;
  color: #23683b !important;
  font-size: 14px !important;
  line-height: 1.4 !important;
}

#ma-delivery .ma-delivery__form-status.is-error {
  color: #a12020 !important;
}

body.ma-delivery-modal-open {
  overflow: hidden;
}

@media (max-width: 1020px) {
  .ma-delivery__payment-grid,
  .ma-delivery__details-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ma-delivery__delivery-grid,
  .ma-delivery__card-rules-grid {
    grid-template-columns: 1fr;
  }

  .ma-delivery__delivery-grid {
    padding-right: 24px;
  }

  .ma-delivery__delivery-copy {
    padding: 56px 0;
  }

  .ma-delivery__delivery-image {
    min-height: 420px;
  }

  .ma-delivery__questions-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .ma-delivery__questions-actions {
    width: 100%;
  }

  .ma-delivery__questions-actions .ma-delivery__button {
    flex: 1;
  }
}

@media (max-width: 720px) {
  .ma-delivery__container {
    padding-right: 16px;
    padding-left: 16px;
  }

  .ma-delivery__hero,
  .ma-delivery__hero-inner {
    min-height: 475px;
  }

  .ma-delivery__hero {
    background-position: 62% center;
  }

  .ma-delivery__hero-copy {
    padding-top: 78px;
  }

  .ma-delivery .ma-delivery__hero h1 {
    font-size: 42px !important;
  }

  .ma-delivery .ma-delivery__hero-copy p {
    max-width: 85%;
    font-size: 17px !important;
  }

  .ma-delivery__section {
    padding: 54px 0;
  }

  .ma-delivery .ma-delivery__section-title {
    margin-bottom: 28px !important;
    font-size: 32px !important;
  }

  .ma-delivery__payment-grid,
  .ma-delivery__details-grid {
    grid-template-columns: 1fr;
  }

  .ma-delivery__payment-card {
    min-height: 0;
    padding: 30px 23px;
  }

  .ma-delivery__delivery-grid {
    padding-right: 16px;
  }

  .ma-delivery .ma-delivery__delivery-copy h2,
  .ma-delivery .ma-delivery__card-rules-copy h2 {
    font-size: 32px !important;
  }

  .ma-delivery__delivery-image {
    min-height: 300px;
  }

  .ma-delivery__card-rules-grid {
    gap: 30px;
  }

  .ma-delivery__detail-card {
    min-height: 260px;
  }

  .ma-delivery__questions-inner {
    padding: 28px 22px;
  }

  .ma-delivery__questions-actions {
    flex-direction: column;
    gap: 12px;
  }

  .ma-delivery__questions-actions .ma-delivery__button {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 480px) {
  .ma-delivery .ma-delivery__hero h1 {
    font-size: 36px !important;
  }

  .ma-delivery .ma-delivery__hero-copy p {
    max-width: 100%;
  }

  .ma-delivery__secure-note {
    padding-right: 15px;
    padding-left: 15px;
  }

  #ma-delivery .ma-delivery__modal:not([hidden]) {
    padding: 12px !important;
  }

  #ma-delivery .ma-delivery__dialog {
    max-height: calc(100vh - 24px) !important;
    padding: 24px !important;
  }

  #ma-delivery .ma-delivery__dialog h2 {
    font-size: 23px !important;
  }
}
