/**
 * Menu Icons Styles
 * Defines styling for menu items with icon-* classes
 */

.geeknplay-menu-icon {
    display: inline-flex;
    width: 26px;
    height: 26px;
    line-height: 0;
    margin-right: 0.5rem;
    /* Ensure icons follow the text color */
    color: inherit;
}

.geeknplay-menu-icon .geeknplay-icon {
    width: 100%;
    height: 100%;
    display: block;
    /* Draw icons using stroke so large background rects don't become filled blocks */
    stroke: currentColor;
    fill: none;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Ensure strokes don't scale oddly when the icon is resized */
.geeknplay-menu-icon .geeknplay-icon * {
    vector-effect: non-scaling-stroke;
}

/* Ensure the SVG preserves visible overflow and uses strokes by default.
   Individual elements inside the sprite which should be filled have explicit
   `fill="currentColor"` in the symbol markup. Avoid forcing fill globally. */
.geeknplay-menu-icon .geeknplay-icon {
    overflow: visible;
}

.geeknplay-menu-title {
    display: inline-block;
}

/* Responsive: hide menu icons on mobile, show only text */
@media (max-width: 860px) {
    /* Hide menu icons on mobile, show only text */
    .primary-menu .geeknplay-menu-icon {
        display: none;
    }

    /* Adjust menu title spacing without icon */
    .primary-menu .geeknplay-menu-title {
        display: inline-block;
    }
}
