/* tipTip */
#tiptip_holder {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 99999;
}
#tiptip_holder.tip_top {
  padding-bottom: 5px;
}
#tiptip_holder.tip_bottom {
  padding-top: 5px;
}
#tiptip_holder.tip_right {
  padding-left: 5px;
}
#tiptip_holder.tip_left {
  padding-right: 5px;
}
#tiptip_content {
  font-size: 11px;
  color: #fff;
  text-shadow: 0 0 2px #000;
  padding: 4px 8px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background-color: rgb(25, 25, 25);
  background-color: rgba(25, 25, 25, 0.92);
  background-image: -webkit-gradient(
    linear,
    0% 0%,
    0% 100%,
    from(transparent),
    to(#000)
  );
  border-radius: 3px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  box-shadow: 0 0 3px var(--nbd-st-text-soft);
  -webkit-box-shadow: 0 0 3px var(--nbd-st-text-soft);
  -moz-box-shadow: 0 0 3px var(--nbd-st-text-soft);
}
#tiptip_arrow,
#tiptip_arrow_inner {
  position: absolute;
  border-color: transparent;
  border-style: solid;
  border-width: 6px;
  height: 0;
  width: 0;
}
#tiptip_holder.tip_top #tiptip_arrow {
  border-top-color: #fff;
  border-top-color: rgba(255, 255, 255, 0.35);
}
#tiptip_holder.tip_bottom #tiptip_arrow {
  border-bottom-color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.35);
}
#tiptip_holder.tip_right #tiptip_arrow {
  border-right-color: #fff;
  border-right-color: rgba(255, 255, 255, 0.35);
}
#tiptip_holder.tip_left #tiptip_arrow {
  border-left-color: #fff;
  border-left-color: rgba(255, 255, 255, 0.35);
}
#tiptip_holder.tip_top #tiptip_arrow_inner {
  margin-top: -7px;
  margin-left: -6px;
  border-top-color: rgb(25, 25, 25);
  border-top-color: rgba(25, 25, 25, 0.92);
}
#tiptip_holder.tip_bottom #tiptip_arrow_inner {
  margin-top: -5px;
  margin-left: -6px;
  border-bottom-color: rgb(25, 25, 25);
  border-bottom-color: rgba(25, 25, 25, 0.92);
}
#tiptip_holder.tip_right #tiptip_arrow_inner {
  margin-top: -6px;
  margin-left: -5px;
  border-right-color: rgb(25, 25, 25);
  border-right-color: rgba(25, 25, 25, 0.92);
}
#tiptip_holder.tip_left #tiptip_arrow_inner {
  margin-top: -6px;
  margin-left: -7px;
  border-left-color: rgb(25, 25, 25);
  border-left-color: rgba(25, 25, 25, 0.92);
}
@media screen and (-webkit-min-device-pixel-ratio: 0) {
  #tiptip_content {
    padding: 4px 8px 5px 8px;
    background-color: rgba(45, 45, 45, 0.88);
  }
  #tiptip_holder.tip_bottom #tiptip_arrow_inner {
    border-bottom-color: rgba(45, 45, 45, 0.88);
  }
  #tiptip_holder.tip_top #tiptip_arrow_inner {
    border-top-color: rgba(20, 20, 20, 0.92);
  }
}
.woocommerce-help-tip {
  vertical-align: middle;
  cursor: help;
  margin: -2px -24px 0 5px;
  line-height: 1;
  color: var(--nbd-st-text-soft);
  display: inline-block;
  font-size: 1.1em;
  font-style: normal;
  height: 16px;
  position: relative;
  width: 16px;
}
.woocommerce-help-tip::after {
  font-family: Dashicons;
  speak: none;
  font-weight: 400;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  text-indent: 0px;
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  text-align: center;
  content: "";
  cursor: help;
  font-variant: normal;
  margin: 0px;
}
/* End tipTip */
.dashicons {
  margin-top: 4px;
}
.nbd-r180 {
  transform: rotate(180deg);
  -webkit-transform: rotate(180deg);
}
.pcpb-field-btn {
  margin-bottom: 4px !important;
}
.section-title {
  margin: 0;
}
.section-title input {
  margin-left: 15px;
  padding-left: 10px;
}
.nbd-section-wrap {
  margin-top: -12px;
  border: 1px solid var(--nbd-st-border-light);
  padding: 30px 12px 12px;
}
.pcpb-field-wrap {
  margin: 12px 0;
  border: 1px solid var(--nbd-st-border-light);
  overflow: hidden;
}
.pcpb-field-content {
  display: none;
  padding: 12px;
  border-top: 1px solid var(--nbd-st-border-light);
  margin-top: -1px;
}
.pcpb-field-content.active {
  display: block;
}
.nbd-nav {
  position: relative;
}
.nbd-nav ul {
  margin: 0;
  font-size: 0;
  display: inline-block;
}
.nbd-nav ul li {
  display: inline-block;
  margin: 0;
  padding: 10px;
  background: var(--nbd-st-border-light);
  font-size: 14px;
  cursor: pointer;
  border-right: 1px solid #fff;
}
.nbd-nav ul li.active {
  background: #fff;
}
.nbd-nav ul li:last-child {
  border-right: 1px solid var(--nbd-st-border-light);
}
.field-action {
  margin-top: 4px;
  margin-right: 4px;
}
.section-container:not(:first-child) {
  margin-top: 15px;
}
.pcpb-fields-wrap {
  -webkit-transition: all 0.4s;
  -moz-transition: all 0.4s;
  transition: all 0.4s;
}
.pcpb-fields-wrap.float {
  position: fixed;
  z-index: 9;
  top: 50px;
  -webkit-box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.14);
  -moz-box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.14);
  -ms-box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.14);
  box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.14);
  right: 0;
}
.pcpb-fields-wrap.float .pcpb-field-btn {
  display: block;
}
.pcpb-field-info {
  clear: both;
  overflow: hidden;
}
.pcpb-field-info .pcpb-field-info-1,
.pcpb-field-info .pcpb-field-info-2 {
  margin-bottom: 15px;
}
.tab-general ng-include:last-child .pcpb-field-info-1,
.tab-general ng-include:last-child .pcpb-field-info-2 {
  margin-bottom: 0;
}
.pcpb-field-info-1 {
  float: left;
  width: 150px;
}
.pcpb-field-info-2 {
  float: left;
  padding-left: 15px;
  width: calc(100% - 165px);
}
.pcpb-field-info-2 input[type="text"],
.pcpb-field-info-2 textarea,
.pcpb-field-info-2 select {
  width: 300px;
}
.pcpb-field-info-2 input[type="text"].nbd-medium-ip {
  width: 200px;
}
.nbd-short-ip {
  width: 70px !important;
  display: inline-block;
}
.nbd-inline {
  display: inline-block;
  vertical-align: top;
}
.nbd-mini-btn {
  padding: 0 4px !important;
}
.nbd-table {
  border-collapse: collapse;
  min-width: 300px;
}
.nbd-table td,
.nbd-table th {
  border: 1px solid var(--nbd-st-border-light);
  padding: 8px;
  text-align: center;
}
.nbd-table-wrap {
  max-width: 100%;
  overflow-x: scroll;
  overflow: auto;
}
/* Text-align utility classes for nbpb table cells — replaces inline styles */
.nbpb-cell--center { text-align: center; }
.nbpb-cell--left   { text-align: left; }
.debug {
  position: fixed;
  top: 200px;
  right: 0;
  background: #fff;
  width: 40px;
  height: 40px;
  border: 1px solid var(--nbd-st-border-light);
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.debug .dashicons {
  margin: 0;
}
.nbd-ip-readonly {
  border: 1px solid var(--nbd-st-border-light) !important;
}
.dashicons.min {
  font-size: var(--st-icon-md);
  margin-top: 5px;
}
.nbd-attribute-img-wrap,
.nbd-attribute-content-wrap {
  display: inline-block;
  vertical-align: top;
  float: left;
}
.nbd-attribute-img-wrap {
  width: 110px;
}
.nbd-attribute-img-inner {
  position: relative;
  margin-top: 9px;
  width: 40px;
  height: 40px;
}
.nbd-attribute-content-wrap {
  padding-left: 10px;
  width: calc(100% - 120px);
}
.nbd-attribute-img-wrap img {
  padding: 2px;
  border: 1px solid var(--nbd-st-border-light);
  vertical-align: middle;
  cursor: pointer;
  max-width: 30px;
  max-height: 30px;
}
.nbd-attribute-color-pre {
  width: 30px;
  height: 30px;
  padding: 2px;
  border: 1px solid var(--nbd-st-border-light);
  margin-top: 9px;
}
.wp-picker-input-wrap .button {
  margin: 0 !important;
}
.nbd-attribute-wrap {
  margin-bottom: 10px;
}
.remove-attribute-img {
  width: 20px;
  height: 20px;
  line-height: 21px;
  background-color: #fff;
  border-radius: 50%;
  border: 1px solid var(--nbd-st-border-subtle);
  font-size: 15px;
  text-align: center;
  position: absolute;
  top: -10px;
  right: -10px;
  cursor: pointer;
  display: none;
}
.nbd-attribute-img-wrap:hover .remove-attribute-img {
  display: block;
}
.remove-attribute-img:hover {
  border-color: var(--nbd-st-text-mute);
}
.nbd-attribute-wrap {
  position: relative;
  padding: 10px;
  border: 1px solid var(--nbd-st-border-light);
  min-height: 15px;
}
.nbd-attribute-action {
  position: absolute;
  top: 3px;
  right: 3px;
}
.nbd-margin-10 {
  margin-top: 10px;
}
.nbd-attribute-name {
  font-size: 0;
}
.nbd-attribute-name > input {
  margin: 0;
}
.nbd-attribute-name label {
  height: 27px;
  display: inline-block;
  line-height: 27px;
  background: var(--nbd-st-bg-canvas);
  vertical-align: top;
  font-size: 14px;
  padding: 0 10px;
}
.collapse {
  display: none;
  visibility: hidden;
  -webkit-transition: all 0.4s;
  -moz-transition: all 0.4s;
  transition: all 0.4s;
}
.collapse.in {
  display: block;
  visibility: visible;
}
.nbd-tab-nav {
  -webkit-transition: all 0.4s;
  -moz-transition: all 0.4s;
  transition: all 0.4s;
}
.nbd-tab-nav.left {
  -webkit-transform: translateX(-100%);
  -moz-transform: translateX(-100%);
  transform: translateX(-100%);
}
.pcpb-field-name {
  -webkit-transition: all 0.6s;
  -moz-transition: all 0.6s;
  transition: all 0.6s;
  opacity: 0;
  height: 100%;
  line-height: 38px;
  max-width: calc(50%);
}
.pcpb-field-name span:first-child {
  font-weight: bold;
  display: none;
}
.pcpb-field-name.left {
  position: absolute;
  left: 15px;
  height: 100%;
  line-height: 38px;
  opacity: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: calc(100% - 200px);
}
.pcpb-field-name.left span:first-child {
  display: unset;
}
.nbd-option-label input[type="radio"] {
  display: none;
}
.nbd-option-label input {
  width: 30px;
  display: block;
}
.nbd-inline-option {
  display: inline-block;
  margin-right: 15px;
}
.nbd-option-label label {
  padding: 15px;
  border: 1px solid var(--nbd-st-border-light);
  border-radius: 4px;
  display: inline-block;
  background-size: cover;
}
.nbd-option-label input:checked + label {
  border: 1px solid red;
}
.nbd-option-radio label {
  background: none !important;
}
.nbd-option-wrapper input[type="radio"] {
  display: none;
}
.nbd-swatch {
  width: 36px;
  height: 36px;
  display: inline-block;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid #fff;
}
.nbd-option-wrapper label {
  cursor: pointer;
  margin: 0 !important;
  margin-right: 5px !important;
}
.nbd-swatch-wrap input[type="radio"]:checked + label {
  border: 2px solid #0c8ea7;
  position: relative;
  display: inline-block;
}
/* nbd-radio */
@keyframes ripple {
  0% {
    box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0);
  }
  50% {
    box-shadow: 0px 0px 0px 15px rgba(0, 0, 0, 0.1);
  }
  100% {
    box-shadow: 0px 0px 0px 15px rgba(0, 0, 0, 0);
  }
}
@-webkit-keyframes ripple {
  0% {
    box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0);
  }
  50% {
    box-shadow: 0px 0px 0px 15px rgba(0, 0, 0, 0.1);
  }
  100% {
    box-shadow: 0px 0px 0px 15px rgba(0, 0, 0, 0);
  }
}
.nbd-radio input[type="radio"]:checked + label:before {
  border-color: #0c8ea7;
  animation: ripple 0.2s linear forwards;
}
.nbd-radio input[type="radio"]:checked + label:after {
  transform: scale(1);
}
.nbd-radio label {
  display: inline-block;
  height: 20px;
  position: relative;
  padding: 0 30px;
  margin-bottom: 0;
  cursor: pointer;
  line-height: 20px;
}
.nbd-radio label:before,
.nbd-radio label:after {
  position: absolute;
  content: "";
  border-radius: 50%;
  transition: all 0.3s ease;
  transition-property: transform, border-color;
  box-sizing: border-box;
}
.nbd-radio label:before {
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(0, 0, 0, 0.54);
}
.nbd-radio label:after {
  top: 5px;
  left: 5px;
  width: 10px;
  height: 10px;
  transform: scale(0);
  background: #0c8ea7;
}
/* end. nbd-radio */
.nbd-option-wrapper {
  padding: 15px 0;
}
.nbd-option-field select,
.nbd-option-field input[type="text"] {
  min-width: 150px;
}
.pcpb-field-header label {
  font-weight: bold;
}
.pcpb-field-content {
  padding: 10px;
}
.nbd-option-wrapper label {
  cursor: pointer;
  margin: 0 !important;
  margin-right: 5px !important;
  display: inline-block;
}
.nbd-swatch label {
  width: 36px;
  height: 36px;
  display: inline-block;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid #fff;
}
.nbd-option-wrapper input[type="radio"] {
  display: none;
}
.nbd-swatch input[type="radio"]:checked + label {
  border: 2px solid #0c8ea7;
  position: relative;
  display: inline-block;
}
.nbd-swatch input[type="radio"]:checked + label:before {
  display: block;
  top: 0;
  left: 0;
  border: 2px solid #fff;
  position: absolute;
  z-index: 2;
  width: 100%;
  height: 100%;
  content: "";
  border-radius: 100%;
  box-sizing: border-box;
}
.nbd-dropdown {
  border: 1px solid var(--nbd-st-border-subtle);
  height: 40px !important;
  padding: 3px 40px 3px 8px !important;
  background-color: transparent;
  line-height: 100%;
  outline: 0;
  background-image: url("../images/arrow.png");
  background-position: right;
  background-repeat: no-repeat;
  position: relative;
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
}
.nb_input_slider {
  margin-left: 0;
  flex: 1;
}

