body {
    overflow-x: hidden;
}

.woocommerce-account .woocommerce {
    display: flex !important;
    align-items: flex-start !important;
    gap: 24px;
    flex-wrap: wrap;
}

.woocommerce-MyAccount-navigation {
    flex: 1 1 260px;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    background: #1a1a1a !important;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 24px !important;
    margin: 0 !important;
}

.woocommerce-MyAccount-content {
    flex: 1 1 480px;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
}

.woocommerce-MyAccount-navigation ul {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.woocommerce-MyAccount-navigation li {
    margin: 0 !important;
    padding: 0 !important;
}

.woocommerce-MyAccount-navigation-link a {
    display: block;
    padding: 10px 14px;
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.75) !important;
    text-decoration: none !important;
    font-weight: 500;
    transition: background 0.15s ease, color 0.15s ease;
}

.woocommerce-MyAccount-navigation-link a:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #fff !important;
}

.woocommerce-MyAccount-navigation-link.is-active a {
    background: #e71d7c;
    color: #fff !important;
}

.woocommerce-Addresses {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses .woocommerce-Address {
    float: none;
    width: 100%;
    box-sizing: border-box;
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 24px;
}

.woocommerce-Address-title {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0 0 20px;
    padding: 0 0 16px;
    border-bottom: 2px solid #e71d7c;
}

.woocommerce-Address-title h2 {
    background: transparent;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
    flex: 1 1 auto;
}

.woocommerce-Address-title .edit {
    display: inline-block;
    flex: 0 0 auto;
    max-width: 100%;
    box-sizing: border-box;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    border-radius: 999px;
    padding: 6px 16px;
    font-weight: 700;
    font-size: 0.78rem;
    text-transform: uppercase;
    text-decoration: none;
    text-align: center;
    float: none;
}

.woocommerce-Address-title .edit:hover {
    border-color: #e71d7c;
    color: #e71d7c;
}

.woocommerce-Address address {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.wps_sfw_details_wrap-parent {
    padding: 0;
}

.wps_sfw_details_wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.wps_sfw_sub_detail_back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #fff !important;
    opacity: 0.8;
    margin-bottom: 16px;
    text-decoration: none !important;
}

.wps_sfw_sub_detail_back:hover {
    opacity: 1;
    color: #e71d7c !important;
}

.wps_sfw_sub_detail_back svg path {
    fill: currentColor;
}

.wps_sfw_account_additional_wrap {
    flex: 1 1 360px;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    background: #1a1a1a !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 12px;
    padding: 24px;
}

.wps_sfw_account_additional_wrap h3 {
    background: transparent !important;
    color: #fff !important;
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 20px;
    padding: 0 0 12px;
    border: none !important;
    border-bottom: 2px solid #e71d7c !important;
}

.wps_sfw_details,
.wps_sfw_order_details {
    width: 100%;
    background: transparent !important;
    border: none !important;
    border-collapse: collapse;
}

.wps_sfw_details tr,
.wps_sfw_order_details tr {
    display: block;
    background: transparent !important;
    border: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding: 14px 0;
}

.wps_sfw_details tr:first-child,
.wps_sfw_order_details tr:first-child {
    padding-top: 0;
}

.wps_sfw_details tr:last-child,
.wps_sfw_order_details tr:last-child {
    border-bottom: none !important;
    padding-bottom: 0;
}

.wps_sfw_details td,
.wps_sfw_order_details td,
.wps_sfw_details th,
.wps_sfw_order_details th {
    display: block;
    width: 100% !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    color: #fff !important;
}

.wps_sfw_details td:first-child,
.wps_sfw_order_details td:first-child {
    color: rgba(255, 255, 255, 0.5) !important;
    font-weight: 500;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 6px;
}

.wps_sfw_details td:last-child,
.wps_sfw_order_details td:last-child {
    font-weight: 600;
    font-size: 1rem;
}

.woocommerce-orders-table__cell-order-status span {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: capitalize;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

td.wps_sfw_active span {
    background: rgba(25, 135, 84, 0.2);
    color: #4ade80 !important;
}

td.wps_sfw_on-hold span {
    background: rgba(255, 193, 7, 0.18);
    color: #ffc107 !important;
}

td.wps_sfw_cancelled span,
td.wps_sfw_expired span {
    background: rgba(231, 29, 124, 0.18);
    color: #e71d7c !important;
}

td.wps_sfw_pending span,
td.wps_sfw_paused span {
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.8) !important;
}

.wps_sfw_details a.button,
.wps_sfw_order_details a.button {
    display: inline-block;
    background: #e71d7c !important;
    color: #fff !important;
    border: none !important;
    border-radius: 999px !important;
    padding: 10px 24px !important;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    text-decoration: none !important;
    box-shadow: none !important;
    transition: opacity 0.2s ease;
}

.wps_sfw_details a.button:hover,
.wps_sfw_order_details a.button:hover {
    opacity: 0.85;
    color: #fff !important;
}

.wps_sfw_details a.wps_sfw_cancel_subscription {
    background: transparent !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    color: #fff !important;
    margin-left: 8px;
}

.wps_sfw_details a.wps_sfw_cancel_subscription:hover {
    border-color: #e71d7c !important;
    color: #e71d7c !important;
}

.ao-change-card-warning {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.55) !important;
    margin: 8px 0 0;
    line-height: 1.4;
}

