body {
    --wave-h: 40px;
}

@media (min-width: 1024px) {
    body {
        --wave-h: 99px; /* upraveno kvuli obycejnym strankam a kategorii, nebyla videt cela vlna */
    }
}

body.in-custom-pack {
    --wave-h: 99px;
}

@supports selector(:has(*)) {


  body:has(.content .category-top) #header,
  body:has(.pageArticleDetail):not(:has(.banners-row)):not(.in-triple-pack) #header,
  body:has(.recept-box):not(:has(.banners-row)) #header ,
  body.in-blog.type-post:not(:has(.banners-row)) #header,
  body.in-novinky.type-post:not(:has(.banners-row)) #header,
  body.customer-page #header,
  body.in-registrace #header,
  body.in-login #header,
  body.in-dekujeme #header,
  body.in-404 #header,
  body.in-vyhledavani #header {
    /*--wave-h: 99px; !* upraveno kvuli obycejnym strankam a kategorii, nebyla videt cela vlna *!*/
    position: relative;
    margin-bottom: var(--wave-h);
    z-index: 1;
    overflow: visible;
  }

  body:has(.content .category-top) #header::after,
  body:has(.pageArticleDetail):not(:has(.banners-row)):not(.in-triple-pack) #header::after,
  body:has(.recept-box):not(:has(.banners-row)) #header::after,
  body.in-blog.type-post:not(:has(.banners-row)) #header::after,
  body.in-novinky.type-post:not(:has(.banners-row)) #header::after,
  body.customer-page #header::after,
  body.in-registrace #header::after,
  body.in-login #header::after,
  body.in-dekujeme #header::after,
  body.in-404 #header::after,
  body.in-vyhledavani #header::after{
    content: "";
    position: absolute;
    top: calc(100% - 2px);
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: var(--wave-h);
    background: #fef6df url(/user/documents/theme/header-border.png) no-repeat top center;
    background-size: 100% auto;
    pointer-events: none;
  }
}

/* custompack */
body:has(.pageArticleDetail .custompack):not(:has(.banners-row)) #header::after {
    background: #CAA7F9 url(/user/documents/theme/header-border-lila.png) no-repeat top center;
    /*height: 50px;*/
    height: 110px;
    background-size: 100% auto;
}

@media (max-width: 600px){
    #header::after{
        left: 0 !important;
        right: 0;
        transform: none !important;
        width: 100% !important;
    }
}

body.in-custom-pack .content-wrapper {
    margin-top: -85px !important;
}

.product-configurator {
    /*z-index: 0;*/
}

h1.category-title {
	font-family: "Knofedt", sans-serif;
    text-transform: uppercase;
	font-size: 40px;
	font-weight: 100;
}

h4 {
	font-family: "Knofedt", sans-serif;
    text-transform: uppercase;
	font-size: 30px;
	font-weight: 100;
}

.category-header-pagination {
	visibility: hidden;
}

.products-top .availability {
	font-size: 14px;
	margin-top: 10px !important;
	/*text-transform: lowercase;*/
}

#productsTop .product .p .p-in .p-in-in{
	padding: 0;
}

#productsTop .button-wrapper {
	display: none;
}

/* ===== TOP + NEJPRODÁVANĚJŠÍ – obrázek vlevo, text vpravo ===== */
#productsTop .product .p,
.products-top .product .p{
  display: grid !important;
  grid-template-columns: 110px 1fr !important;
  grid-template-rows: auto auto !important;
  column-gap: 16px !important;
  align-items: start !important;
  background: #fff !important;
  border-radius: 30px !important;
  padding: 16px !important;
  box-sizing: border-box !important;
  width: 100% !important;
}

#productsTop .product .p > a.image,
.products-top .product .p > a.image{
  grid-column: 1 !important;
  grid-row: 1 / span 2 !important;
  margin: 0 !important;
  width: 110px !important;
  height: 110px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 22px !important;
  overflow: hidden !important;
  background: transparent !important;
}

#productsTop .product .p > a.image img,
.products-top .product .p > a.image img{
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  display: block !important;
  border-radius: 22px !important;
}

#productsTop .product .p .p-in,
.products-top .product .p .p-in{
  grid-column: 2 !important;
  grid-row: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
  padding: 0 !important;
  width: 100% !important;
}

