@import url("https://fonts.googleapis.com/css2?family=Kumbh+Sans:wght@400;700&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Kumbh Sans", sans-serif;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.25rem;
  padding: 0 1.5rem;
}
.header__menu:hover {
  cursor: pointer;
}
@media (min-width: 1115px) {
  .header__menu {
    display: none;
  }
}
.header__nav {
  width: 175px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
@media (min-width: 1115px) {
  .header__nav {
    width: 590px;
  }
}
.header__cart-avatar {
  display: flex;
  align-items: center;
  width: 70px;
  justify-content: space-between;
}
@media (min-width: 1115px) {
  .header__cart-avatar {
    width: 125px;
  }
}
.header__cart {
  position: relative;
}
.header__cart:hover {
  cursor: pointer;
}
.header__cart--notification {
  display: none;
  background-color: hsl(26, 100%, 55%);
  width: 15px;
  height: 12px;
  border-radius: 1rem;
  position: absolute;
  top: -2px;
  right: -5px;
  font-size: 0.6em;
  text-align: center;
  color: hsl(0, 0%, 100%);
}
.header__avatar {
  width: 1.7rem;
}
.header__avatar:hover {
  cursor: pointer;
  border: 2px solid hsl(26, 100%, 55%);
  border-radius: 50%;
}
@media (min-width: 1115px) {
  .header__avatar {
    width: 48px;
  }
}
@media (min-width: 1115px) {
  .header {
    height: 7rem;
    border-bottom: 1px solid hsl(220, 14%, 75%);
  }
}

.navbar {
  display: none;
  width: 400px;
}
.navbar__items {
  list-style: none;
  display: flex;
  justify-content: space-between;
}
.navbar__link {
  text-decoration: none;
  color: hsl(219, 9%, 45%);
  display: block;
  height: 112px;
  padding-top: 42px;
}
.navbar__link:hover {
  font-weight: 700;
  border-bottom: 4px solid hsl(26, 100%, 55%);
}
@media (min-width: 1115px) {
  .navbar {
    display: block;
  }
}

.modal-navbar {
  background: hsl(0, 0%, 100%);
  width: 250px;
  padding: 28px 24px;
  height: 100%;
}
.modal-navbar__bg {
  background: hsla(0, 0%, 0%, 0.5);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  display: none;
}
.modal-navbar__items {
  display: flex;
  flex-direction: column;
  height: 200px;
  justify-content: space-between;
  list-style: none;
  margin-top: 3rem;
}
.modal-navbar__link {
  text-decoration: none;
  color: hsl(220, 13%, 13%);
  font-weight: 700;
  font-size: 1.1em;
}
.modal-navbar__close-icon:hover {
  cursor: pointer;
}

.gallery__img-container {
  height: 300px;
  width: 100%;
  background-image: url("images/image-product-1.jpg");
  background-size: cover;
  background-position-y: -35px;
}
.gallery__img-container:hover {
  cursor: pointer;
}
.gallery__previous {
  background-color: hsl(0, 0%, 100%);
  width: 40px;
  height: 40px;
  padding: 12px;
  border-radius: 50%;
  position: absolute;
  top: 185px;
  left: 15px;
}
.gallery__previous:hover {
  cursor: pointer;
}
@media (min-width: 1115px) {
  .gallery__previous {
    display: none;
  }
}
.gallery__next {
  background-color: hsl(0, 0%, 100%);
  width: 40px;
  height: 40px;
  padding: 12px;
  border-radius: 50%;
  position: absolute;
  top: 185px;
  left: 320px;
}
.gallery__next:hover {
  cursor: pointer;
}
@media (min-width: 1115px) {
  .gallery__next {
    display: none;
  }
}
.gallery__thumbnails {
  display: none;
}
@media (min-width: 1115px) {
  .gallery__thumbnails {
    display: flex;
    justify-content: space-between;
  }
}
.gallery__thumbnail {
  width: 90px;
  border-radius: 1rem;
  transition: opacity 0.3s;
}
.gallery__thumbnail:hover {
  cursor: pointer;
  border: 2px solid hsl(26, 100%, 55%);
  opacity: 0.4;
}
@media (min-width: 1115px) {
  .gallery {
    width: 446px;
  }
  .gallery__img-container {
    border-radius: 16px;
    height: 446px;
    margin-bottom: 32px;
    background-position-y: 0;
  }
}

.details {
  padding: 24px;
}
.details__company {
  color: hsl(26, 100%, 55%);
  text-transform: uppercase;
  font-size: 0.8em;
  letter-spacing: 2px;
  margin-bottom: 12px;
}
.details__product-name {
  font-size: 1.7em;
  margin-bottom: 1rem;
}
.details__description {
  font-size: 0.94em;
  color: hsl(219, 9%, 45%);
  line-height: 24px;
  margin-bottom: 24px;
}
.details__prices {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
.details__now {
  font-size: 1.8em;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 18px;
}
.details__discount {
  font-size: 0.5em;
  color: hsl(26, 100%, 55%);
  background-color: hsl(25, 100%, 94%);
  padding: 4px;
  border-radius: 4px;
}
.details__before {
  font-weight: 700;
  color: hsl(220, 14%, 75%);
  text-decoration: line-through;
}
.details__btn {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  background-color: hsl(26, 100%, 55%);
  color: hsl(0, 0%, 100%);
  font-size: 0.9em;
  font-weight: 700;
  width: 100%;
  height: 57px;
  border-radius: 8px;
  border: none;
}
.details__btn:hover {
  cursor: pointer;
  opacity: 0.5;
}
@media (min-width: 1115px) {
  .details {
    padding-top: 60px;
    width: 446px;
  }
  .details__product-name {
    font-size: 2.7em;
    margin-bottom: 48px;
  }
  .details__description {
    font-size: 0.9em;
    margin-bottom: 37px;
  }
  .details__prices {
    flex-direction: column;
    align-items: flex-start;
  }
  .details__product-quantity {
    display: flex;
    gap: 32px;
  }
}

.input {
  height: 57px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: hsl(223, 64%, 98%);
}
.input__minus, .input__plus {
  width: 30px;
  height: 100%;
  padding: 24px 5px;
  cursor: pointer;
}
.input__minus:hover, .input__plus:hover {
  opacity: 0.4;
}
.input__number {
  width: 100%;
  border: none;
  font-size: 1.2em;
  font-weight: 700;
  font-family: "Kumbh Sans", sans-serif;
  text-align: center;
  outline: none;
  background-color: hsl(223, 64%, 98%);
}
.input__plus {
  padding: 18px 4px;
}

.cart-modal {
  display: none;
  width: 360px;
  height: 260px;
  border-radius: 8px;
  box-shadow: 3px 3px 10px;
  position: absolute;
  top: 75px;
  right: 6px;
  background-color: hsl(0, 0%, 100%);
}
.cart-modal__title {
  font-weight: 700;
  padding: 24px;
  border-bottom: 1px solid hsl(220, 14%, 75%);
}
.cart-modal__checkout-container {
  padding: 24px;
}
.cart-modal__details-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  color: hsl(219, 9%, 45%);
}
.cart-modal__img {
  width: 55px;
  border-radius: 4px;
}
.cart-modal__price span {
  font-weight: 700;
  color: hsl(0, 0%, 0%);
}
.cart-modal__delete:hover {
  cursor: pointer;
}
.cart-modal__checkout {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  background-color: hsl(26, 100%, 55%);
  color: hsl(0, 0%, 100%);
  font-size: 0.9em;
  font-weight: 700;
  width: 100%;
  height: 57px;
  border-radius: 8px;
  border: none;
}
.cart-modal__checkout:hover {
  cursor: pointer;
  opacity: 0.5;
}

.modal-gallery {
  width: 550px;
}
.modal-gallery__bg {
  background: hsla(0, 0%, 0%, 0.5);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  display: none;
  display: none;
  place-content: center;
}
.modal-gallery__close-container {
  text-align: right;
  height: 30px;
}
.modal-gallery__close {
  width: 1rem;
}
.modal-gallery__close:hover {
  cursor: pointer;
  content: url("images/icon-close-orange.svg");
}
.modal-gallery__img-container {
  height: 446px;
  border-radius: 1rem;
  margin-bottom: 2rem;
  position: relative;
  background-image: url("images/image-product-1.jpg");
  background-size: cover;
}
.modal-gallery__thumbnails {
  display: flex;
  justify-content: space-between;
  width: 450px;
  margin: auto;
}
.modal-gallery__thumbnail {
  width: 90px;
  border-radius: 1rem;
  transition: filter 0.3s;
}
.modal-gallery__thumbnail:hover {
  cursor: pointer;
  border: 2px solid hsl(26, 100%, 55%);
  filter: brightness(1.5);
}
.modal-gallery__previous {
  background-color: hsl(0, 0%, 100%);
  width: 40px;
  height: 40px;
  padding: 12px;
  border-radius: 50%;
  position: absolute;
  top: 190px;
  left: -15px;
}
.modal-gallery__previous:hover {
  cursor: pointer;
}
@media (min-width: 1115px) {
  .modal-gallery__previous {
    display: block;
  }
}
.modal-gallery__next {
  background-color: hsl(0, 0%, 100%);
  width: 40px;
  height: 40px;
  padding: 12px;
  border-radius: 50%;
  position: absolute;
  top: 190px;
  left: 520px;
}
.modal-gallery__next:hover {
  cursor: pointer;
}
@media (min-width: 1115px) {
  .modal-gallery__next {
    display: block;
  }
}

.main-container {
  width: 375px;
  margin: auto;
  position: relative;
}
@media (min-width: 1115px) {
  .main-container {
    width: 1115px;
  }
}

@media (min-width: 1115px) {
  .content {
    display: flex;
    padding: 90px 50px;
    gap: 124px;
  }
}

.show {
  display: block;
}

.cart-empty {
  text-align: center;
  margin-top: 30px;
  font-weight: 700;
  color: hsla(0, 0%, 0%, 0.5);
}

/*# sourceMappingURL=styles.css.map */