@media (max-width: 600px) {
    .wps_sfw_account_additional_wrap {
        padding: 16px;
    }
}

#order_review {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 24px;
}

#order_review table.shop_table {
    flex: 1 1 320px;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    margin: 0;
    table-layout: fixed;
    background: #1a1a1a !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 12px;
    border-collapse: collapse;
    overflow: hidden;
}

#order_review table.shop_table th,
#order_review table.shop_table td {
    background: transparent !important;
    border: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: #fff !important;
    padding: 14px 18px !important;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

#order_review table.shop_table thead th {
    color: rgba(255, 255, 255, 0.5) !important;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 500;
}

#order_review table.shop_table tfoot th {
    color: rgba(255, 255, 255, 0.6) !important;
    font-weight: 500;
}

#order_review table.shop_table tfoot tr:last-child th,
#order_review table.shop_table tfoot tr:last-child td {
    border-bottom: none !important;
    font-weight: 700;
    font-size: 1.05rem;
}

#order_review table.shop_table .woocommerce-Price-amount {
    color: #fff !important;
}

#order_review #payment {
    flex: 1 1 360px;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

body #payment {
    color: #fff;
}

#payment ul.payment_methods {
    list-style: none;
    margin: 0;
    padding: 0;
}

#payment ul.payment_methods li.wc_payment_method {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 18px;
}

#payment ul.payment_methods label {
    color: #fff;
    font-weight: 600;
}

body.woocommerce-checkout #payment div.payment_box {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    background: #262026;
    color: #fff;
    border-radius: 8px;
    margin: 16px 0 0;
}

#payment .wc-stripe-payment-method-instruction {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    margin-bottom: 12px;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

#payment .woocommerce-SavedPaymentMethods-new label,
#payment .woocommerce-SavedPaymentMethods-saveNew label {
    color: rgba(255, 255, 255, 0.85);
}

#payment .wc-stripe-upe-element {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    background: #fff;
    border-radius: 8px;
    padding: 12px;
    margin: 12px 0;
}

#payment .wc-stripe-upe-element iframe {
    width: 100% !important;
    max-width: 100%;
}

#order_review .wps_sfw_from_row {
    margin-top: 16px;
}

#order_review input#place_order {
    display: inline-block;
    background: #e71d7c;
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: 12px 28px;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    cursor: pointer;
}

#order_review input#place_order:hover {
    opacity: 0.85;
}

.ao-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.ao-modal.is-open {
    display: flex;
}

.ao-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
}

.ao-modal-dialog {
    position: relative;
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 24px;
    max-width: 360px;
    width: calc(100% - 32px);
    color: #fff;
}

.ao-modal-dialog p {
    margin: 0 0 20px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.85);
}

.ao-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.ao-modal-actions button {
    border: none;
    border-radius: 999px;
    padding: 8px 20px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    cursor: pointer;
}

.ao-modal-cancel {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    color: #fff;
}

.ao-modal-cancel:hover {
    border-color: #e71d7c !important;
    color: #e71d7c;
}

.ao-modal-confirm {
    background: #e71d7c;
    color: #fff;
}

body .eb-user-profile {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    flex-wrap: wrap;
    padding: 32px 0;
}

.eb-user-profile .eb-user-account-navigation {
    flex: 1 1 260px;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 12px;
}

.eb-user-profile .eb-user-account-content {
    flex: 1 1 480px;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 24px;
    color: #fff;
}

.eb-user-account-navigation-link {
    margin: 0;
    border-radius: 8px;
    overflow: hidden;
}

