.breadcumbs {
  height: 50px;
  border-top: 1px solid rgb(0 0 0 / 20.5%);
  border-bottom: 1px solid rgb(0 0 0 / 20.5%);

  & ol {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 1em;
    list-style-type: none;
  }

  & li {
    margin-right: 1rem;

    &.active {
      opacity: 0.6;
    }

    &::first-letter {
      text-transform: uppercase;
    }
  }

  & a {
    display: inline-block;
    color: unset;
    text-transform: lowercase;
    text-decoration: none;

    &:hover {
      text-decoration: underline;
    }

    &::first-letter {
      text-transform: uppercase;
    }
  }

  & span {
    margin-left: 0.5rem;
  }
}

/* @import '../_components/product/product_details/product_to_cart_form/product_colors/product_colors.css'; */

/* @import '../_components/product/product_details/product_to_cart_form/product_sizes/product_sizes.css'; */
.product_min__title {
  font-weight: 600;

  &:hover {
    text-decoration: underline;
  }
}

.product_min__body {
  /* display: grid;
  grid-template-rows: auto auto 1fr; */

  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 0.6rem;
}

.product_min__price {
  display: flex;
  flex-direction: column;

  & [data-product-count],
  & [data-product-price] {
    display: none;
  }
}

.product_min__details {
  display: flex;
  gap: 0.5em;
  margin-top: 0.5em;

  & .product__color {
    font-size: 0.9em;
  }

  & .product__size {
    font-size: 0.9em;
  }
}

.product_min {
  position: relative;
  display: flex;
  justify-content: space-between;
  max-width: 400px;
  min-width: 275px;
  height: 135px;
  margin-bottom: 1.5rem;
  color: var(--color-black);
  background: var(--color-white);
  border-radius: 0.5rem;
  box-shadow: rgb(0 0 0 / 5%) 0 0 0 1px, rgb(209 213 219) 0 0 0 1px inset;
  box-shadow: rgb(255 255 255 / 20%) 0 0 0 1px inset, rgb(0 0 0 / 90%) 0 0 0 1px;

  & img {
    width: 97px;
    height: 100%;
    object-fit: cover;
    border-radius: 0.5rem;
    box-shadow: rgb(255 255 255 / 20%) 0 0 0 1px inset, rgb(0 0 0 / 90%) 0 0 0 1px;
  }

  & .count,
  & .actions {
    position: absolute;
    display: flex;

    /* display: grid;
    grid-template-columns: repeat(3, 1fr); */
    align-content: center;
    align-items: center;
    justify-items: center;
    width: 100px;
    height: 1.9rem;
    background: var(--color-main-light);
    border-radius: 5px;
  }

  & input {
    width: 100%;
    height: 100%;
    font-weight: bold;
    font-size: 1.2em;
    text-align: center;
    background: none;
    border: none;
  }

  & button {
    position: relative;
    height: 100%;
    background: none;
    border: none;
    cursor: pointer;
    all: revert;

    & > * {
      pointer-events: none;
    }
  }

  & .count {
    bottom: -0.9rem;
    box-shadow: rgb(0 0 0 / 5%) 0 0 0 1px, rgb(209 213 219) 0 0 0 1px inset;
    box-shadow: rgb(255 255 255 / 20%) 0 0 0 1px inset, rgb(0 0 0 / 90%) 0 0 0 1px;

    & button {
      --size: 15px;

      position: relative;
      display: flex;
      align-items: center;
      width: auto;
      height: 100%;

      &::before {
        width: var(--size);
        height: 2px;
        background: var(--color-black);
        content: '';
      }

      &[name='countPlus'] {
        &::after {
          position: absolute;
          width: var(--size);
          height: 2px;
          background: var(--color-black);
          transform: rotate(90deg);
          content: '';
        }
      }
    }

    /* & button {
      width: 100%;
      height: 100%;
    }

    & svg {
      width: 100%;
      height: 100%;
      fill: var(--color-black);
    } */
  }

  & .actions {
    top: -0.9rem;
    right: 0;
    box-shadow: rgb(0 0 0 / 5%) 0 0 0 1px, rgb(209 213 219) 0 0 0 1px inset;
    box-shadow: rgb(255 255 255 / 20%) 0 0 0 1px inset, rgb(0 0 0 / 90%) 0 0 0 1px;

    & button {
      width: 100%;
      height: 100%;

      &:nth-child(1) {
        /* width: 70%; */
        height: 60%;
      }

      &:nth-child(3) {
        /* width: 80%; */
        height: 70%;
      }
    }

    & svg {
      width: 100%;
      height: 100%;
    }

    & .actions__wishlist {
      & svg {
        fill: var(--color-main-light);
      }

      &.active {
        & svg {
          fill: var(--color-pink);
        }
      }
    }
  }
}

/*
.product_min__description {
  margin-top: 1em;
} */
#footer {
  display: grid;
  width: 100%;
  height: 50px;
  height: auto;
  margin-top: auto;
  padding: 2em 2em 1em;
  color: var(--color-white);
  background: var(--color-main-dark);
}

.footer__title {
  margin-bottom: 1.5em;
  font-weight: normal;
  font-size: 1.2rem;
}

