.product {
    position: relative;
    width: 100%;
}

.product .product__wrapper {
    margin: 0 auto;
    position: relative;
    padding: 0 15px 80px;
    box-sizing: border-box;
}



.product__tabs {
    display: inline-flex;
    margin-bottom: 0;
    border-bottom: 1px solid var(--border-color);
}

.product__container {
    width: calc(100% - 30px);
    margin: 0 auto 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product__title {
    margin: 0;
    
    font-weight: 600;
    font-size: 36px;
    line-height: 42px;
    letter-spacing: 1px;
    color: var(--main-color);
}

.product__tab {
    position: relative;
    display: inline-block;
    font-size: 14px;
    color: var(--main-text-color);
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 0px 20px 16px;
}

.product__tab::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -1px;
    width: 0px;
    height: 2px;
    background-color: var(--accent-color);
    transition: all 0.3s ease 0s;
}

.product__tab._active::after {
    width: 100%;
    left: 0;
}

.product__tab:hover::after {
    width: 100%;
    left: 0;
}
.product__tab._active {
    color: var(--accent-color);
}

.product__slider {
    width: 100%;
}
@media (max-width: 480px) {
    .product__slider {
        width: 100%;
    }
}

.product__arrow-prev {
    left: 0;
}

.product__arrow-next {
    right: 0;
}

.product__slider {
    display: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease-in-out;
}

.product__slider._active {
    display: block;
    visibility: visible;
}

.product__slider._active._visible {
    opacity: 1;
}

.c-carousel__content .swiper-button-next {
    background-image: none !important;
}

.c-carousel__content .swiper-button-prev {
    background-image: none !important;
}

.swiper-button-next {
    left: auto;
    width: 27px;
    height: 44px;
}

.product .swiper-button-next {
    right: -10px;
}

.product .swiper-button-prev {
    left: -25px;
}

@media (max-width: 1600px) {
    .product .swiper-button-next {
        right: 5px;
    }
    .product .swiper-button-prev {
        left: -5px;
    }
}

.product .owl-nav.disabled {
    display: none;
    visibility: hidden;
}

.product:hover .swiper-button-next,
.product:hover .swiper-button-prev {
    opacity: 1;
}

.product .swiper-button-next:hover::after,
.product .swiper-button-prev:hover::after {
    color: var(--accent-color);
}

.product .swiper-button-next,
.product .swiper-button-prev {
    transition: all 0.4s ease-in-out;
    opacity: 0;
    position: absolute;
    top: 50%;
}

.product .swiper-button-next::after {
    position: absolute;
    top: 0;
    left: 0;
    content: '\F0142';
    color: var(--main-color);
    display: inline-block;
    font: normal normal normal 24px/1 "Material Design Icons";
    font-size: 40px;
    text-rendering: auto;
    line-height: 1;
    transition: all 0.4s ease-in-out;
    -webkit-font-smoothing: antialiased;
    opacity: 1;
}

.product .swiper-button-prev::after {
    position: absolute;
    top: 0;
    left: 0;
    content: '\F0142';
    color: var(--main-color);
    display: inline-block;
    font: normal normal normal 24px/1 "Material Design Icons";
    font-size: 40px;
    text-rendering: auto;
    line-height: 1;
    transition: all 0.4s ease-in-out;
    -webkit-font-smoothing: antialiased;
    opacity: 1;
    transform: rotate(180deg);
}

@media (max-width: 1199px) {
    .product__title {
        font-size: 30px;
    }
    .product__label {
        padding: 8px 16px;
    }
}

@media (max-width: 991px) {
    .product__arrow-container {
        display: flex;
        height: 50px;
        justify-content: center;
        margin-top: 40px;
    }
    .product .swiper-button-next,
    .product .swiper-button-prev {
        opacity: 1;
    }
    .product__arrow-next {
        position: static;
        margin: 0;
        opacity: 1;
    }
    .product__arrow-prev {
        position: static;
        height: fit-content;
        margin: 0;
        opacity: 1;
    }
    .product .c-carousel .owl-prev {
        position: static;
    }
    .product .c-carousel .owl-next {
        position: static;
    }
    .product .c-carousel .owl-prev .swiper-button-prev {
        position: static;
        width: 40px;
        height: 40px;
    }
    .product .c-carousel .owl-next .swiper-button-next {
        position: static;
        width: 40px;
        height: 40px;
    }
    .product .c-carousel .swiper-button-prev::after {
        opacity: 1;
        position: static;
    }
    .product .c-carousel .swiper-button-next::after {
        position: static;
        opacity: 1;
    }
    .product .c-carousel .owl-nav {
        display: flex;
        justify-content: center;
        margin-top: 40px;
    }
    .product__tab {
        padding: 8px 3px;
    }
}



@media (max-width: 767px) {
    .product__title {
        font-size: 24px;
        line-height: 32px;
        margin-bottom: 10px;
    }
    .product .product__wrapper {
        padding: 0 0 30px;
    }
    .product__slider {
        padding: 0;
    }
    .product {
        margin-bottom: 0;
    }
    .product__tab::after {
        display: none;
    }
    .product__tab {
        background: var(--accent-background-color);
        color: var(--main-text-color);
        border-radius: 100px;
        padding: 8px 10px;
        margin: 0 5px;
        text-transform: none;
    }
    .product__container {
        width: calc(100% - 10px);
    }
    .product__tab:hover,
    .product__tab._active {
        background: var(--accent-color);
        color: var(--secondary-text-color);
    }
    .product__tabs {
        border-bottom: none;
    }
}

@media (max-width: 610px) {
    .product__container {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 500px) {
    .product .product__wrapper {
        padding: 30px 0 30px;
    }
}

@media (max-width: 480px) {
    .product__title {
        font-size: 22px;
    }
    .product__label {
        font-size: 13px;
        padding: 6px 10px;
    }
}