


.ast-header-break-point .main-header-bar .main-header-bar-navigation .menu-item-has-children>.ast-menu-toggle {
   -webkit-font-smoothing: unset !important;
}

/*БАЗОВЫЕ СТИЛИ*/

.custom-breadcrumbs {
    padding:0px 60px;
    margin-top:20px;
    font-family: "Prosto One", Sans-serif;
    font-size: 16px;
    margin-bottom: -35px;
}

@media screen and (max-width:1024px){
    .custom-breadcrumbs {
        font-size:14px;
        padding: 0px 40px;
        margin-bottom:-25px;
    }
}

@media screen and (max-width:767px){
    .custom-breadcrumbs {
        font-size:14px;
        padding: 0px 10px;
        margin-bottom:-25px;
    }
}


.custom-breadcrumbs a:hover{
    color:black;
}

/* Для браузеров на основе Webkit (Chrome, Safari) */
::-webkit-scrollbar {
    width: 12px; /* Ширина вертикальной полосы прокрутки */
    height: 12px; /* Высота горизонтальной полосы прокрутки */
}

::-webkit-scrollbar-thumb {
    background-color: var(--ast-global-color-0);
    border-radius: 6px; /* Радиус для скругления углов */
}

::-webkit-scrollbar-track {
    background: var(--ast-global-color-0); /* Цвет фона трека полосы прокрутки */
    border-radius: 6px;
}

/* Для Firefox */
html {
    scrollbar-width: thin;
    scrollbar-color: var(--ast-global-color-0) white;
}

/* Для IE и Edge */
body {
    -ms-overflow-style: -ms-autohiding-scrollbar;
}

@supports (scrollbar-color: var(--ast-global-color-0) white) {
  body {
    scrollbar-color: var(--ast-global-color-0) white;
    scrollbar-width: thin;
  }
}


::-moz-selection {
  background: var(--ast-global-color-0); /* Цвет фона выделения в Firefox */
}
::selection {
  background: var(--ast-global-color-0); /* Цвет фона выделения в Chrome, Safari и др. */
}

h1,h2,h3,h4,h5 {
    white-space: pre-line;
}

a{
    transition:all .5s;
}

/*
.ast-shop-load-more:hover{
    border-color: var(--ast-global-color-1) !important;
    background-color: var(--ast-global-color-1) !important;

}
*/

.ast-site-header-cart a.cart-container *{
	word-wrap: break-word;
}


button{
	transition:all .5s;
}

.site-primary-header-wrap.ast-builder-grid-row-container.site-header-focus-item.ast-container:focus > * {
    outline:none !important;
}
a:focus, button:focus {
  outline:none !important;
}

p{
	margin-bottom:0rem;
}

#page{
	min-height:unset !important;
}

.ast-container #primary{
	margin:0 !important;	
}
/*БАЗОВЫЕ СТИЛИ END*/

#masthead .ast-container, .site-header-focus-item + .ast-breadcrumbs-wrapper{
	padding:0 !important;
}

.custom-logo-link img{
	width:166px !important;
	padding:0;
	margin:0;
}



@media screen and (max-width:1024px){
	.custom-logo-link img{
	width:118px !important;
}
}

@media screen and (max-width:768px){
	.custom-logo-link img{
	width:116px !important;
}
}


.order_call{
	font-size:16px;
	font-family:"Prosto one";
	font-weight:400;
	background:#ffffff38 !important;
	line-height:20px;
	&:hover{
		background:var(--ast-global-color-0) !important;
		color:white !important;
	}
}



/*????*/

.ast-builder-footer-grid-columns.site-primary-footer-inner-wrap.ast-builder-grid-row {
    gap: 0;
    & .site-footer-section-1{
        border-right:2px solid #C8C8C8;
    }
    & .site-footer-section-2{
        grid-column: span 2;
        
        & #nav_menu-3, aside.footer-widget-area.widget-area.site-footer-focus-item.footer-widget-area-inner{
            width:fit-content;
            
        }
    }
}



.ast-builder-grid-row-2-equal .ast-builder-grid-row{
    grid-template-columns: repeat(3, 1fr);
}

