/*NOTE: This file is intended for programmers. Aspro technical support is not advised to work with him.*/

/* Examples (uncomment to use):*/

/* Expand site width */
/* body .wrapper { max-width: 1400px !important;  } */

/* Set site background image */
/* body {  background: url(image_source) top no-repeat; }

/* Hide compare button */
/* a.compare_item { display: none !important;  }*/

.reels__wrapper {
  display: block;
  max-width: 100%;
  width: 100%;
  overflow-x: scroll;
  padding-bottom: 2vw;
}

.reels__inner__scroll {
  display: flex;
  width: max-content;
  gap: 20px;
}

.reels__item {
  width: 300px;
  display: flex;
  height: 410px;
  border-radius: 10px;
  overflow: hidden;
  align-items: flex-start;
}

.reels__item:nth-child(2n) {
  height: 490px;
}

.reels__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* DETAIL CART */

.detail__cart__control__wrapper {
  display: flex;
  width: 100%;
}

.detail__cart__control {
  display: flex;
  flex-direction: column !important;
  align-items: flex-start;
  gap: 18px;
  width: 100%;
}

.detail__cart__control__btns {
  display: flex;
  align-items: center;
  gap: 10px;
}

h1.font_24.switcher-title.js-popup-title.mb.mb--0 {
  
  font-weight: 600;
}

.detail__cart__control .ocb-wrapper.hide-600 {
  display: flex !important;
}

.detail__cart__control .item-action--compare {
  display: none;
}

.detail__cart__control__btns button {
  text-transform: uppercase;
  border-radius: 0;
}

.detail__cart__control .item-action--favorite button {
  width: auto;
  height: 52px;
  border: 1px solid #ccc;
  border-radius: 0;
  transition: all .25s ease;
  padding: 0 50px 0 20px;
}

svg, svg path, a, button {
  transition: all .5s ease;
}

.detail__cart__wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.detail__cart__wrapper * {
  margin: 0;
  flex-direction: row;
}

.inner__body__item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding-bottom: 20px;
    width: 100%;
}

.stylist {
    display: flex;
    align-items: center;
    gap: 10px;
}

.stylist img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

h1.detail__cart__title {
  
  font-weight: 600;
  font-size: 24px;
}

.type {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.prices span {
  font-size: 20px;
}

.detail__cart__control__btns button {
  border-radius: 0;
  border: none;
  font-weight: 600;
  height: 52px;
}

.detail__cart__container {
  display: flex;
  gap: 20px;
  width: 100%;
}

.detail__gallery__wrapper {
  display: flex;
  width: 100%;
  position: relative;
  margin: 0;
}

.detail__gallery__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.detail__cart {
  display: flex;
  width: 34%;
}

.detail__cart .catalog-detail__main-parts {
  width: 100%;
}

.detail-block.ordered-block.tabs-block {
  display: none;
}

.accordeon__body {
  display: flex;
  height: 0px;
  transition: all .5s ease;
  overflow: hidden;
}

.accordeon__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
  cursor: pointer;
}

span.accordeon__header__name {
  font-weight: 600;
  max-width: 85%;
  color: var(--white_text_black);
}

.accordeon {
  display: flex;
  flex-direction: column;
  width: 100%;
  border-top: 1px solid #b1b1b1;
}

.accordeon:nth-child(3) {
  border-bottom: 1px solid #b1b1b1;
}

p.accodeon__header__icon {
    display: flex;
    width: 30px;
    height: 30px;
    position: relative;
    justify-content: center;
    align-items: center;
    transition: all .5s ease;
    opacity: .5;
    margin: 0;
}

span.icon__line {
    width: 30px;
    height: 1px;
    background: #555;
    position: absolute;
    transition: all .5s ease;
}

span.icon__line:nth-child(2) {
    transform: rotate(90deg);
}

.accordeon.active span.icon__line:nth-child(2) {
    transform: rotate(0);
}

.accordeon.active p.accodeon__header__icon {
    opacity: 1;
}

.accordeon.active {
    border-top-color: #555;
}

body .btn.btn-default.in_cart {
  border-radius: 0;
  max-width: 200px;
}

.detail__gallery__nav {
  display: none;
}

/* HEADER ADDRESS */

.address {
  display: flex;
  align-items: center;
  gap: calc(var(--tw-spacing) * 4);
  /* border-left: 1px solid; */
  padding-left: calc(var(--tw-spacing) * 4);
  justify-content: center;
  margin: 20px 0;
}

.address__item {
  display: flex;
  /* flex-direction: column; */
  font-size: clamp(0.7rem, 0.7vw, 0.75rem) !important;
  line-height: 1;
  text-transform: uppercase;
  gap: 10px;
}

.address__item:nth-child(1) {
  border-right: 1px solid;
  padding-right: calc(var(--tw-spacing) * 4) !important;
}

.detail__gallery__container {
    display: flex;
    flex-direction: column;
    width: calc(66% - 20px);
    gap: 20px;
}

h3.type__title {
    margin: 0;
    font-size: 1.25em;
    font-weight: 400;
}

h4.type__title {
  margin: 0;
  font-size: 1.1em;
}

p.stylist__name {
    margin: 0;
}

table {
    width: 100%;
    color: var(--white_text_black);
    border: 1px solid #f1f1f1;
}

.accordeon__inner__body {
    width: 100%;
}

.item__text {
    width: 100%;
}

td {
    padding: 10px;
}

thead tr td {
    font-weight: 500;
    color: #000;
}

