/* = Product Page
---------------------------------------------------- */

.product-purchase-options {
    max-width: 360px;
}

.product-purchase-option {
    border: 1px solid #f2f2f2;
    border-radius: 4px;
    overflow: hidden;
}

.product-purchase-option:not(:first-child) {
    margin-top: 8px;
}

.product-purchase-option.active {
    border-color: #ead5ff;
    background-color: #fbf7ff;
}

.product-purchase-option label {
    cursor: pointer;

    padding: 12px 15px;
    display: block;
}

.product-purchase-option input {
    margin-right: 0.25em;
}

.product-purchase-option .subscription-option-selected {
    border-top: 1px solid #e6d2ff;
    background-color: white;
    padding: 12px 35px 12px 15px;
    display: block;

    /* background-image: url(../images/icon-select.svg);
	background-position: calc(100% - 15px) 50%;
	background-repeat: no-repeat; */
    cursor: pointer;
    font-size: 22px;
    font-weight: 600;
}

.product-purchase-option:not(.active) .subscription-option-selected,
.product-purchase-option:not(.active) .subscription-suboptions {
    display: none;
}

.product-purchase-option .subscription-suboptions {
    background-color: #fff;
    margin: 1px 0 0;
    padding: 0;

    border-width: 1px 1px 0;
    border-color: #f2f2f2;
    border-style: solid;
}

.subscription-option-selected:not(.clicked)+.subscription-suboptions {
    /* display: none; */
}

.product-purchase-option .subscription-suboptions li {
    list-style: none;
    cursor: pointer;
    margin-left: -1px;
    border-bottom: 1px solid #f2f2f2;
    border-left: 2px solid #ffffff;
    padding: 10px 15px;

    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;

    -webkit-justify-content: space-between;
    justify-content: space-between;

    -webkit-display: flex;
    display: flex;
}

.product-purchase-option .subscription-suboptions li::after,
.product-purchase-option .subscription-suboptions li::before {
    display: none;
}

.product-purchase-option .subscription-suboptions li:hover,
.product-purchase-option .subscription-suboptions li.active {
    background-color: #fbf7ff;
    border-left: 2px solid #b179e8;
    transition: all 0.3s ease-out;
    background-color: #fbf7ff;
    border-left: 2px solid #b179e8;
    transition: all 0.3s ease-out;
    -webkit-box-shadow: 0px 0px 5px -2px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 0px 0px 5px -2px rgba(0, 0, 0, 0.75);
    box-shadow: 0px 0px 5px -2px rgba(0, 0, 0, 0.75);
    margin-left: -1px;
}

.product-purchase-option .subscription-suboptions .product-purchase-option-label {
    padding-right: 10px;
    max-width: 65%;
}

.product-purchase-option .subscription-suboptions .product-purchase-option-price {
    max-width: 35%;
}

.product-purchase-option .subscription-suboptions .product-purchase-option-description,
.product-purchase-option .subscription-suboptions .product-purchase-option-sign-up-price {
    width: 100%;
}

/* = Cart Page
---------------------------------------------------- */

.woocommerce .product-payment-plan-options {
    margin-top: 5px;
}

.woocommerce .product-payment-plan-options input {
    margin: 0 6px 0 0;
}

.woocommerce .product-payment-plan-options input.hidden {
    display: none;
}

.woocommerce .product-payment-plan-sign-up-fee {
    display: block;
}

.woocommerce table.shop_table .divider td {
    padding: 0;
}

.woocommerce table.shop_table .divider td::before {
    display: block;
    height: 1px;
    background-color: #e1e1e1;
    content: '';
}

.wc-block-components-formatted-money-amount {
    display: block;
}

ul.wcsatt-options-product li.product-purchase-option {
    box-shadow: 0px 1px 3px 0px #d7d7d7;
    transition: all 0.3s ease-out;
    color: black;
}

ul.wcsatt-options-product li.product-purchase-option:hover {
    border-color: #ead5ff;
    background-color: #fbf7ff;
    box-shadow: 0px 3px 4px 0px #d7d7d7;
    transition: all 0.3s ease-out;
}

li.product-purchase-option input[type="radio"]:focus {
    outline-color: transparent;
}

.product-purchase-options-title {
    color: black;
}

span.product-purchase-option-label {
    font-size: 18px;
    font-weight: 500;
}

span.product-purchase-option-description {
    font-size: 16px;
}

span.product-purchase-option-sign-up-price {
    font-size: 12px;
    color: gray;
}

.product-purchase-options .payment-plan {
    display: none;
}

li.product-purchase-option.subscription-option.active .payment-plan {
    display: block;
}

.product-purchase-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.wcsatt-options-product {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.product-purchase-option {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 15px;
}

.product-purchase-option label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.subscription-option-selected {
    display: block;
    margin-top: 8px;
    font-size: 0.9em;
    color: #666;
}

.payment-plan {
    margin-top: 10px;
}

.payment-schedule {
    width: 100%;
    border-collapse: collapse;
}

.payment-schedule th,
.payment-schedule td {
    padding: 8px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

/* Payment Plan Status Labels */
.wpp-paid-installment {
    color: #999;
}

/* Apply strikethrough to Index and Date columns */
.wpp-paid-installment td:nth-child(1),
.wpp-paid-installment td:nth-child(2) {
    text-decoration: line-through;
}

/* Apply strikethrough to the price amount specifically */
.wpp-paid-installment .amount,
.wpp-paid-installment .woocommerce-Price-amount {
    text-decoration: line-through;
}

.wpp-status-paid {
    color: #28a745;
    font-weight: 600;
    margin-left: 8px;
    text-decoration: none;
    display: inline-block;
    font-size: 0.9em;
}

.wpp-status-upcoming {
    color: #6c757d;
    margin-left: 8px;
    text-decoration: none;
    display: inline-block;
    font-size: 0.9em;
}