/* === ОСНОВНОЙ КОНТЕЙНЕР === */
.ship-pay {
  font-family: system-ui, -apple-system, Roboto, Arial, sans-serif;
  color: #0f172a;
  line-height: 1.55;
}
.ship-pay * {
  box-sizing: border-box;
}
.ship-pay .sp-wrap {
  max-width: 1200px;
  margin: auto;
  padding: 28px;
}

/* === HERO === */
.ship-pay .sp-hero {
  background: linear-gradient(135deg, #1e3a8a, #0b1020);
  color: #eef2ff;
  border-radius: 20px;
  padding: 36px;
}
.ship-pay .sp-hero h1 {
  font-size: 36px;
  margin: 0 0 10px;
}
.ship-pay .sp-hero p {
  margin: 0;
  color: #c7d2fe;
}
.ship-pay .sp-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.ship-pay .sp-badge {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #e5e7eb;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 14px;
}

/* === GRID === */
.ship-pay .grid {
  display: grid;
  gap: 18px;
}
.ship-pay .grid-2 {
  grid-template-columns: repeat(2, 1fr);
}
@media (max-width: 980px) {
  .ship-pay .grid-2 {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 720px) {
  .ship-pay .grid-2 {
    grid-template-columns: 1fr;
  }
}

/* === STEPS === */
.ship-pay .steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 28px;
}
.ship-pay .step {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 10px 25px rgba(2, 6, 23, 0.08);
  border: 1px solid rgba(2, 6, 23, 0.06);
  padding: 18px;
  transition: 0.2s;
}
.ship-pay .step:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(2, 6, 23, 0.1);
}
.ship-pay .step strong {
  display: block;
  margin-bottom: 4px;
}

/* === CARD === */
.ship-pay .card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(2, 6, 23, 0.08);
  border: 1px solid rgba(2, 6, 23, 0.06);
  padding: 22px;
}
.ship-pay .card h3 {
  margin: 0 0 8px;
  font-size: 20px;
}
.ship-pay .meta {
  color: #64748b;
  font-size: 14px;
}
.ship-pay .pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.ship-pay .pill {
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid rgba(2, 6, 23, 0.08);
  background: #fff;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
}
.ship-pay .note {
  background: #f8fafc;
  border-left: 3px solid #2563eb;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 14px;
}

/* === TABLE === */
.ship-pay .nt-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(2, 6, 23, 0.08);
  overflow: hidden;
}
.ship-pay .nt-table thead th {
  background: #0f172a;
  color: #fff;
  padding: 14px 16px;
  text-align: left;
  font-weight: 600;
}
.ship-pay .nt-table tbody td {
  padding: 14px 16px;
  border-top: 1px solid rgba(2, 6, 23, 0.06);
}
.ship-pay .nt-table tbody tr:nth-child(odd) {
  background: #fbfdff;
}
.ship-pay .nt-table tbody tr:hover {
  background: #f0f6ff;
}
@media (max-width: 760px) {
  .ship-pay .nt-table thead {
    display: none;
  }
  .ship-pay .nt-table,
  .ship-pay .nt-table tbody,
  .ship-pay .nt-table tr,
  .ship-pay .nt-table td {
    display: block;
    width: 100%;
  }
  .ship-pay .nt-table tr {
    margin-bottom: 12px;
    border: 1px solid rgba(2, 6, 23, 0.08);
    border-radius: 14px;
    background: #fff;
  }
  .ship-pay .nt-table td {
    border: none;
    border-top: 1px dashed rgba(2, 6, 23, 0.08);
  }
  .ship-pay .nt-table td:first-child {
    border-top: none;
  }
  .ship-pay .nt-table td:before {
    content: attr(data-label);
    display: block;
    font-weight: 600;
    color: #334155;
    margin-bottom: 4px;
  }
}

/* === MEDIA === */
.ship-pay .media {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.ship-pay .media .badge {
  min-width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 700;
  background: #0f172a;
  color: #fff;
}
@media (max-width: 560px) {
  .ship-pay .media {
    flex-direction: column;
  }
}

/* === ACCORDION === */
.ship-pay .acc {
  display: grid;
  gap: 12px;
}
.ship-pay .acc details {
  background: #fff;
  border-radius: 20px;
  border: 1px solid rgba(2, 6, 23, 0.08);
  box-shadow: 0 10px 25px rgba(2, 6, 23, 0.08);
  padding: 6px 12px;
}
.ship-pay .acc summary {
  cursor: pointer;
  list-style: none;
  padding: 14px 8px;
  font-weight: 600;
}
.ship-pay .acc summary::-webkit-details-marker {
  display: none;
}
.ship-pay .acc .acc-body {
  padding: 0 8px 14px;
}

/* === CTA === */
.ship-pay .cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
}
.ship-pay .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 10px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: 0.2s;
}
.ship-pay .btn {
  background: #2563eb;
  color: #fff;
}
.ship-pay .btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}
.ship-pay .btn.sec {
  background: #0f172a;
  color: #fff;
}
.ship-pay .btn.light {
  background: #fff;
  color: #0f172a;
  border: 1px solid rgba(2, 6, 23, 0.12);
}

/* === ВЫРАВНИВАНИЕ HERO ПО ЦЕНТРУ === */
.ship-pay .sp-hero {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* чтобы бейджи красиво центрировались и не ломались на мобильных */
.ship-pay .sp-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
  max-width: 100%;
}

.ship-pay .sp-badge {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #e5e7eb;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 14px;
  text-align: center;
  white-space: nowrap;
}

@media (max-width: 720px) {
  .ship-pay .sp-badge {
    white-space: normal;
    width: 100%;
    max-width: 360px;
  }
}

