/* ============================================
   BUTTONS & BRAND UTILITIES
   ============================================ */
.btn-brand {
  background: var(--primary-green);
  border-color: var(--primary-green);
  color: var(--white);
  font-weight: 600;
  border-radius: var(--radius-sm);
  padding: .75rem 1.1rem;
}

.btn-brand:hover {
  background: var(--primary-green-dark);
  border-color: var(--primary-green-dark);
  color: var(--white);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
  min-height: 47vh;
  display: flex;
  align-items: center;
  padding: 60px 0;
  background:
    linear-gradient(to right, rgba(255, 255, 255, .96) 0%, rgba(255, 255, 255, .88) 42%, rgba(255, 255, 255, .18) 70%),
    url('../../../assets/images/agribazaarherobanner.jpg') center/cover no-repeat;
}

.hero-tag {
  color: var(--primary-green-dark);
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: .95rem;
  margin-bottom: 1rem;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 1.25rem;
}

.hero-title .highlight {
  color: var(--green-highlight);
}

.hero-desc {
  max-width: 560px;
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-gray);
  margin-bottom: 2rem;
}

/* ============================================
   LAYOUT & FEATURES
   ============================================ */
.section-pad {
  padding: 70px 0;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--soft-green);
  color: var(--primary-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.feature-item h6 {
  margin: 0;
  font-weight: 700;
}

.feature-item p {
  margin: 0;
  color: var(--text-muted);
  font-size: .95rem;
}

.panel {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow-md);
}

.section-heading {
  text-align: center;
  margin-bottom: 12px;
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(2rem, 4vw, 2.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;
}

/* ============================================
   AUCTION & BADGES
   ============================================ */
.live-badge {
  font-size: .72rem;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  background: var(--soft-green);
  color: var(--primary-green);
  border: 1px solid var(--border-soft);
  font-weight: 700;
}

.auction-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  margin-bottom: 10px;
}

.auction-subtext {
  color: var(--text-muted);
  margin-bottom: 22px;
}

/* ============================================
   SCROLL WRAPPER & CARDS
   ============================================ */
.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: var(--radius-md);
  box-shadow: var(--shadow-sm);
  background: var(--white);
  padding: 16px 14px;
  transition: transform .25s ease, box-shadow .25s ease;
}

.auction-scroll-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.auction-scroll-card .crop-thumb {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.auction-scroll-card .crop-title {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 2px;
}

.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-card,
.demand-card {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  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: var(--shadow-md);
}

.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;
}

.crop-card .crop-link,
.demand-card .details-link {
  color: var(--primary-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(--primary-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(--primary-green);
  box-shadow: var(--shadow-sm);
  transition: .2s;
  flex-shrink: 0;
}

.auction-slider-btn:hover {
  background: var(--soft-green);
  color: var(--primary-green-dark);
  border-color: var(--primary-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(--primary-green);
  transition: .2s;
  flex-shrink: 0;
}

.scroll-btn:hover {
  background: var(--soft-green);
  border-color: var(--primary-green);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@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) {
  .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;
  }
}