/* assets/mymegamenu.css */

/* .my-megamenu-sub => position:absolute, etc. w walkerze */
.my-megamenu-sub {
  width:100%;
	border-radius: 10px;
background: #FFF;
box-shadow: 0px 8px 21.3px 0px rgba(0, 0, 0, 0.25);
	  left: 50% !important;
  transform: translateX(-50%);
	max-width:1440px;
}




/* row */
.mymega-row {
  display:flex;
  gap:10px;
  padding:20px;
}

/* column */
.mymega-col {
  flex:1;

  padding:8px;
}


.mega-caption {
  margin-top:5px;

  color:#666;
}

.mymega-col ul{
flex-direction:column;
}

.mymega-row-el{
width:100%;
}

.mymega-row ul, .mymega-row li{
width:100%;
}

.mega-image-block img{
    max-width: 100% !important;
    height: 155px !important;
    width: 100% !important;
    object-fit: cover !important;
    border-radius: 10px !important;
}
.mymega-col .normal-submenu a{
	color: #000;
	text-align: center;
	font-family: Poppins;
	font-size: 16px;
	font-style: normal;
	font-weight: 300;
	line-height: 25px; /* 156.25% */
	text-transform: uppercase;
}




.mymega-row ul{
	gap:22px !important;
}

.mymega-col .normal-submenu{
	gap:6px !important;
}


nav.menu > li.menu-item-has-children > a::after {
  content: "";
  display: inline-block;
  width: 10px;
  height: 6px;
  margin-left: 4px;
  background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2210%22%20height%3D%226%22%20viewBox%3D%220%200%2010%206%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M8.88033%200L4.99999%203.80446L1.11966%200L0%201.09777L4.99999%206L10%201.09777L8.88033%200Z%22%20fill%3D%22white%22/%3E%3C/svg%3E") 
    no-repeat center / contain;
  vertical-align: middle; 
}


.my-megamenu-sub a{
	height:100% !important;
}


.my-megamenu-sub .mc_image_box img{
display:flex;
 max-width: 100% !important;
    height: 155px !important;
    width: 100% !important;
    object-fit: cover !important;
    border-radius: 10px !important;
}


@media (min-width: 1040px) {
  /* tylko desktop (1040px+) */
 nav ul > li > ul .mymega-row {
    position: absolute;
    width: 100%;
    box-sizing: border-box;
    left: 0;
    background-color: #fff;
    box-shadow: 0px 8px 21.3px 0px rgba(0, 0, 0, 0.25);
    border-radius: 10px;
  }
}




nav .sub-menu .sub-menu .mymega-row ul{
    display: flex;
    flex-direction: row;
}

nav .sub-menu .sub-menu .mymega-row ul .mymega-col ul {
    display: flex;
    flex-direction: column;
}


nav .sub-menu .sub-menu .mymega-row ul li{
display:flex;
flex-direction: column;
width:100%;
align-items: baseline;
}


nav .sub-menu .sub-menu .mymega-row ul li a{
  font-size:14px;
  justify-content: flex-start;
}

nav .sub-menu .sub-menu .mymega-row ul li a:hover{
  color:#9c7e6f;
}


.mc_bold a{
  font-weight: 600 !important;

}

nav a:hover{
  color:#9c7e6f;

}

nav .mc_image_box:hover a{
  color:#9c7e6f;

}



.mc_bold a:hover{
  color:#000 !important;

}

nav > div > ul > li > a:hover {
  color: rgb(219, 219, 219) !important;
}


/* ============================= */
/*   Mobilne podmenu (max-width: 1039px) */
/* ============================= */
@media (max-width: 1039px) {
  /* tylko 1. poziom submenu w megamenu */
  nav > li > div.my-megamenu-sub,
  nav > li > ul.sub-menu.normal-submenu {
        /* domyślnie ukryte */
    flex-direction: column;
    max-height: 80vh;
    overflow-y: auto;
    box-sizing: border-box;
    padding: 10px 0;
    margin: 0;
    background: #fff;
    position: relative;
    transition: max-height 0.3s ease;
  }

  /* gdy JS/klik doda klasę .open – pokaż tylko 1. poziom */
  nav > li > div.my-megamenu-sub.open,
  nav > li > ul.sub-menu.normal-submenu.open {
    display: flex !important;
  }

  .mymega-row, .mymega-col{

    padding:0;
  }

  nav .sub-menu .sub-menu .mymega-row ul li {

    align-items: center;
}

nav .sub-menu .sub-menu .mymega-row ul li a {
   
    justify-content: center;
}

  .my-megamenu-sub {
  width:100%;
	border-radius: 10px;
background: #FFF;
box-shadow: 0px 8px 21.3px 0px rgba(0, 0, 0, 0.25);
	  left: 0% !important;
  transform: translateX(0%);
	max-width:1440px;
}

.mc_main_menu ul li{
  position: relative;

}

nav .sub-menu .sub-menu .mymega-row ul {
    display: flex;
  flex-direction: column;
}

.my-megamenu-sub .mc_image_box img {
    display: flex
;
    max-width: 100% !important;
    height: 100px !important;
    width: 100% !important;
    object-fit: contain !important;
    border-radius: 10px !important;
}


    .my-megamenu-sub {
  
        max-height: 100vh;
        overflow: auto;
    }

    .mc_contact_button a, .mc_sale_button a{
      color:#FFF !important;
    }

}




.submenu-toggle {
  background: transparent;
  border: none;
  font-size: 1.2em;
  cursor: pointer;
  position:absolute;
  top:15px;
}


ul#menu-menu-glowne.menu li {
  position: relative;
}