.eb-user-account-navigation-link a {
    display: block;
    padding: 10px 14px;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-weight: 500;
    transition: background 0.15s ease, color 0.15s ease;
}

.eb-user-account-navigation-link:not(.eb-active-profile-nav) a:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
}

.eb-user-account-navigation-link.eb-active-profile-nav {
    background-color: #e71d7c;
}

.eb-user-account-navigation-link.eb-active-profile-nav a,
.eb-user-account-navigation-link.eb-active-profile-nav a:hover {
    color: #fff;
    background-color: transparent;
}

.ao-eb-embedded-wc {
    color: #fff;
}

#eb-update-profile fieldset {
    background: transparent !important;
}

#eb-update-profile legend {
    background: transparent !important;
    color: #fff !important;
    font-weight: 700;
    padding-bottom: 12px !important;
    margin-bottom: 20px !important;
    border-bottom: 2px solid #e71d7c !important;
}

#eb-update-profile input[type="text"],
#eb-update-profile input[type="email"],
#eb-update-profile input[type="password"],
#eb-update-profile input[type="number"],
#eb-update-profile input[type="date"],
#eb-update-profile select,
#eb-update-profile textarea {
    padding: 0.5em 0.75em;
    border-radius: 8px;
    font-size: 0.95rem;
}

.ao-modal-confirm:hover {
    opacity: 0.85;
}

body .wps_sfw_account_wrap {
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 24px;
    width: 100%;
    box-sizing: border-box;
    overflow-x: auto;
}

.ao-eb-embedded-wc .wps_sfw_account_wrap {
    background: transparent;
    border: none;
    padding: 0;
}

body .wps_sfw_account_wrap table {
    width: 100%;
    border-collapse: collapse;
}

body .wps_sfw_account_wrap table thead th,
body .wps_sfw_account_wrap table tbody td {
    background: transparent;
    padding: 12px 10px;
    text-align: left;
    vertical-align: middle;
}

body .wps_sfw_account_wrap table th,
body .wps_sfw_account_wrap table td {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: #fff;
}

body .wps_sfw_account_wrap table thead th {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 500;
}

body .wps_sfw_account_wrap table tbody tr {
    border: none;
}

body .wps_sfw_account_wrap table tbody tr:nth-of-type(even) {
    background: transparent;
}

body .wps_sfw_account_wrap table tbody tr:last-child td {
    border-bottom: none;
}

.wps_sfw_account_wrap a {
    color: #e71d7c;
}

.wps_sfw_account_wrap td:last-child {
    white-space: nowrap;
    width: 1%;
}

.wps_sfw_account_show_subscription a {
    display: inline-block;
    background: #e71d7c;
    color: #fff;
    border-radius: 999px;
    padding: 6px 16px;
    font-weight: 700;
    font-size: 0.78rem;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
}

.wps_sfw_account_show_subscription a:hover {
    opacity: 0.85;
}

.wps_sfw_pagination {
    margin-top: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.wps_sfw_pagination .button {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    border-radius: 999px;
    padding: 8px 20px;
    text-decoration: none;
    font-size: 0.85rem;
}

.wps_sfw_pagination .button:hover {
    border-color: #e71d7c;
    color: #e71d7c;
}

.account-payment-methods-table .payment-method-expires {
    white-space: nowrap;
}

.woocommerce table.account-payment-methods-table tr td.payment-method-actions {
    text-align: center;
}

.woocommerce table.account-payment-methods-table tr td.payment-method-actions .button {
    margin: 4px;
}

.woocommerce table.account-payment-methods-table tr td.payment-method-actions::before {
    display: none;
}

@media (max-width: 768px) {
    .woocommerce table.account-payment-methods-table tr td.payment-method-actions {
        text-align: left;
    }
}

@media (max-width: 1024px) {
    .elementor-4957 .elementor-element.elementor-element-5087a0dc {
        width: 100% !important;
        max-width: 100% !important;
    }
}

@media (max-width: 800px) {
    .woocommerce-account .woocommerce,
    #order_review,
    body .eb-user-profile,
    .wps_sfw_details_wrap {
        flex-direction: column;
    }

    .woocommerce-MyAccount-navigation,
    .woocommerce-MyAccount-content,
    #order_review table.shop_table,
    #order_review #payment,
    .eb-user-profile .eb-user-account-navigation,
    .eb-user-profile .eb-user-account-content,
    .wps_sfw_account_additional_wrap {
        flex-basis: auto;
        width: 100%;
    }
}
