.woocommerce-account .b-crumbs-wrap{
    display: none;
}
.woocommerce-account #content {
    margin-top: 30px;
}

nav.ems-myacc-menu {
    display: flex;
    align-items: center;
}
.ems-myacc-header {
    background: white;
    /* height: 60px; */
    display: flex;
    align-items: center;
    padding: 0 30px;
}
nav.ems-myacc-menu ul {
    display: flex;
    margin: 0;
    padding: 0;
    gap: 50px;
}
nav.ems-myacc-menu ul li {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
        padding: 12px 20px;
}
nav.ems-myacc-menu ul li img {
    height: 24px;
    width: 24px;
    margin-left: 15px;
    object-fit: contain;
}
nav.ems-myacc-menu ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 24px;
    display: flex;
    align-items: center;
}
.ems-myacc-inner-wrapper {
    width: 100%;
    display: flex;
    justify-content: space-between;
}
.woocommerce-MyAccount-content
 {
    width: 100% !important;
}
li.ems-is-orders-active {
    background: #FFD600;
}
li.ems-is-settings-active {
    background: #FFD600;
}
.ems-orders-count {
    margin: 20px 0px;
    font-weight: 700;
    text-transform: uppercase;
}


/* latest order */
 .ems-order-card {
            max-width: 700px;
            background: #fff;
            border-radius: 10px;
            box-shadow: 0 2px 8px #0001;
            padding: 32px 24px 24px 24px;
            margin: 30px 0 40px 0;
            font-family: 'Montserrat', Arial, sans-serif;
        }
        .ems-order-title{
            font-size: 32px !important;
            font-weight: 600 !important;
            margin: 20px 0 15px 0 !important;
            color: #2F2F2F !important;
        }
        .ems-order-header {
            display: flex;
            align-items: center;
            font-size: 1.15rem;
            margin-bottom: 18px;
            gap: 15px;
            justify-content: space-between;
        }
        .ems-order-status {
            color: #D7D7D7;
            font-weight: 600;
            font-size: 12px;
            text-transform: uppercase;
            letter-spacing: 0.05em;
            width: fit-content;
            padding: 5px 10px;
        }
        .ems-order-number {
            font-size: 28px;
            margin-left: 0;
            color: #2F2F2F;
        }
        .ems-order-number b{
            color: #2F2F2F;
        }
        .ems-order-date {
            margin-left: auto;
            color: #9D9D9D;
            font-size: 14px;
        }
        .ems-order-link {
            margin-left: 16px;
            color: #2F2F2F !important;
            font-weight: 700;
            text-decoration: none;
            font-size: 16px;
        }
        .ems-order-products {
            background: #fff;
            border-radius: 6px;
            margin-bottom: 12px;
            padding: 15px 0 5px 0;
            
        }
       .ems-order-product-row {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 16px;
            padding: 10px 22px 10px 0px;
        }
        /* .ems-order-more {
            color: #4b4b62;
            font-size: 1rem;
            padding: 5px 22px 8px 22px;
        } */
         .ems-order-more {
            color: #2F2F2F !important;
            font-size: 14px;
            padding: 5px 10px 8px 0px;
        }
        .ems-order-footer {
            display: flex;
            justify-content: space-between;
            gap: 10px;
            font-size: 1.3rem;
            align-items: center;
            font-weight: 600;
        }
        .ems-order-total-label {
            color: #2F2F2F;
            letter-spacing: 0.04em;
            font-size: 18px;
        }
        .ems-order-total {
            color: #9D9D9D;
            font-size: 18px;
        }

        .ems-order-actions {
            margin-top: 24px;
            display: flex;
            gap: 18px;
        }
        .ems-btn {
            display: inline-flex;
            align-items: center;
            font-size: 1.09rem;
            font-weight: 700;
            padding: 14px 34px;
      
            border: none;
            cursor: pointer;
            text-decoration: none;
            transition: background .2s, box-shadow .2s;
   
        }
        .ems-btn-yellow {
            background: #FFD600;
            color: #222 !important;
            width: 50%;
        }
        .ems-btn-yellow:hover {
            background: #ffd600;
            color: #000;
        }
        .ems-btn-outline {
            border: none !important;
            color: #23282d;
            background: #FFD600;
        }
        .ems-btn-outline:hover {
            background: #fffbe6;
        }
        .ems-btn .dashicons {
            margin-right: 10px;
            font-size: 1.2em;
        }
        .ems-or-head-left {
            display: flex;
            flex-direction: column;
        }
        .ems-or-head-right {
            display: flex;
            flex-direction: column;
        }
        .ems-order-products .ems-order-product-row {
            border-bottom: 1px solid #E9E9E9;
        }

        /* SETTINGS PAGE */
        .ems-account-wrapper input {
            background: white !important;
            border: none !important;
            width: 100%;
            font-size: 18px !important;
            color: black !important;
            height: 44px !important;
        }
        .ems-account-wrapper input {
            background-image: url(/wp-content/themes/motor-child/ems-assets/my-acc-icons/brush.png) !important;
            background-repeat: no-repeat !important;
            background-position: right 10px center !important;
            background-size: 16px 16px !important;
        }
        .ems-account-wrapper label {
            color: #919191;
            font-size: 20px;
            font-family: 'Montserrat';
        }
        /* END OF SETTINGS PAGE */

        .ems-inactive-invoice {
            background: #ffd60040;
            pointer-events: none;
        }
        .ems-account-wrapper {
            margin: 80px 0px;
        }

        /* statuses styling */
           .order-status.status-processing {
            background: #0964DE;
            color: #ffffff;
        }
        mark.order-status.status-pending.tips {
            background: #FFB542;
            color: white;
        }
        mark.order-status.status-processing-onsite.tips {
            background: #09DEC4;
            color: white;
        }
        mark.order-status.status-processing-onsend.tips {
            background: #10C601;
            color: white;
        }
        .order-status.status-completed {
    background: #C0C0C0;
    color: #2e4453;
}
.order-status.status-failed {
    background: #E10000;
    color: white;
}
.order-status.status-on-hold {
    background: #FAD7A0;
    color: #94660c;
}
mark.order-status.status-checkout-draft.tips {
    background: #9B7F67;
    color: white;
}
mark.order-status.status-proc-delayed.tips {
    background: #D19854;
    color: white;
}
span.ems-order-status.order-status.status-cancelled {
    color: #777;
    background: #e5e5e5;
}
.order-status.status-proc-delayed {
    background: red;
    color: white;
}
button.ems-load-more-orders {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border: 1px solid #ddd;
    cursor: pointer;
    background: #ffd600;
    font-weight: 700;
}
button.ems-load-more-orders {
    margin-bottom: 50px;
}
/* end of statuses styling  */

