:root {
  --main-text-color: #666;
  --link-color: #ddd;
  --link-hover-color: #fff;
  --main-link-color: #444;
  --main-color: #fff085;
  --second-color: #fcb454;
  --menu-bg: #f16767;
}

body {
  margin: 0;
  padding: 0;
  font-family: Arial, Helvetica, sans-serif;
}

.logo img {
  width: 200px;
  height: auto;
}

.logo {
  @media (max-width: 767.98px) {
    width: 100%;
  }
}

.logo span {
  font-size: 38px;
  font-weight: 500;

  @media (max-width: 1199.98px) {
    font-size: 32px;
  }

  @media (max-width: 767.98px) {
    font-size: 26px;
    width: 100%;
    text-align: center;
  }
}

.contacts {
  @media (max-width: 767.98px) {
    width: 100%;
    text-align: center;
  }
}

.contacts a,
main a {
  color: var(--main-link-color);
  text-decoration: none;
  border-bottom: 1px solid var(--link-color);
  transition: border 0.3s ease-in-out;
}

.contacts a:hover,
main a:hover {
  border-color: var(--main-text-color);
}

.card__buy {
  border: 1px solid green;
  color: green;

  @media (max-width: 1199.98px) {
    width: 100%;
  }
}

.card__buy:hover {
  border: 1px solid green;
  background-color: green;
  color: white;
}

.card__text {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card__price {
  font-size: 16px;
  text-align: center;
  color: var(--main-text-color);

  @media (min-width: 768px) {
    font-size: 18px;
  }

  @media (min-width: 1200px) {
    text-align: left;
  }
}

.card__name {
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;

  @media (max-width: 768px) {
    font-size: 15px;
  }
}

.card__img:hover img {
  transform: scale(1.15);
}

.card__img {
  overflow: hidden;
}

.card__img img {
  transition: transform 0.5s ease-in-out;
}

.menu {
  top: 0;
  background-color: var(--menu-bg);
  z-index: 10;

  @media (max-width: 1199.98px) {
    height: 100vh;
    top: -100vh;
    transition: top 0.6s ease-in-out;
    visibility: hidden;
  }
}

.menu.show {
  @media (max-width: 1199.98px) {
    top: 0 !important;
    visibility: visible;
  }
}

.menu a {
  color: var(--link-color);
  font-size: 18px;
  text-decoration: none;
  padding: 10px 15px;
  display: inline-block;
  transition: all 0.3s ease-in-out;
  border-radius: 6px;

  @media (max-width: 1199.98px) {
    text-align: center;
    font-size: 20px;
  }
}

.menu a:hover {
  background: var(--second-color);
  color: var(--link-hover-color);
}

.header {
  border: 4px double var(--bs-body-color);
  margin-top: 12px;
  @media (min-width: 1200px) {
    margin-top: 64px;
  }

  @media (max-width: 768px) {
    margin-top: 24px;
  }
}

.home-header {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  padding-bottom: 2rem;
  height: 100vh;
  background: linear-gradient(var(--main-color), var(--second-color));
}

.home-header__inner {
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding-top: 60px;
  color: var(--menu-bg);

  @media (min-width: 768px) {
    align-items: center;
  }
}

.hero-img {
  max-width: 100%;
  height: auto;
  transition: transform 0.3s ease-out;
  position: relative;

  @media (max-width: 767.98px) {
    margin-bottom: 20px;
  }
}

#menu-btn {
  position: fixed;
  top: 20px;
  right: 15px;
  cursor: pointer;
  z-index: 11;
  padding: 10px;
  border-radius: 6px;
  transition: background 0.3s ease-in-out;
}

#menu-btn .bar1,
#menu-btn .bar2,
#menu-btn .bar3 {
  background-color: var(--menu-bg);
  height: 5px;
  margin: 5.75px 0;
  transition: 0.4s;
  width: 35px;
}

#menu-btn.touch .bar1 {
  transform: rotate(-45deg) translate(-9px, 6px);
  background-color: var(--link-hover-color);
}

#menu-btn.touch .bar2 {
  opacity: 0;
}

#menu-btn.touch .bar3 {
  transform: rotate(45deg) translate(-9px, -7px);
  background-color: var(--link-hover-color);
}

footer {
  background-color: var(--menu-bg);
  color: var(--main-color);
  padding: 20px;
  text-align: center;
}

footer a {
  color: var(--second-color);
  text-decoration: none;
  font-weight: bold;
}

footer a:hover {
  text-decoration: underline;
}

.main-btn {
  display: inline-block;
  padding: 12px 24px;
  font-size: 18px;
  background-color: var(--menu-bg);
  color: var(--link-color);
  border: 2px solid var(--menu-bg);
  border-radius: 8px;
  font-weight: bold;
  transition: all 0.3s ease-in-out;
  box-shadow: 0px 4px 10px var(--shadow-color);

  @media (min-width: 768px) {
    font-size: 20px;
  }
}

.main-btn:hover {
  background-color: var(--second-color);
  color: var(--link-hover-color);
  border: 2px solid var(--menu-bg);
  color: var(--menu-bg);
}

.contacts-img {
  width: 100%;
  height: auto;
}

.contacts-page {
  font-size: 19px;

  @media (min-width: 1200px) {
    margin-top: 24px;
  }
}

.product__img img {
  width: 100%;
  height: auto;
}

.product__description-short {
  top: 80px;
}

.description__img {
  .product__img img {
    width: 100%;
    height: auto;
  }
}

.store-name {
  font-size: 100px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 8px;
  text-align: center;
  color: var(--second-color);
  text-shadow: 5px 5px 0px #ff4d4d, 10px 10px 0px #222;
  padding: 20px;

  @media (max-width: 768px) {
    font-size: 35px;
    font-weight: 300;
  }
}

.buy-button {
  display: inline-block;
  padding: 12px 30px;
  font-size: 20px;
  font-weight: 700;
  background-color: #28a745;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s ease-in-out;
}

.buy-button:hover {
  background-color: #218838;
}

.product-price {
  font-size: 24px;
  font-weight: 700;
  color: #28a745;
}

.old-price {
  font-size: 20px;
  color: #888;
  text-decoration: line-through;
}

.product-features {
  margin-top: 20px;
}

.product-features h2 {
  font-size: 22px;
  font-weight: 700;
}

.product-features ul {
  list-style: none;
  padding: 0;
}

.product-features li {
  font-size: 18px;
  padding: 5px 0;
}

.old__price {
  font-size: 18px;
  color: #888;
  text-decoration: line-through;
}
