.all-products-section {
    background-color: #101014;
    padding: 60px 20px;
    width: 100%;
    margin: 0;
    border: none;
    box-shadow: none;
    border-radius: 0;
    box-sizing: border-box;
    overflow-x: hidden;
}

.all-products-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    padding: 0 20px;
    box-sizing: border-box;
}

.all-products-heading {
    color: #ffffff;
    font-size: 48px;
    font-weight: bold;
    margin: 0 0 20px 0;
    line-height: 1.2;
}

.all-products-subtext {
    color: #cccccc;
    font-size: 18px;
    margin: 0 0 40px 0;
    line-height: 1.5;
    opacity: 0.9;
}

.all-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.product-box {
    aspect-ratio: 1;
    background-color: #2a2a2a;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s ease;
    position: relative;
}

.product-box:hover {
    transform: scale(1.05);
}

.product-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.no-thumbnail-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #3a3a3a;
    border: 2px dashed #555555;
}

.no-thumbnail-text {
    color: #888888;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    padding: 10px;
}

.no-products-message {
    text-align: center;
    padding: 60px 20px;
    background-color: #2a2a2a;
    border-radius: 8px;
    margin: 20px 0;
}

.no-products-message p {
    color: #cccccc;
    font-size: 18px;
    margin: 0;
    line-height: 1.5;
}

/* Responsive Design - Comprehensive Coverage */

/* Large Desktop Monitors (1921px - 2560px) */
@media (min-width: 1921px) and (max-width: 2560px) {
    .all-products-section {
        padding: 80px 40px;
    }
    
    .all-products-heading {
        font-size: 56px;
    }
    
    .all-products-subtext {
        font-size: 22px;
    }
}

/* Large Laptops (1601px - 1920px) */
@media (min-width: 1601px) and (max-width: 1920px) {
    .all-products-section {
        padding: 70px 30px;
    }
    
    .all-products-heading {
        font-size: 52px;
    }
    
    .all-products-subtext {
        font-size: 20px;
    }
}

/* Medium Laptops (1367px - 1600px) */
@media (min-width: 1367px) and (max-width: 1600px) {
    .all-products-section {
        padding: 65px 25px;
    }
    
    .all-products-heading {
        font-size: 48px;
    }
    
    .all-products-subtext {
        font-size: 19px;
    }
}

/* Small Laptops (1201px - 1366px) */
@media (min-width: 1201px) and (max-width: 1366px) {
    .all-products-section {
        padding: 60px 20px;
    }
    
    .all-products-heading {
        font-size: 44px;
    }
    
    .all-products-subtext {
        font-size: 18px;
    }
}

/* Large Tablets (1025px - 1200px) */
@media (min-width: 1025px) and (max-width: 1200px) {
    .all-products-section {
        padding: 55px 20px;
    }
    
    .all-products-heading {
        font-size: 40px;
    }
    
    .all-products-subtext {
        font-size: 17px;
    }
}

/* Medium Tablets (901px - 1024px) */
@media (min-width: 901px) and (max-width: 1024px) {
    .all-products-section {
        padding: 50px 18px;
    }
    
    .all-products-heading {
        font-size: 36px;
    }
    
    .all-products-subtext {
        font-size: 16px;
    }
}

/* Small Tablets (769px - 900px) */
@media (min-width: 769px) and (max-width: 900px) {
    .all-products-section {
        padding: 45px 15px;
    }
    
    .all-products-heading {
        font-size: 32px;
    }
    
    .all-products-subtext {
        font-size: 15px;
    }
}

/* Large Mobile (481px - 768px) */
@media (min-width: 481px) and (max-width: 768px) {
    .all-products-section {
        padding: 40px 15px;
    }
    
    .all-products-heading {
        font-size: 28px;
    }
    
    .all-products-subtext {
        font-size: 14px;
    }
    
    .all-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Medium Mobile (321px - 480px) */
@media (min-width: 321px) and (max-width: 480px) {
    .all-products-section {
        padding: 35px 12px;
    }
    
    .all-products-heading {
        font-size: 24px;
    }
    
    .all-products-subtext {
        font-size: 13px;
    }
    
    .all-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Small Mobile (320px and below) */
@media (max-width: 320px) {
    .all-products-section {
        padding: 30px 10px;
    }
    
    .all-products-heading {
        font-size: 20px;
    }
    
    .all-products-subtext {
        font-size: 12px;
    }
    
    .all-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Responsive design for product grid */
@media (max-width: 1400px) {
    .all-products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1024px) {
    .all-products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}