/* Страница доставки */

.gm-delivery-page {
  --gd-blue: #0069d9;
  --gd-ink: #20242b;
  --gd-muted: #626b77;
  --gd-line: #dfe5ed;
  --gd-soft: #f3f5f8;

  color: var(--gd-ink);
  background: #fff;

  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Arial,
    sans-serif;

  -webkit-font-smoothing: antialiased;
}

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

.gm-delivery-page a:focus-visible {
  outline: 3px solid var(--gd-blue);
  outline-offset: 4px;
}

.gm-delivery-page .gd-eyebrow {
  margin: 0 0 18px;
  color: var(--gd-muted);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.06em;
}

/* Первый экран */

.gm-delivery-page .gd-intro {
  padding: 20px 0 56px;
}

.gm-delivery-page .gd-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
  color: var(--gd-muted);
  font-size: 12px;
}

.gm-delivery-page .gd-breadcrumb a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--gd-muted);
  text-decoration: none;
}

.gm-delivery-page .gd-heading {
  margin: 0;
  color: var(--gd-ink);
  font-size: clamp(38px, 4.3vw, 60px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.05em;
}

.gm-delivery-page .gd-heading span {
  color: var(--gd-blue);
}

.gm-delivery-page .gd-lead {
  max-width: 650px;
  margin: 26px 0 0;
  color: var(--gd-muted);
  font-size: 17px;
  line-height: 1.8;
}

/* Основная сетка */

.gm-delivery-page .gd-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  align-items: start;
  gap: 64px;
}

.gm-delivery-page .gd-sidebar {
  position: sticky;
  top: 24px;
  min-width: 0;
}

.gm-delivery-page .gd-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.gm-delivery-page .gd-nav__link {
  display: block;
  padding: 14px 16px;
  border: 1px solid transparent;
  border-radius: 10px;

  color: var(--gd-muted);
  font-size: 14px;
  line-height: 1.5;
  text-decoration: none;
}

.gm-delivery-page .gd-nav__link[aria-current="location"] {
  color: var(--gd-blue);
  background: #edf4ff;
  border-color: #d7e5f8;
}

.gm-delivery-page .gd-sidebar__help {
  margin-top: 26px;
  padding: 22px 16px;
  border-top: 1px solid var(--gd-line);
}

.gm-delivery-page .gd-sidebar__help p {
  margin: 0 0 12px;
  color: var(--gd-muted);
  font-size: 13px;
  line-height: 1.6;
}

.gm-delivery-page .gd-sidebar__help a {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 44px;
  color: var(--gd-blue);
  font-size: 14px;
  text-decoration: none;
}

/* Разделы текста */

.gm-delivery-page .gd-content {
  min-width: 0;
}

.gm-delivery-page .gd-block {
  padding: 0 0 46px;
  margin-bottom: 44px;
  border-bottom: 1px solid var(--gd-line);
  scroll-margin-top: 32px;
}

.gm-delivery-page .gd-block:last-child {
  margin-bottom: 0;
}

.gm-delivery-page .gd-title {
  margin: 0 0 24px;
  color: var(--gd-ink);
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.035em;
}

.gm-delivery-page .gd-block p {
  margin: 0 0 18px;
  color: var(--gd-muted);
  font-size: 15px;
  line-height: 1.8;
}

.gm-delivery-page .gd-block > .gd-eyebrow {
  font-size: 12px;
}

.gm-delivery-page .gd-block h3 {
  margin: 0 0 12px;
  color: var(--gd-ink);
  font-size: 21px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.025em;
}

/* Пояснения и способы доставки */

.gm-delivery-page .gd-note {
  margin-top: 26px;
  padding: 26px;
  border: 1px solid var(--gd-line);
  border-radius: 16px;
  background: var(--gd-soft);
}

.gm-delivery-page .gd-note p:last-child,
.gm-delivery-page .gd-fact p:last-child {
  margin-bottom: 0;
}

.gm-delivery-page .gd-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 26px;
}

.gm-delivery-page .gd-fact {
  padding: 24px;
  border: 1px solid var(--gd-line);
  border-radius: 16px;
}

.gm-delivery-page .gd-method {
  padding: 26px 0;
  border-top: 1px solid var(--gd-line);
}

.gm-delivery-page .gd-method:last-of-type {
  padding-bottom: 0;
}