.nb_input_slider {
  padding: 0;
  -webkit-appearance: none;
  background: transparent;
}
.nb_input_slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  height: 18px;
  width: 18px;
  border-radius: 50%;
  cursor: pointer;
  background: var(--nbd-st-text-soft);
  border: 4px solid transparent;
  background-clip: padding-box;
  box-sizing: border-box;
  margin-top: -7px;
}

.nb_input_slider::-moz-range-thumb {
  height: 18px;
  width: 18px;
  border-radius: 50%;
  cursor: pointer;
  background: var(--nbd-st-text-soft);
  border: 4px solid transparent;
  background-clip: padding-box;
  box-sizing: border-box;
}

.nb_input_slider::-ms-thumb {
  height: 18px;
  width: 18px;
  border-radius: 50%;
  cursor: pointer;
  background: var(--nbd-st-text-soft);
  border: 4px solid transparent;
  background-clip: padding-box;
  box-sizing: border-box;
  margin-top: 0;
  height: 14px;
  width: 14px;
  border: 2px solid transparent;
}

.nb_input_slider:focus {
  outline: none;
}

.nb_input_slider:focus::-webkit-slider-thumb {
  background-color: #fff;
  color: var(--nbd-st-text);
  box-shadow: inset 0 0 0 1px var(--nbd-st-text-soft), inset 0 0 0 2px #fff;
  outline: 2px solid transparent;
  outline-offset: -2px;
}

.nb_input_slider:focus::-moz-range-thumb {
  background-color: #fff;
  color: var(--nbd-st-text);
  box-shadow: inset 0 0 0 1px var(--nbd-st-text-soft), inset 0 0 0 2px #fff;
  outline: 2px solid transparent;
  outline-offset: -2px;
}

.nb_input_slider:focus::-ms-thumb {
  background-color: #fff;
  color: var(--nbd-st-text);
  box-shadow: inset 0 0 0 1px var(--nbd-st-text-soft), inset 0 0 0 2px #fff;
  outline: 2px solid transparent;
  outline-offset: -2px;
}

.nb_input_slider::-webkit-slider-runnable-track {
  height: 3px;
  cursor: pointer;
  background: var(--nbd-st-border-light);
  border-radius: 1.5px;
  margin-top: -4px;
}

.nb_input_slider::-moz-range-track {
  height: 3px;
  cursor: pointer;
  background: var(--nbd-st-border-light);
  border-radius: 1.5px;
}

