:root {
  --db-red: #bd1d2d;
  --db-red-light: #d53b49;
  --db-blue: #aec1d0;
  --db-blue-light: #dce7ee;
  --db-text: #151515;
  --db-radius: 24px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: #fff;
  color: var(--db-text);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

/* Служебные элементы движка, которые были в старом style.css. */
.admin_edit_box {
  position: relative;
  max-width: 100%;
  margin-bottom: -1px;
  border: 1px dashed #17a2b8;
}

.admin_edit_link {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 2000;
}

.admin_edit_box:hover {
  z-index: 1000;
  border-color: #dc3545;
}

.admin_edit_box:hover .admin_edit_link {
  color: #dc3545;
}

.db-home {
  width: 100%;
  overflow: hidden;
  background: #fff;
}

/* Служебное меню для переключения между готовыми макетами. */
.db-layout-menu {
  position: sticky;
  z-index: 2200;
  top: 0;
  width: 100%;
  padding: .65rem 0;
  background: rgba(25, 29, 34, .97);
  color: #fff;
  box-shadow: 0 5px 18px rgba(0, 0, 0, .14);
  backdrop-filter: blur(12px);
}

.db-layout-menu__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.db-layout-menu__title {
  flex: 0 0 auto;
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.db-layout-menu__nav {
  display: flex;
  align-items: center;
  gap: .45rem;
  overflow-x: auto;
  scrollbar-width: thin;
}

.db-layout-menu__item {
  flex: 0 0 auto;
  padding: .43rem .7rem;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 8px;
  color: #fff;
  font-size: .76rem;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color .2s ease, background-color .2s ease, opacity .2s ease;
}

a.db-layout-menu__item:hover,
a.db-layout-menu__item:focus,
.db-layout-menu__item.is-active {
  border-color: var(--db-red-light);
  background: var(--db-red-light);
  color: #fff;
}

.db-layout-menu__item.is-disabled {
  cursor: not-allowed;
  opacity: .32;
}

.db-container {
  width: 100%;
  max-width: 1180px;
}

.db-section {
  padding-top: clamp(3.5rem, 7vw, 6.5rem);
}

.db-title {
  color: var(--db-blue);
  font-size: clamp(2.75rem, 6vw, 5rem);
  line-height: .9;
  font-weight: 900;
  letter-spacing: -.045em;
  text-transform: uppercase;
}

/* Шапка и первый экран. */
.db-navbar {
  min-height: 78px;
  padding: 0;
}

.db-navbar__brand {
  display: none;
  color: var(--db-red);
  font-size: 1.35rem;
  font-weight: 900;
  text-transform: uppercase;
}

.db-navbar .navbar-collapse {
  width: 100%;
}

.db-navbar__list {
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.db-navbar .nav-link {
  padding: .75rem .15rem;
  color: var(--db-blue);
  font-size: .89rem;
  line-height: 1;
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color .2s ease;
}

.db-navbar .nav-link:hover,
.db-navbar .nav-link:focus,
.db-navbar .nav-link.active {
  color: var(--db-text);
}

.db-navbar__logo-item {
  min-width: 150px;
  display: flex;
  align-items: center;
}

.db-navbar__logo {
  display: inline-flex;
  align-items: center;
}

.db-navbar__logo img {
  width: 136px;
  height: auto;
}

.db-navbar--catalog .db-navbar__list {
  gap: clamp(1rem, 4vw, 4rem);
}

/* Динамическое меню сайта: пункты и вложенность приходят из админки. */
.db-menu-block {
  position: relative;
  z-index: 2100;
  width: 100%;
  background: #fff;
}

.db-navbar--dynamic .db-navbar__list {
  justify-content: space-between;
  gap: clamp(1rem, 3vw, 2.75rem);
}

.db-navbar--dynamic .mm_item {
  position: relative;
}

.db-navbar--dynamic .sub_menu {
  min-width: 240px;
  padding-top: .65rem;
  visibility: hidden;
  opacity: 0;
  position: absolute;
  top: calc(100% - .1rem);
  left: -.9rem;
  z-index: 20;
  transform: translateY(.45rem);
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}

.db-navbar--dynamic .sub_list {
  margin: 0;
  padding: .65rem;
  list-style: none;
  border: 1px solid rgba(174, 193, 208, .45);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 16px 35px rgba(21, 21, 21, .12);
}

.db-navbar--dynamic .sub_list_link {
  display: block;
  padding: .65rem .75rem;
  border-radius: 10px;
  color: var(--db-blue);
  font-size: .84rem;
  line-height: 1.2;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
  transition: color .2s ease, background-color .2s ease;
}

.db-navbar--dynamic .sub_list_link:hover,
.db-navbar--dynamic .sub_list_link:focus,
.db-navbar--dynamic .sub_list_item.active .sub_list_link {
  background: var(--db-blue-light);
  color: var(--db-text);
}

.db-navbar--dynamic .mm_item.active > .nav-link {
  color: var(--db-text);
}

.db-navbar--dynamic .mm_item:hover > .sub_menu,
.db-navbar--dynamic .mm_item:focus-within > .sub_menu {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.db-hero__row {
  min-height: 410px;
}

.db-brand-card,
.db-hero-slider {
  overflow: hidden;
  border-radius: var(--db-radius);
}

.db-brand-card {
  min-height: 410px;
  padding: 1.35rem 2.15rem 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--db-red);
  color: #fff;
  text-transform: uppercase;
}

.db-brand-card__logo {
  width: 100%;
  max-width: 190px;
  margin: 0 auto .7rem;
  filter: brightness(0) invert(1);
}

.db-brand-card__years,
.db-brand-card__feature {
  font-weight: 900;
  line-height: 1.08;
}

.db-brand-card__years {
  margin-bottom: 1.55rem;
  font-size: 1.03rem;
}

.db-brand-card__feature {
  margin-top: .9rem;
  font-size: 1.08rem;
}

.db-hero-slider {
  min-height: 410px;
  background: #eef3f6;
}

.db-hero-slider .carousel-inner,
.db-hero-slider .carousel-item {
  min-height: inherit;
}

.db-hero-slider .carousel-item img {
  min-height: 410px;
  object-fit: cover;
}

.db-hero-slider__link {
  height: 100%;
  display: block;
}

.db-hero-slider__caption {
  max-width: min(72%, 620px);
  padding: 1rem 1.25rem;
  position: absolute;
  right: auto;
  bottom: 2.2rem;
  left: 2rem;
  z-index: 3;
  border-radius: 16px;
  background: rgba(21, 21, 21, .68);
  color: #fff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, .28);
  backdrop-filter: blur(8px);
}

.db-hero-slider__title {
  font-size: clamp(1.35rem, 2.8vw, 2.4rem);
  line-height: 1;
  font-weight: 900;
  text-transform: uppercase;
}

.db-hero-slider__text,
.db-hero-slider__text p:last-child {
  margin-bottom: 0;
}

.db-hero-slider__text {
  margin-top: .6rem;
  font-size: clamp(.9rem, 1.4vw, 1.1rem);
  line-height: 1.35;
}

.db-hero-slider__indicators {
  z-index: 4;
  margin-bottom: .75rem;
}

.db-hero-slider__indicators [data-bs-target] {
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 50%;
  background-color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .2);
}

.db-hero-slider > .admin_edit_link {
  z-index: 6;
}

.db-hero-slider .carousel-control-prev,
.db-hero-slider .carousel-control-next {
  width: 52px;
  opacity: 1;
}

.db-slider-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff url('/css/img/makeup/arrow.svg') center / 11px auto no-repeat;
  box-shadow: 0 4px 18px rgba(50, 70, 82, .08);
}

.db-slider-arrow--prev {
  transform: rotate(180deg);
}

/* Продукция. */
.db-section-head {
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.db-section-head__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.15rem;
}

.db-pill {
  min-height: 50px;
  padding: .55rem 1.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  border-radius: 999px;
  background: var(--db-red-light);
  color: #fff;
  font-size: 1.35rem;
  line-height: 1;
  font-weight: 900;
  letter-spacing: .02em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color .2s ease, transform .2s ease;
}

.db-pill:hover,
.db-pill:focus {
  transform: translateY(-2px);
  background: var(--db-red);
  color: #fff;
}

.db-pill img {
  width: 21px;
  height: 25px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.db-pill--sale span {
  font-size: 1.65rem;
}

.db-pill--small {
  min-height: 42px;
  margin-top: .5rem;
  padding: .4rem 1rem;
  font-size: 1rem;
}

.db-product-card {
  position: relative;
  aspect-ratio: 1.2 / 1;
  display: block;
  overflow: hidden;
  border-radius: var(--db-radius);
  background: var(--db-blue-light);
  color: var(--db-text);
  text-decoration: none;
  isolation: isolate;
}

.db-product-card__image,
.db-product-card__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.db-product-card__image {
  z-index: -2;
  object-fit: cover;
  transition: transform .45s ease;
}

.db-product-card__shade {
  z-index: -1;
  background: linear-gradient(145deg, rgba(255, 255, 255, .92) 0%, rgba(255, 255, 255, .58) 25%, rgba(255, 255, 255, 0) 58%);
}

.db-product-card__content {
  max-width: 88%;
  padding: 1.25rem 1.4rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-transform: uppercase;
}

.db-product-card__title {
  font-size: clamp(1rem, 1.65vw, 1.28rem);
  line-height: 1.03;
  font-weight: 900;
}

.db-product-card__subtitle {
  margin-top: .35rem;
  font-size: .72rem;
  line-height: 1.15;
  font-weight: 700;
}

.db-product-card:hover,
.db-product-card:focus {
  color: var(--db-text);
}

.db-product-card:hover .db-product-card__image,
.db-product-card:focus .db-product-card__image {
  transform: scale(1.035);
}

/* Страница 2.2 — каталог. */
.db-catalog-sales {
  padding: 1.25rem 0 clamp(3.5rem, 7vw, 6rem);
}

.db-catalog-title {
  margin: 0 0 1.6rem;
  color: var(--db-red);
  font-size: clamp(3.4rem, 7vw, 6rem);
  line-height: .9;
  font-weight: 900;
  letter-spacing: -.045em;
  text-transform: uppercase;
}

.db-sale-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2.2vw, 1.8rem);
}

