@charset "UTF-8";
:root {
  --nmgr-grey-hover: #e8e9eb;
  --nmgr-btn-bg-color: transparent;
  --nmgr-btn-bg-hover-color: var(--nmgr-grey-hover);
  --nmgr-btn-box-shadow-color: #d7d8db;
  --nmgr-btn-box-shadow-hover-color: #d7d8db;
  --nmgr-btn-border-radius: 999px;
  --nmgr-btn-primary-bg-color: #333;
  --nmgr-btn-primary-bg-hover-color: #000;
  --nmgr-btn-primary-color: #fff;
  --nmgr-btn-secondary-color: #555;
  --nmgr-btn-padding: 12px 28px;
  --nmgr-input-font-size: 16px;
  --nmgr-input-desc-font-size: 12px;
}

.is-nm-blocked {
  pointer-events: none;
}

svg.nmgr-icon:not(.nmgr-hide) {
  display: inline-block;
}
svg.nmgr-icon.align-with-text {
  top: -1px;
  display: inline-block;
  vertical-align: middle;
  position: relative;
}

.nmgr-account-template fieldset {
  /* set this to hide the application of default fieldset styles */
  display: contents;
}

input[type=number].nmgr-qty-input {
  text-align: center;
  width: 58px;
  padding: 5px;
  border: none;
  border-radius: 8px;
  background: transparent;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.125);
}

.nmgr-dialog {
  position: fixed;
  width: 400px;
  max-width: calc(100% - 32px);
  max-height: calc(100% - 32px);
  padding: 0;
  border: 0;
  border-radius: 18px;
  background: #fff;
  color: #1f2937;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.08);
  overflow: visible;
  display: flex;
  flex-direction: column;
  opacity: 1;
  transform: scale(1);
  transition: opacity 240ms ease, transform 240ms ease;
}
.nmgr-dialog * {
  box-sizing: border-box;
}
@starting-style {
  .nmgr-dialog {
    opacity: 0;
    transform: scale(0.96);
  }
}
.nmgr-dialog.nmgr-dialog--closing {
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 250ms ease-in, transform 250ms ease-in;
}
.nmgr-dialog::backdrop {
  background: transparent;
}
.nmgr-dialog__header {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 6px 14px 6px 24px;
  border-bottom: 1px solid #e5e7eb;
}
.nmgr-dialog__title {
  margin: 0 auto 0 0;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
}
.nmgr-dialog button.nmgr-dialog__close {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #6b7280;
  font-size: 22px;
  cursor: pointer;
  transition: background-color 150ms ease, color 150ms ease;
}
.nmgr-dialog button.nmgr-dialog__close:hover {
  background: #f3f4f6;
  color: #111827;
}
.nmgr-dialog__content {
  flex: 1 1 auto;
  min-height: 0;
  padding: 24px;
  overflow-y: auto;
}
.nmgr-dialog__footer {
  padding: 16px 24px;
  border-top: 1px solid #e5e7eb;
}
.nmgr-dialog:not(.nmgr-dialog--has-title) .nmgr-dialog__header {
  border-bottom: 0;
}
.nmgr-dialog:not(.nmgr-dialog--has-title) .nmgr-dialog__content {
  padding-top: 6px;
}
.nmgr-dialog:not(.nmgr-dialog--has-footer) .nmgr-dialog__footer {
  border-top: 0;
}
.nmgr-dialog:not(.nmgr-dialog--has-footer) .nmgr-dialog__content {
  padding-bottom: 6px;
}

