.tbp-package-details-container {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.tbp-package-trigger {
  display: flex;
  align-items: center;
  padding: 6px 12px;
  background: #f3f4f6;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 13px;
  color: #374151;
  transition: all .2s ease;
}

.tbp-package-trigger:hover {
  background: #e5e7eb;
  border-color: #9ca3af;
}

.tbp-package-trigger svg {
  color: #6b7280;
}

.tbp-package-tooltip {
  position: absolute;
  bottom: 100%;
  left: 0;
  margin-bottom: 10px;
  width: 320px;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, .15);
  padding: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all .3s ease;
  z-index: 1000;
}

.tbp-package-details-container:hover .tbp-package-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.tbp-package-header {
  background: #3b82f6;
  color: white;
  padding: 16px;
  border-radius: 8px 8px 0 0;
}

.tbp-package-header h4 {
  margin: 0 0 8px 0;
  font-size: 16px;
  font-weight: 600;
}

.tbp-base-price {
  font-size: 14px;
  opacity: .9;
}

.tbp-features-list {
  padding: 0;
  overflow-y: auto;
  list-style: none;
  margin: 0;
  overflow: visible !important;
  position: relative;
  z-index: 1;
}

.tbp-feature-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #f3f4f6;
  margin-bottom: 12px;
  position: relative;
  overflow: visible !important;
  z-index: 1;
}

.tbp-feature-item:last-child {
  border-bottom: none;
}

.tbp-feature-name {
  font-size: 14px;
  color: #374151;
  flex: 1;
  font-weight: 500;
}

.tbp-feature-value {
  font-size: 14px;
  font-weight: 600;
  margin-left: 10px;
  text-align: right;
  display: flex;
  align-items: center;
  gap: 8px;
}

.tbp-feature-checkmark {
  color: #059669;
  font-weight: bold;
}

.tbp-feature-price-badge {
  font-size: 12px;
  color: #10b981;
  background: #ecfdf5;
  padding: 4px 8px;
  border-radius: 12px;
  border: 1px solid #d1fae5;
  font-weight: 600;
  white-space: nowrap;
}

.tbp-feature-included .tbp-feature-value {
  color: #059669;
}

.tbp-feature-optional-selected .tbp-feature-value {
  color: #7c3aed;
}

.tbp-feature-optional-selected .tbp-feature-name {
  color: #7c3aed;
}

.cart .tbp-package-details-container {
  margin-top: 5px;
}

.checkout .tbp-package-details-container {
  margin-top: 5px;
}

.tbp-tailwind>.tier-pricing-cards-container {
  padding: 3rem 1rem;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.tbp-tailwind>.tier-pricing-cards-container .tbp-pricing-cards {
  display: grid;
  gap: 24px;
  margin: 0 auto;
  max-width: 1200px;
}

.tbp-tailwind>.tier-pricing-cards-container .tbp-cols-2 {
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  max-width: 800px;
}

.tbp-tailwind>.tier-pricing-cards-container .tbp-cols-3 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  max-width: 1200px;
}

.tbp-tailwind>.tier-pricing-cards-container .tbp-cols-4 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  max-width: 1400px;
}

.tbp-tailwind>.tier-pricing-cards-container .tbp-plan-card {
  background: white;
  border-radius: 12px;
  padding: 10px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, .1), 0 2px 4px -1px rgba(0, 0, 0, .06);
  border: 1px solid #e2e8f0;
  position: relative;
  transition: all .3s ease;
  display: flex;
  flex-direction: column;
  overflow: visible !important;
  z-index: 1;
}

.tbp-tailwind>.tier-pricing-cards-container .tbp-plan-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, .1), 0 10px 10px -5px rgba(0, 0, 0, .04);
}

.tbp-tailwind>.tier-pricing-cards-container .tbp-popular-plan {
  border: 2px solid #3b82f6;
  transform: scale(1.05);
}

.tbp-tailwind>.tier-pricing-cards-container .tbp-popular-plan:hover {
  transform: scale(1.05) translateY(-4px);
}

.tbp-tailwind>.tier-pricing-cards-container .tbp-popular-badge {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  background: #3b82f6;
  color: white;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .5px;
  z-index: 10;
}

.tbp-tailwind>.tier-pricing-cards-container .tbp-card-header {
  text-align: center;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid #f1f5f9;
}

.tbp-tailwind>.tier-pricing-cards-container .tbp-plan-title {
  font-size: 24px;
  font-weight: 700;
  color: #1e293b;
  margin: 5px 0 5px 0;
}

.tbp-tailwind>.tier-pricing-cards-container .tbp-plan-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
}

.tbp-tailwind>.tier-pricing-cards-container .tbp-currency {
  font-size: 24px;
  font-weight: 600;
  color: #64748b;
}

.tbp-tailwind>.tier-pricing-cards-container .tbp-price-amount {
  font-size: 48px;
  font-weight: 800;
  color: #1e293b;
  line-height: 1;
}

.tbp-tailwind>.tier-pricing-cards-container .tbp-price-period {
  font-size: 16px;
  color: #64748b;
  font-weight: 500;
}

.tbp-tailwind>.tier-pricing-cards-container .tbp-card-features {
  flex: 1;
  margin-bottom: 24px;
  overflow: visible !important;
  position: relative;
  z-index: 1;
}