.db-sale-card {
  min-width: 0;
}

.db-sale-card__visual {
  position: relative;
  aspect-ratio: 1.22 / 1;
  padding: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 2px solid var(--db-blue);
  border-radius: var(--db-radius);
  background: #f8f9fa;
}

.db-sale-card__image {
  width: 88%;
  height: 88%;
  object-fit: contain;
  transition: transform .35s ease;
}

.db-sale-card__visual:hover .db-sale-card__image,
.db-sale-card__visual:focus .db-sale-card__image {
  transform: scale(1.035);
}

.db-sale-card__badge {
  position: absolute;
  z-index: 2;
  top: -.05rem;
  right: -.05rem;
  width: clamp(48px, 5.5vw, 68px);
  height: auto;
}

.db-sale-card__title {
  min-height: 3.2rem;
  margin: 1rem 0 .45rem;
  font-size: clamp(1.05rem, 1.9vw, 1.42rem);
  line-height: 1.06;
  font-weight: 900;
  letter-spacing: -.01em;
  text-transform: uppercase;
}

.db-sale-card__title--accent {
  color: var(--db-red);
}

.db-sale-card__meta {
  min-height: 32px;
  display: flex;
  align-items: center;
  gap: .65rem;
}

.db-sale-card__meta strong {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  line-height: 1;
}

.db-sale-card__icons {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
}

.db-sale-card__icons img {
  width: 27px;
  height: 30px;
  object-fit: contain;
}

.db-sale-card__icons--meat {
  margin-left: auto;
}

.db-sale-card__icons--meat img {
  width: 34px;
}

.db-catalog-products {
  padding-bottom: clamp(3.5rem, 7vw, 6rem);
}

/* Страница 2.3 — группа товаров. */
.db-product-group__hero {
  padding: 1.25rem 0 1.6rem;
}

.db-product-group__title {
  margin: 0 0 1.25rem;
  color: var(--db-blue);
  font-size: clamp(3rem, 6.7vw, 5.65rem);
  line-height: .92;
  font-weight: 900;
  letter-spacing: -.045em;
  text-transform: uppercase;
  white-space: nowrap;
}

.db-product-group__banner {
  aspect-ratio: 4.6 / 1;
  overflow: hidden;
  border-radius: var(--db-radius);
  background: var(--db-blue-light);
}

.db-product-group__banner img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.db-group-section {
  padding: .8rem 0 clamp(2.8rem, 5vw, 4.5rem);
}

.db-group-section__title {
  margin: 0 0 1rem;
  color: var(--db-blue);
  font-size: clamp(2.25rem, 4.8vw, 3.8rem);
  line-height: .95;
  font-weight: 900;
  letter-spacing: -.035em;
  text-transform: uppercase;
}

.db-group-products-grid {
  align-items: stretch;
}

.db-group-product {
  min-width: 0;
}

.db-group-product__visual {
  position: relative;
  aspect-ratio: 1.25 / 1;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 2px solid var(--db-blue);
  border-radius: var(--db-radius);
  background: #f8f9fa;
}

.db-group-product__image {
  width: 82%;
  height: 90%;
  object-fit: contain;
  transition: transform .35s ease, filter .25s ease;
}

.db-group-product__image--yellow {
  filter: hue-rotate(28deg) saturate(.82) brightness(1.04);
}

.db-group-product__visual:hover .db-group-product__image,
.db-group-product__visual:focus .db-group-product__image {
  transform: scale(1.035);
}

.db-group-product__badge {
  position: absolute;
  z-index: 2;
  top: -.05rem;
  right: -.05rem;
  width: clamp(42px, 5vw, 62px);
  height: auto;
}

.db-group-product__title {
  min-height: 3.2rem;
  margin: .85rem 0 .35rem;
  font-size: clamp(1rem, 1.8vw, 1.3rem);
  line-height: 1.08;
  font-weight: 900;
  text-transform: uppercase;
}

.db-group-product__title--accent {
  color: var(--db-red);
}

.db-group-product__meta {
  min-height: 31px;
  display: flex;
  align-items: center;
  gap: .65rem;
}

.db-group-product__meta strong {
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  line-height: 1;
}

.db-group-product__icons {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}

.db-group-product__icons img {
  width: 26px;
  height: 29px;
  object-fit: contain;
}

.db-group-product__icons--meat {
  margin-left: auto;
}

.db-group-product__icons--meat img {
  width: 34px;
}

.db-group-catalog {
  padding: 1rem 0 clamp(3.5rem, 7vw, 6rem);
}

/* Страница 2.4 — карточка товара. */
.db-product-detail-page__head {
  padding: 1.2rem 0 1.35rem;
}

.db-product-detail-page__title {
  margin: 0;
  color: var(--db-blue);
  max-width: 100%;
  font-size: clamp(2.75rem, 5vw, 4.75rem);
  line-height: .96;
  font-weight: 900;
  letter-spacing: -.035em;
  text-transform: uppercase;
  white-space: normal;
  overflow-wrap: break-word;
  text-wrap: balance;
}

.db-product-detail-page__category {
  margin-top: .2rem;
  color: var(--db-blue);
  font-size: clamp(2.5rem, 5.2vw, 4.25rem);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -.035em;
  text-transform: uppercase;
}

.db-product-detail {
  overflow: hidden;
  border: 2px solid var(--db-blue);
  border-radius: var(--db-radius);
  background: #fff;
}

.db-product-detail__gallery-column {
  padding-bottom: 2rem;
  border-right: 1px solid rgba(174, 193, 208, .7);
}

.db-product-detail__main-visual {
  position: relative;
  aspect-ratio: 1.2 / 1;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 2px solid var(--db-blue);
  border-radius: 0 0 var(--db-radius) 0;
  background: #f8f9fa;
}

.db-product-detail__main-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.db-product-gallery,
.db-product-gallery .carousel-inner,
.db-product-gallery .carousel-item {
  width: 100%;
  height: 100%;
}

.db-product-gallery__zoom {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: zoom-in;
}

.db-product-gallery__zoom-label {
  position: absolute;
  right: .25rem;
  bottom: .15rem;
  width: 2.4rem;
  height: 2.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  background: var(--db-red);
  font-size: 1.85rem;
  line-height: 1;
  font-weight: 500;
  box-shadow: 0 5px 16px rgba(0, 0, 0, .14);
}

