/**
 * Art Photography for WooCommerce - Collections List Styles
 * Version: 1.3.9
 * Last Updated: April 16, 2025 - Added Collections List shortcode
 */

/* Main container for collections list */
.art-photography-collections-list-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

/* Grid layout for collections list */
.art-photography-collections-list {
    display: grid;
    gap: 20px;
    width: 100%;
    max-width: 100%;
    margin: 0 0 40px 0;
    padding: 0;
}

/* Set column configuration */
.art-photography-collections-list.columns-1 {
    grid-template-columns: 1fr;
}

.art-photography-collections-list.columns-2 {
    grid-template-columns: repeat(2, 1fr);
}

.art-photography-collections-list.columns-3 {
    grid-template-columns: repeat(3, 1fr);
}

.art-photography-collections-list.columns-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* Individual collection item styling */
.art-photography-collection-list-item {
    margin: 0;
    padding: 0;
    border-bottom: 1px solid #eee;
}

/* Collection link styling */
.art-photography-collection-list-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
    color: #333;
    padding: 12px 5px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.art-photography-collection-list-link:hover {
    background-color: #f8f8f8;
    color: #000;
}

/* Collection name styling */
.art-photography-collection-list-name {
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.02em;
    flex-grow: 1;
}

/* Product count styling */
.art-photography-collection-list-count {
    font-size: 16px;
    font-weight: 400;
    color: #666;
    min-width: 24px;
    text-align: right;
    padding-left: 10px;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .art-photography-collections-list.columns-4 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .art-photography-collections-list.columns-3,
    .art-photography-collections-list.columns-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .art-photography-collection-list-name {
        font-size: 15px;
    }
    
    .art-photography-collection-list-count {
        font-size: 15px;
    }
}

@media (max-width: 576px) {
    .art-photography-collections-list.columns-2,
    .art-photography-collections-list.columns-3,
    .art-photography-collections-list.columns-4 {
        grid-template-columns: 1fr;
    }
}