.trec_opinion_home {
    background-color: var(--colorBlack);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.trec_opinion_home .trec_opinion_back {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    background-image: url('/sklep/modules/trecopinion/views/img/home_opinions_widget.jpg');
    /* background-color: #343434; */
    background-position: bottom center;
    background-repeat: no-repeat;
}

.trec_opinion_home .trec_opinion_content {
    z-index: 2;
    width: 90%;
    max-width: 1320px;
}

.trec_opinion_home .trec_opinion_content .top .title {
    font-size: 23px;
    font-weight: 700;
    color: #fff;
}

@media screen and (max-width: 767px) {
    .trec_opinion_home .trec_opinion_content .top {
        justify-content: space-between;
    }
}

.trec_opinion_home .trec_opinion_content .opinions-summary {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 7px 15px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: max-content;
}

.opinions-summary-score {
    font-size: 25px;
    font-weight: 700;
    color: #202020;
}

.opinions-summary-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.opinions-summary-text {
    font-size: 10px;
    font-weight: 600;
    color: #202020;
    margin: 0;
}

.opinions-summary-text .opinions-summary-yellow {
    color: #f7a600;
    font-weight: 700;
}

@media screen and (min-width: 768px) {
    .trec_opinion_home .trec_opinion_content .top .title {
        font-size: 30px;
    }

    .opinions-summary-score {
        font-size: 35px;
    }

    .opinions-summary-stars i.material-icons {
        font-size: 28px;
    }

    .opinions-summary-text {
        font-size: 13px;
    }

    .trec_opinion_home .trec_opinion_content .opinions-summary {
        padding: 12px 20px;
    }
}

.trec_opinion_home .trec_opinion_content .opinions {
    width: 100%;
}

.trec_opinion_home .trec_opinion_content .opinions .opinion {
    display: block;
    background-color: #fff;
    padding: 25px;
    margin-right: 10px;
    height: 230px;
    flex: 1;
}

.trec_opinion_home .trec_opinion_content .opinions .opinion .n {
    font-size: 17px;
    font-weight: 700;
}

.trec_opinion_home .trec_opinion_content .opinions .opinion .g {
    display: flex;
    color: #aeaeae;
    font-size: 15px;
    align-items: center;
    line-height: 1;
    margin: 10px 0;
}

.trec_opinion_home .trec_opinion_content .opinions .opinion .g .stars {
    display: flex;
    align-items: center;
    margin-right: 10px;
    margin-top: -3px;
}

.trec_opinion_home .trec_opinion_content .opinions .opinion .g .stars .star {
    width: 18px;
    cursor: pointer;
    margin: 0;
    color: #CACACA;
}

.trec_opinion_home .trec_opinion_content .opinions .opinion .g .stars .star svg {
    width: 100%;
    height: auto;
    color: inherit;
}

.trec_opinion_home .trec_opinion_content .opinions .opinion .g .stars .star.gold svg {
    color: #000;
}

.trec_opinion_home .trec_opinion_content .opinions .opinion .c {
    font-size: 15px;
    font-weight: 400;
    margin-bottom: 10px;
    height: 90px;
    overflow: hidden;
    position: relative;
}

.trec_opinion_home .trec_opinion_content .opinions .opinion .c .c_2 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

.trec_opinion_home .trec_opinion_content .opinions .opinion .x {
    font-size: 14px;
    font-weight: 400;
    color: #2C8A00;
    margin-top: auto;
}

@media (min-width: 992px) {
    .trec_opinion_home {
        height: 610px;
        /* margin-bottom: -40px; */
    }

    .trec_opinion_home .trec_opinion_back {
        height: 610px;
    }

    .trec_opinion_home .trec_opinion_content .top {
        margin-bottom: 25px;
    }

    /* .trec_opinion_home .owl-theme .owl-dots .owl-dot span{
        width: 50px;
        height: 5px;
    } */
    .trec_opinion_home .owl-theme .owl-nav {
        position: absolute;
        top: -80px;
        right: 0;
    }

    .trec_opinion_home .owl-theme .owl-nav button {
        width: 40px;
        height: 40px;
        background-color: #fff;
        border-radius: 20px;
    }

    .trec_opinion_home .owl-theme .owl-dots {
        margin-top: 30px;
    }
}

@media (max-width: 991px) {
    .trec_opinion_home {
        /* margin-bottom: -40px; */
        overflow: hidden;
    }

    .trec_opinion_home .trec_opinion_back {
        top: 0;
        bottom: 0;
    }

    .trec_opinion_home .trec_opinion_content .top {
        margin-bottom: 25px;
        margin-top: 25px;
    }

    .trec_opinion_home .owl-carousel .owl-stage-outer {
        overflow: initial;
    }

    .trec_opinion_home .owl-theme .owl-nav {
        display: none;
    }

    /* .trec_opinion_home .owl-theme .owl-dots .owl-dot span{
        width: 20px;
        height: 5px;
    } */
    .trec_opinion_home .owl-theme .owl-dots {
        margin-top: 30px;
        margin-bottom: 30px;
    }

}

.trec_opinion_content .owl-theme .owl-dots {
    display: flex !important;
    width: 100%;
    margin: 40px auto 10px auto !important;
    gap: 5px;
    justify-content: space-between;
}

.trec_opinion_content .owl-theme .owl-dots .owl-dot {
    flex: 1 1 0% !important;
    display: block !important;
    height: 6px !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border: none !important;
}

.trec_opinion_content .owl-theme .owl-dots .owl-dot span {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    background-color: rgba(255, 255, 255, 0.2) !important;
    border-radius: 3px !important;
    transition: background-color 0.3s ease !important;
}

.trec_opinion_content .owl-theme .owl-dots .owl-dot.active span {
    background-color: #ffffff !important;
}

.trec_opinion_content .owl-theme .owl-dots .owl-dot:hover span {
    background-color: rgba(255, 255, 255, 0.5) !important;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.custom-comments-filter .filter-dropdown-btn {
    background: #fff;
    border: 1px solid #dcdcdc;
    border-radius: 8px;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 225px;
    color: #333;
    font-weight: 500;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.custom-comments-filter .filter-dropdown-btn::after {
    display: none;
}

.custom-comments-filter .filter-icon,
.custom-comments-filter .filter-chevron {
    font-size: 20px;
    color: #333;
}

.custom-comments-filter .filter-icon {
    margin-right: 12px;
}

.custom-comments-filter .filter-chevron {
    margin-left: auto;
}

.custom-comments-filter .filter-dropdown-menu {
    width: auto;
    border: 1px solid #ebebeb;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    padding: 0;
    margin-top: 8px;
    overflow: hidden;
    z-index: 2;
}

.custom-comments-filter .filter-dropdown-menu .dropdown-header {
    padding: 12px 16px;
    color: #333;
    font-size: 14px;
    border-bottom: 1px solid #ebebeb;
    margin: 0;
}

.custom-comments-filter .filter-dropdown-menu .dropdown-item {
    display: flex;
    align-items: center;
    padding: 10px 16px;
    border-bottom: 1px solid #ebebeb;
    background: #fff;
    color: #333;
    font-size: 14px;
    cursor: pointer;
}

.custom-comments-filter .filter-dropdown-menu .dropdown-item:last-child {
    border-bottom: none;
}

.custom-comments-filter .filter-dropdown-menu .dropdown-item .filter-label:active {
    color: #333;
}

.custom-comments-filter .filter-dropdown-menu .dropdown-item:hover,
.custom-comments-filter .filter-dropdown-menu .dropdown-item:focus {
    background: #f9f9f9;
    color: #333;
}

.custom-comments-filter .filter-dropdown-menu .dropdown-item.active {
    background: #ebebeb;
    color: #333;
}

.custom-comments-filter .filter-dropdown-menu .dropdown-item.active .filter-check {
    opacity: 1;
}

.custom-comments-filter .filter-stars {
    display: inline-flex;
    width: 85px;
    margin-right: 12px;
    font-size: 16px;
    letter-spacing: 2px;
}

.custom-comments-filter .filter-stars .star-yellow {
    color: #ffb400;
}

.custom-comments-filter .filter-stars .star-gray {
    color: #e0e0e0;
}

.custom-comments-filter .filter-label {
    flex-grow: 1;
}

.custom-comments-filter .filter-count {
    color: #888;
}

.custom-comments-filter .filter-check {
    font-size: 18px;
    color: #333;
    font-weight: bold;
    opacity: 0;
}


.trec_opinion_content .owl-item {
    min-width: 250px;
}

.trec_opinion_content .owl-carousel .owl-stage {
    display: flex !important;
    flex-wrap: nowrap !important;
}

.trec_opinion_content .owl-carousel .owl-item {
    float: none !important;
    display: block !important;
}

#trec_opinion_home,
.trec_opinion_content,
.opinions-carousel-wrapper {
    overflow: visible !important;
    position: relative !important;
    z-index: 999 !important;
}

.custom-comments-filter .dropdown-menu.filter-dropdown-menu {
    z-index: 99999 !important;
}
html{
    overflow-x: hidden;
}