/* 📱 Mobile Specific Styles */
@media (max-width: 768px) {
    .washop-body {
        flex-direction: column;
        padding: 15px;
    }

    .washop-sidebar {
        display: none;
    }

    .washop-products {
        grid-template-columns: 1fr;
        min-height: 200px; /* keep consistent layout space */
        width: 100%;
        box-sizing: border-box;
    }

    .product-card {
        flex-direction: row;
        padding: 10px;
    }

    .washop-header {
        padding: 20px 15px;
        min-height: 80px;
        width: 100%;
        box-sizing: border-box;
    }

    #productSearch {
        width: 100%;
        margin-top: 10px;
    }

    .washop-search {
        padding: 0 15px;
        margin-top: 0;
    }

    /* 📂 Horizontal Category Scroller */
    .washop-mobile-catbar {
        overflow-x: auto;
        white-space: nowrap;
        padding: 10px 15px;
        background: #f9f9f9;
    }

    .cat-scroll {
        display: flex;
        gap: 15px;
    }

    .mobile-cat-btn {
        background: white;
        color: #00c26d;
        border: 2px solid #00c26d;
        padding: 8px 14px;
        border-radius: 25px;
        font-size: 14px;
        cursor: pointer;
        white-space: nowrap;
    }

    /* 📱 Sticky Bottom Footer */
    .washop-mobile-footer {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        display: flex;
        justify-content: space-between;
        padding: 12px 15px;
        background: #fff;
        border-top: 1px solid #ddd;
        box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
        z-index: 1000;
    }

    .mobile-menu-btn,
    .mobile-send-btn {
        flex: 1;
        padding: 12px;
        font-size: 16px;
        font-weight: bold;
        border: none;
        border-radius: 6px;
        cursor: pointer;
        margin: 0 5px;
    }

    .mobile-menu-btn {
        background: #f2f2f2;
        color: #333;
    }

    .mobile-send-btn {
        background: #25d366;
        color: white;
        position: relative;
    }

    .mobile-send-btn .whatsapp-count {
        position: absolute;
        top: -6px;
        right: -10px;
        background: red;
        color: white;
        font-size: 12px;
        padding: 2px 6px;
        border-radius: 50%;
        font-weight: bold;
    }

    /* 📂 Mobile Category Drawer */
    .mobile-cat-drawer {
        position: fixed;
        top: 0;
        left: 0;
        height: 100vh;
        width: 80%;
        max-width: 300px;
        background: #f2f2f2;
        box-shadow: 2px 0 10px rgba(0,0,0,0.2);
        padding: 20px;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 10000;
    }

    .mobile-cat-drawer.open {
        transform: translateX(0);
    }

    .drawer-close {
        position: absolute;
        top: 15px;
        right: 15px;
        background: none;
        border: none;
        font-size: 22px;
        cursor: pointer;
    }

    .mobile-cat-drawer ul {
        list-style: none;
        padding: 40px 0 0;
    }

    .mobile-cat-drawer li {
        margin-bottom: 12px;
    }

    .mobile-cat-drawer .category-btn {
        background: #f2f2f2;
        padding: 10px 15px;
        width: 100%;
        border: none;
        border-radius: 6px;
        text-align: left;
    }
}

@media (max-width: 768px) {
    .washop-header {
        padding: 10px 20px;
        height: 70px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .washop-search {
        padding: 10px 20px;
        margin-top: 0;
    }

    .washop-header h1 {
        font-size: 20px;
        margin: 0;
    }

    .subheading {
        font-size: 12px;
        margin-top: 2px;
    }

    #productSearch {
        width: 100%;
        padding: 12px 14px;
        font-size: 14px;
    }
}


/* ✅ Hide mobile-specific UI on desktop */
@media (min-width: 769px) {
    .washop-mobile-catbar,
    .washop-mobile-footer,
    .mobile-cat-drawer {
        display: none;
    }
}