/* CUSTOM-PROPS */
:root {
  --orange: #ff7e1b;
  --gray: #69707d;
  --black: #1d2026;
  --white: #fff;

  --shadow: 0px 20px 50px -20px rgba(29, 32, 38, 0.503143);
}

/* 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;
}



/* GLOBAL-STYLES  */
html {
  box-sizing: border-box;
  height: 100%;
  scroll-behavior: smooth;
}

/* CUSTOM SCROLLBAR */
::-webkit-scrollbar {
  width: 20px;
}

::-webkit-scrollbar-track {
  background-color: transparent;
}

::-webkit-scrollbar-thumb {
  background-color: var(--orange);
  border-radius: 20px;
  border: 6px solid transparent;
  background-clip: content-box;
}

::-webkit-scrollbar-thumb:hover {
  opacity: 0.6;
}

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

body {
  display: flex;
  flex-direction: column;
  height: 100%;
  background-color: var(--white);
  color: var(--gray);
  font-family: "Kumbh Sans", "Arial", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 26px;
  padding: 0;
  margin: 0;
  overflow-x: hidden;
}

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

/* FOCUS-STYLES  */
*:focus {
  outline: 3px dotted var(--orange);
  outline-offset: 3px;
}

/* CONTAINER  */
.container {
  max-width: 1150px;
  width: 100%;
  padding-left: 20px;
  padding-right: 20px;
  margin-left: auto;
  margin-right: 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;
}


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

/* BUTTON  */
.button {
  padding-top: 18px;
  padding-bottom: 13px;
  display: inline-block;
  background-color: var(--orange);
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  line-height: normal;
  text-align: center;
  border-radius: 10px;
  cursor: pointer;
}

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

.button--icon {
  margin-left: 16px;
  border: none;
  width: 272px;
  box-shadow: 0px 20px 50px -20px #FF7E1B;
}

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

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

.button-inner {
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-icon {
  margin-right: 15px;
}


/* SITE NAVIGATOR  */
.site-header__sitenav {
  margin-right: auto;
}

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

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

.sitenav__link {
  position: relative;
  display: block;
  padding-top: 41px;
  padding-bottom: 45px;
  text-decoration: none;
  font-size: 15px;
  line-height: 26px;
  color: var(--gray);
}

.sitenav__link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: transparent;
}

.sitenav__link:hover.sitenav__link::after {
  background-color: var(--orange);
}

.sitenav__link:hover {
  color: var(--black);
}

.sitenav__link:focus {
  outline: none;
  color: var(--black);
}

.sitenav__link:focus.sitenav__link::after {
  background-color: var(--orange);
}

.sitenav__link:active {
  opacity: 0.6;
}


