.menu-item-1230>a:before {background: url('https://cdn.myshoptet.com/usr/www.rouska.cz/user/documents/upload/alergie.png') no-repeat center !important}
.menu-item-1171>a:before {background: url('https://cdn.myshoptet.com/usr/www.rouska.cz/user/documents/upload/srdce.png') no-repeat center !important}
.menu-item-1168>a:before {background: url('https://cdn.myshoptet.com/usr/www.rouska.cz/user/documents/upload/plodnost.png') no-repeat center !important}
.menu-item-1206>a:before {background: url('https://cdn.myshoptet.com/usr/www.rouska.cz/user/documents/upload/Stomach.png') no-repeat center !important}
.menu-item-1221>a:before {background: url('https://cdn.myshoptet.com/usr/www.rouska.cz/user/documents/upload/infekce.png') no-repeat center !important}
.menu-item-1218>a:before {background: url('https://cdn.myshoptet.com/usr/www.rouska.cz/user/documents/upload/drogy.png') no-repeat center !important}
.menu-item-1195>a:before {background: url('https://cdn.myshoptet.com/usr/www.rouska.cz/user/documents/upload/all.png') no-repeat center !important}
.menu-item-1227>a:before {background: url('https://cdn.myshoptet.com/usr/www.rouska.cz/user/documents/upload/respirator.png') no-repeat center !important}
.menu-level-1 > li > a::before {content: '';
  display: inline-block;
  width: 42px;
  height: 42px;
  margin-right: 10px;
  background-size: contain !important;
  background-repeat: no-repeat;
  vertical-align: middle;
}
.menu-level-1 > li > a {
padding:13px !important;
}
.homepage-group-title {
border-bottom: 2px solid #3498db; 
padding-bottom: 10px;
text-align: left;
}
.menu-level-1 > li > a > b {
padding-top:15px !important;
}
.homepage-group-title {
  font-size: 28px !important;
}
:root {
  --primary-color: #74C7F0;
  --secondary-color: #AC94F0;
  --text-color: #333333;
  --light-gray: #f5f5f5;
  --white: #ffffff;
}
.product {
  background-color: var(--white);
  border-radius: 24px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  max-width: 340px;
}
.product:hover {
  box-shadow: 0 30px 60px rgba(172, 148, 240, 0.2);
}
.product .image {
  position: relative;
  overflow: hidden;
  border-radius: 24px 24px 0 0;
}
.product .image img {
  width: 100%;
  height: auto;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.product .flags {
  position: absolute;
  top: 20px;
  left: 20px;
  display: flex;
  flex-direction: column;
  z-index: 1;
}
.product .flag {
  background-color: var(--secondary-color);
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 30px;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 10px rgba(172, 148, 240, 0.3);
}
.product .p-in {
  padding: 30px;
}
.product .name {
  font-weight: 700;
  color: var(--text-color);
  text-decoration: none;
  transition: color 0.3s ease;
}
.product .name:hover {
  color: var(--primary-color);
}
.product .availability {
  font-size: 14px;
  color: #888888;
  margin-bottom: 20px;
  font-weight: 500;
}
.product .price {
  font-size: 28px;
  font-weight: 800;
  color: var(--primary-color);
}
.product .p-tools {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.product .quantity {
  display: flex;
  align-items: center;
  border: 2px solid var(--light-gray);
  border-radius: 12px;
  overflow: hidden;
  background-color: var(--white);
}
.product .quantity input {
  width: 40px;
  text-align: center;
  border: none;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-color);
  padding: 10px 0;
  -moz-appearance: textfield;
}
.product .quantity input::-webkit-outer-spin-button,
.product .quantity input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.product .quantity .increase,
.product .quantity .decrease {
  background-color: var(--light-gray);
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease;
  font-size: 18px;
  line-height: 1;
  color: var(--text-color);
}
.product .quantity .increase:hover,
.product .quantity .decrease:hover {
  background-color: var(--primary-color);
  color: var(--white);
}
.product .btn-cart {
  background-color: var(--secondary-color);
  color: var(--white);
  border: none;
  border-radius: 12px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(172, 148, 240, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100% !important;
  margin-top: 20px !important;
}
.product .btn-cart:hover {
  background-color: var(--primary-color);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(116, 199, 240, 0.5);
}
.product .btn-cart span {
  margin-left: 8px;
  margin-top: 5px;
}
.product .btn-cart::before {
  content: '\1F6D2';
  font-size: 16px !important;
}
.product .increase-tooltip,
.product .decrease-tooltip {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.availability {
display: none !important;
}
.p-desc {
display: none !important;
}
.carousel-inner img,
.next-to-carousel-banners img {
  border-radius: 10px;
  margin: 5px;
}
.next-to-carousel-banners .banner-wrapper {
  margin-bottom: -5px;
}
.carousel-inner img {
  margin-bottom: 5px;
}
#professional-floating {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background-color: rgba(217, 0, 0, 0.9);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: bold;
    font-family: Arial, sans-serif;
    max-width: 200px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.25);
    z-index: 9999;
}
#professional-floating button {
    background: none;
    border: none;
    color: white;
    font-size: 14px;
    cursor: pointer;
    position: absolute;
    top: 2px;
    right: 4px;
}
@media (max-width: 768px) {
    #professional-floating {
        font-size: 11px;
        padding: 6px 10px;
        bottom: 15px;
        left: 15px;
        max-width: 180px;
    }
}
.custom-slide .btn-cart, .custom-slide .p-tools .btn, .custom-slide .p-tools button{
background: #0C9A00 !important;
}
.custom-slide .btn-cart::before, .custom-slide .p-tools .btn::before, .custom-slide .p-tools button::before, .custom-slide .p-tools a::before{
	content:'Do košíku' !important;
  font-weight: 700 !important; 
}
.custom-slide .price-final{
	color: #3498db !important;
  font-weight: 700 !important;
}
.product .price{
	color: #3498db !important;
  font-weight: 700 !important;
}
.product .btn-cart{
background: #0C9A00 !important;
}
.product .btn-cart:hover{
box-shadow: 0 5px 15px rgba(12, 154, 0, 0.4) !important;
}
#products .product .btn-cart::before{
display: none !important;
}
.availability{
font-weight: 800 !important;
text-transform: uppercase !important;
}


