.head_catalog_section {
	display: flex;
	justify-content: center;
	align-items: center;
}
.btn_catalog {
	background-color: #0071B8;
	color: white;
	padding: 8px 16px;
	text-decoration: none;
	border-radius: 4px;
	display: inline-block;
	transition: all 0.3s ease;
}
.btn_catalog::after {
	content: " →";
	margin-left: 5px;
}
.btn_catalog:hover {
	background-color: #005a8f;
	color: white;
	transform: translateX(3px);
}
/* --- Основной контейнер каталога --- */
.category-wall {
  padding-left: 10px;
  padding-right: 10px;
  position: relative;
}
.category-wall h2 {
	font-size: 30px;
}
.catalog_main {
    display: flex;
  flex-wrap: nowrap;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  -ms-overflow-style: none;
  scrollbar-width: none;
  padding: 0;               
  margin: 0;
  box-sizing: border-box;
  justify-content: flex-start;
  cursor: grab;
  touch-action: pan-y;
  scroll-padding: 0;
}

.catalog_main {
	scroll-padding-left: 10px;
}
.catalog_main::-webkit-scrollbar {
	display: none;
}

.catalog_main > [class*="col-"] {
  flex: 0 0 auto;
  padding: 0;
  box-sizing: border-box;
}
.catalog_main .col-xs-6 {
	  flex: 0 0 auto;
      padding: 0;
      box-sizing: border-box;
}
.catalog_main>.col-xs-6:first-child {
	margin-left: 0;
}
.category-item {
	scroll-snap-align: start;
    width: 100%;
    box-sizing: border-box;
    transition: transform 0.18s ease;
}
.category-item.placeholder .placeholder-arrow {
	width: 64px;
	height: 64px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: rgba(0, 113, 184, 0.06);
	border: 2px solid rgba(0, 113, 184, 0.16);
	transition: transform .18s ease, background .18s ease;
	margin: 0 auto;
}
.category-item.placeholder .placeholder-arrow svg {
	width: 28px;
	height: 28px;
	display: block;
}
.category-item.placeholder .placeholder-arrow svg path {
	fill: #0071B8 !important;
}
.category-item.placeholder .cat-name span {
	color: #0071B8;
	font-weight: 600;
	font-size: 15px;
}
.category-item.placeholder:hover .placeholder-arrow {
	transform: scale(1.05);
	background: rgba(0, 113, 184, 0.08);
}
@media (max-width: 576px) {
	.category-item.placeholder .placeholder-arrow {
		width: 56px;
		height: 56px;
	}
	.category-item.placeholder .placeholder-arrow svg {
		width: 24px;
		height: 24px;
	}
}
/* Desktop controls under the carousel */

.catalog-controls {
	display: flex;
	gap: 22px;
	justify-content: center;
	align-items: center;
	margin-top: 5px;
}
.catalog-controls button {
	width: 48px;
	height: 48px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: transparent;
	border: 1px solid rgb(237 241 242);
	padding: 0;
	border-radius: 999px;
	cursor: pointer;
	transition: all .18s ease;
	color: #233D63;
	line-height: 0;
}
.catalog-controls button svg {
	width: 20px;
	height: 20px;
	display: block;
}
.catalog-controls button svg path {
	fill: currentColor !important;
}
.catalog-controls button:hover {
	transform: translateY(-3px);
	box-shadow: 0 14px 36px rgba(11, 22, 50, 0.09);
	background: linear-gradient(180deg, #ffffff, #fbfdff);
	color: #005a8f;
}
.catalog-controls button:active {
	transform: translateY(-1px) scale(.99);
}
.catalog-controls button:focus {
	outline: none;
	box-shadow: 0 0 0 4px rgba(0, 113, 184, 0.12);
}
@media (max-width: 992px) {
	.catalog-controls {
		display: none;
	}
}
.category-item {
	transition: transform .18s ease;
}
@media (max-width: 768px) {
	.category-wall h2 {
		font-size: 25px;
	}
	.btn_catalog {
		padding: 6px 12px;
		font-size: 14px;
	}
	.catalog_main {
		gap: 10px;
	}
	:root {
		--av-peek: 75px;
		--av-gap: 10px;
	}
	.catalog_main {
		--peek: var(--av-peek);
		--gap: var(--av-gap);
	}
     .catalog_main [class*="col-"] {
    width: calc((100vw - var(--peek) - 20px - var(--gap)) / 2);
  }
	.catalog_main .col-xs-6 {
		width: calc((100vw - var(--peek) - 20px - var(--gap)) / 2);
	}
	.catalog_main::after {
		content: '';
		flex: 0 0 var(--peek);
	}
	.all-categories-arrow {
		transition: all 0.3s ease;
		display: flex;
		align-items: center;
		justify-content: center;
	}
	.arrow-content {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		height: 100%;
		color: #0071B8;
	}
	.arrow-icon {
		font-size: 36px;
		line-height: 1;
		width: 60px;
		height: 60px;
		color: #0071B8;
		display: flex;
		align-items: center;
		justify-content: center;
		transition: all 0.3s ease;
	}
	@media (max-width: 576px) {
        :root {
            --av-peek: 65px;
        }
		.catalog_main {
			padding-right: 10px;
		}
		.catalog_main {
			--peek: 65px;
		}
          .catalog_main [class*="col-"] {
    width: calc((100vw - var(--peek) - 20px - var(--gap)) / 2);
  }
		.catalog_main .col-xs-6 {
			width: calc((100vw - var(--peek) - 20px - var(--gap)) / 2);
		}
		.catalog_main::after {
			content: '';
			flex: 0 0 var(--peek);
		}
		.catalog_main .col-xs-6:first-child {
			margin-left: 0;
		}
	}
}
/* --- Десктоп --- */

.catalog-fab {
	display: inline-flex;
	align-items: center;
	gap: .4rem;
	margin-left: auto;
	padding: .45rem .9rem;
	border: 1px solid #233D63;
	border-radius: 4px;
	color: #233D63;
	font-size: .9rem;
	text-decoration: none;
	transition: all .2s;
}
.catalog-fab:hover {
	background: #233D63;
	color: #fff;
}
.catalog-fab svg {
	width: 1em;
	height: 1em;
}
.catalog-fab svg:hover {
	stroke: #fff;
}
/* --- Мобильные --- */

@media (max-width:767px) {
	.catalog-fab {
		right: 1rem;
		bottom: 1rem;
		width: 3.5rem;
		height: 3.5rem;
		border-radius: 50%;
		border-color: #233D63;
		color: #233D63;
		justify-content: center;
	}
	.catalog-fab__text {
		display: none;
	}
	.catalog-fab svg {
		width: 1.4rem;
		height: 1.4rem;
	}
}