/* === Membership Price Table === */
.price-table {
    max-width: 1200px;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    padding: 0 0 0 1rem;
    box-sizing: border-box;
}

.desktop-only {
    display: block;
}
.mobile-only {
    display: none;
}

@media (max-width: 1024px) {
    .desktop-only {
        display: none;
    }
    .mobile-only {
        display: block;
    }
}

.price-table__thead th {
    box-shadow: 0 2px 2px rgba(0,0,0,0.05);
    background: #fff;
    border: none;
    border-right: 1px solid black;
}

.price-table__thead th:last-child {
    border-right: none;
}

/* Header Row 1 styling */
.price-table__header-row-1 th {
    background-color: #CECECE;
    padding: 0.5rem 1rem;
    vertical-align: middle;
    text-align: left;
    border-bottom: none; /* No border between row 1 and the new row 2 */
}

.plan-name {
    font-size: 33px;
    font-weight: 700;
}

.plan-subtitle {
    font-size: 20px;
    font-weight: 700;
}

/* Header Row 1, Column 3 (Recommended badge cell) specific background */
.price-table__header-row-1 th:nth-child(3) {
    background-color: #6ebc9d;
    color: #fff;
    font-weight: bold;
    font-size: 1.1em;
    text-align: center;
    padding: 0.5rem 1rem;
}

/* New header rows for split content (previously row 2) */
.price-table__header-row-name-subtitle th,
.price-table__header-row-description th,
.price-table__header-row-button th {
    background-color: #FFFFFF; /* Default for these three rows */
    padding: 0.5rem 1rem; /* Adjust padding for a tighter look */
    vertical-align: top;
    text-align: left;
    border-bottom: none; /* No internal borders between these split rows */
}

/* Apply specific background for Column 3 in these split rows */
.price-table__header-row-name-subtitle th:nth-child(3),
.price-table__header-row-description th:nth-child(3),
.price-table__header-row-button th:nth-child(3) {
    background-color: #add9c7;
}

/* Ensure only the LAST of these three rows has the 2px border on its bottom */
.price-table__header-row-button th {
    border-bottom: 2px solid black;
}

/* Remove default padding from price-table__head as content is direct in th */
.price-table__head {
    /* This class might not be used anymore in these split header rows,
       but keeping it defined in case it's inherited or used elsewhere. */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* Adjustments for content within the new header cells */
.price-table__plan {
    font-weight: bold;
    font-size: 1.25rem;
    margin-bottom: 0; /* No margin as content is now individually rowed */
    display: block; /* Ensure it takes full width */
}

.price-table__plan small {
    font-weight: normal;
    font-size: 0.85rem;
    display: block;
}

.price-table__recommended-for-header {
    font-size: 20px;
    line-height: 1.3;
    margin-top: 0;
    margin-bottom: 0;
    padding: 0;
    font-weight: 500;
}

.price-table__button {
    margin-top: 0; /* Remove top margin for buttons in their own row */
}


/* Table Styles */
.price-table__wrapper {
    overflow-x: auto;
}

.price-table__table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    border: none;
}

.price-table__table td {
    padding: 1rem;
    text-align: left;
    vertical-align: top;
    border: none;
    border-right: 1px solid black;
    border-top: none;
    border-bottom: none;
    word-wrap: break-word;
}

.price-table__row-header {
    font-size: 20px;
    font-weight: 700;
}

.price-table__row-subheader {
    font-size: 20px;
    font-weight: 400;
}

.price-table__price {
    font-size: 20px;
    font-weight: 400;
}

.price-table__table td.price-table__centered-cell {
    text-align: center;
}

.price-table__table td:last-child {
    border-right: none;
}

.price-table__table tbody tr:first-child td {
    border-top: 2px solid black;
}

/* Data Rows (tbody) - Odd rows */
.price-table__table tbody tr:nth-child(odd) {
    background-color: #FFFFFF;
}
.price-table__table tbody tr:nth-child(odd) td:nth-child(3) {
    background-color: #add9c7;
}

/* Data Rows (tbody) - Even rows */
.price-table__table tbody tr:nth-child(even) {
    background-color: #f0f0f0;
}
.price-table__table tbody tr:nth-child(even) td:nth-child(3) {
    background-color: #a7d3c1;
}

/* Mobile Swiper */
.price-table__mobile {
    padding-bottom: 30px;
}

.price-table__mobile-slide {
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid #000;
}

.price-table__sticky-head {
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 10;
    padding: 1rem;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-bottom: 2px solid #000;
    min-height: 240px;
}

.price-table__recommended-for {
    font-size: 0.9em;
    margin-top: 0.5rem;
    line-height: 1.3;
    min-height: 40px;
}

.price-table__list {
    list-style: none;
    padding: 0;
    flex-grow: 1;
}

.price-table__list li {
    padding: 1rem;
    display: flex;
    align-items: flex-start;
    font-weight: 400;
    font-size: 20px;
}

.price-table__list li:nth-child(odd) {
    background-color: #ffffff;
}

.price-table__list li:nth-child(even) {
    background-color: #f0f0f0;
}

.price-table__list li strong {
    min-width: 80px;
    display: inline-block;
}

.price-table__apply-button-mobile {
    text-align: center;
    padding-bottom: 8px;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

.price-table__note {
    font-size: 0.75rem;
    color: #666;
    margin-top: 1rem;
    line-height: 1.3;
}

.price-table__button {
    background: #d33c33;
    color: #fff;
    padding: 0.5rem 3rem;
    border: 2px solid #d33c33;
    border-radius: 50px;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    margin-top: 10px;
    white-space: nowrap;
}

.price-table__button:hover {
    color: #d33c33;
    background-color: #fff;
}

.feature-check {
    font-weight: bold;
    font-size: 23px;
    margin-right: 5px;
    line-height: 1;
    font-family: initial;
}

.feature-cross {
    font-weight: bold;
    font-size: 1.2em;
    margin-right: 5px;
    line-height: 1;
    white-space: nowrap;
}

.swiper-pagination-bullet {
    background: #ccc;
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background: #47be9b;
}

.price-table__badge-container {
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.price-table__badge {
    background-color: #6ebc9d;
    color: #fff;
    padding: 0.25rem 1rem;
    border-radius: 50px;
    font-weight: bold;
    display: inline-block;
}

.price-table__list__title {
    margin-right: 8px;
    font-weight: 700;
}

.price-table__list__feature span {
    display: inline-block;
    margin-right: 8px;
}

.price-table__col--highlight .price-table__sticky-head {
    background-color: #add9c7;
}

.price-table__col--highlight .price-table__list li:nth-child(odd) {
    background-color: #add9c7;
}

.price-table__col--highlight .price-table__list li:nth-child(even) {
    background-color: #a7d3c1;
}

.price-table__col--highlight .price-table__apply-button-mobile {
    background-color: #add9c7;
}