#productsTop .product .p .p-in .p-in-in,
.products-top .product .p .p-in .p-in-in{
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
}

#productsTop .product .p .name,
.products-top .product .p .name{
  margin: 0 !important;
  padding: 0 !important;
  font-size: 16px !important;
  line-height: 1.3 !important;
  font-weight: 700 !important;
  color: #000 !important;
}

#productsTop .product .p .ratings-wrapper,
.products-top .product .p .ratings-wrapper{
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.3 !important;
  display: block !important;
}

#productsTop .product .p .p-bottom,
.products-top .product .p .p-bottom{
  grid-column: 2 !important;
  grid-row: 2 !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: left !important;
  align-self: start !important;
}

#productsTop .product .p .offers,
.products-top .product .p .offers{
  margin: 0 !important;
  padding: 0 !important;
}

#productsTop .product .p .price-final,
.products-top .product .p .price-final{
  margin: 0 !important;
  padding: 0 !important;
}

#productsTop .product .p .price-final strong,
.products-top .product .p .price-final strong{
  font-size: 18px !important;
  font-weight: 700 !important;
  color: #000 !important;
}

.subcategories,
.subcategories li,
.subcategories li a,
.subcategories li .text{
  overflow: visible !important;
}

.subcategories li .text{
  height: auto !important;
}

.subcategories li .text img{
  display: block;
  width: 100%;
  height: auto;
}

.subcategories li{
  padding-bottom: 28px;
}

/* --- SUBKATEGORIE: grid + fix přetékání --- */
.category-top .subcategories{
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 15px !important;
  padding: 10px 0 20px !important;
  margin: 0 !important;
  list-style: none !important;
  overflow: visible !important;
}

/* reset bootstrap col-* a vnitřních odsazení */
.category-top .subcategories > li{
  float: none !important;
  width: 100% !important;
    height: 150px;
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  display: block !important;
  position: relative !important;
}

/* odkazy jako blok - poměr 223:56 = cca 4:1 */
.category-top .subcategories > li > a{
  display: block !important;
  width: 100% !important;
  height: 100%;
  text-decoration: none !important;
  position: relative !important;
  padding-bottom: 25% !important;
  overflow: hidden !important;
  border-radius: 16px !important;
}

/* text wrapper - skrytý když je obrázek */
.category-top .subcategories li .text{
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  /*position: relative !important;*/
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  font-size: 0 !important;
  line-height: 0 !important;
  color: transparent !important;
    min-height: 100%;
}

/* obrázek - zobrazení celého obsahu */
.category-top .subcategories li .text img{
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  opacity: 1 !important;
  border-radius: 16px !important;
  max-width: 100% !important;
  max-height: 100% !important;
}

/* položka bez obrázku - zobrazení textu */
.category-top .subcategories li .text:not(:has(img)){
  font-size: 18px !important;
  line-height: 1.2 !important;
  color: #333 !important;
  background: #ffffff !important;
  border: 0 !important;
  font-weight: bold !important;
  text-transform: uppercase !important;
  text-align: center !important;
  padding: 10px !important;
}

/* --- Stránka „Produkty" = 4 sloupce přes data atribut --- */
body[data-page-category="produkty"] .category-top .subcategories{
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

/* vyšší boxy pro 4 sloupce */
body[data-page-category="produkty"] .category-top .subcategories > li > a{
  padding-bottom: 35% !important;
}

/* --- Responsivita --- */
@media (max-width: 991.98px){
  .category-top .subcategories{
    grid-template-columns: repeat(2, 1fr) !important;
  }
  
  body[data-page-category="produkty"] .category-top .subcategories{
    grid-template-columns: repeat(2, 1fr) !important;
  }
  
  .category-top .subcategories > li > a{
    padding-bottom: 30% !important;
  }
}

@media (max-width: 575.98px){
  .category-top .subcategories{
    grid-template-columns: 1fr !important;
  }
  
  body[data-page-category="produkty"] .category-top .subcategories{
    grid-template-columns: 1fr !important;
  }
  
  .category-top .subcategories > li > a{
    padding-bottom: 25% !important;
  }
}


#products .p img {
	border-radius: 25px 25px 0 0; 
}


/* ================= PRODUCTS PAGE ================= */
.content #products.products-block{
  display:grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap:18px !important;
  padding:0 !important;
  margin:0 !important;
}

