body {
  font-family: "Kumbh Sans", sans-serif;
  font-size: 1rem;
  color: hsl(0, 0%, 0%);
  background-color: hsl(0, 0%, 100%);
  line-height: 1.6;
}

ul, ol {
  list-style: none;
}

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

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

button {
  font: inherit;
  cursor: pointer;
  background: none;
  border: none;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

input, button, textarea, select {
  font: inherit;
  background: none;
  border: none;
  outline: none;
}

input[type=number] {
  appearance: none;
  -moz-appearance: textfield;
}
input[type=number]::-webkit-inner-spin-button, input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.nav--desktop {
  display: none;
  position: relative;
}
@media (min-width: 48rem) {
  .nav--desktop {
    display: flex;
    align-items: center;
    gap: 2rem;
  }
}
.nav--desktop .nav__list {
  display: flex;
  align-items: center;
  gap: 2rem;
  position: relative;
}
.nav--desktop .nav__list li a {
  position: relative;
  font-weight: 400;
  color: hsl(219, 9%, 45%);
  transition: color 0.2s ease;
}
.nav--desktop .nav__list li a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3rem;
  height: 4px;
  background-color: hsl(26, 100%, 55%);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease;
}
@media (max-width: 75rem) {
  .nav--desktop .nav__list li a::after {
    bottom: -2.5rem;
  }
}
.nav--desktop .nav__list li a:hover {
  color: hsl(220, 13%, 13%);
}
.nav--desktop .nav__list li a:hover::after {
  transform: scaleX(1);
}

.nav--mobile {
  position: fixed;
  inset: 0;
  z-index: 999;
}
.nav--mobile .nav__overlay {
  position: absolute;
  inset: 0;
  background-color: hsla(0, 0%, 0%, 0.75);
  backdrop-filter: blur(2px);
}
.nav--mobile .nav__drawer {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  top: 0;
  left: 0;
  width: 80%;
  max-width: 250px;
  height: 100vh;
  padding: 1.5rem;
  background-color: hsl(0, 0%, 100%);
  transform: translateX(-100%);
  transition: transform 0.5s ease-in-out;
}
.nav--mobile .nav__drawer.open-drawer {
  transform: translateX(0);
}
.nav--mobile .nav__list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.nav--mobile .nav__list li a {
  font-size: 1.125rem;
  font-weight: 700;
  color: hsl(220, 13%, 13%);
  transition: color 0.3s ease;
}
.nav--mobile .nav__list li a:hover {
  color: hsl(26, 100%, 55%);
}

