/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Funnel+Display:wght@400;500;600;700;800&family=Manrope:wght@200;300;400;500;600;700;800&display=swap');

/* Main Container */
.ss-pricing-container {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
    font-family: 'Manrope', sans-serif;
    color: #333;
}

/* Filter Buttons */
.ss-pricing-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.ss-filter-btn {
    background-color: #012921;
    border: 1px solid #012921;
    padding: 25px 45px;
    border-radius: 50px;
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    line-height: 1;
}

.ss-filter-btn:hover,
.ss-filter-btn.active {
    background-color: #012921;
    border-color: #012921;
    color: #fff;
}

/* Optional content for the selected main category */
.ss-pricing-category-custom-contents.ss-has-content {
    margin-bottom: 30px;
}

.ss-pricing-category-custom-contents,
.ss-category-custom-content {
    max-width: none;
    padding-left: 0;
    padding-right: 0;
    box-sizing: border-box;
}

.ss-pricing-category-custom-contents {
    width: calc(100% + 40px);
    margin-left: -20px;
    margin-right: -20px;
}

.ss-category-custom-content {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
}

/* Keep shortcode output aligned with the search controls and pricing table. */
.ss-category-custom-content > :first-child,
.ss-category-custom-content > .elementor > .e-con:first-child,
.ss-category-custom-content > .elementor > .elementor-section-wrap > .elementor-section:first-child {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.ss-category-custom-content.ss-is-empty {
    display: none !important;
}

.ss-category-custom-content > :first-child {
    margin-top: 0;
}

.ss-category-custom-content > :last-child {
    margin-bottom: 0;
}

/* Controls (Search & Filter) */
.ss-pricing-controls {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.ss-control-group {
    flex: 1;
    min-width: 250px;
}

.ss-pricing-controls input,
.ss-pricing-controls select {
    width: 100%;
    padding: 10px 0;
    border: none;
    border-bottom: 1px solid #A2A2A2;
    border-radius: 0;
    font-family: 'Manrope', sans-serif;
    font-size: 15px;
    background-color: transparent;
    color: #012921;
    outline: none;
}

/* Typography remains same */

/* Table Layout */
.ss-pricing-group {
    margin-bottom: 40px;
}

.ss-pricing-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.ss-pricing-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: transparent;
    min-width: 800px;
    table-layout: fixed;
}

.ss-pricing-table th {
    text-align: left;
    padding: 15px 20px;
    color: #fff;
    font-weight: 700;
    font-family: 'Funnel Display', sans-serif;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.05em;
    background-color: #012921;
}

.ss-pricing-table tr {
    background-color: #F2F7F7;
}

.ss-pricing-table td {
    padding: 15px 20px;
    vertical-align: middle;
    text-align: left;
    font-family: 'Manrope', sans-serif;
    color: #333;
    border-bottom: none;
}

.ss-pricing-table tr:first-child td {
    border-top: none;
}

.ss-pricing-table tr:last-child td {
    border-bottom: none;
}

/* Columns - Initial values, overridden by settings */
.ss-col-name,
.ss-col-desc,
.ss-col-price {
    width: 33.333%;
}

/* Cell Content */
.ss-service-name {
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #012921;
}

.ss-service-desc {
    font-family: 'Manrope', sans-serif;
    color: #555;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 500;
}

/* Read More Button */
.ss-read-more-btn {
    display: none;
    background: none !important;
    background-color: transparent !important;
    border: none;
    color: #012921;
    font-weight: 700;
    cursor: pointer;
    padding: 0;
    margin-right: auto;
    text-decoration: underline;
    font-size: inherit;
    font-family: inherit;
    margin-top: 5px;
    transition: color 0.3s ease;
}

.ss-read-more-btn:hover {
    color: #ecf241 !important;
    background: none !important;
}

.ss-price-tag {
    display: inline-block;
    color: #012921;
    font-weight: 800;
    font-size: 18px;
    font-family: 'Funnel Display', sans-serif;
}

/* Responsive */
@media (max-width: 991px) {
    .ss-filter-btn {
        padding: 20px 35px;
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    .ss-pricing-table {
        min-width: 700px;
    }

    .ss-filter-btn {
        width: 100%;
    }

    .ss-pricing-controls {
        flex-direction: column;
    }
}