.nb_input_slider::-ms-track {
  margin-top: -4px;
  background: transparent;
  border-color: transparent;
  color: transparent;
  height: 3px;
  cursor: pointer;
  background: var(--nbd-st-border-light);
  border-radius: 1.5px;
}
.nb_input_slider_num {
  display: inline-block;
  margin-left: 10px;
  font-weight: 500;
  width: 50px;
  padding: 3px 5px !important;
}
.nbd-label {
  margin: 0 !important;
}
.nbd-label label {
  border-radius: 36px;
  height: 36px;
  line-height: 36px;
  padding: 0 15px;
  background: var(--nbd-st-border-light);
  text-transform: uppercase;
  font-size: 13px;
  display: inline-block;
  margin: 0 5px 5px 0;
  -webkit-box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.14);
  -moz-box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.14);
  -ms-box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.14);
  box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.14);
  color: var(--nbd-st-text-soft);
  -webkit-transition: all 0.4s;
  -moz-transition: all 0.4s;
  -ms-transition: all 0.4s;
  transition: all 0.4s;
  background: var(--nbd-st-border-subtle);
  margin-bottom: 5px !important;
}
.nbd-label input[type="radio"]:checked + label {
  background: #0c8ea7;
  color: #fff;
}
.nbd-label label:hover {
  -webkit-box-shadow: 0 3px 10px 0 rgba(75, 79, 84, 0.3);
  -moz-box-shadow: 0 3px 10px 0 rgba(75, 79, 84, 0.3);
  -ms-box-shadow: 0 3px 10px 0 rgba(75, 79, 84, 0.3);
  box-shadow: 0 3px 10px 0 rgba(75, 79, 84, 0.3);
}
@media (max-width: 768px) {
  .pcpb-field-info-1,
  .pcpb-field-info-2 {
    width: 100%;
    max-width: 100%;
    padding: 0;
  }
  .pcpb-field-info-2 input[type="text"],
  .pcpb-field-info-2 textarea,
  .pcpb-field-info-2 select {
    max-width: 100%;
  }
  .nbd-attribute-content-wrap {
    width: 100%;
    padding: 0;
    margin-top: 10px;
  }
}
/*Frontend*/
.nbd-quantity-r input {
  display: none;
}
.nbd-quantity-r label {
  display: inline-block;
  padding: 15px;
  border: 1px solid var(--nbd-st-border-light);
  border-radius: 4px;
}
.nbd-quantity-r input:checked + label {
  border: 1px solid red;
}
.preview-wrap {
  margin-bottom: 5px;
}
.nbs-sup-des {
  text-align: center;
  cursor: pointer;
  font-size: 8px;
  margin-left: 5px;
  width: 10px;
  height: 10px;
  background: var(--nbd-st-text);
  display: inline-block;
  line-height: 10px;
  border-radius: 50%;
  color: #fff;
}
.bg_od_preview {
  width: 40px;
  height: 40px;
  cursor: pointer;
}
.nbo-sort-group {
  width: 30px;
  height: 28px;
  position: relative;
  vertical-align: top;
  display: inline-block;
}
.nbo-sort {
  width: 100%;
  position: absolute;
  color: var(--nbd-st-text-soft);
  border-width: 1px;
  border-style: solid;
  border-color: var(--nbd-st-border);
  background: var(--nbd-st-bg-soft);
  box-sizing: border-box;
  line-height: 12px;
  text-align: center;
  cursor: pointer;
  height: 14px;
  margin: 0;
}
.nbo-sort:hover {
  background: var(--nbd-st-bg-soft);
  border-color: var(--nbd-st-text-mute);
  color: var(--nbd-st-text);
}
.nbo-sort-up {
  top: 0;
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;
}
.nbo-sort-down {
  top: 15px;
  border-bottom-left-radius: 3px;
  border-bottom-right-radius: 3px;
}
.ui-datepicker-trigger {
  cursor: pointer;
}
.misc-publishing-actions {
  padding: 6px 10px 8px;
}
#nbo-categories ul {
  margin-left: 18px;
}
.nbo-toggle {
  display: none;
}
.nbo-toggle.active {
  display: block;
}
.select2-container {
  box-sizing: border-box;
  display: inline-block;
  margin: 0;
  position: relative;
  vertical-align: middle;
}
.select2-container .select2-selection--single {
  box-sizing: border-box;
  cursor: pointer;
  display: block;
  height: 28px;
  margin: 0 0 -4px;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-user-select: none;
}
.select2-container .select2-selection--single .select2-selection__rendered {
  display: block;
  padding-left: 8px;
  padding-right: 20px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.select2-container .select2-selection--single .select2-selection__clear {
  position: relative;
}
.select2-container[dir="rtl"]
  .select2-selection--single
  .select2-selection__rendered {
  padding-right: 8px;
  padding-left: 20px;
}
.select2-container .select2-selection--multiple {
  box-sizing: border-box;
  cursor: pointer;
  display: block;
  min-height: 32px;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-user-select: none;
}
.select2-container .select2-selection--multiple .select2-selection__rendered {
  display: inline-block;
  overflow: hidden;
  padding-left: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.select2-container .select2-search--inline {
  float: left;
  padding: 0;
}
.select2-container .select2-search--inline .select2-search__field {
  box-sizing: border-box;
  border: none;
  font-size: 100%;
  margin: 0;
  padding: 0;
}
.select2-container
  .select2-search--inline
  .select2-search__field::-webkit-search-cancel-button {
  -webkit-appearance: none;
}
.select2-dropdown {
  background-color: #fff;
  border: 1px solid var(--nbd-st-text-mute);
  border-radius: 4px;
  box-sizing: border-box;
  display: block;
  position: absolute;
  left: -100000px;
  width: 100%;
  z-index: 1051;
}
.select2-results {
  display: block;
}
.select2-results__options {
  list-style: none;
  margin: 0;
  padding: 0;
}
.select2-results__option {
  padding: 6px;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-user-select: none;
}
.select2-results__option[aria-selected],
.select2-results__option[data-selected] {
  cursor: pointer;
}
.select2-container--open .select2-dropdown {
  left: 0;
}
.select2-container--open .select2-dropdown--above {
  border-bottom: none;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}
.select2-container--open .select2-dropdown--below {
  border-top: none;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}
.select2-search--dropdown {
  display: block;
  padding: 4px;
}
.select2-search--dropdown .select2-search__field {
  padding: 4px;
  width: 100%;
  box-sizing: border-box;
}
.select2-search--dropdown .select2-search__field::-webkit-search-cancel-button {
  -webkit-appearance: none;
}
.select2-search--dropdown.select2-search--hide {
  display: none;
}
.select2-close-mask {
  border: 0;
  margin: 0;
  padding: 0;
  display: block;
  position: fixed;
  left: 0;
  top: 0;
  min-height: 100%;
  min-width: 100%;
  height: auto;
  width: auto;
  opacity: 0;
  z-index: 99;
  background-color: #fff;
}
.select2-hidden-accessible {
  border: 0 !important;
  clip: rect(0 0 0 0) !important;
  height: 1px !important;
  margin: -1px !important;
  overflow: hidden !important;
  padding: 0 !important;
  position: absolute !important;
  width: 1px !important;
}
.select2-container--default .select2-selection--single {
  background-color: #fff;
  border: 1px solid var(--nbd-st-text-mute);
  border-radius: 4px;
}
.select2-container--default
  .select2-selection--single
  .select2-selection__rendered {
  color: var(--nbd-st-text);
  line-height: 28px;
}
.select2-container--default
  .select2-selection--single
  .select2-selection__clear {
  cursor: pointer;
  float: right;
  font-weight: 700;
}
.select2-container--default
  .select2-selection--single
  .select2-selection__placeholder {
  color: var(--nbd-st-text-mute);
}
.select2-container--default
  .select2-selection--single
  .select2-selection__arrow {
  height: 26px;
  position: absolute;
  top: 1px;
  right: 1px;
  width: 20px;
}
.select2-container--default
  .select2-selection--single
  .select2-selection__arrow
  b {
  border-color: var(--nbd-st-text-soft) transparent transparent transparent;
  border-style: solid;
  border-width: 5px 4px 0 4px;
  height: 0;
  left: 50%;
  margin-left: -4px;
  margin-top: -2px;
  position: absolute;
  top: 50%;
  width: 0;
}
.select2-container--default[dir="rtl"]
  .select2-selection--single
  .select2-selection__clear {
  float: left;
}
.select2-container--default[dir="rtl"]
  .select2-selection--single
  .select2-selection__arrow {
  left: 1px;
  right: auto;
}
.select2-container--default.select2-container--disabled
  .select2-selection--single {
  background-color: var(--nbd-st-border-subtle);
  cursor: default;
}
.select2-container--default.select2-container--disabled
  .select2-selection--single
  .select2-selection__clear {
  display: none;
}
.select2-container--default.select2-container--open
  .select2-selection--single
  .select2-selection__arrow
  b {
  border-color: transparent transparent var(--nbd-st-text-soft) transparent;
  border-width: 0 4px 5px 4px;
}
.select2-container--default .select2-selection--multiple {
  background-color: #fff;
  border: 1px solid var(--nbd-st-text-mute);
  border-radius: 4px;
  cursor: text;
}
.select2-container--default
  .select2-selection--multiple
  .select2-selection__rendered {
  box-sizing: border-box;
  list-style: none;
  margin: 0;
  padding: 0 5px;
  width: 100%;
}
.select2-container--default
  .select2-selection--multiple
  .select2-selection__rendered
  li {
  list-style: none;
  margin: 5px 5px 0 0;
}
.select2-container--default
  .select2-selection--multiple
  .select2-selection__rendered
  li:before {
  content: "";
  display: none;
}
.select2-container--default
  .select2-selection--multiple
  .select2-selection__placeholder {
  color: var(--nbd-st-text-mute);
  margin-top: 5px;
  float: left;
}
.select2-container--default
  .select2-selection--multiple
  .select2-selection__clear {
  cursor: pointer;
  float: right;
  font-weight: 700;
  margin-top: 5px;
  margin-right: 10px;
}
.select2-container--default
  .select2-selection--multiple
  .select2-selection__choice {
  background-color: var(--nbd-st-border-light);
  border: 1px solid var(--nbd-st-text-mute);
  border-radius: 4px;
  cursor: default;
  float: left;
  margin-right: 5px;
  margin-top: 5px;
  padding: 0 5px;
}
.select2-container--default
  .select2-selection--multiple
  .select2-selection__choice__remove {
  color: var(--nbd-st-text-mute);
  cursor: pointer;
  display: inline-block;
  font-weight: 700;
  margin-right: 2px;
}
.select2-container--default
  .select2-selection--multiple
  .select2-selection__choice__remove:hover {
  color: var(--nbd-st-text);
}
.select2-container--default[dir="rtl"]
  .select2-selection--multiple
  .select2-search--inline,
.select2-container--default[dir="rtl"]
  .select2-selection--multiple
  .select2-selection__choice,
.select2-container--default[dir="rtl"]
  .select2-selection--multiple
  .select2-selection__placeholder {
  float: right;
}
.select2-container--default[dir="rtl"]
  .select2-selection--multiple
  .select2-selection__choice {
  margin-left: 5px;
  margin-right: auto;
}
.select2-container--default[dir="rtl"]
  .select2-selection--multiple
  .select2-selection__choice__remove {
  margin-left: 2px;
  margin-right: auto;
}
.select2-container--default.select2-container--focus
  .select2-selection--multiple {
  border: solid #000 1px;
  outline: 0;
}
.select2-container--default.select2-container--disabled
  .select2-selection--multiple {
  background-color: var(--nbd-st-border-subtle);
  cursor: default;
}
.select2-container--default.select2-container--disabled
  .select2-selection__choice__remove {
  display: none;
}
.select2-container--default.select2-container--open.select2-container--above
  .select2-selection--multiple,
.select2-container--default.select2-container--open.select2-container--above
  .select2-selection--single {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}
.select2-container--default.select2-container--open.select2-container--below
  .select2-selection--multiple,
.select2-container--default.select2-container--open.select2-container--below
  .select2-selection--single {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}
.select2-container--default .select2-search--dropdown .select2-search__field {
  border: 1px solid var(--nbd-st-text-mute);
}
.select2-container--default .select2-search--inline .select2-search__field {
  background: 0 0;
  border: none;
  outline: 0;
  box-shadow: none;
  -webkit-appearance: textfield;
}
.select2-container--default .select2-results > .select2-results__options {
  max-height: 200px;
  overflow-y: auto;
}
.select2-container--default .select2-results__option[role="group"] {
  padding: 0;
}
.select2-container--default .select2-results__option[aria-disabled="true"] {
  color: var(--nbd-st-text-mute);
}
.select2-container--default .select2-results__option[aria-selected="true"],
.select2-container--default .select2-results__option[data-selected="true"] {
  background-color: var(--nbd-st-border-light);
}
.select2-container--default .select2-results__option .select2-results__option {
  padding-left: 1em;
}
.select2-container--default
  .select2-results__option
  .select2-results__option
  .select2-results__group {
  padding-left: 0;
}
.select2-container--default
  .select2-results__option
  .select2-results__option
  .select2-results__option {
  margin-left: -1em;
  padding-left: 2em;
}
.select2-container--default
  .select2-results__option
  .select2-results__option
  .select2-results__option
  .select2-results__option {
  margin-left: -2em;
  padding-left: 3em;
}
.select2-container--default
  .select2-results__option
  .select2-results__option
  .select2-results__option
  .select2-results__option
  .select2-results__option {
  margin-left: -3em;
  padding-left: 4em;
}
.select2-container--default
  .select2-results__option
  .select2-results__option
  .select2-results__option
  .select2-results__option
  .select2-results__option
  .select2-results__option {
  margin-left: -4em;
  padding-left: 5em;
}
.select2-container--default
  .select2-results__option
  .select2-results__option
  .select2-results__option
  .select2-results__option
  .select2-results__option
  .select2-results__option
  .select2-results__option {
  margin-left: -5em;
  padding-left: 6em;
}
.select2-container--default
  .select2-results__option--highlighted[aria-selected],
.select2-container--default
  .select2-results__option--highlighted[data-selected] {
  background-color: var(--nbd-st-primary);
  color: #fff;
}
.select2-container--default .select2-results__group {
  cursor: default;
  display: block;
  padding: 6px;
}
.select2-container--classic .select2-selection--single {
  background-color: var(--nbd-st-bg-soft);
  border: 1px solid var(--nbd-st-text-mute);
  border-radius: 4px;
  outline: 0;
  background-image: -webkit-linear-gradient(top, #fff 50%, var(--nbd-st-border-subtle) 100%);
  background-image: linear-gradient(to bottom, #fff 50%, var(--nbd-st-border-subtle) 100%);
  background-repeat: repeat-x;
}
.select2-container--classic .select2-selection--single:focus {
  border: 1px solid var(--nbd-st-primary);
}
.select2-container--classic
  .select2-selection--single
  .select2-selection__rendered {
  color: var(--nbd-st-text);
  line-height: 28px;
}
.select2-container--classic
  .select2-selection--single
  .select2-selection__clear {
  cursor: pointer;
  float: right;
  font-weight: 700;
  margin-right: 10px;
}
.select2-container--classic
  .select2-selection--single
  .select2-selection__placeholder {
  color: var(--nbd-st-text-mute);
}
.select2-container--classic
  .select2-selection--single
  .select2-selection__arrow {
  background-color: var(--nbd-st-border-light);
  border: none;
  border-left: 1px solid var(--nbd-st-text-mute);
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
  height: 26px;
  position: absolute;
  top: 1px;
  right: 1px;
  width: 20px;
  background-image: -webkit-linear-gradient(top, var(--nbd-st-border-subtle) 50%, var(--nbd-st-border) 100%);
  background-image: linear-gradient(to bottom, var(--nbd-st-border-subtle) 50%, var(--nbd-st-border) 100%);
  background-repeat: repeat-x;
}
.select2-container--classic
  .select2-selection--single
  .select2-selection__arrow
  b {
  border-color: var(--nbd-st-text-soft) transparent transparent transparent;
  border-style: solid;
  border-width: 5px 4px 0 4px;
  height: 0;
  left: 50%;
  margin-left: -4px;
  margin-top: -2px;
  position: absolute;
  top: 50%;
  width: 0;
}
.select2-container--classic[dir="rtl"]
  .select2-selection--single
  .select2-selection__clear {
  float: left;
}
.select2-container--classic[dir="rtl"]
  .select2-selection--single
  .select2-selection__arrow {
  border: none;
  border-right: 1px solid var(--nbd-st-text-mute);
  border-radius: 0;
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
  left: 1px;
  right: auto;
}
.select2-container--classic.select2-container--open .select2-selection--single {
  border: 1px solid var(--nbd-st-primary);
}
.select2-container--classic.select2-container--open
  .select2-selection--single
  .select2-selection__arrow {
  background: 0 0;
  border: none;
}
.select2-container--classic.select2-container--open
  .select2-selection--single
  .select2-selection__arrow
  b {
  border-color: transparent transparent var(--nbd-st-text-soft) transparent;
  border-width: 0 4px 5px 4px;
}
.select2-container--classic.select2-container--open.select2-container--above
  .select2-selection--single {
  border-top: none;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  background-image: -webkit-linear-gradient(top, #fff 0, var(--nbd-st-border-subtle) 50%);
  background-image: linear-gradient(to bottom, #fff 0, var(--nbd-st-border-subtle) 50%);
  background-repeat: repeat-x;
}
.select2-container--classic.select2-container--open.select2-container--below
  .select2-selection--single {
  border-bottom: none;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  background-image: -webkit-linear-gradient(top, var(--nbd-st-border-subtle) 50%, #fff 100%);
  background-image: linear-gradient(to bottom, var(--nbd-st-border-subtle) 50%, #fff 100%);
  background-repeat: repeat-x;
}
.select2-container--classic .select2-selection--multiple {
  background-color: #fff;
  border: 1px solid var(--nbd-st-text-mute);
  border-radius: 4px;
  cursor: text;
  outline: 0;
}
.select2-container--classic .select2-selection--multiple:focus {
  border: 1px solid var(--nbd-st-primary);
}
.select2-container--classic
  .select2-selection--multiple
  .select2-selection__rendered {
  list-style: none;
  margin: 0;
  padding: 0 5px;
}
.select2-container--classic
  .select2-selection--multiple
  .select2-selection__clear {
  display: none;
}
.select2-container--classic
  .select2-selection--multiple
  .select2-selection__choice {
  background-color: var(--nbd-st-border-light);
  border: 1px solid var(--nbd-st-text-mute);
  border-radius: 4px;
  cursor: default;
  float: left;
  margin-right: 5px;
  margin-top: 5px;
  padding: 0 5px;
}
.select2-container--classic
  .select2-selection--multiple
  .select2-selection__choice__remove {
  color: var(--nbd-st-text-soft);
  cursor: pointer;
  display: inline-block;
  font-weight: 700;
  margin-right: 2px;
}
.select2-container--classic
  .select2-selection--multiple
  .select2-selection__choice__remove:hover {
  color: var(--nbd-st-text-soft);
}
.select2-container--classic[dir="rtl"]
  .select2-selection--multiple
  .select2-selection__choice {
  float: right;
}
.select2-container--classic[dir="rtl"]
  .select2-selection--multiple
  .select2-selection__choice {
  margin-left: 5px;
  margin-right: auto;
}
.select2-container--classic[dir="rtl"]
  .select2-selection--multiple
  .select2-selection__choice__remove {
  margin-left: 2px;
  margin-right: auto;
}
.select2-container--classic.select2-container--open
  .select2-selection--multiple {
  border: 1px solid var(--nbd-st-primary);
}
.select2-container--classic.select2-container--open.select2-container--above
  .select2-selection--multiple {
  border-top: none;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}
.select2-container--classic.select2-container--open.select2-container--below
  .select2-selection--multiple {
  border-bottom: none;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}
.select2-container--classic .select2-search--dropdown .select2-search__field {
  border: 1px solid var(--nbd-st-text-mute);
  outline: 0;
}
.select2-container--classic .select2-search--inline .select2-search__field {
  outline: 0;
  box-shadow: none;
}
.select2-container--classic .select2-dropdown {
  background-color: #fff;
  border: 1px solid transparent;
}
.select2-container--classic .select2-dropdown--above {
  border-bottom: none;
}
.select2-container--classic .select2-dropdown--below {
  border-top: none;
}
.select2-container--classic .select2-results > .select2-results__options {
  max-height: 200px;
  overflow-y: auto;
}
.select2-container--classic .select2-results__option[role="group"] {
  padding: 0;
}
.select2-container--classic .select2-results__option[aria-disabled="true"] {
  color: grey;
}
.select2-container--classic
  .select2-results__option--highlighted[aria-selected],
.select2-container--classic
  .select2-results__option--highlighted[data-selected] {
  background-color: var(--st-brand);
  color: #fff;
}
.select2-container--classic .select2-results__group {
  cursor: default;
  display: block;
  padding: 6px;
}
.select2-container--classic.select2-container--open .select2-dropdown {
  border-color: var(--nbd-st-primary);
}
.nbo_color_emerald {
  color: var(--nbd-color-success);
  font-weight: bold;
}
.nbo_color_pomegranate {
  color: var(--nbd-color-danger);
}
.nbo-type-label {
  font-size: 10px;
  height: 16px;
  font-weight: bold;
  border-radius: 50%;
  line-height: 16px;
  text-align: center;
  display: inline-block;
  width: 16px;
  color: #fff;
}
.nbo-type-label-wrap {
  display: inline-block;
  margin-top: 8px;
  margin-right: 15px;
}
.nbo-type-label.default {
  background: #04a287;
}
.nbo-type-label.wod {
  background: var(--nbd-st-primary);
}
.nbo-type-label.wpo {
  background: #5a6e79;
}
.nbo-type-label.wpu {
  background: #3f51b5;
}
.nbd-subattributes-wrap {
  width: calc(100% - 7px);
  float: left;
  padding: 3px;
  border: 1px solid var(--nbd-st-border-light);
  margin-right: 7px;
  margin-bottom: 3px;
  position: relative;
  min-height: 28px;
}
.nbd-subattributes-wrap .nbd-attribute-action {
  top: 0px;
  right: 0px;
  background: #ffffff;
  padding: 2px;
}
.nbd-attribute-name-preview {
  position: absolute;
  top: 0;
  left: 0;
  width: calc(100% - 110px);
  height: 34px;
  overflow: hidden;
  padding: 0 10px;
  line-height: 34px;
  font-weight: bold;
}
.nbd-subattributes-wrap .nbd-attribute-img-wrap,
.nbd-subattributes-wrap .nbd-attribute-content-wrap {
  margin-top: 11px;
}
label.view-config {
  display: block;
  margin-bottom: 10px;
}
.view-config-image img {
  padding: 2px;
  border: 1px solid var(--nbd-st-border-light);
  vertical-align: middle;
  cursor: pointer;
  max-width: 30px;
  max-height: 30px;
}
.nbpb-text-configs .wp-picker-holder {
  position: absolute;
  z-index: 999;
}
.image-icon-wrap {
  position: relative;
  width: 40px;
  height: 40px;
  display: inline-block;
  margin-top: 9px;
}
.remove-image-icon {
  width: 20px;
  height: 20px;
  line-height: 21px;
  background-color: #fff;
  border-radius: 50%;
  border: 1px solid var(--nbd-st-border-subtle);
  font-size: 15px;
  text-align: center;
  position: absolute;
  top: -10px;
  right: -10px;
  cursor: pointer;
  display: none;
}
.image-icon-wrap:hover .remove-image-icon {
  display: block;
}
.remove-image-icon:hover {
  border-color: var(--nbd-st-text-mute);
}
.image-icon-wrap img {
  padding: 2px;
  border: 1px solid var(--nbd-st-border-light);
  vertical-align: middle;
  cursor: pointer;
  max-width: 30px;
  max-height: 30px;
}
.nbp-loading-wrap {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: rgba(255, 255, 255, 0.85);
  display: table;
  opacity: 0;
  visibility: hidden;
  z-index: -1;
}
.nbp-loading-wrap.nbp-show {
  opacity: 1 !important;
  z-index: 9999;
  visibility: visible;
}
.nbp-loading-ball {
  width: 20px;
  height: 20px;
  background-color: var(--nbd-st-text);
  border-radius: 50%;
  display: inline-block;
  -webkit-animation: nbpLoading 3s cubic-bezier(0.77, 0, 0.175, 1) infinite;
  animation: nbpLoading 3s cubic-bezier(0.77, 0, 0.175, 1) infinite;
}
.nbp-loading-spinner {
  width: 100px;
  height: 50px;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
  text-align: center;
}
@keyframes nbpLoading {
  0% {
    -webkit-transform: translateX(0) scale(1);
    -webkit-transform: translateX(0) scale(1);
    -ms-transform: translateX(0) scale(1);
    transform: translateX(0) scale(1);
  }
  25% {
    -webkit-transform: translateX(-50px) scale(0.3);
    -webkit-transform: translateX(-50px) scale(0.3);
    -ms-transform: translateX(-50px) scale(0.3);
    transform: translateX(-50px) scale(0.3);
  }
  50% {
    -webkit-transform: translateX(0) scale(1);
    -webkit-transform: translateX(0) scale(1);
    -ms-transform: translateX(0) scale(1);
    transform: translateX(0) scale(1);
  }
  75% {
    -webkit-transform: translateX(50px) scale(0.3);
    -webkit-transform: translateX(50px) scale(0.3);
    -ms-transform: translateX(50px) scale(0.3);
    transform: translateX(50px) scale(0.3);
  }
  100% {
    -webkit-transform: translateX(0) scale(1);
    -webkit-transform: translateX(0) scale(1);
    -ms-transform: translateX(0) scale(1);
    transform: translateX(0) scale(1);
  }
}
@-webkit-keyframes nbpLoading {
  0% {
    -webkit-transform: translateX(0) scale(1);
    -webkit-transform: translateX(0) scale(1);
    -ms-transform: translateX(0) scale(1);
    transform: translateX(0) scale(1);
  }
  25% {
    -webkit-transform: translateX(-50px) scale(0.3);
    -webkit-transform: translateX(-50px) scale(0.3);
    -ms-transform: translateX(-50px) scale(0.3);
    transform: translateX(-50px) scale(0.3);
  }
  50% {
    -webkit-transform: translateX(0) scale(1);
    -webkit-transform: translateX(0) scale(1);
    -ms-transform: translateX(0) scale(1);
    transform: translateX(0) scale(1);
  }
  75% {
    -webkit-transform: translateX(50px) scale(0.3);
    -webkit-transform: translateX(50px) scale(0.3);
    -ms-transform: translateX(50px) scale(0.3);
    transform: translateX(50px) scale(0.3);
  }
  100% {
    -webkit-transform: translateX(0) scale(1);
    -webkit-transform: translateX(0) scale(1);
    -ms-transform: translateX(0) scale(1);
    transform: translateX(0) scale(1);
  }
}
.nbo_blur.left {
  opacity: 0.5 !important;
}
.add-color2 {
  width: 15px;
  height: 15px;
  font-size: 15px;
  line-height: 15px;
  text-align: center;
  border: 1px solid var(--nbd-st-border-light);
  border-radius: 50%;
  display: inline-block;
  margin-bottom: 5px;
  cursor: pointer;
  box-sizing: content-box;
}
.nbd-group-wrap {
  border: 1px solid var(--nbd-st-border-light);
  padding: 10px;
  margin-bottom: 10px;
  position: relative;
  min-height: 15px;
}
.nbd-group-name-preview {
  position: absolute;
  top: 0;
  left: 0;
  width: calc(100% - 110px);
  height: 34px;
  overflow: hidden;
  padding: 0 10px;
  line-height: 34px;
  font-weight: bold;
}
.nbd-group-wrap:after {
  display: block;
  content: "";
  clear: both;
}
.nbd-group-img-wrap {
  width: 110px;
  float: left;
  vertical-align: top;
  display: inline-block;
}
.nbd-group-main {
  width: calc(100% - 120px);
  padding-left: 10px;
  display: inline-block;
  vertical-align: top;
  float: left;
}
.group-field {
  margin-bottom: 10px;
}
.nbd-group-main label {
  display: block;
}
.nbd-group-main input[type="text"],
.nbd-group-main select,
.nbd-group-main textarea {
  width: 300px;
}
.nbd-group-actions {
  position: absolute;
  top: 3px;
  right: 3px;
}
.nbd-group-img-inner {
  position: relative;
  margin-top: 9px;
  width: 40px;
  height: 40px;
}
.nbd-group-img-inner img {
  padding: 2px;
  border: 1px solid var(--nbd-st-border-light);
  vertical-align: middle;
  cursor: pointer;
  max-width: 30px;
  max-height: 30px;
}
.remove-group-img {
  width: 20px;
  height: 20px;
  line-height: 21px;
  background-color: #fff;
  border-radius: 50%;
  border: 1px solid var(--nbd-st-border-subtle);
  font-size: 15px;
  text-align: center;
  position: absolute;
  top: -10px;
  right: -10px;
  cursor: pointer;
  display: none;
}
.nbd-group-img-inner:hover .remove-group-img {
  display: block;
}
.wp-picker-active {
  position: relative;
  background: #fff;
}
.nbpb-text-configs .wp-picker-active {
  position: unset;
}
.nbd-w-100i {
  width: 100px !important;
}
.nbo-formula-popup-wrap {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: -1;
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s;
}
.nbo-formula-popup-wrap.active {
  z-index: 9999;
  opacity: 1;
  pointer-events: all;
}
.nbo-formula-popup {
  width: 600px;
  height: 80%;
  margin: 50px auto 0;
  background: #fff;
  -webkit-box-shadow: 0 5px 5px -3px rgba(0, 0, 0, 0.2),
    0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12);
  box-shadow: 0 5px 5px -3px rgba(0, 0, 0, 0.2),
    0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12);
  border-radius: 4px;
}
.nbo-formula-popup-header,
.nbo-formula-popup-footer {
  height: 50px;
  line-height: 49px;
  box-sizing: border-box;
  padding: 0 15px;
  font-weight: bold;
}
.nbo-formula-popup-header {
  border-bottom: 1px solid var(--nbd-st-border-light);
}
.nbo-formula-popup-footer {
  border-top: 1px solid var(--nbd-st-border-light);
  justify-content: flex-end;
  display: flex;
  align-items: center;
}
.nbo-formula-popup-footer .button {
  margin-left: 10px;
}
.nbo-formula-popup-body {
  height: calc(100% - 100px);
  overflow-x: hidden;
  overflow-y: auto;
  padding: 15px;
  box-sizing: border-box;
}
.nbo-formula-popup-body textarea {
  width: 100%;
}
.nbo-formula-popup-body .button {
  margin: 0 5px 5px 0;
}
.nbo-formula-link-field {
  margin-top: 15px;
  position: relative;
}
.nbo-formula-link-field select {
  width: 150px;
}
.nbo-formula-link-field-variable {
  position: absolute;
  top: 0;
  left: 200px;
  padding: 10px 10px 5px 10px;
  border: 1px solid var(--nbd-st-text-soft);
  width: calc(100% - 200px);
  box-sizing: border-box;
  border-radius: 4px;
}
.nbo-formula-link-field-variable:before {
  display: block;
  position: absolute;
  top: 15px;
  left: -50px;
  height: 1px;
  width: 50px;
  background: var(--nbd-st-text-soft);
  content: "";
}
.nbd-all-pm-fields-wrap {
  width: 100%;
  margin-bottom: 10px;
  box-sizing: border-box;
}
.nbd-pm-fields {
  border: 2px dashed var(--nbd-st-border-light);
  padding: 10px;
  padding-bottom: 6px;
  margin-bottom: 10px;
  border-radius: 4px;
  min-height: 50px;
}
.nbd-all-pm-fields {
  border: 2px solid var(--nbd-st-border-light);
}
.nbd-pm-builder-wrap {
  width: 100%;
  box-sizing: border-box;
}
.nbd-pm-horizontal-fields-wrap,
.nbd-pm-vertical-fields-wrap {
  width: calc(50% - 10px);
  box-sizing: border-box;
  float: left;
}
.nbd-pm-horizontal-fields-wrap {
  margin-right: 10px;
}
.nbd-pm-vertical-fields-wrap {
  margin-left: 10px;
}
.nbd-pm-field {
  height: 30px;
  line-height: 30px;
  padding: 0 10px;
  border: 1px solid var(--nbd-st-border-light);
  border-radius: 4px;
  margin-bottom: 4px;
  margin-right: 4px;
  cursor: move;
  display: inline-block;
  white-space: nowrap;
}
.nbd-dropzone-hover {
  background: var(--nbd-st-bg-soft);
}
.nbd-pm-note {
  margin-bottom: 10px;
  font-style: italic;
}
.nbd-pm-note:after {
  display: block;
  content: "";
  clear: both;
}
.nbd-pm-fields .ui-sortable-placeholder {
  height: 38px;
  width: 40px;
  display: inline-block;
}

/* ════════════════════════════════════════════════════════════════════
   Pricing Options — enhanced list & block view
   Tokens: --st-brand / --nbd-st-* / --shadow-* / --nbd-radius-*
   from _tokens.css  (no local colour overrides).
   ════════════════════════════════════════════════════════════════════ */

/* ── Stats overview row ──────────────────────────────────────────── */
.spbwc-options-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
  margin: 0 0 20px;
}

.spbwc-stat-card {
  background: var(--nbd-st-bg);
  border: 1px solid var(--nbd-st-border-light);
  border-radius: var(--nbd-radius-md);
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-shadow: var(--shadow-sm);
}

.spbwc-stat-card__icon {
  font-size: var(--st-icon-lg);
  width: var(--st-icon-lg);
  height: var(--st-icon-lg);
  color: var(--st-brand);
  margin-bottom: 4px;
}

.spbwc-stat-card__value {
  font-size: 28px;
  font-weight: 700;
  color: var(--nbd-st-text);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.spbwc-stat-card__label {
  font-size: 12px;
  font-weight: 600;
  color: var(--nbd-st-text-soft);
}

/* ── Unified list toolbar ────────────────────────────────────────── */
/* Scoped under .spbwc-options-page (specificity 0,2,0) to win over  */
/* the generic .spbwc-list-toolbar in storelly-admin-ui.css (0,1,0). */
.spbwc-options-page .spbwc-list-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 16px;
  padding: 10px 14px;
  background: var(--nbd-st-bg);
  border: 1px solid var(--nbd-st-border-light);
  border-bottom-color: var(--nbd-st-border-light); /* reset storelly-admin-ui border-bottom */
  border-radius: var(--nbd-radius);
  box-shadow: var(--shadow-sm);
  flex-wrap: wrap;
  flex-direction: row; /* explicit — overrides any column from shared stylesheet */
}

.spbwc-options-page .spbwc-list-toolbar__right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* ── Status filter tabs  (All · Published · Draft) ───────────────── */
.spbwc-options-page .spbwc-status-tabs {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-wrap: wrap;
}

.spbwc-options-page .spbwc-status-tab {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border-radius: var(--nbd-radius-pill);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  color: var(--nbd-st-text-soft);
  border: 1px solid transparent;
  transition: var(--transition-fast);
  white-space: nowrap;
}

.spbwc-options-page .spbwc-status-tab:hover {
  background: var(--nbd-st-bg-soft);
  color: var(--nbd-st-text);
  border-color: var(--nbd-st-border-light);
}

.spbwc-options-page .spbwc-status-tab.is-active {
  background: var(--nbd-st-bg);
  color: var(--nbd-st-text);
  border-color: var(--nbd-st-border);
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}

.spbwc-options-page .spbwc-status-tab__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  padding: 0 5px;
  height: 18px;
  background: var(--nbd-st-bg-canvas);
  color: var(--nbd-st-text-mute);
  border-radius: var(--nbd-radius-pill);
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
}

.spbwc-options-page .spbwc-status-tab.is-active .spbwc-status-tab__count {
  background: var(--st-brand);
  color: var(--nbd-st-text-inverse);
}

/* ── Sort select ─────────────────────────────────────────────────── */
.spbwc-sort-select {
  height: 34px;
  padding: 0 24px 0 10px;
  border: 1px solid var(--st-field-border);
  border-radius: var(--st-field-radius);
  background-color: var(--st-field-bg);
  color: var(--nbd-st-text);
  font-size: var(--st-field-font);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%238c8f94' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
  box-shadow: var(--st-field-shadow);
  transition: border-color 0.15s;
  white-space: nowrap;
}

.spbwc-sort-select:hover {
  border-color: var(--st-brand-soft);
}

.spbwc-sort-select:focus {
  outline: none;
  border-color: var(--st-brand);
  box-shadow: var(--st-field-focus-shadow);
}

/* ── View toggle ─────────────────────────────────────────────────── */
.spbwc-view-toggle {
  display: inline-flex;
  gap: 2px;
  background: var(--nbd-st-bg-canvas);
  padding: 2px;
  border-radius: var(--nbd-radius-sm);
}

.spbwc-view-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 30px;
  background: transparent;
  border: none;
  border-radius: var(--nbd-radius-sm);
  cursor: pointer;
  color: var(--nbd-st-text-mute);
  transition: var(--transition-fast);
}

.spbwc-view-btn:hover {
  color: var(--nbd-st-text);
}

.spbwc-view-btn.active {
  background: var(--nbd-st-bg);
  color: var(--nbd-st-text);
  box-shadow: var(--shadow-sm);
}

.spbwc-view-btn .dashicons {
  margin: 0;
  font-size: var(--st-icon-lg);
  width: var(--st-icon-lg);
  height: var(--st-icon-lg);
  line-height: 18px;
}

/* ── List-view: title column ─────────────────────────────────────── */
.spbwc-title-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.spbwc-option-thumb {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: var(--nbd-radius);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0;
  line-height: 1;
}

.spbwc-title-text {
  font-weight: 600;
  color: var(--nbd-st-text);
}

.spbwc-title-link {
  text-decoration: none;
  color: var(--nbd-st-text);
}

.spbwc-title-link:hover {
  color: var(--st-brand);
}

/* ── Status badges ───────────────────────────────────────────────── */
.spbwc-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px 3px 7px;
  border-radius: var(--nbd-radius-pill);
  line-height: 1.4;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Dot indicator */
.spbwc-badge::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  flex-shrink: 0;
  background: currentColor;
  opacity: 0.7;
}

.spbwc-badge--published {
  background: var(--st-pill-active-bg);
  color: var(--st-pill-active-text);
}

.spbwc-badge--draft {
  background: var(--st-pill-draft-bg);
  color: var(--st-pill-draft-text);
}

/* ── Misc list cells ─────────────────────────────────────────────── */
.spbwc-field-count {
  color: var(--nbd-st-text-mute);
  font-size: 13px;
}

.spbwc-text-muted {
  color: var(--nbd-st-border);
}

.spbwc-filter-bar {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ════════════════════════════════════════════════════════════════════
   Block / grid view
   ════════════════════════════════════════════════════════════════════ */
.spbwc-block-view {
  padding: 4px 0 24px;
}

.spbwc-options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(268px, 1fr));
  gap: 18px;
}

/* ── Card shell ──────────────────────────────────────────────────── */
.spbwc-option-card {
  background: var(--nbd-st-bg);
  border: 1px solid var(--nbd-st-border-light);
  border-radius: var(--nbd-radius-lg);
  overflow: hidden;
  transition: var(--transition-card);
  display: flex;
  flex-direction: column;
  cursor: default;
}

.spbwc-option-card:hover {
  border-color: var(--st-brand);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-3px);
}

