* {
    user-select: none;
}

/* Enhanced Bottom Menu Styles Only */
.bottom_bar {
    height: 70px;
    width: 100%;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    position: fixed;
    bottom: 0;
    background: linear-gradient(135deg, #7d2a3e 0%, #923149 100%);
    display: flex;
    align-items: center;
    justify-content: space-around;
    z-index: 9999;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
    padding: 0 10px;
}

.bottom_bar .bottom_bar_link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    height: 60px;
    width: 60px;
    transition: all 0.3s ease;
    border-radius: 12px;
    margin: 0 5px;
}

/*.bottom_bar .bottom_bar_link:hover {*/
/*    background: rgba(255, 255, 255, 0.1);*/
/*    transform: translateY(-5px);*/
/*}*/

.bottom_bar .bottom_bar_link img {
    height: 24px;
    width: 24px;
    filter: invert(10%);
    transition: all 0.3s ease;
}

.bottom_bar .bottom_bar_link:hover img {
    filter: invert(0%);
    transform: scale(1.1);
}

.bottom_bar .bottom_bar_link p {
    margin: 3px 0 0;
    padding: 0;
    font-size: 12px;
    color: #d4d2d2;
    font-weight: 500;
    transition: all 0.3s ease;
}

.bottom_bar .bottom_bar_link:hover p {
    color: #fff;
}

.bottom_bar .a_t_cart {
    height: 70px;
    width: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, #b53c5a 0%, #882d44 100%);
    padding: 15px;
    margin-top: -40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 3px solid #fff;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.bottom_bar .a_t_cart:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.bottom_bar .a_t_cart img {
    height: 36px;
    width: 36px;
    filter: invert(10%) !important;
}

.bottom_bar .bottom_bar_link_active img {
    filter: invert(0%) !important;
}

.bottom_bar .bottom_bar_link_active p {
    color: #fff !important;
    font-weight: 600;
}

.cart_val_display {
    position: absolute;
    top: 9px;
    right: 9px;
    color: #fff;
    font-weight: bold;
    background: #ff4757;
    border-radius: 50%;
    height: 22px;
    width: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* All other existing styles remain exactly the same */
* {
    user-select: none;
}

.bottom_bar p {
    padding: 0;
    margin: 0;
}

.blur_body_div {
    backdrop-filter: blur(5px);
    position: fixed;
    top: 0;
    height: 100%;
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 9;
    display: none;
}

/* ... rest of your existing styles ... */
/*=====================================================*/
.tollbar_div {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background: #ffffff;
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.1);
    z-index: 9999999;
    transition: bottom 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    padding: 20px 15px;
    max-height: 70vh;
    overflow-y: auto;
    display: block;
}

.tollbar_div.active {
    bottom: 0;
}

.tool_div_1 {
    display: flex;
    justify-content: center;
    padding-bottom: 15px;
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.tool_div_1 i {
    font-size: 28px;
    color: #cc657f;
    cursor: pointer;
    transition: transform 0.3s ease;
    padding: 5px 20px;
    background: rgba(204, 101, 127, 0.1);
    border-radius: 50px;
}

.tool_div_1 i:hover {
    transform: translateY(3px);
    background: rgba(204, 101, 127, 0.2);
}

.tool_div_2 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    padding: 0 10px;
}

.tool_item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 8px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.25s ease;
    min-height: 85px;
    justify-content: center;
}

.tool_item:hover {
    background: rgba(204, 101, 127, 0.05);
    transform: translateY(-3px);
}

