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

.item-views.collection.wd_pict .image.pattern > .wrap {
  height: 300px;
}
.item-views.collection:not(.normal) .image.pattern:after {
  content: none;
}

.item-views.collection.grey_pict .lookbooki .image.pattern > .wrap {
  width: auto;
  max-width: 400px;
}
.item-views.collection:not(.normal) .lookbooki .image.pattern > .wrap {
  height: 300px;
}
.item-views.collection.grey_pict .lookbooki .image.pattern > .wrap {
  max-width: 400px;
}
.item-views.collection .lookbooki .image.pattern > .wrap:after {
  content: unset;
}
.item-views.collection:not(.normal) .lookbooki .image.pattern > .wrap:before {
  content: unset;
}
.lookbooki {
  border: unset;
}
.lookbooki .wrap {
  height: 300px;
  width: 400px;
}
/*Для мобильного поиска, выдвигающегося слева*/
@media (max-width: 600px) {
  .jqmOverlay {
    display: none !important;
  }
  .inline-search-block.fixed.big {
    background: #fff !important;
    background: var(--black_bg_black) !important;
    left: -100%;
    z-index: 3000;
    top: 0;
    transition-duration: 0.5s;
    margin-top: 4.1rem;
  }
  .inline-search-block.fixed.big.show {
    left: 0%;
    margin-top: 4.1rem;
  }
  .top-block-wrapper {
    transition: all 0.5s ease;
  }
  .mgt5 {
    margin-top: 5rem;
  }
}

.svg.inline.svg-inline-search {
  padding: 0 16px 0 0;
}
.product-container .product-info {
  padding: 5px 39px 39px;
}
.product-container .info_item .adaptive-block {
  max-width: 100%;
}
.catalog_detail.element_1 .counter_block {
  border-color: #e54938;
}
.left_block
  .inner-wrapper-sticky
  .js-prices-in-side
  .buy_block
  .offer_buy_block
  .counter_wrapp
  > div
  .btn-lg {
  padding: 15px 0 15px;
}
.left_block
  .inner-wrapper-sticky
  .js-prices-in-side
  .buy_block
  .offer_buy_block
  .counter_wrapp
  > div
  .counter_block {
  height: 50px;
}
.left_block
  .inner-wrapper-sticky
  .js-prices-in-side
  .buy_block
  .offer_buy_block
  .counter_wrapp
  > div
  .counter_block
  input[type="text"] {
  height: 48px;
}
.top_slider_wrapp .main-slider .main-slider__wrapper {
  height: 32vmax;
}
@media (max-width: 992px) {
  .top_slider_wrapp .main-slider .main-slider__wrapper {
    height: 65vmin;
  }
}
.top_slider_wrapp .main-slider .main-slider__wrapper .main-slider__item {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
}
@media (max-width: 992px) {
  .top_slider_wrapp .main-slider .main-slider__wrapper .main-slider__item {
    background-image: none !important;
  }
  .top_slider_wrapp .main-slider .main-slider__wrapper .main-slider__item div {
    height: 100%;
    padding: 0;
  }
  .top_slider_wrapp
    .main-slider
    .main-slider__wrapper
    .main-slider__item
    div
    .wrapper_inner
    table {
    width: 100%;
    height: 100%;
  }
  .top_slider_wrapp
    .main-slider
    .main-slider__wrapper
    .main-slider__item
    div
    .wrapper_inner
    table
    tbody
    tr {
    background-repeat: no-repeat;
    background-size: cover;
  }
}
#headerfixed .basket-link {
  height: 62px;
}
@media (max-width: 768px) {
  .front_collection_custom .items .item.lookbooki .image.pattern .bg-fon-img {
    background-size: contain;
    background-repeat: no-repeat;
  }
}
@media (max-width: 556px) {
  .item-views.collection:not(.normal) .lookbooki .image.pattern > .wrap {
    height: 250px;
  }
}
#mobileheader .inline-search-show .svg-inline-search {
  top: 1px;
}
.search-button-div .svg.inline.svg-inline-search {
  margin: 0;
}
.inline-search-block.with-close.fixed.big .search .close-block {
  top: 0;
}
@media (max-width: 556px) {
  .adaptive-block
    .js-prices-in-item
    .buy_block
    .offer_buy_block
    .counter_wrapp.list {
    display: flex;
    flex-direction: column;
  }
  .buy_block .buys_wrapp .counter_wrapp.list > div {
    width: 100%;
  }
}
.svg.inline.svg-inline-search {
  margin: 9px 0 0;
}
.product-detail-gallery
  .product-detail-gallery__item.product-detail-gallery__item--big
  .product-detail-gallery__picture {
  width: 100% !important;
}
body.simple_basket_mode .logo-centered .logo-block {
  position: relative;
}
#basket-root .basket-items-list .basket-item-block-info {
  padding: 0;
}
.flexbox--justify-end {
  display: -webkit-flex;
  justify-content: flex-end;
}
@media (min-width: 992px) {
  .top_slider_wrapp .main-slider .main-slider__wrapper .main-slider__item div {
    height: 100%;
  }
}
@media (min-width: 992px) {
  .top_slider_wrapp
    .main-slider
    .main-slider__wrapper
    .main-slider__item
    div
    a {
    display: block;
    height: 100%;
  }
}