.nmgr-toaster {
  position: fixed;
  left: 0;
  bottom: 0;
  margin: 1rem;
  width: max-content;
  max-width: 95vw;
  z-index: 999999;
  display: table;
}
.nmgr-toaster > :not(:last-child) {
  margin-bottom: 12px;
}
.nmgr-toaster > * {
  left: 0 !important;
  top: 0 !important;
  position: relative !important;
}
.nmgr-toaster .button.wc-forward {
  display: none;
}
.nmgr-toaster .nmgr-notice {
  position: relative;
  z-index: 100102;
  width: 350px;
  max-width: 95vw;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px) saturate(1.1);
  border: 1px solid rgba(15, 15, 20, 0.06);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.16), 0 2px 6px rgba(0, 0, 0, 0.06);
  color: #1c1c1e;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 44px 12px 16px;
  transition: opacity 260ms ease-out, transform 260ms ease-out;
  opacity: 1;
  transform: translateY(0);
}
@starting-style {
  .nmgr-toaster .nmgr-notice {
    opacity: 0;
    transform: translateY(8px);
  }
}
.nmgr-toaster .nmgr-notice.nmgr-leaving {
  opacity: 0;
  transform: translateY(6px);
  pointer-events: none;
}
.nmgr-toaster .nmgr-notice .nmgr-icon {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
}
.nmgr-toaster .nmgr-notice .nmgr-content {
  flex: 1 1 auto;
  min-width: 0;
}
.nmgr-toaster .nmgr-notice .nmgr-content a {
  color: #0c57d1;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  font-size: 14px;
  padding: 4px 0;
  transition: color 0.15s ease;
}
.nmgr-toaster .nmgr-notice .nmgr-content a:hover {
  color: #093987;
}
.nmgr-toaster .nmgr-notice.success .nmgr-icon {
  color: #16a34a;
}
.nmgr-toaster .nmgr-notice.error .nmgr-icon {
  color: #ef4444;
}
.nmgr-toaster .nmgr-notice.warning .nmgr-icon {
  color: #f59e0b;
}
.nmgr-toaster .nmgr-notice.info .nmgr-icon {
  color: #3b82f6;
}
.nmgr-toaster .nmgr-notice .nmgr-close-btn {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  padding: 0;
  margin: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: transparent !important;
  border: none;
  border-radius: 8px;
  color: currentColor;
  opacity: 0.55;
  cursor: pointer;
  transition: opacity 0.15s ease, background-color 0.15s ease;
}
.nmgr-toaster .nmgr-notice .nmgr-close-btn svg {
  display: block;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.nmgr-toaster .nmgr-notice .nmgr-close-btn:hover, .nmgr-toaster .nmgr-notice .nmgr-close-btn:focus-visible {
  opacity: 1;
  background-color: rgba(28, 28, 30, 0.08) !important;
  outline: none;
}
@media (max-width: 480px) {
  .nmgr-toaster {
    margin: 0;
    left: 50%;
    transform: translateX(-50%);
  }
  .nmgr-toaster .nmgr-notice {
    width: calc(100vw - 32px);
    max-width: 95vw;
  }
}

/*--------------------------------------------
jQuery ui tooltip
----------------------------------------------*/
.nmgr-tooltip.ui-tooltip {
  border-radius: 999px;
  padding: 0.3em 0.9em;
  position: absolute;
  z-index: 9999;
  max-width: 300px;
  border: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  background: #1f1f1f !important;
  color: #fff !important;
  font-size: 0.9em;
  text-align: center;
}

/*--------------------------------------------
Form
----------------------------------------------*/
/* Defensive Reset & Scoping */
.nmgr-form,
.nmgr-fieldset * {
  box-sizing: border-box !important;
  margin: 0;
}

.nmgr-fieldset {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 12px;
  align-items: end;
}
.nmgr-fieldset .nmgr-field {
  grid-column: 1/-1;
  margin: 0 !important;
  padding: 0 !important;
}
.nmgr-fieldset .nmgr-field-half {
  grid-column: span 1;
}
.nmgr-fieldset .nmgr-field-half + .nmgr-field {
  grid-column: span 1;
}
@media (max-width: 480px) {
  .nmgr-fieldset {
    grid-template-columns: 1fr;
  }
  .nmgr-fieldset .nmgr-field-half,
  .nmgr-fieldset .nmgr-field-half + .nmgr-field {
    grid-column: auto;
  }
}

.nmgr-error-text {
  font-size: small;
  color: red !important;
}

.nmgr-field.nmgr-invalid .select2-selection,
.nmgr-field.nmgr-invalid input,
.nmgr-field.nmgr-invalid select,
.nmgr-field.nmgr-invalid textarea {
  border: 1px solid red !important;
}

/*--------------------------------------------
Buttons
----------------------------------------------*/
button[type=submit].nmgr-btn-primary,
.nmgr-btn-primary {
  background-color: var(--nmgr-btn-primary-bg-color);
  color: var(--nmgr-btn-primary-color);
  box-shadow: none;
  border-radius: var(--nmgr-btn-border-radius);
  line-height: 1.6;
  border: 0;
  padding: var(--nmgr-btn-padding);
  font-size: var(--nmgr-input-font-size);
  font-weight: 500;
  transition: background-color 0.15s ease !important;
}
button[type=submit].nmgr-btn-primary:hover,
.nmgr-btn-primary:hover {
  background-color: var(--nmgr-btn-primary-bg-hover-color);
  color: var(--nmgr-btn-primary-color);
}

button.nmgr-btn-secondary,
.nmgr-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 0;
  padding: 8px 14px;
  text-decoration: none !important;
  line-height: 1.6;
  cursor: pointer;
  user-select: none;
  border-radius: var(--nmgr-btn-border-radius);
  background-color: var(--nmgr-btn-bg-color);
  color: var(--nmgr-btn-secondary-color);
  box-shadow: inset 0 0 0 1px var(--nmgr-btn-box-shadow-color);
  transition: background-color 0.15s ease, box-shadow 0.15s ease !important;
}
button.nmgr-btn-secondary:hover,
.nmgr-btn-secondary:hover {
  box-shadow: 0 0 0 1px var(--nmgr-btn-box-shadow-hover-color);
  background-color: var(--nmgr-btn-bg-hover-color);
}

