/* 1.9.74 — mobile premium table polish */

@media (max-width: 767px) {
  .afp-widget.afp-builder-shell.afp-shell--mobile .afp-range-toggle {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
  }

  .afp-widget.afp-builder-shell.afp-shell--mobile .afp-range-toggle__action {
    align-self: flex-start !important;
    margin-left: 0 !important;
  }

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

  .afp-widget.afp-builder-shell.afp-shell--mobile .afp-price-table,
  .afp-widget.afp-builder-shell.afp-shell--mobile .afp-price-table-wrap,
  .afp-widget.afp-builder-shell.afp-shell--mobile .afp-range-shell,
  .afp-widget.afp-builder-shell.afp-shell--mobile .afp-range-panel,
  .afp-widget.afp-builder-shell.afp-shell--mobile .afp-summary {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

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

  .afp-widget.afp-builder-shell.afp-shell--mobile .afp-tier-table colgroup,
  .afp-widget.afp-builder-shell.afp-shell--mobile .afp-tier-table col {
    display: none !important;
  }

  .afp-widget.afp-builder-shell.afp-shell--mobile .afp-tier-table thead,
  .afp-widget.afp-builder-shell.afp-shell--mobile .afp-tier-table tbody,
  .afp-widget.afp-builder-shell.afp-shell--mobile .afp-result-table tbody {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .afp-widget.afp-builder-shell.afp-shell--mobile .afp-tier-table thead tr,
  .afp-widget.afp-builder-shell.afp-shell--mobile .afp-tier-table tbody tr,
  .afp-widget.afp-builder-shell.afp-shell--mobile .afp-result-table tbody tr {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
  }

  .afp-widget.afp-builder-shell.afp-shell--mobile .afp-tier-table tr::before,
  .afp-widget.afp-builder-shell.afp-shell--mobile .afp-tier-table tr::after,
  .afp-widget.afp-builder-shell.afp-shell--mobile .afp-tier-table td::before,
  .afp-widget.afp-builder-shell.afp-shell--mobile .afp-tier-table td::after,
  .afp-widget.afp-builder-shell.afp-shell--mobile .afp-tier-table th::before,
  .afp-widget.afp-builder-shell.afp-shell--mobile .afp-tier-table th::after,
  .afp-widget.afp-builder-shell.afp-shell--mobile .afp-result-table tr::before,
  .afp-widget.afp-builder-shell.afp-shell--mobile .afp-result-table tr::after,
  .afp-widget.afp-builder-shell.afp-shell--mobile .afp-result-table td::before,
  .afp-widget.afp-builder-shell.afp-shell--mobile .afp-result-table td::after,
  .afp-widget.afp-builder-shell.afp-shell--mobile .afp-result-table th::before,
  .afp-widget.afp-builder-shell.afp-shell--mobile .afp-result-table th::after {
    content: none !important;
    display: none !important;
  }

  .afp-widget.afp-builder-shell.afp-shell--mobile .afp-tier-table thead tr:first-child {
    display: block !important;
  }

  .afp-widget.afp-builder-shell.afp-shell--mobile .afp-tier-table thead tr:first-child th {
    display: block !important;
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 18px 18px 16px !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(230, 216, 207, 0.74) !important;
    border-radius: 0 !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;
    white-space: normal !important;
  }

  .afp-widget.afp-builder-shell.afp-shell--mobile .afp-tier-table thead tr:nth-child(2) {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    width: 100% !important;
  }

  .afp-widget.afp-builder-shell.afp-shell--mobile .afp-tier-table thead tr:nth-child(2) th,
  .afp-widget.afp-builder-shell.afp-shell--mobile .afp-tier-table tbody td {
    display: flex !important;
    align-items: center !important;
    min-height: 52px !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 13px 14px !important;
    border: 0 !important;
    border-right: 1px solid rgba(230, 216, 207, 0.74) !important;
    border-bottom: 1px solid rgba(230, 216, 207, 0.74) !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    transform: none !important;
    text-indent: 0 !important;
    white-space: nowrap !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    hyphens: none !important;
  }

  .afp-widget.afp-builder-shell.afp-shell--mobile .afp-tier-table thead tr:nth-child(2) th {
    background: rgba(255,252,249,0.96) !important;
    color: #8f7a70 !important;
    font-size: 11px !important;
    line-height: 1.15 !important;
    letter-spacing: 0.13em !important;
    text-transform: uppercase !important;
    font-weight: 900 !important;
    justify-content: flex-start !important;
  }

  .afp-widget.afp-builder-shell.afp-shell--mobile .afp-tier-table thead tr:nth-child(2) th:last-child {
    justify-content: flex-end !important;
    text-align: right !important;
    border-right: 0 !important;
  }

  .afp-widget.afp-builder-shell.afp-shell--mobile .afp-tier-table tbody tr {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  }

  .afp-widget.afp-builder-shell.afp-shell--mobile .afp-tier-table tbody td:first-child {
    font-size: clamp(14px, 4.2vw, 15px) !important;
    line-height: 1.24 !important;
    font-weight: 800 !important;
    color: var(--afp-text, #2a201b) !important;
    justify-content: flex-start !important;
  }

  .afp-widget.afp-builder-shell.afp-shell--mobile .afp-tier-table tbody td:last-child {
    font-size: clamp(14px, 4.5vw, 16px) !important;
    line-height: 1.18 !important;
    font-weight: 900 !important;
    color: var(--afp-text, #2a201b) !important;
    justify-content: flex-end !important;
    text-align: right !important;
    border-right: 0 !important;
  }

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

  .afp-widget.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-widget.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-widget.afp-builder-shell.afp-shell--mobile .afp-tier-table tbody td:last-child .woocommerce-Price-amount,
  .afp-widget.afp-builder-shell.afp-shell--mobile .afp-tier-table tbody td:last-child .woocommerce-Price-currencySymbol,
  .afp-widget.afp-builder-shell.afp-shell--mobile .afp-tier-table tbody td:last-child .amount,
  .afp-widget.afp-builder-shell.afp-shell--mobile .afp-tier-table tbody td:last-child bdi,
  .afp-widget.afp-builder-shell.afp-shell--mobile .afp-tier-table tbody td:last-child span,
  .afp-widget.afp-builder-shell.afp-shell--mobile .afp-tier-table tbody td:last-child small,
  .afp-widget.afp-builder-shell.afp-shell--mobile .afp-result-table td:last-child .woocommerce-Price-amount,
  .afp-widget.afp-builder-shell.afp-shell--mobile .afp-result-table td:last-child .woocommerce-Price-currencySymbol,
  .afp-widget.afp-builder-shell.afp-shell--mobile .afp-result-table td:last-child .amount,
  .afp-widget.afp-builder-shell.afp-shell--mobile .afp-result-table td:last-child bdi,
  .afp-widget.afp-builder-shell.afp-shell--mobile .afp-result-table td:last-child span,
  .afp-widget.afp-builder-shell.afp-shell--mobile .afp-result-table td:last-child em,
  .afp-widget.afp-builder-shell.afp-shell--mobile .afp-result-table td:last-child strong {
    display: inline !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    white-space: nowrap !important;
    line-height: inherit !important;
    transform: none !important;
  }

  .afp-widget.afp-builder-shell.afp-shell--mobile .afp-tier-table tbody td:last-child .afp-range-price-unit,
  .afp-widget.afp-builder-shell.afp-shell--mobile .afp-result-table td:last-child em {
    color: #8f7a70 !important;
    font-weight: 800 !important;
    font-style: normal !important;
  }

  .afp-widget.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-widget.afp-builder-shell.afp-shell--mobile .afp-result-table tbody tr {
    display: grid !important;
    grid-template-columns: minmax(0, 42%) minmax(0, 58%) !important;
  }

  .afp-widget.afp-builder-shell.afp-shell--mobile .afp-result-table td,
  .afp-widget.afp-builder-shell.afp-shell--mobile .afp-result-table th {
    display: flex !important;
    align-items: center !important;
    min-height: 58px !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 16px 14px !important;
    border: 0 !important;
    border-right: 1px solid rgba(230, 216, 207, 0.74) !important;
    border-bottom: 1px solid rgba(230, 216, 207, 0.74) !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    transform: none !important;
    text-indent: 0 !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    hyphens: none !important;
  }

  .afp-widget.afp-builder-shell.afp-shell--mobile .afp-result-table tr > :last-child {
    border-right: 0 !important;
  }

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

  .afp-widget.afp-builder-shell.afp-shell--mobile .afp-result-table td:first-child,
  .afp-widget.afp-builder-shell.afp-shell--mobile .afp-result-table th:first-child {
    justify-content: flex-start !important;
    color: #8f7a70 !important;
    font-size: 11px !important;
    line-height: 1.24 !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
    font-weight: 900 !important;
    white-space: normal !important;
  }

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

  .afp-widget.afp-builder-shell.afp-shell--mobile .afp-result-table tbody tr[data-afp-row="base"] > td:first-child,
  .afp-widget.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.03em !important;
    font-size: 11px !important;
    line-height: 1.34 !important;
  }

  .afp-widget.afp-builder-shell.afp-shell--mobile .afp-result-table tbody tr[data-afp-row="base"] > td:last-child,
  .afp-widget.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-widget.afp-builder-shell.afp-shell--mobile .afp-tier-table thead tr:first-child th,
  .afp-widget.afp-builder-shell.afp-shell--mobile .afp-result-table td,
  .afp-widget.afp-builder-shell.afp-shell--mobile .afp-result-table th {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  .afp-widget.afp-builder-shell.afp-shell--mobile .afp-tier-table thead tr:nth-child(2) th,
  .afp-widget.afp-builder-shell.afp-shell--mobile .afp-tier-table tbody td {
    min-height: 50px !important;
    padding: 12px !important;
  }

  .afp-widget.afp-builder-shell.afp-shell--mobile .afp-tier-table thead tr:nth-child(2) th,
  .afp-widget.afp-builder-shell.afp-shell--mobile .afp-result-table td:first-child,
  .afp-widget.afp-builder-shell.afp-shell--mobile .afp-result-table th:first-child {
    font-size: 10px !important;
    letter-spacing: 0.1em !important;
  }

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