/* ==========================================================================
   Page: Wholesale Anbarbu Rice — 3-Column Card Grid
   ========================================================================== */

.sg-card-grid--3col {
  grid-template-columns: repeat(3, 1fr);
}

.sg-card-grid--3col .sg-card-item {
  align-items: center;
}

.sg-card-grid--3col .sg-card-item__text {
  text-align: center;
}

@media (max-width: 1024px) {
  .sg-card-grid--3col {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .sg-card-grid--3col {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Component: Sample List — Minimal with accent left border
   ========================================================================== */

.sg-sample-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
}

.sg-sample-list__item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-4);
  padding: 0 var(--sp-4);
  padding-right: 0;
  margin: 0;
}

.sg-sample-list__item i {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: var(--sp-2);
  background: var(--color-bg-section);
  font-size: 0.875rem;
  color: var(--color-content-primary);
  margin-top: 0;
}

.sg-sample-list__item div {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
}

.sg-sample-list__item strong {
  font-family: var(--font-body, "VM_SemiBold");
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--color-content-heading);
}

.sg-sample-list__item span {
  font-family: var(--font-body, "VM_Regular");
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.65;
  color: var(--color-text-muted);
}

/* ==========================================================================
   Component: Steps — Vertical Timeline
   ========================================================================== */

/* ── Timeline ── */
.sg-steps__timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  padding-right: 29px;
}

/* Vertical line */
.sg-steps__timeline::before {
  content: "";
  position: absolute;
  top: var(--sp-6);
  bottom: var(--sp-6);
  right: 1.125rem;
  width: 2px;
  background: var(--color-border-light);
}

/* ── Item ── */
.sg-steps__item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-5);
  padding: var(--sp-4) var(--sp-7) var(--sp-8);
  position: relative;
}

/* ── Marker (circle + number) ── */
.sg-steps__marker {
  position: absolute;
  right: calc(-1 * var(--sp-10) + 0.625rem);
  top: var(--sp-6);
  z-index: 1;
}

.sg-steps__number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--rounded-full);
  background: #ffffff;
  border: 2px solid var(--color-content-primary);
  color: var(--color-content-secondary);
  font-family: var(--font-body, "VM_Bold");
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1;
  transition:
    background var(--duration-300) var(--ease-smooth),
    color var(--duration-300) var(--ease-smooth),
    box-shadow var(--duration-300) var(--ease-smooth);
}

.sg-steps__item .sg-steps__number {
  box-shadow: 0 0 0 0.5rem rgba(68, 102, 64, 0.1);
}

/* ── Body ── */
.sg-steps__body {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  flex: 1;
  padding-top: var(--sp-1);
}

.sg-steps__title {
  font-family: var(--font-h4, "VM_SemiBold");
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--color-content-heading);
  margin: 0;
  padding: 0;
  letter-spacing: 0;
}

.sg-steps__text {
  font-family: var(--font-body, "VM_Regular");
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--color-text-muted);
  margin: 0;
  padding: 0;
}

/* ── Footer ── */
.sg-steps__footer {
  font-family: var(--font-body, "VM_Regular");
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--color-text-muted);
  margin: var(--sp-12) 0 var(--sp-2);
  padding: 0;
  text-align: center;
}

.sg-steps__footer a {
  color: var(--color-content-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--duration-200) var(--ease-smooth);
}

.sg-steps__footer a:hover {
  color: var(--color-secondary-dark);
}

.sg-features__cta {
  margin-top: var(--sp-7);
}

@media (max-width: 640px) {
  .sg-steps__item {
    padding: var(--sp-3) var(--sp-9) var(--sp-8);
  }

  .sg-steps__timeline {
    padding-right: 19px;
  }

  .sg-steps__marker {
    right: calc(-1 * var(--sp-8) + 0.625rem);
  }
}

/* ==========================================================================
   Component: Clients — Wholesale Cities
   ========================================================================== */

.sg-clients {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-6);
}

.sg-clients__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-8) var(--sp-10);
  background: #ffffff;
  border: 1px solid var(--color-border-light);
  border-radius: var(--sp-4);
  position: relative;
  transition:
    transform var(--duration-300) var(--ease-smooth),
    box-shadow var(--duration-300) var(--ease-smooth);
}

.sg-clients__item:hover {
  transform: translateY(-0.25rem);
  box-shadow: var(--shadow-lg);
}

/* Top accent */
.sg-clients__item::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: var(--sp-6);
  right: var(--sp-6);
  height: 2px;
  background: var(--color-content-primary);
}

.sg-clients__item:hover::after {
  opacity: 1;
  transform: scale(1);
}

.sg-clients__city {
  font-family: var(--font-h4, "VM_Bold");
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-content-heading);
}

.sg-clients__volume {
  font-family: var(--font-body, "VM_Regular");
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--color-content-secondary);
}

@media (max-width: 640px) {
  .sg-clients {
    gap: var(--sp-4);
  }

  .sg-clients__item {
    flex: 1 1 40%;
    padding: var(--sp-6);
  }
}

.sg-clients__cta .sg-features__cta-link {
  background: var(--color-content-primary);
}
