.hero-slider {
    width: 100%;
    /* height: 595px; */
    margin: 0 auto;
    overflow: hidden;
    position: relative;
}

.swiper-slide a {
    display: block;
    width: 100%;
}

@media only screen and (min-width: 1250px) {
    .hero-slider {
        height: calc(100vw * 0.305);
    }
}

.hero-slider .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.hero-slider .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-slider .swiper-pagination {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    max-width: 1628px;
    width: 100%;
    padding: 0 1rem;
    background: rgba(0, 0, 0, .7);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 10;
    border-radius: .25rem;
}

.hero-slider .swiper-pagination button {
    color: #fff;
    padding: 1.25em 0 1em 0;
    text-align: center;
    width: 100%;
    background: transparent;
    border: none;
    flex: 0 1 33.33%;
    position: relative;
    margin: 0 4px;
    cursor: pointer;
}

.hero-slider .swiper-pagination button::after {
    content: '';
    position: absolute;
    top: 0px;
    left: 0;
    right: 0;
    width: 100%;
    height: 2px;
    background: #fff;
    opacity: 0;
    transition: opacity .15s ease-out;
}

.hero-slider .swiper-pagination button.active::after {
    opacity: 1;
}

/* Recomended categories */
.recommended-cat .categories {
    background: var(--white-bag);
    border-radius: .25rem;
    display: flex;
    justify-content: center;
    padding: 1rem 0;
    gap: 2rem;
    margin-top: 2rem;
}

.recommended-cat .categories button {
    border: none;
    background: transparent;
    padding: 0;
    font-weight: 500;
    cursor: pointer;
}

.recommended-cat .categories button:hover {
    text-decoration: var(--decoration);
}

.recommended-cat .tab {
    display: none;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
    padding-top: 1rem;
}

.recommended-cat .tab.visible {
    display: grid;
}

.recommended-cat .tab a {
    display: flex;
    flex-direction: column;
    height: auto;
    background: var(--white-bag);
    border-radius: .25rem;
    align-items: center;
    padding: 1rem;
    gap: 1rem;
}

.recommended-cat .tab img {
    max-width: 250px;
    max-height: 250px;
    object-fit: cover;
    width: 100%;
}

.recommended-cat .tab span {
    color: var(--text-dark);
    font-weight: 500;
    text-align: center;
    height: 100%;
    display: flex;
    align-items: center;
}

.recommended-cat .tab a:hover span {
    text-decoration: var(--decoration);
}

/* Posts slider */
.home-blog.swiper {
    padding-top: 2rem;
}

.home-blog.swiper article {
    background: var(--white-bag);
    height: auto;
}

/* Manufacturers */
.manufacturers .swiper-slide {
    padding: 1rem; 
}

.manufacturers img {
    filter: grayscale(100%);
    max-height: 175px;
}

.manufacturers .swiper {
    padding-top: 2rem;
    padding-bottom: 4rem;
}

.manufacturers .swiper .swiper-slide {
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 1660px) {
	.hero-slider .swiper-pagination {
		max-width: unset;
		width: calc(100vw - 2rem);
	}
}