@font-face {
  font-family: "Roboto Flex Local";
  src: url("../fonts/RobotoFlex.ttf") format("truetype");
  font-weight: 100 1000;
  font-style: normal;
  font-display: swap;
}

:root {
  --er-black: #000000;
  --er-white: #ffffff;
  --er-accent: #c7d33b;
  --er-accent-soft: #f7f6cc;
  --er-purple: #9889c0;
  --er-muted: #cacaca;
  --er-brown: #c59976;
  --er-error: #e7595f;
  --er-black-04: rgba(0, 0, 0, .04);
  --er-black-08: rgba(0, 0, 0, .08);
  --er-black-32: rgba(0, 0, 0, .32);
  --er-elevation: 0 3.9176468849px 13.7117643356px -1.3058823347px rgba(24, 39, 75, .12),
    0 2.6117646694px 5.8764705658px -1.9588234425px rgba(24, 39, 75, .12);
  --er-page: #ffffff;
  --er-font: "Roboto Flex Local", Arial, sans-serif;
}

html {
  min-width: 320px;
  background: var(--er-page);
}

body {
  min-width: 320px;
  color: var(--er-black);
  background: var(--er-page);
  font-family: var(--er-font);
  font-size: 16px;
  font-weight: 400;
  font-variation-settings: "GRAD" 0, "XOPQ" 96, "XTRA" 468, "YOPQ" 79, "YTAS" 750, "YTDE" -203, "YTFI" 738, "YTLC" 514, "YTUC" 712, "wdth" 100;
  line-height: 1.2;
}

body.er-lock {
  overflow: hidden;
}

button,
input {
  font-family: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.er-page {
  overflow: visible;
}

.er-uppercase {
  text-transform: uppercase;
}

.er-icon-btn,
.er-link-btn,
.er-product__cart,
.er-qty__btn,
.er-close,
.er-mobile-toggle {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.er-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 51px;
  padding: 0 24px;
  border: 0;
  border-radius: 32px;
  color: var(--er-white);
  background: var(--er-accent);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 19px;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .18s ease, background-color .18s ease;
}

.er-button:hover {
  background: var(--er-accent);
}

.er-button:active {
  transform: translateY(1px);
}

.er-header {
  box-sizing: border-box;
  position: sticky;
  top: 0;
  z-index: 70;
  left: 0;
  right: 0;
  width: 100%;
  height: 138px;
  background: var(--er-white);
  transition: box-shadow .18s ease;
}

.er-header__top {
  height: 76px;
}

.er-header__top-inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  height: 76px;
  gap: 32px;
}

.er-socials {
  display: flex;
  align-items: center;
  gap: 16px;
}

.er-socials img {
  width: 36px;
  height: 36px;
}

.er-header__info {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 16px;
  font-weight: 500;
  white-space: nowrap;
}

.er-header__main {
  position: relative;
  height: 42px;
}

.er-header__main-inner {
  display: flex;
  align-items: center;
  height: 42px;
}

.er-logo {
  display: block;
  flex: 0 0 218px;
  width: 218px;
  height: 42px;
}

.er-logo img {
  width: 216px;
  height: 30px;
  margin: 6px 0 0 1px;
}

.er-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  flex: 0 0 876px;
  width: 876px;
  margin-left: 32px;
  font-size: 14px;
  font-weight: 500;
  line-height: 16px;
  text-transform: uppercase;
  white-space: nowrap;
}

.er-nav__item {
  position: relative;
  height: 20px;
}

.er-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 20px;
  min-height: 20px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  line-height: 16px;
  text-transform: uppercase;
  cursor: pointer;
  appearance: none;
}

.er-nav__link img {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
}

