 /* ─────────── CORE TOKENS ─────────── */
 :root {
     --clr-black: #000;
     --clr-white: #fff;
     --clr-grey-050: #fdfbfb;
     --clr-grey-100: #f5f2f2;
     --clr-grey-150: #f2f2f2;
     --clr-grey-200: #ebe9e9;
     --clr-grey-300: #f0f0f0;
     --clr-grey-400: #e0e0e0;
     --clr-grey-500: #ccc;
     --clr-grey-700: #777;
     --clr-grey-800: #555;
     --clr-grey-900: #333;
     --clr-grey-950: #111;
     --shadow-sm: 0 2px 6px rgba(0, 0, 0, .06);
     --shadow-md: 0 0.3vw 0.9vw rgba(0, 0, 0, .15);
     --shadow-lg: 0 0.4vw 1vw rgba(0, 0, 0, .10);
 }

 body {
     color: #fff;
     font-family: 'Outfit', sans-serif;
     margin: 0;
     padding: 0;
 }

 .product-card a {
     text-decoration: none;
 }

 /* ─────────── SEARCH SECTION FIXED ─────────── */
 .search-section-fixed {
     position: fixed;
     top: 110px;
     left: 0;
     right: 0;
     background: var(--clr-grey-150);
     z-index: 998;
     padding: 15px 0;
     box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
 }

 .search-section-content {
     display: flex;
     align-items: center;
     gap: 10px;
     padding: 0 16px;
     flex-wrap: wrap;
 }

 .filter-toggle-btn {
     padding: 10px 20px;
     background: var(--clr-white);
     border: 1px solid #ddd;
     border-radius: 6px;
     cursor: pointer;
     display: flex;
     align-items: center;
     gap: 8px;
     font-size: 14px;
     box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
     transition: all 0.3s;
     white-space: nowrap;
     color: var(--clr-black);
     font-family: 'Outfit', sans-serif;
     border: none;
 }

 .filter-toggle-btn:hover {
     background: #f5f5f5;
 }

 .filter-count-badge {
     background: #ff6161;
     color: white;
     font-size: 11px;
     padding: 2px 6px;
     border-radius: 10px;
     margin-left: 5px;
 }

 .search-box {
     flex: 1;
     min-width: 250px;
     position: relative;
 }

 .search-box form {
     position: relative;
     display: flex;
     align-items: center;
 }

 .search-box .form-control {
     width: 100%;
     padding: 10px 45px 10px 15px;
     border: 1px solid #ddd;
     border-radius: 6px;
     height: 40px;
     background: var(--clr-white);
     color: var(--clr-black);
     font-family: 'Outfit', sans-serif;
 }

 .search-box .form-control::placeholder {
     color: #999;
 }

 .btn-searchbox {
     position: absolute;
     right: 10px;
     border: none;
     background: transparent;
     cursor: pointer;
     color: #666;
     padding: 5px 10px;
     display: flex;
     align-items: center;
 }

 .btn-searchbox:hover {
     color: #2874f0;
 }

 /* ─────────── SEARCH DROPDOWN ─────────── */
 .search-dropdown {
     position: absolute;
     top: 100%;
     left: 0;
     right: 0;
     background: white;
     border: 1px solid #ddd;
     border-top: none;
     max-height: 300px;
     overflow-y: auto;
     z-index: 1000;
     display: none;
     box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
     margin-top: 5px;
 }

 .search-dropdown.show {
     display: block;
 }

 .search-dropdown-item {
     padding: 12px 15px;
     cursor: pointer;
     border-bottom: 1px solid #f0f0f0;
     transition: background-color 0.2s;
     color: var(--clr-black);
 }

 .search-dropdown-item:hover {
     background-color: #f5f5f5;
 }

 .search-dropdown-item strong {
     display: block;
     margin-bottom: 4px;
 }

 .search-dropdown-item .category-info {
     font-size: 0.85em;
     color: #666;
 }

 .no-results {
     padding: 15px;
     text-align: center;
     color: #999;
 }

 /* ─────────── OFF-CANVAS FILTER SIDEBAR ─────────── */
 .filter-offcanvas {
     position: fixed;
     top: 0;
     left: -320px;
     width: 320px;
     height: 100%;
     background: var(--clr-white);
     box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
     z-index: 10000;
     transition: left 0.3s ease;
     overflow: hidden;
     display: flex;
     flex-direction: column;
 }

 .filter-offcanvas.show {
     left: 0;
 }

 .filter-offcanvas-header {
     padding: 20px;
     border-bottom: 1px solid #e0e0e0;
     display: flex;
     justify-content: space-between;
     align-items: center;
     flex-shrink: 0;
 }

 .filter-offcanvas-header h5 {
     margin: 0;
     font-size: 18px;
     font-weight: 600;
     color: var(--clr-black);
 }

 .filter-close-btn {
     background: none;
     border: none;
     font-size: 24px;
     cursor: pointer;
     color: #666;
     padding: 0;
     width: 30px;
     height: 30px;
     display: flex;
     align-items: center;
     justify-content: center;
 }

 .filter-offcanvas-body {
     padding: 20px;
     overflow-y: auto;
     flex: 1;
 }

 .filter-offcanvas-body::-webkit-scrollbar {
     width: 6px;
 }

 .filter-offcanvas-body::-webkit-scrollbar-track {
     background: #f1f1f1;
 }

 .filter-offcanvas-body::-webkit-scrollbar-thumb {
     background: #888;
     border-radius: 10px;
 }

 .filter-offcanvas-body::-webkit-scrollbar-thumb:hover {
     background: #555;
 }

 .filter-offcanvas-footer {
     padding: 15px 20px;
     border-top: 1px solid #e0e0e0;
     display: flex;
     gap: 10px;
     flex-shrink: 0;
 }

 .filter-offcanvas-footer button {
     flex: 1;
     padding: 12px;
     border: none;
     border-radius: 6px;
     cursor: pointer;
     font-weight: 600;
     transition: all 0.3s;
     font-family: 'Outfit', sans-serif;
 }

 .apply-filters-btn {
     background: #000000;
     color: white;
 }

 .apply-filters-btn:hover {
     background: #343435;
 }

 .clear-all-btn {
     background: var(--clr-white);
     color: #000000;
     border: 1px solid #000000 !important;
 }

 .clear-all-btn:hover {
     background: #f0f5ff;
 }

 /* ─────────── FILTER GROUP ─────────── */
 .filter-group {
     margin-bottom: 25px;
     padding-bottom: 20px;
     border-bottom: 1px solid #f0f0f0;
 }

 .filter-group:last-child {
     border-bottom: none;
 }

 .filter-group-title {
     font-size: 14px;
     font-weight: 600;
     text-transform: uppercase;
     margin-bottom: 12px;
     color: var(--clr-black);
 }

 .filter-option {
     display: flex;
     align-items: center;
     gap: 10px;
     padding: 8px 0;
     cursor: pointer;
 }

 .filter-option input[type="checkbox"] {
     width: 16px;
     height: 16px;
     cursor: pointer;
 }

 .filter-option label {
     cursor: pointer;
     margin: 0;
     font-size: 14px;
     color: #666;
     flex: 1;
 }

 .filter-option:hover label {
     color: #2874f0;
 }

 /* ─────────── OVERLAY ─────────── */
 .filter-overlay {
     position: fixed;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     background: rgba(0, 0, 0, 0.5);
     z-index: 9999;
     display: none;
 }

 .filter-overlay.show {
     display: block;
 }

 /* ─────────── PRODUCT LISTING ─────────── */
 .product-listing {
     margin-top: 210px;
 }

 .product-section {
     padding: 5vh 7vw;
     background-color: var(--clr-grey-050);
 }

 .container {
     margin: 0 auto;
     max-width: 1366px;
     width: 100%;
 }

 .row {
     display: flex;
     flex-wrap: wrap;
 }

 .relatedproduct-carousel {
     width: 100%;
 }

 .product-grid {
     display: flex;
     flex-wrap: wrap;
     gap: 1.5vw;
     justify-content: flex-start;
     width: 100%;
 }

 .product-card {
     background: var(--clr-grey-050);
     border-radius: 1.5vw;
     width: calc(33.33% - 1.5vw);
     overflow: hidden;
     transition: transform .3s;
 }

 .product-card:hover {
     transform: translateY(-0.5vh);
 }

 .product-top {
     padding: 2vw;
     background: var(--clr-grey-150);
     text-align: left;
 }

 .product-top span {
     font-weight: 700;
     font-size: clamp(12px, 1.1vw, 14px);
     color: black;
 }

 .product-image-wrapper {
     width: 100%;
     height: 32vh;
     max-height: 320px;
     display: flex;
     align-items: center;
     justify-content: center;
     padding: 0.8vw;
     background: var(--clr-grey-150);
 }

 .product-image {
     max-width: 100%;
     max-height: 100%;
     object-fit: contain;
 }

 .product-details {
     padding: 2vw;
     text-align: left;
 }

 .product-title {
     font-weight: 700;
     font-size: clamp(18px, 1.6vw, 22px);
     margin-bottom: .4vh;
     color: black;
 }

 .product-category {
     font-size: clamp(14px, 1.3vw, 18px);
     color: var(--clr-grey-700);
     margin-bottom: 1vh;
 }

 .product-bottom {
     display: flex;
     justify-content: space-between;
     align-items: center;
 }

 .product-bottom-box {
     display: flex;
     align-items: center;
     gap: 8px;
 }

 .product-price {
     font-size: clamp(16px, 1.5vw, 20px);
     font-weight: 700;
     color: var(--clr-grey-700);
 }

 .order-button {
     padding: 1vh 2vw;
     font-size: clamp(13px, 1.4vw, 16px);
     border: 1px solid var(--clr-black);
     background: none;
     cursor: pointer;
     border-radius: .6vw;
     transition: background .2s, color .2s;
     font-family: 'Outfit', sans-serif;
     color: var(--clr-black);
 }

 .order-button:hover {
     background: var(--clr-black);
     color: var(--clr-white);
 }

 @media (min-width:1400px){
     .search-section-fixed {
        top: 136px;
     }
 }
 /* ─────────── RESPONSIVE ─────────── */
 @media (max-width: 768px) {
     .search-section-fixed {
         top: 140px;
         padding: 10px 0;
     }

     .search-section-content {
         padding: 0 10px;
         gap: 8px;
     }

     .filter-toggle-btn {
         padding: 8px 16px;
         font-size: 13px;
     }

     .search-box {
         min-width: 200px;
     }

     .search-box .form-control {
         height: 36px;
         font-size: 13px;
     }

     .product-listing {
         margin-top: 240px;
     }

     .product-section {
         padding: 3vh 5vw;
         padding-top: 0;
         margin-top: -1.5vh;
     }

     .product-grid {
         gap: 2.5vw;
         justify-content: space-between;
         margin-top: -1vh;
         padding-top: 0;
     }

     .product-card {
         width: calc(50% - 2.5vw);
         height: clamp(222px, 28vw, 220px);
         margin-top: 1vh;
         margin-bottom: 1vh;
     }

     .product-top {
         padding: 1.5vw;
         margin-bottom: -1vh;
     }

     .product-top span {
         font-size: clamp(6px, 2vw, 9px);
         font-weight: 300;
     }

     .product-image-wrapper {
         height: auto;
         padding: 0;
     }

     .product-image {
         height: clamp(120px, 15vw, 120px);
         object-fit: cover;
     }

     .product-details {
         padding: 0;
     }

     .product-title {
         font-size: clamp(8px, 2.5vw, 12px);
         margin-bottom: 0;
     }

     .product-category {
         font-size: clamp(6px, 2vw, 10px);
         margin-bottom: 0.5vh;
     }

     .product-price {
         font-size: clamp(8px, 2.3vw, 12px);
     }

     .order-button {
         font-size: clamp(8px, 2.3vw, 12px);
         padding: 1vh 2vw;
     }
 }

 @media (max-width: 440px) {
     .search-section-fixed {
         top: 132px;
         padding: 10px 0;
     }
 }

 @media (max-width: 316px) {
     .product-listing {
         margin-top: 270px;
     }
 }

 .web-side-menu {
     top: 146px !important;
 }

 @media (min-width: 1400px) {
    .web-side-menu {
        top: 156px !important;
    }
}



