
.liquid-wrapper,
.gmg-nav-drawer {
    --accent-violet: var(--gmg-main-primary, #7b5cff);
    --accent-cyan: var(--gmg-main-secondary, #00f0ff);
    --accent-coral: var(--gmg-main-primary, #ff477e);
    --glass-bg: var(--gmg-main-bg, #0c0f1c);
    --glass-border: var(--gmg-main-border, rgba(255, 255, 255, 0.08));
    --glass-border-hover: rgba(255, 255, 255, 0.28);
    --radius-pill: 50px;
    --smooth-ease: cubic-bezier(0.16, 1, 0.3, 1);

    
    --gmg-drawer-offset: 100%;
    --gmg-drawer-shadow-x: -15px;
    --gmg-grad-angle: 90deg;
}

[dir="rtl"] .liquid-wrapper,
[dir="rtl"] .gmg-nav-drawer {
    --gmg-drawer-offset: -100%;
    --gmg-drawer-shadow-x: 15px;
    --gmg-grad-angle: 270deg;
}


html body.gmg-drawer-opened {
    overflow: hidden;
}

.liquid-wrapper {
    width: 100%;
    position: relative;
    box-sizing: border-box;
}

.liquid-wrapper .ambient-light-canvas {
    position: absolute;
    inset-block-start: 0;
    inset-inline-start: 0;
    width: 100%;
    height: 500px;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.liquid-wrapper .light-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(130px);
    opacity: 0.25;
    animation: gmgNavDrawerFloat 16s infinite alternate ease-in-out;
}

.liquid-wrapper .orb-primary {
    width: 420px;
    height: 420px;
    background: var(--accent-violet);
    inset-block-start: -10%;
    inset-inline-end: 10%;
}

.liquid-wrapper .orb-secondary {
    width: 400px;
    height: 400px;
    background: var(--accent-cyan);
    inset-block-start: 5%;
    inset-inline-start: 8%;
    animation-delay: -6s;
}

@keyframes gmgNavDrawerFloat {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(35px, 25px) scale(1.08);
    }
}


.liquid-wrapper .pill-navbar {
    background: var(--glass-bg);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-pill);
    padding: 8px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45), inset 0 1px 1px rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 999;
}

.liquid-wrapper .pill-navbar .nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #fff;
    flex-shrink: 0;
}

.liquid-wrapper .pill-navbar .brand-avatar-3d {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--accent-violet), var(--accent-cyan));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    color: #fff;
    box-shadow: 0 0 20px color-mix(in srgb, var(--accent-violet) 45%, transparent);
    transition: transform 0.35s var(--smooth-ease);
}

.liquid-wrapper .pill-navbar .nav-brand:hover .brand-avatar-3d {
    transform: rotate(15deg) scale(1.08);
}

.liquid-wrapper .pill-navbar .brand-name span {
    font-size: 0.95rem;
    font-weight: 500;
    color: #cbd5e1;
    display: flex;
    gap: 4px;
}

