.woocommerce-subcategories {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	margin: 40px 0;
}

.subcategory {
	display: flex;
	flex-direction: column;
	gap: 10px;
	width: calc((100% - 20px*(5 - 1)) / 5);
	background: #fff;
	box-shadow: 0 6px 12px rgba(140,152,164,.075);
	padding: 20px 10px;
	border-radius: 5px;
}

.subcategory__img {
	display: block;
	width: 100%;
	height: 100%;
	aspect-ratio: 1;
    object-fit: cover;
    object-fit: contain;
}

.subcategory__title {
	text-align: center;
}

.subcategory__title a {
	color: #262626;
	font-weight: bold;
}

.woocommerce-loadmore {
	text-align: center;
	margin-bottom: 40px;
}

@media (max-width: 1100px) {
	.subcategory {
		width: calc((100% - 20px*(4 - 1)) / 4);
	}
}

@media (max-width: 900px) {
	.subcategory {
		width: calc((100% - 20px*(3 - 1)) / 3);
	}
}


@media (max-width: 768px) {
	.subcategory {
		width: calc((100% - 20px*(2 - 1)) / 2);
	}
}

@media (max-width: 375px) {
	.subcategory {
		width: 100%;
	}
}



@media (max-width:1600px) {
	#header-banner .catalog-wrap .catalog-link-item-wrap {
		justify-content: flex-start;
	}
}






@media (max-width:1600px) {


/* БАЗОВЫЕ СТИЛИ */
.catalog-wrap {
    overflow: hidden;
    position: relative;
}

.grab-scroll {
    display: flex;
    width: max-content;
    animation: scrollLoopUltraFast 5s linear infinite !important;
}

.grab-scroll:hover {
    animation-play-state: paused !important;
}

.catalog-link-item {
    flex: 0 0 auto;
    transition: transform 0.2s ease;
}

.catalog-link-item:hover {
    transform: scale(1.05);
}

/* Градиенты по краям */
.catalog-wrap::before,
.catalog-wrap::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 50px;
    z-index: 2;
    pointer-events: none;
}



/* УЛЬТРА БЫСТРАЯ АНИМАЦИЯ */
@keyframes scrollLoopUltraFast {
    0% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(calc(-110% + 100vw));
    }
    100% {
        transform: translateX(0);
    }
}
}






@media (max-width:991px) {

	.header-actions div:nth-child(1) {
	/* display: none; */
}

.header-actions div:nth-child(2) {
	display: none;
}

#nav-top-brand div:nth-child(2) br {
	display: none;
}

}


@media (max-width:991px) {
	#header #nav-top-wrap {
		height: 65px;
	}

	#header #nav-top-wrap #nav-top-right .header-option .header-actions .actions-search {
		color: rgb(13, 76, 211);
		position: relative;
		bottom: 4px;
	}
}




.row_calc_main {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
}

@media (max-width:1040px) {
	.row_calc_main {
		grid-template-columns: repeat(2, 1fr);
	}

	.calc-wrap svg {
		width: 40px;
		height: 40px;
	}
}

@media (max-width:600px) {
	.row_calc_main {
		grid-template-columns: repeat(1, 1fr);
	}
}



#wrap-listing-agent .agent-item .agent-item-info .agent-buttons a.agent-vcard {
	display: none;
}


#wrap-listing-agent .agent-item .agent-item-info .agent-buttons a.agent-page {
	display: none;
}


.hall-list-body .row div:first-child {
	/*width: 100%;*/
}



.hall-list-body .row div:last-child {
	display: none;
}


#header-banner .header-banner-callout-wrap .header-banner-callout .callout-info-phone {
	transition: 0.15s;
	  background: linear-gradient(135deg, #2F57B8 0%, #3B82F6 100%) !important;
	  width: 100%;
}

/*#header-banner .header-banner-callout-wrap .header-banner-callout .callout-info-phone:hover {
	transition: 0.15s;
	transform: scale(1.03);
}*/












#header-banner .header-banner-callout-wrap .header-banner-callout .callout-info-phone {
    /* Базовые стили элемента */
    /*display: inline-block;*/
    
    /* Анимация пульсации */
    animation: pulse-animation 2s ease-in-out infinite;
}

/* Анимация при наведении */
#header-banner .header-banner-callout-wrap .header-banner-callout .callout-info-phone:hover {
    animation-play-state: paused;
    transform: scale(1.1); /* Небольшое увеличение при наведении */
    transition: transform 0.3s ease;
}

/* Кейфреймы для пульсации */
@keyframes pulse-animation {
    0% {
        transform: scale(1);
        /*opacity: 1;*/
    }
    50% {
        transform: scale(1.15);
        /*opacity: 0.8;*/
    }
    100% {
        transform: scale(1);
        /*opacity: 1;*/
    }
}

.callout-info-phone {
	display: flex;
}


#header-banner .header-banner-callout-wrap .header-banner-callout .callout-info-phone {
    animation: pulse-animation 4s ease-in-out infinite, glow-flow 5s ease-in-out infinite;
}

@keyframes glow-flow {
    0% {
        text-shadow: 0 0 10px #ff6b6b, 0 0 20px #ff6b6b;
    }
    33% {
        text-shadow: 0 0 10px #4ecdc4, 0 0 20px #4ecdc4;
    }
    66% {
        text-shadow: 0 0 10px #45b7d1, 0 0 20px #45b7d1;
    }
    100% {
        text-shadow: 0 0 10px #ff6b6b, 0 0 20px #ff6b6b;
    }
}