/*Write Css*/

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

body,h1,h2,h3,h4,h5,h6,p,li,a,span,input,button {
    font-family: "Open Sans", sans-serif !important;
}

.swiper-tabs:before {
    display:none !important;
}
.tabs-container {
    margin-bottom:0px !important;
}

/* ===== ABOUT TEXT SECTION FIX ===== */
.text-editor-wrap .categoriesArea {
    background-color: #ffffff !important;   /* White background */
    /*padding: 50px 20px !important;          /* Space around text */
    border-radius: 0 !important;            /* Remove round corners if any */
    width: 100% !important;
}

/* Text styling inside the section */
.text-editor-wrap .categoriesArea p,
.text-editor-wrap .categoriesArea h2,
.text-editor-wrap .categoriesArea h3 {
    color: #000000 !important;              /* Normal black text */
    text-align: justify !important;         /* Justify paragraph */
    font-size: 18px !important;             /* Good readable size */
    line-height: 1.7 !important;            /* Proper spacing */
    margin-bottom: 20px !important;         /* Gap between paragraphs */
    background: none !important;            /* Remove blue overlay */
    
}

/* If heading is there, make it bold like screenshot */
.text-editor-wrap .categoriesArea h2 {
    font-weight: 700 !important;
    margin-bottom: 25px !important;
}



/* Remove container limit only for this section */
.text-editor-wrap .categoriesArea .container {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Remove row gap */
.text-editor-wrap .categoriesArea .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
}

/* Make column full width */
.text-editor-wrap .categoriesArea .col-lg-12 {
    max-width: 100% !important;
    flex: 0 0 100% !important;
    width: 100% !important;
}


.text-editor-wrap .categoriesArea p:nth-child(5) {
    text-align: left !important;
}



 


/* 1. Add dropdown arrow to parent items */
/*.menu-item-has-children > a:after {*/
/*    content: " ▼";*/
/*    font-size: 12px;*/
/*    margin-left: 6px;*/
/*    display: inline-block;*/
/*}*/

/* 2. Make parent LI the anchor point */
.menu-item-has-children {
    position: relative !important;
}

/* 3. Force submenu to appear as dropdown */


/* 5. Fix submenu items */
.sub-menu li {
    width: 100%;
    padding: 0;
    margin: 0;
}
.sub-menu li a {
    display: block !important;
    padding: 8px 15px !important;
    white-space: nowrap !important;
}

/* 6. Prevent main navbar flex from breaking submenu */
.navigation .nav-overflow {
    overflow: visible !important;
}
/*.navigation .nav-overflow ul.sub-menu {*/
/*    display: block !important;*/
/*    flex-direction: column !important;*/
/*}*/

/* 7. Extra protection against JS hiding submenu */
.sub-menu {
    opacity: 1 !important;
    visibility: visible !important;
    height: auto !important;
    max-height: none !important;
}

/* 8. Make sure parent UL doesn't cut submenu */
.navigation,
.nav-overflow,
.navigation .nav-overflow ul {
    overflow: visible !important;
}

/* Add real clickable dropdown toggle after the <a> */
.menu-item-has-children {
    position: relative;
}

/* Create a fake toggle button */
/*.menu-item-has-children > a:after {*/
/*    content: "▼";*/
/*    font-size: 12px;*/
/*    margin-left: 6px;*/
/*    cursor: pointer;*/
/*    pointer-events: auto;*/
/*}*/

/* Show submenu when parent li is active */

/* Prevent clipping */
.nav-overflow,
.navigation,
.navigation .nav-overflow ul {
    overflow: visible !important;
}



/* ENSURE SUBMENU ITEMS ARE CLICKABLE */
.navigation .sub-menu li a {
    pointer-events: auto !important;
}


@media (min-width: 1200px){
    /* FORCE OPEN THE SUBMENU FOR THE FIRST MENU ITEM */
    .navigation .menu-item-has-children:hover > .sub-menu,
    .navigation .menu-item-has-children:focus-within > .sub-menu {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        height: auto !important;
        max-height: 500px !important;
    }
    .menu-item-has-children > .sub-menu {
        display: none !important;
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        background: #fff !important;
        z-index: 99999 !important;
        min-width: 200px !important;
        padding: 10px 0 !important;
        flex-direction: column !important;
        box-shadow: 0 3px 12px rgba(0,0,0,0.15);
    }
}