@media (max-width: 1199.98px){
  .content #products.products-block{
    grid-template-columns: repeat(3, 1fr) !important;
  }
}
@media (max-width: 991.98px){
  .content #products.products-block{
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
@media (max-width: 575.98px){
  .content #products.products-block{
    grid-template-columns: 1fr !important;
  }
}

.content #products.products-block .product{
  width:auto !important;
  margin:0 !important;
  flex:initial !important;
  display:block !important;
  min-width:0 !important;
}

.content #products.products-block .product .p{
  padding:0 !important;
}

@media (min-width: 1440px){
  .products-block>div{ padding:0 !important; }
}


.products-page .product .p,
body.in-vyhledavani .product .p,
.product-slider-holder .product .p{
	--btn_cart: #ff7504;
	
  background:#fff !important;
  border-radius:18px !important;
  /*box-shadow:0 10px 24px rgba(0,0,0,.08) !important;*/
  overflow:visible !important;
  padding:0 !important;
  display:flex !important;
  flex-direction:column !important;
  box-sizing:border-box !important;
  font-family: "Roboto";
}

.products-page .product .p > a.image,
body.in-vyhledavani .product .p > a.image,
.product-slider-holder .product .p > a.image{
  display:block !important;
  width:100% !important;
  margin:0 !important;
  padding:0 !important;
  background:none !important;
  border-radius:18px 18px 0 0 !important;
  overflow:hidden !important;
}
.products-page .product .p > a.image img,
body.in-vyhledavani .product .p > a.image img,
.product-slider-holder .product .p > a.image img{
  display:block !important; 
  width:100% !important;
  max-width:100% !important;
  height:auto !important;
  filter:none !important;
  border-radius:18px 18px 0 0 !important;
}

.products-page .product .p .p-in,
body.in-vyhledavani .product .p .p-in,
.product-slider-holder .product .p .p-in {
  padding:16px !important;
  box-sizing:border-box !important;
  flex:1 !important;
  display:flex !important;
  flex-direction:column !important;
}

.products-page .product .p .p-in-in, 
body.in-vyhledavani .product .p .p-in-in,
.product-slider-holder .product .p .p-in-in {
  overflow:visible !important; 
  height:auto !important; 
  max-height:none !important;
}
.products-page .product .p .p-in-in .name, 
body.in-vyhledavani .product .p .p-in-in .name,
.product-slider-holder .product .p .p-in-in .name {
  display:block !important;
  margin:0 !important; 
  text-transform:uppercase !important;
  font-weight:600 !important; 
  font-size:20px !important;
  line-height:1.22 !important;
  color:#35261e !important;
  text-decoration:none !important;
  white-space:normal !important;
  text-align: left;
  padding: 0;
}
.products-page .product .p .p-in-in .name span,
body.in-vyhledavani .product .p .p-in-in .name span,
.product-slider-holder .product .p .p-in-in .name span {
  display:block !important;
  white-space:normal !important;
  overflow:visible !important;
  text-overflow:clip !important;
  -webkit-line-clamp:unset !important;
  -webkit-box-orient:unset !important;
}

.products-page .product .p .ratings-wrapper,
body.in-vyhledavani .p .ratings-wrapper,
.product-slider-holder .product .p .ratings-wrapper {
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:12px !important;
  margin:0 !important;
}
.products-page .product .p .ratings-wrapper .stars-wrapper,
body.in-vyhledavani .p .ratings-wrapper .stars-wrapper,
.product-slider-holder .product .p .ratings-wrapper .stars-wrapper {
  display:flex !important;
  align-items:center !important;
}
.products-page .product .p .ratings-wrapper svg,
.products-page .product .p .ratings-wrapper i,
.products-page .product .p .ratings-wrapper [class*="star"],
.products-page .product .p .ratings-wrapper .stars,
.products-page .product .p .ratings-wrapper .rating,
body.in-vyhledavani .product .p .ratings-wrapper svg,
body.in-vyhledavani .product .p .ratings-wrapper i,
body.in-vyhledavani .product .p .ratings-wrapper [class*="star"],
body.in-vyhledavani .product .p .ratings-wrapper .stars,
body.in-vyhledavani .product .p .ratings-wrapper .rating,
.product-slider-holder .product .p .ratings-wrapper svg,
.product-slider-holder .product .p .ratings-wrapper i,
.product-slider-holder .product .p .ratings-wrapper [class*="star"],
.product-slider-holder .product .p .ratings-wrapper .stars,
.product-slider-holder .product .p .ratings-wrapper .rating {
  color:#ffc926 !important;
  fill:#ffc926 !important;
  vertical-align:middle !important;
  font-size:20px !important;
}
.products-page .product .p .stars .star.is-active:hover, 
.products-page .product .p .stars .star.star-half:before, 
.products-page .product .p .stars .star.star-on:before,
body.in-vyhledavani .product .p .stars .star.is-active:hover,
body.in-vyhledavani .product .p .stars .star.star-half:before,
body.in-vyhledavani .product .p .stars .star.star-on:before,
.products-slider-holder .product .p .stars .star.is-active:hover, 
.products-slider-holder .product .p .stars .star.star-half:before, 
.products-slider-holder .product .p .stars .star.star-on:before {
	color:#ffc926;
}

