@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;
}

/*--------------------------------------------
dropdown menu
----------------------------------------------*/
.nmgr-dropdown-wrapper {
  display: inline-flex;
  position: relative;
  flex: 0 0 auto;
}
.nmgr-dropdown-wrapper > summary { /* dropdown btn */
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  list-style: none;
  cursor: pointer;
  border-radius: 50%;
  user-select: none;
  color: #888;
  margin: 0;
  line-height: 0;
}
.nmgr-dropdown-wrapper > summary::-webkit-details-marker { /* Remove the browser's default marker */
  display: none;
}
.nmgr-dropdown-wrapper > summary::marker { /* Remove the browser's default marker */
  display: none;
  content: "";
}
.nmgr-dropdown-wrapper > summary:hover {
  background-color: var(--nmgr-btn-bg-hover-color);
}
.nmgr-dropdown-wrapper[open] > summary {
  background-color: var(--nmgr-btn-bg-color);
  box-shadow: 0 0 0 1px var(--nmgr-btn-box-shadow-hover-color);
}

.nmgr-dropdown-menu { /* dropdown menu */
  position: absolute;
  top: calc(100% + 6px); /* Anchor the menu to the three-dot button. */
  right: 0;
  width: 200px;
  padding: 6px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 9px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1), 0 2px 6px rgba(0, 0, 0, 0.06);
  z-index: 100;
}

.nmgr-dropdown-right {
  right: auto;
  left: 0;
}

.nmgr-dropdown-item { /* menu items */
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 8px 10px;
  border-radius: 6px;
  color: #333;
  text-decoration: none !important;
  white-space: normal; /* Allow text to wrap to multiple lines */
  line-height: 1.3; /* Keep line height compact for wrapped links */
  word-break: break-word; /* Prevent long uninterrupted words from clipping */
}
.nmgr-dropdown-item:not(.nmgr-disabled):hover {
  background: #f3f4f6;
}

.nmgr-dropdown-header {
  font-size: 0.875rem;
  color: #666;
}

.nmgr-dropdown-text {
  color: #999;
}

.nmgr-dropdown-divider {
  height: 1px;
  margin: 6px 0;
  background: #e5e5e5;
}

.nmgr-table-template {
  container-type: inline-size; /* needed for the @container declaration on the table element */
}

.nmgr-table-template table.nmgr-table {
  width: 100%;
  word-break: break-word;
  border-spacing: 0;
}
.nmgr-table-template table.nmgr-table,
.nmgr-table-template table.nmgr-table th,
.nmgr-table-template table.nmgr-table td {
  border: 0;
}
.nmgr-table-template table.nmgr-table,
.nmgr-table-template table.nmgr-table tr:nth-child(n),
.nmgr-table-template table.nmgr-table tr:nth-child(n) td {
  background-color: transparent;
}
.nmgr-table-template table.nmgr-table thead {
  display: none;
}
.nmgr-table-template table.nmgr-table thead tr {
  margin-bottom: 0;
  display: table-row;
  border: none;
}
.nmgr-table-template table.nmgr-table thead th {
  line-height: 1;
  padding: 12px;
  background-color: #f8f8f8;
  text-align: left;
}
.nmgr-table-template table.nmgr-table thead .nmgr-arrow {
  float: right;
  position: relative;
  margin-right: -1em;
  padding-right: 0.4375em;
}
.nmgr-table-template table.nmgr-table:not(:has(tbody tr)) thead {
  display: table-header-group;
}
.nmgr-table-template table.nmgr-table tbody th,
.nmgr-table-template table.nmgr-table td {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  vertical-align: middle;
}
.nmgr-table-template table.nmgr-table tbody th[data-title],
.nmgr-table-template table.nmgr-table td[data-title] {
  justify-content: space-between;
}
.nmgr-table-template table.nmgr-table tbody th[data-title]:before,
.nmgr-table-template table.nmgr-table td[data-title]:before {
  content: attr(data-title);
  font-weight: 600;
  text-align: left;
  flex-shrink: 0;
}
.nmgr-table-template table.nmgr-table tbody td {
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}
.nmgr-table-template table.nmgr-table tbody td:first-child {
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}
.nmgr-table-template table.nmgr-table tbody td:last-child {
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
}
.nmgr-table-template table.nmgr-table tr {
  display: block;
  border: 1px solid #dcdcdc;
  border-radius: 12px;
}
.nmgr-table-template table.nmgr-table tr:not(:last-child) {
  margin-bottom: 25px;
}

