* {
    
    box-sizing: border-box;
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  
  
}
:root {
  --primary-blue: #0a438b;
  --dark-blue: #101d2d;
  --orange: #ff8c1a;
  --light-bg: #f8fafc;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --white: #ffffff;
  --border-color: #e2e8f0;
  --success: #10b981;
  --danger: #ef4444;
  --warning: #f59e0b;
  --info: #3b82f6;
}
body {
  margin: 0;
  background: #f6f8fb;
  color: #1f2937;
}

  /* ================= NAVBAR ================= */
  .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 40px;
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 100;
  }
  
  .logo {
    display: flex;
    gap: 10px;
    align-items: center;
  }
  
  .logo i {
    background: #0d3b8e;
    color: white;
    padding: 10px;
    border-radius: 12px;
  }
  
  .nav-links {
    display: flex;
    gap: 20px;
  }
  
  .nav-links a {
    text-decoration: none;
    color: #64748b;
    padding: 8px 16px;
    border-radius: 10px;
    font-weight: 600;
  }
  
  .nav-links .active {
    background: #0d3b8e;
    color: white;
  }
  
  .profile{
    text-decoration: none;
    color: #ffffff;
    background: var(--primary-blue);
    padding: 7px 10px;
    border-radius: 8px;
    font-weight: 600;
  }
  .signup {
    background: #ff8a00;
    padding: 10px 18px;
    border-radius: 12px;
    color: white;
    text-decoration: none;
    font-weight: 600;
  }
  
/* HERO */
.b2b-hero {
background: linear-gradient(135deg, #16a34a, #22c55e);
padding: 35px 20px;
color: white;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 25px;
}


.page-btn {
  padding: 8px 14px;
  border-radius: 6px;
  background: #f1f5f9;
  color: #0a438b;
  text-decoration: none;
  font-weight: 600;
}

.page-btn:hover {
  background: #0a438b;
  color: white;
}

.page-btn.active {
  background: #0a438b;
  color: white;
  pointer-events: none;
}

.dots {
  padding: 8px;
  color: #64748b;
}

.hero-content {
max-width: 1200px;
margin: auto;
margin-left: 28px;
}
.job-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.job-card-link:hover .job-card {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  transform: translateY(-3px);
  transition: all 0.25s ease;
}


.b2b-hero h1 {
font-size: 44px;
font-weight: 800;
margin-bottom: 8px;
}

.b2b-hero p {
font-size: 18px;
opacity: 0.95;
}



/* SEARCH INPUT */
/* OUTER WRAPPER */
.hero-search-wrapper {
max-width: 680px;
margin-top: 10px;
}

/* MAIN PILL */
.hero-search-bar {
margin-top: 16px;
display: flex;
align-items: center;
gap: 10px;

background: #ffffff;
padding: 6px;
border-radius: 14px;

max-width: 680px;
box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

/* INPUT AREA */
.search-input {
flex: 1;
display: flex;
align-items: center;
gap: 10px;

background: #f3f4f6;
padding: 10px 16px;
border-radius: 10px;
}

.search-input i {
font-size: 14px;
color: #64748b;
}

.search-input input {
width: 100%;
border: none;
outline: none;
background: transparent;

font-size: 14px;
color: #111827;
}

.search-input input::placeholder {
color: #6b7280;
}

/* BUTTON */
.search-btn {
display: flex;
  align-items: center;
  gap: 6px;

  background: #22c55e;
  color: white;

  border: none;
  padding: 10px 16px;
  border-radius: 10px;

  font-size: 14px;
  font-weight: 600;

  cursor: pointer;
  transition: 
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;




}

.search-btn:hover {

  background: #075a28;
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(13, 59, 142, 0.4);
}

.search-btn:active {
transform: scale(0.98);
}


/* CATEGORY BAR */
.category-bar {
background: #ffffff;
padding: 18px 20px;
display: flex;
align-items: center;
gap: 10px;
overflow-x: auto;
border-bottom: 1px solid #eef2f7;
}

.category-bar .label {
font-weight: 600;
color: #374151;
margin-right: 6px;
margin-left: 28px;
}

.cat {
border: none;
background: #f3f4f6;
padding: 8px 16px;
border-radius: 999px;
font-size: 14px;
cursor: pointer;
white-space: nowrap;
}

.cat.active {
background: #22c55e;
color: white;
}


/* LAYOUT */
.container {
  max-width: 1200px;
  margin: 30px auto;
  padding: 0 20px;
}

.b2b-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 24px;
  min-height: calc(100vh - 120px);
}



/* SUPPLIERS */
.featured-suppliers {
  position: sticky;
  top: 90px; /* below navbar */

  align-self: start;
  height: fit-content;

  max-height: calc(100vh - 110px);
  overflow-y: auto;
}

.featured-suppliers h3 {
margin: 0 0 18px;
font-size: 18px;
font-weight: 700;
color: #111827;
}

/* Supplier Row */
.supplier-row {
display: flex;
align-items: center;
gap: 14px;

padding: 12px;
border-radius: 14px;

text-decoration: none;
color: inherit;

transition: background 0.2s ease;
}

.supplier-row:hover {
background: #f3f4f6;
}

/* Icon */
.supplier-icon {
width: 44px;
height: 44px;

background: #eaf7ef;
border-radius: 12px;

display: flex;
align-items: center;
justify-content: center;

color: #22c55e;
font-size: 18px;
}

/* Info */
.supplier-name {
margin: 0;
font-size: 15px;
font-weight: 600;
color: #111827;
}

.supplier-meta {
display: flex;
align-items: center;
gap: 6px;

font-size: 13px;
color: #6b7280;
}

.supplier-meta .fa-star {
color: #facc15;
font-size: 14px;
}

.verified {
color: #2563eb;
font-size: 14px;
}

/* View All */
.view-all-suppliers {
display: block;
margin-top: 16px;
text-align: center;

font-size: 14px;
font-weight: 600;
color: #16a34a;
text-decoration: none;
}

.view-all-suppliers:hover {
text-decoration: underline;
}
.featured-suppliers {
    background: #ffffff;
    border-radius: 24px;
    padding: 28px;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 90px;
}

.featured-suppliers h3 {
    margin: 0 0 20px;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--dark-blue);
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 12px;
}

