/* Main nav */
.huskymenu {
    background: #fff;
    border-bottom: 1px solid #e5e5e5;
    position: relative;
    z-index: 1000;
}

.huskymenu-main {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    max-width: 1200px;
    margin: 0 auto;
}

.huskymenu-item {
    position: static;
}

.huskymenu-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 14px 18px;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    text-decoration: none;
    transition: color 0.2s;
}

.huskymenu-link:hover,
.huskymenu-item:hover > .huskymenu-link {
    color: #d35400;
}

.huskymenu-arrow {
    border: solid currentColor;
    border-width: 0 1.5px 1.5px 0;
    padding: 2px;
    transform: rotate(45deg);
    margin-top: -2px;
}

/* Mega dropdown - full width */
.huskymenu-mega {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    background: #fff;
    border-top: 1px solid #eee;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s;
    z-index: 1001;
}

.huskymenu-item:hover .huskymenu-mega {
    opacity: 1;
    visibility: visible;
}

.huskymenu-mega-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px 40px;
}

/* Grid columns */
.huskymenu-grid {
    display: grid;
    grid-template-columns: repeat(var(--cols, 4), 1fr);
    gap: 30px 35px;
}

/* Each brand/category column */
.huskymenu-column {
    min-width: 0;
}

.huskymenu-heading {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #111;
    text-decoration: none;
    margin-bottom: 12px;
}

.huskymenu-heading:hover {
    color: #333;
}

/* Subcategory list */
.huskymenu-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.huskymenu-list li {
    margin-bottom: 6px;
    line-height: 1.4;
}

.huskymenu-list a {
    font-size: 13px;
    color: #555;
    text-decoration: none;
}

.huskymenu-list a:hover {
    color: #000;
}

/* Mobile toggle */
.huskymenu-mobile-toggle {
    display: none;
    width: 100%;
    padding: 14px 20px;
    background: #fff;
    border: none;
    border-bottom: 1px solid #eee;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
}

/* Mobile */
@media (max-width: 991px) {
    .huskymenu {
        position: relative;
    }

    .huskymenu-mobile-toggle {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .huskymenu-main {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #fff;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
        max-height: 80vh;
        overflow-y: auto;
        z-index: 1002;
    }

    .huskymenu.active .huskymenu-main {
        display: flex;
    }

    .huskymenu-item {
        border-bottom: 1px solid #eee;
    }

    .huskymenu-link {
        justify-content: space-between;
        padding: 14px 20px;
    }

    .huskymenu-mega {
        position: static;
        box-shadow: none;
        border-top: none;
        background: #fafafa;
        display: none;
        opacity: 1;
        visibility: visible;
    }

    .huskymenu-item.active .huskymenu-mega {
        display: block;
    }

    .huskymenu-mega-inner {
        padding: 20px;
    }

    .huskymenu-grid {
        grid-template-columns: 1fr 1fr;
        gap: 25px 20px;
    }

    .huskymenu-column {
        padding-bottom: 15px;
        border-bottom: 1px solid #eee;
    }

    .huskymenu-column:last-child {
        border-bottom: none;
    }
}

@media (max-width: 575px) {
    .huskymenu-grid {
        grid-template-columns: 1fr;
    }
}