.products-page .product .p .stars a:before, 
.products-page .product .p .stars span:before,
body.in-vyhledavani .product .p .stars a:before,
body.in-vyhledavani .product .p .stars span:before,
.products-slider-holder .product .p .stars a:before, 
.products-slider-holder .product .p .stars span:before {
	font-size: 20px;
    line-height: 20px;
}

.products-page .product .p .stars a, 
.products-page .product .p .stars span,
body.in-vyhledavani .product .p .stars a,
body.in-vyhledavani .product .p .stars span,
.products-slider-holder .product .p .stars a, 
.products-slider-holder .product .p .stars span {
    height: 19px;
    line-height: 19px;
    width: 21px;
}

.products-page .product .p .availability,
body.in-vyhledavani .product .p .availability,
.product-slider-holder .product .p .availability {
  margin-left:auto !important;
  /*line-height: 1;*/
  /*padding-bottom: 10px;*/
}
.products-page .product .p .availability span,
body.in-vyhledavani .product .p .availability span,
.product-slider-holder .product .p .availability span {
  font-size:12px !important; 
  font-weight:700 !important;
  text-transform: lowercase;
  display: block;
  margin: 0;
  padding: 0;
  line-height: 1;
}

.products-page .product .p .p-bottom,
body.in-vyhledavani .product .p .p-bottom,
.product-slider-holder .product .p .p-bottom {
  margin-top:-10px !important; 
  padding:0 !important;
}
.products-page .product .p .p-bottom > div[data-micro="offer"],
body.in-vyhledavani .product .p .p-bottom > div[data-micro="offer"],
.product-slider-holder .product .p .p-bottom > div[data-micro="offer"] {
  display:flex !important;
  flex-direction:column !important;
  gap:2px !important;
}
.products-page .product .p .p-bottom .prices,
body.in-vyhledavani .product .p .p-bottom .prices,
.product-slider-holder .product .p .p-bottom .prices {
  text-align:right !important;
  margin:0 !important;
}
.products-page .product .p .p-bottom .price.price-final strong,
body.in-vyhledavani .product .p .p-bottom .price.price-final strong,
.product-slider-holder .product .p .p-bottom .price.price-final strong {
  font-size:32px !important; 
  font-weight:900 !important; 
  color:#35261e !important;
}

.products-page .product .p .p-bottom .p-tools,
body.in-vyhledavani .product .p .p-bottom .p-tools,
.product-slider-holder .product .p .p-bottom .p-tools {
  margin:0 !important; 
  padding:0 !important; 
}
.products-page .product .p .p-bottom .p-tools form,
body.in-vyhledavani .product .p .p-bottom .p-tools form,
.product-slider-holder .product .p .p-bottom .p-tools form {
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:16px !important;
  width:100% !important;
}

.products-page .product .p .quantity > .increase-tooltip,
.products-page .product .p .quantity > .decrease-tooltip,
body.in-vyhledavani .product .p .quantity > .increase-tooltip,
body.in-vyhledavani .product .p .quantity > .decrease-tooltip,
.product-slider-holder .product .p .quantity > .increase-tooltip, 
.product-slider-holder .product .p .quantity > .decrease-tooltip {
  display:none !important;
}

