@media (min-width: 1200px) {
  .container {
    max-width: 1600px;
  }
}
.product-reference {
    margin-bottom: 15px;
    margin-top: 5px;
}
#telnumber a {
  color: #df0000;
}
#telnumber a:hover {
  color: #000;
}
.product-price-and-shipping {
    font-size: 18px;
    color: #df0000;
}
.block-category .category-cover {
    background: #fff;
    border-radius: 0px;
}
.left-nav {
  display: flex;
  align-items: center;
}

.left-nav p {
  margin: 0;
  padding: 0;
}

#telnumber {
  margin-right: 20px;
}

.ybc_social_config li {
  margin: 0;
}

#send_AAP_form_content input,
#send_AAP_form textarea {
  background: #ececec !important;
}
#send_AAP_form .pull-right {
  text-align: center;
  width: 100%;
}
#sendAAPEmail {
  width: 150px;
  display: block;
  margin: 10px auto;
  background-color: #60b701;
  border: none;
}

.page-category #wrapper {
  background: #eeeeee;
}

.category-top-menu {
  background: #fff;
}
.category-top-menu > li:first-child {
  background: #df0000;
}

.category-top-menu > li:first-child a {
  color: #fff;
}

.product-description .product-title {
  padding: 0 10px;
  height: 60px;
}
.product-codes {
  display: flex;
}

.product-codes .product-reference {
  margin-right: 13px;
}
li.mm_blocks_li img {
  max-width: 150px;
  height: 136px;
  object-fit: contain;
}
body.ybc-skin-custom .product-prices .product-price-net {
  color: #000;
}
body.ybc-skin-custom
  .home_widget_top_column
  .ybc-widget-description-content
  p
  a {
  background: none;
  background-color: transparent !important;
  color: #000 !important;
  padding: 0;
  border-radius: 0;
  margin: 0;
  font-weight: 600;
}
body.ybc-skin-custom
  .home_widget_top_column
  .ybc-widget-description-content
  p
  a:hover {
  color: #df0000 !important;
}
#_desktop_logo {
  width: 240px;
}
.products .thumbnail-container,
.owl-item .thumbnail-container {
  border: 1px solid #eeee;
  padding: 20px 0;
}
.owl-item .wishlist-button-add {
  margin-left: 20px;
}
#search_filters > .h6 {
  background-color: #df0000;
  border-bottom: 1px solid #e7e7e7;
  padding: 15px 20px;
  color: #fff;
  margin-bottom: 20px;
}
.products.list .type_list_full_width a img {
  max-height: 190px;
  width: 200px;
  margin-left: 25px;
}
.block-category {
  display: flex;
  align-items: center;
  flex-direction: row-reverse;
}

.category-cover > img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 5px;
}
#search_filters .facet .collapse {
  min-height: 56px;
  max-height: 220px !important;
  overflow: auto;
}
.product-miniature {
  width: 25%;
}
.thumbnail.product-thumbnail img {
  max-width: 70%;
  margin: 0 auto;
  display: block;
}

.image_item_product {
  background-color: #ffffff;
  position: relative;
}

.page-category .product-miniature .fade:nth-child(2),
.product-miniature .fade.ybc_img_hover {
  left: 0;
  right: 0;
  padding: 1rem;
  background: #ffffff;
  width: 100%;
}

.page-product .product-cover img {
  max-height: 400px;
  object-fit: contain;
}
.ets_mm_megamenu .mm_columns_ul {
  z-index: 9;
}
.product-flags li.out_of_stock {
  width: 150px;
}

.wishlist-button-add {
  display: none !important;
}

.product-actions .line {
  display: none;
}
.product-actions form {
  display: flex;
}
.product-actions .control-label {
  margin-right: 0;
}

.fancybox-inner {
  text-align: left;
  margin: 0 auto;
}

.fancybox-inner .submit {
  margin: 0 auto;
  display: block;
  text-align: center;
  float: none;
}

#send_AAP_form textarea {
  height: 100px;
  width: 100%;
  border: 1px solid #c2c2c2;
}

