/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

.wps_sfw_account_wrap {
    overflow-x: auto;
}

.wps_sfw_free_trial,
.wps_sfw_signup_fee {
    display: block;
}

.wps_sfw_experimental_feature_notice {
    color: red;
}

/* Designing issue fixes */
div#oceanwp-cart-sidebar-wrap .oceanwp-cart-sidebar {
    width: 100%;
    max-width: 400px;
}

div#oceanwp-cart-sidebar-wrap .wps_sfw_subscription_wrapper {
    padding: 10px;
}

.oceanwp-theme .wps_sfw_subscription_inner_wrapper .amount {
    color: #fff !important;
}

.theme-betheme .wps_sfw_subscription_wrapper label,
.theme-betheme .wps_sfw_subscription_wrapper p,
.oceanwp-theme .wps_sfw_subscription_wrapper label,
.oceanwp-theme .wps_sfw_subscription_wrapper p {
    line-height: 28px;
}

.theme-betheme .wps_sfw_subscription_wrapper,
.oceanwp-theme .wps_sfw_subscription_wrapper {
    text-align: left;
    padding: 10px;
}

.mfp-wrap .mfp-container .mfp-content {
    width: 100%;
    max-width: 500px;
}

.wps_sfw_subscription_wrapper label,
.wps_sfw_subscription_wrapper p {
    display: inline-block;
    white-space: break-spaces;
}

.wps_sfw_subscription_wrapper input[type=radio] {
    vertical-align: middle;
    margin: 0 5px 5px 0;
}

.wps_sfw_account_wrap table {
    width: 100%;
}

.wps_sfw_account_additional_wrap {
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.12);
    border: 1px solid #dddddd;
    margin: 0 0 20px;
}

.wps_sfw_account_additional_wrap table {
    border: none;
    margin: 0;
}

.wps_sfw_account_additional_wrap table th {
    font-size: 15px;
    line-height: 1.25;
    text-align: center;
    vertical-align: middle;
    color: #000;
}

.wps_sfw_account_additional_wrap table td {
    text-align: center;
}

.wps_sfw_account_additional_wrap table td:first-of-type,
.wps_sfw_account_additional_wrap table th:first-of-type {
    text-align: left;
}

.wps_sfw_account_additional_wrap table td:nth-of-type(2) {
    text-transform: capitalize;
    position: relative;
}

.woocommerce-orders-table__cell-order-status span {
    background: #b7ddb7;
    padding: 3px 5px;
    line-height: 1.25;
    border-radius: 3px;
    color: green;
    font-size: 14px;
    text-transform: capitalize;
}

.wps_sfw_expired span {
    background: #ffe2df;
    color: #e74c3c;
}

.wps_sfw_cancelled span {
    background: #fbdec4;
    color: #e67e22;
}

.wps_sfw_on-hold span {
    background: #fff4c7;
    color: #f1c40f;
}

.wps_sfw_paused span {
    background: #cfecff;
    color: #3498db;
}

.wps_wsp_recurring_total_td {
    font-weight: 600;
}

.wps_wsp_recurring_total th {
    vertical-align: top;
}

/* Subscription on my account page start  */

.wps_sfw_order_details a.wps_upgrade_downgrade.button {
    display: block;
    max-width: max-content;
    margin: 5px 0 0;
    line-height: 1.25;
    padding: 10px 10px;
    background: #f8f8f8;
    border: 2px solid #f8f8f8;
    font-size: 14px;
    color: #000;
}

.wps_sfw_details_wrap table.shop_table th,
.wps_sfw_account_wrap table th {
    border-bottom: 1px solid #ccc;
    font-weight: 600;
}

.wps_sfw_details_wrap table.shop_table th,
.wps_sfw_details_wrap table.shop_table td,
.wps_sfw_account_wrap table thead th,
.wps_sfw_account_wrap table tbody td {
    background: transparent;
    padding: 15px;
    text-align: left;
}

.wps_sfw_details_wrap table.shop_table tr,
.wps_sfw_account_wrap table tbody tr {
    border: none;
}

.wps_sfw_details_wrap table.shop_table tr:nth-of-type(even),
.wps_sfw_account_wrap table tbody tr:nth-of-type(even) {
    background: #f8f8f8;
}

.wps_sfw_details_wrap h3 {
    padding: 10px 15px;
    font-size: 24px;
    margin: 0 0 10px;
    font-weight: 500;
    line-height: 1.25;
    color: #000000;
    background: #f3f3f3;
    border-radius: 8px;
    border: 1px solid #e2e2e2;
    cursor: default;
}

.wps_sfw_details_wrap table+h3 {
    margin: 25px 0 15px;
}

.wps_sfw_account_additional_wrap table td a.button {
    margin: 0 8px 8px 0;
    border-radius: 5px;
    padding: 10px 20px;
    line-height: 1.25;
    font-size: 15px;
    display: inline-block;
}

