@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400..700;1,9..40,400..700&display=swap');

/* ==========================================================================
   Landing Page — Minimal Modern 2026
   Brand: India Engg Trade  |  Accent: Orange #FF7B49
   ========================================================================== */

:root {
  /* Brand */
  --orange: #FF7B49;
  --orange-dark: #F26635;
  --orange-soft: #FFE7DA;
  --orange-tint: #FFF3EC;
  --peach: #FFF3E0;

  /* Surfaces */
  --bg: #FFFFFF;
  --bg-soft: #FAFAFB;
  --bg-muted: #F3F4F6;
  --line: #ECECEE;
  --line-strong: #E1E1E5;

  /* Text */
  --ink: #0F172A;
  --ink-2: #334155;
  --ink-3: #64748B;
  --ink-mute: #94A3B8;

  /* Legacy aliases (kept so other pages don't break) */
  --light-gray: #F1F3F6;
  --dark-gray: #64748B;
  --dark: #0F172A;
  --secondary: #026EB5;
  --secondary-hover: #025EB5;
  --cta-blue: #E3F2FD;

  /* Spacing (8px) */
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 40px;
  --space-6: 48px;
  --space-8: 64px;
  --space-10: 80px;
  --space-12: 96px;
  --space-14: 120px;

  /* Type */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 2rem;
  --text-4xl: 2.5rem;
  --text-5xl: 3.25rem;
  --text-6xl: 4rem;
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;

  /* Elevation & shape */
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 2px 6px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 20px 48px rgba(15, 23, 42, 0.10);
  --shadow-orange: 0 12px 28px rgba(255, 123, 73, 0.28);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-2xl: 32px;
  --radius-pill: 9999px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ==========================================================================
   Shared utilities
   ========================================================================== */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: 6px 12px;
  font-size: var(--text-xs);
  font-weight: var(--font-semibold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--orange-dark);
  background: var(--orange-tint);
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 123, 73, 0.18);
}

.eyebrow__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 123, 73, 0.18);
}

.eyebrow--light {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(6px);
}

.eyebrow--light .eyebrow__dot {
  background: #fff;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.25);
}

.section26-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
}

.section26-head--center {
  justify-content: center;
  text-align: center;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  flex-direction: column;
  align-items: center;
}

.section26__title {
  font-size: var(--text-2xl);
  font-weight: var(--font-medium);
  color: var(--ink);
  margin: var(--space-2) 0 0;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.section26__sub {
  font-size: var(--text-base);
  color: var(--ink-3);
  margin: 0;
  line-height: 1.6;
  max-width: 520px;
}

.section26-head--center .section26__sub {
  margin-top: var(--space-2);
}

/* Legacy fallbacks (other pages may still use these) */
.section__title {
  font-size: clamp(var(--text-2xl), 3.5vw, var(--text-4xl));
  font-weight: var(--font-bold);
  color: var(--ink);
  margin: 0 0 var(--space-2);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.section__sub {
  font-size: var(--text-lg);
  color: var(--ink-3);
  margin: 0;
  line-height: 1.5;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-1);
  padding: 12px var(--space-3);
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
  border: 1.5px solid transparent;
  white-space: nowrap;
  cursor: pointer;
}

.btn i {
  font-size: 1em;
  line-height: 1;
}

.btn--primary {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
  box-shadow: var(--shadow-orange);
}

.btn--primary:hover {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
  color: #fff;
  transform: translateY(-1px);
}

.btn--secondary,
.btn--ghost {
  background: #fff;
  color: var(--ink);
  border-color: var(--line-strong);
}

.btn--secondary:hover,
.btn--ghost:hover {
  border-color: var(--ink);
  color: var(--ink);
  transform: translateY(-1px);
}

.btn--white {
  background: #fff;
  color: var(--orange-dark);
  border-color: #fff;
}

.btn--white:hover {
  background: var(--orange-tint);
  color: var(--orange-dark);
  border-color: var(--orange-tint);
  transform: translateY(-1px);
}

.btn--outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}

.btn--outline-white:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: #fff;
}

.btn--sm {
  padding: 8px var(--space-2);
  font-size: var(--text-xs);
}

/* ==========================================================================
   HERO 26 — asymmetric, minimal
   ========================================================================== */

.hero26 {
  position: relative;
  background: var(--bg);
  padding: var(--space-10) 0 var(--space-12);
  overflow: hidden;
}

.hero26__glow {
  position: absolute;
  top: -180px;
  right: -180px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 123, 73, 0.22), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero26__row {
  position: relative;
  z-index: 1;
  row-gap: var(--space-6);
}

.hero26__title {
  font-size: clamp(2.25rem, 5.4vw, 4rem);
  font-weight: var(--font-bold);
  color: var(--ink);
  margin: var(--space-3) 0 var(--space-3);
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.hero26__title-accent {
  background: linear-gradient(120deg, var(--orange) 0%, var(--orange-dark) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero26__sub {
  font-size: var(--text-lg);
  color: var(--ink-3);
  line-height: 1.6;
  margin: 0 0 var(--space-4);
  max-width: 540px;
}

/* Search pill */
.searchpill {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  padding: 6px 6px 6px 18px;
  background: #fff;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-pill);
  margin-bottom: var(--space-3);
  max-width: 540px;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.searchpill:focus-within {
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(255, 123, 73, 0.14);
}

.searchpill__icon {
  color: var(--ink-mute);
  font-size: 1rem;
}

.searchpill__input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 10px 0;
  font-size: var(--text-sm);
  color: var(--ink);
  min-width: 0;
}

.searchpill__input::placeholder {
  color: var(--ink-mute);
}

.searchpill__input:focus {
  outline: none;
}

.searchpill__btn {
  flex-shrink: 0;
  padding: 10px 22px;
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  background: var(--orange);
  color: #fff;
  border: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background 0.2s var(--ease);
}

.searchpill__btn:hover {
  background: var(--orange-dark);
}

.hero26__cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}

.hero26__chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-3);
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero26__chips li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-xs);
  color: var(--ink-3);
  font-weight: var(--font-medium);
}

.hero26__chips i {
  color: var(--orange);
  font-size: 0.95rem;
}

/* Hero collage */
.hero26__collage {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 160px 160px;
  gap: var(--space-2);
  width: 100%;
  max-width: 460px;
  margin: 0 0 0 auto;
}

.hero26__collage-tile {
  border-radius: var(--radius-lg);
  background-size: cover;
  background-position: center;
  background-color: var(--bg-muted);
  box-shadow: var(--shadow-md);
  transition: transform 0.4s var(--ease);
}

.hero26__collage-tile:hover {
  transform: translateY(-4px);
}

.hero26__collage-tile--lg {
  grid-row: span 2;
  border-radius: var(--radius-xl);
}

.hero26__floating-card {
  position: absolute;
  bottom: -28px;
  right: -16px;
  background: #fff;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 140px;
}

.hero26__floating-card-num {
  font-size: var(--text-2xl);
  font-weight: var(--font-bold);
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.hero26__floating-card-label {
  font-size: var(--text-xs);
  color: var(--ink-3);
  margin-top: 2px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: var(--font-medium);
}

@media (max-width: 991px) {
  .hero26 {
    padding: var(--space-8) 0 var(--space-10);
  }
  .hero26__collage {
    margin: var(--space-4) auto 0;
    grid-template-rows: 130px 130px;
  }
  .hero26__floating-card {
    right: 0;
  }
}

@media (max-width: 575px) {
  .hero26__collage {
    grid-template-rows: 110px 110px;
    max-width: 360px;
  }
  .hero26__floating-card {
    bottom: -20px;
    padding: 12px var(--space-2);
  }
}

/* ==========================================================================
   Trust strip
   ========================================================================== */

.truststrip {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: var(--space-3) 0;
}

.truststrip__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  list-style: none;
  margin: 0;
  padding: 0;
}

.truststrip__item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: var(--text-sm);
  color: var(--ink-2);
}

.truststrip__item i {
  color: var(--orange);
  font-size: var(--text-xl);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--orange-tint);
}

.truststrip__item strong {
  color: var(--ink);
  font-weight: var(--font-semibold);
  margin-right: 4px;
}

@media (max-width: 767px) {
  .truststrip__list {
    justify-content: flex-start;
  }
  .truststrip__item {
    flex: 1 1 calc(50% - var(--space-3));
  }
}

/* ==========================================================================
   BENTO grid — Platforms
   ========================================================================== */

.bento {
  background: var(--bg);
  padding: var(--space-12) 0;
}

.bento__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--space-3);
}

.bento__card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.25s var(--ease), box-shadow 0.35s var(--ease);
  grid-column: span 2;
}

.bento__card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 123, 73, 0.4);
  box-shadow: var(--shadow-md);
}

.bento__card--featured {
  grid-column: span 4;
  grid-row: span 2;
  background: linear-gradient(180deg, var(--orange-tint) 0%, #fff 60%);
}

.bento__media {
  position: relative;
  aspect-ratio: 16/9;
  background-size: cover;
  background-position: center;
  background-color: var(--bg-muted);
  overflow: hidden;
}

.bento__card--featured .bento__media {
  aspect-ratio: 16/10;
  margin: var(--space-2) var(--space-2) 0;
  border-radius: var(--radius-lg);
}

.bento__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(15, 23, 42, 0.18));
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}

.bento__card:hover .bento__media::after {
  opacity: 1;
}

.bento__tag {
  position: absolute;
  top: var(--space-2);
  left: var(--space-2);
  z-index: 1;
  padding: 5px 10px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font-size: 0.7rem;
  font-weight: var(--font-semibold);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  backdrop-filter: blur(6px);
}

