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

:root {
  --rd-color-navy: #0c274d;
  --rd-color-navy-soft: #17395f;
  --rd-color-text: #102a50;
  --rd-color-muted: #63738c;
  --rd-color-line: #e7edf4;
  --rd-color-red: #f31d2c;
  --rd-color-blue: #2b79c8;
  --rd-color-bg: #f8fafc;
  --rd-color-white: #fff;
  --rd-shadow-card: 0 8px 26px rgba(15, 39, 72, 0.06);
  --rd-radius: 8px;
  --rd-transition: 180ms ease;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--rd-color-text);
  background: var(--rd-color-bg);
  font-family: "Rubik", Arial, Helvetica, sans-serif;
  line-height: 1.35;
}

img,
svg {
  display: block;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}


/* Header */
.rd-header {
  position: sticky;
  top: 0;
  z-index: 120;
  color: #fff;
  background:
    radial-gradient(circle at 72% -40%, rgba(31, 104, 158, 0.23), transparent 36%),
    linear-gradient(100deg, #082039 0%, #062844 52%, #041d34 100%);
  box-shadow: 0 8px 24px rgba(0, 20, 40, 0.16);
}

.rd-header__container {
  width: min(100%, 1980px);
  margin: 0 auto;
  padding: 0 14px;
}

.rd-header__mobile {
  display: flex;
  min-height: 68px;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
}

.rd-header__desktop {
  display: none;
}

.rd-header__brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  text-decoration: none;
}

.rd-header__mobile > .rd-header__brand {
  margin-right: auto;
}

.rd-header__logo {
  width: 170px;
  max-width: 100%;
  height: auto;
}

.rd-header__icon-button {
  display: inline-grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  padding: 0;
  color: #fff;
  background: transparent;
  border: 0;
  border-radius: 8px;
  font: inherit;
  cursor: pointer;
}

.rd-header__icon-button .bi {
  font-size: 25px;
  line-height: 1;
}

.rd-header__menu-button .bi {
  font-size: 33px;
}

.rd-header__mobile-actions {
  display: flex;
  align-items: center;
  gap: 2px;
}

.rd-header__mobile-cart {
  display: inline-flex;
  min-width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
}

.rd-header__mobile-cart-icon,
.rd-header__cart-icon {
  position: relative;
  display: inline-grid;
  place-items: center;
}

.rd-header__mobile-cart-icon .bi {
  font-size: 26px;
}

.rd-header__cart-count {
  position: absolute;
  top: -9px;
  right: -11px;
  display: grid;
  min-width: 20px;
  height: 20px;
  place-items: center;
  padding: 0 5px;
  color: #fff;
  background: #ff2634;
  border: 2px solid #08213a;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
}

.rd-header__mobile-panel,
.rd-header__search-panel {
  display: none;
  background: #fff;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 12px 28px rgba(3, 24, 43, 0.16);
}

.rd-header__mobile-panel--open,
.rd-header__search-panel--open {
  display: block;
}

.rd-header__mobile-panel-inner {
  display: grid;
  width: min(100%, 1980px);
  margin: 0 auto;
  padding: 8px 14px 14px;
}

.rd-header__mobile-menu-link {
  padding: 12px 4px;
  color: #15385d;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  border-bottom: 1px solid #edf1f5;
}

.rd-header__search-panel {
  padding: 12px 14px 14px;
}

.rd-header__search-panel-form {
  display: flex;
  width: min(100%, 720px);
  margin: 0 auto;
  overflow: hidden;
  background: #fff;
  border: 1px solid #d7e0e9;
  border-radius: 6px;
}

.rd-header__search-panel-input {
  width: 100%;
  min-width: 0;
  height: 46px;
  padding: 0 14px;
  color: #15375a;
  background: #fff;
  border: 0;
  outline: 0;
  font: inherit;
  font-size: 14px;
}

.rd-header__search-panel-button {
  display: grid;
  width: 50px;
  flex: 0 0 50px;
  place-items: center;
  padding: 0;
  color: #15375a;
  background: #fff;
  border: 0;
  border-left: 1px solid #d7e0e9;
  cursor: pointer;
}

.rd-header__search-panel-button .bi {
  font-size: 19px;
}

@media (min-width: 480px) {
  .rd-header__mobile {
    min-height: 74px;
  }

  .rd-header__logo {
    width: 190px;
  }

  .rd-header__mobile-actions {
    gap: 6px;
  }
}

@media (min-width: 768px) {
  .rd-header__container {
    padding: 0 24px;
  }

  .rd-header__mobile {
    min-height: 80px;
  }

  .rd-header__logo {
    width: 220px;
  }

  .rd-header__icon-button,
  .rd-header__mobile-cart {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
  }

  .rd-header__icon-button .bi,
  .rd-header__mobile-cart-icon .bi {
    font-size: 28px;
  }

  .rd-header__menu-button .bi {
    font-size: 36px;
  }

  .rd-header__mobile-actions {
    gap: 10px;
  }

  .rd-header__mobile-panel-inner,
  .rd-header__search-panel {
    padding-right: 24px;
    padding-left: 24px;
  }
}

