.newt-single-product-page .newt-variation-control__option.is-sold-out {
  display: inline-grid;
  gap: 2px;
  color: #7b8a9a !important;
  border-color: #d8e1e5 !important;
  background: #f3f6f7 !important;
  box-shadow: none !important;
  cursor: not-allowed;
  opacity: 0.82;
}

.newt-single-product-page .newt-stock-ui__sold-out {
  color: #9b5962;
  font-size: 10px;
  font-weight: 750;
  line-height: 1.1;
  letter-spacing: 0.02em;
}

.newt-single-product-page .newt-stock-ui__fallback {
  width: 100%;
  margin-top: 18px;
}

.newt-single-product-page .newt-stock-ui__fallback-label {
  margin-bottom: 9px;
  color: var(--newt-navy);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.newt-single-product-page .newt-stock-ui__fallback-options {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.newt-single-product-page .newt-stock-ui__fallback .newt-variation-control__option {
  min-width: 88px;
  min-height: 48px;
  padding: 8px 14px;
  border: 1px solid #d8e1e5;
  border-radius: 12px;
  font: inherit;
}

.newt-single-product-page .newt-stock-ui--all-out .woocommerce-variation-add-to-cart,
.newt-single-product-page .newt-stock-ui--all-out .quantity,
.newt-single-product-page .newt-stock-ui--all-out .single_add_to_cart_button,
.newt-single-product-page .newt-stock-ui--all-out .woocommerce-variation.single_variation {
  display: none !important;
}

.newt-single-product-page .newt-stock-ui__notify {
  display: flex;
  width: 100%;
  min-height: 54px;
  margin-top: 8px;
  padding: 0 24px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--newt-teal);
  border-radius: 999px;
  color: #fff !important;
  background: linear-gradient(135deg, var(--newt-teal), var(--newt-navy));
  box-shadow: 0 12px 28px rgba(7, 55, 93, 0.18);
  font-size: 16px;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
}

.newt-single-product-page .newt-stock-ui__notify:hover,
.newt-single-product-page .newt-stock-ui__notify:focus-visible {
  color: #fff !important;
  transform: translateY(-1px);
}

.newt-single-product-page .newt-stock-ui__notify:disabled {
  cursor: default;
  opacity: 0.88;
  transform: none;
}

.newt-stock-alert-open {
  overflow: hidden;
}

.newt-stock-alert-modal[hidden] {
  display: none !important;
}

.newt-stock-alert-modal {
  position: fixed;
  z-index: 100000;
  inset: 0;
  display: grid;
  padding: 20px;
  place-items: center;
}

.newt-stock-alert-modal__backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(4, 31, 55, 0.52);
  backdrop-filter: blur(3px);
}

.newt-stock-alert-modal__panel {
  position: relative;
  box-sizing: border-box;
  width: min(100%, 480px);
  padding: 34px;
  border: 1px solid #d7e5e9;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(4, 31, 55, 0.24);
  color: #082f54;
}

.newt-stock-alert-modal__close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #f0f5f6;
  color: #526b7d;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.newt-stock-alert-modal__kicker {
  display: block;
  margin-bottom: 8px;
  color: #078f8c;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.newt-stock-alert-modal h2 {
  margin: 0 38px 12px 0;
  color: #082f54;
  font-size: 28px;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.newt-stock-alert-modal p {
  margin: 0 0 22px;
  color: #60758e;
  font-size: 14px;
  line-height: 1.65;
}

.newt-stock-alert-modal form,
.newt-stock-alert-modal label {
  display: grid;
}

.newt-stock-alert-modal form {
  gap: 10px;
}

.newt-stock-alert-modal label {
  color: #173f58;
  font-size: 13px;
  font-weight: 750;
}

.newt-stock-alert-modal input[type="email"] {
  box-sizing: border-box;
  width: 100%;
  min-height: 50px;
  padding: 0 15px;
  border: 1px solid #cbdce2;
  border-radius: 10px;
  background: #fff;
  color: #082f54;
  font: inherit;
  outline: none;
}

.newt-stock-alert-modal input[type="email"]:focus {
  border-color: #078f8c;
  box-shadow: 0 0 0 3px rgba(7, 143, 140, 0.1);
}

.newt-stock-alert-modal button[type="submit"] {
  min-height: 50px;
  margin-top: 4px;
  padding: 0 20px;
  border: 0;
  border-radius: 10px;
  background: #078f8c;
  color: #fff;
  font-size: 15px;
  font-weight: 750;
  cursor: pointer;
}

.newt-stock-alert-modal button[type="submit"]:disabled {
  cursor: default;
  opacity: 0.82;
}

.newt-stock-alert-modal__honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
}

.newt-stock-alert-modal__status {
  min-height: 20px;
  color: #60758e;
  font-size: 13px;
  line-height: 1.5;
}

.newt-stock-alert-modal__status.is-success {
  color: #078f8c;
}

.newt-stock-alert-modal__status.is-error {
  color: #a43b46;
}

@media (max-width: 600px) {
  .newt-single-product-page .newt-stock-ui__notify {
    min-height: 50px;
    font-size: 15px;
  }

  .newt-stock-alert-modal {
    padding: 14px;
  }

  .newt-stock-alert-modal__panel {
    padding: 28px 20px 22px;
    border-radius: 18px;
  }

  .newt-stock-alert-modal h2 {
    font-size: 24px;
  }
}
