/* 1.9.81 — tighter range toggle shell + restored rounded dropdown frame */
@media (max-width: 767px) {
  .afp-widget.afp-product-builder.afp-builder-shell.afp-shell--mobile .afp-master-row--ranges td > .afp-price-table-wrap,
  .afp-widget.afp-product-builder.afp-builder-shell.afp-shell--mobile .afp-master-row--ranges td > .afp-price-table-wrap > .afp-range-shell {
    padding: 10px !important;
  }

  .afp-widget.afp-product-builder.afp-builder-shell.afp-shell--mobile .afp-master-row--ranges td > .afp-price-table-wrap > .afp-range-shell {
    border-radius: 30px !important;
  }

  .afp-widget.afp-product-builder.afp-builder-shell.afp-shell--mobile .afp-master-row--ranges .afp-range-toggle {
    width: 100% !important;
    margin: 0 !important;
  }

  .afp-widget.afp-product-builder.afp-builder-shell.afp-shell--mobile .afp-master-row--ranges .afp-range-toggle__action {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    height: 54px !important;
    min-height: 54px !important;
    padding: 0 22px !important;
    border-radius: 27px !important;
  }

  .afp-widget.afp-product-builder.afp-builder-shell.afp-shell--mobile .afp-master-row--ranges .afp-range-panel,
  .afp-widget.afp-product-builder.afp-builder-shell.afp-shell--mobile .afp-master-row--ranges .afp-range-toggle[aria-expanded="true"] + .afp-range-panel {
    margin-top: 10px !important;
  }

  .afp-widget.afp-product-builder.afp-builder-shell.afp-shell--mobile .afp-master-row--ranges .afp-range-panel .afp-price-table.afp-price-table--active,
  .afp-widget.afp-product-builder.afp-builder-shell.afp-shell--mobile .afp-master-row--ranges .afp-range-toggle[aria-expanded="true"] + .afp-range-panel .afp-price-table.afp-price-table--active {
    border: 1px solid rgba(225, 214, 207, 0.98) !important;
    border-radius: 30px !important;
    overflow: hidden !important;
    background: linear-gradient(180deg, rgba(255,254,252,0.995) 0%, rgba(255,250,246,0.99) 100%) !important;
    box-shadow: inset 0 0 0 1px rgba(225, 214, 207, 0.30) !important;
  }

  .afp-widget.afp-product-builder.afp-builder-shell.afp-shell--mobile .afp-master-row--ranges .afp-range-toggle[aria-expanded="true"] + .afp-range-panel .afp-tier-table {
    width: 100% !important;
    margin: 0 !important;
    border: 0 !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    border-radius: 30px !important;
    overflow: hidden !important;
    background: transparent !important;
  }

  .afp-widget.afp-product-builder.afp-builder-shell.afp-shell--mobile .afp-master-row--ranges .afp-range-toggle[aria-expanded="true"] + .afp-range-panel .afp-tier-table thead tr:first-child th:first-child {
    border-top-left-radius: 30px !important;
    border-top-right-radius: 30px !important;
  }

  .afp-widget.afp-product-builder.afp-builder-shell.afp-shell--mobile .afp-master-row--ranges .afp-range-toggle[aria-expanded="true"] + .afp-range-panel .afp-tier-table tbody tr:last-child td:first-child {
    border-bottom-left-radius: 30px !important;
  }

  .afp-widget.afp-product-builder.afp-builder-shell.afp-shell--mobile .afp-master-row--ranges .afp-range-toggle[aria-expanded="true"] + .afp-range-panel .afp-tier-table tbody tr:last-child td:last-child {
    border-bottom-right-radius: 30px !important;
  }
}
