:root {
  --accent-color: #ff7e1b;
  --accent-color-hover: #ffab6a;
  --accent-color-light: #ffeee2;
  --light-bg: #f6f8fd;
  --text-color: #69707d;
  --black: #1d2026;
  --divider-bg: #e4e9f2;
}
/* GLOBAL */
html {
  box-sizing: border-box;
  height: 100%;
  scroll-behavior: smooth;
}

*:focus {
  outline: none;
}

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

body {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 0;
  margin: 0;
  font-family: "Kumbh Sans", "Arial", sans-serif;
  font-size: 16px;
  line-height: 25px;
  background-color: #fff;
  color: var(--text-color);
}

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

/* VISUALLY-HIDDEN */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  border: 0;
  padding: 0;
  clip: rect(0 0 0 0);
  overflow: hidden;
}


/* PLACEHOLDER STYLES */
/* ::-webkit-input-placeholder,
::-moz-placeholder,
:-ms-input-placeholder,
:-moz-placeholder {
  color: rgb(52, 49, 61, 0.5);
  opacity: 1;
} */

/* AUTOFILL COLOR STYLES */
/* input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
  border-color: transparent;
  -webkit-text-fill-color: inherit;
  -webkit-box-shadow: 0 0 0px 1000px #fff inset;
  transition: background-color 5000s ease-in-out 0s;
} */


/* LOGO */
.logo {
  display: inline-block;
}

.logo:hover {
  opacity: 0.6;
}

.logo__img {
  display: block;
  width: 137px;
  height: 20px;
  object-fit: contain;
}


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

.button--block {
  display: flex;
  width: 100%;
}
.button--wide {
  min-width: 272px;
}

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

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

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

.button__prepend {
  margin-right: 16px;
}

.button__icon {

}

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


/* MAIN-CONTENT */
.main-content {
  flex-grow: 1;
}


/* SITE-HEADER */
.site-header__container {
  position: relative;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--divider-bg);
}

.site-header__logo {
  flex-shrink: 0;
  margin-right: 56px;
}

.site-header__sitenav {
  margin-right: auto;
}

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

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

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

.sitenav__link {
  display: block;
  font-size: 15px;
  color: var(--text-color);
  text-decoration: none;
}

.sitenav__link.sitenav__link:hover {
  color: var(--black);
}
.sitenav__link.sitenav__link:hover::after {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 4px;
  background-color: var(--accent-color);
  content: "";
}

/* CART */
.site-header__cart {
  margin-right: 46px;
  margin-left: 24px;
}

.site-header__cart-link {
  position: relative;
  display: flex;
  color: var(--text-color);
}

.site-header__cart-link:hover {
  color: var(--black);
}
.site-header__cart-link:active {
  opacity: 0.6;
}

.site-header__cart-product-count {
  position: absolute;
  top: -6px;
  left: calc(100% - 11px);
  padding: 1px 6px;
  font-size: 10px;
  font-weight: 700;
  line-height: normal;
  border-radius: 6.5px;
  color: #fff;
  background-color: var(--accent-color);
}

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

.site-header__cart-icon {
  width: 22px;
  height: 20px;
  object-fit: contain;
}




/* Shopping cart products */
.shopping-cart__products {
  margin-bottom: 24px;
}

.shopping-cart-products {
  padding: 0;
  margin: 0;
  margin-bottom: 24px;
  list-style: none;
}

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


/* ITEM-SHOPPING-CART-PRODUCTS */
.item-shopping-cart-products {
  display: flex;
  align-items: flex-start;
}

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

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

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

b {
  color: var(--black);
}

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

.item-shopping-cart-products__remove-button:active {
  transform: translateY(1px);
}

.item-shopping-cart-products__remove-icon {
  display: block;
  width: 14px;
  height: 16px;
}

/* SHOPPING CART MODAL */
.site-header__cart-modal {
  display: none;
}
.site-header__cart-modal--open {
  position: absolute;
  display: block;
  top: 94px;
  right: -76px;
  width: 360px;
}

.shopping-cart {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 256px;
  border-radius: 10px;
  background-color: #fff;
}

.shopping-cart--modal {
  box-shadow: 0px 20px 50px -20px rgba(29, 32, 38, 0.503143);
}

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

