/* =========================================================
   Dekoria Reviews Widget – shared base styles
   ========================================================= */
.dekoria-reviews-widget {
    padding: 20px 0;
}

.dekoria-reviews-widget__header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.dekoria-reviews-widget__logo {
    height: 36px;
    width: auto;
}

.dekoria-reviews-widget__list {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

/* ---- shared review item ---- */
.dekoria-review-item {
    flex: 1 1 260px;
    max-width: 360px;
    padding: 18px 20px;
    border-radius: 10px;
    background: #fff;
}

.dekoria-review-item__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.dekoria-review-item__date {
    font-size: 12px;
    color: #999;
    white-space: nowrap;
}

.dekoria-review-item__author {
    font-size: 13px;
    font-weight: 700;
    color: #333;
    margin-bottom: 4px;
}

.dekoria-review-item__title {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 6px;
}

.dekoria-review-item__detail {
    font-size: 13px;
    color: #555;
    line-height: 1.55;
}

/* =========================================================
   DEFAULT LAYOUT
   ========================================================= */
.dekoria-reviews-widget--default {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.dekoria-review-item--default {
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.dekoria-review-item--default .dekoria-review-item__stars {
    font-size: 20px;
    color: #f5a623;
    letter-spacing: 2px;
}

/* =========================================================
   HEUREKA LAYOUT
   ========================================================= */
.dekoria-reviews-widget--heureka {
    padding: 24px 0;
    max-width: 1170px;
    margin: 0 auto;
}


/* ---- Carousel track ---- */
.heureka-carousel {
    position: relative;
}

.heureka-carousel__track {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;
    gap: 16px;
    padding-bottom: 4px;
}

.heureka-carousel__track::-webkit-scrollbar {
    display: none;
}

.heureka-carousel__slide {
    flex: 0 0 calc(33.333% - 11px);
    min-width: 260px;
}

/* ---- Nav arrows ---- */
.heureka-carousel__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: calc(100% + 48px);
    left: -24px;
    pointer-events: none;
    display: flex;
    justify-content: space-between;
}

.heureka-carousel__btn {
    pointer-events: all;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #333;
    transition: box-shadow 0.15s;
}

.heureka-carousel__btn:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
}

@media (max-width: 768px) {
    .heureka-carousel__slide {
        flex: 0 0 100%;
        scroll-snap-align: center;
    }

    .heureka-carousel__track {
        scroll-snap-type: x mandatory;
    }

    .heureka-carousel__nav {
        display: none;
    }
}

/* ---- Review item ---- */
.dekoria-review-item--heureka {
    background: #fff;
    height: 100%;
}

/* Heureka review item header: badge icon + meta (author, date, stars) */
.dekoria-review-item__heureka-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 10px;
}

.dekoria-review-item__heureka-badge {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    object-fit: contain;
    flex-shrink: 0;
}

.dekoria-review-item__heureka-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.dekoria-review-item__heureka-author-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.dekoria-review-item--heureka .dekoria-review-item__author {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    margin-bottom: 0;
}

.dekoria-review-item--heureka .dekoria-review-item__date {
    font-size: 12px;
    color: #999;
}

.dekoria-review-item__stars--heureka {
    display: flex;
    gap: 2px;
    font-size: 18px;
}

.dekoria-review-item__stars--heureka .star--filled {
    color: #f47520;
}

.dekoria-review-item__stars--heureka .star--empty {
    color: #e0c4ae;
}

/* =========================================================
   EKOMI LAYOUT
   ========================================================= */
.dekoria-reviews-widget--ekomi {
    border-radius: 12px;
    border: 2px solid #003d6e;
    padding: 24px;
    background: #f5f8fc;
}

.dekoria-reviews-widget--ekomi .dekoria-reviews-widget__header {
    border-bottom: 2px solid #003d6e;
    padding-bottom: 16px;
    margin-bottom: 20px;
}

.dekoria-review-item--ekomi {
    border: 1px solid #b8cfe8;
    box-shadow: 0 2px 8px rgba(0, 61, 110, 0.08);
    background: #fff;
}

.dekoria-review-item__stars--ekomi {
    display: flex;
    gap: 2px;
    font-size: 18px;
}

.dekoria-review-item__stars--ekomi .star--filled {
    color: #003d6e;
}

.dekoria-review-item__stars--ekomi .star--empty {
    color: #b8cfe8;
}

.dekoria-review-item__badge {
    margin-top: 10px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 600;
    color: #003d6e;
    background: #ddeaf7;
    border-radius: 20px;
    padding: 3px 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
