.nbdpb-full-contain,.nbdpb-product-builder{height:100%;width:100%}.nbdpb-product-builder .nbd-upload-item,.pcpb-custom-design img{max-width:100%;max-height:100%}.nbd-help-tip::after,[class*=" icon-nbd-"],[class^=icon-nbd-]{speak:none;-webkit-font-smoothing:antialiased;font-variant:normal}.nbdpb-product-builder .nbpb-dropdown,.nbo-dropdown{-moz-appearance:none;outline:0;-webkit-appearance:none}@font-face{font-family:online-design;src:url("fonts/online-design.eot?7wpyc1");src:url("fonts/online-design.eot?7wpyc1#iefix") format("embedded-opentype"),url("fonts/online-design.ttf?7wpyc1") format("truetype"),url("fonts/online-design.woff?7wpyc1") format("woff"),url("fonts/online-design.svg?7wpyc1#online-design") format("svg");font-weight:400;font-style:normal}[class*=" icon-nbd-"],[class^=icon-nbd-]{font-family:online-design!important;font-style:normal;font-weight:400;text-transform:none;line-height:1;-moz-osx-font-smoothing:grayscale}.icon-nbd-lock:before{content:"\F023"}.icon-nbd-expand:before{content:"\F065"}.icon-nbd-arrows-v:before{content:"\F07D"}.icon-nbd-arrows-h:before{content:"\F07E"}.icon-nbd-add-black:before{content:"\E908"}.icon-nbd-apps:before{content:"\E909"}.icon-nbd-arrow-drop-down:before{content:"\E90A"}.icon-nbd-arrow-upward:before{content:"\E90B"}.icon-nbd-attachment:before{content:"\E90C"}.icon-nbd-baseline-more-vert:before{content:"\E90D"}.icon-nbd-baseline-palette:before{content:"\E90F"}.icon-nbd-baseline-redo:before{content:"\E910"}.icon-nbd-baseline-tune:before{content:"\E911"}.icon-nbd-baseline-undo:before{content:"\E912"}.icon-nbd-baseline-warning:before{content:"\E914"}.icon-nbd-bring-forward:before{content:"\E916"}.icon-nbd-bring-to-front:before{content:"\E917"}.icon-nbd-camera-alt:before{content:"\E918"}.icon-nbd-caret-right:before{content:"\E91A"}.icon-nbd-chevron-right:before{content:"\E91D"}.icon-nbd-clear:before{content:"\E91E"}.icon-nbd-cloud-upload:before{content:"\E91F"}.icon-nbd-content-copy:before{content:"\E920"}.icon-nbd-delete:before{content:"\E921"}.icon-nbd-diamond:before{content:"\E922"}.icon-nbd-dis-horizontal:before{content:"\E923"}.icon-nbd-dis-vertical:before{content:"\E924"}.icon-nbd-draw:before{content:"\E925"}.icon-nbd-drawing:before{content:"\E926"}.icon-nbd-dropbox-logo:before{content:"\E927"}.icon-nbd-dropdown-arrows:before{content:"\E928";color:var(--nbd-st-text)}.icon-nbd-facebook-circle:before{content:"\E929"}.icon-nbd-facebook-logo:before{content:"\E92A"}.icon-nbd-file-upload:before{content:"\E92B"}.icon-nbd-filter:before{content:"\E92C"}.icon-nbd-fomat-done:before{content:"\E92D"}.icon-nbd-fomat-highlight-off:before{content:"\E92F"}.icon-nbd-fomat-info-outline:before{content:"\E930"}.icon-nbd-fomat-lock-open:before{content:"\E931"}.icon-nbd-fomat-lock-outline:before{content:"\E932"}.icon-nbd-fomat-position:before{content:"\E933"}.icon-nbd-fomat-search:before{content:"\E934"}.icon-nbd-fomat-top-left:before{content:"\E935"}.icon-nbd-fomat-vertical-align-center:before{content:"\E936"}.icon-nbd-fomat-vertical-align-top:before{content:"\E937"}.icon-nbd-fomat-visibility:before{content:"\E939"}.icon-nbd-fomat-visibility-off:before{content:"\E93A"}.icon-nbd-format-align-center:before{content:"\E93B"}.icon-nbd-format-align-justify:before{content:"\E93C"}.icon-nbd-format-align-left:before{content:"\E93D"}.icon-nbd-format-align-right:before{content:"\E93E"}.icon-nbd-format-bold:before{content:"\E93F"}.icon-nbd-format-color-fill:before{content:"\E940"}.icon-nbd-format-italic:before{content:"\E941"}.icon-nbd-format-underlined:before{content:"\E942"}.icon-nbd-fullscreen:before{content:"\E943"}.icon-nbd-full-screen-button:before{content:"\E944"}.icon-nbd-fullscreen-exit:before{content:"\E945"}.icon-nbd-full-screen-exit:before{content:"\E946"}.icon-nbd-geometrical-shapes-group:before{content:"\E947"}.icon-nbd-google-plus-circle:before{content:"\E948"}.icon-nbd-image-layer:before{content:"\E949"}.icon-nbd-instagram-logo:before{content:"\E94A"}.icon-nbd-layer-stack:before{content:"\E94B"}.icon-nbd-line:before{content:"\E94C"}.icon-nbd-line_spacing:before{content:"\E94D"}.icon-nbd-menu:before{content:"\E94E"}.icon-nbd-opacity:before{content:"\E94F"}.icon-nbd-package:before{content:"\E950"}.icon-nbd-pixabay:before{content:"\E951"}.icon-nbd-reflect-horizontal:before{content:"\E952"}.icon-nbd-reflect-vertical:before{content:"\E953"}.icon-nbd-refresh:before{content:"\E954"}.icon-nbd-remove:before{content:"\E955"}.icon-nbd-replace-image:before{content:"\E956"}.icon-nbd-round-crop:before{content:"\E957"}.icon-nbd-send-to-back:before{content:"\E958"}.icon-nbd-sent-to-backward:before{content:"\E959"}.icon-nbd-shapes:before{content:"\E95A"}.icon-nbd-sharp-star:before{content:"\E95B"}.icon-nbd-sortable:before{content:"\E95C"}.icon-nbd-text:before{content:"\E95D"}.icon-nbd-text-fields:before{content:"\E95E"}.icon-nbd-twitter-circle:before{content:"\E95F"}.icon-nbd-type:before{content:"\E960"}.icon-nbd-ungroup:before{content:"\E961"}.icon-nbd-vector:before{content:"\E962"}.icon-nbd-view-module:before{content:"\E963"}.icon-nbd-webcam:before{content:"\E964"}.icon-nbd-bottom-center:before{content:"\E915"}.icon-nbd-info-circle:before{content:"\E919"}.icon-nbd-uppercase:before{content:"\E913"}.icon-nbd-fill-color:before{content:"\E91C"}.icon-nbd-position:before{content:"\E91B"}.icon-nbd-process:before{content:"\E906"}.icon-nbd-title-award:before{content:"\E907"}.icon-nbd-element:before{content:"\E901"}.icon-nbd-elements-2:before{content:"\E902"}.icon-nbd-illutration:before{content:"\E903"}.icon-nbd-illutration-2:before{content:"\E904"}.icon-nbd-product:before{content:"\E905"}.icon-nbd-box:before{content:"\E900"}.icon-nbd-images:before{content:"\E90E"}.icon-nbd-stack:before{content:"\E92E"}.icon-nbd-qrcode:before{content:"\E938"}.icon-nbd-undo2:before{content:"\E967"}.icon-nbd-redo2:before{content:"\E968"}.icon-nbd-ligature:before{content:"\EA5D"}.icon-nbd-share2:before{content:"\EA82"}/*!
  Animate.css - http://daneden.me/animate
  Licensed under the MIT license - http://opensource.org/licenses/MIT
  
  Copyright (c) 2015 Daniel Eden
  */