.footer_body {
  grid-template-areas: 'social links app';
  grid-template-columns: repeat(3, 1fr);
  gap: 1em;
  justify-content: space-around;
  width: 100%;
  padding-bottom: 80px;
}

.footer_social {
  display: grid;
  grid-area: social;
  grid-template-rows: auto 1fr;
}

.footer_social__link {
  display: flex;
  align-items: center;
  width: auto;
  height: 25px;
  margin-bottom: 0.5em;
  color: var(--color-white);
  font-weight: bold;
  font-size: 1em;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-decoration: none;
  background-repeat: no-repeat;
  background-size: 25px;

  & .icon {
    width: 25px;
    height: 25px;
    margin-right: 5px;
  }
}

/* .footer_social__vk {
  background-image: url('../../../../Public/img/svg/vk_logo.svg');
}

.footer_social__telegram {
  background-image: url('../../../../Public/img/svg/telegram_logo.svg');
} */

.footer_links {
  display: grid;
  grid-area: links;
  grid-template-rows: auto 1fr;
  align-items: start;
}

.footer_links__container {
  display: grid;
  gap: 0.5em;
}

.footer_links__link {
  color: var(--color-white);
}

.footer_app {
  grid-area: app;
  width: auto;
}

.footer_app__container {
  display: flex;
  gap: 1em;
  width: auto;
  height: auto;
}

.footer_app__link {
  /* display: grid; */
  display: flex;
  align-items: center;
  width: 50%;
  min-width: 160px;
  height: auto;
  padding: 1em;
  color: var(--color-black);
  font-size: 0.8em;
  text-decoration: none;
  background-color: var(--color-main-light);
  background-repeat: no-repeat;
  background-position: 1em;
  background-size: 30px;
  border-radius: 8px;
  box-shadow: rgb(255 255 255 / 20%) 0 0 0 1px inset, rgb(0 0 0 / 90%) 0 0 0 1px;

  & strong {
    font-size: 1.1em;
  }

  & span {
    display: grid;
  }

  & .icon {
    width: 30px;
    height: 30px;
    margin-right: 8px;
    fill: var(--color-black);
  }
}

/* .footer_app__apple {
  background-image: url('../../../../Public/img/svg/apple_logo.svg');
}

.footer_app__android {
  background-image: url('../../../../Public/img/svg/android_logo.svg');
} */

.footer_bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding-top: 1em;
  font-size: 0.8em;
  border-top: var(--color-main-light) solid 1px;
}

.footer_bottom__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1em;
}

.footer_bottom__link {
  color: var(--color-white);
}

.footer__social {
  grid-area: footer__social;
}

#formConfirmRegistration {
    display: grid;
    row-gap: 1em;
}

[data-label='span'] {
  position: relative;
  display: flex;
  align-items: center;
  height: 2.5em;
  color: var(--color-black);
  background: var(--color-white);
  border-radius: 8px;
  box-shadow: rgb(67 71 85 / 27%) 0 0 0.25em, rgb(90 125 188 / 5%) 0 0.25em 1em;

  & .icon {
    width: 100%;
    max-width: 31px;
    height: 100%;
    padding: 0 0.5em;
    border-radius: 0 8px 8px 0;
    box-shadow: rgb(67 71 85 / 27%) 0 0 0.25em, rgb(90 125 188 / 5%) 0 0.25em 1em;
    fill: var(--color-black);
  }

  & [name='showPassword'] {
    height: 15px;
    margin-right: 10px;

    & svg {
      height: 100%;
      pointer-events: none;
    }

    & line {
      display: none;
    }

    &.show {
      & line {
        display: block;
      }
    }
  }

  & span {
    position: absolute;
    top: 50%;
    padding: 0.2em 0.5em 0;
    font-size: 1em;
    background: inherit;
    border-radius: 8px 8px 0 0;
    transform: translateY(-55%);
    transition: all 80ms ease-out;
    pointer-events: none;

    &.active {
      top: 0;
      font-size: 0.8em;
    }

    & em {
      color: var(--color-error);
    }
  }

  & input {
    width: 100%;
    height: 100%;
    padding-left: 8px;
    font-size: 1em;
    background: var(--color-white);
    border: none;
    border-radius: 8px 0 0 8px;

    &:-webkit-autofill,
    &:-webkit-autofill:hover,
    &:-webkit-autofill:focus {
      box-shadow: 0 0 0 1000px var(--color-white) inset;
      transition: background-color 5000s ease-in-out 0s;
    }

    &:focus ~ span,
    &:valid ~ span,
    &:not(:placeholder-shown) ~ span {
      top: 0;
      font-size: 0.8em;
    }
  }
}

.toggle {
  --content-before: 'Before';
  --content-after: 'After';

  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 60px;
  cursor: pointer;

  & span {
    position: absolute;
    display: block;
    width: 50%;
    height: 100%;
    background: var(--color-main-medium);
    border-radius: 8px;
    box-shadow: rgb(255 255 255 / 20%) 0 0 0 1px inset, rgb(0 0 0 / 90%) 0 0 0 1px;
    transition: all 100ms ease-in-out;
  }

  &[data-checked='false'] > span {
    transform: translateX(0);
  }

  &[data-checked='true'] > span {
    transform: translateX(100%);
  }

  &::before,
  &::after {
    z-index: 1;
    display: flex;
    justify-content: center;
    width: 50%;
  }

  &::before {
    transition: all 100ms ease-in;
    content: var(--content-before);
  }

  &::after {
    transition: all 100ms ease-in;
    content: var(--content-after);
  }
}

