/* ==========================================================================
   2. FEATURES SECTION
   ========================================================================== */
.feature {
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 5px 15px;
  text-align: center;
  transition: .3s;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: var(--white);
} 

.feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, .08);
}

.icon-box {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 18px;
  margin-bottom: 18px;
}

.feature h6 {
  font-weight: 700;
  font-size: 14px;
  margin: 0;
  color: var(--text-dark);
}

/* Category Badge Colors */
.purple {
  background: var(--purple-soft);
  color: var(--purple);
}

.green {
  background: var(--green-soft);
  color: var(--green);
}

.orange {
  background: var(--orange-soft);
  color: var(--orange-accent);
}

.blue {
  background: var(--blue-soft);
  color: var(--blue-accent);
}

.teal {
  background: var(--teal-soft);
  color: var(--teal-accent);
}

/* Feature Item Group */
.feature-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.feature-item h6 {
  margin: 0;
  font-weight: 700;
  color: var(--text-dark);
}

.feature-item p {
  margin: 0;
  color: var(--text-muted);
  font-size: .95rem;
}

/* ==========================================================================
   3. BUTTONS & UI COMPONENTS
   ========================================================================== */
.btn-brand {
  background: var(--green);
  border-color: var(--green);
  color: var(--white);
  font-weight: 600;
  border-radius: 12px;
  padding: .75rem 1.1rem;
}

.btn-brand:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  color: var(--white);
}

.section-pad {
  padding: 70px 0;
  background: var(--section-bg);
}

.panel {
  background: var(--white);
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .06);
}

.section-heading {
  text-align: center;
  margin-bottom: 12px;
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--text-dark);
}

.section-heading .highlight {
  color: var(--green-highlight);
}

.section-subheading {
  text-align: center;
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto 40px;
  font-size: 1.05rem;
}

.live-badge {
  font-size: .72rem;
  padding: 4px 8px;
  border-radius: 8px;
  background: var(--green-soft);
  color: var(--green);
  border: 1px solid var(--border-light);
  font-weight: 700;
}

.auction-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.auction-subtext {
  color: var(--text-muted);
  margin-bottom: 22px;
}

/* ==========================================================================
   4. CARDS & SCROLL CONTAINERS
   ========================================================================== */
.scroll-wrapper {
  overflow-x: auto;
  scroll-behavior: smooth;
  -ms-overflow-style: none;
  scrollbar-width: none;
  cursor: grab;
  user-select: none;
}

.scroll-wrapper::-webkit-scrollbar {
  display: none;
}

.scroll-wrapper:active {
  cursor: grabbing;
}

.scroll-track {
  display: flex;
  gap: 16px;
  width: max-content;
  padding: 4px 0 12px;
}

.auction-scroll-card {
  width: 220px;
  flex-shrink: 0;
  border: 1px solid var(--border-light);
  border-radius: 18px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .04);
  background: var(--white);
  padding: 16px 14px;
  transition: transform .25s ease, box-shadow .25s ease;
}

.auction-scroll-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .10);
}

.auction-scroll-card .crop-thumb {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 12px;
  flex-shrink: 0;
}

.auction-scroll-card .crop-title {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 2px;
  color: var(--text-dark);
}

.auction-scroll-card .crop-price {
  color: var(--green-accent);
  font-weight: 800;
  font-size: 1.1rem;
}

.auction-scroll-card .crop-meta {
  color: var(--text-muted);
  font-size: .82rem;
}

.auction-scroll-card .countdown {
  font-weight: 700;
  color: var(--text-dark);
  font-size: .88rem;
  margin-top: 6px;
}

/* Crop & Demand Cards */
.crop-card,
.demand-card {
  border: 1px solid var(--border-light);
  border-radius: 18px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .04);
  transition: transform .25s ease, box-shadow .25s ease;
  background: var(--white);
  overflow: hidden;
  width: 170px;
  flex-shrink: 0;
}

.crop-card:hover,
.demand-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, .08);
}

.crop-card .crop-image,
.demand-card .demand-image {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin: 0 auto 12px;
}

.crop-card .crop-name,
.demand-card .demand-name {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 4px;
  color: var(--text-dark);
}

.crop-card .crop-link,
.demand-card .details-link {
  color: var(--green);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .9rem;
}

.crop-card .crop-link:hover,
.demand-card .details-link:hover {
  color: var(--green-dark);
}

/* Slider Controls */
.auction-slider-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  box-shadow: 0 6px 16px rgba(0, 0, 0, .06);
  transition: .2s;
  flex-shrink: 0;
}

.auction-slider-btn:hover {
  background: var(--green-soft);
  color: var(--green-dark);
  border-color: var(--green);
}

.scroll-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-light);
  background: var(--white);
  color: var(--green);
  transition: .2s;
  flex-shrink: 0;
}

.scroll-btn:hover {
  background: var(--green-soft);
  border-color: var(--green);
}

/* ==========================================================================
   5. SPECIAL BADGES
   ========================================================================== */
.fmcas-consortium-badge {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

.fmcas-consortium-badge__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
}

.fmcas-consortium-badge__icon svg {
  width: 20px;
  height: 20px;
  fill: var(--green);
}

.fmcas-consortium-badge__text {
  display: flex;
  flex-direction: column;
  padding: 5px 0;
}

.fmcas-consortium-badge__line {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--green);
  text-transform: uppercase;
  line-height: 1.35;
  white-space: nowrap;
}

