.cmur-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.cmur-controls {
    margin-bottom: 32px;
}

.cmur-controls-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.cmur-write-review {
    display: inline-flex;
    align-items: center;
    padding: 12px 28px;
    background: #4ca7e0;
    color: #fff;
    border: none;
    border-radius: 24px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.15s, box-shadow 0.2s;
    white-space: nowrap;
    flex-shrink: 0;
    letter-spacing: 0.3px;
}

.cmur-write-review:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 167, 224, 0.35);
    color: #fff;
    text-decoration: none;
}

.cmur-write-review:focus,
.cmur-write-review:visited {
    color: #fff;
    text-decoration: none;
    outline: none;
}

.cmur-write-review:active {
    transform: translateY(0);
    color: #fff;
}

.cmur-search-box {
    position: relative;
    max-width: 400px;
    margin-left: auto;
}

.cmur-search-icon {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #9CA3AF;
    pointer-events: none;
}

.cmur-search-input {
    width: 100%;
    padding: 12px 40px 12px 16px;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    font-size: 15px;
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}

.cmur-search-input:focus {
    outline: none;
    border-color: #6366F1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.cmur-filter-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.cmur-tab {
    padding: 8px 16px;
    border: 1px solid #E5E7EB;
    border-radius: 20px;
    background: #fff;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    color: #6B7280;
    font-weight: 500;
}

.cmur-tab:hover {
    border-color: #6366F1;
    color: #6366F1;
}

.cmur-tab.active {
    background: #6366F1;
    color: #fff;
    border-color: #6366F1;
}

.cmur-tab-count {
    font-size: 12px;
    opacity: 0.8;
}

.cmur-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    align-items: start;
}

.cmur-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #E8E8E8;
    transition: box-shadow 0.2s;
    display: flex;
    flex-direction: column;
    break-inside: avoid;
    text-align: center;
}

.cmur-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

/* Header: avatar+name+date on left, source logo on right */
.cmur-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.cmur-profile {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cmur-avatar-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.cmur-avatar-initials {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    flex-shrink: 0;
}

.cmur-reviewer-info {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.cmur-reviewer-name {
    font-size: 14px;
    font-weight: 600;
    color: #1A1A1A;
    line-height: 1.3;
}

.cmur-review-date {
    font-size: 12px;
    color: #9CA3AF;
    line-height: 1.3;
}

.cmur-source-logo {
    flex-shrink: 0;
}

/* Stars row with verified badge */
.cmur-stars-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    margin-bottom: 12px;
}

.cmur-star {
    display: inline-block;
}

.cmur-verified {
    margin-left: 6px;
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
}

.cmur-verified svg {
    display: block;
}

/* Review text */
.cmur-card-text {
    font-size: 14px;
    color: #4B5563;
    line-height: 1.6;
    margin: 0;
    flex-grow: 1;
}

.cmur-product-link {
    display: inline-block;
    font-size: 11px;
    color: #4285F4;
    background: #fff;
    border: 1px solid #4285F4;
    text-decoration: none;
    margin-top: 10px;
    font-weight: 500;
    padding: 4px 12px;
    border-radius: 12px;
    transition: background 0.2s, color 0.2s;
}

.cmur-product-link:hover {
    background: #4285F4;
    color: #fff;
    text-decoration: none;
}

/* Load more */
.cmur-load-more-wrap {
    text-align: center;
    margin-top: 40px;
}

.cmur-load-more {
    padding: 14px 40px;
    background: #4ca7e0;
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
}

.cmur-load-more:hover {
    background: #3a8fc4;
}

.cmur-load-more:active {
    transform: scale(0.98);
}

.cmur-load-more:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.cmur-loading {
    text-align: center;
    padding: 20px;
}

.cmur-spinner {
    display: inline-block;
    width: 32px;
    height: 32px;
    border: 3px solid #E5E7EB;
    border-top-color: #6366F1;
    border-radius: 50%;
    animation: cmur-spin 0.6s linear infinite;
}

@keyframes cmur-spin {
    to { transform: rotate(360deg); }
}

.cmur-no-results {
    text-align: center;
    padding: 60px 20px;
    color: #9CA3AF;
    font-size: 16px;
    grid-column: 1 / -1;
}

@media (max-width: 1024px) {
    .cmur-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .cmur-grid {
        grid-template-columns: 1fr;
    }

    .cmur-wrapper {
        padding: 20px 16px;
    }

    .cmur-controls-row {
        flex-direction: column;
        align-items: stretch;
    }

    .cmur-search-box {
        max-width: 100%;
    }

    .cmur-write-review {
        text-align: center;
        justify-content: center;
        margin-left: 0;
    }

    .cmur-filter-tabs {
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 4px;
    }

    .cmur-tab {
        white-space: nowrap;
        flex-shrink: 0;
    }
}

/* Skeleton loading */
.cmur-skel {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: cmur-shimmer 1.2s ease-in-out infinite;
    border-radius: 6px;
}

.cmur-skel-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    flex-shrink: 0;
}

.cmur-skel-name {
    width: 100px;
    height: 14px;
    margin-bottom: 4px;
}

.cmur-skel-date {
    width: 70px;
    height: 10px;
}

.cmur-skel-logo {
    width: 24px;
    height: 24px;
    border-radius: 4px;
}

.cmur-skel-stars {
    width: 120px;
    height: 16px;
    margin: 0 auto 12px;
}

.cmur-skel-text {
    width: 100%;
    height: 12px;
    margin-bottom: 8px;
}

.cmur-skel-text-short {
    width: 65%;
    margin: 0 auto;
}

@keyframes cmur-shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}
