.home-shell {
  width: 100%;
  margin: 0 auto;
}

body {
  background: #f5f5f5 !important;
}

/* LOGO */
.logo {
  display: flex;
  align-items: center;
}
/* LOGO IMAGE */
.logo-img {
  height: 70px; /* control size */
  width: auto;
}
@media (max-width: 767.98px) {
  .logo-img {
    height: 50px;
  }
}

.home-topbar {
  gap: 24px;
}

.home-logo {
  flex-shrink: 0;
}

.home-search-bar {
  flex: 1 1 620px;
  max-width: 840px;
  margin: 0 auto;
}

.home-search-bar .form-control {
  min-width: 0;
}

.home-search-bar .btn {
  flex-shrink: 0;
  padding-left: 28px;
  padding-right: 28px;
}

.home-auth-links {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
}

.home-auth-links .mr-5 {
  margin-right: 0 !important;
}
/* SIDEBAR */
.sidebar {
  background: #fff;
  padding: 15px;
  border-radius: 6px;
  height: 90%;
  overflow-y: auto;
  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 */


/* 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;
}
.awf-filter {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.awf-filter-btn {
margin: 1px;
    padding: 5px 10px;
    cursor: pointer;
}
/* ===== Mobile layout styles (moved from index.html inline <style>) ===== */
@media (max-width: 767.98px) {
  .home-topbar {
    flex-wrap: wrap;
    gap: 12px;
  }

  .home-logo {
    width: 100%;
    justify-content: center;
    margin: 0 !important;
  }

  .home-search-bar {
    width: 100% !important;
    max-width: 100%;
    flex: 1 1 100%;
    margin: 0;
  }

  .home-search-bar .btn {
    padding-left: 18px;
    padding-right: 18px;
  }

  #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: 12px;
    margin-bottom: 10px;
    line-height: 15px;
  }

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

  /* 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: 95px;
    height: 95px;
    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;
  }
}

@media (min-width: 768px) {
  .home-desktop-layout {
    display: grid;
    grid-template-columns: minmax(210px, 255px) minmax(0, 1fr) minmax(
        260px,
        400px
      );
    gap: 24px;
    align-items: start;
    margin-left: 0;
    margin-right: 0;
  }

  .home-sidebar-col,
  .home-main-col,
  .home-sidecards-col {
    width: auto;
    max-width: none;
    flex: none;
    padding-left: 0;
    padding-right: 0;
  }

  .home-desktop .banner1 {
    height: clamp(280px, 30vw, 400px);
    background: #fff;
  }

  .home-sidecards-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .home-sidecards-col .custom-card {
    margin-bottom: 0 !important;
  }

  .home-desktop .custom-card {
    height: clamp(190px, 15vw, 220px);
  }

  .home-value-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-left: 0;
    margin-right: 0;
  }

  .home-value-col {
    width: auto;
    max-width: none;
    flex: none;
    padding-left: 0;
    padding-right: 0;
  }

  .home-desktop .value-box {
    min-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 10px;
  }
}
/* 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: 100px;
  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");
}
/* footer css*/
.awf-container {
  background: #f4f6fa;
  padding: 40px 25px;
  font-family: Arial, sans-serif;
}

.awf-section {
  margin-bottom: 30px;
}

.awf-heading {
  font-size: 18px;
  margin-bottom: 12px;
  color: #222;
}

.awf-tags {
  display: block;
  line-height: 2; /* spacing between lines */
   display: inline-block;
}
/* Category Links */
.awf-tag {
  display: inline-block;
  color: #0073e6;
  font-size: 16px;
  text-decoration: none;
  margin-right: 6px;
  position: relative;
}
/* Add separator ( | ) */
.awf-tag::after {
  content: "|";
  margin-left: 6px;
  color: #999;
}
.awf-tag-item {
  background: #ffffff;
  border: 1px solid #ddd;
  padding: 6px 12px;
  font-size: 13px;
  border-radius: 3px;
  cursor: pointer;
  transition: 0.3s;
}
/* Remove last separator */
.awf-tag:last-child::after {
  content: "";
}
/* Hover */
.awf-tag:hover {
  color: #ff6600;
  text-decoration: underline;
}

.awf-tag-item:hover {
  background: #2f6f8f;
  color: #fff;
}

/* Alphabet Filter */
.awf-filter {
  margin: 20px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.awf-filter-btn {
  padding: 5px 10px;
  border: none;
  background: #e60000;
  color: #fff;
  font-size: 12px;
  cursor: pointer;
  border-radius: 3px;
}

.awf-filter-btn:hover {
  background: #000;
}

.awf-active {
  background: #000 !important;
}

/* Footer Links */
.awf-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.awf-col h4 {
  margin-bottom: 10px;
  font-size: 15px;
}

.awf-col a {
  display: block;
  text-decoration: none;
  color: #555;
  margin-bottom: 6px;
  font-size: 13px;
}

.awf-col a:hover {
  color: #2f6f8f;
}

/* Bottom */
.awf-bottom {
  margin-top: 30px;
  border-top: 1px solid #ccc;
  padding-top: 15px;
  text-align: center;
  font-size: 13px;
}