@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons/font/bootstrap-icons.css");

#product .h1  {
  text-transform: none;
}

#paramas-table {
   width:33.33333%
}

.alert-blue {
  background: #3cabdb;
}

.add-to-cart {
  background: #ff9a52 !important;
  color: #ffffff !important;
}

.add-to-cart:hover {
  background: #000000 !important;
}

.yes-before::before {
  content: '\E876';
  font-family: 'Material Icons';
  width: 16px;
  height: 16px;
  background-color: #ff9a52;
  font-size: 16px;
  color: #fff;
  border-radius: 50%;
  line-height: 16px;
  top: -2px;
  left: 0px;
  z-index: 2;
  position: absolute;
}

.search-result-div {
  width: 100%;
  display: flex;
  height: 80px;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  padding: 2px !important;
  align-items: center;
}

.search-name-price-div {
  display: flex;
  flex-wrap: wrap;
}

.search-img-div {
  width: 80px;
}

.search-result-img {
  height: 85px;
  margin: 0 !important;
}

.search-title-div {
  width: 100%;
  font-size: 1em;
  margin-left: 10px;
  color: whitesmoke;
}

.search-result-title {
  font: inherit;
  display: table-cell;
  vertical-align: middle;
  height: 55px;
  color: whitesmoke;
}

.search-price-div {
  width: 30%;
}

.search-result-price {
  font-weight: 700;
  color: #ff9a52; 
  display: inline-block;
  font-size: 1.0em;
  line-height: normal;
}

.search-result-vat {
  font-size: 0.8em;
  padding-left: 5px;
}

.search-result-availability {
  font-size: 1.0em;
  line-height: normal !important;
}

@media (min-width: 992px) {
  .search-compute-name {
    width: 75%;  
  }

  .search-compute-price {
    width: 20%;  
  }

  .search-name-price-div {
    display: flex;
    width: 100%;
    align-items: center;
  }

  #_desktop_top_menu {
    display: none;
  }
  .mm_menus_ul_desktop {
    display: flex;
    flex-direction: row;
    justify-content: center;
    text-align: center;
  }

  .ets_mm_block_content .col-md-auto {
    text-align: left;
  }

  .mm_block_type_html .h4 {
    text-align: left;
  }
}

#mobile-params-table{
  display:none;
}

@media (max-width: 767.98px) {
  .search-img-div {
    min-width: 60px;
  }

  .search-name-price-div {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
  }

  .search-title-div {
    width: 100%;
    font-size: 1em;
    margin-left: 10px;
    color: whitesmoke;
    height: 45px;
  }

  .hide-on-mobile {
    display: none !important;
  }

  #paramas-table {
    width: 100%;
    display: none;
  }

  #mobile-params-table{
    display:block;
    width: 100%;
  }

  #paramas-table {
    display: none !important;
  }

  .subcat-grid {
    flex-direction: column;
  }

  .subcat-div-block {
    width: 100% !important;
    height: auto !important;
    margin-bottom: 15px !important;
  }

  .subcat-picture {
    margin-bottom: 0 !important;
  }

  .subcat-margin-remove a {
    font-size: 1.6rem !important;
  }

  .searchbar-autocomplete {
    margin: 0px 20px 0 20px !important;
    max-width: 90%;
    left: 0 !important;
    top: 130px !important;
  }
}

.column-frame {
  border: 1px solid #ccc;
  padding: 10px;
  margin-bottom: 20px;
}

.subcat-grid {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  margin-top: 0px;
  margin-bottom: 0px;
  margin-left: 0px;
  padding: 0;
  list-style: none;
  justify-content: flex-start;
  overflow-x: auto;
}

.subcat-div-cnt-4 {
  width: 24%;
}

.subcat-div-cnt-5 {
  width: 19%;
}

.subcat-div-cnt-6 {
  width: 16%;
}

.subcat-div-cnt-7 {
  width: 24%;
}

.subcat-div-cnt-8 {
  width: 24%;
}

.subcat-div-block {
  position: relative;
  display: block;
  border: 1px solid #EAEAEA;
  box-sizing: border-box;
  text-decoration: none !important;
  overflow: hidden;
  border-radius: .8rem;
  transition: all .3s;
  box-shadow: 0px 0px 0px rgba(0, 0, 0, 0.1);
  margin: 5px;
}

.subcat-div-block:hover {
  border: 2px solid #FF8833;
}

.subcat-bottom {
  box-sizing: border-box;
  padding: 0.2rem;
}

.subcat-margin-remove {
  color: #5b5b5b;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0 !important;
  text-align: center;
}

.subcat-margin-remove a {
  font-weight: 700;
  font-size: 1.2vw;
  line-height: 1rem;
  color: #5b5b5b;
  text-decoration: none;
}

.subcat-top {
  position: relative;
  display: block;
}

.subcat-picture {
  background-color: #fff;
  position: relative;
  display: block;
  overflow: hidden;
  max-width: 39rem;
  width: 100%;
  margin: 0 auto;
}

.subcat-picture picture img {
  object-fit: contain;
}