.bento__body {
  padding: var(--space-3);
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.bento__card--featured .bento__body {
  padding: var(--space-3) var(--space-4) var(--space-4);
}

.bento__title {
  font-size: var(--text-lg);
  font-weight: var(--font-bold);
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.bento__card--featured .bento__title {
  font-size: var(--text-2xl);
}

.bento__desc {
  font-size: var(--text-sm);
  color: var(--ink-3);
  margin: 0;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.bento__card--featured .bento__desc {
  font-size: var(--text-base);
  -webkit-line-clamp: 3;
  line-clamp: 3;
}

.bento__cta {
  margin-top: auto;
  padding-top: 12px;
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  color: var(--orange);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s var(--ease);
}

.bento__card:hover .bento__cta {
  gap: 8px;
}

@media (max-width: 991px) {
  .bento__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .bento__card,
  .bento__card--featured {
    grid-column: span 1;
    grid-row: auto;
  }
  .bento__card--featured .bento__media {
    aspect-ratio: 16/9;
    margin: 0;
    border-radius: 0;
  }
  .bento__card--featured .bento__title {
    font-size: var(--text-lg);
  }
  .bento__card--featured .bento__desc {
    font-size: var(--text-sm);
    -webkit-line-clamp: 2;
    line-clamp: 2;
  }
  .bento__card--featured .bento__body {
    padding: var(--space-3);
  }
}

@media (max-width: 575px) {
  .bento__grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   LISTINGS — pill tabs + minimal product cards
   ========================================================================== */

.listings {
  background: var(--bg-soft);
  padding: var(--space-12) 0;
}

.pilltabs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1);
  justify-content: center;
  padding: 6px;
  margin: 0 auto var(--space-5);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  width: fit-content;
  max-width: 100%;
}

.pilltabs .nav-item { list-style: none; }

.pilltabs .nav-link {
  padding: 10px 18px;
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  color: var(--ink-3);
  border-radius: var(--radius-pill);
  background: transparent;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
  white-space: nowrap;
}

.pilltabs .nav-link:hover {
  color: var(--ink);
}

.pilltabs .nav-link.active {
  color: #fff;
  background: var(--orange);
  box-shadow: var(--shadow-orange);
}

.proslider-wrap {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.proslider {
  flex: 1;
  display: flex;
  gap: var(--space-2);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: var(--space-2) 4px;
  scrollbar-width: thin;
}

.proslider::-webkit-scrollbar {
  height: 4px;
}

.proslider::-webkit-scrollbar-thumb {
  background: var(--line-strong);
  border-radius: 999px;
}

.procard {
  flex: 0 0 220px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.3s var(--ease), border-color 0.25s var(--ease), box-shadow 0.3s var(--ease);
}

.procard:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 123, 73, 0.4);
  box-shadow: var(--shadow-md);
}

.procard__img {
  aspect-ratio: 1;
  background: var(--bg-muted);
  position: relative;
  overflow: hidden;
}

.procard__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
}

.procard:hover .procard__img img {
  transform: scale(1.05);
}

.procard__img--placeholder {
  background-color: var(--bg-muted);
}

.procard__img--placeholder img {
  opacity: 0;
}

.procard__body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.procard__name {
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  color: var(--ink);
  margin: 0;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.procard__cta {
  margin-top: auto;
  font-size: var(--text-xs);
  font-weight: var(--font-semibold);
  color: var(--orange);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  letter-spacing: 0.02em;
}

@media (min-width: 768px) {
  .procard { flex: 0 0 240px; }
}

@media (max-width: 575px) {
  .procard { flex: 0 0 170px; }
}

.circle-arrow {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease), background 0.2s var(--ease), transform 0.2s var(--ease);
}

.circle-arrow:hover {
  border-color: var(--orange);
  color: var(--orange);
  background: var(--orange-tint);
  transform: scale(1.05);
}

@media (max-width: 575px) {
  .circle-arrow { width: 36px; height: 36px; }
}

.listings__viewall {
  margin-top: var(--space-4);
  text-align: center;
}

.textlink {
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  color: var(--orange);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s var(--ease), color 0.2s var(--ease);
}

.textlink:hover {
  color: var(--orange-dark);
  gap: 10px;
}

.textlink--white {
  color: #fff;
}

.textlink--white:hover {
  color: var(--orange-tint);
}

.empty {
  flex: 1 1 100%;
  min-width: 100%;
  padding: var(--space-8);
  text-align: center;
  color: var(--ink-3);
  font-size: var(--text-sm);
  background: #fff;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-lg);
}

.empty a {
  color: var(--orange);
  font-weight: var(--font-semibold);
  margin-left: 4px;
}

/* ==========================================================================
   JOB WORK — Split card
   ========================================================================== */

.jobwork {
  background: var(--bg);
  padding: var(--space-12) 0;
}

.jobwork__card {
  position: relative;
  background: linear-gradient(135deg, #1a2235 0%, #0F172A 100%);
  border-radius: var(--radius-2xl);
  padding: var(--space-8) var(--space-6);
  overflow: hidden;
}

.jobwork__card::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 123, 73, 0.30), transparent 70%);
  pointer-events: none;
}

.jobwork__intro {
  position: relative;
  z-index: 1;
  padding-right: var(--space-4);
}

.jobwork__title {
  font-size: clamp(var(--text-2xl), 3vw, var(--text-3xl));
  font-weight: var(--font-bold);
  color: #fff;
  margin: var(--space-2) 0 var(--space-2);
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.jobwork__desc {
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.6;
  margin: 0;
}

.jobwork__cards {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2);
}

.jobwork-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  padding: var(--space-3);
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.jobwork-card:hover {
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 123, 73, 0.50);
  transform: translateY(-3px);
}

.jobwork-card__icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: var(--orange);
  color: #fff;
  font-size: var(--text-xl);
}

.jobwork-card__title {
  font-size: var(--text-lg);
  font-weight: var(--font-semibold);
  color: #fff;
  margin: 0;
  line-height: 1.3;
}

.jobwork-card__desc {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.55;
  margin: 0 0 var(--space-1);
}

@media (max-width: 991px) {
  .jobwork__intro {
    padding-right: 0;
    margin-bottom: var(--space-4);
  }
}

@media (max-width: 575px) {
  .jobwork__card { padding: var(--space-5) var(--space-3); }
  .jobwork__cards { grid-template-columns: 1fr; }
}

/* ==========================================================================
   STATS — minimal numbers
   ========================================================================== */

.stats26 {
  background: var(--bg);
  padding: var(--space-10) 0;
  border-top: 1px solid var(--line);
}

.stats26__row {
  margin: 0;
}

.stats26__item {
  position: relative;
  text-align: center;
  padding: var(--space-3) var(--space-2);
}

.stats26__num {
  display: block;
  font-size: clamp(var(--text-3xl), 4vw, var(--text-5xl));
  font-weight: var(--font-bold);
  color: var(--ink);
  letter-spacing: -0.03em;
  line-height: 1.05;
  background: linear-gradient(180deg, var(--ink) 0%, var(--orange-dark) 140%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.stats26__label {
  display: block;
  margin-top: 6px;
  font-size: var(--text-sm);
  color: var(--ink-3);
  font-weight: var(--font-medium);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

@media (min-width: 992px) {
  .stats26__item::after {
    content: "";
    position: absolute;
    right: 0;
    top: 25%;
    height: 50%;
    width: 1px;
    background: var(--line);
  }
  .stats26__row > [class*="col-"]:last-child .stats26__item::after { display: none; }
}

/* ==========================================================================
   HOW IT WORKS — horizontal connected steps
   ========================================================================== */

.how26 {
  background: var(--bg-soft);
  padding: var(--space-12) 0;
}

.how26__steps {
  display: grid;
  grid-template-columns: 1fr 24px 1fr 24px 1fr;
  align-items: stretch;
  gap: var(--space-2);
  margin-top: var(--space-6);
}

.how26-step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.3s var(--ease), border-color 0.25s var(--ease), box-shadow 0.3s var(--ease);
}

.how26-step:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 123, 73, 0.4);
  box-shadow: var(--shadow-md);
}

.how26-step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 36px;
  font-size: var(--text-base);
  font-weight: var(--font-bold);
  color: var(--orange-dark);
  background: var(--orange-tint);
  border-radius: var(--radius-pill);
  letter-spacing: 0.04em;
}

.how26-step__title {
  font-size: var(--text-lg);
  font-weight: var(--font-bold);
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.01em;
}

.how26-step__desc {
  font-size: var(--text-sm);
  color: var(--ink-3);
  margin: 0;
  line-height: 1.6;
}

.how26-step__connector {
  align-self: center;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--line-strong) 0 6px, transparent 6px 12px);
}

@media (max-width: 991px) {
  .how26__steps {
    grid-template-columns: 1fr;
  }
  .how26-step__connector {
    width: 2px;
    height: 24px;
    justify-self: center;
    background: repeating-linear-gradient(180deg, var(--line-strong) 0 6px, transparent 6px 12px);
  }
}

/* ==========================================================================
   BENEFITS 26
   ========================================================================== */

.benefits26 {
  background: var(--bg);
  padding: var(--space-12) 0;
}

.benefits26__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
}

.benefit26 {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.3s var(--ease), border-color 0.25s var(--ease), box-shadow 0.3s var(--ease);
}

.benefit26:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 123, 73, 0.4);
  box-shadow: var(--shadow-md);
}

.benefit26__icon {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: var(--orange-tint);
  color: var(--orange-dark);
  font-size: var(--text-xl);
  margin-bottom: 4px;
}

.benefit26__title {
  font-size: var(--text-base);
  font-weight: var(--font-bold);
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.005em;
}

.benefit26__desc {
  font-size: var(--text-sm);
  color: var(--ink-3);
  margin: 0;
  line-height: 1.6;
}

.benefit26 .textlink {
  margin-top: auto;
}

@media (max-width: 991px) {
  .benefits26__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 575px) {
  .benefits26__grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   CTA 26
   ========================================================================== */

.cta26 {
  background: var(--bg);
  padding-top: 0 !important;
}

.cta26__card {
  position: relative;
  background: linear-gradient(135deg, var(--orange) 0%, #FF8C5F 50%, var(--orange-dark) 100%);
  border-radius: var(--radius-2xl);
  padding: var(--space-10) var(--space-6);
  overflow: hidden;
  text-align: center;
  box-shadow: var(--shadow-orange);
}

.cta26__pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.18) 0, transparent 35%),
    radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.14) 0, transparent 30%);
  pointer-events: none;
}

.cta26__content {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
}

.cta26__title {
  font-size: clamp(var(--text-2xl), 3.5vw, var(--text-4xl));
  font-weight: var(--font-bold);
  color: #fff;
  margin: var(--space-2) 0 var(--space-2);
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.cta26__desc {
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.6;
  margin: 0 auto var(--space-4);
  max-width: 520px;
}

.cta26__btns {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  justify-content: center;
}

@media (max-width: 575px) {
  .cta26__card { padding: var(--space-8) var(--space-3); }
}

/* ==========================================================================
   Responsive tweaks
   ========================================================================== */

@media (max-width: 767px) {
  .section26-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .bento, .listings, .how26, .benefits26, .jobwork, .cta26 {
    padding: var(--space-10) 0;
  }
  .pilltabs {
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    justify-content: flex-start;
    -webkit-overflow-scrolling: touch;
  }
  .pilltabs::-webkit-scrollbar { display: none; }
}

/* ==========================================================================
   Shared / Auth pages — kept from previous design system
   ========================================================================== */

.page-content-card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: var(--space-5);
  margin-bottom: var(--space-4);
}
.page-content-card .form-control,
.sign-up-box .form-control,
.profile-wrapper .form-control {
  border-radius: var(--radius-md);
  border: 1px solid var(--line-strong);
  padding: var(--space-1) var(--space-2);
}
.page-content-card .form-control:focus,
.sign-up-box .form-control:focus,
.profile-wrapper .form-control:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 123, 73, 0.15);
}
.page-content-card .custom-select,
.page-content-card select.form-control,
.sign-up-box .custom-select,
.sign-up-box select.form-control,
.profile-wrapper .custom-select,
.profile-wrapper select.form-control {
  border-radius: var(--radius-md);
  border: 1px solid var(--line-strong);
  padding: var(--space-1) var(--space-2);
}
.page-content-card .custom-select:focus,
.page-content-card select.form-control:focus,
.sign-up-box .custom-select:focus,
.sign-up-box select.form-control:focus,
.profile-wrapper .custom-select:focus,
.profile-wrapper select.form-control:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 123, 73, 0.15);
}
.page-content-card label {
  font-weight: var(--font-medium);
  color: var(--ink);
  margin-bottom: var(--space-1);
}
.page-content-card .btn-blue {
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-md);
  font-weight: var(--font-semibold);
}
.internal-wrapper .page-content-card:first-child {
  margin-top: 0;
}
.content-page-body {
  line-height: 1.7;
  color: var(--ink-3);
}
.content-page-body h1, .content-page-body h2, .content-page-body h3 {
  color: var(--ink);
  margin-top: var(--space-4);
  margin-bottom: var(--space-2);
}
.content-page-body p { margin-bottom: var(--space-2); }
.content-page-body ul, .content-page-body ol { margin-bottom: var(--space-2); padding-left: var(--space-4); }