.tbp-tailwind>.tier-pricing-cards-container .tbp-features-list {
  list-style: none;
  margin: 0;
  padding: 0 10px;
}

.tbp-tailwind>.tier-pricing-cards-container .tbp-feature-item {
  margin-bottom: 12px;
}

.tbp-tailwind>.tier-pricing-cards-container .tbp-included-feature-line {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 2px;
  color: #374151;
}

.tbp-tailwind>.tier-pricing-cards-container .tbp-optional-feature-line {
  display: flex;
  align-items: center;
  gap: 4px;
}

.tbp-tailwind>.tier-pricing-cards-container .tbp-feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.tbp-tailwind>.tier-pricing-cards-container .tbp-check-icon {
  width: 16px;
  height: 16px;
  color: #10b981;
}

.tbp-tailwind>.tier-pricing-cards-container .tbp-cross-icon {
  width: 16px;
  height: 16px;
  color: #ef4444;
}

.tbp-tailwind>.tier-pricing-cards-container .tbp-feature-name {
  font-size: 14px;
  flex: 1;
}

.tbp-tailwind>.tier-pricing-cards-container .tbp-feature-text {
  font-size: 14px;
  flex: 1;
}

.tbp-tailwind>.tier-pricing-cards-container .tbp-feature-price {
  font-size: 12px;
  color: #10b981;
  font-weight: 600;
  margin-left: 2px;
}

.tbp-tailwind>.tier-pricing-cards-container .tbp-optional-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  margin: 0;
  flex: 1;
}

.tbp-tailwind>.tier-pricing-cards-container .tbp-optional-checkbox input[type="checkbox"] {
  width: 16px;
  height: 16px;
  border: 2px solid #d1d5db;
  border-radius: 4px;
  margin: 0;
}

.tbp-tailwind>.tier-pricing-cards-container .tbp-optional-checkbox input[type="checkbox"]:checked {
  background-color: #3b82f6;
  border-color: #3b82f6;
}

.tbp-tailwind>.tier-pricing-cards-container .tbp-tooltip-icon {
  position: relative;
  color: #9ca3af;
  cursor: help;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
}

.tbp-tailwind>.tier-pricing-cards-container .tbp-tooltip-icon:hover .tbp-tooltip-text {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.tbp-tailwind>.tier-pricing-cards-container .tbp-tooltip-text {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: #1f2937;
  color: white;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 12px;
  width: 200px;
  opacity: 0;
  visibility: hidden;
  transition: all .2s ease;
  z-index: 99999;
  text-align: center;
  word-wrap: break-word;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, .1), 0 2px 4px -1px rgba(0, 0, 0, .06);
  pointer-events: none;
}

.tbp-tailwind>.tier-pricing-cards-container .tbp-tooltip-text::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: #1f2937;
}

.tbp-tailwind>.tier-pricing-cards-container .tbp-card-footer {
  text-align: center;
}

.tbp-tailwind>.tier-pricing-cards-container .tbp-card-button {
  width: 100%;
  background: #3b82f6;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s ease;
}

.tbp-tailwind>.tier-pricing-cards-container .tbp-card-button:hover {
  background: #2563eb;
  transform: translateY(-1px);
}

.tbp-tailwind>.tier-pricing-cards-container .tbp-popular-plan .tbp-card-button {
  background: #1d4ed8;
}

.tbp-tailwind>.tier-pricing-cards-container .tbp-popular-plan .tbp-card-button:hover {
  background: #1e40af;
}

.tbp-tailwind>.tier-pricing-cards-container .tbp-card-button:disabled {
  opacity: .6;
  cursor: not-allowed;
  transform: none;
}

.tbp-tailwind>.tier-pricing-cards-container .tbp-total-price {
  font-weight: 700;
  margin-left: 2px;
}