.animated {
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

.animated--infinite {
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
}

@-webkit-keyframes slideInDown {
  0% {
    -webkit-transform: translate3d(0, -100%, 0);
    transform: translate3d(0, -100%, 0);
    visibility: visible;
  }

  100% {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

@keyframes slideInDown {
  0% {
    -webkit-transform: translate3d(0, -100%, 0);
    transform: translate3d(0, -100%, 0);
    visibility: visible;
  }

  100% {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

.slideInDown {
  -webkit-animation-name: slideInDown;
  animation-name: slideInDown;
}

@-webkit-keyframes slideInLeft {
  0% {
    -webkit-transform: translate3d(-100%, 0, 0);
    transform: translate3d(-100%, 0, 0);
    visibility: visible;
  }

  100% {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

@keyframes slideInLeft {
  0% {
    -webkit-transform: translate3d(-100%, 0, 0);
    transform: translate3d(-100%, 0, 0);
    visibility: visible;
  }

  100% {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

.slideInLeft {
  -webkit-animation-name: slideInLeft;
  animation-name: slideInLeft;
}

@-webkit-keyframes slideInRight {
  0% {
    -webkit-transform: translate3d(100%, 0, 0);
    transform: translate3d(100%, 0, 0);
    visibility: visible;
  }

  100% {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

@keyframes slideInRight {
  0% {
    -webkit-transform: translate3d(100%, 0, 0);
    transform: translate3d(100%, 0, 0);
    visibility: visible;
  }

  100% {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

.slideInRight {
  -webkit-animation-name: slideInRight;
  animation-name: slideInRight;
}

@-webkit-keyframes slideInUp {
  0% {
    -webkit-transform: translate3d(0, 100%, 0);
    transform: translate3d(0, 100%, 0);
    visibility: visible;
  }

  100% {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

@keyframes slideInUp {
  0% {
    -webkit-transform: translate3d(0, 100%, 0);
    transform: translate3d(0, 100%, 0);
    visibility: visible;
  }

  100% {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

.slideInUp {
  -webkit-animation-name: slideInUp;
  animation-name: slideInUp;
}

@-webkit-keyframes nbSlideInDown {
  0% {
    -webkit-transform: translate3d(0, 0%, 0);
    transform: translate3d(0, 0%, 0);
    opacity: 1;
    visibility: visible;
  }

  100% {
    opacity: 0;
    -webkit-transform: translate3d(0, 100%, 0);
    transform: translate3d(0, 100%, 0);
  }
}

@keyframes nbSlideInDown {
  0% {
    -webkit-transform: translate3d(0, 0%, 0);
    transform: translate3d(0, 0%, 0);
    opacity: 1;
    visibility: visible;
  }

  100% {
    opacity: 0;
    -webkit-transform: translate3d(0, 100%, 0);
    transform: translate3d(0, 100%, 0);
  }
}

.nbSlideInDown {
  -webkit-animation-name: nbSlideInDown;
  animation-name: nbSlideInDown;
}

@-webkit-keyframes nbSlideInUp {
  0% {
    -webkit-transform: translate3d(0, 100%, 0);
    transform: translate3d(0, 100%, 0);
    visibility: visible;
    opacity: 0;
  }

  100% {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    opacity: 1;
  }
}

@keyframes nbSlideInUp {
  0% {
    -webkit-transform: translate3d(0, 100%, 0);
    transform: translate3d(0, 100%, 0);
    visibility: visible;
    opacity: 0;
  }

  100% {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    opacity: 1;
  }
}

.nbSlideInUp {
  -webkit-animation-name: nbSlideInUp;
  animation-name: nbSlideInUp;
}

@-webkit-keyframes nbScaleIn {
  0% {
    -webkit-transform: scale(1);
    transform: scale(1);
    visibility: visible;
    opacity: 1;
  }

  100% {
    -webkit-transform: scale(0.8);
    transform: scale(0.8);
    opacity: 0;
  }
}

@keyframes nbScaleIn {
  0% {
    -webkit-transform: scale(1);
    transform: scale(1);
    visibility: visible;
    opacity: 1;
  }

  100% {
    -webkit-transform: scale(0.8);
    transform: scale(0.8);
    opacity: 0;
  }
}

.nbScaleIn {
  -webkit-animation-name: nbScaleIn;
  animation-name: nbScaleIn;
}

@-webkit-keyframes nbScaleOut {
  0% {
    -webkit-transform: scale(0.8);
    transform: scale(0.8);
    visibility: visible;
    opacity: 0;
  }

  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes nbScaleOut {
  0% {
    -webkit-transform: scale(0.8);
    transform: scale(0.8);
    visibility: visible;
    opacity: 0;
  }

  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
    opacity: 1;
  }
}

.nbScaleOut {
  -webkit-animation-name: nbScaleOut;
  animation-name: nbScaleOut;
}

@-webkit-keyframes bounce {

  0%,
  20%,
  53%,
  100% {
    -webkit-transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }

  80% {
    -webkit-transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    -webkit-transform: translate3d(0, 0, 0) scaleY(0.95);
    transform: translate3d(0, 0, 0) scaleY(0.95);
  }

  40%,
  43% {
    -webkit-transition-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
    transition-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
    -webkit-transform: translate3d(0, -30px, 0) scaleY(1.1);
    transform: translate3d(0, -30px, 0) scaleY(1.1);
  }

  70% {
    -webkit-transition-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
    transition-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
    -webkit-transform: translate3d(0, -15px, 0) scaleY(1.05);
    transform: translate3d(0, -15px, 0) scaleY(1.05);
  }

  90% {
    -webkit-transform: translate3d(0, -4px, 0) scaleY(1.02);
    transform: translate3d(0, -4px, 0) scaleY(1.02);
  }
}

@keyframes bounce {

  0%,
  20%,
  53%,
  100% {
    -webkit-transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }

  80% {
    -webkit-transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    -webkit-transform: translate3d(0, 0, 0) scaleY(0.95);
    transform: translate3d(0, 0, 0) scaleY(0.95);
  }

  40%,
  43% {
    -webkit-transition-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
    transition-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
    -webkit-transform: translate3d(0, -30px, 0) scaleY(1.1);
    transform: translate3d(0, -30px, 0) scaleY(1.1);
  }

  70% {
    -webkit-transition-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
    transition-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
    -webkit-transform: translate3d(0, -15px, 0) scaleY(1.05);
    transform: translate3d(0, -15px, 0) scaleY(1.05);
  }

  90% {
    -webkit-transform: translate3d(0, -4px, 0) scaleY(1.02);
    transform: translate3d(0, -4px, 0) scaleY(1.02);
  }
}

.bounce {
  -webkit-animation-name: bounce;
  animation-name: bounce;
  -webkit-transform-origin: center bottom;
  transform-origin: center bottom;
}

@-webkit-keyframes flash {

  0%,
  50%,
  100% {
    opacity: 1;
  }

  25%,
  75% {
    opacity: 0;
  }
}

@keyframes flash {

  0%,
  50%,
  100% {
    opacity: 1;
  }

  25%,
  75% {
    opacity: 0;
  }
}

.flash {
  -webkit-animation-name: flash;
  animation-name: flash;
}

/* originally authored by Nick Pettit - https://github.com/nickpettit/glide */
@-webkit-keyframes pulse {
  0% {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }

  50% {
    -webkit-transform: scale3d(1.05, 1.05, 1.05);
    transform: scale3d(1.05, 1.05, 1.05);
  }

  100% {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }
}

@keyframes pulse {
  0% {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }

  50% {
    -webkit-transform: scale3d(1.05, 1.05, 1.05);
    transform: scale3d(1.05, 1.05, 1.05);
  }

  100% {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }
}

.pulse {
  -webkit-animation-name: pulse;
  animation-name: pulse;
  -webkit-animation-timing-function: ease-in-out;
  animation-timing-function: ease-in-out;
}

@-webkit-keyframes rubberBand {
  0% {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }

  30% {
    -webkit-transform: scale3d(1.25, 0.75, 1);
    transform: scale3d(1.25, 0.75, 1);
  }

  40% {
    -webkit-transform: scale3d(0.75, 1.25, 1);
    transform: scale3d(0.75, 1.25, 1);
  }

  50% {
    -webkit-transform: scale3d(1.15, 0.85, 1);
    transform: scale3d(1.15, 0.85, 1);
  }

  65% {
    -webkit-transform: scale3d(0.95, 1.05, 1);
    transform: scale3d(0.95, 1.05, 1);
  }

  75% {
    -webkit-transform: scale3d(1.05, 0.95, 1);
    transform: scale3d(1.05, 0.95, 1);
  }

  100% {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }
}

@keyframes rubberBand {
  0% {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }

  30% {
    -webkit-transform: scale3d(1.25, 0.75, 1);
    transform: scale3d(1.25, 0.75, 1);
  }

  40% {
    -webkit-transform: scale3d(0.75, 1.25, 1);
    transform: scale3d(0.75, 1.25, 1);
  }

  50% {
    -webkit-transform: scale3d(1.15, 0.85, 1);
    transform: scale3d(1.15, 0.85, 1);
  }

  65% {
    -webkit-transform: scale3d(0.95, 1.05, 1);
    transform: scale3d(0.95, 1.05, 1);
  }

  75% {
    -webkit-transform: scale3d(1.05, 0.95, 1);
    transform: scale3d(1.05, 0.95, 1);
  }

  100% {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }
}

.rubberBand {
  -webkit-animation-name: rubberBand;
  animation-name: rubberBand;
}

@-webkit-keyframes shake {

  0%,
  100% {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }

  10%,
  30%,
  50%,
  70%,
  90% {
    -webkit-transform: translate3d(-10px, 0, 0);
    transform: translate3d(-10px, 0, 0);
  }

  20%,
  40%,
  60%,
  80% {
    -webkit-transform: translate3d(10px, 0, 0);
    transform: translate3d(10px, 0, 0);
  }
}

@keyframes shake {

  0%,
  100% {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }

  10%,
  30%,
  50%,
  70%,
  90% {
    -webkit-transform: translate3d(-10px, 0, 0);
    transform: translate3d(-10px, 0, 0);
  }

  20%,
  40%,
  60%,
  80% {
    -webkit-transform: translate3d(10px, 0, 0);
    transform: translate3d(10px, 0, 0);
  }
}

.shake {
  -webkit-animation-name: shake;
  animation-name: shake;
}

@-webkit-keyframes swing {
  20% {
    -webkit-transform: rotate3d(0, 0, 1, 15deg);
    transform: rotate3d(0, 0, 1, 15deg);
  }

  40% {
    -webkit-transform: rotate3d(0, 0, 1, -10deg);
    transform: rotate3d(0, 0, 1, -10deg);
  }

  60% {
    -webkit-transform: rotate3d(0, 0, 1, 5deg);
    transform: rotate3d(0, 0, 1, 5deg);
  }

  80% {
    -webkit-transform: rotate3d(0, 0, 1, -5deg);
    transform: rotate3d(0, 0, 1, -5deg);
  }

  100% {
    -webkit-transform: rotate3d(0, 0, 1, 0deg);
    transform: rotate3d(0, 0, 1, 0deg);
  }
}

@keyframes swing {
  20% {
    -webkit-transform: rotate3d(0, 0, 1, 15deg);
    transform: rotate3d(0, 0, 1, 15deg);
  }

  40% {
    -webkit-transform: rotate3d(0, 0, 1, -10deg);
    transform: rotate3d(0, 0, 1, -10deg);
  }

  60% {
    -webkit-transform: rotate3d(0, 0, 1, 5deg);
    transform: rotate3d(0, 0, 1, 5deg);
  }

  80% {
    -webkit-transform: rotate3d(0, 0, 1, -5deg);
    transform: rotate3d(0, 0, 1, -5deg);
  }

  100% {
    -webkit-transform: rotate3d(0, 0, 1, 0deg);
    transform: rotate3d(0, 0, 1, 0deg);
  }
}

.swing {
  -webkit-transform-origin: top center;
  transform-origin: top center;
  -webkit-animation-name: swing;
  animation-name: swing;
}

@-webkit-keyframes tada {
  0% {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }

  10%,
  20% {
    -webkit-transform: scale3d(0.9, 0.9, 0.9) rotate3d(0, 0, 1, -3deg);
    transform: scale3d(0.9, 0.9, 0.9) rotate3d(0, 0, 1, -3deg);
  }

  30%,
  50%,
  70%,
  90% {
    -webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
    transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
  }

  40%,
  60%,
  80% {
    -webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
    transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
  }

  100% {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }
}

@keyframes tada {
  0% {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }

  10%,
  20% {
    -webkit-transform: scale3d(0.9, 0.9, 0.9) rotate3d(0, 0, 1, -3deg);
    transform: scale3d(0.9, 0.9, 0.9) rotate3d(0, 0, 1, -3deg);
  }

  30%,
  50%,
  70%,
  90% {
    -webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
    transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
  }

  40%,
  60%,
  80% {
    -webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
    transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
  }

  100% {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }
}

.tada {
  -webkit-animation-name: tada;
  animation-name: tada;
}

/* originally authored by Nick Pettit - https://github.com/nickpettit/glide */
@-webkit-keyframes wobble {
  0% {
    -webkit-transform: none;
    transform: none;
  }

  15% {
    -webkit-transform: translate3d(-25%, 0, 0) rotate3d(0, 0, 1, -5deg);
    transform: translate3d(-25%, 0, 0) rotate3d(0, 0, 1, -5deg);
  }

  30% {
    -webkit-transform: translate3d(20%, 0, 0) rotate3d(0, 0, 1, 3deg);
    transform: translate3d(20%, 0, 0) rotate3d(0, 0, 1, 3deg);
  }

  45% {
    -webkit-transform: translate3d(-15%, 0, 0) rotate3d(0, 0, 1, -3deg);
    transform: translate3d(-15%, 0, 0) rotate3d(0, 0, 1, -3deg);
  }

  60% {
    -webkit-transform: translate3d(10%, 0, 0) rotate3d(0, 0, 1, 2deg);
    transform: translate3d(10%, 0, 0) rotate3d(0, 0, 1, 2deg);
  }

  75% {
    -webkit-transform: translate3d(-5%, 0, 0) rotate3d(0, 0, 1, -1deg);
    transform: translate3d(-5%, 0, 0) rotate3d(0, 0, 1, -1deg);
  }

  100% {
    -webkit-transform: none;
    transform: none;
  }
}

@keyframes wobble {
  0% {
    -webkit-transform: none;
    transform: none;
  }

  15% {
    -webkit-transform: translate3d(-25%, 0, 0) rotate3d(0, 0, 1, -5deg);
    transform: translate3d(-25%, 0, 0) rotate3d(0, 0, 1, -5deg);
  }

  30% {
    -webkit-transform: translate3d(20%, 0, 0) rotate3d(0, 0, 1, 3deg);
    transform: translate3d(20%, 0, 0) rotate3d(0, 0, 1, 3deg);
  }

  45% {
    -webkit-transform: translate3d(-15%, 0, 0) rotate3d(0, 0, 1, -3deg);
    transform: translate3d(-15%, 0, 0) rotate3d(0, 0, 1, -3deg);
  }

  60% {
    -webkit-transform: translate3d(10%, 0, 0) rotate3d(0, 0, 1, 2deg);
    transform: translate3d(10%, 0, 0) rotate3d(0, 0, 1, 2deg);
  }

  75% {
    -webkit-transform: translate3d(-5%, 0, 0) rotate3d(0, 0, 1, -1deg);
    transform: translate3d(-5%, 0, 0) rotate3d(0, 0, 1, -1deg);
  }

  100% {
    -webkit-transform: none;
    transform: none;
  }
}

.wobble {
  -webkit-animation-name: wobble;
  animation-name: wobble;
}

@-webkit-keyframes bounceIn {

  0%,
  20%,
  40%,
  60%,
  80%,
  100% {
    -webkit-transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }

  0% {
    opacity: 0;
    -webkit-transform: scale3d(0.3, 0.3, 0.3);
    transform: scale3d(0.3, 0.3, 0.3);
  }

  20% {
    -webkit-transform: scale3d(1.1, 1.1, 1.1);
    transform: scale3d(1.1, 1.1, 1.1);
  }

  40% {
    -webkit-transform: scale3d(0.9, 0.9, 0.9);
    transform: scale3d(0.9, 0.9, 0.9);
  }

  60% {
    opacity: 1;
    -webkit-transform: scale3d(1.03, 1.03, 1.03);
    transform: scale3d(1.03, 1.03, 1.03);
  }

  80% {
    -webkit-transform: scale3d(0.97, 0.97, 0.97);
    transform: scale3d(0.97, 0.97, 0.97);
  }

  100% {
    opacity: 1;
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }
}

@keyframes bounceIn {

  0%,
  20%,
  40%,
  60%,
  80%,
  100% {
    -webkit-transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }

  0% {
    opacity: 0;
    -webkit-transform: scale3d(0.3, 0.3, 0.3);
    transform: scale3d(0.3, 0.3, 0.3);
  }

  20% {
    -webkit-transform: scale3d(1.1, 1.1, 1.1);
    transform: scale3d(1.1, 1.1, 1.1);
  }

  40% {
    -webkit-transform: scale3d(0.9, 0.9, 0.9);
    transform: scale3d(0.9, 0.9, 0.9);
  }

  60% {
    opacity: 1;
    -webkit-transform: scale3d(1.03, 1.03, 1.03);
    transform: scale3d(1.03, 1.03, 1.03);
  }

  80% {
    -webkit-transform: scale3d(0.97, 0.97, 0.97);
    transform: scale3d(0.97, 0.97, 0.97);
  }

  100% {
    opacity: 1;
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }
}

.bounceIn {
  -webkit-animation-name: bounceIn;
  animation-name: bounceIn;
}

@-webkit-keyframes bounceInDown {

  0%,
  60%,
  75%,
  90%,
  100% {
    -webkit-transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }

  0% {
    opacity: 0;
    -webkit-transform: translate3d(0, -3000px, 0) scaleY(5);
    transform: translate3d(0, -3000px, 0) scaleY(5);
  }

  60% {
    opacity: 1;
    -webkit-transform: translate3d(0, 25px, 0) scaleY(0.9);
    transform: translate3d(0, 25px, 0) scaleY(0.9);
  }

  75% {
    -webkit-transform: translate3d(0, -10px, 0) scaleY(0.95);
    transform: translate3d(0, -10px, 0) scaleY(0.95);
  }

  90% {
    -webkit-transform: translate3d(0, 5px, 0) scaleY(0.985);
    transform: translate3d(0, 5px, 0) scaleY(0.985);
  }

  100% {
    -webkit-transform: none;
    transform: none;
  }
}

@keyframes bounceInDown {

  0%,
  60%,
  75%,
  90%,
  100% {
    -webkit-transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }

  0% {
    opacity: 0;
    -webkit-transform: translate3d(0, -3000px, 0) scaleY(5);
    transform: translate3d(0, -3000px, 0) scaleY(5);
  }

  60% {
    opacity: 1;
    -webkit-transform: translate3d(0, 25px, 0) scaleY(0.9);
    transform: translate3d(0, 25px, 0) scaleY(0.9);
  }

  75% {
    -webkit-transform: translate3d(0, -10px, 0) scaleY(0.95);
    transform: translate3d(0, -10px, 0) scaleY(0.95);
  }

  90% {
    -webkit-transform: translate3d(0, 5px, 0) scaleY(0.985);
    transform: translate3d(0, 5px, 0) scaleY(0.985);
  }

  100% {
    -webkit-transform: none;
    transform: none;
  }
}

.bounceInDown {
  -webkit-animation-name: bounceInDown;
  animation-name: bounceInDown;
}

@-webkit-keyframes bounceInLeft {

  0%,
  60%,
  75%,
  90%,
  100% {
    -webkit-transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }

  0% {
    opacity: 0;
    -webkit-transform: translate3d(-3000px, 0, 0) scaleX(3);
    transform: translate3d(-3000px, 0, 0) scaleX(3);
  }

  60% {
    opacity: 1;
    -webkit-transform: translate3d(25px, 0, 0) scaleX(1);
    transform: translate3d(25px, 0, 0) scaleX(1);
  }

  75% {
    -webkit-transform: translate3d(-10px, 0, 0) scaleX(0.98);
    transform: translate3d(-10px, 0, 0) scaleX(0.98);
  }

  90% {
    -webkit-transform: translate3d(5px, 0, 0) scaleX(0.995);
    transform: translate3d(5px, 0, 0) scaleX(0.995);
  }

  100% {
    -webkit-transform: none;
    transform: none;
  }
}

@keyframes bounceInLeft {

  0%,
  60%,
  75%,
  90%,
  100% {
    -webkit-transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }

  0% {
    opacity: 0;
    -webkit-transform: translate3d(-3000px, 0, 0) scaleX(3);
    transform: translate3d(-3000px, 0, 0) scaleX(3);
  }

  60% {
    opacity: 1;
    -webkit-transform: translate3d(25px, 0, 0) scaleX(1);
    transform: translate3d(25px, 0, 0) scaleX(1);
  }

  75% {
    -webkit-transform: translate3d(-10px, 0, 0) scaleX(0.98);
    transform: translate3d(-10px, 0, 0) scaleX(0.98);
  }

  90% {
    -webkit-transform: translate3d(5px, 0, 0) scaleX(0.995);
    transform: translate3d(5px, 0, 0) scaleX(0.995);
  }

  100% {
    -webkit-transform: none;
    transform: none;
  }
}

.bounceInLeft {
  -webkit-animation-name: bounceInLeft;
  animation-name: bounceInLeft;
}

@-webkit-keyframes bounceInRight {

  0%,
  60%,
  75%,
  90%,
  100% {
    -webkit-transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }

  0% {
    opacity: 0;
    -webkit-transform: translate3d(3000px, 0, 0) scaleX(3);
    transform: translate3d(3000px, 0, 0) scaleX(3);
  }

  60% {
    opacity: 1;
    -webkit-transform: translate3d(-25px, 0, 0) scaleX(1);
    transform: translate3d(-25px, 0, 0) scaleX(1);
  }

  75% {
    -webkit-transform: translate3d(10px, 0, 0) scaleX(0.98);
    transform: translate3d(10px, 0, 0) scaleX(0.98);
  }

  90% {
    -webkit-transform: translate3d(-5px, 0, 0) scaleX(0.995);
    transform: translate3d(-5px, 0, 0) scaleX(0.995);
  }

  100% {
    -webkit-transform: none;
    transform: none;
  }
}

@keyframes bounceInRight {

  0%,
  60%,
  75%,
  90%,
  100% {
    -webkit-transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }

  0% {
    opacity: 0;
    -webkit-transform: translate3d(3000px, 0, 0) scaleX(3);
    transform: translate3d(3000px, 0, 0) scaleX(3);
  }

  60% {
    opacity: 1;
    -webkit-transform: translate3d(-25px, 0, 0) scaleX(1);
    transform: translate3d(-25px, 0, 0) scaleX(1);
  }

  75% {
    -webkit-transform: translate3d(10px, 0, 0) scaleX(0.98);
    transform: translate3d(10px, 0, 0) scaleX(0.98);
  }

  90% {
    -webkit-transform: translate3d(-5px, 0, 0) scaleX(0.995);
    transform: translate3d(-5px, 0, 0) scaleX(0.995);
  }

  100% {
    -webkit-transform: none;
    transform: none;
  }
}

.bounceInRight {
  -webkit-animation-name: bounceInRight;
  animation-name: bounceInRight;
}

@-webkit-keyframes bounceInUp {

  0%,
  60%,
  75%,
  90%,
  100% {
    -webkit-transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }

  0% {
    opacity: 0;
    -webkit-transform: translate3d(0, 3000px, 0) scaleY(5);
    transform: translate3d(0, 3000px, 0) scaleY(5);
  }

  60% {
    opacity: 1;
    -webkit-transform: translate3d(0, -20px, 0) scaleY(0.9);
    transform: translate3d(0, -20px, 0) scaleY(0.9);
  }

  75% {
    -webkit-transform: translate3d(0, 10px, 0) scaleY(0.95);
    transform: translate3d(0, 10px, 0) scaleY(0.95);
  }

  90% {
    -webkit-transform: translate3d(0, -5px, 0) scaleY(0.985);
    transform: translate3d(0, -5px, 0) scaleY(0.985);
  }

  100% {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

@keyframes bounceInUp {

  0%,
  60%,
  75%,
  90%,
  100% {
    -webkit-transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }

  0% {
    opacity: 0;
    -webkit-transform: translate3d(0, 3000px, 0) scaleY(5);
    transform: translate3d(0, 3000px, 0) scaleY(5);
  }

  60% {
    opacity: 1;
    -webkit-transform: translate3d(0, -20px, 0) scaleY(0.9);
    transform: translate3d(0, -20px, 0) scaleY(0.9);
  }

  75% {
    -webkit-transform: translate3d(0, 10px, 0) scaleY(0.95);
    transform: translate3d(0, 10px, 0) scaleY(0.95);
  }

  90% {
    -webkit-transform: translate3d(0, -5px, 0) scaleY(0.985);
    transform: translate3d(0, -5px, 0) scaleY(0.985);
  }

  100% {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

.bounceInUp {
  -webkit-animation-name: bounceInUp;
  animation-name: bounceInUp;
}

@-webkit-keyframes bounceOut {
  20% {
    -webkit-transform: scale3d(0.9, 0.9, 0.9);
    transform: scale3d(0.9, 0.9, 0.9);
  }

  50%,
  55% {
    opacity: 1;
    -webkit-transform: scale3d(1.1, 1.1, 1.1);
    transform: scale3d(1.1, 1.1, 1.1);
  }

  100% {
    opacity: 0;
    -webkit-transform: scale3d(0.3, 0.3, 0.3);
    transform: scale3d(0.3, 0.3, 0.3);
  }
}

@keyframes bounceOut {
  20% {
    -webkit-transform: scale3d(0.9, 0.9, 0.9);
    transform: scale3d(0.9, 0.9, 0.9);
  }

  50%,
  55% {
    opacity: 1;
    -webkit-transform: scale3d(1.1, 1.1, 1.1);
    transform: scale3d(1.1, 1.1, 1.1);
  }

  100% {
    opacity: 0;
    -webkit-transform: scale3d(0.3, 0.3, 0.3);
    transform: scale3d(0.3, 0.3, 0.3);
  }
}

.bounceOut {
  -webkit-animation-name: bounceOut;
  animation-name: bounceOut;
}

@-webkit-keyframes bounceOutDown {
  20% {
    -webkit-transform: translate3d(0, 10px, 0) scaleY(0.985);
    transform: translate3d(0, 10px, 0) scaleY(0.985);
  }

  40%,
  45% {
    opacity: 1;
    -webkit-transform: translate3d(0, -20px, 0) scaleY(0.9);
    transform: translate3d(0, -20px, 0) scaleY(0.9);
  }

  100% {
    opacity: 0;
    -webkit-transform: translate3d(0, 2000px, 0) scaleY(3);
    transform: translate3d(0, 2000px, 0) scaleY(3);
  }
}

@keyframes bounceOutDown {
  20% {
    -webkit-transform: translate3d(0, 10px, 0) scaleY(0.985);
    transform: translate3d(0, 10px, 0) scaleY(0.985);
  }

  40%,
  45% {
    opacity: 1;
    -webkit-transform: translate3d(0, -20px, 0) scaleY(0.9);
    transform: translate3d(0, -20px, 0) scaleY(0.9);
  }

  100% {
    opacity: 0;
    -webkit-transform: translate3d(0, 2000px, 0) scaleY(3);
    transform: translate3d(0, 2000px, 0) scaleY(3);
  }
}

.bounceOutDown {
  -webkit-animation-name: bounceOutDown;
  animation-name: bounceOutDown;
}

@-webkit-keyframes bounceOutLeft {
  20% {
    opacity: 1;
    -webkit-transform: translate3d(20px, 0, 0) scaleX(0.9);
    transform: translate3d(20px, 0, 0) scaleX(0.9);
  }

  100% {
    opacity: 0;
    -webkit-transform: translate3d(-2000px, 0, 0) scaleX(2);
    transform: translate3d(-2000px, 0, 0) scaleX(2);
  }
}

@keyframes bounceOutLeft {
  20% {
    opacity: 1;
    -webkit-transform: translate3d(20px, 0, 0) scaleX(0.9);
    transform: translate3d(20px, 0, 0) scaleX(0.9);
  }

  100% {
    opacity: 0;
    -webkit-transform: translate3d(-2000px, 0, 0) scaleX(2);
    transform: translate3d(-2000px, 0, 0) scaleX(2);
  }
}

.bounceOutLeft {
  -webkit-animation-name: bounceOutLeft;
  animation-name: bounceOutLeft;
}

@-webkit-keyframes bounceOutRight {
  20% {
    opacity: 1;
    -webkit-transform: translate3d(-20px, 0, 0) scaleX(0.9);
    transform: translate3d(-20px, 0, 0) scaleX(0.9);
  }

  100% {
    opacity: 0;
    -webkit-transform: translate3d(2000px, 0, 0) scaleX(2);
    transform: translate3d(2000px, 0, 0) scaleX(2);
  }
}

@keyframes bounceOutRight {
  20% {
    opacity: 1;
    -webkit-transform: translate3d(-20px, 0, 0) scaleX(0.9);
    transform: translate3d(-20px, 0, 0) scaleX(0.9);
  }

  100% {
    opacity: 0;
    -webkit-transform: translate3d(2000px, 0, 0) scaleX(2);
    transform: translate3d(2000px, 0, 0) scaleX(2);
  }
}

.bounceOutRight {
  -webkit-animation-name: bounceOutRight;
  animation-name: bounceOutRight;
}

@-webkit-keyframes bounceOutUp {
  20% {
    -webkit-transform: translate3d(0, -10px, 0) scaleY(0.985);
    transform: translate3d(0, -10px, 0) scaleY(0.985);
  }

  40%,
  45% {
    opacity: 1;
    -webkit-transform: translate3d(0, 20px, 0) scaleY(0.9);
    transform: translate3d(0, 20px, 0) scaleY(0.9);
  }

  100% {
    opacity: 0;
    -webkit-transform: translate3d(0, -2000px, 0) scaleY(3);
    transform: translate3d(0, -2000px, 0) scaleY(3);
  }
}

@keyframes bounceOutUp {
  20% {
    -webkit-transform: translate3d(0, -10px, 0) scaleY(0.985);
    transform: translate3d(0, -10px, 0) scaleY(0.985);
  }

  40%,
  45% {
    opacity: 1;
    -webkit-transform: translate3d(0, 20px, 0) scaleY(0.9);
    transform: translate3d(0, 20px, 0) scaleY(0.9);
  }

  100% {
    opacity: 0;
    -webkit-transform: translate3d(0, -2000px, 0) scaleY(3);
    transform: translate3d(0, -2000px, 0) scaleY(3);
  }
}

.bounceOutUp {
  -webkit-animation-name: bounceOutUp;
  animation-name: bounceOutUp;
}

@-webkit-keyframes fadeIn {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

.fadeIn {
  -webkit-animation-name: fadeIn;
  animation-name: fadeIn;
}

@-webkit-keyframes fadeInDown {
  0% {
    opacity: 0;
    -webkit-transform: translate3d(0, -100%, 0) scaleY(1.2);
    transform: translate3d(0, -100%, 0) scaleY(1.2);
  }

  100% {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
}

@keyframes fadeInDown {
  0% {
    opacity: 0;
    -webkit-transform: translate3d(0, -100%, 0) scaleY(1.2);
    transform: translate3d(0, -100%, 0) scaleY(1.2);
  }

  100% {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
}

.fadeInDown {
  -webkit-animation-name: fadeInDown;
  animation-name: fadeInDown;
}

@-webkit-keyframes fadeInLeft {
  0% {
    opacity: 0;
    -webkit-transform: translate3d(-100%, 0, 0) scaleX(1.2);
    transform: translate3d(-100%, 0, 0) scaleX(1.2);
  }

  100% {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
}

@keyframes fadeInLeft {
  0% {
    opacity: 0;
    -webkit-transform: translate3d(-100%, 0, 0) scaleX(1.2);
    transform: translate3d(-100%, 0, 0) scaleX(1.2);
  }

  100% {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
}

.fadeInLeft {
  -webkit-animation-name: fadeInLeft;
  animation-name: fadeInLeft;
}

@-webkit-keyframes fadeInRight {
  0% {
    opacity: 0;
    -webkit-transform: translate3d(100%, 0, 0) scaleX(1.2);
    transform: translate3d(100%, 0, 0) scaleX(1.2);
  }

  100% {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
}

@keyframes fadeInRight {
  0% {
    opacity: 0;
    -webkit-transform: translate3d(100%, 0, 0) scaleX(1.2);
    transform: translate3d(100%, 0, 0) scaleX(1.2);
  }

  100% {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
}

.fadeInRight {
  -webkit-animation-name: fadeInRight;
  animation-name: fadeInRight;
}

@-webkit-keyframes fadeInUp {
  0% {
    opacity: 0;
    -webkit-transform: translate3d(0, 100%, 0) scaleY(1.2);
    transform: translate3d(0, 100%, 0) scaleY(1.2);
  }

  100% {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    -webkit-transform: translate3d(0, 100%, 0) scaleY(1.2);
    transform: translate3d(0, 100%, 0) scaleY(1.2);
  }

  100% {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
}

.fadeInUp {
  -webkit-animation-name: fadeInUp;
  animation-name: fadeInUp;
}

@-webkit-keyframes fadeInDownBig {
  0% {
    opacity: 0;
    -webkit-transform: translate3d(0, -2000px, 0) scaleY(3);
    transform: translate3d(0, -2000px, 0) scaleY(3);
  }

  100% {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
}

@keyframes fadeInDownBig {
  0% {
    opacity: 0;
    -webkit-transform: translate3d(0, -2000px, 0) scaleY(3);
    transform: translate3d(0, -2000px, 0) scaleY(3);
  }

  100% {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
}

.fadeInDownBig {
  -webkit-animation-name: fadeInDownBig;
  animation-name: fadeInDownBig;
}

@-webkit-keyframes fadeInLeftBig {
  0% {
    opacity: 0;
    -webkit-transform: translate3d(-2000px, 0, 0) scaleX(2);
    transform: translate3d(-2000px, 0, 0) scaleX(2);
  }

  100% {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
}

@keyframes fadeInLeftBig {
  0% {
    opacity: 0;
    -webkit-transform: translate3d(-2000px, 0, 0) scaleX(2);
    transform: translate3d(-2000px, 0, 0) scaleX(2);
  }

  100% {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
}

.fadeInLeftBig {
  -webkit-animation-name: fadeInLeftBig;
  animation-name: fadeInLeftBig;
}

@-webkit-keyframes fadeInRightBig {
  0% {
    opacity: 0;
    -webkit-transform: translate3d(2000px, 0, 0) scaleX(2);
    transform: translate3d(2000px, 0, 0) scaleX(2);
  }

  100% {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
}

@keyframes fadeInRightBig {
  0% {
    opacity: 0;
    -webkit-transform: translate3d(2000px, 0, 0) scaleX(2);
    transform: translate3d(2000px, 0, 0) scaleX(2);
  }

  100% {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
}

.fadeInRightBig {
  -webkit-animation-name: fadeInRightBig;
  animation-name: fadeInRightBig;
}

@-webkit-keyframes fadeInUpBig {
  0% {
    opacity: 0;
    -webkit-transform: translate3d(0, 2000px, 0) scaleY(3);
    transform: translate3d(0, 2000px, 0) scaleY(3);
  }

  100% {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
}

@keyframes fadeInUpBig {
  0% {
    opacity: 0;
    -webkit-transform: translate3d(0, 2000px, 0) scaleY(3);
    transform: translate3d(0, 2000px, 0) scaleY(3);
  }

  100% {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
}

.fadeInUpBig {
  -webkit-animation-name: fadeInUpBig;
  animation-name: fadeInUpBig;
}

@-webkit-keyframes fadeOut {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

@keyframes fadeOut {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

.fadeOut {
  -webkit-animation-name: fadeOut;
  animation-name: fadeOut;
}

@-webkit-keyframes fadeOutDown {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    -webkit-transform: translate3d(0, 100%, 0);
    transform: translate3d(0, 100%, 0);
  }
}

@keyframes fadeOutDown {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    -webkit-transform: translate3d(0, 100%, 0);
    transform: translate3d(0, 100%, 0);
  }
}

.fadeOutDown {
  -webkit-animation-name: fadeOutDown;
  animation-name: fadeOutDown;
}

@-webkit-keyframes fadeOutLeft {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    -webkit-transform: translate3d(-100%, 0, 0);
    transform: translate3d(-100%, 0, 0);
  }
}

@keyframes fadeOutLeft {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    -webkit-transform: translate3d(-100%, 0, 0);
    transform: translate3d(-100%, 0, 0);
  }
}

.fadeOutLeft {
  -webkit-animation-name: fadeOutLeft;
  animation-name: fadeOutLeft;
}

@-webkit-keyframes fadeOutRight {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    -webkit-transform: translate3d(100%, 0, 0);
    transform: translate3d(100%, 0, 0);
  }
}

@keyframes fadeOutRight {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    -webkit-transform: translate3d(100%, 0, 0);
    transform: translate3d(100%, 0, 0);
  }
}

.fadeOutRight {
  -webkit-animation-name: fadeOutRight;
  animation-name: fadeOutRight;
}

@-webkit-keyframes fadeOutUp {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    -webkit-transform: translate3d(0, -100%, 0);
    transform: translate3d(0, -100%, 0);
  }
}

@keyframes fadeOutUp {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    -webkit-transform: translate3d(0, -100%, 0);
    transform: translate3d(0, -100%, 0);
  }
}

.fadeOutUp {
  -webkit-animation-name: fadeOutUp;
  animation-name: fadeOutUp;
}

@-webkit-keyframes fadeOutDownBig {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    -webkit-transform: translate3d(0, 2000px, 0);
    transform: translate3d(0, 2000px, 0);
  }
}

@keyframes fadeOutDownBig {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    -webkit-transform: translate3d(0, 2000px, 0);
    transform: translate3d(0, 2000px, 0);
  }
}

.fadeOutDownBig {
  -webkit-animation-name: fadeOutDownBig;
  animation-name: fadeOutDownBig;
}

@-webkit-keyframes fadeOutLeftBig {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    -webkit-transform: translate3d(-2000px, 0, 0);
    transform: translate3d(-2000px, 0, 0);
  }
}

@keyframes fadeOutLeftBig {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    -webkit-transform: translate3d(-2000px, 0, 0);
    transform: translate3d(-2000px, 0, 0);
  }
}

.fadeOutLeftBig {
  -webkit-animation-name: fadeOutLeftBig;
  animation-name: fadeOutLeftBig;
}

@-webkit-keyframes fadeOutRightBig {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    -webkit-transform: translate3d(2000px, 0, 0);
    transform: translate3d(2000px, 0, 0);
  }
}

@keyframes fadeOutRightBig {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    -webkit-transform: translate3d(2000px, 0, 0);
    transform: translate3d(2000px, 0, 0);
  }
}

.fadeOutRightBig {
  -webkit-animation-name: fadeOutRightBig;
  animation-name: fadeOutRightBig;
}

@-webkit-keyframes fadeOutUpBig {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    -webkit-transform: translate3d(0, -2000px, 0);
    transform: translate3d(0, -2000px, 0);
  }
}

@keyframes fadeOutUpBig {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    -webkit-transform: translate3d(0, -2000px, 0);
    transform: translate3d(0, -2000px, 0);
  }
}

.fadeOutUpBig {
  -webkit-animation-name: fadeOutUpBig;
  animation-name: fadeOutUpBig;
}

@-webkit-keyframes flip {
  0% {
    -webkit-transform: perspective(400px) rotate3d(0, 1, 0, -360deg);
    transform: perspective(400px) rotate3d(0, 1, 0, -360deg);
    -webkit-animation-timing-function: ease-out;
    animation-timing-function: ease-out;
  }

  40% {
    -webkit-transform: perspective(400px) translate3d(0, 0, 150px) rotate3d(0, 1, 0, -190deg);
    transform: perspective(400px) translate3d(0, 0, 150px) rotate3d(0, 1, 0, -190deg);
    -webkit-animation-timing-function: ease-out;
    animation-timing-function: ease-out;
  }

  50% {
    -webkit-transform: perspective(400px) translate3d(0, 0, 150px) rotate3d(0, 1, 0, -170deg);
    transform: perspective(400px) translate3d(0, 0, 150px) rotate3d(0, 1, 0, -170deg);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
  }

  80% {
    -webkit-transform: perspective(400px) scale3d(0.95, 0.95, 0.95);
    transform: perspective(400px) scale3d(0.95, 0.95, 0.95);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
  }

  100% {
    -webkit-transform: perspective(400px);
    transform: perspective(400px);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
  }
}

@keyframes flip {
  0% {
    -webkit-transform: perspective(400px) rotate3d(0, 1, 0, -360deg);
    transform: perspective(400px) rotate3d(0, 1, 0, -360deg);
    -webkit-animation-timing-function: ease-out;
    animation-timing-function: ease-out;
  }

  40% {
    -webkit-transform: perspective(400px) translate3d(0, 0, 150px) rotate3d(0, 1, 0, -190deg);
    transform: perspective(400px) translate3d(0, 0, 150px) rotate3d(0, 1, 0, -190deg);
    -webkit-animation-timing-function: ease-out;
    animation-timing-function: ease-out;
  }

  50% {
    -webkit-transform: perspective(400px) translate3d(0, 0, 150px) rotate3d(0, 1, 0, -170deg);
    transform: perspective(400px) translate3d(0, 0, 150px) rotate3d(0, 1, 0, -170deg);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
  }

  80% {
    -webkit-transform: perspective(400px) scale3d(0.95, 0.95, 0.95);
    transform: perspective(400px) scale3d(0.95, 0.95, 0.95);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
  }

  100% {
    -webkit-transform: perspective(400px);
    transform: perspective(400px);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
  }
}

.animated.flip {
  -webkit-backface-visibility: visible;
  backface-visibility: visible;
  -webkit-animation-name: flip;
  animation-name: flip;
}

@-webkit-keyframes flipInX {
  0% {
    -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
    transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
    -webkit-transition-timing-function: ease-in;
    transition-timing-function: ease-in;
    opacity: 0;
  }

  40% {
    -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
    transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
    -webkit-transition-timing-function: ease-in;
    transition-timing-function: ease-in;
  }

  60% {
    -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 10deg);
    transform: perspective(400px) rotate3d(1, 0, 0, 10deg);
    opacity: 1;
  }

  80% {
    -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -5deg);
    transform: perspective(400px) rotate3d(1, 0, 0, -5deg);
  }

  100% {
    -webkit-transform: perspective(400px);
    transform: perspective(400px);
  }
}

@keyframes flipInX {
  0% {
    -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
    transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
    -webkit-transition-timing-function: ease-in;
    transition-timing-function: ease-in;
    opacity: 0;
  }

  40% {
    -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
    transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
    -webkit-transition-timing-function: ease-in;
    transition-timing-function: ease-in;
  }

  60% {
    -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 10deg);
    transform: perspective(400px) rotate3d(1, 0, 0, 10deg);
    opacity: 1;
  }

  80% {
    -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -5deg);
    transform: perspective(400px) rotate3d(1, 0, 0, -5deg);
  }

  100% {
    -webkit-transform: perspective(400px);
    transform: perspective(400px);
  }
}

.flipInX {
  -webkit-backface-visibility: visible !important;
  backface-visibility: visible !important;
  -webkit-animation-name: flipInX;
  animation-name: flipInX;
}

@-webkit-keyframes flipInY {
  0% {
    -webkit-transform: perspective(400px) rotate3d(0, 1, 0, 90deg);
    transform: perspective(400px) rotate3d(0, 1, 0, 90deg);
    -webkit-transition-timing-function: ease-in;
    transition-timing-function: ease-in;
    opacity: 0;
  }

  40% {
    -webkit-transform: perspective(400px) rotate3d(0, 1, 0, -20deg);
    transform: perspective(400px) rotate3d(0, 1, 0, -20deg);
    -webkit-transition-timing-function: ease-in;
    transition-timing-function: ease-in;
  }

  60% {
    -webkit-transform: perspective(400px) rotate3d(0, 1, 0, 10deg);
    transform: perspective(400px) rotate3d(0, 1, 0, 10deg);
    opacity: 1;
  }

  80% {
    -webkit-transform: perspective(400px) rotate3d(0, 1, 0, -5deg);
    transform: perspective(400px) rotate3d(0, 1, 0, -5deg);
  }

  100% {
    -webkit-transform: perspective(400px);
    transform: perspective(400px);
  }
}

@keyframes flipInY {
  0% {
    -webkit-transform: perspective(400px) rotate3d(0, 1, 0, 90deg);
    transform: perspective(400px) rotate3d(0, 1, 0, 90deg);
    -webkit-transition-timing-function: ease-in;
    transition-timing-function: ease-in;
    opacity: 0;
  }

  40% {
    -webkit-transform: perspective(400px) rotate3d(0, 1, 0, -20deg);
    transform: perspective(400px) rotate3d(0, 1, 0, -20deg);
    -webkit-transition-timing-function: ease-in;
    transition-timing-function: ease-in;
  }

  60% {
    -webkit-transform: perspective(400px) rotate3d(0, 1, 0, 10deg);
    transform: perspective(400px) rotate3d(0, 1, 0, 10deg);
    opacity: 1;
  }

  80% {
    -webkit-transform: perspective(400px) rotate3d(0, 1, 0, -5deg);
    transform: perspective(400px) rotate3d(0, 1, 0, -5deg);
  }

  100% {
    -webkit-transform: perspective(400px);
    transform: perspective(400px);
  }
}

.flipInY {
  -webkit-backface-visibility: visible !important;
  backface-visibility: visible !important;
  -webkit-animation-name: flipInY;
  animation-name: flipInY;
}

@-webkit-keyframes flipOutX {
  0% {
    -webkit-transform: perspective(400px);
    transform: perspective(400px);
  }

  30% {
    -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
    transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
    opacity: 1;
  }

  100% {
    -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
    transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
    opacity: 0;
  }
}

@keyframes flipOutX {
  0% {
    -webkit-transform: perspective(400px);
    transform: perspective(400px);
  }

  30% {
    -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
    transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
    opacity: 1;
  }

  100% {
    -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
    transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
    opacity: 0;
  }
}

.flipOutX {
  -webkit-animation-name: flipOutX;
  animation-name: flipOutX;
  -webkit-backface-visibility: visible !important;
  backface-visibility: visible !important;
}

@-webkit-keyframes flipOutY {
  0% {
    -webkit-transform: perspective(400px);
    transform: perspective(400px);
  }

  30% {
    -webkit-transform: perspective(400px) rotate3d(0, 1, 0, -15deg);
    transform: perspective(400px) rotate3d(0, 1, 0, -15deg);
    opacity: 1;
  }

  100% {
    -webkit-transform: perspective(400px) rotate3d(0, 1, 0, 90deg);
    transform: perspective(400px) rotate3d(0, 1, 0, 90deg);
    opacity: 0;
  }
}

@keyframes flipOutY {
  0% {
    -webkit-transform: perspective(400px);
    transform: perspective(400px);
  }

  30% {
    -webkit-transform: perspective(400px) rotate3d(0, 1, 0, -15deg);
    transform: perspective(400px) rotate3d(0, 1, 0, -15deg);
    opacity: 1;
  }

  100% {
    -webkit-transform: perspective(400px) rotate3d(0, 1, 0, 90deg);
    transform: perspective(400px) rotate3d(0, 1, 0, 90deg);
    opacity: 0;
  }
}

.flipOutY {
  -webkit-backface-visibility: visible !important;
  backface-visibility: visible !important;
  -webkit-animation-name: flipOutY;
  animation-name: flipOutY;
}

@-webkit-keyframes lightSpeedIn {
  0% {
    -webkit-transform: translate3d(100%, 0, 0) skewX(-30deg);
    transform: translate3d(100%, 0, 0) skewX(-30deg);
    opacity: 0;
  }

  60% {
    -webkit-transform: skewX(20deg);
    transform: skewX(20deg);
    opacity: 1;
  }

  80% {
    -webkit-transform: skewX(-5deg);
    transform: skewX(-5deg);
    opacity: 1;
  }

  100% {
    -webkit-transform: none;
    transform: none;
    opacity: 1;
  }
}

@keyframes lightSpeedIn {
  0% {
    -webkit-transform: translate3d(100%, 0, 0) skewX(-30deg);
    transform: translate3d(100%, 0, 0) skewX(-30deg);
    opacity: 0;
  }

  60% {
    -webkit-transform: skewX(20deg);
    transform: skewX(20deg);
    opacity: 1;
  }

  80% {
    -webkit-transform: skewX(-5deg);
    transform: skewX(-5deg);
    opacity: 1;
  }

  100% {
    -webkit-transform: none;
    transform: none;
    opacity: 1;
  }
}

.lightSpeedIn {
  -webkit-animation-name: lightSpeedIn;
  animation-name: lightSpeedIn;
  -webkit-animation-timing-function: ease-out;
  animation-timing-function: ease-out;
}

@-webkit-keyframes lightSpeedOut {
  0% {
    opacity: 1;
  }

  100% {
    -webkit-transform: translate3d(100%, 0, 0) skewX(30deg);
    transform: translate3d(100%, 0, 0) skewX(30deg);
    opacity: 0;
  }
}

@keyframes lightSpeedOut {
  0% {
    opacity: 1;
  }

  100% {
    -webkit-transform: translate3d(100%, 0, 0) skewX(30deg);
    transform: translate3d(100%, 0, 0) skewX(30deg);
    opacity: 0;
  }
}

.lightSpeedOut {
  -webkit-animation-name: lightSpeedOut;
  animation-name: lightSpeedOut;
  -webkit-animation-timing-function: ease-in;
  animation-timing-function: ease-in;
}

@-webkit-keyframes rotateIn {
  0% {
    -webkit-transform-origin: center;
    transform-origin: center;
    -webkit-transform: rotate3d(0, 0, 1, -200deg);
    transform: rotate3d(0, 0, 1, -200deg);
    opacity: 0;
  }

  100% {
    -webkit-transform-origin: center;
    transform-origin: center;
    -webkit-transform: none;
    transform: none;
    opacity: 1;
  }
}

@keyframes rotateIn {
  0% {
    -webkit-transform-origin: center;
    transform-origin: center;
    -webkit-transform: rotate3d(0, 0, 1, -200deg);
    transform: rotate3d(0, 0, 1, -200deg);
    opacity: 0;
  }

  100% {
    -webkit-transform-origin: center;
    transform-origin: center;
    -webkit-transform: none;
    transform: none;
    opacity: 1;
  }
}

.rotateIn {
  -webkit-animation-name: rotateIn;
  animation-name: rotateIn;
}

@-webkit-keyframes rotateInDownLeft {
  0% {
    -webkit-transform-origin: left bottom;
    transform-origin: left bottom;
    -webkit-transform: rotate3d(0, 0, 1, -45deg);
    transform: rotate3d(0, 0, 1, -45deg);
    opacity: 0;
  }

  100% {
    -webkit-transform-origin: left bottom;
    transform-origin: left bottom;
    -webkit-transform: none;
    transform: none;
    opacity: 1;
  }
}

@keyframes rotateInDownLeft {
  0% {
    -webkit-transform-origin: left bottom;
    transform-origin: left bottom;
    -webkit-transform: rotate3d(0, 0, 1, -45deg);
    transform: rotate3d(0, 0, 1, -45deg);
    opacity: 0;
  }

  100% {
    -webkit-transform-origin: left bottom;
    transform-origin: left bottom;
    -webkit-transform: none;
    transform: none;
    opacity: 1;
  }
}

.rotateInDownLeft {
  -webkit-animation-name: rotateInDownLeft;
  animation-name: rotateInDownLeft;
}

@-webkit-keyframes rotateInDownRight {
  0% {
    -webkit-transform-origin: right bottom;
    transform-origin: right bottom;
    -webkit-transform: rotate3d(0, 0, 1, 45deg);
    transform: rotate3d(0, 0, 1, 45deg);
    opacity: 0;
  }

  100% {
    -webkit-transform-origin: right bottom;
    transform-origin: right bottom;
    -webkit-transform: none;
    transform: none;
    opacity: 1;
  }
}

@keyframes rotateInDownRight {
  0% {
    -webkit-transform-origin: right bottom;
    transform-origin: right bottom;
    -webkit-transform: rotate3d(0, 0, 1, 45deg);
    transform: rotate3d(0, 0, 1, 45deg);
    opacity: 0;
  }

  100% {
    -webkit-transform-origin: right bottom;
    transform-origin: right bottom;
    -webkit-transform: none;
    transform: none;
    opacity: 1;
  }
}

.rotateInDownRight {
  -webkit-animation-name: rotateInDownRight;
  animation-name: rotateInDownRight;
}

@-webkit-keyframes rotateInUpLeft {
  0% {
    -webkit-transform-origin: left bottom;
    transform-origin: left bottom;
    -webkit-transform: rotate3d(0, 0, 1, 45deg);
    transform: rotate3d(0, 0, 1, 45deg);
    opacity: 0;
  }

  100% {
    -webkit-transform-origin: left bottom;
    transform-origin: left bottom;
    -webkit-transform: none;
    transform: none;
    opacity: 1;
  }
}

@keyframes rotateInUpLeft {
  0% {
    -webkit-transform-origin: left bottom;
    transform-origin: left bottom;
    -webkit-transform: rotate3d(0, 0, 1, 45deg);
    transform: rotate3d(0, 0, 1, 45deg);
    opacity: 0;
  }

  100% {
    -webkit-transform-origin: left bottom;
    transform-origin: left bottom;
    -webkit-transform: none;
    transform: none;
    opacity: 1;
  }
}

.rotateInUpLeft {
  -webkit-animation-name: rotateInUpLeft;
  animation-name: rotateInUpLeft;
}

@-webkit-keyframes rotateInUpRight {
  0% {
    -webkit-transform-origin: right bottom;
    transform-origin: right bottom;
    -webkit-transform: rotate3d(0, 0, 1, -90deg);
    transform: rotate3d(0, 0, 1, -90deg);
    opacity: 0;
  }

  100% {
    -webkit-transform-origin: right bottom;
    transform-origin: right bottom;
    -webkit-transform: none;
    transform: none;
    opacity: 1;
  }
}

@keyframes rotateInUpRight {
  0% {
    -webkit-transform-origin: right bottom;
    transform-origin: right bottom;
    -webkit-transform: rotate3d(0, 0, 1, -90deg);
    transform: rotate3d(0, 0, 1, -90deg);
    opacity: 0;
  }

  100% {
    -webkit-transform-origin: right bottom;
    transform-origin: right bottom;
    -webkit-transform: none;
    transform: none;
    opacity: 1;
  }
}

.rotateInUpRight {
  -webkit-animation-name: rotateInUpRight;
  animation-name: rotateInUpRight;
}

@-webkit-keyframes rotateOut {
  0% {
    -webkit-transform-origin: center;
    transform-origin: center;
    opacity: 1;
  }

  100% {
    -webkit-transform-origin: center;
    transform-origin: center;
    -webkit-transform: rotate3d(0, 0, 1, 200deg);
    transform: rotate3d(0, 0, 1, 200deg);
    opacity: 0;
  }
}

@keyframes rotateOut {
  0% {
    -webkit-transform-origin: center;
    transform-origin: center;
    opacity: 1;
  }

  100% {
    -webkit-transform-origin: center;
    transform-origin: center;
    -webkit-transform: rotate3d(0, 0, 1, 200deg);
    transform: rotate3d(0, 0, 1, 200deg);
    opacity: 0;
  }
}

.rotateOut {
  -webkit-animation-name: rotateOut;
  animation-name: rotateOut;
}

@-webkit-keyframes rotateOutDownLeft {
  0% {
    -webkit-transform-origin: left bottom;
    transform-origin: left bottom;
    opacity: 1;
  }

  100% {
    -webkit-transform-origin: left bottom;
    transform-origin: left bottom;
    -webkit-transform: rotate3d(0, 0, 1, 45deg);
    transform: rotate3d(0, 0, 1, 45deg);
    opacity: 0;
  }
}

@keyframes rotateOutDownLeft {
  0% {
    -webkit-transform-origin: left bottom;
    transform-origin: left bottom;
    opacity: 1;
  }

  100% {
    -webkit-transform-origin: left bottom;
    transform-origin: left bottom;
    -webkit-transform: rotate3d(0, 0, 1, 45deg);
    transform: rotate3d(0, 0, 1, 45deg);
    opacity: 0;
  }
}

.rotateOutDownLeft {
  -webkit-animation-name: rotateOutDownLeft;
  animation-name: rotateOutDownLeft;
}

@-webkit-keyframes rotateOutDownRight {
  0% {
    -webkit-transform-origin: right bottom;
    transform-origin: right bottom;
    opacity: 1;
  }

  100% {
    -webkit-transform-origin: right bottom;
    transform-origin: right bottom;
    -webkit-transform: rotate3d(0, 0, 1, -45deg);
    transform: rotate3d(0, 0, 1, -45deg);
    opacity: 0;
  }
}

@keyframes rotateOutDownRight {
  0% {
    -webkit-transform-origin: right bottom;
    transform-origin: right bottom;
    opacity: 1;
  }

  100% {
    -webkit-transform-origin: right bottom;
    transform-origin: right bottom;
    -webkit-transform: rotate3d(0, 0, 1, -45deg);
    transform: rotate3d(0, 0, 1, -45deg);
    opacity: 0;
  }
}

.rotateOutDownRight {
  -webkit-animation-name: rotateOutDownRight;
  animation-name: rotateOutDownRight;
}

@-webkit-keyframes rotateOutUpLeft {
  0% {
    -webkit-transform-origin: left bottom;
    transform-origin: left bottom;
    opacity: 1;
  }

  100% {
    -webkit-transform-origin: left bottom;
    transform-origin: left bottom;
    -webkit-transform: rotate3d(0, 0, 1, -45deg);
    transform: rotate3d(0, 0, 1, -45deg);
    opacity: 0;
  }
}

@keyframes rotateOutUpLeft {
  0% {
    -webkit-transform-origin: left bottom;
    transform-origin: left bottom;
    opacity: 1;
  }

  100% {
    -webkit-transform-origin: left bottom;
    transform-origin: left bottom;
    -webkit-transform: rotate3d(0, 0, 1, -45deg);
    transform: rotate3d(0, 0, 1, -45deg);
    opacity: 0;
  }
}

.rotateOutUpLeft {
  -webkit-animation-name: rotateOutUpLeft;
  animation-name: rotateOutUpLeft;
}

@-webkit-keyframes rotateOutUpRight {
  0% {
    -webkit-transform-origin: right bottom;
    transform-origin: right bottom;
    opacity: 1;
  }

  100% {
    -webkit-transform-origin: right bottom;
    transform-origin: right bottom;
    -webkit-transform: rotate3d(0, 0, 1, 90deg);
    transform: rotate3d(0, 0, 1, 90deg);
    opacity: 0;
  }
}

@keyframes rotateOutUpRight {
  0% {
    -webkit-transform-origin: right bottom;
    transform-origin: right bottom;
    opacity: 1;
  }

  100% {
    -webkit-transform-origin: right bottom;
    transform-origin: right bottom;
    -webkit-transform: rotate3d(0, 0, 1, 90deg);
    transform: rotate3d(0, 0, 1, 90deg);
    opacity: 0;
  }
}

.rotateOutUpRight {
  -webkit-animation-name: rotateOutUpRight;
  animation-name: rotateOutUpRight;
}

@-webkit-keyframes hinge {
  0% {
    -webkit-transform-origin: top left;
    transform-origin: top left;
    -webkit-animation-timing-function: ease-in-out;
    animation-timing-function: ease-in-out;
  }

  20%,
  60% {
    -webkit-transform: rotate3d(0, 0, 1, 80deg);
    transform: rotate3d(0, 0, 1, 80deg);
    -webkit-transform-origin: top left;
    transform-origin: top left;
    -webkit-animation-timing-function: ease-in-out;
    animation-timing-function: ease-in-out;
  }

  40%,
  80% {
    -webkit-transform: rotate3d(0, 0, 1, 60deg);
    transform: rotate3d(0, 0, 1, 60deg);
    -webkit-transform-origin: top left;
    transform-origin: top left;
    -webkit-animation-timing-function: ease-in-out;
    animation-timing-function: ease-in-out;
    opacity: 1;
  }

  100% {
    -webkit-transform: translate3d(0, 700px, 0);
    transform: translate3d(0, 700px, 0);
    opacity: 0;
  }
}

@keyframes hinge {
  0% {
    -webkit-transform-origin: top left;
    transform-origin: top left;
    -webkit-animation-timing-function: ease-in-out;
    animation-timing-function: ease-in-out;
  }

  20%,
  60% {
    -webkit-transform: rotate3d(0, 0, 1, 80deg);
    transform: rotate3d(0, 0, 1, 80deg);
    -webkit-transform-origin: top left;
    transform-origin: top left;
    -webkit-animation-timing-function: ease-in-out;
    animation-timing-function: ease-in-out;
  }

  40%,
  80% {
    -webkit-transform: rotate3d(0, 0, 1, 60deg);
    transform: rotate3d(0, 0, 1, 60deg);
    -webkit-transform-origin: top left;
    transform-origin: top left;
    -webkit-animation-timing-function: ease-in-out;
    animation-timing-function: ease-in-out;
    opacity: 1;
  }

  100% {
    -webkit-transform: translate3d(0, 700px, 0);
    transform: translate3d(0, 700px, 0);
    opacity: 0;
  }
}

.hinge {
  -webkit-animation-name: hinge;
  animation-name: hinge;
}

/* originally authored by Nick Pettit - https://github.com/nickpettit/glide */
@-webkit-keyframes rollIn {
  0% {
    opacity: 0;
    -webkit-transform: translate3d(-100%, 0, 0) rotate3d(0, 0, 1, -120deg);
    transform: translate3d(-100%, 0, 0) rotate3d(0, 0, 1, -120deg);
  }

  100% {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
}

@keyframes rollIn {
  0% {
    opacity: 0;
    -webkit-transform: translate3d(-100%, 0, 0) rotate3d(0, 0, 1, -120deg);
    transform: translate3d(-100%, 0, 0) rotate3d(0, 0, 1, -120deg);
  }

  100% {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
}

.rollIn {
  -webkit-animation-name: rollIn;
  animation-name: rollIn;
}

/* originally authored by Nick Pettit - https://github.com/nickpettit/glide */
@-webkit-keyframes rollOut {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    -webkit-transform: translate3d(100%, 0, 0) rotate3d(0, 0, 1, 120deg);
    transform: translate3d(100%, 0, 0) rotate3d(0, 0, 1, 120deg);
  }
}

@keyframes rollOut {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    -webkit-transform: translate3d(100%, 0, 0) rotate3d(0, 0, 1, 120deg);
    transform: translate3d(100%, 0, 0) rotate3d(0, 0, 1, 120deg);
  }
}

.rollOut {
  -webkit-animation-name: rollOut;
  animation-name: rollOut;
}

@-webkit-keyframes zoomIn {
  0% {
    opacity: 0;
    -webkit-transform: scale3d(0.3, 0.3, 0.3);
    transform: scale3d(0.3, 0.3, 0.3);
  }

  50% {
    opacity: 1;
  }
}

@keyframes zoomIn {
  0% {
    opacity: 0;
    -webkit-transform: scale3d(0.3, 0.3, 0.3);
    transform: scale3d(0.3, 0.3, 0.3);
  }

  50% {
    opacity: 1;
  }
}

.zoomIn {
  -webkit-animation-name: zoomIn;
  animation-name: zoomIn;
}

@-webkit-keyframes zoomInDown {
  0% {
    opacity: 0;
    -webkit-transform: scale3d(0.1, 0.1, 0.1) translate3d(0, -1000px, 0);
    transform: scale3d(0.1, 0.1, 0.1) translate3d(0, -1000px, 0);
    -webkit-animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
    animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
  }

  60% {
    opacity: 1;
    -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(0, 60px, 0);
    transform: scale3d(0.475, 0.475, 0.475) translate3d(0, 60px, 0);
    -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
    animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
  }
}

@keyframes zoomInDown {
  0% {
    opacity: 0;
    -webkit-transform: scale3d(0.1, 0.1, 0.1) translate3d(0, -1000px, 0);
    transform: scale3d(0.1, 0.1, 0.1) translate3d(0, -1000px, 0);
    -webkit-animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
    animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
  }

  60% {
    opacity: 1;
    -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(0, 60px, 0);
    transform: scale3d(0.475, 0.475, 0.475) translate3d(0, 60px, 0);
    -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
    animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
  }
}

.zoomInDown {
  -webkit-animation-name: zoomInDown;
  animation-name: zoomInDown;
}

@-webkit-keyframes zoomInLeft {
  0% {
    opacity: 0;
    -webkit-transform: scale3d(0.1, 0.1, 0.1) translate3d(-1000px, 0, 0);
    transform: scale3d(0.1, 0.1, 0.1) translate3d(-1000px, 0, 0);
    -webkit-animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
    animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
  }

  60% {
    opacity: 1;
    -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(10px, 0, 0);
    transform: scale3d(0.475, 0.475, 0.475) translate3d(10px, 0, 0);
    -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
    animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
  }
}

@keyframes zoomInLeft {
  0% {
    opacity: 0;
    -webkit-transform: scale3d(0.1, 0.1, 0.1) translate3d(-1000px, 0, 0);
    transform: scale3d(0.1, 0.1, 0.1) translate3d(-1000px, 0, 0);
    -webkit-animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
    animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
  }

  60% {
    opacity: 1;
    -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(10px, 0, 0);
    transform: scale3d(0.475, 0.475, 0.475) translate3d(10px, 0, 0);
    -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
    animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
  }
}

.zoomInLeft {
  -webkit-animation-name: zoomInLeft;
  animation-name: zoomInLeft;
}

@-webkit-keyframes zoomInRight {
  0% {
    opacity: 0;
    -webkit-transform: scale3d(0.1, 0.1, 0.1) translate3d(1000px, 0, 0);
    transform: scale3d(0.1, 0.1, 0.1) translate3d(1000px, 0, 0);
    -webkit-animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
    animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
  }

  60% {
    opacity: 1;
    -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(-10px, 0, 0);
    transform: scale3d(0.475, 0.475, 0.475) translate3d(-10px, 0, 0);
    -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
    animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
  }
}

@keyframes zoomInRight {
  0% {
    opacity: 0;
    -webkit-transform: scale3d(0.1, 0.1, 0.1) translate3d(1000px, 0, 0);
    transform: scale3d(0.1, 0.1, 0.1) translate3d(1000px, 0, 0);
    -webkit-animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
    animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
  }

  60% {
    opacity: 1;
    -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(-10px, 0, 0);
    transform: scale3d(0.475, 0.475, 0.475) translate3d(-10px, 0, 0);
    -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
    animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
  }
}

.zoomInRight {
  -webkit-animation-name: zoomInRight;
  animation-name: zoomInRight;
}

@-webkit-keyframes zoomInUp {
  0% {
    opacity: 0;
    -webkit-transform: scale3d(0.1, 0.1, 0.1) translate3d(0, 1000px, 0);
    transform: scale3d(0.1, 0.1, 0.1) translate3d(0, 1000px, 0);
    -webkit-animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
    animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
  }

  60% {
    opacity: 1;
    -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(0, -60px, 0);
    transform: scale3d(0.475, 0.475, 0.475) translate3d(0, -60px, 0);
    -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
    animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
  }
}

@keyframes zoomInUp {
  0% {
    opacity: 0;
    -webkit-transform: scale3d(0.1, 0.1, 0.1) translate3d(0, 1000px, 0);
    transform: scale3d(0.1, 0.1, 0.1) translate3d(0, 1000px, 0);
    -webkit-animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
    animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
  }

  60% {
    opacity: 1;
    -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(0, -60px, 0);
    transform: scale3d(0.475, 0.475, 0.475) translate3d(0, -60px, 0);
    -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
    animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
  }
}

.zoomInUp {
  -webkit-animation-name: zoomInUp;
  animation-name: zoomInUp;
}

@-webkit-keyframes zoomOut {
  0% {
    opacity: 1;
  }

  50% {
    opacity: 0;
    -webkit-transform: scale3d(0.3, 0.3, 0.3);
    transform: scale3d(0.3, 0.3, 0.3);
  }

  100% {
    opacity: 0;
  }
}

@keyframes zoomOut {
  0% {
    opacity: 1;
  }

  50% {
    opacity: 0;
    -webkit-transform: scale3d(0.3, 0.3, 0.3);
    transform: scale3d(0.3, 0.3, 0.3);
  }

  100% {
    opacity: 0;
  }
}

.zoomOut {
  -webkit-animation-name: zoomOut;
  animation-name: zoomOut;
}

@-webkit-keyframes zoomOutDown {
  40% {
    opacity: 1;
    -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(0, -60px, 0);
    transform: scale3d(0.475, 0.475, 0.475) translate3d(0, -60px, 0);
    -webkit-animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
    animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
  }

  100% {
    opacity: 0;
    -webkit-transform: scale3d(0.1, 0.1, 0.1) translate3d(0, 2000px, 0);
    transform: scale3d(0.1, 0.1, 0.1) translate3d(0, 2000px, 0);
    -webkit-transform-origin: center bottom;
    transform-origin: center bottom;
    -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
    animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
  }
}

@keyframes zoomOutDown {
  40% {
    opacity: 1;
    -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(0, -60px, 0);
    transform: scale3d(0.475, 0.475, 0.475) translate3d(0, -60px, 0);
    -webkit-animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
    animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
  }

  100% {
    opacity: 0;
    -webkit-transform: scale3d(0.1, 0.1, 0.1) translate3d(0, 2000px, 0);
    transform: scale3d(0.1, 0.1, 0.1) translate3d(0, 2000px, 0);
    -webkit-transform-origin: center bottom;
    transform-origin: center bottom;
    -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
    animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
  }
}

.zoomOutDown {
  -webkit-animation-name: zoomOutDown;
  animation-name: zoomOutDown;
}

@-webkit-keyframes zoomOutLeft {
  40% {
    opacity: 1;
    -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(42px, 0, 0);
    transform: scale3d(0.475, 0.475, 0.475) translate3d(42px, 0, 0);
  }

  100% {
    opacity: 0;
    -webkit-transform: scale(0.1) translate3d(-2000px, 0, 0);
    transform: scale(0.1) translate3d(-2000px, 0, 0);
    -webkit-transform-origin: left center;
    transform-origin: left center;
  }
}

@keyframes zoomOutLeft {
  40% {
    opacity: 1;
    -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(42px, 0, 0);
    transform: scale3d(0.475, 0.475, 0.475) translate3d(42px, 0, 0);
  }

  100% {
    opacity: 0;
    -webkit-transform: scale(0.1) translate3d(-2000px, 0, 0);
    transform: scale(0.1) translate3d(-2000px, 0, 0);
    -webkit-transform-origin: left center;
    transform-origin: left center;
  }
}

.zoomOutLeft {
  -webkit-animation-name: zoomOutLeft;
  animation-name: zoomOutLeft;
}

@-webkit-keyframes zoomOutRight {
  40% {
    opacity: 1;
    -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(-42px, 0, 0);
    transform: scale3d(0.475, 0.475, 0.475) translate3d(-42px, 0, 0);
  }

  100% {
    opacity: 0;
    -webkit-transform: scale(0.1) translate3d(2000px, 0, 0);
    transform: scale(0.1) translate3d(2000px, 0, 0);
    -webkit-transform-origin: right center;
    transform-origin: right center;
  }
}

@keyframes zoomOutRight {
  40% {
    opacity: 1;
    -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(-42px, 0, 0);
    transform: scale3d(0.475, 0.475, 0.475) translate3d(-42px, 0, 0);
  }

  100% {
    opacity: 0;
    -webkit-transform: scale(0.1) translate3d(2000px, 0, 0);
    transform: scale(0.1) translate3d(2000px, 0, 0);
    -webkit-transform-origin: right center;
    transform-origin: right center;
  }
}

.zoomOutRight {
  -webkit-animation-name: zoomOutRight;
  animation-name: zoomOutRight;
}

@-webkit-keyframes zoomOutUp {
  40% {
    opacity: 1;
    -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(0, 60px, 0);
    transform: scale3d(0.475, 0.475, 0.475) translate3d(0, 60px, 0);
    -webkit-animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
    animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
  }

  100% {
    opacity: 0;
    -webkit-transform: scale3d(0.1, 0.1, 0.1) translate3d(0, -2000px, 0);
    transform: scale3d(0.1, 0.1, 0.1) translate3d(0, -2000px, 0);
    -webkit-transform-origin: center bottom;
    transform-origin: center bottom;
    -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
    animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
  }
}

@keyframes zoomOutUp {
  40% {
    opacity: 1;
    -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(0, 60px, 0);
    transform: scale3d(0.475, 0.475, 0.475) translate3d(0, 60px, 0);
    -webkit-animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
    animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
  }

  100% {
    opacity: 0;
    -webkit-transform: scale3d(0.1, 0.1, 0.1) translate3d(0, -2000px, 0);
    transform: scale3d(0.1, 0.1, 0.1) translate3d(0, -2000px, 0);
    -webkit-transform-origin: center bottom;
    transform-origin: center bottom;
    -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
    animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
  }
}

.zoomOutUp {
  -webkit-animation-name: zoomOutUp;
  animation-name: zoomOutUp;
}

@keyframes slideInDown {
  0% {
    -webkit-transform: translate3d(0, -100%, 0);
    transform: translate3d(0, -100%, 0);
    visibility: visible;
  }

  100% {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

.slideInDown {
  -webkit-animation-name: slideInDown;
  animation-name: slideInDown;
}

@keyframes slideInLeft {
  0% {
    -webkit-transform: translate3d(-100%, 0, 0);
    transform: translate3d(-100%, 0, 0);
    visibility: visible;
  }

  100% {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

.slideInLeft {
  -webkit-animation-name: slideInLeft;
  animation-name: slideInLeft;
}

@keyframes slideInRight {
  0% {
    -webkit-transform: translate3d(100%, 0, 0);
    transform: translate3d(100%, 0, 0);
    visibility: visible;
  }

  100% {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

.slideInRight {
  -webkit-animation-name: slideInRight;
  animation-name: slideInRight;
}

@keyframes slideInUp {
  0% {
    -webkit-transform: translate3d(0, 100%, 0);
    transform: translate3d(0, 100%, 0);
    visibility: visible;
  }

  100% {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

.slideInUp {
  -webkit-animation-name: slideInUp;
  animation-name: slideInUp;
}

/*--------------------------------------------------------------
  # Global
  --------------------------------------------------------------*/
.nbdpb-no-overflow {
  overflow: hidden !important;
}

.icon-nbd {
  font-size: 24px !important;
  cursor: pointer;
}

.nbdpb-full-contain {
  width: 100%;
  height: 100%;
}

img {
  max-width: 100%;
  height: auto;
}

.nbdpb-hide {
  display: none !important;
}

.nbdpb-show {
  display: block !important;
}

.nbdpb-disabled {
  pointer-events: none;
  opacity: 0.3;
}

.rotate-45 {
  display: inline-block;
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

.rotate45 {
  display: inline-block;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}

.rotate30 {
  display: inline-block;
  -webkit-transform: rotate(30deg);
  transform: rotate(30deg);
}

.rotate-30 {
  display: inline-block;
  -webkit-transform: rotate(-30deg);
  transform: rotate(-30deg);
}

.rotate-60 {
  display: inline-block;
  -webkit-transform: rotate(-60deg);
  transform: rotate(-60deg);
}

.rotate60 {
  display: inline-block;
  -webkit-transform: rotate(60deg);
  transform: rotate(60deg);
}

.rotate90 {
  display: inline-block;
  -webkit-transform: rotate(90deg);
  transform: rotate(90deg);
}

.rotate-90 {
  display: inline-block;
  -webkit-transform: rotate(-90deg);
  transform: rotate(-90deg);
}

.rotate135 {
  display: inline-block;
  -webkit-transform: rotate(135deg);
  transform: rotate(135deg);
}

.rotate-135 {
  display: inline-block;
  -webkit-transform: rotate(-135deg);
  transform: rotate(-135deg);
}

.rotate-180 {
  display: inline-block;
  -webkit-transform: rotate(-180deg);
  transform: rotate(-180deg);
}

.rotate180 {
  display: inline-block;
  -webkit-transform: rotate(180deg);
  transform: rotate(180deg);
}

.animate100 {
  -webkit-animation-duration: 0.1s !important;
  animation-duration: 0.1s !important;
}

.animate200 {
  -webkit-animation-duration: 0.2s !important;
  animation-duration: 0.2s !important;
}

.animate300 {
  -webkit-animation-duration: 0.3s !important;
  animation-duration: 0.3s !important;
}

.animate400 {
  -webkit-animation-duration: 0.4s !important;
  animation-duration: 0.4s !important;
}

.animate500 {
  -webkit-animation-duration: 0.5s !important;
  animation-duration: 0.5s !important;
}

.animate600 {
  -webkit-animation-duration: 0.6s !important;
  animation-duration: 0.6s !important;
}

.animate700 {
  -webkit-animation-duration: 0.7s !important;
  animation-duration: 0.7s !important;
}

.animate800 {
  -webkit-animation-duration: 0.8s !important;
  animation-duration: 0.8s !important;
}

.animate900 {
  -webkit-animation-duration: 0.9s !important;
  animation-duration: 0.9s !important;
}

.animate1000 {
  -webkit-animation-duration: 1s !important;
  animation-duration: 1s !important;
}

.animate1100 {
  -webkit-animation-duration: 1.1s !important;
  animation-duration: 1.1s !important;
}

.nbdpbSlide {
  -webkit-animation-timing-function: cubic-bezier(0.52, 0.99, 0.57, 1);
  animation-timing-function: cubic-bezier(0.52, 0.99, 0.57, 1);
  -webkit-animation-fill-mode: forwards;
  animation-fill-mode: forwards;
  -webkit-animation-duration: 800ms;
  animation-duration: 800ms;
  -webkit-animation-name: slideInKeyframes;
  animation-name: slideInKeyframes;
}

.nbdpbFadeIn {
  -webkit-animation-name: fadeIn;
  animation-name: fadeIn;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
}

@-webkit-keyframes slideInKeyframes {
  0% {
    -webkit-transform: translateX(100vw);
    transform: translateX(100vw);
    opacity: 0;
  }

  55% {
    -webkit-transform: translateX(-10px);
    transform: translateX(-10px);
  }

  60% {
    -webkit-transform: translateX(-10px);
    transform: translateX(-10px);
  }

  100% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideInKeyframes {
  0% {
    -webkit-transform: translateX(100vw);
    transform: translateX(100vw);
    opacity: 0;
  }

  55% {
    -webkit-transform: translateX(-10px);
    transform: translateX(-10px);
  }

  60% {
    -webkit-transform: translateX(-10px);
    transform: translateX(-10px);
  }

  100% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

/*--------------------------------------------------------------
  # component
  --------------------------------------------------------------*/
.nbdpb-popup {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: -1;
  opacity: 0;
  visibility: hidden;
}

.nbdpb-popup.nbdpb-show {
  opacity: 1;
  visibility: visible;
  z-index: 999999999;
}

.nbdpb-popup .close-popup {
  position: absolute;
  left: 10px;
  top: 10px;
  z-index: 99999;
}

.nbdpb-popup.popup-design {
  background-color: var(--nbd-st-bg-soft);
}

.nbdpb-popup.is-admin-bar {
  top: 32px;
}

@media screen and (max-width: 782px) {
  .nbdpb-popup.is-admin-bar {
    top: 0;
  }
}

/*--------------------------------------------------------------
  # App
  --------------------------------------------------------------*/
.nbdpb-product-builder {
  width: 100%;
  height: 100%;
  overflow: hidden;
  /*--------------------------------------------------------------
    # component
    --------------------------------------------------------------*/
  /* HTML5 display-role reset for older browsers */
  /* HTML5 hidden-attribute fix for newer browsers */
  /*--------------------------------------------------------------
    # Patials
    --------------------------------------------------------------*/
}

.nbdpb-product-builder html,
.nbdpb-product-builder body,
.nbdpb-product-builder span,
.nbdpb-product-builder applet,
.nbdpb-product-builder object,
.nbdpb-product-builder iframe,
.nbdpb-product-builder h1,
.nbdpb-product-builder h2,
.nbdpb-product-builder h3,
.nbdpb-product-builder h4,
.nbdpb-product-builder h5,
.nbdpb-product-builder h6,
.nbdpb-product-builder p,
.nbdpb-product-builder blockquote,
.nbdpb-product-builder pre,
.nbdpb-product-builder a,
.nbdpb-product-builder abbr,
.nbdpb-product-builder acronym,
.nbdpb-product-builder address,
.nbdpb-product-builder big,
.nbdpb-product-builder cite,
.nbdpb-product-builder code,
.nbdpb-product-builder del,
.nbdpb-product-builder dfn,
.nbdpb-product-builder em,
.nbdpb-product-builder img,
.nbdpb-product-builder ins,
.nbdpb-product-builder kbd,
.nbdpb-product-builder q,
.nbdpb-product-builder s,
.nbdpb-product-builder samp,
.nbdpb-product-builder small,
.nbdpb-product-builder strike,
.nbdpb-product-builder strong,
.nbdpb-product-builder sub,
.nbdpb-product-builder sup,
.nbdpb-product-builder tt,
.nbdpb-product-builder var,
.nbdpb-product-builder b,
.nbdpb-product-builder u,
.nbdpb-product-builder i,
.nbdpb-product-builder center,
.nbdpb-product-builder dl,
.nbdpb-product-builder dt,
.nbdpb-product-builder dd,
.nbdpb-product-builder ol,
.nbdpb-product-builder ul,
.nbdpb-product-builder li,
.nbdpb-product-builder fieldset,
.nbdpb-product-builder form,
.nbdpb-product-builder label,
.nbdpb-product-builder legend,
.nbdpb-product-builder table,
.nbdpb-product-builder caption,
.nbdpb-product-builder tbody,
.nbdpb-product-builder tfoot,
.nbdpb-product-builder thead,
.nbdpb-product-builder tr,
.nbdpb-product-builder th,
.nbdpb-product-builder td,
.nbdpb-product-builder article,
.nbdpb-product-builder aside,
.nbdpb-product-builder canvas,
.nbdpb-product-builder details,
.nbdpb-product-builder embed,
.nbdpb-product-builder figure,
.nbdpb-product-builder figcaption,
.nbdpb-product-builder footer,
.nbdpb-product-builder header,
.nbdpb-product-builder hgroup,
.nbdpb-product-builder main,
.nbdpb-product-builder menu,
.nbdpb-product-builder nav,
.nbdpb-product-builder output,
.nbdpb-product-builder ruby,
.nbdpb-product-builder section,
.nbdpb-product-builder summary,
.nbdpb-product-builder time,
.nbdpb-product-builder mark,
.nbdpb-product-builder audio,
.nbdpb-product-builder video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

.nbdpb-product-builder article,
.nbdpb-product-builder aside,
.nbdpb-product-builder details,
.nbdpb-product-builder figcaption,
.nbdpb-product-builder figure,
.nbdpb-product-builder footer,
.nbdpb-product-builder header,
.nbdpb-product-builder hgroup,
.nbdpb-product-builder main,
.nbdpb-product-builder menu,
.nbdpb-product-builder nav,
.nbdpb-product-builder section {
  display: block;
}

.nbdpb-product-builder *[hidden] {
  display: none;
}

.nbdpb-product-builder * {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.nbdpb-product-builder body {
  line-height: 1;
}

.nbdpb-product-builder ol,
.nbdpb-product-builder ul {
  list-style: none;
}

.nbdpb-product-builder blockquote,
.nbdpb-product-builder q {
  quotes: none;
}

.nbdpb-product-builder blockquote:before,
.nbdpb-product-builder blockquote:after,
.nbdpb-product-builder q:before,
.nbdpb-product-builder q:after {
  content: "";
  content: none;
}

.nbdpb-product-builder table {
  border-collapse: collapse;
  border-spacing: 0;
}

.nbdpb-product-builder a,
.nbdpb-product-builder span,
.nbdpb-product-builder div,
.nbdpb-product-builder p {
  font-size: 14px !important;
  color: var(--nbd-st-text-soft);
}

@media screen and (max-width: 991px) {

  .nbdpb-product-builder a,
  .nbdpb-product-builder span,
  .nbdpb-product-builder div,
  .nbdpb-product-builder p {
    font-size: 12px !important;
  }
}

.nbdpb-product-builder a:active,
.nbdpb-product-builder a:focus,
.nbdpb-product-builder a:visited,
.nbdpb-product-builder a:hover,
.nbdpb-product-builder button:active,
.nbdpb-product-builder button:focus,
.nbdpb-product-builder button:visited,
.nbdpb-product-builder button:hover {
  outline: none;
}

.nbdpb-product-builder .nbdpb-btn {
  text-decoration: none;
  font-size: 14px;
  color: #000;
  background-color: #fff;
  text-align: center;
  letter-spacing: 0.5px;
  -webkit-transition: background-color 0.2s ease-out;
  transition: background-color 0.2s ease-out;
  cursor: pointer;
  outline: 0;
  border: 1px solid var(--nbd-st-border-light);
  border-radius: 2px;
  display: inline-block;
  height: 44px;
  line-height: 44px;
  min-width: 140px;
  padding: 0 16px;
  text-transform: uppercase;
  vertical-align: middle;
  /*  -webkit-tap-highlight-color: transparent;
    -webkit-box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.12), 0 1px 5px 0 rgba(0, 0, 0, 0.2);
            box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.12), 0 1px 5px 0 rgba(0, 0, 0, 0.2);*/
}

/*.nbdpb-product-builder .nbdpb-btn:hover {
    background-color: var(--st-secondary);
    -webkit-box-shadow: 0 3px 3px 0 rgba(0, 0, 0, 0.14), 0 1px 7px 0 rgba(0, 0, 0, 0.12), 0 3px 1px -1px rgba(0, 0, 0, 0.2);
            box-shadow: 0 3px 3px 0 rgba(0, 0, 0, 0.14), 0 1px 7px 0 rgba(0, 0, 0, 0.12), 0 3px 1px -1px rgba(0, 0, 0, 0.2);
  }*/

.nbdpb-product-builder .nbdpb-btn.waves-effect {
  position: relative;
  cursor: pointer;
  display: inline-block;
  overflow: hidden;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  vertical-align: middle;
  z-index: 1;
  -webkit-transition: 0.3s ease-out;
  transition: 0.3s ease-out;
}

.nbdpb-product-builder .nbdpb-scroll {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  overflow-y: auto;
}

.nbdpb-product-builder .nbdpb-carousel-outer {
  position: relative;
  overflow: hidden;
}

.nbdpb-product-builder .nbdpb-carousel {
  position: relative;
  width: 100%;
  height: 100%;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
  -webkit-transition: all 0.25s ease 0s;
  transition: all 0.25s ease 0s;
}

.nbdpb-product-builder .nbdpb-carousel-item {
  min-height: 1px;
  float: left;
  position: relative;
}

.nbdpb-product-builder .nbdpb-owl-nav .nbdpb-owl-prev {
  position: absolute;
  top: 50%;
  left: 20px;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}

.nbdpb-product-builder .nbdpb-owl-nav .nbdpb-owl-next {
  position: absolute;
  top: 50%;
  right: 20px;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}

.nbdpb-product-builder .nbdpb-owl-dots {
  text-align: center;
  -webkit-tap-highlight-color: transparent;
  position: absolute;
  bottom: 15px;
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
}

.nbdpb-product-builder .nbdpb-owl-dots .nbdpb-owl-dot {
  display: inline-block;
  zoom: 1;
  background: 0 0;
  color: inherit;
  border: none;
  padding: 0 !important;
  font: inherit;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.nbdpb-product-builder .nbdpb-owl-dots .nbdpb-owl-dot.nbdpb-active span {
  background-color: var(--nbd-st-text-soft);
}

.nbdpb-product-builder .nbdpb-owl-dots .nbdpb-owl-dot span {
  width: 10px;
  height: 10px;
  margin: 5px 7px;
  background: #fff;
  display: block;
  -webkit-backface-visibility: visible;
  -webkit-transition: opacity 0.2s ease;
  transition: opacity 0.2s ease;
  border-radius: 30px;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.2), 0 1px 1px 0 rgba(0, 0, 0, 0.14),
    0 2px 1px -1px rgba(0, 0, 0, 0.12);
}

.nbdpb-product-builder .nbdpb-owl-dots .nbdpb-owl-dot span:hover {
  background-color: var(--nbd-st-text-soft);
}

.nbdpb-product-builder .design-main {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.nbdpb-product-builder .design-layer {
  width: 75%;
  height: 100%;
  position: relative;
}

@media screen and (max-width: 991px) {
  .nbdpb-product-builder .design-layer {
    width: 100%;
    height: calc(100% - 180px);
  }

  .nbdpb-product-builder .nbdpb-owl-nav .nbdpb-owl-prev {
    left: 0;
  }

  .nbdpb-product-builder .nbdpb-owl-nav .nbdpb-owl-next {
    right: 0;
  }

  .nbdpb-product-builder .nbdpb-owl-nav .nbdpb-owl-prev,
  .nbdpb-product-builder .nbdpb-owl-nav .nbdpb-owl-next {
    background: transparent;
    top: 100%;
    transform: translateY(-100%);
  }

  .nbdpb-carousel-outer .js-nav-item:hover {
    background: transparent !important;
  }
}

.nbdpb-product-builder .design-layer .design-finish {
  margin-bottom: 30px;
  text-align: center;
}

@media screen and (max-width: 991px) {
  .nbdpb-product-builder .design-layer .design-finish {
    display: none;
  }
}

.nbdpb-product-builder .design-sidebar {
  width: 25%;
  height: 100%;
  border-left: 2px solid #fff;
}

.nbdpb-product-builder .design-sidebar .design-finish {
  display: none;
}

@media screen and (max-width: 991px) {
  .nbdpb-product-builder .design-sidebar {
    width: 100%;
    height: 180px;
  }

  .nbdpb-product-builder .design-sidebar .design-finish {
    height: 60px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
  }

  .nbdpb-product-builder .design-sidebar .design-finish span {
    text-transform: uppercase;
    font-weight: bold;
  }
}

.nbdpb-product-builder .design-stages {
  height: calc(100% - 90px);
  width: 100%;
  -webkit-box-flex: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
  margin-bottom: 20px;
  border-bottom: 2px solid #fff;
}

@media screen and (max-width: 991px) {
  .nbdpb-product-builder .design-stages {
    margin-bottom: 0;
    height: 100%;
    border-bottom: none;
  }
}

.nbdpb-product-builder .design-admin-tool {
  position: absolute;
  background-color: #fff;
  top: 0;
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  opacity: 0;
  visibility: hidden;
  z-index: -1;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}

.nbdpb-product-builder .design-admin-tool.nbdpb-show {
  opacity: 1;
  visibility: visible;
  z-index: 9999;
}

.nbdpb-product-builder .design-admin-tool .tools {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.nbdpb-product-builder .design-admin-tool .tools .tool-item {
  line-height: 45px;
  padding: 0px 15px;
  border: 1px solid var(--nbd-st-border-light);
  position: relative;
  height: 45px;
}

.nbdpb-product-builder .design-admin-tool .tools .tool-item:not(:last-child) {
  border-right: none;
}

.nbpb-config-panel {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  padding: 10px !important;
  display: flex;
  transform: translateX(calc(-50% + 27px));
  border: 1px solid var(--nbd-st-border-light) !important;
  visibility: hidden;
  opacity: 0;
  z-index: -1;
  pointer-events: none;
}

.nbpb-config-panel:before,
.nbpb-config-panel:after {
  display: inline-block;
  content: "";
  position: absolute;
  top: -15px;
  width: 0;
  height: 0;
  left: 50%;
  border: 7px solid transparent;
  border-bottom: 7px solid var(--nbd-st-border-light);
  z-index: 2;
  transform: translateX(-7px);
}

.nbpb-config-panel:after {
  top: -14px;
  border-bottom: 7px solid #fff;
}

.nbdpb-product-builder .design-admin-tool .tools .tool-item:hover .nbpb-config-panel {
  visibility: visible;
  opacity: 1;
  z-index: 1;
  pointer-events: all;
}

.nbdpb-product-builder .stage {
  height: 100%;
  width: 100%;
  background: var(--nbd-st-bg-soft);
}

.nbdpb-product-builder .stage .stage-main {
  width: 100%;
  height: 100%;
  position: relative;
}

.nbdpb-product-builder .stage .design-zone {
  position: absolute;
  background-size: cover;
}

.nbdpb-product-builder .stage .attr-name {
  margin-bottom: 30px;
  text-align: center;
  height: 22px;
}

.nbpb-zoom-icon svg {
  vertical-align: middle;
}

.nbdpb-product-builder .nbpb-text-config-wrap,
.nbdpb-product-builder .nbpb-image-config-wrap {
  border-top: 1px solid var(--nbd-st-bg-soft);
  width: 100%;
  padding: 15px;
}

.nbdpb-product-builder .nbpb-text-config-wrap input {
  width: 100%;
  padding: 5px 15px;
  border-radius: 2px;
  box-shadow: none;
  border: 1px solid var(--nbd-st-border-light);
  background: #fff;
  height: 44px;
  font-size: 16px !important;
}

.nbdpb-product-builder .nbpb-text-config-wrap input:focus {
  outline: none;
}

.nbdpb-product-builder .nbpb-image-config,
.nbdpb-product-builder .nbpb-text-config {
  margin-bottom: 15px;
}

.nbpb-swatch {
  width: 36px;
  height: 36px;
  display: inline-block;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid #fff !important;
  position: relative;
  margin: 0px 4px 2px !important;
}

.nbpb-swatch.active {
  border: 2px solid var(--st-secondary) !important;
}

.nbpb-swatch.active:before {
  display: block;
  top: 0px;
  left: 0;
  border: 2px solid #fff;
  position: absolute;
  z-index: 2;
  width: 100%;
  height: 100%;
  content: "";
  border-radius: 100%;
  box-sizing: border-box;
}

.nbpb-swatch.active:after {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  transform: rotate(45deg);
  content: "";
  width: 6px;
  height: 10px;
  display: block;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  position: absolute;
  top: 7px;
  left: 12px;
}

.nbpb-swatch-tooltip {
  background: var(--st-secondary);
  color: #fff !important;
  border-radius: 4px;
  font-size: 14px;
  font-weight: bold;
  position: absolute;
  bottom: 50%;
  left: 50%;
  pointer-events: none;
  padding: 5px 10px !important;
  visibility: hidden;
  opacity: 0;
  -webkit-transform: translate3d(-50%, 0%, 0);
  -moz-transform: translate3d(-50%, 0%, 0);
  transform: translate3d(-50%, 0%, 0);
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
  max-width: 200px;
  z-index: 99;
  -webkit-transition: all 0.4s;
  -moz-transition: all 0.4s;
  transition: all 0.4s;
}

.nbpb-swatch-tooltip:before {
  content: "";
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid var(--st-secondary);
  position: absolute;
  bottom: -5px;
  margin-left: -3px;
  left: 50%;
}

.nbpb-swatch:hover .nbpb-swatch-tooltip {
  bottom: 40px;
  visibility: visible;
  opacity: 1;
}

@media screen and (max-width: 991px) {
  .nbdpb-product-builder .stage .attr-name {
    display: none;
  }

  .attr-without-image {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

.nbdpb-product-builder .sidebar-item {
  display: none;
}

.nbdpb-product-builder .design-sidebar .nbdpb-scroll {
  -webkit-transition: all 0s linear 0s;
  transition: all 0s linear 0s;
  -webkit-overflow-scrolling: touch;
  overflow-scrolling: touch;
}

@media screen and (max-width: 991px) {
  .nbdpb-product-builder .design-sidebar .nbdpb-scroll {
    overflow-y: hidden;
    overflow-x: scroll;
  }
}

@media screen and (max-width: 991px) {
  .nbdpb-product-builder .attribute-main {
    height: 120px;
  }
}

@media screen and (max-width: 991px) {
  .nbdpb-product-builder .product-attr {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    height: 100%;
  }
}

.nbdpb-product-builder .product-attr .attr-item {
  text-align: center;
  border: 2px solid #fff;
  border-top: none;
  padding: 20px 10px;
  cursor: pointer;
  border-left: none;
}

@media screen and (max-width: 991px) {
  .nbdpb-product-builder .product-attr .attr-item {
    min-width: 140px;
    padding: 5px;
    border-right: none;
    border-top: none;
    border-bottom: none;
    border-left: 2px solid #fff;
  }

  .nbdpb-product-builder .product-attr .attr-item:last-child {
    border-right: 2px solid #fff;
  }

  .nbdpb-product-builder .design-sidebar {
    border-left: none;
    border-top: 2px solid #fff;
  }

  .nbdpb-product-builder .attribute-main {
    border-bottom: 2px solid #fff;
  }
}

.nbdpb-product-builder .product-attr .attr-name {
  word-break: break-all;
}

.nbdpb-product-builder .attr-item .attr-img {
  text-align: center;
}

.nbdpb-product-builder .attr-item .attr-img img {
  margin: auto;
  max-width: 100px;
  max-height: 100px;
}

@media screen and (max-width: 991px) {
  .nbdpb-product-builder .attr-item .attr-img img {
    max-width: 60px;
  }
}

.nbdpb-product-builder .sidebar-value {
  background-color: #fff;
}

.nbdpb-product-builder .product-value {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}

@media screen and (max-width: 991px) {
  .nbdpb-product-builder .product-value {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
  }
}

.nbdpb-product-builder .product-value .product-value-main {
  -webkit-box-flex: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
  height: calc(100% - 140px);
}

@media screen and (max-width: 991px) {
  .nbdpb-product-builder .product-value .product-value-main {
    width: 100%;
    height: 120px;
  }
}

.nbdpb-product-builder .product-value .attr-name {
  height: 80px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  word-break: break-word;
}

.nbdpb-product-builder .product-value .attr-name span {
  font-size: 18px !important;
  text-transform: uppercase;
  font-weight: bold;
  color: rgb(141, 141, 141);
}

@media screen and (max-width: 991px) {
  .nbdpb-product-builder .product-value .attr-name {
    display: none;
  }
}

.nbdpb-product-builder .product-value .values {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-transition: all 0s linear 0s;
  transition: all 0s linear 0s;
}

@media screen and (max-width: 991px) {
  .nbdpb-product-builder .product-value .values {
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
  }
}

.nbdpb-product-builder .product-value .value-item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  width: 50%;
  border: 1px solid #fff;
  background-color: var(--nbd-st-bg-soft);
  text-align: center;
  padding: 15px 10px;
  cursor: pointer;
  min-width: 140px;
  min-height: 120px;
}

@media screen and (max-width: 1199px) {
  .nbdpb-product-builder .product-value .value-item {
    width: 100%;
  }
}

.nbdpb-product-builder .product-value .value-item.active {
  background-color: var(--nbd-st-primary-soft);
}

@media screen and (max-width: 991px) {
  .nbdpb-product-builder .product-value .value-item {
    padding: 10px 5px;
  }
}

.nbdpb-product-builder .product-value .value-color {
  height: 60px;
  width: 60px;
  border-radius: 30px;
  background-color: #000;
  margin: 0 auto 5px;
  background-size: cover;
}

.nbdpb-product-builder .product-value .value-name {
  line-height: normal;
  word-break: break-word;
}

.nbdpb-product-builder .product-value .product-value-act {
  height: 60px;
}

.nbdpb-product-builder .product-value .product-value-act {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  border-top: 1px solid var(--nbd-st-bg-soft);
}

@media screen and (max-width: 991px) {
  .nbdpb-product-builder .product-value .product-value-act {
    width: 100%;
  }

  .nbpb-component-text,
  .nbpb-component-image {
    height: 100%;
  }

  .nbdpb-product-builder .nbpb-text-config-wrap,
  .nbdpb-product-builder .nbpb-image-config-wrap {
    overflow-y: scroll;
    overflow-x: hidden;
    height: 100%;
  }
}

.nbdpb-product-builder .product-value .value-act-item {
  -webkit-box-flex: 1;
  -ms-flex: 1 1 100%;
  flex: 1 1 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  cursor: pointer;
}

.nbdpb-product-builder .product-value .value-act-close {
  border-right: 1px solid var(--nbd-st-bg-soft);
}

.pcpb-custom-design {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.pcpb-custom-design .item {
  margin: 0 5px 5px 0;
  border: 1px solid var(--nbd-st-border-light);
  display: inline-block;
  text-align: center;
  vertical-align: top;
  background: var(--nbd-st-border-light);
  height: 100px;
}

.pcpb-custom-design img {
  max-width: 100%;
  max-height: 100%;
  margin: 0 auto;
  border-radius: 0;
}

#pcpb-start-design {
  margin-bottom: 10px;
}

.nbdpb-load-page {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--nbd-st-bg);
  opacity: 0;
  visibility: hidden;
  z-index: -1;
  -webkit-transition: all 0.7s;
  -moz-transition: all 0.7s;
  transition: all 0.7s;
  width: 100vw;
  height: 100vh;
}

.nbdpb-load-page.nbdpb-show,
.nbpb-stage-loading.nbdpb-show {
  opacity: 1;
  visibility: visible;
  z-index: 99999999999;
}

.nbdpb-load-page .nbpb-loader,
.nbpb-stage-loading .nbpb-loader {
  position: relative;
  margin: -50px auto 0 -50px;
  width: 100px;
  top: 50%;
  left: 50%;
}

.nbdpb-load-page .nbpb-loader:before,
.nbpb-stage-loading .nbpb-loader:before {
  content: "";
  display: block;
  padding-top: 100%;
}

.nbpb-stage-loading {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  z-index: -1;
  -webkit-transition: all 0.2s;
  -moz-transition: all 0.2s;
  transition: all 0.2s;
  background: rgba(255, 255, 255, 0.65);
}

.circular {
  -webkit-animation: rotate 2s linear infinite;
  animation: rotate 2s linear infinite;
  height: 100%;
  -webkit-transform-origin: center center;
  transform-origin: center center;
  width: 100%;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
}

.circular .path {
  stroke-dasharray: 1, 200;
  stroke-dashoffset: 0;
  -webkit-animation: dash 1.5s ease-in-out infinite,
    color 6s ease-in-out infinite;
  animation: dash 1.5s ease-in-out infinite, color 6s ease-in-out infinite;
  stroke-linecap: round;
}

.nbpb-background,
.nbpb-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

@-webkit-keyframes rotate {
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@keyframes rotate {
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@-webkit-keyframes dash {
  0% {
    stroke-dasharray: 1, 200;
    stroke-dashoffset: 0;
  }

  50% {
    stroke-dasharray: 89, 200;
    stroke-dashoffset: -35px;
  }

  100% {
    stroke-dasharray: 89, 200;
    stroke-dashoffset: -124px;
  }
}

@keyframes dash {
  0% {
    stroke-dasharray: 1, 200;
    stroke-dashoffset: 0;
  }

  50% {
    stroke-dasharray: 89, 200;
    stroke-dashoffset: -35px;
  }

  100% {
    stroke-dasharray: 89, 200;
    stroke-dashoffset: -124px;
  }
}

@-webkit-keyframes color {

  0%,
  100% {
    stroke: #d62d20;
  }

  40% {
    stroke: #0057e7;
  }

  66% {
    stroke: #008744;
  }

  80%,
  90% {
    stroke: #ffa700;
  }
}

@keyframes color {

  0%,
  100% {
    stroke: #d62d20;
  }

  40% {
    stroke: #0057e7;
  }

  66% {
    stroke: #008744;
  }

  80%,
  90% {
    stroke: #ffa700;
  }
}

.rtl .nbdpb-popup .close-popup {
  right: 10px;
  left: auto;
}

.rtl .nbdpb-product-builder .design-stages {
  direction: ltr;
}

.rtl .nbdpb-product-builder .sidebar-item {
  -webkit-animation: none;
  animation: none;
}

.nbdpb-product-builder .nbpb-dropdown {
  width: 100%;
  border: 1px solid var(--nbd-st-border-subtle);
  height: 44px;
  padding: 3px 36px 3px 15px;
  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;
  border-radius: 2px;
  font-size: 16px;
}

.nbdpb-product-builder .nbd-sp.sp-container .sp-picker-container .sp-dragger {
  width: 7px;
  height: 7px;
}

.nbdpb-product-builder .nbd-sp.sp-container .sp-picker-container .sp-color,
.nbd-sp.sp-container .sp-picker-container .sp-hue {
  cursor: crosshair;
}

.nbdpb-product-builder .sp-container,
.sp-color,
.sp-hue,
.sp-clear {
  border: none;
}

.nbdpb-product-builder .sp-slider {
  box-sizing: content-box;
}

.nbdpb-product-builder .sp-container {
  background-color: #ffffff;
  margin-left: -10px;
}

.nbdpb-product-builder .inputfile {
  width: 0.1px;
  height: 0.1px;
  opacity: 0;
  overflow: hidden;
  position: absolute;
  z-index: -1;
}

.nbdpb-product-builder .inputfile+label {
  width: 100%;
  flex-direction: column;
  display: flex;
  text-align: center;
  justify-content: center;
  align-items: center;
  border: 2px dashed var(--nbd-st-border-light);
  border-radius: 4px;
  color: var(--st-secondary);
  cursor: pointer;
  padding: 10px;
  margin: 0 auto;
}

.nbdpb-product-builder .inputfile+label.highlight {
  border-color: var(--st-secondary);
}

.nbdpb-product-builder .inputfile+label svg {
  width: 2em;
  height: 2em;
  vertical-align: middle;
  fill: currentColor;
  margin-top: -0.25em;
  margin-right: 0.25em;
}

.nbdpb-product-builder .upload-zone span {
  display: block;
  line-height: 12px;
}

.nbdpb-product-builder .nbd-upload-items {
  width: 150px;
  height: 150px;
  display: inline-block;
  margin: 15px;
}

.nbdpb-product-builder .nbd-upload-items-inner {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 100%;
  height: 100%;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.nbdpb-product-builder .nbd-upload-item {
  max-width: 100%;
  max-height: 100%;
}

.nbdpb-product-builder .nbd-upload-item-title {
  position: absolute;
  border: 0;
  background: #fff;
  width: 100%;
  height: 30px;
  line-height: 30px;
  text-overflow: ellipsis;
  overflow: hidden;
  padding: 0 5px;
  white-space: nowrap;
  font-weight: bold;
  background: rgba(255, 255, 255, 0.75);
  border-bottom-right-radius: 3px;
  border-bottom-left-radius: 3px;
}

.nbdpb-product-builder .nbd-upload-items-inner span {
  position: absolute;
  z-index: 2;
  width: 30px;
  height: 30px;
  cursor: pointer;
  background: #fff;
  line-height: 30px;
  -webkit-transform: translateY(30px);
  -moz-transform: translateY(30px);
  transform: translateY(30px);
  -webkit-transition: all 0.4s;
  -moz-transition: all 0.4s;
  transition: all 0.4s;
  border-radius: 50%;
  font-size: 20px;
  color: var(--nbd-color-danger);
}

.nbdpb-product-builder .nbd-upload-items-inner:hover span {
  -webkit-transform: translateY(-10px);
  -moz-transform: translateY(-10px);
  transform: translateY(-10px);
}

.nbdpb-product-builder .upload-design-preview {
  margin: 15px;
  max-height: 300px;
  max-width: 720px;
  position: relative;
  overflow: hidden;
}

.nbdpb-product-builder .submit-upload-design:hover {
  box-shadow: 0 11px 15px -7px rgba(0, 0, 0, 0.2),
    0 24px 38px 3px rgba(0, 0, 0, 0.14), 0 9px 46px 8px rgba(0, 0, 0, 0.12);
}

.nbdpb-product-builder .submit-upload-design {
  height: 40px;
  border-radius: 20px;
  background: #fff;
  padding: 0 15px;
  color: var(--st-secondary);
  text-transform: uppercase;
  font-weight: bold;
  line-height: 40px;
  cursor: pointer;
  display: inline-block;
  margin-top: 15px;
  box-shadow: 0 5px 6px -3px rgba(0, 0, 0, 0.2),
    0 9px 12px 1px rgba(0, 0, 0, 0.14), 0 3px 16px 2px rgba(0, 0, 0, 0.12);
}

.nbdpb-product-builder .upload-zone {
  position: relative;
}

.nbdpb-product-builder .upload-zone .nbd-upload-loading {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  z-index: -1;
  visibility: hidden;
  opacity: 0;
}

.nbdpb-product-builder .upload-zone .nbd-upload-loading.is-visible {
  visibility: visible;
  z-index: 2;
  opacity: 1;
}

.nbdpb-product-builder .inputfile+label.is-loading {
  opacity: 0.75;
}

.nbdpb-product-builder .nbd-m-upload-design-wrap.is-loading {
  pointer-events: none;
}

.nbdpb-product-builder .upload-note {
  font-size: 12px !important;
}

.nbpb-uploaded {
  margin-top: 15px;
}

.nbpb-uploaded img {
  max-width: 100px;
  max-height: 100px;
  display: inline-block;
  margin: 0 10px 10px 0;
  cursor: pointer;
  border: 1px solid var(--nbd-st-bg-soft);
}

.nbdpb-product-builder .nbdpb-btn-delete {
  color: var(--nbd-color-danger);
  border: 1px solid var(--nbd-color-danger);
}

.nbpb-text-config label,
.nbpb-image-config label {
  text-transform: uppercase;
}

.nbdpb-product-builder .nbpb-zoom-act {
  margin-right: 10px;
  width: 30px;
  height: 30px;
  display: inline-block;
  vertical-align: middle;
  background: var(--nbd-st-border-light);
  border-radius: 50%;
  text-align: center;
  line-height: 30px;
  font-size: 20px !important;
  cursor: pointer;
}

.nbdpb-carousel-outer .js-nav-item {
  padding: 0.6180469716em 1.41575em;
  border: none;
  cursor: pointer;
}

.nbdpb-carousel-outer .js-nav-item:hover {
  background-color: var(--nbd-st-border);
  border-color: var(--nbd-st-border);
  color: var(--nbd-st-text);
}

/* .icon-nbd-clear.close-popup {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
} */
.nbdpb-product-builder .sp-cancel {
  display: none;
}

.nbdpb-product-builder .sp-button-container .nbdpb-product-builder .sp-choose {
  width: 100%;
}

/* tipTip */
#tiptip_holder {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 9999999999;
}

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

.rtl #tiptip_arrow {
  right: 50%;
  margin-right: -6px;
}

#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);
}

.rtl #tiptip_holder.tip_top #tiptip_arrow_inner {
  margin-right: -6px;
}

#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);
}

.rtl #tiptip_holder.tip_bottom #tiptip_arrow_inner {
  margin-right: -6px;
}

#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);
}

.rtl #tiptip_holder.tip_right #tiptip_arrow_inner {
  margin-right: -5px;
}

#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);
}

.rtl #tiptip_holder.tip_left #tiptip_arrow_inner {
  margin-right: -7px;
}

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

.nbo-disabled {
  opacity: 0.3;
  pointer-events: none;
}

.nbo-prevent-pointer {
  pointer-events: none;
}

.nbd-help-tip {
  vertical-align: middle;
  cursor: help;
  margin: -2px -24px 0 5px;
  line-height: 1;
  color: #fff !important;
  background: var(--nbd-st-text);
  border-radius: 50%;
  display: inline-block;
  font-size: 10px;
  font-style: normal;
  height: 12px;
  position: relative;
  width: 12px;
  z-index: 2;
}

.nbd-help-tip::after {
  font-family: monospace;
  speak: none;
  font-weight: 400;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  text-indent: 0px;
  position: absolute;
  top: 1px;
  left: 0px;
  width: 100%;
  height: 100%;
  text-align: center;
  content: "i";
  cursor: help;
  font-variant: normal;
  margin: 0px;
}

.rtl .nbd-help-tip::after {
  top: 0;
  right: 0;
}

.rtl .nbd-help-tip {
  margin: 0 9px 0 0;
}

/* End tipTip */
/* 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,
.nbo-sub-attr-r input[type="radio"]:checked+label:before {
  border-color: var(--st-secondary);
  animation: ripple 0.2s linear forwards;
}

.nbd-radio input[type="radio"]:checked+label:after,
.nbo-sub-attr-r input[type="radio"]:checked+label:after {
  transform: scale(1);
}

.nbo-sub-attr-r label {
  background: unset !important;
  color: unset !important;
}

.nbd-radio label,
.nbo-sub-attr-r 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,
.nbo-sub-attr-r label:before,
.nbo-sub-attr-r 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,
.nbo-sub-attr-r label:before {
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(0, 0, 0, 0.54);
}

.nbd-radio label:after,
.nbo-sub-attr-r label:after {
  top: 5px;
  left: 5px;
  width: 10px;
  height: 10px;
  transform: scale(0);
  background: var(--st-secondary);
}

.nbo-sub-attr-l label:after,
.nbo-sub-attr-l label:before {
  display: none;
}

/* end. nbd-radio */
[ng\:cloak],
[ng-cloak],
[data-ng-cloak],
[x-ng-cloak],
.ng-cloak,
.x-ng-cloak {
  display: none !important;
}

.nbd-option-wrapper {
  margin-bottom: 1.1em;
}

/*
 * Block-theme add-to-cart-form layout override.
 *
 * WC Blocks (Twenty Twenty-Five / Twenty Twenty-Four etc.) wraps single-product
 * add-to-cart form in `.wp-block-woocommerce-add-to-cart-form` and forces
 * `form.cart` to `display: grid; grid-auto-flow: column;` with 3 columns —
 * see WC core `wc-blocks.css`. Classic option-builder markup (this plugin's
 * `.nbo-wrapper`) becomes a grid item and can render at zero width / collapse
 * because the grid auto-flow expects a small set of WC-native children
 * (.quantity, .single_add_to_cart_button) and treats unknown grid children
 * as min-content.
 *
 * Force option-builder + customize button to span the full row and render as
 * a normal block in any block-theme add-to-cart-form context. Higher specificity
 * via the block class selector beats the WC core rule without !important on
 * every line.
 */
.wp-block-woocommerce-add-to-cart-form form.cart .nbo-wrapper,
.wp-block-woocommerce-add-to-cart-form form.cart .nbd-option-wrapper,
.wp-block-woocommerce-add-to-cart-form form.cart .pcpb-custom-design,
.wp-block-woocommerce-add-to-cart-form form.cart .nbo-clear-option-wrap,
.wp-block-woocommerce-add-to-cart-form form.cart .nbo-summary-wrapper {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  grid-column: 1 / -1 !important;
  margin-bottom: 0.75em !important;
}
.wp-block-woocommerce-add-to-cart-form form.cart #pcpb-start-design {
  display: inline-block !important;
  width: auto !important;
  grid-column: 1 / -1 !important;
  /* Baseline button styling for block themes where the .button class
   * may not be defined (Twenty Twenty-Five etc. don't ship WC classic
   * button styles). Falls through to theme button rules when those
   * exist. */
  padding: 0.6em 1.2em !important;
  background: var(--st-brand, #1d4ed8) !important;
  color: #fff !important;
  border: 1px solid var(--st-brand-pressed, #1e40af) !important;
  border-radius: var(--nbd-radius-md, 6px) !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  cursor: pointer !important;
  transition: background 0.15s ease !important;
}
.wp-block-woocommerce-add-to-cart-form form.cart #pcpb-start-design:hover {
  background: var(--st-brand-pressed, #1e40af) !important;
  color: #fff !important;
}

.nbd-option-field {
  background-color: #fff;
  margin-bottom: 1.1em;
  border: 1px solid var(--nbd-st-bg-soft);
}

.nbd-option-field select,
.nbd-option-field input[type="text"] {
  min-width: 150px;
}

td .nbo-dimension-label {
  min-width: 50px;
  display: inline-block;
}

.pcpb-field-header {
  padding: 10px;
  background: var(--nbd-st-bg-soft);
  color: var(--st-secondary);
  font-weight: bold;
}

.pcpb-field-header label {
  font-weight: bold;
}

.pcpb-field-content {
  padding: 10px;
}

.pcpb-field-content:after,
.pcpb-field-header:after {
  content: "";
  display: block;
  clear: both;
}

.nbd-option-wrapper label {
  cursor: pointer;
  margin: 0 !important;
  margin: 0px 4px 2px !important;
}

.nbd-swatch {
  width: 36px;
  height: 36px;
  display: inline-block;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid var(--nbd-st-border-light);
  position: relative;
}

.nbo-checkbox {
  width: 36px;
  height: 36px;
  display: inline-block;
  cursor: pointer;
  border: 2px solid var(--nbd-st-border-light);
}

.nbd-option-wrapper input[type="radio"],
.nbo-checkbox-wrap input[type="checkbox"] {
  display: none;
}

.nbd-swatch-wrap input[type="radio"]:checked+label,
.nbo-checkbox-wrap input[type="checkbox"]:checked+label {
  border: 2px solid var(--st-secondary);
  position: relative;
  display: inline-block;
}

.nbd-swatch-wrap 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-swatch-wrap input[type="radio"]:checked+label:after,
.nbo-checkbox-wrap input[type="checkbox"]:checked+label:after {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  transform: rotate(45deg);
  content: "";
  width: 6px;
  height: 10px;
  display: block;
  border: solid var(--st-secondary);
  border-width: 0 2px 2px 0;
  position: absolute;
  top: 7px;
  left: 12px;
}

.nbo-dropdown {
  border: 1px solid var(--nbd-st-border-subtle);
  height: 36px;
  padding: 3px 36px 3px 8px;
  background-color: transparent;
  line-height: 100%;
  outline: 0;
  background-image: url(<?php echo SPBWC_PB_ASSETS_URL . "images/arrow.png"; ?>);
  background-position: right;
  background-repeat: no-repeat;
  position: relative;
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.nbd-label,
.nbo-sub-attr-l label {
  border-radius: 36px;
  height: 36px;
  line-height: 36px;
  padding: 0 20px;
  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);
  max-width: 100%;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.nbd-label-wrap input[type="radio"]:checked+label,
.nbo-sub-attr-l input[type="radio"]:checked+label {
  background: var(--st-secondary);
  color: #fff;
}

.nbd-label:hover,
.nbo-sub-attr-l 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);
}

.nbd-swatch-wrap .pcpb-field-content {
  font-size: 0;
}

.nbd-required {
  color: red !important;
}

.pcpb-field-input-wrap input[type="number"] {
  padding: 0.418047em;
  background-color: var(--nbd-st-bg-canvas);
  color: var(--nbd-st-text);
  outline: 0;
  border: 0;
  -webkit-appearance: none;
  box-sizing: border-box;
  font-weight: 400;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.125);
  width: 4.235801032em;
  text-align: center;
}

.pcpb-field-content input[type="range"] {
  margin-left: 0;
  flex: 1;
}

.pcpb-field-content input[type="range"] {
  padding: 0;
  -webkit-appearance: none;
  background: transparent;
  border: none;
  box-shadow: none;
}

.pcpb-field-content input[type="range"][name="nbo-quantity"] {
  max-width: 200px;
}

.pcpb-field-content input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  height: 24px;
  width: 24px;
  border-radius: 50%;
  cursor: pointer;
  background: var(--st-secondary);
  border: 4px solid transparent;
  background-clip: padding-box;
  box-sizing: border-box;
  margin-top: -10px;
}

.pcpb-field-content input[type="range"]::-moz-range-thumb {
  height: 18px;
  width: 18px;
  border-radius: 50%;
  cursor: pointer;
  background: var(--st-secondary);
  border: 4px solid transparent;
  background-clip: padding-box;
  box-sizing: border-box;
}

.pcpb-field-content input[type="range"]::-ms-thumb {
  border-radius: 50%;
  cursor: pointer;
  background: var(--st-secondary);
  border: 4px solid transparent;
  background-clip: padding-box;
  box-sizing: border-box;
  margin-top: 0;
  height: 14px;
  width: 14px;
  border: 2px solid transparent;
}

.pcpb-field-content input[type="range"]:focus {
  outline: none;
}

.pcpb-field-content input[type="range"]: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;
}

.pcpb-field-content input[type="range"]: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;
}

.pcpb-field-content input[type="range"]: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;
}

.pcpb-field-content input[type="range"]::-webkit-slider-runnable-track {
  height: 3px;
  cursor: pointer;
  background: var(--nbd-st-border-light);
  border-radius: 1.5px;
  margin-top: -4px;
}

.pcpb-field-content input[type="range"]::-moz-range-track {
  height: 3px;
  cursor: pointer;
  background: var(--nbd-st-border-light);
  border-radius: 1.5px;
}

.pcpb-field-content input[type="range"]::-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;
}

.pcpb-field-content .nbd-invalid-notice {
  display: none;
  font-size: 0.75em;
  color: red;
}

.pcpb-field-content input.ng-invalid-min~.nbd-invalid-min {
  display: inline-block;
}

.pcpb-field-content input.ng-invalid-max~.nbd-invalid-max {
  display: inline-block;
}

.nbd-invalid-form {
  color: red;
}

.nbo-disabled {
  opacity: 0.5 !important;
  cursor: not-allowed;
}

.nbo-hidden {
  display: none;
}

.nbo-table-wrap {
  margin: 0 0 1.41575em;
}

.nbo-price-matrix,
.nbo-table-wrap {
  max-width: 100%;
  overflow-x: scroll;
  overflow: auto;
}

.nbo-table-wrap table {
  margin: 0 !important;
}

.nbo-table-wrap table input[type="number"] {
  width: 4em;
  padding: 0.418047em;
  background-color: var(--nbd-st-bg-canvas);
  color: var(--nbd-st-text);
  outline: 0;
  border: 0;
  -webkit-appearance: none;
  box-sizing: border-box;
  font-weight: 400;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.125);
  width: 4.235801032em;
  text-align: center;
}

.nbo-price-matrix table,
.nbo-table-wrap table {
  border-collapse: collapse;
}

.nbo-price-matrix table,
.nbo-price-matrix td,
.nbo-price-matrix th,
.nbo-table-wrap table,
.nbo-table-wrap td,
.nbo-table-wrap th {
  text-align: center;
  border: 1px solid var(--nbd-st-border-light);
  vertical-align: middle;
  padding: 0.75em 0.75em;
}

.nbd-product-tab .nbo-price-matrix td,
.nbd-product-tab .nbo-price-matrix th {
  text-align: center !important;
  white-space: nowrap;
}

.nbo-price-matrix td,
.nbo-table-wrap td {
  cursor: pointer;
}

.nbo-pm-empty,
.nbo-price-matrix th {
  pointer-events: none;
}

.nbo-price-matrix td.selected {
  background: var(--st-secondary) !important;
  color: #fff !important;
}

.nbo-price-matrix td.disabled {
  background-color: var(--nbd-st-bg-soft);
  pointer-events: none;
}

.nbo-dimension {
  width: 4em;
  background: #fff !important;
  box-shadow: none !important;
  height: 36px !important;
}

input.nbo-dimension::-webkit-outer-spin-button,
input.nbo-dimension::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input.nbo-dimension {
  -moz-appearance: textfield;
}

.nbo-dimension-wrap {
  border: solid 1px var(--nbd-st-border-subtle);
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  display: inline-block;
}

.nbo-updown-dimension {
  display: inline-block;
  width: 36px;
  height: 36px;
  vertical-align: top;
  line-height: 36px;
  text-align: center;
  background: var(--nbd-st-border-subtle);
  font-size: 24px !important;
  cursor: pointer;
}

.nbd-input-range {
  margin-left: 5px;
  background: var(--st-secondary);
  padding: 0 15px;
  line-height: 20px;
  vertical-align: middle;
  color: #fff;
  border-radius: 20px;
  display: inline-block;
}

.nbo-final-price {
  background: var(--nbd-st-border-subtle);
  color: var(--st-secondary);
  font-weight: bold;
}

.nbd-swatch-label-wrap {
  display: flex;
  align-items: center;
}

.nbd-swatch-label-wrap:not(:last-child) {
  margin-bottom: 10px;
}

.nbd-swatch-description {
  font-size: 14px;
  margin-left: 10px;
}

.nbo-clear-option-wrap {
  text-align: right;
  margin-bottom: 1em;
  overflow: hidden;
}

.nbo-clear-option-wrap:after {
  content: "";
  display: block;
  clear: both;
}

.nbo-clear-option-wrap .nbd-button {
  float: right !important;
}

.nbo-style-1 {
  border: 1px solid var(--nbd-st-bg-soft);
  margin-bottom: 1em;
}

.nbo-style-1 .nbo-summary-title,
.nbo-style-1 .nbo-table-pricing-title {
  padding: 10px;
  background: var(--nbd-st-bg-soft);
  margin: 0;
  display: flex;
  justify-content: space-between;
}

.nbo-style-1 .nbo-summary-title:after {
  clear: both;
}

.nbo-style-1 .nbo-summary-table,
.nbo-style-1 .nbo-table-pricing {
  margin: 0;
  width: 100%;
}

.nbo-toggle {
  text-align: center;
  cursor: pointer;
}

.nbo-toggle svg {
  vertical-align: top;
  height: 100%;
}

.nbd-swatch-tooltip,
.nbo-group-timeline-tooltip {
  background: var(--st-secondary);
  color: #fff !important;
  border-radius: 4px;
  font-size: 14px;
  font-weight: bold;
  position: absolute;
  bottom: 50%;
  left: 50%;
  pointer-events: none;
  padding: 5px 7px;
  visibility: hidden;
  opacity: 0;
  -webkit-transform: translate3d(-50%, 0%, 0);
  -moz-transform: translate3d(-50%, 0%, 0);
  transform: translate3d(-50%, 0%, 0);
  /*         width: -webkit-max-content;
width: -moz-max-content;
width: max-content; */
  display: inline-block;
  white-space: nowrap;
  max-width: 200px;
  z-index: 99;
  -webkit-transition: all 0.4s;
  -moz-transition: all 0.4s;
  transition: all 0.4s;
}

.nbd-swatch-tooltip:before,
.nbo-group-timeline-tooltip:before {
  content: "";
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid var(--st-secondary);
  position: absolute;
  bottom: -5px;
  margin-left: -3px;
  left: 50%;
}

.nbd-swatch:hover .nbd-swatch-tooltip {
  bottom: 40px;
  visibility: visible;
  opacity: 1;
}

.nbo-group-timeline-step:hover .nbo-group-timeline-tooltip {
  bottom: 16px;
  visibility: visible;
  opacity: 1;
}

.nbo-wrapper:afte {
  content: "";
  display: block;
  clear: both;
}

.nbo-bold {
  font-weight: bold;
}

.nbo-sub-attr-wrap {
  padding: 10px;
  border: 1px solid var(--nbd-st-bg-soft);
  margin-top: 5px;
}

.nbd-input-u {
  cursor: pointer;
  padding: 30px;
  width: 100%;
  border: 2px dashed var(--nbd-st-border-light);
  border-radius: 4px;
}

.pcpb-field-textarea {
  border: 1px solid var(--nbd-st-border-light);
  width: 100%;
}

@media (min-width: 769px) {
  .nbd-tb-options td:first-child {
    width: 30%;
  }
}

.nbo-group-wrap {
  margin-bottom: 15px;
}

.nbo-group-header {
  border-bottom: 3px solid var(--nbd-st-bg-soft);
  height: 40px;
  overflow: hidden;
}

.nbo-group-header .group-title {
  background: var(--nbd-st-bg-soft);
  color: var(--st-secondary);
  display: inline-block;
  position: relative;
  padding: 0 15px;
  height: 40px;
  line-height: 40px;
  box-sizing: border-box;
  border-top-left-radius: 4px;
  font-weight: bold;
  max-width: calc(100% - 50px);
}

.nbo-group-header .group-title:after {
  position: absolute;
  right: -40px;
  top: 0;
  display: block;
  content: "";
  width: 0;
  height: 0;
  border-color: transparent;
  border-width: 0;
  border-top: 40px solid transparent;
  border-left: 40px solid var(--nbd-st-bg-soft);
}

.nbo-group-header .group-title .nbo-group-icon {
  width: 30px;
  height: 30px;
  vertical-align: middle;
  /* border: 2px solid #fff; */
  box-sizing: border-box;
  border-radius: 50%;
  display: inline-block;
  margin: 0 10px 0 -5px;
}

.nbo-group-header .group-title .nbo-group-icon span {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  text-align: center;
}

.nbo-group-header .group-title .nbo-group-icon img {
  max-width: 100%;
  max-height: 100%;
  display: inline-block;
}

.nbo-group-header .group-title .nbd-help-tip {
  position: absolute;
  top: 18px;
}

.nbo-group-footer {
  background: var(--nbd-st-bg-soft);
  padding: 10px;
  border-bottom-right-radius: 4px;
  border-bottom-left-radius: 4px;
}

.nbo-group-wrap .nbo-group-body {
  display: flex;
  -webkit-align-items: flex-end;
  -ms-flex-align: end;
  align-items: flex-start;
  display: -webkit-flex;
  display: -ms-flexbox;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  padding: 10px 5px;
  border: 1px solid var(--nbd-st-bg-soft);
  position: relative;
  background-color: #fff;
}

.nbo-clearfix:after {
  content: "";
  display: block;
  clear: both;
}

.nbo-group-wrap .nbo-group-body .nbd-option-field {
  width: calc(100% - 10px);
  margin: 0 5px 10px;
  -webkit-transition: all 0.4s;
  -moz-transition: all 0.4s;
  transition: all 0.4s;
}

.nbo-flex-col-2 .nbo-group-body .nbd-option-field {
  flex-basis: calc(50% - 10px);
}

.nbo-flex-col-2 .nbo-group-body .nbd-option-field:last-of-type:nth-child(2n + 1) {
  flex-basis: calc(100% - 10px);
}

.nbo-flex-col-3 .nbo-group-body .nbd-option-field {
  flex-basis: calc(33.3333% - 10px);
}

.nbo-flex-col-4 .nbo-group-body .nbd-option-field {
  flex-basis: calc(25% - 10px);
}

.nbo-group-toggle {
  position: absolute;
  right: 10px;
  bottom: -14px;
  box-sizing: border-box;
  width: 28px;
  height: 28px;
  border: 2px solid var(--nbd-st-bg-soft);
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  text-align: center;
  line-height: 24px;
}

.nbo-group-toggle svg {
  -webkit-transition: all 0.4s;
  -moz-transition: all 0.4s;
  transition: all 0.4s;
  transform: rotate(-180deg);
}

.nbo-group-wrap .nbo-group-body.nbo-collapse .nbo-group-toggle svg {
  transform: rotate(0deg);
}

.nbo-group-wrap .nbo-group-body.nbo-collapse .nbd-option-field {
  display: none;
}

.nbo-group-toggle svg path {
  fill: var(--nbd-st-border-light);
}

.nbd-option-field .pcpb-field-header .nbo-toggle {
  float: right;
}

.nbd-option-field .pcpb-field-header .nbo-plus {
  display: none;
}

.nbd-option-field.nbo-collapse .pcpb-field-header .nbo-minus {
  display: none;
}

.nbd-option-field.nbo-collapse .pcpb-field-header .nbo-plus {
  display: unset;
}

.nbd-option-field .pcpb-field-content {
  -webkit-transition: all 0.4s;
  -moz-transition: all 0.4s;
  transition: all 0.4s;
}

.nbd-option-field.nbo-collapse .pcpb-field-content {
  height: 0;
  padding-top: 0;
  padding-bottom: 0;
  overflow: hidden;
  opacity: 0;
}

.nbd-product-tab .nbo-group-wrap .nbo-group-body .nbd-option-field {
  flex-basis: calc(100% - 10px) !important;
}

.pcpb-field-ad-dropdown-wrap .pcpb-field-content {
  position: relative;
}

.pcpb-field-ad-dropdown-wrap .nbo-dropdown {
  display: none;
}

.nbo-ad-result {
  height: 36px;
  padding: 3px 8px;
  border: 1px solid var(--nbd-st-border-subtle);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
}

.nbo-ad-result-name {
  flex-basis: calc(100% - 30px);
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  line-height: 30px;
}

.pcpb-field-ad-dropdown-wrap .nbo-ad-result svg {
  -webkit-transition: all 0.4s;
  -moz-transition: all 0.4s;
  transition: all 0.4s;
}

.pcpb-field-ad-dropdown-wrap.active .nbo-ad-result svg {
  transform: rotate(180deg);
}

.nbo-ad-pseudo-list {
  position: absolute;
  width: calc(100% - 20px);
  top: 46px;
  -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);
  background: #fff;
  z-index: 99;
  cursor: pointer;
  display: none;
  opacity: 0;
}

.pcpb-field-ad-dropdown-wrap.active .nbo-ad-pseudo-list {
  display: block;
  opacity: 1;
}

.nbo-ad-pseudo-list .nbo-ad-list-item {
  display: flex;
  position: relative;
  padding: 5px 10px;
  justify-content: space-between;
  align-items: center;
}

.nbo-ad-pseudo-list .nbo-ad-list-item:not(:last-child) {
  border-bottom: 1px solid var(--nbd-st-border-light);
}

.nbo-ad-pseudo-list .nbo-ad-list-item:hover {
  background: var(--nbd-st-bg-soft);
}

.nbo-ad-pseudo-list .nbo-ad-list-item.active {
  background: #0c8ea7;
}

.nbo-ad-pseudo-list .nbo-ad-list-item.active>.nbo-ad-item-main {
  color: #fff;
}

.nbo-ad-pseudo-list .nbo-ad-list-item .nbo-ad-item-thumb {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #fff;
  margin-right: 10px;
  box-sizing: border-box;
  object-fit: cover;
  flex: 0 0 50px;
}

.nbo-ad-pseudo-list .nbo-ad-list-item .nbo-ad-item-main {
  display: flex;
  justify-content: center;
  flex-direction: column;
  width: calc(100% - 60px);
}

.nbo-ad-pseudo-list .nbo-ad-list-item .nbo-ad-item-main.nbo-shrink {
  width: calc(100% - 84px);
}

.nbo-ad-pseudo-list .nbo-ad-list-item .nbo-ad-item-title {
  font-weight: bold;
}

.nbo-ad-pseudo-list .nbo-ad-list-item .nbo-recomand {
  position: absolute;
  top: -3px;
  right: 17px;
}

.nbo-ad-pseudo-list .nbo-ad-list-item .nbo-recomand svg path {
  fill: var(--nbd-color-danger);
}

.nbo-ad-pseudo-list .nbo-ad-list-item.active>.nbo-recomand svg path {
  fill: #fff;
}

.pcpb-field-shape .nbo-ad-pseudo-list {
  padding: 5px;
}

.pcpb-field-ad-dropdown-wrap.pcpb-field-shape.active .nbo-ad-pseudo-list {
  display: flex !important;
  flex-wrap: wrap;
}

.pcpb-field-shape .nbo-ad-pseudo-list .nbo-ad-list-item {
  width: 50px;
  height: 50px;
  padding: 0;
  margin: 5px;
  align-items: center;
  text-align: center;
  border-bottom: none;
}

.pcpb-field-shape .nbo-ad-pseudo-list .nbo-ad-list-item:hover {
  background: #fff;
}

.pcpb-field-shape .nbo-ad-pseudo-list .nbo-ad-list-item.active {
  background: var(--nbd-st-bg-soft);
}

.pcpb-field-shape .nbo-ad-result .nbo-ad-result-name {
  width: 30px;
  height: 30px;
  align-items: center;
  text-align: center;
  display: flex !important;
}

.pcpb-field-shape .nbo-ad-result .nbo-ad-result-shape svg {
  height: 30px;
  width: 30px;
}

.pcpb-field-shape .nbo-ad-result .nbo-ad-result-shape svg path {
  fill: var(--nbd-st-border-light);
  stroke-width: 1;
  stroke: var(--st-secondary);
}

.pcpb-field-shape .nbo-ad-result .nbo-ad-result-name {
  flex-basis: calc(100% - 60px);
}

.pcpb-field-shape .nbo-ad-pseudo-list .nbo-ad-list-item svg {
  height: 50px;
  width: 50px;
  display: block;
}

.pcpb-field-shape .nbo-ad-pseudo-list .nbo-ad-list-item svg path {
  fill: var(--nbd-st-border-light);
  stroke-width: 1;
  stroke: var(--st-secondary);
}

.pcpb-field-shape .nbo-ad-pseudo-list .nbo-ad-list-item:hover svg path {
  fill: var(--st-secondary);
  stroke: var(--st-secondary);
}

.pcpb-field-shape .nbo-ad-pseudo-list .nbo-ad-list-item.active svg path {
  fill: var(--st-secondary) !important;
  stroke: var(--st-secondary);
}

.nbo-rotate-180 {
  transform: rotate(180deg);
}

.nbo-ad-pseudo-sublist {
  position: absolute;
  top: calc(100% + 40px);
  left: 5px;
  width: 100%;
  visibility: hidden;
  opacity: 0;
  -webkit-transition: all 0.4s;
  -moz-transition: all 0.4s;
  transition: all 0.4s;
  background: #fff;
  -webkit-box-shadow: 0 0 40px 0 rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0 0 40px 0 rgba(0, 0, 0, 0.2);
  -ms-box-shadow: 0 0 40px 0 rgba(0, 0, 0, 0.2);
  box-shadow: 0 0 40px 0 rgba(0, 0, 0, 0.2);
  z-index: 100;
}

.nbo-ad-pseudo-sublist-toggle {
  height: 24px;
  width: 24px;
  background: #fff;
  border-radius: 50%;
  flex: 0 0 24px;
}

.nbo-ad-pseudo-list .nbo-ad-list-item .nbo-ad-pseudo-sublist.active {
  top: calc(100% - 5px);
  visibility: visible;
  opacity: 1;
}

.nbo-ad-pseudo-list.nbo-ad-right .nbo-ad-pseudo-sublist {
  left: calc(100%);
  top: 0;
}

.nbo-ad-pseudo-list.nbo-ad-right .nbo-ad-list-item:hover .nbo-ad-pseudo-sublist {
  left: calc(100% - 34px);
  visibility: visible;
  opacity: 1;
}

.nbo-ad-pseudo-list.nbo-ad-right .nbo-ad-pseudo-sublist-toggle {
  transform: rotate(-90deg);
  background: transparent;
  pointer-events: none;
}

.nbo-ad-item-description {
  font-size: 0.75em;
}

.nbd-xlabel-wrapper {
  justify-content: flex-start;
  align-items: flex-start;
  -webkit-align-items: flex-start;
  -ms-flex-align: end;
  align-items: flex-start;
  display: flex;
  display: -webkit-flex;
  display: -ms-flexbox;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.nbd-xlabel-wrap {
  width: calc(25% - 10px);
  display: inline-block;
  margin: 0 10px 10px 0;
  box-sizing: border-box;
  vertical-align: top;
  text-align: center;
}

.nbd-product-tab .nbd-xlabel-wrap {
  width: calc(50% - 10px);
}

.nbd-xlabel-value {
  width: 100%;
  padding-top: 100%;
  position: relative;
}

.nbd-xlabel-value-inner {
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  position: absolute;
}

.nbd-xlabel {
  display: block;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  border: 2px solid #fff;
  border-radius: 10px;
  position: relative;
  text-align: left;
  box-shadow: 1px 0 10px rgba(0, 0, 0, 0.08);
  -webkit-transition: all 0.4s;
  -moz-transition: all 0.4s;
  transition: all 0.4s;
}

.nbd-xlabel: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);
}

.nbd-xlabel .nbo-recomand {
  position: absolute;
  top: -2px;
  right: -2px;
}

.nbd-xlabel .nbo-recomand svg path {
  fill: #0c8ea7;
}

.nbd-xlabel .nbo-recomand svg {
  width: 20px;
  height: 32px;
}

.nbd-xlabel .nbd-help-tip {
  width: 24px;
  height: 24px;
  font-size: 16px;
  background: var(--st-secondary);
  top: 4px;
}

input[type="radio"]+label.nbd-xlabel {
  margin: 0 !important;
}

.nbd-xlabel-wrap input:checked+label:after {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  transform: rotate(45deg);
  content: "";
  width: 20px;
  height: 40px;
  display: block;
  border: solid var(--st-secondary);
  border-width: 0 4px 4px 0;
  position: absolute;
  top: calc(50% - 22px);
  left: calc(50% - 12px);
  transform-origin: center center;
  -webkit-filter: drop-shadow(5px 5px 15px var(--st-secondary));
  filter: drop-shadow(5px 5px 15px var(--st-secondary));
}

.nbd-xlabel-wrap>label {
  width: 100%;
  word-wrap: break-word;
}

.nbd-xlabel .nbd-help-tip:after {
  margin-top: 3px;
}

.nbo-gallery-loading {
  position: relative;
}

.nbo-gallery-loading:after {
  position: absolute;
  display: block;
  content: "";
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  text-align: center;
  background: url("<?php echo SPBWC_PB_ASSETS_URL . "images/preloader-gif.svg"; ?>") 50% 50%;
  background-repeat: no-repeat;
}

.nbo-dec {
  color: var(--nbd-color-success);
}

.nbo-inc {
  color: var(--nbd-color-danger);
}

.nbo-group-type2-wrap .group-type2-title {
  width: 100%;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--nbd-st-border-light);
  padding-top: 5px;
  padding-bottom: 5px;
  color: var(--nbd-color-success);
  font-weight: bold;
}

.nbo-group-type2-toggle {
  cursor: pointer;
  transform: rotate(180deg);
  -webkit-transition: all 0.4s;
  -moz-transition: all 0.4s;
  transition: all 0.4s;
  margin-right: 10px;
}

.nbo-group-type2-toggle svg {
  vertical-align: top;
}

.nbo-group-type2-toggle svg path {
  fill: var(--nbd-color-success);
}

.nbo-group-type2-wrap .nbo-group-type2-body .nbd-option-field {
  float: left;
  width: 100%;
  border: none;
}

.nbo-group-type2-wrap.nbo-collapse .nbo-group-type2-body {
  display: none;
}

.nbo-group-type2-wrap.nbo-collapse .nbo-group-type2-toggle {
  transform: rotate(0deg);
}

.nbo-group-type2-wrap .nbo-group-type2-body:after,
.nbo-group-type2-wrap .nbo-group-type2-body .nbd-option-field:after {
  display: block;
  content: "";
  clear: both;
}

.nbo-group-type2-wrap.nbo-float-col-2 .nbo-group-type2-body .nbd-option-field {
  width: 50%;
}

.nbo-group-type2-wrap.nbo-float-col-3 .nbo-group-type2-body .nbd-option-field {
  width: 33.3333%;
}

.nbo-group-type2-wrap.nbo-float-col-4 .nbo-group-type2-body .nbd-option-field {
  width: 25%;
}

.nbo-group-type2-wrap .nbo-group-type2-body .nbd-option-field .pcpb-field-header,
.nbo-group-type2-wrap .nbo-group-type2-body .nbd-option-field .pcpb-field-content {
  float: left;
  background: transparent;
}

.nbo-group-type2-wrap .nbo-group-type2-body .nbd-option-field .pcpb-field-header {
  width: 33.3333%;
  margin-top: 5px;
}

.nbo-group-type2-wrap .nbo-group-type2-body .nbd-option-field .pcpb-field-content {
  width: 66.6666%;
}

.nbo-table-summary-wrap.nbo-float-summary {
  position: fixed;
  bottom: 0;
  left: 0px;
  z-index: 999999998;
  background: #fff;
  width: 300px;
  font-size: 0.8em;
  box-shadow: 0 15px 35px rgba(50, 50, 93, 0.1), 0 5px 15px rgba(0, 0, 0, 0.07);
  max-height: calc(100vh - 50px);
  overflow: hidden;
  overflow-y: auto;
}

.nbo-table-summary-wrap.nbo-float-summary .nbo-summary-title {
  margin: 0;
  padding: 10px 15px;
  background: #0c8ea7;
  color: #fff;
  border-top-right-radius: 4px;
}

.nbo-table-summary-wrap.nbo-float-summary .nbo-summary-table {
  margin-bottom: 0;
}

.nbo-float-summary .nbo-summary-title .nbo-toggle {
  display: none;
}

.nbo-delivery-wrapper table td,
.nbo-delivery-wrapper table th {
  padding: 0;
  text-align: center;
  background: transparent;
  vertical-align: middle;
  border-top: 1px solid var(--nbd-st-border-light);
  border-left: 1px solid var(--nbd-st-border-light);
}

.nbo-delivery-wrapper table td:last-child,
.nbo-delivery-wrapper table th:last-child {
  border-right: 1px solid var(--nbd-st-border-light);
}

.nbo-delivery-wrapper table tr:last-child td {
  border-bottom: 1px solid var(--nbd-st-border-light);
}

.nbo-delivery-wrapper table .nbo-delivery-date-wrap-title {
  background: var(--nbd-st-border-light);
}

.nbo-delivery-wrapper table td {
  height: 50px;
}

.nbo-delivery-wrapper table .nbo-delivery-icon-wrap {
  width: 120px;
  border-top: 1px solid transparent;
  border-left: none;
}

.nbo-delivery-icon {
  display: flex;
  height: 90px;
  flex-direction: column;
  background: #fff;
  justify-content: center;
  align-items: center;
}

.nbo-delivery-icon svg {
  width: 40px;
  height: 40px;
}

.nbo-delivery-icon svg path {
  fill: #0c8ea7;
}

.nbo-delivery-qty {
  background: var(--nbd-st-border-light);
  height: 30px;
  line-height: 30px;
}

.nbo-delivery-date-wrap {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.nbo-delivery-date-title {
  font-size: 0.8em;
  margin-bottom: 1em;
}

.nbo-delivery-date {
  font-size: 0.8em;
  font-weight: normal;
}

.nbo-delivery-date2 {
  color: var(--nbd-color-danger);
  line-height: 1.5em;
}

.nbo-delivery-date2 .day {
  font-size: 1.5em;
}

.nbo-delivery-date-selector {
  cursor: pointer;
  -webkit-transition: all 0.2s;
  -moz-transition: all 0.2s;
  transition: all 0.2s;
}

.nbo-delivery-date-selector.active,
.nbo-delivery-date-selector:hover {
  background: var(--st-secondary) !important;
  color: #fff !important;
}

.nbo-delivery-date-selector>span {
  display: block;
}

.nbo-delivery-date-selector span.nbo-delivery-price-item {
  display: block;
  font-size: 0.7em;
  color: var(--nbd-st-text-soft);
}

.nbo-delivery-date-selector.active span.nbo-delivery-price-item,
.nbo-delivery-date-selector:hover span.nbo-delivery-price-item {
  color: #fff;
}

.nbo-float-summary-toggle {
  height: 16px;
  width: 16px;
  cursor: pointer;
  -webkit-transition: all 0.4s;
  -moz-transition: all 0.4s;
  transition: all 0.4s;
}

.nbo-float-summary-toggle svg {
  height: 100%;
}

.nbo-float-summary-toggle svg path {
  fill: #fff;
}

.nbo-float-summary .nbo-summary-title {
  display: flex;
  justify-content: space-between;
}

.nbo-float-summary.nbo-collapse .nbo-float-summary-toggle {
  transform: rotate(180deg);
}

.nbo-float-summary.nbo-collapse .nbo-summary-table {
  display: none;
}

.nbdd_disable {
  pointer-events: none;
}

.nbo-delivery-custom-quantity input {
  height: 34px;
  line-height: 34px;
  padding: 0 0 0 10px;
  vertical-align: top;
}

.nbo-delivery-custom-quantity .update-custom-quantity {
  height: 34px;
  line-height: 34px;
}

.nbo-delivery-custom-quantity .update-custom-quantity path {
  fill: #fff;
}

input.ng-invalid,
select.ng-invalid {
  border: 1px solid red !important;
}

.nbo-detail-popup-wrap {
  position: fixed;
  top: 0;
  left: 0;
  height: 9999px;
  width: 100vw;
  z-index: -1;
  opacity: 0;
  -webkit-transition: all 0.4s;
  transition: all 0.4s;
}

.nbo-detail-popup-wrap.nb-show {
  z-index: 999999;
  opacity: 1;
}

.nbo-detail-popup-wrap .popup-inner {
  position: absolute;
  width: 100%;
  height: 100vh;
  overflow: auto;
  padding: 60px 0;
  box-sizing: border-box;
  background: rgba(0, 0, 0, 0.7);
  text-align: center;
}

.nbo-detail-popup-wrap .main-popup {
  width: 800px;
  padding: 0 20px 20px;
  background-color: #fff;
  border-radius: 2px;
  box-sizing: border-box;
  -webkit-transition: all 0.4s;
  -moz-transition: all 0.4s;
  transition: all 0.4s;
  display: inline-block;
  text-align: left;
}

.nbo-detail-popup-wrap .main-popup .nbo-detail-popup-header {
  height: 60px;
  line-height: 60px;
  font-weight: bold;
}

.nbo-clearfix:after {
  display: block;
  content: "";
  clear: both;
}

.nbo_map_disable {
  pointer-events: none;
  opacity: 0.7;
}

.nbo-hidden-checked:before {
  border-color: rgba(0, 0, 0, 0.54) !important;
}

.nbo-hidden-checked:after {
  transform: scale(0) !important;
}

.nbo-invalid-option {
  color: red;
  font-size: 0.8em;
  font-style: italic;
  opacity: 0;
}

.nbo-invalid-option.active {
  opacity: 1;
}

.nbo-disabled-wrap {
  opacity: 0.7;
  pointer-events: none;
}

.nbo_group_panel_wrap {
  overflow: hidden;
}

.nbo_group_panel_wrap_inner {
  -webkit-transition: all 0.4s;
  -moz-transition: all 0.4s;
  transition: all 0.4s;
}

.nbo_group_panel_wrap_inner .nbo-group-wrap,
.nbo_group_panel_wrap_inner .nbo-group-type2-wrap {
  float: left;
  position: relative;
}

.nbo_group_panel_prev,
.nbo_group_panel_next {
  display: inline-block;
  border: 1px solid var(--nbd-st-border-subtle);
  box-sizing: border-box;
  height: 30px;
  margin-right: 5px;
  padding: 0 5px;
  cursor: pointer;
  background: var(--nbd-st-border-subtle);
}

.nbo_group_panel_prev svg,
.nbo_group_panel_prev span,
.nbo_group_panel_next svg,
.nbo_group_panel_next span {
  display: inline-block;
  vertical-align: middle;
  font-size: 14px;
  line-height: 27px;
}

.nbo_group_panel_prev svg path,
.nbo_group_panel_next svg path {
  fill: var(--nbd-st-text-soft);
}

.nbo_group_panel_prev svg {
  transform: rotate(90deg);
}

.nbo_group_panel_next svg {
  transform: rotate(-90deg);
}

.nbo-group-timeline-container {
  position: relative;
  height: 100px;
}

.nbd-product-tab .nbo-group-timeline-container {
  display: none;
}

.nbo-group-timeline-wrap {
  position: relative;
  height: 100%;
  overflow: hidden;
}

.nbo-group-timeline-container.paged .nbo-group-timeline-wrap {
  margin: 0 40px;
}

.nbo-group-timeline-paged {
  position: absolute;
  z-index: 1;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  height: 34px;
  width: 34px;
  border-radius: 50%;
  border-width: 2px;
  border-style: solid;
  border-color: var(--nbd-st-border);
  display: none;
  cursor: pointer;
  text-align: center;
  padding-top: 3px;
  -webkit-transition: all 0.4s;
  -moz-transition: all 0.4s;
  transition: all 0.4s;
}

.nbo-group-timeline-paged svg path {
  fill: var(--nbd-st-border);
}

.nbo-group-timeline-paged:hover {
  border-color: var(--st-secondary);
}

.nbo-group-timeline-paged:hover svg path {
  fill: var(--st-secondary);
}

.nbo-group-timeline-paged-prev {
  left: 0;
  -webkit-transform: translateY(-50%) rotate(90deg);
  -ms-transform: translateY(-50%) rotate(90deg);
  transform: translateY(-50%) rotate(90deg);
}

.nbo-group-timeline-paged-next {
  right: 0;
  -webkit-transform: translateY(-50%) rotate(-90deg);
  -ms-transform: translateY(-50%) rotate(-90deg);
  transform: translateY(-50%) rotate(-90deg);
}

.nbo-group-timeline-container.paged .nbo-group-timeline-paged {
  display: block;
}

.nbo-group-timeline-wrap:before,
.nbo-group-timeline-wrap:after {
  content: "";
  position: absolute;
  z-index: 2;
  top: 41px;
  height: 16px;
  width: 20px;
}

.nbo-group-timeline-wrap:before {
  left: 0;
  background: linear-gradient(to right, #ffffff, rgba(247, 247, 247, 0));
}

.nbo-group-timeline-wrap:after {
  right: 0;
  background: linear-gradient(to left, #ffffff, rgba(247, 247, 247, 0));
}

.nbo-group-timeline-line {
  position: absolute;
  z-index: 1;
  left: 0;
  top: 49px;
  height: 2px;
  background-color: var(--nbd-st-border);
  -webkit-transition: all 0.4s;
  -moz-transition: all 0.4s;
  transition: all 0.4s;
}

.nbo-group-timeline-step {
  position: absolute;
  width: 0;
  height: 0;
  z-index: 3;
}

.nbo-group-timeline-step-inner {
  position: relative;
  width: 0;
  height: 0;
}

.nbo-group-timeline-step-inner:after {
  content: "";
  position: absolute;
  right: -9px;
  bottom: -8px;
  height: 12px;
  width: 12px;
  border-radius: 50%;
  border-width: 2px;
  border-style: solid;
  border-color: var(--nbd-st-border);
  background-color: #fff;
  cursor: pointer;
  z-index: 1;
}

.nbo-group-timeline-step.active .nbo-group-timeline-step-inner:after {
  background-color: var(--st-secondary);
  border-color: var(--st-secondary);
}

.nbo-group-timeline-step.over .nbo-group-timeline-step-inner:after {
  border-color: var(--st-secondary);
}

.nbo-group-timeline-fill-line {
  position: absolute;
  z-index: 1;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  background-color: var(--st-secondary);
  transform-origin: left center;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  transition: all 0.3s;
}

.drt-up .nbo-ad-pseudo-list {
  bottom: 46px;
  top: unset !important;
}

@media (max-width: 768px) {
  .nbo-detail-popup-wrap .main-popup {
    width: calc(100% - 30px);
  }

  .nbo-group-type2-wrap .nbo-group-type2-body .nbd-option-field {
    width: 100% !important;
  }

  .nbo-group-wrap .nbo-group-body .nbd-option-field {
    flex-basis: calc(100% - 10px);
  }

  .nbd-swatch-tooltip {
    display: none;
  }

  .nbd-tb-options td {
    display: inline-block !important;
    width: 100%;
    padding: 10px !important;
  }

  .nbo-summary-wrapper table tfoot td:last-child,
  .nbo-summary-wrapper table th {
    white-space: nowrap;
  }

  .nbo-table-pricing-wrap {
    overflow-x: scroll;
  }

  .nbo-table-summary-wrap,
  .nbo-table-pricing-wrap {
    background: var(--nbd-st-bg-soft);
  }

  .nbo-delivery-wrapper table td,
  .nbo-delivery-wrapper table th {
    white-space: nowrap;
  }

  .nbo-delivery-wrapper table td,
  .nbo-delivery-wrapper table th:not(.nbo-delivery-icon-wrap) {
    padding: 0 10px !important;
  }

  .nbo-delivery-icon {
    width: 100px !important;
  }

  .nbo-delivery-wrapper {
    overflow-x: scroll;
  }
}

/* ════════════════════════════════════════════════════════════
   Designer Customizer loader: multi-step progress card.
   Replaces the bare spinner that gave buyers no feedback during the
   "Done" flow (Preparing design → Preparing view N/M → Uploading →
   Generating preview → Done). The label + bar are driven from
   app-product-builder.js > $scope.setBuilderProgress(text, percent).
   `!important` is needed in a few places because the legacy
   `.nbdpb-load-page .nbpb-loader` rule above sets `top:50%; left:50%;
   margin:-50px auto 0 -50px` for a full-screen-overlay-centered spinner
   layout — that pushes the spinner off-axis when nested inside the new
   card. We override per-element back to a normal flex flow. */
.nbdpb-load-page {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}
.nbpb-loader-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    padding: 36px 40px;
    min-width: 320px;
    max-width: 420px;
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 24px 56px rgba(0, 0, 0, 0.22), 0 4px 14px rgba(0, 0, 0, 0.08);
}
/* Override legacy `.nbdpb-load-page .nbpb-loader` so the spinner sits as a
   normal flex item inside the card, not absolutely-positioned. */
.nbpb-loader-card .nbpb-loader {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    margin: 0 !important;
    width: 56px !important;
    height: 56px !important;
}
.nbpb-loader-card .nbpb-loader::before { display: none !important; }
/* Same override for the inner SVG. */
.nbpb-loader-card .circular {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    margin: 0 !important;
    width: 100% !important;
    height: 100% !important;
}
.nbpb-loader-label {
    font-size: 15px;
    font-weight: 600;
    color: #1c1917;
    text-align: center;
    line-height: 1.45;
    min-height: 1.45em;
    letter-spacing: -0.005em;
}
.nbpb-loader-track {
    width: 100%;
    height: 8px;
    background: #eef0f3;
    border-radius: 999px;
    overflow: hidden;
}
.nbpb-loader-fill {
    height: 100%;
    width: 5%;
    background: linear-gradient(90deg, #3b82f6 0%, #1d4ed8 100%);
    border-radius: 999px;
    transition: width 0.28s ease;
}
@media (prefers-reduced-motion: reduce) {
    .nbpb-loader-fill { transition: none; }
}

/* =====================================================================
 * Customizer V2 (Cloodo-style)
 * ---------------------------------------------------------------------
 * Tokens are self-contained (--spbwc-c-*) so the customizer modal looks
 * consistent regardless of the theme's CSS variables. Wrapper class is
 * .spbwc-cust-v2 — applied on the outer .nbdpb-popup in wrapper.php.
 * Legacy class names (.design-main, .design-stages, .nbpb-stage-loading,
 * .design-admin-tool, .product-value-act, .nbpb-color-picker, etc.) are
 * preserved inside the new layout so app-product-builder.js works unchanged.
 * ===================================================================== */
.spbwc-cust-v2 {
    /* Alias to the official _tokens.css design system (--st-* / --nbd-st-*).
     * Hardcoded values are FALLBACKS only — they kick in if _tokens.css
     * fails to enqueue. Brand color matches Storelly --st-brand (#1d4ed8). */
    --spbwc-c-brand:        var(--st-brand,            #1d4ed8);
    --spbwc-c-brand-dark:   var(--st-brand-pressed,    #1e40af);
    --spbwc-c-brand-tint:   var(--st-brand-tint,       #eff6ff);
    --spbwc-c-brand-soft:   var(--st-brand-soft,       #dbeafe);
    --spbwc-c-ink:          var(--nbd-st-text,         #1d2327);
    --spbwc-c-ink-soft:     var(--nbd-st-text,         #1d2327);
    --spbwc-c-text:         var(--nbd-st-text-soft,    #50575e);
    --spbwc-c-muted:        var(--nbd-st-text-mute,    #8c8f94);
    --spbwc-c-line:         var(--nbd-st-border-light, #dcdcde);
    --spbwc-c-line-strong:  var(--nbd-st-border,       #c3c4c7);
    --spbwc-c-bg:           var(--nbd-st-bg,           #ffffff);
    --spbwc-c-bg-soft:      var(--nbd-st-bg-soft,      #f6f7f7);
    --spbwc-c-bg-mute:      var(--nbd-st-bg-canvas,    #f0f0f1);
    --spbwc-c-success:      var(--nbd-color-success,   #16a34a);
    --spbwc-c-danger:       var(--nbd-color-danger,    #dc2626);
    --spbwc-c-radius:       var(--nbd-radius-lg,       12px);
    --spbwc-c-radius-sm:    var(--nbd-radius-md,       8px);
    --spbwc-c-shadow-sm:    var(--shadow-sm,           0 1px 2px rgba(0,0,0,.04));
    --spbwc-c-shadow:       var(--shadow-card,         0 1px 2px rgba(16,24,40,.04), 0 6px 16px rgba(16,24,40,.06));
    --spbwc-c-font:         var(--st-font-sans, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);

    display: flex;
    flex-direction: column;
    background: var(--spbwc-c-bg);
    font-family: var(--spbwc-c-font);
    color: var(--spbwc-c-text);
}

/* Header --------------------------------------------------------------- */
.spbwc-cust-header {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 22px;
    border-bottom: 1px solid var(--spbwc-c-line);
    background: var(--spbwc-c-bg);
    z-index: 2;
}
.spbwc-cust-header__title {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.spbwc-cust-header__brand {
    font-size: 17px;
    font-weight: 700;
    color: var(--spbwc-c-ink);
    letter-spacing: -0.01em;
}
.spbwc-cust-header__sub {
    font-size: 13px;
    color: var(--spbwc-c-muted);
}
.spbwc-cust-header__close {
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--spbwc-c-bg-mute);
    color: var(--spbwc-c-ink-soft);
    border: 0;
    cursor: pointer;
    transition: background .15s ease, color .15s ease;
}
.spbwc-cust-header__close:hover {
    background: var(--spbwc-c-line);
    color: var(--spbwc-c-ink);
}

/* Body & 3-column container ------------------------------------------- */
.spbwc-cust-v2 .spbwc-cust-app {
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
}
.spbwc-cust-body {
    height: 100%;
    min-height: 0;
}
.spbwc-cust-container {
    display: grid;
    grid-template-columns: 220px 1fr 320px;
    height: 100%;
    min-height: 0;
    background: var(--spbwc-c-bg-soft);
}

/* LEFT — parts list ---------------------------------------------------- */
.spbwc-cust-parts {
    border-right: 1px solid var(--spbwc-c-line);
    background: var(--spbwc-c-bg);
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
}
.spbwc-cust-parts__title {
    margin: 0;
    padding: 16px 18px 8px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--spbwc-c-muted);
}
.spbwc-cust-parts__list {
    flex: 1 1 auto;
    overflow-y: auto;
    padding: 4px 10px 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.spbwc-cust-part {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 12px;
    border: 1px solid transparent;
    border-radius: var(--spbwc-c-radius-sm);
    background: transparent;
    color: var(--spbwc-c-ink-soft);
    cursor: pointer;
    text-align: left;
    font-size: 14px;
    font-weight: 500;
    transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.spbwc-cust-part:hover {
    background: var(--spbwc-c-bg-mute);
}
.spbwc-cust-part.is-active {
    background: var(--spbwc-c-brand-tint);
    border-color: var(--spbwc-c-brand-soft);
    color: var(--spbwc-c-brand-dark);
}
.spbwc-cust-part__icon {
    flex: 0 0 auto;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: var(--spbwc-c-bg-mute);
    color: var(--spbwc-c-muted);
    overflow: hidden;
}
.spbwc-cust-part.is-active .spbwc-cust-part__icon {
    background: #fff;
    color: var(--spbwc-c-brand);
}
.spbwc-cust-part__icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.spbwc-cust-part__name {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* MIDDLE — canvas ------------------------------------------------------ */
.spbwc-cust-canvas {
    position: relative;
    background: var(--spbwc-c-bg-soft);
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
}
.spbwc-cust-canvas .design-main {
    flex: 1 1 auto;
    min-height: 0;
    position: relative;
    background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
}
.spbwc-cust-canvas .design-layer {
    width: 100%;
    height: 100%;
    position: relative;
}
.spbwc-cust-canvas .design-stages {
    width: 100%;
    height: 100%;
    position: relative;
}
.spbwc-cust-canvas .nbdpb-carousel,
.spbwc-cust-canvas .nbdpb-carousel-item,
.spbwc-cust-canvas .stage,
.spbwc-cust-canvas .stage-main {
    width: 100%;
    height: 100%;
}
.spbwc-cust-tools {
    flex: 0 0 auto;
    padding: 8px;
    background: var(--spbwc-c-bg);
    border-top: 1px solid var(--spbwc-c-line);
    display: flex;
    justify-content: center;
}
.spbwc-cust-tools .tools {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px;
    background: var(--spbwc-c-bg-mute);
    border-radius: var(--spbwc-c-radius-sm);
}
.spbwc-cust-tools .tool-item {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    cursor: pointer;
    color: var(--spbwc-c-ink-soft);
    transition: background .15s ease;
}
.spbwc-cust-tools .tool-item:hover {
    background: #fff;
    box-shadow: var(--spbwc-c-shadow-sm);
}

/* RIGHT — options ----------------------------------------------------- */
.spbwc-cust-options {
    border-left: 1px solid var(--spbwc-c-line);
    background: var(--spbwc-c-bg);
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
}
.spbwc-cust-empty {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 32px 20px;
    color: var(--spbwc-c-muted);
}
.spbwc-cust-empty__icon {
    color: var(--spbwc-c-brand-soft);
    margin-bottom: 14px;
}
.spbwc-cust-empty__title {
    margin: 0 0 6px;
    font-size: 15px;
    font-weight: 700;
    color: var(--spbwc-c-ink-soft);
}
.spbwc-cust-empty__desc {
    margin: 0;
    font-size: 13px;
    line-height: 1.55;
    color: var(--spbwc-c-muted);
    max-width: 26ch;
}

.spbwc-cust-vals {
    flex: 1 1 auto;
    overflow-y: auto;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.spbwc-cust-vals__header {
    padding-bottom: 12px;
    border-bottom: 1px solid var(--spbwc-c-line);
}
.spbwc-cust-vals__title {
    margin: 0 0 4px;
    font-size: 16px;
    font-weight: 700;
    color: var(--spbwc-c-ink);
    letter-spacing: -0.01em;
}
.spbwc-cust-vals__desc {
    margin: 0;
    font-size: 13px;
    line-height: 1.55;
    color: var(--spbwc-c-muted);
}

/* Choice cards (nbpb_com) with price tag */
.spbwc-cust-val-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.spbwc-cust-val {
    position: relative;
    display: grid;
    grid-template-columns: 36px 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    background: var(--spbwc-c-bg);
    border: 1px solid var(--spbwc-c-line);
    border-radius: var(--spbwc-c-radius-sm);
    cursor: pointer;
    text-align: left;
    font: inherit;
    color: var(--spbwc-c-ink-soft);
    transition: border-color .15s ease, background .15s ease, box-shadow .15s ease, transform .12s ease;
}
.spbwc-cust-val:hover { transform: translateY(-1px); }
.spbwc-cust-val:focus-visible {
    outline: 2px solid var(--spbwc-c-brand);
    outline-offset: 2px;
}
.spbwc-cust-val:hover {
    border-color: var(--spbwc-c-brand-soft);
    background: var(--spbwc-c-bg-soft);
}
.spbwc-cust-val.is-active {
    border-color: var(--spbwc-c-brand);
    background: var(--spbwc-c-brand-tint);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .12);
}
.spbwc-cust-val__swatch {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: 1px solid var(--spbwc-c-line);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.4);
}
.spbwc-cust-val__body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.spbwc-cust-val__name {
    font-size: 14px;
    font-weight: 600;
    color: var(--spbwc-c-ink-soft);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.spbwc-cust-val.is-active .spbwc-cust-val__name {
    color: var(--spbwc-c-brand-dark);
}
.spbwc-cust-val__sub {
    font-size: 12px;
    color: var(--spbwc-c-muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.spbwc-cust-val__price {
    font-size: 13px;
    font-weight: 700;
    color: var(--spbwc-c-success);
    padding: 4px 8px;
    border-radius: 999px;
    background: #ecfdf5;
    white-space: nowrap;
}
.spbwc-cust-val__price--free {
    color: var(--spbwc-c-muted);
    background: var(--spbwc-c-bg-mute);
    font-weight: 600;
}
.spbwc-cust-val__check {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--spbwc-c-brand);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.7);
    transition: opacity .15s ease, transform .15s ease;
}
.spbwc-cust-val.is-active .spbwc-cust-val__check {
    opacity: 1;
    transform: scale(1);
}

/* Form fields (text / image) ----------------------------------------- */
.spbwc-cust-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.spbwc-cust-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.spbwc-cust-field__label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--spbwc-c-muted);
}
.spbwc-cust-field__input,
.spbwc-cust-field__select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--spbwc-c-line-strong);
    border-radius: var(--spbwc-c-radius-sm);
    background: #fff;
    font: inherit;
    color: var(--spbwc-c-ink-soft);
    transition: border-color .15s ease, box-shadow .15s ease;
}
.spbwc-cust-field__input:focus,
.spbwc-cust-field__select:focus {
    outline: none;
    border-color: var(--spbwc-c-brand);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .15);
}
.spbwc-cust-color-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.spbwc-cust-color {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid var(--spbwc-c-line-strong);
    cursor: pointer;
    transition: transform .12s ease, box-shadow .15s ease;
}
.spbwc-cust-color:hover {
    transform: scale(1.06);
}
.spbwc-cust-color.is-active {
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--spbwc-c-brand);
}

/* Upload zone */
.spbwc-cust-upload.upload-zone {
    position: relative;
    border: 2px dashed var(--spbwc-c-line-strong);
    border-radius: var(--spbwc-c-radius);
    padding: 22px 16px;
    background: var(--spbwc-c-bg-soft);
    text-align: center;
    color: var(--spbwc-c-muted);
    cursor: pointer;
    transition: border-color .15s ease, background .15s ease;
}
.spbwc-cust-upload.upload-zone:hover {
    border-color: var(--spbwc-c-brand);
    background: var(--spbwc-c-brand-tint);
}
.spbwc-cust-upload.upload-zone .inputfile {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}
.spbwc-cust-upload label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: var(--spbwc-c-ink-soft);
    cursor: pointer;
}
.spbwc-cust-upload__title {
    font-size: 14px;
    font-weight: 600;
}
.spbwc-cust-upload__note {
    font-size: 12px;
    color: var(--spbwc-c-muted);
}
.spbwc-cust-uploaded {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.spbwc-cust-uploaded img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: var(--spbwc-c-radius-sm);
    border: 1px solid var(--spbwc-c-line);
    cursor: pointer;
    transition: transform .12s ease, border-color .15s ease;
}
.spbwc-cust-uploaded img:hover {
    transform: scale(1.04);
    border-color: var(--spbwc-c-brand);
}

/* Buttons ------------------------------------------------------------- */
.spbwc-cust-btn {
    appearance: none;
    -webkit-appearance: none;
    border: 0;
    background: transparent;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
    padding: 10px 16px;
    border-radius: var(--spbwc-c-radius-sm);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background .15s ease, color .15s ease, transform .12s ease, box-shadow .15s ease;
}
.spbwc-cust-btn--primary {
    background: linear-gradient(180deg, var(--spbwc-c-brand) 0%, var(--spbwc-c-brand-dark) 100%);
    color: #fff;
    box-shadow: var(--spbwc-c-shadow-sm);
    padding: 12px 22px;
    font-size: 15px;
}
.spbwc-cust-btn--primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px -4px rgba(37, 99, 235, .55);
}
.spbwc-cust-btn--ghost {
    color: var(--spbwc-c-muted);
}
.spbwc-cust-btn--ghost:hover {
    background: var(--spbwc-c-bg-mute);
    color: var(--spbwc-c-ink-soft);
}
.spbwc-cust-btn--danger {
    background: #fef2f2;
    color: var(--spbwc-c-danger);
    font-size: 13px;
    padding: 8px 12px;
    align-self: flex-start;
}
.spbwc-cust-btn--danger:hover {
    background: #fee2e2;
}

/* Footer -------------------------------------------------------------- */
.spbwc-cust-footer {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    padding: 12px 20px;
    border-top: 1px solid var(--spbwc-c-line);
    background: var(--spbwc-c-bg);
    z-index: 2;
}

/* Responsive ---------------------------------------------------------- */
@media (max-width: 1024px) {
    .spbwc-cust-container {
        grid-template-columns: 200px 1fr 280px;
    }
}
@media (max-width: 880px) {
    .spbwc-cust-container {
        grid-template-columns: 1fr;
        grid-template-rows: auto 1fr auto;
    }
    .spbwc-cust-parts {
        border-right: 0;
        border-bottom: 1px solid var(--spbwc-c-line);
        max-height: 140px;
    }
    .spbwc-cust-parts__list {
        flex-direction: row;
        overflow-x: auto;
        overflow-y: hidden;
        padding-bottom: 10px;
    }
    .spbwc-cust-part {
        flex: 0 0 auto;
        min-width: 140px;
    }
    .spbwc-cust-options {
        border-left: 0;
        border-top: 1px solid var(--spbwc-c-line);
        max-height: 45vh;
    }
}

/* V2 — overrides for the legacy editor-canvas chain ------------------- *
 * Legacy CSS expects .design-main to host a 75% canvas + 25% sidebar in
 * one flex row. In V2 the sidebar lives in a separate grid column, so
 * design-main has only one child (.design-layer) and we must give it a
 * usable height — otherwise canvas-N collapses to 1×1 and Fabric renders
 * an empty stage. These rules are scoped under .spbwc-cust-v2 so the
 * legacy wrapper-legacy.php fallback is unaffected.                     */
.spbwc-cust-v2 .nbdpb-product-builder { height: 100%; }
.spbwc-cust-v2 .spbwc-cust-canvas .design-main {
    flex: 1 1 auto;
    min-height: 0;
    height: 100%;
    width: 100%;
    display: block; /* override legacy flex-wrap row */
    flex-wrap: nowrap;
    position: relative;
}
.spbwc-cust-v2 .spbwc-cust-canvas .design-layer {
    width: 100%;
    height: 100%;
    position: relative;
}
.spbwc-cust-v2 .spbwc-cust-canvas .design-stages {
    height: 100%;
    width: 100%;
    margin: 0;
    border: 0;
}
.spbwc-cust-v2 .spbwc-cust-canvas .nbdpb-carousel-outer,
.spbwc-cust-v2 .spbwc-cust-canvas .nbdpb-carousel,
.spbwc-cust-v2 .spbwc-cust-canvas .nbdpb-carousel-item.nbdpb-active,
.spbwc-cust-v2 .spbwc-cust-canvas .nbdpb-active .stage {
    height: 100%;
}

/* Header / footer close-popup overrides.
 * Legacy CSS at line 3634 makes ANY .close-popup inside .nbdpb-popup
 * absolutely positioned at top:10px, left:10px — which overlapped my
 * header X icon with the title text AND dragged the footer "Cancel"
 * button to the top-left corner. Reset positioning for V2 close affs. */
.spbwc-cust-v2 .spbwc-cust-header__close.close-popup,
.spbwc-cust-v2 .spbwc-cust-footer .close-popup,
.spbwc-cust-v2 .spbwc-cust-btn.close-popup {
    position: static !important;
    left: auto !important;
    top: auto !important;
}

/* Swatch background-image fix.
 * Legacy ng-style binding uses the `background` SHORTHAND, which resets
 * background-size to the initial `auto` — so my .spbwc-cust-val__swatch
 * rule of `background-size: cover` was being overridden by the inline
 * style and option images rendered 1:1 from the top-left. Tagging the
 * sizing rules with !important keeps the binding simple (no template
 * surgery) and only applies inside the V2 wrapper.                     */
.spbwc-cust-v2 .spbwc-cust-val__swatch,
.spbwc-cust-v3 .spbwc-cust-val__swatch {
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

/* =====================================================================
 * Customizer V3 (Tab Nav + Accordion + Summary)
 * ---------------------------------------------------------------------
 * Tokens are self-contained (--spbwc-c-*) so the customizer renders
 * consistently regardless of the theme's CSS variables. Layout grid:
 *
 *   topbar 64px   ───────────────────────────────────────────
 *   tabnav 64px | accordion 290px | canvas 1fr | summary 340px
 *
 * Legacy class names inside (.design-main, .design-stages, etc.) are
 * preserved with V2-style overrides further down so app-product-builder.js
 * works unchanged. The two earlier wrappers stay valid via the
 * spbwc_use_legacy_customizer filter / SPBWC_USE_LEGACY_CUSTOMIZER define.
 * ===================================================================== */
.spbwc-cust-v3 {
    /* ====================================================================
     * EXACT design tokens from Printcart Canva v2.0
     *   D:\PRINTCART\API Printcart\printcart-canva-v2.0.html → :root
     * Values pinned verbatim so the customizer reads as the same surface.
     * --spbwc-c-* names are kept for internal rule references; the values
     * are sourced from Printcart's --nbd-mb-* palette, NOT from the
     * Storelly admin _tokens.css. (Customizer is a buyer-facing modal,
     * not a WP-admin screen, so the Printcart consumer palette fits.)
     * =================================================================== */
    --spbwc-c-brand:        #2563eb;            /* --nbd-mb-primary */
    --spbwc-c-brand-dark:   #1d4ed8;            /* --nbd-mb-primary-pressed */
    --spbwc-c-brand-tint:   rgba(37, 99, 235, 0.08); /* tab-btn active bg */
    --spbwc-c-brand-soft:   #dbeafe;            /* --nbd-mb-primary-soft */
    --spbwc-c-ink:          #1f2937;            /* --nbd-mb-text */
    --spbwc-c-ink-soft:     #1f2937;
    --spbwc-c-text:         #6b7280;            /* --nbd-mb-text-soft */
    --spbwc-c-muted:        #6b7280;
    --spbwc-c-line:         #e5e7eb;            /* --nbd-mb-border */
    --spbwc-c-line-strong:  #d1d5db;            /* --nbd-mb-border-strong */
    --spbwc-c-line-subtle:  #f3f4f6;            /* --nbd-mb-border-subtle */
    --spbwc-c-bg:           #ffffff;            /* --nbd-mb-bg */
    --spbwc-c-bg-soft:      #f9fafb;            /* --nbd-mb-bg-soft */
    --spbwc-c-bg-mute:      #f3f4f6;            /* --nbd-mb-bg-canvas */
    --spbwc-c-success:      #10b981;            /* --nbd-color-success */
    --spbwc-c-success-soft: #d1fae5;            /* --nbd-color-success-soft */
    --spbwc-c-success-mid:  #34d399;            /* gradient mid-stop */
    --spbwc-c-success-deep: #065f46;            /* text on success-soft */
    --spbwc-c-success-line: #6ee7b7;            /* border on success-soft */
    --spbwc-c-brand-mid:    #3b82f6;            /* gradient mid-stop */
    --spbwc-c-brand-line:   #93c5fd;            /* border on brand-soft */
    --spbwc-c-warning:      #f59e0b;            /* --nbd-color-warning */
    --spbwc-c-warning-soft: #fef3c7;
    --spbwc-c-danger:       #ef4444;            /* --nbd-color-error */
    --spbwc-c-danger-soft:  #fee2e2;
    --spbwc-c-accent:       #f59e0b;
    /* Radii — Printcart scale */
    --spbwc-c-radius:       12px;               /* --nbd-radius-xl */
    --spbwc-c-radius-md:    8px;                /* --nbd-radius-lg */
    --spbwc-c-radius-sm:    6px;                /* --nbd-radius-md */
    --spbwc-c-radius-xs:    4px;                /* --nbd-radius-sm */
    /* Shadows — Printcart scale */
    --spbwc-c-shadow-sm:    0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --spbwc-c-shadow:       0 2px 4px 0 rgba(0, 0, 0, 0.08);
    --spbwc-c-shadow-lg:    0 4px 12px 0 rgba(0, 0, 0, 0.08);
    --spbwc-c-shadow-focus: 0 0 0 3px rgba(37, 99, 235, 0.25);
    --spbwc-c-font:         -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

    --spbwc-topbar-h:       64px;
    --spbwc-tabnav-w:       72px;
    --spbwc-panel-w:        280px;
    --spbwc-summary-w:      300px;

    display: flex;
    flex-direction: column;
    background: var(--spbwc-c-bg);
    font-family: var(--spbwc-c-font);
    color: var(--spbwc-c-text);
    font-size: 14px;
}

/* TOPBAR — Printcart `.topbar` pattern.
 * Subtle shadow-md gives the topbar a "card lifted off page" feel. */
.spbwc-cust-topbar {
    flex: 0 0 auto;
    height: var(--spbwc-topbar-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 0 24px;
    border-bottom: 1px solid var(--spbwc-c-line);
    background: var(--spbwc-c-bg);
    box-shadow: var(--spbwc-c-shadow);
    z-index: 100;
    position: relative;
}
.spbwc-cust-topbar__brand {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
    flex: 1 1 auto;
}
.spbwc-cust-topbar__thumb {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    object-fit: cover;
    flex: 0 0 auto;
    background: var(--spbwc-c-bg-mute);
    border: 1px solid var(--spbwc-c-line);
    color: var(--spbwc-c-muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.spbwc-cust-topbar__thumb--ph { font-size: 18px; }
.spbwc-cust-topbar__title { min-width: 0; }
.spbwc-cust-topbar__name {
    font-size: 16px;
    font-weight: 700;
    color: var(--spbwc-c-ink);
    line-height: 1.2;
    letter-spacing: -0.01em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 480px;
}
.spbwc-cust-topbar__sub {
    font-size: 12.5px;
    color: var(--spbwc-c-muted);
    margin-top: 2px;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}
.spbwc-cust-topbar__sep { opacity: .45; }
.spbwc-cust-topbar__base {
    color: var(--spbwc-c-ink-soft);
    font-weight: 600;
}
.spbwc-cust-topbar__base .amount,
.spbwc-cust-topbar__base bdi {
    color: var(--spbwc-c-brand-dark);
}
.spbwc-cust-topbar__actions {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex: 0 0 auto;
}
.spbwc-cust-iconbtn {
    appearance: none;
    background: var(--spbwc-c-bg-mute);
    border: 0;
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--spbwc-c-ink-soft);
    cursor: pointer;
    transition: background .15s ease, color .15s ease;
}
.spbwc-cust-iconbtn:hover {
    background: var(--spbwc-c-line);
    color: var(--spbwc-c-ink);
}
.spbwc-cust-iconbtn--close:hover {
    background: #fee2e2;
    color: var(--spbwc-c-danger);
}

/* BODY 4-column grid ------------------------------------------------- */
/* V3 modal needs `display: flex; flex-direction: column` so the
 * modal-head + scrollable app-body split the modal height instead
 * of the body stacking past the modal bottom edge. Legacy popup
 * defaults to `display: block` — without this override the
 * `.spbwc-cust-app { flex: 1 1 auto }` rule below has no effect
 * because its parent isn't a flex container. The result was the
 * 4-column grid (including the summary aside) extending past the
 * modal bottom edge by exactly modal-head height, which clipped
 * the sticky CTA on shorter viewports (laptop screens). V3 only
 * — V2 keeps its legacy block layout. */
.spbwc-cust-v3.nbdpb-popup.nbdpb-show {
    /* Legacy `.nbdpb-show { display: block !important }` (line 3399) forces
     * block layout on every popup. Override with !important so V3 can
     * use a flex column — required for the body-grid to fit within the
     * modal height instead of overflowing past the modal bottom. */
    display: flex !important;
    flex-direction: column;
}
.spbwc-cust-v3 .spbwc-cust-app {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
}
.spbwc-cust-v3 .spbwc-cust-body {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
}
.spbwc-cust-v3 .spbwc-cust-container {
    display: grid;
    grid-template-columns: var(--spbwc-tabnav-w) var(--spbwc-panel-w) 1fr var(--spbwc-summary-w);
    flex: 1 1 auto;
    min-height: 0;
    background: var(--spbwc-c-bg-soft);
}

/* TAB NAV — Printcart `.tab-nav` + `.tab-btn` baseline + elegance pass.
 * Bigger tap targets (72px), more vertical breathing room between tabs,
 * 24px icon, label letter-spaced for a "navigation chip" feel rather
 * than a cramped icon column. */
.spbwc-cust-tabnav {
    flex: 0 0 auto;
    background: var(--spbwc-c-bg-soft);
    border-right: 1px solid var(--spbwc-c-line-strong);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    scrollbar-width: thin;
    padding: 8px 6px;
    gap: 4px;
    box-shadow: inset -1px 0 0 var(--spbwc-c-line);
}
/* Each tab button gets a subtle 1px border so it reads as a distinct
 * "chip" against the rail bg — separates it visually from the white
 * accordion cards in the panel beside it. */
.spbwc-cust-tabbtn {
    border-radius: 8px;
}
.spbwc-cust-tabbtn:hover {
    border: 1px solid transparent;
}
.spbwc-cust-tabbtn.is-active,
.spbwc-cust-tabbtn[aria-selected="true"] {
    border: 1px solid var(--spbwc-c-brand-soft);
}
.spbwc-cust-tabbtn {
    position: relative;
    width: 100%;
    min-height: 72px;
    padding: 10px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: transparent;
    border: 0;
    border-radius: 0;
    color: var(--spbwc-c-text);
    font: inherit;
    font-size: 11.5px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.02em;
    transition: background 120ms, color 120ms;
    cursor: pointer;
}
.spbwc-cust-tabbtn:hover {
    background: var(--spbwc-c-bg-soft);
    color: var(--spbwc-c-ink);
}
.spbwc-cust-tabbtn:focus-visible {
    outline: 2px solid var(--spbwc-c-brand);
    outline-offset: -2px;
    z-index: 1;
}
.spbwc-cust-tabbtn.is-active,
.spbwc-cust-tabbtn[aria-selected="true"] {
    background: var(--spbwc-c-brand-tint);
    color: var(--spbwc-c-brand);
}
/* (Removed in 1.4.4 per user feedback: the 3px brand accent rail on the
 * right edge of the active tab. Active state now relies on the brand-
 * tint background + brand text — cleaner, no extra ornament.) */
.spbwc-cust-tabbtn__icon {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    transition: background 120ms;
}
.spbwc-cust-tabbtn:hover .spbwc-cust-tabbtn__icon { background: var(--spbwc-c-bg); }
.spbwc-cust-tabbtn.is-active .spbwc-cust-tabbtn__icon { background: var(--spbwc-c-bg); }
.spbwc-cust-tabbtn__icon svg {
    width: 22px;
    height: 22px;
    stroke-width: 1.6;
}
.spbwc-cust-tabbtn__label {
    font-size: 11.5px;
    line-height: 1.1;
    letter-spacing: 0.02em;
    white-space: nowrap;
}
.spbwc-cust-tabbtn__icon {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
/* "Coming soon" indicator — a small dot, not text. Text labels like
 * "Soon" overflow the 72px tab column even at 8px font, so the affordance
 * is a single accent-coloured dot at top-right + a tooltip on the tab. */
.spbwc-cust-tabbtn__badge {
    position: absolute;
    top: 6px;
    right: 8px;
    width: 8px;
    height: 8px;
    background: var(--spbwc-c-accent);
    border-radius: 50%;
    border: 2px solid var(--spbwc-c-bg);
    box-sizing: content-box;
    /* Visually-hidden text for screen readers — keep the word but hide it */
    color: transparent;
    font-size: 0;
    overflow: hidden;
    padding: 0;
    line-height: 0;
}

/* PANEL (accordion options) — must be a flex column with min-height:0
 * so the inner tab panels can take all remaining height and host their
 * own scroll containers without overflowing the whole modal. !important
 * defeats the Cloodo theme reset that was forcing `display: block` on
 * <aside> elements (which collapsed our flex chain — inner tabpanel
 * was growing to content height 1462px instead of constrained 513px). */
.spbwc-cust-v3 aside.spbwc-cust-panel,
aside.spbwc-cust-panel {
    background: var(--spbwc-c-bg);
    border-right: 1px solid var(--spbwc-c-line);
    display: flex !important;
    flex-direction: column !important;
    min-height: 0;
    height: 100%;
    overflow: hidden;
    position: relative;
    z-index: 2;
}
/* Tab panels — only the active one is visible. Make each a flex column
 * itself so its head pins to the top and the body scrolls. */
.spbwc-cust-tabpanel {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.spbwc-cust-tabpanel[hidden] { display: none; }
/* Panel head — pinned top bar for the active tab panel.
 * flex:0 0 auto keeps it from squishing when content below scrolls.
 * No border-bottom — caption flows into the accordion list with just
 * padding for separation (per user feedback). */
.spbwc-cust-v3 .spbwc-cust-panel__head {
    flex: 0 0 auto;
    height: 44px;
    padding: 0 16px;
    background: var(--spbwc-c-bg);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    margin: 0 !important;
    box-sizing: border-box;
}
.spbwc-cust-v3 .spbwc-cust-panel__title {
    font-size: 12px !important;
    font-weight: 600 !important;
    color: var(--spbwc-c-text) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.06em !important;
    line-height: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: left;
}
.spbwc-cust-panel__meta {
    font-size: 11px;
    font-weight: 500;
    color: var(--spbwc-c-text);
    margin-left: auto;
}

/* View filter toggle — right of the panel head caption */
.spbwc-cust-viewfilter {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 2px;
    background: var(--spbwc-c-bg-soft);
    border: 1px solid var(--spbwc-c-line);
    border-radius: 9999px;
}
.spbwc-cust-viewfilter__btn {
    appearance: none;
    background: transparent;
    border: 0;
    cursor: pointer;
    padding: 3px 10px;
    border-radius: 9999px;
    font: inherit;
    font-size: 11px;
    font-weight: 600;
    color: var(--spbwc-c-text);
    transition: background 120ms, color 120ms;
    line-height: 1.4;
}
.spbwc-cust-viewfilter__btn:hover { color: var(--spbwc-c-ink); }
.spbwc-cust-viewfilter__btn.is-active {
    background: var(--spbwc-c-bg);
    color: var(--spbwc-c-brand);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

/* ====================================================================
 * Details tab — product hero + gallery thumbs + name + price + specs.
 * Lives inside .spbwc-cust-content (existing scroll container).
 * ================================================================ */
.spbwc-cust-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.spbwc-cust-details__hero {
    width: 100%;
    aspect-ratio: 4 / 3;
    background: var(--spbwc-c-bg-mute);
    border: 1px solid var(--spbwc-c-line);
    border-radius: var(--spbwc-c-radius-md);
    overflow: hidden;
    display: grid;
    place-items: center;
}
.spbwc-cust-details__hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.spbwc-cust-details__gallery {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding-bottom: 2px;
}
.spbwc-cust-details__thumb {
    flex: 0 0 auto;
    width: 52px;
    height: 52px;
    padding: 0;
    background: var(--spbwc-c-bg);
    border: 2px solid var(--spbwc-c-line);
    border-radius: var(--spbwc-c-radius-sm);
    cursor: pointer;
    overflow: hidden;
    transition: border-color 150ms, transform 120ms;
}
.spbwc-cust-details__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.spbwc-cust-details__thumb:hover { border-color: var(--spbwc-c-brand-soft); transform: translateY(-1px); }
.spbwc-cust-details__thumb.is-active {
    border-color: var(--spbwc-c-brand);
    box-shadow: 0 0 0 1px var(--spbwc-c-brand);
}

.spbwc-cust-details__heading {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--spbwc-c-line-subtle);
}
.spbwc-cust-details__name {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--spbwc-c-ink);
    letter-spacing: -0.01em;
}
.spbwc-cust-details__price {
    font-size: 13px;
    color: var(--spbwc-c-text);
    font-weight: 500;
}
.spbwc-cust-details__price .amount,
.spbwc-cust-details__price bdi,
.spbwc-cust-details__price .woocommerce-Price-amount {
    color: var(--spbwc-c-brand-dark);
    font-weight: 700;
    text-decoration: none !important;
}

.spbwc-cust-details__section {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.spbwc-cust-details__h {
    margin: 0;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--spbwc-c-text);
}
.spbwc-cust-details .spbwc-cust-spec {
    margin: 0;
    padding: 0;
    border-top: 0;
    gap: 6px;
}
/* Progress affordance — Printcart `.progress-mini` style: a thin
 * 4px capsule with smooth fill. The N/M label sits in panel__meta. */
.spbwc-cust-panel__progress {
    height: 4px;
    background: var(--spbwc-c-bg-mute);
    margin: 0 16px 12px;
    border-radius: 9999px;
    overflow: hidden;
}
.spbwc-cust-panel__progress-fill {
    display: block;
    height: 100%;
    background: var(--spbwc-c-brand);
    transition: width 220ms ease, background 220ms ease;
    border-radius: 9999px;
}
.spbwc-cust-panel__progress.is-complete .spbwc-cust-panel__progress-fill {
    background: var(--spbwc-c-success);
}
/* (Removed in 1.4.4: a stale `.spbwc-cust-tabpanel { overflow-y: auto }`
 * lived here from an earlier polish pass — it scrolled the WHOLE
 * tabpanel including the head, AND fought the inner .spbwc-cust-acc
 * scroll. Canonical rule lives at line ~8318 — flex column with
 * overflow:hidden, so the inner list owns the scroll.) */

/* Accordion items — direct port of Printcart Canva `.step-item` +
 * `.step-row`. White card, 6px radius, 1px subtle border. Open state =
 * primary border + 1px box-shadow primary + light-blue row bg.
 * Hover is contained to the row only — no stuck-gray. */
/* Accordion list — THIS is the scroll container for the Customize tab.
 * Takes all available height inside the tab panel (flex 1) and scrolls
 * vertically so a product with many components doesn't push the head
 * out of view. Long option grids inside an open step push the LIST,
 * not a nested scroll inside the body — feels more natural. */
.spbwc-cust-acc {
    flex: 1 1 auto;
    min-height: 0;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}
.spbwc-cust-acc-item {
    border: 1px solid var(--spbwc-c-line);
    border-radius: var(--spbwc-c-radius-sm); /* 6px — Printcart radius-md */
    background: var(--spbwc-c-bg);
    transition: border-color 120ms;
    /* No overflow:hidden — the open body needs to render its full
     * height so the outer .spbwc-cust-acc scroll container handles
     * the actual scrolling. (1.4.4: this was clipping option grids
     * to ~315px, hiding everything past the 5th colour swatch.) */
}
.spbwc-cust-acc-item.is-open {
    border-color: var(--spbwc-c-brand);
    box-shadow: 0 0 0 1px var(--spbwc-c-brand);
}
.spbwc-cust-acc-head {
    width: 100%;
    background: transparent;
    border: 0;
    text-align: left;
    cursor: pointer;
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    font: inherit;
    min-height: 52px;
    transition: background 120ms;
}
.spbwc-cust-acc-head:hover { background: var(--spbwc-c-bg-soft); }
.spbwc-cust-acc-item.is-open .spbwc-cust-acc-head {
    background: var(--spbwc-c-brand-soft);
}
/* Step status badge — direct port of Printcart `.step-row-badge`.
 * 20x20 circle. Done = solid green w/ white check. Pending = bg-soft
 * + 1px subtle border + muted dot. Active (open) overrides done to
 * primary blue. */
.spbwc-cust-acc-step {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    border-radius: 9999px;
    background: var(--spbwc-c-bg-soft);
    color: var(--spbwc-c-text);
    border: 1px solid var(--spbwc-c-line);
    transition: background 120ms, color 120ms, border-color 120ms;
}
.spbwc-cust-acc-step__dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: currentColor;
}
.spbwc-cust-acc-item.is-done .spbwc-cust-acc-step {
    background: var(--spbwc-c-success);
    color: #fff;
    border-color: var(--spbwc-c-success);
}
.spbwc-cust-acc-item.is-open:not(.is-done) .spbwc-cust-acc-step {
    background: var(--spbwc-c-brand);
    color: #fff;
    border-color: var(--spbwc-c-brand);
}
.spbwc-cust-acc-info {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.spbwc-cust-acc-name {
    font-size: 12px;
    font-weight: 600;
    color: var(--spbwc-c-ink);
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    /* Preserve admin-set title case verbatim. */
    text-transform: none;
}
.spbwc-cust-acc-value {
    font-size: 11px;
    color: var(--spbwc-c-text);
    line-height: 1.3;
    margin-top: 1px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.spbwc-cust-acc-chevron {
    color: var(--spbwc-c-muted);
    transition: transform .2s ease;
}
.spbwc-cust-acc-item.is-open .spbwc-cust-acc-chevron {
    transform: rotate(180deg);
    color: var(--spbwc-c-brand);
}
/* Open accordion body — Printcart step expanded body. Lets the option
 * grid grow naturally; scroll is owned by the .spbwc-cust-acc parent
 * (the whole list scrolls), so the head stays fixed at top while the
 * rest pushes down. Avoids nested scroll containers that fight each
 * other on touch devices. */
.spbwc-cust-acc-body {
    padding: 12px;
    background: var(--spbwc-c-bg);
    border-top: 1px solid var(--spbwc-c-line);
}
.spbwc-cust-acc-foot {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px dashed var(--spbwc-c-line);
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: flex-end;
}

/* Option cards inside accordion */
.spbwc-cust-v3 .spbwc-cust-val-grid {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.spbwc-cust-v3 .spbwc-cust-val {
    position: relative;
    display: grid;
    grid-template-columns: 30px 1fr auto;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    background: var(--spbwc-c-bg);
    border: 1px solid var(--spbwc-c-line);
    border-radius: var(--spbwc-c-radius-sm);
    cursor: pointer;
    text-align: left;
    font: inherit;
    color: var(--spbwc-c-ink-soft);
    transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}
.spbwc-cust-v3 .spbwc-cust-val:hover { border-color: var(--spbwc-c-brand-soft); }
.spbwc-cust-v3 .spbwc-cust-val.is-active {
    border-color: var(--spbwc-c-brand);
    background: var(--spbwc-c-brand-tint);
    box-shadow: 0 0 0 2px rgba(37, 99, 235, .12);
}
.spbwc-cust-v3 .spbwc-cust-val__swatch {
    width: 30px;
    height: 30px;
    border-radius: 6px;
    background-size: cover;
    background-position: center;
    border: 1px solid var(--spbwc-c-line);
}
.spbwc-cust-v3 .spbwc-cust-val__body {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}
.spbwc-cust-v3 .spbwc-cust-val__name {
    font-size: 13px;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.spbwc-cust-v3 .spbwc-cust-val__sub {
    font-size: 11.5px;
    color: var(--spbwc-c-muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.spbwc-cust-v3 .spbwc-cust-val__price {
    font-size: 12px;
    font-weight: 700;
    color: var(--spbwc-c-success);
    padding: 3px 6px;
    border-radius: 999px;
    background: var(--spbwc-c-success-soft);
    white-space: nowrap;
}
.spbwc-cust-v3 .spbwc-cust-val__price--free {
    color: var(--spbwc-c-muted);
    background: var(--spbwc-c-bg-mute);
    font-weight: 600;
}
.spbwc-cust-v3 .spbwc-cust-val__check {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--spbwc-c-brand);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.7);
    transition: opacity .15s ease, transform .15s ease;
}
.spbwc-cust-v3 .spbwc-cust-val.is-active .spbwc-cust-val__check {
    opacity: 1;
    transform: scale(1);
}

/* Form fields (text/image) reuse V2 styling */
.spbwc-cust-v3 .spbwc-cust-form { display: flex; flex-direction: column; gap: 12px; }
.spbwc-cust-v3 .spbwc-cust-field { display: flex; flex-direction: column; gap: 5px; }
.spbwc-cust-v3 .spbwc-cust-field__label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--spbwc-c-muted);
}
.spbwc-cust-v3 .spbwc-cust-field__input,
.spbwc-cust-v3 .spbwc-cust-field__select {
    width: 100%;
    padding: 9px 11px;
    border: 1px solid var(--spbwc-c-line-strong);
    border-radius: var(--spbwc-c-radius-sm);
    background: #fff;
    font: inherit;
    color: var(--spbwc-c-ink-soft);
}
.spbwc-cust-v3 .spbwc-cust-field__input:focus,
.spbwc-cust-v3 .spbwc-cust-field__select:focus {
    outline: none;
    border-color: var(--spbwc-c-brand);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .15);
}
.spbwc-cust-v3 .spbwc-cust-color-row { display: flex; flex-wrap: wrap; gap: 5px; }
.spbwc-cust-v3 .spbwc-cust-color {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 1px solid var(--spbwc-c-line-strong);
    cursor: pointer;
}
.spbwc-cust-v3 .spbwc-cust-color.is-active {
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--spbwc-c-brand);
}

/* Upload zone */
.spbwc-cust-v3 .spbwc-cust-upload.upload-zone {
    position: relative;
    border: 2px dashed var(--spbwc-c-line-strong);
    border-radius: var(--spbwc-c-radius);
    padding: 18px 14px;
    background: var(--spbwc-c-bg-soft);
    text-align: center;
    cursor: pointer;
}
.spbwc-cust-v3 .spbwc-cust-upload.upload-zone:hover {
    border-color: var(--spbwc-c-brand);
    background: var(--spbwc-c-brand-tint);
}
.spbwc-cust-v3 .spbwc-cust-upload.upload-zone .inputfile {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}
.spbwc-cust-v3 .spbwc-cust-upload label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: var(--spbwc-c-ink-soft);
    cursor: pointer;
}
.spbwc-cust-v3 .spbwc-cust-upload__title { font-size: 13px; font-weight: 600; }
.spbwc-cust-v3 .spbwc-cust-upload__note { font-size: 11.5px; color: var(--spbwc-c-muted); }
.spbwc-cust-v3 .spbwc-cust-uploaded {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.spbwc-cust-v3 .spbwc-cust-uploaded img {
    width: 52px;
    height: 52px;
    object-fit: cover;
    border-radius: var(--spbwc-c-radius-sm);
    border: 1px solid var(--spbwc-c-line);
    cursor: pointer;
}

/* Link buttons (Reset this part, Delete, Cancel) */
.spbwc-cust-linkbtn {
    appearance: none;
    background: transparent;
    border: 0;
    color: var(--spbwc-c-muted);
    font: inherit;
    font-size: 12px;
    font-weight: 600;
    padding: 5px 8px;
    border-radius: var(--spbwc-c-radius-xs);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: background .15s ease, color .15s ease;
}
.spbwc-cust-linkbtn:hover { background: var(--spbwc-c-bg-mute); color: var(--spbwc-c-ink-soft); }
.spbwc-cust-linkbtn--danger { color: var(--spbwc-c-danger); }
.spbwc-cust-linkbtn--danger:hover { background: #fee2e2; }

/* Coming-soon placeholder */
.spbwc-cust-comingsoon {
    padding: 32px 20px;
    text-align: center;
    color: var(--spbwc-c-muted);
}
.spbwc-cust-comingsoon svg {
    color: var(--spbwc-c-brand-soft);
    margin-bottom: 10px;
}
.spbwc-cust-comingsoon h3 {
    margin: 0 0 4px;
    font-size: 15px;
    font-weight: 700;
    color: var(--spbwc-c-ink-soft);
}
.spbwc-cust-comingsoon p {
    margin: 0;
    font-size: 12.5px;
    line-height: 1.5;
}

/* ====================================================================
 * Help / FAQ tab — buyer-facing accordion card list. Each Q is a
 * bordered card that opens to reveal its A, with a chevron rotating
 * on toggle. Tone-setting intro banner above the list explains what
 * the tab is for so the buyer doesn't have to guess.
 * ================================================================ */
.spbwc-cust-help {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Quick-help intro banner — brand-tint card at top of FAQ list. */
.spbwc-cust-help__intro {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px;
    background: var(--spbwc-c-brand-tint);
    border: 1px solid var(--spbwc-c-brand-soft);
    border-radius: var(--spbwc-c-radius-md);
    margin-bottom: 4px;
}
.spbwc-cust-help__intro-icon {
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--spbwc-c-bg);
    color: var(--spbwc-c-brand);
    box-shadow: 0 1px 2px rgba(37, 99, 235, 0.15);
}
.spbwc-cust-help__intro-body {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 12.5px;
    line-height: 1.5;
    color: var(--spbwc-c-text);
}
.spbwc-cust-help__intro-body strong {
    color: var(--spbwc-c-brand-dark);
    font-weight: 700;
    font-size: 13.5px;
}

/* FAQ card — bordered question/answer accordion */
.spbwc-cust-faq {
    border: 1px solid var(--spbwc-c-line);
    border-radius: var(--spbwc-c-radius-sm); /* 6px */
    background: var(--spbwc-c-bg);
    transition: border-color 150ms, box-shadow 150ms;
}
.spbwc-cust-faq:hover { border-color: var(--spbwc-c-line-strong); }
.spbwc-cust-faq[open] {
    border-color: var(--spbwc-c-brand-soft);
    box-shadow: 0 1px 3px rgba(37, 99, 235, 0.06);
}
.spbwc-cust-faq summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    font-size: 13px;
    font-weight: 600;
    color: var(--spbwc-c-ink);
    line-height: 1.4;
    border-radius: var(--spbwc-c-radius-sm);
    transition: background 120ms;
    -webkit-tap-highlight-color: transparent;
}
.spbwc-cust-faq summary::-webkit-details-marker { display: none; }
.spbwc-cust-faq summary::marker { display: none; }
.spbwc-cust-faq summary:hover { background: var(--spbwc-c-bg-soft); }
.spbwc-cust-faq[open] summary {
    background: var(--spbwc-c-brand-tint);
    color: var(--spbwc-c-brand-dark);
    border-bottom: 1px solid var(--spbwc-c-brand-soft);
    border-radius: var(--spbwc-c-radius-sm) var(--spbwc-c-radius-sm) 0 0;
}
.spbwc-cust-faq__q {
    flex: 1 1 auto;
    min-width: 0;
}
.spbwc-cust-faq__chev {
    flex: 0 0 auto;
    color: var(--spbwc-c-muted);
    transition: transform 200ms ease, color 200ms;
}
.spbwc-cust-faq[open] .spbwc-cust-faq__chev {
    transform: rotate(180deg);
    color: var(--spbwc-c-brand);
}
.spbwc-cust-faq__a {
    padding: 12px 14px 14px;
    color: var(--spbwc-c-text);
    font-size: 12.5px;
    line-height: 1.6;
}
.spbwc-cust-faq__a p {
    margin: 0;
}
.spbwc-cust-faq__a p + p { margin-top: 8px; }
.spbwc-cust-faq__a a {
    color: var(--spbwc-c-brand);
    text-decoration: underline;
    font-weight: 500;
}
.spbwc-cust-faq__a a:hover { color: var(--spbwc-c-brand-dark); }

/* CANVAS column — direct port of Printcart `.stage`.
 * Background is bg-canvas (#f3f4f6) with a 24x24 cross-hatch dotted
 * grid via two linear-gradients — exactly what Printcart uses. The
 * canvas image floats on top of this textured surface, so the bike
 * (or whatever artwork) reads with depth instead of disappearing on
 * a flat white wall. */
.spbwc-cust-v3 .spbwc-cust-canvas {
    position: relative;
    background: var(--spbwc-c-bg-mute);
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
}
.spbwc-cust-v3 .spbwc-cust-canvas .design-main {
    flex: 1 1 auto;
    min-height: 0;
    height: 100%;
    width: 100%;
    display: block;
    flex-wrap: nowrap;
    position: relative;
    background: var(--spbwc-c-bg-mute);
    background-image:
        linear-gradient(rgba(0,0,0,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,0,0,0.04) 1px, transparent 1px);
    background-size: 24px 24px;
}
.spbwc-cust-v3 .spbwc-cust-canvas .design-layer {
    width: 100%;
    height: 100%;
    position: relative;
}
.spbwc-cust-v3 .spbwc-cust-canvas .design-stages {
    height: 100%;
    width: 100%;
    margin: 0;
    border: 0;
}
.spbwc-cust-v3 .spbwc-cust-canvas .nbdpb-carousel,
.spbwc-cust-v3 .spbwc-cust-canvas .nbdpb-carousel-item.nbdpb-active,
.spbwc-cust-v3 .spbwc-cust-canvas .nbdpb-active .stage {
    height: 100%;
    width: 100%;
}
.spbwc-cust-v3 .spbwc-cust-canvas .stage-main {
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Tightened bottom padding — bars now live in a dedicated 48px
     * toolbar row BELOW the stage, so we no longer need 72px to clear
     * floating bars on top of artwork. */
    padding: 24px;
    box-sizing: border-box;
}
/* Hide legacy carousel `<` / `>` nav arrows inside the V3 canvas —
 * they overlap the artwork and duplicate the new view-thumb strip
 * (top-right of canvas). View thumbs are the canonical view-switcher
 * affordance now. */
.spbwc-cust-v3 .spbwc-cust-canvas .nbdpb-owl-nav,
.spbwc-cust-v3 .spbwc-cust-canvas .nbdpb-owl-prev,
.spbwc-cust-v3 .spbwc-cust-canvas .nbdpb-owl-next,
.spbwc-cust-v3 .spbwc-cust-canvas .nbdpb-owl-dots {
    display: none !important;
}

/* Hide the legacy semi-transparent `.nbpb-overlay` inside the design
 * zone. In legacy it was an empty visual blocker used by the canvas
 * carousel; in V3 it shows up as a ghostly wash over the artwork (Bug
 * 2 from user screenshot 2 — Inside view of the bag was nearly
 * invisible because of this overlay). Safe to hide — Fabric handles
 * its own interaction overlay separately. */
.spbwc-cust-v3 .spbwc-cust-canvas .nbpb-overlay {
    display: none !important;
}

/* Move the contextual layer-transform toolbar (`.design-admin-tool`)
 * out of the top-centre of the canvas — in screenshot 2 it was
 * floating over the artwork and pretending to be modal chrome. Anchor
 * it to the bottom-left so it lives near the autosave pill in the
 * canvas toolbar row, and only show it when a Fabric layer is actually
 * selected. */
.spbwc-cust-v3 .spbwc-cust-canvas .design-admin-tool {
    position: absolute !important;
    top: auto !important;
    left: 16px !important;
    right: auto !important;
    bottom: 64px !important; /* clear of the canvas toolbar row */
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--spbwc-c-line);
    border-radius: var(--spbwc-c-radius-md);
    box-shadow: var(--spbwc-c-shadow);
    padding: 4px;
    z-index: 6;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}
.spbwc-cust-v3 .spbwc-cust-canvas .design-admin-tool .tools {
    display: inline-flex;
    gap: 2px;
}
.spbwc-cust-v3 .spbwc-cust-canvas .design-admin-tool .tool-item {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border-radius: 6px;
    cursor: pointer;
    color: var(--spbwc-c-ink);
    transition: background 120ms;
}
.spbwc-cust-v3 .spbwc-cust-canvas .design-admin-tool .tool-item:hover {
    background: var(--spbwc-c-bg-soft);
}

/* Design zone — Angular ng-style sets explicit width/height/top/left
 * matching the stage config. We MUST NOT override those with a CSS
 * max-width, otherwise the inner Fabric <canvas> (which keeps its own
 * pixel-width attribute) overflows the constrained zone and pushes the
 * artwork off-centre (bug from user screenshot of bike — bike rendered
 * on the right with whitespace on the left).
 *
 * The stage-main parent already has `padding: 24px` + `display: flex;
 * justify-content: center; align-items: center`, which is the correct
 * way to keep the artwork centred inside the dotted stage. No shadow
 * either — Printcart leaves the artwork flush. */
.spbwc-cust-v3 .spbwc-cust-canvas .design-zone {
    margin: 0 auto;
}
/* Don't clamp the inner Fabric <canvas> — its width/height attributes
 * are set by stage.config and must match the design-zone exactly,
 * otherwise the canvas + bg image desync (bike off-centre bug). */
.spbwc-cust-v3 .spbwc-cust-tools {
    flex: 0 0 auto;
    padding: 8px;
    background: var(--spbwc-c-bg);
    border-top: 1px solid var(--spbwc-c-line);
    display: flex;
    justify-content: center;
}
.spbwc-cust-v3 .spbwc-cust-tools .tools {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px;
    background: var(--spbwc-c-bg-mute);
    border-radius: var(--spbwc-c-radius-sm);
}
.spbwc-cust-v3 .spbwc-cust-tools .tool-item {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    cursor: pointer;
    color: var(--spbwc-c-ink-soft);
}
.spbwc-cust-v3 .spbwc-cust-tools .tool-item:hover { background: #fff; box-shadow: var(--spbwc-c-shadow-sm); }

/* ====================================================================
 * SUMMARY column — DIRECT PORT of Printcart Canva v2.0 `.summary-col`.
 * Values copied verbatim from D:\PRINTCART\API Printcart\
 * printcart-canva-v2.0.html. Class names re-namespaced under
 * .spbwc-cust-summary__* to keep CSS isolation, but every property
 * and value below mirrors Printcart 1:1.
 * ================================================================ */
.spbwc-cust-v3 .spbwc-cust-summary,
aside.spbwc-cust-summary {
    background: var(--spbwc-c-bg);
    border-left: 1px solid var(--spbwc-c-line);
    /* Summary is now a 3-row flex column: sticky-top + scrollable
     * middle + sticky-bottom. Padding lives on each inner band so the
     * scroll edge sits right against the column border. */
    padding: 0 !important;
    overflow: hidden;
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    box-shadow: inset 1px 0 0 var(--spbwc-c-line);
    min-height: 0;
    height: 100%;
}

/* STICKY TOP — product head + progress pill + track. Pinned at top
 * with a subtle bottom shadow so the band reads as a sticky header
 * once the middle starts scrolling. */
.spbwc-cust-summary__sticky-top {
    flex: 0 0 auto;
    padding: 20px 18px 14px;
    background: var(--spbwc-c-bg);
    border-bottom: 1px solid var(--spbwc-c-line-subtle);
    position: relative;
    z-index: 2;
}
/* SCROLLABLE MIDDLE — order summary card + price breakdown. */
.spbwc-cust-summary__scroll {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
/* STICKY BOTTOM — CTA + Reset/Cancel + trust note. Pinned at bottom
 * with a top separator + slight upward shadow so the customer always
 * sees the Add-to-cart button no matter how tall the price breakdown
 * grows. */
.spbwc-cust-summary__sticky-bottom {
    flex: 0 0 auto;
    padding: 14px 18px 18px;
    background: var(--spbwc-c-bg);
    border-top: 1px solid var(--spbwc-c-line-subtle);
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-shadow: 0 -4px 12px -8px rgba(15, 23, 42, 0.08);
    position: relative;
    z-index: 2;
}

/* `.summary-product-head` — product hero block at top of summary.
 * Padding + border now live on .spbwc-cust-summary__sticky-top, so this
 * just stacks the name + progress pill inside that band. */
.spbwc-cust-summary__head {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.spbwc-cust-summary__head-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
}
.spbwc-cust-summary__head-name-block { flex: 1; min-width: 0; }
.spbwc-cust-summary__product-name {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.01em;
    color: var(--spbwc-c-ink);
    margin: 0;
}
.spbwc-cust-summary__product-variant {
    font-size: 13px;
    color: var(--spbwc-c-text);
    margin-top: 2px;
    font-weight: 500;
}
/* Progress pill — moved here from the left panel. Sits top-right of
 * the product name. Status pill UI: brand-soft bg + brand text + dot,
 * flips to emerald when 100% configured. */
.spbwc-cust-summary__progress-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px 5px 9px;
    background: var(--spbwc-c-brand-soft);
    border: 1px solid #93c5fd;
    border-radius: 9999px;
    font-size: 11.5px;
    font-weight: 700;
    color: var(--spbwc-c-brand-dark);
    flex-shrink: 0;
    line-height: 1.2;
    letter-spacing: 0.01em;
    transition: background 200ms, border-color 200ms, color 200ms;
}
.spbwc-cust-summary__progress-pill.is-complete {
    background: var(--spbwc-c-success-soft);
    border-color: var(--spbwc-c-success-line);
    color: var(--spbwc-c-success-deep);
}
.spbwc-cust-summary__progress-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--spbwc-c-brand);
    flex-shrink: 0;
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.25);
    animation: spbwcPillPulse 2s ease-in-out infinite;
}
.spbwc-cust-summary__progress-pill.is-complete .spbwc-cust-summary__progress-dot {
    background: var(--spbwc-c-success);
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.25);
    animation: none;
}
@keyframes spbwcPillPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.55; }
}
.spbwc-cust-summary__progress-track {
    height: 6px;
    background: var(--spbwc-c-bg-mute);
    border-radius: 9999px;
    overflow: hidden;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.04);
}
.spbwc-cust-summary__progress-fill {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--spbwc-c-brand) 0%, var(--spbwc-c-brand-mid) 100%);
    transition: width 300ms cubic-bezier(0.4, 0, 0.2, 1), background 300ms;
    border-radius: 9999px;
    min-width: 4px; /* always visible nub */
}
.spbwc-cust-summary__progress-track.is-complete .spbwc-cust-summary__progress-fill {
    background: linear-gradient(90deg, var(--spbwc-c-success) 0%, var(--spbwc-c-success-mid) 100%);
}

/* `.summary-section` */
.spbwc-cust-summary__section {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
/* `.summary-title` — small uppercase caption */
.spbwc-cust-summary__title {
    font-size: 12px;
    font-weight: 600;
    color: var(--spbwc-c-text);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* `.summary-item` — order item card with thumb */
.spbwc-cust-summary__item {
    background: var(--spbwc-c-bg);
    border: 1px solid var(--spbwc-c-line);
    border-radius: var(--spbwc-c-radius-md); /* 8px */
    padding: 14px;
    display: flex;
    gap: 14px;
    box-shadow: var(--spbwc-c-shadow-sm);
}
.spbwc-cust-summary__thumb {
    width: 48px;
    height: 48px;
    border-radius: var(--spbwc-c-radius-sm); /* 6px */
    object-fit: cover;
    flex-shrink: 0;
    background: var(--spbwc-c-bg-mute);
    color: var(--spbwc-c-text);
    display: grid;
    place-items: center;
}
.spbwc-cust-summary__thumb--ph svg { opacity: .6; }
.spbwc-cust-summary__item-info { flex: 1; min-width: 0; }
.spbwc-cust-summary__item-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--spbwc-c-ink);
    line-height: 1.2;
}
.spbwc-cust-summary__item-specs {
    font-size: 11px;
    color: var(--spbwc-c-text);
    margin-top: 2px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* `.price-block` — light bg-soft box */
.spbwc-cust-summary__price-block {
    background: var(--spbwc-c-bg-soft);
    border-radius: var(--spbwc-c-radius-md); /* 8px */
    padding: 14px 16px;
    border: 1px solid var(--spbwc-c-line);
}
.spbwc-cust-summary__price-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    padding: 5px 0;
    font-size: 13px;
}
.spbwc-cust-summary__price-row .lbl { color: var(--spbwc-c-text); }
.spbwc-cust-summary__price-row .val {
    color: var(--spbwc-c-ink);
    font-weight: 500;
    font-variant-numeric: tabular-nums;
    text-align: right;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 60%;
}
.spbwc-cust-summary__price-row .val-sub { color: var(--spbwc-c-text); font-weight: 400; }
.spbwc-cust-summary__price-row .val-sub--missing { color: var(--spbwc-c-text); font-style: italic; opacity: .8; }
.spbwc-cust-summary__price-row .val-add { color: var(--spbwc-c-success); font-weight: 600; }
.spbwc-cust-summary__price-row--subtle { font-size: 12px; }
.spbwc-cust-summary__price-row--subtle .lbl,
.spbwc-cust-summary__price-row--subtle .val { color: var(--spbwc-c-text); }

/* `.price-row.total` — Your price grand total */
.spbwc-cust-summary__price-row--total {
    padding-top: 8px;
    margin-top: 8px;
    border-top: 1px solid var(--spbwc-c-line);
    font-size: 15px;
}
.spbwc-cust-summary__price-row--total .lbl {
    color: var(--spbwc-c-ink);
    font-weight: 600;
}
.spbwc-cust-v3 .spbwc-cust-summary__price-row--total .val,
.spbwc-cust-v3 .spbwc-cust-summary__price-row--total[data-spbwc-grand-total] .val,
.spbwc-cust-v3 .spbwc-cust-summary__price-row--total .val[data-spbwc-grand-total] {
    color: var(--spbwc-c-ink) !important;
    font-weight: 700 !important;
    font-size: 20px !important;
    max-width: none;
}
.spbwc-cust-summary__price-row--total .amount,
.spbwc-cust-summary__price-row--total bdi,
.spbwc-cust-summary__price-row--total .woocommerce-Price-amount {
    color: var(--spbwc-c-ink) !important;
    text-decoration: none !important;
}

/* `.prod-note` — info-soft card at summary bottom */
.spbwc-cust-summary__note {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 12px;
    background: var(--spbwc-c-brand-soft);
    border-radius: var(--spbwc-c-radius-sm); /* 6px */
    font-size: 12px;
    color: #1e3a8a;
    line-height: 1.4;
}
.spbwc-cust-summary__note svg {
    width: 16px;
    height: 16px;
    stroke: var(--spbwc-c-brand);
    flex-shrink: 0;
    margin-top: 1px;
}
.spbwc-cust-summary__note strong { color: #1e3a8a; font-weight: 700; }

/* Force single-line money values */
.spbwc-cust-v3 .spbwc-cust-summary__price-row .val .woocommerce-Price-amount,
.spbwc-cust-v3 .spbwc-cust-summary__price-row .val .amount,
.spbwc-cust-v3 [data-spbwc-base-price] .woocommerce-Price-amount,
.spbwc-cust-v3 [data-spbwc-base-price] .amount,
.spbwc-cust-v3 [data-spbwc-grand-total] .woocommerce-Price-amount,
.spbwc-cust-v3 [data-spbwc-grand-total] .amount,
.spbwc-cust-v3 [data-spbwc-cta-price] .woocommerce-Price-amount,
.spbwc-cust-v3 [data-spbwc-cta-price] .amount {
    white-space: nowrap;
    display: inline;
}

/* Canvas toolbar — DEDICATED 56px row below the stage that holds the
 * live-preview pill, view switcher, and the prominent zoom bar (36px
 * tall buttons). Replaces the earlier absolute-positioned approach
 * which was overlaying the artwork. */
.spbwc-cust-canvas__toolbar {
    flex: 0 0 auto;
    height: 56px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 0 16px;
    gap: 12px;
    background: var(--spbwc-c-bg);
    border-top: 1px solid var(--spbwc-c-line);
}
.spbwc-cust-canvas__toolbar-left { justify-self: start; }
.spbwc-cust-canvas__toolbar-center { justify-self: center; }
.spbwc-cust-canvas__toolbar-right {
    justify-self: end;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.spbwc-cust-zoom-caption {
    font-size: 11px;
    font-weight: 600;
    color: var(--spbwc-c-text);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* Zoom bar — bigger, more prominent. Sits in-flow inside the canvas
 * toolbar row at bottom-right; 36px tall buttons (was 32px) so the
 * affordance reads as a real "zoom" tool the customer can actually
 * see and reach. */
.spbwc-cust-zoom {
    display: inline-flex;
    align-items: stretch;
    background: var(--spbwc-c-bg);
    border: 1px solid var(--spbwc-c-line-strong);
    border-radius: var(--spbwc-c-radius-md);
    overflow: hidden;
    box-shadow: var(--spbwc-c-shadow);
}
.spbwc-cust-v3 .spbwc-cust-zoom__btn {
    width: 36px;
    height: 36px;
    color: var(--spbwc-c-ink);
}
.spbwc-cust-v3 .spbwc-cust-zoom__btn:hover { background: var(--spbwc-c-bg-soft); color: var(--spbwc-c-brand); }
.spbwc-cust-v3 .spbwc-cust-zoom__btn svg { width: 16px; height: 16px; }
.spbwc-cust-v3 .spbwc-cust-zoom__value {
    height: 36px;
    line-height: 36px;
    min-width: 48px;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--spbwc-c-ink);
    background: var(--spbwc-c-bg-soft);
}
.spbwc-cust-zoom__btn {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    background: transparent;
    border: 0;
    color: var(--spbwc-c-ink);
    cursor: pointer;
    transition: background 120ms;
}
.spbwc-cust-zoom__btn:hover { background: rgba(0, 0, 0, 0.04); }
.spbwc-cust-zoom__btn:focus-visible { outline: 2px solid var(--spbwc-c-brand); outline-offset: -2px; }
.spbwc-cust-zoom__btn--reset { border-left: 1px solid var(--spbwc-c-line); }
.spbwc-cust-zoom__value {
    min-width: 44px;
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    color: var(--spbwc-c-text);
    border-left: 1px solid var(--spbwc-c-line);
    border-right: 1px solid var(--spbwc-c-line);
    padding: 0 8px;
    height: 32px;
    line-height: 32px;
}

/* CTA — primary Add to cart with live price + arrow.
 * !important on text colors because Cloodo / WP themes commonly set
 * `button { color: #000 }` with higher specificity, which would render
 * the white label as black on the blue gradient. Also wraps any
 * .amount / bdi (WC price markup) in the same white. */
.spbwc-cust-cta {
    appearance: none;
    border: 0;
    cursor: pointer;
    width: 100%;
    min-height: 64px;
    padding: 12px 16px;
    border-radius: var(--spbwc-c-radius); /* 12px Printcart radius-xl */
    background: var(--spbwc-c-brand) !important;
    color: #fff !important;
    font: inherit;
    font-size: 15px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: 0 6px 16px 0 rgba(37, 99, 235, 0.3);
    transition: all 120ms;
    text-decoration: none;
}
.spbwc-cust-cta:hover {
    background: #1e57c5 !important;
    transform: translateY(-1px);
    box-shadow: 0 8px 20px 0 rgba(37, 99, 235, 0.4);
    color: #fff !important;
}
.spbwc-cust-cta:active {
    background: var(--spbwc-c-brand-dark) !important;
    transform: translateY(0);
    box-shadow: 0 4px 10px 0 rgba(37, 99, 235, 0.3);
    color: #fff !important;
}
.spbwc-cust-cta:focus-visible {
    outline: 3px solid var(--spbwc-c-brand);
    outline-offset: 3px;
}
.spbwc-cust-cta:disabled {
    opacity: .65;
    cursor: not-allowed;
    transform: none;
}
.spbwc-cust-cta__content,
.spbwc-cust-cta__label,
.spbwc-cust-cta__price,
.spbwc-cust-cta__arrow {
    color: #fff !important;
}
/* CTA inner — Printcart `.summary-cta-big .cta-content/.cta-label/.cta-price` 1:1 */
.spbwc-cust-cta__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    line-height: 1.1;
    flex: 1;
    text-align: left;
}
.spbwc-cust-v3 .spbwc-cust-cta__label,
span.spbwc-cust-cta__label {
    font-size: 17px !important;
    font-weight: 700 !important;
    letter-spacing: -0.01em;
    line-height: 1.2;
}
.spbwc-cust-v3 .spbwc-cust-cta__price,
span.spbwc-cust-cta__price[data-spbwc-cta-price] {
    font-size: 20px !important;
    font-weight: 800 !important;
    font-variant-numeric: tabular-nums;
    line-height: 1;
    color: #fff !important;
    border: 0;
    padding: 0;
    margin: 0;
}
.spbwc-cust-cta__arrow { transition: transform 120ms; flex-shrink: 0; }
.spbwc-cust-cta:hover .spbwc-cust-cta__arrow { transform: translateX(3px); }
.spbwc-cust-cta__price .amount,
.spbwc-cust-cta__price bdi,
.spbwc-cust-cta__price .woocommerce-Price-amount,
.spbwc-cust-cta__price .woocommerce-Price-currencySymbol {
    color: #fff !important;
    text-decoration: none !important;
}
.spbwc-cust-cta__arrow { flex: 0 0 auto; opacity: .95; }

/* Neutralize WooCommerce price-markup decoration inside the customizer.
 * WC ships `<del>` for old price and `<ins>` for new price; default
 * browser style underlines <ins> and strikes-through <del>, which looks
 * bad when both render inline in the customizer. Our wrapper.php uses
 * wc_price() (single current price, no del/ins) so this is a defensive
 * override for any future template that re-introduces the markup. */
.spbwc-cust-v3 .woocommerce-Price-amount { text-decoration: none !important; }
.spbwc-cust-v3 ins { text-decoration: none !important; background: transparent !important; }
.spbwc-cust-v3 del { display: none !important; }

.spbwc-cust-summary__actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 8px;
    padding: 4px 0;
}
.spbwc-cust-summary__trust {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--spbwc-c-bg-mute);
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 12px;
    color: var(--spbwc-c-muted);
}
.spbwc-cust-summary__trust-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.spbwc-cust-summary__trust-item svg { color: var(--spbwc-c-success); flex: 0 0 auto; }

/* In-modal Reset confirmation. Replaces the native window.confirm()
 * dialog (modal-blocking, unstyled). Renders inside the .nbdpb-popup
 * but OUTSIDE the .nbdpb-carousel subtree so the legacy carousel script
 * doesn't sweep it on init. Hidden by default; opened by JS via the
 * `is-open` class. Driven by $scope.showConfirm() in app-product-builder.js. */
.spbwc-cust-v3 .spbwc-cust-confirm {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}
.spbwc-cust-v3 .spbwc-cust-confirm.is-open { display: flex; }
.spbwc-cust-v3 .spbwc-cust-confirm__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}
.spbwc-cust-v3 .spbwc-cust-confirm__panel {
    position: relative;
    width: 100%;
    max-width: 420px;
    background: #fff;
    border-radius: var(--spbwc-c-radius, 12px);
    padding: 28px 24px 22px;
    box-shadow: 0 24px 60px -16px rgba(15, 23, 42, 0.35), 0 4px 16px -4px rgba(15, 23, 42, 0.18);
    text-align: center;
    animation: spbwcConfirmIn .18s ease-out;
}
@keyframes spbwcConfirmIn {
    from { opacity: 0; transform: translateY(8px) scale(.96); }
    to   { opacity: 1; transform: translateY(0)    scale(1); }
}
.spbwc-cust-v3 .spbwc-cust-confirm__icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: var(--spbwc-c-brand-soft, #dbeafe);
    color: var(--spbwc-c-brand, #2563eb);
    display: flex;
    align-items: center;
    justify-content: center;
}
.spbwc-cust-v3 .spbwc-cust-confirm__title {
    margin: 0 0 6px;
    font-size: 18px;
    font-weight: 700;
    color: var(--spbwc-c-ink, #0f172a);
    line-height: 1.3;
}
.spbwc-cust-v3 .spbwc-cust-confirm__msg {
    margin: 0 0 22px;
    font-size: 14px;
    color: var(--spbwc-c-ink-muted, #475569);
    line-height: 1.5;
}
.spbwc-cust-v3 .spbwc-cust-confirm__actions {
    display: flex;
    gap: 10px;
    justify-content: center;
}
.spbwc-cust-v3 .spbwc-cust-confirm__btn {
    min-width: 120px;
    padding: 10px 18px;
    border-radius: var(--spbwc-c-radius-sm, 8px);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid transparent;
    transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.spbwc-cust-v3 .spbwc-cust-confirm__btn:focus-visible {
    outline: 2px solid var(--spbwc-c-brand, #2563eb);
    outline-offset: 2px;
}
.spbwc-cust-v3 .spbwc-cust-confirm__btn--secondary {
    background: #fff;
    border-color: var(--spbwc-c-line, #e2e8f0);
    color: var(--spbwc-c-ink, #0f172a);
}
.spbwc-cust-v3 .spbwc-cust-confirm__btn--secondary:hover {
    background: var(--spbwc-c-bg-soft, #f4f6f8);
    border-color: var(--spbwc-c-line-strong, #cbd5e1);
}
.spbwc-cust-v3 .spbwc-cust-confirm__btn--danger {
    background: var(--spbwc-c-danger, #ef4444);
    color: #fff;
}
.spbwc-cust-v3 .spbwc-cust-confirm__btn--danger:hover {
    background: #dc2626;
}

/* Teaching toast (Printcart Canva pattern). Floats at bottom-right of
 * the viewport — explains the live-pricing behaviour on first load.
 * Lives as a body-level sibling of the .nbdpb-popup (not inside) because
 * the legacy `.nbdpb-carousel.nbdpbCarousel()` plugin strips siblings
 * inside the popup on init. Hidden by default; revealed by the
 * `is-visible` class that JS toggles when the modal opens. */
.spbwc-cust-teachtoast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    max-width: 320px;
    display: none;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px 12px 12px;
    background: #1d2327;
    color: #fff;
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.25);
    z-index: 1000000000; /* above .nbdpb-popup.nbdpb-show (z 999999999) */
    font-size: 13px;
    line-height: 1.45;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    transition: opacity .35s ease, transform .35s ease;
}
.spbwc-cust-teachtoast.is-visible {
    display: flex;
    animation: spbwcTeachIn .4s ease both;
}
.spbwc-cust-teachtoast.is-out {
    opacity: 0;
    transform: translateY(8px);
    pointer-events: none;
}
@keyframes spbwcTeachIn {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}
.spbwc-cust-teachtoast__icon {
    flex: 0 0 auto;
    color: #93c5fd; /* brand-soft on dark ink */
    padding-top: 1px;
}
.spbwc-cust-teachtoast__body {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}
.spbwc-cust-teachtoast__body strong {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
}
.spbwc-cust-teachtoast__body span {
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.78);
}
.spbwc-cust-teachtoast__close {
    appearance: none;
    background: transparent;
    border: 0;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    padding: 2px;
    margin: -2px -4px 0 0;
    border-radius: 50%;
    flex: 0 0 auto;
    transition: background .15s ease, color .15s ease;
}
.spbwc-cust-teachtoast__close:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

/* Toast (coming-soon) */
.spbwc-cust-v3 .spbwc-cust-toast {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--spbwc-c-ink);
    color: #fff;
    padding: 10px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
    box-shadow: var(--spbwc-c-shadow);
    z-index: 50;
    transition: opacity .25s ease, transform .25s ease;
}
.spbwc-cust-v3 .spbwc-cust-toast.is-out { opacity: 0; transform: translateX(-50%) translateY(6px); }

/* Close-popup positioning override (mirror V2 fix) */
.spbwc-cust-v3 .spbwc-cust-iconbtn--close.close-popup,
.spbwc-cust-v3 .spbwc-cust-linkbtn.close-popup {
    position: static !important;
    left: auto !important;
    top: auto !important;
}

/* View thumbnails — floating inside the design zone (top-right).
 * Each thumb is the view's base image. Click to switch stage.
 * Each view = one product side. Vertical stack so 2-6 thumbs fit
 * comfortably without crowding the artwork. */
.spbwc-cust-viewthumbs {
    position: absolute;
    top: 16px;
    right: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 5;
    padding: 8px;
    background: rgba(255, 255, 255, 0.92);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border: 1px solid var(--spbwc-c-line);
    border-radius: var(--spbwc-c-radius-md);
    box-shadow: var(--spbwc-c-shadow);
}
.spbwc-cust-viewthumb {
    appearance: none;
    background: var(--spbwc-c-bg);
    border: 2px solid var(--spbwc-c-line);
    border-radius: var(--spbwc-c-radius-sm);
    padding: 0;
    cursor: pointer;
    width: 64px;
    height: 64px;
    overflow: hidden;
    position: relative;
    transition: border-color 150ms, transform 120ms, box-shadow 150ms;
    display: block;
}
.spbwc-cust-viewthumb:hover {
    border-color: var(--spbwc-c-brand-soft);
    transform: translateY(-1px);
}
.spbwc-cust-viewthumb.is-active {
    border-color: var(--spbwc-c-brand);
    box-shadow: 0 0 0 2px var(--spbwc-c-brand-soft);
}
.spbwc-cust-viewthumb__img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: var(--spbwc-c-bg-mute);
    display: block;
}
.spbwc-cust-viewthumb__label {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0) 100%);
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.02em;
    padding: 8px 4px 3px;
    text-align: center;
    line-height: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.spbwc-cust-viewthumb.is-active .spbwc-cust-viewthumb__label {
    background: linear-gradient(to top, var(--spbwc-c-brand-dark) 0%, rgba(29, 78, 216, 0) 100%);
}

/* Filter chips per accordion body — "All / Leather / Cotton / Suede".
 * Only renders for nbpb_com components with 2+ parent attribute groups.
 * Click a chip to filter sub-options to that parent. */
.spbwc-cust-filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--spbwc-c-line-subtle);
}
.spbwc-cust-filter-chip {
    appearance: none;
    background: var(--spbwc-c-bg);
    border: 1px solid var(--spbwc-c-line);
    border-radius: 9999px;
    padding: 5px 12px;
    font: inherit;
    font-size: 11.5px;
    font-weight: 600;
    color: var(--spbwc-c-text);
    cursor: pointer;
    transition: background 120ms, border-color 120ms, color 120ms;
    line-height: 1.3;
    white-space: nowrap;
}
.spbwc-cust-filter-chip:hover {
    background: var(--spbwc-c-bg-soft);
    color: var(--spbwc-c-ink);
    border-color: var(--spbwc-c-line-strong);
}
.spbwc-cust-filter-chip.is-active {
    background: var(--spbwc-c-brand);
    border-color: var(--spbwc-c-brand);
    color: #fff;
}

/* View switcher (LEGACY — kept for the canvas toolbar pill that's no
 * longer rendered. Class is empty-styled in 1.4.7. */
.spbwc-cust-viewswitch {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px;
    background: var(--spbwc-c-bg-soft);
    border: 1px solid var(--spbwc-c-line);
    border-radius: 9999px;
}
.spbwc-cust-viewswitch__btn {
    appearance: none;
    border: 0;
    background: transparent;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--spbwc-c-muted);
    cursor: pointer;
    transition: background .15s ease, color .15s ease;
}
.spbwc-cust-viewswitch__btn:hover { background: var(--spbwc-c-bg-mute); color: var(--spbwc-c-ink-soft); }
.spbwc-cust-viewswitch__btn:disabled { opacity: .35; cursor: not-allowed; }
.spbwc-cust-viewswitch__pills {
    display: inline-flex;
    align-items: center;
    gap: 2px;
}
.spbwc-cust-viewswitch__pill {
    appearance: none;
    border: 0;
    background: transparent;
    padding: 6px 14px;
    border-radius: 999px;
    font: inherit;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--spbwc-c-muted);
    cursor: pointer;
    transition: background .15s ease, color .15s ease;
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.spbwc-cust-viewswitch__pill:hover { color: var(--spbwc-c-ink-soft); }
.spbwc-cust-viewswitch__pill.is-active {
    background: var(--spbwc-c-ink);
    color: #fff;
}

/* "Live preview" pill — in-flow inside canvas toolbar row, left side. */
.spbwc-cust-autosave {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background: var(--spbwc-c-success-soft);
    border: 1px solid var(--spbwc-c-success-line);
    border-radius: 9999px;
    font-size: 11.5px;
    font-weight: 600;
    color: var(--spbwc-c-success-deep);
}
.spbwc-cust-autosave__dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--spbwc-c-success);
    animation: spbwcAutosavePulse 2s ease-in-out infinite;
}
@keyframes spbwcAutosavePulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* Loader overlay — Printcart-style premium feel. Transparent dark
 * backdrop with blur over the modal during save / preview generation.
 * Only takes effect on V3 (legacy wrappers use their own loader). */
.spbwc-cust-v3 .nbdpb-load-page {
    background: rgba(15, 23, 42, 0.55) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.spbwc-cust-v3 .nbpb-loader-card {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 16px;
    padding: 22px 24px;
    box-shadow: 0 24px 48px -12px rgba(15, 23, 42, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.1);
    border: 0;
}

/* Long-list scroll containment — prevent body / wp scroll interference
 * when accordion option grids run long. Inertial scroll on touch. */
.spbwc-cust-v3 .spbwc-cust-tabpanel,
.spbwc-cust-v3 .spbwc-cust-panel,
.spbwc-cust-v3 .spbwc-cust-summary {
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}
/* .spbwc-cust-acc-body — canonical rule lives in the accordion section
 * above; this stale duplicate was removed in 1.4.3. */

/* Stale tab-nav override removed in 1.4.3 — the canonical .spbwc-cust-tabbtn
 * rule above this stylesheet now owns padding/gap/icon sizing. Keeping this
 * comment in place so the diff is reviewable. */

/* Responsive ------------------------------------------------------- */
@media (max-width: 1280px) {
    .spbwc-cust-v3 .spbwc-cust-container {
        grid-template-columns: var(--spbwc-tabnav-w) 260px 1fr 280px;
    }
}
@media (max-width: 1080px) {
    .spbwc-cust-v3 .spbwc-cust-container {
        grid-template-columns: var(--spbwc-tabnav-w) 1fr 280px;
    }
    .spbwc-cust-v3 .spbwc-cust-canvas { display: none; }
}
@media (max-width: 880px) {
    .spbwc-cust-v3 .spbwc-cust-container {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto 1fr auto;
    }
    .spbwc-cust-v3 .spbwc-cust-tabnav {
        flex-direction: row;
        border-right: 0;
        border-bottom: 1px solid var(--spbwc-c-line);
        padding: 8px 12px;
        overflow-x: auto;
    }
    .spbwc-cust-v3 .spbwc-cust-tabbtn { flex: 0 0 auto; min-width: 84px; }
    .spbwc-cust-v3 .spbwc-cust-panel {
        border-right: 0;
        border-bottom: 1px solid var(--spbwc-c-line);
        max-height: 40vh;
    }
    .spbwc-cust-v3 .spbwc-cust-canvas { display: none; }
    .spbwc-cust-summary { border-left: 0; border-top: 1px solid var(--spbwc-c-line); }
}

/* =====================================================================
 * Content tabs (Details / Shipping / Help) — Printcart-style typography
 * for buyer-facing copy. Lives inside .spbwc-cust-tabpanel siblings,
 * sharing the panel scroll container so the head stays sticky.
 * ===================================================================== */
.spbwc-cust-content {
    padding: 16px;
    overflow-y: auto;
    color: var(--spbwc-c-ink);
    font-size: 13px;
    line-height: 1.55;
}
.spbwc-cust-content__lede {
    font-size: 13.5px;
    color: var(--spbwc-c-ink);
    font-weight: 500;
    margin: 0 0 12px;
}
.spbwc-cust-content__lede p:last-child,
.spbwc-cust-content__body p:last-child { margin-bottom: 0; }
.spbwc-cust-content__body {
    font-size: 12.5px;
    color: var(--spbwc-c-text);
    line-height: 1.6;
    padding: 12px 0;
    border-top: 1px solid var(--spbwc-c-line-subtle);
    margin-top: 4px;
}
.spbwc-cust-content__body p { margin: 0 0 10px; }
.spbwc-cust-content__body ul,
.spbwc-cust-content__body ol { margin: 0 0 10px; padding-left: 20px; }
.spbwc-cust-content__body strong { color: var(--spbwc-c-ink); }
.spbwc-cust-content__body a { color: var(--spbwc-c-brand); text-decoration: underline; }
.spbwc-cust-content__empty {
    font-size: 12.5px;
    color: var(--spbwc-c-text);
    font-style: italic;
    text-align: center;
    padding: 24px 0;
    margin: 0;
}

/* Spec grid (SKU / Category / Weight / Dimensions) */
.spbwc-cust-spec {
    margin: 14px 0 0;
    padding: 14px 0 0;
    border-top: 1px solid var(--spbwc-c-line-subtle);
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}
.spbwc-cust-spec__row {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 12px;
    align-items: baseline;
    font-size: 12.5px;
}
.spbwc-cust-spec__row dt {
    color: var(--spbwc-c-text);
    font-weight: 500;
    margin: 0;
}
.spbwc-cust-spec__row dd {
    color: var(--spbwc-c-ink);
    font-weight: 600;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Shipping & returns policy card */
.spbwc-cust-policy {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.spbwc-cust-policy__row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    background: var(--spbwc-c-bg-soft);
    border: 1px solid var(--spbwc-c-line);
    border-radius: var(--spbwc-c-radius-md); /* 8px */
}
.spbwc-cust-policy__icon {
    flex: 0 0 auto;
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--spbwc-c-brand-soft);
    color: var(--spbwc-c-brand);
}
.spbwc-cust-policy__row > div {
    flex: 1;
    min-width: 0;
    font-size: 12.5px;
    line-height: 1.5;
    color: var(--spbwc-c-text);
}
.spbwc-cust-policy__row strong {
    color: var(--spbwc-c-ink);
    font-weight: 600;
    font-size: 13px;
}

/* =====================================================================
 * V3 polish batch (1.5.0+): toast, empty states, hover-scale,
 * filter-chip transition, skeleton, focus rings, mobile responsive.
 * ================================================================ */

/* Filter chip transition — smooth fade when changing filter */
.spbwc-cust-val { animation: spbwcValFade .18s ease both; }
@keyframes spbwcValFade {
    from { opacity: 0; transform: translateY(2px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Empty state — when a component has no options */
.spbwc-cust-empty-state {
    padding: 20px 12px;
    text-align: center;
    color: var(--spbwc-c-text);
    font-size: 12.5px;
    background: var(--spbwc-c-bg-soft);
    border: 1px dashed var(--spbwc-c-line);
    border-radius: var(--spbwc-c-radius-sm);
}

/* Skeleton — shimmer placeholder while modal initializes.
 * Shown by default and hidden once Angular finishes booting. */
.spbwc-cust-skeleton {
    position: absolute;
    inset: 0;
    z-index: 50;
    background: var(--spbwc-c-bg);
    display: flex;
    flex-direction: column;
    pointer-events: none;
    transition: opacity .25s ease;
}
.spbwc-cust-skeleton.is-out { opacity: 0; pointer-events: none; }
.spbwc-cust-skeleton__row {
    height: 40px;
    margin: 12px 16px;
    border-radius: var(--spbwc-c-radius-sm);
    background: linear-gradient(90deg, var(--spbwc-c-bg-mute) 0%, var(--spbwc-c-bg-soft) 50%, var(--spbwc-c-bg-mute) 100%);
    background-size: 200% 100%;
    animation: spbwcSkeleton 1.4s ease-in-out infinite;
}
.spbwc-cust-skeleton__row--lg { height: 220px; margin-top: 80px; }
@keyframes spbwcSkeleton {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Toast system — bottom-right floating notification.
 * JS toggles classes `is-visible` then `is-out`. */
.spbwc-cust-toaster {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1000000001;
    display: flex;
    flex-direction: column;
    gap: 8px;
    pointer-events: none;
    max-width: 360px;
}
.spbwc-cust-toaster__item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    background: var(--spbwc-c-ink);
    color: #fff;
    border-radius: var(--spbwc-c-radius-md);
    box-shadow: var(--spbwc-c-shadow-lg);
    font-size: 13px;
    line-height: 1.45;
    font-weight: 500;
    pointer-events: auto;
    transform: translateX(120%);
    opacity: 0;
    transition: transform .35s cubic-bezier(.4,.0,.2,1), opacity .35s;
}
.spbwc-cust-toaster__item.is-visible { transform: translateX(0); opacity: 1; }
.spbwc-cust-toaster__item.is-out { opacity: 0; transform: translateX(120%); }
.spbwc-cust-toaster__item--success { background: var(--spbwc-c-success); }
.spbwc-cust-toaster__item--warning { background: var(--spbwc-c-warning); color: #422006; }
.spbwc-cust-toaster__item--danger { background: var(--spbwc-c-danger); }
.spbwc-cust-toaster__icon { flex: 0 0 auto; opacity: .9; }

/* A11y: focus rings on every interactive surface in V3 */
.spbwc-cust-v3 button:focus-visible,
.spbwc-cust-v3 a:focus-visible,
.spbwc-cust-v3 input:focus-visible,
.spbwc-cust-v3 select:focus-visible {
    outline: 2px solid var(--spbwc-c-brand);
    outline-offset: 2px;
    z-index: 5;
}

/* =====================================================================
 * Mobile responsive — <= 768px collapses the 4-column grid into a
 * single-column stack: topbar / canvas / panel-tabs-as-bottom-drawer.
 * Tab nav becomes a horizontal scrolling row above the panel.
 * Summary slides up as a bottom sheet on demand.
 * ================================================================ */
@media (max-width: 768px) {
    .spbwc-cust-v3 .spbwc-cust-topbar {
        padding: 0 16px;
        height: 56px;
    }
    .spbwc-cust-v3 .spbwc-cust-topbar__name { font-size: 15px; }
    .spbwc-cust-v3 .spbwc-cust-topbar__sub { font-size: 11px; }

    .spbwc-cust-v3 .spbwc-cust-container {
        display: flex !important;
        flex-direction: column !important;
        grid-template-columns: none !important;
        grid-template-rows: none !important;
        height: 100%;
        min-height: 0;
    }

    /* Canvas takes most of the screen at top */
    .spbwc-cust-v3 .spbwc-cust-canvas {
        flex: 1 1 auto;
        min-height: 0;
        order: 0;
    }

    /* Tab nav becomes a horizontal segmented row above the panel */
    .spbwc-cust-v3 .spbwc-cust-tabnav {
        flex: 0 0 auto;
        flex-direction: row !important;
        height: auto;
        padding: 6px 8px;
        gap: 4px;
        order: 1;
        overflow-x: auto;
        overflow-y: hidden;
        border-right: 0;
        border-top: 1px solid var(--spbwc-c-line);
        box-shadow: none;
    }
    .spbwc-cust-v3 .spbwc-cust-tabbtn {
        flex: 0 0 auto;
        min-height: 56px;
        min-width: 80px;
        padding: 8px 12px;
    }
    .spbwc-cust-v3 .spbwc-cust-tabbtn__icon { width: 24px; height: 24px; }
    .spbwc-cust-v3 .spbwc-cust-tabbtn__icon svg { width: 18px; height: 18px; }
    .spbwc-cust-v3 .spbwc-cust-tabbtn__label { font-size: 10.5px; }

    /* Panel becomes the next flex item; takes 45% viewport height */
    .spbwc-cust-v3 .spbwc-cust-panel {
        flex: 0 0 45vh;
        max-height: 45vh;
        height: 45vh;
        order: 2;
        border-right: 0;
        border-top: 1px solid var(--spbwc-c-line);
    }

    /* Summary → bottom drawer collapsed by default; tap to expand. */
    .spbwc-cust-v3 .spbwc-cust-summary {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        max-height: 75vh;
        height: auto;
        border-left: 0;
        border-top: 1px solid var(--spbwc-c-line);
        box-shadow: 0 -10px 30px -10px rgba(0,0,0,.15);
        z-index: 100;
        order: 99;
        transform: translateY(calc(100% - 88px)); /* peek with sticky-top + CTA snippet */
        transition: transform .3s cubic-bezier(.4,0,.2,1);
    }
    .spbwc-cust-v3 .spbwc-cust-summary.is-expanded { transform: translateY(0); }
    .spbwc-cust-v3 .spbwc-cust-summary__sticky-top {
        cursor: pointer;
        position: relative;
    }
    .spbwc-cust-v3 .spbwc-cust-summary__sticky-top::after {
        content: '';
        position: absolute;
        top: 8px;
        left: 50%;
        transform: translateX(-50%);
        width: 36px;
        height: 4px;
        border-radius: 999px;
        background: var(--spbwc-c-line-strong);
    }

    /* Canvas toolbar (zoom + autosave) tightens on mobile */
    .spbwc-cust-v3 .spbwc-cust-canvas__toolbar {
        height: 44px;
        padding: 0 10px;
    }
    .spbwc-cust-v3 .spbwc-cust-zoom { transform: scale(.92); transform-origin: right; }

    /* View thumbs become smaller + horizontal at bottom */
    .spbwc-cust-v3 .spbwc-cust-viewthumbs {
        top: auto;
        right: auto;
        bottom: 60px;
        left: 50%;
        transform: translateX(-50%);
        flex-direction: row;
        padding: 6px;
    }
    .spbwc-cust-v3 .spbwc-cust-viewthumb { width: 48px; height: 48px; }
}

/* Very small phones — minify further */
@media (max-width: 480px) {
    .spbwc-cust-v3 .spbwc-cust-topbar__thumb { display: none; }
    .spbwc-cust-v3 .spbwc-cust-cta { font-size: 14px; min-height: 56px; }
    .spbwc-cust-v3 .spbwc-cust-cta__label { font-size: 15px !important; }
    .spbwc-cust-v3 .spbwc-cust-cta__price { font-size: 18px !important; }
}

/* =====================================================================
 * Free design tools — Text & Images tabs (buyer-added layers).
 * Shares the customizer token palette (--spbwc-c-*). See
 * docs/SPEC_CANVAS_TEXT_IMAGE_TABS.md.
 * ===================================================================== */
.spbwc-cust-v3 .spbwc-cust-free { display: flex; flex-direction: column; gap: 12px; padding: 14px 16px; }
.spbwc-cust-v3 .spbwc-cust-addbtn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    width: 100%; padding: 11px 14px; cursor: pointer;
    font: inherit; font-weight: 600; font-size: 14px;
    color: #fff; background: var(--spbwc-c-brand);
    border: 0; border-radius: var(--spbwc-c-radius-sm);
    transition: background .15s ease;
}
.spbwc-cust-v3 .spbwc-cust-addbtn:hover { background: var(--spbwc-c-brand-dark); }
.spbwc-cust-v3 .spbwc-cust-addbtn[disabled] { opacity: .5; cursor: not-allowed; }
.spbwc-cust-v3 .spbwc-cust-free__meta {
    display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px;
    font-size: 12px; color: var(--spbwc-c-muted);
}
.spbwc-cust-v3 .spbwc-cust-free__fee { color: var(--spbwc-c-brand); font-weight: 600; }
.spbwc-cust-v3 .spbwc-cust-free__hint { flex: 1 1 100%; }

.spbwc-cust-v3 .spbwc-cust-free__list { display: flex; flex-direction: column; gap: 8px; }
.spbwc-cust-v3 .spbwc-cust-free__item {
    border: 1px solid var(--spbwc-c-line);
    border-radius: var(--spbwc-c-radius-sm);
    background: var(--spbwc-c-bg);
    overflow: hidden;
}
.spbwc-cust-v3 .spbwc-cust-free__item.is-active { border-color: var(--spbwc-c-brand); box-shadow: 0 0 0 1px var(--spbwc-c-brand-soft); }
.spbwc-cust-v3 .spbwc-cust-free__item-head {
    display: flex; align-items: center; gap: 8px;
    padding: 9px 10px; cursor: pointer;
}
.spbwc-cust-v3 .spbwc-cust-free__item-grip { color: var(--spbwc-c-muted); flex: 0 0 auto; display: inline-flex; }
.spbwc-cust-v3 .spbwc-cust-free__item-title {
    flex: 1 1 auto; min-width: 0; font-size: 13px; font-weight: 600; color: var(--spbwc-c-ink);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.spbwc-cust-v3 .spbwc-cust-free__item-price { flex: 0 0 auto; font-size: 12px; font-weight: 600; color: var(--spbwc-c-brand); }
.spbwc-cust-v3 .spbwc-cust-free__del {
    flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center;
    width: 28px; height: 28px; padding: 0; cursor: pointer;
    color: var(--spbwc-c-muted); background: transparent; border: 0; border-radius: 6px;
    transition: color .15s ease, background .15s ease;
}
.spbwc-cust-v3 .spbwc-cust-free__del:hover { color: var(--spbwc-c-danger); background: var(--spbwc-c-bg-soft); }
.spbwc-cust-v3 .spbwc-cust-free__item-body {
    display: flex; flex-direction: column; gap: 10px;
    padding: 10px; border-top: 1px solid var(--spbwc-c-line);
    background: var(--spbwc-c-bg-soft);
}
.spbwc-cust-v3 .spbwc-cust-field__color {
    width: 44px; height: 32px; padding: 2px; cursor: pointer;
    border: 1px solid var(--spbwc-c-line); border-radius: var(--spbwc-c-radius-sm); background: var(--spbwc-c-bg);
}

.spbwc-cust-v3 .spbwc-cust-free__thumb {
    flex: 0 0 auto; width: 40px; height: 40px; border-radius: 6px; overflow: hidden;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--spbwc-c-bg-mute); color: var(--spbwc-c-muted);
}
.spbwc-cust-v3 .spbwc-cust-free__thumb img { width: 100%; height: 100%; object-fit: cover; }

.spbwc-cust-v3 .spbwc-cust-free__recent { display: flex; flex-direction: column; gap: 6px; }
.spbwc-cust-v3 .spbwc-cust-free__recent-label { font-size: 12px; font-weight: 600; color: var(--spbwc-c-muted); }
.spbwc-cust-v3 .spbwc-cust-free__recent-grid { display: flex; flex-wrap: wrap; gap: 6px; }
.spbwc-cust-v3 .spbwc-cust-free__recent-grid img {
    width: 44px; height: 44px; object-fit: cover; cursor: pointer;
    border: 1px solid var(--spbwc-c-line); border-radius: 6px;
    transition: border-color .15s ease;
}
.spbwc-cust-v3 .spbwc-cust-free__recent-grid img:hover { border-color: var(--spbwc-c-brand); }

.spbwc-cust-v3 .spbwc-cust-free__limit {
    font-size: 12px; color: var(--spbwc-c-danger);
    padding: 8px 10px; background: var(--spbwc-c-bg-soft); border-radius: var(--spbwc-c-radius-sm);
}

/* Layer-count badge on the Text / Images tab buttons. */
.spbwc-cust-v3 .spbwc-cust-tabbtn { position: relative; }
.spbwc-cust-v3 .spbwc-cust-tabbtn__badge {
    position: absolute; top: 6px; right: 8px;
    min-width: 16px; height: 16px; padding: 0 4px;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 10px; font-weight: 700; line-height: 1;
    color: #fff; background: var(--spbwc-c-brand);
    border-radius: 999px;
}
/* Quick-pick colour swatches inside a free text layer (reuses .spbwc-cust-color). */
.spbwc-cust-v3 .spbwc-cust-free__item-body .spbwc-cust-color-row {
    display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
}
.spbwc-cust-v3 .spbwc-cust-free__item-body .spbwc-cust-color {
    width: 22px; height: 22px; border-radius: 50%; cursor: pointer;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,.12);
}
.spbwc-cust-v3 .spbwc-cust-free__item-body .spbwc-cust-color.is-active {
    box-shadow: 0 0 0 2px var(--spbwc-c-bg), 0 0 0 4px var(--spbwc-c-brand);
}

/* =====================================================================
 * Tab-rail polish (v1.5.x) — crisper active state (filled brand icon),
 * no layout shift, softer idle colour. Overrides the base tab rules
 * above by virtue of source order + .spbwc-cust-v3 scope.
 * ===================================================================== */
.spbwc-cust-v3 .spbwc-cust-tabnav { padding: 10px 8px; gap: 6px; }
.spbwc-cust-v3 .spbwc-cust-tabbtn {
    min-height: 64px;
    border: 1px solid transparent;          /* reserved → active never shifts layout */
    border-radius: 10px;
    color: var(--spbwc-c-muted);
    transition: background 140ms ease, color 140ms ease, border-color 140ms ease;
}
.spbwc-cust-v3 .spbwc-cust-tabbtn:hover {
    background: var(--spbwc-c-bg);
    color: var(--spbwc-c-ink);
    border-color: transparent;
}
.spbwc-cust-v3 .spbwc-cust-tabbtn.is-active,
.spbwc-cust-v3 .spbwc-cust-tabbtn[aria-selected="true"] {
    background: var(--spbwc-c-brand-tint);
    border-color: var(--spbwc-c-brand-soft);
    color: var(--spbwc-c-brand);
}
.spbwc-cust-v3 .spbwc-cust-tabbtn__icon {
    width: 34px; height: 34px; border-radius: 9px;
    background: transparent;
    transition: background 140ms ease, color 140ms ease, box-shadow 140ms ease;
}
.spbwc-cust-v3 .spbwc-cust-tabbtn:hover .spbwc-cust-tabbtn__icon { background: var(--spbwc-c-bg-soft); }
.spbwc-cust-v3 .spbwc-cust-tabbtn.is-active .spbwc-cust-tabbtn__icon {
    background: var(--spbwc-c-brand);
    color: #fff;
    box-shadow: 0 2px 6px rgba(29, 78, 216, .28);
}
.spbwc-cust-v3 .spbwc-cust-tabbtn.is-active .spbwc-cust-tabbtn__icon svg { stroke: #fff; }
.spbwc-cust-v3 .spbwc-cust-tabbtn__label { font-size: 11px; font-weight: 600; letter-spacing: .01em; }
.spbwc-cust-v3 .spbwc-cust-tabbtn.is-active .spbwc-cust-tabbtn__label { font-weight: 700; }
/* Count badge sits clear of the larger icon chip. */
.spbwc-cust-v3 .spbwc-cust-tabbtn__badge { top: 5px; right: 6px; }

/* Cohesive design language — carry the polished tab-rail tokens across the
 * rest of the canvas UI: matching 10px chip radius, brand-tint active fills,
 * brand-soft borders (lighter than the old solid brand outline). */
.spbwc-cust-v3 .spbwc-cust-acc-item { border-radius: 10px; transition: border-color 140ms ease, box-shadow 140ms ease; }
.spbwc-cust-v3 .spbwc-cust-acc-item.is-open {
    border-color: var(--spbwc-c-brand-soft);
    box-shadow: 0 0 0 1px var(--spbwc-c-brand-soft);
}
.spbwc-cust-v3 .spbwc-cust-acc-item.is-open .spbwc-cust-acc-head { background: var(--spbwc-c-brand-tint); }
.spbwc-cust-v3 .spbwc-cust-val { border-radius: 10px; }
.spbwc-cust-v3 .spbwc-cust-val.is-active { box-shadow: 0 0 0 3px var(--spbwc-c-brand-soft); }
/* Per-layer rows (Text/Images tabs) share the same radius. */
.spbwc-cust-v3 .spbwc-cust-free__item { border-radius: 10px; }

/* Canvas stage backdrop — a soft radial "spotlight" (lighter centre, gently
 * darker edges) so the product PNG pops off the background, especially light /
 * cream artwork. Paired with a drop-shadow on the design zone so the artwork
 * reads as floating above the surface. drop-shadow() follows the PNG alpha, so
 * transparent areas around the product don't get a boxy shadow. */
.spbwc-cust-v3 .spbwc-cust-canvas .design-main {
    background: radial-gradient(125% 95% at 50% 38%, #eef1f6 0%, #dde1ea 55%, #cfd4e0 100%);
}
.spbwc-cust-v3 .spbwc-cust-canvas .design-zone {
    filter: drop-shadow(0 10px 22px rgba(15, 23, 42, 0.20));
}

/* Remove the legacy floating layer-transform toolbar (.design-admin-tool).
 * It rendered as broken icon-font glyphs floating over the artwork (the
 * "layer covering the image" reported by the user) and its actions are
 * redundant: per-layer Delete lives in each Text/Image row, and zoom is in
 * the canvas toolbar. Layer z-ordering returns as a proper per-layer control
 * in M2. Hidden, not deleted, so app-product-builder.js bindings stay intact. */
.spbwc-cust-v3 .spbwc-cust-canvas .design-admin-tool { display: none !important; }

/* Undo / Redo group (replaces the old "Live preview" pill, canvas toolbar). */
.spbwc-cust-v3 .spbwc-cust-history {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 3px;
    background: var(--spbwc-c-bg);
    border: 1px solid var(--spbwc-c-line);
    border-radius: var(--spbwc-c-radius-sm);
    box-shadow: var(--spbwc-c-shadow-sm);
}
.spbwc-cust-v3 .spbwc-cust-histbtn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    font: inherit;
    font-size: 12px;
    font-weight: 600;
    color: var(--spbwc-c-ink);
    background: transparent;
    border: 0;
    border-radius: 7px;
    cursor: pointer;
    transition: background 120ms ease, color 120ms ease;
}
.spbwc-cust-v3 .spbwc-cust-histbtn:hover:not([disabled]) { background: var(--spbwc-c-brand-tint); color: var(--spbwc-c-brand); }
.spbwc-cust-v3 .spbwc-cust-histbtn[disabled] { opacity: .4; cursor: default; }
.spbwc-cust-v3 .spbwc-cust-histbtn svg { flex: 0 0 auto; }
@media (max-width: 768px) {
    /* Tight on mobile — icon only. */
    .spbwc-cust-v3 .spbwc-cust-histbtn__label { display: none; }
    .spbwc-cust-v3 .spbwc-cust-histbtn { padding: 6px; }
}

/* =====================================================================
 * Floating canvas controls — no toolbar bar. The main spotlight
 * background now extends the full height of the canvas column and the
 * Undo/Redo (left) + Zoom (right) blocks FLOAT on top of it, transparent.
 * The bar itself is click-through (pointer-events:none) so dragging
 * layers near the bottom still works; only the control groups capture.
 * ===================================================================== */
.spbwc-cust-v3 .spbwc-cust-canvas__toolbar {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: auto;
    padding: 14px 16px;
    background: transparent;
    border-top: 0;
    pointer-events: none;
    z-index: 6;
}
.spbwc-cust-v3 .spbwc-cust-canvas__toolbar-left,
.spbwc-cust-v3 .spbwc-cust-canvas__toolbar-right { pointer-events: auto; }

/* Transparent block backgrounds — controls sit directly on the canvas. */
.spbwc-cust-v3 .spbwc-cust-history,
.spbwc-cust-v3 .spbwc-cust-zoom {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    padding: 0;
    gap: 4px;
    overflow: visible;
}
.spbwc-cust-v3 .spbwc-cust-zoom__value {
    background: transparent;
    border-left: 0;
    border-right: 0;
    color: var(--spbwc-c-ink);
}
.spbwc-cust-v3 .spbwc-cust-zoom__btn,
.spbwc-cust-v3 .spbwc-cust-histbtn { background: transparent; border-radius: 8px; }
.spbwc-cust-v3 .spbwc-cust-zoom__btn--reset { border-left: 0; }
/* Subtle hover chip keeps the floating controls discoverable. */
.spbwc-cust-v3 .spbwc-cust-histbtn:hover:not([disabled]),
.spbwc-cust-v3 .spbwc-cust-zoom__btn:hover {
    background: rgba(255, 255, 255, 0.75);
    color: var(--spbwc-c-brand);
}

/* =====================================================================
 * Topbar removed — floating Close (×) + slim summary progress strip.
 * Reclaims the 64px topbar height for the editor. Reset all + Cancel
 * remain in the summary footer.
 * ===================================================================== */
.spbwc-cust-v3 .spbwc-cust-floatclose {
    position: absolute;
    top: 10px;
    right: 12px;
    left: auto; /* override legacy `.nbdpb-popup .close-popup { left:10px }` */
    bottom: auto;
    z-index: 60;
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--spbwc-c-ink);
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--spbwc-c-line);
    border-radius: 9px;
    box-shadow: var(--spbwc-c-shadow-sm);
    cursor: pointer;
    transition: background 120ms ease, color 120ms ease, box-shadow 120ms ease;
}
.spbwc-cust-v3 .spbwc-cust-floatclose:hover { background: #fff; color: var(--spbwc-c-danger); box-shadow: var(--spbwc-c-shadow); }
/* Slim progress strip (product-name hero block removed → thumbnail rises to top). */
.spbwc-cust-v3 .spbwc-cust-summary__sticky-top--slim { padding: 12px 52px 10px 16px; }
.spbwc-cust-v3 .spbwc-cust-summary__sticky-top--slim .spbwc-cust-summary__head-row {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 8px;
}