/* global */

* {
  box-sizing: border-box;
}

.wp-block-button.btn-label-primary .wp-block-button__link.btn-label-black,
.btn-label-black {
  background-color: #111;
  border-color: #111 !important;
  cursor: default;
}

.wp-block-button.btn-label-primary .wp-block-button__link.btn-label-green,
.btn-label-green {
  background-color: #009C41;
  border-color: #009C41 !important;
  cursor: default;
}

button {
  cursor: pointer;
}

.text-nowrap {
  white-space: nowrap;
}

/* START .automatikaplastenik-products-tree-products */

.automatikaplastenik-products-tree-products {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 94px 174px;
  font-family: 'Space Grotesk';
  font-size: 16px;
  color: #fff;
  position: relative;
}

.automatikaplastenik-products-tree-products:after {
  content: '';
  width: 4px;
  background: #9E9E9E;
  position: absolute;
  left: 50%;
  margin-left: -2px;
  height: 100%;
  top: 0;
}

.automatikaplastenik-products-tree-products .item-product {
  justify-self: start;
  display: flex;
  flex-direction: column;
  position: relative;
}

.automatikaplastenik-products-tree-products .item-product:nth-child(odd) {
  justify-self: end;
  text-align: right;
}

.automatikaplastenik-products-tree-products .item-product:nth-child(even) {
  flex-direction: column-reverse;

}

.automatikaplastenik-products-tree-products .item-product:nth-child(even):after {
  content: '';
  position: absolute;
  left: -99px;
  background: var(--primary-color-accent);
  bottom: 61px;
  width: 24px;
  height: 24px;
  border: 3px solid #fff;
  border-radius: 50%;
  z-index: 15;
}

.automatikaplastenik-products-tree-products .item-product:nth-child(odd):after {
  content: '';
  position: absolute;
  right: -97px;
  background: var(--primary-color-accent);
  top: 52px;
  width: 24px;
  height: 24px;
  border: 3px solid #fff;
  border-radius: 50%;
  z-index: 15;
}

.automatikaplastenik-products-tree-products .product-title {
  font-weight: 600;
  margin: 0;
}

.automatikaplastenik-products-tree-products .thumbnail.product-thumbnail img {
  height: 320px;
  width: 220px;
  object-fit: cover;
}

/* animation */

.automatikaplastenik-products-tree-products:after {
  transition: all 2s;
}

.automatikaplastenik-products-tree-products .item-product {
  transition: all 2s;
}

.automatikaplastenik-products-tree-products:after {
  height: 0%;
}

.automatikaplastenik-products-tree-products.animation-start:after {
  height: 100%;
}

.automatikaplastenik-products-tree-products .item-product {
  visibility: hidden;
  opacity: 0;
}

.automatikaplastenik-products-tree-products .item-product {
  visibility: hidden;
  opacity: 0;
}

.automatikaplastenik-products-tree-products.animation-start .item-product {
  visibility: visible;
  opacity: 1;
  gap: 48px;
}

.automatikaplastenik-products-tree-products {
  --delay-interval: 0.5s;
}

.automatikaplastenik-products-tree-products .item-product:nth-child(1) {
  transition-delay: calc(var(--delay-interval) * 0);
}

.automatikaplastenik-products-tree-products .item-product:nth-child(2) {
  transition-delay: calc(var(--delay-interval) * 1);
}

.automatikaplastenik-products-tree-products .item-product:nth-child(3) {
  transition-delay: calc(var(--delay-interval) * 2);
}

.automatikaplastenik-products-tree-products .item-product:nth-child(4) {
  transition-delay: calc(var(--delay-interval) * 3);
}

.automatikaplastenik-products-tree-products .item-product:nth-child(5) {
  transition-delay: calc(var(--delay-interval) * 4);
}

.automatikaplastenik-products-tree-products .item-product:nth-child(6) {
  transition-delay: calc(var(--delay-interval) * 5);
}

.automatikaplastenik-products-tree-products .item-product:nth-child(7) {
  transition-delay: calc(var(--delay-interval) * 6);
}

.automatikaplastenik-products-tree-products .item-product:nth-child(8) {
  transition-delay: calc(var(--delay-interval) * 7);
}

.automatikaplastenik-products-tree-products .item-product:nth-child(9) {
  transition-delay: calc(var(--delay-interval) * 8);
}

@media (max-width: 767px) {
  .automatikaplastenik-products-tree-products {
    grid-template-columns: repeat(1, 1fr);
  }

  .automatikaplastenik-products-tree-products .item-product,
  .automatikaplastenik-products-tree-products .item-product:nth-child(2n+1) {
    justify-self: auto;
    text-align: center;
  }

  .automatikaplastenik-products-tree-products:after,
  .automatikaplastenik-products-tree-products:after {
    display: none !important;
  }


  .automatikaplastenik-products-tree-products .item-product:nth-child(even) {
    flex-direction: column;

  }

}


/* END .automatikaplastenik-products-tree-products */