/* ==========================================================================
   6. RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 992px) {
  .auction-left-col {
    text-align: center;
    margin-bottom: 24px;
  }

  .auction-left-col .btn {
    margin-bottom: 8px;
  }

  .auction-scroll-card {
    width: 190px;
  }
}

@media (max-width: 576px) {
  .feature {
    padding: 18px 10px;
  }

  .feature h6 {
    font-size: 12px;
  }

  .icon-box {
    width: 55px;
    height: 55px;
    font-size: 20px;
  }

  .auction-scroll-card {
    width: 180px;
    padding: 12px 10px;
  }

  .auction-scroll-card .crop-thumb {
    width: 44px;
    height: 44px;
  }

  .auction-scroll-card .crop-title {
    font-size: .88rem;
  }

  .auction-scroll-card .crop-price {
    font-size: .95rem;
  }

  .crop-card .crop-image,
  .demand-card .demand-image {
    width: 60px;
    height: 60px;
  }

  .crop-card,
  .demand-card {
    width: 140px;
  }

  .auction-slider-btn {
    width: 38px;
    height: 38px;
    font-size: .85rem;
  }

  .scroll-btn {
    width: 36px;
    height: 36px;
    font-size: .8rem;
  }

  .panel {
    padding: 16px;
  }
}

@media (max-width: 480px) {
  .fmcas-consortium-badge__line {
    white-space: normal;
    font-size: 13px;
  }
}


    /* Main Outer Bar - Light Theme Matching Your Sample */
    .mandi-ticker-section {
        background: #fff9db; /* Soft light yellow matching screenshot */
        border: 1px solid #f2e29d;
        padding: 8px 16px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
        border-radius: 6px;
    }

    /* Single Row Flex Layout */
    .mandi-bar-row {
        display: flex;
        align-items: center;
        gap: 16px;
        width: 100%;
        overflow: hidden;
    }

    /* 1. Left Title */
    .mandi-title-left {
        flex-shrink: 0;
        padding-right: 16px;
        border-right: 1px solid #e0d08d;
    }

    .mandi-title-left h3 {
        color: #111111;
        font-weight: 700;
        font-size: 0.95rem;
        margin: 0;
        white-space: nowrap;
        display: flex;
        align-items: center;
    }

    .mandi-title-left h3 i {
        color: #d97706;
        margin-right: 8px;
    }

    /* 2. Middle Scrolling Area */
    .mandi-ticker-container {
        flex: 1;
        overflow: hidden;
        position: relative;
        display: flex;
        align-items: center;
    }

    /* Smooth Gradient Fade Left & Right */
    .mandi-ticker-container::before,
    .mandi-ticker-container::after {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        width: 30px;
        z-index: 2;
        pointer-events: none;
    }

    .mandi-ticker-container::before {
        left: 0;
        background: linear-gradient(to right, #fff9db, transparent);
    }

    .mandi-ticker-container::after {
        right: 0;
        background: linear-gradient(to left, #fff9db, transparent);
    }

    .mandi-track {
        display: flex;
        align-items: center;
        gap: 24px;
        padding: 2px 10px;
        animation: scrollMandi 1000s linear infinite;
        width: max-content;
    }

    .mandi-ticker-container:hover .mandi-track {
        animation-play-state: paused;
    }

    /* Ticker Light Items Structure */
    .mandi-item {
        display: flex;
        align-items: center;
        gap: 12px;
        padding-right: 24px;
        border-right: 1px solid #e0d08d;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .mandi-icon {
        width: 36px;
        height: 36px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 18px;
        background: #ffffff;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
        flex-shrink: 0;
    }

    .mandi-info {
        display: flex;
        flex-direction: column;
        line-height: 1.2;
    }

    .mandi-name {
        font-size: 13px;
        font-weight: 700;
        color: #1a1a1a;
    }

    .mandi-name .variety {
        font-weight: 500;
        font-size: 11px;
        color: #555555;
        margin-left: 4px;
    }

    .mandi-price-row {
        display: flex;
        align-items: baseline;
        gap: 6px;
        margin-top: 2px;
    }

    .mandi-price {
        font-size: 16px;
        font-weight: 800;
        color: #000000;
    }

    .mandi-price .unit {
        font-size: 11px;
        color: #555555;
        font-weight: 500;
    }

    .mandi-trend {
        font-size: 11px;
        font-weight: 700;
        color: #16a34a; /* Green trend */
        display: flex;
        align-items: center;
        gap: 2px;
        margin-left: 4px;
    }

    /* 3. Right Link & Date Style */
    .mandi-right-action {
        display: flex;
        align-items: center;
        gap: 16px;
        flex-shrink: 0;
        padding-left: 16px;
        border-left: 1px solid #e0d08d;
    }

    .view-all-link {
        color: #b45309;
        font-weight: 700;
        font-size: 13px;
        text-decoration: none;
        display: flex;
        align-items: center;
        gap: 4px;
        white-space: nowrap;
    }

    .view-all-link:hover {
        text-decoration: underline;
    }

    .mandi-date-right .mandi-date {
        color: #222222;
        font-size: 13px;
        font-weight: 600;
        white-space: nowrap;
        display: inline-flex;
        align-items: center;
        gap: 6px;
    }

    @keyframes scrollMandi {
        0% { transform: translateX(0); }
        100% { transform: translateX(-50%); }
    }

    /* Responsive */
    @media (max-width: 767px) {
        .mandi-right-action { display: none; }
        .mandi-title-left h3 { font-size: 0.85rem; }
    }