.liquid-wrapper .pill-navbar .brand-name strong {
    color: #fff;
    background: linear-gradient(90deg, #fff, var(--accent-cyan));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.liquid-wrapper .pill-navbar .curved-filter-dock {
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 4px;
    border-radius: var(--radius-pill);
    gap: 4px;
    overflow-x: auto;
    scrollbar-width: none;
}
html[data-gmg-theme="light"] .liquid-wrapper .pill-navbar .curved-filter-dock {
    background: rgb(201 201 201 / 35%);

}

.liquid-wrapper .pill-navbar .curved-filter-dock::-webkit-scrollbar {
    display: none;
}

.liquid-wrapper .pill-navbar .filter-pill {
    background: transparent;
    border: none;
    cursor: pointer;
    text-decoration: none;
    color: var(--gmg-main-text, #f8fafc);
    padding: 7px 16px;
    border-radius: var(--radius-pill);
    font-size: 0.86rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
    transition: all 0.3s var(--smooth-ease);
}

.liquid-wrapper .pill-navbar .filter-pill:focus-visible,
.liquid-wrapper .pill-navbar .nav-brand:focus-visible,
.liquid-wrapper .pill-navbar .search-submit-btn:focus-visible {
    outline: 2px solid var(--accent-cyan);
    outline-offset: 2px;
}

.liquid-wrapper .pill-navbar .filter-pill i,
.liquid-wrapper .pill-navbar .filter-pill svg {
    font-size: 0.82rem;
    transition: transform 0.3s ease;
}

.liquid-wrapper .pill-navbar .filter-pill:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.liquid-wrapper .pill-navbar .filter-pill.active {
    background: #ffffff;
    color: #0b0f19;
    font-weight: 700;
    box-shadow: 0 4px 18px rgba(255, 255, 255, 0.25);
}

.liquid-wrapper .pill-navbar .filter-pill.active i,
.liquid-wrapper .pill-navbar .filter-pill.active svg {
    color: var(--accent-violet);
}

.liquid-wrapper .pill-navbar .nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}


.liquid-wrapper .pill-navbar .curved-search-bubble {
    position: relative;
    display: flex;
    align-items: center;
}

.liquid-wrapper .pill-navbar .curved-search-bubble .search-submit-btn {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    font-size: 0.88rem;
    padding: 0;
    display: flex;
    align-items: center;
    transition: color 0.3s ease;
}

.liquid-wrapper .pill-navbar .curved-search-bubble input {
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-pill);
    padding: 8px 36px 8px 16px;
    color: #fff;
    font-size: 0.85rem;
    width: 170px;
    transition: all 0.4s var(--smooth-ease);
}
html[data-gmg-theme="light"] .liquid-wrapper .pill-navbar .curved-search-bubble input {
    background: rgb(201 201 201 / 35%);

}

.liquid-wrapper .pill-navbar .curved-search-bubble input:focus {
    width: 230px;
    background: rgba(0, 0, 0, 0.55);
    border-color: var(--accent-cyan);
    box-shadow: 0 0 16px color-mix(in srgb, var(--accent-cyan) 25%, transparent);
    outline: none;
}

.liquid-wrapper .pill-navbar .curved-search-bubble input:focus + .search-submit-btn,
.liquid-wrapper .pill-navbar .curved-search-bubble .search-submit-btn:hover {
    color: var(--accent-cyan);
}


.liquid-wrapper .pill-navbar .gmg-cart-container {
    position: relative;
    display: flex;
    align-items: center;
}

.liquid-wrapper .pill-navbar .cart-bubble-trigger {
    width: 40px;
    height: 40px;
    background: var(--gmg-main-bg, #0c0f1c);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gmg-main-text, #f8fafc);
    font-size: 0.95rem;
    text-decoration: none;
    position: relative;
    transition: all 0.3s var(--smooth-ease);
}

.liquid-wrapper .pill-navbar .cart-bubble-trigger:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--accent-coral);
    box-shadow: 0 0 16px color-mix(in srgb, var(--accent-coral) 35%, transparent);
    color: #fff;
}


.liquid-wrapper .pill-navbar .cart-badge-dot {
    position: absolute;
    top: -3px;
    left: -3px;
    background: var(--accent-coral);
    color: #fff;
    min-width: 19px;
    height: 19px;
    padding: 0 5px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 10px color-mix(in srgb, var(--accent-coral) 80%, transparent);
    border: 2px solid #0d111c;
}


.liquid-wrapper .pill-navbar .gmg-burger-trigger {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: all 0.3s var(--smooth-ease);
}

.liquid-wrapper .pill-navbar .gmg-burger-trigger:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--accent-violet);
    box-shadow: 0 0 16px color-mix(in srgb, var(--accent-violet) 40%, transparent);
}