.tbp-tailwind>.tbp-pricing-table-container {
  padding: 1rem;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.tbp-tailwind>.tbp-pricing-table-container .tbp-table-wrapper {
  max-width: 1200px;
  margin: 0 auto;
}

.tbp-tailwind>.tbp-pricing-table-container .tbp-table-header {
  text-align: center;
  margin-bottom: 1rem;
}

.tbp-tailwind .tbp-table-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.tbp-tailwind .tbp-table-subtitle {
  font-size: 1.25rem;
  color: #64748b;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

.tbp-tailwind>.tbp-pricing-table-container .tbp-table-main {
  background: white;
  border-radius: 1rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, .1), 0 10px 10px -5px rgba(0, 0, 0, .04);
  border: 1px solid #e2e8f0;
  position: relative;
  overflow: visible !important;
}

.tbp-tailwind>.tbp-pricing-table-container .tbp-table-scroll {
  /* overflow: hidden; */
  overflow-x: auto;
  overflow-y: visible; /* ✅ Critical for sticky to work */
  position: relative; /* helps with stacking */
}

.tbp-tailwind>.tbp-pricing-table-container .tbp-table-grid {
  display: grid;
  min-width: 1000px;
}

.tbp-tailwind>.tbp-pricing-table-container .tbp-feature-header {
  padding: 2rem;
  background: linear-gradient(to bottom, white, #f8fafc);
  border-bottom: 1px solid #e2e8f0;
}

.tbp-tailwind>.tbp-pricing-table-container .tbp-feature-header-title {
  font-size: 2rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: .5rem;
}

.tbp-tailwind>.tbp-pricing-table-container .tbp-feature-header-desc {
  font-size: .875rem;
  color: #64748b;
}

.tbp-tailwind>.tbp-pricing-table-container .tbp-plan-header {
  padding: 0.5rem;
  text-align: center;
  border-bottom: 1px solid #e2e8f0;
  background: linear-gradient(to bottom, white, #f8fafc);
  position: relative;
  overflow: visible;
}

.tbp-tailwind>.tbp-pricing-table-container .tbp-popular-column {
  background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
  padding-top: 3rem;
  position: relative;
}

.tbp-tailwind>.tbp-pricing-table-container .tbp-popular-badge {
  position: absolute;
  top: 0;
  left: 0;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  color: white;
  padding: .5rem 1rem;
  font-size: .75rem;
  font-weight: 600;
  box-shadow: 0 4px 6px -1px rgba(59, 130, 246, .3);
  z-index: 10;
  white-space: nowrap;
  width: 100%;
}

.tbp-tailwind>.tbp-pricing-table-container .tbp-plan-header-content {
  margin-top: .5rem;
  position: relative;
  z-index: 1;
}

.tbp-tailwind>.tbp-pricing-table-container .tbp-popular-content {
  margin-top: .5rem;
}

.tbp-tailwind>.tbp-pricing-table-container .tbp-plan-name {
  font-size: 2rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 1rem;
}

.tbp-tailwind>.tbp-pricing-table-container .tbp-price-display {
  margin-bottom: 1rem;
}

.tbp-tailwind>.tbp-pricing-table-container .tbp-currency-symbol {
  font-size: 1.5rem;
  font-weight: 600;
  color: #374151;
}

.tbp-tailwind>.tbp-pricing-table-container .tbp-price-amount {
  font-size: 2.5rem;
  font-weight: 800;
  color: #1e293b;
  line-height: 1;
}

.tbp-tailwind>.tbp-pricing-table-container .tbp-price-period {
  font-size: 1rem;
  color: #64748b;
  font-weight: 500;
}

.tbp-tailwind>.tbp-pricing-table-container .tbp-billing-info {
  font-size: .875rem;
  color: #64748b;
}

.tbp-tailwind>.tbp-pricing-table-container .tbp-feature-row {
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
}

.tbp-tailwind>.tbp-pricing-table-container .tbp-feature-row-even {
  background: #f8fafc;
}

.tbp-tailwind>.tbp-pricing-table-container .tbp-feature-row-odd {
  background: white;
}

.tbp-tailwind>.tbp-pricing-table-container .tbp-feature-name-container {
  display: flex;
  align-items: center;
  gap: .25rem;
}

.tbp-tailwind>.tbp-pricing-table-container .tbp-feature-icon {
  width: 1.25rem;
  height: 1.25rem;
  color: #3b82f6;
  flex-shrink: 0;
}

.tbp-tailwind>.tbp-pricing-table-container .tbp-feature-name-text {
  font-weight: 500;
  color: #1e293b;
}

.tbp-tailwind>.tbp-pricing-table-container .tbp-feature-cell {
  padding: .5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.tbp-tailwind>.tbp-pricing-table-container .tbp-popular-cell {
  background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
}

.tbp-tailwind>.tbp-pricing-table-container .tbp-optional-feature-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  /* gap: .5rem; */
}

.tbp-tailwind>.tbp-pricing-table-container .tbp-optional-checkbox {
  display: flex;
  /* flex-direction: column; */
  align-items: center;
  gap: .5rem;
  cursor: pointer;
  transition: all .2s ease;
}

.tbp-tailwind>.tbp-pricing-table-container .tbp-optional-checkbox:hover {
  transform: translateY(-1px);
}

.tbp-tailwind>.tbp-pricing-table-container .tbp-checkbox-wrapper {
  position: relative;
}

.tbp-tailwind>.tbp-pricing-table-container .tbp-optional-feature-input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.tbp-tailwind>.tbp-pricing-table-container .tbp-custom-checkbox {
  width: 1.5rem;
  height: 1.5rem;
  background: white;
  border: 2px solid #d1d5db;
  border-radius: .375rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .2s ease;
}

.tbp-tailwind>.tbp-pricing-table-container .tbp-optional-checkbox:hover .tbp-custom-checkbox {
  border-color: #3b82f6;
}

.tbp-tailwind>.tbp-pricing-table-container .tbp-optional-feature-input:checked+.tbp-custom-checkbox {
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  border-color: #3b82f6;
}

.tbp-tailwind>.tbp-pricing-table-container .tbp-check-icon {
  width: 1rem;
  height: 1rem;
  color: white;
  opacity: 0;
  transition: opacity .2s ease;
}

.tbp-tailwind>.tbp-pricing-table-container .tbp-optional-feature-input:checked+.tbp-custom-checkbox .tbp-check-icon {
  opacity: 1;
}

.tbp-tailwind>.tbp-pricing-table-container .tbp-optional-text {
  font-size: .875rem;
  font-weight: 600;
  color: #10b981;
  transition: color .2s ease;
}

.tbp-tailwind>.tbp-pricing-table-container .tbp-optional-checkbox:hover .tbp-optional-text {
  color: #3b82f6;
}

.tbp-tailwind>.tbp-pricing-table-container .tbp-included-feature,
.tbp-tailwind>.tbp-pricing-table-container .tbp-excluded-feature,
.tbp-feature-included {
  min-width: 2rem;
  min-height: 2rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tbp-tailwind>.tbp-pricing-table-container .tbp-feature-included {
  background: #dcfce7;
}

.tbp-tailwind>.tbp-pricing-table-container .tbp-feature-excluded {
  background: #fee2e2;
}

.tbp-tailwind>.tbp-pricing-table-container .tbp-check-circle,
.tbp-tailwind>.tbp-pricing-table-container .tbp-x-circle {
  width: 1.25rem;
  height: 1.25rem;
}

.tbp-tailwind>.tbp-pricing-table-container .tbp-check-circle {
  color: #16a34a;
}

.tbp-tailwind>.tbp-pricing-table-container .tbp-x-circle {
  color: #dc2626;
}

.tbp-tailwind>.tbp-pricing-table-container .tbp-feature-value-badge {
  display: inline-flex;
  align-items: center;
  padding: .25rem .75rem;
  border-radius: 9999px;
  font-size: .875rem;
  font-weight: 500;
  background: #dbeafe;
  color: #1e40af;
}

.tbp-tailwind>.tbp-pricing-table-container .tbp-feature-empty {
  color: #d1d5db;
  font-size: 1.25rem;
}

.tbp-tailwind>.tbp-pricing-table-container .tbp-tooltip-wrapper {
  position: relative;
  display: inline-flex;
}

.tbp-tailwind>.tbp-pricing-table-container .tbp-tooltip-icon {
  width: 1rem;
  height: 1rem;
  color: #9ca3af;
  cursor: help;
  transition: color .2s ease;
}

.tbp-tailwind>.tbp-pricing-table-container .tbp-tooltip-wrapper:hover .tbp-tooltip-icon {
  color: #3b82f6;
}

.tbp-tailwind>.tbp-pricing-table-container .tbp-tooltip-content {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #1f2937;
  color: white;
  padding: .5rem .75rem;
  border-radius: .5rem;
  font-size: .75rem;
  width: 12rem;
  opacity: 0;
  visibility: hidden;
  transition: all .2s ease;
  z-index: 10000;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, .1);
  pointer-events: none;
}

.tbp-tailwind>.tbp-pricing-table-container .tbp-tooltip-wrapper:hover .tbp-tooltip-content {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(-.5rem);
}

.tbp-tailwind>.tbp-pricing-table-container .tbp-tooltip-arrow {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: .375rem solid transparent;
  border-top-color: #1f2937;
}

.tbp-tailwind>.tbp-pricing-table-container .tbp-footer-empty {
  padding: 2rem;
  background: linear-gradient(to bottom, white, #f8fafc);
}

.tbp-tailwind>.tbp-pricing-table-container .tbp-cta-cell {
  padding: 2rem;
  text-align: center;
  background: linear-gradient(to bottom, white, #f8fafc);
}

.tbp-tailwind > .tbp-pricing-table-container  .tbp-cta-header .tbp-cta-cell {
  padding: 0 1.5rem;
  background: none;
}

.tbp-tailwind>.tbp-pricing-table-container .tbp-cta-button {
  width: 100%;
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: .75rem;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all .3s ease;
  box-shadow: 0 4px 6px -1px rgba(59, 130, 246, .3);
}

.tbp-tailwind>.tbp-pricing-table-container .tbp-cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(59, 130, 246, .4);
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
}

.tbp-tailwind>.tbp-pricing-table-container .tbp-cta-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
}

.tbp-tailwind .tbp-cta-icon {
  width: 1rem;
  height: 1rem;
}

.tbp-tailwind>.tbp-pricing-table-container .tbp-feedback {
  font-size: .875rem;
  margin-top: .75rem;
  min-height: 1.25rem;
  color: #059669;
}

.tbp-tailwind>.tbp-pricing-table-container .tbp-cta-note {
  font-size: .75rem;
  color: #64748b;
  margin-top: .75rem;
}

.tbp-tailwind>.tbp-pricing-table-container .tbp-trust-section {
  text-align: center;
  margin-top: 3rem;
}

.tbp-tailwind>.tbp-pricing-table-container .tbp-trust-text {
  color: #64748b;
  font-size: .875rem;
  margin-bottom: 1rem;
}

.tbp-tailwind>.tbp-pricing-table-container .tbp-trust-badges {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  opacity: .6;
}

.tbp-tailwind>.tbp-pricing-table-container .tbp-trust-badge {
  font-size: .75rem;
  color: #6b7280;
}

.tbp-price-updating {
  animation: pricePulse .5s ease-in-out;
  color: #059669;
}

@keyframes pricePulse {
  0% {
    transform: scale(1)
  }

  50% {
    transform: scale(1.1);
    color: #059669
  }

  100% {
    transform: scale(1)
  }
}

.tbp-price-update-pulse {
  animation: tbpPricePulse 1s ease-in-out;
}

@keyframes tbpPricePulse {
  0% {
    transform: scale(1)
  }

  50% {
    transform: scale(1.05);
    color: #059669
  }

  100% {
    transform: scale(1)
  }
}

.tbp-package-tooltip .tbp-features-list {
  padding: 0 10px;
}

@media (max-width:768px) {
  .tbp-tailwind>.tier-pricing-cards-container .tbp-pricing-cards {
    grid-template-columns: 1fr;
    max-width: 400px
  }

  .tbp-tailwind>.tier-pricing-cards-container .tbp-popular-plan {
    transform: none
  }

  .tbp-tailwind>.tier-pricing-cards-container .tbp-popular-plan:hover {
    transform: translateY(-4px)
  }

  .tbp-tailwind>.tier-pricing-cards-container .tbp-plan-card {
    padding: 24px
  }

  .tbp-tailwind>.tier-pricing-cards-container .tbp-price-amount {
    font-size: 36px
  }

  .tbp-tailwind>.tbp-pricing-table-container {
    padding: 1.5rem .5rem
  }

  .tbp-tailwind>.tbp-pricing-table-container .tbp-table-title {
    font-size: 2rem
  }

  .tbp-tailwind>.tbp-pricing-table-container .tbp-table-subtitle {
    font-size: 1.125rem
  }

  .tbp-tailwind>.tbp-pricing-table-container .tbp-table-grid {
    min-width: 800px
  }

  .tbp-tailwind>.tbp-pricing-table-container .tbp-feature-header,
  .tbp-tailwind>.tbp-pricing-table-container .tbp-plan-header,
  .tbp-tailwind>.tbp-pricing-table-container .tbp-feature-row,
  .tbp-tailwind>.tbp-pricing-table-container .tbp-feature-cell,
  .tbp-tailwind>.tbp-pricing-table-container .tbp-footer-empty,
  .tbp-tailwind>.tbp-pricing-table-container .tbp-cta-cell {
    padding: 1rem .5rem
  }

  .tbp-tailwind>.tbp-pricing-table-container .tbp-price-amount {
    font-size: 2.5rem
  }

  .tbp-tailwind>.tbp-pricing-table-container .tbp-trust-badges {
    flex-direction: column;
    gap: .5rem
  }

  .tbp-tailwind>.tbp-pricing-table-container .tbp-optional-feature-container {
    flex-direction: column;
    align-items: center
  }
}

.tbp-billing-toggle-container {
  margin-bottom: 1rem;
}

.tier-pricing-cards-container .tbp-billing-toggle-container {
  margin-bottom: 3rem;
}

.tbp-billing-toggle-wrapper {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 9999px;
  padding: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, .05);
  width: 205px;
  margin: 0 auto;
}

.tbp-billing-option {
  border: none;
  border-radius: 9999px;
  padding: 8px 24px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all .2s ease;
  background: transparent;
}

.tbp-billing-option.tbp-billing-active {
  background: #3b82f6;
  color: white;
  box-shadow: 0 2px 4px rgba(59, 130, 246, .3);
}

.tbp-billing-option:not(.tbp-billing-active):hover {
  background: #E0E1E3;
}

.tbp-billing-savings {
  font-size: 14px;
  font-weight: 600;
  color: #059669;
}

.tbp-yearly-savings {
  font-size: 14px;
  font-weight: 600;
  color: #059669;
  background: #d1fae5;
  padding: 4px 8px;
  border-radius: 6px;
  display: inline-block;
  margin-top: 8px;
}

.tbp-yearly-unavailable {
  font-size: 14px;
  color: #6b7280;
  font-style: italic;
}

.tbp-price-display {
  transition: all .3s ease;
}

.tbp-price-display.hidden {
  display: none;
}

.tbp-savings-badge {
  background: #d1fae5;
  color: #065f46;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  display: inline-block;
}

.tbp-drag-handle {
  cursor: move;
  color: #6b7280;
  padding: 4px;
  border-radius: 4px;
  transition: all .2s ease;
}

.tbp-drag-handle:hover {
  background: #f3f4f6;
  color: #374151;
}

.tbp-feature-card.tbp-feature-placeholder {
  border: 2px dashed #d1d5db;
  background: #f9fafb;
  opacity: .6;
}

.tbp-features-grid.ui-sortable {
  position: relative;
}

@media (max-width:768px) {
  .tbp-billing-option {
    padding: 6px 16px;
    font-size: 13px
  }

  .tbp-billing-toggle-wrapper {
    padding: 3px
  }
}

.tbp-package-tooltip .tbp-features-list {
  overflow-y: auto;
  padding: 10px;
}

.tbp-package-tooltip .tbp-feature-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid #f3f4f6;
}

.tbp-package-tooltip .tbp-feature-item:last-child {
  border-bottom: none;
}

.tbp-package-tooltip .tbp-feature-name {
  font-size: 14px;
  color: #374151;
  flex: 1;
}

.tbp-package-tooltip .tbp-feature-value {
  font-size: 14px;
  font-weight: 600;
  margin-left: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.tbp-package-tooltip .tbp-feature-price-badge {
  font-size: 12px;
  color: #10b981;
  background: #ecfdf5;
  padding: 4px 8px;
  border-radius: 12px;
  border: 1px solid #d1fae5;
  font-weight: 600;
}

.tbp-package-tooltip .tbp-feature-checkmark {
  color: #059669;
  font-weight: bold;
}

.cart .tbp-package-tooltip,
.checkout .tbp-package-tooltip {
  z-index: 10000;
  position: absolute;
  bottom: 100%;
  left: 0;
  margin-bottom: 10px;
}

@media (max-width:768px) {
  .tbp-package-tooltip {
    width: 280px !important;
    left: -50px !important
  }

  .tbp-package-tooltip .tbp-feature-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px
  }

  .tbp-package-tooltip .tbp-feature-value {
    margin-left: 0
  }
}

.tbp-package-details-container {
  position: relative;
  display: inline-block;
}

.tbp-package-tooltip {
  position: absolute;
  bottom: 100%;
  left: 0;
  margin-bottom: 10px;
  width: 320px;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, .15);
  padding: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all .3s ease;
  z-index: 10000
}

