/* v1.9.99.27.60: restore working quick view format dropdown from 27.55 and align it like other quick view controls */
.nectar-quick-view-box .afp-widget--quickview .afp-control--format-simple{
  position:relative !important;
  overflow:visible !important;
  min-height:72px !important;
  border:1.5px solid rgba(223,198,185,.96) !important;
  border-radius:28px !important;
  background:linear-gradient(180deg,#fffefd 0%,#fff8f4 100%) !important;
  box-shadow:0 12px 28px rgba(36,24,18,.05), inset 0 1px 0 rgba(255,255,255,.96) !important;
}

.nectar-quick-view-box .afp-widget--quickview .afp-control--format-simple::before,
.nectar-quick-view-box .afp-widget--quickview .afp-control--format-simple::after{
  content:none !important;
  display:none !important;
}

.nectar-quick-view-box .afp-widget--quickview .afp-control--format-simple > select#afp_format{
  position:absolute !important;
  inset:0 !important;
  width:100% !important;
  height:100% !important;
  margin:0 !important;
  opacity:0 !important;
  visibility:hidden !important;
  pointer-events:none !important;
  appearance:none !important;
  border:0 !important;
  background:transparent !important;
  box-shadow:none !important;
}

.nectar-quick-view-box .afp-widget--quickview .afp-format-dropdown{
  display:block !important;
  position:absolute !important;
  inset:0 !important;
  z-index:7 !important;
}

.nectar-quick-view-box .afp-widget--quickview .afp-format-trigger{
  all:unset !important;
  box-sizing:border-box !important;
  position:absolute !important;
  inset:0 !important;
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:16px !important;
  width:100% !important;
  min-height:72px !important;
  padding:0 16px 0 24px !important;
  border-radius:28px !important;
  cursor:pointer !important;
  background:transparent !important;
}

.nectar-quick-view-box .afp-widget--quickview .afp-format-trigger__value{
  display:flex !important;
  align-items:center !important;
  flex:1 1 auto !important;
  min-width:0 !important;
  margin:0 !important;
  padding:0 !important;
  white-space:nowrap !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
  color:#241c18 !important;
  font-size:18px !important;
  font-weight:800 !important;
  line-height:1.15 !important;
  letter-spacing:-0.02em !important;
}

.nectar-quick-view-box .afp-widget--quickview .afp-format-trigger__caret{
  position:relative !important;
  flex:0 0 42px !important;
  width:42px !important;
  height:42px !important;
  margin:0 !important;
  border-radius:999px !important;
  border:1px solid rgba(181,108,82,.16) !important;
  background:#fbf4ee !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.86) !important;
}

.nectar-quick-view-box .afp-widget--quickview .afp-format-trigger__caret::before{
  content:'' !important;
  position:absolute !important;
  left:50% !important;
  top:50% !important;
  width:9px !important;
  height:9px !important;
  margin:-6px 0 0 -5px !important;
  border-right:2px solid #7a6258 !important;
  border-bottom:2px solid #7a6258 !important;
  transform:rotate(45deg) !important;
  transition:transform .18s ease, margin-top .18s ease !important;
}

.nectar-quick-view-box .afp-widget--quickview .afp-format-dropdown.is-open .afp-format-trigger__caret::before{
  transform:rotate(-135deg) !important;
  margin-top:-1px !important;
}

.nectar-quick-view-box .afp-widget--quickview .afp-format-menu{
  position:absolute !important;
  left:0 !important;
  right:0 !important;
  top:calc(100% + 10px) !important;
  padding:10px !important;
  border:1.5px solid rgba(223,198,185,.96) !important;
  border-radius:24px !important;
  background:linear-gradient(180deg,#fffefd 0%,#fff8f4 100%) !important;
  box-shadow:0 18px 38px rgba(44,28,20,.10), 0 6px 14px rgba(44,28,20,.04) !important;
  opacity:0 !important;
  transform:translateY(-4px) scale(.985) !important;
  transform-origin:top center !important;
  pointer-events:none !important;
  max-height:320px !important;
  overflow:auto !important;
}

.nectar-quick-view-box .afp-widget--quickview .afp-format-dropdown.is-open .afp-format-menu{
  opacity:1 !important;
  transform:translateY(0) scale(1) !important;
  pointer-events:auto !important;
}

.nectar-quick-view-box .afp-widget--quickview .afp-format-option{
  all:unset !important;
  box-sizing:border-box !important;
  display:flex !important;
  align-items:center !important;
  width:100% !important;
  min-height:50px !important;
  padding:12px 18px !important;
  border-radius:18px !important;
  color:#241c18 !important;
  background:transparent !important;
  font-size:17px !important;
  line-height:1.2 !important;
  font-weight:700 !important;
  cursor:pointer !important;
}

.nectar-quick-view-box .afp-widget--quickview .afp-format-option + .afp-format-option{
  margin-top:4px !important;
}

.nectar-quick-view-box .afp-widget--quickview .afp-format-option:hover,
.nectar-quick-view-box .afp-widget--quickview .afp-format-option:focus-visible{
  background:#f9eee6 !important;
  outline:none !important;
}

.nectar-quick-view-box .afp-widget--quickview .afp-format-option.is-selected{
  background:#f6e8de !important;
  color:#8f5f4b !important;
}

@media (max-width: 767px){
  .nectar-quick-view-box .afp-widget--quickview .afp-control--format-simple,
  .nectar-quick-view-box .afp-widget--quickview .afp-format-trigger{
    min-height:60px !important;
  }

  .nectar-quick-view-box .afp-widget--quickview .afp-format-trigger{
    padding:0 14px 0 20px !important;
  }

  .nectar-quick-view-box .afp-widget--quickview .afp-format-trigger__value{
    font-size:17px !important;
  }

  .nectar-quick-view-box .afp-widget--quickview .afp-format-trigger__caret{
    flex-basis:38px !important;
    width:38px !important;
    height:38px !important;
  }
}
