/**
 * Mloun Brands – Frontend Styles
 * Version: 1.0.0
 */

/* ================================================================
   Wrapper & Grid
   ================================================================ */
.mloun-brands-wrapper {
    width: 100%;
}

.mloun-brands-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    column-gap: 30px;
    row-gap: 40px;
    width: 100%;
}

/* ================================================================
   Group (one letter block)
   ================================================================ */
.mloun-brands-group {
    break-inside: avoid;
}

/* ================================================================
   Letter Heading
   ================================================================ */
.mloun-brands-letter {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: #ffffff;
    border-bottom: 1px solid #555555;
    padding-bottom: 8px;
    margin-bottom: 12px;
    display: block;
}

/* ================================================================
   Brand List
   ================================================================ */
.mloun-brands-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mloun-brands-list li {
    margin-bottom: 6px;
    padding: 0;
}

.mloun-brands-list a {
    color: #c8932a;
    text-decoration: none;
    font-size: 0.95rem;
    line-height: 1.5;
    transition: color 0.2s ease;
}

.mloun-brands-list a:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* Count badge */
.mloun-brands-count {
    font-size: 0.8em;
    opacity: 0.7;
    margin-left: 3px;
}

/* Empty state */
.mloun-brands-no-items {
    color: #666;
}

.mloun-brands-empty {
    color: #999;
    font-style: italic;
}

/* ================================================================
   Responsive defaults (Elementor responsive controls handle the
   main grid columns, these are safety fallbacks)
   ================================================================ */
@media (max-width: 1024px) {
    .mloun-brands-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .mloun-brands-grid {
        grid-template-columns: 1fr;
    }
}
