/* CodeBreaker Similar Products - Front CSS */

.cb-ps { 
    margin-top: 40px; 
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.cb-ps__head { 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    margin-bottom: 20px; 
}

.cb-ps__head .cb-section-title {
    margin: 0;
    font-size: 22px;
    font-weight: 600;
    color: #333;
}

.cb-ps__grid {
    display: grid;
    grid-template-columns: repeat(var(--cb-cols, 6), minmax(0, 1fr));
    gap: 12px;
}

.cb-ps__item { 
    min-width: 0; 
}

/* Responsive */
@media (max-width: 1199px) { 
    .cb-ps__grid { 
        grid-template-columns: repeat(4, minmax(0, 1fr)); 
    } 
}

@media (max-width: 991px) { 
    .cb-ps__grid { 
        grid-template-columns: repeat(3, minmax(0, 1fr)); 
    } 
}

@media (max-width: 575px) { 
    .cb-ps__grid { 
        grid-template-columns: repeat(2, minmax(0, 1fr)); 
    }
    
    .cb-ps {
        margin-top: 30px;
        padding-top: 20px;
    }
    
    .cb-ps__head .cb-section-title {
        font-size: 18px;
    }
}

/* Load More Button */
.cb-ps__more { 
    margin-top: 24px; 
    text-align: center; 
}

.cb-ps__btn {
    background: linear-gradient(to right, #4a60c1 10%, #6921E4);
    color: #fefefe;
    border: none;
    padding: 12px 40px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cb-ps__btn:hover {
    background: linear-gradient(to right, #5a70d1 10%, #7931F4);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(105, 33, 228, 0.3);
}

.cb-ps__btn:disabled,
.cb-ps__btn.is-loading {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.cb-ps__loading { 
    margin-top: 16px;
    color: #666;
    font-size: 14px;
}

.cb-ps__sentinel {
    width: 100%;
    height: 1px;
}