.liquid-wrapper .pill-navbar .burger-lines {
    width: 18px;
    height: 13px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.liquid-wrapper .pill-navbar .burger-lines .line {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--gmg-main-text, #ffffff);
    border-radius: 2px;
    transition: all 0.35s var(--smooth-ease);
}

.liquid-wrapper .pill-navbar .burger-lines .line-2 {
    width: 70%;
    margin-inline-end: 0;
}

.liquid-wrapper .pill-navbar .gmg-burger-trigger:hover .burger-lines .line-2 {
    width: 100%;
    background: var(--accent-cyan);
}


.gmg-nav-drawer {
    position: fixed;
    inset-block-start: 0;
    inset-inline-end: 0;
    width: 100vw;
    height: 100vh;
    z-index: 99999;
    pointer-events: none;
    visibility: hidden;
    transition: visibility 0.4s ease;
}

.gmg-nav-drawer.is-open {
    visibility: visible;
    pointer-events: auto;
}

.gmg-nav-drawer .gmg-drawer-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(4, 7, 14, 0.65);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gmg-nav-drawer.is-open .gmg-drawer-backdrop {
    opacity: 1;
}

.gmg-nav-drawer .gmg-drawer-content {
    position: absolute;
    inset-block-start: 0;
    inset-inline-end: 0;
    width: 360px;
    max-width: 88vw;
    height: 100%;
    background: rgba(14, 18, 30, 0.88);
    backdrop-filter: blur(35px);
    -webkit-backdrop-filter: blur(35px);
    border-inline-start: 1px solid var(--glass-border);
    box-shadow: var(--gmg-drawer-shadow-x) 0 50px rgba(0, 0, 0, 0.65);
    display: flex;
    flex-direction: column;
    transform: translateX(var(--gmg-drawer-offset));
    transition: transform 0.45s var(--smooth-ease);
    box-sizing: border-box;
}

.gmg-nav-drawer.is-open .gmg-drawer-content {
    transform: translateX(0);
}

.gmg-nav-drawer .gmg-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.gmg-nav-drawer .gmg-drawer-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
}

.gmg-nav-drawer .drawer-icon-glow {
    color: var(--accent-cyan);
    filter: drop-shadow(0 0 8px var(--accent-cyan));
}

.gmg-nav-drawer .gmg-drawer-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: #94a3b8;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.gmg-nav-drawer .gmg-drawer-close:hover {
    background: color-mix(in srgb, var(--accent-coral) 15%, transparent);
    border-color: var(--accent-coral);
    color: #fff;
    transform: rotate(90deg);
}

.gmg-nav-drawer .gmg-drawer-close:focus-visible,
.gmg-nav-drawer .gmg-drawer-menu-list li a:focus-visible {
    outline: 2px solid var(--accent-cyan);
    outline-offset: 2px;
}

.gmg-nav-drawer .gmg-drawer-body {
    flex: 1;
    padding: 20px 18px;
    overflow-y: auto;
    scrollbar-width: thin;
}

.gmg-nav-drawer .gmg-drawer-menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.gmg-nav-drawer .gmg-drawer-menu-list li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.94rem;
    font-weight: 500;
    border-radius: 12px;
    border: 1px solid transparent;
    transition: all 0.25s var(--smooth-ease);
}

.gmg-nav-drawer .gmg-drawer-menu-list li a:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    padding-inline-end: 20px;
}

.gmg-nav-drawer .gmg-drawer-menu-list li.current-menu-item > a,
.gmg-nav-drawer .gmg-drawer-menu-list li.current_page_item > a {
    background: linear-gradient(var(--gmg-grad-angle), color-mix(in srgb, var(--accent-violet) 20%, transparent), transparent);
    border-inline-end: 3px solid var(--accent-violet);
    color: #fff;
    font-weight: 700;
}

.gmg-nav-drawer .gmg-drawer-menu-list .sub-menu {
    list-style: none;
    margin-block: 4px;
    margin-inline: 0 15px;
    padding: 0;
    border-inline-end: 1px dashed rgba(255, 255, 255, 0.15);
}

.gmg-nav-drawer .gmg-drawer-menu-list .sub-menu li a {
    font-size: 0.85rem;
    color: #94a3b8;
    padding: 8px 12px;
}

.gmg-nav-drawer .gmg-drawer-footer {
    padding: 18px 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.gmg-nav-drawer .drawer-status-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    color: #64748b;
}

.gmg-nav-drawer .status-indicator {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 8px #10b981;
}

@media (max-width: 991px) {
    .liquid-wrapper .pill-navbar .curved-filter-dock {
        display: none;
    }

    .liquid-wrapper .pill-navbar .curved-search-bubble input {
        width: 130px;
    }

    .liquid-wrapper .pill-navbar .curved-search-bubble input:focus {
        width: 170px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .liquid-wrapper .light-orb {
        animation: none;
    }

    .liquid-wrapper .pill-navbar .nav-brand:hover .brand-avatar-3d,
    .gmg-nav-drawer .gmg-drawer-close:hover {
        transform: none;
    }

    .gmg-nav-drawer,
    .gmg-nav-drawer .gmg-drawer-backdrop,
    .gmg-nav-drawer .gmg-drawer-content {
        transition: none;
    }
}
