/* ===== Product Carousel Filter ===== */
.pcf-wrapper {
    font-family: inherit;
    max-width: 1300px;
    margin: 0 auto;
}

/* Filters */
.pcf-filters {
    display: flex;
    align-items: center;
    gap: 0;
    border-bottom: 2px solid #e0e0e0;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.pcf-filter-btn {
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    padding: 10px 22px;
    font-size: 15px;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s;
    white-space: nowrap;
    letter-spacing: 0.01em;
}

.pcf-filter-btn .pcf-count {
    font-size: 13px;
    color: #999;
    margin-left: 4px;
}

.pcf-filter-btn.active,
.pcf-filter-btn:hover {
    color: #1a2340;
    border-bottom-color: #1a2340;
    font-weight: 700;
}

.pcf-filter-btn.active .pcf-count,
.pcf-filter-btn:hover .pcf-count {
    color: #1a2340;
}

/* Carousel container */
.pcf-carousel-container {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
}

.pcf-carousel-track-wrapper {
    overflow: hidden;
    flex: 1;
}

.pcf-carousel-track {
    display: flex;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 20px;
}

/* Cards */
.pcf-card {
    flex: 0 0 calc(20% - 16px);
    min-width: 200px;
    background: #fff;
    border: 1px solid #ebebeb;
    border-radius: 2px;
    overflow: hidden;
    cursor: pointer;
    transition: box-shadow 0.2s;
}

.pcf-card:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.10);
}

.pcf-card-image {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: contain;
    padding: 20px;
    background: #f8f8f8;
    display: block;
}

.pcf-card-body {
    padding: 14px 16px 18px;
}

.pcf-card-colors {
    display: flex;
    gap: 6px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.pcf-color-swatch {
    display: inline-block;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1.5px solid rgba(0,0,0,0.12);
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s;
    text-decoration: none;
}

.pcf-color-swatch:hover {
    transform: scale(1.25);
    box-shadow: 0 0 0 2px #1a2340;
}

.pcf-card-name {
    font-size: 14px;
    font-weight: 500;
    color: #1a2340;
    margin: 0 0 6px;
    text-decoration: none;
    display: block;
    line-height: 1.4;
}

.pcf-card-name:hover {
    text-decoration: underline;
}

.pcf-card-price-wrapper {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
}

.pcf-card-from {
    font-size: 12px;
    color: #999;
}

.pcf-card-price {
    font-size: 15px;
    font-weight: 600;
    color: #1a2340;
}

.pcf-card-price .woocommerce-Price-amount {
    font-size: 15px;
    font-weight: 600;
    color: #1a2340;
}

/* Nav buttons */
.pcf-nav {
    background: #fff;
    border: 1.5px solid #1a2340;
    color: #1a2340;
    width: 42px;
    height: 42px;
    border-radius: 2px;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s, color 0.2s;
}

.pcf-nav:hover {
    background: #1a2340;
    color: #fff;
}

.pcf-nav:disabled {
    opacity: 0.35;
    cursor: default;
    pointer-events: none;
}

/* Pagination dots */
.pcf-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 28px;
}

.pcf-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d0d0d0;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.2s, transform 0.2s;
}

.pcf-dot.active {
    background: #1a2340;
    transform: scale(1.2);
}

/* Loading */
.pcf-loading {
    width: 100%;
    text-align: center;
    padding: 60px 0;
    color: #999;
    font-size: 15px;
}

/* Responsive */
@media (max-width: 1024px) {
    .pcf-card {
        flex: 0 0 calc(33.333% - 14px);
    }
}

@media (max-width: 768px) {
    .pcf-card {
        flex: 0 0 calc(50% - 10px);
    }
    .pcf-filter-btn {
        padding: 8px 14px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .pcf-card {
        flex: 0 0 calc(100% - 0px);
    }
}