/* ── Card thumbnail ──────────────────────────────────────────────── */
.spbwc-option-card__thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 152px;
  text-decoration: none;
  transition: filter 0.2s;
  position: relative;
}

.spbwc-option-card__thumb::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 56px;
  background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.2));
  pointer-events: none;
}

.spbwc-option-card__thumb:hover {
  filter: brightness(0.94);
}

/* Name-tile thumbnail */
.spbwc-option-card__thumb--name {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 16px;
  min-height: 90px;
}

.spbwc-option-card__thumb-name {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  text-align: center;
  line-height: 1.3;
  word-break: break-word;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-shadow: 0 1px 3px rgba(0,0,0,0.18);
}

.spbwc-option-card__initial {
  font-size: 52px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  position: relative;
  z-index: 1;
}

/* ── Card body ───────────────────────────────────────────────────── */
.spbwc-option-card__body {
  flex: 1;
  padding: 14px 16px 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.spbwc-option-card__title {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--nbd-st-text);
  line-height: 1.3;
}

.spbwc-option-card__title a {
  text-decoration: none;
  color: var(--nbd-st-text);
}

.spbwc-option-card__title a:hover {
  color: var(--st-brand);
}

/* ── Card header (title + publish toggle) ────────────────────────── */
.spbwc-option-card__header {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  justify-content: space-between;
  margin-bottom: 2px;
}