#checkout {
  padding: 2em 1em;

  & h1 {
    margin-bottom: 1em;
    text-align: center;
  }
}

#cart_steps1 {
  height: 35px;

  & ul {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    list-style-type: none;
    background: var(--color-main-medium);
  }

  & li {
    position: relative;
    width: 100%;
    height: 100%;

    &.active::after {
      position: absolute;
      top: 0;
      right: calc($height / -2);
      width: 0;
      height: 0;
      border-top: calc($height / 2) solid transparent;
      border-bottom: calc($height / 2) solid transparent;
      border-left: calc($height / 2) solid var(--color-main-dark);
      content: '';
    }
  }

  & a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: var(--color-black);
    text-transform: uppercase;
    text-decoration: none;
    cursor: no-drop;

    &.active {
      color: var(--color-white);
      background: var(--color-main-dark);
    }
  }
}

.cart_content1 {
  margin-left: 5%;
  margin-right: 5%;
  grid-template-columns: 1fr auto;
  align-items: start;
  column-gap: 2rem;
  border-radius: 10px;

  & h2 {
    margin: 0;

    /* margin-bottom: 0; */
    font-size: 1.3em;
    text-align: center;
  }
}

.products_wrap {
  padding: 15px;
  border-radius: 10px;
}

.cart_list {
  display: grid;
  grid-template-rows: 1fr;
/*  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));*/
  padding-top: 1rem;
  column-gap: 25px;
  row-gap: 1rem;
}

.user_data {
  & h3 {
    padding: 2em 0;
  }
}

.form {
  grid-template-rows: auto 1fr auto;
  justify-content: center;
  justify-items: center;

  max-width: 400px; 
  padding: 2rem;
  color: var(--color-black);
  background: var(--color-main-light);
  border-radius: 10px;
  box-shadow: rgb(255 255 255 / 20%) 0 0 0 1px inset, rgb(0 0 0 / 90%) 0 0 0 1px;

  & header {
    display: grid;
    justify-items: center;
    padding-bottom: 0.5;
    border-bottom: var(--color-black) 1px solid;
  }

  & #sumInShoppingCartId {
    font-size: 2.2em;
  }

  & p {
    width: 100%;
    text-align: center;
  }

  & form {
    width: 100%;
    color: var(--color-black);

    & h3 {
      padding: 1em;
      text-align: center;
    }

    button[type='submit'], .submitFormButton {
      width: 100%;
      height: 100%
      margin: 2em 2em 1px;
      padding: 0.8em 3em;
      font-size: 1em;
      text-align: center;
/*      background: var(--color-white);*/
      background: var(--color-main-medium);
      color: black;
      border: none;
      border-radius: 8px;
      box-shadow: rgb(255 255 255 / 20%) 0 0 0 1px inset, rgb(0 0 0 / 90%) 0 0 0 1px;
      cursor: pointer;
    }
  }
}

.order_list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  column-gap: 0.5em;
}

.cart-content__payments {
  grid-template-rows: 1fr 4fr auto;
}

.confirm_registration {
  display: flex;
  justify-content: center;
  width: 80%;
  margin-bottom: 2em;
  column-gap: 1em;

  & label {
    height: 40px;
    text-align: center;
  }

  & input {
    height: 100%;
    margin-top: 0.5em;
    padding: 0.5em;
    border: 1px solid;
    border-radius: 5px;

    &::placeholder {
      color: var(--color-white);
      opacity: 0.8;
    }
  }

  & label:nth-child(2) {
    margin-top: 2em;
  }
}

.cart-content__card {
  & div {
    display: flex;
    justify-content: space-between;

    & label:last-child {
      width: 25%;
      text-align: center;

      & input {
        width: 100%;
      }
    }
  }

  &::-webkit-calendar-picker-indicator {
    filter: invert(1);
  }

  & input[type='submit'] {
    width: 100%;
    height: 3rem;
    color: var(--color-black);
    background: var(--color-main-medium);
    border: none;
    cursor: pointer;
  }
}

#formCheckout {
  display: grid;
  row-gap: 1em;

  & h3 {
    margin-top: 2em;
  }
}

#cartDelyvery {
  display: grid;
  gap: 10px;
  
  & p {
    margin-top: 1em;
  }

  & label {
    display: flex;
    align-items: center;
  }

  & #deliveryAddress,
  & #deliveryComment,
  & #deliveryCity {
    display: none;

    &.active {
      display: flex;
    }
  }

  & input {
    display: none;
  }

  & .delivery_container {
    position: relative;
    display: flex;
    width: 100%;
    height: 155px;
    overflow: hidden;

    & .delivery {
      position: absolute;
      top: 0;
      left: 0;
      display: grid;
      gap: 1em;
      width: 100%;
      height: auto;
      padding-right: 5px;
    }

    & .pickup {
      position: absolute;
      top: 0;
      left: 0;
      display: grid;
      align-content: center;
      width: 100%;
      height: 100%;
      margin: auto;
      row-gap: 0.5em;
    }
  }
}

