/* 1.9.72 — premium mobile table precision */

@media (max-width: 560px) {
  .afp-builder-shell.afp-shell--mobile .afp-range-toggle {
    display: grid !important;
    grid-template-columns: 1fr !important;
    align-items: start !important;
    justify-items: start !important;
    gap: 10px !important;
  }

  .afp-builder-shell.afp-shell--mobile .afp-range-toggle__title {
    width: 100% !important;
    min-width: 0 !important;
  }

  .afp-builder-shell.afp-shell--mobile .afp-range-toggle__action {
    margin-left: 0 !important;
    justify-self: start !important;
    align-self: start !important;
    width: auto !important;
    max-width: 100% !important;
  }

  .afp-builder-shell.afp-shell--mobile .afp-range-panel {
    padding: 0 10px 12px !important;
  }

  .afp-builder-shell.afp-shell--mobile .afp-price-table {
    width: 100% !important;
  }

  .afp-builder-shell.afp-shell--mobile .afp-tier-table,
  .afp-builder-shell.afp-shell--mobile .afp-result-table {
    display: table !important;
    width: 100% !important;
    max-width: 100% !important;
    table-layout: fixed !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    overflow: hidden !important;
    border-radius: 24px !important;
    border: 1px solid rgba(230, 216, 207, 0.86) !important;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.99) 0%, rgba(255, 249, 245, 0.98) 100%) !important;
    box-shadow: 0 10px 24px rgba(41, 28, 21, 0.035) !important;
  }

  .afp-builder-shell.afp-shell--mobile .afp-tier-table colgroup {
    display: table-column-group !important;
  }

  .afp-builder-shell.afp-shell--mobile .afp-tier-table col {
    display: table-column !important;
  }

  .afp-builder-shell.afp-shell--mobile .afp-tier-table col:first-child {
    width: 52% !important;
  }

  .afp-builder-shell.afp-shell--mobile .afp-tier-table col:last-child {
    width: 48% !important;
  }

  .afp-builder-shell.afp-shell--mobile .afp-tier-table thead {
    display: table-header-group !important;
  }

  .afp-builder-shell.afp-shell--mobile .afp-tier-table tbody,
  .afp-builder-shell.afp-shell--mobile .afp-result-table tbody {
    display: table-row-group !important;
  }

  .afp-builder-shell.afp-shell--mobile .afp-tier-table tr,
  .afp-builder-shell.afp-shell--mobile .afp-result-table tr {
    display: table-row !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  .afp-builder-shell.afp-shell--mobile .afp-tier-table th,
  .afp-builder-shell.afp-shell--mobile .afp-tier-table td,
  .afp-builder-shell.afp-shell--mobile .afp-result-table th,
  .afp-builder-shell.afp-shell--mobile .afp-result-table td {
    display: table-cell !important;
    float: none !important;
    position: static !important;
    min-width: 0 !important;
    max-width: none !important;
    width: auto !important;
    margin: 0 !important;
    padding: 16px 14px !important;
    border-top: 0 !important;
    border-left: 0 !important;
    border-right: 1px solid rgba(230, 216, 207, 0.72) !important;
    border-bottom: 1px solid rgba(230, 216, 207, 0.72) !important;
    vertical-align: middle !important;
    background: transparent !important;
    box-shadow: none !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    hyphens: none !important;
    transform: none !important;
  }

  .afp-builder-shell.afp-shell--mobile .afp-tier-table th:last-child,
  .afp-builder-shell.afp-shell--mobile .afp-tier-table td:last-child,
  .afp-builder-shell.afp-shell--mobile .afp-result-table th:last-child,
  .afp-builder-shell.afp-shell--mobile .afp-result-table td:last-child {
    border-right: 0 !important;
  }

  .afp-builder-shell.afp-shell--mobile .afp-tier-table tbody tr:last-child td,
  .afp-builder-shell.afp-shell--mobile .afp-result-table tbody tr:last-child td,
  .afp-builder-shell.afp-shell--mobile .afp-result-table tbody tr:last-child th {
    border-bottom: 0 !important;
  }

  .afp-builder-shell.afp-shell--mobile .afp-tier-table thead tr:first-child th {
    display: table-cell !important;
    width: auto !important;
    padding: 18px 18px 15px !important;
    border-right: 0 !important;
    border-bottom: 1px solid rgba(230, 216, 207, 0.74) !important;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.99) 0%, rgba(248, 239, 233, 0.94) 100%) !important;
    color: var(--afp-accent, #b56c52) !important;
    font-size: clamp(16px, 5vw, 18px) !important;
    line-height: 1.14 !important;
    letter-spacing: -0.01em !important;
    font-weight: 900 !important;
    text-transform: none !important;
    text-align: left !important;
  }

  .afp-builder-shell.afp-shell--mobile .afp-tier-table thead tr:first-child th[colspan] {
    width: 100% !important;
  }

  .afp-builder-shell.afp-shell--mobile .afp-tier-table thead tr:nth-child(2) th {
    padding-top: 13px !important;
    padding-bottom: 13px !important;
    background: rgba(255, 252, 249, 0.96) !important;
    color: #8f7a70 !important;
    font-size: 10px !important;
    line-height: 1.15 !important;
    letter-spacing: 0.16em !important;
    text-transform: uppercase !important;
    font-weight: 900 !important;
  }

  .afp-builder-shell.afp-shell--mobile .afp-tier-table thead tr:nth-child(2) th:last-child {
    text-align: right !important;
  }

  .afp-builder-shell.afp-shell--mobile .afp-tier-table tbody td:first-child {
    font-size: 14px !important;
    line-height: 1.28 !important;
    font-weight: 800 !important;
    color: var(--afp-text, #2a201b) !important;
    white-space: nowrap !important;
  }

  .afp-builder-shell.afp-shell--mobile .afp-tier-table tbody td:last-child {
    text-align: right !important;
    white-space: nowrap !important;
    font-size: 15px !important;
    line-height: 1.18 !important;
    font-weight: 900 !important;
    color: var(--afp-text, #2a201b) !important;
  }

  .afp-builder-shell.afp-shell--mobile .afp-tier-table tbody td:last-child .afp-range-price-unit {
    display: inline !important;
    white-space: nowrap !important;
    color: #8f7a70 !important;
    font-weight: 800 !important;
  }

  .afp-builder-shell.afp-shell--mobile .afp-tier-table tbody tr.is-current td {
    background: linear-gradient(180deg, rgba(251, 244, 239, 0.98) 0%, rgba(247, 236, 229, 0.95) 100%) !important;
  }

  .afp-builder-shell.afp-shell--mobile .afp-tier-table tbody tr.is-current td:first-child {
    box-shadow: inset 4px 0 0 var(--afp-accent, #b56c52) !important;
  }

  .afp-builder-shell.afp-shell--mobile .afp-result-table {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.99) 0%, rgba(255, 250, 246, 0.98) 100%) !important;
  }

  .afp-builder-shell.afp-shell--mobile .afp-result-table td:first-child,
  .afp-builder-shell.afp-shell--mobile .afp-result-table th:first-child {
    width: 43% !important;
    text-align: left !important;
    color: #8f7a70 !important;
    font-size: 11px !important;
    line-height: 1.24 !important;
    letter-spacing: 0.13em !important;
    text-transform: uppercase !important;
    font-weight: 900 !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    hyphens: none !important;
  }

  .afp-builder-shell.afp-shell--mobile .afp-result-table td:last-child,
  .afp-builder-shell.afp-shell--mobile .afp-result-table th:last-child {
    width: 57% !important;
    text-align: right !important;
    white-space: nowrap !important;
    color: var(--afp-text, #2a201b) !important;
    font-size: clamp(15px, 4.8vw, 18px) !important;
    line-height: 1.18 !important;
    font-weight: 900 !important;
  }

  .afp-builder-shell.afp-shell--mobile .afp-result-meta-row td {
    background: linear-gradient(180deg, rgba(255, 252, 249, 0.96) 0%, rgba(248, 240, 234, 0.90) 100%) !important;
  }

  .afp-builder-shell.afp-shell--mobile .afp-result-meta-row strong {
    display: inline !important;
    white-space: nowrap !important;
    font-size: clamp(15px, 4.8vw, 18px) !important;
    line-height: 1.2 !important;
    font-weight: 900 !important;
    color: var(--afp-text, #2a201b) !important;
  }

  .afp-builder-shell.afp-shell--mobile .afp-result-meta-row em {
    font-style: normal !important;
    white-space: nowrap !important;
    color: #8f7a70 !important;
    font-weight: 800 !important;
  }

  .afp-builder-shell.afp-shell--mobile .afp-result-table tbody tr[data-afp-row="base"] td:first-child,
  .afp-builder-shell.afp-shell--mobile .afp-result-table tbody tr[data-afp-fee-row] td:first-child {
    text-transform: none !important;
    letter-spacing: 0.04em !important;
    font-size: 11px !important;
    line-height: 1.32 !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
  }

  .afp-builder-shell.afp-shell--mobile .afp-result-table tbody tr[data-afp-row="base"] td:last-child,
  .afp-builder-shell.afp-shell--mobile .afp-result-table tbody tr[data-afp-fee-row] td:last-child {
    font-size: 16px !important;
  }
}

@media (max-width: 380px) {
  .afp-builder-shell.afp-shell--mobile .afp-tier-table th,
  .afp-builder-shell.afp-shell--mobile .afp-tier-table td,
  .afp-builder-shell.afp-shell--mobile .afp-result-table th,
  .afp-builder-shell.afp-shell--mobile .afp-result-table td {
    padding: 14px 12px !important;
  }

  .afp-builder-shell.afp-shell--mobile .afp-tier-table thead tr:first-child th {
    padding: 16px 16px 14px !important;
    font-size: 15px !important;
  }

  .afp-builder-shell.afp-shell--mobile .afp-tier-table tbody td:first-child,
  .afp-builder-shell.afp-shell--mobile .afp-tier-table tbody td:last-child,
  .afp-builder-shell.afp-shell--mobile .afp-result-table td:last-child,
  .afp-builder-shell.afp-shell--mobile .afp-result-table th:last-child {
    font-size: 14px !important;
  }

  .afp-builder-shell.afp-shell--mobile .afp-result-table td:first-child,
  .afp-builder-shell.afp-shell--mobile .afp-result-table th:first-child {
    width: 44% !important;
    font-size: 10px !important;
    letter-spacing: 0.11em !important;
  }

  .afp-builder-shell.afp-shell--mobile .afp-result-table td:last-child,
  .afp-builder-shell.afp-shell--mobile .afp-result-table th:last-child {
    width: 56% !important;
  }
}