.spbwc-option-card__header .spbwc-option-card__title {
  margin: 0;
  flex: 1;
  min-width: 0;
}

/* ── Publish toggle button ───────────────────────────────────────── */
.spbwc-publish-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: none;
  background: transparent;
  border-radius: var(--nbd-radius-sm);
  cursor: pointer;
  color: var(--nbd-st-text-mute);
  transition: var(--transition-fast);
  padding: 0;
  flex-shrink: 0;
}

.spbwc-publish-toggle:hover {
  background: var(--nbd-st-bg-soft);
  color: var(--nbd-st-text);
}

.spbwc-publish-toggle.is-published {
  color: var(--nbd-color-success);
}

.spbwc-publish-toggle.is-published:hover {
  background: var(--st-pill-active-bg);
  color: var(--st-pill-active-text);
}

.spbwc-publish-toggle .dashicons {
  font-size: var(--st-icon-md);
  width: var(--st-icon-md);
  height: var(--st-icon-md);
  margin: 0;
}

/* Meta row: status badge + field-count pill */
.spbwc-option-card__meta {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
}

.spbwc-field-count-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 9px;
  border-radius: var(--nbd-radius-pill);
  background: var(--st-brand-soft);
  color: var(--st-brand-pressed);
  line-height: 1.6;
}