#formPayment {
  display: grid;
  justify-items: center;
  width: 100%;

  & [data-label='toggleSwitch'] {
    --width: 300px;
    --content-before: 'Наличные';
    --content-after: 'Карта';

    margin: 2em auto;
    background: inherit;

    & span {
      border-radius: 8px;
      box-shadow: rgb(255 255 255 / 20%) 0 0 0 1px inset, rgb(0 0 0 / 90%) 0 0 0 1px;
    }
  }

  & .toggle {
    --content-before: 'Наличные';
    --content-after: 'Карта';

    width: 100%;
    height: 40px;
    margin: 1em 0;
  }

  & .cash {
    transition: all 100ms ease-in-out;

    & h3 {
      display: flex;
      align-items: center;
      justify-content: center;

      & svg {
        height: 1em;
        margin-right: 0.5em;
        fill: var(--color-black);
      }
    }
  }

  & .credit-card {
    position: absolute;
    width: 100%;
    transform: translateX(-100%);
    transition: all 100ms ease-in-out;

    & h3 {
      display: flex;
      align-items: center;
      justify-content: center;

      & svg {
        height: 1em;
        margin-right: 0.5em;
        fill: var(--color-black);
      }
    }
  }

  /* & .credit-card {
    position: relative;
    display: none;
    display: grid;
    align-items: center;
    width: 100%;
    max-width: 300px;
    height: 150px;
    padding: 0.7rem;
    color: var(--color-black);
    text-transform: uppercase;
    background: var(--color-main-medium);
    border-radius: 10px;
    transform: translate(-110%, -50%);
    transition: all 100ms ease-in-out;

    & span {
      display: block;
      font-size: 1.1em;
    }

    & input {
      font-size: 1.1em;
      background: none;
      border: none;

      &::placeholder {
        color: var(--color-black);
      }
    }

    & [data-label='date'] {
      position: relative;

      & input {
        width: 100%;
        height: 100%;
        opacity: 0;
      }

      & span {
        position: absolute;
        top: 0;
        left: 0;
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 0 5px;
        pointer-events: none;

        & svg {
          height: 1em;
          fill: var(--color-black);
        }
      }
    }

    & .top {
      display: grid;
      grid-template-columns: 1fr auto;
      width: 100%;

      & label {
        display: flex;
        align-items: center;

        & input {
          width: 100%;
          margin-left: 0.5em;
        }
      }
    }

    & .bottom {
      display: grid;
      grid-template-columns: 1fr 80px;
      justify-content: space-between;
    }
  } */

  & .payment_container {
    position: relative;
    display: flex;
    justify-items: center;
    width: 100%;
    height: 120px;
    overflow: hidden;
    transition: all 100ms ease-in;

    &.active {
      /* height: 170px; */

      & .cash {
        transform: translateX(100%);
      }

      & .credit-card {
        transform: translate(0);
      }
    }
  }
}

#cartReview1 {
  & section {
/*    grid-template: auto 1fr / 1fr auto;*/
    grid-template-areas:
      'title title'
      '. .';
    padding: 2em 1em;
    column-gap: 1em;

    & h1 {
      grid-area: title;
      padding-bottom: 2rem;
      text-align: center;

      & .icon {
        height: 0.8em;
        margin-right: 0.5em;
        fill: rgb(104 199 66);
      }
    }

    & .order_block {
      display: grid;
      grid-template-rows: auto 1fr;
      align-items: start;
      width: auto;
      padding: 1rem;
      border-radius: 10px;
      box-shadow: rgb(100 100 111 / 20%) 0 7px 29px 0;

      & h2 {
        margin-bottom: 1em;
        padding: 0.2em 1em;
        color: var(--color-white);
        font-size: 1.5em;
        text-align: center;
        background: var(--color-main-dark);
        border-radius: 10px;
      }

      & .order_list {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 1em;

        & .product_min {
          justify-content: start;
          margin-bottom: 0;

          & a {
            color: var(--color-black);
          }

          & div {
            display: grid;
            align-content: space-evenly;
            margin-left: 0.5em;
          }
        }
      }
    }

    & .form {
      &.user_register {
        align-content: center;
/*        padding: 0 4em;*/

        & .img {
          width: 100px;
          height: 100px;
          overflow: hidden;
          background: var(--color-white);
          border-radius: 50%;
          box-shadow: rgb(0 0 0 / 5%) 0 0 0 1px, #d1d5db 0 0 0 1px inset;

          & img {
            width: 100%;
            height: 100%;
            object-fit: cover;
          }
        }
      }

      & h2 {
        & svg {
          height: 0.7em;
          fill: rgb(255 115 115);
        }
        padding: 1em;
      }

      & p {
        margin-top: 2em;
        margin-bottom: 2em;
      }

      & form {
        & button {
          width: 100%;
          margin: 0;
        }
      }
    }
  }
}