/* ==========================================================================
   MARKETPLACE HEADER (.mkt-header)
   Override legacy .header rules from default.css with higher specificity.
   ========================================================================== */

.mkt-header {
  background: #fff;
  position: relative;
  z-index: 1000;
  box-shadow: 0 1px 0 var(--line);
}

/* --- Top utility bar -------------------------------------------------- */
.mkt-topbar {
  background: #0F172A;
  color: rgba(255, 255, 255, 0.78);
  font-size: var(--text-xs);
}

.mkt-topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 36px;
}

.mkt-topbar__list {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  list-style: none;
  padding: 0;
  margin: 0;
}

.mkt-topbar__list li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.mkt-topbar__list i {
  color: var(--orange);
  font-size: 0.85rem;
}

.mkt-topbar__list a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

.mkt-topbar__list a:hover {
  color: #fff;
}

.mkt-topbar__sell {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: rgba(255, 123, 73, 0.16);
  border: 1px solid rgba(255, 123, 73, 0.35);
  border-radius: var(--radius-pill);
  color: #fff !important;
  font-weight: var(--font-semibold);
}

.mkt-topbar__sell:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff !important;
}

/* --- Main bar (logo + search + actions) ------------------------------- */
.mkt-mainbar {
  padding: 14px 0;
  background: #fff;
}

.mkt-mainbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}

.mkt-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
  font-size: var(--text-xl);
  font-weight: var(--font-bold);
  color: var(--ink);
  line-height: 1;
}

.mkt-logo img {
  height: 52px;
  width: auto;
  display: block;
}

.mkt-logo__fallback {
  color: var(--orange);
  letter-spacing: -0.02em;
}

.mkt-burger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  background: #fff;
  color: var(--ink);
  font-size: 1.4rem;
  order: 4;
  flex-shrink: 0;
}

/* Search */
.mkt-search {
  flex: 1;
  display: flex;
  align-items: stretch;
  height: 46px;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-pill);
  background: #fff;
  overflow: hidden;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  max-width: 720px;
}

.mkt-search:focus-within {
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(255, 123, 73, 0.14);
}

.mkt-search__category {
  flex-shrink: 0;
  border-right: 1px solid var(--line);
  position: relative;
}

.mkt-search__category-btn {
  height: 100%;
  padding: 0 14px 0 18px;
  background: transparent;
  border: none;
  color: var(--ink-2);
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  max-width: 180px;
}

.mkt-search__category-btn::after {
  display: inline-block;
  margin-left: 6px;
  vertical-align: middle;
  content: "";
  border-top: 5px solid currentColor;
  border-right: 4px solid transparent;
  border-left: 4px solid transparent;
  opacity: 0.6;
}

.mkt-search__category-label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 140px;
}

.mkt-search__category-menu {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 6px;
  margin-top: 6px;
  min-width: 240px;
}

.mkt-search__category-menu .dropdown-item {
  padding: 8px 12px;
  font-size: var(--text-sm);
  border-radius: var(--radius-sm);
  color: var(--ink-2);
}

.mkt-search__category-menu .dropdown-item:hover,
.mkt-search__category-menu .dropdown-item.active {
  background: var(--orange-tint);
  color: var(--orange-dark);
}

.mkt-search__input {
  flex: 1;
  border: none;
  padding: 0 16px;
  font-size: var(--text-sm);
  color: var(--ink);
  background: transparent;
  min-width: 0;
}

.mkt-search__input::placeholder { color: var(--ink-mute); }
.mkt-search__input:focus { outline: none; }

.mkt-search__btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 22px;
  border: none;
  background: var(--orange);
  color: #fff;
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  cursor: pointer;
  transition: background 0.2s var(--ease);
}

.mkt-search__btn:hover { background: var(--orange-dark); }
.mkt-search__btn i { font-size: 1rem; }

/* Right actions */
.mkt-actions {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-shrink: 0;
}

.mkt-actions__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
  color: #fff !important;
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  border-radius: var(--radius-pill);
  text-decoration: none;
  box-shadow: var(--shadow-orange);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
  white-space: nowrap;
}

.mkt-actions__cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(255, 123, 73, 0.35);
  color: #fff !important;
}

.mkt-actions__icon {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 4px 10px;
  color: var(--ink-2) !important;
  text-decoration: none;
  font-size: var(--text-xs);
  font-weight: var(--font-medium);
  border-radius: var(--radius-md);
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}

.mkt-actions__icon i { font-size: 1.2rem; }
.mkt-actions__icon:hover { color: var(--orange) !important; background: var(--orange-tint); }
.mkt-actions__icon-label { font-size: 0.7rem; }

.mkt-actions__login,
.mkt-actions__avatar {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  color: var(--ink) !important;
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  text-decoration: none !important;
  background: #fff;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.mkt-actions__login::after,
.mkt-actions__avatar::after { display: none; }

.mkt-actions__login i {
  font-size: 1.2rem;
  color: var(--orange);
}

.mkt-actions__login:hover,
.mkt-actions__avatar:hover {
  border-color: var(--orange);
  color: var(--orange-dark) !important;
}

.mkt-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
  color: #fff;
  font-weight: var(--font-bold);
  font-size: 0.85rem;
}

.mkt-actions__user-name {
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Account dropdown menu */
.mkt-account-menu.dropdown-menu {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 6px;
  margin-top: 8px;
  min-width: 240px;
}

.mkt-account-menu .dropdown-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  font-size: var(--text-sm);
  border-radius: var(--radius-sm);
  color: var(--ink-2);
  width: 100%;
}

.mkt-account-menu .dropdown-item i {
  font-size: 1rem;
  color: var(--ink-mute);
  width: 18px;
  text-align: center;
}

.mkt-account-menu .dropdown-item:hover {
  background: var(--orange-tint);
  color: var(--orange-dark);
}

.mkt-account-menu .dropdown-item:hover i { color: var(--orange-dark); }

.mkt-account-menu .dropdown-item.text-danger { color: #dc2626; }
.mkt-account-menu .dropdown-item.text-danger i { color: #dc2626; }
.mkt-account-menu .dropdown-item.text-danger:hover { background: #fee2e2; color: #b91c1c; }

.mkt-account-menu .dropdown-divider {
  margin: 6px 4px;
  border-color: var(--line);
}

.mkt-account-menu__head {
  padding: 10px 12px 12px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 4px;
}

.mkt-account-menu__head strong {
  display: block;
  color: var(--ink);
  font-size: var(--text-sm);
}

.mkt-account-menu__head small {
  display: block;
  color: var(--ink-3);
  font-size: var(--text-xs);
  margin-top: 2px;
}

.mkt-account-menu__signup {
  text-align: center;
  background: var(--orange-tint) !important;
  color: var(--orange-dark) !important;
  border-radius: var(--radius-md) !important;
  margin-top: 4px;
}

.mkt-account-menu__signup:hover {
  background: var(--orange) !important;
  color: #fff !important;
}

.mkt-account-menu__signup strong { color: inherit; }

/* --- Category nav ----------------------------------------------------- */
.mkt-catbar {
  background: #fff;
  border-top: 1px solid var(--line);
}

.mkt-catbar__inner {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  min-height: 48px;
}

.mkt-catbar__all {
  flex-shrink: 0;
}

.mkt-catbar__all-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  background: var(--orange);
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  cursor: pointer;
  transition: background 0.2s var(--ease);
}

.mkt-catbar__all-btn:hover {
  background: var(--orange-dark);
}

.mkt-catbar__all-caret {
  font-size: 0.75rem;
  margin-left: 2px;
  opacity: 0.85;
}

/* Mega menu under "All Categories" */
.mkt-megamenu.dropdown-menu {
  margin-top: 6px;
  padding: var(--space-3);
  min-width: 600px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.mkt-megamenu__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-1);
}

.mkt-megamenu__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px;
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--ink);
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}

.mkt-megamenu__item:hover {
  background: var(--orange-tint);
  text-decoration: none;
  color: var(--ink);
}

.mkt-megamenu__icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: var(--orange-tint);
  color: var(--orange-dark);
  font-size: 1.1rem;
}

.mkt-megamenu__item:hover .mkt-megamenu__icon {
  background: var(--orange);
  color: #fff;
}

.mkt-megamenu__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.mkt-megamenu__title {
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  color: var(--ink);
  line-height: 1.3;
}

.mkt-megamenu__desc {
  font-size: var(--text-xs);
  color: var(--ink-3);
  line-height: 1.4;
}

/* Standalone platform signup chooser (/create-account) */
.platform-signup-page__intro {
  text-align: center;
  margin-bottom: var(--space-6);
}

.platform-signup-page__title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: var(--font-bold);
  color: var(--ink);
  margin-bottom: var(--space-2);
}

.platform-signup-page__sub {
  color: var(--ink-3);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
  font-size: var(--text-base);
}

.platform-signup-page__grid {
  grid-template-columns: 1fr;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}

@media (min-width: 768px) {
  .platform-signup-page__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4);
  }
}

.platform-signup-page__item {
  position: relative;
  align-items: center;
  min-height: 120px;
  padding: var(--space-4) var(--space-5);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
  gap: var(--space-3);
}

