/********************************************************
Авторский
***********************************************************/
.front-slider {
   
    margin-top: 4px;

}

@media only screen and (min-width: 1361px) {
    .front-slider {
        margin-top: 40px;
    }
}
/* Скроллбар*/
* {
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, 0.2) transparent;
}

::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

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

::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.15);
  border-radius: 10px;
  transition: background 0.2s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.3);
}

@media (prefers-color-scheme: dark) {
  * {
    scrollbar-color: rgba(255, 255, 255, 0.15) transparent;
  }
  
  ::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
  }
  
  ::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
  }
}

html {
  scrollbar-gutter: stable;
}
/**/
.catalog-pagination__item--nav
 {
    min-width: 60px;
}

/**/

@media only screen and (max-width: 768px) {
 

    main {
        border-radius: 30px;
}
    
    .catalog-page__breadcrumbs {
    padding: 0px 8px;
}
    
    
    .product-page__gallery {
        margin: 0 -10px 4px;
    }
    
    
    .product-page__map {

    margin-top: 30px;

}
    
    
    .product-page__related {
    margin-top: 30px;
}
    
    
    .product-page__section-title {
    font-size: 20px;
    line-height: 27px;
}
    


    
.catalog-section-title {
    font-size: 13px;
    margin-top: 0px;
    margin-bottom: 20px;
}
    
    
    .catalog-pagination__layout {
        padding: 0px 0px;
}
    
       .catalog-page__layout {
        margin-top: 40px;
    }
    
    
    .catalog-card__body {
       margin-top: 24px;
    gap: 12px;
   
}
    
    .catalog-card__price {
   
    font-size: 16px;
   
}
    
    .catalog-card__title a {
        font-size: 14px;
}
    .catalog-card__meta {
    font-size: 11px;
}
    
    
    
        .catalog-page__grid {
        margin-top: 0px;
            gap: 8px;
    row-gap: 40px;
    }
    
    .catalog-category-list {
        margin-bottom: 40px;
        gap: 16px;
        justify-content: flex-start;
        width: 100%;
    }
    .catalog-category-list__link {
        width: calc(33% - 10px);
        /* height: 159px; */
        height: auto;
        border-radius: 24px;
    }
        .catalog-category-list__media {
        width: 100%;
        aspect-ratio: 1 / 1;
        height: auto;
        border-radius: 24px;
        overflow: hidden;
    }
    
}
.catalog-category-list .catalog-shop-tile__picture-bg {
   object-fit: contain; /* это нужно применить только для подкатегорий (серые плашки с картинками)*/
}
/**/



.product-page__section.product-page__details {
    padding: 40px;
    border-radius: 40px;
        margin-bottom: 40px;
}

.product-page__layout {
    margin-bottom: 40px;
}


/**/
main {
  
    padding: 3px 0px 0px;
   
}

.catalog-page__breadcrumbs {
    gap: 12px;
    margin-bottom: 0px;
}
/*фильтр */
.catalog-sidebar__select, .catalog-sidebar__input {
    padding: 15px 12px 15px 20px;
    font-family: 'Wix Madefor Display';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
}

.catalog-sidebar__list input[type="checkbox"] {
    margin: 3px 0 0 0;
}

.catalog-sidebar__actions {
   
    padding: 40px 0px 0px;

}

.catalog-sidebar__select, .catalog-sidebar__input {
    font-family: 'Unbounded';
    font-size: 11px;
}


/*блок категорий на главной */
.navigationTiles {
   
    gap: 10px;

}
    .navigationTiles .catalog-page__link {
        aspect-ratio: 16 / 10;
        height: auto;
    }
@media only screen and (min-width: 1920px) {
    .navigationTiles .catalog-page__link {
        width: 280px;

    }
}

@media only screen and (max-width: 768px) {
    .navigationTiles .catalog-page__link {
          width: calc(50% - 6px);
        font-size: 12px;
        border-radius: 32px;
            aspect-ratio: 1 / 1;
    }
}




/*Подкатегории на главной*/

/*Плашка товара*/
.product-card__order-btn {
   
    right: 16px;
    bottom: 10px;
    width: 62px;
    height: 34px;
   
}

    .catalog-card__image img {
        transition: transform 0.7s cubic-bezier(0.11, 0.7, 0.25, 1);
    }

article.catalog-card:hover {
    .catalog-card__image img{
        transform:scale(1.05);
    }
}

/**/
.catalog-sidebar__list--scrollable {
    max-height: initial;
}

/**/

@media only screen and (min-width: 1441px) {
    .catalog-page {
        padding-top: 72px;
    }
}

/*показать еще в категории*/
.catalog-page__category-show-all-btn {
    margin-bottom: 16px;
    margin-top: 4px;
}

.catalog-page__category-show-all-btn--expanded {

    margin-top: 48px;
}



/********************************************************
End Авторский
***********************************************************/
.organization-section__row-grid .organization-cell {
    height: auto !important;
}

