.clearfix:before, .clearfix:after {
  content: "";
  display: table;
}
.clearfix:after {
  clear: both;
}
/**
 * Carousel
 */
.carousel {
  position: relative;
  margin:0 0 30px 0;
  padding:0 25px 0 25px;
  max-width:100%;
  box-sizing: border-box;
  height: 100%;
}
@media only screen and (max-width: 550px) {
  .carousel {
    padding:0 20px 0 20px;
  }
}
.slick-track {
  display: flex !important;
}
.slick-slide {
  height: auto;
}
.slick-list {
  position: relative;
  overflow: hidden;
}
.carousel .box {
  display: flex;
  flex-direction: column;
  text-align: center;
  float: left;
  padding:0 3px 0 3px;
  text-align:center;
  font-family: 'Helvetica', 'Arial', 'sans-serif' !important;
  position: relative;
}
.carousel .box .box-image {
  height:100%;
  padding-bottom:10px;
}
.carousel .box .box-image a {
  display:flex;
  height:100%;
}
.carousel .box .box-image img {
  object-fit: contain;
  object-position: center;
  transition: all .2s ease-in-out;
  align-self: center;
}
.carousel .box .box-image img:hover {
  transform: scale(0.96);
}
.carousel .box .box-text {
  min-height:60px;
  height:60px;
}
.carousel .box .box-text a {
  color: #000;
  font-weight: bold;
  text-decoration: none;
  margin: 0 0 0.4rem 0;
  text-align: center;
  display:block;
  width:100%;
  font-size:13px;
}

.carousel .box .box-text .price {
  text-align: center;
  display:block;
  width:100%;
  overflow:hidden;
  font-size:10px;
  text-transform: uppercase;
  color: #666;
  font-weight: bold;
  text-decoration: none;
  margin:0;
}
.carousel .box .box-text span.ads_price {
  display:inline-block;
}
.carousel .box .box-text span.ads_price_sale {
  color: #ff0000;
  display:none;
  font-size:11px;
  padding:0 0.5rem 0 0;
}
.carousel .box .box-text .price.onsale span.ads_price {
  text-decoration: line-through;
  display:inline-block;
}
.carousel .box .box-text .price.onsale span.ads_price_sale {
  display:inline-block;
}



/**
 * Shop
 */