@media (min-width: 1360px) {
  .er-header__top-inner {
    position: relative;
    display: block;
  }

  .er-header__top-inner > .er-socials {
    position: absolute;
    top: 20px;
    left: 599px;
  }

  .er-header__info {
    position: absolute;
    top: 28.5px;
    left: 771px;
    gap: 32px;
  }

  .er-header__main-inner {
    position: relative;
    display: block;
  }

  .er-logo {
    position: absolute;
    top: 0;
    left: 0;
  }

  .er-nav {
    position: absolute;
    top: 11px;
    left: 250px;
    display: block;
    height: 20px;
    margin-left: 0;
  }

  .er-nav > a,
  .er-nav > .er-nav__item {
    position: absolute;
    top: 0;
  }

  .er-nav > a:nth-of-type(1) {
    left: 0;
  }

  .er-nav > a:nth-of-type(2) {
    left: 157px;
  }

  .er-nav > a:nth-of-type(3) {
    left: 272px;
  }

  .er-nav > .er-nav__item:nth-of-type(1) {
    left: 392px;
  }

  .er-nav > .er-nav__item:nth-of-type(2) {
    left: 591px;
  }

  .er-nav > .er-nav__item:nth-of-type(3) {
    left: 687px;
  }

  .er-nav > a:nth-of-type(4) {
    left: 800px;
  }

  .er-header__buttons {
    position: absolute;
    top: 5px;
    right: -15px;
    left: auto;
    width: 128px;
    margin-left: 0;
  }

}

.er-dropdown {
  position: absolute;
  top: 31px;
  left: 0;
  z-index: 30;
  width: 180px;
  padding: 8px 0;
  background: var(--er-white);
  border-radius: 12px;
  box-shadow: var(--er-elevation);
  text-transform: none;
  white-space: normal;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}

.er-nav__item.is-open .er-dropdown,
.er-nav__item:hover .er-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.er-dropdown a {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 43px;
  padding: 12px 16px;
  font-size: 16px;
  line-height: 19px;
  text-transform: none;
  white-space: normal;
  overflow-wrap: break-word;
}

.er-nav .er-dropdown a:hover,
.er-nav .er-dropdown a:focus,
.er-nav .er-dropdown a.is-hover {
  background-color: var(--er-black-04);
}

.er-header__buttons {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
}

.er-icon-btn {
  position: relative;
  width: 32px;
  height: 32px;
}

.er-icon-btn img {
  width: 32px;
  height: 32px;
}

.er-cart-count {
  position: absolute;
  top: -4px;
  right: -5px;
  display: none;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 12px;
  color: var(--er-white);
  background: var(--er-accent);
  font-size: 11px;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
}

.er-cart-count.is-visible {
  display: block;
}

@media (min-width: 768px) {
  .er-header__buttons.has-count {
    align-items: flex-start;
  }

  .er-header__buttons.has-count .er-search-panel {
    top: -4px;
  }

  .er-icon-btn.has-count {
    width: 40px;
    height: 40px;
  }

  .er-icon-btn.has-count > img {
    width: 32px;
    height: 32px;
  }

  .er-icon-btn.has-count .er-cart-count {
    top: 20px;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 16px;
    font-size: 12px;
    line-height: 16px;
  }
}

.er-mobile-toggle {
  display: none;
  align-items: center;
  justify-content: center;
}

.er-mobile-toggle img {
  width: 32px;
  height: 32px;
}

.er-search-panel {
  position: absolute;
  top: -8px;
  right: calc(100% - 22px);
  z-index: 80;
  display: flex;
  align-items: center;
  width: 555px;
  height: 42px;
  border: 1px solid var(--er-black-08);
  border-radius: 6px;
  background: var(--er-white);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateX(180px);
  transition: opacity .22s ease, transform .24s ease, visibility .22s ease;
}

.er-header__buttons.is-search-open > [data-action="search"] {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.er-header.is-search-open .er-nav > .er-nav__item,
.er-header.is-search-open .er-nav > a:nth-of-type(4) {
  opacity: 0;
  visibility: hidden;
}

.er-search-panel.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.er-search-panel input {
  flex: 1;
  height: 42px;
  padding: 0 16px;
  border: 0;
  outline: 0;
  font-size: 16px;
  letter-spacing: .02em;
  text-transform: none;
}

.er-search-panel input::placeholder {
  color: var(--er-black-32);
}

.er-search-panel__buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 64px;
  width: 64px;
  height: 32px;
}

.er-search-panel__buttons button {
  width: 32px;
  height: 32px;
}

.er-hero {
  position: relative;
  height: 600px;
  overflow: hidden;
}

.er-hero__slides,
.er-hero__slide {
  position: absolute;
  inset: 0;
}

.er-hero__slides {
  z-index: 1;
}

.er-hero__slide {
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity .3s ease;
}

.er-hero__slide.is-active {
  opacity: 1;
}

.er-hero__content {
  position: relative;
  z-index: 2;
  width: 745px;
  max-width: calc(100% - 32px);
  margin: 0 auto;
  padding-top: 275px;
  text-align: center;
}