.nmgr-table-template .meta-item {
  font-size: 0.8125em;
}

.nmgr-table-footer .item {
  display: flex;
  background-color: #f8f8f8;
}
.nmgr-table-footer .nmgr_label {
  flex: 4;
  text-align: right;
}
.nmgr-table-footer .nmgr_content {
  flex: 1;
  font-weight: 600;
}

.nmgr-table td,
.nmgr-table-footer .nmgr-item-part {
  font-size: 0.8125em;
  padding: 4px 12px;
}

@container (min-width: 800px) {
  .nmgr-table-footer .nmgr-item-part {
    font-size: 0.95em;
    padding: 7px;
  }
  .nmgr-table-template table.nmgr-table thead {
    display: table-header-group;
  }
  .nmgr-table-template table.nmgr-table tbody th,
  .nmgr-table-template table.nmgr-table td {
    font-size: inherit;
    padding: 11px 10px;
    display: table-cell;
  }
  .nmgr-table-template table.nmgr-table tbody th[data-title]:before,
  .nmgr-table-template table.nmgr-table td[data-title]:before {
    content: "";
  }
  .nmgr-table-template table.nmgr-table tbody td:first-child, .nmgr-table-template table.nmgr-table tbody td:last-child {
    border-radius: 0;
  }
  .nmgr-table-template table.nmgr-table tbody tr {
    margin-bottom: 0;
    display: table-row;
    border: none;
  }
  .nmgr-table-template table.nmgr-table .nmgr-fit {
    width: 1%;
    white-space: nowrap;
  }
}
/*--------------------------------------------
ordering
----------------------------------------------*/
.nmgr-table thead [data-orderby] {
  position: relative;
  cursor: pointer;
}
.nmgr-table thead [data-orderby]:not([data-order=desc]):not([data-order=asc]):not(:hover):after {
  opacity: 0.5;
}
.nmgr-table thead [data-orderby]:after {
  position: absolute;
  padding-right: 1px;
  right: 0;
  content: "↕"; /* up down arrow */
}
.nmgr-table thead [data-orderby][data-order=desc]:after, .nmgr-table thead [data-orderby][data-order=asc]:hover:after {
  content: "↓"; /* down arrow */
}
.nmgr-table thead [data-orderby][data-order=asc]:after, .nmgr-table thead [data-orderby][data-order=desc]:hover:after, .nmgr-table thead [data-orderby]:not([data-order=desc]):not([data-order=asc]):hover:after {
  content: "↑"; /* up arrow (this is also the default sorting when clicked) */
}

.nmgr-navs {
  text-align: right;
  padding: 1em 0;
}
.nmgr-navs > * {
  padding: 0.175em 0.625em;
}
.nmgr-navs > *:not(:last-child) {
  margin-right: 7px;
}
.nmgr-navs > .nmgr-nav {
  background: #f5f5f5;
  border-radius: 5px;
  color: #aaa;
  text-decoration: none !important;
  display: inline-flex;
}
.nmgr-navs > .nmgr-nav:hover {
  color: #888;
}
body.wp-admin .nmgr-navs {
  padding-right: 4px;
}

/*--------------------------------------------
Checkbox toggle input
----------------------------------------------*/
.nmgr-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  position: relative;
}

.nmgr-toggle-label {
  font-size: var(--nmgr-input-font-size);
}

.nmgr-toggle-desc {
  display: block;
  font-size: var(--nmgr-input-desc-font-size);
  color: #787c82;
  margin-top: 2px;
}

.nmgr-toggle {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 22px;
  flex-shrink: 0;
  cursor: pointer;
}

input[type=checkbox].nmgr-toggle-input {
  opacity: 0;
  width: 0;
  height: 0;
}

.nmgr-toggle-track {
  position: absolute;
  inset: 0;
  background: #c3c4c7;
  border-radius: 999px;
  transition: background 0.15s;
}

.nmgr-toggle-thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.15s;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

.nmgr-toggle-input:checked ~ .nmgr-toggle-track {
  background: #2271b1;
}

.nmgr-toggle-input:checked ~ .nmgr-toggle-thumb {
  transform: translateX(18px);
}