#cookie_notification {
  display: none;
  justify-content: space-between;
  align-items: flex-end;
  position: fixed;
  bottom: 15px;
  left: 50%;
  width: 100%;
  max-width: 100%;
  transform: translateX(-50%);
  padding: 25px;
  background-color: white;
  border-radius: 4px;
  box-shadow: 2px 3px 10px rgba(0, 0, 0, 0.4);
  z-index: 3;
}

.cookie_text img {
  max-width: 35px;
  max-height: 35px;
}
.cookie_text {
  display: flex;
  align-items: center;
}

#cookie_notification p {
  margin: 0;
  font-size: 0.8rem;
  text-align: left;
  margin-left: 10px;
}
#cookie_notification .btn {
  min-width: 100px;
}

@media (min-width: 576px) {
  #cookie_notification.showc {
    display: flex;
  }
  .cookie_accept {
    margin: 0 0 0 25px;
  }
}

@media (max-width: 575px) {
  .cookie_text img {
    max-width: unset;
    max-height: unset;
  }
  #cookie_notification p {
    font-size: 0.7rem;
  }
  #cookie_notification.showc {
    display: flex;
    flex-wrap: wrap;
    text-align: left;
  }
  .cookie_accept {
    margin: 10px 0 0 0;
  }
}

.sticker_novinka {
  width: 44px !important;
  height: 44px;
  font-size: 0;
  background: url(/bitrix/templates/aspro_max/images/s_new2.svg);
  background-color: transparent !important;
}
.sticker_khit {
  width: 44px !important;
  height: 44px;
  font-size: 0;
  background: url(/bitrix/templates/aspro_max/images/s_hit.svg), no-repeat;
  background-color: transparent !important;
}
.sticker_rasprodazha {
  width: 44px !important;
  height: 44px;
  font-size: 0;
  background: url(/bitrix/templates/aspro_max/images/s_rasprodaja2.svg),
    no-repeat;
  background-color: transparent !important;
}
.catalog_item .stickers {
  display: flex;
  justify-content: flex-end;
  right: -2px;
  padding-right: 0px;
}
.product-info-headnote .align-items-center.justify-content-between {
  -webkit-box-pack: justify !important;
  -webkit-justify-content: flex-end !important;
  -moz-box-pack: justify !important;
  -ms-flex-pack: justify !important;
  justify-content: flex-end !important;
}
.product-info-headnote__stickers .stickers div {
  display: flex;
  -webkit-box-align: center !important;
  -webkit-align-items: center !important;
  -moz-box-align: center !important;
  -ms-flex-align: center !important;
  align-items: center !important;
}

/* dropdown menu changes */

.dropdown-menu {
  width: calc(100vw - 160px);
}

@media (max-width: 1700px) {
  .dropdown-menu {
    width: calc(100vw - 190px);
  }
}

