.shadow-image {
  pointer-events: none;
}
/* Base Variables */
:root {
  --primary-color: #2c3e50;
  --secondary-color: #3498db;
  --light-color: #f8f9fa;
  --border-color: #e9ecef;
  --success-color: #2ecc71;
  --danger-color: #e74c3c;
  --text-color: #333;
  --light-text: #6c757d;
  --transition-speed: 0.3s;
  --bounce-effect: cubic-bezier(0.175, 0.885, 0.32, 1.275);
  --smooth-effect: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

.pricing-table {
    --accent-color: #3498db;
    --accent-rgb: 52, 152, 219; /* Default RGB values */
    
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    z-index: 1;
    transition: all 0.4s var(--bounce-effect);
    
    /* Fix opacity issue - start with opacity 1 */
    opacity: 1;
    animation: tableEntrance 0.6s var(--smooth-effect) both;
}

.pricing-table:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    z-index: 5;
}

.pricing-header {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: #333;
}

.pricing-feature {
    margin: 10px 0;
    color: #666;
}

.pricing-price {
    font-size: 2em;
    color: #e67e22;
    margin: 20px 0;
}

.button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #3498db;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.button:hover {
    background-color: #2980b9;
}

.category-nav {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.category-nav a {
    margin: 0 10px;
    text-decoration: none;
    color: #3498db;
}

.category-nav a.active {
    font-weight: bold;
    color: #e67e22;
}

/**
 * Public Styling for WP Pricing Tables
 */

/* Container */
.wp-pricing-tables-container {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 0;
  box-sizing: border-box;
}

.wp-pricing-tables-container * {
  box-sizing: border-box;
}

/* Category Title */
.pricing-category-title {
  text-align: center;
  margin-bottom: 40px;
  font-size: 32px;
  color: var(--primary-color);
}

.pricing-category-title:after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--secondary-color);
  margin: 15px auto 0;
}

/* Tables wrapper with improved vertical spacing. */
.pricing-table-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px; /* Increase spacing between tables. */
  max-width: 1200px;
  margin: 0 auto;
}

/* Column layouts with better widths for fewer tables. */
.pricing-table-wrapper[style*="--columns:1"] .pricing-table,
.pricing-table-wrapper[data-columns="1"] .pricing-table {
  width: 60%; /* Ideal width for single-column layout. */
  max-width: 350px;
  margin: 0 auto; /* Center the one-column layout. */
}

.pricing-table-wrapper[style*="--columns:2"] .pricing-table,
.pricing-table-wrapper[data-columns="2"] .pricing-table {
  width: calc(40% - 20px);
  max-width: 320px; /* Constrain width for two-column layout. */
}

.pricing-table-wrapper[style*="--columns:3"] .pricing-table,
.pricing-table-wrapper[data-columns="3"] .pricing-table {
  width: calc(33.333% - 20px);
  max-width: 380px; /* Constrain width for three-column layout. */
}

.pricing-table-wrapper[style*="--columns:4"] .pricing-table,
.pricing-table-wrapper[data-columns="4"] .pricing-table {
  width: calc(25% - 20px);
}

/* Styles for five-column layout. */
.pricing-table-wrapper[style*="--columns:5"] .pricing-table,
.pricing-table-wrapper[data-columns="5"] .pricing-table {
  width: calc(20% - 20px);
}

/* Styles for six-column layout. */
.pricing-table-wrapper[style*="--columns:6"] .pricing-table,
.pricing-table-wrapper[data-columns="6"] .pricing-table {
  width: calc(16.666% - 20px);
}

/* Generic fallback when column count is unknown. */
.pricing-table-wrapper[data-columns] .pricing-table {
  width: calc((100% / var(--columns, 4)) - 20px);
  min-width: min(100%, 220px);
}

@media (max-width: 991px) {
  .pricing-table-wrapper[style*="--columns:3"] .pricing-table,
  .pricing-table-wrapper[style*="--columns:4"] .pricing-table,
  .pricing-table-wrapper[data-columns="3"] .pricing-table,
  .pricing-table-wrapper[data-columns="4"] .pricing-table {
    width: calc(50% - 20px);
    max-width: 450px; /* Mobile-friendly card width. */
  }

  .pricing-table-wrapper[style*="--columns:5"] .pricing-table,
  .pricing-table-wrapper[style*="--columns:6"] .pricing-table,
  .pricing-table-wrapper[data-columns="5"] .pricing-table,
  .pricing-table-wrapper[data-columns="6"] .pricing-table {
    width: calc(50% - 20px);
  }
}