@media (min-width: 48rem) {
  .product-section {
    padding-block: clamp(3rem, 7vw, 5rem) 0;
  }
}
.product-section .product {
  display: grid;
  grid-template-columns: 1fr;
}
@media (min-width: 48rem) {
  .product-section .product {
    grid-template-columns: repeat(2, minmax(0, 24rem));
    gap: clamp(1rem, 5vw, 7rem);
    justify-content: center;
    align-items: center;
  }
}
@media (min-width: 75rem) {
  .product-section .product {
    grid-template-columns: repeat(2, minmax(0, 28rem));
  }
}
.product-section .product__gallery {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
@media (min-width: 75rem) {
  .product-section .product__gallery {
    gap: 2rem;
  }
}
.product-section .product__gallery-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.5rem;
  height: 2.5rem;
  background-color: hsl(0, 0%, 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.product-section .product__gallery-btn:hover {
  background-color: hsl(220, 14%, 75%);
}
.product-section .product__gallery-btn--prev {
  left: 1rem;
}
.product-section .product__gallery-btn--next {
  right: 1rem;
}
@media (min-width: 48rem) {
  .product-section .product__gallery-btn {
    display: none;
  }
}
.product-section .product__image-wrapper {
  position: relative;
  width: 100%;
  height: clamp(19rem, 75vw, 30rem);
  overflow: hidden;
}
@media (min-width: 48rem) {
  .product-section .product__image-wrapper {
    height: clamp(24rem, 6vw, 28rem);
    border-radius: 12px;
    cursor: pointer;
  }
}
.product-section .product__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.product-section .product__thumbnails {
  display: none;
}
@media (min-width: 48rem) {
  .product-section .product__thumbnails {
    display: flex;
    gap: 1.5rem;
    justify-content: space-between;
  }
}
.product-section .product__thumb {
  width: 4.8rem;
  height: 4.8rem;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
}
@media (min-width: 64rem) {
  .product-section .product__thumb {
    width: 5.25rem;
    height: 5.25rem;
  }
}
@media (min-width: 75rem) {
  .product-section .product__thumb {
    width: 5.75rem;
    height: 5.75rem;
  }
}
.product-section .product__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease-in-out;
}
.product-section .product__thumb img:hover {
  opacity: 0.5;
}
.product-section .product__thumb--active {
  border-color: hsl(26, 100%, 55%);
}
.product-section .product__thumb--active img {
  opacity: 0.5;
}
.product-section .product__details {
  padding: 1.5rem;
}
@media (min-width: 48rem) {
  .product-section .product__details {
    padding: 0;
  }
}
.product-section .product__brand {
  font-size: 0.75rem;
  font-weight: 700;
  color: hsl(219, 9%, 45%);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 0.75rem;
}
@media (min-width: 48rem) {
  .product-section .product__brand {
    font-size: 0.8125rem;
    margin-bottom: 1rem;
  }
}
.product-section .product__title {
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1rem;
}
@media (min-width: 48rem) {
  .product-section .product__title {
    font-size: 2.8125rem;
    line-height: 1.1;
    letter-spacing: -0.01em;
    margin-bottom: 2rem;
  }
}
.product-section .product__description {
  font-size: 1rem;
  color: hsl(219, 9%, 45%);
  line-height: 1.55;
  letter-spacing: -0.5px;
  margin-bottom: 1.5rem;
}
@media (min-width: 48rem) {
  .product-section .product__description {
    line-height: 1.6;
    letter-spacing: 0;
  }
}
.product-section .product__pricing {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}
@media (min-width: 48rem) {
  .product-section .product__pricing {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2.5rem;
  }
}
.product-section .product__price-group {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.product-section .product__price {
  font-size: 1.875rem;
  font-weight: 700;
  margin: 0;
  padding: 0;
  line-height: 1;
}
.product-section .product__discount {
  font-size: 1rem;
  font-weight: 700;
  border-radius: 5px;
  padding: 0.1rem 0.5rem;
  color: hsl(0, 0%, 100%);
  background-color: hsl(0, 0%, 0%);
}
.product-section .product__original-price {
  font-weight: 700;
  color: hsl(219, 9%, 45%);
  text-decoration: line-through;
}
.product-section .product__actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
@media (min-width: 48rem) {
  .product-section .product__actions {
    flex-direction: row;
  }
}
.product-section .product__quantity {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 3.5rem;
  border-radius: 8px;
  padding-inline: 1.5rem;
  background-color: hsl(223, 64%, 98%);
}
@media (min-width: 48rem) {
  .product-section .product__quantity {
    width: 10rem;
  }
}
.product-section .product__qty-btn {
  height: 100%;
}
.product-section .product__qty-btn svg {
  color: hsl(26, 100%, 55%);
}
.product-section .product__qty-btn svg:hover {
  color: hsl(26, 100%, 75%);
}
.product-section .product__qty-btn svg:active {
  color: hsl(26, 100%, 55%);
}
.product-section .product__qty-value {
  font-size: 1rem;
  font-weight: 700;
}
.product-section .product__add-to-cart {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  height: 3.5rem;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 8px;
  color: hsl(220, 13%, 13%);
  background-color: hsl(26, 100%, 55%);
  box-shadow: 0px 20px 50px -20px hsla(0, 0%, 0%, 0.5);
  transition: background-color 0.3s ease-in-out;
}
.product-section .product__add-to-cart:hover {
  background-color: hsl(26, 100%, 75%);
}
.product-section .product__add-to-cart:active {
  background-color: hsl(26, 100%, 55%);
}

.cart {
  position: absolute;
  top: calc(76px + 0.5rem);
  left: 50%;
  transform: translateX(-50%);
  width: min(100%, 22.5rem);
  min-height: 16rem;
  background-color: hsl(0, 0%, 100%);
  box-shadow: 0 10px 20px hsla(0, 0%, 0%, 0.25);
  border-radius: 12px;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease-in-out;
  display: flex;
  flex-direction: column;
}
.cart.open-cart {
  opacity: 1;
  pointer-events: auto;
}
@media (min-width: 48rem) {
  .cart {
    left: auto;
    right: 1.875rem;
    transform: none;
  }
}
.cart__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1.5rem 1.875rem;
  padding-inline: 1.5rem;
  border-bottom: 1px solid hsl(223, 64%, 98%);
}
.cart__title {
  margin: 0;
  padding: 0;
  line-height: 1;
  font-size: 1rem;
  font-weight: 700;
  color: hsl(220, 13%, 13%);
}
.cart__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.cart__empty {
  display: none;
  text-align: center;
  color: hsl(219, 9%, 45%);
  font-weight: 700;
  margin: 0;
}
.cart__item {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  padding: 1.5rem;
  gap: 1rem;
}
.cart__item-image {
  width: 3.125rem;
  height: 3.125rem;
  border-radius: 0.4rem;
}
.cart__item-name {
  font-size: 1rem;
  color: hsl(219, 9%, 45%);
}
.cart__item-price {
  font-size: 1rem;
  color: hsl(219, 9%, 45%);
}
.cart__item-price strong {
  color: hsl(220, 13%, 13%);
  font-weight: 600;
  font-size: 1.125rem;
  margin-left: 0.5rem;
}
.cart__item-delete {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  margin: 0;
}
.cart__item-delete svg {
  color: hsl(220, 14%, 75%);
  transition: color 0.15s ease;
}
.cart__item-delete svg:hover {
  color: hsl(219, 9%, 45%);
}
.cart__item-delete svg:active {
  color: hsl(220, 14%, 75%);
}
.cart__total {
  display: none;
  width: 100%;
  padding-inline: 1.5rem;
  padding-block: 1rem;
  text-align: right;
  font-weight: 700;
  color: hsl(220, 13%, 13%);
  border-top: 1px solid hsl(223, 64%, 98%);
}
.cart__total.show-total {
  display: block;
}
.cart__checkout {
  display: none;
  width: calc(100% - 3rem);
  margin-inline: 1.5rem;
  height: 3.5rem;
  background-color: hsl(26, 100%, 55%);
  color: hsl(220, 13%, 13%);
  font-weight: 700;
  font-size: 1rem;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.cart__checkout.cart-checkout-display {
  display: block;
}
.cart__checkout:hover {
  background-color: hsl(26, 100%, 75%);
}
.cart__checkout:active {
  background-color: hsl(26, 100%, 55%);
}
.cart__clear {
  display: none;
  font-size: 0.875rem;
  margin-block: 1rem;
  background: none;
  color: hsl(219, 9%, 45%);
  font-weight: 700;
  cursor: pointer;
  transition: color 0.2s ease;
}
.cart__clear:hover {
  color: hsl(220, 14%, 75%);
}
.cart__clear:active {
  color: hsl(219, 9%, 45%);
}
.cart__clear.cart-clear-display {
  display: block;
}

.cart-toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  background-color: hsl(220, 13%, 13%);
  color: hsl(0, 0%, 100%);
  padding: 1rem 1.5rem;
  border-radius: 12px;
  font-size: 0.75rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.cart-toast.show-toast {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.gallery-modal {
  display: none;
}

@media (min-width: 48rem) {
  .gallery-modal {
    display: none;
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
    z-index: 2000;
  }
  .gallery-modal.open {
    display: flex;
  }
  .gallery-modal__content {
    display: flex;
    flex-direction: column;
    position: relative;
  }
  .gallery-modal__image-wrapper {
    position: relative;
    border-radius: 16px;
    max-width: 500px;
    max-height: 500px;
    margin-bottom: 2rem;
  }
  .gallery-modal__image {
    width: 100%;
    height: 100%;
    border-radius: 16px;
  }
  .gallery-modal__btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: hsl(0, 0%, 100%);
  }
  .gallery-modal__btn:hover svg path {
    stroke: hsl(26, 100%, 55%);
  }
  .gallery-modal__btn--prev {
    left: -2rem;
  }
  .gallery-modal__btn--next {
    right: -2rem;
  }
  .gallery-modal__btn--next svg path {
    stroke: hsl(220, 13%, 13%);
    transition: all 0.3s ease-in-out;
  }
  .gallery-modal__close {
    font-size: 30px;
    position: absolute;
    top: -1.5rem;
    right: 0;
    color: hsl(0, 0%, 100%);
  }
  .gallery-modal__close:hover svg path {
    fill: hsl(26, 100%, 55%);
    stroke: hsl(26, 100%, 55%);
  }
  .gallery-modal__close svg path {
    fill: white;
    stroke: hsl(0, 0%, 100%);
    transition: all 0.2s ease-in-out;
  }
  .gallery-modal__thumbnails {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    width: 100%;
  }
  .gallery-modal__thumb {
    width: 5.75rem;
    height: 5.75rem;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
  }
}
.container {
  width: 100%;
  max-width: 1110px;
  margin-inline: auto;
}
@media (min-width: 48rem) {
  .container {
    padding-inline: 1rem;
  }
}

.header {
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: hsl(0, 0%, 100%);
}
.header__container {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-inline: 1.5rem;
  padding-block: 1.25rem 1.5rem;
  max-width: 1200px;
  margin-inline: auto;
  border-bottom: 2px solid hsl(223, 64%, 98%);
}
@media (min-width: 75rem) {
  .header__container {
    padding-inline: 0;
    padding-block: 1.5rem 2rem;
  }
}
.header__menu-toggle {
  display: block;
  padding-top: 4px;
}
@media (min-width: 48rem) {
  .header__menu-toggle {
    display: none;
  }
}
.header__left {
  display: flex;
  align-items: center;
  gap: 1rem;
}
@media (min-width: 48rem) {
  .header__left {
    gap: 3.5rem;
  }
}
.header__logo svg {
  color: hsl(220, 13%, 13%);
  transition: all 0.1s ease-in-out;
}
.header__logo svg:hover {
  color: hsl(26, 100%, 55%);
}
.header__actions {
  display: flex;
  align-items: center;
  gap: 1.375rem;
}
@media (min-width: 64rem) {
  .header__actions {
    gap: 2.8125rem;
  }
}
.header__cart {
  position: relative;
}
.header__cart-count {
  display: none;
  position: absolute;
  top: -0.55rem;
  right: -0.55rem;
  background-color: hsl(26, 100%, 55%);
  color: hsl(0, 0%, 100%);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.125rem 0.45rem;
  border-radius: 999px;
  line-height: 1;
}
.header__cart-count.show-count {
  display: inline-block;
}
.header__avatar {
  border-radius: 50%;
  border: 3px solid transparent;
  transition: all 0.3s ease-in-out;
}
.header__avatar:hover {
  border-color: hsl(26, 100%, 65%);
}
.header__avatar img {
  width: 1.5rem;
}
@media (min-width: 48rem) {
  .header__avatar img {
    width: 3rem;
  }
}

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