/*.navigation-menu-wrapper nav ul {*/
/*    display: flex !important;*/
/*    flex-direction: row !important;*/
/*}*/

/*.navigation-menu-wrapper nav ul li {*/
/*    display: inline-flex !important;*/
     /* optional */
/*}*/

/*.navigation-menu-wrapper nav > ul {*/
/*    display: flex !important;*/
/*    flex-direction: row !important;*/
    
/*}*/

/*.navigation-menu-wrapper nav > ul > li {*/
/*    display: inline-flex !important;*/
/*    width: auto !important;*/
/*    flex: 0 0 auto !important;*/
    
/*}*/

/* 1. Force the container to keep everything in one row */
.navigation-menu-wrapper nav > ul {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important; /* Strictly prevents a second line */
    justify-content: space-between !important; /* Spreads items out evenly */
    align-items: center !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
}

/* 2. Prevent items from shrinking or growing weirdly */
.navigation-menu-wrapper nav > ul > li {
    display: inline-flex !important;
    flex: 0 0 auto !important; /* Keeps original size */
    padding: 0 !important;
}

/* 3. Adjust text and padding to ensure it fits 1270px width */
.navigation-menu-wrapper nav > ul > li > a {
    padding: 10px 12px !important; /* Reduced horizontal padding */
    font-size: 13px !important;    /* Slightly smaller font to guarantee fit */
    white-space: nowrap !important; /* Prevents text inside a button from wrapping */
    text-transform: uppercase;
}

/* 4. Ensure the parent container allows the width */
.nav-overflow {
    width: 100% !important;
    overflow: visible !important; /* Keeps dropdowns working */
}



.header-wrapper.style-3 header:not(.fixed-header) nav {
    padding-right: 20px !important;
}

.footer-contents-logo{
    display:none !important;
}

.dynamic-page-content-wrap p{
    color: black !important;
}



.mango-product-tabs-container .mango-section-title p {
    display: none !important ;
}

.mango-product-tabs-container .mango-section-title h2 {
    font-size: 30px !important;
    font-weight: 600 !important;
    color:black !important;
}

.mango-product-container .mango-section-title h2 {
    font-size: 30px !important;
    font-weight: 600 !important;
    color: #000000 !important;
}


/*product styling*/
.mango-product-tabs-container .product-container .product-card-content .tag {
    color:black !important;
}

.bags .singleProduct .productCap .global-card-contents-title a {
    display: -webkit-box;
    -webkit-line-clamp: 2;   /* show only 2 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #000000 !important;
    font-size: 17px !important;
    height: 35px; /* adjust if needed */
}

.mango-product-tabs-container .product-container .product-card-content .tag{
    font-size: 15px !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    text-transform: none !important; 
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    height: 42px !important;
}

/* OVERRIDE INLINE SPAN INSIDE LI */

@media (max-width: 1200px) {
    .menu-item-has-children .sub-menu li {
        background-color:#0023a1 !important;
    }
}


/* Text color on hover */
.menu-item-has-children .sub-menu li:hover a {
    color: #000000 !important;   /* hover text color */
}


.breadcrumb .breadcrumb-item:last-child a {
        display: inline !important;
}


/* TARGET ONLY 2nd agro banner */
.agro_banner + .agro_banner {
    height: 260px;   /* small height */
    overflow: hidden;
}

/* Force slider structure to respect height */
.agro_banner + .agro_banner .sliderArea,
.agro_banner + .agro_banner .slick-list,
.agro_banner + .agro_banner .slick-track,
.agro_banner + .agro_banner .slider-items,
.agro_banner + .agro_banner figure {
    height: 100%;
}

.agro_banner + .agro_banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mango-product-tabs-container .product-container img {
    width: 100%;
    height: 200px;          /* FIXED HEIGHT – change if needed */
    object-fit: contain;    /* keeps full image without cropping */
    display: block;
}

.mango-product-container .product-container .product-card-content .title{
     white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    display: block !important;
    max-width: 100% !important;
}

.single-main-image img {
    width: 500px !important;
    height: 500px !important;
    object-fit: contain !important; /* Options: cover or contain */
   /* background-color: #f8f8f8;     /* Optional: adds a light background if image is small */
}

.single-thumb img {
    height: 200px !important;
    width: 100% !important;
    object-fit: cover !important;
}