.wps_sfw_account_additional_wrap table td:first-of-type {
    font-weight: 500;
    color: #000;
}

.wps_sfw_show-subscription-page #secondary {
    display: none;
}

.wps_sfw_show-subscription-page #primary {
    width: 100%;
    margin: 0;
}

.wps_sfw_details_wrap-parent {
    container-type: inline-size;
    container-name: subs-box;
}

.wps_sfw_details_wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}


.wps_sfw_account_additional_wrap.wps_sfw_account_renewal_wrap {
    grid-column-start: 1;
    grid-column-end: 3;
}

.wps_sfw_account_additional_wrap {
    margin: 0;
    padding: 15px;
    transition: all 0.2s linear;
}

.wps_sfw_account_additional_wrap:hover {
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.25);
}

@container subs-box (max-width: 690px) {
    .wps_sfw_details_wrap {
        gap: 30px;
        display: flex;
        flex-wrap: wrap;
    }

    .wps_sfw_details_wrap .wps_sfw_account_additional_wrap table.shop_table {
        width: 100%;
    }

    .wps_sfw_account_additional_wrap {
        flex: 1 0 45%;
    }

    .wps_sfw_account_additional_wrap.wps_sfw_account_renewal_wrap {
        overflow: auto;
    }
}

/* Subscription on my account page end  */

/* Aurora subscription dashboard start */
.wps-sfw-aurora-account,
.wps-sfw-aurora-detail {
    --wps-sfw-aurora-text: #24193c;
    --wps-sfw-aurora-muted: #7b728d;
    --wps-sfw-aurora-border: #eadfcb;
    --wps-sfw-aurora-border-soft: #efe7d8;
    --wps-sfw-aurora-accent: #d38a54;
    --wps-sfw-aurora-accent-soft: #fff1e5;
    --wps-sfw-aurora-bg: #fcf8f2;
    --wps-sfw-aurora-card: #ffffff;
    --wps-sfw-aurora-shadow: 0 24px 50px rgba(120, 84, 48, 0.08);
    color: var(--wps-sfw-aurora-text);
    display: grid;
    gap: 22px;
    margin: 0 auto;
    max-width: 1160px;
}

.wps-sfw-aurora-account__header h2,
.wps-sfw-aurora-detail__hero-copy h2 {
    color: var(--wps-sfw-aurora-text);
    font-size: 38px;
    line-height: 1.08;
    margin: 0 0 8px;
}

.wps-sfw-aurora-account__header p,
.wps-sfw-aurora-detail__hero-copy p,
.wps-sfw-aurora-next-delivery p,
.wps-sfw-aurora-action-card p,
.wps-sfw-aurora-metric__meta,
.wps-sfw-aurora-subscription-card__meta,
.wps-sfw-aurora-empty-state p,
.wps-sfw-aurora-history__empty {
    color: var(--wps-sfw-aurora-muted);
    line-height: 1.65;
    margin: 0;
}

