.ccr-reviews {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.ccr-reviews-content {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    width: 70%;
    align-items: flex-end;
    justify-content: center;
}
.ccr-reviews-total {
    background-color: #c77055;;
    border-radius: 0.75rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    height: 190px;
    width: 160px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    border-top: 5px solid #c77055;
}
.ccr-reviews-title {
    font-size: 18px;
    font-weight: bold;
    color: #c77055;
    margin: 10px 0 10px 44px;
}
#ccr-reviews-title {
    font-size: 18px;
    font-weight: bold;
    color: #c77055;
}
#reset-filter {
    color: #c77055;
    margin-left: 20px;
}
.swiper {
    width: 100%;
    max-width: 550px;
    margin: auto;
   
}
.swiper-button-next,
.swiper-button-prev {
    top: 60% !important;
}
.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 18px !important;
    color: #777 !important;
}

.swiper-slide {
    display: flex;
    justify-content: center;
}

.avis-slide {
    width: 85%;
    padding: 1em;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: left;
    height: 230px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    border-top: 5px solid #c77055;
}

.avis-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.2em;
}

.avis-left {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 55%;
}

.avis-profil {
    border-radius: 50%;
}

.avis-author {
    font-weight: bold;
    font-size: 0.9em;
}

.avis-date {
    font-size: 0.8em;
    color: #777;
}

.avis-location {
    display: flex;
    align-items: center;
    /* Vertically center image and text */
    font-size: 0.75em;
    margin-top: 0.25em;
    word-break: break-word;
    font-weight: bold;
    gap: 0.4em;
    /* Space between logo and text */
}

.avis-location .establishment-logo {
    max-width: 30px;
    max-height: 30px;
    display: block;
}

.avis-rating {
    font-size: 1.1em;
    margin-bottom: 0.2em;
}

.avis-comment {
    flex-grow: 1;
    overflow-y: auto;
    max-height: 130px;
    padding-right: 4px;
    font-size: 16px;
        line-height: 23px;
}

.avis-comment::-webkit-scrollbar {
    width: 6px;
}

.avis-comment::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 3px;
}

.ccr-establishment-cards-title {
    text-align: center;
    margin-top: 20px;
    font-size: 18px;
    font-weight: bold;
    color: #c77055;
}
.ccr-establishment-card {
    width: 80%;
    margin: auto
}

.ccr-establishment-card-inner {
    display: flex;
    flex-direction: row;
    gap: 10px;
    justify-content: center;
    align-items: stretch;
    padding-bottom: 10px;
}

@media (max-width: 600px) {
    .ccr-establishment-card {
        flex-direction: column;
    }
    
    .ccr-establishment-card-inner {
        flex-direction: column;
    }
}

.ccr-place {
    max-width: 600px;
    padding: 10px 20px !important;
    background-color: #fff !important;
    border-radius: 14px !important;
    border-bottom: 5px solid #c77055;
    transition: box-shadow 0.2s, transform 0.2s;
}

.ccr-place-center {
    display: flex;
    justify-content: center;
    align-items: center;
}
.ccr-place:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transform: translateY(-3px);
}

.ccr-place-content {
    text-align: center;
}

.ccr-rating {
    color: #fbc228;
    font-size: 21px !important;
    font-weight: 600 !important;
    margin: 0 6px 0 0 !important;
    vertical-align: middle !important;
}
.ccr-reviews-total .ccr-rating {
    color: #fff;
    font-size: 30px !important;
    font-weight: 600 !important;
}

.ccr-stars {
    vertical-align: middle !important;
    white-space: nowrap !important;
}
.ccr-review-count {
    margin-left: 8px;
    color: #777;
    font-size: 0.9em;
    vertical-align: middle !important;
}
.ccr-reviews-total .ccr-review-count {
    margin: 0;
    color: #fff;
    font-size: 1em;
}

.ccr-place-content .establishment,
.ccr-place-content .establishment a {
    color:  #777 ;
    font-size: 14px ;
}

.ccr-place-content .establishment-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.ccr-place-content .establishment-logo {
    max-width: 34px;
    max-height: 34px;
}


.ccr-place-rating {
    white-space: nowrap;
}

/* a .establishment-name::after {
    content: "🔗";
    font-size: 0.8em;
    vertical-align: middle;
} */

.ccr-reset-button {
    margin: auto;
    padding: 8px 16px;
    border: none;
    background-color: #c77055;
    color: white;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.2s ease;
    
}

.ccr-reset-button:hover {
    background-color: #a5543e;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.fade-in {
    animation: fadeIn 0.5s ease-in-out;
}

@media (max-width: 758px) {
    .ccr-reviews-content {
        width: 95%; 
    }
    .ccr-reviews-total {
        
        height: 120px;
    
    }
    .avis-slide {
        width: 80%;
        font-size: 0.85em;
        border-top: 0;
        border-left: 5px solid #c77055;
        border-right: 5px solid #c77055;
    }

    .avis-header {
        align-items: start;
        flex-direction: column;
        gap: 10px;
    }

    .avis-left {
        display: flex;
        align-items: center;
        gap: 10px;
        width: 100%;
    }

    .ccr-establishment-card {
        width: 70%;
    }
}

/* header link shortcode */

.ccr-header-block {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: #c77055;
    border: 1px solid #c7705561;
    padding: 0 10px 0 10px;
    border-radius: 20px;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
    text-decoration: none;
    background-color: #f5cca526;
}
.ccr-header-block:hover {
    background-color: #fdb97740;
    box-shadow: rgba(0, 0, 0, 0.05) 0px 6px 24px 0px, rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;
}
.ccr-header-block span {
    color: #c77055;
}

.ccr-header-rating {
    font-weight: 600 !important;
    margin: 0 6px 0 6px !important;
}
.ccr-header-stars{
    position: relative;
    top: 3px;
}