.platform-signup-page__item:hover {
  border-color: var(--orange);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.platform-signup-page__icon {
  width: 56px;
  height: 56px;
  font-size: 1.5rem;
}

.platform-signup-page__label {
  font-size: var(--text-lg);
  font-weight: var(--font-bold);
}

.platform-signup-page__desc {
  font-size: var(--text-sm);
  margin-top: 4px;
}

.platform-signup-page__arrow {
  flex-shrink: 0;
  margin-left: auto;
  align-self: center;
  color: var(--ink-3);
  font-size: 1.25rem;
  transition: color 0.2s var(--ease), transform 0.2s var(--ease);
}

.platform-signup-page__item:hover .platform-signup-page__arrow {
  color: var(--orange-dark);
  transform: translateX(3px);
}

.platform-signup-page__login {
  text-align: center;
  color: var(--ink-3);
  font-size: var(--text-base);
}

.platform-signup-page__login a {
  font-weight: var(--font-semibold);
  color: var(--orange-dark);
}

.platform-signup-page__login a:hover {
  color: var(--orange);
}

.mkt-catbar__list,
.mkt-catbar__right {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

.mkt-catbar__list { flex: 1; }
.mkt-catbar__right { flex-shrink: 0; }

.mkt-catbar__list .mkt-catbar__item { position: static; }

.mkt-catbar__list .mkt-catbar__link,
.mkt-catbar__right a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 10px;
  font-size: 0.875rem;
  font-weight: var(--font-medium);
  color: var(--ink-2);
  text-decoration: none;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}

.mkt-catbar__caret {
  font-size: 0.7rem;
  opacity: 0.6;
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}

@media (max-width: 1199px) {
  .mkt-catbar__list .mkt-catbar__link,
  .mkt-catbar__right a {
    padding: 8px 8px;
    font-size: 0.84rem;
  }
  .mkt-catbar__all-btn { padding: 9px 12px; font-size: 0.84rem; }
  .mkt-catbar__caret { display: none; }
}

.mkt-catbar__list .mkt-catbar__link:hover,
.mkt-catbar__right a:hover,
.mkt-catbar__list .mkt-catbar__link.is-active,
.mkt-catbar__right a.is-active,
.mkt-catbar__item.is-open > .mkt-catbar__link {
  color: var(--orange-dark);
  background: var(--orange-tint);
}

.mkt-catbar__item.is-open > .mkt-catbar__link .mkt-catbar__caret {
  transform: rotate(180deg);
  opacity: 1;
}

/* --- Hover mega-nav (full-width per category) ------------------------- */
.mkt-meganav {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 18px 40px -16px rgba(15, 23, 42, 0.18);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity 0.2s var(--ease), transform 0.25s var(--ease), visibility 0s linear 0.2s;
  z-index: 1040;
  max-height: calc(100vh - 220px);
  overflow-y: auto;
}

.mkt-catbar__item.is-open > .mkt-meganav {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
  transition: opacity 0.2s var(--ease), transform 0.25s var(--ease), visibility 0s linear 0s;
}

.mkt-meganav__inner { padding: var(--space-4) var(--space-2) var(--space-3); }

.mkt-meganav__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--line);
  margin-bottom: var(--space-3);
}

.mkt-meganav__heading {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.mkt-meganav__icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--orange-tint);
  color: var(--orange);
  border-radius: var(--radius-md);
  font-size: 1.35rem;
  flex-shrink: 0;
}

.mkt-meganav__heading h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: var(--font-bold);
  color: var(--ink);
  line-height: 1.2;
}

.mkt-meganav__heading p {
  margin: 2px 0 0;
  color: var(--ink-3);
  font-size: var(--text-sm);
  line-height: 1.45;
}

.mkt-meganav__viewall {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  color: var(--orange-dark);
  white-space: nowrap;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--orange);
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.mkt-meganav__viewall:hover {
  background: var(--orange);
  color: #fff;
  text-decoration: none;
}

.mkt-meganav__body {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--space-4);
  align-items: start;
}

.mkt-meganav__coltitle {
  margin: 0 0 12px;
  font-size: var(--text-xs);
  font-weight: var(--font-bold);
  color: var(--ink-3);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mkt-meganav__sublist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px 18px;
}

.mkt-meganav__sublist a {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 7px 8px 7px 4px;
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  color: var(--ink-2);
  text-decoration: none;
  font-weight: var(--font-medium);
  line-height: 1.3;
  transition: background 0.15s var(--ease), color 0.15s var(--ease);
}

.mkt-meganav__sublist a > span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mkt-meganav__sublist a > i {
  color: var(--ink-mute);
  font-size: 1rem;
  flex-shrink: 0;
}

.mkt-meganav__sublist a:hover {
  background: var(--orange-tint);
  color: var(--orange-dark);
}

.mkt-meganav__sublist a:hover > i { color: var(--orange); }

.mkt-meganav__empty {
  margin: 0;
  font-size: var(--text-sm);
  color: var(--ink-3);
}

.mkt-meganav__featured {
  border-left: 1px solid var(--line);
  padding-left: var(--space-4);
}

.mkt-meganav__featurelist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mkt-meganav__featurelist a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px;
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--ink);
  border: 1px solid transparent;
  transition: background 0.15s var(--ease), border-color 0.15s var(--ease);
}

.mkt-meganav__featurelist a:hover {
  background: var(--bg-soft);
  border-color: var(--line);
  text-decoration: none;
}

.mkt-meganav__thumb {
  position: relative;
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg-soft);
  border: 1px solid var(--line);
}

.mkt-meganav__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mkt-meganav__thumb-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-mute);
  font-size: 1.4rem;
}

.mkt-meganav__ftitle {
  flex: 1;
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  color: var(--ink);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mkt-meganav__ctabox {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: var(--space-3);
  text-align: center;
}

.mkt-meganav__ctabox > i {
  font-size: 1.6rem;
  color: var(--orange);
  margin-bottom: 8px;
}

.mkt-meganav__ctabox p {
  margin: 0 0 12px;
  font-size: var(--text-sm);
  color: var(--ink-2);
  line-height: 1.45;
}

.mkt-meganav__ctabtn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: var(--orange);
  color: #fff;
  font-weight: var(--font-semibold);
  font-size: var(--text-sm);
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: background 0.2s var(--ease);
}

.mkt-meganav__ctabtn:hover {
  background: var(--orange-dark);
  color: #fff;
  text-decoration: none;
}

.mkt-meganav__foot {
  margin-top: var(--space-3);
  padding-top: var(--space-3);
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3);
}

.mkt-meganav__foot a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  color: var(--ink-2);
  text-decoration: none;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.mkt-meganav__foot a:hover {
  background: var(--orange-tint);
  color: var(--orange-dark);
  text-decoration: none;
}

.mkt-meganav__foot a > i {
  font-size: 1rem;
  color: var(--orange);
}

@media (max-width: 1199px) {
  .mkt-meganav__sublist { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mkt-meganav__body { gap: var(--space-3); }
  .mkt-meganav__featured { padding-left: var(--space-3); }
}

@media (max-width: 1099px) {
  .mkt-meganav__body { grid-template-columns: 1fr; }
  .mkt-meganav__featured {
    border-left: 0;
    padding-left: 0;
    border-top: 1px solid var(--line);
    padding-top: var(--space-3);
  }
  .mkt-meganav__featurelist {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .mkt-meganav__featurelist > li { flex: 1 1 200px; }
}

/* --- Mobile menu ------------------------------------------------------ */
.mkt-mobilemenu {
  background: #fff;
  border-top: 1px solid var(--line);
  padding: var(--space-2) 0 var(--space-3);
}

.mkt-mobilemenu__head {
  font-size: var(--text-xs);
  font-weight: var(--font-bold);
  color: var(--ink-3);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: var(--space-2) 0 8px;
}

.mkt-mobilemenu__list {
  list-style: none;
  margin: 0 0 var(--space-2);
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.mkt-mobilemenu__list > li + li { border-top: 1px solid var(--line); }

.mkt-mobilemenu__link,
.mkt-mobilemenu__toggle {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px var(--space-2);
  text-decoration: none;
  color: var(--ink);
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  background: transparent;
  border: 0;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
}

.mkt-mobilemenu__link > span,
.mkt-mobilemenu__toggle > span { flex: 1; }

.mkt-mobilemenu__link > i:first-child,
.mkt-mobilemenu__toggle > i:first-child {
  color: var(--orange);
  font-size: 1.1rem;
  width: 22px;
  text-align: center;
}

.mkt-mobilemenu__chev {
  color: var(--ink-mute);
  font-size: 0.85rem;
  transition: transform 0.25s var(--ease);
}

.mkt-mobilemenu__link:active,
.mkt-mobilemenu__toggle:active {
  background: var(--orange-tint);
}

.mkt-mobilemenu__group.is-open .mkt-mobilemenu__toggle {
  background: var(--orange-tint);
  color: var(--orange-dark);
}

.mkt-mobilemenu__group.is-open .mkt-mobilemenu__chev {
  transform: rotate(180deg);
}

.mkt-mobilemenu__panel {
  display: none;
  padding: 8px var(--space-2) 12px;
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
}

.mkt-mobilemenu__group.is-open .mkt-mobilemenu__panel { display: block; }

.mkt-mobilemenu__viewall {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  margin-bottom: 6px;
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  color: var(--orange-dark);
  background: #fff;
  border: 1px solid var(--orange);
  border-radius: var(--radius-pill);
  text-decoration: none;
}

.mkt-mobilemenu__viewall > i { font-size: 0.95rem; }

.mkt-mobilemenu__sublist {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px 6px;
}

.mkt-mobilemenu__sublist li { border-top: 0 !important; }

.mkt-mobilemenu__sublist a {
  display: block;
  padding: 8px 10px;
  font-size: 0.82rem;
  color: var(--ink-2);
  text-decoration: none;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mkt-mobilemenu__sublist a:active { background: var(--orange-tint); color: var(--orange-dark); }

/* --- Responsive ------------------------------------------------------- */
@media (max-width: 991px) {
  .mkt-mainbar { padding: 12px 0; }
  .mkt-mainbar__inner {
    flex-wrap: wrap;
    gap: 10px;
  }
  .mkt-logo img { height: 40px; }
  .mkt-logo { margin-right: auto; }
  .mkt-search {
    order: 5;
    flex-basis: 100%;
    height: 42px;
  }
  .mkt-search__category { display: none; }
  .mkt-search__btn { padding: 0 16px; }
  .mkt-actions { gap: 8px; order: 3; }
  .mkt-actions__icon { padding: 4px 6px; }
}

@media (max-width: 575px) {
  .mkt-search { height: 40px; }
  .mkt-search__btn { padding: 0 14px; }
  .mkt-actions__login,
  .mkt-actions__avatar { padding: 7px 10px; font-size: 0.8rem; }
  .mkt-actions__login span:not(.d-none) { display: none !important; }
  .mkt-actions__login i { font-size: 1.4rem; }
}

/* ==========================================================================
   PRE-FOOTER (CTA strip)
   ========================================================================== */

.mkt-prefooter {
  background: var(--bg-soft);
  padding: var(--space-8) 0;
}

.mkt-prefooter__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
}

.mkt-prefooter__card {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.mkt-prefooter__card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 123, 73, 0.4);
  box-shadow: var(--shadow-md);
}

.mkt-prefooter__card--buy {
  background: linear-gradient(135deg, #0F172A 0%, #1a2235 100%);
  border-color: transparent;
  color: #fff;
}

.mkt-prefooter__icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
  background: var(--orange-tint);
  color: var(--orange-dark);
  font-size: 1.6rem;
}

.mkt-prefooter__card--buy .mkt-prefooter__icon {
  background: rgba(255, 123, 73, 0.18);
  color: var(--orange);
}

.mkt-prefooter__body {
  flex: 1;
  min-width: 0;
}

.mkt-prefooter__title {
  font-size: var(--text-lg);
  font-weight: var(--font-bold);
  color: var(--ink);
  margin: 0 0 4px;
  letter-spacing: -0.01em;
}

.mkt-prefooter__card--buy .mkt-prefooter__title { color: #fff; }

.mkt-prefooter__desc {
  font-size: var(--text-sm);
  color: var(--ink-3);
  margin: 0;
  line-height: 1.5;
}

.mkt-prefooter__card--buy .mkt-prefooter__desc { color: rgba(255, 255, 255, 0.78); }

.mkt-prefooter__btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  background: #fff;
  color: var(--ink) !important;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-pill);
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  text-decoration: none !important;
  transition: all 0.2s var(--ease);
  white-space: nowrap;
}

.mkt-prefooter__btn:hover {
  border-color: var(--ink);
  transform: translateY(-1px);
}

.mkt-prefooter__btn--primary {
  background: var(--orange);
  color: #fff !important;
  border-color: var(--orange);
}

.mkt-prefooter__btn--primary:hover {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
  color: #fff !important;
}

@media (max-width: 767px) {
  .mkt-prefooter__grid { grid-template-columns: 1fr; }
  .mkt-prefooter__card {
    flex-direction: column;
    text-align: center;
  }
}

/* ==========================================================================
   MARKETPLACE FOOTER
   ========================================================================== */

.mkt-footer {
  background: #0B1220;
  color: rgba(255, 255, 255, 0.78);
}

/* Trust strip */
.mkt-footer__trust {
  background: #0F172A;
  padding: var(--space-3) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mkt-trustrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  list-style: none;
  margin: 0;
  padding: 0;
}

.mkt-trustrow li {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 1 1 auto;
  min-width: 200px;
}

.mkt-trustrow i {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 123, 73, 0.16);
  color: var(--orange);
  font-size: 1.1rem;
}