.er-hero__title {
  margin: 0;
  color: var(--er-white);
  font-size: 64px;
  font-weight: 600;
  letter-spacing: .02em;
  line-height: 75px;
  text-transform: uppercase;
  white-space: nowrap;
}

.er-hero__subtitle {
  margin: 4px 0 30px;
  color: var(--er-white);
  font-size: 24px;
  font-weight: 400;
  letter-spacing: .02em;
  line-height: 28px;
}

.er-hero .er-button {
  width: 257px;
}

.er-benefits {
  margin-top: 64px;
  padding: 44px 0 52px;
}

.er-benefits__row {
  position: relative;
  display: grid;
  grid-template-columns: 269.5px 269.5px 144px 269.5px 269.5px;
  align-items: start;
  gap: 16px;
}

.er-benefit {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 32px;
  min-height: 105px;
}

.er-benefit__icon {
  width: 40px;
  height: 40px;
}

.er-benefit__title {
  margin: 0 0 13px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 19px;
  text-transform: uppercase;
}

.er-benefit__text {
  margin: 0;
  font-size: 12px;
  line-height: 14px;
}

.er-benefits__elf {
  display: flex;
  justify-content: center;
}

.er-benefits__elf img {
  width: 144px;
  height: 129px;
}

.er-section-heading {
  width: 862px;
  max-width: calc(100% - 32px);
  margin: 0 auto;
  text-align: center;
}

.er-section-heading__title {
  margin: 0;
  font-size: 48px;
  font-weight: 600;
  letter-spacing: .02em;
  line-height: 56px;
  text-transform: uppercase;
}

.er-section-heading__text {
  margin: 16px 0 0;
  font-size: 16px;
  letter-spacing: .02em;
  line-height: 19px;
}

.er-catalog {
  margin-top: 64px;
  padding-top: 32px;
}

.er-catalog + .er-catalog {
  margin-top: 95px;
}

.er-catalog__filters {
  margin-top: 32px;
}

.er-catalog--author .er-catalog__filters {
  margin-top: 32px;
}

@media (min-width: 1360px) {
  .er-hero__content {
    margin-right: 0;
    margin-left: calc((100vw - 745px) / 2);
  }

  .er-section-heading {
    margin-right: 0;
    margin-left: calc((100vw - 862px) / 2);
  }
}

.er-filter-form {
  display: block;
}

.er-filter-top {
  display: flex;
  align-items: center;
  height: 40px;
}

.er-filter-trigger {
  display: inline-flex;
  align-items: center;
  min-width: 164px;
  height: 40px;
  border: 0;
  background: transparent;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 19px;
  text-transform: uppercase;
  cursor: pointer;
}

.er-filter-trigger img {
  width: 24px;
  height: 24px;
  margin: 0 16px 0 12px;
}

.er-filter-row {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 40px;
  margin-top: 16px;
}