.wps-sfw-aurora-metrics {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.wps-sfw-aurora-metric,
.wps-sfw-aurora-next-delivery,
.wps-sfw-aurora-subscription-card,
.wps-sfw-aurora-panel,
.wps-sfw-aurora-empty-state {
    background: var(--wps-sfw-aurora-card);
    border: 1px solid var(--wps-sfw-aurora-border-soft);
    border-radius: 18px;
    box-shadow: var(--wps-sfw-aurora-shadow);
}

.wps-sfw-aurora-metric {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-height: 152px;
    padding: 22px 24px;
}

.wps-sfw-aurora-metric__label,
.wps-sfw-aurora-next-delivery__eyebrow,
.wps-sfw-aurora-subscription-card__eyebrow,
.wps-sfw-aurora-detail__hero-price span,
.wps-sfw-aurora-panel__head h3,
.wps-sfw-aurora-summary__total span {
    color: var(--wps-sfw-aurora-muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin: 0 0 10px;
    text-transform: uppercase;
}

.wps-sfw-aurora-metric strong,
.wps-sfw-aurora-detail__hero-price strong,
.wps-sfw-aurora-summary__total strong,
.wps-sfw-aurora-subscription-card__price strong,
.wps-sfw-aurora-subscription-card__schedule strong {
    color: var(--wps-sfw-aurora-text);
    display: block;
    margin: 0 0 6px;
}

.wps-sfw-aurora-next-delivery {
    align-items: center;
    background: linear-gradient(180deg, #fff6ea 0%, #fffaf3 100%);
    display: grid;
    gap: 16px;
    grid-template-columns: 44px minmax(0, 1fr);
    padding: 18px 20px;
}

.wps-sfw-aurora-next-delivery__icon {
    background: linear-gradient(180deg, #e19a65 0%, #cf7b44 100%);
    border-radius: 12px;
    height: 44px;
    position: relative;
    width: 44px;
}

.wps-sfw-aurora-next-delivery__icon::before {
    background: #fff;
    border-radius: 2px;
    content: "";
    height: 16px;
    left: 13px;
    position: absolute;
    top: 14px;
    width: 18px;
}

.wps-sfw-aurora-next-delivery__icon::after {
    border: 2px solid #cf7b44;
    border-bottom: 0;
    border-radius: 6px 6px 0 0;
    content: "";
    height: 7px;
    left: 14px;
    position: absolute;
    top: 10px;
    width: 16px;
}

.wps-sfw-aurora-filterbar {
    align-items: center;
    display: flex;
    gap: 16px;
    justify-content: space-between;
}

.wps-sfw-aurora-filters {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.wps-sfw-aurora-filter {
    align-items: center;
    background: #fff;
    border: 1px solid var(--wps-sfw-aurora-border);
    border-radius: 999px;
    color: var(--wps-sfw-aurora-text);
    cursor: pointer;
    display: inline-flex;
    gap: 8px;
    line-height: 1;
    margin: 0;
    min-height: 38px;
    padding: 0 14px;
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.wps-sfw-aurora-filter span {
    color: var(--wps-sfw-aurora-muted);
    font-size: 12px;
}

.wps-sfw-aurora-filter.is-active,
.wps-sfw-aurora-filter:hover,
.wps-sfw-aurora-filter:focus {
    background: var(--wps-sfw-aurora-accent-soft);
    border-color: var(--wps-sfw-aurora-accent);
    color: var(--wps-sfw-aurora-accent);
    outline: none;
}

.wps-sfw-aurora-filterbar__meta {
    color: var(--wps-sfw-aurora-muted);
    font-size: 13px;
    white-space: nowrap;
}

.wps-sfw-aurora-subscription-list {
    display: grid;
    gap: 14px;
}

.wps-sfw-aurora-subscription-card {
    /* align-items: center;
    display: grid;
    gap: 20px;
    grid-template-columns: minmax(0, 1.7fr) minmax(180px, 0.8fr) minmax(160px, 0.6fr) auto;
    padding: 18px 20px; */

        padding: 18px 20px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.wps-sfw-aurora-subscription-card__product {
    align-items: center;
    display: grid;
    gap: 14px;
    grid-template-columns: 54px minmax(0, 1fr);
}

.wps-sfw-aurora-subscription-card__media {
    align-items: center;
    background: linear-gradient(180deg, #fff8f1 0%, #f8f1ea 100%);
    border: 1px solid var(--wps-sfw-aurora-border-soft);
    border-radius: 14px;
    display: flex;
    height: 54px;
    justify-content: center;
    overflow: hidden;
    width: 54px;
}

.wps-sfw-aurora-subscription-card__media img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.wps-sfw-aurora-subscription-card__glyph {
    border: 2px solid #d58d59;
    border-radius: 8px;
    display: inline-block;
    height: 18px;
    position: relative;
    transform: rotate(45deg);
    width: 18px;
}

.wps-sfw-aurora-subscription-card__glyph::before {
    border-top: 2px solid #d58d59;
    content: "";
    left: -2px;
    position: absolute;
    top: 7px;
    width: 18px;
}

.wps-sfw-aurora-subscription-card__glyph::after {
    border-left: 2px solid #d58d59;
    content: "";
    height: 18px;
    left: 7px;
    position: absolute;
    top: -2px;
}

.wps-sfw-aurora-subscription-card__copy {
    display: grid;
    gap: 6px;
}

.wps-sfw-aurora-subscription-card__copy h3,
.wps-sfw-aurora-action-card h4,
.wps-sfw-aurora-panel__head h3 {
    color: var(--wps-sfw-aurora-text);
    font-size: 20px;
    line-height: 1.2;
    margin: 0;
}

.wps-sfw-aurora-subscription-card__copy p {
    color: var(--wps-sfw-aurora-muted);
    font-size: 13px;
    line-height: 1.55;
    margin: 0;
}

.wps-sfw-aurora-subscription-card__ids {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
}

.wps-sfw-aurora-subscription-card__ids span {
    color: var(--wps-sfw-aurora-muted);
    font-size: 12px;
    line-height: 1.4;
}

.wps-sfw-aurora-subscription-card__price strong,
.wps-sfw-aurora-subscription-card__schedule strong {
    font-size: 18px;
    margin-bottom: 4px;
}

.wps-sfw-aurora-subscription-card__price .wps_sfw_interval,
.wps-sfw-aurora-subscription-card__schedule .wps_sfw_interval {
    font-size: 13px;
}

/* .wps-sfw-aurora-subscription-card__schedule,
.wps-sfw-aurora-subscription-card__price {
    align-self: center;
} */

.wps-sfw-aurora-status {
    align-items: center;
    border-radius: 999px;
    display: inline-flex;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    max-width: max-content;
    min-height: 26px;
    padding: 0 10px;
    text-transform: capitalize;
}

.wps-sfw-aurora-status--active,
.wps-sfw-aurora-status--completed {
    background: #dff4df;
    color: #2b8a45;
}

.wps-sfw-aurora-status--on-hold,
.wps-sfw-aurora-status--pending {
    background: #fff3c4;
    color: #b37b00;
}

.wps-sfw-aurora-status--paused {
    background: #dfeeff;
    color: #2e6fc7;
}

.wps-sfw-aurora-status--cancelled,
.wps-sfw-aurora-status--failed {
    background: #ffe3d7;
    color: #d16d35;
}

.wps-sfw-aurora-status--expired,
.wps-sfw-aurora-status--refunded,
.wps-sfw-aurora-status--processing {
    background: #ffe1e1;
    color: #c24d4d;
}

.wps-sfw-aurora-manage-button,
.wps-sfw-aurora-action-card__button,
.wps-sfw-aurora-pagination__button {
    align-items: center;
    background: linear-gradient(180deg, #d99360 0%, #c97a45 100%);
    border: 0;
    border-radius: 12px;
    color: #fff;
    display: inline-flex;
    justify-content: center;
    line-height: 1;
    min-height: 42px;
    padding: 0 18px;
    text-decoration: none !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wps-sfw-aurora-manage-button:hover,
.wps-sfw-aurora-manage-button:focus,
.wps-sfw-aurora-action-card__button:hover,
.wps-sfw-aurora-action-card__button:focus,
.wps-sfw-aurora-pagination__button:hover,
.wps-sfw-aurora-pagination__button:focus {
    box-shadow: 0 16px 28px rgba(201, 122, 69, 0.24);
    color: #fff;
    transform: translateY(-1px);
}

.wps-sfw-aurora-empty-state {
    padding: 36px 32px;
    text-align: center;
}

.wps-sfw-aurora-empty-state h3 {
    color: var(--wps-sfw-aurora-text);
    font-size: 24px;
    margin: 0 0 10px;
}

.wps-sfw-aurora-pagination {
    align-items: center;
    display: flex;
    gap: 14px;
    justify-content: center;
}

.wps-sfw-aurora-pagination__meta {
    color: var(--wps-sfw-aurora-muted);
}

.wps-sfw-aurora-detail__back a {
    color: var(--wps-sfw-aurora-muted);
    text-decoration: none;
}

.wps-sfw-aurora-detail__hero {
    align-items: flex-start;
    background: var(--wps-sfw-aurora-card);
    border: 1px solid var(--wps-sfw-aurora-border-soft);
    border-radius: 18px;
    box-shadow: var(--wps-sfw-aurora-shadow);
    display: flex;
    gap: 24px;
    justify-content: space-between;
    padding: 24px;
}

.wps-sfw-aurora-detail__hero-main {
    align-items: center;
    display: grid;
    gap: 18px;
    grid-template-columns: 68px minmax(0, 1fr);
}

.wps-sfw-aurora-detail__hero-media {
    align-items: center;
    background: linear-gradient(180deg, #fff8f1 0%, #f8f1ea 100%);
    border: 1px solid var(--wps-sfw-aurora-border-soft);
    border-radius: 18px;
    display: flex;
    height: 68px;
    justify-content: center;
    overflow: hidden;
    width: 68px;
}

.wps-sfw-aurora-detail__hero-media img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.wps-sfw-aurora-detail__hero-price {
    flex: 0 0 auto;
    min-width: 170px;
    text-align: right;
}

.wps-sfw-aurora-detail__grid {
    display: grid;
    gap: 18px;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
}

.wps-sfw-aurora-panel {
    padding: 18px;
}

.wps-sfw-aurora-panel__head {
    margin-bottom: 14px;
}

.wps-sfw-aurora-action-list {
    display: grid;
    gap: 12px;
}

.wps-sfw-aurora-action-card {
    align-items: flex-start;
    background: #faf6ef;
    border: 1px solid #ede4d5;
    border-radius: 14px;
    display: flex;
    gap: 16px;
    justify-content: space-between;
    padding: 16px;
}

.wps-sfw-aurora-action-card--danger {
    background: #fff3ef;
    border-color: #f4d0c3;
}

.wps-sfw-aurora-action-card--stack .wps-sfw-aurora-action-card__copy {
    width: 100%;
}

.wps-sfw-aurora-action-card__copy {
    display: grid;
    gap: 6px;
}

.wps-sfw-aurora-pro-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 6px;
}

.wps-sfw-aurora-pro-actions > * {
    margin: 0 !important;
}

.wps-sfw-aurora-pro-actions .button,
.wps-sfw-aurora-pro-actions a.button,
.wps-sfw-aurora-pro-actions .btn.button {
    align-items: center;
    background: linear-gradient(180deg, #d99360 0%, #c97a45 100%);
    border: 0;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(201, 122, 69, 0.16);
    color: #fff;
    display: inline-flex;
    font-weight: 700;
    justify-content: center;
    line-height: 1;
    margin: 0 !important;
    min-height: 42px;
    padding: 0 18px;
    text-decoration: none !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    white-space: nowrap;
}

.wps-sfw-aurora-pro-actions .button:hover,
.wps-sfw-aurora-pro-actions a.button:hover,
.wps-sfw-aurora-pro-actions .btn.button:hover {
    background: linear-gradient(180deg, #de9b6a 0%, #cf7b44 100%);
    box-shadow: 0 16px 28px rgba(201, 122, 69, 0.24);
    color: #fff;
    transform: translateY(-1px);
}

.wps-sfw-aurora-summary {
    display: grid;
    gap: 18px;
}

.wps-sfw-aurora-summary__total {
    background: #faf6ef;
    border: 1px solid #ede4d5;
    border-radius: 14px;
    padding: 18px;
}

.wps-sfw-aurora-summary__list {
    display: grid;
    gap: 12px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.wps-sfw-aurora-summary__list li {
    align-items: center;
    border-bottom: 1px solid #f0eadf;
    display: flex;
    gap: 16px;
    justify-content: space-between;
    padding-bottom: 12px;
}

.wps-sfw-aurora-summary__list li:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.wps-sfw-aurora-summary__list span {
    color: var(--wps-sfw-aurora-muted);
}

.wps-sfw-aurora-summary__list strong {
    color: var(--wps-sfw-aurora-text);
    text-align: right;
}

.wps-sfw-aurora-detail__hero-price strong,
.wps-sfw-aurora-summary__list strong,
.wps-sfw-aurora-history__table td,
.wps-sfw-aurora-history__table th {
    white-space: nowrap;
}

.wps-sfw-aurora-history__table {
    border: 0;
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
}

.wps-sfw-aurora-history__table thead th {
    background: #faf6ef;
    border-bottom: 1px solid #ede4d5;
    color: var(--wps-sfw-aurora-muted);
    font-size: 12px;
    letter-spacing: 0.06em;
    padding: 12px 14px;
    text-transform: uppercase;
}

.wps-sfw-aurora-history__table tbody td {
    border-bottom: 1px solid #f1ebdf;
    padding: 14px;
}

.wps-sfw-aurora-history__table tbody tr:last-child td {
    border-bottom: 0;
}

.wps-sfw-aurora-history__table a {
    color: var(--wps-sfw-aurora-accent);
    text-decoration: none;
}

.wps-sfw-aurora-history__table a:hover {
    color: #b96b38;
}

.wps-sfw-aurora-extensions {
    display: grid;
    gap: 18px;
}

.wps-sfw-aurora-extensions .wps_sfw_account_additional_wrap {
    background: var(--wps-sfw-aurora-card);
    border: 1px solid var(--wps-sfw-aurora-border-soft);
    border-radius: 18px;
    box-shadow: var(--wps-sfw-aurora-shadow);
    margin: 0;
    padding: 18px;
}

.wps-sfw-aurora-extensions .wps_sfw_account_additional_wrap h3 {
    background: transparent;
    border: 0;
    color: var(--wps-sfw-aurora-text);
    font-size: 18px;
    margin: 0 0 14px;
    padding: 0;
}

.wps-sfw-aurora-extensions .wps_sfw_account_additional_wrap.wps_sfw_account_renewal_wrap {
    padding: 22px 18px;
}

.wps-sfw-aurora-extensions .wps_sfw_account_additional_wrap.wps_sfw_account_renewal_wrap h3 {
    color: var(--wps-sfw-aurora-text);
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin-bottom: 18px;
    text-transform: uppercase;
}

.wps-sfw-aurora-extensions .wps_sfw_account_additional_wrap table {
    border: 0;
    border-collapse: separate;
    border-spacing: 0;
    box-shadow: none;
    width: 100%;
}

.wps-sfw-aurora-extensions .wps_sfw_account_additional_wrap table th,
.wps-sfw-aurora-extensions .wps_sfw_account_additional_wrap table td {
    border-bottom: 1px solid #f1ebdf;
    padding: 14px 18px;
    text-align: left;
}

.wps-sfw-aurora-extensions .wps_sfw_account_additional_wrap table thead th {
    background: #faf6ef;
    color: var(--wps-sfw-aurora-muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.wps-sfw-aurora-extensions .wps_sfw_account_additional_wrap table tbody tr:last-child td {
    border-bottom: 0;
}

.wps-sfw-aurora-extensions .wps_sfw_account_additional_wrap.wps_sfw_account_renewal_wrap table th:first-child,
.wps-sfw-aurora-extensions .wps_sfw_account_additional_wrap.wps_sfw_account_renewal_wrap table td:first-child {
    width: 22%;
}

.wps-sfw-aurora-extensions .wps_sfw_account_additional_wrap.wps_sfw_account_renewal_wrap table td:nth-child(2) {
    width: 26%;
}

.wps-sfw-aurora-extensions .wps_sfw_account_additional_wrap.wps_sfw_account_renewal_wrap table td a:not(.button) {
    color: var(--wps-sfw-aurora-accent);
    text-decoration: none;
}

.wps-sfw-aurora-extensions .wps_sfw_account_additional_wrap.wps_sfw_account_renewal_wrap table td a:not(.button):hover {
    color: #b96b38;
}

.wps-sfw-aurora-extensions .wps_sfw_account_additional_wrap .button,
.wps-sfw-aurora-extensions .wps_sfw_account_additional_wrap a.button {
    align-items: center;
    background: linear-gradient(180deg, #d99360 0%, #c97a45 100%);
    border: 0;
    border-radius: 12px;
    color: #fff;
    display: inline-flex;
    justify-content: center;
    line-height: 1;
    min-height: 40px;
    padding: 0 16px;
    text-decoration: none !important;
}

@media only screen and (max-width: 1100px) {
    .wps-sfw-aurora-metrics,
    .wps-sfw-aurora-detail__grid,
    .wps-sfw-aurora-subscription-card {
        grid-template-columns: 1fr 1fr;
    }

    .wps-sfw-aurora-subscription-card__actions {
        grid-column: span 2;
    }
}

@media only screen and (max-width: 782px) {
    .wps-sfw-aurora-metrics,
    .wps-sfw-aurora-detail__grid,
    .wps-sfw-aurora-subscription-card,
    .wps-sfw-aurora-detail__hero {
        grid-template-columns: 1fr;
    }

    .wps-sfw-aurora-filterbar,
    .wps-sfw-aurora-action-card,
    .wps-sfw-aurora-summary__list li {
        align-items: flex-start;
        flex-direction: column;
    }

    .wps-sfw-aurora-detail__hero {
        display: grid;
    }

    .wps-sfw-aurora-account__header h2,
    .wps-sfw-aurora-detail__hero-copy h2 {
        font-size: 30px;
    }

    .wps-sfw-aurora-history__table {
        display: block;
        overflow-x: auto;
    }

    .wps-sfw-aurora-extensions .wps_sfw_account_additional_wrap table {
        display: block;
        overflow-x: auto;
    }
}
/* Aurora subscription dashboard end */
/* Single product page start */

p.wps_sfw_inner_description {
    padding: 10px;
    background: #f8f8f8;
    margin: 5px 0px 20px;
}

/* Single product page end */

.wps_recurring_bifurcation_wrapper a {
    text-decoration: none !important;
}

.wps_recurring_bifurcation_wrapper ul {
    margin: 0 0 15px;
}

.wps_recurring_bifurcation_wrapper li label {
    font-weight: 600;
}

.wps_recurring_bifurcation_wrapper li {
    list-style: none;
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
    border-bottom: 1px solid #dcdcdc;
    flex-wrap: wrap;
}

/* subscription box start */

:root {
    --wps_sfw_box-primary: rgb(46, 103, 173);
}

a.button.wps_sfw_subs_box-button {
    padding: 10px;
    border: 1px solid;
}

.wps_sfw_subscription_box_info {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.wps_sfw_subs_box-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    /* display: flex; */
    justify-content: center;
    align-items: center;
    z-index: 9999999999;
}

.wps_sfw_subs_box-content {
    background: white;
    padding: 20px;
    top: 15px;
    left: 15px;
    bottom: 15px;
    right: 15px;
    text-align: center;
    border-radius: 10px;
    position: absolute;
    animation: fadeIn 0.3s ease-in-out;
}

.wps_sfw_subs_box-content form {
    margin: 0;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.wps_sfw_subs_box-close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    font-weight: normal;
    cursor: pointer;
    color: #3d3d3d;
    z-index: 9999999;
    line-height: 0;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.wps_sfw_subs_box-close:hover {
    color: var(--wps_sfw_box-primary);
}

.wps_sfw_sub_box_prod_container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
    overflow: auto;
    padding: 20px;
    gap: 15px;
    position: absolute;
    align-items: flex-start;
    top: 90px;
    bottom: 90px;
}

.wps_sfw_sub_box_prod_count {
    font-size: 16px;
    font-weight: bold;
    margin-right: 5px;
    display: inline-block;
}

.wps_sfw-sb-title {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 15px;
    background: #fff;
    border-radius: 10px 10px 0 0;
}

#wps_sfw_subs_box-form .wps_sfw-sb-title h2 {
    margin: 0 auto;
    font-size: 22px;
    font-weight: bold;
    line-height: 1.25;
    max-width: 450px;
    position: relative;
    padding: 0 30px;
}

#wps_sfw_subs_box-form .wps_sfw-sb-title h3 {
    margin: 10px auto;
    font-size: 16px;
    font-weight: normal;
    line-height: 1.5;
    text-transform: uppercase;
    background: #efefef;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
    max-width: 600px;
}

#wps_sfw_subs_box-form .wps_sfw-sb-title p {
    margin: 0 auto 15px;
    font-size: 14px;
    font-weight: normal;
    line-height: 1.5;
    max-width: 800px;
}

#wps_sfw_subs_box-form .wps_sfw-sb-cta {
    padding: 15px;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    background: #fff;
    display: flex;
    justify-content: space-between;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
    border-radius: 0 0 10px 10px;
}

#wps_sfw_subs_box-form .wps_sfw_sub_box_prod_item {
    padding: 10px;
    border-radius: 5px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

#wps_sfw_subs_box-form .wps_sfw_sub_box_prod_item .wps_sfw_sub_box_prod_name {
    font-size: 14px;
    font-weight: bold;
    line-height: 1.25;
    margin: 10px 0;
}

#wps_sfw_subs_box-form .wps_sfw_sub_box_prod_item .wps_sfw_sub_box_prod_qty {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

#wps_sfw_subs_box-form .wps_sfw_sub_box_prod_item .wps_sfw_sub_box_prod_qty input[type=number] {
    color: #000;
    width: 60px !important;
    padding: 5px;
    line-height: 1.25;
    text-align: center;
    margin: 0;
    border-radius: 3px;
    font-size: 14px;
    min-height: 32px;
    height: auto;
    border: 1px solid #e2e2e2;
    background: transparent;
    box-shadow: none;
    -moz-appearance: textfield;
    pointer-events: none;

}

#wps_sfw_subs_box-form .wps_sfw_sub_box_prod_item .wps_sfw_sub_box_prod_qty input[type="number"]::-webkit-inner-spin-button,
#wps_sfw_subs_box-form .wps_sfw_sub_box_prod_item .wps_sfw_sub_box_prod_qty input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

#wps_sfw_subs_box-form .wps_sfw_sub_box_prod_item .wps_sfw_sub_box_prod_qty button {
    padding: 0;
    width: 32px;
    height: 32px;
    border-radius: 3px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
    background: var(--wps_sfw_box-primary);
    color: #fff;
    font-size: 18px;
    font-weight: normal;
    transition: all 0.3s linear;
    border: 1px solid var(--wps_sfw_box-primary);
    cursor: pointer;
    margin: 0;
    min-height: auto;
}

#wps_sfw_subs_box-form .wps_sfw_sub_box_prod_item .wps_sfw_sub_box_prod_image img {
    border-radius: 3px;
}

#wps_sfw_subs_box-form .wps_sfw-sb-cta .wps_sfw-sb-cta-total {
    font-size: 24px;
    line-height: 1.25;
    display: flex;
    gap: 5px;
    align-items: center;
}

#wps_sfw_subs_box-form .wps_sfw-sb-cta .wps_sfw-sb-cta-total .amount {
    color: var(--wps_sfw_box-primary);
}

#wps_sfw_subs_box-form .wps_sfw-sb-cta button {
    background: var(--wps_sfw_box-primary);
    border-radius: 5px;
    padding: 10px 20px;
    line-height: 1.25;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 0.2px;
    min-height: 40px;
    border: 1px solid var(--wps_sfw_box-primary);
    transition: all 0.3s linear;
    color: #fff;
    cursor: pointer;
    margin: 0;
}

#wps_sfw_subs_box-form .wps_sfw-sb-cta button:after {
    display: none !important;
}


#wps_sfw_subs_box-form .wps_sfw_sub_box_prod_item .wps_sfw_sub_box_prod_qty button:focus,
#wps_sfw_subs_box-form .wps_sfw-sb-cta button:focus,
#wps_sfw_subs_box-form .wps_sfw_sub_box_prod_item .wps_sfw_sub_box_prod_qty input[type=number]:focus {
    outline: none;
}

#wps_sfw_subs_box-form .wps_sfw_sub_box_prod_item .wps_sfw_sub_box_prod_qty button:hover,
#wps_sfw_subs_box-form .wps_sfw-sb-cta button:hover {
    background: transparent;
    color: var(--wps_sfw_box-primary);
}

.theme-betheme .wps_sfw_sub_box_prod_container {
    height: calc(100vh - 275px);
}

/* Cart popup start */

a.wps_show_customer_subscription_box_popup {
    display: block;
    font-size: 14px;
    color: #000;
}

.wps-attached-products-popup {
    z-index: -999;
    opacity: 0;
    position: fixed;
    top: 50%;
    left: 50%;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    transform: translate(-50%, -50%);
    max-width: 400px;
    max-height: 400px;
    width: 100%;
    transition: opacity 0.3s linear;
}

.wps-attached-products-popup.active_customer_popup {
    z-index: 99999999999;
    opacity: 1;
}

.wps-attached-products-popup ul {
    margin: 0;
    padding: 0;
    list-style: none;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.wps-attached-products-popup strong {
    font-size: 18px;
    color: #000;
    line-height: 1.25;
    margin: 0 0 15px;
    display: inline-block;
}

.wps-attached-products-popup .wps_sfw_customer_close_popup {
    font-size: 24px;
    line-height: 0;
    position: absolute;
    top: 10px;
    right: 10px;
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.wps-attached-products-popup ul li {
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-items: center;
    font-size: 14px;
}

p.wps_sfw_subscription_box_error_notice {
    background: #ffe7e7;
    padding: 12px 15px;
    font-size: 14px !important;
    border-radius: 0 5px 5px 0;
    display: inline-block;
    border-left: 5px solid;
    position: absolute;
    left: 0;
}

#wps_sfw_subs_box-form .wps_sfw-sb-title .wps_sfw-sb-step-label {
    background: rgb(237 244 255);
    display: inline-block;
    padding: 6px 15px;
    font-size: 14px;
    font-weight: 400;
    border-radius: 50px;
    text-transform: capitalize;
    color: var(--wps_sfw_box-primary);
    margin: 10px 0 0;
}

/* Cart popup end */

@media only screen and (max-width: 1200px) {
    .wps_sfw_sub_box_prod_container {
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }
}

@media only screen and (max-width: 820px) {
    .wps_sfw_sub_box_prod_container {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

@media only screen and (max-width: 640px) {
    .wps_sfw_sub_box_prod_container {
        grid-template-columns: 1fr 1fr;
    }

    #wps_sfw_subs_box-form .wps_sfw-sb-cta .wps_sfw-sb-cta-total {
        font-size: 18px;
    }

    #wps_sfw_subs_box-form .wps_sfw-sb-title h2 {
        font-size: 18px;
    }

}

@media only screen and (max-width: 420px) {
    .wps_sfw_subs_box-close {
        top: 0;
        right: 0;
    }

    .wps_sfw_sub_box_prod_container {
        grid-template-columns: 1fr;
        height: calc(100vh - 270px);
    }

    #wps_sfw_subs_box-form .wps_sfw-sb-cta {
        justify-content: center;
        flex-direction: column;
    }

    .theme-betheme .wps_sfw_sub_box_prod_container {
        grid-template-columns: 1fr;
        height: calc(100vh - 310px);
    }
}

/* subscription box end */

a.wps_sfw_sub_detail_back svg {
    width: 24px;
    height: auto;
}

a.wps_sfw_sub_detail_back {
    font-size: 16px;
    align-items: center;
    display: inline-flex;
    gap: 5px;
    text-decoration: none !important;
    color: black;
    margin-bottom: 15px;
}

.wps_sfw_account_wrap h2,
.wps_sfw_account_wrap h3,
.wps_sfw_account_additional_wrap h2,
.wps_sfw_account_additional_wrap h3,
.wps_sfw_details_wrap h2,
.wps_sfw_details_wrap h3,
.wps-sfw-aurora-account h2,
.wps-sfw-aurora-account h3,
.wps-sfw-aurora-detail h2,
.wps-sfw-aurora-detail h3,
#wps_sfw_subs_box-form h2,
#wps_sfw_subs_box-form h3,
.wps-attached-products-popup h2,
.wps-attached-products-popup h3 {
    font-size: 20px !important;
    line-height: 1.25;
}

/* -----------------------------------------------------------------------
   Variable subscription product — billing info + membership card
   ----------------------------------------------------------------------- */

.wps-variable-sub-info {
    margin: 8px 0 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.wps-variation-sub-billing {
    margin: 0;
    font-size: 14px;
    color: #555;
}

.wps-variation-sub-billing .wps_sfw_interval,
.wps-variation-sub-billing .wps_sfw_expiry_interval {
    font-weight: 600;
    color: #333;
}

/* -----------------------------------------------------------------------
   "MEMBERSHIP INCLUDED" card
   ----------------------------------------------------------------------- */

.wps-membership-included {
    margin: 10px 0;
    border: 1px solid #b2dfb4;
    border-radius: 6px;
    overflow: hidden;
    font-size: 14px;
}

.wps-membership-included__header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: #2e7d32;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.wps-membership-included__header svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    pointer-events: none;
}

.wps-membership-included__body {
    padding: 12px 14px;
    background: #f1f8f1;
}

.wps-membership-included__subtitle {
    margin: 0 0 10px;
    font-size: 13px;
    color: #555;
}

.wps-membership-included__plan {
    padding: 10px 12px;
    background: #fff;
    border: 1px solid #c8e6c9;
    border-left: 4px solid #2e7d32;
    border-radius: 4px;
    margin-bottom: 8px;
}

.wps-membership-included__plan:last-child {
    margin-bottom: 0;
}

.wps-membership-included__plan-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 2px;
}

.wps-membership-included__dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
    margin-right: 6px;
}

.wps-membership-included__plan-name {
    font-size: 14px;
    font-weight: 600;
    color: #1d2327;
    flex: 1;
}

.wps-membership-included__badge {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 12px;
    background: #e8f5e9;
    color: #2e7d32;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid #c8e6c9;
    white-space: nowrap;
    flex-shrink: 0;
}

.wps-membership-included__desc {
    margin: 4px 0 0 16px;
    font-size: 12px;
    color: #646970;
}