.mkt-trustrow span {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.6);
}

.mkt-trustrow strong {
  color: #fff;
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
}

/* Main footer grid */
.mkt-footer__main {
  padding: var(--space-8) 0 var(--space-6);
}

.mkt-footer__grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(4, 1fr);
  gap: var(--space-5);
}

.mkt-footer__col {
  min-width: 0;
  text-align: left;
}

.mkt-footer__col--brand { padding-right: var(--space-3); }

.mkt-footer__logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  margin-bottom: var(--space-2);
}

.mkt-footer__logo img {
  height: 48px;
  width: auto;
  filter: brightness(0) invert(1);
}

.mkt-footer__logo-fallback {
  font-size: var(--text-xl);
  font-weight: var(--font-bold);
  color: #fff;
}

.mkt-footer__tagline {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
  margin: 0 0 var(--space-3);
}

.mkt-footer__contact {
  list-style: none;
  margin: 0 0 var(--space-3);
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mkt-footer__contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.5;
}

.mkt-footer__contact i {
  color: var(--orange);
  font-size: 0.95rem;
  margin-top: 3px;
  flex-shrink: 0;
  width: 16px;
  text-align: center;
}

.mkt-footer__contact a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

.mkt-footer__contact a:hover { color: #fff; }

.mkt-footer__social {
  display: flex;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.mkt-footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.85);
  font-size: 1rem;
  text-decoration: none;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
}

.mkt-footer__social a:hover {
  background: var(--orange);
  color: #fff;
  transform: translateY(-2px);
}

.mkt-footer__heading {
  font-size: var(--text-sm);
  font-weight: var(--font-bold);
  color: #fff;
  margin: 0 0 var(--space-2);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.mkt-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mkt-footer__links a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  font-size: var(--text-sm);
  transition: color 0.2s var(--ease), padding-left 0.2s var(--ease);
  display: inline-block;
}

.mkt-footer__links a:hover {
  color: var(--orange);
  padding-left: 4px;
}

/* Bottom bar */
.mkt-footer__bottom {
  background: #060a13;
  padding: var(--space-2) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.mkt-footer__bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2) var(--space-3);
}

.mkt-footer__copy {
  margin: 0;
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.55);
}

.mkt-footer__pay,
.mkt-footer__legal {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  list-style: none;
  margin: 0;
  padding: 0;
}

.mkt-footer__pay li {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.55);
  padding: 4px 10px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--radius-sm);
}

.mkt-footer__pay i { font-size: 0.95rem; color: rgba(255, 255, 255, 0.65); }

.mkt-footer__legal a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  font-size: var(--text-xs);
  transition: color 0.2s var(--ease);
}

.mkt-footer__legal a:hover { color: #fff; }

@media (max-width: 1199px) {
  .mkt-footer__grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
  }
  .mkt-footer__col--brand { grid-column: span 4; padding-right: 0; margin-bottom: var(--space-3); }
  .mkt-footer__col--brand .mkt-footer__tagline { max-width: 540px; }
}

@media (max-width: 767px) {
  .mkt-footer__main { padding: var(--space-6) 0 var(--space-4); }
  .mkt-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4) var(--space-3);
  }
  .mkt-footer__col--brand { grid-column: span 2; }
  .mkt-trustrow li { flex: 1 1 calc(50% - var(--space-3)); min-width: 0; }
  .mkt-footer__bottom-inner {
    flex-direction: column;
    text-align: center;
  }
  .mkt-footer__pay,
  .mkt-footer__legal { justify-content: center; flex-wrap: wrap; }
}

@media (max-width: 479px) {
  .mkt-footer__grid { grid-template-columns: 1fr; }
  .mkt-footer__col--brand { grid-column: span 1; }
}

/* ==========================================================================
   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);
}

/* ==========================================================================
   Auth pages only (login / signup — not profile #myTab)
   ========================================================================== */

.mkt-auth-page {
  font-family: "DM Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.mkt-auth-page .page-content-card,
.mkt-auth-page .login-box,
.mkt-auth-page .sign-up-box {
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  background: var(--bg);
  padding: var(--space-5) var(--space-4);
}

.mkt-auth-page .form-group label {
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  color: var(--ink-2);
  margin-bottom: var(--space-1);
}

.mkt-auth-page .form-control {
  height: auto;
  min-height: 48px;
  padding: 12px 14px;
  font-size: var(--text-base);
  border-radius: var(--radius-md);
  border: 1px solid var(--line-strong);
  background: var(--bg-soft);
  color: var(--ink);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.mkt-auth-page .form-control:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 123, 73, 0.2);
  background: var(--bg);
}

.mkt-auth-page select.form-control {
  cursor: pointer;
}

.mkt-auth-page .btn.blue-btn {
  border-radius: var(--radius-pill);
  min-width: 160px;
  padding: 12px var(--space-4);
  font-weight: var(--font-semibold);
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
  border: none;
  box-shadow: var(--shadow-orange);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.mkt-auth-page .btn.blue-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(255, 123, 73, 0.35);
}

.mkt-auth-page .alert {
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
}

/* ==========================================================================
   Override legacy .header padding from default.css for sticky behavior
   ========================================================================== */

body { padding-top: 0 !important; }
.wrapper:before { display: none; }

/* -----------------------------------------------------------------------------
   Marketplace list — breadcrumbs & mobile slide-in filters (additive only)
   ----------------------------------------------------------------------------- */

.mkt-breadcrumb {
  margin-bottom: var(--space-2);
}

.mkt-breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px var(--space-2);
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: var(--text-xs);
}

.mkt-breadcrumb__sep {
  color: var(--ink-muted, var(--ink-3));
  user-select: none;
}

.mkt-breadcrumb__item a {
  color: var(--ink-3);
  text-decoration: none;
  font-weight: var(--font-medium);
  transition: color 0.2s var(--ease, ease);
}

.mkt-breadcrumb__item a:hover {
  color: var(--orange);
}

.mkt-breadcrumb__item--current {
  color: var(--ink);
  font-weight: var(--font-semibold);
}

/* Mobile: filters open from sliding drawer; desktop keeps horizontal strip */

.mkt-list-filter-toggle {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  width: 100%;
  justify-content: center;
  padding: 12px var(--space-4);
  /* margin-bottom: var(--space-2); */
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  color: var(--ink);
  background: linear-gradient(180deg, var(--bg-soft, #f8fafc) 0%, var(--bg, #fff) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs, 0 1px 2px rgba(15, 23, 42, 0.06));
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.mkt-list-filter-toggle:hover {
  border-color: var(--orange);
  color: var(--ink);
}

.mkt-list-filter-toggle .bi {
  color: var(--orange);
}

@media (min-width: 768px) {
  .mkt-list-filter-toggle.d-md-none {
    display: none !important;
  }

  .mkt-list-filter-backdrop {
    display: none !important;
  }

  .mkt-list-filter-drawer-head.d-md-none {
    display: none !important;
  }

  .mkt-list-filter-panel {
    position: static;
    z-index: auto;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  .mkt-public-list.mkt-list-market .mkt-list-filter-drawer {
    transform: none !important;
    box-shadow: var(--shadow-sm);
    max-height: none !important;
    overflow: visible !important;
  }

  .mkt-public-list.mkt-list-market .mkt-list-filter-drawer > .container-fluid {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  body.mkt-list-filter-open {
    overflow: unset !important;
  }
}

@media (max-width: 767.98px) {
  /* Prevent off-canvas transform + row margins from widening the page (blank strip on the right). */
  .mkt-public-list.mkt-list-market {
    max-width: 100%;
    overflow-x: hidden;
  }

  .mkt-list-filter-panel {
    position: fixed;
    inset: 0;
    z-index: 1035;
    visibility: hidden;
    pointer-events: none;
    transition: visibility 0.28s ease;
    overflow: hidden;
  }

  .mkt-list-filter-panel.is-open {
    visibility: visible;
    pointer-events: auto;
  }

  .mkt-list-filter-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    opacity: 0;
    transition: opacity 0.28s ease;
  }

  .mkt-list-filter-panel.is-open .mkt-list-filter-backdrop {
    opacity: 1;
  }

  .mkt-public-list .mkt-list-filter-drawer.product-search-bar {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    width: min(100%, 400px);
    max-height: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    border-radius: var(--radius-lg) 0 0 var(--radius-lg);
    box-shadow: -8px 0 32px rgba(15, 23, 42, 0.18);
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.32, 0.72, 0, 1);
    overflow: hidden;
  }

  .mkt-list-filter-panel.is-open .mkt-list-filter-drawer {
    transform: translateX(0);
  }

  .mkt-list-filter-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
    padding-top: var(--space-3);
    padding-bottom: var(--space-3);
    border-bottom: 1px solid var(--line);
    background: var(--bg);
    font-size: var(--text-base);
    font-weight: var(--font-bold);
    color: var(--ink);
  }

  .mkt-list-filter-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin: -8px -8px -8px 0;
    border: none;
    background: transparent;
    line-height: 1;
    color: var(--ink-3);
    cursor: pointer;
    border-radius: var(--radius-md);
  }

  .mkt-list-filter-close .bi {
    font-size: 1.125rem;
    pointer-events: none;
  }

  .mkt-list-filter-close:hover {
    color: var(--ink);
    background: var(--bg-soft);
  }

  .mkt-list-filter-close:hover .bi {
    color: inherit;
  }

  .mkt-list-filter-drawer > .container-fluid {
    overflow-y: auto;
    overflow-x: hidden;
    flex: 1;
    min-height: 0;
    padding-top: var(--space-4);
    padding-bottom: var(--space-4);
    box-sizing: border-box;
    -webkit-overflow-scrolling: touch;
  }

  .mkt-public-list .mkt-list-filter-drawer.product-search-bar .row > [class*="col-"],
  .mkt-public-list .mkt-list-filter-drawer.product-search-bar .row > .col-auto {
    flex: 0 0 auto !important;
    max-width: 100% !important;
    min-width: 0;
    width: 100%;
    padding-left: 0;
    padding-right: 0;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }

  .mkt-public-list .mkt-list-filter-drawer.product-search-bar .input-group {
    width: 100%;
    max-width: 100%;
  }

  /* Prevent Bootstrap .h-100 from stretching Search to fill column height when panel opens */
  .mkt-public-list .mkt-list-filter-drawer.product-search-bar .mkt-search-submit.h-100 {
    height: auto !important;
    min-height: 48px;
  }

  .mkt-public-list .mkt-list-filter-drawer.product-search-bar .mkt-search-submit {
    width: 100%;
    margin-top: 0 !important;
  }

  body.mkt-list-filter-open {
    overflow: hidden;
  }
}

/* ==========================================================================
   Item detail page (product / machinery / rental / industrial)
   ========================================================================== */

.mkt-item-detail-banner {
  position: relative;
  padding: var(--space-5) 0 var(--space-6);
  color: #fff;
  background: linear-gradient(115deg, rgba(15, 23, 42, 0.92) 0%, rgba(30, 41, 59, 0.88) 40%, rgba(15, 23, 42, 0.94) 100%),
    var(--mkt-detail-banner-bg, none) center / cover no-repeat;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mkt-item-detail-banner .mkt-bc__list a {
  color: rgba(255, 255, 255, 0.78);
}

.mkt-item-detail-banner .mkt-bc__list a:hover {
  color: #fff;
}

.mkt-item-detail-banner .mkt-bc__current {
  color: rgba(255, 255, 255, 0.95);
}

.mkt-bc {
  margin-bottom: var(--space-3);
}

.mkt-bc__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: var(--text-sm);
}

.mkt-bc__sep {
  opacity: 0.45;
  user-select: none;
}

.mkt-item-detail-banner__eyebrow {
  margin: 0 0 var(--space-2);
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--orange-soft);
}

