/*
 * Custom code goes here.
 * A template should always ship with an empty custom.css
 */

.amega-menu {
    display: flex;
    justify-content: center;
    width: 100%;
}

.amega-menu .anav-top {
    justify-content: center !important;
}

#header .search-widget form input[type=text] {
    border-color: #FFFFFF;
    color: #FFFFFF;
}

#header .search-widget svg path {
    fill: #FFFFFF;
}

#header .header-top {
    padding: 5px 0;
}

.an_homeslider .an_homeslider-desc .h2 {
    max-width: 100%;
}

#index #wrapper {
    background-image: url(../img/tlo.png);
    background-position: right;
    background-repeat: repeat-y;
}

.an_homecategories-list {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 1rem;
}

.an_homeproducts-banner-default.an_homeproducts-banner-overlay .an_homeproducts-banner-content {
    left: 0;
    /* align-items: flex-end; */
    align-items: center;
    justify-content: flex-end;
}

.an_homeproducts-banner-default.an_homeproducts-banner-overlay .an_homeproducts-banner-content .h2 {
    font-size: 60px;
    text-align: center;
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 0 0 20px;
}

.an_homeproducts-banner-default.an_homeproducts-banner-overlay .an_homeproducts-banner-content .btn-primary {
    /* right: 235px; */
    right: 0;
}

.an_homeproducts-banner-default.an_homeproducts-banner-overlay .an_homeproducts-banner-image img {
    filter: brightness(0.5);
}

#header .block-social {
    padding: 8px 0;
}

#header .block-social li {
    background-color: #FFFFFF;
    border: 1px solid transparent;
    border-radius: 30px;
    width: auto;
    height: auto;
    padding: 4px;
}

#header .block-social li a .anicon {
    width: 20px;
    height: 20px;
}

#header .block-social > ul {
    margin-bottom: 0;
    gap: 4px;
    flex-wrap: nowrap;
}

#header .block-social .block-social-title {
    display: none;
}

#footer .block-social-title {
    color: #FFFFFF;
}

.mobile-header div svg,
.mobile-header div svg path {
    fill: #FFFFFF;
}

.product-flags .product-flag {
    font-size: 14px;
    padding: 8px 16px;
}

@media screen and (max-width: 1440px) {
    .an_homecategories-list {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

@media screen and (max-width: 991px) {
    .an_homecategories-list {
        grid-template-columns: 1fr 1fr;
    }
}

@media screen and (max-width: 776px) {
    .an_homecategories-list {
        display: flex;
    }
}