/* ── Card Carousel Plugin ───────────────────────────────────────────── */

.cc-wrap {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 0 0 1.5rem;
    box-sizing: border-box;
}

.cc-viewport {
    overflow: hidden;
}

.cc-track {
    display: flex;
    transition: transform 0.4s cubic-bezier(.4, 0, .2, 1);
}

.cc-card {
    flex-shrink: 0;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    margin-right: 20px;
    box-sizing: border-box;
}

.cc-img {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #f5f5f5;
}

.cc-img img {
    width: 100%;
    max-width:220px;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cc-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 10px;
}

.cc-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    color: #1a1a1a;
    text-align: center;
}

.cc-text {
    font-size: 14px;
    line-height: 1.65;
    color: #555;
    margin: 0;
    flex: 1;
}

.cc-btn {
    display: inline-block;
    align-self: flex-start;
    padding: 10px 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: #fff !important;
    text-decoration: none;
    border-radius: 4px;
    margin-top: 4px;
    transition: opacity 0.2s;
}

.cc-btn:hover {
    opacity: 0.85;
}

.cc-controls {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 16px;
    padding: 0 2px;
}

.cc-dots {
    display: flex;
    gap: 6px;
    align-items: center;
    margin-right: auto;
}

.cc-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: background 0.2s;
    border: none;
    padding: 0;
}

.cc-dot.active {
    background: #333;
}

.cc-arrow {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid #ddd;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
    padding: 0;
    color: #333;
}

.cc-arrow:hover {
    background: #f5f5f5;
}

.cc-arrow:disabled {
    opacity: 0.3;
    cursor: default;
}

@media (max-width: 768px) {
    .cc-card { margin-right: 14px; }
}