.db-product-gallery__control {
  top: 50%;
  width: 2.6rem;
  height: 2.6rem;
  margin: 0 .35rem;
  transform: translateY(-50%);
  border: 1px solid var(--db-blue);
  border-radius: 50%;
  color: var(--db-red);
  background: rgba(255, 255, 255, .94);
  opacity: 1;
  box-shadow: 0 5px 16px rgba(0, 0, 0, .08);
}

.db-product-gallery__control:hover,
.db-product-gallery__control:focus {
  color: #fff;
  background: var(--db-red);
}

.db-product-gallery__control span {
  margin-top: -.15rem;
  font-size: 2.15rem;
  line-height: 1;
}

.db-product-detail__sale {
  position: absolute;
  z-index: 2;
  top: -.1rem;
  right: -.1rem;
  width: clamp(58px, 6vw, 78px);
  height: auto;
}

.db-product-detail__gallery {
  padding: 1.5rem 1.5rem 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}

.db-product-detail__thumb {
  appearance: none;
  aspect-ratio: 1.2 / 1;
  padding: .7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 2px solid var(--db-blue);
  border-radius: 18px;
  background: #f8f9fa;
  cursor: pointer;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.db-product-detail__thumb.active {
  border-color: var(--db-red);
  box-shadow: 0 0 0 2px rgba(194, 30, 48, .12);
}

.db-product-detail__thumb:hover,
.db-product-detail__thumb:focus-visible {
  border-color: var(--db-red);
  transform: translateY(-2px);
}

.db-product-detail__thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform .3s ease;
}

.db-product-detail__thumb:hover img,
.db-product-detail__thumb:focus img {
  transform: scale(1.04);
}

.db-product-detail__content {
  padding: clamp(1.7rem, 3.4vw, 3rem);
}

.db-product-detail__name {
  margin: 0 0 .5rem;
  color: var(--db-red);
  font-size: clamp(2rem, 3.6vw, 3.15rem);
  line-height: .98;
  font-weight: 900;
  letter-spacing: -.025em;
  text-transform: uppercase;
  overflow-wrap: break-word;
  text-wrap: balance;
}

.db-product-detail__meta {
  min-height: 39px;
  display: flex;
  align-items: center;
  gap: .8rem;
}

.db-product-detail__meta > strong {
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  line-height: 1;
}

.db-product-detail__icons {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
}

.db-product-detail__icons img {
  width: 29px;
  height: 34px;
  object-fit: contain;
}

.db-product-detail__icons--meat {
  margin-left: auto;
}

.db-product-detail__icons--meat img {
  width: 38px;
}

.db-product-detail__specification {
  margin: .45rem 0 1.25rem;
  padding: .65rem 0;
  border-top: 2px solid var(--db-blue);
  color: var(--db-blue);
  font-size: .95rem;
  font-weight: 800;
}

.db-product-detail__text,
.db-product-detail__notes {
  font-size: clamp(.94rem, 1.35vw, 1.05rem);
  line-height: 1.17;
}

.db-product-detail__text p,
.db-product-detail__notes p {
  margin: 0 0 1.15rem;
}

.db-nutrition {
  margin: 1.45rem 0 1.6rem;
}

.db-nutrition h3 {
  margin: 0 0 .7rem;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-weight: 900;
}

.db-nutrition__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.db-nutrition__item {
  min-width: 0;
  padding: .1rem .8rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
  text-align: center;
}

.db-nutrition__item + .db-nutrition__item {
  border-left: 2px solid var(--db-blue);
}

.db-nutrition__item span {
  color: var(--db-blue);
  font-size: .9rem;
  line-height: 1.05;
  font-weight: 800;
}

.db-nutrition__item strong {
  font-size: .95rem;
  line-height: 1.05;
  font-weight: 500;
}

.db-order-button {
  min-height: 48px;
  padding: .55rem 1.55rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  border-radius: 999px;
  background: var(--db-red-light);
  color: #fff;
  font-size: 1.2rem;
  line-height: 1;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color .2s ease, transform .2s ease;
}

.db-order-button img {
  width: 28px;
  height: 28px;
  filter: brightness(0) invert(1);
}

.db-order-button:hover,
.db-order-button:focus {
  transform: translateY(-2px);
  background: var(--db-red);
  color: #fff;
}

.db-detail-catalog {
  padding: clamp(3.5rem, 7vw, 6rem) 0;
}

/* Страницы 2.5 и 2.6 — новости. */
.db-news-page__head {
  padding: 1.2rem 0 2.35rem;
}

.db-news-featured {
  margin-bottom: clamp(2rem, 4vw, 3.2rem);
}

.db-news-featured__link {
  position: relative;
  aspect-ratio: 2.83 / 1;
  display: block;
  overflow: hidden;
  border-radius: var(--db-radius);
  background: #222;
  color: #fff;
  text-decoration: none;
}

.db-news-featured__link > img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 54%;
  transition: transform .45s ease;
}

.db-news-featured__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, .94) 0%, rgba(0, 0, 0, .54) 31%, rgba(0, 0, 0, 0) 68%);
}

.db-news-featured__content {
  position: absolute;
  z-index: 2;
  right: clamp(1.5rem, 4vw, 3.5rem);
  bottom: clamp(1.35rem, 3.5vw, 3rem);
  left: clamp(1.5rem, 4vw, 3.5rem);
  display: flex;
  flex-direction: column;
  gap: clamp(.8rem, 2vw, 1.65rem);
  text-transform: uppercase;
}

.db-news-featured__content strong {
  max-width: 760px;
  font-size: clamp(1.55rem, 3.2vw, 2.65rem);
  line-height: 1.05;
  font-weight: 900;
}

.db-news-featured__content > span {
  max-width: 940px;
  font-size: clamp(1rem, 2.05vw, 1.65rem);
  line-height: 1.12;
  font-weight: 800;
}

.db-news-featured__link:hover > img,
.db-news-featured__link:focus > img {
  transform: scale(1.025);
}

.db-news-grid {
  padding-bottom: clamp(4rem, 8vw, 7rem);
}

.db-news-card__image {
  aspect-ratio: 1.21 / 1;
  display: block;
  overflow: hidden;
  border-radius: var(--db-radius);
  background: #eef2f5;
}

.db-news-card__image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .35s ease;
}

.db-news-card__image:hover img,
.db-news-card__image:focus img {
  transform: scale(1.035);
}

.db-news-card h2 {
  margin: 1.15rem 0 0;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  line-height: 1.08;
  font-weight: 800;
}

.db-news-card__date,
.db-news-article__date {
  display: block;
  margin-top: .85rem;
  color: var(--db-blue);
  font-size: .9rem;
  font-weight: 700;
}

.db-news-card__date + h2 {
  margin-top: .55rem;
}

.db-news-card h2 a {
  text-decoration: none;
}

.db-news-card h2 a:hover,
.db-news-card h2 a:focus {
  color: var(--db-red);
}

.db-news-article {
  padding: 1.2rem 0 clamp(3.5rem, 7vw, 6rem);
}

.db-news-article__head .db-title {
  margin: 0 0 1.5rem;
}

.db-news-article__head h2 {
  max-width: 800px;
  margin: 0;
  color: var(--db-red);
  font-size: clamp(1.8rem, 3.4vw, 2.7rem);
  line-height: 1.02;
  font-weight: 900;
  letter-spacing: -.02em;
  text-transform: uppercase;
}

.db-news-article__lead {
  max-width: 1050px;
  margin: clamp(2rem, 4vw, 3.5rem) 0 2rem;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  line-height: 1.1;
  font-weight: 800;
  text-transform: uppercase;
}

.db-news-article__head .db-news-article__date {
  margin-top: 1rem;
}

.db-news-article__intro {
  margin-bottom: 1.6rem;
}

.db-news-article__intro-image {
  aspect-ratio: 1.21 / 1;
  display: block;
  overflow: hidden;
  border-radius: var(--db-radius);
  background: #eef2f5;
}

.db-news-article__intro-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  transition: transform .35s ease;
}

.db-news-article__intro-image:hover img,
.db-news-article__intro-image:focus img {
  transform: scale(1.025);
}

.db-news-article__intro-text,
.db-news-article__body {
  font-size: clamp(1.03rem, 1.65vw, 1.25rem);
  line-height: 1.22;
}

.db-news-article__intro-text p,
.db-news-article__body p {
  margin: 0 0 1.45rem;
}

.db-news-article__intro-text h3,
.db-news-article__body h3 {
  margin: 2rem 0 .8rem;
  color: var(--db-red);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  line-height: 1.1;
  font-weight: 900;
  text-transform: uppercase;
}