/* Categories row */
.spbwc-option-card__cats {
  font-size: 12px;
  color: var(--nbd-st-text-soft);
  display: flex;
  align-items: flex-start;
  gap: 4px;
  overflow: hidden;
  line-height: 1.4;
}

.spbwc-option-card__cats .dashicons {
  font-size: 13px;
  width: 13px;
  height: 13px;
  line-height: 13px;
  margin: 0;
  flex-shrink: 0;
}

/* Date row */
.spbwc-option-card__date {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: var(--nbd-st-text-mute);
}

.spbwc-option-card__date .dashicons {
  font-size: var(--st-icon-xs);
  width: var(--st-icon-xs);
  height: var(--st-icon-xs);
  line-height: 12px;
  margin: 0;
  flex-shrink: 0;
}

/* ── Card actions ────────────────────────────────────────────────── */
.spbwc-option-card__actions {
  display: flex;
  align-items: stretch;
  gap: 0;
  padding: 0;
  border-top: 1px solid var(--nbd-st-border-subtle);
  margin-top: auto;
}

.spbwc-card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex: 1;
  height: 38px;
  padding: 0 8px;
  font-size: var(--st-btn-font-sm);
  font-weight: 600;
  border: none;                              /* no individual borders */
  border-left: 1px solid var(--nbd-st-border-subtle); /* separator only */
  border-radius: 0;
  background: var(--nbd-st-bg);
  color: var(--nbd-st-text-soft);
  text-decoration: none;
  transition: var(--transition-fast);
  white-space: nowrap;
  cursor: pointer;
  line-height: 1;
}