.shopbox-extra{
  display: flex;
  flex-wrap: wrap;

  margin-bottom: 60px;
}
.shopbox-extra .block-head{
  width: 100%;
  text-align: center;
}
.shopbox-extra .block-head-legacy .title{
  height: 26px;
}
.shopbox-extra .box{
  margin-top: 0;
  width: 20%;
  padding:0.5rem;
  box-sizing: border-box;
}
@media only screen and (max-width: 900px) {
  .shopbox-extra .box {
    width: 25%;
  }
}
@media only screen and (max-width: 768px) {
  .shopbox-extra .box {
    width: 33.3333%;
  }
}
@media only screen and (max-width: 600px) {
  .shopbox-extra .box {
    width: 50%;
  }
}
.shopbox-extra .box-image{
  position: relative;
  height: 200px;
}
.shopbox-extra .box-image a img{
  width: 100%;
  height: 100%!important;
  object-fit: none;
}
.shopbox-extra .overlay {
  position: absolute;
  bottom: 10px;
  left: 0;
  right: 0;
  background-color: #2B7D86;
  overflow: hidden;
  width: 100%;
  height: 0;
  transition: .1s ease;
}
.shopbox-extra .box-image:hover .overlay {
  height: 20%;
}
.shopbox-extra .hover-text {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: white;
  font-size: 14px;
  text-align: center;
  font-family: var(--text-h-font, var(--h-font));
}
.shopbox-extra .box-image .hover-text img {
  width: unset !important;
  object-fit: contain;
  max-width:13px;
  height:auto !important;
  margin-right:0.5rem;
}
.shopbox-extra .box-text{
  padding-top: 5px;
  text-align: center;
  color: #2B7D86;
  font-family: var(--text-h-font, var(--h-font));
  font-weight: 600;
}
.shopbox-extra h3{
  margin: 5px 0;
}
.shopbox-extra .box-text a{
  text-align: center;
  color: black;
}
.shopbox-extra .box-text .price{
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.shopbox-extra .box-text .price .ads_price{
  margin: 0 10px;
}
.shopbox-extra .box-text .price .old_price{
  text-decoration: line-through;
  font-size: 12px;
}
.shopbox-extra .link-container{
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 0;
}
.shopbox-extra .link-container a{
  padding: 10px 20px;
  background: #2B7D86;
  color: white;
  font-family: var(--text-h-font, var(--h-font));
  font-size: 11px;
  text-transform: uppercase;
}
.shopbox-extra .link-container a:hover{
  transform: scale(1.1);
}

 .shopbox {
  position: relative;
  margin:0 0 30px 0;
  padding:0;
  max-width:100%;
  box-sizing: border-box;
  height: 100%;
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
 }
 .shopbox .box {
   display: flex;
   flex-direction: column;
   text-align: center;
   float: left;
   padding:0 3px 0 3px;
   text-align:center;
   font-family: 'Helvetica', 'Arial', 'sans-serif' !important;
   position: relative;
   /*flex-grow: 1;*/
   min-height:320px;
   width: calc( 25% - 6px );
 }
 @media only screen and (max-width: 768px) {
   .shopbox .box {
     width: calc( 33.333% - 6px );
     min-height:auto;
   }
 }
 @media only screen and (max-width: 550px) {
   .shopbox .box {
     width: calc( 50% - 6px );
   }
 }

 .shopbox .box .box-image {
   height:100%;
   padding-bottom:10px;
 }
 .shopbox .box .box-image a {
   display:flex;
   height:100%;
 }
 .shopbox .box .box-image img {
   object-fit: contain;
   object-position: center;
   transition: all .2s ease-in-out;
   align-self: center;
   margin:0 auto;
   text-align:center;
 }
 .shopbox .box .box-image img:hover {
   transform: scale(0.96);
 }
 .shopbox .box .box-text {
   min-height:60px;
   height:60px;
 }
 .shopbox .box .box-text a {
   color: #000;
   font-weight: bold;
   text-decoration: none;
   margin: 0 0 0.4rem 0;
   text-align: center;
   display:block;
   width:100%;
   font-size:13px;
 }

 .shopbox .box .box-text .price {
   text-align: center;
   display:block;
   width:100%;
   overflow:hidden;
   font-size:10px;
   text-transform: uppercase;
   color: #666;
   font-weight: bold;
   text-decoration: none;
   margin:0;
 }
 .shopbox .box .box-text span.ads_price {
   display:inline-block;
 }
 .shopbox .box .box-text span.ads_price_sale {
   color: #ff0000;
   display:none;
   font-size:11px;
   padding:0 0.5rem 0 0;
 }
 .shopbox .box .box-text .price.onsale span.ads_price {
   text-decoration: line-through;
   display:inline-block;
 }
 .shopbox .box .box-text .price.onsale span.ads_price_sale {
   display:inline-block;
 }

 .shopbox .link-container{
   width: 100%;
   display: flex;
   justify-content: center;
   align-items: center;
   margin-top: 40px;
 }
 .shopbox .link-container a{
   padding: 10px 20px;
   background: #2B7D86;
   color: white;
   font-family: var(--text-h-font, var(--h-font));
   font-size: 11px;
   text-transform: uppercase;
 }
 .shopbox .link-container a:hover{
   transform: scale(1.1);
 }

/**
 * Slick slider
 */
.slick-prev, .slick-next {
  width: 25px;
  height: 25px;
  line-height: 25px;
  display:block;
  font-size:25px;
  position: absolute;
  top: 40%;
  display: block;
  padding: 0;
  cursor: pointer;
  color: transparent;
  border: none;
  outline: none;
  z-index: 9999;
  color: #000;
  background: none;
  vertical-align: top;
}
@media only screen and (max-width: 550px) {
  .slick-prev, .slick-next {
    width: 20px;
    height: 20px;
    line-height: 20px;
    font-size:20px;
  }
}
.slick-prev {
  background-position: center center;
  left: 0;
  background-image: url("../images/prev.png");
  background-size: 80% 80%;
  background-repeat: no-repeat;
}
.slick-prev:hover {
  background-image: url("../images/prev-white.png");
}
.slick-next {
  background-position: center center;
  right: 0;
  background-image: url("../images/next.png");
  background-size: 80% 80%;
  background-repeat: no-repeat;
}
.slick-next:hover {
  background-image: url("../images/next-white.png");
}
.slick-prev:hover, .slick-next:hover {
  background-color: #333;
  background-size: 80% 80%;
  background-repeat: no-repeat;
}
@media only screen and (max-width: 550px) {
  .slick-prev, .slick-next {
    background-size: 90% 90%;
  }
  .slick-prev:hover, .slick-next:hover {
    background-size: 90% 90%;
  }
}
@media only screen and (max-width: 1180px) {
  .carousel {
    width: 100%;
  }
  .shopbox {
    width: 100%;
  }
}
