/*Меняем вид макрированного списка*/
ul {
    list-style-image: url("https://static.tildacdn.com/tild6162-3831-4533-b961-313036323831/marker.svg")
}

/*Сдвигаем подпись в слайдере зеро галлереи влево*/
.tn-elem .t-slds__caption {
    margin: 0;
}

/* 1. Стили для блока Публикации */
/* 1.1. Стили для фильтров в блоке Публикации */
.uc-publications .t-store__filter {
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-bottom: 56px;
    
    @media screen and (max-width: 480px) {
        margin-bottom: 60px;
    }
}

.uc-publications .t-store__filter__options {
    display: flex !important;
    flex-wrap: wrap;
    gap: 18px 48px;
    text-align: left !important;
    
    @media screen and (max-width: 960px) {
        margin-top: 0;
    }
    
    @media screen and (max-width: 480px) {
        gap: 18px 8px;
    }
}

.uc-publications .t-store__filter__item.t-store__filter__item_select {
    margin-bottom: 0px;
    margin-right: 0px;
    position: static;
    
    @media screen and (max-width: 960px) {
        border-top: none;
        border-bottom: none;
        padding-top: 0px;
        padding-bottom: 0px;
    }
    
    @media screen and (max-width: 480px) {
        flex: 0 0 calc(50% - 4px);
    }
}

.uc-publications .t-store__filter__item-title.js-store-filter-item-title {
    font-family: Stapel;
    font-weight: 400;
    font-size: 24px;
    line-height: 1.2;
    letter-spacing: 0px;
    padding-right: 40px;
    transition: color .1s ease-in;
    
    @media screen and (max-width: 480px) {
        font-size: 18px;
        padding-right: 32px;
        width: min-content;
    }
}

.uc-publications .t-store__filter__item.active .js-store-filter-item-title {
    opacity: 1;
    color: #CF0522 !important;
}

.uc-publications .t-store__filter__item.active .js-store-filter-item-title::after {
    transform: translateY(-50%) rotate(180deg);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='25' fill='none' viewBox='0 0 24 25'%3E%3Cpath stroke='%23CF0522' stroke-linecap='square' stroke-width='1.5' d='m20 8.5-7.99 8M4 8.5l7.99 8'/%3E%3C/svg%3E");
}

.uc-publications .t-store__filter__item-title.js-store-filter-item-title::after {
    border: none;
    width: 24px;
    height: 24px;
    right: 0;
    bottom: auto;
    top: 50%;
    transform: translateY(-50%) rotate(0deg);
    transition: background-image,transform .1s ease-in;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='25' fill='none' viewBox='0 0 24 25'%3E%3Cpath stroke='currentColor' stroke-linecap='square' stroke-width='1.5' d='m20 8.5-7.99 8M4 8.5l7.99 8'/%3E%3C/svg%3E");
}

.uc-publications .t-store__filter__item-title.js-store-filter-item-title:hover {
    opacity: 1;
    color: #CF0522 !important;
}

.uc-publications .t-store__filter__item-title.js-store-filter-item-title:hover::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='25' fill='none' viewBox='0 0 24 25'%3E%3Cpath stroke='%23CF0522' stroke-linecap='square' stroke-width='1.5' d='m20 8.5-7.99 8M4 8.5l7.99 8'/%3E%3C/svg%3E");
}

.uc-publications .t-store__filter__item-controls-wrap {
    width: 100vw;
    left: 0px;
    margin-top: 0px;
    border-radius: 0px;
    box-shadow: none;
    position: absolute !important;
    background-color: #fff;
    
    @media screen and (min-width: 960px), (orientation: landscape) and (min-height: 960px) {
        width: calc(100vw - 80px);
        left: 40px;
    }
}

.uc-publications .t-store__filter__item-controls-container {
    padding: 24px 0 !important;
    
    @media screen and (max-width: 960px) {
        padding: 24px !important;
    }
    
    @media screen and (max-width: 480px) {
        padding: 24px 15px !important;
        display: flex;
        flex-direction: column;
        gap: 16px;
    }
    
    @media screen and (min-width: 481px), (orientation: landscape) and (min-height: 481px) {
        display: grid;
        grid-template-columns: repeat(12, 1fr);
        grid-template-rows: repeat(3, auto);
        grid-auto-flow: column;
        grid-gap: 16px 8px;
    }
}

.uc-publications .t-store__filter__custom-sel.js-store-filter-custom-select {
    padding: 0 0;
    grid-column: span 3;
}

.uc-publications .t-store__filter__custom-sel.js-store-filter-custom-select:hover {
    background-color: transparent;
}

.uc-publications .t-store__filter__custom-sel.js-store-filter-custom-select:hover .t-store__filter__title {
    color: #CF0522;
}

.uc-publications .js-store-filter-mob-btn.t-store__filter__opts-mob-btn {
    display: none !important;
}

.uc-publications .t-store__filter__title {
    font-family: Stapel;
    font-weight: 400;
    font-size: 24px;
    line-height: 1.2;
    transition: color .1s ease-in;

    @media screen and (max-width: 480px) {
        font-size: 18px;
    }
}

/* 1.2. Стили для тэгов в блоке Публикации */
.uc-publications .t-store__card__mark-wrapper {
    right: auto;
    left: 0px;
    top: calc(100% + 24px);
    
    @media screen and (max-width: 480px) {
        top: calc(100% + 16px);
    }
}

.uc-publications .t-store__card__mark {
    width: auto;
    height: auto;
    padding: 6px 10px;
    border-radius: 0px;
  
    font-family: 'Stapel';
    font-size: 18px;
    line-height: 1.1;
    font-weight: 400;
    color: #000000;
    --tilda-typo-hook: yes;
  
    @media screen and (max-width: 480px) {
        font-size: 14px;
    }
}

.uc-publications .t-store__card__textwrapper {
    padding-top: 72px;
    
    @media screen and (max-width: 480px) {
        padding-top: 59px;
    }
}

.uc-publications .t-store__card__price-wrapper {
    display: none;
}

/* 2. Фиксация элемента к нижнему краю экрана */
.uc-fixed {
    position: fixed;
    bottom: 0;
    z-index: 9999;

    @media screen and (max-width: 960px) {
        max-height: 90px;
        bottom: 85px;
    }
    
    @media screen and (max-width: 480px) {
        max-height: 63px;
        bottom: 68px;
    }
}


 /*Стили для плашки со срезом*/
.header span {
  display: inline-block;
  padding: 0 16px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16px), calc(100% - 14px) 100%, 0 100%);
}

 /*Мобильная версия */
@media (max-width: 768px) {
 .header span {
    padding: 0 8px;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8px), calc(100% - 7px) 100%, 0 100%);
  }
}