@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Oswald:wght@500;600&display=swap");

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.delivery-body {
  overflow-x: auto;
  background: #F5F5F5;
}

.delivery-frame {
  position: relative;
  width: 1440px;
  height: 2421px;
  margin: 0 auto;
  overflow: hidden;
  background: #F5F5F5;
  color: #111746;
  font-family: Inter, Arial, sans-serif;
}

.delivery-header {
  position: fixed;
  left: 50%;
  top: 0;
  z-index: 50;
  width: 1440px;
  height: 70px;
  padding: 0 52px 1px;
  border-bottom: 1px solid #f3f4f6;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(6px);
  transform: translateX(-50%);
}

.delivery-header__inner {
  position: relative;
  width: 1336px;
  height: 58px;
}

.delivery-brand {
  position: absolute;
  left: 0;
  top: 3px;
  display: block;
  width: 237px;
  height: 52px;
}

.delivery-brand img { width: 237px; height: 52px; }

.delivery-nav {
  position: absolute;
  left: 298px;
  top: 9px;
  width: 548px;
  height: 40px;
  font-size: 14px;
  font-weight: 500;
  line-height: 21px;
}

.delivery-nav > a {
  position: absolute;
  top: 10px;
}

.delivery-nav > a:nth-child(2) { left: 182px; }
.delivery-nav > a:nth-child(3) { left: 297px; }
.delivery-nav > a:nth-child(4) { left: 404px; }
.delivery-nav > a:nth-child(5) { left: 483px; }

.delivery-catalog-btn {
  left: 0;
  top: 0 !important;
  display: block;
  width: 151.5px;
  height: 40px;
  padding: 10px 24px;
  border-radius: 999px;
  background: #386EF2;
  color: #fff;
  font-weight: 600;
  box-shadow: 0 1px 1px rgba(0,0,0,.05);
}

.delivery-catalog-btn img:first-child {
  position: absolute;
  left: 24px;
  top: 14px;
  width: 10.5px;
  height: 12px;
}

.delivery-catalog-btn span {
  position: absolute;
  left: 42.5px;
  top: 10px;
  width: 65px;
  height: 20px;
  line-height: 20px;
  text-align: center;
}

.delivery-catalog-btn img:last-child {
  position: absolute;
  left: 115.5px;
  top: 14px;
  width: 12px;
  height: 12px;
}

.delivery-search {
  position: absolute;
  left: 907px;
  top: 9px;
  width: 155px;
  height: 40px;
  padding: 4px 4px 4px 16px;
  border-radius: 999px;
  background: #f2f4f6;
  color: #9ca3af;
}

.delivery-search span {
  position: absolute;
  left: 16px;
  top: 11px;
  width: 101px;
  height: 17px;
  overflow: hidden;
  white-space: nowrap;
  font-size: 14px;
  line-height: 17px;
}

.delivery-search b {
  position: absolute;
  left: 120px;
  top: 4px;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 999px;
  background: #fff;
}

.delivery-search b img { width: 12px; height: 12px; }

.delivery-phone {
  position: absolute;
  left: 1124px;
  top: 13px;
  display: flex;
  align-items: center;
  width: 156px;
  height: 32px;
  padding: 8px 20px;
  border-radius: 999px;
  background: #f2f4f6;
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
  white-space: nowrap;
}

.delivery-cart {
  position: absolute;
  left: 1296px;
  top: 9px;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 999px;
  background: #f2f4f6;
}

.delivery-cart > img { width: 14px; height: 16px; }
.delivery-cart span {
  position: absolute;
  right: -4px;
  top: -5px;
  display: grid;
  width: 16px;
  height: 18px;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 999px;
  background: #386EF2;
  color: #fff;
  font-size: 9px;
  line-height: 14px;
}

.delivery-main {
  position: absolute;
  left: 20px;
  top: 70px;
  width: 1400px;
  height: 1970px;
  padding: 32px 32px 48px;
}

.delivery-crumbs {
  position: absolute;
  left: 32px;
  top: 32px;
  display: flex;
  align-items: center;
  gap: 8px;
  width: 1336px;
  height: 20px;
  font-size: 14px;
  line-height: 20px;
}