.mkt-item-detail-banner__title {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: var(--font-bold);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #fff;
  max-width: 920px;
}

section.mkt-item-detail {
  overflow: visible;
}

.mkt-item-detail-ads {
  background: var(--bg-soft);
  padding-top: var(--space-4);
}

/* .wrapper { overflow: hidden } in default.css prevents position:sticky on the detail gallery rail */
.wrapper:has(.mkt-item-detail) {
  overflow: visible;
}

.mkt-item-detail__grid {
  align-items: flex-start;
}

.mkt-item-detail__h1 {
  margin: 0 0 var(--space-3);
  font-size: clamp(1.35rem, 2.5vw, 1.875rem);
  line-height: 1.22;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.mkt-item-detail__vendor-title {
  margin: 0;
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--ink);
}

.mkt-item-detail__desc-inline {
  margin-bottom: var(--space-4);
}

.mkt-item-detail__prose {
  font-size: var(--text-sm);
  color: var(--ink-2);
  line-height: 1.65;
}

.mkt-detail-strip {
  padding: var(--space-6) 0;
  border-top: 1px solid var(--line);
  background: var(--bg);
}

.mkt-detail-strip__title {
  color: var(--ink);
  letter-spacing: -0.02em;
}

.mkt-detail-strip__head {
  margin-bottom: var(--space-3);
}

.mkt-detail-strip__jwrap {
  position: relative;
}

.mkt-item-detail__gallery-card {
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}

.mkt-item-detail__gallery-card .flexslider-main {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* flexslider.css adds .flexslider { margin-bottom: 60px } — reset in gallery rail */
.mkt-item-detail__gallery-card .flexslider-main > .flexslider {
  margin: 0 !important;
}

.mkt-item-detail__gallery-card #slider.flexslider {
  flex: none;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg-muted);
  box-shadow: var(--shadow-sm);
}

.mkt-item-detail__gallery-card #slider .flex-viewport {
  border-radius: var(--radius-lg);
  min-height: 220px;
}

/* Thumbnail strip: no frame around the carousel; borders on each thumb below */
.mkt-item-detail__gallery-card #carousel.flexslider {
  flex: none;
  overflow: visible;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

/* Thumbnail strip viewport — ul.width is intentionally wide (all slides laid in a row) */
.mkt-item-detail__gallery-card #carousel .flex-viewport {
  overflow: hidden !important;
}

/* Let FlexSlider compute viewport from image dims; clamp for cover without breaking init */
.mkt-item-detail__gallery-card #slider .slides img {
  display: block;
  width: 100%;
  height: auto;
  /* max-height: min(560px, 82vh); */
  object-fit: cover;
  background: var(--bg-muted);
}

/* Thumbs: 1:1 tiles with per-image frame (FlexSlider sets each li width from itemWidth) */
.mkt-item-detail__gallery-card #carousel .slides > li {
  opacity: 0.88;
  overflow: hidden;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--bg);
  box-sizing: border-box;
  transition: border-color 0.2s var(--ease, ease), opacity 0.2s var(--ease, ease);
}

.mkt-item-detail__gallery-card #carousel .slides > li img {
  display: block;
  width: 100%;
  height: auto !important;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  vertical-align: top;
}

.mkt-item-detail__gallery-card #carousel .slides > li.flex-active-slide {
  opacity: 1;
  border-color: var(--orange);
}

.mkt-item-detail__noimg {
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--bg-muted), var(--bg));
  border-radius: var(--radius-md);
}

.mkt-item-detail__gallery-card .mkt-item-detail__noimg {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.mkt-item-detail__noimg .bi {
  font-size: 4rem;
  color: var(--ink-mute);
}

.mkt-item-detail__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: var(--space-3);
}

.mkt-item-detail__tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  font-size: var(--text-xs);
  font-weight: var(--font-semibold);
  color: var(--orange-dark);
  background: var(--orange-tint);
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 123, 73, 0.2);
}

.mkt-item-detail__seller-card {
  padding: var(--space-4);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.mkt-item-detail__profile-head {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  padding-bottom: var(--space-3);
  margin-bottom: var(--space-3);
  border-bottom: 1px solid var(--line);
}

.mkt-item-detail__profile-head .automoblieimg-text {
  flex-shrink: 0;
}

.mkt-item-detail__profile-head .brdr-logo {
  width: 76px;
  height: 76px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-muted);
}

.mkt-item-detail__profile-head .brdr-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mkt-item-detail__profile-intro {
  width: stretch;
}

.mkt-item-detail__profile-intro h2 {
  margin: 0 0 4px;
  font-size: var(--text-lg);
  font-weight: var(--font-bold);
  color: var(--ink);
}

.mkt-item-detail__profile-intro p {
  margin: 0;
  font-size: var(--text-sm);
  color: var(--ink-3);
}

.mkt-item-detail__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: var(--space-1);
}

.mkt-item-detail__seller-card .mkt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 18px;
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  border-radius: var(--radius-md);
  text-decoration: none;
  border: none;
  transition: transform 0.15s var(--ease), box-shadow 0.15s var(--ease);
}

.mkt-item-detail__seller-card button.mkt-btn {
  font-family: inherit;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  text-align: center;
}

.mkt-item-detail__seller-card .mkt-btn:focus {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

.mkt-item-detail__seller-card .mkt-btn--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
  box-shadow: var(--shadow-orange);
}

.mkt-item-detail__seller-card .mkt-btn--primary:hover {
  color: #fff;
  transform: translateY(-1px);
}

.mkt-item-detail__seller-card .mkt-btn--secondary {
  color: var(--ink);
  background: var(--bg-muted);
  border: 1px solid var(--line);
}

.mkt-item-detail__seller-card .mkt-btn--secondary:hover {
  background: var(--line);
  color: var(--ink);
}

.mkt-item-detail__seller-card .mkt-btn--ghost {
  color: var(--secondary);
  background: var(--cta-blue);
  border: 1px solid rgba(2, 110, 181, 0.2);
}

.mkt-item-detail__seller-card .mkt-btn--ghost:hover {
  filter: brightness(0.97);
}

.mkt-item-detail__rows {
  margin: 0;
  padding: 0;
  list-style: none;
}

.mkt-item-detail__rows li {
  display: flex;
  gap: var(--space-2);
  align-items: flex-start;
  padding: var(--space-2) 0;
  border-bottom: 1px solid var(--line);
  font-size: var(--text-sm);
  color: var(--ink-2);
}

.mkt-item-detail__rows li:last-child {
  border-bottom: none;
}

.mkt-item-detail__rows .bi {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--orange);
  font-size: var(--text-lg);
}

.mkt-item-detail__rows a {
  color: var(--secondary);
  font-weight: var(--font-medium);
  word-break: break-word;
}

.mkt-item-detail__rows a:hover {
  text-decoration: underline;
}

.mkt-item-detail__certgrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
  gap: 10px;
  margin-top: var(--space-2);
}

.mkt-item-detail__certgrid .cert_link {
  display: block;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-muted);
}

.mkt-item-detail__certgrid .cert_preview {
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px;
  font-size: var(--text-xs);
  text-align: center;
  color: var(--ink-3);
}

.mkt-item-detail__certgrid .cert_image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mkt-item-detail__desc-card {
  margin-top: var(--space-5);
  padding: var(--space-4);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs);
}

.mkt-item-detail__desc-card .second-title {
  margin: 0 0 var(--space-3);
  font-size: var(--text-xl);
  font-weight: var(--font-bold);
  color: var(--ink);
  letter-spacing: -0.01em;
  border-bottom: none;
}

.mkt-item-detail__desc-card .second-title span {
  color: var(--orange-dark);
}

.mkt-item-detail__desc-card .videotext-area {
  font-size: var(--text-base);
  color: var(--ink-2);
  line-height: 1.65;
}

.mkt-item-detail__desc-card .video-area {
  margin-bottom: var(--space-3);
}

.mkt-item-detail__desc-card .videotext-area p {
  margin-bottom: var(--space-2);
}

@media (min-width: 992px) {
  .mkt-item-detail__hero-row {
    align-items: flex-start;
  }

  .mkt-item-detail__gallery-col {
    position: -webkit-sticky;
    position: sticky;
    top: var(--space-3);
    align-self: flex-start;
    z-index: 4;
  }

  .mkt-item-detail__info-col {
    min-width: 0;
  }
}

@media (max-width: 991.98px) {
  .mkt-item-detail__gallery-col {
    position: static;
    top: auto;
  }

  .mkt-item-detail-banner {
    padding: var(--space-4) 0 var(--space-5);
  }
}

/* ==========================================================================
   Landing 2026 — category discovery, trending, platform strip, services
   ========================================================================== */

/* Section-head trailing link (title left, "view all" right) */
.section26-head__link {
  white-space: nowrap;
}