.info_table{
    
    color:black;
	
		&.minimal tr td:not(:first-child), &.minimal tr th:not(:first-child) {
    padding-left: 23px;
}
    table {
    
    border-top:0px;
    border-left:0px;
    * {
        border-color:var(--ast-global-color-0);
    }
    td{
        width: 50%;
    }
    thead th{
        font-weight: 700;
        font-family:"Nunito", sans-serif;
        text-align:left;
        border-color:var(--ast-global-color-0);
    }
    
    tr td:first-child, tr th:first-child{
        padding-left: 4px;
    }
    
			
    tr td:last-child, tr th:last-child{
        padding-left: 23px;
    }
    
    td.out{
        padding-left: 40px !important;
    }
}
}

@media screen and (max-width:1024px){
	.info_table{
    	
		&.minimal tr td:not(:first-child), &.minimal tr th:not(:first-child) {
    padding-left: 23px;
}
    table {
   
    td{
        width: 60%;
    }
    thead th{
        font-weight: 700;
        font-family:"Nunito", sans-serif;
        font-size: 14px;
    }
			td{
				font-size:12px;
			}
    
    tr td:first-child, tr th:first-child{
        padding-left: 3px;
    }
    
			
    tr td:last-child, tr th:last-child{
        padding-left: 9px;
    }
    
    td.out{
        padding-left: 22px !important;
    }
}
}
}

@media screen and (max-width:768px){
	.info_table{
    	
		&.minimal tr td:not(:first-child), &.minimal tr th:not(:first-child) {
    padding-left: 23px;
}
    table {
   
		thead th{
			font-size:12px;		
		}	
			
    td{
        width: 80%;
    }
    
    
    tr td:first-child, tr th:first-child{
        padding-left: 3px;
    }
    
			
    tr td:last-child, tr th:last-child{
        padding-left: 9px;
    }
    
    td.out{
        padding-left: 22px !important;
    }
}
}
}

.marked{
    ul {
    list-style: none; /* Убираем стандартные маркеры */
    padding-left: 0; /* Убираем стандартный отступ */
    }

    ul li {
    position: relative; /* Нужно для позиционирования псевдоэлемента */
    padding-left: 1.5em; /* Делаем отступ для иконки */
    }

    ul li::before {
    content: "\f139";
            font-family: "Dashicons";
            position: absolute;
            font-size: 40px;
            width: 40px;
            left: -14px;
            color: var(--ast-global-color-0);
    }

    & .grey{
        ul li::before {
            color: #94959A;
        }

        ul li:not(:first-child) {
            margin-top: 17px;
        }
    }
}

/*Mobile menu*/
div#mobile_button_overlay {
    .elementor-icon-wrapper{
        display:flex;
    }
}

@media screen and (max-width:768px){
	aside.header-widget-area.widget-area.site-header-focus-item.header-widget-area-inner{
		padding:0;
	}
}


/*MENU*/

.divbutton{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    flex-direction: row;
    & .constructor{
        padding: 6px 15px;
        background: #FFFFFF38;
        color:var(--ast-global-color-0);
        font-size: 14px;
        border-radius:3px;
        border:1px solid var(--ast-global-color-0);
        & .icon {
            background-image: url('https://bvt-s.tw1.ru/wp-content/uploads/2025/08/doc.svg');
            width: 50px;
            height: 50px;
        }
    }
    & .order_call{
        display: none;
    }
}



@media screen and (min-width:1024px){
	ul#ast-hf-menu-1 li .sub-menu{
    a.menu-link:after {
        content: "\f139";
            font-family: "Dashicons";
        position:absolute;
        top:50%;
        right:20px;
        transform:translateY(-50%);
        width:20px;
        font-size:23px;
        color:var(--ast-global-color-0)
    }
}



ul.sub-menu {
    width: 500px !important;
    background:#3B3B3B !important;
    padding:25px 0px 25px 25px;
    display:flex;
    flex-direction:column;
    gap:15px;
    & li{
        background:unset !important;
        & a{
            padding:0px 0px 0px 0px !important;
        }
    }
}
}

/*END MENU*/


@media screen and (max-width:1024px){
    ul li{
        padding-left:1em !important;
    }
    ul li::before{
        font-size:28px !important;
        width:20px !important;
        left:-10px !important;
    }
}


/*Карта*/
.map-filter{
    display:flex;
    justify-content:center;
    /* align-items: center; */
    place-content: center;
    flex-wrap: wrap;
}