@media (max-width: 767px) {
  .pricing-table-wrapper .pricing-table {
    width: 100% !important;
    max-width: 450px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

/* Responsive behavior for larger column counts. */
@media (max-width: 1200px) {
  .pricing-table-wrapper[style*="--columns:5"] .pricing-table,
  .pricing-table-wrapper[style*="--columns:6"] .pricing-table,
  .pricing-table-wrapper[data-columns="5"] .pricing-table,
  .pricing-table-wrapper[data-columns="6"] .pricing-table {
    width: calc(33.333% - 20px);
  }
}

/* Pricing Table */
.pricing-table {
  --accent-color: #3498db;
  --accent-rgb: 52, 152, 219;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  position: relative;
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s var(--bounce-effect), box-shadow 0.4s var(--bounce-effect);
  transform: translateY(0);
  opacity: 1;
  z-index: 1;
}

/* Table hover effect */
.pricing-table:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
  z-index: 3;
}

/* Hover border effect */
.pricing-table::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 10px;
  border: 2px solid transparent;
  transition: all 0.3s var(--bounce-effect);
  pointer-events: none;
  z-index: -1;
}

.pricing-table:hover::before {
  border-color: var(--accent-color);
  box-shadow: 0 0 20px rgba(var(--accent-rgb), 0.3);
  transform: scale(1.03);
}

/* Featured table */
.pricing-table.featured {
  transform: scale(1.02);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  z-index: 2;
  border: 2px solid var(--accent-color);
}

.pricing-table.featured:hover {
  transform: translateY(-12px) scale(1.05);
}

/* Popular badge */
.pricing-popular-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--accent-color);
  color: white;
  padding: 8px 15px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  border-radius: 0 0 0 10px;
}

.pricing-table.highlight .pricing-header {
    padding-top: 40px;
}

/* Header */
.pricing-header {
  padding: 25px 20px;
  text-align: center;
  background-color: var(--light-color);
  border-bottom: 1px solid var(--border-color);
  transition: background-color 0.3s ease;
}

.pricing-table:hover .pricing-header {
  background-color: rgba(var(--accent-rgb), 0.05);
}

.pricing-title {
  margin: 0 0 10px;
  font-size: 24px;
  font-weight: 600;
  color: var(--primary-color);
  transition: all 0.3s var(--bounce-effect);
  overflow-wrap: anywhere;
}

.pricing-table:hover .pricing-title {
  color: var(--accent-color);
  transform: scale(1.05);
}

.pricing-subtitle {
  margin: 0 0 20px;
  font-size: 16px !important;
  color: #808c97 !important;
}

.pricing-price {
  margin-top: 16px;
  display: flex;
  justify-content: center;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 2px;
  transition: transform 0.3s var(--bounce-effect);
}

.pricing-table:hover .pricing-price {
  transform: scale(1.05);
}

.pricing-price .currency {
  font-size: 13px;
  vertical-align: top;
  margin-right: 2px;
  font-weight: 600;
  color: var(--primary-color);
}

.pricing-price .price-currency {
  font-size: 13px;
  vertical-align: top;
  margin-right: 2px;
  font-weight: 600;
  color: var(--primary-color);
}

.pricing-price .amount {
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
  color: var(--accent-color);
}

.pricing-price .price-amount {
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
  color: var(--accent-color);
}

.pricing-price .period {
  font-size: 12px;
  color: var(--light-text);
  margin-left: 4px;
}

.pricing-price .price-period {
  font-size: 12px;
  color: var(--light-text);
  margin-left: 4px;
}

/* Features */
.pricing-features {
  padding: 30px 20px;
  flex-grow: 1;
  transition: transform 0.3s ease;
}

.pricing-table:hover .pricing-features {
  transform: translateZ(20px);
}

