/* v1.8.83: normalize the bottom inset under the summary note so it matches the rest of the plugin */
.afp-widget .afp-master-table > tbody > tr.afp-master-row--summary:last-child > td{
  padding-top: 12px !important;
  padding-bottom: 8px !important;
  vertical-align: top !important;
}

.afp-widget .afp-master-table > tbody > tr.afp-master-row--summary:last-child > td > .afp-live-panel{
  margin: 0 !important;
  padding: 0 !important;
  gap: 8px !important;
}

.afp-widget .afp-master-table > tbody > tr.afp-master-row--summary:last-child .afp-preview-card,
.afp-widget .afp-master-table > tbody > tr.afp-master-row--summary:last-child .afp-submit-row,
.afp-widget .afp-master-table > tbody > tr.afp-master-row--summary:last-child .afp-discount-note{
  margin-bottom: 0 !important;
}

.afp-widget .afp-master-table > tbody > tr.afp-master-row--summary:last-child .afp-submit-row{
  margin-top: 10px !important;
  padding-top: 10px !important;
  padding-bottom: 0 !important;
}

.afp-widget .afp-master-table,
.afp-widget .afp-master-table > tbody,
.afp-widget .afp-unified-card.afp-unified-card--table{
  margin-bottom: 0 !important;
}

.afp-widget .afp-unified-card.afp-unified-card--table{
  padding-bottom: 0 !important;
}

@media (max-width: 767px){
  .afp-widget .afp-master-table > tbody > tr.afp-master-row--summary:last-child > td{
    padding-top: 10px !important;
    padding-bottom: 6px !important;
  }

  .afp-widget .afp-master-table > tbody > tr.afp-master-row--summary:last-child > td > .afp-live-panel{
    gap: 7px !important;
  }

  .afp-widget .afp-master-table > tbody > tr.afp-master-row--summary:last-child .afp-submit-row{
    margin-top: 8px !important;
    padding-top: 8px !important;
  }
}
