.wc-carousel-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--wc-title-color, #14532d);
    line-height: 1.3;
}

.wc-carousel-subtitle {
    font-size: 1rem;
    color: var(--wc-subtitle-color, #475569);
    line-height: 1.6;
    margin-top: 0.25rem;
    max-width: 540px;
}

.wc-carousel-nav-btn {
    width: 36px;
    height: 36px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid #e2e8f0;
    background: #ffffff;
    color: #475569;
    border-radius: 50%;
    transition: all 0.2s ease;
    cursor: pointer;
}

.wc-carousel-nav-btn:hover {
    background: #15803d;
    border-color: #15803d;
    color: #ffffff;
}

.wc-carousel-nav-btn i {
    font-size: 0.75rem;
}

.wc-carousel-see-all-btn {
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.5rem 1.25rem;
    border-radius: 8px;
    border: 1.5px solid #15803d;
    background: #ffffff;
    color: #15803d;
    transition: all 0.2s ease;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

.wc-carousel-see-all-btn:hover {
    background: #15803d;
    color: #ffffff;
}

.wc-pc-item {
    flex: 0 0 auto;
    width: calc(50% - 4px);
    display: flex;
}

.wc-pc-item > .wc-card-wrap {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    width: 100%;
}

.wc-pc-item > .wc-card-wrap > .wc-card {
    flex: 1 1 auto;
}

@media (min-width: 768px) {
    .wc-pc-item {
        width: calc(33.333% - 6px);
    }
}

@media (min-width: 992px) {
    .wc-pc-item {
        width: calc(20% - 6.4px);
    }
}

/* Mobile & tablet: 3-column grid — title | center | actions */
.wc-carousel-header {
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 8px;
}
@media(max-width: 576px) {
    .wc-carousel-header {
        gap: 16px;
    }
}
.wc-carousel-header__title {
    min-width: 0;
}

.wc-carousel-header__center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.wc-carousel-header__actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
}

/* Desktop: flex — title fills left, center+actions grouped on right */
@media (min-width: 992px) {
    .wc-carousel-header {
        display: flex;
        align-items: center;
        gap: 8px;
    }
    .wc-carousel-header__title {
        flex: 1 1 0;
    }
    .wc-carousel-header__center {
        flex: 0 0 auto;
    }
    .wc-carousel-header__actions {
        flex: 0 0 auto;
    }
}

@media (max-width: 575.98px) {
    .wc-carousel-title {
        font-size: 1.1rem;
    }

    .wc-carousel-subtitle {
        font-size: 0.8rem;
    }
}