#canUsePoints {
  display: none;
}

.cart__use_points_text {
  font-size: 0.95em;
}

.cart__use_points {
  display: flex;
  flex-direction: column;
  margin: 20px 0;
}

.use_points__label {
  cursor: pointer;
}

.checkout_check__menu {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  text-align: center;
  height: 60px;
  list-style: none;
  background: var(--color-main-light);
  border: 1px solid var(--color-black);
  border-radius: 8px;
}

.checkout_check__menu_item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 10px;
  padding-right: 10px;
  width: 100%;
  height: 100%;
  cursor: pointer;

  &.active {
    color: var(--color-white);
  }
}

.checkout_check__menu_span {
  position: absolute;
  z-index: -1;
  width: 25%;
  height: 100%;
  background: var(--color-main-dark);
  border-radius: 6px;
  transition: all 100ms;
}

.checkout_check__address_container {
  display: flex;
  flex-direction: column;
  margin-top: 20px;
  padding: 1em;
  border: 1px solid var(--color-black);
  border-radius: 8px;
}

.checkout_check__address {
  display: grid;
  grid-template: 1fr 1fr auto / 1fr 1fr;
  grid-template-areas:
    '. .'
    'address address'
    'textarea textarea';
  gap: 20px;

  /* stylelint-disable-next-line no-descending-specificity */
  & label {
    display: grid;
    gap: 5px;
    width: 100%;
  }

  /* stylelint-disable-next-line no-descending-specificity */
  & label:nth-child(3) {
    grid-area: address;
  }

  /* stylelint-disable-next-line no-descending-specificity */
  & label:nth-child(4) {
    grid-area: textarea;
  }

  /* stylelint-disable-next-line no-descending-specificity */
  & input,
  & select,
  & textarea {
    height: 50px;
    font-size: 1em;
    border: 1px solid var(--color-black);
    border-radius: 8px;
  }

  & select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px 12px;
    cursor: pointer;
    appearance: none;
  }

  & textarea {
    height: 150px;
    padding: 12px;
  }
}

.checkout_payment__choice {
  border: 1px solid var(--color-black);
  border-radius: 8px;
}

.accordion__title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
  font-size: 1em;
  white-space: nowrap;
  cursor: pointer;

  /* stylelint-disable-next-line no-descending-specificity */
  & img {
    height: 30px;
  }
}

.chevrone_down {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 100ms;
}

.chevrone_down::after {
  width: 12px;
  height: 2px;
  background: var(--color-black);
  transform: translateX(-3px) rotate(-45deg);
  transition: all 200ms;
  content: '';
}

.chevrone_down::before {
  width: 12px;
  height: 2px;
  background: var(--color-black);
  transform: translateX(2px) rotate(45deg);
  transition: all 200ms;
  content: '';
}

.accordion__item {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 720px;
  margin-bottom: -2px;
  padding: 10px;
  border-bottom: 1px solid var(--color-black);

  &:last-child {
    border-bottom: none;
  }

  &.active {
    & .accordion__body {
      max-height: 54px;
      padding-top: 10px;
    }
  }
}

/* stylelint-disable-next-line no-descending-specificity */
.accordion__body {
  display: flex;
  max-height: 0;
  overflow: hidden;
  transition: all 300ms;
  will-change: max-height;
}

.accordion__item.active .chevrone_down::after {
  transform: translateX(-2px) rotate(45deg);
}

.accordion__item.active .chevrone_down::before {
  transform: translateX(2px) rotate(-45deg);
}

.accordion__item.active .faq__body {
  display: flex;
  margin-top: 20px;
}

#checkoutUserRegister {
  display: none;

  /* stylelint-disable-next-line no-descending-specificity */
  & > p {
    margin-bottom: 10px;
  }

  &.active {
    display: block;
  }
}

#forgerPasswordText {
  margin-top: 10px;
  margin-bottom: 0;
}

[name='forgetPassword'] {
  display: none;

  &.active {
    display: block;
  }
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  outline: 0;
}

html * {
  font-family: 'Open Sans', sans-serif;
}

body {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
}

main {
  width: 100%;
  height: auto;
}

a {
  color: var(--color-black);
}

button {
  background: none;
  border: none;
  cursor: pointer;
}

.wrapper {
  position: relative;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
}

.icon {
  fill: var(--color-white);
}

:root {
  --color-white: white;
  --color-black: black;
  --color-grey: #d7d7d7;
  --color-pink: #f8c3d2;
  --color-main-dark: #634d7f;
  --color-main-medium: #fceaff;
  --color-main-light: #fdf7ff;
  --color-icon: white;
  --color-bg-new: #0078ae;
  --color-bg-sale: #f9f871;
  --color-tag: #d7d7d7;
  --color-line: rgb(0 0 0 / 20.5%);
  --color-rating: #ffc364;
  --color-bg-text-block: #f6f6f6;
  --color-confirm: rgb(49 172 33);
  --color-error: rgb(236 110 110);
  --bg-header: var(--color-main-dark);
  --bg-footer: var(--color-main-dark);
}


#subheader {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  background: var(--color-main-medium);
  box-shadow: inset 0 0 0 1px hsl(0deg 0% 100% / 20%), 0 0 0 1px rgb(0 0 0 / 90%);
}

