/* Kategorie: blok "Nejprodávanější" nahoře – nechat jen 3 produkty */
.type-category #productsTop > .product[aria-hidden="false"]:nth-of-type(n+4) {
  display: none !important;
}

.col-sm-12.shp-tabs-row.responsive-nav {
    display: none !important;
}

div.product.active > div:nth-child(4)
{display:none;}

@media (min-width: 768px) {
    .category-title, .content-inner>h1, .content>h2, article header h1 {
        margin-top: 15px;
        margin-bottom: 0px;
    }
}

/* Skrytí tlačítka "Sdílet produkt" na detailu produktu */
a.link-icon.share.js-share-buttons-trigger {
    display: none !important;
}

@media only screen and (max-width: 768px), (min-width: 769px)

{
    /* Zvýšení velikosti ikon o 15% */
    #header .navigation-buttons a i,
    #header .navigation-buttons a span.icon-cart {
        font-size: 1.15em !important;
    }
    
    /* Skrytí původní fontové ikony */
    #header .navigation-buttons a span.icon-cart:after {
        content: none !important;
    }

    /* Nastavení nové ikony košíku */
    #header .navigation-buttons a span.icon-cart::before {
        content: "";
        display: inline-block;
        background-image: url('https://709004.myshoptet.com/user/documents/upload/shopping-bag.png') !important;
        background-size: contain !important;
        background-repeat: no-repeat !important;
        width: 24px;
        height: 24px;
        transition: filter 0.3s ease; /* Plynulý přechod */
    }

    /* Hover efekt s barvou #afbf36 */
    #header .navigation-buttons a span.icon-cart:hover::before {
        filter: brightness(0) saturate(100%) invert(70%) sepia(31%) saturate(705%) hue-rotate(54deg) brightness(94%) contrast(90%);
    }
}

.intro-box {
  width: 95%;
  max-width: 1400px;
  margin: 40px auto;
  background: #ffffff;
  padding: 20px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  border-radius: 10px;
}

.intro-content {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: center;
  margin-bottom: 40px;
}

.intro-text {
  width: 60%;
  font-size: 1.1em;
  line-height: 1.6;
  color: #444;
}

.intro-text .intro-heading {
  max-width: 100%;
  height: auto;
  display: block;
  margin-bottom: 20px;
}

.intro-image {
  width: 35%;
}

.intro-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
}

@media screen and (max-width: 768px) {
  .intro-content {
    flex-direction: column;
  }

  .intro-text,
  .intro-image {
    width: 100%;
  }
}

.category-grid {
  width: 90%;
  max-width: 1200px;
  margin: 50px auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* pevně 4 dlaždice */
  gap: 20px;
}

@media screen and (max-width: 992px) {
  .category-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 dlaždice vedle sebe */
  }
}

@media screen and (max-width: 576px) {
  .category-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 dlaždice vedle sebe i na mobilu */
  }
}

.category-tile {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.category-tile:hover {
  transform: scale(1.03);
}

.category-image {
  position: relative;
  width: 100%;
  padding-top: 120%; /* Výška 120 % šířky = poměr obrázku */
  background-size: cover;
  background-position: center;
}

.category-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 50%, rgba(59, 45, 7, 0.9) 100%);
}

.category-label {
  position: absolute;
  bottom: 35px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-size: 2.0em;
  font-weight: bold;
  z-index: 2;
  letter-spacing: 1px;
  text-align: center;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

footer h4 {
    color: #ffffff !important;
}

@media only screen and (max-width: 768px) {
    #header .site-name img {
        width: auto !important;
        height: auto !important;
        max-width: none !important;
        transform: scale(1.3); /* Zvětšení o 30 % */
    }
}

@media only screen and (min-width: 769px) {
    #header .header-bottom .navigation-wrapper .menu-level-1 > li > a {
        font-weight: bold !important;
    }
    #header .header-bottom .navigation-wrapper .menu-level-1 > li > a b {
        font-weight: bold !important;
    }
}

.kabo-kontakt-sekce {
  width: 95%;
  max-width: 1200px;
  margin: 50px auto;
  font-family: Arial, sans-serif;
}

.kabo-kontakt-radek {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 40px;
  align-items: center;
}

.kabo-kontakt-udaje,
.kabo-kontakt-prodejna {
  flex: 1 1 50%;
  font-size: 1.1em;
  line-height: 1.6;
}

.kabo-kontakt-foto {
  flex: 1 1 45%;
}

.kabo-kontakt-foto img {
  width: 100%;
  height: auto;
  display: block;
}

.kabo-kontakt-paticka {
  margin-top: 50px; 
  padding-top: 25px; 
  border-top: 1px solid #ccc;
  font-size: 1em;
}


@media screen and (max-width: 768px) {
  .kabo-kontakt-radek {
    flex-direction: column;
  }
  .kabo-kontakt-udaje,
  .kabo-kontakt-prodejna,
  .kabo-kontakt-foto {
    flex: 1 1 100%;
  }
}

  .tabulka-velikosti {
    width: 100%;
    border-collapse: collapse;
    font-family: Arial, sans-serif;
    font-size: 14px;
    margin-bottom: 1em;
  }

  .tabulka-velikosti th,
  .tabulka-velikosti td {
    padding: 10px 12px;
    border: 1px solid #ddd;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
  }

  .tabulka-velikosti th {
    background-color: #f9f9f9;
    font-weight: bold;
    text-align: center;
  }

  .tabulka-velikosti td:first-child {
    text-align: left;
    background-color: #fafafa;
    font-weight: 500;
  }

  .tabulka-velikosti td:not(:first-child) {
    text-align: center;
  }

  /* Zvýraznění celého řádku při najetí */
  .tabulka-velikosti tbody tr:hover {
    background-color: #f1f3e5; 
  }

  /* Zvýraznění buňky při přejetí */
  .tabulka-velikosti td:hover {
    background-color: #e5e8cc;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.1);
  }

  @media screen and (max-width: 768px) {
    .tabulka-velikosti thead {
      display: none;
    }

    .tabulka-velikosti, 
    .tabulka-velikosti tbody, 
    .tabulka-velikosti tr, 
    .tabulka-velikosti td {
      display: block;
      width: 100%;
    }

    .tabulka-velikosti tr {
      margin-bottom: 1em;
      border: 1px solid #ddd;
      border-radius: 5px;
      padding: 8px;
    }

    .tabulka-velikosti td {
      text-align: left !important;
      padding: 6px 10px;
      position: relative;
    }

    .tabulka-velikosti td::before {
      content: attr(data-label);
      font-weight: bold;
      display: block;
      margin-bottom: 4px;
      color: #444;
    }

    /* Vypnout efekty hover pro mobily */
    .tabulka-velikosti tbody tr:hover,
    .tabulka-velikosti td:hover {
      background-color: inherit;
      box-shadow: none;
    }
  }

.signature-wrapper {
    white-space: nowrap;
    font-size: 0.9em;
}

.OD-PODPIS {
    color: #000;
}
