/* ==========================================================
   Tony ScriptOps v2.1.7 — Processo de Compra Modernizado
   ========================================================== */

.purchase-process-v217 {
  width: min(1320px, calc(100% - 48px));
  margin: 48px auto 54px;
  padding: 34px 38px 38px;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 0%, rgba(37,99,235,.07), transparent 34%),
    linear-gradient(180deg,#fbfdff 0%,#f8fafc 100%);
  box-shadow: 0 12px 34px rgba(15,23,42,.045);
  position: relative;
  overflow: hidden;
}

.purchase-process-v217::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .22;
  background-image:
    linear-gradient(rgba(37,99,235,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37,99,235,.06) 1px, transparent 1px);
  background-size: 28px 28px;
}

.purchase-process-v217 > * {
  position: relative;
  z-index: 1;
}

.purchase-process-head-v217 {
  max-width: 760px;
  margin: 0 auto 26px;
  text-align: center;
}

.purchase-process-kicker-v217 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 30px;
  padding: 6px 12px;
  border: 1px solid #cfe0ff;
  border-radius: 999px;
  background: #eef5ff;
  color: #2468e8;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.purchase-process-kicker-v217::before {
  content: "";
  width: 8px;
  height: 8px;
  border: 2px solid #2468e8;
  border-radius: 50%;
  box-sizing: border-box;
}

.purchase-process-title-v217 {
  margin: 14px 0 8px;
  color: #101828;
  font-size: clamp(2rem,3vw,2.8rem);
  line-height: 1.05;
  letter-spacing: -.04em;
}

.purchase-process-subtitle-v217 {
  margin: 0 auto;
  max-width: 650px;
  color: #667085;
  font-size: 13px;
  line-height: 1.55;
}

.purchase-process-grid-v217 {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 18px;
  position: relative;
}

.purchase-process-card-v217 {
  min-height: 250px;
  padding: 18px;
  border: 1px solid #dfe7f1;
  border-radius: 18px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 8px 24px rgba(15,23,42,.045);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.purchase-process-card-v217:hover {
  transform: translateY(-4px);
  border-color: #bfd3fa;
  box-shadow: 0 15px 34px rgba(15,23,42,.08);
}

.purchase-process-step-v217 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.purchase-process-number-v217 {
  color: #2563eb;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
}

.purchase-process-state-v217 {
  padding: 4px 8px;
  border-radius: 999px;
  background: #f2f4f7;
  color: #667085;
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.purchase-process-visual-v217 {
  height: 92px;
  margin-bottom: 16px;
  border: 1px solid #e1e8f0;
  border-radius: 14px;
  background: #f8fafc;
  overflow: hidden;
  position: relative;
}

/* mini-ilustração 01: catálogo */
.v217-catalog-window {
  width: 100%;
  height: 100%;
  padding: 11px;
  display: grid;
  grid-template-rows: 14px 1fr;
  gap: 8px;
}
.v217-catalog-top {
  display: flex;
  align-items: center;
  gap: 5px;
}
.v217-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #cbd5e1;
}
.v217-catalog-body {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 8px;
}
.v217-sidebar {
  border-radius: 7px;
  background:
    linear-gradient(#dbeafe 0 0) 7px 8px/28px 6px no-repeat,
    linear-gradient(#e5e7eb 0 0) 7px 21px/24px 5px no-repeat,
    linear-gradient(#e5e7eb 0 0) 7px 33px/22px 5px no-repeat;
}
.v217-products-mini {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 6px;
}
.v217-product-mini {
  border: 1px solid #dbe3ec;
  border-radius: 7px;
  background:
    linear-gradient(#dbeafe 0 0) center 7px/70% 22px no-repeat,
    linear-gradient(#cbd5e1 0 0) 7px 35px/58% 4px no-repeat,
    linear-gradient(#2563eb 0 0) 7px 45px/45% 5px no-repeat,
    #fff;
}

/* mini-ilustração 02: fluxo PIX abstrato */
.v217-pix-flow {
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: 1fr 38px 1fr;
  align-items: center;
  padding: 12px 18px;
}
.v217-pix-block {
  height: 56px;
  border: 1px solid #dbe3ec;
  border-radius: 11px;
  background: #fff;
  position: relative;
}
.v217-pix-block.qr {
  background:
    linear-gradient(90deg,#1f2937 5px,transparent 5px) 9px 9px/12px 12px repeat,
    #fff;
}
.v217-pix-block.confirm {
  background:
    linear-gradient(#dcfce7 0 0) center 11px/32px 10px no-repeat,
    linear-gradient(#16a34a 0 0) center 29px/46px 7px no-repeat,
    linear-gradient(#d1fae5 0 0) center 43px/58px 5px no-repeat,
    #fff;
}
.v217-pix-arrow {
  height: 2px;
  background: #93b4f3;
  position: relative;
}
.v217-pix-arrow::after {
  content: "";
  position: absolute;
  right: -1px;
  top: -4px;
  width: 8px;
  height: 8px;
  border-right: 2px solid #2563eb;
  border-top: 2px solid #2563eb;
  transform: rotate(45deg);
}

/* mini-ilustração 03: status técnico */
.v217-status-panel {
  width: 100%;
  height: 100%;
  padding: 11px 12px;
  display: grid;
  gap: 6px;
}
.v217-status-head {
  height: 12px;
  width: 55%;
  border-radius: 4px;
  background: #dbeafe;
}
.v217-status-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  min-height: 18px;
  padding: 0 8px;
  border-radius: 7px;
  background: #fff;
  border: 1px solid #edf1f5;
}
.v217-status-label {
  height: 5px;
  width: 72%;
  border-radius: 4px;
  background: #cbd5e1;
}
.v217-status-ok {
  min-width: 56px;
  height: 14px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #dcfce7;
  color: #15803d;
  font-size: 7px;
  font-weight: 900;
  letter-spacing: .04em;
}

.purchase-process-card-v217 h3 {
  margin: 0 0 7px;
  color: #101828;
  font-size: 1.08rem;
  line-height: 1.25;
}

.purchase-process-card-v217 p {
  margin: 0;
  color: #667085;
  font-size: 11.5px;
  line-height: 1.5;
}

.purchase-process-foot-v217 {
  margin-top: 18px;
  display: flex;
  justify-content: center;
  gap: 8px 18px;
  flex-wrap: wrap;
  color: #667085;
  font-size: 10px;
  font-weight: 700;
}
.purchase-process-foot-v217 span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.purchase-process-foot-v217 span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
}

@media (max-width: 900px) {
  .purchase-process-v217 {
    width: calc(100% - 28px);
    padding: 28px 24px 30px;
  }
  .purchase-process-grid-v217 {
    grid-template-columns: 1fr;
  }
  .purchase-process-card-v217 {
    min-height: 0;
  }
}

@media (max-width: 620px) {
  .purchase-process-v217 {
    width: calc(100% - 20px);
    margin: 32px auto 38px;
    padding: 22px 15px 24px;
    border-radius: 18px;
  }
  .purchase-process-title-v217 {
    font-size: 1.8rem;
  }
}
