.adora-review-cards-wrap,
.adora-review-cards-wrap * {
    box-sizing: border-box;
}

.adora-review-cards-wrap {
    --adora-columns: 3;
    --adora-gap: 24px;
    direction: rtl;
    width: 100%;
}

.adora-review-track {
    display: grid;
    grid-template-columns: repeat(var(--adora-columns), minmax(0, 1fr));
    gap: var(--adora-gap);
    width: 100%;
}

.adora-review-card {
    min-width: 0;
    background: #ffffff;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.adora-review-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.adora-review-author {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.adora-review-avatar {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 999px;
    object-fit: cover;
    display: block;
}

.adora-review-author-info {
    min-width: 0;
}

.adora-review-name {
    margin: 0 0 2px;
    font-size: 15px;
    line-height: 1.5;
    font-weight: 700;
    color: #222222;
}

.adora-review-subtitle {
    font-size: 12px;
    line-height: 1.6;
    color: #8a8a8a;
}

.adora-review-rating-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    margin-bottom: 16px;
}

.adora-review-top-label {
    font-size: 12px;
    line-height: 1.6;
    color: #9a9a9a;
}

.adora-rating-stars {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    direction: rtl;
    font-size: 16px;
    line-height: 1;
}

.adora-star {
    position: relative;
    display: inline-block;
    color: #e5e5e5;
}

.adora-star.is-active {
    color: #ffc400;
}

.adora-star.is-half {
    color: #e5e5e5;
}

.adora-star.is-half::before {
    content: '★';
    position: absolute;
    inset-inline-start: 0;
    top: 0;
    width: 50%;
    overflow: hidden;
    color: #ffc400;
}

.adora-review-text {
    margin: 0 0 18px;
    font-size: 14px;
    line-height: 2;
    color: #555555;
}

.adora-review-text p {
    margin: 0;
}

.adora-review-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: auto;
}

.adora-review-gallery img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
}

.adora-review-layout-slider .adora-review-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 2px;
}

.adora-review-layout-slider .adora-review-track::-webkit-scrollbar {
    display: none;
}

.adora-review-layout-slider .adora-review-card {
    flex: 0 0 calc((100% - (var(--adora-gap) * (var(--adora-columns) - 1))) / var(--adora-columns));
    scroll-snap-align: start;
}

.adora-review-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 18px;
    direction: ltr;
}

.adora-review-dot {
    width: 6px;
    height: 6px;
    border: 0;
    padding: 0;
    border-radius: 999px;
    background: #e5e5e5;
    cursor: pointer;
    transition: transform .2s ease, background-color .2s ease;
}

.adora-review-dot.is-active {
    background: #333333;
    transform: scale(1.15);
}

@media (max-width: 767px) {
    .adora-review-card {
        padding: 20px;
    }
}
