/* ==========================================================================
   व्यापारNow (VyaparNow) B2B Marketplace - Professional Theme
   "प्रचार है तो व्यापार है"
   Color Palette Extracted Directly From Official Brand Logo & Favicon
   ========================================================================== */

:root {
  /* VyaparNow Brand Colors */
  --tm-primary: #005ce6;           /* Vivid Royal Blue / Cobalt ("व्यापार" & Runner body) */
  --tm-primary-dark: #003db8;      /* Deep Royal Blue for hover states */
  --tm-primary-hover: #004ecc;
  --tm-primary-light: #edf4ff;     /* Soft ice-blue background tint */
  --tm-primary-glow: #00a8ff;      /* Electric Cyan-Blue highlight glow */
  --tm-orange: #ff6f00;            /* Vivid Saffron Orange ("Now" & Diamond) */
  --tm-orange-hover: #e65500;      /* Deep Orange-Red hover (#fd3701 shade) */
  --tm-orange-light: #fff3ea;      /* Soft warm saffron tint */
  --tm-amber: #ffaa00;             /* Golden Amber highlight */
  --tm-navy: #0a1936;              /* Deep Navy ("प्रचार है तो व्यापार है") */
  --tm-navy-dark: #060e20;
  --tm-green: #059669;             /* Verified Green */
  --tm-green-light: #ecfdf5;
  --tm-gray-bg: #f8fafd;
  --tm-border: #e2e8f0;
  --tm-text: #0f172a;
  --tm-text-muted: #64748b;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
  color: var(--tm-text);
  background-color: #ffffff;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease-in-out;
}

/* ---------------- Top Utility Bar ---------------- */
.tm-top-bar {
  background-color: #f8fafd;
  border-bottom: 1px solid #edf2f7;
  font-size: 0.825rem;
  color: #4a5568;
  padding: 6px 0;
}
.tm-top-bar a {
  color: #4a5568;
}
.tm-top-bar a:hover {
  color: var(--tm-primary);
}

/* ---------------- Main Header ---------------- */
.tm-main-header {
  background: #ffffff;
  padding: 12px 0;
  border-bottom: 1px solid var(--tm-border);
}

/* Brand Logo Image */
.tm-brand-logo-img-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  padding: 2px 0;
}
.tm-main-logo-img {
  height:70px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.2s ease;
  filter: drop-shadow(0 2px 5px rgba(0, 92, 230, 0.08));
}
.tm-brand-logo-img-link:hover .tm-main-logo-img {
  transform: scale(1.02);
}

.tm-brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.tm-brand-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--tm-primary) 0%, #00a8ff 100%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.4rem;
  box-shadow: 0 4px 12px rgba(0, 92, 230, 0.28);
}
.tm-brand-title {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--tm-navy);
  letter-spacing: -0.5px;
  line-height: 1.1;
}
.tm-brand-title span {
  color: var(--tm-orange);
}
.tm-brand-tagline {
  font-size: 0.72rem;
  color: #64748b;
  font-weight: 600;
  display: block;
}