.db-news-article__intro-text ul,
.db-news-article__body ul {
  margin: 0 0 1.5rem;
  padding-left: 1.35rem;
}

.db-news-article__body {
  padding: 0 .4rem;
}

.db-news-article__banner {
  position: relative;
  aspect-ratio: 2.06 / 1;
  margin-top: 2.35rem;
  display: block;
  overflow: visible;
  color: var(--db-blue);
}

.db-news-article__banner > img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: var(--db-radius);
  object-fit: cover;
}

.db-news-article__banner-arrow {
  position: absolute;
  z-index: 2;
  top: 50%;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff;
  transform: translateY(-50%);
  box-shadow: 0 2px 8px rgba(50, 67, 80, .1);
}

.db-news-article__banner-arrow img {
  width: 9px;
  height: 19px;
}

.db-news-article__banner-arrow--prev {
  left: -19px;
}

.db-news-article__banner-arrow--prev img {
  transform: rotate(180deg);
}

.db-news-article__banner-arrow--next {
  right: -19px;
}

.db-news-article__back {
  margin-top: 1.2rem;
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  color: var(--db-blue);
  font-size: .9rem;
  font-weight: 700;
  text-decoration: none;
}

.db-news-article__back img {
  width: 8px;
  height: 18px;
  transform: rotate(180deg);
}

.db-news-article__back:hover,
.db-news-article__back:focus {
  color: var(--db-red);
}

/* Контакты, каталог контента и статьи. */
.db-contacts-page__head,
.db-content-page__head,
.db-articles-page__head,
.db-section-page__head {
  padding: 1.2rem 0 clamp(2rem, 4vw, 3.25rem);
}

.db-contacts-page__head p,
.db-content-page__head p,
.db-articles-page__head p,
.db-section-page__head p {
  max-width: 760px;
  margin: 1rem 0 0;
  color: var(--db-blue);
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  line-height: 1.2;
  font-weight: 700;
}

.db-contacts-layout,
.db-content-grid,
.db-articles-grid,
.db-section-links {
  padding-bottom: clamp(4rem, 8vw, 7rem);
}

.db-section-copy {
  max-width: 1050px;
  padding: 0 0 clamp(3.5rem, 7vw, 6rem);
  font-size: clamp(1.02rem, 1.5vw, 1.18rem);
  line-height: 1.55;
}

.db-section-copy h2,
.db-section-copy h3 {
  margin: 2rem 0 .8rem;
  color: var(--db-red);
  font-size: clamp(1.5rem, 2.6vw, 2.15rem);
  line-height: 1.08;
  font-weight: 900;
  text-transform: uppercase;
}

.db-section-copy h2:first-child,
.db-section-copy h3:first-child {
  margin-top: 0;
}

.db-section-copy p,
.db-section-copy ul {
  margin: 0 0 1.35rem;
}

.db-section-articles {
  padding-top: 0;
}

.db-company-hero {
  margin-bottom: clamp(2.75rem, 6vw, 5rem);
}

.db-company-hero__brand,
.db-company-hero__image {
  height: 100%;
  min-height: 440px;
  overflow: hidden;
  border-radius: var(--db-radius);
}

.db-company-hero__brand {
  padding: clamp(2rem, 4vw, 3.4rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--db-red);
  color: #fff;
}

.db-company-hero__brand > img {
  width: min(100%, 275px);
  height: auto;
  margin-bottom: 2.2rem;
}

.db-company-hero__brand strong {
  font-size: clamp(1.65rem, 3vw, 2.6rem);
  line-height: 1;
  font-weight: 900;
  text-transform: uppercase;
}

.db-company-hero__brand span {
  max-width: 420px;
  margin-top: 1rem;
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  line-height: 1.3;
  font-weight: 700;
}

.db-company-hero__image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.db-company-copy {
  max-width: none;
}

.db-company-intro {
  max-width: 980px;
}

.db-company-intro > p {
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  line-height: 1.45;
}

.db-company-values {
  margin-top: clamp(2rem, 4vw, 3.5rem);
}

.db-company-value {
  height: 100%;
  padding: clamp(1.35rem, 2.5vw, 2rem);
  border: 2px solid var(--db-blue);
  border-radius: var(--db-radius);
}

.db-company-value strong {
  display: block;
  margin-bottom: .75rem;
  color: var(--db-red);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.05;
  font-weight: 900;
  text-transform: uppercase;
}

.db-company-value p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.4;
}

.db-company-cta {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  border-radius: var(--db-radius);
  background: #eef3f6;
}

.db-company-cta p {
  max-width: 720px;
  margin: 0;
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
  line-height: 1.35;
  font-weight: 800;
}

.db-company-cta a {
  min-height: 52px;
  padding: .8rem 1.5rem;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--db-red);
  color: #fff;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
}

.db-company-cta a:hover,
.db-company-cta a:focus {
  background: #a91524;
  color: #fff;
}

.db-contacts-card {
  height: 100%;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border: 2px solid var(--db-blue);
  border-radius: var(--db-radius);
  background: #fff;
}

.db-contacts-card h2 {
  margin: 0 0 1.75rem;
  color: var(--db-red);
  font-size: clamp(1.55rem, 2.5vw, 2.2rem);
  line-height: 1;
  font-weight: 900;
  text-transform: uppercase;
}

.db-contact-line {
  padding: 1.05rem 0;
  border-top: 1px solid rgba(174, 194, 210, .65);
}

.db-contact-line > span {
  display: block;
  margin-bottom: .35rem;
  color: var(--db-blue);
  font-size: .82rem;
  line-height: 1;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.db-contact-line strong,
.db-contact-line strong a {
  color: #111;
  font-size: clamp(1rem, 1.45vw, 1.2rem);
  line-height: 1.3;
  font-weight: 800;
  text-decoration: none;
}

.db-contact-line strong a:hover,
.db-contact-line strong a:focus {
  color: var(--db-red);
}

.db-contacts-content {
  padding-bottom: clamp(4rem, 8vw, 7rem);
}

.db-company-details {
  display: grid;
  gap: clamp(1.25rem, 2.5vw, 2rem);
}

.db-company-details__intro,
.db-company-details__section {
  padding: clamp(1.5rem, 3.5vw, 3rem);
  border-radius: var(--db-radius);
}

.db-company-details__intro {
  background: var(--db-red);
  color: #fff;
}

.db-company-details__eyebrow {
  margin: 0 0 .8rem;
  font-size: .9rem;
  line-height: 1;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
  opacity: .78;
}

.db-company-details__intro h2 {
  max-width: 980px;
  margin: 0;
  font-size: clamp(1.65rem, 3.4vw, 3rem);
  line-height: 1.03;
  font-weight: 900;
  text-transform: uppercase;
}

.db-company-details__contacts {
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.db-company-details__contact {
  padding: 1rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: .35rem;
  border: 1px solid rgba(255, 255, 255, .38);
  border-radius: 16px;
  background: rgba(255, 255, 255, .1);
  color: #fff;
  text-decoration: none;
}

.db-company-details__contact span {
  font-size: .78rem;
  line-height: 1;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  opacity: .74;
}

.db-company-details__contact strong {
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  line-height: 1.2;
  font-weight: 900;
}

/* Allow copying contact text instead of dragging the whole link card. */
.db-company-details__contact,
.db-company-details__contact * {
  -webkit-user-select: text;
  user-select: text;
  -webkit-user-drag: none;
  cursor: text;
}

.db-company-details__contact:hover,
.db-company-details__contact:focus {
  border-color: #fff;
  background: rgba(255, 255, 255, .18);
  color: #fff;
}

.db-company-details__download {
  min-height: 50px;
  margin-top: 1rem;
  padding: .8rem 1.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
  border-radius: 999px;
  background: #fff;
  color: var(--db-red);
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color .2s ease, color .2s ease;
}

.db-company-details__download:hover,
.db-company-details__download:focus {
  background: transparent;
  color: #fff;
}

.db-company-details__section {
  border: 2px solid var(--db-blue);
  background: #fff;
}

.db-company-details__section h2 {
  margin: 0 0 clamp(1.25rem, 2.5vw, 2rem);
  color: var(--db-red);
  font-size: clamp(1.55rem, 2.8vw, 2.35rem);
  line-height: 1;
  font-weight: 900;
  text-transform: uppercase;
}

.db-company-details__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(1.5rem, 4vw, 4rem);
}

.db-company-details__field {
  min-width: 0;
  padding: 1rem 0;
  border-top: 1px solid rgba(174, 194, 210, .7);
}

.db-company-details__field--wide {
  grid-column: 1 / -1;
}

.db-company-details__field span {
  display: block;
  margin-bottom: .35rem;
  color: var(--db-blue);
  font-size: .8rem;
  line-height: 1;
  font-weight: 800;
  letter-spacing: .045em;
  text-transform: uppercase;
}

.db-company-details__field strong,
.db-company-details__field a {
  overflow-wrap: anywhere;
  color: #111;
  font-size: clamp(1rem, 1.45vw, 1.18rem);
  line-height: 1.35;
  font-weight: 800;
  text-decoration: none;
}

.db-company-details__field a:hover,
.db-company-details__field a:focus {
  color: var(--db-red);
}

.db-contacts-map {
  height: 100%;
  min-height: 420px;
  overflow: hidden;
  border-radius: var(--db-radius);
  background: #eef2f5;
}

.db-contacts-map img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.db-content-card {
  min-height: 330px;
  padding: clamp(1.45rem, 2.6vw, 2.15rem);
  display: flex;
  flex-direction: column;
  border: 2px solid var(--db-blue);
  border-radius: var(--db-radius);
  color: #111;
  text-decoration: none;
  transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}

.db-content-card:hover,
.db-content-card:focus {
  border-color: var(--db-red);
  color: #111;
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(32, 58, 77, .12);
}

.db-content-card__icon {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--db-red);
}