.nmgr-fav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  position: relative;
}
.nmgr-fav-toggle input {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.nmgr-fav-toggle input:checked + label {
  color: #f59e0b;
}
.nmgr-fav-toggle input:checked + label svg path {
  fill: currentColor;
}
.nmgr-fav-toggle label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #9ca3af;
  transition: color 150ms ease;
  margin: 0 !important;
}
.nmgr-fav-toggle label svg {
  display: block;
}
.nmgr-fav-toggle label:hover {
  color: #f59e0b;
}
.nmgr-fav-toggle label:hover svg path {
  fill: currentColor;
}

/*--------------------------------------------
Add to cart form
----------------------------------------------*/
.nmgr-add-to-cart-form {
  margin: 0;
}
.nmgr-add-to-cart-form.cart {
  display: flex;
  align-items: center;
  gap: 5px;
  justify-content: flex-end;
}
.nmgr-add-to-cart-form .nmgr_add_to_cart_button {
  border-radius: 12px;
}

.nmgr_add_to_cart_button.disabled,
.nmgr-bulk-add-to-cart.disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.nmgr-field {
  /* Style Select2's rendered replacement to match your other fields */
}
.nmgr-field input,
.nmgr-field textarea,
.nmgr-field select,
.nmgr-field .select2-selection--single {
  width: 100% !important;
  border-radius: 10px !important;
  border: 1px solid #ccc !important;
  font-size: var(--nmgr-input-font-size) !important;
  background: transparent !important;
  color: #333 !important;
  outline: none !important;
  box-shadow: none !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  transition: border-color 0.15s ease !important;
}
.nmgr-field input:focus,
.nmgr-field textarea:focus,
.nmgr-field select:focus,
.nmgr-field .select2-selection--single:focus {
  border-color: #4c8bf5 !important;
}
.nmgr-field textarea {
  resize: vertical;
  min-height: 120px;
}
.nmgr-field .select2-container {
  /* Vertical arrow alignment */
  /* Focus and Open States */
}
.nmgr-field .select2-container .select2-selection__rendered {
  color: #333 !important;
}
.nmgr-field .select2-container .select2-selection__arrow {
  top: 50%;
  transform: translateY(-50%);
}
.nmgr-field .select2-container.select2-container--focus .select2-selection--single, .nmgr-field .select2-container.select2-container--open .select2-selection--single {
  border-color: #4c8bf5 !important;
}

