/**
 * Starter Mega Menu Widget Styles
 */

/* Wrapper */
.starter-mega-menu-wrapper {
    background: #fff;
    padding: 20px 25px;
}

/* Title */
.starter-mega-menu-title {
    font-size: 18px;
    font-weight: 700;
    color: #c41230;
    margin: 0 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #c41230;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Grid Layout */
.starter-mega-menu-grid {
    display: grid;
    gap: 20px;
}

.starter-columns-2 { grid-template-columns: repeat(2, 1fr); }
.starter-columns-3 { grid-template-columns: repeat(3, 1fr); }
.starter-columns-4 { grid-template-columns: repeat(4, 1fr); }
.starter-columns-5 { grid-template-columns: repeat(5, 1fr); }
.starter-columns-6 { grid-template-columns: repeat(6, 1fr); }

/* Category Column */
.starter-category-column {
    padding: 0;
}

/* Category Image */
.starter-category-image {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 10px;
}

/* Category Title */
.starter-category-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
    font-weight: 600;
    color: #222;
    text-transform: uppercase;
    text-decoration: none;
    padding-bottom: 8px;
    margin-bottom: 10px;
    border-bottom: 1px solid #eee;
    transition: color 0.2s ease;
}

.starter-category-title:hover {
    color: #c41230;
}

/* Subcategory List */
.starter-subcategory-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.starter-subcategory-item {
    margin-bottom: 2px;
}

.starter-subcategory-item a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    color: #555;
    text-decoration: none;
    padding: 5px 0;
    transition: all 0.2s ease;
}

.starter-subcategory-item a:hover {
    color: #c41230;
    padding-left: 5px;
}

/* Product Count */
.starter-product-count {
    font-size: 11px;
    color: #999;
    background: #f5f5f5;
    padding: 2px 8px;
    border-radius: 10px;
    margin-left: 8px;
    font-weight: 500;
}

/* Brands Section */
.starter-brands-divider {
    border-top: 1px solid #e1e1e1;
    margin: 20px 0;
}

.starter-brands-title {
    font-size: 14px;
    font-weight: 600;
    color: #222;
    margin: 0 0 15px 0;
    text-transform: uppercase;
}

/* Brands Grid */
.starter-brands-grid {
    display: grid;
    gap: 15px;
    align-items: center;
}

.starter-brands-item {
    text-align: center;
}

.starter-brands-item a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
}

.starter-brands-item img {
    max-width: 70px;
    height: auto;
    opacity: 0.7;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.starter-brands-item:hover img {
    opacity: 1;
    transform: scale(1.05);
}

.starter-brand-name {
    font-size: 12px;
    color: #555;
    margin-top: 8px;
}

/* Responsive */
@media (max-width: 1200px) {
    .starter-columns-6 { grid-template-columns: repeat(5, 1fr); }
    .starter-columns-5 { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 992px) {
    .starter-columns-6,
    .starter-columns-5 { grid-template-columns: repeat(3, 1fr); }
    .starter-columns-4 { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .starter-columns-6,
    .starter-columns-5,
    .starter-columns-4,
    .starter-columns-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
    .starter-mega-menu-grid,
    .starter-brands-grid {
        grid-template-columns: 1fr;
    }
}