/* First button: no left separator */
.spbwc-card-btn:first-child {
  border-left: none;
}

.spbwc-card-btn:hover {
  background: var(--nbd-st-bg-soft);
  color: var(--nbd-st-text);
}

.spbwc-card-btn--primary {
  background: var(--st-brand);
  color: #fff;
}

.spbwc-card-btn--primary:hover {
  background: var(--st-brand-pressed);
  color: #fff;
}

.spbwc-card-btn--danger {
  color: var(--nbd-color-danger, #dc2626);
}

.spbwc-card-btn--danger:hover {
  background: var(--st-pill-danger-bg);
  color: var(--st-pill-danger-text);
}

.spbwc-card-btn .dashicons {
  font-size: var(--st-icon-sm);
  width: var(--st-icon-sm);
  height: var(--st-icon-sm);
  line-height: 1;
  margin: 0;
  flex-shrink: 0;
}

/* ── Empty state ─────────────────────────────────────────────────── */
.spbwc-block-empty {
  text-align: center;
  padding: 72px 20px;
  color: var(--nbd-st-text-soft);
}

.spbwc-block-empty .dashicons {
  font-size: var(--st-icon-2xl);
  width: var(--st-icon-2xl);
  height: var(--st-icon-2xl);
  color: var(--nbd-st-text-mute);
  display: block;
  margin: 0 auto 12px;
}

.spbwc-block-empty p {
  font-size: 15px;
  margin: 0;
}

/* ── Block-view pagination ───────────────────────────────────────── */
.spbwc-block-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 20px 0 4px;
}

.spbwc-page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: var(--nbd-radius-sm);
  border: 1px solid var(--nbd-st-border-light);
  background: var(--nbd-st-bg);
  color: var(--nbd-st-text-soft);
  text-decoration: none;
  transition: var(--transition-fast);
  cursor: pointer;
}

.spbwc-page-btn:hover {
  background: var(--nbd-st-bg-soft);
  border-color: var(--nbd-st-border);
  color: var(--nbd-st-text);
}

.spbwc-page-btn.is-disabled {
  opacity: 0.38;
  pointer-events: none;
}

.spbwc-page-btn .dashicons {
  font-size: var(--st-icon-md);
  width: var(--st-icon-md);
  height: var(--st-icon-md);
  margin: 0;
}

.spbwc-page-info {
  font-size: 13px;
  color: var(--nbd-st-text-soft);
  white-space: nowrap;
  padding: 0 4px;
}

/* ── Responsive ──────────────────────────────────────────────────── */
@media (max-width: 960px) {
  .spbwc-options-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  }
}

@media (max-width: 783px) {
  /* 783px > 782px → overrides storelly-admin-ui.css @media(max-width:782px) rule */
  .spbwc-options-page .spbwc-list-toolbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .spbwc-options-page .spbwc-list-toolbar__right {
    width: 100%;
    justify-content: space-between;
  }
}

@media (max-width: 600px) {
  .spbwc-options-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .spbwc-options-stats {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 480px) {
  .spbwc-status-tab {
    padding: 4px 8px;
    font-size: 12px;
  }

  .spbwc-options-stats {
    grid-template-columns: 1fr;
  }
}

/* ── Stat card: sub-label + guide variant ────────────────────────── */
.spbwc-stat-card__sub {
  font-size: 12px;
  color: var(--nbd-st-text-mute);
  line-height: 1.4;
}

.spbwc-stat-card--guide {
  background: var(--st-brand-tint);
  border-color: var(--st-brand-soft);
}

.spbwc-stat-card--guide .spbwc-stat-card__icon {
  color: var(--st-brand-pressed);
}

.spbwc-stat-card--guide .spbwc-stat-card__label {
  color: var(--st-brand-pressed);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.spbwc-stat-card__steps {
  margin: 4px 0 0 16px;
  padding: 0;
  font-size: 12px;
  color: var(--nbd-st-text-soft);
  line-height: 1.7;
}

/* ── Item count label (toolbar right) ────────────────────────────── */
/* Scoped to reset margin-left: auto from storelly-admin-ui.css       */
.spbwc-options-page .spbwc-list-count {
  font-size: 12px;
  color: var(--nbd-st-text-mute);
  white-space: nowrap;
  flex-shrink: 0;
  margin-left: 0;     /* reset margin-left: auto from storelly-admin-ui.css */
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
}

/* ── List view wrapper (replaces #poststuff) ─────────────────────── */
.spbwc-list-view {
  padding-top: 4px;
}

/* Suppress the WP tablenav bottom duplicate in our list view */
.spbwc-list-view .tablenav.bottom .tablenav-pages-navspan {
  opacity: 0.5;
}

/* ── Options page outer wrap ─────────────────────────────────────── */
.spbwc-options-page .spbwc-block-view {
  padding-top: 0;
}

/* ── Block view inner wrapper ────────────────────────────────────── */
.spbwc-block-view__inner {
  transition: opacity 0.15s ease;
}

/* ── Loading overlay ─────────────────────────────────────────────── */
.spbwc-loading-overlay {
  position: fixed;
  bottom: 60px;
  right: 24px;
  z-index: 9998;
  background: var(--nbd-st-bg);
  border: 1px solid var(--nbd-st-border-light);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
}
/* Use :not([hidden]) so the hidden attribute is never overridden by display:flex */
.spbwc-loading-overlay:not([hidden]) {
  display: flex;
}

.spbwc-loading-spin {
  color: var(--st-brand);
  font-size: 22px;
  width: 22px;
  height: 22px;
  animation: spbwc-spin 0.75s linear infinite;
  margin: 0;
}

@keyframes spbwc-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* ── Toast notification ──────────────────────────────────────────── */
.spbwc-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(0);
  z-index: 9999;
  padding: 10px 18px;
  border-radius: var(--nbd-radius-md);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--nbd-st-text-inverse);
  background: var(--nbd-st-text);
  box-shadow: var(--shadow-lg);
  white-space: nowrap;
  animation: spbwc-toast-in 0.22s ease;
  pointer-events: none;
}