.nmgr-toggle input:disabled + .nmgr-toggle-track {
  opacity: 0.55;
  cursor: not-allowed;
}

/*--------------------------------------------
Badge
----------------------------------------------*/
.hang-badge {
  position: relative;
}
.hang-badge .nmgr-badge {
  position: absolute;
  top: 0;
  transform: translate(-50%, -50%);
  left: 100%;
  border-radius: 50rem;
  height: inherit;
  width: inherit;
}

.nmgr-badge {
  display: inline-block;
  padding: 0.35em 0.65em;
  font-size: 0.75em;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  background-color: #aaa;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: 0.25rem;
}

/*--------------------------------------------
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;
}

/*--------------------------------------------
Progressbar
----------------------------------------------*/
.nmgr-progressbar {
  display: flex;
  align-items: center;
}
.nmgr-progressbar .progress-wrapper {
  flex-grow: 1;
  background-color: #f2f2f2;
  border-radius: 10px;
}
.nmgr-progressbar .progress-wrapper .progress {
  background-color: #666;
  height: 10px;
  border-radius: 10px;
}
.nmgr-progressbar .percent {
  margin-left: 11px;
  font-size: 13px;
}

.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;
}

/*--------------------------------------------
Items table
----------------------------------------------*/
.nmgr-on-hold-text {
  color: #b8860b;
}

.nmgr-items-menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
}
.nmgr-items-menu > * {
  padding: 0.7em 0;
}
.nmgr-items-menu > *:not(:first-child) {
  margin-left: 30px;
}

.nmgr-items-bulk-actions {
  margin-right: auto;
  display: flex;
  align-items: center;
  gap: 9px;
}
.nmgr-items-bulk-actions > * {
  display: flex;
  align-items: center;
  outline: none;
}
.nmgr-items-bulk-actions > *:not(.item_select) {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.15s;
}
.nmgr-items-bulk-actions :disabled {
  cursor: not-allowed;
}
.nmgr-items-bulk-actions.show > * {
  opacity: 1;
  visibility: visible;
}
.nmgr-items-bulk-actions .item_select label {
  margin: 0;
  line-height: 0;
  padding: 10px;
  background-color: var(--nmgr-btn-bg-color);
  box-shadow: 0 0 0 1px var(--nmgr-btn-box-shadow-color);
  border-radius: 50%;
}
.nmgr-items-bulk-actions .item_select label:hover {
  cursor: pointer;
  background-color: var(--nmgr-btn-bg-hover-color);
  box-shadow: 0 0 0 1px var(--nmgr-btn-box-shadow-hover-color);
}

#nmgr-items .nmgr-row-amount_needed {
  font-weight: bolder;
  background-color: #f2f2f2;
}
#nmgr-items ul.variations {
  display: block;
  margin: auto;
  padding: 0;
  list-style: none;
}
#nmgr-items .thumbnail img {
  height: auto;
  margin: 0;
  padding: 0;
  display: block;
  object-fit: cover;
}
#nmgr-items .is-fav svg {
  fill: #f59e0b;
  stroke: #f59e0b;
}
#nmgr-items .not-fav svg {
  stroke: rgba(156, 163, 175, 0.62);
}
#nmgr-items :invalid {
  border-color: red;
}
#nmgr-items .item.nmgr-blur > *:not(.nmgr_action_buttons) {
  opacity: 0.7;
}

@container (min-width: 800px) {
  .nmgr-items-view.list tr > .nmgr_quantity,
  .nmgr-items-view.list tr > .nmgr_purchased_quantity,
  .nmgr-items-view.list tr > .nmgr_favourite,
  .nmgr-items-view.list tr > th.nmgr_action_buttons {
    text-align: center;
  }
  .nmgr-items-view.list .nmgr-on-hold-text {
    font-size: 12px;
    display: block;
  }
}
/*--------------------------------------------
Messages table
----------------------------------------------*/
/* Transparent Icon Button with Circular Hover Boundary */
.nmgr-delete-message-btn {
  background: transparent;
  border: none;
  width: 36px;
  height: 36px;
  padding: 0;
  margin: 0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #9ca3af; /* Muted gray resting icon color */
  transition: color 0.15s ease, background-color 0.15s ease;
  /* Circular Hover & Focus States */
}
.nmgr-delete-message-btn:hover {
  color: #ef4444; /* Alert red icon on hover */
  background-color: #f2f2f2;
}

