/* Cotizaciones: preparación manual y explícita para compartir por WhatsApp. */

.quotation-share-disclosure {
  border: 1px solid var(--border);
  border-radius: .72rem;
  background: var(--surface-soft);
  overflow: hidden;
}

.quotation-share-disclosure summary {
  min-height: 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .8rem;
  padding: .75rem .85rem;
  cursor: pointer;
  list-style: none;
}

.quotation-share-disclosure summary::-webkit-details-marker {
  display: none;
}

.quotation-share-disclosure summary::after {
  content: "›";
  flex: 0 0 auto;
  color: var(--brand);
  font-size: 1.15rem;
  font-weight: 850;
  transform: rotate(90deg);
  transition: transform .18s ease;
}

.quotation-share-disclosure[open] summary::after {
  transform: rotate(-90deg);
}

.quotation-share-disclosure summary > span {
  min-width: 0;
  display: grid;
  gap: .14rem;
}

.quotation-share-disclosure summary strong {
  color: var(--text-primary);
  font-size: .82rem;
}

.quotation-share-disclosure summary small,
.quotation-share-note {
  color: var(--text-muted);
  font-size: .72rem;
  line-height: 1.42;
}

.quotation-share-content {
  display: grid;
  gap: .8rem;
  padding: 0 .85rem .85rem;
  border-top: 1px solid var(--border);
}

.quotation-share-steps {
  display: grid;
  gap: .55rem;
  margin: .8rem 0 0;
  padding: 0;
  list-style: none;
  counter-reset: quotation-share-step;
}

.quotation-share-steps li {
  position: relative;
  display: grid;
  gap: .08rem;
  padding-left: 2rem;
  counter-increment: quotation-share-step;
}

.quotation-share-steps li::before {
  content: counter(quotation-share-step);
  position: absolute;
  top: 0;
  left: 0;
  width: 1.45rem;
  height: 1.45rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-size: .7rem;
  font-weight: 850;
}

.quotation-share-steps strong {
  font-size: .76rem;
}

.quotation-share-steps span {
  color: var(--text-muted);
  font-size: .71rem;
  line-height: 1.38;
}

.quotation-whatsapp-action {
  width: 100%;
}

.quotation-share-note {
  display: block;
}

@media (max-width: 40rem) {
  .quotation-share-disclosure summary {
    min-height: 2.8rem;
    padding: .7rem .75rem;
  }

  .quotation-share-content {
    padding: 0 .75rem .75rem;
  }

  .quotation-share-disclosure summary small {
    white-space: normal;
  }
}