.tool_item div {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    width: 48px;
    background: linear-gradient(135deg, #fbf8f5 0%, #f3ede3 100%);
    border-radius: 12px;
    margin-bottom: 8px;
    box-shadow: 0 4px 8px rgba(204, 101, 127, 0.08);
    transition: all 0.25s ease;
}

.tool_item:hover div {
    background: linear-gradient(135deg, #f8f4ee 0%, #f0e9dd 100%);
    box-shadow: 0 6px 12px rgba(204, 101, 127, 0.12);
}

.tool_div_2 img {
    height: 24px;
    width: 24px;
    object-fit: contain;
    transition: transform 0.2s ease;
}

.tool_item:hover img {
    transform: scale(1.1);
}

.tool_div_2 .tool_item span {
    font-size: 11px;
    font-weight: 500;
    color: #423337;
    text-align: center;
    line-height: 1.2;
    transition: color 0.2s ease;
    max-width: 100%;
    word-wrap: break-word;
}

.tool_item:hover span {
    color: #cc657f;
}

/* Toggle button specific styles */
#toggleViewBtn {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#toggleIcon {
    font-size: 28px;
    color: #cc657f;
    transition: all 0.2s ease;
}

.tool_item:hover #toggleIcon {
    color: #c04262;
}

.bottom_bar_link_active img {
    filter: invert(0%) !important;
}

.bottom_bar_link_active p {
    color: #fff !important;
}

/* Bottom cart tab rebuilt UI */
.bottom_bar .app_cart_tab {
    width: 62px !important;
    height: 62px !important;
    min-width: 62px !important;
    min-height: 62px !important;
    margin: -22px 0 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 20px !important;
    background: transparent !important;
    box-shadow: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: visible !important;
    transform: none !important;
}

.bottom_bar .app_cart_tab::before,
.bottom_bar .app_cart_tab::after {
    display: none !important;
    content: none !important;
}

.bottom_bar .app_cart_circle {
    position: relative !important;
    width: 58px !important;
    height: 58px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 19px !important;
    background: linear-gradient(145deg, #c75773 0%, #a33651 62%, #551c2a 100%) !important;
    border: 2px solid #ffffff !important;
    box-shadow: 0 10px 20px rgba(80, 27, 40, 0.34), 0 0 0 5px rgba(199, 87, 115, 0.14) !important;
}

.bottom_bar .app_cart_icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #ffffff !important;
    font-size: 24px !important;
    line-height: 1 !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.22) !important;
}

.bottom_bar .app_cart_badge.ajax_cart_val {
    position: absolute !important;
    top: -9px !important;
    right: -8px !important;
    min-width: 22px !important;
    width: auto !important;
    height: 22px !important;
    padding: 0 6px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 999px !important;
    background: #ef4444 !important;
    color: #ffffff !important;
    border: 2px solid #ffffff !important;
    box-shadow: 0 5px 12px rgba(239, 68, 68, 0.28) !important;
    font-size: 11px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    z-index: 2 !important;
}

.bottom_bar .app_cart_badge.ajax_cart_val:empty {
    display: none !important;
}

@media (max-width: 390px) {
    .bottom_bar .app_cart_tab {
        width: 58px !important;
        height: 58px !important;
        min-width: 58px !important;
        min-height: 58px !important;
        margin-top: -20px !important;
    }

    .bottom_bar .app_cart_circle {
        width: 54px !important;
        height: 54px !important;
        border-radius: 18px !important;
    }
}

