/*** GRACIAS ***/

/** Cart buttons **/
/* category */
.products-block.products div.product {
  position: relative;
  padding-bottom: 50px !important;
}

.products-block.products div.product a.image {
  position: static;
}

.products-block.products div.product a.image .product-buttons {
  position: absolute;
  bottom: -50px;
  top: unset;
  transform: none;
  width: 100%;
  height: auto;
  background: transparent;
  opacity: 1;
}

.products-block.products div.product a.image .product-buttons a.button.detail {
  display: none !important;
}

.products-block.products div.product a.image .product-buttons a.button.cart {
  transform: none;
  display: flex !important;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  font-size: 1.2rem;
  font-weight: 400;
  background-image: none;
  background-color: #d9e5e7;
  width: 100%;
  text-align: center;
  line-height: 25px;
  text-decoration: none;
  color: #5b5b5b;
  padding: 2px;
  height: fit-content;
}

.products-block.products div.product a.image .product-buttons a.button.cart:before {
  display: none !important;
  /* background-size: 24px;
  color: #5b5b5b;
  transform: none !important;
  position: relative;
  inset: unset !important;
  filter: invert(0.7); */
}

.products-block.products div.product a.image .product-buttons a.button.cart {
  text-indent: -999em;
  line-height: 0
}


.products-block.products div.product a.image .product-buttons a.button.cart:after {
  content: 'Vložit do košíku';
  text-indent: 0;
  line-height: initial;
  display: block
}

.products-block.products div.product .p-in {
  padding-bottom: 10px;
}

.products-block.products div.product .p-in .p-in-in {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.products-block.products div.product .p-in .p-in-in .ratings-wrapper {
  flex-basis: 50%;
  width: 50%;
  display: flex;
  flex-direction: row;
  justify-content: start;
  margin: 0;
}

.products-block.products div.product .p-in .p-in-in .ratings-wrapper .availability {
  justify-content: start;
  padding: 0 10px;
}

.products-block.products div.product .p-in .p-in-in .ratings-wrapper .availability span {
  color: #60abb4;
  font-size: 1rem;
  font-weight: 500;
}

.products-block.products div.product .p-in .p-in-in .p-bottom {
  flex-basis: 50%;
  width: 50%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: end;
}

.products-block.products div.product .p-in .p-in-in .p-bottom>div {
  padding: 0 10px;
}

.products-block.products div.product .p-in .p-in-in .p-bottom .prices .price strong {
  font-weight: 700;
  font-size: 1.3rem;
}

.products-block.products div.product a.image .flags-default {
  left: unset;
  right: 10px;
  bottom: unset;
  top: 10px;
  justify-content: end;
  width: fit-content;
}

.products-block.products div.product a.image .flags-extra {
  right: unset;
  left: 10px;
  bottom: unset;
  top: 10px;
  width: fit-content;
  padding: 0 !important;
}

.products-block.products div.product a.image .flags .flag {
  border: 1px solid transparent;
  margin: 8px 8px 8px 8px;
  min-width: 100px;
  padding: 8px 10px;
  text-transform: lowercase;
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: 1px;
}

.products-block.products div.product a.image .flags .flag.flag-new {
  border-color: #529ba3;
  background-color: #eae9ea;
  color: #529ba3;
}

.products-block.products div.product a.image .flags-extra .flag.flag-discount {
  opacity: 1;
  width: fit-content;
  min-width: unset;
  max-width: unset;
  height: auto;
  border: 1px solid #c12921 !important;
  background-color: #fcfcfc !important;
  font-size: 0;
  color: #c12921 !important;
}

.products-block.products div.product a.image .flags-extra .flag.flag-discount .price-standard {
  display: none;
}

.products-block.products div.product a.image .flags-extra .flag.flag-discount .price-save {
  display: block;
  width: max-content;
  padding: 8px 10px;
  color: #c12921 !important;
  font-size: 1.2rem;
  font-weight: 500;
  white-space: nowrap;
}

.products-block.products div.product a.image .flags .flag.flag-tip {
  border-color: #b28b44;
  background-color: #f7f5f0;
  color: #b28b44;
  text-transform: uppercase;
}

.products-block.products div.product a.image .flags .flag.flag-tip:before {
  content: 'náš';
  text-transform: lowercase;
}

.products-block.products div.product a.image .flags-default .flag.flag-action {
  border-color: #c12921;
  background-color: #fcfcfc;
  color: #c12921;
}

@media only screen and (max-width: 767px) {
  .products-block.products div.product a.image .product-buttons {
    display: flex !important;
  }

  .products-block.products div.product .p-in .p-in-in .p-bottom .p-tools {
    display: none !important;
  }

  .products-block.products div.product a.image .flags .flag,
  .products-block.products div.product a.image .flags-extra .flag.flag-discount .price-save {
    /* padding: 6px 8px; */
    font-size: 1.1rem !important;
  }
}

@media only screen and (max-width: 480px) {
  .products-block.products div.product .p-in .p-in-in .ratings-wrapper a.name {
    margin: 0 0 0 0;
  }

  .products-block.products div.product .p-in .p-in-in .ratings-wrapper {
    flex-basis: 100%;
    width: 100%;
    min-height: 2rem;
  }

  .products-block.products div.product .p-in .p-in-in .p-bottom {
    justify-content: center;
    flex-basis: 100%;
    width: 100%;
  }

  .products-block.products div.product .p-in .p-in-in .ratings-wrapper .availability {
    justify-content: center;
  }

  .products-block.products div.product .p-in .p-in-in .ratings-wrapper .availability span {
    min-height: unset;
    font-size: 0.8rem;
  }

  .products-block.products div.product .p-in .p-in-in .p-bottom .prices {
    margin-bottom: 0;
    min-height: 36px;
  }

  .products-block.products div.product .p-in .p-in-in .p-bottom .prices .old-price {
    margin-right: 0;
  }

  .products-block.products div.product .p-in .p-in-in .p-bottom .prices .price strong {
    font-size: 1.1rem;
  }

  .products-block.products div.product a.image .product-buttons a.button.cart {
    min-height: unset;
    padding: 8px 6px;
    font-size: 0.9rem;
  }

  .products-block.products div.product a.image .flags-extra {
    margin-left: 0;
  }

  .products-block.products div.product a.image .flags .flag,
  .products-block.products div.product a.image .flags-extra .flag.flag-discount .price-save {
    font-size: 0.85rem !important;
  }

  .products-block.products div.product a.image .flags .flag {
    margin: 4px 4px 4px 4px;
    min-width: 75px;
    padding: 4px 6px;
    font-size: 0.85rem !important;
  }

  .products-block.products div.product a.image .flags-extra .flag.flag-discount .price-save {
    margin: 0;
    min-width: 40px;
    padding: 0;
    font-size: 0.85rem !important;
  }
}

/* carousel */
/* div.product.slick-slide .p-bottom.single-button {
  background-color: #d9e5e7;
  color: #333;
  font-weight: bold;
  padding: 10px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.2s ease;
  text-transform: uppercase;
  margin-top: 10px;
}

div.product.slick-slide .p-bottom.single-button:hover {
  background-color: #c4d4d6;
} */