.tbp-package-details-container:hover .tbp-package-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.cart .tbp-package-tooltip,
.checkout .tbp-package-tooltip {
  z-index: 10000 !important;
}

.tbp-package-tooltip .tbp-features-list {
  overflow-y: auto;
  padding: 10px;
}

.tbp-package-tooltip .tbp-feature-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid #f3f4f6;
}

.tbp-package-tooltip .tbp-feature-item:last-child {
  border-bottom: none;
}

.tbp-package-tooltip .tbp-feature-name {
  font-size: 14px;
  color: #374151;
  flex: 1;
}

.tbp-package-tooltip .tbp-feature-value {
  font-size: 14px;
  font-weight: 600;
  margin-left: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.tbp-package-tooltip .tbp-feature-price-badge {
  font-size: 12px;
  color: #10b981;
  background: #ecfdf5;
  padding: 4px 8px;
  border-radius: 12px;
  border: 1px solid #d1fae5;
  font-weight: 600;
}

.tbp-package-tooltip .tbp-feature-checkmark {
  color: #059669;
  font-weight: bold;
}

.tbp-package-tooltip .tbp-feature-optional-selected .tbp-feature-name {
  color: #7c3aed;
}

.tbp-package-tooltip .tbp-feature-optional-selected .tbp-feature-value {
  color: #7c3aed;
}

@media (max-width:768px) {
  .tbp-package-tooltip {
    width: 280px !important;
    left: -50px !important
  }

  .tbp-package-tooltip .tbp-feature-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px
  }

  .tbp-package-tooltip .tbp-feature-value {
    margin-left: 0
  }
}