ul#map-categories-filter {
    display:flex;
    flex-direction:column;
    gap:15px;
    padding:0px;
    margin:0px;
    
    li{
        margin:0px;
        padding:0px;
        a{
            color:var(--ast-global-color-5);
            font-size:20px;
            font-family:"Nunito";
            font-weight:700;
            line-height:90.6%;
					display: flex;
          align-items:center;
          gap: 29px;
            &:hover{
                color:#979797;
                text-decoration:none;
            }
            &.active{
                 color:#c4c4c4 !important;
            }
            & img,svg{
                min-width:44px;
                width: 44px;
                height: auto;
            }
        }
    }
}

a.map-category-item.active svg{
    transform:scale(1.2);
    transition:all ease .5s;
}

a.map-category-item svg{
    transition:all ease .5s;
}

.marker-icons svg path:first-child{
    fill:var(--ast-global-color-0) !important;
}

div#maps-container {
    display: flex;
    & .map-filter{
			padding-left:57px;
			padding-right:37px;
        background:var(--ast-global-color-0);
            width: calc((30.59%) + 61px);
        text-decoration:none;
        & li {
            list-style:none !important;
        }
    }
    & #yandex-map{
       width:calc(100% - ((30.59%) + 61px));
    }
}


@media screen and (max-width:768px){
    div#maps-container {
       flex-direction:column; 

        & .map-filter{
            width:100%;
            order:1;
            padding: 15px 10px 15px 15px;
            & .map-category-item{
                gap:18px;
            }
                & ul#map-categories-filter{
                        width: 100%;
                        & li{
                            padding-left: 0 !important;
                        }
                }
                & a{
                    font-size: 15px;
                    line-height: 19px;
                        font-weight:700;
                        font-family:"Nunito";
                        & img{
                            max-width: 25px;
                        }
                }
        }

        #yandex-map{
            width:100%;
                order:0;
        }
    }
}

    .custom-marker {
        background:red;
        color:white;
        padding:4px 8px;
        border-radius:4px;
        font-size:12px;
        white-space:nowrap;
    }

    .custom-marker {
        display: flex;
        align-items: center;
        justify-content: center;
        width: fit-content;
        height: 40px;
        gap:10px;
        background: transparent;
        transition: transform 0.2s;

        & h6{
            font-size: 12px;
            color:black;
            margin:0;
        }
    }
    
    .custom-marker:hover {
        transform: scale(1.1);
    }
    
    .custom-marker img {
        max-width: 30px;
        max-height: 30px;
        min-width: 30px;
    }
    
    .marker-popup {
        position: fixed;
        background: white;
        padding: 15px;
        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
        z-index: 1000;
        max-width: 250px;
    }
    
    .marker-popup h3 {
        margin: 0 0 10px 0;
        font-size: 16px;
    }
    
    .marker-popup p {
        margin: 0;
        font-size: 14px;
        line-height: 1.4;
    }
/*END Карта*/




/* ===== PRINT FIX ДЛЯ ТАБЛИЦ ===== */
@media print {

    * {
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    .print_true{
        display:none;
    }



    .next_page{
        
        padding-top: 12mm;
        
    }

    .ast-scroll-top-icon.ast-scroll-to-top-right{
        display:none !important;
    }

    table.products-compare-table{
         page-break-after: auto;   
    }

      table.products-compare-table th{
        white-space: normal !important; 
        font-size: 12px !important;
        
    }
    table.products-compare-table td{
        line-height: 1em !important;
        padding:0.5em;
    }

    .allblock{
        margin-top:0px !important;
    }

  

    table.products-compare-table td{
        font-size: 10px;    
    }

    /* Убираем автопереносы браузера */
    * {
        orphans: 999;
        widows: 999;
    }

    /* Отступы страницы */
    @page {
        size: A4 landscape !important;
        margin: 12mm;
    }
}

@media (max-width: 768px) {

    .next_page {
        padding: 0px;   /* нормальный мобильный отступ */
    }

    @page {
        size: A4 ;
        margin: 5mm;
    }

}

/* ===== PRINT FIX ДЛЯ ТАБЛИЦ END===== */

@media screen and (max-width:1024px){
    .acf-products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px;
    }
}