.article-content a {
    width: fit-content;
    color: #f08569;
    position: relative;
    -webkit-transition: .3s;
    transition: .3s;
}

.article-content a::before {
    position: absolute;
    background-color: #f08569;
    left: 0;
    bottom: -3px;
    content: "";
    width: 100%;
    opacity: 0;
    height: 1px;
    -webkit-transition: .3s;
    transition: .3s;
}

.article-content a:hover::before {
    opacity: 1;
}

.article-content p a:hover::before {
    opacity: 0 !important;
}

.header__top {
    margin-top: 20px;
}

.j-item-map.active {
    stroke: #f08569;
    fill: #f08569;
}

/* =================================== */

/* cookie policy */

.bottom-popup {
    --accent: #f08569;
    --black: #111;
}

.bottom-popup label.checkbox {
    display: flex;
    position: relative;
    cursor: pointer;
    font-size: 13px;
    line-height: 140%;
    user-select: none;
    align-items: flex-start;
    padding-left: 0;
    margin: 0;
}

.bottom-popup label.checkbox::before {
    display: none;
}

.bottom-popup .checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
    display: none;
}

.bottom-popup .checkbox .checkbox__text a {
    text-decoration: underline;
    display: inline;
}

.bottom-popup .checkbox .checkbox__text {
    line-height: 140%;
    font-size: 13px;
    text-transform: none;
    font-weight: 400;
}

.bottom-popup .checkbox .checkbox__elem {
    top: 5px;
    position: relative;
    height: 20px;
    width: 20px;
    min-width: 20px;
    background-color: #fff;
    display: inline-block;
    margin-right: 10px;
    border: 1px solid #bcbcbc;
    border-radius: 4px;
}

@media screen and (min-width: 992.98px) {
    .bottom-popup .checkbox .checkbox__elem {
        height: 24px;
        width: 24px;
        min-width: 24px;
        border-radius: 6px;
    }

    .bottom-popup .checkbox .checkbox__elem::after {
        left: 6px;
        top: 6px;
        width: 11px;
        height: 6px;
    }
}

.bottom-popup .checkbox .checkbox__elem::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 6px;
    width: 11px;
    height: 6px;
    transition: 0.25s cubic-bezier(0.08, 0.82, 0.17, 1);
    opacity: 0;
    background-size: 13px;
    background-position: center;
    background-repeat: no-repeat;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(0);
    background: transparent;
}

.bottom-popup .checkbox input:checked~.checkbox__elem {
    background-color: var(--black);
    border-color: var(--black);
    z-index: 2;
}

.bottom-popup .checkbox .checkbox__elem:hover {
    border-color: var(--accent);
}

.bottom-popup .checkbox input:checked~.checkbox__elem:after {
    opacity: 1;
    border-radius: 0;
    transform: rotate(-45deg);
}

.bottom-popup .checkbox input:disabled~.checkbox__elem {
    opacity: 0.5;
    cursor: not-allowed;
}

.bottom-popup {
    position: fixed;
    z-index: 100;
    left: 0;
    right: 0;
    bottom: 50px;
    display: flex;
    justify-content: center;
    transition: 0.3s ease;
    display: none;
    animation: slide-up 0.3s ease forwards;
    text-align: left;
}

.bottom-popup__wrp {
    background-color: #FFF6E2;
    padding: 15px 24px;
    box-shadow: 0px 4px 41px rgba(0, 0, 0, 0.25);
    max-width: 1150px;
    display: flex;
    margin: 0 auto;
    align-items: flex-start;
    border-radius: 24px;
    align-items: center;
    justify-content: center;
}

.bottom-popup__title {
    font-size: 25px;
    line-height: 28px;
    color: #090C15;
    margin-bottom: 15px;
    display: none;
    font-weight: 600;
}

.bottom-popup.open.is-setting .bottom-popup__title {
    display: block;
}

