/* TRUSTMATE HP STYLES */
.trustmate-widget-wrapper::before {
    content: "Sprawdź Nasze Opinie";
    display: block;
    width: 100%;
    text-align: center;
    font-family: "Times New Roman", Times, serif;
    font-style: italic;
    font-size: 42px;
    font-weight: 400;
    color: #000;
    margin-top: 40px;
    margin-bottom: 20px;
}

.hydra-main-box__tabs-desktop,
.hydra-main-box__sort-button-list-wrapper,
.hydra-main-reviews__show-more,
.hydra-grade__stars,
.hydra-grade__verified,
.hydra-grade__logo,
.tm-omnibus-modal__icon,
.hydra-main-box__sort
{
    display: none !important;
}

.tm-widget,
.hydra-main-box,
.hydra-main-box__section,
.tm-light-mode .hydra-main-box__section {
    background-color: transparent !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.hydra-main-box__extra-modules-wrapper {
    display: block !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    height: 0 !important;
    position: static !important;
}

.hydra-grade,
.tm-light-mode .hydra-grade {
    background-color: transparent !important;
    box-shadow: none !important;
    border: none !important;
    margin-bottom: 40px !important;
    padding: 0 !important;
    min-width: auto !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 15px !important;
}

.hydra-grade__value::before {
    content: "";
    display: inline-block;
    width: 50px;
    height: 50px;
    background: url('https://trustmate.io/images/stars/tm-full-star.svg') no-repeat center center;
    background-size: contain;
    vertical-align: middle;
    margin-right: 15px;
    transform: translateY(-6px);
}

.hydra-grade__value {
    font-size: 48px !important;
    font-weight: 700 !important;
    color: #000 !important;
    line-height: 1 !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
}

.hydra-grade__reviews {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    font-size: 13px !important;
    line-height: 1.3 !important;
    color: #666 !important;
}

.hydra-grade__reviews-count {
    font-weight: 600 !important;
    color: #000 !important;
    font-size: 14px !important;
}

.trustmate-widget-wrapper {
    position: relative !important;
    padding-bottom: 90px !important;
}

.tm-omnibus-modal__button {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-end !important;
    justify-content: center !important;

    position: relative !important;
    right: 10px !important;
    left: 15%;

    z-index: 9999 !important;
    background: transparent !important;
    width: auto !important;
    height: auto !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: none !important;
}

.tm-omnibus-modal__button span {
    color: #999 !important;
    font-size: 10px !important;
    text-decoration: underline !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    font-weight: 400 !important;
    display: block !important;
}

.hydra-main-reviews__grid,
.hydra-main-reviews__grid--reviews {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 40px !important;
    height: auto !important;
    position: relative !important;
    margin-bottom: 20px;
}

.hydra-main-reviews__review-wrapper,
.tm-light-mode .hydra-main-reviews__review-wrapper {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    width: 100% !important;
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    transform: none !important;
    display: flex !important;
    flex-direction: column !important;
}

.hydra-main-reviews__row {
    display: block !important;
    position: static !important;
}

.hydra-main-reviews__name {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #000 !important;
    margin-bottom: 5px !important;
    display: block !important;
}

.hydra-main-reviews__stars {
    display: flex !important;
    margin-bottom: 25px !important;
}

.hydra-main-reviews__stars img {
    filter: grayscale(100%) brightness(0%);
    width: 14px !important;
    height: auto !important;
}

.hydra-main-reviews__verified {
    display: flex !important;
    position: absolute !important;
    top: 80px;
    font-size: 11px !important;
    color: #999 !important;
    align-items: center !important;
    margin: 0 !important;
    gap: 5px !important;
}

.hydra-main-reviews__verified .tm-icon {
    filter: none !important;
}

.tm-abuse-report {
    display: none !important;
}

.hydra-main-reviews__text {
    font-family: sans-serif;
    font-size: 14px !important;
    line-height: 1.6 !important;
    color: #333 !important;
    margin-top: 5px !important;
    clear: both !important;
}

.hydra-main-reviews__created-at {
    font-size: 12px !important;
    color: #ccc !important;
    margin-top: 10px !important;
}

.tm-show-limited {
    max-height: 380px !important;
    overflow: hidden !important;
    position: relative !important;
    transition: max-height 0.5s ease-in-out;
}

.tm-show-limited::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 80%);
    z-index: 10;
    pointer-events: none;
}

#tm-show-more-btn {
    display: block !important;
    margin: 0 auto 0 auto !important;
    padding: 16px 48px !important;
    background-color: #000 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 0 !important;
    font-size: 13px !important;
    font-weight: 700;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    cursor: pointer !important;
    transition: background-color 0.3s;
    width: auto !important;
    position: relative;
    z-index: 20;
}

