 :root {
     --bg: #f6f8fb;
     --card: #ffffff;
     --muted: #6b7280;
     --accent: #F28526;
     --accent-2: #0369a1;
     --shadow: 0 6px 18px rgba(17, 24, 39, 0.08);
     --radius: 12px;
     --text: #0f172a;
 }

 .container-shop-page {
     max-width: 1400px;
     margin: 0 auto;
     padding: 16px;
 }

 .layout {
     display: grid;
     grid-template-columns: 320px 1fr;
     gap: 20px;
     margin: 0 auto;
 }

 .sidebar {
     padding: 18px;
     position: sticky;
     height: fit-content;
     gap: 25px;
     top: 20px;
 }

 .site-search {
     display: flex;
     gap: 8px;
     margin-bottom: 14px;
     background: var(--card);
     padding: 6px;
     border-radius: var(--radius);
     box-shadow: var(--shadow);
 }

 .site-search input {
     flex: 1;
     padding: 10px 12px;
     border-radius: 8px;
     border: 1px solid #e6e9ee;
     outline: none;
 }

 .filter-group {
     background: var(--card);
     padding: 10px;
     border-radius: var(--radius);
     box-shadow: var(--shadow);
     margin: 10px 0;
 }

 .filter-group h4 {
     margin: 10px 0 15px 0;
     font-size: 16px;
     color: #000;
     font-weight: 600;
 }

 .price-range {
     display: flex;
     flex-direction: column;
     gap: 10px;
 }

 .price-inputs {
     display: flex;
     gap: 8px;
 }

 .price-inputs input {
     flex: 1;
     padding: 10px;
     border-radius: 8px;
     border: 1px solid #e6e9ee;
     width: 20%;
 }

 .apply-filters {
     width: 100%;
     padding: 12px;
     border-radius: 8px;
     border: none;
     background: #F28526;
     color: white;
     cursor: pointer;
     font-weight: 600;
 }

 .apply-filters:hover {
     background: #137F78;
 }

 .tags {
     display: flex;
     flex-wrap: wrap;
     gap: 8px;
 }

 .tag {
     background: #eef2ff;
     padding: 8px 12px;
     border-radius: 999px;
     font-size: 13px;
     cursor: pointer;
     border: 1px solid transparent;
 }

 .tag:hover {
     background: #e0e7ff;
 }

 .tag.active {
     background: var(--accent);
     color: white;
 }

 .main {
     display: flex;
     flex-direction: column;
     gap: 16px;
 }

 .toolbar {
     display: flex;
     justify-content: space-between;
     gap: 12px;
     background: #fff;
     padding: 20px;
     border-radius: 20px;
 }

 .sort-select {
     padding: 10px;
     border-radius: 8px;
     border: 1px solid #e6e9ee;
 }

 /* Product List (Row layout) - CHANGED FROM GRID TO LIST */
 .product-list {
     display: flex;
     flex-direction: column;
     gap: 20px;
 }

 .product-row {
     background: var(--card);
     border-radius: 12px;
     box-shadow: var(--shadow);
     transition: transform 0.3s ease;
     overflow: hidden;
     display: flex;
     flex-direction: row;
     /* Row layout */
     min-height: 250px;
 }

 .product-row:hover {
     transform: translateY(-3px);
 }

 .product-image {
     width: 300px;
     /* Fixed width for image */
     min-width: 300px;
     height: auto;
     background: #f3f4f6;
     flex-shrink: 0;
     display: flex;
     align-items: center;
     justify-content: center;
     overflow: hidden;
 }

 .product-image img {
     width: 100%;
     height: 100%;
     object-fit: cover;
 }

 .product-content {
     padding: 25px;
     display: flex;
     flex-direction: column;
     gap: 12px;
     flex: 1;
     justify-content: space-between;
 }

 .product-title {
     font-size: 18px;
     font-weight: 600;
     display: flex;
     align-items: flex-start;
     gap: 10px;
     flex-wrap: wrap;
 }

 .badges {
     display: flex;
     gap: 8px;
     flex-wrap: wrap;
 }

 .badge {
     padding: 6px 8px;
     border-radius: 8px;
     font-size: 12px;
     font-weight: 600;
 }

 .badge.container {
     background: #137F78;
     color: #fff;
 }

 .badge.sale {
     background: #F28526;
     color: #fff;
 }

 .meta-row {
     display: flex;
     gap: 12px;
     flex-wrap: wrap;
     color: var(--muted);
     font-size: 13px;
 }

 .price {
     font-size: 20px !important;
     font-weight: 700;
     color: var(--accent-2);
 }

 .old-price {
     font-size: 16px;
     color: var(--muted);
     text-decoration: line-through;
     margin-left: 8px;
 }

 .product-desc {
     color: var(--muted);
     font-size: 14px;
     line-height: 1.6;
     margin: 10px 0;
 }

 .product-attrs {
     display: flex;
     gap: 8px;
     flex-wrap: wrap;
 }

 .attr {
     background: #e2ebf3;
     padding: 4px 8px;
     border-radius: 8px;
     font-size: 12px;
     font-weight: 600;
 }

 /* Stock Status Styles */
 .attr.stock-in {
     background: #d1fae5;
     color: #065f46;
     border: 1px solid #10b981;
 }

 .attr.stock-out {
     background: #fee2e2;
     color: #991b1b;
     border: 1px solid #ef4444;
 }

 .actions {
     width: 20%;
 }

 .btn {
     padding: 10px 14px;
     border-radius: 8px;
     border: 0;
     cursor: pointer;
     font-weight: 600;
     text-decoration: none;
     display: inline-block;
     text-align: center;
     font-size: 13px;
     color: #fff;
 }

 .btn-primary {
     background: #F28526;
     color: white;
 }

 .btn-primary:hover {
     background: #137F78;
     color: white;
 }

 .view-details {
     padding: 10px 14px !important;
 }

 .btn-outline {
     background: transparent;
     border: 1px solid #e6e9ee;
     color: var(--text);
 }

 .btn-outline:hover {
     background: #137F78;
     color: #fff;
     border: none;
 }

 .shop-header {
     text-align: center;
     margin-bottom: 30px;
     padding: 20px 0;
 }

 .shop-header h1 {
     font-size: 2.5rem;
     margin-bottom: 10px;
     color: #F28526;
 }

 .rg-pagination {
     display: flex;
     justify-content: center;
     gap: 10px;
     margin-top: 40px;
 }

 .rg-pagination .page-numbers {
     padding: 10px 16px;
     border: 1px solid #e6e9ee;
     border-radius: 6px;
     text-decoration: none;
     color: var(--text);
 }

 .rg-pagination .page-numbers.current {
     background: #F28526;
     color: white;
 }

 /* Responsive */
 .mobile-filter-toggle {
     display: none;
 }

 .sidebar-overlay {
     display: none;
 }

 @media (max-width: 991px) {
     .layout {
         grid-template-columns: 1fr;
     }

     .sidebar {
         position: fixed;
         left: -100%;
         top: 0;
         z-index: 1000;
         background: white;
         width: 85%;
         height: 100vh;
         transition: 0.3s;
         overflow-y: auto;
     }

     .sidebar.active {
         left: 0;
     }

     .mobile-filter-toggle {
         display: block;
         width: 100%;
         padding: 12px;
         background: #F28526;
         color: white;
         border: none;
         border-radius: 8px;
         margin-bottom: 16px;
     }

     .sidebar-overlay {
         position: fixed;
         top: 0;
         left: 0;
         width: 100%;
         height: 100%;
         background: rgba(0, 0, 0, 0.5);
         z-index: 999;
     }

     .sidebar-overlay.active {
         display: block;
     }

     .product-row {
         flex-direction: column;
         min-height: auto;
     }

     .product-image {
         width: 100%;
         min-width: 100%;
         height: 200px;
     }

     .actions {
         width: 30%;
     }
 }

 @media (max-width: 768px) {
     .product-row {
         flex-direction: column;
     }
     .actions {
         width: 43%;
     }
 }
 @media (max-width: 576px) {
    .toolbar {
        padding: 16px;
    }
    
    .price-inputs {
        flex-direction: column;
    }
    
    .product-image {
        height: 200px;
    }
    
    .product-content {
        padding: 16px;
    }
    
    .badges {
        justify-content: flex-start;
    }
    
    .actions {
        flex-direction: column;
    }
    
    .btn-primary {
        width: 100%;
    }
    
    .rg-pagination {
        gap: 4px;
    }
    
    .rg-pagination .page-numbers {
        padding: 8px 12px;
        min-width: 40px;
        height: 40px;
        font-size: 13px;
    }
    .actions {
         width: 47%;
     }
}
