/* AUTO-GENERATED from landing.css (do not edit by hand; see scripts/slice_landing.py).
   Page-wise CSS bundle: mkt-list */


/* ==========================================================================
   Public marketplace — list pages, cards, filters (guest / browse only)
   Does not target .profile-wrapper, #myTab dashboards, or post-login forms.
   ========================================================================== */

.mkt-public-list,
.mkt-public-grid,
.mkt-job-directory {
  font-family: "DM Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: var(--text-base);
  color: var(--ink-2);
  -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   Marketplace list layout — 2026 shell (toolbar, hero, results chrome)
   Card markup (.procard / .mkt-list-procard) intentionally unchanged.
   ========================================================================== */

.mkt-list-market {
  background: linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 28%, var(--bg) 100%);
}

/* List hero — tighter, cleaner overlay than legacy blue sweep */
.hm-banner.product-list-banner.mkt-hero-list {
  height: auto;
  min-height: 200px;
  max-height: 280px;
  padding: var(--space-8) 0;
  align-items: flex-end;
}

.hm-banner.product-list-banner.mkt-hero-list:before {
  background: linear-gradient(105deg, rgba(15, 23, 42, 0.78) 0%, rgba(15, 23, 42, 0.35) 55%, rgba(255, 123, 73, 0.15) 100%);
}

.hm-banner.product-list-banner.mkt-hero-list:after {
  display: none;
}

.hm-banner.product-list-banner.mkt-hero-list .bannertext {
  position: relative;
  z-index: 2;
}

.hm-banner.product-list-banner.mkt-hero-list .title-subtitle h1 {
  font-size: clamp(var(--text-sm), 2vw, var(--text-base));
  font-weight: var(--font-semibold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: var(--space-1);
}

.hm-banner.product-list-banner.mkt-hero-list .title-subtitle h2 {
  font-size: clamp(var(--text-2xl), 4vw, var(--text-4xl));
  font-weight: var(--font-bold);
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #fff;
  margin: 0;
}

.hm-banner.product-list-banner.mkt-hero-list .title-subtitle h2 .orange-text {
  color: var(--orange);
}

.hm-banner.product-list-banner.mkt-hero-list .signup-readmore-btn .btn-blue {
  border-radius: var(--radius-pill);
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-weight: var(--font-semibold);
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  padding: 10px 20px;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}

.hm-banner.product-list-banner.mkt-hero-list .signup-readmore-btn .btn-blue:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: #fff;
  color: #fff;
}

/* Toolbar + filters (list pages now skip the old full-bleed hero; start below site header) */
.mkt-list-toolbar-wrap {
  padding: var(--space-4) 0 0;
}

.mkt-list-toolbar-head {
  margin-bottom: var(--space-3);
  /* max-width: 720px; */
}

.mkt-list-toolbar-head .mkt-list-eyebrow {
  margin-bottom: var(--space-2);
}

.mkt-list-toolbar-title {
  font-size: clamp(var(--text-2xl), 3.2vw, var(--text-3xl));
  font-weight: var(--font-bold);
  letter-spacing: -0.03em;
  color: var(--ink);
  margin: 0 0 var(--space-1);
  line-height: 1.15;
}

.mkt-list-toolbar-desc {
  font-size: var(--text-base);
  color: var(--ink-3);
  margin: 0;
  line-height: 1.55;
  /* max-width: 560px; */
}

.mkt-list-results {
  /* padding-bottom: var(--space-10); */
}

.mkt-list-results .product-listing-page {
  min-height: 120px;
}

/* Section heads inside AJAX (reco + grid chrome) */
.mkt-list-section-head {
  margin-bottom: var(--space-5);
  max-width: 640px;
}

.mkt-list-section-head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.mkt-list-section-head--center .mkt-list-section-desc {
  margin-left: auto;
  margin-right: auto;
}

.mkt-list-section-title {
  font-size: clamp(var(--text-xl), 2.5vw, var(--text-2xl));
  font-weight: var(--font-bold);
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: var(--space-2) 0 var(--space-1);
  line-height: 1.2;
}

.mkt-list-section-desc {
  font-size: var(--text-sm);
  color: var(--ink-3);
  margin: 0;
  line-height: 1.5;
  max-width: 480px;
}

/* Reco strip — drop legacy full-bleed photo; keep carousel */
.mkt-list-reco-shell.recommend-products-wrapper {
  background: none;
  padding: var(--space-8) 0 var(--space-6);
  border-bottom: 1px solid var(--line);
}

.mkt-list-reco-shell .jcarousel-wrapper {
  position: relative;
  padding: 0 var(--space-6);
}

.mkt-list-reco-shell .jcarousel-control-prev,
.mkt-list-reco-shell .jcarousel-control-next {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-2);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease), background 0.2s var(--ease);
}

.mkt-list-reco-shell .jcarousel-control-prev:hover,
.mkt-list-reco-shell .jcarousel-control-next:hover {
  border-color: var(--orange);
  color: var(--orange);
  background: var(--orange-tint);
}

/* Main grid region */
.mkt-list-shell.product-listing-wrapper {
  padding: var(--space-4) 0 var(--space-4);
}