#tm-show-more-btn:hover {
    background-color: #333 !important;
}

.tm-button-wrapper {
    margin-bottom: 20px;
    padding-bottom: 0px;
}

@media (max-width: 992px) {
    .hydra-main-reviews__grid,
    .hydra-main-reviews__grid--reviews {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .trustmate-widget-wrapper::before {
        font-size: 32px;
    }

    .tm-omnibus-modal__button {
        position: relative !important;
        align-items: center !important;
        margin: 20px auto 0 auto !important;
        float: none !important;
        right: auto !important;
        bottom: auto !important;
    }

    .hydra-main-reviews__grid,
    .hydra-main-reviews__grid--reviews {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }

    .tm-show-limited {
        max-height: 550px !important;
    }
}

/* TRUSTMATE PDP STYLES */
body.catalog-product-view .hydra-main-box__tabs-desktop,
body.catalog-product-view .tm-omnibus-modal__button,
body.catalog-product-view .hydra-grade__stars,
body.catalog-product-view .hydra-grade__logo,
body.catalog-product-view .hydra-grade__verified,
body.catalog-product-view .tm-hydra-button__show-all,
body.catalog-product-view .tm-abuse-report {
    display: none !important;
}

body.catalog-product-view .tm-hydra,
body.catalog-product-view .hydra-main-box,
body.catalog-product-view .hydra-main-box__section,
body.catalog-product-view .hydra-main-reviews__list-review-wrapper,
body.catalog-product-view .tm-hydra-main-reviews {
    background-color: transparent !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    margin-top: 20px !important;
}

body.catalog-product-view .hydra-grade {
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin-bottom: 30px !important;
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 15px !important;
    min-width: auto !important;
}

body.catalog-product-view .hydra-grade__value::before {
    content: "★";
    color: #FF8000;
    font-size: 0.8em;
    margin-right: 10px;
}

body.catalog-product-view .hydra-grade__value {
    font-size: 42px !important;
    font-weight: 700 !important;
    color: #000 !important;
    margin: 0 !important;
    line-height: 1 !important;
}

body.catalog-product-view .hydra-grade__reviews {
    text-align: left !important;
    font-size: 13px !important;
    color: #666 !important;
    line-height: 1.3 !important;
}

body.catalog-product-view .hydra-grade__reviews-count {
    font-weight: 600 !important;
    font-size: 13px !important;
    color: #000 !important;
}

body.catalog-product-view .tm-filter-reviews__header-box--active {
    background-color: #000 !important;
    border-radius: 0 !important;
    border: none !important;
    padding: 8px 24px !important;
}

body.catalog-product-view .tm-filter-reviews__header-box--active .tm-filter-reviews__header-title {
    color: #fff !important;
    font-weight: 600 !important;
}

body.catalog-product-view .tm-filter-reviews__header-box:not(.tm-filter-reviews__header-box--active) {
    background-color: #f5f5f5 !important;
    border-radius: 0 !important;
}

body.catalog-product-view .hydra-main-reviews__list-review {
    display: grid !important;
    grid-template-columns: 250px 1fr !important;
    grid-template-rows: auto auto auto auto !important;
    border-bottom: 1px solid #e5e5e5 !important;
    padding: 30px 0 !important;
    gap: 5px 20px !important;
    align-items: start !important;
}

body.catalog-product-view .hydra-main-reviews__row:has(.hydra-main-reviews__name) {
    grid-column: 1;
    grid-row: 1;
    margin-bottom: 0 !important;
    display: block !important;
}

body.catalog-product-view .hydra-main-reviews__name {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #000 !important;
    margin-right: 0 !important;
    display: block !important;
    width: 100% !important;
}

body.catalog-product-view .hydra-main-reviews__row[data-tm-review-grade] {
    grid-column: 1;
    grid-row: 2;
    margin-top: 5px !important;
    margin-bottom: 5px !important;
}

body.catalog-product-view .hydra-main-reviews__stars img {
    filter: grayscale(100%) brightness(0%) !important;
    width: 14px !important;
    height: auto !important;
}

body.catalog-product-view .hydra-main-reviews__row:has(.hydra-main-reviews__created-at) {
    grid-column: 1;
    grid-row: 3;
    margin-top: 0 !important;
}

body.catalog-product-view .hydra-main-reviews__created-at {
    font-size: 12px !important;
    color: #888 !important;
    margin: 0 !important;
}

body.catalog-product-view .hydra-main-reviews__row--likes {
    grid-column: 1;
    grid-row: 4;
    display: flex !important;
    justify-content: flex-start !important;
    margin-top: 15px !important;
}

body.catalog-product-view .tm-widget__vote {
    border: 1px solid #eee !important;
    background: #fff !important;
    border-radius: 4px !important;
    margin-right: 10px !important;
    padding: 5px 10px !important;
}

body.catalog-product-view .hydra-main-reviews__verified {
    display: flex !important;
    position: absolute !important;
    top: 30px !important;
    left: 270px !important;
    width: auto !important;
    height: auto !important;
    align-items: center !important;
    gap: 4px !important;
    font-size: 11px !important;
    color: #999 !important;
    z-index: 5 !important;
}

body.catalog-product-view .hydra-main-reviews__verified .tm-icon {
    width: 14px !important;
    height: 14px !important;
}

body.catalog-product-view .hydra-main-reviews__row:has(.hydra-main-reviews__text) {
    grid-column: 2;
    grid-row: 2 / span 3;
    padding-left: 0 !important;
    margin-top: 0 !important;
}

body.catalog-product-view .hydra-main-reviews__text {
    font-family: sans-serif;
    font-size: 14px !important;
    line-height: 1.6 !important;
    color: #333 !important;
    margin: 0 !important;
}

body.catalog-product-view .hydra-main-reviews__show-more {
    display: flex !important;
    justify-content: center !important;
    margin-top: 40px !important;
    padding-bottom: 20px !important;
}

body.catalog-product-view .tm-hydra-button__show-more {
    background-color: #000 !important;
    color: #fff !important;
    border-radius: 0 !important;
    padding: 16px 48px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    border: none !important;
    width: auto !important;
    min-width: 200px;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

body.catalog-product-view .tm-hydra-button__show-more:hover {
    background-color: #333 !important;
}

body.catalog-product-view .tm-hydra-button .tm-loader {
    display: none !important;
}

@media (max-width: 768px) {
    body.catalog-product-view .hydra-main-reviews__list-review {
        display: flex !important;
        flex-direction: column !important;
        padding-bottom: 20px !important;
    }

    body.catalog-product-view .hydra-main-reviews__row:has(.hydra-main-reviews__name),
    body.catalog-product-view .hydra-main-reviews__row:nth-child(2),
    body.catalog-product-view .hydra-main-reviews__row[data-tm-review-grade],
    body.catalog-product-view .hydra-main-reviews__row:has(.hydra-main-reviews__created-at),
    body.catalog-product-view .hydra-main-reviews__row:has(.hydra-main-reviews__text),
    body.catalog-product-view .hydra-main-reviews__row--likes {
        width: 100% !important;
        grid-column: auto !important;
        grid-row: auto !important;
        margin-bottom: 5px !important;
    }

    body.catalog-product-view .hydra-main-reviews__verified {
        position: static !important;
        margin-top: 5px !important;
        margin-bottom: 10px !important;
    }

    body.catalog-product-view .hydra-main-reviews__row:has(.hydra-main-reviews__text) {
        margin-top: 10px !important;
    }
}


.tm-multihornet {
    visibility: visible !important;
    opacity: 1 !important;
}

.tm-multihornet__wrapper {
    flex-direction: column !important;
}

.tm-hornet-container .tm-hornet-wrapper .tm-grade-label__text {
    display: none !important;
}

.tm-multihornet__wrapper .tm-grade-label__text {
    display: none !important;
}

.tm-ferret2 .tm-carousel__created-at {
    bottom: 10px;
    position: relative;
}

.tm-ferret2 .tm-carousel__review-content {
    border-radius: inherit;
    height: 100%;
    max-height: 100%;
    overflow: hidden;
    position: relative;
    border-radius: 12px;
    border: 2px solid transparent;
    background-image: linear-gradient(white, white), linear-gradient(to right, black, white);
    background-origin: border-box;
    background-clip: padding-box, border-box;
}

.tm-ferret2 .tm-carousel__image--origin {
    box-shadow: none !important;
    background-color: rgba(0, 0, 0, 0) !important;
}

.tm-ferret2 .tm-carousel__track {
    max-width: 100% !important;
}

#reviews .tm-carousel__card-wrapper.tm-carousel-item {
    max-width: 24% !important;
}

.tm-ferret2__nav-button--next-icon,
.tm-ferret2__nav-button--prev-icon {
    display: block !important;
}

.tm-ferret2 .tm-carousel__grade-card {
    margin-left: 0 !important;
    padding-left: 0 !important;
}

.tm-ferret2 {
    margin: 0 !important;
}

@media (max-width:767px){
    #reviews .tm-carousel__card-wrapper.tm-carousel-item {
        max-width: 100% !important;
    }
}
