﻿.sh-home .sh-tabs {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	width: max-content;
	margin-right: auto;
	margin-bottom: 26px;
	margin-left: auto;
	padding: 6px;
	border: 1px solid rgba(28, 122, 190, 0.08);
	border-radius: 9px;
	background: rgba(255, 255, 255, 0.98);
	box-shadow: 0 8px 24px rgba(18, 74, 126, 0.08);
}

.sh-home .sh-tabs__button,
.sh-home .sh-journey__tabs button,
.sh-home .sh-videos__tabs button {
	min-height: 44px;
	margin: 0;
	padding: 0 28px;
	border: 0;
	background: #fff;
	color: var(--sh-text);
	font-size: 15px;
	font-weight: 600;
}

.sh-home .sh-tabs__button:first-child,
.sh-home .sh-journey__tabs button:first-child,
.sh-home .sh-videos__tabs button:first-child {
	border-radius: 8px 0 0 8px;
}

.sh-home .sh-tabs__button:last-child,
.sh-home .sh-journey__tabs button:last-child,
.sh-home .sh-videos__tabs button:last-child {
	border-radius: 0 8px 8px 0;
}

.sh-home .sh-tabs .sh-tabs__button {
	min-width: 215px;
	background: transparent;
	border-radius: 6px;
}

.sh-home .sh-tabs__button.is-active,
.sh-home .sh-journey__tabs button.is-active,
.sh-home .sh-videos__tabs button.is-active {
	background: var(--sh-primary);
	color: #fff;
}

.sh-home .sh-equipment__panel {
	display: none;
}

.sh-home .sh-equipment__panel.is-active {
	display: block;
}

.sh-home .sh-equipment__carousel {
	position: relative;
}

.sh-home .sh-equipment__slider.swiper {
	padding: 0 2px;
	overflow: hidden;
}

.sh-home .sh-equipment__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
}

.sh-home .sh-equipment__slider.swiper .sh-equipment__grid {
	display: flex;
	gap: 0;
}

.sh-home .sh-equipment__item {
	min-width: 0;
	height: auto;
	border: 1px solid rgba(28, 122, 190, 0.08);
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 10px 28px rgba(18, 74, 126, 0.08);
	overflow: hidden;
}

.sh-home .sh-equipment__item.is-hidden {
	display: none;
}

.sh-home .sh-equipment__item img {
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: contain;
	background: #d7e8f6;
}

.sh-home .sh-equipment__item h3 {
	margin: 0;
	min-height: 54px;
	padding: 12px 14px;
	color: var(--sh-text);
	font-size: 15px;
	font-weight: 620;
	line-height: 1.35;
	display: flex;
	align-items: center;
}

.sh-home .sh-equipment__cta {
	display: flex;
	width: max-content;
	margin: 30px auto 0;
}

.sh-home .sh-equipment__arrow {
	position: absolute;
	top: 42%;
	z-index: 2;
	display: flex;
	flex: 0 0 38px;
	align-items: center;
	justify-content: center;
	width: 38px;
	min-width: 38px;
	height: 38px;
	min-height: 38px;
	aspect-ratio: 1;
	max-width: 38px;
	margin: 0;
	padding: 0;
	border: 1px solid #b7dff7;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 10px 24px rgba(23, 56, 88, 0.08);
	color: transparent;
	font-size: 0;
	line-height: 0;
	transform: translateY(-50%);
	cursor: pointer;
}

.sh-home .sh-equipment__arrow::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 8px;
	height: 8px;
	border-top: 2px solid var(--sh-primary);
	border-right: 2px solid var(--sh-primary);
	transform: translate(-65%, -50%) rotate(45deg);
}

.sh-home .sh-equipment__arrow--prev::before {
	transform: translate(-35%, -50%) rotate(225deg);
}

.sh-home .sh-equipment__arrow--prev {
	left: -19px;
}

.sh-home .sh-equipment__arrow--next {
	right: -19px;
}

.sh-home .sh-equipment__arrow.swiper-button-disabled {
	opacity: 1;
	cursor: pointer;
}

@media (max-width: 767px) {
	.sh-home .sh-tabs {
		width: 100%;
		justify-content: flex-start;
		overflow-x: auto;
		margin-bottom: 14px;
	}

	.sh-home .sh-tabs .sh-tabs__button {
		min-width: 154px;
	}

	.sh-home .sh-tabs__button {
		min-height: 38px;
		padding: 0 16px;
		font-size: 13px;
		white-space: nowrap;
	}

	.sh-home .sh-equipment__grid {
		grid-template-columns: 1fr 1fr !important;
		gap: 10px;
	}

	.sh-home .sh-equipment__slider.swiper .sh-equipment__grid {
		display: flex;
	}

	.sh-home .sh-equipment__item {
		border-radius: 0;
	}

	.sh-home .sh-equipment__item img {
		height: auto;
	}

	.sh-home .sh-equipment__item h3 {
		min-height: 32px;
		padding: 8px;
		font-size: 13px;
	}

	.sh-home .sh-equipment__arrow {
		flex-basis: 34px;
		width: 34px;
		min-width: 34px;
		height: 34px;
		min-height: 34px;
		max-width: 34px;
	}

	.sh-home .sh-equipment__arrow--prev {
		left: -12px;
	}

	.sh-home .sh-equipment__arrow--next {
		right: -12px;
	}
}