.shopping-cart__title {
  margin: 0;
  font-size: 16px;
  line-height: 20px;
  font-weight: 700;
  color: var(--black);
}

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

.shopping-cart__empty  {
  display: none;
}

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

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







/* PROFILE */
.site-header__profile-link {
  display: flex;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid transparent;
}

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

.site-header__profile-link:active {
  opacity: 0.6;
}

.site-header__profile-avatar {
  width: 50px;
  height: 50px;
}



/* PRODUCT PAGE */
.product-page {
  padding-top: 90px;
  padding-bottom: 90px;
}
.product-page-container {
  display: flex;
  justify-content: space-between;
  max-width: 1063px;
}

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

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

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

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

.product-info__description {
  margin-top: 32px;
  margin-bottom: 24px;
  font-weight: 400;
  color: var(--text-color);
}

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

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

.badge {
  display: inline-block;
  padding: 5px 8px;
  font-weight: 700;
  line-height: normal;
  border-radius: 6px;
  color: var(--accent-color);
  background-color: var(--accent-color-light);
}

del {
  display: block;
  font-weight: 700;
  color: #B6BCC8;
}

/* INFO ACTIONS */
.product-info__cart-actions {
  display: flex;
  margin-top: 32px;
}

.product-info__quantity-wrapper {
  display: flex;
  margin-right: 16px;
  padding: 22px 16px;
  width: 156px;
  border-radius: 10px;
  background-color: var(--light-bg);
}

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

.product-info__quantity-button:hover {
  color: var(--accent-color-hover);
}
/* .product-info__quantity-button:active {
  background-color: var(--accent-color-hover);
  color: #fff;
} */

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














/* GALLERY | IMG SHOWCASE */
.img-showcase--lightbox {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.img-showcase__showcase {
  position: relative;
  z-index: 10;
  margin-bottom: 32px;
}


.img-showcase__lightbox-toggle {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 5;
  padding: 0;
  width: 100%;
  height: 100%;
  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;
  cursor: pointer;
}

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

.img-showcase__thumbnails {
  display: flex;
  align-items: center;
  padding: 0;
  padding-bottom: 10px;
  margin: 0;
  list-style: none;
  overflow: auto;
}

.img-showcase--lightbox .img-showcase__thumbnails {
  max-width: 550px;
}

/* SCROLLBAR */
.img-showcase__thumbnails {
  /* Foreground, Background */
  scrollbar-color: var(--accent-color-hover) var(--divider-bg);
}
.img-showcase__thumbnails::-webkit-scrollbar {
  width: 10px; /* Mostly for vertical scrollbars */
  height: 10px; /* Mostly for horizontal scrollbars */
}
.img-showcase__thumbnails::-webkit-scrollbar-thumb { /* Foreground */
  border-radius: 5px;
  background: var(--accent-color-hover);
}
.img-showcase__thumbnails::-webkit-scrollbar-track { /* Background */
  border-radius: 5px;
  background: var(--divider-bg);
}




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

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

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

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

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

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

.img-showcase__thumbnail--active .img-showcase__thumbnail-btn::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-radius: 10px;
  object-fit: cover;
}


/* LIGHTBOX */
.lightbox {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  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;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  margin-left: auto;
  margin-bottom: 24px;
  cursor: pointer;
  color: #d8d8d8;
  background-color: transparent;
}

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

.lightbox__close-icon {
  display: block;
  width: 30px;
  height: 30px;
}

/* CONTROL BUTONS */
.img-showcase__control {
  position: absolute;
  z-index: 1;
  top: 50%;
  transform: translateY(-50%);
  padding: 0;
  margin: 0;
  cursor: pointer;
  border-radius: 50%;
  color: var(--black);
  background-color: transparent;
}

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

.img-showcase__control-inner {
  display: flex;
  align-items: center;
  justify-content: 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__control-icon {
  display: block;
}





@media
only screen and (-webkit-min-device-pixel-ratio: 2),
only screen and (   min--moz-device-pixel-ratio: 2),
only screen and (     -o-min-device-pixel-ratio: 2/1),
only screen and (        min-device-pixel-ratio: 2),
only screen and (                min-resolution: 192dpi),
only screen and (                min-resolution: 2dppx) {

}