.delivery-crumbs a { width: 68px; color: #111746; }
.delivery-crumbs img { width: 7.5px; height: 12px; }
.delivery-crumbs span { color: #111746; font-weight: 500; }

.delivery-page-title {
  position: absolute;
  left: 32px;
  top: 84px;
  width: 1336px;
  height: 60px;
  text-align: center;
}

.delivery-page-title h1 {
  margin: 0;
  font-family: Oswald, Arial, sans-serif;
  font-size: 60px;
  font-weight: 500;
  line-height: 60px;
  text-transform: uppercase;
}

.delivery-options {
  position: absolute;
  left: 32px;
  top: 176px;
  display: flex;
  gap: 32px;
  width: 1336px;
  height: 510px;
  padding: 32px 0 48px;
}

.delivery-card {
  border: 1px solid #f0f2f5;
  border-radius: 24px;
  background: #fff;
}

.delivery-spb-card {
  position: relative;
  width: 880px;
  height: 430px;
  padding: 33px;
}

.delivery-card-head {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 64px;
}

.delivery-badge {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border-radius: 24px;
}

.delivery-badge--blue { background: #386EF2; }
.delivery-badge--green { background: #22c55e; }
.delivery-badge--violet { background: #a855f7; }
.delivery-badge img { max-width: 34px; max-height: 30px; }

.delivery-card-head h2 {
  margin: 0;
  font-family: Oswald, Arial, sans-serif;
  font-size: 24px;
  font-weight: 500;
  line-height: 32px;
  text-transform: uppercase;
}

.delivery-card-head p {
  margin: 4px 0 0;
  color: #111746;
  font-size: 14px;
  line-height: 20px;
}

.delivery-list {
  position: absolute;
  left: 33px;
  top: 121px;
  width: 814px;
  height: 276px;
}

.delivery-list-item {
  position: relative;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.delivery-spb-card .delivery-list-item:nth-child(1) { height: 72px; }
.delivery-spb-card .delivery-list-item:nth-child(2) { height: 104px; margin-top: 24px; }
.delivery-spb-card .delivery-list-item:nth-child(3) { height: 52px; margin-top: 24px; }

.delivery-mini {
  display: grid;
  width: 32px;
  height: 32px;
  margin-top: 4px;
  place-items: center;
  border-radius: 999px;
}

.delivery-mini img { width: 14px; height: 14px; }
.delivery-mini--green { background: #dcfce7; }
.delivery-mini--blue { background: #dbeafe; }
.delivery-mini--yellow { background: #fef3c7; }
.delivery-mini--violet { background: #f3e8ff; }

.delivery-list h3,
.delivery-directions h3,
.delivery-map-card h3,
.delivery-address h3 {
  margin: 0 0 8px;
  font-family: Oswald, Arial, sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
}

.delivery-list p,
.delivery-list small,
.delivery-region__left p,
.delivery-directions li,
.delivery-address p {
  margin: 0;
  color: #111746;
  font-size: 14px;
  line-height: 20px;
}

.delivery-list small {
  display: block;
  margin: 8px 0;
  color: #111746;
  font-size: 12px;
  line-height: 16px;
}

.delivery-list strong { color: #111746; font-weight: 600; }

.delivery-fast-card {
  position: relative;
  width: 424px;
  height: 430px;
  padding: 33px;
  background: #fff;
}

.delivery-fast-icon {
  position: absolute;
  left: 172px;
  top: 33px;
  display: grid;
  width: 80px;
  height: 80px;
  place-items: center;
  border-radius: 999px;
  background: #386EF2;
}

.delivery-fast-icon img { width: 37.5px; height: 30px; }

.delivery-fast-card h3 {
  position: absolute;
  left: 33px;
  top: 129px;
  width: 358px;
  margin: 0;
  font-family: Oswald, Arial, sans-serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 28px;
  text-align: center;
  text-transform: uppercase;
}

.delivery-fast-card > p {
  position: absolute;
  left: 53px;
  top: 170px;
  width: 304px;
  margin: 0;
  color: #111746;
  font-size: 14px;
  line-height: 20px;
  text-align: center;
}

.delivery-metric {
  position: absolute;
  left: 33px;
  width: 358px;
  height: 86px;
  padding: 17px;
  border: 1px solid #f3f4f6;
  border-radius: 16px;
  background: #fff;
  text-align: center;
}

.delivery-metric:nth-of-type(1) { top: 209px; }
.delivery-metric:nth-of-type(2) { top: 311px; }
.delivery-metric strong {
  display: block;
  color: #386EF2;
  font-size: 24px;
  font-weight: 600;
  line-height: 32px;
}
.delivery-metric span {
  display: block;
  color: #111746;
  font-size: 12px;
  line-height: 16px;
}

.delivery-region {
  position: absolute;
  left: 32px;
  top: 718px;
  width: 1336px;
  height: 318px;
  padding: 33px;
}

.delivery-region__body {
  position: absolute;
  left: 33px;
  top: 121px;
  width: 1270px;
  height: 164px;
}

.delivery-region__left {
  position: absolute;
  left: 0;
  top: 22px;
  width: 619px;
  height: 120px;
}

.delivery-region__left p {
  height: 48px;
  font-size: 16px;
  line-height: 24px;
}

.delivery-map-btn {
  position: absolute;
  left: 0;
  top: 72px;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 342px;
  height: 48px;
  padding: 12px 24px;
  border-radius: 12px;
  background: #386EF2;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -4px rgba(0,0,0,.1);
}

.delivery-map-btn img:first-child { width: 20.25px; height: 18px; }
.delivery-map-btn img:last-child { width: 14px; height: 14px; margin-left: auto; }

.delivery-directions {
  position: absolute;
  left: 651px;
  top: 0;
  width: 619px;
  height: 164px;
  padding: 24px;
  border-radius: 16px;
  background: #F5F5F5;
}

.delivery-directions h3 { margin-bottom: 16px; }
.delivery-directions ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  row-gap: 8px;
  column-gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.delivery-directions li::before {
  content: "✓";
  margin-right: 8px;
  color: #22c55e;
  font-weight: 700;
}

.delivery-pickup {
  position: absolute;
  left: 32px;
  top: 1068px;
  display: flex;
  gap: 32px;
  width: 1336px;
  height: 574px;
  padding-top: 32px;
}

.delivery-pickup-card,
.delivery-map-card {
  position: relative;
  width: 652px;
  height: 510px;
  padding: 33px;
}

.delivery-list--pickup {
  width: 586px;
  height: 356px;
}

.delivery-list--pickup .delivery-list-item:nth-child(1) { height: 76px; }
.delivery-list--pickup .delivery-list-item:nth-child(2) { height: 52px; margin-top: 24px; }
.delivery-list--pickup .delivery-list-item:nth-child(3) { height: 72px; margin-top: 24px; }

.delivery-address {
  position: absolute;
  left: 0;
  top: 272px;
  width: 586px;
  height: 84px;
  padding: 16px;
  border-radius: 12px;
  background: #F5F5F5;
}

.delivery-address h3 {
  display: flex;
  align-items: center;
  gap: 12px;
}
.delivery-address h3 img { width: 12px; height: 16px; }

.delivery-map-card h3 {
  font-size: 20px;
  font-weight: 500;
  line-height: 28px;
  text-transform: uppercase;
}

.delivery-map {
  position: absolute;
  left: 33px;
  top: 85px;
  width: 586px;
  height: 320px;
  object-fit: cover;
  border-radius: 16px;
}

.delivery-map-card a {
  position: absolute;
  left: 33px;
  top: 429px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #386EF2;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
}

.delivery-map-card a img { width: 16px; height: 16px; }

.delivery-route-map {
  position: absolute;
  left: 33px;
  top: 85px;
  display: grid;
  grid-template-columns: 1fr 180px;
  gap: 16px;
  width: 586px;
  height: 320px;
  padding: 14px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid #e8eef5;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.85);
}

.delivery-route-map svg {
  width: 100%;
  height: 100%;
  border-radius: 16px;
}

.delivery-map-card .delivery-route-zoom {
  position: static;
  display: flex;
  align-items: center;
  min-width: 0;
  cursor: zoom-in;
}

.delivery-map-card .delivery-route-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 12px;
}

.delivery-route-map ol {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.delivery-route-map li {
  position: relative;
  min-height: 66px;
  padding: 12px 12px 12px 38px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #edf1f5;
}

.delivery-route-map li::before {
  content: counter(list-item);
  position: absolute;
  left: 12px;
  top: 12px;
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border-radius: 999px;
  background: #386EF2;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}

.delivery-route-map b {
  display: block;
  margin-bottom: 4px;
  font-size: 12px;
  line-height: 1.15;
  color: #111746;
  text-transform: uppercase;
}

.delivery-route-map span {
  display: block;
  color: #111746;
  font-size: 12px;
  line-height: 1.3;
}

.delivery-map-links {
  position: absolute;
  left: 33px;
  top: 429px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.delivery-map-card .delivery-map-links a {
  position: static;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #386EF2;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
}

.delivery-map-card .delivery-map-links a:last-child {
  color: #111746;
}

.delivery-map-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
}

.delivery-map-modal:target {
  display: flex;
}

.delivery-map-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(28, 33, 45, .45);
  backdrop-filter: blur(8px);
}

.delivery-map-modal__panel {
  position: relative;
  z-index: 1;
  width: min(960px, 100%);
  max-height: calc(100vh - 56px);
  overflow: auto;
  padding: 34px;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 30px 80px rgba(31, 41, 55, .24);
}

.delivery-map-modal__close {
  position: absolute;
  right: 22px;
  top: 20px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 999px;
  background: #f2f4f6;
  color: #111746;
  font-size: 30px;
  line-height: 1;
}

.delivery-map-modal__panel > span {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 14px;
  border-radius: 999px;
  background: #eaf3fb;
  color: #386EF2;
  font-size: 13px;
  font-weight: 700;
}

.delivery-map-modal h2 {
  margin: 18px 56px 12px 0;
  font-family: Oswald, Arial, sans-serif;
  font-size: 44px;
  font-weight: 500;
  line-height: 1;
  text-transform: uppercase;
}

.delivery-map-modal p {
  max-width: 760px;
  margin: 0 0 24px;
  color: #111746;
  font-size: 16px;
  line-height: 1.55;
}

.delivery-zone-map {
  position: relative;
  overflow: hidden;
  margin: 0 0 20px;
  border: 1px solid #edf1f5;
  border-radius: 22px;
  background: #F5F5F5;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.75);
}

.delivery-zone-map iframe {
  display: block;
  width: 100%;
  height: 430px;
  border: 0;
}

.delivery-zone-map a {
  position: absolute;
  right: 16px;
  bottom: 16px;
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 999px;
  background: rgba(255,255,255,.94);
  color: #111746;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 12px 30px rgba(45,49,66,.14);
}

.delivery-zone-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.delivery-zone-grid article {
  min-height: 140px;
  padding: 20px;
  border-radius: 20px;
  background: #F5F5F5;
  border: 1px solid #edf1f5;
}

.delivery-zone-grid b,
.delivery-zone-grid strong,
.delivery-zone-grid em {
  display: block;
}

.delivery-zone-grid b {
  margin-bottom: 10px;
  color: #386EF2;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.delivery-zone-grid strong {
  color: #111746;
  font-size: 16px;
  line-height: 1.3;
}

.delivery-zone-grid em {
  margin-top: 10px;
  color: #111746;
  font-size: 13px;
  font-style: normal;
  line-height: 1.35;
}

.delivery-zone-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 22px;
  padding: 0 24px;
  border-radius: 999px;
  background: #111746;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
}

.delivery-question {
  position: absolute;
  left: 32px;
  top: 1674px;
  width: 1336px;
  height: 248px;
  padding: 33px;
  text-align: center;
}

.delivery-question > div {
  position: absolute;
  left: 221px;
  top: 33px;
  width: 894px;
  height: 182px;
}

.delivery-question h2 {
  margin: 0;
  font-family: Oswald, Arial, sans-serif;
  font-size: 28px;
  font-weight: 500;
  line-height: 36px;
  text-transform: uppercase;
}

.delivery-question p {
  margin: 16px 0 0;
  color: #111746;
  font-size: 16px;
  line-height: 24px;
}

.delivery-question__actions {
  position: absolute;
  left: 71px;
  top: 116px;
  display: flex;
  gap: 16px;
  height: 66px;
  padding-top: 16px;
}

.delivery-question__actions a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 50px;
  border-radius: 16px;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
}
.delivery-question__phone {
  width: 241px;
  background: #386EF2;
  color: #fff;
}
.delivery-question__telegram {
  width: 254px;
  border: 1px solid #e5e7eb;
  background: #fff;
}
.delivery-question__max {
  width: 226px;
  border: 1px solid #e5e7eb;
  background: #fff;
}
.delivery-question__actions img { width: 16px; height: 16px; }

.delivery-footer {
  position: absolute;
  left: 0;
  top: 2120px;
  width: 1440px;
  height: 293px;
  background: #fff;
}

.delivery-footer__top {
  position: absolute;
  left: 20px;
  top: 61px;
  width: 1400px;
  height: 124px;
}

.delivery-footer__top > section {
  position: absolute;
  top: 0;
}
.delivery-footer__top > section:nth-child(1) { left: 0; width: 592px; }
.delivery-footer__top > section:nth-child(2) { left: 654px; width: 131px; }
.delivery-footer__top > section:nth-child(3) { left: 833px; width: 131px; }
.delivery-footer__top > section:nth-child(4) { left: 1012px; width: 177px; }
.delivery-footer__top > section:nth-child(5) { left: 1191px; width: 177px; }

.delivery-footer__brand div {
  position: absolute;
  left: 32px;
  top: 0;
  display: block;
  width: 266px;
  height: 58px;
}
.delivery-footer__brand { height: 124px; }
.delivery-footer__brand img { width: 266px; height: 52px; }
.delivery-footer__brand p {
  position: absolute;
  left: 32px;
  top: 68px;
  width: 249px;
  height: 20px;
  margin: 0;
  color: #111746;
  font-size: 12px;
  line-height: 20px;
}

.delivery-footer h4 {
  margin: 0 0 16px;
  font-family: Oswald, Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  letter-spacing: .7px;
  text-transform: uppercase;
}

.delivery-footer a {
  display: block;
  margin: 0 0 8px;
  color: #111746;
  font-size: 12px;
  line-height: 16px;
}

.delivery-footer__social img { width: 17.44px; height: 18px; }

.delivery-footer__phone,
.delivery-footer__cta {
  position: absolute;
  top: 160px;
  display: flex;
  align-items: center;
  height: 32px;
  padding: 8px 20px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
}
.delivery-footer__phone {
  left: 49px;
  width: 156px;
  background: #f9f9f9;
  color: #111746 !important;
  white-space: nowrap;
}
.delivery-footer__cta {
  left: 219px;
  width: 105px;
  background: #386EF2;
  color: #fff !important;
}

.delivery-footer__bottom {
  position: absolute;
  left: 20px;
  top: 217px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  width: 1400px;
  height: 48px;
  padding-top: 33px;
  border-top: 1px solid #e5e7eb;
  color: #9ca3af;
  font-size: 10px;
  line-height: 15px;
}
.delivery-footer__bottom div { display: flex; gap: 24px; }
.delivery-footer__bottom a {
  margin: 0;
  color: #9ca3af;
  font-size: 10px;
  line-height: 15px;
}

/* ============================================================
   MOBILE (<= 760px)
   ============================================================ */
@media (max-width: 900px) {
  *, *::before, *::after { box-sizing: border-box; }
  html, body { overflow-x: hidden; }

  .delivery-body { overflow-x: hidden; background: #F5F5F5; }

  .delivery-frame {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 0;
    margin: 0;
    transform: none !important;
    overflow: visible;
  }

  /* ---------- Main flow ---------- */
  .delivery-main {
    position: static;
    width: 100%;
    height: auto;
    padding: 68px 14px 24px;
  }

  /* Reset every absolute body section to normal flow */
  .delivery-crumbs,
  .delivery-page-title,
  .delivery-options,
  .delivery-region,
  .delivery-pickup,
  .delivery-question {
    position: static !important;
    left: auto !important;
    top: auto !important;
    right: auto !important;
    width: 100% !important;
    height: auto !important;
  }

  /* ---------- Breadcrumbs ---------- */
  .delivery-crumbs {
    flex-wrap: wrap;
    margin: 0 0 16px;
    font-size: 13px;
  }
  .delivery-crumbs a { width: auto; }

  /* ---------- Page title ---------- */
  .delivery-page-title { margin: 0 0 20px; }
  .delivery-page-title h1 { font-size: 38px; line-height: 1.1; }

  /* ---------- Cards: common ---------- */
  .delivery-card { border-radius: 18px; }

  .delivery-spb-card,
  .delivery-fast-card,
  .delivery-region,
  .delivery-pickup-card,
  .delivery-map-card,
  .delivery-question {
    padding: 20px !important;
  }

  /* ---------- Options row -> single column ---------- */
  .delivery-options {
    flex-direction: column;
    gap: 16px;
    padding: 0;
    margin: 0 0 16px;
  }

  .delivery-spb-card,
  .delivery-fast-card {
    width: 100% !important;
  }

  .delivery-card-head { height: auto; }
  .delivery-card-head h2 { font-size: 20px; line-height: 1.2; }

  .delivery-badge { width: 52px; height: 52px; border-radius: 18px; }

  /* delivery-list flows under the head */
  .delivery-list {
    position: static !important;
    left: auto !important;
    top: auto !important;
    width: 100% !important;
    height: auto !important;
    margin-top: 16px;
  }

  .delivery-spb-card .delivery-list-item,
  .delivery-list--pickup .delivery-list-item {
    height: auto !important;
    margin-top: 16px !important;
  }
  .delivery-spb-card .delivery-list-item:first-child,
  .delivery-list--pickup .delivery-list-item:first-child {
    margin-top: 0 !important;
  }

  .delivery-list p,
  .delivery-region__left p,
  .delivery-address p { font-size: 14px; }
  .delivery-list p br,
  .delivery-region__left p br,
  .delivery-list--pickup p br { display: none; }

  /* ---------- Fast card ---------- */
  .delivery-fast-card {
    height: auto !important;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .delivery-fast-icon {
    position: static !important;
    left: auto !important;
    top: auto !important;
    margin-bottom: 16px;
  }
  .delivery-fast-card h3 {
    position: static !important;
    left: auto !important;
    top: auto !important;
    width: 100% !important;
  }
  .delivery-fast-card > p {
    position: static !important;
    left: auto !important;
    top: auto !important;
    width: 100% !important;
    margin: 8px 0 0;
  }
  .delivery-fast-card > p br { display: none; }
  .delivery-metric {
    position: static !important;
    left: auto !important;
    top: auto !important;
    width: 100% !important;
    height: auto !important;
    margin-top: 16px;
  }

  /* ---------- Region card ---------- */
  .delivery-region { margin: 0 0 16px; }
  .delivery-region__body {
    position: static !important;
    left: auto !important;
    top: auto !important;
    width: 100% !important;
    height: auto !important;
    margin-top: 16px;
  }
  .delivery-region__left {
    position: static !important;
    left: auto !important;
    top: auto !important;
    width: 100% !important;
    height: auto !important;
  }
  .delivery-map-btn {
    position: static !important;
    left: auto !important;
    top: auto !important;
    width: 100% !important;
    margin-top: 16px;
    box-sizing: border-box;
  }
  .delivery-directions {
    position: static !important;
    left: auto !important;
    top: auto !important;
    width: 100% !important;
    height: auto !important;
    margin-top: 16px;
  }
  .delivery-directions ul { grid-template-columns: 1fr 1fr; }

  /* ---------- Pickup row -> single column ---------- */
  .delivery-pickup {
    flex-direction: column;
    gap: 16px;
    padding-top: 0;
    margin: 0 0 16px;
  }
  .delivery-pickup-card,
  .delivery-map-card {
    width: 100% !important;
    height: auto !important;
  }
  .delivery-list--pickup {
    width: 100% !important;
    height: auto !important;
  }
  .delivery-address {
    position: static !important;
    left: auto !important;
    top: auto !important;
    width: 100% !important;
    height: auto !important;
    margin-top: 16px;
  }

  /* ---------- Map card ---------- */
  .delivery-map-card h3 {
    position: static;
    margin-bottom: 16px;
  }
  .delivery-map {
    position: static !important;
    left: auto !important;
    top: auto !important;
    width: 100% !important;
    height: 220px !important;
  }
  .delivery-route-map {
    position: static !important;
    left: auto !important;
    top: auto !important;
    grid-template-columns: 1fr !important;
    width: 100% !important;
    height: auto !important;
    padding: 12px !important;
  }
  .delivery-route-map svg {
    height: 220px !important;
  }
  .delivery-map-card .delivery-route-img {
    height: auto !important;
  }
  .delivery-map-card .delivery-route-zoom {
    margin-top: 0 !important;
  }
  .delivery-route-map ol {
    gap: 8px !important;
  }
  .delivery-route-map li {
    min-height: auto !important;
  }
  .delivery-map-card a {
    position: static !important;
    left: auto !important;
    top: auto !important;
    margin-top: 16px;
  }
  .delivery-map-links {
    position: static !important;
    left: auto !important;
    top: auto !important;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-top: 14px;
  }
  .delivery-map-card .delivery-map-links a {
    margin-top: 0 !important;
  }
  .delivery-map-modal {
    padding: 16px;
  }
  .delivery-map-modal__panel {
    padding: 24px 18px;
    border-radius: 22px;
  }
  .delivery-map-modal h2 {
    margin-right: 48px;
    font-size: 34px;
  }
  .delivery-zone-map {
    margin-bottom: 16px;
    border-radius: 18px;
  }
  .delivery-zone-map iframe {
    height: 360px;
  }
  .delivery-zone-map a {
    position: static;
    width: calc(100% - 24px);
    margin: 12px;
  }
  .delivery-zone-grid {
    grid-template-columns: 1fr;
  }

  /* ---------- Questions CTA ---------- */
  .delivery-question {
    margin: 0;
    text-align: center;
  }
  .delivery-question > div {
    position: static !important;
    left: auto !important;
    top: auto !important;
    width: 100% !important;
    height: auto !important;
  }
  .delivery-question h2 { font-size: 24px; line-height: 1.2; }
  .delivery-question p { font-size: 15px; }
  .delivery-question p br { display: none; }
  .delivery-question__actions {
    position: static !important;
    left: auto !important;
    top: auto !important;
    flex-direction: column;
    gap: 12px;
    height: auto !important;
    padding-top: 16px;
  }
  .delivery-question__phone,
  .delivery-question__telegram,
  .delivery-question__max {
    width: 100% !important;
  }
}

/* ============================================================
   Новая компоновка страницы (правки 18.10.2026)
   ============================================================ */
.dlv {
  position: absolute;
  left: 32px;
  top: 176px;
  width: 1336px;
  display: grid;
  gap: 32px;
  padding-top: 32px;
}
.dlv-top { display: grid; grid-template-columns: 720px 1fr; gap: 32px; }
.dlv-col { display: grid; gap: 32px; align-content: start; }
.dlv-bottom { display: grid; grid-template-columns: 560px 1fr; gap: 32px; }
.dlv-card {
  padding: 32px 36px;
  border: 1px solid #f0f2f5;
  border-radius: 24px;
  background: #fff;
}
.dlv-card h2 {
  margin: 0 0 20px;
  font-family: Oswald, Arial, sans-serif;
  font-size: 28px;
  font-weight: 500;
  line-height: 36px;
  text-transform: uppercase;
}
.dlv-card h3 {
  margin: 18px 0 4px;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
}
.dlv-card h2 + h3 { margin-top: 0; }
.dlv-card p { margin: 0; color: #111746; font-size: 15px; line-height: 24px; }
.dlv-card p + p { margin-top: 4px; }
.dlv-card strong { color: #111746; font-weight: 600; }
.dlv-note { color: #111746 !important; font-size: 14px !important; }
.dlv-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding: 12px 22px;
  border-radius: 14px;
  background: #386EF2;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  line-height: 24px;
}
.dlv-btn:hover { background: #2A5BD6; }
.dlv-photo { position: relative; margin: 0; overflow: hidden; border-radius: 24px; background: #e8eaed; }
.dlv-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.dlv-route__body { display: grid; grid-template-columns: 1fr 210px; gap: 24px; align-items: center; }
.dlv-route__map { display: block; overflow: hidden; border-radius: 18px; border: 1px solid #e8eef5; cursor: zoom-in; }
.dlv-route__map img { display: block; width: 100%; height: auto; }
.dlv-route ol { margin: 0; padding: 0 0 0 22px; color: #111746; font-size: 15px; line-height: 22px; }
.dlv-route li { padding-left: 4px; color: #111746; }
.dlv-route li + li { margin-top: 14px; }
.dlv-route li::marker { color: #111746; font-weight: 700; }
.dlv-route li b { display: block; color: #111746; font-weight: 700; text-transform: uppercase; }
.dlv-route__links { display: flex; flex-wrap: wrap; gap: 12px 32px; margin-top: 24px; font-size: 15px; font-weight: 500; line-height: 24px; }
.dlv-route__links a { color: #111746; }
.dlv-route__links a:hover { color: #386EF2; }
.dlv-route__links .dlv-route__more { color: #386EF2; font-weight: 600; }

@media (max-width: 900px) {
  .delivery-frame { width: 100% !important; height: auto !important; overflow: visible !important; }
  .delivery-main { position: static !important; width: 100% !important; height: auto !important; padding: 68px 14px 24px !important; }
  .delivery-crumbs, .delivery-page-title, .delivery-question {
    position: static !important; left: auto !important; top: auto !important; width: 100% !important; height: auto !important;
  }
  .delivery-page-title { margin: 16px 0 0; }
  .delivery-question { margin-top: 16px; }
  .dlv { position: static; width: 100%; gap: 16px; padding-top: 16px; }
  .dlv-top, .dlv-bottom, .dlv-route__body { grid-template-columns: 1fr; gap: 16px; }
  .dlv-col { gap: 16px; }
  .dlv-card { padding: 20px; border-radius: 20px; }
  .dlv-card h2 { font-size: 22px; line-height: 28px; margin-bottom: 14px; }
  .dlv-photo { height: 320px; border-radius: 20px; }
  .dlv-route__links { flex-direction: column; gap: 8px; }
}
@media (min-width: 901px) {
  .delivery-frame { height: 2263px; }
  .delivery-main { height: 1740px; }
  .delivery-question { top: 1444px; }
  html body.delivery-body { --chrome-footer-top: 1890px; }
}

/* Правки 09.11.2026: без заголовка «Доставка» — блоки поднимаются на его место */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
@media (min-width: 901px) {
  .dlv { top: 84px; }
  .delivery-main { height: 1648px; }
  .delivery-question { top: 1352px; }
  html body.delivery-body { --chrome-footer-top: 1798px; }
}

/* Правки 12.11.2026: блоки в обычном потоке — «Вопросы по доставке» всегда под картой, при любой высоте текста */
@media (min-width: 901px) {
  .delivery-main { height: auto !important; }
  .dlv { position: relative !important; top: auto !important; left: auto !important; margin-top: 52px; }
  .delivery-question { position: relative !important; top: auto !important; left: auto !important; margin-top: 8px; }
}