.filter-box {
    margin-bottom: 24px;
}

.filter-box h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-select, .filter-input {
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
    border: 2px solid var(--border-color);
    background: #fcfcfc;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-main);
    transition: all 0.2s;
    outline: none;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
}

.filter-select:focus, .filter-input:focus {
    border-color: #22c55e;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.1);
}

.apply-btn {
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
    border: none;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    margin-bottom: 12px;
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.2);
    transition: all 0.2s;
}

.apply-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(34, 197, 94, 0.3);
}

.clear-btn {
    width: 100%;
    padding: 12px;
    border-radius: 12px;
    background: #f1f5f9;
    color: var(--text-muted);
    border: none;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
}

.clear-btn:hover {
    background: #e2e8f0;
    color: var(--text-main);
}

.featured-suppliers h3 {
margin: 0 0 16px;
font-size: 17px;
font-weight: 700;
color: #111827;
}

/* LIST */
.supplier-list {
display: flex;
flex-direction: column;
gap: 14px;
}

/* ITEM */
.supplier-item {
display: flex;
align-items: center;
gap: 14px;
text-decoration: none;
padding: 10px;
border-radius: 12px;
transition: background 0.2s ease;
}

.supplier-item:hover {
background: #f8fafc;
}

/* ICON */
.supplier-icon {
width: 40px;
height: 40px;
border-radius: 12px;
background: #eafaf1;

display: flex;
align-items: center;
justify-content: center;

color: #22c55e;
font-size: 16px;
}

/* TEXT */
.supplier-name {
font-size: 14.5px;
font-weight: 600;
color: #111827;
line-height: 1.2;
}

