/* =========================================================
   KOLJA PAINTER – VYHLEDÁVÁNÍ
   /vyhledavani/  •  body.type-search.in-vyhledavani
   ========================================================= */


/* =========================================================
   BREADCRUMBS – glass pruh + domeček
   ========================================================= */

body.type-search .breadcrumbs,
body.type-search .breadcrumbs *{
  color: rgba(255,255,255,.78) !important;
}

body.type-search .breadcrumbs{
  display: flex !important;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;

  margin: 10px 0 14px !important;
  padding: 10px 16px !important;

  font-size: 18px !important;
  line-height: 1.2;

  color: rgba(255,255,255,.85) !important;
  background: rgba(0,0,0,.35);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 0;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);

  max-width: 1378px;
  margin-left: auto !important;
  margin-right: auto !important;
}

body.type-search .breadcrumbs a{
  color: rgba(255,255,255,.90) !important;
  text-decoration: none !important;
}
body.type-search .breadcrumbs a:hover{
  text-decoration: underline !important;
}

/* Schovat původní Shoptet lomítka */
body.type-search .breadcrumbs .navigation-bullet{
  display: none !important;
}

/* Generovat lomítko mezi položkami */
body.type-search .breadcrumbs > span[itemprop="itemListElement"]:not(#navigation-first)::before{
  content: "/" !important;
  display: inline-block;
  margin: 0 12px 0 10px;
  color: rgba(255,255,255,.6) !important;
}


/* =========================================================
   DOMEČEK – SVG maska
   ========================================================= */

body.type-search .navigation-home-icon-wrapper::before,
body.type-search #navigation-first::before,
body.type-search #navigation-first > a.navigation-home-icon::before{
  content: none !important;
  display: none !important;
  background: none !important;
}

body.type-search a.navigation-home-icon{
  padding: 0 !important;
  width: 44px !important;
  height: 44px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 0;
  background-image: none !important;
}

body.type-search a.navigation-home-icon::after{
  content: "" !important;
  width: 26px;
  height: 26px;
  background: rgba(255,255,255,.92);

  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3.2 2.5 11h2v9.5h6.5V14h2v6.5H19.5V11h2L12 3.2z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3.2 2.5 11h2v9.5h6.5V14h2v6.5H19.5V11h2L12 3.2z'/%3E%3C/svg%3E") center / contain no-repeat;
}

body.type-search a.navigation-home-icon:hover{
  background: rgba(255,255,255,.12);
}

/* Reset paddingu na breadcrumb odkazech */
body.type-search .breadcrumbs > span > a:not(.navigation-home-icon),
body.type-search .breadcrumbs > span > span{
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
}

body.type-search .breadcrumbs > span > a:not(.navigation-home-icon)::after{
  content: "" !important;
  display: none !important;
}

@media (min-width: 992px){
  body.type-search .breadcrumbs > span{
    align-self: center !important;
    display: inline-flex;
    align-items: center;
  }
}


/* =========================================================
   CONTENT WRAPPER – glass panel
   ========================================================= */

body.type-search .content-wrapper-in{
  background: rgba(17,17,17,.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 0;

  max-width: 1378px;
  margin: 28px auto;
  padding: 26px 24px;

  box-shadow: 0 20px 60px rgba(0,0,0,.6);
}


/* =========================================================
   TYPOGRAFIE – nadpisy, texty
   ========================================================= */

body.type-search h1,
body.type-search h2,
body.type-search h3,
body.type-search h4{
  color: #fff !important;
}

body.type-search p,
body.type-search span,
body.type-search li,
body.type-search label{
  color: rgba(255,255,255,.88);
}

body.type-search .highlight{
  color: #fff !important;
}

body.type-search a{
  color: rgba(255,255,255,.7) !important;
  transition: color .2s ease;
}

body.type-search a:hover{
  color: #fff !important;
}


/* =========================================================
   VÝSLEDKY – články (search-results-group)
   ========================================================= */

body.type-search .search-results-group{
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 0;
  padding: 16px 20px;
  margin-bottom: 20px;
}

body.type-search .search-results-group ul{
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
}

body.type-search .search-results-group li{
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

body.type-search .search-results-group li:last-child{
  border-bottom: none;
}

body.type-search .search-results-group a{
  color: rgba(255,255,255,.8) !important;
  text-decoration: none;
}

body.type-search .search-results-group a:hover{
  color: #fff !important;
  text-decoration: underline;
}


/* =========================================================
   PRODUKTOVÉ KARTY – grid (stejný vzor jako subcategories)
   ========================================================= */

body.type-search #content .products{
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  margin: 22px 0 10px !important;
  padding: 0 !important;
}

body.type-search #content .products > *{
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  width: auto !important;
  min-width: 0 !important;
  list-style: none !important;
}

body.type-search #content .products .p{
  position: relative;
  overflow: hidden;
  border-radius: 0;

  background: #0d0d0cd1;
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);

  padding: 16px !important;
  box-sizing: border-box;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

body.type-search #content .products .p:hover{
  transform: translateY(-2px);
  border-color: rgba(255,255,255,.22);
  background: rgba(0,0,0,.45);
}

/* Obrázek */
body.type-search #content .products .p .image{
  width: 100% !important;
  margin: 0 0 12px !important;
  border-radius: 0;
  overflow: hidden;
}

body.type-search #content .products .p .image img{
  width: 100% !important;
  height: 260px !important;
  object-fit: cover !important;
  display: block;
}

/* Název produktu */
body.type-search #content .products .p .name,
body.type-search #content .products .p .name span{
  color: rgba(255,255,255,.92) !important;
  text-decoration: none !important;
  font-weight: 800;
}

/* Popis */
body.type-search #content .products .p .p-desc{
  color: rgba(255,255,255,.6) !important;
  font-size: 14px;
}

/* Cena */
body.type-search #content .products .p .price-final,
body.type-search #content .products .p .price-final strong{
  color: #fff !important;
}

body.type-search #content .products .p .price-final small{
  color: rgba(255,255,255,.6) !important;
}


/* =========================================================
   MOBIL
   ========================================================= */

@media (max-width: 768px){
  body.type-search .content-wrapper-in{
    margin: 14px 10px;
    padding: 18px 16px;
  }

  body.type-search .breadcrumbs{
    font-size: 16px !important;
    padding: 12px 12px !important;
    margin: 10px 0 12px !important;
  }

  body.type-search a.navigation-home-icon{
    width: 48px !important;
    height: 48px !important;
  }
  body.type-search a.navigation-home-icon::after{
    width: 30px;
    height: 30px;
  }

  body.type-search #content .products{
    grid-template-columns: 1fr;
    gap: 18px;
  }

  body.type-search #content .products .p .image img{
    height: 200px !important;
  }
}

@media (min-width: 769px) and (max-width: 980px){
  body.type-search #content .products{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
}