.tbp-pricing-table-container .tbp-yearly-savings {
  font-size: 14px;
  font-weight: 600;
  color: #059669;
  background: #d1fae5;
  padding: 4px 8px;
  border-radius: 6px;
  display: inline-block;
  margin-top: 8px;
}

.tbp-pricing-table-container .tbp-yearly-unavailable {
  font-size: 14px;
  color: #6b7280;
  font-style: italic;
  margin-top: 8px;
}

.tbp-status {
  padding: 4px 8px;
  border-radius: 3px;
  font-size: 12px;
  font-weight: bold;
  text-transform: uppercase;
}

.tbp-status-active {
  background: #d4edda;
  color: #155724;
}

.tbp-status-cancelled {
  background: #f8d7da;
  color: #721c24;
}

.tbp-status-failed {
  background: #fff3cd;
  color: #856404;
}

.tbp-status-suspended {
  background: #e2e3e5;
  color: #383d41;
}

.tbp-status-pending {
  background: #cce7ff;
  color: #004085;
}

.tbp-subscription-management {
  max-width: 800px;
  margin: 0 auto;
}

.tbp-subscriptions-list {
  display: grid;
  gap: 20px;
}

.tbp-subscription-card {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 20px;
  background: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, .1);
}

.tbp-subscription-card h4 {
  margin: 0 0 15px 0;
  color: #333;
  font-size: 18px;
}

