.dd-adr-toggle {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 1rem auto;
  border: 0;
  background: transparent;
  color: var(--wp--preset--color--contrast);
  font-size: 18px;
  font-weight: 400;
  cursor: pointer;
  outline: none;
}

.dd-adr-toggle:focus,
.dd-adr-toggle:focus-visible {
  outline: none;
}

.dd-adr-toggle::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.dd-adr-toggle[aria-expanded="true"]::after {
  transform: rotate(-135deg);
}

.wp-block-buttons:has(.dd-adr-spots-remaining) {
  display: grid;
  grid-template-columns: max-content;
  justify-content: flex-end;
  justify-items: center;
  gap: 6px;
  text-align: center;
}

.dd-adr-spots-remaining {
  margin: 0;
  padding: 0;
  line-height: 1.2;
  font-size: 14px;
  font-weight: 500;
}

.dd-adr-button-full {
  pointer-events: none;
  opacity: 0.55;
  cursor: not-allowed;
}

.wp-block-button__link[data-post-type="product"] {
  min-width: 10em;
  text-align: center;
}