.supplier-meta {
margin-top: 4px;
display: flex;
align-items: center;
gap: 6px;
font-size: 13px;
color: #6b7280;
}

.supplier-meta .fa-star {
color: #facc15;
font-size: 13px;
}

.verified {
color: #2563eb;
font-size: 13px;
}

/* VIEW ALL */
.view-all {
display: block;
margin-top: 18px;
text-align: center;
font-size: 14px;
font-weight: 600;
color: #16a34a;
text-decoration: none;
}

.view-all:hover {
text-decoration: underline;
}

/* VIEW TOGGLE */
.view-toggle {
display: flex;
gap: 6px;
background: #eef2f7;
padding: 4px;
border-radius: 10px;
}

.view-toggle button {
border: none;
background: transparent;
padding: 8px 10px;
border-radius: 8px;
cursor: pointer;
color: #6b7280;
font-size: 14px;
}

.view-toggle button.active {
background: #ffffff;
color: #2563eb;
box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}


/* LIST VIEW MODE */
.products-grid.list-view {
grid-template-columns: 1fr;
}

.products-grid.list-view .product-card {
display: flex;
height: 170px;
}

.products-grid.list-view .product-image {
width: 220px;
height: 100%;
flex-shrink: 0;
}

.products-grid.list-view .product-body {
flex: 1;
}


/* PRODUCTS */

.products-section {
  display: flex;
  flex-direction: column;

  height: 100%;
}

.products-header {
  flex-shrink: 0;

  display: flex;
  justify-content: space-between;
  align-items: center;

  padding-bottom: 14px;
  background: #f6f8fb;

  border-bottom: 1px solid #eef2f7;
}

.products-scroll {
  flex: 1;
  max-height: 70vh;
  overflow-y: auto;
  padding-top: 18px;
  padding-right: 6px;
  scrollbar-gutter: stable;
}


.products-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}
.products-controls select {
  border: none;
  background: #eef2f7;
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 14px;
  cursor: pointer;
}
  
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}


.product-card {
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #eef2f7;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.08);
}

/* IMAGE PLACEHOLDER */
.product-image {
  height: 170px;
  background: #f3f4f6;

  display: flex;
  align-items: center;
  justify-content: center;
}
/* IMAGE CAROUSEL */
.job-carousel {
  height: 170px;              /* SAME as .product-image */
  width: 100%;
  position: relative;
  background: #f3f4f6;
  overflow: hidden;
}
.job-carousel {
  height: 170px;
  overflow: hidden;
  position: relative;
}

.job-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.35s ease;
}


/* IMAGE */
.job-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* CAROUSEL BUTTONS */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);

  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;

  width: 32px;
  height: 32px;
  border-radius: 50%;

  cursor: pointer;
  z-index: 10;
}

.carousel-btn.left {
  left: 10px;
}

.carousel-btn.right {
  right: 10px;
}

.carousel-btn:hover {
  background: rgba(0, 0, 0, 0.7);
}


.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Placeholder icon */
.product-image i {
  font-size: 42px;
  color: #9ca3af;
}

/* BODY */
.product-body {
  padding: 18px;
}

.product-category {
  font-size: 13px;
  color: #22c55e;
  font-weight: 500;
}

.product-title {
  margin: 6px 0 4px;
  font-size: 16px;
  font-weight: 700;
  color: #111827;
}

.product-company {
  font-size: 14px;
  color: #6b7280;
}