.subcat-text {
  position: absolute;
  top: -2rem;
  left: 0;
  bottom: 0;
  right: 0;
  margin: auto;
  height: 8rem;
  max-width: 80%;
  display: none !important;
  font-weight: 400;
  font-size: 1.3rem;
  line-height: 1.9rem;
  color: #ffffff !important;
  z-index: 2;
}

.custom-mobile-mega-menu {
  width: auto !important;
  margin: 0 !important;
  display: block !important;
}

.custom-mobile-mega-menu .container{
  background: transparent !important;
}

.mm_menus_li > a {
  font-size: 0.8vw !important;
}

@media (min-width: 768px) {
  .ets_mm_megamenu.sticky_enabled.scroll_heading {
    position: relative !important;
  }
}

#_desktop_search_bar {
  width: 55% !important;
  padding: 5px;
  border: 1px solid #333;
  border-radius: 3px;
}

.search-bar, .currency-selector {
  border-right: none !important;
  border-left: none !important;
}

@media (min-width: 992px) {
  #_desktop_cart {
    position: static;
    padding: 0 !important;
    max-width: 85px;
  }
}

@media (max-width: 991px) {
  .wrapper-modules #_mobile_search_bar {
    width: 100%;
    border: 1px solid #333;
    padding: 5px;
    border-radius: 5px;
  }

  .mm_menus_li > a {
    font-size: 14px !important;
  }

  .search-bar .search-bar__text {
    background-color: #f4f4f4;
  }

  .ets_mm_megamenu:not(.custom-mobile-mega-menu) {
    display:none !important;
  }

  .header-top {
    display:none !important;
  }
}

@media (max-width: 575px) {
  .headline-section {
    font-size: 22px !important;
  }
  .headline-section strong::before {
    right: 100%;
    content: '';
    display: block;
    width: 800px;
    height: 0;
    border-top: 4px double #e3e3e3;
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto 0;
    margin-right: 10px;
  }
  .headline-section strong::after {
    left: 100%;
    content: '';
    display: block;
    width: 800px;
    height: 0;
    border-top: 4px double #e3e3e3;
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto 0;
    margin-left: 10px;
  }
}

@media (max-width: 991px) {
  .font-globe::before {
    content: "\f0ac";
  }

  .language-selector select {
    margin-right: 8px;
    font-size: 16px;
    cursor: pointer;
    width: 2em;
    height: 2em !important;
    color: transparent;
    font-weight: 700;
    display: -webkit-box;
    display: -ms-flexbox;
    text-align: center;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #222222;
    background-image: url("/img/globe.png");
  }
}

@media (max-width: 767px) {
  .ets_mm_megamenu.hook-default {
    padding: 0 !important;
  }
}

@media (min-width: 992px) {
  .language-selector .lang-flag {
    vertical-align: middle;
    height: 32px;
    margin-right: 3px;
    width: auto;
    max-width: unset;
  }
}

.mobile-icons {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 2px;
}

.mobile-login-icon,
.mobile-cart-icon {
  background-color: black;
  color: white;
  border-radius: 50%;
  padding: 6px;
  font-size: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
}

#_mobile_language_selector {
  display: flex;
  align-items: center;
}

@media (max-width: 767px) {
  #_mobile_logo img {
    max-width: 120px;
    height: auto;
  }
}

#_mobile_language_selector {
  display: flex;
  align-items: center;
  margin-left: 12px;
}

.productbanner {
  display: block !important;
  width: 100% !important;
  padding: 15px;
  background: #2c3e50;
  color: white;
  text-align: center;
  border-radius: 10px;
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 999;
  margin-bottom: 20px;
}

/* 💡 Naprawa wielkości czcionki w menu głównym (nadpisanie inline) */

/* Nadpisuje <ul class="mm_columns_ul mm_columns_ul_tab" style="font-size:14px;"> */
ul.mm_columns_ul_tab {
  font-size: 22px !important;
}

/* Nadpisuje <a class="ets_mm_url" style="font-size:16px;"> */
a.ets_mm_url {
  font-size: 12px !important;
}

/* Opcjonalnie: nadpisanie tytułu pozycji menu */
span.mm_menu_content_title {
  font-size: 12px !important;
  white-space: nowrap !important; /* zapobiega zawijaniu */
}

/* Zapobiega zawijaniu całego menu na desktopie */
@media (min-width: 992px) {
  #_desktop_top_menu .mm_menus_ul_desktop {
    white-space: nowrap;
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
  }

  #_desktop_top_menu .mm_menus_ul_desktop > li > a {
    white-space: nowrap !important;
    font-size: 0.9vw !important;
  }

.ets_mm_megamenu .mm_columns_ul .ets_mm_url {
  font-size: 16px !important;
}
	
.ets_mm_megamenu .mm_tabs_ul {
  display: flex;
  gap: 0;
}

.ets_mm_megamenu li.mm_menus_li_tab.mm_sub_align_full[style] {
  width: auto !important;
}

.ets_mm_megamenu .mm_tabs_ul > li {
  flex: 1 1 auto;
  margin: 0 !important;
  padding: 0 10px;
  text-align: center;
}