.products-page .product .p .quantity,
body.in-vyhledavani .product .p .quantity,
.product-slider-holder .product .p .quantity,
#cart-wrapper .quantity,
.cart-widget-products .quantity,
#cboxContent .quantity {
  display:table !important;
  table-layout:fixed !important;
  border-collapse:separate !important;
  border-spacing:8px 0 !important;
  background:transparent !important;
  border:none !important;
  padding: 0 15px 0 20px;
}

.products-page .product .p .quantity:hover,
body.in-vyhledavani .product .p .quantity:hover,
.product-slider-holder .product .p .quantity:hover,
#cart-wrapper .quantity:hover,
.cart-widget-products .quantity:hover,
#cboxContent .quantity:hover {
	box-shadow: none;
}

.products-page .product .p .quantity > *,
body.in-vyhledavani .product .p .quantity > *,
.product-slider-holder .product .p .quantity > *,
#cart-wrapper .quantity > *,
.cart-widget-products .quantity > *,
#cboxContent .quantity > * {
  display:table-cell !important;
  vertical-align:middle !important;
}

.products-page .product .p .quantity label,
body.in-vyhledavani .product .p .quantity label,
.product-slider-holder .product .p .quantity label,
#cart-wrapper .quantity label,
.cart-widget-products .quantity label,
#cboxContent .quantity label {
  display:table-cell !important;
}
.products-page .product .p .quantity .decrease,
body.in-vyhledavani .product .p .quantity .decrease,
.product-slider-holder .product .p .quantity .decrease,
#cart-wrapper .quantity .decrease,
.cart-widget-products .quantity .decrease,
#cboxContent .quantity .decrease{
  display:table-cell !important;
}
.products-page .product .p .quantity .increase,
body.in-vyhledavani .product .p .quantity .increase,
.product-slider-holder .product .p .quantity .increase,
#cart-wrapper .quantity .increase,
.cart-widget-products .quantity .increase,
#cboxContent .quantity .increase{
  display:table-cell !important;
}

.products-page .product .p .quantity,
body.in-vyhledavani .product .p .quantity,
.product-slider-holder .product .p .quantity,
#cart-wrapper .quantity,
.cart-widget-products .quantity,
#cboxContent .quantity{
  position:relative !important;
}
.products-page .product .p .quantity .decrease,
body.in-vyhledavani .product .p .quantity .decrease,
.product-slider-holder .product .p .quantity .decrease,
#cart-wrapper .quantity .decrease,
.cart-widget-products .quantity .decrease,
#cboxContent .quantity .decrease{
  position:absolute !important;
  left:0 !important;
}
.products-page .product .p .quantity label,
body.in-vyhledavani .product .p .quantity label,
.product-slider-holder .product .p .quantity label,
#cart-wrapper .quantity label,
.cart-widget-products .quantity label,
#cboxContent .quantity label {
  margin-left:40px !important;
}

/* TLAČÍTKA +/- */
.products-page .product .p .quantity .increase,
.products-page .product .p .quantity .decrease,
body.in-vyhledavani .product .p .quantity .increase,
body.in-vyhledavani .product .p .quantity .decrease,
.product-slider-holder .product .p .quantity .increase, 
.product-slider-holder .product .p .quantity .decrease,
#cart-wrapper .quantity .increase,
#cart-wrapper .quantity .decrease,
.cart-widget-products .quantity .increase,
.cart-widget-products .quantity .decrease,
#cboxContent .quantity .increase,
#cboxContent .quantity .decrease{
  width:32px !important;
  height:32px !important;
  background:transparent !important;
  cursor:pointer !important;
  user-select:none !important;
  transition:background-color 0.2s !important;
  border:none !important;
  padding:0 !important;
  text-align:center !important;
  line-height:32px !important;
  border-radius: 6px;
  border: 2px solid #cfcfcf !important;
}

.products-page .product .p .quantity .increase:hover,
.products-page .product .p .quantity .decrease:hover,
body.in-vyhledavani .product .p .quantity .increase:hover,
body.in-vyhledavani .product .p .quantity .decrease:hover,
.product-slider-holder .product .p .quantity .increase:hover,
.product-slider-holder .product .p .quantity .decrease:hover,
#cart-wrapper .quantity .increase:hover,
#cart-wrapper .quantity .decrease:hover,
.cart-widget-products .quantity .increase:hover,
.cart-widget-products .quantity .decrease:hover,
#cboxContent .quantity .increase:hover,
#cboxContent .quantity .decrease:hover{
  background:transparent !important;
  border: 2px solid #ff7504 !important;
}