.nmgr-copy-shipping-address-wrapper {
  margin-bottom: 15px;
}

#nm_gift_registry-profile.postbox .select2-container {
  width: 100% !important;
}

.wishlist-columns {
  padding-top: 7px;
}

@media (min-width: 767px) {
  .wishlist-columns {
    display: flex;
    justify-content: space-between;
  }
  .wishlist-columns .column {
    flex-grow: 1;
  }
  .wishlist-columns.two-col .column {
    flex-basis: 48%;
    flex-grow: 0;
  }
}
/**------------------------------------------------
background image form metabox
----------------------------------------------------*/
.custom-img-container:not(.hidden) {
  display: inline-block;
}
.custom-img-container img {
  max-width: 100%;
  height: auto;
  width: auto;
  vertical-align: top;
}

/**------------------------------------------------
list table
----------------------------------------------------*/
.wp-list-table .nmgr-icon {
  vertical-align: middle;
  fill: currentColor;
}
.wp-list-table .nmgr-post-author {
  font-style: italic;
  color: #888;
}

/**------------------------------------------------
wishlist items/orders metabox
----------------------------------------------------*/
#nm_gift_registry-items.postbox .inside,
#nm_gift_registry-messages.postbox .inside,
#nm_gift_registry-orders.postbox .inside {
  margin: 0;
  padding: 0;
}

/**------------------------------------------------
wishlist items table
----------------------------------------------------*/
body.wp-admin #nmgr-items thead th {
  font-weight: 400;
  color: #999;
}

body.wp-admin #nmgr-items .thumbnail img {
  max-width: 38px;
}

body.wp-admin .nmgr-items-menu {
  padding: 0 4px;
}

body.wp-admin .nmgr-after-table-row {
  padding: 1.5em 2em;
  line-height: 2em;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  border-top: 1px solid #dfdfdf;
  background: #f8f8f8;
}

#nmgr-items input[type=checkbox] {
  margin: 0;
}

/**------------------------------------------------
Settings pages
----------------------------------------------------*/
.wrap.nmgr-settings table.form-table .wc_emails_wrapper {
  padding: 0 15px 10px 0;
}
.wrap.nmgr-settings table.form-table .wc_emails_wrapper table.section-fields td {
  background-color: inherit !important;
}
.wrap.nmgr-settings table.form-table .select2-container {
  min-width: 23.8125em !important;
}

/**------------------------------------------------
Add items to wishlist
----------------------------------------------------*/
#nmgr-add-items-wrap {
  container-type: inline-size;
}
#nmgr-add-items-wrap.is-open {
  position: sticky;
  bottom: 0;
  z-index: 20;
}
#nmgr-add-items-wrap.is-open .nmgr-add-toggle svg {
  transform: rotate(45deg);
}
#nmgr-add-items-wrap.is-open .nmgr-add-panel {
  grid-template-rows: 1fr;
  opacity: 1;
}

button.nmgr-add-toggle {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px;
}
button.nmgr-add-toggle svg {
  display: block;
  flex-shrink: 0;
  transition: transform 200ms ease;
}

.nmgr-add-panel {
  width: max-content;
  max-width: 100%;
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 240ms ease, opacity 200ms ease;
  margin-top: 12px;
}
.nmgr-add-panel__inner {
  overflow: hidden;
}

.nmgr-add-card {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 18px;
  overflow: visible;
}
.nmgr-add-card__fields {
  display: flex;
  gap: 14px;
  align-items: stretch;
  flex-wrap: nowrap; /* Prevents wrapping on wide screens */
}
.nmgr-add-card__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  align-self: flex-end;
}
.nmgr-add-card__actions button:disabled {
  opacity: 0.5;
}

@container (max-width: 520px) {
  .nmgr-add-card__fields {
    flex-wrap: wrap;
  }
}
.nmgr-add-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  /* Favourite star toggle */
}
.nmgr-add-field label {
  font-size: 12px;
  font-weight: 600;
  color: #6b7280;
}
.nmgr-add-field input {
  padding: 8px 10px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
}
.nmgr-add-field input[type=number] {
  width: 70px;
  min-width: 0;
  height: 100%;
}
.nmgr-add-field--product {
  width: 250px;
  flex: 0 1 250px;
  min-width: 120px;
}
.nmgr-add-field--product .select2-container {
  width: 100% !important;
}
.nmgr-add-field--fav {
  align-items: center;
}
.nmgr-add-field--fav label {
  text-align: center;
}