.er-price-filter {
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

.er-filter-label {
  display: block;
  padding: 0;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .02em;
  line-height: 16px;
  text-transform: uppercase;
}

.er-price-filter__inputs {
  display: flex;
  align-items: center;
  gap: 12px;
}

.er-price-field {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  border: 1px solid var(--er-muted);
  border-radius: 20px;
  background: var(--er-white);
  outline: 0;
  font-size: 14px;
  letter-spacing: .02em;
  line-height: 16px;
  text-transform: uppercase;
}

.er-price-field {
  width: 100px;
  padding: 0 12px;
  text-align: center;
}

.er-price-separator {
  font-size: 14px;
  font-weight: 600;
}

.er-sort {
  position: relative;
  display: block;
  width: 196px;
}

.er-sort-native {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 40px;
  opacity: 0;
  pointer-events: none;
}

.er-sort-select {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  width: 100%;
  height: 40px;
  padding: 0 12px;
  border: 0;
  border-radius: 32px;
  outline: 0;
  background: var(--er-white);
  font-size: 14px;
  letter-spacing: .02em;
  line-height: 16px;
  text-align: left;
  text-transform: uppercase;
  cursor: pointer;
}

.er-sort-select span {
  flex: 0 0 140px;
}

.er-sort-select img {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
}

.er-sort__menu {
  position: absolute;
  top: 48px;
  left: 0;
  z-index: 35;
  width: 196px;
  padding: 8px 0;
  border-radius: 12px;
  background: var(--er-white);
  box-shadow: var(--er-elevation);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}

.er-sort.is-open .er-sort__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.er-sort__menu button {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 43px;
  padding: 12px 16px;
  border: 0;
  background: var(--er-white);
  font-size: 16px;
  line-height: 19px;
  text-align: left;
  text-transform: none;
  white-space: normal;
  overflow-wrap: break-word;
  cursor: pointer;
}

.er-sort__menu button:hover,
.er-sort__menu button:focus,
.er-sort__menu button.is-hover {
  background-color: var(--er-black-04);
}

.er-products {
  display: grid;
  grid-template-columns: repeat(4, 298px);
  gap: 32px 31.333px;
  margin-top: 32px;
}

.er-product {
  width: 298px;
  height: 513px;
}

.er-product__image {
  position: relative;
  width: 298px;
  height: 408px;
  overflow: hidden;
  border-radius: 32px;
}

.er-product__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.er-product__tag {
  position: absolute;
  top: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 87px;
  height: 30px;
  border-radius: 32px;
  background: var(--er-accent-soft);
  font-size: 12px;
  letter-spacing: .08em;
  line-height: 14px;
  text-transform: lowercase;
}

.er-product__actions {
  position: absolute;
  right: 20px;
  bottom: 20px;
  display: flex;
  justify-content: flex-end;
  width: 258px;
  height: 52px;
  pointer-events: none;
}

.er-product__cart,
.er-product__qty {
  pointer-events: auto;
}

.er-product__cart {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 32px;
  background: var(--er-accent);
}

.er-product__cart:hover,
.er-product__cart:focus {
  background: var(--er-purple);
}

.er-product__cart img {
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1);
}

.er-product__qty {
  display: none;
  align-items: center;
  justify-content: space-between;
  width: 130px;
  height: 52px;
  padding: 0 24px;
  border-radius: 32px;
  color: var(--er-white);
  background: var(--er-purple);
  font-size: 16px;
  font-weight: 700;
  line-height: 19px;
}

.er-product.is-added .er-product__cart {
  display: none;
}

.er-product.is-added .er-product__qty {
  display: flex;
}

.er-product.is-filter-hidden,
.er-product.is-load-hidden {
  display: none;
}

.er-qty__btn {
  color: inherit;
  font-size: 16px;
  font-weight: 700;
  line-height: 19px;
}

.er-product__about {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 32px;
}

.er-product__name {
  height: 38px;
  overflow: hidden;
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: .02em;
  line-height: 19px;
}

.er-product__desc {
  display: none;
  min-height: 16px;
  margin: 0;
  color: var(--er-muted);
  font-size: 12px;
  line-height: 16px;
}

.er-product__price {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .02em;
  line-height: 19px;
}

.er-catalog__actions {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

.er-load-more {
  min-width: 203px;
}

.er-contacts {
  margin-top: 64px;
  padding-bottom: 0;
}

.er-contacts__grid {
  display: grid;
  grid-template-columns: 847px 407px;
  gap: 32px;
}

.er-request,
.er-contact-card {
  position: relative;
  min-height: 490px;
  overflow: hidden;
  border: 2px solid var(--er-black);
  border-radius: 32px;
}

.er-request {
  padding: 28px 0 28px 28px;
}

.er-contact-card {
  padding: 28px;
}

.er-request__content {
  position: relative;
  z-index: 3;
  width: 474px;
}

.er-contact-title {
  margin: 0;
  font-size: 32px;
  font-weight: 600;
  line-height: 38px;
  text-transform: uppercase;
}

.er-contact-text {
  margin: 16px 0 0;
  font-size: 20px;
  line-height: 23px;
}

.er-form {
  margin-top: 32px;
}

.er-field {
  margin-bottom: 24px;
}

.er-field label {
  display: block;
  margin-bottom: 12px;
  font-size: 16px;
  line-height: 19px;
  text-transform: uppercase;
}

.er-field input {
  width: 474px;
  height: 59px;
  padding: 0 20px;
  border: 1.5px solid var(--er-black);
  border-radius: 32px;
  outline: 0;
  background: transparent;
  font-size: 16px;
  line-height: 19px;
}

.er-field input::placeholder {
  color: var(--er-muted);
}

.er-field__error {
  display: none;
  margin-top: 8px;
  color: var(--er-black);
  font-size: 14px;
  line-height: 16px;
  text-transform: uppercase;
}

.er-field.has-error .er-field__error {
  display: block;
}

.er-field.has-error input {
  border-color: var(--er-error);
}

.er-form .er-button {
  width: 474px;
  height: 58px;
}

.er-form-done {
  display: none;
  align-items: center;
  gap: 10px;
  margin-top: 32px;
  font-size: 20px;
  line-height: 24px;
  text-transform: uppercase;
}

.er-form-done__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  color: var(--er-white);
  background: var(--er-accent);
}

