.container-fluid {
  width: 90% !important;
  margin: 0 auto;
}

body {
  background: #f5f5f5 !important;
}

/* LOGO */
.logo {
  display: flex;
  align-items: center;
}
/* LOGO IMAGE */
.logo-img {
  height: 40px; /* control size */
  width: auto;
}
@media (max-width: 768px) {
  .logo-img {
    height: 30px;
  }
}
/* SIDEBAR */
.sidebar {
  background: #fff;
  padding: 15px;
  border-radius: 6px;
  font-size: 14px !important;
}
.sidebar li {
  padding: 8px 0;
  border-bottom: 1px solid #eee;
}

/* IMAGE CONTROL */
.banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* IMPORTANT */
  display: block;
}
/* VALUE BOX */
.value-box {
  background: #fff;
  padding: 10px;
  text-align: center;
  border-radius: 6px;
  font-size: 13px;
}

/* ALTERNATIVE TO LPG (category cards) */
.alt-product {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 10px;
  text-align: center;
  height: 100%;
}

.alt-product img {
  width: 100%;
  height: 70px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.alt-product p {
  margin: 8px 0 0;
  font-size: 12px;
  color: #2d3840;
  font-weight: 500;
  line-height: 1.2;
  overflow: hidden;
}

/* PRODUCT */
.product {
  background: #fff;
  padding: 10px 8px;
  text-align: center;
  border-radius: 6px;
  border: 1px solid rgba(0, 0, 0, 0.12);
}
.product1 {
  background: #fff;
  border-radius: 6px;
  margin-top: 15px;
  padding: 10px;
}

.mt-20 {
  margin-top: 20px;
}
.product img {
  width: auto;
  object-fit: contain;

  height: 180px;
}

/* HR separator inside mini product cards */
.product-sep {
  margin: 8px 0 6px;
  height: 1px;
  border: none;
  background: rgba(0, 0, 0, 0.14);
  width: 100%;
}

/* MEGA MENU */
.mega-menu {
  position: absolute;
  top: 50px;
  left: 100%;
  width: 600px;
  background: #fff;
  border-radius: 6px;
  padding: 20px;
  display: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  z-index: 1000;
}

.mega-menu h6 {
  font-weight: bold;
}

.mega-menu p {
  margin: 5px 0;
  font-size: 14px;
  cursor: pointer;
}

.category-item {
  cursor: pointer;
  padding: 8px 0;
}
/* ok next*/
/* CARD */
.product-card {
  background: #fff;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  padding: 12px;
  height: 100%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: 0.3s;
}

.product-card:hover {
  transform: translateY(-5px);
}

/* IMAGE */
.product-img {
  width: 100%;
  height: 130px;
  overflow: hidden;
  border-radius: 6px;
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* TITLE */
.product-title {
  font-size: 14px;
  margin-top: 10px;
  color: #2d3840;
  font-weight: 500;
  height: 40px;
  overflow: hidden;
}

/* COMPANY */
.company-name {
  font-size: 13px;
  color: #007bff;
  margin-top: 5px;
}

/* BUTTON AREA */
.product-actions {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
}

/* INQUIRY BUTTON */
.btn-inquiry {
  background: #2e688e;
  color: white;
  border: none;
  padding: 8px;
  border-radius: 6px;
  font-size: 13px;
  cursor: pointer;
}

.img {
  height: 16px;
  margin-right: 5px;
}
/* ===== Page base ===== */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: #f5f5f5;
  color: #2d3840;
}

.page {
  width: 100%;
  margin: 0;
  padding: 0 10px;
}

.title {
  text-align: center;
  margin: 0 0 18px;
  font-size: 14px;
  font-weight: 600;
  color: #2d3840;
}

/* ===== Grid (matches screenshot cards layout) ===== */
.card-grid {
  display: flex;
  flex-wrap: nowrap;
  gap: 15px;
  justify-content: flex-start;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.card-grid::-webkit-scrollbar {
  display: none;
}

/* ===== Card ===== */
.alt-card {
  flex: 0 0 180px;
  background: #ffffff;
  width: 85%;
  /*margin: auto; */
  box-sizing: border-box;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  padding: 10px;
}
.alt-card img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 6px;
}
.card-title {
  font-size: 13px;
  font-weight: 600;
  margin: 6px 0;
}

.alt-card > hr,
.alt-card > .line,
.alt-list hr {
  width: 100%;
  display: block;
  margin: 5px 0;
  border: 0;
  border-top: 1px solid #e5e5e5;
}

.alt-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.alt-list li {
  font-size: 12px;
  color: #444;
}

/* ===== Mobile layout styles (moved from index.html inline <style>) ===== */
@media (max-width: 576px) {
  #productList {
    flex-wrap: nowrap !important;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-bottom: 8px;
    scrollbar-width: none;
  }

  #productList .product-item {
    flex: 0 0 150px !important;
    width: 150px !important;
    max-width: 150px !important;
  }

  #productList .product {
    padding: 8px 6px;
    border-radius: 6px;
  }

  #productList .product img {
    height: 85px;
    object-fit: cover;
  }

  #productList .product p {
    font-size: 12px;
    margin: 6px 0 0;
  }

  /* Mobile top ordering section */
  .mobile-top-section .banner1 {
    height: 220px;
  }

  .mobile-value-scroll {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 12px;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .mobile-value-scroll .value-box {
    flex: 0 0 auto;
    min-width: 160px;
    font-size: 12px;
  }

  .mobile-top-section .sidebar {
    padding: 12px;
  }

  /* Make the two action cards equal size */
  .mobile-action-card {
    min-height: 110px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .mobile-action-card h6 {
    font-size: 13px;
    margin-bottom: 10px;
    line-height: 1.2;
  }

  .mobile-action-card .btn {
    padding-top: 10px;
    padding-bottom: 10px;
    font-size: 13px;
  }

  /* Top Categories: vertical scroll panel + horizontal scroll rows */
  .mobile-topcat-scroll-panel {
    /*max-height: 120px;*/
    overflow-y: hidden;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    padding: 8px 0 2px;
    scrollbar-width: thin;
  }

  .mobile-topcat-row {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 15px;
    padding: 6px 12px;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    scrollbar-width: none;
  }

  .mobile-topcat-row::-webkit-scrollbar {
    height: 6px;
  }

  .mobile-topcat-row::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.18);
    border-radius: 10px;
  }

  .mobile-topcat-row::-webkit-scrollbar-track {
    background: transparent;
  }

  .mobile-topcat-item {
    text-align: center;
    font-size: 12.5px;
    font-weight: 500;
    color: #2d3840;
    flex: 0 0 auto;
    width: 112px;
  }

  .mobile-topcat-item img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    display: block;
    margin: 0 auto 6px;
    background: #fff;
    border-radius: 6px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    padding: 6px;
  }
}
/* for auto fetured product */
.Featured-Products {
  /*display: grid;*/
  grid-template-columns: repeat(2, 1fr); /* ALWAYS 2 in mobile */
  gap: 12px;
}