.spbwc-toast--success { background: #16a34a; }
.spbwc-toast--error   { background: #dc2626; }

@keyframes spbwc-toast-in {
  from { transform: translateX(-50%) translateY(12px); opacity: 0; }
  to   { transform: translateX(-50%) translateY(0);    opacity: 1; }
}

/* ── Block view relative position for overlay ────────────────────── */
.spbwc-block-view {
  position: relative;
}

/* ════════════════════════════════════════════════════════════════════
   UX Improvements — Phase 3
   ════════════════════════════════════════════════════════════════════ */

/* ── Stat cards: clickable filter shortcut ───────────────────────── */
.spbwc-stat-card--clickable {
  cursor: pointer;
  transition: var(--transition-card);
  user-select: none;
}
.spbwc-stat-card--clickable:hover {
  border-color: var(--st-brand);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
}
.spbwc-stat-card--clickable:active {
  transform: translateY(0);
  box-shadow: var(--shadow-sm);
}
.spbwc-stat-card--clickable:focus-visible {
  outline: 2px solid var(--st-brand);
  outline-offset: 2px;
}

/* ── Search: clear (✕) button ────────────────────────────────────── */
.spbwc-search-clear {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: var(--nbd-st-text-mute);
  cursor: pointer;
  padding: 0;
  margin-left: 4px;
  transition: var(--transition-fast);
}
.spbwc-search-clear:hover {
  background: var(--nbd-st-bg-soft);
  color: var(--nbd-st-text);
}
.spbwc-search-clear .dashicons {
  font-size: var(--st-icon-sm);
  width: var(--st-icon-sm);
  height: var(--st-icon-sm);
  line-height: 1;
  margin: 0;
}

/* ── Sort: active indicator + reset button ───────────────────────── */
.spbwc-sort-select.is-sorted {
  border-color: var(--st-brand);
  color: var(--st-brand-pressed);
}

/* ── Custom delete confirm modal ─────────────────────────────────── */
.spbwc-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.52);
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: spbwc-overlay-in 0.15s ease;
}
.spbwc-modal-overlay[hidden] { display: none; }

@keyframes spbwc-overlay-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.spbwc-modal {
  background: var(--nbd-st-bg);
  border-radius: var(--nbd-radius-lg);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
  padding: 32px 28px 24px;
  max-width: 360px;
  width: 100%;
  text-align: center;
  animation: spbwc-modal-in 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes spbwc-modal-in {
  from { transform: scale(0.88); opacity: 0; }
  to   { transform: scale(1);    opacity: 1; }
}

.spbwc-modal__icon {
  width: 52px;
  height: 52px;
  background: var(--st-pill-danger-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}
.spbwc-modal__icon .dashicons {
  font-size: var(--st-icon-xl);
  width: var(--st-icon-xl);
  height: var(--st-icon-xl);
  color: var(--nbd-color-danger, #dc2626);
  margin: 0;
}

.spbwc-modal__title {
  font-size: 17px;
  font-weight: 700;
  color: var(--nbd-st-text);
  margin: 0 0 8px;
  line-height: 1.3;
}

.spbwc-modal__desc {
  font-size: 13px;
  color: var(--nbd-st-text-soft);
  margin: 0 0 24px;
  line-height: 1.6;
  word-break: break-word;
}

.spbwc-modal__actions {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.spbwc-modal-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--st-btn-gap);
  height: 38px;
  padding: 0 22px;
  border-radius: var(--st-btn-radius);
  border: 1px solid var(--nbd-st-border);
  background: var(--nbd-st-bg);
  color: var(--nbd-st-text);
  font-size: var(--st-btn-font-md);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
  white-space: nowrap;
  line-height: 1;
}
.spbwc-modal-btn:hover {
  background: var(--nbd-st-bg-soft);
  border-color: var(--nbd-st-border);
}
.spbwc-modal-btn--danger {
  background: var(--nbd-color-danger, #dc2626);
  border-color: var(--nbd-color-danger, #dc2626);
  color: #fff;
}
.spbwc-modal-btn--danger:hover {
  background: #b91c1c;
  border-color: #b91c1c;
  color: #fff;
}
.spbwc-modal-btn .dashicons {
  font-size: 15px;
  width: 15px;
  height: 15px;
  margin: 0;
}

/* ── Toast: undo button + flex layout ───────────────────────────── */
.spbwc-toast:not([hidden]) {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.spbwc-toast__undo {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 8px;
  margin-left: 10px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--nbd-radius-sm);
  background: transparent;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s;
}
.spbwc-toast__undo:hover { background: rgba(255, 255, 255, 0.22); }

/* ── Skeleton loading cards ──────────────────────────────────────── */
.spbwc-option-card--skeleton {
  pointer-events: none;
  overflow: hidden;
}

.spbwc-skeleton__thumb {
  height: 152px;
  background: linear-gradient(
    90deg,
    var(--nbd-st-bg-soft) 25%,
    var(--nbd-st-bg-canvas) 50%,
    var(--nbd-st-bg-soft) 75%
  );
  background-size: 200% 100%;
  animation: spbwc-shimmer 1.4s ease-in-out infinite;
}

.spbwc-skeleton__line {
  height: 14px;
  border-radius: var(--nbd-radius-sm);
  margin-bottom: 10px;
  background: linear-gradient(
    90deg,
    var(--nbd-st-bg-soft) 25%,
    var(--nbd-st-bg-canvas) 50%,
    var(--nbd-st-bg-soft) 75%
  );
  background-size: 200% 100%;
  animation: spbwc-shimmer 1.4s ease-in-out infinite;
}

.spbwc-skeleton__line--sm { height: 11px; }

@keyframes spbwc-shimmer {
  0%   { background-position:  200% 0; }
  100% { background-position: -200% 0; }
}

/* ── Card actions: always visible (no hover-reveal) ─────────────── */
.spbwc-option-card__actions {
  opacity: 1;
}

/* ════════════════════════════════════════════════════════════════════
   Phase 4 — Rename · Bulk · Shortcuts
   ════════════════════════════════════════════════════════════════════ */

/* ── Inline rename input ─────────────────────────────────────────── */
.spbwc-rename-input {
  font-size: 14px;
  font-weight: 700;
  color: var(--nbd-st-text);
  border: 1.5px solid var(--st-brand);
  border-radius: var(--st-field-radius);
  padding: 2px 6px;
  width: 100%;
  background: var(--st-field-bg);
  line-height: 1.3;
  box-shadow: var(--st-field-focus-shadow);
  outline: none;
  min-height: unset;
  height: auto;
  margin: 0;
  display: block;
}

/* Linked Product breadcrumb — shown above the option editor when the merchant
   arrived from a product metabox. See docs/SPEC_LINKED_PRODUCT_UX.md §4. */
.spbwc-lp-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--nbd-space-2, 8px);
  margin: 0 0 var(--nbd-space-4, 16px);
  padding: var(--nbd-space-2, 8px) var(--nbd-space-3, 12px);
  background: var(--nbd-st-bg-soft, #f6f7f7);
  border: 1px solid var(--nbd-st-border-light, #dcdcde);
  border-radius: var(--nbd-radius-md, 8px);
  font-size: var(--text-md, 13px);
}
.spbwc-lp-breadcrumb a {
  text-decoration: none;
  color: var(--nbd-st-primary, #2271b1);
}
.spbwc-lp-breadcrumb a:hover {
  text-decoration: underline;
}
.spbwc-lp-breadcrumb__sep {
  color: var(--nbd-st-text-mute, #8c8f94);
}
.spbwc-lp-breadcrumb__current {
  color: var(--nbd-st-text-soft, #50575e);
  font-weight: var(--font-semibold, 600);
}
.spbwc-lp-breadcrumb__back {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: var(--nbd-space-1, 4px);
  font-weight: var(--font-semibold, 600);
}
.spbwc-lp-breadcrumb__back .dashicons {
  font-size: var(--st-icon-md);
  width: var(--st-icon-md);
  height: var(--st-icon-md);
  line-height: var(--text-xl, 16px);
}

/* Context note inside the "Apply to products" tab when the editor was opened
   from a product metabox. See docs/SPEC_LINKED_PRODUCT_UX.md §4. */
.spbwc-lp-ctx-note {
  display: flex;
  align-items: flex-start;
  gap: var(--nbd-space-2, 8px);
  margin: 0 0 var(--nbd-space-4, 16px);
  padding: var(--nbd-space-3, 12px);
  background: var(--st-brand-tint, #eff6ff);
  border: 1px solid var(--nbd-st-border-brand, #bfdbfe);
  border-radius: var(--nbd-radius-md, 8px);
  color: var(--nbd-st-text-soft, #50575e);
  font-size: var(--text-md, 13px);
  line-height: 1.5;
}
.spbwc-lp-ctx-note .dashicons {
  color: var(--nbd-st-primary, #2271b1);
  flex: 0 0 auto;
  margin-top: 1px;
}