.tbp-subscription-details p {
  margin: 8px 0;
  color: #666;
}

.tbp-subscription-details strong {
  color: #333;
}

.tbp-cancel-subscription {
  background: #dc3545;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
}

.tbp-cancel-subscription:hover {
  background: #c82333;
}

.tbp-payment-summary {
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 4px;
  padding: 10px;
  margin: 10px 0;
}

.tbp-payment-summary h4 {
  margin: 0 0 8px 0;
  font-size: 14px;
  color: #495057;
}

.tbp-payment-item {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
  border-bottom: 1px solid #e9ecef;
}

.tbp-payment-item:last-child {
  border-bottom: none;
}

.tbp-payment-type {
  font-weight: 600;
  color: #495057;
}

.tbp-payment-amount {
  color: #28a745;
  font-weight: 600;
}

.tbp-payment-badge {
  font-size: 10px;
  padding: 0px 6px;
  border-radius: 10px;
  font-weight: 600;
  margin-left: 6px;
  text-transform: uppercase;
  letter-spacing: .5px;
  display: inline-block;
}

.tbp-payment-subscription {
  background: #dbeafe;
  color: #1e40af;
  /* border: 1px solid #bfdbfe; */
}

.tbp-payment-one-off {
  background: #dcfce7;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.tbp-tailwind>.tier-pricing-cards-container .tbp-feature-item .tbp-payment-badge {
  font-size: 9px;
  margin-left: 4px;
  vertical-align: middle;
}

