.top-header--logged-user {
    display: flex;
    text-align: center;
    cursor: pointer;
    position: relative;
}

.top-header--logged-user .top-header--logged-user_submenu:before {
    content: "";
    width: 100%;
    height: 3px;
    background-color: #a5427c !important;
    position: absolute;
    bottom: 100%;
    display: block;
    z-index: 9999;
}

.site-color {
    color: #a5427c !important;
}

.top-header--logged-user .top-header--logged-user_submenu {
    display: none;
    width: 156px;
    /* border: 1px solid #d8d8d8; */
    box-shadow: 0 10px 20px -10px rgb(0 0 0 / 50%);
    background-color: white;
    position: absolute;
    z-index: 99;
    right: 0;
    font-size: 14px;
    top: 100%;
}

.top-header--logged-user:hover .top-header--logged-user_submenu {
    display: block;
}

.top-header--logged-user_submenu li {
    display: block;
    border-bottom: 1px solid #f5f5f5;
    font-weight: 500;
    text-transform: uppercase;
}

.top-header--logged-user_submenu li a {
    width: 100%;
    height: 100%;
    display: block;
    padding: 15px 20px;
    text-align: left;
}

.top-header--logged-user:hover .top-header--logged-user_submenu {
    display: block;
}

.top-header--logged-user_submenu li:hover a {
    background: #f5f5f5;
}

.sticky-top {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 9;
}

.profile-nav {
    padding-top: 30px;
    height: 100%;
    border-right: 1px solid #f5f5f5;
}

.profile-nav li {
    border-bottom: 1px solid #f5f5f5;
}

.profile-nav li.active a {
    color: #a5427c;
}

.profile-nav li a {
    display: block;
    padding: 16px 0 18px 18px;
    text-transform: uppercase;
}

.profile-activity-stats {
    border: 1px solid #a5427c;
    border-radius: 10px;
    padding: 20px 0;
}

.profile-activity-stats img {
    margin: 0 auto;
}

.profile-user-activity span {
    font-size: 38px;
    display: block;
    margin-top: 10px;
    line-height: normal;
}

.profile-user-activity {
    text-align: center;
}

.profile-address h2 {
    font-weight: 600;
    font-size: 17px;
    padding-bottom: 12px;
    /* border-bottom: 1px solid #F5F5F5; */
    margin-bottom: 20px;
}

.profile-address span {
    display: block;
}

.profile-address p {
    text-transform: uppercase;
    margin: 5px 0;
    min-height: 19px;
}

.profile-user-bottom {
    margin-top: 50px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f5f5f5;
}

.profile-user-bottom a:first-of-type {
    padding-left: 0;
}

.profile-user-bottom a {
    color: #a5427c;
    font-size: 13px;
    border-right: 1px solid #d8d8d8;
    padding: 0 15px;
}

.profile-user-bottom a:last-of-type {
    border-right: 0;
}

.profile-main h1 {
    font-weight: 700;
    font-size: 20px;
    text-align: center;
    margin: 0;
}

.settings-container {
    margin-top: 70px;
    margin-bottom: 110px;
}

.profile-abonat-b {
    position: relative;
    margin-top: 20px;
    margin-bottom: 20px;
}

.profile-fields button {
    background-color: #a5427c;
    border: none;
    color: white;
    height: 50px;
    padding: 15px 60px;
    margin: 0 auto;
    cursor: pointer;
    border-radius: 3px;
}

.profile input {
    height: 50px;
    border: 1px solid #e3e3e3;
    padding: 0 10px;
    border-radius: 3px;
    font-family: inherit;
    font-size: 13px;
    padding: 16px;
    width: 100%;
    margin-bottom: 10px;
    color: #4d4d4d;
}

.profile label {
    margin: 10px 0;
    font-weight: 700;
    font-size: 13px;
    line-height: normal;
    vertical-align: top;
    display: inline-block;
}