/* Enhanced experience — using :has() selector
 *.form-row is used in some of these classes to target fields specifically created using
 * woocommerce_form_field() which are typically text inputs. This is to prevent the classes
 * from targetting our custom checkbox and radio inputs. */
.nmgr-fieldset { /* wrap all styles in this so that they would override woocommerce styles */ }
.nmgr-fieldset .nmgr-field {
  position: relative;
  flex: 1;
  /* Select label that is a sibling above span where both are direct children of .nmgr-field.
  This is specifically used to target woocommerce fields which wrap inputs in spans.
  Y-Axis centering via transform prevents misalignments. */
  /* Textarea initial position alignment */
  /* Floating label: shrinks up when focused or filled */
  /* Placeholder text overlaps with label so hide placeholder ONLY for floating label fields */
}
.nmgr-fieldset .nmgr-field.form-row input,
.nmgr-fieldset .nmgr-field .nmgr-toggle-row,
.nmgr-fieldset .nmgr-field .select2-selection--single {
  height: 56px !important;
}
.nmgr-fieldset .nmgr-field.form-row input,
.nmgr-fieldset .nmgr-field .select2-selection--single {
  padding: 22px 12px 6px 12px !important;
}
.nmgr-fieldset .nmgr-field.form-row textarea {
  padding: 24px 12px 10px 12px !important;
}
.nmgr-fieldset .nmgr-field .select2-selection__rendered {
  padding: 0 !important;
}
.nmgr-fieldset .nmgr-field.form-row:has(> span) > label {
  position: absolute !important;
  left: 12px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  font-size: var(--nmgr-input-font-size) !important;
  color: #999 !important;
  pointer-events: none !important;
  transition: transform 0.15s ease, font-size 0.15s ease, color 0.15s ease, top 0.15s ease !important;
  transform-origin: left top;
  z-index: 2; /* Give the label a stacking context above Select2's container */
  line-height: 1.2 !important;
}
.nmgr-fieldset .nmgr-field:has(span textarea) label {
  top: 20px !important;
  transform: translateY(0) !important;
}
.nmgr-fieldset .nmgr-field.form-row:has(span input:not(:placeholder-shown)) label, .nmgr-fieldset .nmgr-field:has(span textarea:not(:placeholder-shown)) label, .nmgr-fieldset .nmgr-field.form-row:has(span input:focus) label, .nmgr-fieldset .nmgr-field:has(span textarea:focus) label, .nmgr-fieldset .nmgr-field:has(.select2-container--open) label, .nmgr-fieldset .nmgr-field:has(.select2-selection__rendered:not(:empty)) label {
  top: 8px !important;
  transform: translateY(0) !important;
  font-size: var(--nmgr-input-desc-font-size) !important;
  font-weight: 600 !important;
  color: #666 !important;
}
.nmgr-fieldset .nmgr-field.form-row:has(> label) input::placeholder, .nmgr-fieldset .nmgr-field.form-row:has(> label) textarea::placeholder {
  color: transparent !important;
  transition: color 0.1s ease !important;
}

/*--------------------------------------------
Select wishlist modal
----------------------------------------------*/
/* Product list — scrolls if the group is long */
.nmgr-atw-products {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 260px;
  overflow-y: auto;
  margin-bottom: 28px;
}

.nmgr-atw-product-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  box-sizing: border-box;
}

.nmgr-atw-thumb {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  flex: none;
  overflow: hidden;
}

.nmgr-atw-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.nmgr-atw-info {
  flex: 1;
  min-width: 0;
}

.nmgr-atw-name {
  font-size: 13px;
  font-weight: 500;
  margin: 0 0 2px;
  color: #333;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nmgr-atw-variations {
  font-size: 12px;
}

