/*
Theme Name: Avada Child
Description: Child theme for Avada theme
Author: ThemeFusion
Author URI: https://theme-fusion.com
Template: Avada
Version: 1.0.0
Text Domain:  Avada
*/


.product_wrapper{
    display:flex;
  margin-bottom:30px;
    align-items: flex-start;
border: 1px solid #d3d3d3;
    border-radius: 8px;
   flex-wrap: wrap;
   overflow: hidden;
    
}

.product_wrapper:last-child{
    margin-bottom:0px;
}



.product-image{
    width: 250px;
    padding: 1rem;
}
.product-image img{
 object-fit:contain;
  width: 200px;
  height: 200px;
}
.product-details{
padding: 1rem;
flex: 1;
}

.product-price{
    display:flex;
    justify-content:space-between;
        margin: 10px 0;
}

.product-price h5{
  margin: 0;
    font-size:19px !important;
  color:#000 !important;
      font-weight: 400!important;
}


/*.product-details h4{*/
/*  margin:0 0 10px;*/
/*  font-size:20px !important;*/
/*  color:#444444 !important;*/
/*      font-weight: 400!important;*/
/*}*/

.product-details{
transition: max-height .5s ease;
position:relative;
}

.product-details.expandable-details{
    position:relative;
    max-height: 344px;
    overflow: hidden;
}