/* Woo */
/* adnimation */
.woocommerce div.product .woocommerce-tabs ul.tabs li,
.single_add_to_cart_button {
  transition: all .15s;
}

body {
  --wp--preset--color--primary: var(--primary-color-accent);
  --wp--preset--color--secondary: #000;
  --wp--preset--gradient--luminous-dusk: linear-gradient(135deg, rgb(255, 203, 112) 0%, rgb(199, 81, 192) 50%, var(--primary-color-accent) 100%);
  --wp--preset--gradient--midnight: linear-gradient(135deg, var(--primary-color-accent) 0%, var(--primary-color-accent) 100%);
  --wp--preset--gradient--d-transparent-primary: linear-gradient(to bottom right, transparent 49.9%, var(--primary-color-accent) 50%);
  --wp--preset--gradient--d-primary-transparent: linear-gradient(to bottom right, var(--primary-color-accent) 49.9%, transparent 50%);
  --wp--preset--gradient--d-white-primary: linear-gradient(to bottom right, #fff 49.9%, var(--primary-color-accent) 50%);
  --wp--preset--gradient--d-primary-white: linear-gradient(to bottom right, var(--primary-color-accent) 49.9%, #fff 50%);
  --wp--preset--gradient--h-primary-white: linear-gradient(var(--primary-color-accent) 49.9%, #fff 50%);
  --wp--preset--gradient--h-white-primary: linear-gradient(#fff 49.9%, var(--primary-color-accent) 50%);
  --wp--preset--gradient--v-primary-white: linear-gradient(to right, var(--primary-color-accent) 49.9%, #fff 50%);
  --wp--preset--gradient--v-white-primary: linear-gradient(to right, #fff 49.9%, var(--primary-color-accent) 50%);
}

.wp-block-button.wc-block-components-product-button .wp-block-button__link:hover span,
.wp-element-button:hover,
.wp-block-button__link:hover {
  text-decoration: none;
}


:where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce button.button.alt,
.woocommerce .cart .single_add_to_cart_button {
  background-color: #222;
  border-radius: 0;
  color: #fff;
  padding: 7px 15px;
  min-height: 40px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 400;
  border: 1px solid #3f444b;
  text-decoration: none;
}

:where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce button.button.alt:hover,
.woocommerce .cart .single_add_to_cart_button:hover {
  background: var(--primary-color-accent);
  color: #fff;
  text-decoration: none;
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
  padding: 0;
  margin: 0;
  font-size: 0;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  display: inline-block;
  padding: .5em 0;
  font-weight: 700;
  color: #FFFFFF;
  text-decoration: none;
  font-family: Space Grotesk;
  font-size: 16px;
  font-weight: 500;
  line-height: 20px;
}

.woocommerce div.product p.stock,
.woocommerce div.product form.cart div.quantity,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after,
.woocommerce div.product .woocommerce-tabs ul.tabs li::before {
  display: none;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
  border: 0;
  background-color: transparent;
  color: #fff;
  border-radius: 0;
  line-height: 1 !important;
  padding: 7px 22px;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li:hover,
.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
  background: var(--primary-color-accent);
  color: #fff;
  z-index: 1;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li:hover a,
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
  color: #fff;
}

.woocommerce div.product .woocommerce-tabs ul.tabs::before {
  border-bottom: 1px solid #9E9E9E;
}

.woocommerce div.product .woocommerce-tabs .panel {
  font-size: 16px;
  font-weight: 400;
  line-height: 30px;
}

.woocommerce div.product div.images .flex-control-thumbs {
  display: none;
}


.single-product .woocommerce.product .wp-block-post-title {
  margin-top: -13px;
}

.woocommerce div.product form.cart {
  margin-bottom: 0;
}

.woocommerce div.product .woocommerce-product-gallery.is_flip_thumbnail .woocommerce-product-gallery__wrapper {
  border: 4px solid var(--primary-color-accent);
  overflow: hidden;
  max-width: 100%;
  background: #000;
  max-width: 98%;
}

.flip_read_button {
  background-color: var(--primary-color-accent);
  font-family: Space Grotesk;
  font-size: 17px;
  font-weight: 700;
  line-height: 30px;
  text-align: center;
  display: block;
  color: #fff;
  padding: 5px 5px;
  text-decoration: none;
}

.wc-block-components-notice-banner.is-error {
  border-color: #cc1818;
}

.wc-block-components-notice-banner.is-error {
  border-color: #cc1818;
}

.wc-block-components-notice-banner {
  background-color: #000 !important;
  color: #fff !important;
  border: 1px solid #cc1818;
}

.wc-block-components-notice-banner>.wc-block-components-notice-banner__content .wc-forward {
  color: #fff !important;
}

.wc-block-add-to-cart-form .quantity {
  vertical-align: top;
}

.wc-block-add-to-cart-form .input-text {
  font-size: var(--wp--preset--font-size--small);
  padding: 10px 10px;
  height: 40px;
  border: 1px solid #69727d;
}

.wc-block-components-form .wc-block-components-text-input input[type="email"],
.wc-block-components-form .wc-block-components-text-input input[type="number"],
.wc-block-components-form .wc-block-components-text-input input[type="tel"],
.wc-block-components-form .wc-block-components-text-input input[type="text"],
.wc-block-components-form .wc-block-components-text-input input[type="url"],
.wc-block-components-text-input input[type="email"],
.wc-block-components-text-input input[type="number"],
.wc-block-components-text-input input[type="tel"],
.wc-block-components-text-input input[type="text"],
.wc-block-components-text-input input[type="url"] {
  font-size: 16px;
  line-height: 20px;
  background-color: #D9D9D9;
  border-radius: 0px 0px 0px 0px;
}

.wc-block-components-form .wc-block-components-text-input label,
.wc-block-components-text-input label {
  font-size: 14px;
}

.wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control-accordion-option--checked-option-highlighted,
.wc-block-components-radio-control--highlight-checked label.wc-block-components-radio-control__option--checked-option-highlighted {
  border-radius: 0;
}

.woocommerce div.product div.images {
  margin-bottom: 0;
}

.product-card-author {
  font-family: "IBM Plex Mono";
  font-size: 17px;
  font-style: italic;
  font-weight: 400;
  line-height: 30px;
}

.product-card-category {
  font-family: "IBM Plex Mono";
  font-size: 20px;
  font-weight: 500;
  line-height: 26px;
  text-align: left;
  
}

.product-card-meta {
  font-family: "Space Grotesk";
  font-size: 20px;
  font-weight: 700;
  line-height: 30.62px;
  text-align: left;
  margin: 5px 10px !important;
}

.product-card-meta .label {
  font-weight: 400;
}


.product-card-meta-section {
  background-color: #333333;
  display: inline-flex !important;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 15px 15px;
  padding: 10px 20px;
}
 


.product-card-meta-section {
  font-family: "Space Grotesk";
  font-size: 20px;
  font-weight: 700;
  line-height: 30.62px;
  text-align: left;
}

.product-card-meta-section .label {
  font-weight: 400;
}

.product-card-meta-section .item {
  display: flex;
  gap: 15px;
  align-items: center;
}

.wp-block-button.btn-label-primary .wp-block-button__link.btn-label-green {
  white-space: nowrap;
}


.woocommerce div.product .woocommerce-product-gallery.automatikaplastenik_thumbnail .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image:not(:first-child) {
  display: none !important;
} 

.woocommerce .wp-block-woocommerce-product-image-gallery .woocommerce-product-gallery.automatikaplastenik_thumbnail.images .flex-viewport .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image,
.woocommerce .wp-block-woocommerce-product-image-gallery .woocommerce-product-gallery.automatikaplastenik_thumbnail.images .flex-viewport .woocommerce-product-gallery__wrapper,
.woocommerce .wp-block-woocommerce-product-image-gallery .woocommerce-product-gallery.automatikaplastenik_thumbnail.images .flex-viewport,
.woocommerce .wp-block-woocommerce-product-image-gallery .woocommerce-product-gallery.automatikaplastenik_thumbnail.images {
  width: initial !important;
  height: initial !important;
}

.product-thumbnail-column {
  max-width: 450px !important;
}


@media (max-width: 2399px) {
  .single_add_to_cart_button {
    font-size: 24px;
    line-height: 32.73px;
  }

  .wp-block-button.btn-label-primary .wp-block-button__link {
    font-size: 19px;
    padding: 7px 15px;
    display: inline-block;
    width: 230px;
    max-width: 100%;
  }
}


@media (max-width: 1500px) {

  .product-thumbnail-column {
    max-width: 400px !important;
  }
  

}

@media (max-width: 1270px) {

  .product-thumbnail-column {
    max-width: 250px !important;
  }
  

}

.product-card-copyright {
  font-size: clamp(14px, 0.875rem + ((1vw - 3.2px) * 0.08), 15px);
}

.flip_read_hover_complete {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.iap-text-load-more {
  margin: 0;
  padding: 0;
}

.iap-textarea-load-more-button {
  color: var(--primary-color-accent);
  cursor: pointer;
}

@media (width>768px) {

.iap-textarea-load-more-wrapper {
  display: none;
}

.iap-text-load-more {
  display: block !important;
}
  
}


/**
* WC
*/
.woocommerce div.product .stock {
	color:var(--wp--preset--color--primary);
}

body .wp-block-button.wc-block-components-product-button .wc-block-components-product-button__button {
  font-size: 15px;
  font-weight: 400;
  border: 1px solid #3f444b;
}

body .wp-block-button.wc-block-components-product-button .wc-block-components-product-button__button span {
  text-transform: uppercase;
  text-decoration: underline;
}


.wc-block-components-product-image {
  display: block;
  position: relative;
  text-decoration: none;
  overflow: hidden;
}

.wc-block-components-product-image img {
  height: 100%;
  width: 100%;
  object-fit: contain !important;
  transition: all .4s;
  transition-duration: 0.4s;
}

.wp-block-post.product:hover .wc-block-components-product-image img {
  transform: scale(1.2);
}  

/**
* END WC
*/