/* ==========================================================================
   E-ticaret — stok ve sipariş takibi
   of-guvenli.css ile aynı temel yapı (baş/grid/kart/ikon), mockup'lar bu
   sayfaya özel.
   ========================================================================== */

.etstok {
  background: var(--bg-tint);
  border-bottom: 1px solid var(--line-soft);
}

.etstok__head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
}

.etstok__eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--indigo);
}

.etstok__title {
  font-weight: 800;
  font-size: clamp(36px, 3.8vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 16px 0 12px;
}

.etstok__lede {
  font-size: 17px;
  line-height: 1.65;
  color: var(--muted);
  margin: 0;
  text-wrap: pretty;
}

.etstok__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 860px;
  margin: 0 auto;
}

.etstok__card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line-2);
  border-radius: var(--r-xl);
  padding: 28px 26px;
  overflow: hidden;
}

.etstok__icon {
  display: inline-flex;
  color: var(--indigo);
  margin-bottom: 18px;
}

.etstok__icon svg {
  width: 22px;
  height: 22px;
}

.etstok__card-title {
  font-weight: 700;
  font-size: 18px;
  color: var(--ink);
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}

.etstok__card-text {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
  text-wrap: pretty;
}

/* --- mockup'lar --------------------------------------------------------- */

.etstok__mock {
  margin-top: 24px;
  background: var(--bg-tint);
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  padding: 14px 16px;
}

/* kart 1: stok takibi (mini stok listesi + uyarı) */

.etstok__mock-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 0;
  border-bottom: 1px solid var(--line-2);
  font-size: 13px;
}

.etstok__mock-row:last-of-type {
  border-bottom: none;
}

.etstok__mock-row-name {
  font-weight: 600;
  color: var(--ink);
}

.etstok__mock-row-qty {
  color: var(--muted);
}

.etstok__mock-row-qty--low {
  color: #B0631A;
  font-weight: 700;
}

.etstok__mock-alert {
  margin-top: 10px;
  font-size: 12px;
  font-weight: 600;
  color: #B0631A;
  background: #FFF3E0;
  border-radius: var(--r-sm);
  padding: 8px 10px;
}

/* kart 2: sipariş durumu (mini sipariş listesi) */

.etstok__mock-orow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--line-2);
}

.etstok__mock-orow:last-child {
  border-bottom: none;
}

.etstok__mock-orow-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.etstok__mock-orow-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

.etstok__mock-orow-channel {
  font-size: 11px;
  color: var(--muted);
}

.etstok__mock-obadge {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: var(--r-pill);
}

.etstok__mock-obadge--new {
  background: var(--pink-tint);
  color: var(--indigo);
}

.etstok__mock-obadge--prep {
  background: #FFF3E0;
  color: #B0631A;
}

.etstok__mock-obadge--shipped {
  background: #E7F7EC;
  color: #1E6B37;
}

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