/* Checkout / seguimiento / transferencia */

.shop-fieldset {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  margin: 0.75rem 0 0.25rem;
}

.shop-fieldset legend {
  padding: 0 0.35rem;
  font-weight: 700;
  font-size: 0.92rem;
}

.shop-radio {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.35rem 0;
  font-weight: 600;
}

.shop-radio input { width: auto; }

.shop-envio-fields.is-hidden,
.shop-envio-fields[hidden] {
  display: none !important;
}

.shop-totals {
  display: grid;
  gap: 0.35rem;
  margin-top: 0.5rem;
}

.shop-totals p {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin: 0;
}

.shop-envio-hint { font-size: 0.85rem; }

.shop-track { max-width: 720px; }

.shop-track-status {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.75rem;
  margin: 1.25rem 0;
}

.shop-track-pill {
  padding: 0.85rem 1rem;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.shop-track-pill span {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.shop-track-pill strong {
  display: block;
  margin-top: 0.25rem;
  font-size: 1.05rem;
}

.shop-track-steps {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.shop-track-steps li {
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-sm);
  background: rgba(14, 20, 32, 0.05);
  color: var(--muted);
  font-weight: 600;
}

.shop-track-steps li.is-done {
  background: rgba(224, 122, 47, 0.14);
  color: var(--ink-strong);
}

.shop-track-steps li.is-cancel {
  background: var(--danger-soft);
  color: var(--danger);
}

.shop-track-cancel {
  color: var(--danger);
  font-weight: 700;
}

.shop-pay-box {
  margin: 1.25rem 0;
  padding: 1.15rem;
  border-radius: var(--radius);
  background: #142033;
  color: #f7f3ee;
}

.shop-pay-box h2 {
  margin: 0 0 0.4rem;
  color: #fff;
  font-size: 1.25rem;
}

.shop-pay-box .muted { color: rgba(247, 243, 238, 0.72); }

.shop-pay-data {
  list-style: none;
  margin: 0.9rem 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.shop-pay-data li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.shop-pay-data span { color: rgba(247, 243, 238, 0.65); }

.shop-pay-note {
  margin: 0.5rem 0 0;
  color: rgba(247, 243, 238, 0.85);
}

.shop-pay-ok {
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--ok-soft);
  color: var(--ok);
  font-weight: 700;
}

.shop-track-summary {
  margin: 1.5rem 0;
}

.shop-consult-form {
  display: grid;
  gap: 1rem;
  margin-top: 1.25rem;
  max-width: 420px;
}

.shop-consult-form .field {
  display: grid;
  gap: 0.35rem;
}

.btn-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.85rem;
  padding: 0.7rem 1.1rem;
  border-radius: 999px;
  background: #1f9b57;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.btn-wa:hover {
  filter: brightness(1.06);
}

.shop-nav-wa {
  color: #1f9b57;
  font-weight: 700;
}

.shop-wa-float {
  position: fixed;
  right: 1rem;
  bottom: 1.1rem;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3.2rem;
  min-height: 3.2rem;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: #1f9b57;
  color: #fff;
  font-weight: 800;
  font-size: 0.92rem;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(12, 40, 24, 0.35);
  animation: shop-wa-in 0.45s ease both;
}

.shop-wa-float:hover {
  filter: brightness(1.06);
  transform: translateY(-2px);
}

@keyframes shop-wa-in {
  from { opacity: 0; transform: translateY(12px) scale(0.94); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 640px) {
  .shop-wa-float {
    right: 0.75rem;
    bottom: 0.85rem;
    padding: 0.75rem 0.95rem;
  }
}
