@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

.ect-wrapper, .ect-wrapper *, .ect-wrapper *::before, .ect-wrapper *::after {
    box-sizing: border-box; margin: 0; padding: 0;
}
.ect-wrapper {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    position: relative;
}

.ect-carousel {
    position: relative;
}

.ect-slides {
    display: flex;
    gap: 16px;
    overflow: hidden;
    scroll-behavior: smooth;
}

.ect-slide {
    flex: 0 0 calc((100% - 32px) / 3);
    min-width: 0;
}

.ect-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 24px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.ect-stars { display: flex; gap: 2px; margin-bottom: 14px; }
.ect-stars svg { width: 16px; height: 16px; fill: #f59e0b; }
.ect-stars svg.ect-star--empty { fill: #e5e5e5; }

.ect-text {
    font-family: 'Inter', sans-serif;
    font-size: 13px; font-weight: 400; color: #171717;
    line-height: 1.65; margin-bottom: 20px;
    text-align: left; flex: 1;
}

.ect-customer { display: flex; align-items: center; gap: 10px; margin-top: auto; }
.ect-avatar { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; flex-shrink: 0; background: #d4d4d4; }
.ect-avatar--placeholder { display: block; }
.ect-customer-info { text-align: left; }
.ect-name { font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 700; color: #0a0a0a; line-height: 1.3; }
.ect-subtitle { font-family: 'Inter', sans-serif; font-size: 11px; font-weight: 400; color: #737373; line-height: 1.3; margin-top: 1px; }

.ect-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 36px; height: 36px;
    border-radius: 50%;
    border: 1px solid #d4d4d4;
    background: #fff;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    transition: border-color 0.2s ease;
    padding: 0;
}
.ect-arrow--prev { left: -18px; }
.ect-arrow--next { right: -18px; }
.ect-arrow svg { width: 14px; height: 14px; stroke: #a3a3a3; transition: stroke 0.2s ease; }
.ect-arrow:hover { border-color: #0a0a0a; }
.ect-arrow:hover svg { stroke: #0a0a0a; }

.ect-dots { display: flex; justify-content: center; gap: 6px; margin-top: 16px; }
.ect-dot { width: 6px; height: 6px; border-radius: 50%; border: none; background: #d4d4d4; cursor: pointer; transition: background 0.2s; padding: 0; }
.ect-dot.ect-active { background: #0a0a0a; }

@media (max-width: 1024px) {
    .ect-slide { flex: 0 0 calc((100% - 16px) / 2); }
}

@media (max-width: 768px) {
    .ect-slide { flex: 0 0 100%; }
    .ect-slides { gap: 0; }
    .ect-arrow { width: 32px; height: 32px; }
    .ect-arrow--prev { left: -16px; }
    .ect-arrow--next { right: -16px; }
    .ect-arrow svg { width: 12px; height: 12px; }
}

@media (max-width: 480px) {
    .ect-card { padding: 20px; border-radius: 6px; }
    .ect-text { font-size: 12px; line-height: 1.6; margin-bottom: 14px; }
    .ect-stars svg { width: 14px; height: 14px; }
    .ect-stars { margin-bottom: 12px; }
    .ect-avatar { width: 30px; height: 30px; }
    .ect-name { font-size: 12px; }
    .ect-subtitle { font-size: 10px; }
    .ect-arrow { width: 28px; height: 28px; }
    .ect-arrow--prev { left: -14px; }
    .ect-arrow--next { right: -14px; }
    .ect-arrow svg { width: 10px; height: 10px; }
}