.tbp-tailwind>.tbp-pricing-table-container .tbp-payment-badge {
  font-size: 9px;
  margin-left: 4px;
  vertical-align: middle;
}

.tbp-tailwind>.tbp-pricing-table-container .tbp-optional-text .tbp-payment-badge {
  margin-top: 2px;
  display: inline-block;
}

.tbp-payment-one_off {
  background: #eaeaea;
}

.tbp-package-tooltip .tbp-payment-badge {
  font-size: 9px;
  margin-left: 4px;
  vertical-align: middle;
}

.tbp-payment-summary-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid #f3f4f6;
}

.tbp-payment-summary-item:last-child {
  border-bottom: none;
}

.tbp-payment-type {
  display: flex;
  align-items: center;
  gap: 8px;
}

.tbp-payment-amount {
  font-weight: 600;
  color: #059669;
}

/* Category Accordion Styles */
.tbp-features-accordion {
    border-radius: 8px;
    overflow: hidden;
}

.tbp-category-accordion {
    border: 1px solid #e2e8f0;
    margin-bottom: 8px;
    border-radius: 6px;
    overflow: hidden;
}

.tbp-category-accordion:last-child {
    margin-bottom: 0;
}

.tbp-category-header {
    background: #f8fafc;
    padding: 12px 16px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-left: 4px solid;
    transition: all 0.2s ease;
}

.tbp-category-header:hover {
    background: #f1f5f9;
}

.tbp-category-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #374151;
}

