@media screen and (min-width: 1541px) {
  .container {
    max-width: 1478px;
    padding: 0 15px;
    margin: 0 auto;
  }
}

@media screen and (max-width: 1540px) {
  .container {
    max-width: calc(100% - 80px) !important;
    margin: 0 auto;
  }
}

@media screen and (max-width: 1280px) {
  .container {
    max-width: calc(100% - 50px) !important;
    margin: 0 auto;
  }
}

@media screen and (max-width: 1024px) {
  .container {
    max-width: calc(100% - 50px) !important;
    margin: 0 auto;
  }
}

@media screen and (max-width: 768px) {
  .container {
    max-width: calc(100% - 40px) !important;
    margin: 0 auto;
  }
}

body {
  font-family: 'Roboto', sans-serif;
  font-weight: normal;
  color: #504d4d;
  background: #f9f9f9;
  background-image: url(../media/backgrounds/background-decor.webp);
  background-size: 815px;
  background-repeat: no-repeat;
  background-position: -27% 0;
}

.header {
  min-height: 112px;
  padding: 24px 0;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header__logo {
  max-width: 213px;
  width: 100%;
}

.header__logo-link {
  display: flex;
}

.header__logo-img {
  width: 100%;
  object-position: center;
}

.header__nav-list {
  display: flex;
  gap: 0 53px;
  text-transform: uppercase;
  font-weight: 500;
  align-items: center;
  font-size: 20px;
  letter-spacing: 0.5px;
}

.header__nav-list li:first-child {
  margin-right: 11px;
}

.header__nav-list li:nth-child(2) {
  margin-right: 21px;
}

.header__nav-list a {
  position: relative;
}

.header__nav-list a:after {
  position: absolute;
  content: '';
  width: 0;
  height: 1px;
  background: #ed4040;
  bottom: -3px;
  right: 0;
  left: 0;
  transition: all 0.5s;
}

.header__nav-list a:hover:after {
  width: 100%;
}

.header__nav-search {
  width: 283px;
  height: 53px;
  border-radius: 26px;
  background-color: #ebebeb;
  border: #ebebeb;
  padding: 0 49px 0 20px;
  outline: none;
  font-size: 16px;
  color: #707070;
  font-family: 'Roboto';
  font-weight: 400;
}

.header__nav-list li:last-child {
  position: relative;
}
/*Добавлено_начало*/
button.search-submit {
  position: absolute;
  top: 15px;
  left: 200px;
  opacity: 0;
  z-index: 99;
  cursor: pointer;
}
/*Добавлено_конец*/
.header__nav-list li:last-child:after {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  right: 6px;
  width: 40px;
  height: 40px;

  background-size: contain;
  background-repeat: no-repeat;
  transform: rotate(100deg);
}

.header__burger-btn {
  display: none;
}

/* header end */

.exposition {
  margin-top: 31px;
  margin-left: 11px;
  margin-bottom: 45px;/*Добавлено*/
}

.exposition__title,
.exposition__inner h2 { /*Добавлено*/
  color: black;
  border-bottom: 1px solid #ed4040;
  font-weight: 900;
  font-size: clamp(1.75rem, 1.5735rem + 0.8824vw, 2.5rem);
  letter-spacing: 0.2px;
  padding-bottom: 2px;
  margin-bottom: 26px;
  text-transform: capitalize;
}

.exposition__text,
.exposition__inner p {/*Добавлено*/
  font-size: clamp(1rem, 0.9265rem + 0.3676vw, 1.3125rem);
  font-family: 'RobotoCondensed';
  letter-spacing: -0.1px;
}

.exposition__inner p:nth-child(2) {
  margin-bottom: 36px;
  line-height: 30px;
}

.exposition__inner p:nth-child(3) {
  line-height: 30px;
}

/* exposition end */

.promo {
  margin: 45px 0 45px; /*Изменено*/
}

.promo__title-wrapper {
  display: flex;
  padding-bottom: 6px;
  border-bottom: 1px solid #ed4040;
}

.promo__icon {
  object-fit: contain;
  margin-right: 5px;
}

.promo__title {
  color: black;
  font-size: 40px;
  text-transform: capitalize;
  font-weight: 900;
  font-size: 40px;
  letter-spacing: 0.2px;
}

.promo__thumbnail-top {
  display: flex;
  margin-top: 33px;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 0;
}

.promo__card-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 5px;
  width: 100%;
  max-width: 276px;
}

.promo__card-top:hover {
  background-color: #ffffff;
  border-radius: 12px 0 12px 0;
  box-shadow: 0.3px 0.3px 0px 0.3px rgba(0, 0, 0, 0.1);
  transition: 0.3s ease;
}

.promo__thumbnail-item {
  max-width: 276px;
  width: 100%;
  position: relative;
}

.promo__flag-discount {
  position: absolute;
  z-index: 12;
  top: 13px;
  left: 0;
  width: 67px;
  height: 58px;
  background-image: url(../media/icons/flag.svg);
  background-repeat: no-repeat;
  background-size: contain;
  color: #fff;
  text-transform: uppercase;
  padding: 10px 10px 0;
  font-size: 14px;
  letter-spacing: -1px;
}