.pricing-features ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pricing-features li {
  display: flex;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-features li:hover {
  background-color: rgba(0,0,0,0.02);
  transform: translateX(3px);
}

.pricing-features li.included {
  color: var(--text-color);
}

.pricing-features li.excluded {
  color: var(--light-text);
  text-decoration: line-through;
  opacity: 0.7;
}

/* Enhanced Feature Icons - Compact Size */
.feature-icon {
  flex: 0 0 30px;         /* Reduce icon container from 34px to 30px. */
  margin-right: 10px;     /* Reduce icon-label gap from 12px to 10px. */
  display: flex;
  align-items: center;
  justify-content: center;
  height: 30px;           /* Reduce icon height from 34px to 30px. */
  width: 30px;            /* Reduce icon width from 34px to 30px. */
  border-radius: 50%;
  background-color: rgba(var(--accent-rgb), 0.15);
  transition: all 0.3s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.03); /* Tighten the icon shadow for compact cards. */
  border: 1px solid rgba(var(--accent-rgb), 0.2);
}

.pricing-features li:hover .feature-icon {
  transform: scale(1.15);
  background-color: rgba(var(--accent-rgb), 0.25);
}

.feature-icon i {
  font-size: 14px;        /* Slightly reduce icon label text size. */
  font-family: inherit;
  font-style: normal;
  color: var(--accent-color);
  transition: all 0.3s ease;
}

.feature-icon i::before {
  content: "✓";
}

.pricing-features li:hover .feature-icon i {
  transform: scale(1.1);
}

li.excluded .feature-icon {
  background-color: rgba(0,0,0,0.05);
  border: 1px solid rgba(0,0,0,0.1);
}

li.excluded .feature-icon i {
  color: var(--light-text);
  opacity: 0.6;
}

li.excluded .feature-icon i::before {
  content: "–";
}

.feature-content {
  flex: 1;
  min-width: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 5px;
}

.feature-name {
  font-weight: 400;
  transition: color 0.3s ease;
  min-width: 0;
  overflow-wrap: anywhere;
}

.pricing-table:hover .feature-name {
  color: var(--accent-color);
}

.feature-value {
  font-weight: 600;
  color: var(--primary-color);
  background: rgba(0,0,0,0.03);
  padding: 3px 3px;
  border-radius: 50px;
  font-size: 0.85em;
  transition: all 0.3s ease;
  max-width: 100%;
  overflow-wrap: anywhere;
  white-space: normal;
}

.featured .feature-value {
  background-color: rgba(var(--accent-rgb), 0.1);
  color: var(--accent-color);
}

li.excluded .feature-value {
  color: var(--light-text);
}

.no-features {
  text-align: center;
  color: var(--light-text);
  font-style: italic;
  margin: 10px 0;
}

/* Footer */
.pricing-footer {
  padding: 25px 20px;
  text-align: center;
  border-top: 1px solid var(--border-color);
}

.pricing-button {
  display: inline-block;
  max-width: 100%;
  padding: 12px 25px;
  background-color: var(--accent-color);
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
  transition: all 0.3s ease;
  font-size: 16px;
  border: 2px solid var(--accent-color);
  position: relative;
  overflow: hidden;
  overflow-wrap: anywhere;
  white-space: normal;
}

.pricing-button::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transition: transform 0.4s ease;
}

.pricing-table:hover .pricing-button::after {
  animation: buttonShine 1.2s ease;
}

