/* ==========================================
   MOBILE BOTTOM NAVIGATION
========================================== */

.mobile-bottom-nav {
    display: none;
}

/* ==========================================
   MOBILE
========================================== */

@media (max-width: 767px) {
    .img-fluid {
        height: auto !important;
    }
    .out-of-stock {
        background: #fff000;
        color: #008e74;
        position: absolute;
        font-weight: bold;
        padding: 0 10px;
        border-radius: 0 10px 10px 0;
        bottom: 218px;
        left: 8px;
    }
    .out-of-stock-signal {
        background: #fff000;
        color: #008e74;
        width: 30%;
        font-weight: bold;
        padding: 0 10px;
        border-radius: 0 10px 10px 0;
    }

    .mobile-bottom-nav {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;

        height: 70px;

        background: #fff;

        border-top: 1px solid #ddd;

        display: flex;
        align-items: center;
        justify-content: space-around;

        z-index: 9999;

        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
    }

    /* ==========================================
       NORMAL ITEM
    ========================================== */

    .bottom-nav-item {
        width: 20%;

        height: 70px;

        display: flex;
        flex-direction: column;

        align-items: center;
        justify-content: center;

        text-decoration: none !important;

        color: #111;

        font-size: 13px;

        gap: 4px;
    }

    .bottom-nav-item i {
        font-size: 17px;
    }

    .bottom-nav-item span {
        font-size: 13px;
        line-height: 1;
    }

    .bottom-nav-item small {
        font-size: 12px;
    }

    .bottom-nav-item:hover {
        color: #009970;
    }

    /* ==========================================
       HOME BUTTON
    ========================================== */

    .bottom-nav-home {
        width: 20%;

        height: 70px;

        position: relative;

        display: flex;

        justify-content: center;

        text-decoration: none !important;
    }

    .home-circle {
        position: absolute;

        width: 72px;
        height: 72px;

        top: -27px;

        border-radius: 50%;

        background: #009970;

        border: 3px solid #fff;

        display: flex;

        flex-direction: column;

        align-items: center;

        justify-content: center;

        color: #fff;

        box-shadow: 0 -1px 8px rgba(0, 0, 0, 0.08);
    }

    .home-circle i {
        font-size: 19px;

        margin-bottom: 4px;
    }

    .home-circle span {
        font-size: 13px;

        font-weight: 500;
    }

    /* ==========================================
       ACTIVE
    ========================================== */

    .bottom-nav-item.active {
        color: #009970;
    }

    /* ==========================================
       BODY SPACE
       Bottom nav যেন content ঢেকে না ফেলে
    ========================================== */

    body {
        padding-bottom: 70px;
    }
}

/* ================= RESPONSIVE ================= */

@media (max-width: 991px) {
    .category-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .category-sort {
        width: 100%;
        justify-content: space-between;
    }
}

@media (max-width: 767px) {
    .category-page {
        padding: 20px 0 40px;
    }

    .category-sort {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .category-sort select {
        width: 100%;
    }

    .filter-box {
        margin-bottom: 15px;
    }

    .product-image {
        height: 200px;
    }
    .empty-product {
        width: 90%;
        box-sizing: border-box;
    }
}

@media (max-width: 575px) {
    .category-page .container-fluid {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    .product-row > div {
        padding-left: 5px;
        padding-right: 5px;
    }

    .product-card {
        padding: 8px;
    }

    .product-image {
        height: 165px;
    }

    .product-name {
        font-size: 14px;
        line-height: 19px;
    }

    .current-price {
        font-size: 16px;
    }

    .old-price {
        font-size: 12px;
    }

    .order-btn {
        height: 34px;
        font-size: 14px;
    }
}
