.container-cust {
    display: flex;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    background-color: white;
    overflow: hidden;
    flex-direction: row;
}

.sidebar-cust {
    width: 30%;
    background-color: #f0f0f0;
    padding-top: 20px;
    z-index: 10;
    position: fixed;
    top: 70px;
    left: 0;
    height: 100vh;
    overflow-y: auto;
    background-color: #f8f8f8;
    /* optional background */
    /* z-index: 1000; */
    padding: 10px;
    padding-bottom: 100px;
}

.content-cust {
    width: 60%;
    padding: 10px;
    overflow-y: auto;
    margin-left: 100px;
    /* Same as sidebar width */
    flex: 1;
    overflow-y: auto;
    padding: 10px;
}

.category-card-cust {
    background-color: #f9f9f9;
    border-radius: 15px;
    padding: 10px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.category-card-cust img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 10px;
}

.category-card-cust p {
    margin: 10px 0 5px;
    font-size: 14px;
}

.category-card-cust span {
    font-size: 12px;
    color: gray;
}

.menu-item-cust {
    padding: 10px;
    cursor: pointer;
    font-size: 14px;
    text-align: center;
}

.menu-item-cust img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.menu-item-cust.active {
    background-color: #d8f1e5;
    border-left: 5px solid #6ec7e3;
    color: #6ec7e3;
    width: 110%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.menu-item-cust.active span {
    font-size: 16px;
}

@media only screen and (max-width: 600px) {
    .row.product-grid-desktop {
        display: none;
    }

    .primary-sidebar {
        display: none;
    }

    .shop-product-fillter {
        display: none;
    }

    .pagination-area {
        display: none;
    }

    .shop-header-cust {
        display: none;
    }
}

@media only screen and (min-width: 600px) {
    .container-cust {
        display: none;
    }
}


.menu-item-cust span {
    line-height: initial;
    font-variant-caps: all-small-caps;
}

.sidebar {
    position: fixed;
    top: 70px;
    left: 0;
    background: white;
    height: calc(100% - 70px);
    width: 80px;
    border-right: 1px solid #ddd;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 0px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #ccc transparent;
    padding-bottom: 100px;
}

.sidebar::-webkit-scrollbar {
    width: 5px;
}

.sidebar::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 10px;
}

.sidebar img {
    width: 60px;
    height: 60px;
    /* margin: 10px 0; */
    border-radius: 6px;
    background-color: #f7f7f7;
    padding: 5px;
}

.main-content-cust {
    margin-left: 60px;
    margin-top: 8px;
    padding: 16px;
}

.category-title {
    font-size: 18px;
    font-weight: bold;
    /* margin-bottom: 15px; */
    color: #00c3ff;
    padding-left: 20px;
}

.subcategory-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 16px;
    justify-content: center;
}

.subcategory-item {
    flex: 0 0 47%;
    background-color: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-align: center;
    padding-bottom: 12px;
}

.subcategory-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.subcategory-item img {
    width: 100%;
    height: 120px;
    object-fit: cover;
}

.subcategory-title {
    margin-top: 10px;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

@media (min-width: 600px) {
    .subcategory-item {
        flex: 0 0 22%;
    }
}

@media (max-width: 991.98px) {
  .header-bottom {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    background-color: #fff; /* or your desired background */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  }

  body {
    padding-top: 40px; /* Prevent content from hiding behind the fixed header */
  }
}

a:hover {
    color: #6ec7e3;
}