/* 1.9.67 — unified premium responsive restore */

.afp-widget .afp-range-shell,
.afp-widget .afp-result-table,
.afp-widget .afp-option-row,
.afp-widget .afp-discount-note,
.afp-widget .afp-submit-row {
  border-color: color-mix(in srgb, var(--afp-border, #e6d8cf) 88%, white 12%) !important;
}

.afp-widget .afp-range-shell {
  border-radius: 28px !important;
  background: linear-gradient(180deg, rgba(255, 254, 252, 0.99) 0%, rgba(255, 249, 245, 0.98) 100%) !important;
  box-shadow: 0 16px 36px rgba(41, 28, 21, 0.045) !important;
  overflow: hidden !important;
}

.afp-widget .afp-range-toggle {
  min-height: 68px !important;
  padding: 18px 20px !important;
  gap: 14px !important;
}

.afp-widget .afp-range-toggle__title {
  font-size: 16px !important;
  line-height: 1.3 !important;
  font-weight: 900 !important;
  color: var(--afp-text, #2a201b) !important;
}

.afp-widget .afp-range-toggle__action {
  min-height: 44px !important;
  min-width: 162px !important;
  padding: 0 18px !important;
  border-radius: 999px !important;
  border: 1px solid color-mix(in srgb, var(--afp-border, #e6d8cf) 78%, var(--afp-accent, #b56c52) 22%) !important;
  background: linear-gradient(180deg, rgba(255, 252, 249, 1) 0%, rgba(247, 237, 230, 0.9) 100%) !important;
  color: var(--afp-accent, #b56c52) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95) !important;
}

.afp-widget .afp-range-panel {
  padding: 0 18px 18px !important;
}

.afp-widget .afp-preview-card {
  width: 100% !important;
}

.afp-widget .afp-result-table {
  width: 100% !important;
  table-layout: fixed !important;
  border-radius: 26px !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99) 0%, rgba(255, 250, 246, 0.98) 100%) !important;
  box-shadow: 0 14px 32px rgba(41, 28, 21, 0.04) !important;
  overflow: hidden !important;
}

.afp-widget .afp-result-table td,
.afp-widget .afp-result-table th {
  padding: 15px 18px !important;
  vertical-align: middle !important;
}

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

.afp-widget .afp-result-meta-row td:first-child {
  width: 46% !important;
  color: color-mix(in srgb, var(--afp-muted, #8f7a70) 92%, white 8%) !important;
  letter-spacing: 0.16em !important;
}

.afp-widget .afp-result-meta-row td:last-child {
  width: 54% !important;
}

.afp-widget .afp-result-meta-row strong {
  font-size: 17px !important;
  line-height: 1.28 !important;
  font-weight: 900 !important;
  color: var(--afp-text, #2a201b) !important;
}

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

.afp-widget .afp-result-table tbody tr[data-afp-row="base"] td:last-child {
  font-size: 17px !important;
  font-weight: 900 !important;
}

.afp-widget .afp-result-table tbody tr:not(.afp-result-meta-row):hover td {
  background: rgba(255, 248, 243, 0.72) !important;
}

.afp-widget .afp-submit-row {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 340px) !important;
  gap: 20px !important;
  align-items: center !important;
  margin-top: 16px !important;
  padding: 18px 0 0 !important;
  border-top: 1px solid rgba(181, 108, 82, 0.14) !important;
  border-left: 0 !important;
  border-right: 0 !important;
  border-bottom: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

.afp-widget .afp-submit-row__total {
  min-width: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  gap: 6px !important;
}

.afp-widget .afp-submit-row__label {
  font-size: 11px !important;
  line-height: 1.1 !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
  font-weight: 900 !important;
  color: color-mix(in srgb, var(--afp-muted, #8f7a70) 90%, white 10%) !important;
}

.afp-widget .afp-submit-row__total strong {
  display: inline-flex !important;
  align-items: baseline !important;
  flex-wrap: nowrap !important;
  gap: 0.08em !important;
  max-width: 100% !important;
  font-size: clamp(46px, 4.8vw, 60px) !important;
  line-height: 0.96 !important;
  letter-spacing: -0.045em !important;
  font-weight: 950 !important;
  color: var(--afp-text, #2a201b) !important;
  white-space: nowrap !important;
  text-wrap: nowrap !important;
}

.afp-widget .afp-submit-row__total strong .woocommerce-Price-amount,
.afp-widget .afp-submit-row__total strong .amount,
.afp-widget .afp-submit-row__total strong bdi {
  display: inline-flex !important;
  align-items: baseline !important;
  white-space: nowrap !important;
}

.afp-widget .afp-submit-row__actions {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 12px !important;
  width: 100% !important;
}

.afp-widget .afp-submit-row__actions > .button,
.afp-widget .afp-submit-row__actions > .afp-add-to-cart.single_add_to_cart_button.button.alt,
.afp-widget .afp-submit-row__actions > .afp-checkout-button.button {
  width: 100% !important;
  min-height: 58px !important;
  border-radius: 999px !important;
}

.afp-widget .afp-discount-note {
  display: grid !important;
  grid-template-columns: 46px minmax(0, 1fr) !important;
  gap: 14px !important;
  align-items: center !important;
  margin-top: 16px !important;
  padding: 16px 18px !important;
  border-radius: 24px !important;
  background: linear-gradient(180deg, rgba(255, 253, 251, 0.98) 0%, rgba(255, 248, 243, 0.98) 100%) !important;
  box-shadow: 0 10px 24px rgba(41, 28, 21, 0.032) !important;
}

.afp-widget .afp-discount-note__icon {
  width: 40px !important;
  height: 40px !important;
  border-radius: 50% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 22px !important;
  font-weight: 900 !important;
  color: #fff !important;
  background: linear-gradient(180deg, color-mix(in srgb, var(--afp-accent, #b56c52) 92%, white 8%) 0%, color-mix(in srgb, var(--afp-accent, #b56c52) 82%, #8d5d4f 18%) 100%) !important;
  box-shadow: 0 10px 18px rgba(181, 108, 82, 0.18) !important;
}

.afp-widget .afp-discount-note__content strong {
  display: block !important;
  font-size: 18px !important;
  line-height: 1.22 !important;
  color: var(--afp-text, #2a201b) !important;
}

.afp-widget .afp-discount-note__content span {
  display: block !important;
  margin-top: 4px !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
  color: color-mix(in srgb, var(--afp-muted, #8f7a70) 90%, white 10%) !important;
}

.afp-widget .afp-option-row {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 16px !important;
  min-height: 96px !important;
  padding: 16px 18px !important;
  border-radius: 24px !important;
  background: linear-gradient(180deg, rgba(255, 254, 252, 0.99) 0%, rgba(255, 249, 245, 0.98) 100%) !important;
  box-shadow: 0 12px 28px rgba(41, 28, 21, 0.032) !important;
}

.afp-widget .afp-option-row__left {
  min-width: 0 !important;
}

.afp-widget .afp-option-row__title {
  display: block !important;
  font-size: 16px !important;
  line-height: 1.28 !important;
  font-weight: 800 !important;
  color: var(--afp-text, #2a201b) !important;
}

.afp-widget .afp-option-row__meta {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 24px !important;
  margin-top: 8px !important;
  padding: 0 10px !important;
  border-radius: 999px !important;
  font-size: 11px !important;
  line-height: 1 !important;
  letter-spacing: 0.02em !important;
  background: rgba(181, 108, 82, 0.08) !important;
  color: color-mix(in srgb, var(--afp-muted, #8f7a70) 88%, white 12%) !important;
}

.afp-widget .afp-option-row__price {
  min-width: 146px !important;
  min-height: 48px !important;
  padding: 0 18px !important;
  border-radius: 999px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 17px !important;
  font-weight: 900 !important;
  white-space: nowrap !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;
}

.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;
}

.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;
}

.afp-builder-shell:not(.afp-shell--mobile) .afp-tier-table {
  width: 100% !important;
  table-layout: fixed !important;
  border-radius: 22px !important;
  overflow: hidden !important;
  background: rgba(255, 255, 255, 0.98) !important;
}

.afp-builder-shell:not(.afp-shell--mobile) .afp-tier-table thead tr:first-child th {
  padding: 18px 20px !important;
  text-align: center !important;
  font-size: 13px !important;
  line-height: 1.15 !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase !important;
  color: var(--afp-accent, #b56c52) !important;
  background: linear-gradient(180deg, rgba(255, 252, 249, 1) 0%, rgba(249, 241, 235, 0.95) 100%) !important;
}

.afp-builder-shell:not(.afp-shell--mobile) .afp-tier-table thead tr:nth-child(2) th {
  width: 50% !important;
  padding: 14px 18px !important;
  font-size: 11px !important;
  line-height: 1 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  color: color-mix(in srgb, var(--afp-muted, #8f7a70) 92%, white 8%) !important;
  background: rgba(255, 249, 244, 0.92) !important;
}

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

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

.afp-builder-shell:not(.afp-shell--mobile) .afp-tier-table tbody td {
  width: 50% !important;
  padding: 18px 18px !important;
  vertical-align: middle !important;
  background: transparent !important;
}

.afp-builder-shell:not(.afp-shell--mobile) .afp-tier-table tbody td:first-child {
  text-align: left !important;
  font-size: 15px !important;
  line-height: 1.25 !important;
  font-weight: 800 !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;
  font-size: 16px !important;
  line-height: 1.2 !important;
  font-weight: 900 !important;
  color: var(--afp-text, #2a201b) !important;
  white-space: nowrap !important;
}

.afp-builder-shell:not(.afp-shell--mobile) .afp-tier-table tbody td:last-child .afp-range-price-unit {
  font-size: 0.82em !important;
  font-weight: 800 !important;
  color: color-mix(in srgb, var(--afp-muted, #8f7a70) 88%, white 12%) !important;
}

.afp-builder-shell.afp-shell--narrow:not(.afp-shell--mobile) .afp-submit-row {
  grid-template-columns: minmax(0, 1fr) minmax(240px, 300px) !important;
  gap: 16px !important;
}

@media (max-width: 640px) {
  .afp-widget .afp-range-toggle {
    min-height: auto !important;
    padding: 16px !important;
  }

  .afp-widget .afp-submit-row {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    padding-top: 14px !important;
  }

  .afp-widget .afp-submit-row__total strong {
    font-size: clamp(34px, 10vw, 44px) !important;
  }

  .afp-widget .afp-discount-note {
    grid-template-columns: 40px minmax(0, 1fr) !important;
    gap: 12px !important;
    padding: 14px 16px !important;
  }

  .afp-widget .afp-option-row {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 12px !important;
    min-height: auto !important;
    padding: 14px 16px !important;
  }

  .afp-widget .afp-option-row__price {
    justify-self: start !important;
    min-width: 128px !important;
  }
}

.afp-builder-shell.afp-shell--tiny .afp-result-table td,
.afp-builder-shell.afp-shell--tiny .afp-result-table th {
  padding: 12px 13px !important;
}

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

.afp-builder-shell.afp-shell--tiny .afp-discount-note__content strong {
  font-size: 16px !important;
}

.afp-builder-shell.afp-shell--tiny .afp-discount-note__content span {
  font-size: 13px !important;
}
