.nt-hero-title.page-title {
    display: none;
}

.user-profile-page {
    font-family: sans-serif;
    /* max-width: 1200px; */
    margin: 20px auto;
    /* padding: 20px; */
    /* background-color: #f7f7f7; */
    border-radius: 8px;
    /* box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); */
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.header h1 {
    font-size: 1.8em;
    font-weight: bold;
    color: #333;
}

.header-right {
    display: flex;
    justify-content: end;
    align-items: end;
}

.header-right p {
    font-size: clamp(16px, 2vw, 20px);
    line-height: clamp(20px, 2vw, 24px);
    font-weight: 900;
    max-width: 200px;
}

.header-right span {
    font-size: clamp(13px, 2vw, 16px);
    line-height: clamp(16px, 2vw, 20px);
    font-weight: 900;
    color: #00A40B;
}

.tabs {
    display: flex;
    margin-bottom: 30px;
}

.tab-button {
    position: relative;
    display: table;
    background-color: #f0f0f0;
    border: none !important;
    padding: 10px 0px;
    cursor: pointer;
    color: #5C5C5C !important;
    background-color: transparent !important;
    font-size: clamp(16px, 2vw, 20px) !important;
    font-weight: 800;
    margin-right: 50px;
}

.tab-button::before {
    content: "";
    background-color: #000000;
    position: absolute;
    bottom: 0;
    height: 2px;
    width: 0%;
    left: 0;
    transition: all 0.5s;
}

.tab-button.active {
    color: #000000 !important;
}

.tab-button.active::before {
    width: 100%;
}

.tab-button:hover::before {
    width: 100%;
}

.tab-content {
    display: none;
    padding: 20px 0;
    background-color: #fff;
    border-radius: 8px;
}

.tab-content.active {
    display: block;
}


@media (min-width: 768px) {
    table {
        width: 100%;
        border-collapse: collapse;
        border-radius: 30px;
        overflow: hidden;
    }
}

@media (max-width: 768px) {
    table {
        width: 100%;
        border-collapse: collapse;
        border-radius: 30px;
        overflow: auto;
        max-width: 100%;
        display: block;
    }

    .flex_input {
        flex-direction: column;
    }
}

th,
td {
    padding: 15px 25px !important;
    text-align: left;
    border: 2px solid #ffffff !important;
}

thead th {
    background-color: #e6e6e6 !important;
    font-size: clamp(16px, 2vw, 18px) !important;
    color: #000 !important;
    font-weight: 800;
    padding: 15px 25px !important;
}

table tbody tr:nth-child(odd) {
    background-color: #FAFAFA;
    font-size: clamp(14px, 2vw, 16px) !important;
}

table tbody tr:nth-child(even) {
    background-color: #F5F5F5;
    font-size: clamp(14px, 2vw, 16px) !important;
}

td a {
    color: #007bff;
    text-decoration: none;
}

td a:hover {
    text-decoration: underline;
}

.modal_title {
    font-size: clamp(20px, 2vw, 25px) !important;
    font-weight: 800 !important;
}

.modal_title span {
    font-family: "Russo One", Sans-serif;
    font-size: clamp(20px, 2vw, 25px) !important;
    font-weight: 800 !important;
    color: #777777;
}

/* Стили для модального окна */
.order-details-modal {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
    align-items: center;
    justify-content: center;
}

.order-details-content {
    background-color: #fefefe;
    margin: 0 auto;
    padding: 50px;
    border: 1px solid #888;
    width: 80%;
    max-width: 1000px;
    position: relative;
    border-radius: 40px;
}

.close-modal {
    color: #aaa;
    position: absolute;
    top: 0;
    right: 0;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.order-details-data {}

.order-details-modal table {
    max-height: 60vh;
    overflow: auto;
    display: -webkit-box;
}

.flex_input {
    display: flex;
    justify-content: space-between;
    align-items: normal;
}

.flex_input input {
    border-radius: 30px;
    padding: 0 20px !important;
    background-color: #F5F5F5;
    border: 0;
}

@media (min-width: 768px) {
    .flex_input button {
        background-color: #ea002a !important;
        border-radius: 30px !important;
        padding: 0 30px !important;
        margin-left: 10px;
    }

    .flex_input button:hover {
        background-color: #ce0026 !important;
    }
}

@media (max-width: 768px) {
    .flex_input button {
        background-color: #ea002a !important;
        border-radius: 30px !important;
        padding: 10px 30px !important;
        margin-left: 10px;
        margin: 20px auto;
    }

    .user-profile-page {
        padding: 10px;
    }

    .header {
        flex-direction: column;
        align-items: flex-start;
    }

    .header h1 {
        font-size: 1.5em;
        margin-bottom: 10px;
    }

    .tabs {
        flex-wrap: wrap;
    }

    .tab-button {
        width: 100%;
        margin-bottom: 5px;
    }


}

.tab-content tr td:first-child {
    font-weight: 500 !important;
}

.order-status-on-hold td:nth-child(3) {
    color: #CB0000;
    font-weight: 900;
}

.order-status-completed td:nth-child(3) {
    color: #00A40B;
    font-weight: 900;
}

.order-status-processing td:nth-child(3) {
    color: #F3C40B;
    font-weight: 900;
}

.woocommerce-account .woocommerce-Price-amount {
    font-size: clamp(14px, 2vw, 16px) !important;
    font-weight: 800 !important;
}

.points_table {
    font-size: clamp(14px, 2vw, 16px) !important;
    color: #00A40B;
    font-weight: 800 !important;
}

table button {
    background-color: transparent !important;
    color: #000 !important;
    border: 0 !important;
    border-bottom: 1px solid #000 !important;
    border-radius: 0 !important;
    font-weight: 800;
}

table button:hover {
    color: #727272 !important;
    border-bottom: 1px solid #727272 !important;
}

#shipping-form label {
    font-size: clamp(16px, 2vw, 20px) !important;
    font-weight: 800;
    margin-bottom: 30px;
}

@media (min-width: 768px) {
    #profile-form label {
        margin-top: 10px !important;
        font-size: clamp(16px, 2vw, 18px) !important;
        font-weight: 800;
        color: #000;
        margin-bottom: 50px;
    }
}

