/* CUSTOM PROPS */
:root {
  --accent-color: #ff7e1b;
  --divider-color: #e4e9f2;
  --text-color: #69707d;
  --heading-color: #1d2026;
  --font: "Kumbh Sans", "Arial", sans-serif;
}

/* FONT-FACE */
@font-face {
  font-family: 'Kumbh Sans';
  src: url('../fonts/KumbhSans-Bold.woff2') format('woff2'),
    url('../fonts/KumbhSans-Bold.woff') format('woff');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Kumbh Sans';
  src: url('../fonts/KumbhSans-Regular.woff2') format('woff2'),
    url('../fonts/KumbhSans-Regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

html {
  height: 100%;
  scroll-behavior: smooth;
  box-sizing: border-box;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

body {
  display: flex;
  flex-direction: column;
  background-color: #fff;
  font-family: var(--font);
  font-weight: 400;
  font-size: 16px;
  line-height: 26px;
  color: var(--text-color);
}

.container {
  width: 100%;
  max-width: 1148px;
  padding-left: 24px;
  padding-right: 24px;
  margin-left: auto;
  margin-right: auto;
}

.main-content {
  flex-grow: 1;
}


/* BUTTONS */
.button {
  display: inline-block;
  padding: 0;
  border: 0;
  border-radius: 10px;
  font-weight: bold;
  font-size: 16px;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  background-color: var(--accent-color);
  color: #fff;
  overflow: hidden;
  text-align: center;
}

.button:hover {
  background-color: #ffab6a;
}

.button:active {
  transform: translateY(2px);
}

.button--block {
  display: flex;
  width: 100%;
}

.button--wide {
  min-width: 272px;
}

.button__inner {
  display: flex;
  width: 100%;
  justify-content: center;
  padding: 22px 20px 18px;
}

.button__prepend {
  margin-right: 16px;
}


/* BADGE */
.badge {
  display: inline-block;
  padding: 5px 8px 4px;
  border-radius: 6px;
  font-weight: bold;
  line-height: normal;
  color: var(--accent-color);
  background: #ffeee2;
}


/* .IMG-SHOWCASE */
.img-showcase__showcase {
  position: relative;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.img-showcase__button {
  position: absolute;
  z-index: 1;
  height: 100%;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 15px;
  background-color: transparent;
  cursor: zoom-in;
}

.img-showcase__active-img {
  display: block;
  width: 445px;
  height: 445px;
  border-radius: 15px;
  object-fit: cover;
}

.img-showcase__thumbnails {
  display: flex;
  padding: 0;
  margin: 0;
  list-style: none;
  overflow: auto;
}

.img-showcase__thumbnail {
  flex-shrink: 0;
}

.img-showcase__thumbnail:not(:last-child) {
  margin-right: 31px;
}

.img-showcase__thumbnail-button {
  position: relative;
  cursor: pointer;
  padding: 0;
  border: 0;
  overflow: hidden;
  border-radius: 10px;
  background-color: transparent;
}

.img-showcase__thumbnail-button::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  border-radius: 10px;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.50);
  opacity: 0;
}

.img-showcase__thumbnail-button:hover::after {
  opacity: 1;
}


.img-showcase__thumbnail-button:active {
  opacity: 0.6;
}

.img-showcase__thumbnail--active .img-showcase__thumbnail-button::after {
  opacity: 1;
  border: 2px solid var(--accent-color);
  background-color: rgba(255, 255, 255, 0.75);
}

.img-showcase__thumbnail-img {
  display: block;
  width: 88px;
  height: 88px;
  border-right: 10px;
  object-fit: cover;
}

/* LIGHTBOX */
.lightbox {
  display: none;
  position: fixed;
  z-index: 5;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.75);
}

.lightbox--open {
  display: block;
}

.lightbox__inner {
  width: 100%;
  max-width: 550px;
  margin: 90px auto;
}

.lightbox__close {
  display: block;
  border: 0;
  padding: 0;
  margin-left: auto;
  margin-bottom: 24px;
  background-color: transparent;
  color: #fff;
  cursor: pointer;
  transition: color 0.4s ease,
    opacity 0.4s ease;
}

.lightbox__close:hover {
  color: var(--accent-color);
}

.lightbox__close:active {
  opacity: 0.6;
}

.lightbox__close-icon {
  display: block;
}

.img-showcase__control {
  position: absolute;
  z-index: 10;
  top: 50%;
  transform: translateY(-50%);
  padding: 0;
  border: 0;
  border-radius: 50%;
  background-color: transparent;
  cursor: pointer;
  color: var(--heading-color);
}

.img-showcase__control:hover {
  color: var(--accent-color);
}

.img-showcase__control:active {
  opacity: 0.6;
}

.img-showcase__control-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: #fff;
}

.img-showcase__control--prev {
  left: -28px;
}

.img-showcase__control--next {
  right: -28px;
}

.img-showcase--lightbox .img-showcase__active-img {
  width: 550px;
  height: 550px;
  border-radius: 20px;
}

.img-showcase--lightbox .img-showcase__thumbnails {
  width: 100%;
  max-width: 445px;
}

/* SITE-HEADER */
.header {
  background-color: #fff;
}

.header__container {
  position: relative;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--divider-color);
}

.logo {
  display: flex;
  margin-right: 56px;
}

.logo__img {
  width: 138px;
  height: 20px;
  object-fit: contain;
  flex-shrink: 0;
}

.sitenav {
  margin-right: auto;
}

.sitenav__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
}

.sitenav__item {
  padding-top: 41px;
  padding-bottom: 45px;
}

.sitenav__item:not(:last-child) {
  margin-right: 32px;
}