.tbp-category-icon {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

.tbp-accordion-arrow {
    transition: transform 0.3s ease;
}

.tbp-category-accordion.active .tbp-accordion-arrow {
    transform: rotate(180deg);
}

.tbp-arrow-icon {
    width: 16px;
    height: 16px;
}

.tbp-category-content {
    max-height: 0;
    overflow: visible;
    transition: max-height 0.3s ease;
    background: white;
}

.tbp-category-accordion.active .tbp-category-content {
    /* max-height: 1000px; */
    max-height: fit-content;
}

.tbp-category-content .tbp-features-list {
    padding: 8px 16px;
}

/* Table View Category Styles */
.tbp-category-header-row {
    grid-column: 1 / -1;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.tbp-category-name-container {
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    color: #374151;
    cursor: pointer;
    border-left: 4px solid;
    transition: background-color 0.2s ease;
    border-bottom: 1px solid #ddd;
    border-top: 1px solid #ddd;
}

.tbp-category-name-container:hover {
    background: #f1f5f9;
}

.tbp-category-name-text {
    flex: 1;
}

.tbp-category-header-cell {
    background: #f8fafc;
    grid-column: 1 / -1;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tbp-category-feature-row {
    transition: all 0.3s ease;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .tbp-category-header {
        padding: 10px 12px;
    }
    
    .tbp-category-content .tbp-features-list {
        padding: 6px 12px;
    }
    
    .tbp-category-name-container {
        padding: 12px;
    }
    
    .tbp-category-title {
        font-size: 14px;
    }
}

/* No Features Message */
.tbp-no-features-message {
    text-align: center;
    padding: 40px 20px;
    background: #f8fafc;
    border-radius: 8px;
    border: 2px dashed #e2e8f0;
}

.tbp-no-features-text {
    color: #64748b;
    font-size: 16px;
    margin: 0;
    font-style: italic;
}

/* Card View Header Subtotals */
.tbp-header-subtotals {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #f1f5f9;
}

.tbp-header-subtotal {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-size: 24px;
    margin-bottom: 4px;
}

.tbp-header-subtotal:last-child {
    margin-bottom: 0;
}

.tbp-subtotal-prefix {
    color: #64748b;
    font-weight: 500;
}

.tbp-header-subtotal .tbp-subtotal-amount {
    font-weight: 600;
    color: #059669;
}

.tbp-header-subscription .tbp-subtotal-amount {
    color: #3b82f6;
}

.tbp-header-oneoff .tbp-subtotal-amount {
    color: #f59e0b;
}

.tbp-subtotal-label {
    color: #64748b;
    font-size: 12px;
    text-transform: lowercase;
}

/* Table View Header Subtotals */
.tbp-table-header-subtotals {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid #f1f5f9;
}

.tbp-table-subtotal {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    font-size: 24px;
    margin-bottom: 3px;
}

.tbp-table-subtotal:last-child {
    margin-bottom: 0;
}

.tbp-table-subtotal .tbp-subtotal-amount {
    font-weight: 600;
    color: #059669;
}

.tbp-table-subscription .tbp-subtotal-amount {
    color: #3b82f6;
}

.tbp-table-oneoff .tbp-subtotal-amount {
    color: #f59e0b;
}

.tbp-table-subtotal .tbp-subtotal-label {
    font-size: 11px;
}

/* Hide subtotals when zero */
/* .tbp-header-subtotal:has(.tbp-subtotal-amount:contains('0.00')),
.tbp-table-subtotal:has(.tbp-subtotal-amount:contains('0.00')) {
    display: none;
} */

/* Instead, only hide one-off when zero */
.tbp-header-oneoff:has(.tbp-subtotal-amount:contains('0.00')),
.tbp-table-oneoff:has(.tbp-subtotal-amount:contains('0.00')) {
    display: none;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .tbp-header-subtotals {
        margin-top: 8px;
        padding-top: 8px;
    }
    
    .tbp-header-subtotal {
        font-size: 24px;
        gap: 3px;
    }
    
    .tbp-subtotal-label {
        font-size: 11px;
    }
    
    .tbp-table-header-subtotals {
        margin-top: 6px;
        padding-top: 6px;
    }
    
    .tbp-table-subtotal {
        font-size: 11px;
        gap: 2px;
    }
    
    .tbp-table-subtotal .tbp-subtotal-label {
        font-size: 10px;
    }
}

/* Hide subtotals when no features are selected */
.tbp-header-subtotal,
.tbp-table-subtotal,
.tbp-header-subtotal.tbp-header-subscription {
    display: none; /* Hide by default */
}

.tbp-header-subtotal:has(.tbp-subtotal-amount:not(:contains('0.00'))),
.tbp-table-subtotal:has(.tbp-subtotal-amount:not(:contains('0.00'))) {
    display: flex; /* Show when there's a value */
}

/* Specific rules for subscription - only show when optional features are selected */
.tbp-header-subscription:has(.tbp-subtotal-amount:not(:contains('0.00'))),
.tbp-table-subscription:has(.tbp-subtotal-amount:not(:contains('0.00'))) {
    display: flex;
}

/* One-off always hides when zero */
.tbp-header-oneoff:has(.tbp-subtotal-amount:contains('0.00')),
.tbp-table-oneoff:has(.tbp-subtotal-amount:contains('0.00')) {
    display: none;
}

/* Alternative approach using JavaScript-controlled classes */
.tbp-subtotal-visible {
    display: flex !important;
}

.tbp-subtotal-hidden {
    display: none !important;
}
/* .tbp-feature-included.tbp-feature-status {
  margin-right: 10px;
} */
 
/* Sticky Table View Header */
.tbp-sticky-header {
  
}

/* Signup Fee */
.tbp-signup-fee {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-size: 13px;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid #f1f5f9;
}

.tbp-signup-fee-prefix {
    color: #64748b;
    font-weight: 500;
}

.tbp-signup-fee-amount {
    font-weight: 600;
    color: #f59e0b;
}

.tbp-signup-fee-label {
    color: #64748b;
    font-size: 12px;
    text-transform: lowercase;
}
.tbp-feature-display-value  {
  font-size: 12px;
  border-radius: 10px;
  padding: 0px 5px;
}

/* For table view specific styling */
.tbp-tailwind>.tbp-pricing-table-container .tbp-signup-fee {
    font-size: 24px;
    margin-top: 6px;
    padding-top: 6px;
}

.tbp-tailwind>.tbp-pricing-table-container .tbp-signup-fee-label {
    font-size: 11px;
}

/* For card view specific styling */
.tbp-tailwind>.tier-pricing-cards-container .tbp-signup-fee {
    font-size: 24px;
    margin-top: 8px;
    padding-top: 8px;
}

.tbp-tailwind>.tier-pricing-cards-container .tbp-signup-fee-label {
    font-size: 12px;
}

@media (max-width: 768px) {
    .tbp-signup-fee {
        font-size: 12px;
        margin-top: 6px;
        padding-top: 6px;
    }
    
    .tbp-signup-fee-label {
        font-size: 11px;
    }
}

/* Fixed-width column for all feature cells (ticks/crosses) */
.tbp-tailwind .tbp-pricing-table-container .tbp-feature-cell {
  padding: 0.5rem 0; /* Remove horizontal padding to avoid overflow */
  justify-content: center;
  align-items: center;
}

/* Ensure inner containers don't stretch beyond the fixed width */
.tbp-tailwind .tbp-pricing-table-container .tbp-feature-cell > * {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
}

/* Optional: reduce size of checkbox wrapper to fit */
.tbp-tailwind .tbp-pricing-table-container .tbp-custom-checkbox {
  width: 1.25rem;
  height: 1.25rem;
}

/* Prevent price text from wrapping sideways — keep it centered below icon */
.tbp-tailwind .tbp-pricing-table-container .tbp-optional-text,
.tbp-tailwind .tbp-pricing-table-container .tbp-feature-price {
  white-space: nowrap;
  font-size: 0.75rem;
  line-height: 1;
}

/* Ensure SVG icons are consistently sized and centered */
.tbp-tailwind .tbp-pricing-table-container .tbp-check-circle,
.tbp-tailwind .tbp-pricing-table-container .tbp-x-circle {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

/* Stickey table view header */
.tbp-sticky-header-cell {

}
.add-to-cart-link-button {
  display: inline-flex;
  width: auto;
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: white;
  border: none;
  padding: 1rem 3rem;
  border-radius: .75rem;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all .3s ease;
  box-shadow: 0 4px 6px -1px rgba(59, 130, 246, .3);
}
.add-to-cart-link-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(59, 130, 246, .4);
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: white;
  text-decoration: none;
}