
        /* #########################*/
        /* --- SHOP */
        /* #########################*/
        .shop-mobile-filter-trigger {
            display: none; background:linear-gradient(320deg,rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.4) 100%);
            border: none;
            color: white; padding: 10px 16px; border-radius: 4px; font-size: 0.8rem;
            font-weight: 600; cursor: pointer; align-items: center; gap: 8px;
            position: absolute;
            top:17px;
            right:60px;
        }

        /* Layout */
        .shop-container { 
            position: relative;display: flex; 
            min-height: calc(100vh - var(--nav-height));
            padding-top:var(--nav-height);
            background: var(--bg-surface2);
        }

        .shop-sidebar {
            width: var(--sidebar-width); border-right: 1px solid var(--border-main);
            padding: 20px; position: sticky; top: var(--nav-height);
            height: calc(100vh - var(--nav-height)); overflow-y: auto; 
            background: var(--bg-surface1);
            box-shadow: 2px 0px 15px 0px rgba(0,0,0, 0.2);
            user-select: none; /* Standard for most browsers */
            -webkit-user-select: none; /* Safari */
            -moz-user-select: none; /* Firefox */
            -ms-user-select: none; /* Internet Explorer */
        }

        .shop-filter-section { margin-bottom: 2rem; }
        .shop-filter-label { display: block; font-size: 0.7rem; color: var(--text-muted); margin-bottom: 0.5rem; margin-top: 20px; text-transform: uppercase; letter-spacing: 1px; }

        .shop-search-container { position: relative; }

        .shop-clear-search-btn{
            position: absolute;
            right: 7px;
            top: 50%;
            transform: translateY(-53%);
            display: none; 
            cursor: pointer;
            border: none;
            padding: 3px 9px 6px 9px;
            border-radius: 4px;
            background:var(--accent-1);
            color: white;
        }

        .input-base {
            width: 100%; background: var(--bg-surface2); border: 1px solid var(--border-main); color: var(--text-main);
            padding: 0.75rem 1rem; border-radius: 6px; font-size: 0.9rem; outline: none;
            transition: 0.4s ease;
        }

        .input-base:hover {
            border-color: var(--accent-1);
            transition: 0.05s ease;
        }

        .input-base:focus { box-shadow:0px 0px 8px 0px var(--accent-1); }

        .shop-clear-btn {
            position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
            background: none; border: none; color: var(--text-muted); cursor: pointer; display: none;
        }

        .shop-results-info{
            color: var(--text-main);
        }

        /* Main Area */
        main { flex: 1; padding: 1rem 2rem 1rem 2rem; display: flex; flex-direction: column; }

        .pagination-shop-container {
            margin-bottom: 2.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--border-main);
            display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
        }

        .pagination-controls{
            color: var(--text-main);
        }

        .shop-page-btn {
            background: var(--bg-surface1); border: 1px solid var(--border-main); color: var(--text-main); padding: 0.5rem 1rem;
            cursor: pointer; font-size: 0.8rem; transition: 0.2s; border-radius: 4px;
        }
        .shop-page-btn:hover:not(:disabled) { border-color: var(--accent-1); color: var(--text-main); }
        .shop-page-btn:active:not(:disabled) { filter: brightness(0.9); transition: 0.05s}
        .shop-page-btn:disabled { opacity: 0.3; cursor: not-allowed; }

        /* Product Grid */
        .product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 2rem; }

        .product-card {
            background: var(--bg-surface1); border:2px solid var(--border-main); border-radius: 8px; 
            overflow: hidden; display: flex; flex-direction: column; transition: var(--transition);
            color: var(--text-main);
            box-shadow: 0px 2px 15px 2px rgba(0,0,0, 0.2);
        }

        .product-card:hover { transform: scale(1.02); border:2px solid var(--accent-1);}
        .product-img { height: 200px; background-size: cover; background-position: center; position: relative; }
        .product-badge { position: absolute; top: 12px; left: 12px; background: var(--accent-1); color: white; font-size: 0.7rem; font-weight: 800; padding: 4px 8px; border-radius: 2px; 
            user-select: none; /* Standard for most browsers */
            -webkit-user-select: none; /* Safari */
            -moz-user-select: none; /* Firefox */
            -ms-user-select: none; /* Internet Explorer */
        }
        .product-content { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
        .product-price { color: var(--accent-1); font-weight: 700; 
            user-select: none; /* Standard for most browsers */
            -webkit-user-select: none; /* Safari */
            -moz-user-select: none; /* Firefox */
            -ms-user-select: none; /* Internet Explorer */
        }

        .lemonsqueezy-button {
            display: block; width: 100%; padding: 0.8rem; background: var(--bg-surface1);
            border: 1px solid var(--border-main); color: var(--text-main); font-weight: 600; 
            cursor: pointer; text-align: center; text-decoration: none; font-size: 0.9rem;
            margin-top: auto;
            user-select: none; /* Standard for most browsers */
            -webkit-user-select: none; /* Safari */
            -moz-user-select: none; /* Firefox */
            -ms-user-select: none; /* Internet Explorer */
        }
        .lemonsqueezy-button:hover { background: var(--bg-surface2); color:var(--text-main); }
        .lemonsqueezy-button:active { filter:brightness(0.9)}

        /* Drawer Logic */
        .shop-drawer-overlay {display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.8); opacity: 0; pointer-events: none; transition: 0.4s; z-index: 2000; }

        .shop-drawer-header{
            padding:1.5rem; border:none; display:flex; justify-content:space-between; align-items:center; 
        }

        .filter-drawer {
            position: fixed; bottom: 0; right: 0; width: 100%; height: calc(100% - var(--nav-height));
            background: var(--bg-surface1); border:none; z-index: 2001;
            transform: translateY(100%); transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            display: flex; flex-direction: column;
            color: var(--text-main);
        }

        .mobileFilterContainer{
            padding:0rem 1.5rem 1.5rem 1.5rem; 
            overflow-y:auto;
        }
      
        /* Migrated to main.css*/
        /*
        .mobile-filters-apply-btn{
            width:calc(50% - 1rem); padding:1rem; background:var(--bg-surface1); color:var(--text-main); border: 1px solid var(--border-main); font-weight:700; border-radius:4px;
            display: inline-block;
            transition: 0.4s ease;
        }


        .mobile-filters-apply-btn:hover{
            filter: brightness(1.2);
            transition: 0.1s ease;
        }

        .mobile-filters-apply-btn:active{
            filter: brightness(0.9);
            transition: 0.05s ease;
        }
        */


        .clear-filter-button-mobile{
            display: none;
            position: fixed;
            top: 17px;
            right: 525px;
            z-index: 100;
            background: linear-gradient(320deg,var(--accent-1) 0%, var(--accent-2) 100%);
            border: none;
            color: white;
            padding: 10px 16px;
            border-radius: 4px;
            font-size: 0.8rem;
            font-weight: 600;
            cursor: pointer;
        }




        .mobile-shop-filter-footer{
            padding: 1.5rem;
            border-top: 1px solid var(--border-main);
            position: fixed;
            bottom: 0px;
            width: 100%;
            background: var(--bg-surface2)
        }



        .reset-all-filters-desktop{
            margin-top:100px;
            display: block; width: 100%; padding: 0.8rem; background: var(--bg-surface1);
            border: 1px solid var(--border-main); color: var(--text-main); font-weight: 600; 
            cursor: pointer; text-align: center; text-decoration: none; font-size: 0.9rem;
            user-select: none; /* Standard for most browsers */
            -webkit-user-select: none; /* Safari */
            -moz-user-select: none; /* Firefox */
            -ms-user-select: none; /* Internet Explorer */
        }
        .reset-all-filters-desktop:hover { background: var(--bg-surface2); color:var(--text-main); }
        .reset-all-filters-desktop:active { filter:brightness(0.9)}



        .close-filter-mini-btn-shop{
            display: block;
            background: none;
            border: none;
            color: var(--text-main);
            cursor: pointer;
            padding: 2px 11px 8px 11px;
            position: absolute;
            right: 30px;
            border-radius: 6px;
            line-height: 100%;
            font-weight: 600;
            font-size: 2rem;
            top: 30px;
        }



    /* --- MOBILE CSS --- */
    @media (max-width: 1023px) {

        .clear-filter-button-mobile{
            display: block;
            position: fixed;
            top: 17px;
            right: 157px;
            z-index: 100;
            border: none;
            color: white;
            padding: 10px 16px;
            border-radius: 4px;
            font-size: 0.8rem;
            font-weight: 600;
            cursor: pointer;
        }
        
        
        /* #########################*/
        /* --- MOBILE SHOP */
        /* #########################*/
        .shop-drawer, .shop-drawer-overlay { display: block !important; }
        
        main { padding: 1rem; }
        
        .pagination-shop-container { flex-direction: column; text-align: center; }

        body.filters-open { overflow: hidden; }
        body.filters-open .shop-drawer-overlay { opacity: 1; pointer-events: auto; }
        body.filters-open .filter-drawer { transform: translateX(100); }

        .filter-drawer {
            top: auto; bottom: 0; right: 0;
            height: auto; height: calc(100% - var(--nav-height)); width: 80%; max-width:420px;
            border-top: 1px solid var(--border-main); border-left: none;
            transform: translateX(100%);
            transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }


        /* Hide desktop sidebar */
        .shop-sidebar { display: none; }

        /* Make the mobile trigger visible (The button in your Nav) */
        .mobile-filter-trigger { display: flex !important; }

        /* Ensure the drawer is visible when the class is added */
        .shop-drawer.filter-drawer { 
            display: flex !important; 
        }

        /* Position the drawer at the bottom for mobile */
        body.filters-open .filter-drawer { 
            transform: translateY(0); 
        }
        
        .reset-all-filters-desktop{
            display: none;
        }
    }
        