/* Empty State Styling */
.empty-data {
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 90%;
    height: auto;
    max-height: 500px;
    /* default smaller height */
    opacity: 0.9;
}

.empty-list-data{
    top: 65% !important;

}

/* Tablet View */
@media (max-width: 992px) {
    .empty-data {
        max-width: 80%;
        max-height: 300px;
    }
}

/* Mobile View */
@media (max-width: 576px) {
    .empty-data {
        max-width: 85%;
        max-height: 250px;
    }
}

/* Ultra-wide screens (web >1400px) */
@media (min-width: 1400px) {
    .empty-data {
        max-width: 90%;
        max-height: 550px;
    }
}

@media(min-width:1400px){
    .container{
        max-width: 86% !important;
    }
} 



    /* Pagination Styles */
.main-part-pagination{
    display: flex;
    justify-content:center;
}
.pagination {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 2rem 0;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.page-item {
  display: inline-block;
}

.page-link {
  display: block;
  padding: 0.5rem 0.75rem;
  text-decoration: none;
  color: #000;
  background-color: #fff;
  border: 1px solid #000;
  border-radius: 4px;
  transition: all 0.3s ease;
  font-weight: 500;
  min-width: 40px;
  text-align: center;
}

.page-link:hover {
  background-color: #000;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.page-item.active .page-link {
  background-color: #000;
  color: #fff;
  border-color: #000;
  cursor: default;
  font-weight: 600;
}

.page-item.disabled .page-link {
  color: #999;
  background-color: #f5f5f5;
  border-color: #ddd;
  cursor: not-allowed;
  opacity: 0.6;
}

.page-item.disabled .page-link:hover {
  background-color: #f5f5f5;
  color: #999;
  transform: none;
  box-shadow: none;
}

/* Responsive adjustments */
@media (max-width: 576px) {
  .pagination {
    gap: 0.25rem;
  }
  
  .page-link {
    padding: 0.4rem 0.6rem;
    font-size: 0.875rem;
    min-width: 36px;
  }
}