/* Modern bottom navigation final pass */
@media (max-width: 768px) {
    .bottom_bar {
        left: 50% !important;
        right: auto !important;
        bottom: 0 !important;
        width: min(100%, 480px) !important;
        height: 62px !important;
        padding: 6px 12px calc(6px + env(safe-area-inset-bottom) / 2) !important;
        display: grid !important;
        grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
        align-items: center !important;
        gap: 4px !important;
        transform: translateX(-50%) !important;
        overflow: visible !important;
        border-radius: 16px 16px 0 0 !important;
        border: 1px solid rgba(255, 255, 255, 0.14) !important;
        border-bottom: 0 !important;
        background: linear-gradient(135deg, rgba(52, 17, 26, 0.98), rgba(146, 49, 73, 0.98)) !important;
        box-shadow: 0 -10px 26px rgba(41, 14, 21, 0.24) !important;
    }

    .bottom_bar .bottom_bar_link,
    .bottom_bar .bottom_bar_link_active {
        width: 100% !important;
        height: 50px !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 4px 0 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 3px !important;
        border-radius: 12px !important;
        background: transparent !important;
        box-shadow: none !important;
        transform: none !important;
    }

    .bottom_bar .bottom_nav_icon {
        display: block !important;
        font-size: 20px !important;
        line-height: 1 !important;
        color: rgba(255, 255, 255, 0.84) !important;
        filter: none !important;
    }

    .bottom_bar .bottom_bar_link p,
    .bottom_bar .bottom_bar_link_active p {
        margin: 0 !important;
        font-size: 10px !important;
        line-height: 1.05 !important;
        font-weight: 700 !important;
        color: rgba(255, 255, 255, 0.88) !important;
        letter-spacing: 0 !important;
    }

    .bottom_bar .bottom_bar_link:not(.app_cart_tab):hover,
    .bottom_bar .bottom_bar_link_active:not(.app_cart_tab):hover {
        background: rgba(255, 255, 255, 0.1) !important;
    }

    .bottom_bar .bottom_bar_link img {
        display: none !important;
    }

    .bottom_bar .app_cart_tab,
    .bottom_bar .bottom_bar_link.app_cart_tab,
    .bottom_bar .a_t_cart.app_cart_tab {
        justify-self: center !important;
        width: 58px !important;
        height: 58px !important;
        min-width: 58px !important;
        min-height: 58px !important;
        margin: -22px auto 0 !important;
        padding: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        border-radius: 18px !important;
        border: 2px solid #ffffff !important;
        background: linear-gradient(145deg, #c85a76 0%, #a33651 58%, #622131 100%) !important;
        box-shadow: 0 10px 22px rgba(99, 33, 50, 0.34), 0 0 0 5px rgba(255, 255, 255, 0.14) !important;
        overflow: visible !important;
        transform: none !important;
    }

    .bottom_bar .app_cart_tab::before,
    .bottom_bar .app_cart_tab::after,
    .bottom_bar .a_t_cart.app_cart_tab::before,
    .bottom_bar .a_t_cart.app_cart_tab::after {
        display: none !important;
        content: none !important;
    }

    .bottom_bar .app_cart_circle {
        position: relative !important;
        width: 100% !important;
        height: 100% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        border: 0 !important;
        border-radius: inherit !important;
        background: transparent !important;
        box-shadow: none !important;
        filter: none !important;
    }

    .bottom_bar .app_cart_icon {
        display: block !important;
        font-size: 23px !important;
        line-height: 1 !important;
        color: #ffffff !important;
        text-shadow: none !important;
    }

    .bottom_bar .app_cart_badge.ajax_cart_val {
        position: absolute !important;
        top: -8px !important;
        right: -8px !important;
        width: 22px !important;
        height: 22px !important;
        min-width: 22px !important;
        padding: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        border: 2px solid #ffffff !important;
        border-radius: 999px !important;
        background: #ff4057 !important;
        color: #ffffff !important;
        font-size: 11px !important;
        font-weight: 800 !important;
        line-height: 1 !important;
        box-shadow: 0 6px 14px rgba(255, 64, 87, 0.28) !important;
    }

    .bottom_bar .app_cart_badge.ajax_cart_val:empty {
        display: none !important;
    }
}

@media (max-width: 360px) {
    .bottom_bar {
        height: 60px !important;
        padding-left: 8px !important;
        padding-right: 8px !important;
        gap: 2px !important;
    }

    .bottom_bar .app_cart_tab,
    .bottom_bar .bottom_bar_link.app_cart_tab,
    .bottom_bar .a_t_cart.app_cart_tab {
        width: 54px !important;
        height: 54px !important;
        min-width: 54px !important;
        min-height: 54px !important;
        margin-top: -20px !important;
        border-radius: 17px !important;
    }
}
