header ul{
    list-style: none;
}

header a{
    color: #1e293b;
}

header .cws-logo img {
    max-width: 150px;
    width: 100%;
}

.cws-header-wrapper, .cws-header-container {
    height: var(--cws-header-height);
}

.cws-header-container {
    display: flex;
    align-items: center;
    background: white;
    z-index: 100;
    box-shadow: 0px 5px 10px 0px #80808036;
}

.cws-header-container.cws-is-fixed.cws-show {
    visibility: visible;
    opacity: 1;
    transform: translateY(calc(var(--cws-header-height) * 2));
}

.cws-header-container.cws-is-fixed {
    position: fixed;
    top: calc(0% - (var(--cws-header-height) * 2));
    left: 0;
    width: 100%;
    backface-visibility: hidden;
    visibility: hidden;
    opacity: 0;
    transform: translateY(0);
    transition: all .35s ease-in-out;
}

.cws-header {
    width: 100%;
    max-width: 1200px;
    display: flex;
    align-items: center;
    gap: 40px;
    margin: auto;
    padding: 0 15px;
}

.cws-mobile-menu-btn {
    background: #fff0;
    padding: 5px;
    display: none; 
}

.cws-mobile-menu-btn svg {
    fill: #000;
    width: 25px;
    vertical-align: middle;
}

.cws-navigation-wrapper {
    flex: 1;
}

.cws-nav-menu {
    display: flex;
    align-items: center;
    margin: 0;
    gap: 20px;
}

.cws-header-btns-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.cws-search-modal-btn svg {
    vertical-align: middle;
    fill: #6d6d6d;
}

.cws-search-wrapper button {
    padding: 0 10px;
    border-radius: 0 5px 5px 0;
    background: #fff;
    box-shadow: none;
}

a.cws-header-create-account {
    background-color: var(--cws-primary);
    padding: 4px 10px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    gap: .5rem;
}

a.cws-header-create-account::before {
    content: '\F89A';
    font-family: 'Bootstrap-icons';
    font-size: .9rem;
}

a.cws-header-login {
    padding: 2px 10px;
    border: 1px solid var(--cws-primary);
    border-radius: 5px;
    display: flex;
    align-items: center;
    gap: .5rem;
}

a.cws-header-login::before {
    content: '\F1BE';
    font-family: 'Bootstrap-icons';
    font-size: .9rem;
}

.cws-profile-menu-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
}

.cws-profile-menu-btn {
    display: flex;
    align-items: center;
    gap: .5rem;
    cursor: pointer;
}

.cws-profile-menu-wrapper.cws-active .cws-profile-menu-dropdown{
    visibility: visible;
    opacity: 1;
}

.cws-dropdown-icon{
    transition: transform .3s ease;
}

.cws-profile-menu-wrapper.cws-active .cws-dropdown-icon{
    transform: rotate(180deg);
}
.cws-header-profile-avatar img, .cws-profile-menu-user-info img {
    border-radius: 50%;
    border: 1px solid #80808038;
    width: 100%;
}

.cws-profile-menu-dropdown {
    margin: 0;
    position: absolute;
    background: white;
    right: 0;
    top: 0;
    width: 265px;
    border-radius: 5px;
    visibility: hidden;
    z-index: 10;
    opacity: 0;
    transform: translate(0%,30%);
    box-shadow: 0px 0px 10px 0px #61616140;
    transition: .3s ease;
}

.cws-profile-menu-dropdown li:first-child {
    border-bottom: 1px solid #8080802b;
    padding: 10px 10px 5px;
}

.cws-profile-menu-user-info {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 8px;
}

.cws-profile-menu-avatar {
    width: 50px;
}

.cws-user-details {
    display: grid;
    height: 100%;
    overflow: hidden;
    flex: 1;
}

span.cws-user-name {
    font-size: 18px;
    font-weight: bold;
}

span.cws-user-username {
    font-size: 14px;
    margin-top: -5px;
    color: #a2a2a2;
}

.cws-profile-menu-dropdown li a {
    display: flex;
    align-items: center;
    line-height: 2;
    padding: 10px 15px 5px;
    border-bottom: 1px solid transparent;
    gap: .5rem;
}



@media screen and (max-width:786px){
    .cws-mobile-menu-btn{
        display: block; 
    }
    .cws-navigation-wrapper{
        display: none;
    }
    
    .cws-header{
        gap: 10px;
    }
    .cws-header .cws-logo{
        flex: 1;
    }
}

@media screen and (max-width:540px){
    a.cws-header-create-account, a.cws-header-login{
        display: none;
    }

}