.gm-delivery-page .gd-text-link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-height: 44px;
  color: var(--gd-blue);
  font-size: 14px;
  text-decoration: none;
}

/* Порядок приёмки */

.gm-delivery-page .gd-checklist {
  margin: 26px 0;
  padding: 0;
  list-style: none;
  counter-reset: acceptance;
}

.gm-delivery-page .gd-checklist li {
  position: relative;
  min-height: 50px;
  padding: 24px 0 24px 58px;
  border-top: 1px solid var(--gd-line);
  counter-increment: acceptance;
}

.gm-delivery-page .gd-checklist li::before {
  content: counter(acceptance, decimal-leading-zero);
  position: absolute;
  top: 26px;
  left: 0;
  color: var(--gd-blue);
  font-size: 13px;
  font-weight: 500;
}

.gm-delivery-page .gd-checklist li p {
  margin-bottom: 0;
}

/* Обращение */

.gm-delivery-page .gd-contact {
  padding: 64px 0 80px;
}

.gm-delivery-page .gd-contact__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;

  padding: 44px;
  border: 1px solid #dbe5f2;
  border-radius: 22px;
  background: #f2f7ff;
}

.gm-delivery-page .gd-contact__inner > div {
  max-width: 690px;
}

.gm-delivery-page .gd-contact__inner .gd-title {
  margin-bottom: 18px;
}

.gm-delivery-page .gd-contact__inner p:not(.gd-eyebrow) {
  margin: 0;
  color: var(--gd-muted);
  font-size: 15px;
  line-height: 1.75;
}

.gm-delivery-page .gd-button {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  gap: 24px;

  min-height: 52px;
  padding: 14px 22px;
  border: 1px solid transparent;
  border-radius: 12px;

  color: #fff;
  background: var(--gd-blue);
  font-size: 14px;
  line-height: 1.5;
  text-decoration: none;

  transition: transform 150ms cubic-bezier(0.23, 1, 0.32, 1);
}

.gm-delivery-page .gd-button:active {
  transform: scale(0.98);
}

.gm-delivery-page .gd-button:focus-visible {
  transform: none;
  transition: none;
}

@media (hover: hover) and (pointer: fine) {
  .gm-delivery-page .gd-nav__link:hover {
    color: var(--gd-blue);
    background: #f2f6fc;
  }

  .gm-delivery-page .gd-button:hover {
    color: #fff;
    background: #005abb;
  }

  .gm-delivery-page .gd-text-link:hover,
  .gm-delivery-page .gd-sidebar__help a:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
  }
}

/* Планшет */

@media (max-width: 991px) {
  .gm-delivery-page .gd-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .gm-delivery-page .gd-sidebar {
    position: static;
  }

  .gm-delivery-page .gd-nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
  }

  .gm-delivery-page .gd-nav__link {
    padding: 11px 14px;
    border-color: var(--gd-line);
    font-size: 13px;
  }

  .gm-delivery-page .gd-sidebar__help {
    display: none;
  }

  .gm-delivery-page .gd-contact__inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Телефон */

@media (max-width: 575px) {
  .gm-delivery-page .gd-intro {
    padding: 12px 0 32px;
  }

  .gm-delivery-page .gd-breadcrumb {
    margin-bottom: 24px;
  }

  .gm-delivery-page .gd-heading {
    font-size: clamp(34px, 9vw, 46px);
  }

  .gm-delivery-page .gd-lead {
    margin-top: 22px;
    font-size: 15px;
  }

  .gm-delivery-page .gd-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gm-delivery-page .gd-nav__link {
    font-size: 12px;
    padding: 11px;
  }

  .gm-delivery-page .gd-block {
    padding-bottom: 32px;
    margin-bottom: 32px;
  }

  .gm-delivery-page .gd-block p {
    font-size: 14px;
  }

  .gm-delivery-page .gd-note,
  .gm-delivery-page .gd-fact {
    padding: 22px;
  }

  .gm-delivery-page .gd-facts {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .gm-delivery-page .gd-checklist li {
    padding-left: 40px;
  }

  .gm-delivery-page .gd-contact {
    padding: 40px 0 48px;
  }

  .gm-delivery-page .gd-contact__inner {
    padding: 28px 22px;
    gap: 26px;
    border-radius: 16px;
  }

  .gm-delivery-page .gd-button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gm-delivery-page .gd-button {
    transition: none;
  }

  .gm-delivery-page .gd-button:active {
    transform: none;
  }
}