@media only screen and (max-width: 767px){

  .mobil_kategorie .mobile-links-grid{
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1rem !important;
  }

  .mobil_kategorie h2{
      border-bottom: none !important;
      position: relative !important;
      margin-left: 1.5rem !important;
      color: #002F56 !important;
  }

  .mobil_kategorie h2::before{
      content: "" !important;
      position: absolute !important;
      left: 0 !important;
      width: 0.6rem !important;
      height: 100% !important;
      background: linear-gradient(143deg,rgba(171, 146, 241, 1) 0%, rgba(52, 152, 219, 1) 100%) !important;
      margin-left: -1.5rem !important;
      border-radius: 2px !important;
  }

  .mobile-link-item{
    border: 2px solid #37504E !important;
    border-radius: 10px !important;
    color: #3498DB !important;
    padding: 1rem !important;
    font-size: 1.23rem !important;
    font-weight: 700 !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
  }

  .mobile-link-item:nth-child(2){
    border: 2px solid #94B550 !important;
  }

  .mobile-link-item:nth-child(3){
    border: 2px solid #6E4131 !important;
  }

  .mobile-link-item:nth-child(4){
    border: 2px solid #F3632F !important;
  }

  .mobile-link-item:nth-child(5){
    border: 2px solid #972130 !important;
  }

  .mobile-link-item:nth-child(6){
    border: 2px solid #71D1DE !important;
  }

  .mobile-link-item:nth-child(7){
    border: 2px solid #CCAB83 !important;
  }

  .mobile-link-item:nth-child(8){
    border: 2px solid #C11958 !important;
  }

  .mobile-link-item img{
    width: 2.5rem !important;
  }

  .custom-slider-prev, .custom-slider-next{
    z-index: 55 !important;
  }

    .homepage-group-title{
      border-bottom: none !important;
      position: relative !important;
      margin-left: 1.5rem !important;
      color: #002F56 !important;
    }

    .homepage-group-title::before{
      content: "" !important;
      position: absolute !important;
      left: 0 !important;
      width: 0.6rem !important;
      height: 100% !important;
      background: linear-gradient(143deg,rgba(171, 146, 241, 1) 0%, rgba(52, 152, 219, 1) 100%) !important;
      margin-left: -1.5rem !important;
      border-radius: 2px !important;
    }

    .navigation-buttons{
      gap: 1rem !important;
      margin-right: 1rem !important;
    }

    .mobile_menu_left{
        position: absolute !important;
        left: 0 !important;
    }

    .site-name{
        margin-left: 6rem !important;
    }

    .site-name a{
      width: 11rem !important;
    }

    .navigation-buttons a[data-target=search]{
      background: #F2F4F6 !important;
      border-radius: 6px !important;
      width: 3rem !important;
      height: 3rem !important;
    }

    .navigation-buttons a[data-target=cart]{
      background: #3498DB !important;
      height: 3rem !important;
      width: 5.5rem !important;
      border-radius: 6px !important;
    }

    .navigation-buttons a[data-target=cart]:before{
      content: "\f07a" !important;
      font-family: "Font Awesome 5 Free" !important;
      font-weight: 900 !important;
      color: white !important;
      font-size: 1.5rem !important;
      position: absolute !important;
      left: 9px !important;
      top: -9px !important;
    }

    .navigation-buttons a[data-target=cart]::after{
      content: "\f054" !important;
      font-family: "Font Awesome 5 Free" !important;
      font-weight: 900 !important;
      color: white !important;
      font-size: 1rem !important;
      position: absolute !important;
      right: 8px !important;
      bottom: -5px !important;
    }

    .navigation-buttons a[data-target=cart] i{
      background-color: #F82028 !important;
      display: flex !important;
      justify-content: center !important;
      align-items: center !important;
      font-size: 0.9rem !important;
      width: 1.3rem !important;
      height: 1.3rem !important;
      font-weight: 700 !important;
      bottom: 14px !important;
      right: 21px !important;
    }

    .navigation-buttons a[data-target=search]:before{
      content: "\f002" !important;
      font-family: "Font Awesome 5 Free" !important;
      font-weight: 900 !important;
      color: #3498DB !important;
      position: absolute !important;
      top: 50% !important;
      left: 50% !important;
      transform: translate(-50%, -50%) !important;
      font-size: 1.5rem !important;
    }
}

@media only screen and (max-width: 479px){
    .site-name{
        margin-left: 4rem !important;
    }
}

 /* Výchozí stav - mobilní slider je skrytý */
    #mobile-infinite-slider {
        display: none;
        width: 100%;
        overflow: hidden;
        position: relative;
        margin-bottom: 20px;
    }

    /* Track, který se bude hýbat */
    .mobile-slider-track {
        display: flex;
        width: 100%;
        /* Transition se bude nastavovat dynamicky přes JS */
    }

    /* Jednotlivý slide */
    .mobile-slider-item {
        min-width: 100%; /* Každý banner zabere celou šířku */
        box-sizing: border-box;
        padding: 0 5px; /* Malá mezera po stranách */
    }

    .mobile-slider-item img {
        width: 100%;
        height: auto;
        display: block;
        border-radius: 8px; /* Jemné zaoblení rohů */
    }

    /* --- MEDIA QUERIES --- */

    /* POUZE PRO MOBILY (do 767px) */
    @media screen and (max-width: 767px) {
        /* Skryjeme původní rozpadlou strukturu */
        .banners-row {
            display: none !important;
        }
        /* Zobrazíme náš nový slider */
        #mobile-infinite-slider {
            display: block;
        }
    }