.er-request.is-done .er-form {
  display: none;
}

.er-request.is-done .er-form-done {
  display: flex;
}

.er-request__elf {
  position: absolute;
  z-index: 2;
  top: 105px;
  left: 515px;
  width: 206px;
  height: 252px;
  transform: scaleX(-1);
  transform-origin: center;
}

.er-request__curve {
  position: absolute;
  top: 116px;
  left: 492px;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 422.134px;
  height: 497px;
  pointer-events: none;
}

.er-request__curve-layer {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 432.14px;
  height: 247.079px;
  transform: translate(-50%, -50%) rotate(-37.48deg) scaleY(.95) skewX(-18.78deg);
}

.er-request__curve img {
  position: absolute;
  max-width: none;
}

.er-request__curve-main {
  top: -35.115px;
  left: -32.072px;
  width: 497.62px;
  height: 317.176px;
}

.er-request__curve-dash {
  top: 8.6px;
  left: -2.85px;
  width: 437.753px;
  height: 241.481px;
}

.er-contact-list {
  display: grid;
  gap: 16px;
  margin-top: 35px;
}

.er-contact-list__item {
  display: grid;
  grid-template-columns: 36px 1fr;
  align-items: center;
  gap: 16px;
  min-height: 36px;
  font-size: 16px;
  line-height: 19px;
}

.er-contact-list__item img {
  width: 36px;
  height: 36px;
}

.er-contact-card__flower {
  position: absolute;
  right: 31px;
  bottom: 29px;
  width: 123px;
  height: 123px;
}

.er-contact-card__flower img {
  width: 123px;
  height: 123px;
}

.er-footer {
  margin-top: 64px;
  padding: 64px 0;
  min-height: 570px;
}

.er-footer__big-logo {
  width: 1163px;
  max-width: 100%;
  aspect-ratio: 1163 / 162;
  margin: 0 auto;
}

.er-footer__big-logo img {
  display: block;
  width: 100%;
  height: 100%;
  opacity: .4;
}

.er-footer__grid {
  display: grid;
  grid-template-columns: 240px 142px 217px 287px;
  justify-content: space-between;
  margin-top: 64px;
}

.er-footer__contacts p {
  margin: 0 0 24px;
  font-size: 16px;
  font-weight: 400;
  line-height: 19px;
}

.er-footer__socials {
  margin-top: 0;
}

.er-footer__menu {
  display: grid;
  align-content: start;
  grid-auto-rows: max-content;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.er-footer__menu li {
  line-height: 16px;
}

.er-footer__menu a {
  display: block;
  font-size: 14px;
  line-height: 16px;
  text-transform: uppercase;
  white-space: nowrap;
}

.er-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: var(--er-black-32);
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s ease, visibility .2s ease;
}

.er-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.er-cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 90;
  width: 560px;
  max-width: 100%;
  height: 100vh;
  border-radius: 24px;
  background: var(--er-muted);
  transform: translateX(100%);
  transition: transform .25s ease;
  overflow: hidden;
}

.er-cart-drawer.is-open {
  transform: translateX(0);
}

.er-cart-drawer__inner {
  display: grid;
  grid-template-rows: 144px 1fr 103px;
  height: 100%;
  padding: 0 24px;
}

.er-cart-drawer__head {
  position: relative;
  border-bottom: 1px solid var(--er-white);
  padding-top: 82px;
}

.er-cart-drawer__title {
  margin: 0;
  font-size: 32px;
  font-weight: 500;
  line-height: 38px;
}

.er-cart-drawer__title span {
  margin-left: 8px;
  font-size: 24px;
  font-weight: 400;
  line-height: 28px;
}

.er-close {
  position: absolute;
  top: 24px;
  right: 0;
  width: 42px;
  height: 42px;
}

.er-close img {
  width: 24px;
  height: 24px;
  margin: 9px;
}

.er-cart-drawer .er-close {
  border-radius: 50%;
  background: var(--er-white);
  box-shadow: var(--er-elevation);
}