.db-content-card__icon img {
  width: 31px;
  filter: brightness(0) invert(1);
}

.db-content-card__title {
  margin-top: 1.8rem;
  color: var(--db-red);
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  line-height: 1;
  font-weight: 900;
  text-transform: uppercase;
}

.db-content-card__text {
  margin-top: .85rem;
  font-size: 1.02rem;
  line-height: 1.35;
}

.db-content-card__more,
.db-article-card__more {
  margin-top: auto;
  padding-top: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  color: var(--db-blue);
  font-size: .9rem;
  font-weight: 800;
}

.db-content-card__more img,
.db-article-card__more img {
  width: 8px;
  height: 18px;
}

.db-article-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 2px solid var(--db-blue);
  border-radius: var(--db-radius);
  background: #fff;
}

.db-article-card__image {
  aspect-ratio: 1.5 / 1;
  display: block;
  overflow: hidden;
  background: #eef2f5;
}

.db-article-card__image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .35s ease;
}

.db-article-card:hover .db-article-card__image img {
  transform: scale(1.03);
}

.db-article-card__body {
  flex: 1;
  padding: clamp(1.35rem, 2.6vw, 2rem);
  display: flex;
  flex-direction: column;
}

.db-article-card__body time,
.db-article-detail__head time {
  color: var(--db-blue);
  font-size: .88rem;
  font-weight: 800;
}

.db-article-card h2 {
  margin: .65rem 0 .85rem;
  font-size: clamp(1.35rem, 2.3vw, 2rem);
  line-height: 1.05;
  font-weight: 900;
  text-transform: uppercase;
}

.db-article-card h2 a {
  color: var(--db-red);
  text-decoration: none;
}

.db-article-card h2 a:hover,
.db-article-card h2 a:focus {
  color: #111;
}

.db-article-card__body p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.4;
}

.db-article-card__more {
  text-decoration: none;
}

.db-article-page {
  padding-bottom: clamp(4rem, 8vw, 7rem);
}

.db-article-detail {
  padding-top: 1.2rem;
}

.db-article-detail__head {
  max-width: 1120px;
}

.db-article-detail__eyebrow {
  display: block;
  margin-bottom: .8rem;
  color: var(--db-blue);
  font-size: 1rem;
  font-weight: 900;
  text-transform: uppercase;
}

.db-article-detail__head h1 {
  margin: 0;
  color: var(--db-red);
  font-size: clamp(2.1rem, 5.6vw, 5rem);
  line-height: .95;
  font-weight: 900;
  letter-spacing: -.035em;
  text-transform: uppercase;
}

.db-article-detail__head time {
  display: block;
  margin-top: 1rem;
}

.db-article-detail__head p {
  max-width: 980px;
  margin: clamp(1.5rem, 3vw, 2.4rem) 0 0;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  line-height: 1.25;
  font-weight: 800;
}

.db-article-detail__image {
  aspect-ratio: 2 / 1;
  margin-top: clamp(2rem, 4vw, 3.4rem);
  display: block;
  overflow: hidden;
  border-radius: var(--db-radius);
  background: #eef2f5;
}

.db-article-detail__image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .35s ease;
}

.db-article-detail__image:hover img,
.db-article-detail__image:focus img {
  transform: scale(1.02);
}

.db-article-detail__body {
  max-width: 980px;
  margin: clamp(2rem, 4vw, 3.5rem) auto 0;
  font-size: clamp(1.03rem, 1.55vw, 1.2rem);
  line-height: 1.55;
}

.db-article-detail__body h2,
.db-article-detail__body h3 {
  margin: 2.2rem 0 .85rem;
  color: var(--db-red);
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  line-height: 1.08;
  font-weight: 900;
  text-transform: uppercase;
}

.db-article-detail__body p,
.db-article-detail__body ul {
  margin: 0 0 1.35rem;
}

.db-legal-document__download {
  margin-bottom: clamp(1.6rem, 3vw, 2.4rem) !important;
}

.db-legal-document__download a {
  min-height: 52px;
  padding: .85rem 1.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--db-red);
  border-radius: 999px;
  background: var(--db-red);
  color: #fff;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color .2s ease, color .2s ease;
}

.db-legal-document__download a:hover,
.db-legal-document__download a:focus {
  background: #fff;
  color: var(--db-red);
}

.db-legal-document__lead {
  padding: 1.1rem 1.25rem;
  border-left: 5px solid var(--db-blue);
  background: #f3f6f8;
  font-size: clamp(1.08rem, 1.8vw, 1.3rem);
}

.db-legal-document p {
  overflow-wrap: anywhere;
}

.db-article-detail > .db-news-article__back {
  margin-top: 2rem;
}

@media (max-width: 767.98px) {
  .db-company-details__contacts,
  .db-company-details__grid {
    grid-template-columns: 1fr;
  }

  .db-company-details__field--wide {
    grid-column: auto;
  }

  .db-contacts-map {
    min-height: 310px;
  }

  .db-content-card {
    min-height: 260px;
  }

  .db-article-detail__image {
    aspect-ratio: 1.35 / 1;
  }

  .db-company-hero__brand,
  .db-company-hero__image {
    min-height: 340px;
  }

  .db-company-cta {
    align-items: flex-start;
    flex-direction: column;
  }
}

.db-404 {
  min-height: min(680px, 72vh);
  padding: clamp(3rem, 8vw, 7rem) 0;
  display: grid;
  grid-template-columns: minmax(260px, .8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 6rem);
}

.db-404__code {
  color: var(--db-blue);
  font-size: clamp(8rem, 20vw, 18rem);
  line-height: .72;
  font-weight: 900;
  letter-spacing: -.08em;
}

.db-404__content h1 {
  margin: 0;
  color: var(--db-red);
  font-size: clamp(2.25rem, 5vw, 4.6rem);
  line-height: .95;
  font-weight: 900;
  text-transform: uppercase;
}

.db-404__content p {
  max-width: 650px;
  margin: 1.5rem 0 0;
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
  line-height: 1.4;
}

.db-404__actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
}

.db-404__primary {
  min-height: 54px;
  padding: .85rem 1.7rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--db-red);
  color: #fff;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
}

.db-404__primary:hover,
.db-404__primary:focus {
  background: #a91524;
  color: #fff;
}

.db-404__secondary {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  color: var(--db-blue);
  font-weight: 800;
  text-decoration: none;
}

.db-404__secondary img {
  width: 8px;
  height: 18px;
}

.db-404__secondary:hover,
.db-404__secondary:focus {
  color: var(--db-red);
}

@media (max-width: 767.98px) {
  .db-404 {
    min-height: 620px;
    grid-template-columns: 1fr;
    align-content: center;
    gap: 2.5rem;
  }

  .db-404__code {
    font-size: clamp(7rem, 40vw, 12rem);
  }
}

