.andpak-carousel-section {
    padding: 42px 0 50px;
    overflow: hidden;
}

.andpak-carousel-heading {
    margin: 0 0 58px;
    text-align: center;
    font-size: 34px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: .2px;
}

.andpak-carousel-wrap {
    position: relative;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 70px;
}

.andpak-carousel-viewport {
    overflow: hidden;
    width: 100%;
}

.andpak-carousel-track {
    display: flex;
    gap: 20px;
    transition: transform .35s ease;
    will-change: transform;
}

.andpak-card {
    flex: 0 0 calc((100% - 60px) / 4);
    min-height: 380px;
    padding: 18px 22px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-sizing: border-box;
}

.andpak-card-image-wrap {
    width: 100%;
    height: 170px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
}

.andpak-card-image {
    max-width: 100%;
    max-height: 165px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.andpak-card-title {
    min-height: 54px;
    margin: 0 0 34px;
    color: #303743;
    font-size: 19px;
    line-height: 1.12;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

.andpak-card-button {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 142px;
    min-height: 46px;
    padding: 0 24px;
    border-radius: 999px;
    color: #fff !important;
    text-decoration: none !important;
    font-size: 15px;
    line-height: 1;
    font-weight: 800;
}

.andpak-card-button:hover,
.andpak-card-button:focus {
    filter: brightness(.94);
    color: #fff !important;
}

.andpak-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border: 1.8px solid #18324a;
    border-radius: 50%;
    background: transparent;
    color: #18324a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 52px;
    line-height: 32px;
    font-weight: 300;
    cursor: pointer;
    z-index: 2;
    padding: 0 0 6px;
}

.andpak-arrow-prev {
    left: 0;
}

.andpak-arrow-next {
    right: 0;
}

.andpak-arrow:hover,
.andpak-arrow:focus {
    background: rgba(24, 50, 74, .08);
    outline: none;
}

@media (max-width: 1024px) {
    .andpak-carousel-wrap {
        max-width: 760px;
    }

    .andpak-card {
        flex-basis: calc((100% - 20px) / 2);
    }
}

@media (max-width: 767px) {
    .andpak-carousel-section {
        padding: 32px 0 38px;
    }

    .andpak-carousel-heading {
        margin-bottom: 32px;
        font-size: 28px;
    }

    .andpak-carousel-wrap {
        padding: 0 52px;
    }

    .andpak-card {
        flex-basis: 100%;
    }

    .andpak-arrow {
        width: 36px;
        height: 36px;
        font-size: 46px;
    }
}
