.v22-product-availability {
  background: #f7faf3;
  border: 1px solid #dce7d2;
  border-radius: 16px;
  gap: 13px;
  padding: 15px;
  display: grid;
}

.v22-availability-heading {
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  display: flex;
}

.v22-availability-heading strong,
.v22-availability-heading small {
  display: block;
}

.v22-availability-heading strong {
  color: var(--green-dark);
  font-size: 12px;
}

.v22-availability-heading small,
.v22-product-availability > p {
  color: #6f796a;
  margin-top: 3px;
  font-size: 9px;
  line-height: 1.4;
}

.v22-manual-switch {
  color: #1f633a;
  cursor: pointer;
  background: #e8f7ed;
  border: 1px solid #b9dfc5;
  border-radius: 999px;
  flex: none;
  align-items: center;
  gap: 7px;
  padding: 8px 10px;
  font-size: 9px;
  font-weight: 900;
  display: flex;
}

.v22-manual-switch input[type='checkbox'] {
  accent-color: var(--green);
  width: 16px;
  height: 16px;
}

.v22-day-picker {
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
  display: grid;
}

.v22-day-picker label {
  cursor: pointer;
  position: relative;
}

.v22-day-picker input {
  opacity: 0;
  width: 1px;
  height: 1px;
  position: absolute;
}

.v22-day-picker span,
.v22-day-picker small {
  text-align: center;
  display: block;
}

.v22-day-picker span {
  color: #697269;
  background: #fff;
  border: 1px solid #d9e3d2;
  border-radius: 11px;
  padding: 9px 4px;
  font-size: 11px;
  font-weight: 900;
}

.v22-day-picker small {
  color: #7d847b;
  margin-top: 4px;
  font-size: 7px;
}

.v22-day-picker input:checked + span {
  color: #fff;
  background: var(--green);
  border-color: var(--green);
  box-shadow: 0 5px 12px #116a3829;
}

.v22-day-picker input:focus-visible + span {
  outline: 3px solid #ed1c2b42;
  outline-offset: 2px;
}

.v22-product-summary {
  color: #267444 !important;
  background: #e9f8ee;
  border-radius: 999px;
  width: fit-content;
  margin-top: 5px;
  padding: 4px 7px;
  font-size: 7px !important;
  font-weight: 900;
}

.v22-product-summary.is-scheduled {
  color: #805c17 !important;
  background: #fff5d7;
}

.v22-product-summary.is-inactive {
  color: #9b3731 !important;
  background: #ffebe8;
}

.admin-product-actions .v22-product-toggle {
  color: #fff;
  background: #b33e35;
  width: auto;
  min-width: 68px;
  padding-inline: 9px;
  font-size: 8px;
  font-weight: 900;
}

.admin-product-actions .v22-product-toggle.is-activate {
  background: var(--green);
}

@media (max-width: 560px) {
  .v22-availability-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .v22-manual-switch {
    justify-content: center;
  }

  .v22-day-picker {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
