#header {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    transition: transform .4s cubic-bezier(.25, .37, .17, .96);
    z-index: 999;
    background: #fff !important;
}

.admin-bar header {
    top: 32px !important;
}

#header svg path {
    fill: #000;
}

img.logo {
    /*max-width: 250px;*/
    max-width: 95px;
}

@media (max-width:450px) {
    img.logo {
        max-width: 72px;
    }
}

#header {
    box-shadow: 0px 2px 12px rgba(0, 0, 0, 0.10);
}

.header_middle_container {
    display: flex;
    justify-content: space-between;
    margin: 0 auto;
    padding-top: 20px;
    padding-bottom: 20px;
    align-items: center;
    flex-wrap: wrap;
    position: relative;
}

.account_header>a,
#mini_cart,
#custom_mc {
    font-size: 14px;
    font-weight: 700;
}

#mini_cart,
#custom_mc {
    cursor: pointer;
}

.account_header {
    display: flex;
    gap: 40px;
    align-items: center;
}

.aws-container .aws-search-field {
    border-radius: 4px 0px 0px 4px !important;
    border: 1px #F1EEEE solid !important;
}

.aws-container .aws-search-form .aws-form-btn {
    border-radius: 0px 4px 4px 0px !important;
    border: 1px #F1EEEE solid !important;
}


/*  SEARCH START */

div#search {
    flex-grow: 1;
    max-width: 467px;
    width: auto;
}

#search form.aws-search-form {
    margin: 0;
}

.aws-container .aws-search-form .aws-form-btn {
    background: transparent;
    border-left: 0;
}

.aws-container .aws-search-field:focus {
    border-color: #d8d8d8 !important;
}

.aws-container .aws-show-clear .aws-search-field {
    border-right: 0;
}

.aws-search-result .aws_result_labels span.awl-product-label {
    margin: 0 0 5px 0 !important;
}

.aws-search-result .aws_result_labels .awl-inner-text {
    font-size: 10px;
}

.aws-search-result .aws_result_labels span.awl-label-text {
    padding: 3px 8px !important;
}

.aws-search-result .aws_result_price {
    text-align: left !important;
}

.aws-search-result .aws_result_sku,
.aws-search-result .aws_result_term {
    display: inline-block !important;
}

.aws-search-result .aws_result_term {
    float: right;
    padding-top: 0 !important;
    font-size: 12px !important;
}

.aws-search-result .aws_result_term strong {
    color: var(--wp--preset--color--link-default);
}

.aws-search-result .aws_onsale {
    background: #9dd3af none repeat scroll 0 0 !important;
}

@media screen and (max-width:450px) {
    #search .aws-container .aws-search-field {
        font-size: 12px !important;
    }
}

@media (min-width: 991px) {
    .aws-search-result .aws_result_image img {
        width: 100px;
    }
}


/* SEARCH END */

#menu-header-top-menu {
    list-style-type: none;
    padding: 0px;
    margin: 0px;
    display: flex;
    flex-direction: flex-end !important;
    gap: 28px;
}

#menu-header-top-menu li {
    display: inline-block;
    height: auto;
    vertical-align: middle;
}

.header-top-left {
    display: flex;
    gap: 33px;
}

.header-top {
    background: linear-gradient(90deg, #F8F6F6 0%, #F8F6F6 48%, rgba(255, 255, 255, 0) 100%);
    padding: 11px 0px;
    transition: .3s;
}

.header-email,
.header-phone {
    display: flex;
    gap: 15px;
    align-items: center;
}

.header-top a {
    color: #222222;
    font-size: 14px;
}

span.xoo-wsc-sc-subt {
    display: none;
}

span.xoo-wsc-sc-count {
    position: absolute;
    top: -5px;
    right: -8px;
    font-size: 11px !important;
    font-weight: 400;
    background-color: #EB4747;
}

.account_header a.catalog_link {
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    text-transform: uppercase;
}

.account_header span.catalog_text {
    margin-left: 12px;
}

.magma-sicon-box {
    align-items: center;
    gap: 12px;
}

.magma-sicon-title {
    font-weight: 500;
    font-size: 10px;
    text-transform: capitalize;
    color: #222A35;
    margin: 0px;
}

.magma-sicon-header p {
    font-weight: 500;
    font-size: 14px;
    color: #222A35;
    margin-bottom: 0px;
    text-transform: uppercase;
}

@media (max-width: 960px) {
    .header_middle_container {
        padding-left: 20px !important;
        padding-right: 11px !important;
    }
    .header-middle-right .main-menu {
        order: 100;
    }
    .account_header.mobile_sticky {
        display: none !important;
    }
    .account_header>a,
    #mini_cart,
    #custom_mc {
        margin-left: 0px;
    }
    .header-middle-right {
        gap: 19px;
    }
    .header-top-menu {
        display: none;
    }
    .header-top {
        padding: 9px 0px;
        width: 100%;
    }
    .header-top a {
        font-size: 11px;
    }
    #footer .copyright {
        flex-direction: column;
    }
    #custom_html-2 {
        text-align: center;
    }
    #custom_html-2 img {
        margin: 0 auto;
    }
    .footer-main {
        padding-top: 28px;
        padding-bottom: 0px;
    }
    #footer .widget_nav_menu {
        margin-top: 14px;
    }
    #custom_html-2 ul {
        padding-top: 22px;
    }
}