/* --- Popular categories -------------------------------------------------- */
.catsec {
  background: var(--bg-soft);
  padding: var(--space-12) 0;
}

.catgrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-2);
}

.catgrid__tile {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  text-decoration: none;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.catgrid__tile:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 123, 73, 0.4);
  box-shadow: var(--shadow-md);
}

.catgrid__icon {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: var(--orange-tint);
  color: var(--orange-dark);
  font-size: 1.25rem;
}

.catgrid__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
}

.catgrid__name {
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  color: var(--ink);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.catgrid__count {
  font-size: var(--text-xs);
  color: var(--orange-dark);
  font-weight: var(--font-medium);
}

.catgrid__count--muted {
  color: var(--ink-mute);
}

.catgrid__arrow {
  flex-shrink: 0;
  color: var(--ink-mute);
  font-size: 0.95rem;
  transition: color 0.2s var(--ease), transform 0.2s var(--ease);
}

.catgrid__tile:hover .catgrid__arrow {
  color: var(--orange);
  transform: translateX(3px);
}

/* Icon color rotation for visual variety */
.catgrid__tile:nth-child(6n + 2) .catgrid__icon { background: #EAF2FE; color: #2563EB; }
.catgrid__tile:nth-child(6n + 3) .catgrid__icon { background: #E9F9F1; color: #0EA371; }
.catgrid__tile:nth-child(6n + 4) .catgrid__icon { background: #F3EDFE; color: #7C3AED; }
.catgrid__tile:nth-child(6n + 5) .catgrid__icon { background: #FEF3E7; color: #D97706; }
.catgrid__tile:nth-child(6n + 6) .catgrid__icon { background: #FDEBF0; color: #DB2777; }

@media (max-width: 991px) { .catgrid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 767px) { .catgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .catgrid { grid-template-columns: 1fr; } }

/* --- Trending products (products-first row) ------------------------------ */
.trending {
  background: var(--bg);
  padding: var(--space-12) 0;
}

/* --- Platforms compact strip --------------------------------------------- */
.platstrip {
  background: var(--bg);
  padding: var(--space-12) 0;
}

.platstrip__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2);
}

.platstrip__card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  text-decoration: none;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.platstrip__card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 123, 73, 0.4);
  box-shadow: var(--shadow-md);
}

.platstrip__icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: var(--orange-tint);
  color: var(--orange-dark);
  font-size: 1.5rem;
}

.platstrip__body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.platstrip__title {
  font-size: var(--text-base);
  font-weight: var(--font-semibold);
  color: var(--ink);
  line-height: 1.3;
}

.platstrip__desc {
  font-size: var(--text-xs);
  color: var(--ink-3);
  line-height: 1.4;
}

.platstrip__arrow {
  margin-left: auto;
  flex-shrink: 0;
  color: var(--ink-mute);
  transition: color 0.2s var(--ease), transform 0.2s var(--ease);
}

.platstrip__card:hover .platstrip__arrow {
  color: var(--orange);
  transform: translate(2px, -2px);
}

@media (max-width: 991px) { .platstrip__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .platstrip__grid { grid-template-columns: 1fr; } }

/* --- Job work by service ------------------------------------------------- */
.svcsec {
  background: var(--bg-soft);
  padding: var(--space-12) 0;
}

.svcgrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-2);
}

.svcgrid__tile {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.svcgrid__tile:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 123, 73, 0.4);
  box-shadow: var(--shadow-sm);
}

.svcgrid__icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--orange-tint);
  color: var(--orange-dark);
  font-size: 1rem;
}

.svcgrid__body {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.svcgrid__name {
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  color: var(--ink);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.svcgrid__count {
  font-size: var(--text-xs);
  color: var(--ink-3);
}

@media (max-width: 991px) { .svcgrid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 767px) { .svcgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .svcgrid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Landing v3 — image-rich directory (promo, RFQ, category tiles + blocks)
   ========================================================================== */

/* --- Promo banner -------------------------------------------------------- */
.promo {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  padding: var(--space-12) 0;
}

.promo__inner {
  max-width: 640px;
}

.promo__title {
  font-size: clamp(var(--text-3xl), 4.5vw, var(--text-5xl));
  font-weight: var(--font-bold);
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin: var(--space-2) 0 var(--space-3);
}

.promo__title span {
  color: var(--orange);
}

.promo__sub {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  margin: 0 0 var(--space-5);
}

.promo__cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

/* --- RFQ lead band ------------------------------------------------------- */
.rfq {
  background: var(--orange-tint);
  padding: var(--space-8) 0;
}

.rfq__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.rfq__title {
  font-size: var(--text-2xl);
  font-weight: var(--font-medium);
  color: var(--ink);
  margin: 0 0 4px;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.rfq__sub {
  font-size: var(--text-sm);
  color: var(--ink-3);
  margin: 0;
}

.rfq__steps {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.rfq-step {
  display: flex;
  align-items: center;
  gap: 10px;
}

.rfq-step__icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff;
  color: var(--orange-dark);
  font-size: 1.1rem;
  box-shadow: var(--shadow-sm);
}

.rfq-step__text {
  font-size: var(--text-sm);
  color: var(--ink-2);
  white-space: nowrap;
}

.rfq-step__text strong {
  color: var(--ink);
}

.rfq__arrow {
  color: var(--orange);
}

.rfq__btn {
  flex-shrink: 0;
}

@media (max-width: 991px) {
  .rfq__steps { display: none; }
}

/* --- Shop by category (photo tiles) -------------------------------------- */
.catshop {
  background: var(--bg);
  padding: var(--space-12) 0 var(--space-8);
}

.catshop__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--space-2);
}

.catshop__tile {
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.catshop__tile:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 123, 73, 0.4);
  box-shadow: var(--shadow-md);
}

.catshop__img {
  display: block;
  aspect-ratio: 4 / 3;
  background: var(--bg-muted);
  overflow: hidden;
}

.catshop__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
}

.catshop__tile:hover .catshop__img img {
  transform: scale(1.05);
}

.catshop__meta {
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.catshop__name {
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  color: var(--ink);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.catshop__count {
  font-size: var(--text-xs);
  font-weight: var(--font-medium);
  color: var(--orange-dark);
}

@media (max-width: 1199px) { .catshop__grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 767px)  { .catshop__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 479px)  { .catshop__grid { grid-template-columns: repeat(2, 1fr); } }

/* --- Category blocks (category + its products) --------------------------- */
.catblock {
  background: var(--bg);
  padding: var(--space-10) 0;
}

.catblock--alt {
  background: var(--bg-soft);
}

.catblock__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
}

.catblock__headtext {
  display: flex;
  align-items: baseline;
  gap: var(--space-2);
  flex-wrap: wrap;
  min-width: 0;
}

.catblock__title {
  font-size: var(--text-2xl);
  font-weight: var(--font-medium);
  color: var(--ink);
  margin: 0;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.catblock__count {
  font-size: var(--text-sm);
  color: var(--ink-3);
  white-space: nowrap;
}

.catblock__viewall {
  flex-shrink: 0;
}

.catblock__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-2);
}

/* Reuse .procard, but lay out as grid cells (not slider items) */
.catblock__grid .procard,
.vertstrip__grid .procard {
  flex: initial;
  width: auto;
}

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

/* --- Interstitial CTA ---------------------------------------------------- */
.interstitial {
  background: var(--bg);
  padding: var(--space-6) 0;
}

.interstitial__card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
  padding: var(--space-5) var(--space-6);
  border-radius: var(--radius-xl);
  background: linear-gradient(120deg, var(--orange) 0%, var(--orange-dark) 100%);
  color: #fff;
}

.interstitial__title {
  font-size: var(--text-2xl);
  font-weight: var(--font-bold);
  color: #fff;
  margin: 0 0 4px;
}

.interstitial__sub {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  max-width: 560px;
}

.interstitial__btns {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

/* --- Explore more verticals ---------------------------------------------- */
.vertstrip {
  /* background: var(--bg-soft); */
  padding: var(--space-12) 0;
}

.vertstrip__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-2);
}

.vertcard {
  position: relative;
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.vertcard:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 123, 73, 0.4);
  box-shadow: var(--shadow-md);
}

.vertcard__img {
  display: block;
  aspect-ratio: 4 / 3;
  background: var(--bg-muted);
  overflow: hidden;
}

.vertcard__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
}

.vertcard:hover .vertcard__img img {
  transform: scale(1.05);
}

.vertcard__meta {
  display: block;
  padding: 12px 14px 14px;
}

.vertcard__name {
  display: block;
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  color: var(--ink);
  line-height: 1.3;
}

.vertcard__desc {
  display: block;
  font-size: var(--text-xs);
  color: var(--ink-3);
  margin-top: 2px;
}

.vertcard__arrow {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--orange-dark);
  box-shadow: var(--shadow-sm);
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.vertcard:hover .vertcard__arrow {
  background: var(--orange);
  color: #fff;
}

@media (max-width: 991px) { .vertstrip__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 575px) { .vertstrip__grid { grid-template-columns: repeat(2, 1fr); } }

/* --- Trust bar ----------------------------------------------------------- */
.trustbar {
  background: var(--bg);
  padding: var(--space-6) 0;
  border-top: 1px solid var(--line);
}

.trustbar__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-4);
  list-style: none;
  margin: 0;
  padding: 0;
}

.trustbar__list li {
  display: flex;
  align-items: center;
  gap: 12px;
}

.trustbar__list i {
  font-size: 1.5rem;
  color: var(--orange);
}

.trustbar__list strong {
  display: block;
  font-size: var(--text-sm);
  color: var(--ink);
}

.trustbar__list span {
  font-size: var(--text-xs);
  color: var(--ink-3);
}

/* --- Uniform section rhythm + wider desktop container -------------------- */
/* Equal top/bottom padding on every landing section so the gaps between
   sections are consistent. Placed last so it overrides earlier per-section
   padding without touching horizontal padding. */
.promo,
.rfq,
.catshop,
.catblock,
.interstitial,
.vertstrip,
.stats26,
.trustbar,
.cta26 {
  padding-top: var(--space-8);
  padding-bottom: var(--space-8);
}

@media (min-width: 1200px) {
  .container {
    max-width: 1360px;
  }
}

/* ==========================================================================
   Job-work pages — aligned with the marketplace list styling
   ========================================================================== */
.mkt-jobwork {
  background: var(--bg);
  padding: var(--space-8) 0;
}

/* Neutralise legacy wrappers that add blue tints / heavy spacing */
.mkt-jobwork .blue-box,
.mkt-jobwork .internal-wrapper,
.mkt-jobwork .automolie-wrapper,
.mkt-jobwork .profile-wrapper,
.mkt-jobwork .company-lisiting-details,
.mkt-jobwork .inquirybox {
  background: transparent;
}
.mkt-jobwork .internal-wrapper,
.mkt-jobwork .automolie-wrapper {
  padding: 0;
  margin: 0;
}

.mkt-jobwork__lead {
  font-size: var(--text-base);
  color: var(--ink-3);
  line-height: 1.6;
  margin: 0 auto var(--space-5);
  max-width: 820px;
}