.er-cart-items {
  overflow-y: auto;
  padding-top: 24px;
  padding-right: 0;
}

.er-cart-item {
  display: grid;
  grid-template-columns: 100px 132px 89px 103px 24px;
  align-items: center;
  column-gap: 16px;
  min-height: 100px;
  margin-bottom: 24px;
}

.er-cart-item > img {
  width: 100px;
  height: 100px;
  border-radius: 12px;
  object-fit: cover;
}

.er-cart-item__name,
.er-cart-item__price {
  margin: 0;
  font-size: 16px;
  line-height: 19px;
}

.er-cart-item__name {
  display: -webkit-box;
  max-height: 100px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
}

.er-cart-item__price {
  white-space: nowrap;
}

.er-cart-qty {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 89px;
  font-size: 16px;
}

.er-cart-qty .er-qty__btn,
.er-cart-remove {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  color: var(--er-black);
  background: var(--er-white);
  box-shadow: var(--er-elevation);
  line-height: 24px;
}

.er-cart-remove {
  justify-self: end;
  padding: 0;
  border: 0;
  cursor: pointer;
}

.er-cart-remove img {
  width: 12px;
  height: 12px;
}

.er-cart-total {
  display: grid;
  grid-template-columns: 109px 225px;
  align-items: start;
  justify-content: end;
  gap: 32px;
  min-height: 67px;
  padding-top: 8px;
  border-top: 0;
}

.er-cart-total__label {
  margin: 0;
  font-size: 16px;
  line-height: 19px;
  text-transform: uppercase;
}

.er-cart-total__price {
  margin: 8px 0 0;
  font-size: 20px;
  font-weight: 600;
  line-height: 23px;
}

.er-cart-total .er-button {
  width: 225px;
  background: var(--er-purple);
}

.er-cart-drawer.is-empty .er-cart-items,
.er-cart-drawer.is-empty .er-cart-total {
  display: none;
}

.er-added-popup {
  position: fixed;
  right: 32px;
  bottom: 32px;
  z-index: 110;
  width: 420px;
  min-height: 90px;
  padding: 24px;
  background: var(--er-muted);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}

.er-added-popup.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.er-added-popup p {
  margin: 0;
  font-size: 16px;
  line-height: 23px;
  text-transform: uppercase;
}

.er-added-popup strong {
  font-weight: 700;
}

.er-mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  background: var(--er-white);
  transform: translateX(-100%);
  transition: transform .24s ease;
}

.er-mobile-menu.is-open {
  transform: translateX(0);
}

.er-mobile-menu__inner {
  padding: 16px;
}

.er-mobile-menu__head {
  position: relative;
  height: 92px;
}

.er-mobile-menu__head .er-close {
  top: 0;
  right: 0;
}

.er-mobile-menu__logo {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 42px;
}

.er-mobile-menu__logo img {
  width: 216px;
  height: 30px;
  margin: 6px auto 0;
}

.er-mobile-menu__list {
  display: grid;
  gap: 0;
  width: 256px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.er-mobile-menu__list + .er-mobile-menu__list {
  margin-top: 16px;
}

.er-mobile-menu__list a {
  display: flex;
  align-items: center;
  width: 256px;
  min-height: 39px;
  padding-left: 8px;
  border-radius: 12px;
  font-size: 16px;
  line-height: 19px;
}

.er-mobile-menu__list a:hover,
.er-mobile-menu__list a:focus,
.er-mobile-menu__list a.is-hover {
  background-color: var(--er-black-04);
}

@media (min-width: 1200px) and (max-width: 1359px) {
  .er-header {
    height: 132px;
  }

  .er-header__top-inner {
    gap: 24px;
  }

  .er-header__info {
    gap: 24px;
    font-size: 14px;
  }

  .er-header__main {
    height: 56px;
  }

  .er-header__main-inner {
    display: grid;
    grid-template-columns: 42px 1fr 128px;
    align-items: center;
    height: 56px;
  }

  .er-mobile-toggle {
    display: flex;
    width: 42px;
    height: 42px;
  }

  .er-logo {
    justify-self: center;
    flex: 0 0 216px;
    width: 216px;
  }

  .er-nav {
    display: none;
  }

  .er-header__buttons {
    justify-self: end;
    gap: 16px;
    margin-left: 0;
  }

  .er-mobile-menu {
    display: block;
  }

  .er-search-panel {
    top: -5px;
    right: calc(100% - 22px);
    width: min(555px, calc(100vw - 80px));
  }

  .er-benefits__row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 32px;
  }

  .er-benefits__elf {
    display: none;
  }

  .er-products {
    grid-template-columns: repeat(3, 298px);
    justify-content: start;
  }

  .er-contacts__grid {
    grid-template-columns: 1fr;
  }

  .er-request__content {
    width: 474px;
    max-width: 100%;
  }

  .er-request__elf {
    top: 107px;
    left: auto;
    right: 32px;
  }

  .er-contact-card {
    min-height: 360px;
  }
}