/* Search Box Container */
.tm-search-box-wrapper {
  display: flex;
  align-items: center;
  border: 2px solid var(--tm-primary);
  border-radius: 8px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 3px 10px rgba(0, 92, 230, 0.1);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.tm-search-box-wrapper:focus-within {
  border-color: var(--tm-primary-glow);
  box-shadow: 0 4px 16px rgba(0, 92, 230, 0.2);
}
.tm-search-type-select {
  border: none;
  background: #f8fafc;
  padding: 9px 14px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #334155;
  border-right: 1px solid var(--tm-border);
  outline: none;
  cursor: pointer;
}
.tm-search-input {
  border: none;
  padding: 10px 16px;
  font-size: 0.95rem;
  flex: 1;
  outline: none;
}
.tm-location-select {
  border: none;
  background: #ffffff;
  padding: 9px 12px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #475569;
  border-left: 1px solid var(--tm-border);
  outline: none;
  cursor: pointer;
  max-width: 140px;
}
.tm-btn-search {
  background: linear-gradient(135deg, var(--tm-primary) 0%, #004ecc 100%);
  color: #ffffff;
  border: none;
  padding: 10px 24px;
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}
.tm-btn-search:hover {
  background: linear-gradient(135deg, var(--tm-primary-dark) 0%, #0036a3 100%);
  color: #ffffff;
}

/* Supplier Login Button in Header */
.tm-btn-supplier-login {
  background-color: #ffffff;
  color: var(--tm-primary);
  border: 1.5px solid var(--tm-primary);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0 16px;
  height: 44px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  white-space: nowrap;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}
.tm-btn-supplier-login:hover {
  background: linear-gradient(135deg, var(--tm-primary) 0%, #004ecc 100%);
  color: #ffffff;
  border-color: var(--tm-primary);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 92, 230, 0.3);
}
.tm-btn-supplier-login i {
  font-size: 1.05rem;
}

/* Post Requirement CTA Button */
.tm-btn-post-req {
  background: linear-gradient(135deg, #ff7700 0%, #ff5500 100%);
  color: #ffffff;
  border: none;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0 18px;
  height: 44px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(255, 111, 0, 0.35);
  transition: all 0.2s;
}
.tm-btn-post-req:hover {
  background: linear-gradient(135deg, #e65500 0%, #d84500 100%);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(255, 111, 0, 0.45);
}

/* ---------------- Navigation Bar ---------------- */
.tm-navbar {
  background: #ffffff;
  border-bottom: 1px solid var(--tm-border);
  padding: 0;
}
.tm-all-categories-btn {
  background: linear-gradient(135deg, var(--tm-primary) 0%, #003db8 100%);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 12px 24px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.tm-all-categories-btn:hover {
  background: linear-gradient(135deg, #004ecc 0%, #002f8c 100%);
}
.tm-nav-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: #334155 !important;
  padding: 12px 14px !important;
  display: inline-block;
  position: relative;
}
.tm-nav-link:hover, .tm-nav-link.active {
  color: var(--tm-primary) !important;
}

/* ==========================================================================
   Split Mega Menu (Parent Categories on Left, Subcategories Grid on Right)
   & Mouse Hover Dropdowns (All Categories + Services)
   ========================================================================== */
.tm-mega-dropdown,
.tm-hover-dropdown {
  position: relative;
}
.tm-split-megamenu {
  width: 820px;
  max-width: calc(100vw - 30px);
  background: #ffffff;
  border-radius: 0 0 12px 12px !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.15), 0 4px 12px rgba(15, 23, 42, 0.05);
  padding: 0 !important;
  margin-top: 0 !important;
  overflow: hidden;
  z-index: 1055;
}

/* Services Dropdown Menu */
.tm-services-menu {
  min-width: 315px;
  border-radius: 12px !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14), 0 4px 10px rgba(15, 23, 42, 0.05) !important;
  margin-top: 0 !important;
  z-index: 1055;
}
.tm-services-menu .dropdown-item {
  font-size: 0.9rem;
  color: #1e293b;
  padding: 9px 18px;
  transition: background-color 0.15s ease, color 0.15s ease, padding-left 0.15s ease;
}
.tm-services-menu .dropdown-item:hover {
  background-color: #f1f5f9;
  color: var(--tm-primary, #005ce6);
}
.tm-services-menu .tm-service-drop-item:hover {
  padding-left: 22px;
}

/* Desktop Mouse Hover Activation for All Categories & Services */
@media (min-width: 992px) {
  .tm-mega-dropdown:hover > .tm-split-megamenu,
  .tm-hover-dropdown:hover > .dropdown-menu {
    display: block;
    top: 100%;
    left: 0;
    animation: tmHoverFadeIn 0.16s ease-out;
  }
  .tm-mega-dropdown > .tm-split-megamenu::before,
  .tm-hover-dropdown > .dropdown-menu::before {
    content: "";
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 10px;
    background: transparent;
  }
  .tm-services-dropdown:hover > .tm-nav-link {
    color: var(--tm-primary, #005ce6) !important;
  }
}
@keyframes tmHoverFadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.tm-megamenu-inner {
  display: flex;
  min-height: 440px;
  max-height: 490px;
}
.tm-megamenu-left-pane {
  width: 275px;
  flex-shrink: 0;
  background: #f8fafc;
  border-right: 1px solid #e2e8f0;
  overflow-y: auto;
  padding: 6px 0;
}
.tm-megamenu-parent-item {
  transition: all 0.15s ease;
}
.tm-megamenu-parent-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  color: #334155;
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: none;
  border-left: 3px solid transparent;
  transition: all 0.15s ease;
}
.tm-megamenu-parent-item:hover,
.tm-megamenu-parent-item.active {
  background-color: #ffffff;
}
.tm-megamenu-parent-item:hover .tm-megamenu-parent-link,
.tm-megamenu-parent-item.active .tm-megamenu-parent-link {
  color: var(--tm-primary, #005ce6);
  border-left-color: var(--tm-primary, #005ce6);
}
.tm-megamenu-parent-item:hover .tm-parent-arrow,
.tm-megamenu-parent-item.active .tm-parent-arrow {
  color: var(--tm-primary, #005ce6) !important;
  transform: translateX(2px);
}
.tm-parent-icon {
  color: var(--tm-primary, #005ce6);
  font-size: 0.95rem;
  width: 18px;
  text-align: center;
}
.tm-parent-name {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tm-parent-arrow {
  font-size: 0.72rem;
  color: #94a3b8;
  transition: transform 0.15s ease, color 0.15s ease;
}

.tm-megamenu-right-pane {
  flex: 1;
  background: #ffffff;
  padding: 22px 24px;
  overflow-y: auto;
}
.tm-subcat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.tm-subcat-pill {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 10px 14px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  color: #1e293b;
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.15s ease-in-out;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}
.tm-subcat-pill:hover {
  background-color: #f8fafc;
  border-color: var(--tm-primary, #005ce6);
  color: var(--tm-primary, #005ce6);
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0, 92, 230, 0.08);
}
.tm-subcat-title {
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Thin Custom Scrollbars for Mega Menu */
.tm-megamenu-left-pane::-webkit-scrollbar,
.tm-megamenu-right-pane::-webkit-scrollbar {
  width: 5px;
}
.tm-megamenu-left-pane::-webkit-scrollbar-thumb,
.tm-megamenu-right-pane::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
.tm-megamenu-left-pane::-webkit-scrollbar-thumb:hover,
.tm-megamenu-right-pane::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* ==========================================================================
   Mobile Navigation, Mobile Categories Strip & Offcanvas Drawer
   ========================================================================== */
.tm-mobile-category-bar {
  background: #ffffff;
  border-color: var(--tm-border) !important;
}
.tm-mobile-menu-toggle {
  background: #f8fafc;
  border-radius: 8px;
  line-height: 1;
  transition: all 0.2s ease;
}
.tm-mobile-menu-toggle:hover {
  background: #e2e8f0;
}
.tm-mobile-offcanvas {
  width: 320px;
  max-width: 85vw;
}
.tm-mobile-cat-accordion .accordion-button {
  font-size: 0.88rem;
}
.tm-mobile-cat-accordion .accordion-button:not(.collapsed) {
  background-color: #f0f7ff;
  color: var(--tm-primary, #005ce6);
  box-shadow: none;
}
.tm-mobile-cat-accordion .accordion-button:focus {
  box-shadow: none;
  border-color: rgba(0, 0, 0, 0.08);
}
.tm-mobile-subcat-link {
  display: flex;
  align-items: center;
  padding: 8px 12px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  color: #334155;
  font-size: 0.83rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.15s ease;
}
.tm-mobile-subcat-link:hover {
  background: #f8fafc;
  border-color: var(--tm-primary, #005ce6);
  color: var(--tm-primary, #005ce6);
  transform: translateX(2px);
}

@media (max-width: 991.98px) {
  .tm-split-megamenu {
    width: 95vw;
    left: 2.5vw !important;
  }
}

/* ---------------- Hero Section ---------------- */
.tm-hero-section {
  position: relative;
  background: linear-gradient(135deg, rgba(10, 25, 54, 0.95) 0%, rgba(0, 92, 230, 0.88) 100%),
              url('https://images.unsplash.com/photo-1578575437130-527eed3abbec?w=1600&auto=format&fit=crop&q=80') center/cover no-repeat;
  color: #ffffff;
  padding: 55px 0 35px 0;
  border-bottom: 1px solid #e2e8f0;
}
.tm-hero-title {
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 12px;
}
.tm-hero-title span {
  color: #ffaa00;
}
.tm-hero-subtitle {
  font-size: 1.15rem;
  color: #e2e8f0;
  margin-bottom: 28px;
  max-width: 780px;
}

.tm-hero-search-wrapper {
  background: #ffffff;
  padding: 6px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  display: flex;
  align-items: center;
}
.tm-hero-search-wrapper select,
.tm-hero-search-wrapper input {
  color: #1e293b;
}

.tm-hero-search-btn {
  background: linear-gradient(135deg, #ff7700 0%, #ff5500 100%);
  color: #ffffff;
  border: none;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 12px 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 14px rgba(255, 111, 0, 0.35);
}
.tm-hero-search-btn:hover {
  background: linear-gradient(135deg, #e65500 0%, #d84500 100%);
  box-shadow: 0 6px 18px rgba(255, 111, 0, 0.45);
}

.tm-popular-searches {
  margin-top: 14px;
  font-size: 0.85rem;
  color: #cbd5e1;
}
.tm-search-tag {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(4px);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 3px 12px;
  border-radius: 20px;
  margin-right: 6px;
  display: inline-block;
  margin-bottom: 6px;
  font-size: 0.8rem;
  transition: all 0.2s;
}
.tm-search-tag:hover {
  background: #ffffff;
  color: var(--tm-navy);
}

/* Hero CTA dual buttons */
.tm-hero-cta-btn-orange {
  background: linear-gradient(135deg, #ff7700 0%, #ff5500 100%);
  color: #ffffff;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  box-shadow: 0 4px 15px rgba(255, 111, 0, 0.35);
}
.tm-hero-cta-btn-orange:hover {
  background: linear-gradient(135deg, #e65500 0%, #d84500 100%);
  color: #ffffff;
}
.tm-hero-cta-btn-white {
  background: #ffffff;
  color: var(--tm-navy);
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.tm-hero-cta-btn-white:hover {
  background: #f1f5f9;
  color: var(--tm-primary);
}

/* Value Props Strip */
.tm-value-props-bar {
  background: rgba(8, 20, 48, 0.96);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 16px 0;
  margin-top: 35px;
}
.tm-value-prop-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;
}
.tm-value-prop-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: #38bdf8;
}

/* ---------------- Section Styling ---------------- */
.tm-section {
  padding: 45px 0;
}
.tm-section-gray {
  background-color: var(--tm-gray-bg);
}
.tm-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.tm-section-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--tm-navy);
  position: relative;
  margin: 0;
}
.tm-section-link {
  color: var(--tm-primary);
  font-weight: 700;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.tm-section-link:hover {
  color: var(--tm-orange);
}

/* ---------------- Popular Categories Cards ---------------- */
.tm-category-card {
  background: #ffffff;
  border: 1px solid var(--tm-border);
  border-radius: 10px;
  padding: 14px 10px;
  text-align: center;
  transition: all 0.25s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.tm-category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 102, 153, 0.12);
  border-color: var(--tm-primary);
}
.tm-category-img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 12px;
  background: #f8fafc;
  padding: 4px;
  border: 1px solid #edf2f7;
}
.tm-category-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0;
  line-height: 1.25;
}

/* ---------------- Product Card ---------------- */
.tm-product-card {
  background: #ffffff;
  border: 1px solid var(--tm-border);
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.25s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.tm-product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  border-color: #cbd5e1;
}
.tm-product-img-wrapper {
  height: 180px;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.tm-product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.tm-product-card:hover .tm-product-img {
  transform: scale(1.05);
}
.tm-product-body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.tm-product-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 6px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.tm-product-price {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--tm-primary);
  margin-bottom: 4px;
}
.tm-product-moq {
  font-size: 0.8rem;
  color: #64748b;
  margin-bottom: 12px;
}
.tm-product-footer {
  margin-top: auto;
  border-top: 1px solid #f1f5f9;
  padding-top: 10px;
  display: flex;
  gap: 8px;
}

/* ---------------- Supplier Card ---------------- */
.tm-supplier-card {
  background: #ffffff;
  border: 1px solid var(--tm-border);
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.25s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.tm-supplier-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}
.tm-supplier-banner {
  height: 110px;
  object-fit: cover;
  width: 100%;
}
.tm-supplier-body {
  padding: 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.tm-supplier-name {
  font-size: 1rem;
  font-weight: 800;
  color: var(--tm-navy);
  margin-bottom: 4px;
  line-height: 1.3;
}
.tm-supplier-location {
  font-size: 0.8rem;
  color: #64748b;
  margin-bottom: 6px;
}
.tm-badge-verified {
  background-color: var(--tm-green-light);
  color: var(--tm-green);
  font-weight: 700;
  font-size: 0.75rem;
  padding: 4px 8px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 10px;
}

/* ---------------- Dual Action Banners ---------------- */
.tm-dual-banner-left {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border: 1px solid #bfdbfe;
  border-radius: 12px;
  padding: 28px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.tm-dual-banner-right {
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  border: 1px solid #a7f3d0;
  border-radius: 12px;
  padding: 28px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ---------------- RFQ / Buy Requirements Cards ---------------- */
.tm-rfq-card {
  background: #ffffff;
  border: 1px solid var(--tm-border);
  border-radius: 10px;
  padding: 16px;
  transition: all 0.2s;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.tm-rfq-card:hover {
  border-color: var(--tm-primary);
  box-shadow: 0 6px 16px rgba(0,0,0,0.06);
}
.tm-rfq-img {
  width: 55px;
  height: 55px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
}

/* ---------------- Blog Cards ---------------- */
.tm-blog-card {
  background: #ffffff;
  border: 1px solid var(--tm-border);
  border-radius: 10px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
}
.tm-blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}
.tm-blog-img {
  height: 170px;
  object-fit: cover;
  width: 100%;
}
.tm-blog-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* ---------------- Footer ---------------- */
.tm-footer {
  background-color: var(--tm-navy);
  color: #cbd5e1;
  padding: 50px 0 20px 0;
  font-size: 0.875rem;
}
.tm-footer-title {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.tm-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.tm-footer-links li {
  margin-bottom: 8px;
}
.tm-footer-links a {
  color: #94a3b8;
}
.tm-footer-links a:hover {
  color: #ffffff;
  padding-left: 3px;
}
.tm-social-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  margin-right: 8px;
  transition: all 0.2s;
}
.tm-social-icon:hover {
  background: var(--tm-primary);
  color: #ffffff;
}

/* ---------------- Universal Modals & Helpers ---------------- */
.modal-header.bg-primary {
  background: linear-gradient(135deg, var(--tm-primary) 0%, #004ecc 100%) !important;
}
.badge-supplier-type {
  background-color: #f1f5f9;
  color: #475569;
  font-weight: 600;
  font-size: 0.725rem;
  padding: 3px 8px;
  border-radius: 4px;
}

/* ---------------- VyaparNow Bootstrap Theme Harmony ---------------- */
.btn-primary {
  background: linear-gradient(135deg, var(--tm-primary) 0%, #004ecc 100%) !important;
  border-color: var(--tm-primary) !important;
  box-shadow: 0 2px 6px rgba(0, 92, 230, 0.25);
}
.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
  background: linear-gradient(135deg, var(--tm-primary-dark) 0%, #0036a3 100%) !important;
  border-color: var(--tm-primary-dark) !important;
  box-shadow: 0 4px 12px rgba(0, 92, 230, 0.35);
}
.btn-outline-primary {
  color: var(--tm-primary) !important;
  border-color: var(--tm-primary) !important;
}
.btn-outline-primary:hover, .btn-outline-primary:focus, .btn-outline-primary:active {
  background: linear-gradient(135deg, var(--tm-primary) 0%, #004ecc 100%) !important;
  border-color: var(--tm-primary) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 10px rgba(0, 92, 230, 0.25);
}
.text-primary {
  color: var(--tm-primary) !important;
}
.bg-primary {
  background-color: var(--tm-primary) !important;
}
.border-primary {
  border-color: var(--tm-primary) !important;
}
.badge.bg-primary {
  background: linear-gradient(135deg, var(--tm-primary) 0%, #004ecc 100%) !important;
}
.nav-pills .nav-link.active {
  background: linear-gradient(135deg, var(--tm-primary) 0%, #004ecc 100%) !important;
}
.page-item.active .page-link {
  background-color: var(--tm-primary) !important;
  border-color: var(--tm-primary) !important;
}
.form-control:focus, .form-select:focus {
  border-color: var(--tm-primary) !important;
  box-shadow: 0 0 0 0.25rem rgba(0, 92, 230, 0.2) !important;
}
.tm-footer {
  border-top: 4px solid var(--tm-primary);
}