.mega-menu table .dropdown-menu {
  padding: 20px 20px;
}

.menu-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  max-height: 135px;
}

@media (max-width: 1100px) {
  .menu-wrapper {
    max-height: 185px;
  }
}

#main .mega-menu table td:not(.wide_menu) .dropdown-menu li a {
  padding: 5px 27px 5px 20px !important;
  border: none;
}

.menu-row
  .menu-only
  .mega-menu
  table
  td:nth-child(4)
  .dropdown-menu
  .menu-wrapper {
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
}

/* dropdown fixed menu changes */
#headerfixed .mega-menu table td:nth-child(1) .dropdown-menu {
  left: -270px !important;
}

#headerfixed .mega-menu table td:nth-child(2) .dropdown-menu {
  left: -445px !important;
}

#headerfixed .mega-menu table td:nth-child(3) .dropdown-menu {
  left: -635px !important;
}

#headerfixed .mega-menu table td:nth-child(4) .dropdown-menu {
  left: -805px !important;
}

#headerfixed .mega-menu table td:nth-child(5) .dropdown-menu {
  left: -720px !important;
}

#headerfixed
  .mega-menu
  table
  .wrap
  > .dropdown-menu
  li:first-of-type
  > .dropdown-menu {
  left: -100px !important;
}

#headerfixed .mega-menu table td:nth-child(6) .dropdown-menu {
  left: -810px !important;
}

#headerfixed .mega-menu table td:nth-child(4) .dropdown-menu .menu-wrapper {
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
}

@media (max-width: 1700px) {
  #headerfixed .mega-menu table td:nth-child(1) .dropdown-menu {
    left: -240px !important;
  }

  #headerfixed .mega-menu table td:nth-child(2) .dropdown-menu {
    left: -350px !important;
  }

  #headerfixed .mega-menu table td:nth-child(3) .dropdown-menu {
    left: -480px !important;
  }

  #headerfixed .mega-menu table td:nth-child(4) .dropdown-menu {
    left: -590px !important;
  }
}

/* .catalog_block .catalog_item>div {
  box-shadow: none;
} */

.stickers.custom-font [class*="sticker_"] {
  margin-right: 15px;
}

.maxwidth-theme-p0 {
  padding-top: 0;
}

.item .bg-custom-animate:before {
  top: -1px;
}

/* Custom prices */

.cost.prices:not(.detail) .js_price_wrapper {
  display: flex;
  align-items: center;
  flex-direction: row !important;
  gap: 15px;
}

.price_name.muted.font_xs {
  display: none;
}

.catalog_detail .js_price_wrapper {
  display: flex;
  flex-direction: column-reverse;
}

.benefit_wrapper {
  padding: 10px 50px 10px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.your_benefit,
.percentage_of_discount {
  display: flex;
  justify-content: space-between;

  font-family: Montserrat;
  font-size: 13px;
  font-weight: 600;
  line-height: 15.85px;
  color: #898989;
}

.b_price {
  color: black;
}

/* УБрать верхний купон в корзине офрмления заказа */

#bx-soa-order.orderform--v1 #bx-soa-coupon {
  display: none;
}

/* Обрамление лицензии */
.license_order_wrap {
  border: 1px solid #e54938;
  padding: 20px;
}

.license_order_wrap__precision {
  color: #e54938;
  font-size: larger;
  margin-top: 10px;
}

/*  */

.special_alert {
  background-color: #e54938;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.special_alert span {
  font-family: "Montserrat", sans-serif !important;
  font-size: 16px;
  font-weight: 200 !important;
  line-height: 25px;
  text-align: left;
  color: white;
  padding: 8px 30px;
  text-align: center;
  text-transform: uppercase;
}
@media (max-width: 576px) {
  .special_alert span {
    font-size: 12px;
    line-height: 15px;
  }
}

/* Yandex widget */

.yandex_widget {
  margin-top: 10px;
  width: 170px;
  display: flex;
  justify-content: center;
}

@media (max-width: 576px) {
  .yandex_widget {
    width: 100% !important;
  }
}