/* SHOPPING-CARD  */
.shopping-card {
  display: none;
  position: absolute;
  top: 92px;
  right: -56px;
  z-index: 1000;
  min-height: 256px;
  width: 100%;
  max-width: 360px;
  border-radius: 10px;
  background-color: var(--white);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.shopping-card--open {
  display: block;
}

.shopping-card__header {
  padding: 24px 24px 19px 24px;
  border-bottom: 1px solid #e4e9f2;
}

.shopping-card__title {
  font-size: 17px;
  margin: 0;
  color: var(--black);
}

.shopping-card__list-wrapper {
  background-color: var(--white);
  padding: 24px 24px 32px 24px;
}

.shopping-card__list-wrapper--close {
  display: none;
}

.shopping-card__msg {
  position: absolute;
  top: 50%;
  left: calc(50% - 71px);
  z-index: -1;
  font-weight: 700;
  white-space: nowrap;
}

.shopping-card__list {
  display: flex;
  flex-direction: column;
  margin: 0;
  margin-bottom: 23px;
  padding: 0;
  list-style: none;
}

.shopping-card__item--close {
  display: none;
}

.shopping-card__item:not(:last-child) {
  margin-bottom: 20px;
}

.shopping-card__item-inner {
  display: flex;
  align-items: center;
}

.shopping-card__item-img {
  display: block;
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.shopping-card__item-info {
  flex-shrink: 0;
  margin-right: 17px;
  margin-left: 17px;
}

.shopping-card__item-name {
  text-transform: capitalize;
}

.shopping-card__item-pricing-wrappper * {
  display: inline-block;
}

.shopping-card__item-pricing {
  color: var(--black);
  font-weight: 700;
  margin-left: 6px;
}

.shopping-card__item-button {
  padding: 0;
  border: none;
  background-color: transparent;
  cursor: pointer;
  color: #c3cad9;
}

.shopping-card__item-button:focus {
  outline: none;
}

.shopping-card__item-button svg {
  display: flex;
}

.shopping-card__item-button:hover {
  color: var(--black);
}

.shopping-card__item-button-icon {
  display: block;
  width: 14px;
  height: 16px;
  object-fit: contain;
}


/* SITE-HEADER  */
.site-header__container {
  position: relative;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #e4e9f2;
}

.site-header__logo {
  margin-right: 57px;
}

.logo {
  display: flex;
  flex-shrink: 0;
}

.logo:hover {
  opacity: 0.8;
}

.logo:active {
  opacity: 0.6;
}

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

.cart-auth-wrapper {
  display: flex;
  align-items: center;
  margin-left: 30px;
}


.site-header__cart {
  margin-right: 40px;
}

.cart {
  display: flex;
  position: relative;
  border: none;
  background-color: transparent;
  color: var(--gray);
  cursor: pointer;
}

.cart:hover {
  color: var(--black);
}

.cart:active {
  opacity: 0.6;
}

.cart__count {
  position: absolute;
  top: -6px;
  left: 15px;
  padding-right: 8px;
  padding-left: 6px;
  padding-top: 3px;
  border-radius: 6.5px;
  color: white;
  background-color: var(--orange);
  font-size: 10px;
  font-weight: 700;
  line-height: normal;
  white-space: nowrap;
}

.auth {
  display: flex;
  flex-shrink: 0;
  border-radius: 50%;
}

.auth:hover .auth__img {
  border-color: var(--orange);
}

.auth:active {
  opacity: 0.6;
}

.auth__img {
  border: 2px solid transparent;
  border-radius: 50%;
}


/* MAIN-CONTENT  */
.hero-wrapper {
  padding-top: 90px;
  padding-bottom: 130px;
}

.hero__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1063px;
}

.lightbox {
  flex-shrink: 0;
}

.hero__lightbox {
  margin-right: 20px;
}

.lightbox__inner {
  margin-bottom: 16px;
}

.lightbox__img {
  display: block;
  width: 88px;
  height: 88px;
  object-fit: contain;
}

.lightbox__img-main {
  width: 433px;
  height: 445px;
  border-radius: 15px;
  border: none;
  object-fit: cover;
  cursor: zoom-in;
}

.lightbox__list {
  max-width: 480px;
  width: 100%;
  overflow-x: scroll;
  display: flex;
  align-items: center;
  padding: 0;
  margin: 0;
  padding-top: 16px;
  padding-bottom: 16px;
  padding-right: 7px;
  padding-left: 7px;
  list-style: none;
}

.lightbox__item {
  flex-shrink: 0;
}

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

.lightbox__button {
  display: inline-block;
  padding: 0;
  border-radius: 10px;
  background-color: transparent;
  cursor: pointer;
  border: 2px solid transparent;
}

.lightbox__button:hover {
  border-color: var(--orange);
}

.lightbox__button:focus {
  outline: none;
  border-color: var(--orange);
}

.lightbox__button--active {
  position: relative;
  border-color: var(--orange);
}

.lightbox__button--active::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.6);
  border-radius: 10px;
}

.hero__info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  max-width: 445px;
  flex-shrink: 0;
}

.hero__text {
  text-transform: uppercase;
  color: var(--orange);
  font-size: 13px;
  line-height: normal;
  font-weight: 700;
  margin-bottom: 24px;
}

.hero__title {
  margin-top: 0;
  margin-bottom: 32px;
  text-transform: capitalize;
  color: var(--black);
  font-size: 44px;
  line-height: 48px;
}

.hero__description {
  margin: 0;
  margin-bottom: 24px;
}

.hero__sale-info {
  display: flex;
  align-items: flex-start;
  margin-bottom: 32px;
}

.hero__sale-pricing {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero__sale-pricing * {
  display: inline-block;
}

.sneakers-price {
  font-size: 28px;
  line-height: normal;
  font-weight: 700;
  color: var(--black);
}

.sneakers-price-old {
  font-size: 16px;
  line-height: 26px;
  font-weight: 700;
  text-decoration: line-through;
}

.sale {
  padding: 8px 8px 4px 8px;
  margin-left: 16px;
  font-weight: 700;
  line-height: normal;
  background-color: #ffeee2;
  color: var(--orange);
  border-radius: 6px;
  white-space: nowrap;
}

.counter-button-wrapper {
  display: flex;
}

.counter {
  display: flex;
  align-items: center;
  background-color: #f6f8fd;
  border-radius: 10px;
  width: 160px;
  height: 56px;
  padding: 5px;
}

.counter__count {
  display: inline-flex;
  margin: 0;
  padding: 19px 11px;
  border: none;
  background-color: transparent;
  border-radius: 10px;
  cursor: pointer;
}

.counter__count--plus {
  padding: 15px 11px;
}

.counter__count:focus {
  outline: none;
  background-color: rgba(255, 126, 27, 0.4);
  opacity: 0.8;
}

.counter__count:hover {
  opacity: 0.8;
}

.counter__count:active {
  background-color: rgba(255, 126, 27, 0.4);
}

.counter__text {
  display: inline-block;
  color: var(--black);
  text-align: center;
  line-height: normal;
  font-weight: 700;
  flex-grow: 1;
}