/* 2.0 — bridge quick view styles to admin theme/typography settings */
.nectar-quick-view-box .afp-widget--quickview{
  --afp-qv-border: var(--afp-border, #eadfd8);
  --afp-qv-soft: var(--afp-accent-soft, #f4ebe7);
  --afp-qv-text: var(--afp-text, #241c18);
  --afp-qv-muted: var(--afp-muted, #7d6c66);
  font-family: var(--afp-font-family, inherit) !important;
}

.nectar-quick-view-box .afp-widget--quickview,
.nectar-quick-view-box .afp-widget--quickview *{
  font-family: var(--afp-font-family, inherit);
}

.nectar-quick-view-box .afp-widget--quickview .afp-qv-card{
  background: var(--afp-panel-bg, #fffdfa) !important;
  border-color: var(--afp-border, #eadfd8) !important;
}

.nectar-quick-view-box .afp-widget--quickview .afp-qv-label,
.nectar-quick-view-box .afp-widget--quickview .afp-input-mode-switch__label{
  color: var(--afp-muted, #7d6c66) !important;
  font-size: var(--afp-font-label-size, 12px) !important;
}

.nectar-quick-view-box .afp-widget--quickview .afp-control--format-simple .afp-format-trigger,
.nectar-quick-view-box .afp-widget--quickview .afp-control--area-simple .afp-area-input > input[name="afp_area"],
.nectar-quick-view-box .afp-widget--quickview .afp-control--area-simple .afp-area-input > input#afp_qv_area{
  background: var(--afp-control-bg, #ffffff) !important;
  border-color: var(--afp-control-border, #dcccbe) !important;
  color: var(--afp-control-text, var(--afp-text, #241c18)) !important;
  font-size: var(--afp-font-control-size, 18px) !important;
  font-family: var(--afp-font-family, inherit) !important;
  box-shadow: none !important;
}

.nectar-quick-view-box .afp-widget--quickview .afp-control--area-simple .afp-area-input > input[name="afp_area"]:hover,
.nectar-quick-view-box .afp-widget--quickview .afp-control--area-simple .afp-area-input > input#afp_qv_area:hover,
.nectar-quick-view-box .afp-widget--quickview .afp-control--format-simple .afp-format-trigger:hover{
  border-color: var(--afp-control-hover-border, var(--afp-control-border, #dcccbe)) !important;
}

.nectar-quick-view-box .afp-widget--quickview .afp-control--area-simple .afp-area-input > input[name="afp_area"]:focus,
.nectar-quick-view-box .afp-widget--quickview .afp-control--area-simple .afp-area-input > input#afp_qv_area:focus,
.nectar-quick-view-box .afp-widget--quickview .afp-control--format-simple .afp-format-trigger:focus-visible{
  border-color: var(--afp-control-hover-border, var(--afp-control-border, #dcccbe)) !important;
  box-shadow: 0 0 0 3px var(--afp-control-focus-ring, rgba(181,108,82,.12)) !important;
}

.nectar-quick-view-box .afp-widget--quickview .afp-control--format-simple .afp-format-trigger__value{
  color: var(--afp-control-text, var(--afp-text, #241c18)) !important;
  font-size: var(--afp-font-control-size, 18px) !important;
}

.nectar-quick-view-box .afp-widget--quickview .afp-control--format-simple .afp-format-trigger__caret{
  background: var(--afp-format-caret-bg, #fbf4ee) !important;
  border-color: var(--afp-format-caret-border, #dbc1b5) !important;
}

.nectar-quick-view-box .afp-widget--quickview .afp-control--format-simple .afp-format-trigger__caret::before,
.nectar-quick-view-box .afp-widget--quickview .afp-control--format-simple .afp-format-trigger__caret::after{
  border-color: var(--afp-format-caret-icon, #7a6258) !important;
}

.nectar-quick-view-box .afp-widget--quickview .afp-control--format-simple .afp-format-menu{
  background: var(--afp-panel-bg, #fffdfa) !important;
  border-color: var(--afp-border, #eadfd8) !important;
}

.nectar-quick-view-box .afp-widget--quickview .afp-control--format-simple .afp-format-option{
  color: var(--afp-text, #241c18) !important;
  font-size: var(--afp-font-dropdown-size, 18px) !important;
}

.nectar-quick-view-box .afp-widget--quickview .afp-control--format-simple .afp-format-option:hover,
.nectar-quick-view-box .afp-widget--quickview .afp-control--format-simple .afp-format-option:focus-visible{
  background: var(--afp-format-option-hover-bg, #f5e7e0) !important;
  color: var(--afp-format-option-hover-text, #b56c52) !important;
}

.nectar-quick-view-box .afp-widget--quickview .afp-control--format-simple .afp-format-option.is-selected{
  background: var(--afp-format-option-active-bg, #b56c52) !important;
  color: var(--afp-format-option-active-text, #fffdfb) !important;
}

.nectar-quick-view-box .afp-widget--quickview .afp-control--area-simple .afp-area-input .afp-area-stepper__button{
  background: var(--afp-stepper-bg, #fffaf7) !important;
  border-color: var(--afp-stepper-border, #dec9bd) !important;
  box-shadow: none !important;
}

.nectar-quick-view-box .afp-widget--quickview .afp-control--area-simple .afp-area-input .afp-area-stepper__button span{
  color: var(--afp-stepper-text, #b56c52) !important;
  font-size: var(--afp-font-control-size, 18px) !important;
}

.nectar-quick-view-box .afp-widget--quickview .afp-control--area-simple .afp-area-input .afp-input-unit-pill{
  background: var(--afp-switch-active-bg, #f2e2da) !important;
  border-color: var(--afp-switch-active-border, #d2ab9a) !important;
  color: var(--afp-switch-active-text, #b56c52) !important;
  font-size: var(--afp-font-pill-size, 13px) !important;
}

.nectar-quick-view-box .afp-widget--quickview .afp-input-mode-switch__button,
.nectar-quick-view-box .afp-widget--quickview .afp-order-unit-switch .afp-input-mode-switch__button{
  font-size: var(--afp-font-switch-button-size, 14px) !important;
  font-family: var(--afp-font-family, inherit) !important;
}

.nectar-quick-view-box .afp-widget--quickview .afp-conversion-note{
  color: var(--afp-note-text-color, var(--afp-muted, #7d6c66)) !important;
  font-size: var(--afp-font-note-text-size, 13px) !important;
}

.nectar-quick-view-box .afp-widget--quickview .afp-option-row{
  background: var(--afp-option-card-bg, #fffdfa) !important;
  border-color: var(--afp-option-card-border, #eadfd8) !important;
}

.nectar-quick-view-box .afp-widget--quickview .afp-option-row__title{
  color: var(--afp-text, #241c18) !important;
  font-size: var(--afp-font-option-title-size, 16px) !important;
}

.nectar-quick-view-box .afp-widget--quickview .afp-option-row__meta{
  background: var(--afp-accent-soft, #f4ebe7) !important;
  color: var(--afp-muted, #7d6c66) !important;
  font-size: var(--afp-font-option-meta-size, 11px) !important;
}

.nectar-quick-view-box .afp-widget--quickview .afp-option-row__price{
  background: var(--afp-option-price-bg, #fffaf7) !important;
  border-color: var(--afp-option-price-border, #e4d0c5) !important;
  color: var(--afp-option-price-text, #b56c52) !important;
  font-size: var(--afp-font-option-price-size, 18px) !important;
}

.nectar-quick-view-box .afp-widget--quickview .afp-qv-section--ranges .afp-range-shell{
  background: var(--afp-tier-row-bg, #ffffff) !important;
  border-color: var(--afp-tier-row-border, #eadfd8) !important;
}

.nectar-quick-view-box .afp-widget--quickview .afp-qv-section--ranges .afp-range-toggle__title{
  color: var(--afp-text, #241c18) !important;
  font-size: var(--afp-font-option-title-size, 16px) !important;
}

.nectar-quick-view-box .afp-widget--quickview .afp-qv-total__label{
  color: var(--afp-muted, #7d6c66) !important;
  font-size: var(--afp-font-label-size, 12px) !important;
}

.nectar-quick-view-box .afp-widget--quickview .afp-qv-total strong,
.nectar-quick-view-box .afp-widget--quickview [data-afp-grand-total]{
  color: var(--afp-dark, var(--afp-text, #241c18)) !important;
  font-size: var(--afp-font-total-size, 44px) !important;
}