#send_AAP_form input {
  border: 1px solid #c2c2c2;
}
#send_AAP_form .pull-right {
  text-align: center;
  width: 100%;
}
#sendAAPEmail {
  width: 150px;
  display: block;
  margin: 10px auto;
  background-color: #60b701;
  border: none;
}
#send_aap_button {
  background-color: #60b701;
  border: none;
  margin-bottom: 20px;
  padding: 11px 35px;
  font-size: 17px;
}

#fmmblogDetail .blogSubInfo p {
  border: none;
}

#fmmblogDetail #mainBlogpostImg img {
  object-fit: cover;
}

/* Tabele wyłącznie w treści posta: .fmmBlogdetContent */
.fmmBlogdetContent table {
  width: 100%;
  max-width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 1.25rem 0;
  font-size: 0.98rem;
  line-height: 1.35;

  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  overflow: hidden; /* utrzymuje zaokrąglenia */
}

/* Scroll poziomy na wąskich ekranach (bez rozwalania layoutu) */
.fmmBlogdetContent {
  overflow-wrap: anywhere;
}

@media (max-width: 900px) {
  .fmmBlogdetContent table {
    display: block; /* pozwala na overflow */
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* Komórki */
.fmmBlogdetContent th,
.fmmBlogdetContent td {
  padding: 0.85rem 0.9rem;
  vertical-align: top; 
}

/* Nagłówek */
.fmmBlogdetContent thead th {
  text-align: left;
  font-weight: 650;
  letter-spacing: 0.01em;
  color: rgba(0, 0, 0, 0.85);

  background: rgba(0, 0, 0, 0.04); 
}

/* Sticky header (opcjonalnie; przy scrollu w poziomie nadal OK) */
.fmmBlogdetContent thead th {
  position: sticky;
  top: 0;
  z-index: 2;
}

/* Zebra rows + hover */
.fmmBlogdetContent tbody tr:nth-child(even) {
  background: rgba(0, 0, 0, 0.02);
}

.fmmBlogdetContent tbody tr:hover {
  background: rgba(0, 0, 0, 0.045);
}

/* Ostatni wiersz bez kreski */
.fmmBlogdetContent tbody tr:last-child td {
  border-bottom: 0;
}

/* Linki i code w tabelach */
.fmmBlogdetContent table a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.fmmBlogdetContent table code {
  padding: 0.15rem 0.35rem;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.06);
  font-size: 0.92em;
}

/* Mobile: ciaśniej */
@media (max-width: 768px) {
  .fmmBlogdetContent th,
  .fmmBlogdetContent td {
    padding: 0.65rem 0.7rem;
    font-size: 0.95rem;
  }
}

.contact-rich .block .icon {
    border-color: #f6f6f6;
    border-radius: 100%;
    padding: 12px;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-rich .block .icon i {
    font-size: 20px;
}

#related_products .bx-wrapper span.text-content {
  background: #df0000 none repeat scroll 0 0;
  color: white;
}
#related_products .bx-wrapper img {
  object-fit: contain;
}
#related_products .bx-wrapper {
  max-width: 100% !important;
}

.ets_mm_block_content img {
    margin: 0 auto;
    display: block;
}


#header {
    position: relative;
    z-index: 9;
}

 /* efekt przyciemnienia tylko na wrapper */
body.mm-dim #menu-overlay { 
    transition: filter .15s ease; 
    height: 100vh;
    width: 100%;
    position: absolute;
    z-index: 7;
    left: 0;
    top: 0;
    background: #131313e8;
}



/* blokada scroll (opcjonalnie) */
body.mm-lockscroll{
  overflow: hidden !important;
}

/* Firefox */
*{
  scrollbar-width: thin;
  scrollbar-color: #df0000 rgba(0,0,0,0.08);
}

/* Chrome / Edge / Safari */
::-webkit-scrollbar{
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-track{
  background: rgba(0,0,0,0.08);
}
::-webkit-scrollbar-thumb{
  background: #df0000;
  border-radius: 999px;
  border: 3px solid rgba(0,0,0,0.08); /* "lekki" efekt */
}
::-webkit-scrollbar-thumb:hover{
  filter: brightness(0.9);
}
