﻿.store-reviews-tooltip {
    background-color: white;
    width: 440px;
    height: 360px;
    box-shadow: 0px 8px 25px 0px #DFDFDF;
    padding: 10px 15px 10px 15px;    
    flex-direction: column;
    position: absolute;
    top: 85px;
    right: 206px;
    z-index: 999;
    gap: 13px;
    border-radius: 16px;
    display:none;
}

    .store-reviews-tooltip .close-section {
        display: flex;
        justify-content: end;
    }

        .store-reviews-tooltip .close-section .icon-x {
            all:unset;
            cursor: pointer;
        }

    .store-reviews-tooltip .site-section {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 8px 0 8px;
    }

        .store-reviews-tooltip .site-section .clientcardLink {
            text-decoration: underline;
            font-size: 16px;
            cursor: pointer;
        }

    .store-reviews-tooltip .store-name {
        font-size: 18px;
        font-weight: 700;
        line-height: 20px
    }

    .store-reviews-tooltip .summary-section {
        display: flex;
        gap: 14px;
        justify-content: space-between;
    }

        .store-reviews-tooltip .summary-section .summary-item {
            width: 120px;
            background-color: #F6F6F6;
            display: flex;
            flex-direction: column;
            align-items: center;
            border-radius: 8px;
            padding: 12px;
            gap: 5px;
        }

            .store-reviews-tooltip .summary-section .summary-item .summary-number {
                font-size: 18px;
                font-weight: 700;
            }

            .store-reviews-tooltip .summary-section .summary-item .summary-text {
                font-size: 14px;
                font-weight: 600;
                text-align:center;
            }

    .store-reviews-tooltip .store-tooltip-desc {
        font-size: 14px;
        color: #797979;
        text-align: right;
    }

    .store-reviews-tooltip .review-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding-top: 20px;
        border-top: 1px solid #E5E5E5;
    }

        .store-reviews-tooltip .review-header .right-section {
            display: flex;
            gap: 8px;
            font-size: 14px;
            font-weight: 600;
        }

            .store-reviews-tooltip .review-header .right-section .icon-ellipse-wapper {
                display: flex;
                justify-content: center;
                align-items: center;
            }

                .store-reviews-tooltip .review-header .right-section .icon-ellipse-wapper .icon-ellipse {
                    all:unset;
                }

    .store-reviews-tooltip .review-text-wapper {
        max-height: 81px;
        transition: max-height 0.3s ease;
        position: relative;
        /*    display: -webkit-box;*/
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
     /*   text-overflow: ellipsis;*/
        direction: ltr;

    }
        .store-reviews-tooltip .review-text-wapper.has-scroll {
            mask-image: linear-gradient(to bottom, black 76%, transparent 100%);
            -webkit-mask-image: linear-gradient(to bottom, black 76%, transparent 100%);
            margin-right: -9px;
            overflow-y: auto;
        }
        /* עיצוב פס הגלילה */
        .store-reviews-tooltip .review-text-wapper::-webkit-scrollbar {
            width: 4px; /* רוחב פס הגלילה */
            background-color: white; /* צבע רקע הפס */

        }

        /* צבע המסלול של פס הגלילה */
        .store-reviews-tooltip .review-text-wapper::-webkit-scrollbar-track {
            background-color: white;
            border-radius: 4px;
        }

        /* צבע ידית הגלילה */
        .store-reviews-tooltip .review-text-wapper::-webkit-scrollbar-thumb {
            background-color: #E5E5E5; /* צבע הידית */
            border-radius: 4px; /* עיגול פינות */
        }

            /* בעת ריחוף על ידית הגלילה */
            .store-reviews-tooltip .review-text-wapper::-webkit-scrollbar-thumb:hover {
                background-color: #555; /* צבע כהה יותר לריחוף */
            }
/* Firefox */
    /*.store-reviews-tooltip .review-text-wapper {
        scrollbar-width: thin;
        scrollbar-color: #253d38 #E5E5E5;
    }*/

    .store-reviews-tooltip .review-text {
        font-size: 16px;
        font-weight: 400;
        text-align: right;
       
       /* width: 360px;*/
    }

    .store-reviews-tooltip .read-more {
        display: flex;
        margin-top: 10px;
        cursor: pointer;
        text-decoration: underline;
        align-items: flex-end;
    }

/*.custom-scroll {
    max-height: 200px;*/ /* גובה מקסימלי */
/*overflow-y: scroll;*/ /* מאפשר גלילה אנכית */
/*direction: rtl;*/ /* פס הגלילה בצד ימין */
/*padding: 10px;
    border: 1px solid #ccc;*/ /* מסגרת מסביב לטקסט */
/*background-color: #f9f9f9;*/ /* צבע רקע */
/*}*/


/*.store-reviews-tooltip .review-text::after {
            content: " ... קרא עוד";*/ /* טקסט נוסף */
/*color: blue;*/ /* צבע טקסט */
/*cursor: pointer;*/ /* שינוי לסמן יד */
/*position: absolute;
            bottom: 0;
            right: 0;
            background: white;*/ /* רקע לבן כדי לטשטש טקסט חורג */
/*padding-left: 5px;*/ /* מרווח בין הטקסט לנקודות */
/*}*/