@media (max-width: 1199px) {
  html,
  body {
    overflow-x: hidden;
  }

  .container {
    max-width: calc(100% - 80px);
  }

  .er-header {
    height: 132px;
  }

  .er-header__top-inner {
    gap: 24px;
  }

  .er-header__info {
    gap: 20px;
    font-size: 14px;
  }

  .er-header__main {
    height: 56px;
  }

  .er-header__main-inner {
    display: grid;
    grid-template-columns: 42px 1fr 128px;
    align-items: center;
    height: 56px;
  }

  .er-mobile-toggle {
    display: flex;
    width: 42px;
    height: 42px;
  }

  .er-logo {
    justify-self: center;
    flex: 0 0 216px;
    width: 216px;
  }

  .er-nav {
    display: none;
  }

  .er-header__buttons {
    justify-self: end;
    gap: 16px;
    margin-left: 0;
  }

  .er-mobile-menu {
    display: block;
  }

  .er-search-panel {
    top: -5px;
    right: calc(100% - 22px);
    width: min(555px, calc(100vw - 80px));
  }

  .er-products {
    grid-template-columns: repeat(2, 298px);
    justify-content: start;
  }

  .er-benefits__row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px 32px;
  }

  .er-benefit {
    grid-template-columns: 40px minmax(0, 1fr);
  }

  .er-benefits__elf {
    display: none;
  }

  .er-contacts__grid {
    grid-template-columns: 1fr;
  }

  .er-request__content {
    width: 474px;
    max-width: 100%;
  }

  .er-request__elf {
    top: 107px;
    left: auto;
    right: 16px;
  }

  .er-contact-card {
    min-height: 360px;
  }

  .er-footer__grid {
    grid-template-columns: 240px 287px;
    justify-content: space-between;
    gap: 48px 80px;
  }
}

@media (min-width: 768px) and (max-width: 899px) {
  .er-header__top-inner {
    justify-content: space-between;
    gap: 20px;
  }

  .er-header__info {
    gap: 16px;
    font-size: 13px;
  }

  .er-socials {
    gap: 12px;
  }

  .er-request__elf,
  .er-request__curve {
    display: none;
  }

  .er-request {
    padding-right: 32px;
  }

  .er-field input,
  .er-form .er-button {
    width: 100%;
  }
}