@media screen and (max-width:768px){
    .print_true {
        margin-top: 20px !important;
        & a{
            font-size: 14px !important;
            padding:12px !important;
        }
    }

    .acf-products-grid.cumulative-charges{
        grid-template-columns: repeat(1, 1fr) !important;
    }
    .acf-products-grid {
        & .product-card.visible .print{
            padding: 10px 22px !important;
            color: var(--ast-global-color-0) !important;
            font-size: 12px !important;
        }
        grid-template-columns: repeat(1, 1fr) !important;
        gap: 6px;
        & img{
            height: 150px !important;
        }
        & h3{
            font-size: 14px !important;
        }
        & .row{
            & p{
                font-size: 12px !important;
            }
        }
        & .print{
            font-size: 12px !important;

        }
    }

    .elementor-widget-shortcode .advantages-grid{
        grid-template-columns: repeat(1, 1fr) !important;
        gap:0;
        &.columns_2{
            grid-template-columns: repeat(1, 1fr) !important;
        }
        & .advantage-item{
            padding: 17px !important;
            border-top:unset !important;
            font-size: 14px !important;
            line-height: 13px !important;
        }
    }
    .advantages_title{
            font-size: 18px;
        }
}

.technical{
    ul {
    list-style: none; /* Убираем стандартные маркеры */
    margin:0;
    padding-left: 0; /* Убираем стандартный отступ */
    }

    ul li {
    position: relative; /* Нужно для позиционирования псевдоэлемента */
    padding-left: 1.5em; /* Делаем отступ для иконки */
    line-height: 128.7%;
    }
    li{
        margin-top:20px;    
    }

    ul li::before {
    content: "\f139";
            font-family: "Dashicons";
            position: absolute;
            font-size: 40px;
            width: 40px;
            left: -14px;
            color: var(--ast-global-color-0);
    }
}



@media screen and (max-width:768px){
    table.products-compare-table {
        color:black;
        border:unset;
        font-family:'Nunito';
        border-collapse: collapse;
        overflow: visible !important;
        & th{
            font-weight:700 !important;
            font-size:14px !important;
            line-height:90% !important;
    
            
        }
    
        & tbody {
            tr{

                font-weight:500 !important;
            }
    
            & td{
                font-size: 12px;
                line-height: 1.2em !important;
            }
    
            tr td:not(:first-child){
                text-align:center;
            }
        }
    }

    #notes *, #detail-text *{
        & b{
            font-size: 16px;
        }

        :not(.mc-counter-wrapper *),
    #detail-text *:not(.mc-counter-wrapper *) {
        font-size: 14px;
        line-height: 128.7%;
    }
    }
}



.acf-products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    
    & .product-card {
        display:flex;
        flex-direction:column;
        align-content:center;
        flex-wrap:wrap;
        box-shadow: 1px 1px 8px 5px rgb(247,247,247);
        /*Анимация*/
        opacity: 0;
        transform: translateY(50px);
        transition: opacity 1s ease, transform 1s ease;
        & img{
            padding: 0px 20px;
        }
        &.visible {
            opacity: 1;
            transform: translateY(0);
        }

            h3{
                font-family: "Nunito", sans-serif;
                font-weight: 800;
                color:black;
                text-align:center;
                margin-bottom: 0;
                font-size: 20px;
            }

            &:hover{
                .product-fields{
                    color:black;
                }

                & .print{
                    padding: 10px 22px;
                    
                    color:var(--ast-global-color-0);
                }
            }

            & .print{
                    color:white;
                    font-family: 'Prosto One',display;
                    font-weight: 500;
                    font-size: 20px;
                    margin-top: auto;
            }
        

        

    .product-fields {
        padding:10px 23px;
        font-family:"Nunito";
        font-size:18px;
        
        & .row{
            display:flex;
            gap:20px;
            color:black;
            justify-content:space-between;
            align-items:center;
            .label{
                width:56%;
                margin-bottom: 10px;
                 margin-top: 10px;
            }
            .value{
                width:fit-content;
                
            }
        }
        & .row:not(:last-child){
            border-bottom:1px solid var(--ast-global-color-0);
        }

        
        
    }
    
			
    }
}

.acf-products-grid.cumulative-charges{
    & h3{
        font-size: 28px;
    }
}

.acf-products-grid.perforation-systems, .acf-products-grid.equipment-accessories, acf-products-grid.equipment-repair, .acf-products-grid.technological-solution-product {
    & .product-card {
        
            h3{
                color:black;
                text-align:center;
                font-size: 20px;
                padding: 0px 20px;
            }

            &:hover{
                .product-fields{
                    color:black;
                }

                & .print{
                    padding: 10px 22px;
                    
                    color:var(--ast-global-color-0);
                }
            }

            & .print{
                    color:white;
                    
            }
        

        

    .product-fields {
        padding:10px 23px;
        font-family:"Nunito";
        font-size:18px;
        
        & .row{
            display:flex;
            gap:20px;
            color:black;
            justify-content:space-between;
            align-items:center;
            .label{
                width:56%;
            }
            .value{
                width:fit-content;
                
            }
        }
        & .row:not(:last-child){
            border-bottom:1px solid var(--ast-global-color-0);
        }

        
        
    }
    
			
    }
}