.mkt-list-pagination {
  padding: var(--space-2) 0 var(--space-2);
}

.mkt-list-pagination .pagination-area {
  margin-top: 0;
}

/* ----- Filter strip (products / machinery / rental / industrial lists) ----- */
.mkt-public-list .product-search-bar {
  background: linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: var(--space-2) var(--space-2);
  /* margin-bottom: var(--space-4); */
}

.mkt-public-list .product-search-bar .row {
  gap: var(--space-2);
  justify-content: flex-start;
}

.mkt-public-list .product-search-bar .row > [class*="col-"],
.mkt-public-list .product-search-bar .row > .col {
  max-width: none;
  flex: 1 1 160px;
  min-width: 140px;
}

.mkt-public-list .product-search-bar .input-group {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  border: 1px solid var(--line);
  background: var(--bg);
}

.mkt-public-list .product-search-bar .input-group-text {
  background: var(--bg-muted);
  border: none;
  color: var(--ink-3);
  height: 46px;
  border-radius: 0;
}

.mkt-public-list .product-search-bar .input-group-text i.bi {
  font-size: var(--text-sm);
}

.mkt-public-list .product-search-bar .form-control,
.mkt-public-list .product-search-bar .custom-select {
  height: 46px;
  background: var(--bg);
  border: none;
  border-left: 1px solid var(--line) !important;
  font-size: var(--text-sm);
  color: var(--ink);
  border-radius: 0;
}

.mkt-public-list .product-search-bar .form-control:focus,
.mkt-public-list .product-search-bar .custom-select:focus {
  outline: none;
  box-shadow: inset 0 0 0 2px rgba(255, 123, 73, 0.25);
}

.mkt-public-list .product-search-bar select.form-control {
  padding-right: 32px;
}

.mkt-public-list .product-search-bar .mkt-search-submit {
  min-height: 46px;
  padding-left: var(--space-4);
  padding-right: var(--space-4);
  border-radius: var(--radius-md);
  font-weight: var(--font-semibold);
}

@media (max-width: 991px) {
  .mkt-public-list .product-search-bar .row > [class*="col-"],
  .mkt-public-list .product-search-bar .row > .col {
    flex: 1 1 calc(50% - var(--space-2));
  }
}

@media (max-width: 575px) {
  .mkt-public-list .product-search-bar .row > [class*="col-"],
  .mkt-public-list .product-search-bar .row > .col {
    flex: 1 1 100%;
  }
}

/* ----- Listing grid & cards ----- */
.mkt-public-grid .mkt-item-grid-wrap {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}

/* Listing grid — same layout & gap as the homepage category blocks */
.mkt-public-grid .mkt-item-grid-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-2);
  margin: 0;
}

@media (max-width: 1199px) { .mkt-public-grid .mkt-item-grid-row { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 991px)  { .mkt-public-grid .mkt-item-grid-row { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 767px)  { .mkt-public-grid .mkt-item-grid-row { grid-template-columns: repeat(2, 1fr); } }

/* Same .procard as home — grid cells fill their track (slider variant handled below) */
.mkt-public-grid .mkt-list-procard.procard {
  flex: initial;
  width: auto;
  max-width: 100%;
  min-width: 0;
  scroll-snap-align: unset;
}

.mkt-public-grid .recommend-products .mkt-list-procard.procard {
  flex: 0 0 220px;
  width: 220px;
  max-width: 220px;
}

@media (min-width: 768px) {
  .mkt-public-grid .recommend-products .mkt-list-procard.procard {
    flex: 0 0 240px;
    width: 240px;
    max-width: 240px;
  }
}

@media (max-width: 575px) {
  .mkt-public-grid .recommend-products .mkt-list-procard.procard {
    flex: 0 0 170px;
    width: 170px;
    max-width: 170px;
  }
}

.mkt-reco-section .recommend-products .mkt-list-procard.procard {
  margin: 0 var(--space-1);
}

/* Pagination */
.mkt-public-grid .pagination {
  /* margin-top: var(--space-6); */
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
}

.mkt-public-grid .pagination .page-link {
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  color: var(--ink-2);
  padding: 0.45rem 0.85rem;
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
}

.mkt-public-grid .pagination .page-item.active .page-link {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}

.mkt-public-grid .pagination .page-link:hover {
  border-color: var(--orange);
  color: var(--orange-dark);
}

/* Empty state */
.mkt-empty-state-wrap .mkt-empty-alert {
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-lg);
  background: var(--bg-soft);
  color: var(--ink-2);
  padding: var(--space-4);
  max-width: 480px;
  margin: var(--space-4) auto;
  text-align: center;
}

/* ----- Job work directory cards (public company browse) ----- */
.mkt-job-directory .whitecard {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}

.mkt-job-directory .whitecard:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.mkt-job-directory .media-body .list-li {
  font-size: var(--text-sm);
  color: var(--ink-2);
}

.mkt-job-directory .media-body .list-li li {
  padding: 6px 0;
  border-bottom: 1px solid var(--line);
}

.mkt-job-directory .automoblieimg-text img {
  border-radius: var(--radius-md);
}