@media (max-width: 767px) {
  html,
  body {
    overflow-x: hidden;
  }

  .container {
    width: 100vw;
    max-width: none;
    margin-right: 0;
    margin-left: 0;
    padding-right: 16px;
    padding-left: 16px;
  }

  .er-header {
    height: 201px;
    width: 100vw;
  }

  .er-header__top {
    display: block;
    height: 82px;
  }

  .er-header__top-inner {
    position: relative;
    display: block;
    height: 82px;
    padding-top: 16px;
  }

  .er-header__top-inner .er-socials {
    position: absolute;
    top: 16px;
    right: 137px;
    gap: 16px;
  }

  .er-header__top-inner .er-socials img {
    width: 28px;
    height: 28px;
  }

  .er-header__info {
    display: block;
    font-size: 12px;
    line-height: 14px;
    white-space: normal;
  }

  .er-header__info span:first-child {
    position: absolute;
    top: 52px;
    right: 16px;
    width: 328px;
    text-align: right;
  }

  .er-header__info a {
    position: absolute;
    top: 23px;
    right: 16px;
    white-space: nowrap;
  }

  .er-header__info span:last-child {
    display: none;
  }

  .er-header__main {
    height: 119px;
  }

  .er-header__main-inner {
    display: grid;
    grid-template-columns: 32px 1fr 144px;
    grid-template-rows: 47px 24px 32px;
    align-items: start;
    height: 119px;
  }

  .er-mobile-toggle {
    grid-column: 1;
    grid-row: 3;
    width: 32px;
    height: 32px;
  }

  .er-logo {
    grid-column: 1 / -1;
    grid-row: 1;
    justify-self: center;
    flex: 0 0 328px;
    width: 328px;
    height: 47px;
  }

  .er-logo img {
    width: 326px;
    height: 45px;
    margin: 1px auto 0;
  }

  .er-nav {
    display: none;
  }

  .er-mobile-menu {
    right: auto;
    width: 100vw;
  }

  .er-header__buttons {
    grid-column: 3;
    grid-row: 3;
    justify-self: end;
    display: flex;
    gap: 24px;
    width: 144px;
    height: 32px;
    margin-left: 0;
  }

  .er-search-panel {
    top: -5px;
    right: 0;
    left: auto;
    width: min(328px, calc(100vw - 32px));
  }

  .er-hero {
    height: 520px;
  }

  .er-hero__slide {
    background-position: center top;
  }

  .er-hero__content {
    width: auto;
    max-width: 358px;
    padding: 250px 16px 0;
  }

  .er-hero__title {
    font-size: 22px;
    line-height: 28px;
    white-space: nowrap;
  }

  .er-hero__subtitle {
    font-size: 14px;
    line-height: 18px;
  }

  .er-benefits {
    padding: 56px 0;
  }

  .er-benefits__row {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .er-benefit {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 24px;
  }

  .er-benefit > div {
    min-width: 0;
    max-width: 260px;
  }

  .er-benefit__title,
  .er-benefit__text,
  .er-section-heading__text {
    overflow-wrap: break-word;
  }

  .er-section-heading__title {
    font-size: 32px;
    line-height: 38px;
  }

  .er-section-heading__text {
    font-size: 14px;
    line-height: 18px;
    max-width: 358px;
    margin-right: auto;
    margin-left: auto;
  }

  .er-catalog__filters {
    margin-top: 40px;
  }

  .er-filter-row {
    flex-direction: column;
    align-items: flex-start;
    height: auto;
    gap: 16px;
  }

  .er-price-filter {
    flex-direction: row;
    align-items: center;
    gap: 24px;
    width: min(301px, 100%);
    height: 32px;
  }

  .er-sort,
  .er-sort-select,
  .er-sort__menu {
    width: 100%;
  }

  .er-price-field {
    height: 32px;
    border-radius: 32px;
  }

  .er-products {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    gap: 32px;
  }

  .er-product {
    width: min(328px, 100%);
    height: 555px;
  }

  .er-product__image,
  .er-product {
    max-width: 328px;
  }

  .er-product__image {
    width: min(328px, 100%);
    height: 450px;
  }

  .er-contacts {
    margin-top: 56px;
  }

  .er-contacts__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .er-request,
  .er-contact-card {
    min-height: auto;
    border-radius: 24px;
  }

  .er-request {
    padding: 24px;
  }

  .er-request__content {
    width: 100%;
  }

  .er-contact-title {
    font-size: 24px;
    line-height: 30px;
  }

  .er-contact-text {
    font-size: 16px;
    line-height: 20px;
  }

  .er-field input,
  .er-form .er-button {
    width: 100%;
  }

  .er-request__elf,
  .er-request__curve {
    display: none;
  }

  .er-contact-card {
    padding: 24px;
    display: none;
  }

  .er-contact-card__flower {
    opacity: 1;
  }

  .er-footer {
    padding: 48px 0;
  }

  .er-footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-top: 48px;
  }

  .er-footer__menu {
    gap: 16px;
  }

  .er-cart-drawer {
    width: 100%;
    border-radius: 0;
  }

  .er-cart-drawer__inner {
    grid-template-rows: 132px 1fr auto;
    padding: 0 16px 20px;
  }

  .er-cart-item {
    grid-template-columns: 84px minmax(0, 1fr) 24px;
    gap: 12px;
  }

  .er-cart-item > img {
    width: 84px;
    height: 84px;
  }

  .er-cart-qty,
  .er-cart-item__price {
    grid-column: 2 / span 2;
  }

  .er-cart-remove {
    grid-column: 3;
    grid-row: 1;
  }

  .er-cart-total {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .er-cart-total .er-button {
    width: 100%;
  }

  .er-added-popup {
    right: 16px;
    bottom: 16px;
    left: 16px;
    width: auto;
  }
}