/**------------------------------------------------
General
----------------------------------------------------*/
.nmgr-btn-group > .nmgr-btn input[type=checkbox],
.nmgr-btn-group > .nmgr-btn input[type=radio] {
  position: absolute;
  clip: rect(0, 0, 0, 0);
  pointer-events: none;
}
.nmgr-btn-group input + label {
  font-weight: normal;
  margin: 0;
  cursor: pointer;
  text-align: center;
  display: inline-flex;
  flex-flow: column;
  padding: 0.5em 0.75em;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out;
}
.nmgr-btn-group.nmgr-inline input + label {
  align-items: center;
}
.nmgr-btn-group input + label:hover,
.nmgr-btn-group input:checked + label,
.nmgr-btn-group input:focus + label {
  background-color: rgba(0, 124, 186, 0.08);
  border-color: #007cba;
  box-shadow: 0 0 0 1px #007cba;
  outline: 2px solid transparent;
}
.nmgr-btn-group input + label.icon {
  display: inline-block;
  padding: 0;
  line-height: 1 !important;
  background-color: transparent;
}
.nmgr-btn-group input:checked + label.icon .nmgr-icon:not(.checked) {
  display: none;
}
.nmgr-btn-group input:not(:checked) + label.icon .nmgr-icon.checked {
  display: none;
}

.nmgr-input-group:not(.nmgr-inline) > * {
  margin-bottom: 0.375em;
}
.nmgr-input-group.nmgr-inline {
  display: flex;
  align-items: flex-end;
}
.nmgr-input-group.nmgr-inline > *:not(:last-child) {
  margin-right: 1.875em;
}

/**------------------------------------------------
Nmerimedia
----------------------------------------------------*/
.nmerimedia-btn-group > .nmerimedia-btn input[type=checkbox],
.nmerimedia-btn-group > .nmerimedia-btn input[type=radio] {
  position: absolute;
  clip: rect(0, 0, 0, 0);
  pointer-events: none;
}
.nmerimedia-btn-group input + label {
  font-weight: normal;
  margin: 0;
  cursor: pointer;
  text-align: center;
  display: inline-flex;
  flex-flow: column;
  padding: 0.5em 0.75em;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out;
}
.nmerimedia-btn-group.nmerimedia-inline input + label {
  align-items: center;
}
.nmerimedia-btn-group input + label:hover,
.nmerimedia-btn-group input:checked + label,
.nmerimedia-btn-group input:focus + label {
  background-color: rgba(0, 124, 186, 0.08);
  border-color: #007cba;
  box-shadow: 0 0 0 1px #007cba;
  outline: 2px solid transparent;
}
.nmerimedia-btn-group input + label.icon {
  display: inline-block;
  padding: 0;
  line-height: 1 !important;
  background-color: transparent;
}
.nmerimedia-btn-group input:checked + label.icon .nmerimedia-icon:not(.checked) {
  display: none;
}
.nmerimedia-btn-group input:not(:checked) + label.icon .nmerimedia-icon.checked {
  display: none;
}

.nmerimedia-input-group:not(.nmerimedia-inline) > * {
  margin-bottom: 0.375em;
}
.nmerimedia-input-group.nmerimedia-inline {
  display: flex;
  align-items: flex-end;
}
.nmerimedia-input-group.nmerimedia-inline > *:not(:last-child) {
  margin-right: 1.875em;
}

.nmerimedia-settings-error {
  color: red;
}

.nmerimedia-pro-version-text {
  color: indianred;
}

.wrap.nmerimedia-settings .main {
  flex-grow: 1;
}
.wrap.nmerimedia-settings .is-pro {
  opacity: 0.4;
  pointer-events: none;
}
.wrap.nmerimedia-settings .sidebar {
  padding: 0 15px;
  border-left: 1px solid #dedede;
}
@media (min-width: 783px) {
  .wrap.nmerimedia-settings .container {
    display: flex;
    width: 100%;
  }
  .wrap.nmerimedia-settings .main {
    padding-right: 15px;
  }
  .wrap.nmerimedia-settings .sidebar {
    width: 255px;
    min-width: 255px;
  }
}