@media (min-width: 1200px) {
  .rd-header__container {
    padding: 0 28px;
  }

  .rd-header__mobile,
  .rd-header__mobile-panel,
  .rd-header__search-panel {
    display: none !important;
  }

  .rd-header__desktop {
    display: grid;
    grid-template-columns: 220px 210px minmax(280px, 1fr) auto auto auto;
    min-height: 85px;
    align-items: center;
    gap: 18px;
  }

  .rd-header__brand--desktop {
    min-width: 0;
  }

  .rd-header__logo--desktop {
    width: 250px;
  }

  .rd-header__catalog-button {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 16px;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    background: linear-gradient(180deg, #ff2c38 0%, #f01826 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 5px;
    box-shadow: 0 7px 16px rgba(227, 20, 37, 0.2);
  }

  .rd-header__catalog-button .bi {
    font-size: 20px;
  }

  .rd-header__search {
    display: flex;
    min-width: 0;
    height: 46px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #d7e0e9;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0, 19, 36, 0.08);
  }

  .rd-header__search-input {
    width: 100%;
    min-width: 0;
    padding: 0 17px;
    color: #173756;
    background: #fff;
    border: 0;
    outline: 0;
    font: inherit;
    font-size: 14px;
  }

  .rd-header__search-input::placeholder,
  .rd-header__search-panel-input::placeholder {
    color: #8796a8;
  }

  .rd-header__search-button {
    display: grid;
    width: 48px;
    flex: 0 0 48px;
    place-items: center;
    padding: 0;
    color: #183b60;
    background: #fff;
    border: 0;
    border-left: 1px solid #e1e7ee;
    cursor: pointer;
  }

  .rd-header__search-button .bi {
    font-size: 18px;
  }

  .rd-header__contact,
  .rd-header__cart {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 11px;
    color: #fff;
    text-decoration: none;
  }

  .rd-header__contact-icon,
  .rd-header__cart-icon {
    display: grid;
    width: 32px;
    flex: 0 0 32px;
    place-items: center;
  }

  .rd-header__contact-icon .bi,
  .rd-header__cart-icon .bi {
    font-size: 25px;
    line-height: 1;
  }

  .rd-header__contact-content,
  .rd-header__cart-content {
    display: grid;
    min-width: 0;
    gap: 4px;
  }

  .rd-header__contact-main,
  .rd-header__cart-title {
    color: #fff;
    font-size: 13px;
    line-height: 1.1;
    font-weight: 700;
    white-space: nowrap;
  }

  .rd-header__contact-sub,
  .rd-header__cart-sub {
    color: #c0cedb;
    font-size: 12px;
    line-height: 1.1;
    white-space: nowrap;
  }

  .rd-header__cart {
    padding-left: 8px;
  }

  .rd-header__cart-count {
    top: -11px;
    right: -10px;
  }
}

@media (min-width: 1440px) {
  .rd-header__desktop {
    grid-template-columns: 235px 220px minmax(360px, 1fr) auto auto auto;
    min-height: 85px;
    gap: 22px;
  }

  .rd-header__logo--desktop {
    width: 270px;
  }

  .rd-header__catalog-button {
    min-height: 48px;
    font-size: 15px;
  }

  .rd-header__search {
    height: 48px;
  }

  .rd-header__contact-main,
  .rd-header__cart-title {
    font-size: 13px;
  }

  .rd-header__contact-sub,
  .rd-header__cart-sub {
    font-size: 13px;
  }
}

@media (min-width: 1700px) {
  .rd-header__desktop {
    grid-template-columns: 250px 225px minmax(440px, 1fr) 220px 240px 140px;
    min-height: 85px;
    gap: 24px;
  }

  .rd-header__logo--desktop {
    width: 235px;
  }
}


/* Main navigation */
.rd-main-menu {
  display: none;
  background: #fff;
  border-top: 1px solid #dbe3ec;
  border-bottom: 1px solid #e9eef4;
  box-shadow: 0 5px 14px rgba(15, 39, 72, 0.035);
}

.rd-main-menu__container {
  display: flex;
  width: min(100%, 1980px);
  margin: 0 auto;
  padding: 0 28px;
  align-items: center;
}

.rd-main-menu__list {
  display: flex;
  min-width: 0;
  min-height: 60px;
  align-items: center;
  gap: clamp(38px, 4.1vw, 86px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.rd-main-menu__item {
  flex: 0 0 auto;
}

.rd-main-menu__link {
  display: inline-flex;
  min-height: 60px;
  align-items: center;
  color: #102a50;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

.rd-main-menu__account {
  position: relative;
  flex: 0 0 auto;
  margin-left: auto;
  padding-left: 32px;
}

.rd-main-menu__account-link {
  display: inline-flex;
  min-height: 60px;
  align-items: center;
  color: #102a50;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

.rd-main-menu__account-dropdown {
  position: absolute;
  z-index: 40;
  top: calc(100% - 1px);
  right: 0;
  display: grid;
  min-width: 170px;
  padding: 8px 0;
  visibility: hidden;
  opacity: 0;
  background: #fff;
  border: 1px solid #e5ebf2;
  border-radius: 0 0 7px 7px;
  box-shadow: 0 12px 28px rgba(15, 39, 72, 0.14);
  transform: translateY(6px);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.rd-main-menu__account:hover .rd-main-menu__account-dropdown,
.rd-main-menu__account:focus-within .rd-main-menu__account-dropdown {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.rd-main-menu__account-dropdown-link {
  display: block;
  padding: 10px 16px;
  color: #102a50;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.25;
  white-space: nowrap;
}

.rd-main-menu__link:hover,
.rd-main-menu__link:focus-visible,
.rd-main-menu__account-link:hover,
.rd-main-menu__account-link:focus-visible,
.rd-main-menu__account-dropdown-link:hover,
.rd-main-menu__account-dropdown-link:focus-visible {
  color: var(--rd-color-red);
  outline: none;
}

@media (min-width: 1200px) {
  .rd-main-menu {
    display: block;
  }
}

@media (min-width: 1440px) {
  .rd-main-menu__list,
  .rd-main-menu__link,
  .rd-main-menu__account-link {
    min-height: 64px;
  }

  .rd-main-menu__link,
  .rd-main-menu__account-link {
    font-size: 15px;
  }
}

@media (min-width: 1700px) {
  .rd-main-menu__list,
  .rd-main-menu__link,
  .rd-main-menu__account-link {
    min-height: 68px;
  }

  .rd-main-menu__link,
  .rd-main-menu__account-link {
    font-size: 16px;
  }
}


.rd-page {
  min-height: 100vh;
}

.rd-hero {
  padding: 14px 0 24px;
  background:
    radial-gradient(circle at 78% 10%, rgba(220, 228, 239, 0.25), transparent 26%),
    linear-gradient(180deg, #fbfcfe 0%, #f7f9fc 100%);
}

.rd-hero__container {
  width: min(100%, 1980px);
  margin: 0 auto;
  padding: 0 14px;
}

.rd-hero__layout {
  display: grid;
  grid-template-areas:
    "slider"
    "side"
    "benefits";
  gap: 14px;
}

/* Catalog menu */
.rd-catalog-menu {
  grid-area: menu;
  display: none;
  overflow: hidden;
  background: var(--rd-color-white);
  border: 1px solid #eef2f7;
  border-radius: var(--rd-radius);
  box-shadow: var(--rd-shadow-card);
}

.rd-catalog-menu__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 8px;
  list-style: none;
}

.rd-catalog-menu__item {
  min-width: 0;
}

.rd-catalog-menu__link {
  display: flex;
  min-height: 46px;
  align-items: center;
  gap: 12px;
  padding: 8px 10px;
  color: #263e61;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  border-radius: 6px;
  transition: color var(--rd-transition), background-color var(--rd-transition), transform var(--rd-transition);
}


.rd-catalog-menu__image-wrap {
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  place-items: center;
}

.rd-catalog-menu__image {
  width: 25px;
  height: 25px;
  object-fit: contain;
}

.rd-catalog-menu__text {
  min-width: 0;
}

.rd-catalog-menu__link:hover,
.rd-catalog-menu__link:focus-visible {
  color: var(--rd-color-red);
  background: #f7f9fc;
  outline: none;
}

/* Slider */
.rd-slider {
  grid-area: slider;
  position: relative;
  width: 100%;
  overflow: hidden;
  aspect-ratio: 1829 / 860;
  min-height: 0;
  align-self: start;
  background: #05223d;
  border-radius: var(--rd-radius);
  box-shadow: 0 8px 24px rgba(8, 30, 56, 0.09);
  isolation: isolate;
}

.rd-slider__wrapper {
  height: 100%;
}

.rd-slider__slide {
  display: block;
  height: 100%;
  overflow: hidden;
  background: #06233e;
}

.rd-slider__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  user-select: none;
  -webkit-user-drag: none;
}

.rd-slider__arrow {
  position: absolute;
  z-index: 5;
  top: 50%;
  display: inline-grid;
  width: 36px;
  height: 36px;
  place-items: center;
  padding: 0;
  color: #173351;
  background: rgba(255, 255, 255, 0.98);
  border: 0;
  border-radius: 50%;
  box-shadow: 0 5px 18px rgba(1, 18, 36, 0.22);
  cursor: pointer;
  transform: translateY(-50%);
  transition: transform var(--rd-transition), box-shadow var(--rd-transition), opacity var(--rd-transition);
}

.rd-slider__arrow:hover,
.rd-slider__arrow:focus-visible {
  box-shadow: 0 7px 22px rgba(1, 18, 36, 0.3);
  outline: none;
  transform: translateY(-50%) scale(1.06);
}

.rd-slider__arrow--prev {
  left: 10px;
}

.rd-slider__arrow--next {
  right: 10px;
}

.rd-slider__arrow-icon {
  width: auto;
  height: auto;
  font-size: 18px;
  line-height: 1;
}

.rd-slider__pagination {
  position: absolute;
  z-index: 5;
  right: 24px;
  bottom: 24px;
  left: auto !important;
  display: flex;
  width: auto !important;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.rd-slider__pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  margin: 0 !important;
  opacity: 0.72;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.rd-slider__pagination .swiper-pagination-bullet-active {
  opacity: 1;
  background: #fff;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.18);
}

/* Fallback before Swiper initializes */
.rd-slider:not(.swiper-initialized) .rd-slider__wrapper {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 500ms ease;
  will-change: transform;
}

.rd-slider:not(.swiper-initialized) .rd-slider__slide {
  width: 100%;
  flex: 0 0 100%;
}

/* Right column */
.rd-side-offers {
  grid-area: side;
  display: grid;
  gap: 14px;
}

.rd-order-card,
.rd-sale-card {
  position: relative;
  overflow: hidden;
  border: 1px solid #eef2f7;
  border-radius: var(--rd-radius);
  box-shadow: var(--rd-shadow-card);
}

.rd-order-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 80px;
  align-items: center;
  min-height: 210px;
  padding: 24px 20px;
  background: #fff;
}

.rd-order-card__content {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.rd-order-card__title,
.rd-sale-card__title {
  margin: 0;
  color: #102b52;
  font-size: 20px;
  line-height: 1.15;
  font-weight: 700;
}

.rd-order-card__text,
.rd-sale-card__text {
  margin: 18px 0 0;
  color: #687792;
  font-size: 14px;
  line-height: 1.45;
}

.rd-order-card__button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 22px;
  padding: 10px 15px;
  color: #183555;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  background: #fff;
  border: 1px solid #d9e2ed;
  border-radius: 5px;
  transition: color var(--rd-transition), border-color var(--rd-transition), box-shadow var(--rd-transition);
}

.rd-order-card__button:hover,
.rd-order-card__button:focus-visible {
  color: var(--rd-color-red);
  border-color: #efb7bc;
  box-shadow: 0 4px 12px rgba(15, 39, 72, 0.08);
  outline: none;
}

.rd-order-card__button-icon {
  width: auto;
  height: auto;
  flex: 0 0 auto;
  font-size: 18px;
  line-height: 1;
}

.rd-order-card__icon {
  justify-self: end;
  color: #254a75;
  font-size: 64px;
  line-height: 1;
}

.rd-sale-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 82px;
  align-items: center;
  min-height: 140px;
  padding: 21px 18px 20px 20px;
  background: linear-gradient(90deg, #fff 0%, #fff9f8 58%, #fff3f2 100%);
}

.rd-sale-card__content {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.rd-sale-card__text {
  margin-top: 11px;
}

.rd-sale-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  color: #3f83c5;
  font-size: 13px;
  text-decoration: none;
}

.rd-sale-card__link-text {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.rd-sale-card__arrow {
  color: #59a5e8;
  font-size: 19px;
  line-height: 1;
  text-decoration: none;
  transition: transform var(--rd-transition);
}

.rd-sale-card__link:hover .rd-sale-card__arrow,
.rd-sale-card__link:focus-visible .rd-sale-card__arrow {
  transform: translateX(3px);
}

.rd-sale-card__badge {
  position: relative;
  display: grid;
  width: 74px;
  height: 74px;
  place-items: center;
  justify-self: end;
  background: var(--rd-color-red);
  clip-path: polygon(50% 0%, 61% 10%, 75% 6%, 82% 19%, 96% 25%, 91% 40%, 100% 50%, 91% 61%, 96% 75%, 81% 81%, 75% 96%, 61% 91%, 50% 100%, 39% 91%, 25% 96%, 19% 81%, 4% 75%, 9% 61%, 0% 50%, 9% 39%, 4% 25%, 19% 19%, 25% 4%, 39% 9%);
  filter: drop-shadow(0 6px 10px rgba(243, 29, 44, 0.2));
}


.rd-sale-card__percent {
  position: relative;
  z-index: 1;
  color: #fff;
  font-size: 31px;
  font-weight: 700;
}

/* Benefits */
.rd-benefits {
  grid-area: benefits;
  display: grid;
  grid-template-columns: 1fr;
  overflow: hidden;
  background: #fff;
  border: 1px solid #eef2f7;
  border-radius: var(--rd-radius);
  box-shadow: var(--rd-shadow-card);
}

.rd-benefits__item {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 84px;
  align-items: center;
  gap: 13px;
  padding: 15px 18px;
}

.rd-benefits__item + .rd-benefits__item::before {
  position: absolute;
  top: 0;
  right: 18px;
  left: 18px;
  height: 1px;
  content: "";
  background: var(--rd-color-line);
}

.rd-benefits__icon-box {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  place-items: center;
  background: #f9fbfd;
  border: 1px solid #dfe7f0;
  border-radius: 5px;
}

.rd-benefits__icon {
  color: #284f7d;
  font-size: 25px;
  line-height: 1;
}

.rd-benefits__content {
  min-width: 0;
}

.rd-benefits__title {
  margin: 0;
  color: #15345c;
  font-size: 14px;
  line-height: 1.25;
  font-weight: 700;
}

.rd-benefits__text {
  margin: 4px 0 0;
  color: #637691;
  font-size: 13px;
  line-height: 1.3;
}

@media (min-width: 640px) {
  .rd-hero {
    padding-top: 18px;
  }

  .rd-hero__container {
    padding-inline: 20px;
  }

  .rd-catalog-menu__link {
    min-height: 42px;
    font-size: 14px;
  }

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

  .rd-benefits__item:nth-child(2n)::before {
    top: 14px;
    bottom: 14px;
    left: 0;
    width: 1px;
    height: auto;
  }

  .rd-benefits__item:nth-child(n+3)::after {
    position: absolute;
    top: 0;
    right: 18px;
    left: 18px;
    height: 1px;
    content: "";
    background: var(--rd-color-line);
  }

  .rd-benefits__item + .rd-benefits__item::before {
    background: var(--rd-color-line);
  }
}

@media (min-width: 768px) {
  .rd-hero__layout {
    grid-template-areas:
      "slider slider"
      "side side"
      "benefits benefits";
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .rd-catalog-menu__list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: 10px;
  }

  .rd-side-offers {
    grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr);
  }

  .rd-order-card,
  .rd-sale-card {
    min-height: 180px;
  }

  .rd-slider__arrow {
    width: 42px;
    height: 42px;
  }

  .rd-slider__arrow--prev {
    left: 16px;
  }

  .rd-slider__arrow--next {
    right: 16px;
  }

  .rd-slider__pagination {
    right: 20px;
    bottom: 20px;
  }
}

@media (min-width: 1200px) {
  .rd-hero {
    padding: 10px 0 22px;
  }

  .rd-hero__container {
    padding-inline: 24px;
  }

  .rd-hero__layout {
    grid-template-areas:
      "menu slider side"
      "benefits benefits benefits";
    grid-template-columns: 280px minmax(0, 1fr) 270px;
    gap: 18px;
    align-items: stretch;
  }

  .rd-catalog-menu {
    display: block;
    height: 100%;
  }

  .rd-catalog-menu__list {
    grid-template-columns: 1fr;
    height: 100%;
    align-content: center;
    padding: 12px 18px;
  }

  .rd-catalog-menu__link {
    min-height: 44px;
    padding: 7px 4px;
    gap: 10px;
    font-size: 13px;
    white-space: nowrap;
  }

  .rd-catalog-menu__image-wrap {
    width: 28px;
    height: 28px;
    flex-basis: 28px;
  }

  .rd-catalog-menu__image {
    width: 25px;
    height: 25px;
  }

  .rd-side-offers {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, 1fr) auto;
    height: 100%;
    gap: 16px;
  }

  .rd-order-card {
    min-height: 0;
    padding: 20px 16px;
    grid-template-columns: minmax(0, 1fr) 68px;
  }

  .rd-order-card__title,
  .rd-sale-card__title {
    font-size: 18px;
  }

  .rd-order-card__text,
  .rd-sale-card__text {
    font-size: 13px;
  }

  .rd-order-card__button {
    min-height: 44px;
    margin-top: 18px;
    padding-inline: 12px;
    font-size: 12px;
  }

  .rd-order-card__icon {
    font-size: 58px;
  }

  .rd-sale-card {
    min-height: 128px;
    padding: 18px 12px 18px 16px;
    grid-template-columns: minmax(0, 1fr) 66px;
  }

  .rd-sale-card__badge {
    width: 62px;
    height: 62px;
  }

  .rd-sale-card__percent {
    font-size: 26px;
  }

  .rd-benefits {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    min-height: 88px;
  }

  .rd-benefits__item {
    min-height: 88px;
    padding: 14px 18px;
  }

  .rd-benefits__item + .rd-benefits__item::before,
  .rd-benefits__item:nth-child(2n)::before {
    top: 14px;
    bottom: 14px;
    left: 0;
    width: 1px;
    height: auto;
  }

  .rd-benefits__item:nth-child(n+3)::after {
    display: none;
  }

  .rd-benefits__title {
    font-size: 13px;
  }

  .rd-benefits__text {
    font-size: 12px;
  }
}

@media (min-width: 1600px) {
  .rd-hero__layout {
    grid-template-columns: 385px minmax(0, 1fr) 334px;
    gap: 28px;
  }

  .rd-catalog-menu__list {
    padding: 16px 30px;
  }

  .rd-catalog-menu__link {
    min-height: 45px;
    gap: 12px;
    font-size: 15px;
  }

  .rd-catalog-menu__image-wrap {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
  }

  .rd-catalog-menu__image {
    width: 25px;
    height: 25px;
  }

  .rd-order-card {
    grid-template-columns: minmax(0, 1fr) 82px;
    padding: 32px 28px;
  }

  .rd-order-card__title,
  .rd-sale-card__title {
    font-size: 20px;
  }

  .rd-order-card__text,
  .rd-sale-card__text {
    font-size: 14px;
  }

  .rd-order-card__button {
    min-height: 50px;
    margin-top: 24px;
    padding-inline: 16px;
    font-size: 13px;
  }

  .rd-order-card__icon {
    font-size: 68px;
  }

  .rd-sale-card {
    min-height: 140px;
    grid-template-columns: minmax(0, 1fr) 84px;
    padding: 22px 18px 22px 28px;
  }

  .rd-sale-card__badge {
    width: 74px;
    height: 74px;
  }

  .rd-sale-card__percent {
    font-size: 31px;
  }

  .rd-benefits__item {
    gap: 16px;
    padding-inline: 24px;
  }

  .rd-benefits__icon-box {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
  }

  .rd-benefits__title {
    font-size: 14px;
  }

  .rd-benefits__text {
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rd-catalog-menu__link,
  .rd-slider__arrow,
  .rd-order-card__button,
  .rd-sale-card__arrow {
    transition: none;
  }
}

.rd-slider__fallback-bullet {
  width: 12px;
  height: 12px;
  padding: 0;
  margin: 0;
  opacity: 0.72;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  cursor: pointer;
}

.rd-slider__fallback-bullet--active {
  opacity: 1;
  background: #fff;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.18);
}


/* Product catalog */
.rd-product-catalog {
  padding: 4px 0 34px;
  background: #f8fafc;
}

.rd-product-catalog__container {
  width: min(100%, 1980px);
  margin: 0 auto;
  padding: 0 14px;
}

.rd-product-catalog__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
}

.rd-product-catalog__title {
  position: relative;
  margin: 0;
  padding-left: 15px;
  color: #102a50;
  font-size: 21px;
  line-height: 1.2;
  font-weight: 700;
}

.rd-product-catalog__title::before {
  position: absolute;
  top: 1px;
  bottom: 1px;
  left: 0;
  width: 4px;
  content: "";
  background: var(--rd-color-red);
  border-radius: 8px;
}

.rd-product-catalog__all-link {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  color: #315f92;
  text-decoration: none;
  font-size: 12px;
  font-weight: 500;
  transition: color var(--rd-transition);
}

.rd-product-catalog__all-arrow {
  color: var(--rd-color-red);
  font-size: 18px;
  line-height: 1;
  transition: transform var(--rd-transition);
}

.rd-product-catalog__all-link:hover,
.rd-product-catalog__all-link:focus-visible {
  color: var(--rd-color-red);
  outline: none;
}

.rd-product-catalog__all-link:hover .rd-product-catalog__all-arrow,
.rd-product-catalog__all-link:focus-visible .rd-product-catalog__all-arrow {
  transform: translateX(3px);
}

.rd-product-catalog__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

.rd-category-card {
  display: flex;
  min-width: 0;
  min-height: 100%;
  flex-direction: column;
  background: #fbfcfe;
  border: 1px solid #f0f3f7;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(15, 39, 72, 0.035);
}

.rd-category-card__image-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.rd-category-card__image-box {
  display: flex;
  height: 180px;
  align-items: center;
  justify-content: center;
  padding: 14px 18px 4px;
  background: #fff;
}

.rd-category-card__image {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
}

.rd-category-card__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: flex-start;
  padding: 14px 16px 16px;
}

.rd-category-card__title {
  margin: 0;
  color: #102a50;
  font-size: 16px;
  line-height: 1.25;
  font-weight: 700;
}

.rd-category-card__title-link {
  color: inherit;
  text-decoration: none;
}

.rd-category-card__text {
  margin-top: 6px;
  color: #687991;
  font-size: 13px;
  line-height: 1.38;
}

.rd-category-card__subcategory {
  color: inherit;
  text-decoration: none;
}

.rd-category-card__subcategory:hover,
.rd-category-card__subcategory:focus-visible,
.rd-category-card__title-link:hover,
.rd-category-card__title-link:focus-visible {
  color: #2f76bb;
  outline: none;
}

.rd-category-card__separator {
  color: #687991;
}

.rd-category-card__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 13px;
  color: #2f76bb;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 600;
  text-decoration: none;
}

.rd-category-card__more > span {
  font-size: 17px;
  line-height: 1;
}

.rd-category-card__image-link:focus-visible,
.rd-category-card__more:focus-visible {
  outline: 2px solid rgba(43, 121, 200, 0.35);
  outline-offset: -2px;
}

@media (min-width: 560px) {
  .rd-product-catalog__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .rd-category-card__image-box {
    height: 190px;
  }
}

@media (min-width: 640px) {
  .rd-product-catalog__container {
    padding-inline: 20px;
  }

  .rd-product-catalog__title {
    font-size: 23px;
  }

  .rd-product-catalog__all-link {
    font-size: 13px;
  }
}

@media (min-width: 992px) {
  .rd-product-catalog__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }

  .rd-category-card__image-box {
    height: 200px;
  }
}

@media (min-width: 1200px) {
  .rd-product-catalog {
    padding-top: 8px;
    padding-bottom: 38px;
  }

  .rd-product-catalog__container {
    padding-inline: 24px;
  }

  .rd-product-catalog__head {
    margin-bottom: 16px;
  }

  .rd-product-catalog__title {
    padding-left: 17px;
    font-size: 24px;
  }

  .rd-product-catalog__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
  }

  .rd-category-card__image-box {
    height: 190px;
    padding: 12px 24px 2px;
  }

  .rd-category-card__body {
    min-height: 140px;
    padding: 14px 18px 18px;
  }

  .rd-category-card__title {
    font-size: 16px;
  }

  .rd-category-card__text {
    font-size: 13px;
  }
}

@media (min-width: 1600px) {
  .rd-product-catalog__head {
    margin-bottom: 18px;
  }

  .rd-product-catalog__title {
    font-size: 27px;
  }

  .rd-product-catalog__all-link {
    font-size: 14px;
  }

  .rd-product-catalog__grid {
    gap: 20px;
  }

  .rd-category-card__image-box {
    height: 205px;
    padding: 10px 30px 0;
  }

  .rd-category-card__body {
    min-height: 148px;
    padding: 14px 20px 20px;
  }

  .rd-category-card__title {
    font-size: 17px;
  }

  .rd-category-card__text {
    font-size: 14px;
  }

  .rd-category-card__more {
    font-size: 14px;
  }
}


/* =========================================================
   Blog — block 03
   Mobile first / BEM / rd-* prefix
   ========================================================= */
.rd-blog {
  padding: 10px 0 34px;
}

.rd-blog__container {
  width: 100%;
  max-width: 2048px;
  margin: 0 auto;
  padding-inline: 14px;
}

.rd-blog__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.rd-blog__title {
  position: relative;
  margin: 0;
  padding-left: 15px;
  color: #102a50;
  font-size: 21px;
  line-height: 1.2;
  font-weight: 700;
}

.rd-blog__title::before {
  position: absolute;
  top: 1px;
  bottom: 1px;
  left: 0;
  width: 4px;
  content: "";
  background: var(--rd-color-red);
  border-radius: 8px;
}

.rd-blog__all-link {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  color: #315f92;
  text-decoration: none;
  font-size: 12px;
  font-weight: 500;
}

.rd-blog__all-arrow {
  color: var(--rd-color-red);
  font-size: 18px;
  line-height: 1;
}

.rd-blog__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}

