#quarto-document-content.content {
  width: min(var(--ash-content), calc(100vw - 2.5rem));
  max-width: none;
  padding-inline: 0;
}

#ash-order-flow {
  margin-top: 2rem;
}

#ash-order-flow[hidden],
#ash-order-flow [hidden] {
  display: none !important;
}

#ash-order-flow .ash-order-panel {
  border: 1px solid rgba(202, 165, 75, 0.45);
  border-radius: 0.75rem;
  background: #fff;
  padding: clamp(1rem, 3vw, 2rem);
}

#ash-order-flow .ash-order-lead {
  font-size: 1.05rem;
}

#ash-order-flow .ash-order-form {
  display: grid;
  gap: 1rem;
}

#ash-order-flow .ash-order-field {
  min-width: 0;
}

#ash-order-flow label,
#ash-order-flow legend {
  display: block;
  color: #0d2138;
  font-weight: 650;
  margin-bottom: 0.35rem;
}

#ash-order-flow input[type="text"],
#ash-order-flow input[type="number"],
#ash-order-flow input[type="time"] {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 2.9rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid #687585;
  border-radius: 0.35rem;
  background: #fff;
  color: #0d2138;
}

#ash-order-flow input:focus,
#ash-order-flow select:focus,
#ash-order-flow [tabindex="-1"]:focus {
  outline: 3px solid rgba(202, 165, 75, 0.42);
  outline-offset: 2px;
}

#ash-order-flow select {
  box-sizing: border-box;
  width: 100%;
  min-height: 2.9rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid #687585;
  border-radius: 0.35rem;
  background: #fff;
  color: #0d2138;
}

#ash-order-flow .ash-order-date {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.35fr);
  gap: 0.65rem;
}

#ash-order-flow fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

#ash-order-flow .ash-order-time-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}

#ash-order-flow .ash-order-choice {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
  min-height: 3.25rem;
  margin: 0;
  padding: 0.65rem;
  border: 1px solid #c8ced5;
  border-radius: 0.5rem;
  cursor: pointer;
}

#ash-order-flow .ash-order-choice:has(input:checked) {
  border-color: #b78b25;
  background: #fff9e9;
  box-shadow: 0 0 0 2px rgba(202, 165, 75, 0.2);
}

#ash-order-flow .ash-order-choice input {
  flex: 0 0 auto;
  width: 1.15rem;
  height: 1.15rem;
  margin: 0;
}

#ash-order-flow .ash-order-time-detail {
  padding: 0.85rem;
  border-radius: 0.5rem;
  background: #f5f6f7;
}

#ash-order-flow .ash-order-error {
  color: #a3261a;
  font-size: 0.92rem;
  margin: 0.35rem 0 0;
}

#ash-order-flow [aria-invalid="true"] {
  border-color: #b42318 !important;
  box-shadow: 0 0 0 2px rgba(180, 35, 24, 0.16);
}

#ash-order-flow .ash-order-suggestions {
  max-height: 14rem;
  overflow-y: auto;
  margin: 0;
  padding: 0;
  border: 1px solid #b78b25;
  border-top: 0;
  background: #fff;
  list-style: none;
}

#ash-order-flow .ash-order-suggestions li {
  padding: 0.7rem;
  cursor: pointer;
}

#ash-order-flow .ash-order-suggestions li[aria-selected="true"],
#ash-order-flow .ash-order-suggestions li:hover {
  background: #fff9e9;
}

#ash-order-flow .ash-order-attention {
  animation: ash-order-attention 0.75s ease-in-out 3;
}

#ash-order-flow .ash-order-help {
  margin-top: 0.35rem;
  color: #624a16;
  font-size: 0.9rem;
}

#ash-order-flow .ash-order-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

#ash-order-flow .ash-order-summary {
  margin: 1rem 0;
  padding-left: 1.25rem;
}

#ash-order-flow .ash-order-review {
  display: grid;
  gap: 0.25rem;
  margin: 1rem 0 1.25rem;
  padding: 1rem;
  border-left: 4px solid #b78b25;
  background: #fff9e9;
}

#ash-order-flow .ash-order-review p {
  margin: 0.35rem 0;
}

#ash-order-flow .ash-order-legal label {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin: 1rem 0;
  font-weight: 400;
  cursor: pointer;
}

#ash-order-flow .ash-order-legal input {
  flex: 0 0 auto;
  width: 1.2rem;
  height: 1.2rem;
  margin-top: 0.15rem;
}

#ash-order-flow .ash-order-status {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 3rem;
}

#ash-order-flow .ash-order-spinner {
  width: 1.35rem;
  height: 1.35rem;
  border: 3px solid rgba(13, 33, 56, 0.18);
  border-top-color: #b78b25;
  border-radius: 50%;
  animation: ash-order-spin 0.8s linear infinite;
}

.ash-product-choice[aria-pressed="true"] {
  outline: 3px solid rgba(183, 139, 37, 0.38);
  outline-offset: 3px;
}

@keyframes ash-order-spin {
  to { transform: rotate(360deg); }
}

@keyframes ash-order-attention {
  0%, 100% { box-shadow: 0 0 0 1px rgba(183, 139, 37, 0.25); }
  50% { box-shadow: 0 0 0 6px rgba(230, 182, 90, 0.45); }
}

@media (max-width: 600px) {
  .hero {
    padding-block: 1.8rem;
  }

  .hero h1 {
    font-size: clamp(2rem, 10vw, 2.65rem);
  }

  .ash-cards > .ash-card {
    padding: 1.05rem;
  }

  #ash-order-flow .ash-order-date {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.4rem;
  }

  #ash-order-flow .ash-order-time-options {
    grid-template-columns: 1fr;
  }

  #ash-order-flow .ash-order-actions,
  #ash-order-flow .ash-order-actions .ash-btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  #ash-order-flow .ash-order-spinner,
  #ash-order-flow .ash-order-attention {
    animation: none;
  }
}
.ash-product-choice:disabled {
  opacity: .55;
  cursor: not-allowed;
}