/* Страница 2.7 — оформление заказа. */
.db-order-page__head {
  padding: 1.2rem 0 2.1rem;
}

.db-order {
  padding-bottom: clamp(4rem, 8vw, 7rem);
}

.db-order-list {
  border-top: 0;
}

.db-order-item {
  min-height: 210px;
  padding: 0 0 1.45rem;
  margin-bottom: 1.45rem;
  display: grid;
  grid-template-columns: minmax(175px, 220px) minmax(0, 1fr);
  gap: clamp(1.35rem, 3vw, 2.7rem);
  border-bottom: 2px solid var(--db-blue);
}

.db-order-item__visual {
  aspect-ratio: 1.22 / 1;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 2px solid var(--db-blue);
  border-radius: var(--db-radius);
  background: #f8f9fa;
}

.db-order-item__visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform .3s ease;
}

.db-order-item__visual:hover img,
.db-order-item__visual:focus img {
  transform: scale(1.035);
}

.db-order-item__content {
  min-width: 0;
  padding: .2rem 0;
  display: flex;
  flex-direction: column;
}

.db-order-item__content h2 {
  margin: 0 0 .65rem;
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
  line-height: 1.04;
  font-weight: 900;
  text-transform: uppercase;
}

.db-order-item__content h2 a {
  color: inherit;
  text-decoration: none;
}

.db-order-item__content h2 a:hover,
.db-order-item__content h2 a:focus {
  color: var(--db-red);
}

.db-order-item__content p {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1;
  font-weight: 800;
}

.db-order-item__actions {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.db-quantity {
  width: min(100%, 270px);
  min-height: 62px;
  padding: 0 .9rem;
  display: grid;
  grid-template-columns: 35px minmax(0, 1fr) 35px;
  align-items: center;
  border: 2px solid var(--db-blue);
  border-radius: 999px;
}

.db-quantity button {
  width: 35px;
  height: 42px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--db-blue);
  font-size: 1.8rem;
  line-height: 1;
  font-weight: 800;
}

.db-quantity button:hover,
.db-quantity button:focus {
  color: var(--db-red);
}

.db-quantity label {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  color: var(--db-red);
  font-size: 1.45rem;
  line-height: 1;
  font-weight: 900;
}

.db-quantity input {
  width: 3ch;
  min-width: 0;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: right;
  appearance: textfield;
}

.db-quantity input::-webkit-inner-spin-button,
.db-quantity input::-webkit-outer-spin-button {
  margin: 0;
  appearance: none;
}

.db-order-item__remove {
  flex: 0 0 auto;
  width: 64px;
  height: 64px;
  padding: .85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--db-blue);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 3px 9px rgba(56, 69, 77, .18);
  transition: border-color .2s ease, transform .2s ease;
}

.db-order-item__remove img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.db-order-item__remove:hover,
.db-order-item__remove:focus {
  border-color: var(--db-red);
  transform: translateY(-2px);
}

.db-order-form {
  padding: clamp(1.4rem, 3vw, 2.2rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border: 2px solid var(--db-blue);
  border-radius: var(--db-radius);
}

.db-order-form__control {
  width: 100%;
  min-height: 64px;
  padding: .9rem 1.45rem;
  border: 2px solid var(--db-blue);
  border-radius: 999px;
  outline: 0;
  background: #fff;
  color: var(--db-text);
  font-size: 1.05rem;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.db-order-form__control[type="tel"] {
  font-size: 1.35rem;
  font-weight: 800;
}

.db-order-form__control::placeholder {
  color: #444;
  opacity: 1;
}

.db-order-form__control:focus {
  border-color: var(--db-red);
  box-shadow: 0 0 0 4px rgba(189, 29, 45, .1);
}

.db-order-form__notice {
  margin: 2rem 0 1.25rem;
  font-size: clamp(1.35rem, 2.55vw, 1.9rem);
  line-height: 1.08;
  font-weight: 900;
}

.db-order-consent {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: start;
  gap: .85rem;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1.2;
}

.db-order-consent input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.db-order-consent__mark {
  width: 30px;
  height: 30px;
  padding: 5px;
  display: block;
  border: 2px solid var(--db-blue);
  border-radius: 50%;
  background: #fff;
  box-shadow: inset 0 0 0 5px #fff;
}

.db-order-consent input:checked + .db-order-consent__mark {
  background: var(--db-red);
}

.db-order-consent input:focus-visible + .db-order-consent__mark {
  outline: 3px solid rgba(189, 29, 45, .2);
  outline-offset: 2px;
}

.db-order-submit {
  align-self: flex-start;
  min-height: 58px;
  margin-top: 1.6rem;
  padding: .65rem 1.8rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  border: 0;
  border-radius: 999px;
  background: var(--db-red);
  color: #fff;
  font-size: 1.45rem;
  line-height: 1;
  font-weight: 900;
  text-transform: uppercase;
  transition: background-color .2s ease, transform .2s ease;
}

.db-order-submit img {
  width: 31px;
  height: 31px;
  filter: brightness(0) invert(1);
}

.db-order-submit:hover,
.db-order-submit:focus {
  background: var(--db-red-light);
  transform: translateY(-2px);
}

.db-order-submit:disabled,
.db-order-submit.is-loading {
  cursor: wait;
  opacity: .65;
  transform: none;
}

.db-order-form__status {
  min-height: 1.25rem;
  color: var(--db-red);
  font-weight: 700;
}

.db-order-empty {
  padding: clamp(2rem, 5vw, 4rem);
  border: 2px solid var(--db-blue);
  border-radius: var(--db-radius);
  text-align: center;
}

.db-order-empty h2 {
  margin: 0 0 .75rem;
  color: var(--db-red);
  font-size: clamp(1.7rem, 4vw, 2.8rem);
  font-weight: 900;
  text-transform: uppercase;
}

.db-order-empty .db-order-submit {
  margin-top: 1rem;
}

.db-order-success {
  padding: clamp(1.4rem, 4vw, 3rem);
  border: 2px solid var(--db-blue);
  border-radius: var(--db-radius);
  background: #fff;
  color: var(--db-text);
}

.db-order-success h2 {
  margin: 0;
  color: var(--db-red);
  font-size: clamp(1.8rem, 4vw, 3.4rem);
  line-height: 1.05;
  font-weight: 900;
  text-transform: uppercase;
}

.db-order-success__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
}

.db-order-success__brand {
  flex: 0 0 170px;
}

.db-order-success__brand img {
  width: 170px;
  height: auto;
}

.db-order-success__number {
  margin: 0 0 1rem;
  color: var(--db-red);
  font-size: 1.15rem;
  font-weight: 700;
}

.db-order-success__notice {
  max-width: 560px;
  margin: 1.25rem 0 0;
  line-height: 1.6;
}

.db-order-success h3 {
  margin: 0 0 1.25rem;
  font-size: 1.25rem;
  font-weight: 900;
  text-transform: uppercase;
}

.db-order-success__details {
  margin: 2rem 0;
  padding: 1.5rem;
  border-radius: 18px;
  background: #f3f6f8;
}

.db-order-success__details dl {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem 2rem;
}

.db-order-success__details dt {
  margin-bottom: .3rem;
  color: #526879;
  font-size: .85rem;
  font-weight: 700;
}

.db-order-success__details dd {
  margin: 0;
  overflow-wrap: anywhere;
  line-height: 1.5;
}

.db-order-success__table-wrap {
  overflow-x: auto;
}

.db-order-success__table {
  width: 100%;
  min-width: 580px;
  border-collapse: collapse;
  font-size: .95rem;
}

.db-order-success__table th,
.db-order-success__table td {
  padding: 1rem .75rem;
  border-bottom: 1px solid var(--db-blue-light);
  vertical-align: middle;
}

.db-order-success__table thead th {
  background: var(--db-blue-light);
  text-align: center;
  font-size: .8rem;
}

.db-order-success__table thead th:nth-child(2) {
  text-align: left;
}

.db-order-success__table img {
  display: block;
  max-width: 75px;
  max-height: 75px;
  margin: auto;
  object-fit: contain;
}

.db-order-success__table .item_id {
  display: none;
}

.db-order-success__table tfoot th {
  text-align: right;
}

.db-order-success__table tfoot td {
  color: var(--db-red);
  text-align: center;
  font-weight: 900;
  white-space: nowrap;
}

.db-order-success__actions {
  margin: 1.5rem 0 3rem;
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

.db-order-success__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: .8rem 1.5rem;
  border: 2px solid var(--db-red);
  border-radius: 999px;
  background: var(--db-red);
  color: #fff;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.db-order-success__button--outline {
  background: #fff;
  color: var(--db-red);
}

.db-order-success__button:hover,
.db-order-success__button:focus-visible {
  background: var(--db-red-light);
  border-color: var(--db-red-light);
  color: #fff;
}

@media (max-width: 575.98px) {
  .db-order-success__head { flex-direction: column-reverse; gap: 1.5rem; }
  .db-order-success__brand { flex-basis: auto; }
  .db-order-success__brand img { width: 130px; }
  .db-order-success__details { padding: 1.1rem; }
  .db-order-success__details dl { grid-template-columns: 1fr; }
  .db-order-success__actions { flex-direction: column; }
}

@media print {
  .db-order-success { padding: 0; border: 0; }
  .db-order-success__head { flex-direction: row; }
  .db-order-success__details dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .db-order-success__table-wrap { overflow: visible; }
  .db-order-success__table { min-width: 0; font-size: 10pt; }
  .db-order-success__table th, .db-order-success__table td { padding: .5rem; }
  .db-order-success__table tr { break-inside: avoid; }
  .db-order-success__actions { display: none; }
}

/* Доставка. */
.db-delivery-card {
  position: relative;
  min-height: 400px;
  overflow: visible;
  border-radius: var(--db-radius);
  background: linear-gradient(90deg, var(--db-blue) 0%, var(--db-blue) 72%, transparent 72%);
}

.db-delivery-card__text {
  z-index: 2;
  padding: 3rem 2.75rem 2.5rem;
}

.db-delivery-card h2 {
  margin: 0 0 1.5rem;
  color: #fff;
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: .98;
  font-weight: 900;
  letter-spacing: -.035em;
  text-transform: uppercase;
}

.db-delivery-card p {
  max-width: 470px;
  margin: 0;
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  line-height: 1.12;
  font-weight: 500;
}

.db-delivery-card__truck {
  position: relative;
  z-index: 3;
  width: 142%;
  max-width: none;
  margin-left: -35%;
  margin-bottom: -1.25rem;
  filter: drop-shadow(0 12px 12px rgba(56, 69, 77, .12));
}

/* Партнеры. */
.db-partners__head {
  margin-bottom: 1.4rem;
}

.db-partners__head p {
  margin: 0 0 .2rem;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.1;
}

.db-partners__line {
  padding: .75rem 0;
  background: var(--db-blue);
}

.db-partner {
  height: 76px;
  padding: .75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: #fff;
  transition: transform .2s ease, box-shadow .2s ease;
}

.db-partner img {
  width: auto;
  max-width: 100%;
  max-height: 48px;
}

.db-partner:hover,
.db-partner:focus {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(68, 87, 99, .14);
}

/* О компании и награды. */
.db-about {
  padding-top: clamp(2.5rem, 5vw, 4.5rem);
}

.db-award,
.db-about-card {
  overflow: hidden;
  border-radius: var(--db-radius);
}

.db-award {
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e6c448;
}

.db-award img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.db-about-card {
  min-height: 380px;
  padding: clamp(2rem, 5vw, 4rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--db-blue);
}

.db-about-card p {
  max-width: 760px;
  font-size: clamp(1.05rem, 1.9vw, 1.3rem);
  line-height: 1.22;
}

/* Контакты. */
.db-contacts {
  padding-bottom: clamp(3.5rem, 6vw, 5rem);
}

.db-contacts .db-title {
  margin-bottom: 1.7rem;
}

.db-contact-list {
  margin: 0;
}

.db-contact-list > div {
  margin-bottom: 1.25rem;
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 1rem;
}

.db-contact-list dt,
.db-contact-list dd {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.2;
}

.db-contact-list dt {
  text-align: right;
  font-weight: 900;
}

.db-contact-list a:not(.db-pill) {
  text-decoration: none;
}

.db-contact-list a:not(.db-pill):hover {
  color: var(--db-red);
}

.db-map {
  display: block;
  overflow: hidden;
  border-radius: var(--db-radius);
  background: var(--db-blue-light);
}

.db-map img {
  width: 100%;
  aspect-ratio: 1.45 / 1;
  display: block;
  object-fit: cover;
  transition: transform .35s ease;
}

.db-map:hover img,
.db-map:focus img {
  transform: scale(1.02);
}

/* Подвал. */
.db-footer {
  padding: 1rem 0;
  background: var(--db-blue);
  color: #fff;
}

.db-footer__logo {
  display: inline-flex;
  padding: .35rem .65rem;
  border: 2px solid rgba(255, 255, 255, .72);
  border-radius: 9px;
  background: #fff;
}

.db-footer__logo img {
  width: 160px;
  height: auto;
}

.db-footer__links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  font-size: .9rem;
}

