body.type-product .custom-photoreviews > div {
    background: transparent !important;
}

body.type-product .custom-photoreviews h3 {
    font-size: 24px !important;
    margin-bottom: 15px !important;
    margin-top: 0 !important;
    font-weight: 700 !important;
    line-height: 130% !important;
    color: #12304a !important;
    text-align: left !important;
}

body.type-product .custom-photoreviews #sf-widget-brand {
    display: none !important;
}

body.type-product .custom-photoreviews > div:first-child {
    background: transparent !important;
}

body.type-product .custom-photoreviews article.sf-review {
    background: #fff !important;
    border: 0 !important;
    border-radius: 5px !important;
    padding: 14px !important;
    margin: 7px !important;
    box-sizing: border-box !important;
    font-family: Roboto, sans-serif !important;
    color: #12304a !important;
    overflow: hidden !important;
}

body.type-product .custom-photoreviews .sf-review-img {
    height: 202px !important;
    overflow: hidden !important;
    border: 1px solid #e3e3e3 !important;
    border-radius: 5px !important;
    margin: 0 0 10px !important;
}

body.type-product .custom-photoreviews .sf-review-img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

body.type-product .custom-photoreviews .sf-review-name {
    margin-top: 0 !important;
    padding: 0 !important;
    text-align: left !important;
    color: #12304a !important;
}

body.type-product .custom-photoreviews .sf-review-name > span:first-child {
    display: block !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 19.2px !important;
    color: #12304a !important;
    margin-bottom: 10px !important;
    padding: 0 !important;
}

body.type-product .custom-photoreviews .sf-review-name span[aria-label="Datum vytvoření fotorecenze"] {
    font-size: 14px !important;
    color: #12304a !important;
    opacity: .7 !important;
}

body.type-product .custom-photoreviews .rating {
    font-size: 18px !important;
    color: #12304a !important;
}

body.type-product .custom-photoreviews .sf-review-text {
    padding: 0 !important;
    font-size: 14px !important;
    line-height: 19.4px !important;
    color: #12304a !important;
    text-align: left !important;
}

body.type-product .custom-photoreviews .sf-upvote-btn-wrapper span,
body.type-product .custom-photoreviews .sf-upvote-active-btn-wrapper span {
    color: #12304a !important;
}

body.type-product .custom-photoreviews .sf-review-name {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 4px !important;
    margin: 0 0 6px !important;
}

body.type-product .custom-photoreviews .sf-review-name br {
    display: none !important;
}

body.type-product .custom-photoreviews .sf-review-name > .material-symbols-outlined {
    order: 1 !important;
    font-size: 16px !important;
    opacity: 1 !important;
    color: #2e7fc1 !important;
}

body.type-product .custom-photoreviews .sf-review-name > span:first-child {
    order: 2 !important;
    display: inline !important;
    margin: 0 !important;
    font-size: 15px !important;
    line-height: 1.2 !important;
}

body.type-product .custom-photoreviews .sf-review-name span[aria-label="Datum vytvoření fotorecenze"] {
    order: 3 !important;
    margin-left: auto !important;
    font-size: 12px !important;
}

body.type-product .custom-photoreviews #rating-wrapper {
    order: 4 !important;
    display: flex !important;
    width: 100% !important;
    gap: 1px !important;
}

body.type-product .custom-photoreviews .rating {
    font-size: 14px !important;
    line-height: 1 !important;
}

body.type-product .custom-photoreviews article.sf-review,
body.type-product .custom-photoreviews .carousel-cell {
    min-height: 0 !important;
    max-height: none !important;
    height: calc(100% - 14px) !important;
    display: flex !important;
    flex-direction: column !important;
}

body.type-product .custom-photoreviews .sf-review-text {
    flex: 1 1 auto !important;
}

body.type-product .custom-photoreviews .flickity-button {
    background-color: #fff !important;
    background-position: 50% !important;
    background-repeat: no-repeat !important;
    background-size: 16px 14px !important;
    border: none !important;
    border-radius: 10px !important;
    outline: none !important;
    box-shadow: none !important;
    width: 30px !important;
    height: 30px !important;
    padding: 0 !important;
    top: 50% !important;
    bottom: auto !important;
    transform: translateY(-50%) !important;
    opacity: 1 !important;
}

body.type-product .custom-photoreviews .flickity-button:disabled {
    opacity: .4 !important;
}

body.type-product .custom-photoreviews .flickity-button-icon {
    display: none !important;
}

body.type-product .custom-photoreviews .flickity-button.previous {
    left: 5px !important;
    background-image: url(https://shoptet.marketinghub.cz/evtech/refresh/static/icons/arrow-left.svg) !important;
}

body.type-product .custom-photoreviews .flickity-button.next {
    right: 5px !important;
    background-image: url(https://shoptet.marketinghub.cz/evtech/refresh/static/icons/arrow-right.svg) !important;
}

#sf-reviews-widget:focus-visible {
    box-shadow: none !important;
}