.sitenav__link {
  display: inline-flex;
  position: relative;
  color: var(--text-color);
  font-size: 15px;
  font-weight: 400;
  line-height: 26px;
  text-decoration: none;
}

.sitenav__link:hover::before {
  position: absolute;
  content: "";
  top: calc(100% + 41px);
  width: 100%;
  height: 4px;
  background-color: var(--accent-color);
}


/* CART */
.header__modal {
  display: none;
}

.header__modal--open {
  display: block;
}

.header__cart {
  margin-right: 46px;
}

.header__cart-link {
  display: flex;
  position: relative;
  text-decoration: none;
}

.header__cart-count {
  position: absolute;
  top: -6px;
  left: calc(100% - 12px);
  border-radius: 7px;
  background-color: #ff7e1b;
  color: #fff;
  font-family: var(--font);
  font-style: normal;
  font-weight: bold;
  font-size: 10px;
  line-height: normal;
  padding: 1px 6px;
}

.header__cart-count--empty .header__cart-count {
  display: none;
}

.header__cart-icon {
  width: 22px;
  height: 20px;
  object-fit: contain;
  color: var(--text-color);
}

.header__cart-icon:hover {
  color: var(--heading-color);
}

.header__cart-icon:active {
  opacity: 0.6;
}


/* SHOPPING-CARt */
.shopping-cart {
  width: 100%;
  display: flex;
  flex-direction: column;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0px 20px 50px -20px rgba(29, 32, 38, 0.50);
}

.shopping-cart--modal {
  position: absolute;
  top: 94px;
  right: -76px;
  min-height: 256px;
  width: 360px;
}

.shoping-cart__header {
  padding: 24px 24px 27px;
  border-bottom: 1px solid var(--divider-color);
}

.shopping-cart__heading {
  margin: 0;
  color: var(--heading-color);
  line-height: normal;
}

.shopping-cart__inner {
  display: flex;
  flex-grow: 1;
  flex-direction: column;
  padding: 24px;
}

.shopping-cart__empty {
  display: none;
}

.shopping-cart--empty .shopping-cart__empty {
  padding: 24px;
  font-weight: bold;
  display: flex;
  flex-grow: 1;
  align-items: center;
  justify-content: center;
}

.shopping-cart--empty .shopping-cart__content {
  display: none;
}

.header__profile-avatar-link {
  display: flex;
}

.header__profile-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid transparent;
  overflow: hidden;
}

.header__profile-avatar:hover {
  border-color: var(--accent-color);
}

.header__profile-avatar:active {
  opacity: 0.6;
}


/* HAS ITEMS */
.shopping-cart-products {
  margin: 0;
  padding: 0;
  list-style: none;
}

.shopping-cart__product {
  margin-bottom: 24px;
}

.shopping-cart-products__item:not(:last-child) {
  margin-bottom: 16px;
}

.item-shopping-cart-products {
  display: flex;
  align-items: flex-start;
}

.item-shopping-cart-products__img {
  flex-shrink: 0;
  border-radius: 4px;
  object-fit: cover;
  width: 50px;
  height: 50px;
  overflow: hidden;
  margin-right: 16px;
}

.item-shopping-cart-products__info {
  flex-grow: 1;
  margin-right: 18px;
  overflow: hidden;
}

.item-shopping-cart-products__name {
  width: 213px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  text-transform: capitalize;
}

.item-shopping-cart-products__checkout-button {
  align-self: center;
  border: 0;
  cursor: pointer;
  padding: 0;
  background-color: transparent;
  color: #c3cad9;
}

.item-shopping-cart-products__checkout-button:hover {
  color: var(--heading-color);
}

.item-shopping-cart-products__checkout-button:active {
  opacity: 0.6;
}


/* PODUCT-PAGE */
.poduct-page {
  padding-top: 90px;
  padding-bottom: 90px;
}

.product-page__container {
  max-width: 1063px;
  display: flex;
  justify-content: space-between;
}

.product-page__gallery {
  width: 100%;
  max-width: 445px;
  margin-right: 48px;
}

.product-page__info {
  width: 100%;
  max-width: 445px;
}


/* PRODUCT-PAGE-INFO */
.product-info {
  width: 100%;
  max-width: 445px;
  padding-top: 60px;
}

.product-info__manufacturer {
  color: var(--accent-color);
  font-weight: 700;
  font-size: 13px;
  line-height: normal;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 27px;
}

.product-info__title {
  margin: 0;
  margin-bottom: 32px;
  color: var(--heading-color);
  font-size: 44px;
  font-weight: 700;
  line-height: 48px;
}

.product-info__description {
  margin: 0;
  margin-bottom: 28px;
  color: var(--text-color);
}

.product-info__price-wrapper {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.product-info__old-price {
  display: block;
  color: #b6bcc8;
  font-weight: bold;
  margin-bottom: 32px;
}

.product-info__price {
  margin-right: 16px;
  font-size: 28px;
  line-height: normal;
  font-weight: bold;
  color: var(--heading-color);
}

.product-info__cart-action {
  display: flex;
}

.product-info__quantity-wrapper {
  display: flex;
  width: 156px;
  margin-right: 16px;
  background-color: #f6f8fd;
  border-radius: 10px;
}

.product-info__quantity-button {
  width: 52px;
  border: 0;
  padding: 0;
  border-radius: 10px;
  font-weight: bold;
  font-size: 24px;
  color: var(--accent-color);
  cursor: pointer;
  background-color: transparent;
}

.product-info__quantity-button:hover {
  color: #ffab6a;
}

.product-info__quantity-button:active {
  background-color: #ffab6a;
  color: #fff;
}

.product-info__quantity {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 52px;
  font-weight: bold;
  line-height: normal;
}

.button {}

.button--wide {}

.button__inner {}

.button__prepend {}

.button__icon {}

.button__text {}