@media screen and (min-width: 767px) {
    .bottom-popup.open.is-setting .bottom-popup__icon {
        width: 50px;
        margin-top: 0;
    }

    .bottom-popup.open.is-setting .bottom-popup__main {
        width: calc(100% - 50px);
        padding-left: 24px;
    }

    .bottom-popup.open.is-setting .bottom-popup__btn {
        padding-left: 74px;
    }

    .bottom-popup.open.is-setting .bottom-popup__wrp {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .bottom-popup.open.is-setting .bottom-popup__desc {
        font-size: 15px;
    }
}

.bottom-popup__desc {
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
    line-height: 150%;
    color: #566859;
}

.bottom-popup__btn {
    display: flex;
    gap: 12px;
}

.bottom-popup__btn button {
    white-space: nowrap;
    padding-left: 2em;
    padding-right: 2em;
}

.bottom-popup__btn .btn.btn-gray {
    background-color: #ddd;
    color: #333;
}

.bottom-popup.open {
    transform: translateY(0);
    display: block;
}

.bottom-popup__main {
    padding-right: 54px;
}

.bottom-popup__desc a {
    text-decoration: underline;
    display: inline;
    color: #566859;
}

.bottom-popup__desc a:hover {
    opacity: 0.9;
}

.bottom-popup__setting {
    display: none;
}

.bottom-popup__toggle {
    color: var(--accent);
    padding-top: 14px;
    font-weight: 600;
}

.bottom-popup__toggle span {
    cursor: pointer;
}

.bottom-popup__toggle span:hover {
    text-decoration: underline;
}

.bottom-popup__icon {
    padding-right: 45px;
    margin-top: -3px;
}

@media screen and (min-width: 767px) {
    .bottom-popup__icon {
        display: block;
    }
}

@media screen and (max-width: 992px) {
    .bottom-popup__icon {
        padding-bottom: 12px;
        padding-right: 0;
    }
}

@media screen and (max-width: 992px) {
    .bottom-popup__icon svg {
        width: 30px;
        height: 30px;
    }

}

.bottom-popup__setting {
    line-height: 140%;
    color: #222;
    padding-top: 15px;
}

.setting-cookie {
    font-size: 15px;
    padding-top: 14px;
}

.setting-cookie__desc strong {
    font-weight: 500;
}

.setting-cookie__item {
    display: flex;
    border-bottom: 1px solid #ddd;
    padding-top: 16px;
    padding-bottom: 11px;
}

.setting-cookie__checkbox {
    width: 38px;
    min-width: 38px;
}

.setting-cookie__item:last-child {
    border: none;
}

.bottom-popup__setting p {
    font-size: 14px;
    line-height: 146%;
}

.bottom-popup.open.is-setting .bottom-popup__main {
    padding-right: 0;
}

.bottom-popup.open.is-setting .bottom-popup__toggle {
    display: none;
}

.bottom-popup.open.is-setting .bottom-popup__setting {
    padding-top: 30px;
    padding-bottom: 20px;
}

.bottom-popup.open.is-setting .bottom-popup__setting {
    display: block;
}

.form.marketing-popup.popup-text-info.\.default {
    display: none;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
        animation-timing-function: ease-in-out;
    }

    25% {
        transform: translateY(-12px);
        animation-timing-function: ease-out;
    }

    50% {
        transform: translateY(0);
        animation-timing-function: ease-in-out;
    }

    75% {
        transform: translateY(-8px);
        animation-timing-function: ease-out;
    }
}

.bottom-popup__wrp {
    position: relative;
    top: 0;
}

.bottom-popup__setting h3 {
    font-weight: 600;
    color: #000;
    font-size: 18px;
    padding-bottom: 12px;
}

@media screen and (max-width: 1200px) {
    .bottom-popup__wrp::before {
        left: unset;
        right: 30px;
    }
}

@media screen and (max-width: 992px) {
    .bottom-popup {
        bottom: 0;
    }

    body>jdiv {
        z-index: 1000;
        position: relative;
    }
}

@media screen and (max-width: 992px) {
    .bottom-popup__main {
        padding-right: 0;
    }

    .bottom-popup__wrp {
        flex-direction: column;
    }

    .header-phones__links {
        margin-bottom: 12px;
    }

    .bottom-popup__btn {
        padding-top: 25px;
        width: 100%;
        max-width: 500px;
    }

    .bottom-popup__btn .btn {
        width: 100%;
    }

    .bottom-popup__desc {
        font-size: 14px;
        text-align: center;
    }
}

@media screen and (max-width: 576px) {
    .bottom-popup.open .bottom-popup__wrp {
        max-height: 80vh;
        border-radius: 20px 20px 0 0;
        margin-top: 16px;
    }

    .is-setting .bottom-popup__main {
        max-height: calc(80vh - 20px);
        overflow-y: auto;
    }
}

@media screen and (max-width: 480px) {
    .bottom-popup__wrp {
        padding: 20px 20px;
    }

    .bottom-popup__title {
        font-size: 18px;
        font-weight: 600;
    }

    .bottom-popup__btn button {
        font-size: 14px;
    }

    .bottom-popup__desc {
        max-width: 305px;
    }

    .bottom-popup__btn {
        max-width: 305px;
    }
}

.btn.btn-blue {
    font-family: "Unbounded";
    font-size: 10px;
    font-weight: 400;
    text-transform: uppercase;
    line-height: 14px;
    letter-spacing: .05em;
    text-decoration: none;
    display: block;
    text-align: center;
    color: #f8eac9;
    padding: 10px 15px;
    border-radius: 50px;
    border: 1px solid rgba(248, 234, 201, .1);
    -webkit-transition: .3s;
    transition: .3s;
    position: relative;
    overflow: hidden;
    background-color: #f08569;
    padding-inline: 38px;
}

.btn.btn-blue:hover {
    opacity: 0.8;
}
.bg-pattern {
    z-index: -1;
}