/* CARD */
.product-card {
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  background: #fff;
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* IMAGE (square like TradeIndia) */
.product-img {
  width: 100%;
  height: 120px;
  border-radius: 8px;
  overflow: hidden;
  background: #f5f5f5;
}

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

/* TITLE */
.product-title {
  font-size: 13px;
  font-weight: 500;
  margin: 8px 0 4px;
  color: #222;
}

/* PRICE */
.product-price {
  font-size: 13px;
  font-weight: 600;
  color: #000;
}

.product-unit {
  font-size: 11px;
  color: #777;
}

/* COMPANY */
.company-name {
  font-size: 12px;
  color: #555;
  margin: 6px 0;
}

/* BUTTONS FULL WIDTH */
.product-actions {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.btn-inquiry {
  width: 100%;
  background: #2f6f8f;
  color: #fff;
  border: none;
  padding: 7px;
  border-radius: 6px;
  font-size: 12px;
}

.btn-whatsapp {
  width: 100%;
  background: #25d366;
  color: #fff;
  border: none;
  padding: 7px;
  border-radius: 6px;
  font-size: 12px;
}
/* for side */
/*.category-box {
  background-color: #f3f3f3; 
  padding: 15px 20px;
  border-radius: 6px;
  width: fit-content;
} */
.category-box a {
  color: #ff6600; /* orange text */
  font-size: 16px;
  font-weight: 500;
  text-decoration: underline;
  transition: 0.3s;
}

.category-box a:hover {
  color: #e65c00;
}

.banner1 {
  width: auto;
  height: auto;
  overflow: hidden;
  border-radius: 6px;
  position: relative;
}

/* slider container */
.slider {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

/* sliding track */
.slides {
  display: flex;
  height: 100%;
  transition: transform 0.5s ease-in-out;
}

/* each image full size */
.slides img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 🔥 this makes it full without distortion */
  flex-shrink: 0; /* prevents shrinking */
}
/* for right side section */
/* common card */
.custom-card {
  position: relative;
  height: 220px;
  border-radius: 14px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* gradient overlay like reference */
.custom-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* different overlays */

/* CONTENT POSITIONING */
.card-content {
  position: absolute;
  z-index: 2;
  top: 15px;
  left: 15px;
  right: 15px;
  bottom: 15px;

  display: flex;
  flex-direction: column;
  justify-content: space-between; /* 🔥 pushes button to bottom */
}

/* TEXT */
.card-content h6 {
  font-size: 16px;
  font-weight: 500;
  margin: 0;
}

/* BUTTON CENTER BOTTOM */
.card-content button {
  align-self: center; /* 🔥 center horizontally */
  width: 50%;
  border-radius: 6px;
  font-weight: 500;
  margin-bottom: 20px;
}

/* different backgrounds */
.bg-product {
  background-image: url("../images/home/post-card-3.png");
}

.bg-business {
  background-image: url("../images/home/sell-card-3.png");
}