.promo__flag-procent {
  font-family: 'RobotoCondensed';
  font-weight: 700;
  font-size: 24px;
  display: block;
  margin-top: -7px;
  letter-spacing: 0;
}

.promo__flag-bonus {
  position: absolute;
  z-index: 12;
  right: 0;
  top: 13px;
  width: 132px;
  height: 31px;
  background-image: url(../media/icons/bonus.svg);
  background-repeat: no-repeat;
  background-size: contain;
  text-transform: uppercase;
  color: #fff;
  font-size: 15px;
  font-family: 'RobotoCondensed';
  font-weight: 700;
  padding: 7px 0 0 19px;
}

.promo__info {
  position: absolute;
  display: flex;
  align-items: end;
  bottom: 0;
  justify-content: space-between;
  width: 100%;
  z-index: 12;
  height: 5px;
}

.promo__name-portal {
  display: flex;
  flex-direction: column;
  color: #fff;
  font-size: 24px;
  font-family: 'RobotoCondensed';
  font-weight: 700;
  padding-left: 14px;
  padding-bottom: 16px;
  line-height: 22px;
}

.promo__prices {
  margin-bottom: 16px;
}

.promo__old-price-wrapper {
  display: block;
  margin-left: auto;
  max-width: max-content;
}

.promo__old-price {
  color: #fff;
  position: relative;
  padding-right: 5px;
  font-size: 26px;
  letter-spacing: -1px;
  font-family: 'Myriadpro';
  text-decoration: none;
}

.promo__old-price::before {
  position: absolute;
  content: '';
  border-bottom: 3px solid #ed4040;
  top: 3px;
  right: 0;
  left: -4px;
  width: 100%;
  height: 50%;
  transform: rotate(-12deg);
}

.promo__new-price {
  color: #ed4040;
  font-size: 62px;
  font-family: 'Myriadpro';
  font-weight: 700;
  line-height: 34px;
}

.promo__name-item {
  font-size: 22px;
  font-weight: 400;
}

.shadow {
  position: absolute;
  z-index: 10;
  height: 202px;
  width: 100%;
  box-shadow: inset 0px -50px 70px 5px rgba(0, 0, 0, 0.84);
  border-radius: 12px 0 0 0;
}

.shadow.shadow-big {
  height: 100%;
}

.thumbnail-link--img {
  position: relative;
  z-index: 11;
  height: 100%;
  display: block;
}

.promo__thumbnail-img {
  max-width: 276px;
  width: 100%;
  height: 202px;
  object-fit: cover;
  object-position: center;
  border-radius: 12px 0 0 0;
}

.thumbnail-link {
  font-family: 'Myriadpro';
  text-transform: uppercase;
  color: #ff3333;
  margin-top: 10px;
  font-size: 20px;
  letter-spacing: 1.5px;
}

.thumbnail-btn-wrapper {
  display: flex;
}

.thumbnail-btn {
  display: flex;
  font-family: 'Myriadpro';
  justify-content: center;
  align-items: center;
  height: 51px;
  width: 270px;
  background: linear-gradient(to bottom, #f44545 0%, #ad0808 50%,  #f44545 100%);
  border-radius: 12px;
  text-transform: uppercase;
  font-weight: 700;
  color: #ffffff;
  font-size: 27px;
  margin-top: 12px;
  transition: all 0.4s;
  background-size: auto 200%;
}

.thumbnail-btn:hover {
  background-position: bottom center;
}


.promo__thumbnail-bottom {
  display: flex;
  margin-top: 29px;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 0;
}

.promo__card-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 5px;
}

.promo__card-bottom:hover {
  background-color: #ffffff;
  border-radius: 12px 0 12px 0;
  box-shadow: 0.3px 0.3px 0px 0.3px rgba(0, 0, 0, 0.1);
  transition: 0.3s ease;
}

.promo__thumbnail-item.item-big {
  max-width: 351px;
  width: 100%;
  height: 257px;
}

.promo__thumbnail-img.img-big {
  max-width: 351px;
  width: 100%;
  height: 257px;
  object-fit: cover;
  object-position: center;
  border-radius: 12px 0 0 0;
}

.thumbnail-link.big-link {
  margin-top: 21px;
}

.thumbnail-btn.big-btn {
  height: 62px;
  width: 345px;
  margin-top: 24px;
  letter-spacing: 0.3px;
}

.footer {
  background-color: #414141;
  min-height: 260px;
  background-image: url(../media/backgrounds/background-footer-decor.webp);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: 110% 12px;
}

.footer__inner {
  margin-left: 6px;
  padding-top: 37px;
  color: #ffffff;
  font-family: 'Myriadpro';
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  justify-content: space-between;
}

.footer__list-title {
  font-weight: bold;
  font-size: 20px;
  letter-spacing: 3.5px;
  margin-bottom: 23px;
}

.footer__list {
  display: flex;
  flex-direction: column;
  gap: 18px 0;
}

.footer__list a:hover {
  opacity: 0.8;
  transition: 0.3s ease;
}

.footer__copyright {
  max-width: 330px;
}
