body {
    overflow-x: hidden;
}

.orange {
    color: var(--bs-orange);
}

/* ================= HEADER ================= */
.lcx-header {
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 1000;
    border-bottom: 1px solid #eee
}

/* ================= TOP BAR ================= */
.lcx-top {
    display: flex;
    align-items: center;
    padding: 10px 16px;
    gap: 16px;
}

.lcx-logo {
    height: 40px
}

/* ================= SEARCH ================= */
.lcx-search {
    flex: 1;
    position: relative;
}

.lcx-search input {
    width: 100%;
    padding: 10px 40px;
    border-radius: 30px;
    border: 1px solid #ddd;
}

.lcx-search i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
}

/* ================= RIGHT ================= */
.lcx-right {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
}

.lcx-right i {
    font-size: 20px;
    cursor: pointer
}

.lcx-hamburger {
    border: none;
    background: none;
    font-size: 22px;
    cursor: pointer
}

/* ================= DESKTOP LOCATION ================= */
.lcx-location {
    font-size: 14px;
    cursor: pointer;
    white-space: nowrap;
}

.lcx-categories-wrap {
    overflow-x: auto;
    overflow-y: visible;
}

/* ================= CATEGORIES ================= */
.lcx-categories {
    display: flex;
    gap: 12px;
    padding: 0px 16px;
    position: relative;
}

.b-line {
    border-top: 1px solid #eee;
}

/* ================= CATEGORY ITEM ================= */
.lcx-cat {
    position: relative;
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    white-space: nowrap;
    padding: 10px 5px;
}

.lcx-cat a,
.lcx-cat a:hover {
    color: var(--dark)
}

.lcx-cat.active,
.lcx-cat:hover {
    background-color: var(--bs-orange);
}

/* ================= DROPDOWN ================= */
.lcx-submenu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 160px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
    padding: 8px 0;

    display: none;
    z-index: 1000;
}

.lcx-submenu a {
    display: block;
    padding: 10px 14px;
    text-decoration: none;
    font-size: 14px;
    color: #333;
}

.lcx-submenu a:hover {
    background: var(--bs-orange);
}

.lcx-cat.has-dropdown.active .lcx-submenu {
    display: flex;
}

.lcx-cat.has-dropdown.active .lcx-submenu-d {
    display: block;
}

/* Arrow rotation (desktop + mobile) */
.lcx-sub-arrow {
    font-size: 12px;
    margin-left: 0px;
    transition: transform 0.25s ease;
}

.lcx-cat.has-dropdown.active .lcx-sub-arrow {
    transform: rotate(180deg);
}

.lcx-cat.has-dropdown {
    cursor: pointer;
}

/* ================= SIDE MENU ================= */
.lcx-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .5);
    display: none;
    z-index: 2000;
}

.lcx-menu-overlay.active {
    display: block
}

.lcx-side-menu {
    position: absolute;
    right: -320px;
    width: 320px;
    height: 100%;
    background: #fff;
    padding: 16px;
    transition: .3s;
}

.lcx-menu-overlay.active .lcx-side-menu {
    right: 0
}

.lcx-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.lcx-close {
    border: none;
    background: none;
    font-size: 26px;
    cursor: pointer;
}

.lcx-menu-links {
    list-style: none;
    padding: 0;
    margin-top: 20px
}

.lcx-menu-links li {
    margin-bottom: 14px
}

.lcx-menu-links a {
    text-decoration: none;
    color: #333
}

.lcx-search-mobile {
    display: none;
}

.lcx-categories-mobile {
    display: none;
}

/* ================= MOBILE ================= */
@media (max-width: 800px) {
    .lcx-top {
        max-width: 100%;
    }

    .lcx-search {
        display: none;
    }

    .lcx-search i {
        left: 30px;
    }

    .lcx-search-mobile {
        display: block;
        padding: 10px 16px;
    }

    .lcx-categories {
        display: none;
    }

    .lcx-categories-mobile {
        display: flex;
        overflow-x: auto;
    }

    /*.lcx-location-bar {
        display: block
    }

    .lcx-location-desktop {
        display: none
    }

    .lcx-top {
        justify-content: space-between;
    }

    .lcx-search {
        display: none
    }

    .lcx-categories {
        overflow-x: auto;
        white-space: nowrap;
    }

    .lcx-cat:hover .lcx-submenu {
        display: none
    }*/

}

img {
    max-width: 100%;
}

a {
    text-decoration: none;
}


.product-actions {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
    display: flex;
    gap: 8px;
}

.action-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: none;
    background: #fff;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transition: all 0.2s ease;
}

.action-btn i {
    font-size: 1em;
    line-height: 1em;
}

.action-btn:hover {
    color: var(--bs-orange);
}

.wishlist-btn.active {
    color: var(--bs-orange);
}

.wishlist-btn.active i::before {
    content: "\f415";
    /* bi-heart-fill */
    font-family: "Bootstrap-icons";
}

.wishlist-btn.loading {
    pointer-events: none;
    opacity: 0.6;
}

.lcx-bottom-tabs {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: #ffffff;
    border-top: 1px solid #e5e5e5;
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 9999;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
}

.lcx-bottom-tabs .tab-item {
    flex: 1;
    text-align: center;
    color: #777;
    font-size: 11px;
    text-decoration: none;
}

.lcx-bottom-tabs .tab-item i {
    display: block;
    font-size: 20px;
    margin-bottom: 2px;
}

.lcx-bottom-tabs .tab-item.active,
.lcx-bottom-tabs .tab-item:hover {
    color: #fd7e14;
}

/* Give space so content doesn't hide behind tabs */
@media (max-width: 800px) {
    footer {
        padding-bottom: 70px;
    }

    .lcx-bottom-tabs {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 60px;
        background: #fff;
        border-top: 1px solid #e5e5e5;
        z-index: 2147483647;
        /* max safe */
        will-change: auto;
    }

    .lcx-header {
        position: static !important;
        top: auto !important;
    }

    .lcx-header .lcx-top1 .lcx-right a {
        display: none !important;
    }

    /* Ensure hamburger stays visible */
    .lcx-header .lcx-top1 .lcx-hamburger {
        display: inline-flex !important;
    }
}