.header-middle-right {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 38px;
    flex-grow: 1;
    justify-content: flex-end;
}

.footer-main {
    padding-top: 74px;
    padding-bottom: 100px;
}

#footer .widget ul li {
    list-style: none;
    margin-block: 11px;
    font-size: 14px;
}

#footer .widget ul li a {
    color: #3F3E43;
}

#custom_html-2 ul {
    padding-top: 24px;
    padding-left: 0px;
}

#footer .widget_nav_menu {
    margin-top: 20px;
}

#footer .widget_nav_menu .widget-title {
    color: #FB535A;
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 30px !important;
}

.footer-logo img {
    width: 100%;
    max-width: 142px;
}

#footer .widget_nav_menu ul {
    padding-left: 15px;
}

#footer .widget_nav_menu ul li {
    list-style-image: url('https://magmaposlovnadarila.si/wp-content/uploads/2024/03/li-arrow.svg');
}

#footer .widget_nav_menu ul a {
    padding-left: 13px;
}

.footer-line {
    width: 100%;
    height: 8px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, #ED1C28 48%, rgba(255, 255, 255, 0) 100%);
}

#menu-footer-bottom {
    padding-left: 0px;
}

#menu-footer-bottom li {
    display: inline;
}

#menu-footer-bottom li a,
.copyright {
    color: #58595B;
}

#footer .copyright {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#menu-footer-bottom li:after {
    content: '|';
    margin-left: 5px;
}

#menu-footer-bottom li:last-child:after {
    content: '';
}

.ubermenu-skin-grey-white.ubermenu-responsive-toggle {
    background: #fff !important;
    color: #000 !important;
    font-size: 22px !important;
    padding: 0;
}


/** Push menu onto new line **/

.aws-search-result .aws_result_image img {
    max-height: 80px !important;
    object-fit: contain;
}

.aws_result_labels .advanced-woo-labels .awl-label-wrap:not(:first-child) {
    display: none !important;
}

@media (max-width:960px) {
    .ubermenu-mobile-header {
        background: #fff;
    }
    .header-top_mobile {
        background: #F8F6F6;
    }
    .header-top_mobile a {
        color: #333;
    }
    .header-top_mobile img {
        height: 16px;
    }
    .mobile_cart_trigger .xoo-wsc-cart-trigger {
        pointer-events: none;
    }
    li#menu-item-28167>a {
        display: none;
    }
    header#header {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
    }
    .header_middle {
        flex-grow: 1;
    }
    #search {
        display: none;
    }
    /*  mobile style */
    header .header_top,
    header .header_bottom,
    .header_top,
    .header_middle_container {
        padding-left: 2rem;
        padding-right: 2rem;
    }
    .account_header>a {
        margin-left: 0;
        font-size: 20px;
    }
    .header_middle_container,
    .header_bottom_container {
        padding-top: 10px !important;
        padding-bottom: 10px !important;
    }
    #custom_mc {
        margin-left: 15px;
    }
    .header_middle_container {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
    /*  mobile style */
    /* search style */
    .aws-container .aws-show-clear .aws-search-field {
        padding-right: 0;
    }
    .account_header.mobile_sticky {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        display: flex;
        width: 100%;
        padding: 5px;
        background: #fff;
        margin: 0 !important;
        justify-content: space-evenly;
        z-index: 9999;
    }
    body.modal-open #searchModal.modal.show {
        display: flex !important;
        height: 100%;
        background: #333333eb;
    }
    body.modal-open #searchModal.modal.show .modal-dialog {
        margin-top: 50px;
        margin-bottom: auto;
        max-width: 700px;
        width: 100%;
    }
    #searchModal .modal-content {
        background: transparent !important;
        border: 0;
    }
    #searchModal .modal-header,
    #searchModal .modal-footer {
        color: #ffffff94;
        /* justify-content: flex-end; */
        align-items: center;
        /* font-size: 12px; */
    }
    #searchModal .modal-header p,
    #searchModal .modal-footer p {
        margin: 0 !important;
        font-size: 14px;
    }
    #searchModal .modal-header {
        justify-content: flex-end;
        border: 0;
    }
    #searchModal .modal-footer {
        justify-content: center;
        border: 0;
    }
    .btn-cls {
        cursor: pointer;
    }
    #header #searchModal svg path {
        fill: #fff;
    }
    #search form.aws-search-form {
        background: transparent;
    }
    .aws-container .aws-show-clear .aws-search-field {
        border-right: 0;
        border-top: 0;
        border-left: 0;
        color: #fff;
    }
    .aws-search-btn.aws-form-btn {
        border-top: 0 !important;
        border-right: 0 !important;
    }
    .aws-container .aws-show-clear .aws-search-field::placeholder {
        color: #fff;
    }
    .aws-search-result .aws_result_scroll {
        max-height: 260px;
    }
    .aws-container .aws-search-form .aws-form-btn {
        background: transparent;
        border-left: 0;
    }
    .aws-container .aws-search-field:focus {
        border-color: #d8d8d8;
    }
    .aws_result_content>.aws_result_excerpt {
        display: none !important;
    }
    .aws-search-result .aws_result_title .aws_result_labels {
        display: none !important;
    }
    .aws-search-result .aws_result_term {
        float: unset;
    }
    .header-middle-right {
        gap: 20px !important;
    }
}