/* v2.2.3.204
   Mobile-only spacing fix based on the good desktop/full layout from v2.2.3.197.
   Important: every rule is limited to mobile width, so desktop/full version keeps the 197 layout. */

@media (max-width: 767px) {
  html body .single-product div.product .afp-widget.afp-product-builder:not(.afp-widget--quickview),
  html body .afp-widget.afp-product-builder:not(.afp-widget--quickview) {
    --afp-format-cell-padding-y: 12px !important;
    --afp-format-row-gap-y: 0px !important;
    --afp-mobile-range-cell-y: 24px !important;
  }

  html body .single-product div.product .afp-widget.afp-product-builder:not(.afp-widget--quickview) .afp-master-table > tbody > tr.afp-master-row--format,
  html body .afp-widget.afp-product-builder:not(.afp-widget--quickview) .afp-master-table > tbody > tr.afp-master-row--format {
    background: var(--afp-panel-bg, #fff) !important;
    background-color: var(--afp-panel-bg, #fff) !important;
    background-image: none !important;
    box-shadow: none !important;
  }

  html body .single-product div.product .afp-widget.afp-product-builder:not(.afp-widget--quickview) .afp-master-table > tbody > tr.afp-master-row--format > td.afp-master-cell--format,
  html body .afp-widget.afp-product-builder:not(.afp-widget--quickview) .afp-master-table > tbody > tr.afp-master-row--format > td.afp-master-cell--format {
    padding-top: 12px !important;
    padding-bottom: 12px !important;
    padding-left: 18px !important;
    padding-right: 18px !important;
    background: var(--afp-panel-bg, #fff) !important;
    background-color: var(--afp-panel-bg, #fff) !important;
    background-image: none !important;
    box-shadow: none !important;
    vertical-align: middle !important;
  }

  html body .single-product div.product .afp-widget.afp-product-builder:not(.afp-widget--quickview) .afp-master-table > tbody > tr.afp-master-row--format > td.afp-master-cell--format::before,
  html body .single-product div.product .afp-widget.afp-product-builder:not(.afp-widget--quickview) .afp-master-table > tbody > tr.afp-master-row--format > td.afp-master-cell--format::after,
  html body .afp-widget.afp-product-builder:not(.afp-widget--quickview) .afp-master-table > tbody > tr.afp-master-row--format > td.afp-master-cell--format::before,
  html body .afp-widget.afp-product-builder:not(.afp-widget--quickview) .afp-master-table > tbody > tr.afp-master-row--format > td.afp-master-cell--format::after {
    content: none !important;
    display: none !important;
  }

  html body .single-product div.product .afp-widget.afp-product-builder:not(.afp-widget--quickview) .afp-master-row--format .afp-control--format-simple,
  html body .afp-widget.afp-product-builder:not(.afp-widget--quickview) .afp-master-row--format .afp-control--format-simple {
    display: block !important;
    box-sizing: border-box !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
    transform: none !important;
  }

  html body .single-product div.product .afp-widget.afp-product-builder:not(.afp-widget--quickview) .afp-master-row--format .afp-format-dropdown,
  html body .single-product div.product .afp-widget.afp-product-builder:not(.afp-widget--quickview) .afp-master-row--format .afp-format-trigger,
  html body .single-product div.product .afp-widget.afp-product-builder:not(.afp-widget--quickview) .afp-master-row--format .afp-control--format-simple select#afp_format,
  html body .afp-widget.afp-product-builder:not(.afp-widget--quickview) .afp-master-row--format .afp-format-dropdown,
  html body .afp-widget.afp-product-builder:not(.afp-widget--quickview) .afp-master-row--format .afp-format-trigger,
  html body .afp-widget.afp-product-builder:not(.afp-widget--quickview) .afp-master-row--format .afp-control--format-simple select#afp_format {
    box-sizing: border-box !important;
    height: 56px !important;
    min-height: 56px !important;
    max-height: 56px !important;
    margin: 0 !important;
    transform: none !important;
  }

  html body .single-product div.product .afp-widget.afp-product-builder:not(.afp-widget--quickview) .afp-master-row--format .afp-format-trigger,
  html body .afp-widget.afp-product-builder:not(.afp-widget--quickview) .afp-master-row--format .afp-format-trigger {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    padding: 0 14px 0 22px !important;
    line-height: 1 !important;
  }

  html body .single-product div.product .afp-widget.afp-product-builder:not(.afp-widget--quickview) .afp-master-row--format .afp-format-trigger__value,
  html body .afp-widget.afp-product-builder:not(.afp-widget--quickview) .afp-master-row--format .afp-format-trigger__value {
    display: flex !important;
    align-items: center !important;
    height: 100% !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.15 !important;
    transform: none !important;
  }

  html body .single-product div.product .afp-widget.afp-product-builder:not(.afp-widget--quickview) .afp-master-row--format .afp-format-trigger__caret,
  html body .single-product div.product .afp-widget.afp-product-builder:not(.afp-widget--quickview) .afp-master-row--format .afp-control--format-simple .afp-format-trigger__icon,
  html body .afp-widget.afp-product-builder:not(.afp-widget--quickview) .afp-master-row--format .afp-format-trigger__caret,
  html body .afp-widget.afp-product-builder:not(.afp-widget--quickview) .afp-master-row--format .afp-control--format-simple .afp-format-trigger__icon {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    align-self: center !important;
    flex: 0 0 38px !important;
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    min-height: 38px !important;
    max-width: 38px !important;
    max-height: 38px !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
  }

  html body .single-product div.product .afp-widget.afp-product-builder:not(.afp-widget--quickview) .afp-master-row--ranges > td,
  html body .afp-widget.afp-product-builder:not(.afp-widget--quickview) .afp-master-row--ranges > td {
    padding-top: 24px !important;
    padding-bottom: 24px !important;
    padding-left: 18px !important;
    padding-right: 18px !important;
    background-image: none !important;
  }

  html body .single-product div.product .afp-widget.afp-product-builder:not(.afp-widget--quickview) .afp-master-row--ranges .afp-price-table-wrap,
  html body .single-product div.product .afp-widget.afp-product-builder:not(.afp-widget--quickview) .afp-master-row--ranges .afp-range-shell,
  html body .afp-widget.afp-product-builder:not(.afp-widget--quickview) .afp-master-row--ranges .afp-price-table-wrap,
  html body .afp-widget.afp-product-builder:not(.afp-widget--quickview) .afp-master-row--ranges .afp-range-shell {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  html body .single-product div.product .afp-widget.afp-product-builder:not(.afp-widget--quickview) .afp-master-row--ranges .afp-range-toggle,
  html body .afp-widget.afp-product-builder:not(.afp-widget--quickview) .afp-master-row--ranges .afp-range-toggle {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    grid-template-columns: none !important;
    gap: 0 !important;
    width: 100% !important;
    min-height: 58px !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  html body .single-product div.product .afp-widget.afp-product-builder:not(.afp-widget--quickview) .afp-master-row--ranges .afp-range-toggle[aria-expanded="true"],
  html body .afp-widget.afp-product-builder:not(.afp-widget--quickview) .afp-master-row--ranges .afp-range-toggle[aria-expanded="true"] {
    margin-bottom: 18px !important;
  }

  html body .single-product div.product .afp-widget.afp-product-builder:not(.afp-widget--quickview) .afp-master-row--ranges .afp-range-toggle__title,
  html body .afp-widget.afp-product-builder:not(.afp-widget--quickview) .afp-master-row--ranges .afp-range-toggle__title {
    display: none !important;
  }

  html body .single-product div.product .afp-widget.afp-product-builder:not(.afp-widget--quickview) .afp-master-row--ranges .afp-range-toggle__action,
  html body .afp-widget.afp-product-builder:not(.afp-widget--quickview) .afp-master-row--ranges .afp-range-toggle__action {
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    justify-self: stretch !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    min-height: 58px !important;
    margin: 0 !important;
    padding: 0 18px !important;
    text-align: center !important;
    white-space: nowrap !important;
  }
}
