/**
 * Theme Name:     Hello Elementor Child
 * Author:         Elementor Team
 * Template:       hello-elementor
 * Text Domain:	   hello-elementor-child
 * Description:    Hello Elementor is a lightweight and minimalist WordPress theme that was built specifically to work seamlessly with the Elementor site builder plugin. The theme is free, open-source, and designed for users who want a flexible, easy-to-use, and customizable website. The theme, which is optimized for performance, provides a solid foundation for users to build their own unique designs using the Elementor drag-and-drop site builder. Its simplicity and flexibility make it a great choice for both beginners and experienced Web Creators.
 */

p:last-child{
    margin-bottom: 0px !important;
}
#header_pop > .e-con-inner {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

#header_pop > .e-con-inner > .elementor-element {
    width: auto;
}
.head-right > div {
    width: auto !important;
}
.head-search .e-search-input-wrapper {
    width: 50px;
    cursor: pointer;
    height: 40px;
}

.head-search .e-search-input-wrapper input {
    display: none;
}

.head-search .e-search-form label {
    cursor: pointer;
}
.head-search.active .e-search-input-wrapper input {
    position: absolute;
    width: 260px;
    display: block;
    right: 0;
    transition: all 0.5s;
    padding-right: 40px !important;
}

.head-search.active .e-search-label {
    display: none;
}
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.product-item {
    background: #ffffff;
    border-radius: 3px;
    overflow: hidden;
    box-shadow: 0 0 10px 0 rgba(0,0,0,.15);
    transition: all 0.3s ease;
    text-align: center;
    padding: 20px;
    width: 100%;
    position: relative;
}

.product-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.product-item img {
    width: 100%;
    height: 220px !important;
    object-fit: contain;
    display: block;
}

.product-item h3 {
    font-size: 20px !important;
    padding: 20px 0px 20px;
    line-height: 1.4 !important;
    color: var( --e-global-color-secondary ) !important;
    margin: 0px;
    text-align: left;
}

.product-item h3 a {
    text-decoration: none;
     color: var( --e-global-color-secondary ) !important;
    transition: color 0.2s ease;
}

.product-item h3 a:hover {
    color: #0073aa; /* WordPress blue */
}

.product-tag {
    margin-top: 5px;
    position: absolute;
    top: 10px;
    right: 10px;
    background: #3974b5;
    padding: 6px 10px;
    line-height: normal;
    border-radius: 100px;
}

.product-tag h3 {
    padding: 0px;
    font-size: 12px !important;
    color: #fff !important;
}

.product-description {
    text-align: left;
    font-size: 15px;
    line-height: normal;
}

a.btnread-more{
    color: var( --e-global-color-secondary ) !important;
}

.productinfo-btn a:not([href]) {
    display: none; 
}

.all-products .elementor-post__thumbnail {
    padding: 20px !important;
}
.all-products .elementor-post__thumbnail__link{
    margin:0px !important;
}
.all-products .elementor-post__thumbnail__link:after{
    display: none !important;
}
.all-products .elementor-post__thumbnail img {
    position: initial !important;
    object-fit: contain !important;
    transform: initial !important;
    height: 220px !important;
    width: 100% !important;
    max-width: 100% !important;
}
.elementor-post__thumbnail.elementor-fit-height img{
     filter: grayscale(100%);
    opacity: 0.6;
}
.product_item {
    height: 100% !important;
    position: relative;
    z-index: 0;
}
.product_item img {
    max-height: 220px;
    object-fit: contain;
}

@media(max-width:991px){
    .products-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}
@media (max-width:767px){
    .head-search .e-search-input-wrapper {
        width: 40px;
    }

}

@media(max-width:600px){
    .products-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}