.rd-blog-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e8edf3;
  border-radius: 7px;
  box-shadow: 0 5px 18px rgba(15, 39, 72, 0.035);
}

.rd-blog-card__image-link {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 8.2;
  background: #eef2f5;
  border-radius: 7px 7px 0 0;
  overflow: hidden;
}

.rd-blog-card__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rd-blog-card__body {
  display: flex;
  min-height: 178px;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: flex-start;
  padding: 14px 16px 17px;
}

.rd-blog-card__date {
  margin-bottom: 8px;
  color: #8695a9;
  font-size: 12px;
  line-height: 1.3;
}

.rd-blog-card__title {
  margin: 0;
  color: #102a50;
  font-size: 16px;
  line-height: 1.27;
  font-weight: 700;
}

.rd-blog-card__title a {
  color: inherit;
  text-decoration: none;
}

.rd-blog-card__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 16px;
  color: #315f92;
  text-decoration: none;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 500;
}

.rd-blog-card__more span {
  font-size: 17px;
  line-height: 1;
}

.rd-blog__all-link:focus-visible,
.rd-blog-card__image-link:focus-visible,
.rd-blog-card__title a:focus-visible,
.rd-blog-card__more:focus-visible {
  outline: 2px solid rgba(43, 121, 200, 0.35);
  outline-offset: 3px;
}

