/*============ VARIABLES ===============*/
:root {
      /* Colors: */
    --color-lightblue: #F2F6FC;
    --color-green: #1ABC9C;
    --color-pink: #ED1A58;

  }
  

/******* ACCOUNT / CUSTOMER PORTAL ********/
#account .customer-order_cards{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
}

#account .customer-order_card{
    max-width: 524px;
    min-width: 47%;
margin-top: 38.5px;
margin-right: 30px;

    padding: 0 17px 0 17px;
    background-color: var(--color-lightblue);
    border-radius: 5px;
    font-size: 12px;
    font-style: normal;

}

#account .customer-order_card:nth-child(n+5){
    display: none;
}

#account .customer-order_number{
    max-width: fit-content;
    margin-bottom: 51px;
    padding: 9px 16px;
    color: white;
    background: black;
    border-radius: 0 0 5px 5px;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    letter-spacing: 0.15em;
}

#account .customer-order_number span{
font-weight: bold;
letter-spacing: 0em;
}

#account .customer-order_details_content-item{
    margin: 15px 20% 15px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#account .customer-order_details_content_order-title p {
    margin: 0 15px;
    font-style: normal;
    font-weight: bold;

    color: black;
}

#account .customer-order_details_content_order-price {
    color: black;
}
#account .customer-order_details_content_order-price p{
margin-bottom: 0;
}

#account .see-more_accordion-title {
    margin-top: 8px;
    margin-bottom: 23.5px;
    display: flex;
    align-items: center;
    max-height: fit-content;
    cursor: pointer;
    
}

#account .see-more_accordion-title p{
margin-bottom: 0;
margin-right: 10px;
padding-left: 17px;
color: black;
font-size: 9px;
text-transform: uppercase;
letter-spacing: 0.08em;
}

#account .see-more_accordion-title svg{
transition: 0.4s;
}

#account .see-more_accordion-title.show-more svg{
    transform: rotate(180deg);
    }

#account .customer-order_details-bottom{
    margin: 0 -17px;
    padding: 25px;
    display: flex;
    border-radius: 0 0 5px 5px;
    background: #eaedf3;
    color: black;
}

#account .customer-order_total-cost, 
#account .customer-order_order-date,
#account .customer-order_est-arrival {
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

#account .customer-order_total-cost span.details-title, 
#account .customer-order_order-date span.details-title,
#account .customer-order_est-arrival span.details-title{
    font-weight: bold; 
    margin-bottom: 7px;
   
}

#account .customer-order_est-arrival span:not(.details-title){
    color: var(--color-pink);
    }

#account .customer-order_est-arrival span.past-date{
color: var(--color-green);
}

#account .customer-order_details_content-item:nth-child(n+3){
    transform: scaleY(0);
    height: 0;
    transition: 0.4s;
    transform-origin: top;
}
#account .customer-order_details_content-item:nth-child(n+3).show-items{
    transform: scaleY(1);
    height: fit-content;
}

#account .page-header_your-orders {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

#account .button{
    padding: 13px 39px;
    font-size: 13px;
}
#account .button{
 font-style: normal; 
}

/***** customer card ********/
#account .customer-details-title{
    margin-bottom: 35px;
    font-size: 28px;
    text-transform: capitalize;
}

#account .customer_account-card {
    max-width: 405px;
    margin-top: 35px;
padding: 57px;
position: relative;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
border-radius: 5px;
background: var(--color-lightblue);
}

#account .account-card_image-wrapper{
    max-width: 116px;
    margin-bottom: 36px;
}

#account .customer_account-card .edit-address a{
    font-weight: bold;
    color: black;
    font-size: 16px;
}

#account .customer_account-card  .card-link {
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
}

/* Freshdesk section */
#account .display-flex{
    display: flex;
    flex-direction: column;

}
#shopify-section-freshdesk-account-message .freshdesk-widget{
    
    max-width: 75%;
    margin:196px auto 171px;
    padding: 93px;
    text-align: center;
    background-color: #212322;
    color: white;
}

#shopify-section-freshdesk-account-message .freshdesk-widget h3{
    color: white;
    font-size: 32px;
    
}

#shopify-section-freshdesk-account-message .freshdesk-widget p{
    margin: 22px 0 27px 0;
    font-size: 20px;
}




@media only screen and (max-width: 768px){
    #account .customer-order_card{
        margin-right: 0;
        width: 100%;
    }
    #shopify-section-freshdesk-account-message .freshdesk-widget{
        max-width: 95%;
        margin: 106px auto 101px;
        padding: 33px; 
    }
}

/*All orders page */
#all-orders .page-header_your-orders {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

#all-orders .button{
    padding: 13px 39px;
    font-size: 13px;
}