.subheader_menu {
  z-index: 3;
  width: 100%;
  list-style-type: none;
}

.subheader_menu__item {
  display: flex;
  align-items: center;
  height: 50px;
  padding: 0 1em;
  color: var(--color-black);
  text-decoration: none;
  box-shadow: 0px 1px 0px black;
}

[data-edit='baseCatalog'] {
  display: flex;
  align-items: center;
  padding: 0 1em;
  color: var(--color-white);
  cursor: pointer;
}

[data-edit='baseCatalog'] .icon {
  width: 23px;
  margin-right: 1em;
}

.navigation_menu__container {
  position: relative;
  background-color: var(--color-main-dark);
  box-shadow: 0px 1px 0px black;
}

.navigation_menu__container::after {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 2px;
  content: '';
}

.open_navigation {
  display: flex;
  gap: 0.5em;
  font-size: 1em;
}

.burger_icon {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 23px;
  height: 2px;
  background: var(--color-white);
}

.burger_icon::before,
.burger_icon::after {
  position: absolute;
  width: 23px;
  height: 2px;
  background: var(--color-white);
  transition: all 200ms;
  content: '';
}

.burger_icon::before {
  top: -6px;
}

.burger_icon::after {
  bottom: -6px;
}

#navigation, #navigation2 {
  position: absolute;
  top: calc(100% + 1px);
  left: 0;
  z-index: 3;
  display: flex;
  height: auto;
  padding: 1em;
  color: var(--color-black);
  background: var(--color-white);
  box-shadow: rgb(255 255 255 / 20%) 0 0 0 1px inset, rgb(0 0 0 / 90%) 0 0 0 1px;
  transition: all 100ms ease-in-out;

  &::before {
    position: absolute;
    top: -50px;
    right: 0;
    width: 100%;
    height: 50px;
    cursor: pointer;
    content: '';
  }

  &:hover {
    transform: translateY(0);
  }
}

.navigation_menu__container:hover .burger_icon {
  height: 0;
}

.navigation_menu__container:hover .burger_icon::before {
  transform: translateY(5px) rotate(45deg);
}

.navigation_menu__container:hover .burger_icon::after {
  transform: translateY(-5px) rotate(-45deg);
}

#header2 {
  position: sticky;
  top: 0;
  z-index: 9;
  align-items: center;
  padding: 0 1em;
  color: var(--color-white);
  column-gap: 1em;
  background: var(--color-main-dark);
  -ms-grid-columns: auto 1em 1fr 1em auto;
}

.logo-big {
  display: flex;
  width: 100%;
  max-width: 200px;
  height: 60px;
}

.logo-big .icon {
  width: 100%;
  max-width: 200px;
  height: 60px;
}

.user_actions {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  justify-content: center;
  height: 100%;
  -ms-grid-columns: 1fr 1fr 1fr;
}

.user_actions2 {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  align-items: center;
  justify-content: center;
  height: 100%;
  -ms-grid-columns: 1fr 1fr 1fr 1fr;
}

#headerSearchForm {
  & input {
    width: 100%;
    height: 30px;
    font-size: 1em;
    border: none;
    border-radius: 8px;
  }
}

[data-label='search'] {
  display: flex;
  align-items: center;
  width: 100%;
  height: 35px;
  padding: 0 0.5em;
  background: var(--color-white);
  border-radius: 8px;
}

[data-label='search'] .icon {
  width: 1em;
  height: 1em;
  fill: var(--color-black);
}

.user_actions__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 50px;
  color: var(--color-white);
  font-size: 0.9em;
  text-decoration: none;
  cursor: pointer;
}

.user_actions__item .icon {
  width: 23px;
  height: 23px;
  pointer-events: none;
}

#iconWishlist {
  position: relative;
}

#iconWishlist .icon {
  width: 27px;
}

#iconWishlist.active .icon {
  fill: var(--color-main-light);
}

.icon_wishlist::before {
  position: absolute;
  top: 7px;
  color: var(--color-black);
  font-weight: 700;
  font-size: 0.9em;
  content: attr(data-wishlist-count);
}

#iconCart {
  position: relative;
}

.icon_cart::before {
  position: absolute;
  top: 10px;
  color: var(--color-black);
  font-weight: 700;
  font-size: 0.9em;
  content: attr(data-shopping-cart-count);
}

.icon_cart::after {
  position: absolute;
  top: 100%;
  width: 100%;
  height: 10px;
  content: '';
}

.cart_header1 {
  position: absolute;
  top: 100%;
  right: -1em;
  z-index: 3;
  display: grid;
  width: 370px;
  height: auto;
  background: var(--color-main-dark);
  border: 5px solid var(--color-main-medium);
  border-radius: 10px 0 0 10px;
  transform: translateY(-10px);
  visibility: hidden;
  opacity: 0;
  filter: drop-shadow(-5px 4px 4px rgb(0 0 0 / 25%));
  transition: opacity 200ms ease-in-out, transform 200ms ease-in-out;
}

.cart_header__container:hover .cart_header1 {
  transform: translateY(0);
  visibility: visible;
  opacity: 1;
}