@media (min-width: 640px) {
  .rd-blog__container {
    padding-inline: 20px;
  }

  .rd-blog__title {
    font-size: 23px;
  }

  .rd-blog__all-link {
    font-size: 13px;
  }

  .rd-blog__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
}

@media (min-width: 1200px) {
  .rd-blog {
    padding-top: 8px;
    padding-bottom: 42px;
  }

  .rd-blog__container {
    padding-inline: 24px;
  }

  .rd-blog__head {
    margin-bottom: 16px;
  }

  .rd-blog__title {
    padding-left: 17px;
    font-size: 24px;
  }

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

  .rd-blog-card__body {
    min-height: 168px;
    padding: 14px 18px 18px;
  }
}

@media (min-width: 1600px) {
  .rd-blog__head {
    margin-bottom: 18px;
  }

  .rd-blog__title {
    font-size: 27px;
  }

  .rd-blog__all-link {
    font-size: 14px;
  }

  .rd-blog__grid {
    gap: 20px;
  }

  .rd-blog-card__body {
    min-height: 176px;
    padding: 15px 20px 20px;
  }

  .rd-blog-card__date {
    font-size: 13px;
  }

  .rd-blog-card__title {
    font-size: 17px;
  }

  .rd-blog-card__more {
    font-size: 14px;
  }
}

