:root {
  --nunito-font: Nunito, sans-serif;
  --cuprum-font: Cuprum, sans-serif;
  --inter-font: Inter, sans-serif;
  --text-green: #004c1d;
  --brown-color: #6e504a;
  --green-color: #5b994f;
  --yellow-color: #e5a812;
  --light-green: #8dc73f;
  --second-green: #01845c;
  --margin-cloud: -22%;
}

body {
  min-width: 320px;
  max-width: 1920px;
  font-family: Inter;
  font-size: 20px;
  color: #010101;
  background-color: #fff3e3;
  margin: 0 auto;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
}

.container {
  max-width: 1228px;
  padding: 0 30px;
  box-sizing: content-box;
  margin: 0 auto;
}

/*  */

.header {
  position: relative;
  height: 1227px;
  background-color: #60cbc4;
  z-index: 1;
}

.header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url(../img/bg-header-cart-page.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  z-index: -1;
}

.header__center {
  display: flex;
  justify-content: space-between;
}

.header__buttons {
  display: flex;
  flex-direction: column;
  row-gap: 30px;
  transform: translateY(230px);
}

.header__buttons a {
  height: 60px;
  font-size: 24px;
  text-transform: uppercase;
  text-align: center;
  color: white;
  background-color: #9f5438;
  border-radius: 38px;
  padding: 18px 40px;
  transition: background-color 0.3s;
}

.header__buttons a:hover {
  background-color: #c95125;
}

.header__buttons a.active {
  background-color: #ed7042;
}

/*  */
.clouds {
  position: absolute;
  top: 50px;
  left: 0;
  width: 100%;
  height: 319px;
  overflow: hidden;
  z-index: -2;
}

.cloud {
  position: absolute;
  top: var(--top);
  margin-left: var(--margin-cloud);
  animation: cloud 35s infinite linear;
  animation-delay: var(--delay);
}

.cloud-start-1 {
  top: 100px;
  margin-left: 40%;
  animation: cloud-start 25s linear forwards;
}

.cloud-start-2 {
  margin-left: 60%;
  animation: cloud-start 20s linear forwards;
}

@keyframes cloud-start {
  to {
    margin-left: 100%;
  }
}

@keyframes cloud {
  from {
    margin-left: var(--margin-cloud);
  }
  to {
    margin-left: 100%;
  }
}

/*  */
.header__top {
  display: flex;
  align-items: center;
  padding: 48px 0 102px 0;
}

.header__mail {
  font-family: var(--nunito-font);
  font-weight: 600;
  color: var(--text-green);
  font-size: 24px;
}

.logo {
  margin: 0 auto;
}

/*  */

.header__h1 {
  font-family: var(--cuprum-font);
  font-size: 80px;
  line-height: 72px;
  font-weight: 700;
  text-transform: uppercase;
  color: white;
  margin-bottom: 40px;
}

/*  */

.search {
  position: relative;
  width: 396px;
}

.search__input-bx {
  position: relative;
}

.search__input {
  width: 100%;
  height: 56px;
  font-family: var(--inter-font);
  font-size: 14px;
  color: var(--text-green);
  background-color: #fff3e3;
  border: 2px solid transparent;
  border-radius: 8px;
  padding: 0 50px 0 16px;
}

.search__input:focus {
  border-color: var(--second-green);
}

.search__close {
  opacity: 0;
  pointer-events: none;
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  cursor: pointer;
}

.search__close.active {
  opacity: 1;
  pointer-events: all;
}

.search__list-bx {
  position: absolute;
  top: 60px;
  width: 100%;
  z-index: 10;
}

.search__list {
  max-height: 320px;
  font-size: 14px;
  text-align: left;
  color: var(--text-green);
  background-color: #fff3e3;
  box-shadow: 0px 8px 20px rgba(1, 132, 92, 0.08);
  border-radius: 8px;
  cursor: pointer;
  padding: 8px 0;
  overflow-y: auto;
}

.search__list li {
  padding: 12px 16px;
  transition: background-color 0.2s;
}

.search__list li:hover {
  background-color: rgba(1, 132, 92, 0.1);
}

/**/

.mapWrap {
  margin-top: 262px;
}

.map {
  width: 100%;
  height: 711px;
  border: 2px solid #01845c;
  border-radius: 8px;
  overflow: hidden;
}

/**/

.cities {
  line-height: 24px;

  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  grid-gap: 50px 70px;

  padding: 326px 16px 70px 16px;
}

.cart-title {
  font-family: var(--inter-font);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-green);
  display: block;
  margin-bottom: 8px;
}

.shop__title .cart-title {
  font-size: 20px;
  margin-bottom: 12px;
}

.cart-address,
.cart-phone,
.cart-site {
  font-family: var(--inter-font);
  font-size: 14px;
  line-height: 16px;
  color: #010101;
  display: block;
  margin-bottom: 8px;
}

.cart-site {
  margin-bottom: 0;
}

/*  */
.ymaps-2-1-79-balloon,
.ymaps-2-1-79-balloon__layout {
  border-radius: 8px;
}

.ymaps-2-1-79-balloon__content {
  padding: 16px 16px !important;
}

.ymaps-2-1-79-balloon__close {
  transform: translate(-14px, 14px);
}

.ymaps-2-1-79-balloon__close-button {
  width: 24px !important;
  height: 24px !important;
  background: url(../img/close.svg) !important;
}

/*  */

.shopsRoz {
  padding: 30px 0 100px 0;
}

.shopRoz {
  box-shadow: 0 0 10px 0 #c1c1c1;
  border-radius: 8px;
  padding: 30px;
}

.shopRoz:not(:last-child) {
  margin-bottom: 30px;
}

.shopRoz__h3 {
  color: var(--text-green);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.shopRoz__link {
  color: #010101;
}

/*  */

.footer {
  position: relative;
  height: 298px;
  background-image: url(../img/footer-bg-cart-page.png);
}

.footer__bottom {
  position: absolute;
  bottom: 50px;
  font-family: var(--inter-font);
  font-size: 16px;
  font-weight: 500;
  line-height: 20px;
  color: white;
  display: flex;
  justify-content: space-between;
  gap: 0 103px;
  padding: 0 16px;
}

.footer__address {
  text-align: right;
}

.footer__bottom a {
  color: white;
  display: block;
}

.footer__address-2 {
  margin-top: 20px;
}
