/*
Theme Name: Amely Child
Theme URI: http://amely.thememove.com/
Author: ThemeMove
Author URI: http://thememove.com/
Version: 1.0
Template: amely
*/

.home .header-base .header-search a.toggle,
.home .header-base .header-minicart a.toggle,
.home .header-base .header-tools.layout-only-mini-cart .header-minicart a.toggle {
    color: #ffffff;
}

.home .header-base .header-minicart a.toggle .minicart-count {
    background-color: #ffffff;
}

.header-base .header-minicart a.toggle .minicart-count,
.header-base .header-tools.layout-only-mini-cart .header-minicart a.toggle .minicart-count,
.header-overlap .header-base.site-header:hover .site-menu .menu>ul>li>a,
.header-overlap .header-base.site-header:hover .site-menu .menu>li>a,
.header-overlap .header-base.site-header:hover .site-menu .menu>ul>li>a:hover,
.header-overlap .header-base.site-header:hover .site-menu .menu>li>a:hover,
body:not(.home) .header-base.site-header .site-menu .menu>ul>li>a,
body:not(.home) .header-base.site-header .site-menu .menu>li>a,
body:not(.home) .header-base.site-header .site-menu .menu>ul>li>a:hover {
    color: #333333;
}

.wpcf7 .wpcf7-form .contact-form .wpcf7-submit {
    background-color: #0c1a9d;
}

.header-base .header-tools.layout-base .header-search:after {
    width: 0px;
}

.amely-banner-grid-group .tm-shortcode:nth-child(2) {
    -ms-grid-column: 3;
    grid-column-start: 3;
    grid-column-end: 4;
    -ms-grid-row: 1;
    grid-row-start: 1;
    grid-row-end: 2;
}

.amely-banner-grid-group .tm-shortcode:nth-child(3) {
    -ms-grid-column: 4;
    grid-column-start: 4;
    grid-column-end: 5;
    -ms-grid-row: 1;
    grid-row-start: 1;
    grid-row-end: 2;
}

.amely-banner-grid-group .tm-shortcode:nth-child(4) {
    -ms-grid-column: 4;
    grid-column-start: 3;
    grid-column-end: 4;
    -ms-grid-row: 2;
    grid-row-start: 2;
    grid-row-end: 3;
}

.amely-banner-grid-group .tm-shortcode:nth-child(5) {
    -ms-grid-column: 4;
    grid-column-start: 4;
    grid-column-end: 5;
    -ms-grid-row: 2;
    grid-row-start: 2;
    grid-row-end: 3;
}

.error404 {
    overflow: auto;
}

.error404 .site-header .offcanvas-btn.on-left,
.error404 .site-header .header-tools .header-minicart {
    display: none;
}

.is-sticky .site-menu .menu>li>a:hover {
    color: #000000 !important;
}

#out-cat .amely-banner .banner-content {
    width: 60%;
}

#out-cat .amely-banner .banner-content {
    transform: none;
}

.is-sticky .site-menu .menu>li:hover a {
    color: #000000 !important;
}

.font-pop p {
    font-family: Poppins;
    line-height: 24px;
    letter-spacing: 4px;
    font-weight: 300;
    font-size: 16px;
}

ul.footer-menu {
    text-align: center;
}

ul.footer-menu li {
    letter-spacing: .03em;
    word-wrap: break-word;
    font-size: 14px;
    line-height: 35px;
    display: inline-block;
    padding: 0px 14px;
    text-transform: uppercase;
}

ul.footer-menu li a {
    color: #333;
}


/* .widget_brand_nav ul.wc-brand-list-layered-nav-product_brand {
    margin-top: -14px;
    max-height: 300px;
}

.ps.ps--active-x>.ps__scrollbar-x-rail,
.ps.ps--active-y>.ps__scrollbar-y-rail {
    opacity: 0.6;
}

.ps.ps--active-y>.ps__scrollbar-y-rail>.ps__scrollbar-y {
    width: 6px;
} */