/* Block 04 — manufacturers */
.rd-manufacturers {
  padding: 8px 0 30px;
}

.rd-manufacturers__container {
  width: 100%;
  max-width: var(--rd-container-width);
  margin: 0 auto;
  padding-inline: 14px;
}

.rd-manufacturers__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.rd-manufacturers__title {
  position: relative;
  margin: 0;
  padding-left: 15px;
  color: #102a50;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.2;
}

.rd-manufacturers__title::before {
  position: absolute;
  top: 1px;
  bottom: 1px;
  left: 0;
  width: 4px;
  border-radius: 8px;
  background: var(--rd-color-red);
  content: "";
}

.rd-manufacturers__all-link {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  color: #315f92;
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
}

.rd-manufacturers__all-arrow {
  color: var(--rd-color-red);
  font-size: 18px;
  line-height: 1;
}

.rd-manufacturers__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 14px;
  padding: 12px 10px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 5px 18px rgba(15, 39, 72, 0.035);
}

.rd-manufacturers__item {
  display: flex;
  min-width: 0;
  height: 58px;
  align-items: center;
  justify-content: center;
  padding: 7px 10px;
  text-decoration: none;
}

.rd-manufacturers__logo {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 44px;
}

@media (min-width: 640px) {
  .rd-manufacturers__container {
    padding-inline: 20px;
  }

  .rd-manufacturers__title {
    font-size: 23px;
  }

  .rd-manufacturers__all-link {
    font-size: 13px;
  }

  .rd-manufacturers__grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
    padding: 16px 12px;
  }

  .rd-manufacturers__item {
    height: 64px;
  }
}