.quantity .decrease:before,
.quantity .increase:before {
	line-height: 24px;
	font-weight: 800; 
}

.quantity .decrease:hover:before,
.quantity .increase:hover:before {
	background: transparent;
}
.products-page .product .p .quantity .increase__sign,
.products-page .product .p .quantity .decrease__sign,
body.in-vyhledavani .product .p .quantity .increase__sign,
body.in-vyhledavani .product .p .quantity .decrease__sign,
.product-slider-holder .product .p .quantity .increase__sign, 
.product-slider-holder .product .p .quantity .decrease__sign,
#cart-wrapper .quantity .increase__sign,
#cart-wrapper .quantity .decrease__sign,
.cart-widget-products .quantity .increase__sign,
.cart-widget-products .quantity .decrease__sign,
#cboxContent .quantity .increase__sign,
#cboxContent .quantity .decrease__sign{
  font-size:18px !important;
  font-weight:700 !important; 
  color:#35261e !important;
  line-height:32px !important;
  display:none !important;
}

/* INPUT číslo */
.products-page .product .p .quantity label,
body.in-vyhledavani .product .p .quantity label,
.product-slider-holder .product .p .quantity label,
#cart-wrapper .quantity label,
.cart-widget-products .quantity label,
#cboxContent .quantity label {
  width:48px !important;
}
.products-page .product .p .quantity input.amount,
body.in-vyhledavani .product .p .quantity input.amount,
.product-slider-holder .product .p .quantity input.amount,
#cart-wrapper .quantity input.amount,
.cart-widget-products .quantity input.amount,
#cboxContent .quantity input.amount {
  width:30px !important;
  height:32px !important;
  border:0 !important; 
  background:transparent !important;
  border-radius:8px !important;
  text-align:center !important; 
  font-weight:800 !important; 
  font-size:20px !important;
  color:#35261e !important;
  outline:none !important; 
  -moz-appearance:textfield !important;
}
.products-page .product .p .quantity input.amount::-webkit-outer-spin-button,
.products-page .product .p .quantity input.amount::-webkit-inner-spin-button,
body.in-vyhledavani .product .p .quantity input.amount::-webkit-outer-spin-button,
body.in-vyhledavani .product .p .quantity input.amount::-webkit-inner-spin-button,
.product-slider-holder .product .p .quantity input.amount::-webkit-outer-spin-button,
.product-slider-holder .product .p .quantity input.amount::-webkit-inner-spin-button ,
#cboxContent .product .p .quantity input.amount::-webkit-outer-spin-button,
#cboxContent .product .p .quantity input.amount::-webkit-inner-spin-button {
  -webkit-appearance:none !important; 
  margin:0 !important;
}

/* TLAČÍTKO CHCI TO! */
.products-page .product .p .add-to-cart-button,
.products-page .product .p .p-tools a,
body.in-vyhledavani .product .p .add-to-cart-button,
body.in-vyhledavani .product .p .p-tools a,
.product-slider-holder .product .p .add-to-cart-button,
.product-slider-holder .product .p .p-tools a{
  height:48px !important;
  display:flex !important; 
  align-items:center !important; 
  justify-content:center !important;
  padding:0 20px !important;
  position:static !important; 
  left:auto !important; 
  right:auto !important; 
  transform:none !important;
  border:0 !important; 
  border-radius:12px !important;
  background:var(--btn_cart) !important; 
  color:#fff !important;
  font-weight:600 !important; 
  font-size:20px !important;
  text-transform:uppercase !important; 
  white-space:nowrap !important;
  transition:all 0.2s !important;
  margin-right: 0px !important;
}
.products-page .product .p .add-to-cart-button:hover,
.products-page .product .p .p-tools a:hover,
body.in-vyhledavani .product .p .add-to-cart-button:hover,
body.in-vyhledavani .product .p .p-tools a:hover,
.product-slider-holder .product .p .add-to-cart-button:hover,
.product-slider-holder .product .p .p-tools a:hover {
  text-decoration: underline;
}
.products-page .product .p .add-to-cart-button span,
body.in-vyhledavani .product .p .add-to-cart-button span,
.product-slider-holder .product .p .add-to-cart-button span{
  display:none !important; 
}
.products-page .product .p .add-to-cart-button::after,
body.in-vyhledavani .product .p .add-to-cart-button::after,
.product-slider-holder .product .p .add-to-cart-button::after {
  content:"CHCI TO!" !important;  
}