.product-details.expandable-details:before {
    height: 60%;
    content: "";
    display: block;
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 2;
    width: 100%;
    background: #fff;
    background: linear-gradient(0deg,#fff,#fff 20%,hsla(0,0%,100%,0));
}

.product-details .product-show-more{
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    z-index: 9999;
}


.product-details .product-show-more button{
    font-size: .75rem;
    font-weight: 700;
    text-transform: capitalize;
    align-items: center;
    justify-content: center;
    gap: 5px;
    background: transparent;
    border: none;
    cursor:pointer;
        display: flex;
}


.product-details .product-show-more{
    display: none;
} 
/*.product-details.expandable-details .product-show-more{*/
/*    display: flex;*/
/*} */



.product-details a.fusion-button {
    float: right;
    border: 1px solid var(--button_border_hover_color) !important;
}

.product-details h4{
text-transform:capitalize !important;
    font-size: 20px !important;
}

.w-display-card-info {
    margin: 0 0 0.75rem;
}

.w-display-card-info dl div {
    display: block;
    border-bottom: 1px solid #ededed;
    padding: 0.35rem 0;
}


.w-display-card-info dt {
    min-width: 100%;
    line-height: 1.3;
    font-size: .875rem;
    font-weight: 700;
    line-height: 1.3em;
}

.w-display-card-info dd,
.product_wrapper .overview-bullets li{
    max-width: 100%;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.3em;
}

.product-description div{
 margin-bottom: 1rem;
}


.product-footer{
    width:100%;
    padding: 1rem;
    text-align:center;
    background: #f2f2f2;
}

.product-footer .fusion-button:hover{
    background:#ff6900;
    color:#fff;
}


@media (max-width: 1100px) {
   .menu-item.menu-item-type-custom .awb-menu__sub-ul .awb-menu__sub-a{
        min-height:45px;
    } 
    
    .awb-menu.collapse-enabled li.menu-item-type-custom.expanded>a{
        background:transparent !important;
              border-bottom: 1px solid var(--awb-mobile-sep-color) !important;
    }
    
    .awb-menu.collapse-enabled .menu-item>a{
        padding-left:15px !important;
      
    }
    
    .awb-menu.collapse-enabled.awb-menu_indent-left ul.awb-menu__main-ul ul ul a{
        padding-left:32px !important;
    }
    .awb-menu.collapse-enabled.awb-menu_indent-left ul.awb-menu__main-ul ul a{
         padding-left:20px !important;
    }
    
    .mobile-menu.awb-menu.collapse-enabled.mobile-mode-collapse-to-button.expanded .awb-menu__main-ul{

        max-block-size: calc(100% - 2rem);
        max-inline-size: calc(100% - 2rem);
        border-radius: 1rem !important;
        margin: auto;
        position: fixed;
        top: 0;
        height: 100%;
    max-height: 100%;
        width: 100% !important;
        box-shadow: 20px 0px 20px 20px #00000054;
    }
    .awb-menu.collapse-enabled .awb-menu__open-nav-submenu_mobile:before{
            font-size: 19px !important;
    }
    
}

@media (min-width:768px){
    
    .w-display-card-info dl div {
        display: flex;
        flex-flow: row wrap;
    }
     
    .w-display-card-info dt {
    min-width: 40%;
    max-width: 40%;
    line-height: 1.4em;
}



.w-display-card-info dd,
.product_wrapper .overview-bullets li{
    font-size: .875rem;
    max-width: 60%;
    line-height: 1.3em;
}
.product_wrapper .overview-bullets li{
     max-width: 100%
}
    
}

@media (max-width:768px){
    
    .product_wrapper{ 
        flex-direction: column;
    }
  
    
}




/* 
 * Premium Static Mega Menu Styles
 * Higher specificity to override theme defaults
 */

.static-mega-menu-wrapper {
    position: static;
    display: inline-block !important;
    font-family: 'Inter', 'Roboto', sans-serif !important;
    z-index: 9999 !important;
}

.mega-menu-trigger {
    background: transparent !important;
    color: #333 !important;
    padding: 16px 15px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    display: flex !important;
    flex-direction: row !important;
    /* Force one line */
    align-items: center !important;
    gap: 8px !important;
    border: none !important;
    transition: all 0.3s ease !important;
    line-height: normal !important;
    white-space: nowrap !important;
    /* Prevent text wrapping */
}

.mega-arrow {
    display: inline-block !important;
    width: 6px !important;
    height: 6px !important;
    border-right: 1px solid #0009 !important;
    border-bottom: 1px solid #0009 !important;
    transform: rotate(45deg) !important;
    margin-left: 5px !important;
    margin-top: -3px !important;
    vertical-align: middle !important;
}

.static-mega-menu-wrapper .mega-menu-dropdown a.awb-menu__main-a.awb-menu__main-a_regular {
    display: none;
}


.mega-menu-dropdown {
    position: absolute;
    top: 16px;
    background: #fef1eb;
    /* Adjusted to meet the trigger better */
    left: 0;
    right: 0;
    width: 100%;
    height: 480px;
    display: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 34px;
    pointer-events: none;
    z-index: 10000;
}

.static-mega-menu-wrapper:hover .mega-menu-dropdown {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
}

/* Sidebar Styling */
.mega-menu-sidebar {
    width: 225px;
    position: relative;
    border-right: none;
    flex-shrink: 0;
    padding: 33px 0;
}

/* Controlled Vertical Border */
.mega-menu-sidebar::after {
    content: "";
    position: absolute;
    right: 0;
    top: 33px;
    bottom: -150px;
    width: 1px;
    background: #d9e1ef;
}



.mega-menu-sidebar ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.mega-menu-sidebar li {
    position: static !important;
    /* Required for nested absolute panels */
    margin-bottom: 5px !important;
}

.mega-menu-sidebar li a {
    display: inline-block;
    padding: 0 14px;
    color: #444;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.8;
    text-decoration: none;
    text-transform: capitalize;
    transition: all 0.2s ease;
    position: relative;
}

.mega-menu-sidebar li a::after {
    content: "";
    position: absolute;
    left: 14px;
    bottom: 0px;
    height: 2px;
    width: 0;
    background-color: #ff6900;
    transition: width 0.3s ease !important;
}

.mega-menu-sidebar li.active>a {
    color: #ff6900 !important;
}

.mega-menu-sidebar li.active>a::after {
    width: calc(100% - 28px);
}

/* Main Content (Nested Panels) */
.mega-content-panel {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* Forces exactly 3 columns */
    position: absolute;
    top: 33px;
    left: 261px;
    width: 900px;
    padding: 0;
    gap: 20px;
    /* row-gap column-gap */
    z-index: 10;
    align-content: start;
    /* Keeps content at the top */
    /* Smooth Transition Logic */
    opacity: 0;
    visibility: hidden;
    transform: translateX(15px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.mega-menu-sidebar li.active .mega-content-panel {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateX(0) !important;
    pointer-events: auto !important;
}

.mega-menu-column {
    width: auto !important;
    /* Grid handles width now */
    min-width: 0 !important;
}

.mega-menu-column {
    width: 100%s !important;
    /* 3 columns per row (30% * 3 = 90% + gaps) */
    flex-shrink: 0 !important;
}

.column-title {
    font-size: 14px;
    font-weight: 700;
    color: #111;
    line-height: 24px;
    display: block;
    margin: 0px 0px 2px 0px;
    text-transform: capitalize;
}

.mega-sub-menu {
    list-style: none;
    padding: 0;

}

.mega-sub-menu li a {
    color: #000;
    font-size: 13px;
    line-height: 18px;
    text-decoration: none;
    display: block;
    padding: 0 0;
}

.mega-sub-menu li a:hover {
    color: var(--dm-primary, #f15a22);
}

.mega-sub-menu li a.see-all {
    display: inline-block !important;
    /* Keeps underline under text only */
    text-decoration: underline !important;

}



/* Integration fixes */
.fusion-main-menu .menu-item,
.fusion-main-menu .menu-item>a {
    position: relative !important;
    overflow: visible !important;
}


.awb-menu__main-li.awb-menu__main-li_regular {
    position: static;
    overflow: visible;
}

.fusion-builder-row.fusion-row.fusion-flex-align-items-center.fusion-flex-justify-content-center.fusion-flex-content-wrap,
.fusion-layout-column.fusion_builder_column.fusion-builder-column-10.fusion_builder_column_1_1.\31 _1.fusion-flex-column,
ul#menu-main-header-menu-1,
.menu-item .static-mega-menu-wrapper {
    position: static;
    overflow: visible;

}

.static-mega-menu-wrapper .mega-menu-dropdown a.awb-menu__main-a.awb-menu__main-a_regular {
    display: none;
}

.mega-menu-container {
    max-width: 1200px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
    position: relative;
}

.header-menu>.fusion-builder-row>.fusion-layout-column,
.header-menu>.fusion-builder-row>.fusion-layout-column .awb-menu__main-ul{
    position: static;
}

.mobile-menu-topbar{
        padding: 16px 24px;
    border-bottom: 1px solid #e2e8f0;
    display:flex;
    justify-content: space-between;
    cursor: pointer;
    align-items: center;
        gap: 10px;
}

.mobile-menu-topbar button{
   padding: 4px;
    background: transparent;
    border-width: 2px;
    border-color: transparent;
    font-weight: 500;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius:8px;
    cursor:pointer;
}

.mobile-menu-topbar button:hover{
    background:#ff69004d;
}

#menu-mobile-main-menu .mobile-menu-topbar .fusion-no-lightbox {
    min-height: 1px;
    padding: 0 !important;
}

#menu-mobile-main-menu .mobile-menu-topbar .fusion-no-lightbox img{
        width: 254px;
}

