/* 1.9.99.27.71: restore pristine main format/area controls after related quick view closes */
.single-product .afp-widget:not(.afp-widget--quickview) .afp-control--format-simple{
  position: relative !important;
}

.single-product .afp-widget:not(.afp-widget--quickview) .afp-control--format-simple .afp-format-label,
.single-product .afp-widget:not(.afp-widget--quickview) .afp-control--format-simple .afp-legacy-format-value,
.single-product .afp-widget:not(.afp-widget--quickview) .afp-control--format-simple .afp-select-faux,
.single-product .afp-widget:not(.afp-widget--quickview) .afp-control--format-simple .afp-select-shell,
.single-product .afp-widget:not(.afp-widget--quickview) .afp-control--format-simple .afp-select-shell__value,
.single-product .afp-widget:not(.afp-widget--quickview) .afp-control--format-simple .afp-select-shell__caret,
.single-product .afp-widget:not(.afp-widget--quickview) .afp-control--format-simple .select2,
.single-product .afp-widget:not(.afp-widget--quickview) .afp-control--format-simple .select2-container,
.single-product .afp-widget:not(.afp-widget--quickview) .afp-control--format-simple .selectWoo,
.single-product .afp-widget:not(.afp-widget--quickview) .afp-control--format-simple .selectwoo-container{
  display: none !important;
}

.single-product .afp-widget:not(.afp-widget--quickview) .afp-control--format-simple .afp-format-dropdown ~ .afp-format-dropdown,
.single-product .afp-widget:not(.afp-widget--quickview) .afp-control--area-simple .afp-area-input ~ .afp-area-input{
  display: none !important;
}

.single-product .afp-widget:not(.afp-widget--quickview) .afp-control--format-simple.has-afp-format-dropdown > select[name="afp_format"],
.single-product .afp-widget:not(.afp-widget--quickview) .afp-control--format-simple.has-afp-format-dropdown > select[data-afp-shadowed-id="afp_format"],
.single-product .afp-widget:not(.afp-widget--quickview) .afp-control--format-simple.has-afp-format-dropdown > select[id="afp_format--afp-main-shadow"]{
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  opacity: 0 !important;
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
  background: transparent !important;
  box-shadow: none !important;
  pointer-events: none !important;
  appearance: none !important;
  -webkit-appearance: none !important;
}