.acf-products-grid.technological-solution-product{
    & .img{
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        width: 100%;
        height: 232px;
        object-fit: cover;
        aspect-ratio: 16 / 9;
    }

    & h3{
        margin-top:43px;
        min-height: 4em;
    }

    & .ie-detail-text {
        font-family: "Nunito",sans-serif;
        font-weight: 400;
        font-size: 18px;
        line-height: 128.7%;
        padding: 0px 20px;
        margin-top: 20px;
        text-align: center;
    }
}

/*Таблица Кумулятивные*/
table.products-compare-table {
    color:black;
    border:unset;
    font-family:'Nunito';
    border-collapse: collapse;
    overflow: visible !important;
    & th{
        font-weight:800;
        font-size:15px;
        line-height:100%;
        border-color:#F08F93;
        white-space: nowrap; 
    }
    & th:first-child{
        text-align:left;
    }

    & tbody {
        tr{
            
            font-size:14px;
            font-weight:500;
        }

        & td{
            border-color:#F08F93;
            line-height: 18px;
        }

        tr td:not(:first-child){
            text-align:center;
        }
    }
}
/* END Таблица Кумулятивные*/


.marked-block{
    ul {
  list-style: none; /* Убираем стандартные маркеры */
  padding-left: 0; /* Убираем стандартный отступ */
}

ul li {
  position: relative; /* Нужно для позиционирования псевдоэлемента */
  padding-left: 1.5em; /* Делаем отступ для иконки */
}

ul li::before {
  content: "\f139";
        font-family: "Dashicons";
        position: absolute;
        font-size: 40px;
        width: 40px;
        left: -14px;
        color: var(--ast-global-color-0);
}
}

.marked-block.nopadding{
    ul {
  list-style: none; /* Убираем стандартные маркеры */
  padding-left: 0; /* Убираем стандартный отступ */
			margin:0;
}

ul li {
  position: relative; /* Нужно для позиционирования псевдоэлемента */
  padding-left: 1.5em; /* Делаем отступ для иконки */
}

ul li::before {
  content: "\f139";
        font-family: "Dashicons";
        position: absolute;
        font-size: 40px;
        width: 40px;
        left: -14px;
        color: var(--ast-global-color-0);
}
}

.logo_block {
    display: flex;
    flex-direction: column;
}

.logo_top{
	margin: auto 0 0 0;
  align-self: end;
}

.padding-text p{
	margin-bottom:1em !important;
}
/**
.swiper-slide{
    display: flex !important;
    height: auto !important;
}
**/
.slide-box{

    width: 100%;
    height: auto;
    border: 1px solid #dddddd4D;
    border-radius: 5px;
    & a{
        display:flex;
        flex-direction:column;
        flex:1;
        color:white;
        height: 100%;
        & .post_image{
            width:100%;
            min-height:232px;
            overflow:hidden;
            background-repeat: no-repeat;
            background-size: cover;

        }
        & .post_extra{
            display: flex;
            flex-direction: column;
            flex: 1;
            padding:28px 28px 41px 28px;
            & h3{
                font-family:"Nunito";
                font-weight:500;
                font-size:22px;
                color:white;
                margin-bottom:15px;
            }
            & .excerpt{
                font-weight:400;
                font-size:18px;
                margin-bottom: 60px;
            }
            & .more{
                margin-top:auto;
                font-family: "Prosto One";
                font-size: 20px;
                color:#DE000D;
            }
        }
 
    }
    border: 1px solid #dddddd4D;
}

/* Контейнер навигации */
.swiper-nav {
  position: relative;
  left: 0;
  height: auto;
  min-height:30px;
  width: 100px;
  display: flex;
  justify-content: space-between;
  pointer-events: none; /* чтобы клик проходил только по кнопкам */
  margin-left:auto;
  margin-bottom: 22px;
}

/* Кнопки */
.swiper-button-prev,
.swiper-button-next {
  position: relative;
  width: 30px !important;
  height: 30px !important;
  border-radius: 50%;
  background: #151515 !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15) !important;
  color: #858585 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  pointer-events: auto; /* чтобы кликались */
  transition: all 0.3s ease;
}



