.vdb-restock [hidden], .vdb-restock[hidden] { display: none !important; }
.variations_form.vdb-restock-selected .single_variation,
.variations_form.vdb-restock-selected .woocommerce-variation-add-to-cart { display: none !important; }
.variations_form .kad_radio_variations label[data-vdb-unavailable] {
  background: #f7f8f6 !important;
  color: #536469 !important;
  border-color: #e0e5e1 !important;
  text-decoration: line-through;
  text-decoration-thickness: 1px;
  opacity: 1;
  white-space: nowrap;
  display: flex !important;
  align-items: center;
  justify-content: center;
}
.variations_form .kad_radio_variations label[data-vdb-unavailable]::after {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  margin-inline-start: 5px;
  vertical-align: -2px;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 8a6 6 0 0 0-12 0c0 7-3 7-3 9h18c0-2-3-2-3-9M10 21a2 2 0 0 0 4 0'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 8a6 6 0 0 0-12 0c0 7-3 7-3 9h18c0-2-3-2-3-9M10 21a2 2 0 0 0 4 0'/%3E%3C/svg%3E") center / contain no-repeat;
}
.variations_form .kad_radio_variations input:checked + label[data-vdb-unavailable] {
  background: #eef1ee !important;
  color: #334d54 !important;
  border-color: #536469 !important;
}
.vdb-restock-hint { margin: 5px 0 2px; color: #495c61; font-size: 12px; line-height: 1.35; }
.vdb-restock-status { margin: 8px 0; color: #495c61; font-size: 13px; line-height: 1.4; }
.vdb-restock .button { width: 100%; min-height: 48px; white-space: normal; }
.vdb-restock-dialog {
  box-sizing: border-box;
  width: min(460px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  padding: 20px;
  border: 1px solid #dce4df;
  background: #f4f6f4;
  color: #152b31;
  overscroll-behavior: contain;
}
.vdb-restock-dialog::backdrop { background: rgb(21 43 49 / 55%); }
.vdb-restock-dialog[open]:not(:modal) {
  position: static;
  width: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 14px;
}
.vdb-restock-dialog h2 { margin: 0 0 4px; font-size: 17px; line-height: 1.3; }
.vdb-restock-dialog .vdb-restock-variant { margin: 0 0 12px; color: #41575b; font-size: 13px; }
.vdb-restock .vdb-restock-form { margin: 0; }
.vdb-restock-form label { display: block; margin: 0 0 4px; font-size: 13px; line-height: 1.4; }
.vdb-restock-form input[type=email] { width: 100%; min-height: 44px; border: 1px solid #849598; background: #fff; }
.vdb-restock-form .vdb-restock-check { display: flex; gap: 8px; align-items: start; margin-top: 10px; cursor: pointer; }
.vdb-restock-check input { flex: none; margin-top: 2px; accent-color: #152b31; }
.vdb-restock-form .vdb-restock-consent-link { display: inline-block; margin: 0 0 8px 23px; font-size: 12px; text-decoration: underline; }
.vdb-restock-newsletter { margin: 0 0 8px 23px; font-size: 12px; line-height: 1.45; }
.vdb-restock-newsletter summary { cursor: pointer; text-decoration: underline; }
.vdb-restock-newsletter p { margin: 6px 0 0; }
.vdb-restock-form .button { margin-top: 8px; }
.vdb-restock-dialog .vdb-restock-close { background: none; color: inherit; margin-top: 8px; padding: 4px 0; text-decoration: underline; font-size: 13px; box-shadow: none; }
.vdb-restock-error { color: #8f342c; margin: 8px 0 0; font-size: 13px; }
.vdb-restock-success { margin: 12px 0 0; font-size: 14px; }
.vdb-restock :is(button, input, a, summary):focus-visible { outline: 2px solid #152b31; outline-offset: 3px; }