.profile-abonat-b input {
    height: 100%;
    margin: 0;
}

.profile-abonat-b label {
    margin: 0;
    vertical-align: inherit;
    font-size: 14px;
    font-weight: 500;
}

.profile-abonat-b input[type="checkbox"]:checked ~ div label::before,
.profile-abonat-b input[type="checkbox"]:checked ~ div label::before {
    border-color: #a5427c;
}

input[type="checkbox"] ~ div label:before,
input[type="checkbox"] ~ div label:after {
    content: "";
    width: calc(1em + 2px);
    height: calc(1em + 2px);
    display: block;
    box-sizing: border-box;
    border-radius: 0;
    border: 1px solid transparent;
    z-index: 0;
    position: absolute;
    left: 0;
    top: calc((0% - (100% - 1em)) - 8%);
    background-color: transparent;
    border-radius: 20%;
    top: 2px;
    transition: all 0.5s ease;
    border-width: calc(1em / 7);
}

input[type="checkbox"] ~ div label:after {
    transform: scale(0.4);
}

input[type="checkbox"] ~ div label,
input[type="radio"] ~ div label {
    position: initial;
    display: inline-block;
    text-indent: 25px;
    margin-bottom: 7px;
    text-indent: inherit;
    margin: 0 0 7px 25px;
}

input[type="checkbox"] ~ div label:before {
    border-color: #999999;
}

.profile-abonat-b input[type="checkbox"]:checked ~ div label:after {
    background-color: #a5427c;
}

.profile-main {
    margin-top: 35px;
    margin-bottom: 40px;
}

.profile-main h1 {
    font-weight: 700;
    font-size: 20px;
    text-align: center;
    margin: 0;
}

.profile-main h1::after {
    content: "";
    width: 74px;
    height: 5px;
    background-color: #a5427c;
    position: relative;
    bottom: 0;
    margin: 0 auto;
    display: block;
    top: 10px;
}

input[type="checkbox"],
input[type="radio"] {
    position: absolute;
    left: 0;
    top: 0;
    min-width: 1em;
    width: 100%;
    height: 100%;
    z-index: 2;
    opacity: 0;
    margin: 0;
    padding: 0;
    cursor: pointer;
}

table.user_orders td {
    padding: 20px 0 11px 0;
}

.orders-tab .raiting-product {
    display: inline-block;
}

table.user_orders th {
    border-bottom: 1px solid #d8d8d8;
}

table.user_orders tbody td {
    border-bottom: 1px solid #f5f5f5;
}

table.user_orders th {
    padding: 0 0 17px 0;
}

table.user_orders th span {
    font-size: 13px;
}

table.user_orders th a {
    padding: 0 15px;
    border-right: 1.5px solid #d8d8d8;
    vertical-align: middle;
}

table.user_orders th a:last-of-type {
    border-right: none;
}

table.user_orders th a.active {
    color: #a5427c;
}

table.user_orders th .custom-select {
    display: inline-block;
}

@media (max-width: 1199.98px) {
    input[type="checkbox"] ~ div label {
        text-indent: inherit;
        padding-left: 25px;
        font-size: 13px;
        padding-right: 12px;
    }
}

@media (max-width: 767.98px) {
    #user-sidebar {
        display: none;
    }

    .congrat-user:hover .top-header--logged-user_submenu {
        display: none;
    }

    #user-sidebar.mobile-profile-nav {
        display: block;
        position: fixed;
        top: 102px;
        bottom: 0;
        overflow: auto;
        z-index: 999;
        background-color: white;
        text-align: center;
        font-size: 14px;
    }
}

.product-percentage {
    height: 3rem;
    width: 8rem;
    text-align: center;
    background: white;
    border: 1px solid rgba(228, 198, 215, var(--tw-border-opacity));
    border-left: none;
}

.product-percentage.dashed-border {
    border-left-style: none;
}

.dashed-border {
    border-style: dashed;
}