.product-slider-holder .product .p .ratings-wrapper {
	width: 100% !important;
	float: none;
}

.products-page .product .p .p-desc,
body.in-vyhledavani .product .p .p-desc{
  display:none !important;
}

.products-page .product .p .p-tools form input[type="hidden"],
body.in-vyhledavani .product .p .p-tools form input[type="hidden"]{
  display:none !important;
}

.category-content-wrapper .pagination-wrapper .pagination-top {
	visibility: hidden;
}

.category-content-wrapper .pagination-wrapper .load-products,
body.in-vyhledavani .listingControls .loadMore button {
    background: #ff7504;
    border-radius: 30px;
    color: #fff;
    font-weight: 400;
    text-transform: uppercase;
    font-family: "Knofedt", sans-serif;
    font-size: 28px;
    line-height: 20px;
    border: 0;
}

.category-content-wrapper .pagination-wrapper .load-products:hover,
body.in-vyhledavani .listingControls .loadMore button:hover {
	text-decoration: underline;
}

:where(body.ums_a11y_pagination--off) .pagination a {
	background-color: transparent;
}

:where(body.ums_a11y_pagination--off) .pagination a:hover {
	background-color: transparent;
}


/* === HODNOCENÍ NAD HVĚZDIČKAMI === */
.products-page .product .p .ratings-wrapper,
body.in-vyhledavani .product .p .ratings-wrapper,
.product-slider-holder .product .p .ratings-wrapper{
  /*align-items:flex-start !important; */
}

.products-page .product .p .ratings-wrapper .stars-wrapper,
body.in-vyhledavani .product .p .ratings-wrapper .stars-wrapper,
.product-slider-holder .product .p .ratings-wrapper .stars-wrapper{
  display:grid !important; 
  grid-template-rows: auto auto !important;
  grid-auto-flow: row !important;
  align-items:start !important;
  justify-items:start !important;
  gap:6px !important;
}

.products-page .product .p .ratings-wrapper .stars-wrapper > .rating-label,
body.in-vyhledavani .product .p .ratings-wrapper .stars-wrapper > .rating-label,
.product-slider-holder .product .p .ratings-wrapper .stars-wrapper > .rating-label{
  grid-row:1 !important;
  display:block !important;
  margin:0 !important;
  font-size:14px !important;
  font-weight:400 !important;
  text-transform:uppercase !important;
  letter-spacing:.02em !important;
  color:#35261e !important;
}

.products-page .product .p .ratings-wrapper .stars-wrapper .stars,
.products-page .product .p .ratings-wrapper .stars-wrapper .star-list,
body.in-vyhledavani .product .p .ratings-wrapper .stars-wrapper .stars,
body.in-vyhledavani .product .p .ratings-wrapper .stars-wrapper .star-list,
.product-slider-holder .product .p .ratings-wrapper .stars-wrapper .stars,
.product-slider-holder .product .p .ratings-wrapper .stars-wrapper .star-list{
  grid-row:2 !important;
  display:block !important;
  float:none !important;
}

.category__secondDescription h2 {
	font-family: "Knofedt", sans-serif;
    text-transform: uppercase;
	font-size: 40px;
	font-weight: 100;
}

.category__secondDescription .accordion .accordion-header {
	font-family: "Knofedt", sans-serif;
    text-transform: uppercase;
	font-size: 28px;
}

.flags {
    padding: 10px 0px;
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    z-index: 10;
}

.p-detail .flags {
	padding: 20px 10px;
}

.flag {
    font-size: 16px;
    font-weight: 700;
    padding: 8px 15px;
    border-radius: 12px;
    color: white;
    background-color: #6b7280;
    line-height: 1;
    letter-spacing: 0.025em;
    text-transform: capitalize;
}

.searchWhisperer .searchWhisperer__products img {
    border-radius: 15px;
}

.searchWhisperer .searchWhisperer__button {
    background-color: #ff8400;
    color: #fff;
    font-family: 'Knofedt', sans-serif;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 30px;
    padding: 6px 65px;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 30px;
    width: auto;
}

.searchWhisperer .searchWhisperer__button:hover {
    background-color: #e67300;
    color: #fff;
}

