

/* Start:/local/components/w7/alphabet.products/templates/.default/style.css?17701402392973*/
.alphabet-products {
    max-width: 100%;
    margin: 20px 0 0;
    padding: 0;
}

.alphabet-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 30px; 
    padding: 0;
    background: none;
    border-radius: 8px;
}

.alphabet-letter {
    display: inline-block;
	min-width:40px;
    padding: 8px 12px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
	text-align:center;
    color: #333;
    font-weight: bold;
    transition: all 0.3s;
    cursor: pointer;
}

.alphabet-letter:hover,
.alphabet-letter.active {
    /*background: #4CAF50;
    color: white;
    border-color: #4CAF50;*/
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.product-item {
    padding: 0;
    transition: transform 0.2s;
}

.product-item a:hover{
	text-decoration:underline!important;
}

.product-link {
    text-decoration: none;
    color: #333;
    display: block;
    font-size: 14px;
    line-height: 1.4;
}

.product-count {
    color: #666;
    font-size: 12px;
}

.load-more-container {
    text-align: center;
    margin: 30px 0;
}

.load-more-btn {
	min-width:100px;
}

.load-more-btn:hover {
    background: #45a049;
}

.load-more-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.no-items,
.no-more-items {
    text-align: center;
    padding: 40px;
    color: #666;
    font-size: 18px;
}

.ajax-error {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #ff4444;
    color: white;
    padding: 15px;
    border-radius: 4px;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    animation: slideIn 0.3s ease-out;
}
.ajax-error {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #ff4444;
    color: white;
    padding: 15px;
    border-radius: 4px;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    animation: slideIn 0.3s ease-out;
    max-width: 300px;
}

.no-more-items {
    text-align: center;
    padding: 20px;
    color: #666;
    font-style: italic;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}
@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Адаптивность */
@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .alphabet-filter {
        justify-content: left;
    }
}

@media (max-width: 480px) {
    .alphabet-products {
        padding: 10px 0;
    }
    
    .alphabet-letter {
        padding: 6px 10px;
        font-size: 14px;
    }
    
    .load-more-btn {
        width: 100%;
        padding: 15px;
    }
}
/* End */
/* /local/components/w7/alphabet.products/templates/.default/style.css?17701402392973 */