/* Убираем дефолтные псевдоэлементы Swiper */
.swiper-button-prev::after,
.swiper-button-next::after {
  display: none;
}

/* Вставляем свои стрелки */
.swiper-button-prev {
  content: '';
}
.swiper-button-next {
  content: '';
}

/* Можно вставить стрелки через background-svg */
.swiper-button-prev svg,
.swiper-button-next svg {
  width: 20px !important;
  height: 20px !important;
}

span.swiper-pagination-bullet.swiper-pagination-bullet-active {
    background: var(--ast-global-color-1) !important;
}

@media screen and (max-width:1024px){
    .slide-box {
        & a{               
           
            & .post_image{
                min-height:122px ;
                background-size:cover;
            }
            & .post_extra{
                padding:14px 7px 17px 7px;
                & h3{
                    font-size:14px;
                }
                & .excerpt{
                    font-size:12px;
                    hyphens:auto;
                    margin-bottom:25px;
                }
                & .more{
                    font-size: 14px;
                }
            }
        }
    }
}

/*Форма*/
.wpforms-field-limit-text {
    display: none;
}

.wpforms-field-container {
    & input[type="checkbox"]{
        &:before{
            box-shadow:unset !important;
            border-color:var(--ast-global-color-1) !important;
           
        }
        &:after{
            
            border-color:var(--ast-global-color-1) !important;
        }
 
    }
    font-family:"Nunito";
    font-weight:400;

    & .wpforms-field.wpforms-field-text{
        padding:0;
        margin-top:18px;
    }
    & .wpforms-field-label{
        font-weight:400;
        font-size:16px !important;
        line-height:22px !important;
        color:#616161 !important;
        margin-bottom:6px !important;
    }
    & input.wpforms-field-large{
        min-height:44px;
        font-size:16px;
        max-height:unset !important; 
        background:#E7E7E7 !important;
        border:unset !important;
        &:focus{
            box-shadow:unset !important;
        }
    }
     & .choice-1 {
            & label a:hover{
               color:inherit;
            }
        }
}

.wpforms-submit-container{
        & button.wpforms-submit{
            font-family:"Prosto One", "Nunito" !important; 
            min-width:157px;
            font-size:16px !important;
            color:white;
            background:var(--ast-global-color-0) !important;
            border-radius:5px !important;
        }
}

@media screen and (max-width:768px){
    .wpforms-field-container {
        & label {
                font-size:14px !important;
            }
        & .choice-1{
            padding-left:0 !important;
            }
        }
    .wpforms-submit-container {
        & button.wpforms-submit{
            font-size:14px !important;
        }
    }
}



/*Блок с категориями*/
.cat-showcase {
    display: flex;
    gap: 55px;
    align-items: stretch;
    height: auto; /* или можно фиксированная высота в px */
    justify-content: space-between;

}

.cat-showcase-left{
    display: flex;
    width: 100%;
    flex-direction: column;
    height: auto;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 5px;
    transition: opacity 0.3s ease;
}


.cat-showcase-right {
    display: flex;
    flex-direction: row;
    height: auto;
}


.cat-showcase-right {
    width: fit-content;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 1fr; /* все строки одинаковой высоты */
    gap: 20px;
    height: 100%;
}

.cat-item {
    display: flex;
    align-items: flex-end;
    justify-content: start;
    width: 190px;
    height: 160px;
    border-radius: 5px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.5s ease;
    position: relative; /* для ::after */
    background-size: cover;
    background-position: center;
    border: 1px solid white;
    filter: grayscale(1);
}

.cat-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
    transition: background 0.3s ease;
}

.cat-item:hover {
    transform: scale(1.03);
    filter: grayscale(0);
    border-color: var(--ast-global-color-0);
}

.cat-item:hover::after {
    background: rgba(0,0,0,0.6);
}

.cat-title {
    position: relative;
    z-index: 2;
    color: #fff;
    padding: 0px 5px 17px 10px;
    font-family: "Prosto One";
    font-size: 14px;
    line-height: 18px;
    text-align: left;
    text-transform: uppercase;
}

@media screen and (max-width:768px){
    .cat-showcase {
      & .cat-showcase-left{
        display:none;
      } 
      & .cat-showcase-right{
        width:100%;
        & .cat-item{
            width: 100%;
            filter: unset;
            & .cat-title{
                padding: 0px 4px 6px 4px;
                font-size: 11px;
                line-height: 14px;
            }
        }
      }
      
    }
}

/*END Блок с категориями*/

