/* Add custom CSS styles below */ 
header.store-header{
 position: static;
 }
 .top-navbar {
 display: none;
 } 
/*------------main-banner----------------*/
section:nth-child( 1 of section.landing-page-first-bannar) > div{
display: flex;
justify-content: flex-start;
 align-items: center;
}
 /*------------------------*/
 section:nth-child( 1 of section.landing-page-first-bannar) h1 {
 font-size:45px;
 margin-bottom:10px;
 }
 /*-------------------------------*/
 section:nth-child( 1 of section.landing-page-first-bannar) p{
 line-height:30px;
 margin: 0px auto;
 }
 /*--------------------------------*/
 section:nth-child( 1 of section.landing-page-first-bannar) > div > div{
width:50%;
 margin-right:0px;
 text-align:center !important;
 }
 /*--------------------------------------------*/
 /*--------media-of-main-banner---------*/

 @media screen and (max-width:991px){
section:nth-child( 1 of section.landing-page-first-bannar) > div {
 justify-content: center;
 align-items: center;
 height: 34vh !important;
 background-position: 26%;
 }
 section:nth-child( 1 of section.landing-page-first-bannar) h1{
 width:100%;
 font-size: 17px;
 font-weight: bold;
 line-height: 8px;
 }
section:nth-child( 1 of section.landing-page-first-bannar) > div > div {
width: 56%;
 margin-top: 20px;
margin-right: 0px;
}
 section:nth-child( 1 of section.landing-page-first-bannar) button{
 margin-top:10px;
 width: 100px;
 font-size: 12px;
 height: 43px;
 }
}
.g_cat  {
margin-bottom:25px !important;
}
.g_cat .products-item:hover img {
transform: scale(1) rotate(0deg);
 }
@media screen and (max-width:768px){
.g_cat h3 {
font-size: 14px;
}
}

/*-----------الصور المربعه-p------------*/
.ads {
margin-bottom:20px;
}
.ads .imgs .img{
max-height: 550px;
}
 @media screen and (max-width:768px){
.ads p {
font-size: 16px;
text-align: center;
width: 100%;
}
.ads .img .over .text {
align-items: center;
}
}
/*--------الصور المربعه-over------------*/
.ads .img .over {
background-color: #00000040;
}
/*---heading------------------*/
.image-title {
margin-bottom:25px;
}
@media screen and (max-width:768px){
.g-products  .image-title {
margin-bottom: 44px;
}
}
/*-----product--------*/
.g-products{
margin-bottom:20px !important;
}
.g-products .container > div {
min-height: 80px;
}
/*------offers------*/
.dead_line {
margin-bottom:20px
}
.dead_line .product_deadline {
border: 2px solid #eee;
}
/******opinion**************/
.section_c_r {
margin-bottom: 30px;
}
 /******aads-banner******/
section.banner_ad{
margin-bottom: 32px !important;
}
.banner_ad  p {
font-size: 30px !important;
 line-height:35px;
}
.banner_ad  .text{
gap: 30px;
}
@media screen and (max-width:768px){
.banner_ad  p {
font-size: 16px !important;
line-height: 35px;
line-height: 28px;
}
.banner_ad  a {
padding: 5px 20px;
}
}
/****secund-main-banner***/
/*------------ secund-banner-----------------*/
section:nth-child( 2 of section.landing-page-first-bannar) > div{
display: flex;
justify-content: center;
 align-items: center;
 height: 65vh;
}
 /*------------------------*/
 section:nth-child( 2 of section.landing-page-first-bannar) h1 {
 font-size:50px;
 margin-bottom:10px;
 }
 /*-------------------------------*/
 section:nth-child( 2 of section.landing-page-first-bannar) p{
 line-height:30px;
 margin: 0px auto;
 font-size:30px;
 }
 /*--------------------------------*/
 section:nth-child( 2 of section.landing-page-first-bannar) > div > div{
 margin-right:0%;
 text-align:center !important;
}
 /*--------media-of-main-banner---------*/

 @media screen and (max-width:768px){
 section:nth-child( 2 of section.landing-page-first-bannar) > div {
 justify-content: center;
 align-items: center;
 height: 19vh !important;
 background-position: 0%;
 }
 section:nth-child( 2 of section.landing-page-first-bannar) h1{
 width:100%;
 font-size: 15px;
 font-weight: bold;
 line-height: 20px;
 margin-bottom: 0px;
 }
section:nth-child( 2 of section.landing-page-first-bannar) > div > div {
width: 62%;
 margin-top: 20px;
margin-right: 0px;
}
 section:nth-child( 2 of section.landing-page-first-bannar) button{
 margin-top:10px;
 width: 120px;
 font-size: 14px;
 height: 43px;
 }
 }
 @media (max-width: 1199px) {
    a#cart-button, a.hidden.lg\:block.cursor-pointer {
        display: block;
        padding: 12px;
        margin: 0 10px;
        background: var(--color-primary);
        border-radius: 50%;
        stroke: black;
    }
}
.product-single .description h2.ql-direction-rtl{
display:none;
}
.product-single .description ul{
    margin-top: 11px;
    }
 
/* Add custom Js code below */ 
const waitForElement = setInterval(() => {
    const el = document.querySelector(".product-card");

    if (el) {
        clearInterval(waitForElement);
        // نفذ الكود بعد العثور على العنصر
        el.addEventListener("click", () => {
            console.log("تم النقر على كارت المنتج");
        });
    }
}, 500); // يعيد المحاولة كل نصف ثانية