/**
 * Nett Breadcrumbs Styles
 */

/* Wrapper */
.nett-breadcrumbs-wrapper {
    padding: 15px;
}

/* Breadcrumbs List */
.nett-breadcrumbs-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Crumb Item */
.nett-crumb-item {
    display: flex;
    align-items: center;
}

/* Home Icon */
.nett-home-icon {
    display: flex;
    align-items: center;
    color: #6b7280;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nett-home-icon:hover {
    color: #3b82f6;
}

.nett-home-icon svg {
    width: 18px;
    height: 18px;
}

/* Crumb Link */
.nett-crumb-link {
    color: #6b7280;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.nett-crumb-link:hover {
    color: #3b82f6;
}

/* Crumb Text (no link) */
.nett-crumb-text {
    font-size: 14px;
}

/* Current Page */
.nett-crumb-current {
    color: #111827;
    font-weight: 500;
}

/* Separator */
.nett-crumb-separator {
    display: flex;
    align-items: center;
    color: #9ca3af;
    font-size: 16px;
}

.nett-crumb-separator svg {
    width: 16px;
    height: 16px;
}

/* Responsive */
@media (max-width: 768px) {
    .nett-breadcrumbs-wrapper {
        padding: 10px 12px;
    }

    .nett-breadcrumbs-list {
        gap: 6px;
        flex-wrap: wrap;
        row-gap: 4px;
    }

    .nett-crumb-link,
    .nett-crumb-text {
        font-size: 13px;
        max-width: 180px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: inline-block;
    }

    .nett-crumb-separator {
        font-size: 14px;
    }

    .nett-crumb-separator svg {
        width: 14px;
        height: 14px;
    }

    .nett-home-icon svg {
        width: 16px;
        height: 16px;
    }
}

@media (max-width: 640px) {
    .nett-breadcrumbs-wrapper {
        padding: 8px 10px;
    }

    .nett-breadcrumbs-list {
        gap: 4px;
    }

    .nett-crumb-link,
    .nett-crumb-text {
        font-size: 12px;
        max-width: 140px;
    }

    .nett-crumb-separator {
        font-size: 12px;
    }

    .nett-crumb-separator svg {
        width: 12px;
        height: 12px;
    }

    .nett-home-icon svg {
        width: 14px;
        height: 14px;
    }
}

@media (max-width: 480px) {
    .nett-breadcrumbs-wrapper {
        padding: 6px 8px;
    }

    /* Truncate intermediate items more aggressively */
    .nett-crumb-link,
    .nett-crumb-text {
        font-size: 11px;
        max-width: 100px;
    }

    /* Current page (last item) allowed wider */
    .nett-crumb-current {
        max-width: 160px;
    }

    .nett-crumb-separator {
        font-size: 10px;
    }

    .nett-crumb-separator svg {
        width: 10px;
        height: 10px;
    }

    .nett-home-icon svg {
        width: 13px;
        height: 13px;
    }
}
