.cpt-pricing-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    padding: 40px 20px;
    max-width: 1200px;
    width: 100%; /* ADDED: Ensure it uses available width */
    margin: 0 auto;
}

.cpt-pricing-column {
    /* REPLACED the old min/max width and flex:1 */
    flex: 1 1 300px; /* This makes the columns flexible */
    
    background: #fff;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    display: flex; /* ADDED: To help with internal alignment */
    flex-direction: column; /* ADDED: To stack content vertically */
}

/* This makes sure the button is always at the bottom */
.cpt-features {
    flex-grow: 1; 
}

.cpt-pricing-column:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.cpt-pricing-column.cpt-featured {
    border-color: #3b82f6;
    border-width: 3px;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.2);
}

.cpt-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #3b82f6;
    color: white;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.cpt-title {
    font-size: 24px;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 20px 0;
}

.cpt-price-wrapper {
    margin-bottom: 30px;
}

.cpt-price {
    font-size: 48px;
    font-weight: 800;
    color: #1f2937;
    line-height: 1;
}

.cpt-price.cpt-free {
    font-size: 42px;
    color: #16a34a;
}

.cpt-period {
    font-size: 16px;
    color: #6b7280;
    display: block;
    margin-top: 8px;
}

.cpt-features {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    text-align: left;
}

.cpt-features li {
    padding: 12px 0;
    color: #4b5563;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cpt-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    font-size: 12px;
    flex-shrink: 0;
}

.cpt-check .cpt-icon {
    background: #dcfce7;
    color: #16a34a;
}

.cpt-cross .cpt-icon {
    background: #fee2e2;
    color: #dc2626;
}

.cpt-button {
    display: inline-block !important;
    width: 100%;
    padding: 14px 30px;
    background: #3b82f6 !important;
    color: #ffffff !important;
    text-decoration: none !important;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    margin-top: auto; /* ADDED: Pushes button to the bottom */
}

.cpt-button:hover,
.cpt-button:visited,
.cpt-button:link {
    background: #2563eb !important;
    color: #ffffff !important;
    transform: scale(1.02);
    text-decoration: none !important;
}

.cpt-button:active,
.cpt-button:focus {
    background: #2563eb !important;
    color: #ffffff !important;
    text-decoration: none !important;
}

/* REMOVED the media query that forced a single column on mobile */