.widget_product_categories ul.product-categories {
    max-height: 100%;
}

.product-loop.small-product .product-buttons .add-to-cart-btn {
    font-size: initial;
}

.product-loop.small-product .product-buttons .add-to-cart-btn a:not(.loading):before {
    content: '';
}

.search-form-wrapper .search-results-wrapper .autocomplete-suggestion .suggestion-details .search-product-info-item {
    margin-bottom: 10px;
}

.search-form-wrapper .search-results-wrapper .autocomplete-suggestion .suggestion-details .search-product-info-item>div {
    display: inline-block;
}

.search-form-wrapper .search-results-wrapper .autocomplete-suggestion .suggestion-details .search-product-info-item>div:first-of-type {
    margin-right: 10px;
    font-weight: 700;
}

.product-loop .product-thumb {
    position: relative;
    text-align: center;
    overflow: hidden;
    max-height: 250px;
    height: 250px;
}

.product-loop .product-thumb img {
    height: 160px;
    width: 100%;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    object-fit: contain;
    margin: auto;
}


/*.header-overlap .site-header:hover .site-menu .menu > li > a {
    color: #494949;
}*/

.page-title h2 {
    color: #333333;
}

.page-title h2 {
    font-size: 30px;
    font-weight: 400;
    margin-top: 0;
    margin-bottom: 10px;
}

.page-title .category-custom-page-title+p {
    font-size: 14px;
    max-width: 63%;
    margin: 0px auto;
}

.woocommerce.single-product .product .woocommerce-product-gallery .woocommerce-product-gallery__image img.wp-post-image {
    max-height: 400px;
    object-fit: contain;
}

@media (min-width: 992px) {
    #out-cat .cutom-banner-position .banner-content {
        top: 60px !important;
        left: 40px !important;
    }
    #out-cat .cutom-banner-position .custom-banner .banner-content {
        top: 60px !important;
        left: 40px !important;
    }
    .page-title {
        padding: 100px 0px 30px 0px;
    }
    .page-title h2,
    .single .entry-title {
        font-size: 48px;
    }
    .page-title .category-description {
        margin-top: 30px;
    }
    .page-title .category-custom-page-title {
        font-size: 28px;
    }
}

@media (min-width: 768px) {
    .woocommerce.single-product .product .product-tabs-wrapper .woocommerce-Tabs-panel--description {
        max-width: 70%;
        margin: 0px auto;
    }
    .woocommerce.single-product .product .product-tabs-wrapper .woocommerce-Tabs-panel--description > p {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .page-title {
        padding: 130px 0px 30px 0px;
    }
    .page-title .category-description {
        margin-top: 20px;
    }
    .page-title .category-custom-page-title {
        font-size: 18px;
    }
    .page-title .category-custom-page-title+p {
        max-width: 80%;
    }
    .woocommerce.single-product .product .product-tabs-wrapper .woocommerce-Tabs-panel--description > p {
        max-width: 100%;
    }
}

@media (max-width: 767px) {
    .page-title {
        padding: 130px 0px 30px 0px;
    }
    .page-title h2,
    .single .entry-title {
        font-size: 40px;
    }
    .page-title .category-custom-page-title+p {
        max-width: 100%;
    }
}


/* ---------------------------------------------------------------------------
   Product card button row.

   The parent theme sizes this row for three children and hard-codes the
   widths: .quick-view-btn 48px, .compare-btn 48px, .add-to-cart-btn
   calc(100% - 48px - 48px). This is a catalog-only site with no add-to-cart
   button, so those fixed widths leave a blank dark block and a 48px hole.
   Lay the row out with flex instead so it divides evenly between whatever
   buttons are actually rendered.
   --------------------------------------------------------------------------- */

.product-loop .product-buttons {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
}

.product-loop .product-buttons>div {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
}

.product-loop .product-buttons .quick-view-btn,
.product-loop .product-buttons .compare-btn {
    width: auto;
}