/* ------------------------------
   PRODUCT CAROUSEL SECTION
------------------------------- */
.pcs-section {
    padding: 36px 16px;
    max-width: 1400px;
    margin: 0 auto;
}

.pcs-section-title {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--french-blue);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pcs-section-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e5e7eb;
}

.pcs-category-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.pcs-category {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #f0f0f0;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
}

/* ---------- HEADER ---------- */
.pcs-category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px 12px;
    border-bottom: 1px solid #f3f4f6;
}

.pcs-header-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pcs-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pcs-icon-fan {
    background: #eff6ff;
}

.pcs-icon-light {
    background: #fffbeb;
}

.pcs-icon-switch {
    background: #f0fdf4;
}

.pcs-category-header h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #111;
    margin: 0;
}

.pcs-count-badge {
    font-size: 11px;
    font-weight: 500;
    background: #f3f4f6;
    color: #6b7280;
    padding: 2px 8px;
    border-radius: 20px;
}

/* ---------- NEXT BUTTON ---------- */
.pcs-next {
    background: var(--primary);
    color: #fff;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.15s;
    flex-shrink: 0;
}

.pcs-next:hover {
    background: var(--hover-primary);
    transform: scale(1.06);
}

.pcs-next-amber {
    background: #d97706;
}

.pcs-next-amber:hover {
    background: #b45309;
}

.pcs-next-green {
    background: #16a34a;
}

.pcs-next-green:hover {
    background: #15803d;
}

/* ---------- CAROUSEL ---------- */
.pcs-carousel {
    overflow: hidden;
    position: relative;
    padding: 10px 14px 14px;
}

.pcs-carousel-track {
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- CARD ---------- */
.pcs-card {
    display: flex;
    align-items: center;
    background: #fafafa;
    border-radius: 12px;
    border: 1px solid #f0f0f0;
    overflow: hidden;
    height: 88px;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s, transform 0.2s;
    flex-shrink: 0;
}

.pcs-card:hover {
    background: #fff;
    border-color: #d1d5db;
    transform: translateX(4px);
}

.pcs-img-wrap {
    width: 80px;
    height: 88px;
    flex-shrink: 0;
    overflow: hidden;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pcs-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ---------- CARD INFO ---------- */
.pcs-card-info {
    flex: 1;
    min-width: 0;
    padding: 10px 12px 10px 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
}

.pcs-card-info h4 {
    font-size: 0.82rem;
    font-weight: 500;
    color: #111;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}

/* ---------- PRICE ---------- */
.pcs-price {
    display: flex;
    align-items: center;
    gap: 6px;
}

.pcs-main-price {
    font-size: 0.75rem;
    color: #9ca3af;
    text-decoration: line-through;
}

.pcs-discount-price {
    font-size: 0.88rem;
    font-weight: 700;
    color: #dc2626;
}

/* ---------- RATING ---------- */
.pcs-rating {
    display: flex;
    align-items: center;
    gap: 4px;
}

.pcs-stars {
    color: #f59e0b;
    font-size: 11px;
    letter-spacing: 1px;
}

/* ---------- SEE ALL ---------- */
.pcs-see-all {
    display: block;
    text-align: center;
    font-size: 12px;
    font-weight: 500;
    color: var(--french-blue);
    padding: 10px;
    border-top: 1px solid #f3f4f6;
    text-decoration: none;
    transition: background 0.2s;
    margin-top: auto;
}

.pcs-see-all:hover {
    background: #eff6ff;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
    .pcs-category-row {
        grid-template-columns: 1fr 1fr;
    }
}

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

    .pcs-card {
        height: 80px;
    }

    .pcs-img-wrap {
        width: 72px;
        height: 80px;
    }
}
