/*
    Theme Name: Bold Banana
    Theme URI:
    Description: Thema voor Bold Banana ontwikkeld door Jebble
    Author: Jeffrey von Grumbkow
    Author URI: https://www.jebble.nl/
    Version: 1.1
    License: GNU General Public License v2.0 (or later)
    License URI: http://www.opensource.org/licenses/gpl-license.php
Text Domain: bold-banana
*/
@import url("assets/build/styles/tailwind.css");
@import url("assets/build/styles/main.css");

.woocommerce-product-gallery__trigger {
  position: absolute;
  z-index: 10;
  bottom: 61px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid #d0d2d3;
  border-radius: 10px;
  color: white;
  padding-top: 10px;
  padding-left: 8px;
}

.icon_magnify {
  background-image: url("../img/magnify.svg");
  background-size: 60%;
  background-position: center;
  background-repeat: no-repeat;
}
.woocommerce-product-gallery__image {
  position: relative;
}
.woocommerce-product-gallery__image a::after {
  position: absolute;
  bottom: 16px;
  right: 16px;
  content: " ";
  z-index: 3;
  color: black;
  background-image: url("assets/images/magnify.svg");
  width: 24px;
  height: 24px;
}
.product .woocommerce-product-gallery .flex-direction-nav {
  width: 100%;
}
@media (max-width: 767px) {
  .product .woocommerce-product-gallery .flex-direction-nav {
    padding: 0 16px 0 16px;
  }
  .col.three-fourths {
    flex: 1 1 100% !important;
  }
}
h1 + .wp-block-bb-backdrop-left .two-thirds:after {
  top: -100px;
}
.show-field .screen-reader-text {
  clip: initial;
  -webkit-clip-path: initial;
  clip-path: initial;
  height: initial;
  margin: initial;
  overflow: initial;
  padding: initial;
  position: initial !important;
  width: initial;
  word-wrap: initial !important;
}

/*
** Fix the category widget on PLP
**/
.widget ul.product-categories {
  display: grid;
}
body.nl .product-categories > .cat-item-61,
body.en .product-categories > .cat-item-99,
body.de .product-categories > .cat-item-189 {
  grid-row: 1;
}
body.nl .product-categories > .cat-item-263,
body.en .product-categories > .cat-item-264,
body.de .product-categories > .cat-item-265 {
  grid-row: 2;
}
body.nl .product-categories > .cat-item-244,
body.en .product-categories > .cat-item-246,
body.de .product-categories > .cat-item-257 {
  grid-row: 3;
}
body.nl .product-categories > .cat-item-242,
body.en .product-categories > .cat-item-245,
body.de .product-categories > .cat-item-256 {
  grid-row: 4;
}
/*
** END fix category widget on PLP
**/

/*
** Category blocks by Chris
**/
.categorie-blocks-container {
  margin-bottom: 32px;
}

.categorie-blocks-container .headline {
  margin-top: 48px;
  margin-bottom: 48px;
  text-align: center;
}

.categorie-blocks {
  display: flex;
  justify-content: center;
  grid-gap: 16px;
  flex-wrap: wrap;
}

.categorie-block a {
  text-decoration: none;
}

.categorie-blocks .categorie-block {
  flex: 1 0 280px;
  border-radius: 2px;
  outline: 1px solid #d0d2d3;
}

.categorie-block-image {
  position: relative;
}

.categorie-blocks .categorie-block-image::after {
  content: "";
  display: block;
  padding-bottom: 56.25%;
}

.categorie-block-image img {
  position: absolute;
  object-fit: cover;
  width: 100%;
  height: 100% !important;
}

.categorie-block-text {
  height: 36px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: white;
  transition: all 0.3s ease-in-out;
}
.categorie-block:hover .categorie-block-text {
  background-color: black;
  color: white;
}

@media screen and (min-width: 588px) {
  .categorie-blocks.items-3 .categorie-block:nth-child(3) {
    flex: initial;
    width: calc((100% / 2) - 20px);
  }
}

@media screen and (min-width: 875px) {
  .categorie-blocks.items-4 .categorie-block {
    flex: 1 0 200px;
  }
}
@media screen and (min-width: 905px) {
  .categorie-blocks.items-3 .categorie-block:nth-child(3) {
    flex: 1 0 280px;
  }
}
/*
** END category blocks by Chris
**/
