@media (min-width: 1400px) {
    .container {
        max-width: 80%;
    }
}

@media (max-width: 991px) {
    header {
        height: unset;
    }

    .header-wrap {
        display: grid !important;
        grid-template-columns: 1fr 85px;
    }

    .header-logo {
        grid-column: 1 / span 2;
        justify-self: center;
    }

    .header-search {
        max-width: 100%;
    }

    .detail-course__right {
        transform: translateX(200%);
        max-width: 320px;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }

    .show-category-course .detail-course__right {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .detail-course__left {
        width: 100%;
    }

    .detail-course__body .bg-overlay {
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100%;
        z-index: 4;
        transition: all 0.3s ease;
        background-color: rgb(33 31 31 / 64%);
        backdrop-filter: blur(4px);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }

    .show-category-course .detail-course__body .bg-overlay {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .button-swiper {
        width: 30px;
        height: 30px;
    }

}

@media (max-width: 375px) {
    .detail-course__bottom .detail-course__link {
        padding: 5px 10px;
        min-width: 100px;
    }
}