@media (min-width: 1200px) {
  .rd-manufacturers {
    padding-top: 8px;
    padding-bottom: 34px;
  }

  .rd-manufacturers__container {
    padding-inline: 24px;
  }

  .rd-manufacturers__head {
    margin-bottom: 14px;
  }

  .rd-manufacturers__title {
    padding-left: 17px;
    font-size: 24px;
  }

  .rd-manufacturers__grid {
    grid-template-columns: repeat(10, minmax(0, 1fr));
    gap: 0;
    padding: 18px 12px;
  }

  .rd-manufacturers__item {
    height: 68px;
    padding: 8px 12px;
  }
}

@media (min-width: 1600px) {
  .rd-manufacturers__head {
    margin-bottom: 16px;
  }

  .rd-manufacturers__title {
    font-size: 27px;
  }

  .rd-manufacturers__all-link {
    font-size: 14px;
  }

  .rd-manufacturers__grid {
    padding: 20px 18px;
  }

  .rd-manufacturers__item {
    height: 72px;
  }

  .rd-manufacturers__logo {
    max-height: 48px;
  }
}

/* Block 05 — footer */
.rd-footer {
  color: #eef4fb;
  background:
    radial-gradient(circle at 16% 22%, rgba(22, 88, 132, 0.20), transparent 31%),
    linear-gradient(135deg, #08243c 0%, #06223a 54%, #041b31 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.rd-footer__container {
  width: 100%;
  max-width: 1980px;
  margin: 0 auto;
  padding: 26px 14px 14px;
}

.rd-footer__top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

.rd-footer__company {
  min-width: 0;
}

.rd-footer__brand {
  display: inline-flex;
  max-width: 100%;
  color: #fff;
  text-decoration: none;
}

.rd-footer__brand-logo {
  display: block;
  width: 280px;
  max-width: 100%;
  height: auto;
}

.rd-footer__contacts {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.rd-footer__contact {
  display: flex;
  min-width: 0;
  align-items: flex-start;
  gap: 11px;
  color: #e9f1f8;
  font-size: 14px;
  line-height: 1.35;
  text-decoration: none;
}

.rd-footer__contact-icon {
  display: inline-grid;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  place-items: center;
  color: #f5f8fb;
  font-size: 19px;
  line-height: 1;
}

.rd-footer__socials {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.rd-footer__social {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
}

.rd-footer__social--vk {
  background: #103f61;
  color: #55b7f3;
}

.rd-footer__social--telegram {
  background: #103f61;
  color: #56c9fa;
}

.rd-footer__social--youtube {
  background: #103f61;
  color: #ff2430;
}

.rd-footer__social-icon {
  font-size: 20px;
  line-height: 1;
}

.rd-footer__social-icon--vk {
  display: block;
  width: 22px;
  height: 22px;
}

.rd-footer__menu {
  min-width: 0;
}

.rd-footer__menu-title {
  margin: 0 0 13px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
}

.rd-footer__menu-list {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rd-footer__menu-link {
  color: #d2dce7;
  font-size: 13px;
  line-height: 1.32;
  text-decoration: none;
}

.rd-footer__bottom {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 26px;
  padding-top: 15px;
  color: #a6b5c5;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 12px;
  line-height: 1.35;
}

.rd-footer__bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
}

.rd-footer__bottom-link {
  color: #b8c5d2;
  text-decoration: none;
}

.rd-footer__brand:focus-visible,
.rd-footer__contact:focus-visible,
.rd-footer__social:focus-visible,
.rd-footer__menu-link:focus-visible,
.rd-footer__bottom-link:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.55);
  outline-offset: 3px;
}

@media (min-width: 480px) {
  .rd-footer__top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rd-footer__company {
    grid-column: 1 / -1;
  }
}

@media (min-width: 768px) {
  .rd-footer__container {
    padding: 34px 20px 16px;
  }

  .rd-footer__top {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 34px 28px;
  }

  .rd-footer__company {
    grid-column: 1 / -1;
  }

  .rd-footer__contact {
    font-size: 15px;
  }

  .rd-footer__menu-title {
    font-size: 17px;
  }

  .rd-footer__menu-link {
    font-size: 14px;
  }

  .rd-footer__bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .rd-footer__bottom-links {
    justify-content: flex-end;
  }
}

@media (min-width: 1200px) {
  .rd-footer__container {
    padding: 36px 24px 16px;
  }

  .rd-footer__top {
    grid-template-columns: minmax(250px, 1.08fr) minmax(260px, 1.34fr) repeat(3, minmax(180px, 1fr));
    gap: 38px;
    align-items: start;
  }

  .rd-footer__company {
    grid-column: auto;
  }

  .rd-footer__brand-logo {
    width: 246px;
  }

  .rd-footer__contacts {
    margin-top: 24px;
  }

  .rd-footer__bottom {
    margin-top: 30px;
  }
}

@media (min-width: 1600px) {
  .rd-footer__container {
    padding: 40px 48px 18px;
  }

  .rd-footer__top {
    grid-template-columns: minmax(310px, 1.16fr) minmax(330px, 1.45fr) repeat(3, minmax(220px, 1fr));
    gap: 54px;
  }

  .rd-footer__brand-logo {
    width: 266px;
  }

  .rd-footer__contact {
    font-size: 16px;
  }

  .rd-footer__menu-title {
    margin-bottom: 14px;
    font-size: 18px;
  }

  .rd-footer__menu-list {
    gap: 8px;
  }

  .rd-footer__menu-link {
    font-size: 15px;
  }

  .rd-footer__bottom {
    font-size: 13px;
  }
}



/* =========================================================
   Popular products — block 08
   Mobile first / BEM / rd-* prefix
   ========================================================= */
.rd-popular-products {
  padding: 8px 0 34px;
  background: #f8fafc;
}

.rd-popular-products__container {
  width: min(100%, 1980px);
  margin: 0 auto;
  padding: 0 14px;
}

.rd-popular-products__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.rd-popular-products__title {
  position: relative;
  margin: 0;
  padding-left: 15px;
  color: #102a50;
  font-size: 21px;
  line-height: 1.2;
  font-weight: 700;
}

.rd-popular-products__title::before {
  position: absolute;
  top: 1px;
  bottom: 1px;
  left: 0;
  width: 4px;
  content: "";
  background: var(--rd-color-red);
  border-radius: 8px;
}

.rd-popular-products__all-link {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  color: #315f92;
  text-decoration: none;
  font-size: 12px;
  font-weight: 500;
}

.rd-popular-products__all-arrow {
  color: var(--rd-color-red);
  font-size: 18px;
  line-height: 1;
}

.rd-products-slider {
  position: relative;
  width: 100%;
  padding: 2px 1px;
}

.rd-products-slider__wrapper {
  align-items: stretch;
}

.rd-product-card {
  position: relative;
  display: flex;
  height: auto;
  min-width: 0;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e6ecf2;
  border-radius: 7px;
  box-shadow: 0 5px 18px rgba(15, 39, 72, 0.035);
}

.rd-product-card__badge {
  position: absolute;
  z-index: 3;
  top: 10px;
  left: 10px;
  display: inline-flex;
  min-width: 50px;
  height: 28px;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  color: #fff;
  background: #f31d2c;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.rd-product-card__image-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.rd-product-card__image-box {
  display: flex;
  height: 230px;
  align-items: center;
  justify-content: center;
  padding: 22px 22px 6px;
  background: #fff;
}

.rd-product-card__image {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
}

.rd-product-card__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 14px 16px 16px;
}