/* Filter bar (state / city / search) */
.mkt-jobwork__filterbar {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-3);
  margin-bottom: var(--space-6);
}

.mkt-jobwork__filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);
  margin: 0;
}

.mkt-jobwork__field {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1 1 220px;
  min-width: 170px;
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  padding-left: 14px;
}

.mkt-jobwork__field > i {
  color: var(--ink-mute);
  flex-shrink: 0;
}

.mkt-jobwork__field .form-control,
.mkt-jobwork__field .custom-select {
  border: none;
  background-color: transparent;
  box-shadow: none;
  height: 46px;
  border-radius: var(--radius-pill);
}

.mkt-jobwork__field .form-control:focus {
  box-shadow: none;
}

.mkt-jobwork__filters .btn--primary {
  flex: 0 0 auto;
  height: 46px;
}

@media (max-width: 575px) {
  .mkt-jobwork__field { flex: 1 1 100%; }
  .mkt-jobwork__filters .btn--primary { width: 100%; }
}

/* Services list — clean category cards */
.mkt-jobwork__services .single-list-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 4px var(--space-3);
  margin-bottom: var(--space-3);
}

.mkt-jobwork__services .single-list-box ul { margin: 0; }

.mkt-jobwork__services .single-list-box li {
  border-bottom: 1px solid var(--line);
}
.mkt-jobwork__services .single-list-box li:last-child { border-bottom: none; }

.mkt-jobwork__services .single-list-box a {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 2px;
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  color: var(--ink-2);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}
.mkt-jobwork__services .single-list-box a:hover { color: var(--orange-dark); }
.mkt-jobwork__services .single-list-box a .font-weight-bold { color: var(--orange-dark); }

/* Company directory cards */
.mkt-jobwork .whitecard {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-3);
  height: 100%;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.mkt-jobwork .whitecard:hover {
  background: #fff;
  color: var(--ink-2);
  border-color: rgba(255, 123, 73, 0.4);
  box-shadow: var(--shadow-md);
}
/* Neutralise the legacy blue-on-blue hover that hid the card text */
.mkt-jobwork .whitecard:hover .list-li li,
.mkt-jobwork .whitecard:hover .list-li li a,
.mkt-jobwork .whitecard:hover .textblue {
  color: var(--ink-2);
}
.mkt-jobwork .whitecard:hover .textblue { color: var(--secondary) !important; }
.mkt-jobwork .whitecard:hover .list-li li span .fa,
.mkt-jobwork .whitecard:hover .list-li li span i { color: var(--orange); }

/* Square-radius buttons to match the inner item pages */
.mkt-jobwork .btn,
.mkt-jobwork .btn--primary,
.mkt-jobwork .btn--ghost {
  border-radius: var(--radius-md);
}
.mkt-jobwork .whitecard .media {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  flex-wrap: wrap;
}
.mkt-jobwork .whitecard .automoblieimg-text {
  flex: 0 0 150px;
  max-width: 150px;
}
.mkt-jobwork .whitecard .automoblieimg-text img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--bg-muted);
}
.mkt-jobwork .whitecard .media-body { flex: 1 1 220px; min-width: 0; }
.mkt-jobwork .whitecard .list-li { list-style: none; margin: 0; padding: 0; }
.mkt-jobwork .whitecard .list-li li {
  font-size: var(--text-sm);
  color: var(--ink-2);
  line-height: 1.5;
  padding: 3px 0;
  word-break: break-word;
}
.mkt-jobwork .whitecard .list-li li span i { color: var(--orange); margin-right: 4px; }
.mkt-jobcard__btn { width: 100%; margin-top: var(--space-2); }

@media (max-width: 575px) {
  .mkt-jobwork .whitecard .automoblieimg-text { flex: 1 1 100%; max-width: 100%; }
}

/* Company details — single clean card, no lavender rows */
.mkt-jobwork--details .company-lisiting-details .inquirybox {
  background: transparent;
  box-shadow: none;
  padding: 0;
  border-radius: 0;
}
.mkt-jobwork--details .automoblie-boxarea {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  box-shadow: var(--shadow-sm);
}
.mkt-jobwork--details .brdr-logo img {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  min-height: 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--bg-muted);
}
.mkt-jobwork--details .list-li { list-style: none; margin: 0 0 var(--space-2); padding: 0; }
.mkt-jobwork--details .company-lisiting-details .list-li li,
.mkt-jobwork--details .company-lisiting-details .list-li li:nth-child(2n) {
  background: transparent;
  margin-bottom: 0;
  padding: 5px 0;
  font-size: var(--text-sm);
  color: var(--ink-2);
  line-height: 1.6;
}
.mkt-jobwork--details .list-li li span i { color: var(--orange); margin-right: 4px; }

.mkt-jobwork-expertise {
  background: var(--bg-soft);
  padding: var(--space-8) 0;
  margin-top: var(--space-6);
}
.mkt-jobwork-expertise .section-title {
  font-size: var(--text-2xl);
  font-weight: var(--font-medium);
  color: var(--ink);
  margin-bottom: var(--space-4);
  line-height: 1.3;
}

/* ==========================================================================
   Job-work — company listing & details (clean redesign)
   ========================================================================== */

/* ---- Listing ---- */
.mkt-co-listing {
  background: var(--bg);
  padding: var(--space-8) 0;
}

.mkt-co-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}

.mkt-co-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-3);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}

.mkt-co-card:hover {
  border-color: rgba(255, 123, 73, 0.4);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.mkt-co-card__top {
  display: flex;
  gap: var(--space-2);
  align-items: center;
  margin-bottom: var(--space-3);
}

.mkt-co-card__logo {
  flex: 0 0 60px;
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-muted);
}

.mkt-co-card__logo img { width: 100%; height: 100%; object-fit: cover; }

.mkt-co-card__head { min-width: 0; }

.mkt-co-card__name {
  font-size: var(--text-base);
  font-weight: var(--font-semibold);
  color: var(--ink);
  margin: 0 0 3px;
  line-height: 1.3;
}

.mkt-co-card__person {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: var(--text-xs);
  color: var(--ink-3);
}
.mkt-co-card__person i { color: var(--orange); }

.mkt-co-card__meta {
  list-style: none;
  margin: 0 0 var(--space-3);
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.mkt-co-card__meta li {
  display: flex;
  gap: 9px;
  font-size: var(--text-sm);
  color: var(--ink-2);
  line-height: 1.45;
}

.mkt-co-card__meta li i {
  color: var(--orange);
  margin-top: 2px;
  flex-shrink: 0;
}

.mkt-co-card__meta a { color: var(--ink-2); text-decoration: none; word-break: break-word; }
.mkt-co-card__meta a:hover { color: var(--orange-dark); }

.mkt-co-card__btn { width: 100%; }

.mkt-co-pagination { margin-top: var(--space-5); }

.mkt-co-empty {
  text-align: center;
  padding: var(--space-10) var(--space-4);
  color: var(--ink-3);
}
.mkt-co-empty i { font-size: 2rem; color: var(--ink-mute); display: block; margin-bottom: var(--space-2); }
.mkt-co-empty p { font-size: var(--text-base); margin: 0; }

@media (max-width: 991px) {
  .mkt-co-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575px) {
  .mkt-co-grid { grid-template-columns: 1fr; }
}

/* ---- Details ---- */
.mkt-co-detail {
  background: var(--bg);
  padding: var(--space-8) 0;
}

.mkt-co-detail__card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  padding: var(--space-5);
}

.mkt-co-detail__head {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  flex-wrap: wrap;
  padding-bottom: var(--space-4);
  margin-bottom: var(--space-4);
  border-bottom: 1px solid var(--line);
}

.mkt-co-detail__logo {
  flex: 0 0 90px;
  width: 90px;
  height: 90px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-muted);
}
.mkt-co-detail__logo img { width: 100%; height: 100%; object-fit: cover; }

.mkt-co-detail__headmain { flex: 1 1 280px; min-width: 0; }

.mkt-co-detail__badge {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: var(--font-semibold);
  color: var(--orange-dark);
  background: var(--orange-tint);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.mkt-co-detail__name {
  font-size: clamp(var(--text-xl), 2.4vw, var(--text-3xl));
  font-weight: var(--font-bold);
  color: var(--ink);
  margin: 0 0 6px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.mkt-co-detail__loc {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-sm);
  color: var(--ink-3);
}
.mkt-co-detail__loc i { color: var(--orange); }

.mkt-co-detail__actions {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
  align-items: center;
  margin-left: auto;
}

.mkt-co-detail__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3) var(--space-5);
}

.mkt-co-detail__item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.mkt-co-detail__item--wide { grid-column: 1 / -1; }

.mkt-co-detail__ico {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--orange-tint);
  color: var(--orange-dark);
  font-size: 1rem;
}

.mkt-co-detail__item > div { display: flex; flex-direction: column; min-width: 0; }

.mkt-co-detail__label {
  font-size: var(--text-xs);
  color: var(--ink-mute);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 1px;
}

.mkt-co-detail__val {
  font-size: var(--text-sm);
  color: var(--ink-2);
  line-height: 1.5;
  word-break: break-word;
}
.mkt-co-detail__val a { color: var(--ink-2); text-decoration: none; }
.mkt-co-detail__val a:hover { color: var(--orange-dark); }

.mkt-co-detail__foot {
  margin-top: var(--space-4);
  padding-top: var(--space-4);
  border-top: 1px solid var(--line);
}

/* Square-radius buttons to match the inner item pages */
.mkt-co-detail .btn,
.mkt-co-listing .btn {
  border-radius: var(--radius-md);
}

/* Blocks (processes / about) */
.mkt-co-block { margin-top: var(--space-6); }

.mkt-co-block__title {
  font-size: var(--text-2xl);
  font-weight: var(--font-medium);
  color: var(--ink);
  margin: 0 0 var(--space-3);
  line-height: 1.3;
}

.mkt-co-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: var(--space-3);
}

.mkt-co-gallery__item {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.mkt-co-gallery__img { aspect-ratio: 4 / 3; background: var(--bg-muted); overflow: hidden; }
.mkt-co-gallery__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s var(--ease); }
.mkt-co-gallery__item:hover .mkt-co-gallery__img img { transform: scale(1.05); }

.mkt-co-gallery figcaption {
  padding: 10px 12px;
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  color: var(--ink);
  text-align: center;
}

.mkt-co-about {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
}

.mkt-co-about__video { flex: 1 1 320px; min-width: 0; }
.mkt-co-about__video .embed-responsive { border-radius: var(--radius-md); overflow: hidden; }
.mkt-co-about__text { flex: 1 1 320px; min-width: 0; font-size: var(--text-sm); color: var(--ink-2); line-height: 1.7; }

@media (max-width: 767px) {
  .mkt-co-detail__card { padding: var(--space-4); }
  .mkt-co-detail__actions { margin-left: 0; width: 100%; }
  .mkt-co-detail__actions .btn { flex: 1 1 auto; }
  .mkt-co-detail__grid { grid-template-columns: 1fr; }
}