#userCabinet {
  display: flex;
  justify-content: center;
}

#footer {
  display: grid;
  width: 100%;
  height: 50px;
  height: auto;
  margin-top: auto;
  padding: 2em 2em 1em;
  color: var(--color-white);
  background: var(--color-main-dark);
}

.footer__title {
  margin-bottom: 1.5em;
  font-weight: normal;
  font-size: 1.2rem;
}

.footer_body {
  grid-template-areas: 'social links app';
  grid-template-columns: repeat(3, 1fr);
  gap: 1em;
  justify-content: space-around;
  width: 100%;
  padding-bottom: 80px;
}

.footer_social {
  display: grid;
  grid-area: social;
  grid-template-rows: auto 1fr;
}

.footer_social__link {
  display: flex;
  align-items: center;
  width: auto;
  height: 25px;
  margin-bottom: 0.5em;
  color: var(--color-white);
  font-weight: bold;
  font-size: 1em;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-decoration: none;
  background-repeat: no-repeat;
  background-size: 25px;

  & .icon {
    width: 25px;
    height: 25px;
    margin-right: 5px;
  }
}

/* .footer_social__vk {
  background-image: url('../../../../Public/img/svg/vk_logo.svg');
}

.footer_social__telegram {
  background-image: url('../../../../Public/img/svg/telegram_logo.svg');
} */

.footer_links {
  display: grid;
  grid-area: links;
  grid-template-rows: auto 1fr;
  align-items: start;
}

.footer_links__container {
  display: grid;
  gap: 0.5em;
}

.footer_links__link {
  color: var(--color-white);
}

.footer_app {
  grid-area: app;
  width: auto;
}

.footer_app__container {
  display: flex;
  gap: 1em;
  width: auto;
  height: auto;
}

.footer_app__link {
  /* display: grid; */
  display: flex;
  align-items: center;
  width: 50%;
  min-width: 160px;
  height: auto;
  padding: 1em;
  color: var(--color-black);
  font-size: 0.8em;
  text-decoration: none;
  background-color: var(--color-main-light);
  background-repeat: no-repeat;
  background-position: 1em;
  background-size: 30px;
  border-radius: 8px;
  box-shadow: rgb(255 255 255 / 20%) 0 0 0 1px inset, rgb(0 0 0 / 90%) 0 0 0 1px;

  & strong {
    font-size: 1.1em;
  }

  & span {
    display: grid;
  }

  & .icon {
    width: 30px;
    height: 30px;
    margin-right: 8px;
    fill: var(--color-black);
  }
}

/* .footer_app__apple {
  background-image: url('../../../../Public/img/svg/apple_logo.svg');
}

.footer_app__android {
  background-image: url('../../../../Public/img/svg/android_logo.svg');
} */

.footer_bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding-top: 1em;
  font-size: 0.8em;
  border-top: var(--color-main-light) solid 1px;
}

.footer_bottom__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1em;
}

.footer_bottom__link {
  color: var(--color-white);
}

.footer__social {
  grid-area: footer__social;
}

#popup {
  display: none;

  &.active {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    display: flex;
    width: 100%;
    height: 100%;
    background: hsl(0deg 0% 0% / 31%);
  }
}

[name='closePopup'] {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 17px;
  height: 17px;
  cursor: pointer;

  &::before,
  &::after {
    position: absolute;
    top: 50%;
    left: 50%;
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--color-black);
    opacity: 0.7;
    content: '';
  }

  &::before {
    transform: translate(-50%, -50%) rotate(45deg);
  }

  &::after {
    transform: translate(-50%, -50%) rotate(135deg);
  }

  &:hover {
    &::before,
    &::after {
      background-color: var(--color-main-dark);
    }

    &::before {
      transform: translate(-50%, -50%) rotate(45deg) scale(1.25);
    }

    &::after {
      transform: translate(-50%, -50%) rotate(135deg) scale(1.25);
    }
  }
}

/* #test {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  display: flex;
  width: 100%;
  height: 100%;
  background: hsl(0deg 0% 0% / 31%);
} */