.pricing-button:hover, 
.pricing-button:focus {
  background-color: white;
  color: var(--accent-color);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Empty State */
.pricing-empty-state {
    text-align: center;
    padding: 50px 20px;
    color: var(--light-text);
    font-size: 18px;
}

/* Animation effects */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes tableEntrance {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes featureReveal {
    0% {
        opacity: 0;
        transform: translateX(-10px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulsate {
    0% {
        box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(var(--accent-rgb), 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0);
    }
}

@keyframes buttonShine {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

@keyframes shine {
  0% { left: -100%; }
  100% { left: 100%; }
}

/* Apply animations to elements */

/* Pricing table entrance */
.pricing-table {
    animation: tableEntrance 0.6s var(--smooth-effect) backwards;
    transition: transform var(--transition-speed) var(--smooth-effect),
                box-shadow var(--transition-speed) var(--smooth-effect);
}

/* Stagger the entrance of pricing tables */
.pricing-table:nth-child(1) { animation-delay: 0.1s; }
.pricing-table:nth-child(2) { animation-delay: 0.2s; }
.pricing-table:nth-child(3) { animation-delay: 0.3s; }
.pricing-table:nth-child(4) { animation-delay: 0.4s; }

/* Table hover effect */
.pricing-table:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Feature animations */
.pricing-features li {
    transition: all var(--transition-speed) var(--smooth-effect);
    animation: featureReveal 0.5s var(--smooth-effect) backwards;
}

/* Stagger feature animations */
.pricing-features li:nth-child(1) { animation-delay: 0.3s; }
.pricing-features li:nth-child(2) { animation-delay: 0.4s; }
.pricing-features li:nth-child(3) { animation-delay: 0.5s; }
.pricing-features li:nth-child(4) { animation-delay: 0.6s; }
.pricing-features li:nth-child(5) { animation-delay: 0.7s; }
.pricing-features li:nth-child(6) { animation-delay: 0.8s; }
.pricing-features li:nth-child(7) { animation-delay: 0.9s; }

/* Feature icon animations */
.feature-icon {
    transition: transform 0.2s var(--bounce-effect),
                background-color 0.3s var(--smooth-effect);
}

.pricing-table:hover .feature-icon {
    transform: scale(1.1);
}

/* Button animations */
.pricing-footer .button {
    position: relative;
    overflow: hidden;
    transition: all 0.3s var(--smooth-effect);
}

.pricing-footer .button:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.pricing-footer .button:hover:before {
    width: 200%;
    height: 200%;
}

/* Featured table animations */
.featured {
    z-index: 2;
    animation: tableEntrance 0.7s 0.2s var(--bounce-effect) backwards;
}

.featured .pricing-header {
    position: relative;
    overflow: hidden;
}

.featured .pricing-header:after {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 4px;
    background: linear-gradient(90deg, transparent, rgba(var(--accent-rgb), 0.6), transparent);
    animation: shine 3s infinite;
}

/* Price animations */
.pricing-price {
    transition: transform 0.3s var(--bounce-effect);
}

.pricing-table:hover .pricing-price {
    transform: scale(1.05);
}

/* Category filter animations */
.pricing-category-filter button {
    transition: all 0.3s var(--smooth-effect);
    position: relative;
}

.pricing-category-filter button:after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: all 0.3s var(--smooth-effect);
    transform: translateX(-50%);
}

.pricing-category-filter button:hover:after,
.pricing-category-filter button.active:after {
    width: 100%;
}

.pricing-category-filter button.active {
    transform: translateY(-2px);
}

/* Special effect for featured table when others are hovered */
.pricing-table.featured:hover {
    transform: translateY(-12px) scale(1.05);
}

.pricing-table.featured:hover::before {
    box-shadow: 0 0 30px rgba(var(--accent-rgb), 0.5);
}

/* Add a subtle rotation on hover */
.pricing-table:hover .pricing-features {
    transform: translateZ(20px);
}

/* Additional visual cue for the hovered item */
.pricing-table:hover .pricing-title {
    color: var(--accent-color);
    transform: scale(1.05);
    transition: all 0.3s var(--bounce-effect);
}

/* Rules for showing and hiding feature names on hover. */

/* Container for feature name and value labels. */
.feature-content {
    position: relative;
    overflow: visible;
    transition: all 0.4s ease;
    padding: 5px 0;
    min-height: 24px;
    height: auto;
}

/* Default state shows values only. */
.feature-name {
    position: absolute;
    opacity: 0;
    transform: translateY(-100%);
    transition: all 0.3s ease;
    color: var(--accent-color, #3498db);
    font-weight: 400;
    width: 100%;
}

.feature-value {
    transition: all 0.3s ease;
    transform: translateY(0);
}

/* Hover state shows feature name and hides value. */
.pricing-features li:hover .feature-name {
    opacity: 1;
    transform: translateY(0);
}

.pricing-features li:hover .feature-value {
    opacity: 0;
    transform: translateY(100%);
}

/* Additional stylistic enhancement effects. */
.pricing-features li {
    transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
    border-radius: 6px;
    padding: 12px 8px !important;
}

.pricing-features li:hover {
    background-color: rgba(var(--accent-color-rgb, 52, 152, 219), 0.05);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* Icon display settings. */
.feature-icon {
    transition: transform 0.3s ease;
}

.pricing-features li:hover .feature-icon {
    transform: scale(1.1);
}

/* Location plans styles */
.pricing-location-plans-wrapper {
    margin: 2em 0;
}

.pricing-location-title {
    font-size: 1.8em;
    margin-bottom: 1.5em;
    text-align: center;
    font-weight: 700;
    color: #333;
}

.pricing-location-categories {
    margin: 2em 0;
}

.pricing-category-section {
    margin-bottom: 3em;
}

.pricing-category-title {
    font-size: 1.5em;
    margin-bottom: 1em;
    padding-bottom: 0.5em;
    border-bottom: 1px solid #eee;
    font-weight: 600;
}

.pricing-category-description {
    margin-bottom: 1.5em;
    color: #666;
    font-size: 0.95em;
}

.pricing-back-link {
    text-align: center;
    margin: 2em 0;
}

.pricing-back-button {
    display: inline-block;
    padding: 0.75em 1.5em;
    background-color: #f5f5f5;
    color: #555;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.pricing-back-button:hover {
    background-color: #e5e5e5;
    color: #333;
}

/* Location pricing tables styles */
.wp-pricing-tables-filters {
  margin-bottom: 30px;
  text-align: center;
}

.plan-filter-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin: 0 auto 30px;
  max-width: 800px;
}

.plan-filter-button {
  background-color: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 30px;
  padding: 12px 30px;
  font-size: 16px;
  color: #495057;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.plan-filter-button:hover {
  background-color: #e9ecef;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.plan-filter-button.active {
  background: linear-gradient(135deg, #4a90e2, #5a6bed);
  color: #fff;
  border-color: transparent;
  font-weight: bold;
  box-shadow: 0 4px 10px rgba(74, 144, 226, 0.3);
}

/* Hide inactive plan sections */
.wp-pricing-plan-section.hidden {
  display: none !important;
}

.wp-pricing-plan-section.active {
  display: block;
  animation: fadeIn 0.5s ease-in-out;
}

.wp-pricing-plan-title {
  text-align: center;
  font-size: 28px;
  margin-bottom: 25px;
  color: var(--primary-color);
}

.wp-pricing-location-title {
  font-size: 22px;
  margin-bottom: 20px;
  color: var(--primary-color);
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 10px;
}

/* Add animation for tab switching */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* RTL support for location-based pricing tables */
.rtl .plan-filter-buttons,
html[dir="rtl"] .plan-filter-buttons {
  flex-direction: row-reverse;
}

.rtl .plan-filter-button,
html[dir="rtl"] .plan-filter-button {
  font-family: "Vazirmatn", Tahoma, Arial, sans-serif;
}

/* Mobile styles for location-based pricing tables */
@media (max-width: 768px) {
  .plan-filter-buttons {
    flex-direction: column;
    width: 100%;
  }
  
  .plan-filter-button {
    width: 100%;
    text-align: center;
    padding: 12px 20px;
    margin-bottom: 8px;
  }
}

@media (min-width: 992px) {
  .pricing-table-wrapper[style*="--columns:1"],
  .pricing-table-wrapper[style*="--columns:2"],
  .pricing-table-wrapper[style*="--columns:3"],
  .pricing-table-wrapper[style*="--columns:4"],
  .pricing-table-wrapper[data-columns="1"],
  .pricing-table-wrapper[data-columns="2"],
  .pricing-table-wrapper[data-columns="3"],
  .pricing-table-wrapper[data-columns="4"] {
    flex-wrap: wrap !important;
    gap: 6px !important;
  }

  .pricing-table-wrapper[style*="--columns:5"],
  .pricing-table-wrapper[style*="--columns:6"],
  .pricing-table-wrapper[data-columns="5"],
  .pricing-table-wrapper[data-columns="6"] {
    flex-wrap: wrap !important;
    gap: 15px !important;
  }

  .pricing-table-wrapper[style*="--columns:5"] .pricing-table,
  .pricing-table-wrapper[style*="--columns:6"] .pricing-table,
  .pricing-table-wrapper[data-columns="5"] .pricing-table,
  .pricing-table-wrapper[data-columns="6"] .pricing-table {
    flex: 0 1 calc(33.333% - 20px);
    width: calc(33.333% - 20px) !important;
    min-width: 220px !important;
    max-width: 360px !important;
  }
}

@media (min-width: 1200px) {
  .pricing-table-wrapper[style*="--columns:5"] .pricing-table,
  .pricing-table-wrapper[style*="--columns:6"] .pricing-table,
  .pricing-table-wrapper[data-columns="5"] .pricing-table,
  .pricing-table-wrapper[data-columns="6"] .pricing-table {
    flex-basis: calc(33.333% - 20px);
    width: calc(33.333% - 20px) !important;
    min-width: 220px !important;
    max-width: 360px !important;
  }
}
