@charset "UTF-8";

/* Единая фирменная палитра DOOGEES.RU */
:root {
  --dg-blue: #206ca6;
  --dg-blue-dark: #174f79;
  --dg-blue-medium: #376f9f;
  --dg-blue-deep: #234e73;
  --dg-navy: #102b40;
  --dg-ink: #203244;
  --dg-heading: #333333;
  --dg-title: var(--dg-heading);
  --dg-text: #555555;
  --dg-muted: #6f7d88;
  --dg-light: #f4f8fb;
  --dg-bg: #f6f8fa;
  --dg-border: #dfe8ef;
  --dg-blue-light: #edf6fc;
  --dg-blue-border: #cfe3f2;
  --dg-icon-bg: #e9f3fa;
  --dg-eyebrow: #8fd2ff;
  --dg-muted-strong: #526575;
  --dg-white: #ffffff;
  --dg-hero-background:
    radial-gradient(circle at 86% 18%, rgba(80, 175, 232, 0.28), transparent 30%),
    linear-gradient(135deg, var(--dg-navy) 0%, var(--dg-blue-dark) 52%, var(--dg-blue) 100%);
}

.dg-about,
.dg-order,
.dg-reviews,
.dg-warranty,
.dg-contacts,
.dg-payment {
  color: var(--dg-text);
  font-family: "Open Sans", Helvetica, Arial, sans-serif;
  line-height: 1.65;
}

.dg-about,
.dg-order,
.dg-reviews,
.dg-warranty {
  font-size: 16px;
}

.dg-contacts,
.dg-payment {
  font-size: 15px;
}

.dg-about *,
.dg-about *::before,
.dg-about *::after,
.dg-order *,
.dg-order *::before,
.dg-order *::after,
.dg-reviews *,
.dg-reviews *::before,
.dg-reviews *::after,
.dg-warranty *,
.dg-warranty *::before,
.dg-warranty *::after,
.dg-contacts *,
.dg-contacts *::before,
.dg-contacts *::after,
.dg-payment *,
.dg-payment *::before,
.dg-payment *::after {
  box-sizing: border-box;
}

/* Единый заголовок информационных страниц в шаблоне Webasyst */
@supports selector(.page-content:has(.dg-about)) {
  .page-content:has(.dg-about) > h1,
  .page-content:has(.dg-order) > h1,
  .page-content:has(.dg-reviews) > h1,
  .page-content:has(.dg-warranty) > h1,
  .page-content:has(.dg-contacts) > h1,
  .page-content:has(.dg-payment) > h1 {
    margin-bottom: 24px;
    color: var(--dg-heading);
    font-size: clamp(28px, 3vw, 38px);
    line-height: 1.2;
  }
}

/* Заголовки и описания серий */
.dg-series-intro {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  margin: 28px 0 18px;
  padding: 20px 24px;
  border: 1px solid #e5ecf3;
  border-radius: 16px;
  background:
    radial-gradient(
      ellipse at right top,
      rgba(55, 111, 159, 0.08),
      transparent 65%
    ),
    #fff;
  box-shadow:
    0 3px 6px rgba(29, 44, 58, 0.025),
    0 10px 24px rgba(29, 60, 88, 0.045);
  font-family: inherit;
  text-align: left;
}

.dg-series-intro .dg-series-intro__title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 8px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--dg-ink);
  font-family: inherit;
  font-size: 23px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: normal;
  text-transform: none;
}

