:root {
    --border-style: 1px solid #000;
}

/*Стили для ссылок в шапке*/
.uc-hoverLink .tn-atom {
    transition: color 0.2s ease-in-out;
}

.uc-hoverLink:hover .tn-atom {
    color: #999999 !important;
}

/*Стили для заголовков товаров*/
.js-store-prod-name,
js-store-prod-text,
js-store-prod-descr {
    text-transform: uppercase;
    font-weight: 500 !important;
}

/*Стили для текстового блока*/
@media (min-width: 640px) {
    .uc-text-block .t-container {
        height: calc(100vh - 111px);
    }
}

@media (max-width: 639px) {
    .uc-text-block .t-container {
        padding: 20px 0;
    }
}

.uc-text-block .t-container {
    display: flex;
    align-items: center;
}

.uc-text-block .t056 {
    border-bottom: var(--border-style);
}

/*Стили для группы товаров*/
.uc-products-group .js-store-grid-cont {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    max-width: 100%;
    padding: 0 !important;
}

.uc-products-group .js-product {
    max-width: 100%;
    margin: 0;
    display: flex !important;
    flex-direction: column;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.uc-products-group .js-product .t-store__card__wrap_all {
    position: relative;
    display: flex;
    flex-direction: column;
}

.uc-products-group .js-product .t-store__card__wrap_all .t-store__card__imgwrapper {
    width: auto;
    height: calc(100vh - 237px);
    padding: 0 !important;
    margin: 0 !important;
}

.uc-products-group .js-product .t-store__card__wrap_all .t-store__card__wrap_txt-and-btns {
    position: absolute;
    /*bottom: 30px;*/
    bottom: 0;
    width: 100%;
    z-index: 3;
}

.uc-products-group .js-store-grid-cont:before,
.uc-products-group .js-store-grid-cont:after,
.uc-products-group .t-store__grid-separator {
    display: none;
}

/*Меню каталога*/
.uc-catalog-menu {
    /*border-top: var(--border-style);*/
    border-bottom: var(--border-style);
}

/*#t-footer .uc-catalog-menu {*/
/*    margin-top: 30px;*/
/*}*/

.uc-catalog-menu .t-container {
    max-width: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

#t-footer .uc-catalog-menu .t-container {
    max-width: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

#t-footer .uc-catalog-menu .t344 {
    border-top: var(--border-style);
}

.uc-catalog-menu .t344__col {
    border-right: var(--border-style);
    max-width: 100%;
    width: calc(100% - 1px);
    margin: 0;
}

.uc-catalog-menu .t344__col:nth-child(5) {
    border-right: none;
    width: 100%;
}

#t-footer .uc-catalog-menu .t344__col:nth-child(4) {
    border-right: var(--border-style);
}

#t-footer .uc-catalog-menu .t344__col:nth-child(5) {
    border-right: none;
}

.uc-catalog-menu .t344__title {
    border-bottom: var(--border-style);
    padding: 15px 0;
    display: flex;
    justify-content: center;
    margin: 0;
}

#t-footer .uc-catalog-menu .t344__title {
    padding: 15px 40px;
    justify-content: start;
}

.uc-catalog-menu .t344__descr {
    padding: 15px 40px 30px;
}

.uc-catalog-menu a {
    transition: color 0.2s ease-in-out;
}

.uc-catalog-menu a:hover {
    color: #999999 !important;
}

.uc-catalog-menu .active-link {
    text-decoration: underline !important;
    text-underline-offset: 5px;
}

.uc-catalog-menu .inactive-link {
    color: #999999 !important;
}

.uc-catalog-menu .inactive-link:hover {
    color: #000000 !important;
}

.uc-catalog-menu .t-container:before,
.uc-catalog-menu .t-container:after,
.uc-catalog-menu .t344__floatbeaker_lr3 {
    display: none;
}

/*Стили слайдера*/
.swiper-horizontal {
    overflow: hidden;
}

.swiper-horizontal .js-store-grid-cont {
    display: flex;
    flex-wrap: nowrap !important;
}

.swiper-horizontal .js-store-grid-cont .js-product {
    flex: 0 0 auto;
}


.swiper-horizontal .js-product .t-store__card__wrap_all .t-store__card__wrap_txt-and-btns {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.swiper-horizontal .js-product:hover .t-store__card__wrap_all .t-store__card__wrap_txt-and-btns {
    opacity: 1;
    transform: translateY(0);
}

/*Стили для блока о нас на главной*/
.uc-about-us .t396__carrier {
    border-top: var(--border-style);
    border-bottom: var(--border-style);
    height: calc(100vh - 2px) !important;
}

/* От 320px до 639px */
@media only screen and (min-width: 320px) and (max-width: 639px) {
    .uc-products-group .js-product .t-store__card__wrap_all .t-store__card__imgwrapper {
        height: calc(100vh - 51px);
        border-right: none !important;
        border-left: none !important;
    }

    .uc-products-group .js-product .t-store__card__wrap_all .t-store__card__wrap_txt-and-btns {
        bottom: 30px;
        height: auto !important;
    }

    .uc-catalog-mobile .t668__col {
        padding-left: 0;
        padding-right: 0;
        border-bottom: var(--border-style);
    }

    .uc-catalog-mobile .t668__col:first-child {
        border-top: var(--border-style);
    }

    .uc-catalog-mobile .t668__col .t668__opened {
        border-bottom: var(--border-style);
    }

    .uc-catalog-mobile .t668__col .t668__textwrapper {
        padding-bottom: 0 !important;
    }
    
    .uc-catalog-mobile .t668__col .t668__trigger-button {
        padding: 15px !important;
    }
    
    .uc-text-block .t-container {
        text-align: left;
    }
    
    .uc-text-block .t-container .t-col {
        padding: 0 10px;
    }
}

/* От 640px до 959px */
@media only screen and (min-width: 640px) and (max-width: 959px) {
    .uc-catalog-menu .t344__col {
        padding-left: 0;
        padding-right: 0;
        text-align: center;
        width: 100%;
    }

    #t-footer .uc-catalog-menu .t344__title {
        justify-content: center;
    }

    .swiper-horizontal .js-store-grid-cont .js-product {
        margin-bottom: 0;
    }

    .uc-products-group .js-product .t-store__card__wrap_all .t-store__card__imgwrapper {
        height: calc(100vh - 223px);
        /*border-left: none !important;*/
    }
}

/* От 960px до 1199px */
@media only screen and (min-width: 960px) and (max-width: 1199px) {}

/* От 1200px до максимальной ширины */
@media only screen and (min-width: 1200px) {

    /*Стили для текстового блока*/
    .uc-text-block .t-container {
        border-left: var(--border-style);
        border-right: var(--border-style);
    }
}