.db-footer__links a {
  color: #fff;
  text-decoration: none;
}

.db-footer__links a:hover,
.db-footer__links a:focus {
  text-decoration: underline;
}

@media (max-width: 991.98px) {
  .db-layout-menu__inner {
    align-items: flex-start;
    flex-direction: column;
    gap: .45rem;
  }

  .db-layout-menu__nav {
    width: 100%;
    padding-bottom: .15rem;
  }

  .db-product-detail-page__title {
    white-space: normal;
  }

  .db-product-detail__gallery-column {
    border-right: 0;
    border-bottom: 2px solid var(--db-blue);
  }

  .db-product-detail__main-visual {
    aspect-ratio: 1.65 / 1;
    border-radius: 0 0 var(--db-radius) var(--db-radius);
  }

  .db-product-detail__main-image {
    width: 60%;
  }

  .db-product-detail__gallery {
    max-width: 720px;
    margin: 0 auto;
  }

  .db-hero__row,
  .db-brand-card,
  .db-hero-slider,
  .db-hero-slider .carousel-item img {
    min-height: 360px;
  }

  .db-brand-card {
    padding: 2rem;
    display: grid;
    grid-template-columns: minmax(150px, 220px) 1fr 1fr;
    align-items: center;
    gap: 1.5rem;
  }

  .db-brand-card__logo,
  .db-brand-card__years,
  .db-brand-card__feature {
    margin: 0;
  }

  .db-delivery-card {
    overflow: hidden;
    background: var(--db-blue);
  }

  .db-delivery-card__truck {
    width: 120%;
    margin: -2rem 0 -1rem 5%;
  }

  .db-footer__links {
    justify-content: flex-start;
    flex-wrap: wrap;
  }
}