/* EXIT MODAL */
.ems-modal-logout {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0; top: 0; width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.5);
}

.ems-modal-content {
  background: #fff;
  max-width: 320px;
  margin: 10% auto;
  padding: 30px 20px;
  text-align: center;
  position: relative;
  border-radius: 4px;
}

.ems-modal-content p {
  margin: 20px 0;
  font-size: 16px;
  font-weight: 500;
}

.ems-modal-icon img {
  width: 40px;
  margin: 0 auto;
}

.ems-logout-confirm {
  display: block;
  background: #ffd400;
  padding: 10px 0;
  font-weight: bold;
  text-decoration: none;
  color: black !important;
  margin-bottom: 10px;
}

.ems-logout-cancel {
  background: none;
  border: 1px solid #000;
  padding: 10px 0;
  width: 100%;
  font-weight: bold;
  cursor: pointer;
}

.ems-close-modal {
  position: absolute;
  right: 10px;
  top: 10px;
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
}


@media(max-width: 768px){
nav.ems-myacc-menu ul {
    flex-direction: column;
}
.ems-myacc-inner-wrapper{
    flex-direction: column;
}
nav.ems-myacc-menu ul li {
    justify-content: flex-start;
    padding: 15px 15px;
}
nav.ems-myacc-menu ul {
    gap: 0px;
    width: 100%;
}
nav.ems-myacc-menu ul li a {
    width: 100%;
    justify-content: space-between;
}
/* бордер за всички LI, без последното в списъка */
nav.ems-myacc-menu.notlast li {
    border-bottom: 1px solid #d3d3d3;
}
.ems-order-card {
    margin: 50px 0 40px 0;
}
.ems-myacc-header {
    margin-bottom: 50px;
}
.ems-order-number {
    font-size: 21px;
    line-height: 0;
}
.ems-order-title {
    font-size: 26px !important;
}
.ems-order-header, .ems-order-footer, .ems-order-actions { 
    flex-direction: row; 
    align-items:flex-start; 
    gap:0px;
    justify-content: space-between;
}
.ems-order-actions a {
    font-size: 14px;
    height: 50px;
    line-height: normal;
}
.ems-btn {
    justify-content: center;
}
.ems-order-card { 
    padding:18px 15px; 
} 
.ems-myacc-header {
    padding: 0 0px;
}  
.ems-order-actions a {
    width: 48%;
}
.ems-btn .dashicons{
    margin-right: 10px;
    font-size: 20px;
} 
.ems-or-head-right {
    justify-content: space-between;
}
.ems-order-header {
    align-items: stretch;
}
.ems-order-link {
    font-size: 14px;
}
.ems-order-product-row {
    font-size: 14px;
}
.ems-order-total-label {
    font-size: 12px;
}
.ems-order-total-wrapper {
    display: flex;
    align-items: center;
    gap: 5px;
}
.ems-order-footer {
    align-items: center;
}

/* POPPUP */
#ems-order-popup-inner {
    max-width: 95% !important;
}
.ems-order-headline h2 {
    font-size: 26px !important;
}
.ems-order-headline h2 strong {
    font-size: 22px !important;
}
.ems-order-header {
    font-size: 21px !important;
}
.ems-product-col span {
    font-size: 14px !important;
}
.ems-price-col, .ems-price {
    font-size: 14px !important;
}
.ems-order-row.ems-order-total-row .ems-label {
    font-size: 18px !important;
}
h3.ems-sdkfghjjkh {
    font-size: 18px !important;
}
.ems-the-item {
    width: 100% !important;
    word-break: break-word;
}
div#ems-order-popup-inner{
    padding: 40px 15px !important;
}
    .ems-order-buttons a {
        font-size: 14px;
        height: 50px;
        line-height: normal;
        width: 48%;
    }
.ems-headline-top {
    justify-content: space-between;
}
.ems-price.ems-chrez {
    white-space: break-spaces;
    width: 40%;
}
.ems-account-wrapper {
    flex-direction: column;
}

}


@media (max-width: 350px) {
    .ems-order-number {
        font-size: 5vw;
        line-height: 0;
    }   
}
/* end of latest order */