/* PRICE + MOQ */
.product-price-row {
  margin-top: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.price {
  font-size: 20px;
  font-weight: 800;
  color: #111827;
}

.price span {
  font-size: 14px;
  color: #6b7280;
}

.moq {
  font-size: 13px;
  color: #2563eb;
}

.moq i {
  margin-left: 4px;
}

/* STOCK */
.product-stock {
  margin-top: 12px;
  font-size: 14px;
  color: #16a34a;
  display: flex;
  align-items: center;
  gap: 6px;
}

.product-stock .dot {
  width: 8px;
  height: 8px;
  background: #16a34a;
  border-radius: 50%;
}


/* CTA */
.sell-cta {
  margin-top: 40px;
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: white;
  padding: 40px;
  border-radius: 20px;
  text-align: center;
}

  
  
  .cta-buttons {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 16px;
  }
  
  .cta-btn {
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    border: none;
    cursor: pointer;
  
    transition: 
      transform 0.25s ease,
      box-shadow 0.25s ease,
      background 0.25s ease,
      color 0.25s ease;
  }

  .cta-btn.primary {
    background: linear-gradient(135deg, #ff9800, #ff6a00);
    color: white;
    text-decoration: none;
  }
  
  .cta-btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 138, 0, 0.45);
    background: linear-gradient(135deg, #ff8a00, #ff5500);
  }
  .cta-btn.secondary {
    background: #e5e7eb;
    color: #1f2937;
    text-decoration: none;
  }
  
  .cta-btn.secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    background: #d1d5db;
    color: #0d3b8e;
  }
  .primary {
    background: #ff9800;
    color: white;
  }
  
  .secondary {
    background: #ccc;
  }
 
  .filter-btn {
    display: flex;
    align-items: center;
    gap: 6px;
  
    background: #0d3b8e;
    color: white;
  
    border: none;
    padding: 10px 16px;
    border-radius: 10px;
  
    font-size: 14px;
    font-weight: 600;
  
    cursor: pointer;
    transition: 
      transform 0.2s ease,
      box-shadow 0.2s ease,
      background 0.2s ease;
  }
  
  .filter-btn:hover {
    background: #0b3278;
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(13, 59, 142, 0.4);
  }
  
  .filter-btn:active {
    transform: scale(0.96);
  }
    
  .hero {
    background: linear-gradient(90deg, #ff9800, #ff6a00);
    padding: 60px 40px;
    color: white;
  }
  
  .apply-btn {
    margin-top: 20px;
    background: transparent;
    border: 2px solid #09306a;
    padding: 5px 10px;
    border-radius: 10px;
    cursor: pointer;
  }
  
  .apply-btn:hover {
    background: #0a438b;
    color: white;
  }
  
  
  /* Chevron rotation */
  #filterIcon {
    transition: transform 0.25s ease;
  }
  
  #filterIcon.rotate {
    transform: rotate(180deg);
  }
  
  
  /* CHIPS */
  .filter-chips {
    margin-top: 4px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
  }
  
  .chip {
    padding: 8px 14px;
    border-radius: 12px;
    background: #f1f3f5;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
  }
  
  .chip:hover {
    background: #e5e7eb;
  }
  
  .chip.active {
    background: #0d3b8e;
    color: white;
  }
  
  /* LEFT / RIGHT */
  .filter-left {
    max-width: 65%;
  }
  .filter-select {
    width: 100%;
    padding: 8px 10px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    font-size: 14px;
  }
  
  .filter-right {
    text-align: right;
  }
  .clear-btn {
    margin-top: 20px;
    background: transparent;
    border: 2px solid #09306a;
    padding: 5px 10px;
    border-radius: 10px;
    cursor: pointer;
  }
  .clear-btn:hover {
    background: #0a438b;
    color: white;
  }
/* FOOTER */
  :root {
    --primary-blue: #0a438b;
    --dark-blue: #101d2d;
    --orange: #ff8c1a;
    --light-bg: #f8fafc;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --white: #ffffff;
    --border-color: #e2e8f0;
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
    --info: #3b82f6;
}

/* --- Footer --- */
footer {
  background: var(--dark-blue);
  color: white;
  margin-top: 4rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 5% 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.footer-section h4 {
  color: var(--orange);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.footer-section p {
  color: #cbd5e1;
  line-height: 1.6;
}

.footer-section a {
  display: block;
  color: #cbd5e1;
  text-decoration: none;
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--orange);
}

.footer-bottom {
  border-top: 1px solid #334155;
  padding: 1.5rem 5%;
  text-align: center;
  color: #94a3b8;
}