body.in-vyhledavani .content h2 {
    text-align: center;
}

body.in-vyhledavani .content .highlight {
    color: #ff8400;
}

body.in-vyhledavani .content .search-results-groups {
    background-color: #fff;
    padding: 10px 20px;
    border-radius: 20px;
    max-width: 800px;
    margin: 0 auto;
}

body.in-vyhledavani .content .search-results-groups .search-results-group:first-of-type {
    margin-top: 0;
}

body.in-vyhledavani .content .search-results-groups .search-results-group {
    margin-top: 30px;
}

body.in-vyhledavani .content .search-results-groups h4 {
    text-align: left;
}

body.in-vyhledavani .content .display-results-group {
    background-color: #ff8400;
    color: #fff;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 16px;
    padding: 10px 20px;
    border-radius: 999px;
    margin-left: 40px;
}

body.in-vyhledavani .content .search-results {
    margin-top: 50px;
}

@media (max-width:768px) {
    .products-page .product .p .p-in-in .name,
    body.in-vyhledavani .product .p .p-in-in .name,
    .product-slider-holder .product .p .p-in-in .name {
        font-size: 24px !important;
    }

    .p-category-badge {
        font-size: 18px;
    }

    .products-page .product .p .availability span,
    body.in-vyhledavani .product .p .availability span,
    .product-slider-holder .product .p .availability span {
        font-size: 14px !important;
    }

    #products .product .p .p-icon-row {
        max-height: none;
    }

    #products .p-icon {
        width: 70px;
        height: 70px;
    }

    body.in-vyhledavani #action-stripe {
        margin-top: 150px !important;
    }
}

@media (min-width: 768px) {
    body.in-vyhledavani #action-stripe {
        margin-top: 150px !important;
    }
}



/**** FIX MOBILE ****/
body.type-category #header {
    margin-bottom: 50px;
}

body.type-category #content-wrapper {
    z-index: 1;
}

h1.category-title {
    text-align: center;
    font-size: 70px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.category-top .subcategories > li {
    height: auto !important;
}

h4 {
    text-align: center;
    font-size: 36px;
    text-transform: uppercase;
    margin-bottom: 10px;
    margin-top: 40px;
}

.mobile .category-header #products-listing-order {
    border-radius: 30px;
    color: #51282b;
}

body.type-category #products .p-icon {
    width: 80px;
    height: 80px;
}

body.type-category .goToTop__button {
    display: none;
}

body.type-category .loadMore__button {
    background-color: #ff8400;
    color: #fff;
    font-family: 'Knofedt', sans-serif;
    font-weight: bold;
    text-transform: uppercase;
    font-size: clamp(1rem, 5.5vw, 3rem);
    padding: 6px 65px;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 30px;
    width: auto;
}

body.type-category .loadMore__button:hover {
    background-color: #e67300;
    color: #4a2e20;
}

body.type-category .pagination__list li a {
    border-radius: 10px;
}

.mobile .category-header .dropdown, .mobile .category-header form {
    width: auto;
}

.mobile .category-header .dropdown, .mobile .category-header form .icon-chevron-down {
    margin-left: 10px;
}

body.type-category h1.category-title {
    font-size: 45px;
    margin-top: 10px;
}

body.type-category #header:after {
    background-color: transparent !important;
}

body.type-category #header {
    margin-bottom: 50px !important;
}

body.type-category .breadcrumbs {
    margin-bottom: 0;
}

#cboxLoadedContent .product .p-tools,
body.type-product.type-detail .products-related-wrapper .product .p-tools {
    display: block !important;
}

#cboxLoadedContent .products-related .product .p-tools .quantity {
    padding: 0 5px;
}


@media (min-width: 768px) {
    body.type-category #action-stripe {
        margin-top: 170px !important;
    }
}

@media (min-width: 1024px) {
    .category-top .subcategories > li {
        height: 100px !important;
    }

    h1.category-title {
        text-align: left;
    }

    h4 {
        text-align: left;
    }

    body.type-category h1.category-title {
        font-size: 55px;
    }

    body.type-category #header {
        margin-bottom: 70px !important;
    }
}

@media (min-width: 1200px) {
    .category-top .subcategories > li {
        height: 150px !important;
    }

    body.type-category #header {
        margin-bottom: 90px !important;
    }
}