.loader {
  border: 8px solid #f3f3f3; /* Light grey */
  border-top: 8px solid var(--color-main-dark); /* Blue */
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: spin 2s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

[data-label='span'] {
  position: relative;
  display: flex;
  align-items: center;
  height: 2.5em;
  color: var(--color-black);
  background: var(--color-white);
  border-radius: 8px;
  box-shadow: rgb(67 71 85 / 27%) 0 0 0.25em, rgb(90 125 188 / 5%) 0 0.25em 1em;

  & .icon {
    width: 100%;
    max-width: 31px;
    height: 100%;
    padding: 0 0.5em;
    border-radius: 0 8px 8px 0;
    box-shadow: rgb(67 71 85 / 27%) 0 0 0.25em, rgb(90 125 188 / 5%) 0 0.25em 1em;
    fill: var(--color-black);
  }

  & [name='showPassword'] {
    height: 15px;
    margin-right: 10px;

    & svg {
      height: 100%;
      pointer-events: none;
    }

    & line {
      display: none;
    }

    &.show {
      & line {
        display: block;
      }
    }
  }

  & span {
    position: absolute;
    top: 50%;
    padding: 0.2em 0.5em 0;
    font-size: 1em;
    background: inherit;
    border-radius: 8px 8px 0 0;
    transform: translateY(-55%);
    transition: all 80ms ease-out;
    pointer-events: none;

    &.active {
      top: 0;
      font-size: 0.8em;
    }

    & em {
      color: var(--color-error);
    }
  }

  & input {
    width: 100%;
    height: 100%;
    padding-left: 8px;
    font-size: 1em;
    background: var(--color-white);
    border: none;
    border-radius: 8px 0 0 8px;

    &:-webkit-autofill,
    &:-webkit-autofill:hover,
    &:-webkit-autofill:focus {
      box-shadow: 0 0 0 1000px var(--color-white) inset;
      transition: background-color 5000s ease-in-out 0s;
    }

    &:focus ~ span,
    &:valid ~ span,
    &:not(:placeholder-shown) ~ span {
      top: 0;
      font-size: 0.8em;
    }

    &:valid ~ .icon:not(.no-visual) {
      background: var(--color-confirm);
      fill: var(--color-white);
    }

    &:valid ~ span em {
      color: var(--color-confirm);
    }
  }

  &.invalid {
    /* stylelint-disable-next-line no-descending-specificity */
    & input {
      border: 1px solid var(--color-error);

      &:valid ~ .icon:not(.no-visual) {
        background: var(--color-error);
      }

      &:valid ~ span em {
        color: var(--color-error);
      }
    }
  }
}

#signInForm {
  position: relative;
  display: grid;
  grid-template: repeat(5, 1fr) / 1fr auto;
  grid-template-areas:
    'text text'
    '. lock'
    '. lock'
    'button button'
    'link link';
  gap: 14px 10px;
  transform: translateX(-100%);
  transition: all 100ms ease-in-out;

  &.active {
    transform: translateX(0);
  }

  &.forget {
    transform: translateY(-100%);
  }

  & p {
    grid-area: text;
  }

  & .error {
    grid-area: error;
    text-align: center;
  }

  & button {
    grid-area: button;
  }

  & [name='forget'] {
    grid-area: link;
    align-self: center;
    text-align: center;
    cursor: pointer;

    &:hover {
      text-decoration: underline;
    }
  }
}

.sign_in_lock {
  display: flex;
  grid-area: lock;
  align-items: center;
  padding: 1em;
  background: var(--color-main-medium);
  border-radius: 8px;
  box-shadow: rgb(67 71 85 / 27%) 0 0 0.25em, rgb(90 125 188 / 5%) 0 0.25em 1em;

  & svg {
    width: 1em;
  }

  &.active {
    background: var(--color-confirm);
  }
}

#registerForm {
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  gap: 14px;
  align-items: center;
  transform: translateX(0);
  transition: all 100ms ease-in-out;

  &.active {
    transform: translateX(-100%);
  }
}

#forgetForm {
  display: flex;
  flex-direction: column;
  gap: 14px;
  transform: translate(-200%, 100%);
  transition: all 100ms ease-in-out;

  &.active {
    transform: translate(-200%, 0);
  }

  &.register {
    transform: translate(-300%, 0);
  }
}

#forgetError {
  display: none;
  text-align: center;

  &.active {
    display: block;
  }
}

#registerAndLogin {
  display: grid;
  width: 370px;
  margin: auto;
}

#registerAndLoginContainer {
  position: relative;
  display: flex;
  height: 100%;
  overflow: hidden;
  background: var(--color-main-light);
  border-radius: 0 0 1em 1em;
}

.login__header {
  --transform: 0;

  position: relative;
  z-index: 3;
  display: flex;
  height: 50px;
  background: var(--color-main-medium);
  border-radius: 1em 1em 0 0;
  transition: all 100ms ease-in-out;

  &::before {
    position: absolute;
    top: 0;
    width: 50%;
    height: 100%;
    border-radius: 1em 1em 0 0;
    transform: translateX(var(--transform));
    transition: all 100ms ease-in-out;
    content: '';
  }
}

.login__menu {
  position: relative;
  width: 50%;
  font-weight: 600;
  font-size: 0.9em;
  text-align: center;
  cursor: pointer;

  &[name='signIn'] {
    border-radius: 1em 0 0;
  }

  &[name='register'] {
    border-radius: 0 1em;
  }
}

.login__item {
  flex-shrink: 0;
  width: 100%;
  height: 100%;
  padding: 2em;
  background: var(--color-main-light);
  border-radius: 0 0 1em 1em;
}

.login__button {
  width: 100%;
  height: 2.5em;
  color: var(--color-white);
  font-size: 1em;
  text-align: center;
  background: var(--color-main-dark);
  border: none;
  border-radius: 8px;

  &:disabled {
    cursor: not-allowed;
    opacity: 0.5;
  }
}

.spinner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: inherit;
}

.spinner::after {
  width: 48px;
  height: 48px;
  border: 5px solid var(--color-grey);
  border-bottom-color: var(--color-red);
  border-radius: 50%;
  animation: rotation 1s linear infinite;
  content: '';
}

@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}