@media (max-width: 767.98px) {
  .db-layout-menu {
    padding: .5rem 0;
  }

  .db-layout-menu__title {
    display: none;
  }

  .db-layout-menu__inner {
    display: block;
  }

  .db-navbar {
    min-height: 68px;
    padding: .65rem 0;
  }

  .db-navbar__brand {
    display: inline-block;
  }

  .db-navbar .navbar-collapse {
    margin-top: .75rem;
    padding: .75rem 1rem;
    border-radius: 16px;
    background: var(--db-blue-light);
  }

  .db-navbar__list {
    align-items: stretch;
    gap: 0;
  }

  .db-navbar__logo-item {
    display: none;
  }

  .db-navbar .nav-link {
    padding: .7rem .25rem;
  }

  .db-navbar--dynamic .sub_menu {
    min-width: 0;
    padding: 0 0 .35rem .8rem;
    visibility: visible;
    opacity: 1;
    position: static;
    transform: none;
  }

  .db-navbar--dynamic .sub_list {
    padding: .2rem 0 .2rem .65rem;
    border: 0;
    border-left: 2px solid var(--db-blue);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .db-navbar--dynamic .sub_list_link {
    padding: .5rem .25rem;
    font-size: .78rem;
  }

  .db-hero-slider__caption {
    max-width: calc(100% - 2rem);
    padding: .8rem 1rem;
    right: 1rem;
    bottom: 1.2rem;
    left: 1rem;
  }

  .db-section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .db-section-head__actions {
    width: 100%;
    justify-content: flex-start;
  }

  .db-sale-grid {
    margin-right: -.75rem;
    padding: 0 .75rem .75rem 0;
    display: flex;
    overflow-x: auto;
    scroll-padding-left: 0;
    scroll-snap-type: x mandatory;
  }

  .db-sale-card {
    flex: 0 0 min(82vw, 390px);
    scroll-snap-align: start;
  }

  .db-sale-card__title {
    min-height: 0;
  }

  .db-product-group__title {
    font-size: clamp(2.7rem, 10vw, 4.5rem);
    white-space: normal;
  }

  .db-product-group__banner {
    aspect-ratio: 3.2 / 1;
  }

  .db-group-product__title {
    min-height: 0;
  }

  .db-product-detail-page__title {
    font-size: clamp(2.7rem, 10vw, 4.5rem);
  }

  .db-product-detail-page__category {
    font-size: clamp(2.3rem, 8vw, 3.5rem);
  }

  .db-product-detail__main-visual {
    aspect-ratio: 1.35 / 1;
  }

  .db-product-detail__main-image {
    width: 72%;
  }

  .db-partners__head p {
    margin-top: .5rem;
  }

  .db-award {
    min-height: 0;
  }

  .db-award img {
    max-height: 520px;
    object-fit: contain;
  }

  .db-footer,
  .db-footer__links {
    text-align: center;
  }

  .db-footer__links {
    flex-direction: column;
    gap: .55rem;
  }
}

@media (max-width: 575.98px) {
  :root {
    --db-radius: 18px;
  }

  .db-section {
    padding-top: 3.5rem;
  }

  .db-layout-menu__item {
    padding: .4rem .58rem;
    font-size: .7rem;
  }

  .db-hero__row,
  .db-brand-card,
  .db-hero-slider,
  .db-hero-slider .carousel-item img {
    min-height: 290px;
  }

  .db-brand-card {
    padding: 1.5rem;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .db-brand-card__logo {
    grid-column: 1 / -1;
    max-width: 165px;
  }

  .db-brand-card__years,
  .db-brand-card__feature {
    font-size: .9rem;
  }

  .db-section-head__actions {
    gap: .65rem;
  }

  .db-pill {
    min-height: 44px;
    padding: .45rem 1rem;
    font-size: 1rem;
  }

  .db-product-card__content {
    padding: 1.1rem;
  }

  .db-product-card__title {
    font-size: 1.05rem;
  }

  .db-catalog-title {
    margin-bottom: 1.2rem;
    font-size: 3.25rem;
  }

  .db-sale-card__visual {
    padding: .8rem;
  }

  .db-product-group__hero {
    padding-top: .8rem;
  }

  .db-product-group__title {
    font-size: 2.65rem;
  }

  .db-product-group__banner {
    aspect-ratio: 2.35 / 1;
  }

  .db-group-section__title {
    font-size: 2.35rem;
  }

  .db-product-detail-page__head {
    padding-top: .8rem;
  }

  .db-product-detail-page__title {
    font-size: 2.65rem;
  }

  .db-product-detail-page__category {
    font-size: 2.35rem;
  }

  .db-product-detail__gallery {
    padding: 1rem 1rem 0;
    gap: .8rem;
  }

  .db-product-detail__content {
    padding: 1.35rem;
  }

  .db-product-detail__name {
    font-size: 2rem;
  }

  .db-nutrition__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .db-nutrition__item {
    padding: .65rem .4rem;
  }

  .db-nutrition__item:nth-child(3) {
    border-left: 0;
  }

  .db-nutrition__item:nth-child(n+3) {
    border-top: 2px solid var(--db-blue);
  }

  .db-order-button {
    width: 100%;
  }

  .db-delivery-card__text {
    padding: 2rem 1.35rem 1rem;
  }

  .db-delivery-card h2 {
    font-size: 2.65rem;
  }

  .db-delivery-card__truck {
    width: 135%;
    margin-left: -12%;
  }

  .db-partner {
    height: 66px;
    padding: .7rem;
  }

  .db-about-card {
    min-height: 0;
    padding: 1.65rem;
  }

  .db-contact-list > div {
    grid-template-columns: 1fr;
    gap: .3rem;
  }

  .db-contact-list dt {
    text-align: left;
  }

  .db-map img {
    aspect-ratio: 1.15 / 1;
  }
}

@media (max-width: 991.98px) {
  .db-news-featured__link {
    aspect-ratio: 2.15 / 1;
  }

  .db-news-article__intro-image {
    max-width: 720px;
  }
}

@media (max-width: 767.98px) {
  .db-news-page__head {
    padding: .8rem 0 1.5rem;
  }

  .db-news-featured__link {
    aspect-ratio: 1.58 / 1;
  }

  .db-news-card__image {
    aspect-ratio: 1.55 / 1;
  }

  .db-news-article {
    padding-top: .8rem;
  }

  .db-news-article__banner {
    aspect-ratio: 1.6 / 1;
  }

  .db-news-article__banner-arrow--prev {
    left: .65rem;
  }

  .db-news-article__banner-arrow--next {
    right: .65rem;
  }
}

@media (max-width: 575.98px) {
  .db-news-featured__link {
    aspect-ratio: 1.22 / 1;
  }

  .db-news-featured__content {
    gap: .7rem;
  }

  .db-news-featured__content strong {
    font-size: 1.3rem;
  }

  .db-news-featured__content > span {
    font-size: .88rem;
  }

  .db-news-card h2 {
    margin-top: .85rem;
  }

  .db-news-article__head .db-title {
    margin-bottom: 1rem;
  }

  .db-news-article__head h2 {
    font-size: 1.65rem;
  }

  .db-news-article__lead {
    margin: 1.6rem 0;
    font-size: 1rem;
  }

  .db-news-article__intro-text,
  .db-news-article__body {
    font-size: 1rem;
    line-height: 1.28;
  }

  .db-news-article__body {
    padding: 0;
  }

  .db-news-article__banner {
    aspect-ratio: 1.22 / 1;
    margin-top: 1.5rem;
  }
}

@media (max-width: 1199.98px) {
  .db-order-item {
    grid-template-columns: minmax(160px, 190px) minmax(0, 1fr);
    gap: 1.5rem;
  }

  .db-quantity {
    width: min(100%, 230px);
  }
}

@media (max-width: 991.98px) {
  .db-order-item {
    grid-template-columns: minmax(170px, 220px) minmax(0, 1fr);
  }

  .db-order-form {
    max-width: 720px;
  }
}

@media (max-width: 767.98px) {
  .db-order-page__head {
    padding: .8rem 0 1.5rem;
  }

  .db-order-item {
    grid-template-columns: minmax(140px, 180px) minmax(0, 1fr);
    gap: 1.2rem;
  }

  .db-order-item__actions {
    gap: .7rem;
  }

  .db-order-item__remove {
    width: 56px;
    height: 56px;
  }
}

@media (max-width: 575.98px) {
  .db-order-item {
    min-height: 0;
    grid-template-columns: minmax(96px, 112px) minmax(0, 1fr);
    gap: .8rem;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
  }

  .db-order-item__visual {
    padding: .5rem;
    border-radius: 15px;
  }

  .db-order-item__content {
    padding: 0;
  }

  .db-order-item__content h2 {
    margin-bottom: .35rem;
    font-size: 1.02rem;
  }

  .db-order-item__content p {
    font-size: .86rem;
  }

  .db-order-item__actions {
    margin-top: .8rem;
    gap: .45rem;
  }

  .db-quantity {
    min-height: 46px;
    padding: 0 .25rem;
    grid-template-columns: 26px minmax(0, 1fr) 26px;
  }

  .db-quantity button {
    width: 26px;
    height: 38px;
    font-size: 1.35rem;
  }

  .db-quantity label {
    gap: .2rem;
    font-size: 1rem;
  }

  .db-order-item__remove {
    width: 46px;
    height: 46px;
    padding: .65rem;
  }

  .db-order-form {
    padding: 1rem;
    gap: .75rem;
  }

  .db-order-form__control {
    min-height: 54px;
    padding: .75rem 1.1rem;
    font-size: .95rem;
  }

  .db-order-form__control[type="tel"] {
    font-size: 1.05rem;
  }

  .db-order-form__notice {
    margin: 1.25rem 0 .75rem;
    font-size: 1.25rem;
  }

  .db-order-consent {
    grid-template-columns: 27px minmax(0, 1fr);
    gap: .7rem;
    font-size: .9rem;
  }

  .db-order-consent__mark {
    width: 27px;
    height: 27px;
  }

  .db-order-submit {
    width: 100%;
    margin-top: 1rem;
    font-size: 1.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