@media (max-width: 768px) {
    #profile-form label {
        margin-top: 10px !important;
        font-size: clamp(16px, 2vw, 18px) !important;
        font-weight: 800;
        color: #000;
        margin-bottom: 20px;
    }

    #profile-form input {
        margin-bottom: 30px;
    }

    .pass_block {
        margin-bottom: 30px;
    }

    .privacy_agreement input {
        margin: 0 !important;
    }

    #save_profile_data {
        margin: 0 auto !important;
        display: table !important;
    }
}

#profile-form input {
    border-radius: 30px;
    padding: 0 20px;
    background-color: #F5F5F5;
    border: 0;
}

#save_profile_data {
    background-color: #ea002a !important;
    border-radius: 30px !important;
    padding: 10px 30px !important;
    font-size: clamp(14px, 2vw, 16px) !important;
    font-weight: 800;
    margin-left: 10px;
}

#save_profile_data:hover {
    background-color: #ce0026 !important;
}

.pass_block {
    justify-content: space-between;
    display: flex;
    align-items: center;
    border-radius: 30px;
    padding: 12px 20px;
    background-color: #F5F5F5;
}

.pass_block p {
    margin: 0 !important;
    line-height: 14px !important;
    font-size: 16px !important;
    display: block;
    margin-top: 5px !important;
}

.pass_block button {
    font-size: clamp(14px, 2vw, 16px) !important;
    font-weight: 800;
    background-color: transparent !important;
    color: #000 !important;
    border: 0 !important;
    border-bottom: 1px solid #000 !important;
    border-radius: 0 !important;
    font-weight: 800;
}

.pass_block button:hover {
    color: #727272 !important;
    border-bottom: 1px solid #727272 !important;
}

.privacy_agreement input {
    width: auto;
    margin-right: 10px !important;
}

#password-fields {
    opacity: 0.5;
}

#password-fields.active {
    opacity: 1;
}

.confirm_password {
    margin-bottom: 30px !important;
}

.privacy_agreement {
    margin-bottom: 30px !important;
}

.tabs {
    display: flex;
    flex-direction: row !important;
    flex-wrap: nowrap;
    overflow: auto;
}

.tabs button {
    width: auto !important;
    text-wrap: nowrap;
    text-wrap-mode: nowrap;
}

.news_container_footer {
    display: none !important;
}

.woocommerce-account #brands_block_footer {
    display: none !important;
}

.woocommerce-account .footer_svg_desc {
    display: none !important;
}
@media (max-width: 768px) {
    .m_none {
      display: none !important;
    }
  }
@media (min-width: 768px) {
    .pc_none {
      display: none !important;
    }
  }