.rd-product-card__title {
  margin: 0;
  color: #17355a;
  font-size: 16px;
  line-height: 1.28;
  font-weight: 500;
}

.rd-product-card__title a {
  color: inherit;
  text-decoration: none;
}

.rd-product-card__stock {
  margin-top: 9px;
  color: #54b873;
  font-size: 13px;
  line-height: 1.2;
}

.rd-product-card__price-group {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.rd-product-card__price-current {
  color: #102a50;
  font-size: 19px;
  line-height: 1.1;
  font-weight: 700;
}

.rd-product-card__price-old {
  color: #8d9aaa;
  font-size: 12px;
  line-height: 1.1;
  text-decoration: line-through;
}

.rd-product-card__actions {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 14px;
}

.rd-product-card__quantity {
  display: grid;
  grid-template-columns: 38px 48px 38px;
  min-width: 0;
  height: 42px;
  overflow: hidden;
  border: 1px solid #dfe6ee;
  border-radius: 5px;
}

.rd-product-card__quantity-button,
.rd-product-card__quantity-input {
  min-width: 0;
  height: 40px;
  padding: 0;
  color: #17375d;
  background: #fff;
  border: 0;
  font: inherit;
  font-size: 15px;
  text-align: center;
}

.rd-product-card__quantity-button {
  cursor: pointer;
  font-size: 18px;
}

.rd-product-card__quantity-button + .rd-product-card__quantity-input,
.rd-product-card__quantity-input + .rd-product-card__quantity-button {
  border-left: 1px solid #dfe6ee;
}

.rd-product-card__quantity-input {
  appearance: textfield;
  -moz-appearance: textfield;
  outline: 0;
}

.rd-product-card__quantity-input::-webkit-outer-spin-button,
.rd-product-card__quantity-input::-webkit-inner-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

.rd-product-card__cart {
  display: inline-flex;
  width: 42px;
  min-width: 42px;
  height: 42px;
  flex: 0 0 42px;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: #fff;
  background: #f31d2c;
  border: 0;
  border-radius: 5px;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.rd-product-card__cart .bi {
  font-size: 18px;
}

.rd-products-slider__arrow {
  position: absolute;
  z-index: 8;
  top: 50%;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  padding: 0;
  color: #17375d;
  background: #fff;
  border: 1px solid #e5ebf1;
  border-radius: 50%;
  box-shadow: 0 6px 18px rgba(15, 39, 72, 0.14);
  cursor: pointer;
  transform: translateY(-50%);
}

.rd-products-slider__arrow .bi {
  font-size: 20px;
}

.rd-products-slider__arrow--prev {
  left: 6px;
}

.rd-products-slider__arrow--next {
  right: 6px;
}

.rd-products-slider__arrow.swiper-button-disabled {
  opacity: 0.35;
  cursor: default;
}

.rd-products-slider--fallback {
  overflow: hidden;
}

.rd-products-slider--fallback .rd-products-slider__wrapper {
  display: flex;
  transition: transform 420ms ease;
  will-change: transform;
}

.rd-products-slider--fallback .rd-product-card {
  flex: 0 0 100%;
}

@media (min-width: 640px) {
  .rd-popular-products__container {
    padding-inline: 20px;
  }

  .rd-popular-products__title {
    font-size: 23px;
  }

  .rd-popular-products__all-link {
    font-size: 13px;
  }
}

@media (min-width: 768px) {
  .rd-products-slider--fallback .rd-product-card {
    flex-basis: calc((100% - 28px) / 3);
    margin-right: 14px;
  }

  .rd-product-card__image-box {
    height: 190px;
    padding: 18px 18px 4px;
  }

  .rd-product-card__title {
    font-size: 15px;
  }

  .rd-product-card__cart {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
  }
}

@media (min-width: 1200px) {
  .rd-popular-products {
    padding-top: 8px;
    padding-bottom: 38px;
  }

  .rd-popular-products__container {
    padding-inline: 24px;
  }

  .rd-popular-products__head {
    margin-bottom: 16px;
  }

  .rd-popular-products__title {
    padding-left: 17px;
    font-size: 24px;
  }

  .rd-products-slider--fallback .rd-product-card {
    flex-basis: calc((100% - 64px) / 5);
    margin-right: 16px;
  }

  .rd-product-card__image-box {
    height: 165px;
    padding: 14px 18px 4px;
  }

  .rd-product-card__body {
    min-height: 190px;
    padding: 12px 14px 14px;
  }

  .rd-product-card__title {
    min-height: 38px;
    font-size: 14px;
  }

  .rd-product-card__stock {
    font-size: 12px;
  }

  .rd-product-card__price-current {
    font-size: 18px;
  }

  .rd-product-card__quantity {
    grid-template-columns: 34px 40px 34px;
  }

  .rd-product-card__cart {
    width: 42px;
    min-width: 42px;
    height: 42px;
    flex: 0 0 42px;
  }

  .rd-products-slider__arrow--prev {
    left: 8px;
  }

  .rd-products-slider__arrow--next {
    right: 8px;
  }
}

@media (min-width: 1600px) {
  .rd-popular-products__head {
    margin-bottom: 18px;
  }

  .rd-popular-products__title {
    font-size: 27px;
  }

  .rd-popular-products__all-link {
    font-size: 14px;
  }

  .rd-product-card__image-box {
    height: 185px;
    padding: 14px 22px 4px;
  }

  .rd-product-card__body {
    min-height: 205px;
    padding: 14px 16px 16px;
  }

  .rd-product-card__title {
    font-size: 15px;
  }

  .rd-product-card__stock {
    font-size: 13px;
  }

  .rd-product-card__price-current {
    font-size: 20px;
  }

  .rd-product-card__quantity {
    grid-template-columns: 38px 46px 38px;
  }

  .rd-product-card__cart {
    width: 44px;
    min-width: 44px;
    height: 44px;
    flex: 0 0 44px;
  }

  .rd-products-slider__arrow {
    width: 48px;
    height: 48px;
  }
}
