/*
Theme Name: Astra Child
Description: Child theme for Astra.
Template: astra
Version: 1.1.0
Text Domain: astra-child
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

.glx-dynamic-category-menu {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px 8px;
    width: 100%;
}

.glx-dynamic-category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
}

.glx-category-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #edf5fa;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 6px;

    transition: 0.25s ease;
}

.glx-category-icon img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.glx-category-name {
    font-size: 13px;
    line-height: 1.15;
    color: #161616;
    font-weight: 500;
}

.glx-dynamic-category-item:hover .glx-category-icon {
    transform: translateY(-3px) scale(1.06);
    box-shadow: 0 8px 18px rgba(0,0,0,0.08);
}

.glx-dynamic-category-item:hover .glx-category-name {
    color: #1084ba;
}

@media (max-width: 767px) {

    .glx-dynamic-category-menu {
        grid-template-columns: repeat(6, 1fr);
        gap: 12px 4px;
    }

    .glx-category-icon {
        width: 42px;
        height: 42px;
    }

    .glx-category-icon img {
        width: 27px;
        height: 27px;
    }

    .glx-category-name {
        font-size: 11px;
    }
}

.mwai-messages-theme.mwai-window.mwai-top-right{
           bottom: 230px !important;
   
    right: 30px;
    
}
.mwai-messages-theme.mwai-window.mwai-top-right {
    top: inherit !important;
    bottom: inherit !important;
    right: 30px;
}
.mwai-messages-theme.mwai-window.mwai-top-right .mwai-trigger {
    /* top: 0; */
    bottom: auto !important;
}
/* Keep the existing category shortcode responsive. */
.glx-category-menu { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:16px 8px; }
.glx-category-item { display:flex; flex-direction:column; align-items:center; text-align:center; text-decoration:none; min-width:0; }
.glx-category-title { font-size:13px; line-height:1.3; overflow-wrap:anywhere; }
@media(max-width:480px) { .glx-category-menu { grid-template-columns:repeat(3,minmax(0,1fr)); } }