tr td:not(:first-child) {
    text-align: center;
    border-left: 1px solid #f1f1f1;
}

tbody tr:nth-child(2n) {
    background: #f1f1f1;
}

tr {
    border-bottom: 1px solid #f1f1f1;
}

.detail__cart__control .item-action--favorite button .svg {
  left: 150px;
}

.detail__cart__control .item-action--favorite button::before {
  content: 'В избранное';
}

.sku-props--detail .sku-props__value {
  border-radius: 0;
}

button.btn.btn-default.btn-wide.btn-transparent-bg.btn-lg.btn-ocb.animate-load {
    border: 1px solid #ccc;
    transition: all .5s ease;
    height: 100%;
}

.detail__cart__control .item-action--favorite button:hover {
    border-color: #000;
}

button.btn.btn-default.btn-wide.btn-transparent-bg.btn-lg.btn-ocb.animate-load:hover {
    border-color: #000;
    background: transparent;
    color: #000;
}

.catalog-detail__main-part {
  position: sticky;
  top: 0;
}

.support__btns {
  display: flex;
  align-items: center;
  gap: 10px;
}

a.support__btn {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 10px;
  height: 52px;
  padding: 0 20px;
  border: 1px solid #ccc;
  font-size: 1em;
}

a.support__btn:hover {
  border-color: #000;
}

a.support__btn:hover > svg path {
  fill: #000;
}

@media only screen and (max-width: 1440px) {
  .address__item {
    flex-direction: column;
    gap: 2px;
  }
}
@media only screen and (max-width: 1024px) {
  .reels__item {
    width: 240px;
    height: 320px;
  }

  .reels__item:nth-child(2n) {
    height: 360px;
  }

  .reels__wrapper {
    padding-bottom: 40px;
  }

  .header__left__menu {
    gap: 10px 0 !important;
    flex-wrap: wrap;
    max-width: 500px;
  }

  .address__item {
    flex-direction: row;
  }

  .address {
    padding-left: 0;
  }

  .tw\:flex.tw\:items-center.tw\:gap-4.header__left__menu {
    gap: 10px 0 !important;
  }

  .address__item {
    gap: 10px;
  }
}
@media only screen and (max-width: 768px) {
  .detail__gallery__nav {
    display: flex;
    justify-content: center;
    z-index: 9;
  }
  .detail__gallery__list {
    display: flex;
  }
  
  .detail__gallery__wrapper {
      flex-direction: column;
      align-items: center;
      gap: 20px;
  }

  .address {
    display: none;
  }

  .navbar_bb__menu .address {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      gap: 20px;
      margin-top: 20px;
  }

  .address__item:nth-child(1) {
      border: none;
      padding: 0;
  }

  .address__item {
      flex-direction: column;
      gap: 5px;
  }

  .detail__gallery__container {
    width: 100%;
    margin-top: 20px;
  }
}
@media only screen and (max-width: 480px) {
  .reels__item {
    width: 180px;
    height: 245px;
  }
  
  .reels__item:nth-child(2n) {
    height: 285px;
  }
  
  .reels__wrapper {
    padding-bottom: 20px;
  }
  
  .catalog_item_bb:nth-child(5n+5), .catalog_item_bb:nth-child(18) {
    grid-row: auto /span 2;
    grid-column: auto /span 2;
  }
  
  .catalog_item_bb:nth-child(5n+5) .tw\:top-0.tw\:left-0.item.tw\:w-full.tw\:h-full.tw\:bg-cover.tw\:bg-center.tw\:bg-no-repeat.tw\:right-0.tw\:absolute.tw\:bottom-0.lazyloaded, 
  .catalog_item_bb:nth-child(18) .tw\:top-0.tw\:left-0.item.tw\:w-full.tw\:h-full.tw\:bg-cover.tw\:bg-center.tw\:bg-no-repeat.tw\:right-0.tw\:absolute.tw\:bottom-0.lazyloaded {
    max-height: 550px !important;
    height: 100% !important;
  }
  
  .catalog_item_bb:nth-child(5n+5) .catalog_item_bb__imgwrapper, .catalog_item_bb:nth-child(18) .catalog_item_bb__imgwrapper {
    padding-bottom: calc(45% + 15px) !important;
  }
  
  .detail__gallery__wrapper {
    width: 100%;
    gap: 20px;
  }
  
  .detail__cart__container {
    flex-direction: column;
  }
  
  .detail__cart {
    width: 100%;
  }

  h3.type__title {
    font-size: 1em;
  }
  
  p.accodeon__header__icon {
      width: 24px;
      height: 24px;
  }
  
  span.icon__line {
      width: 24px;
  }
  
  .accordeon__header {
      padding: 10px 0;
  }
      
  .detail__cart__control__btns {
      flex-direction: column;
      width: 100%;
  }
  
  .catalog-detail__cart {
      width: 100%;
  }
  
  .catalog-detail__info-tc {
      width: 100%;
  }
  
  .support__btns {
      flex-direction: column;
      width: 100%;
  }
  
  a.support__btn {
      /* font-size: .8em; */
      padding: 0 10px;
      width: 100%;
      justify-content: center;
      height: 45px;
  }

  @keyframes transformAnimate {
    0% {
      padding-right: 0px;
    }
    50% {
      padding-right: 120px;
    }
    100% {
      padding-right: 0px;
    }
  }

  .detail__gallery__list {
    transition: all .5s ease;
    animation: transformAnimate 2s ease;
    animation-delay: 1.5s;
  }
}