.nmgr-atw-price {
  font-size: 12px;
  color: #999;
  margin: 0;
}

.nmgr-atw-price ins {
  color: #333;
  margin-left: 4px;
  text-decoration: none;
}

.nmgr-atw-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  height: 26px;
  padding: 0 5px;
  border-radius: 9999px;
  background: #fff;
  border: 1px solid #ccc;
  color: #666;
  font-size: 14px;
  font-weight: 600;
  line-height: 1; /* Removes extra line-height spacing that shifts text down */
  flex: none;
}

input[type=number].nmgr-atw-qty {
  width: 58px;
  padding: 5px;
  border-radius: 8px;
  border: 1px solid #ccc;
  text-align: center;
  font-size: 13px;
  flex: none;
  background-color: transparent;
}

/* Actions */
.nmgr-atw-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
}

#atw-existing {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  line-height: 1;
  margin-bottom: 24px;
}

#nmgr-atw-dialog {
  /* Registry select */
  /* Secondary Button */
}
#nmgr-atw-dialog .nmgr-atw-select-wrapper {
  position: relative;
}
#nmgr-atw-dialog .nmgr-atw-select {
  width: 100%;
  height: inherit;
  box-sizing: border-box;
  padding: 17px 34px 17px 14px;
  border-radius: 10px;
  border: 1px solid #ccc;
  background: transparent;
  appearance: none;
  -webkit-appearance: none;
  color: #333;
  text-align: center;
}
#nmgr-atw-dialog .nmgr-atw-select:focus {
  outline: none;
  border-color: #4c8bf5;
}
#nmgr-atw-dialog .nmgr-atw-select-arrow {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  color: #999;
  pointer-events: none;
}
#nmgr-atw-dialog .nmgr-btn-primary {
  font-size: 14px;
  min-width: 200px;
}
#nmgr-atw-dialog .nmgr-btn-secondary {
  font-size: 13px;
  min-width: 200px;
  padding: var(--nmgr-btn-padding);
  color: #666;
}

.nmgr-animation-scaleshrink {
  animation-name: nmgr-animation-scaleshrink;
  animation-duration: 0.7s;
  animation-timing-function: ease-in-out;
  outline: none !important;
}

@keyframes nmgr-animation-scaleshrink {
  50% {
    transform: scale(4);
    opacity: 0.3;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}
.nmgr-atw-btn.icon-heart {
  display: inline-block;
  line-height: 1;
  cursor: pointer;
  color: currentColor;
  outline: none;
}
.nmgr-atw-btn.not-in-wishlist .in-wishlist-icon, .nmgr-atw-btn:not(.not-in-wishlist) .not-in-wishlist-icon {
  display: none;
}
.nmgr-atw-btn.on-thumbnail {
  position: absolute;
  padding: 10px;
  margin: 5px;
  display: inline-block;
  z-index: 1;
}
.nmgr-atw-btn.on-thumbnail.nmgr-left {
  left: 0;
}
.nmgr-atw-btn.on-thumbnail.nmgr-right {
  right: 0;
}
.nmgr-atw-btn.on-thumbnail.nmgr-top {
  top: 0;
}
.nmgr-atw-btn.on-thumbnail.nmgr-bottom {
  bottom: 0;
}

.nmgr-atw-wrapper {
  margin-bottom: 10px;
}

/*--------------------------------------------
Add to cart form on product page
----------------------------------------------*/
.nmgr-atc-product-page {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid #ccc;
  border-radius: 14px;
  margin: 20px 0;
  padding: 20px;
}
@media (max-width: 560px) {
  .nmgr-atc-product-page {
    flex-direction: column;
    align-items: stretch;
  }
}

.nmgr-atc-product-page-msg {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #555;
}
.nmgr-atc-product-page-msg svg {
  width: 20px;
  height: 20px;
  flex: none;
  color: #666;
}

.nmgr-atc-product-page-btn {
  flex: none;
}