/* 1.9.69 — premium responsive surgical cleanup */

.afp-widget .afp-range-toggle,
.afp-widget .afp-tier-table,
.afp-widget .afp-result-table,
.afp-widget .afp-submit-row,
.afp-widget .afp-discount-note {
  border-color: color-mix(in srgb, var(--afp-border, #e6d8cf) 84%, white 16%) !important;
}

.afp-widget .afp-range-toggle__action {
  box-shadow: inset 0 1px 0 rgba(255,255,255,.92), 0 8px 18px rgba(41, 28, 21, .04) !important;
}

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

@media (min-width: 521px) {
  .afp-builder-shell:not(.afp-shell--mobile) .afp-range-toggle {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 16px !important;
  }

  .afp-builder-shell:not(.afp-shell--mobile) .afp-range-toggle__title {
    min-width: 0 !important;
    flex: 1 1 auto !important;
  }

  .afp-builder-shell:not(.afp-shell--mobile) .afp-range-toggle__action {
    margin-left: auto !important;
    flex: 0 0 auto !important;
  }

  .afp-builder-shell:not(.afp-shell--mobile) .afp-tier-table,
  .afp-builder-shell:not(.afp-shell--mobile) .afp-result-table {
    display: table !important;
    width: 100% !important;
    table-layout: fixed !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    overflow: hidden !important;
  }

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

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

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

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

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

  .afp-builder-shell:not(.afp-shell--mobile) .afp-tier-table th,
  .afp-builder-shell:not(.afp-shell--mobile) .afp-tier-table td,
  .afp-builder-shell:not(.afp-shell--mobile) .afp-result-table th,
  .afp-builder-shell:not(.afp-shell--mobile) .afp-result-table td {
    display: table-cell !important;
    width: auto !important;
    min-width: 0 !important;
    padding: 15px 18px !important;
    border-top: 0 !important;
    border-left: 0 !important;
    border-right: 1px solid rgba(230, 216, 207, .74) !important;
    border-bottom: 1px solid rgba(230, 216, 207, .74) !important;
    background-clip: padding-box !important;
    vertical-align: middle !important;
    white-space: normal !important;
  }

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

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

  .afp-builder-shell:not(.afp-shell--mobile) .afp-tier-table thead tr:first-child th {
    padding: 16px 18px !important;
    font-size: 13px !important;
    letter-spacing: .14em !important;
    text-transform: uppercase !important;
    font-weight: 900 !important;
    color: var(--afp-text, #2a201b) !important;
    background: linear-gradient(180deg, rgba(255,255,255,.98) 0%, rgba(250,242,236,.96) 100%) !important;
  }

  .afp-builder-shell:not(.afp-shell--mobile) .afp-tier-table thead tr:nth-child(2) th {
    font-size: 11px !important;
    letter-spacing: .16em !important;
    text-transform: uppercase !important;
    color: color-mix(in srgb, var(--afp-muted, #8f7a70) 92%, white 8%) !important;
    background: rgba(255, 250, 246, .9) !important;
  }

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

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

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

  .afp-builder-shell:not(.afp-shell--mobile) .afp-result-table {
    border-radius: 26px !important;
    background: linear-gradient(180deg, rgba(255,255,255,.99) 0%, rgba(255,250,246,.98) 100%) !important;
    box-shadow: 0 14px 30px rgba(41, 28, 21, .04) !important;
  }

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

  .afp-builder-shell:not(.afp-shell--mobile) .afp-result-meta-row td:first-child {
    width: 44% !important;
    color: color-mix(in srgb, var(--afp-muted, #8f7a70) 92%, white 8%) !important;
    letter-spacing: .16em !important;
    text-transform: uppercase !important;
    font-size: 11px !important;
    line-height: 1.25 !important;
  }

  .afp-builder-shell:not(.afp-shell--mobile) .afp-result-meta-row td:last-child {
    width: 56% !important;
    text-align: right !important;
  }

  .afp-builder-shell:not(.afp-shell--mobile) .afp-result-meta-row strong {
    display: inline-flex !important;
    align-items: baseline !important;
    gap: .08em !important;
    font-size: 17px !important;
    line-height: 1.28 !important;
    font-weight: 900 !important;
    color: var(--afp-text, #2a201b) !important;
    white-space: nowrap !important;
  }

  .afp-builder-shell:not(.afp-shell--mobile) .afp-result-table tbody tr[data-afp-row="base"] td:first-child,
  .afp-builder-shell:not(.afp-shell--mobile) .afp-result-table tbody tr[data-afp-fee-row] td:first-child {
    font-size: 12px !important;
    line-height: 1.34 !important;
    letter-spacing: .08em !important;
    text-transform: uppercase !important;
    color: color-mix(in srgb, var(--afp-muted, #8f7a70) 88%, white 12%) !important;
  }

  .afp-builder-shell:not(.afp-shell--mobile) .afp-result-table tbody tr[data-afp-row="base"] td:last-child,
  .afp-builder-shell:not(.afp-shell--mobile) .afp-result-table tbody tr[data-afp-fee-row] td:last-child {
    text-align: right !important;
    white-space: nowrap !important;
    font-size: 17px !important;
    font-weight: 900 !important;
    color: var(--afp-text, #2a201b) !important;
  }

  .afp-builder-shell:not(.afp-shell--mobile) .afp-submit-row {
    grid-template-columns: minmax(0, 1fr) minmax(270px, 340px) !important;
    align-items: center !important;
  }

  .afp-builder-shell:not(.afp-shell--mobile) .afp-submit-row__total strong {
    white-space: nowrap !important;
  }
}

@container afp-shell (min-width: 521px) and (max-width: 760px) {
  .afp-builder-shell .afp-range-panel {
    padding: 0 16px 16px !important;
  }

  .afp-builder-shell .afp-tier-table thead tr:first-child th,
  .afp-builder-shell .afp-tier-table thead tr:nth-child(2) th,
  .afp-builder-shell .afp-tier-table tbody td,
  .afp-builder-shell .afp-result-table th,
  .afp-builder-shell .afp-result-table td {
    padding: 14px 16px !important;
  }

  .afp-builder-shell .afp-result-meta-row td:first-child {
    width: 46% !important;
  }
}

@container afp-shell (max-width: 520px) {
  .afp-builder-shell .afp-range-toggle {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    gap: 12px !important;
  }

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

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

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

  .afp-builder-shell .afp-tier-table {
    display: block !important;
    width: 100% !important;
    overflow: hidden !important;
    border: 1px solid rgba(230, 216, 207, .86) !important;
    border-radius: 24px !important;
    background: linear-gradient(180deg, rgba(255,255,255,.99) 0%, rgba(255,249,245,.98) 100%) !important;
    box-shadow: 0 12px 26px rgba(41, 28, 21, .032) !important;
  }

  .afp-builder-shell .afp-tier-table colgroup,
  .afp-builder-shell .afp-tier-table col,
  .afp-builder-shell .afp-tier-table thead tr:nth-child(2) {
    display: none !important;
  }

  .afp-builder-shell .afp-tier-table thead,
  .afp-builder-shell .afp-tier-table tbody {
    display: block !important;
  }

  .afp-builder-shell .afp-tier-table thead tr:first-child,
  .afp-builder-shell .afp-tier-table thead tr:first-child th {
    display: block !important;
    width: 100% !important;
  }

  .afp-builder-shell .afp-tier-table thead tr:first-child th {
    padding: 16px 16px 12px !important;
    border: 0 !important;
    background: linear-gradient(180deg, rgba(255,255,255,.99) 0%, rgba(249,241,235,.95) 100%) !important;
    font-size: 12px !important;
    letter-spacing: .16em !important;
    text-transform: uppercase !important;
    font-weight: 900 !important;
  }

  .afp-builder-shell .afp-tier-table tbody {
    padding: 0 12px 12px !important;
  }

  .afp-builder-shell .afp-tier-table tbody tr {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 10px 14px !important;
    align-items: center !important;
    padding: 14px 16px !important;
    margin: 0 0 10px !important;
    border: 1px solid rgba(230, 216, 207, .74) !important;
    border-radius: 18px !important;
    background: linear-gradient(180deg, rgba(255,254,252,.99) 0%, rgba(255,248,243,.98) 100%) !important;
  }

  .afp-builder-shell .afp-tier-table tbody tr:last-child {
    margin-bottom: 0 !important;
  }

  .afp-builder-shell .afp-tier-table tbody tr.is-current {
    border-color: rgba(181, 108, 82, .28) !important;
    background: linear-gradient(180deg, rgba(251,244,239,.98) 0%, rgba(247,236,229,.95) 100%) !important;
    box-shadow: 0 12px 24px rgba(181, 108, 82, .08) !important;
  }

  .afp-builder-shell .afp-tier-table tbody td {
    display: block !important;
    min-width: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

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

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

  .afp-builder-shell .afp-result-table {
    display: block !important;
    width: 100% !important;
    overflow: hidden !important;
    border-radius: 24px !important;
    background: linear-gradient(180deg, rgba(255,255,255,.99) 0%, rgba(255,250,246,.98) 100%) !important;
    box-shadow: 0 12px 26px rgba(41, 28, 21, .032) !important;
  }

  .afp-builder-shell .afp-result-table tbody {
    display: block !important;
  }

  .afp-builder-shell .afp-result-table tr {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 10px 14px !important;
    align-items: center !important;
    padding: 14px 16px !important;
    margin: 0 !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(230, 216, 207, .74) !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  .afp-builder-shell .afp-result-table tr:last-child {
    border-bottom: 0 !important;
  }

  .afp-builder-shell .afp-result-table td,
  .afp-builder-shell .afp-result-table th {
    display: block !important;
    min-width: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  .afp-builder-shell .afp-result-meta-row td:first-child,
  .afp-builder-shell .afp-result-table tbody tr[data-afp-row="base"] td:first-child,
  .afp-builder-shell .afp-result-table tbody tr[data-afp-fee-row] td:first-child {
    font-size: 10px !important;
    line-height: 1.18 !important;
    letter-spacing: .17em !important;
    text-transform: uppercase !important;
    color: color-mix(in srgb, var(--afp-muted, #8f7a70) 92%, white 8%) !important;
    font-weight: 800 !important;
  }

  .afp-builder-shell .afp-result-meta-row td:last-child,
  .afp-builder-shell .afp-result-table tbody tr[data-afp-row="base"] td:last-child,
  .afp-builder-shell .afp-result-table tbody tr[data-afp-fee-row] td:last-child {
    text-align: right !important;
    white-space: nowrap !important;
    font-size: 16px !important;
    font-weight: 900 !important;
    color: var(--afp-text, #2a201b) !important;
  }

  .afp-builder-shell .afp-result-meta-row strong {
    display: inline-flex !important;
    align-items: baseline !important;
    gap: .08em !important;
    white-space: nowrap !important;
  }

  .afp-builder-shell .afp-submit-row {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    align-items: stretch !important;
  }

  .afp-builder-shell .afp-submit-row__actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  .afp-builder-shell .afp-submit-row__actions > .button,
  .afp-builder-shell .afp-submit-row__actions > .afp-add-to-cart.single_add_to_cart_button.button.alt,
  .afp-builder-shell .afp-submit-row__actions > .afp-checkout-button.button {
    width: 100% !important;
  }
}

@container afp-shell (max-width: 380px) {
  .afp-builder-shell .afp-tier-table thead tr:first-child th,
  .afp-builder-shell .afp-tier-table tbody tr,
  .afp-builder-shell .afp-result-table tr {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

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

  .afp-builder-shell .afp-submit-row__total strong {
    font-size: clamp(30px, 8vw, 38px) !important;
  }
}