.dg-series-intro .dg-series-intro__title::before {
  content: "";
  display: block;
  flex: 0 0 5px;
  width: 5px;
  height: 20px;
  border-radius: 4px;
  background: linear-gradient(180deg, #669ac5, var(--dg-blue-medium));
  box-shadow: 0 2px 5px rgba(55, 111, 159, 0.15);
}

.dg-series-intro .dg-series-intro__text {
  max-width: 900px;
  margin: 0;
  padding: 0;
  color: var(--dg-muted-strong);
  font-family: inherit;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.55;
  overflow-wrap: break-word;
}

@media (max-width: 600px) {
  .dg-series-intro {
    margin: 22px 0 14px;
    padding: 14px 16px;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(29, 60, 88, 0.05);
  }

  .dg-series-intro .dg-series-intro__title {
    gap: 9px;
    margin-bottom: 6px;
    font-size: 20px;
  }

  .dg-series-intro .dg-series-intro__title::before {
    height: 18px;
  }
}

/* Информация о покупке: четыре компактные карточки */
.dg-services {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  box-sizing: border-box;
  margin: 20px 0 26px;
  padding: 10px;
  border: 0;
  border-radius: 20px;
  background: #f2f5f8;
  font-family: inherit;
}

.dg-services .dg-services__item {
  display: flex;
  align-items: center;
  gap: 12px;
  box-sizing: border-box;
  min-width: 0;
  padding: 18px 14px;
  border: 1px solid #e8edf2;
  border-radius: 13px;
  background: #fff;
  color: var(--dg-blue-medium);
  text-decoration: none;
  box-shadow: 0 2px 5px rgba(29, 44, 58, 0.025);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.dg-services .dg-services__icon {
  display: block;
  flex: 0 0 42px;
  box-sizing: border-box;
  width: 42px;
  height: 42px;
  padding: 9px;
  border-radius: 12px;
  background: #edf4fa;
  color: var(--dg-blue-medium);
}

.dg-services .dg-services__body {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
}

.dg-services .dg-services__title {
  display: block;
  margin: 0;
  color: var(--dg-ink);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
}

.dg-services .dg-services__text {
  display: block;
  margin-top: 5px;
  color: #586b7b;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.45;
}

.dg-services .dg-services__arrow {
  display: block;
  flex: 0 0 auto;
  color: #73899c;
  font-size: 22px;
  line-height: 1;
  transition: transform 180ms ease;
}

.dg-services .dg-services__item:focus-visible {
  outline: 2px solid var(--dg-blue-medium);
  outline-offset: 3px;
  border-color: var(--dg-blue-medium);
}

@media (hover: hover) and (pointer: fine) {
  .dg-services .dg-services__item:hover {
    transform: translateY(-2px);
    border-color: #bdcfdf;
    box-shadow: 0 6px 16px rgba(29, 60, 88, 0.08);
  }

  .dg-services .dg-services__item:hover .dg-services__arrow {
    transform: translateX(2px);
  }
}

@media (max-width: 1100px) {
  .dg-services {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .dg-services {
    gap: 8px;
    margin: 14px 0 20px;
    padding: 8px;
    border-radius: 16px;
  }

  .dg-services .dg-services__item {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 12px;
    border-radius: 11px;
  }

  .dg-services .dg-services__icon {
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    padding: 7px;
    border-radius: 10px;
  }

  .dg-services .dg-services__body {
    flex: 1 1 auto;
    width: 100%;
  }

  .dg-services .dg-services__title {
    font-size: 14px;
  }

  .dg-services .dg-services__text {
    margin-top: 4px;
    font-size: 13px;
    line-height: 1.4;
  }

  .dg-services .dg-services__arrow {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dg-services .dg-services__item,
  .dg-services .dg-services__arrow {
    transition: none;
    transform: none;
  }
}

/* Баннер помощи с выбором */
.dg-help {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  box-sizing: border-box;
  margin: 32px 0;
  padding: 32px 36px;
  overflow: hidden;
  border: 1px solid #386e9b;
  border-radius: 20px;
  background: linear-gradient(115deg, #193c5c, var(--dg-blue-medium));
  box-shadow: 0 12px 28px rgba(25, 60, 92, 0.14);
  color: #fff;
  font-family: inherit;
}

.dg-help::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -110px;
  right: -60px;
  width: 350px;
  height: 350px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  box-shadow: 0 0 0 45px rgba(255, 255, 255, 0.035);
  pointer-events: none;
}

.dg-help__content {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 660px;
}

.dg-help .dg-help__eyebrow {
  display: block;
  margin-bottom: 10px;
  color: #c7e1f5;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.dg-help .dg-help__title {
  margin: 0 0 10px;
  padding: 0;
  border: 0;
  background: none;
  color: #fff;
  font-family: inherit;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: none;
}

.dg-help .dg-help__text {
  margin: 0;
  padding: 0;
  color: #e0ebf5;
  font-size: 15px;
  line-height: 1.6;
}

.dg-help__action {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.dg-help .dg-help__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-sizing: border-box;
  min-height: 50px;
  padding: 14px 24px;
  border: 1px solid #fff;
  border-radius: 12px;
  background: #fff;
  color: var(--dg-blue-deep);
  box-shadow: 0 4px 12px rgba(10, 30, 48, 0.12);
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.dg-help__button svg {
  flex: 0 0 20px;
}

.dg-help .dg-help__note {
  color: #e0ebf5;
  font-size: 12px;
  line-height: 1.4;
  text-align: center;
}

.dg-help .dg-help__button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}

@media (hover: hover) and (pointer: fine) {
  .dg-help .dg-help__button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(10, 30, 48, 0.2);
  }
}

@media (max-width: 767px) {
  .dg-help {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    margin: 24px 0;
    padding: 24px 20px;
    border-radius: 16px;
  }

  .dg-help .dg-help__title {
    font-size: 24px;
  }

  .dg-help__action,
  .dg-help .dg-help__button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dg-help .dg-help__button {
    transition: none;
    transform: none;
  }
}

/* Выбор серии с фотографиями */
.dg-series-nav {
  margin: 24px 0 30px;
  font-family: inherit;
}

.dg-series-nav .dg-series-nav__heading {
  margin: 0 0 5px;
  color: var(--dg-ink);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
}

.dg-series-nav .dg-series-nav__intro {
  margin: 0 0 18px;
  padding: 0;
  color: var(--dg-muted-strong);
  font-size: 15px;
  line-height: 1.5;
}

.dg-series-nav__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.dg-series-nav .dg-series-nav__card {
  --dg-card-tint: #edf4fb;

  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-width: 0;
  box-sizing: border-box;
  padding: 20px 18px 14px;
  overflow: hidden;
  border: 1px solid #e2e9f0;
  border-radius: 18px;
  background: linear-gradient(155deg, #fff, var(--dg-card-tint));
  color: var(--dg-ink);
  text-decoration: none;
  box-shadow: 0 5px 16px rgba(29, 60, 88, 0.045);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.dg-series-nav .dg-series-nav__card:nth-child(2) {
  --dg-card-tint: #eef1f5;
}

.dg-series-nav .dg-series-nav__card:nth-child(3) {
  --dg-card-tint: #edf5f6;
}

.dg-series-nav .dg-series-nav__card:nth-child(4) {
  --dg-card-tint: #faf2e9;
}

.dg-series-nav__copy {
  display: block;
  min-height: 72px;
}

.dg-series-nav .dg-series-nav__name {
  display: block;
  color: var(--dg-ink);
  font-size: 23px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.dg-series-nav .dg-series-nav__hint {
  display: block;
  max-width: 210px;
  margin-top: 7px;
  color: var(--dg-muted-strong);
  font-size: 13px;
  line-height: 1.45;
}

.dg-series-nav .dg-series-nav__image {
  display: block;
  align-self: center;
  width: 100%;
  max-width: 240px;
  height: 170px;
  margin: 12px 0;
  border: 0;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform 220ms ease;
}

.dg-series-nav .dg-series-nav__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid rgba(55, 111, 159, 0.12);
  color: #2c608b;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}

.dg-series-nav .dg-series-nav__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff;
  color: var(--dg-blue-medium);
  font-size: 19px;
  line-height: 1;
}

.dg-series-nav .dg-series-nav__card:focus-visible {
  outline: 2px solid var(--dg-blue-medium);
  outline-offset: 3px;
}

.dg-series-intro[id] {
  scroll-margin-top: 24px;
}

.dg-series-intro:target {
  border-color: #8eb2d0;
  box-shadow: 0 4px 18px rgba(55, 111, 159, 0.12);
}

@media (hover: hover) and (pointer: fine) {
  .dg-series-nav .dg-series-nav__card:hover {
    transform: translateY(-3px);
    border-color: #abc6db;
    box-shadow: 0 12px 24px rgba(29, 60, 88, 0.1);
  }

  .dg-series-nav .dg-series-nav__card:hover .dg-series-nav__image {
    transform: translateY(-3px) scale(1.035);
  }
}

@media (max-width: 900px) {
  .dg-series-nav__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 479px) {
  .dg-series-nav {
    margin: 20px 0 24px;
  }

  .dg-series-nav .dg-series-nav__heading {
    font-size: 21px;
  }

  .dg-series-nav__grid {
    gap: 10px;
  }

  .dg-series-nav .dg-series-nav__card {
    padding: 14px 12px 10px;
    border-radius: 14px;
  }

  .dg-series-nav__copy {
    min-height: 78px;
  }

  .dg-series-nav .dg-series-nav__name {
    font-size: 20px;
  }

  .dg-series-nav .dg-series-nav__hint {
    margin-top: 6px;
    font-size: 12px;
  }

  .dg-series-nav .dg-series-nav__image {
    height: 112px;
    margin: 8px 0;
  }

  .dg-series-nav .dg-series-nav__bottom {
    gap: 4px;
    font-size: 12px;
  }

  .dg-series-nav .dg-series-nav__arrow {
    flex-basis: 24px;
    width: 24px;
    height: 24px;
    font-size: 17px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dg-series-nav .dg-series-nav__card,
  .dg-series-nav .dg-series-nav__image {
    transition: none;
  }

  .dg-series-nav .dg-series-nav__card:hover,
  .dg-series-nav .dg-series-nav__card:hover .dg-series-nav__image {
    transform: none;
  }
}

/* Вопросы перед покупкой */
.dg-faq {
  margin: 36px 0;
  font-family: inherit;
}

.dg-faq .dg-faq__header {
  position: relative;
  box-sizing: border-box;
  margin-bottom: 16px;
  padding: 26px 28px;
  overflow: hidden;
  border: 1px solid #dce7f0;
  border-radius: 16px;
  background: linear-gradient(115deg, #edf4fb, #f8fafc);
  box-shadow: 0 5px 16px rgba(29, 60, 88, 0.045);
}

.dg-faq .dg-faq__header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 28px;
  width: 48px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: var(--dg-blue-medium);
}

@media (max-width: 600px) {
  .dg-faq .dg-faq__header {
    padding: 20px 18px;
    border-radius: 12px;
    margin-bottom: 12px;
  }

  .dg-faq .dg-faq__header::before {
    left: 18px;
    width: 40px;
  }
}

.dg-faq .dg-faq__label {
  display: block;
  margin-bottom: 7px;
  color: var(--dg-blue-medium);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.dg-faq .dg-faq__title {
  margin: 0 0 7px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--dg-ink);
  font-family: inherit;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.25;
  text-transform: none;
}

.dg-faq .dg-faq__intro {
  margin: 0;
  padding: 0;
  color: var(--dg-muted-strong);
  font-size: 15px;
  line-height: 1.5;
}

.dg-faq__list {
  display: grid;
  gap: 10px;
}

.dg-faq .dg-faq__item {
  min-width: 0;
  border: 1px solid #e2e9f0;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 3px 10px rgba(29, 60, 88, 0.035);
}

.dg-faq .dg-faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  box-sizing: border-box;
  min-height: 60px;
  padding: 17px 20px;
  border-radius: 13px;
  color: var(--dg-ink);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  list-style: none;
  cursor: pointer;
  transition: background-color 160ms ease;
}

.dg-faq__question::-webkit-details-marker {
  display: none;
}

.dg-faq .dg-faq__question::after {
  content: "+";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #edf4fa;
  color: var(--dg-blue-medium);
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
}

.dg-faq .dg-faq__item[open] {
  border-color: #bfd2e2;
  background: linear-gradient(135deg, #fff, #f7fafc);
}

.dg-faq .dg-faq__item[open] > .dg-faq__question::after {
  content: "-";
}

.dg-faq .dg-faq__answer {
  max-width: 920px;
  padding: 0 66px 20px 20px;
  color: var(--dg-muted-strong);
  font-size: 15px;
  line-height: 1.65;
  overflow-wrap: break-word;
}

.dg-faq .dg-faq__answer p {
  margin: 0;
  padding: 0;
}

.dg-faq .dg-faq__answer a {
  color: #2c608b;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.dg-faq .dg-faq__question:focus-visible {
  outline: 2px solid var(--dg-blue-medium);
  outline-offset: 3px;
}

@media (hover: hover) {
  .dg-faq .dg-faq__question:hover {
    background: #f3f7fa;
  }
}

@media (max-width: 600px) {
  .dg-faq {
    margin: 28px 0;
  }

  .dg-faq .dg-faq__title {
    font-size: 23px;
  }

  .dg-faq .dg-faq__question {
    gap: 12px;
    padding: 14px;
    font-size: 15px;
  }

  .dg-faq .dg-faq__answer {
    padding: 0 14px 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dg-faq .dg-faq__question {
    transition: none;
  }
}

/* Универсальное оформление описаний товаров DOOGEES.RU */

.dg-product {
  --dg-product-text: var(--dg-ink);
  --dg-product-muted: var(--dg-muted-strong);
  --dg-product-blue: var(--dg-blue-medium);
  --dg-product-dark: var(--dg-blue-deep);
  --dg-product-border: #dce7f0;
  --dg-product-soft: #f3f7fa;
  --dg-product-warm: #fff8ee;

  box-sizing: border-box;
  margin: 36px 0;
  color: var(--dg-product-text);
  font-family: inherit;
  font-size: 16px;
  line-height: 1.65;
}

.dg-product *,
.dg-product *::before,
.dg-product *::after {
  box-sizing: border-box;
}

.dg-product p,
.dg-product ul {
  margin-top: 0;
}

.dg-product a {
  color: var(--dg-product-dark);
  text-underline-offset: 3px;
}

.dg-product__intro,
.dg-product__section,
.dg-product__fit,
.dg-product__shop,
.dg-product__help {
  margin: 0 0 32px;
}

.dg-product__intro {
  padding: 30px 32px;
  border: 1px solid var(--dg-product-border);
  border-radius: 20px;
  background: linear-gradient(120deg, #edf4fb, #fff);
}

.dg-product .dg-product__label {
  margin: 0 0 7px;
  color: var(--dg-product-blue);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.dg-product .dg-product__title,
.dg-product .dg-product__section-title {
  margin: 0 0 10px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--dg-product-text);
  font-family: inherit;
  font-weight: 700;
  line-height: 1.25;
  text-transform: none;
}

.dg-product .dg-product__title {
  max-width: 940px;
  font-size: clamp(26px, 3vw, 38px);
}

.dg-product .dg-product__section-title {
  font-size: clamp(23px, 2.4vw, 30px);
}

.dg-product__lead {
  max-width: 940px;
  margin-bottom: 0;
  color: var(--dg-product-muted);
  font-size: 17px;
}

.dg-product__heading {
  margin-bottom: 18px;
}

.dg-product__benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.dg-product__benefit {
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--dg-product-border);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(29, 60, 88, .04);
}

.dg-product__benefit strong,
.dg-product__benefit span {
  display: block;
}

.dg-product__benefit strong {
  margin-bottom: 7px;
  color: var(--dg-product-dark);
  font-size: 18px;
  line-height: 1.3;
}

.dg-product__benefit span {
  color: var(--dg-product-muted);
  font-size: 14px;
  line-height: 1.55;
}

.dg-product__highlight {
  margin: 0 0 32px;
  padding: 28px 30px;
  border-radius: 20px;
  background: linear-gradient(115deg, #193c5c, var(--dg-blue-medium));
  color: #fff;
}

.dg-product__highlight .dg-product__label {
  color: #c7e1f5;
}

.dg-product__highlight .dg-product__section-title {
  color: #fff;
}

.dg-product__highlight p:last-child {
  margin-bottom: 0;
}

.dg-product__chapters {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.dg-product__chapter,
.dg-product__uses article {
  padding: 22px;
  border: 1px solid var(--dg-product-border);
  border-radius: 16px;
  background: #fff;
}

.dg-product__chapter h3,
.dg-product__uses h3,
.dg-product__fit h3 {
  margin: 0 0 8px;
  color: var(--dg-product-text);
  font-size: 18px;
  line-height: 1.35;
}

.dg-product__chapter p,
.dg-product__uses p {
  color: var(--dg-product-muted);
}

.dg-product__chapter p:last-child,
.dg-product__uses p:last-child {
  margin-bottom: 0;
}

.dg-product__uses {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.dg-product__fit {
  padding: 28px;
  border: 1px solid var(--dg-product-border);
  border-radius: 20px;
  background: var(--dg-product-soft);
}

.dg-product__fit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.dg-product__fit-grid > div {
  padding: 20px;
  border-radius: 14px;
  background: #fff;
}

.dg-product__fit-grid .dg-product__consider {
  background: var(--dg-product-warm);
}

.dg-product__fit ul,
.dg-product__box {
  margin-bottom: 0;
  padding-left: 20px;
}

.dg-product__fit li + li,
.dg-product__box li + li {
  margin-top: 6px;
}

.dg-product__table-wrap {
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid #cbdbe8;
  border-radius: 16px;
  background: var(--dg-white);
  box-shadow: 0 10px 28px rgba(32, 50, 68, 0.08);
  -webkit-overflow-scrolling: touch;
}

.dg-product__table {
  width: 100%;
  min-width: 680px;
  border: 0;
  border-collapse: collapse;
  background: #fff;
  font-size: 14px;
}

.dg-product__table th,
.dg-product__table td {
  padding: 14px 16px;
  border: 0;
  border-bottom: 1px solid var(--dg-product-border);
  text-align: left;
  vertical-align: top;
}

.dg-product__table thead th {
  background: var(--dg-product-soft);
  font-weight: 700;
}

.dg-product__table tbody tr:last-child > * {
  border-bottom: 0;
}

.dg-product__table .is-current > * {
  background: #edf4fb;
}

.dg-product__details,
.dg-product__faq {
  display: grid;
  gap: 10px;
}

.dg-product__details details,
.dg-product__faq details {
  overflow: hidden;
  border: 1px solid var(--dg-product-border);
  border-radius: 14px;
  background: #fff;
}

.dg-product__details summary,
.dg-product__faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 17px 20px;
  color: var(--dg-product-text);
  font-weight: 700;
  line-height: 1.4;
  list-style: none;
  cursor: pointer;
}

.dg-product__details summary::-webkit-details-marker,
.dg-product__faq summary::-webkit-details-marker {
  display: none;
}

.dg-product__details summary::after,
.dg-product__faq summary::after {
  content: "+";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #edf4fb;
  color: var(--dg-product-blue);
  font-size: 21px;
  font-weight: 400;
}

.dg-product__details details[open] summary::after,
.dg-product__faq details[open] summary::after {
  content: "-";
}

.dg-product__details dl {
  margin: 0;
  padding: 0 20px 18px;
}

.dg-product__details dl > div {
  display: grid;
  grid-template-columns: minmax(180px, .75fr) minmax(0, 1.25fr);
  gap: 18px;
  padding: 10px 0;
  border-top: 1px solid #edf1f4;
}

.dg-product__details dt {
  color: var(--dg-product-muted);
}

.dg-product__details dd {
  margin: 0;
  color: var(--dg-product-text);
  font-weight: 600;
}

.dg-product__faq details > div {
  max-width: 920px;
  padding: 0 66px 18px 20px;
  color: var(--dg-product-muted);
}

.dg-product__faq details p {
  margin-bottom: 0;
}

.dg-product__notice {
  margin: 14px 0 0;
  padding: 15px 18px;
  border-left: 3px solid var(--dg-product-blue);
  border-radius: 0 10px 10px 0;
  background: var(--dg-product-soft);
  color: var(--dg-product-muted);
  font-size: 14px;
}

.dg-product__eyebrow {
  display: inline-flex;
  align-items: center;
  margin: 0 0 элийн7px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #e8f3fb;
  color: var(--dg-blue-medium);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.dg-product__box {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 28px;
}

.dg-product__shop,
.dg-product__help {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 28px;
  border-radius: 20px;
}

.dg-product__shop {
  border: 1px solid var(--dg-product-border);
  background: linear-gradient(120deg, #fff, var(--dg-product-soft));
}

.dg-product__shop p,
.dg-product__help p {
  margin-bottom: 0;
}

.dg-product__shop-links {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 10px;
}

.dg-product__shop-links a {
  padding: 10px 14px;
  border: 1px solid #bfd2e2;
  border-radius: 10px;
  background: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.dg-product__help {
  margin-bottom: 0;
  background: linear-gradient(115deg, #193c5c, var(--dg-blue-medium));
  color: #fff;
}

.dg-product__help .dg-product__label {
  color: #c7e1f5;
}

.dg-product__help .dg-product__section-title {
  color: #fff;
}

.dg-product__help-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-height: 50px;
  padding: 13px 22px;
  border: 1px solid #fff;
  border-radius: 12px;
  background: #fff;
  color: var(--dg-product-dark);
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}

.dg-product summary:focus-visible,
.dg-product a:focus-visible {
  outline: 2px solid var(--dg-product-blue);
  outline-offset: 3px;
}

@media (hover: hover) and (pointer: fine) {
  .dg-product__shop-links a:hover,
  .dg-product__help-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 14px rgba(29, 60, 88, .12);
  }

  .dg-product__details summary:hover,
  .dg-product__faq summary:hover {
    background: var(--dg-product-soft);
  }
}

@media (max-width: 900px) {
  .dg-product__benefits,
  .dg-product__chapters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dg-product__uses {
    grid-template-columns: 1fr;
  }

  .dg-product__shop,
  .dg-product__help {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (max-width: 600px) {
  .dg-product {
    margin: 26px 0;
    font-size: 15px;
  }

  .dg-product__intro,
  .dg-product__fit,
  .dg-product__shop,
  .dg-product__help,
  .dg-product__highlight {
    padding: 21px 18px;
    border-radius: 15px;
  }

  .dg-product__intro,
  .dg-product__section,
  .dg-product__fit,
  .dg-product__shop,
  .dg-product__help,
  .dg-product__highlight {
    margin-bottom: 26px;
  }

  .dg-product__help {
    margin-bottom: 0;
  }

  .dg-product .dg-product__title {
    font-size: 24px;
  }

  .dg-product .dg-product__section-title {
    font-size: 22px;
  }

  .dg-product__lead {
    font-size: 16px;
  }

  .dg-product__benefits,
  .dg-product__chapters,
  .dg-product__fit-grid,
  .dg-product__box {
    grid-template-columns: 1fr;
  }

  .dg-product__benefit,
  .dg-product__chapter,
  .dg-product__uses article {
    padding: 17px;
    border-radius: 13px;
  }

  .dg-product__details summary,
  .dg-product__faq summary {
    padding: 15px;
  }

  .dg-product__details dl {
    padding: 0 15px 14px;
  }

  .dg-product__details dl > div {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .dg-product__faq details > div {
    padding: 0 15px 16px;
  }

  .dg-product__shop-links {
    display: grid;
    grid-template-columns: 1fr;
  }

  .dg-product__help-button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dg-product *,
  .dg-product *::before,
  .dg-product *::after {
    transition: none !important;
  }
}

.dg-product__compare {
  width: 100%;
  min-width: 760px;
  border: 0;
  border-collapse: collapse;
  background: #fff;
  font-size: 14px;
}

.dg-product__compare th,
.dg-product__compare td {
  padding: 14px 16px;
  border: 0;
  border-bottom: 1px solid #dce7f0;
  text-align: left;
  vertical-align: top;
}

.dg-product__compare thead th {
  background: var(--dg-blue-deep);
  color: #fff;
  font-weight: 700;
}

.dg-product__compare tbody tr:nth-child(even):not(.is-current) > * {
  background: #f8fafc;
}

.dg-product__compare tbody tr:hover > * {
  background: #f1f6fa;
}

.dg-product__compare tbody th {
  color: var(--dg-blue-deep);
  font-weight: 700;
}

.dg-product__compare tbody th a {
  color: var(--dg-blue-deep);
  font-weight: 700;
  text-underline-offset: 3px;
}

.dg-product__compare .is-current > * {
  background: #e8f3fb;
  border-top: 1px solid #b9d4e8;
  border-bottom: 1px solid #b9d4e8;
}

.dg-product__compare .is-current > :first-child {
  box-shadow: inset 4px 0 0 var(--dg-blue-medium);
}

.dg-product__compare tbody tr:last-child > * {
  border-bottom: 0;
}

/* Страница «История компании DOOGEE» */
.dg-about h2,
.dg-about h3,
.dg-about p {
  margin-top: 0;
}

.dg-about h2,
.dg-about h3 {
  color: var(--dg-heading);
}

.dg-about h2 {
  margin-bottom: 14px;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.2;
}

.dg-about h3 {
  margin-bottom: 9px;
  font-size: 19px;
  line-height: 1.35;
}

.dg-about p {
  margin-bottom: 0;
}

.dg-about a {
  text-decoration: none;
}

.dg-about__hero,
.dg-about__section,
.dg-about__navigation,
.dg-about__bottom-cta {
  width: 100%;
  max-width: 1200px;
  margin-right: auto;
  margin-left: auto;
}

.dg-about__hero {
  position: relative;
  overflow: hidden;
  margin-bottom: 18px;
  border-radius: 18px;
  color: var(--dg-white);
  background: var(--dg-hero-background);
}

.dg-about__hero::after {
  position: absolute;
  right: -90px;
  bottom: -170px;
  width: 380px;
  height: 380px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 50%;
  content: "";
}

.dg-about__hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(270px, .65fr);
  gap: 48px;
  align-items: center;
  padding: 64px;
}

.dg-about__hero h2 {
  max-width: 720px;
  margin-bottom: 20px;
  color: var(--dg-white);
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.08;
}

.dg-about__hero-text > p {
  max-width: 740px;
  color: rgba(255, 255, 255, .84);
  font-size: 18px;
}

.dg-about__eyebrow {
  display: inline-block;
  margin-bottom: 17px;
  color: var(--dg-eyebrow);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
}

.dg-about__hero-card {
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 14px;
  background: rgba(255, 255, 255, .1);
  box-shadow: 0 20px 45px rgba(0, 0, 0, .14);
  backdrop-filter: blur(5px);
}

.dg-about__hero-card strong {
  display: block;
  margin: 3px 0 12px;
  color: var(--dg-white);
  font-size: 18px;
}

.dg-about__hero-card p {
  color: rgba(255, 255, 255, .76);
  font-size: 14px;
}

.dg-about__hero-year {
  display: block;
  color: var(--dg-white);
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
}

.dg-about__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 28px;
}

.dg-about__button {
  display: inline-flex;
  min-height: 48px;
  padding: 12px 22px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 7px;
  font-weight: 700;
  line-height: 1.3;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.dg-about__button:hover {
  transform: translateY(-2px);
}

.dg-about__button:focus-visible,
.dg-about__navigation a:focus-visible,
.dg-about__series-card:focus-visible,
.dg-about__faq summary:focus-visible {
  outline: 3px solid rgba(32, 108, 166, .3);
  outline-offset: 3px;
}

.dg-about__button--primary {
  color: var(--dg-white);
  background: var(--dg-blue);
  box-shadow: 0 8px 22px rgba(32, 108, 166, .24);
}

.dg-about__hero .dg-about__button--primary {
  color: var(--dg-blue-dark);
  background: var(--dg-white);
}

.dg-about__button--secondary {
  border-color: rgba(255, 255, 255, .42);
  color: var(--dg-white);
  background: transparent;
}

.dg-about__button--white {
  color: var(--dg-blue-dark);
  background: var(--dg-white);
}

.dg-about__navigation {
  display: flex;
  overflow-x: auto;
  gap: 7px;
  padding: 10px;
  border: 1px solid var(--dg-border);
  border-radius: 11px;
  background: var(--dg-white);
  scrollbar-width: thin;
}

.dg-about__navigation a {
  flex: 0 0 auto;
  padding: 9px 14px;
  border-radius: 6px;
  color: var(--dg-text);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.dg-about__navigation a:hover {
  color: var(--dg-blue);
  background: var(--dg-light);
}

.dg-about__section {
  padding: 72px 0;
  scroll-margin-top: 25px;
}

.dg-about__section--light {
  max-width: 1200px;
  padding-right: 42px;
  padding-left: 42px;
  border-radius: 16px;
  background: var(--dg-light);
}

.dg-about__section-heading {
  display: grid;
  grid-template-columns: 55px minmax(0, 760px);
  gap: 18px;
  align-items: start;
  margin-bottom: 38px;
}

.dg-about__section-heading p {
  color: var(--dg-muted);
  font-size: 17px;
}

.dg-about__section-number {
  display: flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--dg-white);
  background: var(--dg-blue);
  font-size: 13px;
  font-weight: 700;
}

.dg-about__timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.dg-about__timeline::before {
  position: absolute;
  top: 17px;
  right: 16%;
  left: 16%;
  height: 2px;
  background: var(--dg-border);
  content: "";
}

.dg-about__timeline-item {
  position: relative;
}

.dg-about__timeline-marker {
  position: relative;
  z-index: 1;
  display: block;
  width: 16px;
  height: 16px;
  margin: 10px auto 24px;
  border: 4px solid var(--dg-white);
  border-radius: 50%;
  background: var(--dg-blue);
  box-shadow: 0 0 0 2px var(--dg-blue);
}

.dg-about__timeline-date {
  display: block;
  margin-bottom: 6px;
  color: var(--dg-blue);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.dg-about__timeline-item p {
  color: var(--dg-muted);
  font-size: 15px;
}

.dg-about__features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.dg-about__feature {
  min-height: 100%;
  padding: 25px;
  border: 1px solid var(--dg-border);
  border-radius: 12px;
  background: var(--dg-white);
  box-shadow: 0 8px 25px rgba(16, 43, 64, .05);
}

.dg-about__feature-icon {
  display: inline-flex;
  width: 42px;
  height: 42px;
  margin-bottom: 20px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: var(--dg-blue);
  background: var(--dg-icon-bg);
  font-size: 13px;
  font-weight: 700;
}

.dg-about__feature p {
  color: var(--dg-muted);
  font-size: 14px;
}

.dg-about__series {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.dg-about__series-card {
  display: grid;
  min-height: 220px;
  padding: 30px;
  grid-template-columns: 80px 1fr;
  gap: 25px;
  align-items: start;
  border: 1px solid var(--dg-border);
  border-radius: 14px;
  color: var(--dg-text);
  background: var(--dg-white);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.dg-about__series-card:hover {
  transform: translateY(-3px);
  border-color: var(--dg-blue);
  box-shadow: 0 14px 30px rgba(16, 43, 64, .1);
}

.dg-about__series-name {
  display: flex;
  width: 68px;
  height: 68px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: var(--dg-blue);
  background: var(--dg-light);
  font-size: 32px;
  font-weight: 700;
}

.dg-about__series-card p {
  color: var(--dg-muted);
  font-size: 15px;
}

.dg-about__series-link {
  display: inline-block;
  margin-top: 18px;
  color: var(--dg-blue);
  font-size: 14px;
  font-weight: 700;
}

.dg-about__section--store {
  position: relative;
  overflow: hidden;
  padding: 58px;
  border-radius: 16px;
  color: rgba(255, 255, 255, .83);
  background:
    linear-gradient(115deg, rgba(16, 43, 64, .98), rgba(32, 108, 166, .92));
}

.dg-about__section--store::after {
  position: absolute;
  top: -160px;
  right: -100px;
  width: 390px;
  height: 390px;
  border: 70px solid rgba(255, 255, 255, .05);
  border-radius: 50%;
  content: "";
}

.dg-about__store-content {
  position: relative;
  z-index: 1;
  max-width: 820px;
}

.dg-about__section--store h2 {
  color: var(--dg-white);
}

.dg-about__store-list {
  display: grid;
  margin: 28px 0 0;
  padding: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 24px;
  list-style: none;
}

.dg-about__store-list li {
  position: relative;
  padding-left: 26px;
}

.dg-about__store-list li::before {
  position: absolute;
  top: 1px;
  left: 0;
  color: var(--dg-eyebrow);
  content: "✓";
  font-weight: 700;
}

.dg-about__phone {
  display: flex;
  flex-direction: column;
  color: var(--dg-white);
  font-size: 18px;
  font-weight: 700;
}

.dg-about__phone small {
  color: rgba(255, 255, 255, .66);
  font-size: 11px;
  font-weight: 400;
}

.dg-about__faq {
  display: grid;
  gap: 10px;
}

.dg-about__faq details {
  overflow: hidden;
  border: 1px solid var(--dg-border);
  border-radius: 10px;
  background: var(--dg-white);
}

.dg-about__faq summary {
  position: relative;
  padding: 20px 58px 20px 22px;
  color: var(--dg-heading);
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.dg-about__faq summary::-webkit-details-marker {
  display: none;
}

.dg-about__faq summary::after {
  position: absolute;
  top: 50%;
  right: 22px;
  color: var(--dg-blue);
  content: "+";
  font-size: 25px;
  font-weight: 400;
  transform: translateY(-50%);
}

.dg-about__faq details[open] summary::after {
  content: "−";
}

.dg-about__faq details > div {
  padding: 0 58px 22px 22px;
  color: var(--dg-muted);
}

.dg-about__bottom-cta {
  display: flex;
  margin-bottom: 35px;
  padding: 30px 34px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border: 1px solid var(--dg-border);
  border-radius: 14px;
  background: var(--dg-light);
}

.dg-about__bottom-cta h2 {
  margin-bottom: 5px;
  font-size: 26px;
}

.dg-about__bottom-cta p {
  color: var(--dg-muted);
}

@media (max-width: 991px) {
  .dg-about__hero-content {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 44px 34px;
  }

  .dg-about__hero-card {
    max-width: 520px;
  }

  .dg-about__features {
    grid-template-columns: repeat(2, 1fr);
  }

  .dg-about__section {
    padding-top: 55px;
    padding-bottom: 55px;
  }
}

@media (max-width: 767px) {
  .dg-about {
    font-size: 15px;
  }

  .dg-about__hero {
    border-radius: 12px;
  }

  .dg-about__hero-content {
    padding: 34px 22px;
  }

  .dg-about__hero h2 {
    font-size: 34px;
  }

  .dg-about__hero-text > p {
    font-size: 16px;
  }

  .dg-about__hero-card {
    padding: 23px;
  }

  .dg-about__navigation {
    border-radius: 8px;
  }

  .dg-about__section,
  .dg-about__section--light {
    padding: 46px 0;
  }

  .dg-about__section--light {
    padding-right: 20px;
    padding-left: 20px;
    border-radius: 12px;
  }

  .dg-about__section-heading {
    grid-template-columns: 42px 1fr;
    gap: 12px;
    margin-bottom: 28px;
  }

  .dg-about__section-number {
    width: 38px;
    height: 38px;
  }

  .dg-about__timeline {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-left: 7px;
  }

  .dg-about__timeline::before {
    top: 12px;
    bottom: 12px;
    left: 8px;
    width: 2px;
    height: auto;
  }

  .dg-about__timeline-item {
    padding-left: 38px;
  }

  .dg-about__timeline-marker {
    position: absolute;
    top: 0;
    left: 0;
    margin: 4px 0 0;
  }

  .dg-about__features,
  .dg-about__series {
    grid-template-columns: 1fr;
  }

  .dg-about__series-card {
    min-height: 0;
    padding: 24px;
    grid-template-columns: 58px 1fr;
    gap: 17px;
  }

  .dg-about__series-name {
    width: 54px;
    height: 54px;
    font-size: 25px;
  }

  .dg-about__section--store {
    padding: 38px 23px;
  }

  .dg-about__store-list {
    grid-template-columns: 1fr;
  }

  .dg-about__bottom-cta {
    padding: 25px 22px;
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 479px) {
  .dg-about__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .dg-about__button {
    width: 100%;
  }

  .dg-about__phone {
    align-items: center;
    margin-top: 7px;
    text-align: center;
  }

  .dg-about__section-heading {
    display: block;
  }

  .dg-about__section-number {
    margin-bottom: 14px;
  }

  .dg-about__feature {
    padding: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dg-about__button,
  .dg-about__series-card {
    transition: none;
  }
}

/* Страница "Как оформить заказ" */
.dg-order h2,
.dg-order h3,
.dg-order p {
  margin-top: 0;
}

.dg-order h2,
.dg-order h3 {
  color: var(--dg-heading);
}

.dg-order h2 {
  margin-bottom: 14px;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.2;
}

.dg-order h3 {
  margin-bottom: 9px;
  font-size: 19px;
  line-height: 1.35;
}

.dg-order p {
  margin-bottom: 0;
}

.dg-order a {
  text-decoration: none;
}

.dg-order__hero,
.dg-order__section,
.dg-order__navigation,
.dg-order__support {
  width: 100%;
  max-width: 1200px;
  margin-right: auto;
  margin-left: auto;
}

.dg-order__hero {
  position: relative;
  overflow: hidden;
  margin-bottom: 18px;
  border-radius: 18px;
  color: var(--dg-white);
  background: var(--dg-hero-background);
}

.dg-order__hero::after {
  position: absolute;
  right: -90px;
  bottom: -170px;
  width: 380px;
  height: 380px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 50%;
  content: "";
}

.dg-order__hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  padding: 60px 64px;
  grid-template-columns: minmax(0, 1.6fr) minmax(250px, .55fr);
  gap: 48px;
  align-items: center;
}

.dg-order__hero h2 {
  max-width: 720px;
  margin-bottom: 20px;
  color: var(--dg-white);
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.08;
}

.dg-order__hero-text > p {
  max-width: 750px;
  color: rgba(255, 255, 255, .84);
  font-size: 18px;
}

.dg-order__eyebrow {
  display: inline-block;
  margin-bottom: 17px;
  color: var(--dg-eyebrow);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
}

.dg-order__hero-card {
  padding: 29px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 14px;
  background: rgba(255, 255, 255, .1);
  box-shadow: 0 20px 45px rgba(0, 0, 0, .14);
  backdrop-filter: blur(5px);
}

.dg-order__hero-number {
  display: block;
  color: var(--dg-white);
  font-size: 58px;
  font-weight: 700;
  line-height: 1;
}

.dg-order__hero-card strong {
  display: block;
  margin: 4px 0 10px;
  color: var(--dg-white);
  font-size: 20px;
}

.dg-order__hero-card p {
  color: rgba(255, 255, 255, .76);
  font-size: 14px;
}

.dg-order__button {
  display: inline-flex;
  min-height: 48px;
  margin-top: 28px;
  padding: 12px 22px;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  font-weight: 700;
  line-height: 1.3;
  transition:
    transform .2s ease,
    box-shadow .2s ease;
}

.dg-order__button:hover {
  transform: translateY(-2px);
}

.dg-order__button--white {
  color: var(--dg-blue-dark);
  background: var(--dg-white);
  box-shadow: 0 8px 22px rgba(0, 0, 0, .12);
}

.dg-order__navigation {
  display: flex;
  overflow-x: auto;
  gap: 7px;
  padding: 10px;
  border: 1px solid var(--dg-border);
  border-radius: 11px;
  background: var(--dg-white);
  scrollbar-width: thin;
}

.dg-order__navigation a {
  flex: 0 0 auto;
  padding: 9px 14px;
  border-radius: 6px;
  color: var(--dg-text);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.dg-order__navigation a:hover {
  color: var(--dg-blue);
  background: var(--dg-light);
}

.dg-order__button:focus-visible,
.dg-order__navigation a:focus-visible,
.dg-order__text-link:focus-visible,
.dg-order__faq summary:focus-visible {
  outline: 3px solid rgba(32, 108, 166, .3);
  outline-offset: 3px;
}

.dg-order__section {
  padding: 70px 0;
  scroll-margin-top: 25px;
}

.dg-order__section--light {
  padding-right: 42px;
  padding-left: 42px;
  border-radius: 16px;
  background: var(--dg-light);
}

.dg-order__section-heading {
  display: grid;
  margin-bottom: 38px;
  grid-template-columns: 55px minmax(0, 800px);
  gap: 18px;
  align-items: start;
}

.dg-order__section-heading p {
  color: var(--dg-muted);
  font-size: 17px;
}

.dg-order__section-number {
  display: flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--dg-white);
  background: var(--dg-blue);
  font-size: 13px;
  font-weight: 700;
}

.dg-order__steps {
  display: grid;
  margin: 0;
  padding: 0;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  list-style: none;
}

.dg-order__step {
  position: relative;
  min-height: 260px;
  padding: 24px;
  border: 1px solid var(--dg-border);
  border-radius: 12px;
  background: var(--dg-white);
  box-shadow: 0 8px 25px rgba(16, 43, 64, .05);
}

.dg-order__step-number {
  display: flex;
  width: 42px;
  height: 42px;
  margin-bottom: 20px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: var(--dg-blue);
  background: var(--dg-icon-bg);
  font-size: 16px;
  font-weight: 700;
}

.dg-order__step p {
  color: var(--dg-muted);
  font-size: 14px;
}

.dg-order__notice {
  display: flex;
  margin-top: 20px;
  padding: 18px 21px;
  align-items: center;
  gap: 15px;
  border: 1px solid #cfe2f0;
  border-radius: 10px;
  background: #f0f7fc;
}

.dg-order__notice-icon {
  display: flex;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--dg-white);
  background: var(--dg-blue);
  font-weight: 700;
}

.dg-order__notice p {
  color: var(--dg-blue-dark);
  font-size: 14px;
}

.dg-order__options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.dg-order__option {
  position: relative;
  padding: 28px;
  border: 1px solid var(--dg-border);
  border-radius: 13px;
  background: var(--dg-white);
  box-shadow: 0 8px 25px rgba(16, 43, 64, .05);
}

.dg-order__option-label {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--dg-blue);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
}

.dg-order__option-icon {
  display: flex;
  width: 52px;
  height: 52px;
  margin-bottom: 20px;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  color: var(--dg-blue);
  background: var(--dg-icon-bg);
  font-size: 17px;
  font-weight: 700;
}

.dg-order__option > p {
  color: var(--dg-muted);
  font-size: 14px;
}

.dg-order__option-intro {
  margin-top: 20px;
  font-weight: 700;
}

.dg-order__option ol,
.dg-order__option ul {
  margin: 15px 0 20px;
  padding-left: 20px;
  color: var(--dg-text);
  font-size: 14px;
}

.dg-order__option li + li {
  margin-top: 7px;
}

.dg-order__option .dg-order__option-note {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--dg-border);
  color: var(--dg-muted);
  font-size: 13px;
}

.dg-order__text-link {
  display: inline-block;
  color: var(--dg-blue);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.dg-order__text-link:hover {
  color: var(--dg-blue-dark);
}

.dg-order__checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.dg-order__check {
  display: flex;
  padding: 24px;
  gap: 17px;
  border: 1px solid var(--dg-border);
  border-radius: 12px;
  background: var(--dg-white);
}

.dg-order__check > span {
  display: flex;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--dg-white);
  background: var(--dg-blue);
  font-weight: 700;
}

.dg-order__check p {
  color: var(--dg-muted);
  font-size: 14px;
}

.dg-order__support {
  display: grid;
  padding: 48px;
  grid-template-columns: minmax(0, 1.5fr) minmax(250px, .6fr);
  gap: 45px;
  align-items: center;
  border-radius: 16px;
  color: rgba(255, 255, 255, .83);
  background: linear-gradient(115deg, #102b40, #206ca6);
}

.dg-order__support h2 {
  color: var(--dg-white);
}

.dg-order__support-contacts {
  display: flex;
  padding: 24px;
  align-items: flex-start;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 12px;
  background: rgba(255, 255, 255, .09);
}

.dg-order__support-contacts a {
  color: var(--dg-white);
  font-size: 24px;
  font-weight: 700;
}

.dg-order__support-contacts span {
  color: #9bd7ff;
  font-size: 13px;
}

.dg-order__support-contacts small {
  margin-top: 10px;
  color: rgba(255, 255, 255, .7);
}

.dg-order__faq {
  display: grid;
  gap: 10px;
}

.dg-order__faq details {
  overflow: hidden;
  border: 1px solid var(--dg-border);
  border-radius: 10px;
  background: var(--dg-white);
}

.dg-order__faq summary {
  position: relative;
  padding: 20px 58px 20px 22px;
  color: var(--dg-heading);
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.dg-order__faq summary::-webkit-details-marker {
  display: none;
}

.dg-order__faq summary::after {
  position: absolute;
  top: 50%;
  right: 22px;
  color: var(--dg-blue);
  content: "+";
  font-size: 25px;
  font-weight: 400;
  transform: translateY(-50%);
}

.dg-order__faq details[open] summary::after {
  content: "-";
}

.dg-order__faq details > div {
  padding: 0 58px 22px 22px;
  color: var(--dg-muted);
}

.dg-order__faq a {
  color: var(--dg-blue);
  font-weight: 600;
}

@media (max-width: 1100px) {
  .dg-order__steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  .dg-order__hero-content {
    padding: 44px 34px;
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .dg-order__hero-card {
    max-width: 480px;
  }

  .dg-order__support {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .dg-order {
    font-size: 15px;
  }

  .dg-order__hero {
    border-radius: 12px;
  }

  .dg-order__hero-content {
    padding: 34px 22px;
  }

  .dg-order__hero h2 {
    font-size: 34px;
  }

  .dg-order__hero-text > p {
    font-size: 16px;
  }

  .dg-order__section,
  .dg-order__section--light {
    padding: 46px 0;
  }

  .dg-order__section--light {
    padding-right: 20px;
    padding-left: 20px;
    border-radius: 12px;
  }

  .dg-order__section-heading {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 12px;
    margin-bottom: 28px;
  }

  .dg-order__section-number {
    width: 38px;
    height: 38px;
  }

  .dg-order__steps,
  .dg-order__options,
  .dg-order__checklist {
    grid-template-columns: 1fr;
  }

  .dg-order__step {
    min-height: 0;
  }

  .dg-order__support {
    padding: 36px 23px;
  }
}

@media (max-width: 479px) {
  .dg-order__button {
    width: 100%;
  }

  .dg-order__section-heading {
    display: block;
  }

  .dg-order__section-number {
    margin-bottom: 14px;
  }

  .dg-order__support-contacts a {
    font-size: 21px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dg-order__button {
    transition: none;
  }
}

.dg-order__phone-icon {
  display: block;
  width: 25px;
  height: 25px;
}

/* Страница отзывов */
.dg-reviews {
  --dg-star: #f2a31b;
}

.dg-reviews h2,
.dg-reviews h3,
.dg-reviews p {
  margin-top: 0;
}

.dg-reviews h2,
.dg-reviews h3 {
  color: var(--dg-heading);
}

.dg-reviews h2 {
  margin-bottom: 14px;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.2;
}

.dg-reviews h3 {
  margin-bottom: 9px;
  font-size: 19px;
  line-height: 1.35;
}

.dg-reviews p {
  margin-bottom: 0;
}

.dg-reviews a {
  text-decoration: none;
}

.dg-reviews__hero,
.dg-reviews__advantages,
.dg-reviews__how,
.dg-reviews__section,
.dg-reviews__info {
  width: 100%;
  max-width: 1200px;
  margin-right: auto;
  margin-left: auto;
}

/* Первый экран */
.dg-reviews__hero {
  position: relative;
  overflow: hidden;
  margin-bottom: 18px;
  border-radius: 18px;
  color: var(--dg-white);
  background: var(--dg-hero-background);
}

.dg-reviews__hero::after {
  position: absolute;
  right: -80px;
  bottom: -190px;
  width: 400px;
  height: 400px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 50%;
  content: "";
}

.dg-reviews__hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  padding: 60px 64px;
  grid-template-columns: minmax(0, 1.55fr) minmax(270px, .6fr);
  gap: 48px;
  align-items: center;
}

.dg-reviews__hero h2 {
  max-width: 760px;
  margin-bottom: 20px;
  color: var(--dg-white);
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.08;
}

.dg-reviews__hero-text > p {
  max-width: 760px;
  color: rgba(255, 255, 255, .84);
  font-size: 18px;
}

.dg-reviews__eyebrow {
  display: inline-block;
  margin-bottom: 17px;
  color: var(--dg-eyebrow);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
}

.dg-reviews__hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.dg-reviews__button {
  display: inline-flex;
  min-height: 48px;
  padding: 12px 22px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 7px;
  font-weight: 700;
  line-height: 1.3;
  transition:
    transform .2s ease,
    box-shadow .2s ease,
    background-color .2s ease;
}

.dg-reviews__button:hover {
  transform: translateY(-2px);
}

.dg-reviews__button--white {
  color: var(--dg-blue-dark);
  background: var(--dg-white);
  box-shadow: 0 8px 22px rgba(0, 0, 0, .12);
}

.dg-reviews__button--outline {
  border-color: rgba(255, 255, 255, .42);
  color: var(--dg-white);
  background: transparent;
}

.dg-reviews__button--outline:hover {
  color: var(--dg-white);
  background: rgba(255, 255, 255, .08);
}

.dg-reviews__button:focus-visible,
.dg-reviews__plugin a:focus-visible {
  outline: 3px solid rgba(32, 108, 166, .3);
  outline-offset: 3px;
}

.dg-reviews__hero-card {
  position: relative;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 14px;
  background: rgba(255, 255, 255, .1);
  box-shadow: 0 20px 45px rgba(0, 0, 0, .14);
  backdrop-filter: blur(5px);
}

.dg-reviews__quote-mark {
  display: block;
  height: 56px;
  color: var(--dg-eyebrow);
  font-family: Georgia, serif;
  font-size: 84px;
  line-height: 1;
}

.dg-reviews__hero-card strong {
  display: block;
  margin-bottom: 11px;
  color: var(--dg-white);
  font-size: 19px;
}

.dg-reviews__hero-card p {
  color: rgba(255, 255, 255, .76);
  font-size: 14px;
}

/* Преимущества */
.dg-reviews__advantages {
  display: grid;
  padding: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  border: 1px solid var(--dg-border);
  border-radius: 12px;
  background: var(--dg-white);
}

.dg-reviews__advantage {
  display: flex;
  min-height: 88px;
  padding: 17px;
  align-items: center;
  gap: 14px;
  border-radius: 8px;
}

.dg-reviews__advantage:hover {
  background: var(--dg-light);
}

.dg-reviews__advantage-icon {
  display: flex;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: var(--dg-blue);
  background: var(--dg-icon-bg);
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
}

.dg-reviews__advantage strong,
.dg-reviews__advantage div > span {
  display: block;
}

.dg-reviews__advantage strong {
  color: var(--dg-heading);
  font-size: 14px;
}

.dg-reviews__advantage div > span {
  color: var(--dg-muted);
  font-size: 12px;
}

/* Общие секции */
.dg-reviews__how,
.dg-reviews__section {
  padding: 70px 0;
  scroll-margin-top: 25px;
}

.dg-reviews__how {
  margin-top: 18px;
  padding-right: 42px;
  padding-left: 42px;
  border-radius: 16px;
  background: var(--dg-light);
}

.dg-reviews__section-heading {
  display: grid;
  margin-bottom: 38px;
  grid-template-columns: 55px minmax(0, 800px);
  gap: 18px;
  align-items: start;
}

.dg-reviews__section-heading p {
  color: var(--dg-muted);
  font-size: 17px;
}

.dg-reviews__section-number {
  display: flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--dg-white);
  background: var(--dg-blue);
  font-size: 13px;
  font-weight: 700;
}

/* Как оставить отзыв */
.dg-reviews__steps {
  display: grid;
  margin: 0;
  padding: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  list-style: none;
}

.dg-reviews__step {
  display: flex;
  min-height: 185px;
  padding: 25px;
  align-items: flex-start;
  gap: 17px;
  border: 1px solid var(--dg-border);
  border-radius: 12px;
  background: var(--dg-white);
  box-shadow: 0 8px 25px rgba(16, 43, 64, .05);
}

.dg-reviews__step-number {
  display: flex;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: var(--dg-blue);
  background: var(--dg-icon-bg);
  font-size: 16px;
  font-weight: 700;
}

.dg-reviews__step p {
  color: var(--dg-muted);
  font-size: 14px;
}

.dg-reviews__tip {
  display: flex;
  margin-top: 18px;
  padding: 20px 22px;
  align-items: flex-start;
  gap: 16px;
  border: 1px solid #cfe2f0;
  border-radius: 10px;
  background: #f0f7fc;
}

.dg-reviews__tip-icon {
  display: flex;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--dg-white);
  background: var(--dg-blue);
  font-weight: 700;
}

.dg-reviews__tip strong {
  display: block;
  margin-bottom: 4px;
  color: var(--dg-blue-dark);
}

.dg-reviews__tip p {
  color: var(--dg-muted);
  font-size: 14px;
}

/* Верхнюю дублирующую пагинацию скрываем */
.dg-reviews__plugin > .customer-reviews-pagination:first-of-type {
  display: none;
}

/* Список отзывов плагина */
.dg-reviews__plugin .customer-reviews-list {
  width: 100% !important;
}

.dg-reviews__plugin .s-reviews-list {
  display: grid;
  width: 100%;
  gap: 18px;
}

.dg-reviews__plugin .s-review-item {
  position: relative;
  display: block;
  width: 100% !important;
  min-height: 190px;
  padding: 28px !important;
  border: 1px solid var(--dg-border);
  border-radius: 13px !important;
  background: var(--dg-white) !important;
  box-shadow: 0 8px 25px rgba(16, 43, 64, .055);
  transition:
    border-color .2s ease,
    box-shadow .2s ease;
}

.dg-reviews__plugin .s-review-item:hover {
  border-color: #c2d8e8;
  box-shadow: 0 12px 30px rgba(16, 43, 64, .09);
}

.dg-reviews__plugin .summary-wrapper {
  margin-bottom: 18px;
}

.dg-reviews__plugin .s-review-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px 14px;
}

.dg-reviews__plugin .customer-reviews-review-header {
  flex: 1 0 100%;
  margin: 0 !important;
  color: var(--dg-heading);
  font-size: 18px !important;
  font-weight: 700;
  line-height: 1.45;
}

.dg-reviews__plugin .customer-reviews-review-header a {
  display: block;
  width: fit-content;
  margin-bottom: 5px;
  color: var(--dg-blue) !important;
  font-size: 14px;
  font-weight: 700;
}

.dg-reviews__plugin .customer-reviews-review-header a:hover {
  color: var(--dg-blue-dark) !important;
  text-decoration: underline;
}

.dg-reviews__plugin .s-rates-wrapper {
  display: inline-flex;
  align-items: center;
}

.dg-reviews__plugin .username-wrapper {
  color: var(--dg-heading);
  font-size: 13px;
  font-weight: 700;
}

.dg-reviews__plugin .username-wrapper::before {
  color: var(--dg-muted);
  content: "Автор: ";
  font-weight: 400;
}

.dg-reviews__plugin .date-wrapper {
  color: var(--dg-muted);
  font-size: 12px;
}

.dg-reviews__plugin .customer-reviews-image {
  display: block;
  width: 120px !important;
  max-height: 150px;
  margin: 0 24px 12px 0 !important;
  padding: 8px;
  object-fit: contain;
  border: 1px solid var(--dg-border);
  border-radius: 10px;
  background: var(--dg-white);
}

.dg-reviews__plugin .customer-reviews-float-left {
  float: left;
}

.dg-reviews__plugin .customer-reviews-float-right {
  float: right;
  margin: 0 0 12px 24px !important;
}

.dg-reviews__plugin .description-wrapper {
  min-height: 95px;
  color: var(--dg-text);
  font-size: 15px;
  line-height: 1.72;
  white-space: pre-line;
  overflow-wrap: anywhere;
}

.dg-reviews__plugin .customer-reviews-clear {
  display: block;
  clear: both;
}

/* Пагинация */
.dg-reviews__plugin .customer-reviews-pagination {
  margin: 30px 0 0;
}

.dg-reviews__plugin .customer-reviews-pagination ul.menu-h {
  display: flex;
  flex-wrap: wrap;
  margin: 0 !important;
  padding: 0 !important;
  justify-content: center;
  gap: 7px;
  list-style: none;
}

.dg-reviews__plugin .customer-reviews-pagination ul.menu-h li {
  display: block;
  margin: 0 !important;
  padding: 0 !important;
}

.dg-reviews__plugin .customer-reviews-pagination ul.menu-h a {
  display: flex;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--dg-border);
  border-radius: 7px;
  color: var(--dg-text);
  background: var(--dg-white);
  font-size: 14px;
  font-weight: 700;
}

.dg-reviews__plugin .customer-reviews-pagination ul.menu-h a:hover {
  border-color: var(--dg-blue);
  color: var(--dg-blue);
}

.dg-reviews__plugin .customer-reviews-pagination li.selected a {
  border-color: var(--dg-blue);
  color: var(--dg-white);
  background: var(--dg-blue);
}

/* Информационный блок */
.dg-reviews__info {
  display: flex;
  margin-bottom: 35px;
  padding: 30px;
  align-items: flex-start;
  gap: 20px;
  border: 1px solid var(--dg-border);
  border-radius: 14px;
  background: var(--dg-light);
}

.dg-reviews__info-icon {
  display: flex;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--dg-white);
  background: var(--dg-blue);
  font-weight: 700;
}

.dg-reviews__info h2 {
  margin-bottom: 7px;
  font-size: 21px;
}

.dg-reviews__info p {
  max-width: 900px;
  color: var(--dg-muted);
  font-size: 14px;
}

@media (max-width: 991px) {
  .dg-reviews__hero-content {
    padding: 44px 34px;
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .dg-reviews__hero-card {
    max-width: 520px;
  }

  .dg-reviews__advantages {
    grid-template-columns: 1fr;
  }

  .dg-reviews__steps {
    grid-template-columns: 1fr;
  }

  .dg-reviews__step {
    min-height: 0;
  }
}

@media (max-width: 767px) {
  .dg-reviews {
    font-size: 15px;
  }

  .dg-reviews__hero {
    border-radius: 12px;
  }

  .dg-reviews__hero-content {
    padding: 34px 22px;
  }

  .dg-reviews__hero h2 {
    font-size: 34px;
  }

  .dg-reviews__hero-text > p {
    font-size: 16px;
  }

  .dg-reviews__hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .dg-reviews__button {
    width: 100%;
  }

  .dg-reviews__how,
  .dg-reviews__section {
    padding: 46px 0;
  }

  .dg-reviews__how {
    padding-right: 20px;
    padding-left: 20px;
    border-radius: 12px;
  }

  .dg-reviews__section-heading {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 12px;
    margin-bottom: 28px;
  }

  .dg-reviews__section-number {
    width: 38px;
    height: 38px;
  }

  .dg-reviews__plugin .s-review-item {
    padding: 22px !important;
  }

  .dg-reviews__plugin .customer-reviews-image,
  .dg-reviews__plugin .customer-reviews-float-left,
  .dg-reviews__plugin .customer-reviews-float-right {
    float: none;
    width: 110px !important;
    margin: 0 0 18px !important;
  }

  .dg-reviews__plugin .description-wrapper {
    min-height: 0;
  }

  .dg-reviews__info {
    padding: 23px;
  }
}

@media (max-width: 479px) {
  .dg-reviews__section-heading {
    display: block;
  }

  .dg-reviews__section-number {
    margin-bottom: 14px;
  }

  .dg-reviews__advantage {
    padding: 13px;
  }

  .dg-reviews__step {
    padding: 21px;
    flex-direction: column;
  }

  .dg-reviews__tip,
  .dg-reviews__info {
    flex-direction: column;
  }

  .dg-reviews__plugin .s-review-header {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dg-reviews__button,
  .dg-reviews__plugin .s-review-item {
    transition: none;
  }
}

/* Страница гарантии и возврата */
.dg-warranty {
  --dg-red: #b34a42;
  --dg-red-light: #fff1ef;
  --dg-green: #367b59;
  --dg-green-light: #edf8f2;
  --dg-warning: #fff8e7;
  --dg-warning-border: #efd99c;
}

.dg-warranty h2,
.dg-warranty h3,
.dg-warranty p {
  margin-top: 0;
}

.dg-warranty h2,
.dg-warranty h3 {
  color: var(--dg-heading);
}

.dg-warranty h2 {
  margin-bottom: 14px;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.2;
}

.dg-warranty h3 {
  margin-bottom: 9px;
  font-size: 19px;
  line-height: 1.35;
}

.dg-warranty p {
  margin-bottom: 0;
}

.dg-warranty a {
  text-decoration: none;
}

.dg-warranty__hero,
.dg-warranty__summary,
.dg-warranty__navigation,
.dg-warranty__section,
.dg-warranty__service {
  width: 100%;
  max-width: 1200px;
  margin-right: auto;
  margin-left: auto;
}

/* Первый экран */
.dg-warranty__hero {
  position: relative;
  overflow: hidden;
  margin-bottom: 18px;
  border-radius: 18px;
  color: var(--dg-white);
  background: var(--dg-hero-background);
}

.dg-warranty__hero::after {
  position: absolute;
  right: -80px;
  bottom: -190px;
  width: 400px;
  height: 400px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 50%;
  content: "";
}

.dg-warranty__hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  padding: 60px 64px;
  grid-template-columns: minmax(0, 1.55fr) minmax(270px, .6fr);
  gap: 48px;
  align-items: center;
}

.dg-warranty__hero h2 {
  margin-bottom: 20px;
  color: var(--dg-white);
  font-size: clamp(38px, 5vw, 58px);
  line-height: 1.08;
}

.dg-warranty__hero-text > p {
  max-width: 780px;
  color: rgba(255, 255, 255, .84);
  font-size: 18px;
}

.dg-warranty__eyebrow {
  display: inline-block;
  margin-bottom: 17px;
  color: var(--dg-eyebrow);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
}

.dg-warranty__hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.dg-warranty__button {
  display: inline-flex;
  min-height: 48px;
  padding: 12px 22px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 7px;
  font-weight: 700;
  line-height: 1.3;
  transition:
    transform .2s ease,
    background-color .2s ease;
}

.dg-warranty__button:hover {
  transform: translateY(-2px);
}

.dg-warranty__button--white {
  color: var(--dg-blue-dark);
  background: var(--dg-white);
}

.dg-warranty__button--outline {
  border-color: rgba(255, 255, 255, .42);
  color: var(--dg-white);
}

.dg-warranty__hero-card {
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 14px;
  background: rgba(255, 255, 255, .1);
}

.dg-warranty__hero-period {
  display: block;
  color: var(--dg-white);
  font-size: 56px;
  font-weight: 700;
  line-height: 1;
}

.dg-warranty__hero-card strong {
  display: block;
  margin: 5px 0 11px;
  color: var(--dg-white);
  font-size: 20px;
}

.dg-warranty__hero-card p {
  color: rgba(255, 255, 255, .76);
  font-size: 14px;
}

/* Сводка */
.dg-warranty__summary {
  display: grid;
  padding: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  border: 1px solid var(--dg-border);
  border-radius: 12px;
}

.dg-warranty__summary-item {
  display: flex;
  min-height: 100px;
  padding: 17px;
  align-items: center;
  gap: 15px;
}

.dg-warranty__summary-value {
  display: flex;
  flex: 0 0 76px;
  width: 76px;
  min-height: 52px;
  padding: 7px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: var(--dg-blue);
  background: var(--dg-icon-bg);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}

.dg-warranty__summary-item strong {
  display: block;
  color: var(--dg-heading);
  font-size: 14px;
}

.dg-warranty__summary-item p {
  color: var(--dg-muted);
  font-size: 12px;
}

/* Навигация */
.dg-warranty__navigation {
  display: flex;
  overflow-x: auto;
  margin-top: 18px;
  padding: 10px;
  gap: 7px;
  border: 1px solid var(--dg-border);
  border-radius: 11px;
}

.dg-warranty__navigation a {
  flex: 0 0 auto;
  padding: 9px 14px;
  border-radius: 6px;
  color: var(--dg-text);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.dg-warranty__navigation a:hover {
  color: var(--dg-blue);
  background: var(--dg-light);
}

/* Общие секции */
.dg-warranty__section {
  padding: 70px 0;
  scroll-margin-top: 25px;
}

.dg-warranty__section--light {
  padding-right: 42px;
  padding-left: 42px;
  border-radius: 16px;
  background: var(--dg-light);
}

.dg-warranty__section-heading {
  display: grid;
  margin-bottom: 38px;
  grid-template-columns: 55px minmax(0, 850px);
  gap: 18px;
}

.dg-warranty__section-heading p {
  color: var(--dg-muted);
  font-size: 17px;
}

.dg-warranty__section-number {
  display: flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--dg-white);
  background: var(--dg-blue);
  font-size: 13px;
  font-weight: 700;
}

/* Покрытие */
.dg-warranty__coverage,
.dg-warranty__return-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.dg-warranty__coverage-card,
.dg-warranty__return-card,
.dg-warranty__exclusion {
  padding: 28px;
  border: 1px solid var(--dg-border);
  border-radius: 13px;
  background: var(--dg-white);
  box-shadow: 0 8px 25px rgba(16, 43, 64, .05);
}

.dg-warranty__coverage-icon {
  display: flex;
  width: 54px;
  height: 54px;
  margin-bottom: 20px;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  color: var(--dg-blue);
  background: var(--dg-icon-bg);
}

.dg-warranty__coverage-icon svg {
  width: 27px;
  height: 27px;
}

.dg-warranty__coverage-card p,
.dg-warranty__return-card p,
.dg-warranty__exclusion p {
  color: var(--dg-muted);
  font-size: 14px;
}

.dg-warranty__covered-list {
  margin-top: 18px;
  padding: 28px;
  border: 1px solid var(--dg-border);
  border-radius: 13px;
}

.dg-warranty__covered-grid {
  display: grid;
  margin-top: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.dg-warranty__covered-grid > div {
  display: flex;
  gap: 12px;
}

.dg-warranty__covered-grid span {
  display: flex;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--dg-white);
  background: var(--dg-blue);
  line-height: 1;
}

.dg-warranty__covered-grid p,
.dg-warranty__covered-note {
  color: var(--dg-muted);
  font-size: 14px;
}

.dg-warranty__covered-note {
  margin-top: 18px;
  font-weight: 600;
}

/* Негарантийные случаи */
.dg-warranty__exclusions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.dg-warranty__exclusion-number {
  display: inline-block;
  margin-bottom: 17px;
  padding: 6px 10px;
  border-radius: 6px;
  color: var(--dg-red);
  background: var(--dg-red-light);
  font-size: 12px;
  font-weight: 700;
}

/* Возврат */
.dg-warranty__return-status {
  display: inline-block;
  margin-bottom: 18px;
  padding: 7px 11px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
}

.dg-warranty__return-status--no {
  color: var(--dg-red);
  background: var(--dg-red-light);
}

.dg-warranty__return-status--yes {
  color: var(--dg-green);
  background: var(--dg-green-light);
}

.dg-warranty__return-status--condition {
  color: #795b11;
  background: var(--dg-warning);
}

.dg-warranty__return-card ul {
  margin: 16px 0 0;
  padding-left: 20px;
  color: var(--dg-muted);
  font-size: 14px;
}

.dg-warranty__return-card li + li {
  margin-top: 7px;
}

/* Информационные блоки */
.dg-warranty__important,
.dg-warranty__law-note {
  display: flex;
  margin-top: 18px;
  padding: 21px 22px;
  align-items: flex-start;
  gap: 16px;
  border: 1px solid #cfe2f0;
  border-radius: 10px;
  background: #f0f7fc;
}

.dg-warranty__important-icon,
.dg-warranty__law-icon {
  display: flex;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--dg-white);
  background: var(--dg-blue);
  font-weight: 700;
  line-height: 1;
}

.dg-warranty__important strong {
  display: block;
  color: var(--dg-blue-dark);
}

.dg-warranty__important p,
.dg-warranty__law-note p {
  color: var(--dg-muted);
  font-size: 14px;
}

.dg-warranty__law-note a {
  color: var(--dg-blue);
  font-weight: 700;
}

.dg-warranty__warning {
  margin-top: 18px;
  padding: 20px 22px;
  border: 1px solid var(--dg-warning-border);
  border-radius: 10px;
  background: var(--dg-warning);
}

.dg-warranty__warning strong {
  display: block;
  color: #795b11;
}

.dg-warranty__warning p {
  color: #6e6038;
  font-size: 14px;
}

/* Порядок обращения */
.dg-warranty__steps {
  display: grid;
  margin: 0;
  padding: 0;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  list-style: none;
}

.dg-warranty__step {
  min-height: 245px;
  padding: 24px;
  border: 1px solid var(--dg-border);
  border-radius: 12px;
  background: var(--dg-white);
}

.dg-warranty__step-number {
  display: flex;
  width: 42px;
  height: 42px;
  margin-bottom: 20px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: var(--dg-blue);
  background: var(--dg-icon-bg);
  font-weight: 700;
}

.dg-warranty__step p {
  color: var(--dg-muted);
  font-size: 14px;
}

.dg-warranty__step a {
  color: var(--dg-blue);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.dg-warranty__request-data {
  display: grid;
  margin-top: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.dg-warranty__request-data > div {
  padding: 26px;
  border: 1px solid var(--dg-border);
  border-radius: 12px;
  background: var(--dg-white);
}

.dg-warranty__request-data ul {
  margin: 15px 0 0;
  padding-left: 20px;
  color: var(--dg-muted);
  font-size: 14px;
}

.dg-warranty__request-data li + li {
  margin-top: 7px;
}

/* Контакты сервиса */
.dg-warranty__service {
  display: grid;
  padding: 48px;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, .7fr);
  gap: 45px;
  align-items: center;
  border-radius: 16px;
  color: rgba(255, 255, 255, .83);
  background: linear-gradient(115deg, #102b40, #206ca6);
}

.dg-warranty__service h2 {
  color: var(--dg-white);
}

.dg-warranty__service-contacts {
  display: flex;
  padding: 24px;
  align-items: flex-start;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 12px;
  background: rgba(255, 255, 255, .09);
}

.dg-warranty__service-contacts a {
  color: var(--dg-white);
  font-size: 21px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.dg-warranty__service-contacts span {
  color: #9bd7ff;
  font-size: 13px;
}

.dg-warranty__service-contacts small {
  margin-top: 10px;
  color: rgba(255, 255, 255, .7);
}

/* Вопросы */
.dg-warranty__faq {
  display: grid;
  gap: 10px;
}

.dg-warranty__faq details {
  overflow: hidden;
  border: 1px solid var(--dg-border);
  border-radius: 10px;
}

.dg-warranty__faq summary {
  position: relative;
  padding: 20px 58px 20px 22px;
  color: var(--dg-heading);
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.dg-warranty__faq summary::-webkit-details-marker {
  display: none;
}

.dg-warranty__faq summary::after {
  position: absolute;
  top: 50%;
  right: 22px;
  color: var(--dg-blue);
  content: "+";
  font-size: 25px;
  transform: translateY(-50%);
}

.dg-warranty__faq details[open] summary::after {
  content: "-";
}

.dg-warranty__faq details > div {
  padding: 0 58px 22px 22px;
  color: var(--dg-muted);
}

.dg-warranty__faq a {
  color: var(--dg-blue);
  font-weight: 700;
}

@media (max-width: 1100px) {
  .dg-warranty__steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  .dg-warranty__hero-content,
  .dg-warranty__service {
    grid-template-columns: 1fr;
  }

  .dg-warranty__summary {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .dg-warranty {
    font-size: 15px;
  }

  .dg-warranty__hero-content {
    padding: 34px 22px;
  }

  .dg-warranty__hero h2 {
    font-size: 36px;
  }

  .dg-warranty__hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .dg-warranty__button {
    width: 100%;
  }

  .dg-warranty__section,
  .dg-warranty__section--light {
    padding: 46px 0;
  }

  .dg-warranty__section--light {
    padding-right: 20px;
    padding-left: 20px;
  }

  .dg-warranty__section-heading {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 12px;
  }

  .dg-warranty__coverage,
  .dg-warranty__covered-grid,
  .dg-warranty__exclusions,
  .dg-warranty__return-grid,
  .dg-warranty__steps,
  .dg-warranty__request-data {
    grid-template-columns: 1fr;
  }

  .dg-warranty__step {
    min-height: 0;
  }

  .dg-warranty__service {
    padding: 36px 23px;
  }
}

@media (max-width: 479px) {
  .dg-warranty__section-heading {
    display: block;
  }

  .dg-warranty__section-number {
    margin-bottom: 14px;
  }

  .dg-warranty__important,
  .dg-warranty__law-note {
    flex-direction: column;
  }

  .dg-warranty__service-contacts a {
    font-size: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dg-warranty__button {
    transition: none;
  }
}

.dg-contacts h2,
.dg-contacts p {
    margin-top: 0;
}

.dg-contacts a {
    color: var(--dg-blue);
    text-decoration: none;
}

.dg-contacts a:hover {
    color: var(--dg-blue-dark);
    text-decoration: none;
}

.dg-contacts__hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 270px;
    margin-bottom: 30px;
    padding: 46px 50px;
    overflow: hidden;
    border: 0;
    border-radius: 18px;
    background: var(--dg-hero-background);
    box-shadow: none;
}

.dg-contacts__hero::before {
    content: "";
    position: absolute;
    top: -135px;
    right: 110px;
    width: 290px;
    height: 290px;
    border: 48px solid rgba(255, 255, 255, 0.025);
    border-radius: 50%;
}

.dg-contacts__hero::after {
    content: "";
    position: absolute;
    right: -75px;
    bottom: -125px;
    width: 280px;
    height: 280px;
    border: 42px solid rgba(255, 255, 255, 0.035);
    border-radius: 50%;
}

.dg-contacts__hero-content {
    position: relative;
    z-index: 2;
    max-width: 690px;
}

.dg-contacts__eyebrow {
    display: block;
    margin-bottom: 9px;
    color: var(--dg-blue);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.09em;
    line-height: 1.4;
    text-transform: uppercase;
}

.dg-contacts__hero .dg-contacts__eyebrow {
    color: var(--dg-eyebrow);
}

.dg-contacts__hero h2 {
    margin-bottom: 15px;
    color: var(--dg-white);
    font-size: 46px;
    font-weight: 700;
    line-height: 1.15;
}

.dg-contacts__hero p {
    max-width: 650px;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.84);
    font-size: 18px;
    line-height: 1.7;
}

.dg-contacts__callback {
    position: relative;
    z-index: 2;
    display: flex;
    flex: 0 0 160px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-left: 38px;
    padding: 8px;
    color: var(--dg-white);
    border: 0;
    background: transparent;
    font-family: inherit;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.dg-contacts__callback-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 126px;
    height: 126px;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    box-shadow:
        0 16px 38px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background-color 0.2s ease;
}

.dg-contacts__callback-icon::before,
.dg-contacts__callback-icon::after {
    content: "";
    position: absolute;
    inset: -8px;
    pointer-events: none;
    border: 2px solid rgba(143, 210, 255, 0.55);
    border-radius: 50%;
    animation: dg-contacts-callback-pulse 2.4s ease-out infinite;
}

.dg-contacts__callback-icon::after {
    animation-delay: 1.2s;
}

.dg-contacts__callback-icon svg {
    display: block;
    width: 58px;
    height: 58px;
    animation: dg-contacts-phone-ring 3.5s ease-in-out infinite;
}

.dg-contacts__callback-label {
    display: block;
    margin-top: 13px;
    color: var(--dg-white);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
    text-align: center;
}

.dg-contacts__callback:hover .dg-contacts__callback-icon {
    transform: translateY(-3px) scale(1.04);
    background: rgba(255, 255, 255, 0.2);
    box-shadow:
        0 20px 44px rgba(0, 0, 0, 0.25),
        0 0 0 9px rgba(143, 210, 255, 0.08);
}

.dg-contacts__callback:hover .dg-contacts__callback-label {
    color: var(--dg-eyebrow);
}

.dg-contacts__callback:focus {
    outline: none;
}

.dg-contacts__callback:focus-visible {
    border-radius: 15px;
    outline: 3px solid rgba(32, 108, 166, 0.28);
    outline-offset: 4px;
}

.dg-contacts__callback:active .dg-contacts__callback-icon {
    transform: scale(0.97);
}

@keyframes dg-contacts-callback-pulse {
    0% {
        opacity: 0.65;
        transform: scale(0.92);
    }

    75%,
    100% {
        opacity: 0;
        transform: scale(1.34);
    }
}

@keyframes dg-contacts-phone-ring {
    0%,
    62%,
    100% {
        transform: rotate(0);
    }

    67% {
        transform: rotate(-12deg);
    }

    72% {
        transform: rotate(11deg);
    }

    77% {
        transform: rotate(-9deg);
    }

    82% {
        transform: rotate(7deg);
    }

    87% {
        transform: rotate(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .dg-contacts__callback-icon::before,
    .dg-contacts__callback-icon::after,
    .dg-contacts__callback-icon svg {
        animation: none;
    }
}

.dg-contacts__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    margin-bottom: 30px;
}

.dg-contacts__card {
    display: flex;
    min-width: 0;
    padding: 28px;
    border: 1px solid var(--dg-border);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 7px 24px rgba(27, 55, 74, 0.055);
}

.dg-contacts__card--primary {
    border-color: var(--dg-blue-border);
    background: linear-gradient(145deg, #fff 0%, #f5faff 100%);
}

.dg-contacts__card-icon {
    display: flex;
    flex: 0 0 52px;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-right: 20px;
    color: var(--dg-blue);
    border-radius: 14px;
    background: var(--dg-blue-light);
    line-height: 1;
}

.dg-contacts__card-icon svg {
    display: block;
    width: 27px;
    height: 27px;
}

.dg-contacts__card-content {
    min-width: 0;
    width: 100%;
}

.dg-contacts__card h2 {
    margin-bottom: 18px;
    color: var(--dg-title);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.35;
}

.dg-contacts__card p {
    margin-bottom: 16px;
}

.dg-contacts__card p:last-child {
    margin-bottom: 0;
}

.dg-contacts__contact-row {
    padding: 13px 0;
    border-top: 1px solid var(--dg-border);
}

.dg-contacts__contact-row:first-of-type {
    padding-top: 0;
    border-top: 0;
}

.dg-contacts__label {
    display: block;
    margin-bottom: 3px;
    color: var(--dg-muted);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.025em;
    line-height: 1.4;
    text-transform: uppercase;
}

.dg-contacts__value {
    color: var(--dg-title);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.55;
    overflow-wrap: anywhere;
}

.dg-contacts__value a {
    font-weight: 700;
}

.dg-contacts__value--phone a {
    display: inline-block;
    margin-right: 5px;
    font-size: 17px;
    white-space: nowrap;
}

.dg-contacts__note {
    margin-top: 16px;
    padding: 13px 15px;
    color: #52616c;
    border-left: 3px solid var(--dg-blue);
    border-radius: 0 8px 8px 0;
    background: var(--dg-blue-light);
    font-size: 13px;
    line-height: 1.6;
}

.dg-contacts__order {
    display: flex;
    align-items: center;
    margin-bottom: 42px;
    padding: 28px 30px;
    border-radius: 16px;
    background: var(--dg-title);
    color: #fff;
}

.dg-contacts__order-icon {
    display: flex;
    flex: 0 0 56px;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin-right: 20px;
    color: #fff;
    border-radius: 14px;
    background: var(--dg-blue);
    line-height: 1;
}

.dg-contacts__order-icon svg {
    display: block;
    width: 29px;
    height: 29px;
}

.dg-contacts__order-content {
    flex: 1 1 auto;
    min-width: 0;
    padding-right: 28px;
}

.dg-contacts__order h2 {
    margin-bottom: 7px;
    color: #fff;
    font-size: 21px;
    line-height: 1.35;
}

.dg-contacts__order p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
    line-height: 1.65;
}

.dg-contacts__button {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 20px;
    color: #fff !important;
    border-radius: 9px;
    background: var(--dg-blue);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.dg-contacts__button:hover {
    color: #fff !important;
    background: #2781c3;
    transform: translateY(-1px);
}

.dg-contacts__button svg {
    display: block;
    width: 18px;
    height: 18px;
    margin-left: 8px;
}

.dg-contacts__section-head {
    margin-bottom: 20px;
}

.dg-contacts__section-head h2 {
    margin-bottom: 0;
    color: var(--dg-title);
    font-size: 27px;
    line-height: 1.3;
}

.dg-contacts__faq-list {
    border-top: 1px solid var(--dg-border);
}

.dg-contacts__faq-item {
    border-bottom: 1px solid var(--dg-border);
    background: #fff;
}

.dg-contacts__faq-item summary {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 66px;
    padding: 17px 54px 17px 0;
    color: var(--dg-title);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    cursor: pointer;
    list-style: none;
}

.dg-contacts__faq-item summary::-webkit-details-marker {
    display: none;
}

.dg-contacts__faq-plus {
    position: absolute;
    top: 50%;
    right: 5px;
    width: 24px;
    height: 24px;
    transform: translateY(-50%);
}

.dg-contacts__faq-plus::before,
.dg-contacts__faq-plus::after {
    content: "";
    position: absolute;
    top: 11px;
    left: 5px;
    width: 14px;
    height: 2px;
    border-radius: 2px;
    background: var(--dg-blue);
    transition: transform 0.2s ease;
}

.dg-contacts__faq-plus::after {
    transform: rotate(90deg);
}

.dg-contacts__faq-item[open] .dg-contacts__faq-plus::after {
    transform: rotate(0);
}

.dg-contacts__faq-answer {
    max-width: 850px;
    padding: 0 54px 20px 0;
    color: var(--dg-text);
    font-size: 14px;
    line-height: 1.7;
}

@media (max-width: 850px) {
    .dg-contacts__hero {
        padding: 38px 32px;
    }

    .dg-contacts__hero h2 {
        font-size: 36px;
    }

    .dg-contacts__hero p {
        font-size: 16px;
    }

    .dg-contacts__callback {
        flex-basis: 135px;
        margin-left: 25px;
    }

    .dg-contacts__callback-icon {
        width: 106px;
        height: 106px;
    }

    .dg-contacts__callback-icon svg {
        width: 48px;
        height: 48px;
    }


    .dg-contacts__grid {
        grid-template-columns: 1fr;
    }

    .dg-contacts__order {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .dg-contacts__button {
        margin-top: 20px;
        margin-left: 76px;
    }
}

@media (max-width: 600px) {
    .dg-contacts {
        font-size: 14px;
    }

    .dg-contacts__hero {
        flex-direction: column;
        align-items: flex-start;
        min-height: 0;
        padding: 29px 22px;
        border-radius: 14px;
    }

    .dg-contacts__hero h2 {
        font-size: 28px;
    }

    .dg-contacts__hero p {
        font-size: 15px;
    }

    .dg-contacts__callback {
        flex-basis: auto;
        flex-direction: row;
        justify-content: flex-start;
        width: 100%;
        margin: 24px 0 0;
        padding: 0;
    }

    .dg-contacts__callback-icon {
        flex: 0 0 72px;
        width: 72px;
        height: 72px;
    }

    .dg-contacts__callback-icon svg {
        width: 34px;
        height: 34px;
    }

    .dg-contacts__callback-label {
        margin: 0 0 0 17px;
        color: var(--dg-white);
        font-size: 15px;
        text-align: left;
    }


    .dg-contacts__grid {
        gap: 15px;
        margin-bottom: 20px;
    }

    .dg-contacts__card {
        display: block;
        padding: 22px 20px;
        border-radius: 14px;
    }

    .dg-contacts__card-icon {
        width: 46px;
        height: 46px;
        margin: 0 0 16px;
    }

    .dg-contacts__card-icon svg {
        width: 24px;
        height: 24px;
    }

    .dg-contacts__card h2 {
        margin-bottom: 15px;
        font-size: 18px;
    }

    .dg-contacts__value--phone a {
        display: block;
        margin: 2px 0;
        font-size: 16px;
    }

    .dg-contacts__order {
        display: block;
        margin-bottom: 35px;
        padding: 23px 20px;
        border-radius: 14px;
    }

    .dg-contacts__order-icon {
        width: 48px;
        height: 48px;
        margin: 0 0 16px;
    }

    .dg-contacts__order-content {
        padding-right: 0;
    }

    .dg-contacts__order h2 {
        font-size: 19px;
    }

    .dg-contacts__button {
        width: 100%;
        margin: 20px 0 0;
    }

    .dg-contacts__section-head h2 {
        font-size: 23px;
    }

    .dg-contacts__faq-item summary {
        min-height: 62px;
        padding: 15px 42px 15px 0;
        font-size: 15px;
    }

    .dg-contacts__faq-answer {
        padding: 0 42px 18px 0;
    }
}

.dg-payment {
    --dg-green: #2a8b57;
}

.dg-payment h2,
.dg-payment h3,
.dg-payment p {
    margin-top: 0;
}

.dg-payment a {
    color: var(--dg-blue);
    text-decoration: none;
}

.dg-payment a:hover {
    color: var(--dg-blue-dark);
    text-decoration: none;
}

/* Верхний баннер */

.dg-payment__hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 250px;
    margin-bottom: 24px;
    padding: 44px 50px;
    overflow: hidden;
    border: 0;
    border-radius: 18px;
    background: var(--dg-hero-background);
    box-shadow: none;
}

.dg-payment__hero::before {
    content: "";
    position: absolute;
    top: -135px;
    right: 110px;
    width: 290px;
    height: 290px;
    border: 48px solid rgba(255, 255, 255, 0.025);
    border-radius: 50%;
}

.dg-payment__hero::after {
    content: "";
    position: absolute;
    right: -75px;
    bottom: -125px;
    width: 280px;
    height: 280px;
    border: 42px solid rgba(255, 255, 255, 0.035);
    border-radius: 50%;
}

.dg-payment__hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.dg-payment__eyebrow {
    display: block;
    margin-bottom: 9px;
    color: var(--dg-blue);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.09em;
    line-height: 1.4;
    text-transform: uppercase;
}

.dg-payment__hero .dg-payment__eyebrow {
    color: var(--dg-eyebrow);
}

.dg-payment__hero h2 {
    margin-bottom: 15px;
    color: #fff;
    font-size: 46px;
    font-weight: 700;
    line-height: 1.15;
}

.dg-payment__hero p {
    max-width: 680px;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.84);
    font-size: 18px;
    line-height: 1.7;
}

.dg-payment__hero-icon {
    position: relative;
    z-index: 2;
    display: flex;
    flex: 0 0 150px;
    align-items: center;
    justify-content: center;
    width: 150px;
    height: 150px;
    margin-left: 40px;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: none;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.dg-payment__hero-icon svg {
    display: block;
    width: 64px;
    height: 64px;
}

/* Предупреждение */

.dg-payment__warning {
    display: flex;
    align-items: flex-start;
    margin-bottom: 38px;
    padding: 21px 24px;
    color: #614a22;
    border: 1px solid #edd397;
    border-radius: 14px;
    background: #fff9e9;
}

.dg-payment__warning-icon {
    display: flex;
    flex: 0 0 42px;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-right: 17px;
    color: #a76c08;
    border-radius: 11px;
    background: #ffedbd;
}

.dg-payment__warning-icon svg {
    display: block;
    width: 24px;
    height: 24px;
}

.dg-payment__warning strong {
    display: block;
    margin-bottom: 4px;
    color: #594116;
    font-size: 16px;
}

.dg-payment__warning p {
    margin-bottom: 0;
    font-size: 14px;
}

/* Заголовки разделов */

.dg-payment__section-head {
    margin-bottom: 20px;
}

.dg-payment__section-head h2 {
    margin-bottom: 0;
    color: var(--dg-title);
    font-size: 27px;
    font-weight: 700;
    line-height: 1.3;
}

/* Условия оплаты */

.dg-payment__conditions {
    margin-bottom: 40px;
}

.dg-payment__conditions-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.dg-payment__condition {
    display: flex;
    padding: 27px;
    border: 1px solid var(--dg-border);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 7px 24px rgba(27, 55, 74, 0.05);
}

.dg-payment__condition--accent {
    border-color: var(--dg-blue-border);
    background: linear-gradient(145deg, #fff 0%, #f4faff 100%);
}

.dg-payment__condition-icon {
    display: flex;
    flex: 0 0 52px;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-right: 19px;
    color: var(--dg-blue);
    border-radius: 14px;
    background: var(--dg-blue-light);
}

.dg-payment__condition-icon svg {
    display: block;
    width: 27px;
    height: 27px;
}

.dg-payment__condition h3 {
    margin-bottom: 8px;
    color: var(--dg-title);
    font-size: 19px;
    font-weight: 700;
    line-height: 1.4;
}

.dg-payment__condition p {
    margin-bottom: 0;
    font-size: 14px;
}

/* Этапы оплаты */

.dg-payment__steps {
    margin-bottom: 42px;
}

.dg-payment__steps-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.dg-payment__step {
    display: flex;
    align-items: flex-start;
    padding: 22px;
    border: 1px solid var(--dg-border);
    border-radius: 14px;
    background: var(--dg-bg);
}

.dg-payment__step-number {
    display: flex;
    flex: 0 0 38px;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    margin-right: 14px;
    color: #fff;
    border-radius: 50%;
    background: var(--dg-blue);
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
}

.dg-payment__step strong {
    display: block;
    margin: 2px 0 5px;
    color: var(--dg-title);
    font-size: 15px;
}

.dg-payment__step p {
    margin-bottom: 0;
    font-size: 13px;
    line-height: 1.6;
}

/* Светлый раздел с формой */

.dg-payment__form-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 440px);
    gap: 35px;
    align-items: start;
    margin-bottom: 25px;
    padding: 35px;
    border: 1px solid var(--dg-blue-border);
    border-radius: 18px;
    background:
        radial-gradient(
            circle at 5% 10%,
            rgba(32, 108, 166, 0.08),
            transparent 32%
        ),
        linear-gradient(135deg, #f8fcff 0%, #edf6fc 100%);
}

.dg-payment__form-info {
    min-width: 0;
}

.dg-payment__form-info h2 {
    margin-bottom: 13px;
    color: var(--dg-title);
    font-size: 27px;
    line-height: 1.3;
}

.dg-payment__form-info > p {
    color: var(--dg-text);
}

.dg-payment__form-info .dg-payment__eyebrow {
    color: var(--dg-blue);
}

/* Список подсказок */

.dg-payment__checklist {
    margin: 22px 0 26px;
    padding: 0;
    list-style: none;
}

.dg-payment__checklist li {
    position: relative;
    margin-bottom: 11px;
    padding-left: 27px;
    color: #475968;
    font-size: 14px;
}

.dg-payment__checklist li::before {
    content: "";
    position: absolute;
    top: 6px;
    left: 2px;
    width: 13px;
    height: 7px;
    border-bottom: 2px solid var(--dg-blue);
    border-left: 2px solid var(--dg-blue);
    transform: rotate(-45deg);
}

/* Телефон */

.dg-payment__phone {
    display: flex;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid var(--dg-blue-border);
}

.dg-payment__phone-icon {
    display: flex;
    flex: 0 0 48px;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-right: 14px;
    color: #fff;
    border-radius: 13px;
    background: var(--dg-blue);
    box-shadow: 0 8px 20px rgba(32, 108, 166, 0.18);
}

.dg-payment__phone-icon svg {
    display: block;
    width: 25px;
    height: 25px;
}

.dg-payment__phone span,
.dg-payment__phone small {
    display: block;
}

.dg-payment__phone span {
    color: var(--dg-muted);
    font-size: 12px;
}

.dg-payment__phone a {
    display: block;
    color: var(--dg-blue);
    font-size: 19px;
    font-weight: 700;
    line-height: 1.35;
}

.dg-payment__phone a:hover {
    color: var(--dg-blue-dark);
}

.dg-payment__phone small {
    color: var(--dg-muted);
    font-size: 11px;
}

/* Белая карточка формы */

.dg-payment__form-card {
    min-width: 0;
    padding: 25px;
    border: 1px solid #dde8f0;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 14px 35px rgba(27, 72, 105, 0.11);
}

.dg-payment__form-title {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.dg-payment__lock {
    display: flex;
    flex: 0 0 43px;
    align-items: center;
    justify-content: center;
    width: 43px;
    height: 43px;
    margin-right: 13px;
    color: var(--dg-blue);
    border-radius: 11px;
    background: var(--dg-blue-light);
}

.dg-payment__lock svg {
    display: block;
    width: 23px;
    height: 23px;
}

.dg-payment__form-title strong,
.dg-payment__form-title span {
    display: block;
}

.dg-payment__form-title strong {
    color: var(--dg-title);
    font-size: 16px;
}

.dg-payment__form-title span {
    color: var(--dg-muted);
    font-size: 12px;
}

/* Форма ЮKassa */

.dg-payment__form-card .yoomoney-payment-form {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.dg-payment__form-card .ym-customer-info {
    width: 100% !important;
}

.dg-payment__form-card .ym-block-title {
    margin-bottom: 14px !important;
    color: var(--dg-title) !important;
    font-family: "Open Sans", Arial, sans-serif !important;
    font-size: 18px !important;
    font-weight: 700 !important;
}

.dg-payment__form-card .ym-input {
    width: 100% !important;
    min-height: 47px !important;
    color: var(--dg-title) !important;
    border: 1px solid #d9e0e5 !important;
    border-radius: 8px !important;
    background: #fff !important;
    font-family: "Open Sans", Arial, sans-serif !important;
    font-size: 14px !important;
    box-shadow: none !important;
}

.dg-payment__form-card .ym-input::placeholder {
    color: #8a949c !important;
}

.dg-payment__form-card .ym-input:focus {
    border-color: var(--dg-blue) !important;
    outline: 0 !important;
    box-shadow: 0 0 0 3px rgba(32, 108, 166, 0.12) !important;
}

.dg-payment__form-card .ym-payment-btn-block {
    border-color: var(--dg-border) !important;
}

.dg-payment__form-card .ym-input-icon-rub {
    background: #fff !important;
}

.dg-payment__form-card .ym-btn-pay {
    min-height: 47px !important;
    color: #fff !important;
    border: 0 !important;
    border-radius: 8px !important;
    background: var(--dg-blue) !important;
    font-family: "Open Sans", Arial, sans-serif !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    box-shadow: none !important;
    cursor: pointer;
}

.dg-payment__form-card .ym-btn-pay:hover {
    color: #fff !important;
    background: var(--dg-blue-dark) !important;
}

.dg-payment__form-card .ym-price-output {
    color: #fff !important;
}

/* Безопасность платежа */

.dg-payment__secure {
    display: flex;
    align-items: center;
    margin-top: 18px;
    padding-top: 17px;
    color: var(--dg-muted);
    border-top: 1px solid var(--dg-border);
    font-size: 12px;
}

.dg-payment__secure svg {
    display: block;
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    margin-right: 8px;
    color: var(--dg-green);
}

/* Информация после формы */

.dg-payment__after {
    display: flex;
    align-items: flex-start;
    padding: 20px 23px;
    border: 1px solid #cbe6d6;
    border-radius: 14px;
    background: #f1faf5;
}

.dg-payment__after-icon {
    display: flex;
    flex: 0 0 40px;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-right: 15px;
    color: #fff;
    border-radius: 50%;
    background: var(--dg-green);
}

.dg-payment__after-icon svg {
    display: block;
    width: 22px;
    height: 22px;
}

.dg-payment__after strong {
    display: block;
    margin-bottom: 3px;
    color: #245c3c;
    font-size: 15px;
}

.dg-payment__after p {
    margin-bottom: 0;
    color: #47705a;
    font-size: 13px;
}

/* Планшеты */

@media (max-width: 900px) {
    .dg-payment__form-section {
        grid-template-columns: 1fr;
    }

    .dg-payment__form-card {
        width: 100%;
        max-width: 520px;
    }

    .dg-payment__steps-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .dg-payment__hero {
        padding: 36px 30px;
    }

    .dg-payment__hero h2 {
        font-size: 36px;
    }

    .dg-payment__hero-icon {
        display: flex;
        flex: 0 0 118px;
        width: 118px;
        height: 118px;
        margin-left: 25px;
    }

    .dg-payment__hero-icon svg {
        width: 50px;
        height: 50px;
    }

    .dg-payment__conditions-grid {
        grid-template-columns: 1fr;
    }
}

/* Телефоны */

@media (max-width: 520px) {
    .dg-payment {
        font-size: 14px;
    }

    .dg-payment__hero {
        min-height: 0;
        padding: 29px 22px;
        border-radius: 14px;
    }

    .dg-payment__hero h2 {
        font-size: 28px;
    }

    .dg-payment__hero p {
        font-size: 15px;
    }

    .dg-payment__hero-icon {
        display: none;
    }

    .dg-payment__warning {
        padding: 18px;
    }

    .dg-payment__warning-icon {
        flex-basis: 37px;
        width: 37px;
        height: 37px;
        margin-right: 13px;
    }

    .dg-payment__warning-icon svg {
        width: 21px;
        height: 21px;
    }

    .dg-payment__section-head h2 {
        font-size: 23px;
    }

    .dg-payment__condition {
        display: block;
        padding: 22px 20px;
    }

    .dg-payment__condition-icon {
        width: 47px;
        height: 47px;
        margin: 0 0 15px;
    }

    .dg-payment__step {
        padding: 19px;
    }

    .dg-payment__form-section {
        gap: 25px;
        padding: 24px 18px;
        border-radius: 14px;
    }

    .dg-payment__form-info h2 {
        font-size: 23px;
    }

    .dg-payment__form-card {
        width: 100%;
        padding: 20px 16px;
    }

    .dg-payment__form-card .ym-payment-btn-block {
        display: block !important;
    }

    .dg-payment__form-card .ym-input-icon-rub {
        width: 100% !important;
        margin-bottom: 12px !important;
    }

    .dg-payment__form-card .ym-btn-pay {
        width: 100% !important;
    }

    .dg-payment__phone a {
        font-size: 17px;
    }
}

/* Текст о магазине после товаров */
.dg-about {
  margin: 32px 0;
  padding: 24px 0;
  border-top: 1px solid #e2e9f0;
  font-family: inherit;
}

.dg-about h2 {
  margin: 0 0 16px;
  color: #203244;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.3;
}

.dg-about h3 {
  margin: 24px 0 10px;
  color: #203244;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.4;
}

.dg-about p {
  max-width: 960px;
  margin: 0 0 14px;
  color: #526575;
  font-size: 15px;
  line-height: 1.7;
}

.dg-about p:last-child {
  margin-bottom: 0;
}

.dg-about a {
  color: #2c608b;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 600px) {
  .dg-about {
    margin: 24px 0;
    padding: 20px 0;
  }

  .dg-about h2 {
    font-size: 22px;
  }

  .dg-about h3 {
    margin-top: 20px;
    font-size: 18px;
  }
}

/* Страница доставки и оплаты */

.dg-delivery {
    color: var(--dg-text);
    font-family: "Open Sans", Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.65;
}

.dg-delivery *,
.dg-delivery *::before,
.dg-delivery *::after {
    box-sizing: border-box;
}

.dg-delivery h2,
.dg-delivery h3,
.dg-delivery p {
    margin-top: 0;
}

.dg-delivery h2,
.dg-delivery h3 {
    color: var(--dg-heading);
}

.dg-delivery p {
    margin-bottom: 0;
}

.dg-delivery a {
    text-decoration: none;
}

/* Первый экран */

.dg-delivery__hero {
    position: relative;
    overflow: hidden;
    margin-bottom: 18px;
    color: var(--dg-white);
    border-radius: 18px;
    background: var(--dg-hero-background);
}

.dg-delivery__hero::after {
    content: "";
    position: absolute;
    right: -80px;
    bottom: -190px;
    width: 400px;
    height: 400px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 50%;
}

.dg-delivery__hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(270px, 0.6fr);
    gap: 48px;
    align-items: center;
    padding: 60px 64px;
}

.dg-delivery__eyebrow {
    display: inline-block;
    margin-bottom: 16px;
    color: var(--dg-eyebrow);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    line-height: 1.4;
    text-transform: uppercase;
}

.dg-delivery__hero h2 {
    max-width: 760px;
    margin-bottom: 20px;
    color: var(--dg-white);
    font-size: clamp(36px, 5vw, 56px);
    line-height: 1.08;
}

.dg-delivery__hero-text > p {
    max-width: 760px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 18px;
}

.dg-delivery__hero-card {
    padding: 30px;
    color: var(--dg-white);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.14);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.dg-delivery__hero-price {
    display: block;
    color: var(--dg-white);
    font-size: 56px;
    font-weight: 700;
    line-height: 1;
}

.dg-delivery__hero-card strong {
    display: block;
    margin: 7px 0 12px;
    color: var(--dg-white);
    font-size: 18px;
}

.dg-delivery__hero-card p {
    color: rgba(255, 255, 255, 0.76);
    font-size: 14px;
}

/* Краткая сводка */

.dg-delivery__summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-bottom: 20px;
    padding: 10px;
    gap: 8px;
    border: 1px solid var(--dg-border);
    border-radius: 12px;
    background: var(--dg-white);
}

.dg-delivery__summary-item {
    display: flex;
    min-height: 90px;
    padding: 18px;
    align-items: center;
    gap: 14px;
    border-radius: 8px;
}

.dg-delivery__summary-item:hover {
    background: var(--dg-light);
}

.dg-delivery__summary-icon {
    display: flex;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    color: var(--dg-blue);
    border-radius: 10px;
    background: var(--dg-icon-bg);
}

.dg-delivery__summary-icon svg {
    display: block;
    width: 24px;
    height: 24px;
}

.dg-delivery__summary-item strong,
.dg-delivery__summary-item span {
    display: block;
}

.dg-delivery__summary-item strong {
    margin-bottom: 3px;
    color: var(--dg-heading);
    font-size: 14px;
}

.dg-delivery__summary-item span {
    color: var(--dg-muted);
    font-size: 12px;
}

/* Общие секции */

.dg-delivery__section,
.dg-delivery__faq {
    padding: 70px 0;
    scroll-margin-top: 25px;
}

.dg-delivery__section--light {
    padding-right: 42px;
    padding-left: 42px;
    border-radius: 16px;
    background: var(--dg-light);
}

.dg-delivery__section-heading {
    display: grid;
    grid-template-columns: 55px minmax(0, 820px);
    gap: 18px;
    align-items: start;
    margin-bottom: 38px;
}

.dg-delivery__section-heading h2 {
    margin-bottom: 12px;
    font-size: clamp(26px, 3vw, 38px);
    line-height: 1.2;
}

.dg-delivery__section-heading p {
    color: var(--dg-muted);
    font-size: 16px;
}

.dg-delivery__section-number {
    display: flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    color: var(--dg-white);
    border-radius: 50%;
    background: var(--dg-blue);
    font-size: 13px;
    font-weight: 700;
}

/* Способы доставки */

.dg-delivery__methods {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.dg-delivery__method {
    padding: 27px;
    border: 1px solid var(--dg-border);
    border-radius: 14px;
    background: var(--dg-white);
    box-shadow: 0 8px 25px rgba(16, 43, 64, 0.05);
}

.dg-delivery__method-icon {
    display: flex;
    width: 50px;
    height: 50px;
    margin-bottom: 20px;
    align-items: center;
    justify-content: center;
    color: var(--dg-blue);
    border-radius: 12px;
    background: var(--dg-icon-bg);
}

.dg-delivery__method-icon svg {
    display: block;
    width: 27px;
    height: 27px;
}

.dg-delivery__method h3 {
    margin-bottom: 10px;
    font-size: 19px;
    line-height: 1.35;
}

.dg-delivery__method p {
    color: var(--dg-muted);
    font-size: 14px;
}

.dg-delivery__method ul {
    margin: 18px 0 0;
    padding-left: 20px;
    color: var(--dg-muted);
    font-size: 13px;
}

.dg-delivery__method li + li {
    margin-top: 7px;
}

.dg-delivery__address {
    margin-top: 17px;
    padding: 13px 15px;
    border-left: 3px solid var(--dg-blue);
    border-radius: 0 8px 8px 0;
    background: var(--dg-blue-light);
}

.dg-delivery__address span,
.dg-delivery__address strong {
    display: block;
}

.dg-delivery__address span {
    margin-bottom: 3px;
    color: var(--dg-muted);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.dg-delivery__address strong {
    color: var(--dg-heading);
    font-size: 14px;
}

.dg-delivery__small {
    margin-top: 13px !important;
    font-size: 12px !important;
}

/* Оплата */

.dg-delivery__payment-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.dg-delivery__payment-card {
    padding: 27px;
    border: 1px solid var(--dg-border);
    border-radius: 14px;
    background: var(--dg-white);
}

.dg-delivery__payment-card--free {
    border-color: var(--dg-blue-border);
    background: linear-gradient(145deg, #ffffff 0%, #edf6fc 100%);
}

.dg-delivery__payment-label {
    display: inline-block;
    margin-bottom: 14px;
    padding: 5px 9px;
    color: var(--dg-blue-dark);
    border-radius: 5px;
    background: var(--dg-blue-light);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.dg-delivery__payment-card h3 {
    margin-bottom: 12px;
    font-size: 20px;
    line-height: 1.35;
}

.dg-delivery__payment-card > p {
    color: var(--dg-muted);
    font-size: 14px;
}

.dg-delivery__payment-result,
.dg-delivery__payment-notice {
    margin-top: 19px;
    padding: 14px 15px;
    border-radius: 9px;
}

.dg-delivery__payment-result {
    color: #245c3c;
    border: 1px solid #cbe6d6;
    background: #f1faf5;
}

.dg-delivery__payment-result strong,
.dg-delivery__payment-result span {
    display: block;
}

.dg-delivery__payment-result strong {
    font-size: 14px;
}

.dg-delivery__payment-result span {
    margin-top: 3px;
    font-size: 12px;
}

.dg-delivery__payment-notice {
    color: #654f24;
    border: 1px solid #efd99c;
    background: #fff8e7;
    font-size: 13px;
}

.dg-delivery__payment-option {
    padding: 14px 0;
    border-top: 1px solid var(--dg-border);
}

.dg-delivery__payment-option:first-of-type {
    padding-top: 0;
    border-top: 0;
}

.dg-delivery__payment-option strong {
    display: block;
    margin-bottom: 3px;
    color: var(--dg-heading);
    font-size: 14px;
}

.dg-delivery__payment-option p {
    color: var(--dg-muted);
    font-size: 13px;
}

.dg-delivery__text-link {
    display: inline-flex;
    margin-top: 18px;
    align-items: center;
    color: var(--dg-blue);
    font-size: 14px;
    font-weight: 700;
}

.dg-delivery__text-link svg {
    display: block;
    width: 18px;
    height: 18px;
    margin-left: 7px;
    transition: transform 0.2s ease;
}

.dg-delivery__text-link:hover svg {
    transform: translateX(3px);
}

/* Этапы */

.dg-delivery__steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.dg-delivery__step {
    min-height: 190px;
    padding: 24px;
    border: 1px solid var(--dg-border);
    border-radius: 14px;
    background: var(--dg-white);
}

.dg-delivery__step > span {
    display: flex;
    width: 38px;
    height: 38px;
    margin-bottom: 18px;
    align-items: center;
    justify-content: center;
    color: var(--dg-white);
    border-radius: 50%;
    background: var(--dg-blue);
    font-size: 14px;
    font-weight: 700;
}

.dg-delivery__step h3 {
    margin-bottom: 8px;
    font-size: 17px;
}

.dg-delivery__step p {
    color: var(--dg-muted);
    font-size: 13px;
}

/* Организации */

.dg-delivery__business {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr) auto;
    gap: 22px;
    align-items: center;
    margin-bottom: 25px;
    padding: 34px;
    color: var(--dg-white);
    border-radius: 16px;
    background:
        linear-gradient(
            115deg,
            rgba(16, 43, 64, 0.98),
            rgba(32, 108, 166, 0.92)
        );
}

.dg-delivery__business-icon {
    display: flex;
    width: 58px;
    height: 58px;
    align-items: center;
    justify-content: center;
    color: var(--dg-white);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.12);
}

.dg-delivery__business-icon svg {
    display: block;
    width: 30px;
    height: 30px;
}

.dg-delivery__business h2 {
    margin-bottom: 7px;
    color: var(--dg-white);
    font-size: 25px;
}

.dg-delivery__business p {
    max-width: 760px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
}

.dg-delivery__business .dg-delivery__eyebrow {
    margin-bottom: 6px;
}

.dg-delivery__button {
    display: inline-flex;
    min-height: 46px;
    padding: 11px 19px;
    align-items: center;
    justify-content: center;
    color: var(--dg-blue-dark);
    border-radius: 8px;
    background: var(--dg-white);
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
}

.dg-delivery__button:hover {
    color: var(--dg-blue);
}

/* FAQ */

.dg-delivery__faq-list {
    border-top: 1px solid var(--dg-border);
}

.dg-delivery__faq-item {
    border-bottom: 1px solid var(--dg-border);
    background: var(--dg-white);
}

.dg-delivery__faq-item summary {
    position: relative;
    display: flex;
    min-height: 66px;
    padding: 17px 54px 17px 0;
    align-items: center;
    justify-content: space-between;
    color: var(--dg-heading);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
}

.dg-delivery__faq-item summary::-webkit-details-marker {
    display: none;
}

.dg-delivery__faq-item summary > span {
    position: absolute;
    top: 50%;
    right: 5px;
    width: 24px;
    height: 24px;
    transform: translateY(-50%);
}

.dg-delivery__faq-item summary > span::before,
.dg-delivery__faq-item summary > span::after {
    content: "";
    position: absolute;
    top: 11px;
    left: 5px;
    width: 14px;
    height: 2px;
    border-radius: 2px;
    background: var(--dg-blue);
    transition: transform 0.2s ease;
}

.dg-delivery__faq-item summary > span::after {
    transform: rotate(90deg);
}

.dg-delivery__faq-item[open] summary > span::after {
    transform: rotate(0);
}

.dg-delivery__faq-item > div {
    max-width: 850px;
    padding: 0 54px 20px 0;
    color: var(--dg-muted);
    font-size: 14px;
}

/* Заголовок Webasyst */

@supports selector(.page-content:has(.dg-delivery)) {
    .page-content:has(.dg-delivery) > h1 {
        margin-bottom: 24px;
        color: var(--dg-heading);
        font-size: clamp(28px, 3vw, 38px);
        line-height: 1.2;
    }
}

/* Адаптация */

@media (max-width: 1050px) {
    .dg-delivery__methods,
    .dg-delivery__payment-grid {
        grid-template-columns: 1fr;
    }

    .dg-delivery__steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .dg-delivery__hero-content {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 44px 34px;
    }

    .dg-delivery__hero-card {
        max-width: 520px;
    }

    .dg-delivery__summary {
        grid-template-columns: 1fr;
    }

    .dg-delivery__business {
        grid-template-columns: 58px minmax(0, 1fr);
    }

    .dg-delivery__button {
        grid-column: 2;
        justify-self: start;
    }
}

@media (max-width: 600px) {
    .dg-delivery {
        font-size: 15px;
    }

    .dg-delivery__hero {
        border-radius: 14px;
    }

    .dg-delivery__hero-content {
        padding: 32px 22px;
    }

    .dg-delivery__hero h2 {
        font-size: 32px;
    }

    .dg-delivery__hero-text > p {
        font-size: 15px;
    }

    .dg-delivery__hero-card {
        padding: 23px;
    }

    .dg-delivery__hero-price {
        font-size: 46px;
    }

    .dg-delivery__section,
    .dg-delivery__faq {
        padding: 46px 0;
    }

    .dg-delivery__section--light {
        padding-right: 20px;
        padding-left: 20px;
        border-radius: 12px;
    }

    .dg-delivery__section-heading {
        display: block;
        margin-bottom: 28px;
    }

    .dg-delivery__section-number {
        margin-bottom: 14px;
    }

    .dg-delivery__method,
    .dg-delivery__payment-card {
        padding: 22px 20px;
    }

    .dg-delivery__steps {
        grid-template-columns: 1fr;
    }

    .dg-delivery__step {
        min-height: 0;
    }

    .dg-delivery__business {
        display: block;
        padding: 27px 22px;
    }

    .dg-delivery__business-icon {
        margin-bottom: 18px;
    }

    .dg-delivery__business h2 {
        font-size: 22px;
    }

    .dg-delivery__button {
        width: 100%;
        margin-top: 20px;
    }

    .dg-delivery__faq-item summary {
        padding-right: 42px;
        font-size: 15px;
    }

    .dg-delivery__faq-item > div {
        padding-right: 42px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .dg-delivery__text-link svg,
    .dg-delivery__faq-item summary > span::after {
        transition: none;
    }
}